@ckeditor/ckeditor5-ai 0.0.0-nightly-20240516.1 → 0.0.0-nightly-20240517.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 (208) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index.js +2 -2
  41. package/dist/translations/af.js +1 -1
  42. package/dist/translations/af.umd.js +1 -1
  43. package/dist/translations/ar.js +1 -1
  44. package/dist/translations/ar.umd.js +1 -1
  45. package/dist/translations/bg.js +1 -1
  46. package/dist/translations/bg.umd.js +1 -1
  47. package/dist/translations/bn.js +1 -1
  48. package/dist/translations/bn.umd.js +1 -1
  49. package/dist/translations/bs.js +1 -1
  50. package/dist/translations/bs.umd.js +1 -1
  51. package/dist/translations/ca.js +1 -1
  52. package/dist/translations/ca.umd.js +1 -1
  53. package/dist/translations/cs.js +1 -1
  54. package/dist/translations/cs.umd.js +1 -1
  55. package/dist/translations/da.js +1 -1
  56. package/dist/translations/da.umd.js +1 -1
  57. package/dist/translations/de-ch.js +1 -1
  58. package/dist/translations/de-ch.umd.js +1 -1
  59. package/dist/translations/de.js +1 -1
  60. package/dist/translations/de.umd.js +1 -1
  61. package/dist/translations/el.js +1 -1
  62. package/dist/translations/el.umd.js +1 -1
  63. package/dist/translations/en-au.js +1 -1
  64. package/dist/translations/en-au.umd.js +1 -1
  65. package/dist/translations/en.umd.js +1 -1
  66. package/dist/translations/es-co.js +1 -1
  67. package/dist/translations/es-co.umd.js +1 -1
  68. package/dist/translations/es.js +1 -1
  69. package/dist/translations/es.umd.js +1 -1
  70. package/dist/translations/et.js +1 -1
  71. package/dist/translations/et.umd.js +1 -1
  72. package/dist/translations/fa.js +1 -1
  73. package/dist/translations/fa.umd.js +1 -1
  74. package/dist/translations/fi.js +1 -1
  75. package/dist/translations/fi.umd.js +1 -1
  76. package/dist/translations/fr.js +1 -1
  77. package/dist/translations/fr.umd.js +1 -1
  78. package/dist/translations/gl.js +1 -1
  79. package/dist/translations/gl.umd.js +1 -1
  80. package/dist/translations/he.js +1 -1
  81. package/dist/translations/he.umd.js +1 -1
  82. package/dist/translations/hi.js +1 -1
  83. package/dist/translations/hi.umd.js +1 -1
  84. package/dist/translations/hr.js +1 -1
  85. package/dist/translations/hr.umd.js +1 -1
  86. package/dist/translations/hu.js +1 -1
  87. package/dist/translations/hu.umd.js +1 -1
  88. package/dist/translations/id.js +1 -1
  89. package/dist/translations/id.umd.js +1 -1
  90. package/dist/translations/it.js +1 -1
  91. package/dist/translations/it.umd.js +1 -1
  92. package/dist/translations/ja.js +1 -1
  93. package/dist/translations/ja.umd.js +1 -1
  94. package/dist/translations/jv.js +1 -1
  95. package/dist/translations/jv.umd.js +1 -1
  96. package/dist/translations/ko.js +1 -1
  97. package/dist/translations/ko.umd.js +1 -1
  98. package/dist/translations/lt.js +1 -1
  99. package/dist/translations/lt.umd.js +1 -1
  100. package/dist/translations/lv.js +1 -1
  101. package/dist/translations/lv.umd.js +1 -1
  102. package/dist/translations/ms.js +1 -1
  103. package/dist/translations/ms.umd.js +1 -1
  104. package/dist/translations/nl.js +1 -1
  105. package/dist/translations/nl.umd.js +1 -1
  106. package/dist/translations/no.js +1 -1
  107. package/dist/translations/no.umd.js +1 -1
  108. package/dist/translations/pl.js +1 -1
  109. package/dist/translations/pl.umd.js +1 -1
  110. package/dist/translations/pt-br.js +1 -1
  111. package/dist/translations/pt-br.umd.js +1 -1
  112. package/dist/translations/pt.js +1 -1
  113. package/dist/translations/pt.umd.js +1 -1
  114. package/dist/translations/ro.js +1 -1
  115. package/dist/translations/ro.umd.js +1 -1
  116. package/dist/translations/ru.js +1 -1
  117. package/dist/translations/ru.umd.js +1 -1
  118. package/dist/translations/sk.js +1 -1
  119. package/dist/translations/sk.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/lang/translations/ar.po +4 -4
  149. package/lang/translations/bg.po +4 -4
  150. package/lang/translations/bn.po +4 -4
  151. package/lang/translations/ca.po +4 -4
  152. package/lang/translations/cs.po +4 -4
  153. package/lang/translations/da.po +4 -4
  154. package/lang/translations/de.po +4 -4
  155. package/lang/translations/el.po +4 -4
  156. package/lang/translations/es.po +4 -4
  157. package/lang/translations/et.po +4 -4
  158. package/lang/translations/fi.po +4 -4
  159. package/lang/translations/fr.po +4 -4
  160. package/lang/translations/he.po +4 -4
  161. package/lang/translations/hi.po +4 -4
  162. package/lang/translations/hu.po +4 -4
  163. package/lang/translations/id.po +4 -4
  164. package/lang/translations/it.po +4 -4
  165. package/lang/translations/ja.po +4 -4
  166. package/lang/translations/ko.po +4 -4
  167. package/lang/translations/lt.po +4 -4
  168. package/lang/translations/lv.po +4 -4
  169. package/lang/translations/ms.po +4 -4
  170. package/lang/translations/nl.po +4 -4
  171. package/lang/translations/no.po +4 -4
  172. package/lang/translations/pl.po +4 -4
  173. package/lang/translations/pt-br.po +4 -4
  174. package/lang/translations/pt.po +4 -4
  175. package/lang/translations/ro.po +4 -4
  176. package/lang/translations/ru.po +4 -4
  177. package/lang/translations/sk.po +4 -4
  178. package/lang/translations/sr.po +4 -4
  179. package/lang/translations/sv.po +4 -4
  180. package/lang/translations/th.po +4 -4
  181. package/lang/translations/tr.po +4 -4
  182. package/lang/translations/uk.po +4 -4
  183. package/lang/translations/vi.po +4 -4
  184. package/lang/translations/zh-cn.po +4 -4
  185. package/lang/translations/zh.po +4 -4
  186. package/package.json +4 -4
  187. package/src/adapters/aiadapter.js +1 -1
  188. package/src/adapters/aitextadapter.js +1 -1
  189. package/src/adapters/awstextadapter.js +1 -1
  190. package/src/adapters/openaitextadapter.js +1 -1
  191. package/src/aiassistant.js +1 -1
  192. package/src/aiassistantediting.js +1 -1
  193. package/src/aiassistantui.js +1 -1
  194. package/src/index.js +1 -1
  195. package/src/ui/aiassistantcontroller.js +2 -2
  196. package/src/ui/dropdown/aicommandslistview.js +1 -1
  197. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  198. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  199. package/src/ui/form/aiformcontentarea.js +1 -1
  200. package/src/ui/form/aiformerrorview.js +1 -1
  201. package/src/ui/form/aiformpromptview.js +1 -1
  202. package/src/ui/form/aiformtoolbarview.js +1 -1
  203. package/src/ui/form/aiformview.js +1 -1
  204. package/src/ui/form/aihistorylistitemview.js +1 -1
  205. package/src/ui/form/aihistorylistview.js +1 -1
  206. package/src/ui/form/prompthistory.js +1 -1
  207. package/src/ui/showaiassistantcommand.js +1 -1
  208. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x26d535,_0x12ed64){const _0x3e07c7=_0x2974,_0x45e972=_0x26d535();while(!![]){try{const _0x3fab32=-parseInt(_0x3e07c7(0xb9))/0x1*(-parseInt(_0x3e07c7(0xba))/0x2)+-parseInt(_0x3e07c7(0xb1))/0x3+-parseInt(_0x3e07c7(0xb6))/0x4*(parseInt(_0x3e07c7(0xbb))/0x5)+-parseInt(_0x3e07c7(0xbc))/0x6*(parseInt(_0x3e07c7(0xc0))/0x7)+parseInt(_0x3e07c7(0xb2))/0x8+-parseInt(_0x3e07c7(0xb3))/0x9+parseInt(_0x3e07c7(0xc1))/0xa*(parseInt(_0x3e07c7(0xbf))/0xb);if(_0x3fab32===_0x12ed64)break;else _0x45e972['push'](_0x45e972['shift']());}catch(_0x24c727){_0x45e972['push'](_0x45e972['shift']());}}}(_0x27f1,0xd3f6b));function _0x2974(_0x17d4b3,_0x15d73b){const _0x27f1f7=_0x27f1();return _0x2974=function(_0x29746d,_0x274fbc){_0x29746d=_0x29746d-0xb1;let _0x35ed8f=_0x27f1f7[_0x29746d];return _0x35ed8f;},_0x2974(_0x17d4b3,_0x15d73b);}function _0x27f1(){const _0x4fda21=['bindTemplate','ck-label','632CkVKHh','extendTemplate','set','12401uCCYRy','14dNSAJE','46425JelDTd','18uwDqvk','for','ck-editor__label_','51711077TtkuWg','2288811UPdJhR','10hUAyqe','3227793xGRUTv','5491424fjYOKR','9739431whAUvG'];_0x27f1=function(){return _0x4fda21;};return _0x27f1();}import{HighlightedTextView as _0x243c3b}from'ckeditor5/src/ui.js';import{uid as _0x2fa9b4}from'ckeditor5/src/utils.js';export default class S extends _0x243c3b{constructor(){const _0x3c9fd3=_0x2974;super(),this[_0x3c9fd3(0xb8)](_0x3c9fd3(0xbd),void 0x0);const _0x3c653a=this[_0x3c9fd3(0xb4)];this['id']=_0x3c9fd3(0xbe)+_0x2fa9b4(),this[_0x3c9fd3(0xb7)]({'attributes':{'class':['ck',_0x3c9fd3(0xb5)],'id':this['id'],'for':_0x3c653a['to'](_0x3c9fd3(0xbd))}});}}
