@ckeditor/ckeditor5-ai 43.0.0-alpha.6 → 43.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/ug.js +1 -1
  97. package/dist/translations/ug.umd.js +1 -1
  98. package/dist/translations/uk.js +1 -1
  99. package/dist/translations/uk.umd.js +1 -1
  100. package/dist/translations/ur.js +1 -1
  101. package/dist/translations/ur.umd.js +1 -1
  102. package/dist/translations/uz.js +1 -1
  103. package/dist/translations/uz.umd.js +1 -1
  104. package/dist/translations/vi.js +1 -1
  105. package/dist/translations/vi.umd.js +1 -1
  106. package/dist/translations/zh-cn.js +1 -1
  107. package/dist/translations/zh-cn.umd.js +1 -1
  108. package/dist/translations/zh.js +1 -1
  109. package/dist/translations/zh.umd.js +1 -1
  110. package/package.json +8 -8
  111. package/src/adapters/aiadapter.js +1 -1
  112. package/src/adapters/aitextadapter.js +1 -1
  113. package/src/adapters/awstextadapter.js +1 -1
  114. package/src/adapters/openaitextadapter.js +1 -1
  115. package/src/aiassistant.js +1 -1
  116. package/src/aiassistantediting.js +1 -1
  117. package/src/aiassistantui.js +1 -1
  118. package/src/index.js +1 -1
  119. package/src/ui/aiassistantcontroller.js +2 -2
  120. package/src/ui/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 _0x409e(_0x1a578d,_0x43e388){var _0x2c583a=_0x2c58();return _0x409e=function(_0x409ea9,_0x5799c9){_0x409ea9=_0x409ea9-0x1e6;var _0x583ece=_0x2c583a[_0x409ea9];return _0x583ece;},_0x409e(_0x1a578d,_0x43e388);}(function(_0x1d0b71,_0x4e7c5c){var _0x23fbd7=_0x409e,_0x57ac98=_0x1d0b71();while(!![]){try{var _0x26fac7=-parseInt(_0x23fbd7(0x1ea))/0x1*(-parseInt(_0x23fbd7(0x1ed))/0x2)+parseInt(_0x23fbd7(0x1ef))/0x3*(parseInt(_0x23fbd7(0x1ec))/0x4)+-parseInt(_0x23fbd7(0x1ee))/0x5+-parseInt(_0x23fbd7(0x1e7))/0x6*(parseInt(_0x23fbd7(0x1e9))/0x7)+parseInt(_0x23fbd7(0x1e8))/0x8+parseInt(_0x23fbd7(0x1e6))/0x9+parseInt(_0x23fbd7(0x1eb))/0xa;if(_0x26fac7===_0x4e7c5c)break;else _0x57ac98['push'](_0x57ac98['shift']());}catch(_0x4159d8){_0x57ac98['push'](_0x57ac98['shift']());}}}(_0x2c58,0xec352));export{default as AIAssistant}from'./aiassistant.js';function _0x2c58(){var _0x1e5246=['3743688ENfoiQ','8395961aQQinm','17021SSOfma','7979760HmimNT','3246832CgPyIa','50mwVJbg','2537000OHxjvP','3LpVyMw','1540431ZoOrkA','6CuKYzC'];_0x2c58=function(){return _0x1e5246;};return _0x2c58();}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';
