@ckeditor/ckeditor5-ai 0.0.0-nightly-20240630.0 → 0.0.0-nightly-20240702.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 (132) 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 +4 -4
  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/dropdown/buttonlabelwithhighlightview.js +1 -1
  122. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  123. package/src/ui/form/aiformcontentarea.js +1 -1
  124. package/src/ui/form/aiformerrorview.js +1 -1
  125. package/src/ui/form/aiformpromptview.js +1 -1
  126. package/src/ui/form/aiformtoolbarview.js +1 -1
  127. package/src/ui/form/aiformview.js +1 -1
  128. package/src/ui/form/aihistorylistitemview.js +1 -1
  129. package/src/ui/form/aihistorylistview.js +1 -1
  130. package/src/ui/form/prompthistory.js +1 -1
  131. package/src/ui/showaiassistantcommand.js +1 -1
  132. 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(_0x10e9e1,_0x4baf39){var _0x25425f=_0x28d3,_0x559961=_0x10e9e1();while(!![]){try{var _0x28bff8=parseInt(_0x25425f(0xd1))/0x1*(parseInt(_0x25425f(0xce))/0x2)+-parseInt(_0x25425f(0xd3))/0x3+-parseInt(_0x25425f(0xcf))/0x4*(-parseInt(_0x25425f(0xd0))/0x5)+parseInt(_0x25425f(0xd4))/0x6+-parseInt(_0x25425f(0xd2))/0x7+-parseInt(_0x25425f(0xd5))/0x8+-parseInt(_0x25425f(0xcd))/0x9;if(_0x28bff8===_0x4baf39)break;else _0x559961['push'](_0x559961['shift']());}catch(_0x55c80c){_0x559961['push'](_0x559961['shift']());}}}(_0x2b90,0x9e18d));export{default as AIAssistant}from'./aiassistant.js';function _0x2b90(){var _0x58aa0f=['1597040zATnCN','7789581EJGMaI','2504804UjTBGb','1396716OWaQTC','10GHmawZ','1utDxGS','3853465vBzenH','1382109YwIFTg','4638852Kexers'];_0x2b90=function(){return _0x58aa0f;};return _0x2b90();}export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x28d3(_0x47b311,_0x5dec72){var _0x2b90ff=_0x2b90();return _0x28d3=function(_0x28d39d,_0x290654){_0x28d39d=_0x28d39d-0xcd;var _0x419b97=_0x2b90ff[_0x28d39d];return _0x419b97;},_0x28d3(_0x47b311,_0x5dec72);}export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
