@ckeditor/ckeditor5-ai 43.0.0-alpha.0 → 43.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/build/ai.js +1 -76
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/ug.js +1 -1
  97. package/dist/translations/ug.umd.js +1 -1
  98. package/dist/translations/uk.js +1 -1
  99. package/dist/translations/uk.umd.js +1 -1
  100. package/dist/translations/ur.js +1 -1
  101. package/dist/translations/ur.umd.js +1 -1
  102. package/dist/translations/uz.js +1 -1
  103. package/dist/translations/uz.umd.js +1 -1
  104. package/dist/translations/vi.js +1 -1
  105. package/dist/translations/vi.umd.js +1 -1
  106. package/dist/translations/zh-cn.js +1 -1
  107. package/dist/translations/zh-cn.umd.js +1 -1
  108. package/dist/translations/zh.js +1 -1
  109. package/dist/translations/zh.umd.js +1 -1
  110. package/package.json +9 -9
  111. package/src/adapters/aiadapter.js +1 -1
  112. package/src/adapters/aitextadapter.js +1 -1
  113. package/src/adapters/awstextadapter.js +1 -1
  114. package/src/adapters/openaitextadapter.js +1 -1
  115. package/src/aiassistant.js +1 -1
  116. package/src/aiassistantediting.js +1 -1
  117. package/src/aiassistantui.js +1 -1
  118. package/src/index.js +1 -1
  119. package/src/ui/aiassistantcontroller.js +2 -2
  120. package/src/ui/dropdown/aicommandslistview.js +1 -1
  121. package/src/ui/form/aiformcontentarea.js +1 -1
  122. package/src/ui/form/aiformerrorview.js +1 -1
  123. package/src/ui/form/aiformpromptview.js +1 -1
  124. package/src/ui/form/aiformtoolbarview.js +1 -1
  125. package/src/ui/form/aiformview.js +1 -1
  126. package/src/ui/form/aihistorylistitemview.js +1 -1
  127. package/src/ui/form/aihistorylistview.js +1 -1
  128. package/src/ui/form/prompthistory.js +1 -1
  129. package/src/ui/showaiassistantcommand.js +1 -1
  130. package/src/utils/common-translations.js +1 -1
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xb349a4,_0x30e114){var _0x2583a3=_0x3296,_0x3ed534=_0xb349a4();while(!![]){try{var _0x497ae0=-parseInt(_0x2583a3(0x13b))/0x1*(parseInt(_0x2583a3(0x138))/0x2)+-parseInt(_0x2583a3(0x13a))/0x3+-parseInt(_0x2583a3(0x135))/0x4+parseInt(_0x2583a3(0x137))/0x5+parseInt(_0x2583a3(0x139))/0x6*(-parseInt(_0x2583a3(0x13d))/0x7)+parseInt(_0x2583a3(0x134))/0x8+parseInt(_0x2583a3(0x136))/0x9*(parseInt(_0x2583a3(0x13c))/0xa);if(_0x497ae0===_0x30e114)break;else _0x3ed534['push'](_0x3ed534['shift']());}catch(_0x5ab977){_0x3ed534['push'](_0x3ed534['shift']());}}}(_0xdf47,0xdcf21));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';function _0x3296(_0x4e0f4c,_0x7cd3c1){var _0xdf474c=_0xdf47();return _0x3296=function(_0x329677,_0x5da5cd){_0x329677=_0x329677-0x134;var _0x4d48b5=_0xdf474c[_0x329677];return _0x4d48b5;},_0x3296(_0x4e0f4c,_0x7cd3c1);}function _0xdf47(){var _0x3fcb31=['3204960gpwnVn','4oYySDI','800UMhlDS','7cAEvEZ','1568952rWzTYc','4826792RwDpNd','269505wsPzBa','8973605fGbJyz','59334CcDnRf','6526566oJfkEt'];_0xdf47=function(){return _0x3fcb31;};return _0xdf47();}
23
+ function _0xe62b(_0x78db02,_0x3bf9be){var _0x1f3b41=_0x1f3b();return _0xe62b=function(_0xe62b1,_0x199bef){_0xe62b1=_0xe62b1-0x129;var _0x54a966=_0x1f3b41[_0xe62b1];return _0x54a966;},_0xe62b(_0x78db02,_0x3bf9be);}(function(_0x39624b,_0x56e77e){var _0x135227=_0xe62b,_0x384e18=_0x39624b();while(!![]){try{var _0x4590a1=parseInt(_0x135227(0x130))/0x1+parseInt(_0x135227(0x12c))/0x2+-parseInt(_0x135227(0x12a))/0x3*(-parseInt(_0x135227(0x12b))/0x4)+-parseInt(_0x135227(0x129))/0x5+-parseInt(_0x135227(0x12d))/0x6+parseInt(_0x135227(0x12e))/0x7+-parseInt(_0x135227(0x12f))/0x8;if(_0x4590a1===_0x56e77e)break;else _0x384e18['push'](_0x384e18['shift']());}catch(_0x280945){_0x384e18['push'](_0x384e18['shift']());}}}(_0x1f3b,0x23ef2));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x1f3b(){var _0x7043c7=['27571lhSKjm','1063795QUbLWk','24pDrnAU','64596UVzqaK','441320aXsCcB','934734QsbLOU','1051715HOtKnE','95472ZzZMPM'];_0x1f3b=function(){return _0x7043c7;};return _0x1f3b();}export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4951(_0xa45e84,_0x679432){const _0x4a1307=_0x4a13();return _0x4951=function(_0x49518d,_0xf2d8b7){_0x49518d=_0x49518d-0x9f;let _0x47da63=_0x4a1307[_0x49518d];return _0x47da63;},_0x4951(_0xa45e84,_0x679432);}const _0x36f2e0=_0x4951;(function(_0x3f3139,_0x5e5cc5){const _0x34ae3e=_0x4951,_0x460141=_0x3f3139();while(!![]){try{const _0x40dd91=parseInt(_0x34ae3e(0xca))/0x1+parseInt(_0x34ae3e(0xd4))/0x2*(parseInt(_0x34ae3e(0xf1))/0x3)+-parseInt(_0x34ae3e(0xdf))/0x4*(-parseInt(_0x34ae3e(0xef))/0x5)+parseInt(_0x34ae3e(0xd9))/0x6*(-parseInt(_0x34ae3e(0xa1))/0x7)+parseInt(_0x34ae3e(0xce))/0x8+-parseInt(_0x34ae3e(0xee))/0x9*(parseInt(_0x34ae3e(0xa5))/0xa)+-parseInt(_0x34ae3e(0xba))/0xb*(-parseInt(_0x34ae3e(0xc6))/0xc);if(_0x40dd91===_0x5e5cc5)break;else _0x460141['push'](_0x460141['shift']());}catch(_0x13afe7){_0x460141['push'](_0x460141['shift']());}}}(_0x4a13,0x2eb2a));function _0x4a13(){const _0x3da3ca=['_sanitizationContainer','finishProcessing','div','372608AnwbxE','length','match','```html','stopProcessing','isRendered','285502MXOiGd','_xmlSerializer','abort','handleError','finally','852KyfADb','from','isProcessing','_domParser','nodeType','toView','639276qcPIoM','stopListening','catch','set','value','custom','exec','text/html','_parseAndNormalizeContent','submitPrompt','```','render','data','childNodes','name','5409TZSDOx','5IDuejx','setContentOf','3pdmqkr','prompt','processor','startsWith','_sanitizeHTML','_stripMarkdownSyntax','currentResponse','toModel','once','previousLabel','startProcessing','editor','then','body','currentContext','viewToDom','_handleQuery','10031bthHHg','domConverter','serializeToString','trim','5380gnFwIQ','_isH1TagSupportEnabled','set:currentContext','rename','substring','previousContext','querySelector','listenTo','<h1></h1>','mainAction','_normalizeResponseHeadings','element','tryAgainEvent','innerHTML','destroy','editing','endsWith','stringify','updateView','initialContext','message','17215RNyERz','parseFromString','push','createElement','makeRequest','remove','htmlProcessor','reset','previousActionId','textAdapter','view','reverse','1896zhUuoS','document','previousQuery','ELEMENT_NODE','121682gcIUmk'];_0x4a13=function(){return _0x3da3ca;};return _0x4a13();}import{ObservableMixin as _0x34c761}from'ckeditor5/src/utils.js';import{AIRequestError as _0x311764}from'../adapters/aiadapter.js';import{Matcher as _0x3bd13d,UpcastWriter as _0x23de75}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class U extends/* #__PURE__ -- @preserve */
24
- _0x34c761(){constructor(_0x1c9889,_0x1ffd1d,_0x350f75){const _0x19fdfd=_0x4951;super(),this[_0x19fdfd(0xfc)]=_0x1c9889,this[_0x19fdfd(0xc3)]=_0x1ffd1d,this[_0x19fdfd(0xcb)]=document[_0x19fdfd(0xbd)](_0x19fdfd(0xcd)),this[_0x19fdfd(0xdc)]=new DOMParser(),this[_0x19fdfd(0xd5)]=new XMLSerializer(),this[_0x19fdfd(0xc4)]=_0x350f75,this[_0x19fdfd(0xe2)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x19fdfd(0xa7),(_0x4b6927,_0x6c74d0,_0x1f7224)=>{const _0x169662=_0x19fdfd;this[_0x169662(0xc4)][_0x169662(0xe3)]=this[_0x169662(0xf5)](_0x1f7224);}),this[_0x19fdfd(0xac)](this[_0x19fdfd(0xc4)],_0x19fdfd(0xe8),(_0x4145fe,_0x1ac84a)=>{const _0x5284e8=_0x19fdfd,_0x210e75=this[_0x5284e8(0xff)]||this[_0x5284e8(0xb8)];this[_0x5284e8(0xa0)](_0x1ac84a,_0x210e75,_0x5284e8(0xe4));}),this[_0x19fdfd(0xac)](this[_0x19fdfd(0xc4)],_0x19fdfd(0xb1),()=>{const _0x32efa8=_0x19fdfd;this[_0x32efa8(0xc4)][_0x32efa8(0xf2)]=this[_0x32efa8(0xfa)],this[_0x32efa8(0xa0)](this[_0x32efa8(0xc8)],this[_0x32efa8(0xaa)],this[_0x32efa8(0xc2)],this[_0x32efa8(0xfa)]);}),this[_0x19fdfd(0xac)](this[_0x19fdfd(0xc4)],_0x19fdfd(0xd2),()=>{const _0x198364=_0x19fdfd;this[_0x198364(0xd2)]();});}[_0x36f2e0(0xb3)](){const _0x791540=_0x36f2e0;this[_0x791540(0xe0)]();}async[_0x36f2e0(0xb7)]({actionId:_0x37e694,query:_0xe61b3,htmlContent:_0x5a568a,label:_0x5164ed,mainActionLabel:_0x208b5a}){const _0x53dcc3=_0x36f2e0;this[_0x53dcc3(0xc4)][_0x53dcc3(0xf2)]=_0x5164ed,this[_0x53dcc3(0xc4)][_0x53dcc3(0xae)]=_0x208b5a,this[_0x53dcc3(0xb8)]=_0x5a568a,_0xe61b3&&(this[_0x53dcc3(0xc4)][_0x53dcc3(0xd3)]?this[_0x53dcc3(0xa0)](_0xe61b3,_0x5a568a,_0x37e694,_0x5164ed):this[_0x53dcc3(0xc4)][_0x53dcc3(0xf9)](_0x53dcc3(0xea),()=>{const _0x48c343=_0x53dcc3;this[_0x48c343(0xa0)](_0xe61b3,_0x5a568a,_0x37e694,_0x5164ed);}));}[_0x36f2e0(0xd2)](){const _0x483f8d=_0x36f2e0;this[_0x483f8d(0xdb)]&&(this[_0x483f8d(0xdb)]=!0x1,this[_0x483f8d(0xc4)][_0x483f8d(0xcc)](),this[_0x483f8d(0xc3)][_0x483f8d(0xd6)]());}[_0x36f2e0(0xc1)](){const _0x2c1121=_0x36f2e0;this[_0x2c1121(0xb8)]='',this[_0x2c1121(0xff)]='',this[_0x2c1121(0xf7)]='',this[_0x2c1121(0xaa)]='',this[_0x2c1121(0xc8)]='',this[_0x2c1121(0xfa)]='',this[_0x2c1121(0xc2)]=void 0x0,this[_0x2c1121(0xc4)][_0x2c1121(0xc1)](),this[_0x2c1121(0xd2)]();}async[_0x36f2e0(0xa0)](_0x182dd6,_0x1d15e1,_0x493d74,_0x14ffd3){const _0x2efdcc=_0x36f2e0;return this[_0x2efdcc(0xdb)]=!0x0,this[_0x2efdcc(0xc4)][_0x2efdcc(0xfb)](),this[_0x2efdcc(0xaa)]=_0x1d15e1,this[_0x2efdcc(0xc8)]=_0x182dd6,this[_0x2efdcc(0xfa)]=_0x14ffd3||_0x182dd6,this[_0x2efdcc(0xc2)]=_0x493d74,new Promise(_0x155474=>{const _0x199281=_0x2efdcc;this[_0x199281(0xc3)][_0x199281(0xbe)]({'query':_0x182dd6,'context':_0x1d15e1,'onData':_0x294c6c=>{const _0x17956d=_0x199281;this[_0x17956d(0xf7)]=_0x294c6c,this[_0x17956d(0xff)]=this[_0x17956d(0xe7)](this[_0x17956d(0xf7)]);},'actionId':_0x493d74})[_0x199281(0xfd)](()=>{const _0x1bb5a8=_0x199281;!this[_0x1bb5a8(0xff)]&&this[_0x1bb5a8(0xf7)]&&(this[_0x1bb5a8(0xff)]=this[_0x1bb5a8(0xe7)](this[_0x1bb5a8(0xf7)],!0x0));})[_0x199281(0xe1)](_0x21082d=>{const _0x571a57=_0x199281;_0x21082d instanceof _0x311764?this[_0x571a57(0xc4)][_0x571a57(0xd7)](_0x21082d[_0x571a57(0xb9)]):this[_0x571a57(0xc4)][_0x571a57(0xd7)](),_0x155474();})[_0x199281(0xd8)](()=>{const _0x1bde9c=_0x199281;this[_0x1bde9c(0xd2)](),_0x155474();});});}[_0x36f2e0(0xe7)](_0x2ede86,_0x1a17c3=!0x1){const _0x595973=_0x36f2e0,_0x721702=X[_0x595973(0xe5)](_0x2ede86);_0x2ede86=_0x721702?_0x2ede86[_0x595973(0xa9)](_0x721702[0x1][_0x595973(0xcf)]):_0x2ede86[_0x595973(0xcf)]<0x64&&!_0x1a17c3?'':this[_0x595973(0xf6)](_0x2ede86);const _0x47111f=this[_0x595973(0xdc)][_0x595973(0xbb)](_0x2ede86,_0x595973(0xe6));if(_0x721702){const _0x518372=Array[_0x595973(0xda)](_0x47111f[_0x595973(0xfe)][_0x595973(0xec)]);_0x518372[_0x595973(0xc5)]();for(const _0xd37ec0 of _0x518372){if(_0xd37ec0[_0x595973(0xdd)]==Node[_0x595973(0xc9)])break;_0xd37ec0[_0x595973(0xbf)]();}}const _0x135ddf=this[_0x595973(0xfc)][_0x595973(0xeb)][_0x595973(0xf3)][_0x595973(0xde)](this[_0x595973(0xd5)][_0x595973(0xa3)](_0x47111f[_0x595973(0xfe)]));return this[_0x595973(0xa6)]()||this[_0x595973(0xaf)](_0x135ddf),this[_0x595973(0xfc)][_0x595973(0xeb)][_0x595973(0xb6)](this[_0x595973(0xfc)][_0x595973(0xeb)][_0x595973(0xf8)](_0x135ddf));}[_0x36f2e0(0xaf)](_0x435b4c){const _0x3dcf84=_0x36f2e0,_0x4433c0=new _0x23de75(this[_0x3dcf84(0xfc)][_0x3dcf84(0xb4)][_0x3dcf84(0xc4)][_0x3dcf84(0xc7)]),_0x11138f=new _0x3bd13d({'name':/^h[1-5]$/}),_0x45add3=[];let _0x34b5d1=!0x1;for(const _0x540a7e of _0x435b4c)_0x540a7e['is'](_0x3dcf84(0xb0))&&_0x11138f[_0x3dcf84(0xd0)](_0x540a7e)&&(_0x45add3[_0x3dcf84(0xbc)](_0x540a7e),'h1'==_0x540a7e[_0x3dcf84(0xed)]&&(_0x34b5d1=!0x0));if(_0x34b5d1){for(const _0x4210b7 of _0x45add3)_0x4433c0[_0x3dcf84(0xa8)]('h'+(parseInt(_0x4210b7[_0x3dcf84(0xed)][0x1])+0x1),_0x4210b7);}}[_0x36f2e0(0xa6)](){const _0x286058=_0x36f2e0,{data:_0x5ee05d,editing:_0x2fcb83}=this[_0x286058(0xfc)],_0x139514=_0x5ee05d[_0x286058(0xc0)][_0x286058(0xde)](_0x286058(0xad)),_0x41b031=_0x5ee05d[_0x286058(0xde)](_0x5ee05d[_0x286058(0xf8)](_0x139514));return!!_0x2fcb83[_0x286058(0xc4)][_0x286058(0xa2)][_0x286058(0x9f)](_0x41b031)[_0x286058(0xab)]('h1');}[_0x36f2e0(0xf5)](_0x27d431){const _0x1fb4fc=_0x36f2e0;return this[_0x1fb4fc(0xfc)][_0x1fb4fc(0xb4)][_0x1fb4fc(0xc4)][_0x1fb4fc(0xa2)][_0x1fb4fc(0xf0)](this[_0x1fb4fc(0xcb)],_0x27d431),this[_0x1fb4fc(0xcb)][_0x1fb4fc(0xb2)];}[_0x36f2e0(0xf6)](_0x2c9e33){const _0x149216=_0x36f2e0,_0x17c798=_0x2c9e33[_0x149216(0xa4)]();return _0x17c798[_0x149216(0xf4)](_0x149216(0xd1))?_0x17c798[_0x149216(0xb5)](_0x149216(0xe9))?_0x17c798[_0x149216(0xa9)](0x7,_0x17c798[_0x149216(0xcf)]-0x3):_0x17c798[_0x149216(0xa9)](0x7):_0x2c9e33;}}
23
+ const _0x535422=_0x3ff2;(function(_0x3d15d5,_0x11b274){const _0x274d84=_0x3ff2,_0x44498e=_0x3d15d5();while(!![]){try{const _0x281bb8=parseInt(_0x274d84(0x98))/0x1*(parseInt(_0x274d84(0x91))/0x2)+parseInt(_0x274d84(0xb8))/0x3*(parseInt(_0x274d84(0xc0))/0x4)+-parseInt(_0x274d84(0xc9))/0x5+parseInt(_0x274d84(0xaa))/0x6+parseInt(_0x274d84(0x95))/0x7+parseInt(_0x274d84(0xb4))/0x8*(-parseInt(_0x274d84(0xba))/0x9)+parseInt(_0x274d84(0xa3))/0xa;if(_0x281bb8===_0x11b274)break;else _0x44498e['push'](_0x44498e['shift']());}catch(_0x577424){_0x44498e['push'](_0x44498e['shift']());}}}(_0x6d01,0x21dc6));import{ObservableMixin as _0x19606e}from'ckeditor5/src/utils.js';function _0x3ff2(_0x561997,_0x5c0b74){const _0x6d01df=_0x6d01();return _0x3ff2=function(_0x3ff2f8,_0x2cf925){_0x3ff2f8=_0x3ff2f8-0x72;let _0x38dfdd=_0x6d01df[_0x3ff2f8];return _0x38dfdd;},_0x3ff2(_0x561997,_0x5c0b74);}import{AIRequestError as _0x4ffffb}from'../adapters/aiadapter.js';import{Matcher as _0x34e880,UpcastWriter as _0x307a45}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x6d01(){const _0x15af51=['853370waydjP','textAdapter','reverse','_isH1TagSupportEnabled','createElement','<h1></h1>','currentResponse','331068sImhHR','isProcessing','set:currentContext','catch','element','listenTo','document','innerHTML','childNodes','_stripMarkdownSyntax','8VBkvqB','_handleQuery','rename','endsWith','106317ovUmEn','previousQuery','1791252lfGxqJ','view','stopProcessing','setContentOf','currentContext','finishProcessing','8OBOVCX','editor','_xmlSerializer','reset','_parseAndNormalizeContent','processor','_sanitizeHTML','remove','updateView','236915WJbUGm','finally','toModel','startsWith','render','submitPrompt','```','abort','value','text/html','ELEMENT_NODE','_normalizeResponseHeadings','mainAction','previousContext','handleError','prompt','serializeToString','name','domConverter','stringify','once','tryAgainEvent','nodeType','message','toView','match','body','div','set','custom','startProcessing','_sanitizationContainer','_domParser','push','previousLabel','length','trim','htmlProcessor','viewToDom','2XLfLCH','substring','destroy','data','882161cHudkt','parseFromString','makeRequest','47689gosguA','previousActionId','```html','from','then','isRendered','stopListening','initialContext','editing','exec','querySelector'];_0x6d01=function(){return _0x15af51;};return _0x6d01();}export default class U extends/* #__PURE__ -- @preserve */
24
+ _0x19606e(){constructor(_0xea37fc,_0x457f49,_0x4329ea){const _0x1504ff=_0x3ff2;super(),this[_0x1504ff(0xc1)]=_0xea37fc,this[_0x1504ff(0xa4)]=_0x457f49,this[_0x1504ff(0x89)]=document[_0x1504ff(0xa7)](_0x1504ff(0x85)),this[_0x1504ff(0x8a)]=new DOMParser(),this[_0x1504ff(0xc2)]=new XMLSerializer(),this[_0x1504ff(0xbb)]=_0x4329ea,this[_0x1504ff(0x86)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1504ff(0xac),(_0x14bc47,_0x283b68,_0x236ecc)=>{const _0x5c2a7b=_0x1504ff;this[_0x5c2a7b(0xbb)][_0x5c2a7b(0x72)]=this[_0x5c2a7b(0xc6)](_0x236ecc);}),this[_0x1504ff(0xaf)](this[_0x1504ff(0xbb)],_0x1504ff(0xce),(_0xe095a5,_0x4d7ce0)=>{const _0xafac6f=_0x1504ff,_0x211431=this[_0xafac6f(0xbe)]||this[_0xafac6f(0x9f)];this[_0xafac6f(0xb5)](_0x4d7ce0,_0x211431,_0xafac6f(0x87));}),this[_0x1504ff(0xaf)](this[_0x1504ff(0xbb)],_0x1504ff(0x7f),()=>{const _0x96923b=_0x1504ff;this[_0x96923b(0xbb)][_0x96923b(0x79)]=this[_0x96923b(0x8c)],this[_0x96923b(0xb5)](this[_0x96923b(0xb9)],this[_0x96923b(0x77)],this[_0x96923b(0x99)],this[_0x96923b(0x8c)]);}),this[_0x1504ff(0xaf)](this[_0x1504ff(0xbb)],_0x1504ff(0xbc),()=>{const _0x251d79=_0x1504ff;this[_0x251d79(0xbc)]();});}[_0x535422(0x93)](){const _0x292c70=_0x535422;this[_0x292c70(0x9e)]();}async[_0x535422(0xc8)]({actionId:_0x30e881,query:_0x9e410f,htmlContent:_0x51f1c5,label:_0x508ca3,mainActionLabel:_0x2b3d48}){const _0x18fb51=_0x535422;this[_0x18fb51(0xbb)][_0x18fb51(0x79)]=_0x508ca3,this[_0x18fb51(0xbb)][_0x18fb51(0x76)]=_0x2b3d48,this[_0x18fb51(0x9f)]=_0x51f1c5,_0x9e410f&&(this[_0x18fb51(0xbb)][_0x18fb51(0x9d)]?this[_0x18fb51(0xb5)](_0x9e410f,_0x51f1c5,_0x30e881,_0x508ca3):this[_0x18fb51(0xbb)][_0x18fb51(0x7e)](_0x18fb51(0xcd),()=>{const _0x15088b=_0x18fb51;this[_0x15088b(0xb5)](_0x9e410f,_0x51f1c5,_0x30e881,_0x508ca3);}));}[_0x535422(0xbc)](){const _0x342e96=_0x535422;this[_0x342e96(0xab)]&&(this[_0x342e96(0xab)]=!0x1,this[_0x342e96(0xbb)][_0x342e96(0xbf)](),this[_0x342e96(0xa4)][_0x342e96(0xd0)]());}[_0x535422(0xc3)](){const _0x577794=_0x535422;this[_0x577794(0x9f)]='',this[_0x577794(0xbe)]='',this[_0x577794(0xa9)]='',this[_0x577794(0x77)]='',this[_0x577794(0xb9)]='',this[_0x577794(0x8c)]='',this[_0x577794(0x99)]=void 0x0,this[_0x577794(0xbb)][_0x577794(0xc3)](),this[_0x577794(0xbc)]();}async[_0x535422(0xb5)](_0x1b01e1,_0x3a2049,_0x309fd3,_0x5c1491){const _0x352e57=_0x535422;return this[_0x352e57(0xab)]=!0x0,this[_0x352e57(0xbb)][_0x352e57(0x88)](),this[_0x352e57(0x77)]=_0x3a2049,this[_0x352e57(0xb9)]=_0x1b01e1,this[_0x352e57(0x8c)]=_0x5c1491||_0x1b01e1,this[_0x352e57(0x99)]=_0x309fd3,new Promise(_0x126f10=>{const _0x49a27e=_0x352e57;this[_0x49a27e(0xa4)][_0x49a27e(0x97)]({'query':_0x1b01e1,'context':_0x3a2049,'onData':_0x224d9f=>{const _0x17a23f=_0x49a27e;this[_0x17a23f(0xa9)]=_0x224d9f,this[_0x17a23f(0xbe)]=this[_0x17a23f(0xc4)](this[_0x17a23f(0xa9)]);},'actionId':_0x309fd3})[_0x49a27e(0x9c)](()=>{const _0x16309f=_0x49a27e;!this[_0x16309f(0xbe)]&&this[_0x16309f(0xa9)]&&(this[_0x16309f(0xbe)]=this[_0x16309f(0xc4)](this[_0x16309f(0xa9)],!0x0));})[_0x49a27e(0xad)](_0x451d0c=>{const _0x49e4f8=_0x49a27e;_0x451d0c instanceof _0x4ffffb?this[_0x49e4f8(0xbb)][_0x49e4f8(0x78)](_0x451d0c[_0x49e4f8(0x81)]):this[_0x49e4f8(0xbb)][_0x49e4f8(0x78)](),_0x126f10();})[_0x49a27e(0xca)](()=>{const _0x4f2457=_0x49a27e;this[_0x4f2457(0xbc)](),_0x126f10();});});}[_0x535422(0xc4)](_0x384b6c,_0xa80c5a=!0x1){const _0x24caa0=_0x535422,_0x59215c=X[_0x24caa0(0xa1)](_0x384b6c);_0x384b6c=_0x59215c?_0x384b6c[_0x24caa0(0x92)](_0x59215c[0x1][_0x24caa0(0x8d)]):_0x384b6c[_0x24caa0(0x8d)]<0x64&&!_0xa80c5a?'':this[_0x24caa0(0xb3)](_0x384b6c);const _0xf32096=this[_0x24caa0(0x8a)][_0x24caa0(0x96)](_0x384b6c,_0x24caa0(0x73));if(_0x59215c){const _0x1faa68=Array[_0x24caa0(0x9b)](_0xf32096[_0x24caa0(0x84)][_0x24caa0(0xb2)]);_0x1faa68[_0x24caa0(0xa5)]();for(const _0x194a16 of _0x1faa68){if(_0x194a16[_0x24caa0(0x80)]==Node[_0x24caa0(0x74)])break;_0x194a16[_0x24caa0(0xc7)]();}}const _0x176a1a=this[_0x24caa0(0xc1)][_0x24caa0(0x94)][_0x24caa0(0xc5)][_0x24caa0(0x82)](this[_0x24caa0(0xc2)][_0x24caa0(0x7a)](_0xf32096[_0x24caa0(0x84)]));return this[_0x24caa0(0xa6)]()||this[_0x24caa0(0x75)](_0x176a1a),this[_0x24caa0(0xc1)][_0x24caa0(0x94)][_0x24caa0(0x7d)](this[_0x24caa0(0xc1)][_0x24caa0(0x94)][_0x24caa0(0xcb)](_0x176a1a));}[_0x535422(0x75)](_0x35a369){const _0x42496c=_0x535422,_0x35f51e=new _0x307a45(this[_0x42496c(0xc1)][_0x42496c(0xa0)][_0x42496c(0xbb)][_0x42496c(0xb0)]),_0x530f12=new _0x34e880({'name':/^h[1-5]$/}),_0x7a2ff7=[];let _0x159398=!0x1;for(const _0x5b25f9 of _0x35a369)_0x5b25f9['is'](_0x42496c(0xae))&&_0x530f12[_0x42496c(0x83)](_0x5b25f9)&&(_0x7a2ff7[_0x42496c(0x8b)](_0x5b25f9),'h1'==_0x5b25f9[_0x42496c(0x7b)]&&(_0x159398=!0x0));if(_0x159398){for(const _0x943d82 of _0x7a2ff7)_0x35f51e[_0x42496c(0xb6)]('h'+(parseInt(_0x943d82[_0x42496c(0x7b)][0x1])+0x1),_0x943d82);}}[_0x535422(0xa6)](){const _0x106859=_0x535422,{data:_0x23f22f,editing:_0x16d52c}=this[_0x106859(0xc1)],_0x3f41b2=_0x23f22f[_0x106859(0x8f)][_0x106859(0x82)](_0x106859(0xa8)),_0x4a1f66=_0x23f22f[_0x106859(0x82)](_0x23f22f[_0x106859(0xcb)](_0x3f41b2));return!!_0x16d52c[_0x106859(0xbb)][_0x106859(0x7c)][_0x106859(0x90)](_0x4a1f66)[_0x106859(0xa2)]('h1');}[_0x535422(0xc6)](_0xed9871){const _0x1f1744=_0x535422;return this[_0x1f1744(0xc1)][_0x1f1744(0xa0)][_0x1f1744(0xbb)][_0x1f1744(0x7c)][_0x1f1744(0xbd)](this[_0x1f1744(0x89)],_0xed9871),this[_0x1f1744(0x89)][_0x1f1744(0xb1)];}[_0x535422(0xb3)](_0x218aa5){const _0x548f77=_0x535422,_0x40d606=_0x218aa5[_0x548f77(0x8e)]();return _0x40d606[_0x548f77(0xcc)](_0x548f77(0x9a))?_0x40d606[_0x548f77(0xb7)](_0x548f77(0xcf))?_0x40d606[_0x548f77(0x92)](0x7,_0x40d606[_0x548f77(0x8d)]-0x3):_0x40d606[_0x548f77(0x92)](0x7):_0x218aa5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x178862=_0x4a2b;function _0x4a2b(_0x135282,_0x1ab129){const _0x309292=_0x3092();return _0x4a2b=function(_0x4a2b92,_0x265aa6){_0x4a2b92=_0x4a2b92-0x92;let _0x2dc3f4=_0x309292[_0x4a2b92];return _0x2dc3f4;},_0x4a2b(_0x135282,_0x1ab129);}(function(_0x55c6d9,_0x19bab7){const _0x4f03de=_0x4a2b,_0x44612a=_0x55c6d9();while(!![]){try{const _0x53ddd8=-parseInt(_0x4f03de(0x9b))/0x1*(-parseInt(_0x4f03de(0x99))/0x2)+-parseInt(_0x4f03de(0xa2))/0x3+-parseInt(_0x4f03de(0xa6))/0x4+parseInt(_0x4f03de(0x98))/0x5*(-parseInt(_0x4f03de(0x9a))/0x6)+-parseInt(_0x4f03de(0xa5))/0x7+parseInt(_0x4f03de(0x9e))/0x8+parseInt(_0x4f03de(0xa3))/0x9;if(_0x53ddd8===_0x19bab7)break;else _0x44612a['push'](_0x44612a['shift']());}catch(_0x120ded){_0x44612a['push'](_0x44612a['shift']());}}}(_0x3092,0x6d532));import{ListView as _0x2789a6,ListItemGroupView as _0xc34124,filterGroupAndItemNames as _0x1842f6}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x6b6a2e}from'../../aiassistantui.js';export default class S extends _0x2789a6{constructor(_0x40e02a){const _0x187a62=_0x4a2b;super(_0x40e02a),this[_0x187a62(0x9f)]=_0x187a62(0x9c),this[_0x187a62(0x97)](_0x187a62(0x95),[]),this['on'](_0x187a62(0x92),()=>{const _0x239450=_0x187a62;for(const _0x5a324d of this[_0x239450(0xa1)])if(_0x5a324d instanceof _0xc34124){for(const _0x490d8b of _0x5a324d[_0x239450(0xa1)])if(_0x490d8b instanceof _0x6b6a2e){const _0x3e4742=_0x490d8b[_0x239450(0xa0)][_0x239450(0x9d)](0x0);this[_0x239450(0x95)][_0x239450(0x96)](_0x490d8b[_0x239450(0xa4)]['id'])?_0x3e4742[_0x239450(0x93)]=!0x0:_0x3e4742[_0x239450(0x93)]=!0x1;}}});}[_0x178862(0x94)](_0x18ff66){const _0xc5ed4c=_0x178862;return _0x1842f6(_0x18ff66,this[_0xc5ed4c(0xa1)]);}}function _0x3092(){const _0x41d5f4=['items','2163345BlZZAu','10173582dEyeUO','commandDefinition','1375948YyEOmn','1592924atKuqv','change:enabledCommandsIds','isEnabled','filter','enabledCommandsIds','includes','set','7620EVotzf','12934mDdFwM','360INJPPk','61FftpIO','listbox','get','2642072XPKnMT','role','children'];_0x3092=function(){return _0x41d5f4;};return _0x3092();}
23
+ const _0x3de254=_0xfaee;function _0xfaee(_0x5029e8,_0x7c1180){const _0x4218f4=_0x4218();return _0xfaee=function(_0xfaee82,_0xb2fd26){_0xfaee82=_0xfaee82-0x1b2;let _0x1824ba=_0x4218f4[_0xfaee82];return _0x1824ba;},_0xfaee(_0x5029e8,_0x7c1180);}(function(_0x2a3265,_0x3e72e2){const _0x5455e4=_0xfaee,_0x17fff5=_0x2a3265();while(!![]){try{const _0x1622ef=parseInt(_0x5455e4(0x1b9))/0x1+-parseInt(_0x5455e4(0x1c0))/0x2*(parseInt(_0x5455e4(0x1be))/0x3)+parseInt(_0x5455e4(0x1b5))/0x4*(parseInt(_0x5455e4(0x1c2))/0x5)+parseInt(_0x5455e4(0x1c7))/0x6+parseInt(_0x5455e4(0x1c4))/0x7*(-parseInt(_0x5455e4(0x1c6))/0x8)+-parseInt(_0x5455e4(0x1bc))/0x9*(-parseInt(_0x5455e4(0x1b6))/0xa)+-parseInt(_0x5455e4(0x1b8))/0xb;if(_0x1622ef===_0x3e72e2)break;else _0x17fff5['push'](_0x17fff5['shift']());}catch(_0x535b22){_0x17fff5['push'](_0x17fff5['shift']());}}}(_0x4218,0x3cac3));import{ListView as _0x1f3ded,ListItemGroupView as _0x249995,filterGroupAndItemNames as _0x1f844d}from'ckeditor5/src/ui.js';function _0x4218(){const _0x43d3fb=['2500998DklftJ','listbox','commandDefinition','set','enabledCommandsIds','101656QSCLhY','10ADkINC','children','5518128ijUVjW','95664OiwOId','get','isEnabled','3400605nkPEEX','change:enabledCommandsIds','66705ioyWrP','role','14gdDENP','includes','10xvhILL','items','247534daEQrf','filter','8TxxDks'];_0x4218=function(){return _0x43d3fb;};return _0x4218();}import{AICommandsListItemView as _0x407699}from'../../aiassistantui.js';export default class S extends _0x1f3ded{constructor(_0x3a2d98){const _0x2276d5=_0xfaee;super(_0x3a2d98),this[_0x2276d5(0x1bf)]=_0x2276d5(0x1c8),this[_0x2276d5(0x1b3)](_0x2276d5(0x1b4),[]),this['on'](_0x2276d5(0x1bd),()=>{const _0xea793c=_0x2276d5;for(const _0xd02eeb of this[_0xea793c(0x1c3)])if(_0xd02eeb instanceof _0x249995){for(const _0x1b76d2 of _0xd02eeb[_0xea793c(0x1c3)])if(_0x1b76d2 instanceof _0x407699){const _0x4803c0=_0x1b76d2[_0xea793c(0x1b7)][_0xea793c(0x1ba)](0x0);this[_0xea793c(0x1b4)][_0xea793c(0x1c1)](_0x1b76d2[_0xea793c(0x1b2)]['id'])?_0x4803c0[_0xea793c(0x1bb)]=!0x0:_0x4803c0[_0xea793c(0x1bb)]=!0x1;}}});}[_0x3de254(0x1c5)](_0x81c07){const _0x615cde=_0x3de254;return _0x1f844d(_0x81c07,this[_0x615cde(0x1c3)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1dea(_0x5d05b1,_0x2d5916){const _0x448eba=_0x448e();return _0x1dea=function(_0x1dead7,_0x4ad5e4){_0x1dead7=_0x1dead7-0x86;let _0x3a5f3e=_0x448eba[_0x1dead7];return _0x3a5f3e;},_0x1dea(_0x5d05b1,_0x2d5916);}const _0x83b561=_0x1dea;function _0x448e(){const _0x47605f=['loaderView','textContent','isVisible','copy','write','body','appendLoader','removeAllRanges','render','2774895iKdlKb','ck-ai-form__copy-button','5359584FQoJza','ck-ai-form__loader','getSelection','-9999px','<span>]</span>','locale','ck-reset_all-excluded','ck-ai-form__content-area','value','lastElementChild','4aDXtkU','icon','class','setEndBefore','ck-ai-form__content-area-wrapper','createElement','setTemplate','6185851QvJyLe','change:isProcessing','_copyHTMLToClipboard','3138ohIahM','querySelector','copyButtonView','position','text/html','setContent','clipboard','createRange','34zcpOgj','ClipboardItem','ck-ai-form__content-area--processing','<span>[</span>','div','style','Copy','firstElementChild','addRange','execute','bindTemplate','isProcessing','353556RZOZHm','scrollTo','setStartAfter','absolute','execCommand','ck-hidden','listenTo','AI\x20is\x20writing...','isEnabled','check','contentFieldView','smooth','.ck-ai-form__loader','remove','text/plain','ck-ai-form__copy-button-wrapper','innerHTML','appendChild','focus','4839867JgdyBl','751693DqqHSn','_createCopyButton','\x20ck-ai-form__copy-button--copied','mousedown','bind','set','left','wheel','change:value','ck-content','element','ck-ai-form__content-field','scrollHeight','_createLoader'];_0x448e=function(){return _0x47605f;};return _0x448e();}(function(_0x293ee8,_0x4ebcbf){const _0x302d54=_0x1dea,_0x486b9b=_0x293ee8();while(!![]){try{const _0x225300=parseInt(_0x302d54(0xcc))/0x1+-parseInt(_0x302d54(0xac))/0x2*(-parseInt(_0x302d54(0xa4))/0x3)+-parseInt(_0x302d54(0x9a))/0x4*(-parseInt(_0x302d54(0x8e))/0x5)+-parseInt(_0x302d54(0xb8))/0x6+-parseInt(_0x302d54(0xa1))/0x7+parseInt(_0x302d54(0x90))/0x8+-parseInt(_0x302d54(0xcb))/0x9;if(_0x225300===_0x4ebcbf)break;else _0x486b9b['push'](_0x486b9b['shift']());}catch(_0x3c42ef){_0x486b9b['push'](_0x486b9b['shift']());}}}(_0x448e,0x7d7e4));import{global as _0x26962e}from'ckeditor5/src/utils.js';import{View as _0x55fc72,ButtonView as _0x5482ad,SpinnerView as _0x3da64c}from'ckeditor5/src/ui.js';import _0x45f87c from'../../../theme/icons/copy.svg';import{getTranslation as _0xb9c7e9}from'../../utils/common-translations.js';import{icons as _0x35e637}from'ckeditor5/src/core.js';export default class ot extends _0x55fc72{constructor(_0xfc97ce,_0x378f15=''){const _0x22ab66=_0x1dea;super(_0xfc97ce),this[_0x22ab66(0xd1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x28ae2c=this[_0x22ab66(0xb6)];this[_0x22ab66(0xc2)]=new ContentFieldView(_0xfc97ce,_0x378f15),this[_0x22ab66(0xa6)]=this[_0x22ab66(0xcd)](),this[_0x22ab66(0xa0)]({'tag':_0x22ab66(0xb0),'attributes':{'class':['ck',_0x22ab66(0x9e),_0x28ae2c['if'](_0x22ab66(0x87),_0x22ab66(0xbd),_0x20e134=>!_0x20e134)],'tabindex':'-1'},'children':[{'tag':_0x22ab66(0xb0),'attributes':{'class':['ck',_0x22ab66(0x97),_0x28ae2c['if'](_0x22ab66(0xb7),_0x22ab66(0xae))]},'children':[this[_0x22ab66(0xc2)],{'tag':_0x22ab66(0xb0),'attributes':{'class':['ck',_0x22ab66(0xc7)]},'children':[this[_0x22ab66(0xa6)]]}]}]});}[_0x83b561(0x8d)](){const _0x5e6830=_0x83b561;super[_0x5e6830(0x8d)](),this[_0x5e6830(0x98)]&&this[_0x5e6830(0xc2)][_0x5e6830(0xa9)](this[_0x5e6830(0x98)]);let _0x4e3652=!0x1;this['on'](_0x5e6830(0xd4),(_0x395e1d,_0x4691d2,_0x441d28)=>{const _0x1c3276=_0x5e6830,_0x27351b=!this[_0x1c3276(0xc2)][_0x1c3276(0xd6)][_0x1c3276(0xa5)](_0x1c3276(0xc4));this[_0x1c3276(0xc2)][_0x1c3276(0xa9)](_0x441d28),this[_0x1c3276(0xb7)]&&_0x27351b&&!_0x4e3652&&this[_0x1c3276(0xd6)][_0x1c3276(0xb9)]({'top':this[_0x1c3276(0xd6)][_0x1c3276(0xd8)],'behavior':_0x1c3276(0xc3)});}),this['on'](_0x5e6830(0xa2),(_0x2dcb51,_0x37df93,_0x129baa)=>{const _0x4aec40=_0x5e6830;_0x4e3652=!0x1,_0x129baa?(this[_0x4aec40(0x98)]=null,this[_0x4aec40(0xc2)][_0x4aec40(0x8b)]()):this[_0x4aec40(0x98)]||this[_0x4aec40(0xc2)][_0x4aec40(0xa9)]('');}),this[_0x5e6830(0xbe)](this[_0x5e6830(0xd6)],_0x5e6830(0xd3),()=>{_0x4e3652=!0x0;}),this[_0x5e6830(0xbe)](this[_0x5e6830(0xd6)],_0x5e6830(0xcf),()=>{_0x4e3652=!0x0;});}[_0x83b561(0xca)](){const _0xeafe61=_0x83b561;this[_0xeafe61(0xd6)][_0xeafe61(0xca)]();}[_0x83b561(0xcd)](){const _0x255e58=_0x83b561,_0x1c2a68=this[_0x255e58(0x95)],_0x2f6701=new _0x5482ad(this[_0x255e58(0x95)]),_0x54d9d5=_0x255e58(0x8f);return _0x2f6701[_0x255e58(0xd1)]({'label':_0xb9c7e9(_0x1c2a68,_0x255e58(0xb2)),'icon':_0x45f87c,'class':_0x54d9d5,'tooltip':!0x0}),_0x2f6701[_0x255e58(0xd0)](_0x255e58(0x87))['to'](this,_0x255e58(0x98),_0x1b0fdc=>!!_0x1b0fdc),_0x2f6701[_0x255e58(0xd0)](_0x255e58(0xc0))['to'](this,_0x255e58(0xb7),_0x5c6435=>!_0x5c6435),_0x2f6701['on'](_0x255e58(0xb5),()=>{const _0x1c83a4=_0x255e58;this[_0x1c83a4(0xa3)](this[_0x1c83a4(0xc2)][_0x1c83a4(0xd6)]),_0x2f6701[_0x1c83a4(0x9b)]=_0x35e637[_0x1c83a4(0xc1)],_0x2f6701[_0x1c83a4(0x9c)]=_0x54d9d5+_0x1c83a4(0xce),this[_0x1c83a4(0xca)](),setTimeout(()=>{const _0x260db7=_0x1c83a4;_0x2f6701[_0x260db7(0x9b)]=_0x45f87c,_0x2f6701[_0x260db7(0x9c)]=_0x54d9d5;},0x3e8);}),_0x2f6701;}[_0x83b561(0xa3)](_0x8b69b0){const _0x1020d2=_0x83b561,{window:_0x2d5933,document:_0x50487b}=_0x26962e;if(_0x2d5933[_0x1020d2(0xad)]){const {Blob:_0x5c0ff6,ClipboardItem:_0x154678}=_0x2d5933,_0x1e12b1=[new _0x154678({'text/html':new _0x5c0ff6([_0x8b69b0[_0x1020d2(0xc8)]],{'type':_0x1020d2(0xa8)}),'text/plain':new _0x5c0ff6([_0x8b69b0[_0x1020d2(0x86)]||''],{'type':_0x1020d2(0xc6)})})];navigator[_0x1020d2(0xaa)][_0x1020d2(0x89)](_0x1e12b1);}else{const _0x2a7bf6=_0x50487b[_0x1020d2(0x9f)](_0x1020d2(0xb0));_0x2a7bf6[_0x1020d2(0xb1)][_0x1020d2(0xa7)]=_0x1020d2(0xbb),_0x2a7bf6[_0x1020d2(0xb1)][_0x1020d2(0xd2)]=_0x1020d2(0x93),_0x2a7bf6[_0x1020d2(0xc8)]=_0x1020d2(0xaf)+_0x8b69b0[_0x1020d2(0xc8)]+_0x1020d2(0x94),_0x50487b[_0x1020d2(0x8a)][_0x1020d2(0xc9)](_0x2a7bf6);const _0x17df85=_0x50487b[_0x1020d2(0xab)]();_0x17df85[_0x1020d2(0xba)](_0x2a7bf6[_0x1020d2(0xb3)]),_0x17df85[_0x1020d2(0x9d)](_0x2a7bf6[_0x1020d2(0x99)]);const _0x4417e2=_0x2d5933[_0x1020d2(0x92)]();_0x4417e2[_0x1020d2(0x8c)](),_0x4417e2[_0x1020d2(0xb4)](_0x17df85),_0x50487b[_0x1020d2(0xbc)](_0x1020d2(0x88)),_0x2a7bf6[_0x1020d2(0xc5)]();}}}export class ContentFieldView extends _0x55fc72{constructor(_0x3c0ca4,_0x1732db=''){const _0x158de0=_0x83b561;super(_0x3c0ca4),this[_0x158de0(0xda)]=this[_0x158de0(0xd9)](),this[_0x158de0(0xa0)]({'tag':_0x158de0(0xb0),'attributes':{'class':['ck',_0x158de0(0xd5),_0x1732db,_0x158de0(0x96),_0x158de0(0xd7)]}});}[_0x83b561(0xa9)](_0x1decc5){const _0x53b23d=_0x83b561;this[_0x53b23d(0xd6)][_0x53b23d(0xc8)]=_0x1decc5;}[_0x83b561(0x8b)](){const _0x5d75fc=_0x83b561;this[_0x5d75fc(0xd6)][_0x5d75fc(0xc9)](this[_0x5d75fc(0xda)][_0x5d75fc(0xd6)]);}[_0x83b561(0xd9)](){const _0x1a19f0=_0x83b561,_0x120850=new _0x55fc72(),_0x3acd8f=this[_0x1a19f0(0x95)],_0x24ac49=new _0x3da64c();return _0x24ac49[_0x1a19f0(0x87)]=!0x0,_0x120850[_0x1a19f0(0xa0)]({'tag':_0x1a19f0(0xb0),'attributes':{'class':['ck',_0x1a19f0(0x91)]},'children':[_0x24ac49,{'text':_0xb9c7e9(_0x3acd8f,_0x1a19f0(0xbf))}]}),_0x120850[_0x1a19f0(0x8d)](),_0x120850;}}
23
+ const _0x21f2c1=_0x2fc4;function _0x2fc4(_0x31694f,_0x5988fc){const _0x3d6385=_0x3d63();return _0x2fc4=function(_0x2fc492,_0x48aa04){_0x2fc492=_0x2fc492-0x1cd;let _0x594b25=_0x3d6385[_0x2fc492];return _0x594b25;},_0x2fc4(_0x31694f,_0x5988fc);}(function(_0x17fece,_0x2d878a){const _0x304910=_0x2fc4,_0x5a8812=_0x17fece();while(!![]){try{const _0x47f64f=-parseInt(_0x304910(0x211))/0x1*(parseInt(_0x304910(0x213))/0x2)+-parseInt(_0x304910(0x1f9))/0x3*(parseInt(_0x304910(0x1dc))/0x4)+parseInt(_0x304910(0x214))/0x5+parseInt(_0x304910(0x1ea))/0x6+parseInt(_0x304910(0x1dd))/0x7*(-parseInt(_0x304910(0x1e6))/0x8)+parseInt(_0x304910(0x200))/0x9+parseInt(_0x304910(0x21e))/0xa;if(_0x47f64f===_0x2d878a)break;else _0x5a8812['push'](_0x5a8812['shift']());}catch(_0x3228f8){_0x5a8812['push'](_0x5a8812['shift']());}}}(_0x3d63,0xebec9));import{global as _0x56d855}from'ckeditor5/src/utils.js';import{View as _0x1be7f9,ButtonView as _0x562704,SpinnerView as _0x1bb15a}from'ckeditor5/src/ui.js';import _0xd3bb04 from'../../../theme/icons/copy.svg';import{getTranslation as _0xbce722}from'../../utils/common-translations.js';import{icons as _0x1d8fa5}from'ckeditor5/src/core.js';function _0x3d63(){const _0x47a3bc=['focus','removeAllRanges','1480FIEsBs','7xWuxGh','ck-content','firstElementChild','ck-reset_all-excluded','ck-ai-form__copy-button-wrapper','wheel','createRange','_createLoader','scrollHeight','13302192XHKJPF','text/html','_copyHTMLToClipboard','.ck-ai-form__loader','5101758Oslwqn','absolute','innerHTML','getSelection','ck-ai-form__content-field','copyButtonView','ck-ai-form__loader','style','_createCopyButton','clipboard','<span>[</span>','left','setStartAfter','element','setEndBefore','11442NJyqNg','div','appendChild','<span>]</span>','Copy','ck-ai-form__copy-button','loaderView','11603421BisDQk','isVisible','-9999px','value','text/plain','copy','textContent','ck-hidden','render','change:isProcessing','querySelector','lastElementChild','change:value','setContent','execCommand','bind','class','305eUTSle','ck-ai-form__content-area-wrapper','1038DJIMMq','4404060cOPCgl','position','isEnabled','set','execute','icon','body','isProcessing','appendLoader','listenTo','11782200xNwstp','mousedown','ck-ai-form__content-area--processing','write','bindTemplate','addRange','AI\x20is\x20writing...','setTemplate','remove','smooth','scrollTo','ClipboardItem','contentFieldView','ck-ai-form__content-area','locale','createElement','\x20ck-ai-form__copy-button--copied','check'];_0x3d63=function(){return _0x47a3bc;};return _0x3d63();}export default class ot extends _0x1be7f9{constructor(_0x1a47fe,_0xc62ea3=''){const _0x808327=_0x2fc4;super(_0x1a47fe),this[_0x808327(0x217)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2ea940=this[_0x808327(0x222)];this[_0x808327(0x1d4)]=new ContentFieldView(_0x1a47fe,_0xc62ea3),this[_0x808327(0x1ef)]=this[_0x808327(0x1f2)](),this[_0x808327(0x1cf)]({'tag':_0x808327(0x1fa),'attributes':{'class':['ck',_0x808327(0x212),_0x2ea940['if'](_0x808327(0x201),_0x808327(0x207),_0xae01b0=>!_0xae01b0)],'tabindex':'-1'},'children':[{'tag':_0x808327(0x1fa),'attributes':{'class':['ck',_0x808327(0x1d5),_0x2ea940['if'](_0x808327(0x21b),_0x808327(0x220))]},'children':[this[_0x808327(0x1d4)],{'tag':_0x808327(0x1fa),'attributes':{'class':['ck',_0x808327(0x1e1)]},'children':[this[_0x808327(0x1ef)]]}]}]});}[_0x21f2c1(0x208)](){const _0x5191a8=_0x21f2c1;super[_0x5191a8(0x208)](),this[_0x5191a8(0x203)]&&this[_0x5191a8(0x1d4)][_0x5191a8(0x20d)](this[_0x5191a8(0x203)]);let _0x53c470=!0x1;this['on'](_0x5191a8(0x20c),(_0xff70be,_0x320340,_0x55ff43)=>{const _0x168a8d=_0x5191a8,_0x2cf5bf=!this[_0x168a8d(0x1d4)][_0x168a8d(0x1f7)][_0x168a8d(0x20a)](_0x168a8d(0x1e9));this[_0x168a8d(0x1d4)][_0x168a8d(0x20d)](_0x55ff43),this[_0x168a8d(0x21b)]&&_0x2cf5bf&&!_0x53c470&&this[_0x168a8d(0x1f7)][_0x168a8d(0x1d2)]({'top':this[_0x168a8d(0x1f7)][_0x168a8d(0x1e5)],'behavior':_0x168a8d(0x1d1)});}),this['on'](_0x5191a8(0x209),(_0x51ad23,_0x598502,_0x4b6f14)=>{const _0x5cf3ec=_0x5191a8;_0x53c470=!0x1,_0x4b6f14?(this[_0x5cf3ec(0x203)]=null,this[_0x5cf3ec(0x1d4)][_0x5cf3ec(0x21c)]()):this[_0x5cf3ec(0x203)]||this[_0x5cf3ec(0x1d4)][_0x5cf3ec(0x20d)]('');}),this[_0x5191a8(0x21d)](this[_0x5191a8(0x1f7)],_0x5191a8(0x1e2),()=>{_0x53c470=!0x0;}),this[_0x5191a8(0x21d)](this[_0x5191a8(0x1f7)],_0x5191a8(0x21f),()=>{_0x53c470=!0x0;});}[_0x21f2c1(0x1da)](){const _0x392df0=_0x21f2c1;this[_0x392df0(0x1f7)][_0x392df0(0x1da)]();}[_0x21f2c1(0x1f2)](){const _0x3c4d70=_0x21f2c1,_0xc8ecaa=this[_0x3c4d70(0x1d6)],_0x2c6cfe=new _0x562704(this[_0x3c4d70(0x1d6)]),_0x277102=_0x3c4d70(0x1fe);return _0x2c6cfe[_0x3c4d70(0x217)]({'label':_0xbce722(_0xc8ecaa,_0x3c4d70(0x1fd)),'icon':_0xd3bb04,'class':_0x277102,'tooltip':!0x0}),_0x2c6cfe[_0x3c4d70(0x20f)](_0x3c4d70(0x201))['to'](this,_0x3c4d70(0x203),_0x591f64=>!!_0x591f64),_0x2c6cfe[_0x3c4d70(0x20f)](_0x3c4d70(0x216))['to'](this,_0x3c4d70(0x21b),_0x1af13f=>!_0x1af13f),_0x2c6cfe['on'](_0x3c4d70(0x218),()=>{const _0x274574=_0x3c4d70;this[_0x274574(0x1e8)](this[_0x274574(0x1d4)][_0x274574(0x1f7)]),_0x2c6cfe[_0x274574(0x219)]=_0x1d8fa5[_0x274574(0x1d9)],_0x2c6cfe[_0x274574(0x210)]=_0x277102+_0x274574(0x1d8),this[_0x274574(0x1da)](),setTimeout(()=>{const _0x2a8615=_0x274574;_0x2c6cfe[_0x2a8615(0x219)]=_0xd3bb04,_0x2c6cfe[_0x2a8615(0x210)]=_0x277102;},0x3e8);}),_0x2c6cfe;}[_0x21f2c1(0x1e8)](_0x53f49e){const _0x23426a=_0x21f2c1,{window:_0x492bb8,document:_0x1f3be8}=_0x56d855;if(_0x492bb8[_0x23426a(0x1d3)]){const {Blob:_0x3d02c7,ClipboardItem:_0x294b1c}=_0x492bb8,_0x2ada7b=[new _0x294b1c({'text/html':new _0x3d02c7([_0x53f49e[_0x23426a(0x1ec)]],{'type':_0x23426a(0x1e7)}),'text/plain':new _0x3d02c7([_0x53f49e[_0x23426a(0x206)]||''],{'type':_0x23426a(0x204)})})];navigator[_0x23426a(0x1f3)][_0x23426a(0x221)](_0x2ada7b);}else{const _0x5c77a3=_0x1f3be8[_0x23426a(0x1d7)](_0x23426a(0x1fa));_0x5c77a3[_0x23426a(0x1f1)][_0x23426a(0x215)]=_0x23426a(0x1eb),_0x5c77a3[_0x23426a(0x1f1)][_0x23426a(0x1f5)]=_0x23426a(0x202),_0x5c77a3[_0x23426a(0x1ec)]=_0x23426a(0x1f4)+_0x53f49e[_0x23426a(0x1ec)]+_0x23426a(0x1fc),_0x1f3be8[_0x23426a(0x21a)][_0x23426a(0x1fb)](_0x5c77a3);const _0x213dfb=_0x1f3be8[_0x23426a(0x1e3)]();_0x213dfb[_0x23426a(0x1f6)](_0x5c77a3[_0x23426a(0x1df)]),_0x213dfb[_0x23426a(0x1f8)](_0x5c77a3[_0x23426a(0x20b)]);const _0x55a398=_0x492bb8[_0x23426a(0x1ed)]();_0x55a398[_0x23426a(0x1db)](),_0x55a398[_0x23426a(0x1cd)](_0x213dfb),_0x1f3be8[_0x23426a(0x20e)](_0x23426a(0x205)),_0x5c77a3[_0x23426a(0x1d0)]();}}}export class ContentFieldView extends _0x1be7f9{constructor(_0x19e3df,_0x11c3c9=''){const _0x3d2d16=_0x21f2c1;super(_0x19e3df),this[_0x3d2d16(0x1ff)]=this[_0x3d2d16(0x1e4)](),this[_0x3d2d16(0x1cf)]({'tag':_0x3d2d16(0x1fa),'attributes':{'class':['ck',_0x3d2d16(0x1de),_0x11c3c9,_0x3d2d16(0x1e0),_0x3d2d16(0x1ee)]}});}[_0x21f2c1(0x20d)](_0x5a514d){const _0x54dbff=_0x21f2c1;this[_0x54dbff(0x1f7)][_0x54dbff(0x1ec)]=_0x5a514d;}[_0x21f2c1(0x21c)](){const _0x52b760=_0x21f2c1;this[_0x52b760(0x1f7)][_0x52b760(0x1fb)](this[_0x52b760(0x1ff)][_0x52b760(0x1f7)]);}[_0x21f2c1(0x1e4)](){const _0x23a049=_0x21f2c1,_0x467020=new _0x1be7f9(),_0x32fb29=this[_0x23a049(0x1d6)],_0x38d7d1=new _0x1bb15a();return _0x38d7d1[_0x23a049(0x201)]=!0x0,_0x467020[_0x23a049(0x1cf)]({'tag':_0x23a049(0x1fa),'attributes':{'class':['ck',_0x23a049(0x1f0)]},'children':[_0x38d7d1,{'text':_0xbce722(_0x32fb29,_0x23a049(0x1ce))}]}),_0x467020[_0x23a049(0x208)](),_0x467020;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5df7f3,_0x1db716){const _0x3c52b4=_0x38fb,_0x29d547=_0x5df7f3();while(!![]){try{const _0x1652e9=-parseInt(_0x3c52b4(0xbe))/0x1+parseInt(_0x3c52b4(0xbc))/0x2+-parseInt(_0x3c52b4(0xba))/0x3+-parseInt(_0x3c52b4(0xb7))/0x4+parseInt(_0x3c52b4(0xb9))/0x5+parseInt(_0x3c52b4(0xb4))/0x6+parseInt(_0x3c52b4(0xb2))/0x7;if(_0x1652e9===_0x1db716)break;else _0x29d547['push'](_0x29d547['shift']());}catch(_0x281d81){_0x29d547['push'](_0x29d547['shift']());}}}(_0x299c,0xb182d));import{View as _0x235817,IconView as _0x585f28}from'ckeditor5/src/ui.js';function _0x299c(){const _0x49d2fe=['setTemplate','2218195eGBJhu','1785345MaxOKR','text','1489384caUChw','set','453579TvapKN','content','674716QnGInW','ck-ai-form__error','8690898mbxNMv','div','bindTemplate','3829692WwjirE'];_0x299c=function(){return _0x49d2fe;};return _0x299c();}function _0x38fb(_0x3834d8,_0x4aa944){const _0x299cc4=_0x299c();return _0x38fb=function(_0x38fbf0,_0x475668){_0x38fbf0=_0x38fbf0-0xb2;let _0x380b75=_0x299cc4[_0x38fbf0];return _0x380b75;},_0x38fb(_0x3834d8,_0x4aa944);}import _0x50e8cc from'../../../theme/icons/error.svg';export default class at extends _0x235817{constructor(_0x187f47,_0x1ae4a1=''){const _0x5ba3c4=_0x38fb;super(_0x187f47);const _0x20f3bc=new _0x585f28(),_0xa04aaf=this[_0x5ba3c4(0xb6)];this[_0x5ba3c4(0xbd)](_0x5ba3c4(0xbb),_0x1ae4a1),_0x20f3bc[_0x5ba3c4(0xbf)]=_0x50e8cc,this[_0x5ba3c4(0xb8)]({'tag':_0x5ba3c4(0xb5),'attributes':{'class':['ck',_0x5ba3c4(0xb3)]},'children':[_0x20f3bc,{'text':_0xa04aaf['to'](_0x5ba3c4(0xbb))}]});}}
23
+ (function(_0x359816,_0x584e0b){const _0x301e71=_0x354c,_0x14e8c6=_0x359816();while(!![]){try{const _0x2d436a=-parseInt(_0x301e71(0x15c))/0x1+parseInt(_0x301e71(0x15d))/0x2*(-parseInt(_0x301e71(0x155))/0x3)+parseInt(_0x301e71(0x156))/0x4+-parseInt(_0x301e71(0x153))/0x5*(parseInt(_0x301e71(0x162))/0x6)+parseInt(_0x301e71(0x163))/0x7*(parseInt(_0x301e71(0x15b))/0x8)+-parseInt(_0x301e71(0x160))/0x9+-parseInt(_0x301e71(0x152))/0xa*(-parseInt(_0x301e71(0x158))/0xb);if(_0x2d436a===_0x584e0b)break;else _0x14e8c6['push'](_0x14e8c6['shift']());}catch(_0x1ccbe1){_0x14e8c6['push'](_0x14e8c6['shift']());}}}(_0xdfe9,0x29957));import{View as _0x3c90ac,IconView as _0x2cda9e}from'ckeditor5/src/ui.js';function _0x354c(_0x5ec589,_0x24e395){const _0xdfe9df=_0xdfe9();return _0x354c=function(_0x354c02,_0x414054){_0x354c02=_0x354c02-0x152;let _0x37c2e6=_0xdfe9df[_0x354c02];return _0x37c2e6;},_0x354c(_0x5ec589,_0x24e395);}import _0x258d85 from'../../../theme/icons/error.svg';export default class at extends _0x3c90ac{constructor(_0x266fb8,_0x5e5007=''){const _0x272371=_0x354c;super(_0x266fb8);const _0x13f378=new _0x2cda9e(),_0x51d79b=this[_0x272371(0x15e)];this[_0x272371(0x15f)](_0x272371(0x161),_0x5e5007),_0x13f378[_0x272371(0x15a)]=_0x258d85,this[_0x272371(0x154)]({'tag':_0x272371(0x157),'attributes':{'class':['ck',_0x272371(0x159)]},'children':[_0x13f378,{'text':_0x51d79b['to'](_0x272371(0x161))}]});}}function _0xdfe9(){const _0x36f2b5=['bindTemplate','set','1465209bhikQy','text','656322eoYwII','2346659nWLirb','5110870GRcrjK','5xmIUmp','setTemplate','48903EOhnnw','382080yjKqwJ','div','11HRhgcf','ck-ai-form__error','content','8fDTlot','222212usQrck','34XipRxn'];_0xdfe9=function(){return _0x36f2b5;};return _0xdfe9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5aa2(_0x38d85e,_0x54812a){const _0xa85678=_0xa856();return _0x5aa2=function(_0x5aa2de,_0x58412e){_0x5aa2de=_0x5aa2de-0x11d;let _0x54870a=_0xa85678[_0x5aa2de];return _0x54870a;},_0x5aa2(_0x38d85e,_0x54812a);}const _0x2db8e1=_0x5aa2;(function(_0x75cd62,_0xe13431){const _0x55a76b=_0x5aa2,_0xb14834=_0x75cd62();while(!![]){try{const _0x247ee2=parseInt(_0x55a76b(0x120))/0x1+-parseInt(_0x55a76b(0x141))/0x2*(-parseInt(_0x55a76b(0x123))/0x3)+-parseInt(_0x55a76b(0x154))/0x4+parseInt(_0x55a76b(0x126))/0x5*(-parseInt(_0x55a76b(0x133))/0x6)+-parseInt(_0x55a76b(0x158))/0x7*(parseInt(_0x55a76b(0x122))/0x8)+-parseInt(_0x55a76b(0x11f))/0x9*(-parseInt(_0x55a76b(0x13f))/0xa)+-parseInt(_0x55a76b(0x12b))/0xb;if(_0x247ee2===_0xe13431)break;else _0xb14834['push'](_0xb14834['shift']());}catch(_0x4ab42d){_0xb14834['push'](_0xb14834['shift']());}}}(_0xa856,0x65472));import{Rect as _0x40ed44,global as _0x2f3c9d,isVisible as _0x33cbd1}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x50caf9,ButtonView as _0x109d35}from'ckeditor5/src/ui.js';import{icons as _0x260a6f}from'ckeditor5/src/core.js';import{getTranslation as _0x4f76e9}from'../../utils/common-translations.js';function _0xa856(){const _0x189c80=['locale','left','focusFirst','History','history','value','isEmpty','rtl','enter','fieldView','excludeScrollbarsAndBorders','submit','isEnabled','target','bind','748408JXhuxH','execute','focus','width','91kekOxU','filteredView','right','47430ZsVqdb','407914AMIdaB','render','28592tXeLWO','348ZMFSIR','submitButtonView','element','545gDDgTs','Submit','fire','window','ck-ai-form__toggle-history','4548060mQrDnH','queryView','add','children','style','requestAnimationFrame','_createShowHistoryButton','fieldWrapperChildren','44004GgVEWF','focusCycler','ck-ai-form__submit','resultsView','isVisible','_createSubmitButton','minRows','focusLast','focusableChildren','maxRows','set','isOn','1250wRZaBU','update','13700RELsAT','uiLanguageDirection','showHistoryButtonView','keystrokes'];_0xa856=function(){return _0x189c80;};return _0xa856();}import _0xaa5022 from'../../../theme/icons/submit.svg';export default class ut extends _0x50caf9{constructor(_0xbe34fb,_0x16560c){const _0x744a96=_0x5aa2;super(_0xbe34fb,_0x16560c),this[_0x744a96(0x12c)][_0x744a96(0x14e)][_0x744a96(0x139)]=0x1,this[_0x744a96(0x12c)][_0x744a96(0x14e)][_0x744a96(0x13c)]=0x3,this[_0x744a96(0x124)]=this[_0x744a96(0x138)](),this[_0x744a96(0x143)]=this[_0x744a96(0x131)](),this[_0x744a96(0x13b)][_0x744a96(0x12d)](this[_0x744a96(0x143)],0x1),this[_0x744a96(0x13b)][_0x744a96(0x12d)](this[_0x744a96(0x124)]);}[_0x2db8e1(0x121)](){const _0x6e76ea=_0x2db8e1;super[_0x6e76ea(0x121)](),this[_0x6e76ea(0x12c)][_0x6e76ea(0x132)][_0x6e76ea(0x12d)](this[_0x6e76ea(0x143)]),this[_0x6e76ea(0x12e)][_0x6e76ea(0x12d)](this[_0x6e76ea(0x124)]),this[_0x6e76ea(0x144)][_0x6e76ea(0x13d)](_0x6e76ea(0x14d),(_0x5844d0,_0x3decee)=>{const _0xe51f36=_0x6e76ea;_0x5844d0[_0xe51f36(0x152)]==this[_0xe51f36(0x12c)][_0xe51f36(0x14e)][_0xe51f36(0x125)]&&(this[_0xe51f36(0x150)](),_0x3decee());});}[_0x2db8e1(0x138)](){const _0x3421db=_0x2db8e1,_0x317e7b=new _0x109d35(this[_0x3421db(0x145)]),_0x12583f=this[_0x3421db(0x145)];return _0x317e7b[_0x3421db(0x13d)]({'icon':_0xaa5022,'label':_0x4f76e9(_0x12583f,_0x3421db(0x127)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3421db(0x135)}),_0x317e7b['on'](_0x3421db(0x155),()=>{const _0x2e57bd=_0x3421db;this[_0x2e57bd(0x150)]();}),_0x317e7b[_0x3421db(0x153)](_0x3421db(0x151))['to'](this[_0x3421db(0x12c)][_0x3421db(0x14e)],_0x3421db(0x14b),this,_0x3421db(0x151),(_0xc89404,_0x45ea1b)=>!_0xc89404&&_0x45ea1b),_0x317e7b;}[_0x2db8e1(0x131)](){const _0x5bc995=_0x2db8e1,_0xbd6aa6=new _0x109d35(this[_0x5bc995(0x145)]),_0xc4acb=this[_0x5bc995(0x136)],_0x298659=this[_0x5bc995(0x145)];_0xbd6aa6[_0x5bc995(0x13d)]({'label':_0x4f76e9(_0x298659,_0x5bc995(0x148)),'withText':!0x1,'icon':_0x260a6f[_0x5bc995(0x149)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5bc995(0x12a)}),_0xbd6aa6[_0x5bc995(0x153)](_0x5bc995(0x13e))['to'](_0xc4acb,_0x5bc995(0x137)),_0xbd6aa6[_0x5bc995(0x153)](_0x5bc995(0x151))['to'](this,_0x5bc995(0x151)),_0xbd6aa6['on'](_0x5bc995(0x155),()=>{const _0x5431b8=_0x5bc995;_0xc4acb[_0x5431b8(0x137)]=!_0xc4acb[_0x5431b8(0x137)],_0xc4acb[_0x5431b8(0x137)]?this[_0x5431b8(0x11d)][_0x5431b8(0x156)]():this[_0x5431b8(0x156)]();});const _0x2117c5=()=>{const _0xd0769a=_0x5bc995;_0x2f3c9d[_0xd0769a(0x129)][_0xd0769a(0x130)](()=>{const _0x2a8b0e=_0xd0769a;if(_0x33cbd1(this[_0x2a8b0e(0x125)])){const _0x5ba366=new _0x40ed44(this[_0x2a8b0e(0x12c)][_0x2a8b0e(0x14e)][_0x2a8b0e(0x125)]),_0x3d3ec5=_0x5ba366[_0x2a8b0e(0x157)],_0x581891=_0x2a8b0e(0x14c)===_0x298659[_0x2a8b0e(0x142)]?_0x2a8b0e(0x146):_0x2a8b0e(0x11e);_0x5ba366[_0x2a8b0e(0x14f)](),_0xbd6aa6[_0x2a8b0e(0x125)][_0x2a8b0e(0x12f)][_0x581891]=_0x3d3ec5-_0x5ba366[_0x2a8b0e(0x157)]+0x1+'px';}});};return this[_0x5bc995(0x12c)][_0x5bc995(0x14e)]['on'](_0x5bc995(0x140),_0x2117c5),this['on'](_0x5bc995(0x121),_0x2117c5),_0xbd6aa6;}[_0x2db8e1(0x150)](){const _0x1c1132=_0x2db8e1,_0x56931c=this[_0x1c1132(0x12c)][_0x1c1132(0x14e)][_0x1c1132(0x125)][_0x1c1132(0x14a)];this[_0x1c1132(0x128)](_0x1c1132(0x150),_0x56931c);}[_0x2db8e1(0x156)](_0xe726cd){const _0x24cb29=_0x2db8e1;-0x1===_0xe726cd?this[_0x24cb29(0x134)][_0x24cb29(0x13a)]():this[_0x24cb29(0x134)][_0x24cb29(0x147)]();}}
23
+ const _0x5e8db0=_0x12ca;(function(_0x531b74,_0x5c102b){const _0x4ca7c4=_0x12ca,_0x195f7a=_0x531b74();while(!![]){try{const _0x2dffac=parseInt(_0x4ca7c4(0x17a))/0x1*(-parseInt(_0x4ca7c4(0x17e))/0x2)+parseInt(_0x4ca7c4(0x1aa))/0x3+parseInt(_0x4ca7c4(0x1a5))/0x4+-parseInt(_0x4ca7c4(0x1a9))/0x5+-parseInt(_0x4ca7c4(0x18a))/0x6*(parseInt(_0x4ca7c4(0x1a0))/0x7)+parseInt(_0x4ca7c4(0x192))/0x8*(-parseInt(_0x4ca7c4(0x1a8))/0x9)+parseInt(_0x4ca7c4(0x191))/0xa*(parseInt(_0x4ca7c4(0x18c))/0xb);if(_0x2dffac===_0x5c102b)break;else _0x195f7a['push'](_0x195f7a['shift']());}catch(_0x689cf7){_0x195f7a['push'](_0x195f7a['shift']());}}}(_0x30a5,0xbf4d3));import{Rect as _0x31186a,global as _0x39f3eb,isVisible as _0x43ffb0}from'ckeditor5/src/utils.js';function _0x30a5(){const _0x2d27bc=['right','focus','update','History','requestAnimationFrame','history','locale','submitButtonView','set','excludeScrollbarsAndBorders','fieldView','108866kLAzKt','focusFirst','maxRows','rtl','6KhbqXl','fieldWrapperChildren','render','isEnabled','add','isOn','resultsView','focusLast','ck-ai-form__toggle-history','keystrokes','style','Submit','402bVXMgp','left','44TlchyV','filteredView','queryView','submit','fire','3702380MEoakO','1118928dyDjKH','element','_createShowHistoryButton','focusableChildren','uiLanguageDirection','value','enter','focusCycler','bind','minRows','isEmpty','children','execute','ck-ai-form__submit','111461evZjIz','target','window','_createSubmitButton','isVisible','6025556zoyrVP','showHistoryButtonView','width','9VOXCMI','4488640FJOukv','681789oRBlts'];_0x30a5=function(){return _0x2d27bc;};return _0x30a5();}import{AutocompleteView as _0x2d0706,ButtonView as _0x12bdf8}from'ckeditor5/src/ui.js';function _0x12ca(_0x461d20,_0x108ef9){const _0x30a5af=_0x30a5();return _0x12ca=function(_0x12caa2,_0x3312e2){_0x12caa2=_0x12caa2-0x17a;let _0x36afc4=_0x30a5af[_0x12caa2];return _0x36afc4;},_0x12ca(_0x461d20,_0x108ef9);}import{icons as _0x2e3d0b}from'ckeditor5/src/core.js';import{getTranslation as _0xd906ec}from'../../utils/common-translations.js';import _0x37195a from'../../../theme/icons/submit.svg';export default class ut extends _0x2d0706{constructor(_0x25590c,_0x30383f){const _0x529caf=_0x12ca;super(_0x25590c,_0x30383f),this[_0x529caf(0x18e)][_0x529caf(0x1b5)][_0x529caf(0x19b)]=0x1,this[_0x529caf(0x18e)][_0x529caf(0x1b5)][_0x529caf(0x17c)]=0x3,this[_0x529caf(0x1b2)]=this[_0x529caf(0x1a3)](),this[_0x529caf(0x1a6)]=this[_0x529caf(0x194)](),this[_0x529caf(0x195)][_0x529caf(0x182)](this[_0x529caf(0x1a6)],0x1),this[_0x529caf(0x195)][_0x529caf(0x182)](this[_0x529caf(0x1b2)]);}[_0x5e8db0(0x180)](){const _0x23410d=_0x5e8db0;super[_0x23410d(0x180)](),this[_0x23410d(0x18e)][_0x23410d(0x17f)][_0x23410d(0x182)](this[_0x23410d(0x1a6)]),this[_0x23410d(0x19d)][_0x23410d(0x182)](this[_0x23410d(0x1b2)]),this[_0x23410d(0x187)][_0x23410d(0x1b3)](_0x23410d(0x198),(_0x5a6657,_0x1e4d26)=>{const _0x28855b=_0x23410d;_0x5a6657[_0x28855b(0x1a1)]==this[_0x28855b(0x18e)][_0x28855b(0x1b5)][_0x28855b(0x193)]&&(this[_0x28855b(0x18f)](),_0x1e4d26());});}[_0x5e8db0(0x1a3)](){const _0x3855f8=_0x5e8db0,_0x158dcd=new _0x12bdf8(this[_0x3855f8(0x1b1)]),_0x1608b7=this[_0x3855f8(0x1b1)];return _0x158dcd[_0x3855f8(0x1b3)]({'icon':_0x37195a,'label':_0xd906ec(_0x1608b7,_0x3855f8(0x189)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3855f8(0x19f)}),_0x158dcd['on'](_0x3855f8(0x19e),()=>{const _0x39d616=_0x3855f8;this[_0x39d616(0x18f)]();}),_0x158dcd[_0x3855f8(0x19a)](_0x3855f8(0x181))['to'](this[_0x3855f8(0x18e)][_0x3855f8(0x1b5)],_0x3855f8(0x19c),this,_0x3855f8(0x181),(_0x428f42,_0x41ea36)=>!_0x428f42&&_0x41ea36),_0x158dcd;}[_0x5e8db0(0x194)](){const _0x46c0ed=_0x5e8db0,_0x4fec03=new _0x12bdf8(this[_0x46c0ed(0x1b1)]),_0x141ed2=this[_0x46c0ed(0x184)],_0x24dfa9=this[_0x46c0ed(0x1b1)];_0x4fec03[_0x46c0ed(0x1b3)]({'label':_0xd906ec(_0x24dfa9,_0x46c0ed(0x1ae)),'withText':!0x1,'icon':_0x2e3d0b[_0x46c0ed(0x1b0)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x46c0ed(0x186)}),_0x4fec03[_0x46c0ed(0x19a)](_0x46c0ed(0x183))['to'](_0x141ed2,_0x46c0ed(0x1a4)),_0x4fec03[_0x46c0ed(0x19a)](_0x46c0ed(0x181))['to'](this,_0x46c0ed(0x181)),_0x4fec03['on'](_0x46c0ed(0x19e),()=>{const _0x324afa=_0x46c0ed;_0x141ed2[_0x324afa(0x1a4)]=!_0x141ed2[_0x324afa(0x1a4)],_0x141ed2[_0x324afa(0x1a4)]?this[_0x324afa(0x18d)][_0x324afa(0x1ac)]():this[_0x324afa(0x1ac)]();});const _0x68534b=()=>{const _0x24782b=_0x46c0ed;_0x39f3eb[_0x24782b(0x1a2)][_0x24782b(0x1af)](()=>{const _0x3237ff=_0x24782b;if(_0x43ffb0(this[_0x3237ff(0x193)])){const _0x58d83a=new _0x31186a(this[_0x3237ff(0x18e)][_0x3237ff(0x1b5)][_0x3237ff(0x193)]),_0x2d1b77=_0x58d83a[_0x3237ff(0x1a7)],_0x3b29c=_0x3237ff(0x17d)===_0x24dfa9[_0x3237ff(0x196)]?_0x3237ff(0x18b):_0x3237ff(0x1ab);_0x58d83a[_0x3237ff(0x1b4)](),_0x4fec03[_0x3237ff(0x193)][_0x3237ff(0x188)][_0x3b29c]=_0x2d1b77-_0x58d83a[_0x3237ff(0x1a7)]+0x1+'px';}});};return this[_0x46c0ed(0x18e)][_0x46c0ed(0x1b5)]['on'](_0x46c0ed(0x1ad),_0x68534b),this['on'](_0x46c0ed(0x180),_0x68534b),_0x4fec03;}[_0x5e8db0(0x18f)](){const _0x1a4819=_0x5e8db0,_0x15c75b=this[_0x1a4819(0x18e)][_0x1a4819(0x1b5)][_0x1a4819(0x193)][_0x1a4819(0x197)];this[_0x1a4819(0x190)](_0x1a4819(0x18f),_0x15c75b);}[_0x5e8db0(0x1ac)](_0x1985a4){const _0x54c9d4=_0x5e8db0;-0x1===_0x1985a4?this[_0x54c9d4(0x199)][_0x54c9d4(0x185)]():this[_0x54c9d4(0x199)][_0x54c9d4(0x17b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16bf46=_0x4061;(function(_0x270630,_0x4d03b6){const _0x4c4a45=_0x4061,_0x3a8ad4=_0x270630();while(!![]){try{const _0x1be6ad=parseInt(_0x4c4a45(0xa1))/0x1*(-parseInt(_0x4c4a45(0xb3))/0x2)+parseInt(_0x4c4a45(0xa8))/0x3+-parseInt(_0x4c4a45(0x98))/0x4*(-parseInt(_0x4c4a45(0x97))/0x5)+parseInt(_0x4c4a45(0xa7))/0x6*(-parseInt(_0x4c4a45(0xb4))/0x7)+-parseInt(_0x4c4a45(0x92))/0x8*(-parseInt(_0x4c4a45(0x95))/0x9)+-parseInt(_0x4c4a45(0x9c))/0xa*(-parseInt(_0x4c4a45(0x9d))/0xb)+parseInt(_0x4c4a45(0xa9))/0xc*(-parseInt(_0x4c4a45(0xad))/0xd);if(_0x1be6ad===_0x4d03b6)break;else _0x3a8ad4['push'](_0x3a8ad4['shift']());}catch(_0x4120d8){_0x3a8ad4['push'](_0x3a8ad4['shift']());}}}(_0x2e70,0xf11ab));function _0x4061(_0x207933,_0x30fc01){const _0x2e7029=_0x2e70();return _0x4061=function(_0x40611d,_0x5bec10){_0x40611d=_0x40611d-0x92;let _0x21de09=_0x2e7029[_0x40611d];return _0x21de09;},_0x4061(_0x207933,_0x30fc01);}import{ToolbarView as _0x26d466,ButtonView as _0x145dc5}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ee2e2}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x16bf46(0x93),'INSERT':_0x16bf46(0xa3)};export default class At extends _0x26d466{constructor(_0x420271){const _0x244451=_0x16bf46;super(_0x420271),this[_0x244451(0xaa)](_0x244451(0xa5),!0x1),this[_0x244451(0xaa)](_0x244451(0x99),AIFormToolbarViewMainActionLabel[_0x244451(0xa4)]),this[_0x244451(0xb9)]=this[_0x244451(0xa0)]('',_0x244451(0xb6)),this[_0x244451(0xb9)][_0x244451(0x96)](_0x244451(0x94))['to'](this,_0x244451(0x99),_0x1223fa=>_0x5ee2e2(_0x420271,_0x244451(0xae)+_0x1223fa[_0x244451(0xab)]()+_0x244451(0x9b))),this[_0x244451(0xb1)]=this[_0x244451(0xa0)](_0x5ee2e2(_0x420271,_0x244451(0xa2))),this[_0x244451(0x9e)]=this[_0x244451(0xa0)](_0x5ee2e2(_0x420271,_0x244451(0xaf))),this[_0x244451(0x9f)]=this[_0x244451(0xa0)](_0x5ee2e2(_0x420271,_0x244451(0xb5)));const _0x7debc=this[_0x244451(0xb7)];this[_0x244451(0xb0)]({'attributes':{'class':[_0x244451(0xb2),_0x7debc['if'](_0x244451(0xa5),_0x244451(0x9a),_0x2c7bf5=>!_0x2c7bf5)]}}),this[_0x244451(0xa6)][_0x244451(0xb8)]([this[_0x244451(0xb9)],this[_0x244451(0xb1)],this[_0x244451(0x9e)],this[_0x244451(0x9f)]]);}[_0x16bf46(0xa0)](_0x1fc3d2,_0x2e5b1f){const _0x4cc0ed=_0x16bf46,_0x238361=new _0x145dc5(this[_0x4cc0ed(0xac)]);return _0x238361[_0x4cc0ed(0xaa)]({'label':_0x1fc3d2,'class':_0x2e5b1f||'','isVisible':!0x0,'withText':!0x0}),_0x238361;}}function _0x2e70(){const _0x57bf96=['1479609eFvCAs','bind','25tFUXLY','342492eywhZG','mainAction','ck-hidden','_CONTENT','1420XumJdj','89837TwTXOp','tryAgainButton','stopButton','_createButton','112515FwJeVC','Insert\x20below','insert','REPLACE','isVisible','items','1955406pwzcgU','4580193WkuuGx','12WoiTtY','set','toUpperCase','locale','25437802GJIeRJ','AI_','Try\x20again','extendTemplate','insertButton','ck-ai-form__toolbar','6FrowHy','7xiYQTJ','Stop','ck-button-action','bindTemplate','addMany','replaceButton','24QrAjHr','replace','label'];_0x2e70=function(){return _0x57bf96;};return _0x2e70();}
23
+ const _0x501765=_0x1c68;(function(_0x246648,_0x211332){const _0x19e4b1=_0x1c68,_0x2624ed=_0x246648();while(!![]){try{const _0x5298cf=-parseInt(_0x19e4b1(0xc1))/0x1*(parseInt(_0x19e4b1(0xb7))/0x2)+parseInt(_0x19e4b1(0xb2))/0x3+parseInt(_0x19e4b1(0xcf))/0x4*(parseInt(_0x19e4b1(0xcd))/0x5)+parseInt(_0x19e4b1(0xd1))/0x6+parseInt(_0x19e4b1(0xba))/0x7*(parseInt(_0x19e4b1(0xc5))/0x8)+-parseInt(_0x19e4b1(0xc4))/0x9+-parseInt(_0x19e4b1(0xca))/0xa;if(_0x5298cf===_0x211332)break;else _0x2624ed['push'](_0x2624ed['shift']());}catch(_0x24caf3){_0x2624ed['push'](_0x2624ed['shift']());}}}(_0x10e5,0x896c3));import{ToolbarView as _0x4b646d,ButtonView as _0x157bd4}from'ckeditor5/src/ui.js';function _0x1c68(_0x5f459a,_0x3bddfb){const _0x10e57d=_0x10e5();return _0x1c68=function(_0x1c685d,_0x587768){_0x1c685d=_0x1c685d-0xb0;let _0x3ec63e=_0x10e57d[_0x1c685d];return _0x3ec63e;},_0x1c68(_0x5f459a,_0x3bddfb);}import{getTranslation as _0x1df210}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x501765(0xcc),'INSERT':_0x501765(0xc7)};export default class At extends _0x4b646d{constructor(_0x3ae457){const _0x41d4dd=_0x501765;super(_0x3ae457),this[_0x41d4dd(0xc2)](_0x41d4dd(0xd0),!0x1),this[_0x41d4dd(0xc2)](_0x41d4dd(0xbf),AIFormToolbarViewMainActionLabel[_0x41d4dd(0xc0)]),this[_0x41d4dd(0xd3)]=this[_0x41d4dd(0xc3)]('',_0x41d4dd(0xc6)),this[_0x41d4dd(0xd3)][_0x41d4dd(0xb4)](_0x41d4dd(0xbb))['to'](this,_0x41d4dd(0xbf),_0x521c1f=>_0x1df210(_0x3ae457,_0x41d4dd(0xc9)+_0x521c1f[_0x41d4dd(0xb1)]()+_0x41d4dd(0xb5))),this[_0x41d4dd(0xb8)]=this[_0x41d4dd(0xc3)](_0x1df210(_0x3ae457,_0x41d4dd(0xbe))),this[_0x41d4dd(0xb3)]=this[_0x41d4dd(0xc3)](_0x1df210(_0x3ae457,_0x41d4dd(0xc8))),this[_0x41d4dd(0xb9)]=this[_0x41d4dd(0xc3)](_0x1df210(_0x3ae457,_0x41d4dd(0xb6)));const _0x5480a4=this[_0x41d4dd(0xd2)];this[_0x41d4dd(0xb0)]({'attributes':{'class':[_0x41d4dd(0xce),_0x5480a4['if'](_0x41d4dd(0xd0),_0x41d4dd(0xd4),_0x5975aa=>!_0x5975aa)]}}),this[_0x41d4dd(0xcb)][_0x41d4dd(0xbc)]([this[_0x41d4dd(0xd3)],this[_0x41d4dd(0xb8)],this[_0x41d4dd(0xb3)],this[_0x41d4dd(0xb9)]]);}[_0x501765(0xc3)](_0x20c14d,_0x5da2ec){const _0x3b5b7c=_0x501765,_0x7ae1a3=new _0x157bd4(this[_0x3b5b7c(0xbd)]);return _0x7ae1a3[_0x3b5b7c(0xc2)]({'label':_0x20c14d,'class':_0x5da2ec||'','isVisible':!0x0,'withText':!0x0}),_0x7ae1a3;}}function _0x10e5(){const _0x720cf4=['33096VdSJvq','ck-button-action','insert','Try\x20again','AI_','3397330QjFyJh','items','replace','1666910egSRzW','ck-ai-form__toolbar','8WXZwBj','isVisible','5746626ZycyoN','bindTemplate','replaceButton','ck-hidden','extendTemplate','toUpperCase','420852XGyFch','tryAgainButton','bind','_CONTENT','Stop','814630GIRvfF','insertButton','stopButton','588fgDLWN','label','addMany','locale','Insert\x20below','mainAction','REPLACE','1JeZXkq','set','_createButton','7221564RoTWxD'];_0x10e5=function(){return _0x720cf4;};return _0x10e5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59b0f8=_0x4dbb;(function(_0x4cf884,_0x17b69e){const _0x23f1c2=_0x4dbb,_0x104524=_0x4cf884();while(!![]){try{const _0x4330b8=parseInt(_0x23f1c2(0xce))/0x1*(parseInt(_0x23f1c2(0xd9))/0x2)+-parseInt(_0x23f1c2(0xc8))/0x3*(parseInt(_0x23f1c2(0xd5))/0x4)+-parseInt(_0x23f1c2(0xee))/0x5+-parseInt(_0x23f1c2(0xd8))/0x6*(parseInt(_0x23f1c2(0xa5))/0x7)+-parseInt(_0x23f1c2(0xa7))/0x8*(parseInt(_0x23f1c2(0xdc))/0x9)+-parseInt(_0x23f1c2(0xa6))/0xa+parseInt(_0x23f1c2(0xbe))/0xb*(parseInt(_0x23f1c2(0xc1))/0xc);if(_0x4330b8===_0x17b69e)break;else _0x104524['push'](_0x104524['shift']());}catch(_0x3f8c41){_0x104524['push'](_0x104524['shift']());}}}(_0x3c45,0x8e2a1));import{FocusTracker as _0x3f42e0,KeystrokeHandler as _0x389e4e}from'ckeditor5/src/utils.js';import{View as _0x10e780,FocusCycler as _0x2d2f15,createLabeledTextarea as _0x1065fa}from'ckeditor5/src/ui.js';function _0x3c45(){const _0x54cb54=['tab','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','element','stopButton','replaceButton','isVisible','chain','add','AI_ERROR_FAILED','set','focusFirst','reset','search','bind','toolbar','locale','2213015JJYbkp','_createHistoryView','isProcessing','bindTemplate','_promptHistory','copyButtonView','fire','focus','contentArea','delegate','mainAction','tryAgainEvent','ck-ai-form-content','finishProcessing','2684199clJlNZ','5991900lSFlQN','122728Bepenw','prompt','focusCycler','ck-ai-form','div','Ask\x20AI\x20to\x20edit\x20or\x20generate','createCollection','submitPrompt','render','text','Empty\x20history','focusTracker','replaceContent','queryView','errorView','handleError','setTemplate','items','historyGroupView','_createPromptView','listenTo','trim','insertButton','11gejYrc','insertContentBelow','fieldView','37729464CNmrvz','REPLACE','ck-hidden','keystrokes','_createToolbar','shift\x20+\x20tab','promptView','78699smUiqK','high','execute','submit','isError','_focusables','373837qrCWys','startProcessing','focusLast','label','Ask\x20AI\x20to\x20improve\x20generated\x20text','clear','tryAgainButton','104rflMlQ','value','clearHistory','12ipmXZx','2DhtCvd','isEnabled','stopProcessing','261xfAvbZ','bindTo'];_0x3c45=function(){return _0x54cb54;};return _0x3c45();}import _0x2ddd15,{AIFormToolbarViewMainActionLabel as _0x3629ef}from'./aiformtoolbarview.js';import _0x3437d6 from'./aiformcontentarea.js';import _0x303ed5 from'./aiformerrorview.js';import _0x47eb65 from'./aiformpromptview.js';import _0xd5bb14 from'./aihistorylistview.js';import _0x127ad4 from'./aihistorylistitemview.js';function _0x4dbb(_0x17e6df,_0x2b89a6){const _0x3c45db=_0x3c45();return _0x4dbb=function(_0x4dbb9f,_0x1f032a){_0x4dbb9f=_0x4dbb9f-0xa4;let _0x14dbaa=_0x3c45db[_0x4dbb9f];return _0x14dbaa;},_0x4dbb(_0x17e6df,_0x2b89a6);}import _0x5245bf from'./prompthistory.js';import{getTranslation as _0x40dcde}from'../../utils/common-translations.js';import{escape as _0x5aaa11}from'lodash-es';export default class N extends _0x10e780{constructor(_0xbed3ce,_0x2381dc,_0x4e3915=''){const _0x5152a8=_0x4dbb;super(_0xbed3ce),this[_0x5152a8(0xe7)](_0x5152a8(0xda),!0x0),this[_0x5152a8(0xe7)](_0x5152a8(0xf0),!0x1),this[_0x5152a8(0xe7)](_0x5152a8(0xa8),''),this[_0x5152a8(0xe7)](_0x5152a8(0xd6),''),this[_0x5152a8(0xe7)](_0x5152a8(0xcc),!0x1),this[_0x5152a8(0xe7)](_0x5152a8(0xf8),_0x3629ef[_0x5152a8(0xc2)]),this[_0x5152a8(0xf2)]=new _0x5245bf(),this[_0x5152a8(0xb5)]=new _0x303ed5(_0xbed3ce),this[_0x5152a8(0xf6)]=new _0x3437d6(_0xbed3ce,_0x4e3915),this[_0x5152a8(0xf6)][_0x5152a8(0xeb)](_0x5152a8(0xf0))['to'](this),this[_0x5152a8(0xf6)][_0x5152a8(0xeb)](_0x5152a8(0xd6))['to'](this),this[_0x5152a8(0xec)]=this[_0x5152a8(0xc5)](),this[_0x5152a8(0xec)][_0x5152a8(0xeb)](_0x5152a8(0xf8))['to'](this),this[_0x5152a8(0xc7)]=this[_0x5152a8(0xba)](),this[_0x5152a8(0xb2)]=new _0x3f42e0(),this[_0x5152a8(0xc4)]=new _0x389e4e(),this[_0x5152a8(0xcd)]=this[_0x5152a8(0xad)]([this[_0x5152a8(0xf6)],this[_0x5152a8(0xf6)][_0x5152a8(0xf3)],this[_0x5152a8(0xec)],this[_0x5152a8(0xc7)]]),this[_0x5152a8(0xa9)]=new _0x2d2f15({'focusables':this[_0x5152a8(0xcd)],'focusTracker':this[_0x5152a8(0xb2)],'keystrokeHandler':this[_0x5152a8(0xc4)],'actions':{'focusPrevious':_0x5152a8(0xc6),'focusNext':_0x5152a8(0xde)}}),this[_0x5152a8(0xa9)][_0x5152a8(0xe4)](this[_0x5152a8(0xc7)][_0x5152a8(0xa9)]),this[_0x5152a8(0xc7)][_0x5152a8(0xb4)][_0x5152a8(0xc0)][_0x5152a8(0xeb)](_0x5152a8(0xd6))['to'](this,_0x5152a8(0xa8));const _0x501218=this[_0x5152a8(0xf1)];this[_0x5152a8(0xb7)]({'tag':_0x5152a8(0xab),'attributes':{'class':['ck',_0x5152a8(0xaa),_0x2381dc],'tabindex':'-1'},'children':[{'tag':_0x5152a8(0xab),'attributes':{'class':['ck',_0x5152a8(0xfa)]},'children':[{'tag':_0x5152a8(0xab),'attributes':{'class':[_0x501218['if'](_0x5152a8(0xcc),_0x5152a8(0xc3),_0x3d6269=>!_0x3d6269)]},'children':[this[_0x5152a8(0xb5)]]},this[_0x5152a8(0xf6)],this[_0x5152a8(0xec)],this[_0x5152a8(0xc7)]]}]});}[_0x59b0f8(0xaf)](){const _0x26bd07=_0x59b0f8;super[_0x26bd07(0xaf)](),this[_0x26bd07(0xb2)][_0x26bd07(0xe5)](this[_0x26bd07(0xf6)][_0x26bd07(0xe0)]),this[_0x26bd07(0xb2)][_0x26bd07(0xe5)](this[_0x26bd07(0xf6)][_0x26bd07(0xf3)][_0x26bd07(0xe0)]),this[_0x26bd07(0xb2)][_0x26bd07(0xe5)](this[_0x26bd07(0xec)][_0x26bd07(0xe0)]),this[_0x26bd07(0xb2)][_0x26bd07(0xe5)](this[_0x26bd07(0xc7)][_0x26bd07(0xe0)]),this[_0x26bd07(0xc4)][_0x26bd07(0xbb)](this[_0x26bd07(0xe0)]);}[_0x59b0f8(0xf5)](_0x59e101=0x1){const _0x58c553=_0x59b0f8;-0x1===_0x59e101?this[_0x58c553(0xa9)][_0x58c553(0xd0)]():this[_0x58c553(0xa9)][_0x58c553(0xe8)]();}[_0x59b0f8(0xe9)](){const _0x9d3954=_0x59b0f8;this[_0x9d3954(0xa8)]='',this[_0x9d3954(0xd6)]='',this[_0x9d3954(0xcc)]=!0x1,this[_0x9d3954(0xc7)][_0x9d3954(0xe9)](),this[_0x9d3954(0xf6)][_0x9d3954(0xe3)]=!0x1,this[_0x9d3954(0xec)][_0x9d3954(0xe3)]=!0x1;}[_0x59b0f8(0xba)](){const _0x4952d5=_0x59b0f8,_0x4d2fb3=this[_0x4952d5(0xed)],_0x48d47a=new _0x47eb65(_0x4d2fb3,{'queryView':{'label':_0x40dcde(_0x4d2fb3,_0x4952d5(0xac)),'creator':_0x1065fa,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x40dcde(_0x4d2fb3,_0x4952d5(0xb1)),'secondary':_0x40dcde(_0x4d2fb3,_0x4952d5(0xdf))}}},'filteredView':this[_0x4952d5(0xef)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x48d47a[_0x4952d5(0xeb)](_0x4952d5(0xda))['to'](this,_0x4952d5(0xda),this,_0x4952d5(0xf0),(_0x18c2a0,_0x4f2f61)=>_0x18c2a0&&!_0x4f2f61),this[_0x4952d5(0xbb)](_0x48d47a,_0x4952d5(0xcb),(_0x34cc13,_0x461c97)=>{const _0x479a63=_0x4952d5;this[_0x479a63(0xa8)]=_0x461c97;const _0x2c092e=_0x5aaa11(_0x461c97);this[_0x479a63(0xf4)](_0x479a63(0xae),_0x2c092e),_0x461c97[_0x479a63(0xbc)]()&&this[_0x479a63(0xf2)][_0x479a63(0xe5)]({'prompt':_0x2c092e},0x0);},{'priority':_0x4952d5(0xc9)}),_0x48d47a;}[_0x59b0f8(0xef)](){const _0x14a073=_0x59b0f8,_0x5f5008=new _0xd5bb14(this[_0x14a073(0xed)]);return _0x5f5008[_0x14a073(0xb9)][_0x14a073(0xb8)][_0x14a073(0xdd)](this[_0x14a073(0xf2)])['as'](_0x127ad4),_0x5f5008['on'](_0x14a073(0xd7),()=>{const _0x2b72b2=_0x14a073;this[_0x2b72b2(0xf2)][_0x2b72b2(0xd3)](),this[_0x2b72b2(0xc7)][_0x2b72b2(0xea)](''),this[_0x2b72b2(0xc7)][_0x2b72b2(0xf5)]();}),_0x5f5008;}[_0x59b0f8(0xc5)](){const _0x5a5275=_0x59b0f8,_0x3e2cfd=new _0x2ddd15(this[_0x5a5275(0xed)]);return _0x3e2cfd[_0x5a5275(0xe2)][_0x5a5275(0xeb)](_0x5a5275(0xda))['to'](this,_0x5a5275(0xda),this,_0x5a5275(0xf0),this,_0x5a5275(0xd6),(_0x30930c,_0x441056,_0x1391ff)=>_0x30930c&&!_0x441056&&!!_0x1391ff),_0x3e2cfd[_0x5a5275(0xe2)][_0x5a5275(0xf7)](_0x5a5275(0xca))['to'](this,_0x5a5275(0xb3)),_0x3e2cfd[_0x5a5275(0xbd)][_0x5a5275(0xeb)](_0x5a5275(0xda))['to'](this,_0x5a5275(0xda),this,_0x5a5275(0xf0),this,_0x5a5275(0xd6),(_0x1a866c,_0x4c8987,_0x58e4d9)=>_0x1a866c&&!_0x4c8987&&!!_0x58e4d9),_0x3e2cfd[_0x5a5275(0xbd)][_0x5a5275(0xf7)](_0x5a5275(0xca))['to'](this,_0x5a5275(0xbf)),_0x3e2cfd[_0x5a5275(0xd4)][_0x5a5275(0xeb)](_0x5a5275(0xda))['to'](this,_0x5a5275(0xda),this,_0x5a5275(0xf0),(_0x4de77f,_0x5238d2)=>_0x4de77f&&!_0x5238d2),_0x3e2cfd[_0x5a5275(0xd4)][_0x5a5275(0xf7)](_0x5a5275(0xca))['to'](this,_0x5a5275(0xf9)),_0x3e2cfd[_0x5a5275(0xe1)][_0x5a5275(0xeb)](_0x5a5275(0xda))['to'](this,_0x5a5275(0xf0)),_0x3e2cfd[_0x5a5275(0xe1)][_0x5a5275(0xf7)](_0x5a5275(0xca))['to'](this,_0x5a5275(0xdb)),_0x3e2cfd;}[_0x59b0f8(0xcf)](){const _0x2b224e=_0x59b0f8;this[_0x2b224e(0xd6)]='',this[_0x2b224e(0xcc)]=!0x1,this[_0x2b224e(0xf0)]=!0x0,this[_0x2b224e(0xf6)][_0x2b224e(0xe3)]=!0x0,this[_0x2b224e(0xec)][_0x2b224e(0xe3)]=!0x0,this[_0x2b224e(0xf6)][_0x2b224e(0xf5)]();}[_0x59b0f8(0xa4)](){const _0x388848=_0x59b0f8,_0x3eb155=this[_0x388848(0xed)];this[_0x388848(0xf0)]=!0x1,this[_0x388848(0xa8)]='',this[_0x388848(0xc7)][_0x388848(0xe9)](),this[_0x388848(0xd6)]&&(this[_0x388848(0xc7)][_0x388848(0xb4)][_0x388848(0xd1)]=_0x40dcde(_0x3eb155,_0x388848(0xd2)));}[_0x59b0f8(0xb6)](_0x4b3299){const _0x2639cf=_0x59b0f8,_0x4672ee=this[_0x2639cf(0xed)];this[_0x2639cf(0xa4)](),this[_0x2639cf(0xcc)]=!0x0,this[_0x2639cf(0xb5)][_0x2639cf(0xb0)]=_0x4b3299||_0x40dcde(_0x4672ee,_0x2639cf(0xe6)),this[_0x2639cf(0xd6)]||(this[_0x2639cf(0xf6)][_0x2639cf(0xe3)]=!0x1);}}
23
+ const _0x30f981=_0x48d5;function _0x48d5(_0x64f251,_0x310e9a){const _0x1d9455=_0x1d94();return _0x48d5=function(_0x48d5c4,_0x5a73d){_0x48d5c4=_0x48d5c4-0x1d0;let _0x1e8ad5=_0x1d9455[_0x48d5c4];return _0x1e8ad5;},_0x48d5(_0x64f251,_0x310e9a);}(function(_0x1a709b,_0x5661e3){const _0xd1e12f=_0x48d5,_0x109fb7=_0x1a709b();while(!![]){try{const _0x8c2a29=parseInt(_0xd1e12f(0x1f9))/0x1+-parseInt(_0xd1e12f(0x1e8))/0x2*(-parseInt(_0xd1e12f(0x221))/0x3)+-parseInt(_0xd1e12f(0x1ea))/0x4+parseInt(_0xd1e12f(0x1e0))/0x5*(-parseInt(_0xd1e12f(0x1f6))/0x6)+-parseInt(_0xd1e12f(0x1e4))/0x7*(parseInt(_0xd1e12f(0x1ef))/0x8)+parseInt(_0xd1e12f(0x20b))/0x9*(-parseInt(_0xd1e12f(0x1ee))/0xa)+parseInt(_0xd1e12f(0x1e6))/0xb;if(_0x8c2a29===_0x5661e3)break;else _0x109fb7['push'](_0x109fb7['shift']());}catch(_0x1c001a){_0x109fb7['push'](_0x109fb7['shift']());}}}(_0x1d94,0x7f265));import{FocusTracker as _0x133659,KeystrokeHandler as _0x2f1218}from'ckeditor5/src/utils.js';import{View as _0x5e7ef7,FocusCycler as _0x3edbc1,createLabeledTextarea as _0x3008aa}from'ckeditor5/src/ui.js';import _0x156f15,{AIFormToolbarViewMainActionLabel as _0xc9ccfd}from'./aiformtoolbarview.js';import _0x5e6c1d from'./aiformcontentarea.js';import _0x4a3b47 from'./aiformerrorview.js';import _0x37d78a from'./aiformpromptview.js';import _0x3b592f from'./aihistorylistview.js';import _0x539c07 from'./aihistorylistitemview.js';import _0x2179df from'./prompthistory.js';function _0x1d94(){const _0x4b734a=['_createPromptView','promptView','label','locale','execute','insertContentBelow','ck-hidden','queryView','clear','replaceContent','listenTo','toolbar','tab','AI_ERROR_FAILED','set','focusTracker','element','bindTo','tryAgainButton','_createHistoryView','isProcessing','9gAgPKV','bind','startProcessing','prompt','isEnabled','historyGroupView','stopButton','replaceButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','high','copyButtonView','shift\x20+\x20tab','_createToolbar','insertButton','clearHistory','delegate','createCollection','render','Empty\x20history','handleError','text','28465TmBSdp','fire','chain','submit','210NLPGgv','_promptHistory','11880242vYwDRy','tryAgainEvent','328050RZSnAf','focus','677348lmcQMY','add','focusCycler','setTemplate','10HpGqxh','253752NvPPZg','focusLast','value','errorView','items','focusFirst','search','618vMgGLA','Ask\x20AI\x20to\x20edit\x20or\x20generate','bindTemplate','693135EhHsGa','fieldView','_focusables','ck-ai-form-content','keystrokes','submitPrompt','REPLACE','isError','isVisible','mainAction','trim','stopProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','contentArea','div','finishProcessing','reset','ck-ai-form','334269EWTmAa'];_0x1d94=function(){return _0x4b734a;};return _0x1d94();}import{getTranslation as _0x296151}from'../../utils/common-translations.js';import{escape as _0x4e7145}from'lodash-es';export default class N extends _0x5e7ef7{constructor(_0x1418ed,_0x326f5c,_0x4410e1=''){const _0x47105b=_0x48d5;super(_0x1418ed),this[_0x47105b(0x21a)](_0x47105b(0x225),!0x0),this[_0x47105b(0x21a)](_0x47105b(0x220),!0x1),this[_0x47105b(0x21a)](_0x47105b(0x224),''),this[_0x47105b(0x21a)](_0x47105b(0x1f1),''),this[_0x47105b(0x21a)](_0x47105b(0x200),!0x1),this[_0x47105b(0x21a)](_0x47105b(0x202),_0xc9ccfd[_0x47105b(0x1ff)]),this[_0x47105b(0x1e5)]=new _0x2179df(),this[_0x47105b(0x1f2)]=new _0x4a3b47(_0x1418ed),this[_0x47105b(0x206)]=new _0x5e6c1d(_0x1418ed,_0x4410e1),this[_0x47105b(0x206)][_0x47105b(0x222)](_0x47105b(0x220))['to'](this),this[_0x47105b(0x206)][_0x47105b(0x222)](_0x47105b(0x1f1))['to'](this),this[_0x47105b(0x217)]=this[_0x47105b(0x1d7)](),this[_0x47105b(0x217)][_0x47105b(0x222)](_0x47105b(0x202))['to'](this),this[_0x47105b(0x20d)]=this[_0x47105b(0x20c)](),this[_0x47105b(0x21b)]=new _0x133659(),this[_0x47105b(0x1fd)]=new _0x2f1218(),this[_0x47105b(0x1fb)]=this[_0x47105b(0x1db)]([this[_0x47105b(0x206)],this[_0x47105b(0x206)][_0x47105b(0x1d5)],this[_0x47105b(0x217)],this[_0x47105b(0x20d)]]),this[_0x47105b(0x1ec)]=new _0x3edbc1({'focusables':this[_0x47105b(0x1fb)],'focusTracker':this[_0x47105b(0x21b)],'keystrokeHandler':this[_0x47105b(0x1fd)],'actions':{'focusPrevious':_0x47105b(0x1d6),'focusNext':_0x47105b(0x218)}}),this[_0x47105b(0x1ec)][_0x47105b(0x1e2)](this[_0x47105b(0x20d)][_0x47105b(0x1ec)]),this[_0x47105b(0x20d)][_0x47105b(0x213)][_0x47105b(0x1fa)][_0x47105b(0x222)](_0x47105b(0x1f1))['to'](this,_0x47105b(0x224));const _0xe8b4ee=this[_0x47105b(0x1f8)];this[_0x47105b(0x1ed)]({'tag':_0x47105b(0x207),'attributes':{'class':['ck',_0x47105b(0x20a),_0x326f5c],'tabindex':'-1'},'children':[{'tag':_0x47105b(0x207),'attributes':{'class':['ck',_0x47105b(0x1fc)]},'children':[{'tag':_0x47105b(0x207),'attributes':{'class':[_0xe8b4ee['if'](_0x47105b(0x200),_0x47105b(0x212),_0x4caf88=>!_0x4caf88)]},'children':[this[_0x47105b(0x1f2)]]},this[_0x47105b(0x206)],this[_0x47105b(0x217)],this[_0x47105b(0x20d)]]}]});}[_0x30f981(0x1dc)](){const _0xfdbf5d=_0x30f981;super[_0xfdbf5d(0x1dc)](),this[_0xfdbf5d(0x21b)][_0xfdbf5d(0x1eb)](this[_0xfdbf5d(0x206)][_0xfdbf5d(0x21c)]),this[_0xfdbf5d(0x21b)][_0xfdbf5d(0x1eb)](this[_0xfdbf5d(0x206)][_0xfdbf5d(0x1d5)][_0xfdbf5d(0x21c)]),this[_0xfdbf5d(0x21b)][_0xfdbf5d(0x1eb)](this[_0xfdbf5d(0x217)][_0xfdbf5d(0x21c)]),this[_0xfdbf5d(0x21b)][_0xfdbf5d(0x1eb)](this[_0xfdbf5d(0x20d)][_0xfdbf5d(0x21c)]),this[_0xfdbf5d(0x1fd)][_0xfdbf5d(0x216)](this[_0xfdbf5d(0x21c)]);}[_0x30f981(0x1e9)](_0x4e6540=0x1){const _0x52de8f=_0x30f981;-0x1===_0x4e6540?this[_0x52de8f(0x1ec)][_0x52de8f(0x1f0)]():this[_0x52de8f(0x1ec)][_0x52de8f(0x1f4)]();}[_0x30f981(0x209)](){const _0x23e89d=_0x30f981;this[_0x23e89d(0x224)]='',this[_0x23e89d(0x1f1)]='',this[_0x23e89d(0x200)]=!0x1,this[_0x23e89d(0x20d)][_0x23e89d(0x209)](),this[_0x23e89d(0x206)][_0x23e89d(0x201)]=!0x1,this[_0x23e89d(0x217)][_0x23e89d(0x201)]=!0x1;}[_0x30f981(0x20c)](){const _0xaee5b3=_0x30f981,_0x36cc93=this[_0xaee5b3(0x20f)],_0x2177a8=new _0x37d78a(_0x36cc93,{'queryView':{'label':_0x296151(_0x36cc93,_0xaee5b3(0x1f7)),'creator':_0x3008aa,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x296151(_0x36cc93,_0xaee5b3(0x1dd)),'secondary':_0x296151(_0x36cc93,_0xaee5b3(0x205))}}},'filteredView':this[_0xaee5b3(0x21f)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2177a8[_0xaee5b3(0x222)](_0xaee5b3(0x225))['to'](this,_0xaee5b3(0x225),this,_0xaee5b3(0x220),(_0x585402,_0x48666e)=>_0x585402&&!_0x48666e),this[_0xaee5b3(0x216)](_0x2177a8,_0xaee5b3(0x1e3),(_0x237bfd,_0x3d9692)=>{const _0x57557c=_0xaee5b3;this[_0x57557c(0x224)]=_0x3d9692;const _0x2c5241=_0x4e7145(_0x3d9692);this[_0x57557c(0x1e1)](_0x57557c(0x1fe),_0x2c5241),_0x3d9692[_0x57557c(0x203)]()&&this[_0x57557c(0x1e5)][_0x57557c(0x1eb)]({'prompt':_0x2c5241},0x0);},{'priority':_0xaee5b3(0x1d4)}),_0x2177a8;}[_0x30f981(0x21f)](){const _0x5ae82e=_0x30f981,_0x39b66a=new _0x3b592f(this[_0x5ae82e(0x20f)]);return _0x39b66a[_0x5ae82e(0x1d0)][_0x5ae82e(0x1f3)][_0x5ae82e(0x21d)](this[_0x5ae82e(0x1e5)])['as'](_0x539c07),_0x39b66a['on'](_0x5ae82e(0x1d9),()=>{const _0x30753d=_0x5ae82e;this[_0x30753d(0x1e5)][_0x30753d(0x214)](),this[_0x30753d(0x20d)][_0x30753d(0x1f5)](''),this[_0x30753d(0x20d)][_0x30753d(0x1e9)]();}),_0x39b66a;}[_0x30f981(0x1d7)](){const _0x1a040d=_0x30f981,_0x34275d=new _0x156f15(this[_0x1a040d(0x20f)]);return _0x34275d[_0x1a040d(0x1d2)][_0x1a040d(0x222)](_0x1a040d(0x225))['to'](this,_0x1a040d(0x225),this,_0x1a040d(0x220),this,_0x1a040d(0x1f1),(_0x18010e,_0x10b02f,_0x38a4fe)=>_0x18010e&&!_0x10b02f&&!!_0x38a4fe),_0x34275d[_0x1a040d(0x1d2)][_0x1a040d(0x1da)](_0x1a040d(0x210))['to'](this,_0x1a040d(0x215)),_0x34275d[_0x1a040d(0x1d8)][_0x1a040d(0x222)](_0x1a040d(0x225))['to'](this,_0x1a040d(0x225),this,_0x1a040d(0x220),this,_0x1a040d(0x1f1),(_0x177b8f,_0x296fee,_0x29d180)=>_0x177b8f&&!_0x296fee&&!!_0x29d180),_0x34275d[_0x1a040d(0x1d8)][_0x1a040d(0x1da)](_0x1a040d(0x210))['to'](this,_0x1a040d(0x211)),_0x34275d[_0x1a040d(0x21e)][_0x1a040d(0x222)](_0x1a040d(0x225))['to'](this,_0x1a040d(0x225),this,_0x1a040d(0x220),(_0x20626d,_0x1607b8)=>_0x20626d&&!_0x1607b8),_0x34275d[_0x1a040d(0x21e)][_0x1a040d(0x1da)](_0x1a040d(0x210))['to'](this,_0x1a040d(0x1e7)),_0x34275d[_0x1a040d(0x1d1)][_0x1a040d(0x222)](_0x1a040d(0x225))['to'](this,_0x1a040d(0x220)),_0x34275d[_0x1a040d(0x1d1)][_0x1a040d(0x1da)](_0x1a040d(0x210))['to'](this,_0x1a040d(0x204)),_0x34275d;}[_0x30f981(0x223)](){const _0x4ee4a2=_0x30f981;this[_0x4ee4a2(0x1f1)]='',this[_0x4ee4a2(0x200)]=!0x1,this[_0x4ee4a2(0x220)]=!0x0,this[_0x4ee4a2(0x206)][_0x4ee4a2(0x201)]=!0x0,this[_0x4ee4a2(0x217)][_0x4ee4a2(0x201)]=!0x0,this[_0x4ee4a2(0x206)][_0x4ee4a2(0x1e9)]();}[_0x30f981(0x208)](){const _0x34d220=_0x30f981,_0x551e4a=this[_0x34d220(0x20f)];this[_0x34d220(0x220)]=!0x1,this[_0x34d220(0x224)]='',this[_0x34d220(0x20d)][_0x34d220(0x209)](),this[_0x34d220(0x1f1)]&&(this[_0x34d220(0x20d)][_0x34d220(0x213)][_0x34d220(0x20e)]=_0x296151(_0x551e4a,_0x34d220(0x1d3)));}[_0x30f981(0x1de)](_0x409692){const _0x3e6284=_0x30f981,_0x1aef7e=this[_0x3e6284(0x20f)];this[_0x3e6284(0x208)](),this[_0x3e6284(0x200)]=!0x0,this[_0x3e6284(0x1f2)][_0x3e6284(0x1df)]=_0x409692||_0x296151(_0x1aef7e,_0x3e6284(0x219)),this[_0x3e6284(0x1f1)]||(this[_0x3e6284(0x206)][_0x3e6284(0x201)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3402bd,_0x580a26){const _0x379021=_0x475d,_0x93572a=_0x3402bd();while(!![]){try{const _0x4f3a07=-parseInt(_0x379021(0x13f))/0x1*(parseInt(_0x379021(0x13d))/0x2)+-parseInt(_0x379021(0x135))/0x3+parseInt(_0x379021(0x134))/0x4*(-parseInt(_0x379021(0x13c))/0x5)+parseInt(_0x379021(0x140))/0x6+parseInt(_0x379021(0x137))/0x7*(parseInt(_0x379021(0x138))/0x8)+-parseInt(_0x379021(0x131))/0x9+parseInt(_0x379021(0x132))/0xa;if(_0x4f3a07===_0x580a26)break;else _0x93572a['push'](_0x93572a['shift']());}catch(_0xbbae30){_0x93572a['push'](_0x93572a['shift']());}}}(_0x189e,0x8ad3b));import{ListItemView as _0xc02ae4,ButtonView as _0x439886,ButtonLabelWithHighlightView as _0x34c835}from'ckeditor5/src/ui.js';import{unescape as _0x37fc60}from'lodash-es';function _0x475d(_0xc8b23c,_0x2398f0){const _0x189ec4=_0x189e();return _0x475d=function(_0x475ddf,_0x463d1d){_0x475ddf=_0x475ddf-0x131;let _0x1a71e9=_0x189ec4[_0x475ddf];return _0x1a71e9;},_0x475d(_0xc8b23c,_0x2398f0);}function _0x189e(){const _0x3fc5b5=['execute','933010BQwvrO','3291876nNwBOT','prompt','4829148TUihfu','16060740sJmgPL','set','2264428RIauNc','2011617QHxcgd','fire','21nMDwLo','2987048IEOlVA','children','add','locale','5zYeVzw','2YllBEF'];_0x189e=function(){return _0x3fc5b5;};return _0x189e();}export default class os extends _0xc02ae4{constructor(_0x836c89){const _0x209ece=_0x475d;super();const _0x39f8ff=new _0x34c835(),_0x17354c=new _0x439886(this[_0x209ece(0x13b)],_0x39f8ff);this[_0x209ece(0x139)][_0x209ece(0x13a)](_0x17354c),_0x17354c[_0x209ece(0x133)]({'label':_0x836c89[_0x209ece(0x141)],'withText':!0x0}),_0x17354c['on'](_0x209ece(0x13e),()=>{const _0x59e44a=_0x209ece;this[_0x59e44a(0x136)](_0x59e44a(0x13e),{'value':_0x37fc60(_0x836c89[_0x59e44a(0x141)])});});}}
23
+ function _0x4b0b(){const _0x2b5c26=['2699919YRiNdY','318CZeZWC','16FeZUJA','585908tTPKnV','8639tVxpQS','fire','set','locale','5342562gRvqyr','children','add','1045528OKTqLZ','20FHKupz','2562845YVHyab','132rxASMV','prompt','execute','1645238kEtQBz','12mkHaGV'];_0x4b0b=function(){return _0x2b5c26;};return _0x4b0b();}(function(_0x2e3866,_0x2a6867){const _0x3133fa=_0x244c,_0x246295=_0x2e3866();while(!![]){try{const _0x1aa7e7=-parseInt(_0x3133fa(0xe7))/0x1*(-parseInt(_0x3133fa(0xe4))/0x2)+parseInt(_0x3133fa(0xe3))/0x3+parseInt(_0x3133fa(0xe6))/0x4+parseInt(_0x3133fa(0xdd))/0x5*(parseInt(_0x3133fa(0xe2))/0x6)+-parseInt(_0x3133fa(0xe1))/0x7*(parseInt(_0x3133fa(0xe5))/0x8)+parseInt(_0x3133fa(0xd8))/0x9*(-parseInt(_0x3133fa(0xdc))/0xa)+-parseInt(_0x3133fa(0xdb))/0xb*(parseInt(_0x3133fa(0xde))/0xc);if(_0x1aa7e7===_0x2a6867)break;else _0x246295['push'](_0x246295['shift']());}catch(_0x2eff85){_0x246295['push'](_0x246295['shift']());}}}(_0x4b0b,0xb53d5));import{ListItemView as _0x9e3141,ButtonView as _0x5cc0bf,ButtonLabelWithHighlightView as _0x38d037}from'ckeditor5/src/ui.js';import{unescape as _0x14877f}from'lodash-es';function _0x244c(_0x46bdfc,_0x2088f2){const _0x4b0b9=_0x4b0b();return _0x244c=function(_0x244c41,_0x269f6b){_0x244c41=_0x244c41-0xd7;let _0x507992=_0x4b0b9[_0x244c41];return _0x507992;},_0x244c(_0x46bdfc,_0x2088f2);}export default class os extends _0x9e3141{constructor(_0x4826d3){const _0x109703=_0x244c;super();const _0x40ab38=new _0x38d037(),_0x404c53=new _0x5cc0bf(this[_0x109703(0xd7)],_0x40ab38);this[_0x109703(0xd9)][_0x109703(0xda)](_0x404c53),_0x404c53[_0x109703(0xe9)]({'label':_0x4826d3[_0x109703(0xdf)],'withText':!0x0}),_0x404c53['on'](_0x109703(0xe0),()=>{const _0x573240=_0x109703;this[_0x573240(0xe8)](_0x573240(0xe0),{'value':_0x14877f(_0x4826d3[_0x573240(0xdf)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xab81(_0x48fd4d,_0x5d60c2){const _0x83bc14=_0x83bc();return _0xab81=function(_0xab817,_0x116b97){_0xab817=_0xab817-0xd1;let _0x4d48fe=_0x83bc14[_0xab817];return _0x4d48fe;},_0xab81(_0x48fd4d,_0x5d60c2);}const _0x1f45f7=_0xab81;(function(_0x5e247d,_0x1e31f6){const _0x3e620b=_0xab81,_0x290088=_0x5e247d();while(!![]){try{const _0x5b923c=-parseInt(_0x3e620b(0xd7))/0x1*(parseInt(_0x3e620b(0xdc))/0x2)+-parseInt(_0x3e620b(0xe6))/0x3+parseInt(_0x3e620b(0xd5))/0x4+parseInt(_0x3e620b(0xd4))/0x5*(-parseInt(_0x3e620b(0xdb))/0x6)+parseInt(_0x3e620b(0xd8))/0x7+parseInt(_0x3e620b(0xe1))/0x8*(-parseInt(_0x3e620b(0xdd))/0x9)+parseInt(_0x3e620b(0xd9))/0xa;if(_0x5b923c===_0x1e31f6)break;else _0x290088['push'](_0x290088['shift']());}catch(_0x393457){_0x290088['push'](_0x290088['shift']());}}}(_0x83bc,0x5c9ff));function _0x83bc(){const _0x6bb250=['items','label','children','set','Prompt\x20history','execute','_createClearHistoryButton','120vITnVk','1929908CETFPq','add','105863UXGNbx','1332835hFTUjt','5857140HRIciF','Clear','29364ldoyJP','4EehqUd','5067gQrKfU','historyGroupView','delegate','clearHistoryButton','6288PPlDxp','locale','length','fire','clearHistory','322515FLdcJb','filter'];_0x83bc=function(){return _0x6bb250;};return _0x83bc();}import{ListView as _0x19a6fb,ListItemGroupView as _0xfae8a8,ButtonView as _0x9e423d}from'ckeditor5/src/ui.js';import{getTranslation as _0x461222}from'../../utils/common-translations.js';export default class hs extends _0x19a6fb{constructor(_0x541633){const _0xdf040e=_0xab81;super(_0x541633),this[_0xdf040e(0xe0)]=this[_0xdf040e(0xd3)](),this[_0xdf040e(0xde)]=new _0xfae8a8(),this[_0xdf040e(0xde)][_0xdf040e(0xea)][_0xdf040e(0xd6)](this[_0xdf040e(0xe0)],0x1),this[_0xdf040e(0xde)][_0xdf040e(0xe9)]=_0x461222(_0x541633,_0xdf040e(0xd1)),this[_0xdf040e(0xde)][_0xdf040e(0xe8)][_0xdf040e(0xdf)](_0xdf040e(0xd2))['to'](this),this[_0xdf040e(0xe8)][_0xdf040e(0xd6)](this[_0xdf040e(0xde)]);}[_0x1f45f7(0xe7)](){const _0x5b3988=_0x1f45f7;let _0x261752=0x0;for(const _0x45d13b of this[_0x5b3988(0xe8)])_0x261752+=_0x45d13b[_0x5b3988(0xe8)][_0x5b3988(0xe3)];return{'resultsCount':_0x261752,'totalItemsCount':_0x261752};}[_0x1f45f7(0xd3)](){const _0x355b47=_0x1f45f7,_0x463eae=this[_0x355b47(0xe2)],_0xa34625=new _0x9e423d(this[_0x355b47(0xe2)]);return _0xa34625[_0x355b47(0xeb)]({'label':'('+_0x461222(_0x463eae,_0x355b47(0xda))+')','withText':!0x0}),_0xa34625['on'](_0x355b47(0xd2),()=>this[_0x355b47(0xe4)](_0x355b47(0xe5))),_0xa34625;}}
23
+ const _0xa9bfa6=_0x26fc;(function(_0x3e1dd2,_0x1d4477){const _0x3de8ca=_0x26fc,_0x2fd9e7=_0x3e1dd2();while(!![]){try{const _0x36c10a=-parseInt(_0x3de8ca(0x80))/0x1*(-parseInt(_0x3de8ca(0x72))/0x2)+parseInt(_0x3de8ca(0x7e))/0x3+-parseInt(_0x3de8ca(0x73))/0x4+parseInt(_0x3de8ca(0x76))/0x5*(-parseInt(_0x3de8ca(0x7a))/0x6)+-parseInt(_0x3de8ca(0x81))/0x7+-parseInt(_0x3de8ca(0x68))/0x8+parseInt(_0x3de8ca(0x7c))/0x9;if(_0x36c10a===_0x1d4477)break;else _0x2fd9e7['push'](_0x2fd9e7['shift']());}catch(_0x191698){_0x2fd9e7['push'](_0x2fd9e7['shift']());}}}(_0x5367,0x7a2e2));import{ListView as _0x22a7f1,ListItemGroupView as _0x4101bc,ButtonView as _0x20f951}from'ckeditor5/src/ui.js';function _0x26fc(_0xd406b4,_0x3f3024){const _0x536711=_0x5367();return _0x26fc=function(_0x26fcee,_0x3bd433){_0x26fcee=_0x26fcee-0x68;let _0x3461ff=_0x536711[_0x26fcee];return _0x3461ff;},_0x26fc(_0xd406b4,_0x3f3024);}import{getTranslation as _0x15b790}from'../../utils/common-translations.js';export default class hs extends _0x22a7f1{constructor(_0x17228e){const _0x5264e2=_0x26fc;super(_0x17228e),this[_0x5264e2(0x70)]=this[_0x5264e2(0x6d)](),this[_0x5264e2(0x7d)]=new _0x4101bc(),this[_0x5264e2(0x7d)][_0x5264e2(0x6b)][_0x5264e2(0x6a)](this[_0x5264e2(0x70)],0x1),this[_0x5264e2(0x7d)][_0x5264e2(0x7f)]=_0x15b790(_0x17228e,_0x5264e2(0x6f)),this[_0x5264e2(0x7d)][_0x5264e2(0x78)][_0x5264e2(0x6c)](_0x5264e2(0x74))['to'](this),this[_0x5264e2(0x78)][_0x5264e2(0x6a)](this[_0x5264e2(0x7d)]);}[_0xa9bfa6(0x77)](){const _0x5d75cf=_0xa9bfa6;let _0x53b9cd=0x0;for(const _0x533cc0 of this[_0x5d75cf(0x78)])_0x53b9cd+=_0x533cc0[_0x5d75cf(0x78)][_0x5d75cf(0x69)];return{'resultsCount':_0x53b9cd,'totalItemsCount':_0x53b9cd};}[_0xa9bfa6(0x6d)](){const _0x4240cb=_0xa9bfa6,_0x426fcd=this[_0x4240cb(0x75)],_0x4a90c6=new _0x20f951(this[_0x4240cb(0x75)]);return _0x4a90c6[_0x4240cb(0x7b)]({'label':'('+_0x15b790(_0x426fcd,_0x4240cb(0x6e))+')','withText':!0x0}),_0x4a90c6['on'](_0x4240cb(0x74),()=>this[_0x4240cb(0x71)](_0x4240cb(0x79))),_0x4a90c6;}}function _0x5367(){const _0x4104d9=['label','1412yNgPhK','5478669BisDsb','3632576SakAHn','length','add','children','delegate','_createClearHistoryButton','Clear','Prompt\x20history','clearHistoryButton','fire','634UnaKum','1947556IgnMgl','execute','locale','784345ohRGtn','filter','items','clearHistory','30vuKJSM','set','17436267RouIpJ','historyGroupView','1870368rBCBHR'];_0x5367=function(){return _0x4104d9;};return _0x5367();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x30f2(){const _0x299d8e=['10tTFLSz','addMany','toLowerCase','length','1714224TZvuiz','map','7JoyooY','22LUbDHz','getItem','last','parse','_saveToSessionStorage','738MagVth','remove','10108GiTXtP','4327921iWGfpc','stringify','setItem','CKEditor/AIFormView/PromptHistory','4535505rVYDDT','prompt','trim','3497160MXkIXk','_loadFromSessionStorage','111JDnrao','4272152WdVfEo','add','5YCdVJF','136Oxwped'];_0x30f2=function(){return _0x299d8e;};return _0x30f2();}const _0x3b11f5=_0xe88f;(function(_0x498262,_0x7fb404){const _0x4c8c2f=_0xe88f,_0x27e099=_0x498262();while(!![]){try{const _0x425cbc=parseInt(_0x4c8c2f(0x86))/0x1*(parseInt(_0x4c8c2f(0x8a))/0x2)+-parseInt(_0x4c8c2f(0x7a))/0x3*(-parseInt(_0x4c8c2f(0x7c))/0x4)+parseInt(_0x4c8c2f(0x89))/0x5*(-parseInt(_0x4c8c2f(0x84))/0x6)+parseInt(_0x4c8c2f(0x74))/0x7*(-parseInt(_0x4c8c2f(0x87))/0x8)+-parseInt(_0x4c8c2f(0x81))/0x9*(-parseInt(_0x4c8c2f(0x6e))/0xa)+parseInt(_0x4c8c2f(0x75))/0xb*(parseInt(_0x4c8c2f(0x72))/0xc)+parseInt(_0x4c8c2f(0x7d))/0xd;if(_0x425cbc===_0x7fb404)break;else _0x27e099['push'](_0x27e099['shift']());}catch(_0x57e6a1){_0x27e099['push'](_0x27e099['shift']());}}}(_0x30f2,0x9affd));import{Collection as _0x20548f}from'ckeditor5/src/utils.js';function _0xe88f(_0x1e9e8a,_0x577a74){const _0x30f2ac=_0x30f2();return _0xe88f=function(_0xe88f8d,_0x56cf45){_0xe88f8d=_0xe88f8d-0x6e;let _0x57f3ef=_0x30f2ac[_0xe88f8d];return _0x57f3ef;},_0xe88f(_0x1e9e8a,_0x577a74);}const Ss=_0x3b11f5(0x80);export default class ns extends _0x20548f{constructor(){const _0x4664c5=_0x3b11f5;super(),this[_0x4664c5(0x85)](),this['on'](_0x4664c5(0x88),(_0x437b6a,_0x1b058f)=>{const _0x5329e4=_0x4664c5,_0x5e0865=ds(_0x1b058f[_0x5329e4(0x82)]);for(const _0x4c875b of this)if(_0x4c875b!=_0x1b058f&&ds(_0x4c875b[_0x5329e4(0x82)])===_0x5e0865){this[_0x5329e4(0x7b)](_0x4c875b);break;}this[_0x5329e4(0x71)]>0x14&&this[_0x5329e4(0x7b)](this[_0x5329e4(0x77)]),this[_0x5329e4(0x79)]();}),this['on'](_0x4664c5(0x7b),()=>{const _0x57e651=_0x4664c5;this[_0x57e651(0x79)]();});}[_0x3b11f5(0x85)](){const _0x269b25=_0x3b11f5,_0x3e791c=sessionStorage[_0x269b25(0x76)](Ss)||'[]';this[_0x269b25(0x6f)](JSON[_0x269b25(0x78)](_0x3e791c));}[_0x3b11f5(0x79)](){const _0x1bd728=_0x3b11f5;sessionStorage[_0x1bd728(0x7f)](Ss,JSON[_0x1bd728(0x7e)](this[_0x1bd728(0x73)](_0x1275fc=>_0x1275fc)));}}function ds(_0x33facd){const _0xe3eb13=_0x3b11f5;return _0x33facd[_0xe3eb13(0x70)]()[_0xe3eb13(0x83)]();}
23
+ const _0x4bc79c=_0x3b24;(function(_0x359191,_0x47aefb){const _0x1a310b=_0x3b24,_0x57820d=_0x359191();while(!![]){try{const _0x4590aa=parseInt(_0x1a310b(0x101))/0x1+-parseInt(_0x1a310b(0xef))/0x2+-parseInt(_0x1a310b(0xed))/0x3+-parseInt(_0x1a310b(0xf8))/0x4*(-parseInt(_0x1a310b(0x100))/0x5)+-parseInt(_0x1a310b(0xf1))/0x6+parseInt(_0x1a310b(0xfb))/0x7+parseInt(_0x1a310b(0xfc))/0x8;if(_0x4590aa===_0x47aefb)break;else _0x57820d['push'](_0x57820d['shift']());}catch(_0x6643fa){_0x57820d['push'](_0x57820d['shift']());}}}(_0x11ad,0xbb88e));import{Collection as _0x1f5dc7}from'ckeditor5/src/utils.js';const Ss=_0x4bc79c(0xeb);export default class ns extends _0x1f5dc7{constructor(){const _0x54399d=_0x4bc79c;super(),this[_0x54399d(0xec)](),this['on'](_0x54399d(0xf6),(_0x3fb0cf,_0xed7146)=>{const _0x5976f1=_0x54399d,_0x588bd3=ds(_0xed7146[_0x5976f1(0xfe)]);for(const _0x4242dd of this)if(_0x4242dd!=_0xed7146&&ds(_0x4242dd[_0x5976f1(0xfe)])===_0x588bd3){this[_0x5976f1(0xfd)](_0x4242dd);break;}this[_0x5976f1(0xf3)]>0x14&&this[_0x5976f1(0xfd)](this[_0x5976f1(0xee)]),this[_0x5976f1(0x102)]();}),this['on'](_0x54399d(0xfd),()=>{const _0xa1ab4e=_0x54399d;this[_0xa1ab4e(0x102)]();});}[_0x4bc79c(0xec)](){const _0x44a7d5=_0x4bc79c,_0x325342=sessionStorage[_0x44a7d5(0xfa)](Ss)||'[]';this[_0x44a7d5(0xf5)](JSON[_0x44a7d5(0xf9)](_0x325342));}[_0x4bc79c(0x102)](){const _0x8e77e1=_0x4bc79c;sessionStorage[_0x8e77e1(0xf7)](Ss,JSON[_0x8e77e1(0xf0)](this[_0x8e77e1(0xff)](_0x164fc1=>_0x164fc1)));}}function _0x11ad(){const _0x22e3ba=['trim','length','toLowerCase','addMany','add','setItem','20vLgcGi','parse','getItem','2614997CwieFq','15098280KtZxiD','remove','prompt','map','344470MdpXZf','393934DEbAFF','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','_loadFromSessionStorage','1296558NLOQMW','last','2354810mJrzKA','stringify','3729162kWMBbV'];_0x11ad=function(){return _0x22e3ba;};return _0x11ad();}function _0x3b24(_0x5dd556,_0x40744b){const _0x11ad8e=_0x11ad();return _0x3b24=function(_0x3b240c,_0x3ee7a9){_0x3b240c=_0x3b240c-0xeb;let _0x4b4826=_0x11ad8e[_0x3b240c];return _0x4b4826;},_0x3b24(_0x5dd556,_0x40744b);}function ds(_0x494345){const _0x17479c=_0x4bc79c;return _0x494345[_0x17479c(0xf4)]()[_0x17479c(0xf2)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fec9e=_0x3a57;(function(_0x5725b5,_0x5f34f0){const _0x249b61=_0x3a57,_0x300b0d=_0x5725b5();while(!![]){try{const _0x411bc6=parseInt(_0x249b61(0xef))/0x1*(-parseInt(_0x249b61(0xf8))/0x2)+-parseInt(_0x249b61(0xfc))/0x3*(-parseInt(_0x249b61(0xe0))/0x4)+parseInt(_0x249b61(0xf5))/0x5+parseInt(_0x249b61(0x103))/0x6*(parseInt(_0x249b61(0xe3))/0x7)+-parseInt(_0x249b61(0xff))/0x8*(-parseInt(_0x249b61(0xdd))/0x9)+-parseInt(_0x249b61(0xe9))/0xa+-parseInt(_0x249b61(0x105))/0xb;if(_0x411bc6===_0x5f34f0)break;else _0x300b0d['push'](_0x300b0d['shift']());}catch(_0x5ba4a9){_0x300b0d['push'](_0x300b0d['shift']());}}}(_0x52db,0xc325c));function _0x52db(){const _0x33f63a=['document','model','custom','_hasContext','includes','108zboDaX','from','getSelectedBlocks','4JZIPIt','editor','change:_hasContext','35GdtpXK','name','getRanges','set','execute','reduce','1253280XQmsdj','plugins','concat','getFirstRange','length','_commandDefinitions','297654SHroFu','commands','selection','add','showUI','requiresContent','6153985MjNKuf','hasContent','element','8LwQXPe','enabledCommandsIds','change:isEnabled','isEmpty','184629TheiOc','ai.aiAssistant.disabledElements','getItems','960888AnlZFG','get','config','isCollapsed','572586gekjCF','refresh','12051149fSlwZX','isEnabled'];_0x52db=function(){return _0x33f63a;};return _0x52db();}import{Command as _0x132e0b}from'ckeditor5/src/core.js';import _0x224b27 from'../aiassistantui.js';export default class x extends _0x132e0b{constructor(_0x5cfbda,_0x34100c){const _0x17ebec=_0x3a57;super(_0x5cfbda),this[_0x17ebec(0xee)]=_0x34100c?_0x34100c[_0x17ebec(0xe8)]((_0x5073e4,_0x5dbad0)=>_0x5073e4[_0x17ebec(0xeb)](_0x5dbad0[_0x17ebec(0xf0)]),new Array()):[],this[_0x17ebec(0xe6)](_0x17ebec(0xf9),[]),this['on'](_0x17ebec(0xe2),(_0x21b6d2,_0x1b6879,_0x520fe2)=>{const _0x221f71=_0x17ebec;this[_0x221f71(0x106)]&&(this[_0x221f71(0xf9)]=K(this[_0x221f71(0xee)],_0x520fe2));}),this[_0x17ebec(0xe6)](_0x17ebec(0xdb),!0x1),this['on'](_0x17ebec(0xfa),(_0x2f814a,_0x1c9239,_0x338e60)=>{const _0x2439c2=_0x17ebec;this[_0x2439c2(0xf9)]=_0x338e60?K(this[_0x2439c2(0xee)],this[_0x2439c2(0xdb)]):[];});}[_0x2fec9e(0x104)](){const _0x1716f1=_0x2fec9e,_0x8288a4=this[_0x1716f1(0xe1)][_0x1716f1(0xd9)];this[_0x1716f1(0xdb)]=function(_0x297b7d){const _0x2ee6a8=_0x1716f1,_0x2dd634=_0x297b7d[_0x2ee6a8(0x107)][_0x2ee6a8(0xf1)];return _0x2dd634[_0x2ee6a8(0x102)]?0x0!==[..._0x2dd634[_0x2ee6a8(0xdf)]()][_0x2ee6a8(0xed)]&&![..._0x2dd634[_0x2ee6a8(0xdf)]()][0x0][_0x2ee6a8(0xfb)]:!!_0x297b7d[_0x2ee6a8(0xf6)](_0x2dd634[_0x2ee6a8(0xec)]());}(_0x8288a4);const _0x196f7f=_0x8288a4[_0x1716f1(0x107)][_0x1716f1(0xf1)],_0x3698d4=this[_0x1716f1(0xe1)][_0x1716f1(0x101)][_0x1716f1(0x100)](_0x1716f1(0xfd));for(const _0x5c1583 of _0x196f7f[_0x1716f1(0xe5)]())for(const _0x4a6fbd of _0x5c1583[_0x1716f1(0xfe)]())if(_0x4a6fbd['is'](_0x1716f1(0xf7))&&_0x3698d4[_0x1716f1(0xdc)](_0x4a6fbd[_0x1716f1(0xe4)]))return void(this[_0x1716f1(0x106)]=!0x1);this[_0x1716f1(0x106)]=!0x0;}[_0x2fec9e(0xe7)](_0x4ebf8e='',_0x28b0ce='',_0x49f46c=_0x2fec9e(0xda)){const _0x6ccb2=_0x2fec9e;this[_0x6ccb2(0xe1)][_0x6ccb2(0xea)][_0x6ccb2(0x100)](_0x224b27)[_0x6ccb2(0xf3)](_0x4ebf8e,_0x28b0ce,_0x49f46c);}}function _0x3a57(_0x44ec3c,_0x348d72){const _0x52db0d=_0x52db();return _0x3a57=function(_0x3a5703,_0x506fb7){_0x3a5703=_0x3a5703-0xd9;let _0x4616c1=_0x52db0d[_0x3a5703];return _0x4616c1;},_0x3a57(_0x44ec3c,_0x348d72);}function K(_0x1ea696,_0xc5fcbb){const _0xc37410=_0x2fec9e,_0x177e37=new Set();for(const _0x36f0e7 of _0x1ea696)(_0xc5fcbb||!0x1===_0x36f0e7[_0xc37410(0xf4)])&&_0x177e37[_0xc37410(0xf2)](_0x36f0e7['id']);return Array[_0xc37410(0xde)](_0x177e37);}
23
+ function _0x4da6(_0x14ffd0,_0x3f1cd6){const _0x147b74=_0x147b();return _0x4da6=function(_0x4da609,_0x3ee57){_0x4da609=_0x4da609-0xd9;let _0x9b34ba=_0x147b74[_0x4da609];return _0x9b34ba;},_0x4da6(_0x14ffd0,_0x3f1cd6);}const _0x3371e6=_0x4da6;(function(_0x21b01a,_0x5e20ff){const _0x383cc8=_0x4da6,_0x5eef85=_0x21b01a();while(!![]){try{const _0x3a1846=-parseInt(_0x383cc8(0xdc))/0x1+parseInt(_0x383cc8(0x101))/0x2*(parseInt(_0x383cc8(0xe6))/0x3)+-parseInt(_0x383cc8(0xf1))/0x4+-parseInt(_0x383cc8(0xee))/0x5*(-parseInt(_0x383cc8(0xe5))/0x6)+-parseInt(_0x383cc8(0xfe))/0x7+-parseInt(_0x383cc8(0xf4))/0x8*(-parseInt(_0x383cc8(0xff))/0x9)+parseInt(_0x383cc8(0x105))/0xa;if(_0x3a1846===_0x5e20ff)break;else _0x5eef85['push'](_0x5eef85['shift']());}catch(_0x3c195b){_0x5eef85['push'](_0x5eef85['shift']());}}}(_0x147b,0x6510f));import{Command as _0xd54207}from'ckeditor5/src/core.js';function _0x147b(){const _0x1b2922=['5345109kEqLUo','2491596tjXnXS','_commandDefinitions','4604lPYfBE','_hasContext','isEnabled','length','11933960qhJcSe','custom','change:_hasContext','plugins','getSelectedBlocks','784488GlwUeu','reduce','from','enabledCommandsIds','config','model','change:isEnabled','concat','set','498FSElCX','891qQfvTf','add','isCollapsed','isEmpty','editor','document','element','hasContent','13435cWarXD','getItems','selection','1659652DYUxhQ','refresh','showUI','8dRUwHR','ai.aiAssistant.disabledElements','name','requiresContent','getFirstRange','commands','execute','getRanges','includes','get'];_0x147b=function(){return _0x1b2922;};return _0x147b();}import _0x50f72d from'../aiassistantui.js';export default class x extends _0xd54207{constructor(_0x5c2c69,_0x356b84){const _0x2d867a=_0x4da6;super(_0x5c2c69),this[_0x2d867a(0x100)]=_0x356b84?_0x356b84[_0x2d867a(0xdd)]((_0x564de6,_0x3ae34a)=>_0x564de6[_0x2d867a(0xe3)](_0x3ae34a[_0x2d867a(0xf9)]),new Array()):[],this[_0x2d867a(0xe4)](_0x2d867a(0xdf),[]),this['on'](_0x2d867a(0xd9),(_0x351e28,_0x4796de,_0x2a8d4e)=>{const _0x3ba1b2=_0x2d867a;this[_0x3ba1b2(0x103)]&&(this[_0x3ba1b2(0xdf)]=K(this[_0x3ba1b2(0x100)],_0x2a8d4e));}),this[_0x2d867a(0xe4)](_0x2d867a(0x102),!0x1),this['on'](_0x2d867a(0xe2),(_0x48d074,_0x3f700e,_0x446350)=>{const _0x504299=_0x2d867a;this[_0x504299(0xdf)]=_0x446350?K(this[_0x504299(0x100)],this[_0x504299(0x102)]):[];});}[_0x3371e6(0xf2)](){const _0x1cb54e=_0x3371e6,_0x3fda97=this[_0x1cb54e(0xea)][_0x1cb54e(0xe1)];this[_0x1cb54e(0x102)]=function(_0x351fa9){const _0xa85609=_0x1cb54e,_0x446528=_0x351fa9[_0xa85609(0xeb)][_0xa85609(0xf0)];return _0x446528[_0xa85609(0xe8)]?0x0!==[..._0x446528[_0xa85609(0xdb)]()][_0xa85609(0x104)]&&![..._0x446528[_0xa85609(0xdb)]()][0x0][_0xa85609(0xe9)]:!!_0x351fa9[_0xa85609(0xed)](_0x446528[_0xa85609(0xf8)]());}(_0x3fda97);const _0x38c2a9=_0x3fda97[_0x1cb54e(0xeb)][_0x1cb54e(0xf0)],_0x1f329a=this[_0x1cb54e(0xea)][_0x1cb54e(0xe0)][_0x1cb54e(0xfd)](_0x1cb54e(0xf5));for(const _0x1a3050 of _0x38c2a9[_0x1cb54e(0xfb)]())for(const _0x3950d7 of _0x1a3050[_0x1cb54e(0xef)]())if(_0x3950d7['is'](_0x1cb54e(0xec))&&_0x1f329a[_0x1cb54e(0xfc)](_0x3950d7[_0x1cb54e(0xf6)]))return void(this[_0x1cb54e(0x103)]=!0x1);this[_0x1cb54e(0x103)]=!0x0;}[_0x3371e6(0xfa)](_0x5cea51='',_0x1b0298='',_0x9c3241=_0x3371e6(0x106)){const _0x41de93=_0x3371e6;this[_0x41de93(0xea)][_0x41de93(0xda)][_0x41de93(0xfd)](_0x50f72d)[_0x41de93(0xf3)](_0x5cea51,_0x1b0298,_0x9c3241);}}function K(_0x5cb944,_0x52f4f6){const _0x38f20a=_0x3371e6,_0xb00a6b=new Set();for(const _0x24d735 of _0x5cb944)(_0x52f4f6||!0x1===_0x24d735[_0x38f20a(0xf7)])&&_0xb00a6b[_0x38f20a(0xe7)](_0x24d735['id']);return Array[_0x38f20a(0xde)](_0xb00a6b);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x396f4d,_0x548f73,_0x5ebee0){const t=_0x396f4d['t'];switch(_0x548f73){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'%0\x20commands\x20found':return t('%0\x20commands\x20found',_0x5ebee0);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',_0x5ebee0);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',_0x5ebee0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5ebee0);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'},_0x5ebee0);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 _0x548f73;}}
23
+ export function getTranslation(_0x40b21f,_0x28848c,_0x1a62f1){const t=_0x40b21f['t'];switch(_0x28848c){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'%0\x20commands\x20found':return t('%0\x20commands\x20found',_0x1a62f1);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',_0x1a62f1);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',_0x1a62f1);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1a62f1);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'},_0x1a62f1);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 _0x28848c;}}