@ckeditor/ckeditor5-ai 0.0.0-nightly-20240628.0 → 0.0.0-nightly-20240630.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 +6 -6
  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 _0x78ee(_0x422c85,_0x1342d5){var _0x22226b=_0x2222();return _0x78ee=function(_0x78ee40,_0x5d3823){_0x78ee40=_0x78ee40-0x188;var _0x336cee=_0x22226b[_0x78ee40];return _0x336cee;},_0x78ee(_0x422c85,_0x1342d5);}(function(_0xb5bee7,_0x324e64){var _0x2610bc=_0x78ee,_0x4366fd=_0xb5bee7();while(!![]){try{var _0x3168d2=parseInt(_0x2610bc(0x190))/0x1*(parseInt(_0x2610bc(0x18c))/0x2)+parseInt(_0x2610bc(0x18d))/0x3+-parseInt(_0x2610bc(0x18e))/0x4*(parseInt(_0x2610bc(0x191))/0x5)+parseInt(_0x2610bc(0x189))/0x6+-parseInt(_0x2610bc(0x18f))/0x7+-parseInt(_0x2610bc(0x18b))/0x8*(-parseInt(_0x2610bc(0x18a))/0x9)+parseInt(_0x2610bc(0x188))/0xa*(parseInt(_0x2610bc(0x192))/0xb);if(_0x3168d2===_0x324e64)break;else _0x4366fd['push'](_0x4366fd['shift']());}catch(_0x5e8365){_0x4366fd['push'](_0x4366fd['shift']());}}}(_0x2222,0xa5f97));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x2222(){var _0x3f6364=['1459746tOZUHI','4iUoGeu','9024743aYlLzj','1757wfSDOe','2538945MUQNHs','3276823kDXMkq','20nKbarV','4093734jSQivj','8199PMkkrL','5128CJlJwW','146CvQlzU'];_0x2222=function(){return _0x3f6364;};return _0x2222();}import'./augmentation.js';
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';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20a2f8=_0x2156;(function(_0x33241e,_0xd39f32){const _0x114c63=_0x2156,_0xee00ca=_0x33241e();while(!![]){try{const _0x459511=parseInt(_0x114c63(0x16c))/0x1*(parseInt(_0x114c63(0x118))/0x2)+-parseInt(_0x114c63(0x116))/0x3*(-parseInt(_0x114c63(0x148))/0x4)+parseInt(_0x114c63(0x154))/0x5*(parseInt(_0x114c63(0x165))/0x6)+parseInt(_0x114c63(0x122))/0x7*(-parseInt(_0x114c63(0x113))/0x8)+-parseInt(_0x114c63(0x14b))/0x9+-parseInt(_0x114c63(0x117))/0xa+parseInt(_0x114c63(0x120))/0xb*(parseInt(_0x114c63(0x14a))/0xc);if(_0x459511===_0xd39f32)break;else _0xee00ca['push'](_0xee00ca['shift']());}catch(_0xa4667b){_0xee00ca['push'](_0xee00ca['shift']());}}}(_0x301c,0x9883b));import{ObservableMixin as _0x19f527}from'ckeditor5/src/utils.js';function _0x2156(_0x2ac8a2,_0x525ff1){const _0x301c66=_0x301c();return _0x2156=function(_0x215603,_0x2af39f){_0x215603=_0x215603-0x10f;let _0x564ed8=_0x301c66[_0x215603];return _0x564ed8;},_0x2156(_0x2ac8a2,_0x525ff1);}import{AIRequestError as _0x2f7fc2}from'../adapters/aiadapter.js';import{Matcher as _0x442042,UpcastWriter as _0x6d5196}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x301c(){const _0x291883=['push','_sanitizationContainer','previousContext','5838128fDkDLs','handleError','previousActionId','25095ADdxfM','4947200sNaBUn','6MaFCHl','initialContext','div','render','submitPrompt','htmlProcessor','text/html','```html','17495731cDlByw','destroy','7OdCZxK','document','finishProcessing','name','currentContext','view','isProcessing','_parseAndNormalizeContent','<h1></h1>','substring','previousQuery','then','abort','custom','editor','length','previousLabel','viewToDom','reverse','makeRequest','```','toView','catch','_sanitizeHTML','stringify','_handleQuery','set','innerHTML','prompt','domConverter','rename','startProcessing','finally','data','serializeToString','_stripMarkdownSyntax','childNodes','once','124VsxNJX','parseFromString','12BeptOK','10623204nAhPib','set:currentContext','updateView','nodeType','from','toModel','tryAgainEvent','_xmlSerializer','listenTo','601690zaKQYX','processor','body','querySelector','_domParser','mainAction','reset','endsWith','editing','exec','value','element','_isH1TagSupportEnabled','_normalizeResponseHeadings','startsWith','setContentOf','textAdapter','18xoDmAr','ELEMENT_NODE','match','stopProcessing','isRendered','trim','currentResponse','272897nqgcTL','createElement','stopListening','message','remove'];_0x301c=function(){return _0x291883;};return _0x301c();}export default class k extends/* #__PURE__ -- @preserve */
24
- _0x19f527(){constructor(_0x54e0ae,_0x5b3832,_0x37fd85){const _0x542c7d=_0x2156;super(),this[_0x542c7d(0x130)]=_0x54e0ae,this[_0x542c7d(0x164)]=_0x5b3832,this[_0x542c7d(0x111)]=document[_0x542c7d(0x16d)](_0x542c7d(0x11a)),this[_0x542c7d(0x158)]=new DOMParser(),this[_0x542c7d(0x152)]=new XMLSerializer(),this[_0x542c7d(0x127)]=_0x37fd85,this[_0x542c7d(0x13c)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x542c7d(0x14c),(_0x5a9d92,_0x1da97e,_0x1a25cc)=>{const _0x2e0cb3=_0x542c7d;this[_0x2e0cb3(0x127)][_0x2e0cb3(0x15e)]=this[_0x2e0cb3(0x139)](_0x1a25cc);}),this[_0x542c7d(0x153)](this[_0x542c7d(0x127)],_0x542c7d(0x11c),(_0x516ce2,_0x30d3c6)=>{const _0x18f411=_0x542c7d,_0x216706=this[_0x18f411(0x126)]||this[_0x18f411(0x119)];this[_0x18f411(0x13b)](_0x30d3c6,_0x216706,_0x18f411(0x12f));}),this[_0x542c7d(0x153)](this[_0x542c7d(0x127)],_0x542c7d(0x151),()=>{const _0x379317=_0x542c7d;this[_0x379317(0x127)][_0x379317(0x13e)]=this[_0x379317(0x132)],this[_0x379317(0x13b)](this[_0x379317(0x12c)],this[_0x379317(0x112)],this[_0x379317(0x115)],this[_0x379317(0x132)]);}),this[_0x542c7d(0x153)](this[_0x542c7d(0x127)],_0x542c7d(0x168),()=>{const _0x1c220e=_0x542c7d;this[_0x1c220e(0x168)]();});}[_0x20a2f8(0x121)](){const _0x36700b=_0x20a2f8;this[_0x36700b(0x16e)]();}async[_0x20a2f8(0x14d)]({actionId:_0x46631b,query:_0xf2640b,htmlContent:_0x1a3b87,label:_0x353136,mainActionLabel:_0x4d18ae}){const _0xf2eb57=_0x20a2f8;this[_0xf2eb57(0x127)][_0xf2eb57(0x13e)]=_0x353136,this[_0xf2eb57(0x127)][_0xf2eb57(0x159)]=_0x4d18ae,this[_0xf2eb57(0x119)]=_0x1a3b87,_0xf2640b&&(this[_0xf2eb57(0x127)][_0xf2eb57(0x169)]?this[_0xf2eb57(0x13b)](_0xf2640b,_0x1a3b87,_0x46631b,_0x353136):this[_0xf2eb57(0x127)][_0xf2eb57(0x147)](_0xf2eb57(0x11b),()=>{const _0x167911=_0xf2eb57;this[_0x167911(0x13b)](_0xf2640b,_0x1a3b87,_0x46631b,_0x353136);}));}[_0x20a2f8(0x168)](){const _0x43869f=_0x20a2f8;this[_0x43869f(0x128)]&&(this[_0x43869f(0x128)]=!0x1,this[_0x43869f(0x127)][_0x43869f(0x124)](),this[_0x43869f(0x164)][_0x43869f(0x12e)]());}[_0x20a2f8(0x15a)](){const _0x578649=_0x20a2f8;this[_0x578649(0x119)]='',this[_0x578649(0x126)]='',this[_0x578649(0x16b)]='',this[_0x578649(0x112)]='',this[_0x578649(0x12c)]='',this[_0x578649(0x132)]='',this[_0x578649(0x115)]=void 0x0,this[_0x578649(0x127)][_0x578649(0x15a)](),this[_0x578649(0x168)]();}async[_0x20a2f8(0x13b)](_0x4a5d18,_0x4754e6,_0x4df0d0,_0x4f1b8a){const _0x3cc705=_0x20a2f8;return this[_0x3cc705(0x128)]=!0x0,this[_0x3cc705(0x127)][_0x3cc705(0x141)](),this[_0x3cc705(0x112)]=_0x4754e6,this[_0x3cc705(0x12c)]=_0x4a5d18,this[_0x3cc705(0x132)]=_0x4f1b8a||_0x4a5d18,this[_0x3cc705(0x115)]=_0x4df0d0,new Promise(_0x1b9655=>{const _0x27f13e=_0x3cc705;this[_0x27f13e(0x164)][_0x27f13e(0x135)]({'query':_0x4a5d18,'context':_0x4754e6,'onData':_0x21369d=>{const _0xe1f083=_0x27f13e;this[_0xe1f083(0x16b)]=_0x21369d,this[_0xe1f083(0x126)]=this[_0xe1f083(0x129)](this[_0xe1f083(0x16b)]);},'actionId':_0x4df0d0})[_0x27f13e(0x12d)](()=>{const _0x5232a7=_0x27f13e;!this[_0x5232a7(0x126)]&&this[_0x5232a7(0x16b)]&&(this[_0x5232a7(0x126)]=this[_0x5232a7(0x129)](this[_0x5232a7(0x16b)],!0x0));})[_0x27f13e(0x138)](_0x265056=>{const _0xce632a=_0x27f13e;_0x265056 instanceof _0x2f7fc2?this[_0xce632a(0x127)][_0xce632a(0x114)](_0x265056[_0xce632a(0x16f)]):this[_0xce632a(0x127)][_0xce632a(0x114)](),_0x1b9655();})[_0x27f13e(0x142)](()=>{const _0x2067fd=_0x27f13e;this[_0x2067fd(0x168)](),_0x1b9655();});});}[_0x20a2f8(0x129)](_0x2abb,_0x162791=!0x1){const _0x3b051e=_0x20a2f8,_0x1de40c=X[_0x3b051e(0x15d)](_0x2abb);_0x2abb=_0x1de40c?_0x2abb[_0x3b051e(0x12b)](_0x1de40c[0x1][_0x3b051e(0x131)]):_0x2abb[_0x3b051e(0x131)]<0x64&&!_0x162791?'':this[_0x3b051e(0x145)](_0x2abb);const _0x57cb35=this[_0x3b051e(0x158)][_0x3b051e(0x149)](_0x2abb,_0x3b051e(0x11e));if(_0x1de40c){const _0x3bbe6a=Array[_0x3b051e(0x14f)](_0x57cb35[_0x3b051e(0x156)][_0x3b051e(0x146)]);_0x3bbe6a[_0x3b051e(0x134)]();for(const _0x2c3820 of _0x3bbe6a){if(_0x2c3820[_0x3b051e(0x14e)]==Node[_0x3b051e(0x166)])break;_0x2c3820[_0x3b051e(0x10f)]();}}const _0x3ff0d2=this[_0x3b051e(0x130)][_0x3b051e(0x143)][_0x3b051e(0x155)][_0x3b051e(0x137)](this[_0x3b051e(0x152)][_0x3b051e(0x144)](_0x57cb35[_0x3b051e(0x156)]));return this[_0x3b051e(0x160)]()||this[_0x3b051e(0x161)](_0x3ff0d2),this[_0x3b051e(0x130)][_0x3b051e(0x143)][_0x3b051e(0x13a)](this[_0x3b051e(0x130)][_0x3b051e(0x143)][_0x3b051e(0x150)](_0x3ff0d2));}[_0x20a2f8(0x161)](_0x189cf2){const _0x10718f=_0x20a2f8,_0xffb877=new _0x6d5196(this[_0x10718f(0x130)][_0x10718f(0x15c)][_0x10718f(0x127)][_0x10718f(0x123)]),_0x4a4df2=new _0x442042({'name':/^h[1-5]$/}),_0x587441=[];let _0x38402f=!0x1;for(const _0x32a53f of _0x189cf2)_0x32a53f['is'](_0x10718f(0x15f))&&_0x4a4df2[_0x10718f(0x167)](_0x32a53f)&&(_0x587441[_0x10718f(0x110)](_0x32a53f),'h1'==_0x32a53f[_0x10718f(0x125)]&&(_0x38402f=!0x0));if(_0x38402f){for(const _0x1e7103 of _0x587441)_0xffb877[_0x10718f(0x140)]('h'+(parseInt(_0x1e7103[_0x10718f(0x125)][0x1])+0x1),_0x1e7103);}}[_0x20a2f8(0x160)](){const _0x3d892a=_0x20a2f8,{data:_0x50f30f,editing:_0x4b693c}=this[_0x3d892a(0x130)],_0x8e1f3f=_0x50f30f[_0x3d892a(0x11d)][_0x3d892a(0x137)](_0x3d892a(0x12a)),_0x27f09d=_0x50f30f[_0x3d892a(0x137)](_0x50f30f[_0x3d892a(0x150)](_0x8e1f3f));return!!_0x4b693c[_0x3d892a(0x127)][_0x3d892a(0x13f)][_0x3d892a(0x133)](_0x27f09d)[_0x3d892a(0x157)]('h1');}[_0x20a2f8(0x139)](_0x5c95da){const _0x4248dc=_0x20a2f8;return this[_0x4248dc(0x130)][_0x4248dc(0x15c)][_0x4248dc(0x127)][_0x4248dc(0x13f)][_0x4248dc(0x163)](this[_0x4248dc(0x111)],_0x5c95da),this[_0x4248dc(0x111)][_0x4248dc(0x13d)];}[_0x20a2f8(0x145)](_0x49fb99){const _0x109378=_0x20a2f8,_0x3c59c0=_0x49fb99[_0x109378(0x16a)]();return _0x3c59c0[_0x109378(0x162)](_0x109378(0x11f))?_0x3c59c0[_0x109378(0x15b)](_0x109378(0x136))?_0x3c59c0[_0x109378(0x12b)](0x7,_0x3c59c0[_0x109378(0x131)]-0x3):_0x3c59c0[_0x109378(0x12b)](0x7):_0x49fb99;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3682(_0x309105,_0x4d26d2){const _0x585868=_0x5858();return _0x3682=function(_0x36827d,_0x56c571){_0x36827d=_0x36827d-0x7d;let _0x3f3fa2=_0x585868[_0x36827d];return _0x3f3fa2;},_0x3682(_0x309105,_0x4d26d2);}const _0xe558ed=_0x3682;(function(_0x2f6f7a,_0x56e354){const _0x6f2abe=_0x3682,_0x4e374c=_0x2f6f7a();while(!![]){try{const _0x552b26=parseInt(_0x6f2abe(0x9b))/0x1*(parseInt(_0x6f2abe(0x91))/0x2)+parseInt(_0x6f2abe(0x8e))/0x3*(parseInt(_0x6f2abe(0x89))/0x4)+-parseInt(_0x6f2abe(0x7f))/0x5*(parseInt(_0x6f2abe(0x85))/0x6)+parseInt(_0x6f2abe(0x99))/0x7*(parseInt(_0x6f2abe(0x93))/0x8)+-parseInt(_0x6f2abe(0x97))/0x9+-parseInt(_0x6f2abe(0x92))/0xa*(parseInt(_0x6f2abe(0x88))/0xb)+-parseInt(_0x6f2abe(0x94))/0xc*(-parseInt(_0x6f2abe(0x95))/0xd);if(_0x552b26===_0x56e354)break;else _0x4e374c['push'](_0x4e374c['shift']());}catch(_0x329225){_0x4e374c['push'](_0x4e374c['shift']());}}}(_0x5858,0x31f37));import{ListView as _0x4b36e4,ListItemGroupView as _0x180f80}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x2e53fe}from'../../aiassistantui.js';export default class U extends _0x4b36e4{constructor(_0x2f3703){const _0xb03839=_0x3682;super(_0x2f3703),this[_0xb03839(0x80)]=_0xb03839(0x90),this[_0xb03839(0x81)](_0xb03839(0x98),[]),this['on'](_0xb03839(0x9a),()=>{const _0x881577=_0xb03839;for(const _0x34b467 of this[_0x881577(0x82)])if(_0x34b467 instanceof _0x180f80){for(const _0x41d00 of _0x34b467[_0x881577(0x82)])if(_0x41d00 instanceof _0x2e53fe){const _0x548c37=_0x41d00[_0x881577(0x8f)][_0x881577(0x87)](0x0);this[_0x881577(0x98)][_0x881577(0x8b)](_0x41d00[_0x881577(0x8d)]['id'])?_0x548c37[_0x881577(0x7d)]=!0x0:_0x548c37[_0x881577(0x7d)]=!0x1;}}});}[_0xe558ed(0x8c)](_0x30d260){const _0x4b0337=_0xe558ed;let _0x465e03=0x0,_0x74855=0x0;for(const _0x6d418f of this[_0x4b0337(0x82)]){const _0x395b91=_0x6d418f,_0x22fb74=_0x395b91[_0x4b0337(0x82)],_0x3c480a=_0x30d260&&!!_0x395b91[_0x4b0337(0x83)][_0x4b0337(0x8a)](_0x30d260);_0x395b91[_0x4b0337(0x84)][_0x4b0337(0x9c)](_0x3c480a?_0x30d260:null);for(const _0x336955 of _0x22fb74){const _0x4d321c=_0x336955[_0x4b0337(0x8f)][_0x4b0337(0x96)],_0x191436=_0x4d321c[_0x4b0337(0x84)];if(_0x30d260){const _0x1c0858=!!_0x4d321c[_0x4b0337(0x83)][_0x4b0337(0x8a)](_0x30d260);_0x191436[_0x4b0337(0x9c)](_0x1c0858?_0x30d260:null),_0x336955[_0x4b0337(0x7e)]=_0x3c480a||_0x1c0858;}else _0x336955[_0x4b0337(0x7e)]=!0x0,_0x191436[_0x4b0337(0x9c)](null);}const _0x16169d=_0x22fb74[_0x4b0337(0x8c)](_0x5a72f5=>_0x5a72f5[_0x4b0337(0x7e)])[_0x4b0337(0x86)];_0x465e03+=_0x395b91[_0x4b0337(0x82)][_0x4b0337(0x86)],_0x74855+=_0x3c480a?_0x395b91[_0x4b0337(0x82)][_0x4b0337(0x86)]:_0x16169d,_0x395b91[_0x4b0337(0x7e)]=_0x3c480a||!!_0x16169d;}return{'resultsCount':_0x74855,'totalItemsCount':_0x465e03};}}function _0x5858(){const _0x4d1467=['1903170ScROLg','length','get','11uEpqvP','10068EmGClU','match','includes','filter','commandDefinition','351dpBdmw','children','listbox','2bOXXvp','2843110bMIMBO','272xUzHoR','12bTQeNV','1078779xioJWv','first','1595052rSklws','enabledCommandsIds','69762dSJiiI','change:enabledCommandsIds','267017pOSBQB','highlightText','isEnabled','isVisible','5PBbCIW','role','set','items','label','labelView'];_0x5858=function(){return _0x4d1467;};return _0x5858();}
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};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1739(_0x53d572,_0x16c7d1){const _0x22307e=_0x2230();return _0x1739=function(_0x17392b,_0x228741){_0x17392b=_0x17392b-0x177;let _0x1504e4=_0x22307e[_0x17392b];return _0x1504e4;},_0x1739(_0x53d572,_0x16c7d1);}(function(_0x244527,_0x18de33){const _0xc96e84=_0x1739,_0x235312=_0x244527();while(!![]){try{const _0x149f35=parseInt(_0xc96e84(0x180))/0x1*(-parseInt(_0xc96e84(0x17d))/0x2)+parseInt(_0xc96e84(0x184))/0x3*(-parseInt(_0xc96e84(0x17e))/0x4)+-parseInt(_0xc96e84(0x177))/0x5+parseInt(_0xc96e84(0x17f))/0x6+parseInt(_0xc96e84(0x17c))/0x7+-parseInt(_0xc96e84(0x178))/0x8+parseInt(_0xc96e84(0x179))/0x9*(parseInt(_0xc96e84(0x181))/0xa);if(_0x149f35===_0x18de33)break;else _0x235312['push'](_0x235312['shift']());}catch(_0x26c041){_0x235312['push'](_0x235312['shift']());}}}(_0x2230,0xe7f06));function _0x2230(){const _0xd3efbd=['4582560zxTfUB','8638816ixyIrD','614169pRMcRE','ck-button__label','extendTemplate','1329209vXmyDF','644kTjHbF','32CfgnsU','11046240rCLfuf','292pIfsTv','190BSURod','bindTemplate','style','107661FFPKsy','set'];_0x2230=function(){return _0xd3efbd;};return _0x2230();}import{HighlightedTextView as _0x250eaf}from'ckeditor5/src/ui.js';export default class N extends _0x250eaf{constructor(){const _0x1277c6=_0x1739;super(),this[_0x1277c6(0x185)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x23d71a=this[_0x1277c6(0x182)];this[_0x1277c6(0x17b)]({'attributes':{'class':[_0x1277c6(0x17a)],'style':_0x23d71a['to'](_0x1277c6(0x183)),'id':_0x23d71a['to']('id')}});}}
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')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x37b57e,_0xe5ef6){const _0x520fe7=_0x5482,_0x39a316=_0x37b57e();while(!![]){try{const _0x5d2d33=-parseInt(_0x520fe7(0xe9))/0x1+-parseInt(_0x520fe7(0xf6))/0x2+-parseInt(_0x520fe7(0xe7))/0x3+parseInt(_0x520fe7(0xe8))/0x4*(parseInt(_0x520fe7(0xea))/0x5)+-parseInt(_0x520fe7(0xf2))/0x6*(-parseInt(_0x520fe7(0xed))/0x7)+-parseInt(_0x520fe7(0xf5))/0x8*(parseInt(_0x520fe7(0xef))/0x9)+-parseInt(_0x520fe7(0xee))/0xa*(-parseInt(_0x520fe7(0xf4))/0xb);if(_0x5d2d33===_0xe5ef6)break;else _0x39a316['push'](_0x39a316['shift']());}catch(_0x16ce89){_0x39a316['push'](_0x39a316['shift']());}}}(_0x2bdb,0xa6302));function _0x5482(_0x532b04,_0x34c437){const _0x2bdb17=_0x2bdb();return _0x5482=function(_0x548227,_0x35fd69){_0x548227=_0x548227-0xe7;let _0x462fdc=_0x2bdb17[_0x548227];return _0x462fdc;},_0x5482(_0x532b04,_0x34c437);}import{HighlightedTextView as _0x55778a}from'ckeditor5/src/ui.js';import{uid as _0xa412cc}from'ckeditor5/src/utils.js';function _0x2bdb(){const _0x55c9e7=['ck-label','3193068YMWyTV','bindTemplate','4598mJBnbW','1424aQfVQL','1947166aPHTWn','set','3018555pesIpD','41732MmZHgi','476171aVZekr','335BhgEbz','for','ck-editor__label_','14qtORly','62330IaIUJF','62298svKZra','extendTemplate'];_0x2bdb=function(){return _0x55c9e7;};return _0x2bdb();}export default class S extends _0x55778a{constructor(){const _0x34fdbe=_0x5482;super(),this[_0x34fdbe(0xf7)](_0x34fdbe(0xeb),void 0x0);const _0x264617=this[_0x34fdbe(0xf3)];this['id']=_0x34fdbe(0xec)+_0xa412cc(),this[_0x34fdbe(0xf0)]({'attributes':{'class':['ck',_0x34fdbe(0xf1)],'id':this['id'],'for':_0x264617['to'](_0x34fdbe(0xeb))}});}}
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))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x575d90=_0x2666;(function(_0x2e68c7,_0x23e9aa){const _0x3e42ab=_0x2666,_0x5cf177=_0x2e68c7();while(!![]){try{const _0x190405=parseInt(_0x3e42ab(0xf0))/0x1+-parseInt(_0x3e42ab(0xb0))/0x2*(-parseInt(_0x3e42ab(0xce))/0x3)+-parseInt(_0x3e42ab(0xb1))/0x4+-parseInt(_0x3e42ab(0xc8))/0x5*(parseInt(_0x3e42ab(0xaf))/0x6)+parseInt(_0x3e42ab(0xd6))/0x7+parseInt(_0x3e42ab(0xe3))/0x8*(parseInt(_0x3e42ab(0xd1))/0x9)+-parseInt(_0x3e42ab(0xe6))/0xa;if(_0x190405===_0x23e9aa)break;else _0x5cf177['push'](_0x5cf177['shift']());}catch(_0x1e1100){_0x5cf177['push'](_0x5cf177['shift']());}}}(_0x5a5a,0xf1aef));import{global as _0x9880f8}from'ckeditor5/src/utils.js';import{View as _0x173934,ButtonView as _0x5b72c7,SpinnerView as _0x2ec1b9}from'ckeditor5/src/ui.js';import _0x370ff6 from'../../../theme/icons/copy.svg';import{getTranslation as _0x197af3}from'../../utils/common-translations.js';function _0x2666(_0x1aaccd,_0x5d743b){const _0x5a5a41=_0x5a5a();return _0x2666=function(_0x2666b1,_0x299bab){_0x2666b1=_0x2666b1-0x9e;let _0x1aca6a=_0x5a5a41[_0x2666b1];return _0x1aca6a;},_0x2666(_0x1aaccd,_0x5d743b);}import{icons as _0x1099d9}from'ckeditor5/src/core.js';function _0x5a5a(){const _0x307f94=['locale','ck-content','145086jWhZwR','1006QFOGlH','673712NCVCxz','listenTo','scrollTo','body','appendLoader','ck-hidden','text/plain','createRange','ck-ai-form__content-area-wrapper','bind','remove','ck-ai-form__content-field','execute','smooth','class','ck-ai-form__copy-button-wrapper','AI\x20is\x20writing...','appendChild','div','write','change:isProcessing','<span>]</span>','mousedown','385uCwKzx','position','textContent','<span>[</span>','clipboard','_copyHTMLToClipboard','639dYjbkU','createElement','ck-ai-form__loader','14760189UNqJHG','firstElementChild','execCommand','_createCopyButton','\x20ck-ai-form__copy-button--copied','3764796xHEgSn','loaderView','value','innerHTML','.ck-ai-form__loader','setContent','ck-reset_all-excluded','ClipboardItem','change:value','check','getSelection','_createLoader','isProcessing','8tbsUYF','set','isEnabled','1466590wDGwJY','setStartAfter','bindTemplate','element','addRange','style','removeAllRanges','icon','isVisible','ck-ai-form__content-area--processing','881971lDZwSL','-9999px','setEndBefore','setTemplate','copyButtonView','ck-ai-form__content-area','querySelector','scrollHeight','text/html','Copy','wheel','left','ck-ai-form__copy-button','focus','lastElementChild','copy','render','absolute','contentFieldView'];_0x5a5a=function(){return _0x307f94;};return _0x5a5a();}export default class nt extends _0x173934{constructor(_0x5e3bec,_0x586870=''){const _0x3ce9d9=_0x2666;super(_0x5e3bec),this[_0x3ce9d9(0xe4)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x151a6f=this[_0x3ce9d9(0xe8)];this[_0x3ce9d9(0xac)]=new ContentFieldView(_0x5e3bec,_0x586870),this[_0x3ce9d9(0x9e)]=this[_0x3ce9d9(0xd4)](),this[_0x3ce9d9(0xf3)]({'tag':_0x3ce9d9(0xc3),'attributes':{'class':['ck',_0x3ce9d9(0xb9),_0x151a6f['if'](_0x3ce9d9(0xee),_0x3ce9d9(0xb6),_0x384fea=>!_0x384fea)],'tabindex':'-1'},'children':[{'tag':_0x3ce9d9(0xc3),'attributes':{'class':['ck',_0x3ce9d9(0x9f),_0x151a6f['if'](_0x3ce9d9(0xe2),_0x3ce9d9(0xef))]},'children':[this[_0x3ce9d9(0xac)],{'tag':_0x3ce9d9(0xc3),'attributes':{'class':['ck',_0x3ce9d9(0xc0)]},'children':[this[_0x3ce9d9(0x9e)]]}]}]});}[_0x575d90(0xaa)](){const _0x23b773=_0x575d90;super[_0x23b773(0xaa)](),this[_0x23b773(0xd8)]&&this[_0x23b773(0xac)][_0x23b773(0xdb)](this[_0x23b773(0xd8)]);let _0x30b24e=!0x1;this['on'](_0x23b773(0xde),(_0x25f676,_0x9f7425,_0x1aaffc)=>{const _0x19cb26=_0x23b773,_0x4960cf=!this[_0x19cb26(0xac)][_0x19cb26(0xe9)][_0x19cb26(0xa0)](_0x19cb26(0xda));this[_0x19cb26(0xac)][_0x19cb26(0xdb)](_0x1aaffc),this[_0x19cb26(0xe2)]&&_0x4960cf&&!_0x30b24e&&this[_0x19cb26(0xe9)][_0x19cb26(0xb3)]({'top':this[_0x19cb26(0xe9)][_0x19cb26(0xa1)],'behavior':_0x19cb26(0xbe)});}),this['on'](_0x23b773(0xc5),(_0x18ea45,_0x1e38a9,_0xd0eb64)=>{const _0x4f3702=_0x23b773;_0x30b24e=!0x1,_0xd0eb64?(this[_0x4f3702(0xd8)]=null,this[_0x4f3702(0xac)][_0x4f3702(0xb5)]()):this[_0x4f3702(0xd8)]||this[_0x4f3702(0xac)][_0x4f3702(0xdb)]('');}),this[_0x23b773(0xb2)](this[_0x23b773(0xe9)],_0x23b773(0xa4),()=>{_0x30b24e=!0x0;}),this[_0x23b773(0xb2)](this[_0x23b773(0xe9)],_0x23b773(0xc7),()=>{_0x30b24e=!0x0;});}[_0x575d90(0xa7)](){const _0x275e15=_0x575d90;this[_0x275e15(0xe9)][_0x275e15(0xa7)]();}[_0x575d90(0xd4)](){const _0x3e4cbb=_0x575d90,_0x23da84=this[_0x3e4cbb(0xad)],_0x2dba66=new _0x5b72c7(this[_0x3e4cbb(0xad)]),_0x7eeb00=_0x3e4cbb(0xa6);return _0x2dba66[_0x3e4cbb(0xe4)]({'label':_0x197af3(_0x23da84,_0x3e4cbb(0xa3)),'icon':_0x370ff6,'class':_0x7eeb00,'tooltip':!0x0}),_0x2dba66[_0x3e4cbb(0xba)](_0x3e4cbb(0xee))['to'](this,_0x3e4cbb(0xd8),_0x4bcf04=>!!_0x4bcf04),_0x2dba66[_0x3e4cbb(0xba)](_0x3e4cbb(0xe5))['to'](this,_0x3e4cbb(0xe2),_0x5b5910=>!_0x5b5910),_0x2dba66['on'](_0x3e4cbb(0xbd),()=>{const _0xa3dfa2=_0x3e4cbb;this[_0xa3dfa2(0xcd)](this[_0xa3dfa2(0xac)][_0xa3dfa2(0xe9)]),_0x2dba66[_0xa3dfa2(0xed)]=_0x1099d9[_0xa3dfa2(0xdf)],_0x2dba66[_0xa3dfa2(0xbf)]=_0x7eeb00+_0xa3dfa2(0xd5),this[_0xa3dfa2(0xa7)](),setTimeout(()=>{const _0x1335e3=_0xa3dfa2;_0x2dba66[_0x1335e3(0xed)]=_0x370ff6,_0x2dba66[_0x1335e3(0xbf)]=_0x7eeb00;},0x3e8);}),_0x2dba66;}[_0x575d90(0xcd)](_0x5cec2b){const _0x2afc56=_0x575d90,{window:_0x5d4159,document:_0x3f09e9}=_0x9880f8;if(_0x5d4159[_0x2afc56(0xdd)]){const {Blob:_0x6bc984,ClipboardItem:_0x3609c5}=_0x5d4159,_0x51d1d7=[new _0x3609c5({'text/html':new _0x6bc984([_0x5cec2b[_0x2afc56(0xd9)]],{'type':_0x2afc56(0xa2)}),'text/plain':new _0x6bc984([_0x5cec2b[_0x2afc56(0xca)]||''],{'type':_0x2afc56(0xb7)})})];navigator[_0x2afc56(0xcc)][_0x2afc56(0xc4)](_0x51d1d7);}else{const _0x3f81d4=_0x3f09e9[_0x2afc56(0xcf)](_0x2afc56(0xc3));_0x3f81d4[_0x2afc56(0xeb)][_0x2afc56(0xc9)]=_0x2afc56(0xab),_0x3f81d4[_0x2afc56(0xeb)][_0x2afc56(0xa5)]=_0x2afc56(0xf1),_0x3f81d4[_0x2afc56(0xd9)]=_0x2afc56(0xcb)+_0x5cec2b[_0x2afc56(0xd9)]+_0x2afc56(0xc6),_0x3f09e9[_0x2afc56(0xb4)][_0x2afc56(0xc2)](_0x3f81d4);const _0x4ec579=_0x3f09e9[_0x2afc56(0xb8)]();_0x4ec579[_0x2afc56(0xe7)](_0x3f81d4[_0x2afc56(0xd2)]),_0x4ec579[_0x2afc56(0xf2)](_0x3f81d4[_0x2afc56(0xa8)]);const _0x51458a=_0x5d4159[_0x2afc56(0xe0)]();_0x51458a[_0x2afc56(0xec)](),_0x51458a[_0x2afc56(0xea)](_0x4ec579),_0x3f09e9[_0x2afc56(0xd3)](_0x2afc56(0xa9)),_0x3f81d4[_0x2afc56(0xbb)]();}}}export class ContentFieldView extends _0x173934{constructor(_0x1b773f,_0x1f8dc3=''){const _0x3d13bd=_0x575d90;super(_0x1b773f),this[_0x3d13bd(0xd7)]=this[_0x3d13bd(0xe1)](),this[_0x3d13bd(0xf3)]({'tag':_0x3d13bd(0xc3),'attributes':{'class':['ck',_0x3d13bd(0xae),_0x1f8dc3,_0x3d13bd(0xdc),_0x3d13bd(0xbc)]}});}[_0x575d90(0xdb)](_0x22dbf5){const _0x2052b7=_0x575d90;this[_0x2052b7(0xe9)][_0x2052b7(0xd9)]=_0x22dbf5;}[_0x575d90(0xb5)](){const _0x16901b=_0x575d90;this[_0x16901b(0xe9)][_0x16901b(0xc2)](this[_0x16901b(0xd7)][_0x16901b(0xe9)]);}[_0x575d90(0xe1)](){const _0x1ad838=_0x575d90,_0xb6960=new _0x173934(),_0xcd50ee=this[_0x1ad838(0xad)],_0xcec604=new _0x2ec1b9();return _0xcec604[_0x1ad838(0xee)]=!0x0,_0xb6960[_0x1ad838(0xf3)]({'tag':_0x1ad838(0xc3),'attributes':{'class':['ck',_0x1ad838(0xd0)]},'children':[_0xcec604,{'text':_0x197af3(_0xcd50ee,_0x1ad838(0xc1))}]}),_0xb6960[_0x1ad838(0xaa)](),_0xb6960;}}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x196c22,_0x26cd4a){const _0x1c8f27=_0x3d42,_0x4aa54e=_0x196c22();while(!![]){try{const _0x3b902f=-parseInt(_0x1c8f27(0xb7))/0x1*(-parseInt(_0x1c8f27(0xbf))/0x2)+parseInt(_0x1c8f27(0xc6))/0x3*(parseInt(_0x1c8f27(0xc1))/0x4)+parseInt(_0x1c8f27(0xc7))/0x5+-parseInt(_0x1c8f27(0xb8))/0x6+-parseInt(_0x1c8f27(0xba))/0x7*(-parseInt(_0x1c8f27(0xc4))/0x8)+parseInt(_0x1c8f27(0xc0))/0x9+-parseInt(_0x1c8f27(0xb9))/0xa;if(_0x3b902f===_0x26cd4a)break;else _0x4aa54e['push'](_0x4aa54e['shift']());}catch(_0x368098){_0x4aa54e['push'](_0x4aa54e['shift']());}}}(_0x11d1,0xbfd3f));import{View as _0x5090d2,IconView as _0x37dd1f}from'ckeditor5/src/ui.js';import _0x452c39 from'../../../theme/icons/error.svg';function _0x3d42(_0x73c377,_0xbd0f8d){const _0x11d142=_0x11d1();return _0x3d42=function(_0x3d4294,_0x1757fe){_0x3d4294=_0x3d4294-0xb7;let _0x5dd87e=_0x11d142[_0x3d4294];return _0x5dd87e;},_0x3d42(_0x73c377,_0xbd0f8d);}function _0x11d1(){const _0x6ff0c=['content','2YiwrEu','6649020sxXDel','613900MoNLXY','div','ck-ai-form__error','688544iGyXLg','bindTemplate','30Ufxgsq','7245210nlgLUz','477097lJczAD','7072134GfEkGS','27516610vuGqya','42ckKojd','text','set','setTemplate'];_0x11d1=function(){return _0x6ff0c;};return _0x11d1();}export default class mt extends _0x5090d2{constructor(_0xcf22a3,_0x4795d3=''){const _0x31bcec=_0x3d42;super(_0xcf22a3);const _0x11d5dc=new _0x37dd1f(),_0x158ce4=this[_0x31bcec(0xc5)];this[_0x31bcec(0xbc)](_0x31bcec(0xbb),_0x4795d3),_0x11d5dc[_0x31bcec(0xbe)]=_0x452c39,this[_0x31bcec(0xbd)]({'tag':_0x31bcec(0xc2),'attributes':{'class':['ck',_0x31bcec(0xc3)]},'children':[_0x11d5dc,{'text':_0x158ce4['to'](_0x31bcec(0xbb))}]});}}
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))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159d1d=_0x722a;(function(_0x425070,_0x41e1f1){const _0x2e3851=_0x722a,_0xe1f42=_0x425070();while(!![]){try{const _0x37709b=-parseInt(_0x2e3851(0x168))/0x1+parseInt(_0x2e3851(0x173))/0x2*(-parseInt(_0x2e3851(0x190))/0x3)+-parseInt(_0x2e3851(0x182))/0x4+-parseInt(_0x2e3851(0x181))/0x5*(parseInt(_0x2e3851(0x163))/0x6)+parseInt(_0x2e3851(0x175))/0x7*(parseInt(_0x2e3851(0x162))/0x8)+parseInt(_0x2e3851(0x160))/0x9+parseInt(_0x2e3851(0x179))/0xa;if(_0x37709b===_0x41e1f1)break;else _0xe1f42['push'](_0xe1f42['shift']());}catch(_0x587e83){_0xe1f42['push'](_0xe1f42['shift']());}}}(_0x2819,0xafe62));import{Rect as _0x4ebad6,global as _0x4b6b75,isVisible as _0x34f24c}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x5816c3,ButtonView as _0x4c10da}from'ckeditor5/src/ui.js';import{icons as _0x2d505e}from'ckeditor5/src/core.js';import{getTranslation as _0x4a07cf}from'../../utils/common-translations.js';import _0x4e7cac from'../../../theme/icons/submit.svg';export default class pt extends _0x5816c3{constructor(_0x1e672b,_0x2f9353){const _0x4af77b=_0x722a;super(_0x1e672b,_0x2f9353),this[_0x4af77b(0x178)][_0x4af77b(0x16a)][_0x4af77b(0x165)]=0x1,this[_0x4af77b(0x178)][_0x4af77b(0x16a)][_0x4af77b(0x176)]=0x3,this[_0x4af77b(0x199)]=this[_0x4af77b(0x197)](),this[_0x4af77b(0x17b)]=this[_0x4af77b(0x164)](),this[_0x4af77b(0x16f)][_0x4af77b(0x174)](this[_0x4af77b(0x17b)],0x1),this[_0x4af77b(0x16f)][_0x4af77b(0x174)](this[_0x4af77b(0x199)]);}[_0x159d1d(0x193)](){const _0x156e91=_0x159d1d;super[_0x156e91(0x193)](),this[_0x156e91(0x178)][_0x156e91(0x17f)][_0x156e91(0x174)](this[_0x156e91(0x17b)]),this[_0x156e91(0x18c)][_0x156e91(0x174)](this[_0x156e91(0x199)]),this[_0x156e91(0x16e)][_0x156e91(0x194)](_0x156e91(0x16c),(_0x490643,_0x5455c9)=>{const _0x469118=_0x156e91;_0x490643[_0x469118(0x183)]==this[_0x469118(0x178)][_0x469118(0x16a)][_0x469118(0x19a)]&&(this[_0x469118(0x169)](),_0x5455c9());});}[_0x159d1d(0x197)](){const _0x18ac55=_0x159d1d,_0x553c3d=new _0x4c10da(this[_0x18ac55(0x18a)]),_0x4cde5e=this[_0x18ac55(0x18a)];return _0x553c3d[_0x18ac55(0x194)]({'icon':_0x4e7cac,'label':_0x4a07cf(_0x4cde5e,_0x18ac55(0x172)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x18ac55(0x17c)}),_0x553c3d['on'](_0x18ac55(0x17d),()=>{const _0x13ae04=_0x18ac55;this[_0x13ae04(0x169)]();}),_0x553c3d[_0x18ac55(0x18d)](_0x18ac55(0x189))['to'](this[_0x18ac55(0x178)][_0x18ac55(0x16a)],_0x18ac55(0x191),this,_0x18ac55(0x189),(_0x32717f,_0x5b57a8)=>!_0x32717f&&_0x5b57a8),_0x553c3d;}[_0x159d1d(0x164)](){const _0x18de8f=_0x159d1d,_0x43dc67=new _0x4c10da(this[_0x18de8f(0x18a)]),_0x195776=this[_0x18de8f(0x177)],_0x16d74a=this[_0x18de8f(0x18a)];_0x43dc67[_0x18de8f(0x194)]({'label':_0x4a07cf(_0x16d74a,_0x18de8f(0x17a)),'withText':!0x1,'icon':_0x2d505e[_0x18de8f(0x198)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x18de8f(0x16b)}),_0x43dc67[_0x18de8f(0x18d)](_0x18de8f(0x188))['to'](_0x195776,_0x18de8f(0x18f)),_0x43dc67[_0x18de8f(0x18d)](_0x18de8f(0x189))['to'](this,_0x18de8f(0x189)),_0x43dc67['on'](_0x18de8f(0x17d),()=>{const _0xe15bc0=_0x18de8f;_0x195776[_0xe15bc0(0x18f)]=!_0x195776[_0xe15bc0(0x18f)],_0x195776[_0xe15bc0(0x18f)]?this[_0xe15bc0(0x18b)][_0xe15bc0(0x186)]():this[_0xe15bc0(0x186)]();});const _0x164c06=()=>{const _0x4d4c35=_0x18de8f;_0x4b6b75[_0x4d4c35(0x161)][_0x4d4c35(0x187)](()=>{const _0x5e9467=_0x4d4c35;if(_0x34f24c(this[_0x5e9467(0x19a)])){const _0x57b123=new _0x4ebad6(this[_0x5e9467(0x178)][_0x5e9467(0x16a)][_0x5e9467(0x19a)]),_0x37364b=_0x57b123[_0x5e9467(0x16d)],_0x1d6ea5=_0x5e9467(0x17e)===_0x16d74a[_0x5e9467(0x167)]?_0x5e9467(0x170):_0x5e9467(0x180);_0x57b123[_0x5e9467(0x166)](),_0x43dc67[_0x5e9467(0x19a)][_0x5e9467(0x192)][_0x1d6ea5]=_0x37364b-_0x57b123[_0x5e9467(0x16d)]+0x1+'px';}});};return this[_0x18de8f(0x178)][_0x18de8f(0x16a)]['on'](_0x18de8f(0x18e),_0x164c06),this['on'](_0x18de8f(0x193),_0x164c06),_0x43dc67;}[_0x159d1d(0x169)](){const _0x74c6a5=_0x159d1d,_0x1fd30d=this[_0x74c6a5(0x178)][_0x74c6a5(0x16a)][_0x74c6a5(0x19a)][_0x74c6a5(0x185)];this[_0x74c6a5(0x171)](_0x74c6a5(0x169),_0x1fd30d);}[_0x159d1d(0x186)](_0x3c3d2b){const _0x1c539d=_0x159d1d;-0x1===_0x3c3d2b?this[_0x1c539d(0x196)][_0x1c539d(0x195)]():this[_0x1c539d(0x196)][_0x1c539d(0x184)]();}}function _0x722a(_0x1c32b0,_0x3d77ed){const _0x28197b=_0x2819();return _0x722a=function(_0x722af0,_0xe9a507){_0x722af0=_0x722af0-0x160;let _0x2e5a13=_0x28197b[_0x722af0];return _0x2e5a13;},_0x722a(_0x1c32b0,_0x3d77ed);}function _0x2819(){const _0x598ed5=['maxRows','resultsView','queryView','22272880KSsJUZ','History','showHistoryButtonView','ck-ai-form__submit','execute','rtl','fieldWrapperChildren','right','255InFgLj','5353028qtLKeq','target','focusFirst','value','focus','requestAnimationFrame','isOn','isEnabled','locale','filteredView','children','bind','update','isVisible','3xftbAa','isEmpty','style','render','set','focusLast','focusCycler','_createSubmitButton','history','submitButtonView','element','1039527lpTPFb','window','5468032JezljV','5898uxnmId','_createShowHistoryButton','minRows','excludeScrollbarsAndBorders','uiLanguageDirection','1164730euwtIn','submit','fieldView','ck-ai-form__toggle-history','enter','width','keystrokes','focusableChildren','left','fire','Submit','872394DwZEYt','add','14TQQSmx'];_0x2819=function(){return _0x598ed5;};return _0x2819();}
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)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47f0(_0x2cbd03,_0x3304a5){const _0x585de8=_0x585d();return _0x47f0=function(_0x47f01f,_0x50ebdd){_0x47f01f=_0x47f01f-0x131;let _0x19b334=_0x585de8[_0x47f01f];return _0x19b334;},_0x47f0(_0x2cbd03,_0x3304a5);}const _0x49ade1=_0x47f0;(function(_0x25c23c,_0x595b3f){const _0x4b2155=_0x47f0,_0x17405e=_0x25c23c();while(!![]){try{const _0x2268b8=-parseInt(_0x4b2155(0x136))/0x1+parseInt(_0x4b2155(0x147))/0x2+-parseInt(_0x4b2155(0x135))/0x3*(-parseInt(_0x4b2155(0x144))/0x4)+-parseInt(_0x4b2155(0x143))/0x5*(-parseInt(_0x4b2155(0x13a))/0x6)+parseInt(_0x4b2155(0x14e))/0x7+-parseInt(_0x4b2155(0x140))/0x8+parseInt(_0x4b2155(0x146))/0x9*(-parseInt(_0x4b2155(0x14a))/0xa);if(_0x2268b8===_0x595b3f)break;else _0x17405e['push'](_0x17405e['shift']());}catch(_0x476b87){_0x17405e['push'](_0x17405e['shift']());}}}(_0x585d,0xc05c9));function _0x585d(){const _0x3f11a1=['93665RnpBoV','21324BPnfxh','ck-button-action','2463057WLWawG','529220TJSkEa','toUpperCase','bind','20rMDqeN','insertButton','addMany','insert','4444020kzYKDU','label','ck-hidden','set','_createButton','items','replaceButton','locale','ck-ai-form__toolbar','mainAction','AI_','Stop','258TxyoIM','1406488AyMwga','bindTemplate','stopButton','replace','474gSHxyO','REPLACE','tryAgainButton','isVisible','Try\x20again','_CONTENT','768768PYvPdf','Insert\x20below','extendTemplate'];_0x585d=function(){return _0x3f11a1;};return _0x585d();}import{ToolbarView as _0x27b1cb,ButtonView as _0x51a7dd}from'ckeditor5/src/ui.js';import{getTranslation as _0x117582}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x49ade1(0x139),'INSERT':_0x49ade1(0x14d)};export default class Tt extends _0x27b1cb{constructor(_0x3fbe1f){const _0x13c376=_0x49ade1;super(_0x3fbe1f),this[_0x13c376(0x151)](_0x13c376(0x13d),!0x1),this[_0x13c376(0x151)](_0x13c376(0x132),AIFormToolbarViewMainActionLabel[_0x13c376(0x13b)]),this[_0x13c376(0x154)]=this[_0x13c376(0x152)]('',_0x13c376(0x145)),this[_0x13c376(0x154)][_0x13c376(0x149)](_0x13c376(0x14f))['to'](this,_0x13c376(0x132),_0x370f92=>_0x117582(_0x3fbe1f,_0x13c376(0x133)+_0x370f92[_0x13c376(0x148)]()+_0x13c376(0x13f))),this[_0x13c376(0x14b)]=this[_0x13c376(0x152)](_0x117582(_0x3fbe1f,_0x13c376(0x141))),this[_0x13c376(0x13c)]=this[_0x13c376(0x152)](_0x117582(_0x3fbe1f,_0x13c376(0x13e))),this[_0x13c376(0x138)]=this[_0x13c376(0x152)](_0x117582(_0x3fbe1f,_0x13c376(0x134)));const _0x394cd8=this[_0x13c376(0x137)];this[_0x13c376(0x142)]({'attributes':{'class':[_0x13c376(0x131),_0x394cd8['if'](_0x13c376(0x13d),_0x13c376(0x150),_0x12e23a=>!_0x12e23a)]}}),this[_0x13c376(0x153)][_0x13c376(0x14c)]([this[_0x13c376(0x154)],this[_0x13c376(0x14b)],this[_0x13c376(0x13c)],this[_0x13c376(0x138)]]);}[_0x49ade1(0x152)](_0x47dadc,_0x150112){const _0x4da0f4=_0x49ade1,_0x13eb07=new _0x51a7dd(this[_0x4da0f4(0x155)]);return _0x13eb07[_0x4da0f4(0x151)]({'label':_0x47dadc,'class':_0x150112||'','isVisible':!0x0,'withText':!0x0}),_0x13eb07;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x330a(_0x1f90be,_0x3342c1){const _0x278287=_0x2782();return _0x330a=function(_0x330ad2,_0x5ca7f7){_0x330ad2=_0x330ad2-0x105;let _0x51cd37=_0x278287[_0x330ad2];return _0x51cd37;},_0x330a(_0x1f90be,_0x3342c1);}const _0x47c6e4=_0x330a;function _0x2782(){const _0x5301de=['replaceContent','errorView','focusNext','delegate','29290ZiIghS','promptView','1041712jwSDBd','20BKJLkp','tab','Ask\x20AI\x20to\x20edit\x20or\x20generate','9245196SAmczS','listenTo','contentArea','ck-ai-form-content','ck-ai-form','finishProcessing','25cWYwcA','focus','tryAgainButton','startProcessing','clear','items','557856uqBHfQ','queryView','_createHistoryView','isProcessing','stopButton','shift\x20+\x20tab','focusTracker','historyGroupView','69450cCfleZ','copyButtonView','bind','trim','REPLACE','locale','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','keystrokes','submit','fieldView','isEnabled','_createPromptView','prompt','createCollection','isVisible','replaceButton','focusLast','backwardCycle','tryAgainEvent','bindTo','element','bindTemplate','insertContentBelow','setTemplate','mainAction','_focusables','_createToolbar','focusPrevious','168900xSMGJp','render','11NRsSnf','forwardCycle','search','toolbar','label','high','Empty\x20history','isError','fire','handleError','97076oftZQA','ck-hidden','stopProcessing','focusFirst','24tYKevk','set','Ask\x20AI\x20to\x20improve\x20generated\x20text','AI_ERROR_FAILED','stop','execute','value','focusCycler','reset','insertButton','_promptHistory','add','text','submitPrompt','div','clearHistory','42ZuGUVr'];_0x2782=function(){return _0x5301de;};return _0x2782();}(function(_0x598395,_0x27741e){const _0x1b0a4b=_0x330a,_0x900923=_0x598395();while(!![]){try{const _0x21c7c3=-parseInt(_0x1b0a4b(0x109))/0x1*(parseInt(_0x1b0a4b(0x10c))/0x2)+-parseInt(_0x1b0a4b(0x15f))/0x3*(parseInt(_0x1b0a4b(0x14b))/0x4)+-parseInt(_0x1b0a4b(0x115))/0x5*(-parseInt(_0x1b0a4b(0x123))/0x6)+-parseInt(_0x1b0a4b(0x10b))/0x7+parseInt(_0x1b0a4b(0x14f))/0x8*(parseInt(_0x1b0a4b(0x11b))/0x9)+-parseInt(_0x1b0a4b(0x13f))/0xa+parseInt(_0x1b0a4b(0x141))/0xb*(parseInt(_0x1b0a4b(0x10f))/0xc);if(_0x21c7c3===_0x27741e)break;else _0x900923['push'](_0x900923['shift']());}catch(_0x3bc826){_0x900923['push'](_0x900923['shift']());}}}(_0x2782,0x34b50));import{FocusTracker as _0x3ed409,KeystrokeHandler as _0x3db340}from'ckeditor5/src/utils.js';import{View as _0x1e4bbc,FocusCycler as _0x1967d8,createLabeledTextarea as _0x5c8821}from'ckeditor5/src/ui.js';import _0x123f7d,{AIFormToolbarViewMainActionLabel as _0x1b7438}from'./aiformtoolbarview.js';import _0x2f7f01 from'./aiformcontentarea.js';import _0x386fcc from'./aiformerrorview.js';import _0x308767 from'./aiformpromptview.js';import _0x22e07c from'./aihistorylistview.js';import _0x978d30 from'./aihistorylistitemview.js';import _0x2b66e2 from'./prompthistory.js';import{getTranslation as _0x3dd2cb}from'../../utils/common-translations.js';import{escape as _0x446562}from'lodash-es';export default class x extends _0x1e4bbc{constructor(_0x3b44a2,_0x2c3cd3,_0x4404b6=''){const _0x1a55ac=_0x330a;super(_0x3b44a2),this[_0x1a55ac(0x150)](_0x1a55ac(0x12d),!0x0),this[_0x1a55ac(0x150)](_0x1a55ac(0x11e),!0x1),this[_0x1a55ac(0x150)](_0x1a55ac(0x12f),''),this[_0x1a55ac(0x150)](_0x1a55ac(0x155),''),this[_0x1a55ac(0x150)](_0x1a55ac(0x148),!0x1),this[_0x1a55ac(0x150)](_0x1a55ac(0x13b),_0x1b7438[_0x1a55ac(0x127)]),this[_0x1a55ac(0x159)]=new _0x2b66e2(),this[_0x1a55ac(0x106)]=new _0x386fcc(_0x3b44a2),this[_0x1a55ac(0x111)]=new _0x2f7f01(_0x3b44a2,_0x4404b6),this[_0x1a55ac(0x111)][_0x1a55ac(0x125)](_0x1a55ac(0x11e))['to'](this),this[_0x1a55ac(0x111)][_0x1a55ac(0x125)](_0x1a55ac(0x155))['to'](this),this[_0x1a55ac(0x144)]=this[_0x1a55ac(0x13d)](),this[_0x1a55ac(0x144)][_0x1a55ac(0x125)](_0x1a55ac(0x13b))['to'](this),this[_0x1a55ac(0x10a)]=this[_0x1a55ac(0x12e)](),this[_0x1a55ac(0x121)]=new _0x3ed409(),this[_0x1a55ac(0x12a)]=new _0x3db340(),this[_0x1a55ac(0x13c)]=this[_0x1a55ac(0x130)]([this[_0x1a55ac(0x111)],this[_0x1a55ac(0x111)][_0x1a55ac(0x124)],this[_0x1a55ac(0x144)],this[_0x1a55ac(0x10a)]]),this[_0x1a55ac(0x156)]=new _0x1967d8({'focusables':this[_0x1a55ac(0x13c)],'focusTracker':this[_0x1a55ac(0x121)],'keystrokeHandler':this[_0x1a55ac(0x12a)],'actions':{'focusPrevious':_0x1a55ac(0x120),'focusNext':_0x1a55ac(0x10d)}}),this[_0x1a55ac(0x10a)][_0x1a55ac(0x156)]['on'](_0x1a55ac(0x142),_0xcee4b5=>{const _0x1f5938=_0x1a55ac;this[_0x1f5938(0x156)][_0x1f5938(0x107)](),_0xcee4b5[_0x1f5938(0x153)]();}),this[_0x1a55ac(0x10a)][_0x1a55ac(0x156)]['on'](_0x1a55ac(0x134),_0x125036=>{const _0x223950=_0x1a55ac;this[_0x223950(0x156)][_0x223950(0x13e)](),_0x125036[_0x223950(0x153)]();}),this[_0x1a55ac(0x10a)][_0x1a55ac(0x11c)][_0x1a55ac(0x12c)][_0x1a55ac(0x125)](_0x1a55ac(0x155))['to'](this,_0x1a55ac(0x12f));const _0x5d6440=this[_0x1a55ac(0x138)];this[_0x1a55ac(0x13a)]({'tag':_0x1a55ac(0x15d),'attributes':{'class':['ck',_0x1a55ac(0x113),_0x2c3cd3],'tabindex':'-1'},'children':[{'tag':_0x1a55ac(0x15d),'attributes':{'class':['ck',_0x1a55ac(0x112)]},'children':[{'tag':_0x1a55ac(0x15d),'attributes':{'class':[_0x5d6440['if'](_0x1a55ac(0x148),_0x1a55ac(0x14c),_0x5041f8=>!_0x5041f8)]},'children':[this[_0x1a55ac(0x106)]]},this[_0x1a55ac(0x111)],this[_0x1a55ac(0x144)],this[_0x1a55ac(0x10a)]]}]});}[_0x47c6e4(0x140)](){const _0x41f283=_0x47c6e4;super[_0x41f283(0x140)](),this[_0x41f283(0x121)][_0x41f283(0x15a)](this[_0x41f283(0x111)][_0x41f283(0x137)]),this[_0x41f283(0x121)][_0x41f283(0x15a)](this[_0x41f283(0x111)][_0x41f283(0x124)][_0x41f283(0x137)]),this[_0x41f283(0x121)][_0x41f283(0x15a)](this[_0x41f283(0x144)][_0x41f283(0x137)]),this[_0x41f283(0x121)][_0x41f283(0x15a)](this[_0x41f283(0x10a)][_0x41f283(0x137)]),this[_0x41f283(0x12a)][_0x41f283(0x110)](this[_0x41f283(0x137)]);}[_0x47c6e4(0x116)](_0x1f6599=0x1){const _0x546bbc=_0x47c6e4;-0x1===_0x1f6599?this[_0x546bbc(0x156)][_0x546bbc(0x133)]():this[_0x546bbc(0x156)][_0x546bbc(0x14e)]();}[_0x47c6e4(0x157)](){const _0xdbe615=_0x47c6e4;this[_0xdbe615(0x12f)]='',this[_0xdbe615(0x155)]='',this[_0xdbe615(0x148)]=!0x1,this[_0xdbe615(0x10a)][_0xdbe615(0x157)](),this[_0xdbe615(0x111)][_0xdbe615(0x131)]=!0x1,this[_0xdbe615(0x144)][_0xdbe615(0x131)]=!0x1;}[_0x47c6e4(0x12e)](){const _0x1d5869=_0x47c6e4,_0xfb89a2=this[_0x1d5869(0x128)],_0x246ba6=new _0x308767(_0xfb89a2,{'queryView':{'label':_0x3dd2cb(_0xfb89a2,_0x1d5869(0x10e)),'creator':_0x5c8821,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3dd2cb(_0xfb89a2,_0x1d5869(0x147)),'secondary':_0x3dd2cb(_0xfb89a2,_0x1d5869(0x129))}}},'filteredView':this[_0x1d5869(0x11d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x246ba6[_0x1d5869(0x125)](_0x1d5869(0x12d))['to'](this,_0x1d5869(0x12d),this,_0x1d5869(0x11e),(_0x456849,_0x5a64ed)=>_0x456849&&!_0x5a64ed),this[_0x1d5869(0x110)](_0x246ba6,_0x1d5869(0x12b),(_0x4171e4,_0x2b29c0)=>{const _0x4e56c1=_0x1d5869;this[_0x4e56c1(0x12f)]=_0x2b29c0;const _0x48aa11=_0x446562(_0x2b29c0);this[_0x4e56c1(0x149)](_0x4e56c1(0x15c),_0x48aa11),_0x2b29c0[_0x4e56c1(0x126)]()&&this[_0x4e56c1(0x159)][_0x4e56c1(0x15a)]({'prompt':_0x48aa11},0x0);},{'priority':_0x1d5869(0x146)}),_0x246ba6;}[_0x47c6e4(0x11d)](){const _0x279352=_0x47c6e4,_0x3e70ea=new _0x22e07c(this[_0x279352(0x128)]);return _0x3e70ea[_0x279352(0x122)][_0x279352(0x11a)][_0x279352(0x136)](this[_0x279352(0x159)])['as'](_0x978d30),_0x3e70ea['on'](_0x279352(0x15e),()=>{const _0x44666a=_0x279352;this[_0x44666a(0x159)][_0x44666a(0x119)](),this[_0x44666a(0x10a)][_0x44666a(0x143)](''),this[_0x44666a(0x10a)][_0x44666a(0x116)]();}),_0x3e70ea;}[_0x47c6e4(0x13d)](){const _0x512521=_0x47c6e4,_0x22961a=new _0x123f7d(this[_0x512521(0x128)]);return _0x22961a[_0x512521(0x132)][_0x512521(0x125)](_0x512521(0x12d))['to'](this,_0x512521(0x12d),this,_0x512521(0x11e),this,_0x512521(0x155),(_0x327f12,_0x4fc2b9,_0x2ee7f4)=>_0x327f12&&!_0x4fc2b9&&!!_0x2ee7f4),_0x22961a[_0x512521(0x132)][_0x512521(0x108)](_0x512521(0x154))['to'](this,_0x512521(0x105)),_0x22961a[_0x512521(0x158)][_0x512521(0x125)](_0x512521(0x12d))['to'](this,_0x512521(0x12d),this,_0x512521(0x11e),this,_0x512521(0x155),(_0x53efb4,_0x23e7eb,_0x488bc6)=>_0x53efb4&&!_0x23e7eb&&!!_0x488bc6),_0x22961a[_0x512521(0x158)][_0x512521(0x108)](_0x512521(0x154))['to'](this,_0x512521(0x139)),_0x22961a[_0x512521(0x117)][_0x512521(0x125)](_0x512521(0x12d))['to'](this,_0x512521(0x12d),this,_0x512521(0x11e),(_0x1bdeba,_0xbd07cb)=>_0x1bdeba&&!_0xbd07cb),_0x22961a[_0x512521(0x117)][_0x512521(0x108)](_0x512521(0x154))['to'](this,_0x512521(0x135)),_0x22961a[_0x512521(0x11f)][_0x512521(0x125)](_0x512521(0x12d))['to'](this,_0x512521(0x11e)),_0x22961a[_0x512521(0x11f)][_0x512521(0x108)](_0x512521(0x154))['to'](this,_0x512521(0x14d)),_0x22961a;}[_0x47c6e4(0x118)](){const _0xb32211=_0x47c6e4;this[_0xb32211(0x155)]='',this[_0xb32211(0x148)]=!0x1,this[_0xb32211(0x11e)]=!0x0,this[_0xb32211(0x111)][_0xb32211(0x131)]=!0x0,this[_0xb32211(0x144)][_0xb32211(0x131)]=!0x0,this[_0xb32211(0x111)][_0xb32211(0x116)]();}[_0x47c6e4(0x114)](){const _0x1abefe=_0x47c6e4,_0x3003cd=this[_0x1abefe(0x128)];this[_0x1abefe(0x11e)]=!0x1,this[_0x1abefe(0x12f)]='',this[_0x1abefe(0x10a)][_0x1abefe(0x157)](),this[_0x1abefe(0x155)]&&(this[_0x1abefe(0x10a)][_0x1abefe(0x11c)][_0x1abefe(0x145)]=_0x3dd2cb(_0x3003cd,_0x1abefe(0x151)));}[_0x47c6e4(0x14a)](_0x1203dc){const _0x2c09b9=_0x47c6e4,_0x1c2180=this[_0x2c09b9(0x128)];this[_0x2c09b9(0x114)](),this[_0x2c09b9(0x148)]=!0x0,this[_0x2c09b9(0x106)][_0x2c09b9(0x15b)]=_0x1203dc||_0x3dd2cb(_0x1c2180,_0x2c09b9(0x152)),this[_0x2c09b9(0x155)]||(this[_0x2c09b9(0x111)][_0x2c09b9(0x131)]=!0x1);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x478a54,_0x35844d){const _0x39355b=_0x1ea7,_0x2b12df=_0x478a54();while(!![]){try{const _0x54c80f=-parseInt(_0x39355b(0x135))/0x1*(parseInt(_0x39355b(0x139))/0x2)+-parseInt(_0x39355b(0x133))/0x3+parseInt(_0x39355b(0x13c))/0x4+-parseInt(_0x39355b(0x12e))/0x5*(parseInt(_0x39355b(0x12d))/0x6)+parseInt(_0x39355b(0x132))/0x7+-parseInt(_0x39355b(0x13b))/0x8*(-parseInt(_0x39355b(0x131))/0x9)+-parseInt(_0x39355b(0x138))/0xa;if(_0x54c80f===_0x35844d)break;else _0x2b12df['push'](_0x2b12df['shift']());}catch(_0x1f1805){_0x2b12df['push'](_0x2b12df['shift']());}}}(_0x3fc6,0x3ebf5));import{ListItemView as _0x2809c2,ButtonView as _0x17fe13}from'ckeditor5/src/ui.js';import _0x5cd112 from'../dropdown/buttonlabelwithhighlightview.js';function _0x1ea7(_0x437276,_0x2749aa){const _0x3fc6bb=_0x3fc6();return _0x1ea7=function(_0x1ea741,_0x465adb){_0x1ea741=_0x1ea741-0x12c;let _0x17c847=_0x3fc6bb[_0x1ea741];return _0x17c847;},_0x1ea7(_0x437276,_0x2749aa);}import{unescape as _0x4b1f83}from'lodash-es';function _0x3fc6(){const _0x2c7cf1=['children','prompt','204480uNVhru','99742nKOzrb','locale','7824jZQcmB','1715116xQOGDi','execute','747966XnFiBQ','5qRCVDt','add','set','2484JXNypL','1079155yTYoej','1053024RJevGD','fire','2ZTUPWD'];_0x3fc6=function(){return _0x2c7cf1;};return _0x3fc6();}export default class hs extends _0x2809c2{constructor(_0x3a34c9){const _0xb0c578=_0x1ea7;super();const _0x2d7fdb=new _0x5cd112(),_0x247b8b=new _0x17fe13(this[_0xb0c578(0x13a)],_0x2d7fdb);this[_0xb0c578(0x136)][_0xb0c578(0x12f)](_0x247b8b),_0x247b8b[_0xb0c578(0x130)]({'label':_0x3a34c9[_0xb0c578(0x137)],'withText':!0x0}),_0x247b8b['on'](_0xb0c578(0x12c),()=>{const _0x104744=_0xb0c578;this[_0x104744(0x134)](_0x104744(0x12c),{'value':_0x4b1f83(_0x3a34c9[_0x104744(0x137)])});});}}
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)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb3930e=_0x16ff;(function(_0x130e2c,_0x1c0316){const _0x33d2d6=_0x16ff,_0x3c76cc=_0x130e2c();while(!![]){try{const _0x621be0=parseInt(_0x33d2d6(0x78))/0x1+parseInt(_0x33d2d6(0x81))/0x2*(-parseInt(_0x33d2d6(0x77))/0x3)+-parseInt(_0x33d2d6(0x89))/0x4*(parseInt(_0x33d2d6(0x7e))/0x5)+-parseInt(_0x33d2d6(0x80))/0x6+-parseInt(_0x33d2d6(0x86))/0x7*(parseInt(_0x33d2d6(0x7f))/0x8)+-parseInt(_0x33d2d6(0x8d))/0x9+parseInt(_0x33d2d6(0x84))/0xa;if(_0x621be0===_0x1c0316)break;else _0x3c76cc['push'](_0x3c76cc['shift']());}catch(_0x5eb890){_0x3c76cc['push'](_0x3c76cc['shift']());}}}(_0x3486,0x1fde3));import{ListView as _0x1f6273,ListItemGroupView as _0x16f6d3,ButtonView as _0x159229}from'ckeditor5/src/ui.js';function _0x16ff(_0x311849,_0x5b6977){const _0x348657=_0x3486();return _0x16ff=function(_0x16ffa7,_0x583ce5){_0x16ffa7=_0x16ffa7-0x76;let _0x1a04f2=_0x348657[_0x16ffa7];return _0x1a04f2;},_0x16ff(_0x311849,_0x5b6977);}import{getTranslation as _0x31b959}from'../../utils/common-translations.js';export default class rs extends _0x1f6273{constructor(_0x50bbfb){const _0x4044a4=_0x16ff;super(_0x50bbfb),this[_0x4044a4(0x8b)]=this[_0x4044a4(0x7a)](),this[_0x4044a4(0x8c)]=new _0x16f6d3(),this[_0x4044a4(0x8c)][_0x4044a4(0x8f)][_0x4044a4(0x90)](this[_0x4044a4(0x8b)],0x1),this[_0x4044a4(0x8c)][_0x4044a4(0x8e)]=_0x31b959(_0x50bbfb,_0x4044a4(0x76)),this[_0x4044a4(0x8c)][_0x4044a4(0x87)][_0x4044a4(0x85)](_0x4044a4(0x88))['to'](this),this[_0x4044a4(0x87)][_0x4044a4(0x90)](this[_0x4044a4(0x8c)]);}[_0xb3930e(0x7b)](){const _0x4e9503=_0xb3930e;let _0x3d0a44=0x0;for(const _0x1ef242 of this[_0x4e9503(0x87)])_0x3d0a44+=_0x1ef242[_0x4e9503(0x87)][_0x4e9503(0x7c)];return{'resultsCount':_0x3d0a44,'totalItemsCount':_0x3d0a44};}[_0xb3930e(0x7a)](){const _0x4d6dca=_0xb3930e,_0x2f6119=this[_0x4d6dca(0x8a)],_0x1a0850=new _0x159229(this[_0x4d6dca(0x8a)]);return _0x1a0850[_0x4d6dca(0x83)]({'label':'('+_0x31b959(_0x2f6119,_0x4d6dca(0x7d))+')','withText':!0x0}),_0x1a0850['on'](_0x4d6dca(0x88),()=>this[_0x4d6dca(0x79)](_0x4d6dca(0x82))),_0x1a0850;}}function _0x3486(){const _0x3c7078=['3cpFLlw','182063YNmPub','fire','_createClearHistoryButton','filter','length','Clear','3120LoVAHG','536hrIPom','412752JnKlLo','507460kzyEEM','clearHistory','set','4694440FvbPQb','delegate','14882MarGrg','items','execute','68rHpsiB','locale','clearHistoryButton','historyGroupView','408636YEjWzc','label','children','add','Prompt\x20history'];_0x3486=function(){return _0x3c7078;};return _0x3486();}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56e3(_0x3d8ae2,_0x37753e){const _0xaf4c83=_0xaf4c();return _0x56e3=function(_0x56e3f0,_0xb9c4a){_0x56e3f0=_0x56e3f0-0xbf;let _0x460a57=_0xaf4c83[_0x56e3f0];return _0x460a57;},_0x56e3(_0x3d8ae2,_0x37753e);}const _0x8e8d67=_0x56e3;(function(_0x11e80a,_0x36cf1d){const _0x129cad=_0x56e3,_0x4fd611=_0x11e80a();while(!![]){try{const _0x201587=parseInt(_0x129cad(0xc3))/0x1+-parseInt(_0x129cad(0xd1))/0x2*(-parseInt(_0x129cad(0xd8))/0x3)+-parseInt(_0x129cad(0xc4))/0x4+-parseInt(_0x129cad(0xc8))/0x5+parseInt(_0x129cad(0xc9))/0x6*(-parseInt(_0x129cad(0xca))/0x7)+-parseInt(_0x129cad(0xc5))/0x8+parseInt(_0x129cad(0xcf))/0x9*(parseInt(_0x129cad(0xcd))/0xa);if(_0x201587===_0x36cf1d)break;else _0x4fd611['push'](_0x4fd611['shift']());}catch(_0x4ae9d9){_0x4fd611['push'](_0x4fd611['shift']());}}}(_0xaf4c,0xd0687));import{Collection as _0x470987}from'ckeditor5/src/utils.js';const cs=_0x8e8d67(0xd2);export default class os extends _0x470987{constructor(){const _0x1e9180=_0x8e8d67;super(),this[_0x1e9180(0xd5)](),this['on'](_0x1e9180(0xd0),(_0x44893d,_0x16f90e)=>{const _0x1990a5=_0x1e9180,_0x1c130a=Ss(_0x16f90e[_0x1990a5(0xc7)]);for(const _0x42b0e3 of this)if(_0x42b0e3!=_0x16f90e&&Ss(_0x42b0e3[_0x1990a5(0xc7)])===_0x1c130a){this[_0x1990a5(0xc1)](_0x42b0e3);break;}this[_0x1990a5(0xbf)]>0x14&&this[_0x1990a5(0xc1)](this[_0x1990a5(0xc0)]),this[_0x1990a5(0xd3)]();}),this['on'](_0x1e9180(0xc1),()=>{const _0xdb7ec4=_0x1e9180;this[_0xdb7ec4(0xd3)]();});}[_0x8e8d67(0xd5)](){const _0x339fe5=_0x8e8d67,_0x10a923=sessionStorage[_0x339fe5(0xd4)](cs)||'[]';this[_0x339fe5(0xd6)](JSON[_0x339fe5(0xcc)](_0x10a923));}[_0x8e8d67(0xd3)](){const _0x3a5e45=_0x8e8d67;sessionStorage[_0x3a5e45(0xc2)](cs,JSON[_0x3a5e45(0xc6)](this[_0x3a5e45(0xcb)](_0x2a25fa=>_0x2a25fa)));}}function _0xaf4c(){const _0x566c5d=['getItem','_loadFromSessionStorage','addMany','trim','6DVKdMr','length','last','remove','setItem','443997DMRZJj','4375020xVewLp','11926728yMsMTz','stringify','prompt','1462180EafZgL','4578FBFtls','3619AbKHdr','map','parse','10vlxdZj','toLowerCase','21626181lVhkqB','add','1278236zcZyDT','CKEditor/AIFormView/PromptHistory','_saveToSessionStorage'];_0xaf4c=function(){return _0x566c5d;};return _0xaf4c();}function Ss(_0x5e04f5){const _0x2f29f1=_0x8e8d67;return _0x5e04f5[_0x2f29f1(0xce)]()[_0x2f29f1(0xd7)]();}
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)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x309c(){const _0xe95651=['getSelectedBlocks','concat','reduce','model','add','enabledCommandsIds','_commandDefinitions','custom','from','change:isEnabled','element','plugins','ai.aiAssistant.disabledElements','7SkodHN','set','selection','isEnabled','hasContent','get','2783344BcemDE','length','getFirstRange','editor','execute','124CKshyd','commands','getRanges','document','82495FskgtO','430839HKLFxT','getItems','isEmpty','7bpKjKu','name','191414sLQtGp','change:_hasContext','config','2907942iISQZo','40WSvAzB','refresh','_hasContext','isCollapsed','showUI','requiresContent','1658997BWflts','includes','3051741NnNSZQ'];_0x309c=function(){return _0xe95651;};return _0x309c();}const _0x4d8e06=_0x386d;function _0x386d(_0x4997fc,_0x4a06a4){const _0x309cac=_0x309c();return _0x386d=function(_0x386d85,_0x396c4a){_0x386d85=_0x386d85-0xe9;let _0x5ccebb=_0x309cac[_0x386d85];return _0x5ccebb;},_0x386d(_0x4997fc,_0x4a06a4);}(function(_0x28cdc3,_0x5471b5){const _0x53d714=_0x386d,_0x559e83=_0x28cdc3();while(!![]){try{const _0xc8289a=parseInt(_0x53d714(0xed))/0x1*(parseInt(_0x53d714(0x102))/0x2)+-parseInt(_0x53d714(0xfd))/0x3+parseInt(_0x53d714(0xf8))/0x4*(-parseInt(_0x53d714(0xfc))/0x5)+parseInt(_0x53d714(0x105))/0x6*(parseInt(_0x53d714(0x100))/0x7)+parseInt(_0x53d714(0xf3))/0x8+-parseInt(_0x53d714(0x10c))/0x9*(parseInt(_0x53d714(0x106))/0xa)+parseInt(_0x53d714(0x10e))/0xb;if(_0xc8289a===_0x5471b5)break;else _0x559e83['push'](_0x559e83['shift']());}catch(_0x4afb66){_0x559e83['push'](_0x559e83['shift']());}}}(_0x309c,0x5e9d5));import{Command as _0x42b1d7}from'ckeditor5/src/core.js';import _0x2fd323 from'../aiassistantui.js';export default class j extends _0x42b1d7{constructor(_0x59d6b7,_0x2317df){const _0x2175a7=_0x386d;super(_0x59d6b7),this[_0x2175a7(0x115)]=_0x2317df?_0x2317df[_0x2175a7(0x111)]((_0x2d6542,_0x4c6371)=>_0x2d6542[_0x2175a7(0x110)](_0x4c6371[_0x2175a7(0xf9)]),new Array()):[],this[_0x2175a7(0xee)](_0x2175a7(0x114),[]),this['on'](_0x2175a7(0x103),(_0xdd9df2,_0x59029f,_0x432cf7)=>{const _0x47f972=_0x2175a7;this[_0x47f972(0xf0)]&&(this[_0x47f972(0x114)]=K(this[_0x47f972(0x115)],_0x432cf7));}),this[_0x2175a7(0xee)](_0x2175a7(0x108),!0x1),this['on'](_0x2175a7(0xe9),(_0x3114e2,_0x46727d,_0x4bab22)=>{const _0x5cd86c=_0x2175a7;this[_0x5cd86c(0x114)]=_0x4bab22?K(this[_0x5cd86c(0x115)],this[_0x5cd86c(0x108)]):[];});}[_0x4d8e06(0x107)](){const _0x2bb122=_0x4d8e06,_0x231f91=this[_0x2bb122(0xf6)][_0x2bb122(0x112)];this[_0x2bb122(0x108)]=function(_0x4d292b){const _0x326c33=_0x2bb122,_0x6087a2=_0x4d292b[_0x326c33(0xfb)][_0x326c33(0xef)];return _0x6087a2[_0x326c33(0x109)]?0x0!==[..._0x6087a2[_0x326c33(0x10f)]()][_0x326c33(0xf4)]&&![..._0x6087a2[_0x326c33(0x10f)]()][0x0][_0x326c33(0xff)]:!!_0x4d292b[_0x326c33(0xf1)](_0x6087a2[_0x326c33(0xf5)]());}(_0x231f91);const _0x133b53=_0x231f91[_0x2bb122(0xfb)][_0x2bb122(0xef)],_0x1f1a1b=this[_0x2bb122(0xf6)][_0x2bb122(0x104)][_0x2bb122(0xf2)](_0x2bb122(0xec));for(const _0x3eac44 of _0x133b53[_0x2bb122(0xfa)]())for(const _0xb18dd8 of _0x3eac44[_0x2bb122(0xfe)]())if(_0xb18dd8['is'](_0x2bb122(0xea))&&_0x1f1a1b[_0x2bb122(0x10d)](_0xb18dd8[_0x2bb122(0x101)]))return void(this[_0x2bb122(0xf0)]=!0x1);this[_0x2bb122(0xf0)]=!0x0;}[_0x4d8e06(0xf7)](_0x234bc5='',_0x187b0b='',_0x389c50=_0x4d8e06(0x116)){const _0x188a9e=_0x4d8e06;this[_0x188a9e(0xf6)][_0x188a9e(0xeb)][_0x188a9e(0xf2)](_0x2fd323)[_0x188a9e(0x10a)](_0x234bc5,_0x187b0b,_0x389c50);}}function K(_0x4a985f,_0x24ed79){const _0x3fbfb9=_0x4d8e06,_0x4352d5=new Set();for(const _0x1e4cf5 of _0x4a985f)(_0x24ed79||!0x1===_0x1e4cf5[_0x3fbfb9(0x10b)])&&_0x4352d5[_0x3fbfb9(0x113)](_0x1e4cf5['id']);return Array[_0x3fbfb9(0x117)](_0x4352d5);}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x1d9b9d,_0x5b6241,_0x249b16){const t=_0x1d9b9d['t'];switch(_0x5b6241){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',_0x249b16);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',_0x249b16);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',_0x249b16);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x249b16);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'},_0x249b16);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 _0x5b6241;}}
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;}}