@ckeditor/ckeditor5-ai 42.0.0-alpha.14 → 42.0.0-alpha.15

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
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f2c(){const _0x3226e3=['startProcessing','text/html','_normalizeResponseHeadings','htmlProcessor','toModel','```html','endsWith','ELEMENT_NODE','mainAction','rename','domConverter','currentContext','796lEiOjy','_sanitizeHTML','_xmlSerializer','makeRequest','stopProcessing','substring','stopListening','editor','nodeType','previousLabel','reset','2518640NdSqnx','data','2569kwNGQT','viewToDom','_sanitizationContainer','previousContext','push','updateView','value','reverse','length','isRendered','currentResponse','then','_isH1TagSupportEnabled','div','finally','processor','_domParser','prompt','toView','document','serializeToString','stringify','childNodes','_parseAndNormalizeContent','querySelector','editing','173455NybNbW','element','innerHTML','view','282PaTfPY','finishProcessing','previousQuery','369084JQSZoe','destroy','120fSAlSn','_stripMarkdownSyntax','904653lciyCp','setContentOf','```','exec','startsWith','abort','once','custom','handleError','_handleQuery','isProcessing','<h1></h1>','createElement','submitPrompt','1JyHHYA','textAdapter','parseFromString','set:currentContext','render','tryAgainEvent','previousActionId','from','trim','body','listenTo','initialContext','set','catch','20496ttaAhx','remove','8HerZPc','name','match','4136VdTfsk','message'];_0x4f2c=function(){return _0x3226e3;};return _0x4f2c();}const _0x13f48f=_0x5689;(function(_0x40e443,_0x229d99){const _0x5df312=_0x5689,_0x1e931e=_0x40e443();while(!![]){try{const _0x4581ba=-parseInt(_0x5df312(0x219))/0x1*(parseInt(_0x5df312(0x207))/0x2)+-parseInt(_0x5df312(0x209))/0x3*(-parseInt(_0x5df312(0x23a))/0x4)+parseInt(_0x5df312(0x200))/0x5+parseInt(_0x5df312(0x204))/0x6*(-parseInt(_0x5df312(0x1e6))/0x7)+-parseInt(_0x5df312(0x229))/0x8*(parseInt(_0x5df312(0x20b))/0x9)+-parseInt(_0x5df312(0x1e4))/0xa+-parseInt(_0x5df312(0x22c))/0xb*(-parseInt(_0x5df312(0x227))/0xc);if(_0x4581ba===_0x229d99)break;else _0x1e931e['push'](_0x1e931e['shift']());}catch(_0x24722b){_0x1e931e['push'](_0x1e931e['shift']());}}}(_0x4f2c,0x1fe7f));function _0x5689(_0x302b07,_0x58fd5a){const _0x4f2ce9=_0x4f2c();return _0x5689=function(_0x568995,_0x5051a0){_0x568995=_0x568995-0x1e4;let _0x2e30af=_0x4f2ce9[_0x568995];return _0x2e30af;},_0x5689(_0x302b07,_0x58fd5a);}import{ObservableMixin as _0x2bc1bb}from'ckeditor5/src/utils.js';import{AIRequestError as _0x674196}from'../adapters/aiadapter.js';import{Matcher as _0x317aee,UpcastWriter as _0x336fb9}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
- _0x2bc1bb(){constructor(_0x138d82,_0x435043,_0x2c3a5b){const _0x3483e5=_0x5689;super(),this[_0x3483e5(0x241)]=_0x138d82,this[_0x3483e5(0x21a)]=_0x435043,this[_0x3483e5(0x1e8)]=document[_0x3483e5(0x217)](_0x3483e5(0x1f3)),this[_0x3483e5(0x1f6)]=new DOMParser(),this[_0x3483e5(0x23c)]=new XMLSerializer(),this[_0x3483e5(0x203)]=_0x2c3a5b,this[_0x3483e5(0x225)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3483e5(0x21c),(_0x4f45ce,_0x2b911a,_0x3cfa0a)=>{const _0x424ba1=_0x3483e5;this[_0x424ba1(0x203)][_0x424ba1(0x1ec)]=this[_0x424ba1(0x23b)](_0x3cfa0a);}),this[_0x3483e5(0x223)](this[_0x3483e5(0x203)],_0x3483e5(0x218),(_0x53140d,_0x12c2e4)=>{const _0x1e648b=_0x3483e5,_0x156685=this[_0x1e648b(0x239)]||this[_0x1e648b(0x224)];this[_0x1e648b(0x214)](_0x12c2e4,_0x156685,_0x1e648b(0x212));}),this[_0x3483e5(0x223)](this[_0x3483e5(0x203)],_0x3483e5(0x21e),()=>{const _0x238c64=_0x3483e5;this[_0x238c64(0x203)][_0x238c64(0x1f7)]=this[_0x238c64(0x243)],this[_0x238c64(0x214)](this[_0x238c64(0x206)],this[_0x238c64(0x1e9)],this[_0x238c64(0x21f)],this[_0x238c64(0x243)]);}),this[_0x3483e5(0x223)](this[_0x3483e5(0x203)],_0x3483e5(0x23e),()=>{const _0x407695=_0x3483e5;this[_0x407695(0x23e)]();});}[_0x13f48f(0x208)](){const _0x4a7e87=_0x13f48f;this[_0x4a7e87(0x240)]();}async[_0x13f48f(0x1eb)]({actionId:_0x112952,query:_0x2cbe05,htmlContent:_0x455d36,label:_0x99907e,mainActionLabel:_0x1b173b}){const _0x5254ea=_0x13f48f;this[_0x5254ea(0x203)][_0x5254ea(0x1f7)]=_0x99907e,this[_0x5254ea(0x203)][_0x5254ea(0x236)]=_0x1b173b,this[_0x5254ea(0x224)]=_0x455d36,_0x2cbe05&&(this[_0x5254ea(0x203)][_0x5254ea(0x1ef)]?this[_0x5254ea(0x214)](_0x2cbe05,_0x455d36,_0x112952,_0x99907e):this[_0x5254ea(0x203)][_0x5254ea(0x211)](_0x5254ea(0x21d),()=>{const _0x739399=_0x5254ea;this[_0x739399(0x214)](_0x2cbe05,_0x455d36,_0x112952,_0x99907e);}));}[_0x13f48f(0x23e)](){const _0x259474=_0x13f48f;this[_0x259474(0x215)]&&(this[_0x259474(0x215)]=!0x1,this[_0x259474(0x203)][_0x259474(0x205)](),this[_0x259474(0x21a)][_0x259474(0x210)]());}[_0x13f48f(0x244)](){const _0x1e1304=_0x13f48f;this[_0x1e1304(0x224)]='',this[_0x1e1304(0x239)]='',this[_0x1e1304(0x1f0)]='',this[_0x1e1304(0x1e9)]='',this[_0x1e1304(0x206)]='',this[_0x1e1304(0x243)]='',this[_0x1e1304(0x21f)]=void 0x0,this[_0x1e1304(0x203)][_0x1e1304(0x244)](),this[_0x1e1304(0x23e)]();}async[_0x13f48f(0x214)](_0x4860a5,_0x462229,_0x5c1cdd,_0x16f2c6){const _0x5c08cc=_0x13f48f;return this[_0x5c08cc(0x215)]=!0x0,this[_0x5c08cc(0x203)][_0x5c08cc(0x22e)](),this[_0x5c08cc(0x1e9)]=_0x462229,this[_0x5c08cc(0x206)]=_0x4860a5,this[_0x5c08cc(0x243)]=_0x16f2c6||_0x4860a5,this[_0x5c08cc(0x21f)]=_0x5c1cdd,new Promise(_0x22898f=>{const _0x30ca95=_0x5c08cc;this[_0x30ca95(0x21a)][_0x30ca95(0x23d)]({'query':_0x4860a5,'context':_0x462229,'onData':_0x173e57=>{const _0x56e7cd=_0x30ca95;this[_0x56e7cd(0x1f0)]=_0x173e57,this[_0x56e7cd(0x239)]=this[_0x56e7cd(0x1fd)](this[_0x56e7cd(0x1f0)]);},'actionId':_0x5c1cdd})[_0x30ca95(0x1f1)](()=>{const _0x205a2e=_0x30ca95;!this[_0x205a2e(0x239)]&&this[_0x205a2e(0x1f0)]&&(this[_0x205a2e(0x239)]=this[_0x205a2e(0x1fd)](this[_0x205a2e(0x1f0)],!0x0));})[_0x30ca95(0x226)](_0x5f2a03=>{const _0x51a155=_0x30ca95;_0x5f2a03 instanceof _0x674196?this[_0x51a155(0x203)][_0x51a155(0x213)](_0x5f2a03[_0x51a155(0x22d)]):this[_0x51a155(0x203)][_0x51a155(0x213)](),_0x22898f();})[_0x30ca95(0x1f4)](()=>{const _0x4388b4=_0x30ca95;this[_0x4388b4(0x23e)](),_0x22898f();});});}[_0x13f48f(0x1fd)](_0x489f33,_0x1ff7c9=!0x1){const _0x456bea=_0x13f48f,_0x385c50=X[_0x456bea(0x20e)](_0x489f33);_0x489f33=_0x385c50?_0x489f33[_0x456bea(0x23f)](_0x385c50[0x1][_0x456bea(0x1ee)]):_0x489f33[_0x456bea(0x1ee)]<0x64&&!_0x1ff7c9?'':this[_0x456bea(0x20a)](_0x489f33);const _0x241128=this[_0x456bea(0x1f6)][_0x456bea(0x21b)](_0x489f33,_0x456bea(0x22f));if(_0x385c50){const _0x311c17=Array[_0x456bea(0x220)](_0x241128[_0x456bea(0x222)][_0x456bea(0x1fc)]);_0x311c17[_0x456bea(0x1ed)]();for(const _0x23ea5a of _0x311c17){if(_0x23ea5a[_0x456bea(0x242)]==Node[_0x456bea(0x235)])break;_0x23ea5a[_0x456bea(0x228)]();}}const _0x48a91f=this[_0x456bea(0x241)][_0x456bea(0x1e5)][_0x456bea(0x1f5)][_0x456bea(0x1f8)](this[_0x456bea(0x23c)][_0x456bea(0x1fa)](_0x241128[_0x456bea(0x222)]));return this[_0x456bea(0x1f2)]()||this[_0x456bea(0x230)](_0x48a91f),this[_0x456bea(0x241)][_0x456bea(0x1e5)][_0x456bea(0x1fb)](this[_0x456bea(0x241)][_0x456bea(0x1e5)][_0x456bea(0x232)](_0x48a91f));}[_0x13f48f(0x230)](_0x5648c9){const _0x39c74d=_0x13f48f,_0x1e5da3=new _0x336fb9(this[_0x39c74d(0x241)][_0x39c74d(0x1ff)][_0x39c74d(0x203)][_0x39c74d(0x1f9)]),_0x48ef7b=new _0x317aee({'name':/^h[1-5]$/}),_0x547cf3=[];let _0x8f6140=!0x1;for(const _0x1cd5c4 of _0x5648c9)_0x1cd5c4['is'](_0x39c74d(0x201))&&_0x48ef7b[_0x39c74d(0x22b)](_0x1cd5c4)&&(_0x547cf3[_0x39c74d(0x1ea)](_0x1cd5c4),'h1'==_0x1cd5c4[_0x39c74d(0x22a)]&&(_0x8f6140=!0x0));if(_0x8f6140){for(const _0x3d78f1 of _0x547cf3)_0x1e5da3[_0x39c74d(0x237)]('h'+(parseInt(_0x3d78f1[_0x39c74d(0x22a)][0x1])+0x1),_0x3d78f1);}}[_0x13f48f(0x1f2)](){const _0x5cd2d2=_0x13f48f,{data:_0x5db92a,editing:_0x1d0bb8}=this[_0x5cd2d2(0x241)],_0x320fab=_0x5db92a[_0x5cd2d2(0x231)][_0x5cd2d2(0x1f8)](_0x5cd2d2(0x216)),_0x52dfeb=_0x5db92a[_0x5cd2d2(0x1f8)](_0x5db92a[_0x5cd2d2(0x232)](_0x320fab));return!!_0x1d0bb8[_0x5cd2d2(0x203)][_0x5cd2d2(0x238)][_0x5cd2d2(0x1e7)](_0x52dfeb)[_0x5cd2d2(0x1fe)]('h1');}[_0x13f48f(0x23b)](_0x2136b6){const _0x40db9d=_0x13f48f;return this[_0x40db9d(0x241)][_0x40db9d(0x1ff)][_0x40db9d(0x203)][_0x40db9d(0x238)][_0x40db9d(0x20c)](this[_0x40db9d(0x1e8)],_0x2136b6),this[_0x40db9d(0x1e8)][_0x40db9d(0x202)];}[_0x13f48f(0x20a)](_0x235fc2){const _0x1b9ca9=_0x13f48f,_0x54dcd8=_0x235fc2[_0x1b9ca9(0x221)]();return _0x54dcd8[_0x1b9ca9(0x20f)](_0x1b9ca9(0x233))?_0x54dcd8[_0x1b9ca9(0x234)](_0x1b9ca9(0x20d))?_0x54dcd8[_0x1b9ca9(0x23f)](0x7,_0x54dcd8[_0x1b9ca9(0x1ee)]-0x3):_0x54dcd8[_0x1b9ca9(0x23f)](0x7):_0x235fc2;}}
23
+ const _0x8e7e9f=_0x5d68;function _0x2a8f(){const _0x482dd1=['updateView','setContentOf','once','querySelector','toView','<h1></h1>','viewToDom','28639MNVDkl','60ZUGLsJ','remove','data','toModel','_domParser','741416lRJuOs','_handleQuery','_stripMarkdownSyntax','previousActionId','innerHTML','trim','serializeToString','finally','reverse','startsWith','domConverter','1763432iZvAaY','destroy','from','currentResponse','listenTo','_sanitizationContainer','78cpOXgD','prompt','currentContext','editor','isProcessing','message','textAdapter','stopListening','createElement','processor','rename','value','```','substring','ELEMENT_NODE','30kHzynS','mainAction','parseFromString','9HJrFSg','push','3059169mUiAyF','endsWith','previousLabel','_xmlSerializer','nodeType','abort','finishProcessing','startProcessing','text/html','```html','makeRequest','match','childNodes','isRendered','_normalizeResponseHeadings','editing','length','handleError','catch','render','tryAgainEvent','submitPrompt','_isH1TagSupportEnabled','10ZFfJVY','stringify','previousQuery','exec','stopProcessing','_sanitizeHTML','1630559CylSXB','reset','then','element','initialContext','body','name','1365016nFigJh','div','set','previousContext','custom','3416844ZUAAhF','htmlProcessor','set:currentContext','view','document','28tOlCWJ','_parseAndNormalizeContent'];_0x2a8f=function(){return _0x482dd1;};return _0x2a8f();}(function(_0x150511,_0x58a090){const _0x5d876a=_0x5d68,_0x234859=_0x150511();while(!![]){try{const _0x2bd156=parseInt(_0x5d876a(0x184))/0x1*(parseInt(_0x5d876a(0x17b))/0x2)+parseInt(_0x5d876a(0x14d))/0x3+parseInt(_0x5d876a(0x171))/0x4*(parseInt(_0x5d876a(0x164))/0x5)+-parseInt(_0x5d876a(0x148))/0x6*(-parseInt(_0x5d876a(0x16a))/0x7)+parseInt(_0x5d876a(0x128))/0x8*(parseInt(_0x5d876a(0x14b))/0x9)+parseInt(_0x5d876a(0x185))/0xa*(-parseInt(_0x5d876a(0x133))/0xb)+parseInt(_0x5d876a(0x176))/0xc*(-parseInt(_0x5d876a(0x139))/0xd);if(_0x2bd156===_0x58a090)break;else _0x234859['push'](_0x234859['shift']());}catch(_0x409cfe){_0x234859['push'](_0x234859['shift']());}}}(_0x2a8f,0xa8845));import{ObservableMixin as _0x235ca1}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4bebda}from'../adapters/aiadapter.js';function _0x5d68(_0x20a487,_0x5b44b6){const _0x2a8fc0=_0x2a8f();return _0x5d68=function(_0x5d68a8,_0x46e987){_0x5d68a8=_0x5d68a8-0x126;let _0x38a520=_0x2a8fc0[_0x5d68a8];return _0x38a520;},_0x5d68(_0x20a487,_0x5b44b6);}import{Matcher as _0x44ab13,UpcastWriter as _0x27d135}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
+ _0x235ca1(){constructor(_0x4f55c4,_0x5e9fdb,_0x2c79f5){const _0x3ef90b=_0x5d68;super(),this[_0x3ef90b(0x13c)]=_0x4f55c4,this[_0x3ef90b(0x13f)]=_0x5e9fdb,this[_0x3ef90b(0x138)]=document[_0x3ef90b(0x141)](_0x3ef90b(0x172)),this[_0x3ef90b(0x127)]=new DOMParser(),this[_0x3ef90b(0x150)]=new XMLSerializer(),this[_0x3ef90b(0x179)]=_0x2c79f5,this[_0x3ef90b(0x173)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3ef90b(0x178),(_0x5030c0,_0x53e6a9,_0x3cde3a)=>{const _0x1817b4=_0x3ef90b;this[_0x1817b4(0x179)][_0x1817b4(0x144)]=this[_0x1817b4(0x169)](_0x3cde3a);}),this[_0x3ef90b(0x137)](this[_0x3ef90b(0x179)],_0x3ef90b(0x162),(_0x2e069f,_0x27c06a)=>{const _0x2c7aaf=_0x3ef90b,_0x212aa7=this[_0x2c7aaf(0x13b)]||this[_0x2c7aaf(0x16e)];this[_0x2c7aaf(0x129)](_0x27c06a,_0x212aa7,_0x2c7aaf(0x175));}),this[_0x3ef90b(0x137)](this[_0x3ef90b(0x179)],_0x3ef90b(0x161),()=>{const _0x20dd81=_0x3ef90b;this[_0x20dd81(0x179)][_0x20dd81(0x13a)]=this[_0x20dd81(0x14f)],this[_0x20dd81(0x129)](this[_0x20dd81(0x166)],this[_0x20dd81(0x174)],this[_0x20dd81(0x12b)],this[_0x20dd81(0x14f)]);}),this[_0x3ef90b(0x137)](this[_0x3ef90b(0x179)],_0x3ef90b(0x168),()=>{const _0x308c82=_0x3ef90b;this[_0x308c82(0x168)]();});}[_0x8e7e9f(0x134)](){const _0x1119d0=_0x8e7e9f;this[_0x1119d0(0x140)]();}async[_0x8e7e9f(0x17d)]({actionId:_0x4fc544,query:_0x1469a1,htmlContent:_0x519258,label:_0x2d7f9e,mainActionLabel:_0x1e4d5c}){const _0x14ec71=_0x8e7e9f;this[_0x14ec71(0x179)][_0x14ec71(0x13a)]=_0x2d7f9e,this[_0x14ec71(0x179)][_0x14ec71(0x149)]=_0x1e4d5c,this[_0x14ec71(0x16e)]=_0x519258,_0x1469a1&&(this[_0x14ec71(0x179)][_0x14ec71(0x15a)]?this[_0x14ec71(0x129)](_0x1469a1,_0x519258,_0x4fc544,_0x2d7f9e):this[_0x14ec71(0x179)][_0x14ec71(0x17f)](_0x14ec71(0x160),()=>{const _0x5c7837=_0x14ec71;this[_0x5c7837(0x129)](_0x1469a1,_0x519258,_0x4fc544,_0x2d7f9e);}));}[_0x8e7e9f(0x168)](){const _0x2646c9=_0x8e7e9f;this[_0x2646c9(0x13d)]&&(this[_0x2646c9(0x13d)]=!0x1,this[_0x2646c9(0x179)][_0x2646c9(0x153)](),this[_0x2646c9(0x13f)][_0x2646c9(0x152)]());}[_0x8e7e9f(0x16b)](){const _0x1bc79a=_0x8e7e9f;this[_0x1bc79a(0x16e)]='',this[_0x1bc79a(0x13b)]='',this[_0x1bc79a(0x136)]='',this[_0x1bc79a(0x174)]='',this[_0x1bc79a(0x166)]='',this[_0x1bc79a(0x14f)]='',this[_0x1bc79a(0x12b)]=void 0x0,this[_0x1bc79a(0x179)][_0x1bc79a(0x16b)](),this[_0x1bc79a(0x168)]();}async[_0x8e7e9f(0x129)](_0xe62cd6,_0x102938,_0x37f870,_0x1bf92b){const _0x4a72f5=_0x8e7e9f;return this[_0x4a72f5(0x13d)]=!0x0,this[_0x4a72f5(0x179)][_0x4a72f5(0x154)](),this[_0x4a72f5(0x174)]=_0x102938,this[_0x4a72f5(0x166)]=_0xe62cd6,this[_0x4a72f5(0x14f)]=_0x1bf92b||_0xe62cd6,this[_0x4a72f5(0x12b)]=_0x37f870,new Promise(_0xe07101=>{const _0x261619=_0x4a72f5;this[_0x261619(0x13f)][_0x261619(0x157)]({'query':_0xe62cd6,'context':_0x102938,'onData':_0x456ee5=>{const _0x1a6f06=_0x261619;this[_0x1a6f06(0x136)]=_0x456ee5,this[_0x1a6f06(0x13b)]=this[_0x1a6f06(0x17c)](this[_0x1a6f06(0x136)]);},'actionId':_0x37f870})[_0x261619(0x16c)](()=>{const _0x41f616=_0x261619;!this[_0x41f616(0x13b)]&&this[_0x41f616(0x136)]&&(this[_0x41f616(0x13b)]=this[_0x41f616(0x17c)](this[_0x41f616(0x136)],!0x0));})[_0x261619(0x15f)](_0x3bf5d1=>{const _0x3a2954=_0x261619;_0x3bf5d1 instanceof _0x4bebda?this[_0x3a2954(0x179)][_0x3a2954(0x15e)](_0x3bf5d1[_0x3a2954(0x13e)]):this[_0x3a2954(0x179)][_0x3a2954(0x15e)](),_0xe07101();})[_0x261619(0x12f)](()=>{const _0x29f16d=_0x261619;this[_0x29f16d(0x168)](),_0xe07101();});});}[_0x8e7e9f(0x17c)](_0x2add6f,_0x22869e=!0x1){const _0x2089ce=_0x8e7e9f,_0x886d48=X[_0x2089ce(0x167)](_0x2add6f);_0x2add6f=_0x886d48?_0x2add6f[_0x2089ce(0x146)](_0x886d48[0x1][_0x2089ce(0x15d)]):_0x2add6f[_0x2089ce(0x15d)]<0x64&&!_0x22869e?'':this[_0x2089ce(0x12a)](_0x2add6f);const _0x2fe758=this[_0x2089ce(0x127)][_0x2089ce(0x14a)](_0x2add6f,_0x2089ce(0x155));if(_0x886d48){const _0x56c73e=Array[_0x2089ce(0x135)](_0x2fe758[_0x2089ce(0x16f)][_0x2089ce(0x159)]);_0x56c73e[_0x2089ce(0x130)]();for(const _0x41cc78 of _0x56c73e){if(_0x41cc78[_0x2089ce(0x151)]==Node[_0x2089ce(0x147)])break;_0x41cc78[_0x2089ce(0x186)]();}}const _0x2149f4=this[_0x2089ce(0x13c)][_0x2089ce(0x187)][_0x2089ce(0x142)][_0x2089ce(0x181)](this[_0x2089ce(0x150)][_0x2089ce(0x12e)](_0x2fe758[_0x2089ce(0x16f)]));return this[_0x2089ce(0x163)]()||this[_0x2089ce(0x15b)](_0x2149f4),this[_0x2089ce(0x13c)][_0x2089ce(0x187)][_0x2089ce(0x165)](this[_0x2089ce(0x13c)][_0x2089ce(0x187)][_0x2089ce(0x126)](_0x2149f4));}[_0x8e7e9f(0x15b)](_0x5598f7){const _0x4440fa=_0x8e7e9f,_0x72b1f0=new _0x27d135(this[_0x4440fa(0x13c)][_0x4440fa(0x15c)][_0x4440fa(0x179)][_0x4440fa(0x17a)]),_0x1eaf48=new _0x44ab13({'name':/^h[1-5]$/}),_0x28f945=[];let _0xd5bc2f=!0x1;for(const _0x4be2bb of _0x5598f7)_0x4be2bb['is'](_0x4440fa(0x16d))&&_0x1eaf48[_0x4440fa(0x158)](_0x4be2bb)&&(_0x28f945[_0x4440fa(0x14c)](_0x4be2bb),'h1'==_0x4be2bb[_0x4440fa(0x170)]&&(_0xd5bc2f=!0x0));if(_0xd5bc2f){for(const _0x5ef622 of _0x28f945)_0x72b1f0[_0x4440fa(0x143)]('h'+(parseInt(_0x5ef622[_0x4440fa(0x170)][0x1])+0x1),_0x5ef622);}}[_0x8e7e9f(0x163)](){const _0x1cc7ca=_0x8e7e9f,{data:_0x476b28,editing:_0x12a443}=this[_0x1cc7ca(0x13c)],_0x3646aa=_0x476b28[_0x1cc7ca(0x177)][_0x1cc7ca(0x181)](_0x1cc7ca(0x182)),_0x306b3d=_0x476b28[_0x1cc7ca(0x181)](_0x476b28[_0x1cc7ca(0x126)](_0x3646aa));return!!_0x12a443[_0x1cc7ca(0x179)][_0x1cc7ca(0x132)][_0x1cc7ca(0x183)](_0x306b3d)[_0x1cc7ca(0x180)]('h1');}[_0x8e7e9f(0x169)](_0x4cc52b){const _0x5d7488=_0x8e7e9f;return this[_0x5d7488(0x13c)][_0x5d7488(0x15c)][_0x5d7488(0x179)][_0x5d7488(0x132)][_0x5d7488(0x17e)](this[_0x5d7488(0x138)],_0x4cc52b),this[_0x5d7488(0x138)][_0x5d7488(0x12c)];}[_0x8e7e9f(0x12a)](_0x13ca9e){const _0x4c9fd7=_0x8e7e9f,_0x3c0691=_0x13ca9e[_0x4c9fd7(0x12d)]();return _0x3c0691[_0x4c9fd7(0x131)](_0x4c9fd7(0x156))?_0x3c0691[_0x4c9fd7(0x14e)](_0x4c9fd7(0x145))?_0x3c0691[_0x4c9fd7(0x146)](0x7,_0x3c0691[_0x4c9fd7(0x15d)]-0x3):_0x3c0691[_0x4c9fd7(0x146)](0x7):_0x13ca9e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1078(_0x30673c,_0x51fe8e){const _0x97584=_0x9758();return _0x1078=function(_0x1078a7,_0x1be24a){_0x1078a7=_0x1078a7-0x144;let _0x3f0ce6=_0x97584[_0x1078a7];return _0x3f0ce6;},_0x1078(_0x30673c,_0x51fe8e);}const _0x173e9e=_0x1078;(function(_0x1aa550,_0xe8576e){const _0x54bb23=_0x1078,_0x15b3f1=_0x1aa550();while(!![]){try{const _0x46a0ac=-parseInt(_0x54bb23(0x14e))/0x1+-parseInt(_0x54bb23(0x149))/0x2+-parseInt(_0x54bb23(0x150))/0x3+-parseInt(_0x54bb23(0x15f))/0x4+parseInt(_0x54bb23(0x15c))/0x5*(-parseInt(_0x54bb23(0x15a))/0x6)+-parseInt(_0x54bb23(0x151))/0x7*(parseInt(_0x54bb23(0x158))/0x8)+parseInt(_0x54bb23(0x15d))/0x9;if(_0x46a0ac===_0xe8576e)break;else _0x15b3f1['push'](_0x15b3f1['shift']());}catch(_0x108e00){_0x15b3f1['push'](_0x15b3f1['shift']());}}}(_0x9758,0x569af));function _0x9758(){const _0x4c2d1f=['get','167010wlRiVz','set','1825101XAjIsk','24171wjRHPs','isVisible','first','listbox','children','highlightText','length','88vCvguV','commandDefinition','996jIyeav','labelView','16280UiHYRy','19530387cJTmwN','includes','600440DrniFF','items','filter','isEnabled','role','label','622684vFuRQR','enabledCommandsIds','change:enabledCommandsIds','match'];_0x9758=function(){return _0x4c2d1f;};return _0x9758();}import{ListView as _0x3b8196,ListItemGroupView as _0x5016f7}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x198c93}from'../../aiassistantui.js';export default class U extends _0x3b8196{constructor(_0x230dec){const _0x48655b=_0x1078;super(_0x230dec),this[_0x48655b(0x147)]=_0x48655b(0x154),this[_0x48655b(0x14f)](_0x48655b(0x14a),[]),this['on'](_0x48655b(0x14b),()=>{const _0x58817c=_0x48655b;for(const _0x5c92b6 of this[_0x58817c(0x144)])if(_0x5c92b6 instanceof _0x5016f7){for(const _0x41fb2e of _0x5c92b6[_0x58817c(0x144)])if(_0x41fb2e instanceof _0x198c93){const _0x4ebbf2=_0x41fb2e[_0x58817c(0x155)][_0x58817c(0x14d)](0x0);this[_0x58817c(0x14a)][_0x58817c(0x15e)](_0x41fb2e[_0x58817c(0x159)]['id'])?_0x4ebbf2[_0x58817c(0x146)]=!0x0:_0x4ebbf2[_0x58817c(0x146)]=!0x1;}}});}[_0x173e9e(0x145)](_0x5becc6){const _0x46e694=_0x173e9e;let _0x3649e1=0x0,_0x264615=0x0;for(const _0x3ccfe3 of this[_0x46e694(0x144)]){const _0x27e9df=_0x3ccfe3,_0x5077ff=_0x27e9df[_0x46e694(0x144)],_0x4e6a02=_0x5becc6&&!!_0x27e9df[_0x46e694(0x148)][_0x46e694(0x14c)](_0x5becc6);_0x27e9df[_0x46e694(0x15b)][_0x46e694(0x156)](_0x4e6a02?_0x5becc6:null);for(const _0x195f9a of _0x5077ff){const _0x576517=_0x195f9a[_0x46e694(0x155)][_0x46e694(0x153)],_0x52e6c1=_0x576517[_0x46e694(0x15b)];if(_0x5becc6){const _0x334016=!!_0x576517[_0x46e694(0x148)][_0x46e694(0x14c)](_0x5becc6);_0x52e6c1[_0x46e694(0x156)](_0x334016?_0x5becc6:null),_0x195f9a[_0x46e694(0x152)]=_0x4e6a02||_0x334016;}else _0x195f9a[_0x46e694(0x152)]=!0x0,_0x52e6c1[_0x46e694(0x156)](null);}const _0x433fbc=_0x5077ff[_0x46e694(0x145)](_0xe847f4=>_0xe847f4[_0x46e694(0x152)])[_0x46e694(0x157)];_0x3649e1+=_0x27e9df[_0x46e694(0x144)][_0x46e694(0x157)],_0x264615+=_0x4e6a02?_0x27e9df[_0x46e694(0x144)][_0x46e694(0x157)]:_0x433fbc,_0x27e9df[_0x46e694(0x152)]=_0x4e6a02||!!_0x433fbc;}return{'resultsCount':_0x264615,'totalItemsCount':_0x3649e1};}}
23
+ function _0x1769(_0x371007,_0x26d407){const _0x9d2aa5=_0x9d2a();return _0x1769=function(_0x1769b6,_0x4e8cdd){_0x1769b6=_0x1769b6-0xe3;let _0x15834f=_0x9d2aa5[_0x1769b6];return _0x15834f;},_0x1769(_0x371007,_0x26d407);}const _0x5ce9ca=_0x1769;function _0x9d2a(){const _0x592750=['change:enabledCommandsIds','1699504DCOCEI','length','commandDefinition','filter','1115952vRDwVr','children','get','603hYWOax','first','set','labelView','2NVoAwk','7648610rhsshY','highlightText','match','1232uFiBfx','role','61284UeJUQL','includes','listbox','label','78671180TRZEKv','items','isVisible','enabledCommandsIds','179208jtpKoV','1515489WjtObT','isEnabled'];_0x9d2a=function(){return _0x592750;};return _0x9d2a();}(function(_0x68dd93,_0x5a6208){const _0x4a4e1d=_0x1769,_0xa3a15a=_0x68dd93();while(!![]){try{const _0x569dc3=-parseInt(_0x4a4e1d(0xee))/0x1+parseInt(_0x4a4e1d(0xf5))/0x2*(-parseInt(_0x4a4e1d(0xe7))/0x3)+-parseInt(_0x4a4e1d(0xea))/0x4+-parseInt(_0x4a4e1d(0xf6))/0x5+parseInt(_0x4a4e1d(0xfb))/0x6*(-parseInt(_0x4a4e1d(0xf9))/0x7)+-parseInt(_0x4a4e1d(0xe6))/0x8*(parseInt(_0x4a4e1d(0xf1))/0x9)+parseInt(_0x4a4e1d(0xff))/0xa;if(_0x569dc3===_0x5a6208)break;else _0xa3a15a['push'](_0xa3a15a['shift']());}catch(_0x4712e9){_0xa3a15a['push'](_0xa3a15a['shift']());}}}(_0x9d2a,0xf266a));import{ListView as _0x406e0f,ListItemGroupView as _0x3958e5}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x2083e6}from'../../aiassistantui.js';export default class U extends _0x406e0f{constructor(_0x4679c7){const _0x212632=_0x1769;super(_0x4679c7),this[_0x212632(0xfa)]=_0x212632(0xfd),this[_0x212632(0xf3)](_0x212632(0xe5),[]),this['on'](_0x212632(0xe9),()=>{const _0x15909e=_0x212632;for(const _0x45dbdb of this[_0x15909e(0xe3)])if(_0x45dbdb instanceof _0x3958e5){for(const _0x3f2716 of _0x45dbdb[_0x15909e(0xe3)])if(_0x3f2716 instanceof _0x2083e6){const _0x42b67a=_0x3f2716[_0x15909e(0xef)][_0x15909e(0xf0)](0x0);this[_0x15909e(0xe5)][_0x15909e(0xfc)](_0x3f2716[_0x15909e(0xec)]['id'])?_0x42b67a[_0x15909e(0xe8)]=!0x0:_0x42b67a[_0x15909e(0xe8)]=!0x1;}}});}[_0x5ce9ca(0xed)](_0x370d10){const _0x430313=_0x5ce9ca;let _0x2d3048=0x0,_0x225a1a=0x0;for(const _0x3ba2c4 of this[_0x430313(0xe3)]){const _0xa1cf61=_0x3ba2c4,_0x14ae6a=_0xa1cf61[_0x430313(0xe3)],_0xc87273=_0x370d10&&!!_0xa1cf61[_0x430313(0xfe)][_0x430313(0xf8)](_0x370d10);_0xa1cf61[_0x430313(0xf4)][_0x430313(0xf7)](_0xc87273?_0x370d10:null);for(const _0x119557 of _0x14ae6a){const _0xc84efd=_0x119557[_0x430313(0xef)][_0x430313(0xf2)],_0x509ae5=_0xc84efd[_0x430313(0xf4)];if(_0x370d10){const _0x27736e=!!_0xc84efd[_0x430313(0xfe)][_0x430313(0xf8)](_0x370d10);_0x509ae5[_0x430313(0xf7)](_0x27736e?_0x370d10:null),_0x119557[_0x430313(0xe4)]=_0xc87273||_0x27736e;}else _0x119557[_0x430313(0xe4)]=!0x0,_0x509ae5[_0x430313(0xf7)](null);}const _0x246bda=_0x14ae6a[_0x430313(0xed)](_0x32b18f=>_0x32b18f[_0x430313(0xe4)])[_0x430313(0xeb)];_0x2d3048+=_0xa1cf61[_0x430313(0xe3)][_0x430313(0xeb)],_0x225a1a+=_0xc87273?_0xa1cf61[_0x430313(0xe3)][_0x430313(0xeb)]:_0x246bda,_0xa1cf61[_0x430313(0xe4)]=_0xc87273||!!_0x246bda;}return{'resultsCount':_0x225a1a,'totalItemsCount':_0x2d3048};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x38e4(){const _0x37a757=['528106lYXgnc','6tKDoUJ','472SCHSzK','style','3212770hnGSYZ','42428016GBrHhz','108rxpNaZ','1HruRDV','745260LqvKst','extendTemplate','14NnaILc','976168Wcgnrx','set','bindTemplate','3825BNkxhg','ck-button__label','4257990NljBIp'];_0x38e4=function(){return _0x37a757;};return _0x38e4();}function _0x34b7(_0x2dca41,_0x1ce6d0){const _0x38e430=_0x38e4();return _0x34b7=function(_0x34b70e,_0x130aa3){_0x34b70e=_0x34b70e-0x180;let _0x333224=_0x38e430[_0x34b70e];return _0x333224;},_0x34b7(_0x2dca41,_0x1ce6d0);}(function(_0x5f350a,_0x4ca399){const _0x59ac36=_0x34b7,_0x188635=_0x5f350a();while(!![]){try{const _0x5db66e=-parseInt(_0x59ac36(0x181))/0x1*(parseInt(_0x59ac36(0x18b))/0x2)+parseInt(_0x59ac36(0x188))/0x3*(-parseInt(_0x59ac36(0x18d))/0x4)+parseInt(_0x59ac36(0x18f))/0x5*(-parseInt(_0x59ac36(0x18c))/0x6)+-parseInt(_0x59ac36(0x184))/0x7*(parseInt(_0x59ac36(0x185))/0x8)+parseInt(_0x59ac36(0x180))/0x9*(-parseInt(_0x59ac36(0x182))/0xa)+-parseInt(_0x59ac36(0x18a))/0xb+parseInt(_0x59ac36(0x190))/0xc;if(_0x5db66e===_0x4ca399)break;else _0x188635['push'](_0x188635['shift']());}catch(_0x5e07d4){_0x188635['push'](_0x188635['shift']());}}}(_0x38e4,0xe8b4f));import{HighlightedTextView as _0xc6c94}from'ckeditor5/src/ui.js';export default class N extends _0xc6c94{constructor(){const _0x549e90=_0x34b7;super(),this[_0x549e90(0x186)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x3afbf4=this[_0x549e90(0x187)];this[_0x549e90(0x183)]({'attributes':{'class':[_0x549e90(0x189)],'style':_0x3afbf4['to'](_0x549e90(0x18e)),'id':_0x3afbf4['to']('id')}});}}
23
+ (function(_0x5bb60a,_0x915518){const _0x28d9f6=_0x4c3a,_0x483e7a=_0x5bb60a();while(!![]){try{const _0x59b9bf=-parseInt(_0x28d9f6(0xc1))/0x1+-parseInt(_0x28d9f6(0xc0))/0x2*(parseInt(_0x28d9f6(0xb4))/0x3)+-parseInt(_0x28d9f6(0xb6))/0x4*(-parseInt(_0x28d9f6(0xc3))/0x5)+-parseInt(_0x28d9f6(0xba))/0x6*(parseInt(_0x28d9f6(0xc4))/0x7)+parseInt(_0x28d9f6(0xbb))/0x8*(-parseInt(_0x28d9f6(0xb9))/0x9)+-parseInt(_0x28d9f6(0xc2))/0xa*(parseInt(_0x28d9f6(0xbf))/0xb)+-parseInt(_0x28d9f6(0xb7))/0xc*(-parseInt(_0x28d9f6(0xbc))/0xd);if(_0x59b9bf===_0x915518)break;else _0x483e7a['push'](_0x483e7a['shift']());}catch(_0x181f19){_0x483e7a['push'](_0x483e7a['shift']());}}}(_0x5ee9,0x41b4f));import{HighlightedTextView as _0x2999e4}from'ckeditor5/src/ui.js';function _0x4c3a(_0x225877,_0x56a320){const _0x5ee997=_0x5ee9();return _0x4c3a=function(_0x4c3a0e,_0x5729d2){_0x4c3a0e=_0x4c3a0e-0xb4;let _0x182e83=_0x5ee997[_0x4c3a0e];return _0x182e83;},_0x4c3a(_0x225877,_0x56a320);}export default class N extends _0x2999e4{constructor(){const _0x1097e4=_0x4c3a;super(),this[_0x1097e4(0xb8)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x295725=this[_0x1097e4(0xb5)];this[_0x1097e4(0xc5)]({'attributes':{'class':[_0x1097e4(0xbe)],'style':_0x295725['to'](_0x1097e4(0xbd)),'id':_0x295725['to']('id')}});}}function _0x5ee9(){const _0x1444df=['3905bMotPk','1942OaueZh','49161jsTAgy','100dDttHG','65cnziob','7quAtSa','extendTemplate','252jdIbhd','bindTemplate','119972znujTJ','156tHLSNC','set','2097bbCZPO','464982UZVvqu','9032hSVyIT','354055MAXgfT','style','ck-button__label'];_0x5ee9=function(){return _0x1444df;};return _0x5ee9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1038(_0x2824b3,_0x12b50f){const _0x57e23f=_0x57e2();return _0x1038=function(_0x103852,_0x5e52f7){_0x103852=_0x103852-0xec;let _0x5c5e38=_0x57e23f[_0x103852];return _0x5c5e38;},_0x1038(_0x2824b3,_0x12b50f);}function _0x57e2(){const _0x38e4c6=['1154857cpBpLe','124VluRGA','9Zmuxjn','ck-editor__label_','910482NJRheY','bindTemplate','ck-label','529547NisNzG','104694ZlHgIH','50XzWchS','978392OcqjIv','for','1162035PJfTUS','set','10gGZlki','16698krsaVx','extendTemplate'];_0x57e2=function(){return _0x38e4c6;};return _0x57e2();}(function(_0xd1de41,_0x3d94ef){const _0x57583d=_0x1038,_0x41b431=_0xd1de41();while(!![]){try{const _0x46db74=-parseInt(_0x57583d(0xf6))/0x1+parseInt(_0x57583d(0xf3))/0x2+-parseInt(_0x57583d(0xed))/0x3*(parseInt(_0x57583d(0xf0))/0x4)+parseInt(_0x57583d(0xf8))/0x5*(parseInt(_0x57583d(0xf7))/0x6)+parseInt(_0x57583d(0xfb))/0x7+parseInt(_0x57583d(0xf9))/0x8*(parseInt(_0x57583d(0xf1))/0x9)+-parseInt(_0x57583d(0xec))/0xa*(-parseInt(_0x57583d(0xef))/0xb);if(_0x46db74===_0x3d94ef)break;else _0x41b431['push'](_0x41b431['shift']());}catch(_0x50a1b2){_0x41b431['push'](_0x41b431['shift']());}}}(_0x57e2,0x4e5a1));import{HighlightedTextView as _0x399ec3}from'ckeditor5/src/ui.js';import{uid as _0x1267ab}from'ckeditor5/src/utils.js';export default class S extends _0x399ec3{constructor(){const _0x5f02b9=_0x1038;super(),this[_0x5f02b9(0xfc)](_0x5f02b9(0xfa),void 0x0);const _0x4617e2=this[_0x5f02b9(0xf4)];this['id']=_0x5f02b9(0xf2)+_0x1267ab(),this[_0x5f02b9(0xee)]({'attributes':{'class':['ck',_0x5f02b9(0xf5)],'id':this['id'],'for':_0x4617e2['to'](_0x5f02b9(0xfa))}});}}
23
+ function _0x40f4(_0x9c41b4,_0x480b5e){const _0xc1db0c=_0xc1db();return _0x40f4=function(_0x40f457,_0x1d70bb){_0x40f457=_0x40f457-0x187;let _0x13253f=_0xc1db0c[_0x40f457];return _0x13253f;},_0x40f4(_0x9c41b4,_0x480b5e);}function _0xc1db(){const _0x595b27=['set','12cNjydX','36228ZWJqpm','3767790BxkTDu','925397NzCXxn','bindTemplate','258RLKylS','ck-label','35833JbBmBd','ck-editor__label_','90198yrLTXF','1389UPmozL','70SRPhrW','64TEoTBU','24360720wRJhLk','4860xKCWnY','extendTemplate','for'];_0xc1db=function(){return _0x595b27;};return _0xc1db();}(function(_0x3fbec3,_0x10c69e){const _0x5f18c6=_0x40f4,_0x84706d=_0x3fbec3();while(!![]){try{const _0x5df482=parseInt(_0x5f18c6(0x191))/0x1*(parseInt(_0x5f18c6(0x190))/0x2)+parseInt(_0x5f18c6(0x188))/0x3*(parseInt(_0x5f18c6(0x18c))/0x4)+parseInt(_0x5f18c6(0x192))/0x5+parseInt(_0x5f18c6(0x195))/0x6*(parseInt(_0x5f18c6(0x197))/0x7)+parseInt(_0x5f18c6(0x18a))/0x8*(parseInt(_0x5f18c6(0x187))/0x9)+parseInt(_0x5f18c6(0x189))/0xa*(parseInt(_0x5f18c6(0x193))/0xb)+-parseInt(_0x5f18c6(0x18b))/0xc;if(_0x5df482===_0x10c69e)break;else _0x84706d['push'](_0x84706d['shift']());}catch(_0x4eba2d){_0x84706d['push'](_0x84706d['shift']());}}}(_0xc1db,0x5fd91));import{HighlightedTextView as _0x4d7bde}from'ckeditor5/src/ui.js';import{uid as _0x13450b}from'ckeditor5/src/utils.js';export default class S extends _0x4d7bde{constructor(){const _0x15175c=_0x40f4;super(),this[_0x15175c(0x18f)](_0x15175c(0x18e),void 0x0);const _0x453a3a=this[_0x15175c(0x194)];this['id']=_0x15175c(0x198)+_0x13450b(),this[_0x15175c(0x18d)]({'attributes':{'class':['ck',_0x15175c(0x196)],'id':this['id'],'for':_0x453a3a['to'](_0x15175c(0x18e))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x274083=_0x125c;(function(_0x17e579,_0x523bf7){const _0x19204c=_0x125c,_0x2d4121=_0x17e579();while(!![]){try{const _0x154172=parseInt(_0x19204c(0x1a5))/0x1*(-parseInt(_0x19204c(0x1a4))/0x2)+parseInt(_0x19204c(0x19a))/0x3+-parseInt(_0x19204c(0x1a6))/0x4*(parseInt(_0x19204c(0x1c9))/0x5)+parseInt(_0x19204c(0x1a9))/0x6*(parseInt(_0x19204c(0x1cf))/0x7)+parseInt(_0x19204c(0x1be))/0x8*(-parseInt(_0x19204c(0x196))/0x9)+-parseInt(_0x19204c(0x1e2))/0xa+parseInt(_0x19204c(0x1ca))/0xb;if(_0x154172===_0x523bf7)break;else _0x2d4121['push'](_0x2d4121['shift']());}catch(_0x3d1d76){_0x2d4121['push'](_0x2d4121['shift']());}}}(_0x260b,0x6bf36));function _0x125c(_0x7d7f3,_0x37e835){const _0x260b25=_0x260b();return _0x125c=function(_0x125c53,_0x39552f){_0x125c53=_0x125c53-0x18f;let _0x55b63f=_0x260b25[_0x125c53];return _0x55b63f;},_0x125c(_0x7d7f3,_0x37e835);}import{global as _0x15ae43}from'ckeditor5/src/utils.js';import{View as _0x35f761,ButtonView as _0x5aa58d,SpinnerView as _0x21af91}from'ckeditor5/src/ui.js';import _0x562526 from'../../../theme/icons/copy.svg';function _0x260b(){const _0x2c075c=['\x20ck-ai-form__copy-button--copied','setEndBefore','6562312TPwIEE','setContent','.ck-ai-form__loader','firstElementChild','textContent','element','loaderView','execute','ck-ai-form__copy-button-wrapper','ck-ai-form__content-field','scrollHeight','70370CmkMno','18143268gPgRTt','change:isProcessing','setStartAfter','style','div','1726060szcver','ClipboardItem','write','lastElementChild','ck-ai-form__content-area-wrapper','createElement','text/plain','icon','ck-ai-form__loader','class','ck-ai-form__content-area','copy','appendChild','text/html','ck-ai-form__copy-button','addRange','appendLoader','focus','querySelector','4636740qKGfcg','locale','removeAllRanges','_createLoader','execCommand','isProcessing','contentFieldView','change:value','isEnabled','ck-hidden','set','9VHNKKz','ck-content','setTemplate','_createCopyButton','1556229cSacQe','render','getSelection','Copy','_copyHTMLToClipboard','mousedown','isVisible','wheel','copyButtonView','value','364NTrpdZ','3437LOdZZM','88RsvxhE','innerHTML','AI\x20is\x20writing...','12eSNDfj','scrollTo','bind','-9999px','smooth','<span>]</span>','body','ck-reset_all-excluded','position','createRange','remove','bindTemplate','listenTo','absolute','check','<span>[</span>','ck-ai-form__content-area--processing','left','clipboard'];_0x260b=function(){return _0x2c075c;};return _0x260b();}import{getTranslation as _0x52be61}from'../../utils/common-translations.js';import{icons as _0x25a137}from'ckeditor5/src/core.js';export default class nt extends _0x35f761{constructor(_0x230db8,_0x55b877=''){const _0x53e126=_0x125c;super(_0x230db8),this[_0x53e126(0x195)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x467e6c=this[_0x53e126(0x1b4)];this[_0x53e126(0x191)]=new ContentFieldView(_0x230db8,_0x55b877),this[_0x53e126(0x1a2)]=this[_0x53e126(0x199)](),this[_0x53e126(0x198)]({'tag':_0x53e126(0x1ce),'attributes':{'class':['ck',_0x53e126(0x1d3),_0x467e6c['if'](_0x53e126(0x1a0),_0x53e126(0x194),_0x3b322e=>!_0x3b322e)],'tabindex':'-1'},'children':[{'tag':_0x53e126(0x1ce),'attributes':{'class':['ck',_0x53e126(0x1d9),_0x467e6c['if'](_0x53e126(0x190),_0x53e126(0x1b9))]},'children':[this[_0x53e126(0x191)],{'tag':_0x53e126(0x1ce),'attributes':{'class':['ck',_0x53e126(0x1c6)]},'children':[this[_0x53e126(0x1a2)]]}]}]});}[_0x274083(0x19b)](){const _0x4075c9=_0x274083;super[_0x4075c9(0x19b)](),this[_0x4075c9(0x1a3)]&&this[_0x4075c9(0x191)][_0x4075c9(0x1bf)](this[_0x4075c9(0x1a3)]);let _0x26eecb=!0x1;this['on'](_0x4075c9(0x192),(_0x94709f,_0x33948f,_0x345c7b)=>{const _0x5eda5a=_0x4075c9,_0x2d1776=!this[_0x5eda5a(0x191)][_0x5eda5a(0x1c3)][_0x5eda5a(0x1e1)](_0x5eda5a(0x1c0));this[_0x5eda5a(0x191)][_0x5eda5a(0x1bf)](_0x345c7b),this[_0x5eda5a(0x190)]&&_0x2d1776&&!_0x26eecb&&this[_0x5eda5a(0x1c3)][_0x5eda5a(0x1aa)]({'top':this[_0x5eda5a(0x1c3)][_0x5eda5a(0x1c8)],'behavior':_0x5eda5a(0x1ad)});}),this['on'](_0x4075c9(0x1cb),(_0x40df19,_0x4572ca,_0x596e0f)=>{const _0x1b7a3e=_0x4075c9;_0x26eecb=!0x1,_0x596e0f?(this[_0x1b7a3e(0x1a3)]=null,this[_0x1b7a3e(0x191)][_0x1b7a3e(0x1df)]()):this[_0x1b7a3e(0x1a3)]||this[_0x1b7a3e(0x191)][_0x1b7a3e(0x1bf)]('');}),this[_0x4075c9(0x1b5)](this[_0x4075c9(0x1c3)],_0x4075c9(0x1a1),()=>{_0x26eecb=!0x0;}),this[_0x4075c9(0x1b5)](this[_0x4075c9(0x1c3)],_0x4075c9(0x19f),()=>{_0x26eecb=!0x0;});}[_0x274083(0x1e0)](){const _0x38ec13=_0x274083;this[_0x38ec13(0x1c3)][_0x38ec13(0x1e0)]();}[_0x274083(0x199)](){const _0x464f44=_0x274083,_0x1c8cc5=this[_0x464f44(0x1e3)],_0x4f8285=new _0x5aa58d(this[_0x464f44(0x1e3)]),_0x2c7e21=_0x464f44(0x1dd);return _0x4f8285[_0x464f44(0x195)]({'label':_0x52be61(_0x1c8cc5,_0x464f44(0x19d)),'icon':_0x562526,'class':_0x2c7e21,'tooltip':!0x0}),_0x4f8285[_0x464f44(0x1ab)](_0x464f44(0x1a0))['to'](this,_0x464f44(0x1a3),_0x128f5f=>!!_0x128f5f),_0x4f8285[_0x464f44(0x1ab)](_0x464f44(0x193))['to'](this,_0x464f44(0x190),_0x2c8a82=>!_0x2c8a82),_0x4f8285['on'](_0x464f44(0x1c5),()=>{const _0x5935e6=_0x464f44;this[_0x5935e6(0x19e)](this[_0x5935e6(0x191)][_0x5935e6(0x1c3)]),_0x4f8285[_0x5935e6(0x1d6)]=_0x25a137[_0x5935e6(0x1b7)],_0x4f8285[_0x5935e6(0x1d8)]=_0x2c7e21+_0x5935e6(0x1bc),this[_0x5935e6(0x1e0)](),setTimeout(()=>{const _0x43ba26=_0x5935e6;_0x4f8285[_0x43ba26(0x1d6)]=_0x562526,_0x4f8285[_0x43ba26(0x1d8)]=_0x2c7e21;},0x3e8);}),_0x4f8285;}[_0x274083(0x19e)](_0x54ebe5){const _0x6a89f0=_0x274083,{window:_0x55907a,document:_0x4903c9}=_0x15ae43;if(_0x55907a[_0x6a89f0(0x1d0)]){const {Blob:_0x5e1040,ClipboardItem:_0x21f6a9}=_0x55907a,_0xbc4f43=[new _0x21f6a9({'text/html':new _0x5e1040([_0x54ebe5[_0x6a89f0(0x1a7)]],{'type':_0x6a89f0(0x1dc)}),'text/plain':new _0x5e1040([_0x54ebe5[_0x6a89f0(0x1c2)]||''],{'type':_0x6a89f0(0x1d5)})})];navigator[_0x6a89f0(0x1bb)][_0x6a89f0(0x1d1)](_0xbc4f43);}else{const _0x151ec2=_0x4903c9[_0x6a89f0(0x1d4)](_0x6a89f0(0x1ce));_0x151ec2[_0x6a89f0(0x1cd)][_0x6a89f0(0x1b1)]=_0x6a89f0(0x1b6),_0x151ec2[_0x6a89f0(0x1cd)][_0x6a89f0(0x1ba)]=_0x6a89f0(0x1ac),_0x151ec2[_0x6a89f0(0x1a7)]=_0x6a89f0(0x1b8)+_0x54ebe5[_0x6a89f0(0x1a7)]+_0x6a89f0(0x1ae),_0x4903c9[_0x6a89f0(0x1af)][_0x6a89f0(0x1db)](_0x151ec2);const _0x279bf3=_0x4903c9[_0x6a89f0(0x1b2)]();_0x279bf3[_0x6a89f0(0x1cc)](_0x151ec2[_0x6a89f0(0x1c1)]),_0x279bf3[_0x6a89f0(0x1bd)](_0x151ec2[_0x6a89f0(0x1d2)]);const _0x159999=_0x55907a[_0x6a89f0(0x19c)]();_0x159999[_0x6a89f0(0x1e4)](),_0x159999[_0x6a89f0(0x1de)](_0x279bf3),_0x4903c9[_0x6a89f0(0x18f)](_0x6a89f0(0x1da)),_0x151ec2[_0x6a89f0(0x1b3)]();}}}export class ContentFieldView extends _0x35f761{constructor(_0x9b02fa,_0x4ab060=''){const _0x5e68d9=_0x274083;super(_0x9b02fa),this[_0x5e68d9(0x1c4)]=this[_0x5e68d9(0x1e5)](),this[_0x5e68d9(0x198)]({'tag':_0x5e68d9(0x1ce),'attributes':{'class':['ck',_0x5e68d9(0x197),_0x4ab060,_0x5e68d9(0x1b0),_0x5e68d9(0x1c7)]}});}[_0x274083(0x1bf)](_0x585b5d){const _0x55a6a3=_0x274083;this[_0x55a6a3(0x1c3)][_0x55a6a3(0x1a7)]=_0x585b5d;}[_0x274083(0x1df)](){const _0x4b61ad=_0x274083;this[_0x4b61ad(0x1c3)][_0x4b61ad(0x1db)](this[_0x4b61ad(0x1c4)][_0x4b61ad(0x1c3)]);}[_0x274083(0x1e5)](){const _0x17fa6e=_0x274083,_0x38103e=new _0x35f761(),_0x2cfe26=this[_0x17fa6e(0x1e3)],_0x42f351=new _0x21af91();return _0x42f351[_0x17fa6e(0x1a0)]=!0x0,_0x38103e[_0x17fa6e(0x198)]({'tag':_0x17fa6e(0x1ce),'attributes':{'class':['ck',_0x17fa6e(0x1d7)]},'children':[_0x42f351,{'text':_0x52be61(_0x2cfe26,_0x17fa6e(0x1a8))}]}),_0x38103e[_0x17fa6e(0x19b)](),_0x38103e;}}
23
+ function _0x5a99(){const _0xc2fd90=['listenTo','916200mdhGfr','text/plain','lastElementChild','setStartAfter','isVisible','class','AI\x20is\x20writing...','createRange','_createLoader','1370285uGReUQ','innerHTML','32288Cjxcag','contentFieldView','ClipboardItem','.ck-ai-form__loader','1869805YhsEOq','focus','1951773mSkrUY','execute','ck-reset_all-excluded','isProcessing','value','body','change:value','455508FJaBbW','copyButtonView','setEndBefore','loaderView','style','Copy','textContent','appendLoader','removeAllRanges','copy','ck-ai-form__content-area-wrapper','bind','write','text/html','clipboard','<span>[</span>','scrollTo','wheel','2826iiQXsv','remove','ck-ai-form__content-field','ck-ai-form__content-area','ck-hidden','ck-ai-form__loader','element','appendChild','_createCopyButton','\x20ck-ai-form__copy-button--copied','smooth','ck-ai-form__content-area--processing','addRange','icon','isEnabled','firstElementChild','ck-ai-form__copy-button','render','querySelector','566361VOnOTw','check','ck-content','bindTemplate','getSelection','2ClVaph','execCommand','ck-ai-form__copy-button-wrapper','-9999px','mousedown','<span>]</span>','scrollHeight','locale','left','_copyHTMLToClipboard','change:isProcessing','createElement','position','setContent','set','setTemplate','div','absolute'];_0x5a99=function(){return _0xc2fd90;};return _0x5a99();}function _0x55ff(_0x22fe31,_0x3ad70a){const _0x5a9912=_0x5a99();return _0x55ff=function(_0x55ff06,_0x2f978e){_0x55ff06=_0x55ff06-0x134;let _0x1c186c=_0x5a9912[_0x55ff06];return _0x1c186c;},_0x55ff(_0x22fe31,_0x3ad70a);}const _0x56316c=_0x55ff;(function(_0x53a6ce,_0xe077bf){const _0x2fb02b=_0x55ff,_0x39c30d=_0x53a6ce();while(!![]){try{const _0x3ee671=-parseInt(_0x2fb02b(0x13d))/0x1+parseInt(_0x2fb02b(0x142))/0x2*(-parseInt(_0x2fb02b(0x166))/0x3)+parseInt(_0x2fb02b(0x155))/0x4+-parseInt(_0x2fb02b(0x15e))/0x5+parseInt(_0x2fb02b(0x16d))/0x6+parseInt(_0x2fb02b(0x164))/0x7+-parseInt(_0x2fb02b(0x160))/0x8*(-parseInt(_0x2fb02b(0x17f))/0x9);if(_0x3ee671===_0xe077bf)break;else _0x39c30d['push'](_0x39c30d['shift']());}catch(_0x28ecac){_0x39c30d['push'](_0x39c30d['shift']());}}}(_0x5a99,0x550da));import{global as _0x58e8b9}from'ckeditor5/src/utils.js';import{View as _0x47bc8c,ButtonView as _0x336e15,SpinnerView as _0x249285}from'ckeditor5/src/ui.js';import _0x137fb6 from'../../../theme/icons/copy.svg';import{getTranslation as _0x13d5c5}from'../../utils/common-translations.js';import{icons as _0xd2046e}from'ckeditor5/src/core.js';export default class nt extends _0x47bc8c{constructor(_0x42b4cf,_0xb183e5=''){const _0x58bfeb=_0x55ff;super(_0x42b4cf),this[_0x58bfeb(0x150)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x159f5f=this[_0x58bfeb(0x140)];this[_0x58bfeb(0x161)]=new ContentFieldView(_0x42b4cf,_0xb183e5),this[_0x58bfeb(0x16e)]=this[_0x58bfeb(0x187)](),this[_0x58bfeb(0x151)]({'tag':_0x58bfeb(0x152),'attributes':{'class':['ck',_0x58bfeb(0x177),_0x159f5f['if'](_0x58bfeb(0x159),_0x58bfeb(0x183),_0x20ba32=>!_0x20ba32)],'tabindex':'-1'},'children':[{'tag':_0x58bfeb(0x152),'attributes':{'class':['ck',_0x58bfeb(0x182),_0x159f5f['if'](_0x58bfeb(0x169),_0x58bfeb(0x135))]},'children':[this[_0x58bfeb(0x161)],{'tag':_0x58bfeb(0x152),'attributes':{'class':['ck',_0x58bfeb(0x144)]},'children':[this[_0x58bfeb(0x16e)]]}]}]});}[_0x56316c(0x13b)](){const _0x1317da=_0x56316c;super[_0x1317da(0x13b)](),this[_0x1317da(0x16a)]&&this[_0x1317da(0x161)][_0x1317da(0x14f)](this[_0x1317da(0x16a)]);let _0x58d396=!0x1;this['on'](_0x1317da(0x16c),(_0x12b393,_0x499472,_0x2ccc80)=>{const _0x556ef1=_0x1317da,_0x47f86e=!this[_0x556ef1(0x161)][_0x556ef1(0x185)][_0x556ef1(0x13c)](_0x556ef1(0x163));this[_0x556ef1(0x161)][_0x556ef1(0x14f)](_0x2ccc80),this[_0x556ef1(0x169)]&&_0x47f86e&&!_0x58d396&&this[_0x556ef1(0x185)][_0x556ef1(0x17d)]({'top':this[_0x556ef1(0x185)][_0x556ef1(0x148)],'behavior':_0x556ef1(0x134)});}),this['on'](_0x1317da(0x14c),(_0x2813b5,_0x1d623f,_0x4d5aab)=>{const _0x3c48a0=_0x1317da;_0x58d396=!0x1,_0x4d5aab?(this[_0x3c48a0(0x16a)]=null,this[_0x3c48a0(0x161)][_0x3c48a0(0x174)]()):this[_0x3c48a0(0x16a)]||this[_0x3c48a0(0x161)][_0x3c48a0(0x14f)]('');}),this[_0x1317da(0x154)](this[_0x1317da(0x185)],_0x1317da(0x17e),()=>{_0x58d396=!0x0;}),this[_0x1317da(0x154)](this[_0x1317da(0x185)],_0x1317da(0x146),()=>{_0x58d396=!0x0;});}[_0x56316c(0x165)](){const _0x3db5e9=_0x56316c;this[_0x3db5e9(0x185)][_0x3db5e9(0x165)]();}[_0x56316c(0x187)](){const _0x2105cf=_0x56316c,_0x2cf167=this[_0x2105cf(0x149)],_0x1f9a54=new _0x336e15(this[_0x2105cf(0x149)]),_0x504aa6=_0x2105cf(0x13a);return _0x1f9a54[_0x2105cf(0x150)]({'label':_0x13d5c5(_0x2cf167,_0x2105cf(0x172)),'icon':_0x137fb6,'class':_0x504aa6,'tooltip':!0x0}),_0x1f9a54[_0x2105cf(0x178)](_0x2105cf(0x159))['to'](this,_0x2105cf(0x16a),_0x181663=>!!_0x181663),_0x1f9a54[_0x2105cf(0x178)](_0x2105cf(0x138))['to'](this,_0x2105cf(0x169),_0x4ca6e6=>!_0x4ca6e6),_0x1f9a54['on'](_0x2105cf(0x167),()=>{const _0xdcb76=_0x2105cf;this[_0xdcb76(0x14b)](this[_0xdcb76(0x161)][_0xdcb76(0x185)]),_0x1f9a54[_0xdcb76(0x137)]=_0xd2046e[_0xdcb76(0x13e)],_0x1f9a54[_0xdcb76(0x15a)]=_0x504aa6+_0xdcb76(0x188),this[_0xdcb76(0x165)](),setTimeout(()=>{const _0x512bca=_0xdcb76;_0x1f9a54[_0x512bca(0x137)]=_0x137fb6,_0x1f9a54[_0x512bca(0x15a)]=_0x504aa6;},0x3e8);}),_0x1f9a54;}[_0x56316c(0x14b)](_0x21c6a9){const _0x262ffd=_0x56316c,{window:_0x1ccc87,document:_0x4bb9b6}=_0x58e8b9;if(_0x1ccc87[_0x262ffd(0x162)]){const {Blob:_0x1c5d28,ClipboardItem:_0x5b30c0}=_0x1ccc87,_0x166dc6=[new _0x5b30c0({'text/html':new _0x1c5d28([_0x21c6a9[_0x262ffd(0x15f)]],{'type':_0x262ffd(0x17a)}),'text/plain':new _0x1c5d28([_0x21c6a9[_0x262ffd(0x173)]||''],{'type':_0x262ffd(0x156)})})];navigator[_0x262ffd(0x17b)][_0x262ffd(0x179)](_0x166dc6);}else{const _0x629a59=_0x4bb9b6[_0x262ffd(0x14d)](_0x262ffd(0x152));_0x629a59[_0x262ffd(0x171)][_0x262ffd(0x14e)]=_0x262ffd(0x153),_0x629a59[_0x262ffd(0x171)][_0x262ffd(0x14a)]=_0x262ffd(0x145),_0x629a59[_0x262ffd(0x15f)]=_0x262ffd(0x17c)+_0x21c6a9[_0x262ffd(0x15f)]+_0x262ffd(0x147),_0x4bb9b6[_0x262ffd(0x16b)][_0x262ffd(0x186)](_0x629a59);const _0x28f74c=_0x4bb9b6[_0x262ffd(0x15c)]();_0x28f74c[_0x262ffd(0x158)](_0x629a59[_0x262ffd(0x139)]),_0x28f74c[_0x262ffd(0x16f)](_0x629a59[_0x262ffd(0x157)]);const _0x2490fd=_0x1ccc87[_0x262ffd(0x141)]();_0x2490fd[_0x262ffd(0x175)](),_0x2490fd[_0x262ffd(0x136)](_0x28f74c),_0x4bb9b6[_0x262ffd(0x143)](_0x262ffd(0x176)),_0x629a59[_0x262ffd(0x180)]();}}}export class ContentFieldView extends _0x47bc8c{constructor(_0x40292b,_0x5026fe=''){const _0x5fa7ac=_0x56316c;super(_0x40292b),this[_0x5fa7ac(0x170)]=this[_0x5fa7ac(0x15d)](),this[_0x5fa7ac(0x151)]({'tag':_0x5fa7ac(0x152),'attributes':{'class':['ck',_0x5fa7ac(0x13f),_0x5026fe,_0x5fa7ac(0x168),_0x5fa7ac(0x181)]}});}[_0x56316c(0x14f)](_0x2a3760){const _0x53bfee=_0x56316c;this[_0x53bfee(0x185)][_0x53bfee(0x15f)]=_0x2a3760;}[_0x56316c(0x174)](){const _0x2b8e0b=_0x56316c;this[_0x2b8e0b(0x185)][_0x2b8e0b(0x186)](this[_0x2b8e0b(0x170)][_0x2b8e0b(0x185)]);}[_0x56316c(0x15d)](){const _0x32d7e0=_0x56316c,_0x290a28=new _0x47bc8c(),_0x2fff5e=this[_0x32d7e0(0x149)],_0x465a3b=new _0x249285();return _0x465a3b[_0x32d7e0(0x159)]=!0x0,_0x290a28[_0x32d7e0(0x151)]({'tag':_0x32d7e0(0x152),'attributes':{'class':['ck',_0x32d7e0(0x184)]},'children':[_0x465a3b,{'text':_0x13d5c5(_0x2fff5e,_0x32d7e0(0x15b))}]}),_0x290a28[_0x32d7e0(0x13b)](),_0x290a28;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1033ed,_0x15db2f){const _0x4d191f=_0xe920,_0x13fe23=_0x1033ed();while(!![]){try{const _0x241336=parseInt(_0x4d191f(0x12b))/0x1*(parseInt(_0x4d191f(0x124))/0x2)+-parseInt(_0x4d191f(0x121))/0x3+-parseInt(_0x4d191f(0x126))/0x4+-parseInt(_0x4d191f(0x128))/0x5*(-parseInt(_0x4d191f(0x11d))/0x6)+parseInt(_0x4d191f(0x12a))/0x7*(-parseInt(_0x4d191f(0x11b))/0x8)+parseInt(_0x4d191f(0x11c))/0x9*(-parseInt(_0x4d191f(0x120))/0xa)+-parseInt(_0x4d191f(0x129))/0xb*(-parseInt(_0x4d191f(0x11e))/0xc);if(_0x241336===_0x15db2f)break;else _0x13fe23['push'](_0x13fe23['shift']());}catch(_0x4c3584){_0x13fe23['push'](_0x13fe23['shift']());}}}(_0x5a2e,0xb824e));import{View as _0x5b7041,IconView as _0x2bf98c}from'ckeditor5/src/ui.js';import _0x43aa21 from'../../../theme/icons/error.svg';function _0xe920(_0xd3e74c,_0x5c26c7){const _0x5a2e10=_0x5a2e();return _0xe920=function(_0xe920ad,_0x5491ce){_0xe920ad=_0xe920ad-0x119;let _0x2c5bbb=_0x5a2e10[_0xe920ad];return _0x2c5bbb;},_0xe920(_0xd3e74c,_0x5c26c7);}function _0x5a2e(){const _0x57bac8=['30544Fkurol','18ZdyCqw','6RGwVNM','1468956cELBEP','div','5697130qqQBVN','958248UoJKcm','ck-ai-form__error','text','398470PiyOfe','bindTemplate','2644600oPMLGa','setTemplate','5667995ytCAYC','143mkooFa','1918uOKaTO','6QbAfUB','content','set'];_0x5a2e=function(){return _0x57bac8;};return _0x5a2e();}export default class mt extends _0x5b7041{constructor(_0x23e731,_0x4682b1=''){const _0x5c13d3=_0xe920;super(_0x23e731);const _0x4a702c=new _0x2bf98c(),_0x478fa9=this[_0x5c13d3(0x125)];this[_0x5c13d3(0x11a)](_0x5c13d3(0x123),_0x4682b1),_0x4a702c[_0x5c13d3(0x119)]=_0x43aa21,this[_0x5c13d3(0x127)]({'tag':_0x5c13d3(0x11f),'attributes':{'class':['ck',_0x5c13d3(0x122)]},'children':[_0x4a702c,{'text':_0x478fa9['to'](_0x5c13d3(0x123))}]});}}
23
+ (function(_0x55852e,_0x37333d){const _0x4f69a8=_0x2ddf,_0x15078=_0x55852e();while(!![]){try{const _0x50aa9d=parseInt(_0x4f69a8(0x17f))/0x1*(parseInt(_0x4f69a8(0x182))/0x2)+parseInt(_0x4f69a8(0x181))/0x3+parseInt(_0x4f69a8(0x180))/0x4*(parseInt(_0x4f69a8(0x178))/0x5)+-parseInt(_0x4f69a8(0x17e))/0x6+parseInt(_0x4f69a8(0x176))/0x7+parseInt(_0x4f69a8(0x17c))/0x8+-parseInt(_0x4f69a8(0x175))/0x9;if(_0x50aa9d===_0x37333d)break;else _0x15078['push'](_0x15078['shift']());}catch(_0x412b04){_0x15078['push'](_0x15078['shift']());}}}(_0x3277,0xbcbde));import{View as _0x581f96,IconView as _0x9016d6}from'ckeditor5/src/ui.js';import _0x638431 from'../../../theme/icons/error.svg';export default class mt extends _0x581f96{constructor(_0x7f6410,_0x1579e2=''){const _0xaf127a=_0x2ddf;super(_0x7f6410);const _0x3903ae=new _0x9016d6(),_0xdd72a3=this[_0xaf127a(0x179)];this[_0xaf127a(0x17a)](_0xaf127a(0x17b),_0x1579e2),_0x3903ae[_0xaf127a(0x184)]=_0x638431,this[_0xaf127a(0x183)]({'tag':_0xaf127a(0x17d),'attributes':{'class':['ck',_0xaf127a(0x177)]},'children':[_0x3903ae,{'text':_0xdd72a3['to'](_0xaf127a(0x17b))}]});}}function _0x2ddf(_0x57aa5b,_0x10496f){const _0x3277b8=_0x3277();return _0x2ddf=function(_0x2ddf0b,_0x3a0315){_0x2ddf0b=_0x2ddf0b-0x175;let _0x2b74bd=_0x3277b8[_0x2ddf0b];return _0x2b74bd;},_0x2ddf(_0x57aa5b,_0x10496f);}function _0x3277(){const _0x24f5eb=['text','678192KDfcoP','div','7035894fKRmOZ','129333VfWfyT','22116rdhWEo','271506RFGMiH','6vWKAHG','setTemplate','content','12254652jBSbNQ','10036005UEXZuy','ck-ai-form__error','1185qHMGcT','bindTemplate','set'];_0x3277=function(){return _0x24f5eb;};return _0x3277();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56f0c8=_0x2279;function _0x4402(){const _0xa86dbb=['4DpWqbB','focusFirst','submitButtonView','locale','uiLanguageDirection','filteredView','bind','focusCycler','focusLast','right','excludeScrollbarsAndBorders','4917375deGlVG','execute','style','Submit','element','children','3795610BIAXpX','_createSubmitButton','ck-ai-form__submit','add','window','minRows','render','left','213330sMzFHo','isEmpty','1055864nUiNpk','594393mpFBoX','rtl','1832ZaEPlI','showHistoryButtonView','resultsView','isVisible','647005vqGXhx','update','ck-ai-form__toggle-history','width','keystrokes','125CqJJhU','fieldWrapperChildren','isEnabled','fire','fieldView','focusableChildren','isOn','88GrWFoh','target','queryView','submit','maxRows','value','set','focus','_createShowHistoryButton','6RnPfll','history','requestAnimationFrame','History','enter'];_0x4402=function(){return _0xa86dbb;};return _0x4402();}(function(_0x4f1b00,_0x295a21){const _0x510979=_0x2279,_0x559b40=_0x4f1b00();while(!![]){try{const _0x385b00=-parseInt(_0x510979(0xb6))/0x1*(parseInt(_0x510979(0xad))/0x2)+-parseInt(_0x510979(0xab))/0x3*(parseInt(_0x510979(0xcb))/0x4)+parseInt(_0x510979(0xb1))/0x5*(parseInt(_0x510979(0xc6))/0x6)+parseInt(_0x510979(0xa0))/0x7+-parseInt(_0x510979(0xaa))/0x8+parseInt(_0x510979(0x9a))/0x9+parseInt(_0x510979(0xa8))/0xa*(-parseInt(_0x510979(0xbd))/0xb);if(_0x385b00===_0x295a21)break;else _0x559b40['push'](_0x559b40['shift']());}catch(_0x54b3b2){_0x559b40['push'](_0x559b40['shift']());}}}(_0x4402,0x93268));import{Rect as _0x31722b,global as _0x391bb9,isVisible as _0x14bdfd}from'ckeditor5/src/utils.js';import{AutocompleteView as _0xb7c8d3,ButtonView as _0x38f106}from'ckeditor5/src/ui.js';import{icons as _0x25eb47}from'ckeditor5/src/core.js';function _0x2279(_0x241504,_0x3a2d16){const _0x4402a0=_0x4402();return _0x2279=function(_0x22793b,_0x222695){_0x22793b=_0x22793b-0x90;let _0x22769b=_0x4402a0[_0x22793b];return _0x22769b;},_0x2279(_0x241504,_0x3a2d16);}import{getTranslation as _0x41ebc3}from'../../utils/common-translations.js';import _0x393d2a from'../../../theme/icons/submit.svg';export default class pt extends _0xb7c8d3{constructor(_0x2973f6,_0x4adf95){const _0x15b085=_0x2279;super(_0x2973f6,_0x4adf95),this[_0x15b085(0xbf)][_0x15b085(0xba)][_0x15b085(0xa5)]=0x1,this[_0x15b085(0xbf)][_0x15b085(0xba)][_0x15b085(0xc1)]=0x3,this[_0x15b085(0x91)]=this[_0x15b085(0xa1)](),this[_0x15b085(0xae)]=this[_0x15b085(0xc5)](),this[_0x15b085(0xbb)][_0x15b085(0xa3)](this[_0x15b085(0xae)],0x1),this[_0x15b085(0xbb)][_0x15b085(0xa3)](this[_0x15b085(0x91)]);}[_0x56f0c8(0xa6)](){const _0x37ecb2=_0x56f0c8;super[_0x37ecb2(0xa6)](),this[_0x37ecb2(0xbf)][_0x37ecb2(0xb7)][_0x37ecb2(0xa3)](this[_0x37ecb2(0xae)]),this[_0x37ecb2(0x9f)][_0x37ecb2(0xa3)](this[_0x37ecb2(0x91)]),this[_0x37ecb2(0xb5)][_0x37ecb2(0xc3)](_0x37ecb2(0xca),(_0x28c977,_0x105d7c)=>{const _0x2e3b31=_0x37ecb2;_0x28c977[_0x2e3b31(0xbe)]==this[_0x2e3b31(0xbf)][_0x2e3b31(0xba)][_0x2e3b31(0x9e)]&&(this[_0x2e3b31(0xc0)](),_0x105d7c());});}[_0x56f0c8(0xa1)](){const _0x27c246=_0x56f0c8,_0x2e522d=new _0x38f106(this[_0x27c246(0x92)]),_0x55a2a5=this[_0x27c246(0x92)];return _0x2e522d[_0x27c246(0xc3)]({'icon':_0x393d2a,'label':_0x41ebc3(_0x55a2a5,_0x27c246(0x9d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x27c246(0xa2)}),_0x2e522d['on'](_0x27c246(0x9b),()=>{const _0x325eda=_0x27c246;this[_0x325eda(0xc0)]();}),_0x2e522d[_0x27c246(0x95)](_0x27c246(0xb8))['to'](this[_0x27c246(0xbf)][_0x27c246(0xba)],_0x27c246(0xa9),this,_0x27c246(0xb8),(_0x93a5ee,_0xa932f0)=>!_0x93a5ee&&_0xa932f0),_0x2e522d;}[_0x56f0c8(0xc5)](){const _0x28068d=_0x56f0c8,_0x3023f9=new _0x38f106(this[_0x28068d(0x92)]),_0x331aa2=this[_0x28068d(0xaf)],_0x8a3cab=this[_0x28068d(0x92)];_0x3023f9[_0x28068d(0xc3)]({'label':_0x41ebc3(_0x8a3cab,_0x28068d(0xc9)),'withText':!0x1,'icon':_0x25eb47[_0x28068d(0xc7)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x28068d(0xb3)}),_0x3023f9[_0x28068d(0x95)](_0x28068d(0xbc))['to'](_0x331aa2,_0x28068d(0xb0)),_0x3023f9[_0x28068d(0x95)](_0x28068d(0xb8))['to'](this,_0x28068d(0xb8)),_0x3023f9['on'](_0x28068d(0x9b),()=>{const _0x13dfb4=_0x28068d;_0x331aa2[_0x13dfb4(0xb0)]=!_0x331aa2[_0x13dfb4(0xb0)],_0x331aa2[_0x13dfb4(0xb0)]?this[_0x13dfb4(0x94)][_0x13dfb4(0xc4)]():this[_0x13dfb4(0xc4)]();});const _0x4fc70d=()=>{const _0x33cd73=_0x28068d;_0x391bb9[_0x33cd73(0xa4)][_0x33cd73(0xc8)](()=>{const _0x461038=_0x33cd73;if(_0x14bdfd(this[_0x461038(0x9e)])){const _0x313119=new _0x31722b(this[_0x461038(0xbf)][_0x461038(0xba)][_0x461038(0x9e)]),_0x563b31=_0x313119[_0x461038(0xb4)],_0x24b113=_0x461038(0xac)===_0x8a3cab[_0x461038(0x93)]?_0x461038(0xa7):_0x461038(0x98);_0x313119[_0x461038(0x99)](),_0x3023f9[_0x461038(0x9e)][_0x461038(0x9c)][_0x24b113]=_0x563b31-_0x313119[_0x461038(0xb4)]+0x1+'px';}});};return this[_0x28068d(0xbf)][_0x28068d(0xba)]['on'](_0x28068d(0xb2),_0x4fc70d),this['on'](_0x28068d(0xa6),_0x4fc70d),_0x3023f9;}[_0x56f0c8(0xc0)](){const _0x9960ae=_0x56f0c8,_0x4200d5=this[_0x9960ae(0xbf)][_0x9960ae(0xba)][_0x9960ae(0x9e)][_0x9960ae(0xc2)];this[_0x9960ae(0xb9)](_0x9960ae(0xc0),_0x4200d5);}[_0x56f0c8(0xc4)](_0x5b9666){const _0x5304d1=_0x56f0c8;-0x1===_0x5b9666?this[_0x5304d1(0x96)][_0x5304d1(0x97)]():this[_0x5304d1(0x96)][_0x5304d1(0x90)]();}}
23
+ const _0x202d7f=_0x4e69;(function(_0x489ff6,_0x51af64){const _0x40bfb1=_0x4e69,_0x5ce9db=_0x489ff6();while(!![]){try{const _0x33220a=-parseInt(_0x40bfb1(0x186))/0x1+-parseInt(_0x40bfb1(0x155))/0x2+-parseInt(_0x40bfb1(0x168))/0x3+parseInt(_0x40bfb1(0x170))/0x4*(parseInt(_0x40bfb1(0x18b))/0x5)+parseInt(_0x40bfb1(0x181))/0x6+-parseInt(_0x40bfb1(0x16a))/0x7+-parseInt(_0x40bfb1(0x188))/0x8*(-parseInt(_0x40bfb1(0x16c))/0x9);if(_0x33220a===_0x51af64)break;else _0x5ce9db['push'](_0x5ce9db['shift']());}catch(_0x12e871){_0x5ce9db['push'](_0x5ce9db['shift']());}}}(_0x3d51,0x8a57c));import{Rect as _0x27bbe5,global as _0x425067,isVisible as _0x4c4b89}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3beca9,ButtonView as _0x3e3dd8}from'ckeditor5/src/ui.js';import{icons as _0x5e0708}from'ckeditor5/src/core.js';function _0x4e69(_0x4860bd,_0x476ad8){const _0x3d51c6=_0x3d51();return _0x4e69=function(_0x4e691a,_0x59ed4f){_0x4e691a=_0x4e691a-0x154;let _0x4452cd=_0x3d51c6[_0x4e691a];return _0x4452cd;},_0x4e69(_0x4860bd,_0x476ad8);}function _0x3d51(){const _0x2a32d3=['focusLast','queryView','1213428fVwytj','render','Submit','focusCycler','_createSubmitButton','431215VaSwLJ','right','3824eeUhnR','set','left','3595560ZLqKAy','_createShowHistoryButton','children','fire','2170844mVHqVq','bind','keystrokes','excludeScrollbarsAndBorders','element','target','rtl','uiLanguageDirection','locale','submitButtonView','fieldWrapperChildren','filteredView','resultsView','minRows','value','isVisible','maxRows','ck-ai-form__submit','showHistoryButtonView','2448003BpLnRf','add','6621902fpSfNm','width','55053BycXPg','focusableChildren','fieldView','ck-ai-form__toggle-history','4qbZEVj','focusFirst','isEnabled','execute','submit','window','update','isOn','focus','isEmpty','History','history','requestAnimationFrame','style','enter'];_0x3d51=function(){return _0x2a32d3;};return _0x3d51();}import{getTranslation as _0x4c6c29}from'../../utils/common-translations.js';import _0x2158a7 from'../../../theme/icons/submit.svg';export default class pt extends _0x3beca9{constructor(_0x2be802,_0x525b96){const _0x946720=_0x4e69;super(_0x2be802,_0x525b96),this[_0x946720(0x180)][_0x946720(0x16e)][_0x946720(0x162)]=0x1,this[_0x946720(0x180)][_0x946720(0x16e)][_0x946720(0x165)]=0x3,this[_0x946720(0x15e)]=this[_0x946720(0x185)](),this[_0x946720(0x167)]=this[_0x946720(0x18c)](),this[_0x946720(0x16d)][_0x946720(0x169)](this[_0x946720(0x167)],0x1),this[_0x946720(0x16d)][_0x946720(0x169)](this[_0x946720(0x15e)]);}[_0x202d7f(0x182)](){const _0x1fef50=_0x202d7f;super[_0x1fef50(0x182)](),this[_0x1fef50(0x180)][_0x1fef50(0x15f)][_0x1fef50(0x169)](this[_0x1fef50(0x167)]),this[_0x1fef50(0x18d)][_0x1fef50(0x169)](this[_0x1fef50(0x15e)]),this[_0x1fef50(0x157)][_0x1fef50(0x189)](_0x1fef50(0x17e),(_0x4a41b0,_0x524038)=>{const _0xa8596b=_0x1fef50;_0x4a41b0[_0xa8596b(0x15a)]==this[_0xa8596b(0x180)][_0xa8596b(0x16e)][_0xa8596b(0x159)]&&(this[_0xa8596b(0x174)](),_0x524038());});}[_0x202d7f(0x185)](){const _0x22afc7=_0x202d7f,_0x330f20=new _0x3e3dd8(this[_0x22afc7(0x15d)]),_0xe46663=this[_0x22afc7(0x15d)];return _0x330f20[_0x22afc7(0x189)]({'icon':_0x2158a7,'label':_0x4c6c29(_0xe46663,_0x22afc7(0x183)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x22afc7(0x166)}),_0x330f20['on'](_0x22afc7(0x173),()=>{const _0x3629db=_0x22afc7;this[_0x3629db(0x174)]();}),_0x330f20[_0x22afc7(0x156)](_0x22afc7(0x172))['to'](this[_0x22afc7(0x180)][_0x22afc7(0x16e)],_0x22afc7(0x179),this,_0x22afc7(0x172),(_0x3d654f,_0x4fb495)=>!_0x3d654f&&_0x4fb495),_0x330f20;}[_0x202d7f(0x18c)](){const _0x4be7be=_0x202d7f,_0x3a1fcc=new _0x3e3dd8(this[_0x4be7be(0x15d)]),_0x3c5348=this[_0x4be7be(0x161)],_0x195892=this[_0x4be7be(0x15d)];_0x3a1fcc[_0x4be7be(0x189)]({'label':_0x4c6c29(_0x195892,_0x4be7be(0x17a)),'withText':!0x1,'icon':_0x5e0708[_0x4be7be(0x17b)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4be7be(0x16f)}),_0x3a1fcc[_0x4be7be(0x156)](_0x4be7be(0x177))['to'](_0x3c5348,_0x4be7be(0x164)),_0x3a1fcc[_0x4be7be(0x156)](_0x4be7be(0x172))['to'](this,_0x4be7be(0x172)),_0x3a1fcc['on'](_0x4be7be(0x173),()=>{const _0x410958=_0x4be7be;_0x3c5348[_0x410958(0x164)]=!_0x3c5348[_0x410958(0x164)],_0x3c5348[_0x410958(0x164)]?this[_0x410958(0x160)][_0x410958(0x178)]():this[_0x410958(0x178)]();});const _0x45ee62=()=>{const _0x53c845=_0x4be7be;_0x425067[_0x53c845(0x175)][_0x53c845(0x17c)](()=>{const _0x303af5=_0x53c845;if(_0x4c4b89(this[_0x303af5(0x159)])){const _0x261eb8=new _0x27bbe5(this[_0x303af5(0x180)][_0x303af5(0x16e)][_0x303af5(0x159)]),_0x9525b8=_0x261eb8[_0x303af5(0x16b)],_0x18cfdf=_0x303af5(0x15b)===_0x195892[_0x303af5(0x15c)]?_0x303af5(0x18a):_0x303af5(0x187);_0x261eb8[_0x303af5(0x158)](),_0x3a1fcc[_0x303af5(0x159)][_0x303af5(0x17d)][_0x18cfdf]=_0x9525b8-_0x261eb8[_0x303af5(0x16b)]+0x1+'px';}});};return this[_0x4be7be(0x180)][_0x4be7be(0x16e)]['on'](_0x4be7be(0x176),_0x45ee62),this['on'](_0x4be7be(0x182),_0x45ee62),_0x3a1fcc;}[_0x202d7f(0x174)](){const _0x5127d6=_0x202d7f,_0x5ac41d=this[_0x5127d6(0x180)][_0x5127d6(0x16e)][_0x5127d6(0x159)][_0x5127d6(0x163)];this[_0x5127d6(0x154)](_0x5127d6(0x174),_0x5ac41d);}[_0x202d7f(0x178)](_0x1309ff){const _0x2cb46d=_0x202d7f;-0x1===_0x1309ff?this[_0x2cb46d(0x184)][_0x2cb46d(0x17f)]():this[_0x2cb46d(0x184)][_0x2cb46d(0x171)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4686(_0x5de30d,_0x9b4205){const _0x41393b=_0x4139();return _0x4686=function(_0x46864b,_0x57252c){_0x46864b=_0x46864b-0x7f;let _0x1523a8=_0x41393b[_0x46864b];return _0x1523a8;},_0x4686(_0x5de30d,_0x9b4205);}const _0xe62e4c=_0x4686;(function(_0x3f47ce,_0x24f3f9){const _0x500a1a=_0x4686,_0x10c2c6=_0x3f47ce();while(!![]){try{const _0x2f177a=-parseInt(_0x500a1a(0x9b))/0x1+parseInt(_0x500a1a(0x90))/0x2*(-parseInt(_0x500a1a(0x89))/0x3)+parseInt(_0x500a1a(0x98))/0x4+-parseInt(_0x500a1a(0x82))/0x5*(-parseInt(_0x500a1a(0x8a))/0x6)+parseInt(_0x500a1a(0x8e))/0x7*(parseInt(_0x500a1a(0x96))/0x8)+parseInt(_0x500a1a(0x8d))/0x9*(-parseInt(_0x500a1a(0x85))/0xa)+parseInt(_0x500a1a(0x8f))/0xb;if(_0x2f177a===_0x24f3f9)break;else _0x10c2c6['push'](_0x10c2c6['shift']());}catch(_0x1ca10b){_0x10c2c6['push'](_0x10c2c6['shift']());}}}(_0x4139,0x43384));import{ToolbarView as _0x665844,ButtonView as _0x28df40}from'ckeditor5/src/ui.js';import{getTranslation as _0x563046}from'../../utils/common-translations.js';function _0x4139(){const _0xa3ea03=['items','mainAction','71752mMgBSG','extendTemplate','1589868qpNnOh','isVisible','insertButton','331458MVPEFI','replace','bind','AI_','Stop','bindTemplate','locale','set','_CONTENT','toUpperCase','ck-ai-form__toolbar','replaceButton','addMany','5sLKYoe','ck-hidden','label','246790WIMyRT','stopButton','Try\x20again','Insert\x20below','6XJcCFO','1711194SdrsIA','_createButton','tryAgainButton','9ePWBWR','91htfPcT','3183180GIsZlc','457174kdivFr','REPLACE','insert','ck-button-action'];_0x4139=function(){return _0xa3ea03;};return _0x4139();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xe62e4c(0x9c),'INSERT':_0xe62e4c(0x92)};export default class Tt extends _0x665844{constructor(_0x390e50){const _0x3131bf=_0xe62e4c;super(_0x390e50),this[_0x3131bf(0xa2)](_0x3131bf(0x99),!0x1),this[_0x3131bf(0xa2)](_0x3131bf(0x95),AIFormToolbarViewMainActionLabel[_0x3131bf(0x91)]),this[_0x3131bf(0x80)]=this[_0x3131bf(0x8b)]('',_0x3131bf(0x93)),this[_0x3131bf(0x80)][_0x3131bf(0x9d)](_0x3131bf(0x84))['to'](this,_0x3131bf(0x95),_0x2105ec=>_0x563046(_0x390e50,_0x3131bf(0x9e)+_0x2105ec[_0x3131bf(0xa4)]()+_0x3131bf(0xa3))),this[_0x3131bf(0x9a)]=this[_0x3131bf(0x8b)](_0x563046(_0x390e50,_0x3131bf(0x88))),this[_0x3131bf(0x8c)]=this[_0x3131bf(0x8b)](_0x563046(_0x390e50,_0x3131bf(0x87))),this[_0x3131bf(0x86)]=this[_0x3131bf(0x8b)](_0x563046(_0x390e50,_0x3131bf(0x9f)));const _0x222607=this[_0x3131bf(0xa0)];this[_0x3131bf(0x97)]({'attributes':{'class':[_0x3131bf(0x7f),_0x222607['if'](_0x3131bf(0x99),_0x3131bf(0x83),_0x1dbcfd=>!_0x1dbcfd)]}}),this[_0x3131bf(0x94)][_0x3131bf(0x81)]([this[_0x3131bf(0x80)],this[_0x3131bf(0x9a)],this[_0x3131bf(0x8c)],this[_0x3131bf(0x86)]]);}[_0xe62e4c(0x8b)](_0x43d407,_0x466cd9){const _0x3245c5=_0xe62e4c,_0x1be490=new _0x28df40(this[_0x3245c5(0xa1)]);return _0x1be490[_0x3245c5(0xa2)]({'label':_0x43d407,'class':_0x466cd9||'','isVisible':!0x0,'withText':!0x0}),_0x1be490;}}
23
+ function _0x573d(_0x2bcc20,_0x423e69){const _0x361ebc=_0x361e();return _0x573d=function(_0x573de1,_0x51bdd0){_0x573de1=_0x573de1-0x13f;let _0x56a182=_0x361ebc[_0x573de1];return _0x56a182;},_0x573d(_0x2bcc20,_0x423e69);}const _0x5b3315=_0x573d;(function(_0x2c4bd4,_0x31bda0){const _0x55615f=_0x573d,_0x30ec93=_0x2c4bd4();while(!![]){try{const _0x464863=-parseInt(_0x55615f(0x149))/0x1*(-parseInt(_0x55615f(0x153))/0x2)+parseInt(_0x55615f(0x155))/0x3+parseInt(_0x55615f(0x159))/0x4*(-parseInt(_0x55615f(0x164))/0x5)+-parseInt(_0x55615f(0x15c))/0x6+parseInt(_0x55615f(0x145))/0x7*(parseInt(_0x55615f(0x152))/0x8)+-parseInt(_0x55615f(0x162))/0x9*(parseInt(_0x55615f(0x150))/0xa)+-parseInt(_0x55615f(0x151))/0xb*(-parseInt(_0x55615f(0x15a))/0xc);if(_0x464863===_0x31bda0)break;else _0x30ec93['push'](_0x30ec93['shift']());}catch(_0x183081){_0x30ec93['push'](_0x30ec93['shift']());}}}(_0x361e,0x630a8));function _0x361e(){const _0x236f0d=['set','REPLACE','mainAction','bind','bindTemplate','ck-hidden','locale','121023EjdsNv','Try\x20again','AI_','replaceButton','28999KVTwsj','ck-button-action','_CONTENT','_createButton','replace','isVisible','extendTemplate','30rTjuLF','4291177XfmCgS','136kDbwIc','28mjfgBH','Stop','1018665SZiNyr','toUpperCase','stopButton','insertButton','4SKKWWH','12kAElGe','label','4621260YiRKVy','tryAgainButton','ck-ai-form__toolbar','items','addMany','insert','498303EDhXma','Insert\x20below','437890JQCRoj'];_0x361e=function(){return _0x236f0d;};return _0x361e();}import{ToolbarView as _0x21b4f7,ButtonView as _0x4ce311}from'ckeditor5/src/ui.js';import{getTranslation as _0xedb936}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5b3315(0x14d),'INSERT':_0x5b3315(0x161)};export default class Tt extends _0x21b4f7{constructor(_0x17b5fe){const _0xb698c5=_0x5b3315;super(_0x17b5fe),this[_0xb698c5(0x165)](_0xb698c5(0x14e),!0x1),this[_0xb698c5(0x165)](_0xb698c5(0x140),AIFormToolbarViewMainActionLabel[_0xb698c5(0x13f)]),this[_0xb698c5(0x148)]=this[_0xb698c5(0x14c)]('',_0xb698c5(0x14a)),this[_0xb698c5(0x148)][_0xb698c5(0x141)](_0xb698c5(0x15b))['to'](this,_0xb698c5(0x140),_0x44c968=>_0xedb936(_0x17b5fe,_0xb698c5(0x147)+_0x44c968[_0xb698c5(0x156)]()+_0xb698c5(0x14b))),this[_0xb698c5(0x158)]=this[_0xb698c5(0x14c)](_0xedb936(_0x17b5fe,_0xb698c5(0x163))),this[_0xb698c5(0x15d)]=this[_0xb698c5(0x14c)](_0xedb936(_0x17b5fe,_0xb698c5(0x146))),this[_0xb698c5(0x157)]=this[_0xb698c5(0x14c)](_0xedb936(_0x17b5fe,_0xb698c5(0x154)));const _0x1bcc21=this[_0xb698c5(0x142)];this[_0xb698c5(0x14f)]({'attributes':{'class':[_0xb698c5(0x15e),_0x1bcc21['if'](_0xb698c5(0x14e),_0xb698c5(0x143),_0xeb98ca=>!_0xeb98ca)]}}),this[_0xb698c5(0x15f)][_0xb698c5(0x160)]([this[_0xb698c5(0x148)],this[_0xb698c5(0x158)],this[_0xb698c5(0x15d)],this[_0xb698c5(0x157)]]);}[_0x5b3315(0x14c)](_0x43bedd,_0x56a2bd){const _0x1dcc90=_0x5b3315,_0x2f17d7=new _0x4ce311(this[_0x1dcc90(0x144)]);return _0x2f17d7[_0x1dcc90(0x165)]({'label':_0x43bedd,'class':_0x56a2bd||'','isVisible':!0x0,'withText':!0x0}),_0x2f17d7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34e942=_0x141d;(function(_0x14dad4,_0x12a846){const _0x35cabf=_0x141d,_0x5c8efe=_0x14dad4();while(!![]){try{const _0x59d1ca=parseInt(_0x35cabf(0xb0))/0x1*(parseInt(_0x35cabf(0xb4))/0x2)+-parseInt(_0x35cabf(0xe9))/0x3+parseInt(_0x35cabf(0xcc))/0x4*(parseInt(_0x35cabf(0xe7))/0x5)+-parseInt(_0x35cabf(0xe1))/0x6+parseInt(_0x35cabf(0xee))/0x7+-parseInt(_0x35cabf(0xed))/0x8*(-parseInt(_0x35cabf(0xd1))/0x9)+-parseInt(_0x35cabf(0xd4))/0xa*(-parseInt(_0x35cabf(0xfa))/0xb);if(_0x59d1ca===_0x12a846)break;else _0x5c8efe['push'](_0x5c8efe['shift']());}catch(_0x359b6b){_0x5c8efe['push'](_0x5c8efe['shift']());}}}(_0x39af,0x6687a));import{FocusTracker as _0x57c682,KeystrokeHandler as _0x42ea23}from'ckeditor5/src/utils.js';import{View as _0x31ce29,FocusCycler as _0xe467eb,createLabeledTextarea as _0x2aef99}from'ckeditor5/src/ui.js';import _0x2b849d,{AIFormToolbarViewMainActionLabel as _0x1aef17}from'./aiformtoolbarview.js';import _0x2fe880 from'./aiformcontentarea.js';import _0x3a5765 from'./aiformerrorview.js';import _0x4c8bad from'./aiformpromptview.js';function _0x39af(){const _0x11b215=['3614106zGVcnb','tab','listenTo','execute','value','label','5RmdmVb','finishProcessing','2000382rblrdQ','focusLast','_promptHistory','element','18896lmUsHW','1600879QaxWxZ','fire','queryView','REPLACE','_createToolbar','fieldView','high','handleError','locale','render','errorView','insertContentBelow','3806zGHwdc','delegate','items','toolbar','historyGroupView','bind','reset','clear','set','replaceButton','_createHistoryView','tryAgainButton','ck-ai-form-content','isProcessing','focusPrevious','bindTemplate','1XyPAhB','ck-hidden','bindTo','focusTracker','223984GVhuqb','prompt','isError','keystrokes','submit','replaceContent','ck-ai-form','trim','mainAction','Ask\x20AI\x20to\x20improve\x20generated\x20text','submitPrompt','div','AI_ERROR_FAILED','focusFirst','focusNext','Empty\x20history','stopButton','backwardCycle','stopProcessing','stop','promptView','startProcessing','setTemplate','tryAgainEvent','1249200ICRqnN','forwardCycle','isVisible','_createPromptView','search','3033WhTsnA','copyButtonView','add','6940OxMUuI','_focusables','shift\x20+\x20tab','insertButton','clearHistory','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isEnabled','focusCycler','Ask\x20AI\x20to\x20edit\x20or\x20generate','contentArea','focus','createCollection','text'];_0x39af=function(){return _0x11b215;};return _0x39af();}import _0x2c5818 from'./aihistorylistview.js';import _0x48c0cd from'./aihistorylistitemview.js';import _0x4889f0 from'./prompthistory.js';function _0x141d(_0x34c75f,_0x5955e0){const _0x39af79=_0x39af();return _0x141d=function(_0x141dc1,_0x212c64){_0x141dc1=_0x141dc1-0xa4;let _0x3593ce=_0x39af79[_0x141dc1];return _0x3593ce;},_0x141d(_0x34c75f,_0x5955e0);}import{getTranslation as _0x5cda64}from'../../utils/common-translations.js';import{escape as _0x3b362f}from'lodash-es';export default class x extends _0x31ce29{constructor(_0x83ed88,_0x2e2ee1,_0x119303=''){const _0x55463b=_0x141d;super(_0x83ed88),this[_0x55463b(0xa8)](_0x55463b(0xda),!0x0),this[_0x55463b(0xa8)](_0x55463b(0xad),!0x1),this[_0x55463b(0xa8)](_0x55463b(0xb5),''),this[_0x55463b(0xa8)](_0x55463b(0xe5),''),this[_0x55463b(0xa8)](_0x55463b(0xb6),!0x1),this[_0x55463b(0xa8)](_0x55463b(0xbc),_0x1aef17[_0x55463b(0xf1)]),this[_0x55463b(0xeb)]=new _0x4889f0(),this[_0x55463b(0xf8)]=new _0x3a5765(_0x83ed88),this[_0x55463b(0xdd)]=new _0x2fe880(_0x83ed88,_0x119303),this[_0x55463b(0xdd)][_0x55463b(0xa5)](_0x55463b(0xad))['to'](this),this[_0x55463b(0xdd)][_0x55463b(0xa5)](_0x55463b(0xe5))['to'](this),this[_0x55463b(0xfd)]=this[_0x55463b(0xf2)](),this[_0x55463b(0xfd)][_0x55463b(0xa5)](_0x55463b(0xbc))['to'](this),this[_0x55463b(0xc8)]=this[_0x55463b(0xcf)](),this[_0x55463b(0xb3)]=new _0x57c682(),this[_0x55463b(0xb7)]=new _0x42ea23(),this[_0x55463b(0xd5)]=this[_0x55463b(0xdf)]([this[_0x55463b(0xdd)],this[_0x55463b(0xdd)][_0x55463b(0xd2)],this[_0x55463b(0xfd)],this[_0x55463b(0xc8)]]),this[_0x55463b(0xdb)]=new _0xe467eb({'focusables':this[_0x55463b(0xd5)],'focusTracker':this[_0x55463b(0xb3)],'keystrokeHandler':this[_0x55463b(0xb7)],'actions':{'focusPrevious':_0x55463b(0xd6),'focusNext':_0x55463b(0xe2)}}),this[_0x55463b(0xc8)][_0x55463b(0xdb)]['on'](_0x55463b(0xcd),_0x334e83=>{const _0xa12b9=_0x55463b;this[_0xa12b9(0xdb)][_0xa12b9(0xc2)](),_0x334e83[_0xa12b9(0xc7)]();}),this[_0x55463b(0xc8)][_0x55463b(0xdb)]['on'](_0x55463b(0xc5),_0x4558cc=>{const _0x32d5f9=_0x55463b;this[_0x32d5f9(0xdb)][_0x32d5f9(0xae)](),_0x4558cc[_0x32d5f9(0xc7)]();}),this[_0x55463b(0xc8)][_0x55463b(0xf0)][_0x55463b(0xf3)][_0x55463b(0xa5)](_0x55463b(0xe5))['to'](this,_0x55463b(0xb5));const _0x479acb=this[_0x55463b(0xaf)];this[_0x55463b(0xca)]({'tag':_0x55463b(0xbf),'attributes':{'class':['ck',_0x55463b(0xba),_0x2e2ee1],'tabindex':'-1'},'children':[{'tag':_0x55463b(0xbf),'attributes':{'class':['ck',_0x55463b(0xac)]},'children':[{'tag':_0x55463b(0xbf),'attributes':{'class':[_0x479acb['if'](_0x55463b(0xb6),_0x55463b(0xb1),_0x83494b=>!_0x83494b)]},'children':[this[_0x55463b(0xf8)]]},this[_0x55463b(0xdd)],this[_0x55463b(0xfd)],this[_0x55463b(0xc8)]]}]});}[_0x34e942(0xf7)](){const _0x17e8fb=_0x34e942;super[_0x17e8fb(0xf7)](),this[_0x17e8fb(0xb3)][_0x17e8fb(0xd3)](this[_0x17e8fb(0xdd)][_0x17e8fb(0xec)]),this[_0x17e8fb(0xb3)][_0x17e8fb(0xd3)](this[_0x17e8fb(0xdd)][_0x17e8fb(0xd2)][_0x17e8fb(0xec)]),this[_0x17e8fb(0xb3)][_0x17e8fb(0xd3)](this[_0x17e8fb(0xfd)][_0x17e8fb(0xec)]),this[_0x17e8fb(0xb3)][_0x17e8fb(0xd3)](this[_0x17e8fb(0xc8)][_0x17e8fb(0xec)]),this[_0x17e8fb(0xb7)][_0x17e8fb(0xe3)](this[_0x17e8fb(0xec)]);}[_0x34e942(0xde)](_0x54e169=0x1){const _0x39a1c5=_0x34e942;-0x1===_0x54e169?this[_0x39a1c5(0xdb)][_0x39a1c5(0xea)]():this[_0x39a1c5(0xdb)][_0x39a1c5(0xc1)]();}[_0x34e942(0xa6)](){const _0x5202ef=_0x34e942;this[_0x5202ef(0xb5)]='',this[_0x5202ef(0xe5)]='',this[_0x5202ef(0xb6)]=!0x1,this[_0x5202ef(0xc8)][_0x5202ef(0xa6)](),this[_0x5202ef(0xdd)][_0x5202ef(0xce)]=!0x1,this[_0x5202ef(0xfd)][_0x5202ef(0xce)]=!0x1;}[_0x34e942(0xcf)](){const _0xaad359=_0x34e942,_0x1d759d=this[_0xaad359(0xf6)],_0x144784=new _0x4c8bad(_0x1d759d,{'queryView':{'label':_0x5cda64(_0x1d759d,_0xaad359(0xdc)),'creator':_0x2aef99,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5cda64(_0x1d759d,_0xaad359(0xc3)),'secondary':_0x5cda64(_0x1d759d,_0xaad359(0xd9))}}},'filteredView':this[_0xaad359(0xaa)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x144784[_0xaad359(0xa5)](_0xaad359(0xda))['to'](this,_0xaad359(0xda),this,_0xaad359(0xad),(_0x1e7665,_0xeb8628)=>_0x1e7665&&!_0xeb8628),this[_0xaad359(0xe3)](_0x144784,_0xaad359(0xb8),(_0x52da9a,_0x409916)=>{const _0x50cdc9=_0xaad359;this[_0x50cdc9(0xb5)]=_0x409916;const _0x50065e=_0x3b362f(_0x409916);this[_0x50cdc9(0xef)](_0x50cdc9(0xbe),_0x50065e),_0x409916[_0x50cdc9(0xbb)]()&&this[_0x50cdc9(0xeb)][_0x50cdc9(0xd3)]({'prompt':_0x50065e},0x0);},{'priority':_0xaad359(0xf4)}),_0x144784;}[_0x34e942(0xaa)](){const _0x11d6bd=_0x34e942,_0x2850fa=new _0x2c5818(this[_0x11d6bd(0xf6)]);return _0x2850fa[_0x11d6bd(0xa4)][_0x11d6bd(0xfc)][_0x11d6bd(0xb2)](this[_0x11d6bd(0xeb)])['as'](_0x48c0cd),_0x2850fa['on'](_0x11d6bd(0xd8),()=>{const _0xca3563=_0x11d6bd;this[_0xca3563(0xeb)][_0xca3563(0xa7)](),this[_0xca3563(0xc8)][_0xca3563(0xd0)](''),this[_0xca3563(0xc8)][_0xca3563(0xde)]();}),_0x2850fa;}[_0x34e942(0xf2)](){const _0x415358=_0x34e942,_0x49e1d9=new _0x2b849d(this[_0x415358(0xf6)]);return _0x49e1d9[_0x415358(0xa9)][_0x415358(0xa5)](_0x415358(0xda))['to'](this,_0x415358(0xda),this,_0x415358(0xad),this,_0x415358(0xe5),(_0x491dc0,_0x2b8b1e,_0x4adc11)=>_0x491dc0&&!_0x2b8b1e&&!!_0x4adc11),_0x49e1d9[_0x415358(0xa9)][_0x415358(0xfb)](_0x415358(0xe4))['to'](this,_0x415358(0xb9)),_0x49e1d9[_0x415358(0xd7)][_0x415358(0xa5)](_0x415358(0xda))['to'](this,_0x415358(0xda),this,_0x415358(0xad),this,_0x415358(0xe5),(_0x4c1051,_0x2c7350,_0x147276)=>_0x4c1051&&!_0x2c7350&&!!_0x147276),_0x49e1d9[_0x415358(0xd7)][_0x415358(0xfb)](_0x415358(0xe4))['to'](this,_0x415358(0xf9)),_0x49e1d9[_0x415358(0xab)][_0x415358(0xa5)](_0x415358(0xda))['to'](this,_0x415358(0xda),this,_0x415358(0xad),(_0x87ce42,_0x12e1d7)=>_0x87ce42&&!_0x12e1d7),_0x49e1d9[_0x415358(0xab)][_0x415358(0xfb)](_0x415358(0xe4))['to'](this,_0x415358(0xcb)),_0x49e1d9[_0x415358(0xc4)][_0x415358(0xa5)](_0x415358(0xda))['to'](this,_0x415358(0xad)),_0x49e1d9[_0x415358(0xc4)][_0x415358(0xfb)](_0x415358(0xe4))['to'](this,_0x415358(0xc6)),_0x49e1d9;}[_0x34e942(0xc9)](){const _0x5bfc31=_0x34e942;this[_0x5bfc31(0xe5)]='',this[_0x5bfc31(0xb6)]=!0x1,this[_0x5bfc31(0xad)]=!0x0,this[_0x5bfc31(0xdd)][_0x5bfc31(0xce)]=!0x0,this[_0x5bfc31(0xfd)][_0x5bfc31(0xce)]=!0x0,this[_0x5bfc31(0xdd)][_0x5bfc31(0xde)]();}[_0x34e942(0xe8)](){const _0x3afe3b=_0x34e942,_0x29086b=this[_0x3afe3b(0xf6)];this[_0x3afe3b(0xad)]=!0x1,this[_0x3afe3b(0xb5)]='',this[_0x3afe3b(0xc8)][_0x3afe3b(0xa6)](),this[_0x3afe3b(0xe5)]&&(this[_0x3afe3b(0xc8)][_0x3afe3b(0xf0)][_0x3afe3b(0xe6)]=_0x5cda64(_0x29086b,_0x3afe3b(0xbd)));}[_0x34e942(0xf5)](_0x29afdb){const _0x1c12ea=_0x34e942,_0x4b9ddd=this[_0x1c12ea(0xf6)];this[_0x1c12ea(0xe8)](),this[_0x1c12ea(0xb6)]=!0x0,this[_0x1c12ea(0xf8)][_0x1c12ea(0xe0)]=_0x29afdb||_0x5cda64(_0x4b9ddd,_0x1c12ea(0xc0)),this[_0x1c12ea(0xe5)]||(this[_0x1c12ea(0xdd)][_0x1c12ea(0xce)]=!0x1);}}
23
+ const _0x87b35c=_0x3b37;function _0x2304(){const _0x4548e1=['search','add','reset','8cCAObB','ck-ai-form-content','toolbar','isError','1230616qUjnrL','render','contentArea','bindTemplate','_focusables','ck-ai-form','574MQzbGr','copyButtonView','bindTo','focus','focusLast','612AcUqRj','3185075BHVcwr','tab','focusFirst','clearHistory','stopButton','replaceButton','19028960EPRSbG','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','keystrokes','focusPrevious','fieldView','historyGroupView','stopProcessing','label','isVisible','isProcessing','setTemplate','stop','items','_promptHistory','delegate','value','forwardCycle','_createToolbar','tryAgainButton','element','focusTracker','mainAction','finishProcessing','errorView','submit','handleError','focusCycler','insertButton','_createHistoryView','tryAgainEvent','focusNext','3316iWiehb','high','promptView','queryView','Ask\x20AI\x20to\x20improve\x20generated\x20text','replaceContent','locale','isEnabled','bind','12472245DltVsM','REPLACE','82794rqZHkQ','4245164hYGqCw','fire','prompt','listenTo','ck-hidden','Empty\x20history','backwardCycle','AI_ERROR_FAILED','text','createCollection','startProcessing','Ask\x20AI\x20to\x20edit\x20or\x20generate','set','shift\x20+\x20tab','submitPrompt','_createPromptView','execute','clear','div','insertContentBelow','trim','11YkkgDr'];_0x2304=function(){return _0x4548e1;};return _0x2304();}(function(_0x12947e,_0x4b0748){const _0x669555=_0x3b37,_0xc4c4be=_0x12947e();while(!![]){try{const _0x37a7f2=parseInt(_0x669555(0x101))/0x1+parseInt(_0x669555(0x132))/0x2*(-parseInt(_0x669555(0x10c))/0x3)+parseInt(_0x669555(0x13e))/0x4+-parseInt(_0x669555(0x10d))/0x5+-parseInt(_0x669555(0x13d))/0x6*(parseInt(_0x669555(0x107))/0x7)+parseInt(_0x669555(0xfd))/0x8*(-parseInt(_0x669555(0x13b))/0x9)+parseInt(_0x669555(0x113))/0xa*(parseInt(_0x669555(0xf9))/0xb);if(_0x37a7f2===_0x4b0748)break;else _0xc4c4be['push'](_0xc4c4be['shift']());}catch(_0x5f9bd3){_0xc4c4be['push'](_0xc4c4be['shift']());}}}(_0x2304,0xab719));import{FocusTracker as _0x1bb9d9,KeystrokeHandler as _0x58f99c}from'ckeditor5/src/utils.js';import{View as _0x2c216c,FocusCycler as _0xdaedcc,createLabeledTextarea as _0x43c895}from'ckeditor5/src/ui.js';import _0xbeec5f,{AIFormToolbarViewMainActionLabel as _0x4bdbed}from'./aiformtoolbarview.js';import _0x1a5965 from'./aiformcontentarea.js';import _0x178dc4 from'./aiformerrorview.js';import _0x5b0a58 from'./aiformpromptview.js';import _0x51ee00 from'./aihistorylistview.js';import _0x4bb9fa from'./aihistorylistitemview.js';import _0x264ef3 from'./prompthistory.js';function _0x3b37(_0x2cfee1,_0x198447){const _0x2304a2=_0x2304();return _0x3b37=function(_0x3b37c3,_0x34ebd1){_0x3b37c3=_0x3b37c3-0xee;let _0xffc270=_0x2304a2[_0x3b37c3];return _0xffc270;},_0x3b37(_0x2cfee1,_0x198447);}import{getTranslation as _0x47992c}from'../../utils/common-translations.js';import{escape as _0x2ce12b}from'lodash-es';export default class x extends _0x2c216c{constructor(_0x12c06d,_0x4d98f1,_0xb4fc54=''){const _0xe88fc7=_0x3b37;super(_0x12c06d),this[_0xe88fc7(0xf0)](_0xe88fc7(0x139),!0x0),this[_0xe88fc7(0xf0)](_0xe88fc7(0x11c),!0x1),this[_0xe88fc7(0xf0)](_0xe88fc7(0x140),''),this[_0xe88fc7(0xf0)](_0xe88fc7(0x122),''),this[_0xe88fc7(0xf0)](_0xe88fc7(0x100),!0x1),this[_0xe88fc7(0xf0)](_0xe88fc7(0x128),_0x4bdbed[_0xe88fc7(0x13c)]),this[_0xe88fc7(0x120)]=new _0x264ef3(),this[_0xe88fc7(0x12a)]=new _0x178dc4(_0x12c06d),this[_0xe88fc7(0x103)]=new _0x1a5965(_0x12c06d,_0xb4fc54),this[_0xe88fc7(0x103)][_0xe88fc7(0x13a)](_0xe88fc7(0x11c))['to'](this),this[_0xe88fc7(0x103)][_0xe88fc7(0x13a)](_0xe88fc7(0x122))['to'](this),this[_0xe88fc7(0xff)]=this[_0xe88fc7(0x124)](),this[_0xe88fc7(0xff)][_0xe88fc7(0x13a)](_0xe88fc7(0x128))['to'](this),this[_0xe88fc7(0x134)]=this[_0xe88fc7(0xf3)](),this[_0xe88fc7(0x127)]=new _0x1bb9d9(),this[_0xe88fc7(0x115)]=new _0x58f99c(),this[_0xe88fc7(0x105)]=this[_0xe88fc7(0x147)]([this[_0xe88fc7(0x103)],this[_0xe88fc7(0x103)][_0xe88fc7(0x108)],this[_0xe88fc7(0xff)],this[_0xe88fc7(0x134)]]),this[_0xe88fc7(0x12d)]=new _0xdaedcc({'focusables':this[_0xe88fc7(0x105)],'focusTracker':this[_0xe88fc7(0x127)],'keystrokeHandler':this[_0xe88fc7(0x115)],'actions':{'focusPrevious':_0xe88fc7(0xf1),'focusNext':_0xe88fc7(0x10e)}}),this[_0xe88fc7(0x134)][_0xe88fc7(0x12d)]['on'](_0xe88fc7(0x123),_0x4c7e43=>{const _0x2a0b25=_0xe88fc7;this[_0x2a0b25(0x12d)][_0x2a0b25(0x131)](),_0x4c7e43[_0x2a0b25(0x11e)]();}),this[_0xe88fc7(0x134)][_0xe88fc7(0x12d)]['on'](_0xe88fc7(0x144),_0x397d30=>{const _0x553409=_0xe88fc7;this[_0x553409(0x12d)][_0x553409(0x116)](),_0x397d30[_0x553409(0x11e)]();}),this[_0xe88fc7(0x134)][_0xe88fc7(0x135)][_0xe88fc7(0x117)][_0xe88fc7(0x13a)](_0xe88fc7(0x122))['to'](this,_0xe88fc7(0x140));const _0x41039f=this[_0xe88fc7(0x104)];this[_0xe88fc7(0x11d)]({'tag':_0xe88fc7(0xf6),'attributes':{'class':['ck',_0xe88fc7(0x106),_0x4d98f1],'tabindex':'-1'},'children':[{'tag':_0xe88fc7(0xf6),'attributes':{'class':['ck',_0xe88fc7(0xfe)]},'children':[{'tag':_0xe88fc7(0xf6),'attributes':{'class':[_0x41039f['if'](_0xe88fc7(0x100),_0xe88fc7(0x142),_0x876c3e=>!_0x876c3e)]},'children':[this[_0xe88fc7(0x12a)]]},this[_0xe88fc7(0x103)],this[_0xe88fc7(0xff)],this[_0xe88fc7(0x134)]]}]});}[_0x87b35c(0x102)](){const _0x396061=_0x87b35c;super[_0x396061(0x102)](),this[_0x396061(0x127)][_0x396061(0xfb)](this[_0x396061(0x103)][_0x396061(0x126)]),this[_0x396061(0x127)][_0x396061(0xfb)](this[_0x396061(0x103)][_0x396061(0x108)][_0x396061(0x126)]),this[_0x396061(0x127)][_0x396061(0xfb)](this[_0x396061(0xff)][_0x396061(0x126)]),this[_0x396061(0x127)][_0x396061(0xfb)](this[_0x396061(0x134)][_0x396061(0x126)]),this[_0x396061(0x115)][_0x396061(0x141)](this[_0x396061(0x126)]);}[_0x87b35c(0x10a)](_0x15dd6f=0x1){const _0x2480bc=_0x87b35c;-0x1===_0x15dd6f?this[_0x2480bc(0x12d)][_0x2480bc(0x10b)]():this[_0x2480bc(0x12d)][_0x2480bc(0x10f)]();}[_0x87b35c(0xfc)](){const _0x1db7c7=_0x87b35c;this[_0x1db7c7(0x140)]='',this[_0x1db7c7(0x122)]='',this[_0x1db7c7(0x100)]=!0x1,this[_0x1db7c7(0x134)][_0x1db7c7(0xfc)](),this[_0x1db7c7(0x103)][_0x1db7c7(0x11b)]=!0x1,this[_0x1db7c7(0xff)][_0x1db7c7(0x11b)]=!0x1;}[_0x87b35c(0xf3)](){const _0x58437e=_0x87b35c,_0x235557=this[_0x58437e(0x138)],_0x587168=new _0x5b0a58(_0x235557,{'queryView':{'label':_0x47992c(_0x235557,_0x58437e(0xef)),'creator':_0x43c895,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x47992c(_0x235557,_0x58437e(0x143)),'secondary':_0x47992c(_0x235557,_0x58437e(0x114))}}},'filteredView':this[_0x58437e(0x12f)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x587168[_0x58437e(0x13a)](_0x58437e(0x139))['to'](this,_0x58437e(0x139),this,_0x58437e(0x11c),(_0x1292f7,_0x3b0259)=>_0x1292f7&&!_0x3b0259),this[_0x58437e(0x141)](_0x587168,_0x58437e(0x12b),(_0x5b29aa,_0x812234)=>{const _0x4d8798=_0x58437e;this[_0x4d8798(0x140)]=_0x812234;const _0x2ddade=_0x2ce12b(_0x812234);this[_0x4d8798(0x13f)](_0x4d8798(0xf2),_0x2ddade),_0x812234[_0x4d8798(0xf8)]()&&this[_0x4d8798(0x120)][_0x4d8798(0xfb)]({'prompt':_0x2ddade},0x0);},{'priority':_0x58437e(0x133)}),_0x587168;}[_0x87b35c(0x12f)](){const _0x327b27=_0x87b35c,_0x3adba0=new _0x51ee00(this[_0x327b27(0x138)]);return _0x3adba0[_0x327b27(0x118)][_0x327b27(0x11f)][_0x327b27(0x109)](this[_0x327b27(0x120)])['as'](_0x4bb9fa),_0x3adba0['on'](_0x327b27(0x110),()=>{const _0xe6c99b=_0x327b27;this[_0xe6c99b(0x120)][_0xe6c99b(0xf5)](),this[_0xe6c99b(0x134)][_0xe6c99b(0xfa)](''),this[_0xe6c99b(0x134)][_0xe6c99b(0x10a)]();}),_0x3adba0;}[_0x87b35c(0x124)](){const _0x5d3a07=_0x87b35c,_0x51ec38=new _0xbeec5f(this[_0x5d3a07(0x138)]);return _0x51ec38[_0x5d3a07(0x112)][_0x5d3a07(0x13a)](_0x5d3a07(0x139))['to'](this,_0x5d3a07(0x139),this,_0x5d3a07(0x11c),this,_0x5d3a07(0x122),(_0x381881,_0x1be72a,_0x237aeb)=>_0x381881&&!_0x1be72a&&!!_0x237aeb),_0x51ec38[_0x5d3a07(0x112)][_0x5d3a07(0x121)](_0x5d3a07(0xf4))['to'](this,_0x5d3a07(0x137)),_0x51ec38[_0x5d3a07(0x12e)][_0x5d3a07(0x13a)](_0x5d3a07(0x139))['to'](this,_0x5d3a07(0x139),this,_0x5d3a07(0x11c),this,_0x5d3a07(0x122),(_0x2e0d2b,_0x5979f0,_0x32393d)=>_0x2e0d2b&&!_0x5979f0&&!!_0x32393d),_0x51ec38[_0x5d3a07(0x12e)][_0x5d3a07(0x121)](_0x5d3a07(0xf4))['to'](this,_0x5d3a07(0xf7)),_0x51ec38[_0x5d3a07(0x125)][_0x5d3a07(0x13a)](_0x5d3a07(0x139))['to'](this,_0x5d3a07(0x139),this,_0x5d3a07(0x11c),(_0x357740,_0x5bbb9d)=>_0x357740&&!_0x5bbb9d),_0x51ec38[_0x5d3a07(0x125)][_0x5d3a07(0x121)](_0x5d3a07(0xf4))['to'](this,_0x5d3a07(0x130)),_0x51ec38[_0x5d3a07(0x111)][_0x5d3a07(0x13a)](_0x5d3a07(0x139))['to'](this,_0x5d3a07(0x11c)),_0x51ec38[_0x5d3a07(0x111)][_0x5d3a07(0x121)](_0x5d3a07(0xf4))['to'](this,_0x5d3a07(0x119)),_0x51ec38;}[_0x87b35c(0xee)](){const _0x344590=_0x87b35c;this[_0x344590(0x122)]='',this[_0x344590(0x100)]=!0x1,this[_0x344590(0x11c)]=!0x0,this[_0x344590(0x103)][_0x344590(0x11b)]=!0x0,this[_0x344590(0xff)][_0x344590(0x11b)]=!0x0,this[_0x344590(0x103)][_0x344590(0x10a)]();}[_0x87b35c(0x129)](){const _0xa309ed=_0x87b35c,_0x5d78e0=this[_0xa309ed(0x138)];this[_0xa309ed(0x11c)]=!0x1,this[_0xa309ed(0x140)]='',this[_0xa309ed(0x134)][_0xa309ed(0xfc)](),this[_0xa309ed(0x122)]&&(this[_0xa309ed(0x134)][_0xa309ed(0x135)][_0xa309ed(0x11a)]=_0x47992c(_0x5d78e0,_0xa309ed(0x136)));}[_0x87b35c(0x12c)](_0x2b3058){const _0x5dcb5a=_0x87b35c,_0x39f89c=this[_0x5dcb5a(0x138)];this[_0x5dcb5a(0x129)](),this[_0x5dcb5a(0x100)]=!0x0,this[_0x5dcb5a(0x12a)][_0x5dcb5a(0x146)]=_0x2b3058||_0x47992c(_0x39f89c,_0x5dcb5a(0x145)),this[_0x5dcb5a(0x122)]||(this[_0x5dcb5a(0x103)][_0x5dcb5a(0x11b)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4de5f6,_0xfb280a){const _0x2cd814=_0x2c18,_0x59f381=_0x4de5f6();while(!![]){try{const _0x31532f=-parseInt(_0x2cd814(0x106))/0x1+parseInt(_0x2cd814(0x10a))/0x2+parseInt(_0x2cd814(0x110))/0x3*(-parseInt(_0x2cd814(0x103))/0x4)+parseInt(_0x2cd814(0x108))/0x5*(parseInt(_0x2cd814(0x104))/0x6)+parseInt(_0x2cd814(0x102))/0x7*(parseInt(_0x2cd814(0x10b))/0x8)+-parseInt(_0x2cd814(0x100))/0x9*(parseInt(_0x2cd814(0x10e))/0xa)+parseInt(_0x2cd814(0x105))/0xb*(parseInt(_0x2cd814(0x10c))/0xc);if(_0x31532f===_0xfb280a)break;else _0x59f381['push'](_0x59f381['shift']());}catch(_0x5c74de){_0x59f381['push'](_0x59f381['shift']());}}}(_0x30c8,0x72d37));import{ListItemView as _0x505904,ButtonView as _0x4bd6b7}from'ckeditor5/src/ui.js';import _0x1b6789 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x4e5489}from'lodash-es';function _0x30c8(){const _0x2b830a=['368PLhUCD','12KWMAkm','add','2370fJBQzP','execute','63219PSBtRN','prompt','set','29970hAeKNC','children','2086XoTJRg','68ywbAmU','18hJjQkw','16739602KdEbRZ','836211mmjnJV','fire','864355sgKpjH','locale','799772kyvQVw'];_0x30c8=function(){return _0x2b830a;};return _0x30c8();}function _0x2c18(_0x50854c,_0x3b7640){const _0x30c83e=_0x30c8();return _0x2c18=function(_0x2c1851,_0x5ebbc1){_0x2c1851=_0x2c1851-0x100;let _0x590413=_0x30c83e[_0x2c1851];return _0x590413;},_0x2c18(_0x50854c,_0x3b7640);}export default class hs extends _0x505904{constructor(_0x352213){const _0x158c0a=_0x2c18;super();const _0xc9bc96=new _0x1b6789(),_0x38590f=new _0x4bd6b7(this[_0x158c0a(0x109)],_0xc9bc96);this[_0x158c0a(0x101)][_0x158c0a(0x10d)](_0x38590f),_0x38590f[_0x158c0a(0x112)]({'label':_0x352213[_0x158c0a(0x111)],'withText':!0x0}),_0x38590f['on'](_0x158c0a(0x10f),()=>{const _0x47cf5d=_0x158c0a;this[_0x47cf5d(0x107)](_0x47cf5d(0x10f),{'value':_0x4e5489(_0x352213[_0x47cf5d(0x111)])});});}}
23
+ (function(_0x3bea65,_0x448534){const _0x409db9=_0x3906,_0x287c71=_0x3bea65();while(!![]){try{const _0x26b42a=-parseInt(_0x409db9(0x1a8))/0x1*(-parseInt(_0x409db9(0x1a5))/0x2)+-parseInt(_0x409db9(0x1ab))/0x3*(-parseInt(_0x409db9(0x1aa))/0x4)+parseInt(_0x409db9(0x1a1))/0x5*(parseInt(_0x409db9(0x1a9))/0x6)+parseInt(_0x409db9(0x1a3))/0x7+parseInt(_0x409db9(0x1a6))/0x8*(parseInt(_0x409db9(0x1a4))/0x9)+parseInt(_0x409db9(0x1b3))/0xa+-parseInt(_0x409db9(0x1a7))/0xb*(parseInt(_0x409db9(0x1ad))/0xc);if(_0x26b42a===_0x448534)break;else _0x287c71['push'](_0x287c71['shift']());}catch(_0x34991c){_0x287c71['push'](_0x287c71['shift']());}}}(_0xb168,0x98eb9));import{ListItemView as _0x2c6d21,ButtonView as _0x5e2cb4}from'ckeditor5/src/ui.js';function _0x3906(_0x24541a,_0x32ef9c){const _0xb16851=_0xb168();return _0x3906=function(_0x3906e9,_0x58db13){_0x3906e9=_0x3906e9-0x1a1;let _0x532975=_0xb16851[_0x3906e9];return _0x532975;},_0x3906(_0x24541a,_0x32ef9c);}function _0xb168(){const _0x4da982=['3674aoNwXR','115127dPNtvg','78YHgJAE','491084xdxCoX','3xzQVaK','locale','125652ClWjoO','children','execute','fire','prompt','set','11851920nsFgKM','438010rMntDZ','add','4613378hoStQs','1907487MOgNQN','14OzgHFW','8ADPKkG'];_0xb168=function(){return _0x4da982;};return _0xb168();}import _0x5cb113 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x8e029d}from'lodash-es';export default class hs extends _0x2c6d21{constructor(_0x2ef61f){const _0x2bd202=_0x3906;super();const _0x2b4a2a=new _0x5cb113(),_0x2e2620=new _0x5e2cb4(this[_0x2bd202(0x1ac)],_0x2b4a2a);this[_0x2bd202(0x1ae)][_0x2bd202(0x1a2)](_0x2e2620),_0x2e2620[_0x2bd202(0x1b2)]({'label':_0x2ef61f[_0x2bd202(0x1b1)],'withText':!0x0}),_0x2e2620['on'](_0x2bd202(0x1af),()=>{const _0x370427=_0x2bd202;this[_0x370427(0x1b0)](_0x370427(0x1af),{'value':_0x8e029d(_0x2ef61f[_0x370427(0x1b1)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e8392=_0x32d8;(function(_0x68d005,_0x310d6c){const _0x3bab0d=_0x32d8,_0x1bd279=_0x68d005();while(!![]){try{const _0x123597=parseInt(_0x3bab0d(0x1a1))/0x1*(parseInt(_0x3bab0d(0x195))/0x2)+-parseInt(_0x3bab0d(0x194))/0x3*(-parseInt(_0x3bab0d(0x19b))/0x4)+-parseInt(_0x3bab0d(0x1a7))/0x5*(parseInt(_0x3bab0d(0x1a8))/0x6)+parseInt(_0x3bab0d(0x19a))/0x7*(parseInt(_0x3bab0d(0x1a9))/0x8)+-parseInt(_0x3bab0d(0x19e))/0x9+parseInt(_0x3bab0d(0x196))/0xa*(parseInt(_0x3bab0d(0x1a3))/0xb)+-parseInt(_0x3bab0d(0x192))/0xc*(parseInt(_0x3bab0d(0x199))/0xd);if(_0x123597===_0x310d6c)break;else _0x1bd279['push'](_0x1bd279['shift']());}catch(_0x53d77c){_0x1bd279['push'](_0x1bd279['shift']());}}}(_0x5340,0xedc5a));import{ListView as _0x590cf4,ListItemGroupView as _0xe6480a,ButtonView as _0x4d8d65}from'ckeditor5/src/ui.js';import{getTranslation as _0x21fd2e}from'../../utils/common-translations.js';function _0x32d8(_0x39c598,_0x5e55ea){const _0x534003=_0x5340();return _0x32d8=function(_0x32d83d,_0xf06b39){_0x32d83d=_0x32d83d-0x190;let _0x118f89=_0x534003[_0x32d83d];return _0x118f89;},_0x32d8(_0x39c598,_0x5e55ea);}function _0x5340(){const _0x13656f=['12ELdERk','historyGroupView','784596vKizOH','2VBvmsu','60ZifDJT','children','locale','14905618fJumwi','385MOOFZi','8dxRFzD','fire','Prompt\x20history','2791359vQwzDO','items','clearHistory','1068779mVnwQg','clearHistoryButton','3180419jvUgqx','Clear','length','_createClearHistoryButton','15UESksA','3157362USEJzD','99304QELxAk','add','delegate','filter','set','label','execute'];_0x5340=function(){return _0x13656f;};return _0x5340();}export default class rs extends _0x590cf4{constructor(_0x11bda3){const _0x1c3312=_0x32d8;super(_0x11bda3),this[_0x1c3312(0x1a2)]=this[_0x1c3312(0x1a6)](),this[_0x1c3312(0x193)]=new _0xe6480a(),this[_0x1c3312(0x193)][_0x1c3312(0x197)][_0x1c3312(0x1aa)](this[_0x1c3312(0x1a2)],0x1),this[_0x1c3312(0x193)][_0x1c3312(0x190)]=_0x21fd2e(_0x11bda3,_0x1c3312(0x19d)),this[_0x1c3312(0x193)][_0x1c3312(0x19f)][_0x1c3312(0x1ab)](_0x1c3312(0x191))['to'](this),this[_0x1c3312(0x19f)][_0x1c3312(0x1aa)](this[_0x1c3312(0x193)]);}[_0x2e8392(0x1ac)](){const _0x2f5535=_0x2e8392;let _0x295586=0x0;for(const _0x3943c3 of this[_0x2f5535(0x19f)])_0x295586+=_0x3943c3[_0x2f5535(0x19f)][_0x2f5535(0x1a5)];return{'resultsCount':_0x295586,'totalItemsCount':_0x295586};}[_0x2e8392(0x1a6)](){const _0x106d87=_0x2e8392,_0xb3b70e=this[_0x106d87(0x198)],_0x2f0e6f=new _0x4d8d65(this[_0x106d87(0x198)]);return _0x2f0e6f[_0x106d87(0x1ad)]({'label':'('+_0x21fd2e(_0xb3b70e,_0x106d87(0x1a4))+')','withText':!0x0}),_0x2f0e6f['on'](_0x106d87(0x191),()=>this[_0x106d87(0x19c)](_0x106d87(0x1a0))),_0x2f0e6f;}}
23
+ const _0x38ce39=_0x248c;(function(_0x15037c,_0x4ecc06){const _0x3f0825=_0x248c,_0x331a34=_0x15037c();while(!![]){try{const _0x2695a4=-parseInt(_0x3f0825(0xcb))/0x1*(-parseInt(_0x3f0825(0xde))/0x2)+parseInt(_0x3f0825(0xdc))/0x3*(-parseInt(_0x3f0825(0xe5))/0x4)+parseInt(_0x3f0825(0xcc))/0x5*(-parseInt(_0x3f0825(0xce))/0x6)+-parseInt(_0x3f0825(0xe1))/0x7*(-parseInt(_0x3f0825(0xe2))/0x8)+parseInt(_0x3f0825(0xe4))/0x9+-parseInt(_0x3f0825(0xd2))/0xa+parseInt(_0x3f0825(0xdd))/0xb*(parseInt(_0x3f0825(0xe3))/0xc);if(_0x2695a4===_0x4ecc06)break;else _0x331a34['push'](_0x331a34['shift']());}catch(_0x26ed8e){_0x331a34['push'](_0x331a34['shift']());}}}(_0xbed8,0x4a147));import{ListView as _0x4b4045,ListItemGroupView as _0x1ac638,ButtonView as _0x5e68f7}from'ckeditor5/src/ui.js';import{getTranslation as _0x1e1cea}from'../../utils/common-translations.js';export default class rs extends _0x4b4045{constructor(_0xd87e91){const _0x1ba709=_0x248c;super(_0xd87e91),this[_0x1ba709(0xda)]=this[_0x1ba709(0xcd)](),this[_0x1ba709(0xe0)]=new _0x1ac638(),this[_0x1ba709(0xe0)][_0x1ba709(0xd8)][_0x1ba709(0xd6)](this[_0x1ba709(0xda)],0x1),this[_0x1ba709(0xe0)][_0x1ba709(0xca)]=_0x1e1cea(_0xd87e91,_0x1ba709(0xd1)),this[_0x1ba709(0xe0)][_0x1ba709(0xd5)][_0x1ba709(0xd9)](_0x1ba709(0xd3))['to'](this),this[_0x1ba709(0xd5)][_0x1ba709(0xd6)](this[_0x1ba709(0xe0)]);}[_0x38ce39(0xe6)](){const _0x194eba=_0x38ce39;let _0x30aee1=0x0;for(const _0x3df670 of this[_0x194eba(0xd5)])_0x30aee1+=_0x3df670[_0x194eba(0xd5)][_0x194eba(0xd0)];return{'resultsCount':_0x30aee1,'totalItemsCount':_0x30aee1};}[_0x38ce39(0xcd)](){const _0x33dd75=_0x38ce39,_0x1f067f=this[_0x33dd75(0xcf)],_0x4ff60b=new _0x5e68f7(this[_0x33dd75(0xcf)]);return _0x4ff60b[_0x33dd75(0xdb)]({'label':'('+_0x1e1cea(_0x1f067f,_0x33dd75(0xd4))+')','withText':!0x0}),_0x4ff60b['on'](_0x33dd75(0xd3),()=>this[_0x33dd75(0xd7)](_0x33dd75(0xdf))),_0x4ff60b;}}function _0x248c(_0x5daa05,_0x12b87){const _0xbed814=_0xbed8();return _0x248c=function(_0x248cf2,_0x51a4ff){_0x248cf2=_0x248cf2-0xca;let _0x1a6ca1=_0xbed814[_0x248cf2];return _0x1a6ca1;},_0x248c(_0x5daa05,_0x12b87);}function _0xbed8(){const _0x2ccf98=['Prompt\x20history','87190hQdkmH','execute','Clear','items','add','fire','children','delegate','clearHistoryButton','set','33717VWaHns','44YlbLJp','348nDGuqP','clearHistory','historyGroupView','7iIYFmV','2935032Jbaivi','747624WmDJlv','2230308sgPySQ','44YUNkKX','filter','label','592ONEUGc','1327820WBNSvp','_createClearHistoryButton','12nPEAed','locale','length'];_0xbed8=function(){return _0x2ccf98;};return _0xbed8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x439779=_0x9cd6;(function(_0x4d1edf,_0x426cf3){const _0x37eca1=_0x9cd6,_0x52a9b4=_0x4d1edf();while(!![]){try{const _0x43846d=-parseInt(_0x37eca1(0x8b))/0x1*(-parseInt(_0x37eca1(0x94))/0x2)+-parseInt(_0x37eca1(0xa4))/0x3+-parseInt(_0x37eca1(0xa1))/0x4*(parseInt(_0x37eca1(0xa5))/0x5)+-parseInt(_0x37eca1(0x9e))/0x6*(parseInt(_0x37eca1(0xa0))/0x7)+-parseInt(_0x37eca1(0x8d))/0x8+-parseInt(_0x37eca1(0x8e))/0x9*(-parseInt(_0x37eca1(0x97))/0xa)+parseInt(_0x37eca1(0x92))/0xb*(parseInt(_0x37eca1(0x99))/0xc);if(_0x43846d===_0x426cf3)break;else _0x52a9b4['push'](_0x52a9b4['shift']());}catch(_0x4f8ec8){_0x52a9b4['push'](_0x52a9b4['shift']());}}}(_0x28dd,0x6a642));import{Collection as _0x7a107a}from'ckeditor5/src/utils.js';function _0x9cd6(_0x21cf51,_0x2bbed5){const _0x28dd91=_0x28dd();return _0x9cd6=function(_0x9cd649,_0x415923){_0x9cd649=_0x9cd649-0x8b;let _0x3b0235=_0x28dd91[_0x9cd649];return _0x3b0235;},_0x9cd6(_0x21cf51,_0x2bbed5);}const cs=_0x439779(0x98);export default class os extends _0x7a107a{constructor(){const _0x10ec23=_0x439779;super(),this[_0x10ec23(0x91)](),this['on'](_0x10ec23(0x95),(_0x4fa0fa,_0x35e6e9)=>{const _0x3df628=_0x10ec23,_0x361b96=Ss(_0x35e6e9[_0x3df628(0x9d)]);for(const _0x378abf of this)if(_0x378abf!=_0x35e6e9&&Ss(_0x378abf[_0x3df628(0x9d)])===_0x361b96){this[_0x3df628(0xa2)](_0x378abf);break;}this[_0x3df628(0x9f)]>0x14&&this[_0x3df628(0xa2)](this[_0x3df628(0x9b)]),this[_0x3df628(0x9c)]();}),this['on'](_0x10ec23(0xa2),()=>{const _0x28f3b5=_0x10ec23;this[_0x28f3b5(0x9c)]();});}[_0x439779(0x91)](){const _0x1c2721=_0x439779,_0x57be6a=sessionStorage[_0x1c2721(0x9a)](cs)||'[]';this[_0x1c2721(0x8c)](JSON[_0x1c2721(0x96)](_0x57be6a));}[_0x439779(0x9c)](){const _0x17a4bd=_0x439779;sessionStorage[_0x17a4bd(0x90)](cs,JSON[_0x17a4bd(0x8f)](this[_0x17a4bd(0xa6)](_0x1ef105=>_0x1ef105)));}}function _0x28dd(){const _0x173bfc=['915183ehYIYG','30iKojAA','map','4345aZhGXi','addMany','2846824FeUvuo','1356084sFCYwX','stringify','setItem','_loadFromSessionStorage','15946436HzTzpm','trim','20dxwBgF','add','parse','10FTuPiP','CKEditor/AIFormView/PromptHistory','12WpLbSl','getItem','last','_saveToSessionStorage','prompt','75726OCyziE','length','42mlwpIZ','314256AlcmYR','remove','toLowerCase'];_0x28dd=function(){return _0x173bfc;};return _0x28dd();}function Ss(_0x3b1d05){const _0x49b504=_0x439779;return _0x3b1d05[_0x49b504(0xa3)]()[_0x49b504(0x93)]();}
23
+ const _0x335a8a=_0x3495;(function(_0x1ec754,_0x6a6f64){const _0x157025=_0x3495,_0x532cbf=_0x1ec754();while(!![]){try{const _0x49dcb5=-parseInt(_0x157025(0x193))/0x1*(-parseInt(_0x157025(0x1a1))/0x2)+-parseInt(_0x157025(0x19c))/0x3+-parseInt(_0x157025(0x198))/0x4*(-parseInt(_0x157025(0x195))/0x5)+parseInt(_0x157025(0x194))/0x6*(-parseInt(_0x157025(0x1a4))/0x7)+-parseInt(_0x157025(0x197))/0x8+parseInt(_0x157025(0x199))/0x9+-parseInt(_0x157025(0x19d))/0xa*(-parseInt(_0x157025(0x19b))/0xb);if(_0x49dcb5===_0x6a6f64)break;else _0x532cbf['push'](_0x532cbf['shift']());}catch(_0xb96a6d){_0x532cbf['push'](_0x532cbf['shift']());}}}(_0x356a,0x1a82f));function _0x3495(_0x1cbd76,_0x306ebc){const _0x356a23=_0x356a();return _0x3495=function(_0x34956c,_0x171397){_0x34956c=_0x34956c-0x193;let _0x2d771c=_0x356a23[_0x34956c];return _0x2d771c;},_0x3495(_0x1cbd76,_0x306ebc);}function _0x356a(){const _0x1220d7=['getItem','_loadFromSessionStorage','1PdIqxY','54JYPlKm','6010Nkzxwg','addMany','1670928ZXfWJc','612GRVDvb','162630XiyRlW','remove','22nuTrdI','140073xSYUNg','393130CzQZOp','_saveToSessionStorage','length','stringify','203470HRiZyE','toLowerCase','CKEditor/AIFormView/PromptHistory','14147miTnOc','add','parse','map','setItem','trim','prompt','last'];_0x356a=function(){return _0x1220d7;};return _0x356a();}import{Collection as _0x2c8acb}from'ckeditor5/src/utils.js';const cs=_0x335a8a(0x1a3);export default class os extends _0x2c8acb{constructor(){const _0x4434be=_0x335a8a;super(),this[_0x4434be(0x1ad)](),this['on'](_0x4434be(0x1a5),(_0x3ccff4,_0x4cc124)=>{const _0x26b7e0=_0x4434be,_0x512b81=Ss(_0x4cc124[_0x26b7e0(0x1aa)]);for(const _0x2d78c7 of this)if(_0x2d78c7!=_0x4cc124&&Ss(_0x2d78c7[_0x26b7e0(0x1aa)])===_0x512b81){this[_0x26b7e0(0x19a)](_0x2d78c7);break;}this[_0x26b7e0(0x19f)]>0x14&&this[_0x26b7e0(0x19a)](this[_0x26b7e0(0x1ab)]),this[_0x26b7e0(0x19e)]();}),this['on'](_0x4434be(0x19a),()=>{const _0x5dc759=_0x4434be;this[_0x5dc759(0x19e)]();});}[_0x335a8a(0x1ad)](){const _0x878f8a=_0x335a8a,_0x41afc1=sessionStorage[_0x878f8a(0x1ac)](cs)||'[]';this[_0x878f8a(0x196)](JSON[_0x878f8a(0x1a6)](_0x41afc1));}[_0x335a8a(0x19e)](){const _0x30c29d=_0x335a8a;sessionStorage[_0x30c29d(0x1a8)](cs,JSON[_0x30c29d(0x1a0)](this[_0x30c29d(0x1a7)](_0xca8dcc=>_0xca8dcc)));}}function Ss(_0x3553d5){const _0x4e1870=_0x335a8a;return _0x3553d5[_0x4e1870(0x1a2)]()[_0x4e1870(0x1a9)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4abc50=_0x4b85;(function(_0x1eb716,_0x1bd42e){const _0xa3e404=_0x4b85,_0xfec778=_0x1eb716();while(!![]){try{const _0x7fc411=-parseInt(_0xa3e404(0x6b))/0x1+parseInt(_0xa3e404(0x7a))/0x2*(parseInt(_0xa3e404(0x94))/0x3)+parseInt(_0xa3e404(0x81))/0x4*(parseInt(_0xa3e404(0x71))/0x5)+-parseInt(_0xa3e404(0x78))/0x6*(-parseInt(_0xa3e404(0x88))/0x7)+parseInt(_0xa3e404(0x89))/0x8+parseInt(_0xa3e404(0x98))/0x9*(-parseInt(_0xa3e404(0x76))/0xa)+-parseInt(_0xa3e404(0x86))/0xb*(parseInt(_0xa3e404(0x83))/0xc);if(_0x7fc411===_0x1bd42e)break;else _0xfec778['push'](_0xfec778['shift']());}catch(_0x3edb5a){_0xfec778['push'](_0xfec778['shift']());}}}(_0x55b2,0xe159a));import{Command as _0x41eabd}from'ckeditor5/src/core.js';function _0x4b85(_0x36afe9,_0x45f71b){const _0x55b2da=_0x55b2();return _0x4b85=function(_0x4b8558,_0xa5e908){_0x4b8558=_0x4b8558-0x6b;let _0xa8ff4d=_0x55b2da[_0x4b8558];return _0xa8ff4d;},_0x4b85(_0x36afe9,_0x45f71b);}import _0x5b53c9 from'../aiassistantui.js';export default class j extends _0x41eabd{constructor(_0x537ec0,_0x4f6a07){const _0x561098=_0x4b85;super(_0x537ec0),this[_0x561098(0x85)]=_0x4f6a07?_0x4f6a07[_0x561098(0x8e)]((_0x39322f,_0x193fe6)=>_0x39322f[_0x561098(0x7d)](_0x193fe6[_0x561098(0x8c)]),new Array()):[],this[_0x561098(0x93)](_0x561098(0x7b),[]),this['on'](_0x561098(0x95),(_0x44e371,_0x2c83bd,_0x355247)=>{const _0x267408=_0x561098;this[_0x267408(0x97)]&&(this[_0x267408(0x7b)]=K(this[_0x267408(0x85)],_0x355247));}),this[_0x561098(0x93)](_0x561098(0x77),!0x1),this['on'](_0x561098(0x7e),(_0x57f806,_0xb760c3,_0x239476)=>{const _0x1f5d37=_0x561098;this[_0x1f5d37(0x7b)]=_0x239476?K(this[_0x1f5d37(0x85)],this[_0x1f5d37(0x77)]):[];});}[_0x4abc50(0x6c)](){const _0x5e6c9c=_0x4abc50,_0x31053e=this[_0x5e6c9c(0x91)][_0x5e6c9c(0x75)];this[_0x5e6c9c(0x77)]=function(_0x43ae1c){const _0x52dc59=_0x5e6c9c,_0x509230=_0x43ae1c[_0x52dc59(0x6d)][_0x52dc59(0x7c)];return _0x509230[_0x52dc59(0x84)]?0x0!==[..._0x509230[_0x52dc59(0x90)]()][_0x52dc59(0x92)]&&![..._0x509230[_0x52dc59(0x90)]()][0x0][_0x52dc59(0x72)]:!!_0x43ae1c[_0x52dc59(0x73)](_0x509230[_0x52dc59(0x9a)]());}(_0x31053e);const _0x14e9b1=_0x31053e[_0x5e6c9c(0x6d)][_0x5e6c9c(0x7c)],_0x495967=this[_0x5e6c9c(0x91)][_0x5e6c9c(0x6e)][_0x5e6c9c(0x87)](_0x5e6c9c(0x80));for(const _0x5988c1 of _0x14e9b1[_0x5e6c9c(0x6f)]())for(const _0x32866c of _0x5988c1[_0x5e6c9c(0x96)]())if(_0x32866c['is'](_0x5e6c9c(0x74))&&_0x495967[_0x5e6c9c(0x70)](_0x32866c[_0x5e6c9c(0x82)]))return void(this[_0x5e6c9c(0x97)]=!0x1);this[_0x5e6c9c(0x97)]=!0x0;}[_0x4abc50(0x8f)](_0x1eff68='',_0x29f738='',_0x32c2dd=_0x4abc50(0x79)){const _0x6f6578=_0x4abc50;this[_0x6f6578(0x91)][_0x6f6578(0x8a)][_0x6f6578(0x87)](_0x5b53c9)[_0x6f6578(0x8d)](_0x1eff68,_0x29f738,_0x32c2dd);}}function K(_0x46cada,_0x2c255b){const _0xa9f90b=_0x4abc50,_0x5de323=new Set();for(const _0x12eb3f of _0x46cada)(_0x2c255b||!0x1===_0x12eb3f[_0xa9f90b(0x99)])&&_0x5de323[_0xa9f90b(0x8b)](_0x12eb3f['id']);return Array[_0xa9f90b(0x7f)](_0x5de323);}function _0x55b2(){const _0x360a04=['5516QjGAXu','enabledCommandsIds','selection','concat','change:isEnabled','from','ai.aiAssistant.disabledElements','489196IKAEWw','name','16521276knkIql','isCollapsed','_commandDefinitions','11EcrLbA','get','12013673RaiajP','2693696TAtoyO','plugins','add','commands','showUI','reduce','execute','getSelectedBlocks','editor','length','set','153YtXXgg','change:_hasContext','getItems','isEnabled','3412566lrzLTn','requiresContent','getFirstRange','969939QDBkIt','refresh','document','config','getRanges','includes','75cmhGJH','isEmpty','hasContent','element','model','20HuGFXf','_hasContext','6SOwhNj','custom'];_0x55b2=function(){return _0x360a04;};return _0x55b2();}
23
+ function _0x4d42(_0x4b591b,_0x360d9e){const _0x5838cd=_0x5838();return _0x4d42=function(_0x4d4218,_0x25a764){_0x4d4218=_0x4d4218-0x1b2;let _0x294ec7=_0x5838cd[_0x4d4218];return _0x294ec7;},_0x4d42(_0x4b591b,_0x360d9e);}const _0x190aec=_0x4d42;(function(_0x5c6c48,_0x2716a7){const _0x513973=_0x4d42,_0x4d1617=_0x5c6c48();while(!![]){try{const _0x5c2fc4=parseInt(_0x513973(0x1b8))/0x1+-parseInt(_0x513973(0x1dc))/0x2+-parseInt(_0x513973(0x1c1))/0x3*(parseInt(_0x513973(0x1b3))/0x4)+-parseInt(_0x513973(0x1d6))/0x5*(-parseInt(_0x513973(0x1d0))/0x6)+parseInt(_0x513973(0x1d3))/0x7*(parseInt(_0x513973(0x1c7))/0x8)+parseInt(_0x513973(0x1bf))/0x9+-parseInt(_0x513973(0x1c0))/0xa;if(_0x5c2fc4===_0x2716a7)break;else _0x4d1617['push'](_0x4d1617['shift']());}catch(_0x3886a2){_0x4d1617['push'](_0x4d1617['shift']());}}}(_0x5838,0xa7363));import{Command as _0x3a2bc0}from'ckeditor5/src/core.js';function _0x5838(){const _0x1895cd=['from','selection','enabledCommandsIds','12271176ftpEKE','15135220ZVmfbj','606DqdszY','change:isEnabled','hasContent','isCollapsed','name','model','24eLZVWw','custom','isEmpty','commands','showUI','_hasContext','get','includes','length','6JmdRjF','getFirstRange','set','2122267vzbqmh','refresh','getSelectedBlocks','5488235KSCxlk','getRanges','document','config','element','getItems','2263980CWziyU','requiresContent','plugins','_commandDefinitions','change:_hasContext','1404GKkbaZ','execute','concat','ai.aiAssistant.disabledElements','editor','30659jBbLPO','add','isEnabled','reduce'];_0x5838=function(){return _0x1895cd;};return _0x5838();}import _0x220b48 from'../aiassistantui.js';export default class j extends _0x3a2bc0{constructor(_0x2f72e9,_0x4a3fbd){const _0x3e1de0=_0x4d42;super(_0x2f72e9),this[_0x3e1de0(0x1df)]=_0x4a3fbd?_0x4a3fbd[_0x3e1de0(0x1bb)]((_0x58e368,_0x44fa4e)=>_0x58e368[_0x3e1de0(0x1b5)](_0x44fa4e[_0x3e1de0(0x1ca)]),new Array()):[],this[_0x3e1de0(0x1d2)](_0x3e1de0(0x1be),[]),this['on'](_0x3e1de0(0x1b2),(_0x445e38,_0x401933,_0xd39ed7)=>{const _0x519028=_0x3e1de0;this[_0x519028(0x1ba)]&&(this[_0x519028(0x1be)]=K(this[_0x519028(0x1df)],_0xd39ed7));}),this[_0x3e1de0(0x1d2)](_0x3e1de0(0x1cc),!0x1),this['on'](_0x3e1de0(0x1c2),(_0x3ba6fe,_0x488b76,_0x21e8f0)=>{const _0x45bf5e=_0x3e1de0;this[_0x45bf5e(0x1be)]=_0x21e8f0?K(this[_0x45bf5e(0x1df)],this[_0x45bf5e(0x1cc)]):[];});}[_0x190aec(0x1d4)](){const _0x95cd50=_0x190aec,_0x2b8cce=this[_0x95cd50(0x1b7)][_0x95cd50(0x1c6)];this[_0x95cd50(0x1cc)]=function(_0x5394fa){const _0x45854c=_0x95cd50,_0x5115ed=_0x5394fa[_0x45854c(0x1d8)][_0x45854c(0x1bd)];return _0x5115ed[_0x45854c(0x1c4)]?0x0!==[..._0x5115ed[_0x45854c(0x1d5)]()][_0x45854c(0x1cf)]&&![..._0x5115ed[_0x45854c(0x1d5)]()][0x0][_0x45854c(0x1c9)]:!!_0x5394fa[_0x45854c(0x1c3)](_0x5115ed[_0x45854c(0x1d1)]());}(_0x2b8cce);const _0x2d34eb=_0x2b8cce[_0x95cd50(0x1d8)][_0x95cd50(0x1bd)],_0x757ad8=this[_0x95cd50(0x1b7)][_0x95cd50(0x1d9)][_0x95cd50(0x1cd)](_0x95cd50(0x1b6));for(const _0x17f120 of _0x2d34eb[_0x95cd50(0x1d7)]())for(const _0x10e364 of _0x17f120[_0x95cd50(0x1db)]())if(_0x10e364['is'](_0x95cd50(0x1da))&&_0x757ad8[_0x95cd50(0x1ce)](_0x10e364[_0x95cd50(0x1c5)]))return void(this[_0x95cd50(0x1ba)]=!0x1);this[_0x95cd50(0x1ba)]=!0x0;}[_0x190aec(0x1b4)](_0x2fbc31='',_0x36a162='',_0x223575=_0x190aec(0x1c8)){const _0x409789=_0x190aec;this[_0x409789(0x1b7)][_0x409789(0x1de)][_0x409789(0x1cd)](_0x220b48)[_0x409789(0x1cb)](_0x2fbc31,_0x36a162,_0x223575);}}function K(_0x2b0640,_0x15d788){const _0x520b13=_0x190aec,_0x433eaf=new Set();for(const _0x23fbf0 of _0x2b0640)(_0x15d788||!0x1===_0x23fbf0[_0x520b13(0x1dd)])&&_0x433eaf[_0x520b13(0x1b9)](_0x23fbf0['id']);return Array[_0x520b13(0x1bc)](_0x433eaf);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x42f6ac,_0x3933ea,_0x2341be){const t=_0x42f6ac['t'];switch(_0x3933ea){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x2341be);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',_0x2341be);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2341be);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'},_0x2341be);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 _0x3933ea;}}
23
+ export function getTranslation(_0x4fc19c,_0x483e16,_0x4080a0){const t=_0x4fc19c['t'];switch(_0x483e16){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x4080a0);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',_0x4080a0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4080a0);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'},_0x4080a0);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 _0x483e16;}}