@ckeditor/ckeditor5-ai 45.1.0 → 45.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x220ac8=_0x10a9;(function(_0x58778c,_0x2594e3){const _0x36ac8d=_0x10a9,_0x3d116c=_0x58778c();while(!![]){try{const _0x1b521d=-parseInt(_0x36ac8d(0x155))/0x1*(-parseInt(_0x36ac8d(0x13b))/0x2)+parseInt(_0x36ac8d(0x11b))/0x3*(-parseInt(_0x36ac8d(0x162))/0x4)+-parseInt(_0x36ac8d(0x15f))/0x5*(parseInt(_0x36ac8d(0x15d))/0x6)+-parseInt(_0x36ac8d(0x157))/0x7*(parseInt(_0x36ac8d(0x15e))/0x8)+-parseInt(_0x36ac8d(0x14c))/0x9+parseInt(_0x36ac8d(0x114))/0xa*(-parseInt(_0x36ac8d(0x119))/0xb)+parseInt(_0x36ac8d(0x166))/0xc;if(_0x1b521d===_0x2594e3)break;else _0x3d116c['push'](_0x3d116c['shift']());}catch(_0x42b4aa){_0x3d116c['push'](_0x3d116c['shift']());}}}(_0x28c1,0xa4857));import{global as _0x4e88f6}from'ckeditor5/src/utils.js';import{View as _0x2d0c19,ButtonView as _0x48f12e,SpinnerView as _0x488056}from'ckeditor5/src/ui.js';function _0x28c1(){const _0x22daeb=['listenTo','.ck-ai-form__loader','4rwaqNy','mousedown','class','copy','30615132cMIdEt','ck-ai-form__loader','_createLoader','write','setEndBefore','11635610eYKQxF','wheel','text/plain','createRange','<span>[</span>','11BVXwgU','ck-content','1140186ZtrVCj','value','ck-ai-form__copy-button-wrapper','bind','absolute','bindTemplate','AI\x20is\x20writing...','innerHTML','appendChild','_createCopyButton','change:isProcessing','textContent','setTemplate','createElement','ck-ai-form__content-area','Copy','scrollTo','removeAllRanges','loaderView','lastElementChild','render','smooth','ck-ai-form__content-area--processing','contentFieldView','icon','ck-hidden','element','ck-ai-form__copy-button','isVisible','position','setStartAfter','querySelector','69166YkzRFK','set','execCommand','ck-ai-form__content-area-wrapper','ClipboardItem','-9999px','\x20ck-ai-form__copy-button--copied','text/html','execute','copyButtonView','remove','body','clipboard','ck-ai-form__content-field','<span>]</span>','isEnabled','locale','7212015koVVRT','setContent','isProcessing','focus','appendLoader','firstElementChild','left','_copyHTMLToClipboard','addRange','31rjAmmv','scrollHeight','2527308HYawTZ','style','change:value','ck-reset_all-excluded','div','getSelection','69558TGgNap','8aCiXnr','105vKLzDV'];_0x28c1=function(){return _0x22daeb;};return _0x28c1();}import{IconCheck as _0x509825,IconCopy as _0x577d7b}from'ckeditor5/src/icons.js';import{getTranslation as _0x4d191c}from'../../utils/common-translations.js';export default class Y extends _0x2d0c19{[_0x220ac8(0x132)];[_0x220ac8(0x144)];constructor(_0x94a13b,_0x2652d4=''){const _0x5ccf0b=_0x220ac8;super(_0x94a13b),this[_0x5ccf0b(0x13c)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x481ed3=this[_0x5ccf0b(0x120)];this[_0x5ccf0b(0x132)]=new ContentFieldView(_0x94a13b,_0x2652d4),this[_0x5ccf0b(0x144)]=this[_0x5ccf0b(0x124)](),this[_0x5ccf0b(0x127)]({'tag':_0x5ccf0b(0x15b),'attributes':{'class':['ck',_0x5ccf0b(0x13e),_0x481ed3['if'](_0x5ccf0b(0x137),_0x5ccf0b(0x134),_0x32298f=>!_0x32298f)],'tabindex':'-1'},'children':[{'tag':_0x5ccf0b(0x15b),'attributes':{'class':['ck',_0x5ccf0b(0x129),_0x481ed3['if'](_0x5ccf0b(0x14e),_0x5ccf0b(0x131))]},'children':[this[_0x5ccf0b(0x132)],{'tag':_0x5ccf0b(0x15b),'attributes':{'class':['ck',_0x5ccf0b(0x11d)]},'children':[this[_0x5ccf0b(0x144)]]}]}]});}[_0x220ac8(0x12f)](){const _0x429887=_0x220ac8;super[_0x429887(0x12f)](),this[_0x429887(0x11c)]&&this[_0x429887(0x132)][_0x429887(0x14d)](this[_0x429887(0x11c)]);let _0xae585c=!0x1;this['on'](_0x429887(0x159),(_0x382205,_0x7a6744,_0x3513af)=>{const _0x55294f=_0x429887,_0x354801=!this[_0x55294f(0x132)][_0x55294f(0x135)][_0x55294f(0x13a)](_0x55294f(0x161));this[_0x55294f(0x132)][_0x55294f(0x14d)](_0x3513af),this[_0x55294f(0x14e)]&&_0x354801&&!_0xae585c&&this[_0x55294f(0x135)][_0x55294f(0x12b)]({'top':this[_0x55294f(0x135)][_0x55294f(0x156)],'behavior':_0x55294f(0x130)});}),this['on'](_0x429887(0x125),(_0x5acc6a,_0x55ccd1,_0x402161)=>{const _0x545766=_0x429887;_0xae585c=!0x1,_0x402161?(this[_0x545766(0x11c)]=null,this[_0x545766(0x132)][_0x545766(0x150)]()):this[_0x545766(0x11c)]||this[_0x545766(0x132)][_0x545766(0x14d)]('');}),this[_0x429887(0x160)](this[_0x429887(0x135)],_0x429887(0x115),()=>{_0xae585c=!0x0;}),this[_0x429887(0x160)](this[_0x429887(0x135)],_0x429887(0x163),()=>{_0xae585c=!0x0;});}[_0x220ac8(0x14f)](){const _0x1bec9b=_0x220ac8;this[_0x1bec9b(0x135)][_0x1bec9b(0x14f)]();}[_0x220ac8(0x124)](){const _0x281c09=_0x220ac8,_0x213a83=this[_0x281c09(0x14b)],_0x5bb8a4=new _0x48f12e(this[_0x281c09(0x14b)]),_0x51de95=_0x281c09(0x136);return _0x5bb8a4[_0x281c09(0x13c)]({'label':_0x4d191c(_0x213a83,_0x281c09(0x12a)),'icon':_0x577d7b,'class':_0x51de95,'tooltip':!0x0}),_0x5bb8a4[_0x281c09(0x11e)](_0x281c09(0x137))['to'](this,_0x281c09(0x11c),_0x359a71=>!!_0x359a71),_0x5bb8a4[_0x281c09(0x11e)](_0x281c09(0x14a))['to'](this,_0x281c09(0x14e),_0x4c68a9=>!_0x4c68a9),_0x5bb8a4['on'](_0x281c09(0x143),()=>{const _0x840b90=_0x281c09;this[_0x840b90(0x153)](this[_0x840b90(0x132)][_0x840b90(0x135)]),_0x5bb8a4[_0x840b90(0x133)]=_0x509825,_0x5bb8a4[_0x840b90(0x164)]=_0x51de95+_0x840b90(0x141),this[_0x840b90(0x14f)](),setTimeout(()=>{const _0x2c9779=_0x840b90;_0x5bb8a4[_0x2c9779(0x133)]=_0x577d7b,_0x5bb8a4[_0x2c9779(0x164)]=_0x51de95;},0x3e8);}),_0x5bb8a4;}[_0x220ac8(0x153)](_0x4f8b57){const _0x5c4a5c=_0x220ac8,{window:_0x125ca8,document:_0x275624}=_0x4e88f6;if(_0x125ca8[_0x5c4a5c(0x13f)]){const {Blob:_0x53fbe6,ClipboardItem:_0x2e955a}=_0x125ca8,_0x1511c7=[new _0x2e955a({'text/html':new _0x53fbe6([_0x4f8b57[_0x5c4a5c(0x122)]],{'type':_0x5c4a5c(0x142)}),'text/plain':new _0x53fbe6([_0x4f8b57[_0x5c4a5c(0x126)]||''],{'type':_0x5c4a5c(0x116)})})];navigator[_0x5c4a5c(0x147)][_0x5c4a5c(0x112)](_0x1511c7);}else{const _0x4f18ba=_0x275624[_0x5c4a5c(0x128)](_0x5c4a5c(0x15b));_0x4f18ba[_0x5c4a5c(0x158)][_0x5c4a5c(0x138)]=_0x5c4a5c(0x11f),_0x4f18ba[_0x5c4a5c(0x158)][_0x5c4a5c(0x152)]=_0x5c4a5c(0x140),_0x4f18ba[_0x5c4a5c(0x122)]=_0x5c4a5c(0x118)+_0x4f8b57[_0x5c4a5c(0x122)]+_0x5c4a5c(0x149),_0x275624[_0x5c4a5c(0x146)][_0x5c4a5c(0x123)](_0x4f18ba);const _0x478e5b=_0x275624[_0x5c4a5c(0x117)]();_0x478e5b[_0x5c4a5c(0x139)](_0x4f18ba[_0x5c4a5c(0x151)]),_0x478e5b[_0x5c4a5c(0x113)](_0x4f18ba[_0x5c4a5c(0x12e)]);const _0x561917=_0x125ca8[_0x5c4a5c(0x15c)]();_0x561917[_0x5c4a5c(0x12c)](),_0x561917[_0x5c4a5c(0x154)](_0x478e5b),_0x275624[_0x5c4a5c(0x13d)](_0x5c4a5c(0x165)),_0x4f18ba[_0x5c4a5c(0x145)]();}}}function _0x10a9(_0x372186,_0x29eff5){const _0x28c15d=_0x28c1();return _0x10a9=function(_0x10a98b,_0x401f3d){_0x10a98b=_0x10a98b-0x112;let _0x1bff87=_0x28c15d[_0x10a98b];return _0x1bff87;},_0x10a9(_0x372186,_0x29eff5);}export class ContentFieldView extends _0x2d0c19{constructor(_0x218782,_0x1341ff=''){const _0x19c934=_0x220ac8;super(_0x218782),this[_0x19c934(0x12d)]=this[_0x19c934(0x168)](),this[_0x19c934(0x127)]({'tag':_0x19c934(0x15b),'attributes':{'class':['ck',_0x19c934(0x11a),_0x1341ff,_0x19c934(0x15a),_0x19c934(0x148)]}});}[_0x220ac8(0x14d)](_0x3617fb){const _0x507ff7=_0x220ac8;this[_0x507ff7(0x135)][_0x507ff7(0x122)]=_0x3617fb;}[_0x220ac8(0x150)](){const _0x313c4b=_0x220ac8;this[_0x313c4b(0x135)][_0x313c4b(0x123)](this[_0x313c4b(0x12d)][_0x313c4b(0x135)]);}[_0x220ac8(0x168)](){const _0x50d120=_0x220ac8,_0x1eb104=new _0x2d0c19(),_0x1a0b17=this[_0x50d120(0x14b)],_0x4516ab=new _0x488056();return _0x4516ab[_0x50d120(0x137)]=!0x0,_0x1eb104[_0x50d120(0x127)]({'tag':_0x50d120(0x15b),'attributes':{'class':['ck',_0x50d120(0x167)]},'children':[_0x4516ab,{'text':_0x4d191c(_0x1a0b17,_0x50d120(0x121))}]}),_0x1eb104[_0x50d120(0x12f)](),_0x1eb104;}}
23
+ const _0x5de9c5=_0xd867;(function(_0x1bc7af,_0x9c4203){const _0x31af57=_0xd867,_0x138815=_0x1bc7af();while(!![]){try{const _0x257b73=-parseInt(_0x31af57(0xe5))/0x1+parseInt(_0x31af57(0xdb))/0x2*(-parseInt(_0x31af57(0xed))/0x3)+-parseInt(_0x31af57(0xcf))/0x4*(-parseInt(_0x31af57(0xcc))/0x5)+parseInt(_0x31af57(0xba))/0x6+-parseInt(_0x31af57(0xb3))/0x7+-parseInt(_0x31af57(0xc8))/0x8+parseInt(_0x31af57(0xd6))/0x9;if(_0x257b73===_0x9c4203)break;else _0x138815['push'](_0x138815['shift']());}catch(_0x49947e){_0x138815['push'](_0x138815['shift']());}}}(_0x25b5,0xadf1b));function _0x25b5(){const _0x114983=['createElement','<span>[</span>','textContent','ck-hidden','scrollHeight','addRange','set','8247939ZknzAa','appendChild','ck-reset_all-excluded','text/html','setStartAfter','lastElementChild','element','1644864HdLULE','<span>]</span>','style','appendLoader','-9999px','ClipboardItem','firstElementChild','ck-ai-form__copy-button-wrapper','focus','getSelection','execute','execCommand','setTemplate','write','9442776RFhmWO','left','contentFieldView','remove','5305dnNWHU','bind','ck-ai-form__loader','4756OuwDfI','listenTo','loaderView','AI\x20is\x20writing...','_copyHTMLToClipboard','copy','absolute','25107273FoGDGy','Copy','setContent','removeAllRanges','wheel','2OwagIf','ck-ai-form__content-area-wrapper','ck-content','div','smooth','render','position','isEnabled','ck-ai-form__content-field','createRange','707610YkyKDD','setEndBefore','value','icon','ck-ai-form__content-area--processing','class','change:isProcessing','body','1639983fvTlhk','_createCopyButton','bindTemplate','scrollTo','mousedown','isVisible','ck-ai-form__copy-button','change:value','_createLoader','locale','clipboard','isProcessing','text/plain','\x20ck-ai-form__copy-button--copied','copyButtonView','ck-ai-form__content-area','.ck-ai-form__loader','querySelector','innerHTML'];_0x25b5=function(){return _0x114983;};return _0x25b5();}import{global as _0x3d5b24}from'ckeditor5/src/utils.js';import{View as _0x1b6383,ButtonView as _0x3eb39d,SpinnerView as _0x5da88b}from'ckeditor5/src/ui.js';import{IconCheck as _0x58ab47,IconCopy as _0x4ce9f9}from'ckeditor5/src/icons.js';import{getTranslation as _0xfce267}from'../../utils/common-translations.js';function _0xd867(_0x1abdf2,_0x23b71a){const _0x25b5d9=_0x25b5();return _0xd867=function(_0xd86788,_0x1752d2){_0xd86788=_0xd86788-0xa1;let _0x3314c9=_0x25b5d9[_0xd86788];return _0x3314c9;},_0xd867(_0x1abdf2,_0x23b71a);}export default class Y extends _0x1b6383{[_0x5de9c5(0xca)];[_0x5de9c5(0xa7)];constructor(_0x5adff7,_0x50b17e=''){const _0x4abaa8=_0x5de9c5;super(_0x5adff7),this[_0x4abaa8(0xb2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x48cc82=this[_0x4abaa8(0xef)];this[_0x4abaa8(0xca)]=new ContentFieldView(_0x5adff7,_0x50b17e),this[_0x4abaa8(0xa7)]=this[_0x4abaa8(0xee)](),this[_0x4abaa8(0xc6)]({'tag':_0x4abaa8(0xde),'attributes':{'class':['ck',_0x4abaa8(0xdc),_0x48cc82['if'](_0x4abaa8(0xf2),_0x4abaa8(0xaf),_0x4b35ae=>!_0x4b35ae)],'tabindex':'-1'},'children':[{'tag':_0x4abaa8(0xde),'attributes':{'class':['ck',_0x4abaa8(0xa8),_0x48cc82['if'](_0x4abaa8(0xa4),_0x4abaa8(0xe9))]},'children':[this[_0x4abaa8(0xca)],{'tag':_0x4abaa8(0xde),'attributes':{'class':['ck',_0x4abaa8(0xc1)]},'children':[this[_0x4abaa8(0xa7)]]}]}]});}[_0x5de9c5(0xe0)](){const _0xc61841=_0x5de9c5;super[_0xc61841(0xe0)](),this[_0xc61841(0xe7)]&&this[_0xc61841(0xca)][_0xc61841(0xd8)](this[_0xc61841(0xe7)]);let _0x4eac1e=!0x1;this['on'](_0xc61841(0xf4),(_0x43ed18,_0x203408,_0x4e31c5)=>{const _0x9b670f=_0xc61841,_0x37fe7d=!this[_0x9b670f(0xca)][_0x9b670f(0xb9)][_0x9b670f(0xaa)](_0x9b670f(0xa9));this[_0x9b670f(0xca)][_0x9b670f(0xd8)](_0x4e31c5),this[_0x9b670f(0xa4)]&&_0x37fe7d&&!_0x4eac1e&&this[_0x9b670f(0xb9)][_0x9b670f(0xf0)]({'top':this[_0x9b670f(0xb9)][_0x9b670f(0xb0)],'behavior':_0x9b670f(0xdf)});}),this['on'](_0xc61841(0xeb),(_0x2eae70,_0x286180,_0x4c965b)=>{const _0x4da1d9=_0xc61841;_0x4eac1e=!0x1,_0x4c965b?(this[_0x4da1d9(0xe7)]=null,this[_0x4da1d9(0xca)][_0x4da1d9(0xbd)]()):this[_0x4da1d9(0xe7)]||this[_0x4da1d9(0xca)][_0x4da1d9(0xd8)]('');}),this[_0xc61841(0xd0)](this[_0xc61841(0xb9)],_0xc61841(0xda),()=>{_0x4eac1e=!0x0;}),this[_0xc61841(0xd0)](this[_0xc61841(0xb9)],_0xc61841(0xf1),()=>{_0x4eac1e=!0x0;});}[_0x5de9c5(0xc2)](){const _0x330ffd=_0x5de9c5;this[_0x330ffd(0xb9)][_0x330ffd(0xc2)]();}[_0x5de9c5(0xee)](){const _0x330b36=_0x5de9c5,_0x4c6887=this[_0x330b36(0xa2)],_0x1623e=new _0x3eb39d(this[_0x330b36(0xa2)]),_0x2dba44=_0x330b36(0xf3);return _0x1623e[_0x330b36(0xb2)]({'label':_0xfce267(_0x4c6887,_0x330b36(0xd7)),'icon':_0x4ce9f9,'class':_0x2dba44,'tooltip':!0x0}),_0x1623e[_0x330b36(0xcd)](_0x330b36(0xf2))['to'](this,_0x330b36(0xe7),_0x25235c=>!!_0x25235c),_0x1623e[_0x330b36(0xcd)](_0x330b36(0xe2))['to'](this,_0x330b36(0xa4),_0x512a17=>!_0x512a17),_0x1623e['on'](_0x330b36(0xc4),()=>{const _0x21e99b=_0x330b36;this[_0x21e99b(0xd3)](this[_0x21e99b(0xca)][_0x21e99b(0xb9)]),_0x1623e[_0x21e99b(0xe8)]=_0x58ab47,_0x1623e[_0x21e99b(0xea)]=_0x2dba44+_0x21e99b(0xa6),this[_0x21e99b(0xc2)](),setTimeout(()=>{const _0x129056=_0x21e99b;_0x1623e[_0x129056(0xe8)]=_0x4ce9f9,_0x1623e[_0x129056(0xea)]=_0x2dba44;},0x3e8);}),_0x1623e;}[_0x5de9c5(0xd3)](_0x586d7a){const _0x2f426d=_0x5de9c5,{window:_0x5a8432,document:_0xa826ed}=_0x3d5b24;if(_0x5a8432[_0x2f426d(0xbf)]){const {Blob:_0x4956d1,ClipboardItem:_0xa1be03}=_0x5a8432,_0x5320ba=[new _0xa1be03({'text/html':new _0x4956d1([_0x586d7a[_0x2f426d(0xab)]],{'type':_0x2f426d(0xb6)}),'text/plain':new _0x4956d1([_0x586d7a[_0x2f426d(0xae)]||''],{'type':_0x2f426d(0xa5)})})];navigator[_0x2f426d(0xa3)][_0x2f426d(0xc7)](_0x5320ba);}else{const _0xccaae9=_0xa826ed[_0x2f426d(0xac)](_0x2f426d(0xde));_0xccaae9[_0x2f426d(0xbc)][_0x2f426d(0xe1)]=_0x2f426d(0xd5),_0xccaae9[_0x2f426d(0xbc)][_0x2f426d(0xc9)]=_0x2f426d(0xbe),_0xccaae9[_0x2f426d(0xab)]=_0x2f426d(0xad)+_0x586d7a[_0x2f426d(0xab)]+_0x2f426d(0xbb),_0xa826ed[_0x2f426d(0xec)][_0x2f426d(0xb4)](_0xccaae9);const _0x267ce4=_0xa826ed[_0x2f426d(0xe4)]();_0x267ce4[_0x2f426d(0xb7)](_0xccaae9[_0x2f426d(0xc0)]),_0x267ce4[_0x2f426d(0xe6)](_0xccaae9[_0x2f426d(0xb8)]);const _0x25833b=_0x5a8432[_0x2f426d(0xc3)]();_0x25833b[_0x2f426d(0xd9)](),_0x25833b[_0x2f426d(0xb1)](_0x267ce4),_0xa826ed[_0x2f426d(0xc5)](_0x2f426d(0xd4)),_0xccaae9[_0x2f426d(0xcb)]();}}}export class ContentFieldView extends _0x1b6383{constructor(_0x2737ac,_0x775e71=''){const _0x594da0=_0x5de9c5;super(_0x2737ac),this[_0x594da0(0xd1)]=this[_0x594da0(0xa1)](),this[_0x594da0(0xc6)]({'tag':_0x594da0(0xde),'attributes':{'class':['ck',_0x594da0(0xdd),_0x775e71,_0x594da0(0xb5),_0x594da0(0xe3)]}});}[_0x5de9c5(0xd8)](_0x24a6d6){const _0xa23354=_0x5de9c5;this[_0xa23354(0xb9)][_0xa23354(0xab)]=_0x24a6d6;}[_0x5de9c5(0xbd)](){const _0x39f19f=_0x5de9c5;this[_0x39f19f(0xb9)][_0x39f19f(0xb4)](this[_0x39f19f(0xd1)][_0x39f19f(0xb9)]);}[_0x5de9c5(0xa1)](){const _0x595dc3=_0x5de9c5,_0x2b0a54=new _0x1b6383(),_0x301e58=this[_0x595dc3(0xa2)],_0x12aacc=new _0x5da88b();return _0x12aacc[_0x595dc3(0xf2)]=!0x0,_0x2b0a54[_0x595dc3(0xc6)]({'tag':_0x595dc3(0xde),'attributes':{'class':['ck',_0x595dc3(0xce)]},'children':[_0x12aacc,{'text':_0xfce267(_0x301e58,_0x595dc3(0xd2))}]}),_0x2b0a54[_0x595dc3(0xe0)](),_0x2b0a54;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1f2133,_0x33823d){const _0x4f38c7=_0x243d,_0x5a40fc=_0x1f2133();while(!![]){try{const _0x169043=parseInt(_0x4f38c7(0x168))/0x1+parseInt(_0x4f38c7(0x16c))/0x2+parseInt(_0x4f38c7(0x177))/0x3*(parseInt(_0x4f38c7(0x171))/0x4)+parseInt(_0x4f38c7(0x169))/0x5*(parseInt(_0x4f38c7(0x176))/0x6)+parseInt(_0x4f38c7(0x16e))/0x7*(-parseInt(_0x4f38c7(0x175))/0x8)+parseInt(_0x4f38c7(0x170))/0x9*(-parseInt(_0x4f38c7(0x172))/0xa)+parseInt(_0x4f38c7(0x16d))/0xb;if(_0x169043===_0x33823d)break;else _0x5a40fc['push'](_0x5a40fc['shift']());}catch(_0x2d2336){_0x5a40fc['push'](_0x5a40fc['shift']());}}}(_0x1e93,0x7dbd5));import{IconError as _0x5c9a99}from'ckeditor5/src/icons.js';function _0x1e93(){const _0x5ba007=['3906nqNccc','42oHIsyZ','content','text','358644qZqbIt','2935jmPYVN','bindTemplate','set','327398rauyQB','4710673yxvNrL','7gUUeal','ck-ai-form__error','535257tHRDXX','163708uYjgSI','130ldmCMN','setTemplate','div','4940184KBOpDm'];_0x1e93=function(){return _0x5ba007;};return _0x1e93();}function _0x243d(_0x2f5ea8,_0x33c2cc){const _0x1e93aa=_0x1e93();return _0x243d=function(_0x243d23,_0xe6300e){_0x243d23=_0x243d23-0x166;let _0x3692dd=_0x1e93aa[_0x243d23];return _0x3692dd;},_0x243d(_0x2f5ea8,_0x33c2cc);}import{View as _0x3d925d,IconView as _0x8188cf}from'ckeditor5/src/ui.js';export default class st extends _0x3d925d{constructor(_0x1dbf70,_0x1cd77e=''){const _0xa56a39=_0x243d;super(_0x1dbf70);const _0x336c1b=new _0x8188cf(),_0x2d4293=this[_0xa56a39(0x16a)];this[_0xa56a39(0x16b)](_0xa56a39(0x167),_0x1cd77e),_0x336c1b[_0xa56a39(0x166)]=_0x5c9a99,this[_0xa56a39(0x173)]({'tag':_0xa56a39(0x174),'attributes':{'class':['ck',_0xa56a39(0x16f)]},'children':[_0x336c1b,{'text':_0x2d4293['to'](_0xa56a39(0x167))}]});}}
23
+ (function(_0x23957a,_0x3b8e1c){const _0x2237a0=_0x4971,_0x4b0ff8=_0x23957a();while(!![]){try{const _0x5db42b=-parseInt(_0x2237a0(0x10c))/0x1*(parseInt(_0x2237a0(0x104))/0x2)+parseInt(_0x2237a0(0x10a))/0x3*(-parseInt(_0x2237a0(0x107))/0x4)+-parseInt(_0x2237a0(0x10b))/0x5*(-parseInt(_0x2237a0(0x114))/0x6)+parseInt(_0x2237a0(0x10d))/0x7*(parseInt(_0x2237a0(0x103))/0x8)+-parseInt(_0x2237a0(0x106))/0x9*(parseInt(_0x2237a0(0x116))/0xa)+parseInt(_0x2237a0(0x113))/0xb*(parseInt(_0x2237a0(0x115))/0xc)+-parseInt(_0x2237a0(0x112))/0xd*(-parseInt(_0x2237a0(0x102))/0xe);if(_0x5db42b===_0x3b8e1c)break;else _0x4b0ff8['push'](_0x4b0ff8['shift']());}catch(_0x4550c9){_0x4b0ff8['push'](_0x4b0ff8['shift']());}}}(_0x38fc,0x7adf6));function _0x38fc(){const _0x1bf8c3=['text','13deumEN','264tMLPoB','240qCNJgf','148776UCKWqg','5050hYyDOk','8163092LUfYdO','9168hsFZcj','214516NJdxwS','ck-ai-form__error','4545ufXpeo','4tCHSkw','setTemplate','content','2689515rjwkrm','117280nlANno','7cTPCZR','3584GnMHkx','set','bindTemplate','div'];_0x38fc=function(){return _0x1bf8c3;};return _0x38fc();}function _0x4971(_0x1b566e,_0x426305){const _0x38fc81=_0x38fc();return _0x4971=function(_0x49715f,_0x33c135){_0x49715f=_0x49715f-0x102;let _0x92e0c=_0x38fc81[_0x49715f];return _0x92e0c;},_0x4971(_0x1b566e,_0x426305);}import{IconError as _0x1e0363}from'ckeditor5/src/icons.js';import{View as _0x3e1937,IconView as _0x2ec6a6}from'ckeditor5/src/ui.js';export default class st extends _0x3e1937{constructor(_0x24e5a6,_0x5da741=''){const _0x5c19a6=_0x4971;super(_0x24e5a6);const _0x18cebf=new _0x2ec6a6(),_0x337bc8=this[_0x5c19a6(0x10f)];this[_0x5c19a6(0x10e)](_0x5c19a6(0x111),_0x5da741),_0x18cebf[_0x5c19a6(0x109)]=_0x1e0363,this[_0x5c19a6(0x108)]({'tag':_0x5c19a6(0x110),'attributes':{'class':['ck',_0x5c19a6(0x105)]},'children':[_0x18cebf,{'text':_0x337bc8['to'](_0x5c19a6(0x111))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54febb=_0x3a75;(function(_0x1e60ed,_0x1235fa){const _0x15cbbf=_0x3a75,_0x5be4e2=_0x1e60ed();while(!![]){try{const _0x3eb16c=parseInt(_0x15cbbf(0x155))/0x1*(-parseInt(_0x15cbbf(0x15a))/0x2)+parseInt(_0x15cbbf(0x142))/0x3+parseInt(_0x15cbbf(0x145))/0x4+parseInt(_0x15cbbf(0x168))/0x5+-parseInt(_0x15cbbf(0x13b))/0x6+parseInt(_0x15cbbf(0x14e))/0x7*(-parseInt(_0x15cbbf(0x166))/0x8)+parseInt(_0x15cbbf(0x165))/0x9*(parseInt(_0x15cbbf(0x13d))/0xa);if(_0x3eb16c===_0x1235fa)break;else _0x5be4e2['push'](_0x5be4e2['shift']());}catch(_0x12b622){_0x5be4e2['push'](_0x5be4e2['shift']());}}}(_0xe068,0x2a376));import{Rect as _0x51282b,global as _0x4db623,isVisible as _0x329a04}from'ckeditor5/src/utils.js';import{IconHistory as _0x171db3,IconSubmit as _0x27417b}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x427a2f,ButtonView as _0x41f6c8}from'ckeditor5/src/ui.js';function _0xe068(){const _0x1d5474=['maxRows','render','enter','locale','left','isEnabled','1068504ZkYnzM','width','3703060SVCzad','keystrokes','_createShowHistoryButton','focusCycler','children','46023jstWHM','right','History','447180eJoxwr','requestAnimationFrame','focusFirst','set','fieldWrapperChildren','submitButtonView','isOn','update','style','378mcOidq','focus','uiLanguageDirection','window','minRows','element','isEmpty','39QUARCi','ck-ai-form__submit','ck-ai-form__toggle-history','resultsView','isVisible','3622hZyakB','bind','Submit','add','queryView','fieldView','execute','submit','rtl','filteredView','showHistoryButtonView','9cMsLeB','17648HOUcjN','value','216565FxhDXK','focusLast','_createSubmitButton','excludeScrollbarsAndBorders','fire','target','focusableChildren'];_0xe068=function(){return _0x1d5474;};return _0xe068();}function _0x3a75(_0x1e728c,_0x572c17){const _0xe0681c=_0xe068();return _0x3a75=function(_0x3a75d2,_0x2bb371){_0x3a75d2=_0x3a75d2-0x131;let _0x1101ea=_0xe0681c[_0x3a75d2];return _0x1101ea;},_0x3a75(_0x1e728c,_0x572c17);}import{getTranslation as _0x251564}from'../../utils/common-translations.js';export default class ct extends _0x427a2f{[_0x54febb(0x14a)];[_0x54febb(0x164)];constructor(_0x457aa0,_0x7eefb0){const _0x55d16a=_0x54febb;super(_0x457aa0,_0x7eefb0),this[_0x55d16a(0x15e)][_0x55d16a(0x15f)][_0x55d16a(0x152)]=0x1,this[_0x55d16a(0x15e)][_0x55d16a(0x15f)][_0x55d16a(0x135)]=0x3,this[_0x55d16a(0x14a)]=this[_0x55d16a(0x16a)](),this[_0x55d16a(0x164)]=this[_0x55d16a(0x13f)](),this[_0x55d16a(0x134)][_0x55d16a(0x15d)](this[_0x55d16a(0x164)],0x1),this[_0x55d16a(0x134)][_0x55d16a(0x15d)](this[_0x55d16a(0x14a)]);}[_0x54febb(0x136)](){const _0x3512f1=_0x54febb;super[_0x3512f1(0x136)](),this[_0x3512f1(0x15e)][_0x3512f1(0x149)][_0x3512f1(0x15d)](this[_0x3512f1(0x164)]),this[_0x3512f1(0x141)][_0x3512f1(0x15d)](this[_0x3512f1(0x14a)]),this[_0x3512f1(0x13e)][_0x3512f1(0x148)](_0x3512f1(0x137),(_0xb1f14f,_0x479fa6)=>{const _0x49b151=_0x3512f1;_0xb1f14f[_0x49b151(0x133)]==this[_0x49b151(0x15e)][_0x49b151(0x15f)][_0x49b151(0x153)]&&(this[_0x49b151(0x161)](),_0x479fa6());});}[_0x54febb(0x16a)](){const _0xd87af9=_0x54febb,_0x36fcfb=new _0x41f6c8(this[_0xd87af9(0x138)]),_0x1de6ef=this[_0xd87af9(0x138)];return _0x36fcfb[_0xd87af9(0x148)]({'icon':_0x27417b,'label':_0x251564(_0x1de6ef,_0xd87af9(0x15c)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xd87af9(0x156)}),_0x36fcfb['on'](_0xd87af9(0x160),()=>{const _0x3d9b0f=_0xd87af9;this[_0x3d9b0f(0x161)]();}),_0x36fcfb[_0xd87af9(0x15b)](_0xd87af9(0x13a))['to'](this[_0xd87af9(0x15e)][_0xd87af9(0x15f)],_0xd87af9(0x154),this,_0xd87af9(0x13a),(_0x4884b9,_0x5042cf)=>!_0x4884b9&&_0x5042cf),_0x36fcfb;}[_0x54febb(0x13f)](){const _0x17644f=_0x54febb,_0x2f8939=new _0x41f6c8(this[_0x17644f(0x138)]),_0x168acf=this[_0x17644f(0x158)],_0x77adb=this[_0x17644f(0x138)];_0x2f8939[_0x17644f(0x148)]({'label':_0x251564(_0x77adb,_0x17644f(0x144)),'withText':!0x1,'icon':_0x171db3,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x17644f(0x157)}),_0x2f8939[_0x17644f(0x15b)](_0x17644f(0x14b))['to'](_0x168acf,_0x17644f(0x159)),_0x2f8939[_0x17644f(0x15b)](_0x17644f(0x13a))['to'](this,_0x17644f(0x13a)),_0x2f8939['on'](_0x17644f(0x160),()=>{const _0xd828e7=_0x17644f;_0x168acf[_0xd828e7(0x159)]=!_0x168acf[_0xd828e7(0x159)],_0x168acf[_0xd828e7(0x159)]?this[_0xd828e7(0x163)][_0xd828e7(0x14f)]():this[_0xd828e7(0x14f)]();});const _0x3915a8=()=>{const _0x23a305=_0x17644f;_0x4db623[_0x23a305(0x151)][_0x23a305(0x146)](()=>{const _0x4a3251=_0x23a305;if(_0x329a04(this[_0x4a3251(0x153)])){const _0x5a4622=new _0x51282b(this[_0x4a3251(0x15e)][_0x4a3251(0x15f)][_0x4a3251(0x153)]),_0x32927d=_0x5a4622[_0x4a3251(0x13c)],_0x189c31=_0x4a3251(0x162)===_0x77adb[_0x4a3251(0x150)]?_0x4a3251(0x139):_0x4a3251(0x143);_0x5a4622[_0x4a3251(0x131)](),_0x2f8939[_0x4a3251(0x153)][_0x4a3251(0x14d)][_0x189c31]=_0x32927d-_0x5a4622[_0x4a3251(0x13c)]+0x1+'px';}});};return this[_0x17644f(0x15e)][_0x17644f(0x15f)]['on'](_0x17644f(0x14c),_0x3915a8),this['on'](_0x17644f(0x136),_0x3915a8),_0x2f8939;}[_0x54febb(0x161)](){const _0x501379=_0x54febb,_0x247402=this[_0x501379(0x15e)][_0x501379(0x15f)][_0x501379(0x153)][_0x501379(0x167)];this[_0x501379(0x132)](_0x501379(0x161),_0x247402);}[_0x54febb(0x14f)](_0x29917a){const _0x5c4733=_0x54febb;-0x1===_0x29917a?this[_0x5c4733(0x140)][_0x5c4733(0x169)]():this[_0x5c4733(0x140)][_0x5c4733(0x147)]();}}
23
+ const _0x260210=_0x48b4;function _0x2127(){const _0x38bf4c=['filteredView','locale','render','queryView','71118xFairA','1615782vXMqvb','focusLast','children','_createSubmitButton','style','Submit','isVisible','submit','fieldWrapperChildren','isEnabled','24pgtOmA','target','fieldView','window','width','ck-ai-form__toggle-history','340cbRlPn','ck-ai-form__submit','isOn','requestAnimationFrame','237702TPPnka','36TvyshI','16HjBwmC','focusCycler','value','115FWegGl','set','rtl','add','fire','left','12620023jSWuVb','History','11415041qnNUDU','focusableChildren','showHistoryButtonView','uiLanguageDirection','submitButtonView','keystrokes','update','resultsView','_createShowHistoryButton','maxRows','bind','right','86391nJkYZl','192FNdJWC','execute','excludeScrollbarsAndBorders','3814mIcsws','focusFirst','isEmpty','enter','minRows','focus','element'];_0x2127=function(){return _0x38bf4c;};return _0x2127();}(function(_0x57371f,_0x5607ed){const _0x45c224=_0x48b4,_0x461fc4=_0x57371f();while(!![]){try{const _0x489182=-parseInt(_0x45c224(0x93))/0x1*(parseInt(_0x45c224(0x90))/0x2)+parseInt(_0x45c224(0x9e))/0x3*(parseInt(_0x45c224(0xb4))/0x4)+-parseInt(_0x45c224(0xb8))/0x5*(-parseInt(_0x45c224(0xb3))/0x6)+parseInt(_0x45c224(0x9f))/0x7*(parseInt(_0x45c224(0xb5))/0x8)+-parseInt(_0x45c224(0x8f))/0x9*(-parseInt(_0x45c224(0xaf))/0xa)+parseInt(_0x45c224(0x83))/0xb+-parseInt(_0x45c224(0xa9))/0xc*(parseInt(_0x45c224(0x81))/0xd);if(_0x489182===_0x5607ed)break;else _0x461fc4['push'](_0x461fc4['shift']());}catch(_0x4322bf){_0x461fc4['push'](_0x461fc4['shift']());}}}(_0x2127,0x9ce30));import{Rect as _0x13182d,global as _0x15ecb8,isVisible as _0x1df802}from'ckeditor5/src/utils.js';import{IconHistory as _0x526036,IconSubmit as _0x71fdb5}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x43c079,ButtonView as _0xccce2e}from'ckeditor5/src/ui.js';function _0x48b4(_0x32942f,_0x2d8777){const _0x2127b3=_0x2127();return _0x48b4=function(_0x48b4da,_0x18f03d){_0x48b4da=_0x48b4da-0x81;let _0x1e9400=_0x2127b3[_0x48b4da];return _0x1e9400;},_0x48b4(_0x32942f,_0x2d8777);}import{getTranslation as _0x18f3b3}from'../../utils/common-translations.js';export default class ct extends _0x43c079{[_0x260210(0x87)];[_0x260210(0x85)];constructor(_0x4f4987,_0x2a0fe8){const _0x5558e5=_0x260210;super(_0x4f4987,_0x2a0fe8),this[_0x5558e5(0x9d)][_0x5558e5(0xab)][_0x5558e5(0x97)]=0x1,this[_0x5558e5(0x9d)][_0x5558e5(0xab)][_0x5558e5(0x8c)]=0x3,this[_0x5558e5(0x87)]=this[_0x5558e5(0xa2)](),this[_0x5558e5(0x85)]=this[_0x5558e5(0x8b)](),this[_0x5558e5(0x84)][_0x5558e5(0xbb)](this[_0x5558e5(0x85)],0x1),this[_0x5558e5(0x84)][_0x5558e5(0xbb)](this[_0x5558e5(0x87)]);}[_0x260210(0x9c)](){const _0x3f8a25=_0x260210;super[_0x3f8a25(0x9c)](),this[_0x3f8a25(0x9d)][_0x3f8a25(0xa7)][_0x3f8a25(0xbb)](this[_0x3f8a25(0x85)]),this[_0x3f8a25(0xa1)][_0x3f8a25(0xbb)](this[_0x3f8a25(0x87)]),this[_0x3f8a25(0x88)][_0x3f8a25(0xb9)](_0x3f8a25(0x96),(_0x3b5e22,_0x4ea0d7)=>{const _0x527784=_0x3f8a25;_0x3b5e22[_0x527784(0xaa)]==this[_0x527784(0x9d)][_0x527784(0xab)][_0x527784(0x99)]&&(this[_0x527784(0xa6)](),_0x4ea0d7());});}[_0x260210(0xa2)](){const _0x4a39ce=_0x260210,_0x30d785=new _0xccce2e(this[_0x4a39ce(0x9b)]),_0x3c33bb=this[_0x4a39ce(0x9b)];return _0x30d785[_0x4a39ce(0xb9)]({'icon':_0x71fdb5,'label':_0x18f3b3(_0x3c33bb,_0x4a39ce(0xa4)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4a39ce(0xb0)}),_0x30d785['on'](_0x4a39ce(0x91),()=>{const _0x3183fa=_0x4a39ce;this[_0x3183fa(0xa6)]();}),_0x30d785[_0x4a39ce(0x8d)](_0x4a39ce(0xa8))['to'](this[_0x4a39ce(0x9d)][_0x4a39ce(0xab)],_0x4a39ce(0x95),this,_0x4a39ce(0xa8),(_0x287cbb,_0x5ca62a)=>!_0x287cbb&&_0x5ca62a),_0x30d785;}[_0x260210(0x8b)](){const _0x36a1bf=_0x260210,_0x536b63=new _0xccce2e(this[_0x36a1bf(0x9b)]),_0x7f303b=this[_0x36a1bf(0x8a)],_0x3e5f5a=this[_0x36a1bf(0x9b)];_0x536b63[_0x36a1bf(0xb9)]({'label':_0x18f3b3(_0x3e5f5a,_0x36a1bf(0x82)),'withText':!0x1,'icon':_0x526036,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x36a1bf(0xae)}),_0x536b63[_0x36a1bf(0x8d)](_0x36a1bf(0xb1))['to'](_0x7f303b,_0x36a1bf(0xa5)),_0x536b63[_0x36a1bf(0x8d)](_0x36a1bf(0xa8))['to'](this,_0x36a1bf(0xa8)),_0x536b63['on'](_0x36a1bf(0x91),()=>{const _0x3f6fe5=_0x36a1bf;_0x7f303b[_0x3f6fe5(0xa5)]=!_0x7f303b[_0x3f6fe5(0xa5)],_0x7f303b[_0x3f6fe5(0xa5)]?this[_0x3f6fe5(0x9a)][_0x3f6fe5(0x98)]():this[_0x3f6fe5(0x98)]();});const _0x21f5b8=()=>{const _0xfad3ce=_0x36a1bf;_0x15ecb8[_0xfad3ce(0xac)][_0xfad3ce(0xb2)](()=>{const _0xa1b67f=_0xfad3ce;if(_0x1df802(this[_0xa1b67f(0x99)])){const _0x48ef2b=new _0x13182d(this[_0xa1b67f(0x9d)][_0xa1b67f(0xab)][_0xa1b67f(0x99)]),_0x47f25c=_0x48ef2b[_0xa1b67f(0xad)],_0x2091d5=_0xa1b67f(0xba)===_0x3e5f5a[_0xa1b67f(0x86)]?_0xa1b67f(0xbd):_0xa1b67f(0x8e);_0x48ef2b[_0xa1b67f(0x92)](),_0x536b63[_0xa1b67f(0x99)][_0xa1b67f(0xa3)][_0x2091d5]=_0x47f25c-_0x48ef2b[_0xa1b67f(0xad)]+0x1+'px';}});};return this[_0x36a1bf(0x9d)][_0x36a1bf(0xab)]['on'](_0x36a1bf(0x89),_0x21f5b8),this['on'](_0x36a1bf(0x9c),_0x21f5b8),_0x536b63;}[_0x260210(0xa6)](){const _0x3d5a3c=_0x260210,_0x3936df=this[_0x3d5a3c(0x9d)][_0x3d5a3c(0xab)][_0x3d5a3c(0x99)][_0x3d5a3c(0xb7)];this[_0x3d5a3c(0xbc)](_0x3d5a3c(0xa6),_0x3936df);}[_0x260210(0x98)](_0xd1002){const _0x52e524=_0x260210;-0x1===_0xd1002?this[_0x52e524(0xb6)][_0x52e524(0xa0)]():this[_0x52e524(0xb6)][_0x52e524(0x94)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35e794=_0x2237;(function(_0x2dd694,_0x3a9a49){const _0x47acf6=_0x2237,_0x59948b=_0x2dd694();while(!![]){try{const _0x372926=-parseInt(_0x47acf6(0xdc))/0x1+-parseInt(_0x47acf6(0xeb))/0x2*(-parseInt(_0x47acf6(0xcd))/0x3)+parseInt(_0x47acf6(0xed))/0x4+parseInt(_0x47acf6(0xd0))/0x5+-parseInt(_0x47acf6(0xcc))/0x6*(parseInt(_0x47acf6(0xca))/0x7)+parseInt(_0x47acf6(0xea))/0x8+-parseInt(_0x47acf6(0xe1))/0x9;if(_0x372926===_0x3a9a49)break;else _0x59948b['push'](_0x59948b['shift']());}catch(_0x317030){_0x59948b['push'](_0x59948b['shift']());}}}(_0x4ddd,0x6285f));import{ToolbarView as _0x215a30,ButtonView as _0xba6ab7}from'ckeditor5/src/ui.js';function _0x4ddd(){const _0xbec601=['extendTemplate','toUpperCase','Try\x20again','replace','_CONTENT','insertButton','addMany','set','4388048DYUgSJ','2xPuPNW','Insert\x20below','3058320WWGZQT','119uOpuqn','Stop','102984BPexwQ','1314783EnpWml','isVisible','ck-ai-form__toolbar','2896665YsDnrI','tryAgainButton','REPLACE','bindTemplate','stopButton','AI_','ck-button-action','insert','replaceButton','ck-hidden','bind','_createButton','677870LpwDFf','mainAction','items','locale','label','8617239sQYFEe'];_0x4ddd=function(){return _0xbec601;};return _0x4ddd();}import{getTranslation as _0x5e3d9d}from'../../utils/common-translations.js';function _0x2237(_0x34ed67,_0x2a2c62){const _0x4ddd46=_0x4ddd();return _0x2237=function(_0x223750,_0x428e6a){_0x223750=_0x223750-0xca;let _0x57f15d=_0x4ddd46[_0x223750];return _0x57f15d;},_0x2237(_0x34ed67,_0x2a2c62);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x35e794(0xe5),'INSERT':_0x35e794(0xd7)};export default class lt extends _0x215a30{constructor(_0x300b0b){const _0x40cd7a=_0x35e794;super(_0x300b0b),this[_0x40cd7a(0xe9)](_0x40cd7a(0xce),!0x1),this[_0x40cd7a(0xe9)](_0x40cd7a(0xdd),AIFormToolbarViewMainActionLabel[_0x40cd7a(0xd2)]),this[_0x40cd7a(0xd8)]=this[_0x40cd7a(0xdb)]('',_0x40cd7a(0xd6)),this[_0x40cd7a(0xd8)][_0x40cd7a(0xda)](_0x40cd7a(0xe0))['to'](this,_0x40cd7a(0xdd),_0x537605=>_0x5e3d9d(_0x300b0b,_0x40cd7a(0xd5)+_0x537605[_0x40cd7a(0xe3)]()+_0x40cd7a(0xe6))),this[_0x40cd7a(0xe7)]=this[_0x40cd7a(0xdb)](_0x5e3d9d(_0x300b0b,_0x40cd7a(0xec))),this[_0x40cd7a(0xd1)]=this[_0x40cd7a(0xdb)](_0x5e3d9d(_0x300b0b,_0x40cd7a(0xe4))),this[_0x40cd7a(0xd4)]=this[_0x40cd7a(0xdb)](_0x5e3d9d(_0x300b0b,_0x40cd7a(0xcb)));const _0x750b3f=this[_0x40cd7a(0xd3)];this[_0x40cd7a(0xe2)]({'attributes':{'class':[_0x40cd7a(0xcf),_0x750b3f['if'](_0x40cd7a(0xce),_0x40cd7a(0xd9),_0x3f63c2=>!_0x3f63c2)]}}),this[_0x40cd7a(0xde)][_0x40cd7a(0xe8)]([this[_0x40cd7a(0xd8)],this[_0x40cd7a(0xe7)],this[_0x40cd7a(0xd1)],this[_0x40cd7a(0xd4)]]);}[_0x35e794(0xdb)](_0x3831d7,_0x4135af){const _0x364f93=_0x35e794,_0x2a2883=new _0xba6ab7(this[_0x364f93(0xdf)]);return _0x2a2883[_0x364f93(0xe9)]({'label':_0x3831d7,'class':_0x4135af||'','isVisible':!0x0,'withText':!0x0}),_0x2a2883;}}
23
+ const _0x3e4808=_0x3f70;(function(_0x44beab,_0x274e0f){const _0x404329=_0x3f70,_0x2d6e73=_0x44beab();while(!![]){try{const _0x110da1=parseInt(_0x404329(0xb7))/0x1*(parseInt(_0x404329(0xaa))/0x2)+parseInt(_0x404329(0xc9))/0x3*(parseInt(_0x404329(0xc0))/0x4)+-parseInt(_0x404329(0xbe))/0x5+parseInt(_0x404329(0xa8))/0x6+parseInt(_0x404329(0xc7))/0x7+parseInt(_0x404329(0xb9))/0x8+parseInt(_0x404329(0xc8))/0x9*(-parseInt(_0x404329(0xae))/0xa);if(_0x110da1===_0x274e0f)break;else _0x2d6e73['push'](_0x2d6e73['shift']());}catch(_0x5d8c86){_0x2d6e73['push'](_0x2d6e73['shift']());}}}(_0x22af,0x7d9e9));function _0x22af(){const _0x46e782=['ck-ai-form__toolbar','_createButton','Stop','2623005ygVKbL','33993HIiRJM','51GuJwBt','_CONTENT','bind','isVisible','5303424whWIzs','label','2092iUSnYZ','locale','Try\x20again','tryAgainButton','4010xFKVpj','ck-button-action','REPLACE','set','stopButton','replace','ck-hidden','bindTemplate','items','41SaOpmj','mainAction','4758464lNFbBE','insertButton','toUpperCase','insert','addMany','644230bDcPQx','Insert\x20below','61564dFGlzi','AI_','replaceButton','extendTemplate'];_0x22af=function(){return _0x46e782;};return _0x22af();}function _0x3f70(_0x583563,_0x45f8e7){const _0x22affa=_0x22af();return _0x3f70=function(_0x3f70d9,_0x35f430){_0x3f70d9=_0x3f70d9-0xa7;let _0x4045ec=_0x22affa[_0x3f70d9];return _0x4045ec;},_0x3f70(_0x583563,_0x45f8e7);}import{ToolbarView as _0xd0e974,ButtonView as _0x23e97f}from'ckeditor5/src/ui.js';import{getTranslation as _0x4bcae4}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3e4808(0xb3),'INSERT':_0x3e4808(0xbc)};export default class lt extends _0xd0e974{constructor(_0x152df8){const _0x5169a2=_0x3e4808;super(_0x152df8),this[_0x5169a2(0xb1)](_0x5169a2(0xa7),!0x1),this[_0x5169a2(0xb1)](_0x5169a2(0xb8),AIFormToolbarViewMainActionLabel[_0x5169a2(0xb0)]),this[_0x5169a2(0xc2)]=this[_0x5169a2(0xc5)]('',_0x5169a2(0xaf)),this[_0x5169a2(0xc2)][_0x5169a2(0xcb)](_0x5169a2(0xa9))['to'](this,_0x5169a2(0xb8),_0x580251=>_0x4bcae4(_0x152df8,_0x5169a2(0xc1)+_0x580251[_0x5169a2(0xbb)]()+_0x5169a2(0xca))),this[_0x5169a2(0xba)]=this[_0x5169a2(0xc5)](_0x4bcae4(_0x152df8,_0x5169a2(0xbf))),this[_0x5169a2(0xad)]=this[_0x5169a2(0xc5)](_0x4bcae4(_0x152df8,_0x5169a2(0xac))),this[_0x5169a2(0xb2)]=this[_0x5169a2(0xc5)](_0x4bcae4(_0x152df8,_0x5169a2(0xc6)));const _0x4b5d2a=this[_0x5169a2(0xb5)];this[_0x5169a2(0xc3)]({'attributes':{'class':[_0x5169a2(0xc4),_0x4b5d2a['if'](_0x5169a2(0xa7),_0x5169a2(0xb4),_0x279c47=>!_0x279c47)]}}),this[_0x5169a2(0xb6)][_0x5169a2(0xbd)]([this[_0x5169a2(0xc2)],this[_0x5169a2(0xba)],this[_0x5169a2(0xad)],this[_0x5169a2(0xb2)]]);}[_0x3e4808(0xc5)](_0x198c4b,_0x213be3){const _0x4046b0=_0x3e4808,_0x334414=new _0x23e97f(this[_0x4046b0(0xab)]);return _0x334414[_0x4046b0(0xb1)]({'label':_0x198c4b,'class':_0x213be3||'','isVisible':!0x0,'withText':!0x0}),_0x334414;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x41ce(){const _0x589442=['trim','isProcessing','70042kcCboE','Ask\x20AI\x20to\x20edit\x20or\x20generate','fieldView','replaceContent','39tzGrtp','_createPromptView','execute','_promptHistory','value','finishProcessing','clearHistory','errorView','Empty\x20history','toolbar','insertButton','prompt','clear','div','57609wwvYMx','setTemplate','copyButtonView','label','_createToolbar','44364GVbzRk','ck-ai-form','bindTo','listenTo','isVisible','reset','fire','97332QPhqUQ','tab','delegate','stopProcessing','isEnabled','add','createCollection','shift\x20+\x20tab','handleError','insertContentBelow','queryView','isError','focusTracker','submit','focusLast','bind','2024320BvdBSs','element','set','submitPrompt','focus','text','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','tryAgainEvent','440580JFhQlK','stopButton','historyGroupView','ck-hidden','Ask\x20AI\x20to\x20improve\x20generated\x20text','bindTemplate','replaceButton','contentArea','_createHistoryView','search','items','143GMPglN','focusCycler','keystrokes','chain','AI_ERROR_FAILED','focusFirst','locale','mainAction','7SQZfyS','promptView','10GVcbYV','ck-ai-form-content','startProcessing','tryAgainButton','_focusables','54948zrZrir','REPLACE','render','high'];_0x41ce=function(){return _0x589442;};return _0x41ce();}const _0x358165=_0x14a0;(function(_0xab6efa,_0x203645){const _0x36c4cd=_0x14a0,_0x532525=_0xab6efa();while(!![]){try{const _0x28c0b1=-parseInt(_0x36c4cd(0x157))/0x1+parseInt(_0x36c4cd(0x15d))/0x2+-parseInt(_0x36c4cd(0x161))/0x3*(parseInt(_0x36c4cd(0x174))/0x4)+-parseInt(_0x36c4cd(0x152))/0x5*(parseInt(_0x36c4cd(0x17b))/0x6)+-parseInt(_0x36c4cd(0x150))/0x7*(parseInt(_0x36c4cd(0x18b))/0x8)+parseInt(_0x36c4cd(0x16f))/0x9+-parseInt(_0x36c4cd(0x193))/0xa*(-parseInt(_0x36c4cd(0x19e))/0xb);if(_0x28c0b1===_0x203645)break;else _0x532525['push'](_0x532525['shift']());}catch(_0x82277b){_0x532525['push'](_0x532525['shift']());}}}(_0x41ce,0x1fa19));import{FocusTracker as _0x2cb5b7,KeystrokeHandler as _0x9f249f}from'ckeditor5/src/utils.js';import{View as _0x43edf3,FocusCycler as _0x57f706,createLabeledTextarea as _0x17a61d}from'ckeditor5/src/ui.js';import _0x1487a0,{AIFormToolbarViewMainActionLabel as _0x306371}from'./aiformtoolbarview.js';import _0x561c89 from'./aiformcontentarea.js';import _0x50971d from'./aiformerrorview.js';import _0x3ee92d from'./aiformpromptview.js';import _0x20121d from'./aihistorylistview.js';import _0x5fd683 from'./aihistorylistitemview.js';function _0x14a0(_0x43ac51,_0x4c2f76){const _0x41ceac=_0x41ce();return _0x14a0=function(_0x14a0b1,_0x574ee4){_0x14a0b1=_0x14a0b1-0x14e;let _0x4f8af2=_0x41ceac[_0x14a0b1];return _0x4f8af2;},_0x14a0(_0x43ac51,_0x4c2f76);}import _0x487b2c from'./prompthistory.js';import{getTranslation as _0x532d74}from'../../utils/common-translations.js';import{escape as _0x103e2a}from'es-toolkit/compat';export default class _ extends _0x43edf3{[_0x358165(0x187)];[_0x358165(0x1a0)];[_0x358165(0x19a)];[_0x358165(0x16a)];[_0x358165(0x151)];[_0x358165(0x168)];[_0x358165(0x156)];[_0x358165(0x19f)];[_0x358165(0x164)];constructor(_0x5b0945,_0x117b65,_0x5defe9=''){const _0x1b0b6f=_0x358165;super(_0x5b0945),this[_0x1b0b6f(0x18d)](_0x1b0b6f(0x17f),!0x0),this[_0x1b0b6f(0x18d)](_0x1b0b6f(0x15c),!0x1),this[_0x1b0b6f(0x18d)](_0x1b0b6f(0x16c),''),this[_0x1b0b6f(0x18d)](_0x1b0b6f(0x165),''),this[_0x1b0b6f(0x18d)](_0x1b0b6f(0x186),!0x1),this[_0x1b0b6f(0x18d)](_0x1b0b6f(0x14f),_0x306371[_0x1b0b6f(0x158)]),this[_0x1b0b6f(0x164)]=new _0x487b2c(),this[_0x1b0b6f(0x168)]=new _0x50971d(_0x5b0945),this[_0x1b0b6f(0x19a)]=new _0x561c89(_0x5b0945,_0x5defe9),this[_0x1b0b6f(0x19a)][_0x1b0b6f(0x18a)](_0x1b0b6f(0x15c))['to'](this),this[_0x1b0b6f(0x19a)][_0x1b0b6f(0x18a)](_0x1b0b6f(0x165))['to'](this),this[_0x1b0b6f(0x16a)]=this[_0x1b0b6f(0x173)](),this[_0x1b0b6f(0x16a)][_0x1b0b6f(0x18a)](_0x1b0b6f(0x14f))['to'](this),this[_0x1b0b6f(0x151)]=this[_0x1b0b6f(0x162)](),this[_0x1b0b6f(0x187)]=new _0x2cb5b7(),this[_0x1b0b6f(0x1a0)]=new _0x9f249f(),this[_0x1b0b6f(0x156)]=this[_0x1b0b6f(0x181)]([this[_0x1b0b6f(0x19a)],this[_0x1b0b6f(0x19a)][_0x1b0b6f(0x171)],this[_0x1b0b6f(0x16a)],this[_0x1b0b6f(0x151)]]),this[_0x1b0b6f(0x19f)]=new _0x57f706({'focusables':this[_0x1b0b6f(0x156)],'focusTracker':this[_0x1b0b6f(0x187)],'keystrokeHandler':this[_0x1b0b6f(0x1a0)],'actions':{'focusPrevious':_0x1b0b6f(0x182),'focusNext':_0x1b0b6f(0x17c)}}),this[_0x1b0b6f(0x19f)][_0x1b0b6f(0x1a1)](this[_0x1b0b6f(0x151)][_0x1b0b6f(0x19f)]),this[_0x1b0b6f(0x151)][_0x1b0b6f(0x185)][_0x1b0b6f(0x15f)][_0x1b0b6f(0x18a)](_0x1b0b6f(0x165))['to'](this,_0x1b0b6f(0x16c));const _0x3bb2b5=this[_0x1b0b6f(0x198)];this[_0x1b0b6f(0x170)]({'tag':_0x1b0b6f(0x16e),'attributes':{'class':['ck',_0x1b0b6f(0x175),_0x117b65],'tabindex':'-1'},'children':[{'tag':_0x1b0b6f(0x16e),'attributes':{'class':['ck',_0x1b0b6f(0x153)]},'children':[{'tag':_0x1b0b6f(0x16e),'attributes':{'class':[_0x3bb2b5['if'](_0x1b0b6f(0x186),_0x1b0b6f(0x196),_0x122421=>!_0x122421)]},'children':[this[_0x1b0b6f(0x168)]]},this[_0x1b0b6f(0x19a)],this[_0x1b0b6f(0x16a)],this[_0x1b0b6f(0x151)]]}]});}[_0x358165(0x159)](){const _0x2f31ed=_0x358165;super[_0x2f31ed(0x159)](),this[_0x2f31ed(0x187)][_0x2f31ed(0x180)](this[_0x2f31ed(0x19a)][_0x2f31ed(0x18c)]),this[_0x2f31ed(0x187)][_0x2f31ed(0x180)](this[_0x2f31ed(0x19a)][_0x2f31ed(0x171)][_0x2f31ed(0x18c)]),this[_0x2f31ed(0x187)][_0x2f31ed(0x180)](this[_0x2f31ed(0x16a)][_0x2f31ed(0x18c)]),this[_0x2f31ed(0x187)][_0x2f31ed(0x180)](this[_0x2f31ed(0x151)][_0x2f31ed(0x18c)]),this[_0x2f31ed(0x1a0)][_0x2f31ed(0x177)](this[_0x2f31ed(0x18c)]);}[_0x358165(0x18f)](_0x262a44=0x1){const _0x23e93a=_0x358165;-0x1===_0x262a44?this[_0x23e93a(0x19f)][_0x23e93a(0x189)]():this[_0x23e93a(0x19f)][_0x23e93a(0x1a3)]();}[_0x358165(0x179)](){const _0x251c28=_0x358165;this[_0x251c28(0x16c)]='',this[_0x251c28(0x165)]='',this[_0x251c28(0x186)]=!0x1,this[_0x251c28(0x151)][_0x251c28(0x179)](),this[_0x251c28(0x19a)][_0x251c28(0x178)]=!0x1,this[_0x251c28(0x16a)][_0x251c28(0x178)]=!0x1;}[_0x358165(0x162)](){const _0x30ff57=_0x358165,_0x209955=this[_0x30ff57(0x14e)],_0x22ae9c=new _0x3ee92d(_0x209955,{'queryView':{'label':_0x532d74(_0x209955,_0x30ff57(0x15e)),'creator':_0x17a61d,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x532d74(_0x209955,_0x30ff57(0x169)),'secondary':_0x532d74(_0x209955,_0x30ff57(0x191))}}},'filteredView':this[_0x30ff57(0x19b)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x22ae9c[_0x30ff57(0x18a)](_0x30ff57(0x17f))['to'](this,_0x30ff57(0x17f),this,_0x30ff57(0x15c),(_0xa13baf,_0x1cfd51)=>_0xa13baf&&!_0x1cfd51),this[_0x30ff57(0x177)](_0x22ae9c,_0x30ff57(0x188),(_0x16936c,_0x570124)=>{const _0x3bc73e=_0x30ff57;this[_0x3bc73e(0x16c)]=_0x570124;const _0x493dec=_0x103e2a(_0x570124);this[_0x3bc73e(0x17a)](_0x3bc73e(0x18e),_0x493dec),_0x570124[_0x3bc73e(0x15b)]()&&this[_0x3bc73e(0x164)][_0x3bc73e(0x180)]({'prompt':_0x493dec},0x0);},{'priority':_0x30ff57(0x15a)}),_0x22ae9c;}[_0x358165(0x19b)](){const _0xdd4302=_0x358165,_0x308c2f=new _0x20121d(this[_0xdd4302(0x14e)]);return _0x308c2f[_0xdd4302(0x195)][_0xdd4302(0x19d)][_0xdd4302(0x176)](this[_0xdd4302(0x164)])['as'](_0x5fd683),_0x308c2f['on'](_0xdd4302(0x167),()=>{const _0x199c72=_0xdd4302;this[_0x199c72(0x164)][_0x199c72(0x16d)](),this[_0x199c72(0x151)][_0x199c72(0x19c)](''),this[_0x199c72(0x151)][_0x199c72(0x18f)]();}),_0x308c2f;}[_0x358165(0x173)](){const _0x2acc52=_0x358165,_0x52f79c=new _0x1487a0(this[_0x2acc52(0x14e)]);return _0x52f79c[_0x2acc52(0x199)][_0x2acc52(0x18a)](_0x2acc52(0x17f))['to'](this,_0x2acc52(0x17f),this,_0x2acc52(0x15c),this,_0x2acc52(0x165),(_0x15785b,_0xbf93d7,_0x39725d)=>_0x15785b&&!_0xbf93d7&&!!_0x39725d),_0x52f79c[_0x2acc52(0x199)][_0x2acc52(0x17d)](_0x2acc52(0x163))['to'](this,_0x2acc52(0x160)),_0x52f79c[_0x2acc52(0x16b)][_0x2acc52(0x18a)](_0x2acc52(0x17f))['to'](this,_0x2acc52(0x17f),this,_0x2acc52(0x15c),this,_0x2acc52(0x165),(_0x28a294,_0x548c3c,_0x470ed7)=>_0x28a294&&!_0x548c3c&&!!_0x470ed7),_0x52f79c[_0x2acc52(0x16b)][_0x2acc52(0x17d)](_0x2acc52(0x163))['to'](this,_0x2acc52(0x184)),_0x52f79c[_0x2acc52(0x155)][_0x2acc52(0x18a)](_0x2acc52(0x17f))['to'](this,_0x2acc52(0x17f),this,_0x2acc52(0x15c),(_0x438ad1,_0x429aa4)=>_0x438ad1&&!_0x429aa4),_0x52f79c[_0x2acc52(0x155)][_0x2acc52(0x17d)](_0x2acc52(0x163))['to'](this,_0x2acc52(0x192)),_0x52f79c[_0x2acc52(0x194)][_0x2acc52(0x18a)](_0x2acc52(0x17f))['to'](this,_0x2acc52(0x15c)),_0x52f79c[_0x2acc52(0x194)][_0x2acc52(0x17d)](_0x2acc52(0x163))['to'](this,_0x2acc52(0x17e)),_0x52f79c;}[_0x358165(0x154)](){const _0xcc20ed=_0x358165;this[_0xcc20ed(0x165)]='',this[_0xcc20ed(0x186)]=!0x1,this[_0xcc20ed(0x15c)]=!0x0,this[_0xcc20ed(0x19a)][_0xcc20ed(0x178)]=!0x0,this[_0xcc20ed(0x16a)][_0xcc20ed(0x178)]=!0x0,this[_0xcc20ed(0x19a)][_0xcc20ed(0x18f)]();}[_0x358165(0x166)](){const _0x445151=_0x358165,_0x3e2483=this[_0x445151(0x14e)];this[_0x445151(0x15c)]=!0x1,this[_0x445151(0x16c)]='',this[_0x445151(0x151)][_0x445151(0x179)](),this[_0x445151(0x165)]&&(this[_0x445151(0x151)][_0x445151(0x185)][_0x445151(0x172)]=_0x532d74(_0x3e2483,_0x445151(0x197)));}[_0x358165(0x183)](_0x3e7e0c){const _0x16e5ea=_0x358165,_0x3d1e5e=this[_0x16e5ea(0x14e)];this[_0x16e5ea(0x166)](),this[_0x16e5ea(0x186)]=!0x0,this[_0x16e5ea(0x168)][_0x16e5ea(0x190)]=_0x3e7e0c||_0x532d74(_0x3d1e5e,_0x16e5ea(0x1a2)),this[_0x16e5ea(0x165)]||(this[_0x16e5ea(0x19a)][_0x16e5ea(0x178)]=!0x1);}}
23
+ const _0x407861=_0x5392;(function(_0x427eae,_0xf49015){const _0x1e7543=_0x5392,_0x2f3a2b=_0x427eae();while(!![]){try{const _0x254e55=-parseInt(_0x1e7543(0xf5))/0x1*(-parseInt(_0x1e7543(0xe2))/0x2)+-parseInt(_0x1e7543(0xde))/0x3+-parseInt(_0x1e7543(0xb8))/0x4*(parseInt(_0x1e7543(0xe0))/0x5)+-parseInt(_0x1e7543(0xf0))/0x6+parseInt(_0x1e7543(0xc6))/0x7+-parseInt(_0x1e7543(0xbb))/0x8+parseInt(_0x1e7543(0xbe))/0x9;if(_0x254e55===_0xf49015)break;else _0x2f3a2b['push'](_0x2f3a2b['shift']());}catch(_0x1c1719){_0x2f3a2b['push'](_0x2f3a2b['shift']());}}}(_0x2480,0x655a4));import{FocusTracker as _0x3fb565,KeystrokeHandler as _0x550191}from'ckeditor5/src/utils.js';import{View as _0x25ac28,FocusCycler as _0x4c50d4,createLabeledTextarea as _0x282aed}from'ckeditor5/src/ui.js';import _0x1d0569,{AIFormToolbarViewMainActionLabel as _0x5a62a3}from'./aiformtoolbarview.js';import _0x528fde from'./aiformcontentarea.js';import _0x2171cf from'./aiformerrorview.js';import _0x248675 from'./aiformpromptview.js';import _0x17c188 from'./aihistorylistview.js';function _0x2480(){const _0xb0f132=['execute','focusTracker','shift\x20+\x20tab','insertButton','errorView','focusLast','clearHistory','isEnabled','_createPromptView','insertContentBelow','12Kaktfq','items','trim','5051120LVpDTu','Ask\x20AI\x20to\x20edit\x20or\x20generate','listenTo','10068606VBEOAF','_createToolbar','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','chain','locale','queryView','_promptHistory','replaceButton','5557944Zlduvt','clear','REPLACE','mainAction','text','label','_focusables','ck-ai-form-content','set','submit','isError','fire','ck-ai-form','copyButtonView','toolbar','Empty\x20history','div','tryAgainEvent','Ask\x20AI\x20to\x20improve\x20generated\x20text','isVisible','isProcessing','element','tryAgainButton','search','1189581jPhWjG','handleError','391065omXCiJ','replaceContent','2nSHJLP','keystrokes','reset','historyGroupView','submitPrompt','promptView','focusCycler','focusFirst','high','contentArea','focus','value','delegate','prompt','2304246FNCLlc','createCollection','bindTemplate','stopProcessing','render','149011rdOgFA','bind','startProcessing','_createHistoryView','add','finishProcessing','ck-hidden','AI_ERROR_FAILED','tab','fieldView','stopButton','bindTo','setTemplate'];_0x2480=function(){return _0xb0f132;};return _0x2480();}function _0x5392(_0x560792,_0x8cfb2a){const _0x2480d5=_0x2480();return _0x5392=function(_0x5392cf,_0x306bd0){_0x5392cf=_0x5392cf-0xa5;let _0x305422=_0x2480d5[_0x5392cf];return _0x305422;},_0x5392(_0x560792,_0x8cfb2a);}import _0xa0840c from'./aihistorylistitemview.js';import _0x318246 from'./prompthistory.js';import{getTranslation as _0x3bb9e5}from'../../utils/common-translations.js';import{escape as _0x5db177}from'es-toolkit/compat';export default class _ extends _0x25ac28{[_0x407861(0xaf)];[_0x407861(0xe3)];[_0x407861(0xeb)];[_0x407861(0xd4)];[_0x407861(0xe7)];[_0x407861(0xb2)];[_0x407861(0xcc)];[_0x407861(0xe8)];[_0x407861(0xc4)];constructor(_0x28a795,_0x262e39,_0xea38e6=''){const _0x4e1f1f=_0x407861;super(_0x28a795),this[_0x4e1f1f(0xce)](_0x4e1f1f(0xb5),!0x0),this[_0x4e1f1f(0xce)](_0x4e1f1f(0xda),!0x1),this[_0x4e1f1f(0xce)](_0x4e1f1f(0xef),''),this[_0x4e1f1f(0xce)](_0x4e1f1f(0xed),''),this[_0x4e1f1f(0xce)](_0x4e1f1f(0xd0),!0x1),this[_0x4e1f1f(0xce)](_0x4e1f1f(0xc9),_0x5a62a3[_0x4e1f1f(0xc8)]),this[_0x4e1f1f(0xc4)]=new _0x318246(),this[_0x4e1f1f(0xb2)]=new _0x2171cf(_0x28a795),this[_0x4e1f1f(0xeb)]=new _0x528fde(_0x28a795,_0xea38e6),this[_0x4e1f1f(0xeb)][_0x4e1f1f(0xf6)](_0x4e1f1f(0xda))['to'](this),this[_0x4e1f1f(0xeb)][_0x4e1f1f(0xf6)](_0x4e1f1f(0xed))['to'](this),this[_0x4e1f1f(0xd4)]=this[_0x4e1f1f(0xbf)](),this[_0x4e1f1f(0xd4)][_0x4e1f1f(0xf6)](_0x4e1f1f(0xc9))['to'](this),this[_0x4e1f1f(0xe7)]=this[_0x4e1f1f(0xb6)](),this[_0x4e1f1f(0xaf)]=new _0x3fb565(),this[_0x4e1f1f(0xe3)]=new _0x550191(),this[_0x4e1f1f(0xcc)]=this[_0x4e1f1f(0xf1)]([this[_0x4e1f1f(0xeb)],this[_0x4e1f1f(0xeb)][_0x4e1f1f(0xd3)],this[_0x4e1f1f(0xd4)],this[_0x4e1f1f(0xe7)]]),this[_0x4e1f1f(0xe8)]=new _0x4c50d4({'focusables':this[_0x4e1f1f(0xcc)],'focusTracker':this[_0x4e1f1f(0xaf)],'keystrokeHandler':this[_0x4e1f1f(0xe3)],'actions':{'focusPrevious':_0x4e1f1f(0xb0),'focusNext':_0x4e1f1f(0xa9)}}),this[_0x4e1f1f(0xe8)][_0x4e1f1f(0xc1)](this[_0x4e1f1f(0xe7)][_0x4e1f1f(0xe8)]),this[_0x4e1f1f(0xe7)][_0x4e1f1f(0xc3)][_0x4e1f1f(0xaa)][_0x4e1f1f(0xf6)](_0x4e1f1f(0xed))['to'](this,_0x4e1f1f(0xef));const _0x3b015e=this[_0x4e1f1f(0xf2)];this[_0x4e1f1f(0xad)]({'tag':_0x4e1f1f(0xd6),'attributes':{'class':['ck',_0x4e1f1f(0xd2),_0x262e39],'tabindex':'-1'},'children':[{'tag':_0x4e1f1f(0xd6),'attributes':{'class':['ck',_0x4e1f1f(0xcd)]},'children':[{'tag':_0x4e1f1f(0xd6),'attributes':{'class':[_0x3b015e['if'](_0x4e1f1f(0xd0),_0x4e1f1f(0xa7),_0x3f3ab3=>!_0x3f3ab3)]},'children':[this[_0x4e1f1f(0xb2)]]},this[_0x4e1f1f(0xeb)],this[_0x4e1f1f(0xd4)],this[_0x4e1f1f(0xe7)]]}]});}[_0x407861(0xf4)](){const _0xa81283=_0x407861;super[_0xa81283(0xf4)](),this[_0xa81283(0xaf)][_0xa81283(0xa5)](this[_0xa81283(0xeb)][_0xa81283(0xdb)]),this[_0xa81283(0xaf)][_0xa81283(0xa5)](this[_0xa81283(0xeb)][_0xa81283(0xd3)][_0xa81283(0xdb)]),this[_0xa81283(0xaf)][_0xa81283(0xa5)](this[_0xa81283(0xd4)][_0xa81283(0xdb)]),this[_0xa81283(0xaf)][_0xa81283(0xa5)](this[_0xa81283(0xe7)][_0xa81283(0xdb)]),this[_0xa81283(0xe3)][_0xa81283(0xbd)](this[_0xa81283(0xdb)]);}[_0x407861(0xec)](_0x19a2e9=0x1){const _0x30bcbb=_0x407861;-0x1===_0x19a2e9?this[_0x30bcbb(0xe8)][_0x30bcbb(0xb3)]():this[_0x30bcbb(0xe8)][_0x30bcbb(0xe9)]();}[_0x407861(0xe4)](){const _0x3cdeb0=_0x407861;this[_0x3cdeb0(0xef)]='',this[_0x3cdeb0(0xed)]='',this[_0x3cdeb0(0xd0)]=!0x1,this[_0x3cdeb0(0xe7)][_0x3cdeb0(0xe4)](),this[_0x3cdeb0(0xeb)][_0x3cdeb0(0xd9)]=!0x1,this[_0x3cdeb0(0xd4)][_0x3cdeb0(0xd9)]=!0x1;}[_0x407861(0xb6)](){const _0x520155=_0x407861,_0x3378fd=this[_0x520155(0xc2)],_0x17a5f2=new _0x248675(_0x3378fd,{'queryView':{'label':_0x3bb9e5(_0x3378fd,_0x520155(0xbc)),'creator':_0x282aed,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3bb9e5(_0x3378fd,_0x520155(0xd5)),'secondary':_0x3bb9e5(_0x3378fd,_0x520155(0xc0))}}},'filteredView':this[_0x520155(0xf8)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x17a5f2[_0x520155(0xf6)](_0x520155(0xb5))['to'](this,_0x520155(0xb5),this,_0x520155(0xda),(_0x51be02,_0x2d64cf)=>_0x51be02&&!_0x2d64cf),this[_0x520155(0xbd)](_0x17a5f2,_0x520155(0xcf),(_0x1b3962,_0x3353ef)=>{const _0x3c9034=_0x520155;this[_0x3c9034(0xef)]=_0x3353ef;const _0x530d73=_0x5db177(_0x3353ef);this[_0x3c9034(0xd1)](_0x3c9034(0xe6),_0x530d73),_0x3353ef[_0x3c9034(0xba)]()&&this[_0x3c9034(0xc4)][_0x3c9034(0xa5)]({'prompt':_0x530d73},0x0);},{'priority':_0x520155(0xea)}),_0x17a5f2;}[_0x407861(0xf8)](){const _0x2b9090=_0x407861,_0x46bc3f=new _0x17c188(this[_0x2b9090(0xc2)]);return _0x46bc3f[_0x2b9090(0xe5)][_0x2b9090(0xb9)][_0x2b9090(0xac)](this[_0x2b9090(0xc4)])['as'](_0xa0840c),_0x46bc3f['on'](_0x2b9090(0xb4),()=>{const _0xb0a173=_0x2b9090;this[_0xb0a173(0xc4)][_0xb0a173(0xc7)](),this[_0xb0a173(0xe7)][_0xb0a173(0xdd)](''),this[_0xb0a173(0xe7)][_0xb0a173(0xec)]();}),_0x46bc3f;}[_0x407861(0xbf)](){const _0x15df62=_0x407861,_0x375ced=new _0x1d0569(this[_0x15df62(0xc2)]);return _0x375ced[_0x15df62(0xc5)][_0x15df62(0xf6)](_0x15df62(0xb5))['to'](this,_0x15df62(0xb5),this,_0x15df62(0xda),this,_0x15df62(0xed),(_0x48e0c4,_0x891e69,_0x267b8c)=>_0x48e0c4&&!_0x891e69&&!!_0x267b8c),_0x375ced[_0x15df62(0xc5)][_0x15df62(0xee)](_0x15df62(0xae))['to'](this,_0x15df62(0xe1)),_0x375ced[_0x15df62(0xb1)][_0x15df62(0xf6)](_0x15df62(0xb5))['to'](this,_0x15df62(0xb5),this,_0x15df62(0xda),this,_0x15df62(0xed),(_0x4c433d,_0x42a990,_0x3892ae)=>_0x4c433d&&!_0x42a990&&!!_0x3892ae),_0x375ced[_0x15df62(0xb1)][_0x15df62(0xee)](_0x15df62(0xae))['to'](this,_0x15df62(0xb7)),_0x375ced[_0x15df62(0xdc)][_0x15df62(0xf6)](_0x15df62(0xb5))['to'](this,_0x15df62(0xb5),this,_0x15df62(0xda),(_0x951df3,_0x140755)=>_0x951df3&&!_0x140755),_0x375ced[_0x15df62(0xdc)][_0x15df62(0xee)](_0x15df62(0xae))['to'](this,_0x15df62(0xd7)),_0x375ced[_0x15df62(0xab)][_0x15df62(0xf6)](_0x15df62(0xb5))['to'](this,_0x15df62(0xda)),_0x375ced[_0x15df62(0xab)][_0x15df62(0xee)](_0x15df62(0xae))['to'](this,_0x15df62(0xf3)),_0x375ced;}[_0x407861(0xf7)](){const _0x1de483=_0x407861;this[_0x1de483(0xed)]='',this[_0x1de483(0xd0)]=!0x1,this[_0x1de483(0xda)]=!0x0,this[_0x1de483(0xeb)][_0x1de483(0xd9)]=!0x0,this[_0x1de483(0xd4)][_0x1de483(0xd9)]=!0x0,this[_0x1de483(0xeb)][_0x1de483(0xec)]();}[_0x407861(0xa6)](){const _0x313bf9=_0x407861,_0x457096=this[_0x313bf9(0xc2)];this[_0x313bf9(0xda)]=!0x1,this[_0x313bf9(0xef)]='',this[_0x313bf9(0xe7)][_0x313bf9(0xe4)](),this[_0x313bf9(0xed)]&&(this[_0x313bf9(0xe7)][_0x313bf9(0xc3)][_0x313bf9(0xcb)]=_0x3bb9e5(_0x457096,_0x313bf9(0xd8)));}[_0x407861(0xdf)](_0x2b158f){const _0x49b69d=_0x407861,_0x5038d4=this[_0x49b69d(0xc2)];this[_0x49b69d(0xa6)](),this[_0x49b69d(0xd0)]=!0x0,this[_0x49b69d(0xb2)][_0x49b69d(0xca)]=_0x2b158f||_0x3bb9e5(_0x5038d4,_0x49b69d(0xa8)),this[_0x49b69d(0xed)]||(this[_0x49b69d(0xeb)][_0x49b69d(0xd9)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a0e(){const _0x441fc9=['fire','add','42FKJulW','603150IIvIJm','prompt','locale','set','17675zsGbsM','830025GiduOm','3646349IXJcML','1rYgQup','children','11219454zTDZej','4066336NJIMSV','2038528ZCBRVp','execute'];_0x5a0e=function(){return _0x441fc9;};return _0x5a0e();}(function(_0x394bba,_0xb5b67){const _0x3166ca=_0x37ec,_0x43a908=_0x394bba();while(!![]){try{const _0x302af7=-parseInt(_0x3166ca(0xe8))/0x1*(-parseInt(_0x3166ca(0xe1))/0x2)+parseInt(_0x3166ca(0xe6))/0x3+-parseInt(_0x3166ca(0xdc))/0x4+-parseInt(_0x3166ca(0xe5))/0x5*(parseInt(_0x3166ca(0xe0))/0x6)+-parseInt(_0x3166ca(0xe7))/0x7+-parseInt(_0x3166ca(0xdb))/0x8+parseInt(_0x3166ca(0xda))/0x9;if(_0x302af7===_0xb5b67)break;else _0x43a908['push'](_0x43a908['shift']());}catch(_0x501df5){_0x43a908['push'](_0x43a908['shift']());}}}(_0x5a0e,0x3fca0));function _0x37ec(_0x5ddb7b,_0x57ec18){const _0x5a0ec4=_0x5a0e();return _0x37ec=function(_0x37ecb3,_0x4cb8d){_0x37ecb3=_0x37ecb3-0xda;let _0x56e47f=_0x5a0ec4[_0x37ecb3];return _0x56e47f;},_0x37ec(_0x5ddb7b,_0x57ec18);}import{ListItemView as _0x3af66f,ButtonView as _0x3e529a,ButtonLabelView as _0x4c844a}from'ckeditor5/src/ui.js';import{unescape as _0x3b274c}from'es-toolkit/compat';export default class bt extends _0x3af66f{constructor(_0x16a8f9){const _0x459e73=_0x37ec;super();const _0x4416c3=new _0x4c844a(),_0x5eb32a=new _0x3e529a(this[_0x459e73(0xe3)],_0x4416c3);this[_0x459e73(0xe9)][_0x459e73(0xdf)](_0x5eb32a),_0x5eb32a[_0x459e73(0xe4)]({'label':_0x16a8f9[_0x459e73(0xe2)],'withText':!0x0}),_0x5eb32a['on'](_0x459e73(0xdd),()=>{const _0x15e88d=_0x459e73;this[_0x15e88d(0xde)](_0x15e88d(0xdd),{'value':_0x3b274c(_0x16a8f9[_0x15e88d(0xe2)])});});}}
23
+ function _0x4127(_0x4df260,_0x166696){const _0x31d77a=_0x31d7();return _0x4127=function(_0x412761,_0x5037f7){_0x412761=_0x412761-0xc0;let _0x4b9f4c=_0x31d77a[_0x412761];return _0x4b9f4c;},_0x4127(_0x4df260,_0x166696);}(function(_0x519309,_0x5e4ef5){const _0x241ba4=_0x4127,_0x315a91=_0x519309();while(!![]){try{const _0x52747b=-parseInt(_0x241ba4(0xc8))/0x1+-parseInt(_0x241ba4(0xc6))/0x2+parseInt(_0x241ba4(0xcd))/0x3*(-parseInt(_0x241ba4(0xc2))/0x4)+-parseInt(_0x241ba4(0xca))/0x5*(-parseInt(_0x241ba4(0xc1))/0x6)+-parseInt(_0x241ba4(0xcf))/0x7*(-parseInt(_0x241ba4(0xc9))/0x8)+-parseInt(_0x241ba4(0xce))/0x9*(-parseInt(_0x241ba4(0xc4))/0xa)+-parseInt(_0x241ba4(0xcb))/0xb;if(_0x52747b===_0x5e4ef5)break;else _0x315a91['push'](_0x315a91['shift']());}catch(_0x589617){_0x315a91['push'](_0x315a91['shift']());}}}(_0x31d7,0x68140));function _0x31d7(){const _0x166e0d=['locale','108PEzhmy','5807277nEgQPq','14EkWqwq','fire','set','execute','264090VXDCzZ','38524DJHmFF','children','10TruxMh','add','239308jwbaSV','prompt','208528sRIQaU','497848LQtBYP','75WdnRPx','3616118tevCJP'];_0x31d7=function(){return _0x166e0d;};return _0x31d7();}import{ListItemView as _0x3cf541,ButtonView as _0x51123c,ButtonLabelView as _0x3b3277}from'ckeditor5/src/ui.js';import{unescape as _0x2450b5}from'es-toolkit/compat';export default class bt extends _0x3cf541{constructor(_0x5590fb){const _0x7f9607=_0x4127;super();const _0x17d133=new _0x3b3277(),_0x48ff90=new _0x51123c(this[_0x7f9607(0xcc)],_0x17d133);this[_0x7f9607(0xc3)][_0x7f9607(0xc5)](_0x48ff90),_0x48ff90[_0x7f9607(0xd1)]({'label':_0x5590fb[_0x7f9607(0xc7)],'withText':!0x0}),_0x48ff90['on'](_0x7f9607(0xc0),()=>{const _0x53ea02=_0x7f9607;this[_0x53ea02(0xd0)](_0x53ea02(0xc0),{'value':_0x2450b5(_0x5590fb[_0x53ea02(0xc7)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fd132=_0x3b90;(function(_0x52cfc4,_0x4a9ccf){const _0x8fb041=_0x3b90,_0x48dc66=_0x52cfc4();while(!![]){try{const _0x30f76d=parseInt(_0x8fb041(0xd3))/0x1*(parseInt(_0x8fb041(0xce))/0x2)+-parseInt(_0x8fb041(0xcf))/0x3*(parseInt(_0x8fb041(0xc9))/0x4)+parseInt(_0x8fb041(0xca))/0x5*(parseInt(_0x8fb041(0xd7))/0x6)+parseInt(_0x8fb041(0xdc))/0x7*(parseInt(_0x8fb041(0xcd))/0x8)+parseInt(_0x8fb041(0xde))/0x9*(parseInt(_0x8fb041(0xc3))/0xa)+parseInt(_0x8fb041(0xc7))/0xb+-parseInt(_0x8fb041(0xd1))/0xc*(parseInt(_0x8fb041(0xd2))/0xd);if(_0x30f76d===_0x4a9ccf)break;else _0x48dc66['push'](_0x48dc66['shift']());}catch(_0x5bb368){_0x48dc66['push'](_0x48dc66['shift']());}}}(_0x524b,0x32d1a));import{ListView as _0x390819,ListItemGroupView as _0x561a73,ButtonView as _0x197db2}from'ckeditor5/src/ui.js';function _0x524b(){const _0x4dd0f5=['4016clnHPp','4aRSjzf','321069ijDoKV','historyGroupView','12NpqllF','2397291GlMzUi','75416GvMGXn','execute','items','clearHistory','162zDMMwQ','_createClearHistoryButton','label','filter','length','2282kWHbMy','locale','9756SbMwrG','add','delegate','530KJgEvG','fire','clearHistoryButton','Clear','2485153ItaKqV','children','8LAkoHR','1620jJZzVM','Prompt\x20history','set'];_0x524b=function(){return _0x4dd0f5;};return _0x524b();}import{getTranslation as _0x4c4cf6}from'../../utils/common-translations.js';function _0x3b90(_0x56f06b,_0x533d9e){const _0x524b08=_0x524b();return _0x3b90=function(_0x3b9063,_0x5c15fb){_0x3b9063=_0x3b9063-0xc3;let _0x20c82a=_0x524b08[_0x3b9063];return _0x20c82a;},_0x3b90(_0x56f06b,_0x533d9e);}export default class ft extends _0x390819{[_0x4fd132(0xd0)];[_0x4fd132(0xc5)];constructor(_0x39c646){const _0x3d846f=_0x4fd132;super(_0x39c646),this[_0x3d846f(0xc5)]=this[_0x3d846f(0xd8)](),this[_0x3d846f(0xd0)]=new _0x561a73(),this[_0x3d846f(0xd0)][_0x3d846f(0xc8)][_0x3d846f(0xdf)](this[_0x3d846f(0xc5)],0x1),this[_0x3d846f(0xd0)][_0x3d846f(0xd9)]=_0x4c4cf6(_0x39c646,_0x3d846f(0xcb)),this[_0x3d846f(0xd0)][_0x3d846f(0xd5)][_0x3d846f(0xe0)](_0x3d846f(0xd4))['to'](this),this[_0x3d846f(0xd5)][_0x3d846f(0xdf)](this[_0x3d846f(0xd0)]);}[_0x4fd132(0xda)](){const _0x265f8f=_0x4fd132;let _0x2dbf63=0x0;for(const _0x591961 of this[_0x265f8f(0xd5)])_0x2dbf63+=_0x591961[_0x265f8f(0xd5)][_0x265f8f(0xdb)];return{'resultsCount':_0x2dbf63,'totalItemsCount':_0x2dbf63};}[_0x4fd132(0xd8)](){const _0x3a9f1b=_0x4fd132,_0x154d41=this[_0x3a9f1b(0xdd)],_0x36e2a1=new _0x197db2(this[_0x3a9f1b(0xdd)]);return _0x36e2a1[_0x3a9f1b(0xcc)]({'label':'('+_0x4c4cf6(_0x154d41,_0x3a9f1b(0xc6))+')','withText':!0x0}),_0x36e2a1['on'](_0x3a9f1b(0xd4),()=>this[_0x3a9f1b(0xc4)](_0x3a9f1b(0xd6))),_0x36e2a1;}}
23
+ const _0x3a4d58=_0x1656;(function(_0x1c5865,_0xe0b18a){const _0x16d93b=_0x1656,_0x1c0ec9=_0x1c5865();while(!![]){try{const _0x5ba646=-parseInt(_0x16d93b(0x78))/0x1+-parseInt(_0x16d93b(0x7c))/0x2+-parseInt(_0x16d93b(0x7b))/0x3+-parseInt(_0x16d93b(0x6a))/0x4+-parseInt(_0x16d93b(0x73))/0x5+parseInt(_0x16d93b(0x75))/0x6+parseInt(_0x16d93b(0x76))/0x7;if(_0x5ba646===_0xe0b18a)break;else _0x1c0ec9['push'](_0x1c0ec9['shift']());}catch(_0x55f73e){_0x1c0ec9['push'](_0x1c0ec9['shift']());}}}(_0x1dca,0xaa581));import{ListView as _0x1c163c,ListItemGroupView as _0x451608,ButtonView as _0x184dcc}from'ckeditor5/src/ui.js';import{getTranslation as _0x3162b0}from'../../utils/common-translations.js';function _0x1656(_0x501f39,_0x402b95){const _0x1dca3b=_0x1dca();return _0x1656=function(_0x165613,_0x106af6){_0x165613=_0x165613-0x6a;let _0x34d44d=_0x1dca3b[_0x165613];return _0x34d44d;},_0x1656(_0x501f39,_0x402b95);}export default class ft extends _0x1c163c{[_0x3a4d58(0x70)];[_0x3a4d58(0x77)];constructor(_0x2fc1d9){const _0x500241=_0x3a4d58;super(_0x2fc1d9),this[_0x500241(0x77)]=this[_0x500241(0x6c)](),this[_0x500241(0x70)]=new _0x451608(),this[_0x500241(0x70)][_0x500241(0x74)][_0x500241(0x7a)](this[_0x500241(0x77)],0x1),this[_0x500241(0x70)][_0x500241(0x71)]=_0x3162b0(_0x2fc1d9,_0x500241(0x80)),this[_0x500241(0x70)][_0x500241(0x6b)][_0x500241(0x6f)](_0x500241(0x81))['to'](this),this[_0x500241(0x6b)][_0x500241(0x7a)](this[_0x500241(0x70)]);}[_0x3a4d58(0x6e)](){const _0x2573c6=_0x3a4d58;let _0x223f9e=0x0;for(const _0x215b18 of this[_0x2573c6(0x6b)])_0x223f9e+=_0x215b18[_0x2573c6(0x6b)][_0x2573c6(0x72)];return{'resultsCount':_0x223f9e,'totalItemsCount':_0x223f9e};}[_0x3a4d58(0x6c)](){const _0x133d05=_0x3a4d58,_0x10e8f8=this[_0x133d05(0x6d)],_0x4bd996=new _0x184dcc(this[_0x133d05(0x6d)]);return _0x4bd996[_0x133d05(0x7f)]({'label':'('+_0x3162b0(_0x10e8f8,_0x133d05(0x7e))+')','withText':!0x0}),_0x4bd996['on'](_0x133d05(0x81),()=>this[_0x133d05(0x7d)](_0x133d05(0x79))),_0x4bd996;}}function _0x1dca(){const _0x470878=['length','3831290SBzdYi','children','2825604poRTak','27032761qEezCI','clearHistoryButton','1186455erOFEX','clearHistory','add','2250453DENakp','1410698oSgCxS','fire','Clear','set','Prompt\x20history','execute','907260cnmhAY','items','_createClearHistoryButton','locale','filter','delegate','historyGroupView','label'];_0x1dca=function(){return _0x470878;};return _0x1dca();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x105c15=_0x5bc5;function _0x5bc5(_0x2f2d60,_0x25a20c){const _0x190f09=_0x190f();return _0x5bc5=function(_0x5bc540,_0x4603cd){_0x5bc540=_0x5bc540-0xcd;let _0x6ab956=_0x190f09[_0x5bc540];return _0x6ab956;},_0x5bc5(_0x2f2d60,_0x25a20c);}(function(_0x5ca804,_0xf6c308){const _0x190660=_0x5bc5,_0x1dc0d6=_0x5ca804();while(!![]){try{const _0x18ecce=-parseInt(_0x190660(0xd1))/0x1*(parseInt(_0x190660(0xcf))/0x2)+parseInt(_0x190660(0xe5))/0x3*(parseInt(_0x190660(0xdb))/0x4)+-parseInt(_0x190660(0xd4))/0x5+parseInt(_0x190660(0xdd))/0x6+-parseInt(_0x190660(0xd3))/0x7+parseInt(_0x190660(0xe0))/0x8*(parseInt(_0x190660(0xd5))/0x9)+parseInt(_0x190660(0xd2))/0xa;if(_0x18ecce===_0xf6c308)break;else _0x1dc0d6['push'](_0x1dc0d6['shift']());}catch(_0x48bea6){_0x1dc0d6['push'](_0x1dc0d6['shift']());}}}(_0x190f,0xce006));import{Collection as _0x1393ae}from'ckeditor5/src/utils.js';const ts=_0x105c15(0xe6);export default class wt extends _0x1393ae{constructor(){const _0x4f1644=_0x105c15;super(),this[_0x4f1644(0xe1)](),this['on'](_0x4f1644(0xde),(_0x24f9f3,_0x255349)=>{const _0x10593a=_0x4f1644,_0x165356=os(_0x255349[_0x10593a(0xd9)]);for(const _0x2d3aa3 of this)if(_0x2d3aa3!=_0x255349&&os(_0x2d3aa3[_0x10593a(0xd9)])===_0x165356){this[_0x10593a(0xdf)](_0x2d3aa3);break;}this[_0x10593a(0xcd)]>0x14&&this[_0x10593a(0xdf)](this[_0x10593a(0xe4)]),this[_0x10593a(0xd0)]();}),this['on'](_0x4f1644(0xdf),()=>{const _0x266b32=_0x4f1644;this[_0x266b32(0xd0)]();});}[_0x105c15(0xe1)](){const _0x1a4a2a=_0x105c15,_0x1315fe=sessionStorage[_0x1a4a2a(0xd8)](ts)||'[]';this[_0x1a4a2a(0xda)](JSON[_0x1a4a2a(0xd7)](_0x1315fe));}[_0x105c15(0xd0)](){const _0x1015f0=_0x105c15;sessionStorage[_0x1015f0(0xd6)](ts,JSON[_0x1015f0(0xe2)](this[_0x1015f0(0xe3)](_0x190f5a=>_0x190f5a)));}}function _0x190f(){const _0x31d4e3=['map','last','2595453TZxWuv','CKEditor/AIFormView/PromptHistory','length','toLowerCase','2jqlKdU','_saveToSessionStorage','1468644KHWhvi','21075640GJgwDL','5525387KpycaQ','4597480HjCuzu','1305lyRYBb','setItem','parse','getItem','prompt','addMany','4ISKVkw','trim','879018TQMbsN','add','remove','49768ejGrAE','_loadFromSessionStorage','stringify'];_0x190f=function(){return _0x31d4e3;};return _0x190f();}function os(_0x32e445){const _0x497bc0=_0x105c15;return _0x32e445[_0x497bc0(0xce)]()[_0x497bc0(0xdc)]();}
23
+ function _0x57fd(){const _0x5b1f91=['1350HqLVpX','toLowerCase','49905fgOhop','map','_loadFromSessionStorage','prompt','add','parse','9721844GLFmRS','_saveToSessionStorage','setItem','58503hzvjaa','length','CKEditor/AIFormView/PromptHistory','2140470gMvyIb','1073540wyaXTo','384813LBcjfx','trim','22BHwSEs','8456gVUDBw','addMany','last','getItem','2324JoCiSJ','stringify','12PlJhmV','remove'];_0x57fd=function(){return _0x5b1f91;};return _0x57fd();}const _0x271010=_0x4a1c;(function(_0x839f5a,_0x38ae44){const _0x4903d0=_0x4a1c,_0x32a522=_0x839f5a();while(!![]){try{const _0x366001=-parseInt(_0x4903d0(0x16e))/0x1+-parseInt(_0x4903d0(0x170))/0x2*(-parseInt(_0x4903d0(0x184))/0x3)+parseInt(_0x4903d0(0x177))/0x4*(-parseInt(_0x4903d0(0x188))/0x5)+-parseInt(_0x4903d0(0x187))/0x6+parseInt(_0x4903d0(0x175))/0x7*(parseInt(_0x4903d0(0x171))/0x8)+parseInt(_0x4903d0(0x17b))/0x9*(parseInt(_0x4903d0(0x179))/0xa)+parseInt(_0x4903d0(0x181))/0xb;if(_0x366001===_0x38ae44)break;else _0x32a522['push'](_0x32a522['shift']());}catch(_0x24d2cb){_0x32a522['push'](_0x32a522['shift']());}}}(_0x57fd,0xc6464));import{Collection as _0x1b60ff}from'ckeditor5/src/utils.js';const ts=_0x271010(0x186);function _0x4a1c(_0x3406e4,_0xd2f342){const _0x57fdec=_0x57fd();return _0x4a1c=function(_0x4a1ccc,_0x5843bd){_0x4a1ccc=_0x4a1ccc-0x16e;let _0xb51f22=_0x57fdec[_0x4a1ccc];return _0xb51f22;},_0x4a1c(_0x3406e4,_0xd2f342);}export default class wt extends _0x1b60ff{constructor(){const _0x50f750=_0x271010;super(),this[_0x50f750(0x17d)](),this['on'](_0x50f750(0x17f),(_0xf56f03,_0x598d97)=>{const _0x5a633a=_0x50f750,_0xafa6fd=os(_0x598d97[_0x5a633a(0x17e)]);for(const _0x101ad1 of this)if(_0x101ad1!=_0x598d97&&os(_0x101ad1[_0x5a633a(0x17e)])===_0xafa6fd){this[_0x5a633a(0x178)](_0x101ad1);break;}this[_0x5a633a(0x185)]>0x14&&this[_0x5a633a(0x178)](this[_0x5a633a(0x173)]),this[_0x5a633a(0x182)]();}),this['on'](_0x50f750(0x178),()=>{const _0x210c1c=_0x50f750;this[_0x210c1c(0x182)]();});}[_0x271010(0x17d)](){const _0x216c72=_0x271010,_0x52d8f4=sessionStorage[_0x216c72(0x174)](ts)||'[]';this[_0x216c72(0x172)](JSON[_0x216c72(0x180)](_0x52d8f4));}[_0x271010(0x182)](){const _0x410a7a=_0x271010;sessionStorage[_0x410a7a(0x183)](ts,JSON[_0x410a7a(0x176)](this[_0x410a7a(0x17c)](_0x500edf=>_0x500edf)));}}function os(_0x2f2c3a){const _0x44b2b7=_0x271010;return _0x2f2c3a[_0x44b2b7(0x17a)]()[_0x44b2b7(0x16f)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x81c6a3=_0x1e47;function _0x3f6f(){const _0x58179=['add','2258226zZqYuI','2477188ADkLqa','_hasContext','execute','set','from','model','getRanges','plugins','15300768ARRgPz','values','selection','6zBcFnx','refresh','5194755UGYhQr','enabledCommandsIds','getSelectedBlocks','getFirstRange','length','showUI','change:isEnabled','300527CZcUEI','includes','config','change:_hasContext','document','name','element','4699928bzvZdi','get','1996980GAsXIY','custom','hasContent','ai.aiAssistant.disabledElements','isEmpty','getItems','editor','requiresContent','_commandDefinitions','isCollapsed','isEnabled'];_0x3f6f=function(){return _0x58179;};return _0x3f6f();}(function(_0x58e827,_0x151355){const _0x929a78=_0x1e47,_0xa1872b=_0x58e827();while(!![]){try{const _0x18211d=-parseInt(_0x929a78(0x171))/0x1+parseInt(_0x929a78(0x186))/0x2+parseInt(_0x929a78(0x17a))/0x3+-parseInt(_0x929a78(0x178))/0x4+-parseInt(_0x929a78(0x194))/0x5+parseInt(_0x929a78(0x192))/0x6*(-parseInt(_0x929a78(0x187))/0x7)+parseInt(_0x929a78(0x18f))/0x8;if(_0x18211d===_0x151355)break;else _0xa1872b['push'](_0xa1872b['shift']());}catch(_0x589ee4){_0xa1872b['push'](_0xa1872b['shift']());}}}(_0x3f6f,0xccd71));function _0x1e47(_0xd96a0b,_0x458d82){const _0x3f6f00=_0x3f6f();return _0x1e47=function(_0x1e472d,_0x52eb88){_0x1e472d=_0x1e472d-0x16b;let _0x11684a=_0x3f6f00[_0x1e472d];return _0x11684a;},_0x1e47(_0xd96a0b,_0x458d82);}import{Command as _0x3b44b7}from'ckeditor5/src/core.js';import _0x2c0d06 from'../aiassistantui.js';export default class j extends _0x3b44b7{[_0x81c6a3(0x182)];constructor(_0x1dd1f7,_0x395ef4){const _0x23dc11=_0x81c6a3;super(_0x1dd1f7),this[_0x23dc11(0x182)]=_0x395ef4,this[_0x23dc11(0x18a)](_0x23dc11(0x16b),[]),this['on'](_0x23dc11(0x174),(_0x24a426,_0x59e41a,_0x2bb5cf)=>{const _0x5e2c76=_0x23dc11;this[_0x5e2c76(0x184)]&&(this[_0x5e2c76(0x16b)]=G(this[_0x5e2c76(0x182)],_0x2bb5cf));}),this[_0x23dc11(0x18a)](_0x23dc11(0x188),!0x1),this['on'](_0x23dc11(0x170),(_0x37c347,_0x2c59d9,_0x30eca2)=>{const _0x11880f=_0x23dc11;this[_0x11880f(0x16b)]=_0x30eca2?G(this[_0x11880f(0x182)],this[_0x11880f(0x188)]):[];});}[_0x81c6a3(0x193)](){const _0x1f180a=_0x81c6a3,_0x273d98=this[_0x1f180a(0x180)][_0x1f180a(0x18c)];this[_0x1f180a(0x188)]=function(_0x427595){const _0x26b5ec=_0x1f180a,_0x246d52=_0x427595[_0x26b5ec(0x175)][_0x26b5ec(0x191)];return _0x246d52[_0x26b5ec(0x183)]?0x0!==[..._0x246d52[_0x26b5ec(0x16c)]()][_0x26b5ec(0x16e)]&&![..._0x246d52[_0x26b5ec(0x16c)]()][0x0][_0x26b5ec(0x17e)]:!!_0x427595[_0x26b5ec(0x17c)](_0x246d52[_0x26b5ec(0x16d)]());}(_0x273d98);const _0x45d2b5=_0x273d98[_0x1f180a(0x175)][_0x1f180a(0x191)],_0x37b11c=this[_0x1f180a(0x180)][_0x1f180a(0x173)][_0x1f180a(0x179)](_0x1f180a(0x17d));for(const _0x583af2 of _0x45d2b5[_0x1f180a(0x18d)]())for(const _0x5a2ed2 of _0x583af2[_0x1f180a(0x17f)]())if(_0x5a2ed2['is'](_0x1f180a(0x177))&&_0x37b11c[_0x1f180a(0x172)](_0x5a2ed2[_0x1f180a(0x176)]))return void(this[_0x1f180a(0x184)]=!0x1);this[_0x1f180a(0x184)]=!0x0;}[_0x81c6a3(0x189)](_0x26059a='',_0x4574f9='',_0x599fb6=_0x81c6a3(0x17b)){const _0x4e72f2=_0x81c6a3;this[_0x4e72f2(0x180)][_0x4e72f2(0x18e)][_0x4e72f2(0x179)](_0x2c0d06)[_0x4e72f2(0x16f)](_0x26059a,_0x4574f9,_0x599fb6);}}function G(_0x26a0a0,_0x39b59d){const _0x1216cb=_0x81c6a3,_0x120bfb=new Set();for(const _0x4b01c4 of _0x26a0a0[_0x1216cb(0x190)]())(_0x39b59d||!0x1===_0x4b01c4[_0x1216cb(0x181)])&&_0x120bfb[_0x1216cb(0x185)](_0x4b01c4['id']);return Array[_0x1216cb(0x18b)](_0x120bfb);}
23
+ function _0x40cc(){const _0x4b5655=['7HVVoLD','ai.aiAssistant.disabledElements','plugins','4697676ROVpyV','add','change:_hasContext','getItems','includes','from','getFirstRange','getSelectedBlocks','105711BiMSvk','selection','1741SbqtlV','requiresContent','document','config','4rAQOfG','editor','change:isEnabled','_commandDefinitions','enabledCommandsIds','showUI','set','name','5857256GSswFl','isEmpty','model','isCollapsed','refresh','isEnabled','294290bZNlyF','values','_hasContext','getRanges','custom','10501686pGPBad','length','get','hasContent','element','7902955dBUWcL','execute','1642HEWXkd','1859XAkely'];_0x40cc=function(){return _0x4b5655;};return _0x40cc();}const _0x27096b=_0x2b66;(function(_0x3812ed,_0x5f09cd){const _0x32382f=_0x2b66,_0x2861c9=_0x3812ed();while(!![]){try{const _0x4ea505=-parseInt(_0x32382f(0x129))/0x1*(parseInt(_0x32382f(0x147))/0x2)+parseInt(_0x32382f(0x127))/0x3*(parseInt(_0x32382f(0x12d))/0x4)+-parseInt(_0x32382f(0x145))/0x5+parseInt(_0x32382f(0x14c))/0x6+parseInt(_0x32382f(0x149))/0x7*(-parseInt(_0x32382f(0x135))/0x8)+-parseInt(_0x32382f(0x140))/0x9+-parseInt(_0x32382f(0x13b))/0xa*(-parseInt(_0x32382f(0x148))/0xb);if(_0x4ea505===_0x5f09cd)break;else _0x2861c9['push'](_0x2861c9['shift']());}catch(_0x517610){_0x2861c9['push'](_0x2861c9['shift']());}}}(_0x40cc,0xd7821));import{Command as _0x4fe07d}from'ckeditor5/src/core.js';import _0x17f436 from'../aiassistantui.js';function _0x2b66(_0x433530,_0x122d38){const _0x40cccb=_0x40cc();return _0x2b66=function(_0x2b6667,_0x2a4448){_0x2b6667=_0x2b6667-0x125;let _0x241166=_0x40cccb[_0x2b6667];return _0x241166;},_0x2b66(_0x433530,_0x122d38);}export default class j extends _0x4fe07d{[_0x27096b(0x130)];constructor(_0x4937a8,_0x53db02){const _0x57f35b=_0x27096b;super(_0x4937a8),this[_0x57f35b(0x130)]=_0x53db02,this[_0x57f35b(0x133)](_0x57f35b(0x131),[]),this['on'](_0x57f35b(0x14e),(_0x99963e,_0x182164,_0x551423)=>{const _0x57c0ae=_0x57f35b;this[_0x57c0ae(0x13a)]&&(this[_0x57c0ae(0x131)]=G(this[_0x57c0ae(0x130)],_0x551423));}),this[_0x57f35b(0x133)](_0x57f35b(0x13d),!0x1),this['on'](_0x57f35b(0x12f),(_0xb9fab5,_0x307d46,_0x524d34)=>{const _0x63b932=_0x57f35b;this[_0x63b932(0x131)]=_0x524d34?G(this[_0x63b932(0x130)],this[_0x63b932(0x13d)]):[];});}[_0x27096b(0x139)](){const _0xdef799=_0x27096b,_0x24627a=this[_0xdef799(0x12e)][_0xdef799(0x137)];this[_0xdef799(0x13d)]=function(_0x560381){const _0x350183=_0xdef799,_0x123829=_0x560381[_0x350183(0x12b)][_0x350183(0x128)];return _0x123829[_0x350183(0x138)]?0x0!==[..._0x123829[_0x350183(0x126)]()][_0x350183(0x141)]&&![..._0x123829[_0x350183(0x126)]()][0x0][_0x350183(0x136)]:!!_0x560381[_0x350183(0x143)](_0x123829[_0x350183(0x125)]());}(_0x24627a);const _0x4d0383=_0x24627a[_0xdef799(0x12b)][_0xdef799(0x128)],_0x47034e=this[_0xdef799(0x12e)][_0xdef799(0x12c)][_0xdef799(0x142)](_0xdef799(0x14a));for(const _0x7c7524 of _0x4d0383[_0xdef799(0x13e)]())for(const _0x1991c7 of _0x7c7524[_0xdef799(0x14f)]())if(_0x1991c7['is'](_0xdef799(0x144))&&_0x47034e[_0xdef799(0x150)](_0x1991c7[_0xdef799(0x134)]))return void(this[_0xdef799(0x13a)]=!0x1);this[_0xdef799(0x13a)]=!0x0;}[_0x27096b(0x146)](_0xaebcce='',_0x15c68b='',_0x3b2302=_0x27096b(0x13f)){const _0x508282=_0x27096b;this[_0x508282(0x12e)][_0x508282(0x14b)][_0x508282(0x142)](_0x17f436)[_0x508282(0x132)](_0xaebcce,_0x15c68b,_0x3b2302);}}function G(_0x552b01,_0x30e341){const _0x87039=_0x27096b,_0x349404=new Set();for(const _0x32934c of _0x552b01[_0x87039(0x13c)]())(_0x30e341||!0x1===_0x32934c[_0x87039(0x12a)])&&_0x349404[_0x87039(0x14d)](_0x32934c['id']);return Array[_0x87039(0x151)](_0x349404);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3525f7,_0x3b0bdf,_0x1dd9a2){const t=_0x3525f7['t'];switch(_0x3b0bdf){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',_0x1dd9a2);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1dd9a2);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'},_0x1dd9a2);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 _0x3b0bdf;}}
23
+ export function getTranslation(_0x192838,_0x243d20,_0x3281a2){const t=_0x192838['t'];switch(_0x243d20){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',_0x3281a2);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3281a2);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'},_0x3281a2);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 _0x243d20;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3290ab,_0x385718){const _0x3464a5=(0x0,_0x385718['t'])('Other');return _0x3290ab['length']?'groupId'in _0x3290ab[0x0]?_0x3290ab:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3464a5,'order':0x1/0x0,'commands':_0x3290ab}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3464a5,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x33a73f,_0x893367){const _0x1443eb=(0x0,_0x893367['t'])('Other');return _0x33a73f['length']?'groupId'in _0x33a73f[0x0]?_0x33a73f:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1443eb,'order':0x1/0x0,'commands':_0x33a73f}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1443eb,'order':0x1/0x0,'commands':[]}];}