@ckeditor/ckeditor5-ai 41.3.0-alpha.2 → 41.3.0-alpha.4

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 (76) hide show
  1. package/build/ai.js +6 -6
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/ar.js +1 -1
  4. package/dist/translations/bg.js +1 -1
  5. package/dist/translations/bn.js +1 -1
  6. package/dist/translations/bs.js +1 -1
  7. package/dist/translations/ca.js +1 -1
  8. package/dist/translations/cs.js +1 -1
  9. package/dist/translations/da.js +1 -1
  10. package/dist/translations/de-ch.js +1 -1
  11. package/dist/translations/de.js +1 -1
  12. package/dist/translations/el.js +1 -1
  13. package/dist/translations/en-au.js +1 -1
  14. package/dist/translations/es-co.js +1 -1
  15. package/dist/translations/es.js +1 -1
  16. package/dist/translations/et.js +1 -1
  17. package/dist/translations/fa.js +1 -1
  18. package/dist/translations/fi.js +1 -1
  19. package/dist/translations/fr.js +1 -1
  20. package/dist/translations/gl.js +1 -1
  21. package/dist/translations/he.js +1 -1
  22. package/dist/translations/hi.js +1 -1
  23. package/dist/translations/hr.js +1 -1
  24. package/dist/translations/hu.js +1 -1
  25. package/dist/translations/id.js +1 -1
  26. package/dist/translations/it.js +1 -1
  27. package/dist/translations/ja.js +1 -1
  28. package/dist/translations/jv.js +1 -1
  29. package/dist/translations/ko.js +1 -1
  30. package/dist/translations/lt.js +1 -1
  31. package/dist/translations/lv.js +1 -1
  32. package/dist/translations/ms.js +1 -1
  33. package/dist/translations/nl.js +1 -1
  34. package/dist/translations/no.js +1 -1
  35. package/dist/translations/pl.js +1 -1
  36. package/dist/translations/pt-br.js +1 -1
  37. package/dist/translations/pt.js +1 -1
  38. package/dist/translations/ro.js +1 -1
  39. package/dist/translations/ru.js +1 -1
  40. package/dist/translations/sk.js +1 -1
  41. package/dist/translations/sr-latn.js +1 -1
  42. package/dist/translations/sr.js +1 -1
  43. package/dist/translations/sv.js +1 -1
  44. package/dist/translations/th.js +1 -1
  45. package/dist/translations/tk.js +1 -1
  46. package/dist/translations/tr.js +1 -1
  47. package/dist/translations/ug.js +1 -1
  48. package/dist/translations/uk.js +1 -1
  49. package/dist/translations/ur.js +1 -1
  50. package/dist/translations/uz.js +1 -1
  51. package/dist/translations/vi.js +1 -1
  52. package/dist/translations/zh-cn.js +1 -1
  53. package/dist/translations/zh.js +1 -1
  54. package/package.json +4 -4
  55. package/src/adapters/aiadapter.js +1 -1
  56. package/src/adapters/aitextadapter.js +1 -1
  57. package/src/adapters/awstextadapter.js +1 -1
  58. package/src/adapters/openaitextadapter.js +1 -1
  59. package/src/aiassistant.js +1 -1
  60. package/src/aiassistantediting.js +1 -1
  61. package/src/aiassistantui.js +1 -1
  62. package/src/index.js +1 -1
  63. package/src/ui/aiassistantcontroller.js +1 -1
  64. package/src/ui/dropdown/aicommandslistview.js +1 -1
  65. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  66. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  67. package/src/ui/form/aiformcontentarea.js +1 -1
  68. package/src/ui/form/aiformerrorview.js +1 -1
  69. package/src/ui/form/aiformpromptview.js +1 -1
  70. package/src/ui/form/aiformtoolbarview.js +1 -1
  71. package/src/ui/form/aiformview.js +1 -1
  72. package/src/ui/form/aihistorylistitemview.js +1 -1
  73. package/src/ui/form/aihistorylistview.js +1 -1
  74. package/src/ui/form/prompthistory.js +1 -1
  75. package/src/ui/showaiassistantcommand.js +1 -1
  76. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a51(){const _0xd2cffe=['execCommand','setEndBefore','Copy','3382124JJDVmW','ck-ai-form__content-area','remove','focus','<span>]</span>','copy','ck-hidden','body','bindTemplate','158675wVcRkm','firstElementChild','1467767rdunPv','ck-ai-form__loader','locale','text/plain','appendChild','1CcNFqz','change:value','.ck-ai-form__loader','lastElementChild','div','textContent','createRange','_copyHTMLToClipboard','mousedown','execute','position','class','clipboard','createElement','isEnabled','appendLoader','4647576sDTfVr','listenTo','addRange','change:isProcessing','bind','7258604dbuIfE','setStartAfter','loaderView','icon','3465992jmQvww','smooth','<span>[</span>','absolute','ck-reset_all-excluded','style','ck-ai-form__content-field','removeAllRanges','ClipboardItem','\x20ck-ai-form__copy-button--copied','innerHTML','querySelector','-9999px','check','value','isVisible','setContent','element','ck-content','wheel','isProcessing','9NfsNmA','contentFieldView','ck-ai-form__copy-button-wrapper','write','render','scrollTo','ck-ai-form__content-area--processing','228fppvEl','37699530rQLuLg','_createLoader','AI\x20is\x20writing...','ck-ai-form__copy-button','ck-ai-form__content-area-wrapper','getSelection','copyButtonView','setTemplate','_createCopyButton','scrollHeight','text/html','left','set'];_0x5a51=function(){return _0xd2cffe;};return _0x5a51();}const _0x44cf1d=_0x2a17;(function(_0x497e96,_0x214a41){const _0x32a268=_0x2a17,_0xcdcce=_0x497e96();while(!![]){try{const _0x10ba05=-parseInt(_0x32a268(0x15d))/0x1*(parseInt(_0x32a268(0x14d))/0x2)+-parseInt(_0x32a268(0x16d))/0x3+parseInt(_0x32a268(0x172))/0x4+parseInt(_0x32a268(0x156))/0x5*(-parseInt(_0x32a268(0x13c))/0x6)+parseInt(_0x32a268(0x158))/0x7+parseInt(_0x32a268(0x176))/0x8*(-parseInt(_0x32a268(0x135))/0x9)+parseInt(_0x32a268(0x13d))/0xa;if(_0x10ba05===_0x214a41)break;else _0xcdcce['push'](_0xcdcce['shift']());}catch(_0x5ac7c8){_0xcdcce['push'](_0xcdcce['shift']());}}}(_0x5a51,0xdf5a4));import{global as _0x2ed51e}from'ckeditor5/src/utils.js';import{View as _0x21f326,ButtonView as _0xb9a54c,SpinnerView as _0x3d79f6}from'ckeditor5/src/ui.js';function _0x2a17(_0x1101d4,_0x4076ca){const _0x5a51b1=_0x5a51();return _0x2a17=function(_0x2a1710,_0x39a8d9){_0x2a1710=_0x2a1710-0x130;let _0x12f3c8=_0x5a51b1[_0x2a1710];return _0x12f3c8;},_0x2a17(_0x1101d4,_0x4076ca);}import _0x4c46f3 from'../../../theme/icons/copy.svg';import{getTranslation as _0x57b228}from'../../utils/common-translations.js';import{icons as _0xaedb3b}from'ckeditor5/src/core.js';export default class st extends _0x21f326{constructor(_0x4e4adb,_0x3073ed=''){const _0x2381b7=_0x2a17;super(_0x4e4adb),this[_0x2381b7(0x149)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x33c0b6=this[_0x2381b7(0x155)];this[_0x2381b7(0x136)]=new ContentFieldView(_0x4e4adb,_0x3073ed),this[_0x2381b7(0x143)]=this[_0x2381b7(0x145)](),this[_0x2381b7(0x144)]({'tag':_0x2381b7(0x161),'attributes':{'class':['ck',_0x2381b7(0x141),_0x33c0b6['if'](_0x2381b7(0x185),_0x2381b7(0x153),_0xfe5ceb=>!_0xfe5ceb)],'tabindex':'-1'},'children':[{'tag':_0x2381b7(0x161),'attributes':{'class':['ck',_0x2381b7(0x14e),_0x33c0b6['if'](_0x2381b7(0x134),_0x2381b7(0x13b))]},'children':[this[_0x2381b7(0x136)],{'tag':_0x2381b7(0x161),'attributes':{'class':['ck',_0x2381b7(0x137)]},'children':[this[_0x2381b7(0x143)]]}]}]});}[_0x44cf1d(0x139)](){const _0x2e7ae1=_0x44cf1d;super[_0x2e7ae1(0x139)](),this[_0x2e7ae1(0x184)]&&this[_0x2e7ae1(0x136)][_0x2e7ae1(0x130)](this[_0x2e7ae1(0x184)]);let _0x2b6a32=!0x1;this['on'](_0x2e7ae1(0x15e),(_0x411b3d,_0x1c807c,_0x5619f3)=>{const _0x296f66=_0x2e7ae1,_0x493b90=!this[_0x296f66(0x136)][_0x296f66(0x131)][_0x296f66(0x181)](_0x296f66(0x15f));this[_0x296f66(0x136)][_0x296f66(0x130)](_0x5619f3),this[_0x296f66(0x134)]&&_0x493b90&&!_0x2b6a32&&this[_0x296f66(0x131)][_0x296f66(0x13a)]({'top':this[_0x296f66(0x131)][_0x296f66(0x146)],'behavior':_0x296f66(0x177)});}),this['on'](_0x2e7ae1(0x170),(_0x29d16e,_0x3d3c62,_0x1ae29b)=>{const _0x419c1e=_0x2e7ae1;_0x2b6a32=!0x1,_0x1ae29b?(this[_0x419c1e(0x184)]=null,this[_0x419c1e(0x136)][_0x419c1e(0x16c)]()):this[_0x419c1e(0x184)]||this[_0x419c1e(0x136)][_0x419c1e(0x130)]('');}),this[_0x2e7ae1(0x16e)](this[_0x2e7ae1(0x131)],_0x2e7ae1(0x133),()=>{_0x2b6a32=!0x0;}),this[_0x2e7ae1(0x16e)](this[_0x2e7ae1(0x131)],_0x2e7ae1(0x165),()=>{_0x2b6a32=!0x0;});}[_0x44cf1d(0x150)](){const _0x868441=_0x44cf1d;this[_0x868441(0x131)][_0x868441(0x150)]();}[_0x44cf1d(0x145)](){const _0x7f31bd=_0x44cf1d,_0x480108=this[_0x7f31bd(0x15a)],_0x1947f3=new _0xb9a54c(this[_0x7f31bd(0x15a)]),_0x3bfb2c=_0x7f31bd(0x140);return _0x1947f3[_0x7f31bd(0x149)]({'label':_0x57b228(_0x480108,_0x7f31bd(0x14c)),'icon':_0x4c46f3,'class':_0x3bfb2c,'tooltip':!0x0}),_0x1947f3[_0x7f31bd(0x171)](_0x7f31bd(0x185))['to'](this,_0x7f31bd(0x184),_0x5994b=>!!_0x5994b),_0x1947f3[_0x7f31bd(0x171)](_0x7f31bd(0x16b))['to'](this,_0x7f31bd(0x134),_0x4357d2=>!_0x4357d2),_0x1947f3['on'](_0x7f31bd(0x166),()=>{const _0x2b6d72=_0x7f31bd;this[_0x2b6d72(0x164)](this[_0x2b6d72(0x136)][_0x2b6d72(0x131)]),_0x1947f3[_0x2b6d72(0x175)]=_0xaedb3b[_0x2b6d72(0x183)],_0x1947f3[_0x2b6d72(0x168)]=_0x3bfb2c+_0x2b6d72(0x17f),this[_0x2b6d72(0x150)](),setTimeout(()=>{const _0xed3664=_0x2b6d72;_0x1947f3[_0xed3664(0x175)]=_0x4c46f3,_0x1947f3[_0xed3664(0x168)]=_0x3bfb2c;},0x3e8);}),_0x1947f3;}[_0x44cf1d(0x164)](_0x47f101){const _0x1808c9=_0x44cf1d,{window:_0x16d8f8,document:_0x5b5ff2}=_0x2ed51e;if(_0x16d8f8[_0x1808c9(0x17e)]){const {Blob:_0x3b0edf,ClipboardItem:_0x248b8a}=_0x16d8f8,_0x2b1cf1=[new _0x248b8a({'text/html':new _0x3b0edf([_0x47f101[_0x1808c9(0x180)]],{'type':_0x1808c9(0x147)}),'text/plain':new _0x3b0edf([_0x47f101[_0x1808c9(0x162)]||''],{'type':_0x1808c9(0x15b)})})];navigator[_0x1808c9(0x169)][_0x1808c9(0x138)](_0x2b1cf1);}else{const _0x52721f=_0x5b5ff2[_0x1808c9(0x16a)](_0x1808c9(0x161));_0x52721f[_0x1808c9(0x17b)][_0x1808c9(0x167)]=_0x1808c9(0x179),_0x52721f[_0x1808c9(0x17b)][_0x1808c9(0x148)]=_0x1808c9(0x182),_0x52721f[_0x1808c9(0x180)]=_0x1808c9(0x178)+_0x47f101[_0x1808c9(0x180)]+_0x1808c9(0x151),_0x5b5ff2[_0x1808c9(0x154)][_0x1808c9(0x15c)](_0x52721f);const _0x311b74=_0x5b5ff2[_0x1808c9(0x163)]();_0x311b74[_0x1808c9(0x173)](_0x52721f[_0x1808c9(0x157)]),_0x311b74[_0x1808c9(0x14b)](_0x52721f[_0x1808c9(0x160)]);const _0x5734bd=_0x16d8f8[_0x1808c9(0x142)]();_0x5734bd[_0x1808c9(0x17d)](),_0x5734bd[_0x1808c9(0x16f)](_0x311b74),_0x5b5ff2[_0x1808c9(0x14a)](_0x1808c9(0x152)),_0x52721f[_0x1808c9(0x14f)]();}}}export class ContentFieldView extends _0x21f326{constructor(_0x407ce0,_0x495560=''){const _0x19692e=_0x44cf1d;super(_0x407ce0),this[_0x19692e(0x174)]=this[_0x19692e(0x13e)](),this[_0x19692e(0x144)]({'tag':_0x19692e(0x161),'attributes':{'class':['ck',_0x19692e(0x132),_0x495560,_0x19692e(0x17a),_0x19692e(0x17c)]}});}[_0x44cf1d(0x130)](_0x18877c){const _0x27fdf6=_0x44cf1d;this[_0x27fdf6(0x131)][_0x27fdf6(0x180)]=_0x18877c;}[_0x44cf1d(0x16c)](){const _0x10a6da=_0x44cf1d;this[_0x10a6da(0x131)][_0x10a6da(0x15c)](this[_0x10a6da(0x174)][_0x10a6da(0x131)]);}[_0x44cf1d(0x13e)](){const _0x54c0dc=_0x44cf1d,_0x5ae5a7=new _0x21f326(),_0x55a781=this[_0x54c0dc(0x15a)],_0x354b4a=new _0x3d79f6();return _0x354b4a[_0x54c0dc(0x185)]=!0x0,_0x5ae5a7[_0x54c0dc(0x144)]({'tag':_0x54c0dc(0x161),'attributes':{'class':['ck',_0x54c0dc(0x159)]},'children':[_0x354b4a,{'text':_0x57b228(_0x55a781,_0x54c0dc(0x13f))}]}),_0x5ae5a7[_0x54c0dc(0x139)](),_0x5ae5a7;}}
23
+ const _0x356e83=_0x2a2a;(function(_0x56cff5,_0x2e40bb){const _0x3f69a3=_0x2a2a,_0x54a563=_0x56cff5();while(!![]){try{const _0x524e5c=-parseInt(_0x3f69a3(0x223))/0x1+parseInt(_0x3f69a3(0x215))/0x2*(-parseInt(_0x3f69a3(0x1ed))/0x3)+parseInt(_0x3f69a3(0x1ee))/0x4*(parseInt(_0x3f69a3(0x209))/0x5)+parseInt(_0x3f69a3(0x1e3))/0x6+-parseInt(_0x3f69a3(0x1f9))/0x7+parseInt(_0x3f69a3(0x208))/0x8+-parseInt(_0x3f69a3(0x229))/0x9*(parseInt(_0x3f69a3(0x21b))/0xa);if(_0x524e5c===_0x2e40bb)break;else _0x54a563['push'](_0x54a563['shift']());}catch(_0x39148a){_0x54a563['push'](_0x54a563['shift']());}}}(_0x3658,0x33623));import{global as _0x6fadc5}from'ckeditor5/src/utils.js';import{View as _0x556a41,ButtonView as _0x21e688,SpinnerView as _0x4bd1f6}from'ckeditor5/src/ui.js';import _0xf8f3a3 from'../../../theme/icons/copy.svg';import{getTranslation as _0x1b137d}from'../../utils/common-translations.js';import{icons as _0x2c6e8a}from'ckeditor5/src/core.js';export default class st extends _0x556a41{constructor(_0x55d445,_0x459e4e=''){const _0x26524c=_0x2a2a;super(_0x55d445),this[_0x26524c(0x1fb)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5a6b40=this[_0x26524c(0x205)];this[_0x26524c(0x1f4)]=new ContentFieldView(_0x55d445,_0x459e4e),this[_0x26524c(0x1eb)]=this[_0x26524c(0x22d)](),this[_0x26524c(0x22b)]({'tag':_0x26524c(0x213),'attributes':{'class':['ck',_0x26524c(0x1f0),_0x5a6b40['if'](_0x26524c(0x1e4),_0x26524c(0x1e9),_0x488f9c=>!_0x488f9c)],'tabindex':'-1'},'children':[{'tag':_0x26524c(0x213),'attributes':{'class':['ck',_0x26524c(0x1f1),_0x5a6b40['if'](_0x26524c(0x20f),_0x26524c(0x20a))]},'children':[this[_0x26524c(0x1f4)],{'tag':_0x26524c(0x213),'attributes':{'class':['ck',_0x26524c(0x1df)]},'children':[this[_0x26524c(0x1eb)]]}]}]});}[_0x356e83(0x211)](){const _0x3213ed=_0x356e83;super[_0x3213ed(0x211)](),this[_0x3213ed(0x218)]&&this[_0x3213ed(0x1f4)][_0x3213ed(0x231)](this[_0x3213ed(0x218)]);let _0x594460=!0x1;this['on'](_0x3213ed(0x220),(_0x26b4c1,_0x40175c,_0x27ea50)=>{const _0x29a9a3=_0x3213ed,_0x181c1f=!this[_0x29a9a3(0x1f4)][_0x29a9a3(0x204)][_0x29a9a3(0x21a)](_0x29a9a3(0x216));this[_0x29a9a3(0x1f4)][_0x29a9a3(0x231)](_0x27ea50),this[_0x29a9a3(0x20f)]&&_0x181c1f&&!_0x594460&&this[_0x29a9a3(0x204)][_0x29a9a3(0x1f2)]({'top':this[_0x29a9a3(0x204)][_0x29a9a3(0x21f)],'behavior':_0x29a9a3(0x21e)});}),this['on'](_0x3213ed(0x212),(_0x4cc6e1,_0x489edd,_0x52581f)=>{const _0x329618=_0x3213ed;_0x594460=!0x1,_0x52581f?(this[_0x329618(0x218)]=null,this[_0x329618(0x1f4)][_0x329618(0x1e5)]()):this[_0x329618(0x218)]||this[_0x329618(0x1f4)][_0x329618(0x231)]('');}),this[_0x3213ed(0x1dc)](this[_0x3213ed(0x204)],_0x3213ed(0x224),()=>{_0x594460=!0x0;}),this[_0x3213ed(0x1dc)](this[_0x3213ed(0x204)],_0x3213ed(0x1e1),()=>{_0x594460=!0x0;});}[_0x356e83(0x201)](){const _0x488773=_0x356e83;this[_0x488773(0x204)][_0x488773(0x201)]();}[_0x356e83(0x22d)](){const _0x5d3b2c=_0x356e83,_0x5db695=this[_0x5d3b2c(0x221)],_0x1d4354=new _0x21e688(this[_0x5d3b2c(0x221)]),_0xece16a=_0x5d3b2c(0x219);return _0x1d4354[_0x5d3b2c(0x1fb)]({'label':_0x1b137d(_0x5db695,_0x5d3b2c(0x1dd)),'icon':_0xf8f3a3,'class':_0xece16a,'tooltip':!0x0}),_0x1d4354[_0x5d3b2c(0x225)](_0x5d3b2c(0x1e4))['to'](this,_0x5d3b2c(0x218),_0x1d0d81=>!!_0x1d0d81),_0x1d4354[_0x5d3b2c(0x225)](_0x5d3b2c(0x202))['to'](this,_0x5d3b2c(0x20f),_0x134760=>!_0x134760),_0x1d4354['on'](_0x5d3b2c(0x22e),()=>{const _0x5deb81=_0x5d3b2c;this[_0x5deb81(0x1fd)](this[_0x5deb81(0x1f4)][_0x5deb81(0x204)]),_0x1d4354[_0x5deb81(0x20b)]=_0x2c6e8a[_0x5deb81(0x1fa)],_0x1d4354[_0x5deb81(0x203)]=_0xece16a+_0x5deb81(0x230),this[_0x5deb81(0x201)](),setTimeout(()=>{const _0x1b7abe=_0x5deb81;_0x1d4354[_0x1b7abe(0x20b)]=_0xf8f3a3,_0x1d4354[_0x1b7abe(0x203)]=_0xece16a;},0x3e8);}),_0x1d4354;}[_0x356e83(0x1fd)](_0x1b86a7){const _0x2eed55=_0x356e83,{window:_0x354ceb,document:_0x4be34e}=_0x6fadc5;if(_0x354ceb[_0x2eed55(0x1ea)]){const {Blob:_0x4be774,ClipboardItem:_0x2891bf}=_0x354ceb,_0x15a71a=[new _0x2891bf({'text/html':new _0x4be774([_0x1b86a7[_0x2eed55(0x1e7)]],{'type':_0x2eed55(0x1fe)}),'text/plain':new _0x4be774([_0x1b86a7[_0x2eed55(0x1f6)]||''],{'type':_0x2eed55(0x20e)})})];navigator[_0x2eed55(0x207)][_0x2eed55(0x206)](_0x15a71a);}else{const _0x594315=_0x4be34e[_0x2eed55(0x22a)](_0x2eed55(0x213));_0x594315[_0x2eed55(0x21d)][_0x2eed55(0x1ec)]=_0x2eed55(0x226),_0x594315[_0x2eed55(0x21d)][_0x2eed55(0x1de)]=_0x2eed55(0x1e6),_0x594315[_0x2eed55(0x1e7)]=_0x2eed55(0x1ef)+_0x1b86a7[_0x2eed55(0x1e7)]+_0x2eed55(0x1fc),_0x4be34e[_0x2eed55(0x1e0)][_0x2eed55(0x20d)](_0x594315);const _0xe8bd14=_0x4be34e[_0x2eed55(0x1f5)]();_0xe8bd14[_0x2eed55(0x21c)](_0x594315[_0x2eed55(0x22f)]),_0xe8bd14[_0x2eed55(0x222)](_0x594315[_0x2eed55(0x22c)]);const _0x333fac=_0x354ceb[_0x2eed55(0x200)]();_0x333fac[_0x2eed55(0x1ff)](),_0x333fac[_0x2eed55(0x1f3)](_0xe8bd14),_0x4be34e[_0x2eed55(0x1e2)](_0x2eed55(0x1f7)),_0x594315[_0x2eed55(0x228)]();}}}function _0x2a2a(_0x30ef1a,_0x66e977){const _0x3658fc=_0x3658();return _0x2a2a=function(_0x2a2adc,_0x3a03b6){_0x2a2adc=_0x2a2adc-0x1dc;let _0x9c8506=_0x3658fc[_0x2a2adc];return _0x9c8506;},_0x2a2a(_0x30ef1a,_0x66e977);}export class ContentFieldView extends _0x556a41{constructor(_0x40ec07,_0xaa2fbe=''){const _0x5aaede=_0x356e83;super(_0x40ec07),this[_0x5aaede(0x20c)]=this[_0x5aaede(0x210)](),this[_0x5aaede(0x22b)]({'tag':_0x5aaede(0x213),'attributes':{'class':['ck',_0x5aaede(0x227),_0xaa2fbe,_0x5aaede(0x214),_0x5aaede(0x1f8)]}});}[_0x356e83(0x231)](_0x2436b5){const _0x303334=_0x356e83;this[_0x303334(0x204)][_0x303334(0x1e7)]=_0x2436b5;}[_0x356e83(0x1e5)](){const _0xfff51f=_0x356e83;this[_0xfff51f(0x204)][_0xfff51f(0x20d)](this[_0xfff51f(0x20c)][_0xfff51f(0x204)]);}[_0x356e83(0x210)](){const _0x275059=_0x356e83,_0x4191f8=new _0x556a41(),_0x2a5a71=this[_0x275059(0x221)],_0x2da128=new _0x4bd1f6();return _0x2da128[_0x275059(0x1e4)]=!0x0,_0x4191f8[_0x275059(0x22b)]({'tag':_0x275059(0x213),'attributes':{'class':['ck',_0x275059(0x217)]},'children':[_0x2da128,{'text':_0x1b137d(_0x2a5a71,_0x275059(0x1e8))}]}),_0x4191f8[_0x275059(0x211)](),_0x4191f8;}}function _0x3658(){const _0x18742f=['ck-ai-form__content-area--processing','icon','loaderView','appendChild','text/plain','isProcessing','_createLoader','render','change:isProcessing','div','ck-reset_all-excluded','2aMzZlv','.ck-ai-form__loader','ck-ai-form__loader','value','ck-ai-form__copy-button','querySelector','140FEZmKf','setStartAfter','style','smooth','scrollHeight','change:value','locale','setEndBefore','190066qQOnBz','wheel','bind','absolute','ck-content','remove','280557zwrMpe','createElement','setTemplate','lastElementChild','_createCopyButton','execute','firstElementChild','\x20ck-ai-form__copy-button--copied','setContent','listenTo','Copy','left','ck-ai-form__copy-button-wrapper','body','mousedown','execCommand','2386248VgYvMK','isVisible','appendLoader','-9999px','innerHTML','AI\x20is\x20writing...','ck-hidden','ClipboardItem','copyButtonView','position','233211NPYOOD','294572sGldsx','<span>[</span>','ck-ai-form__content-area-wrapper','ck-ai-form__content-area','scrollTo','addRange','contentFieldView','createRange','textContent','copy','ck-ai-form__content-field','37086OsVQXb','check','set','<span>]</span>','_copyHTMLToClipboard','text/html','removeAllRanges','getSelection','focus','isEnabled','class','element','bindTemplate','write','clipboard','1821680uUUAcN','20zylrOt'];_0x3658=function(){return _0x18742f;};return _0x3658();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x29bb36,_0x265df0){const _0x18ef2a=_0x49c3,_0x1519e0=_0x29bb36();while(!![]){try{const _0x8bdf0c=parseInt(_0x18ef2a(0x1dc))/0x1+parseInt(_0x18ef2a(0x1d1))/0x2*(-parseInt(_0x18ef2a(0x1dd))/0x3)+-parseInt(_0x18ef2a(0x1d4))/0x4+parseInt(_0x18ef2a(0x1d5))/0x5+parseInt(_0x18ef2a(0x1cf))/0x6*(parseInt(_0x18ef2a(0x1d6))/0x7)+parseInt(_0x18ef2a(0x1db))/0x8*(parseInt(_0x18ef2a(0x1d0))/0x9)+parseInt(_0x18ef2a(0x1de))/0xa*(parseInt(_0x18ef2a(0x1da))/0xb);if(_0x8bdf0c===_0x265df0)break;else _0x1519e0['push'](_0x1519e0['shift']());}catch(_0x3fe948){_0x1519e0['push'](_0x1519e0['shift']());}}}(_0x5216,0x37d09));function _0x5216(){const _0x39eefb=['911280oSSuXR','1203660Uamlbz','42UWqbHv','content','bindTemplate','text','64273FeFaOx','22520QeZoZK','217133vmqLbl','411789igzXqo','70YBixxZ','div','setTemplate','4854GziRUE','288BmFsbO','2MDwfMk','set','ck-ai-form__error'];_0x5216=function(){return _0x39eefb;};return _0x5216();}function _0x49c3(_0x5f7d81,_0xd73c38){const _0x52160e=_0x5216();return _0x49c3=function(_0x49c3fe,_0x1eb203){_0x49c3fe=_0x49c3fe-0x1cf;let _0x2d7f93=_0x52160e[_0x49c3fe];return _0x2d7f93;},_0x49c3(_0x5f7d81,_0xd73c38);}import{View as _0x6233a6,IconView as _0x19cee1}from'ckeditor5/src/ui.js';import _0x257248 from'../../../theme/icons/error.svg';export default class ot extends _0x6233a6{constructor(_0x1ed954,_0xaf2f13=''){const _0x422982=_0x49c3;super(_0x1ed954);const _0x3ff095=new _0x19cee1(),_0x4a1872=this[_0x422982(0x1d8)];this[_0x422982(0x1d2)](_0x422982(0x1d9),_0xaf2f13),_0x3ff095[_0x422982(0x1d7)]=_0x257248,this[_0x422982(0x1e0)]({'tag':_0x422982(0x1df),'attributes':{'class':['ck',_0x422982(0x1d3)]},'children':[_0x3ff095,{'text':_0x4a1872['to'](_0x422982(0x1d9))}]});}}
23
+ function _0x1141(){const _0x36ea70=['138018lmqAcb','28jelgHL','ck-ai-form__error','5313szfpMl','setTemplate','36066SWxcQe','set','div','bindTemplate','content','7112100ciSOgH','22818kBmKfi','9mktxnQ','10YCVPWv','35930xudEaF','1519xZEvRc','6546424UExJPX','47399772rwtDTw','text'];_0x1141=function(){return _0x36ea70;};return _0x1141();}function _0x2805(_0x376537,_0x59e0d8){const _0x11417f=_0x1141();return _0x2805=function(_0x2805b2,_0x168510){_0x2805b2=_0x2805b2-0x110;let _0x29206c=_0x11417f[_0x2805b2];return _0x29206c;},_0x2805(_0x376537,_0x59e0d8);}(function(_0x4c15bd,_0x36a2d3){const _0x350d42=_0x2805,_0x273a51=_0x4c15bd();while(!![]){try{const _0x53b5b3=parseInt(_0x350d42(0x11e))/0x1*(-parseInt(_0x350d42(0x11c))/0x2)+parseInt(_0x350d42(0x111))/0x3*(-parseInt(_0x350d42(0x112))/0x4)+parseInt(_0x350d42(0x11b))/0x5+-parseInt(_0x350d42(0x116))/0x6*(-parseInt(_0x350d42(0x120))/0x7)+-parseInt(_0x350d42(0x121))/0x8*(-parseInt(_0x350d42(0x11d))/0x9)+parseInt(_0x350d42(0x11f))/0xa*(parseInt(_0x350d42(0x114))/0xb)+-parseInt(_0x350d42(0x122))/0xc;if(_0x53b5b3===_0x36a2d3)break;else _0x273a51['push'](_0x273a51['shift']());}catch(_0x4890da){_0x273a51['push'](_0x273a51['shift']());}}}(_0x1141,0xda5d0));import{View as _0x5839ed,IconView as _0xa8b9a7}from'ckeditor5/src/ui.js';import _0x54c5a4 from'../../../theme/icons/error.svg';export default class ot extends _0x5839ed{constructor(_0x501642,_0x1f80a3=''){const _0xe4e9f2=_0x2805;super(_0x501642);const _0x5662dd=new _0xa8b9a7(),_0x3e8afa=this[_0xe4e9f2(0x119)];this[_0xe4e9f2(0x117)](_0xe4e9f2(0x110),_0x1f80a3),_0x5662dd[_0xe4e9f2(0x11a)]=_0x54c5a4,this[_0xe4e9f2(0x115)]({'tag':_0xe4e9f2(0x118),'attributes':{'class':['ck',_0xe4e9f2(0x113)]},'children':[_0x5662dd,{'text':_0x3e8afa['to'](_0xe4e9f2(0x110))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8ae6e4=_0x387c;(function(_0x17f4a3,_0x593f0b){const _0x1f4795=_0x387c,_0x342d29=_0x17f4a3();while(!![]){try{const _0x13d55d=parseInt(_0x1f4795(0x1f3))/0x1+-parseInt(_0x1f4795(0x1fa))/0x2*(parseInt(_0x1f4795(0x1f9))/0x3)+parseInt(_0x1f4795(0x21b))/0x4*(-parseInt(_0x1f4795(0x21d))/0x5)+parseInt(_0x1f4795(0x1ff))/0x6+-parseInt(_0x1f4795(0x20b))/0x7*(-parseInt(_0x1f4795(0x208))/0x8)+-parseInt(_0x1f4795(0x219))/0x9*(-parseInt(_0x1f4795(0x200))/0xa)+parseInt(_0x1f4795(0x217))/0xb*(-parseInt(_0x1f4795(0x1e2))/0xc);if(_0x13d55d===_0x593f0b)break;else _0x342d29['push'](_0x342d29['shift']());}catch(_0x1b13a0){_0x342d29['push'](_0x342d29['shift']());}}}(_0xb9ad,0xf368b));function _0x387c(_0x272585,_0x3bce34){const _0xb9ad89=_0xb9ad();return _0x387c=function(_0x387ccd,_0x4f4432){_0x387ccd=_0x387ccd-0x1e2;let _0x229684=_0xb9ad89[_0x387ccd];return _0x229684;},_0x387c(_0x272585,_0x3bce34);}function _0xb9ad(){const _0x2a4e26=['enter','requestAnimationFrame','resultsView','3268463pIoIJD','submitButtonView','4869819cyusns','right','7436utzpOX','isEmpty','3025vOLzsN','window','48JPqGkc','_createSubmitButton','History','queryView','_createShowHistoryButton','bind','focus','ck-ai-form__submit','fieldView','locale','minRows','submit','value','rtl','element','uiLanguageDirection','update','1048917ienFty','ck-ai-form__toggle-history','keystrokes','isOn','render','focusCycler','489FMwaIc','7284zOfPlm','maxRows','target','history','fieldWrapperChildren','8044968SvUgSJ','20FHPBxH','width','isEnabled','execute','focusLast','excludeScrollbarsAndBorders','Submit','set','3455592dLmKrj','showHistoryButtonView','add','7SFWgCL','focusableChildren','children','isVisible','focusFirst','style','filteredView','fire','left'];_0xb9ad=function(){return _0x2a4e26;};return _0xb9ad();}import{Rect as _0x26f414,global as _0x929d9d,isVisible as _0x4654f3}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x392fff,ButtonView as _0xc67ef0}from'ckeditor5/src/ui.js';import{icons as _0x5b6ae2}from'ckeditor5/src/core.js';import{getTranslation as _0x397bd6}from'../../utils/common-translations.js';import _0x508fce from'../../../theme/icons/submit.svg';export default class lt extends _0x392fff{constructor(_0x28de08,_0x12198e){const _0x388a67=_0x387c;super(_0x28de08,_0x12198e),this[_0x388a67(0x1e5)][_0x388a67(0x1ea)][_0x388a67(0x1ec)]=0x1,this[_0x388a67(0x1e5)][_0x388a67(0x1ea)][_0x388a67(0x1fb)]=0x3,this[_0x388a67(0x218)]=this[_0x388a67(0x1e3)](),this[_0x388a67(0x209)]=this[_0x388a67(0x1e6)](),this[_0x388a67(0x20c)][_0x388a67(0x20a)](this[_0x388a67(0x209)],0x1),this[_0x388a67(0x20c)][_0x388a67(0x20a)](this[_0x388a67(0x218)]);}[_0x8ae6e4(0x1f7)](){const _0x3c0634=_0x8ae6e4;super[_0x3c0634(0x1f7)](),this[_0x3c0634(0x1e5)][_0x3c0634(0x1fe)][_0x3c0634(0x20a)](this[_0x3c0634(0x209)]),this[_0x3c0634(0x20d)][_0x3c0634(0x20a)](this[_0x3c0634(0x218)]),this[_0x3c0634(0x1f5)][_0x3c0634(0x207)](_0x3c0634(0x214),(_0x1a175d,_0x2603d0)=>{const _0x4321b9=_0x3c0634;_0x1a175d[_0x4321b9(0x1fc)]==this[_0x4321b9(0x1e5)][_0x4321b9(0x1ea)][_0x4321b9(0x1f0)]&&(this[_0x4321b9(0x1ed)](),_0x2603d0());});}[_0x8ae6e4(0x1e3)](){const _0x172cbe=_0x8ae6e4,_0x50c494=new _0xc67ef0(this[_0x172cbe(0x1eb)]),_0xec7a6d=this[_0x172cbe(0x1eb)];return _0x50c494[_0x172cbe(0x207)]({'icon':_0x508fce,'label':_0x397bd6(_0xec7a6d,_0x172cbe(0x206)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x172cbe(0x1e9)}),_0x50c494['on'](_0x172cbe(0x203),()=>{const _0x56fdc3=_0x172cbe;this[_0x56fdc3(0x1ed)]();}),_0x50c494[_0x172cbe(0x1e7)](_0x172cbe(0x202))['to'](this[_0x172cbe(0x1e5)][_0x172cbe(0x1ea)],_0x172cbe(0x21c),this,_0x172cbe(0x202),(_0x255e74,_0x77bfd6)=>!_0x255e74&&_0x77bfd6),_0x50c494;}[_0x8ae6e4(0x1e6)](){const _0x32fdf5=_0x8ae6e4,_0x2675e0=new _0xc67ef0(this[_0x32fdf5(0x1eb)]),_0x1eedbd=this[_0x32fdf5(0x216)],_0x41be89=this[_0x32fdf5(0x1eb)];_0x2675e0[_0x32fdf5(0x207)]({'label':_0x397bd6(_0x41be89,_0x32fdf5(0x1e4)),'withText':!0x1,'icon':_0x5b6ae2[_0x32fdf5(0x1fd)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x32fdf5(0x1f4)}),_0x2675e0[_0x32fdf5(0x1e7)](_0x32fdf5(0x1f6))['to'](_0x1eedbd,_0x32fdf5(0x20e)),_0x2675e0[_0x32fdf5(0x1e7)](_0x32fdf5(0x202))['to'](this,_0x32fdf5(0x202)),_0x2675e0['on'](_0x32fdf5(0x203),()=>{const _0x4c59f3=_0x32fdf5;_0x1eedbd[_0x4c59f3(0x20e)]=!_0x1eedbd[_0x4c59f3(0x20e)],_0x1eedbd[_0x4c59f3(0x20e)]?this[_0x4c59f3(0x211)][_0x4c59f3(0x1e8)]():this[_0x4c59f3(0x1e8)]();});const _0x40c8f8=()=>{const _0x346c8d=_0x32fdf5;_0x929d9d[_0x346c8d(0x21e)][_0x346c8d(0x215)](()=>{const _0x1060cc=_0x346c8d;if(_0x4654f3(this[_0x1060cc(0x1f0)])){const _0x59d242=new _0x26f414(this[_0x1060cc(0x1e5)][_0x1060cc(0x1ea)][_0x1060cc(0x1f0)]),_0x3ab17f=_0x59d242[_0x1060cc(0x201)],_0x1fb048=_0x1060cc(0x1ef)===_0x41be89[_0x1060cc(0x1f1)]?_0x1060cc(0x213):_0x1060cc(0x21a);_0x59d242[_0x1060cc(0x205)](),_0x2675e0[_0x1060cc(0x1f0)][_0x1060cc(0x210)][_0x1fb048]=_0x3ab17f-_0x59d242[_0x1060cc(0x201)]+0x1+'px';}});};return this[_0x32fdf5(0x1e5)][_0x32fdf5(0x1ea)]['on'](_0x32fdf5(0x1f2),_0x40c8f8),this['on'](_0x32fdf5(0x1f7),_0x40c8f8),_0x2675e0;}[_0x8ae6e4(0x1ed)](){const _0x100e83=_0x8ae6e4,_0x14a8be=this[_0x100e83(0x1e5)][_0x100e83(0x1ea)][_0x100e83(0x1f0)][_0x100e83(0x1ee)];this[_0x100e83(0x212)](_0x100e83(0x1ed),_0x14a8be);}[_0x8ae6e4(0x1e8)](_0x5608dc){const _0x24dda4=_0x8ae6e4;-0x1===_0x5608dc?this[_0x24dda4(0x1f8)][_0x24dda4(0x204)]():this[_0x24dda4(0x1f8)][_0x24dda4(0x20f)]();}}
23
+ const _0x5022b3=_0x90f0;function _0x90f0(_0x13c82c,_0x5dc182){const _0x16ccf4=_0x16cc();return _0x90f0=function(_0x90f09e,_0xf844c8){_0x90f09e=_0x90f09e-0x1ed;let _0x3e55db=_0x16ccf4[_0x90f09e];return _0x3e55db;},_0x90f0(_0x13c82c,_0x5dc182);}(function(_0x4b244e,_0x46809f){const _0x281c46=_0x90f0,_0x3740dd=_0x4b244e();while(!![]){try{const _0x1a6f50=-parseInt(_0x281c46(0x226))/0x1+parseInt(_0x281c46(0x1fd))/0x2*(parseInt(_0x281c46(0x1fe))/0x3)+parseInt(_0x281c46(0x224))/0x4*(parseInt(_0x281c46(0x207))/0x5)+-parseInt(_0x281c46(0x1ee))/0x6+-parseInt(_0x281c46(0x1f7))/0x7+parseInt(_0x281c46(0x1fa))/0x8+-parseInt(_0x281c46(0x20f))/0x9;if(_0x1a6f50===_0x46809f)break;else _0x3740dd['push'](_0x3740dd['shift']());}catch(_0x65f23a){_0x3740dd['push'](_0x3740dd['shift']());}}}(_0x16cc,0x428ca));import{Rect as _0x7cadec,global as _0x9f3efc,isVisible as _0x1817cc}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x4899ef,ButtonView as _0x27dc89}from'ckeditor5/src/ui.js';import{icons as _0x82e2e9}from'ckeditor5/src/core.js';import{getTranslation as _0x53d36e}from'../../utils/common-translations.js';function _0x16cc(){const _0x7e64b3=['fire','target','4eKxExH','showHistoryButtonView','708oTdEcJ','isEmpty','3092934faFKsy','execute','update','focus','element','left','add','bind','maxRows','228781jYcges','rtl','value','4288312JWtElp','submitButtonView','locale','2jFwYhb','1453026qXLpEF','requestAnimationFrame','keystrokes','filteredView','History','set','isVisible','focusCycler','Submit','576235tnBNTF','uiLanguageDirection','right','resultsView','focusLast','ck-ai-form__toggle-history','enter','excludeScrollbarsAndBorders','2827458khdSLA','ck-ai-form__submit','style','submit','history','width','children','focusFirst','_createSubmitButton','fieldView','window','isOn','fieldWrapperChildren','_createShowHistoryButton','focusableChildren','render','queryView','minRows','isEnabled'];_0x16cc=function(){return _0x7e64b3;};return _0x16cc();}import _0x362776 from'../../../theme/icons/submit.svg';export default class lt extends _0x4899ef{constructor(_0x261822,_0x581ed7){const _0x24fcee=_0x90f0;super(_0x261822,_0x581ed7),this[_0x24fcee(0x21f)][_0x24fcee(0x218)][_0x24fcee(0x220)]=0x1,this[_0x24fcee(0x21f)][_0x24fcee(0x218)][_0x24fcee(0x1f6)]=0x3,this[_0x24fcee(0x1fb)]=this[_0x24fcee(0x217)](),this[_0x24fcee(0x225)]=this[_0x24fcee(0x21c)](),this[_0x24fcee(0x21d)][_0x24fcee(0x1f4)](this[_0x24fcee(0x225)],0x1),this[_0x24fcee(0x21d)][_0x24fcee(0x1f4)](this[_0x24fcee(0x1fb)]);}[_0x5022b3(0x21e)](){const _0x21c284=_0x5022b3;super[_0x21c284(0x21e)](),this[_0x21c284(0x21f)][_0x21c284(0x21b)][_0x21c284(0x1f4)](this[_0x21c284(0x225)]),this[_0x21c284(0x215)][_0x21c284(0x1f4)](this[_0x21c284(0x1fb)]),this[_0x21c284(0x200)][_0x21c284(0x203)](_0x21c284(0x20d),(_0x5872b4,_0x528346)=>{const _0x39a592=_0x21c284;_0x5872b4[_0x39a592(0x223)]==this[_0x39a592(0x21f)][_0x39a592(0x218)][_0x39a592(0x1f2)]&&(this[_0x39a592(0x212)](),_0x528346());});}[_0x5022b3(0x217)](){const _0x27c10e=_0x5022b3,_0x385d6b=new _0x27dc89(this[_0x27c10e(0x1fc)]),_0x1c345c=this[_0x27c10e(0x1fc)];return _0x385d6b[_0x27c10e(0x203)]({'icon':_0x362776,'label':_0x53d36e(_0x1c345c,_0x27c10e(0x206)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x27c10e(0x210)}),_0x385d6b['on'](_0x27c10e(0x1ef),()=>{const _0x48fbc2=_0x27c10e;this[_0x48fbc2(0x212)]();}),_0x385d6b[_0x27c10e(0x1f5)](_0x27c10e(0x221))['to'](this[_0x27c10e(0x21f)][_0x27c10e(0x218)],_0x27c10e(0x1ed),this,_0x27c10e(0x221),(_0x438bba,_0x238625)=>!_0x438bba&&_0x238625),_0x385d6b;}[_0x5022b3(0x21c)](){const _0xc99987=_0x5022b3,_0x4beb5e=new _0x27dc89(this[_0xc99987(0x1fc)]),_0x2e4855=this[_0xc99987(0x20a)],_0x4f313a=this[_0xc99987(0x1fc)];_0x4beb5e[_0xc99987(0x203)]({'label':_0x53d36e(_0x4f313a,_0xc99987(0x202)),'withText':!0x1,'icon':_0x82e2e9[_0xc99987(0x213)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0xc99987(0x20c)}),_0x4beb5e[_0xc99987(0x1f5)](_0xc99987(0x21a))['to'](_0x2e4855,_0xc99987(0x204)),_0x4beb5e[_0xc99987(0x1f5)](_0xc99987(0x221))['to'](this,_0xc99987(0x221)),_0x4beb5e['on'](_0xc99987(0x1ef),()=>{const _0x5a29a7=_0xc99987;_0x2e4855[_0x5a29a7(0x204)]=!_0x2e4855[_0x5a29a7(0x204)],_0x2e4855[_0x5a29a7(0x204)]?this[_0x5a29a7(0x201)][_0x5a29a7(0x1f1)]():this[_0x5a29a7(0x1f1)]();});const _0x35301e=()=>{const _0x2730f1=_0xc99987;_0x9f3efc[_0x2730f1(0x219)][_0x2730f1(0x1ff)](()=>{const _0x1471bd=_0x2730f1;if(_0x1817cc(this[_0x1471bd(0x1f2)])){const _0x27fabd=new _0x7cadec(this[_0x1471bd(0x21f)][_0x1471bd(0x218)][_0x1471bd(0x1f2)]),_0x1e1aa0=_0x27fabd[_0x1471bd(0x214)],_0x2da8ce=_0x1471bd(0x1f8)===_0x4f313a[_0x1471bd(0x208)]?_0x1471bd(0x1f3):_0x1471bd(0x209);_0x27fabd[_0x1471bd(0x20e)](),_0x4beb5e[_0x1471bd(0x1f2)][_0x1471bd(0x211)][_0x2da8ce]=_0x1e1aa0-_0x27fabd[_0x1471bd(0x214)]+0x1+'px';}});};return this[_0xc99987(0x21f)][_0xc99987(0x218)]['on'](_0xc99987(0x1f0),_0x35301e),this['on'](_0xc99987(0x21e),_0x35301e),_0x4beb5e;}[_0x5022b3(0x212)](){const _0x175bc7=_0x5022b3,_0x53eb28=this[_0x175bc7(0x21f)][_0x175bc7(0x218)][_0x175bc7(0x1f2)][_0x175bc7(0x1f9)];this[_0x175bc7(0x222)](_0x175bc7(0x212),_0x53eb28);}[_0x5022b3(0x1f1)](_0xa36ad8){const _0x3d2f4=_0x5022b3;-0x1===_0xa36ad8?this[_0x3d2f4(0x205)][_0x3d2f4(0x20b)]():this[_0x3d2f4(0x205)][_0x3d2f4(0x216)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4190(){const _0x1ed865=['addMany','3712086EcAKZG','extendTemplate','Stop','bindTemplate','items','mainAction','isVisible','3431708KNImca','_createButton','REPLACE','6770872ifSjSD','label','insert','insertButton','stopButton','98451eIoGhI','Try\x20again','replaceButton','7851354bfUfxg','2426NBbyiy','set','7LAPxAi','Insert\x20below','ck-hidden','_CONTENT','replace','tryAgainButton','toUpperCase','bind','1249BSBUhM','AI_','locale','ck-ai-form__toolbar','421515yoHLjb','ck-button-action','1970oMMgCW'];_0x4190=function(){return _0x1ed865;};return _0x4190();}const _0xf93496=_0x3174;(function(_0x41d215,_0x3cbfab){const _0x1333b3=_0x3174,_0xc0b087=_0x41d215();while(!![]){try{const _0x549531=-parseInt(_0x1333b3(0x1d9))/0x1*(parseInt(_0x1333b3(0x1cf))/0x2)+-parseInt(_0x1333b3(0x1e1))/0x3+-parseInt(_0x1333b3(0x1e8))/0x4+parseInt(_0x1333b3(0x1dd))/0x5+parseInt(_0x1333b3(0x1ce))/0x6+parseInt(_0x1333b3(0x1d1))/0x7*(parseInt(_0x1333b3(0x1c6))/0x8)+-parseInt(_0x1333b3(0x1cb))/0x9*(-parseInt(_0x1333b3(0x1df))/0xa);if(_0x549531===_0x3cbfab)break;else _0xc0b087['push'](_0xc0b087['shift']());}catch(_0x4921ee){_0xc0b087['push'](_0xc0b087['shift']());}}}(_0x4190,0xbf606));function _0x3174(_0x57da41,_0x23ca97){const _0x41903b=_0x4190();return _0x3174=function(_0x3174b4,_0x4b7e13){_0x3174b4=_0x3174b4-0x1c4;let _0x1cebd4=_0x41903b[_0x3174b4];return _0x1cebd4;},_0x3174(_0x57da41,_0x23ca97);}import{ToolbarView as _0x10cb60,ButtonView as _0x5cb828}from'ckeditor5/src/ui.js';import{getTranslation as _0x1ac41c}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xf93496(0x1d5),'INSERT':_0xf93496(0x1c8)};export default class bt extends _0x10cb60{constructor(_0xf0b070){const _0x2741ee=_0xf93496;super(_0xf0b070),this[_0x2741ee(0x1d0)](_0x2741ee(0x1e7),!0x1),this[_0x2741ee(0x1d0)](_0x2741ee(0x1e6),AIFormToolbarViewMainActionLabel[_0x2741ee(0x1c5)]),this[_0x2741ee(0x1cd)]=this[_0x2741ee(0x1c4)]('',_0x2741ee(0x1de)),this[_0x2741ee(0x1cd)][_0x2741ee(0x1d8)](_0x2741ee(0x1c7))['to'](this,_0x2741ee(0x1e6),_0x484df0=>_0x1ac41c(_0xf0b070,_0x2741ee(0x1da)+_0x484df0[_0x2741ee(0x1d7)]()+_0x2741ee(0x1d4))),this[_0x2741ee(0x1c9)]=this[_0x2741ee(0x1c4)](_0x1ac41c(_0xf0b070,_0x2741ee(0x1d2))),this[_0x2741ee(0x1d6)]=this[_0x2741ee(0x1c4)](_0x1ac41c(_0xf0b070,_0x2741ee(0x1cc))),this[_0x2741ee(0x1ca)]=this[_0x2741ee(0x1c4)](_0x1ac41c(_0xf0b070,_0x2741ee(0x1e3)));const _0x2e96d4=this[_0x2741ee(0x1e4)];this[_0x2741ee(0x1e2)]({'attributes':{'class':[_0x2741ee(0x1dc),_0x2e96d4['if'](_0x2741ee(0x1e7),_0x2741ee(0x1d3),_0x3e5a51=>!_0x3e5a51)]}}),this[_0x2741ee(0x1e5)][_0x2741ee(0x1e0)]([this[_0x2741ee(0x1cd)],this[_0x2741ee(0x1c9)],this[_0x2741ee(0x1d6)],this[_0x2741ee(0x1ca)]]);}[_0xf93496(0x1c4)](_0x49a51f,_0x26cf0c){const _0x197726=_0xf93496,_0x86c3cf=new _0x5cb828(this[_0x197726(0x1db)]);return _0x86c3cf[_0x197726(0x1d0)]({'label':_0x49a51f,'class':_0x26cf0c||'','isVisible':!0x0,'withText':!0x0}),_0x86c3cf;}}
23
+ const _0x46360f=_0x23d3;function _0x52e2(){const _0x35dbb7=['items','ck-button-action','isVisible','extendTemplate','ck-hidden','bindTemplate','AI_','Try\x20again','insertButton','10507oLnjqP','50LJadjy','ck-ai-form__toolbar','set','bind','locale','REPLACE','addMany','stopButton','446408jiqqVL','Stop','38284DGeSga','_createButton','label','Insert\x20below','187380LjZAAV','mainAction','_CONTENT','replace','tryAgainButton','157311SXGzBJ','1544Cpjfla','toUpperCase','replaceButton','18uFcOyq','424254awqIVJ','1123550wIkwyw','insert'];_0x52e2=function(){return _0x35dbb7;};return _0x52e2();}(function(_0x52fbd1,_0x58cb9e){const _0x50b091=_0x23d3,_0x56df41=_0x52fbd1();while(!![]){try{const _0x31e991=parseInt(_0x50b091(0x1bf))/0x1+parseInt(_0x50b091(0x1d9))/0x2+-parseInt(_0x50b091(0x1df))/0x3+parseInt(_0x50b091(0x1db))/0x4*(parseInt(_0x50b091(0x1d1))/0x5)+-parseInt(_0x50b091(0x1c4))/0x6+parseInt(_0x50b091(0x1d0))/0x7*(-parseInt(_0x50b091(0x1c0))/0x8)+parseInt(_0x50b091(0x1c3))/0x9*(parseInt(_0x50b091(0x1c5))/0xa);if(_0x31e991===_0x58cb9e)break;else _0x56df41['push'](_0x56df41['shift']());}catch(_0x73403e){_0x56df41['push'](_0x56df41['shift']());}}}(_0x52e2,0x43e39));import{ToolbarView as _0x56428e,ButtonView as _0x2fa93f}from'ckeditor5/src/ui.js';import{getTranslation as _0x46c744}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x46360f(0x1e2),'INSERT':_0x46360f(0x1c6)};function _0x23d3(_0x16d4fd,_0x1ef0ca){const _0x52e2c7=_0x52e2();return _0x23d3=function(_0x23d3e9,_0x50b3de){_0x23d3e9=_0x23d3e9-0x1bf;let _0x2629c7=_0x52e2c7[_0x23d3e9];return _0x2629c7;},_0x23d3(_0x16d4fd,_0x1ef0ca);}export default class bt extends _0x56428e{constructor(_0x18688b){const _0x36d9a5=_0x46360f;super(_0x18688b),this[_0x36d9a5(0x1d3)](_0x36d9a5(0x1c9),!0x1),this[_0x36d9a5(0x1d3)](_0x36d9a5(0x1e0),AIFormToolbarViewMainActionLabel[_0x36d9a5(0x1d6)]),this[_0x36d9a5(0x1c2)]=this[_0x36d9a5(0x1dc)]('',_0x36d9a5(0x1c8)),this[_0x36d9a5(0x1c2)][_0x36d9a5(0x1d4)](_0x36d9a5(0x1dd))['to'](this,_0x36d9a5(0x1e0),_0x4825ac=>_0x46c744(_0x18688b,_0x36d9a5(0x1cd)+_0x4825ac[_0x36d9a5(0x1c1)]()+_0x36d9a5(0x1e1))),this[_0x36d9a5(0x1cf)]=this[_0x36d9a5(0x1dc)](_0x46c744(_0x18688b,_0x36d9a5(0x1de))),this[_0x36d9a5(0x1e3)]=this[_0x36d9a5(0x1dc)](_0x46c744(_0x18688b,_0x36d9a5(0x1ce))),this[_0x36d9a5(0x1d8)]=this[_0x36d9a5(0x1dc)](_0x46c744(_0x18688b,_0x36d9a5(0x1da)));const _0x57b09d=this[_0x36d9a5(0x1cc)];this[_0x36d9a5(0x1ca)]({'attributes':{'class':[_0x36d9a5(0x1d2),_0x57b09d['if'](_0x36d9a5(0x1c9),_0x36d9a5(0x1cb),_0x2e52cc=>!_0x2e52cc)]}}),this[_0x36d9a5(0x1c7)][_0x36d9a5(0x1d7)]([this[_0x36d9a5(0x1c2)],this[_0x36d9a5(0x1cf)],this[_0x36d9a5(0x1e3)],this[_0x36d9a5(0x1d8)]]);}[_0x46360f(0x1dc)](_0x5ecf34,_0xf567c8){const _0x356ef=_0x46360f,_0xfa3295=new _0x2fa93f(this[_0x356ef(0x1d5)]);return _0xfa3295[_0x356ef(0x1d3)]({'label':_0x5ecf34,'class':_0xf567c8||'','isVisible':!0x0,'withText':!0x0}),_0xfa3295;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d2ef5=_0x75e9;(function(_0x330bb8,_0x16016e){const _0xd48e5=_0x75e9,_0x3e50da=_0x330bb8();while(!![]){try{const _0x507d79=-parseInt(_0xd48e5(0x100))/0x1+-parseInt(_0xd48e5(0x137))/0x2+parseInt(_0xd48e5(0x12c))/0x3*(-parseInt(_0xd48e5(0x118))/0x4)+parseInt(_0xd48e5(0x135))/0x5+-parseInt(_0xd48e5(0x144))/0x6+-parseInt(_0xd48e5(0x127))/0x7+parseInt(_0xd48e5(0x12d))/0x8*(parseInt(_0xd48e5(0x122))/0x9);if(_0x507d79===_0x16016e)break;else _0x3e50da['push'](_0x3e50da['shift']());}catch(_0x15e472){_0x3e50da['push'](_0x3e50da['shift']());}}}(_0x5ad5,0x4c0bd));import{FocusTracker as _0x22328a,KeystrokeHandler as _0x353214}from'ckeditor5/src/utils.js';import{View as _0x2696c8,FocusCycler as _0x684b55,createLabeledTextarea as _0xcb69e4}from'ckeditor5/src/ui.js';function _0x5ad5(){const _0x3dfbfd=['promptView','isError','stopProcessing','Ask\x20AI\x20to\x20improve\x20generated\x20text','REPLACE','delegate','text','element','4lrIjpQ','div','_createHistoryView','ck-ai-form-content','handleError','bindTemplate','trim','queryView','value','mainAction','18EnAtnN','startProcessing','setTemplate','listenTo','Empty\x20history','1694252fVvvMy','prompt','errorView','focusLast','focusNext','979539rFTjLh','5628320eiIvmV','render','forwardCycle','fire','isVisible','items','replaceContent','shift\x20+\x20tab','1977490hPgZcw','reset','711826TbUoTO','Ask\x20AI\x20to\x20edit\x20or\x20generate','isEnabled','ck-hidden','insertContentBelow','focus','clear','high','tryAgainEvent','locale','_createToolbar','ck-ai-form','backwardCycle','3003120LSRmCy','bindTo','focusTracker','focusPrevious','toolbar','replaceButton','add','_focusables','createCollection','tab','stop','_promptHistory','set','submit','stopButton','copyButtonView','isProcessing','focusFirst','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','search','66111dgathP','fieldView','tryAgainButton','contentArea','insertButton','focusCycler','keystrokes','execute','bind','clearHistory','_createPromptView','historyGroupView','AI_ERROR_FAILED','label','finishProcessing','submitPrompt'];_0x5ad5=function(){return _0x3dfbfd;};return _0x5ad5();}function _0x75e9(_0x4a7def,_0x537a5a){const _0x5ad5ab=_0x5ad5();return _0x75e9=function(_0x75e959,_0x4cb46c){_0x75e959=_0x75e959-0xf5;let _0x58a758=_0x5ad5ab[_0x75e959];return _0x58a758;},_0x75e9(_0x4a7def,_0x537a5a);}import _0x93a95c,{AIFormToolbarViewMainActionLabel as _0x4ef024}from'./aiformtoolbarview.js';import _0x4c971b from'./aiformcontentarea.js';import _0x3b13c1 from'./aiformerrorview.js';import _0x4fd0a3 from'./aiformpromptview.js';import _0x1ee03f from'./aihistorylistview.js';import _0x49ccb1 from'./aihistorylistitemview.js';import _0x41a498 from'./prompthistory.js';import{getTranslation as _0x275a54}from'../../utils/common-translations.js';import{escape as _0x5dc69e}from'lodash-es';export default class v extends _0x2696c8{constructor(_0x194dc2,_0x28d50e,_0x1b9dd1=''){const _0x26fd0=_0x75e9;super(_0x194dc2),this[_0x26fd0(0xf8)](_0x26fd0(0x139),!0x0),this[_0x26fd0(0xf8)](_0x26fd0(0xfc),!0x1),this[_0x26fd0(0xf8)](_0x26fd0(0x128),''),this[_0x26fd0(0xf8)](_0x26fd0(0x120),''),this[_0x26fd0(0xf8)](_0x26fd0(0x111),!0x1),this[_0x26fd0(0xf8)](_0x26fd0(0x121),_0x4ef024[_0x26fd0(0x114)]),this[_0x26fd0(0xf7)]=new _0x41a498(),this[_0x26fd0(0x129)]=new _0x3b13c1(_0x194dc2),this[_0x26fd0(0x103)]=new _0x4c971b(_0x194dc2,_0x1b9dd1),this[_0x26fd0(0x103)][_0x26fd0(0x108)](_0x26fd0(0xfc))['to'](this),this[_0x26fd0(0x103)][_0x26fd0(0x108)](_0x26fd0(0x120))['to'](this),this[_0x26fd0(0x148)]=this[_0x26fd0(0x141)](),this[_0x26fd0(0x148)][_0x26fd0(0x108)](_0x26fd0(0x121))['to'](this),this[_0x26fd0(0x110)]=this[_0x26fd0(0x10a)](),this[_0x26fd0(0x146)]=new _0x22328a(),this[_0x26fd0(0x106)]=new _0x353214(),this[_0x26fd0(0x14b)]=this[_0x26fd0(0x14c)]([this[_0x26fd0(0x103)],this[_0x26fd0(0x103)][_0x26fd0(0xfb)],this[_0x26fd0(0x148)],this[_0x26fd0(0x110)]]),this[_0x26fd0(0x105)]=new _0x684b55({'focusables':this[_0x26fd0(0x14b)],'focusTracker':this[_0x26fd0(0x146)],'keystrokeHandler':this[_0x26fd0(0x106)],'actions':{'focusPrevious':_0x26fd0(0x134),'focusNext':_0x26fd0(0xf5)}}),this[_0x26fd0(0x110)][_0x26fd0(0x105)]['on'](_0x26fd0(0x12f),_0x497f5e=>{const _0x1cbdfa=_0x26fd0;this[_0x1cbdfa(0x105)][_0x1cbdfa(0x12b)](),_0x497f5e[_0x1cbdfa(0xf6)]();}),this[_0x26fd0(0x110)][_0x26fd0(0x105)]['on'](_0x26fd0(0x143),_0x1929dc=>{const _0x46daf1=_0x26fd0;this[_0x46daf1(0x105)][_0x46daf1(0x147)](),_0x1929dc[_0x46daf1(0xf6)]();}),this[_0x26fd0(0x110)][_0x26fd0(0x11f)][_0x26fd0(0x101)][_0x26fd0(0x108)](_0x26fd0(0x120))['to'](this,_0x26fd0(0x128));const _0x298891=this[_0x26fd0(0x11d)];this[_0x26fd0(0x124)]({'tag':_0x26fd0(0x119),'attributes':{'class':['ck',_0x26fd0(0x142),_0x28d50e],'tabindex':'-1'},'children':[{'tag':_0x26fd0(0x119),'attributes':{'class':['ck',_0x26fd0(0x11b)]},'children':[{'tag':_0x26fd0(0x119),'attributes':{'class':[_0x298891['if'](_0x26fd0(0x111),_0x26fd0(0x13a),_0x75b71=>!_0x75b71)]},'children':[this[_0x26fd0(0x129)]]},this[_0x26fd0(0x103)],this[_0x26fd0(0x148)],this[_0x26fd0(0x110)]]}]});}[_0x1d2ef5(0x12e)](){const _0x2afe11=_0x1d2ef5;super[_0x2afe11(0x12e)](),this[_0x2afe11(0x146)][_0x2afe11(0x14a)](this[_0x2afe11(0x103)][_0x2afe11(0x117)]),this[_0x2afe11(0x146)][_0x2afe11(0x14a)](this[_0x2afe11(0x103)][_0x2afe11(0xfb)][_0x2afe11(0x117)]),this[_0x2afe11(0x146)][_0x2afe11(0x14a)](this[_0x2afe11(0x148)][_0x2afe11(0x117)]),this[_0x2afe11(0x146)][_0x2afe11(0x14a)](this[_0x2afe11(0x110)][_0x2afe11(0x117)]),this[_0x2afe11(0x106)][_0x2afe11(0x125)](this[_0x2afe11(0x117)]);}[_0x1d2ef5(0x13c)](_0x38b4ef=0x1){const _0x56a44f=_0x1d2ef5;-0x1===_0x38b4ef?this[_0x56a44f(0x105)][_0x56a44f(0x12a)]():this[_0x56a44f(0x105)][_0x56a44f(0xfd)]();}[_0x1d2ef5(0x136)](){const _0x194d04=_0x1d2ef5;this[_0x194d04(0x128)]='',this[_0x194d04(0x120)]='',this[_0x194d04(0x111)]=!0x1,this[_0x194d04(0x110)][_0x194d04(0x136)](),this[_0x194d04(0x103)][_0x194d04(0x131)]=!0x1,this[_0x194d04(0x148)][_0x194d04(0x131)]=!0x1;}[_0x1d2ef5(0x10a)](){const _0x2d225b=_0x1d2ef5,_0x2e9e2d=this[_0x2d225b(0x140)],_0x5b9ba5=new _0x4fd0a3(_0x2e9e2d,{'queryView':{'label':_0x275a54(_0x2e9e2d,_0x2d225b(0x138)),'creator':_0xcb69e4,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x275a54(_0x2e9e2d,_0x2d225b(0x126)),'secondary':_0x275a54(_0x2e9e2d,_0x2d225b(0xfe))}}},'filteredView':this[_0x2d225b(0x11a)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5b9ba5[_0x2d225b(0x108)](_0x2d225b(0x139))['to'](this,_0x2d225b(0x139),this,_0x2d225b(0xfc),(_0x998797,_0x541360)=>_0x998797&&!_0x541360),this[_0x2d225b(0x125)](_0x5b9ba5,_0x2d225b(0xf9),(_0x159b4e,_0x4ae67a)=>{const _0x1cf82e=_0x2d225b;this[_0x1cf82e(0x128)]=_0x4ae67a;const _0x2b0c97=_0x5dc69e(_0x4ae67a);this[_0x1cf82e(0x130)](_0x1cf82e(0x10f),_0x2b0c97),_0x4ae67a[_0x1cf82e(0x11e)]()&&this[_0x1cf82e(0xf7)][_0x1cf82e(0x14a)]({'prompt':_0x2b0c97},0x0);},{'priority':_0x2d225b(0x13e)}),_0x5b9ba5;}[_0x1d2ef5(0x11a)](){const _0x42a334=_0x1d2ef5,_0x59024a=new _0x1ee03f(this[_0x42a334(0x140)]);return _0x59024a[_0x42a334(0x10b)][_0x42a334(0x132)][_0x42a334(0x145)](this[_0x42a334(0xf7)])['as'](_0x49ccb1),_0x59024a['on'](_0x42a334(0x109),()=>{const _0x5b765d=_0x42a334;this[_0x5b765d(0xf7)][_0x5b765d(0x13d)](),this[_0x5b765d(0x110)][_0x5b765d(0xff)](''),this[_0x5b765d(0x110)][_0x5b765d(0x13c)]();}),_0x59024a;}[_0x1d2ef5(0x141)](){const _0x1565d4=_0x1d2ef5,_0x14fe4f=new _0x93a95c(this[_0x1565d4(0x140)]);return _0x14fe4f[_0x1565d4(0x149)][_0x1565d4(0x108)](_0x1565d4(0x139))['to'](this,_0x1565d4(0x139),this,_0x1565d4(0xfc),this,_0x1565d4(0x120),(_0x31e0d6,_0x14f063,_0x2895fb)=>_0x31e0d6&&!_0x14f063&&!!_0x2895fb),_0x14fe4f[_0x1565d4(0x149)][_0x1565d4(0x115)](_0x1565d4(0x107))['to'](this,_0x1565d4(0x133)),_0x14fe4f[_0x1565d4(0x104)][_0x1565d4(0x108)](_0x1565d4(0x139))['to'](this,_0x1565d4(0x139),this,_0x1565d4(0xfc),this,_0x1565d4(0x120),(_0x5c9155,_0x5da762,_0x2560de)=>_0x5c9155&&!_0x5da762&&!!_0x2560de),_0x14fe4f[_0x1565d4(0x104)][_0x1565d4(0x115)](_0x1565d4(0x107))['to'](this,_0x1565d4(0x13b)),_0x14fe4f[_0x1565d4(0x102)][_0x1565d4(0x108)](_0x1565d4(0x139))['to'](this,_0x1565d4(0x139),this,_0x1565d4(0xfc),(_0x426473,_0x34a134)=>_0x426473&&!_0x34a134),_0x14fe4f[_0x1565d4(0x102)][_0x1565d4(0x115)](_0x1565d4(0x107))['to'](this,_0x1565d4(0x13f)),_0x14fe4f[_0x1565d4(0xfa)][_0x1565d4(0x108)](_0x1565d4(0x139))['to'](this,_0x1565d4(0xfc)),_0x14fe4f[_0x1565d4(0xfa)][_0x1565d4(0x115)](_0x1565d4(0x107))['to'](this,_0x1565d4(0x112)),_0x14fe4f;}[_0x1d2ef5(0x123)](){const _0x3fb464=_0x1d2ef5;this[_0x3fb464(0x120)]='',this[_0x3fb464(0x111)]=!0x1,this[_0x3fb464(0xfc)]=!0x0,this[_0x3fb464(0x103)][_0x3fb464(0x131)]=!0x0,this[_0x3fb464(0x148)][_0x3fb464(0x131)]=!0x0,this[_0x3fb464(0x103)][_0x3fb464(0x13c)]();}[_0x1d2ef5(0x10e)](){const _0x2e53d4=_0x1d2ef5,_0x1c15e1=this[_0x2e53d4(0x140)];this[_0x2e53d4(0xfc)]=!0x1,this[_0x2e53d4(0x128)]='',this[_0x2e53d4(0x110)][_0x2e53d4(0x136)](),this[_0x2e53d4(0x120)]&&(this[_0x2e53d4(0x110)][_0x2e53d4(0x11f)][_0x2e53d4(0x10d)]=_0x275a54(_0x1c15e1,_0x2e53d4(0x113)));}[_0x1d2ef5(0x11c)](_0x3f9be6){const _0x5c6381=_0x1d2ef5,_0x3e45ae=this[_0x5c6381(0x140)];this[_0x5c6381(0x10e)](),this[_0x5c6381(0x111)]=!0x0,this[_0x5c6381(0x129)][_0x5c6381(0x116)]=_0x3f9be6||_0x275a54(_0x3e45ae,_0x5c6381(0x10c)),this[_0x5c6381(0x120)]||(this[_0x5c6381(0x103)][_0x5c6381(0x131)]=!0x1);}}
23
+ const _0x46c076=_0x238b;(function(_0xc6d090,_0x4ccc41){const _0x301e05=_0x238b,_0xbf0a1b=_0xc6d090();while(!![]){try{const _0x502a69=-parseInt(_0x301e05(0x1ab))/0x1*(parseInt(_0x301e05(0x15f))/0x2)+-parseInt(_0x301e05(0x172))/0x3*(parseInt(_0x301e05(0x1a9))/0x4)+parseInt(_0x301e05(0x19b))/0x5+parseInt(_0x301e05(0x18e))/0x6*(-parseInt(_0x301e05(0x171))/0x7)+parseInt(_0x301e05(0x166))/0x8*(parseInt(_0x301e05(0x163))/0x9)+parseInt(_0x301e05(0x1a4))/0xa+-parseInt(_0x301e05(0x1af))/0xb*(-parseInt(_0x301e05(0x168))/0xc);if(_0x502a69===_0x4ccc41)break;else _0xbf0a1b['push'](_0xbf0a1b['shift']());}catch(_0x1f6fab){_0xbf0a1b['push'](_0xbf0a1b['shift']());}}}(_0x41c4,0x814ed));import{FocusTracker as _0x4cebe5,KeystrokeHandler as _0x57322a}from'ckeditor5/src/utils.js';import{View as _0x3d0b7a,FocusCycler as _0x50905c,createLabeledTextarea as _0x3efe76}from'ckeditor5/src/ui.js';import _0x3eb05e,{AIFormToolbarViewMainActionLabel as _0x553815}from'./aiformtoolbarview.js';import _0x361467 from'./aiformcontentarea.js';import _0x5a37e2 from'./aiformerrorview.js';import _0x433588 from'./aiformpromptview.js';function _0x238b(_0x2b23f9,_0x76a63){const _0x41c467=_0x41c4();return _0x238b=function(_0x238b66,_0x3f29c4){_0x238b66=_0x238b66-0x157;let _0x152405=_0x41c467[_0x238b66];return _0x152405;},_0x238b(_0x2b23f9,_0x76a63);}import _0x212e11 from'./aihistorylistview.js';import _0xa1b5a4 from'./aihistorylistitemview.js';import _0x2a5f4 from'./prompthistory.js';import{getTranslation as _0x59e513}from'../../utils/common-translations.js';import{escape as _0x2de50b}from'lodash-es';export default class v extends _0x3d0b7a{constructor(_0x53db0e,_0x32137b,_0x54a1c3=''){const _0x431cbe=_0x238b;super(_0x53db0e),this[_0x431cbe(0x160)](_0x431cbe(0x198),!0x0),this[_0x431cbe(0x160)](_0x431cbe(0x180),!0x1),this[_0x431cbe(0x160)](_0x431cbe(0x174),''),this[_0x431cbe(0x160)](_0x431cbe(0x164),''),this[_0x431cbe(0x160)](_0x431cbe(0x17e),!0x1),this[_0x431cbe(0x160)](_0x431cbe(0x1a8),_0x553815[_0x431cbe(0x184)]),this[_0x431cbe(0x193)]=new _0x2a5f4(),this[_0x431cbe(0x183)]=new _0x5a37e2(_0x53db0e),this[_0x431cbe(0x1ae)]=new _0x361467(_0x53db0e,_0x54a1c3),this[_0x431cbe(0x1ae)][_0x431cbe(0x1b1)](_0x431cbe(0x180))['to'](this),this[_0x431cbe(0x1ae)][_0x431cbe(0x1b1)](_0x431cbe(0x164))['to'](this),this[_0x431cbe(0x157)]=this[_0x431cbe(0x17f)](),this[_0x431cbe(0x157)][_0x431cbe(0x1b1)](_0x431cbe(0x1a8))['to'](this),this[_0x431cbe(0x188)]=this[_0x431cbe(0x16a)](),this[_0x431cbe(0x19d)]=new _0x4cebe5(),this[_0x431cbe(0x15a)]=new _0x57322a(),this[_0x431cbe(0x16e)]=this[_0x431cbe(0x187)]([this[_0x431cbe(0x1ae)],this[_0x431cbe(0x1ae)][_0x431cbe(0x18d)],this[_0x431cbe(0x157)],this[_0x431cbe(0x188)]]),this[_0x431cbe(0x176)]=new _0x50905c({'focusables':this[_0x431cbe(0x16e)],'focusTracker':this[_0x431cbe(0x19d)],'keystrokeHandler':this[_0x431cbe(0x15a)],'actions':{'focusPrevious':_0x431cbe(0x19a),'focusNext':_0x431cbe(0x199)}}),this[_0x431cbe(0x188)][_0x431cbe(0x176)]['on'](_0x431cbe(0x190),_0x39ac1e=>{const _0x30229f=_0x431cbe;this[_0x30229f(0x176)][_0x30229f(0x1a6)](),_0x39ac1e[_0x30229f(0x165)]();}),this[_0x431cbe(0x188)][_0x431cbe(0x176)]['on'](_0x431cbe(0x195),_0x109bf2=>{const _0x102c68=_0x431cbe;this[_0x102c68(0x176)][_0x102c68(0x177)](),_0x109bf2[_0x102c68(0x165)]();}),this[_0x431cbe(0x188)][_0x431cbe(0x186)][_0x431cbe(0x1a2)][_0x431cbe(0x1b1)](_0x431cbe(0x164))['to'](this,_0x431cbe(0x174));const _0x3ed4d3=this[_0x431cbe(0x1ad)];this[_0x431cbe(0x17d)]({'tag':_0x431cbe(0x19c),'attributes':{'class':['ck',_0x431cbe(0x1a7),_0x32137b],'tabindex':'-1'},'children':[{'tag':_0x431cbe(0x19c),'attributes':{'class':['ck',_0x431cbe(0x16b)]},'children':[{'tag':_0x431cbe(0x19c),'attributes':{'class':[_0x3ed4d3['if'](_0x431cbe(0x17e),_0x431cbe(0x17b),_0x2f05d1=>!_0x2f05d1)]},'children':[this[_0x431cbe(0x183)]]},this[_0x431cbe(0x1ae)],this[_0x431cbe(0x157)],this[_0x431cbe(0x188)]]}]});}[_0x46c076(0x18b)](){const _0x90494e=_0x46c076;super[_0x90494e(0x18b)](),this[_0x90494e(0x19d)][_0x90494e(0x19f)](this[_0x90494e(0x1ae)][_0x90494e(0x1ac)]),this[_0x90494e(0x19d)][_0x90494e(0x19f)](this[_0x90494e(0x1ae)][_0x90494e(0x18d)][_0x90494e(0x1ac)]),this[_0x90494e(0x19d)][_0x90494e(0x19f)](this[_0x90494e(0x157)][_0x90494e(0x1ac)]),this[_0x90494e(0x19d)][_0x90494e(0x19f)](this[_0x90494e(0x188)][_0x90494e(0x1ac)]),this[_0x90494e(0x15a)][_0x90494e(0x167)](this[_0x90494e(0x1ac)]);}[_0x46c076(0x192)](_0xf4e5b3=0x1){const _0x2920fb=_0x46c076;-0x1===_0xf4e5b3?this[_0x2920fb(0x176)][_0x2920fb(0x15e)]():this[_0x2920fb(0x176)][_0x2920fb(0x189)]();}[_0x46c076(0x18f)](){const _0x597c47=_0x46c076;this[_0x597c47(0x174)]='',this[_0x597c47(0x164)]='',this[_0x597c47(0x17e)]=!0x1,this[_0x597c47(0x188)][_0x597c47(0x18f)](),this[_0x597c47(0x1ae)][_0x597c47(0x170)]=!0x1,this[_0x597c47(0x157)][_0x597c47(0x170)]=!0x1;}[_0x46c076(0x16a)](){const _0x138562=_0x46c076,_0x2e5d66=this[_0x138562(0x185)],_0xc7525a=new _0x433588(_0x2e5d66,{'queryView':{'label':_0x59e513(_0x2e5d66,_0x138562(0x175)),'creator':_0x3efe76,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x59e513(_0x2e5d66,_0x138562(0x1b0)),'secondary':_0x59e513(_0x2e5d66,_0x138562(0x1a3))}}},'filteredView':this[_0x138562(0x18c)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xc7525a[_0x138562(0x1b1)](_0x138562(0x198))['to'](this,_0x138562(0x198),this,_0x138562(0x180),(_0x104437,_0x20c204)=>_0x104437&&!_0x20c204),this[_0x138562(0x167)](_0xc7525a,_0x138562(0x182),(_0x186052,_0xc3bccb)=>{const _0x3104e1=_0x138562;this[_0x3104e1(0x174)]=_0xc3bccb;const _0x1d2d47=_0x2de50b(_0xc3bccb);this[_0x3104e1(0x15b)](_0x3104e1(0x16f),_0x1d2d47),_0xc3bccb[_0x3104e1(0x178)]()&&this[_0x3104e1(0x193)][_0x3104e1(0x19f)]({'prompt':_0x1d2d47},0x0);},{'priority':_0x138562(0x169)}),_0xc7525a;}[_0x46c076(0x18c)](){const _0x892c42=_0x46c076,_0x202ad8=new _0x212e11(this[_0x892c42(0x185)]);return _0x202ad8[_0x892c42(0x15d)][_0x892c42(0x161)][_0x892c42(0x191)](this[_0x892c42(0x193)])['as'](_0xa1b5a4),_0x202ad8['on'](_0x892c42(0x15c),()=>{const _0x2ced0f=_0x892c42;this[_0x2ced0f(0x193)][_0x2ced0f(0x18a)](),this[_0x2ced0f(0x188)][_0x2ced0f(0x162)](''),this[_0x2ced0f(0x188)][_0x2ced0f(0x192)]();}),_0x202ad8;}[_0x46c076(0x17f)](){const _0x4e43bb=_0x46c076,_0xa46f9=new _0x3eb05e(this[_0x4e43bb(0x185)]);return _0xa46f9[_0x4e43bb(0x16d)][_0x4e43bb(0x1b1)](_0x4e43bb(0x198))['to'](this,_0x4e43bb(0x198),this,_0x4e43bb(0x180),this,_0x4e43bb(0x164),(_0x2fb20f,_0x1c137e,_0x239d08)=>_0x2fb20f&&!_0x1c137e&&!!_0x239d08),_0xa46f9[_0x4e43bb(0x16d)][_0x4e43bb(0x19e)](_0x4e43bb(0x173))['to'](this,_0x4e43bb(0x1a5)),_0xa46f9[_0x4e43bb(0x16c)][_0x4e43bb(0x1b1)](_0x4e43bb(0x198))['to'](this,_0x4e43bb(0x198),this,_0x4e43bb(0x180),this,_0x4e43bb(0x164),(_0x57c34c,_0x1b7e02,_0xa1d657)=>_0x57c34c&&!_0x1b7e02&&!!_0xa1d657),_0xa46f9[_0x4e43bb(0x16c)][_0x4e43bb(0x19e)](_0x4e43bb(0x173))['to'](this,_0x4e43bb(0x1aa)),_0xa46f9[_0x4e43bb(0x158)][_0x4e43bb(0x1b1)](_0x4e43bb(0x198))['to'](this,_0x4e43bb(0x198),this,_0x4e43bb(0x180),(_0x33635b,_0x41b44b)=>_0x33635b&&!_0x41b44b),_0xa46f9[_0x4e43bb(0x158)][_0x4e43bb(0x19e)](_0x4e43bb(0x173))['to'](this,_0x4e43bb(0x159)),_0xa46f9[_0x4e43bb(0x197)][_0x4e43bb(0x1b1)](_0x4e43bb(0x198))['to'](this,_0x4e43bb(0x180)),_0xa46f9[_0x4e43bb(0x197)][_0x4e43bb(0x19e)](_0x4e43bb(0x173))['to'](this,_0x4e43bb(0x196)),_0xa46f9;}[_0x46c076(0x181)](){const _0x118ee3=_0x46c076;this[_0x118ee3(0x164)]='',this[_0x118ee3(0x17e)]=!0x1,this[_0x118ee3(0x180)]=!0x0,this[_0x118ee3(0x1ae)][_0x118ee3(0x170)]=!0x0,this[_0x118ee3(0x157)][_0x118ee3(0x170)]=!0x0,this[_0x118ee3(0x1ae)][_0x118ee3(0x192)]();}[_0x46c076(0x194)](){const _0x1825da=_0x46c076,_0x2daed1=this[_0x1825da(0x185)];this[_0x1825da(0x180)]=!0x1,this[_0x1825da(0x174)]='',this[_0x1825da(0x188)][_0x1825da(0x18f)](),this[_0x1825da(0x164)]&&(this[_0x1825da(0x188)][_0x1825da(0x186)][_0x1825da(0x179)]=_0x59e513(_0x2daed1,_0x1825da(0x1a0)));}[_0x46c076(0x1a1)](_0x3fca50){const _0x36b2fb=_0x46c076,_0x4e7b7a=this[_0x36b2fb(0x185)];this[_0x36b2fb(0x194)](),this[_0x36b2fb(0x17e)]=!0x0,this[_0x36b2fb(0x183)][_0x36b2fb(0x17c)]=_0x3fca50||_0x59e513(_0x4e7b7a,_0x36b2fb(0x17a)),this[_0x36b2fb(0x164)]||(this[_0x36b2fb(0x1ae)][_0x36b2fb(0x170)]=!0x1);}}function _0x41c4(){const _0x3a837f=['272206bfzvqc','Empty\x20history','bind','toolbar','tryAgainButton','tryAgainEvent','keystrokes','fire','clearHistory','historyGroupView','focusLast','68KMBNKA','set','items','search','3199131kwkApj','value','stop','16igrpSt','listenTo','60FKekha','high','_createPromptView','ck-ai-form-content','insertButton','replaceButton','_focusables','submitPrompt','isVisible','7FKvByI','3vKFqjY','execute','prompt','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusCycler','focusPrevious','trim','label','AI_ERROR_FAILED','ck-hidden','text','setTemplate','isError','_createToolbar','isProcessing','startProcessing','submit','errorView','REPLACE','locale','queryView','createCollection','promptView','focusFirst','clear','render','_createHistoryView','copyButtonView','6302028rPtRzU','reset','forwardCycle','bindTo','focus','_promptHistory','finishProcessing','backwardCycle','stopProcessing','stopButton','isEnabled','tab','shift\x20+\x20tab','2164130UqIFgM','div','focusTracker','delegate','add','Ask\x20AI\x20to\x20improve\x20generated\x20text','handleError','fieldView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','7992180bLxprO','replaceContent','focusNext','ck-ai-form','mainAction','793148KTjJGp','insertContentBelow','8483OIuCDx','element','bindTemplate','contentArea'];_0x41c4=function(){return _0x3a837f;};return _0x41c4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5410(_0x7c45d0,_0x4a69e2){const _0x4643f1=_0x4643();return _0x5410=function(_0x541063,_0x4569ed){_0x541063=_0x541063-0xcc;let _0x284c6c=_0x4643f1[_0x541063];return _0x284c6c;},_0x5410(_0x7c45d0,_0x4a69e2);}(function(_0x398999,_0x28917d){const _0x4a0f1b=_0x5410,_0x308c03=_0x398999();while(!![]){try{const _0x5fa2aa=parseInt(_0x4a0f1b(0xd5))/0x1+parseInt(_0x4a0f1b(0xcc))/0x2*(-parseInt(_0x4a0f1b(0xdb))/0x3)+-parseInt(_0x4a0f1b(0xd0))/0x4*(-parseInt(_0x4a0f1b(0xd3))/0x5)+parseInt(_0x4a0f1b(0xd8))/0x6+parseInt(_0x4a0f1b(0xd2))/0x7*(parseInt(_0x4a0f1b(0xcf))/0x8)+-parseInt(_0x4a0f1b(0xce))/0x9+-parseInt(_0x4a0f1b(0xdc))/0xa;if(_0x5fa2aa===_0x28917d)break;else _0x308c03['push'](_0x308c03['shift']());}catch(_0x3649fe){_0x308c03['push'](_0x308c03['shift']());}}}(_0x4643,0xb6e75));function _0x4643(){const _0x4ea8e3=['12246912kfZCkm','8twfyte','4VofQlR','execute','2840915RYISnS','6332255HtnXTu','children','903460auCHaJ','add','fire','7115994PosdkL','prompt','locale','32388uOeStJ','15978340auREMp','10otIfWd','set'];_0x4643=function(){return _0x4ea8e3;};return _0x4643();}import{ListItemView as _0x117057,ButtonView as _0x49ac5d}from'ckeditor5/src/ui.js';import _0x22f904 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x34e09e}from'lodash-es';export default class hs extends _0x117057{constructor(_0x3ce735){const _0x3d5646=_0x5410;super();const _0x44ec09=new _0x22f904(),_0x2ea8ae=new _0x49ac5d(this[_0x3d5646(0xda)],_0x44ec09);this[_0x3d5646(0xd4)][_0x3d5646(0xd6)](_0x2ea8ae),_0x2ea8ae[_0x3d5646(0xcd)]({'label':_0x3ce735[_0x3d5646(0xd9)],'withText':!0x0}),_0x2ea8ae['on'](_0x3d5646(0xd1),()=>{const _0x57ef6d=_0x3d5646;this[_0x57ef6d(0xd7)](_0x57ef6d(0xd1),{'value':_0x34e09e(_0x3ce735[_0x57ef6d(0xd9)])});});}}
23
+ (function(_0x11e95a,_0x3587c0){const _0x3c6a26=_0xa685,_0x230240=_0x11e95a();while(!![]){try{const _0x1149ec=parseInt(_0x3c6a26(0xe7))/0x1*(parseInt(_0x3c6a26(0xe3))/0x2)+-parseInt(_0x3c6a26(0xe5))/0x3*(parseInt(_0x3c6a26(0xe8))/0x4)+-parseInt(_0x3c6a26(0xe1))/0x5*(-parseInt(_0x3c6a26(0xe2))/0x6)+-parseInt(_0x3c6a26(0xe4))/0x7+parseInt(_0x3c6a26(0xdf))/0x8+parseInt(_0x3c6a26(0xed))/0x9+-parseInt(_0x3c6a26(0xe6))/0xa*(-parseInt(_0x3c6a26(0xe9))/0xb);if(_0x1149ec===_0x3587c0)break;else _0x230240['push'](_0x230240['shift']());}catch(_0x568f8e){_0x230240['push'](_0x230240['shift']());}}}(_0x31f8,0x45600));import{ListItemView as _0x116ee1,ButtonView as _0x482d32}from'ckeditor5/src/ui.js';import _0x16f1db from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0xe7580d}from'lodash-es';export default class hs extends _0x116ee1{constructor(_0x38eeef){const _0x76ccdb=_0xa685;super();const _0x53cbb4=new _0x16f1db(),_0x161665=new _0x482d32(this[_0x76ccdb(0xe0)],_0x53cbb4);this[_0x76ccdb(0xec)][_0x76ccdb(0xdd)](_0x161665),_0x161665[_0x76ccdb(0xeb)]({'label':_0x38eeef[_0x76ccdb(0xde)],'withText':!0x0}),_0x161665['on'](_0x76ccdb(0xdc),()=>{const _0x1ceab9=_0x76ccdb;this[_0x1ceab9(0xea)](_0x1ceab9(0xdc),{'value':_0xe7580d(_0x38eeef[_0x1ceab9(0xde)])});});}}function _0xa685(_0x2d6602,_0x471447){const _0x31f88e=_0x31f8();return _0xa685=function(_0xa68538,_0x1eb394){_0xa68538=_0xa68538-0xdc;let _0x5842a8=_0x31f88e[_0xa68538];return _0x5842a8;},_0xa685(_0x2d6602,_0x471447);}function _0x31f8(){const _0x102149=['2310064iYwdwT','locale','2605smbKAC','1686okdUfe','48284ldnwYD','3119452MyAPlu','1218891NZEHXb','30YkKKMu','1HPZnJv','4CtEJYA','1367707mUfblM','fire','set','children','2734029ypKqJC','execute','add','prompt'];_0x31f8=function(){return _0x102149;};return _0x31f8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x531b6f=_0x1ead;function _0x1ead(_0x46263b,_0x5214ef){const _0x5a5daa=_0x5a5d();return _0x1ead=function(_0x1ead0b,_0x3f08c2){_0x1ead0b=_0x1ead0b-0xb8;let _0x3758af=_0x5a5daa[_0x1ead0b];return _0x3758af;},_0x1ead(_0x46263b,_0x5214ef);}(function(_0x43ec60,_0x37e79b){const _0x31e3f0=_0x1ead,_0xb1a1d1=_0x43ec60();while(!![]){try{const _0x25011a=-parseInt(_0x31e3f0(0xcf))/0x1+parseInt(_0x31e3f0(0xbb))/0x2+-parseInt(_0x31e3f0(0xbe))/0x3*(-parseInt(_0x31e3f0(0xcb))/0x4)+parseInt(_0x31e3f0(0xc6))/0x5+parseInt(_0x31e3f0(0xc4))/0x6+-parseInt(_0x31e3f0(0xbd))/0x7+-parseInt(_0x31e3f0(0xca))/0x8*(parseInt(_0x31e3f0(0xc5))/0x9);if(_0x25011a===_0x37e79b)break;else _0xb1a1d1['push'](_0xb1a1d1['shift']());}catch(_0x5d9cac){_0xb1a1d1['push'](_0xb1a1d1['shift']());}}}(_0x5a5d,0xa23fd));function _0x5a5d(){const _0x78ae2a=['items','children','fire','label','1188252hUJXWl','clearHistory','6718418HLsCvx','793947dLRBJD','filter','set','execute','historyGroupView','locale','3268710wxYRai','198279vXRBNK','1676365KtMZCZ','_createClearHistoryButton','Prompt\x20history','delegate','120OqgDue','8SnTods','clearHistoryButton','add','Clear','48670SiDNGs','length'];_0x5a5d=function(){return _0x78ae2a;};return _0x5a5d();}import{ListView as _0x7cd9f7,ListItemGroupView as _0x243a33,ButtonView as _0x3c3687}from'ckeditor5/src/ui.js';import{getTranslation as _0x332e7f}from'../../utils/common-translations.js';export default class rs extends _0x7cd9f7{constructor(_0x3189a5){const _0x351c22=_0x1ead;super(_0x3189a5),this[_0x351c22(0xcc)]=this[_0x351c22(0xc7)](),this[_0x351c22(0xc2)]=new _0x243a33(),this[_0x351c22(0xc2)][_0x351c22(0xb8)][_0x351c22(0xcd)](this[_0x351c22(0xcc)],0x1),this[_0x351c22(0xc2)][_0x351c22(0xba)]=_0x332e7f(_0x3189a5,_0x351c22(0xc8)),this[_0x351c22(0xc2)][_0x351c22(0xd1)][_0x351c22(0xc9)](_0x351c22(0xc1))['to'](this),this[_0x351c22(0xd1)][_0x351c22(0xcd)](this[_0x351c22(0xc2)]);}[_0x531b6f(0xbf)](){const _0x31598d=_0x531b6f;let _0x5e865f=0x0;for(const _0x57c539 of this[_0x31598d(0xd1)])_0x5e865f+=_0x57c539[_0x31598d(0xd1)][_0x31598d(0xd0)];return{'resultsCount':_0x5e865f,'totalItemsCount':_0x5e865f};}[_0x531b6f(0xc7)](){const _0xc9c4c4=_0x531b6f,_0x24978c=this[_0xc9c4c4(0xc3)],_0x509e8f=new _0x3c3687(this[_0xc9c4c4(0xc3)]);return _0x509e8f[_0xc9c4c4(0xc0)]({'label':'('+_0x332e7f(_0x24978c,_0xc9c4c4(0xce))+')','withText':!0x0}),_0x509e8f['on'](_0xc9c4c4(0xc1),()=>this[_0xc9c4c4(0xb9)](_0xc9c4c4(0xbc))),_0x509e8f;}}
23
+ function _0x2355(_0x5daa1e,_0x554253){const _0xbefc59=_0xbefc();return _0x2355=function(_0x23557f,_0x3030eb){_0x23557f=_0x23557f-0x160;let _0x3cceb3=_0xbefc59[_0x23557f];return _0x3cceb3;},_0x2355(_0x5daa1e,_0x554253);}const _0x131e44=_0x2355;(function(_0x4a6567,_0x11a011){const _0x3cb11e=_0x2355,_0x111ede=_0x4a6567();while(!![]){try{const _0x19ce47=-parseInt(_0x3cb11e(0x16a))/0x1*(-parseInt(_0x3cb11e(0x16e))/0x2)+-parseInt(_0x3cb11e(0x16f))/0x3*(parseInt(_0x3cb11e(0x176))/0x4)+-parseInt(_0x3cb11e(0x17b))/0x5+parseInt(_0x3cb11e(0x160))/0x6+parseInt(_0x3cb11e(0x179))/0x7+-parseInt(_0x3cb11e(0x168))/0x8*(parseInt(_0x3cb11e(0x162))/0x9)+-parseInt(_0x3cb11e(0x16d))/0xa*(-parseInt(_0x3cb11e(0x167))/0xb);if(_0x19ce47===_0x11a011)break;else _0x111ede['push'](_0x111ede['shift']());}catch(_0x16170c){_0x111ede['push'](_0x111ede['shift']());}}}(_0xbefc,0xd39e1));import{ListView as _0x34536a,ListItemGroupView as _0x572fa5,ButtonView as _0x341d66}from'ckeditor5/src/ui.js';function _0xbefc(){const _0x33d1b3=['clearHistoryButton','Prompt\x20history','Clear','locale','24896thhQvI','historyGroupView','label','2792433kCgEeI','_createClearHistoryButton','207380AxzKgv','6973212pIIDUJ','items','6486147OiXmMc','filter','fire','clearHistory','execute','869066HWAOxo','8xQNbDc','set','1Gsiyxd','length','children','10yqTLMf','388418HfZSeh','99RDwGEH','delegate','add'];_0xbefc=function(){return _0x33d1b3;};return _0xbefc();}import{getTranslation as _0xa99d90}from'../../utils/common-translations.js';export default class rs extends _0x34536a{constructor(_0xff267a){const _0x46e8b8=_0x2355;super(_0xff267a),this[_0x46e8b8(0x172)]=this[_0x46e8b8(0x17a)](),this[_0x46e8b8(0x177)]=new _0x572fa5(),this[_0x46e8b8(0x177)][_0x46e8b8(0x16c)][_0x46e8b8(0x171)](this[_0x46e8b8(0x172)],0x1),this[_0x46e8b8(0x177)][_0x46e8b8(0x178)]=_0xa99d90(_0xff267a,_0x46e8b8(0x173)),this[_0x46e8b8(0x177)][_0x46e8b8(0x161)][_0x46e8b8(0x170)](_0x46e8b8(0x166))['to'](this),this[_0x46e8b8(0x161)][_0x46e8b8(0x171)](this[_0x46e8b8(0x177)]);}[_0x131e44(0x163)](){const _0x588cb3=_0x131e44;let _0x430240=0x0;for(const _0x16464f of this[_0x588cb3(0x161)])_0x430240+=_0x16464f[_0x588cb3(0x161)][_0x588cb3(0x16b)];return{'resultsCount':_0x430240,'totalItemsCount':_0x430240};}[_0x131e44(0x17a)](){const _0x5cc724=_0x131e44,_0xbe3147=this[_0x5cc724(0x175)],_0x1ef2fa=new _0x341d66(this[_0x5cc724(0x175)]);return _0x1ef2fa[_0x5cc724(0x169)]({'label':'('+_0xa99d90(_0xbe3147,_0x5cc724(0x174))+')','withText':!0x0}),_0x1ef2fa['on'](_0x5cc724(0x166),()=>this[_0x5cc724(0x164)](_0x5cc724(0x165))),_0x1ef2fa;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5be7ec=_0x1dcf;(function(_0x360338,_0x208be5){const _0x401898=_0x1dcf,_0x3f028a=_0x360338();while(!![]){try{const _0x1e7471=-parseInt(_0x401898(0x15d))/0x1+-parseInt(_0x401898(0x15f))/0x2*(-parseInt(_0x401898(0x167))/0x3)+parseInt(_0x401898(0x159))/0x4+-parseInt(_0x401898(0x152))/0x5+parseInt(_0x401898(0x15e))/0x6*(-parseInt(_0x401898(0x150))/0x7)+parseInt(_0x401898(0x15a))/0x8+-parseInt(_0x401898(0x14e))/0x9*(-parseInt(_0x401898(0x151))/0xa);if(_0x1e7471===_0x208be5)break;else _0x3f028a['push'](_0x3f028a['shift']());}catch(_0x17fe3a){_0x3f028a['push'](_0x3f028a['shift']());}}}(_0x1a40,0x2494a));import{Collection as _0x261495}from'ckeditor5/src/utils.js';const cs=_0x5be7ec(0x160);function _0x1dcf(_0x501601,_0x3d423c){const _0x1a4090=_0x1a40();return _0x1dcf=function(_0x1dcf68,_0x4ca783){_0x1dcf68=_0x1dcf68-0x14e;let _0x13f600=_0x1a4090[_0x1dcf68];return _0x13f600;},_0x1dcf(_0x501601,_0x3d423c);}export default class os extends _0x261495{constructor(){const _0x11903c=_0x5be7ec;super(),this[_0x11903c(0x163)](),this['on'](_0x11903c(0x14f),(_0x17ef7b,_0xba86af)=>{const _0x1ad6e9=_0x11903c,_0x580eef=Ss(_0xba86af[_0x1ad6e9(0x162)]);for(const _0x1657ee of this)if(_0x1657ee!=_0xba86af&&Ss(_0x1657ee[_0x1ad6e9(0x162)])===_0x580eef){this[_0x1ad6e9(0x156)](_0x1657ee);break;}this[_0x1ad6e9(0x161)]>0x14&&this[_0x1ad6e9(0x156)](this[_0x1ad6e9(0x166)]),this[_0x1ad6e9(0x157)]();}),this['on'](_0x11903c(0x156),()=>{const _0x21bd1f=_0x11903c;this[_0x21bd1f(0x157)]();});}[_0x5be7ec(0x163)](){const _0x3da7aa=_0x5be7ec,_0x161bcd=sessionStorage[_0x3da7aa(0x154)](cs)||'[]';this[_0x3da7aa(0x15b)](JSON[_0x3da7aa(0x155)](_0x161bcd));}[_0x5be7ec(0x157)](){const _0x496151=_0x5be7ec;sessionStorage[_0x496151(0x164)](cs,JSON[_0x496151(0x153)](this[_0x496151(0x165)](_0xa4f049=>_0xa4f049)));}}function Ss(_0x34f902){const _0x14e003=_0x5be7ec;return _0x34f902[_0x14e003(0x158)]()[_0x14e003(0x15c)]();}function _0x1a40(){const _0x51905f=['259fMoBkQ','1732430fSJxEW','513825XTTrbx','stringify','getItem','parse','remove','_saveToSessionStorage','toLowerCase','635424lYEVtD','79944YKGrgt','addMany','trim','231439TvJonT','43314gJGjwo','125126jKNXbX','CKEditor/AIFormView/PromptHistory','length','prompt','_loadFromSessionStorage','setItem','map','last','3nozKBy','27bBBozK','add'];_0x1a40=function(){return _0x51905f;};return _0x1a40();}
23
+ const _0x513170=_0x4399;(function(_0x12d0b8,_0x3fa593){const _0x192579=_0x4399,_0x104da1=_0x12d0b8();while(!![]){try{const _0x3a52f2=-parseInt(_0x192579(0x1c7))/0x1+-parseInt(_0x192579(0x1d2))/0x2*(parseInt(_0x192579(0x1bc))/0x3)+parseInt(_0x192579(0x1bb))/0x4+parseInt(_0x192579(0x1c3))/0x5+-parseInt(_0x192579(0x1c0))/0x6*(parseInt(_0x192579(0x1c4))/0x7)+-parseInt(_0x192579(0x1be))/0x8+-parseInt(_0x192579(0x1c6))/0x9*(-parseInt(_0x192579(0x1c1))/0xa);if(_0x3a52f2===_0x3fa593)break;else _0x104da1['push'](_0x104da1['shift']());}catch(_0x4d0b21){_0x104da1['push'](_0x104da1['shift']());}}}(_0x4372,0xb6f76));function _0x4372(){const _0x17b953=['map','CKEditor/AIFormView/PromptHistory','2489362brMNFt','setItem','_loadFromSessionStorage','1474992YGQoSM','3PYJelF','_saveToSessionStorage','9171776ZrGlED','add','1380UbFoSR','110aaNGOt','last','3973315vKZHiA','15127WWeZVX','stringify','2301813yQktLg','339125eBSIMr','prompt','remove','addMany','getItem','toLowerCase','parse','trim','length'];_0x4372=function(){return _0x17b953;};return _0x4372();}import{Collection as _0x35707c}from'ckeditor5/src/utils.js';function _0x4399(_0x5abe2d,_0x550735){const _0x4372a1=_0x4372();return _0x4399=function(_0x4399b4,_0x220e8d){_0x4399b4=_0x4399b4-0x1b9;let _0x2cdfe1=_0x4372a1[_0x4399b4];return _0x2cdfe1;},_0x4399(_0x5abe2d,_0x550735);}const cs=_0x513170(0x1d1);export default class os extends _0x35707c{constructor(){const _0x39e6b6=_0x513170;super(),this[_0x39e6b6(0x1ba)](),this['on'](_0x39e6b6(0x1bf),(_0x5ec469,_0x23ed43)=>{const _0x4f36bc=_0x39e6b6,_0x5224c7=Ss(_0x23ed43[_0x4f36bc(0x1c8)]);for(const _0x8f1bfe of this)if(_0x8f1bfe!=_0x23ed43&&Ss(_0x8f1bfe[_0x4f36bc(0x1c8)])===_0x5224c7){this[_0x4f36bc(0x1c9)](_0x8f1bfe);break;}this[_0x4f36bc(0x1cf)]>0x14&&this[_0x4f36bc(0x1c9)](this[_0x4f36bc(0x1c2)]),this[_0x4f36bc(0x1bd)]();}),this['on'](_0x39e6b6(0x1c9),()=>{const _0x2956a5=_0x39e6b6;this[_0x2956a5(0x1bd)]();});}[_0x513170(0x1ba)](){const _0x19e431=_0x513170,_0x251819=sessionStorage[_0x19e431(0x1cb)](cs)||'[]';this[_0x19e431(0x1ca)](JSON[_0x19e431(0x1cd)](_0x251819));}[_0x513170(0x1bd)](){const _0x2d934b=_0x513170;sessionStorage[_0x2d934b(0x1b9)](cs,JSON[_0x2d934b(0x1c5)](this[_0x2d934b(0x1d0)](_0xe5dc77=>_0xe5dc77)));}}function Ss(_0x1ae949){const _0xe17ae5=_0x513170;return _0x1ae949[_0xe17ae5(0x1cc)]()[_0xe17ae5(0x1ce)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e0847=_0x170f;(function(_0x2ca6f3,_0x1c66b3){const _0x73631d=_0x170f,_0x1f763d=_0x2ca6f3();while(!![]){try{const _0x3b34eb=-parseInt(_0x73631d(0xda))/0x1+-parseInt(_0x73631d(0xe2))/0x2+-parseInt(_0x73631d(0xf3))/0x3*(-parseInt(_0x73631d(0xe1))/0x4)+parseInt(_0x73631d(0xdc))/0x5*(parseInt(_0x73631d(0xec))/0x6)+-parseInt(_0x73631d(0xff))/0x7+parseInt(_0x73631d(0xe8))/0x8+-parseInt(_0x73631d(0xf1))/0x9*(-parseInt(_0x73631d(0xe9))/0xa);if(_0x3b34eb===_0x1c66b3)break;else _0x1f763d['push'](_0x1f763d['shift']());}catch(_0x4ca878){_0x1f763d['push'](_0x1f763d['shift']());}}}(_0x1ccc,0x403d3));import{Command as _0x3eeaec}from'ckeditor5/src/core.js';import _0x1e1b7a from'../aiassistantui.js';export default class g extends _0x3eeaec{constructor(_0x4d91ef,_0x114c0e){const _0x27cf92=_0x170f;super(_0x4d91ef),this[_0x27cf92(0xef)]=_0x114c0e?_0x114c0e[_0x27cf92(0xe3)]((_0x595664,_0x1154f2)=>_0x595664[_0x27cf92(0xfb)](_0x1154f2[_0x27cf92(0xf9)]),new Array()):[],this[_0x27cf92(0xd7)](_0x27cf92(0xf0),[]),this['on'](_0x27cf92(0xfe),(_0x5087b6,_0x5cef45,_0x17ec13)=>{const _0x1b9176=_0x27cf92;this[_0x1b9176(0xd4)]&&(this[_0x1b9176(0xf0)]=F(this[_0x1b9176(0xef)],_0x17ec13));}),this[_0x27cf92(0xd7)](_0x27cf92(0xd9),!0x1),this['on'](_0x27cf92(0xdd),(_0x2eb7a8,_0x14f908,_0x36d9c1)=>{const _0x5aa833=_0x27cf92;this[_0x5aa833(0xf0)]=_0x36d9c1?F(this[_0x5aa833(0xef)],this[_0x5aa833(0xd9)]):[];});}[_0x3e0847(0xe6)](){const _0x5aacb7=_0x3e0847,_0x5036f6=this[_0x5aacb7(0xf5)][_0x5aacb7(0xdf)];this[_0x5aacb7(0xd9)]=function(_0x41c77b){const _0x403358=_0x5aacb7,_0x11e391=_0x41c77b[_0x403358(0xd5)][_0x403358(0xe4)];return _0x11e391[_0x403358(0xe0)]?0x0!==[..._0x11e391[_0x403358(0xe7)]()][_0x403358(0xf7)]&&![..._0x11e391[_0x403358(0xe7)]()][0x0][_0x403358(0xee)]:!!_0x41c77b[_0x403358(0xeb)](_0x11e391[_0x403358(0xd3)]());}(_0x5036f6);const _0x37e091=_0x5036f6[_0x5aacb7(0xd5)][_0x5aacb7(0xe4)],_0x1886b2=this[_0x5aacb7(0xf5)][_0x5aacb7(0xfc)][_0x5aacb7(0xed)](_0x5aacb7(0x100));for(const _0x317b94 of _0x37e091[_0x5aacb7(0xf6)]())for(const _0xa63a27 of _0x317b94[_0x5aacb7(0xf4)]())if(_0xa63a27['is'](_0x5aacb7(0xd6))&&_0x1886b2[_0x5aacb7(0xd8)](_0xa63a27[_0x5aacb7(0xe5)]))return void(this[_0x5aacb7(0xd4)]=!0x1);this[_0x5aacb7(0xd4)]=!0x0;}[_0x3e0847(0xfd)](_0x48b0a6='',_0x20c687='',_0x1bbc50=_0x3e0847(0xde)){const _0x29fb7f=_0x3e0847;this[_0x29fb7f(0xf5)][_0x29fb7f(0xfa)][_0x29fb7f(0xed)](_0x1e1b7a)[_0x29fb7f(0xf2)](_0x48b0a6,_0x20c687,_0x1bbc50);}}function _0x170f(_0x1cd15a,_0x6e5a75){const _0x1ccc6f=_0x1ccc();return _0x170f=function(_0x170f72,_0x24a837){_0x170f72=_0x170f72-0xd3;let _0x1d2ec8=_0x1ccc6f[_0x170f72];return _0x1d2ec8;},_0x170f(_0x1cd15a,_0x6e5a75);}function F(_0x4fe99c,_0x397298){const _0x48ed02=_0x3e0847,_0x2d0036=new Set();for(const _0x16bfe8 of _0x4fe99c)(_0x397298||!0x1===_0x16bfe8[_0x48ed02(0xea)])&&_0x2d0036[_0x48ed02(0xf8)](_0x16bfe8['id']);return Array[_0x48ed02(0xdb)](_0x2d0036);}function _0x1ccc(){const _0x47c996=['isCollapsed','8ZmOlbQ','629010alkQaO','reduce','selection','name','refresh','getSelectedBlocks','3458824UTCXlS','2201900xrYVJZ','requiresContent','hasContent','29124YYKwwj','get','isEmpty','_commandDefinitions','enabledCommandsIds','18ahnTfr','showUI','353265FzWzDa','getItems','editor','getRanges','length','add','commands','plugins','concat','config','execute','change:_hasContext','3212916doFrPv','ai.aiAssistant.disabledElements','getFirstRange','isEnabled','document','element','set','includes','_hasContext','125021hOXpre','from','55kPJKpZ','change:isEnabled','custom','model'];_0x1ccc=function(){return _0x47c996;};return _0x1ccc();}
23
+ const _0xada131=_0x4266;function _0x4266(_0x260ef4,_0x4ec300){const _0x2b4be8=_0x2b4b();return _0x4266=function(_0x42663f,_0x300144){_0x42663f=_0x42663f-0x16c;let _0x2459e4=_0x2b4be8[_0x42663f];return _0x2459e4;},_0x4266(_0x260ef4,_0x4ec300);}(function(_0x1a00ce,_0x1c1177){const _0x368811=_0x4266,_0x3d8175=_0x1a00ce();while(!![]){try{const _0x32b9eb=parseInt(_0x368811(0x16f))/0x1+-parseInt(_0x368811(0x173))/0x2*(parseInt(_0x368811(0x175))/0x3)+-parseInt(_0x368811(0x183))/0x4*(-parseInt(_0x368811(0x178))/0x5)+-parseInt(_0x368811(0x16d))/0x6*(-parseInt(_0x368811(0x196))/0x7)+parseInt(_0x368811(0x17b))/0x8+parseInt(_0x368811(0x16c))/0x9*(-parseInt(_0x368811(0x177))/0xa)+parseInt(_0x368811(0x190))/0xb*(-parseInt(_0x368811(0x174))/0xc);if(_0x32b9eb===_0x1c1177)break;else _0x3d8175['push'](_0x3d8175['shift']());}catch(_0x2633ea){_0x3d8175['push'](_0x3d8175['shift']());}}}(_0x2b4b,0x3a230));import{Command as _0x468827}from'ckeditor5/src/core.js';import _0x5cb2b8 from'../aiassistantui.js';function _0x2b4b(){const _0x2a46cf=['showUI','99UiLjoB','isEnabled','element','getRanges','selection','change:isEnabled','13552FeDakW','plugins','document','isEmpty','getItems','from','7272vLMMhQ','726NXKiYk','_hasContext','234107NzpbJg','refresh','commands','_commandDefinitions','152948xncKID','29172gmRyHS','15GPFjJr','custom','2150XItVqP','837665Vmyfht','hasContent','length','1441608khEVCi','getFirstRange','add','execute','reduce','set','name','ai.aiAssistant.disabledElements','4sVTSjP','requiresContent','getSelectedBlocks','change:_hasContext','enabledCommandsIds','isCollapsed','config','editor','concat','get','model','includes'];_0x2b4b=function(){return _0x2a46cf;};return _0x2b4b();}export default class g extends _0x468827{constructor(_0x393505,_0x4d6169){const _0x26a479=_0x4266;super(_0x393505),this[_0x26a479(0x172)]=_0x4d6169?_0x4d6169[_0x26a479(0x17f)]((_0x5ba3a0,_0x295056)=>_0x5ba3a0[_0x26a479(0x18b)](_0x295056[_0x26a479(0x171)]),new Array()):[],this[_0x26a479(0x180)](_0x26a479(0x187),[]),this['on'](_0x26a479(0x186),(_0x49d190,_0x371e55,_0x303823)=>{const _0x554e67=_0x26a479;this[_0x554e67(0x191)]&&(this[_0x554e67(0x187)]=F(this[_0x554e67(0x172)],_0x303823));}),this[_0x26a479(0x180)](_0x26a479(0x16e),!0x1),this['on'](_0x26a479(0x195),(_0x59cae4,_0x25dd56,_0x7dc618)=>{const _0xe95b95=_0x26a479;this[_0xe95b95(0x187)]=_0x7dc618?F(this[_0xe95b95(0x172)],this[_0xe95b95(0x16e)]):[];});}[_0xada131(0x170)](){const _0x53bc81=_0xada131,_0x2b41e4=this[_0x53bc81(0x18a)][_0x53bc81(0x18d)];this[_0x53bc81(0x16e)]=function(_0x3a85da){const _0x407478=_0x53bc81,_0x228617=_0x3a85da[_0x407478(0x198)][_0x407478(0x194)];return _0x228617[_0x407478(0x188)]?0x0!==[..._0x228617[_0x407478(0x185)]()][_0x407478(0x17a)]&&![..._0x228617[_0x407478(0x185)]()][0x0][_0x407478(0x199)]:!!_0x3a85da[_0x407478(0x179)](_0x228617[_0x407478(0x17c)]());}(_0x2b41e4);const _0x580b1a=_0x2b41e4[_0x53bc81(0x198)][_0x53bc81(0x194)],_0x25b425=this[_0x53bc81(0x18a)][_0x53bc81(0x189)][_0x53bc81(0x18c)](_0x53bc81(0x182));for(const _0x38f72a of _0x580b1a[_0x53bc81(0x193)]())for(const _0x4026da of _0x38f72a[_0x53bc81(0x19a)]())if(_0x4026da['is'](_0x53bc81(0x192))&&_0x25b425[_0x53bc81(0x18e)](_0x4026da[_0x53bc81(0x181)]))return void(this[_0x53bc81(0x191)]=!0x1);this[_0x53bc81(0x191)]=!0x0;}[_0xada131(0x17e)](_0x5677cd='',_0x2e1e27='',_0x1069bb=_0xada131(0x176)){const _0x102615=_0xada131;this[_0x102615(0x18a)][_0x102615(0x197)][_0x102615(0x18c)](_0x5cb2b8)[_0x102615(0x18f)](_0x5677cd,_0x2e1e27,_0x1069bb);}}function F(_0x3f0e94,_0x58d230){const _0x1f2230=_0xada131,_0xb487f1=new Set();for(const _0x37954a of _0x3f0e94)(_0x58d230||!0x1===_0x37954a[_0x1f2230(0x184)])&&_0xb487f1[_0x1f2230(0x17d)](_0x37954a['id']);return Array[_0x1f2230(0x19b)](_0xb487f1);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x28af67,_0x188e0d,_0x22fd84){const t=_0x28af67['t'];switch(_0x188e0d){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x22fd84);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'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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x22fd84);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 _0x188e0d;}}
23
+ export function getTranslation(_0x19055d,_0x546604,_0x16482f){const t=_0x19055d['t'];switch(_0x546604){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x16482f);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'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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x16482f);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 _0x546604;}}