@ckeditor/ckeditor5-ai 0.0.0-nightly-20250221.0 → 0.0.0-nightly-20250222.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
- const _0x42619f=_0x4a63;function _0x4a63(_0x1becd3,_0x2f6297){const _0x241e55=_0x241e();return _0x4a63=function(_0x4a63d8,_0x340b78){_0x4a63d8=_0x4a63d8-0x156;let _0x32f0f4=_0x241e55[_0x4a63d8];return _0x32f0f4;},_0x4a63(_0x1becd3,_0x2f6297);}function _0x241e(){const _0x407258=['locale','history','History','window','element','excludeScrollbarsAndBorders','4611551bejzsH','style','2736TeAIzF','Submit','44830UIPQFh','ck-ai-form__submit','target','_createSubmitButton','minRows','width','bind','right','fieldWrapperChildren','focus','20PHRbUt','left','keystrokes','isOn','focusFirst','children','isEmpty','showHistoryButtonView','focusableChildren','add','rtl','requestAnimationFrame','update','fire','_createShowHistoryButton','filteredView','execute','value','fieldView','render','isVisible','maxRows','958420pvAfbP','focusLast','resultsView','submit','87325VJRxEw','uiLanguageDirection','set','ck-ai-form__toggle-history','3ZYNSFe','focusCycler','1268748KghOIG','5288082Dbaxps','522640AjTvhw','queryView','submitButtonView','isEnabled','enter'];_0x241e=function(){return _0x407258;};return _0x241e();}(function(_0x5f43c5,_0x448e97){const _0x43a5cb=_0x4a63,_0x5269c2=_0x5f43c5();while(!![]){try{const _0x2c3910=parseInt(_0x43a5cb(0x161))/0x1*(parseInt(_0x43a5cb(0x182))/0x2)+-parseInt(_0x43a5cb(0x165))/0x3*(-parseInt(_0x43a5cb(0x167))/0x4)+-parseInt(_0x43a5cb(0x15d))/0x5+-parseInt(_0x43a5cb(0x168))/0x6+-parseInt(_0x43a5cb(0x174))/0x7+-parseInt(_0x43a5cb(0x169))/0x8+-parseInt(_0x43a5cb(0x176))/0x9*(-parseInt(_0x43a5cb(0x178))/0xa);if(_0x2c3910===_0x448e97)break;else _0x5269c2['push'](_0x5269c2['shift']());}catch(_0x1503f8){_0x5269c2['push'](_0x5269c2['shift']());}}}(_0x241e,0xb8993));import{Rect as _0x422ed6,global as _0x59b660,isVisible as _0x37f7aa}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x221a04,ButtonView as _0x37fa97}from'ckeditor5/src/ui.js';import{icons as _0x50e09a}from'ckeditor5/src/core.js';import{getTranslation as _0x2deec7}from'../../utils/common-translations.js';import _0xb48168 from'../../../theme/icons/submit.svg';export default class ht extends _0x221a04{constructor(_0x3775bd,_0x265b66){const _0x16e900=_0x4a63;super(_0x3775bd,_0x265b66),this[_0x16e900(0x16a)][_0x16e900(0x159)][_0x16e900(0x17c)]=0x1,this[_0x16e900(0x16a)][_0x16e900(0x159)][_0x16e900(0x15c)]=0x3,this[_0x16e900(0x16b)]=this[_0x16e900(0x17b)](),this[_0x16e900(0x189)]=this[_0x16e900(0x190)](),this[_0x16e900(0x18a)][_0x16e900(0x18b)](this[_0x16e900(0x189)],0x1),this[_0x16e900(0x18a)][_0x16e900(0x18b)](this[_0x16e900(0x16b)]);}[_0x42619f(0x15a)](){const _0xbc83dc=_0x42619f;super[_0xbc83dc(0x15a)](),this[_0xbc83dc(0x16a)][_0xbc83dc(0x180)][_0xbc83dc(0x18b)](this[_0xbc83dc(0x189)]),this[_0xbc83dc(0x187)][_0xbc83dc(0x18b)](this[_0xbc83dc(0x16b)]),this[_0xbc83dc(0x184)][_0xbc83dc(0x163)](_0xbc83dc(0x16d),(_0x427ada,_0x5a5c15)=>{const _0x27cc3f=_0xbc83dc;_0x427ada[_0x27cc3f(0x17a)]==this[_0x27cc3f(0x16a)][_0x27cc3f(0x159)][_0x27cc3f(0x172)]&&(this[_0x27cc3f(0x160)](),_0x5a5c15());});}[_0x42619f(0x17b)](){const _0x24b3ac=_0x42619f,_0x4c060f=new _0x37fa97(this[_0x24b3ac(0x16e)]),_0x5e1189=this[_0x24b3ac(0x16e)];return _0x4c060f[_0x24b3ac(0x163)]({'icon':_0xb48168,'label':_0x2deec7(_0x5e1189,_0x24b3ac(0x177)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x24b3ac(0x179)}),_0x4c060f['on'](_0x24b3ac(0x157),()=>{const _0x5a10c6=_0x24b3ac;this[_0x5a10c6(0x160)]();}),_0x4c060f[_0x24b3ac(0x17e)](_0x24b3ac(0x16c))['to'](this[_0x24b3ac(0x16a)][_0x24b3ac(0x159)],_0x24b3ac(0x188),this,_0x24b3ac(0x16c),(_0x55c8ae,_0x43aaaf)=>!_0x55c8ae&&_0x43aaaf),_0x4c060f;}[_0x42619f(0x190)](){const _0x3521f0=_0x42619f,_0x500f8d=new _0x37fa97(this[_0x3521f0(0x16e)]),_0x12938a=this[_0x3521f0(0x15f)],_0x2a5c08=this[_0x3521f0(0x16e)];_0x500f8d[_0x3521f0(0x163)]({'label':_0x2deec7(_0x2a5c08,_0x3521f0(0x170)),'withText':!0x1,'icon':_0x50e09a[_0x3521f0(0x16f)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3521f0(0x164)}),_0x500f8d[_0x3521f0(0x17e)](_0x3521f0(0x185))['to'](_0x12938a,_0x3521f0(0x15b)),_0x500f8d[_0x3521f0(0x17e)](_0x3521f0(0x16c))['to'](this,_0x3521f0(0x16c)),_0x500f8d['on'](_0x3521f0(0x157),()=>{const _0x5a28a6=_0x3521f0;_0x12938a[_0x5a28a6(0x15b)]=!_0x12938a[_0x5a28a6(0x15b)],_0x12938a[_0x5a28a6(0x15b)]?this[_0x5a28a6(0x156)][_0x5a28a6(0x181)]():this[_0x5a28a6(0x181)]();});const _0x8dc2da=()=>{const _0xe01fcf=_0x3521f0;_0x59b660[_0xe01fcf(0x171)][_0xe01fcf(0x18d)](()=>{const _0x2fea6b=_0xe01fcf;if(_0x37f7aa(this[_0x2fea6b(0x172)])){const _0xadbbc0=new _0x422ed6(this[_0x2fea6b(0x16a)][_0x2fea6b(0x159)][_0x2fea6b(0x172)]),_0xb96811=_0xadbbc0[_0x2fea6b(0x17d)],_0x3e11eb=_0x2fea6b(0x18c)===_0x2a5c08[_0x2fea6b(0x162)]?_0x2fea6b(0x183):_0x2fea6b(0x17f);_0xadbbc0[_0x2fea6b(0x173)](),_0x500f8d[_0x2fea6b(0x172)][_0x2fea6b(0x175)][_0x3e11eb]=_0xb96811-_0xadbbc0[_0x2fea6b(0x17d)]+0x1+'px';}});};return this[_0x3521f0(0x16a)][_0x3521f0(0x159)]['on'](_0x3521f0(0x18e),_0x8dc2da),this['on'](_0x3521f0(0x15a),_0x8dc2da),_0x500f8d;}[_0x42619f(0x160)](){const _0x43d4e3=_0x42619f,_0x5563b7=this[_0x43d4e3(0x16a)][_0x43d4e3(0x159)][_0x43d4e3(0x172)][_0x43d4e3(0x158)];this[_0x43d4e3(0x18f)](_0x43d4e3(0x160),_0x5563b7);}[_0x42619f(0x181)](_0x358d72){const _0xb48875=_0x42619f;-0x1===_0x358d72?this[_0xb48875(0x166)][_0xb48875(0x15e)]():this[_0xb48875(0x166)][_0xb48875(0x186)]();}}
23
+ const _0x236758=_0x42d4;(function(_0x151bec,_0x373ebb){const _0x24b346=_0x42d4,_0x491617=_0x151bec();while(!![]){try{const _0x31ba6a=parseInt(_0x24b346(0x90))/0x1+-parseInt(_0x24b346(0x94))/0x2+-parseInt(_0x24b346(0x79))/0x3+parseInt(_0x24b346(0x80))/0x4*(parseInt(_0x24b346(0x98))/0x5)+-parseInt(_0x24b346(0x7e))/0x6*(-parseInt(_0x24b346(0x8b))/0x7)+-parseInt(_0x24b346(0x72))/0x8+-parseInt(_0x24b346(0x65))/0x9*(-parseInt(_0x24b346(0x96))/0xa);if(_0x31ba6a===_0x373ebb)break;else _0x491617['push'](_0x491617['shift']());}catch(_0x43e602){_0x491617['push'](_0x491617['shift']());}}}(_0x35d8,0xab019));import{Rect as _0x4d4669,global as _0x15bb8e,isVisible as _0x33b8fb}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x345906,ButtonView as _0x12336c}from'ckeditor5/src/ui.js';function _0x35d8(){const _0x19d1a7=['maxRows','isEmpty','fire','submitButtonView','excludeScrollbarsAndBorders','value','window','4284666Ljvygm','isVisible','ck-ai-form__toggle-history','focusableChildren','ck-ai-form__submit','queryView','_createShowHistoryButton','add','uiLanguageDirection','element','History','isOn','Submit','2399960fIUUQM','set','width','focusCycler','_createSubmitButton','keystrokes','isEnabled','3208953BPFcUy','enter','bind','showHistoryButtonView','focus','10830yqudyZ','history','236928QteeBs','resultsView','render','focusFirst','fieldWrapperChildren','locale','left','minRows','focusLast','fieldView','filteredView','3073GlCrcL','children','rtl','target','execute','1133206lfEqqI','submit','requestAnimationFrame','style','2326108VfnEGh','right','20PtneMj','update','30NuvIgR'];_0x35d8=function(){return _0x19d1a7;};return _0x35d8();}import{icons as _0xc68b7d}from'ckeditor5/src/core.js';import{getTranslation as _0x2cc4ee}from'../../utils/common-translations.js';import _0x291463 from'../../../theme/icons/submit.svg';function _0x42d4(_0x2b993e,_0x1e459d){const _0x35d848=_0x35d8();return _0x42d4=function(_0x42d40b,_0x4d49bc){_0x42d40b=_0x42d40b-0x64;let _0xd7d694=_0x35d848[_0x42d40b];return _0xd7d694;},_0x42d4(_0x2b993e,_0x1e459d);}export default class ht extends _0x345906{constructor(_0x571c11,_0x3373c4){const _0xdffd=_0x42d4;super(_0x571c11,_0x3373c4),this[_0xdffd(0x6a)][_0xdffd(0x89)][_0xdffd(0x87)]=0x1,this[_0xdffd(0x6a)][_0xdffd(0x89)][_0xdffd(0x99)]=0x3,this[_0xdffd(0x9c)]=this[_0xdffd(0x76)](),this[_0xdffd(0x7c)]=this[_0xdffd(0x6b)](),this[_0xdffd(0x68)][_0xdffd(0x6c)](this[_0xdffd(0x7c)],0x1),this[_0xdffd(0x68)][_0xdffd(0x6c)](this[_0xdffd(0x9c)]);}[_0x236758(0x82)](){const _0x5a2bde=_0x236758;super[_0x5a2bde(0x82)](),this[_0x5a2bde(0x6a)][_0x5a2bde(0x84)][_0x5a2bde(0x6c)](this[_0x5a2bde(0x7c)]),this[_0x5a2bde(0x8c)][_0x5a2bde(0x6c)](this[_0x5a2bde(0x9c)]),this[_0x5a2bde(0x77)][_0x5a2bde(0x73)](_0x5a2bde(0x7a),(_0x22fac8,_0x5f0bf7)=>{const _0x4bc0d6=_0x5a2bde;_0x22fac8[_0x4bc0d6(0x8e)]==this[_0x4bc0d6(0x6a)][_0x4bc0d6(0x89)][_0x4bc0d6(0x6e)]&&(this[_0x4bc0d6(0x91)](),_0x5f0bf7());});}[_0x236758(0x76)](){const _0x4e2233=_0x236758,_0x25046f=new _0x12336c(this[_0x4e2233(0x85)]),_0xdc63e8=this[_0x4e2233(0x85)];return _0x25046f[_0x4e2233(0x73)]({'icon':_0x291463,'label':_0x2cc4ee(_0xdc63e8,_0x4e2233(0x71)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4e2233(0x69)}),_0x25046f['on'](_0x4e2233(0x8f),()=>{const _0x4e42e9=_0x4e2233;this[_0x4e42e9(0x91)]();}),_0x25046f[_0x4e2233(0x7b)](_0x4e2233(0x78))['to'](this[_0x4e2233(0x6a)][_0x4e2233(0x89)],_0x4e2233(0x9a),this,_0x4e2233(0x78),(_0x2c8de9,_0x12e604)=>!_0x2c8de9&&_0x12e604),_0x25046f;}[_0x236758(0x6b)](){const _0x42ed32=_0x236758,_0x5646eb=new _0x12336c(this[_0x42ed32(0x85)]),_0x36a043=this[_0x42ed32(0x81)],_0x2455d3=this[_0x42ed32(0x85)];_0x5646eb[_0x42ed32(0x73)]({'label':_0x2cc4ee(_0x2455d3,_0x42ed32(0x6f)),'withText':!0x1,'icon':_0xc68b7d[_0x42ed32(0x7f)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x42ed32(0x67)}),_0x5646eb[_0x42ed32(0x7b)](_0x42ed32(0x70))['to'](_0x36a043,_0x42ed32(0x66)),_0x5646eb[_0x42ed32(0x7b)](_0x42ed32(0x78))['to'](this,_0x42ed32(0x78)),_0x5646eb['on'](_0x42ed32(0x8f),()=>{const _0x319fa0=_0x42ed32;_0x36a043[_0x319fa0(0x66)]=!_0x36a043[_0x319fa0(0x66)],_0x36a043[_0x319fa0(0x66)]?this[_0x319fa0(0x8a)][_0x319fa0(0x7d)]():this[_0x319fa0(0x7d)]();});const _0x25e677=()=>{const _0x303666=_0x42ed32;_0x15bb8e[_0x303666(0x64)][_0x303666(0x92)](()=>{const _0x44e75=_0x303666;if(_0x33b8fb(this[_0x44e75(0x6e)])){const _0x2bda3f=new _0x4d4669(this[_0x44e75(0x6a)][_0x44e75(0x89)][_0x44e75(0x6e)]),_0x33203f=_0x2bda3f[_0x44e75(0x74)],_0x888909=_0x44e75(0x8d)===_0x2455d3[_0x44e75(0x6d)]?_0x44e75(0x86):_0x44e75(0x95);_0x2bda3f[_0x44e75(0x9d)](),_0x5646eb[_0x44e75(0x6e)][_0x44e75(0x93)][_0x888909]=_0x33203f-_0x2bda3f[_0x44e75(0x74)]+0x1+'px';}});};return this[_0x42ed32(0x6a)][_0x42ed32(0x89)]['on'](_0x42ed32(0x97),_0x25e677),this['on'](_0x42ed32(0x82),_0x25e677),_0x5646eb;}[_0x236758(0x91)](){const _0x4c4323=_0x236758,_0x3b630b=this[_0x4c4323(0x6a)][_0x4c4323(0x89)][_0x4c4323(0x6e)][_0x4c4323(0x9e)];this[_0x4c4323(0x9b)](_0x4c4323(0x91),_0x3b630b);}[_0x236758(0x7d)](_0x433408){const _0x2d3c93=_0x236758;-0x1===_0x433408?this[_0x2d3c93(0x75)][_0x2d3c93(0x88)]():this[_0x2d3c93(0x75)][_0x2d3c93(0x83)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a85(_0x477964,_0x3930c7){const _0x4aad19=_0x4aad();return _0x2a85=function(_0x2a851f,_0x530399){_0x2a851f=_0x2a851f-0x19a;let _0x2559c0=_0x4aad19[_0x2a851f];return _0x2559c0;},_0x2a85(_0x477964,_0x3930c7);}const _0x4c3726=_0x2a85;(function(_0x50e9fc,_0x37dafb){const _0x50518e=_0x2a85,_0x5bf252=_0x50e9fc();while(!![]){try{const _0x2bfece=parseInt(_0x50518e(0x1ba))/0x1*(-parseInt(_0x50518e(0x1a6))/0x2)+parseInt(_0x50518e(0x1b4))/0x3+parseInt(_0x50518e(0x1a3))/0x4+-parseInt(_0x50518e(0x1a1))/0x5+parseInt(_0x50518e(0x1b6))/0x6+-parseInt(_0x50518e(0x1a8))/0x7+parseInt(_0x50518e(0x1b0))/0x8;if(_0x2bfece===_0x37dafb)break;else _0x5bf252['push'](_0x5bf252['shift']());}catch(_0xa01cf0){_0x5bf252['push'](_0x5bf252['shift']());}}}(_0x4aad,0x95fe8));import{ToolbarView as _0x22a848,ButtonView as _0x56ab16}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ad2f4}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4c3726(0x1b2),'INSERT':_0x4c3726(0x1ac)};export default class at extends _0x22a848{constructor(_0x4445ff){const _0xd01021=_0x4c3726;super(_0x4445ff),this[_0xd01021(0x19a)](_0xd01021(0x1a2),!0x1),this[_0xd01021(0x19a)](_0xd01021(0x1bb),AIFormToolbarViewMainActionLabel[_0xd01021(0x1b5)]),this[_0xd01021(0x19b)]=this[_0xd01021(0x1ae)]('',_0xd01021(0x1b7)),this[_0xd01021(0x19b)][_0xd01021(0x1b1)](_0xd01021(0x1ab))['to'](this,_0xd01021(0x1bb),_0x542e38=>_0x5ad2f4(_0x4445ff,_0xd01021(0x1a0)+_0x542e38[_0xd01021(0x19e)]()+_0xd01021(0x1af))),this[_0xd01021(0x1a4)]=this[_0xd01021(0x1ae)](_0x5ad2f4(_0x4445ff,_0xd01021(0x19c))),this[_0xd01021(0x19f)]=this[_0xd01021(0x1ae)](_0x5ad2f4(_0x4445ff,_0xd01021(0x1a5))),this[_0xd01021(0x1bc)]=this[_0xd01021(0x1ae)](_0x5ad2f4(_0x4445ff,_0xd01021(0x1ad)));const _0x31c467=this[_0xd01021(0x1a7)];this[_0xd01021(0x1b3)]({'attributes':{'class':[_0xd01021(0x1aa),_0x31c467['if'](_0xd01021(0x1a2),_0xd01021(0x1b9),_0x191c54=>!_0x191c54)]}}),this[_0xd01021(0x1b8)][_0xd01021(0x19d)]([this[_0xd01021(0x19b)],this[_0xd01021(0x1a4)],this[_0xd01021(0x19f)],this[_0xd01021(0x1bc)]]);}[_0x4c3726(0x1ae)](_0x468c8b,_0x1a9fc1){const _0x2f90a4=_0x4c3726,_0x36c926=new _0x56ab16(this[_0x2f90a4(0x1a9)]);return _0x36c926[_0x2f90a4(0x19a)]({'label':_0x468c8b,'class':_0x1a9fc1||'','isVisible':!0x0,'withText':!0x0}),_0x36c926;}}function _0x4aad(){const _0x3e97ea=['locale','ck-ai-form__toolbar','label','insert','Stop','_createButton','_CONTENT','12605752RAYFYs','bind','replace','extendTemplate','2363643bWobzG','REPLACE','1368240AEgaxv','ck-button-action','items','ck-hidden','1IpXppC','mainAction','stopButton','set','replaceButton','Insert\x20below','addMany','toUpperCase','tryAgainButton','AI_','6043710BBoNrm','isVisible','4703160AozMoV','insertButton','Try\x20again','1625968ndcsYs','bindTemplate','7919296tGpIdU'];_0x4aad=function(){return _0x3e97ea;};return _0x4aad();}
23
+ const _0x633fcd=_0x40f2;(function(_0x5439b8,_0x11d8c8){const _0x2a7798=_0x40f2,_0x4c7258=_0x5439b8();while(!![]){try{const _0x1e9928=-parseInt(_0x2a7798(0x99))/0x1*(parseInt(_0x2a7798(0x9b))/0x2)+parseInt(_0x2a7798(0xb3))/0x3*(-parseInt(_0x2a7798(0xad))/0x4)+parseInt(_0x2a7798(0xb4))/0x5*(-parseInt(_0x2a7798(0x93))/0x6)+parseInt(_0x2a7798(0x98))/0x7+-parseInt(_0x2a7798(0xb1))/0x8+-parseInt(_0x2a7798(0x96))/0x9+-parseInt(_0x2a7798(0x92))/0xa*(-parseInt(_0x2a7798(0xa0))/0xb);if(_0x1e9928===_0x11d8c8)break;else _0x4c7258['push'](_0x4c7258['shift']());}catch(_0x236950){_0x4c7258['push'](_0x4c7258['shift']());}}}(_0x50d9,0x8af83));import{ToolbarView as _0x2b6de3,ButtonView as _0x7e6bf9}from'ckeditor5/src/ui.js';function _0x40f2(_0x10410a,_0x4612e3){const _0x50d908=_0x50d9();return _0x40f2=function(_0x40f266,_0x422cff){_0x40f266=_0x40f266-0x91;let _0x534add=_0x50d908[_0x40f266];return _0x534add;},_0x40f2(_0x10410a,_0x4612e3);}import{getTranslation as _0x2faf43}from'../../utils/common-translations.js';function _0x50d9(){const _0x4f04e2=['8336304orSFVx','set','433137zRGmCI','290345uqZtxh','items','_createButton','isVisible','30341580anAxww','6gHKgYW','addMany','stopButton','9432378izvfPE','label','1531761guPtsX','246855ydnHWf','locale','2xBPUmO','insert','_CONTENT','ck-button-action','tryAgainButton','11zYluvj','Stop','Insert\x20below','bindTemplate','ck-hidden','extendTemplate','toUpperCase','replace','AI_','REPLACE','mainAction','insertButton','Try\x20again','8GaMeHg','bind','ck-ai-form__toolbar','replaceButton'];_0x50d9=function(){return _0x4f04e2;};return _0x50d9();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x633fcd(0xa7),'INSERT':_0x633fcd(0x9c)};export default class at extends _0x2b6de3{constructor(_0x33ec7e){const _0x2d2e9d=_0x633fcd;super(_0x33ec7e),this[_0x2d2e9d(0xb2)](_0x2d2e9d(0x91),!0x1),this[_0x2d2e9d(0xb2)](_0x2d2e9d(0xaa),AIFormToolbarViewMainActionLabel[_0x2d2e9d(0xa9)]),this[_0x2d2e9d(0xb0)]=this[_0x2d2e9d(0xb6)]('',_0x2d2e9d(0x9e)),this[_0x2d2e9d(0xb0)][_0x2d2e9d(0xae)](_0x2d2e9d(0x97))['to'](this,_0x2d2e9d(0xaa),_0x3fc0e1=>_0x2faf43(_0x33ec7e,_0x2d2e9d(0xa8)+_0x3fc0e1[_0x2d2e9d(0xa6)]()+_0x2d2e9d(0x9d))),this[_0x2d2e9d(0xab)]=this[_0x2d2e9d(0xb6)](_0x2faf43(_0x33ec7e,_0x2d2e9d(0xa2))),this[_0x2d2e9d(0x9f)]=this[_0x2d2e9d(0xb6)](_0x2faf43(_0x33ec7e,_0x2d2e9d(0xac))),this[_0x2d2e9d(0x95)]=this[_0x2d2e9d(0xb6)](_0x2faf43(_0x33ec7e,_0x2d2e9d(0xa1)));const _0x2d0b5d=this[_0x2d2e9d(0xa3)];this[_0x2d2e9d(0xa5)]({'attributes':{'class':[_0x2d2e9d(0xaf),_0x2d0b5d['if'](_0x2d2e9d(0x91),_0x2d2e9d(0xa4),_0xcd655f=>!_0xcd655f)]}}),this[_0x2d2e9d(0xb5)][_0x2d2e9d(0x94)]([this[_0x2d2e9d(0xb0)],this[_0x2d2e9d(0xab)],this[_0x2d2e9d(0x9f)],this[_0x2d2e9d(0x95)]]);}[_0x633fcd(0xb6)](_0x4a56ec,_0x5b4ec8){const _0x4a8757=_0x633fcd,_0x2562d0=new _0x7e6bf9(this[_0x4a8757(0x9a)]);return _0x2562d0[_0x4a8757(0xb2)]({'label':_0x4a56ec,'class':_0x5b4ec8||'','isVisible':!0x0,'withText':!0x0}),_0x2562d0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c618a=_0xd72c;(function(_0x2acc93,_0x25cadc){const _0x47e357=_0xd72c,_0x503a24=_0x2acc93();while(!![]){try{const _0x5a695e=-parseInt(_0x47e357(0x14a))/0x1*(parseInt(_0x47e357(0x154))/0x2)+parseInt(_0x47e357(0x134))/0x3+parseInt(_0x47e357(0x14d))/0x4*(-parseInt(_0x47e357(0x16f))/0x5)+-parseInt(_0x47e357(0x16e))/0x6*(-parseInt(_0x47e357(0x127))/0x7)+parseInt(_0x47e357(0x14f))/0x8+parseInt(_0x47e357(0x13a))/0x9+-parseInt(_0x47e357(0x12f))/0xa*(parseInt(_0x47e357(0x11e))/0xb);if(_0x5a695e===_0x25cadc)break;else _0x503a24['push'](_0x503a24['shift']());}catch(_0xeafe49){_0x503a24['push'](_0x503a24['shift']());}}}(_0x4cce,0x399fa));import{FocusTracker as _0x5e28f0,KeystrokeHandler as _0xdfe584}from'ckeditor5/src/utils.js';function _0x4cce(){const _0x37dcce=['div','chain','items','label','Empty\x20history','fieldView','value','bindTo','76eiXHKI','startProcessing','shift\x20+\x20tab','1497112TdeVji','isEnabled','2864176SpqRrH','listenTo','set','tryAgainEvent','submit','9706WHFCXb','copyButtonView','ck-ai-form','high','submitPrompt','AI_ERROR_FAILED','trim','focusTracker','replaceContent','isProcessing','_createPromptView','reset','execute','toolbar','isVisible','setTemplate','focusLast','queryView','render','isError','_createToolbar','promptView','finishProcessing','stopButton','ck-hidden','historyGroupView','189462eNwfxc','5AmvKlO','_promptHistory','Ask\x20AI\x20to\x20edit\x20or\x20generate','add','keystrokes','77EZYkoQ','clear','_focusables','Ask\x20AI\x20to\x20improve\x20generated\x20text','focusCycler','tab','ck-ai-form-content','focus','fire','91tOsYPO','clearHistory','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','mainAction','text','tryAgainButton','bindTemplate','_createHistoryView','302990QrGgxx','errorView','createCollection','insertContentBelow','search','255153MuGESD','replaceButton','locale','handleError','REPLACE','insertButton','3038859WnvYmR','delegate','stopProcessing','focusFirst','element','contentArea','prompt','bind'];_0x4cce=function(){return _0x37dcce;};return _0x4cce();}import{View as _0x1bf9a1,FocusCycler as _0x45359f,createLabeledTextarea as _0x2ee975}from'ckeditor5/src/ui.js';import _0x1dc804,{AIFormToolbarViewMainActionLabel as _0x247cc8}from'./aiformtoolbarview.js';import _0xd2e07 from'./aiformcontentarea.js';import _0x74a35d from'./aiformerrorview.js';import _0x2a6e17 from'./aiformpromptview.js';import _0x68c783 from'./aihistorylistview.js';import _0x5050fe from'./aihistorylistitemview.js';import _0xd6a1d0 from'./prompthistory.js';function _0xd72c(_0x420ca7,_0x187d91){const _0x4ccef8=_0x4cce();return _0xd72c=function(_0xd72cdd,_0x4e839f){_0xd72cdd=_0xd72cdd-0x11c;let _0x149e8a=_0x4ccef8[_0xd72cdd];return _0x149e8a;},_0xd72c(_0x420ca7,_0x187d91);}import{getTranslation as _0xc0917}from'../../utils/common-translations.js';import{escape as _0x277662}from'lodash-es';export default class k extends _0x1bf9a1{constructor(_0x5498d0,_0x3073b,_0x50d2c1=''){const _0x3f5627=_0xd72c;super(_0x5498d0),this[_0x3f5627(0x151)](_0x3f5627(0x14e),!0x0),this[_0x3f5627(0x151)](_0x3f5627(0x15d),!0x1),this[_0x3f5627(0x151)](_0x3f5627(0x140),''),this[_0x3f5627(0x151)](_0x3f5627(0x148),''),this[_0x3f5627(0x151)](_0x3f5627(0x167),!0x1),this[_0x3f5627(0x151)](_0x3f5627(0x12a),_0x247cc8[_0x3f5627(0x138)]),this[_0x3f5627(0x170)]=new _0xd6a1d0(),this[_0x3f5627(0x130)]=new _0x74a35d(_0x5498d0),this[_0x3f5627(0x13f)]=new _0xd2e07(_0x5498d0,_0x50d2c1),this[_0x3f5627(0x13f)][_0x3f5627(0x141)](_0x3f5627(0x15d))['to'](this),this[_0x3f5627(0x13f)][_0x3f5627(0x141)](_0x3f5627(0x148))['to'](this),this[_0x3f5627(0x161)]=this[_0x3f5627(0x168)](),this[_0x3f5627(0x161)][_0x3f5627(0x141)](_0x3f5627(0x12a))['to'](this),this[_0x3f5627(0x169)]=this[_0x3f5627(0x15e)](),this[_0x3f5627(0x15b)]=new _0x5e28f0(),this[_0x3f5627(0x11d)]=new _0xdfe584(),this[_0x3f5627(0x120)]=this[_0x3f5627(0x131)]([this[_0x3f5627(0x13f)],this[_0x3f5627(0x13f)][_0x3f5627(0x155)],this[_0x3f5627(0x161)],this[_0x3f5627(0x169)]]),this[_0x3f5627(0x122)]=new _0x45359f({'focusables':this[_0x3f5627(0x120)],'focusTracker':this[_0x3f5627(0x15b)],'keystrokeHandler':this[_0x3f5627(0x11d)],'actions':{'focusPrevious':_0x3f5627(0x14c),'focusNext':_0x3f5627(0x123)}}),this[_0x3f5627(0x122)][_0x3f5627(0x143)](this[_0x3f5627(0x169)][_0x3f5627(0x122)]),this[_0x3f5627(0x169)][_0x3f5627(0x165)][_0x3f5627(0x147)][_0x3f5627(0x141)](_0x3f5627(0x148))['to'](this,_0x3f5627(0x140));const _0x2ebb20=this[_0x3f5627(0x12d)];this[_0x3f5627(0x163)]({'tag':_0x3f5627(0x142),'attributes':{'class':['ck',_0x3f5627(0x156),_0x3073b],'tabindex':'-1'},'children':[{'tag':_0x3f5627(0x142),'attributes':{'class':['ck',_0x3f5627(0x124)]},'children':[{'tag':_0x3f5627(0x142),'attributes':{'class':[_0x2ebb20['if'](_0x3f5627(0x167),_0x3f5627(0x16c),_0x5af186=>!_0x5af186)]},'children':[this[_0x3f5627(0x130)]]},this[_0x3f5627(0x13f)],this[_0x3f5627(0x161)],this[_0x3f5627(0x169)]]}]});}[_0x5c618a(0x166)](){const _0x12e94c=_0x5c618a;super[_0x12e94c(0x166)](),this[_0x12e94c(0x15b)][_0x12e94c(0x11c)](this[_0x12e94c(0x13f)][_0x12e94c(0x13e)]),this[_0x12e94c(0x15b)][_0x12e94c(0x11c)](this[_0x12e94c(0x13f)][_0x12e94c(0x155)][_0x12e94c(0x13e)]),this[_0x12e94c(0x15b)][_0x12e94c(0x11c)](this[_0x12e94c(0x161)][_0x12e94c(0x13e)]),this[_0x12e94c(0x15b)][_0x12e94c(0x11c)](this[_0x12e94c(0x169)][_0x12e94c(0x13e)]),this[_0x12e94c(0x11d)][_0x12e94c(0x150)](this[_0x12e94c(0x13e)]);}[_0x5c618a(0x125)](_0x2ecffa=0x1){const _0x4b365d=_0x5c618a;-0x1===_0x2ecffa?this[_0x4b365d(0x122)][_0x4b365d(0x164)]():this[_0x4b365d(0x122)][_0x4b365d(0x13d)]();}[_0x5c618a(0x15f)](){const _0x453914=_0x5c618a;this[_0x453914(0x140)]='',this[_0x453914(0x148)]='',this[_0x453914(0x167)]=!0x1,this[_0x453914(0x169)][_0x453914(0x15f)](),this[_0x453914(0x13f)][_0x453914(0x162)]=!0x1,this[_0x453914(0x161)][_0x453914(0x162)]=!0x1;}[_0x5c618a(0x15e)](){const _0x2b7acc=_0x5c618a,_0x57c872=this[_0x2b7acc(0x136)],_0xf16c48=new _0x2a6e17(_0x57c872,{'queryView':{'label':_0xc0917(_0x57c872,_0x2b7acc(0x171)),'creator':_0x2ee975,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xc0917(_0x57c872,_0x2b7acc(0x146)),'secondary':_0xc0917(_0x57c872,_0x2b7acc(0x129))}}},'filteredView':this[_0x2b7acc(0x12e)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xf16c48[_0x2b7acc(0x141)](_0x2b7acc(0x14e))['to'](this,_0x2b7acc(0x14e),this,_0x2b7acc(0x15d),(_0x27d32e,_0x2fc744)=>_0x27d32e&&!_0x2fc744),this[_0x2b7acc(0x150)](_0xf16c48,_0x2b7acc(0x153),(_0x35f917,_0x68dbd1)=>{const _0x2ae9ab=_0x2b7acc;this[_0x2ae9ab(0x140)]=_0x68dbd1;const _0x4f084f=_0x277662(_0x68dbd1);this[_0x2ae9ab(0x126)](_0x2ae9ab(0x158),_0x4f084f),_0x68dbd1[_0x2ae9ab(0x15a)]()&&this[_0x2ae9ab(0x170)][_0x2ae9ab(0x11c)]({'prompt':_0x4f084f},0x0);},{'priority':_0x2b7acc(0x157)}),_0xf16c48;}[_0x5c618a(0x12e)](){const _0x4f4c2c=_0x5c618a,_0x501981=new _0x68c783(this[_0x4f4c2c(0x136)]);return _0x501981[_0x4f4c2c(0x16d)][_0x4f4c2c(0x144)][_0x4f4c2c(0x149)](this[_0x4f4c2c(0x170)])['as'](_0x5050fe),_0x501981['on'](_0x4f4c2c(0x128),()=>{const _0x11c3e8=_0x4f4c2c;this[_0x11c3e8(0x170)][_0x11c3e8(0x11f)](),this[_0x11c3e8(0x169)][_0x11c3e8(0x133)](''),this[_0x11c3e8(0x169)][_0x11c3e8(0x125)]();}),_0x501981;}[_0x5c618a(0x168)](){const _0x37d1d4=_0x5c618a,_0x24411c=new _0x1dc804(this[_0x37d1d4(0x136)]);return _0x24411c[_0x37d1d4(0x135)][_0x37d1d4(0x141)](_0x37d1d4(0x14e))['to'](this,_0x37d1d4(0x14e),this,_0x37d1d4(0x15d),this,_0x37d1d4(0x148),(_0x21e3bd,_0x1cd0cd,_0x24faec)=>_0x21e3bd&&!_0x1cd0cd&&!!_0x24faec),_0x24411c[_0x37d1d4(0x135)][_0x37d1d4(0x13b)](_0x37d1d4(0x160))['to'](this,_0x37d1d4(0x15c)),_0x24411c[_0x37d1d4(0x139)][_0x37d1d4(0x141)](_0x37d1d4(0x14e))['to'](this,_0x37d1d4(0x14e),this,_0x37d1d4(0x15d),this,_0x37d1d4(0x148),(_0x539f8a,_0x118b60,_0x3304dd)=>_0x539f8a&&!_0x118b60&&!!_0x3304dd),_0x24411c[_0x37d1d4(0x139)][_0x37d1d4(0x13b)](_0x37d1d4(0x160))['to'](this,_0x37d1d4(0x132)),_0x24411c[_0x37d1d4(0x12c)][_0x37d1d4(0x141)](_0x37d1d4(0x14e))['to'](this,_0x37d1d4(0x14e),this,_0x37d1d4(0x15d),(_0x2f73a1,_0x11b530)=>_0x2f73a1&&!_0x11b530),_0x24411c[_0x37d1d4(0x12c)][_0x37d1d4(0x13b)](_0x37d1d4(0x160))['to'](this,_0x37d1d4(0x152)),_0x24411c[_0x37d1d4(0x16b)][_0x37d1d4(0x141)](_0x37d1d4(0x14e))['to'](this,_0x37d1d4(0x15d)),_0x24411c[_0x37d1d4(0x16b)][_0x37d1d4(0x13b)](_0x37d1d4(0x160))['to'](this,_0x37d1d4(0x13c)),_0x24411c;}[_0x5c618a(0x14b)](){const _0x16e88e=_0x5c618a;this[_0x16e88e(0x148)]='',this[_0x16e88e(0x167)]=!0x1,this[_0x16e88e(0x15d)]=!0x0,this[_0x16e88e(0x13f)][_0x16e88e(0x162)]=!0x0,this[_0x16e88e(0x161)][_0x16e88e(0x162)]=!0x0,this[_0x16e88e(0x13f)][_0x16e88e(0x125)]();}[_0x5c618a(0x16a)](){const _0x3ba327=_0x5c618a,_0x2a6acf=this[_0x3ba327(0x136)];this[_0x3ba327(0x15d)]=!0x1,this[_0x3ba327(0x140)]='',this[_0x3ba327(0x169)][_0x3ba327(0x15f)](),this[_0x3ba327(0x148)]&&(this[_0x3ba327(0x169)][_0x3ba327(0x165)][_0x3ba327(0x145)]=_0xc0917(_0x2a6acf,_0x3ba327(0x121)));}[_0x5c618a(0x137)](_0xbbeb04){const _0xa0330c=_0x5c618a,_0x3676d2=this[_0xa0330c(0x136)];this[_0xa0330c(0x16a)](),this[_0xa0330c(0x167)]=!0x0,this[_0xa0330c(0x130)][_0xa0330c(0x12b)]=_0xbbeb04||_0xc0917(_0x3676d2,_0xa0330c(0x159)),this[_0xa0330c(0x148)]||(this[_0xa0330c(0x13f)][_0xa0330c(0x162)]=!0x1);}}
23
+ const _0x5ee05d=_0x4fc4;function _0x3ad8(){const _0x372b42=['ck-ai-form','contentArea','reset','locale','items','tryAgainButton','toolbar','438VebcEt','focusTracker','Ask\x20AI\x20to\x20edit\x20or\x20generate','clearHistory','historyGroupView','delegate','render','ck-ai-form-content','3841722EDddTZ','fieldView','replaceButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','submitPrompt','queryView','errorView','_createToolbar','stopButton','ck-hidden','12496784ewgPTz','isVisible','value','mainAction','chain','2670648ijFdmW','keystrokes','element','stopProcessing','_focusables','focusFirst','createCollection','bindTemplate','focusCycler','replaceContent','bind','setTemplate','tryAgainEvent','REPLACE','high','label','_createPromptView','_createHistoryView','isEnabled','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isError','set','isProcessing','clear','31843UkeWSi','finishProcessing','startProcessing','fire','AI_ERROR_FAILED','text','submit','prompt','bindTo','handleError','1293580RwEEDn','add','listenTo','div','search','execute','598504zPlVsM','promptView','copyButtonView','Empty\x20history','insertButton','_promptHistory','insertContentBelow','focusLast','tab','shift\x20+\x20tab','1665864uizLdl','focus','trim'];_0x3ad8=function(){return _0x372b42;};return _0x3ad8();}(function(_0x85e94c,_0x545391){const _0x24934a=_0x4fc4,_0x56854c=_0x85e94c();while(!![]){try{const _0x29e3d5=-parseInt(_0x24934a(0x1a5))/0x1+parseInt(_0x24934a(0x1af))/0x2+parseInt(_0x24934a(0x1c1))/0x3+parseInt(_0x24934a(0x17d))/0x4+-parseInt(_0x24934a(0x19f))/0x5+-parseInt(_0x24934a(0x1b9))/0x6*(-parseInt(_0x24934a(0x195))/0x7)+-parseInt(_0x24934a(0x178))/0x8;if(_0x29e3d5===_0x545391)break;else _0x56854c['push'](_0x56854c['shift']());}catch(_0x467384){_0x56854c['push'](_0x56854c['shift']());}}}(_0x3ad8,0xa96a7));import{FocusTracker as _0x36bc73,KeystrokeHandler as _0x456eee}from'ckeditor5/src/utils.js';import{View as _0x3b3581,FocusCycler as _0x189dc9,createLabeledTextarea as _0x4748ee}from'ckeditor5/src/ui.js';import _0x20470a,{AIFormToolbarViewMainActionLabel as _0x2a7e07}from'./aiformtoolbarview.js';import _0x1afc26 from'./aiformcontentarea.js';import _0x5106b8 from'./aiformerrorview.js';function _0x4fc4(_0x3a53db,_0x14abf2){const _0x3ad830=_0x3ad8();return _0x4fc4=function(_0x4fc47b,_0x2f2aed){_0x4fc47b=_0x4fc47b-0x176;let _0x147008=_0x3ad830[_0x4fc47b];return _0x147008;},_0x4fc4(_0x3a53db,_0x14abf2);}import _0x4c10eb from'./aiformpromptview.js';import _0x3e5670 from'./aihistorylistview.js';import _0x33cb11 from'./aihistorylistitemview.js';import _0x4a1cc8 from'./prompthistory.js';import{getTranslation as _0x5cbb7d}from'../../utils/common-translations.js';import{escape as _0x1a1485}from'lodash-es';export default class k extends _0x3b3581{constructor(_0x3a6208,_0x1361e2,_0x4be7e9=''){const _0x1953d4=_0x4fc4;super(_0x3a6208),this[_0x1953d4(0x192)](_0x1953d4(0x18f),!0x0),this[_0x1953d4(0x192)](_0x1953d4(0x193),!0x1),this[_0x1953d4(0x192)](_0x1953d4(0x19c),''),this[_0x1953d4(0x192)](_0x1953d4(0x17a),''),this[_0x1953d4(0x192)](_0x1953d4(0x191),!0x1),this[_0x1953d4(0x192)](_0x1953d4(0x17b),_0x2a7e07[_0x1953d4(0x18a)]),this[_0x1953d4(0x1aa)]=new _0x4a1cc8(),this[_0x1953d4(0x1c7)]=new _0x5106b8(_0x3a6208),this[_0x1953d4(0x1b3)]=new _0x1afc26(_0x3a6208,_0x4be7e9),this[_0x1953d4(0x1b3)][_0x1953d4(0x187)](_0x1953d4(0x193))['to'](this),this[_0x1953d4(0x1b3)][_0x1953d4(0x187)](_0x1953d4(0x17a))['to'](this),this[_0x1953d4(0x1b8)]=this[_0x1953d4(0x1c8)](),this[_0x1953d4(0x1b8)][_0x1953d4(0x187)](_0x1953d4(0x17b))['to'](this),this[_0x1953d4(0x1a6)]=this[_0x1953d4(0x18d)](),this[_0x1953d4(0x1ba)]=new _0x36bc73(),this[_0x1953d4(0x17e)]=new _0x456eee(),this[_0x1953d4(0x181)]=this[_0x1953d4(0x183)]([this[_0x1953d4(0x1b3)],this[_0x1953d4(0x1b3)][_0x1953d4(0x1a7)],this[_0x1953d4(0x1b8)],this[_0x1953d4(0x1a6)]]),this[_0x1953d4(0x185)]=new _0x189dc9({'focusables':this[_0x1953d4(0x181)],'focusTracker':this[_0x1953d4(0x1ba)],'keystrokeHandler':this[_0x1953d4(0x17e)],'actions':{'focusPrevious':_0x1953d4(0x1ae),'focusNext':_0x1953d4(0x1ad)}}),this[_0x1953d4(0x185)][_0x1953d4(0x17c)](this[_0x1953d4(0x1a6)][_0x1953d4(0x185)]),this[_0x1953d4(0x1a6)][_0x1953d4(0x1c6)][_0x1953d4(0x1c2)][_0x1953d4(0x187)](_0x1953d4(0x17a))['to'](this,_0x1953d4(0x19c));const _0x2ac665=this[_0x1953d4(0x184)];this[_0x1953d4(0x188)]({'tag':_0x1953d4(0x1a2),'attributes':{'class':['ck',_0x1953d4(0x1b2),_0x1361e2],'tabindex':'-1'},'children':[{'tag':_0x1953d4(0x1a2),'attributes':{'class':['ck',_0x1953d4(0x1c0)]},'children':[{'tag':_0x1953d4(0x1a2),'attributes':{'class':[_0x2ac665['if'](_0x1953d4(0x191),_0x1953d4(0x177),_0x5df712=>!_0x5df712)]},'children':[this[_0x1953d4(0x1c7)]]},this[_0x1953d4(0x1b3)],this[_0x1953d4(0x1b8)],this[_0x1953d4(0x1a6)]]}]});}[_0x5ee05d(0x1bf)](){const _0x41dbb4=_0x5ee05d;super[_0x41dbb4(0x1bf)](),this[_0x41dbb4(0x1ba)][_0x41dbb4(0x1a0)](this[_0x41dbb4(0x1b3)][_0x41dbb4(0x17f)]),this[_0x41dbb4(0x1ba)][_0x41dbb4(0x1a0)](this[_0x41dbb4(0x1b3)][_0x41dbb4(0x1a7)][_0x41dbb4(0x17f)]),this[_0x41dbb4(0x1ba)][_0x41dbb4(0x1a0)](this[_0x41dbb4(0x1b8)][_0x41dbb4(0x17f)]),this[_0x41dbb4(0x1ba)][_0x41dbb4(0x1a0)](this[_0x41dbb4(0x1a6)][_0x41dbb4(0x17f)]),this[_0x41dbb4(0x17e)][_0x41dbb4(0x1a1)](this[_0x41dbb4(0x17f)]);}[_0x5ee05d(0x1b0)](_0x33b869=0x1){const _0x1a6270=_0x5ee05d;-0x1===_0x33b869?this[_0x1a6270(0x185)][_0x1a6270(0x1ac)]():this[_0x1a6270(0x185)][_0x1a6270(0x182)]();}[_0x5ee05d(0x1b4)](){const _0x56d95c=_0x5ee05d;this[_0x56d95c(0x19c)]='',this[_0x56d95c(0x17a)]='',this[_0x56d95c(0x191)]=!0x1,this[_0x56d95c(0x1a6)][_0x56d95c(0x1b4)](),this[_0x56d95c(0x1b3)][_0x56d95c(0x179)]=!0x1,this[_0x56d95c(0x1b8)][_0x56d95c(0x179)]=!0x1;}[_0x5ee05d(0x18d)](){const _0x547204=_0x5ee05d,_0x3b70fa=this[_0x547204(0x1b5)],_0x13b271=new _0x4c10eb(_0x3b70fa,{'queryView':{'label':_0x5cbb7d(_0x3b70fa,_0x547204(0x1bb)),'creator':_0x4748ee,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5cbb7d(_0x3b70fa,_0x547204(0x1a8)),'secondary':_0x5cbb7d(_0x3b70fa,_0x547204(0x190))}}},'filteredView':this[_0x547204(0x18e)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x13b271[_0x547204(0x187)](_0x547204(0x18f))['to'](this,_0x547204(0x18f),this,_0x547204(0x193),(_0xf3b402,_0x4b9bd3)=>_0xf3b402&&!_0x4b9bd3),this[_0x547204(0x1a1)](_0x13b271,_0x547204(0x19b),(_0x1c0523,_0xa4f24c)=>{const _0x353b58=_0x547204;this[_0x353b58(0x19c)]=_0xa4f24c;const _0x11a3ad=_0x1a1485(_0xa4f24c);this[_0x353b58(0x198)](_0x353b58(0x1c5),_0x11a3ad),_0xa4f24c[_0x353b58(0x1b1)]()&&this[_0x353b58(0x1aa)][_0x353b58(0x1a0)]({'prompt':_0x11a3ad},0x0);},{'priority':_0x547204(0x18b)}),_0x13b271;}[_0x5ee05d(0x18e)](){const _0x2a5396=_0x5ee05d,_0x59d0cc=new _0x3e5670(this[_0x2a5396(0x1b5)]);return _0x59d0cc[_0x2a5396(0x1bd)][_0x2a5396(0x1b6)][_0x2a5396(0x19d)](this[_0x2a5396(0x1aa)])['as'](_0x33cb11),_0x59d0cc['on'](_0x2a5396(0x1bc),()=>{const _0x43d442=_0x2a5396;this[_0x43d442(0x1aa)][_0x43d442(0x194)](),this[_0x43d442(0x1a6)][_0x43d442(0x1a3)](''),this[_0x43d442(0x1a6)][_0x43d442(0x1b0)]();}),_0x59d0cc;}[_0x5ee05d(0x1c8)](){const _0x3d1a60=_0x5ee05d,_0x48363b=new _0x20470a(this[_0x3d1a60(0x1b5)]);return _0x48363b[_0x3d1a60(0x1c3)][_0x3d1a60(0x187)](_0x3d1a60(0x18f))['to'](this,_0x3d1a60(0x18f),this,_0x3d1a60(0x193),this,_0x3d1a60(0x17a),(_0x2fddf1,_0x2bd7ec,_0x3d64e1)=>_0x2fddf1&&!_0x2bd7ec&&!!_0x3d64e1),_0x48363b[_0x3d1a60(0x1c3)][_0x3d1a60(0x1be)](_0x3d1a60(0x1a4))['to'](this,_0x3d1a60(0x186)),_0x48363b[_0x3d1a60(0x1a9)][_0x3d1a60(0x187)](_0x3d1a60(0x18f))['to'](this,_0x3d1a60(0x18f),this,_0x3d1a60(0x193),this,_0x3d1a60(0x17a),(_0x5d0a0a,_0x29f41d,_0x1a20c6)=>_0x5d0a0a&&!_0x29f41d&&!!_0x1a20c6),_0x48363b[_0x3d1a60(0x1a9)][_0x3d1a60(0x1be)](_0x3d1a60(0x1a4))['to'](this,_0x3d1a60(0x1ab)),_0x48363b[_0x3d1a60(0x1b7)][_0x3d1a60(0x187)](_0x3d1a60(0x18f))['to'](this,_0x3d1a60(0x18f),this,_0x3d1a60(0x193),(_0x897a55,_0x1cf0e0)=>_0x897a55&&!_0x1cf0e0),_0x48363b[_0x3d1a60(0x1b7)][_0x3d1a60(0x1be)](_0x3d1a60(0x1a4))['to'](this,_0x3d1a60(0x189)),_0x48363b[_0x3d1a60(0x176)][_0x3d1a60(0x187)](_0x3d1a60(0x18f))['to'](this,_0x3d1a60(0x193)),_0x48363b[_0x3d1a60(0x176)][_0x3d1a60(0x1be)](_0x3d1a60(0x1a4))['to'](this,_0x3d1a60(0x180)),_0x48363b;}[_0x5ee05d(0x197)](){const _0x2a4d89=_0x5ee05d;this[_0x2a4d89(0x17a)]='',this[_0x2a4d89(0x191)]=!0x1,this[_0x2a4d89(0x193)]=!0x0,this[_0x2a4d89(0x1b3)][_0x2a4d89(0x179)]=!0x0,this[_0x2a4d89(0x1b8)][_0x2a4d89(0x179)]=!0x0,this[_0x2a4d89(0x1b3)][_0x2a4d89(0x1b0)]();}[_0x5ee05d(0x196)](){const _0x4d3753=_0x5ee05d,_0x5163a9=this[_0x4d3753(0x1b5)];this[_0x4d3753(0x193)]=!0x1,this[_0x4d3753(0x19c)]='',this[_0x4d3753(0x1a6)][_0x4d3753(0x1b4)](),this[_0x4d3753(0x17a)]&&(this[_0x4d3753(0x1a6)][_0x4d3753(0x1c6)][_0x4d3753(0x18c)]=_0x5cbb7d(_0x5163a9,_0x4d3753(0x1c4)));}[_0x5ee05d(0x19e)](_0x49b7c4){const _0x4bbe8d=_0x5ee05d,_0x57ae1b=this[_0x4bbe8d(0x1b5)];this[_0x4bbe8d(0x196)](),this[_0x4bbe8d(0x191)]=!0x0,this[_0x4bbe8d(0x1c7)][_0x4bbe8d(0x19a)]=_0x49b7c4||_0x5cbb7d(_0x57ae1b,_0x4bbe8d(0x199)),this[_0x4bbe8d(0x17a)]||(this[_0x4bbe8d(0x1b3)][_0x4bbe8d(0x179)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x48b6(){const _0x392763=['1064525mNPtzD','362361oBdWwp','338139AJZoWb','add','locale','787104OHyRAe','35pjTzVH','fire','prompt','children','8403039JbCXeW','2XYguOj','10HuBird','492292GKhRqa','execute','237784XApPLg','set'];_0x48b6=function(){return _0x392763;};return _0x48b6();}function _0x2925(_0x43bd10,_0x57ceb4){const _0x48b673=_0x48b6();return _0x2925=function(_0x292513,_0x33e092){_0x292513=_0x292513-0xa0;let _0x3c72d3=_0x48b673[_0x292513];return _0x3c72d3;},_0x2925(_0x43bd10,_0x57ceb4);}(function(_0x4c86bb,_0x1dc8cd){const _0x20bd7f=_0x2925,_0x134956=_0x4c86bb();while(!![]){try{const _0xd03985=-parseInt(_0x20bd7f(0xa6))/0x1*(parseInt(_0x20bd7f(0xaf))/0x2)+-parseInt(_0x20bd7f(0xa5))/0x3+parseInt(_0x20bd7f(0xa0))/0x4+-parseInt(_0x20bd7f(0xa4))/0x5+-parseInt(_0x20bd7f(0xa9))/0x6+parseInt(_0x20bd7f(0xaa))/0x7*(parseInt(_0x20bd7f(0xa2))/0x8)+parseInt(_0x20bd7f(0xae))/0x9*(parseInt(_0x20bd7f(0xb0))/0xa);if(_0xd03985===_0x1dc8cd)break;else _0x134956['push'](_0x134956['shift']());}catch(_0x5a3772){_0x134956['push'](_0x134956['shift']());}}}(_0x48b6,0x623a8));import{ListItemView as _0x5076f9,ButtonView as _0xe3490c,ButtonLabelView as _0x11d216}from'ckeditor5/src/ui.js';import{unescape as _0x4f10cb}from'lodash-es';export default class hs extends _0x5076f9{constructor(_0x45eabd){const _0x104ff2=_0x2925;super();const _0x37ffc0=new _0x11d216(),_0xf0e8a6=new _0xe3490c(this[_0x104ff2(0xa8)],_0x37ffc0);this[_0x104ff2(0xad)][_0x104ff2(0xa7)](_0xf0e8a6),_0xf0e8a6[_0x104ff2(0xa3)]({'label':_0x45eabd[_0x104ff2(0xac)],'withText':!0x0}),_0xf0e8a6['on'](_0x104ff2(0xa1),()=>{const _0x48655a=_0x104ff2;this[_0x48655a(0xab)](_0x48655a(0xa1),{'value':_0x4f10cb(_0x45eabd[_0x48655a(0xac)])});});}}
23
+ (function(_0x2cfa72,_0x5cf20d){const _0x277dd1=_0x26b3,_0x1e0bd7=_0x2cfa72();while(!![]){try{const _0x135aa0=-parseInt(_0x277dd1(0x15b))/0x1*(parseInt(_0x277dd1(0x15e))/0x2)+parseInt(_0x277dd1(0x167))/0x3+-parseInt(_0x277dd1(0x15a))/0x4+parseInt(_0x277dd1(0x160))/0x5+parseInt(_0x277dd1(0x163))/0x6+parseInt(_0x277dd1(0x161))/0x7+-parseInt(_0x277dd1(0x162))/0x8;if(_0x135aa0===_0x5cf20d)break;else _0x1e0bd7['push'](_0x1e0bd7['shift']());}catch(_0x575f42){_0x1e0bd7['push'](_0x1e0bd7['shift']());}}}(_0x3262,0x380d0));import{ListItemView as _0x18ffd6,ButtonView as _0x26aaeb,ButtonLabelView as _0x163684}from'ckeditor5/src/ui.js';function _0x3262(){const _0x49ff9c=['3469976eakmwg','1268058QNboFT','fire','prompt','set','1236642kHmfrf','children','739592UKbHbI','14FTGDoQ','locale','execute','60670TaujVT','add','1899140KXGIQn','1886738LLyNzn'];_0x3262=function(){return _0x49ff9c;};return _0x3262();}import{unescape as _0x5987ce}from'lodash-es';function _0x26b3(_0x217a64,_0x594793){const _0x326220=_0x3262();return _0x26b3=function(_0x26b3ff,_0x3c67af){_0x26b3ff=_0x26b3ff-0x159;let _0x2ec776=_0x326220[_0x26b3ff];return _0x2ec776;},_0x26b3(_0x217a64,_0x594793);}export default class hs extends _0x18ffd6{constructor(_0x5767ca){const _0xfd2f40=_0x26b3;super();const _0x2fd8a8=new _0x163684(),_0x251bb9=new _0x26aaeb(this[_0xfd2f40(0x15c)],_0x2fd8a8);this[_0xfd2f40(0x159)][_0xfd2f40(0x15f)](_0x251bb9),_0x251bb9[_0xfd2f40(0x166)]({'label':_0x5767ca[_0xfd2f40(0x165)],'withText':!0x0}),_0x251bb9['on'](_0xfd2f40(0x15d),()=>{const _0x1a8008=_0xfd2f40;this[_0x1a8008(0x164)](_0x1a8008(0x15d),{'value':_0x5987ce(_0x5767ca[_0x1a8008(0x165)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x136bb2=_0x4a9c;(function(_0x3f8747,_0x49dbcc){const _0x167efc=_0x4a9c,_0x240d23=_0x3f8747();while(!![]){try{const _0x5d237e=parseInt(_0x167efc(0xa5))/0x1*(parseInt(_0x167efc(0x8b))/0x2)+parseInt(_0x167efc(0x8e))/0x3*(-parseInt(_0x167efc(0x92))/0x4)+-parseInt(_0x167efc(0xa2))/0x5*(-parseInt(_0x167efc(0x90))/0x6)+parseInt(_0x167efc(0x9f))/0x7*(-parseInt(_0x167efc(0x97))/0x8)+-parseInt(_0x167efc(0x96))/0x9+-parseInt(_0x167efc(0x9e))/0xa*(-parseInt(_0x167efc(0xa1))/0xb)+parseInt(_0x167efc(0xa3))/0xc*(parseInt(_0x167efc(0x9a))/0xd);if(_0x5d237e===_0x49dbcc)break;else _0x240d23['push'](_0x240d23['shift']());}catch(_0x35e967){_0x240d23['push'](_0x240d23['shift']());}}}(_0x2059,0x24a80));function _0x4a9c(_0x48b8fb,_0x320418){const _0x20597e=_0x2059();return _0x4a9c=function(_0x4a9cdc,_0xd90a37){_0x4a9cdc=_0x4a9cdc-0x88;let _0x4ef0f1=_0x20597e[_0x4a9cdc];return _0x4ef0f1;},_0x4a9c(_0x48b8fb,_0x320418);}import{ListView as _0x1625d0,ListItemGroupView as _0x46d5c8,ButtonView as _0x36cd9f}from'ckeditor5/src/ui.js';function _0x2059(){const _0x43a639=['fire','11pAlfLf','55ebTcPn','19188bYGVUd','Clear','10907RNkenB','clearHistoryButton','items','label','6NOdNxa','filter','add','29049WEbBzJ','historyGroupView','64482CxXNuJ','execute','48zMAIhK','set','length','delegate','392886yGqdHd','16iwrWTk','locale','children','1521LauEdy','clearHistory','Prompt\x20history','_createClearHistoryButton','1457770OBKdLW','608314NcqaLr'];_0x2059=function(){return _0x43a639;};return _0x2059();}import{getTranslation as _0x56167f}from'../../utils/common-translations.js';export default class rs extends _0x1625d0{constructor(_0x3667a2){const _0x39cf36=_0x4a9c;super(_0x3667a2),this[_0x39cf36(0x88)]=this[_0x39cf36(0x9d)](),this[_0x39cf36(0x8f)]=new _0x46d5c8(),this[_0x39cf36(0x8f)][_0x39cf36(0x99)][_0x39cf36(0x8d)](this[_0x39cf36(0x88)],0x1),this[_0x39cf36(0x8f)][_0x39cf36(0x8a)]=_0x56167f(_0x3667a2,_0x39cf36(0x9c)),this[_0x39cf36(0x8f)][_0x39cf36(0x89)][_0x39cf36(0x95)](_0x39cf36(0x91))['to'](this),this[_0x39cf36(0x89)][_0x39cf36(0x8d)](this[_0x39cf36(0x8f)]);}[_0x136bb2(0x8c)](){const _0x462ce8=_0x136bb2;let _0x580df1=0x0;for(const _0xb4588f of this[_0x462ce8(0x89)])_0x580df1+=_0xb4588f[_0x462ce8(0x89)][_0x462ce8(0x94)];return{'resultsCount':_0x580df1,'totalItemsCount':_0x580df1};}[_0x136bb2(0x9d)](){const _0x5ff19f=_0x136bb2,_0x428a3c=this[_0x5ff19f(0x98)],_0x14d505=new _0x36cd9f(this[_0x5ff19f(0x98)]);return _0x14d505[_0x5ff19f(0x93)]({'label':'('+_0x56167f(_0x428a3c,_0x5ff19f(0xa4))+')','withText':!0x0}),_0x14d505['on'](_0x5ff19f(0x91),()=>this[_0x5ff19f(0xa0)](_0x5ff19f(0x9b))),_0x14d505;}}
23
+ const _0x436837=_0x4fe0;(function(_0x4db3c0,_0x158895){const _0xa17205=_0x4fe0,_0xc8d7bf=_0x4db3c0();while(!![]){try{const _0x252c26=parseInt(_0xa17205(0x1d3))/0x1+-parseInt(_0xa17205(0x1e1))/0x2+-parseInt(_0xa17205(0x1d1))/0x3+parseInt(_0xa17205(0x1ce))/0x4+parseInt(_0xa17205(0x1dd))/0x5*(-parseInt(_0xa17205(0x1cf))/0x6)+-parseInt(_0xa17205(0x1e5))/0x7*(parseInt(_0xa17205(0x1d0))/0x8)+parseInt(_0xa17205(0x1db))/0x9*(parseInt(_0xa17205(0x1d4))/0xa);if(_0x252c26===_0x158895)break;else _0xc8d7bf['push'](_0xc8d7bf['shift']());}catch(_0x220f9f){_0xc8d7bf['push'](_0xc8d7bf['shift']());}}}(_0x5510,0xe2f72));import{ListView as _0x3472f2,ListItemGroupView as _0x346df2,ButtonView as _0x3d0c6d}from'ckeditor5/src/ui.js';function _0x5510(){const _0x4982fd=['Clear','items','5746508hHTYfe','6vaihCy','48qpLnQa','3547443fbzaNO','fire','882470aLOoBQ','9590jGNyBv','add','execute','historyGroupView','Prompt\x20history','locale','delegate','3717huRlhy','clearHistory','1253290IPVgyb','_createClearHistoryButton','clearHistoryButton','set','513866hrgccs','length','children','label','111349vddnIN','filter'];_0x5510=function(){return _0x4982fd;};return _0x5510();}import{getTranslation as _0x5356a2}from'../../utils/common-translations.js';function _0x4fe0(_0x567053,_0x37adf8){const _0x55107f=_0x5510();return _0x4fe0=function(_0x4fe027,_0x567dcd){_0x4fe027=_0x4fe027-0x1cc;let _0x1c9ac6=_0x55107f[_0x4fe027];return _0x1c9ac6;},_0x4fe0(_0x567053,_0x37adf8);}export default class rs extends _0x3472f2{constructor(_0x3b7891){const _0x4254ff=_0x4fe0;super(_0x3b7891),this[_0x4254ff(0x1df)]=this[_0x4254ff(0x1de)](),this[_0x4254ff(0x1d7)]=new _0x346df2(),this[_0x4254ff(0x1d7)][_0x4254ff(0x1e3)][_0x4254ff(0x1d5)](this[_0x4254ff(0x1df)],0x1),this[_0x4254ff(0x1d7)][_0x4254ff(0x1e4)]=_0x5356a2(_0x3b7891,_0x4254ff(0x1d8)),this[_0x4254ff(0x1d7)][_0x4254ff(0x1cd)][_0x4254ff(0x1da)](_0x4254ff(0x1d6))['to'](this),this[_0x4254ff(0x1cd)][_0x4254ff(0x1d5)](this[_0x4254ff(0x1d7)]);}[_0x436837(0x1e6)](){const _0x49a39f=_0x436837;let _0x462465=0x0;for(const _0x4126fd of this[_0x49a39f(0x1cd)])_0x462465+=_0x4126fd[_0x49a39f(0x1cd)][_0x49a39f(0x1e2)];return{'resultsCount':_0x462465,'totalItemsCount':_0x462465};}[_0x436837(0x1de)](){const _0x5b8d5a=_0x436837,_0x49a99d=this[_0x5b8d5a(0x1d9)],_0x38af51=new _0x3d0c6d(this[_0x5b8d5a(0x1d9)]);return _0x38af51[_0x5b8d5a(0x1e0)]({'label':'('+_0x5356a2(_0x49a99d,_0x5b8d5a(0x1cc))+')','withText':!0x0}),_0x38af51['on'](_0x5b8d5a(0x1d6),()=>this[_0x5b8d5a(0x1d2)](_0x5b8d5a(0x1dc))),_0x38af51;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc91744=_0x4f95;function _0x300d(){const _0x47d25f=['_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','parse','3861718kiAndL','1628040wOQEfD','7893312ojPECS','stringify','addMany','1234821qlbSgS','1yjJpYq','prompt','length','setItem','getItem','187BMRhWx','trim','remove','toLowerCase','8KUjSkC','1489590tsFleR','18mBdrnu','map','last','1769994tRSAyJ','539390wZxpAi','add','_loadFromSessionStorage'];_0x300d=function(){return _0x47d25f;};return _0x300d();}(function(_0x444d0b,_0x38c7c2){const _0x40c2df=_0x4f95,_0x3c6f1d=_0x444d0b();while(!![]){try{const _0x4d6c7b=parseInt(_0x40c2df(0xf9))/0x1*(parseInt(_0x40c2df(0xec))/0x2)+parseInt(_0x40c2df(0xf8))/0x3*(parseInt(_0x40c2df(0xe7))/0x4)+-parseInt(_0x40c2df(0xf4))/0x5+-parseInt(_0x40c2df(0xe9))/0x6*(-parseInt(_0x40c2df(0xf3))/0x7)+-parseInt(_0x40c2df(0xf5))/0x8+-parseInt(_0x40c2df(0xe8))/0x9+parseInt(_0x40c2df(0xed))/0xa*(-parseInt(_0x40c2df(0xfe))/0xb);if(_0x4d6c7b===_0x38c7c2)break;else _0x3c6f1d['push'](_0x3c6f1d['shift']());}catch(_0x3da3f1){_0x3c6f1d['push'](_0x3c6f1d['shift']());}}}(_0x300d,0xec728));import{Collection as _0x590f58}from'ckeditor5/src/utils.js';const cs=_0xc91744(0xf1);export default class os extends _0x590f58{constructor(){const _0x158498=_0xc91744;super(),this[_0x158498(0xef)](),this['on'](_0x158498(0xee),(_0x13eadc,_0x3bad99)=>{const _0x15fd35=_0x158498,_0x54482e=Ss(_0x3bad99[_0x15fd35(0xfa)]);for(const _0x9d563 of this)if(_0x9d563!=_0x3bad99&&Ss(_0x9d563[_0x15fd35(0xfa)])===_0x54482e){this[_0x15fd35(0x100)](_0x9d563);break;}this[_0x15fd35(0xfb)]>0x14&&this[_0x15fd35(0x100)](this[_0x15fd35(0xeb)]),this[_0x15fd35(0xf0)]();}),this['on'](_0x158498(0x100),()=>{const _0x116d6e=_0x158498;this[_0x116d6e(0xf0)]();});}[_0xc91744(0xef)](){const _0x5073a7=_0xc91744,_0x45358a=sessionStorage[_0x5073a7(0xfd)](cs)||'[]';this[_0x5073a7(0xf7)](JSON[_0x5073a7(0xf2)](_0x45358a));}[_0xc91744(0xf0)](){const _0x5b05f0=_0xc91744;sessionStorage[_0x5b05f0(0xfc)](cs,JSON[_0x5b05f0(0xf6)](this[_0x5b05f0(0xea)](_0x5e62fd=>_0x5e62fd)));}}function _0x4f95(_0x241a5c,_0x4d38ee){const _0x300dd4=_0x300d();return _0x4f95=function(_0x4f956e,_0x5c0401){_0x4f956e=_0x4f956e-0xe7;let _0x1bf94e=_0x300dd4[_0x4f956e];return _0x1bf94e;},_0x4f95(_0x241a5c,_0x4d38ee);}function Ss(_0x4998f1){const _0x3f525d=_0xc91744;return _0x4998f1[_0x3f525d(0x101)]()[_0x3f525d(0xff)]();}
23
+ const _0x48dcbc=_0x5d56;(function(_0x2199a8,_0x26be30){const _0x5a3ab9=_0x5d56,_0x3b120e=_0x2199a8();while(!![]){try{const _0x165159=parseInt(_0x5a3ab9(0xe2))/0x1+parseInt(_0x5a3ab9(0xd7))/0x2+parseInt(_0x5a3ab9(0xdf))/0x3*(-parseInt(_0x5a3ab9(0xe5))/0x4)+parseInt(_0x5a3ab9(0xcf))/0x5*(parseInt(_0x5a3ab9(0xe3))/0x6)+-parseInt(_0x5a3ab9(0xd6))/0x7*(-parseInt(_0x5a3ab9(0xdc))/0x8)+parseInt(_0x5a3ab9(0xde))/0x9*(parseInt(_0x5a3ab9(0xe4))/0xa)+-parseInt(_0x5a3ab9(0xd0))/0xb;if(_0x165159===_0x26be30)break;else _0x3b120e['push'](_0x3b120e['shift']());}catch(_0x3347c3){_0x3b120e['push'](_0x3b120e['shift']());}}}(_0x1cfb,0x68821));function _0x5d56(_0x538013,_0xa5e05e){const _0x1cfb78=_0x1cfb();return _0x5d56=function(_0x5d56e0,_0x7fd4da){_0x5d56e0=_0x5d56e0-0xcc;let _0x1cc1ae=_0x1cfb78[_0x5d56e0];return _0x1cc1ae;},_0x5d56(_0x538013,_0xa5e05e);}import{Collection as _0x3e4c84}from'ckeditor5/src/utils.js';const cs=_0x48dcbc(0xd4);function _0x1cfb(){const _0x4b1dc0=['308371RJJKib','322418RSSzoM','addMany','_loadFromSessionStorage','getItem','prompt','16bbhdQw','map','418014CAeHyF','3HXFfZy','length','parse','382265XzuyXl','289326PxYuXE','120hftmhM','1212316fenAvc','stringify','_saveToSessionStorage','toLowerCase','add','40GOfRib','9279116aSNjLq','trim','setItem','last','CKEditor/AIFormView/PromptHistory','remove'];_0x1cfb=function(){return _0x4b1dc0;};return _0x1cfb();}export default class os extends _0x3e4c84{constructor(){const _0xc28054=_0x48dcbc;super(),this[_0xc28054(0xd9)](),this['on'](_0xc28054(0xce),(_0x4a41a7,_0x3ff80d)=>{const _0x5a35ee=_0xc28054,_0x14112a=Ss(_0x3ff80d[_0x5a35ee(0xdb)]);for(const _0x30972d of this)if(_0x30972d!=_0x3ff80d&&Ss(_0x30972d[_0x5a35ee(0xdb)])===_0x14112a){this[_0x5a35ee(0xd5)](_0x30972d);break;}this[_0x5a35ee(0xe0)]>0x14&&this[_0x5a35ee(0xd5)](this[_0x5a35ee(0xd3)]),this[_0x5a35ee(0xcc)]();}),this['on'](_0xc28054(0xd5),()=>{const _0x40f555=_0xc28054;this[_0x40f555(0xcc)]();});}[_0x48dcbc(0xd9)](){const _0x59e335=_0x48dcbc,_0x174142=sessionStorage[_0x59e335(0xda)](cs)||'[]';this[_0x59e335(0xd8)](JSON[_0x59e335(0xe1)](_0x174142));}[_0x48dcbc(0xcc)](){const _0x3e1f0f=_0x48dcbc;sessionStorage[_0x3e1f0f(0xd2)](cs,JSON[_0x3e1f0f(0xe6)](this[_0x3e1f0f(0xdd)](_0x355523=>_0x355523)));}}function Ss(_0xc54644){const _0x483493=_0x48dcbc;return _0xc54644[_0x483493(0xcd)]()[_0x483493(0xd1)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b6c42=_0x2ffc;function _0x2ffc(_0x192cc2,_0x45a5fe){const _0x4fd779=_0x4fd7();return _0x2ffc=function(_0x2ffc2b,_0x2017c8){_0x2ffc2b=_0x2ffc2b-0x91;let _0x1b539b=_0x4fd779[_0x2ffc2b];return _0x1b539b;},_0x2ffc(_0x192cc2,_0x45a5fe);}(function(_0x385025,_0x355142){const _0x141846=_0x2ffc,_0x1b8eac=_0x385025();while(!![]){try{const _0x65f987=parseInt(_0x141846(0x9f))/0x1+-parseInt(_0x141846(0xaf))/0x2*(-parseInt(_0x141846(0xa0))/0x3)+-parseInt(_0x141846(0x9a))/0x4+-parseInt(_0x141846(0xa6))/0x5*(-parseInt(_0x141846(0xad))/0x6)+-parseInt(_0x141846(0xb8))/0x7+parseInt(_0x141846(0x95))/0x8+-parseInt(_0x141846(0xb9))/0x9*(parseInt(_0x141846(0x94))/0xa);if(_0x65f987===_0x355142)break;else _0x1b8eac['push'](_0x1b8eac['shift']());}catch(_0x3579ff){_0x1b8eac['push'](_0x1b8eac['shift']());}}}(_0x4fd7,0x49a90));import{Command as _0x941c}from'ckeditor5/src/core.js';import _0x38d268 from'../aiassistantui.js';export default class E extends _0x941c{constructor(_0x12456a,_0x555dee){const _0x24ae84=_0x2ffc;super(_0x12456a),this[_0x24ae84(0xbb)]=_0x555dee,this[_0x24ae84(0xa2)](_0x24ae84(0x91),[]),this['on'](_0x24ae84(0xa5),(_0x34d479,_0x4a4fce,_0x2d6900)=>{const _0x44c2f2=_0x24ae84;this[_0x44c2f2(0xa3)]&&(this[_0x44c2f2(0x91)]=G(this[_0x44c2f2(0xbb)],_0x2d6900));}),this[_0x24ae84(0xa2)](_0x24ae84(0xbc),!0x1),this['on'](_0x24ae84(0xb6),(_0x2ca001,_0x26243c,_0x35479a)=>{const _0xfa4e84=_0x24ae84;this[_0xfa4e84(0x91)]=_0x35479a?G(this[_0xfa4e84(0xbb)],this[_0xfa4e84(0xbc)]):[];});}[_0x1b6c42(0x99)](){const _0x3d457b=_0x1b6c42,_0x482cc3=this[_0x3d457b(0xa4)][_0x3d457b(0xab)];this[_0x3d457b(0xbc)]=function(_0xb1fb53){const _0x3c6c73=_0x3d457b,_0x573b62=_0xb1fb53[_0x3c6c73(0x96)][_0x3c6c73(0xaa)];return _0x573b62[_0x3c6c73(0x97)]?0x0!==[..._0x573b62[_0x3c6c73(0x98)]()][_0x3c6c73(0xae)]&&![..._0x573b62[_0x3c6c73(0x98)]()][0x0][_0x3c6c73(0xa8)]:!!_0xb1fb53[_0x3c6c73(0xb4)](_0x573b62[_0x3c6c73(0x9c)]());}(_0x482cc3);const _0x5690d3=_0x482cc3[_0x3d457b(0x96)][_0x3d457b(0xaa)],_0x387628=this[_0x3d457b(0xa4)][_0x3d457b(0x9b)][_0x3d457b(0x93)](_0x3d457b(0xba));for(const _0x38b848 of _0x5690d3[_0x3d457b(0xa1)]())for(const _0x37f680 of _0x38b848[_0x3d457b(0xac)]())if(_0x37f680['is'](_0x3d457b(0xb0))&&_0x387628[_0x3d457b(0x92)](_0x37f680[_0x3d457b(0xa7)]))return void(this[_0x3d457b(0xa3)]=!0x1);this[_0x3d457b(0xa3)]=!0x0;}[_0x1b6c42(0x9e)](_0x593e17='',_0x5db5c5='',_0x3b77bd=_0x1b6c42(0x9d)){const _0x5d8ec6=_0x1b6c42;this[_0x5d8ec6(0xa4)][_0x5d8ec6(0xb5)][_0x5d8ec6(0x93)](_0x38d268)[_0x5d8ec6(0xb2)](_0x593e17,_0x5db5c5,_0x3b77bd);}}function G(_0x2bbd7a,_0x2c1639){const _0x783758=_0x1b6c42,_0x1fa040=new Set();for(const _0x16347f of _0x2bbd7a[_0x783758(0xb1)]())(_0x2c1639||!0x1===_0x16347f[_0x783758(0xb7)])&&_0x1fa040[_0x783758(0xa9)](_0x16347f['id']);return Array[_0x783758(0xb3)](_0x1fa040);}function _0x4fd7(){const _0x338878=['requiresContent','2813503CWBDof','117eDoFrb','ai.aiAssistant.disabledElements','_commandDefinitions','_hasContext','enabledCommandsIds','includes','get','196250PfQlXR','3545104MnJozL','document','isCollapsed','getSelectedBlocks','refresh','880008pBQxHL','config','getFirstRange','custom','execute','446479PFZjQM','73257KjbSks','getRanges','set','isEnabled','editor','change:_hasContext','35TyHzkQ','name','isEmpty','add','selection','model','getItems','38538SgtEtL','length','20hlwDDn','element','values','showUI','from','hasContent','plugins','change:isEnabled'];_0x4fd7=function(){return _0x338878;};return _0x4fd7();}
23
+ const _0x1baad4=_0x30a8;(function(_0x311d2e,_0x33f603){const _0xa43fdb=_0x30a8,_0x372543=_0x311d2e();while(!![]){try{const _0x2affc5=-parseInt(_0xa43fdb(0xad))/0x1+parseInt(_0xa43fdb(0xa0))/0x2+-parseInt(_0xa43fdb(0xb9))/0x3*(parseInt(_0xa43fdb(0xa5))/0x4)+-parseInt(_0xa43fdb(0xb4))/0x5*(-parseInt(_0xa43fdb(0xb3))/0x6)+parseInt(_0xa43fdb(0xa3))/0x7*(parseInt(_0xa43fdb(0xa1))/0x8)+-parseInt(_0xa43fdb(0xaf))/0x9*(parseInt(_0xa43fdb(0x91))/0xa)+parseInt(_0xa43fdb(0x9a))/0xb;if(_0x2affc5===_0x33f603)break;else _0x372543['push'](_0x372543['shift']());}catch(_0x1e7b10){_0x372543['push'](_0x372543['shift']());}}}(_0x4fcd,0xbba79));function _0x4fcd(){const _0x4222e7=['getFirstRange','_hasContext','change:_hasContext','hasContent','14347003uUdHEH','from','values','get','model','getRanges','1209348oYBUxj','296VtrvVo','includes','177247ooqCxH','requiresContent','2692788BdNNqN','isEnabled','document','refresh','change:isEnabled','config','showUI','name','255609TanzYH','execute','711LqaLop','getSelectedBlocks','length','enabledCommandsIds','6tQjnkB','4751835QHibjb','set','isCollapsed','_commandDefinitions','add','6yYWhBu','editor','ai.aiAssistant.disabledElements','custom','selection','180450dAEjch','plugins','isEmpty','getItems','element'];_0x4fcd=function(){return _0x4222e7;};return _0x4fcd();}import{Command as _0x13a468}from'ckeditor5/src/core.js';function _0x30a8(_0x32c916,_0x18eec7){const _0x4fcd80=_0x4fcd();return _0x30a8=function(_0x30a877,_0x1b9563){_0x30a877=_0x30a877-0x90;let _0x3ce578=_0x4fcd80[_0x30a877];return _0x3ce578;},_0x30a8(_0x32c916,_0x18eec7);}import _0x50053e from'../aiassistantui.js';export default class E extends _0x13a468{constructor(_0x118a93,_0x55c3aa){const _0x25220b=_0x30a8;super(_0x118a93),this[_0x25220b(0xb7)]=_0x55c3aa,this[_0x25220b(0xb5)](_0x25220b(0xb2),[]),this['on'](_0x25220b(0x98),(_0x34c867,_0x69736a,_0x46f922)=>{const _0x1a9059=_0x25220b;this[_0x1a9059(0xa6)]&&(this[_0x1a9059(0xb2)]=G(this[_0x1a9059(0xb7)],_0x46f922));}),this[_0x25220b(0xb5)](_0x25220b(0x97),!0x1),this['on'](_0x25220b(0xa9),(_0x3a60a3,_0x31f82c,_0xcf1bf9)=>{const _0x3b3ad6=_0x25220b;this[_0x3b3ad6(0xb2)]=_0xcf1bf9?G(this[_0x3b3ad6(0xb7)],this[_0x3b3ad6(0x97)]):[];});}[_0x1baad4(0xa8)](){const _0x23ff70=_0x1baad4,_0x3893ca=this[_0x23ff70(0xba)][_0x23ff70(0x9e)];this[_0x23ff70(0x97)]=function(_0x40264b){const _0x36a654=_0x23ff70,_0x7cae93=_0x40264b[_0x36a654(0xa7)][_0x36a654(0x90)];return _0x7cae93[_0x36a654(0xb6)]?0x0!==[..._0x7cae93[_0x36a654(0xb0)]()][_0x36a654(0xb1)]&&![..._0x7cae93[_0x36a654(0xb0)]()][0x0][_0x36a654(0x93)]:!!_0x40264b[_0x36a654(0x99)](_0x7cae93[_0x36a654(0x96)]());}(_0x3893ca);const _0x365685=_0x3893ca[_0x23ff70(0xa7)][_0x23ff70(0x90)],_0xb3e0c3=this[_0x23ff70(0xba)][_0x23ff70(0xaa)][_0x23ff70(0x9d)](_0x23ff70(0xbb));for(const _0x304ff6 of _0x365685[_0x23ff70(0x9f)]())for(const _0x38b1fa of _0x304ff6[_0x23ff70(0x94)]())if(_0x38b1fa['is'](_0x23ff70(0x95))&&_0xb3e0c3[_0x23ff70(0xa2)](_0x38b1fa[_0x23ff70(0xac)]))return void(this[_0x23ff70(0xa6)]=!0x1);this[_0x23ff70(0xa6)]=!0x0;}[_0x1baad4(0xae)](_0x32ee00='',_0x5961c1='',_0x3ad605=_0x1baad4(0xbc)){const _0x1360bc=_0x1baad4;this[_0x1360bc(0xba)][_0x1360bc(0x92)][_0x1360bc(0x9d)](_0x50053e)[_0x1360bc(0xab)](_0x32ee00,_0x5961c1,_0x3ad605);}}function G(_0x45ee31,_0x54d6e1){const _0x4c27b3=_0x1baad4,_0x4969a7=new Set();for(const _0x56ae26 of _0x45ee31[_0x4c27b3(0x9c)]())(_0x54d6e1||!0x1===_0x56ae26[_0x4c27b3(0xa4)])&&_0x4969a7[_0x4c27b3(0xb8)](_0x56ae26['id']);return Array[_0x4c27b3(0x9b)](_0x4969a7);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xb92e7f,_0x15beed,_0x53b0f4){const t=_0xb92e7f['t'];switch(_0x15beed){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',_0x53b0f4);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x53b0f4);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'},_0x53b0f4);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 _0x15beed;}}
23
+ export function getTranslation(_0x46d606,_0xd1bcfd,_0x2e2341){const t=_0x46d606['t'];switch(_0xd1bcfd){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',_0x2e2341);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2e2341);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'},_0x2e2341);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 _0xd1bcfd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x503efe,_0x1baa94){const _0x5f4123=(0x0,_0x1baa94['t'])('Other');return _0x503efe['length']?'groupId'in _0x503efe[0x0]?_0x503efe:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5f4123,'order':0x1/0x0,'commands':_0x503efe}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5f4123,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x364e89,_0x584ed8){const _0x53b505=(0x0,_0x584ed8['t'])('Other');return _0x364e89['length']?'groupId'in _0x364e89[0x0]?_0x364e89:[{'groupId':'_ungrouppedCommands','groupLabel':_0x53b505,'order':0x1/0x0,'commands':_0x364e89}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x53b505,'order':0x1/0x0,'commands':[]}];}