@ckeditor/ckeditor5-ai 43.1.0 → 43.1.1

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 _0x2022a1=_0x2dd1;(function(_0x54a91e,_0x1c508d){const _0x48afd3=_0x2dd1,_0x5e65a1=_0x54a91e();while(!![]){try{const _0x26d8ed=-parseInt(_0x48afd3(0x11a))/0x1+-parseInt(_0x48afd3(0xfc))/0x2*(-parseInt(_0x48afd3(0xc9))/0x3)+-parseInt(_0x48afd3(0xda))/0x4+parseInt(_0x48afd3(0xcd))/0x5*(parseInt(_0x48afd3(0xf7))/0x6)+parseInt(_0x48afd3(0xe1))/0x7+-parseInt(_0x48afd3(0xed))/0x8+parseInt(_0x48afd3(0xd3))/0x9;if(_0x26d8ed===_0x1c508d)break;else _0x5e65a1['push'](_0x5e65a1['shift']());}catch(_0x3ed54b){_0x5e65a1['push'](_0x5e65a1['shift']());}}}(_0x1464,0x3d6a3));import{global as _0x45be15}from'ckeditor5/src/utils.js';import{View as _0x2301f3,ButtonView as _0x5bd351,SpinnerView as _0x3479c3}from'ckeditor5/src/ui.js';import _0x7f426e from'../../../theme/icons/copy.svg';import{getTranslation as _0x12552f}from'../../utils/common-translations.js';function _0x1464(){const _0x30b3e5=['1966122PuORiP','appendChild','appendLoader','ck-content','render','text/plain','focus','438208Ylepsp','ck-ai-form__content-area-wrapper','ck-reset_all-excluded','ClipboardItem','clipboard','_copyHTMLToClipboard','setStartAfter','257880arQxxU','ck-ai-form__content-field','smooth','left','setContent','isEnabled','createElement','set','value','ck-ai-form__copy-button','.ck-ai-form__loader','getSelection','3760240XmrLuN','locale','isVisible','style','copy','class','element','scrollHeight','bindTemplate','execute','462ddVvkn','change:isProcessing','firstElementChild','_createLoader','copyButtonView','106avwMiE','text/html','absolute','body','mousedown','innerHTML','setTemplate','_createCopyButton','scrollTo','write','remove','addRange','textContent','position','wheel','div','ck-ai-form__content-area','querySelector','<span>]</span>','lastElementChild','change:value','setEndBefore','check','ck-ai-form__content-area--processing','icon','Copy','\x20ck-ai-form__copy-button--copied','isProcessing','execCommand','-9999px','111516MVXcZB','loaderView','bind','contentFieldView','11091azshoC','ck-ai-form__loader','<span>[</span>','listenTo','31910wfaaBd','AI\x20is\x20writing...','removeAllRanges','createRange','ck-hidden','ck-ai-form__copy-button-wrapper'];_0x1464=function(){return _0x30b3e5;};return _0x1464();}function _0x2dd1(_0x3527e9,_0x1ddb64){const _0x146446=_0x1464();return _0x2dd1=function(_0x2dd100,_0x456ef1){_0x2dd100=_0x2dd100-0xc8;let _0x4200de=_0x146446[_0x2dd100];return _0x4200de;},_0x2dd1(_0x3527e9,_0x1ddb64);}import{icons as _0x335c2d}from'ckeditor5/src/core.js';export default class K extends _0x2301f3{constructor(_0x482f91,_0x1878e5=''){const _0xaa5a5b=_0x2dd1;super(_0x482f91),this[_0xaa5a5b(0xe8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x527df5=this[_0xaa5a5b(0xf5)];this[_0xaa5a5b(0xc8)]=new ContentFieldView(_0x482f91,_0x1878e5),this[_0xaa5a5b(0xfb)]=this[_0xaa5a5b(0x103)](),this[_0xaa5a5b(0x102)]({'tag':_0xaa5a5b(0x10b),'attributes':{'class':['ck',_0xaa5a5b(0xdb),_0x527df5['if'](_0xaa5a5b(0xef),_0xaa5a5b(0xd1),_0x1791ba=>!_0x1791ba)],'tabindex':'-1'},'children':[{'tag':_0xaa5a5b(0x10b),'attributes':{'class':['ck',_0xaa5a5b(0x10c),_0x527df5['if'](_0xaa5a5b(0x117),_0xaa5a5b(0x113))]},'children':[this[_0xaa5a5b(0xc8)],{'tag':_0xaa5a5b(0x10b),'attributes':{'class':['ck',_0xaa5a5b(0xd2)]},'children':[this[_0xaa5a5b(0xfb)]]}]}]});}[_0x2022a1(0xd7)](){const _0x4008d7=_0x2022a1;super[_0x4008d7(0xd7)](),this[_0x4008d7(0xe9)]&&this[_0x4008d7(0xc8)][_0x4008d7(0xe5)](this[_0x4008d7(0xe9)]);let _0xb5d891=!0x1;this['on'](_0x4008d7(0x110),(_0x54bbd1,_0x15bd54,_0x1d6f57)=>{const _0x19708d=_0x4008d7,_0x4b03fb=!this[_0x19708d(0xc8)][_0x19708d(0xf3)][_0x19708d(0x10d)](_0x19708d(0xeb));this[_0x19708d(0xc8)][_0x19708d(0xe5)](_0x1d6f57),this[_0x19708d(0x117)]&&_0x4b03fb&&!_0xb5d891&&this[_0x19708d(0xf3)][_0x19708d(0x104)]({'top':this[_0x19708d(0xf3)][_0x19708d(0xf4)],'behavior':_0x19708d(0xe3)});}),this['on'](_0x4008d7(0xf8),(_0x4895ab,_0x516396,_0xde06f0)=>{const _0x5ade97=_0x4008d7;_0xb5d891=!0x1,_0xde06f0?(this[_0x5ade97(0xe9)]=null,this[_0x5ade97(0xc8)][_0x5ade97(0xd5)]()):this[_0x5ade97(0xe9)]||this[_0x5ade97(0xc8)][_0x5ade97(0xe5)]('');}),this[_0x4008d7(0xcc)](this[_0x4008d7(0xf3)],_0x4008d7(0x10a),()=>{_0xb5d891=!0x0;}),this[_0x4008d7(0xcc)](this[_0x4008d7(0xf3)],_0x4008d7(0x100),()=>{_0xb5d891=!0x0;});}[_0x2022a1(0xd9)](){const _0x1ef92c=_0x2022a1;this[_0x1ef92c(0xf3)][_0x1ef92c(0xd9)]();}[_0x2022a1(0x103)](){const _0x410848=_0x2022a1,_0x4d1142=this[_0x410848(0xee)],_0x401fc9=new _0x5bd351(this[_0x410848(0xee)]),_0x80663e=_0x410848(0xea);return _0x401fc9[_0x410848(0xe8)]({'label':_0x12552f(_0x4d1142,_0x410848(0x115)),'icon':_0x7f426e,'class':_0x80663e,'tooltip':!0x0}),_0x401fc9[_0x410848(0x11c)](_0x410848(0xef))['to'](this,_0x410848(0xe9),_0x2bd03f=>!!_0x2bd03f),_0x401fc9[_0x410848(0x11c)](_0x410848(0xe6))['to'](this,_0x410848(0x117),_0x220dec=>!_0x220dec),_0x401fc9['on'](_0x410848(0xf6),()=>{const _0x3493d7=_0x410848;this[_0x3493d7(0xdf)](this[_0x3493d7(0xc8)][_0x3493d7(0xf3)]),_0x401fc9[_0x3493d7(0x114)]=_0x335c2d[_0x3493d7(0x112)],_0x401fc9[_0x3493d7(0xf2)]=_0x80663e+_0x3493d7(0x116),this[_0x3493d7(0xd9)](),setTimeout(()=>{const _0x2ec4ce=_0x3493d7;_0x401fc9[_0x2ec4ce(0x114)]=_0x7f426e,_0x401fc9[_0x2ec4ce(0xf2)]=_0x80663e;},0x3e8);}),_0x401fc9;}[_0x2022a1(0xdf)](_0x434e85){const _0x2454c5=_0x2022a1,{window:_0x5a87f2,document:_0x5831ff}=_0x45be15;if(_0x5a87f2[_0x2454c5(0xdd)]){const {Blob:_0x59ea09,ClipboardItem:_0x340230}=_0x5a87f2,_0x27d2e5=[new _0x340230({'text/html':new _0x59ea09([_0x434e85[_0x2454c5(0x101)]],{'type':_0x2454c5(0xfd)}),'text/plain':new _0x59ea09([_0x434e85[_0x2454c5(0x108)]||''],{'type':_0x2454c5(0xd8)})})];navigator[_0x2454c5(0xde)][_0x2454c5(0x105)](_0x27d2e5);}else{const _0x1c6d51=_0x5831ff[_0x2454c5(0xe7)](_0x2454c5(0x10b));_0x1c6d51[_0x2454c5(0xf0)][_0x2454c5(0x109)]=_0x2454c5(0xfe),_0x1c6d51[_0x2454c5(0xf0)][_0x2454c5(0xe4)]=_0x2454c5(0x119),_0x1c6d51[_0x2454c5(0x101)]=_0x2454c5(0xcb)+_0x434e85[_0x2454c5(0x101)]+_0x2454c5(0x10e),_0x5831ff[_0x2454c5(0xff)][_0x2454c5(0xd4)](_0x1c6d51);const _0x3e0200=_0x5831ff[_0x2454c5(0xd0)]();_0x3e0200[_0x2454c5(0xe0)](_0x1c6d51[_0x2454c5(0xf9)]),_0x3e0200[_0x2454c5(0x111)](_0x1c6d51[_0x2454c5(0x10f)]);const _0x123eae=_0x5a87f2[_0x2454c5(0xec)]();_0x123eae[_0x2454c5(0xcf)](),_0x123eae[_0x2454c5(0x107)](_0x3e0200),_0x5831ff[_0x2454c5(0x118)](_0x2454c5(0xf1)),_0x1c6d51[_0x2454c5(0x106)]();}}}export class ContentFieldView extends _0x2301f3{constructor(_0x401280,_0x1216a8=''){const _0x5b6496=_0x2022a1;super(_0x401280),this[_0x5b6496(0x11b)]=this[_0x5b6496(0xfa)](),this[_0x5b6496(0x102)]({'tag':_0x5b6496(0x10b),'attributes':{'class':['ck',_0x5b6496(0xd6),_0x1216a8,_0x5b6496(0xdc),_0x5b6496(0xe2)]}});}[_0x2022a1(0xe5)](_0x3468ae){const _0x5cc996=_0x2022a1;this[_0x5cc996(0xf3)][_0x5cc996(0x101)]=_0x3468ae;}[_0x2022a1(0xd5)](){const _0x221ff3=_0x2022a1;this[_0x221ff3(0xf3)][_0x221ff3(0xd4)](this[_0x221ff3(0x11b)][_0x221ff3(0xf3)]);}[_0x2022a1(0xfa)](){const _0x405a21=_0x2022a1,_0x3be170=new _0x2301f3(),_0x5e7bc7=this[_0x405a21(0xee)],_0x5c72db=new _0x3479c3();return _0x5c72db[_0x405a21(0xef)]=!0x0,_0x3be170[_0x405a21(0x102)]({'tag':_0x405a21(0x10b),'attributes':{'class':['ck',_0x405a21(0xca)]},'children':[_0x5c72db,{'text':_0x12552f(_0x5e7bc7,_0x405a21(0xce))}]}),_0x3be170[_0x405a21(0xd7)](),_0x3be170;}}
23
+ function _0x5de9(){const _0x1305d1=['locale','setStartAfter','copyButtonView','_copyHTMLToClipboard','<span>]</span>','text/plain','<span>[</span>','isEnabled','clipboard','1892880gXBSOc','setEndBefore','ck-ai-form__content-area--processing','.ck-ai-form__loader','appendChild','class','setContent','absolute','ck-ai-form__copy-button-wrapper','remove','8EHPEOd','execute','div','654631CnHluC','ck-ai-form__content-field','appendLoader','ck-content','querySelector','copy','element','2837036JBhhUR','_createLoader','change:value','change:isProcessing','textContent','check','832014rmXCWl','bind','ck-reset_all-excluded','write','set','icon','Copy','left','firstElementChild','createRange','3786510KkuDdH','scrollHeight','loaderView','isProcessing','ck-ai-form__copy-button','lastElementChild','isVisible','removeAllRanges','wheel','ClipboardItem','scrollTo','smooth','render','ck-hidden','contentFieldView','execCommand','bindTemplate','1531262EKLSDy','style','_createCopyButton','body','getSelection','focus','innerHTML','ck-ai-form__loader','createElement','setTemplate','addRange','12071381GAZiAD','position','value','ck-ai-form__content-area','-9999px','\x20ck-ai-form__copy-button--copied','AI\x20is\x20writing...','mousedown','listenTo','ck-ai-form__content-area-wrapper','text/html'];_0x5de9=function(){return _0x1305d1;};return _0x5de9();}const _0x19ffb2=_0x4d31;(function(_0x222173,_0x394783){const _0x2b4438=_0x4d31,_0x5738c2=_0x222173();while(!![]){try{const _0x2b4fc1=parseInt(_0x2b4438(0xd5))/0x1+parseInt(_0x2b4438(0xfd))/0x2+-parseInt(_0x2b4438(0x11c))/0x3+parseInt(_0x2b4438(0xdc))/0x4+parseInt(_0x2b4438(0xec))/0x5+-parseInt(_0x2b4438(0xe2))/0x6+-parseInt(_0x2b4438(0x108))/0x7*(parseInt(_0x2b4438(0xd2))/0x8);if(_0x2b4fc1===_0x394783)break;else _0x5738c2['push'](_0x5738c2['shift']());}catch(_0x509297){_0x5738c2['push'](_0x5738c2['shift']());}}}(_0x5de9,0x5fe07));import{global as _0x76f9e6}from'ckeditor5/src/utils.js';function _0x4d31(_0x3324d6,_0x4d03e8){const _0x5de946=_0x5de9();return _0x4d31=function(_0x4d3194,_0x230246){_0x4d3194=_0x4d3194-0xd1;let _0x231de6=_0x5de946[_0x4d3194];return _0x231de6;},_0x4d31(_0x3324d6,_0x4d03e8);}import{View as _0x24178d,ButtonView as _0x241dcb,SpinnerView as _0x1238e5}from'ckeditor5/src/ui.js';import _0x1d20b5 from'../../../theme/icons/copy.svg';import{getTranslation as _0x54371a}from'../../utils/common-translations.js';import{icons as _0x3501b4}from'ckeditor5/src/core.js';export default class K extends _0x24178d{constructor(_0x516096,_0x452d84=''){const _0xac7048=_0x4d31;super(_0x516096),this[_0xac7048(0xe6)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x53440a=this[_0xac7048(0xfc)];this[_0xac7048(0xfa)]=new ContentFieldView(_0x516096,_0x452d84),this[_0xac7048(0x115)]=this[_0xac7048(0xff)](),this[_0xac7048(0x106)]({'tag':_0xac7048(0xd4),'attributes':{'class':['ck',_0xac7048(0x111),_0x53440a['if'](_0xac7048(0xf2),_0xac7048(0xf9),_0x1e3820=>!_0x1e3820)],'tabindex':'-1'},'children':[{'tag':_0xac7048(0xd4),'attributes':{'class':['ck',_0xac7048(0x10b),_0x53440a['if'](_0xac7048(0xef),_0xac7048(0x11e))]},'children':[this[_0xac7048(0xfa)],{'tag':_0xac7048(0xd4),'attributes':{'class':['ck',_0xac7048(0x124)]},'children':[this[_0xac7048(0x115)]]}]}]});}[_0x19ffb2(0xf8)](){const _0x2c3ad1=_0x19ffb2;super[_0x2c3ad1(0xf8)](),this[_0x2c3ad1(0x10a)]&&this[_0x2c3ad1(0xfa)][_0x2c3ad1(0x122)](this[_0x2c3ad1(0x10a)]);let _0x236ed6=!0x1;this['on'](_0x2c3ad1(0xde),(_0x1acf2b,_0x2b5e07,_0x498057)=>{const _0x3f46c8=_0x2c3ad1,_0x4d3b40=!this[_0x3f46c8(0xfa)][_0x3f46c8(0xdb)][_0x3f46c8(0xd9)](_0x3f46c8(0x11f));this[_0x3f46c8(0xfa)][_0x3f46c8(0x122)](_0x498057),this[_0x3f46c8(0xef)]&&_0x4d3b40&&!_0x236ed6&&this[_0x3f46c8(0xdb)][_0x3f46c8(0xf6)]({'top':this[_0x3f46c8(0xdb)][_0x3f46c8(0xed)],'behavior':_0x3f46c8(0xf7)});}),this['on'](_0x2c3ad1(0xdf),(_0x4af931,_0x6bd6b4,_0x20c371)=>{const _0x58931e=_0x2c3ad1;_0x236ed6=!0x1,_0x20c371?(this[_0x58931e(0x10a)]=null,this[_0x58931e(0xfa)][_0x58931e(0xd7)]()):this[_0x58931e(0x10a)]||this[_0x58931e(0xfa)][_0x58931e(0x122)]('');}),this[_0x2c3ad1(0x110)](this[_0x2c3ad1(0xdb)],_0x2c3ad1(0xf4),()=>{_0x236ed6=!0x0;}),this[_0x2c3ad1(0x110)](this[_0x2c3ad1(0xdb)],_0x2c3ad1(0x10f),()=>{_0x236ed6=!0x0;});}[_0x19ffb2(0x102)](){const _0xfae937=_0x19ffb2;this[_0xfae937(0xdb)][_0xfae937(0x102)]();}[_0x19ffb2(0xff)](){const _0x514749=_0x19ffb2,_0x544db4=this[_0x514749(0x113)],_0x29bad2=new _0x241dcb(this[_0x514749(0x113)]),_0x49d16c=_0x514749(0xf0);return _0x29bad2[_0x514749(0xe6)]({'label':_0x54371a(_0x544db4,_0x514749(0xe8)),'icon':_0x1d20b5,'class':_0x49d16c,'tooltip':!0x0}),_0x29bad2[_0x514749(0xe3)](_0x514749(0xf2))['to'](this,_0x514749(0x10a),_0x315465=>!!_0x315465),_0x29bad2[_0x514749(0xe3)](_0x514749(0x11a))['to'](this,_0x514749(0xef),_0xc5f676=>!_0xc5f676),_0x29bad2['on'](_0x514749(0xd3),()=>{const _0x4c09ee=_0x514749;this[_0x4c09ee(0x116)](this[_0x4c09ee(0xfa)][_0x4c09ee(0xdb)]),_0x29bad2[_0x4c09ee(0xe7)]=_0x3501b4[_0x4c09ee(0xe1)],_0x29bad2[_0x4c09ee(0x121)]=_0x49d16c+_0x4c09ee(0x10d),this[_0x4c09ee(0x102)](),setTimeout(()=>{const _0x369b7f=_0x4c09ee;_0x29bad2[_0x369b7f(0xe7)]=_0x1d20b5,_0x29bad2[_0x369b7f(0x121)]=_0x49d16c;},0x3e8);}),_0x29bad2;}[_0x19ffb2(0x116)](_0x511791){const _0x2af778=_0x19ffb2,{window:_0x1270bf,document:_0x291d5a}=_0x76f9e6;if(_0x1270bf[_0x2af778(0xf5)]){const {Blob:_0x33c1d7,ClipboardItem:_0x520756}=_0x1270bf,_0xc72db4=[new _0x520756({'text/html':new _0x33c1d7([_0x511791[_0x2af778(0x103)]],{'type':_0x2af778(0x112)}),'text/plain':new _0x33c1d7([_0x511791[_0x2af778(0xe0)]||''],{'type':_0x2af778(0x118)})})];navigator[_0x2af778(0x11b)][_0x2af778(0xe5)](_0xc72db4);}else{const _0x429dd8=_0x291d5a[_0x2af778(0x105)](_0x2af778(0xd4));_0x429dd8[_0x2af778(0xfe)][_0x2af778(0x109)]=_0x2af778(0x123),_0x429dd8[_0x2af778(0xfe)][_0x2af778(0xe9)]=_0x2af778(0x10c),_0x429dd8[_0x2af778(0x103)]=_0x2af778(0x119)+_0x511791[_0x2af778(0x103)]+_0x2af778(0x117),_0x291d5a[_0x2af778(0x100)][_0x2af778(0x120)](_0x429dd8);const _0x4b195f=_0x291d5a[_0x2af778(0xeb)]();_0x4b195f[_0x2af778(0x114)](_0x429dd8[_0x2af778(0xea)]),_0x4b195f[_0x2af778(0x11d)](_0x429dd8[_0x2af778(0xf1)]);const _0x1f5574=_0x1270bf[_0x2af778(0x101)]();_0x1f5574[_0x2af778(0xf3)](),_0x1f5574[_0x2af778(0x107)](_0x4b195f),_0x291d5a[_0x2af778(0xfb)](_0x2af778(0xda)),_0x429dd8[_0x2af778(0xd1)]();}}}export class ContentFieldView extends _0x24178d{constructor(_0x45c643,_0x44f7e2=''){const _0x5b07f6=_0x19ffb2;super(_0x45c643),this[_0x5b07f6(0xee)]=this[_0x5b07f6(0xdd)](),this[_0x5b07f6(0x106)]({'tag':_0x5b07f6(0xd4),'attributes':{'class':['ck',_0x5b07f6(0xd8),_0x44f7e2,_0x5b07f6(0xe4),_0x5b07f6(0xd6)]}});}[_0x19ffb2(0x122)](_0x13420d){const _0x342af4=_0x19ffb2;this[_0x342af4(0xdb)][_0x342af4(0x103)]=_0x13420d;}[_0x19ffb2(0xd7)](){const _0x1e39d4=_0x19ffb2;this[_0x1e39d4(0xdb)][_0x1e39d4(0x120)](this[_0x1e39d4(0xee)][_0x1e39d4(0xdb)]);}[_0x19ffb2(0xdd)](){const _0x87d5ab=_0x19ffb2,_0x3b86d7=new _0x24178d(),_0x212161=this[_0x87d5ab(0x113)],_0x5e500d=new _0x1238e5();return _0x5e500d[_0x87d5ab(0xf2)]=!0x0,_0x3b86d7[_0x87d5ab(0x106)]({'tag':_0x87d5ab(0xd4),'attributes':{'class':['ck',_0x87d5ab(0x104)]},'children':[_0x5e500d,{'text':_0x54371a(_0x212161,_0x87d5ab(0x10e))}]}),_0x3b86d7[_0x87d5ab(0xf8)](),_0x3b86d7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x20ba65,_0x3ca8e7){const _0x383068=_0x88e3,_0x1ebfe7=_0x20ba65();while(!![]){try{const _0x87ee9f=-parseInt(_0x383068(0x167))/0x1*(parseInt(_0x383068(0x15c))/0x2)+-parseInt(_0x383068(0x163))/0x3*(-parseInt(_0x383068(0x161))/0x4)+-parseInt(_0x383068(0x168))/0x5*(-parseInt(_0x383068(0x15f))/0x6)+parseInt(_0x383068(0x15d))/0x7+parseInt(_0x383068(0x162))/0x8*(parseInt(_0x383068(0x164))/0x9)+-parseInt(_0x383068(0x169))/0xa*(-parseInt(_0x383068(0x157))/0xb)+parseInt(_0x383068(0x15b))/0xc;if(_0x87ee9f===_0x3ca8e7)break;else _0x1ebfe7['push'](_0x1ebfe7['shift']());}catch(_0x1653f0){_0x1ebfe7['push'](_0x1ebfe7['shift']());}}}(_0x3d1a,0xce04d));import{View as _0x24b1e0,IconView as _0x3b5188}from'ckeditor5/src/ui.js';import _0x58f695 from'../../../theme/icons/error.svg';export default class Y extends _0x24b1e0{constructor(_0x1e6aa2,_0x13f459=''){const _0x1baed3=_0x88e3;super(_0x1e6aa2);const _0xf9561b=new _0x3b5188(),_0x208a49=this[_0x1baed3(0x15e)];this[_0x1baed3(0x160)](_0x1baed3(0x158),_0x13f459),_0xf9561b[_0x1baed3(0x159)]=_0x58f695,this[_0x1baed3(0x166)]({'tag':_0x1baed3(0x15a),'attributes':{'class':['ck',_0x1baed3(0x165)]},'children':[_0xf9561b,{'text':_0x208a49['to'](_0x1baed3(0x158))}]});}}function _0x88e3(_0x2ee9d5,_0x586ffa){const _0x3d1ac3=_0x3d1a();return _0x88e3=function(_0x88e3a0,_0x4544c1){_0x88e3a0=_0x88e3a0-0x157;let _0x3e56c9=_0x3d1ac3[_0x88e3a0];return _0x3e56c9;},_0x88e3(_0x2ee9d5,_0x586ffa);}function _0x3d1a(){const _0x125bef=['520345dEZJRz','bindTemplate','59562YnPZZr','set','4FZgotZ','328FcrzDt','1532379cjwTCL','149949TMqgGz','ck-ai-form__error','setTemplate','770046LIwYto','135Gyjjpl','90WTmAcy','80520JguLip','text','content','div','141132PVjvQK','2FTAKxu'];_0x3d1a=function(){return _0x125bef;};return _0x3d1a();}
23
+ (function(_0x47b677,_0x3ca58b){const _0x282fd7=_0x1611,_0x224cd0=_0x47b677();while(!![]){try{const _0x3feea5=parseInt(_0x282fd7(0xc2))/0x1+parseInt(_0x282fd7(0xc3))/0x2*(parseInt(_0x282fd7(0xc1))/0x3)+parseInt(_0x282fd7(0xc5))/0x4*(parseInt(_0x282fd7(0xc0))/0x5)+-parseInt(_0x282fd7(0xb9))/0x6*(parseInt(_0x282fd7(0xbc))/0x7)+parseInt(_0x282fd7(0xb6))/0x8+-parseInt(_0x282fd7(0xb5))/0x9*(parseInt(_0x282fd7(0xb8))/0xa)+-parseInt(_0x282fd7(0xbb))/0xb*(parseInt(_0x282fd7(0xb3))/0xc);if(_0x3feea5===_0x3ca58b)break;else _0x224cd0['push'](_0x224cd0['shift']());}catch(_0x247057){_0x224cd0['push'](_0x224cd0['shift']());}}}(_0x1b06,0xa8a6a));function _0x1b06(){const _0x2d17f0=['3NgwIxc','772405YyjoxA','1947038ZrKuUo','bindTemplate','776188XjStto','21361836trtyWa','content','9538533nIbZMv','6422080FSmhzG','setTemplate','10NgzsDs','426bamEDW','text','11HkVNUC','37093xXaKEk','set','ck-ai-form__error','div','35bwNMGv'];_0x1b06=function(){return _0x2d17f0;};return _0x1b06();}import{View as _0xb7d7fa,IconView as _0x52adf5}from'ckeditor5/src/ui.js';function _0x1611(_0x2f87ac,_0x1e8c94){const _0x1b06cd=_0x1b06();return _0x1611=function(_0x161124,_0x365372){_0x161124=_0x161124-0xb3;let _0x237932=_0x1b06cd[_0x161124];return _0x237932;},_0x1611(_0x2f87ac,_0x1e8c94);}import _0x35a8f9 from'../../../theme/icons/error.svg';export default class Y extends _0xb7d7fa{constructor(_0x2411d1,_0x249cd4=''){const _0x1d11a6=_0x1611;super(_0x2411d1);const _0x11580a=new _0x52adf5(),_0x30c8f7=this[_0x1d11a6(0xc4)];this[_0x1d11a6(0xbd)](_0x1d11a6(0xba),_0x249cd4),_0x11580a[_0x1d11a6(0xb4)]=_0x35a8f9,this[_0x1d11a6(0xb7)]({'tag':_0x1d11a6(0xbf),'attributes':{'class':['ck',_0x1d11a6(0xbe)]},'children':[_0x11580a,{'text':_0x30c8f7['to'](_0x1d11a6(0xba))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43d985=_0x3ef9;(function(_0x1c6942,_0x1319d3){const _0x46bb58=_0x3ef9,_0x4c54c6=_0x1c6942();while(!![]){try{const _0x147d1e=parseInt(_0x46bb58(0x10d))/0x1*(-parseInt(_0x46bb58(0xfd))/0x2)+parseInt(_0x46bb58(0x11e))/0x3*(parseInt(_0x46bb58(0x136))/0x4)+-parseInt(_0x46bb58(0xfc))/0x5*(parseInt(_0x46bb58(0x114))/0x6)+parseInt(_0x46bb58(0x11a))/0x7*(parseInt(_0x46bb58(0x102))/0x8)+-parseInt(_0x46bb58(0x10e))/0x9*(-parseInt(_0x46bb58(0x111))/0xa)+parseInt(_0x46bb58(0x134))/0xb*(-parseInt(_0x46bb58(0x11c))/0xc)+parseInt(_0x46bb58(0x12d))/0xd;if(_0x147d1e===_0x1319d3)break;else _0x4c54c6['push'](_0x4c54c6['shift']());}catch(_0x551fba){_0x4c54c6['push'](_0x4c54c6['shift']());}}}(_0x5589,0x66bf1));import{Rect as _0x26438c,global as _0xe34e81,isVisible as _0x691f7f}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3b8d9b,ButtonView as _0x167543}from'ckeditor5/src/ui.js';import{icons as _0x4b2d57}from'ckeditor5/src/core.js';import{getTranslation as _0x546866}from'../../utils/common-translations.js';function _0x3ef9(_0x533124,_0x54d29e){const _0x5589c2=_0x5589();return _0x3ef9=function(_0x3ef9d0,_0x3eed78){_0x3ef9d0=_0x3ef9d0-0xfb;let _0x49b5d6=_0x5589c2[_0x3ef9d0];return _0x49b5d6;},_0x3ef9(_0x533124,_0x54d29e);}function _0x5589(){const _0x98d21=['style','2663804uMIZVe','execute','4528tLAaqM','locale','rtl','resultsView','35aoiEBN','4xtuxCe','submitButtonView','right','fire','_createShowHistoryButton','2994664SevXuS','bind','focusCycler','History','value','_createSubmitButton','showHistoryButtonView','fieldView','enter','excludeScrollbarsAndBorders','history','242120XbzDsd','436347uBYnjU','keystrokes','width','60baHKTb','window','isEnabled','30246ptUxrj','uiLanguageDirection','focusFirst','children','left','filteredView','7nvTtCU','maxRows','36MiCCan','focusLast','1983TXxsRu','ck-ai-form__toggle-history','ck-ai-form__submit','focus','target','requestAnimationFrame','add','Submit','isOn','minRows','element','fieldWrapperChildren','set','focusableChildren','isVisible','3294005flFpTo','queryView','update','render','isEmpty','submit'];_0x5589=function(){return _0x98d21;};return _0x5589();}import _0x395a8c from'../../../theme/icons/submit.svg';export default class ot extends _0x3b8d9b{constructor(_0x41416d,_0x1e1341){const _0x8ee0ac=_0x3ef9;super(_0x41416d,_0x1e1341),this[_0x8ee0ac(0x12e)][_0x8ee0ac(0x109)][_0x8ee0ac(0x127)]=0x1,this[_0x8ee0ac(0x12e)][_0x8ee0ac(0x109)][_0x8ee0ac(0x11b)]=0x3,this[_0x8ee0ac(0xfe)]=this[_0x8ee0ac(0x107)](),this[_0x8ee0ac(0x108)]=this[_0x8ee0ac(0x101)](),this[_0x8ee0ac(0x12b)][_0x8ee0ac(0x124)](this[_0x8ee0ac(0x108)],0x1),this[_0x8ee0ac(0x12b)][_0x8ee0ac(0x124)](this[_0x8ee0ac(0xfe)]);}[_0x43d985(0x130)](){const _0xb18048=_0x43d985;super[_0xb18048(0x130)](),this[_0xb18048(0x12e)][_0xb18048(0x129)][_0xb18048(0x124)](this[_0xb18048(0x108)]),this[_0xb18048(0x117)][_0xb18048(0x124)](this[_0xb18048(0xfe)]),this[_0xb18048(0x10f)][_0xb18048(0x12a)](_0xb18048(0x10a),(_0x8c63c4,_0xad473)=>{const _0x36eae9=_0xb18048;_0x8c63c4[_0x36eae9(0x122)]==this[_0x36eae9(0x12e)][_0x36eae9(0x109)][_0x36eae9(0x128)]&&(this[_0x36eae9(0x132)](),_0xad473());});}[_0x43d985(0x107)](){const _0x2e5231=_0x43d985,_0x126e3=new _0x167543(this[_0x2e5231(0x137)]),_0x5b04ca=this[_0x2e5231(0x137)];return _0x126e3[_0x2e5231(0x12a)]({'icon':_0x395a8c,'label':_0x546866(_0x5b04ca,_0x2e5231(0x125)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2e5231(0x120)}),_0x126e3['on'](_0x2e5231(0x135),()=>{const _0x35f32c=_0x2e5231;this[_0x35f32c(0x132)]();}),_0x126e3[_0x2e5231(0x103)](_0x2e5231(0x113))['to'](this[_0x2e5231(0x12e)][_0x2e5231(0x109)],_0x2e5231(0x131),this,_0x2e5231(0x113),(_0x40b9eb,_0x5da3b3)=>!_0x40b9eb&&_0x5da3b3),_0x126e3;}[_0x43d985(0x101)](){const _0x49f97b=_0x43d985,_0x5752af=new _0x167543(this[_0x49f97b(0x137)]),_0x26b1e0=this[_0x49f97b(0xfb)],_0x28a858=this[_0x49f97b(0x137)];_0x5752af[_0x49f97b(0x12a)]({'label':_0x546866(_0x28a858,_0x49f97b(0x105)),'withText':!0x1,'icon':_0x4b2d57[_0x49f97b(0x10c)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x49f97b(0x11f)}),_0x5752af[_0x49f97b(0x103)](_0x49f97b(0x126))['to'](_0x26b1e0,_0x49f97b(0x12c)),_0x5752af[_0x49f97b(0x103)](_0x49f97b(0x113))['to'](this,_0x49f97b(0x113)),_0x5752af['on'](_0x49f97b(0x135),()=>{const _0x482dc0=_0x49f97b;_0x26b1e0[_0x482dc0(0x12c)]=!_0x26b1e0[_0x482dc0(0x12c)],_0x26b1e0[_0x482dc0(0x12c)]?this[_0x482dc0(0x119)][_0x482dc0(0x121)]():this[_0x482dc0(0x121)]();});const _0xd47986=()=>{const _0x4a57d7=_0x49f97b;_0xe34e81[_0x4a57d7(0x112)][_0x4a57d7(0x123)](()=>{const _0x5c8e08=_0x4a57d7;if(_0x691f7f(this[_0x5c8e08(0x128)])){const _0x36213=new _0x26438c(this[_0x5c8e08(0x12e)][_0x5c8e08(0x109)][_0x5c8e08(0x128)]),_0xa772c1=_0x36213[_0x5c8e08(0x110)],_0x1d4d6e=_0x5c8e08(0x138)===_0x28a858[_0x5c8e08(0x115)]?_0x5c8e08(0x118):_0x5c8e08(0xff);_0x36213[_0x5c8e08(0x10b)](),_0x5752af[_0x5c8e08(0x128)][_0x5c8e08(0x133)][_0x1d4d6e]=_0xa772c1-_0x36213[_0x5c8e08(0x110)]+0x1+'px';}});};return this[_0x49f97b(0x12e)][_0x49f97b(0x109)]['on'](_0x49f97b(0x12f),_0xd47986),this['on'](_0x49f97b(0x130),_0xd47986),_0x5752af;}[_0x43d985(0x132)](){const _0x556dbf=_0x43d985,_0x68d996=this[_0x556dbf(0x12e)][_0x556dbf(0x109)][_0x556dbf(0x128)][_0x556dbf(0x106)];this[_0x556dbf(0x100)](_0x556dbf(0x132),_0x68d996);}[_0x43d985(0x121)](_0x589309){const _0x2640b5=_0x43d985;-0x1===_0x589309?this[_0x2640b5(0x104)][_0x2640b5(0x11d)]():this[_0x2640b5(0x104)][_0x2640b5(0x116)]();}}
23
+ const _0x50ec84=_0x2410;(function(_0x22b7bc,_0xcb029d){const _0x1a08f5=_0x2410,_0x4bbec3=_0x22b7bc();while(!![]){try{const _0x27f2c8=parseInt(_0x1a08f5(0x10f))/0x1*(-parseInt(_0x1a08f5(0x13c))/0x2)+-parseInt(_0x1a08f5(0x126))/0x3+-parseInt(_0x1a08f5(0x13a))/0x4*(parseInt(_0x1a08f5(0x140))/0x5)+parseInt(_0x1a08f5(0x136))/0x6+parseInt(_0x1a08f5(0x124))/0x7*(-parseInt(_0x1a08f5(0x116))/0x8)+-parseInt(_0x1a08f5(0x127))/0x9*(-parseInt(_0x1a08f5(0x119))/0xa)+-parseInt(_0x1a08f5(0x138))/0xb*(-parseInt(_0x1a08f5(0x12b))/0xc);if(_0x27f2c8===_0xcb029d)break;else _0x4bbec3['push'](_0x4bbec3['shift']());}catch(_0x24be35){_0x4bbec3['push'](_0x4bbec3['shift']());}}}(_0x24a4,0xe245e));import{Rect as _0x291c65,global as _0x1a1d1a,isVisible as _0x46806c}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x300002,ButtonView as _0x33c74b}from'ckeditor5/src/ui.js';function _0x24a4(){const _0x2804d9=['388644CrpuWV','54hnTAMm','enter','maxRows','focus','1128sbfPxs','History','locale','_createShowHistoryButton','queryView','focusLast','width','update','fire','excludeScrollbarsAndBorders','resultsView','7228692ZsBJsS','filteredView','95920ALOVpe','isOn','6060488lDUUJc','requestAnimationFrame','2AZAKzj','right','focusableChildren','rtl','5niGDui','isEnabled','submit','target','left','value','ck-ai-form__submit','keystrokes','history','minRows','submitButtonView','window','6631cEaXsg','focusFirst','element','uiLanguageDirection','style','isEmpty','fieldView','3814680veryUS','fieldWrapperChildren','children','1717480ARXlfj','focusCycler','isVisible','showHistoryButtonView','set','ck-ai-form__toggle-history','bind','add','_createSubmitButton','Submit','execute','7zsYalt','render'];_0x24a4=function(){return _0x2804d9;};return _0x24a4();}import{icons as _0x54fd48}from'ckeditor5/src/core.js';function _0x2410(_0x1b3491,_0x45e10d){const _0x24a4a7=_0x24a4();return _0x2410=function(_0x2410eb,_0x25769a){_0x2410eb=_0x2410eb-0x10c;let _0x266080=_0x24a4a7[_0x2410eb];return _0x266080;},_0x2410(_0x1b3491,_0x45e10d);}import{getTranslation as _0x3008a2}from'../../utils/common-translations.js';import _0x47ae03 from'../../../theme/icons/submit.svg';export default class ot extends _0x300002{constructor(_0xb1dc39,_0x2006c4){const _0x202ae1=_0x2410;super(_0xb1dc39,_0x2006c4),this[_0x202ae1(0x12f)][_0x202ae1(0x115)][_0x202ae1(0x10c)]=0x1,this[_0x202ae1(0x12f)][_0x202ae1(0x115)][_0x202ae1(0x129)]=0x3,this[_0x202ae1(0x10d)]=this[_0x202ae1(0x121)](),this[_0x202ae1(0x11c)]=this[_0x202ae1(0x12e)](),this[_0x202ae1(0x13e)][_0x202ae1(0x120)](this[_0x202ae1(0x11c)],0x1),this[_0x202ae1(0x13e)][_0x202ae1(0x120)](this[_0x202ae1(0x10d)]);}[_0x50ec84(0x125)](){const _0x24c8b2=_0x50ec84;super[_0x24c8b2(0x125)](),this[_0x24c8b2(0x12f)][_0x24c8b2(0x117)][_0x24c8b2(0x120)](this[_0x24c8b2(0x11c)]),this[_0x24c8b2(0x118)][_0x24c8b2(0x120)](this[_0x24c8b2(0x10d)]),this[_0x24c8b2(0x147)][_0x24c8b2(0x11d)](_0x24c8b2(0x128),(_0x40e32d,_0x405ed5)=>{const _0x1ce242=_0x24c8b2;_0x40e32d[_0x1ce242(0x143)]==this[_0x1ce242(0x12f)][_0x1ce242(0x115)][_0x1ce242(0x111)]&&(this[_0x1ce242(0x142)](),_0x405ed5());});}[_0x50ec84(0x121)](){const _0x49f9c8=_0x50ec84,_0x2e67c8=new _0x33c74b(this[_0x49f9c8(0x12d)]),_0xdf8620=this[_0x49f9c8(0x12d)];return _0x2e67c8[_0x49f9c8(0x11d)]({'icon':_0x47ae03,'label':_0x3008a2(_0xdf8620,_0x49f9c8(0x122)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x49f9c8(0x146)}),_0x2e67c8['on'](_0x49f9c8(0x123),()=>{const _0x2f81b4=_0x49f9c8;this[_0x2f81b4(0x142)]();}),_0x2e67c8[_0x49f9c8(0x11f)](_0x49f9c8(0x141))['to'](this[_0x49f9c8(0x12f)][_0x49f9c8(0x115)],_0x49f9c8(0x114),this,_0x49f9c8(0x141),(_0x3c9a03,_0x188e64)=>!_0x3c9a03&&_0x188e64),_0x2e67c8;}[_0x50ec84(0x12e)](){const _0x45345e=_0x50ec84,_0x4141e0=new _0x33c74b(this[_0x45345e(0x12d)]),_0x5a7a61=this[_0x45345e(0x135)],_0xed4a0a=this[_0x45345e(0x12d)];_0x4141e0[_0x45345e(0x11d)]({'label':_0x3008a2(_0xed4a0a,_0x45345e(0x12c)),'withText':!0x1,'icon':_0x54fd48[_0x45345e(0x148)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x45345e(0x11e)}),_0x4141e0[_0x45345e(0x11f)](_0x45345e(0x139))['to'](_0x5a7a61,_0x45345e(0x11b)),_0x4141e0[_0x45345e(0x11f)](_0x45345e(0x141))['to'](this,_0x45345e(0x141)),_0x4141e0['on'](_0x45345e(0x123),()=>{const _0x36aadd=_0x45345e;_0x5a7a61[_0x36aadd(0x11b)]=!_0x5a7a61[_0x36aadd(0x11b)],_0x5a7a61[_0x36aadd(0x11b)]?this[_0x36aadd(0x137)][_0x36aadd(0x12a)]():this[_0x36aadd(0x12a)]();});const _0x1e7b3d=()=>{const _0x16cdac=_0x45345e;_0x1a1d1a[_0x16cdac(0x10e)][_0x16cdac(0x13b)](()=>{const _0x653de9=_0x16cdac;if(_0x46806c(this[_0x653de9(0x111)])){const _0x587015=new _0x291c65(this[_0x653de9(0x12f)][_0x653de9(0x115)][_0x653de9(0x111)]),_0x342746=_0x587015[_0x653de9(0x131)],_0x50a93d=_0x653de9(0x13f)===_0xed4a0a[_0x653de9(0x112)]?_0x653de9(0x144):_0x653de9(0x13d);_0x587015[_0x653de9(0x134)](),_0x4141e0[_0x653de9(0x111)][_0x653de9(0x113)][_0x50a93d]=_0x342746-_0x587015[_0x653de9(0x131)]+0x1+'px';}});};return this[_0x45345e(0x12f)][_0x45345e(0x115)]['on'](_0x45345e(0x132),_0x1e7b3d),this['on'](_0x45345e(0x125),_0x1e7b3d),_0x4141e0;}[_0x50ec84(0x142)](){const _0x17a40d=_0x50ec84,_0x35f393=this[_0x17a40d(0x12f)][_0x17a40d(0x115)][_0x17a40d(0x111)][_0x17a40d(0x145)];this[_0x17a40d(0x133)](_0x17a40d(0x142),_0x35f393);}[_0x50ec84(0x12a)](_0xe8dad1){const _0x2c13cf=_0x50ec84;-0x1===_0xe8dad1?this[_0x2c13cf(0x11a)][_0x2c13cf(0x130)]():this[_0x2c13cf(0x11a)][_0x2c13cf(0x110)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b8e5c=_0x45dc;(function(_0x18f411,_0x1c31ec){const _0x53a7ab=_0x45dc,_0x4d2c50=_0x18f411();while(!![]){try{const _0xd3f8ce=-parseInt(_0x53a7ab(0x1b9))/0x1+-parseInt(_0x53a7ab(0x1bd))/0x2*(-parseInt(_0x53a7ab(0x1b2))/0x3)+-parseInt(_0x53a7ab(0x1c0))/0x4+parseInt(_0x53a7ab(0x1ab))/0x5+parseInt(_0x53a7ab(0x1be))/0x6+parseInt(_0x53a7ab(0x1ce))/0x7*(-parseInt(_0x53a7ab(0x1ba))/0x8)+parseInt(_0x53a7ab(0x1ae))/0x9*(parseInt(_0x53a7ab(0x1ad))/0xa);if(_0xd3f8ce===_0x1c31ec)break;else _0x4d2c50['push'](_0x4d2c50['shift']());}catch(_0x1b15b9){_0x4d2c50['push'](_0x4d2c50['shift']());}}}(_0x40b4,0x54cb3));import{ToolbarView as _0x1c56b5,ButtonView as _0x34488d}from'ckeditor5/src/ui.js';import{getTranslation as _0x16afbc}from'../../utils/common-translations.js';function _0x45dc(_0x4cfe62,_0x379a5f){const _0x40b479=_0x40b4();return _0x45dc=function(_0x45dcbf,_0x146377){_0x45dcbf=_0x45dcbf-0x1aa;let _0x2b80ef=_0x40b479[_0x45dcbf];return _0x2b80ef;},_0x45dc(_0x4cfe62,_0x379a5f);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5b8e5c(0x1cc),'INSERT':_0x5b8e5c(0x1cb)};function _0x40b4(){const _0x4641f4=['10BrRYTL','5259699eNqgwO','AI_','isVisible','Try\x20again','591DktPUo','toUpperCase','items','ck-button-action','Insert\x20below','insertButton','Stop','416100CVrTXA','331000XsBMMv','bindTemplate','REPLACE','3446okxkTM','1733688PHTnxi','locale','2618604TLgiJQ','_CONTENT','label','_createButton','ck-ai-form__toolbar','extendTemplate','bind','addMany','tryAgainButton','replaceButton','set','insert','replace','stopButton','7ZTiesw','mainAction','1233255bGCXED','ck-hidden'];_0x40b4=function(){return _0x4641f4;};return _0x40b4();}export default class rt extends _0x1c56b5{constructor(_0x27045f){const _0x305d08=_0x5b8e5c;super(_0x27045f),this[_0x305d08(0x1ca)](_0x305d08(0x1b0),!0x1),this[_0x305d08(0x1ca)](_0x305d08(0x1aa),AIFormToolbarViewMainActionLabel[_0x305d08(0x1bc)]),this[_0x305d08(0x1c9)]=this[_0x305d08(0x1c3)]('',_0x305d08(0x1b5)),this[_0x305d08(0x1c9)][_0x305d08(0x1c6)](_0x305d08(0x1c2))['to'](this,_0x305d08(0x1aa),_0xbf32e5=>_0x16afbc(_0x27045f,_0x305d08(0x1af)+_0xbf32e5[_0x305d08(0x1b3)]()+_0x305d08(0x1c1))),this[_0x305d08(0x1b7)]=this[_0x305d08(0x1c3)](_0x16afbc(_0x27045f,_0x305d08(0x1b6))),this[_0x305d08(0x1c8)]=this[_0x305d08(0x1c3)](_0x16afbc(_0x27045f,_0x305d08(0x1b1))),this[_0x305d08(0x1cd)]=this[_0x305d08(0x1c3)](_0x16afbc(_0x27045f,_0x305d08(0x1b8)));const _0x57a367=this[_0x305d08(0x1bb)];this[_0x305d08(0x1c5)]({'attributes':{'class':[_0x305d08(0x1c4),_0x57a367['if'](_0x305d08(0x1b0),_0x305d08(0x1ac),_0x527717=>!_0x527717)]}}),this[_0x305d08(0x1b4)][_0x305d08(0x1c7)]([this[_0x305d08(0x1c9)],this[_0x305d08(0x1b7)],this[_0x305d08(0x1c8)],this[_0x305d08(0x1cd)]]);}[_0x5b8e5c(0x1c3)](_0x1b71df,_0x2501d1){const _0x3e862d=_0x5b8e5c,_0x1dcf1f=new _0x34488d(this[_0x3e862d(0x1bf)]);return _0x1dcf1f[_0x3e862d(0x1ca)]({'label':_0x1b71df,'class':_0x2501d1||'','isVisible':!0x0,'withText':!0x0}),_0x1dcf1f;}}
23
+ const _0x128fa5=_0x49ba;(function(_0x6728b6,_0x437690){const _0x1fa449=_0x49ba,_0x1cadc1=_0x6728b6();while(!![]){try{const _0x1a008a=-parseInt(_0x1fa449(0x1be))/0x1+parseInt(_0x1fa449(0x1bf))/0x2*(-parseInt(_0x1fa449(0x1a4))/0x3)+-parseInt(_0x1fa449(0x19f))/0x4+-parseInt(_0x1fa449(0x1a9))/0x5+-parseInt(_0x1fa449(0x1b2))/0x6+parseInt(_0x1fa449(0x1b6))/0x7*(-parseInt(_0x1fa449(0x1a5))/0x8)+parseInt(_0x1fa449(0x19e))/0x9;if(_0x1a008a===_0x437690)break;else _0x1cadc1['push'](_0x1cadc1['shift']());}catch(_0x281390){_0x1cadc1['push'](_0x1cadc1['shift']());}}}(_0x5139,0x34313));function _0x49ba(_0x5526e1,_0x422149){const _0x513997=_0x5139();return _0x49ba=function(_0x49ba24,_0x4dec6d){_0x49ba24=_0x49ba24-0x19d;let _0x50dc01=_0x513997[_0x49ba24];return _0x50dc01;},_0x49ba(_0x5526e1,_0x422149);}import{ToolbarView as _0x48b762,ButtonView as _0x345eda}from'ckeditor5/src/ui.js';import{getTranslation as _0x56e8cf}from'../../utils/common-translations.js';function _0x5139(){const _0x64c8f7=['stopButton','_createButton','insertButton','246935ypEWph','11574ytDyEO','_CONTENT','ck-hidden','13012092HYgdXn','1375116QXkeAi','items','label','insert','toUpperCase','12oqntdq','2263520lVaeeJ','extendTemplate','Stop','locale','89855yMNOzK','Try\x20again','replace','replaceButton','set','mainAction','REPLACE','AI_','bindTemplate','1903416XvaDad','bind','tryAgainButton','addMany','7FvENNQ','isVisible','ck-button-action','Insert\x20below','ck-ai-form__toolbar'];_0x5139=function(){return _0x64c8f7;};return _0x5139();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x128fa5(0x1ab),'INSERT':_0x128fa5(0x1a2)};export default class rt extends _0x48b762{constructor(_0x5a25c2){const _0x4e59df=_0x128fa5;super(_0x5a25c2),this[_0x4e59df(0x1ad)](_0x4e59df(0x1b7),!0x1),this[_0x4e59df(0x1ad)](_0x4e59df(0x1ae),AIFormToolbarViewMainActionLabel[_0x4e59df(0x1af)]),this[_0x4e59df(0x1ac)]=this[_0x4e59df(0x1bc)]('',_0x4e59df(0x1b8)),this[_0x4e59df(0x1ac)][_0x4e59df(0x1b3)](_0x4e59df(0x1a1))['to'](this,_0x4e59df(0x1ae),_0x524b23=>_0x56e8cf(_0x5a25c2,_0x4e59df(0x1b0)+_0x524b23[_0x4e59df(0x1a3)]()+_0x4e59df(0x1c0))),this[_0x4e59df(0x1bd)]=this[_0x4e59df(0x1bc)](_0x56e8cf(_0x5a25c2,_0x4e59df(0x1b9))),this[_0x4e59df(0x1b4)]=this[_0x4e59df(0x1bc)](_0x56e8cf(_0x5a25c2,_0x4e59df(0x1aa))),this[_0x4e59df(0x1bb)]=this[_0x4e59df(0x1bc)](_0x56e8cf(_0x5a25c2,_0x4e59df(0x1a7)));const _0x135d88=this[_0x4e59df(0x1b1)];this[_0x4e59df(0x1a6)]({'attributes':{'class':[_0x4e59df(0x1ba),_0x135d88['if'](_0x4e59df(0x1b7),_0x4e59df(0x19d),_0x1a8bfd=>!_0x1a8bfd)]}}),this[_0x4e59df(0x1a0)][_0x4e59df(0x1b5)]([this[_0x4e59df(0x1ac)],this[_0x4e59df(0x1bd)],this[_0x4e59df(0x1b4)],this[_0x4e59df(0x1bb)]]);}[_0x128fa5(0x1bc)](_0xf0e529,_0x34a1f6){const _0x53ab38=_0x128fa5,_0x596b07=new _0x345eda(this[_0x53ab38(0x1a8)]);return _0x596b07[_0x53ab38(0x1ad)]({'label':_0xf0e529,'class':_0x34a1f6||'','isVisible':!0x0,'withText':!0x0}),_0x596b07;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17f88a=_0x18f1;(function(_0x337ff7,_0x16e629){const _0x4761da=_0x18f1,_0x27f722=_0x337ff7();while(!![]){try{const _0x4f6c15=parseInt(_0x4761da(0x196))/0x1+parseInt(_0x4761da(0x1bb))/0x2*(parseInt(_0x4761da(0x1b4))/0x3)+parseInt(_0x4761da(0x192))/0x4*(-parseInt(_0x4761da(0x17c))/0x5)+-parseInt(_0x4761da(0x189))/0x6*(parseInt(_0x4761da(0x1ad))/0x7)+-parseInt(_0x4761da(0x1a7))/0x8+parseInt(_0x4761da(0x177))/0x9+parseInt(_0x4761da(0x1b7))/0xa;if(_0x4f6c15===_0x16e629)break;else _0x27f722['push'](_0x27f722['shift']());}catch(_0xd87613){_0x27f722['push'](_0x27f722['shift']());}}}(_0x408b,0x49ccb));import{FocusTracker as _0x1f333f,KeystrokeHandler as _0x53e632}from'ckeditor5/src/utils.js';import{View as _0x4b5af7,FocusCycler as _0x163c42,createLabeledTextarea as _0x2edd90}from'ckeditor5/src/ui.js';import _0x4a4af1,{AIFormToolbarViewMainActionLabel as _0x54e39c}from'./aiformtoolbarview.js';import _0x187cbe from'./aiformcontentarea.js';import _0x554888 from'./aiformerrorview.js';import _0xfc12b5 from'./aiformpromptview.js';function _0x408b(){const _0x5740c1=['2000215vIstog','search','reset','tryAgainEvent','_focusables','set','replaceContent','ck-hidden','_createHistoryView','insertContentBelow','createCollection','trim','items','6306yrbnAn','fieldView','contentArea','shift\x20+\x20tab','high','add','AI_ERROR_FAILED','keystrokes','div','4gldtnF','mainAction','_promptHistory','execute','78586XgYYBc','delegate','historyGroupView','_createPromptView','ck-ai-form-content','isEnabled','text','render','element','errorView','bindTemplate','clearHistory','handleError','tryAgainButton','toolbar','setTemplate','focusFirst','3372904yfWGWe','focusTracker','clear','promptView','replaceButton','value','707XGHmGG','Empty\x20history','bind','finishProcessing','submitPrompt','listenTo','tab','9ICvpUZ','copyButtonView','queryView','6185710wbykfm','stopButton','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','ck-ai-form','117226RbZpAV','focusCycler','isError','REPLACE','insertButton','fire','locale','prompt','label','focus','focusLast','stopProcessing','isVisible','submit','startProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','chain','3213846EUaaQe','_createToolbar','Ask\x20AI\x20to\x20improve\x20generated\x20text','isProcessing','bindTo'];_0x408b=function(){return _0x5740c1;};return _0x408b();}import _0x283b5e from'./aihistorylistview.js';function _0x18f1(_0x1da600,_0x5e6e72){const _0x408b98=_0x408b();return _0x18f1=function(_0x18f1e9,_0x32529f){_0x18f1e9=_0x18f1e9-0x176;let _0x3e0b71=_0x408b98[_0x18f1e9];return _0x3e0b71;},_0x18f1(_0x1da600,_0x5e6e72);}import _0x4d2bf8 from'./aihistorylistitemview.js';import _0x18d17b from'./prompthistory.js';import{getTranslation as _0x1c827e}from'../../utils/common-translations.js';import{escape as _0x3eea8b}from'lodash-es';export default class v extends _0x4b5af7{constructor(_0x19fc35,_0x71bbe,_0x5b8003=''){const _0x1be170=_0x18f1;super(_0x19fc35),this[_0x1be170(0x181)](_0x1be170(0x19b),!0x0),this[_0x1be170(0x181)](_0x1be170(0x17a),!0x1),this[_0x1be170(0x181)](_0x1be170(0x1c2),''),this[_0x1be170(0x181)](_0x1be170(0x1ac),''),this[_0x1be170(0x181)](_0x1be170(0x1bd),!0x1),this[_0x1be170(0x181)](_0x1be170(0x193),_0x54e39c[_0x1be170(0x1be)]),this[_0x1be170(0x194)]=new _0x18d17b(),this[_0x1be170(0x19f)]=new _0x554888(_0x19fc35),this[_0x1be170(0x18b)]=new _0x187cbe(_0x19fc35,_0x5b8003),this[_0x1be170(0x18b)][_0x1be170(0x1af)](_0x1be170(0x17a))['to'](this),this[_0x1be170(0x18b)][_0x1be170(0x1af)](_0x1be170(0x1ac))['to'](this),this[_0x1be170(0x1a4)]=this[_0x1be170(0x178)](),this[_0x1be170(0x1a4)][_0x1be170(0x1af)](_0x1be170(0x193))['to'](this),this[_0x1be170(0x1aa)]=this[_0x1be170(0x199)](),this[_0x1be170(0x1a8)]=new _0x1f333f(),this[_0x1be170(0x190)]=new _0x53e632(),this[_0x1be170(0x180)]=this[_0x1be170(0x186)]([this[_0x1be170(0x18b)],this[_0x1be170(0x18b)][_0x1be170(0x1b5)],this[_0x1be170(0x1a4)],this[_0x1be170(0x1aa)]]),this[_0x1be170(0x1bc)]=new _0x163c42({'focusables':this[_0x1be170(0x180)],'focusTracker':this[_0x1be170(0x1a8)],'keystrokeHandler':this[_0x1be170(0x190)],'actions':{'focusPrevious':_0x1be170(0x18c),'focusNext':_0x1be170(0x1b3)}}),this[_0x1be170(0x1bc)][_0x1be170(0x176)](this[_0x1be170(0x1aa)][_0x1be170(0x1bc)]),this[_0x1be170(0x1aa)][_0x1be170(0x1b6)][_0x1be170(0x18a)][_0x1be170(0x1af)](_0x1be170(0x1ac))['to'](this,_0x1be170(0x1c2));const _0x4bb43a=this[_0x1be170(0x1a0)];this[_0x1be170(0x1a5)]({'tag':_0x1be170(0x191),'attributes':{'class':['ck',_0x1be170(0x1ba),_0x71bbe],'tabindex':'-1'},'children':[{'tag':_0x1be170(0x191),'attributes':{'class':['ck',_0x1be170(0x19a)]},'children':[{'tag':_0x1be170(0x191),'attributes':{'class':[_0x4bb43a['if'](_0x1be170(0x1bd),_0x1be170(0x183),_0x37a087=>!_0x37a087)]},'children':[this[_0x1be170(0x19f)]]},this[_0x1be170(0x18b)],this[_0x1be170(0x1a4)],this[_0x1be170(0x1aa)]]}]});}[_0x17f88a(0x19d)](){const _0x5dee39=_0x17f88a;super[_0x5dee39(0x19d)](),this[_0x5dee39(0x1a8)][_0x5dee39(0x18e)](this[_0x5dee39(0x18b)][_0x5dee39(0x19e)]),this[_0x5dee39(0x1a8)][_0x5dee39(0x18e)](this[_0x5dee39(0x18b)][_0x5dee39(0x1b5)][_0x5dee39(0x19e)]),this[_0x5dee39(0x1a8)][_0x5dee39(0x18e)](this[_0x5dee39(0x1a4)][_0x5dee39(0x19e)]),this[_0x5dee39(0x1a8)][_0x5dee39(0x18e)](this[_0x5dee39(0x1aa)][_0x5dee39(0x19e)]),this[_0x5dee39(0x190)][_0x5dee39(0x1b2)](this[_0x5dee39(0x19e)]);}[_0x17f88a(0x1c4)](_0x95bb77=0x1){const _0x9df431=_0x17f88a;-0x1===_0x95bb77?this[_0x9df431(0x1bc)][_0x9df431(0x1c5)]():this[_0x9df431(0x1bc)][_0x9df431(0x1a6)]();}[_0x17f88a(0x17e)](){const _0x1c88b0=_0x17f88a;this[_0x1c88b0(0x1c2)]='',this[_0x1c88b0(0x1ac)]='',this[_0x1c88b0(0x1bd)]=!0x1,this[_0x1c88b0(0x1aa)][_0x1c88b0(0x17e)](),this[_0x1c88b0(0x18b)][_0x1c88b0(0x1c7)]=!0x1,this[_0x1c88b0(0x1a4)][_0x1c88b0(0x1c7)]=!0x1;}[_0x17f88a(0x199)](){const _0x1fd93d=_0x17f88a,_0x231b1e=this[_0x1fd93d(0x1c1)],_0x3a0543=new _0xfc12b5(_0x231b1e,{'queryView':{'label':_0x1c827e(_0x231b1e,_0x1fd93d(0x1ca)),'creator':_0x2edd90,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1c827e(_0x231b1e,_0x1fd93d(0x1ae)),'secondary':_0x1c827e(_0x231b1e,_0x1fd93d(0x1b9))}}},'filteredView':this[_0x1fd93d(0x184)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3a0543[_0x1fd93d(0x1af)](_0x1fd93d(0x19b))['to'](this,_0x1fd93d(0x19b),this,_0x1fd93d(0x17a),(_0x40e887,_0x40cb2c)=>_0x40e887&&!_0x40cb2c),this[_0x1fd93d(0x1b2)](_0x3a0543,_0x1fd93d(0x1c8),(_0x2aa17b,_0x5d63bd)=>{const _0x25cd5d=_0x1fd93d;this[_0x25cd5d(0x1c2)]=_0x5d63bd;const _0x52982d=_0x3eea8b(_0x5d63bd);this[_0x25cd5d(0x1c0)](_0x25cd5d(0x1b1),_0x52982d),_0x5d63bd[_0x25cd5d(0x187)]()&&this[_0x25cd5d(0x194)][_0x25cd5d(0x18e)]({'prompt':_0x52982d},0x0);},{'priority':_0x1fd93d(0x18d)}),_0x3a0543;}[_0x17f88a(0x184)](){const _0x4cd4de=_0x17f88a,_0x198bf8=new _0x283b5e(this[_0x4cd4de(0x1c1)]);return _0x198bf8[_0x4cd4de(0x198)][_0x4cd4de(0x188)][_0x4cd4de(0x17b)](this[_0x4cd4de(0x194)])['as'](_0x4d2bf8),_0x198bf8['on'](_0x4cd4de(0x1a1),()=>{const _0x1379b5=_0x4cd4de;this[_0x1379b5(0x194)][_0x1379b5(0x1a9)](),this[_0x1379b5(0x1aa)][_0x1379b5(0x17d)](''),this[_0x1379b5(0x1aa)][_0x1379b5(0x1c4)]();}),_0x198bf8;}[_0x17f88a(0x178)](){const _0x37e288=_0x17f88a,_0x5a5329=new _0x4a4af1(this[_0x37e288(0x1c1)]);return _0x5a5329[_0x37e288(0x1ab)][_0x37e288(0x1af)](_0x37e288(0x19b))['to'](this,_0x37e288(0x19b),this,_0x37e288(0x17a),this,_0x37e288(0x1ac),(_0x1ab14a,_0x556bd5,_0x396f3b)=>_0x1ab14a&&!_0x556bd5&&!!_0x396f3b),_0x5a5329[_0x37e288(0x1ab)][_0x37e288(0x197)](_0x37e288(0x195))['to'](this,_0x37e288(0x182)),_0x5a5329[_0x37e288(0x1bf)][_0x37e288(0x1af)](_0x37e288(0x19b))['to'](this,_0x37e288(0x19b),this,_0x37e288(0x17a),this,_0x37e288(0x1ac),(_0x3f57e6,_0x20dd56,_0x57b06e)=>_0x3f57e6&&!_0x20dd56&&!!_0x57b06e),_0x5a5329[_0x37e288(0x1bf)][_0x37e288(0x197)](_0x37e288(0x195))['to'](this,_0x37e288(0x185)),_0x5a5329[_0x37e288(0x1a3)][_0x37e288(0x1af)](_0x37e288(0x19b))['to'](this,_0x37e288(0x19b),this,_0x37e288(0x17a),(_0x23e759,_0x16077c)=>_0x23e759&&!_0x16077c),_0x5a5329[_0x37e288(0x1a3)][_0x37e288(0x197)](_0x37e288(0x195))['to'](this,_0x37e288(0x17f)),_0x5a5329[_0x37e288(0x1b8)][_0x37e288(0x1af)](_0x37e288(0x19b))['to'](this,_0x37e288(0x17a)),_0x5a5329[_0x37e288(0x1b8)][_0x37e288(0x197)](_0x37e288(0x195))['to'](this,_0x37e288(0x1c6)),_0x5a5329;}[_0x17f88a(0x1c9)](){const _0x4e288a=_0x17f88a;this[_0x4e288a(0x1ac)]='',this[_0x4e288a(0x1bd)]=!0x1,this[_0x4e288a(0x17a)]=!0x0,this[_0x4e288a(0x18b)][_0x4e288a(0x1c7)]=!0x0,this[_0x4e288a(0x1a4)][_0x4e288a(0x1c7)]=!0x0,this[_0x4e288a(0x18b)][_0x4e288a(0x1c4)]();}[_0x17f88a(0x1b0)](){const _0x20b086=_0x17f88a,_0x35b1d3=this[_0x20b086(0x1c1)];this[_0x20b086(0x17a)]=!0x1,this[_0x20b086(0x1c2)]='',this[_0x20b086(0x1aa)][_0x20b086(0x17e)](),this[_0x20b086(0x1ac)]&&(this[_0x20b086(0x1aa)][_0x20b086(0x1b6)][_0x20b086(0x1c3)]=_0x1c827e(_0x35b1d3,_0x20b086(0x179)));}[_0x17f88a(0x1a2)](_0x12a861){const _0x368af2=_0x17f88a,_0x16a3d3=this[_0x368af2(0x1c1)];this[_0x368af2(0x1b0)](),this[_0x368af2(0x1bd)]=!0x0,this[_0x368af2(0x19f)][_0x368af2(0x19c)]=_0x12a861||_0x1c827e(_0x16a3d3,_0x368af2(0x18f)),this[_0x368af2(0x1ac)]||(this[_0x368af2(0x18b)][_0x368af2(0x1c7)]=!0x1);}}
23
+ const _0x1ab96f=_0x450b;(function(_0x5d2ed5,_0x161549){const _0x11c48f=_0x450b,_0x22b296=_0x5d2ed5();while(!![]){try{const _0x5af74c=parseInt(_0x11c48f(0x195))/0x1*(-parseInt(_0x11c48f(0x198))/0x2)+-parseInt(_0x11c48f(0x1bd))/0x3*(parseInt(_0x11c48f(0x1bc))/0x4)+-parseInt(_0x11c48f(0x17a))/0x5*(parseInt(_0x11c48f(0x1a0))/0x6)+parseInt(_0x11c48f(0x1ab))/0x7+-parseInt(_0x11c48f(0x18a))/0x8+parseInt(_0x11c48f(0x1c1))/0x9*(parseInt(_0x11c48f(0x19c))/0xa)+parseInt(_0x11c48f(0x19d))/0xb*(parseInt(_0x11c48f(0x177))/0xc);if(_0x5af74c===_0x161549)break;else _0x22b296['push'](_0x22b296['shift']());}catch(_0x569da3){_0x22b296['push'](_0x22b296['shift']());}}}(_0x33a2,0x1c59b));import{FocusTracker as _0x31b132,KeystrokeHandler as _0x92e008}from'ckeditor5/src/utils.js';import{View as _0x1759b3,FocusCycler as _0x205351,createLabeledTextarea as _0x14d5b9}from'ckeditor5/src/ui.js';import _0x42c159,{AIFormToolbarViewMainActionLabel as _0x16265a}from'./aiformtoolbarview.js';import _0x3cb709 from'./aiformcontentarea.js';import _0x23dd03 from'./aiformerrorview.js';import _0xb0f644 from'./aiformpromptview.js';function _0x33a2(){const _0x514913=['stopButton','reset','ck-ai-form','_promptHistory','focus','delegate','insertContentBelow','add','mainAction','tab','28YeQtoh','57543PbFbZG','ck-ai-form-content','label','fire','135IipanD','trim','execute','div','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusCycler','element','chain','setTemplate','_focusables','REPLACE','Ask\x20AI\x20to\x20edit\x20or\x20generate','copyButtonView','12jReyTT','_createHistoryView','prompt','117035EHnXYM','stopProcessing','items','fieldView','replaceContent','finishProcessing','clearHistory','toolbar','contentArea','errorView','tryAgainButton','locale','AI_ERROR_FAILED','tryAgainEvent','ck-hidden','createCollection','649664cGZaZf','listenTo','queryView','render','submitPrompt','clear','focusTracker','Ask\x20AI\x20to\x20improve\x20generated\x20text','shift\x20+\x20tab','value','isProcessing','44809jLWyfD','handleError','submit','4BkBpHF','isEnabled','promptView','startProcessing','126410DTisWb','1398914YQTVnV','focusFirst','bind','18ytJzSa','text','historyGroupView','focusLast','keystrokes','bindTemplate','_createToolbar','insertButton','isVisible','set','isError','1222536qvCnDS','search','high','bindTo','replaceButton','Empty\x20history','_createPromptView'];_0x33a2=function(){return _0x514913;};return _0x33a2();}import _0x4ee47a from'./aihistorylistview.js';function _0x450b(_0x311847,_0x25e652){const _0x33a29f=_0x33a2();return _0x450b=function(_0x450b5c,_0xc4c8ce){_0x450b5c=_0x450b5c-0x173;let _0x1b9380=_0x33a29f[_0x450b5c];return _0x1b9380;},_0x450b(_0x311847,_0x25e652);}import _0x1c386d from'./aihistorylistitemview.js';import _0x2566cb from'./prompthistory.js';import{getTranslation as _0x5c2743}from'../../utils/common-translations.js';import{escape as _0x899358}from'lodash-es';export default class v extends _0x1759b3{constructor(_0x4741a0,_0x4e2da7,_0xae9380=''){const _0x459b6b=_0x450b;super(_0x4741a0),this[_0x459b6b(0x1a9)](_0x459b6b(0x199),!0x0),this[_0x459b6b(0x1a9)](_0x459b6b(0x194),!0x1),this[_0x459b6b(0x1a9)](_0x459b6b(0x179),''),this[_0x459b6b(0x1a9)](_0x459b6b(0x193),''),this[_0x459b6b(0x1a9)](_0x459b6b(0x1aa),!0x1),this[_0x459b6b(0x1a9)](_0x459b6b(0x1ba),_0x16265a[_0x459b6b(0x174)]),this[_0x459b6b(0x1b5)]=new _0x2566cb(),this[_0x459b6b(0x183)]=new _0x23dd03(_0x4741a0),this[_0x459b6b(0x182)]=new _0x3cb709(_0x4741a0,_0xae9380),this[_0x459b6b(0x182)][_0x459b6b(0x19f)](_0x459b6b(0x194))['to'](this),this[_0x459b6b(0x182)][_0x459b6b(0x19f)](_0x459b6b(0x193))['to'](this),this[_0x459b6b(0x181)]=this[_0x459b6b(0x1a6)](),this[_0x459b6b(0x181)][_0x459b6b(0x19f)](_0x459b6b(0x1ba))['to'](this),this[_0x459b6b(0x19a)]=this[_0x459b6b(0x1b1)](),this[_0x459b6b(0x190)]=new _0x31b132(),this[_0x459b6b(0x1a4)]=new _0x92e008(),this[_0x459b6b(0x173)]=this[_0x459b6b(0x189)]([this[_0x459b6b(0x182)],this[_0x459b6b(0x182)][_0x459b6b(0x176)],this[_0x459b6b(0x181)],this[_0x459b6b(0x19a)]]),this[_0x459b6b(0x1c6)]=new _0x205351({'focusables':this[_0x459b6b(0x173)],'focusTracker':this[_0x459b6b(0x190)],'keystrokeHandler':this[_0x459b6b(0x1a4)],'actions':{'focusPrevious':_0x459b6b(0x192),'focusNext':_0x459b6b(0x1bb)}}),this[_0x459b6b(0x1c6)][_0x459b6b(0x1c8)](this[_0x459b6b(0x19a)][_0x459b6b(0x1c6)]),this[_0x459b6b(0x19a)][_0x459b6b(0x18c)][_0x459b6b(0x17d)][_0x459b6b(0x19f)](_0x459b6b(0x193))['to'](this,_0x459b6b(0x179));const _0x36db96=this[_0x459b6b(0x1a5)];this[_0x459b6b(0x1c9)]({'tag':_0x459b6b(0x1c4),'attributes':{'class':['ck',_0x459b6b(0x1b4),_0x4e2da7],'tabindex':'-1'},'children':[{'tag':_0x459b6b(0x1c4),'attributes':{'class':['ck',_0x459b6b(0x1be)]},'children':[{'tag':_0x459b6b(0x1c4),'attributes':{'class':[_0x36db96['if'](_0x459b6b(0x1aa),_0x459b6b(0x188),_0x4fdaa6=>!_0x4fdaa6)]},'children':[this[_0x459b6b(0x183)]]},this[_0x459b6b(0x182)],this[_0x459b6b(0x181)],this[_0x459b6b(0x19a)]]}]});}[_0x1ab96f(0x18d)](){const _0xd1424d=_0x1ab96f;super[_0xd1424d(0x18d)](),this[_0xd1424d(0x190)][_0xd1424d(0x1b9)](this[_0xd1424d(0x182)][_0xd1424d(0x1c7)]),this[_0xd1424d(0x190)][_0xd1424d(0x1b9)](this[_0xd1424d(0x182)][_0xd1424d(0x176)][_0xd1424d(0x1c7)]),this[_0xd1424d(0x190)][_0xd1424d(0x1b9)](this[_0xd1424d(0x181)][_0xd1424d(0x1c7)]),this[_0xd1424d(0x190)][_0xd1424d(0x1b9)](this[_0xd1424d(0x19a)][_0xd1424d(0x1c7)]),this[_0xd1424d(0x1a4)][_0xd1424d(0x18b)](this[_0xd1424d(0x1c7)]);}[_0x1ab96f(0x1b6)](_0x452b63=0x1){const _0x50b235=_0x1ab96f;-0x1===_0x452b63?this[_0x50b235(0x1c6)][_0x50b235(0x1a3)]():this[_0x50b235(0x1c6)][_0x50b235(0x19e)]();}[_0x1ab96f(0x1b3)](){const _0x16e01c=_0x1ab96f;this[_0x16e01c(0x179)]='',this[_0x16e01c(0x193)]='',this[_0x16e01c(0x1aa)]=!0x1,this[_0x16e01c(0x19a)][_0x16e01c(0x1b3)](),this[_0x16e01c(0x182)][_0x16e01c(0x1a8)]=!0x1,this[_0x16e01c(0x181)][_0x16e01c(0x1a8)]=!0x1;}[_0x1ab96f(0x1b1)](){const _0x223b0c=_0x1ab96f,_0x3e29e8=this[_0x223b0c(0x185)],_0x409f2c=new _0xb0f644(_0x3e29e8,{'queryView':{'label':_0x5c2743(_0x3e29e8,_0x223b0c(0x175)),'creator':_0x14d5b9,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5c2743(_0x3e29e8,_0x223b0c(0x1b0)),'secondary':_0x5c2743(_0x3e29e8,_0x223b0c(0x1c5))}}},'filteredView':this[_0x223b0c(0x178)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x409f2c[_0x223b0c(0x19f)](_0x223b0c(0x199))['to'](this,_0x223b0c(0x199),this,_0x223b0c(0x194),(_0x585485,_0x34c08a)=>_0x585485&&!_0x34c08a),this[_0x223b0c(0x18b)](_0x409f2c,_0x223b0c(0x197),(_0x594c80,_0x118542)=>{const _0x4b9b7f=_0x223b0c;this[_0x4b9b7f(0x179)]=_0x118542;const _0x4d85d7=_0x899358(_0x118542);this[_0x4b9b7f(0x1c0)](_0x4b9b7f(0x18e),_0x4d85d7),_0x118542[_0x4b9b7f(0x1c2)]()&&this[_0x4b9b7f(0x1b5)][_0x4b9b7f(0x1b9)]({'prompt':_0x4d85d7},0x0);},{'priority':_0x223b0c(0x1ad)}),_0x409f2c;}[_0x1ab96f(0x178)](){const _0x19711a=_0x1ab96f,_0x3387c3=new _0x4ee47a(this[_0x19711a(0x185)]);return _0x3387c3[_0x19711a(0x1a2)][_0x19711a(0x17c)][_0x19711a(0x1ae)](this[_0x19711a(0x1b5)])['as'](_0x1c386d),_0x3387c3['on'](_0x19711a(0x180),()=>{const _0x242eaf=_0x19711a;this[_0x242eaf(0x1b5)][_0x242eaf(0x18f)](),this[_0x242eaf(0x19a)][_0x242eaf(0x1ac)](''),this[_0x242eaf(0x19a)][_0x242eaf(0x1b6)]();}),_0x3387c3;}[_0x1ab96f(0x1a6)](){const _0x4b3e56=_0x1ab96f,_0x5c21c4=new _0x42c159(this[_0x4b3e56(0x185)]);return _0x5c21c4[_0x4b3e56(0x1af)][_0x4b3e56(0x19f)](_0x4b3e56(0x199))['to'](this,_0x4b3e56(0x199),this,_0x4b3e56(0x194),this,_0x4b3e56(0x193),(_0x2928d4,_0x34b593,_0xa3ecb2)=>_0x2928d4&&!_0x34b593&&!!_0xa3ecb2),_0x5c21c4[_0x4b3e56(0x1af)][_0x4b3e56(0x1b7)](_0x4b3e56(0x1c3))['to'](this,_0x4b3e56(0x17e)),_0x5c21c4[_0x4b3e56(0x1a7)][_0x4b3e56(0x19f)](_0x4b3e56(0x199))['to'](this,_0x4b3e56(0x199),this,_0x4b3e56(0x194),this,_0x4b3e56(0x193),(_0x4494e0,_0x23e874,_0x3d5f22)=>_0x4494e0&&!_0x23e874&&!!_0x3d5f22),_0x5c21c4[_0x4b3e56(0x1a7)][_0x4b3e56(0x1b7)](_0x4b3e56(0x1c3))['to'](this,_0x4b3e56(0x1b8)),_0x5c21c4[_0x4b3e56(0x184)][_0x4b3e56(0x19f)](_0x4b3e56(0x199))['to'](this,_0x4b3e56(0x199),this,_0x4b3e56(0x194),(_0x499a5f,_0x529001)=>_0x499a5f&&!_0x529001),_0x5c21c4[_0x4b3e56(0x184)][_0x4b3e56(0x1b7)](_0x4b3e56(0x1c3))['to'](this,_0x4b3e56(0x187)),_0x5c21c4[_0x4b3e56(0x1b2)][_0x4b3e56(0x19f)](_0x4b3e56(0x199))['to'](this,_0x4b3e56(0x194)),_0x5c21c4[_0x4b3e56(0x1b2)][_0x4b3e56(0x1b7)](_0x4b3e56(0x1c3))['to'](this,_0x4b3e56(0x17b)),_0x5c21c4;}[_0x1ab96f(0x19b)](){const _0x207b78=_0x1ab96f;this[_0x207b78(0x193)]='',this[_0x207b78(0x1aa)]=!0x1,this[_0x207b78(0x194)]=!0x0,this[_0x207b78(0x182)][_0x207b78(0x1a8)]=!0x0,this[_0x207b78(0x181)][_0x207b78(0x1a8)]=!0x0,this[_0x207b78(0x182)][_0x207b78(0x1b6)]();}[_0x1ab96f(0x17f)](){const _0x1b6219=_0x1ab96f,_0x4a5098=this[_0x1b6219(0x185)];this[_0x1b6219(0x194)]=!0x1,this[_0x1b6219(0x179)]='',this[_0x1b6219(0x19a)][_0x1b6219(0x1b3)](),this[_0x1b6219(0x193)]&&(this[_0x1b6219(0x19a)][_0x1b6219(0x18c)][_0x1b6219(0x1bf)]=_0x5c2743(_0x4a5098,_0x1b6219(0x191)));}[_0x1ab96f(0x196)](_0x86481b){const _0x43afcb=_0x1ab96f,_0x32fbd9=this[_0x43afcb(0x185)];this[_0x43afcb(0x17f)](),this[_0x43afcb(0x1aa)]=!0x0,this[_0x43afcb(0x183)][_0x43afcb(0x1a1)]=_0x86481b||_0x5c2743(_0x32fbd9,_0x43afcb(0x186)),this[_0x43afcb(0x193)]||(this[_0x43afcb(0x182)][_0x43afcb(0x1a8)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5874(_0x45dbc7,_0x2d1e8a){const _0x440e31=_0x440e();return _0x5874=function(_0x58749e,_0x39ea8f){_0x58749e=_0x58749e-0xbf;let _0x4c3b88=_0x440e31[_0x58749e];return _0x4c3b88;},_0x5874(_0x45dbc7,_0x2d1e8a);}(function(_0x22a02f,_0x2c5a53){const _0x455297=_0x5874,_0x35547b=_0x22a02f();while(!![]){try{const _0x321014=parseInt(_0x455297(0xc9))/0x1+parseInt(_0x455297(0xca))/0x2*(-parseInt(_0x455297(0xc5))/0x3)+-parseInt(_0x455297(0xc7))/0x4*(-parseInt(_0x455297(0xc3))/0x5)+parseInt(_0x455297(0xc2))/0x6*(parseInt(_0x455297(0xce))/0x7)+-parseInt(_0x455297(0xcb))/0x8+-parseInt(_0x455297(0xc8))/0x9+parseInt(_0x455297(0xc6))/0xa;if(_0x321014===_0x2c5a53)break;else _0x35547b['push'](_0x35547b['shift']());}catch(_0x4c2042){_0x35547b['push'](_0x35547b['shift']());}}}(_0x440e,0xb65e1));import{ListItemView as _0x45a66c,ButtonView as _0x50c4c9,ButtonLabelView as _0x291acd}from'ckeditor5/src/ui.js';import{unescape as _0x5518ee}from'lodash-es';function _0x440e(){const _0x3210c8=['345416zdlmBV','6982020XXxjoY','1001050hdTvSy','2641862aLpbzk','3007312IViFXm','locale','set','7794416vkBOGC','execute','children','add','prompt','6evlFtw','5KVEDVA','fire','3tPgeUl','10187100EADekY'];_0x440e=function(){return _0x3210c8;};return _0x440e();}export default class hs extends _0x45a66c{constructor(_0x3116a1){const _0x4ee3b8=_0x5874;super();const _0x340ab5=new _0x291acd(),_0x457630=new _0x50c4c9(this[_0x4ee3b8(0xcc)],_0x340ab5);this[_0x4ee3b8(0xbf)][_0x4ee3b8(0xc0)](_0x457630),_0x457630[_0x4ee3b8(0xcd)]({'label':_0x3116a1[_0x4ee3b8(0xc1)],'withText':!0x0}),_0x457630['on'](_0x4ee3b8(0xcf),()=>{const _0x38dd81=_0x4ee3b8;this[_0x38dd81(0xc4)](_0x38dd81(0xcf),{'value':_0x5518ee(_0x3116a1[_0x38dd81(0xc1)])});});}}
23
+ (function(_0x48cbd3,_0x3b0bfb){const _0x8272f2=_0x6744,_0x50da8a=_0x48cbd3();while(!![]){try{const _0x579e6f=-parseInt(_0x8272f2(0x196))/0x1*(-parseInt(_0x8272f2(0x198))/0x2)+parseInt(_0x8272f2(0x19b))/0x3+-parseInt(_0x8272f2(0x18e))/0x4*(parseInt(_0x8272f2(0x195))/0x5)+-parseInt(_0x8272f2(0x18c))/0x6+parseInt(_0x8272f2(0x18d))/0x7*(-parseInt(_0x8272f2(0x18f))/0x8)+-parseInt(_0x8272f2(0x18b))/0x9+parseInt(_0x8272f2(0x194))/0xa*(parseInt(_0x8272f2(0x191))/0xb);if(_0x579e6f===_0x3b0bfb)break;else _0x50da8a['push'](_0x50da8a['shift']());}catch(_0x169846){_0x50da8a['push'](_0x50da8a['shift']());}}}(_0x5afd,0xc842a));import{ListItemView as _0x480066,ButtonView as _0x4aa9ba,ButtonLabelView as _0x10b045}from'ckeditor5/src/ui.js';function _0x6744(_0x4f8bd7,_0x1ab460){const _0x5afd35=_0x5afd();return _0x6744=function(_0x67449d,_0x5152e3){_0x67449d=_0x67449d-0x18b;let _0x2389a7=_0x5afd35[_0x67449d];return _0x2389a7;},_0x6744(_0x4f8bd7,_0x1ab460);}import{unescape as _0x59985c}from'lodash-es';function _0x5afd(){const _0x4b1e82=['execute','250398omOlft','locale','prompt','3252966rHdEBd','set','13787190gqapmS','4078410iuekzy','7zpTEan','351788SaBYuk','7849704dXTQWp','add','44THeaZM','children','fire','7616780oOaQWr','85awxEIZ','11hlhwid'];_0x5afd=function(){return _0x4b1e82;};return _0x5afd();}export default class hs extends _0x480066{constructor(_0x2994af){const _0x265ae2=_0x6744;super();const _0x577fa2=new _0x10b045(),_0x4f952a=new _0x4aa9ba(this[_0x265ae2(0x199)],_0x577fa2);this[_0x265ae2(0x192)][_0x265ae2(0x190)](_0x4f952a),_0x4f952a[_0x265ae2(0x19c)]({'label':_0x2994af[_0x265ae2(0x19a)],'withText':!0x0}),_0x4f952a['on'](_0x265ae2(0x197),()=>{const _0x4505e3=_0x265ae2;this[_0x4505e3(0x193)](_0x4505e3(0x197),{'value':_0x59985c(_0x2994af[_0x4505e3(0x19a)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4631(){const _0x1dd64d=['children','2aiwdgH','907458wLICQo','1181730zEsTUb','label','items','50mpXOVf','filter','309348HgesnL','fire','set','execute','19011CeBmsW','342797CpSMBK','1984092CeucsQ','clearHistoryButton','64VoVstG','add','_createClearHistoryButton','Clear','Prompt\x20history','locale','25102ipSFdH','historyGroupView','delegate','8bEMVsA','3156tKyHSk','clearHistory','length'];_0x4631=function(){return _0x1dd64d;};return _0x4631();}const _0x8e4ecc=_0x2028;(function(_0x3441cf,_0x304df2){const _0x388a36=_0x2028,_0x52be9e=_0x3441cf();while(!![]){try{const _0x231cef=-parseInt(_0x388a36(0x10c))/0x1*(-parseInt(_0x388a36(0x101))/0x2)+parseInt(_0x388a36(0x102))/0x3+-parseInt(_0x388a36(0x119))/0x4*(-parseInt(_0x388a36(0x103))/0x5)+-parseInt(_0x388a36(0x10e))/0x6+-parseInt(_0x388a36(0x10d))/0x7*(-parseInt(_0x388a36(0x110))/0x8)+parseInt(_0x388a36(0x108))/0x9*(parseInt(_0x388a36(0x106))/0xa)+parseInt(_0x388a36(0x116))/0xb*(-parseInt(_0x388a36(0xfd))/0xc);if(_0x231cef===_0x304df2)break;else _0x52be9e['push'](_0x52be9e['shift']());}catch(_0x4784e0){_0x52be9e['push'](_0x52be9e['shift']());}}}(_0x4631,0x683d9));import{ListView as _0x165064,ListItemGroupView as _0x2a967f,ButtonView as _0x5b36cd}from'ckeditor5/src/ui.js';import{getTranslation as _0x23abc2}from'../../utils/common-translations.js';function _0x2028(_0x1ffd2d,_0x238f6a){const _0x463135=_0x4631();return _0x2028=function(_0x202833,_0x2cf48c){_0x202833=_0x202833-0xfd;let _0x10304c=_0x463135[_0x202833];return _0x10304c;},_0x2028(_0x1ffd2d,_0x238f6a);}export default class rs extends _0x165064{constructor(_0x4fbba9){const _0x234981=_0x2028;super(_0x4fbba9),this[_0x234981(0x10f)]=this[_0x234981(0x112)](),this[_0x234981(0x117)]=new _0x2a967f(),this[_0x234981(0x117)][_0x234981(0x100)][_0x234981(0x111)](this[_0x234981(0x10f)],0x1),this[_0x234981(0x117)][_0x234981(0x104)]=_0x23abc2(_0x4fbba9,_0x234981(0x114)),this[_0x234981(0x117)][_0x234981(0x105)][_0x234981(0x118)](_0x234981(0x10b))['to'](this),this[_0x234981(0x105)][_0x234981(0x111)](this[_0x234981(0x117)]);}[_0x8e4ecc(0x107)](){const _0x4055e1=_0x8e4ecc;let _0x3f958b=0x0;for(const _0x31131a of this[_0x4055e1(0x105)])_0x3f958b+=_0x31131a[_0x4055e1(0x105)][_0x4055e1(0xff)];return{'resultsCount':_0x3f958b,'totalItemsCount':_0x3f958b};}[_0x8e4ecc(0x112)](){const _0x4573ea=_0x8e4ecc,_0x4cc430=this[_0x4573ea(0x115)],_0x61ae7f=new _0x5b36cd(this[_0x4573ea(0x115)]);return _0x61ae7f[_0x4573ea(0x10a)]({'label':'('+_0x23abc2(_0x4cc430,_0x4573ea(0x113))+')','withText':!0x0}),_0x61ae7f['on'](_0x4573ea(0x10b),()=>this[_0x4573ea(0x109)](_0x4573ea(0xfe))),_0x61ae7f;}}
23
+ function _0x494b(){const _0x2d620b=['27HTCzDv','8391509ahfREA','265942yCXxgl','items','length','1422tSTAMj','358668BpRWRW','9598115sOacTW','_createClearHistoryButton','label','historyGroupView','filter','13kVPyAo','fire','Prompt\x20history','5944130YhsuZP','clearHistory','Clear','children','set','locale','242BQISzc','8JkIZng','clearHistoryButton','3340KaDuXL','add','delegate','execute','5111202oLRSfb'];_0x494b=function(){return _0x2d620b;};return _0x494b();}const _0x51d14c=_0x2c5d;(function(_0x429dd8,_0x4ea590){const _0x35e1cf=_0x2c5d,_0x3ca96b=_0x429dd8();while(!![]){try{const _0x1baab7=parseInt(_0x35e1cf(0xdb))/0x1*(-parseInt(_0x35e1cf(0xd1))/0x2)+-parseInt(_0x35e1cf(0xd4))/0x3*(-parseInt(_0x35e1cf(0xca))/0x4)+parseInt(_0x35e1cf(0xd6))/0x5+-parseInt(_0x35e1cf(0xce))/0x6+parseInt(_0x35e1cf(0xd0))/0x7*(-parseInt(_0x35e1cf(0xc8))/0x8)+-parseInt(_0x35e1cf(0xcf))/0x9*(-parseInt(_0x35e1cf(0xc1))/0xa)+parseInt(_0x35e1cf(0xc7))/0xb*(parseInt(_0x35e1cf(0xd5))/0xc);if(_0x1baab7===_0x4ea590)break;else _0x3ca96b['push'](_0x3ca96b['shift']());}catch(_0xb59202){_0x3ca96b['push'](_0x3ca96b['shift']());}}}(_0x494b,0xee825));import{ListView as _0x341cce,ListItemGroupView as _0x261161,ButtonView as _0x2252c8}from'ckeditor5/src/ui.js';function _0x2c5d(_0x184380,_0x2e872a){const _0x494bbe=_0x494b();return _0x2c5d=function(_0x2c5dc3,_0x4bd2f0){_0x2c5dc3=_0x2c5dc3-0xc1;let _0x5909de=_0x494bbe[_0x2c5dc3];return _0x5909de;},_0x2c5d(_0x184380,_0x2e872a);}import{getTranslation as _0x2dd406}from'../../utils/common-translations.js';export default class rs extends _0x341cce{constructor(_0x4a4494){const _0x339836=_0x2c5d;super(_0x4a4494),this[_0x339836(0xc9)]=this[_0x339836(0xd7)](),this[_0x339836(0xd9)]=new _0x261161(),this[_0x339836(0xd9)][_0x339836(0xc4)][_0x339836(0xcb)](this[_0x339836(0xc9)],0x1),this[_0x339836(0xd9)][_0x339836(0xd8)]=_0x2dd406(_0x4a4494,_0x339836(0xdd)),this[_0x339836(0xd9)][_0x339836(0xd2)][_0x339836(0xcc)](_0x339836(0xcd))['to'](this),this[_0x339836(0xd2)][_0x339836(0xcb)](this[_0x339836(0xd9)]);}[_0x51d14c(0xda)](){const _0x2111da=_0x51d14c;let _0x521e2e=0x0;for(const _0x8b64a0 of this[_0x2111da(0xd2)])_0x521e2e+=_0x8b64a0[_0x2111da(0xd2)][_0x2111da(0xd3)];return{'resultsCount':_0x521e2e,'totalItemsCount':_0x521e2e};}[_0x51d14c(0xd7)](){const _0x17eb07=_0x51d14c,_0x146d7e=this[_0x17eb07(0xc6)],_0x1bac9f=new _0x2252c8(this[_0x17eb07(0xc6)]);return _0x1bac9f[_0x17eb07(0xc5)]({'label':'('+_0x2dd406(_0x146d7e,_0x17eb07(0xc3))+')','withText':!0x0}),_0x1bac9f['on'](_0x17eb07(0xcd),()=>this[_0x17eb07(0xdc)](_0x17eb07(0xc2))),_0x1bac9f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d7a51=_0x2e47;(function(_0x5229f9,_0x170fc7){const _0x28183b=_0x2e47,_0x5f040e=_0x5229f9();while(!![]){try{const _0x4145c9=parseInt(_0x28183b(0x77))/0x1+-parseInt(_0x28183b(0x83))/0x2*(parseInt(_0x28183b(0x7d))/0x3)+parseInt(_0x28183b(0x8a))/0x4+-parseInt(_0x28183b(0x84))/0x5*(parseInt(_0x28183b(0x89))/0x6)+parseInt(_0x28183b(0x7e))/0x7*(parseInt(_0x28183b(0x7f))/0x8)+parseInt(_0x28183b(0x8c))/0x9+-parseInt(_0x28183b(0x7a))/0xa;if(_0x4145c9===_0x170fc7)break;else _0x5f040e['push'](_0x5f040e['shift']());}catch(_0x2b1014){_0x5f040e['push'](_0x5f040e['shift']());}}}(_0x3b97,0x329c2));import{Collection as _0x16d6a9}from'ckeditor5/src/utils.js';function _0x3b97(){const _0x2907fe=['addMany','last','18UlLueT','1406464ETtkAr','setItem','1327572Ijoaxt','_saveToSessionStorage','add','remove','_loadFromSessionStorage','75931lrRNfQ','length','toLowerCase','148840OpijpR','CKEditor/AIFormView/PromptHistory','trim','27pFoCdu','7Fcizwi','2195656oWGtYu','getItem','stringify','map','67836Uhomtk','536780tqCpDm','prompt','parse'];_0x3b97=function(){return _0x2907fe;};return _0x3b97();}const cs=_0x4d7a51(0x7b);export default class os extends _0x16d6a9{constructor(){const _0x26d2d7=_0x4d7a51;super(),this[_0x26d2d7(0x76)](),this['on'](_0x26d2d7(0x74),(_0x4c36c4,_0x38d6a4)=>{const _0x594ebb=_0x26d2d7,_0x40aa0a=Ss(_0x38d6a4[_0x594ebb(0x85)]);for(const _0x448c18 of this)if(_0x448c18!=_0x38d6a4&&Ss(_0x448c18[_0x594ebb(0x85)])===_0x40aa0a){this[_0x594ebb(0x75)](_0x448c18);break;}this[_0x594ebb(0x78)]>0x14&&this[_0x594ebb(0x75)](this[_0x594ebb(0x88)]),this[_0x594ebb(0x73)]();}),this['on'](_0x26d2d7(0x75),()=>{const _0x3cfcfd=_0x26d2d7;this[_0x3cfcfd(0x73)]();});}[_0x4d7a51(0x76)](){const _0x133afe=_0x4d7a51,_0x15522f=sessionStorage[_0x133afe(0x80)](cs)||'[]';this[_0x133afe(0x87)](JSON[_0x133afe(0x86)](_0x15522f));}[_0x4d7a51(0x73)](){const _0x2c9cea=_0x4d7a51;sessionStorage[_0x2c9cea(0x8b)](cs,JSON[_0x2c9cea(0x81)](this[_0x2c9cea(0x82)](_0x10b94c=>_0x10b94c)));}}function _0x2e47(_0x50dae7,_0x4c51ca){const _0x3b9753=_0x3b97();return _0x2e47=function(_0x2e478b,_0x5ee149){_0x2e478b=_0x2e478b-0x73;let _0x1d7d1e=_0x3b9753[_0x2e478b];return _0x1d7d1e;},_0x2e47(_0x50dae7,_0x4c51ca);}function Ss(_0x598cbf){const _0x484c33=_0x4d7a51;return _0x598cbf[_0x484c33(0x79)]()[_0x484c33(0x7c)]();}
23
+ const _0x355e9d=_0x46e8;(function(_0x1cd4fe,_0x477832){const _0x580943=_0x46e8,_0x223ad8=_0x1cd4fe();while(!![]){try{const _0x41eaba=-parseInt(_0x580943(0x1c4))/0x1+-parseInt(_0x580943(0x1cb))/0x2*(-parseInt(_0x580943(0x1c6))/0x3)+-parseInt(_0x580943(0x1ca))/0x4+-parseInt(_0x580943(0x1d6))/0x5*(-parseInt(_0x580943(0x1cf))/0x6)+parseInt(_0x580943(0x1bf))/0x7*(parseInt(_0x580943(0x1c8))/0x8)+-parseInt(_0x580943(0x1c0))/0x9+parseInt(_0x580943(0x1be))/0xa*(-parseInt(_0x580943(0x1d3))/0xb);if(_0x41eaba===_0x477832)break;else _0x223ad8['push'](_0x223ad8['shift']());}catch(_0x4824fe){_0x223ad8['push'](_0x223ad8['shift']());}}}(_0x4bfd,0xe6123));function _0x4bfd(){const _0xec0f3f=['toLowerCase','7385340ketyjs','trim','add','setItem','33klVTmn','parse','_loadFromSessionStorage','5jZStHz','prompt','getItem','306110lfWOHQ','630644mrFbIk','5256441tVMLLm','CKEditor/AIFormView/PromptHistory','_saveToSessionStorage','last','108735mIjIXX','remove','53871gVnOLz','addMany','40peemFK','map','1038524OKlqJi','34SdFOTC','length','stringify'];_0x4bfd=function(){return _0xec0f3f;};return _0x4bfd();}function _0x46e8(_0x4fd34a,_0x1a85f4){const _0x4bfdce=_0x4bfd();return _0x46e8=function(_0x46e8e4,_0xccee9e){_0x46e8e4=_0x46e8e4-0x1be;let _0x34ee11=_0x4bfdce[_0x46e8e4];return _0x34ee11;},_0x46e8(_0x4fd34a,_0x1a85f4);}import{Collection as _0x515037}from'ckeditor5/src/utils.js';const cs=_0x355e9d(0x1c1);export default class os extends _0x515037{constructor(){const _0x15c9bb=_0x355e9d;super(),this[_0x15c9bb(0x1d5)](),this['on'](_0x15c9bb(0x1d1),(_0x5cd208,_0x2c0fe1)=>{const _0x150a5d=_0x15c9bb,_0x5987f7=Ss(_0x2c0fe1[_0x150a5d(0x1d7)]);for(const _0x4ca3d2 of this)if(_0x4ca3d2!=_0x2c0fe1&&Ss(_0x4ca3d2[_0x150a5d(0x1d7)])===_0x5987f7){this[_0x150a5d(0x1c5)](_0x4ca3d2);break;}this[_0x150a5d(0x1cc)]>0x14&&this[_0x150a5d(0x1c5)](this[_0x150a5d(0x1c3)]),this[_0x150a5d(0x1c2)]();}),this['on'](_0x15c9bb(0x1c5),()=>{const _0x4cbcfd=_0x15c9bb;this[_0x4cbcfd(0x1c2)]();});}[_0x355e9d(0x1d5)](){const _0x226c2f=_0x355e9d,_0x6853dc=sessionStorage[_0x226c2f(0x1d8)](cs)||'[]';this[_0x226c2f(0x1c7)](JSON[_0x226c2f(0x1d4)](_0x6853dc));}[_0x355e9d(0x1c2)](){const _0x12b56c=_0x355e9d;sessionStorage[_0x12b56c(0x1d2)](cs,JSON[_0x12b56c(0x1cd)](this[_0x12b56c(0x1c9)](_0x51ae49=>_0x51ae49)));}}function Ss(_0x44c769){const _0x59ad79=_0x355e9d;return _0x44c769[_0x59ad79(0x1ce)]()[_0x59ad79(0x1d0)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xae4886=_0x1856;(function(_0x22ff9a,_0x14bcaa){const _0x470c99=_0x1856,_0x144ddc=_0x22ff9a();while(!![]){try{const _0x394c0e=parseInt(_0x470c99(0x1d9))/0x1+parseInt(_0x470c99(0x1d1))/0x2+parseInt(_0x470c99(0x1ce))/0x3*(-parseInt(_0x470c99(0x1e6))/0x4)+parseInt(_0x470c99(0x1f1))/0x5*(parseInt(_0x470c99(0x1d5))/0x6)+parseInt(_0x470c99(0x1d6))/0x7+-parseInt(_0x470c99(0x1e0))/0x8*(parseInt(_0x470c99(0x1e2))/0x9)+parseInt(_0x470c99(0x1ec))/0xa*(-parseInt(_0x470c99(0x1e9))/0xb);if(_0x394c0e===_0x14bcaa)break;else _0x144ddc['push'](_0x144ddc['shift']());}catch(_0x5b5713){_0x144ddc['push'](_0x144ddc['shift']());}}}(_0x4cdd,0x5d903));import{Command as _0x322193}from'ckeditor5/src/core.js';import _0x297b99 from'../aiassistantui.js';function _0x4cdd(){const _0x4bd387=['requiresContent','ai.aiAssistant.disabledElements','451144eYsOsJ','document','includes','selection','length','refresh','set','104Uvfwjm','_hasContext','124731qWnUOf','isEmpty','change:isEnabled','config','28732ephhWy','getItems','model','876007qlKBZF','isEnabled','element','20lkRzTS','editor','add','hasContent','change:_hasContext','6315novLMa','values','showUI','get','from','custom','execute','enabledCommandsIds','_commandDefinitions','getRanges','135BLFCEh','name','isCollapsed','109534MqxAYD','getSelectedBlocks','getFirstRange','plugins','1602IOXunK','1419453KEEvsr'];_0x4cdd=function(){return _0x4bd387;};return _0x4cdd();}export default class C extends _0x322193{constructor(_0x1bbce1,_0x4c8ca0){const _0x444d33=_0x1856;super(_0x1bbce1),this[_0x444d33(0x1cc)]=_0x4c8ca0,this[_0x444d33(0x1df)](_0x444d33(0x1cb),[]),this['on'](_0x444d33(0x1f0),(_0x382c56,_0x183a90,_0x12c641)=>{const _0x2745a1=_0x444d33;this[_0x2745a1(0x1ea)]&&(this[_0x2745a1(0x1cb)]=F(this[_0x2745a1(0x1cc)],_0x12c641));}),this[_0x444d33(0x1df)](_0x444d33(0x1e1),!0x1),this['on'](_0x444d33(0x1e4),(_0x288c00,_0x1e7eaa,_0x178133)=>{const _0x3abb7f=_0x444d33;this[_0x3abb7f(0x1cb)]=_0x178133?F(this[_0x3abb7f(0x1cc)],this[_0x3abb7f(0x1e1)]):[];});}[_0xae4886(0x1de)](){const _0x355fc7=_0xae4886,_0x846e43=this[_0x355fc7(0x1ed)][_0x355fc7(0x1e8)];this[_0x355fc7(0x1e1)]=function(_0x455c5d){const _0xe17af=_0x355fc7,_0xf6004d=_0x455c5d[_0xe17af(0x1da)][_0xe17af(0x1dc)];return _0xf6004d[_0xe17af(0x1d0)]?0x0!==[..._0xf6004d[_0xe17af(0x1d2)]()][_0xe17af(0x1dd)]&&![..._0xf6004d[_0xe17af(0x1d2)]()][0x0][_0xe17af(0x1e3)]:!!_0x455c5d[_0xe17af(0x1ef)](_0xf6004d[_0xe17af(0x1d3)]());}(_0x846e43);const _0x1c85f5=_0x846e43[_0x355fc7(0x1da)][_0x355fc7(0x1dc)],_0x80e7be=this[_0x355fc7(0x1ed)][_0x355fc7(0x1e5)][_0x355fc7(0x1f4)](_0x355fc7(0x1d8));for(const _0x4dbd1c of _0x1c85f5[_0x355fc7(0x1cd)]())for(const _0x586dbb of _0x4dbd1c[_0x355fc7(0x1e7)]())if(_0x586dbb['is'](_0x355fc7(0x1eb))&&_0x80e7be[_0x355fc7(0x1db)](_0x586dbb[_0x355fc7(0x1cf)]))return void(this[_0x355fc7(0x1ea)]=!0x1);this[_0x355fc7(0x1ea)]=!0x0;}[_0xae4886(0x1ca)](_0x39bfe7='',_0x18ff52='',_0x363c96=_0xae4886(0x1f6)){const _0x16c1dd=_0xae4886;this[_0x16c1dd(0x1ed)][_0x16c1dd(0x1d4)][_0x16c1dd(0x1f4)](_0x297b99)[_0x16c1dd(0x1f3)](_0x39bfe7,_0x18ff52,_0x363c96);}}function _0x1856(_0x248482,_0x2f78e0){const _0x4cdd25=_0x4cdd();return _0x1856=function(_0x185645,_0x3c1621){_0x185645=_0x185645-0x1ca;let _0x16b8bf=_0x4cdd25[_0x185645];return _0x16b8bf;},_0x1856(_0x248482,_0x2f78e0);}function F(_0x3ed97c,_0x189211){const _0x57bd06=_0xae4886,_0x37f544=new Set();for(const _0x56d82c of _0x3ed97c[_0x57bd06(0x1f2)]())(_0x189211||!0x1===_0x56d82c[_0x57bd06(0x1d7)])&&_0x37f544[_0x57bd06(0x1ee)](_0x56d82c['id']);return Array[_0x57bd06(0x1f5)](_0x37f544);}
23
+ const _0x5abbb2=_0xc85c;(function(_0x29b765,_0x3d78d5){const _0x39c1fb=_0xc85c,_0x5b7d84=_0x29b765();while(!![]){try{const _0x18d0ad=parseInt(_0x39c1fb(0x146))/0x1*(-parseInt(_0x39c1fb(0x14d))/0x2)+-parseInt(_0x39c1fb(0x159))/0x3+parseInt(_0x39c1fb(0x13b))/0x4+parseInt(_0x39c1fb(0x14f))/0x5*(-parseInt(_0x39c1fb(0x153))/0x6)+parseInt(_0x39c1fb(0x148))/0x7*(-parseInt(_0x39c1fb(0x145))/0x8)+-parseInt(_0x39c1fb(0x139))/0x9+parseInt(_0x39c1fb(0x13c))/0xa;if(_0x18d0ad===_0x3d78d5)break;else _0x5b7d84['push'](_0x5b7d84['shift']());}catch(_0x40e3c3){_0x5b7d84['push'](_0x5b7d84['shift']());}}}(_0x4ca8,0x3dc7d));import{Command as _0x515a7e}from'ckeditor5/src/core.js';import _0x539ff0 from'../aiassistantui.js';export default class C extends _0x515a7e{constructor(_0x7a10e2,_0x29516f){const _0x27d335=_0xc85c;super(_0x7a10e2),this[_0x27d335(0x157)]=_0x29516f,this[_0x27d335(0x152)](_0x27d335(0x156),[]),this['on'](_0x27d335(0x14c),(_0x504451,_0x58ae70,_0x3c956b)=>{const _0x418b5b=_0x27d335;this[_0x418b5b(0x135)]&&(this[_0x418b5b(0x156)]=F(this[_0x418b5b(0x157)],_0x3c956b));}),this[_0x27d335(0x152)](_0x27d335(0x143),!0x1),this['on'](_0x27d335(0x158),(_0x36744b,_0x1a1ada,_0x415dcf)=>{const _0x380220=_0x27d335;this[_0x380220(0x156)]=_0x415dcf?F(this[_0x380220(0x157)],this[_0x380220(0x143)]):[];});}[_0x5abbb2(0x151)](){const _0x4fbd71=_0x5abbb2,_0x55d8e5=this[_0x4fbd71(0x144)][_0x4fbd71(0x15a)];this[_0x4fbd71(0x143)]=function(_0x29a4fd){const _0x25c5ec=_0x4fbd71,_0x23b561=_0x29a4fd[_0x25c5ec(0x13d)][_0x25c5ec(0x13a)];return _0x23b561[_0x25c5ec(0x155)]?0x0!==[..._0x23b561[_0x25c5ec(0x14b)]()][_0x25c5ec(0x15e)]&&![..._0x23b561[_0x25c5ec(0x14b)]()][0x0][_0x25c5ec(0x14e)]:!!_0x29a4fd[_0x25c5ec(0x140)](_0x23b561[_0x25c5ec(0x154)]());}(_0x55d8e5);const _0x9b943b=_0x55d8e5[_0x4fbd71(0x13d)][_0x4fbd71(0x13a)],_0x5523fe=this[_0x4fbd71(0x144)][_0x4fbd71(0x14a)][_0x4fbd71(0x149)](_0x4fbd71(0x13f));for(const _0x5cd7d7 of _0x9b943b[_0x4fbd71(0x138)]())for(const _0x32806e of _0x5cd7d7[_0x4fbd71(0x134)]())if(_0x32806e['is'](_0x4fbd71(0x150))&&_0x5523fe[_0x4fbd71(0x136)](_0x32806e[_0x4fbd71(0x15d)]))return void(this[_0x4fbd71(0x135)]=!0x1);this[_0x4fbd71(0x135)]=!0x0;}[_0x5abbb2(0x15c)](_0x282d59='',_0x111d2d='',_0x453573=_0x5abbb2(0x142)){const _0x4dce0b=_0x5abbb2;this[_0x4dce0b(0x144)][_0x4dce0b(0x13e)][_0x4dce0b(0x149)](_0x539ff0)[_0x4dce0b(0x133)](_0x282d59,_0x111d2d,_0x453573);}}function F(_0x2ffff7,_0x21ba46){const _0x12da22=_0x5abbb2,_0x202bc0=new Set();for(const _0x392df1 of _0x2ffff7[_0x12da22(0x15b)]())(_0x21ba46||!0x1===_0x392df1[_0x12da22(0x147)])&&_0x202bc0[_0x12da22(0x137)](_0x392df1['id']);return Array[_0x12da22(0x141)](_0x202bc0);}function _0xc85c(_0x573935,_0xd3069c){const _0x4ca824=_0x4ca8();return _0xc85c=function(_0xc85c09,_0x13fe2d){_0xc85c09=_0xc85c09-0x133;let _0x57fd74=_0x4ca824[_0xc85c09];return _0x57fd74;},_0xc85c(_0x573935,_0xd3069c);}function _0x4ca8(){const _0x187807=['showUI','getItems','isEnabled','includes','add','getRanges','375876kBzLJK','selection','963888VkugYZ','10880430zqJMHy','document','plugins','ai.aiAssistant.disabledElements','hasContent','from','custom','_hasContext','editor','10744DpMsqm','7OhvXfT','requiresContent','2415AodQhE','get','config','getSelectedBlocks','change:_hasContext','100834TecqGu','isEmpty','383030YjrrRU','element','refresh','set','6FvEuLf','getFirstRange','isCollapsed','enabledCommandsIds','_commandDefinitions','change:isEnabled','424014kzJISf','model','values','execute','name','length'];_0x4ca8=function(){return _0x187807;};return _0x4ca8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4b0b9f,_0x4e2597,_0x9446ce){const t=_0x4b0b9f['t'];switch(_0x4e2597){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',_0x9446ce);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x9446ce);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'},_0x9446ce);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 _0x4e2597;}}
23
+ export function getTranslation(_0x4e3f26,_0xfa852c,_0x2dd7f6){const t=_0x4e3f26['t'];switch(_0xfa852c){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',_0x2dd7f6);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2dd7f6);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'},_0x2dd7f6);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 _0xfa852c;}}