@ckeditor/ckeditor5-ai 0.0.0-nightly-20240422.0 → 0.0.0-nightly-20240424.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/build/ai.js +6 -6
  2. package/dist/index-content.css +4 -0
  3. package/dist/index-editor.css +267 -0
  4. package/dist/index.css +396 -0
  5. package/dist/index.js +23 -0
  6. package/dist/translations/af.d.ts +8 -0
  7. package/dist/translations/af.js +23 -0
  8. package/dist/translations/ar.d.ts +8 -0
  9. package/dist/translations/ar.js +23 -0
  10. package/dist/translations/bg.d.ts +8 -0
  11. package/dist/translations/bg.js +23 -0
  12. package/dist/translations/bn.d.ts +8 -0
  13. package/dist/translations/bn.js +23 -0
  14. package/dist/translations/bs.d.ts +8 -0
  15. package/dist/translations/bs.js +23 -0
  16. package/dist/translations/ca.d.ts +8 -0
  17. package/dist/translations/ca.js +23 -0
  18. package/dist/translations/cs.d.ts +8 -0
  19. package/dist/translations/cs.js +23 -0
  20. package/dist/translations/da.d.ts +8 -0
  21. package/dist/translations/da.js +23 -0
  22. package/dist/translations/de-ch.d.ts +8 -0
  23. package/dist/translations/de-ch.js +23 -0
  24. package/dist/translations/de.d.ts +8 -0
  25. package/dist/translations/de.js +23 -0
  26. package/dist/translations/el.d.ts +8 -0
  27. package/dist/translations/el.js +23 -0
  28. package/dist/translations/en-au.d.ts +8 -0
  29. package/dist/translations/en-au.js +23 -0
  30. package/dist/translations/en.d.ts +8 -0
  31. package/dist/translations/en.js +23 -0
  32. package/dist/translations/es-co.d.ts +8 -0
  33. package/dist/translations/es-co.js +23 -0
  34. package/dist/translations/es.d.ts +8 -0
  35. package/dist/translations/es.js +23 -0
  36. package/dist/translations/et.d.ts +8 -0
  37. package/dist/translations/et.js +23 -0
  38. package/dist/translations/fa.d.ts +8 -0
  39. package/dist/translations/fa.js +23 -0
  40. package/dist/translations/fi.d.ts +8 -0
  41. package/dist/translations/fi.js +23 -0
  42. package/dist/translations/fr.d.ts +8 -0
  43. package/dist/translations/fr.js +23 -0
  44. package/dist/translations/gl.d.ts +8 -0
  45. package/dist/translations/gl.js +23 -0
  46. package/dist/translations/he.d.ts +8 -0
  47. package/dist/translations/he.js +23 -0
  48. package/dist/translations/hi.d.ts +8 -0
  49. package/dist/translations/hi.js +23 -0
  50. package/dist/translations/hr.d.ts +8 -0
  51. package/dist/translations/hr.js +23 -0
  52. package/dist/translations/hu.d.ts +8 -0
  53. package/dist/translations/hu.js +23 -0
  54. package/dist/translations/id.d.ts +8 -0
  55. package/dist/translations/id.js +23 -0
  56. package/dist/translations/it.d.ts +8 -0
  57. package/dist/translations/it.js +23 -0
  58. package/dist/translations/ja.d.ts +8 -0
  59. package/dist/translations/ja.js +23 -0
  60. package/dist/translations/jv.d.ts +8 -0
  61. package/dist/translations/jv.js +23 -0
  62. package/dist/translations/ko.d.ts +8 -0
  63. package/dist/translations/ko.js +23 -0
  64. package/dist/translations/lt.d.ts +8 -0
  65. package/dist/translations/lt.js +23 -0
  66. package/dist/translations/lv.d.ts +8 -0
  67. package/dist/translations/lv.js +23 -0
  68. package/dist/translations/ms.d.ts +8 -0
  69. package/dist/translations/ms.js +23 -0
  70. package/dist/translations/nl.d.ts +8 -0
  71. package/dist/translations/nl.js +23 -0
  72. package/dist/translations/no.d.ts +8 -0
  73. package/dist/translations/no.js +23 -0
  74. package/dist/translations/pl.d.ts +8 -0
  75. package/dist/translations/pl.js +23 -0
  76. package/dist/translations/pt-br.d.ts +8 -0
  77. package/dist/translations/pt-br.js +23 -0
  78. package/dist/translations/pt.d.ts +8 -0
  79. package/dist/translations/pt.js +23 -0
  80. package/dist/translations/ro.d.ts +8 -0
  81. package/dist/translations/ro.js +23 -0
  82. package/dist/translations/ru.d.ts +8 -0
  83. package/dist/translations/ru.js +23 -0
  84. package/dist/translations/sk.d.ts +8 -0
  85. package/dist/translations/sk.js +23 -0
  86. package/dist/translations/sr-latn.d.ts +8 -0
  87. package/dist/translations/sr-latn.js +23 -0
  88. package/dist/translations/sr.d.ts +8 -0
  89. package/dist/translations/sr.js +23 -0
  90. package/dist/translations/sv.d.ts +8 -0
  91. package/dist/translations/sv.js +23 -0
  92. package/dist/translations/th.d.ts +8 -0
  93. package/dist/translations/th.js +23 -0
  94. package/dist/translations/tk.d.ts +8 -0
  95. package/dist/translations/tk.js +23 -0
  96. package/dist/translations/tr.d.ts +8 -0
  97. package/dist/translations/tr.js +23 -0
  98. package/dist/translations/ug.d.ts +8 -0
  99. package/dist/translations/ug.js +23 -0
  100. package/dist/translations/uk.d.ts +8 -0
  101. package/dist/translations/uk.js +23 -0
  102. package/dist/translations/ur.d.ts +8 -0
  103. package/dist/translations/ur.js +23 -0
  104. package/dist/translations/uz.d.ts +8 -0
  105. package/dist/translations/uz.js +23 -0
  106. package/dist/translations/vi.d.ts +8 -0
  107. package/dist/translations/vi.js +23 -0
  108. package/dist/translations/zh-cn.d.ts +8 -0
  109. package/dist/translations/zh-cn.js +23 -0
  110. package/dist/translations/zh.d.ts +8 -0
  111. package/dist/translations/zh.js +23 -0
  112. package/dist/types/adapters/aiadapter.d.ts +52 -0
  113. package/dist/types/adapters/aitextadapter.d.ts +150 -0
  114. package/dist/types/adapters/awstextadapter.d.ts +183 -0
  115. package/dist/types/adapters/openaitextadapter.d.ts +187 -0
  116. package/dist/types/aiassistant.d.ts +390 -0
  117. package/dist/types/aiassistantediting.d.ts +50 -0
  118. package/dist/types/aiassistantui.d.ts +57 -0
  119. package/dist/types/aiconfig.d.ts +73 -0
  120. package/dist/types/augmentation.d.ts +31 -0
  121. package/dist/types/index.d.ts +17 -0
  122. package/dist/types/ui/aiassistantcontroller.d.ts +113 -0
  123. package/dist/types/ui/dropdown/aicommandslistview.d.ts +37 -0
  124. package/dist/types/ui/dropdown/buttonlabelwithhighlightview.d.ts +33 -0
  125. package/dist/types/ui/dropdown/labelwithhighlightview.d.ts +29 -0
  126. package/dist/types/ui/form/aiformcontentarea.d.ts +52 -0
  127. package/dist/types/ui/form/aiformerrorview.d.ts +30 -0
  128. package/dist/types/ui/form/aiformpromptview.d.ts +50 -0
  129. package/dist/types/ui/form/aiformtoolbarview.d.ts +62 -0
  130. package/dist/types/ui/form/aiformview.d.ts +145 -0
  131. package/dist/types/ui/form/aihistorylistitemview.d.ts +22 -0
  132. package/dist/types/ui/form/aihistorylistview.d.ts +39 -0
  133. package/dist/types/ui/form/prompthistory.d.ts +24 -0
  134. package/dist/types/ui/showaiassistantcommand.d.ts +44 -0
  135. package/dist/types/utils/common-translations.d.ts +13 -0
  136. package/package.json +5 -4
  137. package/src/adapters/aiadapter.js +1 -1
  138. package/src/adapters/aitextadapter.js +1 -1
  139. package/src/adapters/awstextadapter.js +1 -1
  140. package/src/adapters/openaitextadapter.js +1 -1
  141. package/src/aiassistant.js +1 -1
  142. package/src/aiassistantediting.js +1 -1
  143. package/src/aiassistantui.js +1 -1
  144. package/src/index.js +1 -1
  145. package/src/ui/aiassistantcontroller.js +1 -1
  146. package/src/ui/dropdown/aicommandslistview.js +1 -1
  147. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  148. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  149. package/src/ui/form/aiformcontentarea.js +1 -1
  150. package/src/ui/form/aiformerrorview.js +1 -1
  151. package/src/ui/form/aiformpromptview.js +1 -1
  152. package/src/ui/form/aiformtoolbarview.js +1 -1
  153. package/src/ui/form/aiformview.js +1 -1
  154. package/src/ui/form/aihistorylistitemview.js +1 -1
  155. package/src/ui/form/aihistorylistview.js +1 -1
  156. package/src/ui/form/prompthistory.js +1 -1
  157. package/src/ui/showaiassistantcommand.js +1 -1
  158. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe00e8c=_0xc404;function _0xedf1(){const _0x36b7fd=['left','setStartAfter','render','execute','addRange','setContent','ck-reset_all-excluded','copyButtonView','ck-ai-form__copy-button','ck-ai-form__loader','<span>[</span>','set','ck-ai-form__copy-button-wrapper','<span>]</span>','isEnabled','1075120NWLEOB','text/plain','div','appendChild','scrollHeight','ck-ai-form__content-area--processing','createElement','Copy','removeAllRanges','icon','focus','getSelection','position','_createCopyButton','execCommand','scrollTo','querySelector','130301ysPIDa','mousedown','locale','createRange','\x20ck-ai-form__copy-button--copied','body','listenTo','isVisible','13156199xPvBHc','761925SllZab','wheel','ck-hidden','8650448KTBekh','lastElementChild','ck-ai-form__content-area-wrapper','AI\x20is\x20writing...','12200JaiWfF','.ck-ai-form__loader','remove','appendLoader','-9999px','_copyHTMLToClipboard','element','value','change:isProcessing','setEndBefore','absolute','innerHTML','check','ck-ai-form__content-field','2762712lQMuTl','class','text/html','6yKFiea','loaderView','bind','change:value','textContent','bindTemplate','_createLoader','isProcessing','style','smooth','setTemplate','copy','clipboard','ck-ai-form__content-area','ClipboardItem','firstElementChild','contentFieldView','ck-content','write'];_0xedf1=function(){return _0x36b7fd;};return _0xedf1();}(function(_0x273792,_0x1e552d){const _0x9f932e=_0xc404,_0x25db69=_0x273792();while(!![]){try{const _0x2ab491=parseInt(_0x9f932e(0xee))/0x1+parseInt(_0x9f932e(0xdd))/0x2+parseInt(_0x9f932e(0xb8))/0x3+parseInt(_0x9f932e(0xfe))/0x4+parseInt(_0x9f932e(0xf7))/0x5*(parseInt(_0x9f932e(0xbb))/0x6)+-parseInt(_0x9f932e(0xf6))/0x7+parseInt(_0x9f932e(0xfa))/0x8;if(_0x2ab491===_0x1e552d)break;else _0x25db69['push'](_0x25db69['shift']());}catch(_0x1d93ff){_0x25db69['push'](_0x25db69['shift']());}}}(_0xedf1,0xe6f81));import{global as _0x367b43}from'ckeditor5/src/utils.js';import{View as _0x1bd3b1,ButtonView as _0x21d397,SpinnerView as _0x2650d}from'ckeditor5/src/ui.js';function _0xc404(_0x4c02dd,_0x1cac50){const _0xedf1e2=_0xedf1();return _0xc404=function(_0xc404de,_0x3c8ff4){_0xc404de=_0xc404de-0xaf;let _0x4ae627=_0xedf1e2[_0xc404de];return _0x4ae627;},_0xc404(_0x4c02dd,_0x1cac50);}import _0x2e37fd from'../../../theme/icons/copy.svg';import{getTranslation as _0x268cdf}from'../../utils/common-translations.js';import{icons as _0x35f330}from'ckeditor5/src/core.js';export default class nt extends _0x1bd3b1{constructor(_0x3d6c87,_0x1ab6a2=''){const _0x190cae=_0xc404;super(_0x3d6c87),this[_0x190cae(0xd9)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x352d9b=this[_0x190cae(0xc0)];this[_0x190cae(0xcb)]=new ContentFieldView(_0x3d6c87,_0x1ab6a2),this[_0x190cae(0xd5)]=this[_0x190cae(0xea)](),this[_0x190cae(0xc5)]({'tag':_0x190cae(0xdf),'attributes':{'class':['ck',_0x190cae(0xfc),_0x352d9b['if'](_0x190cae(0xf5),_0x190cae(0xf9),_0x21532f=>!_0x21532f)],'tabindex':'-1'},'children':[{'tag':_0x190cae(0xdf),'attributes':{'class':['ck',_0x190cae(0xc8),_0x352d9b['if'](_0x190cae(0xc2),_0x190cae(0xe2))]},'children':[this[_0x190cae(0xcb)],{'tag':_0x190cae(0xdf),'attributes':{'class':['ck',_0x190cae(0xda)]},'children':[this[_0x190cae(0xd5)]]}]}]});}[_0xe00e8c(0xd0)](){const _0xb9cf90=_0xe00e8c;super[_0xb9cf90(0xd0)](),this[_0xb9cf90(0xb1)]&&this[_0xb9cf90(0xcb)][_0xb9cf90(0xd3)](this[_0xb9cf90(0xb1)]);let _0x2af85a=!0x1;this['on'](_0xb9cf90(0xbe),(_0x1c4508,_0x17753e,_0x4562b7)=>{const _0x387ce6=_0xb9cf90,_0x47a625=!this[_0x387ce6(0xcb)][_0x387ce6(0xb0)][_0x387ce6(0xed)](_0x387ce6(0xff));this[_0x387ce6(0xcb)][_0x387ce6(0xd3)](_0x4562b7),this[_0x387ce6(0xc2)]&&_0x47a625&&!_0x2af85a&&this[_0x387ce6(0xb0)][_0x387ce6(0xec)]({'top':this[_0x387ce6(0xb0)][_0x387ce6(0xe1)],'behavior':_0x387ce6(0xc4)});}),this['on'](_0xb9cf90(0xb2),(_0x1ce536,_0x2d02d8,_0x4e2718)=>{const _0x3f000b=_0xb9cf90;_0x2af85a=!0x1,_0x4e2718?(this[_0x3f000b(0xb1)]=null,this[_0x3f000b(0xcb)][_0x3f000b(0x101)]()):this[_0x3f000b(0xb1)]||this[_0x3f000b(0xcb)][_0x3f000b(0xd3)]('');}),this[_0xb9cf90(0xf4)](this[_0xb9cf90(0xb0)],_0xb9cf90(0xf8),()=>{_0x2af85a=!0x0;}),this[_0xb9cf90(0xf4)](this[_0xb9cf90(0xb0)],_0xb9cf90(0xef),()=>{_0x2af85a=!0x0;});}[_0xe00e8c(0xe7)](){const _0x1405cd=_0xe00e8c;this[_0x1405cd(0xb0)][_0x1405cd(0xe7)]();}[_0xe00e8c(0xea)](){const _0x3f970b=_0xe00e8c,_0x5472c8=this[_0x3f970b(0xf0)],_0x32f29b=new _0x21d397(this[_0x3f970b(0xf0)]),_0x39b0b5=_0x3f970b(0xd6);return _0x32f29b[_0x3f970b(0xd9)]({'label':_0x268cdf(_0x5472c8,_0x3f970b(0xe4)),'icon':_0x2e37fd,'class':_0x39b0b5,'tooltip':!0x0}),_0x32f29b[_0x3f970b(0xbd)](_0x3f970b(0xf5))['to'](this,_0x3f970b(0xb1),_0x9561e=>!!_0x9561e),_0x32f29b[_0x3f970b(0xbd)](_0x3f970b(0xdc))['to'](this,_0x3f970b(0xc2),_0x3e2a5c=>!_0x3e2a5c),_0x32f29b['on'](_0x3f970b(0xd1),()=>{const _0x29c16f=_0x3f970b;this[_0x29c16f(0xaf)](this[_0x29c16f(0xcb)][_0x29c16f(0xb0)]),_0x32f29b[_0x29c16f(0xe6)]=_0x35f330[_0x29c16f(0xb6)],_0x32f29b[_0x29c16f(0xb9)]=_0x39b0b5+_0x29c16f(0xf2),this[_0x29c16f(0xe7)](),setTimeout(()=>{const _0x235645=_0x29c16f;_0x32f29b[_0x235645(0xe6)]=_0x2e37fd,_0x32f29b[_0x235645(0xb9)]=_0x39b0b5;},0x3e8);}),_0x32f29b;}[_0xe00e8c(0xaf)](_0x24957f){const _0x57d489=_0xe00e8c,{window:_0xaad918,document:_0x194529}=_0x367b43;if(_0xaad918[_0x57d489(0xc9)]){const {Blob:_0x1a0a2f,ClipboardItem:_0x4bcdf6}=_0xaad918,_0x50f0ea=[new _0x4bcdf6({'text/html':new _0x1a0a2f([_0x24957f[_0x57d489(0xb5)]],{'type':_0x57d489(0xba)}),'text/plain':new _0x1a0a2f([_0x24957f[_0x57d489(0xbf)]||''],{'type':_0x57d489(0xde)})})];navigator[_0x57d489(0xc7)][_0x57d489(0xcd)](_0x50f0ea);}else{const _0x4baf09=_0x194529[_0x57d489(0xe3)](_0x57d489(0xdf));_0x4baf09[_0x57d489(0xc3)][_0x57d489(0xe9)]=_0x57d489(0xb4),_0x4baf09[_0x57d489(0xc3)][_0x57d489(0xce)]=_0x57d489(0x102),_0x4baf09[_0x57d489(0xb5)]=_0x57d489(0xd8)+_0x24957f[_0x57d489(0xb5)]+_0x57d489(0xdb),_0x194529[_0x57d489(0xf3)][_0x57d489(0xe0)](_0x4baf09);const _0x159f5d=_0x194529[_0x57d489(0xf1)]();_0x159f5d[_0x57d489(0xcf)](_0x4baf09[_0x57d489(0xca)]),_0x159f5d[_0x57d489(0xb3)](_0x4baf09[_0x57d489(0xfb)]);const _0x2b7c99=_0xaad918[_0x57d489(0xe8)]();_0x2b7c99[_0x57d489(0xe5)](),_0x2b7c99[_0x57d489(0xd2)](_0x159f5d),_0x194529[_0x57d489(0xeb)](_0x57d489(0xc6)),_0x4baf09[_0x57d489(0x100)]();}}}export class ContentFieldView extends _0x1bd3b1{constructor(_0x23f19b,_0xbe043c=''){const _0x5aef7d=_0xe00e8c;super(_0x23f19b),this[_0x5aef7d(0xbc)]=this[_0x5aef7d(0xc1)](),this[_0x5aef7d(0xc5)]({'tag':_0x5aef7d(0xdf),'attributes':{'class':['ck',_0x5aef7d(0xcc),_0xbe043c,_0x5aef7d(0xd4),_0x5aef7d(0xb7)]}});}[_0xe00e8c(0xd3)](_0xc81f7c){const _0x3b5e33=_0xe00e8c;this[_0x3b5e33(0xb0)][_0x3b5e33(0xb5)]=_0xc81f7c;}[_0xe00e8c(0x101)](){const _0x11510=_0xe00e8c;this[_0x11510(0xb0)][_0x11510(0xe0)](this[_0x11510(0xbc)][_0x11510(0xb0)]);}[_0xe00e8c(0xc1)](){const _0x568ce4=_0xe00e8c,_0x3797e6=new _0x1bd3b1(),_0x444d7c=this[_0x568ce4(0xf0)],_0x465e6e=new _0x2650d();return _0x465e6e[_0x568ce4(0xf5)]=!0x0,_0x3797e6[_0x568ce4(0xc5)]({'tag':_0x568ce4(0xdf),'attributes':{'class':['ck',_0x568ce4(0xd7)]},'children':[_0x465e6e,{'text':_0x268cdf(_0x444d7c,_0x568ce4(0xfd))}]}),_0x3797e6[_0x568ce4(0xd0)](),_0x3797e6;}}
23
+ const _0x253d5a=_0x7996;(function(_0x67710c,_0x51a205){const _0x509460=_0x7996,_0x15c3ac=_0x67710c();while(!![]){try{const _0x425cf9=parseInt(_0x509460(0x1fd))/0x1*(-parseInt(_0x509460(0x210))/0x2)+-parseInt(_0x509460(0x1c7))/0x3+parseInt(_0x509460(0x1cd))/0x4+-parseInt(_0x509460(0x1e8))/0x5+-parseInt(_0x509460(0x1e9))/0x6+parseInt(_0x509460(0x1d3))/0x7*(parseInt(_0x509460(0x1e2))/0x8)+parseInt(_0x509460(0x206))/0x9;if(_0x425cf9===_0x51a205)break;else _0x15c3ac['push'](_0x15c3ac['shift']());}catch(_0x136196){_0x15c3ac['push'](_0x15c3ac['shift']());}}}(_0x2be2,0x7999f));import{global as _0x6bed45}from'ckeditor5/src/utils.js';function _0x7996(_0x5e56f4,_0x1ffb79){const _0x2be297=_0x2be2();return _0x7996=function(_0x7996e2,_0x346424){_0x7996e2=_0x7996e2-0x1c1;let _0xe80324=_0x2be297[_0x7996e2];return _0xe80324;},_0x7996(_0x5e56f4,_0x1ffb79);}import{View as _0x5a73ba,ButtonView as _0x283c93,SpinnerView as _0x731bfd}from'ckeditor5/src/ui.js';function _0x2be2(){const _0x36c6e8=['value','body','absolute','change:value','change:isProcessing','element','text/html','createRange','removeAllRanges','.ck-ai-form__loader','16712WjsyyM','lastElementChild','ck-ai-form__copy-button-wrapper','appendLoader','ck-ai-form__content-field','clipboard','4269365RisUKa','1670676HPrPfz','ck-ai-form__content-area','appendChild','focus','<span>[</span>','set','position','createElement','copyButtonView','remove','\x20ck-ai-form__copy-button--copied','isEnabled','execCommand','ck-hidden','listenTo','ClipboardItem','innerHTML','setContent','loaderView','scrollHeight','13kiQRod','getSelection','setTemplate','Copy','isProcessing','copy','addRange','mousedown','querySelector','20473938lpsHNW','_createCopyButton','setStartAfter','smooth','check','left','class','write','-9999px','<span>]</span>','142382bRPMrM','render','ck-reset_all-excluded','AI\x20is\x20writing...','textContent','locale','bindTemplate','style','isVisible','bind','ck-ai-form__content-area-wrapper','ck-ai-form__copy-button','813228xhZTaV','_createLoader','text/plain','ck-content','div','ck-ai-form__content-area--processing','896408VmTUyl','contentFieldView','scrollTo','_copyHTMLToClipboard','ck-ai-form__loader','icon','1099goMYBy','setEndBefore','firstElementChild','wheel','execute'];_0x2be2=function(){return _0x36c6e8;};return _0x2be2();}import _0x1e69ec from'../../../theme/icons/copy.svg';import{getTranslation as _0x2c3d8f}from'../../utils/common-translations.js';import{icons as _0x1f5c1f}from'ckeditor5/src/core.js';export default class nt extends _0x5a73ba{constructor(_0x48cdc0,_0x5edf60=''){const _0x5f20c2=_0x7996;super(_0x48cdc0),this[_0x5f20c2(0x1ee)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x178dc8=this[_0x5f20c2(0x1c1)];this[_0x5f20c2(0x1ce)]=new ContentFieldView(_0x48cdc0,_0x5edf60),this[_0x5f20c2(0x1f1)]=this[_0x5f20c2(0x207)](),this[_0x5f20c2(0x1ff)]({'tag':_0x5f20c2(0x1cb),'attributes':{'class':['ck',_0x5f20c2(0x1c5),_0x178dc8['if'](_0x5f20c2(0x1c3),_0x5f20c2(0x1f6),_0x370826=>!_0x370826)],'tabindex':'-1'},'children':[{'tag':_0x5f20c2(0x1cb),'attributes':{'class':['ck',_0x5f20c2(0x1ea),_0x178dc8['if'](_0x5f20c2(0x201),_0x5f20c2(0x1cc))]},'children':[this[_0x5f20c2(0x1ce)],{'tag':_0x5f20c2(0x1cb),'attributes':{'class':['ck',_0x5f20c2(0x1e4)]},'children':[this[_0x5f20c2(0x1f1)]]}]}]});}[_0x253d5a(0x211)](){const _0x1900dd=_0x253d5a;super[_0x1900dd(0x211)](),this[_0x1900dd(0x1d8)]&&this[_0x1900dd(0x1ce)][_0x1900dd(0x1fa)](this[_0x1900dd(0x1d8)]);let _0x3e7afc=!0x1;this['on'](_0x1900dd(0x1db),(_0xdf4e45,_0x213243,_0x54a840)=>{const _0x54490f=_0x1900dd,_0x15f530=!this[_0x54490f(0x1ce)][_0x54490f(0x1dd)][_0x54490f(0x205)](_0x54490f(0x1e1));this[_0x54490f(0x1ce)][_0x54490f(0x1fa)](_0x54a840),this[_0x54490f(0x201)]&&_0x15f530&&!_0x3e7afc&&this[_0x54490f(0x1dd)][_0x54490f(0x1cf)]({'top':this[_0x54490f(0x1dd)][_0x54490f(0x1fc)],'behavior':_0x54490f(0x209)});}),this['on'](_0x1900dd(0x1dc),(_0x1022ad,_0x4bde6f,_0x3fd4aa)=>{const _0x55ef5d=_0x1900dd;_0x3e7afc=!0x1,_0x3fd4aa?(this[_0x55ef5d(0x1d8)]=null,this[_0x55ef5d(0x1ce)][_0x55ef5d(0x1e5)]()):this[_0x55ef5d(0x1d8)]||this[_0x55ef5d(0x1ce)][_0x55ef5d(0x1fa)]('');}),this[_0x1900dd(0x1f7)](this[_0x1900dd(0x1dd)],_0x1900dd(0x1d6),()=>{_0x3e7afc=!0x0;}),this[_0x1900dd(0x1f7)](this[_0x1900dd(0x1dd)],_0x1900dd(0x204),()=>{_0x3e7afc=!0x0;});}[_0x253d5a(0x1ec)](){const _0x30f609=_0x253d5a;this[_0x30f609(0x1dd)][_0x30f609(0x1ec)]();}[_0x253d5a(0x207)](){const _0x4c0654=_0x253d5a,_0x3967fb=this[_0x4c0654(0x215)],_0x5459bf=new _0x283c93(this[_0x4c0654(0x215)]),_0x46e8b4=_0x4c0654(0x1c6);return _0x5459bf[_0x4c0654(0x1ee)]({'label':_0x2c3d8f(_0x3967fb,_0x4c0654(0x200)),'icon':_0x1e69ec,'class':_0x46e8b4,'tooltip':!0x0}),_0x5459bf[_0x4c0654(0x1c4)](_0x4c0654(0x1c3))['to'](this,_0x4c0654(0x1d8),_0x1a6abb=>!!_0x1a6abb),_0x5459bf[_0x4c0654(0x1c4)](_0x4c0654(0x1f4))['to'](this,_0x4c0654(0x201),_0x5a21b8=>!_0x5a21b8),_0x5459bf['on'](_0x4c0654(0x1d7),()=>{const _0x4e01ef=_0x4c0654;this[_0x4e01ef(0x1d0)](this[_0x4e01ef(0x1ce)][_0x4e01ef(0x1dd)]),_0x5459bf[_0x4e01ef(0x1d2)]=_0x1f5c1f[_0x4e01ef(0x20a)],_0x5459bf[_0x4e01ef(0x20c)]=_0x46e8b4+_0x4e01ef(0x1f3),this[_0x4e01ef(0x1ec)](),setTimeout(()=>{const _0x599ffb=_0x4e01ef;_0x5459bf[_0x599ffb(0x1d2)]=_0x1e69ec,_0x5459bf[_0x599ffb(0x20c)]=_0x46e8b4;},0x3e8);}),_0x5459bf;}[_0x253d5a(0x1d0)](_0x42d821){const _0x5b9e96=_0x253d5a,{window:_0x1c447a,document:_0x4359e4}=_0x6bed45;if(_0x1c447a[_0x5b9e96(0x1f8)]){const {Blob:_0x39856f,ClipboardItem:_0x473beb}=_0x1c447a,_0x317d90=[new _0x473beb({'text/html':new _0x39856f([_0x42d821[_0x5b9e96(0x1f9)]],{'type':_0x5b9e96(0x1de)}),'text/plain':new _0x39856f([_0x42d821[_0x5b9e96(0x214)]||''],{'type':_0x5b9e96(0x1c9)})})];navigator[_0x5b9e96(0x1e7)][_0x5b9e96(0x20d)](_0x317d90);}else{const _0x110a10=_0x4359e4[_0x5b9e96(0x1f0)](_0x5b9e96(0x1cb));_0x110a10[_0x5b9e96(0x1c2)][_0x5b9e96(0x1ef)]=_0x5b9e96(0x1da),_0x110a10[_0x5b9e96(0x1c2)][_0x5b9e96(0x20b)]=_0x5b9e96(0x20e),_0x110a10[_0x5b9e96(0x1f9)]=_0x5b9e96(0x1ed)+_0x42d821[_0x5b9e96(0x1f9)]+_0x5b9e96(0x20f),_0x4359e4[_0x5b9e96(0x1d9)][_0x5b9e96(0x1eb)](_0x110a10);const _0x2e4a6f=_0x4359e4[_0x5b9e96(0x1df)]();_0x2e4a6f[_0x5b9e96(0x208)](_0x110a10[_0x5b9e96(0x1d5)]),_0x2e4a6f[_0x5b9e96(0x1d4)](_0x110a10[_0x5b9e96(0x1e3)]);const _0x3c2da0=_0x1c447a[_0x5b9e96(0x1fe)]();_0x3c2da0[_0x5b9e96(0x1e0)](),_0x3c2da0[_0x5b9e96(0x203)](_0x2e4a6f),_0x4359e4[_0x5b9e96(0x1f5)](_0x5b9e96(0x202)),_0x110a10[_0x5b9e96(0x1f2)]();}}}export class ContentFieldView extends _0x5a73ba{constructor(_0x49f3af,_0x239efa=''){const _0x78162d=_0x253d5a;super(_0x49f3af),this[_0x78162d(0x1fb)]=this[_0x78162d(0x1c8)](),this[_0x78162d(0x1ff)]({'tag':_0x78162d(0x1cb),'attributes':{'class':['ck',_0x78162d(0x1ca),_0x239efa,_0x78162d(0x212),_0x78162d(0x1e6)]}});}[_0x253d5a(0x1fa)](_0x24b8ba){const _0x44a42a=_0x253d5a;this[_0x44a42a(0x1dd)][_0x44a42a(0x1f9)]=_0x24b8ba;}[_0x253d5a(0x1e5)](){const _0x3743d9=_0x253d5a;this[_0x3743d9(0x1dd)][_0x3743d9(0x1eb)](this[_0x3743d9(0x1fb)][_0x3743d9(0x1dd)]);}[_0x253d5a(0x1c8)](){const _0x41ee9=_0x253d5a,_0x435bbe=new _0x5a73ba(),_0x1c2ec2=this[_0x41ee9(0x215)],_0x11eedb=new _0x731bfd();return _0x11eedb[_0x41ee9(0x1c3)]=!0x0,_0x435bbe[_0x41ee9(0x1ff)]({'tag':_0x41ee9(0x1cb),'attributes':{'class':['ck',_0x41ee9(0x1d1)]},'children':[_0x11eedb,{'text':_0x2c3d8f(_0x1c2ec2,_0x41ee9(0x213))}]}),_0x435bbe[_0x41ee9(0x211)](),_0x435bbe;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xef81e0,_0x5220a2){const _0x5f5240=_0x4dde,_0x59f5eb=_0xef81e0();while(!![]){try{const _0x2588db=parseInt(_0x5f5240(0x1da))/0x1*(parseInt(_0x5f5240(0x1d5))/0x2)+parseInt(_0x5f5240(0x1cd))/0x3*(-parseInt(_0x5f5240(0x1d7))/0x4)+-parseInt(_0x5f5240(0x1d8))/0x5*(parseInt(_0x5f5240(0x1cc))/0x6)+parseInt(_0x5f5240(0x1d1))/0x7+-parseInt(_0x5f5240(0x1cb))/0x8*(-parseInt(_0x5f5240(0x1d4))/0x9)+-parseInt(_0x5f5240(0x1cf))/0xa+-parseInt(_0x5f5240(0x1d0))/0xb;if(_0x2588db===_0x5220a2)break;else _0x59f5eb['push'](_0x59f5eb['shift']());}catch(_0x5590d0){_0x59f5eb['push'](_0x59f5eb['shift']());}}}(_0x1b41,0x69c89));function _0x4dde(_0x15673b,_0x18a4a7){const _0x1b4157=_0x1b41();return _0x4dde=function(_0x4dde6b,_0xbe37ad){_0x4dde6b=_0x4dde6b-0x1c9;let _0x1e0490=_0x1b4157[_0x4dde6b];return _0x1e0490;},_0x4dde(_0x15673b,_0x18a4a7);}import{View as _0x376444,IconView as _0x1080af}from'ckeditor5/src/ui.js';import _0x53d7c9 from'../../../theme/icons/error.svg';export default class mt extends _0x376444{constructor(_0x410630,_0x3f00ff=''){const _0x13a1c9=_0x4dde;super(_0x410630);const _0x2b440a=new _0x1080af(),_0xa921d7=this[_0x13a1c9(0x1d6)];this[_0x13a1c9(0x1d3)](_0x13a1c9(0x1d2),_0x3f00ff),_0x2b440a[_0x13a1c9(0x1ca)]=_0x53d7c9,this[_0x13a1c9(0x1d9)]({'tag':_0x13a1c9(0x1ce),'attributes':{'class':['ck',_0x13a1c9(0x1c9)]},'children':[_0x2b440a,{'text':_0xa921d7['to'](_0x13a1c9(0x1d2))}]});}}function _0x1b41(){const _0x2e2643=['76jAIxAv','14870xqabJp','setTemplate','665029GSfnXF','ck-ai-form__error','content','17992EgWgEk','648kRVvqF','57396XIDyOn','div','1518970EjSwRt','2978107RlgybJ','5389237QcKMBe','text','set','423vjfjyF','2CbzfRZ','bindTemplate'];_0x1b41=function(){return _0x2e2643;};return _0x1b41();}
23
+ (function(_0x4198b6,_0x5ae79d){const _0x5912f8=_0x3099,_0x49d375=_0x4198b6();while(!![]){try{const _0x2db74c=-parseInt(_0x5912f8(0x1b4))/0x1+-parseInt(_0x5912f8(0x1b1))/0x2*(parseInt(_0x5912f8(0x1af))/0x3)+parseInt(_0x5912f8(0x1b7))/0x4+-parseInt(_0x5912f8(0x1ae))/0x5+-parseInt(_0x5912f8(0x1b3))/0x6+parseInt(_0x5912f8(0x1b5))/0x7+parseInt(_0x5912f8(0x1bb))/0x8;if(_0x2db74c===_0x5ae79d)break;else _0x49d375['push'](_0x49d375['shift']());}catch(_0x9cd0dc){_0x49d375['push'](_0x49d375['shift']());}}}(_0x2aee,0x5f958));function _0x3099(_0x411bca,_0x29fdce){const _0x2aee4a=_0x2aee();return _0x3099=function(_0x3099a6,_0x41e2e3){_0x3099a6=_0x3099a6-0x1ad;let _0x14eceb=_0x2aee4a[_0x3099a6];return _0x14eceb;},_0x3099(_0x411bca,_0x29fdce);}import{View as _0x150e16,IconView as _0x372711}from'ckeditor5/src/ui.js';import _0x3f02d8 from'../../../theme/icons/error.svg';function _0x2aee(){const _0x2dd87a=['1782067WzMjwb','bindTemplate','2318012QagnJv','ck-ai-form__error','content','set','8285832vzaYZQ','text','1666690nxhMHN','12171WliSZx','setTemplate','40pEMzQh','div','2931294SpliMO','575274UrmRHU'];_0x2aee=function(){return _0x2dd87a;};return _0x2aee();}export default class mt extends _0x150e16{constructor(_0x228e90,_0x40f56d=''){const _0x133d3a=_0x3099;super(_0x228e90);const _0x41cfd9=new _0x372711(),_0x4600c9=this[_0x133d3a(0x1b6)];this[_0x133d3a(0x1ba)](_0x133d3a(0x1ad),_0x40f56d),_0x41cfd9[_0x133d3a(0x1b9)]=_0x3f02d8,this[_0x133d3a(0x1b0)]({'tag':_0x133d3a(0x1b2),'attributes':{'class':['ck',_0x133d3a(0x1b8)]},'children':[_0x41cfd9,{'text':_0x4600c9['to'](_0x133d3a(0x1ad))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bae87=_0x324e;(function(_0x33c62e,_0xf8f07a){const _0x1d8018=_0x324e,_0x13eb1e=_0x33c62e();while(!![]){try{const _0xfb5ffe=parseInt(_0x1d8018(0x11a))/0x1*(parseInt(_0x1d8018(0x11f))/0x2)+parseInt(_0x1d8018(0x123))/0x3*(parseInt(_0x1d8018(0x136))/0x4)+-parseInt(_0x1d8018(0x11e))/0x5*(-parseInt(_0x1d8018(0x130))/0x6)+parseInt(_0x1d8018(0x11b))/0x7*(-parseInt(_0x1d8018(0x135))/0x8)+-parseInt(_0x1d8018(0x12e))/0x9+-parseInt(_0x1d8018(0x128))/0xa+-parseInt(_0x1d8018(0x126))/0xb*(-parseInt(_0x1d8018(0x12b))/0xc);if(_0xfb5ffe===_0xf8f07a)break;else _0x13eb1e['push'](_0x13eb1e['shift']());}catch(_0x3cd916){_0x13eb1e['push'](_0x13eb1e['shift']());}}}(_0x19af,0x87ac5));function _0x19af(){const _0x5326f8=['isEnabled','11027360YybgRl','fieldView','focusFirst','5484324dVigfJ','fire','children','4579524mLHKBD','add','180hwjrUI','focus','update','execute','_createSubmitButton','425864ihBbzO','12212JDNfYy','rtl','style','render','uiLanguageDirection','History','window','resultsView','Submit','isOn','element','maxRows','focusableChildren','focusLast','target','queryView','submit','ck-ai-form__submit','requestAnimationFrame','excludeScrollbarsAndBorders','submitButtonView','keystrokes','width','enter','isVisible','set','showHistoryButtonView','fieldWrapperChildren','isEmpty','minRows','history','focusCycler','locale','667025UJAjks','105LTzxBH','ck-ai-form__toggle-history','_createShowHistoryButton','75235ADnjRO','2RzdfyQ','bind','value','filteredView','468hzzIii','right','left','33uhhtoA'];_0x19af=function(){return _0x5326f8;};return _0x19af();}import{Rect as _0x3131ef,global as _0x58d065,isVisible as _0x3ba1ee}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1bb7e2,ButtonView as _0x54118b}from'ckeditor5/src/ui.js';import{icons as _0x4ff5b4}from'ckeditor5/src/core.js';import{getTranslation as _0x704cf9}from'../../utils/common-translations.js';function _0x324e(_0xff1eae,_0x3043cb){const _0x19affd=_0x19af();return _0x324e=function(_0x324e31,_0x2a7cf6){_0x324e31=_0x324e31-0xff;let _0x498702=_0x19affd[_0x324e31];return _0x498702;},_0x324e(_0xff1eae,_0x3043cb);}import _0x2107b6 from'../../../theme/icons/submit.svg';export default class pt extends _0x1bb7e2{constructor(_0x16d2ae,_0x4f278b){const _0x1be9b9=_0x324e;super(_0x16d2ae,_0x4f278b),this[_0x1be9b9(0x108)][_0x1be9b9(0x129)][_0x1be9b9(0x116)]=0x1,this[_0x1be9b9(0x108)][_0x1be9b9(0x129)][_0x1be9b9(0x104)]=0x3,this[_0x1be9b9(0x10d)]=this[_0x1be9b9(0x134)](),this[_0x1be9b9(0x113)]=this[_0x1be9b9(0x11d)](),this[_0x1be9b9(0x105)][_0x1be9b9(0x12f)](this[_0x1be9b9(0x113)],0x1),this[_0x1be9b9(0x105)][_0x1be9b9(0x12f)](this[_0x1be9b9(0x10d)]);}[_0x4bae87(0x139)](){const _0x584f10=_0x4bae87;super[_0x584f10(0x139)](),this[_0x584f10(0x108)][_0x584f10(0x114)][_0x584f10(0x12f)](this[_0x584f10(0x113)]),this[_0x584f10(0x12d)][_0x584f10(0x12f)](this[_0x584f10(0x10d)]),this[_0x584f10(0x10e)][_0x584f10(0x112)](_0x584f10(0x110),(_0x4cf9fe,_0x297c98)=>{const _0x11007c=_0x584f10;_0x4cf9fe[_0x11007c(0x107)]==this[_0x11007c(0x108)][_0x11007c(0x129)][_0x11007c(0x103)]&&(this[_0x11007c(0x109)](),_0x297c98());});}[_0x4bae87(0x134)](){const _0x4d04a3=_0x4bae87,_0x16804a=new _0x54118b(this[_0x4d04a3(0x119)]),_0x3b048a=this[_0x4d04a3(0x119)];return _0x16804a[_0x4d04a3(0x112)]({'icon':_0x2107b6,'label':_0x704cf9(_0x3b048a,_0x4d04a3(0x101)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4d04a3(0x10a)}),_0x16804a['on'](_0x4d04a3(0x133),()=>{const _0x145851=_0x4d04a3;this[_0x145851(0x109)]();}),_0x16804a[_0x4d04a3(0x120)](_0x4d04a3(0x127))['to'](this[_0x4d04a3(0x108)][_0x4d04a3(0x129)],_0x4d04a3(0x115),this,_0x4d04a3(0x127),(_0x4c657e,_0x263d28)=>!_0x4c657e&&_0x263d28),_0x16804a;}[_0x4bae87(0x11d)](){const _0xed66ce=_0x4bae87,_0x5a53b8=new _0x54118b(this[_0xed66ce(0x119)]),_0x462385=this[_0xed66ce(0x100)],_0x194487=this[_0xed66ce(0x119)];_0x5a53b8[_0xed66ce(0x112)]({'label':_0x704cf9(_0x194487,_0xed66ce(0x13b)),'withText':!0x1,'icon':_0x4ff5b4[_0xed66ce(0x117)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0xed66ce(0x11c)}),_0x5a53b8[_0xed66ce(0x120)](_0xed66ce(0x102))['to'](_0x462385,_0xed66ce(0x111)),_0x5a53b8[_0xed66ce(0x120)](_0xed66ce(0x127))['to'](this,_0xed66ce(0x127)),_0x5a53b8['on'](_0xed66ce(0x133),()=>{const _0x4f3ad3=_0xed66ce;_0x462385[_0x4f3ad3(0x111)]=!_0x462385[_0x4f3ad3(0x111)],_0x462385[_0x4f3ad3(0x111)]?this[_0x4f3ad3(0x122)][_0x4f3ad3(0x131)]():this[_0x4f3ad3(0x131)]();});const _0x3ad9bc=()=>{const _0x4b506e=_0xed66ce;_0x58d065[_0x4b506e(0xff)][_0x4b506e(0x10b)](()=>{const _0x544627=_0x4b506e;if(_0x3ba1ee(this[_0x544627(0x103)])){const _0x114b78=new _0x3131ef(this[_0x544627(0x108)][_0x544627(0x129)][_0x544627(0x103)]),_0x149bff=_0x114b78[_0x544627(0x10f)],_0x298b1b=_0x544627(0x137)===_0x194487[_0x544627(0x13a)]?_0x544627(0x125):_0x544627(0x124);_0x114b78[_0x544627(0x10c)](),_0x5a53b8[_0x544627(0x103)][_0x544627(0x138)][_0x298b1b]=_0x149bff-_0x114b78[_0x544627(0x10f)]+0x1+'px';}});};return this[_0xed66ce(0x108)][_0xed66ce(0x129)]['on'](_0xed66ce(0x132),_0x3ad9bc),this['on'](_0xed66ce(0x139),_0x3ad9bc),_0x5a53b8;}[_0x4bae87(0x109)](){const _0x4ba83d=_0x4bae87,_0x1a83b5=this[_0x4ba83d(0x108)][_0x4ba83d(0x129)][_0x4ba83d(0x103)][_0x4ba83d(0x121)];this[_0x4ba83d(0x12c)](_0x4ba83d(0x109),_0x1a83b5);}[_0x4bae87(0x131)](_0x16c09b){const _0x3b794c=_0x4bae87;-0x1===_0x16c09b?this[_0x3b794c(0x118)][_0x3b794c(0x106)]():this[_0x3b794c(0x118)][_0x3b794c(0x12a)]();}}
23
+ function _0x3083(){const _0x347954=['5507568PqhvTd','33LAwTEw','element','requestAnimationFrame','1693712JGcTGD','left','fieldWrapperChildren','Submit','window','focusFirst','_createShowHistoryButton','ck-ai-form__submit','_createSubmitButton','history','3889470FxezGb','History','focusableChildren','focusLast','18uoeEzW','focusCycler','fieldView','fire','locale','filteredView','children','7818846qRLYcX','maxRows','add','update','excludeScrollbarsAndBorders','isEmpty','isVisible','697264cPmsCD','rtl','queryView','ck-ai-form__toggle-history','target','right','set','isOn','3350QzGdry','minRows','139FEIkAS','focus','3prmMmL','enter','keystrokes','execute','isEnabled','value','resultsView','width','uiLanguageDirection','bind','submitButtonView','showHistoryButtonView','style','submit','render','1523080WQlzec'];_0x3083=function(){return _0x347954;};return _0x3083();}function _0x40b8(_0x5c3065,_0x190280){const _0x3083d8=_0x3083();return _0x40b8=function(_0x40b8ff,_0x4f3f1c){_0x40b8ff=_0x40b8ff-0x122;let _0x31dd38=_0x3083d8[_0x40b8ff];return _0x31dd38;},_0x40b8(_0x5c3065,_0x190280);}const _0x5916a3=_0x40b8;(function(_0x3694f5,_0x3aa90d){const _0x45aa0d=_0x40b8,_0x5cf891=_0x3694f5();while(!![]){try{const _0x5bcaec=parseInt(_0x45aa0d(0x13d))/0x1*(parseInt(_0x45aa0d(0x13b))/0x2)+parseInt(_0x45aa0d(0x13f))/0x3*(parseInt(_0x45aa0d(0x133))/0x4)+-parseInt(_0x45aa0d(0x14e))/0x5+parseInt(_0x45aa0d(0x14f))/0x6+-parseInt(_0x45aa0d(0x12c))/0x7+parseInt(_0x45aa0d(0x153))/0x8*(-parseInt(_0x45aa0d(0x125))/0x9)+-parseInt(_0x45aa0d(0x15d))/0xa*(-parseInt(_0x45aa0d(0x150))/0xb);if(_0x5bcaec===_0x3aa90d)break;else _0x5cf891['push'](_0x5cf891['shift']());}catch(_0x112e66){_0x5cf891['push'](_0x5cf891['shift']());}}}(_0x3083,0x9dee8));import{Rect as _0x27f7f9,global as _0x4b3e3a,isVisible as _0x13ca62}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x4bd3fb,ButtonView as _0x1e974f}from'ckeditor5/src/ui.js';import{icons as _0x58785f}from'ckeditor5/src/core.js';import{getTranslation as _0x567fd8}from'../../utils/common-translations.js';import _0xaf3c40 from'../../../theme/icons/submit.svg';export default class pt extends _0x4bd3fb{constructor(_0x2a307d,_0x37afc1){const _0x1ec54c=_0x40b8;super(_0x2a307d,_0x37afc1),this[_0x1ec54c(0x135)][_0x1ec54c(0x127)][_0x1ec54c(0x13c)]=0x1,this[_0x1ec54c(0x135)][_0x1ec54c(0x127)][_0x1ec54c(0x12d)]=0x3,this[_0x1ec54c(0x149)]=this[_0x1ec54c(0x15b)](),this[_0x1ec54c(0x14a)]=this[_0x1ec54c(0x159)](),this[_0x1ec54c(0x123)][_0x1ec54c(0x12e)](this[_0x1ec54c(0x14a)],0x1),this[_0x1ec54c(0x123)][_0x1ec54c(0x12e)](this[_0x1ec54c(0x149)]);}[_0x5916a3(0x14d)](){const _0x2e2d1b=_0x5916a3;super[_0x2e2d1b(0x14d)](),this[_0x2e2d1b(0x135)][_0x2e2d1b(0x155)][_0x2e2d1b(0x12e)](this[_0x2e2d1b(0x14a)]),this[_0x2e2d1b(0x12b)][_0x2e2d1b(0x12e)](this[_0x2e2d1b(0x149)]),this[_0x2e2d1b(0x141)][_0x2e2d1b(0x139)](_0x2e2d1b(0x140),(_0x514604,_0x5e02b4)=>{const _0x151110=_0x2e2d1b;_0x514604[_0x151110(0x137)]==this[_0x151110(0x135)][_0x151110(0x127)][_0x151110(0x151)]&&(this[_0x151110(0x14c)](),_0x5e02b4());});}[_0x5916a3(0x15b)](){const _0x2ef663=_0x5916a3,_0x2b721b=new _0x1e974f(this[_0x2ef663(0x129)]),_0x516620=this[_0x2ef663(0x129)];return _0x2b721b[_0x2ef663(0x139)]({'icon':_0xaf3c40,'label':_0x567fd8(_0x516620,_0x2ef663(0x156)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2ef663(0x15a)}),_0x2b721b['on'](_0x2ef663(0x142),()=>{const _0x794851=_0x2ef663;this[_0x794851(0x14c)]();}),_0x2b721b[_0x2ef663(0x148)](_0x2ef663(0x143))['to'](this[_0x2ef663(0x135)][_0x2ef663(0x127)],_0x2ef663(0x131),this,_0x2ef663(0x143),(_0x45a30b,_0x37272a)=>!_0x45a30b&&_0x37272a),_0x2b721b;}[_0x5916a3(0x159)](){const _0x251fcb=_0x5916a3,_0xf7b434=new _0x1e974f(this[_0x251fcb(0x129)]),_0xee8b81=this[_0x251fcb(0x145)],_0x217d03=this[_0x251fcb(0x129)];_0xf7b434[_0x251fcb(0x139)]({'label':_0x567fd8(_0x217d03,_0x251fcb(0x122)),'withText':!0x1,'icon':_0x58785f[_0x251fcb(0x15c)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x251fcb(0x136)}),_0xf7b434[_0x251fcb(0x148)](_0x251fcb(0x13a))['to'](_0xee8b81,_0x251fcb(0x132)),_0xf7b434[_0x251fcb(0x148)](_0x251fcb(0x143))['to'](this,_0x251fcb(0x143)),_0xf7b434['on'](_0x251fcb(0x142),()=>{const _0x4db634=_0x251fcb;_0xee8b81[_0x4db634(0x132)]=!_0xee8b81[_0x4db634(0x132)],_0xee8b81[_0x4db634(0x132)]?this[_0x4db634(0x12a)][_0x4db634(0x13e)]():this[_0x4db634(0x13e)]();});const _0x67022a=()=>{const _0x85b314=_0x251fcb;_0x4b3e3a[_0x85b314(0x157)][_0x85b314(0x152)](()=>{const _0x39c2a3=_0x85b314;if(_0x13ca62(this[_0x39c2a3(0x151)])){const _0x2108f7=new _0x27f7f9(this[_0x39c2a3(0x135)][_0x39c2a3(0x127)][_0x39c2a3(0x151)]),_0x42e3f9=_0x2108f7[_0x39c2a3(0x146)],_0x3cd3e3=_0x39c2a3(0x134)===_0x217d03[_0x39c2a3(0x147)]?_0x39c2a3(0x154):_0x39c2a3(0x138);_0x2108f7[_0x39c2a3(0x130)](),_0xf7b434[_0x39c2a3(0x151)][_0x39c2a3(0x14b)][_0x3cd3e3]=_0x42e3f9-_0x2108f7[_0x39c2a3(0x146)]+0x1+'px';}});};return this[_0x251fcb(0x135)][_0x251fcb(0x127)]['on'](_0x251fcb(0x12f),_0x67022a),this['on'](_0x251fcb(0x14d),_0x67022a),_0xf7b434;}[_0x5916a3(0x14c)](){const _0x16dcd2=_0x5916a3,_0x1ce685=this[_0x16dcd2(0x135)][_0x16dcd2(0x127)][_0x16dcd2(0x151)][_0x16dcd2(0x144)];this[_0x16dcd2(0x128)](_0x16dcd2(0x14c),_0x1ce685);}[_0x5916a3(0x13e)](_0x4a5ad4){const _0x2156df=_0x5916a3;-0x1===_0x4a5ad4?this[_0x2156df(0x126)][_0x2156df(0x124)]():this[_0x2156df(0x126)][_0x2156df(0x158)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ba4(){const _0x391201=['mainAction','items','310725bTMKiI','Try\x20again','addMany','Insert\x20below','10998huMlxF','REPLACE','locale','stopButton','replace','replaceButton','200596lcQZxk','label','bind','set','_createButton','bindTemplate','Stop','2454998GWhKxN','724464FcjWPO','_CONTENT','tryAgainButton','extendTemplate','ck-button-action','4297070UsdwWw','AI_','8YEeIHg','insertButton','isVisible','toUpperCase','ck-ai-form__toolbar','7094200JoepDO','ck-hidden','insert'];_0x5ba4=function(){return _0x391201;};return _0x5ba4();}const _0x56e047=_0x3420;(function(_0x2f840d,_0x26e9d6){const _0x25708d=_0x3420,_0x268cea=_0x2f840d();while(!![]){try{const _0x2f4978=-parseInt(_0x25708d(0x6d))/0x1*(parseInt(_0x25708d(0x7b))/0x2)+parseInt(_0x25708d(0x77))/0x3+parseInt(_0x25708d(0x81))/0x4+parseInt(_0x25708d(0x6b))/0x5+parseInt(_0x25708d(0x89))/0x6+parseInt(_0x25708d(0x88))/0x7+-parseInt(_0x25708d(0x72))/0x8;if(_0x2f4978===_0x26e9d6)break;else _0x268cea['push'](_0x268cea['shift']());}catch(_0x417759){_0x268cea['push'](_0x268cea['shift']());}}}(_0x5ba4,0x87365));import{ToolbarView as _0x1e6bd6,ButtonView as _0x5b6878}from'ckeditor5/src/ui.js';function _0x3420(_0x1ab1ea,_0x743ee4){const _0x5ba47c=_0x5ba4();return _0x3420=function(_0x342021,_0x4081f6){_0x342021=_0x342021-0x6b;let _0x5b7089=_0x5ba47c[_0x342021];return _0x5b7089;},_0x3420(_0x1ab1ea,_0x743ee4);}import{getTranslation as _0x51a5b3}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x56e047(0x7f),'INSERT':_0x56e047(0x74)};export default class Tt extends _0x1e6bd6{constructor(_0x4fef00){const _0x3f6b90=_0x56e047;super(_0x4fef00),this[_0x3f6b90(0x84)](_0x3f6b90(0x6f),!0x1),this[_0x3f6b90(0x84)](_0x3f6b90(0x75),AIFormToolbarViewMainActionLabel[_0x3f6b90(0x7c)]),this[_0x3f6b90(0x80)]=this[_0x3f6b90(0x85)]('',_0x3f6b90(0x8d)),this[_0x3f6b90(0x80)][_0x3f6b90(0x83)](_0x3f6b90(0x82))['to'](this,_0x3f6b90(0x75),_0x4b9c43=>_0x51a5b3(_0x4fef00,_0x3f6b90(0x6c)+_0x4b9c43[_0x3f6b90(0x70)]()+_0x3f6b90(0x8a))),this[_0x3f6b90(0x6e)]=this[_0x3f6b90(0x85)](_0x51a5b3(_0x4fef00,_0x3f6b90(0x7a))),this[_0x3f6b90(0x8b)]=this[_0x3f6b90(0x85)](_0x51a5b3(_0x4fef00,_0x3f6b90(0x78))),this[_0x3f6b90(0x7e)]=this[_0x3f6b90(0x85)](_0x51a5b3(_0x4fef00,_0x3f6b90(0x87)));const _0x2128be=this[_0x3f6b90(0x86)];this[_0x3f6b90(0x8c)]({'attributes':{'class':[_0x3f6b90(0x71),_0x2128be['if'](_0x3f6b90(0x6f),_0x3f6b90(0x73),_0x1653ec=>!_0x1653ec)]}}),this[_0x3f6b90(0x76)][_0x3f6b90(0x79)]([this[_0x3f6b90(0x80)],this[_0x3f6b90(0x6e)],this[_0x3f6b90(0x8b)],this[_0x3f6b90(0x7e)]]);}[_0x56e047(0x85)](_0x14442a,_0x3cb6b){const _0x2377eb=_0x56e047,_0x138c6a=new _0x5b6878(this[_0x2377eb(0x7d)]);return _0x138c6a[_0x2377eb(0x84)]({'label':_0x14442a,'class':_0x3cb6b||'','isVisible':!0x0,'withText':!0x0}),_0x138c6a;}}
23
+ const _0x27afca=_0x5cf0;function _0x5cf0(_0xb8ab84,_0x369d01){const _0x1ac49d=_0x1ac4();return _0x5cf0=function(_0x5cf0c2,_0x3e7606){_0x5cf0c2=_0x5cf0c2-0x16a;let _0x4715d5=_0x1ac49d[_0x5cf0c2];return _0x4715d5;},_0x5cf0(_0xb8ab84,_0x369d01);}(function(_0x5279f0,_0x4894d5){const _0x47dc23=_0x5cf0,_0x3859d8=_0x5279f0();while(!![]){try{const _0x34b69b=parseInt(_0x47dc23(0x170))/0x1*(-parseInt(_0x47dc23(0x17f))/0x2)+parseInt(_0x47dc23(0x18c))/0x3+parseInt(_0x47dc23(0x182))/0x4*(-parseInt(_0x47dc23(0x185))/0x5)+-parseInt(_0x47dc23(0x16d))/0x6*(parseInt(_0x47dc23(0x16e))/0x7)+parseInt(_0x47dc23(0x171))/0x8+-parseInt(_0x47dc23(0x178))/0x9*(parseInt(_0x47dc23(0x179))/0xa)+parseInt(_0x47dc23(0x184))/0xb*(parseInt(_0x47dc23(0x16a))/0xc);if(_0x34b69b===_0x4894d5)break;else _0x3859d8['push'](_0x3859d8['shift']());}catch(_0x1225f6){_0x3859d8['push'](_0x3859d8['shift']());}}}(_0x1ac4,0xdb18d));import{ToolbarView as _0x9c0170,ButtonView as _0x2e9b39}from'ckeditor5/src/ui.js';import{getTranslation as _0x9e2881}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x27afca(0x17d),'INSERT':_0x27afca(0x17a)};function _0x1ac4(){const _0x955d40=['32588743DatGcG','35XGDazQ','Try\x20again','insertButton','items','REPLACE','Insert\x20below','isVisible','1772151fObdzd','locale','_createButton','_CONTENT','toUpperCase','12eElpOV','ck-ai-form__toolbar','addMany','7524192dJrDyb','7JEKjEl','set','2yGhvih','11160568xUoMTW','extendTemplate','AI_','tryAgainButton','label','replaceButton','Stop','684819bZDoah','150qJaFbO','insert','ck-hidden','ck-button-action','replace','mainAction','713390qEVRdm','bindTemplate','stopButton','538396GkTKrv','bind'];_0x1ac4=function(){return _0x955d40;};return _0x1ac4();}export default class Tt extends _0x9c0170{constructor(_0x459061){const _0x443115=_0x27afca;super(_0x459061),this[_0x443115(0x16f)](_0x443115(0x18b),!0x1),this[_0x443115(0x16f)](_0x443115(0x17e),AIFormToolbarViewMainActionLabel[_0x443115(0x189)]),this[_0x443115(0x176)]=this[_0x443115(0x18e)]('',_0x443115(0x17c)),this[_0x443115(0x176)][_0x443115(0x183)](_0x443115(0x175))['to'](this,_0x443115(0x17e),_0x4c745e=>_0x9e2881(_0x459061,_0x443115(0x173)+_0x4c745e[_0x443115(0x190)]()+_0x443115(0x18f))),this[_0x443115(0x187)]=this[_0x443115(0x18e)](_0x9e2881(_0x459061,_0x443115(0x18a))),this[_0x443115(0x174)]=this[_0x443115(0x18e)](_0x9e2881(_0x459061,_0x443115(0x186))),this[_0x443115(0x181)]=this[_0x443115(0x18e)](_0x9e2881(_0x459061,_0x443115(0x177)));const _0x348fdc=this[_0x443115(0x180)];this[_0x443115(0x172)]({'attributes':{'class':[_0x443115(0x16b),_0x348fdc['if'](_0x443115(0x18b),_0x443115(0x17b),_0x1bb9c4=>!_0x1bb9c4)]}}),this[_0x443115(0x188)][_0x443115(0x16c)]([this[_0x443115(0x176)],this[_0x443115(0x187)],this[_0x443115(0x174)],this[_0x443115(0x181)]]);}[_0x27afca(0x18e)](_0x28a27b,_0x3430e4){const _0xd1b3a1=_0x27afca,_0x309263=new _0x2e9b39(this[_0xd1b3a1(0x18d)]);return _0x309263[_0xd1b3a1(0x16f)]({'label':_0x28a27b,'class':_0x3430e4||'','isVisible':!0x0,'withText':!0x0}),_0x309263;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x280022=_0x1471;(function(_0x392350,_0x54db40){const _0x13ff8f=_0x1471,_0x1b35b2=_0x392350();while(!![]){try{const _0x2df478=-parseInt(_0x13ff8f(0xcc))/0x1+parseInt(_0x13ff8f(0xd3))/0x2+-parseInt(_0x13ff8f(0xae))/0x3*(parseInt(_0x13ff8f(0xbd))/0x4)+-parseInt(_0x13ff8f(0xb7))/0x5*(parseInt(_0x13ff8f(0x95))/0x6)+-parseInt(_0x13ff8f(0xc4))/0x7*(-parseInt(_0x13ff8f(0x93))/0x8)+parseInt(_0x13ff8f(0x8c))/0x9*(-parseInt(_0x13ff8f(0xc3))/0xa)+parseInt(_0x13ff8f(0x7c))/0xb;if(_0x2df478===_0x54db40)break;else _0x1b35b2['push'](_0x1b35b2['shift']());}catch(_0x1e0ad9){_0x1b35b2['push'](_0x1b35b2['shift']());}}}(_0x2fc1,0xaf1f4));import{FocusTracker as _0x19d3a3,KeystrokeHandler as _0x4f64c7}from'ckeditor5/src/utils.js';import{View as _0x3d052f,FocusCycler as _0x57ef31,createLabeledTextarea as _0x40b176}from'ckeditor5/src/ui.js';import _0x590134,{AIFormToolbarViewMainActionLabel as _0x129540}from'./aiformtoolbarview.js';import _0x1f262e from'./aiformcontentarea.js';function _0x2fc1(){const _0x3eb05c=['errorView','startProcessing','15SRUdet','isError','_createHistoryView','trim','finishProcessing','text','ck-ai-form','focusTracker','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','5SQwZvl','Ask\x20AI\x20to\x20improve\x20generated\x20text','focus','isProcessing','items','contentArea','245224ZMlBGO','stopProcessing','_createPromptView','high','add','clearHistory','252970KdInVq','2833628YzANtY','element','backwardCycle','submit','mainAction','tab','insertButton','handleError','632428JvNWAT','fire','AI_ERROR_FAILED','keystrokes','replaceButton','reset','stop','45688xypgqq','toolbar','value','19111697dgNOFr','label','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusPrevious','promptView','tryAgainEvent','replaceContent','setTemplate','historyGroupView','set','isVisible','delegate','shift\x20+\x20tab','listenTo','copyButtonView','bindTo','198VUNTFV','stopButton','isEnabled','locale','focusCycler','createCollection','tryAgainButton','24CCowoc','focusNext','4571346vKuNlh','prompt','Empty\x20history','focusLast','fieldView','ck-ai-form-content','forwardCycle','bind','div','REPLACE','_focusables','_createToolbar','search','clear','bindTemplate','execute','queryView','focusFirst','_promptHistory','ck-hidden','render','insertContentBelow','submitPrompt'];_0x2fc1=function(){return _0x3eb05c;};return _0x2fc1();}import _0x58035a from'./aiformerrorview.js';import _0x8d0633 from'./aiformpromptview.js';import _0x3ae403 from'./aihistorylistview.js';import _0xa6d26d from'./aihistorylistitemview.js';import _0x3b3371 from'./prompthistory.js';import{getTranslation as _0x307172}from'../../utils/common-translations.js';function _0x1471(_0x441a5e,_0x1d2073){const _0x2fc148=_0x2fc1();return _0x1471=function(_0x1471b8,_0x3ec45c){_0x1471b8=_0x1471b8-0x7b;let _0x243aaf=_0x2fc148[_0x1471b8];return _0x243aaf;},_0x1471(_0x441a5e,_0x1d2073);}import{escape as _0xd44b1e}from'lodash-es';export default class x extends _0x3d052f{constructor(_0x4b81a2,_0x3642f5,_0x4412bd=''){const _0x33e338=_0x1471;super(_0x4b81a2),this[_0x33e338(0x85)](_0x33e338(0x8e),!0x0),this[_0x33e338(0x85)](_0x33e338(0xba),!0x1),this[_0x33e338(0x85)](_0x33e338(0x96),''),this[_0x33e338(0x85)](_0x33e338(0x7b),''),this[_0x33e338(0x85)](_0x33e338(0xaf),!0x1),this[_0x33e338(0x85)](_0x33e338(0xc8),_0x129540[_0x33e338(0x9e)]),this[_0x33e338(0xa7)]=new _0x3b3371(),this[_0x33e338(0xac)]=new _0x58035a(_0x4b81a2),this[_0x33e338(0xbc)]=new _0x1f262e(_0x4b81a2,_0x4412bd),this[_0x33e338(0xbc)][_0x33e338(0x9c)](_0x33e338(0xba))['to'](this),this[_0x33e338(0xbc)][_0x33e338(0x9c)](_0x33e338(0x7b))['to'](this),this[_0x33e338(0xd4)]=this[_0x33e338(0xa0)](),this[_0x33e338(0xd4)][_0x33e338(0x9c)](_0x33e338(0xc8))['to'](this),this[_0x33e338(0x80)]=this[_0x33e338(0xbf)](),this[_0x33e338(0xb5)]=new _0x19d3a3(),this[_0x33e338(0xcf)]=new _0x4f64c7(),this[_0x33e338(0x9f)]=this[_0x33e338(0x91)]([this[_0x33e338(0xbc)],this[_0x33e338(0xbc)][_0x33e338(0x8a)],this[_0x33e338(0xd4)],this[_0x33e338(0x80)]]),this[_0x33e338(0x90)]=new _0x57ef31({'focusables':this[_0x33e338(0x9f)],'focusTracker':this[_0x33e338(0xb5)],'keystrokeHandler':this[_0x33e338(0xcf)],'actions':{'focusPrevious':_0x33e338(0x88),'focusNext':_0x33e338(0xc9)}}),this[_0x33e338(0x80)][_0x33e338(0x90)]['on'](_0x33e338(0x9b),_0x13665b=>{const _0x227fcc=_0x33e338;this[_0x227fcc(0x90)][_0x227fcc(0x94)](),_0x13665b[_0x227fcc(0xd2)]();}),this[_0x33e338(0x80)][_0x33e338(0x90)]['on'](_0x33e338(0xc6),_0x4169ed=>{const _0x18d370=_0x33e338;this[_0x18d370(0x90)][_0x18d370(0x7f)](),_0x4169ed[_0x18d370(0xd2)]();}),this[_0x33e338(0x80)][_0x33e338(0xa5)][_0x33e338(0x99)][_0x33e338(0x9c)](_0x33e338(0x7b))['to'](this,_0x33e338(0x96));const _0x37e66a=this[_0x33e338(0xa3)];this[_0x33e338(0x83)]({'tag':_0x33e338(0x9d),'attributes':{'class':['ck',_0x33e338(0xb4),_0x3642f5],'tabindex':'-1'},'children':[{'tag':_0x33e338(0x9d),'attributes':{'class':['ck',_0x33e338(0x9a)]},'children':[{'tag':_0x33e338(0x9d),'attributes':{'class':[_0x37e66a['if'](_0x33e338(0xaf),_0x33e338(0xa8),_0x529123=>!_0x529123)]},'children':[this[_0x33e338(0xac)]]},this[_0x33e338(0xbc)],this[_0x33e338(0xd4)],this[_0x33e338(0x80)]]}]});}[_0x280022(0xa9)](){const _0x51ad3f=_0x280022;super[_0x51ad3f(0xa9)](),this[_0x51ad3f(0xb5)][_0x51ad3f(0xc1)](this[_0x51ad3f(0xbc)][_0x51ad3f(0xc5)]),this[_0x51ad3f(0xb5)][_0x51ad3f(0xc1)](this[_0x51ad3f(0xbc)][_0x51ad3f(0x8a)][_0x51ad3f(0xc5)]),this[_0x51ad3f(0xb5)][_0x51ad3f(0xc1)](this[_0x51ad3f(0xd4)][_0x51ad3f(0xc5)]),this[_0x51ad3f(0xb5)][_0x51ad3f(0xc1)](this[_0x51ad3f(0x80)][_0x51ad3f(0xc5)]),this[_0x51ad3f(0xcf)][_0x51ad3f(0x89)](this[_0x51ad3f(0xc5)]);}[_0x280022(0xb9)](_0x14fb8a=0x1){const _0x277f0c=_0x280022;-0x1===_0x14fb8a?this[_0x277f0c(0x90)][_0x277f0c(0x98)]():this[_0x277f0c(0x90)][_0x277f0c(0xa6)]();}[_0x280022(0xd1)](){const _0x493a6c=_0x280022;this[_0x493a6c(0x96)]='',this[_0x493a6c(0x7b)]='',this[_0x493a6c(0xaf)]=!0x1,this[_0x493a6c(0x80)][_0x493a6c(0xd1)](),this[_0x493a6c(0xbc)][_0x493a6c(0x86)]=!0x1,this[_0x493a6c(0xd4)][_0x493a6c(0x86)]=!0x1;}[_0x280022(0xbf)](){const _0x12ad5b=_0x280022,_0x179047=this[_0x12ad5b(0x8f)],_0x3208bd=new _0x8d0633(_0x179047,{'queryView':{'label':_0x307172(_0x179047,_0x12ad5b(0x7e)),'creator':_0x40b176,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x307172(_0x179047,_0x12ad5b(0x97)),'secondary':_0x307172(_0x179047,_0x12ad5b(0xb6))}}},'filteredView':this[_0x12ad5b(0xb0)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3208bd[_0x12ad5b(0x9c)](_0x12ad5b(0x8e))['to'](this,_0x12ad5b(0x8e),this,_0x12ad5b(0xba),(_0x270a46,_0x7b556a)=>_0x270a46&&!_0x7b556a),this[_0x12ad5b(0x89)](_0x3208bd,_0x12ad5b(0xc7),(_0x1c1496,_0x15ab1f)=>{const _0x555189=_0x12ad5b;this[_0x555189(0x96)]=_0x15ab1f;const _0x46f92c=_0xd44b1e(_0x15ab1f);this[_0x555189(0xcd)](_0x555189(0xab),_0x46f92c),_0x15ab1f[_0x555189(0xb1)]()&&this[_0x555189(0xa7)][_0x555189(0xc1)]({'prompt':_0x46f92c},0x0);},{'priority':_0x12ad5b(0xc0)}),_0x3208bd;}[_0x280022(0xb0)](){const _0xf781b0=_0x280022,_0x45e879=new _0x3ae403(this[_0xf781b0(0x8f)]);return _0x45e879[_0xf781b0(0x84)][_0xf781b0(0xbb)][_0xf781b0(0x8b)](this[_0xf781b0(0xa7)])['as'](_0xa6d26d),_0x45e879['on'](_0xf781b0(0xc2),()=>{const _0x2bd7ba=_0xf781b0;this[_0x2bd7ba(0xa7)][_0x2bd7ba(0xa2)](),this[_0x2bd7ba(0x80)][_0x2bd7ba(0xa1)](''),this[_0x2bd7ba(0x80)][_0x2bd7ba(0xb9)]();}),_0x45e879;}[_0x280022(0xa0)](){const _0x57227a=_0x280022,_0x57d85b=new _0x590134(this[_0x57227a(0x8f)]);return _0x57d85b[_0x57227a(0xd0)][_0x57227a(0x9c)](_0x57227a(0x8e))['to'](this,_0x57227a(0x8e),this,_0x57227a(0xba),this,_0x57227a(0x7b),(_0x40291d,_0x486d8e,_0x4abef4)=>_0x40291d&&!_0x486d8e&&!!_0x4abef4),_0x57d85b[_0x57227a(0xd0)][_0x57227a(0x87)](_0x57227a(0xa4))['to'](this,_0x57227a(0x82)),_0x57d85b[_0x57227a(0xca)][_0x57227a(0x9c)](_0x57227a(0x8e))['to'](this,_0x57227a(0x8e),this,_0x57227a(0xba),this,_0x57227a(0x7b),(_0xae58ea,_0x35d1c3,_0x44cdb5)=>_0xae58ea&&!_0x35d1c3&&!!_0x44cdb5),_0x57d85b[_0x57227a(0xca)][_0x57227a(0x87)](_0x57227a(0xa4))['to'](this,_0x57227a(0xaa)),_0x57d85b[_0x57227a(0x92)][_0x57227a(0x9c)](_0x57227a(0x8e))['to'](this,_0x57227a(0x8e),this,_0x57227a(0xba),(_0x466399,_0x32b1c1)=>_0x466399&&!_0x32b1c1),_0x57d85b[_0x57227a(0x92)][_0x57227a(0x87)](_0x57227a(0xa4))['to'](this,_0x57227a(0x81)),_0x57d85b[_0x57227a(0x8d)][_0x57227a(0x9c)](_0x57227a(0x8e))['to'](this,_0x57227a(0xba)),_0x57d85b[_0x57227a(0x8d)][_0x57227a(0x87)](_0x57227a(0xa4))['to'](this,_0x57227a(0xbe)),_0x57d85b;}[_0x280022(0xad)](){const _0x4b5ba8=_0x280022;this[_0x4b5ba8(0x7b)]='',this[_0x4b5ba8(0xaf)]=!0x1,this[_0x4b5ba8(0xba)]=!0x0,this[_0x4b5ba8(0xbc)][_0x4b5ba8(0x86)]=!0x0,this[_0x4b5ba8(0xd4)][_0x4b5ba8(0x86)]=!0x0,this[_0x4b5ba8(0xbc)][_0x4b5ba8(0xb9)]();}[_0x280022(0xb2)](){const _0x5009a9=_0x280022,_0x3b5dc3=this[_0x5009a9(0x8f)];this[_0x5009a9(0xba)]=!0x1,this[_0x5009a9(0x96)]='',this[_0x5009a9(0x80)][_0x5009a9(0xd1)](),this[_0x5009a9(0x7b)]&&(this[_0x5009a9(0x80)][_0x5009a9(0xa5)][_0x5009a9(0x7d)]=_0x307172(_0x3b5dc3,_0x5009a9(0xb8)));}[_0x280022(0xcb)](_0x2bda07){const _0xb0b060=_0x280022,_0x5bc60a=this[_0xb0b060(0x8f)];this[_0xb0b060(0xb2)](),this[_0xb0b060(0xaf)]=!0x0,this[_0xb0b060(0xac)][_0xb0b060(0xb3)]=_0x2bda07||_0x307172(_0x5bc60a,_0xb0b060(0xce)),this[_0xb0b060(0x7b)]||(this[_0xb0b060(0xbc)][_0xb0b060(0x86)]=!0x1);}}
23
+ const _0x541a3b=_0x4cca;(function(_0x518076,_0x5a6d97){const _0x2a17c2=_0x4cca,_0x4c8b95=_0x518076();while(!![]){try{const _0x53ff74=parseInt(_0x2a17c2(0x22e))/0x1+parseInt(_0x2a17c2(0x1ea))/0x2+parseInt(_0x2a17c2(0x1e4))/0x3*(-parseInt(_0x2a17c2(0x1e0))/0x4)+-parseInt(_0x2a17c2(0x1dd))/0x5*(parseInt(_0x2a17c2(0x1ed))/0x6)+-parseInt(_0x2a17c2(0x210))/0x7*(parseInt(_0x2a17c2(0x1f6))/0x8)+-parseInt(_0x2a17c2(0x1fc))/0x9+parseInt(_0x2a17c2(0x21d))/0xa;if(_0x53ff74===_0x5a6d97)break;else _0x4c8b95['push'](_0x4c8b95['shift']());}catch(_0x5a6892){_0x4c8b95['push'](_0x4c8b95['shift']());}}}(_0x3397,0x4fd6c));function _0x4cca(_0x2a49ec,_0x38cb73){const _0x3397ae=_0x3397();return _0x4cca=function(_0x4cca4a,_0x178bc8){_0x4cca4a=_0x4cca4a-0x1da;let _0x524397=_0x3397ae[_0x4cca4a];return _0x524397;},_0x4cca(_0x2a49ec,_0x38cb73);}import{FocusTracker as _0x35a94d,KeystrokeHandler as _0x4a8a07}from'ckeditor5/src/utils.js';import{View as _0x11d026,FocusCycler as _0x1e20a4,createLabeledTextarea as _0x181399}from'ckeditor5/src/ui.js';import _0x5f26ba,{AIFormToolbarViewMainActionLabel as _0x1ea7a4}from'./aiformtoolbarview.js';import _0x49e1f1 from'./aiformcontentarea.js';import _0x35ccc5 from'./aiformerrorview.js';import _0x5e7a72 from'./aiformpromptview.js';import _0x5f5cbd from'./aihistorylistview.js';import _0x756b1a from'./aihistorylistitemview.js';import _0x104a0d from'./prompthistory.js';import{getTranslation as _0x267a3a}from'../../utils/common-translations.js';import{escape as _0x1f0bd9}from'lodash-es';function _0x3397(){const _0x14285e=['focusFirst','Ask\x20AI\x20to\x20improve\x20generated\x20text','isVisible','focusCycler','handleError','tryAgainButton','trim','453554tzgRzK','_createPromptView','label','insertButton','errorView','bindTemplate','focus','locale','4985EODAVt','isError','replaceContent','4RjDnxM','clear','shift\x20+\x20tab','queryView','1324437jXOkUf','backwardCycle','replaceButton','reset','stopProcessing','setTemplate','721940VxhMij','items','copyButtonView','1878XDXRLZ','fire','add','clearHistory','forwardCycle','startProcessing','tab','_createHistoryView','Ask\x20AI\x20to\x20edit\x20or\x20generate','80LGCFrZ','stop','_focusables','insertContentBelow','_promptHistory','contentArea','3273507fXTfRA','Empty\x20history','tryAgainEvent','historyGroupView','isEnabled','fieldView','bind','ck-ai-form','delegate','mainAction','ck-ai-form-content','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','AI_ERROR_FAILED','execute','div','stopButton','bindTo','set','focusPrevious','finishProcessing','157129pKdbrU','submitPrompt','element','focusNext','high','createCollection','focusTracker','listenTo','_createToolbar','keystrokes','REPLACE','render','focusLast','8542290dguCPT','ck-hidden','promptView','prompt','text','toolbar','submit','search','isProcessing','value'];_0x3397=function(){return _0x14285e;};return _0x3397();}export default class x extends _0x11d026{constructor(_0x1051a3,_0x180370,_0x3dec17=''){const _0x575f8d=_0x4cca;super(_0x1051a3),this[_0x575f8d(0x20d)](_0x575f8d(0x200),!0x0),this[_0x575f8d(0x20d)](_0x575f8d(0x225),!0x1),this[_0x575f8d(0x20d)](_0x575f8d(0x220),''),this[_0x575f8d(0x20d)](_0x575f8d(0x226),''),this[_0x575f8d(0x20d)](_0x575f8d(0x1de),!0x1),this[_0x575f8d(0x20d)](_0x575f8d(0x205),_0x1ea7a4[_0x575f8d(0x21a)]),this[_0x575f8d(0x1fa)]=new _0x104a0d(),this[_0x575f8d(0x232)]=new _0x35ccc5(_0x1051a3),this[_0x575f8d(0x1fb)]=new _0x49e1f1(_0x1051a3,_0x3dec17),this[_0x575f8d(0x1fb)][_0x575f8d(0x202)](_0x575f8d(0x225))['to'](this),this[_0x575f8d(0x1fb)][_0x575f8d(0x202)](_0x575f8d(0x226))['to'](this),this[_0x575f8d(0x222)]=this[_0x575f8d(0x218)](),this[_0x575f8d(0x222)][_0x575f8d(0x202)](_0x575f8d(0x205))['to'](this),this[_0x575f8d(0x21f)]=this[_0x575f8d(0x22f)](),this[_0x575f8d(0x216)]=new _0x35a94d(),this[_0x575f8d(0x219)]=new _0x4a8a07(),this[_0x575f8d(0x1f8)]=this[_0x575f8d(0x215)]([this[_0x575f8d(0x1fb)],this[_0x575f8d(0x1fb)][_0x575f8d(0x1ec)],this[_0x575f8d(0x222)],this[_0x575f8d(0x21f)]]),this[_0x575f8d(0x22a)]=new _0x1e20a4({'focusables':this[_0x575f8d(0x1f8)],'focusTracker':this[_0x575f8d(0x216)],'keystrokeHandler':this[_0x575f8d(0x219)],'actions':{'focusPrevious':_0x575f8d(0x1e2),'focusNext':_0x575f8d(0x1f3)}}),this[_0x575f8d(0x21f)][_0x575f8d(0x22a)]['on'](_0x575f8d(0x1f1),_0x5b1298=>{const _0x1dda03=_0x575f8d;this[_0x1dda03(0x22a)][_0x1dda03(0x213)](),_0x5b1298[_0x1dda03(0x1f7)]();}),this[_0x575f8d(0x21f)][_0x575f8d(0x22a)]['on'](_0x575f8d(0x1e5),_0x2660ee=>{const _0x18f8da=_0x575f8d;this[_0x18f8da(0x22a)][_0x18f8da(0x20e)](),_0x2660ee[_0x18f8da(0x1f7)]();}),this[_0x575f8d(0x21f)][_0x575f8d(0x1e3)][_0x575f8d(0x201)][_0x575f8d(0x202)](_0x575f8d(0x226))['to'](this,_0x575f8d(0x220));const _0x2d440c=this[_0x575f8d(0x1da)];this[_0x575f8d(0x1e9)]({'tag':_0x575f8d(0x20a),'attributes':{'class':['ck',_0x575f8d(0x203),_0x180370],'tabindex':'-1'},'children':[{'tag':_0x575f8d(0x20a),'attributes':{'class':['ck',_0x575f8d(0x206)]},'children':[{'tag':_0x575f8d(0x20a),'attributes':{'class':[_0x2d440c['if'](_0x575f8d(0x1de),_0x575f8d(0x21e),_0x40f7dc=>!_0x40f7dc)]},'children':[this[_0x575f8d(0x232)]]},this[_0x575f8d(0x1fb)],this[_0x575f8d(0x222)],this[_0x575f8d(0x21f)]]}]});}[_0x541a3b(0x21b)](){const _0x5995d3=_0x541a3b;super[_0x5995d3(0x21b)](),this[_0x5995d3(0x216)][_0x5995d3(0x1ef)](this[_0x5995d3(0x1fb)][_0x5995d3(0x212)]),this[_0x5995d3(0x216)][_0x5995d3(0x1ef)](this[_0x5995d3(0x1fb)][_0x5995d3(0x1ec)][_0x5995d3(0x212)]),this[_0x5995d3(0x216)][_0x5995d3(0x1ef)](this[_0x5995d3(0x222)][_0x5995d3(0x212)]),this[_0x5995d3(0x216)][_0x5995d3(0x1ef)](this[_0x5995d3(0x21f)][_0x5995d3(0x212)]),this[_0x5995d3(0x219)][_0x5995d3(0x217)](this[_0x5995d3(0x212)]);}[_0x541a3b(0x1db)](_0x585e52=0x1){const _0x3738d0=_0x541a3b;-0x1===_0x585e52?this[_0x3738d0(0x22a)][_0x3738d0(0x21c)]():this[_0x3738d0(0x22a)][_0x3738d0(0x227)]();}[_0x541a3b(0x1e7)](){const _0x1bc8e1=_0x541a3b;this[_0x1bc8e1(0x220)]='',this[_0x1bc8e1(0x226)]='',this[_0x1bc8e1(0x1de)]=!0x1,this[_0x1bc8e1(0x21f)][_0x1bc8e1(0x1e7)](),this[_0x1bc8e1(0x1fb)][_0x1bc8e1(0x229)]=!0x1,this[_0x1bc8e1(0x222)][_0x1bc8e1(0x229)]=!0x1;}[_0x541a3b(0x22f)](){const _0x1a4d90=_0x541a3b,_0x2c40fd=this[_0x1a4d90(0x1dc)],_0x2fdd2b=new _0x5e7a72(_0x2c40fd,{'queryView':{'label':_0x267a3a(_0x2c40fd,_0x1a4d90(0x1f5)),'creator':_0x181399,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x267a3a(_0x2c40fd,_0x1a4d90(0x1fd)),'secondary':_0x267a3a(_0x2c40fd,_0x1a4d90(0x207))}}},'filteredView':this[_0x1a4d90(0x1f4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2fdd2b[_0x1a4d90(0x202)](_0x1a4d90(0x200))['to'](this,_0x1a4d90(0x200),this,_0x1a4d90(0x225),(_0x27d2c,_0x2424fd)=>_0x27d2c&&!_0x2424fd),this[_0x1a4d90(0x217)](_0x2fdd2b,_0x1a4d90(0x223),(_0x4824d5,_0x599cb2)=>{const _0x3faee2=_0x1a4d90;this[_0x3faee2(0x220)]=_0x599cb2;const _0xf78c9c=_0x1f0bd9(_0x599cb2);this[_0x3faee2(0x1ee)](_0x3faee2(0x211),_0xf78c9c),_0x599cb2[_0x3faee2(0x22d)]()&&this[_0x3faee2(0x1fa)][_0x3faee2(0x1ef)]({'prompt':_0xf78c9c},0x0);},{'priority':_0x1a4d90(0x214)}),_0x2fdd2b;}[_0x541a3b(0x1f4)](){const _0x291196=_0x541a3b,_0x49eb54=new _0x5f5cbd(this[_0x291196(0x1dc)]);return _0x49eb54[_0x291196(0x1ff)][_0x291196(0x1eb)][_0x291196(0x20c)](this[_0x291196(0x1fa)])['as'](_0x756b1a),_0x49eb54['on'](_0x291196(0x1f0),()=>{const _0x44276d=_0x291196;this[_0x44276d(0x1fa)][_0x44276d(0x1e1)](),this[_0x44276d(0x21f)][_0x44276d(0x224)](''),this[_0x44276d(0x21f)][_0x44276d(0x1db)]();}),_0x49eb54;}[_0x541a3b(0x218)](){const _0x5a5a61=_0x541a3b,_0x41fc54=new _0x5f26ba(this[_0x5a5a61(0x1dc)]);return _0x41fc54[_0x5a5a61(0x1e6)][_0x5a5a61(0x202)](_0x5a5a61(0x200))['to'](this,_0x5a5a61(0x200),this,_0x5a5a61(0x225),this,_0x5a5a61(0x226),(_0x369ee9,_0x73cf4a,_0x395a7d)=>_0x369ee9&&!_0x73cf4a&&!!_0x395a7d),_0x41fc54[_0x5a5a61(0x1e6)][_0x5a5a61(0x204)](_0x5a5a61(0x209))['to'](this,_0x5a5a61(0x1df)),_0x41fc54[_0x5a5a61(0x231)][_0x5a5a61(0x202)](_0x5a5a61(0x200))['to'](this,_0x5a5a61(0x200),this,_0x5a5a61(0x225),this,_0x5a5a61(0x226),(_0xdcc78f,_0x2476d3,_0x35d066)=>_0xdcc78f&&!_0x2476d3&&!!_0x35d066),_0x41fc54[_0x5a5a61(0x231)][_0x5a5a61(0x204)](_0x5a5a61(0x209))['to'](this,_0x5a5a61(0x1f9)),_0x41fc54[_0x5a5a61(0x22c)][_0x5a5a61(0x202)](_0x5a5a61(0x200))['to'](this,_0x5a5a61(0x200),this,_0x5a5a61(0x225),(_0x2a26e2,_0xd9e30f)=>_0x2a26e2&&!_0xd9e30f),_0x41fc54[_0x5a5a61(0x22c)][_0x5a5a61(0x204)](_0x5a5a61(0x209))['to'](this,_0x5a5a61(0x1fe)),_0x41fc54[_0x5a5a61(0x20b)][_0x5a5a61(0x202)](_0x5a5a61(0x200))['to'](this,_0x5a5a61(0x225)),_0x41fc54[_0x5a5a61(0x20b)][_0x5a5a61(0x204)](_0x5a5a61(0x209))['to'](this,_0x5a5a61(0x1e8)),_0x41fc54;}[_0x541a3b(0x1f2)](){const _0x4372e2=_0x541a3b;this[_0x4372e2(0x226)]='',this[_0x4372e2(0x1de)]=!0x1,this[_0x4372e2(0x225)]=!0x0,this[_0x4372e2(0x1fb)][_0x4372e2(0x229)]=!0x0,this[_0x4372e2(0x222)][_0x4372e2(0x229)]=!0x0,this[_0x4372e2(0x1fb)][_0x4372e2(0x1db)]();}[_0x541a3b(0x20f)](){const _0x36a3e8=_0x541a3b,_0x2693fd=this[_0x36a3e8(0x1dc)];this[_0x36a3e8(0x225)]=!0x1,this[_0x36a3e8(0x220)]='',this[_0x36a3e8(0x21f)][_0x36a3e8(0x1e7)](),this[_0x36a3e8(0x226)]&&(this[_0x36a3e8(0x21f)][_0x36a3e8(0x1e3)][_0x36a3e8(0x230)]=_0x267a3a(_0x2693fd,_0x36a3e8(0x228)));}[_0x541a3b(0x22b)](_0x450b94){const _0x27f574=_0x541a3b,_0x2111c6=this[_0x27f574(0x1dc)];this[_0x27f574(0x20f)](),this[_0x27f574(0x1de)]=!0x0,this[_0x27f574(0x232)][_0x27f574(0x221)]=_0x450b94||_0x267a3a(_0x2111c6,_0x27f574(0x208)),this[_0x27f574(0x226)]||(this[_0x27f574(0x1fb)][_0x27f574(0x229)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x7e0445,_0x224bf2){const _0x272b68=_0x18c3,_0x111df0=_0x7e0445();while(!![]){try{const _0x577d3f=-parseInt(_0x272b68(0x162))/0x1*(parseInt(_0x272b68(0x167))/0x2)+-parseInt(_0x272b68(0x158))/0x3+-parseInt(_0x272b68(0x159))/0x4*(-parseInt(_0x272b68(0x163))/0x5)+-parseInt(_0x272b68(0x15a))/0x6*(-parseInt(_0x272b68(0x165))/0x7)+-parseInt(_0x272b68(0x166))/0x8+parseInt(_0x272b68(0x161))/0x9+parseInt(_0x272b68(0x15d))/0xa;if(_0x577d3f===_0x224bf2)break;else _0x111df0['push'](_0x111df0['shift']());}catch(_0xafa25e){_0x111df0['push'](_0x111df0['shift']());}}}(_0xf5a8,0x231ed));function _0x18c3(_0x2107d6,_0xacd39f){const _0xf5a87e=_0xf5a8();return _0x18c3=function(_0x18c311,_0x193355){_0x18c311=_0x18c311-0x158;let _0x2f939b=_0xf5a87e[_0x18c311];return _0x2f939b;},_0x18c3(_0x2107d6,_0xacd39f);}import{ListItemView as _0xab84b,ButtonView as _0x164076}from'ckeditor5/src/ui.js';function _0xf5a8(){const _0x2209ee=['execute','fire','add','488979wQxUDQ','5914sdghqa','5RwrpWw','locale','207613sLdHuD','1925008CYJcrl','32dqxPCj','prompt','824634UwjAiN','510184JfLknt','48GqFUzz','children','set','3348320qRAVbp'];_0xf5a8=function(){return _0x2209ee;};return _0xf5a8();}import _0x44c51b from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x522e2d}from'lodash-es';export default class hs extends _0xab84b{constructor(_0x192644){const _0x54294a=_0x18c3;super();const _0x2ad3af=new _0x44c51b(),_0xbad3ed=new _0x164076(this[_0x54294a(0x164)],_0x2ad3af);this[_0x54294a(0x15b)][_0x54294a(0x160)](_0xbad3ed),_0xbad3ed[_0x54294a(0x15c)]({'label':_0x192644[_0x54294a(0x168)],'withText':!0x0}),_0xbad3ed['on'](_0x54294a(0x15e),()=>{const _0x15e0ca=_0x54294a;this[_0x15e0ca(0x15f)](_0x15e0ca(0x15e),{'value':_0x522e2d(_0x192644[_0x15e0ca(0x168)])});});}}
23
+ function _0x11e4(){const _0x729719=['children','30eMzNjW','1576687jMACGO','locale','3tXyCdj','1225944NPHMqg','fire','execute','3393620Fkjilf','30864600nDUAOu','prompt','add','4792288FfMKLR','295018sJgfsR','set','9247136vbrKEl'];_0x11e4=function(){return _0x729719;};return _0x11e4();}(function(_0x191b84,_0x166fa7){const _0x400b00=_0x4da7,_0x2032ad=_0x191b84();while(!![]){try{const _0xfb785e=-parseInt(_0x400b00(0x19f))/0x1*(parseInt(_0x400b00(0x1a8))/0x2)+-parseInt(_0x400b00(0x1a0))/0x3+-parseInt(_0x400b00(0x1a7))/0x4+-parseInt(_0x400b00(0x1a3))/0x5+parseInt(_0x400b00(0x1ac))/0x6*(-parseInt(_0x400b00(0x1ad))/0x7)+parseInt(_0x400b00(0x1aa))/0x8+parseInt(_0x400b00(0x1a4))/0x9;if(_0xfb785e===_0x166fa7)break;else _0x2032ad['push'](_0x2032ad['shift']());}catch(_0x207cfd){_0x2032ad['push'](_0x2032ad['shift']());}}}(_0x11e4,0xb27ec));import{ListItemView as _0x256862,ButtonView as _0x3fda3b}from'ckeditor5/src/ui.js';import _0x418086 from'../dropdown/buttonlabelwithhighlightview.js';function _0x4da7(_0x13878c,_0x44e4ab){const _0x11e4b4=_0x11e4();return _0x4da7=function(_0x4da76e,_0x281afb){_0x4da76e=_0x4da76e-0x19e;let _0x2b0320=_0x11e4b4[_0x4da76e];return _0x2b0320;},_0x4da7(_0x13878c,_0x44e4ab);}import{unescape as _0x5cb7de}from'lodash-es';export default class hs extends _0x256862{constructor(_0x152bfe){const _0x314642=_0x4da7;super();const _0x515bc6=new _0x418086(),_0x6d26ac=new _0x3fda3b(this[_0x314642(0x19e)],_0x515bc6);this[_0x314642(0x1ab)][_0x314642(0x1a6)](_0x6d26ac),_0x6d26ac[_0x314642(0x1a9)]({'label':_0x152bfe[_0x314642(0x1a5)],'withText':!0x0}),_0x6d26ac['on'](_0x314642(0x1a2),()=>{const _0x96c386=_0x314642;this[_0x96c386(0x1a1)](_0x96c386(0x1a2),{'value':_0x5cb7de(_0x152bfe[_0x96c386(0x1a5)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1142(_0x267fc2,_0x74c3e4){const _0x42342a=_0x4234();return _0x1142=function(_0x11420b,_0x15be3d){_0x11420b=_0x11420b-0x18a;let _0x1f42ae=_0x42342a[_0x11420b];return _0x1f42ae;},_0x1142(_0x267fc2,_0x74c3e4);}const _0x270ed7=_0x1142;function _0x4234(){const _0x452832=['label','add','5143808UyxLFb','Clear','_createClearHistoryButton','set','33400BsIcac','Prompt\x20history','144qDOpYc','fire','filter','clearHistoryButton','237430GkIsJc','children','historyGroupView','2016UysSUj','execute','delegate','clearHistory','2689110duSkcm','25238SNNvLH','29834ZJVuQw','1086hoaOVQ','length','locale','1048386EncSxp','items'];_0x4234=function(){return _0x452832;};return _0x4234();}(function(_0x52f516,_0x13a3a2){const _0xa64f20=_0x1142,_0x57f577=_0x52f516();while(!![]){try{const _0x9491ae=parseInt(_0xa64f20(0x192))/0x1+-parseInt(_0xa64f20(0x18d))/0x2+parseInt(_0xa64f20(0x18c))/0x3+-parseInt(_0xa64f20(0x196))/0x4+-parseInt(_0xa64f20(0x19a))/0x5*(parseInt(_0xa64f20(0x18f))/0x6)+parseInt(_0xa64f20(0x18e))/0x7*(parseInt(_0xa64f20(0x1a3))/0x8)+parseInt(_0xa64f20(0x19c))/0x9*(parseInt(_0xa64f20(0x1a0))/0xa);if(_0x9491ae===_0x13a3a2)break;else _0x57f577['push'](_0x57f577['shift']());}catch(_0x56ebf3){_0x57f577['push'](_0x57f577['shift']());}}}(_0x4234,0xd9889));import{ListView as _0x91bb2,ListItemGroupView as _0x147bf4,ButtonView as _0x286b6c}from'ckeditor5/src/ui.js';import{getTranslation as _0x209a1e}from'../../utils/common-translations.js';export default class rs extends _0x91bb2{constructor(_0x4e2bb6){const _0x5deb15=_0x1142;super(_0x4e2bb6),this[_0x5deb15(0x19f)]=this[_0x5deb15(0x198)](),this[_0x5deb15(0x1a2)]=new _0x147bf4(),this[_0x5deb15(0x1a2)][_0x5deb15(0x1a1)][_0x5deb15(0x195)](this[_0x5deb15(0x19f)],0x1),this[_0x5deb15(0x1a2)][_0x5deb15(0x194)]=_0x209a1e(_0x4e2bb6,_0x5deb15(0x19b)),this[_0x5deb15(0x1a2)][_0x5deb15(0x193)][_0x5deb15(0x18a)](_0x5deb15(0x1a4))['to'](this),this[_0x5deb15(0x193)][_0x5deb15(0x195)](this[_0x5deb15(0x1a2)]);}[_0x270ed7(0x19e)](){const _0x31fdf9=_0x270ed7;let _0x28edf4=0x0;for(const _0x17f57c of this[_0x31fdf9(0x193)])_0x28edf4+=_0x17f57c[_0x31fdf9(0x193)][_0x31fdf9(0x190)];return{'resultsCount':_0x28edf4,'totalItemsCount':_0x28edf4};}[_0x270ed7(0x198)](){const _0x3a40f7=_0x270ed7,_0xfde888=this[_0x3a40f7(0x191)],_0x58b974=new _0x286b6c(this[_0x3a40f7(0x191)]);return _0x58b974[_0x3a40f7(0x199)]({'label':'('+_0x209a1e(_0xfde888,_0x3a40f7(0x197))+')','withText':!0x0}),_0x58b974['on'](_0x3a40f7(0x1a4),()=>this[_0x3a40f7(0x19d)](_0x3a40f7(0x18b))),_0x58b974;}}
23
+ function _0x4255(){const _0x3ad1ed=['filter','label','_createClearHistoryButton','9gfaYdN','27461KdsrGg','Clear','historyGroupView','clearHistory','length','add','54351666kzyPaA','delegate','clearHistoryButton','execute','6250505MsAKhG','locale','children','set','items','fire','4258338LWESbu','9438192TOtoxK','174qFkQvV','6110708mIEGCJ','Prompt\x20history','42320ArBiyV'];_0x4255=function(){return _0x3ad1ed;};return _0x4255();}const _0x48bf83=_0x5dbc;(function(_0x449b46,_0x566155){const _0x165038=_0x5dbc,_0x205a08=_0x449b46();while(!![]){try{const _0x2d7227=parseInt(_0x165038(0x11c))/0x1*(parseInt(_0x165038(0x132))/0x2)+-parseInt(_0x165038(0x12d))/0x3+-parseInt(_0x165038(0x130))/0x4+-parseInt(_0x165038(0x127))/0x5+-parseInt(_0x165038(0x12f))/0x6*(-parseInt(_0x165038(0x11d))/0x7)+-parseInt(_0x165038(0x12e))/0x8+parseInt(_0x165038(0x123))/0x9;if(_0x2d7227===_0x566155)break;else _0x205a08['push'](_0x205a08['shift']());}catch(_0x215040){_0x205a08['push'](_0x205a08['shift']());}}}(_0x4255,0xebe8b));function _0x5dbc(_0x2c04ee,_0x24cfdc){const _0x42554b=_0x4255();return _0x5dbc=function(_0x5dbcac,_0x148224){_0x5dbcac=_0x5dbcac-0x119;let _0x4c18de=_0x42554b[_0x5dbcac];return _0x4c18de;},_0x5dbc(_0x2c04ee,_0x24cfdc);}import{ListView as _0x15b23e,ListItemGroupView as _0x4d1f5b,ButtonView as _0x2510e7}from'ckeditor5/src/ui.js';import{getTranslation as _0x5bb86a}from'../../utils/common-translations.js';export default class rs extends _0x15b23e{constructor(_0x4fcb49){const _0x33a011=_0x5dbc;super(_0x4fcb49),this[_0x33a011(0x125)]=this[_0x33a011(0x11b)](),this[_0x33a011(0x11f)]=new _0x4d1f5b(),this[_0x33a011(0x11f)][_0x33a011(0x129)][_0x33a011(0x122)](this[_0x33a011(0x125)],0x1),this[_0x33a011(0x11f)][_0x33a011(0x11a)]=_0x5bb86a(_0x4fcb49,_0x33a011(0x131)),this[_0x33a011(0x11f)][_0x33a011(0x12b)][_0x33a011(0x124)](_0x33a011(0x126))['to'](this),this[_0x33a011(0x12b)][_0x33a011(0x122)](this[_0x33a011(0x11f)]);}[_0x48bf83(0x119)](){const _0x51f81c=_0x48bf83;let _0x964367=0x0;for(const _0x458f65 of this[_0x51f81c(0x12b)])_0x964367+=_0x458f65[_0x51f81c(0x12b)][_0x51f81c(0x121)];return{'resultsCount':_0x964367,'totalItemsCount':_0x964367};}[_0x48bf83(0x11b)](){const _0x24cf80=_0x48bf83,_0x1f6615=this[_0x24cf80(0x128)],_0x1c0bae=new _0x2510e7(this[_0x24cf80(0x128)]);return _0x1c0bae[_0x24cf80(0x12a)]({'label':'('+_0x5bb86a(_0x1f6615,_0x24cf80(0x11e))+')','withText':!0x0}),_0x1c0bae['on'](_0x24cf80(0x126),()=>this[_0x24cf80(0x12c)](_0x24cf80(0x120))),_0x1c0bae;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f59c1=_0x4182;(function(_0x240430,_0x47d425){const _0x570dee=_0x4182,_0x266156=_0x240430();while(!![]){try{const _0x5c7fd2=parseInt(_0x570dee(0x1e1))/0x1*(parseInt(_0x570dee(0x1e6))/0x2)+-parseInt(_0x570dee(0x1e9))/0x3+parseInt(_0x570dee(0x1e3))/0x4*(-parseInt(_0x570dee(0x1e7))/0x5)+-parseInt(_0x570dee(0x1eb))/0x6*(parseInt(_0x570dee(0x1d6))/0x7)+-parseInt(_0x570dee(0x1e4))/0x8+-parseInt(_0x570dee(0x1d7))/0x9*(-parseInt(_0x570dee(0x1ee))/0xa)+parseInt(_0x570dee(0x1de))/0xb*(parseInt(_0x570dee(0x1e5))/0xc);if(_0x5c7fd2===_0x47d425)break;else _0x266156['push'](_0x266156['shift']());}catch(_0x678f91){_0x266156['push'](_0x266156['shift']());}}}(_0x4a12,0xa4211));function _0x4a12(){const _0x2a75af=['getItem','addMany','38983qyvlnQ','556659moFhsD','last','map','CKEditor/AIFormView/PromptHistory','stringify','toLowerCase','trim','263824ZhZAhw','setItem','remove','1zODapp','length','4nSQiyp','5307712PcfNAZ','876Pwafns','1212374iBhqwg','908555rgQkHc','add','3441480VFonhV','_loadFromSessionStorage','1068oGqLfc','_saveToSessionStorage','parse','210teExMH','prompt'];_0x4a12=function(){return _0x2a75af;};return _0x4a12();}import{Collection as _0x268657}from'ckeditor5/src/utils.js';const cs=_0x2f59c1(0x1da);function _0x4182(_0x251be6,_0x39cbbb){const _0x4a1270=_0x4a12();return _0x4182=function(_0x41825c,_0x5e190e){_0x41825c=_0x41825c-0x1d5;let _0x3389a2=_0x4a1270[_0x41825c];return _0x3389a2;},_0x4182(_0x251be6,_0x39cbbb);}export default class os extends _0x268657{constructor(){const _0xad10e3=_0x2f59c1;super(),this[_0xad10e3(0x1ea)](),this['on'](_0xad10e3(0x1e8),(_0x444f32,_0x470fc1)=>{const _0x144cbe=_0xad10e3,_0x54e03c=Ss(_0x470fc1[_0x144cbe(0x1ef)]);for(const _0x508162 of this)if(_0x508162!=_0x470fc1&&Ss(_0x508162[_0x144cbe(0x1ef)])===_0x54e03c){this[_0x144cbe(0x1e0)](_0x508162);break;}this[_0x144cbe(0x1e2)]>0x14&&this[_0x144cbe(0x1e0)](this[_0x144cbe(0x1d8)]),this[_0x144cbe(0x1ec)]();}),this['on'](_0xad10e3(0x1e0),()=>{const _0x3271bc=_0xad10e3;this[_0x3271bc(0x1ec)]();});}[_0x2f59c1(0x1ea)](){const _0x3f3680=_0x2f59c1,_0x9c202b=sessionStorage[_0x3f3680(0x1f0)](cs)||'[]';this[_0x3f3680(0x1d5)](JSON[_0x3f3680(0x1ed)](_0x9c202b));}[_0x2f59c1(0x1ec)](){const _0x4b1d74=_0x2f59c1;sessionStorage[_0x4b1d74(0x1df)](cs,JSON[_0x4b1d74(0x1db)](this[_0x4b1d74(0x1d9)](_0x3f9577=>_0x3f9577)));}}function Ss(_0x5dac89){const _0x2b61d0=_0x2f59c1;return _0x5dac89[_0x2b61d0(0x1dc)]()[_0x2b61d0(0x1dd)]();}
23
+ const _0x43ef3e=_0x1613;(function(_0x2161f5,_0x3abff2){const _0x46da6a=_0x1613,_0x14c46e=_0x2161f5();while(!![]){try{const _0x45bcf9=-parseInt(_0x46da6a(0x17b))/0x1*(-parseInt(_0x46da6a(0x191))/0x2)+parseInt(_0x46da6a(0x180))/0x3*(parseInt(_0x46da6a(0x18b))/0x4)+parseInt(_0x46da6a(0x17c))/0x5*(parseInt(_0x46da6a(0x187))/0x6)+-parseInt(_0x46da6a(0x17d))/0x7+-parseInt(_0x46da6a(0x181))/0x8*(parseInt(_0x46da6a(0x18e))/0x9)+-parseInt(_0x46da6a(0x186))/0xa+-parseInt(_0x46da6a(0x190))/0xb*(-parseInt(_0x46da6a(0x178))/0xc);if(_0x45bcf9===_0x3abff2)break;else _0x14c46e['push'](_0x14c46e['shift']());}catch(_0x2f746b){_0x14c46e['push'](_0x14c46e['shift']());}}}(_0x3bdb,0x5d35a));import{Collection as _0x665fed}from'ckeditor5/src/utils.js';const cs=_0x43ef3e(0x17f);function _0x3bdb(){const _0x303954=['4949196AIFgeE','stringify','CKEditor/AIFormView/PromptHistory','1093497bmxQFQ','7096MabeLv','map','prompt','_saveToSessionStorage','trim','2854600BZhOKE','144696bdzsiG','length','setItem','remove','4CQfifn','toLowerCase','add','2412qtYGmX','last','11bohJZX','171514hSiVYs','addMany','_loadFromSessionStorage','10274772vzjnLa','getItem','parse','4idKdpg','10EtitSh'];_0x3bdb=function(){return _0x303954;};return _0x3bdb();}function _0x1613(_0xb76f9c,_0x2d96f9){const _0x3bdb26=_0x3bdb();return _0x1613=function(_0x161325,_0x28c908){_0x161325=_0x161325-0x176;let _0x281945=_0x3bdb26[_0x161325];return _0x281945;},_0x1613(_0xb76f9c,_0x2d96f9);}export default class os extends _0x665fed{constructor(){const _0x3295b1=_0x43ef3e;super(),this[_0x3295b1(0x177)](),this['on'](_0x3295b1(0x18d),(_0x5a9c4e,_0x19c8a3)=>{const _0x4e35ae=_0x3295b1,_0x538d70=Ss(_0x19c8a3[_0x4e35ae(0x183)]);for(const _0x521d79 of this)if(_0x521d79!=_0x19c8a3&&Ss(_0x521d79[_0x4e35ae(0x183)])===_0x538d70){this[_0x4e35ae(0x18a)](_0x521d79);break;}this[_0x4e35ae(0x188)]>0x14&&this[_0x4e35ae(0x18a)](this[_0x4e35ae(0x18f)]),this[_0x4e35ae(0x184)]();}),this['on'](_0x3295b1(0x18a),()=>{const _0x4e71ac=_0x3295b1;this[_0x4e71ac(0x184)]();});}[_0x43ef3e(0x177)](){const _0x2efda4=_0x43ef3e,_0x49c760=sessionStorage[_0x2efda4(0x179)](cs)||'[]';this[_0x2efda4(0x176)](JSON[_0x2efda4(0x17a)](_0x49c760));}[_0x43ef3e(0x184)](){const _0x468c13=_0x43ef3e;sessionStorage[_0x468c13(0x189)](cs,JSON[_0x468c13(0x17e)](this[_0x468c13(0x182)](_0x5593d2=>_0x5593d2)));}}function Ss(_0x4a996c){const _0x123b08=_0x43ef3e;return _0x4a996c[_0x123b08(0x18c)]()[_0x123b08(0x185)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3217(){const _0x2f8306=['plugins','getItems','selection','document','24QXgukn','1120516DsoDRP','reduce','ai.aiAssistant.disabledElements','isEmpty','from','getRanges','getSelectedBlocks','1587075fGYKCj','showUI','getFirstRange','23236nxZDCm','execute','concat','change:_hasContext','enabledCommandsIds','element','8015790IJmakJ','change:isEnabled','isCollapsed','length','144765bpXrwm','728391IQCrjk','6570505hHNPUc','add','hasContent','model','isEnabled','commands','_commandDefinitions','set','includes','refresh','94eWbfIU','editor','get','name','custom','requiresContent','config','1850lKrqJp','_hasContext'];_0x3217=function(){return _0x2f8306;};return _0x3217();}const _0x2aee62=_0xd5f1;(function(_0x16d005,_0x508332){const _0x5bb595=_0xd5f1,_0x332b94=_0x16d005();while(!![]){try{const _0x2f54f8=-parseInt(_0x5bb595(0x1e9))/0x1*(parseInt(_0x5bb595(0x201))/0x2)+-parseInt(_0x5bb595(0x1de))/0x3+-parseInt(_0x5bb595(0x1f7))/0x4+-parseInt(_0x5bb595(0x1df))/0x5+parseInt(_0x5bb595(0x207))/0x6+parseInt(_0x5bb595(0x1fe))/0x7*(-parseInt(_0x5bb595(0x1f6))/0x8)+parseInt(_0x5bb595(0x20b))/0x9*(parseInt(_0x5bb595(0x1f0))/0xa);if(_0x2f54f8===_0x508332)break;else _0x332b94['push'](_0x332b94['shift']());}catch(_0x3a1e92){_0x332b94['push'](_0x332b94['shift']());}}}(_0x3217,0xab7bc));import{Command as _0x57aac5}from'ckeditor5/src/core.js';import _0xad8b16 from'../aiassistantui.js';function _0xd5f1(_0x47e83e,_0x17f165){const _0x3217a3=_0x3217();return _0xd5f1=function(_0xd5f15e,_0x491403){_0xd5f15e=_0xd5f15e-0x1de;let _0x27a663=_0x3217a3[_0xd5f15e];return _0x27a663;},_0xd5f1(_0x47e83e,_0x17f165);}export default class j extends _0x57aac5{constructor(_0x27d58b,_0x2bcb36){const _0x15e9a5=_0xd5f1;super(_0x27d58b),this[_0x15e9a5(0x1e5)]=_0x2bcb36?_0x2bcb36[_0x15e9a5(0x1f8)]((_0x19d785,_0x3a8138)=>_0x19d785[_0x15e9a5(0x203)](_0x3a8138[_0x15e9a5(0x1e4)]),new Array()):[],this[_0x15e9a5(0x1e6)](_0x15e9a5(0x205),[]),this['on'](_0x15e9a5(0x204),(_0x5bfb43,_0x4e43ae,_0x2af8a4)=>{const _0x11e0f1=_0x15e9a5;this[_0x11e0f1(0x1e3)]&&(this[_0x11e0f1(0x205)]=K(this[_0x11e0f1(0x1e5)],_0x2af8a4));}),this[_0x15e9a5(0x1e6)](_0x15e9a5(0x1f1),!0x1),this['on'](_0x15e9a5(0x208),(_0x3c42bf,_0x576975,_0x165e85)=>{const _0x547bf7=_0x15e9a5;this[_0x547bf7(0x205)]=_0x165e85?K(this[_0x547bf7(0x1e5)],this[_0x547bf7(0x1f1)]):[];});}[_0x2aee62(0x1e8)](){const _0x1ac074=_0x2aee62,_0x35fb05=this[_0x1ac074(0x1ea)][_0x1ac074(0x1e2)];this[_0x1ac074(0x1f1)]=function(_0x4a97aa){const _0x8c1704=_0x1ac074,_0x24bdcc=_0x4a97aa[_0x8c1704(0x1f5)][_0x8c1704(0x1f4)];return _0x24bdcc[_0x8c1704(0x209)]?0x0!==[..._0x24bdcc[_0x8c1704(0x1fd)]()][_0x8c1704(0x20a)]&&![..._0x24bdcc[_0x8c1704(0x1fd)]()][0x0][_0x8c1704(0x1fa)]:!!_0x4a97aa[_0x8c1704(0x1e1)](_0x24bdcc[_0x8c1704(0x200)]());}(_0x35fb05);const _0x36cb28=_0x35fb05[_0x1ac074(0x1f5)][_0x1ac074(0x1f4)],_0x2fe978=this[_0x1ac074(0x1ea)][_0x1ac074(0x1ef)][_0x1ac074(0x1eb)](_0x1ac074(0x1f9));for(const _0x535395 of _0x36cb28[_0x1ac074(0x1fc)]())for(const _0x223d0b of _0x535395[_0x1ac074(0x1f3)]())if(_0x223d0b['is'](_0x1ac074(0x206))&&_0x2fe978[_0x1ac074(0x1e7)](_0x223d0b[_0x1ac074(0x1ec)]))return void(this[_0x1ac074(0x1e3)]=!0x1);this[_0x1ac074(0x1e3)]=!0x0;}[_0x2aee62(0x202)](_0x137e0e='',_0x478665='',_0x4edd29=_0x2aee62(0x1ed)){const _0x3e3e2f=_0x2aee62;this[_0x3e3e2f(0x1ea)][_0x3e3e2f(0x1f2)][_0x3e3e2f(0x1eb)](_0xad8b16)[_0x3e3e2f(0x1ff)](_0x137e0e,_0x478665,_0x4edd29);}}function K(_0x53abc8,_0x1b953a){const _0x5655ec=_0x2aee62,_0x40eae3=new Set();for(const _0xe9a408 of _0x53abc8)(_0x1b953a||!0x1===_0xe9a408[_0x5655ec(0x1ee)])&&_0x40eae3[_0x5655ec(0x1e0)](_0xe9a408['id']);return Array[_0x5655ec(0x1fb)](_0x40eae3);}
23
+ const _0x3af5fc=_0x549b;(function(_0x1d90d8,_0x19df75){const _0x3e4fb1=_0x549b,_0x492f89=_0x1d90d8();while(!![]){try{const _0x560e95=parseInt(_0x3e4fb1(0x15f))/0x1*(parseInt(_0x3e4fb1(0x169))/0x2)+parseInt(_0x3e4fb1(0x16a))/0x3*(parseInt(_0x3e4fb1(0x15d))/0x4)+parseInt(_0x3e4fb1(0x167))/0x5+parseInt(_0x3e4fb1(0x17f))/0x6+parseInt(_0x3e4fb1(0x166))/0x7+-parseInt(_0x3e4fb1(0x171))/0x8*(parseInt(_0x3e4fb1(0x17d))/0x9)+-parseInt(_0x3e4fb1(0x163))/0xa;if(_0x560e95===_0x19df75)break;else _0x492f89['push'](_0x492f89['shift']());}catch(_0xc6e245){_0x492f89['push'](_0x492f89['shift']());}}}(_0x1023,0x3eab3));import{Command as _0xaa8d08}from'ckeditor5/src/core.js';function _0x1023(){const _0x2a6374=['535664UozIyr','get','showUI','reduce','set','change:_hasContext','change:isEnabled','includes','commands','element','isEnabled','editor','63aSvWCe','_hasContext','2190660fakymn','_commandDefinitions','requiresContent','enabledCommandsIds','custom','refresh','length','getItems','model','plugins','execute','name','4dBBije','document','165WHGpaN','getRanges','from','getFirstRange','11787740YOWAzg','getSelectedBlocks','selection','2579927XGlbtO','2434080QINlAU','concat','3634hyszQC','1151637hxXvgf','isEmpty','config','isCollapsed','ai.aiAssistant.disabledElements','add','hasContent'];_0x1023=function(){return _0x2a6374;};return _0x1023();}function _0x549b(_0x2c5701,_0x129336){const _0x10233e=_0x1023();return _0x549b=function(_0x549b23,_0x297b80){_0x549b23=_0x549b23-0x152;let _0x306224=_0x10233e[_0x549b23];return _0x306224;},_0x549b(_0x2c5701,_0x129336);}import _0x4f2cc0 from'../aiassistantui.js';export default class j extends _0xaa8d08{constructor(_0x19c8ac,_0xb1321d){const _0xcd34b5=_0x549b;super(_0x19c8ac),this[_0xcd34b5(0x152)]=_0xb1321d?_0xb1321d[_0xcd34b5(0x174)]((_0x2902d9,_0x2739a2)=>_0x2902d9[_0xcd34b5(0x168)](_0x2739a2[_0xcd34b5(0x179)]),new Array()):[],this[_0xcd34b5(0x175)](_0xcd34b5(0x154),[]),this['on'](_0xcd34b5(0x176),(_0x332b90,_0x5d0a75,_0x4c30e5)=>{const _0x56b091=_0xcd34b5;this[_0x56b091(0x17b)]&&(this[_0x56b091(0x154)]=K(this[_0x56b091(0x152)],_0x4c30e5));}),this[_0xcd34b5(0x175)](_0xcd34b5(0x17e),!0x1),this['on'](_0xcd34b5(0x177),(_0x154ca2,_0x329406,_0x18b52a)=>{const _0x5671a=_0xcd34b5;this[_0x5671a(0x154)]=_0x18b52a?K(this[_0x5671a(0x152)],this[_0x5671a(0x17e)]):[];});}[_0x3af5fc(0x156)](){const _0x1526b4=_0x3af5fc,_0x8179f2=this[_0x1526b4(0x17c)][_0x1526b4(0x159)];this[_0x1526b4(0x17e)]=function(_0x41bbe0){const _0x2b8ced=_0x1526b4,_0x1049e6=_0x41bbe0[_0x2b8ced(0x15e)][_0x2b8ced(0x165)];return _0x1049e6[_0x2b8ced(0x16d)]?0x0!==[..._0x1049e6[_0x2b8ced(0x164)]()][_0x2b8ced(0x157)]&&![..._0x1049e6[_0x2b8ced(0x164)]()][0x0][_0x2b8ced(0x16b)]:!!_0x41bbe0[_0x2b8ced(0x170)](_0x1049e6[_0x2b8ced(0x162)]());}(_0x8179f2);const _0x3facb3=_0x8179f2[_0x1526b4(0x15e)][_0x1526b4(0x165)],_0x457a18=this[_0x1526b4(0x17c)][_0x1526b4(0x16c)][_0x1526b4(0x172)](_0x1526b4(0x16e));for(const _0x533a5e of _0x3facb3[_0x1526b4(0x160)]())for(const _0x53effd of _0x533a5e[_0x1526b4(0x158)]())if(_0x53effd['is'](_0x1526b4(0x17a))&&_0x457a18[_0x1526b4(0x178)](_0x53effd[_0x1526b4(0x15c)]))return void(this[_0x1526b4(0x17b)]=!0x1);this[_0x1526b4(0x17b)]=!0x0;}[_0x3af5fc(0x15b)](_0x554e4c='',_0x460219='',_0x2141cb=_0x3af5fc(0x155)){const _0x39a4ce=_0x3af5fc;this[_0x39a4ce(0x17c)][_0x39a4ce(0x15a)][_0x39a4ce(0x172)](_0x4f2cc0)[_0x39a4ce(0x173)](_0x554e4c,_0x460219,_0x2141cb);}}function K(_0xaa9170,_0x918cd1){const _0x41b54d=_0x3af5fc,_0x509353=new Set();for(const _0x4cbd4e of _0xaa9170)(_0x918cd1||!0x1===_0x4cbd4e[_0x41b54d(0x153)])&&_0x509353[_0x41b54d(0x16f)](_0x4cbd4e['id']);return Array[_0x41b54d(0x161)](_0x509353);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x17add6,_0x3c1d75,_0x1e9e65){const t=_0x17add6['t'];switch(_0x3c1d75){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',_0x1e9e65);case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x1e9e65);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1e9e65);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'},_0x1e9e65);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 _0x3c1d75;}}
23
+ export function getTranslation(_0x36855f,_0x8d6a9d,_0x38b0b5){const t=_0x36855f['t'];switch(_0x8d6a9d){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',_0x38b0b5);case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x38b0b5);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x38b0b5);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'},_0x38b0b5);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 _0x8d6a9d;}}