23
+ (function(_0xeecc51,_0x109e97){var _0x338cf7=_0x5209,_0x851dd7=_0xeecc51();while(!![]){try{var _0x17ed5b=parseInt(_0x338cf7(0x173))/0x1*(parseInt(_0x338cf7(0x178))/0x2)+-parseInt(_0x338cf7(0x177))/0x3+-parseInt(_0x338cf7(0x17a))/0x4*(-parseInt(_0x338cf7(0x170))/0x5)+-parseInt(_0x338cf7(0x175))/0x6+-parseInt(_0x338cf7(0x179))/0x7+parseInt(_0x338cf7(0x171))/0x8*(-parseInt(_0x338cf7(0x174))/0x9)+-parseInt(_0x338cf7(0x176))/0xa*(-parseInt(_0x338cf7(0x172))/0xb);if(_0x17ed5b===_0x109e97)break;else _0x851dd7['push'](_0x851dd7['shift']());}catch(_0x38c275){_0x851dd7['push'](_0x851dd7['shift']());}}}(_0x3deb,0x33137));function _0x3deb(){var _0x59d3cf=['16072lqHhIL','55gzzHuw','4djteui','126uRqwIk','265170NeRISU','630710hSwGRN','1131303Guuvjp','95822jrMNfO','979797UfPSxs','1156OBFmDy','5045ItARvO'];_0x3deb=function(){return _0x59d3cf;};return _0x3deb();}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x5209(_0x5d1971,_0x130904){var _0x3deb56=_0x3deb();return _0x5209=function(_0x52090c,_0x2e53bd){_0x52090c=_0x52090c-0x170;var _0x5e14bc=_0x3deb56[_0x52090c];return _0x5e14bc;},_0x5209(_0x5d1971,_0x130904);}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 _0x5f1001=_0x1cf3;function _0x4453(){const _0xabb5e0=['previousActionId','1931812HYREfV','length','childNodes','3664577EWtfAq','push','rename','2394580YhgBLC','handleError','473402WpCOOt','text/html','serializeToString','view','_isH1TagSupportEnabled','custom','nodeType','destroy','createElement','currentContext','startsWith','innerHTML','ELEMENT_NODE','querySelector','editor','2gTRVis','_normalizeResponseHeadings','2841336lxiRHJ','_parseAndNormalizeContent','editing','value','_stripMarkdownSyntax','mainAction','data','tryAgainEvent','6AnTqyx','stopProcessing','domConverter','abort','remove','```html','setContentOf','5859984yAWcSn','htmlProcessor','message','body','```','stopListening','element','submitPrompt','toView','set','viewToDom','previousLabel','previousContext','_sanitizationContainer','prompt','then','_xmlSerializer','toModel','makeRequest','set:currentContext','currentResponse','match','processor','render','finally','once','name','isProcessing','exec','reset','_handleQuery','from','startProcessing','updateView','<h1></h1>','finishProcessing','1566696YlRSzM','previousQuery','substring','isRendered','reverse','catch','document','endsWith','_sanitizeHTML','initialContext','_domParser','div','parseFromString','listenTo','trim','textAdapter','stringify'];_0x4453=function(){return _0xabb5e0;};return _0x4453();}(function(_0x38d8bc,_0x57e387){const _0x5539ed=_0x1cf3,_0x3e223c=_0x38d8bc();while(!![]){try{const _0x5dfea0=-parseInt(_0x5539ed(0x204))/0x1*(-parseInt(_0x5539ed(0x1b5))/0x2)+parseInt(_0x5539ed(0x1ea))/0x3+parseInt(_0x5539ed(0x1fc))/0x4+parseInt(_0x5539ed(0x202))/0x5+parseInt(_0x5539ed(0x1bf))/0x6*(-parseInt(_0x5539ed(0x1ff))/0x7)+-parseInt(_0x5539ed(0x1c6))/0x8+-parseInt(_0x5539ed(0x1b7))/0x9;if(_0x5dfea0===_0x57e387)break;else _0x3e223c['push'](_0x3e223c['shift']());}catch(_0x1f91a0){_0x3e223c['push'](_0x3e223c['shift']());}}}(_0x4453,0x5e2fe));function _0x1cf3(_0x3937bc,_0x252c5e){const _0x445336=_0x4453();return _0x1cf3=function(_0x1cf3ab,_0x119cdd){_0x1cf3ab=_0x1cf3ab-0x1ad;let _0x5d98e4=_0x445336[_0x1cf3ab];return _0x5d98e4;},_0x1cf3(_0x3937bc,_0x252c5e);}import{ObservableMixin as _0x1a9874}from'ckeditor5/src/utils.js';import{AIRequestError as _0x420f6d}from'../adapters/aiadapter.js';import{Matcher as _0x121dc8,UpcastWriter as _0x2f2a24}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
24
- _0x1a9874(){constructor(_0x2b020f,_0x20b138,_0x1b1008){const _0x5f40f4=_0x1cf3;super(),this[_0x5f40f4(0x1b4)]=_0x2b020f,this[_0x5f40f4(0x1f9)]=_0x20b138,this[_0x5f40f4(0x1d3)]=document[_0x5f40f4(0x1ae)](_0x5f40f4(0x1f5)),this[_0x5f40f4(0x1f4)]=new DOMParser(),this[_0x5f40f4(0x1d6)]=new XMLSerializer(),this[_0x5f40f4(0x207)]=_0x1b1008,this[_0x5f40f4(0x1cf)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5f40f4(0x1d9),(_0x3e772a,_0x18693d,_0x926f4e)=>{const _0x3087b4=_0x5f40f4;this[_0x3087b4(0x207)][_0x3087b4(0x1ba)]=this[_0x3087b4(0x1f2)](_0x926f4e);}),this[_0x5f40f4(0x1f7)](this[_0x5f40f4(0x207)],_0x5f40f4(0x1cd),(_0x40f0ee,_0x2665a2)=>{const _0x396fba=_0x5f40f4,_0x3679c9=this[_0x396fba(0x1af)]||this[_0x396fba(0x1f3)];this[_0x396fba(0x1e4)](_0x2665a2,_0x3679c9,_0x396fba(0x209));}),this[_0x5f40f4(0x1f7)](this[_0x5f40f4(0x207)],_0x5f40f4(0x1be),()=>{const _0x1d81f4=_0x5f40f4;this[_0x1d81f4(0x207)][_0x1d81f4(0x1d4)]=this[_0x1d81f4(0x1d1)],this[_0x1d81f4(0x1e4)](this[_0x1d81f4(0x1eb)],this[_0x1d81f4(0x1d2)],this[_0x1d81f4(0x1fb)],this[_0x1d81f4(0x1d1)]);}),this[_0x5f40f4(0x1f7)](this[_0x5f40f4(0x207)],_0x5f40f4(0x1c0),()=>{const _0x598768=_0x5f40f4;this[_0x598768(0x1c0)]();});}[_0x5f1001(0x1ad)](){const _0x31d7ed=_0x5f1001;this[_0x31d7ed(0x1cb)]();}async[_0x5f1001(0x1e7)]({actionId:_0x421118,query:_0x4d6946,htmlContent:_0x1d3e9f,label:_0x3a65d2,mainActionLabel:_0xdcb68a}){const _0x9fb2a0=_0x5f1001;this[_0x9fb2a0(0x207)][_0x9fb2a0(0x1d4)]=_0x3a65d2,this[_0x9fb2a0(0x207)][_0x9fb2a0(0x1bc)]=_0xdcb68a,this[_0x9fb2a0(0x1f3)]=_0x1d3e9f,_0x4d6946&&(this[_0x9fb2a0(0x207)][_0x9fb2a0(0x1ed)]?this[_0x9fb2a0(0x1e4)](_0x4d6946,_0x1d3e9f,_0x421118,_0x3a65d2):this[_0x9fb2a0(0x207)][_0x9fb2a0(0x1df)](_0x9fb2a0(0x1dd),()=>{const _0x360c3d=_0x9fb2a0;this[_0x360c3d(0x1e4)](_0x4d6946,_0x1d3e9f,_0x421118,_0x3a65d2);}));}[_0x5f1001(0x1c0)](){const _0xef229d=_0x5f1001;this[_0xef229d(0x1e1)]&&(this[_0xef229d(0x1e1)]=!0x1,this[_0xef229d(0x207)][_0xef229d(0x1e9)](),this[_0xef229d(0x1f9)][_0xef229d(0x1c2)]());}[_0x5f1001(0x1e3)](){const _0x8086bc=_0x5f1001;this[_0x8086bc(0x1f3)]='',this[_0x8086bc(0x1af)]='',this[_0x8086bc(0x1da)]='',this[_0x8086bc(0x1d2)]='',this[_0x8086bc(0x1eb)]='',this[_0x8086bc(0x1d1)]='',this[_0x8086bc(0x1fb)]=void 0x0,this[_0x8086bc(0x207)][_0x8086bc(0x1e3)](),this[_0x8086bc(0x1c0)]();}async[_0x5f1001(0x1e4)](_0x26e931,_0x227754,_0x955ce,_0x4069a1){const _0x14b8d3=_0x5f1001;return this[_0x14b8d3(0x1e1)]=!0x0,this[_0x14b8d3(0x207)][_0x14b8d3(0x1e6)](),this[_0x14b8d3(0x1d2)]=_0x227754,this[_0x14b8d3(0x1eb)]=_0x26e931,this[_0x14b8d3(0x1d1)]=_0x4069a1||_0x26e931,this[_0x14b8d3(0x1fb)]=_0x955ce,new Promise(_0x5adb08=>{const _0x7b90c6=_0x14b8d3;this[_0x7b90c6(0x1f9)][_0x7b90c6(0x1d8)]({'query':_0x26e931,'context':_0x227754,'onData':_0x4daae3=>{const _0x4ce0a6=_0x7b90c6;this[_0x4ce0a6(0x1da)]=_0x4daae3,this[_0x4ce0a6(0x1af)]=this[_0x4ce0a6(0x1b8)](this[_0x4ce0a6(0x1da)]);},'actionId':_0x955ce})[_0x7b90c6(0x1d5)](()=>{const _0x4374f2=_0x7b90c6;!this[_0x4374f2(0x1af)]&&this[_0x4374f2(0x1da)]&&(this[_0x4374f2(0x1af)]=this[_0x4374f2(0x1b8)](this[_0x4374f2(0x1da)],!0x0));})[_0x7b90c6(0x1ef)](_0x269292=>{const _0x2ad188=_0x7b90c6;_0x269292 instanceof _0x420f6d?this[_0x2ad188(0x207)][_0x2ad188(0x203)](_0x269292[_0x2ad188(0x1c8)]):this[_0x2ad188(0x207)][_0x2ad188(0x203)](),_0x5adb08();})[_0x7b90c6(0x1de)](()=>{const _0xbc920d=_0x7b90c6;this[_0xbc920d(0x1c0)](),_0x5adb08();});});}[_0x5f1001(0x1b8)](_0x2bafd5,_0x32923f=!0x1){const _0x1ef7ae=_0x5f1001,_0x2a3853=X[_0x1ef7ae(0x1e2)](_0x2bafd5);_0x2bafd5=_0x2a3853?_0x2bafd5[_0x1ef7ae(0x1ec)](_0x2a3853[0x1][_0x1ef7ae(0x1fd)]):_0x2bafd5[_0x1ef7ae(0x1fd)]<0x64&&!_0x32923f?'':this[_0x1ef7ae(0x1bb)](_0x2bafd5);const _0x15c337=this[_0x1ef7ae(0x1f4)][_0x1ef7ae(0x1f6)](_0x2bafd5,_0x1ef7ae(0x205));if(_0x2a3853){const _0x280c3f=Array[_0x1ef7ae(0x1e5)](_0x15c337[_0x1ef7ae(0x1c9)][_0x1ef7ae(0x1fe)]);_0x280c3f[_0x1ef7ae(0x1ee)]();for(const _0x2530f2 of _0x280c3f){if(_0x2530f2[_0x1ef7ae(0x20a)]==Node[_0x1ef7ae(0x1b2)])break;_0x2530f2[_0x1ef7ae(0x1c3)]();}}const _0x59e324=this[_0x1ef7ae(0x1b4)][_0x1ef7ae(0x1bd)][_0x1ef7ae(0x1dc)][_0x1ef7ae(0x1ce)](this[_0x1ef7ae(0x1d6)][_0x1ef7ae(0x206)](_0x15c337[_0x1ef7ae(0x1c9)]));return this[_0x1ef7ae(0x208)]()||this[_0x1ef7ae(0x1b6)](_0x59e324),this[_0x1ef7ae(0x1b4)][_0x1ef7ae(0x1bd)][_0x1ef7ae(0x1fa)](this[_0x1ef7ae(0x1b4)][_0x1ef7ae(0x1bd)][_0x1ef7ae(0x1d7)](_0x59e324));}[_0x5f1001(0x1b6)](_0x40b6db){const _0x369c5f=_0x5f1001,_0x466693=new _0x2f2a24(this[_0x369c5f(0x1b4)][_0x369c5f(0x1b9)][_0x369c5f(0x207)][_0x369c5f(0x1f0)]),_0x2f48f0=new _0x121dc8({'name':/^h[1-5]$/}),_0x43645f=[];let _0x4c0559=!0x1;for(const _0x1f74c2 of _0x40b6db)_0x1f74c2['is'](_0x369c5f(0x1cc))&&_0x2f48f0[_0x369c5f(0x1db)](_0x1f74c2)&&(_0x43645f[_0x369c5f(0x200)](_0x1f74c2),'h1'==_0x1f74c2[_0x369c5f(0x1e0)]&&(_0x4c0559=!0x0));if(_0x4c0559){for(const _0x141154 of _0x43645f)_0x466693[_0x369c5f(0x201)]('h'+(parseInt(_0x141154[_0x369c5f(0x1e0)][0x1])+0x1),_0x141154);}}[_0x5f1001(0x208)](){const _0x27b5d7=_0x5f1001,{data:_0x222a7b,editing:_0x4f1726}=this[_0x27b5d7(0x1b4)],_0x2c2bc1=_0x222a7b[_0x27b5d7(0x1c7)][_0x27b5d7(0x1ce)](_0x27b5d7(0x1e8)),_0x348b62=_0x222a7b[_0x27b5d7(0x1ce)](_0x222a7b[_0x27b5d7(0x1d7)](_0x2c2bc1));return!!_0x4f1726[_0x27b5d7(0x207)][_0x27b5d7(0x1c1)][_0x27b5d7(0x1d0)](_0x348b62)[_0x27b5d7(0x1b3)]('h1');}[_0x5f1001(0x1f2)](_0xf2bc59){const _0x4f4cb9=_0x5f1001;return this[_0x4f4cb9(0x1b4)][_0x4f4cb9(0x1b9)][_0x4f4cb9(0x207)][_0x4f4cb9(0x1c1)][_0x4f4cb9(0x1c5)](this[_0x4f4cb9(0x1d3)],_0xf2bc59),this[_0x4f4cb9(0x1d3)][_0x4f4cb9(0x1b1)];}[_0x5f1001(0x1bb)](_0x59a2a0){const _0x59b23a=_0x5f1001,_0x511c1e=_0x59a2a0[_0x59b23a(0x1f8)]();return _0x511c1e[_0x59b23a(0x1b0)](_0x59b23a(0x1c4))?_0x511c1e[_0x59b23a(0x1f1)](_0x59b23a(0x1ca))?_0x511c1e[_0x59b23a(0x1ec)](0x7,_0x511c1e[_0x59b23a(0x1fd)]-0x3):_0x511c1e[_0x59b23a(0x1ec)](0x7):_0x59a2a0;}}
23
+ const _0x21000d=_0x22a1;(function(_0x28d83c,_0x35e761){const _0x4eca93=_0x22a1,_0x4e6501=_0x28d83c();while(!![]){try{const _0x3e05fc=parseInt(_0x4eca93(0x108))/0x1*(parseInt(_0x4eca93(0xdb))/0x2)+parseInt(_0x4eca93(0xd7))/0x3*(parseInt(_0x4eca93(0x102))/0x4)+-parseInt(_0x4eca93(0x10d))/0x5*(-parseInt(_0x4eca93(0x10c))/0x6)+-parseInt(_0x4eca93(0xe4))/0x7*(-parseInt(_0x4eca93(0xeb))/0x8)+-parseInt(_0x4eca93(0x10a))/0x9+-parseInt(_0x4eca93(0x10f))/0xa*(parseInt(_0x4eca93(0xc6))/0xb)+-parseInt(_0x4eca93(0xb2))/0xc*(parseInt(_0x4eca93(0xcb))/0xd);if(_0x3e05fc===_0x35e761)break;else _0x4e6501['push'](_0x4e6501['shift']());}catch(_0x50ccfc){_0x4e6501['push'](_0x4e6501['shift']());}}}(_0x3518,0xa7222));import{ObservableMixin as _0x3e3c27}from'ckeditor5/src/utils.js';import{AIRequestError as _0x2e1eda}from'../adapters/aiadapter.js';function _0x22a1(_0x42bfe9,_0x549da6){const _0x35181e=_0x3518();return _0x22a1=function(_0x22a1bb,_0x5a18c3){_0x22a1bb=_0x22a1bb-0xae;let _0x554fc4=_0x35181e[_0x22a1bb];return _0x554fc4;},_0x22a1(_0x42bfe9,_0x549da6);}import{Matcher as _0xcc7a68,UpcastWriter as _0x1c1136}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x3518(){const _0xbc3ac6=['remove','ELEMENT_NODE','viewToDom','document','previousActionId','startsWith','_sanitizationContainer','25428vCphib','rename','editing','reset','reverse','name','55868oZYaoz','div','5639436CQNCBC','innerHTML','18cPLhiA','1187545MKJWIp','substring','282650jLWtSj','tryAgainEvent','startProcessing','```html','data','36uPoawI','then','domConverter','_isH1TagSupportEnabled','prompt','text/html','value','stopProcessing','exec','endsWith','push','initialContext','currentResponse','set:currentContext','destroy','message','stringify','makeRequest','from','toView','176aQmryK','previousQuery','custom','stopListening','_parseAndNormalizeContent','6755671lmynqH','submitPrompt','catch','listenTo','_sanitizeHTML','previousContext','updateView','setContentOf','querySelector','_domParser','editor','body','558XPatGE','once','trim','view','46UeMqIx','_normalizeResponseHeadings','render','abort','currentContext','toModel','isProcessing','handleError','processor','210ubcAZJ','mainAction','_handleQuery','match','finally','createElement','textAdapter','38008NJPZLg','previousLabel','element','serializeToString','```','_xmlSerializer','htmlProcessor','_stripMarkdownSyntax','nodeType','childNodes','finishProcessing','parseFromString','set','length','<h1></h1>','isRendered'];_0x3518=function(){return _0xbc3ac6;};return _0x3518();}export default class k extends/* #__PURE__ -- @preserve */
24
+ _0x3e3c27(){constructor(_0x2f3c54,_0x30a5a6,_0xb02c78){const _0x3c7da8=_0x22a1;super(),this[_0x3c7da8(0xd5)]=_0x2f3c54,this[_0x3c7da8(0xea)]=_0x30a5a6,this[_0x3c7da8(0x101)]=document[_0x3c7da8(0xe9)](_0x3c7da8(0x109)),this[_0x3c7da8(0xd4)]=new DOMParser(),this[_0x3c7da8(0xf0)]=new XMLSerializer(),this[_0x3c7da8(0xda)]=_0xb02c78,this[_0x3c7da8(0xf7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3c7da8(0xbf),(_0x10ee44,_0x1df374,_0x34a5b0)=>{const _0x4ffb1e=_0x3c7da8;this[_0x4ffb1e(0xda)][_0x4ffb1e(0xb8)]=this[_0x4ffb1e(0xcf)](_0x34a5b0);}),this[_0x3c7da8(0xce)](this[_0x3c7da8(0xda)],_0x3c7da8(0xcc),(_0x1c9828,_0x180efd)=>{const _0x1ab75f=_0x3c7da8,_0x504f55=this[_0x1ab75f(0xdf)]||this[_0x1ab75f(0xbd)];this[_0x1ab75f(0xe6)](_0x180efd,_0x504f55,_0x1ab75f(0xc8));}),this[_0x3c7da8(0xce)](this[_0x3c7da8(0xda)],_0x3c7da8(0xae),()=>{const _0x2c5e79=_0x3c7da8;this[_0x2c5e79(0xda)][_0x2c5e79(0xb6)]=this[_0x2c5e79(0xec)],this[_0x2c5e79(0xe6)](this[_0x2c5e79(0xc7)],this[_0x2c5e79(0xd0)],this[_0x2c5e79(0xff)],this[_0x2c5e79(0xec)]);}),this[_0x3c7da8(0xce)](this[_0x3c7da8(0xda)],_0x3c7da8(0xb9),()=>{const _0xa1e3e4=_0x3c7da8;this[_0xa1e3e4(0xb9)]();});}[_0x21000d(0xc0)](){const _0x103063=_0x21000d;this[_0x103063(0xc9)]();}async[_0x21000d(0xd1)]({actionId:_0x4aaa44,query:_0x208db9,htmlContent:_0x2a23af,label:_0x12857a,mainActionLabel:_0x30af91}){const _0x5a7bbe=_0x21000d;this[_0x5a7bbe(0xda)][_0x5a7bbe(0xb6)]=_0x12857a,this[_0x5a7bbe(0xda)][_0x5a7bbe(0xe5)]=_0x30af91,this[_0x5a7bbe(0xbd)]=_0x2a23af,_0x208db9&&(this[_0x5a7bbe(0xda)][_0x5a7bbe(0xfa)]?this[_0x5a7bbe(0xe6)](_0x208db9,_0x2a23af,_0x4aaa44,_0x12857a):this[_0x5a7bbe(0xda)][_0x5a7bbe(0xd8)](_0x5a7bbe(0xdd),()=>{const _0x4f5835=_0x5a7bbe;this[_0x4f5835(0xe6)](_0x208db9,_0x2a23af,_0x4aaa44,_0x12857a);}));}[_0x21000d(0xb9)](){const _0x3162d0=_0x21000d;this[_0x3162d0(0xe1)]&&(this[_0x3162d0(0xe1)]=!0x1,this[_0x3162d0(0xda)][_0x3162d0(0xf5)](),this[_0x3162d0(0xea)][_0x3162d0(0xde)]());}[_0x21000d(0x105)](){const _0x2168d3=_0x21000d;this[_0x2168d3(0xbd)]='',this[_0x2168d3(0xdf)]='',this[_0x2168d3(0xbe)]='',this[_0x2168d3(0xd0)]='',this[_0x2168d3(0xc7)]='',this[_0x2168d3(0xec)]='',this[_0x2168d3(0xff)]=void 0x0,this[_0x2168d3(0xda)][_0x2168d3(0x105)](),this[_0x2168d3(0xb9)]();}async[_0x21000d(0xe6)](_0x59b203,_0x11a646,_0x1793f2,_0x1c46a9){const _0xd54c5b=_0x21000d;return this[_0xd54c5b(0xe1)]=!0x0,this[_0xd54c5b(0xda)][_0xd54c5b(0xaf)](),this[_0xd54c5b(0xd0)]=_0x11a646,this[_0xd54c5b(0xc7)]=_0x59b203,this[_0xd54c5b(0xec)]=_0x1c46a9||_0x59b203,this[_0xd54c5b(0xff)]=_0x1793f2,new Promise(_0x5d396f=>{const _0x35e475=_0xd54c5b;this[_0x35e475(0xea)][_0x35e475(0xc3)]({'query':_0x59b203,'context':_0x11a646,'onData':_0x267d29=>{const _0x9124=_0x35e475;this[_0x9124(0xbe)]=_0x267d29,this[_0x9124(0xdf)]=this[_0x9124(0xca)](this[_0x9124(0xbe)]);},'actionId':_0x1793f2})[_0x35e475(0xb3)](()=>{const _0x285769=_0x35e475;!this[_0x285769(0xdf)]&&this[_0x285769(0xbe)]&&(this[_0x285769(0xdf)]=this[_0x285769(0xca)](this[_0x285769(0xbe)],!0x0));})[_0x35e475(0xcd)](_0x116763=>{const _0x5d9cd6=_0x35e475;_0x116763 instanceof _0x2e1eda?this[_0x5d9cd6(0xda)][_0x5d9cd6(0xe2)](_0x116763[_0x5d9cd6(0xc1)]):this[_0x5d9cd6(0xda)][_0x5d9cd6(0xe2)](),_0x5d396f();})[_0x35e475(0xe8)](()=>{const _0x14a12b=_0x35e475;this[_0x14a12b(0xb9)](),_0x5d396f();});});}[_0x21000d(0xca)](_0x447f6e,_0x11587a=!0x1){const _0x137bc6=_0x21000d,_0x9ced4=X[_0x137bc6(0xba)](_0x447f6e);_0x447f6e=_0x9ced4?_0x447f6e[_0x137bc6(0x10e)](_0x9ced4[0x1][_0x137bc6(0xf8)]):_0x447f6e[_0x137bc6(0xf8)]<0x64&&!_0x11587a?'':this[_0x137bc6(0xf2)](_0x447f6e);const _0x25664d=this[_0x137bc6(0xd4)][_0x137bc6(0xf6)](_0x447f6e,_0x137bc6(0xb7));if(_0x9ced4){const _0x17e991=Array[_0x137bc6(0xc4)](_0x25664d[_0x137bc6(0xd6)][_0x137bc6(0xf4)]);_0x17e991[_0x137bc6(0x106)]();for(const _0x30cab8 of _0x17e991){if(_0x30cab8[_0x137bc6(0xf3)]==Node[_0x137bc6(0xfc)])break;_0x30cab8[_0x137bc6(0xfb)]();}}const _0x522c03=this[_0x137bc6(0xd5)][_0x137bc6(0xb1)][_0x137bc6(0xe3)][_0x137bc6(0xc5)](this[_0x137bc6(0xf0)][_0x137bc6(0xee)](_0x25664d[_0x137bc6(0xd6)]));return this[_0x137bc6(0xb5)]()||this[_0x137bc6(0xdc)](_0x522c03),this[_0x137bc6(0xd5)][_0x137bc6(0xb1)][_0x137bc6(0xc2)](this[_0x137bc6(0xd5)][_0x137bc6(0xb1)][_0x137bc6(0xe0)](_0x522c03));}[_0x21000d(0xdc)](_0x44248d){const _0x3ff03f=_0x21000d,_0xbf0e29=new _0x1c1136(this[_0x3ff03f(0xd5)][_0x3ff03f(0x104)][_0x3ff03f(0xda)][_0x3ff03f(0xfe)]),_0x709ba4=new _0xcc7a68({'name':/^h[1-5]$/}),_0x49ab77=[];let _0x26b031=!0x1;for(const _0x50952c of _0x44248d)_0x50952c['is'](_0x3ff03f(0xed))&&_0x709ba4[_0x3ff03f(0xe7)](_0x50952c)&&(_0x49ab77[_0x3ff03f(0xbc)](_0x50952c),'h1'==_0x50952c[_0x3ff03f(0x107)]&&(_0x26b031=!0x0));if(_0x26b031){for(const _0x1df49b of _0x49ab77)_0xbf0e29[_0x3ff03f(0x103)]('h'+(parseInt(_0x1df49b[_0x3ff03f(0x107)][0x1])+0x1),_0x1df49b);}}[_0x21000d(0xb5)](){const _0x143d3e=_0x21000d,{data:_0x3c3c81,editing:_0xd4ee9a}=this[_0x143d3e(0xd5)],_0x101635=_0x3c3c81[_0x143d3e(0xf1)][_0x143d3e(0xc5)](_0x143d3e(0xf9)),_0x300fd7=_0x3c3c81[_0x143d3e(0xc5)](_0x3c3c81[_0x143d3e(0xe0)](_0x101635));return!!_0xd4ee9a[_0x143d3e(0xda)][_0x143d3e(0xb4)][_0x143d3e(0xfd)](_0x300fd7)[_0x143d3e(0xd3)]('h1');}[_0x21000d(0xcf)](_0x32d150){const _0x4a60a1=_0x21000d;return this[_0x4a60a1(0xd5)][_0x4a60a1(0x104)][_0x4a60a1(0xda)][_0x4a60a1(0xb4)][_0x4a60a1(0xd2)](this[_0x4a60a1(0x101)],_0x32d150),this[_0x4a60a1(0x101)][_0x4a60a1(0x10b)];}[_0x21000d(0xf2)](_0x208df0){const _0x2c5557=_0x21000d,_0x5aa1d8=_0x208df0[_0x2c5557(0xd9)]();return _0x5aa1d8[_0x2c5557(0x100)](_0x2c5557(0xb0))?_0x5aa1d8[_0x2c5557(0xbb)](_0x2c5557(0xef))?_0x5aa1d8[_0x2c5557(0x10e)](0x7,_0x5aa1d8[_0x2c5557(0xf8)]-0x3):_0x5aa1d8[_0x2c5557(0x10e)](0x7):_0x208df0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x402a50=_0x1125;function _0x173f(){const _0x48a361=['highlightText','32TnuPZD','items','isVisible','isEnabled','commandDefinition','4JTXwKs','label','7kUVPFE','listbox','role','enabledCommandsIds','match','filter','3397911NgreuR','first','6792350guUOfU','change:enabledCommandsIds','1968564tCWbqZ','includes','children','6138256LdyqKV','labelView','1327815hKncgL','349570ySQkcX','38526BCALfy','946qNuprF','get','set','length'];_0x173f=function(){return _0x48a361;};return _0x173f();}(function(_0x99f282,_0x1fb136){const _0x357000=_0x1125,_0x31934c=_0x99f282();while(!![]){try{const _0x54433a=parseInt(_0x357000(0x16f))/0x1*(parseInt(_0x357000(0x175))/0x2)+-parseInt(_0x357000(0x164))/0x3*(-parseInt(_0x357000(0x17a))/0x4)+parseInt(_0x357000(0x166))/0x5+-parseInt(_0x357000(0x168))/0x6+-parseInt(_0x357000(0x17c))/0x7*(-parseInt(_0x357000(0x16b))/0x8)+parseInt(_0x357000(0x16d))/0x9+parseInt(_0x357000(0x16e))/0xa*(-parseInt(_0x357000(0x170))/0xb);if(_0x54433a===_0x1fb136)break;else _0x31934c['push'](_0x31934c['shift']());}catch(_0x19f3fd){_0x31934c['push'](_0x31934c['shift']());}}}(_0x173f,0xa7f48));function _0x1125(_0x336035,_0x3eb844){const _0x173f54=_0x173f();return _0x1125=function(_0x11256d,_0x511ef7){_0x11256d=_0x11256d-0x163;let _0x312053=_0x173f54[_0x11256d];return _0x312053;},_0x1125(_0x336035,_0x3eb844);}import{ListView as _0x2dc71e,ListItemGroupView as _0x57edd7}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x1dcd74}from'../../aiassistantui.js';export default class U extends _0x2dc71e{constructor(_0x78c9bd){const _0x385398=_0x1125;super(_0x78c9bd),this[_0x385398(0x17e)]=_0x385398(0x17d),this[_0x385398(0x172)](_0x385398(0x17f),[]),this['on'](_0x385398(0x167),()=>{const _0x4f3212=_0x385398;for(const _0x309912 of this[_0x4f3212(0x176)])if(_0x309912 instanceof _0x57edd7){for(const _0x3ae1c2 of _0x309912[_0x4f3212(0x176)])if(_0x3ae1c2 instanceof _0x1dcd74){const _0x59ce77=_0x3ae1c2[_0x4f3212(0x16a)][_0x4f3212(0x171)](0x0);this[_0x4f3212(0x17f)][_0x4f3212(0x169)](_0x3ae1c2[_0x4f3212(0x179)]['id'])?_0x59ce77[_0x4f3212(0x178)]=!0x0:_0x59ce77[_0x4f3212(0x178)]=!0x1;}}});}[_0x402a50(0x163)](_0x2575b4){const _0x50c43b=_0x402a50;let _0x58a725=0x0,_0x5ed3a1=0x0;for(const _0x976da4 of this[_0x50c43b(0x176)]){const _0x37af21=_0x976da4,_0x20d799=_0x37af21[_0x50c43b(0x176)],_0x13a6ad=_0x2575b4&&!!_0x37af21[_0x50c43b(0x17b)][_0x50c43b(0x180)](_0x2575b4);_0x37af21[_0x50c43b(0x16c)][_0x50c43b(0x174)](_0x13a6ad?_0x2575b4:null);for(const _0x1a61fe of _0x20d799){const _0x6f1d15=_0x1a61fe[_0x50c43b(0x16a)][_0x50c43b(0x165)],_0x5ba561=_0x6f1d15[_0x50c43b(0x16c)];if(_0x2575b4){const _0x37e6ef=!!_0x6f1d15[_0x50c43b(0x17b)][_0x50c43b(0x180)](_0x2575b4);_0x5ba561[_0x50c43b(0x174)](_0x37e6ef?_0x2575b4:null),_0x1a61fe[_0x50c43b(0x177)]=_0x13a6ad||_0x37e6ef;}else _0x1a61fe[_0x50c43b(0x177)]=!0x0,_0x5ba561[_0x50c43b(0x174)](null);}const _0x2665a7=_0x20d799[_0x50c43b(0x163)](_0x55955a=>_0x55955a[_0x50c43b(0x177)])[_0x50c43b(0x173)];_0x58a725+=_0x37af21[_0x50c43b(0x176)][_0x50c43b(0x173)],_0x5ed3a1+=_0x13a6ad?_0x37af21[_0x50c43b(0x176)][_0x50c43b(0x173)]:_0x2665a7,_0x37af21[_0x50c43b(0x177)]=_0x13a6ad||!!_0x2665a7;}return{'resultsCount':_0x5ed3a1,'totalItemsCount':_0x58a725};}}
23
+ function _0x261e(){const _0x518c92=['labelView','commandDefinition','filter','2298xfOmgD','9hMQYoM','319413oQMjxj','role','items','2303MzfdwJ','children','length','match','63TWdTyl','change:enabledCommandsIds','includes','4131314CFjVbR','set','highlightText','listbox','4JoKGqA','enabledCommandsIds','first','isVisible','label','get','508580LeZMrg','1457704DXQUJF','isEnabled','525920lzLonM','1268NonttU'];_0x261e=function(){return _0x518c92;};return _0x261e();}const _0x1724e9=_0x93bb;(function(_0x4e43ef,_0x17c8b7){const _0x14c89d=_0x93bb,_0x1ead60=_0x4e43ef();while(!![]){try{const _0xbf3cb4=-parseInt(_0x14c89d(0xde))/0x1*(parseInt(_0x14c89d(0xd1))/0x2)+-parseInt(_0x14c89d(0xd7))/0x3*(parseInt(_0x14c89d(0xe5))/0x4)+-parseInt(_0x14c89d(0xd0))/0x5+-parseInt(_0x14c89d(0xd5))/0x6*(-parseInt(_0x14c89d(0xda))/0x7)+parseInt(_0x14c89d(0xec))/0x8*(-parseInt(_0x14c89d(0xd6))/0x9)+parseInt(_0x14c89d(0xeb))/0xa+parseInt(_0x14c89d(0xe1))/0xb;if(_0xbf3cb4===_0x17c8b7)break;else _0x1ead60['push'](_0x1ead60['shift']());}catch(_0x55b49c){_0x1ead60['push'](_0x1ead60['shift']());}}}(_0x261e,0x1cf65));function _0x93bb(_0x1209e9,_0xffbf80){const _0x261e05=_0x261e();return _0x93bb=function(_0x93bb82,_0x410cde){_0x93bb82=_0x93bb82-0xd0;let _0x45a95a=_0x261e05[_0x93bb82];return _0x45a95a;},_0x93bb(_0x1209e9,_0xffbf80);}import{ListView as _0x45b0bb,ListItemGroupView as _0x11925d}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x5baeaf}from'../../aiassistantui.js';export default class U extends _0x45b0bb{constructor(_0x462050){const _0x2c630d=_0x93bb;super(_0x462050),this[_0x2c630d(0xd8)]=_0x2c630d(0xe4),this[_0x2c630d(0xe2)](_0x2c630d(0xe6),[]),this['on'](_0x2c630d(0xdf),()=>{const _0xab2f2e=_0x2c630d;for(const _0x460003 of this[_0xab2f2e(0xd9)])if(_0x460003 instanceof _0x11925d){for(const _0x445263 of _0x460003[_0xab2f2e(0xd9)])if(_0x445263 instanceof _0x5baeaf){const _0x48e581=_0x445263[_0xab2f2e(0xdb)][_0xab2f2e(0xea)](0x0);this[_0xab2f2e(0xe6)][_0xab2f2e(0xe0)](_0x445263[_0xab2f2e(0xd3)]['id'])?_0x48e581[_0xab2f2e(0xed)]=!0x0:_0x48e581[_0xab2f2e(0xed)]=!0x1;}}});}[_0x1724e9(0xd4)](_0x30d377){const _0x554015=_0x1724e9;let _0xe769f8=0x0,_0x3e855d=0x0;for(const _0x2e583f of this[_0x554015(0xd9)]){const _0x2448ae=_0x2e583f,_0x106f25=_0x2448ae[_0x554015(0xd9)],_0xd4cb68=_0x30d377&&!!_0x2448ae[_0x554015(0xe9)][_0x554015(0xdd)](_0x30d377);_0x2448ae[_0x554015(0xd2)][_0x554015(0xe3)](_0xd4cb68?_0x30d377:null);for(const _0x52a29d of _0x106f25){const _0x4f92b7=_0x52a29d[_0x554015(0xdb)][_0x554015(0xe7)],_0x508bfc=_0x4f92b7[_0x554015(0xd2)];if(_0x30d377){const _0x24919a=!!_0x4f92b7[_0x554015(0xe9)][_0x554015(0xdd)](_0x30d377);_0x508bfc[_0x554015(0xe3)](_0x24919a?_0x30d377:null),_0x52a29d[_0x554015(0xe8)]=_0xd4cb68||_0x24919a;}else _0x52a29d[_0x554015(0xe8)]=!0x0,_0x508bfc[_0x554015(0xe3)](null);}const _0x4737ed=_0x106f25[_0x554015(0xd4)](_0x5f338b=>_0x5f338b[_0x554015(0xe8)])[_0x554015(0xdc)];_0xe769f8+=_0x2448ae[_0x554015(0xd9)][_0x554015(0xdc)],_0x3e855d+=_0xd4cb68?_0x2448ae[_0x554015(0xd9)][_0x554015(0xdc)]:_0x4737ed,_0x2448ae[_0x554015(0xe8)]=_0xd4cb68||!!_0x4737ed;}return{'resultsCount':_0x3e855d,'totalItemsCount':_0xe769f8};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c2c25,_0x428f7d){const _0x45afc1=_0x8e56,_0x96aa1b=_0x3c2c25();while(!![]){try{const _0x31861b=-parseInt(_0x45afc1(0x194))/0x1*(-parseInt(_0x45afc1(0x19e))/0x2)+parseInt(_0x45afc1(0x19d))/0x3+parseInt(_0x45afc1(0x199))/0x4+parseInt(_0x45afc1(0x193))/0x5*(-parseInt(_0x45afc1(0x197))/0x6)+-parseInt(_0x45afc1(0x190))/0x7+parseInt(_0x45afc1(0x19c))/0x8*(-parseInt(_0x45afc1(0x192))/0x9)+parseInt(_0x45afc1(0x19a))/0xa;if(_0x31861b===_0x428f7d)break;else _0x96aa1b['push'](_0x96aa1b['shift']());}catch(_0x1268e1){_0x96aa1b['push'](_0x96aa1b['shift']());}}}(_0x4cdf,0x9724a));function _0x8e56(_0x54c1d6,_0x122745){const _0x4cdf7d=_0x4cdf();return _0x8e56=function(_0x8e56ba,_0xb621e){_0x8e56ba=_0x8e56ba-0x190;let _0x1638bc=_0x4cdf7d[_0x8e56ba];return _0x1638bc;},_0x8e56(_0x54c1d6,_0x122745);}import{HighlightedTextView as _0x4e7ff2}from'ckeditor5/src/ui.js';function _0x4cdf(){const _0x24e6a8=['3183360NZoVBC','10297580QhCimk','set','24efhcEV','308019LJnBZH','1244aNqROq','4104310gdFMvc','style','483066reflVA','36805TWuxvr','292vPzoYp','ck-button__label','bindTemplate','606cgPsvq','extendTemplate'];_0x4cdf=function(){return _0x24e6a8;};return _0x4cdf();}export default class N extends _0x4e7ff2{constructor(){const _0x5ae72c=_0x8e56;super(),this[_0x5ae72c(0x19b)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x2faa4b=this[_0x5ae72c(0x196)];this[_0x5ae72c(0x198)]({'attributes':{'class':[_0x5ae72c(0x195)],'style':_0x2faa4b['to'](_0x5ae72c(0x191)),'id':_0x2faa4b['to']('id')}});}}
23
+ function _0x3403(_0x1e9f55,_0x3f8318){const _0x27b8de=_0x27b8();return _0x3403=function(_0x340342,_0x409e36){_0x340342=_0x340342-0xcb;let _0x1a10d1=_0x27b8de[_0x340342];return _0x1a10d1;},_0x3403(_0x1e9f55,_0x3f8318);}(function(_0x1cdb75,_0x5b0983){const _0x207c1b=_0x3403,_0x78d734=_0x1cdb75();while(!![]){try{const _0x3af3ca=-parseInt(_0x207c1b(0xd8))/0x1*(-parseInt(_0x207c1b(0xce))/0x2)+-parseInt(_0x207c1b(0xcb))/0x3*(parseInt(_0x207c1b(0xcd))/0x4)+-parseInt(_0x207c1b(0xd1))/0x5+parseInt(_0x207c1b(0xda))/0x6*(parseInt(_0x207c1b(0xd0))/0x7)+parseInt(_0x207c1b(0xd2))/0x8+-parseInt(_0x207c1b(0xd3))/0x9*(-parseInt(_0x207c1b(0xd7))/0xa)+-parseInt(_0x207c1b(0xd9))/0xb;if(_0x3af3ca===_0x5b0983)break;else _0x78d734['push'](_0x78d734['shift']());}catch(_0x4046c0){_0x78d734['push'](_0x78d734['shift']());}}}(_0x27b8,0xe7dc3));function _0x27b8(){const _0xd14e6b=['6260220qnacoa','11232856KJpKYu','578997MqCCnR','ck-button__label','set','extendTemplate','210VwIRty','4171fJSBHN','2056857UhUSNB','6ALrBsk','609MLipMo','style','27112ZtnMiI','156SFxvFx','bindTemplate','4789582mRpNPm'];_0x27b8=function(){return _0xd14e6b;};return _0x27b8();}import{HighlightedTextView as _0x170070}from'ckeditor5/src/ui.js';export default class N extends _0x170070{constructor(){const _0x555085=_0x3403;super(),this[_0x555085(0xd5)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x5a3ef4=this[_0x555085(0xcf)];this[_0x555085(0xd6)]({'attributes':{'class':[_0x555085(0xd4)],'style':_0x5a3ef4['to'](_0x555085(0xcc)),'id':_0x5a3ef4['to']('id')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x594a(){const _0x1d02d1=['38KAMhGI','899291IYBkyc','942648rHeBFa','6928306IDCpjx','extendTemplate','103140WSzoQN','6061810bXxwhn','ck-editor__label_','8YTpNyP','ck-label','5618036yGPqzr','set','for','bindTemplate','217689tFuXyi'];_0x594a=function(){return _0x1d02d1;};return _0x594a();}(function(_0x3bfcf8,_0x5889de){const _0x2b12cc=_0x4dc1,_0x6f7f98=_0x3bfcf8();while(!![]){try{const _0x165bc2=parseInt(_0x2b12cc(0x1f8))/0x1+parseInt(_0x2b12cc(0x1f7))/0x2*(parseInt(_0x2b12cc(0x1f6))/0x3)+-parseInt(_0x2b12cc(0x201))/0x4+-parseInt(_0x2b12cc(0x1fd))/0x5+parseInt(_0x2b12cc(0x1f9))/0x6+parseInt(_0x2b12cc(0x1fa))/0x7+-parseInt(_0x2b12cc(0x1ff))/0x8*(parseInt(_0x2b12cc(0x1fc))/0x9);if(_0x165bc2===_0x5889de)break;else _0x6f7f98['push'](_0x6f7f98['shift']());}catch(_0x396dc1){_0x6f7f98['push'](_0x6f7f98['shift']());}}}(_0x594a,0xc276b));import{HighlightedTextView as _0x590023}from'ckeditor5/src/ui.js';function _0x4dc1(_0x81b666,_0x14a67b){const _0x594a47=_0x594a();return _0x4dc1=function(_0x4dc1c6,_0x4ff088){_0x4dc1c6=_0x4dc1c6-0x1f4;let _0xd607d7=_0x594a47[_0x4dc1c6];return _0xd607d7;},_0x4dc1(_0x81b666,_0x14a67b);}import{uid as _0x594c84}from'ckeditor5/src/utils.js';export default class S extends _0x590023{constructor(){const _0x2482b6=_0x4dc1;super(),this[_0x2482b6(0x202)](_0x2482b6(0x1f4),void 0x0);const _0x10ff0a=this[_0x2482b6(0x1f5)];this['id']=_0x2482b6(0x1fe)+_0x594c84(),this[_0x2482b6(0x1fb)]({'attributes':{'class':['ck',_0x2482b6(0x200)],'id':this['id'],'for':_0x10ff0a['to'](_0x2482b6(0x1f4))}});}}
23
+ (function(_0x29c53e,_0x3b5d5e){const _0x3ae3ca=_0x5c71,_0x2bdc4d=_0x29c53e();while(!![]){try{const _0x1349f4=parseInt(_0x3ae3ca(0x6f))/0x1*(parseInt(_0x3ae3ca(0x77))/0x2)+parseInt(_0x3ae3ca(0x7a))/0x3*(-parseInt(_0x3ae3ca(0x71))/0x4)+parseInt(_0x3ae3ca(0x74))/0x5+-parseInt(_0x3ae3ca(0x7b))/0x6+-parseInt(_0x3ae3ca(0x72))/0x7*(-parseInt(_0x3ae3ca(0x75))/0x8)+-parseInt(_0x3ae3ca(0x6d))/0x9+parseInt(_0x3ae3ca(0x73))/0xa*(parseInt(_0x3ae3ca(0x6c))/0xb);if(_0x1349f4===_0x3b5d5e)break;else _0x2bdc4d['push'](_0x2bdc4d['shift']());}catch(_0x15c0ab){_0x2bdc4d['push'](_0x2bdc4d['shift']());}}}(_0x1f3c,0xa3fa7));import{HighlightedTextView as _0x1843a6}from'ckeditor5/src/ui.js';import{uid as _0x10d766}from'ckeditor5/src/utils.js';function _0x5c71(_0x1e311e,_0x3c0669){const _0x1f3c08=_0x1f3c();return _0x5c71=function(_0x5c71a2,_0x50bc46){_0x5c71a2=_0x5c71a2-0x6c;let _0x17120d=_0x1f3c08[_0x5c71a2];return _0x17120d;},_0x5c71(_0x1e311e,_0x3c0669);}export default class S extends _0x1843a6{constructor(){const _0x59d1d4=_0x5c71;super(),this[_0x59d1d4(0x7c)](_0x59d1d4(0x76),void 0x0);const _0x490e6e=this[_0x59d1d4(0x78)];this['id']=_0x59d1d4(0x79)+_0x10d766(),this[_0x59d1d4(0x6e)]({'attributes':{'class':['ck',_0x59d1d4(0x70)],'id':this['id'],'for':_0x490e6e['to'](_0x59d1d4(0x76))}});}}function _0x1f3c(){const _0x1e2b31=['12024450NZuAay','extendTemplate','2682cUGtLn','ck-label','1142884QfErnW','1295emsdxP','18269630ojgtvP','1435345PVGTyV','33016GALRfe','for','542iNnlZD','bindTemplate','ck-editor__label_','3FKexhW','7865538bwFlyg','set','11ZeGVGO'];_0x1f3c=function(){return _0x1e2b31;};return _0x1f3c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x252c3d=_0x2c5f;(function(_0x7236d0,_0x3e43b0){const _0x511d51=_0x2c5f,_0x4c5710=_0x7236d0();while(!![]){try{const _0xa0bdda=-parseInt(_0x511d51(0x17e))/0x1*(parseInt(_0x511d51(0x171))/0x2)+parseInt(_0x511d51(0x175))/0x3+-parseInt(_0x511d51(0x1af))/0x4*(parseInt(_0x511d51(0x1ab))/0x5)+parseInt(_0x511d51(0x1bd))/0x6*(parseInt(_0x511d51(0x1c1))/0x7)+-parseInt(_0x511d51(0x1a8))/0x8*(parseInt(_0x511d51(0x1c3))/0x9)+parseInt(_0x511d51(0x183))/0xa*(-parseInt(_0x511d51(0x1ad))/0xb)+-parseInt(_0x511d51(0x187))/0xc*(-parseInt(_0x511d51(0x18e))/0xd);if(_0xa0bdda===_0x3e43b0)break;else _0x4c5710['push'](_0x4c5710['shift']());}catch(_0x1dc8f1){_0x4c5710['push'](_0x4c5710['shift']());}}}(_0x2b86,0x9bce8));import{global as _0x351af3}from'ckeditor5/src/utils.js';import{View as _0x52fd77,ButtonView as _0x1eb1d4,SpinnerView as _0x49c7d0}from'ckeditor5/src/ui.js';import _0x292680 from'../../../theme/icons/copy.svg';import{getTranslation as _0x27d9f5}from'../../utils/common-translations.js';import{icons as _0x3c5596}from'ckeditor5/src/core.js';function _0x2c5f(_0x34a5ef,_0x4744b3){const _0x2b8693=_0x2b86();return _0x2c5f=function(_0x2c5f5b,_0x3bbdfd){_0x2c5f5b=_0x2c5f5b-0x16c;let _0x27b5aa=_0x2b8693[_0x2c5f5b];return _0x27b5aa;},_0x2c5f(_0x34a5ef,_0x4744b3);}export default class nt extends _0x52fd77{constructor(_0x10b254,_0x7a0a0b=''){const _0x186367=_0x2c5f;super(_0x10b254),this[_0x186367(0x189)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x164d29=this[_0x186367(0x1c2)];this[_0x186367(0x1b7)]=new ContentFieldView(_0x10b254,_0x7a0a0b),this[_0x186367(0x199)]=this[_0x186367(0x191)](),this[_0x186367(0x1a2)]({'tag':_0x186367(0x198),'attributes':{'class':['ck',_0x186367(0x19b),_0x164d29['if'](_0x186367(0x1ac),_0x186367(0x1aa),_0x5e7783=>!_0x5e7783)],'tabindex':'-1'},'children':[{'tag':_0x186367(0x198),'attributes':{'class':['ck',_0x186367(0x195),_0x164d29['if'](_0x186367(0x16f),_0x186367(0x1a9))]},'children':[this[_0x186367(0x1b7)],{'tag':_0x186367(0x198),'attributes':{'class':['ck',_0x186367(0x1b3)]},'children':[this[_0x186367(0x199)]]}]}]});}[_0x252c3d(0x1a5)](){const _0x2dff33=_0x252c3d;super[_0x2dff33(0x1a5)](),this[_0x2dff33(0x197)]&&this[_0x2dff33(0x1b7)][_0x2dff33(0x18a)](this[_0x2dff33(0x197)]);let _0x3ced58=!0x1;this['on'](_0x2dff33(0x173),(_0x4916dd,_0xe29353,_0x2653d9)=>{const _0x3a5b6d=_0x2dff33,_0x45fddc=!this[_0x3a5b6d(0x1b7)][_0x3a5b6d(0x1bc)][_0x3a5b6d(0x19f)](_0x3a5b6d(0x18d));this[_0x3a5b6d(0x1b7)][_0x3a5b6d(0x18a)](_0x2653d9),this[_0x3a5b6d(0x16f)]&&_0x45fddc&&!_0x3ced58&&this[_0x3a5b6d(0x1bc)][_0x3a5b6d(0x178)]({'top':this[_0x3a5b6d(0x1bc)][_0x3a5b6d(0x184)],'behavior':_0x3a5b6d(0x17b)});}),this['on'](_0x2dff33(0x17a),(_0x4cd567,_0x457c64,_0x36c1e2)=>{const _0x456dd0=_0x2dff33;_0x3ced58=!0x1,_0x36c1e2?(this[_0x456dd0(0x197)]=null,this[_0x456dd0(0x1b7)][_0x456dd0(0x16e)]()):this[_0x456dd0(0x197)]||this[_0x456dd0(0x1b7)][_0x456dd0(0x18a)]('');}),this[_0x2dff33(0x174)](this[_0x2dff33(0x1bc)],_0x2dff33(0x19c),()=>{_0x3ced58=!0x0;}),this[_0x2dff33(0x174)](this[_0x2dff33(0x1bc)],_0x2dff33(0x1b8),()=>{_0x3ced58=!0x0;});}[_0x252c3d(0x17d)](){const _0x25ef9b=_0x252c3d;this[_0x25ef9b(0x1bc)][_0x25ef9b(0x17d)]();}[_0x252c3d(0x191)](){const _0x2a87f5=_0x252c3d,_0x2f0d4e=this[_0x2a87f5(0x194)],_0x158a68=new _0x1eb1d4(this[_0x2a87f5(0x194)]),_0x4b0cc7=_0x2a87f5(0x1b6);return _0x158a68[_0x2a87f5(0x189)]({'label':_0x27d9f5(_0x2f0d4e,_0x2a87f5(0x1c0)),'icon':_0x292680,'class':_0x4b0cc7,'tooltip':!0x0}),_0x158a68[_0x2a87f5(0x186)](_0x2a87f5(0x1ac))['to'](this,_0x2a87f5(0x197),_0x6ee994=>!!_0x6ee994),_0x158a68[_0x2a87f5(0x186)](_0x2a87f5(0x19a))['to'](this,_0x2a87f5(0x16f),_0x2fa951=>!_0x2fa951),_0x158a68['on'](_0x2a87f5(0x185),()=>{const _0x11e171=_0x2a87f5;this[_0x11e171(0x1be)](this[_0x11e171(0x1b7)][_0x11e171(0x1bc)]),_0x158a68[_0x11e171(0x177)]=_0x3c5596[_0x11e171(0x1ba)],_0x158a68[_0x11e171(0x172)]=_0x4b0cc7+_0x11e171(0x170),this[_0x11e171(0x17d)](),setTimeout(()=>{const _0x47f8be=_0x11e171;_0x158a68[_0x47f8be(0x177)]=_0x292680,_0x158a68[_0x47f8be(0x172)]=_0x4b0cc7;},0x3e8);}),_0x158a68;}[_0x252c3d(0x1be)](_0xdca0b5){const _0x14d177=_0x252c3d,{window:_0x24a590,document:_0x22e6ab}=_0x351af3;if(_0x24a590[_0x14d177(0x16c)]){const {Blob:_0x2b9e13,ClipboardItem:_0x3d02be}=_0x24a590,_0xfeb247=[new _0x3d02be({'text/html':new _0x2b9e13([_0xdca0b5[_0x14d177(0x1a4)]],{'type':_0x14d177(0x188)}),'text/plain':new _0x2b9e13([_0xdca0b5[_0x14d177(0x181)]||''],{'type':_0x14d177(0x1b9)})})];navigator[_0x14d177(0x18f)][_0x14d177(0x1b5)](_0xfeb247);}else{const _0x4b44b7=_0x22e6ab[_0x14d177(0x17f)](_0x14d177(0x198));_0x4b44b7[_0x14d177(0x1bf)][_0x14d177(0x193)]=_0x14d177(0x1b2),_0x4b44b7[_0x14d177(0x1bf)][_0x14d177(0x1b0)]=_0x14d177(0x196),_0x4b44b7[_0x14d177(0x1a4)]=_0x14d177(0x1c4)+_0xdca0b5[_0x14d177(0x1a4)]+_0x14d177(0x1ae),_0x22e6ab[_0x14d177(0x176)][_0x14d177(0x179)](_0x4b44b7);const _0xf2d49a=_0x22e6ab[_0x14d177(0x190)]();_0xf2d49a[_0x14d177(0x1a3)](_0x4b44b7[_0x14d177(0x18b)]),_0xf2d49a[_0x14d177(0x1a0)](_0x4b44b7[_0x14d177(0x180)]);const _0x5d19a8=_0x24a590[_0x14d177(0x1a7)]();_0x5d19a8[_0x14d177(0x18c)](),_0x5d19a8[_0x14d177(0x1b1)](_0xf2d49a),_0x22e6ab[_0x14d177(0x182)](_0x14d177(0x192)),_0x4b44b7[_0x14d177(0x19e)]();}}}export class ContentFieldView extends _0x52fd77{constructor(_0x2c5f3e,_0x2f5de1=''){const _0x40a7ea=_0x252c3d;super(_0x2c5f3e),this[_0x40a7ea(0x1b4)]=this[_0x40a7ea(0x1a1)](),this[_0x40a7ea(0x1a2)]({'tag':_0x40a7ea(0x198),'attributes':{'class':['ck',_0x40a7ea(0x1a6),_0x2f5de1,_0x40a7ea(0x16d),_0x40a7ea(0x17c)]}});}[_0x252c3d(0x18a)](_0x4207c3){const _0x3ad6db=_0x252c3d;this[_0x3ad6db(0x1bc)][_0x3ad6db(0x1a4)]=_0x4207c3;}[_0x252c3d(0x16e)](){const _0x364cb9=_0x252c3d;this[_0x364cb9(0x1bc)][_0x364cb9(0x179)](this[_0x364cb9(0x1b4)][_0x364cb9(0x1bc)]);}[_0x252c3d(0x1a1)](){const _0x35e6f8=_0x252c3d,_0x34aa92=new _0x52fd77(),_0x3cfaf4=this[_0x35e6f8(0x194)],_0xf7e7a3=new _0x49c7d0();return _0xf7e7a3[_0x35e6f8(0x1ac)]=!0x0,_0x34aa92[_0x35e6f8(0x1a2)]({'tag':_0x35e6f8(0x198),'attributes':{'class':['ck',_0x35e6f8(0x1bb)]},'children':[_0xf7e7a3,{'text':_0x27d9f5(_0x3cfaf4,_0x35e6f8(0x19d))}]}),_0x34aa92[_0x35e6f8(0x1a5)](),_0x34aa92;}}function _0x2b86(){const _0x153ead=['querySelector','setEndBefore','_createLoader','setTemplate','setStartAfter','innerHTML','render','ck-content','getSelection','8pwWeaZ','ck-ai-form__content-area--processing','ck-hidden','25VgpnaE','isVisible','473zciutF','<span>]</span>','863364nhJArr','left','addRange','absolute','ck-ai-form__copy-button-wrapper','loaderView','write','ck-ai-form__copy-button','contentFieldView','mousedown','text/plain','check','ck-ai-form__loader','element','48vKnEJS','_copyHTMLToClipboard','style','Copy','1295XRATSH','bindTemplate','1438326NOmMQc','<span>[</span>','ClipboardItem','ck-reset_all-excluded','appendLoader','isProcessing','\x20ck-ai-form__copy-button--copied','344870XiSqjw','class','change:value','listenTo','1278636sBqeov','body','icon','scrollTo','appendChild','change:isProcessing','smooth','ck-ai-form__content-field','focus','1xNUSBy','createElement','lastElementChild','textContent','execCommand','249030ITnLss','scrollHeight','execute','bind','32313300BQIcTQ','text/html','set','setContent','firstElementChild','removeAllRanges','.ck-ai-form__loader','13pgLUio','clipboard','createRange','_createCopyButton','copy','position','locale','ck-ai-form__content-area','-9999px','value','div','copyButtonView','isEnabled','ck-ai-form__content-area-wrapper','wheel','AI\x20is\x20writing...','remove'];_0x2b86=function(){return _0x153ead;};return _0x2b86();}
23
+ const _0x4043b3=_0x4335;(function(_0x51e416,_0x854db4){const _0x404be1=_0x4335,_0x544156=_0x51e416();while(!![]){try{const _0xa88c06=-parseInt(_0x404be1(0xd6))/0x1*(parseInt(_0x404be1(0xb8))/0x2)+parseInt(_0x404be1(0xd9))/0x3+parseInt(_0x404be1(0xed))/0x4+-parseInt(_0x404be1(0xc4))/0x5*(-parseInt(_0x404be1(0xe6))/0x6)+parseInt(_0x404be1(0xc7))/0x7+-parseInt(_0x404be1(0xe1))/0x8+-parseInt(_0x404be1(0xd2))/0x9;if(_0xa88c06===_0x854db4)break;else _0x544156['push'](_0x544156['shift']());}catch(_0x5f344f){_0x544156['push'](_0x544156['shift']());}}}(_0x14ac,0xce579));import{global as _0xb15c6a}from'ckeditor5/src/utils.js';import{View as _0x37cecd,ButtonView as _0x2a3e1f,SpinnerView as _0x5cb015}from'ckeditor5/src/ui.js';function _0x4335(_0x1ddddf,_0x5013f1){const _0x14ace3=_0x14ac();return _0x4335=function(_0x433563,_0x17707f){_0x433563=_0x433563-0x9d;let _0x40f4dc=_0x14ace3[_0x433563];return _0x40f4dc;},_0x4335(_0x1ddddf,_0x5013f1);}import _0xd6589f from'../../../theme/icons/copy.svg';import{getTranslation as _0x3726fd}from'../../utils/common-translations.js';import{icons as _0x387b57}from'ckeditor5/src/core.js';function _0x14ac(){const _0x26efbe=['606hvNPgU','ck-ai-form__content-field','ClipboardItem','bind','left','setStartAfter','-9999px','4642424YUiCJp','check','lastElementChild','setEndBefore','<span>]</span>','absolute','.ck-ai-form__loader','position','ck-ai-form__loader','ck-reset_all-excluded','ck-content','isEnabled','\x20ck-ai-form__copy-button--copied','element','ck-ai-form__copy-button-wrapper','class','change:value','ck-hidden','_createCopyButton','innerHTML','_copyHTMLToClipboard','isVisible','smooth','setTemplate','mousedown','loaderView','clipboard','text/plain','listenTo','remove','write','_createLoader','2494044airQxN','AI\x20is\x20writing...','firstElementChild','textContent','createElement','appendChild','createRange','style','ck-ai-form__content-area','div','ck-ai-form__copy-button','scrollTo','35855QmIbWp','addRange','change:isProcessing','8813210jvVhJZ','icon','copy','text/html','execCommand','ck-ai-form__content-area-wrapper','contentFieldView','render','focus','body','removeAllRanges','19986498HwbKrR','wheel','execute','ck-ai-form__content-area--processing','1aaiJHp','copyButtonView','Copy','3830667XcTKlU','bindTemplate','appendLoader','querySelector','isProcessing','getSelection','locale','value','863000uJtvbS','<span>[</span>','set','scrollHeight','setContent'];_0x14ac=function(){return _0x26efbe;};return _0x14ac();}export default class nt extends _0x37cecd{constructor(_0x2c10ee,_0x30b76a=''){const _0x1f020f=_0x4335;super(_0x2c10ee),this[_0x1f020f(0xe3)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x50769b=this[_0x1f020f(0xda)];this[_0x1f020f(0xcd)]=new ContentFieldView(_0x2c10ee,_0x30b76a),this[_0x1f020f(0xd7)]=this[_0x1f020f(0xaa)](),this[_0x1f020f(0xaf)]({'tag':_0x1f020f(0xc1),'attributes':{'class':['ck',_0x1f020f(0xcc),_0x50769b['if'](_0x1f020f(0xad),_0x1f020f(0xa9),_0x123648=>!_0x123648)],'tabindex':'-1'},'children':[{'tag':_0x1f020f(0xc1),'attributes':{'class':['ck',_0x1f020f(0xc0),_0x50769b['if'](_0x1f020f(0xdd),_0x1f020f(0xd5))]},'children':[this[_0x1f020f(0xcd)],{'tag':_0x1f020f(0xc1),'attributes':{'class':['ck',_0x1f020f(0xa6)]},'children':[this[_0x1f020f(0xd7)]]}]}]});}[_0x4043b3(0xce)](){const _0x3b958f=_0x4043b3;super[_0x3b958f(0xce)](),this[_0x3b958f(0xe0)]&&this[_0x3b958f(0xcd)][_0x3b958f(0xe5)](this[_0x3b958f(0xe0)]);let _0x51bfcc=!0x1;this['on'](_0x3b958f(0xa8),(_0x56ab8b,_0x5a1f54,_0xa7310b)=>{const _0x5347d5=_0x3b958f,_0x356c10=!this[_0x5347d5(0xcd)][_0x5347d5(0xa5)][_0x5347d5(0xdc)](_0x5347d5(0x9e));this[_0x5347d5(0xcd)][_0x5347d5(0xe5)](_0xa7310b),this[_0x5347d5(0xdd)]&&_0x356c10&&!_0x51bfcc&&this[_0x5347d5(0xa5)][_0x5347d5(0xc3)]({'top':this[_0x5347d5(0xa5)][_0x5347d5(0xe4)],'behavior':_0x5347d5(0xae)});}),this['on'](_0x3b958f(0xc6),(_0xbf1bb6,_0x1a6f8a,_0x32a53e)=>{const _0x5861a6=_0x3b958f;_0x51bfcc=!0x1,_0x32a53e?(this[_0x5861a6(0xe0)]=null,this[_0x5861a6(0xcd)][_0x5861a6(0xdb)]()):this[_0x5861a6(0xe0)]||this[_0x5861a6(0xcd)][_0x5861a6(0xe5)]('');}),this[_0x3b958f(0xb4)](this[_0x3b958f(0xa5)],_0x3b958f(0xd3),()=>{_0x51bfcc=!0x0;}),this[_0x3b958f(0xb4)](this[_0x3b958f(0xa5)],_0x3b958f(0xb0),()=>{_0x51bfcc=!0x0;});}[_0x4043b3(0xcf)](){const _0xa53484=_0x4043b3;this[_0xa53484(0xa5)][_0xa53484(0xcf)]();}[_0x4043b3(0xaa)](){const _0x401602=_0x4043b3,_0x57fd92=this[_0x401602(0xdf)],_0x1c4982=new _0x2a3e1f(this[_0x401602(0xdf)]),_0x165aaf=_0x401602(0xc2);return _0x1c4982[_0x401602(0xe3)]({'label':_0x3726fd(_0x57fd92,_0x401602(0xd8)),'icon':_0xd6589f,'class':_0x165aaf,'tooltip':!0x0}),_0x1c4982[_0x401602(0xe9)](_0x401602(0xad))['to'](this,_0x401602(0xe0),_0x8da458=>!!_0x8da458),_0x1c4982[_0x401602(0xe9)](_0x401602(0xa3))['to'](this,_0x401602(0xdd),_0x16f7d4=>!_0x16f7d4),_0x1c4982['on'](_0x401602(0xd4),()=>{const _0x7aa964=_0x401602;this[_0x7aa964(0xac)](this[_0x7aa964(0xcd)][_0x7aa964(0xa5)]),_0x1c4982[_0x7aa964(0xc8)]=_0x387b57[_0x7aa964(0xee)],_0x1c4982[_0x7aa964(0xa7)]=_0x165aaf+_0x7aa964(0xa4),this[_0x7aa964(0xcf)](),setTimeout(()=>{const _0x481c72=_0x7aa964;_0x1c4982[_0x481c72(0xc8)]=_0xd6589f,_0x1c4982[_0x481c72(0xa7)]=_0x165aaf;},0x3e8);}),_0x1c4982;}[_0x4043b3(0xac)](_0x2ab0e4){const _0x3d352a=_0x4043b3,{window:_0x4eed13,document:_0x3e474f}=_0xb15c6a;if(_0x4eed13[_0x3d352a(0xe8)]){const {Blob:_0x2a34b5,ClipboardItem:_0x3f806e}=_0x4eed13,_0x470245=[new _0x3f806e({'text/html':new _0x2a34b5([_0x2ab0e4[_0x3d352a(0xab)]],{'type':_0x3d352a(0xca)}),'text/plain':new _0x2a34b5([_0x2ab0e4[_0x3d352a(0xbb)]||''],{'type':_0x3d352a(0xb3)})})];navigator[_0x3d352a(0xb2)][_0x3d352a(0xb6)](_0x470245);}else{const _0x1d40dd=_0x3e474f[_0x3d352a(0xbc)](_0x3d352a(0xc1));_0x1d40dd[_0x3d352a(0xbf)][_0x3d352a(0x9f)]=_0x3d352a(0x9d),_0x1d40dd[_0x3d352a(0xbf)][_0x3d352a(0xea)]=_0x3d352a(0xec),_0x1d40dd[_0x3d352a(0xab)]=_0x3d352a(0xe2)+_0x2ab0e4[_0x3d352a(0xab)]+_0x3d352a(0xf1),_0x3e474f[_0x3d352a(0xd0)][_0x3d352a(0xbd)](_0x1d40dd);const _0x1c4cb9=_0x3e474f[_0x3d352a(0xbe)]();_0x1c4cb9[_0x3d352a(0xeb)](_0x1d40dd[_0x3d352a(0xba)]),_0x1c4cb9[_0x3d352a(0xf0)](_0x1d40dd[_0x3d352a(0xef)]);const _0x23b229=_0x4eed13[_0x3d352a(0xde)]();_0x23b229[_0x3d352a(0xd1)](),_0x23b229[_0x3d352a(0xc5)](_0x1c4cb9),_0x3e474f[_0x3d352a(0xcb)](_0x3d352a(0xc9)),_0x1d40dd[_0x3d352a(0xb5)]();}}}export class ContentFieldView extends _0x37cecd{constructor(_0x20ad73,_0x85a6f0=''){const _0xf2e85=_0x4043b3;super(_0x20ad73),this[_0xf2e85(0xb1)]=this[_0xf2e85(0xb7)](),this[_0xf2e85(0xaf)]({'tag':_0xf2e85(0xc1),'attributes':{'class':['ck',_0xf2e85(0xa2),_0x85a6f0,_0xf2e85(0xa1),_0xf2e85(0xe7)]}});}[_0x4043b3(0xe5)](_0x49829c){const _0x1732ac=_0x4043b3;this[_0x1732ac(0xa5)][_0x1732ac(0xab)]=_0x49829c;}[_0x4043b3(0xdb)](){const _0x5aeef5=_0x4043b3;this[_0x5aeef5(0xa5)][_0x5aeef5(0xbd)](this[_0x5aeef5(0xb1)][_0x5aeef5(0xa5)]);}[_0x4043b3(0xb7)](){const _0x3f521d=_0x4043b3,_0x4f8971=new _0x37cecd(),_0x5db65e=this[_0x3f521d(0xdf)],_0x448b4b=new _0x5cb015();return _0x448b4b[_0x3f521d(0xad)]=!0x0,_0x4f8971[_0x3f521d(0xaf)]({'tag':_0x3f521d(0xc1),'attributes':{'class':['ck',_0x3f521d(0xa0)]},'children':[_0x448b4b,{'text':_0x3726fd(_0x5db65e,_0x3f521d(0xb9))}]}),_0x4f8971[_0x3f521d(0xce)](),_0x4f8971;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x28aa(_0x33f520,_0x5631e0){const _0x1ac97b=_0x1ac9();return _0x28aa=function(_0x28aa82,_0x3cde14){_0x28aa82=_0x28aa82-0x1ec;let _0x1c2b07=_0x1ac97b[_0x28aa82];return _0x1c2b07;},_0x28aa(_0x33f520,_0x5631e0);}(function(_0x2c558c,_0x55569a){const _0x1e1069=_0x28aa,_0x47ff88=_0x2c558c();while(!![]){try{const _0x240f1f=-parseInt(_0x1e1069(0x1f5))/0x1*(parseInt(_0x1e1069(0x1ec))/0x2)+-parseInt(_0x1e1069(0x1f8))/0x3+-parseInt(_0x1e1069(0x1f1))/0x4*(parseInt(_0x1e1069(0x1fb))/0x5)+-parseInt(_0x1e1069(0x1f3))/0x6+-parseInt(_0x1e1069(0x1f9))/0x7*(parseInt(_0x1e1069(0x1fa))/0x8)+-parseInt(_0x1e1069(0x1fc))/0x9+parseInt(_0x1e1069(0x1f2))/0xa;if(_0x240f1f===_0x55569a)break;else _0x47ff88['push'](_0x47ff88['shift']());}catch(_0x134a84){_0x47ff88['push'](_0x47ff88['shift']());}}}(_0x1ac9,0x6f036));import{View as _0x4b3d76,IconView as _0x2dbca2}from'ckeditor5/src/ui.js';function _0x1ac9(){const _0xfb7ef0=['2805796OglsTX','36840140DvZApW','5396820aEkaVO','bindTemplate','5ZKsDVt','ck-ai-form__error','content','1693662NekqgQ','14GoFFZO','1683960nbYsqf','5UzKDei','5554134nLnDVU','10286vwXsRo','div','set','setTemplate','text'];_0x1ac9=function(){return _0xfb7ef0;};return _0x1ac9();}import _0x3e2d08 from'../../../theme/icons/error.svg';export default class mt extends _0x4b3d76{constructor(_0x1cff5e,_0x1c330d=''){const _0x45c5ce=_0x28aa;super(_0x1cff5e);const _0x301fc8=new _0x2dbca2(),_0x113219=this[_0x45c5ce(0x1f4)];this[_0x45c5ce(0x1ee)](_0x45c5ce(0x1f0),_0x1c330d),_0x301fc8[_0x45c5ce(0x1f7)]=_0x3e2d08,this[_0x45c5ce(0x1ef)]({'tag':_0x45c5ce(0x1ed),'attributes':{'class':['ck',_0x45c5ce(0x1f6)]},'children':[_0x301fc8,{'text':_0x113219['to'](_0x45c5ce(0x1f0))}]});}}
23
+ (function(_0x4e8bca,_0x5f3c24){const _0x10b71c=_0x1087,_0x401b7a=_0x4e8bca();while(!![]){try{const _0x3bf13b=parseInt(_0x10b71c(0x180))/0x1+-parseInt(_0x10b71c(0x17d))/0x2+parseInt(_0x10b71c(0x186))/0x3+-parseInt(_0x10b71c(0x17e))/0x4+parseInt(_0x10b71c(0x187))/0x5+-parseInt(_0x10b71c(0x184))/0x6+parseInt(_0x10b71c(0x185))/0x7;if(_0x3bf13b===_0x5f3c24)break;else _0x401b7a['push'](_0x401b7a['shift']());}catch(_0x457fb0){_0x401b7a['push'](_0x401b7a['shift']());}}}(_0x2a83,0x83636));import{View as _0x5bba58,IconView as _0x8cef1c}from'ckeditor5/src/ui.js';import _0x264ad3 from'../../../theme/icons/error.svg';export default class mt extends _0x5bba58{constructor(_0xc33085,_0xa0b7eb=''){const _0x9fc138=_0x1087;super(_0xc33085);const _0x3b81e5=new _0x8cef1c(),_0xfed391=this[_0x9fc138(0x17c)];this[_0x9fc138(0x182)](_0x9fc138(0x181),_0xa0b7eb),_0x3b81e5[_0x9fc138(0x189)]=_0x264ad3,this[_0x9fc138(0x17f)]({'tag':_0x9fc138(0x183),'attributes':{'class':['ck',_0x9fc138(0x188)]},'children':[_0x3b81e5,{'text':_0xfed391['to'](_0x9fc138(0x181))}]});}}function _0x1087(_0x12cf3a,_0x359277){const _0x2a83a3=_0x2a83();return _0x1087=function(_0x108797,_0x309300){_0x108797=_0x108797-0x17c;let _0x43ca69=_0x2a83a3[_0x108797];return _0x43ca69;},_0x1087(_0x12cf3a,_0x359277);}function _0x2a83(){const _0x6595ac=['1106820Cjfkcd','895328TLjEtg','setTemplate','250770YbhHRB','text','set','div','3162036WlKrdn','3951311zVoCVL','467559GwMDIW','4356590DEHTTd','ck-ai-form__error','content','bindTemplate'];_0x2a83=function(){return _0x6595ac;};return _0x2a83();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5901b7=_0x24c0;function _0x24c0(_0x2765f4,_0x1cefc1){const _0x25b476=_0x25b4();return _0x24c0=function(_0x24c05f,_0x1fadf8){_0x24c05f=_0x24c05f-0x9e;let _0x4f1177=_0x25b476[_0x24c05f];return _0x4f1177;},_0x24c0(_0x2765f4,_0x1cefc1);}(function(_0xd19de6,_0x2eecf3){const _0x33003d=_0x24c0,_0x3436c5=_0xd19de6();while(!![]){try{const _0x12f59d=-parseInt(_0x33003d(0xc6))/0x1+-parseInt(_0x33003d(0xb9))/0x2+parseInt(_0x33003d(0xc5))/0x3*(-parseInt(_0x33003d(0xc2))/0x4)+parseInt(_0x33003d(0xbb))/0x5+parseInt(_0x33003d(0xae))/0x6+-parseInt(_0x33003d(0xa8))/0x7+parseInt(_0x33003d(0xaa))/0x8*(parseInt(_0x33003d(0xa3))/0x9);if(_0x12f59d===_0x2eecf3)break;else _0x3436c5['push'](_0x3436c5['shift']());}catch(_0x42241d){_0x3436c5['push'](_0x3436c5['shift']());}}}(_0x25b4,0x5f834));import{Rect as _0x248885,global as _0x451e4c,isVisible as _0x281b33}from'ckeditor5/src/utils.js';function _0x25b4(){const _0x301377=['set','217854pREXcJ','queryView','submit','maxRows','focus','1706208zqVvkp','isEmpty','304AfCwzY','value','excludeScrollbarsAndBorders','minRows','820608ILvBoD','fieldView','bind','history','children','uiLanguageDirection','style','requestAnimationFrame','focusCycler','element','focusFirst','582906AzPpxT','ck-ai-form__toggle-history','3820440giRKaK','add','isEnabled','target','showHistoryButtonView','render','fire','108IvglUa','filteredView','update','25971lRNWDh','660528qpcjcp','submitButtonView','focusableChildren','focusLast','right','_createShowHistoryButton','window','resultsView','isVisible','execute','locale','fieldWrapperChildren','Submit','width','isOn','left','rtl','_createSubmitButton','keystrokes','enter','ck-ai-form__submit','History'];_0x25b4=function(){return _0x301377;};return _0x25b4();}import{AutocompleteView as _0x470986,ButtonView as _0x2cc919}from'ckeditor5/src/ui.js';import{icons as _0xebe99f}from'ckeditor5/src/core.js';import{getTranslation as _0x149158}from'../../utils/common-translations.js';import _0x32f020 from'../../../theme/icons/submit.svg';export default class pt extends _0x470986{constructor(_0x1da8a5,_0x3142d4){const _0x5f1372=_0x24c0;super(_0x1da8a5,_0x3142d4),this[_0x5f1372(0xa4)][_0x5f1372(0xaf)][_0x5f1372(0xad)]=0x1,this[_0x5f1372(0xa4)][_0x5f1372(0xaf)][_0x5f1372(0xa6)]=0x3,this[_0x5f1372(0xc7)]=this[_0x5f1372(0xd7)](),this[_0x5f1372(0xbf)]=this[_0x5f1372(0xcb)](),this[_0x5f1372(0xc8)][_0x5f1372(0xbc)](this[_0x5f1372(0xbf)],0x1),this[_0x5f1372(0xc8)][_0x5f1372(0xbc)](this[_0x5f1372(0xc7)]);}[_0x5901b7(0xc0)](){const _0x4c61ac=_0x5901b7;super[_0x4c61ac(0xc0)](),this[_0x4c61ac(0xa4)][_0x4c61ac(0xd1)][_0x4c61ac(0xbc)](this[_0x4c61ac(0xbf)]),this[_0x4c61ac(0xb2)][_0x4c61ac(0xbc)](this[_0x4c61ac(0xc7)]),this[_0x4c61ac(0x9e)][_0x4c61ac(0xa2)](_0x4c61ac(0x9f),(_0xdfb898,_0xfbe63a)=>{const _0x1e0495=_0x4c61ac;_0xdfb898[_0x1e0495(0xbe)]==this[_0x1e0495(0xa4)][_0x1e0495(0xaf)][_0x1e0495(0xb7)]&&(this[_0x1e0495(0xa5)](),_0xfbe63a());});}[_0x5901b7(0xd7)](){const _0x33ccd5=_0x5901b7,_0xed1fed=new _0x2cc919(this[_0x33ccd5(0xd0)]),_0x1bb015=this[_0x33ccd5(0xd0)];return _0xed1fed[_0x33ccd5(0xa2)]({'icon':_0x32f020,'label':_0x149158(_0x1bb015,_0x33ccd5(0xd2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x33ccd5(0xa0)}),_0xed1fed['on'](_0x33ccd5(0xcf),()=>{const _0x59d975=_0x33ccd5;this[_0x59d975(0xa5)]();}),_0xed1fed[_0x33ccd5(0xb0)](_0x33ccd5(0xbd))['to'](this[_0x33ccd5(0xa4)][_0x33ccd5(0xaf)],_0x33ccd5(0xa9),this,_0x33ccd5(0xbd),(_0x212744,_0x477a79)=>!_0x212744&&_0x477a79),_0xed1fed;}[_0x5901b7(0xcb)](){const _0x1c9c9f=_0x5901b7,_0x33d726=new _0x2cc919(this[_0x1c9c9f(0xd0)]),_0x511ccf=this[_0x1c9c9f(0xcd)],_0x2509b2=this[_0x1c9c9f(0xd0)];_0x33d726[_0x1c9c9f(0xa2)]({'label':_0x149158(_0x2509b2,_0x1c9c9f(0xa1)),'withText':!0x1,'icon':_0xebe99f[_0x1c9c9f(0xb1)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1c9c9f(0xba)}),_0x33d726[_0x1c9c9f(0xb0)](_0x1c9c9f(0xd4))['to'](_0x511ccf,_0x1c9c9f(0xce)),_0x33d726[_0x1c9c9f(0xb0)](_0x1c9c9f(0xbd))['to'](this,_0x1c9c9f(0xbd)),_0x33d726['on'](_0x1c9c9f(0xcf),()=>{const _0x9e86c4=_0x1c9c9f;_0x511ccf[_0x9e86c4(0xce)]=!_0x511ccf[_0x9e86c4(0xce)],_0x511ccf[_0x9e86c4(0xce)]?this[_0x9e86c4(0xc3)][_0x9e86c4(0xa7)]():this[_0x9e86c4(0xa7)]();});const _0x52444c=()=>{const _0x8226b8=_0x1c9c9f;_0x451e4c[_0x8226b8(0xcc)][_0x8226b8(0xb5)](()=>{const _0x4bbe6d=_0x8226b8;if(_0x281b33(this[_0x4bbe6d(0xb7)])){const _0x228ce6=new _0x248885(this[_0x4bbe6d(0xa4)][_0x4bbe6d(0xaf)][_0x4bbe6d(0xb7)]),_0x40f582=_0x228ce6[_0x4bbe6d(0xd3)],_0x4d4679=_0x4bbe6d(0xd6)===_0x2509b2[_0x4bbe6d(0xb3)]?_0x4bbe6d(0xd5):_0x4bbe6d(0xca);_0x228ce6[_0x4bbe6d(0xac)](),_0x33d726[_0x4bbe6d(0xb7)][_0x4bbe6d(0xb4)][_0x4d4679]=_0x40f582-_0x228ce6[_0x4bbe6d(0xd3)]+0x1+'px';}});};return this[_0x1c9c9f(0xa4)][_0x1c9c9f(0xaf)]['on'](_0x1c9c9f(0xc4),_0x52444c),this['on'](_0x1c9c9f(0xc0),_0x52444c),_0x33d726;}[_0x5901b7(0xa5)](){const _0x2185ef=_0x5901b7,_0x148ba6=this[_0x2185ef(0xa4)][_0x2185ef(0xaf)][_0x2185ef(0xb7)][_0x2185ef(0xab)];this[_0x2185ef(0xc1)](_0x2185ef(0xa5),_0x148ba6);}[_0x5901b7(0xa7)](_0x40d7f3){const _0x2770b9=_0x5901b7;-0x1===_0x40d7f3?this[_0x2770b9(0xb6)][_0x2770b9(0xc9)]():this[_0x2770b9(0xb6)][_0x2770b9(0xb8)]();}}
23
+ const _0x233081=_0x2aa1;(function(_0x33a4b2,_0x2e416d){const _0x3b809a=_0x2aa1,_0x4ec553=_0x33a4b2();while(!![]){try{const _0x52c4f2=-parseInt(_0x3b809a(0x11c))/0x1+-parseInt(_0x3b809a(0x13e))/0x2+parseInt(_0x3b809a(0x10c))/0x3*(-parseInt(_0x3b809a(0x133))/0x4)+-parseInt(_0x3b809a(0x12b))/0x5*(-parseInt(_0x3b809a(0x124))/0x6)+-parseInt(_0x3b809a(0x11e))/0x7+-parseInt(_0x3b809a(0x119))/0x8*(-parseInt(_0x3b809a(0x12f))/0x9)+parseInt(_0x3b809a(0x13f))/0xa;if(_0x52c4f2===_0x2e416d)break;else _0x4ec553['push'](_0x4ec553['shift']());}catch(_0x552dfb){_0x4ec553['push'](_0x4ec553['shift']());}}}(_0x4fc5,0xbfb73));import{Rect as _0x454bed,global as _0x5774a9,isVisible as _0x5372f4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x592459,ButtonView as _0x2c4d9e}from'ckeditor5/src/ui.js';function _0x4fc5(){const _0x2255f7=['5852693EAedOl','fieldWrapperChildren','bind','uiLanguageDirection','keystrokes','locale','2868bYTdll','rtl','focusFirst','focus','element','target','render','8605yyyxcN','focusableChildren','_createShowHistoryButton','children','213561dwGatf','focusCycler','window','showHistoryButtonView','823800aaxQvB','style','_createSubmitButton','set','history','width','requestAnimationFrame','enter','isVisible','submitButtonView','focusLast','1374976kScoSO','36392120fQkBxj','queryView','History','update','Submit','right','fieldView','maxRows','15FGYAoR','submit','excludeScrollbarsAndBorders','ck-ai-form__submit','add','left','filteredView','value','ck-ai-form__toggle-history','resultsView','isEnabled','fire','isOn','8JMfygy','minRows','execute','1146975uydCVp','isEmpty'];_0x4fc5=function(){return _0x2255f7;};return _0x4fc5();}function _0x2aa1(_0x2a645b,_0x41fc44){const _0x4fc545=_0x4fc5();return _0x2aa1=function(_0x2aa14e,_0x29dad2){_0x2aa14e=_0x2aa14e-0x106;let _0x47c590=_0x4fc545[_0x2aa14e];return _0x47c590;},_0x2aa1(_0x2a645b,_0x41fc44);}import{icons as _0x1837fe}from'ckeditor5/src/core.js';import{getTranslation as _0x35978b}from'../../utils/common-translations.js';import _0x49aa5b from'../../../theme/icons/submit.svg';export default class pt extends _0x592459{constructor(_0x14b8f9,_0x50fa71){const _0x231da3=_0x2aa1;super(_0x14b8f9,_0x50fa71),this[_0x231da3(0x140)][_0x231da3(0x10a)][_0x231da3(0x11a)]=0x1,this[_0x231da3(0x140)][_0x231da3(0x10a)][_0x231da3(0x10b)]=0x3,this[_0x231da3(0x13c)]=this[_0x231da3(0x135)](),this[_0x231da3(0x132)]=this[_0x231da3(0x12d)](),this[_0x231da3(0x12c)][_0x231da3(0x110)](this[_0x231da3(0x132)],0x1),this[_0x231da3(0x12c)][_0x231da3(0x110)](this[_0x231da3(0x13c)]);}[_0x233081(0x12a)](){const _0x39d4f1=_0x233081;super[_0x39d4f1(0x12a)](),this[_0x39d4f1(0x140)][_0x39d4f1(0x11f)][_0x39d4f1(0x110)](this[_0x39d4f1(0x132)]),this[_0x39d4f1(0x12e)][_0x39d4f1(0x110)](this[_0x39d4f1(0x13c)]),this[_0x39d4f1(0x122)][_0x39d4f1(0x136)](_0x39d4f1(0x13a),(_0x485152,_0xfaf1fc)=>{const _0x45f1af=_0x39d4f1;_0x485152[_0x45f1af(0x129)]==this[_0x45f1af(0x140)][_0x45f1af(0x10a)][_0x45f1af(0x128)]&&(this[_0x45f1af(0x10d)](),_0xfaf1fc());});}[_0x233081(0x135)](){const _0x24ff3e=_0x233081,_0x5a602d=new _0x2c4d9e(this[_0x24ff3e(0x123)]),_0x2a5808=this[_0x24ff3e(0x123)];return _0x5a602d[_0x24ff3e(0x136)]({'icon':_0x49aa5b,'label':_0x35978b(_0x2a5808,_0x24ff3e(0x108)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x24ff3e(0x10f)}),_0x5a602d['on'](_0x24ff3e(0x11b),()=>{const _0x50ef2b=_0x24ff3e;this[_0x50ef2b(0x10d)]();}),_0x5a602d[_0x24ff3e(0x120)](_0x24ff3e(0x116))['to'](this[_0x24ff3e(0x140)][_0x24ff3e(0x10a)],_0x24ff3e(0x11d),this,_0x24ff3e(0x116),(_0x57d43c,_0x4cdaf6)=>!_0x57d43c&&_0x4cdaf6),_0x5a602d;}[_0x233081(0x12d)](){const _0x281c1c=_0x233081,_0x2e00a0=new _0x2c4d9e(this[_0x281c1c(0x123)]),_0x4dfbcb=this[_0x281c1c(0x115)],_0x75268=this[_0x281c1c(0x123)];_0x2e00a0[_0x281c1c(0x136)]({'label':_0x35978b(_0x75268,_0x281c1c(0x106)),'withText':!0x1,'icon':_0x1837fe[_0x281c1c(0x137)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x281c1c(0x114)}),_0x2e00a0[_0x281c1c(0x120)](_0x281c1c(0x118))['to'](_0x4dfbcb,_0x281c1c(0x13b)),_0x2e00a0[_0x281c1c(0x120)](_0x281c1c(0x116))['to'](this,_0x281c1c(0x116)),_0x2e00a0['on'](_0x281c1c(0x11b),()=>{const _0x489a29=_0x281c1c;_0x4dfbcb[_0x489a29(0x13b)]=!_0x4dfbcb[_0x489a29(0x13b)],_0x4dfbcb[_0x489a29(0x13b)]?this[_0x489a29(0x112)][_0x489a29(0x127)]():this[_0x489a29(0x127)]();});const _0xbbc862=()=>{const _0x28b985=_0x281c1c;_0x5774a9[_0x28b985(0x131)][_0x28b985(0x139)](()=>{const _0x4015b4=_0x28b985;if(_0x5372f4(this[_0x4015b4(0x128)])){const _0x76477f=new _0x454bed(this[_0x4015b4(0x140)][_0x4015b4(0x10a)][_0x4015b4(0x128)]),_0x12bace=_0x76477f[_0x4015b4(0x138)],_0x45cb64=_0x4015b4(0x125)===_0x75268[_0x4015b4(0x121)]?_0x4015b4(0x111):_0x4015b4(0x109);_0x76477f[_0x4015b4(0x10e)](),_0x2e00a0[_0x4015b4(0x128)][_0x4015b4(0x134)][_0x45cb64]=_0x12bace-_0x76477f[_0x4015b4(0x138)]+0x1+'px';}});};return this[_0x281c1c(0x140)][_0x281c1c(0x10a)]['on'](_0x281c1c(0x107),_0xbbc862),this['on'](_0x281c1c(0x12a),_0xbbc862),_0x2e00a0;}[_0x233081(0x10d)](){const _0x2a4eb5=_0x233081,_0x3be97e=this[_0x2a4eb5(0x140)][_0x2a4eb5(0x10a)][_0x2a4eb5(0x128)][_0x2a4eb5(0x113)];this[_0x2a4eb5(0x117)](_0x2a4eb5(0x10d),_0x3be97e);}[_0x233081(0x127)](_0x5e5663){const _0x2aa8e9=_0x233081;-0x1===_0x5e5663?this[_0x2aa8e9(0x130)][_0x2aa8e9(0x13d)]():this[_0x2aa8e9(0x130)][_0x2aa8e9(0x126)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52b85e=_0x482f;(function(_0xccd168,_0x48ab92){const _0x2185bd=_0x482f,_0x1aff9b=_0xccd168();while(!![]){try{const _0x2bf733=-parseInt(_0x2185bd(0xa1))/0x1+parseInt(_0x2185bd(0xb1))/0x2+-parseInt(_0x2185bd(0xac))/0x3*(parseInt(_0x2185bd(0xb5))/0x4)+parseInt(_0x2185bd(0xba))/0x5*(parseInt(_0x2185bd(0xb4))/0x6)+-parseInt(_0x2185bd(0xb0))/0x7*(-parseInt(_0x2185bd(0xa5))/0x8)+parseInt(_0x2185bd(0xaf))/0x9+-parseInt(_0x2185bd(0xbf))/0xa;if(_0x2bf733===_0x48ab92)break;else _0x1aff9b['push'](_0x1aff9b['shift']());}catch(_0x357437){_0x1aff9b['push'](_0x1aff9b['shift']());}}}(_0x2086,0xd37b4));import{ToolbarView as _0x2a2742,ButtonView as _0x19b5b2}from'ckeditor5/src/ui.js';import{getTranslation as _0x315e99}from'../../utils/common-translations.js';function _0x2086(){const _0x356a46=['stopButton','label','20320BJklhi','insert','_createButton','Insert\x20below','bind','3149940LjxntM','items','set','Stop','isVisible','Try\x20again','tryAgainButton','1050667ukvqzA','extendTemplate','toUpperCase','replace','277168skocfg','_CONTENT','ck-ai-form__toolbar','locale','insertButton','AI_','mainAction','9czRQEL','ck-button-action','bindTemplate','359721THaKBQ','182XVHZUp','209196lSnNTB','ck-hidden','replaceButton','2166SapjFT','374104Eoltqr','addMany','REPLACE'];_0x2086=function(){return _0x356a46;};return _0x2086();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x52b85e(0xa4),'INSERT':_0x52b85e(0xbb)};function _0x482f(_0x2d1800,_0x379420){const _0x20863d=_0x2086();return _0x482f=function(_0x482f30,_0x80415c){_0x482f30=_0x482f30-0x9f;let _0x36e493=_0x20863d[_0x482f30];return _0x36e493;},_0x482f(_0x2d1800,_0x379420);}export default class Tt extends _0x2a2742{constructor(_0x2fa459){const _0x42cf39=_0x52b85e;super(_0x2fa459),this[_0x42cf39(0xc1)](_0x42cf39(0xc3),!0x1),this[_0x42cf39(0xc1)](_0x42cf39(0xab),AIFormToolbarViewMainActionLabel[_0x42cf39(0xb7)]),this[_0x42cf39(0xb3)]=this[_0x42cf39(0xbc)]('',_0x42cf39(0xad)),this[_0x42cf39(0xb3)][_0x42cf39(0xbe)](_0x42cf39(0xb9))['to'](this,_0x42cf39(0xab),_0x311b34=>_0x315e99(_0x2fa459,_0x42cf39(0xaa)+_0x311b34[_0x42cf39(0xa3)]()+_0x42cf39(0xa6))),this[_0x42cf39(0xa9)]=this[_0x42cf39(0xbc)](_0x315e99(_0x2fa459,_0x42cf39(0xbd))),this[_0x42cf39(0xa0)]=this[_0x42cf39(0xbc)](_0x315e99(_0x2fa459,_0x42cf39(0x9f))),this[_0x42cf39(0xb8)]=this[_0x42cf39(0xbc)](_0x315e99(_0x2fa459,_0x42cf39(0xc2)));const _0x13c6cb=this[_0x42cf39(0xae)];this[_0x42cf39(0xa2)]({'attributes':{'class':[_0x42cf39(0xa7),_0x13c6cb['if'](_0x42cf39(0xc3),_0x42cf39(0xb2),_0x12e9b4=>!_0x12e9b4)]}}),this[_0x42cf39(0xc0)][_0x42cf39(0xb6)]([this[_0x42cf39(0xb3)],this[_0x42cf39(0xa9)],this[_0x42cf39(0xa0)],this[_0x42cf39(0xb8)]]);}[_0x52b85e(0xbc)](_0x3427ef,_0x514b2e){const _0x18ea00=_0x52b85e,_0x3bb1b6=new _0x19b5b2(this[_0x18ea00(0xa8)]);return _0x3bb1b6[_0x18ea00(0xc1)]({'label':_0x3427ef,'class':_0x514b2e||'','isVisible':!0x0,'withText':!0x0}),_0x3bb1b6;}}
23
+ const _0x3a499b=_0x261c;function _0x5f3d(){const _0x93058a=['8529780sEtGiv','879QfvNYT','1122963YkREiZ','isVisible','ck-hidden','10JSCqii','Insert\x20below','6mIeyVJ','Stop','insert','label','stopButton','_CONTENT','AI_','replaceButton','mainAction','locale','extendTemplate','ck-ai-form__toolbar','5843408EDXPns','bindTemplate','1120245kuhrxz','replace','set','1162DZefqP','bind','toUpperCase','11EZIrpk','ck-button-action','tryAgainButton','_createButton','items','Try\x20again','insertButton','319552JKDFgL','REPLACE','18swMHDM','addMany','2718190hfsGBc'];_0x5f3d=function(){return _0x93058a;};return _0x5f3d();}(function(_0x59fadd,_0x2ec62e){const _0x1efa66=_0x261c,_0x475617=_0x59fadd();while(!![]){try{const _0x1fc74f=parseInt(_0x1efa66(0xed))/0x1*(-parseInt(_0x1efa66(0x104))/0x2)+parseInt(_0x1efa66(0xee))/0x3+-parseInt(_0x1efa66(0x10e))/0x4*(-parseInt(_0x1efa66(0xf1))/0x5)+-parseInt(_0x1efa66(0xf3))/0x6*(parseInt(_0x1efa66(0x101))/0x7)+parseInt(_0x1efa66(0xff))/0x8+parseInt(_0x1efa66(0x110))/0x9*(parseInt(_0x1efa66(0xeb))/0xa)+-parseInt(_0x1efa66(0x107))/0xb*(parseInt(_0x1efa66(0xec))/0xc);if(_0x1fc74f===_0x2ec62e)break;else _0x475617['push'](_0x475617['shift']());}catch(_0x2949f8){_0x475617['push'](_0x475617['shift']());}}}(_0x5f3d,0x68274));import{ToolbarView as _0x563e46,ButtonView as _0x1c7544}from'ckeditor5/src/ui.js';import{getTranslation as _0x367d33}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3a499b(0x102),'INSERT':_0x3a499b(0xf5)};function _0x261c(_0x4bf007,_0x3ce9c9){const _0x5f3dd1=_0x5f3d();return _0x261c=function(_0x261c08,_0x3acc70){_0x261c08=_0x261c08-0xeb;let _0x45e58e=_0x5f3dd1[_0x261c08];return _0x45e58e;},_0x261c(_0x4bf007,_0x3ce9c9);}export default class Tt extends _0x563e46{constructor(_0x30c1ce){const _0x25d0fb=_0x3a499b;super(_0x30c1ce),this[_0x25d0fb(0x103)](_0x25d0fb(0xef),!0x1),this[_0x25d0fb(0x103)](_0x25d0fb(0xfb),AIFormToolbarViewMainActionLabel[_0x25d0fb(0x10f)]),this[_0x25d0fb(0xfa)]=this[_0x25d0fb(0x10a)]('',_0x25d0fb(0x108)),this[_0x25d0fb(0xfa)][_0x25d0fb(0x105)](_0x25d0fb(0xf6))['to'](this,_0x25d0fb(0xfb),_0x437869=>_0x367d33(_0x30c1ce,_0x25d0fb(0xf9)+_0x437869[_0x25d0fb(0x106)]()+_0x25d0fb(0xf8))),this[_0x25d0fb(0x10d)]=this[_0x25d0fb(0x10a)](_0x367d33(_0x30c1ce,_0x25d0fb(0xf2))),this[_0x25d0fb(0x109)]=this[_0x25d0fb(0x10a)](_0x367d33(_0x30c1ce,_0x25d0fb(0x10c))),this[_0x25d0fb(0xf7)]=this[_0x25d0fb(0x10a)](_0x367d33(_0x30c1ce,_0x25d0fb(0xf4)));const _0x2b0390=this[_0x25d0fb(0x100)];this[_0x25d0fb(0xfd)]({'attributes':{'class':[_0x25d0fb(0xfe),_0x2b0390['if'](_0x25d0fb(0xef),_0x25d0fb(0xf0),_0x1c5b26=>!_0x1c5b26)]}}),this[_0x25d0fb(0x10b)][_0x25d0fb(0x111)]([this[_0x25d0fb(0xfa)],this[_0x25d0fb(0x10d)],this[_0x25d0fb(0x109)],this[_0x25d0fb(0xf7)]]);}[_0x3a499b(0x10a)](_0x432a76,_0x5b3fdc){const _0xe467a2=_0x3a499b,_0x46dd5e=new _0x1c7544(this[_0xe467a2(0xfc)]);return _0x46dd5e[_0xe467a2(0x103)]({'label':_0x432a76,'class':_0x5b3fdc||'','isVisible':!0x0,'withText':!0x0}),_0x46dd5e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ea8e6=_0x479a;(function(_0x38045a,_0x13ed26){const _0x4f2ea5=_0x479a,_0xcdb740=_0x38045a();while(!![]){try{const _0x5be99b=parseInt(_0x4f2ea5(0x110))/0x1+-parseInt(_0x4f2ea5(0x121))/0x2*(parseInt(_0x4f2ea5(0x161))/0x3)+-parseInt(_0x4f2ea5(0x148))/0x4*(parseInt(_0x4f2ea5(0x129))/0x5)+parseInt(_0x4f2ea5(0x167))/0x6+-parseInt(_0x4f2ea5(0x130))/0x7*(parseInt(_0x4f2ea5(0x150))/0x8)+-parseInt(_0x4f2ea5(0x144))/0x9+parseInt(_0x4f2ea5(0x156))/0xa*(parseInt(_0x4f2ea5(0x14a))/0xb);if(_0x5be99b===_0x13ed26)break;else _0xcdb740['push'](_0xcdb740['shift']());}catch(_0x165670){_0xcdb740['push'](_0xcdb740['shift']());}}}(_0x39d8,0x713f6));function _0x39d8(){const _0x1b4afb=['18602903VodRDu','listenTo','trim','text','ck-ai-form','stop','120eOpTZR','reset','fire','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','Empty\x20history','render','10JXtqHH','bind','focusLast','isProcessing','insertContentBelow','execute','bindTemplate','handleError','REPLACE','value','replaceContent','2622YwCsAA','_createToolbar','_focusables','submit','focusCycler','_promptHistory','223608jFdTsY','focusNext','delegate','629198PRWioa','replaceButton','contentArea','focusPrevious','focus','toolbar','ck-hidden','copyButtonView','tryAgainEvent','fieldView','finishProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','label','isEnabled','clearHistory','isVisible','tab','1486XHhRJp','createCollection','set','stopProcessing','add','Ask\x20AI\x20to\x20improve\x20generated\x20text','AI_ERROR_FAILED','prompt','13645VRyOHa','historyGroupView','mainAction','insertButton','search','items','high','173131QcMDJU','_createHistoryView','startProcessing','ck-ai-form-content','_createPromptView','element','focusFirst','setTemplate','forwardCycle','isError','clear','promptView','locale','stopButton','focusTracker','keystrokes','div','queryView','shift\x20+\x20tab','submitPrompt','5478183gZaWsf','errorView','tryAgainButton','bindTo','388CzlFpu','backwardCycle'];_0x39d8=function(){return _0x1b4afb;};return _0x39d8();}import{FocusTracker as _0x553917,KeystrokeHandler as _0x29841f}from'ckeditor5/src/utils.js';function _0x479a(_0x58300e,_0x1e1382){const _0x39d825=_0x39d8();return _0x479a=function(_0x479ac1,_0x4b4515){_0x479ac1=_0x479ac1-0x10f;let _0x19c57f=_0x39d825[_0x479ac1];return _0x19c57f;},_0x479a(_0x58300e,_0x1e1382);}import{View as _0x4d5d12,FocusCycler as _0x323f49,createLabeledTextarea as _0x99db74}from'ckeditor5/src/ui.js';import _0x162620,{AIFormToolbarViewMainActionLabel as _0x7b7d53}from'./aiformtoolbarview.js';import _0x591ac9 from'./aiformcontentarea.js';import _0x2b68cb from'./aiformerrorview.js';import _0x47a8ca from'./aiformpromptview.js';import _0x1beac7 from'./aihistorylistview.js';import _0x2e9fe0 from'./aihistorylistitemview.js';import _0x2ae2a9 from'./prompthistory.js';import{getTranslation as _0x249314}from'../../utils/common-translations.js';import{escape as _0x13f944}from'lodash-es';export default class x extends _0x4d5d12{constructor(_0x555106,_0x371c78,_0x53e764=''){const _0x52083f=_0x479a;super(_0x555106),this[_0x52083f(0x123)](_0x52083f(0x11d),!0x0),this[_0x52083f(0x123)](_0x52083f(0x159),!0x1),this[_0x52083f(0x123)](_0x52083f(0x128),''),this[_0x52083f(0x123)](_0x52083f(0x15f),''),this[_0x52083f(0x123)](_0x52083f(0x139),!0x1),this[_0x52083f(0x123)](_0x52083f(0x12b),_0x7b7d53[_0x52083f(0x15e)]),this[_0x52083f(0x166)]=new _0x2ae2a9(),this[_0x52083f(0x145)]=new _0x2b68cb(_0x555106),this[_0x52083f(0x112)]=new _0x591ac9(_0x555106,_0x53e764),this[_0x52083f(0x112)][_0x52083f(0x157)](_0x52083f(0x159))['to'](this),this[_0x52083f(0x112)][_0x52083f(0x157)](_0x52083f(0x15f))['to'](this),this[_0x52083f(0x115)]=this[_0x52083f(0x162)](),this[_0x52083f(0x115)][_0x52083f(0x157)](_0x52083f(0x12b))['to'](this),this[_0x52083f(0x13b)]=this[_0x52083f(0x134)](),this[_0x52083f(0x13e)]=new _0x553917(),this[_0x52083f(0x13f)]=new _0x29841f(),this[_0x52083f(0x163)]=this[_0x52083f(0x122)]([this[_0x52083f(0x112)],this[_0x52083f(0x112)][_0x52083f(0x117)],this[_0x52083f(0x115)],this[_0x52083f(0x13b)]]),this[_0x52083f(0x165)]=new _0x323f49({'focusables':this[_0x52083f(0x163)],'focusTracker':this[_0x52083f(0x13e)],'keystrokeHandler':this[_0x52083f(0x13f)],'actions':{'focusPrevious':_0x52083f(0x142),'focusNext':_0x52083f(0x120)}}),this[_0x52083f(0x13b)][_0x52083f(0x165)]['on'](_0x52083f(0x138),_0x3c00e2=>{const _0x53b1d5=_0x52083f;this[_0x53b1d5(0x165)][_0x53b1d5(0x168)](),_0x3c00e2[_0x53b1d5(0x14f)]();}),this[_0x52083f(0x13b)][_0x52083f(0x165)]['on'](_0x52083f(0x149),_0x4962ab=>{const _0x2819c9=_0x52083f;this[_0x2819c9(0x165)][_0x2819c9(0x113)](),_0x4962ab[_0x2819c9(0x14f)]();}),this[_0x52083f(0x13b)][_0x52083f(0x141)][_0x52083f(0x119)][_0x52083f(0x157)](_0x52083f(0x15f))['to'](this,_0x52083f(0x128));const _0x1ebff6=this[_0x52083f(0x15c)];this[_0x52083f(0x137)]({'tag':_0x52083f(0x140),'attributes':{'class':['ck',_0x52083f(0x14e),_0x371c78],'tabindex':'-1'},'children':[{'tag':_0x52083f(0x140),'attributes':{'class':['ck',_0x52083f(0x133)]},'children':[{'tag':_0x52083f(0x140),'attributes':{'class':[_0x1ebff6['if'](_0x52083f(0x139),_0x52083f(0x116),_0x12752a=>!_0x12752a)]},'children':[this[_0x52083f(0x145)]]},this[_0x52083f(0x112)],this[_0x52083f(0x115)],this[_0x52083f(0x13b)]]}]});}[_0x3ea8e6(0x155)](){const _0x12c623=_0x3ea8e6;super[_0x12c623(0x155)](),this[_0x12c623(0x13e)][_0x12c623(0x125)](this[_0x12c623(0x112)][_0x12c623(0x135)]),this[_0x12c623(0x13e)][_0x12c623(0x125)](this[_0x12c623(0x112)][_0x12c623(0x117)][_0x12c623(0x135)]),this[_0x12c623(0x13e)][_0x12c623(0x125)](this[_0x12c623(0x115)][_0x12c623(0x135)]),this[_0x12c623(0x13e)][_0x12c623(0x125)](this[_0x12c623(0x13b)][_0x12c623(0x135)]),this[_0x12c623(0x13f)][_0x12c623(0x14b)](this[_0x12c623(0x135)]);}[_0x3ea8e6(0x114)](_0x8c9795=0x1){const _0x154759=_0x3ea8e6;-0x1===_0x8c9795?this[_0x154759(0x165)][_0x154759(0x158)]():this[_0x154759(0x165)][_0x154759(0x136)]();}[_0x3ea8e6(0x151)](){const _0x5735a7=_0x3ea8e6;this[_0x5735a7(0x128)]='',this[_0x5735a7(0x15f)]='',this[_0x5735a7(0x139)]=!0x1,this[_0x5735a7(0x13b)][_0x5735a7(0x151)](),this[_0x5735a7(0x112)][_0x5735a7(0x11f)]=!0x1,this[_0x5735a7(0x115)][_0x5735a7(0x11f)]=!0x1;}[_0x3ea8e6(0x134)](){const _0x19aaee=_0x3ea8e6,_0x39c5ec=this[_0x19aaee(0x13c)],_0x28e5d4=new _0x47a8ca(_0x39c5ec,{'queryView':{'label':_0x249314(_0x39c5ec,_0x19aaee(0x11b)),'creator':_0x99db74,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x249314(_0x39c5ec,_0x19aaee(0x154)),'secondary':_0x249314(_0x39c5ec,_0x19aaee(0x153))}}},'filteredView':this[_0x19aaee(0x131)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x28e5d4[_0x19aaee(0x157)](_0x19aaee(0x11d))['to'](this,_0x19aaee(0x11d),this,_0x19aaee(0x159),(_0x645ed3,_0x3827ce)=>_0x645ed3&&!_0x3827ce),this[_0x19aaee(0x14b)](_0x28e5d4,_0x19aaee(0x164),(_0x20dcbb,_0x5aebab)=>{const _0x3feffe=_0x19aaee;this[_0x3feffe(0x128)]=_0x5aebab;const _0x42515f=_0x13f944(_0x5aebab);this[_0x3feffe(0x152)](_0x3feffe(0x143),_0x42515f),_0x5aebab[_0x3feffe(0x14c)]()&&this[_0x3feffe(0x166)][_0x3feffe(0x125)]({'prompt':_0x42515f},0x0);},{'priority':_0x19aaee(0x12f)}),_0x28e5d4;}[_0x3ea8e6(0x131)](){const _0x1d10c9=_0x3ea8e6,_0x376ae1=new _0x1beac7(this[_0x1d10c9(0x13c)]);return _0x376ae1[_0x1d10c9(0x12a)][_0x1d10c9(0x12e)][_0x1d10c9(0x147)](this[_0x1d10c9(0x166)])['as'](_0x2e9fe0),_0x376ae1['on'](_0x1d10c9(0x11e),()=>{const _0x126e13=_0x1d10c9;this[_0x126e13(0x166)][_0x126e13(0x13a)](),this[_0x126e13(0x13b)][_0x126e13(0x12d)](''),this[_0x126e13(0x13b)][_0x126e13(0x114)]();}),_0x376ae1;}[_0x3ea8e6(0x162)](){const _0x2a1ba3=_0x3ea8e6,_0x5416ba=new _0x162620(this[_0x2a1ba3(0x13c)]);return _0x5416ba[_0x2a1ba3(0x111)][_0x2a1ba3(0x157)](_0x2a1ba3(0x11d))['to'](this,_0x2a1ba3(0x11d),this,_0x2a1ba3(0x159),this,_0x2a1ba3(0x15f),(_0x25c12f,_0x49abf4,_0x4bf472)=>_0x25c12f&&!_0x49abf4&&!!_0x4bf472),_0x5416ba[_0x2a1ba3(0x111)][_0x2a1ba3(0x10f)](_0x2a1ba3(0x15b))['to'](this,_0x2a1ba3(0x160)),_0x5416ba[_0x2a1ba3(0x12c)][_0x2a1ba3(0x157)](_0x2a1ba3(0x11d))['to'](this,_0x2a1ba3(0x11d),this,_0x2a1ba3(0x159),this,_0x2a1ba3(0x15f),(_0x1e372e,_0x38dbcf,_0x1820c5)=>_0x1e372e&&!_0x38dbcf&&!!_0x1820c5),_0x5416ba[_0x2a1ba3(0x12c)][_0x2a1ba3(0x10f)](_0x2a1ba3(0x15b))['to'](this,_0x2a1ba3(0x15a)),_0x5416ba[_0x2a1ba3(0x146)][_0x2a1ba3(0x157)](_0x2a1ba3(0x11d))['to'](this,_0x2a1ba3(0x11d),this,_0x2a1ba3(0x159),(_0x1720c4,_0x1701e5)=>_0x1720c4&&!_0x1701e5),_0x5416ba[_0x2a1ba3(0x146)][_0x2a1ba3(0x10f)](_0x2a1ba3(0x15b))['to'](this,_0x2a1ba3(0x118)),_0x5416ba[_0x2a1ba3(0x13d)][_0x2a1ba3(0x157)](_0x2a1ba3(0x11d))['to'](this,_0x2a1ba3(0x159)),_0x5416ba[_0x2a1ba3(0x13d)][_0x2a1ba3(0x10f)](_0x2a1ba3(0x15b))['to'](this,_0x2a1ba3(0x124)),_0x5416ba;}[_0x3ea8e6(0x132)](){const _0x5267a4=_0x3ea8e6;this[_0x5267a4(0x15f)]='',this[_0x5267a4(0x139)]=!0x1,this[_0x5267a4(0x159)]=!0x0,this[_0x5267a4(0x112)][_0x5267a4(0x11f)]=!0x0,this[_0x5267a4(0x115)][_0x5267a4(0x11f)]=!0x0,this[_0x5267a4(0x112)][_0x5267a4(0x114)]();}[_0x3ea8e6(0x11a)](){const _0x2cc380=_0x3ea8e6,_0x55eecb=this[_0x2cc380(0x13c)];this[_0x2cc380(0x159)]=!0x1,this[_0x2cc380(0x128)]='',this[_0x2cc380(0x13b)][_0x2cc380(0x151)](),this[_0x2cc380(0x15f)]&&(this[_0x2cc380(0x13b)][_0x2cc380(0x141)][_0x2cc380(0x11c)]=_0x249314(_0x55eecb,_0x2cc380(0x126)));}[_0x3ea8e6(0x15d)](_0x1a6988){const _0x5e0f80=_0x3ea8e6,_0x391f95=this[_0x5e0f80(0x13c)];this[_0x5e0f80(0x11a)](),this[_0x5e0f80(0x139)]=!0x0,this[_0x5e0f80(0x145)][_0x5e0f80(0x14d)]=_0x1a6988||_0x249314(_0x391f95,_0x5e0f80(0x127)),this[_0x5e0f80(0x15f)]||(this[_0x5e0f80(0x112)][_0x5e0f80(0x11f)]=!0x1);}}
23
+ const _0x30da18=_0x44c5;(function(_0x2984c7,_0x57c446){const _0x29cb4e=_0x44c5,_0x4cc3be=_0x2984c7();while(!![]){try{const _0x3ccfea=parseInt(_0x29cb4e(0xd1))/0x1*(-parseInt(_0x29cb4e(0xd2))/0x2)+parseInt(_0x29cb4e(0xe3))/0x3+parseInt(_0x29cb4e(0xdc))/0x4*(-parseInt(_0x29cb4e(0xde))/0x5)+parseInt(_0x29cb4e(0xce))/0x6+parseInt(_0x29cb4e(0xd4))/0x7+parseInt(_0x29cb4e(0xff))/0x8*(parseInt(_0x29cb4e(0x102))/0x9)+parseInt(_0x29cb4e(0xfa))/0xa;if(_0x3ccfea===_0x57c446)break;else _0x4cc3be['push'](_0x4cc3be['shift']());}catch(_0x393742){_0x4cc3be['push'](_0x4cc3be['shift']());}}}(_0x23ff,0xd14fb));import{FocusTracker as _0x270e73,KeystrokeHandler as _0x464d75}from'ckeditor5/src/utils.js';import{View as _0x3c8349,FocusCycler as _0x2dc2ae,createLabeledTextarea as _0x2ab628}from'ckeditor5/src/ui.js';import _0x554c2b,{AIFormToolbarViewMainActionLabel as _0x1638b6}from'./aiformtoolbarview.js';import _0x55a0c0 from'./aiformcontentarea.js';import _0x43baca from'./aiformerrorview.js';import _0x4d0bbc from'./aiformpromptview.js';import _0x1bd45e from'./aihistorylistview.js';import _0x460b8f from'./aihistorylistitemview.js';function _0x23ff(){const _0x267135=['focusFirst','trim','4355888qzAuWI','tryAgainEvent','ck-hidden','9YwRbsV','copyButtonView','div','insertButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','toolbar','isEnabled','bindTemplate','listenTo','tab','queryView','items','isProcessing','focusNext','stop','set','forwardCycle','prompt','promptView','_focusables','mainAction','text','handleError','isError','clearHistory','ck-ai-form','submit','contentArea','insertContentBelow','delegate','finishProcessing','label','_createHistoryView','REPLACE','stopButton','stopProcessing','errorView','1367232AtRdhO','locale','createCollection','1233851zfsENd','2FSmVcg','bind','5505542MwssOB','add','focus','AI_ERROR_FAILED','keystrokes','historyGroupView','shift\x20+\x20tab','bindTo','3448gMWPgg','value','3490PQGjvF','reset','backwardCycle','_createToolbar','focusPrevious','2536143eqksEJ','high','startProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','_promptHistory','setTemplate','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','clear','replaceButton','search','render','ck-ai-form-content','focusLast','element','_createPromptView','submitPrompt','fieldView','tryAgainButton','fire','focusCycler','Empty\x20history','replaceContent','focusTracker','2886210xynRxi','execute','isVisible'];_0x23ff=function(){return _0x267135;};return _0x23ff();}function _0x44c5(_0x3081c2,_0x1c558b){const _0x23ffae=_0x23ff();return _0x44c5=function(_0x44c589,_0x142726){_0x44c589=_0x44c589-0xaa;let _0x42d446=_0x23ffae[_0x44c589];return _0x42d446;},_0x44c5(_0x3081c2,_0x1c558b);}import _0x43b6ba from'./prompthistory.js';import{getTranslation as _0x2ea189}from'../../utils/common-translations.js';import{escape as _0x389588}from'lodash-es';export default class x extends _0x3c8349{constructor(_0x87ba7d,_0x48ed4e,_0x4e4b8f=''){const _0x21c1cd=_0x44c5;super(_0x87ba7d),this[_0x21c1cd(0xb8)](_0x21c1cd(0xaf),!0x0),this[_0x21c1cd(0xb8)](_0x21c1cd(0xb5),!0x1),this[_0x21c1cd(0xb8)](_0x21c1cd(0xba),''),this[_0x21c1cd(0xb8)](_0x21c1cd(0xdd),''),this[_0x21c1cd(0xb8)](_0x21c1cd(0xc0),!0x1),this[_0x21c1cd(0xb8)](_0x21c1cd(0xbd),_0x1638b6[_0x21c1cd(0xca)]),this[_0x21c1cd(0xe7)]=new _0x43b6ba(),this[_0x21c1cd(0xcd)]=new _0x43baca(_0x87ba7d),this[_0x21c1cd(0xc4)]=new _0x55a0c0(_0x87ba7d,_0x4e4b8f),this[_0x21c1cd(0xc4)][_0x21c1cd(0xd3)](_0x21c1cd(0xb5))['to'](this),this[_0x21c1cd(0xc4)][_0x21c1cd(0xd3)](_0x21c1cd(0xdd))['to'](this),this[_0x21c1cd(0xae)]=this[_0x21c1cd(0xe1)](),this[_0x21c1cd(0xae)][_0x21c1cd(0xd3)](_0x21c1cd(0xbd))['to'](this),this[_0x21c1cd(0xbb)]=this[_0x21c1cd(0xf1)](),this[_0x21c1cd(0xf9)]=new _0x270e73(),this[_0x21c1cd(0xd8)]=new _0x464d75(),this[_0x21c1cd(0xbc)]=this[_0x21c1cd(0xd0)]([this[_0x21c1cd(0xc4)],this[_0x21c1cd(0xc4)][_0x21c1cd(0xaa)],this[_0x21c1cd(0xae)],this[_0x21c1cd(0xbb)]]),this[_0x21c1cd(0xf6)]=new _0x2dc2ae({'focusables':this[_0x21c1cd(0xbc)],'focusTracker':this[_0x21c1cd(0xf9)],'keystrokeHandler':this[_0x21c1cd(0xd8)],'actions':{'focusPrevious':_0x21c1cd(0xda),'focusNext':_0x21c1cd(0xb2)}}),this[_0x21c1cd(0xbb)][_0x21c1cd(0xf6)]['on'](_0x21c1cd(0xb9),_0x445750=>{const _0x13e13c=_0x21c1cd;this[_0x13e13c(0xf6)][_0x13e13c(0xb6)](),_0x445750[_0x13e13c(0xb7)]();}),this[_0x21c1cd(0xbb)][_0x21c1cd(0xf6)]['on'](_0x21c1cd(0xe0),_0x1639eb=>{const _0x11120f=_0x21c1cd;this[_0x11120f(0xf6)][_0x11120f(0xe2)](),_0x1639eb[_0x11120f(0xb7)]();}),this[_0x21c1cd(0xbb)][_0x21c1cd(0xb3)][_0x21c1cd(0xf3)][_0x21c1cd(0xd3)](_0x21c1cd(0xdd))['to'](this,_0x21c1cd(0xba));const _0x3bcdd4=this[_0x21c1cd(0xb0)];this[_0x21c1cd(0xe8)]({'tag':_0x21c1cd(0xab),'attributes':{'class':['ck',_0x21c1cd(0xc2),_0x48ed4e],'tabindex':'-1'},'children':[{'tag':_0x21c1cd(0xab),'attributes':{'class':['ck',_0x21c1cd(0xee)]},'children':[{'tag':_0x21c1cd(0xab),'attributes':{'class':[_0x3bcdd4['if'](_0x21c1cd(0xc0),_0x21c1cd(0x101),_0x15926f=>!_0x15926f)]},'children':[this[_0x21c1cd(0xcd)]]},this[_0x21c1cd(0xc4)],this[_0x21c1cd(0xae)],this[_0x21c1cd(0xbb)]]}]});}[_0x30da18(0xed)](){const _0x7ac644=_0x30da18;super[_0x7ac644(0xed)](),this[_0x7ac644(0xf9)][_0x7ac644(0xd5)](this[_0x7ac644(0xc4)][_0x7ac644(0xf0)]),this[_0x7ac644(0xf9)][_0x7ac644(0xd5)](this[_0x7ac644(0xc4)][_0x7ac644(0xaa)][_0x7ac644(0xf0)]),this[_0x7ac644(0xf9)][_0x7ac644(0xd5)](this[_0x7ac644(0xae)][_0x7ac644(0xf0)]),this[_0x7ac644(0xf9)][_0x7ac644(0xd5)](this[_0x7ac644(0xbb)][_0x7ac644(0xf0)]),this[_0x7ac644(0xd8)][_0x7ac644(0xb1)](this[_0x7ac644(0xf0)]);}[_0x30da18(0xd6)](_0x1c6e25=0x1){const _0x3b65ef=_0x30da18;-0x1===_0x1c6e25?this[_0x3b65ef(0xf6)][_0x3b65ef(0xef)]():this[_0x3b65ef(0xf6)][_0x3b65ef(0xfd)]();}[_0x30da18(0xdf)](){const _0x575402=_0x30da18;this[_0x575402(0xba)]='',this[_0x575402(0xdd)]='',this[_0x575402(0xc0)]=!0x1,this[_0x575402(0xbb)][_0x575402(0xdf)](),this[_0x575402(0xc4)][_0x575402(0xfc)]=!0x1,this[_0x575402(0xae)][_0x575402(0xfc)]=!0x1;}[_0x30da18(0xf1)](){const _0x376109=_0x30da18,_0x51ad83=this[_0x376109(0xcf)],_0x4618d2=new _0x4d0bbc(_0x51ad83,{'queryView':{'label':_0x2ea189(_0x51ad83,_0x376109(0xe6)),'creator':_0x2ab628,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2ea189(_0x51ad83,_0x376109(0xf7)),'secondary':_0x2ea189(_0x51ad83,_0x376109(0xe9))}}},'filteredView':this[_0x376109(0xc9)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4618d2[_0x376109(0xd3)](_0x376109(0xaf))['to'](this,_0x376109(0xaf),this,_0x376109(0xb5),(_0x2cc18e,_0x49c484)=>_0x2cc18e&&!_0x49c484),this[_0x376109(0xb1)](_0x4618d2,_0x376109(0xc3),(_0x51959c,_0x25fcbe)=>{const _0x4bcbae=_0x376109;this[_0x4bcbae(0xba)]=_0x25fcbe;const _0x234053=_0x389588(_0x25fcbe);this[_0x4bcbae(0xf5)](_0x4bcbae(0xf2),_0x234053),_0x25fcbe[_0x4bcbae(0xfe)]()&&this[_0x4bcbae(0xe7)][_0x4bcbae(0xd5)]({'prompt':_0x234053},0x0);},{'priority':_0x376109(0xe4)}),_0x4618d2;}[_0x30da18(0xc9)](){const _0x35b92f=_0x30da18,_0x24998a=new _0x1bd45e(this[_0x35b92f(0xcf)]);return _0x24998a[_0x35b92f(0xd9)][_0x35b92f(0xb4)][_0x35b92f(0xdb)](this[_0x35b92f(0xe7)])['as'](_0x460b8f),_0x24998a['on'](_0x35b92f(0xc1),()=>{const _0x3cb721=_0x35b92f;this[_0x3cb721(0xe7)][_0x3cb721(0xea)](),this[_0x3cb721(0xbb)][_0x3cb721(0xec)](''),this[_0x3cb721(0xbb)][_0x3cb721(0xd6)]();}),_0x24998a;}[_0x30da18(0xe1)](){const _0x19583d=_0x30da18,_0x24a81c=new _0x554c2b(this[_0x19583d(0xcf)]);return _0x24a81c[_0x19583d(0xeb)][_0x19583d(0xd3)](_0x19583d(0xaf))['to'](this,_0x19583d(0xaf),this,_0x19583d(0xb5),this,_0x19583d(0xdd),(_0x3409ee,_0x475a09,_0x3030c8)=>_0x3409ee&&!_0x475a09&&!!_0x3030c8),_0x24a81c[_0x19583d(0xeb)][_0x19583d(0xc6)](_0x19583d(0xfb))['to'](this,_0x19583d(0xf8)),_0x24a81c[_0x19583d(0xac)][_0x19583d(0xd3)](_0x19583d(0xaf))['to'](this,_0x19583d(0xaf),this,_0x19583d(0xb5),this,_0x19583d(0xdd),(_0x10b730,_0x2e6925,_0x251c8b)=>_0x10b730&&!_0x2e6925&&!!_0x251c8b),_0x24a81c[_0x19583d(0xac)][_0x19583d(0xc6)](_0x19583d(0xfb))['to'](this,_0x19583d(0xc5)),_0x24a81c[_0x19583d(0xf4)][_0x19583d(0xd3)](_0x19583d(0xaf))['to'](this,_0x19583d(0xaf),this,_0x19583d(0xb5),(_0x1f8ca0,_0x1ed61d)=>_0x1f8ca0&&!_0x1ed61d),_0x24a81c[_0x19583d(0xf4)][_0x19583d(0xc6)](_0x19583d(0xfb))['to'](this,_0x19583d(0x100)),_0x24a81c[_0x19583d(0xcb)][_0x19583d(0xd3)](_0x19583d(0xaf))['to'](this,_0x19583d(0xb5)),_0x24a81c[_0x19583d(0xcb)][_0x19583d(0xc6)](_0x19583d(0xfb))['to'](this,_0x19583d(0xcc)),_0x24a81c;}[_0x30da18(0xe5)](){const _0x5d67da=_0x30da18;this[_0x5d67da(0xdd)]='',this[_0x5d67da(0xc0)]=!0x1,this[_0x5d67da(0xb5)]=!0x0,this[_0x5d67da(0xc4)][_0x5d67da(0xfc)]=!0x0,this[_0x5d67da(0xae)][_0x5d67da(0xfc)]=!0x0,this[_0x5d67da(0xc4)][_0x5d67da(0xd6)]();}[_0x30da18(0xc7)](){const _0x4381fd=_0x30da18,_0x4d142e=this[_0x4381fd(0xcf)];this[_0x4381fd(0xb5)]=!0x1,this[_0x4381fd(0xba)]='',this[_0x4381fd(0xbb)][_0x4381fd(0xdf)](),this[_0x4381fd(0xdd)]&&(this[_0x4381fd(0xbb)][_0x4381fd(0xb3)][_0x4381fd(0xc8)]=_0x2ea189(_0x4d142e,_0x4381fd(0xad)));}[_0x30da18(0xbf)](_0x53f032){const _0x4a760b=_0x30da18,_0x30d1c2=this[_0x4a760b(0xcf)];this[_0x4a760b(0xc7)](),this[_0x4a760b(0xc0)]=!0x0,this[_0x4a760b(0xcd)][_0x4a760b(0xbe)]=_0x53f032||_0x2ea189(_0x30d1c2,_0x4a760b(0xd7)),this[_0x4a760b(0xdd)]||(this[_0x4a760b(0xc4)][_0x4a760b(0xfc)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f71(_0x1a26a0,_0x8d0095){const _0x215652=_0x2156();return _0x4f71=function(_0x4f715d,_0x279e21){_0x4f715d=_0x4f715d-0x116;let _0x46a630=_0x215652[_0x4f715d];return _0x46a630;},_0x4f71(_0x1a26a0,_0x8d0095);}function _0x2156(){const _0x2039e6=['children','2116276OwOGBM','prompt','set','193025IiyXFf','1529985XQLTjk','72etQayv','add','817968JiZGQv','locale','3RKsZBS','1480164xqsQJa','execute','fire','3515748zdaXMC','197433wZBcIT'];_0x2156=function(){return _0x2039e6;};return _0x2156();}(function(_0x3670ad,_0x2b9a4f){const _0x30ad2f=_0x4f71,_0x553c85=_0x3670ad();while(!![]){try{const _0x12a076=parseInt(_0x30ad2f(0x11b))/0x1+parseInt(_0x30ad2f(0x11f))/0x2*(parseInt(_0x30ad2f(0x121))/0x3)+-parseInt(_0x30ad2f(0x118))/0x4+-parseInt(_0x30ad2f(0x11c))/0x5+parseInt(_0x30ad2f(0x125))/0x6+-parseInt(_0x30ad2f(0x122))/0x7+-parseInt(_0x30ad2f(0x11d))/0x8*(-parseInt(_0x30ad2f(0x116))/0x9);if(_0x12a076===_0x2b9a4f)break;else _0x553c85['push'](_0x553c85['shift']());}catch(_0x81b667){_0x553c85['push'](_0x553c85['shift']());}}}(_0x2156,0x52bc2));import{ListItemView as _0x46b59d,ButtonView as _0x1549ce}from'ckeditor5/src/ui.js';import _0x4b62f7 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x9bc52b}from'lodash-es';export default class hs extends _0x46b59d{constructor(_0x4653bd){const _0x2ec90f=_0x4f71;super();const _0x19059d=new _0x4b62f7(),_0x52a9e8=new _0x1549ce(this[_0x2ec90f(0x120)],_0x19059d);this[_0x2ec90f(0x117)][_0x2ec90f(0x11e)](_0x52a9e8),_0x52a9e8[_0x2ec90f(0x11a)]({'label':_0x4653bd[_0x2ec90f(0x119)],'withText':!0x0}),_0x52a9e8['on'](_0x2ec90f(0x123),()=>{const _0x5ad740=_0x2ec90f;this[_0x5ad740(0x124)](_0x5ad740(0x123),{'value':_0x9bc52b(_0x4653bd[_0x5ad740(0x119)])});});}}
23
+ (function(_0xd58998,_0x27c94d){const _0x7911ad=_0x4b98,_0x22d5df=_0xd58998();while(!![]){try{const _0x557c33=-parseInt(_0x7911ad(0x1cb))/0x1+parseInt(_0x7911ad(0x1c9))/0x2*(-parseInt(_0x7911ad(0x1d0))/0x3)+-parseInt(_0x7911ad(0x1d4))/0x4*(-parseInt(_0x7911ad(0x1ce))/0x5)+parseInt(_0x7911ad(0x1d2))/0x6+parseInt(_0x7911ad(0x1cf))/0x7+parseInt(_0x7911ad(0x1d8))/0x8*(-parseInt(_0x7911ad(0x1cd))/0x9)+parseInt(_0x7911ad(0x1d6))/0xa*(parseInt(_0x7911ad(0x1cc))/0xb);if(_0x557c33===_0x27c94d)break;else _0x22d5df['push'](_0x22d5df['shift']());}catch(_0x5d7d05){_0x22d5df['push'](_0x22d5df['shift']());}}}(_0x1c92,0xed09c));import{ListItemView as _0xe67e9b,ButtonView as _0x35c158}from'ckeditor5/src/ui.js';function _0x1c92(){const _0x5e5d12=['execute','1683675MjBRne','649eBLTbp','1117917BzGXge','30dopaLF','7385210LGbvLQ','1257108IDhJzW','locale','4457148zeposq','children','153116GFbSfc','fire','261510ioqJFU','prompt','32KtRstl','add','set','2LDjYdS'];_0x1c92=function(){return _0x5e5d12;};return _0x1c92();}import _0x13b96d from'../dropdown/buttonlabelwithhighlightview.js';function _0x4b98(_0x2a5184,_0x41924c){const _0x1c925f=_0x1c92();return _0x4b98=function(_0x4b98c4,_0x106350){_0x4b98c4=_0x4b98c4-0x1c8;let _0x3312c9=_0x1c925f[_0x4b98c4];return _0x3312c9;},_0x4b98(_0x2a5184,_0x41924c);}import{unescape as _0xa5e6a8}from'lodash-es';export default class hs extends _0xe67e9b{constructor(_0x464ac2){const _0x5c7a43=_0x4b98;super();const _0x4ba98a=new _0x13b96d(),_0x2615e7=new _0x35c158(this[_0x5c7a43(0x1d1)],_0x4ba98a);this[_0x5c7a43(0x1d3)][_0x5c7a43(0x1d9)](_0x2615e7),_0x2615e7[_0x5c7a43(0x1c8)]({'label':_0x464ac2[_0x5c7a43(0x1d7)],'withText':!0x0}),_0x2615e7['on'](_0x5c7a43(0x1ca),()=>{const _0x19249c=_0x5c7a43;this[_0x19249c(0x1d5)](_0x19249c(0x1ca),{'value':_0xa5e6a8(_0x464ac2[_0x19249c(0x1d7)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55bded=_0x5967;(function(_0x29156f,_0x45138a){const _0x4ec284=_0x5967,_0x35fb89=_0x29156f();while(!![]){try{const _0x563404=parseInt(_0x4ec284(0x1fb))/0x1*(parseInt(_0x4ec284(0x1fa))/0x2)+parseInt(_0x4ec284(0x1f0))/0x3*(parseInt(_0x4ec284(0x1ff))/0x4)+-parseInt(_0x4ec284(0x1f6))/0x5+-parseInt(_0x4ec284(0x205))/0x6+parseInt(_0x4ec284(0x206))/0x7*(parseInt(_0x4ec284(0x1fd))/0x8)+parseInt(_0x4ec284(0x20a))/0x9+-parseInt(_0x4ec284(0x1f4))/0xa;if(_0x563404===_0x45138a)break;else _0x35fb89['push'](_0x35fb89['shift']());}catch(_0x1d7679){_0x35fb89['push'](_0x35fb89['shift']());}}}(_0x31c1,0x63f08));import{ListView as _0x98ce50,ListItemGroupView as _0x108d80,ButtonView as _0x1c206b}from'ckeditor5/src/ui.js';import{getTranslation as _0x5eb05a}from'../../utils/common-translations.js';export default class rs extends _0x98ce50{constructor(_0x5c8429){const _0x1902f9=_0x5967;super(_0x5c8429),this[_0x1902f9(0x1f1)]=this[_0x1902f9(0x204)](),this[_0x1902f9(0x209)]=new _0x108d80(),this[_0x1902f9(0x209)][_0x1902f9(0x200)][_0x1902f9(0x1fe)](this[_0x1902f9(0x1f1)],0x1),this[_0x1902f9(0x209)][_0x1902f9(0x1f2)]=_0x5eb05a(_0x5c8429,_0x1902f9(0x201)),this[_0x1902f9(0x209)][_0x1902f9(0x207)][_0x1902f9(0x1f9)](_0x1902f9(0x1f8))['to'](this),this[_0x1902f9(0x207)][_0x1902f9(0x1fe)](this[_0x1902f9(0x209)]);}[_0x55bded(0x1f7)](){const _0x385653=_0x55bded;let _0x57b0f7=0x0;for(const _0x402a88 of this[_0x385653(0x207)])_0x57b0f7+=_0x402a88[_0x385653(0x207)][_0x385653(0x202)];return{'resultsCount':_0x57b0f7,'totalItemsCount':_0x57b0f7};}[_0x55bded(0x204)](){const _0x3439a2=_0x55bded,_0x483a9b=this[_0x3439a2(0x1fc)],_0x110b14=new _0x1c206b(this[_0x3439a2(0x1fc)]);return _0x110b14[_0x3439a2(0x203)]({'label':'('+_0x5eb05a(_0x483a9b,_0x3439a2(0x1f5))+')','withText':!0x0}),_0x110b14['on'](_0x3439a2(0x1f8),()=>this[_0x3439a2(0x208)](_0x3439a2(0x1f3))),_0x110b14;}}function _0x5967(_0x263d86,_0x423e70){const _0x31c171=_0x31c1();return _0x5967=function(_0x59676f,_0x45fde9){_0x59676f=_0x59676f-0x1f0;let _0x4d9393=_0x31c171[_0x59676f];return _0x4d9393;},_0x5967(_0x263d86,_0x423e70);}function _0x31c1(){const _0x302a4f=['clearHistoryButton','label','clearHistory','1510NJnzXj','Clear','2600490lFbLOG','filter','execute','delegate','25706gFNMdv','59YfsAYZ','locale','360hLiDFV','add','28QXxLDc','children','Prompt\x20history','length','set','_createClearHistoryButton','3271530QNiXxH','19299KLCaVL','items','fire','historyGroupView','3953358KrtLXs','65658nPKzAI'];_0x31c1=function(){return _0x302a4f;};return _0x31c1();}
23
+ function _0x288c(){const _0x59bf4c=['_createClearHistoryButton','Clear','Prompt\x20history','1584832qwWFsS','1063290jKbQQf','items','historyGroupView','add','clearHistoryButton','5OhdoBJ','execute','children','label','1OGZcHp','7199356ViBAtL','filter','set','7932800JISwkR','fire','delegate','2665557Qrkquh','locale','length','130scxWYU','11402405FSvGSn','2151531WVMMaT','clearHistory'];_0x288c=function(){return _0x59bf4c;};return _0x288c();}const _0x54fa48=_0x2230;(function(_0x5cb0be,_0x36b7a1){const _0x29d323=_0x2230,_0x370f1b=_0x5cb0be();while(!![]){try{const _0x388ad0=parseInt(_0x29d323(0x176))/0x1*(-parseInt(_0x29d323(0x16c))/0x2)+parseInt(_0x29d323(0x17d))/0x3+parseInt(_0x29d323(0x177))/0x4*(-parseInt(_0x29d323(0x172))/0x5)+parseInt(_0x29d323(0x16d))/0x6+-parseInt(_0x29d323(0x181))/0x7+parseInt(_0x29d323(0x17a))/0x8+-parseInt(_0x29d323(0x182))/0x9*(-parseInt(_0x29d323(0x180))/0xa);if(_0x388ad0===_0x36b7a1)break;else _0x370f1b['push'](_0x370f1b['shift']());}catch(_0x5d931c){_0x370f1b['push'](_0x370f1b['shift']());}}}(_0x288c,0xe673b));function _0x2230(_0x548d5c,_0x5b5b28){const _0x288c6a=_0x288c();return _0x2230=function(_0x223057,_0x365c56){_0x223057=_0x223057-0x16c;let _0xc9db0=_0x288c6a[_0x223057];return _0xc9db0;},_0x2230(_0x548d5c,_0x5b5b28);}import{ListView as _0x5465ba,ListItemGroupView as _0x36e710,ButtonView as _0x195a8a}from'ckeditor5/src/ui.js';import{getTranslation as _0xcaf50b}from'../../utils/common-translations.js';export default class rs extends _0x5465ba{constructor(_0x32f661){const _0x50b9f4=_0x2230;super(_0x32f661),this[_0x50b9f4(0x171)]=this[_0x50b9f4(0x184)](),this[_0x50b9f4(0x16f)]=new _0x36e710(),this[_0x50b9f4(0x16f)][_0x50b9f4(0x174)][_0x50b9f4(0x170)](this[_0x50b9f4(0x171)],0x1),this[_0x50b9f4(0x16f)][_0x50b9f4(0x175)]=_0xcaf50b(_0x32f661,_0x50b9f4(0x186)),this[_0x50b9f4(0x16f)][_0x50b9f4(0x16e)][_0x50b9f4(0x17c)](_0x50b9f4(0x173))['to'](this),this[_0x50b9f4(0x16e)][_0x50b9f4(0x170)](this[_0x50b9f4(0x16f)]);}[_0x54fa48(0x178)](){const _0x4ad2f9=_0x54fa48;let _0x3abb44=0x0;for(const _0x3c8b87 of this[_0x4ad2f9(0x16e)])_0x3abb44+=_0x3c8b87[_0x4ad2f9(0x16e)][_0x4ad2f9(0x17f)];return{'resultsCount':_0x3abb44,'totalItemsCount':_0x3abb44};}[_0x54fa48(0x184)](){const _0x1612cd=_0x54fa48,_0x2dcc3c=this[_0x1612cd(0x17e)],_0x4e8810=new _0x195a8a(this[_0x1612cd(0x17e)]);return _0x4e8810[_0x1612cd(0x179)]({'label':'('+_0xcaf50b(_0x2dcc3c,_0x1612cd(0x185))+')','withText':!0x0}),_0x4e8810['on'](_0x1612cd(0x173),()=>this[_0x1612cd(0x17b)](_0x1612cd(0x183))),_0x4e8810;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4e61(_0x2065ed,_0x15f4dc){const _0x3c4b6b=_0x3c4b();return _0x4e61=function(_0x4e616d,_0xd48b00){_0x4e616d=_0x4e616d-0xf3;let _0x20b70c=_0x3c4b6b[_0x4e616d];return _0x20b70c;},_0x4e61(_0x2065ed,_0x15f4dc);}function _0x3c4b(){const _0x4e6487=['add','parse','toLowerCase','15999510sQcgYF','795882ZadWdz','remove','length','4tFztMu','getItem','addMany','_loadFromSessionStorage','setItem','stringify','4ywNqNF','map','156526znUgfk','120zDZZUY','7130690fVTUZP','CKEditor/AIFormView/PromptHistory','6135792tIdHJi','546810ePFcXU','538632jQqgbi','prompt','last','trim','_saveToSessionStorage'];_0x3c4b=function(){return _0x4e6487;};return _0x3c4b();}const _0x548444=_0x4e61;(function(_0x35f2c9,_0x100336){const _0x188380=_0x4e61,_0x1a9fd3=_0x35f2c9();while(!![]){try{const _0x427ac6=-parseInt(_0x188380(0x106))/0x1*(parseInt(_0x188380(0xf4))/0x2)+parseInt(_0x188380(0x103))/0x3*(parseInt(_0x188380(0x10c))/0x4)+-parseInt(_0x188380(0xf9))/0x5+parseInt(_0x188380(0xf8))/0x6+-parseInt(_0x188380(0xf6))/0x7+-parseInt(_0x188380(0xf5))/0x8*(parseInt(_0x188380(0xfa))/0x9)+parseInt(_0x188380(0x102))/0xa;if(_0x427ac6===_0x100336)break;else _0x1a9fd3['push'](_0x1a9fd3['shift']());}catch(_0x5da4af){_0x1a9fd3['push'](_0x1a9fd3['shift']());}}}(_0x3c4b,0x860d1));import{Collection as _0x488686}from'ckeditor5/src/utils.js';const cs=_0x548444(0xf7);export default class os extends _0x488686{constructor(){const _0x25ca61=_0x548444;super(),this[_0x25ca61(0x109)](),this['on'](_0x25ca61(0xff),(_0x2b4da3,_0x25bf20)=>{const _0x5f35ca=_0x25ca61,_0x2f0fd4=Ss(_0x25bf20[_0x5f35ca(0xfb)]);for(const _0x13f05f of this)if(_0x13f05f!=_0x25bf20&&Ss(_0x13f05f[_0x5f35ca(0xfb)])===_0x2f0fd4){this[_0x5f35ca(0x104)](_0x13f05f);break;}this[_0x5f35ca(0x105)]>0x14&&this[_0x5f35ca(0x104)](this[_0x5f35ca(0xfc)]),this[_0x5f35ca(0xfe)]();}),this['on'](_0x25ca61(0x104),()=>{const _0x523fdb=_0x25ca61;this[_0x523fdb(0xfe)]();});}[_0x548444(0x109)](){const _0x4b6b76=_0x548444,_0x4b1711=sessionStorage[_0x4b6b76(0x107)](cs)||'[]';this[_0x4b6b76(0x108)](JSON[_0x4b6b76(0x100)](_0x4b1711));}[_0x548444(0xfe)](){const _0x48df55=_0x548444;sessionStorage[_0x48df55(0x10a)](cs,JSON[_0x48df55(0x10b)](this[_0x48df55(0xf3)](_0x459c12=>_0x459c12)));}}function Ss(_0x31aee7){const _0x512b08=_0x548444;return _0x31aee7[_0x512b08(0x101)]()[_0x512b08(0xfd)]();}
23
+ function _0x4fc6(){const _0x7d39bc=['toLowerCase','setItem','807uaaBVg','956OEcYfx','last','length','stringify','trim','remove','5RdvPFJ','11msKAhq','prompt','add','7JFlJzY','43104dxiGwg','13eVzQLJ','_saveToSessionStorage','219756DSYjPj','457bmujhP','getItem','CKEditor/AIFormView/PromptHistory','addMany','156NPcSxo','_loadFromSessionStorage','1661598ZcHAtz','1348144ZzLqAD','325870gcOUDq','map','parse'];_0x4fc6=function(){return _0x7d39bc;};return _0x4fc6();}const _0xd1b3c0=_0x34a1;function _0x34a1(_0x104569,_0x446dae){const _0x4fc6fa=_0x4fc6();return _0x34a1=function(_0x34a198,_0x4e7779){_0x34a198=_0x34a198-0xc7;let _0x18001c=_0x4fc6fa[_0x34a198];return _0x18001c;},_0x34a1(_0x104569,_0x446dae);}(function(_0x2846d9,_0x14623c){const _0x3286ff=_0x34a1,_0xf8221f=_0x2846d9();while(!![]){try{const _0x50bed2=-parseInt(_0x3286ff(0xce))/0x1*(parseInt(_0x3286ff(0xd2))/0x2)+parseInt(_0x3286ff(0xdb))/0x3*(parseInt(_0x3286ff(0xdc))/0x4)+parseInt(_0x3286ff(0xe2))/0x5*(parseInt(_0x3286ff(0xca))/0x6)+parseInt(_0x3286ff(0xc9))/0x7*(-parseInt(_0x3286ff(0xd5))/0x8)+parseInt(_0x3286ff(0xd4))/0x9+-parseInt(_0x3286ff(0xd6))/0xa*(-parseInt(_0x3286ff(0xe3))/0xb)+parseInt(_0x3286ff(0xcd))/0xc*(parseInt(_0x3286ff(0xcb))/0xd);if(_0x50bed2===_0x14623c)break;else _0xf8221f['push'](_0xf8221f['shift']());}catch(_0x6f31f1){_0xf8221f['push'](_0xf8221f['shift']());}}}(_0x4fc6,0x191b1));import{Collection as _0x38cae5}from'ckeditor5/src/utils.js';const cs=_0xd1b3c0(0xd0);export default class os extends _0x38cae5{constructor(){const _0x5dac8a=_0xd1b3c0;super(),this[_0x5dac8a(0xd3)](),this['on'](_0x5dac8a(0xc8),(_0x5b4ea7,_0x48c6a8)=>{const _0x4c0cb6=_0x5dac8a,_0x2d4db5=Ss(_0x48c6a8[_0x4c0cb6(0xc7)]);for(const _0x4dd711 of this)if(_0x4dd711!=_0x48c6a8&&Ss(_0x4dd711[_0x4c0cb6(0xc7)])===_0x2d4db5){this[_0x4c0cb6(0xe1)](_0x4dd711);break;}this[_0x4c0cb6(0xde)]>0x14&&this[_0x4c0cb6(0xe1)](this[_0x4c0cb6(0xdd)]),this[_0x4c0cb6(0xcc)]();}),this['on'](_0x5dac8a(0xe1),()=>{const _0x28d299=_0x5dac8a;this[_0x28d299(0xcc)]();});}[_0xd1b3c0(0xd3)](){const _0x5d30cf=_0xd1b3c0,_0x347561=sessionStorage[_0x5d30cf(0xcf)](cs)||'[]';this[_0x5d30cf(0xd1)](JSON[_0x5d30cf(0xd8)](_0x347561));}[_0xd1b3c0(0xcc)](){const _0x61714d=_0xd1b3c0;sessionStorage[_0x61714d(0xda)](cs,JSON[_0x61714d(0xdf)](this[_0x61714d(0xd7)](_0x5651b0=>_0x5651b0)));}}function Ss(_0x1435b3){const _0x56a8f2=_0xd1b3c0;return _0x1435b3[_0x56a8f2(0xd9)]()[_0x56a8f2(0xe0)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aaecf=_0x1963;(function(_0x2fb65c,_0x2191ea){const _0x394b78=_0x1963,_0x31a751=_0x2fb65c();while(!![]){try{const _0x2bb13f=parseInt(_0x394b78(0x98))/0x1*(parseInt(_0x394b78(0x97))/0x2)+parseInt(_0x394b78(0x89))/0x3*(-parseInt(_0x394b78(0x86))/0x4)+-parseInt(_0x394b78(0x8c))/0x5*(parseInt(_0x394b78(0x7b))/0x6)+parseInt(_0x394b78(0x87))/0x7+parseInt(_0x394b78(0x8a))/0x8*(parseInt(_0x394b78(0x8d))/0x9)+-parseInt(_0x394b78(0x85))/0xa+parseInt(_0x394b78(0x9e))/0xb*(-parseInt(_0x394b78(0x8b))/0xc);if(_0x2bb13f===_0x2191ea)break;else _0x31a751['push'](_0x31a751['shift']());}catch(_0x55b892){_0x31a751['push'](_0x31a751['shift']());}}}(_0x17d1,0x39e83));import{Command as _0x924aae}from'ckeditor5/src/core.js';import _0x7496c3 from'../aiassistantui.js';export default class j extends _0x924aae{constructor(_0x265d76,_0x30f8ba){const _0x2c9008=_0x1963;super(_0x265d76),this[_0x2c9008(0x8f)]=_0x30f8ba?_0x30f8ba[_0x2c9008(0x92)]((_0xbde40b,_0x562a0a)=>_0xbde40b[_0x2c9008(0x82)](_0x562a0a[_0x2c9008(0x9d)]),new Array()):[],this[_0x2c9008(0x70)](_0x2c9008(0x71),[]),this['on'](_0x2c9008(0x7c),(_0xc4bbd7,_0x35d703,_0x36be31)=>{const _0x1bf5a8=_0x2c9008;this[_0x1bf5a8(0x94)]&&(this[_0x1bf5a8(0x71)]=K(this[_0x1bf5a8(0x8f)],_0x36be31));}),this[_0x2c9008(0x70)](_0x2c9008(0x7f),!0x1),this['on'](_0x2c9008(0x6f),(_0x2625bc,_0x4da3a9,_0x29ff8b)=>{const _0x13e1e3=_0x2c9008;this[_0x13e1e3(0x71)]=_0x29ff8b?K(this[_0x13e1e3(0x8f)],this[_0x13e1e3(0x7f)]):[];});}[_0x1aaecf(0x9c)](){const _0x2943f5=_0x1aaecf,_0x12143b=this[_0x2943f5(0x8e)][_0x2943f5(0x9b)];this[_0x2943f5(0x7f)]=function(_0x2938fe){const _0x402a07=_0x2943f5,_0x24d9af=_0x2938fe[_0x402a07(0x7d)][_0x402a07(0x88)];return _0x24d9af[_0x402a07(0x90)]?0x0!==[..._0x24d9af[_0x402a07(0x9a)]()][_0x402a07(0x72)]&&![..._0x24d9af[_0x402a07(0x9a)]()][0x0][_0x402a07(0x91)]:!!_0x2938fe[_0x402a07(0x80)](_0x24d9af[_0x402a07(0x83)]());}(_0x12143b);const _0x57832c=_0x12143b[_0x2943f5(0x7d)][_0x2943f5(0x88)],_0x1ff23d=this[_0x2943f5(0x8e)][_0x2943f5(0x81)][_0x2943f5(0x99)](_0x2943f5(0x96));for(const _0x5da3fb of _0x57832c[_0x2943f5(0x79)]())for(const _0x25d387 of _0x5da3fb[_0x2943f5(0x78)]())if(_0x25d387['is'](_0x2943f5(0x84))&&_0x1ff23d[_0x2943f5(0x95)](_0x25d387[_0x2943f5(0x73)]))return void(this[_0x2943f5(0x94)]=!0x1);this[_0x2943f5(0x94)]=!0x0;}[_0x1aaecf(0x7a)](_0x25878d='',_0x46c12c='',_0x3310b6=_0x1aaecf(0x75)){const _0x5d17bc=_0x1aaecf;this[_0x5d17bc(0x8e)][_0x5d17bc(0x74)][_0x5d17bc(0x99)](_0x7496c3)[_0x5d17bc(0x76)](_0x25878d,_0x46c12c,_0x3310b6);}}function K(_0x52d95e,_0x5ec151){const _0x1ed44b=_0x1aaecf,_0x5d46a2=new Set();for(const _0x4e5b8f of _0x52d95e)(_0x5ec151||!0x1===_0x4e5b8f[_0x1ed44b(0x77)])&&_0x5d46a2[_0x1ed44b(0x93)](_0x4e5b8f['id']);return Array[_0x1ed44b(0x7e)](_0x5d46a2);}function _0x1963(_0x338429,_0x5f33c6){const _0x17d169=_0x17d1();return _0x1963=function(_0x19630b,_0x4bc68c){_0x19630b=_0x19630b-0x6f;let _0x275a1b=_0x17d169[_0x19630b];return _0x275a1b;},_0x1963(_0x338429,_0x5f33c6);}function _0x17d1(){const _0x2b8c51=['isEnabled','includes','ai.aiAssistant.disabledElements','10514qgDpah','30ZdbBFy','get','getSelectedBlocks','model','refresh','commands','129811jsbkRo','change:isEnabled','set','enabledCommandsIds','length','name','plugins','custom','showUI','requiresContent','getItems','getRanges','execute','24OLwPlm','change:_hasContext','document','from','_hasContext','hasContent','config','concat','getFirstRange','element','701520uteqgM','134452qlvIYB','2558066ORvheC','selection','3IfweRo','56FwvKND','156gFAXKG','126235YBJNCq','92835tAqaMR','editor','_commandDefinitions','isCollapsed','isEmpty','reduce','add'];_0x17d1=function(){return _0x2b8c51;};return _0x17d1();}
23
+ const _0xbd1410=_0x1ebd;function _0x1300(){const _0x1eef41=['concat','getRanges','config','304RNwnmR','5667728gQjkeM','get','5561772bKWKZn','element','from','3505762UqwqDN','enabledCommandsIds','getFirstRange','refresh','document','isEnabled','showUI','isCollapsed','editor','selection','add','1120688AjTSzh','includes','ai.aiAssistant.disabledElements','107086XHUigv','getSelectedBlocks','change:_hasContext','plugins','reduce','_commandDefinitions','custom','name','execute','set','isEmpty','3mrzbkH','requiresContent','commands','7413375mrFZLu','41728370STysEP','getItems','model','9yMKulA','change:isEnabled','_hasContext','hasContent','length'];_0x1300=function(){return _0x1eef41;};return _0x1300();}function _0x1ebd(_0x19cbf8,_0x4f4bbe){const _0x130062=_0x1300();return _0x1ebd=function(_0x1ebdfb,_0x54c344){_0x1ebdfb=_0x1ebdfb-0x6f;let _0x20d384=_0x130062[_0x1ebdfb];return _0x20d384;},_0x1ebd(_0x19cbf8,_0x4f4bbe);}(function(_0x4782a8,_0x18f793){const _0x30f898=_0x1ebd,_0x4f0349=_0x4782a8();while(!![]){try{const _0x9ad458=-parseInt(_0x30f898(0x98))/0x1+parseInt(_0x30f898(0x8d))/0x2*(-parseInt(_0x30f898(0x78))/0x3)+parseInt(_0x30f898(0x88))/0x4+-parseInt(_0x30f898(0x7b))/0x5+-parseInt(_0x30f898(0x8a))/0x6+-parseInt(_0x30f898(0x9b))/0x7*(-parseInt(_0x30f898(0x87))/0x8)+parseInt(_0x30f898(0x7f))/0x9*(parseInt(_0x30f898(0x7c))/0xa);if(_0x9ad458===_0x18f793)break;else _0x4f0349['push'](_0x4f0349['shift']());}catch(_0xe369a8){_0x4f0349['push'](_0x4f0349['shift']());}}}(_0x1300,0xd8c4f));import{Command as _0x2cca7f}from'ckeditor5/src/core.js';import _0xd520d2 from'../aiassistantui.js';export default class j extends _0x2cca7f{constructor(_0x263db7,_0x4ab0a0){const _0x3581f6=_0x1ebd;super(_0x263db7),this[_0x3581f6(0x72)]=_0x4ab0a0?_0x4ab0a0[_0x3581f6(0x71)]((_0x2ee8fd,_0xd7332a)=>_0x2ee8fd[_0x3581f6(0x84)](_0xd7332a[_0x3581f6(0x7a)]),new Array()):[],this[_0x3581f6(0x76)](_0x3581f6(0x8e),[]),this['on'](_0x3581f6(0x6f),(_0x325711,_0x1013ae,_0xbc6cef)=>{const _0x5344c8=_0x3581f6;this[_0x5344c8(0x92)]&&(this[_0x5344c8(0x8e)]=K(this[_0x5344c8(0x72)],_0xbc6cef));}),this[_0x3581f6(0x76)](_0x3581f6(0x81),!0x1),this['on'](_0x3581f6(0x80),(_0x11250d,_0x271a85,_0x59b327)=>{const _0x1f2946=_0x3581f6;this[_0x1f2946(0x8e)]=_0x59b327?K(this[_0x1f2946(0x72)],this[_0x1f2946(0x81)]):[];});}[_0xbd1410(0x90)](){const _0x3fe973=_0xbd1410,_0x15fd30=this[_0x3fe973(0x95)][_0x3fe973(0x7e)];this[_0x3fe973(0x81)]=function(_0x37eed8){const _0x2a0d1a=_0x3fe973,_0x3a14f5=_0x37eed8[_0x2a0d1a(0x91)][_0x2a0d1a(0x96)];return _0x3a14f5[_0x2a0d1a(0x94)]?0x0!==[..._0x3a14f5[_0x2a0d1a(0x9c)]()][_0x2a0d1a(0x83)]&&![..._0x3a14f5[_0x2a0d1a(0x9c)]()][0x0][_0x2a0d1a(0x77)]:!!_0x37eed8[_0x2a0d1a(0x82)](_0x3a14f5[_0x2a0d1a(0x8f)]());}(_0x15fd30);const _0x26aedc=_0x15fd30[_0x3fe973(0x91)][_0x3fe973(0x96)],_0x39ce0d=this[_0x3fe973(0x95)][_0x3fe973(0x86)][_0x3fe973(0x89)](_0x3fe973(0x9a));for(const _0x1f19e8 of _0x26aedc[_0x3fe973(0x85)]())for(const _0x43e06d of _0x1f19e8[_0x3fe973(0x7d)]())if(_0x43e06d['is'](_0x3fe973(0x8b))&&_0x39ce0d[_0x3fe973(0x99)](_0x43e06d[_0x3fe973(0x74)]))return void(this[_0x3fe973(0x92)]=!0x1);this[_0x3fe973(0x92)]=!0x0;}[_0xbd1410(0x75)](_0x114e29='',_0x543f4c='',_0x134413=_0xbd1410(0x73)){const _0x15fa67=_0xbd1410;this[_0x15fa67(0x95)][_0x15fa67(0x70)][_0x15fa67(0x89)](_0xd520d2)[_0x15fa67(0x93)](_0x114e29,_0x543f4c,_0x134413);}}function K(_0x18afb8,_0x34ebb6){const _0x1e70f3=_0xbd1410,_0x15a7e0=new Set();for(const _0x241e09 of _0x18afb8)(_0x34ebb6||!0x1===_0x241e09[_0x1e70f3(0x79)])&&_0x15a7e0[_0x1e70f3(0x97)](_0x241e09['id']);return Array[_0x1e70f3(0x8c)](_0x15a7e0);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5487b1,_0x5bb6a6,_0x2c3e17){const t=_0x5487b1['t'];switch(_0x5bb6a6){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',_0x2c3e17);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',_0x2c3e17);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',_0x2c3e17);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2c3e17);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'},_0x2c3e17);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 _0x5bb6a6;}}
23
+ export function getTranslation(_0x368aad,_0x587a6f,_0x4070e8){const t=_0x368aad['t'];switch(_0x587a6f){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',_0x4070e8);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',_0x4070e8);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',_0x4070e8);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4070e8);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'},_0x4070e8);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 _0x587a6f;}}