@ckeditor/ckeditor5-ai 44.2.1-alpha.0 → 44.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/adapters/aiadapter.js +1 -1
  149. package/src/adapters/aitextadapter.js +1 -1
  150. package/src/adapters/awstextadapter.js +1 -1
  151. package/src/adapters/openaitextadapter.js +1 -1
  152. package/src/aiassistant.js +1 -1
  153. package/src/aiassistantediting.js +1 -1
  154. package/src/aiassistantui.js +1 -1
  155. package/src/index.js +1 -1
  156. package/src/legacyerrors.js +1 -1
  157. package/src/ui/aiassistantcontroller.js +2 -2
  158. package/src/ui/form/aiformcontentarea.js +1 -1
  159. package/src/ui/form/aiformerrorview.js +1 -1
  160. package/src/ui/form/aiformpromptview.js +1 -1
  161. package/src/ui/form/aiformtoolbarview.js +1 -1
  162. package/src/ui/form/aiformview.js +1 -1
  163. package/src/ui/form/aihistorylistitemview.js +1 -1
  164. package/src/ui/form/aihistorylistview.js +1 -1
  165. package/src/ui/form/prompthistory.js +1 -1
  166. package/src/ui/showaiassistantcommand.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4bf6(){const _0x97f84b=['rtl','window','queryView','submitButtonView','focusFirst','value','focus','update','showHistoryButtonView','458276qeCKZz','_createShowHistoryButton','right','width','Submit','focusCycler','History','fieldWrapperChildren','filteredView','isVisible','6EDDZYO','submit','history','focusableChildren','6367617qjJDnx','excludeScrollbarsAndBorders','resultsView','2158628PiGWQJ','execute','isOn','enter','left','_createSubmitButton','bind','328962QNnbqf','fire','element','focusLast','fieldView','uiLanguageDirection','ck-ai-form__submit','requestAnimationFrame','keystrokes','779249fNDzGX','2364550oDcQzm','add','ck-ai-form__toggle-history','14HPSYZj','minRows','isEmpty','isEnabled','locale','maxRows','target','children','style','render','13799752IYbUQK','set'];_0x4bf6=function(){return _0x97f84b;};return _0x4bf6();}function _0x2d0c(_0x3e0092,_0x1abb72){const _0x4bf628=_0x4bf6();return _0x2d0c=function(_0x2d0c36,_0x56c097){_0x2d0c36=_0x2d0c36-0xfd;let _0x3b191b=_0x4bf628[_0x2d0c36];return _0x3b191b;},_0x2d0c(_0x3e0092,_0x1abb72);}const _0x359058=_0x2d0c;(function(_0x6fb971,_0x531b06){const _0x34785c=_0x2d0c,_0x4237eb=_0x6fb971();while(!![]){try{const _0x1c5184=-parseInt(_0x34785c(0x12f))/0x1+-parseInt(_0x34785c(0x10e))/0x2*(-parseInt(_0x34785c(0x118))/0x3)+parseInt(_0x34785c(0x11f))/0x4+-parseInt(_0x34785c(0x130))/0x5+parseInt(_0x34785c(0x126))/0x6*(parseInt(_0x34785c(0x133))/0x7)+parseInt(_0x34785c(0x103))/0x8+-parseInt(_0x34785c(0x11c))/0x9;if(_0x1c5184===_0x531b06)break;else _0x4237eb['push'](_0x4237eb['shift']());}catch(_0x2f6d6d){_0x4237eb['push'](_0x4237eb['shift']());}}}(_0x4bf6,0xd51b4));import{Rect as _0xd89534,global as _0x230665,isVisible as _0x4e7bf2}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1f62b3,ButtonView as _0x4cd571}from'ckeditor5/src/ui.js';import{icons as _0x1c41fe}from'ckeditor5/src/core.js';import{getTranslation as _0x45f418}from'../../utils/common-translations.js';import _0x2474d4 from'../../../theme/icons/submit.svg';export default class ht extends _0x1f62b3{constructor(_0x2d4b11,_0x321608){const _0x31286b=_0x2d0c;super(_0x2d4b11,_0x321608),this[_0x31286b(0x107)][_0x31286b(0x12a)][_0x31286b(0x134)]=0x1,this[_0x31286b(0x107)][_0x31286b(0x12a)][_0x31286b(0xfe)]=0x3,this[_0x31286b(0x108)]=this[_0x31286b(0x124)](),this[_0x31286b(0x10d)]=this[_0x31286b(0x10f)](),this[_0x31286b(0x11b)][_0x31286b(0x131)](this[_0x31286b(0x10d)],0x1),this[_0x31286b(0x11b)][_0x31286b(0x131)](this[_0x31286b(0x108)]);}[_0x359058(0x102)](){const _0x365bc9=_0x359058;super[_0x365bc9(0x102)](),this[_0x365bc9(0x107)][_0x365bc9(0x115)][_0x365bc9(0x131)](this[_0x365bc9(0x10d)]),this[_0x365bc9(0x100)][_0x365bc9(0x131)](this[_0x365bc9(0x108)]),this[_0x365bc9(0x12e)][_0x365bc9(0x104)](_0x365bc9(0x122),(_0x101d5c,_0x562852)=>{const _0x584585=_0x365bc9;_0x101d5c[_0x584585(0xff)]==this[_0x584585(0x107)][_0x584585(0x12a)][_0x584585(0x128)]&&(this[_0x584585(0x119)](),_0x562852());});}[_0x359058(0x124)](){const _0x12f354=_0x359058,_0x140302=new _0x4cd571(this[_0x12f354(0xfd)]),_0x2ea5f0=this[_0x12f354(0xfd)];return _0x140302[_0x12f354(0x104)]({'icon':_0x2474d4,'label':_0x45f418(_0x2ea5f0,_0x12f354(0x112)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x12f354(0x12c)}),_0x140302['on'](_0x12f354(0x120),()=>{const _0x41fe2d=_0x12f354;this[_0x41fe2d(0x119)]();}),_0x140302[_0x12f354(0x125)](_0x12f354(0x136))['to'](this[_0x12f354(0x107)][_0x12f354(0x12a)],_0x12f354(0x135),this,_0x12f354(0x136),(_0x5f3112,_0x1d34ab)=>!_0x5f3112&&_0x1d34ab),_0x140302;}[_0x359058(0x10f)](){const _0x8ee88c=_0x359058,_0x1d9dc5=new _0x4cd571(this[_0x8ee88c(0xfd)]),_0xddc34c=this[_0x8ee88c(0x11e)],_0x4c6427=this[_0x8ee88c(0xfd)];_0x1d9dc5[_0x8ee88c(0x104)]({'label':_0x45f418(_0x4c6427,_0x8ee88c(0x114)),'withText':!0x1,'icon':_0x1c41fe[_0x8ee88c(0x11a)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x8ee88c(0x132)}),_0x1d9dc5[_0x8ee88c(0x125)](_0x8ee88c(0x121))['to'](_0xddc34c,_0x8ee88c(0x117)),_0x1d9dc5[_0x8ee88c(0x125)](_0x8ee88c(0x136))['to'](this,_0x8ee88c(0x136)),_0x1d9dc5['on'](_0x8ee88c(0x120),()=>{const _0x47c704=_0x8ee88c;_0xddc34c[_0x47c704(0x117)]=!_0xddc34c[_0x47c704(0x117)],_0xddc34c[_0x47c704(0x117)]?this[_0x47c704(0x116)][_0x47c704(0x10b)]():this[_0x47c704(0x10b)]();});const _0x2b7973=()=>{const _0xe63f07=_0x8ee88c;_0x230665[_0xe63f07(0x106)][_0xe63f07(0x12d)](()=>{const _0x57f36f=_0xe63f07;if(_0x4e7bf2(this[_0x57f36f(0x128)])){const _0x563da7=new _0xd89534(this[_0x57f36f(0x107)][_0x57f36f(0x12a)][_0x57f36f(0x128)]),_0x314ae0=_0x563da7[_0x57f36f(0x111)],_0x3afa7f=_0x57f36f(0x105)===_0x4c6427[_0x57f36f(0x12b)]?_0x57f36f(0x123):_0x57f36f(0x110);_0x563da7[_0x57f36f(0x11d)](),_0x1d9dc5[_0x57f36f(0x128)][_0x57f36f(0x101)][_0x3afa7f]=_0x314ae0-_0x563da7[_0x57f36f(0x111)]+0x1+'px';}});};return this[_0x8ee88c(0x107)][_0x8ee88c(0x12a)]['on'](_0x8ee88c(0x10c),_0x2b7973),this['on'](_0x8ee88c(0x102),_0x2b7973),_0x1d9dc5;}[_0x359058(0x119)](){const _0x18235c=_0x359058,_0x358e4f=this[_0x18235c(0x107)][_0x18235c(0x12a)][_0x18235c(0x128)][_0x18235c(0x10a)];this[_0x18235c(0x127)](_0x18235c(0x119),_0x358e4f);}[_0x359058(0x10b)](_0x55ec15){const _0x34a77b=_0x359058;-0x1===_0x55ec15?this[_0x34a77b(0x113)][_0x34a77b(0x129)]():this[_0x34a77b(0x113)][_0x34a77b(0x109)]();}}
23
+ function _0x755c(_0x46444b,_0x5cbb37){const _0xd2d285=_0xd2d2();return _0x755c=function(_0x755ca,_0x2aaf4e){_0x755ca=_0x755ca-0x1de;let _0x3e2903=_0xd2d285[_0x755ca];return _0x3e2903;},_0x755c(_0x46444b,_0x5cbb37);}const _0x2f97d6=_0x755c;function _0xd2d2(){const _0x289fc1=['queryView','ck-ai-form__submit','34254XklkCI','right','style','window','16390690UwiaUz','rtl','children','width','235hhObCr','locale','370192KbqlQH','filteredView','isEmpty','value','bind','focusLast','target','Submit','execute','focusableChildren','add','keystrokes','excludeScrollbarsAndBorders','fire','element','ck-ai-form__toggle-history','render','enter','update','171SpvXpA','set','isVisible','_createShowHistoryButton','1226585QwvolS','7350455yFcicF','minRows','left','showHistoryButtonView','isOn','isEnabled','26106FJHgvo','183nnBXLr','submit','maxRows','fieldView','_createSubmitButton','focusCycler','focusFirst','requestAnimationFrame','submitButtonView','History','history','resultsView','uiLanguageDirection','focus','fieldWrapperChildren','552232zNrzEh'];_0xd2d2=function(){return _0x289fc1;};return _0xd2d2();}(function(_0x2de9e9,_0x393f4b){const _0x3cf082=_0x755c,_0xc9e0e1=_0x2de9e9();while(!![]){try{const _0x392268=-parseInt(_0x3cf082(0x216))/0x1+-parseInt(_0x3cf082(0x1e2))/0x2*(-parseInt(_0x3cf082(0x1e3))/0x3)+parseInt(_0x3cf082(0x1ff))/0x4+parseInt(_0x3cf082(0x1fd))/0x5*(-parseInt(_0x3cf082(0x1f5))/0x6)+parseInt(_0x3cf082(0x217))/0x7+parseInt(_0x3cf082(0x1f2))/0x8*(-parseInt(_0x3cf082(0x212))/0x9)+parseInt(_0x3cf082(0x1f9))/0xa;if(_0x392268===_0x393f4b)break;else _0xc9e0e1['push'](_0xc9e0e1['shift']());}catch(_0x56e2e5){_0xc9e0e1['push'](_0xc9e0e1['shift']());}}}(_0xd2d2,0xbc580));import{Rect as _0x5a39a2,global as _0x739963,isVisible as _0x116432}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x2ca280,ButtonView as _0x11700c}from'ckeditor5/src/ui.js';import{icons as _0x54d752}from'ckeditor5/src/core.js';import{getTranslation as _0x2fa12e}from'../../utils/common-translations.js';import _0x9f3236 from'../../../theme/icons/submit.svg';export default class ht extends _0x2ca280{constructor(_0x301077,_0xda3bc7){const _0x4bb8aa=_0x755c;super(_0x301077,_0xda3bc7),this[_0x4bb8aa(0x1f3)][_0x4bb8aa(0x1e6)][_0x4bb8aa(0x218)]=0x1,this[_0x4bb8aa(0x1f3)][_0x4bb8aa(0x1e6)][_0x4bb8aa(0x1e5)]=0x3,this[_0x4bb8aa(0x1eb)]=this[_0x4bb8aa(0x1e7)](),this[_0x4bb8aa(0x1df)]=this[_0x4bb8aa(0x215)](),this[_0x4bb8aa(0x208)][_0x4bb8aa(0x209)](this[_0x4bb8aa(0x1df)],0x1),this[_0x4bb8aa(0x208)][_0x4bb8aa(0x209)](this[_0x4bb8aa(0x1eb)]);}[_0x2f97d6(0x20f)](){const _0x1ef812=_0x2f97d6;super[_0x1ef812(0x20f)](),this[_0x1ef812(0x1f3)][_0x1ef812(0x1f1)][_0x1ef812(0x209)](this[_0x1ef812(0x1df)]),this[_0x1ef812(0x1fb)][_0x1ef812(0x209)](this[_0x1ef812(0x1eb)]),this[_0x1ef812(0x20a)][_0x1ef812(0x213)](_0x1ef812(0x210),(_0x2e2884,_0x5e4375)=>{const _0x42a165=_0x1ef812;_0x2e2884[_0x42a165(0x205)]==this[_0x42a165(0x1f3)][_0x42a165(0x1e6)][_0x42a165(0x20d)]&&(this[_0x42a165(0x1e4)](),_0x5e4375());});}[_0x2f97d6(0x1e7)](){const _0x453c40=_0x2f97d6,_0x5ed714=new _0x11700c(this[_0x453c40(0x1fe)]),_0x51b2f8=this[_0x453c40(0x1fe)];return _0x5ed714[_0x453c40(0x213)]({'icon':_0x9f3236,'label':_0x2fa12e(_0x51b2f8,_0x453c40(0x206)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x453c40(0x1f4)}),_0x5ed714['on'](_0x453c40(0x207),()=>{const _0x230b78=_0x453c40;this[_0x230b78(0x1e4)]();}),_0x5ed714[_0x453c40(0x203)](_0x453c40(0x1e1))['to'](this[_0x453c40(0x1f3)][_0x453c40(0x1e6)],_0x453c40(0x201),this,_0x453c40(0x1e1),(_0x746e5f,_0xf245e7)=>!_0x746e5f&&_0xf245e7),_0x5ed714;}[_0x2f97d6(0x215)](){const _0x5e4b5f=_0x2f97d6,_0x4987f9=new _0x11700c(this[_0x5e4b5f(0x1fe)]),_0x316c3a=this[_0x5e4b5f(0x1ee)],_0x1d77c4=this[_0x5e4b5f(0x1fe)];_0x4987f9[_0x5e4b5f(0x213)]({'label':_0x2fa12e(_0x1d77c4,_0x5e4b5f(0x1ec)),'withText':!0x1,'icon':_0x54d752[_0x5e4b5f(0x1ed)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5e4b5f(0x20e)}),_0x4987f9[_0x5e4b5f(0x203)](_0x5e4b5f(0x1e0))['to'](_0x316c3a,_0x5e4b5f(0x214)),_0x4987f9[_0x5e4b5f(0x203)](_0x5e4b5f(0x1e1))['to'](this,_0x5e4b5f(0x1e1)),_0x4987f9['on'](_0x5e4b5f(0x207),()=>{const _0x4c4aaf=_0x5e4b5f;_0x316c3a[_0x4c4aaf(0x214)]=!_0x316c3a[_0x4c4aaf(0x214)],_0x316c3a[_0x4c4aaf(0x214)]?this[_0x4c4aaf(0x200)][_0x4c4aaf(0x1f0)]():this[_0x4c4aaf(0x1f0)]();});const _0x1df73d=()=>{const _0x51b933=_0x5e4b5f;_0x739963[_0x51b933(0x1f8)][_0x51b933(0x1ea)](()=>{const _0x3742ba=_0x51b933;if(_0x116432(this[_0x3742ba(0x20d)])){const _0x3fc862=new _0x5a39a2(this[_0x3742ba(0x1f3)][_0x3742ba(0x1e6)][_0x3742ba(0x20d)]),_0x20a012=_0x3fc862[_0x3742ba(0x1fc)],_0x561547=_0x3742ba(0x1fa)===_0x1d77c4[_0x3742ba(0x1ef)]?_0x3742ba(0x1de):_0x3742ba(0x1f6);_0x3fc862[_0x3742ba(0x20b)](),_0x4987f9[_0x3742ba(0x20d)][_0x3742ba(0x1f7)][_0x561547]=_0x20a012-_0x3fc862[_0x3742ba(0x1fc)]+0x1+'px';}});};return this[_0x5e4b5f(0x1f3)][_0x5e4b5f(0x1e6)]['on'](_0x5e4b5f(0x211),_0x1df73d),this['on'](_0x5e4b5f(0x20f),_0x1df73d),_0x4987f9;}[_0x2f97d6(0x1e4)](){const _0x56d3da=_0x2f97d6,_0x3dcda6=this[_0x56d3da(0x1f3)][_0x56d3da(0x1e6)][_0x56d3da(0x20d)][_0x56d3da(0x202)];this[_0x56d3da(0x20c)](_0x56d3da(0x1e4),_0x3dcda6);}[_0x2f97d6(0x1f0)](_0x4316a1){const _0x29db84=_0x2f97d6;-0x1===_0x4316a1?this[_0x29db84(0x1e8)][_0x29db84(0x204)]():this[_0x29db84(0x1e8)][_0x29db84(0x1e9)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fb0c3=_0x1dcf;function _0x1dcf(_0x2ec7f3,_0x58484b){const _0x331f04=_0x331f();return _0x1dcf=function(_0x1dcfcd,_0x5fd318){_0x1dcfcd=_0x1dcfcd-0x1b4;let _0x19eacd=_0x331f04[_0x1dcfcd];return _0x19eacd;},_0x1dcf(_0x2ec7f3,_0x58484b);}(function(_0x4795e0,_0x3cdba8){const _0x1e63ea=_0x1dcf,_0x2b6116=_0x4795e0();while(!![]){try{const _0x3cce36=parseInt(_0x1e63ea(0x1c8))/0x1*(parseInt(_0x1e63ea(0x1d0))/0x2)+parseInt(_0x1e63ea(0x1c0))/0x3+parseInt(_0x1e63ea(0x1c2))/0x4*(-parseInt(_0x1e63ea(0x1b5))/0x5)+-parseInt(_0x1e63ea(0x1c7))/0x6*(parseInt(_0x1e63ea(0x1cc))/0x7)+parseInt(_0x1e63ea(0x1b8))/0x8*(-parseInt(_0x1e63ea(0x1c4))/0x9)+parseInt(_0x1e63ea(0x1b7))/0xa*(parseInt(_0x1e63ea(0x1c5))/0xb)+parseInt(_0x1e63ea(0x1d3))/0xc;if(_0x3cce36===_0x3cdba8)break;else _0x2b6116['push'](_0x2b6116['shift']());}catch(_0x564a5a){_0x2b6116['push'](_0x2b6116['shift']());}}}(_0x331f,0x30cee));import{ToolbarView as _0x539c11,ButtonView as _0x1d7d7d}from'ckeditor5/src/ui.js';import{getTranslation as _0x514ff8}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2fb0c3(0x1b9),'INSERT':_0x2fb0c3(0x1d4)};function _0x331f(){const _0x4a29c9=['bindTemplate','740067lUzSfm','stopButton','26884qFEqTu','insertButton','297HXtUyA','73843ChNfHu','addMany','20802TABMxf','17xhuehK','_createButton','Stop','toUpperCase','63YWSaOS','_CONTENT','items','REPLACE','9458VZrwMj','bind','replaceButton','2933928XhycoZ','insert','Insert\x20below','mainAction','isVisible','ck-ai-form__toolbar','ck-hidden','tryAgainButton','ck-button-action','115lXxgEi','extendTemplate','130MleBSM','66216QGjHKB','replace','AI_','set','label','locale','Try\x20again'];_0x331f=function(){return _0x4a29c9;};return _0x331f();}export default class at extends _0x539c11{constructor(_0x454d67){const _0x92795e=_0x2fb0c3;super(_0x454d67),this[_0x92795e(0x1bb)](_0x92795e(0x1d7),!0x1),this[_0x92795e(0x1bb)](_0x92795e(0x1d6),AIFormToolbarViewMainActionLabel[_0x92795e(0x1cf)]),this[_0x92795e(0x1d2)]=this[_0x92795e(0x1c9)]('',_0x92795e(0x1b4)),this[_0x92795e(0x1d2)][_0x92795e(0x1d1)](_0x92795e(0x1bc))['to'](this,_0x92795e(0x1d6),_0x369b59=>_0x514ff8(_0x454d67,_0x92795e(0x1ba)+_0x369b59[_0x92795e(0x1cb)]()+_0x92795e(0x1cd))),this[_0x92795e(0x1c3)]=this[_0x92795e(0x1c9)](_0x514ff8(_0x454d67,_0x92795e(0x1d5))),this[_0x92795e(0x1da)]=this[_0x92795e(0x1c9)](_0x514ff8(_0x454d67,_0x92795e(0x1be))),this[_0x92795e(0x1c1)]=this[_0x92795e(0x1c9)](_0x514ff8(_0x454d67,_0x92795e(0x1ca)));const _0x5691f2=this[_0x92795e(0x1bf)];this[_0x92795e(0x1b6)]({'attributes':{'class':[_0x92795e(0x1d8),_0x5691f2['if'](_0x92795e(0x1d7),_0x92795e(0x1d9),_0x1600da=>!_0x1600da)]}}),this[_0x92795e(0x1ce)][_0x92795e(0x1c6)]([this[_0x92795e(0x1d2)],this[_0x92795e(0x1c3)],this[_0x92795e(0x1da)],this[_0x92795e(0x1c1)]]);}[_0x2fb0c3(0x1c9)](_0x2cfb18,_0x44da36){const _0x345447=_0x2fb0c3,_0x32da19=new _0x1d7d7d(this[_0x345447(0x1bd)]);return _0x32da19[_0x345447(0x1bb)]({'label':_0x2cfb18,'class':_0x44da36||'','isVisible':!0x0,'withText':!0x0}),_0x32da19;}}
23
+ function _0x5482(){const _0x2447a4=['Stop','toUpperCase','ck-button-action','stopButton','replaceButton','replace','items','bindTemplate','_CONTENT','set','906773LwTZJw','Try\x20again','tryAgainButton','insertButton','1588566YMYHrF','1354445BORDIp','834198bMoRhF','4762230ThvuJL','651180GDsjOk','2cwQOPG','Insert\x20below','addMany','label','bind','mainAction','locale','ck-ai-form__toolbar','isVisible','4734621nkUdMv','_createButton','insert','ck-hidden','8iPfrmg','extendTemplate','REPLACE','AI_'];_0x5482=function(){return _0x2447a4;};return _0x5482();}function _0x2a26(_0x85a2ce,_0x24fdde){const _0x5482a8=_0x5482();return _0x2a26=function(_0x2a2643,_0x5966a9){_0x2a2643=_0x2a2643-0x96;let _0x1a6c35=_0x5482a8[_0x2a2643];return _0x1a6c35;},_0x2a26(_0x85a2ce,_0x24fdde);}const _0x16b2f7=_0x2a26;(function(_0x2484c8,_0x321cf8){const _0x189d56=_0x2a26,_0x35d8cf=_0x2484c8();while(!![]){try{const _0x4db98c=parseInt(_0x189d56(0xab))/0x1+parseInt(_0x189d56(0xb4))/0x2*(-parseInt(_0x189d56(0xb1))/0x3)+parseInt(_0x189d56(0xb3))/0x4+-parseInt(_0x189d56(0xb0))/0x5+-parseInt(_0x189d56(0xb2))/0x6+parseInt(_0x189d56(0xaf))/0x7+parseInt(_0x189d56(0x9d))/0x8*(parseInt(_0x189d56(0x99))/0x9);if(_0x4db98c===_0x321cf8)break;else _0x35d8cf['push'](_0x35d8cf['shift']());}catch(_0x52e164){_0x35d8cf['push'](_0x35d8cf['shift']());}}}(_0x5482,0x752ab));import{ToolbarView as _0x49bb6b,ButtonView as _0x489628}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e89c0}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x16b2f7(0xa6),'INSERT':_0x16b2f7(0x9b)};export default class at extends _0x49bb6b{constructor(_0x1e15b8){const _0x343ab3=_0x16b2f7;super(_0x1e15b8),this[_0x343ab3(0xaa)](_0x343ab3(0x98),!0x1),this[_0x343ab3(0xaa)](_0x343ab3(0xb9),AIFormToolbarViewMainActionLabel[_0x343ab3(0x9f)]),this[_0x343ab3(0xa5)]=this[_0x343ab3(0x9a)]('',_0x343ab3(0xa3)),this[_0x343ab3(0xa5)][_0x343ab3(0xb8)](_0x343ab3(0xb7))['to'](this,_0x343ab3(0xb9),_0x2ee492=>_0x2e89c0(_0x1e15b8,_0x343ab3(0xa0)+_0x2ee492[_0x343ab3(0xa2)]()+_0x343ab3(0xa9))),this[_0x343ab3(0xae)]=this[_0x343ab3(0x9a)](_0x2e89c0(_0x1e15b8,_0x343ab3(0xb5))),this[_0x343ab3(0xad)]=this[_0x343ab3(0x9a)](_0x2e89c0(_0x1e15b8,_0x343ab3(0xac))),this[_0x343ab3(0xa4)]=this[_0x343ab3(0x9a)](_0x2e89c0(_0x1e15b8,_0x343ab3(0xa1)));const _0x596a33=this[_0x343ab3(0xa8)];this[_0x343ab3(0x9e)]({'attributes':{'class':[_0x343ab3(0x97),_0x596a33['if'](_0x343ab3(0x98),_0x343ab3(0x9c),_0x3275c9=>!_0x3275c9)]}}),this[_0x343ab3(0xa7)][_0x343ab3(0xb6)]([this[_0x343ab3(0xa5)],this[_0x343ab3(0xae)],this[_0x343ab3(0xad)],this[_0x343ab3(0xa4)]]);}[_0x16b2f7(0x9a)](_0x54f971,_0x5c3fef){const _0x51cb2e=_0x16b2f7,_0x2780df=new _0x489628(this[_0x51cb2e(0x96)]);return _0x2780df[_0x51cb2e(0xaa)]({'label':_0x54f971,'class':_0x5c3fef||'','isVisible':!0x0,'withText':!0x0}),_0x2780df;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5cfd(_0x3ca462,_0x5337d8){const _0x314cc9=_0x314c();return _0x5cfd=function(_0x5cfddb,_0x1b03f8){_0x5cfddb=_0x5cfddb-0x18b;let _0x4c395a=_0x314cc9[_0x5cfddb];return _0x4c395a;},_0x5cfd(_0x3ca462,_0x5337d8);}const _0x2716dc=_0x5cfd;function _0x314c(){const _0x471c5b=['bind','locale','_createToolbar','shift\x20+\x20tab','ck-ai-form-content','REPLACE','isError','_promptHistory','42rJXtyP','stopButton','10144uRjUMK','execute','startProcessing','replaceContent','fieldView','ck-ai-form','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','toolbar','insertContentBelow','Ask\x20AI\x20to\x20improve\x20generated\x20text','submit','items','isEnabled','217QcApUx','focusTracker','_createPromptView','errorView','contentArea','search','listenTo','chain','fire','15627BSWPqW','581238GCEDfX','656640jVYLTG','delegate','clear','add','replaceButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','tryAgainEvent','finishProcessing','trim','element','focusLast','set','focusCycler','Empty\x20history','reset','focusFirst','setTemplate','mainAction','insertButton','copyButtonView','ck-hidden','tab','prompt','bindTo','div','tryAgainButton','handleError','historyGroupView','queryView','_createHistoryView','render','isVisible','stopProcessing','text','AI_ERROR_FAILED','bindTemplate','submitPrompt','value','2586784dvEDHp','high','2466HfOOOn','createCollection','_focusables','2708048HESxLS','keystrokes','label','focus','promptView','isProcessing','clearHistory'];_0x314c=function(){return _0x471c5b;};return _0x314c();}(function(_0x2eff91,_0x217b0d){const _0x370216=_0x5cfd,_0xda7907=_0x2eff91();while(!![]){try{const _0x406eb7=parseInt(_0x370216(0x1ac))/0x1+parseInt(_0x370216(0x19d))/0x2*(-parseInt(_0x370216(0x1b5))/0x3)+parseInt(_0x370216(0x1dd))/0x4+-parseInt(_0x370216(0x1b7))/0x5+-parseInt(_0x370216(0x1b6))/0x6+parseInt(_0x370216(0x18e))/0x7+parseInt(_0x370216(0x19f))/0x8*(-parseInt(_0x370216(0x18b))/0x9);if(_0x406eb7===_0x217b0d)break;else _0xda7907['push'](_0xda7907['shift']());}catch(_0x4a21a1){_0xda7907['push'](_0xda7907['shift']());}}}(_0x314c,0x55253));import{FocusTracker as _0x489cd4,KeystrokeHandler as _0x5d7af6}from'ckeditor5/src/utils.js';import{View as _0x234bd6,FocusCycler as _0x1c39a1,createLabeledTextarea as _0x11b75e}from'ckeditor5/src/ui.js';import _0x6799ad,{AIFormToolbarViewMainActionLabel as _0x39dc7c}from'./aiformtoolbarview.js';import _0x55b4b4 from'./aiformcontentarea.js';import _0x3200fc from'./aiformerrorview.js';import _0x17b5ef from'./aiformpromptview.js';import _0x168801 from'./aihistorylistview.js';import _0x3c44c3 from'./aihistorylistitemview.js';import _0x39aa67 from'./prompthistory.js';import{getTranslation as _0x137e03}from'../../utils/common-translations.js';import{escape as _0x533c7e}from'lodash-es';export default class k extends _0x234bd6{constructor(_0x1c1342,_0x503f5e,_0x3f6da2=''){const _0x27d65a=_0x5cfd;super(_0x1c1342),this[_0x27d65a(0x1c2)](_0x27d65a(0x1ab),!0x0),this[_0x27d65a(0x1c2)](_0x27d65a(0x193),!0x1),this[_0x27d65a(0x1c2)](_0x27d65a(0x1cd),''),this[_0x27d65a(0x1c2)](_0x27d65a(0x1dc),''),this[_0x27d65a(0x1c2)](_0x27d65a(0x19b),!0x1),this[_0x27d65a(0x1c2)](_0x27d65a(0x1c8),_0x39dc7c[_0x27d65a(0x19a)]),this[_0x27d65a(0x19c)]=new _0x39aa67(),this[_0x27d65a(0x1af)]=new _0x3200fc(_0x1c1342),this[_0x27d65a(0x1b0)]=new _0x55b4b4(_0x1c1342,_0x3f6da2),this[_0x27d65a(0x1b0)][_0x27d65a(0x195)](_0x27d65a(0x193))['to'](this),this[_0x27d65a(0x1b0)][_0x27d65a(0x195)](_0x27d65a(0x1dc))['to'](this),this[_0x27d65a(0x1a6)]=this[_0x27d65a(0x197)](),this[_0x27d65a(0x1a6)][_0x27d65a(0x195)](_0x27d65a(0x1c8))['to'](this),this[_0x27d65a(0x192)]=this[_0x27d65a(0x1ae)](),this[_0x27d65a(0x1ad)]=new _0x489cd4(),this[_0x27d65a(0x18f)]=new _0x5d7af6(),this[_0x27d65a(0x18d)]=this[_0x27d65a(0x18c)]([this[_0x27d65a(0x1b0)],this[_0x27d65a(0x1b0)][_0x27d65a(0x1ca)],this[_0x27d65a(0x1a6)],this[_0x27d65a(0x192)]]),this[_0x27d65a(0x1c3)]=new _0x1c39a1({'focusables':this[_0x27d65a(0x18d)],'focusTracker':this[_0x27d65a(0x1ad)],'keystrokeHandler':this[_0x27d65a(0x18f)],'actions':{'focusPrevious':_0x27d65a(0x198),'focusNext':_0x27d65a(0x1cc)}}),this[_0x27d65a(0x1c3)][_0x27d65a(0x1b3)](this[_0x27d65a(0x192)][_0x27d65a(0x1c3)]),this[_0x27d65a(0x192)][_0x27d65a(0x1d3)][_0x27d65a(0x1a3)][_0x27d65a(0x195)](_0x27d65a(0x1dc))['to'](this,_0x27d65a(0x1cd));const _0x17a4d8=this[_0x27d65a(0x1da)];this[_0x27d65a(0x1c7)]({'tag':_0x27d65a(0x1cf),'attributes':{'class':['ck',_0x27d65a(0x1a4),_0x503f5e],'tabindex':'-1'},'children':[{'tag':_0x27d65a(0x1cf),'attributes':{'class':['ck',_0x27d65a(0x199)]},'children':[{'tag':_0x27d65a(0x1cf),'attributes':{'class':[_0x17a4d8['if'](_0x27d65a(0x19b),_0x27d65a(0x1cb),_0x30d177=>!_0x30d177)]},'children':[this[_0x27d65a(0x1af)]]},this[_0x27d65a(0x1b0)],this[_0x27d65a(0x1a6)],this[_0x27d65a(0x192)]]}]});}[_0x2716dc(0x1d5)](){const _0x78b16b=_0x2716dc;super[_0x78b16b(0x1d5)](),this[_0x78b16b(0x1ad)][_0x78b16b(0x1ba)](this[_0x78b16b(0x1b0)][_0x78b16b(0x1c0)]),this[_0x78b16b(0x1ad)][_0x78b16b(0x1ba)](this[_0x78b16b(0x1b0)][_0x78b16b(0x1ca)][_0x78b16b(0x1c0)]),this[_0x78b16b(0x1ad)][_0x78b16b(0x1ba)](this[_0x78b16b(0x1a6)][_0x78b16b(0x1c0)]),this[_0x78b16b(0x1ad)][_0x78b16b(0x1ba)](this[_0x78b16b(0x192)][_0x78b16b(0x1c0)]),this[_0x78b16b(0x18f)][_0x78b16b(0x1b2)](this[_0x78b16b(0x1c0)]);}[_0x2716dc(0x191)](_0x25ae0a=0x1){const _0x5f0f97=_0x2716dc;-0x1===_0x25ae0a?this[_0x5f0f97(0x1c3)][_0x5f0f97(0x1c1)]():this[_0x5f0f97(0x1c3)][_0x5f0f97(0x1c6)]();}[_0x2716dc(0x1c5)](){const _0x56302c=_0x2716dc;this[_0x56302c(0x1cd)]='',this[_0x56302c(0x1dc)]='',this[_0x56302c(0x19b)]=!0x1,this[_0x56302c(0x192)][_0x56302c(0x1c5)](),this[_0x56302c(0x1b0)][_0x56302c(0x1d6)]=!0x1,this[_0x56302c(0x1a6)][_0x56302c(0x1d6)]=!0x1;}[_0x2716dc(0x1ae)](){const _0x317b1d=_0x2716dc,_0x46fc79=this[_0x317b1d(0x196)],_0x119c3c=new _0x17b5ef(_0x46fc79,{'queryView':{'label':_0x137e03(_0x46fc79,_0x317b1d(0x1bc)),'creator':_0x11b75e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x137e03(_0x46fc79,_0x317b1d(0x1c4)),'secondary':_0x137e03(_0x46fc79,_0x317b1d(0x1a5))}}},'filteredView':this[_0x317b1d(0x1d4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x119c3c[_0x317b1d(0x195)](_0x317b1d(0x1ab))['to'](this,_0x317b1d(0x1ab),this,_0x317b1d(0x193),(_0x502e1a,_0x402e46)=>_0x502e1a&&!_0x402e46),this[_0x317b1d(0x1b2)](_0x119c3c,_0x317b1d(0x1a9),(_0x2ed10c,_0x5a2a06)=>{const _0x2e72c7=_0x317b1d;this[_0x2e72c7(0x1cd)]=_0x5a2a06;const _0x2b3625=_0x533c7e(_0x5a2a06);this[_0x2e72c7(0x1b4)](_0x2e72c7(0x1db),_0x2b3625),_0x5a2a06[_0x2e72c7(0x1bf)]()&&this[_0x2e72c7(0x19c)][_0x2e72c7(0x1ba)]({'prompt':_0x2b3625},0x0);},{'priority':_0x317b1d(0x1de)}),_0x119c3c;}[_0x2716dc(0x1d4)](){const _0x33e3f3=_0x2716dc,_0xa9a0e4=new _0x168801(this[_0x33e3f3(0x196)]);return _0xa9a0e4[_0x33e3f3(0x1d2)][_0x33e3f3(0x1aa)][_0x33e3f3(0x1ce)](this[_0x33e3f3(0x19c)])['as'](_0x3c44c3),_0xa9a0e4['on'](_0x33e3f3(0x194),()=>{const _0x155678=_0x33e3f3;this[_0x155678(0x19c)][_0x155678(0x1b9)](),this[_0x155678(0x192)][_0x155678(0x1b1)](''),this[_0x155678(0x192)][_0x155678(0x191)]();}),_0xa9a0e4;}[_0x2716dc(0x197)](){const _0x2962e1=_0x2716dc,_0x43d1bb=new _0x6799ad(this[_0x2962e1(0x196)]);return _0x43d1bb[_0x2962e1(0x1bb)][_0x2962e1(0x195)](_0x2962e1(0x1ab))['to'](this,_0x2962e1(0x1ab),this,_0x2962e1(0x193),this,_0x2962e1(0x1dc),(_0x686070,_0x3ba70f,_0x1d6b72)=>_0x686070&&!_0x3ba70f&&!!_0x1d6b72),_0x43d1bb[_0x2962e1(0x1bb)][_0x2962e1(0x1b8)](_0x2962e1(0x1a0))['to'](this,_0x2962e1(0x1a2)),_0x43d1bb[_0x2962e1(0x1c9)][_0x2962e1(0x195)](_0x2962e1(0x1ab))['to'](this,_0x2962e1(0x1ab),this,_0x2962e1(0x193),this,_0x2962e1(0x1dc),(_0x1c5fc2,_0x3cb025,_0x3e28f7)=>_0x1c5fc2&&!_0x3cb025&&!!_0x3e28f7),_0x43d1bb[_0x2962e1(0x1c9)][_0x2962e1(0x1b8)](_0x2962e1(0x1a0))['to'](this,_0x2962e1(0x1a7)),_0x43d1bb[_0x2962e1(0x1d0)][_0x2962e1(0x195)](_0x2962e1(0x1ab))['to'](this,_0x2962e1(0x1ab),this,_0x2962e1(0x193),(_0x3ef586,_0x104b13)=>_0x3ef586&&!_0x104b13),_0x43d1bb[_0x2962e1(0x1d0)][_0x2962e1(0x1b8)](_0x2962e1(0x1a0))['to'](this,_0x2962e1(0x1bd)),_0x43d1bb[_0x2962e1(0x19e)][_0x2962e1(0x195)](_0x2962e1(0x1ab))['to'](this,_0x2962e1(0x193)),_0x43d1bb[_0x2962e1(0x19e)][_0x2962e1(0x1b8)](_0x2962e1(0x1a0))['to'](this,_0x2962e1(0x1d7)),_0x43d1bb;}[_0x2716dc(0x1a1)](){const _0x45cd0c=_0x2716dc;this[_0x45cd0c(0x1dc)]='',this[_0x45cd0c(0x19b)]=!0x1,this[_0x45cd0c(0x193)]=!0x0,this[_0x45cd0c(0x1b0)][_0x45cd0c(0x1d6)]=!0x0,this[_0x45cd0c(0x1a6)][_0x45cd0c(0x1d6)]=!0x0,this[_0x45cd0c(0x1b0)][_0x45cd0c(0x191)]();}[_0x2716dc(0x1be)](){const _0x5e69ed=_0x2716dc,_0x538e4a=this[_0x5e69ed(0x196)];this[_0x5e69ed(0x193)]=!0x1,this[_0x5e69ed(0x1cd)]='',this[_0x5e69ed(0x192)][_0x5e69ed(0x1c5)](),this[_0x5e69ed(0x1dc)]&&(this[_0x5e69ed(0x192)][_0x5e69ed(0x1d3)][_0x5e69ed(0x190)]=_0x137e03(_0x538e4a,_0x5e69ed(0x1a8)));}[_0x2716dc(0x1d1)](_0x161d7d){const _0x3c664d=_0x2716dc,_0x1e6393=this[_0x3c664d(0x196)];this[_0x3c664d(0x1be)](),this[_0x3c664d(0x19b)]=!0x0,this[_0x3c664d(0x1af)][_0x3c664d(0x1d8)]=_0x161d7d||_0x137e03(_0x1e6393,_0x3c664d(0x1d9)),this[_0x3c664d(0x1dc)]||(this[_0x3c664d(0x1b0)][_0x3c664d(0x1d6)]=!0x1);}}
23
+ const _0x14503e=_0x4df2;(function(_0x562a8e,_0x4c9ade){const _0x13e801=_0x4df2,_0x31c314=_0x562a8e();while(!![]){try{const _0x445c20=-parseInt(_0x13e801(0x1dd))/0x1*(parseInt(_0x13e801(0x201))/0x2)+parseInt(_0x13e801(0x212))/0x3+parseInt(_0x13e801(0x208))/0x4*(parseInt(_0x13e801(0x1d0))/0x5)+-parseInt(_0x13e801(0x210))/0x6+parseInt(_0x13e801(0x1d1))/0x7+-parseInt(_0x13e801(0x1fc))/0x8*(parseInt(_0x13e801(0x21a))/0x9)+-parseInt(_0x13e801(0x1fa))/0xa*(-parseInt(_0x13e801(0x218))/0xb);if(_0x445c20===_0x4c9ade)break;else _0x31c314['push'](_0x31c314['shift']());}catch(_0x52b527){_0x31c314['push'](_0x31c314['shift']());}}}(_0x53ef,0x5de4e));function _0x53ef(){const _0x4fe0a7=['set','copyButtonView','256NAqBFr','errorView','keystrokes','delegate','tab','AI_ERROR_FAILED','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','561068ViTXBV','items','historyGroupView','isProcessing','div','ck-hidden','ck-ai-form','focusCycler','1248552kEAaDW','reset','35970kmqRMB','insertButton','handleError','toolbar','tryAgainButton','ck-ai-form-content','231VyvgJt','add','17163KshWCV','fire','isEnabled','bindTo','bind','focusFirst','insertContentBelow','render','_promptHistory','shift\x20+\x20tab','element','promptView','20adOQNT','3137281ZhIapg','setTemplate','search','focusLast','high','stopProcessing','text','submitPrompt','fieldView','replaceButton','focusTracker','finishProcessing','5428yZBRkz','_createPromptView','REPLACE','Ask\x20AI\x20to\x20edit\x20or\x20generate','_focusables','mainAction','chain','replaceContent','startProcessing','focus','listenTo','Empty\x20history','isVisible','submit','trim','label','_createHistoryView','stopButton','execute','tryAgainEvent','clear','contentArea','queryView','locale','_createToolbar','prompt','isError','bindTemplate','Ask\x20AI\x20to\x20improve\x20generated\x20text','376500OytDmh','createCollection','2200uakHno','clearHistory','value'];_0x53ef=function(){return _0x4fe0a7;};return _0x53ef();}import{FocusTracker as _0x432f18,KeystrokeHandler as _0x52e259}from'ckeditor5/src/utils.js';import{View as _0x137419,FocusCycler as _0x27bc8d,createLabeledTextarea as _0x179c35}from'ckeditor5/src/ui.js';import _0x167847,{AIFormToolbarViewMainActionLabel as _0x577dcf}from'./aiformtoolbarview.js';function _0x4df2(_0x26d4d7,_0x5d9cfa){const _0x53ef86=_0x53ef();return _0x4df2=function(_0x4df2bd,_0x228b58){_0x4df2bd=_0x4df2bd-0x1d0;let _0x47bfc4=_0x53ef86[_0x4df2bd];return _0x47bfc4;},_0x4df2(_0x26d4d7,_0x5d9cfa);}import _0x3198c5 from'./aiformcontentarea.js';import _0x3a2cc2 from'./aiformerrorview.js';import _0x27c9ae from'./aiformpromptview.js';import _0x19c3ab from'./aihistorylistview.js';import _0x40573c from'./aihistorylistitemview.js';import _0xfc4bde from'./prompthistory.js';import{getTranslation as _0xb9d9e}from'../../utils/common-translations.js';import{escape as _0x1a960d}from'lodash-es';export default class k extends _0x137419{constructor(_0x30db7f,_0x29594d,_0x781a=''){const _0x22ad12=_0x4df2;super(_0x30db7f),this[_0x22ad12(0x1ff)](_0x22ad12(0x21c),!0x0),this[_0x22ad12(0x1ff)](_0x22ad12(0x20b),!0x1),this[_0x22ad12(0x1ff)](_0x22ad12(0x1f6),''),this[_0x22ad12(0x1ff)](_0x22ad12(0x1fe),''),this[_0x22ad12(0x1ff)](_0x22ad12(0x1f7),!0x1),this[_0x22ad12(0x1ff)](_0x22ad12(0x1e2),_0x577dcf[_0x22ad12(0x1df)]),this[_0x22ad12(0x222)]=new _0xfc4bde(),this[_0x22ad12(0x202)]=new _0x3a2cc2(_0x30db7f),this[_0x22ad12(0x1f2)]=new _0x3198c5(_0x30db7f,_0x781a),this[_0x22ad12(0x1f2)][_0x22ad12(0x21e)](_0x22ad12(0x20b))['to'](this),this[_0x22ad12(0x1f2)][_0x22ad12(0x21e)](_0x22ad12(0x1fe))['to'](this),this[_0x22ad12(0x215)]=this[_0x22ad12(0x1f5)](),this[_0x22ad12(0x215)][_0x22ad12(0x21e)](_0x22ad12(0x1e2))['to'](this),this[_0x22ad12(0x225)]=this[_0x22ad12(0x1de)](),this[_0x22ad12(0x1db)]=new _0x432f18(),this[_0x22ad12(0x203)]=new _0x52e259(),this[_0x22ad12(0x1e1)]=this[_0x22ad12(0x1fb)]([this[_0x22ad12(0x1f2)],this[_0x22ad12(0x1f2)][_0x22ad12(0x200)],this[_0x22ad12(0x215)],this[_0x22ad12(0x225)]]),this[_0x22ad12(0x20f)]=new _0x27bc8d({'focusables':this[_0x22ad12(0x1e1)],'focusTracker':this[_0x22ad12(0x1db)],'keystrokeHandler':this[_0x22ad12(0x203)],'actions':{'focusPrevious':_0x22ad12(0x223),'focusNext':_0x22ad12(0x205)}}),this[_0x22ad12(0x20f)][_0x22ad12(0x1e3)](this[_0x22ad12(0x225)][_0x22ad12(0x20f)]),this[_0x22ad12(0x225)][_0x22ad12(0x1f3)][_0x22ad12(0x1d9)][_0x22ad12(0x21e)](_0x22ad12(0x1fe))['to'](this,_0x22ad12(0x1f6));const _0x5807d1=this[_0x22ad12(0x1f8)];this[_0x22ad12(0x1d2)]({'tag':_0x22ad12(0x20c),'attributes':{'class':['ck',_0x22ad12(0x20e),_0x29594d],'tabindex':'-1'},'children':[{'tag':_0x22ad12(0x20c),'attributes':{'class':['ck',_0x22ad12(0x217)]},'children':[{'tag':_0x22ad12(0x20c),'attributes':{'class':[_0x5807d1['if'](_0x22ad12(0x1f7),_0x22ad12(0x20d),_0x13136c=>!_0x13136c)]},'children':[this[_0x22ad12(0x202)]]},this[_0x22ad12(0x1f2)],this[_0x22ad12(0x215)],this[_0x22ad12(0x225)]]}]});}[_0x14503e(0x221)](){const _0x551d37=_0x14503e;super[_0x551d37(0x221)](),this[_0x551d37(0x1db)][_0x551d37(0x219)](this[_0x551d37(0x1f2)][_0x551d37(0x224)]),this[_0x551d37(0x1db)][_0x551d37(0x219)](this[_0x551d37(0x1f2)][_0x551d37(0x200)][_0x551d37(0x224)]),this[_0x551d37(0x1db)][_0x551d37(0x219)](this[_0x551d37(0x215)][_0x551d37(0x224)]),this[_0x551d37(0x1db)][_0x551d37(0x219)](this[_0x551d37(0x225)][_0x551d37(0x224)]),this[_0x551d37(0x203)][_0x551d37(0x1e7)](this[_0x551d37(0x224)]);}[_0x14503e(0x1e6)](_0x2d5903=0x1){const _0x32f2e4=_0x14503e;-0x1===_0x2d5903?this[_0x32f2e4(0x20f)][_0x32f2e4(0x1d4)]():this[_0x32f2e4(0x20f)][_0x32f2e4(0x21f)]();}[_0x14503e(0x211)](){const _0x42d728=_0x14503e;this[_0x42d728(0x1f6)]='',this[_0x42d728(0x1fe)]='',this[_0x42d728(0x1f7)]=!0x1,this[_0x42d728(0x225)][_0x42d728(0x211)](),this[_0x42d728(0x1f2)][_0x42d728(0x1e9)]=!0x1,this[_0x42d728(0x215)][_0x42d728(0x1e9)]=!0x1;}[_0x14503e(0x1de)](){const _0x1bd6ea=_0x14503e,_0x541a01=this[_0x1bd6ea(0x1f4)],_0x137d13=new _0x27c9ae(_0x541a01,{'queryView':{'label':_0xb9d9e(_0x541a01,_0x1bd6ea(0x1e0)),'creator':_0x179c35,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xb9d9e(_0x541a01,_0x1bd6ea(0x1e8)),'secondary':_0xb9d9e(_0x541a01,_0x1bd6ea(0x207))}}},'filteredView':this[_0x1bd6ea(0x1ed)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x137d13[_0x1bd6ea(0x21e)](_0x1bd6ea(0x21c))['to'](this,_0x1bd6ea(0x21c),this,_0x1bd6ea(0x20b),(_0x5b011e,_0x3945dc)=>_0x5b011e&&!_0x3945dc),this[_0x1bd6ea(0x1e7)](_0x137d13,_0x1bd6ea(0x1ea),(_0x1ab032,_0x1fe3ff)=>{const _0x3f6e52=_0x1bd6ea;this[_0x3f6e52(0x1f6)]=_0x1fe3ff;const _0x5223c2=_0x1a960d(_0x1fe3ff);this[_0x3f6e52(0x21b)](_0x3f6e52(0x1d8),_0x5223c2),_0x1fe3ff[_0x3f6e52(0x1eb)]()&&this[_0x3f6e52(0x222)][_0x3f6e52(0x219)]({'prompt':_0x5223c2},0x0);},{'priority':_0x1bd6ea(0x1d5)}),_0x137d13;}[_0x14503e(0x1ed)](){const _0x5eaf2e=_0x14503e,_0x458c75=new _0x19c3ab(this[_0x5eaf2e(0x1f4)]);return _0x458c75[_0x5eaf2e(0x20a)][_0x5eaf2e(0x209)][_0x5eaf2e(0x21d)](this[_0x5eaf2e(0x222)])['as'](_0x40573c),_0x458c75['on'](_0x5eaf2e(0x1fd),()=>{const _0x38066d=_0x5eaf2e;this[_0x38066d(0x222)][_0x38066d(0x1f1)](),this[_0x38066d(0x225)][_0x38066d(0x1d3)](''),this[_0x38066d(0x225)][_0x38066d(0x1e6)]();}),_0x458c75;}[_0x14503e(0x1f5)](){const _0x31ea61=_0x14503e,_0x2f3ae9=new _0x167847(this[_0x31ea61(0x1f4)]);return _0x2f3ae9[_0x31ea61(0x1da)][_0x31ea61(0x21e)](_0x31ea61(0x21c))['to'](this,_0x31ea61(0x21c),this,_0x31ea61(0x20b),this,_0x31ea61(0x1fe),(_0x12ac87,_0x3fe970,_0x158ee4)=>_0x12ac87&&!_0x3fe970&&!!_0x158ee4),_0x2f3ae9[_0x31ea61(0x1da)][_0x31ea61(0x204)](_0x31ea61(0x1ef))['to'](this,_0x31ea61(0x1e4)),_0x2f3ae9[_0x31ea61(0x213)][_0x31ea61(0x21e)](_0x31ea61(0x21c))['to'](this,_0x31ea61(0x21c),this,_0x31ea61(0x20b),this,_0x31ea61(0x1fe),(_0x28608a,_0x3e7b62,_0x5e665c)=>_0x28608a&&!_0x3e7b62&&!!_0x5e665c),_0x2f3ae9[_0x31ea61(0x213)][_0x31ea61(0x204)](_0x31ea61(0x1ef))['to'](this,_0x31ea61(0x220)),_0x2f3ae9[_0x31ea61(0x216)][_0x31ea61(0x21e)](_0x31ea61(0x21c))['to'](this,_0x31ea61(0x21c),this,_0x31ea61(0x20b),(_0x34bd29,_0x1006a6)=>_0x34bd29&&!_0x1006a6),_0x2f3ae9[_0x31ea61(0x216)][_0x31ea61(0x204)](_0x31ea61(0x1ef))['to'](this,_0x31ea61(0x1f0)),_0x2f3ae9[_0x31ea61(0x1ee)][_0x31ea61(0x21e)](_0x31ea61(0x21c))['to'](this,_0x31ea61(0x20b)),_0x2f3ae9[_0x31ea61(0x1ee)][_0x31ea61(0x204)](_0x31ea61(0x1ef))['to'](this,_0x31ea61(0x1d6)),_0x2f3ae9;}[_0x14503e(0x1e5)](){const _0x42d821=_0x14503e;this[_0x42d821(0x1fe)]='',this[_0x42d821(0x1f7)]=!0x1,this[_0x42d821(0x20b)]=!0x0,this[_0x42d821(0x1f2)][_0x42d821(0x1e9)]=!0x0,this[_0x42d821(0x215)][_0x42d821(0x1e9)]=!0x0,this[_0x42d821(0x1f2)][_0x42d821(0x1e6)]();}[_0x14503e(0x1dc)](){const _0x1ea4f2=_0x14503e,_0x11311a=this[_0x1ea4f2(0x1f4)];this[_0x1ea4f2(0x20b)]=!0x1,this[_0x1ea4f2(0x1f6)]='',this[_0x1ea4f2(0x225)][_0x1ea4f2(0x211)](),this[_0x1ea4f2(0x1fe)]&&(this[_0x1ea4f2(0x225)][_0x1ea4f2(0x1f3)][_0x1ea4f2(0x1ec)]=_0xb9d9e(_0x11311a,_0x1ea4f2(0x1f9)));}[_0x14503e(0x214)](_0x421d01){const _0x53aa21=_0x14503e,_0xb2f6a2=this[_0x53aa21(0x1f4)];this[_0x53aa21(0x1dc)](),this[_0x53aa21(0x1f7)]=!0x0,this[_0x53aa21(0x202)][_0x53aa21(0x1d7)]=_0x421d01||_0xb9d9e(_0xb2f6a2,_0x53aa21(0x206)),this[_0x53aa21(0x1fe)]||(this[_0x53aa21(0x1f2)][_0x53aa21(0x1e9)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x7f6c01,_0x56bcf2){const _0x59f1e1=_0xc864,_0x1e38dc=_0x7f6c01();while(!![]){try{const _0x356d9d=parseInt(_0x59f1e1(0xa7))/0x1*(parseInt(_0x59f1e1(0xb1))/0x2)+-parseInt(_0x59f1e1(0xb8))/0x3*(-parseInt(_0x59f1e1(0xb5))/0x4)+parseInt(_0x59f1e1(0xb3))/0x5*(parseInt(_0x59f1e1(0xac))/0x6)+-parseInt(_0x59f1e1(0xab))/0x7+parseInt(_0x59f1e1(0xa9))/0x8+parseInt(_0x59f1e1(0xaa))/0x9+parseInt(_0x59f1e1(0xb6))/0xa*(-parseInt(_0x59f1e1(0xb4))/0xb);if(_0x356d9d===_0x56bcf2)break;else _0x1e38dc['push'](_0x1e38dc['shift']());}catch(_0x5a1bdd){_0x1e38dc['push'](_0x1e38dc['shift']());}}}(_0x25ab,0xca3bf));import{ListItemView as _0x3ecb1f,ButtonView as _0x517e93,ButtonLabelView as _0xffca8e}from'ckeditor5/src/ui.js';function _0xc864(_0x31d822,_0x443431){const _0x25ab3f=_0x25ab();return _0xc864=function(_0xc86410,_0x2864ec){_0xc86410=_0xc86410-0xa7;let _0xb59a4=_0x25ab3f[_0xc86410];return _0xb59a4;},_0xc864(_0x31d822,_0x443431);}import{unescape as _0x2811c1}from'lodash-es';function _0x25ab(){const _0xa28825=['execute','set','prompt','72sTLYPt','children','181730vMGkYw','4127134fhtNiC','4mQIBqW','70Mjfdzs','fire','467952fkpZaS','40823UIbyOA','add','368296xZcIEf','7109190thYEkh','2461564wJcVEO','222fsNQCc','locale'];_0x25ab=function(){return _0xa28825;};return _0x25ab();}export default class hs extends _0x3ecb1f{constructor(_0x54b7e3){const _0x584484=_0xc864;super();const _0x5eff49=new _0xffca8e(),_0x60f98b=new _0x517e93(this[_0x584484(0xad)],_0x5eff49);this[_0x584484(0xb2)][_0x584484(0xa8)](_0x60f98b),_0x60f98b[_0x584484(0xaf)]({'label':_0x54b7e3[_0x584484(0xb0)],'withText':!0x0}),_0x60f98b['on'](_0x584484(0xae),()=>{const _0x16e77c=_0x584484;this[_0x16e77c(0xb7)](_0x16e77c(0xae),{'value':_0x2811c1(_0x54b7e3[_0x16e77c(0xb0)])});});}}
23
+ function _0x21d9(){const _0x509f54=['739711rAEheQ','4037106MJQkIi','42ytZFUJ','locale','children','prompt','4121744eJNRCN','6083030OlLuiZ','440720bZeePZ','execute','set','2176641NFsCIF','138160veIMBw','add','fire','40mtYwdT'];_0x21d9=function(){return _0x509f54;};return _0x21d9();}function _0x562b(_0x53524b,_0x240ef3){const _0x21d93b=_0x21d9();return _0x562b=function(_0x562b19,_0x32e6bf){_0x562b19=_0x562b19-0x11f;let _0x539224=_0x21d93b[_0x562b19];return _0x539224;},_0x562b(_0x53524b,_0x240ef3);}(function(_0x3a41b7,_0x2b7d1d){const _0x52e364=_0x562b,_0x3448dd=_0x3a41b7();while(!![]){try{const _0x1c7913=parseInt(_0x52e364(0x12a))/0x1+-parseInt(_0x52e364(0x126))/0x2+-parseInt(_0x52e364(0x11f))/0x3+-parseInt(_0x52e364(0x124))/0x4+parseInt(_0x52e364(0x125))/0x5+-parseInt(_0x52e364(0x120))/0x6*(-parseInt(_0x52e364(0x12e))/0x7)+parseInt(_0x52e364(0x12d))/0x8*(parseInt(_0x52e364(0x129))/0x9);if(_0x1c7913===_0x2b7d1d)break;else _0x3448dd['push'](_0x3448dd['shift']());}catch(_0x576bea){_0x3448dd['push'](_0x3448dd['shift']());}}}(_0x21d9,0xaca98));import{ListItemView as _0x5944b4,ButtonView as _0x54221b,ButtonLabelView as _0x1ec9d4}from'ckeditor5/src/ui.js';import{unescape as _0x4822ba}from'lodash-es';export default class hs extends _0x5944b4{constructor(_0x3c700b){const _0x3ef616=_0x562b;super();const _0x4c5189=new _0x1ec9d4(),_0x1e7d3e=new _0x54221b(this[_0x3ef616(0x121)],_0x4c5189);this[_0x3ef616(0x122)][_0x3ef616(0x12b)](_0x1e7d3e),_0x1e7d3e[_0x3ef616(0x128)]({'label':_0x3c700b[_0x3ef616(0x123)],'withText':!0x0}),_0x1e7d3e['on'](_0x3ef616(0x127),()=>{const _0x2e1e3a=_0x3ef616;this[_0x2e1e3a(0x12c)](_0x2e1e3a(0x127),{'value':_0x4822ba(_0x3c700b[_0x2e1e3a(0x123)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ade49=_0x4e6e;(function(_0x56d864,_0x5daed4){const _0x2d92b1=_0x4e6e,_0xf77013=_0x56d864();while(!![]){try{const _0x247c07=-parseInt(_0x2d92b1(0x1e1))/0x1+parseInt(_0x2d92b1(0x1e8))/0x2+-parseInt(_0x2d92b1(0x1ef))/0x3*(-parseInt(_0x2d92b1(0x1ee))/0x4)+-parseInt(_0x2d92b1(0x1fa))/0x5+parseInt(_0x2d92b1(0x1f7))/0x6*(parseInt(_0x2d92b1(0x1ed))/0x7)+-parseInt(_0x2d92b1(0x1e7))/0x8*(-parseInt(_0x2d92b1(0x1f4))/0x9)+-parseInt(_0x2d92b1(0x1eb))/0xa;if(_0x247c07===_0x5daed4)break;else _0xf77013['push'](_0xf77013['shift']());}catch(_0x34c96e){_0xf77013['push'](_0xf77013['shift']());}}}(_0x3069,0xb8d45));function _0x4e6e(_0x47b703,_0x5503da){const _0x3069a6=_0x3069();return _0x4e6e=function(_0x4e6e25,_0x2cbc2d){_0x4e6e25=_0x4e6e25-0x1e1;let _0x3c8286=_0x3069a6[_0x4e6e25];return _0x3c8286;},_0x4e6e(_0x47b703,_0x5503da);}import{ListView as _0x42922d,ListItemGroupView as _0x5b32a7,ButtonView as _0x3472f5}from'ckeditor5/src/ui.js';function _0x3069(){const _0x22e63a=['Prompt\x20history','Clear','4552xSiMZL','2908072CLsZWy','items','filter','5582170YuBJkT','clearHistory','14AVOHvk','4136424OtadhF','3hMEqoQ','delegate','locale','clearHistoryButton','execute','5130iEmsrO','children','label','969594lwcVQc','_createClearHistoryButton','add','6772660ujoFCX','fire','465860xuSDFx','historyGroupView','set','length'];_0x3069=function(){return _0x22e63a;};return _0x3069();}import{getTranslation as _0x4dca41}from'../../utils/common-translations.js';export default class rs extends _0x42922d{constructor(_0x513397){const _0x3d1c80=_0x4e6e;super(_0x513397),this[_0x3d1c80(0x1f2)]=this[_0x3d1c80(0x1f8)](),this[_0x3d1c80(0x1e2)]=new _0x5b32a7(),this[_0x3d1c80(0x1e2)][_0x3d1c80(0x1f5)][_0x3d1c80(0x1f9)](this[_0x3d1c80(0x1f2)],0x1),this[_0x3d1c80(0x1e2)][_0x3d1c80(0x1f6)]=_0x4dca41(_0x513397,_0x3d1c80(0x1e5)),this[_0x3d1c80(0x1e2)][_0x3d1c80(0x1e9)][_0x3d1c80(0x1f0)](_0x3d1c80(0x1f3))['to'](this),this[_0x3d1c80(0x1e9)][_0x3d1c80(0x1f9)](this[_0x3d1c80(0x1e2)]);}[_0x5ade49(0x1ea)](){const _0x465c13=_0x5ade49;let _0x567650=0x0;for(const _0x1d76fe of this[_0x465c13(0x1e9)])_0x567650+=_0x1d76fe[_0x465c13(0x1e9)][_0x465c13(0x1e4)];return{'resultsCount':_0x567650,'totalItemsCount':_0x567650};}[_0x5ade49(0x1f8)](){const _0x7bf565=_0x5ade49,_0x13d385=this[_0x7bf565(0x1f1)],_0x3bd24d=new _0x3472f5(this[_0x7bf565(0x1f1)]);return _0x3bd24d[_0x7bf565(0x1e3)]({'label':'('+_0x4dca41(_0x13d385,_0x7bf565(0x1e6))+')','withText':!0x0}),_0x3bd24d['on'](_0x7bf565(0x1f3),()=>this[_0x7bf565(0x1fb)](_0x7bf565(0x1ec))),_0x3bd24d;}}
23
+ const _0x153e5a=_0x1eda;(function(_0x269629,_0x197486){const _0x2b7b58=_0x1eda,_0x1c4bd1=_0x269629();while(!![]){try{const _0x2322a0=-parseInt(_0x2b7b58(0x144))/0x1+parseInt(_0x2b7b58(0x15b))/0x2*(parseInt(_0x2b7b58(0x15f))/0x3)+parseInt(_0x2b7b58(0x157))/0x4+parseInt(_0x2b7b58(0x149))/0x5*(parseInt(_0x2b7b58(0x15a))/0x6)+-parseInt(_0x2b7b58(0x151))/0x7*(parseInt(_0x2b7b58(0x15d))/0x8)+-parseInt(_0x2b7b58(0x15e))/0x9+-parseInt(_0x2b7b58(0x147))/0xa*(-parseInt(_0x2b7b58(0x150))/0xb);if(_0x2322a0===_0x197486)break;else _0x1c4bd1['push'](_0x1c4bd1['shift']());}catch(_0x2d9033){_0x1c4bd1['push'](_0x1c4bd1['shift']());}}}(_0x45e7,0xb2c46));import{ListView as _0x3bb361,ListItemGroupView as _0x1b6764,ButtonView as _0x3b48d4}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c72a3}from'../../utils/common-translations.js';function _0x1eda(_0x5acf68,_0x2fd388){const _0x45e7f8=_0x45e7();return _0x1eda=function(_0x1eda15,_0x607eee){_0x1eda15=_0x1eda15-0x144;let _0x243189=_0x45e7f8[_0x1eda15];return _0x243189;},_0x1eda(_0x5acf68,_0x2fd388);}function _0x45e7(){const _0x1f3580=['6636spaoTe','set','add','60YFyITH','2452966OLmJKi','delegate','6563504BDmTcZ','2794392FbfeHH','3BzZQUV','586578sARowV','historyGroupView','Clear','60LsbGdS','filter','404045scTJth','clearHistory','_createClearHistoryButton','items','fire','Prompt\x20history','children','758087XGeMRY','7lMSEKh','execute','label','clearHistoryButton','locale','length'];_0x45e7=function(){return _0x1f3580;};return _0x45e7();}export default class rs extends _0x3bb361{constructor(_0x3bc052){const _0x53f405=_0x1eda;super(_0x3bc052),this[_0x53f405(0x154)]=this[_0x53f405(0x14b)](),this[_0x53f405(0x145)]=new _0x1b6764(),this[_0x53f405(0x145)][_0x53f405(0x14f)][_0x53f405(0x159)](this[_0x53f405(0x154)],0x1),this[_0x53f405(0x145)][_0x53f405(0x153)]=_0x1c72a3(_0x3bc052,_0x53f405(0x14e)),this[_0x53f405(0x145)][_0x53f405(0x14c)][_0x53f405(0x15c)](_0x53f405(0x152))['to'](this),this[_0x53f405(0x14c)][_0x53f405(0x159)](this[_0x53f405(0x145)]);}[_0x153e5a(0x148)](){const _0x93a4ef=_0x153e5a;let _0x5131e5=0x0;for(const _0x154fe3 of this[_0x93a4ef(0x14c)])_0x5131e5+=_0x154fe3[_0x93a4ef(0x14c)][_0x93a4ef(0x156)];return{'resultsCount':_0x5131e5,'totalItemsCount':_0x5131e5};}[_0x153e5a(0x14b)](){const _0x288e13=_0x153e5a,_0x4dd781=this[_0x288e13(0x155)],_0x5a0fa6=new _0x3b48d4(this[_0x288e13(0x155)]);return _0x5a0fa6[_0x288e13(0x158)]({'label':'('+_0x1c72a3(_0x4dd781,_0x288e13(0x146))+')','withText':!0x0}),_0x5a0fa6['on'](_0x288e13(0x152),()=>this[_0x288e13(0x14d)](_0x288e13(0x14a))),_0x5a0fa6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x399d4c=_0x4e81;function _0x2563(){const _0x3ec862=['prompt','map','_loadFromSessionStorage','addMany','parse','stringify','964824HzhnlF','getItem','last','4626DgeXzT','setItem','2965713oqsrYo','CKEditor/AIFormView/PromptHistory','_saveToSessionStorage','toLowerCase','12CiJuAB','704401WjjqAz','81155qIEnqF','remove','length','43096XeNQsU','493408HasGTJ','add','trim','5080260adNwBJ'];_0x2563=function(){return _0x3ec862;};return _0x2563();}(function(_0xca2f9,_0x35aa65){const _0x19fd40=_0x4e81,_0x27c0a9=_0xca2f9();while(!![]){try{const _0x28614b=-parseInt(_0x19fd40(0x13f))/0x1+parseInt(_0x19fd40(0x144))/0x2+-parseInt(_0x19fd40(0x153))/0x3+parseInt(_0x19fd40(0x13e))/0x4*(-parseInt(_0x19fd40(0x140))/0x5)+-parseInt(_0x19fd40(0x147))/0x6+parseInt(_0x19fd40(0x14e))/0x7+-parseInt(_0x19fd40(0x143))/0x8*(-parseInt(_0x19fd40(0x151))/0x9);if(_0x28614b===_0x35aa65)break;else _0x27c0a9['push'](_0x27c0a9['shift']());}catch(_0x39217a){_0x27c0a9['push'](_0x27c0a9['shift']());}}}(_0x2563,0x89f57));function _0x4e81(_0x25e267,_0x2dbd34){const _0x256314=_0x2563();return _0x4e81=function(_0x4e81cc,_0x3c8a0a){_0x4e81cc=_0x4e81cc-0x13b;let _0x4bdcd7=_0x256314[_0x4e81cc];return _0x4bdcd7;},_0x4e81(_0x25e267,_0x2dbd34);}import{Collection as _0x587f7a}from'ckeditor5/src/utils.js';const cs=_0x399d4c(0x13b);export default class os extends _0x587f7a{constructor(){const _0x1c1b6d=_0x399d4c;super(),this[_0x1c1b6d(0x14a)](),this['on'](_0x1c1b6d(0x145),(_0x14d7bd,_0x396d08)=>{const _0x5a8552=_0x1c1b6d,_0x622d2b=Ss(_0x396d08[_0x5a8552(0x148)]);for(const _0x8d6c81 of this)if(_0x8d6c81!=_0x396d08&&Ss(_0x8d6c81[_0x5a8552(0x148)])===_0x622d2b){this[_0x5a8552(0x141)](_0x8d6c81);break;}this[_0x5a8552(0x142)]>0x14&&this[_0x5a8552(0x141)](this[_0x5a8552(0x150)]),this[_0x5a8552(0x13c)]();}),this['on'](_0x1c1b6d(0x141),()=>{const _0x458478=_0x1c1b6d;this[_0x458478(0x13c)]();});}[_0x399d4c(0x14a)](){const _0x1229d3=_0x399d4c,_0x1963f1=sessionStorage[_0x1229d3(0x14f)](cs)||'[]';this[_0x1229d3(0x14b)](JSON[_0x1229d3(0x14c)](_0x1963f1));}[_0x399d4c(0x13c)](){const _0x2ddd9f=_0x399d4c;sessionStorage[_0x2ddd9f(0x152)](cs,JSON[_0x2ddd9f(0x14d)](this[_0x2ddd9f(0x149)](_0x1ae145=>_0x1ae145)));}}function Ss(_0x3a3d7e){const _0x4e08e4=_0x399d4c;return _0x3a3d7e[_0x4e08e4(0x13d)]()[_0x4e08e4(0x146)]();}
23
+ const _0x5a5497=_0x2f6c;function _0x2f6c(_0x78cb42,_0x405ff5){const _0x2c54ab=_0x2c54();return _0x2f6c=function(_0x2f6c4c,_0x3ea74f){_0x2f6c4c=_0x2f6c4c-0xc2;let _0x13cf5f=_0x2c54ab[_0x2f6c4c];return _0x13cf5f;},_0x2f6c(_0x78cb42,_0x405ff5);}(function(_0x417a9e,_0x3615fd){const _0x581010=_0x2f6c,_0x183b48=_0x417a9e();while(!![]){try{const _0x24f6a3=parseInt(_0x581010(0xd4))/0x1+parseInt(_0x581010(0xd5))/0x2*(-parseInt(_0x581010(0xd8))/0x3)+parseInt(_0x581010(0xcf))/0x4*(parseInt(_0x581010(0xd1))/0x5)+-parseInt(_0x581010(0xd7))/0x6+-parseInt(_0x581010(0xc7))/0x7*(-parseInt(_0x581010(0xd2))/0x8)+parseInt(_0x581010(0xca))/0x9+-parseInt(_0x581010(0xc3))/0xa;if(_0x24f6a3===_0x3615fd)break;else _0x183b48['push'](_0x183b48['shift']());}catch(_0x256973){_0x183b48['push'](_0x183b48['shift']());}}}(_0x2c54,0xc4d83));import{Collection as _0x86ee7}from'ckeditor5/src/utils.js';const cs=_0x5a5497(0xc5);export default class os extends _0x86ee7{constructor(){const _0x327a75=_0x5a5497;super(),this[_0x327a75(0xdb)](),this['on'](_0x327a75(0xd0),(_0x42c028,_0x454bcc)=>{const _0x135598=_0x327a75,_0x163837=Ss(_0x454bcc[_0x135598(0xce)]);for(const _0x57a249 of this)if(_0x57a249!=_0x454bcc&&Ss(_0x57a249[_0x135598(0xce)])===_0x163837){this[_0x135598(0xc6)](_0x57a249);break;}this[_0x135598(0xc2)]>0x14&&this[_0x135598(0xc6)](this[_0x135598(0xc8)]),this[_0x135598(0xcd)]();}),this['on'](_0x327a75(0xc6),()=>{const _0x37569a=_0x327a75;this[_0x37569a(0xcd)]();});}[_0x5a5497(0xdb)](){const _0x4cf9d9=_0x5a5497,_0x5c7717=sessionStorage[_0x4cf9d9(0xcb)](cs)||'[]';this[_0x4cf9d9(0xc9)](JSON[_0x4cf9d9(0xda)](_0x5c7717));}[_0x5a5497(0xcd)](){const _0xfa820b=_0x5a5497;sessionStorage[_0xfa820b(0xc4)](cs,JSON[_0xfa820b(0xd6)](this[_0xfa820b(0xd3)](_0xdc53ec=>_0xdc53ec)));}}function Ss(_0x149d74){const _0x7e55b3=_0x5a5497;return _0x149d74[_0x7e55b3(0xcc)]()[_0x7e55b3(0xd9)]();}function _0x2c54(){const _0x340019=['map','1005225adrJmq','4Rxvsiq','stringify','3493416wVvmKT','125727vipeUn','trim','parse','_loadFromSessionStorage','length','30753800wMSQrI','setItem','CKEditor/AIFormView/PromptHistory','remove','8126433uPNBwG','last','addMany','12955851MGgIpn','getItem','toLowerCase','_saveToSessionStorage','prompt','1884052WvZGyo','add','10XDEGUW','8rWhVze'];_0x2c54=function(){return _0x340019;};return _0x2c54();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47d19f=_0x36d4;(function(_0x312201,_0x595e2e){const _0x1f5cea=_0x36d4,_0x5b82ae=_0x312201();while(!![]){try{const _0x4f9592=-parseInt(_0x1f5cea(0x120))/0x1*(parseInt(_0x1f5cea(0x124))/0x2)+-parseInt(_0x1f5cea(0x127))/0x3+parseInt(_0x1f5cea(0x112))/0x4*(parseInt(_0x1f5cea(0x125))/0x5)+-parseInt(_0x1f5cea(0x10e))/0x6*(parseInt(_0x1f5cea(0xfe))/0x7)+-parseInt(_0x1f5cea(0x11c))/0x8*(-parseInt(_0x1f5cea(0xfc))/0x9)+-parseInt(_0x1f5cea(0x114))/0xa+parseInt(_0x1f5cea(0x105))/0xb;if(_0x4f9592===_0x595e2e)break;else _0x5b82ae['push'](_0x5b82ae['shift']());}catch(_0x3689d5){_0x5b82ae['push'](_0x5b82ae['shift']());}}}(_0x4c92,0xa1cd1));import{Command as _0x7339c7}from'ckeditor5/src/core.js';import _0x378c59 from'../aiassistantui.js';export default class E extends _0x7339c7{constructor(_0xde2cbc,_0x19ccd2){const _0x582273=_0x36d4;super(_0xde2cbc),this[_0x582273(0x118)]=_0x19ccd2,this[_0x582273(0x107)](_0x582273(0x122),[]),this['on'](_0x582273(0x11d),(_0x4b0b40,_0x3a825c,_0x5e7dfe)=>{const _0x5ebf67=_0x582273;this[_0x5ebf67(0x10c)]&&(this[_0x5ebf67(0x122)]=G(this[_0x5ebf67(0x118)],_0x5e7dfe));}),this[_0x582273(0x107)](_0x582273(0x109),!0x1),this['on'](_0x582273(0x104),(_0xb5e27f,_0x19da8f,_0x1be2ec)=>{const _0x1c1e30=_0x582273;this[_0x1c1e30(0x122)]=_0x1be2ec?G(this[_0x1c1e30(0x118)],this[_0x1c1e30(0x109)]):[];});}[_0x47d19f(0x10d)](){const _0x18aa5b=_0x47d19f,_0x66acf3=this[_0x18aa5b(0x11e)][_0x18aa5b(0x115)];this[_0x18aa5b(0x109)]=function(_0xa3901e){const _0x1b3bf5=_0x18aa5b,_0x449475=_0xa3901e[_0x1b3bf5(0x11b)][_0x1b3bf5(0xff)];return _0x449475[_0x1b3bf5(0x116)]?0x0!==[..._0x449475[_0x1b3bf5(0x106)]()][_0x1b3bf5(0x102)]&&![..._0x449475[_0x1b3bf5(0x106)]()][0x0][_0x1b3bf5(0x103)]:!!_0xa3901e[_0x1b3bf5(0xfb)](_0x449475[_0x1b3bf5(0x11a)]());}(_0x66acf3);const _0x2102ef=_0x66acf3[_0x18aa5b(0x11b)][_0x18aa5b(0xff)],_0x4431fb=this[_0x18aa5b(0x11e)][_0x18aa5b(0x126)][_0x18aa5b(0x10f)](_0x18aa5b(0x111));for(const _0x18170a of _0x2102ef[_0x18aa5b(0x101)]())for(const _0x559c8f of _0x18170a[_0x18aa5b(0x10a)]())if(_0x559c8f['is'](_0x18aa5b(0x123))&&_0x4431fb[_0x18aa5b(0x121)](_0x559c8f[_0x18aa5b(0xfd)]))return void(this[_0x18aa5b(0x10c)]=!0x1);this[_0x18aa5b(0x10c)]=!0x0;}[_0x47d19f(0x108)](_0x1f01be='',_0xbe4c5d='',_0x510335=_0x47d19f(0x119)){const _0x1f7125=_0x47d19f;this[_0x1f7125(0x11e)][_0x1f7125(0x117)][_0x1f7125(0x10f)](_0x378c59)[_0x1f7125(0x110)](_0x1f01be,_0xbe4c5d,_0x510335);}}function _0x36d4(_0x14e456,_0x4ff78f){const _0x4c925f=_0x4c92();return _0x36d4=function(_0x36d471,_0x38938b){_0x36d471=_0x36d471-0xfb;let _0x405b2c=_0x4c925f[_0x36d471];return _0x405b2c;},_0x36d4(_0x14e456,_0x4ff78f);}function G(_0x396c2c,_0x5db47a){const _0x5bc1a8=_0x47d19f,_0x1bde0f=new Set();for(const _0x2df19e of _0x396c2c[_0x5bc1a8(0x100)]())(_0x5db47a||!0x1===_0x2df19e[_0x5bc1a8(0x11f)])&&_0x1bde0f[_0x5bc1a8(0x113)](_0x2df19e['id']);return Array[_0x5bc1a8(0x10b)](_0x1bde0f);}function _0x4c92(){const _0x1213c2=['document','856xdnFKz','change:_hasContext','editor','requiresContent','3UFwwkf','includes','enabledCommandsIds','element','440122kgacQk','3625EwhPZc','config','268179iXxDEi','hasContent','94707LwwwTf','name','304367tLiWSV','selection','values','getRanges','length','isEmpty','change:isEnabled','12562044dxDaUl','getSelectedBlocks','set','execute','_hasContext','getItems','from','isEnabled','refresh','126KDPMWZ','get','showUI','ai.aiAssistant.disabledElements','2648Fbktbh','add','4225010LfbWCb','model','isCollapsed','plugins','_commandDefinitions','custom','getFirstRange'];_0x4c92=function(){return _0x1213c2;};return _0x4c92();}
23
+ const _0x56aa7d=_0x3c53;function _0x4d7b(){const _0x356484=['includes','add','getFirstRange','2617587xHUTXD','getSelectedBlocks','from','editor','_commandDefinitions','1643848dmAQSP','5oPrMdB','change:_hasContext','execute','requiresContent','set','refresh','document','isEnabled','selection','values','get','getItems','hasContent','ai.aiAssistant.disabledElements','7821130Tczmeq','length','748734fasgFH','element','isCollapsed','custom','plugins','isEmpty','18EkljBE','23086OasQWR','4991984xiXXjX','_hasContext','config','607777epAFGC','model','showUI','enabledCommandsIds','change:isEnabled','57EPOaSw','getRanges','name'];_0x4d7b=function(){return _0x356484;};return _0x4d7b();}(function(_0x2cde7e,_0x2527af){const _0x1a1a13=_0x3c53,_0x2b200f=_0x2cde7e();while(!![]){try{const _0x5dbc20=-parseInt(_0x1a1a13(0x151))/0x1+-parseInt(_0x1a1a13(0x179))/0x2*(-parseInt(_0x1a1a13(0x156))/0x3)+-parseInt(_0x1a1a13(0x161))/0x4+-parseInt(_0x1a1a13(0x162))/0x5*(parseInt(_0x1a1a13(0x172))/0x6)+parseInt(_0x1a1a13(0x15c))/0x7+-parseInt(_0x1a1a13(0x17a))/0x8+-parseInt(_0x1a1a13(0x178))/0x9*(-parseInt(_0x1a1a13(0x170))/0xa);if(_0x5dbc20===_0x2527af)break;else _0x2b200f['push'](_0x2b200f['shift']());}catch(_0x259d8c){_0x2b200f['push'](_0x2b200f['shift']());}}}(_0x4d7b,0x5f346));import{Command as _0xfea870}from'ckeditor5/src/core.js';function _0x3c53(_0x2056ee,_0x37381d){const _0x4d7bef=_0x4d7b();return _0x3c53=function(_0x3c534b,_0x100750){_0x3c534b=_0x3c534b-0x14f;let _0x430ef8=_0x4d7bef[_0x3c534b];return _0x430ef8;},_0x3c53(_0x2056ee,_0x37381d);}import _0x368483 from'../aiassistantui.js';export default class E extends _0xfea870{constructor(_0xe1f497,_0x1651c8){const _0x1023e0=_0x3c53;super(_0xe1f497),this[_0x1023e0(0x160)]=_0x1651c8,this[_0x1023e0(0x166)](_0x1023e0(0x154),[]),this['on'](_0x1023e0(0x163),(_0x177ba8,_0x3b777c,_0x596550)=>{const _0x2efe9c=_0x1023e0;this[_0x2efe9c(0x169)]&&(this[_0x2efe9c(0x154)]=G(this[_0x2efe9c(0x160)],_0x596550));}),this[_0x1023e0(0x166)](_0x1023e0(0x14f),!0x1),this['on'](_0x1023e0(0x155),(_0x39dbdc,_0x235f64,_0x19bddd)=>{const _0x3a6ea9=_0x1023e0;this[_0x3a6ea9(0x154)]=_0x19bddd?G(this[_0x3a6ea9(0x160)],this[_0x3a6ea9(0x14f)]):[];});}[_0x56aa7d(0x167)](){const _0x30393b=_0x56aa7d,_0x195f6c=this[_0x30393b(0x15f)][_0x30393b(0x152)];this[_0x30393b(0x14f)]=function(_0x4bd0a9){const _0x31abeb=_0x30393b,_0x4f4f37=_0x4bd0a9[_0x31abeb(0x168)][_0x31abeb(0x16a)];return _0x4f4f37[_0x31abeb(0x174)]?0x0!==[..._0x4f4f37[_0x31abeb(0x15d)]()][_0x31abeb(0x171)]&&![..._0x4f4f37[_0x31abeb(0x15d)]()][0x0][_0x31abeb(0x177)]:!!_0x4bd0a9[_0x31abeb(0x16e)](_0x4f4f37[_0x31abeb(0x15b)]());}(_0x195f6c);const _0x578e6b=_0x195f6c[_0x30393b(0x168)][_0x30393b(0x16a)],_0x3c74a1=this[_0x30393b(0x15f)][_0x30393b(0x150)][_0x30393b(0x16c)](_0x30393b(0x16f));for(const _0x36d488 of _0x578e6b[_0x30393b(0x157)]())for(const _0x465308 of _0x36d488[_0x30393b(0x16d)]())if(_0x465308['is'](_0x30393b(0x173))&&_0x3c74a1[_0x30393b(0x159)](_0x465308[_0x30393b(0x158)]))return void(this[_0x30393b(0x169)]=!0x1);this[_0x30393b(0x169)]=!0x0;}[_0x56aa7d(0x164)](_0x5035cd='',_0x56822f='',_0x5c33d1=_0x56aa7d(0x175)){const _0x335477=_0x56aa7d;this[_0x335477(0x15f)][_0x335477(0x176)][_0x335477(0x16c)](_0x368483)[_0x335477(0x153)](_0x5035cd,_0x56822f,_0x5c33d1);}}function G(_0x3c607f,_0x56cbe0){const _0x3670aa=_0x56aa7d,_0x22ca09=new Set();for(const _0x5ce465 of _0x3c607f[_0x3670aa(0x16b)]())(_0x56cbe0||!0x1===_0x5ce465[_0x3670aa(0x165)])&&_0x22ca09[_0x3670aa(0x15a)](_0x5ce465['id']);return Array[_0x3670aa(0x15e)](_0x22ca09);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2214da,_0x4df8bf,_0xbba01f){const t=_0x2214da['t'];switch(_0x4df8bf){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0xbba01f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xbba01f);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0xbba01f);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x4df8bf;}}
23
+ export function getTranslation(_0x50c106,_0x5d9a2a,_0x331928){const t=_0x50c106['t'];switch(_0x5d9a2a){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x331928);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x331928);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x331928);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x5d9a2a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x33a91d,_0x3817e4){const _0x37d665=(0x0,_0x3817e4['t'])('Other');return _0x33a91d['length']?'groupId'in _0x33a91d[0x0]?_0x33a91d:[{'groupId':'_ungrouppedCommands','groupLabel':_0x37d665,'order':0x1/0x0,'commands':_0x33a91d}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x37d665,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x48b380,_0x5124f2){const _0xd82dc0=(0x0,_0x5124f2['t'])('Other');return _0x48b380['length']?'groupId'in _0x48b380[0x0]?_0x48b380:[{'groupId':'_ungrouppedCommands','groupLabel':_0xd82dc0,'order':0x1/0x0,'commands':_0x48b380}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xd82dc0,'order':0x1/0x0,'commands':[]}];}