@ckeditor/ckeditor5-ai 41.3.0-alpha.3 → 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
- const _0x139955=_0x2e18;function _0x2e18(_0x5bd1ec,_0x3d285c){const _0x2085f0=_0x2085();return _0x2e18=function(_0x2e1871,_0xc88b71){_0x2e1871=_0x2e1871-0x15c;let _0x24b953=_0x2085f0[_0x2e1871];return _0x24b953;},_0x2e18(_0x5bd1ec,_0x3d285c);}(function(_0x5eb121,_0xc0cdb5){const _0x3cd26a=_0x2e18,_0x3fd47b=_0x5eb121();while(!![]){try{const _0x3fb3ac=-parseInt(_0x3cd26a(0x1a8))/0x1+-parseInt(_0x3cd26a(0x186))/0x2+-parseInt(_0x3cd26a(0x1b1))/0x3*(-parseInt(_0x3cd26a(0x183))/0x4)+parseInt(_0x3cd26a(0x19c))/0x5+parseInt(_0x3cd26a(0x167))/0x6+-parseInt(_0x3cd26a(0x1aa))/0x7*(-parseInt(_0x3cd26a(0x190))/0x8)+parseInt(_0x3cd26a(0x1a3))/0x9*(-parseInt(_0x3cd26a(0x193))/0xa);if(_0x3fb3ac===_0xc0cdb5)break;else _0x3fd47b['push'](_0x3fd47b['shift']());}catch(_0x368028){_0x3fd47b['push'](_0x3fd47b['shift']());}}}(_0x2085,0x6fef3));import{global as _0x423284}from'ckeditor5/src/utils.js';import{View as _0x35af26,ButtonView as _0x4ecf10,SpinnerView as _0x434137}from'ckeditor5/src/ui.js';import _0x4842f9 from'../../../theme/icons/copy.svg';import{getTranslation as _0x5e08f4}from'../../utils/common-translations.js';import{icons as _0x56caa4}from'ckeditor5/src/core.js';export default class st extends _0x35af26{constructor(_0xec567a,_0xad2a39=''){const _0x49bece=_0x2e18;super(_0xec567a),this[_0x49bece(0x1b0)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1709ff=this[_0x49bece(0x16a)];this[_0x49bece(0x17d)]=new ContentFieldView(_0xec567a,_0xad2a39),this[_0x49bece(0x1ac)]=this[_0x49bece(0x19b)](),this[_0x49bece(0x180)]({'tag':_0x49bece(0x179),'attributes':{'class':['ck',_0x49bece(0x18c),_0x1709ff['if'](_0x49bece(0x17b),_0x49bece(0x16c),_0x542afc=>!_0x542afc)],'tabindex':'-1'},'children':[{'tag':_0x49bece(0x179),'attributes':{'class':['ck',_0x49bece(0x185),_0x1709ff['if'](_0x49bece(0x19d),_0x49bece(0x174))]},'children':[this[_0x49bece(0x17d)],{'tag':_0x49bece(0x179),'attributes':{'class':['ck',_0x49bece(0x1ab)]},'children':[this[_0x49bece(0x1ac)]]}]}]});}[_0x139955(0x17e)](){const _0x553099=_0x139955;super[_0x553099(0x17e)](),this[_0x553099(0x199)]&&this[_0x553099(0x17d)][_0x553099(0x184)](this[_0x553099(0x199)]);let _0x531cb4=!0x1;this['on'](_0x553099(0x177),(_0x210fef,_0xb0aa15,_0x4724b7)=>{const _0x1d6cd9=_0x553099,_0x4827e8=!this[_0x1d6cd9(0x17d)][_0x1d6cd9(0x188)][_0x1d6cd9(0x17f)](_0x1d6cd9(0x182));this[_0x1d6cd9(0x17d)][_0x1d6cd9(0x184)](_0x4724b7),this[_0x1d6cd9(0x19d)]&&_0x4827e8&&!_0x531cb4&&this[_0x1d6cd9(0x188)][_0x1d6cd9(0x1a2)]({'top':this[_0x1d6cd9(0x188)][_0x1d6cd9(0x168)],'behavior':_0x1d6cd9(0x16e)});}),this['on'](_0x553099(0x176),(_0x2fd842,_0xa05c2,_0x4b77b4)=>{const _0x544072=_0x553099;_0x531cb4=!0x1,_0x4b77b4?(this[_0x544072(0x199)]=null,this[_0x544072(0x17d)][_0x544072(0x19e)]()):this[_0x544072(0x199)]||this[_0x544072(0x17d)][_0x544072(0x184)]('');}),this[_0x553099(0x164)](this[_0x553099(0x188)],_0x553099(0x1af),()=>{_0x531cb4=!0x0;}),this[_0x553099(0x164)](this[_0x553099(0x188)],_0x553099(0x161),()=>{_0x531cb4=!0x0;});}[_0x139955(0x18a)](){const _0x366d64=_0x139955;this[_0x366d64(0x188)][_0x366d64(0x18a)]();}[_0x139955(0x19b)](){const _0x42694a=_0x139955,_0xd64560=this[_0x42694a(0x15d)],_0x2070eb=new _0x4ecf10(this[_0x42694a(0x15d)]),_0x32d36b=_0x42694a(0x196);return _0x2070eb[_0x42694a(0x1b0)]({'label':_0x5e08f4(_0xd64560,_0x42694a(0x1a4)),'icon':_0x4842f9,'class':_0x32d36b,'tooltip':!0x0}),_0x2070eb[_0x42694a(0x1a1)](_0x42694a(0x17b))['to'](this,_0x42694a(0x199),_0x36845a=>!!_0x36845a),_0x2070eb[_0x42694a(0x1a1)](_0x42694a(0x1a6))['to'](this,_0x42694a(0x19d),_0x36d92e=>!_0x36d92e),_0x2070eb['on'](_0x42694a(0x198),()=>{const _0x187cf0=_0x42694a;this[_0x187cf0(0x166)](this[_0x187cf0(0x17d)][_0x187cf0(0x188)]),_0x2070eb[_0x187cf0(0x191)]=_0x56caa4[_0x187cf0(0x192)],_0x2070eb[_0x187cf0(0x197)]=_0x32d36b+_0x187cf0(0x18b),this[_0x187cf0(0x18a)](),setTimeout(()=>{const _0x56aae9=_0x187cf0;_0x2070eb[_0x56aae9(0x191)]=_0x4842f9,_0x2070eb[_0x56aae9(0x197)]=_0x32d36b;},0x3e8);}),_0x2070eb;}[_0x139955(0x166)](_0xebab19){const _0x2c6424=_0x139955,{window:_0x275488,document:_0x581f60}=_0x423284;if(_0x275488[_0x2c6424(0x19f)]){const {Blob:_0x500460,ClipboardItem:_0x5a10fa}=_0x275488,_0x279b41=[new _0x5a10fa({'text/html':new _0x500460([_0xebab19[_0x2c6424(0x15f)]],{'type':_0x2c6424(0x15e)}),'text/plain':new _0x500460([_0xebab19[_0x2c6424(0x1a0)]||''],{'type':_0x2c6424(0x1a5)})})];navigator[_0x2c6424(0x17c)][_0x2c6424(0x1a9)](_0x279b41);}else{const _0x13b034=_0x581f60[_0x2c6424(0x172)](_0x2c6424(0x179));_0x13b034[_0x2c6424(0x175)][_0x2c6424(0x171)]=_0x2c6424(0x181),_0x13b034[_0x2c6424(0x175)][_0x2c6424(0x195)]=_0x2c6424(0x18f),_0x13b034[_0x2c6424(0x15f)]=_0x2c6424(0x17a)+_0xebab19[_0x2c6424(0x15f)]+_0x2c6424(0x16b),_0x581f60[_0x2c6424(0x163)][_0x2c6424(0x194)](_0x13b034);const _0x42de4e=_0x581f60[_0x2c6424(0x15c)]();_0x42de4e[_0x2c6424(0x19a)](_0x13b034[_0x2c6424(0x16d)]),_0x42de4e[_0x2c6424(0x189)](_0x13b034[_0x2c6424(0x173)]);const _0x50fa87=_0x275488[_0x2c6424(0x18e)]();_0x50fa87[_0x2c6424(0x16f)](),_0x50fa87[_0x2c6424(0x169)](_0x42de4e),_0x581f60[_0x2c6424(0x1ae)](_0x2c6424(0x1ad)),_0x13b034[_0x2c6424(0x187)]();}}}function _0x2085(){const _0x25d297=['ck-ai-form__copy-button-wrapper','copyButtonView','copy','execCommand','wheel','set','138JsKExT','createRange','locale','text/html','innerHTML','ck-ai-form__content-field','mousedown','_createLoader','body','listenTo','ck-reset_all-excluded','_copyHTMLToClipboard','4235988macwPU','scrollHeight','addRange','bindTemplate','<span>]</span>','ck-hidden','firstElementChild','smooth','removeAllRanges','loaderView','position','createElement','lastElementChild','ck-ai-form__content-area--processing','style','change:isProcessing','change:value','AI\x20is\x20writing...','div','<span>[</span>','isVisible','clipboard','contentFieldView','render','querySelector','setTemplate','absolute','.ck-ai-form__loader','74716mkGtBs','setContent','ck-ai-form__content-area','1464878XNlMaa','remove','element','setEndBefore','focus','\x20ck-ai-form__copy-button--copied','ck-ai-form__content-area-wrapper','ck-ai-form__loader','getSelection','-9999px','7075832YUwUgk','icon','check','30eVOUOR','appendChild','left','ck-ai-form__copy-button','class','execute','value','setStartAfter','_createCopyButton','3567420JGLhZm','isProcessing','appendLoader','ClipboardItem','textContent','bind','scrollTo','4976676XTpOcL','Copy','text/plain','isEnabled','ck-content','313381mMwtqq','write','7wYCwpl'];_0x2085=function(){return _0x25d297;};return _0x2085();}export class ContentFieldView extends _0x35af26{constructor(_0x32b298,_0x4d59dc=''){const _0x3338a1=_0x139955;super(_0x32b298),this[_0x3338a1(0x170)]=this[_0x3338a1(0x162)](),this[_0x3338a1(0x180)]({'tag':_0x3338a1(0x179),'attributes':{'class':['ck',_0x3338a1(0x1a7),_0x4d59dc,_0x3338a1(0x165),_0x3338a1(0x160)]}});}[_0x139955(0x184)](_0x3afbc2){const _0xf2aa1e=_0x139955;this[_0xf2aa1e(0x188)][_0xf2aa1e(0x15f)]=_0x3afbc2;}[_0x139955(0x19e)](){const _0x56a4c4=_0x139955;this[_0x56a4c4(0x188)][_0x56a4c4(0x194)](this[_0x56a4c4(0x170)][_0x56a4c4(0x188)]);}[_0x139955(0x162)](){const _0x1f5ffd=_0x139955,_0xe8d79e=new _0x35af26(),_0x257574=this[_0x1f5ffd(0x15d)],_0x9f5d58=new _0x434137();return _0x9f5d58[_0x1f5ffd(0x17b)]=!0x0,_0xe8d79e[_0x1f5ffd(0x180)]({'tag':_0x1f5ffd(0x179),'attributes':{'class':['ck',_0x1f5ffd(0x18d)]},'children':[_0x9f5d58,{'text':_0x5e08f4(_0x257574,_0x1f5ffd(0x178))}]}),_0xe8d79e[_0x1f5ffd(0x17e)](),_0xe8d79e;}}
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(_0x3add02,_0x57d851){const _0x48e6ea=_0x73d5,_0x171488=_0x3add02();while(!![]){try{const _0x48abd8=-parseInt(_0x48e6ea(0x79))/0x1*(-parseInt(_0x48e6ea(0x83))/0x2)+-parseInt(_0x48e6ea(0x80))/0x3+parseInt(_0x48e6ea(0x74))/0x4*(-parseInt(_0x48e6ea(0x7b))/0x5)+parseInt(_0x48e6ea(0x77))/0x6+parseInt(_0x48e6ea(0x7f))/0x7+parseInt(_0x48e6ea(0x7a))/0x8*(parseInt(_0x48e6ea(0x82))/0x9)+-parseInt(_0x48e6ea(0x81))/0xa*(-parseInt(_0x48e6ea(0x85))/0xb);if(_0x48abd8===_0x57d851)break;else _0x171488['push'](_0x171488['shift']());}catch(_0x2b1abc){_0x171488['push'](_0x171488['shift']());}}}(_0x5a1b,0xe6689));function _0x5a1b(){const _0x3d0eaa=['122OUQGmK','40efQdWT','3893945Adoqdj','div','bindTemplate','setTemplate','1286068LYZCpt','3949569hGxtEi','77790mSnyEb','285777kxCngY','21342nBhlOx','ck-ai-form__error','473bBxRLz','4OfKlZO','set','content','6361302bKmIiH','text'];_0x5a1b=function(){return _0x3d0eaa;};return _0x5a1b();}import{View as _0x2d11a4,IconView as _0x98f5ad}from'ckeditor5/src/ui.js';function _0x73d5(_0x556cd8,_0x3bf935){const _0x5a1b4a=_0x5a1b();return _0x73d5=function(_0x73d54e,_0x1c721f){_0x73d54e=_0x73d54e-0x74;let _0x7f83d1=_0x5a1b4a[_0x73d54e];return _0x7f83d1;},_0x73d5(_0x556cd8,_0x3bf935);}import _0x223bab from'../../../theme/icons/error.svg';export default class ot extends _0x2d11a4{constructor(_0x382034,_0x2d4fad=''){const _0x58d57e=_0x73d5;super(_0x382034);const _0x2923e7=new _0x98f5ad(),_0x13ab48=this[_0x58d57e(0x7d)];this[_0x58d57e(0x75)](_0x58d57e(0x78),_0x2d4fad),_0x2923e7[_0x58d57e(0x76)]=_0x223bab,this[_0x58d57e(0x7e)]({'tag':_0x58d57e(0x7c),'attributes':{'class':['ck',_0x58d57e(0x84)]},'children':[_0x2923e7,{'text':_0x13ab48['to'](_0x58d57e(0x78))}]});}}
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 _0x1749fa=_0x3534;(function(_0x8e0652,_0x14f4d9){const _0x479630=_0x3534,_0x42478a=_0x8e0652();while(!![]){try{const _0x50f4b5=-parseInt(_0x479630(0x10c))/0x1+parseInt(_0x479630(0x114))/0x2+-parseInt(_0x479630(0xe1))/0x3*(parseInt(_0x479630(0xf5))/0x4)+parseInt(_0x479630(0x107))/0x5+-parseInt(_0x479630(0xea))/0x6*(parseInt(_0x479630(0xe2))/0x7)+parseInt(_0x479630(0xf0))/0x8*(-parseInt(_0x479630(0xeb))/0x9)+parseInt(_0x479630(0xf3))/0xa;if(_0x50f4b5===_0x14f4d9)break;else _0x42478a['push'](_0x42478a['shift']());}catch(_0x474082){_0x42478a['push'](_0x42478a['shift']());}}}(_0x2c5e,0x5ecda));import{Rect as _0x399933,global as _0x450e11,isVisible as _0x27c5d0}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x57f657,ButtonView as _0x19f50c}from'ckeditor5/src/ui.js';function _0x3534(_0x87a02a,_0x1a5b12){const _0x2c5e6e=_0x2c5e();return _0x3534=function(_0x3534df,_0x2c5eea){_0x3534df=_0x3534df-0xda;let _0x5cf5a3=_0x2c5e6e[_0x3534df];return _0x5cf5a3;},_0x3534(_0x87a02a,_0x1a5b12);}import{icons as _0x567713}from'ckeditor5/src/core.js';import{getTranslation as _0x50b6ca}from'../../utils/common-translations.js';import _0x12dd3d from'../../../theme/icons/submit.svg';function _0x2c5e(){const _0x52d97a=['children','fieldView','isEmpty','window','isVisible','uiLanguageDirection','update','1827330OxEdHv','value','History','isOn','focus','253685WUuTzC','queryView','set','render','showHistoryButtonView','fire','requestAnimationFrame','filteredView','1003142GoANoN','ck-ai-form__toggle-history','left','keystrokes','resultsView','minRows','focusLast','focusFirst','1972974pjkffa','7PkOvyJ','bind','fieldWrapperChildren','_createShowHistoryButton','excludeScrollbarsAndBorders','element','focusCycler','target','3175404iCapDm','586449abnVgI','width','_createSubmitButton','rtl','style','32tmfrBj','submit','enter','12224980bXAFbS','right','4DPxhsC','focusableChildren','submitButtonView','ck-ai-form__submit','add','locale','execute','Submit','maxRows','history','isEnabled'];_0x2c5e=function(){return _0x52d97a;};return _0x2c5e();}export default class lt extends _0x57f657{constructor(_0x4b2bbd,_0x56fb98){const _0x4b78ab=_0x3534;super(_0x4b2bbd,_0x56fb98),this[_0x4b78ab(0x10d)][_0x4b78ab(0x101)][_0x4b78ab(0xde)]=0x1,this[_0x4b78ab(0x10d)][_0x4b78ab(0x101)][_0x4b78ab(0xfd)]=0x3,this[_0x4b78ab(0xf7)]=this[_0x4b78ab(0xed)](),this[_0x4b78ab(0x110)]=this[_0x4b78ab(0xe5)](),this[_0x4b78ab(0xf6)][_0x4b78ab(0xf9)](this[_0x4b78ab(0x110)],0x1),this[_0x4b78ab(0xf6)][_0x4b78ab(0xf9)](this[_0x4b78ab(0xf7)]);}[_0x1749fa(0x10f)](){const _0x51fdcd=_0x1749fa;super[_0x51fdcd(0x10f)](),this[_0x51fdcd(0x10d)][_0x51fdcd(0xe4)][_0x51fdcd(0xf9)](this[_0x51fdcd(0x110)]),this[_0x51fdcd(0x100)][_0x51fdcd(0xf9)](this[_0x51fdcd(0xf7)]),this[_0x51fdcd(0xdc)][_0x51fdcd(0x10e)](_0x51fdcd(0xf2),(_0x46cdd8,_0x465c70)=>{const _0x39b3bf=_0x51fdcd;_0x46cdd8[_0x39b3bf(0xe9)]==this[_0x39b3bf(0x10d)][_0x39b3bf(0x101)][_0x39b3bf(0xe7)]&&(this[_0x39b3bf(0xf1)](),_0x465c70());});}[_0x1749fa(0xed)](){const _0x40b7d4=_0x1749fa,_0x43038f=new _0x19f50c(this[_0x40b7d4(0xfa)]),_0x105eb6=this[_0x40b7d4(0xfa)];return _0x43038f[_0x40b7d4(0x10e)]({'icon':_0x12dd3d,'label':_0x50b6ca(_0x105eb6,_0x40b7d4(0xfc)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x40b7d4(0xf8)}),_0x43038f['on'](_0x40b7d4(0xfb),()=>{const _0x134f07=_0x40b7d4;this[_0x134f07(0xf1)]();}),_0x43038f[_0x40b7d4(0xe3)](_0x40b7d4(0xff))['to'](this[_0x40b7d4(0x10d)][_0x40b7d4(0x101)],_0x40b7d4(0x102),this,_0x40b7d4(0xff),(_0x2df27e,_0x4b6709)=>!_0x2df27e&&_0x4b6709),_0x43038f;}[_0x1749fa(0xe5)](){const _0x4d72f8=_0x1749fa,_0x17e7db=new _0x19f50c(this[_0x4d72f8(0xfa)]),_0xee1644=this[_0x4d72f8(0xdd)],_0x49ab57=this[_0x4d72f8(0xfa)];_0x17e7db[_0x4d72f8(0x10e)]({'label':_0x50b6ca(_0x49ab57,_0x4d72f8(0x109)),'withText':!0x1,'icon':_0x567713[_0x4d72f8(0xfe)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4d72f8(0xda)}),_0x17e7db[_0x4d72f8(0xe3)](_0x4d72f8(0x10a))['to'](_0xee1644,_0x4d72f8(0x104)),_0x17e7db[_0x4d72f8(0xe3)](_0x4d72f8(0xff))['to'](this,_0x4d72f8(0xff)),_0x17e7db['on'](_0x4d72f8(0xfb),()=>{const _0x2d4cf0=_0x4d72f8;_0xee1644[_0x2d4cf0(0x104)]=!_0xee1644[_0x2d4cf0(0x104)],_0xee1644[_0x2d4cf0(0x104)]?this[_0x2d4cf0(0x113)][_0x2d4cf0(0x10b)]():this[_0x2d4cf0(0x10b)]();});const _0x57904e=()=>{const _0x5c30b4=_0x4d72f8;_0x450e11[_0x5c30b4(0x103)][_0x5c30b4(0x112)](()=>{const _0x3785f9=_0x5c30b4;if(_0x27c5d0(this[_0x3785f9(0xe7)])){const _0x5e5a13=new _0x399933(this[_0x3785f9(0x10d)][_0x3785f9(0x101)][_0x3785f9(0xe7)]),_0x2b26fa=_0x5e5a13[_0x3785f9(0xec)],_0x15bcc9=_0x3785f9(0xee)===_0x49ab57[_0x3785f9(0x105)]?_0x3785f9(0xdb):_0x3785f9(0xf4);_0x5e5a13[_0x3785f9(0xe6)](),_0x17e7db[_0x3785f9(0xe7)][_0x3785f9(0xef)][_0x15bcc9]=_0x2b26fa-_0x5e5a13[_0x3785f9(0xec)]+0x1+'px';}});};return this[_0x4d72f8(0x10d)][_0x4d72f8(0x101)]['on'](_0x4d72f8(0x106),_0x57904e),this['on'](_0x4d72f8(0x10f),_0x57904e),_0x17e7db;}[_0x1749fa(0xf1)](){const _0x3c59d2=_0x1749fa,_0x96d397=this[_0x3c59d2(0x10d)][_0x3c59d2(0x101)][_0x3c59d2(0xe7)][_0x3c59d2(0x108)];this[_0x3c59d2(0x111)](_0x3c59d2(0xf1),_0x96d397);}[_0x1749fa(0x10b)](_0xf13b33){const _0x4902ce=_0x1749fa;-0x1===_0xf13b33?this[_0x4902ce(0xe8)][_0x4902ce(0xdf)]():this[_0x4902ce(0xe8)][_0x4902ce(0xe0)]();}}
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 _0xcfd5(){const _0x30ce88=['toUpperCase','2095rdadhl','3127460QoCDdk','REPLACE','bindTemplate','ck-ai-form__toolbar','ck-button-action','insert','44229wWinMs','label','locale','bind','items','2516264JRIAPn','_CONTENT','mainAction','3273120CqCQbi','replace','3XEMAlF','14364297CQRSAu','ck-hidden','429556bnvnUq','tryAgainButton','isVisible','replaceButton','4866AEbOhi','AI_','Stop','_createButton','Insert\x20below','stopButton','addMany','set','insertButton','Try\x20again','extendTemplate'];_0xcfd5=function(){return _0x30ce88;};return _0xcfd5();}const _0x393c0c=_0x4b88;(function(_0x1b2edf,_0x412437){const _0x38a7f9=_0x4b88,_0x146e6c=_0x1b2edf();while(!![]){try{const _0x34be16=-parseInt(_0x38a7f9(0xd8))/0x1+-parseInt(_0x38a7f9(0xe5))/0x2+-parseInt(_0x38a7f9(0xe2))/0x3*(parseInt(_0x38a7f9(0xdd))/0x4)+-parseInt(_0x38a7f9(0xf5))/0x5*(parseInt(_0x38a7f9(0xe9))/0x6)+-parseInt(_0x38a7f9(0xf6))/0x7+parseInt(_0x38a7f9(0xe0))/0x8+parseInt(_0x38a7f9(0xe3))/0x9;if(_0x34be16===_0x412437)break;else _0x146e6c['push'](_0x146e6c['shift']());}catch(_0x281d15){_0x146e6c['push'](_0x146e6c['shift']());}}}(_0xcfd5,0x50b0f));import{ToolbarView as _0x38c3c4,ButtonView as _0x142848}from'ckeditor5/src/ui.js';function _0x4b88(_0x23415d,_0x28c445){const _0xcfd5ac=_0xcfd5();return _0x4b88=function(_0x4b886a,_0x31e555){_0x4b886a=_0x4b886a-0xd6;let _0x43f184=_0xcfd5ac[_0x4b886a];return _0x43f184;},_0x4b88(_0x23415d,_0x28c445);}import{getTranslation as _0x3f5bf7}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x393c0c(0xe1),'INSERT':_0x393c0c(0xd7)};export default class bt extends _0x38c3c4{constructor(_0x2e8682){const _0x2b3c93=_0x393c0c;super(_0x2e8682),this[_0x2b3c93(0xf0)](_0x2b3c93(0xe7),!0x1),this[_0x2b3c93(0xf0)](_0x2b3c93(0xdf),AIFormToolbarViewMainActionLabel[_0x2b3c93(0xf7)]),this[_0x2b3c93(0xe8)]=this[_0x2b3c93(0xec)]('',_0x2b3c93(0xd6)),this[_0x2b3c93(0xe8)][_0x2b3c93(0xdb)](_0x2b3c93(0xd9))['to'](this,_0x2b3c93(0xdf),_0x4ee59c=>_0x3f5bf7(_0x2e8682,_0x2b3c93(0xea)+_0x4ee59c[_0x2b3c93(0xf4)]()+_0x2b3c93(0xde))),this[_0x2b3c93(0xf1)]=this[_0x2b3c93(0xec)](_0x3f5bf7(_0x2e8682,_0x2b3c93(0xed))),this[_0x2b3c93(0xe6)]=this[_0x2b3c93(0xec)](_0x3f5bf7(_0x2e8682,_0x2b3c93(0xf2))),this[_0x2b3c93(0xee)]=this[_0x2b3c93(0xec)](_0x3f5bf7(_0x2e8682,_0x2b3c93(0xeb)));const _0x109c50=this[_0x2b3c93(0xf8)];this[_0x2b3c93(0xf3)]({'attributes':{'class':[_0x2b3c93(0xf9),_0x109c50['if'](_0x2b3c93(0xe7),_0x2b3c93(0xe4),_0xc1dd66=>!_0xc1dd66)]}}),this[_0x2b3c93(0xdc)][_0x2b3c93(0xef)]([this[_0x2b3c93(0xe8)],this[_0x2b3c93(0xf1)],this[_0x2b3c93(0xe6)],this[_0x2b3c93(0xee)]]);}[_0x393c0c(0xec)](_0x5e4d7c,_0x323dcd){const _0x7f162e=_0x393c0c,_0x40471e=new _0x142848(this[_0x7f162e(0xda)]);return _0x40471e[_0x7f162e(0xf0)]({'label':_0x5e4d7c,'class':_0x323dcd||'','isVisible':!0x0,'withText':!0x0}),_0x40471e;}}
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 _0x49d71e=_0x3ff8;(function(_0x3ed66a,_0x44f256){const _0x4d49a8=_0x3ff8,_0x1bd347=_0x3ed66a();while(!![]){try{const _0x32ab9b=parseInt(_0x4d49a8(0xec))/0x1+parseInt(_0x4d49a8(0xfa))/0x2+-parseInt(_0x4d49a8(0x108))/0x3*(-parseInt(_0x4d49a8(0xcd))/0x4)+parseInt(_0x4d49a8(0xd4))/0x5+-parseInt(_0x4d49a8(0xe1))/0x6+-parseInt(_0x4d49a8(0xf1))/0x7*(-parseInt(_0x4d49a8(0xed))/0x8)+-parseInt(_0x4d49a8(0x11e))/0x9;if(_0x32ab9b===_0x44f256)break;else _0x1bd347['push'](_0x1bd347['shift']());}catch(_0x4ffe8c){_0x1bd347['push'](_0x1bd347['shift']());}}}(_0x1b4f,0x43fe0));import{FocusTracker as _0x14e4e9,KeystrokeHandler as _0x4803c5}from'ckeditor5/src/utils.js';import{View as _0x2f6637,FocusCycler as _0x356706,createLabeledTextarea as _0x1fb662}from'ckeditor5/src/ui.js';import _0x537c77,{AIFormToolbarViewMainActionLabel as _0x409938}from'./aiformtoolbarview.js';import _0x1751a2 from'./aiformcontentarea.js';import _0x1192cd from'./aiformerrorview.js';import _0xf71a44 from'./aiformpromptview.js';function _0x1b4f(){const _0x3bb2e1=['submitPrompt','historyGroupView','insertButton','stopButton','fieldView','_promptHistory','tryAgainEvent','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','bindTemplate','value','queryView','11209320KVeTjB','isEnabled','AI_ERROR_FAILED','isProcessing','handleError','toolbar','label','72fCvbFi','ck-hidden','locale','bind','mainAction','Ask\x20AI\x20to\x20improve\x20generated\x20text','stop','164870qgAmyS','set','focusTracker','promptView','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusFirst','keystrokes','replaceContent','add','prompt','stopProcessing','div','element','84204pikqwq','replaceButton','listenTo','tryAgainButton','trim','fire','text','execute','submit','_createToolbar','clear','128948MKImxC','24632NvGlrg','focusCycler','_createPromptView','finishProcessing','1183rZmxCB','contentArea','high','render','focusLast','ck-ai-form','reset','items','startProcessing','705274yBDAXo','_focusables','shift\x20+\x20tab','errorView','copyButtonView','isError','clearHistory','forwardCycle','focusPrevious','_createHistoryView','bindTo','setTemplate','ck-ai-form-content','backwardCycle','83850xOsHEr','insertContentBelow','delegate','REPLACE','tab','isVisible','createCollection','focusNext','search','Empty\x20history','focus'];_0x1b4f=function(){return _0x3bb2e1;};return _0x1b4f();}function _0x3ff8(_0xd81bf4,_0x5252fe){const _0x1b4f59=_0x1b4f();return _0x3ff8=function(_0x3ff808,_0x28da75){_0x3ff808=_0x3ff808-0xca;let _0x1faea9=_0x1b4f59[_0x3ff808];return _0x1faea9;},_0x3ff8(_0xd81bf4,_0x5252fe);}import _0x3084f4 from'./aihistorylistview.js';import _0x20b6e5 from'./aihistorylistitemview.js';import _0x13f15a from'./prompthistory.js';import{getTranslation as _0x7a67d9}from'../../utils/common-translations.js';import{escape as _0x2b3793}from'lodash-es';export default class v extends _0x2f6637{constructor(_0x205c96,_0x587477,_0x592c0a=''){const _0x13751e=_0x3ff8;super(_0x205c96),this[_0x13751e(0xd5)](_0x13751e(0x11f),!0x0),this[_0x13751e(0xd5)](_0x13751e(0x121),!0x1),this[_0x13751e(0xd5)](_0x13751e(0xdd),''),this[_0x13751e(0xd5)](_0x13751e(0x11c),''),this[_0x13751e(0xd5)](_0x13751e(0xff),!0x1),this[_0x13751e(0xd5)](_0x13751e(0xd1),_0x409938[_0x13751e(0x10b)]),this[_0x13751e(0x118)]=new _0x13f15a(),this[_0x13751e(0xfd)]=new _0x1192cd(_0x205c96),this[_0x13751e(0xf2)]=new _0x1751a2(_0x205c96,_0x592c0a),this[_0x13751e(0xf2)][_0x13751e(0xd0)](_0x13751e(0x121))['to'](this),this[_0x13751e(0xf2)][_0x13751e(0xd0)](_0x13751e(0x11c))['to'](this),this[_0x13751e(0xcb)]=this[_0x13751e(0xea)](),this[_0x13751e(0xcb)][_0x13751e(0xd0)](_0x13751e(0xd1))['to'](this),this[_0x13751e(0xd7)]=this[_0x13751e(0xef)](),this[_0x13751e(0xd6)]=new _0x14e4e9(),this[_0x13751e(0xda)]=new _0x4803c5(),this[_0x13751e(0xfb)]=this[_0x13751e(0x10e)]([this[_0x13751e(0xf2)],this[_0x13751e(0xf2)][_0x13751e(0xfe)],this[_0x13751e(0xcb)],this[_0x13751e(0xd7)]]),this[_0x13751e(0xee)]=new _0x356706({'focusables':this[_0x13751e(0xfb)],'focusTracker':this[_0x13751e(0xd6)],'keystrokeHandler':this[_0x13751e(0xda)],'actions':{'focusPrevious':_0x13751e(0xfc),'focusNext':_0x13751e(0x10c)}}),this[_0x13751e(0xd7)][_0x13751e(0xee)]['on'](_0x13751e(0x101),_0x5745a1=>{const _0x2a6a8e=_0x13751e;this[_0x2a6a8e(0xee)][_0x2a6a8e(0x10f)](),_0x5745a1[_0x2a6a8e(0xd3)]();}),this[_0x13751e(0xd7)][_0x13751e(0xee)]['on'](_0x13751e(0x107),_0x2bf1c0=>{const _0x3fbda4=_0x13751e;this[_0x3fbda4(0xee)][_0x3fbda4(0x102)](),_0x2bf1c0[_0x3fbda4(0xd3)]();}),this[_0x13751e(0xd7)][_0x13751e(0x11d)][_0x13751e(0x117)][_0x13751e(0xd0)](_0x13751e(0x11c))['to'](this,_0x13751e(0xdd));const _0x18986d=this[_0x13751e(0x11b)];this[_0x13751e(0x105)]({'tag':_0x13751e(0xdf),'attributes':{'class':['ck',_0x13751e(0xf6),_0x587477],'tabindex':'-1'},'children':[{'tag':_0x13751e(0xdf),'attributes':{'class':['ck',_0x13751e(0x106)]},'children':[{'tag':_0x13751e(0xdf),'attributes':{'class':[_0x18986d['if'](_0x13751e(0xff),_0x13751e(0xce),_0x39a53f=>!_0x39a53f)]},'children':[this[_0x13751e(0xfd)]]},this[_0x13751e(0xf2)],this[_0x13751e(0xcb)],this[_0x13751e(0xd7)]]}]});}[_0x49d71e(0xf4)](){const _0x3e75db=_0x49d71e;super[_0x3e75db(0xf4)](),this[_0x3e75db(0xd6)][_0x3e75db(0xdc)](this[_0x3e75db(0xf2)][_0x3e75db(0xe0)]),this[_0x3e75db(0xd6)][_0x3e75db(0xdc)](this[_0x3e75db(0xf2)][_0x3e75db(0xfe)][_0x3e75db(0xe0)]),this[_0x3e75db(0xd6)][_0x3e75db(0xdc)](this[_0x3e75db(0xcb)][_0x3e75db(0xe0)]),this[_0x3e75db(0xd6)][_0x3e75db(0xdc)](this[_0x3e75db(0xd7)][_0x3e75db(0xe0)]),this[_0x3e75db(0xda)][_0x3e75db(0xe3)](this[_0x3e75db(0xe0)]);}[_0x49d71e(0x112)](_0x191d5f=0x1){const _0x40371c=_0x49d71e;-0x1===_0x191d5f?this[_0x40371c(0xee)][_0x40371c(0xf5)]():this[_0x40371c(0xee)][_0x40371c(0xd9)]();}[_0x49d71e(0xf7)](){const _0x28702e=_0x49d71e;this[_0x28702e(0xdd)]='',this[_0x28702e(0x11c)]='',this[_0x28702e(0xff)]=!0x1,this[_0x28702e(0xd7)][_0x28702e(0xf7)](),this[_0x28702e(0xf2)][_0x28702e(0x10d)]=!0x1,this[_0x28702e(0xcb)][_0x28702e(0x10d)]=!0x1;}[_0x49d71e(0xef)](){const _0x8dbaa6=_0x49d71e,_0x2a442f=this[_0x8dbaa6(0xcf)],_0x4bd85d=new _0xf71a44(_0x2a442f,{'queryView':{'label':_0x7a67d9(_0x2a442f,_0x8dbaa6(0xd8)),'creator':_0x1fb662,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x7a67d9(_0x2a442f,_0x8dbaa6(0x111)),'secondary':_0x7a67d9(_0x2a442f,_0x8dbaa6(0x11a))}}},'filteredView':this[_0x8dbaa6(0x103)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4bd85d[_0x8dbaa6(0xd0)](_0x8dbaa6(0x11f))['to'](this,_0x8dbaa6(0x11f),this,_0x8dbaa6(0x121),(_0x340b23,_0x41e76d)=>_0x340b23&&!_0x41e76d),this[_0x8dbaa6(0xe3)](_0x4bd85d,_0x8dbaa6(0xe9),(_0x3f8a88,_0x3bba47)=>{const _0xe26473=_0x8dbaa6;this[_0xe26473(0xdd)]=_0x3bba47;const _0x46196b=_0x2b3793(_0x3bba47);this[_0xe26473(0xe6)](_0xe26473(0x113),_0x46196b),_0x3bba47[_0xe26473(0xe5)]()&&this[_0xe26473(0x118)][_0xe26473(0xdc)]({'prompt':_0x46196b},0x0);},{'priority':_0x8dbaa6(0xf3)}),_0x4bd85d;}[_0x49d71e(0x103)](){const _0x3a2eac=_0x49d71e,_0xc3e4aa=new _0x3084f4(this[_0x3a2eac(0xcf)]);return _0xc3e4aa[_0x3a2eac(0x114)][_0x3a2eac(0xf8)][_0x3a2eac(0x104)](this[_0x3a2eac(0x118)])['as'](_0x20b6e5),_0xc3e4aa['on'](_0x3a2eac(0x100),()=>{const _0x168bd1=_0x3a2eac;this[_0x168bd1(0x118)][_0x168bd1(0xeb)](),this[_0x168bd1(0xd7)][_0x168bd1(0x110)](''),this[_0x168bd1(0xd7)][_0x168bd1(0x112)]();}),_0xc3e4aa;}[_0x49d71e(0xea)](){const _0x450a07=_0x49d71e,_0x3c6790=new _0x537c77(this[_0x450a07(0xcf)]);return _0x3c6790[_0x450a07(0xe2)][_0x450a07(0xd0)](_0x450a07(0x11f))['to'](this,_0x450a07(0x11f),this,_0x450a07(0x121),this,_0x450a07(0x11c),(_0x528774,_0x46e302,_0xc36b82)=>_0x528774&&!_0x46e302&&!!_0xc36b82),_0x3c6790[_0x450a07(0xe2)][_0x450a07(0x10a)](_0x450a07(0xe8))['to'](this,_0x450a07(0xdb)),_0x3c6790[_0x450a07(0x115)][_0x450a07(0xd0)](_0x450a07(0x11f))['to'](this,_0x450a07(0x11f),this,_0x450a07(0x121),this,_0x450a07(0x11c),(_0x339255,_0x17ed8c,_0x49eaa0)=>_0x339255&&!_0x17ed8c&&!!_0x49eaa0),_0x3c6790[_0x450a07(0x115)][_0x450a07(0x10a)](_0x450a07(0xe8))['to'](this,_0x450a07(0x109)),_0x3c6790[_0x450a07(0xe4)][_0x450a07(0xd0)](_0x450a07(0x11f))['to'](this,_0x450a07(0x11f),this,_0x450a07(0x121),(_0x23f969,_0x242908)=>_0x23f969&&!_0x242908),_0x3c6790[_0x450a07(0xe4)][_0x450a07(0x10a)](_0x450a07(0xe8))['to'](this,_0x450a07(0x119)),_0x3c6790[_0x450a07(0x116)][_0x450a07(0xd0)](_0x450a07(0x11f))['to'](this,_0x450a07(0x121)),_0x3c6790[_0x450a07(0x116)][_0x450a07(0x10a)](_0x450a07(0xe8))['to'](this,_0x450a07(0xde)),_0x3c6790;}[_0x49d71e(0xf9)](){const _0x4637d5=_0x49d71e;this[_0x4637d5(0x11c)]='',this[_0x4637d5(0xff)]=!0x1,this[_0x4637d5(0x121)]=!0x0,this[_0x4637d5(0xf2)][_0x4637d5(0x10d)]=!0x0,this[_0x4637d5(0xcb)][_0x4637d5(0x10d)]=!0x0,this[_0x4637d5(0xf2)][_0x4637d5(0x112)]();}[_0x49d71e(0xf0)](){const _0x5876f3=_0x49d71e,_0x1e5bb9=this[_0x5876f3(0xcf)];this[_0x5876f3(0x121)]=!0x1,this[_0x5876f3(0xdd)]='',this[_0x5876f3(0xd7)][_0x5876f3(0xf7)](),this[_0x5876f3(0x11c)]&&(this[_0x5876f3(0xd7)][_0x5876f3(0x11d)][_0x5876f3(0xcc)]=_0x7a67d9(_0x1e5bb9,_0x5876f3(0xd2)));}[_0x49d71e(0xca)](_0x52c9ae){const _0x5d7fbc=_0x49d71e,_0x3f9f0e=this[_0x5d7fbc(0xcf)];this[_0x5d7fbc(0xf0)](),this[_0x5d7fbc(0xff)]=!0x0,this[_0x5d7fbc(0xfd)][_0x5d7fbc(0xe7)]=_0x52c9ae||_0x7a67d9(_0x3f9f0e,_0x5d7fbc(0x120)),this[_0x5d7fbc(0x11c)]||(this[_0x5d7fbc(0xf2)][_0x5d7fbc(0x10d)]=!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(_0x2b6f63,_0x129131){const _0x13cfc0=_0xf47b,_0x24807b=_0x2b6f63();while(!![]){try{const _0x4e6105=-parseInt(_0x13cfc0(0xd9))/0x1+parseInt(_0x13cfc0(0xd1))/0x2+-parseInt(_0x13cfc0(0xd2))/0x3*(parseInt(_0x13cfc0(0xd6))/0x4)+-parseInt(_0x13cfc0(0xcd))/0x5*(-parseInt(_0x13cfc0(0xd4))/0x6)+-parseInt(_0x13cfc0(0xd8))/0x7+-parseInt(_0x13cfc0(0xd5))/0x8*(-parseInt(_0x13cfc0(0xd3))/0x9)+-parseInt(_0x13cfc0(0xcc))/0xa*(-parseInt(_0x13cfc0(0xca))/0xb);if(_0x4e6105===_0x129131)break;else _0x24807b['push'](_0x24807b['shift']());}catch(_0x187e2){_0x24807b['push'](_0x24807b['shift']());}}}(_0xa788,0x6ad74));import{ListItemView as _0x4428c9,ButtonView as _0x3a62b8}from'ckeditor5/src/ui.js';function _0xa788(){const _0xbb3794=['72DNTXzr','104MrOMpr','8yvezXh','fire','4273885rJjYWy','811577EimmuI','add','children','15356RLxVFT','prompt','11230jAIwFh','200225bIGUNA','execute','locale','set','253842wgbizu','858543iYVIKJ','177885hwnXgY'];_0xa788=function(){return _0xbb3794;};return _0xa788();}import _0x319c52 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x5100af}from'lodash-es';function _0xf47b(_0x1d3a23,_0x59b404){const _0xa7886d=_0xa788();return _0xf47b=function(_0xf47bca,_0x2b7360){_0xf47bca=_0xf47bca-0xc8;let _0x536862=_0xa7886d[_0xf47bca];return _0x536862;},_0xf47b(_0x1d3a23,_0x59b404);}export default class hs extends _0x4428c9{constructor(_0x432da4){const _0x342ab5=_0xf47b;super();const _0x2c0204=new _0x319c52(),_0x5446c8=new _0x3a62b8(this[_0x342ab5(0xcf)],_0x2c0204);this[_0x342ab5(0xc9)][_0x342ab5(0xc8)](_0x5446c8),_0x5446c8[_0x342ab5(0xd0)]({'label':_0x432da4[_0x342ab5(0xcb)],'withText':!0x0}),_0x5446c8['on'](_0x342ab5(0xce),()=>{const _0x368623=_0x342ab5;this[_0x368623(0xd7)](_0x368623(0xce),{'value':_0x5100af(_0x432da4[_0x368623(0xcb)])});});}}
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
- function _0x15c7(){const _0x36a555=['historyGroupView','25224aQDUAY','105916KUbWLi','63vrKxoK','clearHistoryButton','Clear','label','execute','filter','434668kWZKFP','652054bfYfad','3215166zexSUB','fire','_createClearHistoryButton','length','57gefDVF','set','Prompt\x20history','delegate','items','locale','add','4676550bqWABo','children','2854953vvfpKf','clearHistory'];_0x15c7=function(){return _0x36a555;};return _0x15c7();}const _0x3ab5ba=_0x2797;function _0x2797(_0x499055,_0x431038){const _0x15c7be=_0x15c7();return _0x2797=function(_0x27970c,_0x57984e){_0x27970c=_0x27970c-0xfa;let _0x2832cd=_0x15c7be[_0x27970c];return _0x2832cd;},_0x2797(_0x499055,_0x431038);}(function(_0x3c6a85,_0x19d329){const _0x124e4b=_0x2797,_0x1e41ea=_0x3c6a85();while(!![]){try{const _0x4a2b88=-parseInt(_0x124e4b(0x10b))/0x1+parseInt(_0x124e4b(0x10c))/0x2+parseInt(_0x124e4b(0x111))/0x3*(-parseInt(_0x124e4b(0x104))/0x4)+parseInt(_0x124e4b(0xfe))/0x5+parseInt(_0x124e4b(0x10d))/0x6+-parseInt(_0x124e4b(0x105))/0x7*(parseInt(_0x124e4b(0x103))/0x8)+-parseInt(_0x124e4b(0x100))/0x9;if(_0x4a2b88===_0x19d329)break;else _0x1e41ea['push'](_0x1e41ea['shift']());}catch(_0x4b79cb){_0x1e41ea['push'](_0x1e41ea['shift']());}}}(_0x15c7,0x7d72b));import{ListView as _0x189b87,ListItemGroupView as _0x45bdad,ButtonView as _0xa2d1b}from'ckeditor5/src/ui.js';import{getTranslation as _0x1025bc}from'../../utils/common-translations.js';export default class rs extends _0x189b87{constructor(_0x154784){const _0x56fc9f=_0x2797;super(_0x154784),this[_0x56fc9f(0x106)]=this[_0x56fc9f(0x10f)](),this[_0x56fc9f(0x102)]=new _0x45bdad(),this[_0x56fc9f(0x102)][_0x56fc9f(0xff)][_0x56fc9f(0xfd)](this[_0x56fc9f(0x106)],0x1),this[_0x56fc9f(0x102)][_0x56fc9f(0x108)]=_0x1025bc(_0x154784,_0x56fc9f(0x113)),this[_0x56fc9f(0x102)][_0x56fc9f(0xfb)][_0x56fc9f(0xfa)](_0x56fc9f(0x109))['to'](this),this[_0x56fc9f(0xfb)][_0x56fc9f(0xfd)](this[_0x56fc9f(0x102)]);}[_0x3ab5ba(0x10a)](){const _0x35f34b=_0x3ab5ba;let _0x41c701=0x0;for(const _0x24f5a0 of this[_0x35f34b(0xfb)])_0x41c701+=_0x24f5a0[_0x35f34b(0xfb)][_0x35f34b(0x110)];return{'resultsCount':_0x41c701,'totalItemsCount':_0x41c701};}[_0x3ab5ba(0x10f)](){const _0x1ad9e3=_0x3ab5ba,_0x2f840c=this[_0x1ad9e3(0xfc)],_0x1ddfd=new _0xa2d1b(this[_0x1ad9e3(0xfc)]);return _0x1ddfd[_0x1ad9e3(0x112)]({'label':'('+_0x1025bc(_0x2f840c,_0x1ad9e3(0x107))+')','withText':!0x0}),_0x1ddfd['on'](_0x1ad9e3(0x109),()=>this[_0x1ad9e3(0x10e)](_0x1ad9e3(0x101))),_0x1ddfd;}}
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 _0x38b83f=_0x3643;(function(_0x2245bd,_0xaf2bd3){const _0x2f8c27=_0x3643,_0x3625e8=_0x2245bd();while(!![]){try{const _0x236349=-parseInt(_0x2f8c27(0xdf))/0x1+-parseInt(_0x2f8c27(0xee))/0x2*(-parseInt(_0x2f8c27(0xe9))/0x3)+parseInt(_0x2f8c27(0xed))/0x4*(-parseInt(_0x2f8c27(0xec))/0x5)+parseInt(_0x2f8c27(0xd5))/0x6*(-parseInt(_0x2f8c27(0xd3))/0x7)+-parseInt(_0x2f8c27(0xe2))/0x8*(-parseInt(_0x2f8c27(0xe5))/0x9)+-parseInt(_0x2f8c27(0xd2))/0xa*(-parseInt(_0x2f8c27(0xe7))/0xb)+parseInt(_0x2f8c27(0xe0))/0xc*(parseInt(_0x2f8c27(0xea))/0xd);if(_0x236349===_0xaf2bd3)break;else _0x3625e8['push'](_0x3625e8['shift']());}catch(_0x46eb46){_0x3625e8['push'](_0x3625e8['shift']());}}}(_0x13f4,0x79866));import{Collection as _0x1e0f25}from'ckeditor5/src/utils.js';const cs=_0x38b83f(0xd6);function _0x3643(_0x272dab,_0x50fb16){const _0x13f4ab=_0x13f4();return _0x3643=function(_0x3643c,_0x1aa9dd){_0x3643c=_0x3643c-0xd2;let _0x5932c5=_0x13f4ab[_0x3643c];return _0x5932c5;},_0x3643(_0x272dab,_0x50fb16);}export default class os extends _0x1e0f25{constructor(){const _0x5c48b6=_0x38b83f;super(),this[_0x5c48b6(0xdb)](),this['on'](_0x5c48b6(0xe3),(_0x31c509,_0x5f5166)=>{const _0x311811=_0x5c48b6,_0x2b420f=Ss(_0x5f5166[_0x311811(0xda)]);for(const _0x3b3a39 of this)if(_0x3b3a39!=_0x5f5166&&Ss(_0x3b3a39[_0x311811(0xda)])===_0x2b420f){this[_0x311811(0xd7)](_0x3b3a39);break;}this[_0x311811(0xe4)]>0x14&&this[_0x311811(0xd7)](this[_0x311811(0xe6)]),this[_0x311811(0xdc)]();}),this['on'](_0x5c48b6(0xd7),()=>{const _0x1b676f=_0x5c48b6;this[_0x1b676f(0xdc)]();});}[_0x38b83f(0xdb)](){const _0x30d335=_0x38b83f,_0x456ee1=sessionStorage[_0x30d335(0xd8)](cs)||'[]';this[_0x30d335(0xe8)](JSON[_0x30d335(0xdd)](_0x456ee1));}[_0x38b83f(0xdc)](){const _0x3eacf3=_0x38b83f;sessionStorage[_0x3eacf3(0xeb)](cs,JSON[_0x3eacf3(0xe1)](this[_0x3eacf3(0xd9)](_0x14cea9=>_0x14cea9)));}}function Ss(_0x1b8123){const _0x48d81a=_0x38b83f;return _0x1b8123[_0x48d81a(0xde)]()[_0x48d81a(0xd4)]();}function _0x13f4(){const _0x588e1c=['500vRfIfa','14rAkAMo','trim','1309452rnphbn','CKEditor/AIFormView/PromptHistory','remove','getItem','map','prompt','_loadFromSessionStorage','_saveToSessionStorage','parse','toLowerCase','886024uPyYIf','708aQDyde','stringify','1055696KDmAbx','add','length','63xQRuAn','last','202477CUpPDe','addMany','1507473UWAkhv','29055XqjSvt','setItem','1645415WTnaIy','8oiftPx','2VEwOSk'];_0x13f4=function(){return _0x588e1c;};return _0x13f4();}
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 _0x5dc4c8=_0x44b2;(function(_0x34b1b5,_0x1ab2df){const _0x788ae8=_0x44b2,_0x151f57=_0x34b1b5();while(!![]){try{const _0x58cb0e=parseInt(_0x788ae8(0x13f))/0x1+-parseInt(_0x788ae8(0x166))/0x2+-parseInt(_0x788ae8(0x169))/0x3+parseInt(_0x788ae8(0x15a))/0x4+parseInt(_0x788ae8(0x149))/0x5+-parseInt(_0x788ae8(0x152))/0x6*(parseInt(_0x788ae8(0x15c))/0x7)+-parseInt(_0x788ae8(0x153))/0x8;if(_0x58cb0e===_0x1ab2df)break;else _0x151f57['push'](_0x151f57['shift']());}catch(_0x4e3f1d){_0x151f57['push'](_0x151f57['shift']());}}}(_0xabec,0x90895));function _0xabec(){const _0x16f721=['element','concat','selection','get','change:isEnabled','899788dqaCRq','requiresContent','_commandDefinitions','486492TxJngp','model','94790eLfhaB','showUI','config','_hasContext','execute','length','ai.aiAssistant.disabledElements','from','commands','plugins','5865790LREanV','getRanges','editor','getItems','getSelectedBlocks','reduce','refresh','isEnabled','enabledCommandsIds','6bcZtQo','6021280BTYlwA','name','getFirstRange','custom','set','isEmpty','add','4013028yRlZvz','change:_hasContext','2201262boLJju','document','isCollapsed','hasContent','includes'];_0xabec=function(){return _0x16f721;};return _0xabec();}function _0x44b2(_0x4f2e8b,_0xbdb83e){const _0xabeca2=_0xabec();return _0x44b2=function(_0x44b214,_0x1ef0ec){_0x44b214=_0x44b214-0x13e;let _0x220778=_0xabeca2[_0x44b214];return _0x220778;},_0x44b2(_0x4f2e8b,_0xbdb83e);}import{Command as _0x2e6890}from'ckeditor5/src/core.js';import _0x28283c from'../aiassistantui.js';export default class g extends _0x2e6890{constructor(_0x58802b,_0x25c5ea){const _0x1deff3=_0x44b2;super(_0x58802b),this[_0x1deff3(0x168)]=_0x25c5ea?_0x25c5ea[_0x1deff3(0x14e)]((_0x87e297,_0x193a8b)=>_0x87e297[_0x1deff3(0x162)](_0x193a8b[_0x1deff3(0x147)]),new Array()):[],this[_0x1deff3(0x157)](_0x1deff3(0x151),[]),this['on'](_0x1deff3(0x15b),(_0x2537e3,_0x1778a2,_0x689a8d)=>{const _0x53713b=_0x1deff3;this[_0x53713b(0x150)]&&(this[_0x53713b(0x151)]=F(this[_0x53713b(0x168)],_0x689a8d));}),this[_0x1deff3(0x157)](_0x1deff3(0x142),!0x1),this['on'](_0x1deff3(0x165),(_0x1486b8,_0x5116e1,_0x404765)=>{const _0x10d77e=_0x1deff3;this[_0x10d77e(0x151)]=_0x404765?F(this[_0x10d77e(0x168)],this[_0x10d77e(0x142)]):[];});}[_0x5dc4c8(0x14f)](){const _0x50e58b=_0x5dc4c8,_0x3a1bc7=this[_0x50e58b(0x14b)][_0x50e58b(0x13e)];this[_0x50e58b(0x142)]=function(_0x201564){const _0x34e6d2=_0x50e58b,_0x47b950=_0x201564[_0x34e6d2(0x15d)][_0x34e6d2(0x163)];return _0x47b950[_0x34e6d2(0x15e)]?0x0!==[..._0x47b950[_0x34e6d2(0x14d)]()][_0x34e6d2(0x144)]&&![..._0x47b950[_0x34e6d2(0x14d)]()][0x0][_0x34e6d2(0x158)]:!!_0x201564[_0x34e6d2(0x15f)](_0x47b950[_0x34e6d2(0x155)]());}(_0x3a1bc7);const _0x1a6deb=_0x3a1bc7[_0x50e58b(0x15d)][_0x50e58b(0x163)],_0x27c440=this[_0x50e58b(0x14b)][_0x50e58b(0x141)][_0x50e58b(0x164)](_0x50e58b(0x145));for(const _0x3f0a9c of _0x1a6deb[_0x50e58b(0x14a)]())for(const _0x3c5bb5 of _0x3f0a9c[_0x50e58b(0x14c)]())if(_0x3c5bb5['is'](_0x50e58b(0x161))&&_0x27c440[_0x50e58b(0x160)](_0x3c5bb5[_0x50e58b(0x154)]))return void(this[_0x50e58b(0x150)]=!0x1);this[_0x50e58b(0x150)]=!0x0;}[_0x5dc4c8(0x143)](_0x1bbf6d='',_0x2c7212='',_0x1ba8ac=_0x5dc4c8(0x156)){const _0x26a8a7=_0x5dc4c8;this[_0x26a8a7(0x14b)][_0x26a8a7(0x148)][_0x26a8a7(0x164)](_0x28283c)[_0x26a8a7(0x140)](_0x1bbf6d,_0x2c7212,_0x1ba8ac);}}function F(_0x2be828,_0x2e5444){const _0x4a27ad=_0x5dc4c8,_0x2f7945=new Set();for(const _0x391c8b of _0x2be828)(_0x2e5444||!0x1===_0x391c8b[_0x4a27ad(0x167)])&&_0x2f7945[_0x4a27ad(0x159)](_0x391c8b['id']);return Array[_0x4a27ad(0x146)](_0x2f7945);}
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(_0x4edc02,_0x102e43,_0x4a6381){const t=_0x4edc02['t'];switch(_0x102e43){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',_0x4a6381);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'},_0x4a6381);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 _0x102e43;}}
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;}}