@ckeditor/ckeditor5-ai 44.2.0-alpha.14 → 44.2.0-alpha.16

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 (168) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +9 -9
  148. package/src/adapters/aiadapter.js +1 -1
  149. package/src/adapters/aitextadapter.js +1 -1
  150. package/src/adapters/awstextadapter.js +1 -1
  151. package/src/adapters/openaitextadapter.js +1 -1
  152. package/src/aiassistant.js +1 -1
  153. package/src/aiassistantediting.js +1 -1
  154. package/src/aiassistantui.js +1 -1
  155. package/src/index.js +1 -1
  156. package/src/legacyerrors.js +1 -1
  157. package/src/ui/aiassistantcontroller.js +2 -2
  158. package/src/ui/form/aiformcontentarea.js +1 -1
  159. package/src/ui/form/aiformerrorview.js +1 -1
  160. package/src/ui/form/aiformpromptview.js +1 -1
  161. package/src/ui/form/aiformtoolbarview.js +1 -1
  162. package/src/ui/form/aiformview.js +1 -1
  163. package/src/ui/form/aihistorylistitemview.js +1 -1
  164. package/src/ui/form/aihistorylistview.js +1 -1
  165. package/src/ui/form/prompthistory.js +1 -1
  166. package/src/ui/showaiassistantcommand.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x488ae1=_0x36b6;function _0x10c6(){const _0x309699=['history','children','ck-ai-form__submit','value','focusCycler','660792uTYfdS','width','keystrokes','focus','History','ck-ai-form__toggle-history','1730986QTVage','submitButtonView','render','target','excludeScrollbarsAndBorders','queryView','371GepLOQ','requestAnimationFrame','right','submit','8308485OhliEI','add','isEnabled','focusLast','minRows','rtl','showHistoryButtonView','locale','114roQpbl','set','enter','1LrHuCx','style','isEmpty','4473290rztuWl','focusableChildren','window','82374JEoNIr','bind','isVisible','filteredView','74996svsDwp','_createSubmitButton','execute','update','focusFirst','isOn','231tDWyYU','fire','element','8ImfyPC','left','uiLanguageDirection','fieldWrapperChildren','fieldView','929395NewyFW','Submit','resultsView','_createShowHistoryButton','maxRows'];_0x10c6=function(){return _0x309699;};return _0x10c6();}(function(_0x2d7cdb,_0x306d55){const _0x4d542b=_0x36b6,_0x1c31e7=_0x2d7cdb();while(!![]){try{const _0x340ae6=parseInt(_0x4d542b(0xae))/0x1*(-parseInt(_0x4d542b(0x99))/0x2)+-parseInt(_0x4d542b(0xab))/0x3*(parseInt(_0x4d542b(0x7b))/0x4)+-parseInt(_0x4d542b(0x89))/0x5+-parseInt(_0x4d542b(0x77))/0x6*(-parseInt(_0x4d542b(0x9f))/0x7)+-parseInt(_0x4d542b(0x84))/0x8*(-parseInt(_0x4d542b(0xa3))/0x9)+-parseInt(_0x4d542b(0x74))/0xa+parseInt(_0x4d542b(0x81))/0xb*(parseInt(_0x4d542b(0x93))/0xc);if(_0x340ae6===_0x306d55)break;else _0x1c31e7['push'](_0x1c31e7['shift']());}catch(_0x4caf67){_0x1c31e7['push'](_0x1c31e7['shift']());}}}(_0x10c6,0x91839));import{Rect as _0x2c7205,global as _0x28e7e2,isVisible as _0x566242}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3cf1d2,ButtonView as _0x208ee2}from'ckeditor5/src/ui.js';function _0x36b6(_0x1c4352,_0x1ee960){const _0x10c6a2=_0x10c6();return _0x36b6=function(_0x36b68c,_0x42c2e5){_0x36b68c=_0x36b68c-0x74;let _0x536f82=_0x10c6a2[_0x36b68c];return _0x536f82;},_0x36b6(_0x1c4352,_0x1ee960);}import{icons as _0x8fd771}from'ckeditor5/src/core.js';import{getTranslation as _0x26f3c0}from'../../utils/common-translations.js';import _0x4bd2c1 from'../../../theme/icons/submit.svg';export default class ht extends _0x3cf1d2{constructor(_0xb3d78d,_0x200005){const _0x3ad553=_0x36b6;super(_0xb3d78d,_0x200005),this[_0x3ad553(0x9e)][_0x3ad553(0x88)][_0x3ad553(0xa7)]=0x1,this[_0x3ad553(0x9e)][_0x3ad553(0x88)][_0x3ad553(0x8d)]=0x3,this[_0x3ad553(0x9a)]=this[_0x3ad553(0x7c)](),this[_0x3ad553(0xa9)]=this[_0x3ad553(0x8c)](),this[_0x3ad553(0x75)][_0x3ad553(0xa4)](this[_0x3ad553(0xa9)],0x1),this[_0x3ad553(0x75)][_0x3ad553(0xa4)](this[_0x3ad553(0x9a)]);}[_0x488ae1(0x9b)](){const _0x1b14bf=_0x488ae1;super[_0x1b14bf(0x9b)](),this[_0x1b14bf(0x9e)][_0x1b14bf(0x87)][_0x1b14bf(0xa4)](this[_0x1b14bf(0xa9)]),this[_0x1b14bf(0x8f)][_0x1b14bf(0xa4)](this[_0x1b14bf(0x9a)]),this[_0x1b14bf(0x95)][_0x1b14bf(0xac)](_0x1b14bf(0xad),(_0x2d31a0,_0x496739)=>{const _0x12f5fc=_0x1b14bf;_0x2d31a0[_0x12f5fc(0x9c)]==this[_0x12f5fc(0x9e)][_0x12f5fc(0x88)][_0x12f5fc(0x83)]&&(this[_0x12f5fc(0xa2)](),_0x496739());});}[_0x488ae1(0x7c)](){const _0xf00bbf=_0x488ae1,_0x8aa080=new _0x208ee2(this[_0xf00bbf(0xaa)]),_0x24c708=this[_0xf00bbf(0xaa)];return _0x8aa080[_0xf00bbf(0xac)]({'icon':_0x4bd2c1,'label':_0x26f3c0(_0x24c708,_0xf00bbf(0x8a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xf00bbf(0x90)}),_0x8aa080['on'](_0xf00bbf(0x7d),()=>{const _0x893643=_0xf00bbf;this[_0x893643(0xa2)]();}),_0x8aa080[_0xf00bbf(0x78)](_0xf00bbf(0xa5))['to'](this[_0xf00bbf(0x9e)][_0xf00bbf(0x88)],_0xf00bbf(0xb0),this,_0xf00bbf(0xa5),(_0x4d29e1,_0xa1c120)=>!_0x4d29e1&&_0xa1c120),_0x8aa080;}[_0x488ae1(0x8c)](){const _0x5ad0c4=_0x488ae1,_0x407ff9=new _0x208ee2(this[_0x5ad0c4(0xaa)]),_0x362f9b=this[_0x5ad0c4(0x8b)],_0x805ad0=this[_0x5ad0c4(0xaa)];_0x407ff9[_0x5ad0c4(0xac)]({'label':_0x26f3c0(_0x805ad0,_0x5ad0c4(0x97)),'withText':!0x1,'icon':_0x8fd771[_0x5ad0c4(0x8e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5ad0c4(0x98)}),_0x407ff9[_0x5ad0c4(0x78)](_0x5ad0c4(0x80))['to'](_0x362f9b,_0x5ad0c4(0x79)),_0x407ff9[_0x5ad0c4(0x78)](_0x5ad0c4(0xa5))['to'](this,_0x5ad0c4(0xa5)),_0x407ff9['on'](_0x5ad0c4(0x7d),()=>{const _0x467c94=_0x5ad0c4;_0x362f9b[_0x467c94(0x79)]=!_0x362f9b[_0x467c94(0x79)],_0x362f9b[_0x467c94(0x79)]?this[_0x467c94(0x7a)][_0x467c94(0x96)]():this[_0x467c94(0x96)]();});const _0x25b137=()=>{const _0x19c490=_0x5ad0c4;_0x28e7e2[_0x19c490(0x76)][_0x19c490(0xa0)](()=>{const _0x4e3f2e=_0x19c490;if(_0x566242(this[_0x4e3f2e(0x83)])){const _0x361b76=new _0x2c7205(this[_0x4e3f2e(0x9e)][_0x4e3f2e(0x88)][_0x4e3f2e(0x83)]),_0x22fa49=_0x361b76[_0x4e3f2e(0x94)],_0xec5df=_0x4e3f2e(0xa8)===_0x805ad0[_0x4e3f2e(0x86)]?_0x4e3f2e(0x85):_0x4e3f2e(0xa1);_0x361b76[_0x4e3f2e(0x9d)](),_0x407ff9[_0x4e3f2e(0x83)][_0x4e3f2e(0xaf)][_0xec5df]=_0x22fa49-_0x361b76[_0x4e3f2e(0x94)]+0x1+'px';}});};return this[_0x5ad0c4(0x9e)][_0x5ad0c4(0x88)]['on'](_0x5ad0c4(0x7e),_0x25b137),this['on'](_0x5ad0c4(0x9b),_0x25b137),_0x407ff9;}[_0x488ae1(0xa2)](){const _0x2e439c=_0x488ae1,_0x2cd437=this[_0x2e439c(0x9e)][_0x2e439c(0x88)][_0x2e439c(0x83)][_0x2e439c(0x91)];this[_0x2e439c(0x82)](_0x2e439c(0xa2),_0x2cd437);}[_0x488ae1(0x96)](_0x3ef975){const _0x45ff02=_0x488ae1;-0x1===_0x3ef975?this[_0x45ff02(0x92)][_0x45ff02(0xa6)]():this[_0x45ff02(0x92)][_0x45ff02(0x7f)]();}}
23
+ const _0x305e2d=_0x2d84;(function(_0x23193b,_0x455895){const _0x4e9b39=_0x2d84,_0x34faa7=_0x23193b();while(!![]){try{const _0x2a51b5=-parseInt(_0x4e9b39(0x107))/0x1+parseInt(_0x4e9b39(0x128))/0x2*(parseInt(_0x4e9b39(0x100))/0x3)+parseInt(_0x4e9b39(0x129))/0x4*(parseInt(_0x4e9b39(0x11d))/0x5)+parseInt(_0x4e9b39(0x138))/0x6*(parseInt(_0x4e9b39(0x130))/0x7)+parseInt(_0x4e9b39(0x127))/0x8+-parseInt(_0x4e9b39(0x12b))/0x9+-parseInt(_0x4e9b39(0x109))/0xa*(-parseInt(_0x4e9b39(0x111))/0xb);if(_0x2a51b5===_0x455895)break;else _0x34faa7['push'](_0x34faa7['shift']());}catch(_0x9a07f6){_0x34faa7['push'](_0x34faa7['shift']());}}}(_0x507f,0x92d07));import{Rect as _0x1c80a3,global as _0x37637e,isVisible as _0x6ae1ef}from'ckeditor5/src/utils.js';import{AutocompleteView as _0xa05037,ButtonView as _0x42a7b7}from'ckeditor5/src/ui.js';import{icons as _0x31755f}from'ckeditor5/src/core.js';function _0x507f(){const _0x434fc2=['minRows','_createSubmitButton','fieldView','570fgumrG','fieldWrapperChildren','excludeScrollbarsAndBorders','isOn','3cxtuzT','filteredView','focus','set','ck-ai-form__toggle-history','enter','fire','1077788hcCXYF','bind','10vHtcAY','focusableChildren','focusFirst','left','queryView','focusLast','value','uiLanguageDirection','5309513PjqiVY','ck-ai-form__submit','requestAnimationFrame','render','showHistoryButtonView','_createShowHistoryButton','isEnabled','execute','Submit','resultsView','add','maxRows','5pXlhRc','History','isEmpty','element','submitButtonView','submit','target','history','width','locale','4626600ZeyrSg','876836iydjAh','1229036HevfZm','window','6442929nUgxZg','update','isVisible','focusCycler','keystrokes','43351gSLBNb','style','rtl','children','right'];_0x507f=function(){return _0x434fc2;};return _0x507f();}function _0x2d84(_0x43c192,_0x11d91c){const _0x507f3c=_0x507f();return _0x2d84=function(_0x2d845a,_0x4e12a8){_0x2d845a=_0x2d845a-0xfd;let _0x4791df=_0x507f3c[_0x2d845a];return _0x4791df;},_0x2d84(_0x43c192,_0x11d91c);}import{getTranslation as _0xedf051}from'../../utils/common-translations.js';import _0x4b1ee6 from'../../../theme/icons/submit.svg';export default class ht extends _0xa05037{constructor(_0x55590b,_0xa2b3a6){const _0x1533b6=_0x2d84;super(_0x55590b,_0xa2b3a6),this[_0x1533b6(0x10d)][_0x1533b6(0x137)][_0x1533b6(0x135)]=0x1,this[_0x1533b6(0x10d)][_0x1533b6(0x137)][_0x1533b6(0x11c)]=0x3,this[_0x1533b6(0x121)]=this[_0x1533b6(0x136)](),this[_0x1533b6(0x115)]=this[_0x1533b6(0x116)](),this[_0x1533b6(0x10a)][_0x1533b6(0x11b)](this[_0x1533b6(0x115)],0x1),this[_0x1533b6(0x10a)][_0x1533b6(0x11b)](this[_0x1533b6(0x121)]);}[_0x305e2d(0x114)](){const _0x101b0b=_0x305e2d;super[_0x101b0b(0x114)](),this[_0x101b0b(0x10d)][_0x101b0b(0xfd)][_0x101b0b(0x11b)](this[_0x101b0b(0x115)]),this[_0x101b0b(0x133)][_0x101b0b(0x11b)](this[_0x101b0b(0x121)]),this[_0x101b0b(0x12f)][_0x101b0b(0x103)](_0x101b0b(0x105),(_0x2ab540,_0xb1a118)=>{const _0x654816=_0x101b0b;_0x2ab540[_0x654816(0x123)]==this[_0x654816(0x10d)][_0x654816(0x137)][_0x654816(0x120)]&&(this[_0x654816(0x122)](),_0xb1a118());});}[_0x305e2d(0x136)](){const _0x56fb6a=_0x305e2d,_0x577a1b=new _0x42a7b7(this[_0x56fb6a(0x126)]),_0x263b2f=this[_0x56fb6a(0x126)];return _0x577a1b[_0x56fb6a(0x103)]({'icon':_0x4b1ee6,'label':_0xedf051(_0x263b2f,_0x56fb6a(0x119)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x56fb6a(0x112)}),_0x577a1b['on'](_0x56fb6a(0x118),()=>{const _0x3fc0a7=_0x56fb6a;this[_0x3fc0a7(0x122)]();}),_0x577a1b[_0x56fb6a(0x108)](_0x56fb6a(0x117))['to'](this[_0x56fb6a(0x10d)][_0x56fb6a(0x137)],_0x56fb6a(0x11f),this,_0x56fb6a(0x117),(_0x559af0,_0x2e0561)=>!_0x559af0&&_0x2e0561),_0x577a1b;}[_0x305e2d(0x116)](){const _0x4fb698=_0x305e2d,_0x2a8d7d=new _0x42a7b7(this[_0x4fb698(0x126)]),_0x137f25=this[_0x4fb698(0x11a)],_0x46232a=this[_0x4fb698(0x126)];_0x2a8d7d[_0x4fb698(0x103)]({'label':_0xedf051(_0x46232a,_0x4fb698(0x11e)),'withText':!0x1,'icon':_0x31755f[_0x4fb698(0x124)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4fb698(0x104)}),_0x2a8d7d[_0x4fb698(0x108)](_0x4fb698(0xff))['to'](_0x137f25,_0x4fb698(0x12d)),_0x2a8d7d[_0x4fb698(0x108)](_0x4fb698(0x117))['to'](this,_0x4fb698(0x117)),_0x2a8d7d['on'](_0x4fb698(0x118),()=>{const _0xf4e860=_0x4fb698;_0x137f25[_0xf4e860(0x12d)]=!_0x137f25[_0xf4e860(0x12d)],_0x137f25[_0xf4e860(0x12d)]?this[_0xf4e860(0x101)][_0xf4e860(0x102)]():this[_0xf4e860(0x102)]();});const _0x5597ce=()=>{const _0x4b05c8=_0x4fb698;_0x37637e[_0x4b05c8(0x12a)][_0x4b05c8(0x113)](()=>{const _0x1b165d=_0x4b05c8;if(_0x6ae1ef(this[_0x1b165d(0x120)])){const _0x42f98a=new _0x1c80a3(this[_0x1b165d(0x10d)][_0x1b165d(0x137)][_0x1b165d(0x120)]),_0x13b855=_0x42f98a[_0x1b165d(0x125)],_0x57eebd=_0x1b165d(0x132)===_0x46232a[_0x1b165d(0x110)]?_0x1b165d(0x10c):_0x1b165d(0x134);_0x42f98a[_0x1b165d(0xfe)](),_0x2a8d7d[_0x1b165d(0x120)][_0x1b165d(0x131)][_0x57eebd]=_0x13b855-_0x42f98a[_0x1b165d(0x125)]+0x1+'px';}});};return this[_0x4fb698(0x10d)][_0x4fb698(0x137)]['on'](_0x4fb698(0x12c),_0x5597ce),this['on'](_0x4fb698(0x114),_0x5597ce),_0x2a8d7d;}[_0x305e2d(0x122)](){const _0x1b187a=_0x305e2d,_0x2d2bbd=this[_0x1b187a(0x10d)][_0x1b187a(0x137)][_0x1b187a(0x120)][_0x1b187a(0x10f)];this[_0x1b187a(0x106)](_0x1b187a(0x122),_0x2d2bbd);}[_0x305e2d(0x102)](_0x13de75){const _0x3acf8c=_0x305e2d;-0x1===_0x13de75?this[_0x3acf8c(0x12e)][_0x3acf8c(0x10e)]():this[_0x3acf8c(0x12e)][_0x3acf8c(0x10b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x548818=_0x2e7b;(function(_0x50fc5f,_0x46d21b){const _0x2aa6ed=_0x2e7b,_0x5d6563=_0x50fc5f();while(!![]){try{const _0x504cb5=parseInt(_0x2aa6ed(0xe1))/0x1*(parseInt(_0x2aa6ed(0xf0))/0x2)+parseInt(_0x2aa6ed(0xd5))/0x3*(parseInt(_0x2aa6ed(0xf8))/0x4)+-parseInt(_0x2aa6ed(0xf3))/0x5*(parseInt(_0x2aa6ed(0xe9))/0x6)+parseInt(_0x2aa6ed(0xd8))/0x7+parseInt(_0x2aa6ed(0xdf))/0x8+-parseInt(_0x2aa6ed(0xdc))/0x9+parseInt(_0x2aa6ed(0xda))/0xa;if(_0x504cb5===_0x46d21b)break;else _0x5d6563['push'](_0x5d6563['shift']());}catch(_0x14c9c2){_0x5d6563['push'](_0x5d6563['shift']());}}}(_0x1ee1,0x5387e));import{ToolbarView as _0x5506d2,ButtonView as _0x1b0465}from'ckeditor5/src/ui.js';function _0x1ee1(){const _0x8c5ab3=['items','insertButton','stopButton','Try\x20again','toUpperCase','insert','2mEuaPP','Insert\x20below','mainAction','15605QgFcjG','tryAgainButton','bindTemplate','ck-ai-form__toolbar','AI_','51268qqiJAU','_createButton','117XTOuzx','_CONTENT','isVisible','902888uwFECt','bind','1957990XgVAEl','label','2694825jVzBtd','Stop','ck-hidden','1872528EAKgPi','ck-button-action','241386VyOmWg','set','locale','REPLACE','replace','extendTemplate','addMany','replaceButton','1266lJFEHZ'];_0x1ee1=function(){return _0x8c5ab3;};return _0x1ee1();}function _0x2e7b(_0x263b48,_0x1b8205){const _0x1ee121=_0x1ee1();return _0x2e7b=function(_0x2e7b14,_0x47ae51){_0x2e7b14=_0x2e7b14-0xd4;let _0x38ee93=_0x1ee121[_0x2e7b14];return _0x38ee93;},_0x2e7b(_0x263b48,_0x1b8205);}import{getTranslation as _0x109b2b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x548818(0xe5),'INSERT':_0x548818(0xef)};export default class at extends _0x5506d2{constructor(_0x8b0dbb){const _0x244174=_0x548818;super(_0x8b0dbb),this[_0x244174(0xe2)](_0x244174(0xd7),!0x1),this[_0x244174(0xe2)](_0x244174(0xf2),AIFormToolbarViewMainActionLabel[_0x244174(0xe4)]),this[_0x244174(0xe8)]=this[_0x244174(0xd4)]('',_0x244174(0xe0)),this[_0x244174(0xe8)][_0x244174(0xd9)](_0x244174(0xdb))['to'](this,_0x244174(0xf2),_0x228c7d=>_0x109b2b(_0x8b0dbb,_0x244174(0xf7)+_0x228c7d[_0x244174(0xee)]()+_0x244174(0xd6))),this[_0x244174(0xeb)]=this[_0x244174(0xd4)](_0x109b2b(_0x8b0dbb,_0x244174(0xf1))),this[_0x244174(0xf4)]=this[_0x244174(0xd4)](_0x109b2b(_0x8b0dbb,_0x244174(0xed))),this[_0x244174(0xec)]=this[_0x244174(0xd4)](_0x109b2b(_0x8b0dbb,_0x244174(0xdd)));const _0x557b79=this[_0x244174(0xf5)];this[_0x244174(0xe6)]({'attributes':{'class':[_0x244174(0xf6),_0x557b79['if'](_0x244174(0xd7),_0x244174(0xde),_0x26774a=>!_0x26774a)]}}),this[_0x244174(0xea)][_0x244174(0xe7)]([this[_0x244174(0xe8)],this[_0x244174(0xeb)],this[_0x244174(0xf4)],this[_0x244174(0xec)]]);}[_0x548818(0xd4)](_0x1c35df,_0xf3333d){const _0x5e1c10=_0x548818,_0x14cdad=new _0x1b0465(this[_0x5e1c10(0xe3)]);return _0x14cdad[_0x5e1c10(0xe2)]({'label':_0x1c35df,'class':_0xf3333d||'','isVisible':!0x0,'withText':!0x0}),_0x14cdad;}}
23
+ const _0x55179a=_0x3457;function _0x3457(_0x25c7a0,_0x2bd088){const _0x203811=_0x2038();return _0x3457=function(_0x34574b,_0x3932b7){_0x34574b=_0x34574b-0x6e;let _0x5ee90e=_0x203811[_0x34574b];return _0x5ee90e;},_0x3457(_0x25c7a0,_0x2bd088);}(function(_0x10ffa0,_0x848241){const _0x2cc764=_0x3457,_0x26ca04=_0x10ffa0();while(!![]){try{const _0x54a33f=parseInt(_0x2cc764(0x71))/0x1+-parseInt(_0x2cc764(0x6e))/0x2*(-parseInt(_0x2cc764(0x80))/0x3)+parseInt(_0x2cc764(0x76))/0x4+parseInt(_0x2cc764(0x91))/0x5+parseInt(_0x2cc764(0x8d))/0x6+-parseInt(_0x2cc764(0x84))/0x7*(-parseInt(_0x2cc764(0x8f))/0x8)+-parseInt(_0x2cc764(0x72))/0x9*(parseInt(_0x2cc764(0x7d))/0xa);if(_0x54a33f===_0x848241)break;else _0x26ca04['push'](_0x26ca04['shift']());}catch(_0x38987b){_0x26ca04['push'](_0x26ca04['shift']());}}}(_0x2038,0x51240));import{ToolbarView as _0x428fc3,ButtonView as _0x5a417d}from'ckeditor5/src/ui.js';import{getTranslation as _0x87dfb9}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x55179a(0x74),'INSERT':_0x55179a(0x7f)};export default class at extends _0x428fc3{constructor(_0x4ebf4d){const _0x3bbe64=_0x55179a;super(_0x4ebf4d),this[_0x3bbe64(0x82)](_0x3bbe64(0x8a),!0x1),this[_0x3bbe64(0x82)](_0x3bbe64(0x83),AIFormToolbarViewMainActionLabel[_0x3bbe64(0x81)]),this[_0x3bbe64(0x75)]=this[_0x3bbe64(0x70)]('',_0x3bbe64(0x7b)),this[_0x3bbe64(0x75)][_0x3bbe64(0x8b)](_0x3bbe64(0x89))['to'](this,_0x3bbe64(0x83),_0x5bf04a=>_0x87dfb9(_0x4ebf4d,_0x3bbe64(0x86)+_0x5bf04a[_0x3bbe64(0x7c)]()+_0x3bbe64(0x7a))),this[_0x3bbe64(0x88)]=this[_0x3bbe64(0x70)](_0x87dfb9(_0x4ebf4d,_0x3bbe64(0x7e))),this[_0x3bbe64(0x6f)]=this[_0x3bbe64(0x70)](_0x87dfb9(_0x4ebf4d,_0x3bbe64(0x8c))),this[_0x3bbe64(0x78)]=this[_0x3bbe64(0x70)](_0x87dfb9(_0x4ebf4d,_0x3bbe64(0x87)));const _0x44e52a=this[_0x3bbe64(0x8e)];this[_0x3bbe64(0x73)]({'attributes':{'class':[_0x3bbe64(0x85),_0x44e52a['if'](_0x3bbe64(0x8a),_0x3bbe64(0x77),_0x46b00f=>!_0x46b00f)]}}),this[_0x3bbe64(0x92)][_0x3bbe64(0x90)]([this[_0x3bbe64(0x75)],this[_0x3bbe64(0x88)],this[_0x3bbe64(0x6f)],this[_0x3bbe64(0x78)]]);}[_0x55179a(0x70)](_0x174a4d,_0x14a7e3){const _0x1936fc=_0x55179a,_0x39f59e=new _0x5a417d(this[_0x1936fc(0x79)]);return _0x39f59e[_0x1936fc(0x82)]({'label':_0x174a4d,'class':_0x14a7e3||'','isVisible':!0x0,'withText':!0x0}),_0x39f59e;}}function _0x2038(){const _0x59a17f=['isVisible','bind','Try\x20again','2400978tmkmTT','bindTemplate','4977584KabaPO','addMany','1592005CqIKGI','items','190XDMyxV','tryAgainButton','_createButton','114416PmnHwU','369855NOBMlG','extendTemplate','replace','replaceButton','1223436FGkvEA','ck-hidden','stopButton','locale','_CONTENT','ck-button-action','toUpperCase','480PPXCDW','Insert\x20below','insert','17175rkoTCA','REPLACE','set','mainAction','7vREMob','ck-ai-form__toolbar','AI_','Stop','insertButton','label'];_0x2038=function(){return _0x59a17f;};return _0x2038();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc559(_0x58484f,_0x2c2ab5){const _0x422247=_0x4222();return _0xc559=function(_0xc559ba,_0x3a4cc3){_0xc559ba=_0xc559ba-0xb0;let _0xfbebf=_0x422247[_0xc559ba];return _0xfbebf;},_0xc559(_0x58484f,_0x2c2ab5);}const _0x36e54c=_0xc559;(function(_0x212786,_0x9e058){const _0x170fe6=_0xc559,_0x1cf277=_0x212786();while(!![]){try{const _0x494b6a=parseInt(_0x170fe6(0xb5))/0x1+parseInt(_0x170fe6(0xe7))/0x2+parseInt(_0x170fe6(0xf1))/0x3+-parseInt(_0x170fe6(0xf9))/0x4+-parseInt(_0x170fe6(0xe5))/0x5+parseInt(_0x170fe6(0xda))/0x6*(parseInt(_0x170fe6(0xce))/0x7)+-parseInt(_0x170fe6(0xd6))/0x8*(parseInt(_0x170fe6(0xef))/0x9);if(_0x494b6a===_0x9e058)break;else _0x1cf277['push'](_0x1cf277['shift']());}catch(_0x47d68e){_0x1cf277['push'](_0x1cf277['shift']());}}}(_0x4222,0x3f8dd));function _0x4222(){const _0x1804e8=['670276VRSsgq','isVisible','isProcessing','historyGroupView','add','toolbar','bindTo','_createPromptView','1026zsXsIw','set','1432281csaEDP','trim','clear','mainAction','element','isError','delegate','stopButton','985700VMSgXc','queryView','REPLACE','isEnabled','_promptHistory','text','replaceContent','render','finishProcessing','contentArea','focusCycler','AI_ERROR_FAILED','errorView','focusTracker','items','submitPrompt','265828EfGYoK','replaceButton','_createHistoryView','submit','ck-ai-form-content','clearHistory','focusLast','focus','reset','Ask\x20AI\x20to\x20improve\x20generated\x20text','stopProcessing','copyButtonView','bindTemplate','handleError','div','startProcessing','createCollection','execute','high','promptView','insertButton','keystrokes','prompt','search','label','24605PfwMhL','fire','focusFirst','Ask\x20AI\x20to\x20edit\x20or\x20generate','tryAgainEvent','ck-ai-form','value','_focusables','45848BMEhlf','fieldView','listenTo','setTemplate','144fsnmSk','Empty\x20history','chain','tab','shift\x20+\x20tab','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_createToolbar','bind','tryAgainButton','ck-hidden','locale','13385XeUxcJ','insertContentBelow'];_0x4222=function(){return _0x1804e8;};return _0x4222();}import{FocusTracker as _0x49c4a0,KeystrokeHandler as _0x815781}from'ckeditor5/src/utils.js';import{View as _0x22919c,FocusCycler as _0x25f21a,createLabeledTextarea as _0x3d39d0}from'ckeditor5/src/ui.js';import _0x44af95,{AIFormToolbarViewMainActionLabel as _0x391397}from'./aiformtoolbarview.js';import _0x2671f5 from'./aiformcontentarea.js';import _0x1ece83 from'./aiformerrorview.js';import _0x4cdb85 from'./aiformpromptview.js';import _0xdd475d from'./aihistorylistview.js';import _0x50a4db from'./aihistorylistitemview.js';import _0x1da6d0 from'./prompthistory.js';import{getTranslation as _0x2ce4de}from'../../utils/common-translations.js';import{escape as _0x349eb4}from'lodash-es';export default class k extends _0x22919c{constructor(_0x16e57e,_0x27cad4,_0x5018bd=''){const _0x3228f7=_0xc559;super(_0x16e57e),this[_0x3228f7(0xf0)](_0x3228f7(0xfc),!0x0),this[_0x3228f7(0xf0)](_0x3228f7(0xe9),!0x1),this[_0x3228f7(0xf0)](_0x3228f7(0xcb),''),this[_0x3228f7(0xf0)](_0x3228f7(0xd4),''),this[_0x3228f7(0xf0)](_0x3228f7(0xf6),!0x1),this[_0x3228f7(0xf0)](_0x3228f7(0xf4),_0x391397[_0x3228f7(0xfb)]),this[_0x3228f7(0xfd)]=new _0x1da6d0(),this[_0x3228f7(0xb1)]=new _0x1ece83(_0x16e57e),this[_0x3228f7(0x102)]=new _0x2671f5(_0x16e57e,_0x5018bd),this[_0x3228f7(0x102)][_0x3228f7(0xe1)](_0x3228f7(0xe9))['to'](this),this[_0x3228f7(0x102)][_0x3228f7(0xe1)](_0x3228f7(0xd4))['to'](this),this[_0x3228f7(0xec)]=this[_0x3228f7(0xe0)](),this[_0x3228f7(0xec)][_0x3228f7(0xe1)](_0x3228f7(0xf4))['to'](this),this[_0x3228f7(0xc8)]=this[_0x3228f7(0xee)](),this[_0x3228f7(0xb2)]=new _0x49c4a0(),this[_0x3228f7(0xca)]=new _0x815781(),this[_0x3228f7(0xd5)]=this[_0x3228f7(0xc5)]([this[_0x3228f7(0x102)],this[_0x3228f7(0x102)][_0x3228f7(0xc0)],this[_0x3228f7(0xec)],this[_0x3228f7(0xc8)]]),this[_0x3228f7(0x103)]=new _0x25f21a({'focusables':this[_0x3228f7(0xd5)],'focusTracker':this[_0x3228f7(0xb2)],'keystrokeHandler':this[_0x3228f7(0xca)],'actions':{'focusPrevious':_0x3228f7(0xde),'focusNext':_0x3228f7(0xdd)}}),this[_0x3228f7(0x103)][_0x3228f7(0xdc)](this[_0x3228f7(0xc8)][_0x3228f7(0x103)]),this[_0x3228f7(0xc8)][_0x3228f7(0xfa)][_0x3228f7(0xd7)][_0x3228f7(0xe1)](_0x3228f7(0xd4))['to'](this,_0x3228f7(0xcb));const _0x3d52c5=this[_0x3228f7(0xc1)];this[_0x3228f7(0xd9)]({'tag':_0x3228f7(0xc3),'attributes':{'class':['ck',_0x3228f7(0xd3),_0x27cad4],'tabindex':'-1'},'children':[{'tag':_0x3228f7(0xc3),'attributes':{'class':['ck',_0x3228f7(0xb9)]},'children':[{'tag':_0x3228f7(0xc3),'attributes':{'class':[_0x3d52c5['if'](_0x3228f7(0xf6),_0x3228f7(0xe3),_0xf7779b=>!_0xf7779b)]},'children':[this[_0x3228f7(0xb1)]]},this[_0x3228f7(0x102)],this[_0x3228f7(0xec)],this[_0x3228f7(0xc8)]]}]});}[_0x36e54c(0x100)](){const _0x399133=_0x36e54c;super[_0x399133(0x100)](),this[_0x399133(0xb2)][_0x399133(0xeb)](this[_0x399133(0x102)][_0x399133(0xf5)]),this[_0x399133(0xb2)][_0x399133(0xeb)](this[_0x399133(0x102)][_0x399133(0xc0)][_0x399133(0xf5)]),this[_0x399133(0xb2)][_0x399133(0xeb)](this[_0x399133(0xec)][_0x399133(0xf5)]),this[_0x399133(0xb2)][_0x399133(0xeb)](this[_0x399133(0xc8)][_0x399133(0xf5)]),this[_0x399133(0xca)][_0x399133(0xd8)](this[_0x399133(0xf5)]);}[_0x36e54c(0xbc)](_0x4c45d1=0x1){const _0x25160f=_0x36e54c;-0x1===_0x4c45d1?this[_0x25160f(0x103)][_0x25160f(0xbb)]():this[_0x25160f(0x103)][_0x25160f(0xd0)]();}[_0x36e54c(0xbd)](){const _0x419c21=_0x36e54c;this[_0x419c21(0xcb)]='',this[_0x419c21(0xd4)]='',this[_0x419c21(0xf6)]=!0x1,this[_0x419c21(0xc8)][_0x419c21(0xbd)](),this[_0x419c21(0x102)][_0x419c21(0xe8)]=!0x1,this[_0x419c21(0xec)][_0x419c21(0xe8)]=!0x1;}[_0x36e54c(0xee)](){const _0x26cd5b=_0x36e54c,_0x10f1e4=this[_0x26cd5b(0xe4)],_0x2e7cbd=new _0x4cdb85(_0x10f1e4,{'queryView':{'label':_0x2ce4de(_0x10f1e4,_0x26cd5b(0xd1)),'creator':_0x3d39d0,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2ce4de(_0x10f1e4,_0x26cd5b(0xdb)),'secondary':_0x2ce4de(_0x10f1e4,_0x26cd5b(0xdf))}}},'filteredView':this[_0x26cd5b(0xb7)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2e7cbd[_0x26cd5b(0xe1)](_0x26cd5b(0xfc))['to'](this,_0x26cd5b(0xfc),this,_0x26cd5b(0xe9),(_0x2bd518,_0x7bf6a3)=>_0x2bd518&&!_0x7bf6a3),this[_0x26cd5b(0xd8)](_0x2e7cbd,_0x26cd5b(0xb8),(_0x5f0ed0,_0x144a42)=>{const _0x126738=_0x26cd5b;this[_0x126738(0xcb)]=_0x144a42;const _0x1f4fcf=_0x349eb4(_0x144a42);this[_0x126738(0xcf)](_0x126738(0xb4),_0x1f4fcf),_0x144a42[_0x126738(0xf2)]()&&this[_0x126738(0xfd)][_0x126738(0xeb)]({'prompt':_0x1f4fcf},0x0);},{'priority':_0x26cd5b(0xc7)}),_0x2e7cbd;}[_0x36e54c(0xb7)](){const _0x3044ee=_0x36e54c,_0x1aa9cc=new _0xdd475d(this[_0x3044ee(0xe4)]);return _0x1aa9cc[_0x3044ee(0xea)][_0x3044ee(0xb3)][_0x3044ee(0xed)](this[_0x3044ee(0xfd)])['as'](_0x50a4db),_0x1aa9cc['on'](_0x3044ee(0xba),()=>{const _0x500e5a=_0x3044ee;this[_0x500e5a(0xfd)][_0x500e5a(0xf3)](),this[_0x500e5a(0xc8)][_0x500e5a(0xcc)](''),this[_0x500e5a(0xc8)][_0x500e5a(0xbc)]();}),_0x1aa9cc;}[_0x36e54c(0xe0)](){const _0x555957=_0x36e54c,_0xede9f9=new _0x44af95(this[_0x555957(0xe4)]);return _0xede9f9[_0x555957(0xb6)][_0x555957(0xe1)](_0x555957(0xfc))['to'](this,_0x555957(0xfc),this,_0x555957(0xe9),this,_0x555957(0xd4),(_0x4ba7b4,_0x29d4b4,_0x11a97e)=>_0x4ba7b4&&!_0x29d4b4&&!!_0x11a97e),_0xede9f9[_0x555957(0xb6)][_0x555957(0xf7)](_0x555957(0xc6))['to'](this,_0x555957(0xff)),_0xede9f9[_0x555957(0xc9)][_0x555957(0xe1)](_0x555957(0xfc))['to'](this,_0x555957(0xfc),this,_0x555957(0xe9),this,_0x555957(0xd4),(_0x375cc3,_0x46dd7d,_0x4b1443)=>_0x375cc3&&!_0x46dd7d&&!!_0x4b1443),_0xede9f9[_0x555957(0xc9)][_0x555957(0xf7)](_0x555957(0xc6))['to'](this,_0x555957(0xe6)),_0xede9f9[_0x555957(0xe2)][_0x555957(0xe1)](_0x555957(0xfc))['to'](this,_0x555957(0xfc),this,_0x555957(0xe9),(_0x728148,_0x142a3e)=>_0x728148&&!_0x142a3e),_0xede9f9[_0x555957(0xe2)][_0x555957(0xf7)](_0x555957(0xc6))['to'](this,_0x555957(0xd2)),_0xede9f9[_0x555957(0xf8)][_0x555957(0xe1)](_0x555957(0xfc))['to'](this,_0x555957(0xe9)),_0xede9f9[_0x555957(0xf8)][_0x555957(0xf7)](_0x555957(0xc6))['to'](this,_0x555957(0xbf)),_0xede9f9;}[_0x36e54c(0xc4)](){const _0x536aa6=_0x36e54c;this[_0x536aa6(0xd4)]='',this[_0x536aa6(0xf6)]=!0x1,this[_0x536aa6(0xe9)]=!0x0,this[_0x536aa6(0x102)][_0x536aa6(0xe8)]=!0x0,this[_0x536aa6(0xec)][_0x536aa6(0xe8)]=!0x0,this[_0x536aa6(0x102)][_0x536aa6(0xbc)]();}[_0x36e54c(0x101)](){const _0x2bd134=_0x36e54c,_0x996178=this[_0x2bd134(0xe4)];this[_0x2bd134(0xe9)]=!0x1,this[_0x2bd134(0xcb)]='',this[_0x2bd134(0xc8)][_0x2bd134(0xbd)](),this[_0x2bd134(0xd4)]&&(this[_0x2bd134(0xc8)][_0x2bd134(0xfa)][_0x2bd134(0xcd)]=_0x2ce4de(_0x996178,_0x2bd134(0xbe)));}[_0x36e54c(0xc2)](_0x4b1a29){const _0x1c1cae=_0x36e54c,_0x12f60e=this[_0x1c1cae(0xe4)];this[_0x1c1cae(0x101)](),this[_0x1c1cae(0xf6)]=!0x0,this[_0x1c1cae(0xb1)][_0x1c1cae(0xfe)]=_0x4b1a29||_0x2ce4de(_0x12f60e,_0x1c1cae(0xb0)),this[_0x1c1cae(0xd4)]||(this[_0x1c1cae(0x102)][_0x1c1cae(0xe8)]=!0x1);}}
23
+ const _0x1975c7=_0x452b;(function(_0x221d86,_0x89de58){const _0x1e32bc=_0x452b,_0xf3384=_0x221d86();while(!![]){try{const _0x4a40c8=-parseInt(_0x1e32bc(0x1ae))/0x1*(parseInt(_0x1e32bc(0x1a7))/0x2)+-parseInt(_0x1e32bc(0x1ac))/0x3+parseInt(_0x1e32bc(0x19c))/0x4*(parseInt(_0x1e32bc(0x18d))/0x5)+-parseInt(_0x1e32bc(0x17e))/0x6+-parseInt(_0x1e32bc(0x1b8))/0x7+-parseInt(_0x1e32bc(0x18c))/0x8*(-parseInt(_0x1e32bc(0x1b4))/0x9)+parseInt(_0x1e32bc(0x175))/0xa;if(_0x4a40c8===_0x89de58)break;else _0xf3384['push'](_0xf3384['shift']());}catch(_0x99b348){_0xf3384['push'](_0xf3384['shift']());}}}(_0x406a,0xa9518));import{FocusTracker as _0xb8c252,KeystrokeHandler as _0x2781a3}from'ckeditor5/src/utils.js';import{View as _0x364f35,FocusCycler as _0x3f11b3,createLabeledTextarea as _0x235246}from'ckeditor5/src/ui.js';import _0x57ef70,{AIFormToolbarViewMainActionLabel as _0x48dead}from'./aiformtoolbarview.js';import _0x2fdfb0 from'./aiformcontentarea.js';import _0x1e551a from'./aiformerrorview.js';import _0x12baea from'./aiformpromptview.js';import _0x339bc7 from'./aihistorylistview.js';function _0x406a(){const _0x196195=['focusLast','stopProcessing','render','_createHistoryView','contentArea','keystrokes','isError','setTemplate','copyButtonView','focusTracker','Ask\x20AI\x20to\x20improve\x20generated\x20text','value','13999930KtWzHn','_createToolbar','high','trim','tryAgainEvent','insertContentBelow','historyGroupView','search','tryAgainButton','6566694fQDDEo','insertButton','prompt','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','ck-ai-form-content','clear','tab','fieldView','focusCycler','_createPromptView','queryView','shift\x20+\x20tab','focus','_promptHistory','8RTMoGI','5ydiHak','ck-hidden','locale','submitPrompt','text','set','isProcessing','promptView','element','isVisible','bindTemplate','reset','bindTo','clearHistory','mainAction','5543084IjEZve','startProcessing','replaceButton','REPLACE','Empty\x20history','focusFirst','AI_ERROR_FAILED','handleError','fire','toolbar','finishProcessing','106dgMKKP','delegate','label','Ask\x20AI\x20to\x20edit\x20or\x20generate','chain','1818276LPPkUj','_focusables','23879jJYshn','add','div','createCollection','bind','listenTo','10292679pvKFyg','isEnabled','errorView','submit','1888173kiVQEy','ck-ai-form','stopButton','execute','items','replaceContent'];_0x406a=function(){return _0x196195;};return _0x406a();}import _0x1745f4 from'./aihistorylistitemview.js';import _0x4695a4 from'./prompthistory.js';import{getTranslation as _0x1c4f79}from'../../utils/common-translations.js';import{escape as _0x2b7836}from'lodash-es';function _0x452b(_0xbe23b,_0x1db67e){const _0x406a01=_0x406a();return _0x452b=function(_0x452b3b,_0x3144f5){_0x452b3b=_0x452b3b-0x172;let _0x1a7728=_0x406a01[_0x452b3b];return _0x1a7728;},_0x452b(_0xbe23b,_0x1db67e);}export default class k extends _0x364f35{constructor(_0x834d6d,_0x1719a8,_0x571cac=''){const _0x395dd6=_0x452b;super(_0x834d6d),this[_0x395dd6(0x192)](_0x395dd6(0x1b5),!0x0),this[_0x395dd6(0x192)](_0x395dd6(0x193),!0x1),this[_0x395dd6(0x192)](_0x395dd6(0x180),''),this[_0x395dd6(0x192)](_0x395dd6(0x174),''),this[_0x395dd6(0x192)](_0x395dd6(0x1c4),!0x1),this[_0x395dd6(0x192)](_0x395dd6(0x19b),_0x48dead[_0x395dd6(0x19f)]),this[_0x395dd6(0x18b)]=new _0x4695a4(),this[_0x395dd6(0x1b6)]=new _0x1e551a(_0x834d6d),this[_0x395dd6(0x1c2)]=new _0x2fdfb0(_0x834d6d,_0x571cac),this[_0x395dd6(0x1c2)][_0x395dd6(0x1b2)](_0x395dd6(0x193))['to'](this),this[_0x395dd6(0x1c2)][_0x395dd6(0x1b2)](_0x395dd6(0x174))['to'](this),this[_0x395dd6(0x1a5)]=this[_0x395dd6(0x176)](),this[_0x395dd6(0x1a5)][_0x395dd6(0x1b2)](_0x395dd6(0x19b))['to'](this),this[_0x395dd6(0x194)]=this[_0x395dd6(0x187)](),this[_0x395dd6(0x172)]=new _0xb8c252(),this[_0x395dd6(0x1c3)]=new _0x2781a3(),this[_0x395dd6(0x1ad)]=this[_0x395dd6(0x1b1)]([this[_0x395dd6(0x1c2)],this[_0x395dd6(0x1c2)][_0x395dd6(0x1c6)],this[_0x395dd6(0x1a5)],this[_0x395dd6(0x194)]]),this[_0x395dd6(0x186)]=new _0x3f11b3({'focusables':this[_0x395dd6(0x1ad)],'focusTracker':this[_0x395dd6(0x172)],'keystrokeHandler':this[_0x395dd6(0x1c3)],'actions':{'focusPrevious':_0x395dd6(0x189),'focusNext':_0x395dd6(0x184)}}),this[_0x395dd6(0x186)][_0x395dd6(0x1ab)](this[_0x395dd6(0x194)][_0x395dd6(0x186)]),this[_0x395dd6(0x194)][_0x395dd6(0x188)][_0x395dd6(0x185)][_0x395dd6(0x1b2)](_0x395dd6(0x174))['to'](this,_0x395dd6(0x180));const _0x45a7b8=this[_0x395dd6(0x197)];this[_0x395dd6(0x1c5)]({'tag':_0x395dd6(0x1b0),'attributes':{'class':['ck',_0x395dd6(0x1b9),_0x1719a8],'tabindex':'-1'},'children':[{'tag':_0x395dd6(0x1b0),'attributes':{'class':['ck',_0x395dd6(0x182)]},'children':[{'tag':_0x395dd6(0x1b0),'attributes':{'class':[_0x45a7b8['if'](_0x395dd6(0x1c4),_0x395dd6(0x18e),_0x2120d1=>!_0x2120d1)]},'children':[this[_0x395dd6(0x1b6)]]},this[_0x395dd6(0x1c2)],this[_0x395dd6(0x1a5)],this[_0x395dd6(0x194)]]}]});}[_0x1975c7(0x1c0)](){const _0x4c9dc4=_0x1975c7;super[_0x4c9dc4(0x1c0)](),this[_0x4c9dc4(0x172)][_0x4c9dc4(0x1af)](this[_0x4c9dc4(0x1c2)][_0x4c9dc4(0x195)]),this[_0x4c9dc4(0x172)][_0x4c9dc4(0x1af)](this[_0x4c9dc4(0x1c2)][_0x4c9dc4(0x1c6)][_0x4c9dc4(0x195)]),this[_0x4c9dc4(0x172)][_0x4c9dc4(0x1af)](this[_0x4c9dc4(0x1a5)][_0x4c9dc4(0x195)]),this[_0x4c9dc4(0x172)][_0x4c9dc4(0x1af)](this[_0x4c9dc4(0x194)][_0x4c9dc4(0x195)]),this[_0x4c9dc4(0x1c3)][_0x4c9dc4(0x1b3)](this[_0x4c9dc4(0x195)]);}[_0x1975c7(0x18a)](_0x363e17=0x1){const _0x3b3f3b=_0x1975c7;-0x1===_0x363e17?this[_0x3b3f3b(0x186)][_0x3b3f3b(0x1be)]():this[_0x3b3f3b(0x186)][_0x3b3f3b(0x1a1)]();}[_0x1975c7(0x198)](){const _0x22079e=_0x1975c7;this[_0x22079e(0x180)]='',this[_0x22079e(0x174)]='',this[_0x22079e(0x1c4)]=!0x1,this[_0x22079e(0x194)][_0x22079e(0x198)](),this[_0x22079e(0x1c2)][_0x22079e(0x196)]=!0x1,this[_0x22079e(0x1a5)][_0x22079e(0x196)]=!0x1;}[_0x1975c7(0x187)](){const _0x57b290=_0x1975c7,_0x1a371b=this[_0x57b290(0x18f)],_0x110926=new _0x12baea(_0x1a371b,{'queryView':{'label':_0x1c4f79(_0x1a371b,_0x57b290(0x1aa)),'creator':_0x235246,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1c4f79(_0x1a371b,_0x57b290(0x1a0)),'secondary':_0x1c4f79(_0x1a371b,_0x57b290(0x181))}}},'filteredView':this[_0x57b290(0x1c1)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x110926[_0x57b290(0x1b2)](_0x57b290(0x1b5))['to'](this,_0x57b290(0x1b5),this,_0x57b290(0x193),(_0x465416,_0x893acc)=>_0x465416&&!_0x893acc),this[_0x57b290(0x1b3)](_0x110926,_0x57b290(0x1b7),(_0x44226d,_0x4735b1)=>{const _0x2e00f8=_0x57b290;this[_0x2e00f8(0x180)]=_0x4735b1;const _0x323460=_0x2b7836(_0x4735b1);this[_0x2e00f8(0x1a4)](_0x2e00f8(0x190),_0x323460),_0x4735b1[_0x2e00f8(0x178)]()&&this[_0x2e00f8(0x18b)][_0x2e00f8(0x1af)]({'prompt':_0x323460},0x0);},{'priority':_0x57b290(0x177)}),_0x110926;}[_0x1975c7(0x1c1)](){const _0x3224ae=_0x1975c7,_0x562b15=new _0x339bc7(this[_0x3224ae(0x18f)]);return _0x562b15[_0x3224ae(0x17b)][_0x3224ae(0x1bc)][_0x3224ae(0x199)](this[_0x3224ae(0x18b)])['as'](_0x1745f4),_0x562b15['on'](_0x3224ae(0x19a),()=>{const _0x6992ab=_0x3224ae;this[_0x6992ab(0x18b)][_0x6992ab(0x183)](),this[_0x6992ab(0x194)][_0x6992ab(0x17c)](''),this[_0x6992ab(0x194)][_0x6992ab(0x18a)]();}),_0x562b15;}[_0x1975c7(0x176)](){const _0x52a51e=_0x1975c7,_0x41ad4c=new _0x57ef70(this[_0x52a51e(0x18f)]);return _0x41ad4c[_0x52a51e(0x19e)][_0x52a51e(0x1b2)](_0x52a51e(0x1b5))['to'](this,_0x52a51e(0x1b5),this,_0x52a51e(0x193),this,_0x52a51e(0x174),(_0x196eb9,_0x367cde,_0x28e7b1)=>_0x196eb9&&!_0x367cde&&!!_0x28e7b1),_0x41ad4c[_0x52a51e(0x19e)][_0x52a51e(0x1a8)](_0x52a51e(0x1bb))['to'](this,_0x52a51e(0x1bd)),_0x41ad4c[_0x52a51e(0x17f)][_0x52a51e(0x1b2)](_0x52a51e(0x1b5))['to'](this,_0x52a51e(0x1b5),this,_0x52a51e(0x193),this,_0x52a51e(0x174),(_0x2cc65c,_0x56becf,_0x6cc0d4)=>_0x2cc65c&&!_0x56becf&&!!_0x6cc0d4),_0x41ad4c[_0x52a51e(0x17f)][_0x52a51e(0x1a8)](_0x52a51e(0x1bb))['to'](this,_0x52a51e(0x17a)),_0x41ad4c[_0x52a51e(0x17d)][_0x52a51e(0x1b2)](_0x52a51e(0x1b5))['to'](this,_0x52a51e(0x1b5),this,_0x52a51e(0x193),(_0x2056c4,_0x3303b1)=>_0x2056c4&&!_0x3303b1),_0x41ad4c[_0x52a51e(0x17d)][_0x52a51e(0x1a8)](_0x52a51e(0x1bb))['to'](this,_0x52a51e(0x179)),_0x41ad4c[_0x52a51e(0x1ba)][_0x52a51e(0x1b2)](_0x52a51e(0x1b5))['to'](this,_0x52a51e(0x193)),_0x41ad4c[_0x52a51e(0x1ba)][_0x52a51e(0x1a8)](_0x52a51e(0x1bb))['to'](this,_0x52a51e(0x1bf)),_0x41ad4c;}[_0x1975c7(0x19d)](){const _0x525acf=_0x1975c7;this[_0x525acf(0x174)]='',this[_0x525acf(0x1c4)]=!0x1,this[_0x525acf(0x193)]=!0x0,this[_0x525acf(0x1c2)][_0x525acf(0x196)]=!0x0,this[_0x525acf(0x1a5)][_0x525acf(0x196)]=!0x0,this[_0x525acf(0x1c2)][_0x525acf(0x18a)]();}[_0x1975c7(0x1a6)](){const _0x3d88f0=_0x1975c7,_0x20853d=this[_0x3d88f0(0x18f)];this[_0x3d88f0(0x193)]=!0x1,this[_0x3d88f0(0x180)]='',this[_0x3d88f0(0x194)][_0x3d88f0(0x198)](),this[_0x3d88f0(0x174)]&&(this[_0x3d88f0(0x194)][_0x3d88f0(0x188)][_0x3d88f0(0x1a9)]=_0x1c4f79(_0x20853d,_0x3d88f0(0x173)));}[_0x1975c7(0x1a3)](_0x4109ef){const _0x4e9e43=_0x1975c7,_0x224ddf=this[_0x4e9e43(0x18f)];this[_0x4e9e43(0x1a6)](),this[_0x4e9e43(0x1c4)]=!0x0,this[_0x4e9e43(0x1b6)][_0x4e9e43(0x191)]=_0x4109ef||_0x1c4f79(_0x224ddf,_0x4e9e43(0x1a2)),this[_0x4e9e43(0x174)]||(this[_0x4e9e43(0x1c2)][_0x4e9e43(0x196)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5006(_0xbaef88,_0x5043be){const _0x3928dd=_0x3928();return _0x5006=function(_0x5006aa,_0x1bfbcf){_0x5006aa=_0x5006aa-0xf9;let _0x10afcf=_0x3928dd[_0x5006aa];return _0x10afcf;},_0x5006(_0xbaef88,_0x5043be);}function _0x3928(){const _0x452da9=['20iwjZaI','set','locale','prompt','fire','add','102xrsXeN','276584OEEZXv','2328399gvTyms','320104XLnfWR','179814LWvGqS','360306wKlVpw','children','execute','4691PMALlt','1369676lonABj'];_0x3928=function(){return _0x452da9;};return _0x3928();}(function(_0x4e3379,_0x31563a){const _0x4f68ac=_0x5006,_0x56a853=_0x4e3379();while(!![]){try{const _0x1c5b21=-parseInt(_0x4f68ac(0x103))/0x1*(parseInt(_0x4f68ac(0xfb))/0x2)+parseInt(_0x4f68ac(0x100))/0x3+parseInt(_0x4f68ac(0xfe))/0x4+-parseInt(_0x4f68ac(0x105))/0x5*(parseInt(_0x4f68ac(0xff))/0x6)+parseInt(_0x4f68ac(0x104))/0x7+-parseInt(_0x4f68ac(0xfc))/0x8+parseInt(_0x4f68ac(0xfd))/0x9;if(_0x1c5b21===_0x31563a)break;else _0x56a853['push'](_0x56a853['shift']());}catch(_0x177ee6){_0x56a853['push'](_0x56a853['shift']());}}}(_0x3928,0x3fad1));import{ListItemView as _0x148afe,ButtonView as _0x577851,ButtonLabelView as _0x2a1446}from'ckeditor5/src/ui.js';import{unescape as _0x506c5d}from'lodash-es';export default class hs extends _0x148afe{constructor(_0x3b3a7c){const _0x3b7bac=_0x5006;super();const _0x1325bd=new _0x2a1446(),_0x55cd3d=new _0x577851(this[_0x3b7bac(0x107)],_0x1325bd);this[_0x3b7bac(0x101)][_0x3b7bac(0xfa)](_0x55cd3d),_0x55cd3d[_0x3b7bac(0x106)]({'label':_0x3b3a7c[_0x3b7bac(0x108)],'withText':!0x0}),_0x55cd3d['on'](_0x3b7bac(0x102),()=>{const _0x2c60f5=_0x3b7bac;this[_0x2c60f5(0xf9)](_0x2c60f5(0x102),{'value':_0x506c5d(_0x3b3a7c[_0x2c60f5(0x108)])});});}}
23
+ function _0x33dc(_0x294695,_0x5f181a){const _0x11e5c3=_0x11e5();return _0x33dc=function(_0x33dc1a,_0x35fbab){_0x33dc1a=_0x33dc1a-0x9a;let _0x197c58=_0x11e5c3[_0x33dc1a];return _0x197c58;},_0x33dc(_0x294695,_0x5f181a);}(function(_0xda412c,_0x4176c4){const _0x3bcedc=_0x33dc,_0x3b7447=_0xda412c();while(!![]){try{const _0x177c43=parseInt(_0x3bcedc(0xa8))/0x1+-parseInt(_0x3bcedc(0x9f))/0x2*(parseInt(_0x3bcedc(0xa1))/0x3)+parseInt(_0x3bcedc(0xa5))/0x4*(parseInt(_0x3bcedc(0x9a))/0x5)+-parseInt(_0x3bcedc(0xaa))/0x6*(parseInt(_0x3bcedc(0xa0))/0x7)+parseInt(_0x3bcedc(0xab))/0x8*(parseInt(_0x3bcedc(0xa9))/0x9)+-parseInt(_0x3bcedc(0x9d))/0xa+parseInt(_0x3bcedc(0x9e))/0xb;if(_0x177c43===_0x4176c4)break;else _0x3b7447['push'](_0x3b7447['shift']());}catch(_0x2febff){_0x3b7447['push'](_0x3b7447['shift']());}}}(_0x11e5,0x313cb));import{ListItemView as _0x35dff9,ButtonView as _0x3c70dd,ButtonLabelView as _0x55cf8f}from'ckeditor5/src/ui.js';import{unescape as _0x3ff023}from'lodash-es';export default class hs extends _0x35dff9{constructor(_0x53f24a){const _0x12e235=_0x33dc;super();const _0x467962=new _0x55cf8f(),_0xbeb399=new _0x3c70dd(this[_0x12e235(0xa2)],_0x467962);this[_0x12e235(0xa4)][_0x12e235(0xa3)](_0xbeb399),_0xbeb399[_0x12e235(0x9c)]({'label':_0x53f24a[_0x12e235(0x9b)],'withText':!0x0}),_0xbeb399['on'](_0x12e235(0xa6),()=>{const _0x51b428=_0x12e235;this[_0x51b428(0xa7)](_0x51b428(0xa6),{'value':_0x3ff023(_0x53f24a[_0x51b428(0x9b)])});});}}function _0x11e5(){const _0x1a17e5=['1965YdDinw','prompt','set','3432880xJjeqH','2267177ikICDb','2lkRsfx','14juaDju','567051YJIWmm','locale','add','children','3012dlJapM','execute','fire','213277wCECxS','2367jpFaWO','489198mJImEy','5528Rbwgvp'];_0x11e5=function(){return _0x1a17e5;};return _0x11e5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc896(){const _0x3607c4=['set','label','delegate','Prompt\x20history','1796934pvOITk','867182oUCGFk','2224DAFpxx','add','historyGroupView','fire','locale','65659zpxsQd','execute','length','3984603kRAIVB','7017381voCRwP','3223596owwGea','2TOPfFV','filter','10QtiBVR','children','clearHistoryButton','2490wgxZKg','clearHistory','items','_createClearHistoryButton','19683GOLLvu','Clear'];_0xc896=function(){return _0x3607c4;};return _0xc896();}const _0x42ce33=_0x513d;function _0x513d(_0x1b47fe,_0x5605b1){const _0xc89695=_0xc896();return _0x513d=function(_0x513ded,_0x274fb1){_0x513ded=_0x513ded-0x1c2;let _0x7f518b=_0xc89695[_0x513ded];return _0x7f518b;},_0x513d(_0x1b47fe,_0x5605b1);}(function(_0x181b16,_0x4e65f5){const _0x105b26=_0x513d,_0x10af16=_0x181b16();while(!![]){try{const _0x4b1255=parseInt(_0x105b26(0x1d9))/0x1+-parseInt(_0x105b26(0x1c9))/0x2*(parseInt(_0x105b26(0x1c6))/0x3)+parseInt(_0x105b26(0x1c8))/0x4+-parseInt(_0x105b26(0x1cb))/0x5*(-parseInt(_0x105b26(0x1d8))/0x6)+-parseInt(_0x105b26(0x1c7))/0x7+parseInt(_0x105b26(0x1da))/0x8*(-parseInt(_0x105b26(0x1d2))/0x9)+-parseInt(_0x105b26(0x1ce))/0xa*(-parseInt(_0x105b26(0x1c3))/0xb);if(_0x4b1255===_0x4e65f5)break;else _0x10af16['push'](_0x10af16['shift']());}catch(_0x132175){_0x10af16['push'](_0x10af16['shift']());}}}(_0xc896,0xc81d6));import{ListView as _0x359f5f,ListItemGroupView as _0x4fb3cc,ButtonView as _0x1e61b4}from'ckeditor5/src/ui.js';import{getTranslation as _0x509f16}from'../../utils/common-translations.js';export default class rs extends _0x359f5f{constructor(_0x509493){const _0x5e2c6f=_0x513d;super(_0x509493),this[_0x5e2c6f(0x1cd)]=this[_0x5e2c6f(0x1d1)](),this[_0x5e2c6f(0x1dc)]=new _0x4fb3cc(),this[_0x5e2c6f(0x1dc)][_0x5e2c6f(0x1cc)][_0x5e2c6f(0x1db)](this[_0x5e2c6f(0x1cd)],0x1),this[_0x5e2c6f(0x1dc)][_0x5e2c6f(0x1d5)]=_0x509f16(_0x509493,_0x5e2c6f(0x1d7)),this[_0x5e2c6f(0x1dc)][_0x5e2c6f(0x1d0)][_0x5e2c6f(0x1d6)](_0x5e2c6f(0x1c4))['to'](this),this[_0x5e2c6f(0x1d0)][_0x5e2c6f(0x1db)](this[_0x5e2c6f(0x1dc)]);}[_0x42ce33(0x1ca)](){const _0x1fdd42=_0x42ce33;let _0x5b532b=0x0;for(const _0x173b9b of this[_0x1fdd42(0x1d0)])_0x5b532b+=_0x173b9b[_0x1fdd42(0x1d0)][_0x1fdd42(0x1c5)];return{'resultsCount':_0x5b532b,'totalItemsCount':_0x5b532b};}[_0x42ce33(0x1d1)](){const _0x1ff1fa=_0x42ce33,_0x2f6456=this[_0x1ff1fa(0x1c2)],_0x441985=new _0x1e61b4(this[_0x1ff1fa(0x1c2)]);return _0x441985[_0x1ff1fa(0x1d4)]({'label':'('+_0x509f16(_0x2f6456,_0x1ff1fa(0x1d3))+')','withText':!0x0}),_0x441985['on'](_0x1ff1fa(0x1c4),()=>this[_0x1ff1fa(0x1dd)](_0x1ff1fa(0x1cf))),_0x441985;}}
23
+ function _0x1b73(_0x15d736,_0x1dfdc1){const _0x38135c=_0x3813();return _0x1b73=function(_0x1b73ef,_0x126f6d){_0x1b73ef=_0x1b73ef-0x19d;let _0x55fca1=_0x38135c[_0x1b73ef];return _0x55fca1;},_0x1b73(_0x15d736,_0x1dfdc1);}const _0x5ae591=_0x1b73;(function(_0x4472f0,_0x16bee4){const _0x3f4d85=_0x1b73,_0x27ae89=_0x4472f0();while(!![]){try{const _0x58141c=-parseInt(_0x3f4d85(0x1b4))/0x1+-parseInt(_0x3f4d85(0x19f))/0x2*(parseInt(_0x3f4d85(0x1a8))/0x3)+-parseInt(_0x3f4d85(0x1a5))/0x4+-parseInt(_0x3f4d85(0x1ad))/0x5+parseInt(_0x3f4d85(0x1aa))/0x6*(-parseInt(_0x3f4d85(0x1b0))/0x7)+-parseInt(_0x3f4d85(0x1a4))/0x8*(parseInt(_0x3f4d85(0x1ae))/0x9)+parseInt(_0x3f4d85(0x1ac))/0xa;if(_0x58141c===_0x16bee4)break;else _0x27ae89['push'](_0x27ae89['shift']());}catch(_0x887d17){_0x27ae89['push'](_0x27ae89['shift']());}}}(_0x3813,0xba0c5));import{ListView as _0x322127,ListItemGroupView as _0x499b51,ButtonView as _0xcb1107}from'ckeditor5/src/ui.js';import{getTranslation as _0xab145a}from'../../utils/common-translations.js';export default class rs extends _0x322127{constructor(_0x23569f){const _0x12919d=_0x1b73;super(_0x23569f),this[_0x12919d(0x1b3)]=this[_0x12919d(0x1ab)](),this[_0x12919d(0x1b7)]=new _0x499b51(),this[_0x12919d(0x1b7)][_0x12919d(0x1a9)][_0x12919d(0x1a7)](this[_0x12919d(0x1b3)],0x1),this[_0x12919d(0x1b7)][_0x12919d(0x1a3)]=_0xab145a(_0x23569f,_0x12919d(0x1b1)),this[_0x12919d(0x1b7)][_0x12919d(0x1a1)][_0x12919d(0x1a2)](_0x12919d(0x1b6))['to'](this),this[_0x12919d(0x1a1)][_0x12919d(0x1a7)](this[_0x12919d(0x1b7)]);}[_0x5ae591(0x1a0)](){const _0x548725=_0x5ae591;let _0x5d41f9=0x0;for(const _0x320633 of this[_0x548725(0x1a1)])_0x5d41f9+=_0x320633[_0x548725(0x1a1)][_0x548725(0x19e)];return{'resultsCount':_0x5d41f9,'totalItemsCount':_0x5d41f9};}[_0x5ae591(0x1ab)](){const _0x4cf601=_0x5ae591,_0x4d809f=this[_0x4cf601(0x1b5)],_0x4ebe8e=new _0xcb1107(this[_0x4cf601(0x1b5)]);return _0x4ebe8e[_0x4cf601(0x1b2)]({'label':'('+_0xab145a(_0x4d809f,_0x4cf601(0x1af))+')','withText':!0x0}),_0x4ebe8e['on'](_0x4cf601(0x1b6),()=>this[_0x4cf601(0x1a6)](_0x4cf601(0x19d))),_0x4ebe8e;}}function _0x3813(){const _0x48e51a=['3111484zkSNgI','fire','add','24FgrqnY','children','3379008egvHEp','_createClearHistoryButton','51198740uDJJCF','1803965KfBDUL','22698OHyLem','Clear','7dUogus','Prompt\x20history','set','clearHistoryButton','1321699kqEHRR','locale','execute','historyGroupView','clearHistory','length','295112ToMcxI','filter','items','delegate','label','488izTBYi'];_0x3813=function(){return _0x48e51a;};return _0x3813();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x588e92=_0x4363;function _0x4575(){const _0x251600=['setItem','toLowerCase','CKEditor/AIFormView/PromptHistory','5183040HvtymW','_saveToSessionStorage','stringify','1460812eFempq','length','addMany','trim','24pOmiea','last','parse','prompt','2654388FEJmJT','add','map','getItem','241875TseKWl','7nkzaHg','10mSsskt','remove','22965975WpLaTn','8156504HpksGA','_loadFromSessionStorage','18926yptYXq'];_0x4575=function(){return _0x251600;};return _0x4575();}(function(_0x352950,_0x57c034){const _0x32dc41=_0x4363,_0x1980c1=_0x352950();while(!![]){try{const _0x3358d3=parseInt(_0x32dc41(0x8c))/0x1+parseInt(_0x32dc41(0x93))/0x2*(-parseInt(_0x32dc41(0x9e))/0x3)+parseInt(_0x32dc41(0x9a))/0x4+-parseInt(_0x32dc41(0x97))/0x5+-parseInt(_0x32dc41(0x88))/0x6+-parseInt(_0x32dc41(0x8d))/0x7*(parseInt(_0x32dc41(0x91))/0x8)+parseInt(_0x32dc41(0x90))/0x9*(parseInt(_0x32dc41(0x8e))/0xa);if(_0x3358d3===_0x57c034)break;else _0x1980c1['push'](_0x1980c1['shift']());}catch(_0x5bdb55){_0x1980c1['push'](_0x1980c1['shift']());}}}(_0x4575,0x8eb84));import{Collection as _0x144dfc}from'ckeditor5/src/utils.js';const cs=_0x588e92(0x96);export default class os extends _0x144dfc{constructor(){const _0x490dfd=_0x588e92;super(),this[_0x490dfd(0x92)](),this['on'](_0x490dfd(0x89),(_0x6f71a2,_0x313773)=>{const _0x5833eb=_0x490dfd,_0x4923ff=Ss(_0x313773[_0x5833eb(0x87)]);for(const _0x3d330c of this)if(_0x3d330c!=_0x313773&&Ss(_0x3d330c[_0x5833eb(0x87)])===_0x4923ff){this[_0x5833eb(0x8f)](_0x3d330c);break;}this[_0x5833eb(0x9b)]>0x14&&this[_0x5833eb(0x8f)](this[_0x5833eb(0x9f)]),this[_0x5833eb(0x98)]();}),this['on'](_0x490dfd(0x8f),()=>{const _0x1c39fa=_0x490dfd;this[_0x1c39fa(0x98)]();});}[_0x588e92(0x92)](){const _0x1c357a=_0x588e92,_0x225a34=sessionStorage[_0x1c357a(0x8b)](cs)||'[]';this[_0x1c357a(0x9c)](JSON[_0x1c357a(0xa0)](_0x225a34));}[_0x588e92(0x98)](){const _0x1f072=_0x588e92;sessionStorage[_0x1f072(0x94)](cs,JSON[_0x1f072(0x99)](this[_0x1f072(0x8a)](_0x3be7d8=>_0x3be7d8)));}}function _0x4363(_0x23fd9f,_0x3caac3){const _0x4575d5=_0x4575();return _0x4363=function(_0x436348,_0x219d96){_0x436348=_0x436348-0x87;let _0x57b438=_0x4575d5[_0x436348];return _0x57b438;},_0x4363(_0x23fd9f,_0x3caac3);}function Ss(_0x1a0604){const _0xc5ff25=_0x588e92;return _0x1a0604[_0xc5ff25(0x95)]()[_0xc5ff25(0x9d)]();}
23
+ function _0x4cd0(_0x1121a7,_0x2adecc){const _0x47775b=_0x4777();return _0x4cd0=function(_0x4cd060,_0x1cf29d){_0x4cd060=_0x4cd060-0xb7;let _0x170f7b=_0x47775b[_0x4cd060];return _0x170f7b;},_0x4cd0(_0x1121a7,_0x2adecc);}const _0x43e6b0=_0x4cd0;function _0x4777(){const _0x329496=['getItem','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','prompt','setItem','1385334JCMeIn','822792PasDWb','remove','10BeJoDD','map','trim','addMany','toLowerCase','7teiYPx','146918fXzaHA','add','15BuTqaf','871172TpJBiz','stringify','length','518685kwGrzZ','last','2752002wdzRqe','_loadFromSessionStorage','91128rcSyrn','4PGABsd','parse'];_0x4777=function(){return _0x329496;};return _0x4777();}(function(_0x3f8e0b,_0x4fa033){const _0x27af34=_0x4cd0,_0x3977bf=_0x3f8e0b();while(!![]){try{const _0x40e0cd=-parseInt(_0x27af34(0xca))/0x1*(-parseInt(_0x27af34(0xba))/0x2)+parseInt(_0x27af34(0xd0))/0x3+-parseInt(_0x27af34(0xcd))/0x4*(parseInt(_0x27af34(0xcc))/0x5)+parseInt(_0x27af34(0xc2))/0x6*(parseInt(_0x27af34(0xc9))/0x7)+-parseInt(_0x27af34(0xb9))/0x8+parseInt(_0x27af34(0xc1))/0x9*(parseInt(_0x27af34(0xc4))/0xa)+parseInt(_0x27af34(0xb7))/0xb;if(_0x40e0cd===_0x4fa033)break;else _0x3977bf['push'](_0x3977bf['shift']());}catch(_0x591aff){_0x3977bf['push'](_0x3977bf['shift']());}}}(_0x4777,0x53ca1));import{Collection as _0x1c68ae}from'ckeditor5/src/utils.js';const cs=_0x43e6b0(0xbe);export default class os extends _0x1c68ae{constructor(){const _0x447a1a=_0x43e6b0;super(),this[_0x447a1a(0xb8)](),this['on'](_0x447a1a(0xcb),(_0x279b1f,_0x34f8eb)=>{const _0x305ed2=_0x447a1a,_0x5a49f6=Ss(_0x34f8eb[_0x305ed2(0xbf)]);for(const _0x41fb04 of this)if(_0x41fb04!=_0x34f8eb&&Ss(_0x41fb04[_0x305ed2(0xbf)])===_0x5a49f6){this[_0x305ed2(0xc3)](_0x41fb04);break;}this[_0x305ed2(0xcf)]>0x14&&this[_0x305ed2(0xc3)](this[_0x305ed2(0xd1)]),this[_0x305ed2(0xbd)]();}),this['on'](_0x447a1a(0xc3),()=>{const _0x4a20f5=_0x447a1a;this[_0x4a20f5(0xbd)]();});}[_0x43e6b0(0xb8)](){const _0x10a1c7=_0x43e6b0,_0x5a1053=sessionStorage[_0x10a1c7(0xbc)](cs)||'[]';this[_0x10a1c7(0xc7)](JSON[_0x10a1c7(0xbb)](_0x5a1053));}[_0x43e6b0(0xbd)](){const _0x25236f=_0x43e6b0;sessionStorage[_0x25236f(0xc0)](cs,JSON[_0x25236f(0xce)](this[_0x25236f(0xc5)](_0x5e7c69=>_0x5e7c69)));}}function Ss(_0x30df39){const _0x463fba=_0x43e6b0;return _0x30df39[_0x463fba(0xc8)]()[_0x463fba(0xc6)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f00f5=_0x91bb;(function(_0x404e0e,_0x3de33c){const _0x4810fa=_0x91bb,_0x430287=_0x404e0e();while(!![]){try{const _0x54b712=parseInt(_0x4810fa(0x20d))/0x1+-parseInt(_0x4810fa(0x202))/0x2*(parseInt(_0x4810fa(0x20c))/0x3)+parseInt(_0x4810fa(0x1fc))/0x4+-parseInt(_0x4810fa(0x1ef))/0x5+parseInt(_0x4810fa(0x1ed))/0x6+parseInt(_0x4810fa(0x212))/0x7*(parseInt(_0x4810fa(0x1f8))/0x8)+parseInt(_0x4810fa(0x211))/0x9*(-parseInt(_0x4810fa(0x1ec))/0xa);if(_0x54b712===_0x3de33c)break;else _0x430287['push'](_0x430287['shift']());}catch(_0x38431b){_0x430287['push'](_0x430287['shift']());}}}(_0x513e,0xeabe4));function _0x91bb(_0x36cb14,_0x159207){const _0x513e3c=_0x513e();return _0x91bb=function(_0x91bb07,_0x4cd830){_0x91bb07=_0x91bb07-0x1e9;let _0x55ff62=_0x513e3c[_0x91bb07];return _0x55ff62;},_0x91bb(_0x36cb14,_0x159207);}function _0x513e(){const _0xe68508=['change:_hasContext','8163LXuygg','63gOQfTE','showUI','ai.aiAssistant.disabledElements','set','document','name','11030ihbGnY','5472432FgzmRa','getSelectedBlocks','1986305bSQxGn','add','getItems','change:isEnabled','isCollapsed','plugins','length','requiresContent','hasContent','965768VhqXdW','model','getRanges','from','3960492qwCaCz','config','isEmpty','values','getFirstRange','element','2465768EDfinK','isEnabled','selection','enabledCommandsIds','includes','_commandDefinitions','_hasContext','execute','refresh','get','3gaQwYD','603390IVQmxn','editor','custom'];_0x513e=function(){return _0xe68508;};return _0x513e();}import{Command as _0x120fe8}from'ckeditor5/src/core.js';import _0x379ea5 from'../aiassistantui.js';export default class E extends _0x120fe8{constructor(_0x4cbb4f,_0x20bdeb){const _0xcd426=_0x91bb;super(_0x4cbb4f),this[_0xcd426(0x207)]=_0x20bdeb,this[_0xcd426(0x1e9)](_0xcd426(0x205),[]),this['on'](_0xcd426(0x210),(_0x32fc2b,_0x1ede5a,_0x565903)=>{const _0x2a0e71=_0xcd426;this[_0x2a0e71(0x203)]&&(this[_0x2a0e71(0x205)]=G(this[_0x2a0e71(0x207)],_0x565903));}),this[_0xcd426(0x1e9)](_0xcd426(0x208),!0x1),this['on'](_0xcd426(0x1f2),(_0x3b5b96,_0x3043fa,_0x9adcf8)=>{const _0x34fb0a=_0xcd426;this[_0x34fb0a(0x205)]=_0x9adcf8?G(this[_0x34fb0a(0x207)],this[_0x34fb0a(0x208)]):[];});}[_0x3f00f5(0x20a)](){const _0x2f5896=_0x3f00f5,_0x3958bb=this[_0x2f5896(0x20e)][_0x2f5896(0x1f9)];this[_0x2f5896(0x208)]=function(_0x222572){const _0x1f7d5f=_0x2f5896,_0x3ee281=_0x222572[_0x1f7d5f(0x1ea)][_0x1f7d5f(0x204)];return _0x3ee281[_0x1f7d5f(0x1f3)]?0x0!==[..._0x3ee281[_0x1f7d5f(0x1ee)]()][_0x1f7d5f(0x1f5)]&&![..._0x3ee281[_0x1f7d5f(0x1ee)]()][0x0][_0x1f7d5f(0x1fe)]:!!_0x222572[_0x1f7d5f(0x1f7)](_0x3ee281[_0x1f7d5f(0x200)]());}(_0x3958bb);const _0x46bfb9=_0x3958bb[_0x2f5896(0x1ea)][_0x2f5896(0x204)],_0x193e39=this[_0x2f5896(0x20e)][_0x2f5896(0x1fd)][_0x2f5896(0x20b)](_0x2f5896(0x214));for(const _0x13abd7 of _0x46bfb9[_0x2f5896(0x1fa)]())for(const _0x4fd2a2 of _0x13abd7[_0x2f5896(0x1f1)]())if(_0x4fd2a2['is'](_0x2f5896(0x201))&&_0x193e39[_0x2f5896(0x206)](_0x4fd2a2[_0x2f5896(0x1eb)]))return void(this[_0x2f5896(0x203)]=!0x1);this[_0x2f5896(0x203)]=!0x0;}[_0x3f00f5(0x209)](_0x35d465='',_0x5cd5b7='',_0x2242b0=_0x3f00f5(0x20f)){const _0x541773=_0x3f00f5;this[_0x541773(0x20e)][_0x541773(0x1f4)][_0x541773(0x20b)](_0x379ea5)[_0x541773(0x213)](_0x35d465,_0x5cd5b7,_0x2242b0);}}function G(_0x41d134,_0x3c34a4){const _0x1b14f4=_0x3f00f5,_0x210e91=new Set();for(const _0x146aba of _0x41d134[_0x1b14f4(0x1ff)]())(_0x3c34a4||!0x1===_0x146aba[_0x1b14f4(0x1f6)])&&_0x210e91[_0x1b14f4(0x1f0)](_0x146aba['id']);return Array[_0x1b14f4(0x1fb)](_0x210e91);}
23
+ const _0x19cac2=_0x58f1;(function(_0x1ecddc,_0x1cd248){const _0x83de45=_0x58f1,_0x369d5e=_0x1ecddc();while(!![]){try{const _0x565e6e=parseInt(_0x83de45(0x7d))/0x1*(-parseInt(_0x83de45(0x84))/0x2)+-parseInt(_0x83de45(0x72))/0x3*(-parseInt(_0x83de45(0x75))/0x4)+-parseInt(_0x83de45(0x6c))/0x5*(-parseInt(_0x83de45(0x93))/0x6)+parseInt(_0x83de45(0x73))/0x7*(parseInt(_0x83de45(0x8f))/0x8)+parseInt(_0x83de45(0x8e))/0x9+-parseInt(_0x83de45(0x79))/0xa+-parseInt(_0x83de45(0x86))/0xb*(parseInt(_0x83de45(0x78))/0xc);if(_0x565e6e===_0x1cd248)break;else _0x369d5e['push'](_0x369d5e['shift']());}catch(_0x39a95b){_0x369d5e['push'](_0x369d5e['shift']());}}}(_0x3bcb,0xadd67));function _0x58f1(_0x366b85,_0x3c99d9){const _0x3bcbdd=_0x3bcb();return _0x58f1=function(_0x58f1ec,_0x4011d9){_0x58f1ec=_0x58f1ec-0x69;let _0x1bbd1f=_0x3bcbdd[_0x58f1ec];return _0x1bbd1f;},_0x58f1(_0x366b85,_0x3c99d9);}import{Command as _0x313a34}from'ckeditor5/src/core.js';import _0x3f99bb from'../aiassistantui.js';function _0x3bcb(){const _0x1f5c97=['custom','selection','163295clLZqM','editor','_hasContext','values','refresh','ai.aiAssistant.disabledElements','add','2rzoSxn','change:isEnabled','865843AKnTxn','getItems','length','hasContent','element','config','isEmpty','from','11626884ejDTib','8fXEtjA','set','get','name','6uOTWaX','change:_hasContext','_commandDefinitions','requiresContent','enabledCommandsIds','showUI','model','970945NSHXXe','getRanges','isCollapsed','getFirstRange','includes','execute','4015566wKnDzT','6819078UNCGQp','isEnabled','4TAFfif','getSelectedBlocks','plugins','444kHtCOf','110260CRDuOG','document'];_0x3bcb=function(){return _0x1f5c97;};return _0x3bcb();}export default class E extends _0x313a34{constructor(_0x21da8d,_0x1d53c9){const _0x5501e8=_0x58f1;super(_0x21da8d),this[_0x5501e8(0x95)]=_0x1d53c9,this[_0x5501e8(0x90)](_0x5501e8(0x69),[]),this['on'](_0x5501e8(0x94),(_0x33fb9a,_0x4f494a,_0x2957ac)=>{const _0x2339f0=_0x5501e8;this[_0x2339f0(0x74)]&&(this[_0x2339f0(0x69)]=G(this[_0x2339f0(0x95)],_0x2957ac));}),this[_0x5501e8(0x90)](_0x5501e8(0x7f),!0x1),this['on'](_0x5501e8(0x85),(_0x191034,_0x3129be,_0x52f77c)=>{const _0x30da15=_0x5501e8;this[_0x30da15(0x69)]=_0x52f77c?G(this[_0x30da15(0x95)],this[_0x30da15(0x7f)]):[];});}[_0x19cac2(0x81)](){const _0x4942eb=_0x19cac2,_0x7224ff=this[_0x4942eb(0x7e)][_0x4942eb(0x6b)];this[_0x4942eb(0x7f)]=function(_0x1fac5d){const _0x1054fb=_0x4942eb,_0x1d1d77=_0x1fac5d[_0x1054fb(0x7a)][_0x1054fb(0x7c)];return _0x1d1d77[_0x1054fb(0x6e)]?0x0!==[..._0x1d1d77[_0x1054fb(0x76)]()][_0x1054fb(0x88)]&&![..._0x1d1d77[_0x1054fb(0x76)]()][0x0][_0x1054fb(0x8c)]:!!_0x1fac5d[_0x1054fb(0x89)](_0x1d1d77[_0x1054fb(0x6f)]());}(_0x7224ff);const _0xf243b8=_0x7224ff[_0x4942eb(0x7a)][_0x4942eb(0x7c)],_0x1d3c76=this[_0x4942eb(0x7e)][_0x4942eb(0x8b)][_0x4942eb(0x91)](_0x4942eb(0x82));for(const _0x5ca856 of _0xf243b8[_0x4942eb(0x6d)]())for(const _0xc48de1 of _0x5ca856[_0x4942eb(0x87)]())if(_0xc48de1['is'](_0x4942eb(0x8a))&&_0x1d3c76[_0x4942eb(0x70)](_0xc48de1[_0x4942eb(0x92)]))return void(this[_0x4942eb(0x74)]=!0x1);this[_0x4942eb(0x74)]=!0x0;}[_0x19cac2(0x71)](_0x1316ae='',_0x3dd1ff='',_0x4363d3=_0x19cac2(0x7b)){const _0xf73cca=_0x19cac2;this[_0xf73cca(0x7e)][_0xf73cca(0x77)][_0xf73cca(0x91)](_0x3f99bb)[_0xf73cca(0x6a)](_0x1316ae,_0x3dd1ff,_0x4363d3);}}function G(_0x595368,_0x5cfae2){const _0x154629=_0x19cac2,_0x57a76b=new Set();for(const _0x2a3a31 of _0x595368[_0x154629(0x80)]())(_0x5cfae2||!0x1===_0x2a3a31[_0x154629(0x96)])&&_0x57a76b[_0x154629(0x83)](_0x2a3a31['id']);return Array[_0x154629(0x8d)](_0x57a76b);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x36580a,_0xc7e931,_0x2f1fc7){const t=_0x36580a['t'];switch(_0xc7e931){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',_0x2f1fc7);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2f1fc7);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'},_0x2f1fc7);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 _0xc7e931;}}
23
+ export function getTranslation(_0x230cfd,_0x57daf2,_0x34bcba){const t=_0x230cfd['t'];switch(_0x57daf2){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',_0x34bcba);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x34bcba);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'},_0x34bcba);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 _0x57daf2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x2ac326,_0x57d9a7){const _0x248444=(0x0,_0x57d9a7['t'])('Other');return _0x2ac326['length']?'groupId'in _0x2ac326[0x0]?_0x2ac326:[{'groupId':'_ungrouppedCommands','groupLabel':_0x248444,'order':0x1/0x0,'commands':_0x2ac326}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x248444,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x2d5cbf,_0x7a0a31){const _0x2d1ce3=(0x0,_0x7a0a31['t'])('Other');return _0x2d5cbf['length']?'groupId'in _0x2d5cbf[0x0]?_0x2d5cbf:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2d1ce3,'order':0x1/0x0,'commands':_0x2d5cbf}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2d1ce3,'order':0x1/0x0,'commands':[]}];}