@ckeditor/ckeditor5-ai 45.2.1-alpha.3 → 45.2.1-alpha.5

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 (170) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x710a(){const _0xe0fc5e=['465945uPkoDY','ck-ai-form__submit','execute','Submit','bind','844812aeVMun','ck-ai-form__toggle-history','2911725dybsYc','uiLanguageDirection','set','filteredView','style','showHistoryButtonView','344292TOWgLq','target','History','enter','focusFirst','value','fieldWrapperChildren','isEmpty','submit','update','keystrokes','children','element','63vbDyMV','281832ssAHsV','left','12897016rpXnbT','isEnabled','width','465514KYWjzL','_createShowHistoryButton','window','add','focusLast','resultsView','right','requestAnimationFrame','locale','rtl','focusCycler','queryView','focus','render','submitButtonView','minRows','isOn','focusableChildren','fire','maxRows','fieldView','isVisible','_createSubmitButton','excludeScrollbarsAndBorders'];_0x710a=function(){return _0xe0fc5e;};return _0x710a();}function _0x3384(_0x3ed802,_0x500747){const _0x710a57=_0x710a();return _0x3384=function(_0x33844c,_0x52a2b3){_0x33844c=_0x33844c-0x1d5;let _0x3f5626=_0x710a57[_0x33844c];return _0x3f5626;},_0x3384(_0x3ed802,_0x500747);}const _0x351f81=_0x3384;(function(_0x4e44d8,_0x5a70c6){const _0x4d7c7b=_0x3384,_0x3895de=_0x4e44d8();while(!![]){try{const _0x2d9ccd=parseInt(_0x4d7c7b(0x1fe))/0x1+-parseInt(_0x4d7c7b(0x1e3))/0x2+-parseInt(_0x4d7c7b(0x1de))/0x3+-parseInt(_0x4d7c7b(0x1eb))/0x4+-parseInt(_0x4d7c7b(0x1e5))/0x5+parseInt(_0x4d7c7b(0x1f9))/0x6*(-parseInt(_0x4d7c7b(0x1f8))/0x7)+parseInt(_0x4d7c7b(0x1fb))/0x8;if(_0x2d9ccd===_0x5a70c6)break;else _0x3895de['push'](_0x3895de['shift']());}catch(_0x24aa12){_0x3895de['push'](_0x3895de['shift']());}}}(_0x710a,0x63cb2));import{Rect as _0xef6354,global as _0x2d6e7e,isVisible as _0x2a7dbb}from'ckeditor5/src/utils.js';import{IconHistory as _0x2589a7,IconSubmit as _0x83a2c}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x3f2519,ButtonView as _0x221e7d}from'ckeditor5/src/ui.js';import{getTranslation as _0x533407}from'../../utils/common-translations.js';export default class ct extends _0x3f2519{[_0x351f81(0x20c)];[_0x351f81(0x1ea)];constructor(_0xf1d739,_0x47b3ad){const _0xe64d9d=_0x351f81;super(_0xf1d739,_0x47b3ad),this[_0xe64d9d(0x209)][_0xe64d9d(0x1da)][_0xe64d9d(0x1d5)]=0x1,this[_0xe64d9d(0x209)][_0xe64d9d(0x1da)][_0xe64d9d(0x1d9)]=0x3,this[_0xe64d9d(0x20c)]=this[_0xe64d9d(0x1dc)](),this[_0xe64d9d(0x1ea)]=this[_0xe64d9d(0x1ff)](),this[_0xe64d9d(0x1d7)][_0xe64d9d(0x201)](this[_0xe64d9d(0x1ea)],0x1),this[_0xe64d9d(0x1d7)][_0xe64d9d(0x201)](this[_0xe64d9d(0x20c)]);}[_0x351f81(0x20b)](){const _0x9ecf61=_0x351f81;super[_0x9ecf61(0x20b)](),this[_0x9ecf61(0x209)][_0x9ecf61(0x1f1)][_0x9ecf61(0x201)](this[_0x9ecf61(0x1ea)]),this[_0x9ecf61(0x1f6)][_0x9ecf61(0x201)](this[_0x9ecf61(0x20c)]),this[_0x9ecf61(0x1f5)][_0x9ecf61(0x1e7)](_0x9ecf61(0x1ee),(_0x45903c,_0x59a4a1)=>{const _0x506a20=_0x9ecf61;_0x45903c[_0x506a20(0x1ec)]==this[_0x506a20(0x209)][_0x506a20(0x1da)][_0x506a20(0x1f7)]&&(this[_0x506a20(0x1f3)](),_0x59a4a1());});}[_0x351f81(0x1dc)](){const _0x471c3c=_0x351f81,_0x4dba96=new _0x221e7d(this[_0x471c3c(0x206)]),_0x3eb7cc=this[_0x471c3c(0x206)];return _0x4dba96[_0x471c3c(0x1e7)]({'icon':_0x83a2c,'label':_0x533407(_0x3eb7cc,_0x471c3c(0x1e1)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x471c3c(0x1df)}),_0x4dba96['on'](_0x471c3c(0x1e0),()=>{const _0x123af2=_0x471c3c;this[_0x123af2(0x1f3)]();}),_0x4dba96[_0x471c3c(0x1e2)](_0x471c3c(0x1fc))['to'](this[_0x471c3c(0x209)][_0x471c3c(0x1da)],_0x471c3c(0x1f2),this,_0x471c3c(0x1fc),(_0x3bf04b,_0x24b64a)=>!_0x3bf04b&&_0x24b64a),_0x4dba96;}[_0x351f81(0x1ff)](){const _0x36f5c8=_0x351f81,_0x43790e=new _0x221e7d(this[_0x36f5c8(0x206)]),_0xf69910=this[_0x36f5c8(0x203)],_0x10c7d1=this[_0x36f5c8(0x206)];_0x43790e[_0x36f5c8(0x1e7)]({'label':_0x533407(_0x10c7d1,_0x36f5c8(0x1ed)),'withText':!0x1,'icon':_0x2589a7,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x36f5c8(0x1e4)}),_0x43790e[_0x36f5c8(0x1e2)](_0x36f5c8(0x1d6))['to'](_0xf69910,_0x36f5c8(0x1db)),_0x43790e[_0x36f5c8(0x1e2)](_0x36f5c8(0x1fc))['to'](this,_0x36f5c8(0x1fc)),_0x43790e['on'](_0x36f5c8(0x1e0),()=>{const _0x27e236=_0x36f5c8;_0xf69910[_0x27e236(0x1db)]=!_0xf69910[_0x27e236(0x1db)],_0xf69910[_0x27e236(0x1db)]?this[_0x27e236(0x1e8)][_0x27e236(0x20a)]():this[_0x27e236(0x20a)]();});const _0x5b66ed=()=>{const _0x3acda2=_0x36f5c8;_0x2d6e7e[_0x3acda2(0x200)][_0x3acda2(0x205)](()=>{const _0x32b9f7=_0x3acda2;if(_0x2a7dbb(this[_0x32b9f7(0x1f7)])){const _0x49a279=new _0xef6354(this[_0x32b9f7(0x209)][_0x32b9f7(0x1da)][_0x32b9f7(0x1f7)]),_0x52e929=_0x49a279[_0x32b9f7(0x1fd)],_0x24b67c=_0x32b9f7(0x207)===_0x10c7d1[_0x32b9f7(0x1e6)]?_0x32b9f7(0x1fa):_0x32b9f7(0x204);_0x49a279[_0x32b9f7(0x1dd)](),_0x43790e[_0x32b9f7(0x1f7)][_0x32b9f7(0x1e9)][_0x24b67c]=_0x52e929-_0x49a279[_0x32b9f7(0x1fd)]+0x1+'px';}});};return this[_0x36f5c8(0x209)][_0x36f5c8(0x1da)]['on'](_0x36f5c8(0x1f4),_0x5b66ed),this['on'](_0x36f5c8(0x20b),_0x5b66ed),_0x43790e;}[_0x351f81(0x1f3)](){const _0x3e7b2f=_0x351f81,_0x43dd5e=this[_0x3e7b2f(0x209)][_0x3e7b2f(0x1da)][_0x3e7b2f(0x1f7)][_0x3e7b2f(0x1f0)];this[_0x3e7b2f(0x1d8)](_0x3e7b2f(0x1f3),_0x43dd5e);}[_0x351f81(0x20a)](_0x262c21){const _0x31127c=_0x351f81;-0x1===_0x262c21?this[_0x31127c(0x208)][_0x31127c(0x202)]():this[_0x31127c(0x208)][_0x31127c(0x1ef)]();}}
23
+ const _0x4115f7=_0x10b4;function _0x10b4(_0x551954,_0x408385){const _0x4bead0=_0x4bea();return _0x10b4=function(_0x10b4d6,_0xfc35df){_0x10b4d6=_0x10b4d6-0x1cd;let _0x2f94d8=_0x4bead0[_0x10b4d6];return _0x2f94d8;},_0x10b4(_0x551954,_0x408385);}(function(_0x12fc49,_0x214487){const _0x1a5384=_0x10b4,_0x32d944=_0x12fc49();while(!![]){try{const _0x48278e=parseInt(_0x1a5384(0x1ef))/0x1*(-parseInt(_0x1a5384(0x1ce))/0x2)+parseInt(_0x1a5384(0x1db))/0x3+parseInt(_0x1a5384(0x1d8))/0x4+parseInt(_0x1a5384(0x1fa))/0x5+-parseInt(_0x1a5384(0x1d6))/0x6+parseInt(_0x1a5384(0x1e7))/0x7+-parseInt(_0x1a5384(0x1e6))/0x8;if(_0x48278e===_0x214487)break;else _0x32d944['push'](_0x32d944['shift']());}catch(_0x417d2e){_0x32d944['push'](_0x32d944['shift']());}}}(_0x4bea,0xafb1d));import{Rect as _0x4654d4,global as _0x3de047,isVisible as _0x43fcda}from'ckeditor5/src/utils.js';import{IconHistory as _0x4bbace,IconSubmit as _0xc2f09f}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x5ac431,ButtonView as _0x5a1940}from'ckeditor5/src/ui.js';function _0x4bea(){const _0x10c0b5=['68194NHcKbX','style','_createSubmitButton','submit','set','left','resultsView','ck-ai-form__toggle-history','336036hcdSxP','fieldView','3024440lGDVZz','excludeScrollbarsAndBorders','fieldWrapperChildren','1737789cStyjW','focusCycler','maxRows','render','History','element','value','right','target','rtl','submitButtonView','8675696AIpWKv','4342422zPguWp','window','ck-ai-form__submit','keystrokes','update','focus','Submit','requestAnimationFrame','12uizyNv','focusableChildren','children','minRows','add','execute','uiLanguageDirection','isEnabled','fire','filteredView','width','1567790LhxWRY','queryView','isVisible','bind','focusLast','showHistoryButtonView','enter','isEmpty','isOn','locale','focusFirst','_createShowHistoryButton'];_0x4bea=function(){return _0x10c0b5;};return _0x4bea();}import{getTranslation as _0x2df670}from'../../utils/common-translations.js';export default class ct extends _0x5ac431{[_0x4115f7(0x1e5)];[_0x4115f7(0x1ff)];constructor(_0x51efc1,_0x3c8390){const _0x7769d1=_0x4115f7;super(_0x51efc1,_0x3c8390),this[_0x7769d1(0x1fb)][_0x7769d1(0x1d7)][_0x7769d1(0x1f2)]=0x1,this[_0x7769d1(0x1fb)][_0x7769d1(0x1d7)][_0x7769d1(0x1dd)]=0x3,this[_0x7769d1(0x1e5)]=this[_0x7769d1(0x1d0)](),this[_0x7769d1(0x1ff)]=this[_0x7769d1(0x1cd)](),this[_0x7769d1(0x1f0)][_0x7769d1(0x1f3)](this[_0x7769d1(0x1ff)],0x1),this[_0x7769d1(0x1f0)][_0x7769d1(0x1f3)](this[_0x7769d1(0x1e5)]);}[_0x4115f7(0x1de)](){const _0x2a82b8=_0x4115f7;super[_0x2a82b8(0x1de)](),this[_0x2a82b8(0x1fb)][_0x2a82b8(0x1da)][_0x2a82b8(0x1f3)](this[_0x2a82b8(0x1ff)]),this[_0x2a82b8(0x1f1)][_0x2a82b8(0x1f3)](this[_0x2a82b8(0x1e5)]),this[_0x2a82b8(0x1ea)][_0x2a82b8(0x1d2)](_0x2a82b8(0x200),(_0x3e30b4,_0xc6f417)=>{const _0x569ced=_0x2a82b8;_0x3e30b4[_0x569ced(0x1e3)]==this[_0x569ced(0x1fb)][_0x569ced(0x1d7)][_0x569ced(0x1e0)]&&(this[_0x569ced(0x1d1)](),_0xc6f417());});}[_0x4115f7(0x1d0)](){const _0x5c61a5=_0x4115f7,_0x1ef0ec=new _0x5a1940(this[_0x5c61a5(0x203)]),_0x1982dc=this[_0x5c61a5(0x203)];return _0x1ef0ec[_0x5c61a5(0x1d2)]({'icon':_0xc2f09f,'label':_0x2df670(_0x1982dc,_0x5c61a5(0x1ed)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5c61a5(0x1e9)}),_0x1ef0ec['on'](_0x5c61a5(0x1f4),()=>{const _0x4a71df=_0x5c61a5;this[_0x4a71df(0x1d1)]();}),_0x1ef0ec[_0x5c61a5(0x1fd)](_0x5c61a5(0x1f6))['to'](this[_0x5c61a5(0x1fb)][_0x5c61a5(0x1d7)],_0x5c61a5(0x201),this,_0x5c61a5(0x1f6),(_0x4e4906,_0x461e87)=>!_0x4e4906&&_0x461e87),_0x1ef0ec;}[_0x4115f7(0x1cd)](){const _0x16c197=_0x4115f7,_0x2beb9d=new _0x5a1940(this[_0x16c197(0x203)]),_0x4a16e4=this[_0x16c197(0x1d4)],_0x18d0dc=this[_0x16c197(0x203)];_0x2beb9d[_0x16c197(0x1d2)]({'label':_0x2df670(_0x18d0dc,_0x16c197(0x1df)),'withText':!0x1,'icon':_0x4bbace,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x16c197(0x1d5)}),_0x2beb9d[_0x16c197(0x1fd)](_0x16c197(0x202))['to'](_0x4a16e4,_0x16c197(0x1fc)),_0x2beb9d[_0x16c197(0x1fd)](_0x16c197(0x1f6))['to'](this,_0x16c197(0x1f6)),_0x2beb9d['on'](_0x16c197(0x1f4),()=>{const _0x204934=_0x16c197;_0x4a16e4[_0x204934(0x1fc)]=!_0x4a16e4[_0x204934(0x1fc)],_0x4a16e4[_0x204934(0x1fc)]?this[_0x204934(0x1f8)][_0x204934(0x1ec)]():this[_0x204934(0x1ec)]();});const _0x2d0bf3=()=>{const _0x12982a=_0x16c197;_0x3de047[_0x12982a(0x1e8)][_0x12982a(0x1ee)](()=>{const _0x355d17=_0x12982a;if(_0x43fcda(this[_0x355d17(0x1e0)])){const _0x581ac3=new _0x4654d4(this[_0x355d17(0x1fb)][_0x355d17(0x1d7)][_0x355d17(0x1e0)]),_0x53dd06=_0x581ac3[_0x355d17(0x1f9)],_0x345e63=_0x355d17(0x1e4)===_0x18d0dc[_0x355d17(0x1f5)]?_0x355d17(0x1d3):_0x355d17(0x1e2);_0x581ac3[_0x355d17(0x1d9)](),_0x2beb9d[_0x355d17(0x1e0)][_0x355d17(0x1cf)][_0x345e63]=_0x53dd06-_0x581ac3[_0x355d17(0x1f9)]+0x1+'px';}});};return this[_0x16c197(0x1fb)][_0x16c197(0x1d7)]['on'](_0x16c197(0x1eb),_0x2d0bf3),this['on'](_0x16c197(0x1de),_0x2d0bf3),_0x2beb9d;}[_0x4115f7(0x1d1)](){const _0x9f905c=_0x4115f7,_0xf0e672=this[_0x9f905c(0x1fb)][_0x9f905c(0x1d7)][_0x9f905c(0x1e0)][_0x9f905c(0x1e1)];this[_0x9f905c(0x1f7)](_0x9f905c(0x1d1),_0xf0e672);}[_0x4115f7(0x1ec)](_0x8a9e4d){const _0x17a252=_0x4115f7;-0x1===_0x8a9e4d?this[_0x17a252(0x1dc)][_0x17a252(0x1fe)]():this[_0x17a252(0x1dc)][_0x17a252(0x204)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x374306=_0x43a6;function _0xb607(){const _0x129e1a=['replace','locale','ck-hidden','insert','26636511HqwOPP','6vqXXOY','10912600AhRwfc','label','Insert\x20below','14LdsgIz','ck-ai-form__toolbar','REPLACE','297jToRRe','insertButton','extendTemplate','items','40ygeNCe','bind','isVisible','stopButton','8447910sAjbeI','replaceButton','addMany','ck-button-action','Try\x20again','mainAction','207398pBLYIx','tryAgainButton','toUpperCase','AI_','bindTemplate','_CONTENT','98910WEbNTv','10359034zkSkPc','set','Stop','268899eqcDms','_createButton'];_0xb607=function(){return _0x129e1a;};return _0xb607();}function _0x43a6(_0xfa92e8,_0x511784){const _0xb6079f=_0xb607();return _0x43a6=function(_0x43a66e,_0x479bf4){_0x43a66e=_0x43a66e-0x136;let _0x412d70=_0xb6079f[_0x43a66e];return _0x412d70;},_0x43a6(_0xfa92e8,_0x511784);}(function(_0x55a19b,_0x2b87a5){const _0x7cae2a=_0x43a6,_0x199e45=_0x55a19b();while(!![]){try{const _0x12afd8=parseInt(_0x7cae2a(0x14f))/0x1*(parseInt(_0x7cae2a(0x13a))/0x2)+parseInt(_0x7cae2a(0x144))/0x3*(-parseInt(_0x7cae2a(0x156))/0x4)+-parseInt(_0x7cae2a(0x15a))/0x5+parseInt(_0x7cae2a(0x14b))/0x6*(-parseInt(_0x7cae2a(0x141))/0x7)+parseInt(_0x7cae2a(0x14c))/0x8+parseInt(_0x7cae2a(0x152))/0x9*(-parseInt(_0x7cae2a(0x140))/0xa)+parseInt(_0x7cae2a(0x14a))/0xb;if(_0x12afd8===_0x2b87a5)break;else _0x199e45['push'](_0x199e45['shift']());}catch(_0x2fb803){_0x199e45['push'](_0x199e45['shift']());}}}(_0xb607,0xce581));import{ToolbarView as _0x3879f8,ButtonView as _0x4af826}from'ckeditor5/src/ui.js';import{getTranslation as _0x3a3b19}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x374306(0x146),'INSERT':_0x374306(0x149)};export default class lt extends _0x3879f8{constructor(_0x1c1a4c){const _0x4fab66=_0x374306;super(_0x1c1a4c),this[_0x4fab66(0x142)](_0x4fab66(0x158),!0x1),this[_0x4fab66(0x142)](_0x4fab66(0x139),AIFormToolbarViewMainActionLabel[_0x4fab66(0x151)]),this[_0x4fab66(0x15b)]=this[_0x4fab66(0x145)]('',_0x4fab66(0x137)),this[_0x4fab66(0x15b)][_0x4fab66(0x157)](_0x4fab66(0x14d))['to'](this,_0x4fab66(0x139),_0x382b54=>_0x3a3b19(_0x1c1a4c,_0x4fab66(0x13d)+_0x382b54[_0x4fab66(0x13c)]()+_0x4fab66(0x13f))),this[_0x4fab66(0x153)]=this[_0x4fab66(0x145)](_0x3a3b19(_0x1c1a4c,_0x4fab66(0x14e))),this[_0x4fab66(0x13b)]=this[_0x4fab66(0x145)](_0x3a3b19(_0x1c1a4c,_0x4fab66(0x138))),this[_0x4fab66(0x159)]=this[_0x4fab66(0x145)](_0x3a3b19(_0x1c1a4c,_0x4fab66(0x143)));const _0x2d5c07=this[_0x4fab66(0x13e)];this[_0x4fab66(0x154)]({'attributes':{'class':[_0x4fab66(0x150),_0x2d5c07['if'](_0x4fab66(0x158),_0x4fab66(0x148),_0x298b1b=>!_0x298b1b)]}}),this[_0x4fab66(0x155)][_0x4fab66(0x136)]([this[_0x4fab66(0x15b)],this[_0x4fab66(0x153)],this[_0x4fab66(0x13b)],this[_0x4fab66(0x159)]]);}[_0x374306(0x145)](_0x38db53,_0x208d1){const _0x262517=_0x374306,_0x541ba2=new _0x4af826(this[_0x262517(0x147)]);return _0x541ba2[_0x262517(0x142)]({'label':_0x38db53,'class':_0x208d1||'','isVisible':!0x0,'withText':!0x0}),_0x541ba2;}}
23
+ const _0x2b9069=_0x29e5;(function(_0x553c9f,_0x4bc1b2){const _0x45425d=_0x29e5,_0x444283=_0x553c9f();while(!![]){try{const _0x4cdaa4=parseInt(_0x45425d(0xf9))/0x1+parseInt(_0x45425d(0x10b))/0x2*(parseInt(_0x45425d(0xf4))/0x3)+parseInt(_0x45425d(0xf8))/0x4*(parseInt(_0x45425d(0x109))/0x5)+parseInt(_0x45425d(0xfc))/0x6+parseInt(_0x45425d(0x10e))/0x7*(-parseInt(_0x45425d(0x10f))/0x8)+parseInt(_0x45425d(0x110))/0x9+parseInt(_0x45425d(0x10c))/0xa*(-parseInt(_0x45425d(0xf5))/0xb);if(_0x4cdaa4===_0x4bc1b2)break;else _0x444283['push'](_0x444283['shift']());}catch(_0x158506){_0x444283['push'](_0x444283['shift']());}}}(_0x1b21,0x4a315));import{ToolbarView as _0x3a73d5,ButtonView as _0xdb6b0a}from'ckeditor5/src/ui.js';function _0x29e5(_0x3e44c2,_0x295fd3){const _0x1b21e3=_0x1b21();return _0x29e5=function(_0x29e50b,_0x337cad){_0x29e50b=_0x29e50b-0xed;let _0x49f2bb=_0x1b21e3[_0x29e50b];return _0x49f2bb;},_0x29e5(_0x3e44c2,_0x295fd3);}import{getTranslation as _0x224e08}from'../../utils/common-translations.js';function _0x1b21(){const _0x4819ec=['6kdZRqg','150oEaTLb','isVisible','49UWbxQj','620552oIBPag','2909430gwjsrc','label','insertButton','mainAction','_CONTENT','replaceButton','items','ck-button-action','bindTemplate','insert','202104wxmaGF','365453sGjYHh','ck-hidden','toUpperCase','1050696LbvAov','112441ablDHk','Stop','ck-ai-form__toolbar','2668392htoCZy','replace','bind','locale','AI_','tryAgainButton','addMany','set','stopButton','Try\x20again','Insert\x20below','_createButton','extendTemplate','5WfIUhb','REPLACE'];_0x1b21=function(){return _0x4819ec;};return _0x1b21();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2b9069(0xfd),'INSERT':_0x2b9069(0xf3)};export default class lt extends _0x3a73d5{constructor(_0xb36389){const _0xcd2c85=_0x2b9069;super(_0xb36389),this[_0xcd2c85(0x103)](_0xcd2c85(0x10d),!0x1),this[_0xcd2c85(0x103)](_0xcd2c85(0xed),AIFormToolbarViewMainActionLabel[_0xcd2c85(0x10a)]),this[_0xcd2c85(0xef)]=this[_0xcd2c85(0x107)]('',_0xcd2c85(0xf1)),this[_0xcd2c85(0xef)][_0xcd2c85(0xfe)](_0xcd2c85(0x111))['to'](this,_0xcd2c85(0xed),_0xa0ca88=>_0x224e08(_0xb36389,_0xcd2c85(0x100)+_0xa0ca88[_0xcd2c85(0xf7)]()+_0xcd2c85(0xee))),this[_0xcd2c85(0x112)]=this[_0xcd2c85(0x107)](_0x224e08(_0xb36389,_0xcd2c85(0x106))),this[_0xcd2c85(0x101)]=this[_0xcd2c85(0x107)](_0x224e08(_0xb36389,_0xcd2c85(0x105))),this[_0xcd2c85(0x104)]=this[_0xcd2c85(0x107)](_0x224e08(_0xb36389,_0xcd2c85(0xfa)));const _0x26af2a=this[_0xcd2c85(0xf2)];this[_0xcd2c85(0x108)]({'attributes':{'class':[_0xcd2c85(0xfb),_0x26af2a['if'](_0xcd2c85(0x10d),_0xcd2c85(0xf6),_0x37f3fb=>!_0x37f3fb)]}}),this[_0xcd2c85(0xf0)][_0xcd2c85(0x102)]([this[_0xcd2c85(0xef)],this[_0xcd2c85(0x112)],this[_0xcd2c85(0x101)],this[_0xcd2c85(0x104)]]);}[_0x2b9069(0x107)](_0x509535,_0x41119c){const _0x12b5ae=_0x2b9069,_0x9344ba=new _0xdb6b0a(this[_0x12b5ae(0xff)]);return _0x9344ba[_0x12b5ae(0x103)]({'label':_0x509535,'class':_0x41119c||'','isVisible':!0x0,'withText':!0x0}),_0x9344ba;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x401629=_0x5ad8;(function(_0x9c763c,_0x249764){const _0x47ec27=_0x5ad8,_0x26ffb5=_0x9c763c();while(!![]){try{const _0x2ad858=parseInt(_0x47ec27(0x12c))/0x1+-parseInt(_0x47ec27(0x109))/0x2+parseInt(_0x47ec27(0x131))/0x3*(parseInt(_0x47ec27(0x13c))/0x4)+-parseInt(_0x47ec27(0x129))/0x5*(parseInt(_0x47ec27(0x14d))/0x6)+parseInt(_0x47ec27(0x11a))/0x7*(parseInt(_0x47ec27(0x14e))/0x8)+-parseInt(_0x47ec27(0x103))/0x9+-parseInt(_0x47ec27(0x144))/0xa;if(_0x2ad858===_0x249764)break;else _0x26ffb5['push'](_0x26ffb5['shift']());}catch(_0x2f7645){_0x26ffb5['push'](_0x26ffb5['shift']());}}}(_0x53e5,0xcb3f6));import{FocusTracker as _0x5e8223,KeystrokeHandler as _0x454dc7}from'ckeditor5/src/utils.js';import{View as _0x1c7b08,FocusCycler as _0x4304e6,createLabeledTextarea as _0x17a68b}from'ckeditor5/src/ui.js';import _0x323b2f,{AIFormToolbarViewMainActionLabel as _0x534004}from'./aiformtoolbarview.js';import _0x3ca147 from'./aiformcontentarea.js';import _0x1ee167 from'./aiformerrorview.js';import _0x3f4ef3 from'./aiformpromptview.js';function _0x53e5(){const _0x146fa9=['Ask\x20AI\x20to\x20edit\x20or\x20generate','ck-ai-form','mainAction','label','tab','finishProcessing','listenTo','delegate','isError','fire','7603795LosCjT','copyButtonView','search','1577916LPNbar','tryAgainButton','submit','stopButton','_createHistoryView','24Afvbks','isProcessing','_focusables','div','element','AI_ERROR_FAILED','clear','high','focus','REPLACE','ck-hidden','597252tqLNJv','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','items','insertButton','clearHistory','stopProcessing','setTemplate','bindTemplate','7310700SYUFax','promptView','startProcessing','Empty\x20history','isEnabled','tryAgainEvent','createCollection','bindTo','_createToolbar','6MUFyae','86592yMEoKl','historyGroupView','text','chain','shift\x20+\x20tab','insertContentBelow','bind','add','replaceContent','focusLast','717894tFjZNM','handleError','focusCycler','set','_createPromptView','value','2160774ugnjNo','ck-ai-form-content','fieldView','submitPrompt','isVisible','execute','toolbar','render','contentArea','trim','focusFirst','Ask\x20AI\x20to\x20improve\x20generated\x20text','queryView','locale','errorView','replaceButton','focusTracker','952BQiuJE','prompt','_promptHistory','reset','keystrokes'];_0x53e5=function(){return _0x146fa9;};return _0x53e5();}import _0x475ff9 from'./aihistorylistview.js';import _0x341e5e from'./aihistorylistitemview.js';import _0x5a0b0a from'./prompthistory.js';import{getTranslation as _0x1b5050}from'../../utils/common-translations.js';function _0x5ad8(_0x14a6ab,_0x1125fb){const _0x53e519=_0x53e5();return _0x5ad8=function(_0x5ad8e7,_0x14c56e){_0x5ad8e7=_0x5ad8e7-0xfd;let _0x21be18=_0x53e519[_0x5ad8e7];return _0x21be18;},_0x5ad8(_0x14a6ab,_0x1125fb);}import{escape as _0x483d55}from'es-toolkit/compat';export default class _ extends _0x1c7b08{[_0x401629(0x119)];[_0x401629(0x11e)];[_0x401629(0x111)];[_0x401629(0x10f)];[_0x401629(0x145)];[_0x401629(0x117)];[_0x401629(0x133)];[_0x401629(0x105)];[_0x401629(0x11c)];constructor(_0x965b58,_0x566c3f,_0x794b8f=''){const _0x274687=_0x401629;super(_0x965b58),this[_0x274687(0x106)](_0x274687(0x148),!0x0),this[_0x274687(0x106)](_0x274687(0x132),!0x1),this[_0x274687(0x106)](_0x274687(0x11b),''),this[_0x274687(0x106)](_0x274687(0x108),''),this[_0x274687(0x106)](_0x274687(0x127),!0x1),this[_0x274687(0x106)](_0x274687(0x121),_0x534004[_0x274687(0x13a)]),this[_0x274687(0x11c)]=new _0x5a0b0a(),this[_0x274687(0x117)]=new _0x1ee167(_0x965b58),this[_0x274687(0x111)]=new _0x3ca147(_0x965b58,_0x794b8f),this[_0x274687(0x111)][_0x274687(0xff)](_0x274687(0x132))['to'](this),this[_0x274687(0x111)][_0x274687(0xff)](_0x274687(0x108))['to'](this),this[_0x274687(0x10f)]=this[_0x274687(0x14c)](),this[_0x274687(0x10f)][_0x274687(0xff)](_0x274687(0x121))['to'](this),this[_0x274687(0x145)]=this[_0x274687(0x107)](),this[_0x274687(0x119)]=new _0x5e8223(),this[_0x274687(0x11e)]=new _0x454dc7(),this[_0x274687(0x133)]=this[_0x274687(0x14a)]([this[_0x274687(0x111)],this[_0x274687(0x111)][_0x274687(0x12a)],this[_0x274687(0x10f)],this[_0x274687(0x145)]]),this[_0x274687(0x105)]=new _0x4304e6({'focusables':this[_0x274687(0x133)],'focusTracker':this[_0x274687(0x119)],'keystrokeHandler':this[_0x274687(0x11e)],'actions':{'focusPrevious':_0x274687(0xfd),'focusNext':_0x274687(0x123)}}),this[_0x274687(0x105)][_0x274687(0x151)](this[_0x274687(0x145)][_0x274687(0x105)]),this[_0x274687(0x145)][_0x274687(0x115)][_0x274687(0x10b)][_0x274687(0xff)](_0x274687(0x108))['to'](this,_0x274687(0x11b));const _0x5e2763=this[_0x274687(0x143)];this[_0x274687(0x142)]({'tag':_0x274687(0x134),'attributes':{'class':['ck',_0x274687(0x120),_0x566c3f],'tabindex':'-1'},'children':[{'tag':_0x274687(0x134),'attributes':{'class':['ck',_0x274687(0x10a)]},'children':[{'tag':_0x274687(0x134),'attributes':{'class':[_0x5e2763['if'](_0x274687(0x127),_0x274687(0x13b),_0x3c4a06=>!_0x3c4a06)]},'children':[this[_0x274687(0x117)]]},this[_0x274687(0x111)],this[_0x274687(0x10f)],this[_0x274687(0x145)]]}]});}[_0x401629(0x110)](){const _0x5817cf=_0x401629;super[_0x5817cf(0x110)](),this[_0x5817cf(0x119)][_0x5817cf(0x100)](this[_0x5817cf(0x111)][_0x5817cf(0x135)]),this[_0x5817cf(0x119)][_0x5817cf(0x100)](this[_0x5817cf(0x111)][_0x5817cf(0x12a)][_0x5817cf(0x135)]),this[_0x5817cf(0x119)][_0x5817cf(0x100)](this[_0x5817cf(0x10f)][_0x5817cf(0x135)]),this[_0x5817cf(0x119)][_0x5817cf(0x100)](this[_0x5817cf(0x145)][_0x5817cf(0x135)]),this[_0x5817cf(0x11e)][_0x5817cf(0x125)](this[_0x5817cf(0x135)]);}[_0x401629(0x139)](_0x22c335=0x1){const _0x3a6abb=_0x401629;-0x1===_0x22c335?this[_0x3a6abb(0x105)][_0x3a6abb(0x102)]():this[_0x3a6abb(0x105)][_0x3a6abb(0x113)]();}[_0x401629(0x11d)](){const _0x26ae70=_0x401629;this[_0x26ae70(0x11b)]='',this[_0x26ae70(0x108)]='',this[_0x26ae70(0x127)]=!0x1,this[_0x26ae70(0x145)][_0x26ae70(0x11d)](),this[_0x26ae70(0x111)][_0x26ae70(0x10d)]=!0x1,this[_0x26ae70(0x10f)][_0x26ae70(0x10d)]=!0x1;}[_0x401629(0x107)](){const _0xa2f9fc=_0x401629,_0x3ab383=this[_0xa2f9fc(0x116)],_0xecbb30=new _0x3f4ef3(_0x3ab383,{'queryView':{'label':_0x1b5050(_0x3ab383,_0xa2f9fc(0x11f)),'creator':_0x17a68b,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1b5050(_0x3ab383,_0xa2f9fc(0x147)),'secondary':_0x1b5050(_0x3ab383,_0xa2f9fc(0x13d))}}},'filteredView':this[_0xa2f9fc(0x130)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xecbb30[_0xa2f9fc(0xff)](_0xa2f9fc(0x148))['to'](this,_0xa2f9fc(0x148),this,_0xa2f9fc(0x132),(_0x296b10,_0x4c382d)=>_0x296b10&&!_0x4c382d),this[_0xa2f9fc(0x125)](_0xecbb30,_0xa2f9fc(0x12e),(_0x15ea24,_0x1c8e4f)=>{const _0x5a8c3d=_0xa2f9fc;this[_0x5a8c3d(0x11b)]=_0x1c8e4f;const _0x21ba0d=_0x483d55(_0x1c8e4f);this[_0x5a8c3d(0x128)](_0x5a8c3d(0x10c),_0x21ba0d),_0x1c8e4f[_0x5a8c3d(0x112)]()&&this[_0x5a8c3d(0x11c)][_0x5a8c3d(0x100)]({'prompt':_0x21ba0d},0x0);},{'priority':_0xa2f9fc(0x138)}),_0xecbb30;}[_0x401629(0x130)](){const _0x240cad=_0x401629,_0x5e6215=new _0x475ff9(this[_0x240cad(0x116)]);return _0x5e6215[_0x240cad(0x14f)][_0x240cad(0x13e)][_0x240cad(0x14b)](this[_0x240cad(0x11c)])['as'](_0x341e5e),_0x5e6215['on'](_0x240cad(0x140),()=>{const _0xee513d=_0x240cad;this[_0xee513d(0x11c)][_0xee513d(0x137)](),this[_0xee513d(0x145)][_0xee513d(0x12b)](''),this[_0xee513d(0x145)][_0xee513d(0x139)]();}),_0x5e6215;}[_0x401629(0x14c)](){const _0x96180a=_0x401629,_0x3023d7=new _0x323b2f(this[_0x96180a(0x116)]);return _0x3023d7[_0x96180a(0x118)][_0x96180a(0xff)](_0x96180a(0x148))['to'](this,_0x96180a(0x148),this,_0x96180a(0x132),this,_0x96180a(0x108),(_0x57e0c5,_0x53affd,_0x2f9ae8)=>_0x57e0c5&&!_0x53affd&&!!_0x2f9ae8),_0x3023d7[_0x96180a(0x118)][_0x96180a(0x126)](_0x96180a(0x10e))['to'](this,_0x96180a(0x101)),_0x3023d7[_0x96180a(0x13f)][_0x96180a(0xff)](_0x96180a(0x148))['to'](this,_0x96180a(0x148),this,_0x96180a(0x132),this,_0x96180a(0x108),(_0x832e69,_0x344edc,_0x21d198)=>_0x832e69&&!_0x344edc&&!!_0x21d198),_0x3023d7[_0x96180a(0x13f)][_0x96180a(0x126)](_0x96180a(0x10e))['to'](this,_0x96180a(0xfe)),_0x3023d7[_0x96180a(0x12d)][_0x96180a(0xff)](_0x96180a(0x148))['to'](this,_0x96180a(0x148),this,_0x96180a(0x132),(_0x272a51,_0x431408)=>_0x272a51&&!_0x431408),_0x3023d7[_0x96180a(0x12d)][_0x96180a(0x126)](_0x96180a(0x10e))['to'](this,_0x96180a(0x149)),_0x3023d7[_0x96180a(0x12f)][_0x96180a(0xff)](_0x96180a(0x148))['to'](this,_0x96180a(0x132)),_0x3023d7[_0x96180a(0x12f)][_0x96180a(0x126)](_0x96180a(0x10e))['to'](this,_0x96180a(0x141)),_0x3023d7;}[_0x401629(0x146)](){const _0x54c71a=_0x401629;this[_0x54c71a(0x108)]='',this[_0x54c71a(0x127)]=!0x1,this[_0x54c71a(0x132)]=!0x0,this[_0x54c71a(0x111)][_0x54c71a(0x10d)]=!0x0,this[_0x54c71a(0x10f)][_0x54c71a(0x10d)]=!0x0,this[_0x54c71a(0x111)][_0x54c71a(0x139)]();}[_0x401629(0x124)](){const _0x3f5cdd=_0x401629,_0xaf9bdb=this[_0x3f5cdd(0x116)];this[_0x3f5cdd(0x132)]=!0x1,this[_0x3f5cdd(0x11b)]='',this[_0x3f5cdd(0x145)][_0x3f5cdd(0x11d)](),this[_0x3f5cdd(0x108)]&&(this[_0x3f5cdd(0x145)][_0x3f5cdd(0x115)][_0x3f5cdd(0x122)]=_0x1b5050(_0xaf9bdb,_0x3f5cdd(0x114)));}[_0x401629(0x104)](_0x5e5df2){const _0x160f3b=_0x401629,_0x454679=this[_0x160f3b(0x116)];this[_0x160f3b(0x124)](),this[_0x160f3b(0x127)]=!0x0,this[_0x160f3b(0x117)][_0x160f3b(0x150)]=_0x5e5df2||_0x1b5050(_0x454679,_0x160f3b(0x136)),this[_0x160f3b(0x108)]||(this[_0x160f3b(0x111)][_0x160f3b(0x10d)]=!0x1);}}
23
+ const _0x4908da=_0x5cbc;(function(_0x4e512f,_0x471577){const _0xf248d3=_0x5cbc,_0x10d521=_0x4e512f();while(!![]){try{const _0x137568=parseInt(_0xf248d3(0x1d1))/0x1+parseInt(_0xf248d3(0x1fe))/0x2+parseInt(_0xf248d3(0x1d7))/0x3*(parseInt(_0xf248d3(0x1d5))/0x4)+parseInt(_0xf248d3(0x1e6))/0x5+parseInt(_0xf248d3(0x1bf))/0x6*(-parseInt(_0xf248d3(0x1f1))/0x7)+parseInt(_0xf248d3(0x1c6))/0x8*(parseInt(_0xf248d3(0x1c7))/0x9)+-parseInt(_0xf248d3(0x1c5))/0xa*(parseInt(_0xf248d3(0x1d4))/0xb);if(_0x137568===_0x471577)break;else _0x10d521['push'](_0x10d521['shift']());}catch(_0x37de0c){_0x10d521['push'](_0x10d521['shift']());}}}(_0x5aa1,0xb8f61));import{FocusTracker as _0x36fe8a,KeystrokeHandler as _0x482882}from'ckeditor5/src/utils.js';import{View as _0x704c00,FocusCycler as _0x43f4cb,createLabeledTextarea as _0x28ba01}from'ckeditor5/src/ui.js';import _0x423329,{AIFormToolbarViewMainActionLabel as _0x55c00d}from'./aiformtoolbarview.js';import _0x155743 from'./aiformcontentarea.js';function _0x5cbc(_0x10e3d1,_0x5b17f9){const _0x5aa19b=_0x5aa1();return _0x5cbc=function(_0x5cbcd6,_0xdff3fe){_0x5cbcd6=_0x5cbcd6-0x1bc;let _0x3f5a12=_0x5aa19b[_0x5cbcd6];return _0x3f5a12;},_0x5cbc(_0x10e3d1,_0x5b17f9);}import _0x31a866 from'./aiformerrorview.js';import _0x48e938 from'./aiformpromptview.js';import _0x1a7804 from'./aihistorylistview.js';function _0x5aa1(){const _0x2f2529=['focusLast','historyGroupView','add','110WnFcGI','3902312uCHaeo','27YWdAZK','reset','locale','stopButton','isProcessing','promptView','focus','submitPrompt','finishProcessing','isError','894318zvGeqE','Ask\x20AI\x20to\x20edit\x20or\x20generate','element','3178109tgAoHT','1234444OVyZDW','items','12KBZqbw','_promptHistory','_createHistoryView','execute','bindTemplate','ck-ai-form','isEnabled','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isVisible','handleError','copyButtonView','clear','bind','bindTo','focusTracker','1601275Ewnpnm','Empty\x20history','tryAgainEvent','clearHistory','tab','stopProcessing','trim','setTemplate','tryAgainButton','ck-hidden','contentArea','49MfCFrf','submit','label','text','chain','fire','replaceButton','queryView','mainAction','shift\x20+\x20tab','render','Ask\x20AI\x20to\x20improve\x20generated\x20text','prompt','760694MtClsM','_createPromptView','keystrokes','focusCycler','errorView','set','toolbar','startProcessing','fieldView','insertButton','AI_ERROR_FAILED','_createToolbar','focusFirst','high','ck-ai-form-content','value','search','div','listenTo','createCollection','delegate','replaceContent','insertContentBelow','306018EljpjF','_focusables','REPLACE'];_0x5aa1=function(){return _0x2f2529;};return _0x5aa1();}import _0x3ea118 from'./aihistorylistitemview.js';import _0x4c9694 from'./prompthistory.js';import{getTranslation as _0x1e2223}from'../../utils/common-translations.js';import{escape as _0x3b9c6b}from'es-toolkit/compat';export default class _ extends _0x704c00{[_0x4908da(0x1e5)];[_0x4908da(0x200)];[_0x4908da(0x1f0)];[_0x4908da(0x204)];[_0x4908da(0x1cc)];[_0x4908da(0x202)];[_0x4908da(0x1c0)];[_0x4908da(0x201)];[_0x4908da(0x1d8)];constructor(_0x309059,_0x3534a1,_0x57278a=''){const _0x243d02=_0x4908da;super(_0x309059),this[_0x243d02(0x203)](_0x243d02(0x1dd),!0x0),this[_0x243d02(0x203)](_0x243d02(0x1cb),!0x1),this[_0x243d02(0x203)](_0x243d02(0x1fd),''),this[_0x243d02(0x203)](_0x243d02(0x20d),''),this[_0x243d02(0x203)](_0x243d02(0x1d0),!0x1),this[_0x243d02(0x203)](_0x243d02(0x1f9),_0x55c00d[_0x243d02(0x1c1)]),this[_0x243d02(0x1d8)]=new _0x4c9694(),this[_0x243d02(0x202)]=new _0x31a866(_0x309059),this[_0x243d02(0x1f0)]=new _0x155743(_0x309059,_0x57278a),this[_0x243d02(0x1f0)][_0x243d02(0x1e3)](_0x243d02(0x1cb))['to'](this),this[_0x243d02(0x1f0)][_0x243d02(0x1e3)](_0x243d02(0x20d))['to'](this),this[_0x243d02(0x204)]=this[_0x243d02(0x209)](),this[_0x243d02(0x204)][_0x243d02(0x1e3)](_0x243d02(0x1f9))['to'](this),this[_0x243d02(0x1cc)]=this[_0x243d02(0x1ff)](),this[_0x243d02(0x1e5)]=new _0x36fe8a(),this[_0x243d02(0x200)]=new _0x482882(),this[_0x243d02(0x1c0)]=this[_0x243d02(0x211)]([this[_0x243d02(0x1f0)],this[_0x243d02(0x1f0)][_0x243d02(0x1e1)],this[_0x243d02(0x204)],this[_0x243d02(0x1cc)]]),this[_0x243d02(0x201)]=new _0x43f4cb({'focusables':this[_0x243d02(0x1c0)],'focusTracker':this[_0x243d02(0x1e5)],'keystrokeHandler':this[_0x243d02(0x200)],'actions':{'focusPrevious':_0x243d02(0x1fa),'focusNext':_0x243d02(0x1ea)}}),this[_0x243d02(0x201)][_0x243d02(0x1f5)](this[_0x243d02(0x1cc)][_0x243d02(0x201)]),this[_0x243d02(0x1cc)][_0x243d02(0x1f8)][_0x243d02(0x206)][_0x243d02(0x1e3)](_0x243d02(0x20d))['to'](this,_0x243d02(0x1fd));const _0x2cc357=this[_0x243d02(0x1db)];this[_0x243d02(0x1ed)]({'tag':_0x243d02(0x20f),'attributes':{'class':['ck',_0x243d02(0x1dc),_0x3534a1],'tabindex':'-1'},'children':[{'tag':_0x243d02(0x20f),'attributes':{'class':['ck',_0x243d02(0x20c)]},'children':[{'tag':_0x243d02(0x20f),'attributes':{'class':[_0x2cc357['if'](_0x243d02(0x1d0),_0x243d02(0x1ef),_0x14283a=>!_0x14283a)]},'children':[this[_0x243d02(0x202)]]},this[_0x243d02(0x1f0)],this[_0x243d02(0x204)],this[_0x243d02(0x1cc)]]}]});}[_0x4908da(0x1fb)](){const _0x235d7f=_0x4908da;super[_0x235d7f(0x1fb)](),this[_0x235d7f(0x1e5)][_0x235d7f(0x1c4)](this[_0x235d7f(0x1f0)][_0x235d7f(0x1d3)]),this[_0x235d7f(0x1e5)][_0x235d7f(0x1c4)](this[_0x235d7f(0x1f0)][_0x235d7f(0x1e1)][_0x235d7f(0x1d3)]),this[_0x235d7f(0x1e5)][_0x235d7f(0x1c4)](this[_0x235d7f(0x204)][_0x235d7f(0x1d3)]),this[_0x235d7f(0x1e5)][_0x235d7f(0x1c4)](this[_0x235d7f(0x1cc)][_0x235d7f(0x1d3)]),this[_0x235d7f(0x200)][_0x235d7f(0x210)](this[_0x235d7f(0x1d3)]);}[_0x4908da(0x1cd)](_0x4c03f9=0x1){const _0x3e4306=_0x4908da;-0x1===_0x4c03f9?this[_0x3e4306(0x201)][_0x3e4306(0x1c2)]():this[_0x3e4306(0x201)][_0x3e4306(0x20a)]();}[_0x4908da(0x1c8)](){const _0xbca065=_0x4908da;this[_0xbca065(0x1fd)]='',this[_0xbca065(0x20d)]='',this[_0xbca065(0x1d0)]=!0x1,this[_0xbca065(0x1cc)][_0xbca065(0x1c8)](),this[_0xbca065(0x1f0)][_0xbca065(0x1df)]=!0x1,this[_0xbca065(0x204)][_0xbca065(0x1df)]=!0x1;}[_0x4908da(0x1ff)](){const _0x2f549c=_0x4908da,_0x29c388=this[_0x2f549c(0x1c9)],_0x3f3eee=new _0x48e938(_0x29c388,{'queryView':{'label':_0x1e2223(_0x29c388,_0x2f549c(0x1d2)),'creator':_0x28ba01,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1e2223(_0x29c388,_0x2f549c(0x1e7)),'secondary':_0x1e2223(_0x29c388,_0x2f549c(0x1de))}}},'filteredView':this[_0x2f549c(0x1d9)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3f3eee[_0x2f549c(0x1e3)](_0x2f549c(0x1dd))['to'](this,_0x2f549c(0x1dd),this,_0x2f549c(0x1cb),(_0x201f58,_0x36f983)=>_0x201f58&&!_0x36f983),this[_0x2f549c(0x210)](_0x3f3eee,_0x2f549c(0x1f2),(_0x5383d9,_0x12aa12)=>{const _0x330436=_0x2f549c;this[_0x330436(0x1fd)]=_0x12aa12;const _0x5ab97a=_0x3b9c6b(_0x12aa12);this[_0x330436(0x1f6)](_0x330436(0x1ce),_0x5ab97a),_0x12aa12[_0x330436(0x1ec)]()&&this[_0x330436(0x1d8)][_0x330436(0x1c4)]({'prompt':_0x5ab97a},0x0);},{'priority':_0x2f549c(0x20b)}),_0x3f3eee;}[_0x4908da(0x1d9)](){const _0x1d3f34=_0x4908da,_0x55d8a7=new _0x1a7804(this[_0x1d3f34(0x1c9)]);return _0x55d8a7[_0x1d3f34(0x1c3)][_0x1d3f34(0x1d6)][_0x1d3f34(0x1e4)](this[_0x1d3f34(0x1d8)])['as'](_0x3ea118),_0x55d8a7['on'](_0x1d3f34(0x1e9),()=>{const _0x264cb1=_0x1d3f34;this[_0x264cb1(0x1d8)][_0x264cb1(0x1e2)](),this[_0x264cb1(0x1cc)][_0x264cb1(0x20e)](''),this[_0x264cb1(0x1cc)][_0x264cb1(0x1cd)]();}),_0x55d8a7;}[_0x4908da(0x209)](){const _0xe95442=_0x4908da,_0x5010e2=new _0x423329(this[_0xe95442(0x1c9)]);return _0x5010e2[_0xe95442(0x1f7)][_0xe95442(0x1e3)](_0xe95442(0x1dd))['to'](this,_0xe95442(0x1dd),this,_0xe95442(0x1cb),this,_0xe95442(0x20d),(_0x12bfb8,_0x3f4278,_0x58c41e)=>_0x12bfb8&&!_0x3f4278&&!!_0x58c41e),_0x5010e2[_0xe95442(0x1f7)][_0xe95442(0x1bc)](_0xe95442(0x1da))['to'](this,_0xe95442(0x1bd)),_0x5010e2[_0xe95442(0x207)][_0xe95442(0x1e3)](_0xe95442(0x1dd))['to'](this,_0xe95442(0x1dd),this,_0xe95442(0x1cb),this,_0xe95442(0x20d),(_0x4dd37e,_0x2d3230,_0x181ae5)=>_0x4dd37e&&!_0x2d3230&&!!_0x181ae5),_0x5010e2[_0xe95442(0x207)][_0xe95442(0x1bc)](_0xe95442(0x1da))['to'](this,_0xe95442(0x1be)),_0x5010e2[_0xe95442(0x1ee)][_0xe95442(0x1e3)](_0xe95442(0x1dd))['to'](this,_0xe95442(0x1dd),this,_0xe95442(0x1cb),(_0x536369,_0x2441c5)=>_0x536369&&!_0x2441c5),_0x5010e2[_0xe95442(0x1ee)][_0xe95442(0x1bc)](_0xe95442(0x1da))['to'](this,_0xe95442(0x1e8)),_0x5010e2[_0xe95442(0x1ca)][_0xe95442(0x1e3)](_0xe95442(0x1dd))['to'](this,_0xe95442(0x1cb)),_0x5010e2[_0xe95442(0x1ca)][_0xe95442(0x1bc)](_0xe95442(0x1da))['to'](this,_0xe95442(0x1eb)),_0x5010e2;}[_0x4908da(0x205)](){const _0x5abcaf=_0x4908da;this[_0x5abcaf(0x20d)]='',this[_0x5abcaf(0x1d0)]=!0x1,this[_0x5abcaf(0x1cb)]=!0x0,this[_0x5abcaf(0x1f0)][_0x5abcaf(0x1df)]=!0x0,this[_0x5abcaf(0x204)][_0x5abcaf(0x1df)]=!0x0,this[_0x5abcaf(0x1f0)][_0x5abcaf(0x1cd)]();}[_0x4908da(0x1cf)](){const _0x125055=_0x4908da,_0x2ccd75=this[_0x125055(0x1c9)];this[_0x125055(0x1cb)]=!0x1,this[_0x125055(0x1fd)]='',this[_0x125055(0x1cc)][_0x125055(0x1c8)](),this[_0x125055(0x20d)]&&(this[_0x125055(0x1cc)][_0x125055(0x1f8)][_0x125055(0x1f3)]=_0x1e2223(_0x2ccd75,_0x125055(0x1fc)));}[_0x4908da(0x1e0)](_0x1557ec){const _0x1df638=_0x4908da,_0x3b9cf4=this[_0x1df638(0x1c9)];this[_0x1df638(0x1cf)](),this[_0x1df638(0x1d0)]=!0x0,this[_0x1df638(0x202)][_0x1df638(0x1f4)]=_0x1557ec||_0x1e2223(_0x3b9cf4,_0x1df638(0x208)),this[_0x1df638(0x20d)]||(this[_0x1df638(0x1f0)][_0x1df638(0x1df)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x39a0(){const _0x1e0653=['add','fire','prompt','24leoVue','execute','locale','534114EzGJgE','1116633slgKtL','2695176HKbIWp','2809764qoOtTb','children','29QZUZwA','1355060WVcnaX','28420dJjQpN','1019430osPSfa','set'];_0x39a0=function(){return _0x1e0653;};return _0x39a0();}(function(_0x44c7eb,_0x18a570){const _0x5b9372=_0xb18d,_0x2e83b1=_0x44c7eb();while(!![]){try{const _0x16ce55=parseInt(_0x5b9372(0x88))/0x1*(-parseInt(_0x5b9372(0x8a))/0x2)+-parseInt(_0x5b9372(0x83))/0x3+parseInt(_0x5b9372(0x86))/0x4+parseInt(_0x5b9372(0x89))/0x5+parseInt(_0x5b9372(0x8b))/0x6+-parseInt(_0x5b9372(0x84))/0x7*(parseInt(_0x5b9372(0x90))/0x8)+parseInt(_0x5b9372(0x85))/0x9;if(_0x16ce55===_0x18a570)break;else _0x2e83b1['push'](_0x2e83b1['shift']());}catch(_0x24b9b6){_0x2e83b1['push'](_0x2e83b1['shift']());}}}(_0x39a0,0x5b579));import{ListItemView as _0x1e134c,ButtonView as _0x340723,ButtonLabelView as _0x43988c}from'ckeditor5/src/ui.js';function _0xb18d(_0x7e8107,_0x1c5643){const _0x39a04c=_0x39a0();return _0xb18d=function(_0xb18dc2,_0x3bda3f){_0xb18dc2=_0xb18dc2-0x83;let _0x149024=_0x39a04c[_0xb18dc2];return _0x149024;},_0xb18d(_0x7e8107,_0x1c5643);}import{unescape as _0x3cfdb6}from'es-toolkit/compat';export default class bt extends _0x1e134c{constructor(_0x53ea8d){const _0x5c7002=_0xb18d;super();const _0x3da980=new _0x43988c(),_0x1e6bcf=new _0x340723(this[_0x5c7002(0x92)],_0x3da980);this[_0x5c7002(0x87)][_0x5c7002(0x8d)](_0x1e6bcf),_0x1e6bcf[_0x5c7002(0x8c)]({'label':_0x53ea8d[_0x5c7002(0x8f)],'withText':!0x0}),_0x1e6bcf['on'](_0x5c7002(0x91),()=>{const _0x30b69c=_0x5c7002;this[_0x30b69c(0x8e)](_0x30b69c(0x91),{'value':_0x3cfdb6(_0x53ea8d[_0x30b69c(0x8f)])});});}}
23
+ (function(_0x283855,_0xbe09c){const _0x1febcb=_0x4941,_0x1f9cb5=_0x283855();while(!![]){try{const _0x45518b=-parseInt(_0x1febcb(0x149))/0x1*(-parseInt(_0x1febcb(0x146))/0x2)+parseInt(_0x1febcb(0x155))/0x3*(parseInt(_0x1febcb(0x159))/0x4)+-parseInt(_0x1febcb(0x152))/0x5*(parseInt(_0x1febcb(0x156))/0x6)+parseInt(_0x1febcb(0x148))/0x7*(-parseInt(_0x1febcb(0x147))/0x8)+parseInt(_0x1febcb(0x14c))/0x9*(-parseInt(_0x1febcb(0x14d))/0xa)+parseInt(_0x1febcb(0x14f))/0xb+-parseInt(_0x1febcb(0x157))/0xc*(-parseInt(_0x1febcb(0x150))/0xd);if(_0x45518b===_0xbe09c)break;else _0x1f9cb5['push'](_0x1f9cb5['shift']());}catch(_0x1c9831){_0x1f9cb5['push'](_0x1f9cb5['shift']());}}}(_0xad63,0xc0875));import{ListItemView as _0x1693e,ButtonView as _0x1bb4b8,ButtonLabelView as _0x5d16aa}from'ckeditor5/src/ui.js';import{unescape as _0x3a31be}from'es-toolkit/compat';export default class bt extends _0x1693e{constructor(_0x58e2d4){const _0x3ffe84=_0x4941;super();const _0x3d40da=new _0x5d16aa(),_0x5cadf1=new _0x1bb4b8(this[_0x3ffe84(0x154)],_0x3d40da);this[_0x3ffe84(0x151)][_0x3ffe84(0x158)](_0x5cadf1),_0x5cadf1[_0x3ffe84(0x14a)]({'label':_0x58e2d4[_0x3ffe84(0x153)],'withText':!0x0}),_0x5cadf1['on'](_0x3ffe84(0x14b),()=>{const _0x510c11=_0x3ffe84;this[_0x510c11(0x14e)](_0x510c11(0x14b),{'value':_0x3a31be(_0x58e2d4[_0x510c11(0x153)])});});}}function _0x4941(_0x20c2cd,_0x4c87e4){const _0xad63ef=_0xad63();return _0x4941=function(_0x49417d,_0x3e897f){_0x49417d=_0x49417d-0x146;let _0xca3d7a=_0xad63ef[_0x49417d];return _0xca3d7a;},_0x4941(_0x20c2cd,_0x4c87e4);}function _0xad63(){const _0x3df31b=['children','583595xbBqiQ','prompt','locale','14286BQfcpo','72rpVABe','18026256FNeNIK','add','660bTaiGZ','508uHwRHa','8iAiEPJ','1331211XTagXg','2789mdXRCb','set','execute','7813053myoGgh','10GknJnd','fire','2763101DQGGlB','13rXGQgT'];_0xad63=function(){return _0x3df31b;};return _0xad63();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57deeb=_0x18b1;(function(_0x2a83cd,_0x17ebd7){const _0x35715d=_0x18b1,_0x3500b8=_0x2a83cd();while(!![]){try{const _0x28fc10=parseInt(_0x35715d(0xdb))/0x1*(-parseInt(_0x35715d(0xd0))/0x2)+-parseInt(_0x35715d(0xcc))/0x3+-parseInt(_0x35715d(0xdd))/0x4*(-parseInt(_0x35715d(0xcf))/0x5)+parseInt(_0x35715d(0xd2))/0x6+parseInt(_0x35715d(0xde))/0x7+-parseInt(_0x35715d(0xce))/0x8+-parseInt(_0x35715d(0xcd))/0x9;if(_0x28fc10===_0x17ebd7)break;else _0x3500b8['push'](_0x3500b8['shift']());}catch(_0x1d28d9){_0x3500b8['push'](_0x3500b8['shift']());}}}(_0x5dba,0x56f35));function _0x5dba(){const _0x39af58=['locale','220SeDHqd','2947539tFaDGt','clearHistoryButton','set','length','fire','label','execute','add','1260660PiTSRv','818226noFrok','520264NSrGSF','39295fuLolU','165104HRWIuz','items','2950524yGmJDN','children','filter','delegate','Clear','historyGroupView','_createClearHistoryButton','Prompt\x20history','clearHistory','5OdNHgb'];_0x5dba=function(){return _0x39af58;};return _0x5dba();}import{ListView as _0x20bf2a,ListItemGroupView as _0xc257a2,ButtonView as _0x19f27d}from'ckeditor5/src/ui.js';function _0x18b1(_0x193101,_0xd0fb24){const _0x5dbafa=_0x5dba();return _0x18b1=function(_0x18b100,_0xafd3c2){_0x18b100=_0x18b100-0xc8;let _0x5eafd9=_0x5dbafa[_0x18b100];return _0x5eafd9;},_0x18b1(_0x193101,_0xd0fb24);}import{getTranslation as _0x3dedca}from'../../utils/common-translations.js';export default class ft extends _0x20bf2a{[_0x57deeb(0xd7)];[_0x57deeb(0xdf)];constructor(_0x1f1cb4){const _0x431476=_0x57deeb;super(_0x1f1cb4),this[_0x431476(0xdf)]=this[_0x431476(0xd8)](),this[_0x431476(0xd7)]=new _0xc257a2(),this[_0x431476(0xd7)][_0x431476(0xd3)][_0x431476(0xcb)](this[_0x431476(0xdf)],0x1),this[_0x431476(0xd7)][_0x431476(0xc9)]=_0x3dedca(_0x1f1cb4,_0x431476(0xd9)),this[_0x431476(0xd7)][_0x431476(0xd1)][_0x431476(0xd5)](_0x431476(0xca))['to'](this),this[_0x431476(0xd1)][_0x431476(0xcb)](this[_0x431476(0xd7)]);}[_0x57deeb(0xd4)](){const _0x50b344=_0x57deeb;let _0xb7bec3=0x0;for(const _0x143ad6 of this[_0x50b344(0xd1)])_0xb7bec3+=_0x143ad6[_0x50b344(0xd1)][_0x50b344(0xe1)];return{'resultsCount':_0xb7bec3,'totalItemsCount':_0xb7bec3};}[_0x57deeb(0xd8)](){const _0x6f3716=_0x57deeb,_0x224ee7=this[_0x6f3716(0xdc)],_0xc2f1ad=new _0x19f27d(this[_0x6f3716(0xdc)]);return _0xc2f1ad[_0x6f3716(0xe0)]({'label':'('+_0x3dedca(_0x224ee7,_0x6f3716(0xd6))+')','withText':!0x0}),_0xc2f1ad['on'](_0x6f3716(0xca),()=>this[_0x6f3716(0xc8)](_0x6f3716(0xda))),_0xc2f1ad;}}
23
+ const _0x4146c2=_0x4e62;function _0x2726(){const _0x35955b=['1421050ZCDnpT','6209336mwhzhb','25341gYnJdL','locale','length','set','11820051Pulczx','items','259834oaNEME','721hOPCvI','label','222150MucDNp','Prompt\x20history','296HHjaFk','_createClearHistoryButton','clearHistory','Clear','historyGroupView','fire','execute','add','delegate','children','filter','39894YSVCAM','clearHistoryButton'];_0x2726=function(){return _0x35955b;};return _0x2726();}(function(_0x5e104e,_0x49d029){const _0x327617=_0x4e62,_0x43f24a=_0x5e104e();while(!![]){try{const _0x170de5=-parseInt(_0x327617(0xea))/0x1+-parseInt(_0x327617(0xe2))/0x2+parseInt(_0x327617(0xe4))/0x3*(parseInt(_0x327617(0xd5))/0x4)+-parseInt(_0x327617(0xed))/0x5+-parseInt(_0x327617(0xe0))/0x6*(-parseInt(_0x327617(0xeb))/0x7)+-parseInt(_0x327617(0xe3))/0x8+parseInt(_0x327617(0xe8))/0x9;if(_0x170de5===_0x49d029)break;else _0x43f24a['push'](_0x43f24a['shift']());}catch(_0x4acea2){_0x43f24a['push'](_0x43f24a['shift']());}}}(_0x2726,0xcb334));import{ListView as _0x3c63a2,ListItemGroupView as _0x1bb917,ButtonView as _0x2b8ec4}from'ckeditor5/src/ui.js';import{getTranslation as _0xb8910e}from'../../utils/common-translations.js';function _0x4e62(_0x935b79,_0xc54fd0){const _0x2726d1=_0x2726();return _0x4e62=function(_0x4e62fc,_0x5aa09a){_0x4e62fc=_0x4e62fc-0xd5;let _0x50a7dd=_0x2726d1[_0x4e62fc];return _0x50a7dd;},_0x4e62(_0x935b79,_0xc54fd0);}export default class ft extends _0x3c63a2{[_0x4146c2(0xd9)];[_0x4146c2(0xe1)];constructor(_0x2475ba){const _0x19e123=_0x4146c2;super(_0x2475ba),this[_0x19e123(0xe1)]=this[_0x19e123(0xd6)](),this[_0x19e123(0xd9)]=new _0x1bb917(),this[_0x19e123(0xd9)][_0x19e123(0xde)][_0x19e123(0xdc)](this[_0x19e123(0xe1)],0x1),this[_0x19e123(0xd9)][_0x19e123(0xec)]=_0xb8910e(_0x2475ba,_0x19e123(0xee)),this[_0x19e123(0xd9)][_0x19e123(0xe9)][_0x19e123(0xdd)](_0x19e123(0xdb))['to'](this),this[_0x19e123(0xe9)][_0x19e123(0xdc)](this[_0x19e123(0xd9)]);}[_0x4146c2(0xdf)](){const _0x4a8b47=_0x4146c2;let _0x1961d0=0x0;for(const _0x5165ac of this[_0x4a8b47(0xe9)])_0x1961d0+=_0x5165ac[_0x4a8b47(0xe9)][_0x4a8b47(0xe6)];return{'resultsCount':_0x1961d0,'totalItemsCount':_0x1961d0};}[_0x4146c2(0xd6)](){const _0x32cbe4=_0x4146c2,_0x27b51e=this[_0x32cbe4(0xe5)],_0x2c3759=new _0x2b8ec4(this[_0x32cbe4(0xe5)]);return _0x2c3759[_0x32cbe4(0xe7)]({'label':'('+_0xb8910e(_0x27b51e,_0x32cbe4(0xd8))+')','withText':!0x0}),_0x2c3759['on'](_0x32cbe4(0xdb),()=>this[_0x32cbe4(0xda)](_0x32cbe4(0xd7))),_0x2c3759;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd40d(){const _0x2b06e6=['stringify','parse','_saveToSessionStorage','436864SzdKas','setItem','map','length','37790LAervd','getItem','last','71049GyCPqE','28iuvWCV','remove','_loadFromSessionStorage','219468IlXzCr','prompt','CKEditor/AIFormView/PromptHistory','toLowerCase','3NIOkUb','5630xubUJO','add','510474lzfoHX','addMany','2763OVPorc','768rbIRPC','49574sNgGee','trim','84aJpJGy'];_0xd40d=function(){return _0x2b06e6;};return _0xd40d();}function _0x4934(_0xda0702,_0x2df113){const _0xd40de9=_0xd40d();return _0x4934=function(_0x4934e5,_0x3c0324){_0x4934e5=_0x4934e5-0x168;let _0x284958=_0xd40de9[_0x4934e5];return _0x284958;},_0x4934(_0xda0702,_0x2df113);}const _0x1015c0=_0x4934;(function(_0x43eb2b,_0x269ecc){const _0x3d654f=_0x4934,_0x313bb7=_0x43eb2b();while(!![]){try{const _0x3c84bf=-parseInt(_0x3d654f(0x183))/0x1*(parseInt(_0x3d654f(0x16e))/0x2)+-parseInt(_0x3d654f(0x16a))/0x3+-parseInt(_0x3d654f(0x17f))/0x4+parseInt(_0x3d654f(0x178))/0x5*(parseInt(_0x3d654f(0x170))/0x6)+parseInt(_0x3d654f(0x17c))/0x7*(parseInt(_0x3d654f(0x174))/0x8)+parseInt(_0x3d654f(0x16c))/0x9*(-parseInt(_0x3d654f(0x168))/0xa)+-parseInt(_0x3d654f(0x17b))/0xb*(-parseInt(_0x3d654f(0x16d))/0xc);if(_0x3c84bf===_0x269ecc)break;else _0x313bb7['push'](_0x313bb7['shift']());}catch(_0x546c56){_0x313bb7['push'](_0x313bb7['shift']());}}}(_0xd40d,0x40cb1));import{Collection as _0x335a8f}from'ckeditor5/src/utils.js';const ts=_0x1015c0(0x181);export default class wt extends _0x335a8f{constructor(){const _0x5906e7=_0x1015c0;super(),this[_0x5906e7(0x17e)](),this['on'](_0x5906e7(0x169),(_0x27bd28,_0x2d02a1)=>{const _0xa626c4=_0x5906e7,_0x46bf57=os(_0x2d02a1[_0xa626c4(0x180)]);for(const _0x50eab5 of this)if(_0x50eab5!=_0x2d02a1&&os(_0x50eab5[_0xa626c4(0x180)])===_0x46bf57){this[_0xa626c4(0x17d)](_0x50eab5);break;}this[_0xa626c4(0x177)]>0x14&&this[_0xa626c4(0x17d)](this[_0xa626c4(0x17a)]),this[_0xa626c4(0x173)]();}),this['on'](_0x5906e7(0x17d),()=>{const _0x48c606=_0x5906e7;this[_0x48c606(0x173)]();});}[_0x1015c0(0x17e)](){const _0x4a3716=_0x1015c0,_0x2e3e0d=sessionStorage[_0x4a3716(0x179)](ts)||'[]';this[_0x4a3716(0x16b)](JSON[_0x4a3716(0x172)](_0x2e3e0d));}[_0x1015c0(0x173)](){const _0x1c2a9d=_0x1015c0;sessionStorage[_0x1c2a9d(0x175)](ts,JSON[_0x1c2a9d(0x171)](this[_0x1c2a9d(0x176)](_0x4b49c3=>_0x4b49c3)));}}function os(_0x130621){const _0xa88d63=_0x1015c0;return _0x130621[_0xa88d63(0x182)]()[_0xa88d63(0x16f)]();}
23
+ const _0x1bc938=_0x5436;function _0x5436(_0x65c113,_0x44686d){const _0x3c8d38=_0x3c8d();return _0x5436=function(_0x54360e,_0x30da17){_0x54360e=_0x54360e-0x183;let _0x3ece22=_0x3c8d38[_0x54360e];return _0x3ece22;},_0x5436(_0x65c113,_0x44686d);}(function(_0x32fea3,_0x44ab07){const _0x58754e=_0x5436,_0x226d16=_0x32fea3();while(!![]){try{const _0x12d82e=parseInt(_0x58754e(0x183))/0x1+parseInt(_0x58754e(0x196))/0x2+-parseInt(_0x58754e(0x186))/0x3*(-parseInt(_0x58754e(0x19c))/0x4)+parseInt(_0x58754e(0x189))/0x5+-parseInt(_0x58754e(0x197))/0x6*(parseInt(_0x58754e(0x18e))/0x7)+-parseInt(_0x58754e(0x18f))/0x8*(parseInt(_0x58754e(0x192))/0x9)+-parseInt(_0x58754e(0x188))/0xa;if(_0x12d82e===_0x44ab07)break;else _0x226d16['push'](_0x226d16['shift']());}catch(_0x2836d7){_0x226d16['push'](_0x226d16['shift']());}}}(_0x3c8d,0x97c7a));import{Collection as _0x10fd43}from'ckeditor5/src/utils.js';function _0x3c8d(){const _0x597e0d=['2435670OsiuKm','18PpWpEU','setItem','add','trim','getItem','68gStBZu','1061289ZauFtn','addMany','CKEditor/AIFormView/PromptHistory','179229aREchs','prompt','15801850GqrGFn','1259470pDBEec','remove','parse','length','_loadFromSessionStorage','2477615EVaYIX','2263512OckIxI','map','last','9cmBYWt','_saveToSessionStorage','stringify','toLowerCase'];_0x3c8d=function(){return _0x597e0d;};return _0x3c8d();}const ts=_0x1bc938(0x185);export default class wt extends _0x10fd43{constructor(){const _0x2b8295=_0x1bc938;super(),this[_0x2b8295(0x18d)](),this['on'](_0x2b8295(0x199),(_0x1e224a,_0xe4f975)=>{const _0xd63cfd=_0x2b8295,_0x35a998=os(_0xe4f975[_0xd63cfd(0x187)]);for(const _0xa068da of this)if(_0xa068da!=_0xe4f975&&os(_0xa068da[_0xd63cfd(0x187)])===_0x35a998){this[_0xd63cfd(0x18a)](_0xa068da);break;}this[_0xd63cfd(0x18c)]>0x14&&this[_0xd63cfd(0x18a)](this[_0xd63cfd(0x191)]),this[_0xd63cfd(0x193)]();}),this['on'](_0x2b8295(0x18a),()=>{const _0x3bf0ab=_0x2b8295;this[_0x3bf0ab(0x193)]();});}[_0x1bc938(0x18d)](){const _0x592da0=_0x1bc938,_0x3bb863=sessionStorage[_0x592da0(0x19b)](ts)||'[]';this[_0x592da0(0x184)](JSON[_0x592da0(0x18b)](_0x3bb863));}[_0x1bc938(0x193)](){const _0x5b9201=_0x1bc938;sessionStorage[_0x5b9201(0x198)](ts,JSON[_0x5b9201(0x194)](this[_0x5b9201(0x190)](_0x148d0e=>_0x148d0e)));}}function os(_0x2da9e5){const _0x124eab=_0x1bc938;return _0x2da9e5[_0x124eab(0x195)]()[_0x124eab(0x19a)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd4f5e=_0x4524;function _0x92e2(){const _0x251b88=['requiresContent','4YBePSj','values','isCollapsed','execute','_hasContext','_commandDefinitions','hasContent','name','getFirstRange','add','423031rGnGzl','2942865hJzWUB','config','selection','isEmpty','934484HmLvjQ','refresh','custom','6WOUEPI','getSelectedBlocks','isEnabled','plugins','change:isEnabled','getRanges','3911160FWVdMg','8GCWhbk','editor','change:_hasContext','set','model','showUI','4364000dFHpTE','length','element','includes','from','getItems','ai.aiAssistant.disabledElements','276594IxqphH','enabledCommandsIds','document','get','269821MxvWoT','30YjpNbD'];_0x92e2=function(){return _0x251b88;};return _0x92e2();}(function(_0x451625,_0x358e2c){const _0x275e14=_0x4524,_0x4884d2=_0x451625();while(!![]){try{const _0x257714=-parseInt(_0x275e14(0xa3))/0x1*(-parseInt(_0x275e14(0xa6))/0x2)+parseInt(_0x275e14(0x8b))/0x3*(-parseInt(_0x275e14(0x88))/0x4)+parseInt(_0x275e14(0xa4))/0x5*(-parseInt(_0x275e14(0x9f))/0x6)+parseInt(_0x275e14(0x83))/0x7*(parseInt(_0x275e14(0x92))/0x8)+-parseInt(_0x275e14(0x84))/0x9+parseInt(_0x275e14(0x98))/0xa+parseInt(_0x275e14(0x91))/0xb;if(_0x257714===_0x358e2c)break;else _0x4884d2['push'](_0x4884d2['shift']());}catch(_0x450c75){_0x4884d2['push'](_0x4884d2['shift']());}}}(_0x92e2,0x4e6be));import{Command as _0x3b9385}from'ckeditor5/src/core.js';import _0x4aea1e from'../aiassistantui.js';function _0x4524(_0x4af506,_0x221362){const _0x92e26d=_0x92e2();return _0x4524=function(_0x4524e6,_0x11cb7e){_0x4524e6=_0x4524e6-0x7b;let _0x8ae034=_0x92e26d[_0x4524e6];return _0x8ae034;},_0x4524(_0x4af506,_0x221362);}export default class j extends _0x3b9385{[_0xd4f5e(0x7e)];constructor(_0x14cbc5,_0xcc7015){const _0x4dcd22=_0xd4f5e;super(_0x14cbc5),this[_0x4dcd22(0x7e)]=_0xcc7015,this[_0x4dcd22(0x95)](_0x4dcd22(0xa0),[]),this['on'](_0x4dcd22(0x94),(_0x59c80a,_0x46c477,_0x5def75)=>{const _0xe8e498=_0x4dcd22;this[_0xe8e498(0x8d)]&&(this[_0xe8e498(0xa0)]=G(this[_0xe8e498(0x7e)],_0x5def75));}),this[_0x4dcd22(0x95)](_0x4dcd22(0x7d),!0x1),this['on'](_0x4dcd22(0x8f),(_0x165a4f,_0x50ea66,_0x12b610)=>{const _0x39cf90=_0x4dcd22;this[_0x39cf90(0xa0)]=_0x12b610?G(this[_0x39cf90(0x7e)],this[_0x39cf90(0x7d)]):[];});}[_0xd4f5e(0x89)](){const _0x5f2991=_0xd4f5e,_0x2e0d86=this[_0x5f2991(0x93)][_0x5f2991(0x96)];this[_0x5f2991(0x7d)]=function(_0x15befe){const _0x72ec68=_0x5f2991,_0x3f5a27=_0x15befe[_0x72ec68(0xa1)][_0x72ec68(0x86)];return _0x3f5a27[_0x72ec68(0x7b)]?0x0!==[..._0x3f5a27[_0x72ec68(0x8c)]()][_0x72ec68(0x99)]&&![..._0x3f5a27[_0x72ec68(0x8c)]()][0x0][_0x72ec68(0x87)]:!!_0x15befe[_0x72ec68(0x7f)](_0x3f5a27[_0x72ec68(0x81)]());}(_0x2e0d86);const _0x2fbf2b=_0x2e0d86[_0x5f2991(0xa1)][_0x5f2991(0x86)],_0x19adcc=this[_0x5f2991(0x93)][_0x5f2991(0x85)][_0x5f2991(0xa2)](_0x5f2991(0x9e));for(const _0x267bba of _0x2fbf2b[_0x5f2991(0x90)]())for(const _0xf90ae1 of _0x267bba[_0x5f2991(0x9d)]())if(_0xf90ae1['is'](_0x5f2991(0x9a))&&_0x19adcc[_0x5f2991(0x9b)](_0xf90ae1[_0x5f2991(0x80)]))return void(this[_0x5f2991(0x8d)]=!0x1);this[_0x5f2991(0x8d)]=!0x0;}[_0xd4f5e(0x7c)](_0x4e7196='',_0x365d8b='',_0x24ef3d=_0xd4f5e(0x8a)){const _0x606b39=_0xd4f5e;this[_0x606b39(0x93)][_0x606b39(0x8e)][_0x606b39(0xa2)](_0x4aea1e)[_0x606b39(0x97)](_0x4e7196,_0x365d8b,_0x24ef3d);}}function G(_0x3ac4d3,_0x316218){const _0x856426=_0xd4f5e,_0xf03427=new Set();for(const _0x546e82 of _0x3ac4d3[_0x856426(0xa7)]())(_0x316218||!0x1===_0x546e82[_0x856426(0xa5)])&&_0xf03427[_0x856426(0x82)](_0x546e82['id']);return Array[_0x856426(0x9c)](_0xf03427);}
23
+ const _0x43a1b5=_0x3bba;(function(_0x10c7c7,_0x1fd2be){const _0x1bbd03=_0x3bba,_0x28e5d4=_0x10c7c7();while(!![]){try{const _0x59a9e6=-parseInt(_0x1bbd03(0xf7))/0x1+-parseInt(_0x1bbd03(0xda))/0x2+-parseInt(_0x1bbd03(0xdd))/0x3+-parseInt(_0x1bbd03(0xe8))/0x4*(parseInt(_0x1bbd03(0xdf))/0x5)+-parseInt(_0x1bbd03(0xf8))/0x6*(-parseInt(_0x1bbd03(0xd9))/0x7)+-parseInt(_0x1bbd03(0xd7))/0x8+-parseInt(_0x1bbd03(0xed))/0x9*(-parseInt(_0x1bbd03(0xf1))/0xa);if(_0x59a9e6===_0x1fd2be)break;else _0x28e5d4['push'](_0x28e5d4['shift']());}catch(_0x170ad7){_0x28e5d4['push'](_0x28e5d4['shift']());}}}(_0x2af9,0xef08e));function _0x2af9(){const _0x2a0f35=['add','8037567ZGtaWm','from','getItems','requiresContent','40CGgyFT','editor','plugins','_commandDefinitions','isCollapsed','values','623563ODjdqN','6YeOeuZ','element','document','getRanges','config','length','includes','change:isEnabled','refresh','hasContent','get','4117856yYVmai','_hasContext','7793807zLeaDK','3635860kXBODI','showUI','name','2060445VHmZvg','isEmpty','5DtEage','getSelectedBlocks','ai.aiAssistant.disabledElements','isEnabled','execute','change:_hasContext','getFirstRange','model','custom','254108VfTniJ','selection','set','enabledCommandsIds'];_0x2af9=function(){return _0x2a0f35;};return _0x2af9();}import{Command as _0x2e8ab3}from'ckeditor5/src/core.js';import _0x368e21 from'../aiassistantui.js';function _0x3bba(_0x434d5c,_0x5aa34a){const _0x2af93e=_0x2af9();return _0x3bba=function(_0x3bba14,_0x483994){_0x3bba14=_0x3bba14-0xd2;let _0x213b2b=_0x2af93e[_0x3bba14];return _0x213b2b;},_0x3bba(_0x434d5c,_0x5aa34a);}export default class j extends _0x2e8ab3{[_0x43a1b5(0xf4)];constructor(_0x23b68b,_0x207735){const _0x54ab00=_0x43a1b5;super(_0x23b68b),this[_0x54ab00(0xf4)]=_0x207735,this[_0x54ab00(0xea)](_0x54ab00(0xeb),[]),this['on'](_0x54ab00(0xe4),(_0x33da55,_0x5acbc0,_0x24117f)=>{const _0x43ba9e=_0x54ab00;this[_0x43ba9e(0xe2)]&&(this[_0x43ba9e(0xeb)]=G(this[_0x43ba9e(0xf4)],_0x24117f));}),this[_0x54ab00(0xea)](_0x54ab00(0xd8),!0x1),this['on'](_0x54ab00(0xd3),(_0x11c916,_0x2bb651,_0x23df37)=>{const _0x4c5550=_0x54ab00;this[_0x4c5550(0xeb)]=_0x23df37?G(this[_0x4c5550(0xf4)],this[_0x4c5550(0xd8)]):[];});}[_0x43a1b5(0xd4)](){const _0x45d7d2=_0x43a1b5,_0xf8994b=this[_0x45d7d2(0xf2)][_0x45d7d2(0xe6)];this[_0x45d7d2(0xd8)]=function(_0x31d75f){const _0x1ab86f=_0x45d7d2,_0x303a33=_0x31d75f[_0x1ab86f(0xfa)][_0x1ab86f(0xe9)];return _0x303a33[_0x1ab86f(0xf5)]?0x0!==[..._0x303a33[_0x1ab86f(0xe0)]()][_0x1ab86f(0xfd)]&&![..._0x303a33[_0x1ab86f(0xe0)]()][0x0][_0x1ab86f(0xde)]:!!_0x31d75f[_0x1ab86f(0xd5)](_0x303a33[_0x1ab86f(0xe5)]());}(_0xf8994b);const _0x50cbe3=_0xf8994b[_0x45d7d2(0xfa)][_0x45d7d2(0xe9)],_0x452a0b=this[_0x45d7d2(0xf2)][_0x45d7d2(0xfc)][_0x45d7d2(0xd6)](_0x45d7d2(0xe1));for(const _0x1d186d of _0x50cbe3[_0x45d7d2(0xfb)]())for(const _0x3e1172 of _0x1d186d[_0x45d7d2(0xef)]())if(_0x3e1172['is'](_0x45d7d2(0xf9))&&_0x452a0b[_0x45d7d2(0xd2)](_0x3e1172[_0x45d7d2(0xdc)]))return void(this[_0x45d7d2(0xe2)]=!0x1);this[_0x45d7d2(0xe2)]=!0x0;}[_0x43a1b5(0xe3)](_0x9549c0='',_0x5518f6='',_0x3891c3=_0x43a1b5(0xe7)){const _0x38d659=_0x43a1b5;this[_0x38d659(0xf2)][_0x38d659(0xf3)][_0x38d659(0xd6)](_0x368e21)[_0x38d659(0xdb)](_0x9549c0,_0x5518f6,_0x3891c3);}}function G(_0x480976,_0x1d9666){const _0x3fdd03=_0x43a1b5,_0x3d5e69=new Set();for(const _0x37c2d6 of _0x480976[_0x3fdd03(0xf6)]())(_0x1d9666||!0x1===_0x37c2d6[_0x3fdd03(0xf0)])&&_0x3d5e69[_0x3fdd03(0xec)](_0x37c2d6['id']);return Array[_0x3fdd03(0xee)](_0x3d5e69);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x57a8e1,_0x5756cf,_0x415b5c){const t=_0x57a8e1['t'];switch(_0x5756cf){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'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',_0x415b5c);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x415b5c);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'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'},_0x415b5c);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 _0x5756cf;}}
23
+ export function getTranslation(_0x54f66b,_0x460cb0,_0xf1b67f){const t=_0x54f66b['t'];switch(_0x460cb0){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'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',_0xf1b67f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xf1b67f);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'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'},_0xf1b67f);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 _0x460cb0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x44788a,_0x167f87){const _0x27598b=(0x0,_0x167f87['t'])('Other');return _0x44788a['length']?'groupId'in _0x44788a[0x0]?_0x44788a:[{'groupId':'_ungrouppedCommands','groupLabel':_0x27598b,'order':0x1/0x0,'commands':_0x44788a}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x27598b,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x251d1f,_0x12b8cd){const _0x1faab6=(0x0,_0x12b8cd['t'])('Other');return _0x251d1f['length']?'groupId'in _0x251d1f[0x0]?_0x251d1f:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1faab6,'order':0x1/0x0,'commands':_0x251d1f}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1faab6,'order':0x1/0x0,'commands':[]}];}