@ckeditor/ckeditor5-ai 41.3.1 → 41.4.0-alpha.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 (160) hide show
  1. package/README.md +1 -1
  2. package/build/ai.js +6 -6
  3. package/dist/index-content.css +4 -0
  4. package/dist/index-editor.css +267 -0
  5. package/dist/index.css +396 -0
  6. package/dist/index.js +23 -0
  7. package/dist/translations/af.d.ts +8 -0
  8. package/dist/translations/af.js +23 -0
  9. package/dist/translations/ar.d.ts +8 -0
  10. package/dist/translations/ar.js +23 -0
  11. package/dist/translations/bg.d.ts +8 -0
  12. package/dist/translations/bg.js +23 -0
  13. package/dist/translations/bn.d.ts +8 -0
  14. package/dist/translations/bn.js +23 -0
  15. package/dist/translations/bs.d.ts +8 -0
  16. package/dist/translations/bs.js +23 -0
  17. package/dist/translations/ca.d.ts +8 -0
  18. package/dist/translations/ca.js +23 -0
  19. package/dist/translations/cs.d.ts +8 -0
  20. package/dist/translations/cs.js +23 -0
  21. package/dist/translations/da.d.ts +8 -0
  22. package/dist/translations/da.js +23 -0
  23. package/dist/translations/de-ch.d.ts +8 -0
  24. package/dist/translations/de-ch.js +23 -0
  25. package/dist/translations/de.d.ts +8 -0
  26. package/dist/translations/de.js +23 -0
  27. package/dist/translations/el.d.ts +8 -0
  28. package/dist/translations/el.js +23 -0
  29. package/dist/translations/en-au.d.ts +8 -0
  30. package/dist/translations/en-au.js +23 -0
  31. package/dist/translations/en.d.ts +8 -0
  32. package/dist/translations/en.js +23 -0
  33. package/dist/translations/es-co.d.ts +8 -0
  34. package/dist/translations/es-co.js +23 -0
  35. package/dist/translations/es.d.ts +8 -0
  36. package/dist/translations/es.js +23 -0
  37. package/dist/translations/et.d.ts +8 -0
  38. package/dist/translations/et.js +23 -0
  39. package/dist/translations/fa.d.ts +8 -0
  40. package/dist/translations/fa.js +23 -0
  41. package/dist/translations/fi.d.ts +8 -0
  42. package/dist/translations/fi.js +23 -0
  43. package/dist/translations/fr.d.ts +8 -0
  44. package/dist/translations/fr.js +23 -0
  45. package/dist/translations/gl.d.ts +8 -0
  46. package/dist/translations/gl.js +23 -0
  47. package/dist/translations/he.d.ts +8 -0
  48. package/dist/translations/he.js +23 -0
  49. package/dist/translations/hi.d.ts +8 -0
  50. package/dist/translations/hi.js +23 -0
  51. package/dist/translations/hr.d.ts +8 -0
  52. package/dist/translations/hr.js +23 -0
  53. package/dist/translations/hu.d.ts +8 -0
  54. package/dist/translations/hu.js +23 -0
  55. package/dist/translations/id.d.ts +8 -0
  56. package/dist/translations/id.js +23 -0
  57. package/dist/translations/it.d.ts +8 -0
  58. package/dist/translations/it.js +23 -0
  59. package/dist/translations/ja.d.ts +8 -0
  60. package/dist/translations/ja.js +23 -0
  61. package/dist/translations/jv.d.ts +8 -0
  62. package/dist/translations/jv.js +23 -0
  63. package/dist/translations/ko.d.ts +8 -0
  64. package/dist/translations/ko.js +23 -0
  65. package/dist/translations/lt.d.ts +8 -0
  66. package/dist/translations/lt.js +23 -0
  67. package/dist/translations/lv.d.ts +8 -0
  68. package/dist/translations/lv.js +23 -0
  69. package/dist/translations/ms.d.ts +8 -0
  70. package/dist/translations/ms.js +23 -0
  71. package/dist/translations/nl.d.ts +8 -0
  72. package/dist/translations/nl.js +23 -0
  73. package/dist/translations/no.d.ts +8 -0
  74. package/dist/translations/no.js +23 -0
  75. package/dist/translations/pl.d.ts +8 -0
  76. package/dist/translations/pl.js +23 -0
  77. package/dist/translations/pt-br.d.ts +8 -0
  78. package/dist/translations/pt-br.js +23 -0
  79. package/dist/translations/pt.d.ts +8 -0
  80. package/dist/translations/pt.js +23 -0
  81. package/dist/translations/ro.d.ts +8 -0
  82. package/dist/translations/ro.js +23 -0
  83. package/dist/translations/ru.d.ts +8 -0
  84. package/dist/translations/ru.js +23 -0
  85. package/dist/translations/sk.d.ts +8 -0
  86. package/dist/translations/sk.js +23 -0
  87. package/dist/translations/sr-latn.d.ts +8 -0
  88. package/dist/translations/sr-latn.js +23 -0
  89. package/dist/translations/sr.d.ts +8 -0
  90. package/dist/translations/sr.js +23 -0
  91. package/dist/translations/sv.d.ts +8 -0
  92. package/dist/translations/sv.js +23 -0
  93. package/dist/translations/th.d.ts +8 -0
  94. package/dist/translations/th.js +23 -0
  95. package/dist/translations/tk.d.ts +8 -0
  96. package/dist/translations/tk.js +23 -0
  97. package/dist/translations/tr.d.ts +8 -0
  98. package/dist/translations/tr.js +23 -0
  99. package/dist/translations/ug.d.ts +8 -0
  100. package/dist/translations/ug.js +23 -0
  101. package/dist/translations/uk.d.ts +8 -0
  102. package/dist/translations/uk.js +23 -0
  103. package/dist/translations/ur.d.ts +8 -0
  104. package/dist/translations/ur.js +23 -0
  105. package/dist/translations/uz.d.ts +8 -0
  106. package/dist/translations/uz.js +23 -0
  107. package/dist/translations/vi.d.ts +8 -0
  108. package/dist/translations/vi.js +23 -0
  109. package/dist/translations/zh-cn.d.ts +8 -0
  110. package/dist/translations/zh-cn.js +23 -0
  111. package/dist/translations/zh.d.ts +8 -0
  112. package/dist/translations/zh.js +23 -0
  113. package/dist/types/adapters/aiadapter.d.ts +52 -0
  114. package/dist/types/adapters/aitextadapter.d.ts +150 -0
  115. package/dist/types/adapters/awstextadapter.d.ts +183 -0
  116. package/dist/types/adapters/openaitextadapter.d.ts +187 -0
  117. package/dist/types/aiassistant.d.ts +390 -0
  118. package/dist/types/aiassistantediting.d.ts +50 -0
  119. package/dist/types/aiassistantui.d.ts +57 -0
  120. package/dist/types/aiconfig.d.ts +73 -0
  121. package/dist/types/augmentation.d.ts +31 -0
  122. package/dist/types/index.d.ts +17 -0
  123. package/dist/types/ui/aiassistantcontroller.d.ts +113 -0
  124. package/dist/types/ui/dropdown/aicommandslistview.d.ts +37 -0
  125. package/dist/types/ui/dropdown/buttonlabelwithhighlightview.d.ts +33 -0
  126. package/dist/types/ui/dropdown/labelwithhighlightview.d.ts +29 -0
  127. package/dist/types/ui/form/aiformcontentarea.d.ts +52 -0
  128. package/dist/types/ui/form/aiformerrorview.d.ts +30 -0
  129. package/dist/types/ui/form/aiformpromptview.d.ts +50 -0
  130. package/dist/types/ui/form/aiformtoolbarview.d.ts +62 -0
  131. package/dist/types/ui/form/aiformview.d.ts +145 -0
  132. package/dist/types/ui/form/aihistorylistitemview.d.ts +22 -0
  133. package/dist/types/ui/form/aihistorylistview.d.ts +39 -0
  134. package/dist/types/ui/form/prompthistory.d.ts +24 -0
  135. package/dist/types/ui/showaiassistantcommand.d.ts +44 -0
  136. package/dist/types/utils/common-translations.d.ts +13 -0
  137. package/lang/contexts.json +4 -0
  138. package/package.json +5 -4
  139. package/src/adapters/aiadapter.js +1 -1
  140. package/src/adapters/aitextadapter.js +1 -1
  141. package/src/adapters/awstextadapter.js +1 -1
  142. package/src/adapters/openaitextadapter.js +1 -1
  143. package/src/aiassistant.js +1 -1
  144. package/src/aiassistantediting.js +1 -1
  145. package/src/aiassistantui.js +1 -1
  146. package/src/index.js +1 -1
  147. package/src/ui/aiassistantcontroller.js +1 -1
  148. package/src/ui/dropdown/aicommandslistview.js +1 -1
  149. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  150. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  151. package/src/ui/form/aiformcontentarea.js +1 -1
  152. package/src/ui/form/aiformerrorview.js +1 -1
  153. package/src/ui/form/aiformpromptview.js +1 -1
  154. package/src/ui/form/aiformtoolbarview.js +1 -1
  155. package/src/ui/form/aiformview.js +1 -1
  156. package/src/ui/form/aihistorylistitemview.js +1 -1
  157. package/src/ui/form/aihistorylistview.js +1 -1
  158. package/src/ui/form/prompthistory.js +1 -1
  159. package/src/ui/showaiassistantcommand.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cace2=_0x1a3c;(function(_0xcd56a,_0x5be933){const _0x4d066e=_0x1a3c,_0x367237=_0xcd56a();while(!![]){try{const _0x54be96=-parseInt(_0x4d066e(0x1ba))/0x1+parseInt(_0x4d066e(0x1cb))/0x2+parseInt(_0x4d066e(0x1c6))/0x3+parseInt(_0x4d066e(0x202))/0x4+-parseInt(_0x4d066e(0x1bb))/0x5*(-parseInt(_0x4d066e(0x1c5))/0x6)+parseInt(_0x4d066e(0x1bc))/0x7*(-parseInt(_0x4d066e(0x1f0))/0x8)+-parseInt(_0x4d066e(0x1d1))/0x9;if(_0x54be96===_0x5be933)break;else _0x367237['push'](_0x367237['shift']());}catch(_0x14ad0a){_0x367237['push'](_0x367237['shift']());}}}(_0x2c54,0x2e5ff));import{global as _0x38ae40}from'ckeditor5/src/utils.js';import{View as _0x1f7037,ButtonView as _0x14b78a,SpinnerView as _0x2851a3}from'ckeditor5/src/ui.js';function _0x2c54(){const _0x51fba6=['ck-ai-form__content-area--processing','element','appendChild','scrollTo','-9999px','isEnabled','ck-content','remove','739584xgCjZf','isProcessing','ClipboardItem','execute','position','appendLoader','text/plain','ck-ai-form__copy-button','div','scrollHeight','clipboard','check','createElement','156653zstWCk','10vYzbqC','7aSHheL','change:isProcessing','absolute','textContent','wheel','execCommand','body','ck-ai-form__content-area','mousedown','1065588xjdudW','447435MrlyMY','contentFieldView','left','_createLoader','ck-ai-form__content-field','326864BdHyRh','Copy','setTemplate','icon','querySelector','loaderView','2352888EOezNj','render','createRange','change:value','setStartAfter','write','ck-hidden','copyButtonView','_copyHTMLToClipboard','getSelection','<span>]</span>','text/html','ck-ai-form__copy-button-wrapper','removeAllRanges','isVisible','bind','\x20ck-ai-form__copy-button--copied','style','bindTemplate','<span>[</span>','innerHTML','class','ck-ai-form__content-area-wrapper','setEndBefore','value','_createCopyButton','focus','.ck-ai-form__loader','addRange','ck-ai-form__loader','firstElementChild','1957064XrBopH','smooth','listenTo','lastElementChild','locale','AI\x20is\x20writing...','set','copy','setContent','ck-reset_all-excluded'];_0x2c54=function(){return _0x51fba6;};return _0x2c54();}import _0x3fdb58 from'../../../theme/icons/copy.svg';import{getTranslation as _0xae2454}from'../../utils/common-translations.js';import{icons as _0x4641ce}from'ckeditor5/src/core.js';function _0x1a3c(_0x49e708,_0x504ff6){const _0x2c547a=_0x2c54();return _0x1a3c=function(_0x1a3ce6,_0x22efbf){_0x1a3ce6=_0x1a3ce6-0x1b6;let _0x1133bf=_0x2c547a[_0x1a3ce6];return _0x1133bf;},_0x1a3c(_0x49e708,_0x504ff6);}export default class nt extends _0x1f7037{constructor(_0x392e2e,_0x1bb88e=''){const _0x21edf4=_0x1a3c;super(_0x392e2e),this[_0x21edf4(0x1f6)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x55fffb=this[_0x21edf4(0x1e3)];this[_0x21edf4(0x1c7)]=new ContentFieldView(_0x392e2e,_0x1bb88e),this[_0x21edf4(0x1d8)]=this[_0x21edf4(0x1ea)](),this[_0x21edf4(0x1cd)]({'tag':_0x21edf4(0x20a),'attributes':{'class':['ck',_0x21edf4(0x1e7),_0x55fffb['if'](_0x21edf4(0x1df),_0x21edf4(0x1d7),_0x23e852=>!_0x23e852)],'tabindex':'-1'},'children':[{'tag':_0x21edf4(0x20a),'attributes':{'class':['ck',_0x21edf4(0x1c3),_0x55fffb['if'](_0x21edf4(0x203),_0x21edf4(0x1fa))]},'children':[this[_0x21edf4(0x1c7)],{'tag':_0x21edf4(0x20a),'attributes':{'class':['ck',_0x21edf4(0x1dd)]},'children':[this[_0x21edf4(0x1d8)]]}]}]});}[_0x5cace2(0x1d2)](){const _0x446bba=_0x5cace2;super[_0x446bba(0x1d2)](),this[_0x446bba(0x1e9)]&&this[_0x446bba(0x1c7)][_0x446bba(0x1f8)](this[_0x446bba(0x1e9)]);let _0x52a860=!0x1;this['on'](_0x446bba(0x1d4),(_0x1a9643,_0x33ae2f,_0x4a647b)=>{const _0x51a124=_0x446bba,_0x24a878=!this[_0x51a124(0x1c7)][_0x51a124(0x1fb)][_0x51a124(0x1cf)](_0x51a124(0x1ec));this[_0x51a124(0x1c7)][_0x51a124(0x1f8)](_0x4a647b),this[_0x51a124(0x203)]&&_0x24a878&&!_0x52a860&&this[_0x51a124(0x1fb)][_0x51a124(0x1fd)]({'top':this[_0x51a124(0x1fb)][_0x51a124(0x1b6)],'behavior':_0x51a124(0x1f1)});}),this['on'](_0x446bba(0x1bd),(_0x2370a4,_0xce025b,_0x3db2b9)=>{const _0x40f0e5=_0x446bba;_0x52a860=!0x1,_0x3db2b9?(this[_0x40f0e5(0x1e9)]=null,this[_0x40f0e5(0x1c7)][_0x40f0e5(0x207)]()):this[_0x40f0e5(0x1e9)]||this[_0x40f0e5(0x1c7)][_0x40f0e5(0x1f8)]('');}),this[_0x446bba(0x1f2)](this[_0x446bba(0x1fb)],_0x446bba(0x1c0),()=>{_0x52a860=!0x0;}),this[_0x446bba(0x1f2)](this[_0x446bba(0x1fb)],_0x446bba(0x1c4),()=>{_0x52a860=!0x0;});}[_0x5cace2(0x1eb)](){const _0x1ebb49=_0x5cace2;this[_0x1ebb49(0x1fb)][_0x1ebb49(0x1eb)]();}[_0x5cace2(0x1ea)](){const _0x1c4096=_0x5cace2,_0x5c7673=this[_0x1c4096(0x1f4)],_0x4210ef=new _0x14b78a(this[_0x1c4096(0x1f4)]),_0x3ccade=_0x1c4096(0x209);return _0x4210ef[_0x1c4096(0x1f6)]({'label':_0xae2454(_0x5c7673,_0x1c4096(0x1cc)),'icon':_0x3fdb58,'class':_0x3ccade,'tooltip':!0x0}),_0x4210ef[_0x1c4096(0x1e0)](_0x1c4096(0x1df))['to'](this,_0x1c4096(0x1e9),_0xe65bea=>!!_0xe65bea),_0x4210ef[_0x1c4096(0x1e0)](_0x1c4096(0x1ff))['to'](this,_0x1c4096(0x203),_0x3d0902=>!_0x3d0902),_0x4210ef['on'](_0x1c4096(0x205),()=>{const _0x1b63c3=_0x1c4096;this[_0x1b63c3(0x1d9)](this[_0x1b63c3(0x1c7)][_0x1b63c3(0x1fb)]),_0x4210ef[_0x1b63c3(0x1ce)]=_0x4641ce[_0x1b63c3(0x1b8)],_0x4210ef[_0x1b63c3(0x1e6)]=_0x3ccade+_0x1b63c3(0x1e1),this[_0x1b63c3(0x1eb)](),setTimeout(()=>{const _0x1c94bd=_0x1b63c3;_0x4210ef[_0x1c94bd(0x1ce)]=_0x3fdb58,_0x4210ef[_0x1c94bd(0x1e6)]=_0x3ccade;},0x3e8);}),_0x4210ef;}[_0x5cace2(0x1d9)](_0x9b60c8){const _0x29f47b=_0x5cace2,{window:_0x3fab1e,document:_0x1538ba}=_0x38ae40;if(_0x3fab1e[_0x29f47b(0x204)]){const {Blob:_0xa5953,ClipboardItem:_0x24760e}=_0x3fab1e,_0x710f21=[new _0x24760e({'text/html':new _0xa5953([_0x9b60c8[_0x29f47b(0x1e5)]],{'type':_0x29f47b(0x1dc)}),'text/plain':new _0xa5953([_0x9b60c8[_0x29f47b(0x1bf)]||''],{'type':_0x29f47b(0x208)})})];navigator[_0x29f47b(0x1b7)][_0x29f47b(0x1d6)](_0x710f21);}else{const _0x25aeab=_0x1538ba[_0x29f47b(0x1b9)](_0x29f47b(0x20a));_0x25aeab[_0x29f47b(0x1e2)][_0x29f47b(0x206)]=_0x29f47b(0x1be),_0x25aeab[_0x29f47b(0x1e2)][_0x29f47b(0x1c8)]=_0x29f47b(0x1fe),_0x25aeab[_0x29f47b(0x1e5)]=_0x29f47b(0x1e4)+_0x9b60c8[_0x29f47b(0x1e5)]+_0x29f47b(0x1db),_0x1538ba[_0x29f47b(0x1c2)][_0x29f47b(0x1fc)](_0x25aeab);const _0x3a428a=_0x1538ba[_0x29f47b(0x1d3)]();_0x3a428a[_0x29f47b(0x1d5)](_0x25aeab[_0x29f47b(0x1ef)]),_0x3a428a[_0x29f47b(0x1e8)](_0x25aeab[_0x29f47b(0x1f3)]);const _0x61fa32=_0x3fab1e[_0x29f47b(0x1da)]();_0x61fa32[_0x29f47b(0x1de)](),_0x61fa32[_0x29f47b(0x1ed)](_0x3a428a),_0x1538ba[_0x29f47b(0x1c1)](_0x29f47b(0x1f7)),_0x25aeab[_0x29f47b(0x201)]();}}}export class ContentFieldView extends _0x1f7037{constructor(_0x20952a,_0x343d0c=''){const _0xf7c98c=_0x5cace2;super(_0x20952a),this[_0xf7c98c(0x1d0)]=this[_0xf7c98c(0x1c9)](),this[_0xf7c98c(0x1cd)]({'tag':_0xf7c98c(0x20a),'attributes':{'class':['ck',_0xf7c98c(0x200),_0x343d0c,_0xf7c98c(0x1f9),_0xf7c98c(0x1ca)]}});}[_0x5cace2(0x1f8)](_0x11bac3){const _0x39b2e9=_0x5cace2;this[_0x39b2e9(0x1fb)][_0x39b2e9(0x1e5)]=_0x11bac3;}[_0x5cace2(0x207)](){const _0x3797b9=_0x5cace2;this[_0x3797b9(0x1fb)][_0x3797b9(0x1fc)](this[_0x3797b9(0x1d0)][_0x3797b9(0x1fb)]);}[_0x5cace2(0x1c9)](){const _0x346ad2=_0x5cace2,_0x530d41=new _0x1f7037(),_0xb92fbf=this[_0x346ad2(0x1f4)],_0x547120=new _0x2851a3();return _0x547120[_0x346ad2(0x1df)]=!0x0,_0x530d41[_0x346ad2(0x1cd)]({'tag':_0x346ad2(0x20a),'attributes':{'class':['ck',_0x346ad2(0x1ee)]},'children':[_0x547120,{'text':_0xae2454(_0xb92fbf,_0x346ad2(0x1f5))}]}),_0x530d41[_0x346ad2(0x1d2)](),_0x530d41;}}
23
+ const _0x3a7ac0=_0x40af;(function(_0x2cf56a,_0x36f5a0){const _0x29f3b8=_0x40af,_0x3616c2=_0x2cf56a();while(!![]){try{const _0x371410=parseInt(_0x29f3b8(0x134))/0x1*(-parseInt(_0x29f3b8(0x115))/0x2)+-parseInt(_0x29f3b8(0x114))/0x3+parseInt(_0x29f3b8(0x13f))/0x4+-parseInt(_0x29f3b8(0x147))/0x5+parseInt(_0x29f3b8(0x128))/0x6*(parseInt(_0x29f3b8(0x100))/0x7)+-parseInt(_0x29f3b8(0x144))/0x8+-parseInt(_0x29f3b8(0x113))/0x9*(-parseInt(_0x29f3b8(0x137))/0xa);if(_0x371410===_0x36f5a0)break;else _0x3616c2['push'](_0x3616c2['shift']());}catch(_0x576bc1){_0x3616c2['push'](_0x3616c2['shift']());}}}(_0x2a6f,0x4cf16));function _0x2a6f(){const _0x39e6d6=['isProcessing','1080430tktUdl','remove','isEnabled','.ck-ai-form__loader','absolute','bindTemplate','focus','left','ck-ai-form__copy-button-wrapper','setContent','smooth','getSelection','ck-content','\x20ck-ai-form__copy-button--copied','execute','1079470kRjQZF','element','firstElementChild','div','ck-reset_all-excluded','addRange','appendLoader','listenTo','_createLoader','appendChild','loaderView','bind','AI\x20is\x20writing...','ck-ai-form__loader','icon','position','locale','body','textContent','9MjqtqZ','171009XfRiPf','19594pfjTMg','style','<span>[</span>','text/html','ck-ai-form__content-area--processing','setEndBefore','ck-ai-form__content-field','isVisible','scrollTo','querySelector','set','execCommand','ClipboardItem','text/plain','createRange','setStartAfter','ck-hidden','setTemplate','createElement','12KCMzKy','write','contentFieldView','<span>]</span>','-9999px','copy','lastElementChild','innerHTML','Copy','wheel','render','mousedown','35nvTzgu','ck-ai-form__content-area','copyButtonView','7980040tUDCkF','change:value','change:isProcessing','check','ck-ai-form__content-area-wrapper','removeAllRanges','_copyHTMLToClipboard','clipboard','1459516QYmIFV','class','scrollHeight','_createCopyButton','ck-ai-form__copy-button','4321288vCdGoc','value'];_0x2a6f=function(){return _0x39e6d6;};return _0x2a6f();}import{global as _0x4a8392}from'ckeditor5/src/utils.js';import{View as _0x3a8b87,ButtonView as _0x11d626,SpinnerView as _0x5bb139}from'ckeditor5/src/ui.js';import _0x56acd1 from'../../../theme/icons/copy.svg';function _0x40af(_0x34dbaf,_0x295c1d){const _0x2a6ffc=_0x2a6f();return _0x40af=function(_0x40af3b,_0x4ecca9){_0x40af3b=_0x40af3b-0xfe;let _0x297182=_0x2a6ffc[_0x40af3b];return _0x297182;},_0x40af(_0x34dbaf,_0x295c1d);}import{getTranslation as _0x383aa9}from'../../utils/common-translations.js';import{icons as _0x1b18d7}from'ckeditor5/src/core.js';export default class nt extends _0x3a8b87{constructor(_0x3ca4fd,_0x39a164=''){const _0x4d8d68=_0x40af;super(_0x3ca4fd),this[_0x4d8d68(0x11f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1fc483=this[_0x4d8d68(0x14c)];this[_0x4d8d68(0x12a)]=new ContentFieldView(_0x3ca4fd,_0x39a164),this[_0x4d8d68(0x136)]=this[_0x4d8d68(0x142)](),this[_0x4d8d68(0x126)]({'tag':_0x4d8d68(0x103),'attributes':{'class':['ck',_0x4d8d68(0x13b),_0x1fc483['if'](_0x4d8d68(0x11c),_0x4d8d68(0x125),_0x10a5ea=>!_0x10a5ea)],'tabindex':'-1'},'children':[{'tag':_0x4d8d68(0x103),'attributes':{'class':['ck',_0x4d8d68(0x135),_0x1fc483['if'](_0x4d8d68(0x146),_0x4d8d68(0x119))]},'children':[this[_0x4d8d68(0x12a)],{'tag':_0x4d8d68(0x103),'attributes':{'class':['ck',_0x4d8d68(0x14f)]},'children':[this[_0x4d8d68(0x136)]]}]}]});}[_0x3a7ac0(0x132)](){const _0x30bdf0=_0x3a7ac0;super[_0x30bdf0(0x132)](),this[_0x30bdf0(0x145)]&&this[_0x30bdf0(0x12a)][_0x30bdf0(0x150)](this[_0x30bdf0(0x145)]);let _0x22ac36=!0x1;this['on'](_0x30bdf0(0x138),(_0x3181e9,_0x365a09,_0x44b971)=>{const _0x3ea6dd=_0x30bdf0,_0x1009d9=!this[_0x3ea6dd(0x12a)][_0x3ea6dd(0x101)][_0x3ea6dd(0x11e)](_0x3ea6dd(0x14a));this[_0x3ea6dd(0x12a)][_0x3ea6dd(0x150)](_0x44b971),this[_0x3ea6dd(0x146)]&&_0x1009d9&&!_0x22ac36&&this[_0x3ea6dd(0x101)][_0x3ea6dd(0x11d)]({'top':this[_0x3ea6dd(0x101)][_0x3ea6dd(0x141)],'behavior':_0x3ea6dd(0x151)});}),this['on'](_0x30bdf0(0x139),(_0x5e4d4b,_0x4bc773,_0x4fce00)=>{const _0x4beb81=_0x30bdf0;_0x22ac36=!0x1,_0x4fce00?(this[_0x4beb81(0x145)]=null,this[_0x4beb81(0x12a)][_0x4beb81(0x106)]()):this[_0x4beb81(0x145)]||this[_0x4beb81(0x12a)][_0x4beb81(0x150)]('');}),this[_0x30bdf0(0x107)](this[_0x30bdf0(0x101)],_0x30bdf0(0x131),()=>{_0x22ac36=!0x0;}),this[_0x30bdf0(0x107)](this[_0x30bdf0(0x101)],_0x30bdf0(0x133),()=>{_0x22ac36=!0x0;});}[_0x3a7ac0(0x14d)](){const _0x4331c9=_0x3a7ac0;this[_0x4331c9(0x101)][_0x4331c9(0x14d)]();}[_0x3a7ac0(0x142)](){const _0x25fb7a=_0x3a7ac0,_0x503bf1=this[_0x25fb7a(0x110)],_0x35f801=new _0x11d626(this[_0x25fb7a(0x110)]),_0x262fb9=_0x25fb7a(0x143);return _0x35f801[_0x25fb7a(0x11f)]({'label':_0x383aa9(_0x503bf1,_0x25fb7a(0x130)),'icon':_0x56acd1,'class':_0x262fb9,'tooltip':!0x0}),_0x35f801[_0x25fb7a(0x10b)](_0x25fb7a(0x11c))['to'](this,_0x25fb7a(0x145),_0x5ad42e=>!!_0x5ad42e),_0x35f801[_0x25fb7a(0x10b)](_0x25fb7a(0x149))['to'](this,_0x25fb7a(0x146),_0x44d308=>!_0x44d308),_0x35f801['on'](_0x25fb7a(0xff),()=>{const _0x223528=_0x25fb7a;this[_0x223528(0x13d)](this[_0x223528(0x12a)][_0x223528(0x101)]),_0x35f801[_0x223528(0x10e)]=_0x1b18d7[_0x223528(0x13a)],_0x35f801[_0x223528(0x140)]=_0x262fb9+_0x223528(0xfe),this[_0x223528(0x14d)](),setTimeout(()=>{const _0x18a3d2=_0x223528;_0x35f801[_0x18a3d2(0x10e)]=_0x56acd1,_0x35f801[_0x18a3d2(0x140)]=_0x262fb9;},0x3e8);}),_0x35f801;}[_0x3a7ac0(0x13d)](_0x555dea){const _0x3217cf=_0x3a7ac0,{window:_0x1e6a37,document:_0x4a5cdd}=_0x4a8392;if(_0x1e6a37[_0x3217cf(0x121)]){const {Blob:_0x127ad3,ClipboardItem:_0x1928f1}=_0x1e6a37,_0x5da07b=[new _0x1928f1({'text/html':new _0x127ad3([_0x555dea[_0x3217cf(0x12f)]],{'type':_0x3217cf(0x118)}),'text/plain':new _0x127ad3([_0x555dea[_0x3217cf(0x112)]||''],{'type':_0x3217cf(0x122)})})];navigator[_0x3217cf(0x13e)][_0x3217cf(0x129)](_0x5da07b);}else{const _0x43642f=_0x4a5cdd[_0x3217cf(0x127)](_0x3217cf(0x103));_0x43642f[_0x3217cf(0x116)][_0x3217cf(0x10f)]=_0x3217cf(0x14b),_0x43642f[_0x3217cf(0x116)][_0x3217cf(0x14e)]=_0x3217cf(0x12c),_0x43642f[_0x3217cf(0x12f)]=_0x3217cf(0x117)+_0x555dea[_0x3217cf(0x12f)]+_0x3217cf(0x12b),_0x4a5cdd[_0x3217cf(0x111)][_0x3217cf(0x109)](_0x43642f);const _0x4cdcdd=_0x4a5cdd[_0x3217cf(0x123)]();_0x4cdcdd[_0x3217cf(0x124)](_0x43642f[_0x3217cf(0x102)]),_0x4cdcdd[_0x3217cf(0x11a)](_0x43642f[_0x3217cf(0x12e)]);const _0x15c003=_0x1e6a37[_0x3217cf(0x152)]();_0x15c003[_0x3217cf(0x13c)](),_0x15c003[_0x3217cf(0x105)](_0x4cdcdd),_0x4a5cdd[_0x3217cf(0x120)](_0x3217cf(0x12d)),_0x43642f[_0x3217cf(0x148)]();}}}export class ContentFieldView extends _0x3a8b87{constructor(_0x1012fc,_0x1b97e0=''){const _0x129f30=_0x3a7ac0;super(_0x1012fc),this[_0x129f30(0x10a)]=this[_0x129f30(0x108)](),this[_0x129f30(0x126)]({'tag':_0x129f30(0x103),'attributes':{'class':['ck',_0x129f30(0x153),_0x1b97e0,_0x129f30(0x104),_0x129f30(0x11b)]}});}[_0x3a7ac0(0x150)](_0x14225e){const _0x2d63c8=_0x3a7ac0;this[_0x2d63c8(0x101)][_0x2d63c8(0x12f)]=_0x14225e;}[_0x3a7ac0(0x106)](){const _0xefcb96=_0x3a7ac0;this[_0xefcb96(0x101)][_0xefcb96(0x109)](this[_0xefcb96(0x10a)][_0xefcb96(0x101)]);}[_0x3a7ac0(0x108)](){const _0x626f9a=_0x3a7ac0,_0x59e047=new _0x3a8b87(),_0x5f52f3=this[_0x626f9a(0x110)],_0x2a8c9c=new _0x5bb139();return _0x2a8c9c[_0x626f9a(0x11c)]=!0x0,_0x59e047[_0x626f9a(0x126)]({'tag':_0x626f9a(0x103),'attributes':{'class':['ck',_0x626f9a(0x10d)]},'children':[_0x2a8c9c,{'text':_0x383aa9(_0x5f52f3,_0x626f9a(0x10c))}]}),_0x59e047[_0x626f9a(0x132)](),_0x59e047;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x34a19f,_0x56a471){const _0x53f880=_0x1998,_0x161806=_0x34a19f();while(!![]){try{const _0x1d8c8e=parseInt(_0x53f880(0x75))/0x1+-parseInt(_0x53f880(0x66))/0x2*(-parseInt(_0x53f880(0x6e))/0x3)+-parseInt(_0x53f880(0x6a))/0x4+-parseInt(_0x53f880(0x6f))/0x5*(-parseInt(_0x53f880(0x74))/0x6)+-parseInt(_0x53f880(0x6d))/0x7*(parseInt(_0x53f880(0x6b))/0x8)+parseInt(_0x53f880(0x70))/0x9+parseInt(_0x53f880(0x71))/0xa*(-parseInt(_0x53f880(0x73))/0xb);if(_0x1d8c8e===_0x56a471)break;else _0x161806['push'](_0x161806['shift']());}catch(_0x23b6bf){_0x161806['push'](_0x161806['shift']());}}}(_0x5c43,0xbb4b9));import{View as _0x3e9c57,IconView as _0xb5825}from'ckeditor5/src/ui.js';function _0x5c43(){const _0x49ddc0=['set','1242600MVCTRv','357096ZyxHEB','bindTemplate','49ugKpPS','747867jotFbi','2000435DmKGjQ','3351510xPtTSV','50sfkyGx','div','4634333pzAWwC','18CjXThq','677689uWehQD','ck-ai-form__error','text','10yUOisr','setTemplate','content'];_0x5c43=function(){return _0x49ddc0;};return _0x5c43();}import _0xf12696 from'../../../theme/icons/error.svg';function _0x1998(_0x3ac41d,_0x4d1288){const _0x5c4333=_0x5c43();return _0x1998=function(_0x19989b,_0x386a09){_0x19989b=_0x19989b-0x66;let _0x221047=_0x5c4333[_0x19989b];return _0x221047;},_0x1998(_0x3ac41d,_0x4d1288);}export default class mt extends _0x3e9c57{constructor(_0x2d942a,_0x21ecb0=''){const _0x17feb4=_0x1998;super(_0x2d942a);const _0x1f111c=new _0xb5825(),_0x1bd409=this[_0x17feb4(0x6c)];this[_0x17feb4(0x69)](_0x17feb4(0x77),_0x21ecb0),_0x1f111c[_0x17feb4(0x68)]=_0xf12696,this[_0x17feb4(0x67)]({'tag':_0x17feb4(0x72),'attributes':{'class':['ck',_0x17feb4(0x76)]},'children':[_0x1f111c,{'text':_0x1bd409['to'](_0x17feb4(0x77))}]});}}
23
+ (function(_0x4fdb72,_0xf62e67){const _0x5218cd=_0x521a,_0x1253a1=_0x4fdb72();while(!![]){try{const _0x1a86c6=-parseInt(_0x5218cd(0x1dc))/0x1*(-parseInt(_0x5218cd(0x1eb))/0x2)+-parseInt(_0x5218cd(0x1db))/0x3*(parseInt(_0x5218cd(0x1da))/0x4)+-parseInt(_0x5218cd(0x1dd))/0x5*(parseInt(_0x5218cd(0x1e3))/0x6)+parseInt(_0x5218cd(0x1e2))/0x7*(parseInt(_0x5218cd(0x1e9))/0x8)+parseInt(_0x5218cd(0x1e0))/0x9*(parseInt(_0x5218cd(0x1de))/0xa)+parseInt(_0x5218cd(0x1e7))/0xb+-parseInt(_0x5218cd(0x1e5))/0xc;if(_0x1a86c6===_0xf62e67)break;else _0x1253a1['push'](_0x1253a1['shift']());}catch(_0x4609f4){_0x1253a1['push'](_0x1253a1['shift']());}}}(_0x5e57,0x4b601));import{View as _0x3dacaa,IconView as _0x51c9c1}from'ckeditor5/src/ui.js';function _0x521a(_0x517915,_0x2c2b78){const _0x5e57f9=_0x5e57();return _0x521a=function(_0x521a11,_0x291a16){_0x521a11=_0x521a11-0x1da;let _0x2c54d8=_0x5e57f9[_0x521a11];return _0x2c54d8;},_0x521a(_0x517915,_0x2c2b78);}import _0x562bc2 from'../../../theme/icons/error.svg';function _0x5e57(){const _0x127c22=['4479376mFARKH','content','155848xfewlo','text','2676QylYKX','setTemplate','83208ZhliXT','9BPhOoS','407GhLras','2263915qLTThj','80rYKdaX','ck-ai-form__error','27441QDsoni','bindTemplate','77NIYHfL','6dyWqiO','div','4398468YPprSp','set'];_0x5e57=function(){return _0x127c22;};return _0x5e57();}export default class mt extends _0x3dacaa{constructor(_0x375ae5,_0x3dafe3=''){const _0xabb1cc=_0x521a;super(_0x375ae5);const _0x1dd5b6=new _0x51c9c1(),_0x331451=this[_0xabb1cc(0x1e1)];this[_0xabb1cc(0x1e6)](_0xabb1cc(0x1ea),_0x3dafe3),_0x1dd5b6[_0xabb1cc(0x1e8)]=_0x562bc2,this[_0xabb1cc(0x1ec)]({'tag':_0xabb1cc(0x1e4),'attributes':{'class':['ck',_0xabb1cc(0x1df)]},'children':[_0x1dd5b6,{'text':_0x331451['to'](_0xabb1cc(0x1ea))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa96080=_0x446e;function _0x446e(_0x24f7b5,_0x563a11){const _0x1652b1=_0x1652();return _0x446e=function(_0x446e42,_0x4a33e5){_0x446e42=_0x446e42-0x75;let _0x2e8833=_0x1652b1[_0x446e42];return _0x2e8833;},_0x446e(_0x24f7b5,_0x563a11);}(function(_0x478316,_0x2aed32){const _0xab8720=_0x446e,_0x15d4be=_0x478316();while(!![]){try{const _0x129780=parseInt(_0xab8720(0x83))/0x1+-parseInt(_0xab8720(0x9a))/0x2+-parseInt(_0xab8720(0x80))/0x3*(parseInt(_0xab8720(0x7d))/0x4)+-parseInt(_0xab8720(0xa9))/0x5+-parseInt(_0xab8720(0x9f))/0x6+-parseInt(_0xab8720(0x8d))/0x7+parseInt(_0xab8720(0x91))/0x8;if(_0x129780===_0x2aed32)break;else _0x15d4be['push'](_0x15d4be['shift']());}catch(_0x293e51){_0x15d4be['push'](_0x15d4be['shift']());}}}(_0x1652,0x9d0bf));import{Rect as _0x10d74a,global as _0x533a84,isVisible as _0x569af1}from'ckeditor5/src/utils.js';function _0x1652(){const _0x162440=['requestAnimationFrame','width','Submit','_createSubmitButton','keystrokes','focusableChildren','right','4OtHZJK','resultsView','focusFirst','232299iEnxIB','locale','queryView','845393gIQbVv','submit','rtl','excludeScrollbarsAndBorders','uiLanguageDirection','fieldWrapperChildren','update','focusLast','isEnabled','_createShowHistoryButton','1062831zYzUsR','enter','fieldView','window','10875328iGqZmm','element','children','style','maxRows','filteredView','isEmpty','History','ck-ai-form__submit','1274598ShHDmj','fire','ck-ai-form__toggle-history','focusCycler','render','2272644jUFuJF','focus','value','showHistoryButtonView','left','bind','isVisible','submitButtonView','execute','history','1581035LGFcGJ','isOn','add','target','minRows','set'];_0x1652=function(){return _0x162440;};return _0x1652();}import{AutocompleteView as _0x5b99b7,ButtonView as _0x54c26b}from'ckeditor5/src/ui.js';import{icons as _0x21c7a1}from'ckeditor5/src/core.js';import{getTranslation as _0x54b88b}from'../../utils/common-translations.js';import _0x146631 from'../../../theme/icons/submit.svg';export default class pt extends _0x5b99b7{constructor(_0x327412,_0x1bce84){const _0x4ec72b=_0x446e;super(_0x327412,_0x1bce84),this[_0x4ec72b(0x82)][_0x4ec72b(0x8f)][_0x4ec72b(0xad)]=0x1,this[_0x4ec72b(0x82)][_0x4ec72b(0x8f)][_0x4ec72b(0x95)]=0x3,this[_0x4ec72b(0xa6)]=this[_0x4ec72b(0x79)](),this[_0x4ec72b(0xa2)]=this[_0x4ec72b(0x8c)](),this[_0x4ec72b(0x7b)][_0x4ec72b(0xab)](this[_0x4ec72b(0xa2)],0x1),this[_0x4ec72b(0x7b)][_0x4ec72b(0xab)](this[_0x4ec72b(0xa6)]);}[_0xa96080(0x9e)](){const _0x52bcd0=_0xa96080;super[_0x52bcd0(0x9e)](),this[_0x52bcd0(0x82)][_0x52bcd0(0x88)][_0x52bcd0(0xab)](this[_0x52bcd0(0xa2)]),this[_0x52bcd0(0x93)][_0x52bcd0(0xab)](this[_0x52bcd0(0xa6)]),this[_0x52bcd0(0x7a)][_0x52bcd0(0x75)](_0x52bcd0(0x8e),(_0x475e98,_0x6cb36f)=>{const _0x2b7f14=_0x52bcd0;_0x475e98[_0x2b7f14(0xac)]==this[_0x2b7f14(0x82)][_0x2b7f14(0x8f)][_0x2b7f14(0x92)]&&(this[_0x2b7f14(0x84)](),_0x6cb36f());});}[_0xa96080(0x79)](){const _0x2e1e5a=_0xa96080,_0x1d7aa1=new _0x54c26b(this[_0x2e1e5a(0x81)]),_0x3f493f=this[_0x2e1e5a(0x81)];return _0x1d7aa1[_0x2e1e5a(0x75)]({'icon':_0x146631,'label':_0x54b88b(_0x3f493f,_0x2e1e5a(0x78)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2e1e5a(0x99)}),_0x1d7aa1['on'](_0x2e1e5a(0xa7),()=>{const _0x20d460=_0x2e1e5a;this[_0x20d460(0x84)]();}),_0x1d7aa1[_0x2e1e5a(0xa4)](_0x2e1e5a(0x8b))['to'](this[_0x2e1e5a(0x82)][_0x2e1e5a(0x8f)],_0x2e1e5a(0x97),this,_0x2e1e5a(0x8b),(_0x1f97db,_0x4201f5)=>!_0x1f97db&&_0x4201f5),_0x1d7aa1;}[_0xa96080(0x8c)](){const _0x272ab4=_0xa96080,_0x3aad6a=new _0x54c26b(this[_0x272ab4(0x81)]),_0x32778e=this[_0x272ab4(0x7e)],_0x5f0aa6=this[_0x272ab4(0x81)];_0x3aad6a[_0x272ab4(0x75)]({'label':_0x54b88b(_0x5f0aa6,_0x272ab4(0x98)),'withText':!0x1,'icon':_0x21c7a1[_0x272ab4(0xa8)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x272ab4(0x9c)}),_0x3aad6a[_0x272ab4(0xa4)](_0x272ab4(0xaa))['to'](_0x32778e,_0x272ab4(0xa5)),_0x3aad6a[_0x272ab4(0xa4)](_0x272ab4(0x8b))['to'](this,_0x272ab4(0x8b)),_0x3aad6a['on'](_0x272ab4(0xa7),()=>{const _0x43d9c7=_0x272ab4;_0x32778e[_0x43d9c7(0xa5)]=!_0x32778e[_0x43d9c7(0xa5)],_0x32778e[_0x43d9c7(0xa5)]?this[_0x43d9c7(0x96)][_0x43d9c7(0xa0)]():this[_0x43d9c7(0xa0)]();});const _0x5b18e0=()=>{const _0x3b720b=_0x272ab4;_0x533a84[_0x3b720b(0x90)][_0x3b720b(0x76)](()=>{const _0x165876=_0x3b720b;if(_0x569af1(this[_0x165876(0x92)])){const _0x4b35ad=new _0x10d74a(this[_0x165876(0x82)][_0x165876(0x8f)][_0x165876(0x92)]),_0x49ab00=_0x4b35ad[_0x165876(0x77)],_0x301acd=_0x165876(0x85)===_0x5f0aa6[_0x165876(0x87)]?_0x165876(0xa3):_0x165876(0x7c);_0x4b35ad[_0x165876(0x86)](),_0x3aad6a[_0x165876(0x92)][_0x165876(0x94)][_0x301acd]=_0x49ab00-_0x4b35ad[_0x165876(0x77)]+0x1+'px';}});};return this[_0x272ab4(0x82)][_0x272ab4(0x8f)]['on'](_0x272ab4(0x89),_0x5b18e0),this['on'](_0x272ab4(0x9e),_0x5b18e0),_0x3aad6a;}[_0xa96080(0x84)](){const _0x252ab8=_0xa96080,_0x77cfe7=this[_0x252ab8(0x82)][_0x252ab8(0x8f)][_0x252ab8(0x92)][_0x252ab8(0xa1)];this[_0x252ab8(0x9b)](_0x252ab8(0x84),_0x77cfe7);}[_0xa96080(0xa0)](_0x27303e){const _0x1f84bc=_0xa96080;-0x1===_0x27303e?this[_0x1f84bc(0x9d)][_0x1f84bc(0x8a)]():this[_0x1f84bc(0x9d)][_0x1f84bc(0x7f)]();}}
23
+ const _0x1e7f27=_0x315a;(function(_0x5cfd5f,_0x2f4e1f){const _0x3d1965=_0x315a,_0x364859=_0x5cfd5f();while(!![]){try{const _0x185007=-parseInt(_0x3d1965(0x19b))/0x1+parseInt(_0x3d1965(0x1ab))/0x2*(parseInt(_0x3d1965(0x185))/0x3)+parseInt(_0x3d1965(0x1b0))/0x4+-parseInt(_0x3d1965(0x17d))/0x5*(-parseInt(_0x3d1965(0x180))/0x6)+parseInt(_0x3d1965(0x1a8))/0x7+-parseInt(_0x3d1965(0x191))/0x8*(parseInt(_0x3d1965(0x18c))/0x9)+-parseInt(_0x3d1965(0x197))/0xa;if(_0x185007===_0x2f4e1f)break;else _0x364859['push'](_0x364859['shift']());}catch(_0x4b8da5){_0x364859['push'](_0x364859['shift']());}}}(_0x49f7,0xae622));import{Rect as _0x204e79,global as _0x35cbf3,isVisible as _0x53b485}from'ckeditor5/src/utils.js';function _0x315a(_0x1ee52a,_0x5e3fa9){const _0x49f771=_0x49f7();return _0x315a=function(_0x315ae1,_0x5f5d5a){_0x315ae1=_0x315ae1-0x17b;let _0x42e3eb=_0x49f771[_0x315ae1];return _0x42e3eb;},_0x315a(_0x1ee52a,_0x5e3fa9);}import{AutocompleteView as _0x649b09,ButtonView as _0x5e9772}from'ckeditor5/src/ui.js';import{icons as _0x1d2473}from'ckeditor5/src/core.js';import{getTranslation as _0x21af5e}from'../../utils/common-translations.js';function _0x49f7(){const _0xd05ccc=['execute','373864KQBYzz','uiLanguageDirection','excludeScrollbarsAndBorders','add','target','render','14530600QUqZQl','_createShowHistoryButton','ck-ai-form__submit','resultsView','1160519FeIsHK','focus','rtl','history','bind','focusLast','children','ck-ai-form__toggle-history','queryView','focusFirst','set','fire','showHistoryButtonView','9249443IymycO','window','locale','1522956RzxZBo','isOn','History','focusCycler','minRows','2038496ZtRHkJ','isVisible','filteredView','enter','style','requestAnimationFrame','left','_createSubmitButton','15RSFinZ','submit','fieldView','1751202cDCfAq','submitButtonView','maxRows','fieldWrapperChildren','element','3ZBGLSg','update','value','right','width','isEmpty','isEnabled','27NiMAvP','Submit','focusableChildren','keystrokes'];_0x49f7=function(){return _0xd05ccc;};return _0x49f7();}import _0xc25ad9 from'../../../theme/icons/submit.svg';export default class pt extends _0x649b09{constructor(_0x3d00a8,_0x1f3a89){const _0x47d635=_0x315a;super(_0x3d00a8,_0x1f3a89),this[_0x47d635(0x1a3)][_0x47d635(0x17f)][_0x47d635(0x1af)]=0x1,this[_0x47d635(0x1a3)][_0x47d635(0x17f)][_0x47d635(0x182)]=0x3,this[_0x47d635(0x181)]=this[_0x47d635(0x17c)](),this[_0x47d635(0x1a7)]=this[_0x47d635(0x198)](),this[_0x47d635(0x18e)][_0x47d635(0x194)](this[_0x47d635(0x1a7)],0x1),this[_0x47d635(0x18e)][_0x47d635(0x194)](this[_0x47d635(0x181)]);}[_0x1e7f27(0x196)](){const _0x1275c5=_0x1e7f27;super[_0x1275c5(0x196)](),this[_0x1275c5(0x1a3)][_0x1275c5(0x183)][_0x1275c5(0x194)](this[_0x1275c5(0x1a7)]),this[_0x1275c5(0x1a1)][_0x1275c5(0x194)](this[_0x1275c5(0x181)]),this[_0x1275c5(0x18f)][_0x1275c5(0x1a5)](_0x1275c5(0x1b3),(_0x28b075,_0x842c5b)=>{const _0x42fb36=_0x1275c5;_0x28b075[_0x42fb36(0x195)]==this[_0x42fb36(0x1a3)][_0x42fb36(0x17f)][_0x42fb36(0x184)]&&(this[_0x42fb36(0x17e)](),_0x842c5b());});}[_0x1e7f27(0x17c)](){const _0x3987ed=_0x1e7f27,_0x27c13e=new _0x5e9772(this[_0x3987ed(0x1aa)]),_0x244e0c=this[_0x3987ed(0x1aa)];return _0x27c13e[_0x3987ed(0x1a5)]({'icon':_0xc25ad9,'label':_0x21af5e(_0x244e0c,_0x3987ed(0x18d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3987ed(0x199)}),_0x27c13e['on'](_0x3987ed(0x190),()=>{const _0x169444=_0x3987ed;this[_0x169444(0x17e)]();}),_0x27c13e[_0x3987ed(0x19f)](_0x3987ed(0x18b))['to'](this[_0x3987ed(0x1a3)][_0x3987ed(0x17f)],_0x3987ed(0x18a),this,_0x3987ed(0x18b),(_0x52a832,_0x3fcd26)=>!_0x52a832&&_0x3fcd26),_0x27c13e;}[_0x1e7f27(0x198)](){const _0x377508=_0x1e7f27,_0x14d650=new _0x5e9772(this[_0x377508(0x1aa)]),_0x55d54c=this[_0x377508(0x19a)],_0x27b3c2=this[_0x377508(0x1aa)];_0x14d650[_0x377508(0x1a5)]({'label':_0x21af5e(_0x27b3c2,_0x377508(0x1ad)),'withText':!0x1,'icon':_0x1d2473[_0x377508(0x19e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x377508(0x1a2)}),_0x14d650[_0x377508(0x19f)](_0x377508(0x1ac))['to'](_0x55d54c,_0x377508(0x1b1)),_0x14d650[_0x377508(0x19f)](_0x377508(0x18b))['to'](this,_0x377508(0x18b)),_0x14d650['on'](_0x377508(0x190),()=>{const _0x2933ef=_0x377508;_0x55d54c[_0x2933ef(0x1b1)]=!_0x55d54c[_0x2933ef(0x1b1)],_0x55d54c[_0x2933ef(0x1b1)]?this[_0x2933ef(0x1b2)][_0x2933ef(0x19c)]():this[_0x2933ef(0x19c)]();});const _0x27958f=()=>{const _0x5285bd=_0x377508;_0x35cbf3[_0x5285bd(0x1a9)][_0x5285bd(0x1b5)](()=>{const _0x5cbb51=_0x5285bd;if(_0x53b485(this[_0x5cbb51(0x184)])){const _0x30af8d=new _0x204e79(this[_0x5cbb51(0x1a3)][_0x5cbb51(0x17f)][_0x5cbb51(0x184)]),_0x3c893b=_0x30af8d[_0x5cbb51(0x189)],_0x30f0ba=_0x5cbb51(0x19d)===_0x27b3c2[_0x5cbb51(0x192)]?_0x5cbb51(0x17b):_0x5cbb51(0x188);_0x30af8d[_0x5cbb51(0x193)](),_0x14d650[_0x5cbb51(0x184)][_0x5cbb51(0x1b4)][_0x30f0ba]=_0x3c893b-_0x30af8d[_0x5cbb51(0x189)]+0x1+'px';}});};return this[_0x377508(0x1a3)][_0x377508(0x17f)]['on'](_0x377508(0x186),_0x27958f),this['on'](_0x377508(0x196),_0x27958f),_0x14d650;}[_0x1e7f27(0x17e)](){const _0x977135=_0x1e7f27,_0x50da02=this[_0x977135(0x1a3)][_0x977135(0x17f)][_0x977135(0x184)][_0x977135(0x187)];this[_0x977135(0x1a6)](_0x977135(0x17e),_0x50da02);}[_0x1e7f27(0x19c)](_0x1b27fc){const _0x3fee67=_0x1e7f27;-0x1===_0x1b27fc?this[_0x3fee67(0x1ae)][_0x3fee67(0x1a0)]():this[_0x3fee67(0x1ae)][_0x3fee67(0x1a4)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5af9(){const _0x2737c9=['ck-button-action','stopButton','toUpperCase','insert','replaceButton','211095eOPCsE','28aHfexQ','items','REPLACE','AI_','285865UMiPQi','1226352TGlXYr','set','tryAgainButton','bind','label','1307849WpYham','8228056jbGwdK','Stop','_createButton','9NQSnJQ','9768970CyuqEG','locale','mainAction','addMany','Try\x20again','isVisible','ck-ai-form__toolbar','_CONTENT','Insert\x20below','bindTemplate','16usicpn','ck-hidden','397886VbVejF','replace','extendTemplate','insertButton'];_0x5af9=function(){return _0x2737c9;};return _0x5af9();}const _0xa1abdd=_0x46c7;(function(_0x510603,_0x5b3d03){const _0x5bda94=_0x46c7,_0x48ed82=_0x510603();while(!![]){try{const _0x12c7d2=parseInt(_0x5bda94(0xea))/0x1+parseInt(_0x5bda94(0xd6))/0x2+-parseInt(_0x5bda94(0xdf))/0x3+-parseInt(_0x5bda94(0xd4))/0x4*(-parseInt(_0x5bda94(0xe4))/0x5)+-parseInt(_0x5bda94(0xe5))/0x6*(parseInt(_0x5bda94(0xe0))/0x7)+-parseInt(_0x5bda94(0xeb))/0x8+parseInt(_0x5bda94(0xee))/0x9*(parseInt(_0x5bda94(0xef))/0xa);if(_0x12c7d2===_0x5b3d03)break;else _0x48ed82['push'](_0x48ed82['shift']());}catch(_0x205319){_0x48ed82['push'](_0x48ed82['shift']());}}}(_0x5af9,0xc2525));function _0x46c7(_0x583b4b,_0x22ff9a){const _0x5af917=_0x5af9();return _0x46c7=function(_0x46c70a,_0x1adf40){_0x46c70a=_0x46c70a-0xcb;let _0x39c611=_0x5af917[_0x46c70a];return _0x39c611;},_0x46c7(_0x583b4b,_0x22ff9a);}import{ToolbarView as _0x2b5163,ButtonView as _0x42c3b8}from'ckeditor5/src/ui.js';import{getTranslation as _0x1406b2}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xa1abdd(0xd7),'INSERT':_0xa1abdd(0xdd)};export default class Tt extends _0x2b5163{constructor(_0x3ccfee){const _0x23c00d=_0xa1abdd;super(_0x3ccfee),this[_0x23c00d(0xe6)](_0x23c00d(0xcf),!0x1),this[_0x23c00d(0xe6)](_0x23c00d(0xcc),AIFormToolbarViewMainActionLabel[_0x23c00d(0xe2)]),this[_0x23c00d(0xde)]=this[_0x23c00d(0xed)]('',_0x23c00d(0xda)),this[_0x23c00d(0xde)][_0x23c00d(0xe8)](_0x23c00d(0xe9))['to'](this,_0x23c00d(0xcc),_0x42c30e=>_0x1406b2(_0x3ccfee,_0x23c00d(0xe3)+_0x42c30e[_0x23c00d(0xdc)]()+_0x23c00d(0xd1))),this[_0x23c00d(0xd9)]=this[_0x23c00d(0xed)](_0x1406b2(_0x3ccfee,_0x23c00d(0xd2))),this[_0x23c00d(0xe7)]=this[_0x23c00d(0xed)](_0x1406b2(_0x3ccfee,_0x23c00d(0xce))),this[_0x23c00d(0xdb)]=this[_0x23c00d(0xed)](_0x1406b2(_0x3ccfee,_0x23c00d(0xec)));const _0x1fcd73=this[_0x23c00d(0xd3)];this[_0x23c00d(0xd8)]({'attributes':{'class':[_0x23c00d(0xd0),_0x1fcd73['if'](_0x23c00d(0xcf),_0x23c00d(0xd5),_0x1a9368=>!_0x1a9368)]}}),this[_0x23c00d(0xe1)][_0x23c00d(0xcd)]([this[_0x23c00d(0xde)],this[_0x23c00d(0xd9)],this[_0x23c00d(0xe7)],this[_0x23c00d(0xdb)]]);}[_0xa1abdd(0xed)](_0x2c0ed6,_0x4b8940){const _0x49ec24=_0xa1abdd,_0x2ce96e=new _0x42c3b8(this[_0x49ec24(0xcb)]);return _0x2ce96e[_0x49ec24(0xe6)]({'label':_0x2c0ed6,'class':_0x4b8940||'','isVisible':!0x0,'withText':!0x0}),_0x2ce96e;}}
23
+ const _0xafae15=_0xa49b;(function(_0x216368,_0x325ce3){const _0x17ca65=_0xa49b,_0x37d726=_0x216368();while(!![]){try{const _0x29af4e=parseInt(_0x17ca65(0x202))/0x1+-parseInt(_0x17ca65(0x201))/0x2+parseInt(_0x17ca65(0x209))/0x3*(-parseInt(_0x17ca65(0x1f0))/0x4)+-parseInt(_0x17ca65(0x1f3))/0x5*(-parseInt(_0x17ca65(0x1f6))/0x6)+parseInt(_0x17ca65(0x1f4))/0x7+-parseInt(_0x17ca65(0x1fc))/0x8+parseInt(_0x17ca65(0x203))/0x9*(parseInt(_0x17ca65(0x1fb))/0xa);if(_0x29af4e===_0x325ce3)break;else _0x37d726['push'](_0x37d726['shift']());}catch(_0x110bf5){_0x37d726['push'](_0x37d726['shift']());}}}(_0x4562,0xc0890));function _0x4562(){const _0x4d8b39=['stopButton','423cKBWdo','addMany','ck-ai-form__toolbar','ck-hidden','toUpperCase','_CONTENT','isVisible','tryAgainButton','replace','Try\x20again','label','Stop','19636oCkJUR','insert','set','5HEmPDb','134477wALSwB','replaceButton','287682WOhbbn','ck-button-action','AI_','REPLACE','locale','240750AgEOSe','11173968EndfpU','bind','mainAction','insertButton','Insert\x20below','2932558bFvxdj','1122835JARhoB','1179XuSxCN','items','extendTemplate','bindTemplate','_createButton'];_0x4562=function(){return _0x4d8b39;};return _0x4562();}import{ToolbarView as _0x59e73c,ButtonView as _0x461928}from'ckeditor5/src/ui.js';function _0xa49b(_0x20b1ac,_0x5dca4f){const _0x456228=_0x4562();return _0xa49b=function(_0xa49bfc,_0x528807){_0xa49bfc=_0xa49bfc-0x1e5;let _0x48b9fe=_0x456228[_0xa49bfc];return _0x48b9fe;},_0xa49b(_0x20b1ac,_0x5dca4f);}import{getTranslation as _0x29246b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xafae15(0x1ec),'INSERT':_0xafae15(0x1f1)};export default class Tt extends _0x59e73c{constructor(_0x2e61d9){const _0x29b416=_0xafae15;super(_0x2e61d9),this[_0x29b416(0x1f2)](_0x29b416(0x1ea),!0x1),this[_0x29b416(0x1f2)](_0x29b416(0x1fe),AIFormToolbarViewMainActionLabel[_0x29b416(0x1f9)]),this[_0x29b416(0x1f5)]=this[_0x29b416(0x207)]('',_0x29b416(0x1f7)),this[_0x29b416(0x1f5)][_0x29b416(0x1fd)](_0x29b416(0x1ee))['to'](this,_0x29b416(0x1fe),_0x347b71=>_0x29246b(_0x2e61d9,_0x29b416(0x1f8)+_0x347b71[_0x29b416(0x1e8)]()+_0x29b416(0x1e9))),this[_0x29b416(0x1ff)]=this[_0x29b416(0x207)](_0x29246b(_0x2e61d9,_0x29b416(0x200))),this[_0x29b416(0x1eb)]=this[_0x29b416(0x207)](_0x29246b(_0x2e61d9,_0x29b416(0x1ed))),this[_0x29b416(0x208)]=this[_0x29b416(0x207)](_0x29246b(_0x2e61d9,_0x29b416(0x1ef)));const _0xa268e9=this[_0x29b416(0x206)];this[_0x29b416(0x205)]({'attributes':{'class':[_0x29b416(0x1e6),_0xa268e9['if'](_0x29b416(0x1ea),_0x29b416(0x1e7),_0x45950f=>!_0x45950f)]}}),this[_0x29b416(0x204)][_0x29b416(0x1e5)]([this[_0x29b416(0x1f5)],this[_0x29b416(0x1ff)],this[_0x29b416(0x1eb)],this[_0x29b416(0x208)]]);}[_0xafae15(0x207)](_0x2b0efc,_0x5d1524){const _0x149361=_0xafae15,_0x37fe28=new _0x461928(this[_0x149361(0x1fa)]);return _0x37fe28[_0x149361(0x1f2)]({'label':_0x2b0efc,'class':_0x5d1524||'','isVisible':!0x0,'withText':!0x0}),_0x37fe28;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36a662=_0x1054;(function(_0x1e25c5,_0x5a5a35){const _0x469830=_0x1054,_0xfa6cbb=_0x1e25c5();while(!![]){try{const _0x10e436=-parseInt(_0x469830(0x1bd))/0x1+-parseInt(_0x469830(0x1e1))/0x2*(-parseInt(_0x469830(0x1e6))/0x3)+-parseInt(_0x469830(0x1e7))/0x4*(parseInt(_0x469830(0x1a5))/0x5)+-parseInt(_0x469830(0x1bf))/0x6+parseInt(_0x469830(0x1be))/0x7*(-parseInt(_0x469830(0x1d0))/0x8)+-parseInt(_0x469830(0x1b3))/0x9+-parseInt(_0x469830(0x197))/0xa*(-parseInt(_0x469830(0x1d8))/0xb);if(_0x10e436===_0x5a5a35)break;else _0xfa6cbb['push'](_0xfa6cbb['shift']());}catch(_0x44eef2){_0xfa6cbb['push'](_0xfa6cbb['shift']());}}}(_0x190e,0x22120));import{FocusTracker as _0x3a2cd7,KeystrokeHandler as _0xadd381}from'ckeditor5/src/utils.js';import{View as _0x3e1903,FocusCycler as _0x333007,createLabeledTextarea as _0x41614b}from'ckeditor5/src/ui.js';import _0x18ffc0,{AIFormToolbarViewMainActionLabel as _0x2ab65a}from'./aiformtoolbarview.js';function _0x190e(){const _0xf94648=['keystrokes','insertButton','focusLast','bindTemplate','clear','value','tab','copyButtonView','trim','isEnabled','390965XyizAz','toolbar','ck-ai-form-content','isError','search','queryView','tryAgainButton','setTemplate','focusCycler','backwardCycle','element','bindTo','delegate','set','2376243dHeWsd','_createHistoryView','replaceContent','historyGroupView','_focusables','createCollection','shift\x20+\x20tab','fieldView','add','tryAgainEvent','255885sDVuOJ','8708WFVUwb','1453584JxJoWF','contentArea','finishProcessing','mainAction','render','execute','stop','_createToolbar','_createPromptView','focusTracker','stopProcessing','focusFirst','focusNext','_promptHistory','fire','stopButton','handleError','856CleRrw','submit','Ask\x20AI\x20to\x20edit\x20or\x20generate','bind','ck-ai-form','high','forwardCycle','replaceButton','30877BZNpaE','focus','reset','items','isVisible','isProcessing','ck-hidden','text','insertContentBelow','14mGwrwa','submitPrompt','div','startProcessing','Ask\x20AI\x20to\x20improve\x20generated\x20text','114564dZgGwL','12dMYoJj','prompt','REPLACE','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','listenTo','clearHistory','AI_ERROR_FAILED','promptView','focusPrevious','label','3570WLMnWm','errorView','locale','Empty\x20history'];_0x190e=function(){return _0xf94648;};return _0x190e();}import _0x56df32 from'./aiformcontentarea.js';import _0x17f690 from'./aiformerrorview.js';import _0xb076be from'./aiformpromptview.js';import _0xeae327 from'./aihistorylistview.js';import _0x324831 from'./aihistorylistitemview.js';import _0x330d22 from'./prompthistory.js';import{getTranslation as _0xdc8046}from'../../utils/common-translations.js';import{escape as _0x108f85}from'lodash-es';function _0x1054(_0x248579,_0x2fcb1b){const _0x190ebb=_0x190e();return _0x1054=function(_0x105475,_0xe3d60){_0x105475=_0x105475-0x197;let _0x548c9e=_0x190ebb[_0x105475];return _0x548c9e;},_0x1054(_0x248579,_0x2fcb1b);}export default class x extends _0x3e1903{constructor(_0x4576e9,_0x5a92a7,_0x2bc95c=''){const _0x48f0a7=_0x1054;super(_0x4576e9),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1a4),!0x0),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1dd),!0x1),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1e8),''),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1a0),''),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1a8),!0x1),this[_0x48f0a7(0x1b2)](_0x48f0a7(0x1c2),_0x2ab65a[_0x48f0a7(0x1e9)]),this[_0x48f0a7(0x1cc)]=new _0x330d22(),this[_0x48f0a7(0x198)]=new _0x17f690(_0x4576e9),this[_0x48f0a7(0x1c0)]=new _0x56df32(_0x4576e9,_0x2bc95c),this[_0x48f0a7(0x1c0)][_0x48f0a7(0x1d3)](_0x48f0a7(0x1dd))['to'](this),this[_0x48f0a7(0x1c0)][_0x48f0a7(0x1d3)](_0x48f0a7(0x1a0))['to'](this),this[_0x48f0a7(0x1a6)]=this[_0x48f0a7(0x1c6)](),this[_0x48f0a7(0x1a6)][_0x48f0a7(0x1d3)](_0x48f0a7(0x1c2))['to'](this),this[_0x48f0a7(0x1ee)]=this[_0x48f0a7(0x1c7)](),this[_0x48f0a7(0x1c8)]=new _0x3a2cd7(),this[_0x48f0a7(0x19b)]=new _0xadd381(),this[_0x48f0a7(0x1b7)]=this[_0x48f0a7(0x1b8)]([this[_0x48f0a7(0x1c0)],this[_0x48f0a7(0x1c0)][_0x48f0a7(0x1a2)],this[_0x48f0a7(0x1a6)],this[_0x48f0a7(0x1ee)]]),this[_0x48f0a7(0x1ad)]=new _0x333007({'focusables':this[_0x48f0a7(0x1b7)],'focusTracker':this[_0x48f0a7(0x1c8)],'keystrokeHandler':this[_0x48f0a7(0x19b)],'actions':{'focusPrevious':_0x48f0a7(0x1b9),'focusNext':_0x48f0a7(0x1a1)}}),this[_0x48f0a7(0x1ee)][_0x48f0a7(0x1ad)]['on'](_0x48f0a7(0x1d6),_0x47f8c6=>{const _0x14e647=_0x48f0a7;this[_0x14e647(0x1ad)][_0x14e647(0x1cb)](),_0x47f8c6[_0x14e647(0x1c5)]();}),this[_0x48f0a7(0x1ee)][_0x48f0a7(0x1ad)]['on'](_0x48f0a7(0x1ae),_0x4cd2e0=>{const _0x4cd59d=_0x48f0a7;this[_0x4cd59d(0x1ad)][_0x4cd59d(0x1ef)](),_0x4cd2e0[_0x4cd59d(0x1c5)]();}),this[_0x48f0a7(0x1ee)][_0x48f0a7(0x1aa)][_0x48f0a7(0x1ba)][_0x48f0a7(0x1d3)](_0x48f0a7(0x1a0))['to'](this,_0x48f0a7(0x1e8));const _0x435547=this[_0x48f0a7(0x19e)];this[_0x48f0a7(0x1ac)]({'tag':_0x48f0a7(0x1e3),'attributes':{'class':['ck',_0x48f0a7(0x1d4),_0x5a92a7],'tabindex':'-1'},'children':[{'tag':_0x48f0a7(0x1e3),'attributes':{'class':['ck',_0x48f0a7(0x1a7)]},'children':[{'tag':_0x48f0a7(0x1e3),'attributes':{'class':[_0x435547['if'](_0x48f0a7(0x1a8),_0x48f0a7(0x1de),_0x5644e0=>!_0x5644e0)]},'children':[this[_0x48f0a7(0x198)]]},this[_0x48f0a7(0x1c0)],this[_0x48f0a7(0x1a6)],this[_0x48f0a7(0x1ee)]]}]});}[_0x36a662(0x1c3)](){const _0xb90e82=_0x36a662;super[_0xb90e82(0x1c3)](),this[_0xb90e82(0x1c8)][_0xb90e82(0x1bb)](this[_0xb90e82(0x1c0)][_0xb90e82(0x1af)]),this[_0xb90e82(0x1c8)][_0xb90e82(0x1bb)](this[_0xb90e82(0x1c0)][_0xb90e82(0x1a2)][_0xb90e82(0x1af)]),this[_0xb90e82(0x1c8)][_0xb90e82(0x1bb)](this[_0xb90e82(0x1a6)][_0xb90e82(0x1af)]),this[_0xb90e82(0x1c8)][_0xb90e82(0x1bb)](this[_0xb90e82(0x1ee)][_0xb90e82(0x1af)]),this[_0xb90e82(0x19b)][_0xb90e82(0x1eb)](this[_0xb90e82(0x1af)]);}[_0x36a662(0x1d9)](_0x58abce=0x1){const _0x15d43a=_0x36a662;-0x1===_0x58abce?this[_0x15d43a(0x1ad)][_0x15d43a(0x19d)]():this[_0x15d43a(0x1ad)][_0x15d43a(0x1ca)]();}[_0x36a662(0x1da)](){const _0x2ef592=_0x36a662;this[_0x2ef592(0x1e8)]='',this[_0x2ef592(0x1a0)]='',this[_0x2ef592(0x1a8)]=!0x1,this[_0x2ef592(0x1ee)][_0x2ef592(0x1da)](),this[_0x2ef592(0x1c0)][_0x2ef592(0x1dc)]=!0x1,this[_0x2ef592(0x1a6)][_0x2ef592(0x1dc)]=!0x1;}[_0x36a662(0x1c7)](){const _0x467172=_0x36a662,_0x3070ce=this[_0x467172(0x199)],_0xe4dd23=new _0xb076be(_0x3070ce,{'queryView':{'label':_0xdc8046(_0x3070ce,_0x467172(0x1d2)),'creator':_0x41614b,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xdc8046(_0x3070ce,_0x467172(0x19a)),'secondary':_0xdc8046(_0x3070ce,_0x467172(0x1ea))}}},'filteredView':this[_0x467172(0x1b4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xe4dd23[_0x467172(0x1d3)](_0x467172(0x1a4))['to'](this,_0x467172(0x1a4),this,_0x467172(0x1dd),(_0x15e8fc,_0x17646c)=>_0x15e8fc&&!_0x17646c),this[_0x467172(0x1eb)](_0xe4dd23,_0x467172(0x1d1),(_0x2c722a,_0x202dbe)=>{const _0x148f23=_0x467172;this[_0x148f23(0x1e8)]=_0x202dbe;const _0xda40e1=_0x108f85(_0x202dbe);this[_0x148f23(0x1cd)](_0x148f23(0x1e2),_0xda40e1),_0x202dbe[_0x148f23(0x1a3)]()&&this[_0x148f23(0x1cc)][_0x148f23(0x1bb)]({'prompt':_0xda40e1},0x0);},{'priority':_0x467172(0x1d5)}),_0xe4dd23;}[_0x36a662(0x1b4)](){const _0x310e9e=_0x36a662,_0x1e110b=new _0xeae327(this[_0x310e9e(0x199)]);return _0x1e110b[_0x310e9e(0x1b6)][_0x310e9e(0x1db)][_0x310e9e(0x1b0)](this[_0x310e9e(0x1cc)])['as'](_0x324831),_0x1e110b['on'](_0x310e9e(0x1ec),()=>{const _0x329739=_0x310e9e;this[_0x329739(0x1cc)][_0x329739(0x19f)](),this[_0x329739(0x1ee)][_0x329739(0x1a9)](''),this[_0x329739(0x1ee)][_0x329739(0x1d9)]();}),_0x1e110b;}[_0x36a662(0x1c6)](){const _0x987054=_0x36a662,_0x36ce7f=new _0x18ffc0(this[_0x987054(0x199)]);return _0x36ce7f[_0x987054(0x1d7)][_0x987054(0x1d3)](_0x987054(0x1a4))['to'](this,_0x987054(0x1a4),this,_0x987054(0x1dd),this,_0x987054(0x1a0),(_0xaf570b,_0x3f3977,_0x57ec0e)=>_0xaf570b&&!_0x3f3977&&!!_0x57ec0e),_0x36ce7f[_0x987054(0x1d7)][_0x987054(0x1b1)](_0x987054(0x1c4))['to'](this,_0x987054(0x1b5)),_0x36ce7f[_0x987054(0x19c)][_0x987054(0x1d3)](_0x987054(0x1a4))['to'](this,_0x987054(0x1a4),this,_0x987054(0x1dd),this,_0x987054(0x1a0),(_0x5121dc,_0x38877f,_0x354dcc)=>_0x5121dc&&!_0x38877f&&!!_0x354dcc),_0x36ce7f[_0x987054(0x19c)][_0x987054(0x1b1)](_0x987054(0x1c4))['to'](this,_0x987054(0x1e0)),_0x36ce7f[_0x987054(0x1ab)][_0x987054(0x1d3)](_0x987054(0x1a4))['to'](this,_0x987054(0x1a4),this,_0x987054(0x1dd),(_0x4e56c7,_0xacb30c)=>_0x4e56c7&&!_0xacb30c),_0x36ce7f[_0x987054(0x1ab)][_0x987054(0x1b1)](_0x987054(0x1c4))['to'](this,_0x987054(0x1bc)),_0x36ce7f[_0x987054(0x1ce)][_0x987054(0x1d3)](_0x987054(0x1a4))['to'](this,_0x987054(0x1dd)),_0x36ce7f[_0x987054(0x1ce)][_0x987054(0x1b1)](_0x987054(0x1c4))['to'](this,_0x987054(0x1c9)),_0x36ce7f;}[_0x36a662(0x1e4)](){const _0x5e2391=_0x36a662;this[_0x5e2391(0x1a0)]='',this[_0x5e2391(0x1a8)]=!0x1,this[_0x5e2391(0x1dd)]=!0x0,this[_0x5e2391(0x1c0)][_0x5e2391(0x1dc)]=!0x0,this[_0x5e2391(0x1a6)][_0x5e2391(0x1dc)]=!0x0,this[_0x5e2391(0x1c0)][_0x5e2391(0x1d9)]();}[_0x36a662(0x1c1)](){const _0x432e13=_0x36a662,_0x4ff52b=this[_0x432e13(0x199)];this[_0x432e13(0x1dd)]=!0x1,this[_0x432e13(0x1e8)]='',this[_0x432e13(0x1ee)][_0x432e13(0x1da)](),this[_0x432e13(0x1a0)]&&(this[_0x432e13(0x1ee)][_0x432e13(0x1aa)][_0x432e13(0x1f0)]=_0xdc8046(_0x4ff52b,_0x432e13(0x1e5)));}[_0x36a662(0x1cf)](_0x2e356a){const _0x2e94f5=_0x36a662,_0x313c0d=this[_0x2e94f5(0x199)];this[_0x2e94f5(0x1c1)](),this[_0x2e94f5(0x1a8)]=!0x0,this[_0x2e94f5(0x198)][_0x2e94f5(0x1df)]=_0x2e356a||_0xdc8046(_0x313c0d,_0x2e94f5(0x1ed)),this[_0x2e94f5(0x1a0)]||(this[_0x2e94f5(0x1c0)][_0x2e94f5(0x1dc)]=!0x1);}}
23
+ const _0x69ea39=_0x27bc;(function(_0x2f93e1,_0x17604a){const _0x50ce5e=_0x27bc,_0x2bd45a=_0x2f93e1();while(!![]){try{const _0xb45677=-parseInt(_0x50ce5e(0x186))/0x1*(parseInt(_0x50ce5e(0x173))/0x2)+parseInt(_0x50ce5e(0x1a4))/0x3+-parseInt(_0x50ce5e(0x18f))/0x4*(parseInt(_0x50ce5e(0x175))/0x5)+-parseInt(_0x50ce5e(0x17e))/0x6+parseInt(_0x50ce5e(0x1bd))/0x7+parseInt(_0x50ce5e(0x1c1))/0x8+parseInt(_0x50ce5e(0x19b))/0x9*(parseInt(_0x50ce5e(0x19f))/0xa);if(_0xb45677===_0x17604a)break;else _0x2bd45a['push'](_0x2bd45a['shift']());}catch(_0x3b856f){_0x2bd45a['push'](_0x2bd45a['shift']());}}}(_0x5b4f,0x5aa46));function _0x5b4f(){const _0x30b323=['focusFirst','ck-ai-form-content','focusTracker','ck-hidden','value','element','ck-ai-form','search','_createToolbar','938043UFxLHv','high','tryAgainEvent','execute','20NPAlbP','setTemplate','insertContentBelow','copyButtonView','finishProcessing','1679682sIPtRc','promptView','focusNext','submit','isProcessing','fieldView','bindTemplate','locale','isEnabled','AI_ERROR_FAILED','delegate','insertButton','reset','stopButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','contentArea','historyGroupView','fire','submitPrompt','_promptHistory','focusLast','forwardCycle','stop','tryAgainButton','errorView','1514534roPYPy','Empty\x20history','label','add','2747192eAJwku','prompt','tab','toolbar','clear','mainAction','keystrokes','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','REPLACE','replaceButton','handleError','74rVDont','focus','236755drOEOu','render','queryView','text','_focusables','bind','trim','_createHistoryView','startProcessing','1613316oTCQrT','isVisible','items','Ask\x20AI\x20to\x20improve\x20generated\x20text','bindTo','shift\x20+\x20tab','replaceContent','createCollection','4516gKxQUq','focusCycler','stopProcessing','set','clearHistory','div','backwardCycle','isError','listenTo','44beLETb','focusPrevious','_createPromptView'];_0x5b4f=function(){return _0x30b323;};return _0x5b4f();}import{FocusTracker as _0x2563fb,KeystrokeHandler as _0xec1479}from'ckeditor5/src/utils.js';import{View as _0x390d11,FocusCycler as _0x5af1ae,createLabeledTextarea as _0x2cba29}from'ckeditor5/src/ui.js';import _0x12111b,{AIFormToolbarViewMainActionLabel as _0x1e87e8}from'./aiformtoolbarview.js';function _0x27bc(_0x332767,_0x3ca348){const _0x5b4f88=_0x5b4f();return _0x27bc=function(_0x27bc42,_0x4de475){_0x27bc42=_0x27bc42-0x170;let _0x18eae4=_0x5b4f88[_0x27bc42];return _0x18eae4;},_0x27bc(_0x332767,_0x3ca348);}import _0x179e02 from'./aiformcontentarea.js';import _0xf5ec7 from'./aiformerrorview.js';import _0x4dff52 from'./aiformpromptview.js';import _0x38c594 from'./aihistorylistview.js';import _0x3db3bf from'./aihistorylistitemview.js';import _0x1654a0 from'./prompthistory.js';import{getTranslation as _0x4e89aa}from'../../utils/common-translations.js';import{escape as _0x1c9805}from'lodash-es';export default class x extends _0x390d11{constructor(_0x369564,_0x496b0b,_0x1449f9=''){const _0x550b35=_0x27bc;super(_0x369564),this[_0x550b35(0x189)](_0x550b35(0x1ac),!0x0),this[_0x550b35(0x189)](_0x550b35(0x1a8),!0x1),this[_0x550b35(0x189)](_0x550b35(0x1c2),''),this[_0x550b35(0x189)](_0x550b35(0x196),''),this[_0x550b35(0x189)](_0x550b35(0x18d),!0x1),this[_0x550b35(0x189)](_0x550b35(0x1c6),_0x1e87e8[_0x550b35(0x170)]),this[_0x550b35(0x1b7)]=new _0x1654a0(),this[_0x550b35(0x1bc)]=new _0xf5ec7(_0x369564),this[_0x550b35(0x1b3)]=new _0x179e02(_0x369564,_0x1449f9),this[_0x550b35(0x1b3)][_0x550b35(0x17a)](_0x550b35(0x1a8))['to'](this),this[_0x550b35(0x1b3)][_0x550b35(0x17a)](_0x550b35(0x196))['to'](this),this[_0x550b35(0x1c4)]=this[_0x550b35(0x19a)](),this[_0x550b35(0x1c4)][_0x550b35(0x17a)](_0x550b35(0x1c6))['to'](this),this[_0x550b35(0x1a5)]=this[_0x550b35(0x191)](),this[_0x550b35(0x194)]=new _0x2563fb(),this[_0x550b35(0x1c7)]=new _0xec1479(),this[_0x550b35(0x179)]=this[_0x550b35(0x185)]([this[_0x550b35(0x1b3)],this[_0x550b35(0x1b3)][_0x550b35(0x1a2)],this[_0x550b35(0x1c4)],this[_0x550b35(0x1a5)]]),this[_0x550b35(0x187)]=new _0x5af1ae({'focusables':this[_0x550b35(0x179)],'focusTracker':this[_0x550b35(0x194)],'keystrokeHandler':this[_0x550b35(0x1c7)],'actions':{'focusPrevious':_0x550b35(0x183),'focusNext':_0x550b35(0x1c3)}}),this[_0x550b35(0x1a5)][_0x550b35(0x187)]['on'](_0x550b35(0x1b9),_0x1cbe51=>{const _0x31fc13=_0x550b35;this[_0x31fc13(0x187)][_0x31fc13(0x1a6)](),_0x1cbe51[_0x31fc13(0x1ba)]();}),this[_0x550b35(0x1a5)][_0x550b35(0x187)]['on'](_0x550b35(0x18c),_0x22be0a=>{const _0x15e21d=_0x550b35;this[_0x15e21d(0x187)][_0x15e21d(0x190)](),_0x22be0a[_0x15e21d(0x1ba)]();}),this[_0x550b35(0x1a5)][_0x550b35(0x177)][_0x550b35(0x1a9)][_0x550b35(0x17a)](_0x550b35(0x196))['to'](this,_0x550b35(0x1c2));const _0x50db85=this[_0x550b35(0x1aa)];this[_0x550b35(0x1a0)]({'tag':_0x550b35(0x18b),'attributes':{'class':['ck',_0x550b35(0x198),_0x496b0b],'tabindex':'-1'},'children':[{'tag':_0x550b35(0x18b),'attributes':{'class':['ck',_0x550b35(0x193)]},'children':[{'tag':_0x550b35(0x18b),'attributes':{'class':[_0x50db85['if'](_0x550b35(0x18d),_0x550b35(0x195),_0x238b40=>!_0x238b40)]},'children':[this[_0x550b35(0x1bc)]]},this[_0x550b35(0x1b3)],this[_0x550b35(0x1c4)],this[_0x550b35(0x1a5)]]}]});}[_0x69ea39(0x176)](){const _0x5c82d3=_0x69ea39;super[_0x5c82d3(0x176)](),this[_0x5c82d3(0x194)][_0x5c82d3(0x1c0)](this[_0x5c82d3(0x1b3)][_0x5c82d3(0x197)]),this[_0x5c82d3(0x194)][_0x5c82d3(0x1c0)](this[_0x5c82d3(0x1b3)][_0x5c82d3(0x1a2)][_0x5c82d3(0x197)]),this[_0x5c82d3(0x194)][_0x5c82d3(0x1c0)](this[_0x5c82d3(0x1c4)][_0x5c82d3(0x197)]),this[_0x5c82d3(0x194)][_0x5c82d3(0x1c0)](this[_0x5c82d3(0x1a5)][_0x5c82d3(0x197)]),this[_0x5c82d3(0x1c7)][_0x5c82d3(0x18e)](this[_0x5c82d3(0x197)]);}[_0x69ea39(0x174)](_0x572fb3=0x1){const _0x467a07=_0x69ea39;-0x1===_0x572fb3?this[_0x467a07(0x187)][_0x467a07(0x1b8)]():this[_0x467a07(0x187)][_0x467a07(0x192)]();}[_0x69ea39(0x1b0)](){const _0x3f829e=_0x69ea39;this[_0x3f829e(0x1c2)]='',this[_0x3f829e(0x196)]='',this[_0x3f829e(0x18d)]=!0x1,this[_0x3f829e(0x1a5)][_0x3f829e(0x1b0)](),this[_0x3f829e(0x1b3)][_0x3f829e(0x17f)]=!0x1,this[_0x3f829e(0x1c4)][_0x3f829e(0x17f)]=!0x1;}[_0x69ea39(0x191)](){const _0xde5153=_0x69ea39,_0x9a3b01=this[_0xde5153(0x1ab)],_0x3f23c9=new _0x4dff52(_0x9a3b01,{'queryView':{'label':_0x4e89aa(_0x9a3b01,_0xde5153(0x1b2)),'creator':_0x2cba29,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4e89aa(_0x9a3b01,_0xde5153(0x1be)),'secondary':_0x4e89aa(_0x9a3b01,_0xde5153(0x1c8))}}},'filteredView':this[_0xde5153(0x17c)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3f23c9[_0xde5153(0x17a)](_0xde5153(0x1ac))['to'](this,_0xde5153(0x1ac),this,_0xde5153(0x1a8),(_0x5ab48,_0x24f3c9)=>_0x5ab48&&!_0x24f3c9),this[_0xde5153(0x18e)](_0x3f23c9,_0xde5153(0x1a7),(_0xd346ae,_0x4f1746)=>{const _0x21ce3b=_0xde5153;this[_0x21ce3b(0x1c2)]=_0x4f1746;const _0x18c7c7=_0x1c9805(_0x4f1746);this[_0x21ce3b(0x1b5)](_0x21ce3b(0x1b6),_0x18c7c7),_0x4f1746[_0x21ce3b(0x17b)]()&&this[_0x21ce3b(0x1b7)][_0x21ce3b(0x1c0)]({'prompt':_0x18c7c7},0x0);},{'priority':_0xde5153(0x19c)}),_0x3f23c9;}[_0x69ea39(0x17c)](){const _0x54ef46=_0x69ea39,_0x16dcb6=new _0x38c594(this[_0x54ef46(0x1ab)]);return _0x16dcb6[_0x54ef46(0x1b4)][_0x54ef46(0x180)][_0x54ef46(0x182)](this[_0x54ef46(0x1b7)])['as'](_0x3db3bf),_0x16dcb6['on'](_0x54ef46(0x18a),()=>{const _0x2194e8=_0x54ef46;this[_0x2194e8(0x1b7)][_0x2194e8(0x1c5)](),this[_0x2194e8(0x1a5)][_0x2194e8(0x199)](''),this[_0x2194e8(0x1a5)][_0x2194e8(0x174)]();}),_0x16dcb6;}[_0x69ea39(0x19a)](){const _0x4e602c=_0x69ea39,_0x536c10=new _0x12111b(this[_0x4e602c(0x1ab)]);return _0x536c10[_0x4e602c(0x171)][_0x4e602c(0x17a)](_0x4e602c(0x1ac))['to'](this,_0x4e602c(0x1ac),this,_0x4e602c(0x1a8),this,_0x4e602c(0x196),(_0x3f246b,_0x6a16f8,_0x18e502)=>_0x3f246b&&!_0x6a16f8&&!!_0x18e502),_0x536c10[_0x4e602c(0x171)][_0x4e602c(0x1ae)](_0x4e602c(0x19e))['to'](this,_0x4e602c(0x184)),_0x536c10[_0x4e602c(0x1af)][_0x4e602c(0x17a)](_0x4e602c(0x1ac))['to'](this,_0x4e602c(0x1ac),this,_0x4e602c(0x1a8),this,_0x4e602c(0x196),(_0x1627e4,_0xdc792,_0x2538ae)=>_0x1627e4&&!_0xdc792&&!!_0x2538ae),_0x536c10[_0x4e602c(0x1af)][_0x4e602c(0x1ae)](_0x4e602c(0x19e))['to'](this,_0x4e602c(0x1a1)),_0x536c10[_0x4e602c(0x1bb)][_0x4e602c(0x17a)](_0x4e602c(0x1ac))['to'](this,_0x4e602c(0x1ac),this,_0x4e602c(0x1a8),(_0x1c1b9b,_0x4474d9)=>_0x1c1b9b&&!_0x4474d9),_0x536c10[_0x4e602c(0x1bb)][_0x4e602c(0x1ae)](_0x4e602c(0x19e))['to'](this,_0x4e602c(0x19d)),_0x536c10[_0x4e602c(0x1b1)][_0x4e602c(0x17a)](_0x4e602c(0x1ac))['to'](this,_0x4e602c(0x1a8)),_0x536c10[_0x4e602c(0x1b1)][_0x4e602c(0x1ae)](_0x4e602c(0x19e))['to'](this,_0x4e602c(0x188)),_0x536c10;}[_0x69ea39(0x17d)](){const _0x4cc846=_0x69ea39;this[_0x4cc846(0x196)]='',this[_0x4cc846(0x18d)]=!0x1,this[_0x4cc846(0x1a8)]=!0x0,this[_0x4cc846(0x1b3)][_0x4cc846(0x17f)]=!0x0,this[_0x4cc846(0x1c4)][_0x4cc846(0x17f)]=!0x0,this[_0x4cc846(0x1b3)][_0x4cc846(0x174)]();}[_0x69ea39(0x1a3)](){const _0x5503d7=_0x69ea39,_0x1d159f=this[_0x5503d7(0x1ab)];this[_0x5503d7(0x1a8)]=!0x1,this[_0x5503d7(0x1c2)]='',this[_0x5503d7(0x1a5)][_0x5503d7(0x1b0)](),this[_0x5503d7(0x196)]&&(this[_0x5503d7(0x1a5)][_0x5503d7(0x177)][_0x5503d7(0x1bf)]=_0x4e89aa(_0x1d159f,_0x5503d7(0x181)));}[_0x69ea39(0x172)](_0x5b9a11){const _0x40ed76=_0x69ea39,_0x3c99d5=this[_0x40ed76(0x1ab)];this[_0x40ed76(0x1a3)](),this[_0x40ed76(0x18d)]=!0x0,this[_0x40ed76(0x1bc)][_0x40ed76(0x178)]=_0x5b9a11||_0x4e89aa(_0x3c99d5,_0x40ed76(0x1ad)),this[_0x40ed76(0x196)]||(this[_0x40ed76(0x1b3)][_0x40ed76(0x17f)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4a20c0,_0x506c30){const _0x133846=_0x5777,_0x44e28e=_0x4a20c0();while(!![]){try{const _0x4a8baf=-parseInt(_0x133846(0x93))/0x1*(parseInt(_0x133846(0x9f))/0x2)+-parseInt(_0x133846(0x99))/0x3*(parseInt(_0x133846(0x90))/0x4)+parseInt(_0x133846(0xa0))/0x5+-parseInt(_0x133846(0x8f))/0x6+parseInt(_0x133846(0x9d))/0x7*(parseInt(_0x133846(0x9c))/0x8)+parseInt(_0x133846(0x91))/0x9*(-parseInt(_0x133846(0x94))/0xa)+parseInt(_0x133846(0x95))/0xb;if(_0x4a8baf===_0x506c30)break;else _0x44e28e['push'](_0x44e28e['shift']());}catch(_0x913c6f){_0x44e28e['push'](_0x44e28e['shift']());}}}(_0x5ed3,0x1c608));import{ListItemView as _0x486c4f,ButtonView as _0xcccaae}from'ckeditor5/src/ui.js';function _0x5777(_0x47ea97,_0xeb76c6){const _0x5ed349=_0x5ed3();return _0x5777=function(_0x5777f3,_0x47d446){_0x5777f3=_0x5777f3-0x8f;let _0x43b8ed=_0x5ed349[_0x5777f3];return _0x43b8ed;},_0x5777(_0x47ea97,_0xeb76c6);}import _0xc769e3 from'../dropdown/buttonlabelwithhighlightview.js';function _0x5ed3(){const _0x3bf3e5=['128dbUZkp','81368zZZgnl','prompt','33802JahkaE','282460SISxJd','476094JkOaJT','4GZTiDk','341703wwYAxV','fire','2oWrOUZ','50bvFihw','2926187kcuXnV','locale','add','set','267825XPzRST','children','execute'];_0x5ed3=function(){return _0x3bf3e5;};return _0x5ed3();}import{unescape as _0x33a511}from'lodash-es';export default class hs extends _0x486c4f{constructor(_0x2902ef){const _0x4123fe=_0x5777;super();const _0x38a25d=new _0xc769e3(),_0x4ba167=new _0xcccaae(this[_0x4123fe(0x96)],_0x38a25d);this[_0x4123fe(0x9a)][_0x4123fe(0x97)](_0x4ba167),_0x4ba167[_0x4123fe(0x98)]({'label':_0x2902ef[_0x4123fe(0x9e)],'withText':!0x0}),_0x4ba167['on'](_0x4123fe(0x9b),()=>{const _0x48763b=_0x4123fe;this[_0x48763b(0x92)](_0x48763b(0x9b),{'value':_0x33a511(_0x2902ef[_0x48763b(0x9e)])});});}}
23
+ (function(_0x2a95bf,_0x339aaf){const _0x352a4f=_0x556e,_0x35cff4=_0x2a95bf();while(!![]){try{const _0x4432d8=parseInt(_0x352a4f(0x147))/0x1*(-parseInt(_0x352a4f(0x13b))/0x2)+parseInt(_0x352a4f(0x146))/0x3+parseInt(_0x352a4f(0x13d))/0x4+parseInt(_0x352a4f(0x139))/0x5+-parseInt(_0x352a4f(0x13f))/0x6+parseInt(_0x352a4f(0x143))/0x7*(-parseInt(_0x352a4f(0x142))/0x8)+parseInt(_0x352a4f(0x148))/0x9;if(_0x4432d8===_0x339aaf)break;else _0x35cff4['push'](_0x35cff4['shift']());}catch(_0xcf0f96){_0x35cff4['push'](_0x35cff4['shift']());}}}(_0x5384,0xd971b));import{ListItemView as _0x57577d,ButtonView as _0x3ff879}from'ckeditor5/src/ui.js';function _0x5384(){const _0xa2e517=['34427844HjVYRL','5801680uPHZnm','fire','383818zXaPFP','add','322124tAAaux','children','8890716EhvjJH','locale','set','11099056iXNeKb','7QuFdnD','prompt','execute','686724PLiilP','8atSmFC'];_0x5384=function(){return _0xa2e517;};return _0x5384();}function _0x556e(_0x57814e,_0x35795f){const _0x53843f=_0x5384();return _0x556e=function(_0x556e30,_0x21ed04){_0x556e30=_0x556e30-0x139;let _0x3ae832=_0x53843f[_0x556e30];return _0x3ae832;},_0x556e(_0x57814e,_0x35795f);}import _0x248b3f from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x26138b}from'lodash-es';export default class hs extends _0x57577d{constructor(_0x45a4c2){const _0xb5bca=_0x556e;super();const _0x1c070c=new _0x248b3f(),_0x4be6bc=new _0x3ff879(this[_0xb5bca(0x140)],_0x1c070c);this[_0xb5bca(0x13e)][_0xb5bca(0x13c)](_0x4be6bc),_0x4be6bc[_0xb5bca(0x141)]({'label':_0x45a4c2[_0xb5bca(0x144)],'withText':!0x0}),_0x4be6bc['on'](_0xb5bca(0x145),()=>{const _0x4125f0=_0xb5bca;this[_0x4125f0(0x13a)](_0x4125f0(0x145),{'value':_0x26138b(_0x45a4c2[_0x4125f0(0x144)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1a22(_0x560a60,_0x363a84){const _0x26fd62=_0x26fd();return _0x1a22=function(_0x1a2252,_0x353994){_0x1a2252=_0x1a2252-0x1a2;let _0x1b5414=_0x26fd62[_0x1a2252];return _0x1b5414;},_0x1a22(_0x560a60,_0x363a84);}const _0x1244bd=_0x1a22;(function(_0x5a05a5,_0xfd3385){const _0x15b442=_0x1a22,_0x3066ae=_0x5a05a5();while(!![]){try{const _0x289d76=-parseInt(_0x15b442(0x1a9))/0x1*(-parseInt(_0x15b442(0x1bd))/0x2)+parseInt(_0x15b442(0x1ad))/0x3*(-parseInt(_0x15b442(0x1a3))/0x4)+parseInt(_0x15b442(0x1b5))/0x5+-parseInt(_0x15b442(0x1ab))/0x6+parseInt(_0x15b442(0x1b7))/0x7*(parseInt(_0x15b442(0x1b4))/0x8)+-parseInt(_0x15b442(0x1b2))/0x9+parseInt(_0x15b442(0x1ac))/0xa*(parseInt(_0x15b442(0x1bc))/0xb);if(_0x289d76===_0xfd3385)break;else _0x3066ae['push'](_0x3066ae['shift']());}catch(_0x27a7e5){_0x3066ae['push'](_0x3066ae['shift']());}}}(_0x26fd,0x312ba));import{ListView as _0x1a6632,ListItemGroupView as _0x336b6f,ButtonView as _0x326e3a}from'ckeditor5/src/ui.js';import{getTranslation as _0x5769f0}from'../../utils/common-translations.js';export default class rs extends _0x1a6632{constructor(_0x20be2b){const _0x1efb42=_0x1a22;super(_0x20be2b),this[_0x1efb42(0x1b8)]=this[_0x1efb42(0x1af)](),this[_0x1efb42(0x1b3)]=new _0x336b6f(),this[_0x1efb42(0x1b3)][_0x1efb42(0x1a7)][_0x1efb42(0x1bb)](this[_0x1efb42(0x1b8)],0x1),this[_0x1efb42(0x1b3)][_0x1efb42(0x1b9)]=_0x5769f0(_0x20be2b,_0x1efb42(0x1ba)),this[_0x1efb42(0x1b3)][_0x1efb42(0x1a5)][_0x1efb42(0x1a6)](_0x1efb42(0x1aa))['to'](this),this[_0x1efb42(0x1a5)][_0x1efb42(0x1bb)](this[_0x1efb42(0x1b3)]);}[_0x1244bd(0x1a4)](){const _0x198edf=_0x1244bd;let _0x4fe77e=0x0;for(const _0x297b9c of this[_0x198edf(0x1a5)])_0x4fe77e+=_0x297b9c[_0x198edf(0x1a5)][_0x198edf(0x1b0)];return{'resultsCount':_0x4fe77e,'totalItemsCount':_0x4fe77e};}[_0x1244bd(0x1af)](){const _0xfe88ac=_0x1244bd,_0x28c0e4=this[_0xfe88ac(0x1ae)],_0x484f5a=new _0x326e3a(this[_0xfe88ac(0x1ae)]);return _0x484f5a[_0xfe88ac(0x1a2)]({'label':'('+_0x5769f0(_0x28c0e4,_0xfe88ac(0x1b1))+')','withText':!0x0}),_0x484f5a['on'](_0xfe88ac(0x1aa),()=>this[_0xfe88ac(0x1b6)](_0xfe88ac(0x1a8))),_0x484f5a;}}function _0x26fd(){const _0x97033e=['fire','49MpfCTy','clearHistoryButton','label','Prompt\x20history','add','11QTFzBt','727138fwKeNQ','set','4yoMwzF','filter','items','delegate','children','clearHistory','1rvbhZl','execute','566820bLEfEo','1182110MnCFOm','932934AqbsZQ','locale','_createClearHistoryButton','length','Clear','296370vEcSlT','historyGroupView','87496ZbHWOo','407205plopyW'];_0x26fd=function(){return _0x97033e;};return _0x26fd();}
23
+ function _0x9de4(_0x3607ff,_0x355c1b){const _0xa33611=_0xa336();return _0x9de4=function(_0x9de44a,_0x13ec06){_0x9de44a=_0x9de44a-0x1e8;let _0x2dea05=_0xa33611[_0x9de44a];return _0x2dea05;},_0x9de4(_0x3607ff,_0x355c1b);}const _0x2e0a17=_0x9de4;(function(_0x1ed124,_0x548c34){const _0x30139d=_0x9de4,_0x4e3137=_0x1ed124();while(!![]){try{const _0x453559=-parseInt(_0x30139d(0x1f0))/0x1*(parseInt(_0x30139d(0x1ea))/0x2)+parseInt(_0x30139d(0x1fa))/0x3+parseInt(_0x30139d(0x1ef))/0x4*(-parseInt(_0x30139d(0x1f7))/0x5)+parseInt(_0x30139d(0x1f1))/0x6+-parseInt(_0x30139d(0x1f5))/0x7+-parseInt(_0x30139d(0x1f8))/0x8+parseInt(_0x30139d(0x1fd))/0x9;if(_0x453559===_0x548c34)break;else _0x4e3137['push'](_0x4e3137['shift']());}catch(_0x2c36df){_0x4e3137['push'](_0x4e3137['shift']());}}}(_0xa336,0x7a7c9));import{ListView as _0x4d37e2,ListItemGroupView as _0x3f1922,ButtonView as _0x4e76b8}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e8d93}from'../../utils/common-translations.js';export default class rs extends _0x4d37e2{constructor(_0x3bed55){const _0x38b3fb=_0x9de4;super(_0x3bed55),this[_0x38b3fb(0x1e9)]=this[_0x38b3fb(0x1f2)](),this[_0x38b3fb(0x1f3)]=new _0x3f1922(),this[_0x38b3fb(0x1f3)][_0x38b3fb(0x1f4)][_0x38b3fb(0x201)](this[_0x38b3fb(0x1e9)],0x1),this[_0x38b3fb(0x1f3)][_0x38b3fb(0x1f6)]=_0x5e8d93(_0x3bed55,_0x38b3fb(0x1f9)),this[_0x38b3fb(0x1f3)][_0x38b3fb(0x1e8)][_0x38b3fb(0x1ee)](_0x38b3fb(0x1ec))['to'](this),this[_0x38b3fb(0x1e8)][_0x38b3fb(0x201)](this[_0x38b3fb(0x1f3)]);}[_0x2e0a17(0x1eb)](){const _0x451df6=_0x2e0a17;let _0x1d4f7d=0x0;for(const _0x599ab1 of this[_0x451df6(0x1e8)])_0x1d4f7d+=_0x599ab1[_0x451df6(0x1e8)][_0x451df6(0x1fe)];return{'resultsCount':_0x1d4f7d,'totalItemsCount':_0x1d4f7d};}[_0x2e0a17(0x1f2)](){const _0x245851=_0x2e0a17,_0xb2752e=this[_0x245851(0x1fb)],_0x13133a=new _0x4e76b8(this[_0x245851(0x1fb)]);return _0x13133a[_0x245851(0x1ff)]({'label':'('+_0x5e8d93(_0xb2752e,_0x245851(0x200))+')','withText':!0x0}),_0x13133a['on'](_0x245851(0x1ec),()=>this[_0x245851(0x1fc)](_0x245851(0x1ed))),_0x13133a;}}function _0xa336(){const _0x31de3c=['_createClearHistoryButton','historyGroupView','children','1649921zdFpSG','label','410335VeUdoj','5673728PsRtXh','Prompt\x20history','780645lYxyJi','locale','fire','15212889AuNRHP','length','set','Clear','add','items','clearHistoryButton','3870UDTOye','filter','execute','clearHistory','delegate','20XovQWg','319liIBXq','3142128afiyay'];_0xa336=function(){return _0x31de3c;};return _0xa336();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x297c(_0xc12639,_0x53828f){const _0x3471c3=_0x3471();return _0x297c=function(_0x297c24,_0x53473d){_0x297c24=_0x297c24-0xf6;let _0x41bd8f=_0x3471c3[_0x297c24];return _0x41bd8f;},_0x297c(_0xc12639,_0x53828f);}function _0x3471(){const _0x2ba338=['27vRMzwe','6niTwMq','setItem','trim','30hgtnTp','map','110fNbFeZ','514332rDErgP','getItem','2553704fEDQty','231798WsLSDl','123324HqHTTy','8523095vWYpER','parse','_saveToSessionStorage','last','length','remove','stringify','toLowerCase','prompt','110YWeuLv','448349YIVEGZ','_loadFromSessionStorage','CKEditor/AIFormView/PromptHistory','41655216dSvhRc','addMany','add'];_0x3471=function(){return _0x2ba338;};return _0x3471();}const _0x402356=_0x297c;(function(_0x4ca23a,_0x584d75){const _0x3b80f7=_0x297c,_0x230041=_0x4ca23a();while(!![]){try{const _0x42062d=-parseInt(_0x3b80f7(0x10b))/0x1*(-parseInt(_0x3b80f7(0xf8))/0x2)+parseInt(_0x3b80f7(0x10e))/0x3*(-parseInt(_0x3b80f7(0x111))/0x4)+parseInt(_0x3b80f7(0x103))/0x5*(parseInt(_0x3b80f7(0xf9))/0x6)+-parseInt(_0x3b80f7(0xfa))/0x7+-parseInt(_0x3b80f7(0xf7))/0x8*(parseInt(_0x3b80f7(0x10a))/0x9)+-parseInt(_0x3b80f7(0x110))/0xa*(parseInt(_0x3b80f7(0x104))/0xb)+parseInt(_0x3b80f7(0x107))/0xc;if(_0x42062d===_0x584d75)break;else _0x230041['push'](_0x230041['shift']());}catch(_0x29ce00){_0x230041['push'](_0x230041['shift']());}}}(_0x3471,0xad347));import{Collection as _0x87f5f1}from'ckeditor5/src/utils.js';const cs=_0x402356(0x106);export default class os extends _0x87f5f1{constructor(){const _0x2082d8=_0x402356;super(),this[_0x2082d8(0x105)](),this['on'](_0x2082d8(0x109),(_0x1b14a2,_0x3b67fb)=>{const _0x55d19c=_0x2082d8,_0x1e3403=Ss(_0x3b67fb[_0x55d19c(0x102)]);for(const _0xf3ae4e of this)if(_0xf3ae4e!=_0x3b67fb&&Ss(_0xf3ae4e[_0x55d19c(0x102)])===_0x1e3403){this[_0x55d19c(0xff)](_0xf3ae4e);break;}this[_0x55d19c(0xfe)]>0x14&&this[_0x55d19c(0xff)](this[_0x55d19c(0xfd)]),this[_0x55d19c(0xfc)]();}),this['on'](_0x2082d8(0xff),()=>{const _0x335d0a=_0x2082d8;this[_0x335d0a(0xfc)]();});}[_0x402356(0x105)](){const _0x56b098=_0x402356,_0xaf05f4=sessionStorage[_0x56b098(0xf6)](cs)||'[]';this[_0x56b098(0x108)](JSON[_0x56b098(0xfb)](_0xaf05f4));}[_0x402356(0xfc)](){const _0x39b508=_0x402356;sessionStorage[_0x39b508(0x10c)](cs,JSON[_0x39b508(0x100)](this[_0x39b508(0x10f)](_0x450569=>_0x450569)));}}function Ss(_0x3208c0){const _0x20f5a2=_0x402356;return _0x3208c0[_0x20f5a2(0x101)]()[_0x20f5a2(0x10d)]();}
23
+ const _0x2d7c91=_0x1efb;(function(_0x2857dc,_0x23ab72){const _0x3af696=_0x1efb,_0x154714=_0x2857dc();while(!![]){try{const _0x1d8ead=-parseInt(_0x3af696(0x1c2))/0x1*(parseInt(_0x3af696(0x1b9))/0x2)+parseInt(_0x3af696(0x1cf))/0x3+-parseInt(_0x3af696(0x1d2))/0x4*(-parseInt(_0x3af696(0x1c0))/0x5)+-parseInt(_0x3af696(0x1ce))/0x6+parseInt(_0x3af696(0x1bd))/0x7+-parseInt(_0x3af696(0x1c6))/0x8*(-parseInt(_0x3af696(0x1d1))/0x9)+-parseInt(_0x3af696(0x1cb))/0xa*(parseInt(_0x3af696(0x1ca))/0xb);if(_0x1d8ead===_0x23ab72)break;else _0x154714['push'](_0x154714['shift']());}catch(_0x2c368d){_0x154714['push'](_0x154714['shift']());}}}(_0x11da,0x72eba));import{Collection as _0x325ceb}from'ckeditor5/src/utils.js';function _0x1efb(_0x2c05b0,_0x35ea46){const _0x11dabe=_0x11da();return _0x1efb=function(_0x1efbb0,_0x2691eb){_0x1efbb0=_0x1efbb0-0x1b9;let _0x1f3315=_0x11dabe[_0x1efbb0];return _0x1f3315;},_0x1efb(_0x2c05b0,_0x35ea46);}const cs=_0x2d7c91(0x1c1);function _0x11da(){const _0x3aadf2=['1629240hvDLvp','trim','last','addMany','18109421BgFqUi','10UMpbwE','_loadFromSessionStorage','_saveToSessionStorage','426414nkalok','2709387DTgTTp','length','36EjGUJG','29212FYXrlZ','setItem','849054XCMQvP','toLowerCase','parse','prompt','5146113SYSQmY','stringify','remove','400HbSysJ','CKEditor/AIFormView/PromptHistory','2sfzrZW','getItem','map','add'];_0x11da=function(){return _0x3aadf2;};return _0x11da();}export default class os extends _0x325ceb{constructor(){const _0x383f00=_0x2d7c91;super(),this[_0x383f00(0x1cc)](),this['on'](_0x383f00(0x1c5),(_0x481a53,_0x3cd588)=>{const _0x3653c6=_0x383f00,_0x268bc5=Ss(_0x3cd588[_0x3653c6(0x1bc)]);for(const _0x5fe500 of this)if(_0x5fe500!=_0x3cd588&&Ss(_0x5fe500[_0x3653c6(0x1bc)])===_0x268bc5){this[_0x3653c6(0x1bf)](_0x5fe500);break;}this[_0x3653c6(0x1d0)]>0x14&&this[_0x3653c6(0x1bf)](this[_0x3653c6(0x1c8)]),this[_0x3653c6(0x1cd)]();}),this['on'](_0x383f00(0x1bf),()=>{const _0x4f6ada=_0x383f00;this[_0x4f6ada(0x1cd)]();});}[_0x2d7c91(0x1cc)](){const _0x1fedfa=_0x2d7c91,_0x3cf8e4=sessionStorage[_0x1fedfa(0x1c3)](cs)||'[]';this[_0x1fedfa(0x1c9)](JSON[_0x1fedfa(0x1bb)](_0x3cf8e4));}[_0x2d7c91(0x1cd)](){const _0x53f5c1=_0x2d7c91;sessionStorage[_0x53f5c1(0x1d3)](cs,JSON[_0x53f5c1(0x1be)](this[_0x53f5c1(0x1c4)](_0x37a424=>_0x37a424)));}}function Ss(_0x1b4b3f){const _0x2fb5b4=_0x2d7c91;return _0x1b4b3f[_0x2fb5b4(0x1ba)]()[_0x2fb5b4(0x1c7)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4193ab=_0x2b38;(function(_0x2696f1,_0x17f1df){const _0x926c72=_0x2b38,_0x540eec=_0x2696f1();while(!![]){try{const _0x1d7af6=parseInt(_0x926c72(0x13d))/0x1+-parseInt(_0x926c72(0x13f))/0x2*(parseInt(_0x926c72(0x125))/0x3)+-parseInt(_0x926c72(0x12b))/0x4*(parseInt(_0x926c72(0x131))/0x5)+-parseInt(_0x926c72(0x130))/0x6*(-parseInt(_0x926c72(0x138))/0x7)+parseInt(_0x926c72(0x11b))/0x8+parseInt(_0x926c72(0x122))/0x9+parseInt(_0x926c72(0x139))/0xa;if(_0x1d7af6===_0x17f1df)break;else _0x540eec['push'](_0x540eec['shift']());}catch(_0x3e1647){_0x540eec['push'](_0x540eec['shift']());}}}(_0x5667,0x5cfa0));function _0x5667(){const _0x69f653=['custom','isCollapsed','selection','concat','get','14KqyIgj','1856320WgiczG','getFirstRange','commands','add','703442AdIAOo','plugins','61482lPZfgn','config','_commandDefinitions','change:isEnabled','getRanges','name','showUI','isEnabled','refresh','from','2796696kZPDwT','getItems','change:_hasContext','model','execute','hasContent','enabledCommandsIds','1047672fufdFZ','editor','document','69BzaxfW','_hasContext','includes','set','ai.aiAssistant.disabledElements','requiresContent','721372wiCluq','getSelectedBlocks','reduce','length','element','1362534MeRGKD','20ZQIQhR','isEmpty'];_0x5667=function(){return _0x69f653;};return _0x5667();}import{Command as _0x167b1c}from'ckeditor5/src/core.js';function _0x2b38(_0xae4e79,_0x11c11e){const _0x566701=_0x5667();return _0x2b38=function(_0x2b3831,_0x22d5b4){_0x2b3831=_0x2b3831-0x119;let _0x2f5a4d=_0x566701[_0x2b3831];return _0x2f5a4d;},_0x2b38(_0xae4e79,_0x11c11e);}import _0x124ffb from'../aiassistantui.js';export default class j extends _0x167b1c{constructor(_0x3a12f1,_0x4600b7){const _0x9e2641=_0x2b38;super(_0x3a12f1),this[_0x9e2641(0x141)]=_0x4600b7?_0x4600b7[_0x9e2641(0x12d)]((_0x656d5f,_0x4d5265)=>_0x656d5f[_0x9e2641(0x136)](_0x4d5265[_0x9e2641(0x13b)]),new Array()):[],this[_0x9e2641(0x128)](_0x9e2641(0x121),[]),this['on'](_0x9e2641(0x11d),(_0x5352a3,_0x2fc676,_0x21bd76)=>{const _0x551299=_0x9e2641;this[_0x551299(0x146)]&&(this[_0x551299(0x121)]=G(this[_0x551299(0x141)],_0x21bd76));}),this[_0x9e2641(0x128)](_0x9e2641(0x126),!0x1),this['on'](_0x9e2641(0x142),(_0x9b9207,_0x1ee06b,_0x81976c)=>{const _0x3769e0=_0x9e2641;this[_0x3769e0(0x121)]=_0x81976c?G(this[_0x3769e0(0x141)],this[_0x3769e0(0x126)]):[];});}[_0x4193ab(0x119)](){const _0x1fe5a0=_0x4193ab,_0x4f5900=this[_0x1fe5a0(0x123)][_0x1fe5a0(0x11e)];this[_0x1fe5a0(0x126)]=function(_0x159a4d){const _0x530561=_0x1fe5a0,_0x5c7a81=_0x159a4d[_0x530561(0x124)][_0x530561(0x135)];return _0x5c7a81[_0x530561(0x134)]?0x0!==[..._0x5c7a81[_0x530561(0x12c)]()][_0x530561(0x12e)]&&![..._0x5c7a81[_0x530561(0x12c)]()][0x0][_0x530561(0x132)]:!!_0x159a4d[_0x530561(0x120)](_0x5c7a81[_0x530561(0x13a)]());}(_0x4f5900);const _0x51cdde=_0x4f5900[_0x1fe5a0(0x124)][_0x1fe5a0(0x135)],_0x3d6bae=this[_0x1fe5a0(0x123)][_0x1fe5a0(0x140)][_0x1fe5a0(0x137)](_0x1fe5a0(0x129));for(const _0xb46e99 of _0x51cdde[_0x1fe5a0(0x143)]())for(const _0xd2a4a7 of _0xb46e99[_0x1fe5a0(0x11c)]())if(_0xd2a4a7['is'](_0x1fe5a0(0x12f))&&_0x3d6bae[_0x1fe5a0(0x127)](_0xd2a4a7[_0x1fe5a0(0x144)]))return void(this[_0x1fe5a0(0x146)]=!0x1);this[_0x1fe5a0(0x146)]=!0x0;}[_0x4193ab(0x11f)](_0xe9813f='',_0x1c8800='',_0x824398=_0x4193ab(0x133)){const _0x1933c2=_0x4193ab;this[_0x1933c2(0x123)][_0x1933c2(0x13e)][_0x1933c2(0x137)](_0x124ffb)[_0x1933c2(0x145)](_0xe9813f,_0x1c8800,_0x824398);}}function G(_0x5ea519,_0x40586){const _0x4affc6=_0x4193ab,_0x3c2fa2=new Set();for(const _0x3da03e of _0x5ea519)(_0x40586||!0x1===_0x3da03e[_0x4affc6(0x12a)])&&_0x3c2fa2[_0x4affc6(0x13c)](_0x3da03e['id']);return Array[_0x4affc6(0x11a)](_0x3c2fa2);}
23
+ const _0x4d7cc9=_0x3735;(function(_0x3893c9,_0x32ca1f){const _0x46ab9e=_0x3735,_0x587920=_0x3893c9();while(!![]){try{const _0x38bdb2=parseInt(_0x46ab9e(0x147))/0x1+-parseInt(_0x46ab9e(0x151))/0x2+-parseInt(_0x46ab9e(0x15c))/0x3*(parseInt(_0x46ab9e(0x145))/0x4)+parseInt(_0x46ab9e(0x140))/0x5*(-parseInt(_0x46ab9e(0x13e))/0x6)+parseInt(_0x46ab9e(0x14c))/0x7*(parseInt(_0x46ab9e(0x15d))/0x8)+parseInt(_0x46ab9e(0x150))/0x9+parseInt(_0x46ab9e(0x14f))/0xa;if(_0x38bdb2===_0x32ca1f)break;else _0x587920['push'](_0x587920['shift']());}catch(_0x5789b4){_0x587920['push'](_0x587920['shift']());}}}(_0x5a88,0xba6a8));import{Command as _0x1c52ec}from'ckeditor5/src/core.js';import _0x2b05c7 from'../aiassistantui.js';function _0x3735(_0x202e01,_0x3e26c6){const _0x5a88f3=_0x5a88();return _0x3735=function(_0x3735c3,_0x15e8e3){_0x3735c3=_0x3735c3-0x13d;let _0x3c00a1=_0x5a88f3[_0x3735c3];return _0x3c00a1;},_0x3735(_0x202e01,_0x3e26c6);}function _0x5a88(){const _0x2052fb=['model','41970FRHYkQ','config','custom','getRanges','enabledCommandsIds','604SnmDwL','showUI','845095aXuvJT','set','_hasContext','plugins','refresh','476FSYkCB','length','change:isEnabled','13999420tQoPLX','4895361LKYvrJ','3053696GDeuHu','selection','reduce','concat','isEmpty','getSelectedBlocks','commands','requiresContent','element','getFirstRange','hasContent','2634MzfKQF','6320VnoAMy','document','ai.aiAssistant.disabledElements','name','editor','getItems','from','get','_commandDefinitions','change:_hasContext','add','isCollapsed','includes','isEnabled','execute','300sGbXmi'];_0x5a88=function(){return _0x2052fb;};return _0x5a88();}export default class j extends _0x1c52ec{constructor(_0x4dc178,_0x185350){const _0x5156c0=_0x3735;super(_0x4dc178),this[_0x5156c0(0x165)]=_0x185350?_0x185350[_0x5156c0(0x153)]((_0x5145ee,_0x232a59)=>_0x5145ee[_0x5156c0(0x154)](_0x232a59[_0x5156c0(0x157)]),new Array()):[],this[_0x5156c0(0x148)](_0x5156c0(0x144),[]),this['on'](_0x5156c0(0x166),(_0x55bc10,_0x2e8b14,_0x35dbcc)=>{const _0x7a7940=_0x5156c0;this[_0x7a7940(0x16a)]&&(this[_0x7a7940(0x144)]=K(this[_0x7a7940(0x165)],_0x35dbcc));}),this[_0x5156c0(0x148)](_0x5156c0(0x149),!0x1),this['on'](_0x5156c0(0x14e),(_0x5cafbe,_0x284640,_0x7889aa)=>{const _0x357402=_0x5156c0;this[_0x357402(0x144)]=_0x7889aa?K(this[_0x357402(0x165)],this[_0x357402(0x149)]):[];});}[_0x4d7cc9(0x14b)](){const _0x4f4e7d=_0x4d7cc9,_0xdf7178=this[_0x4f4e7d(0x161)][_0x4f4e7d(0x13f)];this[_0x4f4e7d(0x149)]=function(_0xb3d31c){const _0x456d22=_0x4f4e7d,_0x491a3b=_0xb3d31c[_0x456d22(0x15e)][_0x456d22(0x152)];return _0x491a3b[_0x456d22(0x168)]?0x0!==[..._0x491a3b[_0x456d22(0x156)]()][_0x456d22(0x14d)]&&![..._0x491a3b[_0x456d22(0x156)]()][0x0][_0x456d22(0x155)]:!!_0xb3d31c[_0x456d22(0x15b)](_0x491a3b[_0x456d22(0x15a)]());}(_0xdf7178);const _0x1852fa=_0xdf7178[_0x4f4e7d(0x15e)][_0x4f4e7d(0x152)],_0xa3c2bd=this[_0x4f4e7d(0x161)][_0x4f4e7d(0x141)][_0x4f4e7d(0x164)](_0x4f4e7d(0x15f));for(const _0xafdd35 of _0x1852fa[_0x4f4e7d(0x143)]())for(const _0x1e7ebc of _0xafdd35[_0x4f4e7d(0x162)]())if(_0x1e7ebc['is'](_0x4f4e7d(0x159))&&_0xa3c2bd[_0x4f4e7d(0x169)](_0x1e7ebc[_0x4f4e7d(0x160)]))return void(this[_0x4f4e7d(0x16a)]=!0x1);this[_0x4f4e7d(0x16a)]=!0x0;}[_0x4d7cc9(0x13d)](_0x1b8df5='',_0x680d59='',_0x1e3975=_0x4d7cc9(0x142)){const _0x1d10ae=_0x4d7cc9;this[_0x1d10ae(0x161)][_0x1d10ae(0x14a)][_0x1d10ae(0x164)](_0x2b05c7)[_0x1d10ae(0x146)](_0x1b8df5,_0x680d59,_0x1e3975);}}function K(_0x4e40f9,_0x4d0b54){const _0x68819b=_0x4d7cc9,_0x131f93=new Set();for(const _0x28ffcf of _0x4e40f9)(_0x4d0b54||!0x1===_0x28ffcf[_0x68819b(0x158)])&&_0x131f93[_0x68819b(0x167)](_0x28ffcf['id']);return Array[_0x68819b(0x163)](_0x131f93);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x49300c,_0x31813e,_0x2dc0f8){const t=_0x49300c['t'];switch(_0x31813e){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',_0x2dc0f8);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'},_0x2dc0f8);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 _0x31813e;}}
23
+ export function getTranslation(_0x556b5f,_0x52829b,_0x1d088b){const t=_0x556b5f['t'];switch(_0x52829b){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',_0x1d088b);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',_0x1d088b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1d088b);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'},_0x1d088b);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 _0x52829b;}}