23
+ (function(_0x74a69c,_0x11f103){var _0x5a7a79=_0x4a5c,_0x2484af=_0x74a69c();while(!![]){try{var _0x101964=parseInt(_0x5a7a79(0x199))/0x1+parseInt(_0x5a7a79(0x198))/0x2+-parseInt(_0x5a7a79(0x195))/0x3*(parseInt(_0x5a7a79(0x19a))/0x4)+-parseInt(_0x5a7a79(0x19b))/0x5*(parseInt(_0x5a7a79(0x19d))/0x6)+parseInt(_0x5a7a79(0x194))/0x7+-parseInt(_0x5a7a79(0x19c))/0x8+parseInt(_0x5a7a79(0x197))/0x9*(parseInt(_0x5a7a79(0x196))/0xa);if(_0x101964===_0x11f103)break;else _0x2484af['push'](_0x2484af['shift']());}catch(_0x4d614d){_0x2484af['push'](_0x2484af['shift']());}}}(_0x5aa4,0x537e4));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x5aa4(){var _0x464227=['24GtZlEO','4952630tdrtGp','9TIYogW','1174406GUadaT','60779WJSxhd','161288ISBREw','112395KgTeaf','5118792UZptok','90oPsMNo','3488471OEWvCh'];_0x5aa4=function(){return _0x464227;};return _0x5aa4();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x4a5c(_0x1415d6,_0x1bb053){var _0x5aa456=_0x5aa4();return _0x4a5c=function(_0x4a5cc4,_0x5ddb6b){_0x4a5cc4=_0x4a5cc4-0x194;var _0x2cff96=_0x5aa456[_0x4a5cc4];return _0x2cff96;},_0x4a5c(_0x1415d6,_0x1bb053);}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
- const _0x5d1490=_0x1a5f;(function(_0x3c9ff9,_0x545888){const _0x2e965d=_0x1a5f,_0x1a4eed=_0x3c9ff9();while(!![]){try{const _0x4a570e=parseInt(_0x2e965d(0x1c5))/0x1+parseInt(_0x2e965d(0x1ee))/0x2*(-parseInt(_0x2e965d(0x207))/0x3)+parseInt(_0x2e965d(0x1de))/0x4+parseInt(_0x2e965d(0x200))/0x5*(-parseInt(_0x2e965d(0x1dc))/0x6)+-parseInt(_0x2e965d(0x1c7))/0x7+-parseInt(_0x2e965d(0x1c9))/0x8+parseInt(_0x2e965d(0x1cd))/0x9;if(_0x4a570e===_0x545888)break;else _0x1a4eed['push'](_0x1a4eed['shift']());}catch(_0x1775a4){_0x1a4eed['push'](_0x1a4eed['shift']());}}}(_0x38ec,0x233ae));import{ObservableMixin as _0x49d0d6}from'ckeditor5/src/utils.js';import{AIRequestError as _0x17f4d5}from'../adapters/aiadapter.js';function _0x1a5f(_0x54bac2,_0x3f48fe){const _0x38ece=_0x38ec();return _0x1a5f=function(_0x1a5f2b,_0x31796e){_0x1a5f2b=_0x1a5f2b-0x1bb;let _0x13dda6=_0x38ece[_0x1a5f2b];return _0x13dda6;},_0x1a5f(_0x54bac2,_0x3f48fe);}import{Matcher as _0x2ea66e,UpcastWriter as _0x3f09c8}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x38ec(){const _0x400b1f=['mainAction','toModel','then','isProcessing','3TsuXqe','tryAgainEvent','childNodes','_sanitizeHTML','nodeType','render','_sanitizationContainer','document','```html','trim','editing','set','finishProcessing','serializeToString','substring','_stripMarkdownSyntax','push','value','previousActionId','parseFromString','prompt','processor','startProcessing','length','_parseAndNormalizeContent','name','domConverter','div','279001jPylbb','reset','248367JvbBed','querySelector','1251648aPPCLZ','currentResponse','destroy','updateView','652032mxeIng','_domParser','reverse','previousLabel','message','match','custom','abort','viewToDom','makeRequest','listenTo','from','endsWith','innerHTML','<h1></h1>','18wwEMZy','textAdapter','707708zxtIfu','finally','previousQuery','```','stringify','createElement','remove','_handleQuery','_xmlSerializer','catch','isRendered','set:currentContext','submitPrompt','_isH1TagSupportEnabled','rename','htmlProcessor','136102SrUCQZ','data','toView','view','_normalizeResponseHeadings','initialContext','body','setContentOf','once','previousContext','startsWith','exec','ELEMENT_NODE','stopListening','editor','handleError','text/html','stopProcessing','206810rPCyBl','element','currentContext'];_0x38ec=function(){return _0x400b1f;};return _0x38ec();}export default class U extends/* #__PURE__ -- @preserve */
24
- _0x49d0d6(){constructor(_0x20a016,_0x1b353c,_0x3ed43b){const _0x3b7aaf=_0x1a5f;super(),this[_0x3b7aaf(0x1fc)]=_0x20a016,this[_0x3b7aaf(0x1dd)]=_0x1b353c,this[_0x3b7aaf(0x20d)]=document[_0x3b7aaf(0x1e3)](_0x3b7aaf(0x1c4)),this[_0x3b7aaf(0x1ce)]=new DOMParser(),this[_0x3b7aaf(0x1e6)]=new XMLSerializer(),this[_0x3b7aaf(0x1f1)]=_0x3ed43b,this[_0x3b7aaf(0x212)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3b7aaf(0x1e9),(_0x38cfb3,_0x139ae3,_0x2af3cb)=>{const _0x1ae029=_0x3b7aaf;this[_0x1ae029(0x1f1)][_0x1ae029(0x218)]=this[_0x1ae029(0x20a)](_0x2af3cb);}),this[_0x3b7aaf(0x1d7)](this[_0x3b7aaf(0x1f1)],_0x3b7aaf(0x1ea),(_0x3e1676,_0x17bbbe)=>{const _0x4b34af=_0x3b7aaf,_0x1fb227=this[_0x4b34af(0x202)]||this[_0x4b34af(0x1f3)];this[_0x4b34af(0x1e5)](_0x17bbbe,_0x1fb227,_0x4b34af(0x1d3));}),this[_0x3b7aaf(0x1d7)](this[_0x3b7aaf(0x1f1)],_0x3b7aaf(0x208),()=>{const _0xfb72e4=_0x3b7aaf;this[_0xfb72e4(0x1f1)][_0xfb72e4(0x1bd)]=this[_0xfb72e4(0x1d0)],this[_0xfb72e4(0x1e5)](this[_0xfb72e4(0x1e0)],this[_0xfb72e4(0x1f7)],this[_0xfb72e4(0x1bb)],this[_0xfb72e4(0x1d0)]);}),this[_0x3b7aaf(0x1d7)](this[_0x3b7aaf(0x1f1)],_0x3b7aaf(0x1ff),()=>{const _0x5143dd=_0x3b7aaf;this[_0x5143dd(0x1ff)]();});}[_0x5d1490(0x1cb)](){const _0x19be55=_0x5d1490;this[_0x19be55(0x1fb)]();}async[_0x5d1490(0x1cc)]({actionId:_0x1040ad,query:_0x2e5daf,htmlContent:_0x528bca,label:_0x156057,mainActionLabel:_0x279061}){const _0x3fb201=_0x5d1490;this[_0x3fb201(0x1f1)][_0x3fb201(0x1bd)]=_0x156057,this[_0x3fb201(0x1f1)][_0x3fb201(0x203)]=_0x279061,this[_0x3fb201(0x1f3)]=_0x528bca,_0x2e5daf&&(this[_0x3fb201(0x1f1)][_0x3fb201(0x1e8)]?this[_0x3fb201(0x1e5)](_0x2e5daf,_0x528bca,_0x1040ad,_0x156057):this[_0x3fb201(0x1f1)][_0x3fb201(0x1f6)](_0x3fb201(0x20c),()=>{const _0x2395e8=_0x3fb201;this[_0x2395e8(0x1e5)](_0x2e5daf,_0x528bca,_0x1040ad,_0x156057);}));}[_0x5d1490(0x1ff)](){const _0x4bfab8=_0x5d1490;this[_0x4bfab8(0x206)]&&(this[_0x4bfab8(0x206)]=!0x1,this[_0x4bfab8(0x1f1)][_0x4bfab8(0x213)](),this[_0x4bfab8(0x1dd)][_0x4bfab8(0x1d4)]());}[_0x5d1490(0x1c6)](){const _0x3ca41d=_0x5d1490;this[_0x3ca41d(0x1f3)]='',this[_0x3ca41d(0x202)]='',this[_0x3ca41d(0x1ca)]='',this[_0x3ca41d(0x1f7)]='',this[_0x3ca41d(0x1e0)]='',this[_0x3ca41d(0x1d0)]='',this[_0x3ca41d(0x1bb)]=void 0x0,this[_0x3ca41d(0x1f1)][_0x3ca41d(0x1c6)](),this[_0x3ca41d(0x1ff)]();}async[_0x5d1490(0x1e5)](_0x510d53,_0x39c8a7,_0x1a102f,_0x3182c5){const _0x1217a9=_0x5d1490;return this[_0x1217a9(0x206)]=!0x0,this[_0x1217a9(0x1f1)][_0x1217a9(0x1bf)](),this[_0x1217a9(0x1f7)]=_0x39c8a7,this[_0x1217a9(0x1e0)]=_0x510d53,this[_0x1217a9(0x1d0)]=_0x3182c5||_0x510d53,this[_0x1217a9(0x1bb)]=_0x1a102f,new Promise(_0x42fe6a=>{const _0x25954e=_0x1217a9;this[_0x25954e(0x1dd)][_0x25954e(0x1d6)]({'query':_0x510d53,'context':_0x39c8a7,'onData':_0x2973f2=>{const _0x3720db=_0x25954e;this[_0x3720db(0x1ca)]=_0x2973f2,this[_0x3720db(0x202)]=this[_0x3720db(0x1c1)](this[_0x3720db(0x1ca)]);},'actionId':_0x1a102f})[_0x25954e(0x205)](()=>{const _0x5794df=_0x25954e;!this[_0x5794df(0x202)]&&this[_0x5794df(0x1ca)]&&(this[_0x5794df(0x202)]=this[_0x5794df(0x1c1)](this[_0x5794df(0x1ca)],!0x0));})[_0x25954e(0x1e7)](_0x3862f1=>{const _0x28fded=_0x25954e;_0x3862f1 instanceof _0x17f4d5?this[_0x28fded(0x1f1)][_0x28fded(0x1fd)](_0x3862f1[_0x28fded(0x1d1)]):this[_0x28fded(0x1f1)][_0x28fded(0x1fd)](),_0x42fe6a();})[_0x25954e(0x1df)](()=>{const _0x39e3d0=_0x25954e;this[_0x39e3d0(0x1ff)](),_0x42fe6a();});});}[_0x5d1490(0x1c1)](_0x34a5de,_0x408694=!0x1){const _0x2c5c94=_0x5d1490,_0x45b73d=X[_0x2c5c94(0x1f9)](_0x34a5de);_0x34a5de=_0x45b73d?_0x34a5de[_0x2c5c94(0x215)](_0x45b73d[0x1][_0x2c5c94(0x1c0)]):_0x34a5de[_0x2c5c94(0x1c0)]<0x64&&!_0x408694?'':this[_0x2c5c94(0x216)](_0x34a5de);const _0x582738=this[_0x2c5c94(0x1ce)][_0x2c5c94(0x1bc)](_0x34a5de,_0x2c5c94(0x1fe));if(_0x45b73d){const _0x2dbfae=Array[_0x2c5c94(0x1d8)](_0x582738[_0x2c5c94(0x1f4)][_0x2c5c94(0x209)]);_0x2dbfae[_0x2c5c94(0x1cf)]();for(const _0x4372a8 of _0x2dbfae){if(_0x4372a8[_0x2c5c94(0x20b)]==Node[_0x2c5c94(0x1fa)])break;_0x4372a8[_0x2c5c94(0x1e4)]();}}const _0x584758=this[_0x2c5c94(0x1fc)][_0x2c5c94(0x1ef)][_0x2c5c94(0x1be)][_0x2c5c94(0x1f0)](this[_0x2c5c94(0x1e6)][_0x2c5c94(0x214)](_0x582738[_0x2c5c94(0x1f4)]));return this[_0x2c5c94(0x1eb)]()||this[_0x2c5c94(0x1f2)](_0x584758),this[_0x2c5c94(0x1fc)][_0x2c5c94(0x1ef)][_0x2c5c94(0x1e2)](this[_0x2c5c94(0x1fc)][_0x2c5c94(0x1ef)][_0x2c5c94(0x204)](_0x584758));}[_0x5d1490(0x1f2)](_0x544fe1){const _0x314ee6=_0x5d1490,_0x1d5f9d=new _0x3f09c8(this[_0x314ee6(0x1fc)][_0x314ee6(0x211)][_0x314ee6(0x1f1)][_0x314ee6(0x20e)]),_0x4e527f=new _0x2ea66e({'name':/^h[1-5]$/}),_0x552ad9=[];let _0x4b45d4=!0x1;for(const _0x4c34c0 of _0x544fe1)_0x4c34c0['is'](_0x314ee6(0x201))&&_0x4e527f[_0x314ee6(0x1d2)](_0x4c34c0)&&(_0x552ad9[_0x314ee6(0x217)](_0x4c34c0),'h1'==_0x4c34c0[_0x314ee6(0x1c2)]&&(_0x4b45d4=!0x0));if(_0x4b45d4){for(const _0x225af3 of _0x552ad9)_0x1d5f9d[_0x314ee6(0x1ec)]('h'+(parseInt(_0x225af3[_0x314ee6(0x1c2)][0x1])+0x1),_0x225af3);}}[_0x5d1490(0x1eb)](){const _0x81b549=_0x5d1490,{data:_0x137aef,editing:_0x4c4ff3}=this[_0x81b549(0x1fc)],_0x106957=_0x137aef[_0x81b549(0x1ed)][_0x81b549(0x1f0)](_0x81b549(0x1db)),_0x2ad119=_0x137aef[_0x81b549(0x1f0)](_0x137aef[_0x81b549(0x204)](_0x106957));return!!_0x4c4ff3[_0x81b549(0x1f1)][_0x81b549(0x1c3)][_0x81b549(0x1d5)](_0x2ad119)[_0x81b549(0x1c8)]('h1');}[_0x5d1490(0x20a)](_0x382dde){const _0x1e897b=_0x5d1490;return this[_0x1e897b(0x1fc)][_0x1e897b(0x211)][_0x1e897b(0x1f1)][_0x1e897b(0x1c3)][_0x1e897b(0x1f5)](this[_0x1e897b(0x20d)],_0x382dde),this[_0x1e897b(0x20d)][_0x1e897b(0x1da)];}[_0x5d1490(0x216)](_0x5ea3b3){const _0x1d2e6d=_0x5d1490,_0x514a50=_0x5ea3b3[_0x1d2e6d(0x210)]();return _0x514a50[_0x1d2e6d(0x1f8)](_0x1d2e6d(0x20f))?_0x514a50[_0x1d2e6d(0x1d9)](_0x1d2e6d(0x1e1))?_0x514a50[_0x1d2e6d(0x215)](0x7,_0x514a50[_0x1d2e6d(0x1c0)]-0x3):_0x514a50[_0x1d2e6d(0x215)](0x7):_0x5ea3b3;}}
23
+ const _0x1bc1d1=_0x6566;function _0x6566(_0x1bfc62,_0x1a6458){const _0x35e66d=_0x35e6();return _0x6566=function(_0x656679,_0x3aeab5){_0x656679=_0x656679-0x92;let _0x4ec942=_0x35e66d[_0x656679];return _0x4ec942;},_0x6566(_0x1bfc62,_0x1a6458);}(function(_0x3ffe52,_0xda548a){const _0x18b382=_0x6566,_0x2cab5f=_0x3ffe52();while(!![]){try{const _0x10de23=parseInt(_0x18b382(0xf0))/0x1+parseInt(_0x18b382(0xa9))/0x2*(-parseInt(_0x18b382(0xd9))/0x3)+parseInt(_0x18b382(0xdd))/0x4*(-parseInt(_0x18b382(0xd7))/0x5)+-parseInt(_0x18b382(0xc8))/0x6+-parseInt(_0x18b382(0xbb))/0x7+parseInt(_0x18b382(0xb1))/0x8*(parseInt(_0x18b382(0xcd))/0x9)+-parseInt(_0x18b382(0xbc))/0xa*(parseInt(_0x18b382(0xa3))/0xb);if(_0x10de23===_0xda548a)break;else _0x2cab5f['push'](_0x2cab5f['shift']());}catch(_0x3fae0c){_0x2cab5f['push'](_0x2cab5f['shift']());}}}(_0x35e6,0xe2d18));import{ObservableMixin as _0x5c6732}from'ckeditor5/src/utils.js';import{AIRequestError as _0x5343a7}from'../adapters/aiadapter.js';function _0x35e6(){const _0x1202ef=['isRendered','destroy','textAdapter','length','currentResponse','makeRequest','prompt','previousContext','_sanitizationContainer','createElement','listenTo','processor','remove','viewToDom','_sanitizeHTML','set','1681642LMFbQx','mainAction','innerHTML','previousLabel','updateView','handleError','substring','_normalizeResponseHeadings','message','rename','_isH1TagSupportEnabled','previousQuery','view','```html','name','previousActionId','setContentOf','reset','once','330IgxknQ','trim','body','stopListening','from','finally','2XsWLtj','```','stringify','toModel','document','abort','ELEMENT_NODE','_parseAndNormalizeContent','1816PSuVJM','value','startsWith','childNodes','finishProcessing','endsWith','render','_stripMarkdownSyntax','exec','domConverter','2992276fJfhlZ','2330lbkTjN','data','htmlProcessor','match','currentContext','reverse','initialContext','div','startProcessing','isProcessing','then','parseFromString','5973966ZpnnCp','serializeToString','catch','set:currentContext','custom','40797EInWOg','tryAgainEvent','submitPrompt','text/html','_handleQuery','<h1></h1>','toView','querySelector','_domParser','push','241105fgtazd','editing','475746PTpKQi','editor','stopProcessing','_xmlSerializer','16nRSyex','element','nodeType'];_0x35e6=function(){return _0x1202ef;};return _0x35e6();}import{Matcher as _0x14fa55,UpcastWriter as _0x5dbab4}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
+ _0x5c6732(){constructor(_0x10aa28,_0x4b8425,_0x24d945){const _0x3fe571=_0x6566;super(),this[_0x3fe571(0xda)]=_0x10aa28,this[_0x3fe571(0xe2)]=_0x4b8425,this[_0x3fe571(0xe8)]=document[_0x3fe571(0xe9)](_0x3fe571(0xc3)),this[_0x3fe571(0xd5)]=new DOMParser(),this[_0x3fe571(0xdc)]=new XMLSerializer(),this[_0x3fe571(0x9c)]=_0x24d945,this[_0x3fe571(0xef)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3fe571(0xcb),(_0x88225f,_0x6e54d9,_0x3b8cef)=>{const _0x1eb1ae=_0x3fe571;this[_0x1eb1ae(0x9c)][_0x1eb1ae(0xb2)]=this[_0x1eb1ae(0xee)](_0x3b8cef);}),this[_0x3fe571(0xea)](this[_0x3fe571(0x9c)],_0x3fe571(0xcf),(_0x293e66,_0x120237)=>{const _0x2a79e1=_0x3fe571,_0x4c815d=this[_0x2a79e1(0xc0)]||this[_0x2a79e1(0xc2)];this[_0x2a79e1(0xd1)](_0x120237,_0x4c815d,_0x2a79e1(0xcc));}),this[_0x3fe571(0xea)](this[_0x3fe571(0x9c)],_0x3fe571(0xce),()=>{const _0x5ec715=_0x3fe571;this[_0x5ec715(0x9c)][_0x5ec715(0xe6)]=this[_0x5ec715(0x93)],this[_0x5ec715(0xd1)](this[_0x5ec715(0x9b)],this[_0x5ec715(0xe7)],this[_0x5ec715(0x9f)],this[_0x5ec715(0x93)]);}),this[_0x3fe571(0xea)](this[_0x3fe571(0x9c)],_0x3fe571(0xdb),()=>{const _0xe017b8=_0x3fe571;this[_0xe017b8(0xdb)]();});}[_0x1bc1d1(0xe1)](){const _0x37405f=_0x1bc1d1;this[_0x37405f(0xa6)]();}async[_0x1bc1d1(0x94)]({actionId:_0x145e79,query:_0x57d70d,htmlContent:_0x4d8c6a,label:_0xce233b,mainActionLabel:_0x48ec0e}){const _0x204aa3=_0x1bc1d1;this[_0x204aa3(0x9c)][_0x204aa3(0xe6)]=_0xce233b,this[_0x204aa3(0x9c)][_0x204aa3(0xf1)]=_0x48ec0e,this[_0x204aa3(0xc2)]=_0x4d8c6a,_0x57d70d&&(this[_0x204aa3(0x9c)][_0x204aa3(0xe0)]?this[_0x204aa3(0xd1)](_0x57d70d,_0x4d8c6a,_0x145e79,_0xce233b):this[_0x204aa3(0x9c)][_0x204aa3(0xa2)](_0x204aa3(0xb7),()=>{const _0x143068=_0x204aa3;this[_0x143068(0xd1)](_0x57d70d,_0x4d8c6a,_0x145e79,_0xce233b);}));}[_0x1bc1d1(0xdb)](){const _0x5d2f96=_0x1bc1d1;this[_0x5d2f96(0xc5)]&&(this[_0x5d2f96(0xc5)]=!0x1,this[_0x5d2f96(0x9c)][_0x5d2f96(0xb5)](),this[_0x5d2f96(0xe2)][_0x5d2f96(0xae)]());}[_0x1bc1d1(0xa1)](){const _0x3e712b=_0x1bc1d1;this[_0x3e712b(0xc2)]='',this[_0x3e712b(0xc0)]='',this[_0x3e712b(0xe4)]='',this[_0x3e712b(0xe7)]='',this[_0x3e712b(0x9b)]='',this[_0x3e712b(0x93)]='',this[_0x3e712b(0x9f)]=void 0x0,this[_0x3e712b(0x9c)][_0x3e712b(0xa1)](),this[_0x3e712b(0xdb)]();}async[_0x1bc1d1(0xd1)](_0x2a1a7c,_0x355159,_0x4834ef,_0x4094d9){const _0x4ea41b=_0x1bc1d1;return this[_0x4ea41b(0xc5)]=!0x0,this[_0x4ea41b(0x9c)][_0x4ea41b(0xc4)](),this[_0x4ea41b(0xe7)]=_0x355159,this[_0x4ea41b(0x9b)]=_0x2a1a7c,this[_0x4ea41b(0x93)]=_0x4094d9||_0x2a1a7c,this[_0x4ea41b(0x9f)]=_0x4834ef,new Promise(_0x3ea2b3=>{const _0x41ff4d=_0x4ea41b;this[_0x41ff4d(0xe2)][_0x41ff4d(0xe5)]({'query':_0x2a1a7c,'context':_0x355159,'onData':_0x59a883=>{const _0xfa15d4=_0x41ff4d;this[_0xfa15d4(0xe4)]=_0x59a883,this[_0xfa15d4(0xc0)]=this[_0xfa15d4(0xb0)](this[_0xfa15d4(0xe4)]);},'actionId':_0x4834ef})[_0x41ff4d(0xc6)](()=>{const _0xbef73e=_0x41ff4d;!this[_0xbef73e(0xc0)]&&this[_0xbef73e(0xe4)]&&(this[_0xbef73e(0xc0)]=this[_0xbef73e(0xb0)](this[_0xbef73e(0xe4)],!0x0));})[_0x41ff4d(0xca)](_0x1aa11a=>{const _0xda6299=_0x41ff4d;_0x1aa11a instanceof _0x5343a7?this[_0xda6299(0x9c)][_0xda6299(0x95)](_0x1aa11a[_0xda6299(0x98)]):this[_0xda6299(0x9c)][_0xda6299(0x95)](),_0x3ea2b3();})[_0x41ff4d(0xa8)](()=>{const _0x47b23f=_0x41ff4d;this[_0x47b23f(0xdb)](),_0x3ea2b3();});});}[_0x1bc1d1(0xb0)](_0x21aa8f,_0x49ad3a=!0x1){const _0x102796=_0x1bc1d1,_0x4f3797=X[_0x102796(0xb9)](_0x21aa8f);_0x21aa8f=_0x4f3797?_0x21aa8f[_0x102796(0x96)](_0x4f3797[0x1][_0x102796(0xe3)]):_0x21aa8f[_0x102796(0xe3)]<0x64&&!_0x49ad3a?'':this[_0x102796(0xb8)](_0x21aa8f);const _0x2a3b66=this[_0x102796(0xd5)][_0x102796(0xc7)](_0x21aa8f,_0x102796(0xd0));if(_0x4f3797){const _0x43f0e4=Array[_0x102796(0xa7)](_0x2a3b66[_0x102796(0xa5)][_0x102796(0xb4)]);_0x43f0e4[_0x102796(0xc1)]();for(const _0x37e30a of _0x43f0e4){if(_0x37e30a[_0x102796(0xdf)]==Node[_0x102796(0xaf)])break;_0x37e30a[_0x102796(0xec)]();}}const _0xcae290=this[_0x102796(0xda)][_0x102796(0xbd)][_0x102796(0xeb)][_0x102796(0xd3)](this[_0x102796(0xdc)][_0x102796(0xc9)](_0x2a3b66[_0x102796(0xa5)]));return this[_0x102796(0x9a)]()||this[_0x102796(0x97)](_0xcae290),this[_0x102796(0xda)][_0x102796(0xbd)][_0x102796(0xab)](this[_0x102796(0xda)][_0x102796(0xbd)][_0x102796(0xac)](_0xcae290));}[_0x1bc1d1(0x97)](_0x5db344){const _0x51bd57=_0x1bc1d1,_0x3cacfa=new _0x5dbab4(this[_0x51bd57(0xda)][_0x51bd57(0xd8)][_0x51bd57(0x9c)][_0x51bd57(0xad)]),_0x3469bc=new _0x14fa55({'name':/^h[1-5]$/}),_0x1314b1=[];let _0x115703=!0x1;for(const _0x14e797 of _0x5db344)_0x14e797['is'](_0x51bd57(0xde))&&_0x3469bc[_0x51bd57(0xbf)](_0x14e797)&&(_0x1314b1[_0x51bd57(0xd6)](_0x14e797),'h1'==_0x14e797[_0x51bd57(0x9e)]&&(_0x115703=!0x0));if(_0x115703){for(const _0x301ef0 of _0x1314b1)_0x3cacfa[_0x51bd57(0x99)]('h'+(parseInt(_0x301ef0[_0x51bd57(0x9e)][0x1])+0x1),_0x301ef0);}}[_0x1bc1d1(0x9a)](){const _0x331b40=_0x1bc1d1,{data:_0x247c05,editing:_0x5c5db1}=this[_0x331b40(0xda)],_0xa6e476=_0x247c05[_0x331b40(0xbe)][_0x331b40(0xd3)](_0x331b40(0xd2)),_0x22d6c6=_0x247c05[_0x331b40(0xd3)](_0x247c05[_0x331b40(0xac)](_0xa6e476));return!!_0x5c5db1[_0x331b40(0x9c)][_0x331b40(0xba)][_0x331b40(0xed)](_0x22d6c6)[_0x331b40(0xd4)]('h1');}[_0x1bc1d1(0xee)](_0x39ec31){const _0x2f1f6b=_0x1bc1d1;return this[_0x2f1f6b(0xda)][_0x2f1f6b(0xd8)][_0x2f1f6b(0x9c)][_0x2f1f6b(0xba)][_0x2f1f6b(0xa0)](this[_0x2f1f6b(0xe8)],_0x39ec31),this[_0x2f1f6b(0xe8)][_0x2f1f6b(0x92)];}[_0x1bc1d1(0xb8)](_0xd6d421){const _0x3c2f96=_0x1bc1d1,_0x3cd0ba=_0xd6d421[_0x3c2f96(0xa4)]();return _0x3cd0ba[_0x3c2f96(0xb3)](_0x3c2f96(0x9d))?_0x3cd0ba[_0x3c2f96(0xb6)](_0x3c2f96(0xaa))?_0x3cd0ba[_0x3c2f96(0x96)](0x7,_0x3cd0ba[_0x3c2f96(0xe3)]-0x3):_0x3cd0ba[_0x3c2f96(0x96)](0x7):_0xd6d421;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34a061=_0x48a9;(function(_0x37c730,_0x10b5b0){const _0xeeb1ba=_0x48a9,_0x537f21=_0x37c730();while(!![]){try{const _0x307762=-parseInt(_0xeeb1ba(0xc7))/0x1*(-parseInt(_0xeeb1ba(0xca))/0x2)+-parseInt(_0xeeb1ba(0xc9))/0x3*(parseInt(_0xeeb1ba(0xc5))/0x4)+-parseInt(_0xeeb1ba(0xbe))/0x5+-parseInt(_0xeeb1ba(0xc6))/0x6*(parseInt(_0xeeb1ba(0xcc))/0x7)+parseInt(_0xeeb1ba(0xcf))/0x8*(parseInt(_0xeeb1ba(0xd3))/0x9)+-parseInt(_0xeeb1ba(0xce))/0xa*(parseInt(_0xeeb1ba(0xc2))/0xb)+parseInt(_0xeeb1ba(0xc0))/0xc*(parseInt(_0xeeb1ba(0xd2))/0xd);if(_0x307762===_0x10b5b0)break;else _0x537f21['push'](_0x537f21['shift']());}catch(_0x54443b){_0x537f21['push'](_0x537f21['shift']());}}}(_0x4df9,0x362ad));import{ListView as _0x489909,ListItemGroupView as _0x3f16a6,filterGroupAndItemNames as _0x2d924e}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x4af566}from'../../aiassistantui.js';export default class S extends _0x489909{constructor(_0x3343ed){const _0x16df3d=_0x48a9;super(_0x3343ed),this[_0x16df3d(0xc8)]=_0x16df3d(0xd0),this[_0x16df3d(0xc4)](_0x16df3d(0xd6),[]),this['on'](_0x16df3d(0xc3),()=>{const _0x66b6e4=_0x16df3d;for(const _0x13a210 of this[_0x66b6e4(0xcb)])if(_0x13a210 instanceof _0x3f16a6){for(const _0x434eb3 of _0x13a210[_0x66b6e4(0xcb)])if(_0x434eb3 instanceof _0x4af566){const _0x1e9a89=_0x434eb3[_0x66b6e4(0xd1)][_0x66b6e4(0xd5)](0x0);this[_0x66b6e4(0xd6)][_0x66b6e4(0xbf)](_0x434eb3[_0x66b6e4(0xc1)]['id'])?_0x1e9a89[_0x66b6e4(0xd4)]=!0x0:_0x1e9a89[_0x66b6e4(0xd4)]=!0x1;}}});}[_0x34a061(0xcd)](_0x26af43){const _0x501c86=_0x34a061;return _0x2d924e(_0x26af43,this[_0x501c86(0xcb)]);}}function _0x48a9(_0x26d405,_0x5b2fda){const _0x4df908=_0x4df9();return _0x48a9=function(_0x48a90a,_0x186e97){_0x48a90a=_0x48a90a-0xbe;let _0x2c4397=_0x4df908[_0x48a90a];return _0x2c4397;},_0x48a9(_0x26d405,_0x5b2fda);}function _0x4df9(){const _0x56cf1d=['includes','24zoixNX','commandDefinition','242IBGVaK','change:enabledCommandsIds','set','200svUxRn','12zxwTFC','13oBySnS','role','14493xKsAJt','55006PCaLfJ','items','1063846SZymmi','filter','52390wNSnju','8DxBlOr','listbox','children','1079299cOeiQd','3528783bSHifN','isEnabled','get','enabledCommandsIds','165195uOYWMh'];_0x4df9=function(){return _0x56cf1d;};return _0x4df9();}
23
+ function _0x5130(){const _0xb5631b=['1220952WyQzQO','filter','49385vhVyGs','18347qVEURo','children','2688viJEId','change:enabledCommandsIds','set','enabledCommandsIds','items','isEnabled','46sQzZGS','commandDefinition','get','31116zkPScd','listbox','1666336GxUXiT','381282BwfVXc','45jzATNa','15413180qhMfiT','12111xUTxIQ','20zKqBjK','includes','role'];_0x5130=function(){return _0xb5631b;};return _0x5130();}const _0x34b74a=_0x3a75;(function(_0x2cade1,_0x40973f){const _0x77d867=_0x3a75,_0x2b8e95=_0x2cade1();while(!![]){try{const _0x340c5c=-parseInt(_0x77d867(0x152))/0x1*(-parseInt(_0x77d867(0x143))/0x2)+-parseInt(_0x77d867(0x149))/0x3+parseInt(_0x77d867(0x150))/0x4*(parseInt(_0x77d867(0x14d))/0x5)+-parseInt(_0x77d867(0x13d))/0x6*(parseInt(_0x77d867(0x13b))/0x7)+parseInt(_0x77d867(0x148))/0x8*(parseInt(_0x77d867(0x14a))/0x9)+parseInt(_0x77d867(0x14b))/0xa+-parseInt(_0x77d867(0x14c))/0xb*(parseInt(_0x77d867(0x146))/0xc);if(_0x340c5c===_0x40973f)break;else _0x2b8e95['push'](_0x2b8e95['shift']());}catch(_0x625eeb){_0x2b8e95['push'](_0x2b8e95['shift']());}}}(_0x5130,0xbf41e));import{ListView as _0x556a2b,ListItemGroupView as _0x1b1943,filterGroupAndItemNames as _0x529cb2}from'ckeditor5/src/ui.js';function _0x3a75(_0x2c3cb4,_0x35a971){const _0x51301c=_0x5130();return _0x3a75=function(_0x3a7532,_0x3d7fe1){_0x3a7532=_0x3a7532-0x13b;let _0x38ddfa=_0x51301c[_0x3a7532];return _0x38ddfa;},_0x3a75(_0x2c3cb4,_0x35a971);}import{AICommandsListItemView as _0x5601ea}from'../../aiassistantui.js';export default class S extends _0x556a2b{constructor(_0x21b07d){const _0x66e305=_0x3a75;super(_0x21b07d),this[_0x66e305(0x14f)]=_0x66e305(0x147),this[_0x66e305(0x13f)](_0x66e305(0x140),[]),this['on'](_0x66e305(0x13e),()=>{const _0x488a81=_0x66e305;for(const _0x494d54 of this[_0x488a81(0x141)])if(_0x494d54 instanceof _0x1b1943){for(const _0x26108d of _0x494d54[_0x488a81(0x141)])if(_0x26108d instanceof _0x5601ea){const _0x5c1971=_0x26108d[_0x488a81(0x13c)][_0x488a81(0x145)](0x0);this[_0x488a81(0x140)][_0x488a81(0x14e)](_0x26108d[_0x488a81(0x144)]['id'])?_0x5c1971[_0x488a81(0x142)]=!0x0:_0x5c1971[_0x488a81(0x142)]=!0x1;}}});}[_0x34b74a(0x151)](_0x2b00ff){const _0x389125=_0x34b74a;return _0x529cb2(_0x2b00ff,this[_0x389125(0x141)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7a68d4=_0xb85c;(function(_0x52de55,_0x180ab8){const _0x1e44ff=_0xb85c,_0x1261f2=_0x52de55();while(!![]){try{const _0x298d63=parseInt(_0x1e44ff(0x99))/0x1+parseInt(_0x1e44ff(0x9d))/0x2+parseInt(_0x1e44ff(0xc3))/0x3+parseInt(_0x1e44ff(0x98))/0x4*(parseInt(_0x1e44ff(0xab))/0x5)+parseInt(_0x1e44ff(0xbd))/0x6+parseInt(_0x1e44ff(0x9e))/0x7+-parseInt(_0x1e44ff(0xa7))/0x8;if(_0x298d63===_0x180ab8)break;else _0x1261f2['push'](_0x1261f2['shift']());}catch(_0x2cb57b){_0x1261f2['push'](_0x1261f2['shift']());}}}(_0x2ccd,0x8d9c2));import{global as _0x3c3e03}from'ckeditor5/src/utils.js';function _0xb85c(_0x2e2cf3,_0x2a6001){const _0x2ccd48=_0x2ccd();return _0xb85c=function(_0xb85c8b,_0xe6308f){_0xb85c8b=_0xb85c8b-0x94;let _0x1886b8=_0x2ccd48[_0xb85c8b];return _0x1886b8;},_0xb85c(_0x2e2cf3,_0x2a6001);}import{View as _0x3c15e6,ButtonView as _0x4776da,SpinnerView as _0x53827f}from'ckeditor5/src/ui.js';import _0x2f85fe from'../../../theme/icons/copy.svg';import{getTranslation as _0x348890}from'../../utils/common-translations.js';import{icons as _0x357428}from'ckeditor5/src/core.js';function _0x2ccd(){const _0x22a27e=['ClipboardItem','div','execute','ck-ai-form__content-area','value','ck-ai-form__content-area-wrapper','bindTemplate','setContent','render','-9999px','icon','firstElementChild','scrollTo','check','body','remove','Copy','lastElementChild','.ck-ai-form__loader','set','text/plain','execCommand','createRange','scrollHeight','appendLoader','appendChild','change:value','removeAllRanges','bind','wheel','ck-ai-form__content-area--processing','text/html','write','contentFieldView','setTemplate','style','<span>]</span>','ck-reset_all-excluded','isVisible','ck-ai-form__copy-button','12aCcgty','910767QXyxdA','absolute','innerHTML','<span>[</span>','340166FISMTc','2835994JPkkUj','isEnabled','addRange','createElement','_createCopyButton','loaderView','setEndBefore','AI\x20is\x20writing...','ck-content','27332560WIVVZJ','clipboard','listenTo','ck-ai-form__content-field','820865LyuAdh','getSelection','position','isProcessing','ck-hidden','_createLoader','locale','textContent','ck-ai-form__copy-button-wrapper','class','change:isProcessing','element','copy','_copyHTMLToClipboard','left','querySelector','mousedown','\x20ck-ai-form__copy-button--copied','5450058ccxuyU','smooth','ck-ai-form__loader','setStartAfter','focus','copyButtonView','3329250tDEFgN'];_0x2ccd=function(){return _0x22a27e;};return _0x2ccd();}export default class ot extends _0x3c15e6{constructor(_0x156ebb,_0x29cfd0=''){const _0x299d00=_0xb85c;super(_0x156ebb),this[_0x299d00(0xd7)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x32198e=this[_0x299d00(0xca)];this[_0x299d00(0xe5)]=new ContentFieldView(_0x156ebb,_0x29cfd0),this[_0x299d00(0xc2)]=this[_0x299d00(0xa2)](),this[_0x299d00(0xe6)]({'tag':_0x299d00(0xc5),'attributes':{'class':['ck',_0x299d00(0xc9),_0x32198e['if'](_0x299d00(0x96),_0x299d00(0xaf),_0x2ede3d=>!_0x2ede3d)],'tabindex':'-1'},'children':[{'tag':_0x299d00(0xc5),'attributes':{'class':['ck',_0x299d00(0xc7),_0x32198e['if'](_0x299d00(0xae),_0x299d00(0xe2))]},'children':[this[_0x299d00(0xe5)],{'tag':_0x299d00(0xc5),'attributes':{'class':['ck',_0x299d00(0xb3)]},'children':[this[_0x299d00(0xc2)]]}]}]});}[_0x7a68d4(0xcc)](){const _0x4a4180=_0x7a68d4;super[_0x4a4180(0xcc)](),this[_0x4a4180(0xc8)]&&this[_0x4a4180(0xe5)][_0x4a4180(0xcb)](this[_0x4a4180(0xc8)]);let _0x5b0020=!0x1;this['on'](_0x4a4180(0xde),(_0x44c7f2,_0x510dd1,_0xb4db70)=>{const _0x306330=_0x4a4180,_0xfe0a3d=!this[_0x306330(0xe5)][_0x306330(0xb6)][_0x306330(0xba)](_0x306330(0xd6));this[_0x306330(0xe5)][_0x306330(0xcb)](_0xb4db70),this[_0x306330(0xae)]&&_0xfe0a3d&&!_0x5b0020&&this[_0x306330(0xb6)][_0x306330(0xd0)]({'top':this[_0x306330(0xb6)][_0x306330(0xdb)],'behavior':_0x306330(0xbe)});}),this['on'](_0x4a4180(0xb5),(_0x5a8cbd,_0x2bfc9b,_0x3037d0)=>{const _0x93cf40=_0x4a4180;_0x5b0020=!0x1,_0x3037d0?(this[_0x93cf40(0xc8)]=null,this[_0x93cf40(0xe5)][_0x93cf40(0xdc)]()):this[_0x93cf40(0xc8)]||this[_0x93cf40(0xe5)][_0x93cf40(0xcb)]('');}),this[_0x4a4180(0xa9)](this[_0x4a4180(0xb6)],_0x4a4180(0xe1),()=>{_0x5b0020=!0x0;}),this[_0x4a4180(0xa9)](this[_0x4a4180(0xb6)],_0x4a4180(0xbb),()=>{_0x5b0020=!0x0;});}[_0x7a68d4(0xc1)](){const _0x33d701=_0x7a68d4;this[_0x33d701(0xb6)][_0x33d701(0xc1)]();}[_0x7a68d4(0xa2)](){const _0x31b309=_0x7a68d4,_0x46f85e=this[_0x31b309(0xb1)],_0x45dfb2=new _0x4776da(this[_0x31b309(0xb1)]),_0x15cbed=_0x31b309(0x97);return _0x45dfb2[_0x31b309(0xd7)]({'label':_0x348890(_0x46f85e,_0x31b309(0xd4)),'icon':_0x2f85fe,'class':_0x15cbed,'tooltip':!0x0}),_0x45dfb2[_0x31b309(0xe0)](_0x31b309(0x96))['to'](this,_0x31b309(0xc8),_0x5c54ed=>!!_0x5c54ed),_0x45dfb2[_0x31b309(0xe0)](_0x31b309(0x9f))['to'](this,_0x31b309(0xae),_0x2a0c2a=>!_0x2a0c2a),_0x45dfb2['on'](_0x31b309(0xc6),()=>{const _0x50da56=_0x31b309;this[_0x50da56(0xb8)](this[_0x50da56(0xe5)][_0x50da56(0xb6)]),_0x45dfb2[_0x50da56(0xce)]=_0x357428[_0x50da56(0xd1)],_0x45dfb2[_0x50da56(0xb4)]=_0x15cbed+_0x50da56(0xbc),this[_0x50da56(0xc1)](),setTimeout(()=>{const _0x8e8c4c=_0x50da56;_0x45dfb2[_0x8e8c4c(0xce)]=_0x2f85fe,_0x45dfb2[_0x8e8c4c(0xb4)]=_0x15cbed;},0x3e8);}),_0x45dfb2;}[_0x7a68d4(0xb8)](_0x183409){const _0xabd5fd=_0x7a68d4,{window:_0x50e673,document:_0x2c0021}=_0x3c3e03;if(_0x50e673[_0xabd5fd(0xc4)]){const {Blob:_0x31e8e9,ClipboardItem:_0x5ad65e}=_0x50e673,_0x5ba9f4=[new _0x5ad65e({'text/html':new _0x31e8e9([_0x183409[_0xabd5fd(0x9b)]],{'type':_0xabd5fd(0xe3)}),'text/plain':new _0x31e8e9([_0x183409[_0xabd5fd(0xb2)]||''],{'type':_0xabd5fd(0xd8)})})];navigator[_0xabd5fd(0xa8)][_0xabd5fd(0xe4)](_0x5ba9f4);}else{const _0x463222=_0x2c0021[_0xabd5fd(0xa1)](_0xabd5fd(0xc5));_0x463222[_0xabd5fd(0xe7)][_0xabd5fd(0xad)]=_0xabd5fd(0x9a),_0x463222[_0xabd5fd(0xe7)][_0xabd5fd(0xb9)]=_0xabd5fd(0xcd),_0x463222[_0xabd5fd(0x9b)]=_0xabd5fd(0x9c)+_0x183409[_0xabd5fd(0x9b)]+_0xabd5fd(0x94),_0x2c0021[_0xabd5fd(0xd2)][_0xabd5fd(0xdd)](_0x463222);const _0x5b766f=_0x2c0021[_0xabd5fd(0xda)]();_0x5b766f[_0xabd5fd(0xc0)](_0x463222[_0xabd5fd(0xcf)]),_0x5b766f[_0xabd5fd(0xa4)](_0x463222[_0xabd5fd(0xd5)]);const _0x411ea6=_0x50e673[_0xabd5fd(0xac)]();_0x411ea6[_0xabd5fd(0xdf)](),_0x411ea6[_0xabd5fd(0xa0)](_0x5b766f),_0x2c0021[_0xabd5fd(0xd9)](_0xabd5fd(0xb7)),_0x463222[_0xabd5fd(0xd3)]();}}}export class ContentFieldView extends _0x3c15e6{constructor(_0xfb0ccf,_0xaddb92=''){const _0x125a22=_0x7a68d4;super(_0xfb0ccf),this[_0x125a22(0xa3)]=this[_0x125a22(0xb0)](),this[_0x125a22(0xe6)]({'tag':_0x125a22(0xc5),'attributes':{'class':['ck',_0x125a22(0xa6),_0xaddb92,_0x125a22(0x95),_0x125a22(0xaa)]}});}[_0x7a68d4(0xcb)](_0x4249ae){const _0x41cc33=_0x7a68d4;this[_0x41cc33(0xb6)][_0x41cc33(0x9b)]=_0x4249ae;}[_0x7a68d4(0xdc)](){const _0x1406ed=_0x7a68d4;this[_0x1406ed(0xb6)][_0x1406ed(0xdd)](this[_0x1406ed(0xa3)][_0x1406ed(0xb6)]);}[_0x7a68d4(0xb0)](){const _0x202c31=_0x7a68d4,_0x3ba1e0=new _0x3c15e6(),_0x5d728f=this[_0x202c31(0xb1)],_0x1d3bc5=new _0x53827f();return _0x1d3bc5[_0x202c31(0x96)]=!0x0,_0x3ba1e0[_0x202c31(0xe6)]({'tag':_0x202c31(0xc5),'attributes':{'class':['ck',_0x202c31(0xbf)]},'children':[_0x1d3bc5,{'text':_0x348890(_0x5d728f,_0x202c31(0xa5))}]}),_0x3ba1e0[_0x202c31(0xcc)](),_0x3ba1e0;}}
23
+ const _0x256ad3=_0x1536;function _0x1536(_0x23e1cb,_0x38da4d){const _0x34c041=_0x34c0();return _0x1536=function(_0x1536e3,_0xf74684){_0x1536e3=_0x1536e3-0x176;let _0xa3db9e=_0x34c041[_0x1536e3];return _0xa3db9e;},_0x1536(_0x23e1cb,_0x38da4d);}function _0x34c0(){const _0x1f0aef=['addRange','position','element','ck-reset_all-excluded','getSelection','setStartAfter','isProcessing','ck-ai-form__content-area-wrapper','listenTo','ck-content','ck-ai-form__content-area','scrollTo','setTemplate','48301MamNnA','contentFieldView','focus','removeAllRanges','text/html','ck-ai-form__loader','setContent','set','scrollHeight','loaderView','5354172JgxFgX','change:isProcessing','ck-hidden','text/plain','_copyHTMLToClipboard','appendChild','clipboard','copyButtonView','24TMSZev','change:value','AI\x20is\x20writing...','absolute','render','smooth','<span>[</span>','.ck-ai-form__loader','createElement','ck-ai-form__copy-button','body','setEndBefore','5092968MOigaB','1300yjyUfW','div','152446yDTNbf','write','querySelector','mousedown','isVisible','left','ClipboardItem','ck-ai-form__content-field','349016OGfeOv','createRange','firstElementChild','194785mSQsmX','style','_createLoader','copy','class','-9999px','ck-ai-form__content-area--processing','6906FrKVPQ','ck-ai-form__copy-button-wrapper','remove','Copy','execCommand','appendLoader','9rKKUOU','1630kJcnYR','_createCopyButton','bindTemplate','check','value','locale','<span>]</span>','lastElementChild','bind','icon','\x20ck-ai-form__copy-button--copied','textContent','wheel','isEnabled','execute','innerHTML'];_0x34c0=function(){return _0x1f0aef;};return _0x34c0();}(function(_0x3f2e76,_0x594a50){const _0x481c8c=_0x1536,_0x43ca72=_0x3f2e76();while(!![]){try{const _0x4613c9=-parseInt(_0x481c8c(0x193))/0x1+-parseInt(_0x481c8c(0x190))/0x2*(parseInt(_0x481c8c(0x179))/0x3)+parseInt(_0x481c8c(0x1c8))/0x4+parseInt(_0x481c8c(0x186))/0x5*(-parseInt(_0x481c8c(0x19a))/0x6)+-parseInt(_0x481c8c(0x188))/0x7+-parseInt(_0x481c8c(0x185))/0x8*(-parseInt(_0x481c8c(0x1a0))/0x9)+parseInt(_0x481c8c(0x1a1))/0xa*(parseInt(_0x481c8c(0x1be))/0xb);if(_0x4613c9===_0x594a50)break;else _0x43ca72['push'](_0x43ca72['shift']());}catch(_0x1c6d80){_0x43ca72['push'](_0x43ca72['shift']());}}}(_0x34c0,0xbe302));import{global as _0x12b9d5}from'ckeditor5/src/utils.js';import{View as _0x558218,ButtonView as _0x473d33,SpinnerView as _0x4aaa62}from'ckeditor5/src/ui.js';import _0x26742e from'../../../theme/icons/copy.svg';import{getTranslation as _0x44c212}from'../../utils/common-translations.js';import{icons as _0x3e22bc}from'ckeditor5/src/core.js';export default class ot extends _0x558218{constructor(_0x25a6a8,_0x47fc5f=''){const _0x1b035f=_0x1536;super(_0x25a6a8),this[_0x1b035f(0x1c5)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5aa211=this[_0x1b035f(0x1a3)];this[_0x1b035f(0x1bf)]=new ContentFieldView(_0x25a6a8,_0x47fc5f),this[_0x1b035f(0x178)]=this[_0x1b035f(0x1a2)](),this[_0x1b035f(0x1bd)]({'tag':_0x1b035f(0x187),'attributes':{'class':['ck',_0x1b035f(0x1b8),_0x5aa211['if'](_0x1b035f(0x18c),_0x1b035f(0x1ca),_0x157fe4=>!_0x157fe4)],'tabindex':'-1'},'children':[{'tag':_0x1b035f(0x187),'attributes':{'class':['ck',_0x1b035f(0x1bb),_0x5aa211['if'](_0x1b035f(0x1b7),_0x1b035f(0x199))]},'children':[this[_0x1b035f(0x1bf)],{'tag':_0x1b035f(0x187),'attributes':{'class':['ck',_0x1b035f(0x19b)]},'children':[this[_0x1b035f(0x178)]]}]}]});}[_0x256ad3(0x17d)](){const _0x3294bd=_0x256ad3;super[_0x3294bd(0x17d)](),this[_0x3294bd(0x1a5)]&&this[_0x3294bd(0x1bf)][_0x3294bd(0x1c4)](this[_0x3294bd(0x1a5)]);let _0x5947c2=!0x1;this['on'](_0x3294bd(0x17a),(_0xf04573,_0x4ba425,_0x28e53d)=>{const _0xd5539a=_0x3294bd,_0x53071d=!this[_0xd5539a(0x1bf)][_0xd5539a(0x1b3)][_0xd5539a(0x18a)](_0xd5539a(0x180));this[_0xd5539a(0x1bf)][_0xd5539a(0x1c4)](_0x28e53d),this[_0xd5539a(0x1b7)]&&_0x53071d&&!_0x5947c2&&this[_0xd5539a(0x1b3)][_0xd5539a(0x1bc)]({'top':this[_0xd5539a(0x1b3)][_0xd5539a(0x1c6)],'behavior':_0xd5539a(0x17e)});}),this['on'](_0x3294bd(0x1c9),(_0x426bb7,_0x580bb5,_0x500a1c)=>{const _0x598bf7=_0x3294bd;_0x5947c2=!0x1,_0x500a1c?(this[_0x598bf7(0x1a5)]=null,this[_0x598bf7(0x1bf)][_0x598bf7(0x19f)]()):this[_0x598bf7(0x1a5)]||this[_0x598bf7(0x1bf)][_0x598bf7(0x1c4)]('');}),this[_0x3294bd(0x1b9)](this[_0x3294bd(0x1b3)],_0x3294bd(0x1ad),()=>{_0x5947c2=!0x0;}),this[_0x3294bd(0x1b9)](this[_0x3294bd(0x1b3)],_0x3294bd(0x18b),()=>{_0x5947c2=!0x0;});}[_0x256ad3(0x1c0)](){const _0x42eb61=_0x256ad3;this[_0x42eb61(0x1b3)][_0x42eb61(0x1c0)]();}[_0x256ad3(0x1a2)](){const _0x5b293d=_0x256ad3,_0x4f7739=this[_0x5b293d(0x1a6)],_0x3d52e0=new _0x473d33(this[_0x5b293d(0x1a6)]),_0x39119f=_0x5b293d(0x182);return _0x3d52e0[_0x5b293d(0x1c5)]({'label':_0x44c212(_0x4f7739,_0x5b293d(0x19d)),'icon':_0x26742e,'class':_0x39119f,'tooltip':!0x0}),_0x3d52e0[_0x5b293d(0x1a9)](_0x5b293d(0x18c))['to'](this,_0x5b293d(0x1a5),_0x559cb6=>!!_0x559cb6),_0x3d52e0[_0x5b293d(0x1a9)](_0x5b293d(0x1ae))['to'](this,_0x5b293d(0x1b7),_0x478aa6=>!_0x478aa6),_0x3d52e0['on'](_0x5b293d(0x1af),()=>{const _0x2e669c=_0x5b293d;this[_0x2e669c(0x1cc)](this[_0x2e669c(0x1bf)][_0x2e669c(0x1b3)]),_0x3d52e0[_0x2e669c(0x1aa)]=_0x3e22bc[_0x2e669c(0x1a4)],_0x3d52e0[_0x2e669c(0x197)]=_0x39119f+_0x2e669c(0x1ab),this[_0x2e669c(0x1c0)](),setTimeout(()=>{const _0x116425=_0x2e669c;_0x3d52e0[_0x116425(0x1aa)]=_0x26742e,_0x3d52e0[_0x116425(0x197)]=_0x39119f;},0x3e8);}),_0x3d52e0;}[_0x256ad3(0x1cc)](_0x5a8f53){const _0x597287=_0x256ad3,{window:_0x4ebaad,document:_0x2c72ad}=_0x12b9d5;if(_0x4ebaad[_0x597287(0x18e)]){const {Blob:_0x54cf13,ClipboardItem:_0x258c62}=_0x4ebaad,_0xaf3b9=[new _0x258c62({'text/html':new _0x54cf13([_0x5a8f53[_0x597287(0x1b0)]],{'type':_0x597287(0x1c2)}),'text/plain':new _0x54cf13([_0x5a8f53[_0x597287(0x1ac)]||''],{'type':_0x597287(0x1cb)})})];navigator[_0x597287(0x177)][_0x597287(0x189)](_0xaf3b9);}else{const _0x213695=_0x2c72ad[_0x597287(0x181)](_0x597287(0x187));_0x213695[_0x597287(0x194)][_0x597287(0x1b2)]=_0x597287(0x17c),_0x213695[_0x597287(0x194)][_0x597287(0x18d)]=_0x597287(0x198),_0x213695[_0x597287(0x1b0)]=_0x597287(0x17f)+_0x5a8f53[_0x597287(0x1b0)]+_0x597287(0x1a7),_0x2c72ad[_0x597287(0x183)][_0x597287(0x176)](_0x213695);const _0x13790b=_0x2c72ad[_0x597287(0x191)]();_0x13790b[_0x597287(0x1b6)](_0x213695[_0x597287(0x192)]),_0x13790b[_0x597287(0x184)](_0x213695[_0x597287(0x1a8)]);const _0x46e74d=_0x4ebaad[_0x597287(0x1b5)]();_0x46e74d[_0x597287(0x1c1)](),_0x46e74d[_0x597287(0x1b1)](_0x13790b),_0x2c72ad[_0x597287(0x19e)](_0x597287(0x196)),_0x213695[_0x597287(0x19c)]();}}}export class ContentFieldView extends _0x558218{constructor(_0x516abd,_0x59fb81=''){const _0x721be9=_0x256ad3;super(_0x516abd),this[_0x721be9(0x1c7)]=this[_0x721be9(0x195)](),this[_0x721be9(0x1bd)]({'tag':_0x721be9(0x187),'attributes':{'class':['ck',_0x721be9(0x1ba),_0x59fb81,_0x721be9(0x1b4),_0x721be9(0x18f)]}});}[_0x256ad3(0x1c4)](_0x3446fe){const _0x1e0d7c=_0x256ad3;this[_0x1e0d7c(0x1b3)][_0x1e0d7c(0x1b0)]=_0x3446fe;}[_0x256ad3(0x19f)](){const _0xcc865a=_0x256ad3;this[_0xcc865a(0x1b3)][_0xcc865a(0x176)](this[_0xcc865a(0x1c7)][_0xcc865a(0x1b3)]);}[_0x256ad3(0x195)](){const _0x3c1336=_0x256ad3,_0x12b203=new _0x558218(),_0x25cb61=this[_0x3c1336(0x1a6)],_0x49706e=new _0x4aaa62();return _0x49706e[_0x3c1336(0x18c)]=!0x0,_0x12b203[_0x3c1336(0x1bd)]({'tag':_0x3c1336(0x187),'attributes':{'class':['ck',_0x3c1336(0x1c3)]},'children':[_0x49706e,{'text':_0x44c212(_0x25cb61,_0x3c1336(0x17b))}]}),_0x12b203[_0x3c1336(0x17d)](),_0x12b203;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1d392b,_0x1fb172){const _0x3cdfaa=_0x32e0,_0x35f363=_0x1d392b();while(!![]){try{const _0x2b6bc5=parseInt(_0x3cdfaa(0x11d))/0x1*(parseInt(_0x3cdfaa(0x128))/0x2)+-parseInt(_0x3cdfaa(0x122))/0x3*(parseInt(_0x3cdfaa(0x121))/0x4)+-parseInt(_0x3cdfaa(0x127))/0x5+parseInt(_0x3cdfaa(0x11f))/0x6+parseInt(_0x3cdfaa(0x11e))/0x7+-parseInt(_0x3cdfaa(0x123))/0x8+parseInt(_0x3cdfaa(0x11c))/0x9;if(_0x2b6bc5===_0x1fb172)break;else _0x35f363['push'](_0x35f363['shift']());}catch(_0x6053b3){_0x35f363['push'](_0x35f363['shift']());}}}(_0x361b,0xa4d6d));function _0x361b(){const _0x285e50=['content','bindTemplate','div','6245680obGhUu','3516uvywSP','setTemplate','set','text','4081761sDPAhN','699OgGdlg','3679858gvgRji','4190418hodpjy','ck-ai-form__error','12BVisxy','537063iAIKNC','3560704TfZMdf'];_0x361b=function(){return _0x285e50;};return _0x361b();}import{View as _0x43b338,IconView as _0x1d2ae9}from'ckeditor5/src/ui.js';import _0x2871db from'../../../theme/icons/error.svg';function _0x32e0(_0x4aeb53,_0x52584c){const _0x361bd1=_0x361b();return _0x32e0=function(_0x32e033,_0x2d1344){_0x32e033=_0x32e033-0x11a;let _0x2d6667=_0x361bd1[_0x32e033];return _0x2d6667;},_0x32e0(_0x4aeb53,_0x52584c);}export default class at extends _0x43b338{constructor(_0x28700d,_0x1c3850=''){const _0x1149a9=_0x32e0;super(_0x28700d);const _0x300eb5=new _0x1d2ae9(),_0x5e7b50=this[_0x1149a9(0x125)];this[_0x1149a9(0x11a)](_0x1149a9(0x11b),_0x1c3850),_0x300eb5[_0x1149a9(0x124)]=_0x2871db,this[_0x1149a9(0x129)]({'tag':_0x1149a9(0x126),'attributes':{'class':['ck',_0x1149a9(0x120)]},'children':[_0x300eb5,{'text':_0x5e7b50['to'](_0x1149a9(0x11b))}]});}}
23
+ (function(_0x3ddd94,_0xcfea5a){const _0x30c78f=_0x19a0,_0x3c67bb=_0x3ddd94();while(!![]){try{const _0xa2e90d=-parseInt(_0x30c78f(0xae))/0x1+parseInt(_0x30c78f(0xa2))/0x2+-parseInt(_0x30c78f(0xa8))/0x3+-parseInt(_0x30c78f(0xa7))/0x4*(-parseInt(_0x30c78f(0xa3))/0x5)+parseInt(_0x30c78f(0xa1))/0x6*(-parseInt(_0x30c78f(0x9f))/0x7)+-parseInt(_0x30c78f(0xa9))/0x8+parseInt(_0x30c78f(0xab))/0x9*(parseInt(_0x30c78f(0xa0))/0xa);if(_0xa2e90d===_0xcfea5a)break;else _0x3c67bb['push'](_0x3c67bb['shift']());}catch(_0x1143e0){_0x3c67bb['push'](_0x3c67bb['shift']());}}}(_0x3b5c,0x2de18));import{View as _0xe30a7b,IconView as _0x2dcbd8}from'ckeditor5/src/ui.js';function _0x3b5c(){const _0xb79f57=['4610PJpZcT','114XTtOQB','232874ANnUaO','155ARjFUS','ck-ai-form__error','content','text','12076fmUrmd','646305knAPJC','962024PXwvWR','setTemplate','12897pnEuqM','set','bindTemplate','56532tsGBwj','div','107023rMdtUy'];_0x3b5c=function(){return _0xb79f57;};return _0x3b5c();}import _0x41374b from'../../../theme/icons/error.svg';function _0x19a0(_0x5ea5eb,_0x5ae6bc){const _0x3b5c1c=_0x3b5c();return _0x19a0=function(_0x19a06c,_0x4db33e){_0x19a06c=_0x19a06c-0x9f;let _0x2a0237=_0x3b5c1c[_0x19a06c];return _0x2a0237;},_0x19a0(_0x5ea5eb,_0x5ae6bc);}export default class at extends _0xe30a7b{constructor(_0x5b6ed9,_0x422eee=''){const _0x32d8e1=_0x19a0;super(_0x5b6ed9);const _0x1e5bb6=new _0x2dcbd8(),_0x4b4c48=this[_0x32d8e1(0xad)];this[_0x32d8e1(0xac)](_0x32d8e1(0xa6),_0x422eee),_0x1e5bb6[_0x32d8e1(0xa5)]=_0x41374b,this[_0x32d8e1(0xaa)]({'tag':_0x32d8e1(0xaf),'attributes':{'class':['ck',_0x32d8e1(0xa4)]},'children':[_0x1e5bb6,{'text':_0x4b4c48['to'](_0x32d8e1(0xa6))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4632ac=_0x2a33;(function(_0x521227,_0x4e96a3){const _0x545e44=_0x2a33,_0x40713d=_0x521227();while(!![]){try{const _0x440474=-parseInt(_0x545e44(0x8d))/0x1*(-parseInt(_0x545e44(0x8b))/0x2)+-parseInt(_0x545e44(0xaf))/0x3*(parseInt(_0x545e44(0xa3))/0x4)+parseInt(_0x545e44(0x8e))/0x5+-parseInt(_0x545e44(0x87))/0x6*(parseInt(_0x545e44(0xbb))/0x7)+-parseInt(_0x545e44(0xb4))/0x8*(parseInt(_0x545e44(0xa9))/0x9)+parseInt(_0x545e44(0x99))/0xa+parseInt(_0x545e44(0xb8))/0xb;if(_0x440474===_0x4e96a3)break;else _0x40713d['push'](_0x40713d['shift']());}catch(_0x6801e7){_0x40713d['push'](_0x40713d['shift']());}}}(_0x1c82,0x216b0));import{Rect as _0x470354,global as _0x21c39b,isVisible as _0x365ea4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x491acc,ButtonView as _0x671aed}from'ckeditor5/src/ui.js';import{icons as _0x5d649f}from'ckeditor5/src/core.js';function _0x2a33(_0x2401d9,_0x11384a){const _0x1c828d=_0x1c82();return _0x2a33=function(_0x2a3392,_0x4324e3){_0x2a3392=_0x2a3392-0x86;let _0x8ba053=_0x1c828d[_0x2a3392];return _0x8ba053;},_0x2a33(_0x2401d9,_0x11384a);}import{getTranslation as _0x527b5f}from'../../utils/common-translations.js';import _0x5c16a1 from'../../../theme/icons/submit.svg';export default class ut extends _0x491acc{constructor(_0x2bfa07,_0x4aea02){const _0x259d67=_0x2a33;super(_0x2bfa07,_0x4aea02),this[_0x259d67(0xbe)][_0x259d67(0xba)][_0x259d67(0x9c)]=0x1,this[_0x259d67(0xbe)][_0x259d67(0xba)][_0x259d67(0x86)]=0x3,this[_0x259d67(0x95)]=this[_0x259d67(0xa7)](),this[_0x259d67(0x8f)]=this[_0x259d67(0x96)](),this[_0x259d67(0xa1)][_0x259d67(0x91)](this[_0x259d67(0x8f)],0x1),this[_0x259d67(0xa1)][_0x259d67(0x91)](this[_0x259d67(0x95)]);}[_0x4632ac(0xb0)](){const _0x2d47ea=_0x4632ac;super[_0x2d47ea(0xb0)](),this[_0x2d47ea(0xbe)][_0x2d47ea(0x8c)][_0x2d47ea(0x91)](this[_0x2d47ea(0x8f)]),this[_0x2d47ea(0x89)][_0x2d47ea(0x91)](this[_0x2d47ea(0x95)]),this[_0x2d47ea(0xb9)][_0x2d47ea(0xbc)](_0x2d47ea(0xbd),(_0x468abf,_0xef9b29)=>{const _0x2ca019=_0x2d47ea;_0x468abf[_0x2ca019(0xb6)]==this[_0x2ca019(0xbe)][_0x2ca019(0xba)][_0x2ca019(0x98)]&&(this[_0x2ca019(0xac)](),_0xef9b29());});}[_0x4632ac(0xa7)](){const _0x4d69f5=_0x4632ac,_0x3812c0=new _0x671aed(this[_0x4d69f5(0x93)]),_0x5d0304=this[_0x4d69f5(0x93)];return _0x3812c0[_0x4d69f5(0xbc)]({'icon':_0x5c16a1,'label':_0x527b5f(_0x5d0304,_0x4d69f5(0x92)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4d69f5(0x94)}),_0x3812c0['on'](_0x4d69f5(0xad),()=>{const _0x4034dc=_0x4d69f5;this[_0x4034dc(0xac)]();}),_0x3812c0[_0x4d69f5(0xa2)](_0x4d69f5(0x9e))['to'](this[_0x4d69f5(0xbe)][_0x4d69f5(0xba)],_0x4d69f5(0xaa),this,_0x4d69f5(0x9e),(_0x3fd925,_0x4c460a)=>!_0x3fd925&&_0x4c460a),_0x3812c0;}[_0x4632ac(0x96)](){const _0x1079a8=_0x4632ac,_0x2da03e=new _0x671aed(this[_0x1079a8(0x93)]),_0x25e304=this[_0x1079a8(0xa6)],_0x6c470b=this[_0x1079a8(0x93)];_0x2da03e[_0x1079a8(0xbc)]({'label':_0x527b5f(_0x6c470b,_0x1079a8(0xa5)),'withText':!0x1,'icon':_0x5d649f[_0x1079a8(0xb2)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1079a8(0x97)}),_0x2da03e[_0x1079a8(0xa2)](_0x1079a8(0x9d))['to'](_0x25e304,_0x1079a8(0x9b)),_0x2da03e[_0x1079a8(0xa2)](_0x1079a8(0x9e))['to'](this,_0x1079a8(0x9e)),_0x2da03e['on'](_0x1079a8(0xad),()=>{const _0x4c7f0b=_0x1079a8;_0x25e304[_0x4c7f0b(0x9b)]=!_0x25e304[_0x4c7f0b(0x9b)],_0x25e304[_0x4c7f0b(0x9b)]?this[_0x4c7f0b(0x9f)][_0x4c7f0b(0xb3)]():this[_0x4c7f0b(0xb3)]();});const _0xe0a18c=()=>{const _0x3dd8c7=_0x1079a8;_0x21c39b[_0x3dd8c7(0xab)][_0x3dd8c7(0x88)](()=>{const _0x5c547b=_0x3dd8c7;if(_0x365ea4(this[_0x5c547b(0x98)])){const _0x591d08=new _0x470354(this[_0x5c547b(0xbe)][_0x5c547b(0xba)][_0x5c547b(0x98)]),_0x5c540d=_0x591d08[_0x5c547b(0xb7)],_0x1c9f2a=_0x5c547b(0x9a)===_0x6c470b[_0x5c547b(0xa8)]?_0x5c547b(0x8a):_0x5c547b(0xa4);_0x591d08[_0x5c547b(0xb5)](),_0x2da03e[_0x5c547b(0x98)][_0x5c547b(0xae)][_0x1c9f2a]=_0x5c540d-_0x591d08[_0x5c547b(0xb7)]+0x1+'px';}});};return this[_0x1079a8(0xbe)][_0x1079a8(0xba)]['on'](_0x1079a8(0xc1),_0xe0a18c),this['on'](_0x1079a8(0xb0),_0xe0a18c),_0x2da03e;}[_0x4632ac(0xac)](){const _0x1df2d0=_0x4632ac,_0x29c141=this[_0x1df2d0(0xbe)][_0x1df2d0(0xba)][_0x1df2d0(0x98)][_0x1df2d0(0xb1)];this[_0x1df2d0(0xc0)](_0x1df2d0(0xac),_0x29c141);}[_0x4632ac(0xb3)](_0x5e725d){const _0x88f5ec=_0x4632ac;-0x1===_0x5e725d?this[_0x88f5ec(0xbf)][_0x88f5ec(0xa0)]():this[_0x88f5ec(0xbf)][_0x88f5ec(0x90)]();}}function _0x1c82(){const _0x5046d2=['excludeScrollbarsAndBorders','target','width','3295138hyoPnD','keystrokes','fieldView','241115oeHBpo','set','enter','queryView','focusCycler','fire','update','maxRows','18wVhAkk','requestAnimationFrame','children','left','6TLWsKO','fieldWrapperChildren','1965NCecxN','504085gkDbSO','showHistoryButtonView','focusFirst','add','Submit','locale','ck-ai-form__submit','submitButtonView','_createShowHistoryButton','ck-ai-form__toggle-history','element','850270mjBopi','rtl','isVisible','minRows','isOn','isEnabled','filteredView','focusLast','focusableChildren','bind','108Tqnjwq','right','History','resultsView','_createSubmitButton','uiLanguageDirection','119961kbUiCq','isEmpty','window','submit','execute','style','2721shahfo','render','value','history','focus','136oyGcOx'];_0x1c82=function(){return _0x5046d2;};return _0x1c82();}
23
+ const _0x1b499c=_0x1b64;function _0x1b64(_0xac4d5e,_0x114a9c){const _0x2bf474=_0x2bf4();return _0x1b64=function(_0x1b6452,_0x56e8cf){_0x1b6452=_0x1b6452-0x152;let _0xed0aea=_0x2bf474[_0x1b6452];return _0xed0aea;},_0x1b64(_0xac4d5e,_0x114a9c);}(function(_0x3222f0,_0x44b7be){const _0x42f099=_0x1b64,_0x385b39=_0x3222f0();while(!![]){try{const _0x48872d=parseInt(_0x42f099(0x154))/0x1*(parseInt(_0x42f099(0x156))/0x2)+parseInt(_0x42f099(0x176))/0x3+parseInt(_0x42f099(0x175))/0x4*(parseInt(_0x42f099(0x18a))/0x5)+-parseInt(_0x42f099(0x187))/0x6*(-parseInt(_0x42f099(0x152))/0x7)+-parseInt(_0x42f099(0x186))/0x8+-parseInt(_0x42f099(0x161))/0x9+-parseInt(_0x42f099(0x160))/0xa;if(_0x48872d===_0x44b7be)break;else _0x385b39['push'](_0x385b39['shift']());}catch(_0x121515){_0x385b39['push'](_0x385b39['shift']());}}}(_0x2bf4,0x8ddc9));function _0x2bf4(){const _0x2e8405=['style','_createSubmitButton','focusFirst','filteredView','ck-ai-form__toggle-history','set','Submit','fieldWrapperChildren','add','6579568xmBsIc','24006EQUUMF','update','focus','15gFBxDR','rtl','uiLanguageDirection','196nmaUmN','left','73mvATWu','render','24898yLQorX','isEnabled','fire','value','keystrokes','requestAnimationFrame','history','execute','focusLast','_createShowHistoryButton','4688870lVbmet','137925QMKnVU','History','enter','window','isEmpty','resultsView','showHistoryButtonView','locale','children','maxRows','submitButtonView','focusCycler','isVisible','excludeScrollbarsAndBorders','focusableChildren','bind','ck-ai-form__submit','right','minRows','width','384244qLlgpm','1736205ufdDnX','element','fieldView','target','queryView','isOn','submit'];_0x2bf4=function(){return _0x2e8405;};return _0x2bf4();}import{Rect as _0xdadb33,global as _0x4d98d4,isVisible as _0x48bd64}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x5c6755,ButtonView as _0x103b3a}from'ckeditor5/src/ui.js';import{icons as _0x5f152a}from'ckeditor5/src/core.js';import{getTranslation as _0x191fe7}from'../../utils/common-translations.js';import _0x2974ab from'../../../theme/icons/submit.svg';export default class ut extends _0x5c6755{constructor(_0x42e072,_0x4c5009){const _0xd2ef=_0x1b64;super(_0x42e072,_0x4c5009),this[_0xd2ef(0x17a)][_0xd2ef(0x178)][_0xd2ef(0x173)]=0x1,this[_0xd2ef(0x17a)][_0xd2ef(0x178)][_0xd2ef(0x16a)]=0x3,this[_0xd2ef(0x16b)]=this[_0xd2ef(0x17e)](),this[_0xd2ef(0x167)]=this[_0xd2ef(0x15f)](),this[_0xd2ef(0x16f)][_0xd2ef(0x185)](this[_0xd2ef(0x167)],0x1),this[_0xd2ef(0x16f)][_0xd2ef(0x185)](this[_0xd2ef(0x16b)]);}[_0x1b499c(0x155)](){const _0x227216=_0x1b499c;super[_0x227216(0x155)](),this[_0x227216(0x17a)][_0x227216(0x184)][_0x227216(0x185)](this[_0x227216(0x167)]),this[_0x227216(0x169)][_0x227216(0x185)](this[_0x227216(0x16b)]),this[_0x227216(0x15a)][_0x227216(0x182)](_0x227216(0x163),(_0x5c46a7,_0x12b6b7)=>{const _0x481581=_0x227216;_0x5c46a7[_0x481581(0x179)]==this[_0x481581(0x17a)][_0x481581(0x178)][_0x481581(0x177)]&&(this[_0x481581(0x17c)](),_0x12b6b7());});}[_0x1b499c(0x17e)](){const _0x76d5e9=_0x1b499c,_0x5f40d9=new _0x103b3a(this[_0x76d5e9(0x168)]),_0x346690=this[_0x76d5e9(0x168)];return _0x5f40d9[_0x76d5e9(0x182)]({'icon':_0x2974ab,'label':_0x191fe7(_0x346690,_0x76d5e9(0x183)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x76d5e9(0x171)}),_0x5f40d9['on'](_0x76d5e9(0x15d),()=>{const _0x272a27=_0x76d5e9;this[_0x272a27(0x17c)]();}),_0x5f40d9[_0x76d5e9(0x170)](_0x76d5e9(0x157))['to'](this[_0x76d5e9(0x17a)][_0x76d5e9(0x178)],_0x76d5e9(0x165),this,_0x76d5e9(0x157),(_0x3c970f,_0x5aa3ea)=>!_0x3c970f&&_0x5aa3ea),_0x5f40d9;}[_0x1b499c(0x15f)](){const _0x125c02=_0x1b499c,_0x48e3e8=new _0x103b3a(this[_0x125c02(0x168)]),_0x503366=this[_0x125c02(0x166)],_0x350721=this[_0x125c02(0x168)];_0x48e3e8[_0x125c02(0x182)]({'label':_0x191fe7(_0x350721,_0x125c02(0x162)),'withText':!0x1,'icon':_0x5f152a[_0x125c02(0x15c)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x125c02(0x181)}),_0x48e3e8[_0x125c02(0x170)](_0x125c02(0x17b))['to'](_0x503366,_0x125c02(0x16d)),_0x48e3e8[_0x125c02(0x170)](_0x125c02(0x157))['to'](this,_0x125c02(0x157)),_0x48e3e8['on'](_0x125c02(0x15d),()=>{const _0x119c27=_0x125c02;_0x503366[_0x119c27(0x16d)]=!_0x503366[_0x119c27(0x16d)],_0x503366[_0x119c27(0x16d)]?this[_0x119c27(0x180)][_0x119c27(0x189)]():this[_0x119c27(0x189)]();});const _0x5bc040=()=>{const _0x59a470=_0x125c02;_0x4d98d4[_0x59a470(0x164)][_0x59a470(0x15b)](()=>{const _0x16d9ef=_0x59a470;if(_0x48bd64(this[_0x16d9ef(0x177)])){const _0x4ff763=new _0xdadb33(this[_0x16d9ef(0x17a)][_0x16d9ef(0x178)][_0x16d9ef(0x177)]),_0x5ba998=_0x4ff763[_0x16d9ef(0x174)],_0x103976=_0x16d9ef(0x18b)===_0x350721[_0x16d9ef(0x18c)]?_0x16d9ef(0x153):_0x16d9ef(0x172);_0x4ff763[_0x16d9ef(0x16e)](),_0x48e3e8[_0x16d9ef(0x177)][_0x16d9ef(0x17d)][_0x103976]=_0x5ba998-_0x4ff763[_0x16d9ef(0x174)]+0x1+'px';}});};return this[_0x125c02(0x17a)][_0x125c02(0x178)]['on'](_0x125c02(0x188),_0x5bc040),this['on'](_0x125c02(0x155),_0x5bc040),_0x48e3e8;}[_0x1b499c(0x17c)](){const _0x3ac9cc=_0x1b499c,_0x56973c=this[_0x3ac9cc(0x17a)][_0x3ac9cc(0x178)][_0x3ac9cc(0x177)][_0x3ac9cc(0x159)];this[_0x3ac9cc(0x158)](_0x3ac9cc(0x17c),_0x56973c);}[_0x1b499c(0x189)](_0x5e1bbd){const _0x3a26fa=_0x1b499c;-0x1===_0x5e1bbd?this[_0x3a26fa(0x16c)][_0x3a26fa(0x15e)]():this[_0x3a26fa(0x16c)][_0x3a26fa(0x17f)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x393729=_0xe30c;(function(_0x504ba1,_0x364c38){const _0x78f273=_0xe30c,_0x412069=_0x504ba1();while(!![]){try{const _0x230e32=-parseInt(_0x78f273(0x15e))/0x1+-parseInt(_0x78f273(0x16d))/0x2*(parseInt(_0x78f273(0x14d))/0x3)+-parseInt(_0x78f273(0x159))/0x4*(-parseInt(_0x78f273(0x14a))/0x5)+-parseInt(_0x78f273(0x161))/0x6+-parseInt(_0x78f273(0x158))/0x7+-parseInt(_0x78f273(0x157))/0x8*(parseInt(_0x78f273(0x15a))/0x9)+-parseInt(_0x78f273(0x16a))/0xa*(-parseInt(_0x78f273(0x164))/0xb);if(_0x230e32===_0x364c38)break;else _0x412069['push'](_0x412069['shift']());}catch(_0x17e695){_0x412069['push'](_0x412069['shift']());}}}(_0x63b9,0x46a23));function _0xe30c(_0x5290f9,_0x1264fe){const _0x63b9ab=_0x63b9();return _0xe30c=function(_0xe30ccc,_0x549244){_0xe30ccc=_0xe30ccc-0x148;let _0x260fde=_0x63b9ab[_0xe30ccc];return _0x260fde;},_0xe30c(_0x5290f9,_0x1264fe);}import{ToolbarView as _0x2975c2,ButtonView as _0x3fb3c7}from'ckeditor5/src/ui.js';import{getTranslation as _0x13fc23}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x393729(0x14e),'INSERT':_0x393729(0x15b)};function _0x63b9(){const _0x2e4fab=['Stop','replaceButton','1787574ErQsim','label','_CONTENT','173327TqkfRc','tryAgainButton','locale','bindTemplate','Try\x20again','Insert\x20below','950LwVvGY','bind','isVisible','689630NWDbzC','ck-button-action','toUpperCase','10qkFxzp','REPLACE','items','3zqECBn','replace','AI_','_createButton','set','insertButton','ck-ai-form__toolbar','ck-hidden','mainAction','extendTemplate','25328NQHRRs','279748lUSGjv','615452LVghKA','945DRahwE','insert','stopButton','addMany','500188liSJcj'];_0x63b9=function(){return _0x2e4fab;};return _0x63b9();}export default class At extends _0x2975c2{constructor(_0xe748d0){const _0x14a5bc=_0x393729;super(_0xe748d0),this[_0x14a5bc(0x151)](_0x14a5bc(0x16c),!0x1),this[_0x14a5bc(0x151)](_0x14a5bc(0x155),AIFormToolbarViewMainActionLabel[_0x14a5bc(0x14b)]),this[_0x14a5bc(0x160)]=this[_0x14a5bc(0x150)]('',_0x14a5bc(0x148)),this[_0x14a5bc(0x160)][_0x14a5bc(0x16b)](_0x14a5bc(0x162))['to'](this,_0x14a5bc(0x155),_0x3a165b=>_0x13fc23(_0xe748d0,_0x14a5bc(0x14f)+_0x3a165b[_0x14a5bc(0x149)]()+_0x14a5bc(0x163))),this[_0x14a5bc(0x152)]=this[_0x14a5bc(0x150)](_0x13fc23(_0xe748d0,_0x14a5bc(0x169))),this[_0x14a5bc(0x165)]=this[_0x14a5bc(0x150)](_0x13fc23(_0xe748d0,_0x14a5bc(0x168))),this[_0x14a5bc(0x15c)]=this[_0x14a5bc(0x150)](_0x13fc23(_0xe748d0,_0x14a5bc(0x15f)));const _0x3d157f=this[_0x14a5bc(0x167)];this[_0x14a5bc(0x156)]({'attributes':{'class':[_0x14a5bc(0x153),_0x3d157f['if'](_0x14a5bc(0x16c),_0x14a5bc(0x154),_0x46fcc6=>!_0x46fcc6)]}}),this[_0x14a5bc(0x14c)][_0x14a5bc(0x15d)]([this[_0x14a5bc(0x160)],this[_0x14a5bc(0x152)],this[_0x14a5bc(0x165)],this[_0x14a5bc(0x15c)]]);}[_0x393729(0x150)](_0x4e249c,_0x4982a6){const _0xa08c56=_0x393729,_0x77ffaa=new _0x3fb3c7(this[_0xa08c56(0x166)]);return _0x77ffaa[_0xa08c56(0x151)]({'label':_0x4e249c,'class':_0x4982a6||'','isVisible':!0x0,'withText':!0x0}),_0x77ffaa;}}
23
+ const _0x248634=_0x4230;(function(_0x22abbf,_0x5093f1){const _0x26280b=_0x4230,_0x1e01ce=_0x22abbf();while(!![]){try{const _0x4470fe=parseInt(_0x26280b(0xb8))/0x1+parseInt(_0x26280b(0xb1))/0x2*(-parseInt(_0x26280b(0xbb))/0x3)+-parseInt(_0x26280b(0xb7))/0x4*(-parseInt(_0x26280b(0xab))/0x5)+-parseInt(_0x26280b(0xa9))/0x6+parseInt(_0x26280b(0xc2))/0x7*(-parseInt(_0x26280b(0xaa))/0x8)+parseInt(_0x26280b(0xbf))/0x9*(parseInt(_0x26280b(0xa7))/0xa)+parseInt(_0x26280b(0xba))/0xb*(parseInt(_0x26280b(0xbd))/0xc);if(_0x4470fe===_0x5093f1)break;else _0x1e01ce['push'](_0x1e01ce['shift']());}catch(_0x52f3e0){_0x1e01ce['push'](_0x1e01ce['shift']());}}}(_0x3d9d,0xe9f83));import{ToolbarView as _0x2fb89b,ButtonView as _0x419014}from'ckeditor5/src/ui.js';import{getTranslation as _0x1bf53c}from'../../utils/common-translations.js';function _0x4230(_0x458ae1,_0x3f799b){const _0x3d9dab=_0x3d9d();return _0x4230=function(_0x4230a3,_0x24cb7a){_0x4230a3=_0x4230a3-0xa4;let _0x49f757=_0x3d9dab[_0x4230a3];return _0x49f757;},_0x4230(_0x458ae1,_0x3f799b);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x248634(0xa8),'INSERT':_0x248634(0xbc)};export default class At extends _0x2fb89b{constructor(_0x17abe4){const _0xa8f2ed=_0x248634;super(_0x17abe4),this[_0xa8f2ed(0xb3)](_0xa8f2ed(0xa6),!0x1),this[_0xa8f2ed(0xb3)](_0xa8f2ed(0xae),AIFormToolbarViewMainActionLabel[_0xa8f2ed(0xc9)]),this[_0xa8f2ed(0xb4)]=this[_0xa8f2ed(0xc4)]('',_0xa8f2ed(0xaf)),this[_0xa8f2ed(0xb4)][_0xa8f2ed(0xc0)](_0xa8f2ed(0xa5))['to'](this,_0xa8f2ed(0xae),_0x586209=>_0x1bf53c(_0x17abe4,_0xa8f2ed(0xbe)+_0x586209[_0xa8f2ed(0xc1)]()+_0xa8f2ed(0xca))),this[_0xa8f2ed(0xb6)]=this[_0xa8f2ed(0xc4)](_0x1bf53c(_0x17abe4,_0xa8f2ed(0xa4))),this[_0xa8f2ed(0xad)]=this[_0xa8f2ed(0xc4)](_0x1bf53c(_0x17abe4,_0xa8f2ed(0xc6))),this[_0xa8f2ed(0xb0)]=this[_0xa8f2ed(0xc4)](_0x1bf53c(_0x17abe4,_0xa8f2ed(0xac)));const _0x4e248b=this[_0xa8f2ed(0xb5)];this[_0xa8f2ed(0xc7)]({'attributes':{'class':[_0xa8f2ed(0xb9),_0x4e248b['if'](_0xa8f2ed(0xa6),_0xa8f2ed(0xb2),_0x33b1a1=>!_0x33b1a1)]}}),this[_0xa8f2ed(0xc8)][_0xa8f2ed(0xc3)]([this[_0xa8f2ed(0xb4)],this[_0xa8f2ed(0xb6)],this[_0xa8f2ed(0xad)],this[_0xa8f2ed(0xb0)]]);}[_0x248634(0xc4)](_0xa22c84,_0x155cad){const _0x43b37b=_0x248634,_0x498bf5=new _0x419014(this[_0x43b37b(0xc5)]);return _0x498bf5[_0x43b37b(0xb3)]({'label':_0xa22c84,'class':_0x155cad||'','isVisible':!0x0,'withText':!0x0}),_0x498bf5;}}function _0x3d9d(){const _0x202ad1=['toUpperCase','35sQKiXL','addMany','_createButton','locale','Try\x20again','extendTemplate','items','REPLACE','_CONTENT','Insert\x20below','label','isVisible','10PxqgSq','replace','5506380iDqCgY','2093032hFfuBC','74870gxNwnq','Stop','tryAgainButton','mainAction','ck-button-action','stopButton','8bynORx','ck-hidden','set','replaceButton','bindTemplate','insertButton','52gLCmTp','905751aZCuuc','ck-ai-form__toolbar','22154ZCRpAg','686373vHfcHi','insert','8952EwqJiR','AI_','13468689HrkczS','bind'];_0x3d9d=function(){return _0x202ad1;};return _0x3d9d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30dbc2=_0x1aa7;(function(_0x460b8e,_0x2c42b9){const _0x41da8c=_0x1aa7,_0x298772=_0x460b8e();while(!![]){try{const _0x56c90a=-parseInt(_0x41da8c(0x17b))/0x1*(-parseInt(_0x41da8c(0x1cc))/0x2)+-parseInt(_0x41da8c(0x18f))/0x3*(parseInt(_0x41da8c(0x1c4))/0x4)+parseInt(_0x41da8c(0x1c5))/0x5*(-parseInt(_0x41da8c(0x189))/0x6)+parseInt(_0x41da8c(0x19b))/0x7*(parseInt(_0x41da8c(0x18b))/0x8)+-parseInt(_0x41da8c(0x190))/0x9+parseInt(_0x41da8c(0x1bb))/0xa*(-parseInt(_0x41da8c(0x181))/0xb)+parseInt(_0x41da8c(0x191))/0xc;if(_0x56c90a===_0x2c42b9)break;else _0x298772['push'](_0x298772['shift']());}catch(_0x3ee7d4){_0x298772['push'](_0x298772['shift']());}}}(_0x4801,0xd8d52));import{FocusTracker as _0x194572,KeystrokeHandler as _0x51aee2}from'ckeditor5/src/utils.js';import{View as _0x182f8c,FocusCycler as _0xa1a434,createLabeledTextarea as _0x9bfc79}from'ckeditor5/src/ui.js';import _0xf6faf4,{AIFormToolbarViewMainActionLabel as _0x5532c2}from'./aiformtoolbarview.js';function _0x4801(){const _0x2ece39=['toolbar','bind','element','mainAction','isVisible','Ask\x20AI\x20to\x20improve\x20generated\x20text','listenTo','render','bindTo','Ask\x20AI\x20to\x20edit\x20or\x20generate','locale','stopButton','insertButton','keystrokes','trim','tryAgainEvent','_focusables','ck-ai-form-content','_createHistoryView','40450kBHunb','focusFirst','copyButtonView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','fire','contentArea','stopProcessing','tryAgainButton','_createPromptView','21336DqErGX','6750ZhDjKu','focusCycler','reset','div','replaceButton','errorView','text','12URVZyb','focusLast','set','queryView','execute','fieldView','41948rdIIuI','startProcessing','shift\x20+\x20tab','isError','handleError','tab','4576AXXmvL','promptView','focus','prompt','bindTemplate','isProcessing','ck-ai-form','_createToolbar','1866yiRVxt','clear','208GDAExn','submitPrompt','clearHistory','submit','861yQVCZb','5694480XvDHld','54576216sTCMvi','REPLACE','isEnabled','value','add','high','createCollection','search','finishProcessing','replaceContent','95466huqlBI','Empty\x20history','label','chain','insertContentBelow','focusTracker','setTemplate','delegate','_promptHistory','AI_ERROR_FAILED','ck-hidden','historyGroupView','items'];_0x4801=function(){return _0x2ece39;};return _0x4801();}import _0x36ee3d from'./aiformcontentarea.js';import _0x4b6805 from'./aiformerrorview.js';import _0x16e795 from'./aiformpromptview.js';function _0x1aa7(_0x32735a,_0x206362){const _0x480106=_0x4801();return _0x1aa7=function(_0x1aa762,_0x50bfe8){_0x1aa762=_0x1aa762-0x177;let _0x34b904=_0x480106[_0x1aa762];return _0x34b904;},_0x1aa7(_0x32735a,_0x206362);}import _0x721428 from'./aihistorylistview.js';import _0x1dd48e from'./aihistorylistitemview.js';import _0x187bdb from'./prompthistory.js';import{getTranslation as _0x368b49}from'../../utils/common-translations.js';import{escape as _0x445976}from'lodash-es';export default class N extends _0x182f8c{constructor(_0x2c698b,_0x5083d1,_0x3e126b=''){const _0x4e45d3=_0x1aa7;super(_0x2c698b),this[_0x4e45d3(0x177)](_0x4e45d3(0x193),!0x0),this[_0x4e45d3(0x177)](_0x4e45d3(0x186),!0x1),this[_0x4e45d3(0x177)](_0x4e45d3(0x184),''),this[_0x4e45d3(0x177)](_0x4e45d3(0x194),''),this[_0x4e45d3(0x177)](_0x4e45d3(0x17e),!0x1),this[_0x4e45d3(0x177)](_0x4e45d3(0x1ab),_0x5532c2[_0x4e45d3(0x192)]),this[_0x4e45d3(0x1a3)]=new _0x187bdb(),this[_0x4e45d3(0x1ca)]=new _0x4b6805(_0x2c698b),this[_0x4e45d3(0x1c0)]=new _0x36ee3d(_0x2c698b,_0x3e126b),this[_0x4e45d3(0x1c0)][_0x4e45d3(0x1a9)](_0x4e45d3(0x186))['to'](this),this[_0x4e45d3(0x1c0)][_0x4e45d3(0x1a9)](_0x4e45d3(0x194))['to'](this),this[_0x4e45d3(0x1a8)]=this[_0x4e45d3(0x188)](),this[_0x4e45d3(0x1a8)][_0x4e45d3(0x1a9)](_0x4e45d3(0x1ab))['to'](this),this[_0x4e45d3(0x182)]=this[_0x4e45d3(0x1c3)](),this[_0x4e45d3(0x1a0)]=new _0x194572(),this[_0x4e45d3(0x1b5)]=new _0x51aee2(),this[_0x4e45d3(0x1b8)]=this[_0x4e45d3(0x197)]([this[_0x4e45d3(0x1c0)],this[_0x4e45d3(0x1c0)][_0x4e45d3(0x1bd)],this[_0x4e45d3(0x1a8)],this[_0x4e45d3(0x182)]]),this[_0x4e45d3(0x1c6)]=new _0xa1a434({'focusables':this[_0x4e45d3(0x1b8)],'focusTracker':this[_0x4e45d3(0x1a0)],'keystrokeHandler':this[_0x4e45d3(0x1b5)],'actions':{'focusPrevious':_0x4e45d3(0x17d),'focusNext':_0x4e45d3(0x180)}}),this[_0x4e45d3(0x1c6)][_0x4e45d3(0x19e)](this[_0x4e45d3(0x182)][_0x4e45d3(0x1c6)]),this[_0x4e45d3(0x182)][_0x4e45d3(0x178)][_0x4e45d3(0x17a)][_0x4e45d3(0x1a9)](_0x4e45d3(0x194))['to'](this,_0x4e45d3(0x184));const _0x59f0c0=this[_0x4e45d3(0x185)];this[_0x4e45d3(0x1a1)]({'tag':_0x4e45d3(0x1c8),'attributes':{'class':['ck',_0x4e45d3(0x187),_0x5083d1],'tabindex':'-1'},'children':[{'tag':_0x4e45d3(0x1c8),'attributes':{'class':['ck',_0x4e45d3(0x1b9)]},'children':[{'tag':_0x4e45d3(0x1c8),'attributes':{'class':[_0x59f0c0['if'](_0x4e45d3(0x17e),_0x4e45d3(0x1a5),_0x3ee311=>!_0x3ee311)]},'children':[this[_0x4e45d3(0x1ca)]]},this[_0x4e45d3(0x1c0)],this[_0x4e45d3(0x1a8)],this[_0x4e45d3(0x182)]]}]});}[_0x30dbc2(0x1af)](){const _0x58dac8=_0x30dbc2;super[_0x58dac8(0x1af)](),this[_0x58dac8(0x1a0)][_0x58dac8(0x195)](this[_0x58dac8(0x1c0)][_0x58dac8(0x1aa)]),this[_0x58dac8(0x1a0)][_0x58dac8(0x195)](this[_0x58dac8(0x1c0)][_0x58dac8(0x1bd)][_0x58dac8(0x1aa)]),this[_0x58dac8(0x1a0)][_0x58dac8(0x195)](this[_0x58dac8(0x1a8)][_0x58dac8(0x1aa)]),this[_0x58dac8(0x1a0)][_0x58dac8(0x195)](this[_0x58dac8(0x182)][_0x58dac8(0x1aa)]),this[_0x58dac8(0x1b5)][_0x58dac8(0x1ae)](this[_0x58dac8(0x1aa)]);}[_0x30dbc2(0x183)](_0xaa340f=0x1){const _0xfb836c=_0x30dbc2;-0x1===_0xaa340f?this[_0xfb836c(0x1c6)][_0xfb836c(0x1cd)]():this[_0xfb836c(0x1c6)][_0xfb836c(0x1bc)]();}[_0x30dbc2(0x1c7)](){const _0x6be11b=_0x30dbc2;this[_0x6be11b(0x184)]='',this[_0x6be11b(0x194)]='',this[_0x6be11b(0x17e)]=!0x1,this[_0x6be11b(0x182)][_0x6be11b(0x1c7)](),this[_0x6be11b(0x1c0)][_0x6be11b(0x1ac)]=!0x1,this[_0x6be11b(0x1a8)][_0x6be11b(0x1ac)]=!0x1;}[_0x30dbc2(0x1c3)](){const _0x3baf97=_0x30dbc2,_0x231c8c=this[_0x3baf97(0x1b2)],_0x31cfb2=new _0x16e795(_0x231c8c,{'queryView':{'label':_0x368b49(_0x231c8c,_0x3baf97(0x1b1)),'creator':_0x9bfc79,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x368b49(_0x231c8c,_0x3baf97(0x19c)),'secondary':_0x368b49(_0x231c8c,_0x3baf97(0x1be))}}},'filteredView':this[_0x3baf97(0x1ba)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x31cfb2[_0x3baf97(0x1a9)](_0x3baf97(0x193))['to'](this,_0x3baf97(0x193),this,_0x3baf97(0x186),(_0x16e676,_0x503d66)=>_0x16e676&&!_0x503d66),this[_0x3baf97(0x1ae)](_0x31cfb2,_0x3baf97(0x18e),(_0x3e5f9b,_0x1e047b)=>{const _0x553e45=_0x3baf97;this[_0x553e45(0x184)]=_0x1e047b;const _0x1305ec=_0x445976(_0x1e047b);this[_0x553e45(0x1bf)](_0x553e45(0x18c),_0x1305ec),_0x1e047b[_0x553e45(0x1b6)]()&&this[_0x553e45(0x1a3)][_0x553e45(0x195)]({'prompt':_0x1305ec},0x0);},{'priority':_0x3baf97(0x196)}),_0x31cfb2;}[_0x30dbc2(0x1ba)](){const _0x152359=_0x30dbc2,_0x30a30d=new _0x721428(this[_0x152359(0x1b2)]);return _0x30a30d[_0x152359(0x1a6)][_0x152359(0x1a7)][_0x152359(0x1b0)](this[_0x152359(0x1a3)])['as'](_0x1dd48e),_0x30a30d['on'](_0x152359(0x18d),()=>{const _0x39ab12=_0x152359;this[_0x39ab12(0x1a3)][_0x39ab12(0x18a)](),this[_0x39ab12(0x182)][_0x39ab12(0x198)](''),this[_0x39ab12(0x182)][_0x39ab12(0x183)]();}),_0x30a30d;}[_0x30dbc2(0x188)](){const _0x3b93ba=_0x30dbc2,_0x55067e=new _0xf6faf4(this[_0x3b93ba(0x1b2)]);return _0x55067e[_0x3b93ba(0x1c9)][_0x3b93ba(0x1a9)](_0x3b93ba(0x193))['to'](this,_0x3b93ba(0x193),this,_0x3b93ba(0x186),this,_0x3b93ba(0x194),(_0x1a7432,_0x303c0c,_0x367392)=>_0x1a7432&&!_0x303c0c&&!!_0x367392),_0x55067e[_0x3b93ba(0x1c9)][_0x3b93ba(0x1a2)](_0x3b93ba(0x179))['to'](this,_0x3b93ba(0x19a)),_0x55067e[_0x3b93ba(0x1b4)][_0x3b93ba(0x1a9)](_0x3b93ba(0x193))['to'](this,_0x3b93ba(0x193),this,_0x3b93ba(0x186),this,_0x3b93ba(0x194),(_0x1f655f,_0x30f068,_0x296ec2)=>_0x1f655f&&!_0x30f068&&!!_0x296ec2),_0x55067e[_0x3b93ba(0x1b4)][_0x3b93ba(0x1a2)](_0x3b93ba(0x179))['to'](this,_0x3b93ba(0x19f)),_0x55067e[_0x3b93ba(0x1c2)][_0x3b93ba(0x1a9)](_0x3b93ba(0x193))['to'](this,_0x3b93ba(0x193),this,_0x3b93ba(0x186),(_0x1f4cc6,_0x55a9f1)=>_0x1f4cc6&&!_0x55a9f1),_0x55067e[_0x3b93ba(0x1c2)][_0x3b93ba(0x1a2)](_0x3b93ba(0x179))['to'](this,_0x3b93ba(0x1b7)),_0x55067e[_0x3b93ba(0x1b3)][_0x3b93ba(0x1a9)](_0x3b93ba(0x193))['to'](this,_0x3b93ba(0x186)),_0x55067e[_0x3b93ba(0x1b3)][_0x3b93ba(0x1a2)](_0x3b93ba(0x179))['to'](this,_0x3b93ba(0x1c1)),_0x55067e;}[_0x30dbc2(0x17c)](){const _0x5757a8=_0x30dbc2;this[_0x5757a8(0x194)]='',this[_0x5757a8(0x17e)]=!0x1,this[_0x5757a8(0x186)]=!0x0,this[_0x5757a8(0x1c0)][_0x5757a8(0x1ac)]=!0x0,this[_0x5757a8(0x1a8)][_0x5757a8(0x1ac)]=!0x0,this[_0x5757a8(0x1c0)][_0x5757a8(0x183)]();}[_0x30dbc2(0x199)](){const _0xfdbef0=_0x30dbc2,_0x422131=this[_0xfdbef0(0x1b2)];this[_0xfdbef0(0x186)]=!0x1,this[_0xfdbef0(0x184)]='',this[_0xfdbef0(0x182)][_0xfdbef0(0x1c7)](),this[_0xfdbef0(0x194)]&&(this[_0xfdbef0(0x182)][_0xfdbef0(0x178)][_0xfdbef0(0x19d)]=_0x368b49(_0x422131,_0xfdbef0(0x1ad)));}[_0x30dbc2(0x17f)](_0x213399){const _0x3ce93b=_0x30dbc2,_0x5a45c9=this[_0x3ce93b(0x1b2)];this[_0x3ce93b(0x199)](),this[_0x3ce93b(0x17e)]=!0x0,this[_0x3ce93b(0x1ca)][_0x3ce93b(0x1cb)]=_0x213399||_0x368b49(_0x5a45c9,_0x3ce93b(0x1a4)),this[_0x3ce93b(0x194)]||(this[_0x3ce93b(0x1c0)][_0x3ce93b(0x1ac)]=!0x1);}}
23
+ const _0x22b465=_0x7a17;(function(_0x27238d,_0x4ed4da){const _0x445db8=_0x7a17,_0x5bea78=_0x27238d();while(!![]){try{const _0x3510d8=-parseInt(_0x445db8(0x117))/0x1+parseInt(_0x445db8(0x168))/0x2+-parseInt(_0x445db8(0x160))/0x3*(parseInt(_0x445db8(0x153))/0x4)+parseInt(_0x445db8(0x159))/0x5+parseInt(_0x445db8(0x149))/0x6*(-parseInt(_0x445db8(0x14e))/0x7)+-parseInt(_0x445db8(0x13e))/0x8*(-parseInt(_0x445db8(0x132))/0x9)+-parseInt(_0x445db8(0x15b))/0xa*(-parseInt(_0x445db8(0x12e))/0xb);if(_0x3510d8===_0x4ed4da)break;else _0x5bea78['push'](_0x5bea78['shift']());}catch(_0x27328b){_0x5bea78['push'](_0x5bea78['shift']());}}}(_0x11c8,0x2a0b9));import{FocusTracker as _0x3bb2c5,KeystrokeHandler as _0x4b2b8d}from'ckeditor5/src/utils.js';import{View as _0x55f403,FocusCycler as _0x26ff6e,createLabeledTextarea as _0x18c9f9}from'ckeditor5/src/ui.js';import _0x300756,{AIFormToolbarViewMainActionLabel as _0x55fa8c}from'./aiformtoolbarview.js';import _0x2dab3e from'./aiformcontentarea.js';function _0x11c8(){const _0x637139=['promptView','isProcessing','500012tNhWZu','isEnabled','AI_ERROR_FAILED','focusLast','startProcessing','170252jrpOjr','isVisible','focusCycler','render','shift\x20+\x20tab','ck-ai-form','add','mainAction','fieldView','focus','errorView','search','insertContentBelow','focusTracker','delegate','contentArea','chain','value','Ask\x20AI\x20to\x20edit\x20or\x20generate','isError','historyGroupView','reset','submitPrompt','2288wUqwSQ','_promptHistory','insertButton','bindTo','1125gQNUDW','REPLACE','_createPromptView','Empty\x20history','clear','finishProcessing','high','replaceButton','stopProcessing','ck-hidden','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','tryAgainButton','14568OzFPfL','_createToolbar','bind','replaceContent','label','items','fire','Ask\x20AI\x20to\x20improve\x20generated\x20text','clearHistory','_createHistoryView','handleError','550416wawCFO','stopButton','_focusables','keystrokes','setTemplate','14wMSmsf','focusFirst','locale','queryView','div','88DHSlZt','tab','text','submit','copyButtonView','toolbar','405240wyrFwV','listenTo','570icFExH','trim','execute','element','set','6081kImlNN','prompt','ck-ai-form-content','tryAgainEvent','bindTemplate','createCollection'];_0x11c8=function(){return _0x637139;};return _0x11c8();}import _0x59602e from'./aiformerrorview.js';import _0x316f95 from'./aiformpromptview.js';import _0x2de49e from'./aihistorylistview.js';import _0x39e667 from'./aihistorylistitemview.js';import _0x224916 from'./prompthistory.js';import{getTranslation as _0x569ed8}from'../../utils/common-translations.js';function _0x7a17(_0xf927be,_0x42c107){const _0x11c8cd=_0x11c8();return _0x7a17=function(_0x7a1784,_0x43cde5){_0x7a1784=_0x7a1784-0x116;let _0x4fdda7=_0x11c8cd[_0x7a1784];return _0x4fdda7;},_0x7a17(_0xf927be,_0x42c107);}import{escape as _0x514490}from'lodash-es';export default class N extends _0x55f403{constructor(_0x5736c1,_0x63f678,_0x10d599=''){const _0x4fec1c=_0x7a17;super(_0x5736c1),this[_0x4fec1c(0x15f)](_0x4fec1c(0x169),!0x0),this[_0x4fec1c(0x15f)](_0x4fec1c(0x167),!0x1),this[_0x4fec1c(0x15f)](_0x4fec1c(0x161),''),this[_0x4fec1c(0x15f)](_0x4fec1c(0x128),''),this[_0x4fec1c(0x15f)](_0x4fec1c(0x12a),!0x1),this[_0x4fec1c(0x15f)](_0x4fec1c(0x11e),_0x55fa8c[_0x4fec1c(0x133)]),this[_0x4fec1c(0x12f)]=new _0x224916(),this[_0x4fec1c(0x121)]=new _0x59602e(_0x5736c1),this[_0x4fec1c(0x126)]=new _0x2dab3e(_0x5736c1,_0x10d599),this[_0x4fec1c(0x126)][_0x4fec1c(0x140)](_0x4fec1c(0x167))['to'](this),this[_0x4fec1c(0x126)][_0x4fec1c(0x140)](_0x4fec1c(0x128))['to'](this),this[_0x4fec1c(0x158)]=this[_0x4fec1c(0x13f)](),this[_0x4fec1c(0x158)][_0x4fec1c(0x140)](_0x4fec1c(0x11e))['to'](this),this[_0x4fec1c(0x166)]=this[_0x4fec1c(0x134)](),this[_0x4fec1c(0x124)]=new _0x3bb2c5(),this[_0x4fec1c(0x14c)]=new _0x4b2b8d(),this[_0x4fec1c(0x14b)]=this[_0x4fec1c(0x165)]([this[_0x4fec1c(0x126)],this[_0x4fec1c(0x126)][_0x4fec1c(0x157)],this[_0x4fec1c(0x158)],this[_0x4fec1c(0x166)]]),this[_0x4fec1c(0x119)]=new _0x26ff6e({'focusables':this[_0x4fec1c(0x14b)],'focusTracker':this[_0x4fec1c(0x124)],'keystrokeHandler':this[_0x4fec1c(0x14c)],'actions':{'focusPrevious':_0x4fec1c(0x11b),'focusNext':_0x4fec1c(0x154)}}),this[_0x4fec1c(0x119)][_0x4fec1c(0x127)](this[_0x4fec1c(0x166)][_0x4fec1c(0x119)]),this[_0x4fec1c(0x166)][_0x4fec1c(0x151)][_0x4fec1c(0x11f)][_0x4fec1c(0x140)](_0x4fec1c(0x128))['to'](this,_0x4fec1c(0x161));const _0x423e43=this[_0x4fec1c(0x164)];this[_0x4fec1c(0x14d)]({'tag':_0x4fec1c(0x152),'attributes':{'class':['ck',_0x4fec1c(0x11c),_0x63f678],'tabindex':'-1'},'children':[{'tag':_0x4fec1c(0x152),'attributes':{'class':['ck',_0x4fec1c(0x162)]},'children':[{'tag':_0x4fec1c(0x152),'attributes':{'class':[_0x423e43['if'](_0x4fec1c(0x12a),_0x4fec1c(0x13b),_0x2c8430=>!_0x2c8430)]},'children':[this[_0x4fec1c(0x121)]]},this[_0x4fec1c(0x126)],this[_0x4fec1c(0x158)],this[_0x4fec1c(0x166)]]}]});}[_0x22b465(0x11a)](){const _0x1a06eb=_0x22b465;super[_0x1a06eb(0x11a)](),this[_0x1a06eb(0x124)][_0x1a06eb(0x11d)](this[_0x1a06eb(0x126)][_0x1a06eb(0x15e)]),this[_0x1a06eb(0x124)][_0x1a06eb(0x11d)](this[_0x1a06eb(0x126)][_0x1a06eb(0x157)][_0x1a06eb(0x15e)]),this[_0x1a06eb(0x124)][_0x1a06eb(0x11d)](this[_0x1a06eb(0x158)][_0x1a06eb(0x15e)]),this[_0x1a06eb(0x124)][_0x1a06eb(0x11d)](this[_0x1a06eb(0x166)][_0x1a06eb(0x15e)]),this[_0x1a06eb(0x14c)][_0x1a06eb(0x15a)](this[_0x1a06eb(0x15e)]);}[_0x22b465(0x120)](_0x16a325=0x1){const _0x273801=_0x22b465;-0x1===_0x16a325?this[_0x273801(0x119)][_0x273801(0x16b)]():this[_0x273801(0x119)][_0x273801(0x14f)]();}[_0x22b465(0x12c)](){const _0x3e69e7=_0x22b465;this[_0x3e69e7(0x161)]='',this[_0x3e69e7(0x128)]='',this[_0x3e69e7(0x12a)]=!0x1,this[_0x3e69e7(0x166)][_0x3e69e7(0x12c)](),this[_0x3e69e7(0x126)][_0x3e69e7(0x118)]=!0x1,this[_0x3e69e7(0x158)][_0x3e69e7(0x118)]=!0x1;}[_0x22b465(0x134)](){const _0x5b9ce9=_0x22b465,_0x478dc5=this[_0x5b9ce9(0x150)],_0x2c6993=new _0x316f95(_0x478dc5,{'queryView':{'label':_0x569ed8(_0x478dc5,_0x5b9ce9(0x129)),'creator':_0x18c9f9,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x569ed8(_0x478dc5,_0x5b9ce9(0x135)),'secondary':_0x569ed8(_0x478dc5,_0x5b9ce9(0x13c))}}},'filteredView':this[_0x5b9ce9(0x147)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2c6993[_0x5b9ce9(0x140)](_0x5b9ce9(0x169))['to'](this,_0x5b9ce9(0x169),this,_0x5b9ce9(0x167),(_0x3eda07,_0x18b39d)=>_0x3eda07&&!_0x18b39d),this[_0x5b9ce9(0x15a)](_0x2c6993,_0x5b9ce9(0x156),(_0x220f00,_0x331c21)=>{const _0x3e0269=_0x5b9ce9;this[_0x3e0269(0x161)]=_0x331c21;const _0xa96284=_0x514490(_0x331c21);this[_0x3e0269(0x144)](_0x3e0269(0x12d),_0xa96284),_0x331c21[_0x3e0269(0x15c)]()&&this[_0x3e0269(0x12f)][_0x3e0269(0x11d)]({'prompt':_0xa96284},0x0);},{'priority':_0x5b9ce9(0x138)}),_0x2c6993;}[_0x22b465(0x147)](){const _0x1697ed=_0x22b465,_0x4dc9e4=new _0x2de49e(this[_0x1697ed(0x150)]);return _0x4dc9e4[_0x1697ed(0x12b)][_0x1697ed(0x143)][_0x1697ed(0x131)](this[_0x1697ed(0x12f)])['as'](_0x39e667),_0x4dc9e4['on'](_0x1697ed(0x146),()=>{const _0xd5f2be=_0x1697ed;this[_0xd5f2be(0x12f)][_0xd5f2be(0x136)](),this[_0xd5f2be(0x166)][_0xd5f2be(0x122)](''),this[_0xd5f2be(0x166)][_0xd5f2be(0x120)]();}),_0x4dc9e4;}[_0x22b465(0x13f)](){const _0x2caad7=_0x22b465,_0x2af172=new _0x300756(this[_0x2caad7(0x150)]);return _0x2af172[_0x2caad7(0x139)][_0x2caad7(0x140)](_0x2caad7(0x169))['to'](this,_0x2caad7(0x169),this,_0x2caad7(0x167),this,_0x2caad7(0x128),(_0x155592,_0x5bf00c,_0x5d29a3)=>_0x155592&&!_0x5bf00c&&!!_0x5d29a3),_0x2af172[_0x2caad7(0x139)][_0x2caad7(0x125)](_0x2caad7(0x15d))['to'](this,_0x2caad7(0x141)),_0x2af172[_0x2caad7(0x130)][_0x2caad7(0x140)](_0x2caad7(0x169))['to'](this,_0x2caad7(0x169),this,_0x2caad7(0x167),this,_0x2caad7(0x128),(_0x34c07a,_0x26ef95,_0x463399)=>_0x34c07a&&!_0x26ef95&&!!_0x463399),_0x2af172[_0x2caad7(0x130)][_0x2caad7(0x125)](_0x2caad7(0x15d))['to'](this,_0x2caad7(0x123)),_0x2af172[_0x2caad7(0x13d)][_0x2caad7(0x140)](_0x2caad7(0x169))['to'](this,_0x2caad7(0x169),this,_0x2caad7(0x167),(_0x17eec9,_0x258434)=>_0x17eec9&&!_0x258434),_0x2af172[_0x2caad7(0x13d)][_0x2caad7(0x125)](_0x2caad7(0x15d))['to'](this,_0x2caad7(0x163)),_0x2af172[_0x2caad7(0x14a)][_0x2caad7(0x140)](_0x2caad7(0x169))['to'](this,_0x2caad7(0x167)),_0x2af172[_0x2caad7(0x14a)][_0x2caad7(0x125)](_0x2caad7(0x15d))['to'](this,_0x2caad7(0x13a)),_0x2af172;}[_0x22b465(0x116)](){const _0x338944=_0x22b465;this[_0x338944(0x128)]='',this[_0x338944(0x12a)]=!0x1,this[_0x338944(0x167)]=!0x0,this[_0x338944(0x126)][_0x338944(0x118)]=!0x0,this[_0x338944(0x158)][_0x338944(0x118)]=!0x0,this[_0x338944(0x126)][_0x338944(0x120)]();}[_0x22b465(0x137)](){const _0x586d2d=_0x22b465,_0x3d5580=this[_0x586d2d(0x150)];this[_0x586d2d(0x167)]=!0x1,this[_0x586d2d(0x161)]='',this[_0x586d2d(0x166)][_0x586d2d(0x12c)](),this[_0x586d2d(0x128)]&&(this[_0x586d2d(0x166)][_0x586d2d(0x151)][_0x586d2d(0x142)]=_0x569ed8(_0x3d5580,_0x586d2d(0x145)));}[_0x22b465(0x148)](_0x34c0c7){const _0x50e846=_0x22b465,_0x456c2b=this[_0x50e846(0x150)];this[_0x50e846(0x137)](),this[_0x50e846(0x12a)]=!0x0,this[_0x50e846(0x121)][_0x50e846(0x155)]=_0x34c0c7||_0x569ed8(_0x456c2b,_0x50e846(0x16a)),this[_0x50e846(0x128)]||(this[_0x50e846(0x126)][_0x50e846(0x118)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x58f47d,_0x96951f){const _0x2b4b2b=_0x2f07,_0x2c76e1=_0x58f47d();while(!![]){try{const _0x1fde25=-parseInt(_0x2b4b2b(0x1ca))/0x1+-parseInt(_0x2b4b2b(0x1d4))/0x2*(parseInt(_0x2b4b2b(0x1d0))/0x3)+parseInt(_0x2b4b2b(0x1d7))/0x4+parseInt(_0x2b4b2b(0x1d1))/0x5*(-parseInt(_0x2b4b2b(0x1cf))/0x6)+parseInt(_0x2b4b2b(0x1c7))/0x7+-parseInt(_0x2b4b2b(0x1cd))/0x8*(-parseInt(_0x2b4b2b(0x1d5))/0x9)+-parseInt(_0x2b4b2b(0x1c6))/0xa*(-parseInt(_0x2b4b2b(0x1d2))/0xb);if(_0x1fde25===_0x96951f)break;else _0x2c76e1['push'](_0x2c76e1['shift']());}catch(_0x2e752d){_0x2c76e1['push'](_0x2c76e1['shift']());}}}(_0x2fd6,0x1d188));import{ListItemView as _0x5d7cac,ButtonView as _0x5c1d1e,ButtonLabelWithHighlightView as _0x250d43}from'ckeditor5/src/ui.js';function _0x2f07(_0xb0527b,_0x3b0e42){const _0x2fd6bc=_0x2fd6();return _0x2f07=function(_0x2f0743,_0x1b8759){_0x2f0743=_0x2f0743-0x1c6;let _0x53a119=_0x2fd6bc[_0x2f0743];return _0x53a119;},_0x2f07(_0xb0527b,_0x3b0e42);}import{unescape as _0x3f2a0c}from'lodash-es';export default class os extends _0x5d7cac{constructor(_0x826a29){const _0x56cc98=_0x2f07;super();const _0x520a84=new _0x250d43(),_0x32d0b8=new _0x5c1d1e(this[_0x56cc98(0x1cb)],_0x520a84);this[_0x56cc98(0x1c9)][_0x56cc98(0x1d3)](_0x32d0b8),_0x32d0b8[_0x56cc98(0x1cc)]({'label':_0x826a29[_0x56cc98(0x1ce)],'withText':!0x0}),_0x32d0b8['on'](_0x56cc98(0x1c8),()=>{const _0xa53f18=_0x56cc98;this[_0xa53f18(0x1d6)](_0xa53f18(0x1c8),{'value':_0x3f2a0c(_0x826a29[_0xa53f18(0x1ce)])});});}}function _0x2fd6(){const _0x381035=['6030UIJOhm','21ZqYlVY','1150HmZYUP','171193vvjKpi','add','14782JnXLpU','1780011hgWhEX','fire','260924aMefaw','110yGCdmb','319599sbUwVF','execute','children','77797vbOhai','locale','set','8zMNiwb','prompt'];_0x2fd6=function(){return _0x381035;};return _0x2fd6();}
23
+ (function(_0x50456e,_0x2a7840){const _0x46f7a1=_0x2751,_0x5b91c3=_0x50456e();while(!![]){try{const _0x37fdbd=-parseInt(_0x46f7a1(0xfc))/0x1+parseInt(_0x46f7a1(0xf5))/0x2+parseInt(_0x46f7a1(0xf4))/0x3+parseInt(_0x46f7a1(0xfb))/0x4+parseInt(_0x46f7a1(0xf3))/0x5*(parseInt(_0x46f7a1(0xf8))/0x6)+-parseInt(_0x46f7a1(0xfa))/0x7+-parseInt(_0x46f7a1(0x100))/0x8;if(_0x37fdbd===_0x2a7840)break;else _0x5b91c3['push'](_0x5b91c3['shift']());}catch(_0x2c3ff1){_0x5b91c3['push'](_0x5b91c3['shift']());}}}(_0x1c9f,0xb060f));function _0x2751(_0xdc8ad1,_0xd2febd){const _0x1c9f43=_0x1c9f();return _0x2751=function(_0x27519c,_0x3b3bbf){_0x27519c=_0x27519c-0xf3;let _0x3d7224=_0x1c9f43[_0x27519c];return _0x3d7224;},_0x2751(_0xdc8ad1,_0xd2febd);}import{ListItemView as _0x11035d,ButtonView as _0x490986,ButtonLabelWithHighlightView as _0x242b24}from'ckeditor5/src/ui.js';import{unescape as _0x18e40b}from'lodash-es';function _0x1c9f(){const _0x3e74e0=['2386624uILOMm','prompt','fire','6pTzAvT','children','125853sSrpZT','3055544fuLPWU','1214973nbQNmj','add','set','locale','10777872xXnlvC','execute','1888685WVZBZB','2903094oPtMUA'];_0x1c9f=function(){return _0x3e74e0;};return _0x1c9f();}export default class os extends _0x11035d{constructor(_0x582ebd){const _0x309b1c=_0x2751;super();const _0x4db905=new _0x242b24(),_0x5932ca=new _0x490986(this[_0x309b1c(0xff)],_0x4db905);this[_0x309b1c(0xf9)][_0x309b1c(0xfd)](_0x5932ca),_0x5932ca[_0x309b1c(0xfe)]({'label':_0x582ebd[_0x309b1c(0xf6)],'withText':!0x0}),_0x5932ca['on'](_0x309b1c(0x101),()=>{const _0x132d92=_0x309b1c;this[_0x132d92(0xf7)](_0x132d92(0x101),{'value':_0x18e40b(_0x582ebd[_0x132d92(0xf6)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39e896=_0x4bba;function _0x2f22(){const _0x304415=['items','delegate','662155hdlMSN','clearHistory','clearHistoryButton','execute','5846253bAcrba','children','fire','4dzHPOA','68799aRJQUI','16lUsrVY','length','historyGroupView','Prompt\x20history','621339szzvtD','13117788zzZfey','Clear','_createClearHistoryButton','set','4818496svIKfC','locale','filter','add','1359174wrQplz','label'];_0x2f22=function(){return _0x304415;};return _0x2f22();}function _0x4bba(_0xe2821b,_0x184e94){const _0x2f229a=_0x2f22();return _0x4bba=function(_0x4bba05,_0x430476){_0x4bba05=_0x4bba05-0x116;let _0x512c7e=_0x2f229a[_0x4bba05];return _0x512c7e;},_0x4bba(_0xe2821b,_0x184e94);}(function(_0x122b9d,_0x37279c){const _0x2dfc12=_0x4bba,_0x59e53b=_0x122b9d();while(!![]){try{const _0x529ca5=parseInt(_0x2dfc12(0x123))/0x1+-parseInt(_0x2dfc12(0x11f))/0x2*(-parseInt(_0x2dfc12(0x11e))/0x3)+-parseInt(_0x2dfc12(0x11d))/0x4*(parseInt(_0x2dfc12(0x116))/0x5)+-parseInt(_0x2dfc12(0x12c))/0x6+-parseInt(_0x2dfc12(0x11a))/0x7+-parseInt(_0x2dfc12(0x128))/0x8+parseInt(_0x2dfc12(0x124))/0x9;if(_0x529ca5===_0x37279c)break;else _0x59e53b['push'](_0x59e53b['shift']());}catch(_0x5e8a87){_0x59e53b['push'](_0x59e53b['shift']());}}}(_0x2f22,0x71bdc));import{ListView as _0x40047a,ListItemGroupView as _0xbb5aa0,ButtonView as _0x21f9a4}from'ckeditor5/src/ui.js';import{getTranslation as _0x1b46bd}from'../../utils/common-translations.js';export default class hs extends _0x40047a{constructor(_0x1edfd7){const _0x34cb28=_0x4bba;super(_0x1edfd7),this[_0x34cb28(0x118)]=this[_0x34cb28(0x126)](),this[_0x34cb28(0x121)]=new _0xbb5aa0(),this[_0x34cb28(0x121)][_0x34cb28(0x11b)][_0x34cb28(0x12b)](this[_0x34cb28(0x118)],0x1),this[_0x34cb28(0x121)][_0x34cb28(0x12d)]=_0x1b46bd(_0x1edfd7,_0x34cb28(0x122)),this[_0x34cb28(0x121)][_0x34cb28(0x12e)][_0x34cb28(0x12f)](_0x34cb28(0x119))['to'](this),this[_0x34cb28(0x12e)][_0x34cb28(0x12b)](this[_0x34cb28(0x121)]);}[_0x39e896(0x12a)](){const _0x2ae66c=_0x39e896;let _0x21a207=0x0;for(const _0x25b7b2 of this[_0x2ae66c(0x12e)])_0x21a207+=_0x25b7b2[_0x2ae66c(0x12e)][_0x2ae66c(0x120)];return{'resultsCount':_0x21a207,'totalItemsCount':_0x21a207};}[_0x39e896(0x126)](){const _0x4c9225=_0x39e896,_0x24b248=this[_0x4c9225(0x129)],_0x204a7d=new _0x21f9a4(this[_0x4c9225(0x129)]);return _0x204a7d[_0x4c9225(0x127)]({'label':'('+_0x1b46bd(_0x24b248,_0x4c9225(0x125))+')','withText':!0x0}),_0x204a7d['on'](_0x4c9225(0x119),()=>this[_0x4c9225(0x11c)](_0x4c9225(0x117))),_0x204a7d;}}
23
+ const _0x482ec9=_0x528d;function _0x1367(){const _0x4dfe40=['historyGroupView','fire','252119WkfuzY','38466TlmUbt','1227436BrkTnN','clearHistory','label','99463kczVbO','add','children','_createClearHistoryButton','Prompt\x20history','set','3416368mPCRxf','execute','items','clearHistoryButton','Clear','258VqFcuD','8169705bQGFuQ','locale','filter','58bxYqwI','39260HvRPrV','length','delegate'];_0x1367=function(){return _0x4dfe40;};return _0x1367();}function _0x528d(_0x259e94,_0x4ad215){const _0x136731=_0x1367();return _0x528d=function(_0x528d51,_0x1dbb68){_0x528d51=_0x528d51-0x7f;let _0x2e37f6=_0x136731[_0x528d51];return _0x2e37f6;},_0x528d(_0x259e94,_0x4ad215);}(function(_0x804307,_0x29ffbe){const _0x2e9023=_0x528d,_0x3cc783=_0x804307();while(!![]){try{const _0x2340eb=-parseInt(_0x2e9023(0x85))/0x1+-parseInt(_0x2e9023(0x7f))/0x2*(-parseInt(_0x2e9023(0x86))/0x3)+parseInt(_0x2e9023(0x87))/0x4+-parseInt(_0x2e9023(0x80))/0x5*(-parseInt(_0x2e9023(0x95))/0x6)+parseInt(_0x2e9023(0x8a))/0x7+parseInt(_0x2e9023(0x90))/0x8+-parseInt(_0x2e9023(0x96))/0x9;if(_0x2340eb===_0x29ffbe)break;else _0x3cc783['push'](_0x3cc783['shift']());}catch(_0x5d023f){_0x3cc783['push'](_0x3cc783['shift']());}}}(_0x1367,0x48afc));import{ListView as _0x50fbd1,ListItemGroupView as _0x1bec67,ButtonView as _0x1cb1b9}from'ckeditor5/src/ui.js';import{getTranslation as _0x3a5b53}from'../../utils/common-translations.js';export default class hs extends _0x50fbd1{constructor(_0x3f27df){const _0xc94e0b=_0x528d;super(_0x3f27df),this[_0xc94e0b(0x93)]=this[_0xc94e0b(0x8d)](),this[_0xc94e0b(0x83)]=new _0x1bec67(),this[_0xc94e0b(0x83)][_0xc94e0b(0x8c)][_0xc94e0b(0x8b)](this[_0xc94e0b(0x93)],0x1),this[_0xc94e0b(0x83)][_0xc94e0b(0x89)]=_0x3a5b53(_0x3f27df,_0xc94e0b(0x8e)),this[_0xc94e0b(0x83)][_0xc94e0b(0x92)][_0xc94e0b(0x82)](_0xc94e0b(0x91))['to'](this),this[_0xc94e0b(0x92)][_0xc94e0b(0x8b)](this[_0xc94e0b(0x83)]);}[_0x482ec9(0x98)](){const _0x20f62e=_0x482ec9;let _0x1e88de=0x0;for(const _0x39a1da of this[_0x20f62e(0x92)])_0x1e88de+=_0x39a1da[_0x20f62e(0x92)][_0x20f62e(0x81)];return{'resultsCount':_0x1e88de,'totalItemsCount':_0x1e88de};}[_0x482ec9(0x8d)](){const _0x355029=_0x482ec9,_0x347a91=this[_0x355029(0x97)],_0x565423=new _0x1cb1b9(this[_0x355029(0x97)]);return _0x565423[_0x355029(0x8f)]({'label':'('+_0x3a5b53(_0x347a91,_0x355029(0x94))+')','withText':!0x0}),_0x565423['on'](_0x355029(0x91),()=>this[_0x355029(0x84)](_0x355029(0x88))),_0x565423;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d3b09=_0x2177;(function(_0x273719,_0x322579){const _0x7ccc9c=_0x2177,_0x11667a=_0x273719();while(!![]){try{const _0x4618de=-parseInt(_0x7ccc9c(0x19d))/0x1*(parseInt(_0x7ccc9c(0x1b5))/0x2)+-parseInt(_0x7ccc9c(0x1ae))/0x3*(parseInt(_0x7ccc9c(0x1af))/0x4)+-parseInt(_0x7ccc9c(0x1a3))/0x5*(-parseInt(_0x7ccc9c(0x1b1))/0x6)+-parseInt(_0x7ccc9c(0x1a5))/0x7+parseInt(_0x7ccc9c(0x1b6))/0x8+parseInt(_0x7ccc9c(0x1b4))/0x9+parseInt(_0x7ccc9c(0x1a1))/0xa;if(_0x4618de===_0x322579)break;else _0x11667a['push'](_0x11667a['shift']());}catch(_0x53b17e){_0x11667a['push'](_0x11667a['shift']());}}}(_0x47fb,0xd27d4));import{Collection as _0x16cc18}from'ckeditor5/src/utils.js';function _0x2177(_0x459173,_0x145da9){const _0x47fb1d=_0x47fb();return _0x2177=function(_0x217797,_0x30503e){_0x217797=_0x217797-0x19d;let _0x3cc4f7=_0x47fb1d[_0x217797];return _0x3cc4f7;},_0x2177(_0x459173,_0x145da9);}function _0x47fb(){const _0x57f259=['8795192szeVCr','stringify','toLowerCase','addMany','add','setItem','_saveToSessionStorage','getItem','last','3evlPjl','5007404ztdjdq','remove','854046vHKeCC','map','prompt','2295918SzWFVB','880026YJVLAr','410240oklOzK','3vQZjfr','_loadFromSessionStorage','length','CKEditor/AIFormView/PromptHistory','42417870jxpjRW','trim','5lwKRKj','parse'];_0x47fb=function(){return _0x57f259;};return _0x47fb();}const Ss=_0x4d3b09(0x1a0);export default class ns extends _0x16cc18{constructor(){const _0x2166c8=_0x4d3b09;super(),this[_0x2166c8(0x19e)](),this['on'](_0x2166c8(0x1a9),(_0x1de268,_0x1dee73)=>{const _0x2922af=_0x2166c8,_0x2902e1=ds(_0x1dee73[_0x2922af(0x1b3)]);for(const _0xa78908 of this)if(_0xa78908!=_0x1dee73&&ds(_0xa78908[_0x2922af(0x1b3)])===_0x2902e1){this[_0x2922af(0x1b0)](_0xa78908);break;}this[_0x2922af(0x19f)]>0x14&&this[_0x2922af(0x1b0)](this[_0x2922af(0x1ad)]),this[_0x2922af(0x1ab)]();}),this['on'](_0x2166c8(0x1b0),()=>{const _0x2f0f20=_0x2166c8;this[_0x2f0f20(0x1ab)]();});}[_0x4d3b09(0x19e)](){const _0x4143b3=_0x4d3b09,_0x2c53df=sessionStorage[_0x4143b3(0x1ac)](Ss)||'[]';this[_0x4143b3(0x1a8)](JSON[_0x4143b3(0x1a4)](_0x2c53df));}[_0x4d3b09(0x1ab)](){const _0x5d4809=_0x4d3b09;sessionStorage[_0x5d4809(0x1aa)](Ss,JSON[_0x5d4809(0x1a6)](this[_0x5d4809(0x1b2)](_0x31045a=>_0x31045a)));}}function ds(_0x166f0b){const _0x28f111=_0x4d3b09;return _0x166f0b[_0x28f111(0x1a7)]()[_0x28f111(0x1a2)]();}
23
+ const _0x206ce6=_0x47ed;(function(_0x101a27,_0x555262){const _0x286290=_0x47ed,_0x5002fe=_0x101a27();while(!![]){try{const _0x4fe2d8=parseInt(_0x286290(0xa1))/0x1+parseInt(_0x286290(0xa6))/0x2*(parseInt(_0x286290(0x94))/0x3)+-parseInt(_0x286290(0x9e))/0x4+-parseInt(_0x286290(0x96))/0x5*(-parseInt(_0x286290(0x9c))/0x6)+-parseInt(_0x286290(0xa5))/0x7*(-parseInt(_0x286290(0x99))/0x8)+-parseInt(_0x286290(0xa7))/0x9+-parseInt(_0x286290(0x95))/0xa;if(_0x4fe2d8===_0x555262)break;else _0x5002fe['push'](_0x5002fe['shift']());}catch(_0x1219cc){_0x5002fe['push'](_0x5002fe['shift']());}}}(_0x55db,0x340a5));function _0x55db(){const _0x4c75cd=['parse','189075TQNGbn','7745360yTIgmm','5iQhrIk','toLowerCase','_loadFromSessionStorage','2704tAXlyF','length','trim','341370euQyyw','_saveToSessionStorage','190032bwzdtD','CKEditor/AIFormView/PromptHistory','last','360384YnSZdE','add','setItem','prompt','7721howVHt','10vdSfwB','630153hFhYXh','remove','stringify','getItem','addMany','map'];_0x55db=function(){return _0x4c75cd;};return _0x55db();}function _0x47ed(_0x58741f,_0x20d96b){const _0x55db76=_0x55db();return _0x47ed=function(_0x47edda,_0x373cd9){_0x47edda=_0x47edda-0x8f;let _0x255733=_0x55db76[_0x47edda];return _0x255733;},_0x47ed(_0x58741f,_0x20d96b);}import{Collection as _0x5aaade}from'ckeditor5/src/utils.js';const Ss=_0x206ce6(0x9f);export default class ns extends _0x5aaade{constructor(){const _0xa26b83=_0x206ce6;super(),this[_0xa26b83(0x98)](),this['on'](_0xa26b83(0xa2),(_0x3cd3d4,_0x54eda1)=>{const _0x3728c6=_0xa26b83,_0xd6c5de=ds(_0x54eda1[_0x3728c6(0xa4)]);for(const _0x299049 of this)if(_0x299049!=_0x54eda1&&ds(_0x299049[_0x3728c6(0xa4)])===_0xd6c5de){this[_0x3728c6(0xa8)](_0x299049);break;}this[_0x3728c6(0x9a)]>0x14&&this[_0x3728c6(0xa8)](this[_0x3728c6(0xa0)]),this[_0x3728c6(0x9d)]();}),this['on'](_0xa26b83(0xa8),()=>{const _0x44da70=_0xa26b83;this[_0x44da70(0x9d)]();});}[_0x206ce6(0x98)](){const _0x319de1=_0x206ce6,_0xe75739=sessionStorage[_0x319de1(0x90)](Ss)||'[]';this[_0x319de1(0x91)](JSON[_0x319de1(0x93)](_0xe75739));}[_0x206ce6(0x9d)](){const _0x1a742d=_0x206ce6;sessionStorage[_0x1a742d(0xa3)](Ss,JSON[_0x1a742d(0x8f)](this[_0x1a742d(0x92)](_0x50b1f9=>_0x50b1f9)));}}function ds(_0x50d7b7){const _0x3b23e7=_0x206ce6;return _0x50d7b7[_0x3b23e7(0x97)]()[_0x3b23e7(0x9b)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb0d5fb=_0x45fa;function _0x45fa(_0x26fee1,_0x590456){const _0x36d2d5=_0x36d2();return _0x45fa=function(_0x45fa0a,_0x1136a9){_0x45fa0a=_0x45fa0a-0x92;let _0xdfb956=_0x36d2d5[_0x45fa0a];return _0xdfb956;},_0x45fa(_0x26fee1,_0x590456);}(function(_0x59026a,_0x275036){const _0x3cd01e=_0x45fa,_0x71e10b=_0x59026a();while(!![]){try{const _0x404a83=-parseInt(_0x3cd01e(0xbe))/0x1+-parseInt(_0x3cd01e(0x98))/0x2*(parseInt(_0x3cd01e(0xbf))/0x3)+parseInt(_0x3cd01e(0xbd))/0x4+parseInt(_0x3cd01e(0xb5))/0x5+parseInt(_0x3cd01e(0xbc))/0x6*(parseInt(_0x3cd01e(0xb3))/0x7)+parseInt(_0x3cd01e(0x96))/0x8+-parseInt(_0x3cd01e(0xa3))/0x9*(parseInt(_0x3cd01e(0x92))/0xa);if(_0x404a83===_0x275036)break;else _0x71e10b['push'](_0x71e10b['shift']());}catch(_0x47c4ff){_0x71e10b['push'](_0x71e10b['shift']());}}}(_0x36d2,0x3a8f4));import{Command as _0x47322a}from'ckeditor5/src/core.js';function _0x36d2(){const _0x313a5d=['reduce','from','isCollapsed','showUI','246AbKull','1370128ckXTjE','464302ZoyiTS','186aTZXfI','291910hieSrq','_hasContext','includes','getItems','1363520lPpbIi','ai.aiAssistant.disabledElements','6238txINdd','element','isEnabled','add','commands','model','refresh','concat','change:isEnabled','document','enabledCommandsIds','99XAoxiG','getSelectedBlocks','getRanges','execute','name','change:_hasContext','length','_commandDefinitions','plugins','custom','editor','isEmpty','config','getFirstRange','hasContent','requiresContent','47516qcMhRA','get','2136805HEXOkI','selection','set'];_0x36d2=function(){return _0x313a5d;};return _0x36d2();}import _0x52f2a1 from'../aiassistantui.js';export default class x extends _0x47322a{constructor(_0x3b0831,_0x457a35){const _0x3313ec=_0x45fa;super(_0x3b0831),this[_0x3313ec(0xaa)]=_0x457a35?_0x457a35[_0x3313ec(0xb8)]((_0x33f5d0,_0x5c40a7)=>_0x33f5d0[_0x3313ec(0x9f)](_0x5c40a7[_0x3313ec(0x9c)]),new Array()):[],this[_0x3313ec(0xb7)](_0x3313ec(0xa2),[]),this['on'](_0x3313ec(0xa8),(_0x36fc54,_0x5351c8,_0x32e4a7)=>{const _0x2b44eb=_0x3313ec;this[_0x2b44eb(0x9a)]&&(this[_0x2b44eb(0xa2)]=K(this[_0x2b44eb(0xaa)],_0x32e4a7));}),this[_0x3313ec(0xb7)](_0x3313ec(0x93),!0x1),this['on'](_0x3313ec(0xa0),(_0x137508,_0x1ab0de,_0x3eb4c9)=>{const _0x4a49a8=_0x3313ec;this[_0x4a49a8(0xa2)]=_0x3eb4c9?K(this[_0x4a49a8(0xaa)],this[_0x4a49a8(0x93)]):[];});}[_0xb0d5fb(0x9e)](){const _0x2a32ca=_0xb0d5fb,_0xe38f01=this[_0x2a32ca(0xad)][_0x2a32ca(0x9d)];this[_0x2a32ca(0x93)]=function(_0x485b0b){const _0x495ba0=_0x2a32ca,_0x5809d3=_0x485b0b[_0x495ba0(0xa1)][_0x495ba0(0xb6)];return _0x5809d3[_0x495ba0(0xba)]?0x0!==[..._0x5809d3[_0x495ba0(0xa4)]()][_0x495ba0(0xa9)]&&![..._0x5809d3[_0x495ba0(0xa4)]()][0x0][_0x495ba0(0xae)]:!!_0x485b0b[_0x495ba0(0xb1)](_0x5809d3[_0x495ba0(0xb0)]());}(_0xe38f01);const _0x318631=_0xe38f01[_0x2a32ca(0xa1)][_0x2a32ca(0xb6)],_0x1f8d11=this[_0x2a32ca(0xad)][_0x2a32ca(0xaf)][_0x2a32ca(0xb4)](_0x2a32ca(0x97));for(const _0xde9f5d of _0x318631[_0x2a32ca(0xa5)]())for(const _0x55f2f2 of _0xde9f5d[_0x2a32ca(0x95)]())if(_0x55f2f2['is'](_0x2a32ca(0x99))&&_0x1f8d11[_0x2a32ca(0x94)](_0x55f2f2[_0x2a32ca(0xa7)]))return void(this[_0x2a32ca(0x9a)]=!0x1);this[_0x2a32ca(0x9a)]=!0x0;}[_0xb0d5fb(0xa6)](_0x4c4547='',_0x49f87a='',_0x39c583=_0xb0d5fb(0xac)){const _0x322571=_0xb0d5fb;this[_0x322571(0xad)][_0x322571(0xab)][_0x322571(0xb4)](_0x52f2a1)[_0x322571(0xbb)](_0x4c4547,_0x49f87a,_0x39c583);}}function K(_0x40f496,_0x5f1504){const _0x1374c0=_0xb0d5fb,_0x4c8c23=new Set();for(const _0x53dc2d of _0x40f496)(_0x5f1504||!0x1===_0x53dc2d[_0x1374c0(0xb2)])&&_0x4c8c23[_0x1374c0(0x9b)](_0x53dc2d['id']);return Array[_0x1374c0(0xb9)](_0x4c8c23);}
23
+ const _0x3e67d2=_0x369e;(function(_0x1aa53f,_0x3df7a0){const _0x4c50c5=_0x369e,_0x2d3ada=_0x1aa53f();while(!![]){try{const _0xb649dd=parseInt(_0x4c50c5(0x14a))/0x1+parseInt(_0x4c50c5(0x13f))/0x2*(parseInt(_0x4c50c5(0x148))/0x3)+parseInt(_0x4c50c5(0x150))/0x4+parseInt(_0x4c50c5(0x128))/0x5*(-parseInt(_0x4c50c5(0x136))/0x6)+-parseInt(_0x4c50c5(0x13d))/0x7+-parseInt(_0x4c50c5(0x123))/0x8*(parseInt(_0x4c50c5(0x143))/0x9)+parseInt(_0x4c50c5(0x14b))/0xa*(parseInt(_0x4c50c5(0x14f))/0xb);if(_0xb649dd===_0x3df7a0)break;else _0x2d3ada['push'](_0x2d3ada['shift']());}catch(_0x15b2dc){_0x2d3ada['push'](_0x2d3ada['shift']());}}}(_0x384a,0xa0bf6));function _0x384a(){const _0xdf7b80=['24CjULTU','editor','custom','getRanges','refresh','29870ykJldo','change:isEnabled','includes','element','document','from','_hasContext','execute','length','requiresContent','set','concat','add','config','828cdfiPn','isCollapsed','get','name','selection','hasContent','getSelectedBlocks','5417209ZvYzHr','showUI','4SpnCgJ','change:_hasContext','reduce','commands','2273346gAYVtD','enabledCommandsIds','isEmpty','getItems','isEnabled','996927ONAxiX','ai.aiAssistant.disabledElements','466863LhyejR','1535090zQdlpO','getFirstRange','model','plugins','132IqABou','163656xkfmZd','_commandDefinitions'];_0x384a=function(){return _0xdf7b80;};return _0x384a();}import{Command as _0x1267d6}from'ckeditor5/src/core.js';import _0x244cff from'../aiassistantui.js';function _0x369e(_0x512490,_0x5b5efb){const _0x384a72=_0x384a();return _0x369e=function(_0x369ebb,_0x2ab67c){_0x369ebb=_0x369ebb-0x123;let _0x2714c7=_0x384a72[_0x369ebb];return _0x2714c7;},_0x369e(_0x512490,_0x5b5efb);}export default class x extends _0x1267d6{constructor(_0x432a80,_0x13848e){const _0x4938a0=_0x369e;super(_0x432a80),this[_0x4938a0(0x151)]=_0x13848e?_0x13848e[_0x4938a0(0x141)]((_0x472872,_0x3dfb5c)=>_0x472872[_0x4938a0(0x133)](_0x3dfb5c[_0x4938a0(0x142)]),new Array()):[],this[_0x4938a0(0x132)](_0x4938a0(0x144),[]),this['on'](_0x4938a0(0x140),(_0x20f005,_0x43c58c,_0x3a66bc)=>{const _0x454203=_0x4938a0;this[_0x454203(0x147)]&&(this[_0x454203(0x144)]=K(this[_0x454203(0x151)],_0x3a66bc));}),this[_0x4938a0(0x132)](_0x4938a0(0x12e),!0x1),this['on'](_0x4938a0(0x129),(_0x391179,_0x1cf8d1,_0x4a0779)=>{const _0x3c9b87=_0x4938a0;this[_0x3c9b87(0x144)]=_0x4a0779?K(this[_0x3c9b87(0x151)],this[_0x3c9b87(0x12e)]):[];});}[_0x3e67d2(0x127)](){const _0x486622=_0x3e67d2,_0x4cb25f=this[_0x486622(0x124)][_0x486622(0x14d)];this[_0x486622(0x12e)]=function(_0x5214bf){const _0x1bb76a=_0x486622,_0x48550e=_0x5214bf[_0x1bb76a(0x12c)][_0x1bb76a(0x13a)];return _0x48550e[_0x1bb76a(0x137)]?0x0!==[..._0x48550e[_0x1bb76a(0x13c)]()][_0x1bb76a(0x130)]&&![..._0x48550e[_0x1bb76a(0x13c)]()][0x0][_0x1bb76a(0x145)]:!!_0x5214bf[_0x1bb76a(0x13b)](_0x48550e[_0x1bb76a(0x14c)]());}(_0x4cb25f);const _0x37476d=_0x4cb25f[_0x486622(0x12c)][_0x486622(0x13a)],_0x1e96d0=this[_0x486622(0x124)][_0x486622(0x135)][_0x486622(0x138)](_0x486622(0x149));for(const _0x2ba07a of _0x37476d[_0x486622(0x126)]())for(const _0x257340 of _0x2ba07a[_0x486622(0x146)]())if(_0x257340['is'](_0x486622(0x12b))&&_0x1e96d0[_0x486622(0x12a)](_0x257340[_0x486622(0x139)]))return void(this[_0x486622(0x147)]=!0x1);this[_0x486622(0x147)]=!0x0;}[_0x3e67d2(0x12f)](_0x4d076e='',_0x34993a='',_0x5e832a=_0x3e67d2(0x125)){const _0x534c37=_0x3e67d2;this[_0x534c37(0x124)][_0x534c37(0x14e)][_0x534c37(0x138)](_0x244cff)[_0x534c37(0x13e)](_0x4d076e,_0x34993a,_0x5e832a);}}function K(_0x4a2eed,_0x495c5b){const _0x490a5a=_0x3e67d2,_0x10430d=new Set();for(const _0x1a9fab of _0x4a2eed)(_0x495c5b||!0x1===_0x1a9fab[_0x490a5a(0x131)])&&_0x10430d[_0x490a5a(0x134)](_0x1a9fab['id']);return Array[_0x490a5a(0x12d)](_0x10430d);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x22ae7e,_0x373d0c,_0x317c17){const t=_0x22ae7e['t'];switch(_0x373d0c){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',_0x317c17);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',_0x317c17);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',_0x317c17);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x317c17);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'},_0x317c17);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 _0x373d0c;}}
23
+ export function getTranslation(_0x3c3c00,_0x48b3f2,_0x349c2b){const t=_0x3c3c00['t'];switch(_0x48b3f2){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',_0x349c2b);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',_0x349c2b);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',_0x349c2b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x349c2b);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'},_0x349c2b);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 _0x48b3f2;}}