@ckeditor/ckeditor5-ai 43.1.1 → 43.2.0-alpha.1

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 (136) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/tt.js +1 -0
  3. package/dist/aiassistantediting.d.ts +1 -1
  4. package/dist/index.js +2 -2
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en.umd.js +1 -1
  30. package/dist/translations/es-co.js +1 -1
  31. package/dist/translations/es-co.umd.js +1 -1
  32. package/dist/translations/es.js +1 -1
  33. package/dist/translations/es.umd.js +1 -1
  34. package/dist/translations/et.js +1 -1
  35. package/dist/translations/et.umd.js +1 -1
  36. package/dist/translations/fa.js +1 -1
  37. package/dist/translations/fa.umd.js +1 -1
  38. package/dist/translations/fi.js +1 -1
  39. package/dist/translations/fi.umd.js +1 -1
  40. package/dist/translations/fr.js +1 -1
  41. package/dist/translations/fr.umd.js +1 -1
  42. package/dist/translations/gl.js +1 -1
  43. package/dist/translations/gl.umd.js +1 -1
  44. package/dist/translations/he.js +1 -1
  45. package/dist/translations/he.umd.js +1 -1
  46. package/dist/translations/hi.js +1 -1
  47. package/dist/translations/hi.umd.js +1 -1
  48. package/dist/translations/hr.js +1 -1
  49. package/dist/translations/hr.umd.js +1 -1
  50. package/dist/translations/hu.js +1 -1
  51. package/dist/translations/hu.umd.js +1 -1
  52. package/dist/translations/id.js +1 -1
  53. package/dist/translations/id.umd.js +1 -1
  54. package/dist/translations/it.js +1 -1
  55. package/dist/translations/it.umd.js +1 -1
  56. package/dist/translations/ja.js +1 -1
  57. package/dist/translations/ja.umd.js +1 -1
  58. package/dist/translations/jv.js +1 -1
  59. package/dist/translations/jv.umd.js +1 -1
  60. package/dist/translations/ko.js +1 -1
  61. package/dist/translations/ko.umd.js +1 -1
  62. package/dist/translations/lt.js +1 -1
  63. package/dist/translations/lt.umd.js +1 -1
  64. package/dist/translations/lv.js +1 -1
  65. package/dist/translations/lv.umd.js +1 -1
  66. package/dist/translations/ms.js +1 -1
  67. package/dist/translations/ms.umd.js +1 -1
  68. package/dist/translations/nl.js +1 -1
  69. package/dist/translations/nl.umd.js +1 -1
  70. package/dist/translations/no.js +1 -1
  71. package/dist/translations/no.umd.js +1 -1
  72. package/dist/translations/pl.js +1 -1
  73. package/dist/translations/pl.umd.js +1 -1
  74. package/dist/translations/pt-br.js +1 -1
  75. package/dist/translations/pt-br.umd.js +1 -1
  76. package/dist/translations/pt.js +1 -1
  77. package/dist/translations/pt.umd.js +1 -1
  78. package/dist/translations/ro.js +1 -1
  79. package/dist/translations/ro.umd.js +1 -1
  80. package/dist/translations/ru.js +1 -1
  81. package/dist/translations/ru.umd.js +1 -1
  82. package/dist/translations/sk.js +1 -1
  83. package/dist/translations/sk.umd.js +1 -1
  84. package/dist/translations/sr-latn.js +1 -1
  85. package/dist/translations/sr-latn.umd.js +1 -1
  86. package/dist/translations/sr.js +1 -1
  87. package/dist/translations/sr.umd.js +1 -1
  88. package/dist/translations/sv.js +1 -1
  89. package/dist/translations/sv.umd.js +1 -1
  90. package/dist/translations/th.js +1 -1
  91. package/dist/translations/th.umd.js +1 -1
  92. package/dist/translations/ti.js +1 -1
  93. package/dist/translations/ti.umd.js +1 -1
  94. package/dist/translations/tk.js +1 -1
  95. package/dist/translations/tk.umd.js +1 -1
  96. package/dist/translations/tr.js +1 -1
  97. package/dist/translations/tr.umd.js +1 -1
  98. package/dist/translations/tt.d.ts +8 -0
  99. package/dist/translations/tt.js +23 -0
  100. package/dist/translations/tt.umd.js +23 -0
  101. package/dist/translations/ug.js +1 -1
  102. package/dist/translations/ug.umd.js +1 -1
  103. package/dist/translations/uk.js +1 -1
  104. package/dist/translations/uk.umd.js +1 -1
  105. package/dist/translations/ur.js +1 -1
  106. package/dist/translations/ur.umd.js +1 -1
  107. package/dist/translations/uz.js +1 -1
  108. package/dist/translations/uz.umd.js +1 -1
  109. package/dist/translations/vi.js +1 -1
  110. package/dist/translations/vi.umd.js +1 -1
  111. package/dist/translations/zh-cn.js +1 -1
  112. package/dist/translations/zh-cn.umd.js +1 -1
  113. package/dist/translations/zh.js +1 -1
  114. package/dist/translations/zh.umd.js +1 -1
  115. package/lang/translations/tt.po +230 -0
  116. package/package.json +8 -8
  117. package/src/adapters/aiadapter.js +1 -1
  118. package/src/adapters/aitextadapter.js +1 -1
  119. package/src/adapters/awstextadapter.js +1 -1
  120. package/src/adapters/openaitextadapter.js +1 -1
  121. package/src/aiassistant.js +1 -1
  122. package/src/aiassistantediting.d.ts +1 -1
  123. package/src/aiassistantediting.js +1 -1
  124. package/src/aiassistantui.js +1 -1
  125. package/src/index.js +1 -1
  126. package/src/ui/aiassistantcontroller.js +2 -2
  127. package/src/ui/form/aiformcontentarea.js +1 -1
  128. package/src/ui/form/aiformerrorview.js +1 -1
  129. package/src/ui/form/aiformpromptview.js +1 -1
  130. package/src/ui/form/aiformtoolbarview.js +1 -1
  131. package/src/ui/form/aiformview.js +1 -1
  132. package/src/ui/form/aihistorylistitemview.js +1 -1
  133. package/src/ui/form/aihistorylistview.js +1 -1
  134. package/src/ui/form/prompthistory.js +1 -1
  135. package/src/ui/showaiassistantcommand.js +1 -1
  136. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50ec84=_0x2410;(function(_0x22b7bc,_0xcb029d){const _0x1a08f5=_0x2410,_0x4bbec3=_0x22b7bc();while(!![]){try{const _0x27f2c8=parseInt(_0x1a08f5(0x10f))/0x1*(-parseInt(_0x1a08f5(0x13c))/0x2)+-parseInt(_0x1a08f5(0x126))/0x3+-parseInt(_0x1a08f5(0x13a))/0x4*(parseInt(_0x1a08f5(0x140))/0x5)+parseInt(_0x1a08f5(0x136))/0x6+parseInt(_0x1a08f5(0x124))/0x7*(-parseInt(_0x1a08f5(0x116))/0x8)+-parseInt(_0x1a08f5(0x127))/0x9*(-parseInt(_0x1a08f5(0x119))/0xa)+-parseInt(_0x1a08f5(0x138))/0xb*(-parseInt(_0x1a08f5(0x12b))/0xc);if(_0x27f2c8===_0xcb029d)break;else _0x4bbec3['push'](_0x4bbec3['shift']());}catch(_0x24be35){_0x4bbec3['push'](_0x4bbec3['shift']());}}}(_0x24a4,0xe245e));import{Rect as _0x291c65,global as _0x1a1d1a,isVisible as _0x46806c}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x300002,ButtonView as _0x33c74b}from'ckeditor5/src/ui.js';function _0x24a4(){const _0x2804d9=['388644CrpuWV','54hnTAMm','enter','maxRows','focus','1128sbfPxs','History','locale','_createShowHistoryButton','queryView','focusLast','width','update','fire','excludeScrollbarsAndBorders','resultsView','7228692ZsBJsS','filteredView','95920ALOVpe','isOn','6060488lDUUJc','requestAnimationFrame','2AZAKzj','right','focusableChildren','rtl','5niGDui','isEnabled','submit','target','left','value','ck-ai-form__submit','keystrokes','history','minRows','submitButtonView','window','6631cEaXsg','focusFirst','element','uiLanguageDirection','style','isEmpty','fieldView','3814680veryUS','fieldWrapperChildren','children','1717480ARXlfj','focusCycler','isVisible','showHistoryButtonView','set','ck-ai-form__toggle-history','bind','add','_createSubmitButton','Submit','execute','7zsYalt','render'];_0x24a4=function(){return _0x2804d9;};return _0x24a4();}import{icons as _0x54fd48}from'ckeditor5/src/core.js';function _0x2410(_0x1b3491,_0x45e10d){const _0x24a4a7=_0x24a4();return _0x2410=function(_0x2410eb,_0x25769a){_0x2410eb=_0x2410eb-0x10c;let _0x266080=_0x24a4a7[_0x2410eb];return _0x266080;},_0x2410(_0x1b3491,_0x45e10d);}import{getTranslation as _0x3008a2}from'../../utils/common-translations.js';import _0x47ae03 from'../../../theme/icons/submit.svg';export default class ot extends _0x300002{constructor(_0xb1dc39,_0x2006c4){const _0x202ae1=_0x2410;super(_0xb1dc39,_0x2006c4),this[_0x202ae1(0x12f)][_0x202ae1(0x115)][_0x202ae1(0x10c)]=0x1,this[_0x202ae1(0x12f)][_0x202ae1(0x115)][_0x202ae1(0x129)]=0x3,this[_0x202ae1(0x10d)]=this[_0x202ae1(0x121)](),this[_0x202ae1(0x11c)]=this[_0x202ae1(0x12e)](),this[_0x202ae1(0x13e)][_0x202ae1(0x120)](this[_0x202ae1(0x11c)],0x1),this[_0x202ae1(0x13e)][_0x202ae1(0x120)](this[_0x202ae1(0x10d)]);}[_0x50ec84(0x125)](){const _0x24c8b2=_0x50ec84;super[_0x24c8b2(0x125)](),this[_0x24c8b2(0x12f)][_0x24c8b2(0x117)][_0x24c8b2(0x120)](this[_0x24c8b2(0x11c)]),this[_0x24c8b2(0x118)][_0x24c8b2(0x120)](this[_0x24c8b2(0x10d)]),this[_0x24c8b2(0x147)][_0x24c8b2(0x11d)](_0x24c8b2(0x128),(_0x40e32d,_0x405ed5)=>{const _0x1ce242=_0x24c8b2;_0x40e32d[_0x1ce242(0x143)]==this[_0x1ce242(0x12f)][_0x1ce242(0x115)][_0x1ce242(0x111)]&&(this[_0x1ce242(0x142)](),_0x405ed5());});}[_0x50ec84(0x121)](){const _0x49f9c8=_0x50ec84,_0x2e67c8=new _0x33c74b(this[_0x49f9c8(0x12d)]),_0xdf8620=this[_0x49f9c8(0x12d)];return _0x2e67c8[_0x49f9c8(0x11d)]({'icon':_0x47ae03,'label':_0x3008a2(_0xdf8620,_0x49f9c8(0x122)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x49f9c8(0x146)}),_0x2e67c8['on'](_0x49f9c8(0x123),()=>{const _0x2f81b4=_0x49f9c8;this[_0x2f81b4(0x142)]();}),_0x2e67c8[_0x49f9c8(0x11f)](_0x49f9c8(0x141))['to'](this[_0x49f9c8(0x12f)][_0x49f9c8(0x115)],_0x49f9c8(0x114),this,_0x49f9c8(0x141),(_0x3c9a03,_0x188e64)=>!_0x3c9a03&&_0x188e64),_0x2e67c8;}[_0x50ec84(0x12e)](){const _0x45345e=_0x50ec84,_0x4141e0=new _0x33c74b(this[_0x45345e(0x12d)]),_0x5a7a61=this[_0x45345e(0x135)],_0xed4a0a=this[_0x45345e(0x12d)];_0x4141e0[_0x45345e(0x11d)]({'label':_0x3008a2(_0xed4a0a,_0x45345e(0x12c)),'withText':!0x1,'icon':_0x54fd48[_0x45345e(0x148)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x45345e(0x11e)}),_0x4141e0[_0x45345e(0x11f)](_0x45345e(0x139))['to'](_0x5a7a61,_0x45345e(0x11b)),_0x4141e0[_0x45345e(0x11f)](_0x45345e(0x141))['to'](this,_0x45345e(0x141)),_0x4141e0['on'](_0x45345e(0x123),()=>{const _0x36aadd=_0x45345e;_0x5a7a61[_0x36aadd(0x11b)]=!_0x5a7a61[_0x36aadd(0x11b)],_0x5a7a61[_0x36aadd(0x11b)]?this[_0x36aadd(0x137)][_0x36aadd(0x12a)]():this[_0x36aadd(0x12a)]();});const _0x1e7b3d=()=>{const _0x16cdac=_0x45345e;_0x1a1d1a[_0x16cdac(0x10e)][_0x16cdac(0x13b)](()=>{const _0x653de9=_0x16cdac;if(_0x46806c(this[_0x653de9(0x111)])){const _0x587015=new _0x291c65(this[_0x653de9(0x12f)][_0x653de9(0x115)][_0x653de9(0x111)]),_0x342746=_0x587015[_0x653de9(0x131)],_0x50a93d=_0x653de9(0x13f)===_0xed4a0a[_0x653de9(0x112)]?_0x653de9(0x144):_0x653de9(0x13d);_0x587015[_0x653de9(0x134)](),_0x4141e0[_0x653de9(0x111)][_0x653de9(0x113)][_0x50a93d]=_0x342746-_0x587015[_0x653de9(0x131)]+0x1+'px';}});};return this[_0x45345e(0x12f)][_0x45345e(0x115)]['on'](_0x45345e(0x132),_0x1e7b3d),this['on'](_0x45345e(0x125),_0x1e7b3d),_0x4141e0;}[_0x50ec84(0x142)](){const _0x17a40d=_0x50ec84,_0x35f393=this[_0x17a40d(0x12f)][_0x17a40d(0x115)][_0x17a40d(0x111)][_0x17a40d(0x145)];this[_0x17a40d(0x133)](_0x17a40d(0x142),_0x35f393);}[_0x50ec84(0x12a)](_0xe8dad1){const _0x2c13cf=_0x50ec84;-0x1===_0xe8dad1?this[_0x2c13cf(0x11a)][_0x2c13cf(0x130)]():this[_0x2c13cf(0x11a)][_0x2c13cf(0x110)]();}}
23
+ const _0x599cef=_0x3814;function _0x3814(_0x1a17e2,_0x53d64a){const _0x44df5c=_0x44df();return _0x3814=function(_0x381421,_0x37c571){_0x381421=_0x381421-0x184;let _0x258e8e=_0x44df5c[_0x381421];return _0x258e8e;},_0x3814(_0x1a17e2,_0x53d64a);}(function(_0xf719b3,_0x4e8519){const _0x478dde=_0x3814,_0x65c129=_0xf719b3();while(!![]){try{const _0x19bfd7=-parseInt(_0x478dde(0x18f))/0x1*(-parseInt(_0x478dde(0x189))/0x2)+-parseInt(_0x478dde(0x199))/0x3+-parseInt(_0x478dde(0x1ae))/0x4*(parseInt(_0x478dde(0x1ba))/0x5)+-parseInt(_0x478dde(0x1b8))/0x6*(-parseInt(_0x478dde(0x1b9))/0x7)+parseInt(_0x478dde(0x1a3))/0x8*(-parseInt(_0x478dde(0x1a7))/0x9)+-parseInt(_0x478dde(0x187))/0xa*(-parseInt(_0x478dde(0x19a))/0xb)+-parseInt(_0x478dde(0x192))/0xc*(-parseInt(_0x478dde(0x1a2))/0xd);if(_0x19bfd7===_0x4e8519)break;else _0x65c129['push'](_0x65c129['shift']());}catch(_0x97b60){_0x65c129['push'](_0x65c129['shift']());}}}(_0x44df,0xc1f05));import{Rect as _0x289cd1,global as _0x1d2e3b,isVisible as _0x4520b4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x522dbd,ButtonView as _0x54afbe}from'ckeditor5/src/ui.js';import{icons as _0x3485fd}from'ckeditor5/src/core.js';function _0x44df(){const _0x3b8d5f=['isEnabled','focusFirst','add','keystrokes','left','394636vvhfqo','queryView','fieldView','filteredView','width','target','isEmpty','requestAnimationFrame','submit','isOn','6AGXJgm','5173399CTrjja','35sfRYqe','ck-ai-form__toggle-history','_createSubmitButton','window','focus','set','bind','locale','focusLast','showHistoryButtonView','style','1869890ZxFBsg','execute','997894ENTbOV','minRows','focusableChildren','history','fieldWrapperChildren','_createShowHistoryButton','3fBKnKO','fire','History','12redMoH','maxRows','right','rtl','enter','ck-ai-form__submit','Submit','4003620HXONov','55tHVtMB','isVisible','element','render','excludeScrollbarsAndBorders','submitButtonView','update','resultsView','10461178OVHhuj','840744nVLfcx','value','focusCycler','uiLanguageDirection','99cwAkyt','children'];_0x44df=function(){return _0x3b8d5f;};return _0x44df();}import{getTranslation as _0x243157}from'../../utils/common-translations.js';import _0x5407b9 from'../../../theme/icons/submit.svg';export default class ot extends _0x522dbd{constructor(_0x1ae05b,_0x2a1df2){const _0x288c75=_0x3814;super(_0x1ae05b,_0x2a1df2),this[_0x288c75(0x1af)][_0x288c75(0x1b0)][_0x288c75(0x18a)]=0x1,this[_0x288c75(0x1af)][_0x288c75(0x1b0)][_0x288c75(0x193)]=0x3,this[_0x288c75(0x19f)]=this[_0x288c75(0x1bc)](),this[_0x288c75(0x185)]=this[_0x288c75(0x18e)](),this[_0x288c75(0x18b)][_0x288c75(0x1ab)](this[_0x288c75(0x185)],0x1),this[_0x288c75(0x18b)][_0x288c75(0x1ab)](this[_0x288c75(0x19f)]);}[_0x599cef(0x19d)](){const _0x3328f6=_0x599cef;super[_0x3328f6(0x19d)](),this[_0x3328f6(0x1af)][_0x3328f6(0x18d)][_0x3328f6(0x1ab)](this[_0x3328f6(0x185)]),this[_0x3328f6(0x1a8)][_0x3328f6(0x1ab)](this[_0x3328f6(0x19f)]),this[_0x3328f6(0x1ac)][_0x3328f6(0x1bf)](_0x3328f6(0x196),(_0x509513,_0x56f1e5)=>{const _0x328cbc=_0x3328f6;_0x509513[_0x328cbc(0x1b3)]==this[_0x328cbc(0x1af)][_0x328cbc(0x1b0)][_0x328cbc(0x19c)]&&(this[_0x328cbc(0x1b6)](),_0x56f1e5());});}[_0x599cef(0x1bc)](){const _0x36b16d=_0x599cef,_0x1abf18=new _0x54afbe(this[_0x36b16d(0x1c1)]),_0x59bf04=this[_0x36b16d(0x1c1)];return _0x1abf18[_0x36b16d(0x1bf)]({'icon':_0x5407b9,'label':_0x243157(_0x59bf04,_0x36b16d(0x198)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x36b16d(0x197)}),_0x1abf18['on'](_0x36b16d(0x188),()=>{const _0x5c32fc=_0x36b16d;this[_0x5c32fc(0x1b6)]();}),_0x1abf18[_0x36b16d(0x1c0)](_0x36b16d(0x1a9))['to'](this[_0x36b16d(0x1af)][_0x36b16d(0x1b0)],_0x36b16d(0x1b4),this,_0x36b16d(0x1a9),(_0x4e3aad,_0x5a700c)=>!_0x4e3aad&&_0x5a700c),_0x1abf18;}[_0x599cef(0x18e)](){const _0x57319a=_0x599cef,_0x20da84=new _0x54afbe(this[_0x57319a(0x1c1)]),_0x161c8e=this[_0x57319a(0x1a1)],_0xcfdbcb=this[_0x57319a(0x1c1)];_0x20da84[_0x57319a(0x1bf)]({'label':_0x243157(_0xcfdbcb,_0x57319a(0x191)),'withText':!0x1,'icon':_0x3485fd[_0x57319a(0x18c)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x57319a(0x1bb)}),_0x20da84[_0x57319a(0x1c0)](_0x57319a(0x1b7))['to'](_0x161c8e,_0x57319a(0x19b)),_0x20da84[_0x57319a(0x1c0)](_0x57319a(0x1a9))['to'](this,_0x57319a(0x1a9)),_0x20da84['on'](_0x57319a(0x188),()=>{const _0x21d3c2=_0x57319a;_0x161c8e[_0x21d3c2(0x19b)]=!_0x161c8e[_0x21d3c2(0x19b)],_0x161c8e[_0x21d3c2(0x19b)]?this[_0x21d3c2(0x1b1)][_0x21d3c2(0x1be)]():this[_0x21d3c2(0x1be)]();});const _0x150d16=()=>{const _0x4868b8=_0x57319a;_0x1d2e3b[_0x4868b8(0x1bd)][_0x4868b8(0x1b5)](()=>{const _0x3c38ad=_0x4868b8;if(_0x4520b4(this[_0x3c38ad(0x19c)])){const _0x482df5=new _0x289cd1(this[_0x3c38ad(0x1af)][_0x3c38ad(0x1b0)][_0x3c38ad(0x19c)]),_0x3a94e4=_0x482df5[_0x3c38ad(0x1b2)],_0x429de9=_0x3c38ad(0x195)===_0xcfdbcb[_0x3c38ad(0x1a6)]?_0x3c38ad(0x1ad):_0x3c38ad(0x194);_0x482df5[_0x3c38ad(0x19e)](),_0x20da84[_0x3c38ad(0x19c)][_0x3c38ad(0x186)][_0x429de9]=_0x3a94e4-_0x482df5[_0x3c38ad(0x1b2)]+0x1+'px';}});};return this[_0x57319a(0x1af)][_0x57319a(0x1b0)]['on'](_0x57319a(0x1a0),_0x150d16),this['on'](_0x57319a(0x19d),_0x150d16),_0x20da84;}[_0x599cef(0x1b6)](){const _0x5812c8=_0x599cef,_0x32580b=this[_0x5812c8(0x1af)][_0x5812c8(0x1b0)][_0x5812c8(0x19c)][_0x5812c8(0x1a4)];this[_0x5812c8(0x190)](_0x5812c8(0x1b6),_0x32580b);}[_0x599cef(0x1be)](_0x4cf034){const _0xde9470=_0x599cef;-0x1===_0x4cf034?this[_0xde9470(0x1a5)][_0xde9470(0x184)]():this[_0xde9470(0x1a5)][_0xde9470(0x1aa)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x128fa5=_0x49ba;(function(_0x6728b6,_0x437690){const _0x1fa449=_0x49ba,_0x1cadc1=_0x6728b6();while(!![]){try{const _0x1a008a=-parseInt(_0x1fa449(0x1be))/0x1+parseInt(_0x1fa449(0x1bf))/0x2*(-parseInt(_0x1fa449(0x1a4))/0x3)+-parseInt(_0x1fa449(0x19f))/0x4+-parseInt(_0x1fa449(0x1a9))/0x5+-parseInt(_0x1fa449(0x1b2))/0x6+parseInt(_0x1fa449(0x1b6))/0x7*(-parseInt(_0x1fa449(0x1a5))/0x8)+parseInt(_0x1fa449(0x19e))/0x9;if(_0x1a008a===_0x437690)break;else _0x1cadc1['push'](_0x1cadc1['shift']());}catch(_0x281390){_0x1cadc1['push'](_0x1cadc1['shift']());}}}(_0x5139,0x34313));function _0x49ba(_0x5526e1,_0x422149){const _0x513997=_0x5139();return _0x49ba=function(_0x49ba24,_0x4dec6d){_0x49ba24=_0x49ba24-0x19d;let _0x50dc01=_0x513997[_0x49ba24];return _0x50dc01;},_0x49ba(_0x5526e1,_0x422149);}import{ToolbarView as _0x48b762,ButtonView as _0x345eda}from'ckeditor5/src/ui.js';import{getTranslation as _0x56e8cf}from'../../utils/common-translations.js';function _0x5139(){const _0x64c8f7=['stopButton','_createButton','insertButton','246935ypEWph','11574ytDyEO','_CONTENT','ck-hidden','13012092HYgdXn','1375116QXkeAi','items','label','insert','toUpperCase','12oqntdq','2263520lVaeeJ','extendTemplate','Stop','locale','89855yMNOzK','Try\x20again','replace','replaceButton','set','mainAction','REPLACE','AI_','bindTemplate','1903416XvaDad','bind','tryAgainButton','addMany','7FvENNQ','isVisible','ck-button-action','Insert\x20below','ck-ai-form__toolbar'];_0x5139=function(){return _0x64c8f7;};return _0x5139();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x128fa5(0x1ab),'INSERT':_0x128fa5(0x1a2)};export default class rt extends _0x48b762{constructor(_0x5a25c2){const _0x4e59df=_0x128fa5;super(_0x5a25c2),this[_0x4e59df(0x1ad)](_0x4e59df(0x1b7),!0x1),this[_0x4e59df(0x1ad)](_0x4e59df(0x1ae),AIFormToolbarViewMainActionLabel[_0x4e59df(0x1af)]),this[_0x4e59df(0x1ac)]=this[_0x4e59df(0x1bc)]('',_0x4e59df(0x1b8)),this[_0x4e59df(0x1ac)][_0x4e59df(0x1b3)](_0x4e59df(0x1a1))['to'](this,_0x4e59df(0x1ae),_0x524b23=>_0x56e8cf(_0x5a25c2,_0x4e59df(0x1b0)+_0x524b23[_0x4e59df(0x1a3)]()+_0x4e59df(0x1c0))),this[_0x4e59df(0x1bd)]=this[_0x4e59df(0x1bc)](_0x56e8cf(_0x5a25c2,_0x4e59df(0x1b9))),this[_0x4e59df(0x1b4)]=this[_0x4e59df(0x1bc)](_0x56e8cf(_0x5a25c2,_0x4e59df(0x1aa))),this[_0x4e59df(0x1bb)]=this[_0x4e59df(0x1bc)](_0x56e8cf(_0x5a25c2,_0x4e59df(0x1a7)));const _0x135d88=this[_0x4e59df(0x1b1)];this[_0x4e59df(0x1a6)]({'attributes':{'class':[_0x4e59df(0x1ba),_0x135d88['if'](_0x4e59df(0x1b7),_0x4e59df(0x19d),_0x1a8bfd=>!_0x1a8bfd)]}}),this[_0x4e59df(0x1a0)][_0x4e59df(0x1b5)]([this[_0x4e59df(0x1ac)],this[_0x4e59df(0x1bd)],this[_0x4e59df(0x1b4)],this[_0x4e59df(0x1bb)]]);}[_0x128fa5(0x1bc)](_0xf0e529,_0x34a1f6){const _0x53ab38=_0x128fa5,_0x596b07=new _0x345eda(this[_0x53ab38(0x1a8)]);return _0x596b07[_0x53ab38(0x1ad)]({'label':_0xf0e529,'class':_0x34a1f6||'','isVisible':!0x0,'withText':!0x0}),_0x596b07;}}
23
+ function _0x3d82(){const _0x3c2158=['4376580jvdkJQ','_createButton','bindTemplate','24783hEHjUc','addMany','stopButton','AI_','set','bind','ck-hidden','Try\x20again','949560NAMOpa','ck-button-action','replaceButton','tryAgainButton','ck-ai-form__toolbar','label','insert','replace','Stop','insertButton','276QFpCyu','locale','toUpperCase','REPLACE','extendTemplate','723825UeqIcH','2hnCcli','2639305kZaDKE','items','_CONTENT','8TbVdHF','Insert\x20below','429709eEfXFk','mainAction','5119947GLBijb','isVisible'];_0x3d82=function(){return _0x3c2158;};return _0x3d82();}const _0x5881eb=_0x42e5;(function(_0x1a6c6e,_0x907ba8){const _0x8fb5a7=_0x42e5,_0x30b972=_0x1a6c6e();while(!![]){try{const _0x3e55f8=parseInt(_0x8fb5a7(0xa9))/0x1*(-parseInt(_0x8fb5a7(0xaa))/0x2)+-parseInt(_0x8fb5a7(0x92))/0x3*(-parseInt(_0x8fb5a7(0xa4))/0x4)+parseInt(_0x8fb5a7(0xab))/0x5+parseInt(_0x8fb5a7(0x9a))/0x6+parseInt(_0x8fb5a7(0x8b))/0x7+-parseInt(_0x8fb5a7(0xae))/0x8*(parseInt(_0x8fb5a7(0x8d))/0x9)+parseInt(_0x8fb5a7(0x8f))/0xa;if(_0x3e55f8===_0x907ba8)break;else _0x30b972['push'](_0x30b972['shift']());}catch(_0x4e9469){_0x30b972['push'](_0x30b972['shift']());}}}(_0x3d82,0x70e83));import{ToolbarView as _0x581d95,ButtonView as _0x4ab98e}from'ckeditor5/src/ui.js';function _0x42e5(_0x14b8e1,_0x2f4f48){const _0x3d824d=_0x3d82();return _0x42e5=function(_0x42e51b,_0x33fcfc){_0x42e51b=_0x42e51b-0x8b;let _0x542ebf=_0x3d824d[_0x42e51b];return _0x542ebf;},_0x42e5(_0x14b8e1,_0x2f4f48);}import{getTranslation as _0x21ada3}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5881eb(0xa1),'INSERT':_0x5881eb(0xa0)};export default class rt extends _0x581d95{constructor(_0x55817e){const _0x5c1e2f=_0x5881eb;super(_0x55817e),this[_0x5c1e2f(0x96)](_0x5c1e2f(0x8e),!0x1),this[_0x5c1e2f(0x96)](_0x5c1e2f(0x8c),AIFormToolbarViewMainActionLabel[_0x5c1e2f(0xa7)]),this[_0x5c1e2f(0x9c)]=this[_0x5c1e2f(0x90)]('',_0x5c1e2f(0x9b)),this[_0x5c1e2f(0x9c)][_0x5c1e2f(0x97)](_0x5c1e2f(0x9f))['to'](this,_0x5c1e2f(0x8c),_0x1be34d=>_0x21ada3(_0x55817e,_0x5c1e2f(0x95)+_0x1be34d[_0x5c1e2f(0xa6)]()+_0x5c1e2f(0xad))),this[_0x5c1e2f(0xa3)]=this[_0x5c1e2f(0x90)](_0x21ada3(_0x55817e,_0x5c1e2f(0xaf))),this[_0x5c1e2f(0x9d)]=this[_0x5c1e2f(0x90)](_0x21ada3(_0x55817e,_0x5c1e2f(0x99))),this[_0x5c1e2f(0x94)]=this[_0x5c1e2f(0x90)](_0x21ada3(_0x55817e,_0x5c1e2f(0xa2)));const _0x335a3e=this[_0x5c1e2f(0x91)];this[_0x5c1e2f(0xa8)]({'attributes':{'class':[_0x5c1e2f(0x9e),_0x335a3e['if'](_0x5c1e2f(0x8e),_0x5c1e2f(0x98),_0x2fe75f=>!_0x2fe75f)]}}),this[_0x5c1e2f(0xac)][_0x5c1e2f(0x93)]([this[_0x5c1e2f(0x9c)],this[_0x5c1e2f(0xa3)],this[_0x5c1e2f(0x9d)],this[_0x5c1e2f(0x94)]]);}[_0x5881eb(0x90)](_0x4577c3,_0x5a9e0a){const _0x593ac3=_0x5881eb,_0x4275d4=new _0x4ab98e(this[_0x593ac3(0xa5)]);return _0x4275d4[_0x593ac3(0x96)]({'label':_0x4577c3,'class':_0x5a9e0a||'','isVisible':!0x0,'withText':!0x0}),_0x4275d4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ab96f=_0x450b;(function(_0x5d2ed5,_0x161549){const _0x11c48f=_0x450b,_0x22b296=_0x5d2ed5();while(!![]){try{const _0x5af74c=parseInt(_0x11c48f(0x195))/0x1*(-parseInt(_0x11c48f(0x198))/0x2)+-parseInt(_0x11c48f(0x1bd))/0x3*(parseInt(_0x11c48f(0x1bc))/0x4)+-parseInt(_0x11c48f(0x17a))/0x5*(parseInt(_0x11c48f(0x1a0))/0x6)+parseInt(_0x11c48f(0x1ab))/0x7+-parseInt(_0x11c48f(0x18a))/0x8+parseInt(_0x11c48f(0x1c1))/0x9*(parseInt(_0x11c48f(0x19c))/0xa)+parseInt(_0x11c48f(0x19d))/0xb*(parseInt(_0x11c48f(0x177))/0xc);if(_0x5af74c===_0x161549)break;else _0x22b296['push'](_0x22b296['shift']());}catch(_0x569da3){_0x22b296['push'](_0x22b296['shift']());}}}(_0x33a2,0x1c59b));import{FocusTracker as _0x31b132,KeystrokeHandler as _0x92e008}from'ckeditor5/src/utils.js';import{View as _0x1759b3,FocusCycler as _0x205351,createLabeledTextarea as _0x14d5b9}from'ckeditor5/src/ui.js';import _0x42c159,{AIFormToolbarViewMainActionLabel as _0x16265a}from'./aiformtoolbarview.js';import _0x3cb709 from'./aiformcontentarea.js';import _0x23dd03 from'./aiformerrorview.js';import _0xb0f644 from'./aiformpromptview.js';function _0x33a2(){const _0x514913=['stopButton','reset','ck-ai-form','_promptHistory','focus','delegate','insertContentBelow','add','mainAction','tab','28YeQtoh','57543PbFbZG','ck-ai-form-content','label','fire','135IipanD','trim','execute','div','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusCycler','element','chain','setTemplate','_focusables','REPLACE','Ask\x20AI\x20to\x20edit\x20or\x20generate','copyButtonView','12jReyTT','_createHistoryView','prompt','117035EHnXYM','stopProcessing','items','fieldView','replaceContent','finishProcessing','clearHistory','toolbar','contentArea','errorView','tryAgainButton','locale','AI_ERROR_FAILED','tryAgainEvent','ck-hidden','createCollection','649664cGZaZf','listenTo','queryView','render','submitPrompt','clear','focusTracker','Ask\x20AI\x20to\x20improve\x20generated\x20text','shift\x20+\x20tab','value','isProcessing','44809jLWyfD','handleError','submit','4BkBpHF','isEnabled','promptView','startProcessing','126410DTisWb','1398914YQTVnV','focusFirst','bind','18ytJzSa','text','historyGroupView','focusLast','keystrokes','bindTemplate','_createToolbar','insertButton','isVisible','set','isError','1222536qvCnDS','search','high','bindTo','replaceButton','Empty\x20history','_createPromptView'];_0x33a2=function(){return _0x514913;};return _0x33a2();}import _0x4ee47a from'./aihistorylistview.js';function _0x450b(_0x311847,_0x25e652){const _0x33a29f=_0x33a2();return _0x450b=function(_0x450b5c,_0xc4c8ce){_0x450b5c=_0x450b5c-0x173;let _0x1b9380=_0x33a29f[_0x450b5c];return _0x1b9380;},_0x450b(_0x311847,_0x25e652);}import _0x1c386d from'./aihistorylistitemview.js';import _0x2566cb from'./prompthistory.js';import{getTranslation as _0x5c2743}from'../../utils/common-translations.js';import{escape as _0x899358}from'lodash-es';export default class v extends _0x1759b3{constructor(_0x4741a0,_0x4e2da7,_0xae9380=''){const _0x459b6b=_0x450b;super(_0x4741a0),this[_0x459b6b(0x1a9)](_0x459b6b(0x199),!0x0),this[_0x459b6b(0x1a9)](_0x459b6b(0x194),!0x1),this[_0x459b6b(0x1a9)](_0x459b6b(0x179),''),this[_0x459b6b(0x1a9)](_0x459b6b(0x193),''),this[_0x459b6b(0x1a9)](_0x459b6b(0x1aa),!0x1),this[_0x459b6b(0x1a9)](_0x459b6b(0x1ba),_0x16265a[_0x459b6b(0x174)]),this[_0x459b6b(0x1b5)]=new _0x2566cb(),this[_0x459b6b(0x183)]=new _0x23dd03(_0x4741a0),this[_0x459b6b(0x182)]=new _0x3cb709(_0x4741a0,_0xae9380),this[_0x459b6b(0x182)][_0x459b6b(0x19f)](_0x459b6b(0x194))['to'](this),this[_0x459b6b(0x182)][_0x459b6b(0x19f)](_0x459b6b(0x193))['to'](this),this[_0x459b6b(0x181)]=this[_0x459b6b(0x1a6)](),this[_0x459b6b(0x181)][_0x459b6b(0x19f)](_0x459b6b(0x1ba))['to'](this),this[_0x459b6b(0x19a)]=this[_0x459b6b(0x1b1)](),this[_0x459b6b(0x190)]=new _0x31b132(),this[_0x459b6b(0x1a4)]=new _0x92e008(),this[_0x459b6b(0x173)]=this[_0x459b6b(0x189)]([this[_0x459b6b(0x182)],this[_0x459b6b(0x182)][_0x459b6b(0x176)],this[_0x459b6b(0x181)],this[_0x459b6b(0x19a)]]),this[_0x459b6b(0x1c6)]=new _0x205351({'focusables':this[_0x459b6b(0x173)],'focusTracker':this[_0x459b6b(0x190)],'keystrokeHandler':this[_0x459b6b(0x1a4)],'actions':{'focusPrevious':_0x459b6b(0x192),'focusNext':_0x459b6b(0x1bb)}}),this[_0x459b6b(0x1c6)][_0x459b6b(0x1c8)](this[_0x459b6b(0x19a)][_0x459b6b(0x1c6)]),this[_0x459b6b(0x19a)][_0x459b6b(0x18c)][_0x459b6b(0x17d)][_0x459b6b(0x19f)](_0x459b6b(0x193))['to'](this,_0x459b6b(0x179));const _0x36db96=this[_0x459b6b(0x1a5)];this[_0x459b6b(0x1c9)]({'tag':_0x459b6b(0x1c4),'attributes':{'class':['ck',_0x459b6b(0x1b4),_0x4e2da7],'tabindex':'-1'},'children':[{'tag':_0x459b6b(0x1c4),'attributes':{'class':['ck',_0x459b6b(0x1be)]},'children':[{'tag':_0x459b6b(0x1c4),'attributes':{'class':[_0x36db96['if'](_0x459b6b(0x1aa),_0x459b6b(0x188),_0x4fdaa6=>!_0x4fdaa6)]},'children':[this[_0x459b6b(0x183)]]},this[_0x459b6b(0x182)],this[_0x459b6b(0x181)],this[_0x459b6b(0x19a)]]}]});}[_0x1ab96f(0x18d)](){const _0xd1424d=_0x1ab96f;super[_0xd1424d(0x18d)](),this[_0xd1424d(0x190)][_0xd1424d(0x1b9)](this[_0xd1424d(0x182)][_0xd1424d(0x1c7)]),this[_0xd1424d(0x190)][_0xd1424d(0x1b9)](this[_0xd1424d(0x182)][_0xd1424d(0x176)][_0xd1424d(0x1c7)]),this[_0xd1424d(0x190)][_0xd1424d(0x1b9)](this[_0xd1424d(0x181)][_0xd1424d(0x1c7)]),this[_0xd1424d(0x190)][_0xd1424d(0x1b9)](this[_0xd1424d(0x19a)][_0xd1424d(0x1c7)]),this[_0xd1424d(0x1a4)][_0xd1424d(0x18b)](this[_0xd1424d(0x1c7)]);}[_0x1ab96f(0x1b6)](_0x452b63=0x1){const _0x50b235=_0x1ab96f;-0x1===_0x452b63?this[_0x50b235(0x1c6)][_0x50b235(0x1a3)]():this[_0x50b235(0x1c6)][_0x50b235(0x19e)]();}[_0x1ab96f(0x1b3)](){const _0x16e01c=_0x1ab96f;this[_0x16e01c(0x179)]='',this[_0x16e01c(0x193)]='',this[_0x16e01c(0x1aa)]=!0x1,this[_0x16e01c(0x19a)][_0x16e01c(0x1b3)](),this[_0x16e01c(0x182)][_0x16e01c(0x1a8)]=!0x1,this[_0x16e01c(0x181)][_0x16e01c(0x1a8)]=!0x1;}[_0x1ab96f(0x1b1)](){const _0x223b0c=_0x1ab96f,_0x3e29e8=this[_0x223b0c(0x185)],_0x409f2c=new _0xb0f644(_0x3e29e8,{'queryView':{'label':_0x5c2743(_0x3e29e8,_0x223b0c(0x175)),'creator':_0x14d5b9,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5c2743(_0x3e29e8,_0x223b0c(0x1b0)),'secondary':_0x5c2743(_0x3e29e8,_0x223b0c(0x1c5))}}},'filteredView':this[_0x223b0c(0x178)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x409f2c[_0x223b0c(0x19f)](_0x223b0c(0x199))['to'](this,_0x223b0c(0x199),this,_0x223b0c(0x194),(_0x585485,_0x34c08a)=>_0x585485&&!_0x34c08a),this[_0x223b0c(0x18b)](_0x409f2c,_0x223b0c(0x197),(_0x594c80,_0x118542)=>{const _0x4b9b7f=_0x223b0c;this[_0x4b9b7f(0x179)]=_0x118542;const _0x4d85d7=_0x899358(_0x118542);this[_0x4b9b7f(0x1c0)](_0x4b9b7f(0x18e),_0x4d85d7),_0x118542[_0x4b9b7f(0x1c2)]()&&this[_0x4b9b7f(0x1b5)][_0x4b9b7f(0x1b9)]({'prompt':_0x4d85d7},0x0);},{'priority':_0x223b0c(0x1ad)}),_0x409f2c;}[_0x1ab96f(0x178)](){const _0x19711a=_0x1ab96f,_0x3387c3=new _0x4ee47a(this[_0x19711a(0x185)]);return _0x3387c3[_0x19711a(0x1a2)][_0x19711a(0x17c)][_0x19711a(0x1ae)](this[_0x19711a(0x1b5)])['as'](_0x1c386d),_0x3387c3['on'](_0x19711a(0x180),()=>{const _0x242eaf=_0x19711a;this[_0x242eaf(0x1b5)][_0x242eaf(0x18f)](),this[_0x242eaf(0x19a)][_0x242eaf(0x1ac)](''),this[_0x242eaf(0x19a)][_0x242eaf(0x1b6)]();}),_0x3387c3;}[_0x1ab96f(0x1a6)](){const _0x4b3e56=_0x1ab96f,_0x5c21c4=new _0x42c159(this[_0x4b3e56(0x185)]);return _0x5c21c4[_0x4b3e56(0x1af)][_0x4b3e56(0x19f)](_0x4b3e56(0x199))['to'](this,_0x4b3e56(0x199),this,_0x4b3e56(0x194),this,_0x4b3e56(0x193),(_0x2928d4,_0x34b593,_0xa3ecb2)=>_0x2928d4&&!_0x34b593&&!!_0xa3ecb2),_0x5c21c4[_0x4b3e56(0x1af)][_0x4b3e56(0x1b7)](_0x4b3e56(0x1c3))['to'](this,_0x4b3e56(0x17e)),_0x5c21c4[_0x4b3e56(0x1a7)][_0x4b3e56(0x19f)](_0x4b3e56(0x199))['to'](this,_0x4b3e56(0x199),this,_0x4b3e56(0x194),this,_0x4b3e56(0x193),(_0x4494e0,_0x23e874,_0x3d5f22)=>_0x4494e0&&!_0x23e874&&!!_0x3d5f22),_0x5c21c4[_0x4b3e56(0x1a7)][_0x4b3e56(0x1b7)](_0x4b3e56(0x1c3))['to'](this,_0x4b3e56(0x1b8)),_0x5c21c4[_0x4b3e56(0x184)][_0x4b3e56(0x19f)](_0x4b3e56(0x199))['to'](this,_0x4b3e56(0x199),this,_0x4b3e56(0x194),(_0x499a5f,_0x529001)=>_0x499a5f&&!_0x529001),_0x5c21c4[_0x4b3e56(0x184)][_0x4b3e56(0x1b7)](_0x4b3e56(0x1c3))['to'](this,_0x4b3e56(0x187)),_0x5c21c4[_0x4b3e56(0x1b2)][_0x4b3e56(0x19f)](_0x4b3e56(0x199))['to'](this,_0x4b3e56(0x194)),_0x5c21c4[_0x4b3e56(0x1b2)][_0x4b3e56(0x1b7)](_0x4b3e56(0x1c3))['to'](this,_0x4b3e56(0x17b)),_0x5c21c4;}[_0x1ab96f(0x19b)](){const _0x207b78=_0x1ab96f;this[_0x207b78(0x193)]='',this[_0x207b78(0x1aa)]=!0x1,this[_0x207b78(0x194)]=!0x0,this[_0x207b78(0x182)][_0x207b78(0x1a8)]=!0x0,this[_0x207b78(0x181)][_0x207b78(0x1a8)]=!0x0,this[_0x207b78(0x182)][_0x207b78(0x1b6)]();}[_0x1ab96f(0x17f)](){const _0x1b6219=_0x1ab96f,_0x4a5098=this[_0x1b6219(0x185)];this[_0x1b6219(0x194)]=!0x1,this[_0x1b6219(0x179)]='',this[_0x1b6219(0x19a)][_0x1b6219(0x1b3)](),this[_0x1b6219(0x193)]&&(this[_0x1b6219(0x19a)][_0x1b6219(0x18c)][_0x1b6219(0x1bf)]=_0x5c2743(_0x4a5098,_0x1b6219(0x191)));}[_0x1ab96f(0x196)](_0x86481b){const _0x43afcb=_0x1ab96f,_0x32fbd9=this[_0x43afcb(0x185)];this[_0x43afcb(0x17f)](),this[_0x43afcb(0x1aa)]=!0x0,this[_0x43afcb(0x183)][_0x43afcb(0x1a1)]=_0x86481b||_0x5c2743(_0x32fbd9,_0x43afcb(0x186)),this[_0x43afcb(0x193)]||(this[_0x43afcb(0x182)][_0x43afcb(0x1a8)]=!0x1);}}
23
+ function _0x9ef6(){const _0x204bbd=['prompt','tryAgainEvent','items','clearHistory','isProcessing','tab','701WORVpt','isEnabled','983792AJxSfn','element','createCollection','AI_ERROR_FAILED','_createToolbar','insertContentBelow','startProcessing','contentArea','label','copyButtonView','ck-hidden','_createPromptView','value','_promptHistory','895MoDtFG','Ask\x20AI\x20to\x20edit\x20or\x20generate','3062WTPWgh','198390OGnxno','replaceButton','fieldView','insertButton','bindTemplate','focusLast','toolbar','892jgAqYg','ck-ai-form-content','bind','chain','errorView','shift\x20+\x20tab','submit','text','focus','tryAgainButton','locale','18jFZRqV','fire','stopButton','ck-ai-form','search','queryView','execute','listenTo','8453061yJBcLd','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','setTemplate','promptView','Empty\x20history','focusTracker','756287GhjklW','reset','REPLACE','isError','_focusables','set','focusCycler','high','918860SeIBqR','render','replaceContent','finishProcessing','_createHistoryView','focusFirst','isVisible','keystrokes','bindTo','handleError','delegate','Ask\x20AI\x20to\x20improve\x20generated\x20text','div','historyGroupView','stopProcessing','mainAction','clear','add','trim','submitPrompt'];_0x9ef6=function(){return _0x204bbd;};return _0x9ef6();}const _0x7aeb99=_0x4c9c;(function(_0x2cf1c1,_0xe6ba6d){const _0x4d281f=_0x4c9c,_0x448367=_0x2cf1c1();while(!![]){try{const _0xb34d91=-parseInt(_0x4d281f(0x222))/0x1*(-parseInt(_0x4d281f(0x234))/0x2)+-parseInt(_0x4d281f(0x235))/0x3+parseInt(_0x4d281f(0x1e7))/0x4*(-parseInt(_0x4d281f(0x232))/0x5)+-parseInt(_0x4d281f(0x1f2))/0x6*(-parseInt(_0x4d281f(0x200))/0x7)+parseInt(_0x4d281f(0x224))/0x8+-parseInt(_0x4d281f(0x1fa))/0x9+parseInt(_0x4d281f(0x208))/0xa;if(_0xb34d91===_0xe6ba6d)break;else _0x448367['push'](_0x448367['shift']());}catch(_0xcec6b){_0x448367['push'](_0x448367['shift']());}}}(_0x9ef6,0x8a69a));function _0x4c9c(_0x428a46,_0x2d2f33){const _0x9ef67b=_0x9ef6();return _0x4c9c=function(_0x4c9c3f,_0x3030fa){_0x4c9c3f=_0x4c9c3f-0x1e1;let _0x334dc6=_0x9ef67b[_0x4c9c3f];return _0x334dc6;},_0x4c9c(_0x428a46,_0x2d2f33);}import{FocusTracker as _0x451478,KeystrokeHandler as _0x19641e}from'ckeditor5/src/utils.js';import{View as _0x452fb3,FocusCycler as _0x68d794,createLabeledTextarea as _0xd23597}from'ckeditor5/src/ui.js';import _0x4e2a19,{AIFormToolbarViewMainActionLabel as _0x5d0894}from'./aiformtoolbarview.js';import _0x32c64c from'./aiformcontentarea.js';import _0x18ed5e from'./aiformerrorview.js';import _0x3e94cc from'./aiformpromptview.js';import _0x928d18 from'./aihistorylistview.js';import _0x2800f9 from'./aihistorylistitemview.js';import _0x5bf6f7 from'./prompthistory.js';import{getTranslation as _0x191e06}from'../../utils/common-translations.js';import{escape as _0x53a2b6}from'lodash-es';export default class v extends _0x452fb3{constructor(_0x4a37bd,_0x205694,_0x3ba5c3=''){const _0x5c4fd8=_0x4c9c;super(_0x4a37bd),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x223),!0x0),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x220),!0x1),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x21c),''),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x230),''),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x203),!0x1),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x217),_0x5d0894[_0x5c4fd8(0x202)]),this[_0x5c4fd8(0x231)]=new _0x5bf6f7(),this[_0x5c4fd8(0x1eb)]=new _0x18ed5e(_0x4a37bd),this[_0x5c4fd8(0x22b)]=new _0x32c64c(_0x4a37bd,_0x3ba5c3),this[_0x5c4fd8(0x22b)][_0x5c4fd8(0x1e9)](_0x5c4fd8(0x220))['to'](this),this[_0x5c4fd8(0x22b)][_0x5c4fd8(0x1e9)](_0x5c4fd8(0x230))['to'](this),this[_0x5c4fd8(0x1e6)]=this[_0x5c4fd8(0x228)](),this[_0x5c4fd8(0x1e6)][_0x5c4fd8(0x1e9)](_0x5c4fd8(0x217))['to'](this),this[_0x5c4fd8(0x1fd)]=this[_0x5c4fd8(0x22f)](),this[_0x5c4fd8(0x1ff)]=new _0x451478(),this[_0x5c4fd8(0x20f)]=new _0x19641e(),this[_0x5c4fd8(0x204)]=this[_0x5c4fd8(0x226)]([this[_0x5c4fd8(0x22b)],this[_0x5c4fd8(0x22b)][_0x5c4fd8(0x22d)],this[_0x5c4fd8(0x1e6)],this[_0x5c4fd8(0x1fd)]]),this[_0x5c4fd8(0x206)]=new _0x68d794({'focusables':this[_0x5c4fd8(0x204)],'focusTracker':this[_0x5c4fd8(0x1ff)],'keystrokeHandler':this[_0x5c4fd8(0x20f)],'actions':{'focusPrevious':_0x5c4fd8(0x1ec),'focusNext':_0x5c4fd8(0x221)}}),this[_0x5c4fd8(0x206)][_0x5c4fd8(0x1ea)](this[_0x5c4fd8(0x1fd)][_0x5c4fd8(0x206)]),this[_0x5c4fd8(0x1fd)][_0x5c4fd8(0x1f7)][_0x5c4fd8(0x1e2)][_0x5c4fd8(0x1e9)](_0x5c4fd8(0x230))['to'](this,_0x5c4fd8(0x21c));const _0x27b399=this[_0x5c4fd8(0x1e4)];this[_0x5c4fd8(0x1fc)]({'tag':_0x5c4fd8(0x214),'attributes':{'class':['ck',_0x5c4fd8(0x1f5),_0x205694],'tabindex':'-1'},'children':[{'tag':_0x5c4fd8(0x214),'attributes':{'class':['ck',_0x5c4fd8(0x1e8)]},'children':[{'tag':_0x5c4fd8(0x214),'attributes':{'class':[_0x27b399['if'](_0x5c4fd8(0x203),_0x5c4fd8(0x22e),_0x5be30e=>!_0x5be30e)]},'children':[this[_0x5c4fd8(0x1eb)]]},this[_0x5c4fd8(0x22b)],this[_0x5c4fd8(0x1e6)],this[_0x5c4fd8(0x1fd)]]}]});}[_0x7aeb99(0x209)](){const _0x487ecd=_0x7aeb99;super[_0x487ecd(0x209)](),this[_0x487ecd(0x1ff)][_0x487ecd(0x219)](this[_0x487ecd(0x22b)][_0x487ecd(0x225)]),this[_0x487ecd(0x1ff)][_0x487ecd(0x219)](this[_0x487ecd(0x22b)][_0x487ecd(0x22d)][_0x487ecd(0x225)]),this[_0x487ecd(0x1ff)][_0x487ecd(0x219)](this[_0x487ecd(0x1e6)][_0x487ecd(0x225)]),this[_0x487ecd(0x1ff)][_0x487ecd(0x219)](this[_0x487ecd(0x1fd)][_0x487ecd(0x225)]),this[_0x487ecd(0x20f)][_0x487ecd(0x1f9)](this[_0x487ecd(0x225)]);}[_0x7aeb99(0x1ef)](_0x1d6d67=0x1){const _0x1de0d9=_0x7aeb99;-0x1===_0x1d6d67?this[_0x1de0d9(0x206)][_0x1de0d9(0x1e5)]():this[_0x1de0d9(0x206)][_0x1de0d9(0x20d)]();}[_0x7aeb99(0x201)](){const _0x52f063=_0x7aeb99;this[_0x52f063(0x21c)]='',this[_0x52f063(0x230)]='',this[_0x52f063(0x203)]=!0x1,this[_0x52f063(0x1fd)][_0x52f063(0x201)](),this[_0x52f063(0x22b)][_0x52f063(0x20e)]=!0x1,this[_0x52f063(0x1e6)][_0x52f063(0x20e)]=!0x1;}[_0x7aeb99(0x22f)](){const _0x15732a=_0x7aeb99,_0x5c7fee=this[_0x15732a(0x1f1)],_0x1d33db=new _0x3e94cc(_0x5c7fee,{'queryView':{'label':_0x191e06(_0x5c7fee,_0x15732a(0x233)),'creator':_0xd23597,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x191e06(_0x5c7fee,_0x15732a(0x1fe)),'secondary':_0x191e06(_0x5c7fee,_0x15732a(0x1fb))}}},'filteredView':this[_0x15732a(0x20c)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1d33db[_0x15732a(0x1e9)](_0x15732a(0x223))['to'](this,_0x15732a(0x223),this,_0x15732a(0x220),(_0x535ede,_0x23b7cc)=>_0x535ede&&!_0x23b7cc),this[_0x15732a(0x1f9)](_0x1d33db,_0x15732a(0x1ed),(_0x1005e3,_0x2917fb)=>{const _0x3812da=_0x15732a;this[_0x3812da(0x21c)]=_0x2917fb;const _0x3b8e5c=_0x53a2b6(_0x2917fb);this[_0x3812da(0x1f3)](_0x3812da(0x21b),_0x3b8e5c),_0x2917fb[_0x3812da(0x21a)]()&&this[_0x3812da(0x231)][_0x3812da(0x219)]({'prompt':_0x3b8e5c},0x0);},{'priority':_0x15732a(0x207)}),_0x1d33db;}[_0x7aeb99(0x20c)](){const _0x50f7c1=_0x7aeb99,_0x356b02=new _0x928d18(this[_0x50f7c1(0x1f1)]);return _0x356b02[_0x50f7c1(0x215)][_0x50f7c1(0x21e)][_0x50f7c1(0x210)](this[_0x50f7c1(0x231)])['as'](_0x2800f9),_0x356b02['on'](_0x50f7c1(0x21f),()=>{const _0x9b7233=_0x50f7c1;this[_0x9b7233(0x231)][_0x9b7233(0x218)](),this[_0x9b7233(0x1fd)][_0x9b7233(0x1f6)](''),this[_0x9b7233(0x1fd)][_0x9b7233(0x1ef)]();}),_0x356b02;}[_0x7aeb99(0x228)](){const _0x4f45df=_0x7aeb99,_0x47056d=new _0x4e2a19(this[_0x4f45df(0x1f1)]);return _0x47056d[_0x4f45df(0x1e1)][_0x4f45df(0x1e9)](_0x4f45df(0x223))['to'](this,_0x4f45df(0x223),this,_0x4f45df(0x220),this,_0x4f45df(0x230),(_0x5565f6,_0x566ad2,_0x5bd8a2)=>_0x5565f6&&!_0x566ad2&&!!_0x5bd8a2),_0x47056d[_0x4f45df(0x1e1)][_0x4f45df(0x212)](_0x4f45df(0x1f8))['to'](this,_0x4f45df(0x20a)),_0x47056d[_0x4f45df(0x1e3)][_0x4f45df(0x1e9)](_0x4f45df(0x223))['to'](this,_0x4f45df(0x223),this,_0x4f45df(0x220),this,_0x4f45df(0x230),(_0xcf6c39,_0x36905c,_0x82656d)=>_0xcf6c39&&!_0x36905c&&!!_0x82656d),_0x47056d[_0x4f45df(0x1e3)][_0x4f45df(0x212)](_0x4f45df(0x1f8))['to'](this,_0x4f45df(0x229)),_0x47056d[_0x4f45df(0x1f0)][_0x4f45df(0x1e9)](_0x4f45df(0x223))['to'](this,_0x4f45df(0x223),this,_0x4f45df(0x220),(_0x340b96,_0xb59e16)=>_0x340b96&&!_0xb59e16),_0x47056d[_0x4f45df(0x1f0)][_0x4f45df(0x212)](_0x4f45df(0x1f8))['to'](this,_0x4f45df(0x21d)),_0x47056d[_0x4f45df(0x1f4)][_0x4f45df(0x1e9)](_0x4f45df(0x223))['to'](this,_0x4f45df(0x220)),_0x47056d[_0x4f45df(0x1f4)][_0x4f45df(0x212)](_0x4f45df(0x1f8))['to'](this,_0x4f45df(0x216)),_0x47056d;}[_0x7aeb99(0x22a)](){const _0x3616ae=_0x7aeb99;this[_0x3616ae(0x230)]='',this[_0x3616ae(0x203)]=!0x1,this[_0x3616ae(0x220)]=!0x0,this[_0x3616ae(0x22b)][_0x3616ae(0x20e)]=!0x0,this[_0x3616ae(0x1e6)][_0x3616ae(0x20e)]=!0x0,this[_0x3616ae(0x22b)][_0x3616ae(0x1ef)]();}[_0x7aeb99(0x20b)](){const _0x145b82=_0x7aeb99,_0x38e81e=this[_0x145b82(0x1f1)];this[_0x145b82(0x220)]=!0x1,this[_0x145b82(0x21c)]='',this[_0x145b82(0x1fd)][_0x145b82(0x201)](),this[_0x145b82(0x230)]&&(this[_0x145b82(0x1fd)][_0x145b82(0x1f7)][_0x145b82(0x22c)]=_0x191e06(_0x38e81e,_0x145b82(0x213)));}[_0x7aeb99(0x211)](_0x570c2a){const _0x186f4d=_0x7aeb99,_0x3eb41c=this[_0x186f4d(0x1f1)];this[_0x186f4d(0x20b)](),this[_0x186f4d(0x203)]=!0x0,this[_0x186f4d(0x1eb)][_0x186f4d(0x1ee)]=_0x570c2a||_0x191e06(_0x3eb41c,_0x186f4d(0x227)),this[_0x186f4d(0x230)]||(this[_0x186f4d(0x22b)][_0x186f4d(0x20e)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x48cbd3,_0x3b0bfb){const _0x8272f2=_0x6744,_0x50da8a=_0x48cbd3();while(!![]){try{const _0x579e6f=-parseInt(_0x8272f2(0x196))/0x1*(-parseInt(_0x8272f2(0x198))/0x2)+parseInt(_0x8272f2(0x19b))/0x3+-parseInt(_0x8272f2(0x18e))/0x4*(parseInt(_0x8272f2(0x195))/0x5)+-parseInt(_0x8272f2(0x18c))/0x6+parseInt(_0x8272f2(0x18d))/0x7*(-parseInt(_0x8272f2(0x18f))/0x8)+-parseInt(_0x8272f2(0x18b))/0x9+parseInt(_0x8272f2(0x194))/0xa*(parseInt(_0x8272f2(0x191))/0xb);if(_0x579e6f===_0x3b0bfb)break;else _0x50da8a['push'](_0x50da8a['shift']());}catch(_0x169846){_0x50da8a['push'](_0x50da8a['shift']());}}}(_0x5afd,0xc842a));import{ListItemView as _0x480066,ButtonView as _0x4aa9ba,ButtonLabelView as _0x10b045}from'ckeditor5/src/ui.js';function _0x6744(_0x4f8bd7,_0x1ab460){const _0x5afd35=_0x5afd();return _0x6744=function(_0x67449d,_0x5152e3){_0x67449d=_0x67449d-0x18b;let _0x2389a7=_0x5afd35[_0x67449d];return _0x2389a7;},_0x6744(_0x4f8bd7,_0x1ab460);}import{unescape as _0x59985c}from'lodash-es';function _0x5afd(){const _0x4b1e82=['execute','250398omOlft','locale','prompt','3252966rHdEBd','set','13787190gqapmS','4078410iuekzy','7zpTEan','351788SaBYuk','7849704dXTQWp','add','44THeaZM','children','fire','7616780oOaQWr','85awxEIZ','11hlhwid'];_0x5afd=function(){return _0x4b1e82;};return _0x5afd();}export default class hs extends _0x480066{constructor(_0x2994af){const _0x265ae2=_0x6744;super();const _0x577fa2=new _0x10b045(),_0x4f952a=new _0x4aa9ba(this[_0x265ae2(0x199)],_0x577fa2);this[_0x265ae2(0x192)][_0x265ae2(0x190)](_0x4f952a),_0x4f952a[_0x265ae2(0x19c)]({'label':_0x2994af[_0x265ae2(0x19a)],'withText':!0x0}),_0x4f952a['on'](_0x265ae2(0x197),()=>{const _0x4505e3=_0x265ae2;this[_0x4505e3(0x193)](_0x4505e3(0x197),{'value':_0x59985c(_0x2994af[_0x4505e3(0x19a)])});});}}
23
+ function _0xe1e4(){const _0x1fffc2=['fire','locale','execute','2259kliQkD','306040SjSjab','74815mFBhwp','children','1063848VMaOOZ','148545awMUwD','534115wHcOCJ','prompt','set','1154CgSqbg','8TQiDBl','add','1031310WXDaFj'];_0xe1e4=function(){return _0x1fffc2;};return _0xe1e4();}(function(_0x6a9213,_0x41a4c3){const _0x46765a=_0x5c70,_0x5f17ea=_0x6a9213();while(!![]){try{const _0x5a612f=parseInt(_0x46765a(0x1a4))/0x1+parseInt(_0x46765a(0x19b))/0x2*(-parseInt(_0x46765a(0x1a2))/0x3)+parseInt(_0x46765a(0x1a6))/0x4+parseInt(_0x46765a(0x198))/0x5+parseInt(_0x46765a(0x19e))/0x6+parseInt(_0x46765a(0x1a3))/0x7*(parseInt(_0x46765a(0x19c))/0x8)+parseInt(_0x46765a(0x1a7))/0x9;if(_0x5a612f===_0x41a4c3)break;else _0x5f17ea['push'](_0x5f17ea['shift']());}catch(_0x221e4c){_0x5f17ea['push'](_0x5f17ea['shift']());}}}(_0xe1e4,0x3bded));function _0x5c70(_0xaff53e,_0xe478e1){const _0xe1e4b9=_0xe1e4();return _0x5c70=function(_0x5c70c3,_0x2929ef){_0x5c70c3=_0x5c70c3-0x198;let _0x4089e2=_0xe1e4b9[_0x5c70c3];return _0x4089e2;},_0x5c70(_0xaff53e,_0xe478e1);}import{ListItemView as _0x27daff,ButtonView as _0x177a6d,ButtonLabelView as _0x5dedef}from'ckeditor5/src/ui.js';import{unescape as _0x76a303}from'lodash-es';export default class hs extends _0x27daff{constructor(_0x1f60e1){const _0x19005f=_0x5c70;super();const _0x3262d9=new _0x5dedef(),_0x429b20=new _0x177a6d(this[_0x19005f(0x1a0)],_0x3262d9);this[_0x19005f(0x1a5)][_0x19005f(0x19d)](_0x429b20),_0x429b20[_0x19005f(0x19a)]({'label':_0x1f60e1[_0x19005f(0x199)],'withText':!0x0}),_0x429b20['on'](_0x19005f(0x1a1),()=>{const _0x132942=_0x19005f;this[_0x132942(0x19f)](_0x132942(0x1a1),{'value':_0x76a303(_0x1f60e1[_0x132942(0x199)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x494b(){const _0x2d620b=['27HTCzDv','8391509ahfREA','265942yCXxgl','items','length','1422tSTAMj','358668BpRWRW','9598115sOacTW','_createClearHistoryButton','label','historyGroupView','filter','13kVPyAo','fire','Prompt\x20history','5944130YhsuZP','clearHistory','Clear','children','set','locale','242BQISzc','8JkIZng','clearHistoryButton','3340KaDuXL','add','delegate','execute','5111202oLRSfb'];_0x494b=function(){return _0x2d620b;};return _0x494b();}const _0x51d14c=_0x2c5d;(function(_0x429dd8,_0x4ea590){const _0x35e1cf=_0x2c5d,_0x3ca96b=_0x429dd8();while(!![]){try{const _0x1baab7=parseInt(_0x35e1cf(0xdb))/0x1*(-parseInt(_0x35e1cf(0xd1))/0x2)+-parseInt(_0x35e1cf(0xd4))/0x3*(-parseInt(_0x35e1cf(0xca))/0x4)+parseInt(_0x35e1cf(0xd6))/0x5+-parseInt(_0x35e1cf(0xce))/0x6+parseInt(_0x35e1cf(0xd0))/0x7*(-parseInt(_0x35e1cf(0xc8))/0x8)+-parseInt(_0x35e1cf(0xcf))/0x9*(-parseInt(_0x35e1cf(0xc1))/0xa)+parseInt(_0x35e1cf(0xc7))/0xb*(parseInt(_0x35e1cf(0xd5))/0xc);if(_0x1baab7===_0x4ea590)break;else _0x3ca96b['push'](_0x3ca96b['shift']());}catch(_0xb59202){_0x3ca96b['push'](_0x3ca96b['shift']());}}}(_0x494b,0xee825));import{ListView as _0x341cce,ListItemGroupView as _0x261161,ButtonView as _0x2252c8}from'ckeditor5/src/ui.js';function _0x2c5d(_0x184380,_0x2e872a){const _0x494bbe=_0x494b();return _0x2c5d=function(_0x2c5dc3,_0x4bd2f0){_0x2c5dc3=_0x2c5dc3-0xc1;let _0x5909de=_0x494bbe[_0x2c5dc3];return _0x5909de;},_0x2c5d(_0x184380,_0x2e872a);}import{getTranslation as _0x2dd406}from'../../utils/common-translations.js';export default class rs extends _0x341cce{constructor(_0x4a4494){const _0x339836=_0x2c5d;super(_0x4a4494),this[_0x339836(0xc9)]=this[_0x339836(0xd7)](),this[_0x339836(0xd9)]=new _0x261161(),this[_0x339836(0xd9)][_0x339836(0xc4)][_0x339836(0xcb)](this[_0x339836(0xc9)],0x1),this[_0x339836(0xd9)][_0x339836(0xd8)]=_0x2dd406(_0x4a4494,_0x339836(0xdd)),this[_0x339836(0xd9)][_0x339836(0xd2)][_0x339836(0xcc)](_0x339836(0xcd))['to'](this),this[_0x339836(0xd2)][_0x339836(0xcb)](this[_0x339836(0xd9)]);}[_0x51d14c(0xda)](){const _0x2111da=_0x51d14c;let _0x521e2e=0x0;for(const _0x8b64a0 of this[_0x2111da(0xd2)])_0x521e2e+=_0x8b64a0[_0x2111da(0xd2)][_0x2111da(0xd3)];return{'resultsCount':_0x521e2e,'totalItemsCount':_0x521e2e};}[_0x51d14c(0xd7)](){const _0x17eb07=_0x51d14c,_0x146d7e=this[_0x17eb07(0xc6)],_0x1bac9f=new _0x2252c8(this[_0x17eb07(0xc6)]);return _0x1bac9f[_0x17eb07(0xc5)]({'label':'('+_0x2dd406(_0x146d7e,_0x17eb07(0xc3))+')','withText':!0x0}),_0x1bac9f['on'](_0x17eb07(0xcd),()=>this[_0x17eb07(0xdc)](_0x17eb07(0xc2))),_0x1bac9f;}}
23
+ const _0x4d1a43=_0x4ebf;(function(_0x19bd17,_0x5b77cc){const _0x3d8957=_0x4ebf,_0x5b351f=_0x19bd17();while(!![]){try{const _0x2745e2=-parseInt(_0x3d8957(0x189))/0x1*(-parseInt(_0x3d8957(0x17f))/0x2)+-parseInt(_0x3d8957(0x197))/0x3+parseInt(_0x3d8957(0x186))/0x4*(parseInt(_0x3d8957(0x18f))/0x5)+parseInt(_0x3d8957(0x182))/0x6*(-parseInt(_0x3d8957(0x188))/0x7)+-parseInt(_0x3d8957(0x183))/0x8*(-parseInt(_0x3d8957(0x195))/0x9)+-parseInt(_0x3d8957(0x191))/0xa+-parseInt(_0x3d8957(0x18b))/0xb*(-parseInt(_0x3d8957(0x192))/0xc);if(_0x2745e2===_0x5b77cc)break;else _0x5b351f['push'](_0x5b351f['shift']());}catch(_0x443aa7){_0x5b351f['push'](_0x5b351f['shift']());}}}(_0x307c,0x2adfa));import{ListView as _0x1a3402,ListItemGroupView as _0x162ea1,ButtonView as _0x193efc}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b97e5}from'../../utils/common-translations.js';export default class rs extends _0x1a3402{constructor(_0x152bb6){const _0x259972=_0x4ebf;super(_0x152bb6),this[_0x259972(0x194)]=this[_0x259972(0x17c)](),this[_0x259972(0x196)]=new _0x162ea1(),this[_0x259972(0x196)][_0x259972(0x17d)][_0x259972(0x17b)](this[_0x259972(0x194)],0x1),this[_0x259972(0x196)][_0x259972(0x18c)]=_0x3b97e5(_0x152bb6,_0x259972(0x181)),this[_0x259972(0x196)][_0x259972(0x190)][_0x259972(0x187)](_0x259972(0x18d))['to'](this),this[_0x259972(0x190)][_0x259972(0x17b)](this[_0x259972(0x196)]);}[_0x4d1a43(0x180)](){const _0x2b0db3=_0x4d1a43;let _0x3df20a=0x0;for(const _0x55e7a0 of this[_0x2b0db3(0x190)])_0x3df20a+=_0x55e7a0[_0x2b0db3(0x190)][_0x2b0db3(0x18a)];return{'resultsCount':_0x3df20a,'totalItemsCount':_0x3df20a};}[_0x4d1a43(0x17c)](){const _0x503ca9=_0x4d1a43,_0x2b0ba9=this[_0x503ca9(0x17e)],_0x3b617f=new _0x193efc(this[_0x503ca9(0x17e)]);return _0x3b617f[_0x503ca9(0x184)]({'label':'('+_0x3b97e5(_0x2b0ba9,_0x503ca9(0x193))+')','withText':!0x0}),_0x3b617f['on'](_0x503ca9(0x18d),()=>this[_0x503ca9(0x185)](_0x503ca9(0x18e))),_0x3b617f;}}function _0x4ebf(_0x1d66fe,_0x56f1b1){const _0x307c89=_0x307c();return _0x4ebf=function(_0x4ebfca,_0x4ddbca){_0x4ebfca=_0x4ebfca-0x17b;let _0x3484d0=_0x307c89[_0x4ebfca];return _0x3484d0;},_0x4ebf(_0x1d66fe,_0x56f1b1);}function _0x307c(){const _0x1144da=['4dwXfsy','filter','Prompt\x20history','1951578RseuCd','1736GEHWmw','set','fire','1824iBkySx','delegate','7NEHsMY','98607wIOKYc','length','11etwKgV','label','execute','clearHistory','70KbVUQq','items','724420uquvsx','2493396FKLqvn','Clear','clearHistoryButton','11151YoMkGc','historyGroupView','320787arCjdK','add','_createClearHistoryButton','children','locale'];_0x307c=function(){return _0x1144da;};return _0x307c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x355e9d=_0x46e8;(function(_0x1cd4fe,_0x477832){const _0x580943=_0x46e8,_0x223ad8=_0x1cd4fe();while(!![]){try{const _0x41eaba=-parseInt(_0x580943(0x1c4))/0x1+-parseInt(_0x580943(0x1cb))/0x2*(-parseInt(_0x580943(0x1c6))/0x3)+-parseInt(_0x580943(0x1ca))/0x4+-parseInt(_0x580943(0x1d6))/0x5*(-parseInt(_0x580943(0x1cf))/0x6)+parseInt(_0x580943(0x1bf))/0x7*(parseInt(_0x580943(0x1c8))/0x8)+-parseInt(_0x580943(0x1c0))/0x9+parseInt(_0x580943(0x1be))/0xa*(-parseInt(_0x580943(0x1d3))/0xb);if(_0x41eaba===_0x477832)break;else _0x223ad8['push'](_0x223ad8['shift']());}catch(_0x4824fe){_0x223ad8['push'](_0x223ad8['shift']());}}}(_0x4bfd,0xe6123));function _0x4bfd(){const _0xec0f3f=['toLowerCase','7385340ketyjs','trim','add','setItem','33klVTmn','parse','_loadFromSessionStorage','5jZStHz','prompt','getItem','306110lfWOHQ','630644mrFbIk','5256441tVMLLm','CKEditor/AIFormView/PromptHistory','_saveToSessionStorage','last','108735mIjIXX','remove','53871gVnOLz','addMany','40peemFK','map','1038524OKlqJi','34SdFOTC','length','stringify'];_0x4bfd=function(){return _0xec0f3f;};return _0x4bfd();}function _0x46e8(_0x4fd34a,_0x1a85f4){const _0x4bfdce=_0x4bfd();return _0x46e8=function(_0x46e8e4,_0xccee9e){_0x46e8e4=_0x46e8e4-0x1be;let _0x34ee11=_0x4bfdce[_0x46e8e4];return _0x34ee11;},_0x46e8(_0x4fd34a,_0x1a85f4);}import{Collection as _0x515037}from'ckeditor5/src/utils.js';const cs=_0x355e9d(0x1c1);export default class os extends _0x515037{constructor(){const _0x15c9bb=_0x355e9d;super(),this[_0x15c9bb(0x1d5)](),this['on'](_0x15c9bb(0x1d1),(_0x5cd208,_0x2c0fe1)=>{const _0x150a5d=_0x15c9bb,_0x5987f7=Ss(_0x2c0fe1[_0x150a5d(0x1d7)]);for(const _0x4ca3d2 of this)if(_0x4ca3d2!=_0x2c0fe1&&Ss(_0x4ca3d2[_0x150a5d(0x1d7)])===_0x5987f7){this[_0x150a5d(0x1c5)](_0x4ca3d2);break;}this[_0x150a5d(0x1cc)]>0x14&&this[_0x150a5d(0x1c5)](this[_0x150a5d(0x1c3)]),this[_0x150a5d(0x1c2)]();}),this['on'](_0x15c9bb(0x1c5),()=>{const _0x4cbcfd=_0x15c9bb;this[_0x4cbcfd(0x1c2)]();});}[_0x355e9d(0x1d5)](){const _0x226c2f=_0x355e9d,_0x6853dc=sessionStorage[_0x226c2f(0x1d8)](cs)||'[]';this[_0x226c2f(0x1c7)](JSON[_0x226c2f(0x1d4)](_0x6853dc));}[_0x355e9d(0x1c2)](){const _0x12b56c=_0x355e9d;sessionStorage[_0x12b56c(0x1d2)](cs,JSON[_0x12b56c(0x1cd)](this[_0x12b56c(0x1c9)](_0x51ae49=>_0x51ae49)));}}function Ss(_0x44c769){const _0x59ad79=_0x355e9d;return _0x44c769[_0x59ad79(0x1ce)]()[_0x59ad79(0x1d0)]();}
23
+ const _0x57bca8=_0x1078;(function(_0xaa691e,_0x35cf4d){const _0x2869c6=_0x1078,_0x234127=_0xaa691e();while(!![]){try{const _0xcb4655=parseInt(_0x2869c6(0x171))/0x1+parseInt(_0x2869c6(0x16c))/0x2+-parseInt(_0x2869c6(0x168))/0x3+parseInt(_0x2869c6(0x16d))/0x4+parseInt(_0x2869c6(0x176))/0x5*(parseInt(_0x2869c6(0x179))/0x6)+parseInt(_0x2869c6(0x177))/0x7*(parseInt(_0x2869c6(0x16f))/0x8)+-parseInt(_0x2869c6(0x175))/0x9*(parseInt(_0x2869c6(0x163))/0xa);if(_0xcb4655===_0x35cf4d)break;else _0x234127['push'](_0x234127['shift']());}catch(_0x37b077){_0x234127['push'](_0x234127['shift']());}}}(_0x5afb,0xda884));import{Collection as _0x2f4a0e}from'ckeditor5/src/utils.js';function _0x5afb(){const _0x33d9d7=['51337KYjIUL','_saveToSessionStorage','_loadFromSessionStorage','addMany','3697533AFXWMU','855ezjYjt','7HhEhHv','getItem','31158ItvaAc','last','setItem','prompt','50GGoNFC','map','parse','add','length','605841BUlgOb','toLowerCase','CKEditor/AIFormView/PromptHistory','remove','985496TohWlb','5460836sxMEKz','stringify','2831544FYuUtK','trim'];_0x5afb=function(){return _0x33d9d7;};return _0x5afb();}function _0x1078(_0x2fc410,_0x3690a1){const _0x5afbfb=_0x5afb();return _0x1078=function(_0x10786d,_0x3a1e74){_0x10786d=_0x10786d-0x160;let _0x552612=_0x5afbfb[_0x10786d];return _0x552612;},_0x1078(_0x2fc410,_0x3690a1);}const cs=_0x57bca8(0x16a);export default class os extends _0x2f4a0e{constructor(){const _0x569bb2=_0x57bca8;super(),this[_0x569bb2(0x173)](),this['on'](_0x569bb2(0x166),(_0x36f1a7,_0x17fdb3)=>{const _0x84a2d6=_0x569bb2,_0x57f00c=Ss(_0x17fdb3[_0x84a2d6(0x162)]);for(const _0x538fd1 of this)if(_0x538fd1!=_0x17fdb3&&Ss(_0x538fd1[_0x84a2d6(0x162)])===_0x57f00c){this[_0x84a2d6(0x16b)](_0x538fd1);break;}this[_0x84a2d6(0x167)]>0x14&&this[_0x84a2d6(0x16b)](this[_0x84a2d6(0x160)]),this[_0x84a2d6(0x172)]();}),this['on'](_0x569bb2(0x16b),()=>{const _0x1611b3=_0x569bb2;this[_0x1611b3(0x172)]();});}[_0x57bca8(0x173)](){const _0x28393b=_0x57bca8,_0x3e9ea1=sessionStorage[_0x28393b(0x178)](cs)||'[]';this[_0x28393b(0x174)](JSON[_0x28393b(0x165)](_0x3e9ea1));}[_0x57bca8(0x172)](){const _0x15d66a=_0x57bca8;sessionStorage[_0x15d66a(0x161)](cs,JSON[_0x15d66a(0x16e)](this[_0x15d66a(0x164)](_0x545f37=>_0x545f37)));}}function Ss(_0x53c5c3){const _0xd6acca=_0x57bca8;return _0x53c5c3[_0xd6acca(0x169)]()[_0xd6acca(0x170)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5abbb2=_0xc85c;(function(_0x29b765,_0x3d78d5){const _0x39c1fb=_0xc85c,_0x5b7d84=_0x29b765();while(!![]){try{const _0x18d0ad=parseInt(_0x39c1fb(0x146))/0x1*(-parseInt(_0x39c1fb(0x14d))/0x2)+-parseInt(_0x39c1fb(0x159))/0x3+parseInt(_0x39c1fb(0x13b))/0x4+parseInt(_0x39c1fb(0x14f))/0x5*(-parseInt(_0x39c1fb(0x153))/0x6)+parseInt(_0x39c1fb(0x148))/0x7*(-parseInt(_0x39c1fb(0x145))/0x8)+-parseInt(_0x39c1fb(0x139))/0x9+parseInt(_0x39c1fb(0x13c))/0xa;if(_0x18d0ad===_0x3d78d5)break;else _0x5b7d84['push'](_0x5b7d84['shift']());}catch(_0x40e3c3){_0x5b7d84['push'](_0x5b7d84['shift']());}}}(_0x4ca8,0x3dc7d));import{Command as _0x515a7e}from'ckeditor5/src/core.js';import _0x539ff0 from'../aiassistantui.js';export default class C extends _0x515a7e{constructor(_0x7a10e2,_0x29516f){const _0x27d335=_0xc85c;super(_0x7a10e2),this[_0x27d335(0x157)]=_0x29516f,this[_0x27d335(0x152)](_0x27d335(0x156),[]),this['on'](_0x27d335(0x14c),(_0x504451,_0x58ae70,_0x3c956b)=>{const _0x418b5b=_0x27d335;this[_0x418b5b(0x135)]&&(this[_0x418b5b(0x156)]=F(this[_0x418b5b(0x157)],_0x3c956b));}),this[_0x27d335(0x152)](_0x27d335(0x143),!0x1),this['on'](_0x27d335(0x158),(_0x36744b,_0x1a1ada,_0x415dcf)=>{const _0x380220=_0x27d335;this[_0x380220(0x156)]=_0x415dcf?F(this[_0x380220(0x157)],this[_0x380220(0x143)]):[];});}[_0x5abbb2(0x151)](){const _0x4fbd71=_0x5abbb2,_0x55d8e5=this[_0x4fbd71(0x144)][_0x4fbd71(0x15a)];this[_0x4fbd71(0x143)]=function(_0x29a4fd){const _0x25c5ec=_0x4fbd71,_0x23b561=_0x29a4fd[_0x25c5ec(0x13d)][_0x25c5ec(0x13a)];return _0x23b561[_0x25c5ec(0x155)]?0x0!==[..._0x23b561[_0x25c5ec(0x14b)]()][_0x25c5ec(0x15e)]&&![..._0x23b561[_0x25c5ec(0x14b)]()][0x0][_0x25c5ec(0x14e)]:!!_0x29a4fd[_0x25c5ec(0x140)](_0x23b561[_0x25c5ec(0x154)]());}(_0x55d8e5);const _0x9b943b=_0x55d8e5[_0x4fbd71(0x13d)][_0x4fbd71(0x13a)],_0x5523fe=this[_0x4fbd71(0x144)][_0x4fbd71(0x14a)][_0x4fbd71(0x149)](_0x4fbd71(0x13f));for(const _0x5cd7d7 of _0x9b943b[_0x4fbd71(0x138)]())for(const _0x32806e of _0x5cd7d7[_0x4fbd71(0x134)]())if(_0x32806e['is'](_0x4fbd71(0x150))&&_0x5523fe[_0x4fbd71(0x136)](_0x32806e[_0x4fbd71(0x15d)]))return void(this[_0x4fbd71(0x135)]=!0x1);this[_0x4fbd71(0x135)]=!0x0;}[_0x5abbb2(0x15c)](_0x282d59='',_0x111d2d='',_0x453573=_0x5abbb2(0x142)){const _0x4dce0b=_0x5abbb2;this[_0x4dce0b(0x144)][_0x4dce0b(0x13e)][_0x4dce0b(0x149)](_0x539ff0)[_0x4dce0b(0x133)](_0x282d59,_0x111d2d,_0x453573);}}function F(_0x2ffff7,_0x21ba46){const _0x12da22=_0x5abbb2,_0x202bc0=new Set();for(const _0x392df1 of _0x2ffff7[_0x12da22(0x15b)]())(_0x21ba46||!0x1===_0x392df1[_0x12da22(0x147)])&&_0x202bc0[_0x12da22(0x137)](_0x392df1['id']);return Array[_0x12da22(0x141)](_0x202bc0);}function _0xc85c(_0x573935,_0xd3069c){const _0x4ca824=_0x4ca8();return _0xc85c=function(_0xc85c09,_0x13fe2d){_0xc85c09=_0xc85c09-0x133;let _0x57fd74=_0x4ca824[_0xc85c09];return _0x57fd74;},_0xc85c(_0x573935,_0xd3069c);}function _0x4ca8(){const _0x187807=['showUI','getItems','isEnabled','includes','add','getRanges','375876kBzLJK','selection','963888VkugYZ','10880430zqJMHy','document','plugins','ai.aiAssistant.disabledElements','hasContent','from','custom','_hasContext','editor','10744DpMsqm','7OhvXfT','requiresContent','2415AodQhE','get','config','getSelectedBlocks','change:_hasContext','100834TecqGu','isEmpty','383030YjrrRU','element','refresh','set','6FvEuLf','getFirstRange','isCollapsed','enabledCommandsIds','_commandDefinitions','change:isEnabled','424014kzJISf','model','values','execute','name','length'];_0x4ca8=function(){return _0x187807;};return _0x4ca8();}
23
+ const _0x292368=_0x19e5;(function(_0x1c4944,_0x2ebebe){const _0x4f1dc0=_0x19e5,_0x953fc1=_0x1c4944();while(!![]){try{const _0x514851=parseInt(_0x4f1dc0(0x1da))/0x1*(-parseInt(_0x4f1dc0(0x1dd))/0x2)+-parseInt(_0x4f1dc0(0x1d1))/0x3+-parseInt(_0x4f1dc0(0x1d8))/0x4*(-parseInt(_0x4f1dc0(0x1e2))/0x5)+-parseInt(_0x4f1dc0(0x1d4))/0x6+-parseInt(_0x4f1dc0(0x1ce))/0x7+-parseInt(_0x4f1dc0(0x1db))/0x8*(parseInt(_0x4f1dc0(0x1d5))/0x9)+parseInt(_0x4f1dc0(0x1e7))/0xa*(parseInt(_0x4f1dc0(0x1e5))/0xb);if(_0x514851===_0x2ebebe)break;else _0x953fc1['push'](_0x953fc1['shift']());}catch(_0x21ae48){_0x953fc1['push'](_0x953fc1['shift']());}}}(_0xa35c,0xaedf1));import{Command as _0x51a6dd}from'ckeditor5/src/core.js';import _0x1e1969 from'../aiassistantui.js';function _0xa35c(){const _0x297ce0=['includes','isCollapsed','317865xiPrUA','model','length','8219064OKqkHa','1926441TTjAXk','refresh','change:isEnabled','4VSZFYG','isEmpty','331bHUHKB','16qVAKdb','ai.aiAssistant.disabledElements','3810IJQibr','get','getFirstRange','add','editor','2054985erGvHO','hasContent','set','3451085AFeNuw','from','130NNCDbC','values','config','name','getItems','execute','plugins','showUI','getSelectedBlocks','custom','element','document','requiresContent','enabledCommandsIds','_hasContext','getRanges','change:_hasContext','isEnabled','selection','_commandDefinitions','8671789LTILGs'];_0xa35c=function(){return _0x297ce0;};return _0xa35c();}function _0x19e5(_0x27b2fe,_0x1c571){const _0xa35cc3=_0xa35c();return _0x19e5=function(_0x19e542,_0x3af0cd){_0x19e542=_0x19e542-0x1cd;let _0x2f47cc=_0xa35cc3[_0x19e542];return _0x2f47cc;},_0x19e5(_0x27b2fe,_0x1c571);}export default class C extends _0x51a6dd{constructor(_0xc5ef,_0x525ece){const _0x1d6338=_0x19e5;super(_0xc5ef),this[_0x1d6338(0x1cd)]=_0x525ece,this[_0x1d6338(0x1e4)](_0x1d6338(0x1f4),[]),this['on'](_0x1d6338(0x1f7),(_0x2de3b8,_0x1916cc,_0xcff1b2)=>{const _0xe7e590=_0x1d6338;this[_0xe7e590(0x1f8)]&&(this[_0xe7e590(0x1f4)]=F(this[_0xe7e590(0x1cd)],_0xcff1b2));}),this[_0x1d6338(0x1e4)](_0x1d6338(0x1f5),!0x1),this['on'](_0x1d6338(0x1d7),(_0x1bcfe4,_0x2ae978,_0x29a7e3)=>{const _0x32c290=_0x1d6338;this[_0x32c290(0x1f4)]=_0x29a7e3?F(this[_0x32c290(0x1cd)],this[_0x32c290(0x1f5)]):[];});}[_0x292368(0x1d6)](){const _0x58d923=_0x292368,_0x1b926a=this[_0x58d923(0x1e1)][_0x58d923(0x1d2)];this[_0x58d923(0x1f5)]=function(_0x4d5886){const _0x33ea00=_0x58d923,_0x1f14ec=_0x4d5886[_0x33ea00(0x1f2)][_0x33ea00(0x1f9)];return _0x1f14ec[_0x33ea00(0x1d0)]?0x0!==[..._0x1f14ec[_0x33ea00(0x1ef)]()][_0x33ea00(0x1d3)]&&![..._0x1f14ec[_0x33ea00(0x1ef)]()][0x0][_0x33ea00(0x1d9)]:!!_0x4d5886[_0x33ea00(0x1e3)](_0x1f14ec[_0x33ea00(0x1df)]());}(_0x1b926a);const _0xc2c3d9=_0x1b926a[_0x58d923(0x1f2)][_0x58d923(0x1f9)],_0x39dbd3=this[_0x58d923(0x1e1)][_0x58d923(0x1e9)][_0x58d923(0x1de)](_0x58d923(0x1dc));for(const _0x523ec8 of _0xc2c3d9[_0x58d923(0x1f6)]())for(const _0x512b30 of _0x523ec8[_0x58d923(0x1eb)]())if(_0x512b30['is'](_0x58d923(0x1f1))&&_0x39dbd3[_0x58d923(0x1cf)](_0x512b30[_0x58d923(0x1ea)]))return void(this[_0x58d923(0x1f8)]=!0x1);this[_0x58d923(0x1f8)]=!0x0;}[_0x292368(0x1ec)](_0x481854='',_0x4a7837='',_0x5d4846=_0x292368(0x1f0)){const _0x4e09c6=_0x292368;this[_0x4e09c6(0x1e1)][_0x4e09c6(0x1ed)][_0x4e09c6(0x1de)](_0x1e1969)[_0x4e09c6(0x1ee)](_0x481854,_0x4a7837,_0x5d4846);}}function F(_0x545ace,_0x4f03fb){const _0x1670b7=_0x292368,_0x42052d=new Set();for(const _0x101206 of _0x545ace[_0x1670b7(0x1e8)]())(_0x4f03fb||!0x1===_0x101206[_0x1670b7(0x1f3)])&&_0x42052d[_0x1670b7(0x1e0)](_0x101206['id']);return Array[_0x1670b7(0x1e6)](_0x42052d);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4e3f26,_0xfa852c,_0x2dd7f6){const t=_0x4e3f26['t'];switch(_0xfa852c){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',_0x2dd7f6);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2dd7f6);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'},_0x2dd7f6);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 _0xfa852c;}}
23
+ export function getTranslation(_0x3dce51,_0x2a4801,_0x21962f){const t=_0x3dce51['t'];switch(_0x2a4801){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',_0x21962f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x21962f);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'},_0x21962f);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 _0x2a4801;}}