@ckeditor/ckeditor5-ai 0.0.0-nightly-20240409.0 → 0.0.0-nightly-20240411.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5b5479,_0x45c09f){const _0x1f55fb=_0x378a,_0x258c79=_0x5b5479();while(!![]){try{const _0x568a8f=-parseInt(_0x1f55fb(0x131))/0x1+-parseInt(_0x1f55fb(0x139))/0x2+parseInt(_0x1f55fb(0x12f))/0x3+parseInt(_0x1f55fb(0x13c))/0x4+-parseInt(_0x1f55fb(0x13a))/0x5*(parseInt(_0x1f55fb(0x13b))/0x6)+-parseInt(_0x1f55fb(0x135))/0x7+-parseInt(_0x1f55fb(0x130))/0x8*(-parseInt(_0x1f55fb(0x137))/0x9);if(_0x568a8f===_0x45c09f)break;else _0x258c79['push'](_0x258c79['shift']());}catch(_0x513168){_0x258c79['push'](_0x258c79['shift']());}}}(_0x3705,0x961ac));import{HighlightedTextView as _0x204c19}from'ckeditor5/src/ui.js';function _0x3705(){const _0x4d7452=['364806WjglyD','1720ZQMZHN','1051432HrJivs','bindTemplate','ck-editor__label_','for','5098828ETtWmy','ck-label','121023CFOlmK','set','1469650FIQTGy','13245oaiTBi','486vhojsR','1325404lMsImn','extendTemplate'];_0x3705=function(){return _0x4d7452;};return _0x3705();}function _0x378a(_0x10fd2a,_0x46b09e){const _0x370585=_0x3705();return _0x378a=function(_0x378ab7,_0x2e71ae){_0x378ab7=_0x378ab7-0x12f;let _0x4d7f96=_0x370585[_0x378ab7];return _0x4d7f96;},_0x378a(_0x10fd2a,_0x46b09e);}import{uid as _0x551555}from'ckeditor5/src/utils.js';export default class S extends _0x204c19{constructor(){const _0x32c0ad=_0x378a;super(),this[_0x32c0ad(0x138)](_0x32c0ad(0x134),void 0x0);const _0x1b3fa0=this[_0x32c0ad(0x132)];this['id']=_0x32c0ad(0x133)+_0x551555(),this[_0x32c0ad(0x13d)]({'attributes':{'class':['ck',_0x32c0ad(0x136)],'id':this['id'],'for':_0x1b3fa0['to'](_0x32c0ad(0x134))}});}}
23
+ (function(_0x2ec635,_0x1d28d6){const _0x88f141=_0x443a,_0x16509f=_0x2ec635();while(!![]){try{const _0x11f8fc=-parseInt(_0x88f141(0x1b7))/0x1+parseInt(_0x88f141(0x1bb))/0x2+parseInt(_0x88f141(0x1b0))/0x3*(parseInt(_0x88f141(0x1b8))/0x4)+parseInt(_0x88f141(0x1bd))/0x5*(parseInt(_0x88f141(0x1b1))/0x6)+-parseInt(_0x88f141(0x1ae))/0x7+parseInt(_0x88f141(0x1bc))/0x8+parseInt(_0x88f141(0x1b2))/0x9*(parseInt(_0x88f141(0x1ba))/0xa);if(_0x11f8fc===_0x1d28d6)break;else _0x16509f['push'](_0x16509f['shift']());}catch(_0x5a0752){_0x16509f['push'](_0x16509f['shift']());}}}(_0x323b,0x79e68));function _0x323b(){const _0x2fc097=['ck-label','for','395879SrfjwM','20ZCRRXU','ck-editor__label_','780WRflWx','11440DEFEFE','2749208Tsrpnn','189925GbPoWz','2313829NercWe','set','479484Xrgptz','6tuhIsh','4527ohLqdZ','extendTemplate','bindTemplate'];_0x323b=function(){return _0x2fc097;};return _0x323b();}import{HighlightedTextView as _0x2fdca1}from'ckeditor5/src/ui.js';function _0x443a(_0x55bec2,_0x51f71e){const _0x323bfa=_0x323b();return _0x443a=function(_0x443a2c,_0x40059b){_0x443a2c=_0x443a2c-0x1ae;let _0x59da46=_0x323bfa[_0x443a2c];return _0x59da46;},_0x443a(_0x55bec2,_0x51f71e);}import{uid as _0x1d3f17}from'ckeditor5/src/utils.js';export default class S extends _0x2fdca1{constructor(){const _0x3b760a=_0x443a;super(),this[_0x3b760a(0x1af)](_0x3b760a(0x1b6),void 0x0);const _0x32e158=this[_0x3b760a(0x1b4)];this['id']=_0x3b760a(0x1b9)+_0x1d3f17(),this[_0x3b760a(0x1b3)]({'attributes':{'class':['ck',_0x3b760a(0x1b5)],'id':this['id'],'for':_0x32e158['to'](_0x3b760a(0x1b6))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a24(){const _0x55e82c=['body','setStartAfter','smooth','querySelector','appendChild','mousedown','render','AI\x20is\x20writing...','ck-ai-form__content-field','setEndBefore','write','value','ck-ai-form__content-area--processing','126lYhhOR','textContent','2867409kcSPpT','158195qaqTOA','style','<span>]</span>','ck-reset_all-excluded','div','left','ck-hidden','text/html','ck-ai-form__copy-button','3mBwPTL','class','ck-ai-form__content-area','5477080NknEMK','scrollHeight','loaderView','8NlNBri','bindTemplate','ck-ai-form__copy-button-wrapper','.ck-ai-form__loader','icon','change:isProcessing','wheel','_createCopyButton','isVisible','listenTo','ClipboardItem','bind','_createLoader','addRange','firstElementChild','ck-ai-form__loader','ck-ai-form__content-area-wrapper','execCommand','element','771910TEkDUP','\x20ck-ai-form__copy-button--copied','clipboard','getSelection','260784tVTXAc','<span>[</span>','isEnabled','20XeykSD','_copyHTMLToClipboard','position','remove','createElement','lastElementChild','text/plain','change:value','ck-content','contentFieldView','absolute','setTemplate','locale','innerHTML','-9999px','execute','set','focus','839887SQDttN','removeAllRanges','12qPyxCr','Copy','isProcessing','createRange','17279669HXJrLV','check','appendLoader','scrollTo','copy','setContent','copyButtonView'];_0x5a24=function(){return _0x55e82c;};return _0x5a24();}const _0x4375f4=_0x2e88;(function(_0x5a575e,_0x48a795){const _0x38a854=_0x2e88,_0x50c627=_0x5a575e();while(!![]){try{const _0x4bd986=-parseInt(_0x38a854(0x1b7))/0x1+parseInt(_0x38a854(0x1f6))/0x2*(parseInt(_0x38a854(0x1dd))/0x3)+parseInt(_0x38a854(0x1a2))/0x4+-parseInt(_0x38a854(0x1d4))/0x5*(-parseInt(_0x38a854(0x1d1))/0x6)+parseInt(_0x38a854(0x1e0))/0x7*(-parseInt(_0x38a854(0x1e3))/0x8)+-parseInt(_0x38a854(0x1d3))/0x9*(parseInt(_0x38a854(0x1a5))/0xa)+-parseInt(_0x38a854(0x1bd))/0xb*(-parseInt(_0x38a854(0x1b9))/0xc);if(_0x4bd986===_0x48a795)break;else _0x50c627['push'](_0x50c627['shift']());}catch(_0x59cc21){_0x50c627['push'](_0x50c627['shift']());}}}(_0x5a24,0x683a8));import{global as _0x3e6972}from'ckeditor5/src/utils.js';import{View as _0x2b2332,ButtonView as _0x2ac194,SpinnerView as _0x23a0e8}from'ckeditor5/src/ui.js';import _0x432c52 from'../../../theme/icons/copy.svg';import{getTranslation as _0x4def44}from'../../utils/common-translations.js';import{icons as _0x545015}from'ckeditor5/src/core.js';function _0x2e88(_0x40f8cb,_0x2c5012){const _0x5a241c=_0x5a24();return _0x2e88=function(_0x2e88ca,_0x1cf7d8){_0x2e88ca=_0x2e88ca-0x19f;let _0x221435=_0x5a241c[_0x2e88ca];return _0x221435;},_0x2e88(_0x40f8cb,_0x2c5012);}export default class nt extends _0x2b2332{constructor(_0x49385c,_0x2cab49=''){const _0x50c5de=_0x2e88;super(_0x49385c),this[_0x50c5de(0x1b5)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2657bb=this[_0x50c5de(0x1e4)];this[_0x50c5de(0x1ae)]=new ContentFieldView(_0x49385c,_0x2cab49),this[_0x50c5de(0x1c3)]=this[_0x50c5de(0x1ea)](),this[_0x50c5de(0x1b0)]({'tag':_0x50c5de(0x1d8),'attributes':{'class':['ck',_0x50c5de(0x1f3),_0x2657bb['if'](_0x50c5de(0x1eb),_0x50c5de(0x1da),_0x207677=>!_0x207677)],'tabindex':'-1'},'children':[{'tag':_0x50c5de(0x1d8),'attributes':{'class':['ck',_0x50c5de(0x1df),_0x2657bb['if'](_0x50c5de(0x1bb),_0x50c5de(0x1d0))]},'children':[this[_0x50c5de(0x1ae)],{'tag':_0x50c5de(0x1d8),'attributes':{'class':['ck',_0x50c5de(0x1e5)]},'children':[this[_0x50c5de(0x1c3)]]}]}]});}[_0x4375f4(0x1ca)](){const _0xa90142=_0x4375f4;super[_0xa90142(0x1ca)](),this[_0xa90142(0x1cf)]&&this[_0xa90142(0x1ae)][_0xa90142(0x1c2)](this[_0xa90142(0x1cf)]);let _0x14bf4e=!0x1;this['on'](_0xa90142(0x1ac),(_0x167f12,_0x286157,_0x516008)=>{const _0x50ebe2=_0xa90142,_0x15ac50=!this[_0x50ebe2(0x1ae)][_0x50ebe2(0x1f5)][_0x50ebe2(0x1c7)](_0x50ebe2(0x1e6));this[_0x50ebe2(0x1ae)][_0x50ebe2(0x1c2)](_0x516008),this[_0x50ebe2(0x1bb)]&&_0x15ac50&&!_0x14bf4e&&this[_0x50ebe2(0x1f5)][_0x50ebe2(0x1c0)]({'top':this[_0x50ebe2(0x1f5)][_0x50ebe2(0x1e1)],'behavior':_0x50ebe2(0x1c6)});}),this['on'](_0xa90142(0x1e8),(_0xaf2e6c,_0x30b32a,_0x4ffc20)=>{const _0x298fbf=_0xa90142;_0x14bf4e=!0x1,_0x4ffc20?(this[_0x298fbf(0x1cf)]=null,this[_0x298fbf(0x1ae)][_0x298fbf(0x1bf)]()):this[_0x298fbf(0x1cf)]||this[_0x298fbf(0x1ae)][_0x298fbf(0x1c2)]('');}),this[_0xa90142(0x1ec)](this[_0xa90142(0x1f5)],_0xa90142(0x1e9),()=>{_0x14bf4e=!0x0;}),this[_0xa90142(0x1ec)](this[_0xa90142(0x1f5)],_0xa90142(0x1c9),()=>{_0x14bf4e=!0x0;});}[_0x4375f4(0x1b6)](){const _0x6b4233=_0x4375f4;this[_0x6b4233(0x1f5)][_0x6b4233(0x1b6)]();}[_0x4375f4(0x1ea)](){const _0x17fe30=_0x4375f4,_0x3807c=this[_0x17fe30(0x1b1)],_0x519300=new _0x2ac194(this[_0x17fe30(0x1b1)]),_0x511c13=_0x17fe30(0x1dc);return _0x519300[_0x17fe30(0x1b5)]({'label':_0x4def44(_0x3807c,_0x17fe30(0x1ba)),'icon':_0x432c52,'class':_0x511c13,'tooltip':!0x0}),_0x519300[_0x17fe30(0x1ee)](_0x17fe30(0x1eb))['to'](this,_0x17fe30(0x1cf),_0x2d6f21=>!!_0x2d6f21),_0x519300[_0x17fe30(0x1ee)](_0x17fe30(0x1a4))['to'](this,_0x17fe30(0x1bb),_0x4cac95=>!_0x4cac95),_0x519300['on'](_0x17fe30(0x1b4),()=>{const _0x1709c6=_0x17fe30;this[_0x1709c6(0x1a6)](this[_0x1709c6(0x1ae)][_0x1709c6(0x1f5)]),_0x519300[_0x1709c6(0x1e7)]=_0x545015[_0x1709c6(0x1be)],_0x519300[_0x1709c6(0x1de)]=_0x511c13+_0x1709c6(0x19f),this[_0x1709c6(0x1b6)](),setTimeout(()=>{const _0x583c7e=_0x1709c6;_0x519300[_0x583c7e(0x1e7)]=_0x432c52,_0x519300[_0x583c7e(0x1de)]=_0x511c13;},0x3e8);}),_0x519300;}[_0x4375f4(0x1a6)](_0x154075){const _0x546ed3=_0x4375f4,{window:_0x4afec8,document:_0x3eb9ac}=_0x3e6972;if(_0x4afec8[_0x546ed3(0x1ed)]){const {Blob:_0x8a2a97,ClipboardItem:_0x1d4f1e}=_0x4afec8,_0x2df145=[new _0x1d4f1e({'text/html':new _0x8a2a97([_0x154075[_0x546ed3(0x1b2)]],{'type':_0x546ed3(0x1db)}),'text/plain':new _0x8a2a97([_0x154075[_0x546ed3(0x1d2)]||''],{'type':_0x546ed3(0x1ab)})})];navigator[_0x546ed3(0x1a0)][_0x546ed3(0x1ce)](_0x2df145);}else{const _0x4de4aa=_0x3eb9ac[_0x546ed3(0x1a9)](_0x546ed3(0x1d8));_0x4de4aa[_0x546ed3(0x1d5)][_0x546ed3(0x1a7)]=_0x546ed3(0x1af),_0x4de4aa[_0x546ed3(0x1d5)][_0x546ed3(0x1d9)]=_0x546ed3(0x1b3),_0x4de4aa[_0x546ed3(0x1b2)]=_0x546ed3(0x1a3)+_0x154075[_0x546ed3(0x1b2)]+_0x546ed3(0x1d6),_0x3eb9ac[_0x546ed3(0x1c4)][_0x546ed3(0x1c8)](_0x4de4aa);const _0xf1063e=_0x3eb9ac[_0x546ed3(0x1bc)]();_0xf1063e[_0x546ed3(0x1c5)](_0x4de4aa[_0x546ed3(0x1f1)]),_0xf1063e[_0x546ed3(0x1cd)](_0x4de4aa[_0x546ed3(0x1aa)]);const _0x400ac6=_0x4afec8[_0x546ed3(0x1a1)]();_0x400ac6[_0x546ed3(0x1b8)](),_0x400ac6[_0x546ed3(0x1f0)](_0xf1063e),_0x3eb9ac[_0x546ed3(0x1f4)](_0x546ed3(0x1c1)),_0x4de4aa[_0x546ed3(0x1a8)]();}}}export class ContentFieldView extends _0x2b2332{constructor(_0x3e4e90,_0x538c0f=''){const _0x167e6a=_0x4375f4;super(_0x3e4e90),this[_0x167e6a(0x1e2)]=this[_0x167e6a(0x1ef)](),this[_0x167e6a(0x1b0)]({'tag':_0x167e6a(0x1d8),'attributes':{'class':['ck',_0x167e6a(0x1ad),_0x538c0f,_0x167e6a(0x1d7),_0x167e6a(0x1cc)]}});}[_0x4375f4(0x1c2)](_0x553ec8){const _0x31ab0f=_0x4375f4;this[_0x31ab0f(0x1f5)][_0x31ab0f(0x1b2)]=_0x553ec8;}[_0x4375f4(0x1bf)](){const _0x53798d=_0x4375f4;this[_0x53798d(0x1f5)][_0x53798d(0x1c8)](this[_0x53798d(0x1e2)][_0x53798d(0x1f5)]);}[_0x4375f4(0x1ef)](){const _0x20a730=_0x4375f4,_0x5bca2d=new _0x2b2332(),_0x54a336=this[_0x20a730(0x1b1)],_0x13b8e5=new _0x23a0e8();return _0x13b8e5[_0x20a730(0x1eb)]=!0x0,_0x5bca2d[_0x20a730(0x1b0)]({'tag':_0x20a730(0x1d8),'attributes':{'class':['ck',_0x20a730(0x1f2)]},'children':[_0x13b8e5,{'text':_0x4def44(_0x54a336,_0x20a730(0x1cb))}]}),_0x5bca2d[_0x20a730(0x1ca)](),_0x5bca2d;}}
23
+ const _0x2f24b5=_0x44cb;function _0x2d85(){const _0x5e225f=['701952LUcvEl','setStartAfter','657348wKDhbi','text/html','wheel','remove','contentFieldView','_createLoader','ck-ai-form__content-area--processing','ck-ai-form__content-field','ClipboardItem','ck-ai-form__copy-button','ck-hidden','text/plain','body','scrollTo','execute','querySelector','<span>]</span>','class','\x20ck-ai-form__copy-button--copied','9pYZcEC','smooth','bind','ck-ai-form__content-area','56BqQZPy','isVisible','addRange','execCommand','getSelection','bindTemplate','left','53543CWZelM','absolute','icon','textContent','createElement','clipboard','lastElementChild','ck-content','AI\x20is\x20writing...','25166SlNZUa','copy','ck-ai-form__content-area-wrapper','write','element','697255meIGbm','8042UcHDfH','set','listenTo','position','render','locale','innerHTML','_copyHTMLToClipboard','focus','scrollHeight','.ck-ai-form__loader','ck-ai-form__loader','ck-reset_all-excluded','isEnabled','<span>[</span>','createRange','removeAllRanges','_createCopyButton','setContent','mousedown','-9999px','setTemplate','copyButtonView','setEndBefore','div','appendLoader','24NDleAs','change:value','isProcessing','check','value','style','appendChild','change:isProcessing','Copy','loaderView','ck-ai-form__copy-button-wrapper','2807510zBhoOy','firstElementChild'];_0x2d85=function(){return _0x5e225f;};return _0x2d85();}(function(_0x31c7e9,_0x4d9d81){const _0x52d623=_0x44cb,_0x2e330e=_0x31c7e9();while(!![]){try{const _0x5b6759=-parseInt(_0x52d623(0x107))/0x1+parseInt(_0x52d623(0x10d))/0x2*(-parseInt(_0x52d623(0x127))/0x3)+-parseInt(_0x52d623(0x136))/0x4+parseInt(_0x52d623(0x10c))/0x5+-parseInt(_0x52d623(0x134))/0x6+-parseInt(_0x52d623(0x154))/0x7*(-parseInt(_0x52d623(0x14d))/0x8)+-parseInt(_0x52d623(0x149))/0x9*(-parseInt(_0x52d623(0x132))/0xa);if(_0x5b6759===_0x4d9d81)break;else _0x2e330e['push'](_0x2e330e['shift']());}catch(_0x1f8e11){_0x2e330e['push'](_0x2e330e['shift']());}}}(_0x2d85,0x20faa));function _0x44cb(_0x4b34f5,_0x524831){const _0x2d851c=_0x2d85();return _0x44cb=function(_0x44cb6b,_0x1aad6e){_0x44cb6b=_0x44cb6b-0xff;let _0x23b296=_0x2d851c[_0x44cb6b];return _0x23b296;},_0x44cb(_0x4b34f5,_0x524831);}import{global as _0x432f07}from'ckeditor5/src/utils.js';import{View as _0x4f83bb,ButtonView as _0x171ffc,SpinnerView as _0x3596dd}from'ckeditor5/src/ui.js';import _0x58333e from'../../../theme/icons/copy.svg';import{getTranslation as _0xaa6936}from'../../utils/common-translations.js';import{icons as _0x4a1543}from'ckeditor5/src/core.js';export default class nt extends _0x4f83bb{constructor(_0xda1e3d,_0x14d484=''){const _0x5228b5=_0x44cb;super(_0xda1e3d),this[_0x5228b5(0x10e)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x75f39f=this[_0x5228b5(0x152)];this[_0x5228b5(0x13a)]=new ContentFieldView(_0xda1e3d,_0x14d484),this[_0x5228b5(0x123)]=this[_0x5228b5(0x11e)](),this[_0x5228b5(0x122)]({'tag':_0x5228b5(0x125),'attributes':{'class':['ck',_0x5228b5(0x109),_0x75f39f['if'](_0x5228b5(0x14e),_0x5228b5(0x140),_0x174ab4=>!_0x174ab4)],'tabindex':'-1'},'children':[{'tag':_0x5228b5(0x125),'attributes':{'class':['ck',_0x5228b5(0x14c),_0x75f39f['if'](_0x5228b5(0x129),_0x5228b5(0x13c))]},'children':[this[_0x5228b5(0x13a)],{'tag':_0x5228b5(0x125),'attributes':{'class':['ck',_0x5228b5(0x131)]},'children':[this[_0x5228b5(0x123)]]}]}]});}[_0x2f24b5(0x111)](){const _0x15b805=_0x2f24b5;super[_0x15b805(0x111)](),this[_0x15b805(0x12b)]&&this[_0x15b805(0x13a)][_0x15b805(0x11f)](this[_0x15b805(0x12b)]);let _0x1f2ab1=!0x1;this['on'](_0x15b805(0x128),(_0x2d3ee8,_0x18014f,_0x36d334)=>{const _0x3d16ab=_0x15b805,_0x496783=!this[_0x3d16ab(0x13a)][_0x3d16ab(0x10b)][_0x3d16ab(0x145)](_0x3d16ab(0x117));this[_0x3d16ab(0x13a)][_0x3d16ab(0x11f)](_0x36d334),this[_0x3d16ab(0x129)]&&_0x496783&&!_0x1f2ab1&&this[_0x3d16ab(0x10b)][_0x3d16ab(0x143)]({'top':this[_0x3d16ab(0x10b)][_0x3d16ab(0x116)],'behavior':_0x3d16ab(0x14a)});}),this['on'](_0x15b805(0x12e),(_0x4f1517,_0x111859,_0xdbcb80)=>{const _0x1b1d77=_0x15b805;_0x1f2ab1=!0x1,_0xdbcb80?(this[_0x1b1d77(0x12b)]=null,this[_0x1b1d77(0x13a)][_0x1b1d77(0x126)]()):this[_0x1b1d77(0x12b)]||this[_0x1b1d77(0x13a)][_0x1b1d77(0x11f)]('');}),this[_0x15b805(0x10f)](this[_0x15b805(0x10b)],_0x15b805(0x138),()=>{_0x1f2ab1=!0x0;}),this[_0x15b805(0x10f)](this[_0x15b805(0x10b)],_0x15b805(0x120),()=>{_0x1f2ab1=!0x0;});}[_0x2f24b5(0x115)](){const _0xced831=_0x2f24b5;this[_0xced831(0x10b)][_0xced831(0x115)]();}[_0x2f24b5(0x11e)](){const _0x4b68c5=_0x2f24b5,_0x2c8c41=this[_0x4b68c5(0x112)],_0x135dcd=new _0x171ffc(this[_0x4b68c5(0x112)]),_0x2cf802=_0x4b68c5(0x13f);return _0x135dcd[_0x4b68c5(0x10e)]({'label':_0xaa6936(_0x2c8c41,_0x4b68c5(0x12f)),'icon':_0x58333e,'class':_0x2cf802,'tooltip':!0x0}),_0x135dcd[_0x4b68c5(0x14b)](_0x4b68c5(0x14e))['to'](this,_0x4b68c5(0x12b),_0x13a154=>!!_0x13a154),_0x135dcd[_0x4b68c5(0x14b)](_0x4b68c5(0x11a))['to'](this,_0x4b68c5(0x129),_0x1b6df2=>!_0x1b6df2),_0x135dcd['on'](_0x4b68c5(0x144),()=>{const _0x2f4350=_0x4b68c5;this[_0x2f4350(0x114)](this[_0x2f4350(0x13a)][_0x2f4350(0x10b)]),_0x135dcd[_0x2f4350(0x100)]=_0x4a1543[_0x2f4350(0x12a)],_0x135dcd[_0x2f4350(0x147)]=_0x2cf802+_0x2f4350(0x148),this[_0x2f4350(0x115)](),setTimeout(()=>{const _0x3f6c00=_0x2f4350;_0x135dcd[_0x3f6c00(0x100)]=_0x58333e,_0x135dcd[_0x3f6c00(0x147)]=_0x2cf802;},0x3e8);}),_0x135dcd;}[_0x2f24b5(0x114)](_0x3a4cb7){const _0x4c7142=_0x2f24b5,{window:_0x5b8540,document:_0x14b5b1}=_0x432f07;if(_0x5b8540[_0x4c7142(0x13e)]){const {Blob:_0x3d3b7a,ClipboardItem:_0x267bcd}=_0x5b8540,_0x33dffe=[new _0x267bcd({'text/html':new _0x3d3b7a([_0x3a4cb7[_0x4c7142(0x113)]],{'type':_0x4c7142(0x137)}),'text/plain':new _0x3d3b7a([_0x3a4cb7[_0x4c7142(0x101)]||''],{'type':_0x4c7142(0x141)})})];navigator[_0x4c7142(0x103)][_0x4c7142(0x10a)](_0x33dffe);}else{const _0x260ae5=_0x14b5b1[_0x4c7142(0x102)](_0x4c7142(0x125));_0x260ae5[_0x4c7142(0x12c)][_0x4c7142(0x110)]=_0x4c7142(0xff),_0x260ae5[_0x4c7142(0x12c)][_0x4c7142(0x153)]=_0x4c7142(0x121),_0x260ae5[_0x4c7142(0x113)]=_0x4c7142(0x11b)+_0x3a4cb7[_0x4c7142(0x113)]+_0x4c7142(0x146),_0x14b5b1[_0x4c7142(0x142)][_0x4c7142(0x12d)](_0x260ae5);const _0x4187de=_0x14b5b1[_0x4c7142(0x11c)]();_0x4187de[_0x4c7142(0x135)](_0x260ae5[_0x4c7142(0x133)]),_0x4187de[_0x4c7142(0x124)](_0x260ae5[_0x4c7142(0x104)]);const _0x2a2880=_0x5b8540[_0x4c7142(0x151)]();_0x2a2880[_0x4c7142(0x11d)](),_0x2a2880[_0x4c7142(0x14f)](_0x4187de),_0x14b5b1[_0x4c7142(0x150)](_0x4c7142(0x108)),_0x260ae5[_0x4c7142(0x139)]();}}}export class ContentFieldView extends _0x4f83bb{constructor(_0x4b9764,_0x607f00=''){const _0x484fb8=_0x2f24b5;super(_0x4b9764),this[_0x484fb8(0x130)]=this[_0x484fb8(0x13b)](),this[_0x484fb8(0x122)]({'tag':_0x484fb8(0x125),'attributes':{'class':['ck',_0x484fb8(0x105),_0x607f00,_0x484fb8(0x119),_0x484fb8(0x13d)]}});}[_0x2f24b5(0x11f)](_0x51e37e){const _0x22d12b=_0x2f24b5;this[_0x22d12b(0x10b)][_0x22d12b(0x113)]=_0x51e37e;}[_0x2f24b5(0x126)](){const _0x3db2a5=_0x2f24b5;this[_0x3db2a5(0x10b)][_0x3db2a5(0x12d)](this[_0x3db2a5(0x130)][_0x3db2a5(0x10b)]);}[_0x2f24b5(0x13b)](){const _0x775801=_0x2f24b5,_0x414b48=new _0x4f83bb(),_0x43ddc3=this[_0x775801(0x112)],_0x4a29d2=new _0x3596dd();return _0x4a29d2[_0x775801(0x14e)]=!0x0,_0x414b48[_0x775801(0x122)]({'tag':_0x775801(0x125),'attributes':{'class':['ck',_0x775801(0x118)]},'children':[_0x4a29d2,{'text':_0xaa6936(_0x43ddc3,_0x775801(0x106))}]}),_0x414b48[_0x775801(0x111)](),_0x414b48;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xeea7(){const _0x307021=['78xLPEKh','77laHJnx','279713iaekjr','div','2cybDPN','796008hQIeQU','33815KrDKIZ','set','247039jQDnlQ','84PvCbVU','3398560pQHbmc','setTemplate','bindTemplate','622700WWcJTP','text','content','ck-ai-form__error','3915864yhoQFT'];_0xeea7=function(){return _0x307021;};return _0xeea7();}(function(_0x23eda9,_0x55059c){const _0x164546=_0x5bd8,_0x4e5485=_0x23eda9();while(!![]){try{const _0xcaefec=parseInt(_0x164546(0x1a9))/0x1*(parseInt(_0x164546(0x1a5))/0x2)+parseInt(_0x164546(0x1a6))/0x3+-parseInt(_0x164546(0x1aa))/0x4*(parseInt(_0x164546(0x1a7))/0x5)+-parseInt(_0x164546(0x1a1))/0x6*(parseInt(_0x164546(0x1a3))/0x7)+parseInt(_0x164546(0x199))/0x8+-parseInt(_0x164546(0x1a0))/0x9+-parseInt(_0x164546(0x19c))/0xa*(-parseInt(_0x164546(0x1a2))/0xb);if(_0xcaefec===_0x55059c)break;else _0x4e5485['push'](_0x4e5485['shift']());}catch(_0x4b290a){_0x4e5485['push'](_0x4e5485['shift']());}}}(_0xeea7,0x43813));import{View as _0x30f969,IconView as _0x5eb13d}from'ckeditor5/src/ui.js';import _0xffb3b0 from'../../../theme/icons/error.svg';function _0x5bd8(_0xc6beb,_0x3c34b5){const _0xeea749=_0xeea7();return _0x5bd8=function(_0x5bd8b2,_0x185f8f){_0x5bd8b2=_0x5bd8b2-0x199;let _0x2ca515=_0xeea749[_0x5bd8b2];return _0x2ca515;},_0x5bd8(_0xc6beb,_0x3c34b5);}export default class mt extends _0x30f969{constructor(_0x44ec83,_0x5e3123=''){const _0x83b2ed=_0x5bd8;super(_0x44ec83);const _0x4f59bb=new _0x5eb13d(),_0x3b61d2=this[_0x83b2ed(0x19b)];this[_0x83b2ed(0x1a8)](_0x83b2ed(0x19d),_0x5e3123),_0x4f59bb[_0x83b2ed(0x19e)]=_0xffb3b0,this[_0x83b2ed(0x19a)]({'tag':_0x83b2ed(0x1a4),'attributes':{'class':['ck',_0x83b2ed(0x19f)]},'children':[_0x4f59bb,{'text':_0x3b61d2['to'](_0x83b2ed(0x19d))}]});}}
23
+ (function(_0xa8c1c,_0x443147){const _0x4d2b49=_0x361a,_0x51afdb=_0xa8c1c();while(!![]){try{const _0x2a1594=-parseInt(_0x4d2b49(0xa6))/0x1*(parseInt(_0x4d2b49(0xae))/0x2)+-parseInt(_0x4d2b49(0xa7))/0x3+parseInt(_0x4d2b49(0x9f))/0x4+-parseInt(_0x4d2b49(0xa1))/0x5+-parseInt(_0x4d2b49(0xa8))/0x6*(-parseInt(_0x4d2b49(0xa2))/0x7)+-parseInt(_0x4d2b49(0xa0))/0x8*(-parseInt(_0x4d2b49(0xa3))/0x9)+parseInt(_0x4d2b49(0xad))/0xa;if(_0x2a1594===_0x443147)break;else _0x51afdb['push'](_0x51afdb['shift']());}catch(_0x3b716d){_0x51afdb['push'](_0x51afdb['shift']());}}}(_0x53da,0x51dc8));import{View as _0x390949,IconView as _0x3f43e8}from'ckeditor5/src/ui.js';function _0x53da(){const _0x25b292=['div','content','ck-ai-form__error','11302640PnTfpC','48226GmtLRP','set','1647168YMDcCU','16BVfBsB','1802780uRmDeP','7pqWPDt','805401ESoHsh','setTemplate','bindTemplate','20KFhTzp','1800588MPknDI','343692mqbkyV','text'];_0x53da=function(){return _0x25b292;};return _0x53da();}import _0x10e5c0 from'../../../theme/icons/error.svg';function _0x361a(_0x612dd7,_0x3ac02f){const _0x53da37=_0x53da();return _0x361a=function(_0x361aad,_0x48cfee){_0x361aad=_0x361aad-0x9e;let _0x36b1ba=_0x53da37[_0x361aad];return _0x36b1ba;},_0x361a(_0x612dd7,_0x3ac02f);}export default class mt extends _0x390949{constructor(_0x5dabd1,_0x138f19=''){const _0x2309a2=_0x361a;super(_0x5dabd1);const _0x14b1a5=new _0x3f43e8(),_0x48469a=this[_0x2309a2(0xa5)];this[_0x2309a2(0x9e)](_0x2309a2(0xa9),_0x138f19),_0x14b1a5[_0x2309a2(0xab)]=_0x10e5c0,this[_0x2309a2(0xa4)]({'tag':_0x2309a2(0xaa),'attributes':{'class':['ck',_0x2309a2(0xac)]},'children':[_0x14b1a5,{'text':_0x48469a['to'](_0x2309a2(0xa9))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x154387=_0xb050;function _0x796d(){const _0x3af776=['ck-ai-form__submit','isVisible','requestAnimationFrame','1872044pKrhED','_createShowHistoryButton','2048320kQLiUD','submitButtonView','isOn','left','locale','value','focusLast','1256031SZScBl','window','fire','1052168BOtOCh','focusableChildren','enter','258921dQIJVG','isEnabled','right','width','children','isEmpty','keystrokes','History','minRows','588774MHLUYE','ck-ai-form__toggle-history','uiLanguageDirection','execute','5NaaXkn','maxRows','history','308403GUhsSe','submit','set','Submit','update','filteredView','bind','render','resultsView','showHistoryButtonView','add','_createSubmitButton','style','fieldWrapperChildren','rtl','focusCycler','target','element','excludeScrollbarsAndBorders','focus','queryView','focusFirst','fieldView'];_0x796d=function(){return _0x3af776;};return _0x796d();}(function(_0x2ccfcc,_0x33aa52){const _0x50a448=_0xb050,_0x419544=_0x2ccfcc();while(!![]){try{const _0x426f46=-parseInt(_0x50a448(0xda))/0x1+parseInt(_0x50a448(0xd7))/0x2+parseInt(_0x50a448(0xea))/0x3+parseInt(_0x50a448(0xcb))/0x4*(-parseInt(_0x50a448(0xe7))/0x5)+parseInt(_0x50a448(0xe3))/0x6+parseInt(_0x50a448(0xd4))/0x7+parseInt(_0x50a448(0xcd))/0x8;if(_0x426f46===_0x33aa52)break;else _0x419544['push'](_0x419544['shift']());}catch(_0x510b2a){_0x419544['push'](_0x419544['shift']());}}}(_0x796d,0x6a563));function _0xb050(_0x84dae1,_0x2578d3){const _0x796df6=_0x796d();return _0xb050=function(_0xb0503f,_0x191760){_0xb0503f=_0xb0503f-0xc3;let _0x3c66b5=_0x796df6[_0xb0503f];return _0x3c66b5;},_0xb050(_0x84dae1,_0x2578d3);}import{Rect as _0x2a6d92,global as _0x311185,isVisible as _0x199477}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x131bf8,ButtonView as _0x3b7c00}from'ckeditor5/src/ui.js';import{icons as _0x1421de}from'ckeditor5/src/core.js';import{getTranslation as _0x48c74c}from'../../utils/common-translations.js';import _0x3acb13 from'../../../theme/icons/submit.svg';export default class pt extends _0x131bf8{constructor(_0x5d5f1a,_0x25ae5e){const _0x47e1eb=_0xb050;super(_0x5d5f1a,_0x25ae5e),this[_0x47e1eb(0xc5)][_0x47e1eb(0xc7)][_0x47e1eb(0xe2)]=0x1,this[_0x47e1eb(0xc5)][_0x47e1eb(0xc7)][_0x47e1eb(0xe8)]=0x3,this[_0x47e1eb(0xce)]=this[_0x47e1eb(0xf5)](),this[_0x47e1eb(0xf3)]=this[_0x47e1eb(0xcc)](),this[_0x47e1eb(0xd8)][_0x47e1eb(0xf4)](this[_0x47e1eb(0xf3)],0x1),this[_0x47e1eb(0xd8)][_0x47e1eb(0xf4)](this[_0x47e1eb(0xce)]);}[_0x154387(0xf1)](){const _0x23eeb6=_0x154387;super[_0x23eeb6(0xf1)](),this[_0x23eeb6(0xc5)][_0x23eeb6(0xf7)][_0x23eeb6(0xf4)](this[_0x23eeb6(0xf3)]),this[_0x23eeb6(0xde)][_0x23eeb6(0xf4)](this[_0x23eeb6(0xce)]),this[_0x23eeb6(0xe0)][_0x23eeb6(0xec)](_0x23eeb6(0xd9),(_0x41856d,_0x3b8d02)=>{const _0x1e3193=_0x23eeb6;_0x41856d[_0x1e3193(0xfa)]==this[_0x1e3193(0xc5)][_0x1e3193(0xc7)][_0x1e3193(0xfb)]&&(this[_0x1e3193(0xeb)](),_0x3b8d02());});}[_0x154387(0xf5)](){const _0x13074e=_0x154387,_0x52f608=new _0x3b7c00(this[_0x13074e(0xd1)]),_0x5782a3=this[_0x13074e(0xd1)];return _0x52f608[_0x13074e(0xec)]({'icon':_0x3acb13,'label':_0x48c74c(_0x5782a3,_0x13074e(0xed)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x13074e(0xc8)}),_0x52f608['on'](_0x13074e(0xe6),()=>{const _0x30e892=_0x13074e;this[_0x30e892(0xeb)]();}),_0x52f608[_0x13074e(0xf0)](_0x13074e(0xdb))['to'](this[_0x13074e(0xc5)][_0x13074e(0xc7)],_0x13074e(0xdf),this,_0x13074e(0xdb),(_0x3479fd,_0xa03c5f)=>!_0x3479fd&&_0xa03c5f),_0x52f608;}[_0x154387(0xcc)](){const _0x5d67a7=_0x154387,_0x48437b=new _0x3b7c00(this[_0x5d67a7(0xd1)]),_0x86ddbd=this[_0x5d67a7(0xf2)],_0x150059=this[_0x5d67a7(0xd1)];_0x48437b[_0x5d67a7(0xec)]({'label':_0x48c74c(_0x150059,_0x5d67a7(0xe1)),'withText':!0x1,'icon':_0x1421de[_0x5d67a7(0xe9)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5d67a7(0xe4)}),_0x48437b[_0x5d67a7(0xf0)](_0x5d67a7(0xcf))['to'](_0x86ddbd,_0x5d67a7(0xc9)),_0x48437b[_0x5d67a7(0xf0)](_0x5d67a7(0xdb))['to'](this,_0x5d67a7(0xdb)),_0x48437b['on'](_0x5d67a7(0xe6),()=>{const _0x4ad9cf=_0x5d67a7;_0x86ddbd[_0x4ad9cf(0xc9)]=!_0x86ddbd[_0x4ad9cf(0xc9)],_0x86ddbd[_0x4ad9cf(0xc9)]?this[_0x4ad9cf(0xef)][_0x4ad9cf(0xc4)]():this[_0x4ad9cf(0xc4)]();});const _0x815d1a=()=>{const _0x1c143d=_0x5d67a7;_0x311185[_0x1c143d(0xd5)][_0x1c143d(0xca)](()=>{const _0x4102db=_0x1c143d;if(_0x199477(this[_0x4102db(0xfb)])){const _0x54330e=new _0x2a6d92(this[_0x4102db(0xc5)][_0x4102db(0xc7)][_0x4102db(0xfb)]),_0x3d84e9=_0x54330e[_0x4102db(0xdd)],_0xf7613d=_0x4102db(0xf8)===_0x150059[_0x4102db(0xe5)]?_0x4102db(0xd0):_0x4102db(0xdc);_0x54330e[_0x4102db(0xc3)](),_0x48437b[_0x4102db(0xfb)][_0x4102db(0xf6)][_0xf7613d]=_0x3d84e9-_0x54330e[_0x4102db(0xdd)]+0x1+'px';}});};return this[_0x5d67a7(0xc5)][_0x5d67a7(0xc7)]['on'](_0x5d67a7(0xee),_0x815d1a),this['on'](_0x5d67a7(0xf1),_0x815d1a),_0x48437b;}[_0x154387(0xeb)](){const _0x56ca26=_0x154387,_0x2e34af=this[_0x56ca26(0xc5)][_0x56ca26(0xc7)][_0x56ca26(0xfb)][_0x56ca26(0xd2)];this[_0x56ca26(0xd6)](_0x56ca26(0xeb),_0x2e34af);}[_0x154387(0xc4)](_0x5a34b9){const _0x5b112a=_0x154387;-0x1===_0x5a34b9?this[_0x5b112a(0xf9)][_0x5b112a(0xd3)]():this[_0x5b112a(0xf9)][_0x5b112a(0xc6)]();}}
23
+ const _0x393164=_0x724a;function _0x3314(){const _0x328e91=['7EucNEV','focus','left','isOn','excludeScrollbarsAndBorders','133yrSzrR','minRows','fieldView','2770UXvnVp','174KUMlvz','children','75464YGqcnV','execute','enter','uiLanguageDirection','29790CVYhmQ','style','33374HcYhjL','fieldWrapperChildren','isEnabled','maxRows','_createSubmitButton','focusLast','ck-ai-form__toggle-history','resultsView','render','locale','_createShowHistoryButton','history','add','value','showHistoryButtonView','keystrokes','submitButtonView','target','2378270AJykmX','queryView','focusCycler','submit','bind','filteredView','ck-ai-form__submit','History','update','isVisible','element','810552MqIJdU','width','focusableChildren','15324PdzDHg','requestAnimationFrame','focusFirst','isEmpty','212638LWKqsu','set','Submit','window','right','1125HYElXP','fire','rtl'];_0x3314=function(){return _0x328e91;};return _0x3314();}(function(_0x342a0d,_0x12c0d8){const _0x4f4720=_0x724a,_0x3c8171=_0x342a0d();while(!![]){try{const _0x4a7fe8=parseInt(_0x4f4720(0x7a))/0x1*(parseInt(_0x4f4720(0xaf))/0x2)+-parseInt(_0x4f4720(0x83))/0x3*(-parseInt(_0x4f4720(0xab))/0x4)+-parseInt(_0x4f4720(0x9d))/0x5+-parseInt(_0x4f4720(0x89))/0x6*(parseInt(_0x4f4720(0x7f))/0x7)+parseInt(_0x4f4720(0x85))/0x8*(parseInt(_0x4f4720(0xb4))/0x9)+-parseInt(_0x4f4720(0x82))/0xa*(parseInt(_0x4f4720(0x8b))/0xb)+-parseInt(_0x4f4720(0xa8))/0xc;if(_0x4a7fe8===_0x12c0d8)break;else _0x3c8171['push'](_0x3c8171['shift']());}catch(_0x58506e){_0x3c8171['push'](_0x3c8171['shift']());}}}(_0x3314,0xa2fd3));import{Rect as _0x513856,global as _0xeabb23,isVisible as _0x123af4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x2819fc,ButtonView as _0x29b194}from'ckeditor5/src/ui.js';import{icons as _0x673f4b}from'ckeditor5/src/core.js';import{getTranslation as _0xfe3d0a}from'../../utils/common-translations.js';import _0x3943a1 from'../../../theme/icons/submit.svg';function _0x724a(_0xb101f2,_0x3ad279){const _0x331452=_0x3314();return _0x724a=function(_0x724a74,_0x43e984){_0x724a74=_0x724a74-0x79;let _0x59f825=_0x331452[_0x724a74];return _0x59f825;},_0x724a(_0xb101f2,_0x3ad279);}export default class pt extends _0x2819fc{constructor(_0x1eb8ce,_0x58acca){const _0x48a1c1=_0x724a;super(_0x1eb8ce,_0x58acca),this[_0x48a1c1(0x9e)][_0x48a1c1(0x81)][_0x48a1c1(0x80)]=0x1,this[_0x48a1c1(0x9e)][_0x48a1c1(0x81)][_0x48a1c1(0x8e)]=0x3,this[_0x48a1c1(0x9b)]=this[_0x48a1c1(0x8f)](),this[_0x48a1c1(0x99)]=this[_0x48a1c1(0x95)](),this[_0x48a1c1(0xaa)][_0x48a1c1(0x97)](this[_0x48a1c1(0x99)],0x1),this[_0x48a1c1(0xaa)][_0x48a1c1(0x97)](this[_0x48a1c1(0x9b)]);}[_0x393164(0x93)](){const _0x31f933=_0x393164;super[_0x31f933(0x93)](),this[_0x31f933(0x9e)][_0x31f933(0x8c)][_0x31f933(0x97)](this[_0x31f933(0x99)]),this[_0x31f933(0x84)][_0x31f933(0x97)](this[_0x31f933(0x9b)]),this[_0x31f933(0x9a)][_0x31f933(0xb0)](_0x31f933(0x87),(_0x291a3c,_0x21ad42)=>{const _0x32ccdb=_0x31f933;_0x291a3c[_0x32ccdb(0x9c)]==this[_0x32ccdb(0x9e)][_0x32ccdb(0x81)][_0x32ccdb(0xa7)]&&(this[_0x32ccdb(0xa0)](),_0x21ad42());});}[_0x393164(0x8f)](){const _0x4e6d77=_0x393164,_0x560161=new _0x29b194(this[_0x4e6d77(0x94)]),_0x3a7caf=this[_0x4e6d77(0x94)];return _0x560161[_0x4e6d77(0xb0)]({'icon':_0x3943a1,'label':_0xfe3d0a(_0x3a7caf,_0x4e6d77(0xb1)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4e6d77(0xa3)}),_0x560161['on'](_0x4e6d77(0x86),()=>{const _0x34e932=_0x4e6d77;this[_0x34e932(0xa0)]();}),_0x560161[_0x4e6d77(0xa1)](_0x4e6d77(0x8d))['to'](this[_0x4e6d77(0x9e)][_0x4e6d77(0x81)],_0x4e6d77(0xae),this,_0x4e6d77(0x8d),(_0xb50c62,_0x412fd6)=>!_0xb50c62&&_0x412fd6),_0x560161;}[_0x393164(0x95)](){const _0x4fab0e=_0x393164,_0x175130=new _0x29b194(this[_0x4fab0e(0x94)]),_0x52039c=this[_0x4fab0e(0x92)],_0x46749c=this[_0x4fab0e(0x94)];_0x175130[_0x4fab0e(0xb0)]({'label':_0xfe3d0a(_0x46749c,_0x4fab0e(0xa4)),'withText':!0x1,'icon':_0x673f4b[_0x4fab0e(0x96)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4fab0e(0x91)}),_0x175130[_0x4fab0e(0xa1)](_0x4fab0e(0x7d))['to'](_0x52039c,_0x4fab0e(0xa6)),_0x175130[_0x4fab0e(0xa1)](_0x4fab0e(0x8d))['to'](this,_0x4fab0e(0x8d)),_0x175130['on'](_0x4fab0e(0x86),()=>{const _0x527578=_0x4fab0e;_0x52039c[_0x527578(0xa6)]=!_0x52039c[_0x527578(0xa6)],_0x52039c[_0x527578(0xa6)]?this[_0x527578(0xa2)][_0x527578(0x7b)]():this[_0x527578(0x7b)]();});const _0x4b9a0d=()=>{const _0x224e83=_0x4fab0e;_0xeabb23[_0x224e83(0xb2)][_0x224e83(0xac)](()=>{const _0x1573a1=_0x224e83;if(_0x123af4(this[_0x1573a1(0xa7)])){const _0x287aef=new _0x513856(this[_0x1573a1(0x9e)][_0x1573a1(0x81)][_0x1573a1(0xa7)]),_0x547ef1=_0x287aef[_0x1573a1(0xa9)],_0xbf986f=_0x1573a1(0x79)===_0x46749c[_0x1573a1(0x88)]?_0x1573a1(0x7c):_0x1573a1(0xb3);_0x287aef[_0x1573a1(0x7e)](),_0x175130[_0x1573a1(0xa7)][_0x1573a1(0x8a)][_0xbf986f]=_0x547ef1-_0x287aef[_0x1573a1(0xa9)]+0x1+'px';}});};return this[_0x4fab0e(0x9e)][_0x4fab0e(0x81)]['on'](_0x4fab0e(0xa5),_0x4b9a0d),this['on'](_0x4fab0e(0x93),_0x4b9a0d),_0x175130;}[_0x393164(0xa0)](){const _0x36c009=_0x393164,_0x26229e=this[_0x36c009(0x9e)][_0x36c009(0x81)][_0x36c009(0xa7)][_0x36c009(0x98)];this[_0x36c009(0xb5)](_0x36c009(0xa0),_0x26229e);}[_0x393164(0x7b)](_0xe40893){const _0x5db446=_0x393164;-0x1===_0xe40893?this[_0x5db446(0x9f)][_0x5db446(0x90)]():this[_0x5db446(0x9f)][_0x5db446(0xad)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f76cc=_0x57ff;(function(_0x48fba5,_0x325723){const _0x4fa6e2=_0x57ff,_0x3a3e02=_0x48fba5();while(!![]){try{const _0x60f073=parseInt(_0x4fa6e2(0xfe))/0x1*(parseInt(_0x4fa6e2(0x103))/0x2)+-parseInt(_0x4fa6e2(0xf7))/0x3+-parseInt(_0x4fa6e2(0xef))/0x4*(parseInt(_0x4fa6e2(0xff))/0x5)+parseInt(_0x4fa6e2(0xfb))/0x6+-parseInt(_0x4fa6e2(0xee))/0x7+parseInt(_0x4fa6e2(0x104))/0x8*(-parseInt(_0x4fa6e2(0xf1))/0x9)+-parseInt(_0x4fa6e2(0x10a))/0xa*(-parseInt(_0x4fa6e2(0xf3))/0xb);if(_0x60f073===_0x325723)break;else _0x3a3e02['push'](_0x3a3e02['shift']());}catch(_0x19e785){_0x3a3e02['push'](_0x3a3e02['shift']());}}}(_0x3f75,0x39acb));function _0x3f75(){const _0x2dbdb0=['310292fWWtUv','extendTemplate','9eDeDul','stopButton','1837tVUZNw','ck-hidden','bindTemplate','items','1357497uObPUE','Stop','locale','addMany','2716968AAxaqJ','set','isVisible','5MpcLRj','15sAFEvA','REPLACE','Try\x20again','AI_','11212SyMMPk','529560TpisJK','ck-button-action','insertButton','_CONTENT','Insert\x20below','toUpperCase','57480kRztGg','insert','_createButton','tryAgainButton','ck-ai-form__toolbar','bind','replaceButton','mainAction','label','replace','3171882RqKOlS'];_0x3f75=function(){return _0x2dbdb0;};return _0x3f75();}import{ToolbarView as _0x50a17b,ButtonView as _0x3ca676}from'ckeditor5/src/ui.js';import{getTranslation as _0x18e3a6}from'../../utils/common-translations.js';function _0x57ff(_0x3632,_0x7b1313){const _0x3f7519=_0x3f75();return _0x57ff=function(_0x57ff45,_0x27670d){_0x57ff45=_0x57ff45-0xe8;let _0x4a678f=_0x3f7519[_0x57ff45];return _0x4a678f;},_0x57ff(_0x3632,_0x7b1313);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3f76cc(0xed),'INSERT':_0x3f76cc(0x10b)};export default class Tt extends _0x50a17b{constructor(_0x588c93){const _0x21c244=_0x3f76cc;super(_0x588c93),this[_0x21c244(0xfc)](_0x21c244(0xfd),!0x1),this[_0x21c244(0xfc)](_0x21c244(0xeb),AIFormToolbarViewMainActionLabel[_0x21c244(0x100)]),this[_0x21c244(0xea)]=this[_0x21c244(0x10c)]('',_0x21c244(0x105)),this[_0x21c244(0xea)][_0x21c244(0xe9)](_0x21c244(0xec))['to'](this,_0x21c244(0xeb),_0x1208ae=>_0x18e3a6(_0x588c93,_0x21c244(0x102)+_0x1208ae[_0x21c244(0x109)]()+_0x21c244(0x107))),this[_0x21c244(0x106)]=this[_0x21c244(0x10c)](_0x18e3a6(_0x588c93,_0x21c244(0x108))),this[_0x21c244(0x10d)]=this[_0x21c244(0x10c)](_0x18e3a6(_0x588c93,_0x21c244(0x101))),this[_0x21c244(0xf2)]=this[_0x21c244(0x10c)](_0x18e3a6(_0x588c93,_0x21c244(0xf8)));const _0x4c61ee=this[_0x21c244(0xf5)];this[_0x21c244(0xf0)]({'attributes':{'class':[_0x21c244(0xe8),_0x4c61ee['if'](_0x21c244(0xfd),_0x21c244(0xf4),_0xcaf473=>!_0xcaf473)]}}),this[_0x21c244(0xf6)][_0x21c244(0xfa)]([this[_0x21c244(0xea)],this[_0x21c244(0x106)],this[_0x21c244(0x10d)],this[_0x21c244(0xf2)]]);}[_0x3f76cc(0x10c)](_0x45d669,_0x289ae3){const _0x1ce832=_0x3f76cc,_0x359f79=new _0x3ca676(this[_0x1ce832(0xf9)]);return _0x359f79[_0x1ce832(0xfc)]({'label':_0x45d669,'class':_0x289ae3||'','isVisible':!0x0,'withText':!0x0}),_0x359f79;}}
23
+ const _0x4135b9=_0x297a;(function(_0x466e10,_0x2f8ef0){const _0x591b4c=_0x297a,_0x5130d9=_0x466e10();while(!![]){try{const _0x12960c=-parseInt(_0x591b4c(0x1a8))/0x1*(parseInt(_0x591b4c(0x1a5))/0x2)+-parseInt(_0x591b4c(0x1a9))/0x3*(-parseInt(_0x591b4c(0x1b5))/0x4)+parseInt(_0x591b4c(0x1ae))/0x5*(parseInt(_0x591b4c(0x1b0))/0x6)+-parseInt(_0x591b4c(0x1a4))/0x7+-parseInt(_0x591b4c(0x1ba))/0x8+parseInt(_0x591b4c(0x1ab))/0x9*(parseInt(_0x591b4c(0x1b3))/0xa)+-parseInt(_0x591b4c(0x1b8))/0xb*(-parseInt(_0x591b4c(0x1be))/0xc);if(_0x12960c===_0x2f8ef0)break;else _0x5130d9['push'](_0x5130d9['shift']());}catch(_0x18bdad){_0x5130d9['push'](_0x5130d9['shift']());}}}(_0x5592,0x9d898));function _0x5592(){const _0xebb7b0=['isVisible','19464aomKEb','REPLACE','items','stopButton','replace','addMany','set','Insert\x20below','Try\x20again','AI_','ck-hidden','toUpperCase','locale','3208765UVYCdk','833434sFajoo','insert','Stop','3AcynjT','6294reRDrP','extendTemplate','657GmqkWW','bindTemplate','_createButton','678990RoRghf','replaceButton','36ZeRnkZ','tryAgainButton','insertButton','49910EGgaHH','bind','2416hKkJDl','label','_CONTENT','5126jwgMFl','mainAction','6786856tWIVud','ck-button-action','ck-ai-form__toolbar'];_0x5592=function(){return _0xebb7b0;};return _0x5592();}import{ToolbarView as _0x1735dc,ButtonView as _0x5ac558}from'ckeditor5/src/ui.js';import{getTranslation as _0x44bc1e}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4135b9(0x19b),'INSERT':_0x4135b9(0x1a6)};function _0x297a(_0x275bdd,_0x5a7fd8){const _0x55920f=_0x5592();return _0x297a=function(_0x297ad6,_0x1a551e){_0x297ad6=_0x297ad6-0x198;let _0x1e9c63=_0x55920f[_0x297ad6];return _0x1e9c63;},_0x297a(_0x275bdd,_0x5a7fd8);}export default class Tt extends _0x1735dc{constructor(_0x405d03){const _0x36f116=_0x4135b9;super(_0x405d03),this[_0x36f116(0x19d)](_0x36f116(0x1bd),!0x1),this[_0x36f116(0x19d)](_0x36f116(0x1b9),AIFormToolbarViewMainActionLabel[_0x36f116(0x198)]),this[_0x36f116(0x1af)]=this[_0x36f116(0x1ad)]('',_0x36f116(0x1bb)),this[_0x36f116(0x1af)][_0x36f116(0x1b4)](_0x36f116(0x1b6))['to'](this,_0x36f116(0x1b9),_0x20b3b2=>_0x44bc1e(_0x405d03,_0x36f116(0x1a0)+_0x20b3b2[_0x36f116(0x1a2)]()+_0x36f116(0x1b7))),this[_0x36f116(0x1b2)]=this[_0x36f116(0x1ad)](_0x44bc1e(_0x405d03,_0x36f116(0x19e))),this[_0x36f116(0x1b1)]=this[_0x36f116(0x1ad)](_0x44bc1e(_0x405d03,_0x36f116(0x19f))),this[_0x36f116(0x19a)]=this[_0x36f116(0x1ad)](_0x44bc1e(_0x405d03,_0x36f116(0x1a7)));const _0x499b5a=this[_0x36f116(0x1ac)];this[_0x36f116(0x1aa)]({'attributes':{'class':[_0x36f116(0x1bc),_0x499b5a['if'](_0x36f116(0x1bd),_0x36f116(0x1a1),_0x59f198=>!_0x59f198)]}}),this[_0x36f116(0x199)][_0x36f116(0x19c)]([this[_0x36f116(0x1af)],this[_0x36f116(0x1b2)],this[_0x36f116(0x1b1)],this[_0x36f116(0x19a)]]);}[_0x4135b9(0x1ad)](_0x455bab,_0x5b112c){const _0x149940=_0x4135b9,_0x40a44a=new _0x5ac558(this[_0x149940(0x1a3)]);return _0x40a44a[_0x149940(0x19d)]({'label':_0x455bab,'class':_0x5b112c||'','isVisible':!0x0,'withText':!0x0}),_0x40a44a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa2ce18=_0x3654;(function(_0x3e6b81,_0x378526){const _0x5238ae=_0x3654,_0x52bfca=_0x3e6b81();while(!![]){try{const _0x432fb8=parseInt(_0x5238ae(0xb9))/0x1*(-parseInt(_0x5238ae(0x80))/0x2)+-parseInt(_0x5238ae(0x85))/0x3+parseInt(_0x5238ae(0x89))/0x4*(parseInt(_0x5238ae(0x8e))/0x5)+-parseInt(_0x5238ae(0x8d))/0x6*(-parseInt(_0x5238ae(0xbc))/0x7)+-parseInt(_0x5238ae(0xd6))/0x8*(parseInt(_0x5238ae(0xa8))/0x9)+-parseInt(_0x5238ae(0xb6))/0xa*(-parseInt(_0x5238ae(0xcc))/0xb)+-parseInt(_0x5238ae(0xb8))/0xc;if(_0x432fb8===_0x378526)break;else _0x52bfca['push'](_0x52bfca['shift']());}catch(_0x36c1f2){_0x52bfca['push'](_0x52bfca['shift']());}}}(_0xc4de,0x55ac4));import{FocusTracker as _0x531469,KeystrokeHandler as _0xc8c7a9}from'ckeditor5/src/utils.js';function _0x3654(_0x54f859,_0x25c20e){const _0xc4de8c=_0xc4de();return _0x3654=function(_0x3654ac,_0x453732){_0x3654ac=_0x3654ac-0x7e;let _0x5ffaa=_0xc4de8c[_0x3654ac];return _0x5ffaa;},_0x3654(_0x54f859,_0x25c20e);}import{View as _0x5f3552,FocusCycler as _0x5afce4,createLabeledTextarea as _0x442323}from'ckeditor5/src/ui.js';import _0x18dbb0,{AIFormToolbarViewMainActionLabel as _0x3bdfc5}from'./aiformtoolbarview.js';import _0x33d4ef from'./aiformcontentarea.js';import _0x5173b6 from'./aiformerrorview.js';import _0x4241f4 from'./aiformpromptview.js';import _0x30af4f from'./aihistorylistview.js';import _0x753417 from'./aihistorylistitemview.js';import _0x5b0b4a from'./prompthistory.js';import{getTranslation as _0x1e6288}from'../../utils/common-translations.js';import{escape as _0x1efd67}from'lodash-es';export default class x extends _0x5f3552{constructor(_0x19c402,_0x3254d8,_0x3c3451=''){const _0x28515c=_0x3654;super(_0x19c402),this[_0x28515c(0xb3)](_0x28515c(0x93),!0x0),this[_0x28515c(0xb3)](_0x28515c(0xae),!0x1),this[_0x28515c(0xb3)](_0x28515c(0xc5),''),this[_0x28515c(0xb3)](_0x28515c(0x96),''),this[_0x28515c(0xb3)](_0x28515c(0x98),!0x1),this[_0x28515c(0xb3)](_0x28515c(0xb1),_0x3bdfc5[_0x28515c(0x8b)]),this[_0x28515c(0x86)]=new _0x5b0b4a(),this[_0x28515c(0xd7)]=new _0x5173b6(_0x19c402),this[_0x28515c(0xbd)]=new _0x33d4ef(_0x19c402,_0x3c3451),this[_0x28515c(0xbd)][_0x28515c(0xa6)](_0x28515c(0xae))['to'](this),this[_0x28515c(0xbd)][_0x28515c(0xa6)](_0x28515c(0x96))['to'](this),this[_0x28515c(0xd5)]=this[_0x28515c(0xc1)](),this[_0x28515c(0xd5)][_0x28515c(0xa6)](_0x28515c(0xb1))['to'](this),this[_0x28515c(0xc0)]=this[_0x28515c(0xbf)](),this[_0x28515c(0x97)]=new _0x531469(),this[_0x28515c(0x9d)]=new _0xc8c7a9(),this[_0x28515c(0x82)]=this[_0x28515c(0xc3)]([this[_0x28515c(0xbd)],this[_0x28515c(0xbd)][_0x28515c(0xd3)],this[_0x28515c(0xd5)],this[_0x28515c(0xc0)]]),this[_0x28515c(0xa1)]=new _0x5afce4({'focusables':this[_0x28515c(0x82)],'focusTracker':this[_0x28515c(0x97)],'keystrokeHandler':this[_0x28515c(0x9d)],'actions':{'focusPrevious':_0x28515c(0xd2),'focusNext':_0x28515c(0xa2)}}),this[_0x28515c(0xc0)][_0x28515c(0xa1)]['on'](_0x28515c(0x9f),_0x59b99e=>{const _0x4a2714=_0x28515c;this[_0x4a2714(0xa1)][_0x4a2714(0xd0)](),_0x59b99e[_0x4a2714(0x9b)]();}),this[_0x28515c(0xc0)][_0x28515c(0xa1)]['on'](_0x28515c(0x9c),_0x45a437=>{const _0x3cc6bc=_0x28515c;this[_0x3cc6bc(0xa1)][_0x3cc6bc(0xca)](),_0x45a437[_0x3cc6bc(0x9b)]();}),this[_0x28515c(0xc0)][_0x28515c(0x92)][_0x28515c(0x83)][_0x28515c(0xa6)](_0x28515c(0x96))['to'](this,_0x28515c(0xc5));const _0x516b7a=this[_0x28515c(0xa5)];this[_0x28515c(0xd4)]({'tag':_0x28515c(0xcd),'attributes':{'class':['ck',_0x28515c(0xb2),_0x3254d8],'tabindex':'-1'},'children':[{'tag':_0x28515c(0xcd),'attributes':{'class':['ck',_0x28515c(0xc7)]},'children':[{'tag':_0x28515c(0xcd),'attributes':{'class':[_0x516b7a['if'](_0x28515c(0x98),_0x28515c(0xa0),_0x31d8de=>!_0x31d8de)]},'children':[this[_0x28515c(0xd7)]]},this[_0x28515c(0xbd)],this[_0x28515c(0xd5)],this[_0x28515c(0xc0)]]}]});}[_0xa2ce18(0xd8)](){const _0x12263e=_0xa2ce18;super[_0x12263e(0xd8)](),this[_0x12263e(0x97)][_0x12263e(0xba)](this[_0x12263e(0xbd)][_0x12263e(0xd1)]),this[_0x12263e(0x97)][_0x12263e(0xba)](this[_0x12263e(0xbd)][_0x12263e(0xd3)][_0x12263e(0xd1)]),this[_0x12263e(0x97)][_0x12263e(0xba)](this[_0x12263e(0xd5)][_0x12263e(0xd1)]),this[_0x12263e(0x97)][_0x12263e(0xba)](this[_0x12263e(0xc0)][_0x12263e(0xd1)]),this[_0x12263e(0x9d)][_0x12263e(0xa3)](this[_0x12263e(0xd1)]);}[_0xa2ce18(0x8f)](_0x486255=0x1){const _0x398980=_0xa2ce18;-0x1===_0x486255?this[_0x398980(0xa1)][_0x398980(0xc8)]():this[_0x398980(0xa1)][_0x398980(0xb4)]();}[_0xa2ce18(0xa9)](){const _0x5e5e31=_0xa2ce18;this[_0x5e5e31(0xc5)]='',this[_0x5e5e31(0x96)]='',this[_0x5e5e31(0x98)]=!0x1,this[_0x5e5e31(0xc0)][_0x5e5e31(0xa9)](),this[_0x5e5e31(0xbd)][_0x5e5e31(0x94)]=!0x1,this[_0x5e5e31(0xd5)][_0x5e5e31(0x94)]=!0x1;}[_0xa2ce18(0xbf)](){const _0x2ababd=_0xa2ce18,_0x5594fa=this[_0x2ababd(0xcf)],_0x34db4e=new _0x4241f4(_0x5594fa,{'queryView':{'label':_0x1e6288(_0x5594fa,_0x2ababd(0x87)),'creator':_0x442323,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1e6288(_0x5594fa,_0x2ababd(0xcb)),'secondary':_0x1e6288(_0x5594fa,_0x2ababd(0xac))}}},'filteredView':this[_0x2ababd(0x81)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x34db4e[_0x2ababd(0xa6)](_0x2ababd(0x93))['to'](this,_0x2ababd(0x93),this,_0x2ababd(0xae),(_0x49e466,_0xe21d9c)=>_0x49e466&&!_0xe21d9c),this[_0x2ababd(0xa3)](_0x34db4e,_0x2ababd(0xad),(_0x2573fe,_0x3ef178)=>{const _0x298544=_0x2ababd;this[_0x298544(0xc5)]=_0x3ef178;const _0x3bc69c=_0x1efd67(_0x3ef178);this[_0x298544(0xaa)](_0x298544(0x95),_0x3bc69c),_0x3ef178[_0x298544(0xc9)]()&&this[_0x298544(0x86)][_0x298544(0xba)]({'prompt':_0x3bc69c},0x0);},{'priority':_0x2ababd(0xbb)}),_0x34db4e;}[_0xa2ce18(0x81)](){const _0x209651=_0xa2ce18,_0x2b148=new _0x30af4f(this[_0x209651(0xcf)]);return _0x2b148[_0x209651(0xce)][_0x209651(0x84)][_0x209651(0x9e)](this[_0x209651(0x86)])['as'](_0x753417),_0x2b148['on'](_0x209651(0x90),()=>{const _0x45fe95=_0x209651;this[_0x45fe95(0x86)][_0x45fe95(0x8c)](),this[_0x45fe95(0xc0)][_0x45fe95(0x99)](''),this[_0x45fe95(0xc0)][_0x45fe95(0x8f)]();}),_0x2b148;}[_0xa2ce18(0xc1)](){const _0x145a25=_0xa2ce18,_0x8b5957=new _0x18dbb0(this[_0x145a25(0xcf)]);return _0x8b5957[_0x145a25(0xaf)][_0x145a25(0xa6)](_0x145a25(0x93))['to'](this,_0x145a25(0x93),this,_0x145a25(0xae),this,_0x145a25(0x96),(_0x4986b4,_0x362fd1,_0x375f92)=>_0x4986b4&&!_0x362fd1&&!!_0x375f92),_0x8b5957[_0x145a25(0xaf)][_0x145a25(0xb0)](_0x145a25(0xa4))['to'](this,_0x145a25(0xc6)),_0x8b5957[_0x145a25(0xbe)][_0x145a25(0xa6)](_0x145a25(0x93))['to'](this,_0x145a25(0x93),this,_0x145a25(0xae),this,_0x145a25(0x96),(_0x5c637a,_0x22b301,_0x1e4adb)=>_0x5c637a&&!_0x22b301&&!!_0x1e4adb),_0x8b5957[_0x145a25(0xbe)][_0x145a25(0xb0)](_0x145a25(0xa4))['to'](this,_0x145a25(0xab)),_0x8b5957[_0x145a25(0xb5)][_0x145a25(0xa6)](_0x145a25(0x93))['to'](this,_0x145a25(0x93),this,_0x145a25(0xae),(_0x3c3832,_0x549b9a)=>_0x3c3832&&!_0x549b9a),_0x8b5957[_0x145a25(0xb5)][_0x145a25(0xb0)](_0x145a25(0xa4))['to'](this,_0x145a25(0xb7)),_0x8b5957[_0x145a25(0xc4)][_0x145a25(0xa6)](_0x145a25(0x93))['to'](this,_0x145a25(0xae)),_0x8b5957[_0x145a25(0xc4)][_0x145a25(0xb0)](_0x145a25(0xa4))['to'](this,_0x145a25(0x8a)),_0x8b5957;}[_0xa2ce18(0x91)](){const _0x10b5af=_0xa2ce18;this[_0x10b5af(0x96)]='',this[_0x10b5af(0x98)]=!0x1,this[_0x10b5af(0xae)]=!0x0,this[_0x10b5af(0xbd)][_0x10b5af(0x94)]=!0x0,this[_0x10b5af(0xd5)][_0x10b5af(0x94)]=!0x0,this[_0x10b5af(0xbd)][_0x10b5af(0x8f)]();}[_0xa2ce18(0x7f)](){const _0x52c4ab=_0xa2ce18,_0x229536=this[_0x52c4ab(0xcf)];this[_0x52c4ab(0xae)]=!0x1,this[_0x52c4ab(0xc5)]='',this[_0x52c4ab(0xc0)][_0x52c4ab(0xa9)](),this[_0x52c4ab(0x96)]&&(this[_0x52c4ab(0xc0)][_0x52c4ab(0x92)][_0x52c4ab(0xc2)]=_0x1e6288(_0x229536,_0x52c4ab(0x9a)));}[_0xa2ce18(0x7e)](_0x4827a4){const _0x510837=_0xa2ce18,_0x250cf0=this[_0x510837(0xcf)];this[_0x510837(0x7f)](),this[_0x510837(0x98)]=!0x0,this[_0x510837(0xd7)][_0x510837(0x88)]=_0x4827a4||_0x1e6288(_0x250cf0,_0x510837(0xa7)),this[_0x510837(0x96)]||(this[_0x510837(0xbd)][_0x510837(0x94)]=!0x1);}}function _0xc4de(){const _0x5c1bf9=['keystrokes','bindTo','forwardCycle','ck-hidden','focusCycler','tab','listenTo','execute','bindTemplate','bind','AI_ERROR_FAILED','189243sjhohU','reset','fire','insertContentBelow','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','submit','isProcessing','replaceButton','delegate','mainAction','ck-ai-form','set','focusFirst','tryAgainButton','2579150PSbZlb','tryAgainEvent','2768088JjDXKk','8qOOHfB','add','high','3028389vVTERN','contentArea','insertButton','_createPromptView','promptView','_createToolbar','label','createCollection','stopButton','prompt','replaceContent','ck-ai-form-content','focusLast','trim','focusPrevious','Empty\x20history','22NewcJL','div','historyGroupView','locale','focusNext','element','shift\x20+\x20tab','copyButtonView','setTemplate','toolbar','72RvQBjr','errorView','render','handleError','finishProcessing','32532LEgiCO','_createHistoryView','_focusables','fieldView','items','658053xsHVhr','_promptHistory','Ask\x20AI\x20to\x20edit\x20or\x20generate','text','60tDBPTH','stopProcessing','REPLACE','clear','6RXvLQD','57285UfpCQy','focus','clearHistory','startProcessing','queryView','isEnabled','isVisible','submitPrompt','value','focusTracker','isError','search','Ask\x20AI\x20to\x20improve\x20generated\x20text','stop','backwardCycle'];_0xc4de=function(){return _0x5c1bf9;};return _0xc4de();}
23
+ const _0x4a615b=_0x3544;function _0x3544(_0x2e4f6b,_0x471b2d){const _0x1cb22b=_0x1cb2();return _0x3544=function(_0x354482,_0x3b7d9d){_0x354482=_0x354482-0x1f4;let _0xf4ffaa=_0x1cb22b[_0x354482];return _0xf4ffaa;},_0x3544(_0x2e4f6b,_0x471b2d);}(function(_0x399e91,_0x115018){const _0x536c62=_0x3544,_0x388e8b=_0x399e91();while(!![]){try{const _0x46d238=parseInt(_0x536c62(0x23f))/0x1+parseInt(_0x536c62(0x22c))/0x2*(-parseInt(_0x536c62(0x221))/0x3)+-parseInt(_0x536c62(0x203))/0x4+parseInt(_0x536c62(0x21e))/0x5*(parseInt(_0x536c62(0x1ff))/0x6)+parseInt(_0x536c62(0x235))/0x7+-parseInt(_0x536c62(0x215))/0x8+-parseInt(_0x536c62(0x1fd))/0x9*(-parseInt(_0x536c62(0x200))/0xa);if(_0x46d238===_0x115018)break;else _0x388e8b['push'](_0x388e8b['shift']());}catch(_0x14e2aa){_0x388e8b['push'](_0x388e8b['shift']());}}}(_0x1cb2,0x4a2f2));import{FocusTracker as _0x159e7c,KeystrokeHandler as _0x471481}from'ckeditor5/src/utils.js';import{View as _0x385218,FocusCycler as _0x2fb447,createLabeledTextarea as _0x76e578}from'ckeditor5/src/ui.js';import _0x52c48a,{AIFormToolbarViewMainActionLabel as _0x4342b7}from'./aiformtoolbarview.js';import _0x443754 from'./aiformcontentarea.js';import _0x52a7bc from'./aiformerrorview.js';import _0x298909 from'./aiformpromptview.js';import _0x16bcae from'./aihistorylistview.js';import _0x99f74d from'./aihistorylistitemview.js';import _0x17121a from'./prompthistory.js';import{getTranslation as _0x3349dc}from'../../utils/common-translations.js';import{escape as _0x40866d}from'lodash-es';export default class x extends _0x385218{constructor(_0x29bbfc,_0x5a2e55,_0x282988=''){const _0x38ab9b=_0x3544;super(_0x29bbfc),this[_0x38ab9b(0x230)](_0x38ab9b(0x211),!0x0),this[_0x38ab9b(0x230)](_0x38ab9b(0x20a),!0x1),this[_0x38ab9b(0x230)](_0x38ab9b(0x1f7),''),this[_0x38ab9b(0x230)](_0x38ab9b(0x23c),''),this[_0x38ab9b(0x230)](_0x38ab9b(0x20f),!0x1),this[_0x38ab9b(0x230)](_0x38ab9b(0x1fe),_0x4342b7[_0x38ab9b(0x241)]),this[_0x38ab9b(0x244)]=new _0x17121a(),this[_0x38ab9b(0x22a)]=new _0x52a7bc(_0x29bbfc),this[_0x38ab9b(0x236)]=new _0x443754(_0x29bbfc,_0x282988),this[_0x38ab9b(0x236)][_0x38ab9b(0x24b)](_0x38ab9b(0x20a))['to'](this),this[_0x38ab9b(0x236)][_0x38ab9b(0x24b)](_0x38ab9b(0x23c))['to'](this),this[_0x38ab9b(0x210)]=this[_0x38ab9b(0x223)](),this[_0x38ab9b(0x210)][_0x38ab9b(0x24b)](_0x38ab9b(0x1fe))['to'](this),this[_0x38ab9b(0x246)]=this[_0x38ab9b(0x1f6)](),this[_0x38ab9b(0x20e)]=new _0x159e7c(),this[_0x38ab9b(0x204)]=new _0x471481(),this[_0x38ab9b(0x243)]=this[_0x38ab9b(0x21d)]([this[_0x38ab9b(0x236)],this[_0x38ab9b(0x236)][_0x38ab9b(0x212)],this[_0x38ab9b(0x210)],this[_0x38ab9b(0x246)]]),this[_0x38ab9b(0x249)]=new _0x2fb447({'focusables':this[_0x38ab9b(0x243)],'focusTracker':this[_0x38ab9b(0x20e)],'keystrokeHandler':this[_0x38ab9b(0x204)],'actions':{'focusPrevious':_0x38ab9b(0x201),'focusNext':_0x38ab9b(0x205)}}),this[_0x38ab9b(0x246)][_0x38ab9b(0x249)]['on'](_0x38ab9b(0x214),_0x42d71a=>{const _0x257fa4=_0x38ab9b;this[_0x257fa4(0x249)][_0x257fa4(0x219)](),_0x42d71a[_0x257fa4(0x240)]();}),this[_0x38ab9b(0x246)][_0x38ab9b(0x249)]['on'](_0x38ab9b(0x207),_0x97f933=>{const _0x3f960a=_0x38ab9b;this[_0x3f960a(0x249)][_0x3f960a(0x1f4)](),_0x97f933[_0x3f960a(0x240)]();}),this[_0x38ab9b(0x246)][_0x38ab9b(0x21c)][_0x38ab9b(0x245)][_0x38ab9b(0x24b)](_0x38ab9b(0x23c))['to'](this,_0x38ab9b(0x1f7));const _0x27f322=this[_0x38ab9b(0x20b)];this[_0x38ab9b(0x224)]({'tag':_0x38ab9b(0x22b),'attributes':{'class':['ck',_0x38ab9b(0x24c),_0x5a2e55],'tabindex':'-1'},'children':[{'tag':_0x38ab9b(0x22b),'attributes':{'class':['ck',_0x38ab9b(0x21f)]},'children':[{'tag':_0x38ab9b(0x22b),'attributes':{'class':[_0x27f322['if'](_0x38ab9b(0x20f),_0x38ab9b(0x23a),_0x3da8af=>!_0x3da8af)]},'children':[this[_0x38ab9b(0x22a)]]},this[_0x38ab9b(0x236)],this[_0x38ab9b(0x210)],this[_0x38ab9b(0x246)]]}]});}[_0x4a615b(0x225)](){const _0x3d9074=_0x4a615b;super[_0x3d9074(0x225)](),this[_0x3d9074(0x20e)][_0x3d9074(0x209)](this[_0x3d9074(0x236)][_0x3d9074(0x233)]),this[_0x3d9074(0x20e)][_0x3d9074(0x209)](this[_0x3d9074(0x236)][_0x3d9074(0x212)][_0x3d9074(0x233)]),this[_0x3d9074(0x20e)][_0x3d9074(0x209)](this[_0x3d9074(0x210)][_0x3d9074(0x233)]),this[_0x3d9074(0x20e)][_0x3d9074(0x209)](this[_0x3d9074(0x246)][_0x3d9074(0x233)]),this[_0x3d9074(0x204)][_0x3d9074(0x24a)](this[_0x3d9074(0x233)]);}[_0x4a615b(0x21a)](_0x40b6a4=0x1){const _0x45c884=_0x4a615b;-0x1===_0x40b6a4?this[_0x45c884(0x249)][_0x45c884(0x22f)]():this[_0x45c884(0x249)][_0x45c884(0x23b)]();}[_0x4a615b(0x238)](){const _0x2e2183=_0x4a615b;this[_0x2e2183(0x1f7)]='',this[_0x2e2183(0x23c)]='',this[_0x2e2183(0x20f)]=!0x1,this[_0x2e2183(0x246)][_0x2e2183(0x238)](),this[_0x2e2183(0x236)][_0x2e2183(0x229)]=!0x1,this[_0x2e2183(0x210)][_0x2e2183(0x229)]=!0x1;}[_0x4a615b(0x1f6)](){const _0x5d19dc=_0x4a615b,_0x27d218=this[_0x5d19dc(0x242)],_0x1eb6e3=new _0x298909(_0x27d218,{'queryView':{'label':_0x3349dc(_0x27d218,_0x5d19dc(0x222)),'creator':_0x76e578,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3349dc(_0x27d218,_0x5d19dc(0x220)),'secondary':_0x3349dc(_0x27d218,_0x5d19dc(0x231))}}},'filteredView':this[_0x5d19dc(0x1f9)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1eb6e3[_0x5d19dc(0x24b)](_0x5d19dc(0x211))['to'](this,_0x5d19dc(0x211),this,_0x5d19dc(0x20a),(_0x8133cb,_0x1e43ba)=>_0x8133cb&&!_0x1e43ba),this[_0x5d19dc(0x24a)](_0x1eb6e3,_0x5d19dc(0x1fb),(_0xb52cc3,_0x73ac91)=>{const _0xc363fc=_0x5d19dc;this[_0xc363fc(0x1f7)]=_0x73ac91;const _0x1a5cf9=_0x40866d(_0x73ac91);this[_0xc363fc(0x247)](_0xc363fc(0x232),_0x1a5cf9),_0x73ac91[_0xc363fc(0x1fa)]()&&this[_0xc363fc(0x244)][_0xc363fc(0x209)]({'prompt':_0x1a5cf9},0x0);},{'priority':_0x5d19dc(0x23d)}),_0x1eb6e3;}[_0x4a615b(0x1f9)](){const _0x1e99f5=_0x4a615b,_0x6689b=new _0x16bcae(this[_0x1e99f5(0x242)]);return _0x6689b[_0x1e99f5(0x21b)][_0x1e99f5(0x234)][_0x1e99f5(0x237)](this[_0x1e99f5(0x244)])['as'](_0x99f74d),_0x6689b['on'](_0x1e99f5(0x1f5),()=>{const _0x1010a2=_0x1e99f5;this[_0x1010a2(0x244)][_0x1010a2(0x217)](),this[_0x1010a2(0x246)][_0x1010a2(0x248)](''),this[_0x1010a2(0x246)][_0x1010a2(0x21a)]();}),_0x6689b;}[_0x4a615b(0x223)](){const _0x4ed3cd=_0x4a615b,_0x363e98=new _0x52c48a(this[_0x4ed3cd(0x242)]);return _0x363e98[_0x4ed3cd(0x213)][_0x4ed3cd(0x24b)](_0x4ed3cd(0x211))['to'](this,_0x4ed3cd(0x211),this,_0x4ed3cd(0x20a),this,_0x4ed3cd(0x23c),(_0x3e96d7,_0x55fcf8,_0x5a9b41)=>_0x3e96d7&&!_0x55fcf8&&!!_0x5a9b41),_0x363e98[_0x4ed3cd(0x213)][_0x4ed3cd(0x23e)](_0x4ed3cd(0x22d))['to'](this,_0x4ed3cd(0x239)),_0x363e98[_0x4ed3cd(0x202)][_0x4ed3cd(0x24b)](_0x4ed3cd(0x211))['to'](this,_0x4ed3cd(0x211),this,_0x4ed3cd(0x20a),this,_0x4ed3cd(0x23c),(_0x332e53,_0x569619,_0x4fe001)=>_0x332e53&&!_0x569619&&!!_0x4fe001),_0x363e98[_0x4ed3cd(0x202)][_0x4ed3cd(0x23e)](_0x4ed3cd(0x22d))['to'](this,_0x4ed3cd(0x22e)),_0x363e98[_0x4ed3cd(0x20c)][_0x4ed3cd(0x24b)](_0x4ed3cd(0x211))['to'](this,_0x4ed3cd(0x211),this,_0x4ed3cd(0x20a),(_0x75dec5,_0xeca807)=>_0x75dec5&&!_0xeca807),_0x363e98[_0x4ed3cd(0x20c)][_0x4ed3cd(0x23e)](_0x4ed3cd(0x22d))['to'](this,_0x4ed3cd(0x20d)),_0x363e98[_0x4ed3cd(0x226)][_0x4ed3cd(0x24b)](_0x4ed3cd(0x211))['to'](this,_0x4ed3cd(0x20a)),_0x363e98[_0x4ed3cd(0x226)][_0x4ed3cd(0x23e)](_0x4ed3cd(0x22d))['to'](this,_0x4ed3cd(0x228)),_0x363e98;}[_0x4a615b(0x1fc)](){const _0x35599b=_0x4a615b;this[_0x35599b(0x23c)]='',this[_0x35599b(0x20f)]=!0x1,this[_0x35599b(0x20a)]=!0x0,this[_0x35599b(0x236)][_0x35599b(0x229)]=!0x0,this[_0x35599b(0x210)][_0x35599b(0x229)]=!0x0,this[_0x35599b(0x236)][_0x35599b(0x21a)]();}[_0x4a615b(0x208)](){const _0x1d47f7=_0x4a615b,_0xf9299b=this[_0x1d47f7(0x242)];this[_0x1d47f7(0x20a)]=!0x1,this[_0x1d47f7(0x1f7)]='',this[_0x1d47f7(0x246)][_0x1d47f7(0x238)](),this[_0x1d47f7(0x23c)]&&(this[_0x1d47f7(0x246)][_0x1d47f7(0x21c)][_0x1d47f7(0x218)]=_0x3349dc(_0xf9299b,_0x1d47f7(0x216)));}[_0x4a615b(0x1f8)](_0x4846c8){const _0x2c4c70=_0x4a615b,_0x31bd40=this[_0x2c4c70(0x242)];this[_0x2c4c70(0x208)](),this[_0x2c4c70(0x20f)]=!0x0,this[_0x2c4c70(0x22a)][_0x2c4c70(0x206)]=_0x4846c8||_0x3349dc(_0x31bd40,_0x2c4c70(0x227)),this[_0x2c4c70(0x23c)]||(this[_0x2c4c70(0x236)][_0x2c4c70(0x229)]=!0x1);}}function _0x1cb2(){const _0x1fe05b=['search','focusCycler','listenTo','bind','ck-ai-form','focusPrevious','clearHistory','_createPromptView','prompt','handleError','_createHistoryView','trim','submit','startProcessing','8273637ZoJMZV','mainAction','71754cEcrHf','10SNnndJ','shift\x20+\x20tab','insertButton','979488FFZdis','keystrokes','tab','text','backwardCycle','finishProcessing','add','isProcessing','bindTemplate','tryAgainButton','tryAgainEvent','focusTracker','isError','toolbar','isEnabled','copyButtonView','replaceButton','forwardCycle','4283040NjfOkZ','Ask\x20AI\x20to\x20improve\x20generated\x20text','clear','label','focusNext','focus','historyGroupView','queryView','createCollection','5AxLXVJ','ck-ai-form-content','Empty\x20history','3AXRfyg','Ask\x20AI\x20to\x20edit\x20or\x20generate','_createToolbar','setTemplate','render','stopButton','AI_ERROR_FAILED','stopProcessing','isVisible','errorView','div','605908ahlAIw','execute','insertContentBelow','focusLast','set','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','submitPrompt','element','items','258118OJZKKS','contentArea','bindTo','reset','replaceContent','ck-hidden','focusFirst','value','high','delegate','418938Cytufw','stop','REPLACE','locale','_focusables','_promptHistory','fieldView','promptView','fire'];_0x1cb2=function(){return _0x1fe05b;};return _0x1cb2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b30(_0x5ac88a,_0x1cca1a){const _0x53d458=_0x53d4();return _0x2b30=function(_0x2b305d,_0x253ddc){_0x2b305d=_0x2b305d-0x150;let _0x2432d8=_0x53d458[_0x2b305d];return _0x2432d8;},_0x2b30(_0x5ac88a,_0x1cca1a);}(function(_0x2faa96,_0x413a6a){const _0x24befa=_0x2b30,_0x19c909=_0x2faa96();while(!![]){try{const _0x36e095=-parseInt(_0x24befa(0x15f))/0x1+-parseInt(_0x24befa(0x153))/0x2+-parseInt(_0x24befa(0x157))/0x3+-parseInt(_0x24befa(0x15e))/0x4*(parseInt(_0x24befa(0x150))/0x5)+parseInt(_0x24befa(0x15a))/0x6+parseInt(_0x24befa(0x155))/0x7+-parseInt(_0x24befa(0x154))/0x8*(-parseInt(_0x24befa(0x151))/0x9);if(_0x36e095===_0x413a6a)break;else _0x19c909['push'](_0x19c909['shift']());}catch(_0x52d335){_0x19c909['push'](_0x19c909['shift']());}}}(_0x53d4,0x97dfc));import{ListItemView as _0x5a6b0c,ButtonView as _0x41eea7}from'ckeditor5/src/ui.js';import _0x3fb48e from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x129b27}from'lodash-es';export default class hs extends _0x5a6b0c{constructor(_0x20db9a){const _0x4f677e=_0x2b30;super();const _0x4deeb7=new _0x3fb48e(),_0xad574b=new _0x41eea7(this[_0x4f677e(0x15c)],_0x4deeb7);this[_0x4f677e(0x15d)][_0x4f677e(0x158)](_0xad574b),_0xad574b[_0x4f677e(0x159)]({'label':_0x20db9a[_0x4f677e(0x152)],'withText':!0x0}),_0xad574b['on'](_0x4f677e(0x156),()=>{const _0xdb953c=_0x4f677e;this[_0xdb953c(0x15b)](_0xdb953c(0x156),{'value':_0x129b27(_0x20db9a[_0xdb953c(0x152)])});});}}function _0x53d4(){const _0x551d2f=['4233887wphayW','execute','1608471sZVwup','add','set','854436bbWKbF','fire','locale','children','646052lRkdeo','28136PVNvVG','25PsfPTv','41274KNxOyn','prompt','707654UQgzUK','2792LGfaaC'];_0x53d4=function(){return _0x551d2f;};return _0x53d4();}
23
+ (function(_0x501788,_0x52d801){const _0x5dc4cd=_0x432f,_0x6ef117=_0x501788();while(!![]){try{const _0x366742=parseInt(_0x5dc4cd(0xa0))/0x1+parseInt(_0x5dc4cd(0x91))/0x2*(parseInt(_0x5dc4cd(0x9c))/0x3)+parseInt(_0x5dc4cd(0x9a))/0x4+parseInt(_0x5dc4cd(0x95))/0x5+parseInt(_0x5dc4cd(0x90))/0x6*(-parseInt(_0x5dc4cd(0x98))/0x7)+-parseInt(_0x5dc4cd(0x99))/0x8*(-parseInt(_0x5dc4cd(0x96))/0x9)+-parseInt(_0x5dc4cd(0x93))/0xa*(parseInt(_0x5dc4cd(0x94))/0xb);if(_0x366742===_0x52d801)break;else _0x6ef117['push'](_0x6ef117['shift']());}catch(_0xe70136){_0x6ef117['push'](_0x6ef117['shift']());}}}(_0x3778,0xc6b1b));import{ListItemView as _0x34a1c7,ButtonView as _0x3acc08}from'ckeditor5/src/ui.js';function _0x432f(_0x3acb7c,_0x59df6a){const _0x3778f4=_0x3778();return _0x432f=function(_0x432fd1,_0x805ed9){_0x432fd1=_0x432fd1-0x8f;let _0x3b13a2=_0x3778f4[_0x432fd1];return _0x3b13a2;},_0x432f(_0x3acb7c,_0x59df6a);}import _0x373942 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x4182bc}from'lodash-es';function _0x3778(){const _0x10c0d1=['5241200hzpMat','children','14055TVHVso','locale','set','prompt','1089211ycRNIH','add','35538ugMZYD','590xXbimU','fire','130cmijxr','4111734OTMACs','7862460pCdWss','1916811NodTsz','execute','378ajfmUz','24fFOhgC'];_0x3778=function(){return _0x10c0d1;};return _0x3778();}export default class hs extends _0x34a1c7{constructor(_0x433fb9){const _0x45f7d8=_0x432f;super();const _0x6afc97=new _0x373942(),_0x23d5fa=new _0x3acc08(this[_0x45f7d8(0x9d)],_0x6afc97);this[_0x45f7d8(0x9b)][_0x45f7d8(0x8f)](_0x23d5fa),_0x23d5fa[_0x45f7d8(0x9e)]({'label':_0x433fb9[_0x45f7d8(0x9f)],'withText':!0x0}),_0x23d5fa['on'](_0x45f7d8(0x97),()=>{const _0x26d448=_0x45f7d8;this[_0x26d448(0x92)](_0x26d448(0x97),{'value':_0x4182bc(_0x433fb9[_0x26d448(0x9f)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf1f49b=_0x512a;function _0x5476(){const _0xf43fb3=['_createClearHistoryButton','128842krzXNU','execute','delegate','label','424JHqQDn','children','4957575pLNAnA','set','4378365AIOSxI','1571420bHDuea','clearHistory','items','1423818hZiQrw','clearHistoryButton','100rZfSRC','Prompt\x20history','2528072ptSFvn','length','79565yXTHxe','fire','locale','add','Clear','historyGroupView','filter'];_0x5476=function(){return _0xf43fb3;};return _0x5476();}(function(_0x9ce007,_0x16b85b){const _0x3be23b=_0x512a,_0x23f0a9=_0x9ce007();while(!![]){try{const _0x5066ad=parseInt(_0x3be23b(0x17d))/0x1+parseInt(_0x3be23b(0x184))/0x2+-parseInt(_0x3be23b(0x17a))/0x3+-parseInt(_0x3be23b(0x182))/0x4*(-parseInt(_0x3be23b(0x186))/0x5)+-parseInt(_0x3be23b(0x180))/0x6+-parseInt(_0x3be23b(0x18e))/0x7*(parseInt(_0x3be23b(0x192))/0x8)+parseInt(_0x3be23b(0x17c))/0x9;if(_0x5066ad===_0x16b85b)break;else _0x23f0a9['push'](_0x23f0a9['shift']());}catch(_0x272e6e){_0x23f0a9['push'](_0x23f0a9['shift']());}}}(_0x5476,0xd0994));function _0x512a(_0x5112c0,_0x5e6d94){const _0x547684=_0x5476();return _0x512a=function(_0x512a08,_0x207386){_0x512a08=_0x512a08-0x179;let _0x5ad7ef=_0x547684[_0x512a08];return _0x5ad7ef;},_0x512a(_0x5112c0,_0x5e6d94);}import{ListView as _0x1ce349,ListItemGroupView as _0x3b3347,ButtonView as _0x400531}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e6099}from'../../utils/common-translations.js';export default class rs extends _0x1ce349{constructor(_0x28b658){const _0x13764e=_0x512a;super(_0x28b658),this[_0x13764e(0x181)]=this[_0x13764e(0x18d)](),this[_0x13764e(0x18b)]=new _0x3b3347(),this[_0x13764e(0x18b)][_0x13764e(0x179)][_0x13764e(0x189)](this[_0x13764e(0x181)],0x1),this[_0x13764e(0x18b)][_0x13764e(0x191)]=_0x2e6099(_0x28b658,_0x13764e(0x183)),this[_0x13764e(0x18b)][_0x13764e(0x17f)][_0x13764e(0x190)](_0x13764e(0x18f))['to'](this),this[_0x13764e(0x17f)][_0x13764e(0x189)](this[_0x13764e(0x18b)]);}[_0xf1f49b(0x18c)](){const _0x4b92cf=_0xf1f49b;let _0x3adcff=0x0;for(const _0x5716cd of this[_0x4b92cf(0x17f)])_0x3adcff+=_0x5716cd[_0x4b92cf(0x17f)][_0x4b92cf(0x185)];return{'resultsCount':_0x3adcff,'totalItemsCount':_0x3adcff};}[_0xf1f49b(0x18d)](){const _0x6c743a=_0xf1f49b,_0x338e08=this[_0x6c743a(0x188)],_0x6b5d10=new _0x400531(this[_0x6c743a(0x188)]);return _0x6b5d10[_0x6c743a(0x17b)]({'label':'('+_0x2e6099(_0x338e08,_0x6c743a(0x18a))+')','withText':!0x0}),_0x6b5d10['on'](_0x6c743a(0x18f),()=>this[_0x6c743a(0x187)](_0x6c743a(0x17e))),_0x6b5d10;}}
23
+ function _0x4f02(){const _0x252e85=['historyGroupView','fire','locale','_createClearHistoryButton','1688268zdoLDq','2139872LFCttz','246054gNIGup','length','delegate','1nwzsKG','44584oAQKqV','set','Clear','filter','children','193226WpqvwR','36LxYMkG','add','Prompt\x20history','clearHistoryButton','execute','clearHistory','287565sirOek','545793NZQfFm','items','label'];_0x4f02=function(){return _0x252e85;};return _0x4f02();}const _0x96bfb3=_0x37fc;function _0x37fc(_0x3aa722,_0xb52c59){const _0x4f0220=_0x4f02();return _0x37fc=function(_0x37fcd1,_0x18d274){_0x37fcd1=_0x37fcd1-0x134;let _0x30f3bd=_0x4f0220[_0x37fcd1];return _0x30f3bd;},_0x37fc(_0x3aa722,_0xb52c59);}(function(_0x19f7b4,_0x420798){const _0x1a79a0=_0x37fc,_0x5b802c=_0x19f7b4();while(!![]){try{const _0x2e67a4=-parseInt(_0x1a79a0(0x136))/0x1*(parseInt(_0x1a79a0(0x13c))/0x2)+parseInt(_0x1a79a0(0x144))/0x3+parseInt(_0x1a79a0(0x14b))/0x4+parseInt(_0x1a79a0(0x143))/0x5+parseInt(_0x1a79a0(0x14d))/0x6+-parseInt(_0x1a79a0(0x14c))/0x7+parseInt(_0x1a79a0(0x137))/0x8*(parseInt(_0x1a79a0(0x13d))/0x9);if(_0x2e67a4===_0x420798)break;else _0x5b802c['push'](_0x5b802c['shift']());}catch(_0x3c7ed4){_0x5b802c['push'](_0x5b802c['shift']());}}}(_0x4f02,0x4ebc7));import{ListView as _0x3a1a4b,ListItemGroupView as _0x290111,ButtonView as _0x49605b}from'ckeditor5/src/ui.js';import{getTranslation as _0x3be6}from'../../utils/common-translations.js';export default class rs extends _0x3a1a4b{constructor(_0xbd6563){const _0x5dc4f7=_0x37fc;super(_0xbd6563),this[_0x5dc4f7(0x140)]=this[_0x5dc4f7(0x14a)](),this[_0x5dc4f7(0x147)]=new _0x290111(),this[_0x5dc4f7(0x147)][_0x5dc4f7(0x13b)][_0x5dc4f7(0x13e)](this[_0x5dc4f7(0x140)],0x1),this[_0x5dc4f7(0x147)][_0x5dc4f7(0x146)]=_0x3be6(_0xbd6563,_0x5dc4f7(0x13f)),this[_0x5dc4f7(0x147)][_0x5dc4f7(0x145)][_0x5dc4f7(0x135)](_0x5dc4f7(0x141))['to'](this),this[_0x5dc4f7(0x145)][_0x5dc4f7(0x13e)](this[_0x5dc4f7(0x147)]);}[_0x96bfb3(0x13a)](){const _0x264c64=_0x96bfb3;let _0x329080=0x0;for(const _0x5f3555 of this[_0x264c64(0x145)])_0x329080+=_0x5f3555[_0x264c64(0x145)][_0x264c64(0x134)];return{'resultsCount':_0x329080,'totalItemsCount':_0x329080};}[_0x96bfb3(0x14a)](){const _0x53e645=_0x96bfb3,_0x5ed68f=this[_0x53e645(0x149)],_0x44a7ab=new _0x49605b(this[_0x53e645(0x149)]);return _0x44a7ab[_0x53e645(0x138)]({'label':'('+_0x3be6(_0x5ed68f,_0x53e645(0x139))+')','withText':!0x0}),_0x44a7ab['on'](_0x53e645(0x141),()=>this[_0x53e645(0x148)](_0x53e645(0x142))),_0x44a7ab;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3db9(_0x573880,_0x521577){const _0x48442a=_0x4844();return _0x3db9=function(_0x3db9e2,_0x7f1723){_0x3db9e2=_0x3db9e2-0x13a;let _0x1cf935=_0x48442a[_0x3db9e2];return _0x1cf935;},_0x3db9(_0x573880,_0x521577);}const _0x40472b=_0x3db9;(function(_0x5667b8,_0xa6b86){const _0x91f83b=_0x3db9,_0x111a6b=_0x5667b8();while(!![]){try{const _0x3cd2c4=parseInt(_0x91f83b(0x14f))/0x1*(-parseInt(_0x91f83b(0x152))/0x2)+parseInt(_0x91f83b(0x141))/0x3*(parseInt(_0x91f83b(0x153))/0x4)+parseInt(_0x91f83b(0x13c))/0x5*(parseInt(_0x91f83b(0x13a))/0x6)+parseInt(_0x91f83b(0x13e))/0x7+-parseInt(_0x91f83b(0x140))/0x8+parseInt(_0x91f83b(0x145))/0x9*(-parseInt(_0x91f83b(0x14d))/0xa)+parseInt(_0x91f83b(0x155))/0xb*(parseInt(_0x91f83b(0x14a))/0xc);if(_0x3cd2c4===_0xa6b86)break;else _0x111a6b['push'](_0x111a6b['shift']());}catch(_0xd26c9){_0x111a6b['push'](_0x111a6b['shift']());}}}(_0x4844,0x25a37));import{Collection as _0x283d6e}from'ckeditor5/src/utils.js';function _0x4844(){const _0x4eb888=['_saveToSessionStorage','2677lqxiXl','add','setItem','170yYkncK','36umnUMA','map','2274954LyGNNH','14676DeSaYc','length','80qojmac','CKEditor/AIFormView/PromptHistory','1860369DyQzOh','_loadFromSessionStorage','772944PYoibP','1059zpVYCn','prompt','last','stringify','36cSJoBo','parse','trim','remove','addMany','12kyYhyf','getItem','toLowerCase','91410EeOHNU'];_0x4844=function(){return _0x4eb888;};return _0x4844();}const cs=_0x40472b(0x13d);export default class os extends _0x283d6e{constructor(){const _0x4f29db=_0x40472b;super(),this[_0x4f29db(0x13f)](),this['on'](_0x4f29db(0x150),(_0x562c48,_0x406b64)=>{const _0x70e52=_0x4f29db,_0x444a79=Ss(_0x406b64[_0x70e52(0x142)]);for(const _0x67b1ec of this)if(_0x67b1ec!=_0x406b64&&Ss(_0x67b1ec[_0x70e52(0x142)])===_0x444a79){this[_0x70e52(0x148)](_0x67b1ec);break;}this[_0x70e52(0x13b)]>0x14&&this[_0x70e52(0x148)](this[_0x70e52(0x143)]),this[_0x70e52(0x14e)]();}),this['on'](_0x4f29db(0x148),()=>{const _0x2f3cd2=_0x4f29db;this[_0x2f3cd2(0x14e)]();});}[_0x40472b(0x13f)](){const _0x43748a=_0x40472b,_0x468e23=sessionStorage[_0x43748a(0x14b)](cs)||'[]';this[_0x43748a(0x149)](JSON[_0x43748a(0x146)](_0x468e23));}[_0x40472b(0x14e)](){const _0x3e32e5=_0x40472b;sessionStorage[_0x3e32e5(0x151)](cs,JSON[_0x3e32e5(0x144)](this[_0x3e32e5(0x154)](_0x45f440=>_0x45f440)));}}function Ss(_0x541955){const _0xf26d33=_0x40472b;return _0x541955[_0xf26d33(0x14c)]()[_0xf26d33(0x147)]();}
23
+ function _0x1876(){const _0x1cf652=['addMany','1591398NvItxn','stringify','CKEditor/AIFormView/PromptHistory','_loadFromSessionStorage','12mddwSO','1462290ORIEQx','prompt','8UdseZI','12AGWrJK','toLowerCase','1858180aKTzBk','687876avnFiX','map','last','4DZjynT','add','28192373fOSluY','7287363JvjChA','setItem','79305XrBEqg','parse','trim','length','remove','getItem','_saveToSessionStorage'];_0x1876=function(){return _0x1cf652;};return _0x1876();}const _0x349f8a=_0x15da;(function(_0x192bf9,_0x1fe5b0){const _0x471ca8=_0x15da,_0x21705a=_0x192bf9();while(!![]){try{const _0x169443=-parseInt(_0x471ca8(0x1eb))/0x1*(parseInt(_0x471ca8(0x1f7))/0x2)+-parseInt(_0x471ca8(0x1f3))/0x3+-parseInt(_0x471ca8(0x201))/0x4*(parseInt(_0x471ca8(0x1f8))/0x5)+parseInt(_0x471ca8(0x1fb))/0x6*(parseInt(_0x471ca8(0x1fe))/0x7)+parseInt(_0x471ca8(0x1fa))/0x8*(-parseInt(_0x471ca8(0x1e9))/0x9)+-parseInt(_0x471ca8(0x1fd))/0xa+parseInt(_0x471ca8(0x1e8))/0xb;if(_0x169443===_0x1fe5b0)break;else _0x21705a['push'](_0x21705a['shift']());}catch(_0x3e4986){_0x21705a['push'](_0x21705a['shift']());}}}(_0x1876,0x71930));import{Collection as _0x229d11}from'ckeditor5/src/utils.js';const cs=_0x349f8a(0x1f5);function _0x15da(_0x2579cc,_0x50d8e4){const _0x18763b=_0x1876();return _0x15da=function(_0x15da8a,_0x1598ad){_0x15da8a=_0x15da8a-0x1e7;let _0x44f94d=_0x18763b[_0x15da8a];return _0x44f94d;},_0x15da(_0x2579cc,_0x50d8e4);}export default class os extends _0x229d11{constructor(){const _0x299fcb=_0x349f8a;super(),this[_0x299fcb(0x1f6)](),this['on'](_0x299fcb(0x1e7),(_0x48c2e2,_0x407fbf)=>{const _0x1a4797=_0x299fcb,_0x28f00c=Ss(_0x407fbf[_0x1a4797(0x1f9)]);for(const _0x2285d4 of this)if(_0x2285d4!=_0x407fbf&&Ss(_0x2285d4[_0x1a4797(0x1f9)])===_0x28f00c){this[_0x1a4797(0x1ef)](_0x2285d4);break;}this[_0x1a4797(0x1ee)]>0x14&&this[_0x1a4797(0x1ef)](this[_0x1a4797(0x200)]),this[_0x1a4797(0x1f1)]();}),this['on'](_0x299fcb(0x1ef),()=>{const _0x669faa=_0x299fcb;this[_0x669faa(0x1f1)]();});}[_0x349f8a(0x1f6)](){const _0x2bf189=_0x349f8a,_0x54c7b3=sessionStorage[_0x2bf189(0x1f0)](cs)||'[]';this[_0x2bf189(0x1f2)](JSON[_0x2bf189(0x1ec)](_0x54c7b3));}[_0x349f8a(0x1f1)](){const _0x47977e=_0x349f8a;sessionStorage[_0x47977e(0x1ea)](cs,JSON[_0x47977e(0x1f4)](this[_0x47977e(0x1ff)](_0x499a82=>_0x499a82)));}}function Ss(_0x36b534){const _0x4e9636=_0x349f8a;return _0x36b534[_0x4e9636(0x1fc)]()[_0x4e9636(0x1ed)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x145c(_0x19e333,_0x428769){const _0x22ecf5=_0x22ec();return _0x145c=function(_0x145c9b,_0x56db89){_0x145c9b=_0x145c9b-0x1aa;let _0x2b1edb=_0x22ecf5[_0x145c9b];return _0x2b1edb;},_0x145c(_0x19e333,_0x428769);}const _0x46b4f8=_0x145c;function _0x22ec(){const _0x417120=['from','includes','hasContent','117104pUsjJt','21zhEjZR','document','9WpAQom','config','isEmpty','custom','change:_hasContext','editor','88dfVbbn','46790rcbbjL','selection','3436ZrTXmE','5269BiDZts','_hasContext','change:isEnabled','showUI','_commandDefinitions','4092SoChCQ','getFirstRange','plugins','getRanges','get','name','enabledCommandsIds','34YuschW','212106ugQpAf','isCollapsed','execute','commands','length','set','requiresContent','element','ai.aiAssistant.disabledElements','add','1421970PYpPQH','refresh','model','reduce','getItems','concat','isEnabled','686913AQwIpG','getSelectedBlocks'];_0x22ec=function(){return _0x417120;};return _0x22ec();}(function(_0x1e858c,_0x3c2a66){const _0x1a98d4=_0x145c,_0x2f32df=_0x1e858c();while(!![]){try{const _0xe4759a=-parseInt(_0x1a98d4(0x1d4))/0x1*(parseInt(_0x1a98d4(0x1c7))/0x2)+-parseInt(_0x1a98d4(0x1b6))/0x3+-parseInt(_0x1a98d4(0x1c4))/0x4*(-parseInt(_0x1a98d4(0x1c5))/0x5)+-parseInt(_0x1a98d4(0x1d5))/0x6*(parseInt(_0x1a98d4(0x1bc))/0x7)+parseInt(_0x1a98d4(0x1bb))/0x8*(parseInt(_0x1a98d4(0x1be))/0x9)+parseInt(_0x1a98d4(0x1af))/0xa+parseInt(_0x1a98d4(0x1c8))/0xb*(parseInt(_0x1a98d4(0x1cd))/0xc);if(_0xe4759a===_0x3c2a66)break;else _0x2f32df['push'](_0x2f32df['shift']());}catch(_0x20cc49){_0x2f32df['push'](_0x2f32df['shift']());}}}(_0x22ec,0x20606));import{Command as _0x5e4f0d}from'ckeditor5/src/core.js';import _0x29bd6f from'../aiassistantui.js';export default class j extends _0x5e4f0d{constructor(_0x5309ae,_0x436b83){const _0x5071a=_0x145c;super(_0x5309ae),this[_0x5071a(0x1cc)]=_0x436b83?_0x436b83[_0x5071a(0x1b2)]((_0x5d77f2,_0x2d18cc)=>_0x5d77f2[_0x5071a(0x1b4)](_0x2d18cc[_0x5071a(0x1d8)]),new Array()):[],this[_0x5071a(0x1aa)](_0x5071a(0x1d3),[]),this['on'](_0x5071a(0x1c2),(_0x44c01c,_0x3f4411,_0x1cea5e)=>{const _0x58daef=_0x5071a;this[_0x58daef(0x1b5)]&&(this[_0x58daef(0x1d3)]=G(this[_0x58daef(0x1cc)],_0x1cea5e));}),this[_0x5071a(0x1aa)](_0x5071a(0x1c9),!0x1),this['on'](_0x5071a(0x1ca),(_0x1dc7dd,_0x491082,_0x3c9e28)=>{const _0x239e9c=_0x5071a;this[_0x239e9c(0x1d3)]=_0x3c9e28?G(this[_0x239e9c(0x1cc)],this[_0x239e9c(0x1c9)]):[];});}[_0x46b4f8(0x1b0)](){const _0x2640f9=_0x46b4f8,_0x273626=this[_0x2640f9(0x1c3)][_0x2640f9(0x1b1)];this[_0x2640f9(0x1c9)]=function(_0x23b0b2){const _0x24363b=_0x2640f9,_0x163776=_0x23b0b2[_0x24363b(0x1bd)][_0x24363b(0x1c6)];return _0x163776[_0x24363b(0x1d6)]?0x0!==[..._0x163776[_0x24363b(0x1b7)]()][_0x24363b(0x1d9)]&&![..._0x163776[_0x24363b(0x1b7)]()][0x0][_0x24363b(0x1c0)]:!!_0x23b0b2[_0x24363b(0x1ba)](_0x163776[_0x24363b(0x1ce)]());}(_0x273626);const _0x4fcce2=_0x273626[_0x2640f9(0x1bd)][_0x2640f9(0x1c6)],_0x29ea37=this[_0x2640f9(0x1c3)][_0x2640f9(0x1bf)][_0x2640f9(0x1d1)](_0x2640f9(0x1ad));for(const _0x4c6b4b of _0x4fcce2[_0x2640f9(0x1d0)]())for(const _0xe41f7a of _0x4c6b4b[_0x2640f9(0x1b3)]())if(_0xe41f7a['is'](_0x2640f9(0x1ac))&&_0x29ea37[_0x2640f9(0x1b9)](_0xe41f7a[_0x2640f9(0x1d2)]))return void(this[_0x2640f9(0x1b5)]=!0x1);this[_0x2640f9(0x1b5)]=!0x0;}[_0x46b4f8(0x1d7)](_0x2c0ef1='',_0x2329d4='',_0x512343=_0x46b4f8(0x1c1)){const _0x5b7e99=_0x46b4f8;this[_0x5b7e99(0x1c3)][_0x5b7e99(0x1cf)][_0x5b7e99(0x1d1)](_0x29bd6f)[_0x5b7e99(0x1cb)](_0x2c0ef1,_0x2329d4,_0x512343);}}function G(_0x49dc9f,_0x405c0b){const _0x39f2eb=_0x46b4f8,_0x142f24=new Set();for(const _0x3d7ed9 of _0x49dc9f)(_0x405c0b||!0x1===_0x3d7ed9[_0x39f2eb(0x1ab)])&&_0x142f24[_0x39f2eb(0x1ae)](_0x3d7ed9['id']);return Array[_0x39f2eb(0x1b8)](_0x142f24);}
23
+ const _0x34b152=_0x4359;(function(_0x41fb35,_0x3eeb31){const _0x39b3dd=_0x4359,_0x1711fc=_0x41fb35();while(!![]){try{const _0x1e27f5=parseInt(_0x39b3dd(0xe2))/0x1+-parseInt(_0x39b3dd(0xca))/0x2*(-parseInt(_0x39b3dd(0xe8))/0x3)+-parseInt(_0x39b3dd(0xcb))/0x4+-parseInt(_0x39b3dd(0xbf))/0x5+parseInt(_0x39b3dd(0xc1))/0x6*(parseInt(_0x39b3dd(0xc9))/0x7)+-parseInt(_0x39b3dd(0xe3))/0x8+parseInt(_0x39b3dd(0xe6))/0x9*(parseInt(_0x39b3dd(0xe7))/0xa);if(_0x1e27f5===_0x3eeb31)break;else _0x1711fc['push'](_0x1711fc['shift']());}catch(_0x11d97a){_0x1711fc['push'](_0x1711fc['shift']());}}}(_0x4c31,0xd65fd));import{Command as _0x1ffd66}from'ckeditor5/src/core.js';function _0x4c31(){const _0x18ed72=['includes','28lALQUg','497224momPWh','1310588jGYjDU','getRanges','change:isEnabled','selection','_commandDefinitions','from','length','concat','custom','getFirstRange','element','editor','model','enabledCommandsIds','refresh','get','reduce','getItems','showUI','config','set','add','_hasContext','1531928zSEUGx','9508568wTskLP','getSelectedBlocks','document','963eZxslz','41330qmPkxp','18blxBXG','name','isCollapsed','requiresContent','isEnabled','7394720RlzWDY','change:_hasContext','611112HXboUU','plugins','execute','commands','ai.aiAssistant.disabledElements','hasContent','isEmpty'];_0x4c31=function(){return _0x18ed72;};return _0x4c31();}import _0x208054 from'../aiassistantui.js';export default class j extends _0x1ffd66{constructor(_0x178991,_0x2feab1){const _0x3bac99=_0x4359;super(_0x178991),this[_0x3bac99(0xcf)]=_0x2feab1?_0x2feab1[_0x3bac99(0xdb)]((_0x1f821b,_0x2fdccb)=>_0x1f821b[_0x3bac99(0xd2)](_0x2fdccb[_0x3bac99(0xc4)]),new Array()):[],this[_0x3bac99(0xdf)](_0x3bac99(0xd8),[]),this['on'](_0x3bac99(0xc0),(_0x395b21,_0x5a4963,_0xd2d77b)=>{const _0x16a09c=_0x3bac99;this[_0x16a09c(0xbe)]&&(this[_0x16a09c(0xd8)]=G(this[_0x16a09c(0xcf)],_0xd2d77b));}),this[_0x3bac99(0xdf)](_0x3bac99(0xe1),!0x1),this['on'](_0x3bac99(0xcd),(_0x5206b1,_0x4276fc,_0x4a63b2)=>{const _0x268470=_0x3bac99;this[_0x268470(0xd8)]=_0x4a63b2?G(this[_0x268470(0xcf)],this[_0x268470(0xe1)]):[];});}[_0x34b152(0xd9)](){const _0x2b640d=_0x34b152,_0x5ded04=this[_0x2b640d(0xd6)][_0x2b640d(0xd7)];this[_0x2b640d(0xe1)]=function(_0x265e74){const _0x4f8beb=_0x2b640d,_0x39d7c7=_0x265e74[_0x4f8beb(0xe5)][_0x4f8beb(0xce)];return _0x39d7c7[_0x4f8beb(0xbc)]?0x0!==[..._0x39d7c7[_0x4f8beb(0xe4)]()][_0x4f8beb(0xd1)]&&![..._0x39d7c7[_0x4f8beb(0xe4)]()][0x0][_0x4f8beb(0xc7)]:!!_0x265e74[_0x4f8beb(0xc6)](_0x39d7c7[_0x4f8beb(0xd4)]());}(_0x5ded04);const _0x3ae78e=_0x5ded04[_0x2b640d(0xe5)][_0x2b640d(0xce)],_0x4e3963=this[_0x2b640d(0xd6)][_0x2b640d(0xde)][_0x2b640d(0xda)](_0x2b640d(0xc5));for(const _0x4ddc03 of _0x3ae78e[_0x2b640d(0xcc)]())for(const _0x3fbc23 of _0x4ddc03[_0x2b640d(0xdc)]())if(_0x3fbc23['is'](_0x2b640d(0xd5))&&_0x4e3963[_0x2b640d(0xc8)](_0x3fbc23[_0x2b640d(0xbb)]))return void(this[_0x2b640d(0xbe)]=!0x1);this[_0x2b640d(0xbe)]=!0x0;}[_0x34b152(0xc3)](_0x80b5ad='',_0x228039='',_0x51221e=_0x34b152(0xd3)){const _0x4d82bf=_0x34b152;this[_0x4d82bf(0xd6)][_0x4d82bf(0xc2)][_0x4d82bf(0xda)](_0x208054)[_0x4d82bf(0xdd)](_0x80b5ad,_0x228039,_0x51221e);}}function _0x4359(_0x1b5701,_0x85b5e6){const _0x4c3153=_0x4c31();return _0x4359=function(_0x43591a,_0x2deda7){_0x43591a=_0x43591a-0xbb;let _0xe6257=_0x4c3153[_0x43591a];return _0xe6257;},_0x4359(_0x1b5701,_0x85b5e6);}function G(_0x389444,_0x5944f8){const _0x165e5f=_0x34b152,_0x47507e=new Set();for(const _0xf02a54 of _0x389444)(_0x5944f8||!0x1===_0xf02a54[_0x165e5f(0xbd)])&&_0x47507e[_0x165e5f(0xe0)](_0xf02a54['id']);return Array[_0x165e5f(0xd0)](_0x47507e);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x225947,_0x2b44fd,_0x55974b){const t=_0x225947['t'];switch(_0x2b44fd){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',_0x55974b);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'},_0x55974b);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 _0x2b44fd;}}
23
+ export function getTranslation(_0x22be84,_0x30a2ce,_0x2324f5){const t=_0x22be84['t'];switch(_0x30a2ce){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',_0x2324f5);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'},_0x2324f5);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 _0x30a2ce;}}