@ckeditor/ckeditor5-ai 43.1.0-alpha.1 → 43.1.0-alpha.3

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 (129) 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/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/ug.js +1 -1
  97. package/dist/translations/ug.umd.js +1 -1
  98. package/dist/translations/uk.js +1 -1
  99. package/dist/translations/uk.umd.js +1 -1
  100. package/dist/translations/ur.js +1 -1
  101. package/dist/translations/ur.umd.js +1 -1
  102. package/dist/translations/uz.js +1 -1
  103. package/dist/translations/uz.umd.js +1 -1
  104. package/dist/translations/vi.js +1 -1
  105. package/dist/translations/vi.umd.js +1 -1
  106. package/dist/translations/zh-cn.js +1 -1
  107. package/dist/translations/zh-cn.umd.js +1 -1
  108. package/dist/translations/zh.js +1 -1
  109. package/dist/translations/zh.umd.js +1 -1
  110. package/package.json +8 -8
  111. package/src/adapters/aiadapter.js +1 -1
  112. package/src/adapters/aitextadapter.js +1 -1
  113. package/src/adapters/awstextadapter.js +1 -1
  114. package/src/adapters/openaitextadapter.js +1 -1
  115. package/src/aiassistant.js +1 -1
  116. package/src/aiassistantediting.js +1 -1
  117. package/src/aiassistantui.js +1 -1
  118. package/src/index.js +1 -1
  119. package/src/ui/aiassistantcontroller.js +2 -2
  120. package/src/ui/form/aiformcontentarea.js +1 -1
  121. package/src/ui/form/aiformerrorview.js +1 -1
  122. package/src/ui/form/aiformpromptview.js +1 -1
  123. package/src/ui/form/aiformtoolbarview.js +1 -1
  124. package/src/ui/form/aiformview.js +1 -1
  125. package/src/ui/form/aihistorylistitemview.js +1 -1
  126. package/src/ui/form/aihistorylistview.js +1 -1
  127. package/src/ui/form/prompthistory.js +1 -1
  128. package/src/ui/showaiassistantcommand.js +1 -1
  129. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x184e95=_0x512e;(function(_0x43cb85,_0x1dd3b4){const _0x1b3c44=_0x512e,_0x2ee1c4=_0x43cb85();while(!![]){try{const _0x7f3f9f=-parseInt(_0x1b3c44(0x173))/0x1*(-parseInt(_0x1b3c44(0x157))/0x2)+-parseInt(_0x1b3c44(0x152))/0x3+-parseInt(_0x1b3c44(0x14b))/0x4*(-parseInt(_0x1b3c44(0x183))/0x5)+-parseInt(_0x1b3c44(0x149))/0x6+parseInt(_0x1b3c44(0x14c))/0x7+parseInt(_0x1b3c44(0x192))/0x8+-parseInt(_0x1b3c44(0x185))/0x9*(parseInt(_0x1b3c44(0x14f))/0xa);if(_0x7f3f9f===_0x1dd3b4)break;else _0x2ee1c4['push'](_0x2ee1c4['shift']());}catch(_0x17c531){_0x2ee1c4['push'](_0x2ee1c4['shift']());}}}(_0x38b6,0x1f093));import{global as _0xae9127}from'ckeditor5/src/utils.js';import{View as _0x2dfd9d,ButtonView as _0x58fc37,SpinnerView as _0x4fde29}from'ckeditor5/src/ui.js';function _0x512e(_0x5aaa37,_0x1a7989){const _0x38b603=_0x38b6();return _0x512e=function(_0x512ef2,_0x1d6015){_0x512ef2=_0x512ef2-0x146;let _0x101432=_0x38b603[_0x512ef2];return _0x101432;},_0x512e(_0x5aaa37,_0x1a7989);}import _0x2e9a17 from'../../../theme/icons/copy.svg';import{getTranslation as _0x1783f3}from'../../utils/common-translations.js';import{icons as _0x109148}from'ckeditor5/src/core.js';export default class K extends _0x2dfd9d{constructor(_0x354c25,_0x5d2442=''){const _0x2288de=_0x512e;super(_0x354c25),this[_0x2288de(0x16e)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x339c90=this[_0x2288de(0x161)];this[_0x2288de(0x186)]=new ContentFieldView(_0x354c25,_0x5d2442),this[_0x2288de(0x18c)]=this[_0x2288de(0x198)](),this[_0x2288de(0x16b)]({'tag':_0x2288de(0x159),'attributes':{'class':['ck',_0x2288de(0x182),_0x339c90['if'](_0x2288de(0x19a),_0x2288de(0x199),_0x1450ff=>!_0x1450ff)],'tabindex':'-1'},'children':[{'tag':_0x2288de(0x159),'attributes':{'class':['ck',_0x2288de(0x193),_0x339c90['if'](_0x2288de(0x16d),_0x2288de(0x155))]},'children':[this[_0x2288de(0x186)],{'tag':_0x2288de(0x159),'attributes':{'class':['ck',_0x2288de(0x187)]},'children':[this[_0x2288de(0x18c)]]}]}]});}[_0x184e95(0x153)](){const _0x234e8e=_0x184e95;super[_0x234e8e(0x153)](),this[_0x234e8e(0x151)]&&this[_0x234e8e(0x186)][_0x234e8e(0x163)](this[_0x234e8e(0x151)]);let _0x26bc4e=!0x1;this['on'](_0x234e8e(0x15d),(_0x58e2bf,_0x3600aa,_0x478f68)=>{const _0x567ea0=_0x234e8e,_0x417bbe=!this[_0x567ea0(0x186)][_0x567ea0(0x189)][_0x567ea0(0x184)](_0x567ea0(0x170));this[_0x567ea0(0x186)][_0x567ea0(0x163)](_0x478f68),this[_0x567ea0(0x16d)]&&_0x417bbe&&!_0x26bc4e&&this[_0x567ea0(0x189)][_0x567ea0(0x17d)]({'top':this[_0x567ea0(0x189)][_0x567ea0(0x162)],'behavior':_0x567ea0(0x164)});}),this['on'](_0x234e8e(0x17a),(_0x6f36b1,_0x40e467,_0x5cd4fa)=>{const _0x540204=_0x234e8e;_0x26bc4e=!0x1,_0x5cd4fa?(this[_0x540204(0x151)]=null,this[_0x540204(0x186)][_0x540204(0x14e)]()):this[_0x540204(0x151)]||this[_0x540204(0x186)][_0x540204(0x163)]('');}),this[_0x234e8e(0x156)](this[_0x234e8e(0x189)],_0x234e8e(0x191),()=>{_0x26bc4e=!0x0;}),this[_0x234e8e(0x156)](this[_0x234e8e(0x189)],_0x234e8e(0x169),()=>{_0x26bc4e=!0x0;});}[_0x184e95(0x194)](){const _0x48ec32=_0x184e95;this[_0x48ec32(0x189)][_0x48ec32(0x194)]();}[_0x184e95(0x198)](){const _0xb1e9c9=_0x184e95,_0x24e136=this[_0xb1e9c9(0x14a)],_0x2bb3df=new _0x58fc37(this[_0xb1e9c9(0x14a)]),_0x59bc48=_0xb1e9c9(0x154);return _0x2bb3df[_0xb1e9c9(0x16e)]({'label':_0x1783f3(_0x24e136,_0xb1e9c9(0x188)),'icon':_0x2e9a17,'class':_0x59bc48,'tooltip':!0x0}),_0x2bb3df[_0xb1e9c9(0x15e)](_0xb1e9c9(0x19a))['to'](this,_0xb1e9c9(0x151),_0x48d913=>!!_0x48d913),_0x2bb3df[_0xb1e9c9(0x15e)](_0xb1e9c9(0x176))['to'](this,_0xb1e9c9(0x16d),_0x129aad=>!_0x129aad),_0x2bb3df['on'](_0xb1e9c9(0x197),()=>{const _0x564978=_0xb1e9c9;this[_0x564978(0x146)](this[_0x564978(0x186)][_0x564978(0x189)]),_0x2bb3df[_0x564978(0x190)]=_0x109148[_0x564978(0x15c)],_0x2bb3df[_0x564978(0x167)]=_0x59bc48+_0x564978(0x17e),this[_0x564978(0x194)](),setTimeout(()=>{const _0x3817eb=_0x564978;_0x2bb3df[_0x3817eb(0x190)]=_0x2e9a17,_0x2bb3df[_0x3817eb(0x167)]=_0x59bc48;},0x3e8);}),_0x2bb3df;}[_0x184e95(0x146)](_0x1f20e7){const _0x344842=_0x184e95,{window:_0x41a912,document:_0x14dc97}=_0xae9127;if(_0x41a912[_0x344842(0x148)]){const {Blob:_0x4b0425,ClipboardItem:_0x456210}=_0x41a912,_0xfd156f=[new _0x456210({'text/html':new _0x4b0425([_0x1f20e7[_0x344842(0x150)]],{'type':_0x344842(0x17b)}),'text/plain':new _0x4b0425([_0x1f20e7[_0x344842(0x16f)]||''],{'type':_0x344842(0x171)})})];navigator[_0x344842(0x15b)][_0x344842(0x165)](_0xfd156f);}else{const _0x387ff8=_0x14dc97[_0x344842(0x18e)](_0x344842(0x159));_0x387ff8[_0x344842(0x174)][_0x344842(0x195)]=_0x344842(0x181),_0x387ff8[_0x344842(0x174)][_0x344842(0x16a)]=_0x344842(0x18a),_0x387ff8[_0x344842(0x150)]=_0x344842(0x179)+_0x1f20e7[_0x344842(0x150)]+_0x344842(0x160),_0x14dc97[_0x344842(0x19b)][_0x344842(0x18b)](_0x387ff8);const _0x3c8607=_0x14dc97[_0x344842(0x18d)]();_0x3c8607[_0x344842(0x15f)](_0x387ff8[_0x344842(0x177)]),_0x3c8607[_0x344842(0x16c)](_0x387ff8[_0x344842(0x158)]);const _0x39fff6=_0x41a912[_0x344842(0x147)]();_0x39fff6[_0x344842(0x178)](),_0x39fff6[_0x344842(0x18f)](_0x3c8607),_0x14dc97[_0x344842(0x14d)](_0x344842(0x168)),_0x387ff8[_0x344842(0x175)]();}}}function _0x38b6(){const _0x1338c3=['set','textContent','.ck-ai-form__loader','text/plain','ck-content','344xkpvOS','style','remove','isEnabled','firstElementChild','removeAllRanges','<span>[</span>','change:isProcessing','text/html','ck-ai-form__content-field','scrollTo','\x20ck-ai-form__copy-button--copied','_createLoader','AI\x20is\x20writing...','absolute','ck-ai-form__content-area-wrapper','5jynEog','querySelector','3931299ShSBYe','contentFieldView','ck-ai-form__copy-button-wrapper','Copy','element','-9999px','appendChild','copyButtonView','createRange','createElement','addRange','icon','wheel','1902736SJCWkz','ck-ai-form__content-area','focus','position','ck-reset_all-excluded','execute','_createCopyButton','ck-hidden','isVisible','body','_copyHTMLToClipboard','getSelection','ClipboardItem','262668PZhTMt','locale','204764GqnRJR','1511888WAZPsY','execCommand','appendLoader','10gnfHtL','innerHTML','value','200691sDbMzQ','render','ck-ai-form__copy-button','ck-ai-form__content-area--processing','listenTo','986zFtxjw','lastElementChild','div','ck-ai-form__loader','clipboard','check','change:value','bind','setStartAfter','<span>]</span>','bindTemplate','scrollHeight','setContent','smooth','write','loaderView','class','copy','mousedown','left','setTemplate','setEndBefore','isProcessing'];_0x38b6=function(){return _0x1338c3;};return _0x38b6();}export class ContentFieldView extends _0x2dfd9d{constructor(_0x471520,_0x3e5df7=''){const _0xbc08dd=_0x184e95;super(_0x471520),this[_0xbc08dd(0x166)]=this[_0xbc08dd(0x17f)](),this[_0xbc08dd(0x16b)]({'tag':_0xbc08dd(0x159),'attributes':{'class':['ck',_0xbc08dd(0x172),_0x3e5df7,_0xbc08dd(0x196),_0xbc08dd(0x17c)]}});}[_0x184e95(0x163)](_0x4061cc){const _0x37ae6b=_0x184e95;this[_0x37ae6b(0x189)][_0x37ae6b(0x150)]=_0x4061cc;}[_0x184e95(0x14e)](){const _0x443ba7=_0x184e95;this[_0x443ba7(0x189)][_0x443ba7(0x18b)](this[_0x443ba7(0x166)][_0x443ba7(0x189)]);}[_0x184e95(0x17f)](){const _0x5da780=_0x184e95,_0x4d9fa1=new _0x2dfd9d(),_0x5aa040=this[_0x5da780(0x14a)],_0x4df141=new _0x4fde29();return _0x4df141[_0x5da780(0x19a)]=!0x0,_0x4d9fa1[_0x5da780(0x16b)]({'tag':_0x5da780(0x159),'attributes':{'class':['ck',_0x5da780(0x15a)]},'children':[_0x4df141,{'text':_0x1783f3(_0x5aa040,_0x5da780(0x180))}]}),_0x4d9fa1[_0x5da780(0x153)](),_0x4d9fa1;}}
23
+ const _0xd8135c=_0x2a21;(function(_0x4be041,_0x43ea1c){const _0x36c421=_0x2a21,_0x4580c7=_0x4be041();while(!![]){try{const _0xf26c04=-parseInt(_0x36c421(0xc5))/0x1*(parseInt(_0x36c421(0xb1))/0x2)+-parseInt(_0x36c421(0x80))/0x3*(-parseInt(_0x36c421(0x97))/0x4)+parseInt(_0x36c421(0xad))/0x5*(-parseInt(_0x36c421(0x6e))/0x6)+parseInt(_0x36c421(0x84))/0x7*(parseInt(_0x36c421(0x98))/0x8)+parseInt(_0x36c421(0x85))/0x9*(-parseInt(_0x36c421(0xa9))/0xa)+parseInt(_0x36c421(0x8b))/0xb+-parseInt(_0x36c421(0x78))/0xc*(-parseInt(_0x36c421(0x7b))/0xd);if(_0xf26c04===_0x43ea1c)break;else _0x4580c7['push'](_0x4580c7['shift']());}catch(_0x16d373){_0x4580c7['push'](_0x4580c7['shift']());}}}(_0x21b7,0x789d9));function _0x21b7(){const _0x462376=['2096hYOIsd','loaderView','createElement','ck-hidden','copyButtonView','wheel','change:value','ck-ai-form__content-area--processing','scrollHeight','set','execCommand','addRange','ck-reset_all-excluded','scrollTo','querySelector','text/html','element','405830mvzNWn','listenTo','AI\x20is\x20writing...','execute','13095CaGWZQ','setStartAfter','ck-ai-form__copy-button','setEndBefore','6CDtABN','body','mousedown','appendChild','div','removeAllRanges','setContent','text/plain','ck-content','absolute','isVisible','write','ck-ai-form__content-area-wrapper','getSelection','icon','lastElementChild','ck-ai-form__loader','change:isProcessing','<span>[</span>','contentFieldView','140014bigFtB','textContent','1680zTOqNz','isProcessing','position','ck-ai-form__content-field','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area','bind','Copy','style','value','1956ffjhld','isEnabled','createRange','10023JQJCSi','focus','render','-9999px','left','2045697FekEBZ','appendLoader','_createLoader','.ck-ai-form__loader','5334nOkzKA','45zOjMXe','locale','class','\x20ck-ai-form__copy-button--copied','check','_copyHTMLToClipboard','9274122sqSzvD','clipboard','firstElementChild','smooth','ClipboardItem','_createCopyButton','<span>]</span>','remove','copy','innerHTML','setTemplate','bindTemplate','4BSOLqd'];_0x21b7=function(){return _0x462376;};return _0x21b7();}import{global as _0x251750}from'ckeditor5/src/utils.js';import{View as _0x4536b9,ButtonView as _0xaf0061,SpinnerView as _0x47e0d4}from'ckeditor5/src/ui.js';import _0x1e9e38 from'../../../theme/icons/copy.svg';import{getTranslation as _0x76177e}from'../../utils/common-translations.js';function _0x2a21(_0xa744b,_0x577a73){const _0x21b72a=_0x21b7();return _0x2a21=function(_0x2a21eb,_0x2b5ff3){_0x2a21eb=_0x2a21eb-0x6d;let _0x5c237a=_0x21b72a[_0x2a21eb];return _0x5c237a;},_0x2a21(_0xa744b,_0x577a73);}import{icons as _0x4f631b}from'ckeditor5/src/core.js';export default class K extends _0x4536b9{constructor(_0x4e1f4b,_0x3b8bc0=''){const _0x3570bf=_0x2a21;super(_0x4e1f4b),this[_0x3570bf(0xa1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x592d75=this[_0x3570bf(0x96)];this[_0x3570bf(0xc4)]=new ContentFieldView(_0x4e1f4b,_0x3b8bc0),this[_0x3570bf(0x9c)]=this[_0x3570bf(0x90)](),this[_0x3570bf(0x95)]({'tag':_0x3570bf(0xb5),'attributes':{'class':['ck',_0x3570bf(0xbd),_0x592d75['if'](_0x3570bf(0xbb),_0x3570bf(0x9b),_0x50c3eb=>!_0x50c3eb)],'tabindex':'-1'},'children':[{'tag':_0x3570bf(0xb5),'attributes':{'class':['ck',_0x3570bf(0x73),_0x592d75['if'](_0x3570bf(0x6f),_0x3570bf(0x9f))]},'children':[this[_0x3570bf(0xc4)],{'tag':_0x3570bf(0xb5),'attributes':{'class':['ck',_0x3570bf(0x72)]},'children':[this[_0x3570bf(0x9c)]]}]}]});}[_0xd8135c(0x7d)](){const _0xa30521=_0xd8135c;super[_0xa30521(0x7d)](),this[_0xa30521(0x77)]&&this[_0xa30521(0xc4)][_0xa30521(0xb7)](this[_0xa30521(0x77)]);let _0x2d09db=!0x1;this['on'](_0xa30521(0x9e),(_0x277767,_0x16c565,_0x4ba74c)=>{const _0x2305c1=_0xa30521,_0x16aba6=!this[_0x2305c1(0xc4)][_0x2305c1(0xa8)][_0x2305c1(0xa6)](_0x2305c1(0x83));this[_0x2305c1(0xc4)][_0x2305c1(0xb7)](_0x4ba74c),this[_0x2305c1(0x6f)]&&_0x16aba6&&!_0x2d09db&&this[_0x2305c1(0xa8)][_0x2305c1(0xa5)]({'top':this[_0x2305c1(0xa8)][_0x2305c1(0xa0)],'behavior':_0x2305c1(0x8e)});}),this['on'](_0xa30521(0xc2),(_0xf3b3eb,_0x3f786c,_0x463e3c)=>{const _0x2ed53a=_0xa30521;_0x2d09db=!0x1,_0x463e3c?(this[_0x2ed53a(0x77)]=null,this[_0x2ed53a(0xc4)][_0x2ed53a(0x81)]()):this[_0x2ed53a(0x77)]||this[_0x2ed53a(0xc4)][_0x2ed53a(0xb7)]('');}),this[_0xa30521(0xaa)](this[_0xa30521(0xa8)],_0xa30521(0x9d),()=>{_0x2d09db=!0x0;}),this[_0xa30521(0xaa)](this[_0xa30521(0xa8)],_0xa30521(0xb3),()=>{_0x2d09db=!0x0;});}[_0xd8135c(0x7c)](){const _0x461ea3=_0xd8135c;this[_0x461ea3(0xa8)][_0x461ea3(0x7c)]();}[_0xd8135c(0x90)](){const _0x47fb2b=_0xd8135c,_0x4cb26f=this[_0x47fb2b(0x86)],_0x4f3837=new _0xaf0061(this[_0x47fb2b(0x86)]),_0x29c474=_0x47fb2b(0xaf);return _0x4f3837[_0x47fb2b(0xa1)]({'label':_0x76177e(_0x4cb26f,_0x47fb2b(0x75)),'icon':_0x1e9e38,'class':_0x29c474,'tooltip':!0x0}),_0x4f3837[_0x47fb2b(0x74)](_0x47fb2b(0xbb))['to'](this,_0x47fb2b(0x77),_0x1bea82=>!!_0x1bea82),_0x4f3837[_0x47fb2b(0x74)](_0x47fb2b(0x79))['to'](this,_0x47fb2b(0x6f),_0x1f9903=>!_0x1f9903),_0x4f3837['on'](_0x47fb2b(0xac),()=>{const _0x5b0ef0=_0x47fb2b;this[_0x5b0ef0(0x8a)](this[_0x5b0ef0(0xc4)][_0x5b0ef0(0xa8)]),_0x4f3837[_0x5b0ef0(0xbf)]=_0x4f631b[_0x5b0ef0(0x89)],_0x4f3837[_0x5b0ef0(0x87)]=_0x29c474+_0x5b0ef0(0x88),this[_0x5b0ef0(0x7c)](),setTimeout(()=>{const _0x30923f=_0x5b0ef0;_0x4f3837[_0x30923f(0xbf)]=_0x1e9e38,_0x4f3837[_0x30923f(0x87)]=_0x29c474;},0x3e8);}),_0x4f3837;}[_0xd8135c(0x8a)](_0x2caae7){const _0x47e87d=_0xd8135c,{window:_0xa5ff4d,document:_0x209398}=_0x251750;if(_0xa5ff4d[_0x47e87d(0x8f)]){const {Blob:_0x24ab11,ClipboardItem:_0x3b7fc0}=_0xa5ff4d,_0x52b13f=[new _0x3b7fc0({'text/html':new _0x24ab11([_0x2caae7[_0x47e87d(0x94)]],{'type':_0x47e87d(0xa7)}),'text/plain':new _0x24ab11([_0x2caae7[_0x47e87d(0x6d)]||''],{'type':_0x47e87d(0xb8)})})];navigator[_0x47e87d(0x8c)][_0x47e87d(0xbc)](_0x52b13f);}else{const _0x46c0b1=_0x209398[_0x47e87d(0x9a)](_0x47e87d(0xb5));_0x46c0b1[_0x47e87d(0x76)][_0x47e87d(0x70)]=_0x47e87d(0xba),_0x46c0b1[_0x47e87d(0x76)][_0x47e87d(0x7f)]=_0x47e87d(0x7e),_0x46c0b1[_0x47e87d(0x94)]=_0x47e87d(0xc3)+_0x2caae7[_0x47e87d(0x94)]+_0x47e87d(0x91),_0x209398[_0x47e87d(0xb2)][_0x47e87d(0xb4)](_0x46c0b1);const _0x27daaf=_0x209398[_0x47e87d(0x7a)]();_0x27daaf[_0x47e87d(0xae)](_0x46c0b1[_0x47e87d(0x8d)]),_0x27daaf[_0x47e87d(0xb0)](_0x46c0b1[_0x47e87d(0xc0)]);const _0x181000=_0xa5ff4d[_0x47e87d(0xbe)]();_0x181000[_0x47e87d(0xb6)](),_0x181000[_0x47e87d(0xa3)](_0x27daaf),_0x209398[_0x47e87d(0xa2)](_0x47e87d(0x93)),_0x46c0b1[_0x47e87d(0x92)]();}}}export class ContentFieldView extends _0x4536b9{constructor(_0xd21963,_0x1d166d=''){const _0x4669d3=_0xd8135c;super(_0xd21963),this[_0x4669d3(0x99)]=this[_0x4669d3(0x82)](),this[_0x4669d3(0x95)]({'tag':_0x4669d3(0xb5),'attributes':{'class':['ck',_0x4669d3(0xb9),_0x1d166d,_0x4669d3(0xa4),_0x4669d3(0x71)]}});}[_0xd8135c(0xb7)](_0x1e5343){const _0x3555e3=_0xd8135c;this[_0x3555e3(0xa8)][_0x3555e3(0x94)]=_0x1e5343;}[_0xd8135c(0x81)](){const _0x385ac5=_0xd8135c;this[_0x385ac5(0xa8)][_0x385ac5(0xb4)](this[_0x385ac5(0x99)][_0x385ac5(0xa8)]);}[_0xd8135c(0x82)](){const _0x40ace1=_0xd8135c,_0x420999=new _0x4536b9(),_0x3b3694=this[_0x40ace1(0x86)],_0x33e160=new _0x47e0d4();return _0x33e160[_0x40ace1(0xbb)]=!0x0,_0x420999[_0x40ace1(0x95)]({'tag':_0x40ace1(0xb5),'attributes':{'class':['ck',_0x40ace1(0xc1)]},'children':[_0x33e160,{'text':_0x76177e(_0x3b3694,_0x40ace1(0xab))}]}),_0x420999[_0x40ace1(0x7d)](),_0x420999;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4f65a8,_0xe5fa7c){const _0xb21699=_0x25b5,_0x120934=_0x4f65a8();while(!![]){try{const _0x3828d2=-parseInt(_0xb21699(0x134))/0x1+parseInt(_0xb21699(0x129))/0x2*(-parseInt(_0xb21699(0x126))/0x3)+-parseInt(_0xb21699(0x12c))/0x4*(-parseInt(_0xb21699(0x128))/0x5)+parseInt(_0xb21699(0x132))/0x6*(-parseInt(_0xb21699(0x12a))/0x7)+-parseInt(_0xb21699(0x12d))/0x8*(-parseInt(_0xb21699(0x138))/0x9)+parseInt(_0xb21699(0x127))/0xa*(-parseInt(_0xb21699(0x12b))/0xb)+parseInt(_0xb21699(0x133))/0xc;if(_0x3828d2===_0xe5fa7c)break;else _0x120934['push'](_0x120934['shift']());}catch(_0x30bf11){_0x120934['push'](_0x120934['shift']());}}}(_0x4a9e,0x8deae));import{View as _0x4eb86a,IconView as _0x2a5fba}from'ckeditor5/src/ui.js';function _0x25b5(_0x27e336,_0x3d6bf7){const _0x4a9e84=_0x4a9e();return _0x25b5=function(_0x25b5c9,_0x560161){_0x25b5c9=_0x25b5c9-0x126;let _0x64b940=_0x4a9e84[_0x25b5c9];return _0x64b940;},_0x25b5(_0x27e336,_0x3d6bf7);}function _0x4a9e(){const _0x39b5fa=['1350877GCXtJD','401368ouNCyA','9704hTuaRb','setTemplate','ck-ai-form__error','set','bindTemplate','72JZdeph','19977564tBWowr','1115849QoGxlB','content','text','div','7218WzSjeM','3404649sklqkQ','10jsjVyL','55DvKNmI','2XoBuUW','458822Uybkij'];_0x4a9e=function(){return _0x39b5fa;};return _0x4a9e();}import _0x2300e1 from'../../../theme/icons/error.svg';export default class Y extends _0x4eb86a{constructor(_0x43ad23,_0x245685=''){const _0x3224c4=_0x25b5;super(_0x43ad23);const _0x70cb5f=new _0x2a5fba(),_0x541b1b=this[_0x3224c4(0x131)];this[_0x3224c4(0x130)](_0x3224c4(0x136),_0x245685),_0x70cb5f[_0x3224c4(0x135)]=_0x2300e1,this[_0x3224c4(0x12e)]({'tag':_0x3224c4(0x137),'attributes':{'class':['ck',_0x3224c4(0x12f)]},'children':[_0x70cb5f,{'text':_0x541b1b['to'](_0x3224c4(0x136))}]});}}
23
+ function _0x3fc6(_0x5a6412,_0x42a3b1){const _0x5e954c=_0x5e95();return _0x3fc6=function(_0x3fc6cd,_0x2213a9){_0x3fc6cd=_0x3fc6cd-0x134;let _0x2879b6=_0x5e954c[_0x3fc6cd];return _0x2879b6;},_0x3fc6(_0x5a6412,_0x42a3b1);}(function(_0x264e91,_0x2a0fc5){const _0x310b58=_0x3fc6,_0x579ec7=_0x264e91();while(!![]){try{const _0x570c6c=-parseInt(_0x310b58(0x134))/0x1*(-parseInt(_0x310b58(0x143))/0x2)+-parseInt(_0x310b58(0x148))/0x3*(parseInt(_0x310b58(0x13a))/0x4)+parseInt(_0x310b58(0x13f))/0x5*(-parseInt(_0x310b58(0x13b))/0x6)+-parseInt(_0x310b58(0x137))/0x7*(parseInt(_0x310b58(0x140))/0x8)+-parseInt(_0x310b58(0x141))/0x9*(parseInt(_0x310b58(0x147))/0xa)+-parseInt(_0x310b58(0x135))/0xb*(parseInt(_0x310b58(0x139))/0xc)+parseInt(_0x310b58(0x136))/0xd*(parseInt(_0x310b58(0x13c))/0xe);if(_0x570c6c===_0x2a0fc5)break;else _0x579ec7['push'](_0x579ec7['shift']());}catch(_0x19caf8){_0x579ec7['push'](_0x579ec7['shift']());}}}(_0x5e95,0x9524c));import{View as _0x2e0c9a,IconView as _0x5b0e3b}from'ckeditor5/src/ui.js';import _0x568ac2 from'../../../theme/icons/error.svg';function _0x5e95(){const _0x315bfd=['45665TVszlp','16504vSgLth','847791iihSDc','content','2BXNfRY','text','div','bindTemplate','60CzyZUl','3BGCQzs','1078639cKWptB','8054497cEODsW','169xujKbU','1337nHYAnQ','set','12luCqPM','987548wCnapQ','138iuzuJm','1809934sQnGuP','setTemplate','ck-ai-form__error'];_0x5e95=function(){return _0x315bfd;};return _0x5e95();}export default class Y extends _0x2e0c9a{constructor(_0x5aa76a,_0x2a2d6f=''){const _0x50d9b6=_0x3fc6;super(_0x5aa76a);const _0x2237c5=new _0x5b0e3b(),_0x4617ff=this[_0x50d9b6(0x146)];this[_0x50d9b6(0x138)](_0x50d9b6(0x144),_0x2a2d6f),_0x2237c5[_0x50d9b6(0x142)]=_0x568ac2,this[_0x50d9b6(0x13d)]({'tag':_0x50d9b6(0x145),'attributes':{'class':['ck',_0x50d9b6(0x13e)]},'children':[_0x2237c5,{'text':_0x4617ff['to'](_0x50d9b6(0x144))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dbdf9=_0xf456;(function(_0x4d1df5,_0x1c7e9a){const _0x1d5261=_0xf456,_0xe4c019=_0x4d1df5();while(!![]){try{const _0x591625=parseInt(_0x1d5261(0x16a))/0x1*(parseInt(_0x1d5261(0x150))/0x2)+-parseInt(_0x1d5261(0x181))/0x3+parseInt(_0x1d5261(0x14e))/0x4*(parseInt(_0x1d5261(0x182))/0x5)+parseInt(_0x1d5261(0x172))/0x6*(parseInt(_0x1d5261(0x14f))/0x7)+-parseInt(_0x1d5261(0x152))/0x8*(-parseInt(_0x1d5261(0x16d))/0x9)+-parseInt(_0x1d5261(0x183))/0xa*(-parseInt(_0x1d5261(0x176))/0xb)+-parseInt(_0x1d5261(0x154))/0xc*(parseInt(_0x1d5261(0x14c))/0xd);if(_0x591625===_0x1c7e9a)break;else _0xe4c019['push'](_0xe4c019['shift']());}catch(_0x58c4f3){_0xe4c019['push'](_0xe4c019['shift']());}}}(_0x3b81,0xbb38a));import{Rect as _0x4d6043,global as _0x481a7b,isVisible as _0x2ebf64}from'ckeditor5/src/utils.js';function _0xf456(_0x17c47e,_0xa4fe68){const _0x3b812c=_0x3b81();return _0xf456=function(_0xf4564,_0x431ef7){_0xf4564=_0xf4564-0x147;let _0x1828a2=_0x3b812c[_0xf4564];return _0x1828a2;},_0xf456(_0x17c47e,_0xa4fe68);}import{AutocompleteView as _0x142c89,ButtonView as _0x56a115}from'ckeditor5/src/ui.js';import{icons as _0x2338cf}from'ckeditor5/src/core.js';import{getTranslation as _0x56dcd4}from'../../utils/common-translations.js';import _0x5b385d from'../../../theme/icons/submit.svg';export default class ot extends _0x142c89{constructor(_0x135260,_0x4f91e8){const _0x46a365=_0xf456;super(_0x135260,_0x4f91e8),this[_0x46a365(0x149)][_0x46a365(0x165)][_0x46a365(0x169)]=0x1,this[_0x46a365(0x149)][_0x46a365(0x165)][_0x46a365(0x15e)]=0x3,this[_0x46a365(0x180)]=this[_0x46a365(0x147)](),this[_0x46a365(0x14b)]=this[_0x46a365(0x16e)](),this[_0x46a365(0x173)][_0x46a365(0x16b)](this[_0x46a365(0x14b)],0x1),this[_0x46a365(0x173)][_0x46a365(0x16b)](this[_0x46a365(0x180)]);}[_0x5dbdf9(0x163)](){const _0x4ab859=_0x5dbdf9;super[_0x4ab859(0x163)](),this[_0x4ab859(0x149)][_0x4ab859(0x156)][_0x4ab859(0x16b)](this[_0x4ab859(0x14b)]),this[_0x4ab859(0x17d)][_0x4ab859(0x16b)](this[_0x4ab859(0x180)]),this[_0x4ab859(0x168)][_0x4ab859(0x15b)](_0x4ab859(0x174),(_0x45b752,_0x2a15ec)=>{const _0x1af210=_0x4ab859;_0x45b752[_0x1af210(0x14d)]==this[_0x1af210(0x149)][_0x1af210(0x165)][_0x1af210(0x15a)]&&(this[_0x1af210(0x16c)](),_0x2a15ec());});}[_0x5dbdf9(0x147)](){const _0x51e6ad=_0x5dbdf9,_0x346ae9=new _0x56a115(this[_0x51e6ad(0x17c)]),_0x4e7265=this[_0x51e6ad(0x17c)];return _0x346ae9[_0x51e6ad(0x15b)]({'icon':_0x5b385d,'label':_0x56dcd4(_0x4e7265,_0x51e6ad(0x151)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x51e6ad(0x171)}),_0x346ae9['on'](_0x51e6ad(0x17a),()=>{const _0x4e0967=_0x51e6ad;this[_0x4e0967(0x16c)]();}),_0x346ae9[_0x51e6ad(0x17b)](_0x51e6ad(0x161))['to'](this[_0x51e6ad(0x149)][_0x51e6ad(0x165)],_0x51e6ad(0x162),this,_0x51e6ad(0x161),(_0x5693a6,_0x15608d)=>!_0x5693a6&&_0x15608d),_0x346ae9;}[_0x5dbdf9(0x16e)](){const _0x5bef98=_0x5dbdf9,_0x2c1dff=new _0x56a115(this[_0x5bef98(0x17c)]),_0xc1c33d=this[_0x5bef98(0x166)],_0x400e6f=this[_0x5bef98(0x17c)];_0x2c1dff[_0x5bef98(0x15b)]({'label':_0x56dcd4(_0x400e6f,_0x5bef98(0x15c)),'withText':!0x1,'icon':_0x2338cf[_0x5bef98(0x157)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5bef98(0x177)}),_0x2c1dff[_0x5bef98(0x17b)](_0x5bef98(0x17f))['to'](_0xc1c33d,_0x5bef98(0x167)),_0x2c1dff[_0x5bef98(0x17b)](_0x5bef98(0x161))['to'](this,_0x5bef98(0x161)),_0x2c1dff['on'](_0x5bef98(0x17a),()=>{const _0x1d4f17=_0x5bef98;_0xc1c33d[_0x1d4f17(0x167)]=!_0xc1c33d[_0x1d4f17(0x167)],_0xc1c33d[_0x1d4f17(0x167)]?this[_0x1d4f17(0x155)][_0x1d4f17(0x178)]():this[_0x1d4f17(0x178)]();});const _0x2cf0c7=()=>{const _0x4a5b1b=_0x5bef98;_0x481a7b[_0x4a5b1b(0x15f)][_0x4a5b1b(0x148)](()=>{const _0x263b49=_0x4a5b1b;if(_0x2ebf64(this[_0x263b49(0x15a)])){const _0xca6285=new _0x4d6043(this[_0x263b49(0x149)][_0x263b49(0x165)][_0x263b49(0x15a)]),_0x3aad52=_0xca6285[_0x263b49(0x184)],_0xfdbdf3=_0x263b49(0x16f)===_0x400e6f[_0x263b49(0x160)]?_0x263b49(0x14a):_0x263b49(0x15d);_0xca6285[_0x263b49(0x179)](),_0x2c1dff[_0x263b49(0x15a)][_0x263b49(0x159)][_0xfdbdf3]=_0x3aad52-_0xca6285[_0x263b49(0x184)]+0x1+'px';}});};return this[_0x5bef98(0x149)][_0x5bef98(0x165)]['on'](_0x5bef98(0x158),_0x2cf0c7),this['on'](_0x5bef98(0x163),_0x2cf0c7),_0x2c1dff;}[_0x5dbdf9(0x16c)](){const _0x389b16=_0x5dbdf9,_0x26381c=this[_0x389b16(0x149)][_0x389b16(0x165)][_0x389b16(0x15a)][_0x389b16(0x153)];this[_0x389b16(0x17e)](_0x389b16(0x16c),_0x26381c);}[_0x5dbdf9(0x178)](_0x3fbc0b){const _0x544482=_0x5dbdf9;-0x1===_0x3fbc0b?this[_0x544482(0x170)][_0x544482(0x175)]():this[_0x544482(0x170)][_0x544482(0x164)]();}}function _0x3b81(){const _0x44f4a1=['fire','isOn','submitButtonView','1841799FNwNtv','20tEKgUK','8306390uwpYts','width','_createSubmitButton','requestAnimationFrame','queryView','left','showHistoryButtonView','20610148yafNOh','target','201344LbQalf','180229nWzQVz','1905654bzNnJO','Submit','80232TZhsgD','value','12QHwfIG','filteredView','fieldWrapperChildren','history','update','style','element','set','History','right','maxRows','window','uiLanguageDirection','isEnabled','isEmpty','render','focusFirst','fieldView','resultsView','isVisible','keystrokes','minRows','1VrgsfF','add','submit','72IZrMYP','_createShowHistoryButton','rtl','focusCycler','ck-ai-form__submit','210PJSbCg','focusableChildren','enter','focusLast','11bKUuyA','ck-ai-form__toggle-history','focus','excludeScrollbarsAndBorders','execute','bind','locale','children'];_0x3b81=function(){return _0x44f4a1;};return _0x3b81();}
23
+ function _0x38cb(_0x193ae0,_0x5722c7){const _0x178c14=_0x178c();return _0x38cb=function(_0x38cb2e,_0x3cd72c){_0x38cb2e=_0x38cb2e-0x135;let _0x1294b6=_0x178c14[_0x38cb2e];return _0x1294b6;},_0x38cb(_0x193ae0,_0x5722c7);}const _0x2758da=_0x38cb;(function(_0x54936c,_0x13f058){const _0x5c331d=_0x38cb,_0x88d09f=_0x54936c();while(!![]){try{const _0x3130fe=parseInt(_0x5c331d(0x136))/0x1*(-parseInt(_0x5c331d(0x158))/0x2)+-parseInt(_0x5c331d(0x145))/0x3*(-parseInt(_0x5c331d(0x155))/0x4)+-parseInt(_0x5c331d(0x13c))/0x5*(parseInt(_0x5c331d(0x151))/0x6)+parseInt(_0x5c331d(0x167))/0x7*(-parseInt(_0x5c331d(0x168))/0x8)+parseInt(_0x5c331d(0x157))/0x9*(-parseInt(_0x5c331d(0x146))/0xa)+parseInt(_0x5c331d(0x149))/0xb+-parseInt(_0x5c331d(0x156))/0xc*(-parseInt(_0x5c331d(0x164))/0xd);if(_0x3130fe===_0x13f058)break;else _0x88d09f['push'](_0x88d09f['shift']());}catch(_0x1a75e3){_0x88d09f['push'](_0x88d09f['shift']());}}}(_0x178c,0xe638c));import{Rect as _0x7a9448,global as _0x33ffb3,isVisible as _0x262098}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x21db45,ButtonView as _0x4029a3}from'ckeditor5/src/ui.js';function _0x178c(){const _0xb8e157=['focusLast','right','submitButtonView','window','width','ck-ai-form__toggle-history','12438xRgIEW','update','filteredView','isVisible','126860yNYnbw','18084PnkInq','9dUtTNh','98GvdkFG','Submit','add','queryView','excludeScrollbarsAndBorders','_createShowHistoryButton','fieldView','minRows','children','focus','locale','fieldWrapperChildren','33111ejtzHJ','bind','isOn','14sVaWUC','7374792qmGWAe','uiLanguageDirection','render','execute','History','ck-ai-form__submit','resultsView','set','isEmpty','target','rtl','focusFirst','7511BxyTEA','history','value','focusCycler','showHistoryButtonView','element','3835xyjXqY','maxRows','isEnabled','fire','left','submit','requestAnimationFrame','keystrokes','_createSubmitButton','57LXqDEc','10911590lqVIjK','enter','focusableChildren','15344571CLUNJz','style'];_0x178c=function(){return _0xb8e157;};return _0x178c();}import{icons as _0x1ccec9}from'ckeditor5/src/core.js';import{getTranslation as _0x53f5f8}from'../../utils/common-translations.js';import _0x595069 from'../../../theme/icons/submit.svg';export default class ot extends _0x21db45{constructor(_0x11a961,_0x4b93e6){const _0x4c04ca=_0x38cb;super(_0x11a961,_0x4b93e6),this[_0x4c04ca(0x15b)][_0x4c04ca(0x15e)][_0x4c04ca(0x15f)]=0x1,this[_0x4c04ca(0x15b)][_0x4c04ca(0x15e)][_0x4c04ca(0x13d)]=0x3,this[_0x4c04ca(0x14d)]=this[_0x4c04ca(0x144)](),this[_0x4c04ca(0x13a)]=this[_0x4c04ca(0x15d)](),this[_0x4c04ca(0x148)][_0x4c04ca(0x15a)](this[_0x4c04ca(0x13a)],0x1),this[_0x4c04ca(0x148)][_0x4c04ca(0x15a)](this[_0x4c04ca(0x14d)]);}[_0x2758da(0x16a)](){const _0x574354=_0x2758da;super[_0x574354(0x16a)](),this[_0x574354(0x15b)][_0x574354(0x163)][_0x574354(0x15a)](this[_0x574354(0x13a)]),this[_0x574354(0x160)][_0x574354(0x15a)](this[_0x574354(0x14d)]),this[_0x574354(0x143)][_0x574354(0x16f)](_0x574354(0x147),(_0x6e5e5f,_0x329364)=>{const _0x43f1b4=_0x574354;_0x6e5e5f[_0x43f1b4(0x171)]==this[_0x43f1b4(0x15b)][_0x43f1b4(0x15e)][_0x43f1b4(0x13b)]&&(this[_0x43f1b4(0x141)](),_0x329364());});}[_0x2758da(0x144)](){const _0x1f6dc9=_0x2758da,_0x5956f1=new _0x4029a3(this[_0x1f6dc9(0x162)]),_0xdcccd9=this[_0x1f6dc9(0x162)];return _0x5956f1[_0x1f6dc9(0x16f)]({'icon':_0x595069,'label':_0x53f5f8(_0xdcccd9,_0x1f6dc9(0x159)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1f6dc9(0x16d)}),_0x5956f1['on'](_0x1f6dc9(0x16b),()=>{const _0x2d3fc1=_0x1f6dc9;this[_0x2d3fc1(0x141)]();}),_0x5956f1[_0x1f6dc9(0x165)](_0x1f6dc9(0x13e))['to'](this[_0x1f6dc9(0x15b)][_0x1f6dc9(0x15e)],_0x1f6dc9(0x170),this,_0x1f6dc9(0x13e),(_0x62130c,_0x39186f)=>!_0x62130c&&_0x39186f),_0x5956f1;}[_0x2758da(0x15d)](){const _0x50ef85=_0x2758da,_0x562dbd=new _0x4029a3(this[_0x50ef85(0x162)]),_0x3adc29=this[_0x50ef85(0x16e)],_0x376e17=this[_0x50ef85(0x162)];_0x562dbd[_0x50ef85(0x16f)]({'label':_0x53f5f8(_0x376e17,_0x50ef85(0x16c)),'withText':!0x1,'icon':_0x1ccec9[_0x50ef85(0x137)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x50ef85(0x150)}),_0x562dbd[_0x50ef85(0x165)](_0x50ef85(0x166))['to'](_0x3adc29,_0x50ef85(0x154)),_0x562dbd[_0x50ef85(0x165)](_0x50ef85(0x13e))['to'](this,_0x50ef85(0x13e)),_0x562dbd['on'](_0x50ef85(0x16b),()=>{const _0x5e0aac=_0x50ef85;_0x3adc29[_0x5e0aac(0x154)]=!_0x3adc29[_0x5e0aac(0x154)],_0x3adc29[_0x5e0aac(0x154)]?this[_0x5e0aac(0x153)][_0x5e0aac(0x161)]():this[_0x5e0aac(0x161)]();});const _0x530455=()=>{const _0x2f5287=_0x50ef85;_0x33ffb3[_0x2f5287(0x14e)][_0x2f5287(0x142)](()=>{const _0x484380=_0x2f5287;if(_0x262098(this[_0x484380(0x13b)])){const _0x494e7c=new _0x7a9448(this[_0x484380(0x15b)][_0x484380(0x15e)][_0x484380(0x13b)]),_0x58f25e=_0x494e7c[_0x484380(0x14f)],_0x18e356=_0x484380(0x172)===_0x376e17[_0x484380(0x169)]?_0x484380(0x140):_0x484380(0x14c);_0x494e7c[_0x484380(0x15c)](),_0x562dbd[_0x484380(0x13b)][_0x484380(0x14a)][_0x18e356]=_0x58f25e-_0x494e7c[_0x484380(0x14f)]+0x1+'px';}});};return this[_0x50ef85(0x15b)][_0x50ef85(0x15e)]['on'](_0x50ef85(0x152),_0x530455),this['on'](_0x50ef85(0x16a),_0x530455),_0x562dbd;}[_0x2758da(0x141)](){const _0x3a37e8=_0x2758da,_0x2b9bd8=this[_0x3a37e8(0x15b)][_0x3a37e8(0x15e)][_0x3a37e8(0x13b)][_0x3a37e8(0x138)];this[_0x3a37e8(0x13f)](_0x3a37e8(0x141),_0x2b9bd8);}[_0x2758da(0x161)](_0x15c5f5){const _0x39a953=_0x2758da;-0x1===_0x15c5f5?this[_0x39a953(0x139)][_0x39a953(0x14b)]():this[_0x39a953(0x139)][_0x39a953(0x135)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ecb11=_0x309c;function _0x309c(_0x709fe9,_0x332cde){const _0x25fa81=_0x25fa();return _0x309c=function(_0x309cbc,_0x3355aa){_0x309cbc=_0x309cbc-0x13c;let _0x50c3e9=_0x25fa81[_0x309cbc];return _0x50c3e9;},_0x309c(_0x709fe9,_0x332cde);}(function(_0xd154d0,_0x3980ee){const _0x629804=_0x309c,_0x178b4f=_0xd154d0();while(!![]){try{const _0x11eca5=parseInt(_0x629804(0x157))/0x1*(-parseInt(_0x629804(0x143))/0x2)+-parseInt(_0x629804(0x15d))/0x3+parseInt(_0x629804(0x153))/0x4*(parseInt(_0x629804(0x14c))/0x5)+-parseInt(_0x629804(0x142))/0x6*(-parseInt(_0x629804(0x14d))/0x7)+-parseInt(_0x629804(0x14f))/0x8+parseInt(_0x629804(0x15b))/0x9+parseInt(_0x629804(0x144))/0xa*(parseInt(_0x629804(0x140))/0xb);if(_0x11eca5===_0x3980ee)break;else _0x178b4f['push'](_0x178b4f['shift']());}catch(_0x3a46ee){_0x178b4f['push'](_0x178b4f['shift']());}}}(_0x25fa,0x3a1d7));import{ToolbarView as _0x1a9619,ButtonView as _0x1e5343}from'ckeditor5/src/ui.js';import{getTranslation as _0x4f2fe7}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2ecb11(0x155),'INSERT':_0x2ecb11(0x150)};export default class rt extends _0x1a9619{constructor(_0x2ec370){const _0x4d3c62=_0x2ecb11;super(_0x2ec370),this[_0x4d3c62(0x161)](_0x4d3c62(0x14e),!0x1),this[_0x4d3c62(0x161)](_0x4d3c62(0x145),AIFormToolbarViewMainActionLabel[_0x4d3c62(0x149)]),this[_0x4d3c62(0x15c)]=this[_0x4d3c62(0x15e)]('',_0x4d3c62(0x13f)),this[_0x4d3c62(0x15c)][_0x4d3c62(0x13e)](_0x4d3c62(0x159))['to'](this,_0x4d3c62(0x145),_0x16724a=>_0x4f2fe7(_0x2ec370,_0x4d3c62(0x156)+_0x16724a[_0x4d3c62(0x154)]()+_0x4d3c62(0x13c))),this[_0x4d3c62(0x15f)]=this[_0x4d3c62(0x15e)](_0x4f2fe7(_0x2ec370,_0x4d3c62(0x152))),this[_0x4d3c62(0x148)]=this[_0x4d3c62(0x15e)](_0x4f2fe7(_0x2ec370,_0x4d3c62(0x158))),this[_0x4d3c62(0x147)]=this[_0x4d3c62(0x15e)](_0x4f2fe7(_0x2ec370,_0x4d3c62(0x160)));const _0xb4273c=this[_0x4d3c62(0x151)];this[_0x4d3c62(0x146)]({'attributes':{'class':[_0x4d3c62(0x13d),_0xb4273c['if'](_0x4d3c62(0x14e),_0x4d3c62(0x14b),_0x22b785=>!_0x22b785)]}}),this[_0x4d3c62(0x141)][_0x4d3c62(0x14a)]([this[_0x4d3c62(0x15c)],this[_0x4d3c62(0x15f)],this[_0x4d3c62(0x148)],this[_0x4d3c62(0x147)]]);}[_0x2ecb11(0x15e)](_0x39b21f,_0x48f255){const _0x251754=_0x2ecb11,_0x100175=new _0x1e5343(this[_0x251754(0x15a)]);return _0x100175[_0x251754(0x161)]({'label':_0x39b21f,'class':_0x48f255||'','isVisible':!0x0,'withText':!0x0}),_0x100175;}}function _0x25fa(){const _0x17114b=['2079815fOozxk','1917342GkZSXp','isVisible','3272944VqVAFO','insert','bindTemplate','Insert\x20below','4XELaib','toUpperCase','replace','AI_','3361TpRDdK','Try\x20again','label','locale','3355902ONkIfE','replaceButton','1386570lXusvE','_createButton','insertButton','Stop','set','_CONTENT','ck-ai-form__toolbar','bind','ck-button-action','22TlUiyz','items','6dJZQcn','52uJtlsd','669930sOgtQS','mainAction','extendTemplate','stopButton','tryAgainButton','REPLACE','addMany','ck-hidden'];_0x25fa=function(){return _0x17114b;};return _0x25fa();}
23
+ function _0x4016(){const _0x1477dc=['2475lbCzex','set','Insert\x20below','ck-ai-form__toolbar','32790RufNDe','272kxqcRs','7Fddoch','stopButton','AI_','replace','replaceButton','ck-hidden','addMany','bind','isVisible','items','1321272vOJRGZ','55418040BeUWJF','_createButton','locale','bindTemplate','mainAction','tryAgainButton','2167002CSFHSC','extendTemplate','405272PSreVP','_CONTENT','ck-button-action','label','Try\x20again','3278NwfOLE','11658141xhRbYM','REPLACE','Stop','insert','toUpperCase','insertButton'];_0x4016=function(){return _0x1477dc;};return _0x4016();}function _0x189f(_0x4211a3,_0x4dedef){const _0x401621=_0x4016();return _0x189f=function(_0x189f7f,_0x3a8a3e){_0x189f7f=_0x189f7f-0xf2;let _0x5d51b2=_0x401621[_0x189f7f];return _0x5d51b2;},_0x189f(_0x4211a3,_0x4dedef);}const _0x5d6210=_0x189f;(function(_0x12ecee,_0x2353a2){const _0xfef567=_0x189f,_0x5c64e4=_0x12ecee();while(!![]){try{const _0x2cb48c=-parseInt(_0xfef567(0x110))/0x1+-parseInt(_0xfef567(0xf9))/0x2*(parseInt(_0xfef567(0x100))/0x3)+-parseInt(_0xfef567(0x105))/0x4*(parseInt(_0xfef567(0x104))/0x5)+-parseInt(_0xfef567(0xf2))/0x6*(parseInt(_0xfef567(0x106))/0x7)+parseInt(_0xfef567(0xf4))/0x8+-parseInt(_0xfef567(0xfa))/0x9+parseInt(_0xfef567(0x111))/0xa;if(_0x2cb48c===_0x2353a2)break;else _0x5c64e4['push'](_0x5c64e4['shift']());}catch(_0x117537){_0x5c64e4['push'](_0x5c64e4['shift']());}}}(_0x4016,0xc75ac));import{ToolbarView as _0x246f73,ButtonView as _0x4524d8}from'ckeditor5/src/ui.js';import{getTranslation as _0xf199d6}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5d6210(0x109),'INSERT':_0x5d6210(0xfd)};export default class rt extends _0x246f73{constructor(_0x32d1dc){const _0x373310=_0x5d6210;super(_0x32d1dc),this[_0x373310(0x101)](_0x373310(0x10e),!0x1),this[_0x373310(0x101)](_0x373310(0x115),AIFormToolbarViewMainActionLabel[_0x373310(0xfb)]),this[_0x373310(0x10a)]=this[_0x373310(0x112)]('',_0x373310(0xf6)),this[_0x373310(0x10a)][_0x373310(0x10d)](_0x373310(0xf7))['to'](this,_0x373310(0x115),_0x564e17=>_0xf199d6(_0x32d1dc,_0x373310(0x108)+_0x564e17[_0x373310(0xfe)]()+_0x373310(0xf5))),this[_0x373310(0xff)]=this[_0x373310(0x112)](_0xf199d6(_0x32d1dc,_0x373310(0x102))),this[_0x373310(0x116)]=this[_0x373310(0x112)](_0xf199d6(_0x32d1dc,_0x373310(0xf8))),this[_0x373310(0x107)]=this[_0x373310(0x112)](_0xf199d6(_0x32d1dc,_0x373310(0xfc)));const _0x26fd21=this[_0x373310(0x114)];this[_0x373310(0xf3)]({'attributes':{'class':[_0x373310(0x103),_0x26fd21['if'](_0x373310(0x10e),_0x373310(0x10b),_0x100beb=>!_0x100beb)]}}),this[_0x373310(0x10f)][_0x373310(0x10c)]([this[_0x373310(0x10a)],this[_0x373310(0xff)],this[_0x373310(0x116)],this[_0x373310(0x107)]]);}[_0x5d6210(0x112)](_0x32bf0a,_0x1ccc9f){const _0x32bdf7=_0x5d6210,_0x3da1a7=new _0x4524d8(this[_0x32bdf7(0x113)]);return _0x3da1a7[_0x32bdf7(0x101)]({'label':_0x32bf0a,'class':_0x1ccc9f||'','isVisible':!0x0,'withText':!0x0}),_0x3da1a7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5f47(){const _0x22c6e7=['render','1302348pfuNpb','startProcessing','div','10003ljfAWf','delegate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','REPLACE','submitPrompt','trim','promptView','set','toolbar','label','add','focusLast','element','search','value','stopButton','high','42447MtakuG','fire','replaceButton','submit','8WXjGiJ','locale','tryAgainEvent','stopProcessing','errorView','text','keystrokes','1225829gxQduE','prompt','listenTo','797144LVjijv','Empty\x20history','focus','50tBbJmp','chain','tryAgainButton','_promptHistory','ck-ai-form-content','finishProcessing','978120PmOjIn','AI_ERROR_FAILED','focusFirst','focusTracker','5hbPvgK','replaceContent','createCollection','execute','handleError','shift\x20+\x20tab','tab','isEnabled','copyButtonView','726978cgrSfN','ck-hidden','insertButton','clear','_createHistoryView','bindTemplate','isProcessing','bindTo','mainAction','queryView','Ask\x20AI\x20to\x20edit\x20or\x20generate','items','ck-ai-form','contentArea','_createToolbar','isVisible','historyGroupView','reset','setTemplate','fieldView','_focusables','clearHistory','Ask\x20AI\x20to\x20improve\x20generated\x20text','insertContentBelow','focusCycler','isError','bind','_createPromptView','1072VaIIaP'];_0x5f47=function(){return _0x22c6e7;};return _0x5f47();}const _0x134585=_0x5595;(function(_0x47ee58,_0xc59452){const _0x590937=_0x5595,_0x38c6dc=_0x47ee58();while(!![]){try{const _0x24c03c=parseInt(_0x590937(0x15c))/0x1*(parseInt(_0x590937(0x160))/0x2)+parseInt(_0x590937(0x180))/0x3+-parseInt(_0x590937(0x16a))/0x4+parseInt(_0x590937(0x177))/0x5*(parseInt(_0x590937(0x148))/0x6)+-parseInt(_0x590937(0x14b))/0x7*(-parseInt(_0x590937(0x146))/0x8)+parseInt(_0x590937(0x173))/0x9+parseInt(_0x590937(0x16d))/0xa*(-parseInt(_0x590937(0x167))/0xb);if(_0x24c03c===_0xc59452)break;else _0x38c6dc['push'](_0x38c6dc['shift']());}catch(_0x4fb517){_0x38c6dc['push'](_0x38c6dc['shift']());}}}(_0x5f47,0x2a339));function _0x5595(_0x2490aa,_0x4f8209){const _0x5f470b=_0x5f47();return _0x5595=function(_0x559563,_0x36f033){_0x559563=_0x559563-0x133;let _0x30d8fe=_0x5f470b[_0x559563];return _0x30d8fe;},_0x5595(_0x2490aa,_0x4f8209);}import{FocusTracker as _0x30c8d9,KeystrokeHandler as _0x5e9bb1}from'ckeditor5/src/utils.js';import{View as _0x196895,FocusCycler as _0x26b797,createLabeledTextarea as _0x5d3289}from'ckeditor5/src/ui.js';import _0x367bcb,{AIFormToolbarViewMainActionLabel as _0x22c5fc}from'./aiformtoolbarview.js';import _0x1b500d from'./aiformcontentarea.js';import _0x2b89af from'./aiformerrorview.js';import _0x51a989 from'./aiformpromptview.js';import _0x3a7fa8 from'./aihistorylistview.js';import _0x339457 from'./aihistorylistitemview.js';import _0x239f2e from'./prompthistory.js';import{getTranslation as _0x388933}from'../../utils/common-translations.js';import{escape as _0x53b04b}from'lodash-es';export default class v extends _0x196895{constructor(_0x744059,_0x4f4ef1,_0x3a75cb=''){const _0x21032e=_0x5595;super(_0x744059),this[_0x21032e(0x152)](_0x21032e(0x17e),!0x0),this[_0x21032e(0x152)](_0x21032e(0x186),!0x1),this[_0x21032e(0x152)](_0x21032e(0x168),''),this[_0x21032e(0x152)](_0x21032e(0x159),''),this[_0x21032e(0x152)](_0x21032e(0x143),!0x1),this[_0x21032e(0x152)](_0x21032e(0x188),_0x22c5fc[_0x21032e(0x14e)]),this[_0x21032e(0x170)]=new _0x239f2e(),this[_0x21032e(0x164)]=new _0x2b89af(_0x744059),this[_0x21032e(0x137)]=new _0x1b500d(_0x744059,_0x3a75cb),this[_0x21032e(0x137)][_0x21032e(0x144)](_0x21032e(0x186))['to'](this),this[_0x21032e(0x137)][_0x21032e(0x144)](_0x21032e(0x159))['to'](this),this[_0x21032e(0x153)]=this[_0x21032e(0x138)](),this[_0x21032e(0x153)][_0x21032e(0x144)](_0x21032e(0x188))['to'](this),this[_0x21032e(0x151)]=this[_0x21032e(0x145)](),this[_0x21032e(0x176)]=new _0x30c8d9(),this[_0x21032e(0x166)]=new _0x5e9bb1(),this[_0x21032e(0x13e)]=this[_0x21032e(0x179)]([this[_0x21032e(0x137)],this[_0x21032e(0x137)][_0x21032e(0x17f)],this[_0x21032e(0x153)],this[_0x21032e(0x151)]]),this[_0x21032e(0x142)]=new _0x26b797({'focusables':this[_0x21032e(0x13e)],'focusTracker':this[_0x21032e(0x176)],'keystrokeHandler':this[_0x21032e(0x166)],'actions':{'focusPrevious':_0x21032e(0x17c),'focusNext':_0x21032e(0x17d)}}),this[_0x21032e(0x142)][_0x21032e(0x16e)](this[_0x21032e(0x151)][_0x21032e(0x142)]),this[_0x21032e(0x151)][_0x21032e(0x133)][_0x21032e(0x13d)][_0x21032e(0x144)](_0x21032e(0x159))['to'](this,_0x21032e(0x168));const _0x36e10a=this[_0x21032e(0x185)];this[_0x21032e(0x13c)]({'tag':_0x21032e(0x14a),'attributes':{'class':['ck',_0x21032e(0x136),_0x4f4ef1],'tabindex':'-1'},'children':[{'tag':_0x21032e(0x14a),'attributes':{'class':['ck',_0x21032e(0x171)]},'children':[{'tag':_0x21032e(0x14a),'attributes':{'class':[_0x36e10a['if'](_0x21032e(0x143),_0x21032e(0x181),_0x2741f7=>!_0x2741f7)]},'children':[this[_0x21032e(0x164)]]},this[_0x21032e(0x137)],this[_0x21032e(0x153)],this[_0x21032e(0x151)]]}]});}[_0x134585(0x147)](){const _0x2171b4=_0x134585;super[_0x2171b4(0x147)](),this[_0x2171b4(0x176)][_0x2171b4(0x155)](this[_0x2171b4(0x137)][_0x2171b4(0x157)]),this[_0x2171b4(0x176)][_0x2171b4(0x155)](this[_0x2171b4(0x137)][_0x2171b4(0x17f)][_0x2171b4(0x157)]),this[_0x2171b4(0x176)][_0x2171b4(0x155)](this[_0x2171b4(0x153)][_0x2171b4(0x157)]),this[_0x2171b4(0x176)][_0x2171b4(0x155)](this[_0x2171b4(0x151)][_0x2171b4(0x157)]),this[_0x2171b4(0x166)][_0x2171b4(0x169)](this[_0x2171b4(0x157)]);}[_0x134585(0x16c)](_0x374a0c=0x1){const _0x54869b=_0x134585;-0x1===_0x374a0c?this[_0x54869b(0x142)][_0x54869b(0x156)]():this[_0x54869b(0x142)][_0x54869b(0x175)]();}[_0x134585(0x13b)](){const _0x57ebb9=_0x134585;this[_0x57ebb9(0x168)]='',this[_0x57ebb9(0x159)]='',this[_0x57ebb9(0x143)]=!0x1,this[_0x57ebb9(0x151)][_0x57ebb9(0x13b)](),this[_0x57ebb9(0x137)][_0x57ebb9(0x139)]=!0x1,this[_0x57ebb9(0x153)][_0x57ebb9(0x139)]=!0x1;}[_0x134585(0x145)](){const _0x5657f0=_0x134585,_0xe40c72=this[_0x5657f0(0x161)],_0x2bce67=new _0x51a989(_0xe40c72,{'queryView':{'label':_0x388933(_0xe40c72,_0x5657f0(0x134)),'creator':_0x5d3289,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x388933(_0xe40c72,_0x5657f0(0x16b)),'secondary':_0x388933(_0xe40c72,_0x5657f0(0x14d))}}},'filteredView':this[_0x5657f0(0x184)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2bce67[_0x5657f0(0x144)](_0x5657f0(0x17e))['to'](this,_0x5657f0(0x17e),this,_0x5657f0(0x186),(_0x424478,_0x43c3b1)=>_0x424478&&!_0x43c3b1),this[_0x5657f0(0x169)](_0x2bce67,_0x5657f0(0x15f),(_0x2d8344,_0xb74970)=>{const _0x27b671=_0x5657f0;this[_0x27b671(0x168)]=_0xb74970;const _0x2138ef=_0x53b04b(_0xb74970);this[_0x27b671(0x15d)](_0x27b671(0x14f),_0x2138ef),_0xb74970[_0x27b671(0x150)]()&&this[_0x27b671(0x170)][_0x27b671(0x155)]({'prompt':_0x2138ef},0x0);},{'priority':_0x5657f0(0x15b)}),_0x2bce67;}[_0x134585(0x184)](){const _0x537e3a=_0x134585,_0x99f68d=new _0x3a7fa8(this[_0x537e3a(0x161)]);return _0x99f68d[_0x537e3a(0x13a)][_0x537e3a(0x135)][_0x537e3a(0x187)](this[_0x537e3a(0x170)])['as'](_0x339457),_0x99f68d['on'](_0x537e3a(0x13f),()=>{const _0x1b3840=_0x537e3a;this[_0x1b3840(0x170)][_0x1b3840(0x183)](),this[_0x1b3840(0x151)][_0x1b3840(0x158)](''),this[_0x1b3840(0x151)][_0x1b3840(0x16c)]();}),_0x99f68d;}[_0x134585(0x138)](){const _0x568e9b=_0x134585,_0x3629a1=new _0x367bcb(this[_0x568e9b(0x161)]);return _0x3629a1[_0x568e9b(0x15e)][_0x568e9b(0x144)](_0x568e9b(0x17e))['to'](this,_0x568e9b(0x17e),this,_0x568e9b(0x186),this,_0x568e9b(0x159),(_0x581f36,_0x1fe835,_0x32bf6a)=>_0x581f36&&!_0x1fe835&&!!_0x32bf6a),_0x3629a1[_0x568e9b(0x15e)][_0x568e9b(0x14c)](_0x568e9b(0x17a))['to'](this,_0x568e9b(0x178)),_0x3629a1[_0x568e9b(0x182)][_0x568e9b(0x144)](_0x568e9b(0x17e))['to'](this,_0x568e9b(0x17e),this,_0x568e9b(0x186),this,_0x568e9b(0x159),(_0x825d4c,_0x5493f3,_0x21173c)=>_0x825d4c&&!_0x5493f3&&!!_0x21173c),_0x3629a1[_0x568e9b(0x182)][_0x568e9b(0x14c)](_0x568e9b(0x17a))['to'](this,_0x568e9b(0x141)),_0x3629a1[_0x568e9b(0x16f)][_0x568e9b(0x144)](_0x568e9b(0x17e))['to'](this,_0x568e9b(0x17e),this,_0x568e9b(0x186),(_0x3e8c1b,_0x4d2b53)=>_0x3e8c1b&&!_0x4d2b53),_0x3629a1[_0x568e9b(0x16f)][_0x568e9b(0x14c)](_0x568e9b(0x17a))['to'](this,_0x568e9b(0x162)),_0x3629a1[_0x568e9b(0x15a)][_0x568e9b(0x144)](_0x568e9b(0x17e))['to'](this,_0x568e9b(0x186)),_0x3629a1[_0x568e9b(0x15a)][_0x568e9b(0x14c)](_0x568e9b(0x17a))['to'](this,_0x568e9b(0x163)),_0x3629a1;}[_0x134585(0x149)](){const _0x4a516f=_0x134585;this[_0x4a516f(0x159)]='',this[_0x4a516f(0x143)]=!0x1,this[_0x4a516f(0x186)]=!0x0,this[_0x4a516f(0x137)][_0x4a516f(0x139)]=!0x0,this[_0x4a516f(0x153)][_0x4a516f(0x139)]=!0x0,this[_0x4a516f(0x137)][_0x4a516f(0x16c)]();}[_0x134585(0x172)](){const _0x3f787a=_0x134585,_0x442646=this[_0x3f787a(0x161)];this[_0x3f787a(0x186)]=!0x1,this[_0x3f787a(0x168)]='',this[_0x3f787a(0x151)][_0x3f787a(0x13b)](),this[_0x3f787a(0x159)]&&(this[_0x3f787a(0x151)][_0x3f787a(0x133)][_0x3f787a(0x154)]=_0x388933(_0x442646,_0x3f787a(0x140)));}[_0x134585(0x17b)](_0x32da38){const _0x933c72=_0x134585,_0x2e76db=this[_0x933c72(0x161)];this[_0x933c72(0x172)](),this[_0x933c72(0x143)]=!0x0,this[_0x933c72(0x164)][_0x933c72(0x165)]=_0x32da38||_0x388933(_0x2e76db,_0x933c72(0x174)),this[_0x933c72(0x159)]||(this[_0x933c72(0x137)][_0x933c72(0x139)]=!0x1);}}
23
+ const _0x3254b6=_0x2bff;(function(_0x596c5a,_0x47c42a){const _0x34a0e6=_0x2bff,_0x35d74a=_0x596c5a();while(!![]){try{const _0x43c493=parseInt(_0x34a0e6(0x96))/0x1+parseInt(_0x34a0e6(0xb9))/0x2*(-parseInt(_0x34a0e6(0xad))/0x3)+-parseInt(_0x34a0e6(0xa1))/0x4+-parseInt(_0x34a0e6(0xb7))/0x5+-parseInt(_0x34a0e6(0xc8))/0x6+parseInt(_0x34a0e6(0xd9))/0x7*(parseInt(_0x34a0e6(0xa4))/0x8)+parseInt(_0x34a0e6(0xc0))/0x9;if(_0x43c493===_0x47c42a)break;else _0x35d74a['push'](_0x35d74a['shift']());}catch(_0x648379){_0x35d74a['push'](_0x35d74a['shift']());}}}(_0xfb53,0x546b8));import{FocusTracker as _0x143a17,KeystrokeHandler as _0x420fb1}from'ckeditor5/src/utils.js';import{View as _0x4b4288,FocusCycler as _0x391d31,createLabeledTextarea as _0x1bc31e}from'ckeditor5/src/ui.js';import _0x440e1b,{AIFormToolbarViewMainActionLabel as _0x49749f}from'./aiformtoolbarview.js';import _0x4382de from'./aiformcontentarea.js';import _0x386334 from'./aiformerrorview.js';import _0x36e12d from'./aiformpromptview.js';import _0x19d249 from'./aihistorylistview.js';import _0x27d482 from'./aihistorylistitemview.js';import _0x485b6f from'./prompthistory.js';import{getTranslation as _0x72d6dc}from'../../utils/common-translations.js';function _0x2bff(_0x13db30,_0x598196){const _0xfb5374=_0xfb53();return _0x2bff=function(_0x2bff40,_0x2b54c7){_0x2bff40=_0x2bff40-0x87;let _0x5a073e=_0xfb5374[_0x2bff40];return _0x5a073e;},_0x2bff(_0x13db30,_0x598196);}function _0xfb53(){const _0xf91153=['Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','setTemplate','fire','value','focusTracker','mainAction','high','historyGroupView','372475CdzijZ','element','delegate','Ask\x20AI\x20to\x20edit\x20or\x20generate','contentArea','replaceButton','_createPromptView','trim','focus','insertButton','div','1572020MUBAFV','label','ck-ai-form','22136PSVqvS','submit','chain','ck-ai-form-content','stopButton','Empty\x20history','render','focusLast','createCollection','78AEskNA','_focusables','bindTemplate','fieldView','copyButtonView','submitPrompt','startProcessing','search','bind','locale','1172505RjHozm','tab','8644jKCpGb','text','handleError','keystrokes','add','_createHistoryView','queryView','7501230vwcGEh','focusFirst','set','errorView','tryAgainEvent','isError','listenTo','finishProcessing','1767624BLXyPB','stopProcessing','tryAgainButton','items','bindTo','ck-hidden','shift\x20+\x20tab','_createToolbar','AI_ERROR_FAILED','clearHistory','REPLACE','focusCycler','clear','toolbar','replaceContent','prompt','isProcessing','441foNFId','reset','promptView','isVisible','insertContentBelow','_promptHistory','execute','isEnabled','Ask\x20AI\x20to\x20improve\x20generated\x20text'];_0xfb53=function(){return _0xf91153;};return _0xfb53();}import{escape as _0x5acb10}from'lodash-es';export default class v extends _0x4b4288{constructor(_0x4360ca,_0x344079,_0x330e50=''){const _0x14847a=_0x2bff;super(_0x4360ca),this[_0x14847a(0xc2)](_0x14847a(0x8c),!0x0),this[_0x14847a(0xc2)](_0x14847a(0xd8),!0x1),this[_0x14847a(0xc2)](_0x14847a(0xd7),''),this[_0x14847a(0xc2)](_0x14847a(0x91),''),this[_0x14847a(0xc2)](_0x14847a(0xc5),!0x1),this[_0x14847a(0xc2)](_0x14847a(0x93),_0x49749f[_0x14847a(0xd2)]),this[_0x14847a(0x8a)]=new _0x485b6f(),this[_0x14847a(0xc3)]=new _0x386334(_0x4360ca),this[_0x14847a(0x9a)]=new _0x4382de(_0x4360ca,_0x330e50),this[_0x14847a(0x9a)][_0x14847a(0xb5)](_0x14847a(0xd8))['to'](this),this[_0x14847a(0x9a)][_0x14847a(0xb5)](_0x14847a(0x91))['to'](this),this[_0x14847a(0xd5)]=this[_0x14847a(0xcf)](),this[_0x14847a(0xd5)][_0x14847a(0xb5)](_0x14847a(0x93))['to'](this),this[_0x14847a(0x87)]=this[_0x14847a(0x9c)](),this[_0x14847a(0x92)]=new _0x143a17(),this[_0x14847a(0xbc)]=new _0x420fb1(),this[_0x14847a(0xae)]=this[_0x14847a(0xac)]([this[_0x14847a(0x9a)],this[_0x14847a(0x9a)][_0x14847a(0xb1)],this[_0x14847a(0xd5)],this[_0x14847a(0x87)]]),this[_0x14847a(0xd3)]=new _0x391d31({'focusables':this[_0x14847a(0xae)],'focusTracker':this[_0x14847a(0x92)],'keystrokeHandler':this[_0x14847a(0xbc)],'actions':{'focusPrevious':_0x14847a(0xce),'focusNext':_0x14847a(0xb8)}}),this[_0x14847a(0xd3)][_0x14847a(0xa6)](this[_0x14847a(0x87)][_0x14847a(0xd3)]),this[_0x14847a(0x87)][_0x14847a(0xbf)][_0x14847a(0xb0)][_0x14847a(0xb5)](_0x14847a(0x91))['to'](this,_0x14847a(0xd7));const _0x145df6=this[_0x14847a(0xaf)];this[_0x14847a(0x8f)]({'tag':_0x14847a(0xa0),'attributes':{'class':['ck',_0x14847a(0xa3),_0x344079],'tabindex':'-1'},'children':[{'tag':_0x14847a(0xa0),'attributes':{'class':['ck',_0x14847a(0xa7)]},'children':[{'tag':_0x14847a(0xa0),'attributes':{'class':[_0x145df6['if'](_0x14847a(0xc5),_0x14847a(0xcd),_0x49a87e=>!_0x49a87e)]},'children':[this[_0x14847a(0xc3)]]},this[_0x14847a(0x9a)],this[_0x14847a(0xd5)],this[_0x14847a(0x87)]]}]});}[_0x3254b6(0xaa)](){const _0x2592d2=_0x3254b6;super[_0x2592d2(0xaa)](),this[_0x2592d2(0x92)][_0x2592d2(0xbd)](this[_0x2592d2(0x9a)][_0x2592d2(0x97)]),this[_0x2592d2(0x92)][_0x2592d2(0xbd)](this[_0x2592d2(0x9a)][_0x2592d2(0xb1)][_0x2592d2(0x97)]),this[_0x2592d2(0x92)][_0x2592d2(0xbd)](this[_0x2592d2(0xd5)][_0x2592d2(0x97)]),this[_0x2592d2(0x92)][_0x2592d2(0xbd)](this[_0x2592d2(0x87)][_0x2592d2(0x97)]),this[_0x2592d2(0xbc)][_0x2592d2(0xc6)](this[_0x2592d2(0x97)]);}[_0x3254b6(0x9e)](_0x34f833=0x1){const _0x4a4090=_0x3254b6;-0x1===_0x34f833?this[_0x4a4090(0xd3)][_0x4a4090(0xab)]():this[_0x4a4090(0xd3)][_0x4a4090(0xc1)]();}[_0x3254b6(0xda)](){const _0x4eaced=_0x3254b6;this[_0x4eaced(0xd7)]='',this[_0x4eaced(0x91)]='',this[_0x4eaced(0xc5)]=!0x1,this[_0x4eaced(0x87)][_0x4eaced(0xda)](),this[_0x4eaced(0x9a)][_0x4eaced(0x88)]=!0x1,this[_0x4eaced(0xd5)][_0x4eaced(0x88)]=!0x1;}[_0x3254b6(0x9c)](){const _0x10f844=_0x3254b6,_0x89ca07=this[_0x10f844(0xb6)],_0x4db8ed=new _0x36e12d(_0x89ca07,{'queryView':{'label':_0x72d6dc(_0x89ca07,_0x10f844(0x99)),'creator':_0x1bc31e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x72d6dc(_0x89ca07,_0x10f844(0xa9)),'secondary':_0x72d6dc(_0x89ca07,_0x10f844(0x8e))}}},'filteredView':this[_0x10f844(0xbe)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4db8ed[_0x10f844(0xb5)](_0x10f844(0x8c))['to'](this,_0x10f844(0x8c),this,_0x10f844(0xd8),(_0x50964d,_0x55f4d9)=>_0x50964d&&!_0x55f4d9),this[_0x10f844(0xc6)](_0x4db8ed,_0x10f844(0xa5),(_0x18e1ea,_0x414030)=>{const _0x5b220b=_0x10f844;this[_0x5b220b(0xd7)]=_0x414030;const _0x20a6d7=_0x5acb10(_0x414030);this[_0x5b220b(0x90)](_0x5b220b(0xb2),_0x20a6d7),_0x414030[_0x5b220b(0x9d)]()&&this[_0x5b220b(0x8a)][_0x5b220b(0xbd)]({'prompt':_0x20a6d7},0x0);},{'priority':_0x10f844(0x94)}),_0x4db8ed;}[_0x3254b6(0xbe)](){const _0xbb844e=_0x3254b6,_0x48d315=new _0x19d249(this[_0xbb844e(0xb6)]);return _0x48d315[_0xbb844e(0x95)][_0xbb844e(0xcb)][_0xbb844e(0xcc)](this[_0xbb844e(0x8a)])['as'](_0x27d482),_0x48d315['on'](_0xbb844e(0xd1),()=>{const _0x5b26d6=_0xbb844e;this[_0x5b26d6(0x8a)][_0x5b26d6(0xd4)](),this[_0x5b26d6(0x87)][_0x5b26d6(0xb4)](''),this[_0x5b26d6(0x87)][_0x5b26d6(0x9e)]();}),_0x48d315;}[_0x3254b6(0xcf)](){const _0x144264=_0x3254b6,_0x3ba460=new _0x440e1b(this[_0x144264(0xb6)]);return _0x3ba460[_0x144264(0x9b)][_0x144264(0xb5)](_0x144264(0x8c))['to'](this,_0x144264(0x8c),this,_0x144264(0xd8),this,_0x144264(0x91),(_0x3e3e38,_0x422360,_0x1de40d)=>_0x3e3e38&&!_0x422360&&!!_0x1de40d),_0x3ba460[_0x144264(0x9b)][_0x144264(0x98)](_0x144264(0x8b))['to'](this,_0x144264(0xd6)),_0x3ba460[_0x144264(0x9f)][_0x144264(0xb5)](_0x144264(0x8c))['to'](this,_0x144264(0x8c),this,_0x144264(0xd8),this,_0x144264(0x91),(_0x504716,_0x5be8b8,_0x2b0bb2)=>_0x504716&&!_0x5be8b8&&!!_0x2b0bb2),_0x3ba460[_0x144264(0x9f)][_0x144264(0x98)](_0x144264(0x8b))['to'](this,_0x144264(0x89)),_0x3ba460[_0x144264(0xca)][_0x144264(0xb5)](_0x144264(0x8c))['to'](this,_0x144264(0x8c),this,_0x144264(0xd8),(_0x561a45,_0x3dd55c)=>_0x561a45&&!_0x3dd55c),_0x3ba460[_0x144264(0xca)][_0x144264(0x98)](_0x144264(0x8b))['to'](this,_0x144264(0xc4)),_0x3ba460[_0x144264(0xa8)][_0x144264(0xb5)](_0x144264(0x8c))['to'](this,_0x144264(0xd8)),_0x3ba460[_0x144264(0xa8)][_0x144264(0x98)](_0x144264(0x8b))['to'](this,_0x144264(0xc9)),_0x3ba460;}[_0x3254b6(0xb3)](){const _0x2a11e9=_0x3254b6;this[_0x2a11e9(0x91)]='',this[_0x2a11e9(0xc5)]=!0x1,this[_0x2a11e9(0xd8)]=!0x0,this[_0x2a11e9(0x9a)][_0x2a11e9(0x88)]=!0x0,this[_0x2a11e9(0xd5)][_0x2a11e9(0x88)]=!0x0,this[_0x2a11e9(0x9a)][_0x2a11e9(0x9e)]();}[_0x3254b6(0xc7)](){const _0xfb878d=_0x3254b6,_0x42dc23=this[_0xfb878d(0xb6)];this[_0xfb878d(0xd8)]=!0x1,this[_0xfb878d(0xd7)]='',this[_0xfb878d(0x87)][_0xfb878d(0xda)](),this[_0xfb878d(0x91)]&&(this[_0xfb878d(0x87)][_0xfb878d(0xbf)][_0xfb878d(0xa2)]=_0x72d6dc(_0x42dc23,_0xfb878d(0x8d)));}[_0x3254b6(0xbb)](_0xee4fab){const _0x5c01a4=_0x3254b6,_0x295be1=this[_0x5c01a4(0xb6)];this[_0x5c01a4(0xc7)](),this[_0x5c01a4(0xc5)]=!0x0,this[_0x5c01a4(0xc3)][_0x5c01a4(0xba)]=_0xee4fab||_0x72d6dc(_0x295be1,_0x5c01a4(0xd0)),this[_0x5c01a4(0x91)]||(this[_0x5c01a4(0x9a)][_0x5c01a4(0x88)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25fd(){const _0x42ce76=['321185rBluoZ','add','fire','634464oQZnVB','execute','5760008TsLOHl','84VfKYRP','6272406moefRJ','2FJmNrF','locale','13427630nFIXam','569127LlGSpA','783gWvXKS','prompt','set','children','17496nTbzao'];_0x25fd=function(){return _0x42ce76;};return _0x25fd();}(function(_0x5aaba5,_0x2ed37d){const _0x164b21=_0x281c,_0x1473a2=_0x5aaba5();while(!![]){try{const _0x547d9e=parseInt(_0x164b21(0xe5))/0x1*(parseInt(_0x164b21(0xe0))/0x2)+-parseInt(_0x164b21(0xe8))/0x3+parseInt(_0x164b21(0xe2))/0x4+-parseInt(_0x164b21(0xdd))/0x5*(parseInt(_0x164b21(0xe3))/0x6)+parseInt(_0x164b21(0xe4))/0x7+-parseInt(_0x164b21(0xdc))/0x8*(-parseInt(_0x164b21(0xe9))/0x9)+-parseInt(_0x164b21(0xe7))/0xa;if(_0x547d9e===_0x2ed37d)break;else _0x1473a2['push'](_0x1473a2['shift']());}catch(_0x41e894){_0x1473a2['push'](_0x1473a2['shift']());}}}(_0x25fd,0xb1fab));function _0x281c(_0x505e99,_0x2654c7){const _0x25fda0=_0x25fd();return _0x281c=function(_0x281cbf,_0x213bbb){_0x281cbf=_0x281cbf-0xdc;let _0xc3284a=_0x25fda0[_0x281cbf];return _0xc3284a;},_0x281c(_0x505e99,_0x2654c7);}import{ListItemView as _0x353fa8,ButtonView as _0x15b019,ButtonLabelView as _0xe019b5}from'ckeditor5/src/ui.js';import{unescape as _0x8897a7}from'lodash-es';export default class hs extends _0x353fa8{constructor(_0x1c1014){const _0x502907=_0x281c;super();const _0x41da80=new _0xe019b5(),_0x1d7d78=new _0x15b019(this[_0x502907(0xe6)],_0x41da80);this[_0x502907(0xec)][_0x502907(0xde)](_0x1d7d78),_0x1d7d78[_0x502907(0xeb)]({'label':_0x1c1014[_0x502907(0xea)],'withText':!0x0}),_0x1d7d78['on'](_0x502907(0xe1),()=>{const _0x186905=_0x502907;this[_0x186905(0xdf)](_0x186905(0xe1),{'value':_0x8897a7(_0x1c1014[_0x186905(0xea)])});});}}
23
+ function _0x95d4(_0x2326aa,_0x179340){const _0x49fe0e=_0x49fe();return _0x95d4=function(_0x95d4d7,_0x487baa){_0x95d4d7=_0x95d4d7-0x11c;let _0x2042c9=_0x49fe0e[_0x95d4d7];return _0x2042c9;},_0x95d4(_0x2326aa,_0x179340);}(function(_0x4eea18,_0x516936){const _0x5661d1=_0x95d4,_0xbba8e8=_0x4eea18();while(!![]){try{const _0x1085b6=-parseInt(_0x5661d1(0x124))/0x1*(parseInt(_0x5661d1(0x120))/0x2)+-parseInt(_0x5661d1(0x11e))/0x3*(-parseInt(_0x5661d1(0x121))/0x4)+parseInt(_0x5661d1(0x125))/0x5+parseInt(_0x5661d1(0x122))/0x6+parseInt(_0x5661d1(0x129))/0x7+parseInt(_0x5661d1(0x128))/0x8*(-parseInt(_0x5661d1(0x12c))/0x9)+parseInt(_0x5661d1(0x11d))/0xa*(-parseInt(_0x5661d1(0x123))/0xb);if(_0x1085b6===_0x516936)break;else _0xbba8e8['push'](_0xbba8e8['shift']());}catch(_0x33be36){_0xbba8e8['push'](_0xbba8e8['shift']());}}}(_0x49fe,0x6c49d));import{ListItemView as _0x51d17c,ButtonView as _0x5dbaf6,ButtonLabelView as _0x486277}from'ckeditor5/src/ui.js';function _0x49fe(){const _0x2331f5=['locale','504824PiwGBF','605556FPTbSu','children','prompt','9PTxTkk','add','set','54130riXVFi','1473rDMjkQ','execute','272fNnBcP','4652chOoLL','5125218nBIsED','1892kyYFLN','6258CIYiBA','3885160iDhDce','fire'];_0x49fe=function(){return _0x2331f5;};return _0x49fe();}import{unescape as _0x24d454}from'lodash-es';export default class hs extends _0x51d17c{constructor(_0x2960b7){const _0x5d48e8=_0x95d4;super();const _0x357186=new _0x486277(),_0x103654=new _0x5dbaf6(this[_0x5d48e8(0x127)],_0x357186);this[_0x5d48e8(0x12a)][_0x5d48e8(0x12d)](_0x103654),_0x103654[_0x5d48e8(0x11c)]({'label':_0x2960b7[_0x5d48e8(0x12b)],'withText':!0x0}),_0x103654['on'](_0x5d48e8(0x11f),()=>{const _0x1b54df=_0x5d48e8;this[_0x1b54df(0x126)](_0x1b54df(0x11f),{'value':_0x24d454(_0x2960b7[_0x1b54df(0x12b)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43f85f=_0x2743;(function(_0x56b147,_0x2c470c){const _0x5df614=_0x2743,_0x541a14=_0x56b147();while(!![]){try{const _0x553f63=-parseInt(_0x5df614(0xb9))/0x1+parseInt(_0x5df614(0xb1))/0x2*(parseInt(_0x5df614(0xb3))/0x3)+parseInt(_0x5df614(0xb5))/0x4+parseInt(_0x5df614(0xc0))/0x5*(-parseInt(_0x5df614(0xc5))/0x6)+parseInt(_0x5df614(0xbe))/0x7+parseInt(_0x5df614(0xb0))/0x8+-parseInt(_0x5df614(0xc3))/0x9*(parseInt(_0x5df614(0xb7))/0xa);if(_0x553f63===_0x2c470c)break;else _0x541a14['push'](_0x541a14['shift']());}catch(_0x1d2ab1){_0x541a14['push'](_0x541a14['shift']());}}}(_0x33a8,0x3c2a9));function _0x2743(_0x457262,_0x73edf4){const _0x33a8b8=_0x33a8();return _0x2743=function(_0x2743da,_0x3b5201){_0x2743da=_0x2743da-0xab;let _0x1e7501=_0x33a8b8[_0x2743da];return _0x1e7501;},_0x2743(_0x457262,_0x73edf4);}import{ListView as _0x3bb2fc,ListItemGroupView as _0x205de4,ButtonView as _0x25ffa5}from'ckeditor5/src/ui.js';import{getTranslation as _0xc1963b}from'../../utils/common-translations.js';function _0x33a8(){const _0x21acb0=['27NbmtTa','fire','66UAFYhe','Prompt\x20history','delegate','label','set','_createClearHistoryButton','2778088TSUFdH','498QhyTJv','locale','1866MRxogD','clearHistoryButton','1840692qREusd','execute','1406050VPGund','children','46048oViyAR','clearHistory','Clear','items','historyGroupView','365967MkVhRg','add','136495KTffEg','filter','length'];_0x33a8=function(){return _0x21acb0;};return _0x33a8();}export default class rs extends _0x3bb2fc{constructor(_0x5ac870){const _0x3d2649=_0x2743;super(_0x5ac870),this[_0x3d2649(0xb4)]=this[_0x3d2649(0xaf)](),this[_0x3d2649(0xbd)]=new _0x205de4(),this[_0x3d2649(0xbd)][_0x3d2649(0xb8)][_0x3d2649(0xbf)](this[_0x3d2649(0xb4)],0x1),this[_0x3d2649(0xbd)][_0x3d2649(0xad)]=_0xc1963b(_0x5ac870,_0x3d2649(0xab)),this[_0x3d2649(0xbd)][_0x3d2649(0xbc)][_0x3d2649(0xac)](_0x3d2649(0xb6))['to'](this),this[_0x3d2649(0xbc)][_0x3d2649(0xbf)](this[_0x3d2649(0xbd)]);}[_0x43f85f(0xc1)](){const _0x74bf30=_0x43f85f;let _0x19982e=0x0;for(const _0x4c6911 of this[_0x74bf30(0xbc)])_0x19982e+=_0x4c6911[_0x74bf30(0xbc)][_0x74bf30(0xc2)];return{'resultsCount':_0x19982e,'totalItemsCount':_0x19982e};}[_0x43f85f(0xaf)](){const _0xe73973=_0x43f85f,_0x61b6da=this[_0xe73973(0xb2)],_0x469ec5=new _0x25ffa5(this[_0xe73973(0xb2)]);return _0x469ec5[_0xe73973(0xae)]({'label':'('+_0xc1963b(_0x61b6da,_0xe73973(0xbb))+')','withText':!0x0}),_0x469ec5['on'](_0xe73973(0xb6),()=>this[_0xe73973(0xc4)](_0xe73973(0xba))),_0x469ec5;}}
23
+ const _0x242d29=_0x4d37;(function(_0xac272a,_0x84c228){const _0x4b9ad0=_0x4d37,_0x24a0cf=_0xac272a();while(!![]){try{const _0x20dcf5=-parseInt(_0x4b9ad0(0x156))/0x1+-parseInt(_0x4b9ad0(0x15e))/0x2+parseInt(_0x4b9ad0(0x159))/0x3+parseInt(_0x4b9ad0(0x14d))/0x4+parseInt(_0x4b9ad0(0x15a))/0x5*(parseInt(_0x4b9ad0(0x152))/0x6)+-parseInt(_0x4b9ad0(0x15d))/0x7+parseInt(_0x4b9ad0(0x14a))/0x8;if(_0x20dcf5===_0x84c228)break;else _0x24a0cf['push'](_0x24a0cf['shift']());}catch(_0x2a6129){_0x24a0cf['push'](_0x24a0cf['shift']());}}}(_0x10dd,0xac5f5));function _0x10dd(){const _0x3687b9=['set','fire','locale','7062848CujFln','clearHistory','clearHistoryButton','430132LxRHxH','historyGroupView','Prompt\x20history','length','items','12YtvMWl','_createClearHistoryButton','children','add','65840AKfeAH','Clear','filter','870471BQMyYs','3359145qekCwF','delegate','label','5066936wBlkoh','2256958wHlsSR','execute'];_0x10dd=function(){return _0x3687b9;};return _0x10dd();}import{ListView as _0x560127,ListItemGroupView as _0x152750,ButtonView as _0x53b04b}from'ckeditor5/src/ui.js';function _0x4d37(_0x252d20,_0x25320a){const _0x10dd5d=_0x10dd();return _0x4d37=function(_0x4d3788,_0x724106){_0x4d3788=_0x4d3788-0x147;let _0x23154e=_0x10dd5d[_0x4d3788];return _0x23154e;},_0x4d37(_0x252d20,_0x25320a);}import{getTranslation as _0x342173}from'../../utils/common-translations.js';export default class rs extends _0x560127{constructor(_0x2acaef){const _0x3f26b6=_0x4d37;super(_0x2acaef),this[_0x3f26b6(0x14c)]=this[_0x3f26b6(0x153)](),this[_0x3f26b6(0x14e)]=new _0x152750(),this[_0x3f26b6(0x14e)][_0x3f26b6(0x154)][_0x3f26b6(0x155)](this[_0x3f26b6(0x14c)],0x1),this[_0x3f26b6(0x14e)][_0x3f26b6(0x15c)]=_0x342173(_0x2acaef,_0x3f26b6(0x14f)),this[_0x3f26b6(0x14e)][_0x3f26b6(0x151)][_0x3f26b6(0x15b)](_0x3f26b6(0x15f))['to'](this),this[_0x3f26b6(0x151)][_0x3f26b6(0x155)](this[_0x3f26b6(0x14e)]);}[_0x242d29(0x158)](){const _0x4f954a=_0x242d29;let _0x53030f=0x0;for(const _0x4620aa of this[_0x4f954a(0x151)])_0x53030f+=_0x4620aa[_0x4f954a(0x151)][_0x4f954a(0x150)];return{'resultsCount':_0x53030f,'totalItemsCount':_0x53030f};}[_0x242d29(0x153)](){const _0x3fadf1=_0x242d29,_0x12e0c0=this[_0x3fadf1(0x149)],_0x188505=new _0x53b04b(this[_0x3fadf1(0x149)]);return _0x188505[_0x3fadf1(0x147)]({'label':'('+_0x342173(_0x12e0c0,_0x3fadf1(0x157))+')','withText':!0x0}),_0x188505['on'](_0x3fadf1(0x15f),()=>this[_0x3fadf1(0x148)](_0x3fadf1(0x14b))),_0x188505;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49fd6b=_0x41eb;(function(_0x298020,_0x13e4dc){const _0x3a7482=_0x41eb,_0xfccc73=_0x298020();while(!![]){try{const _0x1983ee=parseInt(_0x3a7482(0xca))/0x1+-parseInt(_0x3a7482(0xc2))/0x2*(-parseInt(_0x3a7482(0xcf))/0x3)+-parseInt(_0x3a7482(0xcb))/0x4+-parseInt(_0x3a7482(0xc0))/0x5+parseInt(_0x3a7482(0xbb))/0x6*(-parseInt(_0x3a7482(0xd1))/0x7)+parseInt(_0x3a7482(0xc7))/0x8*(parseInt(_0x3a7482(0xce))/0x9)+-parseInt(_0x3a7482(0xc8))/0xa;if(_0x1983ee===_0x13e4dc)break;else _0xfccc73['push'](_0xfccc73['shift']());}catch(_0x4fbe07){_0xfccc73['push'](_0xfccc73['shift']());}}}(_0x33de,0x55f23));import{Collection as _0x1bb998}from'ckeditor5/src/utils.js';const cs=_0x49fd6b(0xc1);export default class os extends _0x1bb998{constructor(){const _0x1244f7=_0x49fd6b;super(),this[_0x1244f7(0xbd)](),this['on'](_0x1244f7(0xc9),(_0x5edf44,_0x502607)=>{const _0x3e5e50=_0x1244f7,_0x218663=Ss(_0x502607[_0x3e5e50(0xd2)]);for(const _0x2a224e of this)if(_0x2a224e!=_0x502607&&Ss(_0x2a224e[_0x3e5e50(0xd2)])===_0x218663){this[_0x3e5e50(0xc5)](_0x2a224e);break;}this[_0x3e5e50(0xb9)]>0x14&&this[_0x3e5e50(0xc5)](this[_0x3e5e50(0xba)]),this[_0x3e5e50(0xd0)]();}),this['on'](_0x1244f7(0xc5),()=>{const _0x5c32cc=_0x1244f7;this[_0x5c32cc(0xd0)]();});}[_0x49fd6b(0xbd)](){const _0x57c28a=_0x49fd6b,_0x1e686b=sessionStorage[_0x57c28a(0xbf)](cs)||'[]';this[_0x57c28a(0xc3)](JSON[_0x57c28a(0xbe)](_0x1e686b));}[_0x49fd6b(0xd0)](){const _0xdeb44=_0x49fd6b;sessionStorage[_0xdeb44(0xc6)](cs,JSON[_0xdeb44(0xbc)](this[_0xdeb44(0xc4)](_0x433e45=>_0x433e45)));}}function Ss(_0x5a8dd5){const _0x10b65a=_0x49fd6b;return _0x5a8dd5[_0x10b65a(0xcd)]()[_0x10b65a(0xcc)]();}function _0x41eb(_0x4afdd6,_0x26bbf5){const _0x33de48=_0x33de();return _0x41eb=function(_0x41ebef,_0x362687){_0x41ebef=_0x41ebef-0xb9;let _0x16e8f0=_0x33de48[_0x41ebef];return _0x16e8f0;},_0x41eb(_0x4afdd6,_0x26bbf5);}function _0x33de(){const _0x56be78=['123BWqQSl','_saveToSessionStorage','35shDQXm','prompt','length','last','158622llFTEN','stringify','_loadFromSessionStorage','parse','getItem','2113905AMwruR','CKEditor/AIFormView/PromptHistory','12648rdVNgN','addMany','map','remove','setItem','24RQUGeC','3355860ezcQbT','add','549371HXIiHq','929124DTtnCK','trim','toLowerCase','1998639rUIypi'];_0x33de=function(){return _0x56be78;};return _0x33de();}
23
+ function _0x119b(_0x325724,_0x269392){const _0x45541b=_0x4554();return _0x119b=function(_0x119b83,_0xf30fa1){_0x119b83=_0x119b83-0x13a;let _0x26231f=_0x45541b[_0x119b83];return _0x26231f;},_0x119b(_0x325724,_0x269392);}const _0x3a1c5c=_0x119b;(function(_0x18781c,_0x665044){const _0x4d7978=_0x119b,_0x5889df=_0x18781c();while(!![]){try{const _0xf4d8b=-parseInt(_0x4d7978(0x154))/0x1+parseInt(_0x4d7978(0x142))/0x2+parseInt(_0x4d7978(0x145))/0x3*(-parseInt(_0x4d7978(0x143))/0x4)+parseInt(_0x4d7978(0x13f))/0x5*(parseInt(_0x4d7978(0x155))/0x6)+-parseInt(_0x4d7978(0x14e))/0x7*(-parseInt(_0x4d7978(0x13a))/0x8)+parseInt(_0x4d7978(0x13c))/0x9*(-parseInt(_0x4d7978(0x150))/0xa)+-parseInt(_0x4d7978(0x14d))/0xb*(parseInt(_0x4d7978(0x144))/0xc);if(_0xf4d8b===_0x665044)break;else _0x5889df['push'](_0x5889df['shift']());}catch(_0xdd3265){_0x5889df['push'](_0x5889df['shift']());}}}(_0x4554,0x18b86));import{Collection as _0x35b4c1}from'ckeditor5/src/utils.js';const cs=_0x3a1c5c(0x152);export default class os extends _0x35b4c1{constructor(){const _0x402fac=_0x3a1c5c;super(),this[_0x402fac(0x14c)](),this['on'](_0x402fac(0x151),(_0x2bbadf,_0xbf0976)=>{const _0x625adf=_0x402fac,_0x5a155=Ss(_0xbf0976[_0x625adf(0x147)]);for(const _0x2446d5 of this)if(_0x2446d5!=_0xbf0976&&Ss(_0x2446d5[_0x625adf(0x147)])===_0x5a155){this[_0x625adf(0x149)](_0x2446d5);break;}this[_0x625adf(0x141)]>0x14&&this[_0x625adf(0x149)](this[_0x625adf(0x14f)]),this[_0x625adf(0x13e)]();}),this['on'](_0x402fac(0x149),()=>{const _0x4054ac=_0x402fac;this[_0x4054ac(0x13e)]();});}[_0x3a1c5c(0x14c)](){const _0x29319b=_0x3a1c5c,_0x52f67e=sessionStorage[_0x29319b(0x148)](cs)||'[]';this[_0x29319b(0x13b)](JSON[_0x29319b(0x146)](_0x52f67e));}[_0x3a1c5c(0x13e)](){const _0x2b8af9=_0x3a1c5c;sessionStorage[_0x2b8af9(0x14b)](cs,JSON[_0x2b8af9(0x14a)](this[_0x2b8af9(0x140)](_0x476ae3=>_0x476ae3)));}}function Ss(_0x2e137e){const _0x104941=_0x3a1c5c;return _0x2e137e[_0x104941(0x13d)]()[_0x104941(0x153)]();}function _0x4554(){const _0x4d1bb7=['886888oklINT','addMany','233865vvLxRF','toLowerCase','_saveToSessionStorage','901455bearoF','map','length','331972ExCalS','553604nfMegk','12mGTcwK','3yzybWb','parse','prompt','getItem','remove','stringify','setItem','_loadFromSessionStorage','1916827xNfkHd','7EdVlKr','last','10YhLjQf','add','CKEditor/AIFormView/PromptHistory','trim','17241IHjSgG','6ZxAQaS'];_0x4554=function(){return _0x4d1bb7;};return _0x4554();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x195a(_0x58b852,_0x5c4bfa){const _0x2afeb0=_0x2afe();return _0x195a=function(_0x195ab2,_0x59f173){_0x195ab2=_0x195ab2-0x1d2;let _0x4fc6d2=_0x2afeb0[_0x195ab2];return _0x4fc6d2;},_0x195a(_0x58b852,_0x5c4bfa);}const _0x3ba667=_0x195a;(function(_0x97f3e,_0x3f4cbe){const _0x67dead=_0x195a,_0x1e6070=_0x97f3e();while(!![]){try{const _0x5285f5=parseInt(_0x67dead(0x1e8))/0x1*(parseInt(_0x67dead(0x1f8))/0x2)+-parseInt(_0x67dead(0x1f2))/0x3*(parseInt(_0x67dead(0x1d4))/0x4)+-parseInt(_0x67dead(0x1d3))/0x5+-parseInt(_0x67dead(0x1f5))/0x6*(-parseInt(_0x67dead(0x1f1))/0x7)+parseInt(_0x67dead(0x1f6))/0x8+parseInt(_0x67dead(0x1da))/0x9+-parseInt(_0x67dead(0x1fd))/0xa;if(_0x5285f5===_0x3f4cbe)break;else _0x1e6070['push'](_0x1e6070['shift']());}catch(_0x5ee837){_0x1e6070['push'](_0x1e6070['shift']());}}}(_0x2afe,0x3b6e3));import{Command as _0x1562d3}from'ckeditor5/src/core.js';import _0x320103 from'../aiassistantui.js';export default class C extends _0x1562d3{constructor(_0x320eb6,_0x1bfcc5){const _0x4d0333=_0x195a;super(_0x320eb6),this[_0x4d0333(0x1e3)]=_0x1bfcc5,this[_0x4d0333(0x1f3)](_0x4d0333(0x1f9),[]),this['on'](_0x4d0333(0x1e5),(_0x18923f,_0x21b39d,_0x464618)=>{const _0x68067=_0x4d0333;this[_0x68067(0x1d7)]&&(this[_0x68067(0x1f9)]=F(this[_0x68067(0x1e3)],_0x464618));}),this[_0x4d0333(0x1f3)](_0x4d0333(0x1dd),!0x1),this['on'](_0x4d0333(0x1dc),(_0x275eee,_0x231a63,_0x415a65)=>{const _0x569f7a=_0x4d0333;this[_0x569f7a(0x1f9)]=_0x415a65?F(this[_0x569f7a(0x1e3)],this[_0x569f7a(0x1dd)]):[];});}[_0x3ba667(0x1ef)](){const _0x502b8f=_0x3ba667,_0x5340f1=this[_0x502b8f(0x1fc)][_0x502b8f(0x1e6)];this[_0x502b8f(0x1dd)]=function(_0xfa8f29){const _0x5ef06a=_0x502b8f,_0x1cab25=_0xfa8f29[_0x5ef06a(0x1d9)][_0x5ef06a(0x1d8)];return _0x1cab25[_0x5ef06a(0x1e2)]?0x0!==[..._0x1cab25[_0x5ef06a(0x1eb)]()][_0x5ef06a(0x1d6)]&&![..._0x1cab25[_0x5ef06a(0x1eb)]()][0x0][_0x5ef06a(0x1e4)]:!!_0xfa8f29[_0x5ef06a(0x1ee)](_0x1cab25[_0x5ef06a(0x1d5)]());}(_0x5340f1);const _0x2b5f42=_0x5340f1[_0x502b8f(0x1d9)][_0x502b8f(0x1d8)],_0x2feb25=this[_0x502b8f(0x1fc)][_0x502b8f(0x1f0)][_0x502b8f(0x1ec)](_0x502b8f(0x1ea));for(const _0x39f254 of _0x2b5f42[_0x502b8f(0x1db)]())for(const _0x47d856 of _0x39f254[_0x502b8f(0x1e1)]())if(_0x47d856['is'](_0x502b8f(0x1f7))&&_0x2feb25[_0x502b8f(0x1ed)](_0x47d856[_0x502b8f(0x1f4)]))return void(this[_0x502b8f(0x1d7)]=!0x1);this[_0x502b8f(0x1d7)]=!0x0;}[_0x3ba667(0x1d2)](_0x1c25bc='',_0x40b098='',_0x4440d9=_0x3ba667(0x1e9)){const _0x197adc=_0x3ba667;this[_0x197adc(0x1fc)][_0x197adc(0x1de)][_0x197adc(0x1ec)](_0x320103)[_0x197adc(0x1fb)](_0x1c25bc,_0x40b098,_0x4440d9);}}function F(_0x151612,_0x208e46){const _0x33a29b=_0x3ba667,_0x1f9cee=new Set();for(const _0x4bb7e8 of _0x151612[_0x33a29b(0x1e7)]())(_0x208e46||!0x1===_0x4bb7e8[_0x33a29b(0x1df)])&&_0x1f9cee[_0x33a29b(0x1e0)](_0x4bb7e8['id']);return Array[_0x33a29b(0x1fa)](_0x1f9cee);}function _0x2afe(){const _0x51470c=['set','name','72264oXooVH','1668656YeoKiy','element','122776mjKheD','enabledCommandsIds','from','showUI','editor','4323630JjfMZo','execute','992255aDwuLE','484076HhvPEy','getFirstRange','length','isEnabled','selection','document','1607742UjaBgw','getRanges','change:isEnabled','_hasContext','plugins','requiresContent','add','getItems','isCollapsed','_commandDefinitions','isEmpty','change:_hasContext','model','values','5mbWxOB','custom','ai.aiAssistant.disabledElements','getSelectedBlocks','get','includes','hasContent','refresh','config','175qsldbZ','3vheWhU'];_0x2afe=function(){return _0x51470c;};return _0x2afe();}
23
+ const _0x488186=_0x3f04;(function(_0x117062,_0x37e92f){const _0xde80da=_0x3f04,_0x1bde57=_0x117062();while(!![]){try{const _0x1b6cb2=-parseInt(_0xde80da(0xf3))/0x1+-parseInt(_0xde80da(0xe8))/0x2*(parseInt(_0xde80da(0x108))/0x3)+-parseInt(_0xde80da(0xed))/0x4*(-parseInt(_0xde80da(0xf0))/0x5)+parseInt(_0xde80da(0xf6))/0x6+parseInt(_0xde80da(0xe9))/0x7*(parseInt(_0xde80da(0xf2))/0x8)+parseInt(_0xde80da(0x107))/0x9+parseInt(_0xde80da(0xf7))/0xa*(parseInt(_0xde80da(0xea))/0xb);if(_0x1b6cb2===_0x37e92f)break;else _0x1bde57['push'](_0x1bde57['shift']());}catch(_0x35b871){_0x1bde57['push'](_0x1bde57['shift']());}}}(_0x5082,0xdf751));function _0x3f04(_0x13839e,_0x335188){const _0x5082e5=_0x5082();return _0x3f04=function(_0x3f040e,_0x46b3fc){_0x3f040e=_0x3f040e-0xdd;let _0x39a771=_0x5082e5[_0x3f040e];return _0x39a771;},_0x3f04(_0x13839e,_0x335188);}import{Command as _0x253457}from'ckeditor5/src/core.js';import _0x579964 from'../aiassistantui.js';export default class C extends _0x253457{constructor(_0x10b48d,_0x48d7e0){const _0x4aad2a=_0x3f04;super(_0x10b48d),this[_0x4aad2a(0xe4)]=_0x48d7e0,this[_0x4aad2a(0xfb)](_0x4aad2a(0x100),[]),this['on'](_0x4aad2a(0x109),(_0x513992,_0x16df9a,_0x1e958a)=>{const _0x9ef869=_0x4aad2a;this[_0x9ef869(0x106)]&&(this[_0x9ef869(0x100)]=F(this[_0x9ef869(0xe4)],_0x1e958a));}),this[_0x4aad2a(0xfb)](_0x4aad2a(0x103),!0x1),this['on'](_0x4aad2a(0xe6),(_0x55c128,_0x3072e2,_0x2e5ab6)=>{const _0x400e96=_0x4aad2a;this[_0x400e96(0x100)]=_0x2e5ab6?F(this[_0x400e96(0xe4)],this[_0x400e96(0x103)]):[];});}[_0x488186(0xef)](){const _0x13a59c=_0x488186,_0x2acce0=this[_0x13a59c(0x104)][_0x13a59c(0xdf)];this[_0x13a59c(0x103)]=function(_0x17b465){const _0x32f1ff=_0x13a59c,_0x35f291=_0x17b465[_0x32f1ff(0xe7)][_0x32f1ff(0xf1)];return _0x35f291[_0x32f1ff(0xfa)]?0x0!==[..._0x35f291[_0x32f1ff(0xff)]()][_0x32f1ff(0x101)]&&![..._0x35f291[_0x32f1ff(0xff)]()][0x0][_0x32f1ff(0xdd)]:!!_0x17b465[_0x32f1ff(0xe0)](_0x35f291[_0x32f1ff(0xe2)]());}(_0x2acce0);const _0x4c99c3=_0x2acce0[_0x13a59c(0xe7)][_0x13a59c(0xf1)],_0x10c4d3=this[_0x13a59c(0x104)][_0x13a59c(0x105)][_0x13a59c(0xf8)](_0x13a59c(0xe5));for(const _0x3d82d0 of _0x4c99c3[_0x13a59c(0x102)]())for(const _0x5ed3c8 of _0x3d82d0[_0x13a59c(0xfc)]())if(_0x5ed3c8['is'](_0x13a59c(0xeb))&&_0x10c4d3[_0x13a59c(0xee)](_0x5ed3c8[_0x13a59c(0xf5)]))return void(this[_0x13a59c(0x106)]=!0x1);this[_0x13a59c(0x106)]=!0x0;}[_0x488186(0xf9)](_0x5421b6='',_0x1b0eb3='',_0x44fb56=_0x488186(0xf4)){const _0x4177d8=_0x488186;this[_0x4177d8(0x104)][_0x4177d8(0xec)][_0x4177d8(0xf8)](_0x579964)[_0x4177d8(0xfe)](_0x5421b6,_0x1b0eb3,_0x44fb56);}}function _0x5082(){const _0x14648c=['getFirstRange','requiresContent','_commandDefinitions','ai.aiAssistant.disabledElements','change:isEnabled','document','9452HSVzkA','7PqjHIZ','33tAlQWL','element','plugins','370564SxpkPq','includes','refresh','35sahJEK','selection','1111600XjhENg','1565440lMVmgm','custom','name','7121952UnBZgU','2670490NPlFAT','get','execute','isCollapsed','set','getItems','values','showUI','getSelectedBlocks','enabledCommandsIds','length','getRanges','_hasContext','editor','config','isEnabled','11637729ygEhXH','1008MivUMp','change:_hasContext','isEmpty','from','model','hasContent','add'];_0x5082=function(){return _0x14648c;};return _0x5082();}function F(_0xe199f0,_0x38f4f4){const _0x1464c3=_0x488186,_0x2b4974=new Set();for(const _0x103a45 of _0xe199f0[_0x1464c3(0xfd)]())(_0x38f4f4||!0x1===_0x103a45[_0x1464c3(0xe3)])&&_0x2b4974[_0x1464c3(0xe1)](_0x103a45['id']);return Array[_0x1464c3(0xde)](_0x2b4974);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xac4d,_0x3ba31e,_0x17deeb){const t=_0xac4d['t'];switch(_0x3ba31e){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',_0x17deeb);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x17deeb);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'},_0x17deeb);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 _0x3ba31e;}}
23
+ export function getTranslation(_0x2b5b93,_0x5e0cd7,_0x47fe7b){const t=_0x2b5b93['t'];switch(_0x5e0cd7){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',_0x47fe7b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x47fe7b);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'},_0x47fe7b);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 _0x5e0cd7;}}