@ckeditor/ckeditor5-ai 44.3.0-alpha.7 → 45.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/ai.js +1 -1
  3. package/build/translations/be.js +1 -0
  4. package/ckeditor5-metadata.json +2 -2
  5. package/dist/index.js +2 -2
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.d.ts +8 -0
  15. package/dist/translations/be.js +23 -0
  16. package/dist/translations/be.umd.js +23 -0
  17. package/dist/translations/bg.js +1 -1
  18. package/dist/translations/bg.umd.js +1 -1
  19. package/dist/translations/bn.js +1 -1
  20. package/dist/translations/bn.umd.js +1 -1
  21. package/dist/translations/bs.js +1 -1
  22. package/dist/translations/bs.umd.js +1 -1
  23. package/dist/translations/ca.js +1 -1
  24. package/dist/translations/ca.umd.js +1 -1
  25. package/dist/translations/cs.js +1 -1
  26. package/dist/translations/cs.umd.js +1 -1
  27. package/dist/translations/da.js +1 -1
  28. package/dist/translations/da.umd.js +1 -1
  29. package/dist/translations/de-ch.js +1 -1
  30. package/dist/translations/de-ch.umd.js +1 -1
  31. package/dist/translations/de.js +1 -1
  32. package/dist/translations/de.umd.js +1 -1
  33. package/dist/translations/el.js +1 -1
  34. package/dist/translations/el.umd.js +1 -1
  35. package/dist/translations/en-au.js +1 -1
  36. package/dist/translations/en-au.umd.js +1 -1
  37. package/dist/translations/en-gb.js +1 -1
  38. package/dist/translations/en-gb.umd.js +1 -1
  39. package/dist/translations/en.js +1 -1
  40. package/dist/translations/en.umd.js +1 -1
  41. package/dist/translations/eo.js +1 -1
  42. package/dist/translations/eo.umd.js +1 -1
  43. package/dist/translations/es-co.js +1 -1
  44. package/dist/translations/es-co.umd.js +1 -1
  45. package/dist/translations/es.js +1 -1
  46. package/dist/translations/es.umd.js +1 -1
  47. package/dist/translations/et.js +1 -1
  48. package/dist/translations/et.umd.js +1 -1
  49. package/dist/translations/eu.js +1 -1
  50. package/dist/translations/eu.umd.js +1 -1
  51. package/dist/translations/fa.js +1 -1
  52. package/dist/translations/fa.umd.js +1 -1
  53. package/dist/translations/fi.js +1 -1
  54. package/dist/translations/fi.umd.js +1 -1
  55. package/dist/translations/fr.js +1 -1
  56. package/dist/translations/fr.umd.js +1 -1
  57. package/dist/translations/gl.js +1 -1
  58. package/dist/translations/gl.umd.js +1 -1
  59. package/dist/translations/gu.js +1 -1
  60. package/dist/translations/gu.umd.js +1 -1
  61. package/dist/translations/he.js +1 -1
  62. package/dist/translations/he.umd.js +1 -1
  63. package/dist/translations/hi.js +1 -1
  64. package/dist/translations/hi.umd.js +1 -1
  65. package/dist/translations/hr.js +1 -1
  66. package/dist/translations/hr.umd.js +1 -1
  67. package/dist/translations/hu.js +1 -1
  68. package/dist/translations/hu.umd.js +1 -1
  69. package/dist/translations/hy.js +1 -1
  70. package/dist/translations/hy.umd.js +1 -1
  71. package/dist/translations/id.js +1 -1
  72. package/dist/translations/id.umd.js +1 -1
  73. package/dist/translations/it.js +1 -1
  74. package/dist/translations/it.umd.js +1 -1
  75. package/dist/translations/ja.js +1 -1
  76. package/dist/translations/ja.umd.js +1 -1
  77. package/dist/translations/jv.js +1 -1
  78. package/dist/translations/jv.umd.js +1 -1
  79. package/dist/translations/kk.js +1 -1
  80. package/dist/translations/kk.umd.js +1 -1
  81. package/dist/translations/km.js +1 -1
  82. package/dist/translations/km.umd.js +1 -1
  83. package/dist/translations/kn.js +1 -1
  84. package/dist/translations/kn.umd.js +1 -1
  85. package/dist/translations/ko.js +1 -1
  86. package/dist/translations/ko.umd.js +1 -1
  87. package/dist/translations/ku.js +1 -1
  88. package/dist/translations/ku.umd.js +1 -1
  89. package/dist/translations/lt.js +1 -1
  90. package/dist/translations/lt.umd.js +1 -1
  91. package/dist/translations/lv.js +1 -1
  92. package/dist/translations/lv.umd.js +1 -1
  93. package/dist/translations/ms.js +1 -1
  94. package/dist/translations/ms.umd.js +1 -1
  95. package/dist/translations/nb.js +1 -1
  96. package/dist/translations/nb.umd.js +1 -1
  97. package/dist/translations/ne.js +1 -1
  98. package/dist/translations/ne.umd.js +1 -1
  99. package/dist/translations/nl.js +1 -1
  100. package/dist/translations/nl.umd.js +1 -1
  101. package/dist/translations/no.js +1 -1
  102. package/dist/translations/no.umd.js +1 -1
  103. package/dist/translations/oc.js +1 -1
  104. package/dist/translations/oc.umd.js +1 -1
  105. package/dist/translations/pl.js +1 -1
  106. package/dist/translations/pl.umd.js +1 -1
  107. package/dist/translations/pt-br.js +1 -1
  108. package/dist/translations/pt-br.umd.js +1 -1
  109. package/dist/translations/pt.js +1 -1
  110. package/dist/translations/pt.umd.js +1 -1
  111. package/dist/translations/ro.js +1 -1
  112. package/dist/translations/ro.umd.js +1 -1
  113. package/dist/translations/ru.js +1 -1
  114. package/dist/translations/ru.umd.js +1 -1
  115. package/dist/translations/si.js +1 -1
  116. package/dist/translations/si.umd.js +1 -1
  117. package/dist/translations/sk.js +1 -1
  118. package/dist/translations/sk.umd.js +1 -1
  119. package/dist/translations/sl.js +1 -1
  120. package/dist/translations/sl.umd.js +1 -1
  121. package/dist/translations/sq.js +1 -1
  122. package/dist/translations/sq.umd.js +1 -1
  123. package/dist/translations/sr-latn.js +1 -1
  124. package/dist/translations/sr-latn.umd.js +1 -1
  125. package/dist/translations/sr.js +1 -1
  126. package/dist/translations/sr.umd.js +1 -1
  127. package/dist/translations/sv.js +1 -1
  128. package/dist/translations/sv.umd.js +1 -1
  129. package/dist/translations/th.js +1 -1
  130. package/dist/translations/th.umd.js +1 -1
  131. package/dist/translations/ti.js +1 -1
  132. package/dist/translations/ti.umd.js +1 -1
  133. package/dist/translations/tk.js +1 -1
  134. package/dist/translations/tk.umd.js +1 -1
  135. package/dist/translations/tr.js +1 -1
  136. package/dist/translations/tr.umd.js +1 -1
  137. package/dist/translations/tt.js +1 -1
  138. package/dist/translations/tt.umd.js +1 -1
  139. package/dist/translations/ug.js +1 -1
  140. package/dist/translations/ug.umd.js +1 -1
  141. package/dist/translations/uk.js +1 -1
  142. package/dist/translations/uk.umd.js +1 -1
  143. package/dist/translations/ur.js +1 -1
  144. package/dist/translations/ur.umd.js +1 -1
  145. package/dist/translations/uz.js +1 -1
  146. package/dist/translations/uz.umd.js +1 -1
  147. package/dist/translations/vi.js +1 -1
  148. package/dist/translations/vi.umd.js +1 -1
  149. package/dist/translations/zh-cn.js +1 -1
  150. package/dist/translations/zh-cn.umd.js +1 -1
  151. package/dist/translations/zh.js +1 -1
  152. package/dist/translations/zh.umd.js +1 -1
  153. package/lang/translations/be.po +228 -0
  154. package/package.json +10 -10
  155. package/src/adapters/aiadapter.js +1 -1
  156. package/src/adapters/aitextadapter.js +1 -1
  157. package/src/adapters/awstextadapter.js +1 -1
  158. package/src/adapters/openaitextadapter.js +1 -1
  159. package/src/aiassistant.js +1 -1
  160. package/src/aiassistantediting.js +1 -1
  161. package/src/aiassistantui.js +1 -1
  162. package/src/index.js +1 -1
  163. package/src/legacyerrors.js +1 -1
  164. package/src/ui/aiassistantcontroller.js +2 -2
  165. package/src/ui/form/aiformcontentarea.js +1 -1
  166. package/src/ui/form/aiformerrorview.d.ts +1 -4
  167. package/src/ui/form/aiformerrorview.js +1 -1
  168. package/src/ui/form/aiformpromptview.js +1 -1
  169. package/src/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/ui/form/aiformview.js +1 -1
  171. package/src/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/ui/form/aihistorylistview.js +1 -1
  173. package/src/ui/form/prompthistory.js +1 -1
  174. package/src/ui/showaiassistantcommand.js +1 -1
  175. package/src/utils/common-translations.js +1 -1
  176. package/src/utils/normalizecommandsconfig.js +1 -1
  177. package/theme/icons/copy.svg +0 -1
  178. package/theme/icons/error.svg +0 -1
  179. package/theme/icons/magic-wand.svg +0 -1
  180. package/theme/icons/submit.svg +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x257a95=_0x7be1;function _0x50da(){const _0x34af47=['queryView','copyButtonView','label','focusCycler','search','isProcessing','contentArea','_focusables','focusFirst','_promptHistory','fieldView','locale','shift\x20+\x20tab','_createToolbar','stopButton','set','6hbZMyQ','tryAgainButton','ck-ai-form','insertButton','chain','isEnabled','Empty\x20history','isVisible','createCollection','reset','historyGroupView','tab','_createHistoryView','AI_ERROR_FAILED','listenTo','add','tryAgainEvent','242582VPGCtl','3972085DqULZQ','execute','keystrokes','replaceContent','9wCneEB','prompt','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','clear','807351UEKJQP','clearHistory','handleError','submitPrompt','text','render','trim','focusLast','12cUcmIC','268261BCgkaN','high','replaceButton','focus','Ask\x20AI\x20to\x20edit\x20or\x20generate','1046463ASPVvf','errorView','startProcessing','REPLACE','submit','8115550Wdswmk','insertContentBelow','focusTracker','fire','3FmSDnP','items','finishProcessing','ck-hidden','120KJaFiE','2383696SbwGEp','mainAction','bindTo','Ask\x20AI\x20to\x20improve\x20generated\x20text','toolbar','isError','div','setTemplate','stopProcessing','_createPromptView','ck-ai-form-content','delegate','bind','bindTemplate','promptView','element','value'];_0x50da=function(){return _0x34af47;};return _0x50da();}(function(_0xf10b54,_0x510cb8){const _0x2e37f1=_0x7be1,_0x2401da=_0xf10b54();while(!![]){try{const _0x5ec209=-parseInt(_0x2e37f1(0x162))/0x1*(-parseInt(_0x2e37f1(0x142))/0x2)+parseInt(_0x2e37f1(0x14b))/0x3*(parseInt(_0x2e37f1(0x153))/0x4)+-parseInt(_0x2e37f1(0x143))/0x5+parseInt(_0x2e37f1(0x131))/0x6*(parseInt(_0x2e37f1(0x154))/0x7)+parseInt(_0x2e37f1(0x167))/0x8*(parseInt(_0x2e37f1(0x147))/0x9)+parseInt(_0x2e37f1(0x15e))/0xa+-parseInt(_0x2e37f1(0x159))/0xb*(parseInt(_0x2e37f1(0x166))/0xc);if(_0x5ec209===_0x510cb8)break;else _0x2401da['push'](_0x2401da['shift']());}catch(_0xc64711){_0x2401da['push'](_0x2401da['shift']());}}}(_0x50da,0x8bf85));import{FocusTracker as _0xf21009,KeystrokeHandler as _0x1016e8}from'ckeditor5/src/utils.js';import{View as _0x8af4d2,FocusCycler as _0x437686,createLabeledTextarea as _0x5076da}from'ckeditor5/src/ui.js';import _0x36852d,{AIFormToolbarViewMainActionLabel as _0x19d468}from'./aiformtoolbarview.js';import _0x469478 from'./aiformcontentarea.js';import _0xcd2718 from'./aiformerrorview.js';import _0x75d4f from'./aiformpromptview.js';function _0x7be1(_0xece20c,_0x3063dd){const _0x7be1dc=_0x50da();return _0x7be1=function(_0x88bfea,_0x332a66){_0x88bfea=_0x88bfea-0x12b;let _0x27828e=_0x7be1dc[_0x88bfea];return _0x27828e;},_0x7be1(_0xece20c,_0x3063dd);}import _0x49d332 from'./aihistorylistview.js';import _0x305489 from'./aihistorylistitemview.js';import _0x4a036c from'./prompthistory.js';import{getTranslation as _0x3c83c1}from'../../utils/common-translations.js';import{escape as _0x52f58b}from'lodash-es';export default class k extends _0x8af4d2{constructor(_0x1becbf,_0x41ec48,_0x1b6b89=''){const _0x561572=_0x7be1;super(_0x1becbf),this[_0x561572(0x130)](_0x561572(0x136),!0x0),this[_0x561572(0x130)](_0x561572(0x17d),!0x1),this[_0x561572(0x130)](_0x561572(0x148),''),this[_0x561572(0x130)](_0x561572(0x177),''),this[_0x561572(0x130)](_0x561572(0x16c),!0x1),this[_0x561572(0x130)](_0x561572(0x168),_0x19d468[_0x561572(0x15c)]),this[_0x561572(0x181)]=new _0x4a036c(),this[_0x561572(0x15a)]=new _0xcd2718(_0x1becbf),this[_0x561572(0x17e)]=new _0x469478(_0x1becbf,_0x1b6b89),this[_0x561572(0x17e)][_0x561572(0x173)](_0x561572(0x17d))['to'](this),this[_0x561572(0x17e)][_0x561572(0x173)](_0x561572(0x177))['to'](this),this[_0x561572(0x16b)]=this[_0x561572(0x12e)](),this[_0x561572(0x16b)][_0x561572(0x173)](_0x561572(0x168))['to'](this),this[_0x561572(0x175)]=this[_0x561572(0x170)](),this[_0x561572(0x160)]=new _0xf21009(),this[_0x561572(0x145)]=new _0x1016e8(),this[_0x561572(0x17f)]=this[_0x561572(0x139)]([this[_0x561572(0x17e)],this[_0x561572(0x17e)][_0x561572(0x179)],this[_0x561572(0x16b)],this[_0x561572(0x175)]]),this[_0x561572(0x17b)]=new _0x437686({'focusables':this[_0x561572(0x17f)],'focusTracker':this[_0x561572(0x160)],'keystrokeHandler':this[_0x561572(0x145)],'actions':{'focusPrevious':_0x561572(0x12d),'focusNext':_0x561572(0x13c)}}),this[_0x561572(0x17b)][_0x561572(0x135)](this[_0x561572(0x175)][_0x561572(0x17b)]),this[_0x561572(0x175)][_0x561572(0x178)][_0x561572(0x12b)][_0x561572(0x173)](_0x561572(0x177))['to'](this,_0x561572(0x148));const _0x55730b=this[_0x561572(0x174)];this[_0x561572(0x16e)]({'tag':_0x561572(0x16d),'attributes':{'class':['ck',_0x561572(0x133),_0x41ec48],'tabindex':'-1'},'children':[{'tag':_0x561572(0x16d),'attributes':{'class':['ck',_0x561572(0x171)]},'children':[{'tag':_0x561572(0x16d),'attributes':{'class':[_0x55730b['if'](_0x561572(0x16c),_0x561572(0x165),_0x4ceb56=>!_0x4ceb56)]},'children':[this[_0x561572(0x15a)]]},this[_0x561572(0x17e)],this[_0x561572(0x16b)],this[_0x561572(0x175)]]}]});}[_0x257a95(0x150)](){const _0x5eb14d=_0x257a95;super[_0x5eb14d(0x150)](),this[_0x5eb14d(0x160)][_0x5eb14d(0x140)](this[_0x5eb14d(0x17e)][_0x5eb14d(0x176)]),this[_0x5eb14d(0x160)][_0x5eb14d(0x140)](this[_0x5eb14d(0x17e)][_0x5eb14d(0x179)][_0x5eb14d(0x176)]),this[_0x5eb14d(0x160)][_0x5eb14d(0x140)](this[_0x5eb14d(0x16b)][_0x5eb14d(0x176)]),this[_0x5eb14d(0x160)][_0x5eb14d(0x140)](this[_0x5eb14d(0x175)][_0x5eb14d(0x176)]),this[_0x5eb14d(0x145)][_0x5eb14d(0x13f)](this[_0x5eb14d(0x176)]);}[_0x257a95(0x157)](_0x29bf01=0x1){const _0xf33cc9=_0x257a95;-0x1===_0x29bf01?this[_0xf33cc9(0x17b)][_0xf33cc9(0x152)]():this[_0xf33cc9(0x17b)][_0xf33cc9(0x180)]();}[_0x257a95(0x13a)](){const _0x29bc44=_0x257a95;this[_0x29bc44(0x148)]='',this[_0x29bc44(0x177)]='',this[_0x29bc44(0x16c)]=!0x1,this[_0x29bc44(0x175)][_0x29bc44(0x13a)](),this[_0x29bc44(0x17e)][_0x29bc44(0x138)]=!0x1,this[_0x29bc44(0x16b)][_0x29bc44(0x138)]=!0x1;}[_0x257a95(0x170)](){const _0x196ff2=_0x257a95,_0xe016a5=this[_0x196ff2(0x12c)],_0xe31090=new _0x75d4f(_0xe016a5,{'queryView':{'label':_0x3c83c1(_0xe016a5,_0x196ff2(0x158)),'creator':_0x5076da,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3c83c1(_0xe016a5,_0x196ff2(0x137)),'secondary':_0x3c83c1(_0xe016a5,_0x196ff2(0x149))}}},'filteredView':this[_0x196ff2(0x13d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xe31090[_0x196ff2(0x173)](_0x196ff2(0x136))['to'](this,_0x196ff2(0x136),this,_0x196ff2(0x17d),(_0x30198d,_0x1ed275)=>_0x30198d&&!_0x1ed275),this[_0x196ff2(0x13f)](_0xe31090,_0x196ff2(0x15d),(_0x34686e,_0x1d18c5)=>{const _0x1503ed=_0x196ff2;this[_0x1503ed(0x148)]=_0x1d18c5;const _0x56e9ea=_0x52f58b(_0x1d18c5);this[_0x1503ed(0x161)](_0x1503ed(0x14e),_0x56e9ea),_0x1d18c5[_0x1503ed(0x151)]()&&this[_0x1503ed(0x181)][_0x1503ed(0x140)]({'prompt':_0x56e9ea},0x0);},{'priority':_0x196ff2(0x155)}),_0xe31090;}[_0x257a95(0x13d)](){const _0x209d0e=_0x257a95,_0x4a72b8=new _0x49d332(this[_0x209d0e(0x12c)]);return _0x4a72b8[_0x209d0e(0x13b)][_0x209d0e(0x163)][_0x209d0e(0x169)](this[_0x209d0e(0x181)])['as'](_0x305489),_0x4a72b8['on'](_0x209d0e(0x14c),()=>{const _0x5945b9=_0x209d0e;this[_0x5945b9(0x181)][_0x5945b9(0x14a)](),this[_0x5945b9(0x175)][_0x5945b9(0x17c)](''),this[_0x5945b9(0x175)][_0x5945b9(0x157)]();}),_0x4a72b8;}[_0x257a95(0x12e)](){const _0x3f6f39=_0x257a95,_0x194766=new _0x36852d(this[_0x3f6f39(0x12c)]);return _0x194766[_0x3f6f39(0x156)][_0x3f6f39(0x173)](_0x3f6f39(0x136))['to'](this,_0x3f6f39(0x136),this,_0x3f6f39(0x17d),this,_0x3f6f39(0x177),(_0x21be0f,_0x267cd9,_0xc11121)=>_0x21be0f&&!_0x267cd9&&!!_0xc11121),_0x194766[_0x3f6f39(0x156)][_0x3f6f39(0x172)](_0x3f6f39(0x144))['to'](this,_0x3f6f39(0x146)),_0x194766[_0x3f6f39(0x134)][_0x3f6f39(0x173)](_0x3f6f39(0x136))['to'](this,_0x3f6f39(0x136),this,_0x3f6f39(0x17d),this,_0x3f6f39(0x177),(_0x26953a,_0x4c90ec,_0x4a52cd)=>_0x26953a&&!_0x4c90ec&&!!_0x4a52cd),_0x194766[_0x3f6f39(0x134)][_0x3f6f39(0x172)](_0x3f6f39(0x144))['to'](this,_0x3f6f39(0x15f)),_0x194766[_0x3f6f39(0x132)][_0x3f6f39(0x173)](_0x3f6f39(0x136))['to'](this,_0x3f6f39(0x136),this,_0x3f6f39(0x17d),(_0x4a89d3,_0x37b0cd)=>_0x4a89d3&&!_0x37b0cd),_0x194766[_0x3f6f39(0x132)][_0x3f6f39(0x172)](_0x3f6f39(0x144))['to'](this,_0x3f6f39(0x141)),_0x194766[_0x3f6f39(0x12f)][_0x3f6f39(0x173)](_0x3f6f39(0x136))['to'](this,_0x3f6f39(0x17d)),_0x194766[_0x3f6f39(0x12f)][_0x3f6f39(0x172)](_0x3f6f39(0x144))['to'](this,_0x3f6f39(0x16f)),_0x194766;}[_0x257a95(0x15b)](){const _0x35d397=_0x257a95;this[_0x35d397(0x177)]='',this[_0x35d397(0x16c)]=!0x1,this[_0x35d397(0x17d)]=!0x0,this[_0x35d397(0x17e)][_0x35d397(0x138)]=!0x0,this[_0x35d397(0x16b)][_0x35d397(0x138)]=!0x0,this[_0x35d397(0x17e)][_0x35d397(0x157)]();}[_0x257a95(0x164)](){const _0x14bf0b=_0x257a95,_0xab0975=this[_0x14bf0b(0x12c)];this[_0x14bf0b(0x17d)]=!0x1,this[_0x14bf0b(0x148)]='',this[_0x14bf0b(0x175)][_0x14bf0b(0x13a)](),this[_0x14bf0b(0x177)]&&(this[_0x14bf0b(0x175)][_0x14bf0b(0x178)][_0x14bf0b(0x17a)]=_0x3c83c1(_0xab0975,_0x14bf0b(0x16a)));}[_0x257a95(0x14d)](_0x1805a0){const _0x4a7ea6=_0x257a95,_0x538bed=this[_0x4a7ea6(0x12c)];this[_0x4a7ea6(0x164)](),this[_0x4a7ea6(0x16c)]=!0x0,this[_0x4a7ea6(0x15a)][_0x4a7ea6(0x14f)]=_0x1805a0||_0x3c83c1(_0x538bed,_0x4a7ea6(0x13e)),this[_0x4a7ea6(0x177)]||(this[_0x4a7ea6(0x17e)][_0x4a7ea6(0x138)]=!0x1);}}
23
+ const _0x20c07b=_0x4399;(function(_0x1c3640,_0x417d7b){const _0x25241e=_0x4399,_0x1da43a=_0x1c3640();while(!![]){try{const _0x264e7c=-parseInt(_0x25241e(0x109))/0x1+parseInt(_0x25241e(0xd9))/0x2+-parseInt(_0x25241e(0x100))/0x3+-parseInt(_0x25241e(0x10b))/0x4+-parseInt(_0x25241e(0xec))/0x5*(-parseInt(_0x25241e(0xf7))/0x6)+parseInt(_0x25241e(0xfd))/0x7+-parseInt(_0x25241e(0x10a))/0x8;if(_0x264e7c===_0x417d7b)break;else _0x1da43a['push'](_0x1da43a['shift']());}catch(_0x138cb){_0x1da43a['push'](_0x1da43a['shift']());}}}(_0x5ab7,0xb5616));import{FocusTracker as _0x580f9f,KeystrokeHandler as _0x3999d9}from'ckeditor5/src/utils.js';import{View as _0x3d8c84,FocusCycler as _0x2a7130,createLabeledTextarea as _0x3ff1c7}from'ckeditor5/src/ui.js';import _0x541da8,{AIFormToolbarViewMainActionLabel as _0x5f08a1}from'./aiformtoolbarview.js';import _0x130c84 from'./aiformcontentarea.js';import _0x23d09c from'./aiformerrorview.js';import _0x320898 from'./aiformpromptview.js';import _0x4d1193 from'./aihistorylistview.js';import _0xc33326 from'./aihistorylistitemview.js';import _0x26de8d from'./prompthistory.js';import{getTranslation as _0x3e4bba}from'../../utils/common-translations.js';function _0x5ab7(){const _0x1a7348=['isVisible','ck-ai-form','shift\x20+\x20tab','value','fieldView','keystrokes','focus','REPLACE','errorView','set','prompt','reset','ck-hidden','_focusables','chain','locale','bindTemplate','2198545NgzSQA','insertButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','promptView','isError','bindTo','text','focusTracker','fire','contentArea','submitPrompt','12yiEKSa','createCollection','clearHistory','search','replaceButton','render','7612199wdEkaO','tryAgainEvent','tab','4145064ZLIwGT','div','isProcessing','finishProcessing','AI_ERROR_FAILED','bind','Empty\x20history','stopProcessing','replaceContent','159314HpqIzf','5959032xsYaIS','349492uausTv','element','delegate','listenTo','insertContentBelow','_createHistoryView','trim','startProcessing','execute','focusLast','mainAction','high','toolbar','copyButtonView','label','items','tryAgainButton','handleError','ck-ai-form-content','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_createToolbar','clear','setTemplate','submit','_promptHistory','queryView','focusFirst','_createPromptView','historyGroupView','add','stopButton','isEnabled','Ask\x20AI\x20to\x20edit\x20or\x20generate','2298626ijXijB','focusCycler'];_0x5ab7=function(){return _0x1a7348;};return _0x5ab7();}import{escape as _0x395732}from'es-toolkit/compat';function _0x4399(_0x1b2060,_0x21ad75){const _0x5ab766=_0x5ab7();return _0x4399=function(_0x439974,_0x437d32){_0x439974=_0x439974-0xc9;let _0x446114=_0x5ab766[_0x439974];return _0x446114;},_0x4399(_0x1b2060,_0x21ad75);}export default class _ extends _0x3d8c84{[_0x20c07b(0xf3)];[_0x20c07b(0xe0)];[_0x20c07b(0xf5)];[_0x20c07b(0x117)];[_0x20c07b(0xef)];[_0x20c07b(0xe3)];[_0x20c07b(0xe8)];[_0x20c07b(0xda)];[_0x20c07b(0xd0)];constructor(_0x6ddafd,_0x4e7cbb,_0x513b50=''){const _0x489a08=_0x20c07b;super(_0x6ddafd),this[_0x489a08(0xe4)](_0x489a08(0xd7),!0x0),this[_0x489a08(0xe4)](_0x489a08(0x102),!0x1),this[_0x489a08(0xe4)](_0x489a08(0xe5),''),this[_0x489a08(0xe4)](_0x489a08(0xde),''),this[_0x489a08(0xe4)](_0x489a08(0xf0),!0x1),this[_0x489a08(0xe4)](_0x489a08(0x115),_0x5f08a1[_0x489a08(0xe2)]),this[_0x489a08(0xd0)]=new _0x26de8d(),this[_0x489a08(0xe3)]=new _0x23d09c(_0x6ddafd),this[_0x489a08(0xf5)]=new _0x130c84(_0x6ddafd,_0x513b50),this[_0x489a08(0xf5)][_0x489a08(0x105)](_0x489a08(0x102))['to'](this),this[_0x489a08(0xf5)][_0x489a08(0x105)](_0x489a08(0xde))['to'](this),this[_0x489a08(0x117)]=this[_0x489a08(0xcc)](),this[_0x489a08(0x117)][_0x489a08(0x105)](_0x489a08(0x115))['to'](this),this[_0x489a08(0xef)]=this[_0x489a08(0xd3)](),this[_0x489a08(0xf3)]=new _0x580f9f(),this[_0x489a08(0xe0)]=new _0x3999d9(),this[_0x489a08(0xe8)]=this[_0x489a08(0xf8)]([this[_0x489a08(0xf5)],this[_0x489a08(0xf5)][_0x489a08(0x118)],this[_0x489a08(0x117)],this[_0x489a08(0xef)]]),this[_0x489a08(0xda)]=new _0x2a7130({'focusables':this[_0x489a08(0xe8)],'focusTracker':this[_0x489a08(0xf3)],'keystrokeHandler':this[_0x489a08(0xe0)],'actions':{'focusPrevious':_0x489a08(0xdd),'focusNext':_0x489a08(0xff)}}),this[_0x489a08(0xda)][_0x489a08(0xe9)](this[_0x489a08(0xef)][_0x489a08(0xda)]),this[_0x489a08(0xef)][_0x489a08(0xd1)][_0x489a08(0xdf)][_0x489a08(0x105)](_0x489a08(0xde))['to'](this,_0x489a08(0xe5));const _0x58844d=this[_0x489a08(0xeb)];this[_0x489a08(0xce)]({'tag':_0x489a08(0x101),'attributes':{'class':['ck',_0x489a08(0xdc),_0x4e7cbb],'tabindex':'-1'},'children':[{'tag':_0x489a08(0x101),'attributes':{'class':['ck',_0x489a08(0xca)]},'children':[{'tag':_0x489a08(0x101),'attributes':{'class':[_0x58844d['if'](_0x489a08(0xf0),_0x489a08(0xe7),_0x487ad1=>!_0x487ad1)]},'children':[this[_0x489a08(0xe3)]]},this[_0x489a08(0xf5)],this[_0x489a08(0x117)],this[_0x489a08(0xef)]]}]});}[_0x20c07b(0xfc)](){const _0x3bf049=_0x20c07b;super[_0x3bf049(0xfc)](),this[_0x3bf049(0xf3)][_0x3bf049(0xd5)](this[_0x3bf049(0xf5)][_0x3bf049(0x10c)]),this[_0x3bf049(0xf3)][_0x3bf049(0xd5)](this[_0x3bf049(0xf5)][_0x3bf049(0x118)][_0x3bf049(0x10c)]),this[_0x3bf049(0xf3)][_0x3bf049(0xd5)](this[_0x3bf049(0x117)][_0x3bf049(0x10c)]),this[_0x3bf049(0xf3)][_0x3bf049(0xd5)](this[_0x3bf049(0xef)][_0x3bf049(0x10c)]),this[_0x3bf049(0xe0)][_0x3bf049(0x10e)](this[_0x3bf049(0x10c)]);}[_0x20c07b(0xe1)](_0xc0d21f=0x1){const _0x9ce2c8=_0x20c07b;-0x1===_0xc0d21f?this[_0x9ce2c8(0xda)][_0x9ce2c8(0x114)]():this[_0x9ce2c8(0xda)][_0x9ce2c8(0xd2)]();}[_0x20c07b(0xe6)](){const _0x44d0b3=_0x20c07b;this[_0x44d0b3(0xe5)]='',this[_0x44d0b3(0xde)]='',this[_0x44d0b3(0xf0)]=!0x1,this[_0x44d0b3(0xef)][_0x44d0b3(0xe6)](),this[_0x44d0b3(0xf5)][_0x44d0b3(0xdb)]=!0x1,this[_0x44d0b3(0x117)][_0x44d0b3(0xdb)]=!0x1;}[_0x20c07b(0xd3)](){const _0x160305=_0x20c07b,_0x350217=this[_0x160305(0xea)],_0x5d94ea=new _0x320898(_0x350217,{'queryView':{'label':_0x3e4bba(_0x350217,_0x160305(0xd8)),'creator':_0x3ff1c7,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3e4bba(_0x350217,_0x160305(0x106)),'secondary':_0x3e4bba(_0x350217,_0x160305(0xcb))}}},'filteredView':this[_0x160305(0x110)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5d94ea[_0x160305(0x105)](_0x160305(0xd7))['to'](this,_0x160305(0xd7),this,_0x160305(0x102),(_0x32ddd0,_0x1f0464)=>_0x32ddd0&&!_0x1f0464),this[_0x160305(0x10e)](_0x5d94ea,_0x160305(0xcf),(_0xc56c68,_0x4def20)=>{const _0x44ff07=_0x160305;this[_0x44ff07(0xe5)]=_0x4def20;const _0x4bb247=_0x395732(_0x4def20);this[_0x44ff07(0xf4)](_0x44ff07(0xf6),_0x4bb247),_0x4def20[_0x44ff07(0x111)]()&&this[_0x44ff07(0xd0)][_0x44ff07(0xd5)]({'prompt':_0x4bb247},0x0);},{'priority':_0x160305(0x116)}),_0x5d94ea;}[_0x20c07b(0x110)](){const _0x4726dc=_0x20c07b,_0x25bef9=new _0x4d1193(this[_0x4726dc(0xea)]);return _0x25bef9[_0x4726dc(0xd4)][_0x4726dc(0x11a)][_0x4726dc(0xf1)](this[_0x4726dc(0xd0)])['as'](_0xc33326),_0x25bef9['on'](_0x4726dc(0xf9),()=>{const _0x5e1252=_0x4726dc;this[_0x5e1252(0xd0)][_0x5e1252(0xcd)](),this[_0x5e1252(0xef)][_0x5e1252(0xfa)](''),this[_0x5e1252(0xef)][_0x5e1252(0xe1)]();}),_0x25bef9;}[_0x20c07b(0xcc)](){const _0x247a10=_0x20c07b,_0x2b27e1=new _0x541da8(this[_0x247a10(0xea)]);return _0x2b27e1[_0x247a10(0xfb)][_0x247a10(0x105)](_0x247a10(0xd7))['to'](this,_0x247a10(0xd7),this,_0x247a10(0x102),this,_0x247a10(0xde),(_0x11fdb8,_0x3e1367,_0x908832)=>_0x11fdb8&&!_0x3e1367&&!!_0x908832),_0x2b27e1[_0x247a10(0xfb)][_0x247a10(0x10d)](_0x247a10(0x113))['to'](this,_0x247a10(0x108)),_0x2b27e1[_0x247a10(0xed)][_0x247a10(0x105)](_0x247a10(0xd7))['to'](this,_0x247a10(0xd7),this,_0x247a10(0x102),this,_0x247a10(0xde),(_0x4971fb,_0x3f4b69,_0x1872b5)=>_0x4971fb&&!_0x3f4b69&&!!_0x1872b5),_0x2b27e1[_0x247a10(0xed)][_0x247a10(0x10d)](_0x247a10(0x113))['to'](this,_0x247a10(0x10f)),_0x2b27e1[_0x247a10(0x11b)][_0x247a10(0x105)](_0x247a10(0xd7))['to'](this,_0x247a10(0xd7),this,_0x247a10(0x102),(_0x557bda,_0x37a93a)=>_0x557bda&&!_0x37a93a),_0x2b27e1[_0x247a10(0x11b)][_0x247a10(0x10d)](_0x247a10(0x113))['to'](this,_0x247a10(0xfe)),_0x2b27e1[_0x247a10(0xd6)][_0x247a10(0x105)](_0x247a10(0xd7))['to'](this,_0x247a10(0x102)),_0x2b27e1[_0x247a10(0xd6)][_0x247a10(0x10d)](_0x247a10(0x113))['to'](this,_0x247a10(0x107)),_0x2b27e1;}[_0x20c07b(0x112)](){const _0x32a43f=_0x20c07b;this[_0x32a43f(0xde)]='',this[_0x32a43f(0xf0)]=!0x1,this[_0x32a43f(0x102)]=!0x0,this[_0x32a43f(0xf5)][_0x32a43f(0xdb)]=!0x0,this[_0x32a43f(0x117)][_0x32a43f(0xdb)]=!0x0,this[_0x32a43f(0xf5)][_0x32a43f(0xe1)]();}[_0x20c07b(0x103)](){const _0x2f9b90=_0x20c07b,_0x3be7b8=this[_0x2f9b90(0xea)];this[_0x2f9b90(0x102)]=!0x1,this[_0x2f9b90(0xe5)]='',this[_0x2f9b90(0xef)][_0x2f9b90(0xe6)](),this[_0x2f9b90(0xde)]&&(this[_0x2f9b90(0xef)][_0x2f9b90(0xd1)][_0x2f9b90(0x119)]=_0x3e4bba(_0x3be7b8,_0x2f9b90(0xee)));}[_0x20c07b(0xc9)](_0x4200a9){const _0x3ef843=_0x20c07b,_0x1ff3d9=this[_0x3ef843(0xea)];this[_0x3ef843(0x103)](),this[_0x3ef843(0xf0)]=!0x0,this[_0x3ef843(0xe3)][_0x3ef843(0xf2)]=_0x4200a9||_0x3e4bba(_0x1ff3d9,_0x3ef843(0x104)),this[_0x3ef843(0xde)]||(this[_0x3ef843(0xf5)][_0x3ef843(0xdb)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x529137,_0x3fdecd){const _0x299c8b=_0x17aa,_0x19f0c4=_0x529137();while(!![]){try{const _0x20fd75=parseInt(_0x299c8b(0x19d))/0x1*(parseInt(_0x299c8b(0x196))/0x2)+parseInt(_0x299c8b(0x18e))/0x3*(parseInt(_0x299c8b(0x191))/0x4)+parseInt(_0x299c8b(0x18f))/0x5+parseInt(_0x299c8b(0x18d))/0x6*(-parseInt(_0x299c8b(0x193))/0x7)+parseInt(_0x299c8b(0x192))/0x8*(-parseInt(_0x299c8b(0x18c))/0x9)+parseInt(_0x299c8b(0x194))/0xa*(parseInt(_0x299c8b(0x18b))/0xb)+-parseInt(_0x299c8b(0x18a))/0xc*(parseInt(_0x299c8b(0x198))/0xd);if(_0x20fd75===_0x3fdecd)break;else _0x19f0c4['push'](_0x19f0c4['shift']());}catch(_0x328714){_0x19f0c4['push'](_0x19f0c4['shift']());}}}(_0x54dc,0xa88df));function _0x17aa(_0x2a0bde,_0x4b5c27){const _0x54dc1c=_0x54dc();return _0x17aa=function(_0x17aa23,_0x58590c){_0x17aa23=_0x17aa23-0x18a;let _0x1911cf=_0x54dc1c[_0x17aa23];return _0x1911cf;},_0x17aa(_0x2a0bde,_0x4b5c27);}import{ListItemView as _0x216680,ButtonView as _0x316b95,ButtonLabelView as _0x440ea4}from'ckeditor5/src/ui.js';import{unescape as _0x2de1ab}from'lodash-es';export default class hs extends _0x216680{constructor(_0x18b0ca){const _0x20b837=_0x17aa;super();const _0x448134=new _0x440ea4(),_0x3b7f22=new _0x316b95(this[_0x20b837(0x19c)],_0x448134);this[_0x20b837(0x199)][_0x20b837(0x190)](_0x3b7f22),_0x3b7f22[_0x20b837(0x195)]({'label':_0x18b0ca[_0x20b837(0x19a)],'withText':!0x0}),_0x3b7f22['on'](_0x20b837(0x19b),()=>{const _0x3d8cc7=_0x20b837;this[_0x3d8cc7(0x197)](_0x3d8cc7(0x19b),{'value':_0x2de1ab(_0x18b0ca[_0x3d8cc7(0x19a)])});});}}function _0x54dc(){const _0x2fbb63=['6766310SdfxCx','set','31286TcEmot','fire','169duzINT','children','prompt','execute','locale','47znmPHQ','980616vBwTmo','22JeVbRA','66033GaieeJ','984lAaaFL','136713yWazMk','3765775xPhEVC','add','36hrpxrG','320susZwz','51457GCCsqP'];_0x54dc=function(){return _0x2fbb63;};return _0x54dc();}
23
+ function _0x38fc(){const _0x5af246=['81TfWnAl','add','12qvPUll','3847173ULJygy','fire','set','1158903MLaGVj','86630YIZVUh','prompt','locale','4PcJyFH','3031bsOJaQ','8791990iuGZoI','8724FuQdYs','5389135FywUTu','40ZvIcoy','execute','873820aJwSfB','children'];_0x38fc=function(){return _0x5af246;};return _0x38fc();}(function(_0x173afd,_0x1d4023){const _0x48c690=_0x4bea,_0x2f481=_0x173afd();while(!![]){try{const _0x3399ea=parseInt(_0x48c690(0xdf))/0x1+parseInt(_0x48c690(0xd5))/0x2*(parseInt(_0x48c690(0xe1))/0x3)+-parseInt(_0x48c690(0xd8))/0x4*(-parseInt(_0x48c690(0xdc))/0x5)+-parseInt(_0x48c690(0xdb))/0x6*(parseInt(_0x48c690(0xd9))/0x7)+-parseInt(_0x48c690(0xdd))/0x8*(parseInt(_0x48c690(0xd4))/0x9)+-parseInt(_0x48c690(0xda))/0xa+-parseInt(_0x48c690(0xd1))/0xb*(parseInt(_0x48c690(0xd0))/0xc);if(_0x3399ea===_0x1d4023)break;else _0x2f481['push'](_0x2f481['shift']());}catch(_0x47d202){_0x2f481['push'](_0x2f481['shift']());}}}(_0x38fc,0x97129));import{ListItemView as _0x3b6c7f,ButtonView as _0x11cb2e,ButtonLabelView as _0x2b4821}from'ckeditor5/src/ui.js';function _0x4bea(_0x4d3dc3,_0x3578fd){const _0x38fcb4=_0x38fc();return _0x4bea=function(_0x4bea73,_0x4c87c0){_0x4bea73=_0x4bea73-0xcf;let _0x310528=_0x38fcb4[_0x4bea73];return _0x310528;},_0x4bea(_0x4d3dc3,_0x3578fd);}import{unescape as _0x3b5363}from'es-toolkit/compat';export default class bt extends _0x3b6c7f{constructor(_0x3021cc){const _0x497a6d=_0x4bea;super();const _0x5568a2=new _0x2b4821(),_0x4cebc8=new _0x11cb2e(this[_0x497a6d(0xd7)],_0x5568a2);this[_0x497a6d(0xe0)][_0x497a6d(0xcf)](_0x4cebc8),_0x4cebc8[_0x497a6d(0xd3)]({'label':_0x3021cc[_0x497a6d(0xd6)],'withText':!0x0}),_0x4cebc8['on'](_0x497a6d(0xde),()=>{const _0x4397ba=_0x497a6d;this[_0x4397ba(0xd2)](_0x4397ba(0xde),{'value':_0x3b5363(_0x3021cc[_0x4397ba(0xd6)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13f95e=_0x1a38;function _0x1a38(_0x328d25,_0x37a8b2){const _0x400846=_0x4008();return _0x1a38=function(_0x1a381c,_0x39382c){_0x1a381c=_0x1a381c-0x7f;let _0x5e24ec=_0x400846[_0x1a381c];return _0x5e24ec;},_0x1a38(_0x328d25,_0x37a8b2);}(function(_0xf60e42,_0x255783){const _0x525e43=_0x1a38,_0x4a2265=_0xf60e42();while(!![]){try{const _0xbd4c1c=parseInt(_0x525e43(0x90))/0x1+parseInt(_0x525e43(0x8b))/0x2*(parseInt(_0x525e43(0x87))/0x3)+parseInt(_0x525e43(0x95))/0x4*(-parseInt(_0x525e43(0x8c))/0x5)+parseInt(_0x525e43(0x80))/0x6*(parseInt(_0x525e43(0x82))/0x7)+parseInt(_0x525e43(0x8e))/0x8+-parseInt(_0x525e43(0x84))/0x9*(parseInt(_0x525e43(0x98))/0xa)+-parseInt(_0x525e43(0x91))/0xb;if(_0xbd4c1c===_0x255783)break;else _0x4a2265['push'](_0x4a2265['shift']());}catch(_0x27833f){_0x4a2265['push'](_0x4a2265['shift']());}}}(_0x4008,0xc94b7));import{ListView as _0x5afbb6,ListItemGroupView as _0x7f4486,ButtonView as _0x2df5eb}from'ckeditor5/src/ui.js';import{getTranslation as _0x4016de}from'../../utils/common-translations.js';export default class rs extends _0x5afbb6{constructor(_0x48b596){const _0x584eeb=_0x1a38;super(_0x48b596),this[_0x584eeb(0x92)]=this[_0x584eeb(0x81)](),this[_0x584eeb(0x7f)]=new _0x7f4486(),this[_0x584eeb(0x7f)][_0x584eeb(0x93)][_0x584eeb(0x8a)](this[_0x584eeb(0x92)],0x1),this[_0x584eeb(0x7f)][_0x584eeb(0x89)]=_0x4016de(_0x48b596,_0x584eeb(0x99)),this[_0x584eeb(0x7f)][_0x584eeb(0x83)][_0x584eeb(0x97)](_0x584eeb(0x85))['to'](this),this[_0x584eeb(0x83)][_0x584eeb(0x8a)](this[_0x584eeb(0x7f)]);}[_0x13f95e(0x8f)](){const _0x20294a=_0x13f95e;let _0x3c7a78=0x0;for(const _0x3a6488 of this[_0x20294a(0x83)])_0x3c7a78+=_0x3a6488[_0x20294a(0x83)][_0x20294a(0x94)];return{'resultsCount':_0x3c7a78,'totalItemsCount':_0x3c7a78};}[_0x13f95e(0x81)](){const _0x6055b8=_0x13f95e,_0x4a9fb1=this[_0x6055b8(0x8d)],_0x29c61b=new _0x2df5eb(this[_0x6055b8(0x8d)]);return _0x29c61b[_0x6055b8(0x88)]({'label':'('+_0x4016de(_0x4a9fb1,_0x6055b8(0x9a))+')','withText':!0x0}),_0x29c61b['on'](_0x6055b8(0x85),()=>this[_0x6055b8(0x86)](_0x6055b8(0x96))),_0x29c61b;}}function _0x4008(){const _0x5d4491=['816402UBgsgk','36598199HZnVLs','clearHistoryButton','children','length','132QlbKbG','clearHistory','delegate','940XINcmP','Prompt\x20history','Clear','historyGroupView','29064exceyN','_createClearHistoryButton','1939WVBsBd','items','3762kbYaBh','execute','fire','56481pOPWJr','set','label','add','116egYrIj','102635bupPKz','locale','12945112uxLuPo','filter'];_0x4008=function(){return _0x5d4491;};return _0x4008();}
23
+ function _0x4e71(){const _0x1f86f4=['items','add','_createClearHistoryButton','locale','fire','630429bWgaMW','clearHistoryButton','set','execute','delegate','4511336qNHbYN','length','filter','Clear','7FmKaOb','4838850KBoDJO','272VMhlUO','children','Prompt\x20history','clearHistory','historyGroupView','56907fYaRWC','3698322RsehLw','748950tYFvaK','170jPCGQk','label','15183ekonzH','11KFYWAd'];_0x4e71=function(){return _0x1f86f4;};return _0x4e71();}const _0x316d0f=_0x1ccb;function _0x1ccb(_0x264568,_0x3f792c){const _0x4e717c=_0x4e71();return _0x1ccb=function(_0x1ccbb3,_0x2538c9){_0x1ccbb3=_0x1ccbb3-0xf9;let _0x543449=_0x4e717c[_0x1ccbb3];return _0x543449;},_0x1ccb(_0x264568,_0x3f792c);}(function(_0x2c1406,_0x2206ec){const _0x4996a8=_0x1ccb,_0x54e624=_0x2c1406();while(!![]){try{const _0x32daa2=-parseInt(_0x4996a8(0x10c))/0x1*(-parseInt(_0x4996a8(0x10a))/0x2)+-parseInt(_0x4996a8(0x113))/0x3+parseInt(_0x4996a8(0xfc))/0x4+-parseInt(_0x4996a8(0x101))/0x5+-parseInt(_0x4996a8(0x108))/0x6*(parseInt(_0x4996a8(0x100))/0x7)+parseInt(_0x4996a8(0x102))/0x8*(parseInt(_0x4996a8(0x107))/0x9)+parseInt(_0x4996a8(0x109))/0xa*(-parseInt(_0x4996a8(0x10d))/0xb);if(_0x32daa2===_0x2206ec)break;else _0x54e624['push'](_0x54e624['shift']());}catch(_0x3a8682){_0x54e624['push'](_0x54e624['shift']());}}}(_0x4e71,0xba910));import{ListView as _0x4fb44c,ListItemGroupView as _0x5acfdf,ButtonView as _0xaf52bf}from'ckeditor5/src/ui.js';import{getTranslation as _0x9533f1}from'../../utils/common-translations.js';export default class ft extends _0x4fb44c{[_0x316d0f(0x106)];[_0x316d0f(0x114)];constructor(_0xde60f5){const _0x331f62=_0x316d0f;super(_0xde60f5),this[_0x331f62(0x114)]=this[_0x331f62(0x110)](),this[_0x331f62(0x106)]=new _0x5acfdf(),this[_0x331f62(0x106)][_0x331f62(0x103)][_0x331f62(0x10f)](this[_0x331f62(0x114)],0x1),this[_0x331f62(0x106)][_0x331f62(0x10b)]=_0x9533f1(_0xde60f5,_0x331f62(0x104)),this[_0x331f62(0x106)][_0x331f62(0x10e)][_0x331f62(0xfb)](_0x331f62(0xfa))['to'](this),this[_0x331f62(0x10e)][_0x331f62(0x10f)](this[_0x331f62(0x106)]);}[_0x316d0f(0xfe)](){const _0x44a463=_0x316d0f;let _0x2b17f7=0x0;for(const _0x5b70a4 of this[_0x44a463(0x10e)])_0x2b17f7+=_0x5b70a4[_0x44a463(0x10e)][_0x44a463(0xfd)];return{'resultsCount':_0x2b17f7,'totalItemsCount':_0x2b17f7};}[_0x316d0f(0x110)](){const _0x353702=_0x316d0f,_0x4c0d96=this[_0x353702(0x111)],_0x32e260=new _0xaf52bf(this[_0x353702(0x111)]);return _0x32e260[_0x353702(0xf9)]({'label':'('+_0x9533f1(_0x4c0d96,_0x353702(0xff))+')','withText':!0x0}),_0x32e260['on'](_0x353702(0xfa),()=>this[_0x353702(0x112)](_0x353702(0x105))),_0x32e260;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x551ba3=_0x58f7;function _0x23da(){const _0xcfa450=['1016AkuJJR','2868IYonjG','2926748mPfAei','add','length','CKEditor/AIFormView/PromptHistory','remove','setItem','getItem','addMany','1369254jhmanf','stringify','1TXYRfP','1737HaBWzP','last','map','_loadFromSessionStorage','7041076PGQJpd','toLowerCase','prompt','42415hFZBNY','10571570zuuPSV','_saveToSessionStorage','trim','11RuDuCc','3fIRdFs','27443mJfxJG','90ORtzjA','parse'];_0x23da=function(){return _0xcfa450;};return _0x23da();}(function(_0x3c718b,_0x2ec985){const _0x53d029=_0x58f7,_0x34ceb4=_0x3c718b();while(!![]){try{const _0x20b4f3=parseInt(_0x53d029(0xf0))/0x1*(parseInt(_0x53d029(0xee))/0x2)+-parseInt(_0x53d029(0xfd))/0x3*(parseInt(_0x53d029(0xe6))/0x4)+-parseInt(_0x53d029(0xf8))/0x5*(-parseInt(_0x53d029(0xff))/0x6)+-parseInt(_0x53d029(0xf5))/0x7+parseInt(_0x53d029(0xe4))/0x8*(-parseInt(_0x53d029(0xf1))/0x9)+-parseInt(_0x53d029(0xf9))/0xa*(-parseInt(_0x53d029(0xfc))/0xb)+parseInt(_0x53d029(0xe5))/0xc*(parseInt(_0x53d029(0xfe))/0xd);if(_0x20b4f3===_0x2ec985)break;else _0x34ceb4['push'](_0x34ceb4['shift']());}catch(_0x519180){_0x34ceb4['push'](_0x34ceb4['shift']());}}}(_0x23da,0x954a4));import{Collection as _0x4fb911}from'ckeditor5/src/utils.js';const cs=_0x551ba3(0xe9);function _0x58f7(_0x5399dd,_0xda819f){const _0x23daac=_0x23da();return _0x58f7=function(_0x58f77a,_0xa4c86f){_0x58f77a=_0x58f77a-0xe4;let _0x555902=_0x23daac[_0x58f77a];return _0x555902;},_0x58f7(_0x5399dd,_0xda819f);}export default class os extends _0x4fb911{constructor(){const _0x241c20=_0x551ba3;super(),this[_0x241c20(0xf4)](),this['on'](_0x241c20(0xe7),(_0x315697,_0x1f8007)=>{const _0x166a71=_0x241c20,_0xa5303=Ss(_0x1f8007[_0x166a71(0xf7)]);for(const _0x47d696 of this)if(_0x47d696!=_0x1f8007&&Ss(_0x47d696[_0x166a71(0xf7)])===_0xa5303){this[_0x166a71(0xea)](_0x47d696);break;}this[_0x166a71(0xe8)]>0x14&&this[_0x166a71(0xea)](this[_0x166a71(0xf2)]),this[_0x166a71(0xfa)]();}),this['on'](_0x241c20(0xea),()=>{const _0x31d625=_0x241c20;this[_0x31d625(0xfa)]();});}[_0x551ba3(0xf4)](){const _0x4d62fc=_0x551ba3,_0x3f360e=sessionStorage[_0x4d62fc(0xec)](cs)||'[]';this[_0x4d62fc(0xed)](JSON[_0x4d62fc(0x100)](_0x3f360e));}[_0x551ba3(0xfa)](){const _0x5cd092=_0x551ba3;sessionStorage[_0x5cd092(0xeb)](cs,JSON[_0x5cd092(0xef)](this[_0x5cd092(0xf3)](_0x495085=>_0x495085)));}}function Ss(_0x49824c){const _0x42c07a=_0x551ba3;return _0x49824c[_0x42c07a(0xf6)]()[_0x42c07a(0xfb)]();}
23
+ const _0x502345=_0x2f3e;(function(_0x5a04e4,_0x2ebd2e){const _0x4256c3=_0x2f3e,_0x297458=_0x5a04e4();while(!![]){try{const _0x49950e=-parseInt(_0x4256c3(0x10f))/0x1*(-parseInt(_0x4256c3(0x118))/0x2)+parseInt(_0x4256c3(0x10e))/0x3+-parseInt(_0x4256c3(0x114))/0x4+parseInt(_0x4256c3(0x113))/0x5+-parseInt(_0x4256c3(0x109))/0x6+parseInt(_0x4256c3(0x108))/0x7+parseInt(_0x4256c3(0x115))/0x8*(parseInt(_0x4256c3(0x10b))/0x9);if(_0x49950e===_0x2ebd2e)break;else _0x297458['push'](_0x297458['shift']());}catch(_0x46c1c2){_0x297458['push'](_0x297458['shift']());}}}(_0x26af,0xd0dc3));function _0x2f3e(_0x1cd7e1,_0x5eeef5){const _0x26afea=_0x26af();return _0x2f3e=function(_0x2f3eb7,_0x523d96){_0x2f3eb7=_0x2f3eb7-0x103;let _0x3efa24=_0x26afea[_0x2f3eb7];return _0x3efa24;},_0x2f3e(_0x1cd7e1,_0x5eeef5);}function _0x26af(){const _0x55aedb=['stringify','4MhygvQ','map','getItem','_saveToSessionStorage','add','remove','CKEditor/AIFormView/PromptHistory','parse','length','9403058xvpnwS','8134350TEYSli','trim','138861eNHoms','toLowerCase','last','404547DhLhwA','219433rxWvPb','_loadFromSessionStorage','setItem','addMany','2868835kJulaD','5685224rZjBlg','592uxstpI','prompt'];_0x26af=function(){return _0x55aedb;};return _0x26af();}import{Collection as _0x1a01ed}from'ckeditor5/src/utils.js';const ts=_0x502345(0x105);export default class wt extends _0x1a01ed{constructor(){const _0x4bb049=_0x502345;super(),this[_0x4bb049(0x110)](),this['on'](_0x4bb049(0x103),(_0x348aea,_0x3ebaa8)=>{const _0x4da9d3=_0x4bb049,_0x2f4663=os(_0x3ebaa8[_0x4da9d3(0x116)]);for(const _0x4aae58 of this)if(_0x4aae58!=_0x3ebaa8&&os(_0x4aae58[_0x4da9d3(0x116)])===_0x2f4663){this[_0x4da9d3(0x104)](_0x4aae58);break;}this[_0x4da9d3(0x107)]>0x14&&this[_0x4da9d3(0x104)](this[_0x4da9d3(0x10d)]),this[_0x4da9d3(0x11b)]();}),this['on'](_0x4bb049(0x104),()=>{const _0x3f50eb=_0x4bb049;this[_0x3f50eb(0x11b)]();});}[_0x502345(0x110)](){const _0x33efde=_0x502345,_0x458cb0=sessionStorage[_0x33efde(0x11a)](ts)||'[]';this[_0x33efde(0x112)](JSON[_0x33efde(0x106)](_0x458cb0));}[_0x502345(0x11b)](){const _0x256ef5=_0x502345;sessionStorage[_0x256ef5(0x111)](ts,JSON[_0x256ef5(0x117)](this[_0x256ef5(0x119)](_0x794a15=>_0x794a15)));}}function os(_0xc813af){const _0x33c879=_0x502345;return _0xc813af[_0x33c879(0x10c)]()[_0x33c879(0x10a)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1967b0=_0x23ae;(function(_0x1dd05b,_0x1b8196){const _0x3e1490=_0x23ae,_0x3030d7=_0x1dd05b();while(!![]){try{const _0x176163=-parseInt(_0x3e1490(0x1ca))/0x1*(-parseInt(_0x3e1490(0x1aa))/0x2)+parseInt(_0x3e1490(0x1ac))/0x3*(-parseInt(_0x3e1490(0x1be))/0x4)+parseInt(_0x3e1490(0x1b5))/0x5+-parseInt(_0x3e1490(0x1b2))/0x6+parseInt(_0x3e1490(0x1a6))/0x7*(-parseInt(_0x3e1490(0x1bb))/0x8)+parseInt(_0x3e1490(0x1a7))/0x9*(-parseInt(_0x3e1490(0x1ae))/0xa)+parseInt(_0x3e1490(0x1c3))/0xb;if(_0x176163===_0x1b8196)break;else _0x3030d7['push'](_0x3030d7['shift']());}catch(_0x1408f2){_0x3030d7['push'](_0x3030d7['shift']());}}}(_0x403b,0x88ba7));import{Command as _0x44362b}from'ckeditor5/src/core.js';import _0x188702 from'../aiassistantui.js';export default class E extends _0x44362b{constructor(_0x4ee058,_0x31eec9){const _0x26af16=_0x23ae;super(_0x4ee058),this[_0x26af16(0x1b0)]=_0x31eec9,this[_0x26af16(0x1c4)](_0x26af16(0x1ba),[]),this['on'](_0x26af16(0x1a9),(_0x3ea18e,_0x16e901,_0x31ef18)=>{const _0x1cddc7=_0x26af16;this[_0x1cddc7(0x1a5)]&&(this[_0x1cddc7(0x1ba)]=G(this[_0x1cddc7(0x1b0)],_0x31ef18));}),this[_0x26af16(0x1c4)](_0x26af16(0x1a1),!0x1),this['on'](_0x26af16(0x1a3),(_0x49393f,_0x11bdac,_0x3a7bf6)=>{const _0xf464a7=_0x26af16;this[_0xf464a7(0x1ba)]=_0x3a7bf6?G(this[_0xf464a7(0x1b0)],this[_0xf464a7(0x1a1)]):[];});}[_0x1967b0(0x1bf)](){const _0x4029fb=_0x1967b0,_0x4025d8=this[_0x4029fb(0x1bd)][_0x4029fb(0x1a4)];this[_0x4029fb(0x1a1)]=function(_0x2607e7){const _0x15d8d8=_0x4029fb,_0x895ae9=_0x2607e7[_0x15d8d8(0x1bc)][_0x15d8d8(0x1b3)];return _0x895ae9[_0x15d8d8(0x1c6)]?0x0!==[..._0x895ae9[_0x15d8d8(0x1ad)]()][_0x15d8d8(0x1cb)]&&![..._0x895ae9[_0x15d8d8(0x1ad)]()][0x0][_0x15d8d8(0x1c7)]:!!_0x2607e7[_0x15d8d8(0x19f)](_0x895ae9[_0x15d8d8(0x1b7)]());}(_0x4025d8);const _0xa89572=_0x4025d8[_0x4029fb(0x1bc)][_0x4029fb(0x1b3)],_0x386253=this[_0x4029fb(0x1bd)][_0x4029fb(0x1b8)][_0x4029fb(0x1c2)](_0x4029fb(0x1b9));for(const _0x534d0a of _0xa89572[_0x4029fb(0x1c5)]())for(const _0xb6e8bd of _0x534d0a[_0x4029fb(0x1af)]())if(_0xb6e8bd['is'](_0x4029fb(0x1a0))&&_0x386253[_0x4029fb(0x1c0)](_0xb6e8bd[_0x4029fb(0x1b1)]))return void(this[_0x4029fb(0x1a5)]=!0x1);this[_0x4029fb(0x1a5)]=!0x0;}[_0x1967b0(0x1a8)](_0x15eeb5='',_0x4e8723='',_0x397502=_0x1967b0(0x1c9)){const _0x2a58b5=_0x1967b0;this[_0x2a58b5(0x1bd)][_0x2a58b5(0x1c1)][_0x2a58b5(0x1c2)](_0x188702)[_0x2a58b5(0x1c8)](_0x15eeb5,_0x4e8723,_0x397502);}}function _0x403b(){const _0x358581=['1569870rUbUTR','from','getFirstRange','config','ai.aiAssistant.disabledElements','enabledCommandsIds','3294664LzoDpN','document','editor','26024UBVfBh','refresh','includes','plugins','get','27971845dzjmDp','set','getRanges','isCollapsed','isEmpty','showUI','custom','35jcoXIB','length','hasContent','element','_hasContext','add','change:isEnabled','model','isEnabled','14PeBIQN','2291409ZdLqNC','execute','change:_hasContext','51658oaXyNo','requiresContent','357fiXtUb','getSelectedBlocks','30MWVWnN','getItems','_commandDefinitions','name','5034972CXEjLC','selection','values'];_0x403b=function(){return _0x358581;};return _0x403b();}function _0x23ae(_0x58f1ea,_0x530095){const _0x403b69=_0x403b();return _0x23ae=function(_0x23ae30,_0x5240c3){_0x23ae30=_0x23ae30-0x19f;let _0x1892dc=_0x403b69[_0x23ae30];return _0x1892dc;},_0x23ae(_0x58f1ea,_0x530095);}function G(_0x3f4a20,_0x334469){const _0xe7e752=_0x1967b0,_0x175bdb=new Set();for(const _0x5cf83c of _0x3f4a20[_0xe7e752(0x1b4)]())(_0x334469||!0x1===_0x5cf83c[_0xe7e752(0x1ab)])&&_0x175bdb[_0xe7e752(0x1a2)](_0x5cf83c['id']);return Array[_0xe7e752(0x1b6)](_0x175bdb);}
23
+ function _0x4810(_0x1a25b3,_0x22d932){const _0x44cfb8=_0x44cf();return _0x4810=function(_0x4810bf,_0x4c0df1){_0x4810bf=_0x4810bf-0x128;let _0x19cd22=_0x44cfb8[_0x4810bf];return _0x19cd22;},_0x4810(_0x1a25b3,_0x22d932);}const _0x46e5a8=_0x4810;function _0x44cf(){const _0x2a6188=['name','getFirstRange','get','getItems','isCollapsed','length','values','114394NnHiWs','refresh','isEmpty','change:isEnabled','getRanges','8780430BbTtep','ai.aiAssistant.disabledElements','custom','add','execute','plugins','_commandDefinitions','3830805sPNkqg','7038531IxDjXl','element','getSelectedBlocks','enabledCommandsIds','3007865IAqNpv','showUI','215ZatMej','document','includes','90764uRXUWF','3006712QiEkNL','model','isEnabled','hasContent','_hasContext','config','set','from','10trmQPK','change:_hasContext','selection','1fJenyZ','requiresContent','editor'];_0x44cf=function(){return _0x2a6188;};return _0x44cf();}(function(_0x40a54f,_0x18c03f){const _0x5ba65c=_0x4810,_0x492a71=_0x40a54f();while(!![]){try{const _0x1ff39e=-parseInt(_0x5ba65c(0x13e))/0x1*(-parseInt(_0x5ba65c(0x148))/0x2)+parseInt(_0x5ba65c(0x128))/0x3+-parseInt(_0x5ba65c(0x132))/0x4*(-parseInt(_0x5ba65c(0x12f))/0x5)+-parseInt(_0x5ba65c(0x14d))/0x6+-parseInt(_0x5ba65c(0x12d))/0x7+-parseInt(_0x5ba65c(0x133))/0x8+parseInt(_0x5ba65c(0x129))/0x9*(parseInt(_0x5ba65c(0x13b))/0xa);if(_0x1ff39e===_0x18c03f)break;else _0x492a71['push'](_0x492a71['shift']());}catch(_0x38bd01){_0x492a71['push'](_0x492a71['shift']());}}}(_0x44cf,0xc8eb5));import{Command as _0x4a0e15}from'ckeditor5/src/core.js';import _0x578a3d from'../aiassistantui.js';export default class j extends _0x4a0e15{[_0x46e5a8(0x153)];constructor(_0xb4e623,_0x45ea50){const _0x18add5=_0x46e5a8;super(_0xb4e623),this[_0x18add5(0x153)]=_0x45ea50,this[_0x18add5(0x139)](_0x18add5(0x12c),[]),this['on'](_0x18add5(0x13c),(_0x5d7bb4,_0x1cd352,_0x32215c)=>{const _0x208a95=_0x18add5;this[_0x208a95(0x135)]&&(this[_0x208a95(0x12c)]=G(this[_0x208a95(0x153)],_0x32215c));}),this[_0x18add5(0x139)](_0x18add5(0x137),!0x1),this['on'](_0x18add5(0x14b),(_0x15ba0a,_0xbeb837,_0x36c161)=>{const _0x44ad7a=_0x18add5;this[_0x44ad7a(0x12c)]=_0x36c161?G(this[_0x44ad7a(0x153)],this[_0x44ad7a(0x137)]):[];});}[_0x46e5a8(0x149)](){const _0xd20d62=_0x46e5a8,_0x55cf34=this[_0xd20d62(0x140)][_0xd20d62(0x134)];this[_0xd20d62(0x137)]=function(_0xfdd759){const _0x270331=_0xd20d62,_0x26b8bb=_0xfdd759[_0x270331(0x130)][_0x270331(0x13d)];return _0x26b8bb[_0x270331(0x145)]?0x0!==[..._0x26b8bb[_0x270331(0x12b)]()][_0x270331(0x146)]&&![..._0x26b8bb[_0x270331(0x12b)]()][0x0][_0x270331(0x14a)]:!!_0xfdd759[_0x270331(0x136)](_0x26b8bb[_0x270331(0x142)]());}(_0x55cf34);const _0x41fa28=_0x55cf34[_0xd20d62(0x130)][_0xd20d62(0x13d)],_0xe7e6bf=this[_0xd20d62(0x140)][_0xd20d62(0x138)][_0xd20d62(0x143)](_0xd20d62(0x14e));for(const _0x700dd8 of _0x41fa28[_0xd20d62(0x14c)]())for(const _0x57d280 of _0x700dd8[_0xd20d62(0x144)]())if(_0x57d280['is'](_0xd20d62(0x12a))&&_0xe7e6bf[_0xd20d62(0x131)](_0x57d280[_0xd20d62(0x141)]))return void(this[_0xd20d62(0x135)]=!0x1);this[_0xd20d62(0x135)]=!0x0;}[_0x46e5a8(0x151)](_0xc107c5='',_0x3cd840='',_0xd03af5=_0x46e5a8(0x14f)){const _0x2bf8f2=_0x46e5a8;this[_0x2bf8f2(0x140)][_0x2bf8f2(0x152)][_0x2bf8f2(0x143)](_0x578a3d)[_0x2bf8f2(0x12e)](_0xc107c5,_0x3cd840,_0xd03af5);}}function G(_0x1f6a51,_0x355787){const _0x2cda44=_0x46e5a8,_0x1cd3b4=new Set();for(const _0x397c98 of _0x1f6a51[_0x2cda44(0x147)]())(_0x355787||!0x1===_0x397c98[_0x2cda44(0x13f)])&&_0x1cd3b4[_0x2cda44(0x150)](_0x397c98['id']);return Array[_0x2cda44(0x13a)](_0x1cd3b4);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5ab331,_0xa162d6,_0x40eaa5){const t=_0x5ab331['t'];switch(_0xa162d6){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',_0x40eaa5);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x40eaa5);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'},_0x40eaa5);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 _0xa162d6;}}
23
+ export function getTranslation(_0x3d0f9f,_0x2327fb,_0x2b574f){const t=_0x3d0f9f['t'];switch(_0x2327fb){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',_0x2b574f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2b574f);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'},_0x2b574f);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 _0x2327fb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0xc9d80c,_0x1922dd){const _0x32406f=(0x0,_0x1922dd['t'])('Other');return _0xc9d80c['length']?'groupId'in _0xc9d80c[0x0]?_0xc9d80c:[{'groupId':'_ungrouppedCommands','groupLabel':_0x32406f,'order':0x1/0x0,'commands':_0xc9d80c}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x32406f,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x1cd2c2,_0x53217b){const _0x52d550=(0x0,_0x53217b['t'])('Other');return _0x1cd2c2['length']?'groupId'in _0x1cd2c2[0x0]?_0x1cd2c2:[{'groupId':'_ungrouppedCommands','groupLabel':_0x52d550,'order':0x1/0x0,'commands':_0x1cd2c2}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x52d550,'order':0x1/0x0,'commands':[]}];}
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 2.801a.7.7 0 0 0-.7.7v11.5a.8.8 0 0 1-1.6 0v-11.5a2.3 2.3 0 0 1 2.3-2.3h6.5a.8.8 0 0 1 0 1.6H5Zm.7 3.7a2.3 2.3 0 0 1 2.3-2.3h7a2.3 2.3 0 0 1 2.3 2.3v10a2.3 2.3 0 0 1-2.3 2.3H8a2.3 2.3 0 0 1-2.3-2.3v-10Zm2.3-.7a.7.7 0 0 0-.7.7v10a.7.7 0 0 0 .7.7h7a.7.7 0 0 0 .7-.7v-10a.7.7 0 0 0-.7-.7H8Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.9 4.385a1.2 1.2 0 0 0-.44.44h.002l-5.284 9.15a1.2 1.2 0 0 0 1.04 1.8h10.564a1.2 1.2 0 0 0 1.04-1.8l-5.282-9.15a1.2 1.2 0 0 0-1.64-.44Zm.05 8.363a.301.301 0 0 1 .115-.023h.9a.301.301 0 0 1 .3.3v.9a.3.3 0 0 1-.3.3h-.9a.3.3 0 0 1-.3-.3v-.9a.3.3 0 0 1 .185-.277Zm-.185-4.723a.3.3 0 0 1 .3-.3h.9a.3.3 0 0 1 .3.3v3.4a.3.3 0 0 1-.3.3h-.9a.301.301 0 0 1-.3-.3v-3.4Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.346 9.422a.151.151 0 0 1 .284 0l.548 1.484a.152.152 0 0 0 .09.089l1.483.549a.151.151 0 0 1 0 .284l-1.483.548a.151.151 0 0 0-.09.09l-.548 1.483a.152.152 0 0 1-.142.1.151.151 0 0 1-.142-.1l-.549-1.483a.15.15 0 0 0-.09-.09l-1.483-.548a.15.15 0 0 1 0-.284l1.484-.549a.152.152 0 0 0 .089-.09l.549-1.483Z"/><path d="M16.306 1.742a.151.151 0 0 1 .284 0l.549 1.483a.15.15 0 0 0 .089.09l1.483.548a.151.151 0 0 1 .072.229.151.151 0 0 1-.072.055l-1.483.549a.15.15 0 0 0-.09.09l-.548 1.482a.151.151 0 0 1-.284 0l-.549-1.483a.15.15 0 0 0-.09-.09l-1.483-.548a.151.151 0 0 1 0-.284l1.484-.549a.152.152 0 0 0 .09-.089l.548-1.483Z"/><path d="M7.665 1.742a.151.151 0 0 1 .284 0l.549 1.483a.151.151 0 0 0 .09.09l1.482.548a.151.151 0 0 1 .072.229.151.151 0 0 1-.072.055l-1.483.549a.151.151 0 0 0-.09.09L7.95 6.267a.151.151 0 0 1-.284 0l-.549-1.483a.151.151 0 0 0-.089-.09l-1.483-.548a.151.151 0 0 1 0-.284l1.483-.549a.151.151 0 0 0 .09-.089l.548-1.483-.001.001Z"/><path d="M14.72 7.946a.848.848 0 0 0 .25-.591.824.824 0 0 0-.241-.588l-1.943-1.938a.812.812 0 0 0-.588-.241.838.838 0 0 0-.591.25l-1.545 1.539 3.115 3.115 1.542-1.546h.001Z"/><path clip-rule="evenodd" d="M1.19 15.636a.96.96 0 0 1 .281-.679l7.835-7.834 3.121 3.12-7.834 7.835a.959.959 0 0 1-1.358 0l-1.764-1.764a.96.96 0 0 1-.28-.678Zm9.22-5.391-1.121-1.12-6.479 6.478 1.121 1.121 6.479-6.479Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.875 4.419a.75.75 0 0 0-1.5 0v7.25H6.818l2.33-1.955a.75.75 0 0 0-.963-1.15l-3.792 3.182a.75.75 0 0 0-.17.945c.046.11.118.208.21.284l3.788 3.18a.75.75 0 1 0 .965-1.149l-2.19-1.837h7.629c.69 0 1.25-.56 1.25-1.25v-7.5Z"/></svg>