23
+ function _0x4c79(){const _0x23ea7e=['5335220hRJUFL','3FpQrWs','ck-label','set','1305880FduSzq','ck-editor__label_','extendTemplate','446080JmmgrN','bindTemplate','1396634eEnEZB','5xtDYMq','1065840Huiggk','for','21305466YWcDgG','458948gLUNhq'];_0x4c79=function(){return _0x23ea7e;};return _0x4c79();}function _0x6713(_0x2009da,_0xc466f1){const _0x4c792f=_0x4c79();return _0x6713=function(_0x6713f2,_0x2b498a){_0x6713f2=_0x6713f2-0x162;let _0x6397a8=_0x4c792f[_0x6713f2];return _0x6397a8;},_0x6713(_0x2009da,_0xc466f1);}(function(_0x173558,_0x48f75e){const _0x4d19b0=_0x6713,_0x266ab7=_0x173558();while(!![]){try{const _0x5269e2=parseInt(_0x4d19b0(0x163))/0x1+-parseInt(_0x4d19b0(0x168))/0x2*(-parseInt(_0x4d19b0(0x16f))/0x3)+-parseInt(_0x4d19b0(0x16e))/0x4*(-parseInt(_0x4d19b0(0x169))/0x5)+-parseInt(_0x4d19b0(0x16a))/0x6+-parseInt(_0x4d19b0(0x16d))/0x7+-parseInt(_0x4d19b0(0x166))/0x8+-parseInt(_0x4d19b0(0x16c))/0x9;if(_0x5269e2===_0x48f75e)break;else _0x266ab7['push'](_0x266ab7['shift']());}catch(_0xa79286){_0x266ab7['push'](_0x266ab7['shift']());}}}(_0x4c79,0xa4014));import{HighlightedTextView as _0x338493}from'ckeditor5/src/ui.js';import{uid as _0x5e13fb}from'ckeditor5/src/utils.js';export default class S extends _0x338493{constructor(){const _0x14b529=_0x6713;super(),this[_0x14b529(0x162)](_0x14b529(0x16b),void 0x0);const _0x248ea1=this[_0x14b529(0x167)];this['id']=_0x14b529(0x164)+_0x5e13fb(),this[_0x14b529(0x165)]({'attributes':{'class':['ck',_0x14b529(0x170)],'id':this['id'],'for':_0x248ea1['to'](_0x14b529(0x16b))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x453395=_0x1533;function _0x1533(_0x3e9d56,_0x1cede1){const _0x311981=_0x3119();return _0x1533=function(_0x153323,_0xfd27d0){_0x153323=_0x153323-0x153;let _0x560205=_0x311981[_0x153323];return _0x560205;},_0x1533(_0x3e9d56,_0x1cede1);}(function(_0x43cd10,_0x15774f){const _0xe5ae6d=_0x1533,_0x53595a=_0x43cd10();while(!![]){try{const _0x5e6922=-parseInt(_0xe5ae6d(0x1a0))/0x1*(-parseInt(_0xe5ae6d(0x1a2))/0x2)+-parseInt(_0xe5ae6d(0x1a4))/0x3*(parseInt(_0xe5ae6d(0x18a))/0x4)+parseInt(_0xe5ae6d(0x1a1))/0x5+parseInt(_0xe5ae6d(0x180))/0x6+-parseInt(_0xe5ae6d(0x17b))/0x7*(-parseInt(_0xe5ae6d(0x1a6))/0x8)+-parseInt(_0xe5ae6d(0x18d))/0x9*(parseInt(_0xe5ae6d(0x16b))/0xa)+parseInt(_0xe5ae6d(0x162))/0xb*(-parseInt(_0xe5ae6d(0x158))/0xc);if(_0x5e6922===_0x15774f)break;else _0x53595a['push'](_0x53595a['shift']());}catch(_0x4e3e85){_0x53595a['push'](_0x53595a['shift']());}}}(_0x3119,0x617d1));function _0x3119(){const _0xde48e1=['text/html','ck-ai-form__content-area-wrapper','execute','-9999px','focus','ck-ai-form__content-area','copy','ck-ai-form__loader','appendChild','_createLoader','lastElementChild','mousedown','Copy','contentFieldView','setContent','3DEMdDf','1126055OJSaui','9904qxfmzw','createRange','619842FQIuHP','class','8VnYSwI','ck-reset_all-excluded','isVisible','setStartAfter','check','<span>[</span>','getSelection','bindTemplate','scrollTo','element','612DLfmiJ','div','set','appendLoader','copyButtonView','AI\x20is\x20writing...','left','ck-ai-form__copy-button','wheel','clipboard','109351ntwTQy','querySelector','text/plain','execCommand','\x20ck-ai-form__copy-button--copied','bind','_copyHTMLToClipboard','ck-ai-form__copy-button-wrapper','ck-hidden','320GeWYwW','isProcessing','render','<span>]</span>','change:isProcessing','removeAllRanges','innerHTML','firstElementChild','isEnabled','style','body','textContent','scrollHeight','locale','ClipboardItem','.ck-ai-form__loader','5095363znToiA','setTemplate','ck-ai-form__content-area--processing','change:value','absolute','4162524spNStK','value','position','loaderView','write','listenTo','setEndBefore','remove','icon','_createCopyButton','12vZeFJW','ck-content','addRange','38133fVvVKV','ck-ai-form__content-field','createElement','smooth'];_0x3119=function(){return _0xde48e1;};return _0x3119();}import{global as _0x3efa5a}from'ckeditor5/src/utils.js';import{View as _0xc39c13,ButtonView as _0x18c369,SpinnerView as _0x3580b4}from'ckeditor5/src/ui.js';import _0x30885b from'../../../theme/icons/copy.svg';import{getTranslation as _0x1cf410}from'../../utils/common-translations.js';import{icons as _0x43a50d}from'ckeditor5/src/core.js';export default class nt extends _0xc39c13{constructor(_0x91bcdc,_0x4707cb=''){const _0x516824=_0x1533;super(_0x91bcdc),this[_0x516824(0x15a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x49457a=this[_0x516824(0x155)];this[_0x516824(0x19e)]=new ContentFieldView(_0x91bcdc,_0x4707cb),this[_0x516824(0x15c)]=this[_0x516824(0x189)](),this[_0x516824(0x17c)]({'tag':_0x516824(0x159),'attributes':{'class':['ck',_0x516824(0x192),_0x49457a['if'](_0x516824(0x1a8),_0x516824(0x16a),_0x2f850a=>!_0x2f850a)],'tabindex':'-1'},'children':[{'tag':_0x516824(0x159),'attributes':{'class':['ck',_0x516824(0x196),_0x49457a['if'](_0x516824(0x16c),_0x516824(0x17d))]},'children':[this[_0x516824(0x19e)],{'tag':_0x516824(0x159),'attributes':{'class':['ck',_0x516824(0x169)]},'children':[this[_0x516824(0x15c)]]}]}]});}[_0x453395(0x16d)](){const _0x5c2d89=_0x453395;super[_0x5c2d89(0x16d)](),this[_0x5c2d89(0x181)]&&this[_0x5c2d89(0x19e)][_0x5c2d89(0x19f)](this[_0x5c2d89(0x181)]);let _0x16802e=!0x1;this['on'](_0x5c2d89(0x17e),(_0x423adf,_0x1a2f97,_0x32bb0e)=>{const _0x4bf190=_0x5c2d89,_0x153de5=!this[_0x4bf190(0x19e)][_0x4bf190(0x157)][_0x4bf190(0x163)](_0x4bf190(0x17a));this[_0x4bf190(0x19e)][_0x4bf190(0x19f)](_0x32bb0e),this[_0x4bf190(0x16c)]&&_0x153de5&&!_0x16802e&&this[_0x4bf190(0x157)][_0x4bf190(0x156)]({'top':this[_0x4bf190(0x157)][_0x4bf190(0x177)],'behavior':_0x4bf190(0x190)});}),this['on'](_0x5c2d89(0x16f),(_0x49fb8a,_0x795fd6,_0x5ae885)=>{const _0x46e270=_0x5c2d89;_0x16802e=!0x1,_0x5ae885?(this[_0x46e270(0x181)]=null,this[_0x46e270(0x19e)][_0x46e270(0x15b)]()):this[_0x46e270(0x181)]||this[_0x46e270(0x19e)][_0x46e270(0x19f)]('');}),this[_0x5c2d89(0x185)](this[_0x5c2d89(0x157)],_0x5c2d89(0x160),()=>{_0x16802e=!0x0;}),this[_0x5c2d89(0x185)](this[_0x5c2d89(0x157)],_0x5c2d89(0x19c),()=>{_0x16802e=!0x0;});}[_0x453395(0x195)](){const _0x2c944a=_0x453395;this[_0x2c944a(0x157)][_0x2c944a(0x195)]();}[_0x453395(0x189)](){const _0x45839f=_0x453395,_0x39367e=this[_0x45839f(0x178)],_0x2bf48d=new _0x18c369(this[_0x45839f(0x178)]),_0x344c2e=_0x45839f(0x15f);return _0x2bf48d[_0x45839f(0x15a)]({'label':_0x1cf410(_0x39367e,_0x45839f(0x19d)),'icon':_0x30885b,'class':_0x344c2e,'tooltip':!0x0}),_0x2bf48d[_0x45839f(0x167)](_0x45839f(0x1a8))['to'](this,_0x45839f(0x181),_0x3fa9bf=>!!_0x3fa9bf),_0x2bf48d[_0x45839f(0x167)](_0x45839f(0x173))['to'](this,_0x45839f(0x16c),_0x55265a=>!_0x55265a),_0x2bf48d['on'](_0x45839f(0x193),()=>{const _0x4a5016=_0x45839f;this[_0x4a5016(0x168)](this[_0x4a5016(0x19e)][_0x4a5016(0x157)]),_0x2bf48d[_0x4a5016(0x188)]=_0x43a50d[_0x4a5016(0x1aa)],_0x2bf48d[_0x4a5016(0x1a5)]=_0x344c2e+_0x4a5016(0x166),this[_0x4a5016(0x195)](),setTimeout(()=>{const _0x39e392=_0x4a5016;_0x2bf48d[_0x39e392(0x188)]=_0x30885b,_0x2bf48d[_0x39e392(0x1a5)]=_0x344c2e;},0x3e8);}),_0x2bf48d;}[_0x453395(0x168)](_0x4380cd){const _0x577b62=_0x453395,{window:_0x5062dd,document:_0x28c480}=_0x3efa5a;if(_0x5062dd[_0x577b62(0x179)]){const {Blob:_0x30e14a,ClipboardItem:_0x465c06}=_0x5062dd,_0x114dec=[new _0x465c06({'text/html':new _0x30e14a([_0x4380cd[_0x577b62(0x171)]],{'type':_0x577b62(0x191)}),'text/plain':new _0x30e14a([_0x4380cd[_0x577b62(0x176)]||''],{'type':_0x577b62(0x164)})})];navigator[_0x577b62(0x161)][_0x577b62(0x184)](_0x114dec);}else{const _0x420e7e=_0x28c480[_0x577b62(0x18f)](_0x577b62(0x159));_0x420e7e[_0x577b62(0x174)][_0x577b62(0x182)]=_0x577b62(0x17f),_0x420e7e[_0x577b62(0x174)][_0x577b62(0x15e)]=_0x577b62(0x194),_0x420e7e[_0x577b62(0x171)]=_0x577b62(0x153)+_0x4380cd[_0x577b62(0x171)]+_0x577b62(0x16e),_0x28c480[_0x577b62(0x175)][_0x577b62(0x199)](_0x420e7e);const _0x21e994=_0x28c480[_0x577b62(0x1a3)]();_0x21e994[_0x577b62(0x1a9)](_0x420e7e[_0x577b62(0x172)]),_0x21e994[_0x577b62(0x186)](_0x420e7e[_0x577b62(0x19b)]);const _0x20c5a6=_0x5062dd[_0x577b62(0x154)]();_0x20c5a6[_0x577b62(0x170)](),_0x20c5a6[_0x577b62(0x18c)](_0x21e994),_0x28c480[_0x577b62(0x165)](_0x577b62(0x197)),_0x420e7e[_0x577b62(0x187)]();}}}export class ContentFieldView extends _0xc39c13{constructor(_0x23e665,_0x5ad804=''){const _0x59b6b5=_0x453395;super(_0x23e665),this[_0x59b6b5(0x183)]=this[_0x59b6b5(0x19a)](),this[_0x59b6b5(0x17c)]({'tag':_0x59b6b5(0x159),'attributes':{'class':['ck',_0x59b6b5(0x18b),_0x5ad804,_0x59b6b5(0x1a7),_0x59b6b5(0x18e)]}});}[_0x453395(0x19f)](_0x4f0abb){const _0x13f7ff=_0x453395;this[_0x13f7ff(0x157)][_0x13f7ff(0x171)]=_0x4f0abb;}[_0x453395(0x15b)](){const _0x2aefd4=_0x453395;this[_0x2aefd4(0x157)][_0x2aefd4(0x199)](this[_0x2aefd4(0x183)][_0x2aefd4(0x157)]);}[_0x453395(0x19a)](){const _0x16ffcb=_0x453395,_0x19fe72=new _0xc39c13(),_0x4a041c=this[_0x16ffcb(0x178)],_0x2a8468=new _0x3580b4();return _0x2a8468[_0x16ffcb(0x1a8)]=!0x0,_0x19fe72[_0x16ffcb(0x17c)]({'tag':_0x16ffcb(0x159),'attributes':{'class':['ck',_0x16ffcb(0x198)]},'children':[_0x2a8468,{'text':_0x1cf410(_0x4a041c,_0x16ffcb(0x15d))}]}),_0x19fe72[_0x16ffcb(0x16d)](),_0x19fe72;}}
23
+ function _0x4677(_0xcc6d05,_0x2cf227){const _0x3dca64=_0x3dca();return _0x4677=function(_0x46778c,_0x54ae9a){_0x46778c=_0x46778c-0x140;let _0x1bedd2=_0x3dca64[_0x46778c];return _0x1bedd2;},_0x4677(_0xcc6d05,_0x2cf227);}const _0x3cbb97=_0x4677;(function(_0x5a9ce3,_0x430cf8){const _0x189f40=_0x4677,_0x1746c6=_0x5a9ce3();while(!![]){try{const _0x55ee73=-parseInt(_0x189f40(0x181))/0x1+parseInt(_0x189f40(0x16a))/0x2+-parseInt(_0x189f40(0x194))/0x3*(-parseInt(_0x189f40(0x15d))/0x4)+parseInt(_0x189f40(0x16d))/0x5*(-parseInt(_0x189f40(0x15b))/0x6)+parseInt(_0x189f40(0x15c))/0x7+parseInt(_0x189f40(0x17d))/0x8*(-parseInt(_0x189f40(0x145))/0x9)+-parseInt(_0x189f40(0x18b))/0xa*(-parseInt(_0x189f40(0x15a))/0xb);if(_0x55ee73===_0x430cf8)break;else _0x1746c6['push'](_0x1746c6['shift']());}catch(_0x34d918){_0x1746c6['push'](_0x1746c6['shift']());}}}(_0x3dca,0x55af7));import{global as _0x2b29a2}from'ckeditor5/src/utils.js';import{View as _0x6a7ff4,ButtonView as _0xfcc1be,SpinnerView as _0x445a3c}from'ckeditor5/src/ui.js';import _0x465ab6 from'../../../theme/icons/copy.svg';import{getTranslation as _0x1b4355}from'../../utils/common-translations.js';import{icons as _0x54774d}from'ckeditor5/src/core.js';function _0x3dca(){const _0x31aa69=['287354UYRskZ','value','AI\x20is\x20writing...','120KqJbah','change:isProcessing','loaderView','ck-content','_copyHTMLToClipboard','firstElementChild','body','change:value','getSelection','setTemplate','position','wheel','set','bindTemplate','createRange','\x20ck-ai-form__copy-button--copied','28712whHJOE','setContent','querySelector','write','295268kRmfgd','text/plain','isProcessing','setStartAfter','ck-ai-form__content-area--processing','setEndBefore','ck-ai-form__copy-button','innerHTML','.ck-ai-form__loader','element','150DbBIlC','textContent','isEnabled','style','<span>[</span>','isVisible','createElement','Copy','ck-ai-form__content-field','6UxaLoJ','icon','ck-ai-form__content-area','remove','class','-9999px','bind','scrollHeight','549nBiDCk','listenTo','clipboard','_createCopyButton','div','<span>]</span>','copyButtonView','text/html','smooth','removeAllRanges','addRange','left','appendLoader','locale','lastElementChild','copy','mousedown','appendChild','ck-reset_all-excluded','ck-ai-form__content-area-wrapper','contentFieldView','234729LihaQa','150726CKmlJI','4655868pEzKnz','678364exVXGW','_createLoader','render','absolute','focus','execute','ck-ai-form__copy-button-wrapper','ck-hidden','ck-ai-form__loader','check','scrollTo','execCommand','ClipboardItem'];_0x3dca=function(){return _0x31aa69;};return _0x3dca();}export default class nt extends _0x6a7ff4{constructor(_0x27581e,_0x42198b=''){const _0x60400a=_0x4677;super(_0x27581e),this[_0x60400a(0x179)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x138f87=this[_0x60400a(0x17a)];this[_0x60400a(0x159)]=new ContentFieldView(_0x27581e,_0x42198b),this[_0x60400a(0x14b)]=this[_0x60400a(0x148)](),this[_0x60400a(0x176)]({'tag':_0x60400a(0x149),'attributes':{'class':['ck',_0x60400a(0x158),_0x138f87['if'](_0x60400a(0x190),_0x60400a(0x164),_0x1359fe=>!_0x1359fe)],'tabindex':'-1'},'children':[{'tag':_0x60400a(0x149),'attributes':{'class':['ck',_0x60400a(0x196),_0x138f87['if'](_0x60400a(0x183),_0x60400a(0x185))]},'children':[this[_0x60400a(0x159)],{'tag':_0x60400a(0x149),'attributes':{'class':['ck',_0x60400a(0x163)]},'children':[this[_0x60400a(0x14b)]]}]}]});}[_0x3cbb97(0x15f)](){const _0x408b8f=_0x3cbb97;super[_0x408b8f(0x15f)](),this[_0x408b8f(0x16b)]&&this[_0x408b8f(0x159)][_0x408b8f(0x17e)](this[_0x408b8f(0x16b)]);let _0x7c734b=!0x1;this['on'](_0x408b8f(0x174),(_0x2575cd,_0x27b9d6,_0x307f1e)=>{const _0x2b0d8d=_0x408b8f,_0x3c1d37=!this[_0x2b0d8d(0x159)][_0x2b0d8d(0x18a)][_0x2b0d8d(0x17f)](_0x2b0d8d(0x189));this[_0x2b0d8d(0x159)][_0x2b0d8d(0x17e)](_0x307f1e),this[_0x2b0d8d(0x183)]&&_0x3c1d37&&!_0x7c734b&&this[_0x2b0d8d(0x18a)][_0x2b0d8d(0x167)]({'top':this[_0x2b0d8d(0x18a)][_0x2b0d8d(0x144)],'behavior':_0x2b0d8d(0x14d)});}),this['on'](_0x408b8f(0x16e),(_0x223412,_0x46b63c,_0x153dfd)=>{const _0x45cb36=_0x408b8f;_0x7c734b=!0x1,_0x153dfd?(this[_0x45cb36(0x16b)]=null,this[_0x45cb36(0x159)][_0x45cb36(0x151)]()):this[_0x45cb36(0x16b)]||this[_0x45cb36(0x159)][_0x45cb36(0x17e)]('');}),this[_0x408b8f(0x146)](this[_0x408b8f(0x18a)],_0x408b8f(0x178),()=>{_0x7c734b=!0x0;}),this[_0x408b8f(0x146)](this[_0x408b8f(0x18a)],_0x408b8f(0x155),()=>{_0x7c734b=!0x0;});}[_0x3cbb97(0x161)](){const _0x3fe374=_0x3cbb97;this[_0x3fe374(0x18a)][_0x3fe374(0x161)]();}[_0x3cbb97(0x148)](){const _0x474f3d=_0x3cbb97,_0x1c5bc9=this[_0x474f3d(0x152)],_0x1c02f4=new _0xfcc1be(this[_0x474f3d(0x152)]),_0x34f0df=_0x474f3d(0x187);return _0x1c02f4[_0x474f3d(0x179)]({'label':_0x1b4355(_0x1c5bc9,_0x474f3d(0x192)),'icon':_0x465ab6,'class':_0x34f0df,'tooltip':!0x0}),_0x1c02f4[_0x474f3d(0x143)](_0x474f3d(0x190))['to'](this,_0x474f3d(0x16b),_0x4932af=>!!_0x4932af),_0x1c02f4[_0x474f3d(0x143)](_0x474f3d(0x18d))['to'](this,_0x474f3d(0x183),_0xfe73ca=>!_0xfe73ca),_0x1c02f4['on'](_0x474f3d(0x162),()=>{const _0x2cac23=_0x474f3d;this[_0x2cac23(0x171)](this[_0x2cac23(0x159)][_0x2cac23(0x18a)]),_0x1c02f4[_0x2cac23(0x195)]=_0x54774d[_0x2cac23(0x166)],_0x1c02f4[_0x2cac23(0x141)]=_0x34f0df+_0x2cac23(0x17c),this[_0x2cac23(0x161)](),setTimeout(()=>{const _0x2a256a=_0x2cac23;_0x1c02f4[_0x2a256a(0x195)]=_0x465ab6,_0x1c02f4[_0x2a256a(0x141)]=_0x34f0df;},0x3e8);}),_0x1c02f4;}[_0x3cbb97(0x171)](_0x150e7a){const _0x2dfe27=_0x3cbb97,{window:_0x981dab,document:_0x3ae3b3}=_0x2b29a2;if(_0x981dab[_0x2dfe27(0x169)]){const {Blob:_0x3a9c86,ClipboardItem:_0x3f626a}=_0x981dab,_0x30ab2c=[new _0x3f626a({'text/html':new _0x3a9c86([_0x150e7a[_0x2dfe27(0x188)]],{'type':_0x2dfe27(0x14c)}),'text/plain':new _0x3a9c86([_0x150e7a[_0x2dfe27(0x18c)]||''],{'type':_0x2dfe27(0x182)})})];navigator[_0x2dfe27(0x147)][_0x2dfe27(0x180)](_0x30ab2c);}else{const _0x38d708=_0x3ae3b3[_0x2dfe27(0x191)](_0x2dfe27(0x149));_0x38d708[_0x2dfe27(0x18e)][_0x2dfe27(0x177)]=_0x2dfe27(0x160),_0x38d708[_0x2dfe27(0x18e)][_0x2dfe27(0x150)]=_0x2dfe27(0x142),_0x38d708[_0x2dfe27(0x188)]=_0x2dfe27(0x18f)+_0x150e7a[_0x2dfe27(0x188)]+_0x2dfe27(0x14a),_0x3ae3b3[_0x2dfe27(0x173)][_0x2dfe27(0x156)](_0x38d708);const _0x30b4e3=_0x3ae3b3[_0x2dfe27(0x17b)]();_0x30b4e3[_0x2dfe27(0x184)](_0x38d708[_0x2dfe27(0x172)]),_0x30b4e3[_0x2dfe27(0x186)](_0x38d708[_0x2dfe27(0x153)]);const _0x559a36=_0x981dab[_0x2dfe27(0x175)]();_0x559a36[_0x2dfe27(0x14e)](),_0x559a36[_0x2dfe27(0x14f)](_0x30b4e3),_0x3ae3b3[_0x2dfe27(0x168)](_0x2dfe27(0x154)),_0x38d708[_0x2dfe27(0x140)]();}}}export class ContentFieldView extends _0x6a7ff4{constructor(_0x4719a6,_0x441e27=''){const _0x4218a3=_0x3cbb97;super(_0x4719a6),this[_0x4218a3(0x16f)]=this[_0x4218a3(0x15e)](),this[_0x4218a3(0x176)]({'tag':_0x4218a3(0x149),'attributes':{'class':['ck',_0x4218a3(0x170),_0x441e27,_0x4218a3(0x157),_0x4218a3(0x193)]}});}[_0x3cbb97(0x17e)](_0x2d676c){const _0x4abe79=_0x3cbb97;this[_0x4abe79(0x18a)][_0x4abe79(0x188)]=_0x2d676c;}[_0x3cbb97(0x151)](){const _0x5b124a=_0x3cbb97;this[_0x5b124a(0x18a)][_0x5b124a(0x156)](this[_0x5b124a(0x16f)][_0x5b124a(0x18a)]);}[_0x3cbb97(0x15e)](){const _0x16bea0=_0x3cbb97,_0x40977c=new _0x6a7ff4(),_0x2124df=this[_0x16bea0(0x152)],_0x4ebd51=new _0x445a3c();return _0x4ebd51[_0x16bea0(0x190)]=!0x0,_0x40977c[_0x16bea0(0x176)]({'tag':_0x16bea0(0x149),'attributes':{'class':['ck',_0x16bea0(0x165)]},'children':[_0x4ebd51,{'text':_0x1b4355(_0x2124df,_0x16bea0(0x16c))}]}),_0x40977c[_0x16bea0(0x15f)](),_0x40977c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c030f,_0x10a6c1){const _0x5afd39=_0x185d,_0x4dc99d=_0x3c030f();while(!![]){try{const _0x1527e2=parseInt(_0x5afd39(0xb1))/0x1*(parseInt(_0x5afd39(0xb9))/0x2)+parseInt(_0x5afd39(0xbb))/0x3+parseInt(_0x5afd39(0xaa))/0x4+-parseInt(_0x5afd39(0xae))/0x5*(parseInt(_0x5afd39(0xaf))/0x6)+-parseInt(_0x5afd39(0xb8))/0x7*(-parseInt(_0x5afd39(0xb6))/0x8)+parseInt(_0x5afd39(0xb5))/0x9+-parseInt(_0x5afd39(0xb3))/0xa*(parseInt(_0x5afd39(0xad))/0xb);if(_0x1527e2===_0x10a6c1)break;else _0x4dc99d['push'](_0x4dc99d['shift']());}catch(_0xb364e){_0x4dc99d['push'](_0x4dc99d['shift']());}}}(_0x8327,0xf3cdc));function _0x8327(){const _0x210620=['15499422qGUQTP','8RJFwRw','ck-ai-form__error','13953702iEGmnX','276994buZhSj','div','4537236tzCgbz','7680176WTHgLc','text','bindTemplate','8357833TlqhME','55ajvnws','981948fIvkFG','content','7mOarsj','setTemplate','70dGSqBv','set'];_0x8327=function(){return _0x210620;};return _0x8327();}function _0x185d(_0x3e6d96,_0x2efc72){const _0x8327fc=_0x8327();return _0x185d=function(_0x185dd0,_0x2f489a){_0x185dd0=_0x185dd0-0xaa;let _0x2e6d9e=_0x8327fc[_0x185dd0];return _0x2e6d9e;},_0x185d(_0x3e6d96,_0x2efc72);}import{View as _0x47170b,IconView as _0x46aabd}from'ckeditor5/src/ui.js';import _0xb13dd0 from'../../../theme/icons/error.svg';export default class mt extends _0x47170b{constructor(_0x2a9d5c,_0x4701ec=''){const _0x854371=_0x185d;super(_0x2a9d5c);const _0x37c75e=new _0x46aabd(),_0x449e54=this[_0x854371(0xac)];this[_0x854371(0xb4)](_0x854371(0xab),_0x4701ec),_0x37c75e[_0x854371(0xb0)]=_0xb13dd0,this[_0x854371(0xb2)]({'tag':_0x854371(0xba),'attributes':{'class':['ck',_0x854371(0xb7)]},'children':[_0x37c75e,{'text':_0x449e54['to'](_0x854371(0xab))}]});}}
23
+ (function(_0x40b7db,_0x4d56f6){const _0x2ac16e=_0x4b98,_0x48fc82=_0x40b7db();while(!![]){try{const _0xaa38a9=-parseInt(_0x2ac16e(0x13a))/0x1+-parseInt(_0x2ac16e(0x13b))/0x2*(parseInt(_0x2ac16e(0x145))/0x3)+-parseInt(_0x2ac16e(0x13c))/0x4+-parseInt(_0x2ac16e(0x143))/0x5*(-parseInt(_0x2ac16e(0x13e))/0x6)+-parseInt(_0x2ac16e(0x141))/0x7*(parseInt(_0x2ac16e(0x13d))/0x8)+-parseInt(_0x2ac16e(0x142))/0x9+parseInt(_0x2ac16e(0x136))/0xa;if(_0xaa38a9===_0x4d56f6)break;else _0x48fc82['push'](_0x48fc82['shift']());}catch(_0x3ee8de){_0x48fc82['push'](_0x48fc82['shift']());}}}(_0x1ebf,0x40098));function _0x1ebf(){const _0x4f0b41=['setTemplate','15903260cPzScq','ck-ai-form__error','div','bindTemplate','78331eUnARD','7066SssBJt','1356272aPwKtM','764248CYKWfB','412926djWTSa','set','text','35uAOhEx','4338027aVjmwX','30nOcsXj','content','309DibcZB'];_0x1ebf=function(){return _0x4f0b41;};return _0x1ebf();}import{View as _0x422aa5,IconView as _0x56b27d}from'ckeditor5/src/ui.js';function _0x4b98(_0x2aaad4,_0x19a20a){const _0x1ebf75=_0x1ebf();return _0x4b98=function(_0x4b98a7,_0x4d434d){_0x4b98a7=_0x4b98a7-0x136;let _0x513f93=_0x1ebf75[_0x4b98a7];return _0x513f93;},_0x4b98(_0x2aaad4,_0x19a20a);}import _0x1437b0 from'../../../theme/icons/error.svg';export default class mt extends _0x422aa5{constructor(_0x17ea84,_0x3d8d85=''){const _0x10d4c9=_0x4b98;super(_0x17ea84);const _0x1f8a59=new _0x56b27d(),_0x80f3dd=this[_0x10d4c9(0x139)];this[_0x10d4c9(0x13f)](_0x10d4c9(0x140),_0x3d8d85),_0x1f8a59[_0x10d4c9(0x144)]=_0x1437b0,this[_0x10d4c9(0x146)]({'tag':_0x10d4c9(0x138),'attributes':{'class':['ck',_0x10d4c9(0x137)]},'children':[_0x1f8a59,{'text':_0x80f3dd['to'](_0x10d4c9(0x140))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7e85cb=_0x38d4;(function(_0x483230,_0x475084){const _0x7d3282=_0x38d4,_0x2861e0=_0x483230();while(!![]){try{const _0x500770=-parseInt(_0x7d3282(0x121))/0x1*(parseInt(_0x7d3282(0x118))/0x2)+parseInt(_0x7d3282(0x11f))/0x3*(parseInt(_0x7d3282(0x10d))/0x4)+parseInt(_0x7d3282(0x110))/0x5+-parseInt(_0x7d3282(0x106))/0x6+parseInt(_0x7d3282(0x104))/0x7*(-parseInt(_0x7d3282(0x116))/0x8)+-parseInt(_0x7d3282(0x112))/0x9+parseInt(_0x7d3282(0xf6))/0xa;if(_0x500770===_0x475084)break;else _0x2861e0['push'](_0x2861e0['shift']());}catch(_0x485ac8){_0x2861e0['push'](_0x2861e0['shift']());}}}(_0x3e52,0x71743));function _0x3e52(){const _0x2d541b=['target','focusFirst','focusLast','focusableChildren','Submit','keystrokes','resultsView','style','showHistoryButtonView','right','history','52885lnNtRn','render','3250866uvSQnQ','bind','fire','element','uiLanguageDirection','isOn','set','680LGAcUt','enter','rtl','3186160qWqRbn','requestAnimationFrame','7410087tzneit','add','value','update','760TDOwKx','submitButtonView','1775478HtQydZ','isEnabled','left','locale','isEmpty','execute','ck-ai-form__toggle-history','9102jYsFoI','submit','1hvYeBK','ck-ai-form__submit','_createSubmitButton','filteredView','_createShowHistoryButton','excludeScrollbarsAndBorders','children','queryView','fieldWrapperChildren','minRows','fieldView','focusCycler','isVisible','focus','maxRows','History','22823130WtupjJ','width','window'];_0x3e52=function(){return _0x2d541b;};return _0x3e52();}import{Rect as _0x3c8cb2,global as _0x4636cc,isVisible as _0x1c3cb2}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x4e0d63,ButtonView as _0x3821bb}from'ckeditor5/src/ui.js';import{icons as _0x217f90}from'ckeditor5/src/core.js';import{getTranslation as _0x58fc62}from'../../utils/common-translations.js';function _0x38d4(_0x3bc203,_0x29e921){const _0x3e5210=_0x3e52();return _0x38d4=function(_0x38d4ec,_0x325be8){_0x38d4ec=_0x38d4ec-0xee;let _0x28db86=_0x3e5210[_0x38d4ec];return _0x28db86;},_0x38d4(_0x3bc203,_0x29e921);}import _0x3ee968 from'../../../theme/icons/submit.svg';export default class pt extends _0x4e0d63{constructor(_0x1e18df,_0x5011ea){const _0xc144d4=_0x38d4;super(_0x1e18df,_0x5011ea),this[_0xc144d4(0x128)][_0xc144d4(0xf0)][_0xc144d4(0xef)]=0x1,this[_0xc144d4(0x128)][_0xc144d4(0xf0)][_0xc144d4(0xf4)]=0x3,this[_0xc144d4(0x117)]=this[_0xc144d4(0x123)](),this[_0xc144d4(0x101)]=this[_0xc144d4(0x125)](),this[_0xc144d4(0xfc)][_0xc144d4(0x113)](this[_0xc144d4(0x101)],0x1),this[_0xc144d4(0xfc)][_0xc144d4(0x113)](this[_0xc144d4(0x117)]);}[_0x7e85cb(0x105)](){const _0x1d1073=_0x7e85cb;super[_0x1d1073(0x105)](),this[_0x1d1073(0x128)][_0x1d1073(0xee)][_0x1d1073(0x113)](this[_0x1d1073(0x101)]),this[_0x1d1073(0x127)][_0x1d1073(0x113)](this[_0x1d1073(0x117)]),this[_0x1d1073(0xfe)][_0x1d1073(0x10c)](_0x1d1073(0x10e),(_0x3dc360,_0x2c0b83)=>{const _0x2358bb=_0x1d1073;_0x3dc360[_0x2358bb(0xf9)]==this[_0x2358bb(0x128)][_0x2358bb(0xf0)][_0x2358bb(0x109)]&&(this[_0x2358bb(0x120)](),_0x2c0b83());});}[_0x7e85cb(0x123)](){const _0x40a83a=_0x7e85cb,_0xdf4422=new _0x3821bb(this[_0x40a83a(0x11b)]),_0x1dfd9d=this[_0x40a83a(0x11b)];return _0xdf4422[_0x40a83a(0x10c)]({'icon':_0x3ee968,'label':_0x58fc62(_0x1dfd9d,_0x40a83a(0xfd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x40a83a(0x122)}),_0xdf4422['on'](_0x40a83a(0x11d),()=>{const _0x97852e=_0x40a83a;this[_0x97852e(0x120)]();}),_0xdf4422[_0x40a83a(0x107)](_0x40a83a(0x119))['to'](this[_0x40a83a(0x128)][_0x40a83a(0xf0)],_0x40a83a(0x11c),this,_0x40a83a(0x119),(_0x56c75f,_0x118c9f)=>!_0x56c75f&&_0x118c9f),_0xdf4422;}[_0x7e85cb(0x125)](){const _0x3abeb6=_0x7e85cb,_0x3527d2=new _0x3821bb(this[_0x3abeb6(0x11b)]),_0x52f22c=this[_0x3abeb6(0xff)],_0x57565e=this[_0x3abeb6(0x11b)];_0x3527d2[_0x3abeb6(0x10c)]({'label':_0x58fc62(_0x57565e,_0x3abeb6(0xf5)),'withText':!0x1,'icon':_0x217f90[_0x3abeb6(0x103)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3abeb6(0x11e)}),_0x3527d2[_0x3abeb6(0x107)](_0x3abeb6(0x10b))['to'](_0x52f22c,_0x3abeb6(0xf2)),_0x3527d2[_0x3abeb6(0x107)](_0x3abeb6(0x119))['to'](this,_0x3abeb6(0x119)),_0x3527d2['on'](_0x3abeb6(0x11d),()=>{const _0x3e53f8=_0x3abeb6;_0x52f22c[_0x3e53f8(0xf2)]=!_0x52f22c[_0x3e53f8(0xf2)],_0x52f22c[_0x3e53f8(0xf2)]?this[_0x3e53f8(0x124)][_0x3e53f8(0xf3)]():this[_0x3e53f8(0xf3)]();});const _0x3e7ef4=()=>{const _0x43e927=_0x3abeb6;_0x4636cc[_0x43e927(0xf8)][_0x43e927(0x111)](()=>{const _0x1ba8c6=_0x43e927;if(_0x1c3cb2(this[_0x1ba8c6(0x109)])){const _0x40d670=new _0x3c8cb2(this[_0x1ba8c6(0x128)][_0x1ba8c6(0xf0)][_0x1ba8c6(0x109)]),_0x224bb2=_0x40d670[_0x1ba8c6(0xf7)],_0x591b1a=_0x1ba8c6(0x10f)===_0x57565e[_0x1ba8c6(0x10a)]?_0x1ba8c6(0x11a):_0x1ba8c6(0x102);_0x40d670[_0x1ba8c6(0x126)](),_0x3527d2[_0x1ba8c6(0x109)][_0x1ba8c6(0x100)][_0x591b1a]=_0x224bb2-_0x40d670[_0x1ba8c6(0xf7)]+0x1+'px';}});};return this[_0x3abeb6(0x128)][_0x3abeb6(0xf0)]['on'](_0x3abeb6(0x115),_0x3e7ef4),this['on'](_0x3abeb6(0x105),_0x3e7ef4),_0x3527d2;}[_0x7e85cb(0x120)](){const _0x4047b5=_0x7e85cb,_0x2f86c9=this[_0x4047b5(0x128)][_0x4047b5(0xf0)][_0x4047b5(0x109)][_0x4047b5(0x114)];this[_0x4047b5(0x108)](_0x4047b5(0x120),_0x2f86c9);}[_0x7e85cb(0xf3)](_0xd3cc5c){const _0xefa399=_0x7e85cb;-0x1===_0xd3cc5c?this[_0xefa399(0xf1)][_0xefa399(0xfb)]():this[_0xefa399(0xf1)][_0xefa399(0xfa)]();}}
23
+ const _0x274c17=_0x178a;(function(_0x308530,_0x283960){const _0x362be1=_0x178a,_0x4529e6=_0x308530();while(!![]){try{const _0xc3cfa=parseInt(_0x362be1(0x1a2))/0x1+-parseInt(_0x362be1(0x1b8))/0x2*(parseInt(_0x362be1(0x1b2))/0x3)+parseInt(_0x362be1(0x1a5))/0x4+parseInt(_0x362be1(0x1c4))/0x5*(-parseInt(_0x362be1(0x1b7))/0x6)+parseInt(_0x362be1(0x19a))/0x7+-parseInt(_0x362be1(0x1a1))/0x8*(-parseInt(_0x362be1(0x19b))/0x9)+-parseInt(_0x362be1(0x1af))/0xa;if(_0xc3cfa===_0x283960)break;else _0x4529e6['push'](_0x4529e6['shift']());}catch(_0xba2e7a){_0x4529e6['push'](_0x4529e6['shift']());}}}(_0x55a6,0x4cd9d));function _0x55a6(){const _0x3a8eaa=['Submit','left','isVisible','render','focusLast','value','2930075cAATSA','ck-ai-form__submit','width','queryView','style','focus','History','fire','set','isEnabled','rtl','requestAnimationFrame','showHistoryButtonView','focusFirst','element','keystrokes','fieldWrapperChildren','1866466fAEdrf','18XDtufl','enter','_createShowHistoryButton','locale','submit','filteredView','833032oqOdZv','609590DMVatC','focusableChildren','bind','2049160AYheaO','right','resultsView','history','add','update','fieldView','window','minRows','focusCycler','3557900eCvbJd','excludeScrollbarsAndBorders','isOn','1020570idlvVX','_createSubmitButton','ck-ai-form__toggle-history','target','execute','6cGDfNW','2XPGJFo','children','maxRows','isEmpty','submitButtonView','uiLanguageDirection'];_0x55a6=function(){return _0x3a8eaa;};return _0x55a6();}import{Rect as _0x5b0ec9,global as _0x22e278,isVisible as _0x387c94}from'ckeditor5/src/utils.js';function _0x178a(_0x499ef4,_0x35a1c0){const _0x55a6f9=_0x55a6();return _0x178a=function(_0x178aa7,_0x54b9c5){_0x178aa7=_0x178aa7-0x196;let _0x4c3669=_0x55a6f9[_0x178aa7];return _0x4c3669;},_0x178a(_0x499ef4,_0x35a1c0);}import{AutocompleteView as _0x4dd51f,ButtonView as _0x3e5f98}from'ckeditor5/src/ui.js';import{icons as _0x1cdae1}from'ckeditor5/src/core.js';import{getTranslation as _0x5bc5f9}from'../../utils/common-translations.js';import _0x31c9eb from'../../../theme/icons/submit.svg';export default class pt extends _0x4dd51f{constructor(_0x5ce96,_0x391b37){const _0x2a87dc=_0x178a;super(_0x5ce96,_0x391b37),this[_0x2a87dc(0x1c7)][_0x2a87dc(0x1ab)][_0x2a87dc(0x1ad)]=0x1,this[_0x2a87dc(0x1c7)][_0x2a87dc(0x1ab)][_0x2a87dc(0x1ba)]=0x3,this[_0x2a87dc(0x1bc)]=this[_0x2a87dc(0x1b3)](),this[_0x2a87dc(0x1d0)]=this[_0x2a87dc(0x19d)](),this[_0x2a87dc(0x1a3)][_0x2a87dc(0x1a9)](this[_0x2a87dc(0x1d0)],0x1),this[_0x2a87dc(0x1a3)][_0x2a87dc(0x1a9)](this[_0x2a87dc(0x1bc)]);}[_0x274c17(0x1c1)](){const _0x43a4b9=_0x274c17;super[_0x43a4b9(0x1c1)](),this[_0x43a4b9(0x1c7)][_0x43a4b9(0x199)][_0x43a4b9(0x1a9)](this[_0x43a4b9(0x1d0)]),this[_0x43a4b9(0x1b9)][_0x43a4b9(0x1a9)](this[_0x43a4b9(0x1bc)]),this[_0x43a4b9(0x198)][_0x43a4b9(0x1cc)](_0x43a4b9(0x19c),(_0x36e564,_0x1cf3d9)=>{const _0x24771d=_0x43a4b9;_0x36e564[_0x24771d(0x1b5)]==this[_0x24771d(0x1c7)][_0x24771d(0x1ab)][_0x24771d(0x197)]&&(this[_0x24771d(0x19f)](),_0x1cf3d9());});}[_0x274c17(0x1b3)](){const _0x4e2464=_0x274c17,_0x5631d4=new _0x3e5f98(this[_0x4e2464(0x19e)]),_0x590416=this[_0x4e2464(0x19e)];return _0x5631d4[_0x4e2464(0x1cc)]({'icon':_0x31c9eb,'label':_0x5bc5f9(_0x590416,_0x4e2464(0x1be)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4e2464(0x1c5)}),_0x5631d4['on'](_0x4e2464(0x1b6),()=>{const _0x12e171=_0x4e2464;this[_0x12e171(0x19f)]();}),_0x5631d4[_0x4e2464(0x1a4)](_0x4e2464(0x1cd))['to'](this[_0x4e2464(0x1c7)][_0x4e2464(0x1ab)],_0x4e2464(0x1bb),this,_0x4e2464(0x1cd),(_0x514330,_0x392068)=>!_0x514330&&_0x392068),_0x5631d4;}[_0x274c17(0x19d)](){const _0x4cdf3a=_0x274c17,_0x2e7af2=new _0x3e5f98(this[_0x4cdf3a(0x19e)]),_0x37c845=this[_0x4cdf3a(0x1a7)],_0x52da8c=this[_0x4cdf3a(0x19e)];_0x2e7af2[_0x4cdf3a(0x1cc)]({'label':_0x5bc5f9(_0x52da8c,_0x4cdf3a(0x1ca)),'withText':!0x1,'icon':_0x1cdae1[_0x4cdf3a(0x1a8)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4cdf3a(0x1b4)}),_0x2e7af2[_0x4cdf3a(0x1a4)](_0x4cdf3a(0x1b1))['to'](_0x37c845,_0x4cdf3a(0x1c0)),_0x2e7af2[_0x4cdf3a(0x1a4)](_0x4cdf3a(0x1cd))['to'](this,_0x4cdf3a(0x1cd)),_0x2e7af2['on'](_0x4cdf3a(0x1b6),()=>{const _0x43c165=_0x4cdf3a;_0x37c845[_0x43c165(0x1c0)]=!_0x37c845[_0x43c165(0x1c0)],_0x37c845[_0x43c165(0x1c0)]?this[_0x43c165(0x1a0)][_0x43c165(0x1c9)]():this[_0x43c165(0x1c9)]();});const _0x1171d6=()=>{const _0x536258=_0x4cdf3a;_0x22e278[_0x536258(0x1ac)][_0x536258(0x1cf)](()=>{const _0x10bf51=_0x536258;if(_0x387c94(this[_0x10bf51(0x197)])){const _0x427f1a=new _0x5b0ec9(this[_0x10bf51(0x1c7)][_0x10bf51(0x1ab)][_0x10bf51(0x197)]),_0x3c7ab6=_0x427f1a[_0x10bf51(0x1c6)],_0x58b2d4=_0x10bf51(0x1ce)===_0x52da8c[_0x10bf51(0x1bd)]?_0x10bf51(0x1bf):_0x10bf51(0x1a6);_0x427f1a[_0x10bf51(0x1b0)](),_0x2e7af2[_0x10bf51(0x197)][_0x10bf51(0x1c8)][_0x58b2d4]=_0x3c7ab6-_0x427f1a[_0x10bf51(0x1c6)]+0x1+'px';}});};return this[_0x4cdf3a(0x1c7)][_0x4cdf3a(0x1ab)]['on'](_0x4cdf3a(0x1aa),_0x1171d6),this['on'](_0x4cdf3a(0x1c1),_0x1171d6),_0x2e7af2;}[_0x274c17(0x19f)](){const _0x4caf32=_0x274c17,_0x48abb7=this[_0x4caf32(0x1c7)][_0x4caf32(0x1ab)][_0x4caf32(0x197)][_0x4caf32(0x1c3)];this[_0x4caf32(0x1cb)](_0x4caf32(0x19f),_0x48abb7);}[_0x274c17(0x1c9)](_0x506467){const _0x566c88=_0x274c17;-0x1===_0x506467?this[_0x566c88(0x1ae)][_0x566c88(0x1c2)]():this[_0x566c88(0x1ae)][_0x566c88(0x196)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33fd0d=_0x4c7b;(function(_0x1c0c4c,_0x29543d){const _0xd878fb=_0x4c7b,_0x80f834=_0x1c0c4c();while(!![]){try{const _0xf557a8=parseInt(_0xd878fb(0x1da))/0x1*(-parseInt(_0xd878fb(0x1cf))/0x2)+parseInt(_0xd878fb(0x1e2))/0x3*(-parseInt(_0xd878fb(0x1f0))/0x4)+parseInt(_0xd878fb(0x1dc))/0x5+-parseInt(_0xd878fb(0x1ee))/0x6*(parseInt(_0xd878fb(0x1ce))/0x7)+-parseInt(_0xd878fb(0x1d9))/0x8*(parseInt(_0xd878fb(0x1db))/0x9)+parseInt(_0xd878fb(0x1ef))/0xa+parseInt(_0xd878fb(0x1e6))/0xb;if(_0xf557a8===_0x29543d)break;else _0x80f834['push'](_0x80f834['shift']());}catch(_0x54cc97){_0x80f834['push'](_0x80f834['shift']());}}}(_0x4ff2,0x7e91e));import{ToolbarView as _0x14db24,ButtonView as _0x2ce419}from'ckeditor5/src/ui.js';function _0x4ff2(){const _0x259431=['locale','addMany','53039scbuVk','6rjySSa','bind','REPLACE','bindTemplate','replaceButton','Insert\x20below','label','stopButton','isVisible','replace','16OGLXXk','129937nofTob','3526650UjfpnM','1144560JnWpQh','extendTemplate','_CONTENT','_createButton','ck-ai-form__toolbar','mainAction','46869YxyUtS','ck-button-action','insert','Try\x20again','22885445dpqhkh','toUpperCase','set','insertButton','items','Stop','AI_','ck-hidden','366vuKDEq','8289800bbGkpb','252kOUjof','tryAgainButton'];_0x4ff2=function(){return _0x259431;};return _0x4ff2();}import{getTranslation as _0x3419a0}from'../../utils/common-translations.js';function _0x4c7b(_0x91b929,_0x320cf5){const _0x4ff2b1=_0x4ff2();return _0x4c7b=function(_0x4c7b2d,_0x1ef6f7){_0x4c7b2d=_0x4c7b2d-0x1cb;let _0x11a9f0=_0x4ff2b1[_0x4c7b2d];return _0x11a9f0;},_0x4c7b(_0x91b929,_0x320cf5);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x33fd0d(0x1d8),'INSERT':_0x33fd0d(0x1e4)};export default class Tt extends _0x14db24{constructor(_0x4a8562){const _0x43e79d=_0x33fd0d;super(_0x4a8562),this[_0x43e79d(0x1e8)](_0x43e79d(0x1d7),!0x1),this[_0x43e79d(0x1e8)](_0x43e79d(0x1e1),AIFormToolbarViewMainActionLabel[_0x43e79d(0x1d1)]),this[_0x43e79d(0x1d3)]=this[_0x43e79d(0x1df)]('',_0x43e79d(0x1e3)),this[_0x43e79d(0x1d3)][_0x43e79d(0x1d0)](_0x43e79d(0x1d5))['to'](this,_0x43e79d(0x1e1),_0x3b4871=>_0x3419a0(_0x4a8562,_0x43e79d(0x1ec)+_0x3b4871[_0x43e79d(0x1e7)]()+_0x43e79d(0x1de))),this[_0x43e79d(0x1e9)]=this[_0x43e79d(0x1df)](_0x3419a0(_0x4a8562,_0x43e79d(0x1d4))),this[_0x43e79d(0x1cb)]=this[_0x43e79d(0x1df)](_0x3419a0(_0x4a8562,_0x43e79d(0x1e5))),this[_0x43e79d(0x1d6)]=this[_0x43e79d(0x1df)](_0x3419a0(_0x4a8562,_0x43e79d(0x1eb)));const _0x5d3131=this[_0x43e79d(0x1d2)];this[_0x43e79d(0x1dd)]({'attributes':{'class':[_0x43e79d(0x1e0),_0x5d3131['if'](_0x43e79d(0x1d7),_0x43e79d(0x1ed),_0x55ff58=>!_0x55ff58)]}}),this[_0x43e79d(0x1ea)][_0x43e79d(0x1cd)]([this[_0x43e79d(0x1d3)],this[_0x43e79d(0x1e9)],this[_0x43e79d(0x1cb)],this[_0x43e79d(0x1d6)]]);}[_0x33fd0d(0x1df)](_0x1c3d41,_0x1ee984){const _0x50d2bf=_0x33fd0d,_0x27bf7f=new _0x2ce419(this[_0x50d2bf(0x1cc)]);return _0x27bf7f[_0x50d2bf(0x1e8)]({'label':_0x1c3d41,'class':_0x1ee984||'','isVisible':!0x0,'withText':!0x0}),_0x27bf7f;}}
23
+ const _0x264a72=_0x1072;function _0x46b0(){const _0xf48b6d=['stopButton','3859836DtmdKq','ck-button-action','ck-ai-form__toolbar','943099CGGgcX','label','tryAgainButton','replace','Stop','AI_','bind','926571XDZKnR','replaceButton','REPLACE','3480824ciLhHI','bindTemplate','_createButton','34714620uQYBZB','toUpperCase','7jaxiOD','extendTemplate','_CONTENT','2183875ilaMoa','set','insertButton','9yIMytA','2oWFFmd','Insert\x20below','Try\x20again','ck-hidden','addMany','isVisible','items','4169832hNOOEF','mainAction','insert','locale'];_0x46b0=function(){return _0xf48b6d;};return _0x46b0();}(function(_0x28f28b,_0x44983c){const _0x185663=_0x1072,_0xdd4f8b=_0x28f28b();while(!![]){try{const _0x2cc390=-parseInt(_0x185663(0x1cd))/0x1+-parseInt(_0x185663(0x1e3))/0x2*(parseInt(_0x185663(0x1d4))/0x3)+-parseInt(_0x185663(0x1ca))/0x4+-parseInt(_0x185663(0x1df))/0x5+-parseInt(_0x185663(0x1c5))/0x6+parseInt(_0x185663(0x1dc))/0x7*(parseInt(_0x185663(0x1d7))/0x8)+parseInt(_0x185663(0x1e2))/0x9*(parseInt(_0x185663(0x1da))/0xa);if(_0x2cc390===_0x44983c)break;else _0xdd4f8b['push'](_0xdd4f8b['shift']());}catch(_0x1bfb8e){_0xdd4f8b['push'](_0xdd4f8b['shift']());}}}(_0x46b0,0x8834f));import{ToolbarView as _0x1c4827,ButtonView as _0xcb6fc4}from'ckeditor5/src/ui.js';import{getTranslation as _0x4eeb03}from'../../utils/common-translations.js';function _0x1072(_0x2e9d55,_0x1dfdb7){const _0x46b042=_0x46b0();return _0x1072=function(_0x1072fb,_0x1de7b7){_0x1072fb=_0x1072fb-0x1c1;let _0x4e6a68=_0x46b042[_0x1072fb];return _0x4e6a68;},_0x1072(_0x2e9d55,_0x1dfdb7);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x264a72(0x1d0),'INSERT':_0x264a72(0x1c7)};export default class Tt extends _0x1c4827{constructor(_0x10b791){const _0x111dff=_0x264a72;super(_0x10b791),this[_0x111dff(0x1e0)](_0x111dff(0x1c3),!0x1),this[_0x111dff(0x1e0)](_0x111dff(0x1c6),AIFormToolbarViewMainActionLabel[_0x111dff(0x1d6)]),this[_0x111dff(0x1d5)]=this[_0x111dff(0x1d9)]('',_0x111dff(0x1cb)),this[_0x111dff(0x1d5)][_0x111dff(0x1d3)](_0x111dff(0x1ce))['to'](this,_0x111dff(0x1c6),_0x1cd4d9=>_0x4eeb03(_0x10b791,_0x111dff(0x1d2)+_0x1cd4d9[_0x111dff(0x1db)]()+_0x111dff(0x1de))),this[_0x111dff(0x1e1)]=this[_0x111dff(0x1d9)](_0x4eeb03(_0x10b791,_0x111dff(0x1e4))),this[_0x111dff(0x1cf)]=this[_0x111dff(0x1d9)](_0x4eeb03(_0x10b791,_0x111dff(0x1e5))),this[_0x111dff(0x1c9)]=this[_0x111dff(0x1d9)](_0x4eeb03(_0x10b791,_0x111dff(0x1d1)));const _0x45df49=this[_0x111dff(0x1d8)];this[_0x111dff(0x1dd)]({'attributes':{'class':[_0x111dff(0x1cc),_0x45df49['if'](_0x111dff(0x1c3),_0x111dff(0x1c1),_0x323ce5=>!_0x323ce5)]}}),this[_0x111dff(0x1c4)][_0x111dff(0x1c2)]([this[_0x111dff(0x1d5)],this[_0x111dff(0x1e1)],this[_0x111dff(0x1cf)],this[_0x111dff(0x1c9)]]);}[_0x264a72(0x1d9)](_0x8c10b6,_0x2e84a9){const _0x40c4e9=_0x264a72,_0x57df9e=new _0xcb6fc4(this[_0x40c4e9(0x1c8)]);return _0x57df9e[_0x40c4e9(0x1e0)]({'label':_0x8c10b6,'class':_0x2e84a9||'','isVisible':!0x0,'withText':!0x0}),_0x57df9e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37860c=_0x2dba;(function(_0x2d6cbf,_0x37eecc){const _0x340d69=_0x2dba,_0x225d11=_0x2d6cbf();while(!![]){try{const _0x24150d=-parseInt(_0x340d69(0x205))/0x1+-parseInt(_0x340d69(0x1df))/0x2*(-parseInt(_0x340d69(0x1c5))/0x3)+parseInt(_0x340d69(0x1d0))/0x4*(parseInt(_0x340d69(0x1e6))/0x5)+-parseInt(_0x340d69(0x1c8))/0x6+parseInt(_0x340d69(0x1cf))/0x7+-parseInt(_0x340d69(0x1c3))/0x8*(-parseInt(_0x340d69(0x1c7))/0x9)+-parseInt(_0x340d69(0x1dc))/0xa*(parseInt(_0x340d69(0x1d6))/0xb);if(_0x24150d===_0x37eecc)break;else _0x225d11['push'](_0x225d11['shift']());}catch(_0x1e3279){_0x225d11['push'](_0x225d11['shift']());}}}(_0x298c,0x5fff3));function _0x298c(){const _0x148def=['isVisible','Ask\x20AI\x20to\x20edit\x20or\x20generate','mainAction','9112ZXnMBh','element','78JyvAur','_focusables','459jRWoDI','723486NanVeD','div','tryAgainEvent','shift\x20+\x20tab','bind','search','_createHistoryView','3829413tYOzGm','75916ZeFpRX','Ask\x20AI\x20to\x20improve\x20generated\x20text','focus','handleError','submit','isEnabled','55CogZmG','promptView','replaceButton','reset','replaceContent','bindTemplate','2572460cTdwOY','bindTo','submitPrompt','49538gfIvFg','locale','_createPromptView','prompt','keystrokes','high','toolbar','180EDyJkO','render','clear','set','Empty\x20history','label','fieldView','forwardCycle','createCollection','value','stopButton','historyGroupView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','clearHistory','stopProcessing','isProcessing','focusNext','focusLast','fire','finishProcessing','queryView','insertContentBelow','setTemplate','REPLACE','isError','insertButton','tab','stop','ck-hidden','_createToolbar','copyButtonView','132372RCTQJH','ck-ai-form-content','items','errorView','_promptHistory','text','execute','backwardCycle','add','delegate','contentArea','startProcessing','listenTo','focusFirst','focusPrevious','AI_ERROR_FAILED','tryAgainButton','ck-ai-form','focusTracker','trim','focusCycler'];_0x298c=function(){return _0x148def;};return _0x298c();}import{FocusTracker as _0x9b9f9f,KeystrokeHandler as _0x43410f}from'ckeditor5/src/utils.js';import{View as _0x70e32d,FocusCycler as _0x4b9fa8,createLabeledTextarea as _0x4e55f8}from'ckeditor5/src/ui.js';import _0x3bd5b0,{AIFormToolbarViewMainActionLabel as _0x436593}from'./aiformtoolbarview.js';import _0x4c4e44 from'./aiformcontentarea.js';import _0x5dfc0c from'./aiformerrorview.js';import _0x231a95 from'./aiformpromptview.js';import _0x481c1c from'./aihistorylistview.js';import _0x3de1d5 from'./aihistorylistitemview.js';import _0x205689 from'./prompthistory.js';function _0x2dba(_0x26377d,_0x5bb7eb){const _0x298c58=_0x298c();return _0x2dba=function(_0x2dba27,_0x135d03){_0x2dba27=_0x2dba27-0x1b2;let _0x1ed46f=_0x298c58[_0x2dba27];return _0x1ed46f;},_0x2dba(_0x26377d,_0x5bb7eb);}import{getTranslation as _0x3f0721}from'../../utils/common-translations.js';import{escape as _0x41ace1}from'lodash-es';export default class x extends _0x70e32d{constructor(_0x3d1572,_0x2577f7,_0x2c73c4=''){const _0x16a05f=_0x2dba;super(_0x3d1572),this[_0x16a05f(0x1e9)](_0x16a05f(0x1d5),!0x0),this[_0x16a05f(0x1e9)](_0x16a05f(0x1f5),!0x1),this[_0x16a05f(0x1e9)](_0x16a05f(0x1e2),''),this[_0x16a05f(0x1e9)](_0x16a05f(0x1ef),''),this[_0x16a05f(0x1e9)](_0x16a05f(0x1fe),!0x1),this[_0x16a05f(0x1e9)](_0x16a05f(0x1c2),_0x436593[_0x16a05f(0x1fd)]),this[_0x16a05f(0x209)]=new _0x205689(),this[_0x16a05f(0x208)]=new _0x5dfc0c(_0x3d1572),this[_0x16a05f(0x1b5)]=new _0x4c4e44(_0x3d1572,_0x2c73c4),this[_0x16a05f(0x1b5)][_0x16a05f(0x1cc)](_0x16a05f(0x1f5))['to'](this),this[_0x16a05f(0x1b5)][_0x16a05f(0x1cc)](_0x16a05f(0x1ef))['to'](this),this[_0x16a05f(0x1e5)]=this[_0x16a05f(0x203)](),this[_0x16a05f(0x1e5)][_0x16a05f(0x1cc)](_0x16a05f(0x1c2))['to'](this),this[_0x16a05f(0x1d7)]=this[_0x16a05f(0x1e1)](),this[_0x16a05f(0x1bd)]=new _0x9b9f9f(),this[_0x16a05f(0x1e3)]=new _0x43410f(),this[_0x16a05f(0x1c6)]=this[_0x16a05f(0x1ee)]([this[_0x16a05f(0x1b5)],this[_0x16a05f(0x1b5)][_0x16a05f(0x204)],this[_0x16a05f(0x1e5)],this[_0x16a05f(0x1d7)]]),this[_0x16a05f(0x1bf)]=new _0x4b9fa8({'focusables':this[_0x16a05f(0x1c6)],'focusTracker':this[_0x16a05f(0x1bd)],'keystrokeHandler':this[_0x16a05f(0x1e3)],'actions':{'focusPrevious':_0x16a05f(0x1cb),'focusNext':_0x16a05f(0x200)}}),this[_0x16a05f(0x1d7)][_0x16a05f(0x1bf)]['on'](_0x16a05f(0x1ed),_0x475317=>{const _0x81215=_0x16a05f;this[_0x81215(0x1bf)][_0x81215(0x1f6)](),_0x475317[_0x81215(0x201)]();}),this[_0x16a05f(0x1d7)][_0x16a05f(0x1bf)]['on'](_0x16a05f(0x1b2),_0x370a14=>{const _0x66ddd2=_0x16a05f;this[_0x66ddd2(0x1bf)][_0x66ddd2(0x1b9)](),_0x370a14[_0x66ddd2(0x201)]();}),this[_0x16a05f(0x1d7)][_0x16a05f(0x1fa)][_0x16a05f(0x1ec)][_0x16a05f(0x1cc)](_0x16a05f(0x1ef))['to'](this,_0x16a05f(0x1e2));const _0x1defb6=this[_0x16a05f(0x1db)];this[_0x16a05f(0x1fc)]({'tag':_0x16a05f(0x1c9),'attributes':{'class':['ck',_0x16a05f(0x1bc),_0x2577f7],'tabindex':'-1'},'children':[{'tag':_0x16a05f(0x1c9),'attributes':{'class':['ck',_0x16a05f(0x206)]},'children':[{'tag':_0x16a05f(0x1c9),'attributes':{'class':[_0x1defb6['if'](_0x16a05f(0x1fe),_0x16a05f(0x202),_0x1460bf=>!_0x1460bf)]},'children':[this[_0x16a05f(0x208)]]},this[_0x16a05f(0x1b5)],this[_0x16a05f(0x1e5)],this[_0x16a05f(0x1d7)]]}]});}[_0x37860c(0x1e7)](){const _0x213281=_0x37860c;super[_0x213281(0x1e7)](),this[_0x213281(0x1bd)][_0x213281(0x1b3)](this[_0x213281(0x1b5)][_0x213281(0x1c4)]),this[_0x213281(0x1bd)][_0x213281(0x1b3)](this[_0x213281(0x1b5)][_0x213281(0x204)][_0x213281(0x1c4)]),this[_0x213281(0x1bd)][_0x213281(0x1b3)](this[_0x213281(0x1e5)][_0x213281(0x1c4)]),this[_0x213281(0x1bd)][_0x213281(0x1b3)](this[_0x213281(0x1d7)][_0x213281(0x1c4)]),this[_0x213281(0x1e3)][_0x213281(0x1b7)](this[_0x213281(0x1c4)]);}[_0x37860c(0x1d2)](_0x4074f1=0x1){const _0x45bdec=_0x37860c;-0x1===_0x4074f1?this[_0x45bdec(0x1bf)][_0x45bdec(0x1f7)]():this[_0x45bdec(0x1bf)][_0x45bdec(0x1b8)]();}[_0x37860c(0x1d9)](){const _0x33af9f=_0x37860c;this[_0x33af9f(0x1e2)]='',this[_0x33af9f(0x1ef)]='',this[_0x33af9f(0x1fe)]=!0x1,this[_0x33af9f(0x1d7)][_0x33af9f(0x1d9)](),this[_0x33af9f(0x1b5)][_0x33af9f(0x1c0)]=!0x1,this[_0x33af9f(0x1e5)][_0x33af9f(0x1c0)]=!0x1;}[_0x37860c(0x1e1)](){const _0x2131cc=_0x37860c,_0x57ea37=this[_0x2131cc(0x1e0)],_0x46baf8=new _0x231a95(_0x57ea37,{'queryView':{'label':_0x3f0721(_0x57ea37,_0x2131cc(0x1c1)),'creator':_0x4e55f8,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3f0721(_0x57ea37,_0x2131cc(0x1ea)),'secondary':_0x3f0721(_0x57ea37,_0x2131cc(0x1f2))}}},'filteredView':this[_0x2131cc(0x1ce)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x46baf8[_0x2131cc(0x1cc)](_0x2131cc(0x1d5))['to'](this,_0x2131cc(0x1d5),this,_0x2131cc(0x1f5),(_0x3c47b0,_0x4267a4)=>_0x3c47b0&&!_0x4267a4),this[_0x2131cc(0x1b7)](_0x46baf8,_0x2131cc(0x1d4),(_0x326093,_0x1db7e0)=>{const _0x583c3a=_0x2131cc;this[_0x583c3a(0x1e2)]=_0x1db7e0;const _0x37c533=_0x41ace1(_0x1db7e0);this[_0x583c3a(0x1f8)](_0x583c3a(0x1de),_0x37c533),_0x1db7e0[_0x583c3a(0x1be)]()&&this[_0x583c3a(0x209)][_0x583c3a(0x1b3)]({'prompt':_0x37c533},0x0);},{'priority':_0x2131cc(0x1e4)}),_0x46baf8;}[_0x37860c(0x1ce)](){const _0x3ca28b=_0x37860c,_0x56f735=new _0x481c1c(this[_0x3ca28b(0x1e0)]);return _0x56f735[_0x3ca28b(0x1f1)][_0x3ca28b(0x207)][_0x3ca28b(0x1dd)](this[_0x3ca28b(0x209)])['as'](_0x3de1d5),_0x56f735['on'](_0x3ca28b(0x1f3),()=>{const _0x2166ca=_0x3ca28b;this[_0x2166ca(0x209)][_0x2166ca(0x1e8)](),this[_0x2166ca(0x1d7)][_0x2166ca(0x1cd)](''),this[_0x2166ca(0x1d7)][_0x2166ca(0x1d2)]();}),_0x56f735;}[_0x37860c(0x203)](){const _0x570adb=_0x37860c,_0x2cfb73=new _0x3bd5b0(this[_0x570adb(0x1e0)]);return _0x2cfb73[_0x570adb(0x1d8)][_0x570adb(0x1cc)](_0x570adb(0x1d5))['to'](this,_0x570adb(0x1d5),this,_0x570adb(0x1f5),this,_0x570adb(0x1ef),(_0x4fff16,_0x4eb96c,_0x382316)=>_0x4fff16&&!_0x4eb96c&&!!_0x382316),_0x2cfb73[_0x570adb(0x1d8)][_0x570adb(0x1b4)](_0x570adb(0x20b))['to'](this,_0x570adb(0x1da)),_0x2cfb73[_0x570adb(0x1ff)][_0x570adb(0x1cc)](_0x570adb(0x1d5))['to'](this,_0x570adb(0x1d5),this,_0x570adb(0x1f5),this,_0x570adb(0x1ef),(_0x510af0,_0x56e770,_0x221752)=>_0x510af0&&!_0x56e770&&!!_0x221752),_0x2cfb73[_0x570adb(0x1ff)][_0x570adb(0x1b4)](_0x570adb(0x20b))['to'](this,_0x570adb(0x1fb)),_0x2cfb73[_0x570adb(0x1bb)][_0x570adb(0x1cc)](_0x570adb(0x1d5))['to'](this,_0x570adb(0x1d5),this,_0x570adb(0x1f5),(_0x21cd7d,_0x5d957a)=>_0x21cd7d&&!_0x5d957a),_0x2cfb73[_0x570adb(0x1bb)][_0x570adb(0x1b4)](_0x570adb(0x20b))['to'](this,_0x570adb(0x1ca)),_0x2cfb73[_0x570adb(0x1f0)][_0x570adb(0x1cc)](_0x570adb(0x1d5))['to'](this,_0x570adb(0x1f5)),_0x2cfb73[_0x570adb(0x1f0)][_0x570adb(0x1b4)](_0x570adb(0x20b))['to'](this,_0x570adb(0x1f4)),_0x2cfb73;}[_0x37860c(0x1b6)](){const _0x1d36eb=_0x37860c;this[_0x1d36eb(0x1ef)]='',this[_0x1d36eb(0x1fe)]=!0x1,this[_0x1d36eb(0x1f5)]=!0x0,this[_0x1d36eb(0x1b5)][_0x1d36eb(0x1c0)]=!0x0,this[_0x1d36eb(0x1e5)][_0x1d36eb(0x1c0)]=!0x0,this[_0x1d36eb(0x1b5)][_0x1d36eb(0x1d2)]();}[_0x37860c(0x1f9)](){const _0x4ee3f1=_0x37860c,_0x2a6fbd=this[_0x4ee3f1(0x1e0)];this[_0x4ee3f1(0x1f5)]=!0x1,this[_0x4ee3f1(0x1e2)]='',this[_0x4ee3f1(0x1d7)][_0x4ee3f1(0x1d9)](),this[_0x4ee3f1(0x1ef)]&&(this[_0x4ee3f1(0x1d7)][_0x4ee3f1(0x1fa)][_0x4ee3f1(0x1eb)]=_0x3f0721(_0x2a6fbd,_0x4ee3f1(0x1d1)));}[_0x37860c(0x1d3)](_0x281914){const _0x31335d=_0x37860c,_0x58f1ab=this[_0x31335d(0x1e0)];this[_0x31335d(0x1f9)](),this[_0x31335d(0x1fe)]=!0x0,this[_0x31335d(0x208)][_0x31335d(0x20a)]=_0x281914||_0x3f0721(_0x58f1ab,_0x31335d(0x1ba)),this[_0x31335d(0x1ef)]||(this[_0x31335d(0x1b5)][_0x31335d(0x1c0)]=!0x1);}}
23
+ const _0x58561f=_0x1c87;function _0x1c87(_0x3903b4,_0x43ae27){const _0x4b92bb=_0x4b92();return _0x1c87=function(_0x1c879d,_0x561007){_0x1c879d=_0x1c879d-0xe6;let _0x73ecfd=_0x4b92bb[_0x1c879d];return _0x73ecfd;},_0x1c87(_0x3903b4,_0x43ae27);}(function(_0x5852da,_0x49cc9a){const _0x1c6818=_0x1c87,_0x351d79=_0x5852da();while(!![]){try{const _0x4e5d6b=-parseInt(_0x1c6818(0x106))/0x1+-parseInt(_0x1c6818(0x12f))/0x2*(-parseInt(_0x1c6818(0x103))/0x3)+parseInt(_0x1c6818(0x10b))/0x4+parseInt(_0x1c6818(0xfd))/0x5*(-parseInt(_0x1c6818(0x122))/0x6)+-parseInt(_0x1c6818(0x134))/0x7*(parseInt(_0x1c6818(0xfc))/0x8)+parseInt(_0x1c6818(0xf6))/0x9+parseInt(_0x1c6818(0x12a))/0xa;if(_0x4e5d6b===_0x49cc9a)break;else _0x351d79['push'](_0x351d79['shift']());}catch(_0x4266fb){_0x351d79['push'](_0x351d79['shift']());}}}(_0x4b92,0x8a347));import{FocusTracker as _0xc2587e,KeystrokeHandler as _0x3f595d}from'ckeditor5/src/utils.js';import{View as _0x15ffaf,FocusCycler as _0x5c824a,createLabeledTextarea as _0x59c4b0}from'ckeditor5/src/ui.js';import _0x4036ce,{AIFormToolbarViewMainActionLabel as _0xc1c13b}from'./aiformtoolbarview.js';function _0x4b92(){const _0x2f4156=['element','submitPrompt','label','bindTemplate','133aSTSqu','shift\x20+\x20tab','ck-ai-form-content','listenTo','queryView','_focusables','tryAgainEvent','historyGroupView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','forwardCycle','set','focus','contentArea','startProcessing','isEnabled','keystrokes','AI_ERROR_FAILED','stopProcessing','focusTracker','trim','text','locale','clearHistory','items','focusLast','copyButtonView','fieldView','3401793CeScfR','replaceContent','prompt','bind','promptView','stop','433712WtLXYJ','590DlDIfD','Ask\x20AI\x20to\x20improve\x20generated\x20text','isVisible','isProcessing','finishProcessing','_createToolbar','74571KxGqjG','focusNext','div','211306jSQNsH','mainAction','render','execute','bindTo','722080FVmxCk','value','_createHistoryView','tryAgainButton','clear','ck-ai-form','toolbar','insertContentBelow','errorView','setTemplate','insertButton','tab','handleError','REPLACE','focusPrevious','search','backwardCycle','isError','ck-hidden','add','_createPromptView','delegate','stopButton','16260IwMqwW','Ask\x20AI\x20to\x20edit\x20or\x20generate','Empty\x20history','submit','fire','_promptHistory','focusCycler','high','10716020sctjev','focusFirst','replaceButton','createCollection','reset','40zkvDnu'];_0x4b92=function(){return _0x2f4156;};return _0x4b92();}import _0x4555e4 from'./aiformcontentarea.js';import _0x1a4fb4 from'./aiformerrorview.js';import _0x377872 from'./aiformpromptview.js';import _0x17194b from'./aihistorylistview.js';import _0x165fbf from'./aihistorylistitemview.js';import _0x578fd2 from'./prompthistory.js';import{getTranslation as _0x3d2387}from'../../utils/common-translations.js';import{escape as _0x274c50}from'lodash-es';export default class x extends _0x15ffaf{constructor(_0x310522,_0x53ff56,_0x34c586=''){const _0x39a6f5=_0x1c87;super(_0x310522),this[_0x39a6f5(0x13e)](_0x39a6f5(0xe9),!0x0),this[_0x39a6f5(0x13e)](_0x39a6f5(0x100),!0x1),this[_0x39a6f5(0x13e)](_0x39a6f5(0xf8),''),this[_0x39a6f5(0x13e)](_0x39a6f5(0x10c),''),this[_0x39a6f5(0x13e)](_0x39a6f5(0x11c),!0x1),this[_0x39a6f5(0x13e)](_0x39a6f5(0x107),_0xc1c13b[_0x39a6f5(0x118)]),this[_0x39a6f5(0x127)]=new _0x578fd2(),this[_0x39a6f5(0x113)]=new _0x1a4fb4(_0x310522),this[_0x39a6f5(0xe7)]=new _0x4555e4(_0x310522,_0x34c586),this[_0x39a6f5(0xe7)][_0x39a6f5(0xf9)](_0x39a6f5(0x100))['to'](this),this[_0x39a6f5(0xe7)][_0x39a6f5(0xf9)](_0x39a6f5(0x10c))['to'](this),this[_0x39a6f5(0x111)]=this[_0x39a6f5(0x102)](),this[_0x39a6f5(0x111)][_0x39a6f5(0xf9)](_0x39a6f5(0x107))['to'](this),this[_0x39a6f5(0xfa)]=this[_0x39a6f5(0x11f)](),this[_0x39a6f5(0xed)]=new _0xc2587e(),this[_0x39a6f5(0xea)]=new _0x3f595d(),this[_0x39a6f5(0x139)]=this[_0x39a6f5(0x12d)]([this[_0x39a6f5(0xe7)],this[_0x39a6f5(0xe7)][_0x39a6f5(0xf4)],this[_0x39a6f5(0x111)],this[_0x39a6f5(0xfa)]]),this[_0x39a6f5(0x128)]=new _0x5c824a({'focusables':this[_0x39a6f5(0x139)],'focusTracker':this[_0x39a6f5(0xed)],'keystrokeHandler':this[_0x39a6f5(0xea)],'actions':{'focusPrevious':_0x39a6f5(0x135),'focusNext':_0x39a6f5(0x116)}}),this[_0x39a6f5(0xfa)][_0x39a6f5(0x128)]['on'](_0x39a6f5(0x13d),_0x225be2=>{const _0x1102b0=_0x39a6f5;this[_0x1102b0(0x128)][_0x1102b0(0x104)](),_0x225be2[_0x1102b0(0xfb)]();}),this[_0x39a6f5(0xfa)][_0x39a6f5(0x128)]['on'](_0x39a6f5(0x11b),_0x4888fd=>{const _0x1a7d89=_0x39a6f5;this[_0x1a7d89(0x128)][_0x1a7d89(0x119)](),_0x4888fd[_0x1a7d89(0xfb)]();}),this[_0x39a6f5(0xfa)][_0x39a6f5(0x138)][_0x39a6f5(0xf5)][_0x39a6f5(0xf9)](_0x39a6f5(0x10c))['to'](this,_0x39a6f5(0xf8));const _0xfb5969=this[_0x39a6f5(0x133)];this[_0x39a6f5(0x114)]({'tag':_0x39a6f5(0x105),'attributes':{'class':['ck',_0x39a6f5(0x110),_0x53ff56],'tabindex':'-1'},'children':[{'tag':_0x39a6f5(0x105),'attributes':{'class':['ck',_0x39a6f5(0x136)]},'children':[{'tag':_0x39a6f5(0x105),'attributes':{'class':[_0xfb5969['if'](_0x39a6f5(0x11c),_0x39a6f5(0x11d),_0x5c51ac=>!_0x5c51ac)]},'children':[this[_0x39a6f5(0x113)]]},this[_0x39a6f5(0xe7)],this[_0x39a6f5(0x111)],this[_0x39a6f5(0xfa)]]}]});}[_0x58561f(0x108)](){const _0x15ae40=_0x58561f;super[_0x15ae40(0x108)](),this[_0x15ae40(0xed)][_0x15ae40(0x11e)](this[_0x15ae40(0xe7)][_0x15ae40(0x130)]),this[_0x15ae40(0xed)][_0x15ae40(0x11e)](this[_0x15ae40(0xe7)][_0x15ae40(0xf4)][_0x15ae40(0x130)]),this[_0x15ae40(0xed)][_0x15ae40(0x11e)](this[_0x15ae40(0x111)][_0x15ae40(0x130)]),this[_0x15ae40(0xed)][_0x15ae40(0x11e)](this[_0x15ae40(0xfa)][_0x15ae40(0x130)]),this[_0x15ae40(0xea)][_0x15ae40(0x137)](this[_0x15ae40(0x130)]);}[_0x58561f(0xe6)](_0x5e0174=0x1){const _0x136511=_0x58561f;-0x1===_0x5e0174?this[_0x136511(0x128)][_0x136511(0xf3)]():this[_0x136511(0x128)][_0x136511(0x12b)]();}[_0x58561f(0x12e)](){const _0x4d8e79=_0x58561f;this[_0x4d8e79(0xf8)]='',this[_0x4d8e79(0x10c)]='',this[_0x4d8e79(0x11c)]=!0x1,this[_0x4d8e79(0xfa)][_0x4d8e79(0x12e)](),this[_0x4d8e79(0xe7)][_0x4d8e79(0xff)]=!0x1,this[_0x4d8e79(0x111)][_0x4d8e79(0xff)]=!0x1;}[_0x58561f(0x11f)](){const _0xb71a20=_0x58561f,_0x4494c8=this[_0xb71a20(0xf0)],_0x15047b=new _0x377872(_0x4494c8,{'queryView':{'label':_0x3d2387(_0x4494c8,_0xb71a20(0x123)),'creator':_0x59c4b0,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3d2387(_0x4494c8,_0xb71a20(0x124)),'secondary':_0x3d2387(_0x4494c8,_0xb71a20(0x13c))}}},'filteredView':this[_0xb71a20(0x10d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x15047b[_0xb71a20(0xf9)](_0xb71a20(0xe9))['to'](this,_0xb71a20(0xe9),this,_0xb71a20(0x100),(_0x40e7a1,_0x1b2ccf)=>_0x40e7a1&&!_0x1b2ccf),this[_0xb71a20(0x137)](_0x15047b,_0xb71a20(0x125),(_0x3f40e9,_0x56995e)=>{const _0x5ca382=_0xb71a20;this[_0x5ca382(0xf8)]=_0x56995e;const _0x1bc81c=_0x274c50(_0x56995e);this[_0x5ca382(0x126)](_0x5ca382(0x131),_0x1bc81c),_0x56995e[_0x5ca382(0xee)]()&&this[_0x5ca382(0x127)][_0x5ca382(0x11e)]({'prompt':_0x1bc81c},0x0);},{'priority':_0xb71a20(0x129)}),_0x15047b;}[_0x58561f(0x10d)](){const _0x49e161=_0x58561f,_0x42f7b7=new _0x17194b(this[_0x49e161(0xf0)]);return _0x42f7b7[_0x49e161(0x13b)][_0x49e161(0xf2)][_0x49e161(0x10a)](this[_0x49e161(0x127)])['as'](_0x165fbf),_0x42f7b7['on'](_0x49e161(0xf1),()=>{const _0x54283d=_0x49e161;this[_0x54283d(0x127)][_0x54283d(0x10f)](),this[_0x54283d(0xfa)][_0x54283d(0x11a)](''),this[_0x54283d(0xfa)][_0x54283d(0xe6)]();}),_0x42f7b7;}[_0x58561f(0x102)](){const _0x588294=_0x58561f,_0x270edc=new _0x4036ce(this[_0x588294(0xf0)]);return _0x270edc[_0x588294(0x12c)][_0x588294(0xf9)](_0x588294(0xe9))['to'](this,_0x588294(0xe9),this,_0x588294(0x100),this,_0x588294(0x10c),(_0x3f94a7,_0x59eb8d,_0x1bb9b5)=>_0x3f94a7&&!_0x59eb8d&&!!_0x1bb9b5),_0x270edc[_0x588294(0x12c)][_0x588294(0x120)](_0x588294(0x109))['to'](this,_0x588294(0xf7)),_0x270edc[_0x588294(0x115)][_0x588294(0xf9)](_0x588294(0xe9))['to'](this,_0x588294(0xe9),this,_0x588294(0x100),this,_0x588294(0x10c),(_0x2a2066,_0x54d907,_0x40515f)=>_0x2a2066&&!_0x54d907&&!!_0x40515f),_0x270edc[_0x588294(0x115)][_0x588294(0x120)](_0x588294(0x109))['to'](this,_0x588294(0x112)),_0x270edc[_0x588294(0x10e)][_0x588294(0xf9)](_0x588294(0xe9))['to'](this,_0x588294(0xe9),this,_0x588294(0x100),(_0x43c37e,_0x5708ae)=>_0x43c37e&&!_0x5708ae),_0x270edc[_0x588294(0x10e)][_0x588294(0x120)](_0x588294(0x109))['to'](this,_0x588294(0x13a)),_0x270edc[_0x588294(0x121)][_0x588294(0xf9)](_0x588294(0xe9))['to'](this,_0x588294(0x100)),_0x270edc[_0x588294(0x121)][_0x588294(0x120)](_0x588294(0x109))['to'](this,_0x588294(0xec)),_0x270edc;}[_0x58561f(0xe8)](){const _0x43b339=_0x58561f;this[_0x43b339(0x10c)]='',this[_0x43b339(0x11c)]=!0x1,this[_0x43b339(0x100)]=!0x0,this[_0x43b339(0xe7)][_0x43b339(0xff)]=!0x0,this[_0x43b339(0x111)][_0x43b339(0xff)]=!0x0,this[_0x43b339(0xe7)][_0x43b339(0xe6)]();}[_0x58561f(0x101)](){const _0x293113=_0x58561f,_0x462dac=this[_0x293113(0xf0)];this[_0x293113(0x100)]=!0x1,this[_0x293113(0xf8)]='',this[_0x293113(0xfa)][_0x293113(0x12e)](),this[_0x293113(0x10c)]&&(this[_0x293113(0xfa)][_0x293113(0x138)][_0x293113(0x132)]=_0x3d2387(_0x462dac,_0x293113(0xfe)));}[_0x58561f(0x117)](_0x46e9c2){const _0x305297=_0x58561f,_0x26903c=this[_0x305297(0xf0)];this[_0x305297(0x101)](),this[_0x305297(0x11c)]=!0x0,this[_0x305297(0x113)][_0x305297(0xef)]=_0x46e9c2||_0x3d2387(_0x26903c,_0x305297(0xeb)),this[_0x305297(0x10c)]||(this[_0x305297(0xe7)][_0x305297(0xff)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2e653b,_0x543be4){const _0x2b3699=_0x12d7,_0xd42fc0=_0x2e653b();while(!![]){try{const _0x42e250=parseInt(_0x2b3699(0x8b))/0x1+parseInt(_0x2b3699(0x8a))/0x2+-parseInt(_0x2b3699(0x91))/0x3*(parseInt(_0x2b3699(0x8d))/0x4)+-parseInt(_0x2b3699(0x96))/0x5+parseInt(_0x2b3699(0x8e))/0x6*(-parseInt(_0x2b3699(0x8c))/0x7)+-parseInt(_0x2b3699(0x95))/0x8+parseInt(_0x2b3699(0x89))/0x9;if(_0x42e250===_0x543be4)break;else _0xd42fc0['push'](_0xd42fc0['shift']());}catch(_0x338f6f){_0xd42fc0['push'](_0xd42fc0['shift']());}}}(_0xf2cc,0xbc34c));import{ListItemView as _0x1a27cb,ButtonView as _0x34e5c7}from'ckeditor5/src/ui.js';import _0x41fba9 from'../dropdown/buttonlabelwithhighlightview.js';function _0x12d7(_0x239e01,_0x2e4c76){const _0xf2ccd7=_0xf2cc();return _0x12d7=function(_0x12d772,_0x3155ca){_0x12d772=_0x12d772-0x89;let _0x14c1bb=_0xf2ccd7[_0x12d772];return _0x14c1bb;},_0x12d7(_0x239e01,_0x2e4c76);}import{unescape as _0x47d176}from'lodash-es';function _0xf2cc(){const _0x1541c2=['96TgkOry','locale','children','48RRJImX','fire','execute','add','11621744AeXxRw','7010880rTSwAo','set','prompt','22686282BJgDYq','2937674IvwbtW','279179RCDeYY','92841EmauQF','107680Irrdaz'];_0xf2cc=function(){return _0x1541c2;};return _0xf2cc();}export default class hs extends _0x1a27cb{constructor(_0x355c15){const _0x24043c=_0x12d7;super();const _0x35e521=new _0x41fba9(),_0xa55a15=new _0x34e5c7(this[_0x24043c(0x8f)],_0x35e521);this[_0x24043c(0x90)][_0x24043c(0x94)](_0xa55a15),_0xa55a15[_0x24043c(0x97)]({'label':_0x355c15[_0x24043c(0x98)],'withText':!0x0}),_0xa55a15['on'](_0x24043c(0x93),()=>{const _0x57921b=_0x24043c;this[_0x57921b(0x92)](_0x57921b(0x93),{'value':_0x47d176(_0x355c15[_0x57921b(0x98)])});});}}
23
+ (function(_0xf86507,_0x401b9b){const _0x43cad7=_0x2a43,_0x5bb947=_0xf86507();while(!![]){try{const _0x8c5d72=parseInt(_0x43cad7(0x197))/0x1*(parseInt(_0x43cad7(0x196))/0x2)+-parseInt(_0x43cad7(0x18c))/0x3*(-parseInt(_0x43cad7(0x195))/0x4)+-parseInt(_0x43cad7(0x186))/0x5+parseInt(_0x43cad7(0x187))/0x6+parseInt(_0x43cad7(0x18d))/0x7*(parseInt(_0x43cad7(0x190))/0x8)+-parseInt(_0x43cad7(0x191))/0x9+parseInt(_0x43cad7(0x18f))/0xa*(-parseInt(_0x43cad7(0x189))/0xb);if(_0x8c5d72===_0x401b9b)break;else _0x5bb947['push'](_0x5bb947['shift']());}catch(_0x2a8bd2){_0x5bb947['push'](_0x5bb947['shift']());}}}(_0x3f83,0x43b0a));function _0x2a43(_0x54593,_0xac82be){const _0x3f8391=_0x3f83();return _0x2a43=function(_0x2a43f6,_0x50bd79){_0x2a43f6=_0x2a43f6-0x186;let _0x2b502e=_0x3f8391[_0x2a43f6];return _0x2b502e;},_0x2a43(_0x54593,_0xac82be);}function _0x3f83(){const _0x4c87ba=['set','42537aIsusk','727237OcLpsn','prompt','4040dTqcZo','16fZoKqp','1737918pWTWUi','locale','execute','add','76UeSIoj','12GHfQtU','41260uAwNiA','620170CnKefG','1016514kyhmLB','fire','8162mdPwxH','children'];_0x3f83=function(){return _0x4c87ba;};return _0x3f83();}import{ListItemView as _0x5a427a,ButtonView as _0x1b44e0}from'ckeditor5/src/ui.js';import _0x695b5c from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x28c614}from'lodash-es';export default class hs extends _0x5a427a{constructor(_0x4983db){const _0x71cc0c=_0x2a43;super();const _0x126490=new _0x695b5c(),_0x301d5c=new _0x1b44e0(this[_0x71cc0c(0x192)],_0x126490);this[_0x71cc0c(0x18a)][_0x71cc0c(0x194)](_0x301d5c),_0x301d5c[_0x71cc0c(0x18b)]({'label':_0x4983db[_0x71cc0c(0x18e)],'withText':!0x0}),_0x301d5c['on'](_0x71cc0c(0x193),()=>{const _0xeb75aa=_0x71cc0c;this[_0xeb75aa(0x188)](_0xeb75aa(0x193),{'value':_0x28c614(_0x4983db[_0xeb75aa(0x18e)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x12d6(_0x460405,_0x224bde){const _0x4f5110=_0x4f51();return _0x12d6=function(_0x12d65b,_0x5e3774){_0x12d65b=_0x12d65b-0x14a;let _0x2749e5=_0x4f5110[_0x12d65b];return _0x2749e5;},_0x12d6(_0x460405,_0x224bde);}const _0x26ea9e=_0x12d6;(function(_0x4fd758,_0x349b9b){const _0x2e3e5f=_0x12d6,_0x53218a=_0x4fd758();while(!![]){try{const _0x121791=-parseInt(_0x2e3e5f(0x158))/0x1+-parseInt(_0x2e3e5f(0x15d))/0x2*(-parseInt(_0x2e3e5f(0x15b))/0x3)+parseInt(_0x2e3e5f(0x14e))/0x4+parseInt(_0x2e3e5f(0x154))/0x5+-parseInt(_0x2e3e5f(0x14b))/0x6+-parseInt(_0x2e3e5f(0x152))/0x7*(-parseInt(_0x2e3e5f(0x159))/0x8)+-parseInt(_0x2e3e5f(0x14d))/0x9;if(_0x121791===_0x349b9b)break;else _0x53218a['push'](_0x53218a['shift']());}catch(_0x525f37){_0x53218a['push'](_0x53218a['shift']());}}}(_0x4f51,0x5443d));import{ListView as _0x49a174,ListItemGroupView as _0xc2cf9e,ButtonView as _0x4131bb}from'ckeditor5/src/ui.js';import{getTranslation as _0x507d0d}from'../../utils/common-translations.js';export default class rs extends _0x49a174{constructor(_0x367b0c){const _0xfc9722=_0x12d6;super(_0x367b0c),this[_0xfc9722(0x153)]=this[_0xfc9722(0x161)](),this[_0xfc9722(0x15a)]=new _0xc2cf9e(),this[_0xfc9722(0x15a)][_0xfc9722(0x15c)][_0xfc9722(0x155)](this[_0xfc9722(0x153)],0x1),this[_0xfc9722(0x15a)][_0xfc9722(0x14f)]=_0x507d0d(_0x367b0c,_0xfc9722(0x14a)),this[_0xfc9722(0x15a)][_0xfc9722(0x160)][_0xfc9722(0x162)](_0xfc9722(0x150))['to'](this),this[_0xfc9722(0x160)][_0xfc9722(0x155)](this[_0xfc9722(0x15a)]);}[_0x26ea9e(0x14c)](){const _0x13ed17=_0x26ea9e;let _0x5941ef=0x0;for(const _0x51bdce of this[_0x13ed17(0x160)])_0x5941ef+=_0x51bdce[_0x13ed17(0x160)][_0x13ed17(0x151)];return{'resultsCount':_0x5941ef,'totalItemsCount':_0x5941ef};}[_0x26ea9e(0x161)](){const _0x55f303=_0x26ea9e,_0xb33b18=this[_0x55f303(0x15f)],_0x4a8733=new _0x4131bb(this[_0x55f303(0x15f)]);return _0x4a8733[_0x55f303(0x157)]({'label':'('+_0x507d0d(_0xb33b18,_0x55f303(0x15e))+')','withText':!0x0}),_0x4a8733['on'](_0x55f303(0x150),()=>this[_0x55f303(0x156)](_0x55f303(0x163))),_0x4a8733;}}function _0x4f51(){const _0x247ba5=['3xGaCmx','children','1220438HnqcBc','Clear','locale','items','_createClearHistoryButton','delegate','clearHistory','Prompt\x20history','3932934mcAwGl','filter','4280130KEPplz','2597848ECxcNg','label','execute','length','1057uiFBVf','clearHistoryButton','689195dVnzKh','add','fire','set','328861FhRqBt','21592admjBD','historyGroupView'];_0x4f51=function(){return _0x247ba5;};return _0x4f51();}
23
+ const _0x40fc7c=_0x4b84;(function(_0x4e5d4d,_0x50c5f4){const _0x920bb4=_0x4b84,_0x49a02d=_0x4e5d4d();while(!![]){try{const _0x355c03=parseInt(_0x920bb4(0x12d))/0x1*(parseInt(_0x920bb4(0x11d))/0x2)+parseInt(_0x920bb4(0x128))/0x3+parseInt(_0x920bb4(0x11c))/0x4+parseInt(_0x920bb4(0x114))/0x5+parseInt(_0x920bb4(0x12a))/0x6+parseInt(_0x920bb4(0x12c))/0x7*(parseInt(_0x920bb4(0x116))/0x8)+parseInt(_0x920bb4(0x126))/0x9*(-parseInt(_0x920bb4(0x123))/0xa);if(_0x355c03===_0x50c5f4)break;else _0x49a02d['push'](_0x49a02d['shift']());}catch(_0x48ac3b){_0x49a02d['push'](_0x49a02d['shift']());}}}(_0x2d62,0xc79dd));import{ListView as _0x473d06,ListItemGroupView as _0xc43e56,ButtonView as _0x1bb56b}from'ckeditor5/src/ui.js';import{getTranslation as _0x13dbee}from'../../utils/common-translations.js';function _0x4b84(_0x17a111,_0x359eb2){const _0x2d62ab=_0x2d62();return _0x4b84=function(_0x4b8496,_0x333caa){_0x4b8496=_0x4b8496-0x113;let _0x435ed1=_0x2d62ab[_0x4b8496];return _0x435ed1;},_0x4b84(_0x17a111,_0x359eb2);}function _0x2d62(){const _0x54898a=['5181075UuuAND','set','8cZSMCI','_createClearHistoryButton','filter','locale','execute','items','1766684COgTOq','16GcurGW','clearHistoryButton','children','Clear','Prompt\x20history','length','18888070AYwOyG','clearHistory','label','18OUiNLs','add','167556wrmGfV','historyGroupView','5114172qFJHbK','delegate','10419129Lbjrwn','90087FMkIZw','fire'];_0x2d62=function(){return _0x54898a;};return _0x2d62();}export default class rs extends _0x473d06{constructor(_0x538667){const _0x502033=_0x4b84;super(_0x538667),this[_0x502033(0x11e)]=this[_0x502033(0x117)](),this[_0x502033(0x129)]=new _0xc43e56(),this[_0x502033(0x129)][_0x502033(0x11f)][_0x502033(0x127)](this[_0x502033(0x11e)],0x1),this[_0x502033(0x129)][_0x502033(0x125)]=_0x13dbee(_0x538667,_0x502033(0x121)),this[_0x502033(0x129)][_0x502033(0x11b)][_0x502033(0x12b)](_0x502033(0x11a))['to'](this),this[_0x502033(0x11b)][_0x502033(0x127)](this[_0x502033(0x129)]);}[_0x40fc7c(0x118)](){const _0x1f2975=_0x40fc7c;let _0x4b4575=0x0;for(const _0x57012d of this[_0x1f2975(0x11b)])_0x4b4575+=_0x57012d[_0x1f2975(0x11b)][_0x1f2975(0x122)];return{'resultsCount':_0x4b4575,'totalItemsCount':_0x4b4575};}[_0x40fc7c(0x117)](){const _0x442fc1=_0x40fc7c,_0x5566c6=this[_0x442fc1(0x119)],_0x53e06f=new _0x1bb56b(this[_0x442fc1(0x119)]);return _0x53e06f[_0x442fc1(0x115)]({'label':'('+_0x13dbee(_0x5566c6,_0x442fc1(0x120))+')','withText':!0x0}),_0x53e06f['on'](_0x442fc1(0x11a),()=>this[_0x442fc1(0x113)](_0x442fc1(0x124))),_0x53e06f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3080(){const _0x343d80=['19640chODvY','setItem','_loadFromSessionStorage','603390CFFMFN','CKEditor/AIFormView/PromptHistory','getItem','remove','length','addMany','2662056uGepaj','map','609488bIRzra','1123476KKUYSs','parse','3013178kabhRB','toLowerCase','trim','last','prompt','_saveToSessionStorage','313358YBKxwD','stringify','28jkmUsk','add','32xJFtFb'];_0x3080=function(){return _0x343d80;};return _0x3080();}const _0x12a31a=_0xc042;(function(_0x40046e,_0x46bfd3){const _0x46af06=_0xc042,_0x17d2c0=_0x40046e();while(!![]){try{const _0x455d81=parseInt(_0x46af06(0x1c3))/0x1+parseInt(_0x46af06(0x1ba))/0x2+parseInt(_0x46af06(0x1b2))/0x3+-parseInt(_0x46af06(0x1c5))/0x4*(-parseInt(_0x46af06(0x1af))/0x5)+parseInt(_0x46af06(0x1bb))/0x6+parseInt(_0x46af06(0x1bd))/0x7+parseInt(_0x46af06(0x1ae))/0x8*(-parseInt(_0x46af06(0x1b8))/0x9);if(_0x455d81===_0x46bfd3)break;else _0x17d2c0['push'](_0x17d2c0['shift']());}catch(_0x2b4813){_0x17d2c0['push'](_0x17d2c0['shift']());}}}(_0x3080,0x44acc));import{Collection as _0xec3b88}from'ckeditor5/src/utils.js';const cs=_0x12a31a(0x1b3);export default class os extends _0xec3b88{constructor(){const _0x3a0053=_0x12a31a;super(),this[_0x3a0053(0x1b1)](),this['on'](_0x3a0053(0x1ad),(_0x5f0f67,_0x1f1c5f)=>{const _0x25e194=_0x3a0053,_0x3d3415=Ss(_0x1f1c5f[_0x25e194(0x1c1)]);for(const _0x2e47f4 of this)if(_0x2e47f4!=_0x1f1c5f&&Ss(_0x2e47f4[_0x25e194(0x1c1)])===_0x3d3415){this[_0x25e194(0x1b5)](_0x2e47f4);break;}this[_0x25e194(0x1b6)]>0x14&&this[_0x25e194(0x1b5)](this[_0x25e194(0x1c0)]),this[_0x25e194(0x1c2)]();}),this['on'](_0x3a0053(0x1b5),()=>{const _0x23bfd6=_0x3a0053;this[_0x23bfd6(0x1c2)]();});}[_0x12a31a(0x1b1)](){const _0x40ccd6=_0x12a31a,_0x5d47b3=sessionStorage[_0x40ccd6(0x1b4)](cs)||'[]';this[_0x40ccd6(0x1b7)](JSON[_0x40ccd6(0x1bc)](_0x5d47b3));}[_0x12a31a(0x1c2)](){const _0x535c7c=_0x12a31a;sessionStorage[_0x535c7c(0x1b0)](cs,JSON[_0x535c7c(0x1c4)](this[_0x535c7c(0x1b9)](_0x183cb6=>_0x183cb6)));}}function _0xc042(_0x217632,_0x14d244){const _0x3080c8=_0x3080();return _0xc042=function(_0xc04200,_0x3581e0){_0xc04200=_0xc04200-0x1ad;let _0x5481ba=_0x3080c8[_0xc04200];return _0x5481ba;},_0xc042(_0x217632,_0x14d244);}function Ss(_0x552c15){const _0x4e49e1=_0x12a31a;return _0x552c15[_0x4e49e1(0x1be)]()[_0x4e49e1(0x1bf)]();}
23
+ const _0x8ef708=_0xee96;function _0xee96(_0x3e7825,_0x1b781c){const _0x1a0a5f=_0x1a0a();return _0xee96=function(_0xee9690,_0x5c5845){_0xee9690=_0xee9690-0xc0;let _0x1abe8a=_0x1a0a5f[_0xee9690];return _0x1abe8a;},_0xee96(_0x3e7825,_0x1b781c);}(function(_0x394e80,_0x4358c2){const _0x24328c=_0xee96,_0xcbfede=_0x394e80();while(!![]){try{const _0x4e9b0f=-parseInt(_0x24328c(0xd0))/0x1*(parseInt(_0x24328c(0xc5))/0x2)+parseInt(_0x24328c(0xda))/0x3*(-parseInt(_0x24328c(0xc0))/0x4)+parseInt(_0x24328c(0xca))/0x5*(parseInt(_0x24328c(0xcf))/0x6)+-parseInt(_0x24328c(0xd9))/0x7*(-parseInt(_0x24328c(0xdb))/0x8)+parseInt(_0x24328c(0xc2))/0x9*(parseInt(_0x24328c(0xc4))/0xa)+parseInt(_0x24328c(0xd3))/0xb+-parseInt(_0x24328c(0xcb))/0xc;if(_0x4e9b0f===_0x4358c2)break;else _0xcbfede['push'](_0xcbfede['shift']());}catch(_0x346893){_0xcbfede['push'](_0xcbfede['shift']());}}}(_0x1a0a,0xe1126));import{Collection as _0xa135ca}from'ckeditor5/src/utils.js';const cs=_0x8ef708(0xd5);export default class os extends _0xa135ca{constructor(){const _0x3bc7ae=_0x8ef708;super(),this[_0x3bc7ae(0xcd)](),this['on'](_0x3bc7ae(0xd4),(_0x4830e7,_0x2814b3)=>{const _0x91c61d=_0x3bc7ae,_0x5f03de=Ss(_0x2814b3[_0x91c61d(0xd7)]);for(const _0x2115c3 of this)if(_0x2115c3!=_0x2814b3&&Ss(_0x2115c3[_0x91c61d(0xd7)])===_0x5f03de){this[_0x91c61d(0xc9)](_0x2115c3);break;}this[_0x91c61d(0xcc)]>0x14&&this[_0x91c61d(0xc9)](this[_0x91c61d(0xd2)]),this[_0x91c61d(0xc1)]();}),this['on'](_0x3bc7ae(0xc9),()=>{const _0x3f0f4e=_0x3bc7ae;this[_0x3f0f4e(0xc1)]();});}[_0x8ef708(0xcd)](){const _0x551953=_0x8ef708,_0x39620a=sessionStorage[_0x551953(0xc6)](cs)||'[]';this[_0x551953(0xc3)](JSON[_0x551953(0xce)](_0x39620a));}[_0x8ef708(0xc1)](){const _0x5e60a0=_0x8ef708;sessionStorage[_0x5e60a0(0xd1)](cs,JSON[_0x5e60a0(0xc7)](this[_0x5e60a0(0xd8)](_0x312a67=>_0x312a67)));}}function _0x1a0a(){const _0x376dfc=['toLowerCase','prompt','map','3012779QUOVtc','93417GfrfUc','16TNUwbN','92WkSzDt','_saveToSessionStorage','331857WamqUp','addMany','20BSvIqd','2744894LANjVf','getItem','stringify','trim','remove','9104730EyWEJH','10201668Csgerh','length','_loadFromSessionStorage','parse','6URjDxB','1dXhLWu','setItem','last','12157101xkeNrZ','add','CKEditor/AIFormView/PromptHistory'];_0x1a0a=function(){return _0x376dfc;};return _0x1a0a();}function Ss(_0x3d8993){const _0x395f83=_0x8ef708;return _0x3d8993[_0x395f83(0xd6)]()[_0x395f83(0xc8)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19e191=_0x4303;(function(_0x381afe,_0x30663a){const _0x162cbc=_0x4303,_0x3421de=_0x381afe();while(!![]){try{const _0x2afbdc=-parseInt(_0x162cbc(0x1dd))/0x1*(parseInt(_0x162cbc(0x1cf))/0x2)+-parseInt(_0x162cbc(0x1e2))/0x3+parseInt(_0x162cbc(0x1e8))/0x4*(-parseInt(_0x162cbc(0x1cb))/0x5)+-parseInt(_0x162cbc(0x1da))/0x6+parseInt(_0x162cbc(0x1f0))/0x7+-parseInt(_0x162cbc(0x1ec))/0x8*(parseInt(_0x162cbc(0x1c9))/0x9)+-parseInt(_0x162cbc(0x1e3))/0xa*(-parseInt(_0x162cbc(0x1c5))/0xb);if(_0x2afbdc===_0x30663a)break;else _0x3421de['push'](_0x3421de['shift']());}catch(_0x5767f6){_0x3421de['push'](_0x3421de['shift']());}}}(_0x123b,0x1d9c0));import{Command as _0x2b5788}from'ckeditor5/src/core.js';import _0x52d2fa from'../aiassistantui.js';export default class j extends _0x2b5788{constructor(_0x3ed737,_0x431cae){const _0x5fe0f0=_0x4303;super(_0x3ed737),this[_0x5fe0f0(0x1d8)]=_0x431cae?_0x431cae[_0x5fe0f0(0x1d0)]((_0x2ad229,_0x5be963)=>_0x2ad229[_0x5fe0f0(0x1d5)](_0x5be963[_0x5fe0f0(0x1f1)]),new Array()):[],this[_0x5fe0f0(0x1df)](_0x5fe0f0(0x1c4),[]),this['on'](_0x5fe0f0(0x1e1),(_0x590273,_0xe73192,_0x2c564e)=>{const _0x1eb922=_0x5fe0f0;this[_0x1eb922(0x1c6)]&&(this[_0x1eb922(0x1c4)]=K(this[_0x1eb922(0x1d8)],_0x2c564e));}),this[_0x5fe0f0(0x1df)](_0x5fe0f0(0x1ef),!0x1),this['on'](_0x5fe0f0(0x1cc),(_0x4f49bb,_0x1350d3,_0x37b10e)=>{const _0x35df94=_0x5fe0f0;this[_0x35df94(0x1c4)]=_0x37b10e?K(this[_0x35df94(0x1d8)],this[_0x35df94(0x1ef)]):[];});}[_0x19e191(0x1db)](){const _0x57c229=_0x19e191,_0x518b92=this[_0x57c229(0x1d9)][_0x57c229(0x1e4)];this[_0x57c229(0x1ef)]=function(_0x2df508){const _0x4b26b8=_0x57c229,_0x470acf=_0x2df508[_0x4b26b8(0x1ce)][_0x4b26b8(0x1e7)];return _0x470acf[_0x4b26b8(0x1cd)]?0x0!==[..._0x470acf[_0x4b26b8(0x1e5)]()][_0x4b26b8(0x1c7)]&&![..._0x470acf[_0x4b26b8(0x1e5)]()][0x0][_0x4b26b8(0x1ea)]:!!_0x2df508[_0x4b26b8(0x1d3)](_0x470acf[_0x4b26b8(0x1ed)]());}(_0x518b92);const _0x445a06=_0x518b92[_0x57c229(0x1ce)][_0x57c229(0x1e7)],_0x4e8979=this[_0x57c229(0x1d9)][_0x57c229(0x1d2)][_0x57c229(0x1dc)](_0x57c229(0x1ca));for(const _0x4daa60 of _0x445a06[_0x57c229(0x1d6)]())for(const _0x24c5ed of _0x4daa60[_0x57c229(0x1eb)]())if(_0x24c5ed['is'](_0x57c229(0x1e9))&&_0x4e8979[_0x57c229(0x1e0)](_0x24c5ed[_0x57c229(0x1ee)]))return void(this[_0x57c229(0x1c6)]=!0x1);this[_0x57c229(0x1c6)]=!0x0;}[_0x19e191(0x1d1)](_0x4d5dc3='',_0x4bdd18='',_0x141830=_0x19e191(0x1d7)){const _0x135d36=_0x19e191;this[_0x135d36(0x1d9)][_0x135d36(0x1c8)][_0x135d36(0x1dc)](_0x52d2fa)[_0x135d36(0x1f2)](_0x4d5dc3,_0x4bdd18,_0x141830);}}function _0x4303(_0x2f2e15,_0x41f062){const _0x123bba=_0x123b();return _0x4303=function(_0x4303f2,_0x3a3d12){_0x4303f2=_0x4303f2-0x1c4;let _0x5f30f4=_0x123bba[_0x4303f2];return _0x5f30f4;},_0x4303(_0x2f2e15,_0x41f062);}function K(_0x16af5e,_0x4512c3){const _0x4391f5=_0x19e191,_0x44f77c=new Set();for(const _0x4bf8f2 of _0x16af5e)(_0x4512c3||!0x1===_0x4bf8f2[_0x4391f5(0x1e6)])&&_0x44f77c[_0x4391f5(0x1de)](_0x4bf8f2['id']);return Array[_0x4391f5(0x1d4)](_0x44f77c);}function _0x123b(){const _0x1b0896=['750102UzhEBY','refresh','get','69893PClaSk','add','set','includes','change:_hasContext','92637tcYqvS','2075770tCVYAl','model','getSelectedBlocks','requiresContent','selection','18844KuqlgZ','element','isEmpty','getItems','1896yylZnH','getFirstRange','name','_hasContext','898618qNLyaD','commands','showUI','enabledCommandsIds','22CQIOYK','isEnabled','length','plugins','2988Wdjcoz','ai.aiAssistant.disabledElements','125FfgqaK','change:isEnabled','isCollapsed','document','2ZWfNez','reduce','execute','config','hasContent','from','concat','getRanges','custom','_commandDefinitions','editor'];_0x123b=function(){return _0x1b0896;};return _0x123b();}
23
+ const _0x534a23=_0x12b1;function _0x12b1(_0x599837,_0x260cc0){const _0x5328ec=_0x5328();return _0x12b1=function(_0x12b1a6,_0x467107){_0x12b1a6=_0x12b1a6-0xa6;let _0x422a85=_0x5328ec[_0x12b1a6];return _0x422a85;},_0x12b1(_0x599837,_0x260cc0);}function _0x5328(){const _0x79643=['showUI','isEnabled','428923JTeeYs','28994460myBBMT','getFirstRange','4AYVctz','requiresContent','change:_hasContext','add','config','execute','ai.aiAssistant.disabledElements','8390zscVPr','name','refresh','getRanges','isCollapsed','length','get','_hasContext','element','reduce','hasContent','4760QiKESA','change:isEnabled','includes','8vQfoTj','enabledCommandsIds','set','4413878RtcsWY','_commandDefinitions','7234371NloQHZ','getItems','selection','from','concat','document','1368xmbFOG','commands','plugins','model','24838HyvULf','editor','isEmpty','getSelectedBlocks','105EhQTFe','55540QIoyao','custom'];_0x5328=function(){return _0x79643;};return _0x5328();}(function(_0x445a17,_0x36d85a){const _0x4eba87=_0x12b1,_0x414819=_0x445a17();while(!![]){try{const _0x4be3f4=parseInt(_0x4eba87(0xa6))/0x1*(-parseInt(_0x4eba87(0xa9))/0x2)+parseInt(_0x4eba87(0xd1))/0x3*(parseInt(_0x4eba87(0xd2))/0x4)+parseInt(_0x4eba87(0xb0))/0x5*(-parseInt(_0x4eba87(0xc9))/0x6)+-parseInt(_0x4eba87(0xc1))/0x7+parseInt(_0x4eba87(0xbe))/0x8*(parseInt(_0x4eba87(0xc3))/0x9)+-parseInt(_0x4eba87(0xbb))/0xa*(parseInt(_0x4eba87(0xcd))/0xb)+parseInt(_0x4eba87(0xa7))/0xc;if(_0x4be3f4===_0x36d85a)break;else _0x414819['push'](_0x414819['shift']());}catch(_0x50f227){_0x414819['push'](_0x414819['shift']());}}}(_0x5328,0xb998f));import{Command as _0x275e02}from'ckeditor5/src/core.js';import _0x2ddf87 from'../aiassistantui.js';export default class j extends _0x275e02{constructor(_0x14eb0d,_0x572313){const _0x58cd68=_0x12b1;super(_0x14eb0d),this[_0x58cd68(0xc2)]=_0x572313?_0x572313[_0x58cd68(0xb9)]((_0x50188f,_0x421705)=>_0x50188f[_0x58cd68(0xc7)](_0x421705[_0x58cd68(0xca)]),new Array()):[],this[_0x58cd68(0xc0)](_0x58cd68(0xbf),[]),this['on'](_0x58cd68(0xab),(_0x46e934,_0x3e808f,_0xad365b)=>{const _0xfe1e8e=_0x58cd68;this[_0xfe1e8e(0xd5)]&&(this[_0xfe1e8e(0xbf)]=K(this[_0xfe1e8e(0xc2)],_0xad365b));}),this[_0x58cd68(0xc0)](_0x58cd68(0xb7),!0x1),this['on'](_0x58cd68(0xbc),(_0x357f63,_0x25b932,_0x264948)=>{const _0x1ba259=_0x58cd68;this[_0x1ba259(0xbf)]=_0x264948?K(this[_0x1ba259(0xc2)],this[_0x1ba259(0xb7)]):[];});}[_0x534a23(0xb2)](){const _0x351e3f=_0x534a23,_0x4b2acd=this[_0x351e3f(0xce)][_0x351e3f(0xcc)];this[_0x351e3f(0xb7)]=function(_0x1ba134){const _0x1a04a5=_0x351e3f,_0x30da9f=_0x1ba134[_0x1a04a5(0xc8)][_0x1a04a5(0xc5)];return _0x30da9f[_0x1a04a5(0xb4)]?0x0!==[..._0x30da9f[_0x1a04a5(0xd0)]()][_0x1a04a5(0xb5)]&&![..._0x30da9f[_0x1a04a5(0xd0)]()][0x0][_0x1a04a5(0xcf)]:!!_0x1ba134[_0x1a04a5(0xba)](_0x30da9f[_0x1a04a5(0xa8)]());}(_0x4b2acd);const _0xa10d6a=_0x4b2acd[_0x351e3f(0xc8)][_0x351e3f(0xc5)],_0x1fd35=this[_0x351e3f(0xce)][_0x351e3f(0xad)][_0x351e3f(0xb6)](_0x351e3f(0xaf));for(const _0x5b7694 of _0xa10d6a[_0x351e3f(0xb3)]())for(const _0xb36f34 of _0x5b7694[_0x351e3f(0xc4)]())if(_0xb36f34['is'](_0x351e3f(0xb8))&&_0x1fd35[_0x351e3f(0xbd)](_0xb36f34[_0x351e3f(0xb1)]))return void(this[_0x351e3f(0xd5)]=!0x1);this[_0x351e3f(0xd5)]=!0x0;}[_0x534a23(0xae)](_0x5a20df='',_0x1691df='',_0x28d106=_0x534a23(0xd3)){const _0x3fdc10=_0x534a23;this[_0x3fdc10(0xce)][_0x3fdc10(0xcb)][_0x3fdc10(0xb6)](_0x2ddf87)[_0x3fdc10(0xd4)](_0x5a20df,_0x1691df,_0x28d106);}}function K(_0x2d6801,_0x1f39c8){const _0x491e85=_0x534a23,_0x331304=new Set();for(const _0xc87991 of _0x2d6801)(_0x1f39c8||!0x1===_0xc87991[_0x491e85(0xaa)])&&_0x331304[_0x491e85(0xac)](_0xc87991['id']);return Array[_0x491e85(0xc6)](_0x331304);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x55a816,_0x3c6efa,_0x1886ea){const t=_0x55a816['t'];switch(_0x3c6efa){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x1886ea);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',_0x1886ea);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1886ea);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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x1886ea);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 _0x3c6efa;}}
23
+ export function getTranslation(_0x581c20,_0x1e6619,_0x3bf2a1){const t=_0x581c20['t'];switch(_0x1e6619){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'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x3bf2a1);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',_0x3bf2a1);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3bf2a1);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'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');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'},_0x3bf2a1);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 _0x1e6619;}}