@ckeditor/ckeditor5-ai 43.2.0-alpha.1 → 43.2.0-alpha.3

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 (131) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/tt.js +1 -1
  97. package/dist/translations/tt.umd.js +1 -1
  98. package/dist/translations/ug.js +1 -1
  99. package/dist/translations/ug.umd.js +1 -1
  100. package/dist/translations/uk.js +1 -1
  101. package/dist/translations/uk.umd.js +1 -1
  102. package/dist/translations/ur.js +1 -1
  103. package/dist/translations/ur.umd.js +1 -1
  104. package/dist/translations/uz.js +1 -1
  105. package/dist/translations/uz.umd.js +1 -1
  106. package/dist/translations/vi.js +1 -1
  107. package/dist/translations/vi.umd.js +1 -1
  108. package/dist/translations/zh-cn.js +1 -1
  109. package/dist/translations/zh-cn.umd.js +1 -1
  110. package/dist/translations/zh.js +1 -1
  111. package/dist/translations/zh.umd.js +1 -1
  112. package/package.json +8 -8
  113. package/src/adapters/aiadapter.js +1 -1
  114. package/src/adapters/aitextadapter.js +1 -1
  115. package/src/adapters/awstextadapter.js +1 -1
  116. package/src/adapters/openaitextadapter.js +1 -1
  117. package/src/aiassistant.js +1 -1
  118. package/src/aiassistantediting.js +1 -1
  119. package/src/aiassistantui.js +1 -1
  120. package/src/index.js +1 -1
  121. package/src/ui/aiassistantcontroller.js +2 -2
  122. package/src/ui/form/aiformcontentarea.js +1 -1
  123. package/src/ui/form/aiformerrorview.js +1 -1
  124. package/src/ui/form/aiformpromptview.js +1 -1
  125. package/src/ui/form/aiformtoolbarview.js +1 -1
  126. package/src/ui/form/aiformview.js +1 -1
  127. package/src/ui/form/aihistorylistitemview.js +1 -1
  128. package/src/ui/form/aihistorylistview.js +1 -1
  129. package/src/ui/form/prompthistory.js +1 -1
  130. package/src/ui/showaiassistantcommand.js +1 -1
  131. package/src/utils/common-translations.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33fa7a=_0x110a;(function(_0x10caad,_0x569fa1){const _0x2576ae=_0x110a,_0x27767a=_0x10caad();while(!![]){try{const _0x1b8842=-parseInt(_0x2576ae(0x12d))/0x1+-parseInt(_0x2576ae(0xfd))/0x2+parseInt(_0x2576ae(0x142))/0x3*(-parseInt(_0x2576ae(0x10a))/0x4)+parseInt(_0x2576ae(0x10d))/0x5+parseInt(_0x2576ae(0x141))/0x6*(-parseInt(_0x2576ae(0x107))/0x7)+-parseInt(_0x2576ae(0xf7))/0x8*(parseInt(_0x2576ae(0x13d))/0x9)+parseInt(_0x2576ae(0x12c))/0xa;if(_0x1b8842===_0x569fa1)break;else _0x27767a['push'](_0x27767a['shift']());}catch(_0x16e959){_0x27767a['push'](_0x27767a['shift']());}}}(_0x18b4,0x5ab54));import{ObservableMixin as _0x5404ad}from'ckeditor5/src/utils.js';function _0x110a(_0x13a52a,_0x548da4){const _0x18b4a1=_0x18b4();return _0x110a=function(_0x110ae7,_0x18bf5a){_0x110ae7=_0x110ae7-0xe8;let _0x34990d=_0x18b4a1[_0x110ae7];return _0x34990d;},_0x110a(_0x13a52a,_0x548da4);}import{AIRequestError as _0x226965}from'../adapters/aiadapter.js';import{Matcher as _0x2206db,UpcastWriter as _0x44d09d}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class y extends/* #__PURE__ -- @preserve */
24
- _0x5404ad(){constructor(_0x243fd9,_0xa7b635,_0x388030){const _0x407423=_0x110a;super(),this[_0x407423(0x104)]=_0x243fd9,this[_0x407423(0x125)]=_0xa7b635,this[_0x407423(0x130)]=document[_0x407423(0x101)](_0x407423(0x128)),this[_0x407423(0xec)]=new DOMParser(),this[_0x407423(0x132)]=new XMLSerializer(),this[_0x407423(0x12f)]=_0x388030,this[_0x407423(0x138)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x407423(0x11d),(_0x5b229e,_0x3a67b3,_0x3d0bf0)=>{const _0x4737b2=_0x407423;this[_0x4737b2(0x12f)][_0x4737b2(0x105)]=this[_0x4737b2(0x10c)](_0x3d0bf0);}),this[_0x407423(0x111)](this[_0x407423(0x12f)],_0x407423(0xe8),(_0x180336,_0x2fc139)=>{const _0x31c4f2=_0x407423,_0x2361d5=this[_0x31c4f2(0x12a)]||this[_0x31c4f2(0x118)];this[_0x31c4f2(0x122)](_0x2fc139,_0x2361d5,_0x31c4f2(0x12b));}),this[_0x407423(0x111)](this[_0x407423(0x12f)],_0x407423(0x139),()=>{const _0xe17f29=_0x407423;this[_0xe17f29(0x12f)][_0xe17f29(0x13b)]=this[_0xe17f29(0xf1)],this[_0xe17f29(0x122)](this[_0xe17f29(0xf4)],this[_0xe17f29(0x100)],this[_0xe17f29(0xfa)],this[_0xe17f29(0xf1)]);}),this[_0x407423(0x111)](this[_0x407423(0x12f)],_0x407423(0xf8),()=>{const _0x40dca9=_0x407423;this[_0x40dca9(0xf8)]();});}[_0x33fa7a(0x108)](){const _0x23ca78=_0x33fa7a;this[_0x23ca78(0x120)]();}async[_0x33fa7a(0x112)]({actionId:_0x559924,query:_0x50e393,htmlContent:_0x5b9f33,label:_0x8675d1,mainActionLabel:_0x4125f5}){const _0x1af585=_0x33fa7a;this[_0x1af585(0x12f)][_0x1af585(0x13b)]=_0x8675d1,this[_0x1af585(0x12f)][_0x1af585(0x137)]=_0x4125f5,this[_0x1af585(0x118)]=_0x5b9f33,_0x50e393&&(this[_0x1af585(0x12f)][_0x1af585(0x10f)]?this[_0x1af585(0x122)](_0x50e393,_0x5b9f33,_0x559924,_0x8675d1):this[_0x1af585(0x12f)][_0x1af585(0x11e)](_0x1af585(0x140),()=>{const _0x4dd52b=_0x1af585;this[_0x4dd52b(0x122)](_0x50e393,_0x5b9f33,_0x559924,_0x8675d1);}));}[_0x33fa7a(0xf8)](){const _0xf3b6fc=_0x33fa7a;this[_0xf3b6fc(0xfe)]&&(this[_0xf3b6fc(0xfe)]=!0x1,this[_0xf3b6fc(0x12f)][_0xf3b6fc(0x103)](),this[_0xf3b6fc(0x125)][_0xf3b6fc(0x144)]());}[_0x33fa7a(0x133)](){const _0x34ffef=_0x33fa7a;this[_0x34ffef(0x118)]='',this[_0x34ffef(0x12a)]='',this[_0x34ffef(0x129)]='',this[_0x34ffef(0x100)]='',this[_0x34ffef(0xf4)]='',this[_0x34ffef(0xf1)]='',this[_0x34ffef(0xfa)]=void 0x0,this[_0x34ffef(0x12f)][_0x34ffef(0x133)](),this[_0x34ffef(0xf8)]();}async[_0x33fa7a(0x122)](_0x766ca8,_0x1b4a55,_0x2038b5,_0x5b2349){const _0x38e15f=_0x33fa7a;return this[_0x38e15f(0xfe)]=!0x0,this[_0x38e15f(0x12f)][_0x38e15f(0x114)](),this[_0x38e15f(0x100)]=_0x1b4a55,this[_0x38e15f(0xf4)]=_0x766ca8,this[_0x38e15f(0xf1)]=_0x5b2349||_0x766ca8,this[_0x38e15f(0xfa)]=_0x2038b5,new Promise(_0x2d83c1=>{const _0x17594f=_0x38e15f;this[_0x17594f(0x125)][_0x17594f(0x127)]({'query':_0x766ca8,'context':_0x1b4a55,'onData':_0x217d84=>{const _0x30e01f=_0x17594f;this[_0x30e01f(0x129)]=_0x217d84,this[_0x30e01f(0x12a)]=this[_0x30e01f(0x116)](this[_0x30e01f(0x129)]);},'actionId':_0x2038b5})[_0x17594f(0x119)](()=>{const _0x3de2a3=_0x17594f;!this[_0x3de2a3(0x12a)]&&this[_0x3de2a3(0x129)]&&(this[_0x3de2a3(0x12a)]=this[_0x3de2a3(0x116)](this[_0x3de2a3(0x129)],!0x0));})[_0x17594f(0x11f)](_0x5d63ec=>{const _0x5f5aba=_0x17594f;_0x5d63ec instanceof _0x226965?this[_0x5f5aba(0x12f)][_0x5f5aba(0xed)](_0x5d63ec[_0x5f5aba(0x106)]):this[_0x5f5aba(0x12f)][_0x5f5aba(0xed)](),_0x2d83c1();})[_0x17594f(0x126)](()=>{const _0x458faf=_0x17594f;this[_0x458faf(0xf8)](),_0x2d83c1();});});}[_0x33fa7a(0x116)](_0x391606,_0x51669c=!0x1){const _0x4ef105=_0x33fa7a,_0x19b54d=Q[_0x4ef105(0x115)](_0x391606);_0x391606=_0x19b54d?_0x391606[_0x4ef105(0x123)](_0x19b54d[0x1][_0x4ef105(0xee)]):_0x391606[_0x4ef105(0xee)]<0x64&&!_0x51669c?'':this[_0x4ef105(0xff)](_0x391606);const _0x1a7019=this[_0x4ef105(0xec)][_0x4ef105(0x110)](_0x391606,_0x4ef105(0xf5));if(_0x19b54d){const _0x4013db=Array[_0x4ef105(0xfc)](_0x1a7019[_0x4ef105(0x13e)][_0x4ef105(0xf3)]);_0x4013db[_0x4ef105(0x146)]();for(const _0x33abef of _0x4013db){if(_0x33abef[_0x4ef105(0x135)]==Node[_0x4ef105(0x145)])break;_0x33abef[_0x4ef105(0xfb)]();}}const _0x4254bc=this[_0x4ef105(0x104)][_0x4ef105(0x13f)][_0x4ef105(0x11c)][_0x4ef105(0x102)](this[_0x4ef105(0x132)][_0x4ef105(0xf0)](_0x1a7019[_0x4ef105(0x13e)]));return this[_0x4ef105(0x113)]()||this[_0x4ef105(0x131)](_0x4254bc),this[_0x4ef105(0x104)][_0x4ef105(0x13f)][_0x4ef105(0xf9)](this[_0x4ef105(0x104)][_0x4ef105(0x13f)][_0x4ef105(0x13c)](_0x4254bc));}[_0x33fa7a(0x131)](_0x30b906){const _0x1465f9=_0x33fa7a,_0x2b8b0f=new _0x44d09d(this[_0x1465f9(0x104)][_0x1465f9(0xeb)][_0x1465f9(0x12f)][_0x1465f9(0xef)]),_0x27d474=new _0x2206db({'name':/^h[1-5]$/}),_0x57d75d=[];let _0x57aa7a=!0x1;for(const _0x30a6f2 of _0x30b906)_0x30a6f2['is'](_0x1465f9(0x109))&&_0x27d474[_0x1465f9(0x12e)](_0x30a6f2)&&(_0x57d75d[_0x1465f9(0x11a)](_0x30a6f2),'h1'==_0x30a6f2[_0x1465f9(0x136)]&&(_0x57aa7a=!0x0));if(_0x57aa7a){for(const _0x5369cc of _0x57d75d)_0x2b8b0f[_0x1465f9(0x117)]('h'+(parseInt(_0x5369cc[_0x1465f9(0x136)][0x1])+0x1),_0x5369cc);}}[_0x33fa7a(0x113)](){const _0x3f49a6=_0x33fa7a,{data:_0x1ac6aa,editing:_0x1e2c42}=this[_0x3f49a6(0x104)],_0x39bf21=_0x1ac6aa[_0x3f49a6(0x124)][_0x3f49a6(0x102)](_0x3f49a6(0x143)),_0x36aa12=_0x1ac6aa[_0x3f49a6(0x102)](_0x1ac6aa[_0x3f49a6(0x13c)](_0x39bf21));return!!_0x1e2c42[_0x3f49a6(0x12f)][_0x3f49a6(0x10e)][_0x3f49a6(0xea)](_0x36aa12)[_0x3f49a6(0xf6)]('h1');}[_0x33fa7a(0x10c)](_0x1dae1d){const _0x47b680=_0x33fa7a;return this[_0x47b680(0x104)][_0x47b680(0xeb)][_0x47b680(0x12f)][_0x47b680(0x10e)][_0x47b680(0x134)](this[_0x47b680(0x130)],_0x1dae1d),this[_0x47b680(0x130)][_0x47b680(0x11b)];}[_0x33fa7a(0xff)](_0xee08ab){const _0x22c71d=_0x33fa7a,_0xba48bd=_0xee08ab[_0x22c71d(0xe9)]();return _0xba48bd[_0x22c71d(0x10b)](_0x22c71d(0x121))?_0xba48bd[_0x22c71d(0xf2)](_0x22c71d(0x13a))?_0xba48bd[_0x22c71d(0x123)](0x7,_0xba48bd[_0x22c71d(0xee)]-0x3):_0xba48bd[_0x22c71d(0x123)](0x7):_0xee08ab;}}function _0x18b4(){const _0x14955c=['match','view','_sanitizationContainer','_normalizeResponseHeadings','_xmlSerializer','reset','setContentOf','nodeType','name','mainAction','set','tryAgainEvent','```','prompt','toModel','9KthWNq','body','data','render','24DVjHXV','1575606KpRZIt','<h1></h1>','abort','ELEMENT_NODE','reverse','submitPrompt','trim','viewToDom','editing','_domParser','handleError','length','document','serializeToString','previousLabel','endsWith','childNodes','previousQuery','text/html','querySelector','2720320emYQSR','stopProcessing','stringify','previousActionId','remove','from','980254Vuaszw','isProcessing','_stripMarkdownSyntax','previousContext','createElement','toView','finishProcessing','editor','value','message','91441aiBRCa','destroy','element','4IiEOGI','startsWith','_sanitizeHTML','2576355PeeOPj','domConverter','isRendered','parseFromString','listenTo','updateView','_isH1TagSupportEnabled','startProcessing','exec','_parseAndNormalizeContent','rename','initialContext','then','push','innerHTML','processor','set:currentContext','once','catch','stopListening','```html','_handleQuery','substring','htmlProcessor','textAdapter','finally','makeRequest','div','currentResponse','currentContext','custom','18200260YwRDTh','556136MIxjCO'];_0x18b4=function(){return _0x14955c;};return _0x18b4();}
23
+ const _0x2b7567=_0x7da5;function _0x7da5(_0x3fd278,_0x5a9ab2){const _0x1a24ce=_0x1a24();return _0x7da5=function(_0x7da5ef,_0x31cc37){_0x7da5ef=_0x7da5ef-0xf8;let _0x40e040=_0x1a24ce[_0x7da5ef];return _0x40e040;},_0x7da5(_0x3fd278,_0x5a9ab2);}(function(_0x231cdc,_0xb80f7b){const _0x4f7056=_0x7da5,_0x5ae3e0=_0x231cdc();while(!![]){try{const _0x2e8d80=parseInt(_0x4f7056(0x10a))/0x1*(-parseInt(_0x4f7056(0x102))/0x2)+-parseInt(_0x4f7056(0x105))/0x3+-parseInt(_0x4f7056(0x112))/0x4+-parseInt(_0x4f7056(0x110))/0x5*(-parseInt(_0x4f7056(0x10d))/0x6)+parseInt(_0x4f7056(0x100))/0x7+parseInt(_0x4f7056(0x101))/0x8+parseInt(_0x4f7056(0x131))/0x9;if(_0x2e8d80===_0xb80f7b)break;else _0x5ae3e0['push'](_0x5ae3e0['shift']());}catch(_0x28322c){_0x5ae3e0['push'](_0x5ae3e0['shift']());}}}(_0x1a24,0x34be2));import{ObservableMixin as _0x340d12}from'ckeditor5/src/utils.js';import{AIRequestError as _0x298ab6}from'../adapters/aiadapter.js';import{Matcher as _0x152ea1,UpcastWriter as _0x1021f9}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x1a24(){const _0xdf342=['push','setContentOf','stopListening','view','prompt','set','custom','currentResponse','remove','_parseAndNormalizeContent','element','<h1></h1>','_handleQuery','previousQuery','body','currentContext','toModel','finally','toView','div','_normalizeResponseHeadings','document','isProcessing','value','message','childNodes','name','mainAction','render','tryAgainEvent','nodeType','77315TnyELT','1767456voNXVL','73336LFbooO','_stripMarkdownSyntax','then','756855jEfMTG','ELEMENT_NODE','updateView','handleError','createElement','7KvKcmP','innerHTML','text/html','23268aeMSUH','makeRequest','viewToDom','535eEQfNp','initialContext','975500PNbVsJ','editing','processor','parseFromString','rename','_sanitizationContainer','endsWith','reset','_isH1TagSupportEnabled','match','destroy','_domParser','_sanitizeHTML','catch','stringify','set:currentContext','substring','reverse','startsWith','```','editor','querySelector','exec','abort','previousContext','textAdapter','trim','serializeToString','htmlProcessor','```html','previousActionId','2897523IEzQnb','from','stopProcessing','finishProcessing','previousLabel','length','listenTo','isRendered','data','_xmlSerializer','once','startProcessing','submitPrompt','domConverter'];_0x1a24=function(){return _0xdf342;};return _0x1a24();}export default class y extends/* #__PURE__ -- @preserve */
24
+ _0x340d12(){constructor(_0x10e19d,_0x14f4f2,_0x321146){const _0x2cd65a=_0x7da5;super(),this[_0x2cd65a(0x126)]=_0x10e19d,this[_0x2cd65a(0x12b)]=_0x14f4f2,this[_0x2cd65a(0x117)]=document[_0x2cd65a(0x109)](_0x2cd65a(0x152)),this[_0x2cd65a(0x11d)]=new DOMParser(),this[_0x2cd65a(0x13a)]=new XMLSerializer(),this[_0x2cd65a(0x142)]=_0x321146,this[_0x2cd65a(0x144)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2cd65a(0x121),(_0x4e0200,_0x499059,_0x3c820a)=>{const _0x58b13c=_0x2cd65a;this[_0x58b13c(0x142)][_0x58b13c(0xf8)]=this[_0x58b13c(0x11e)](_0x3c820a);}),this[_0x2cd65a(0x137)](this[_0x2cd65a(0x142)],_0x2cd65a(0x13d),(_0x4ab546,_0x15d4be)=>{const _0x37a0e0=_0x2cd65a,_0x2bcf34=this[_0x37a0e0(0x14e)]||this[_0x37a0e0(0x111)];this[_0x37a0e0(0x14b)](_0x15d4be,_0x2bcf34,_0x37a0e0(0x145));}),this[_0x2cd65a(0x137)](this[_0x2cd65a(0x142)],_0x2cd65a(0xfe),()=>{const _0x3bd4bd=_0x2cd65a;this[_0x3bd4bd(0x142)][_0x3bd4bd(0x143)]=this[_0x3bd4bd(0x135)],this[_0x3bd4bd(0x14b)](this[_0x3bd4bd(0x14c)],this[_0x3bd4bd(0x12a)],this[_0x3bd4bd(0x130)],this[_0x3bd4bd(0x135)]);}),this[_0x2cd65a(0x137)](this[_0x2cd65a(0x142)],_0x2cd65a(0x133),()=>{const _0x389200=_0x2cd65a;this[_0x389200(0x133)]();});}[_0x2b7567(0x11c)](){const _0x20de61=_0x2b7567;this[_0x20de61(0x141)]();}async[_0x2b7567(0x107)]({actionId:_0x33de42,query:_0x3d3dc6,htmlContent:_0x18336e,label:_0x345604,mainActionLabel:_0x28752b}){const _0x4554c1=_0x2b7567;this[_0x4554c1(0x142)][_0x4554c1(0x143)]=_0x345604,this[_0x4554c1(0x142)][_0x4554c1(0xfc)]=_0x28752b,this[_0x4554c1(0x111)]=_0x18336e,_0x3d3dc6&&(this[_0x4554c1(0x142)][_0x4554c1(0x138)]?this[_0x4554c1(0x14b)](_0x3d3dc6,_0x18336e,_0x33de42,_0x345604):this[_0x4554c1(0x142)][_0x4554c1(0x13b)](_0x4554c1(0xfd),()=>{const _0x14443a=_0x4554c1;this[_0x14443a(0x14b)](_0x3d3dc6,_0x18336e,_0x33de42,_0x345604);}));}[_0x2b7567(0x133)](){const _0x575d1b=_0x2b7567;this[_0x575d1b(0x155)]&&(this[_0x575d1b(0x155)]=!0x1,this[_0x575d1b(0x142)][_0x575d1b(0x134)](),this[_0x575d1b(0x12b)][_0x575d1b(0x129)]());}[_0x2b7567(0x119)](){const _0x508f48=_0x2b7567;this[_0x508f48(0x111)]='',this[_0x508f48(0x14e)]='',this[_0x508f48(0x146)]='',this[_0x508f48(0x12a)]='',this[_0x508f48(0x14c)]='',this[_0x508f48(0x135)]='',this[_0x508f48(0x130)]=void 0x0,this[_0x508f48(0x142)][_0x508f48(0x119)](),this[_0x508f48(0x133)]();}async[_0x2b7567(0x14b)](_0x552d4a,_0x3cf02f,_0x2375b6,_0x3bb2cf){const _0x4c6c40=_0x2b7567;return this[_0x4c6c40(0x155)]=!0x0,this[_0x4c6c40(0x142)][_0x4c6c40(0x13c)](),this[_0x4c6c40(0x12a)]=_0x3cf02f,this[_0x4c6c40(0x14c)]=_0x552d4a,this[_0x4c6c40(0x135)]=_0x3bb2cf||_0x552d4a,this[_0x4c6c40(0x130)]=_0x2375b6,new Promise(_0x3ea116=>{const _0x285d15=_0x4c6c40;this[_0x285d15(0x12b)][_0x285d15(0x10e)]({'query':_0x552d4a,'context':_0x3cf02f,'onData':_0x5d65ab=>{const _0x48fe4c=_0x285d15;this[_0x48fe4c(0x146)]=_0x5d65ab,this[_0x48fe4c(0x14e)]=this[_0x48fe4c(0x148)](this[_0x48fe4c(0x146)]);},'actionId':_0x2375b6})[_0x285d15(0x104)](()=>{const _0x1cc4b7=_0x285d15;!this[_0x1cc4b7(0x14e)]&&this[_0x1cc4b7(0x146)]&&(this[_0x1cc4b7(0x14e)]=this[_0x1cc4b7(0x148)](this[_0x1cc4b7(0x146)],!0x0));})[_0x285d15(0x11f)](_0x571bc4=>{const _0x35f116=_0x285d15;_0x571bc4 instanceof _0x298ab6?this[_0x35f116(0x142)][_0x35f116(0x108)](_0x571bc4[_0x35f116(0xf9)]):this[_0x35f116(0x142)][_0x35f116(0x108)](),_0x3ea116();})[_0x285d15(0x150)](()=>{const _0x15ffb8=_0x285d15;this[_0x15ffb8(0x133)](),_0x3ea116();});});}[_0x2b7567(0x148)](_0x3bafc8,_0x2bf948=!0x1){const _0x4c0a28=_0x2b7567,_0x2b0665=Q[_0x4c0a28(0x128)](_0x3bafc8);_0x3bafc8=_0x2b0665?_0x3bafc8[_0x4c0a28(0x122)](_0x2b0665[0x1][_0x4c0a28(0x136)]):_0x3bafc8[_0x4c0a28(0x136)]<0x64&&!_0x2bf948?'':this[_0x4c0a28(0x103)](_0x3bafc8);const _0x59fe8d=this[_0x4c0a28(0x11d)][_0x4c0a28(0x115)](_0x3bafc8,_0x4c0a28(0x10c));if(_0x2b0665){const _0x2666d7=Array[_0x4c0a28(0x132)](_0x59fe8d[_0x4c0a28(0x14d)][_0x4c0a28(0xfa)]);_0x2666d7[_0x4c0a28(0x123)]();for(const _0x403923 of _0x2666d7){if(_0x403923[_0x4c0a28(0xff)]==Node[_0x4c0a28(0x106)])break;_0x403923[_0x4c0a28(0x147)]();}}const _0x5782ba=this[_0x4c0a28(0x126)][_0x4c0a28(0x139)][_0x4c0a28(0x114)][_0x4c0a28(0x151)](this[_0x4c0a28(0x13a)][_0x4c0a28(0x12d)](_0x59fe8d[_0x4c0a28(0x14d)]));return this[_0x4c0a28(0x11a)]()||this[_0x4c0a28(0x153)](_0x5782ba),this[_0x4c0a28(0x126)][_0x4c0a28(0x139)][_0x4c0a28(0x120)](this[_0x4c0a28(0x126)][_0x4c0a28(0x139)][_0x4c0a28(0x14f)](_0x5782ba));}[_0x2b7567(0x153)](_0x220dc6){const _0x19f3fc=_0x2b7567,_0x45ca00=new _0x1021f9(this[_0x19f3fc(0x126)][_0x19f3fc(0x113)][_0x19f3fc(0x142)][_0x19f3fc(0x154)]),_0x22035e=new _0x152ea1({'name':/^h[1-5]$/}),_0x5705d6=[];let _0x3575e=!0x1;for(const _0x3d88a5 of _0x220dc6)_0x3d88a5['is'](_0x19f3fc(0x149))&&_0x22035e[_0x19f3fc(0x11b)](_0x3d88a5)&&(_0x5705d6[_0x19f3fc(0x13f)](_0x3d88a5),'h1'==_0x3d88a5[_0x19f3fc(0xfb)]&&(_0x3575e=!0x0));if(_0x3575e){for(const _0x189fac of _0x5705d6)_0x45ca00[_0x19f3fc(0x116)]('h'+(parseInt(_0x189fac[_0x19f3fc(0xfb)][0x1])+0x1),_0x189fac);}}[_0x2b7567(0x11a)](){const _0x56833a=_0x2b7567,{data:_0x272e92,editing:_0x34000a}=this[_0x56833a(0x126)],_0x2b1853=_0x272e92[_0x56833a(0x12e)][_0x56833a(0x151)](_0x56833a(0x14a)),_0x477440=_0x272e92[_0x56833a(0x151)](_0x272e92[_0x56833a(0x14f)](_0x2b1853));return!!_0x34000a[_0x56833a(0x142)][_0x56833a(0x13e)][_0x56833a(0x10f)](_0x477440)[_0x56833a(0x127)]('h1');}[_0x2b7567(0x11e)](_0x5e6e4e){const _0x1005c3=_0x2b7567;return this[_0x1005c3(0x126)][_0x1005c3(0x113)][_0x1005c3(0x142)][_0x1005c3(0x13e)][_0x1005c3(0x140)](this[_0x1005c3(0x117)],_0x5e6e4e),this[_0x1005c3(0x117)][_0x1005c3(0x10b)];}[_0x2b7567(0x103)](_0x30b65e){const _0x4c3a20=_0x2b7567,_0x4448ee=_0x30b65e[_0x4c3a20(0x12c)]();return _0x4448ee[_0x4c3a20(0x124)](_0x4c3a20(0x12f))?_0x4448ee[_0x4c3a20(0x118)](_0x4c3a20(0x125))?_0x4448ee[_0x4c3a20(0x122)](0x7,_0x4448ee[_0x4c3a20(0x136)]-0x3):_0x4448ee[_0x4c3a20(0x122)](0x7):_0x30b65e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3969a6=_0x1b38;(function(_0x3afde4,_0x150177){const _0x97065=_0x1b38,_0xe27078=_0x3afde4();while(!![]){try{const _0x513b29=-parseInt(_0x97065(0x1f5))/0x1*(-parseInt(_0x97065(0x20d))/0x2)+parseInt(_0x97065(0x1db))/0x3+parseInt(_0x97065(0x218))/0x4+-parseInt(_0x97065(0x1f8))/0x5*(parseInt(_0x97065(0x20b))/0x6)+parseInt(_0x97065(0x1de))/0x7*(-parseInt(_0x97065(0x1ca))/0x8)+parseInt(_0x97065(0x1d8))/0x9*(-parseInt(_0x97065(0x1dd))/0xa)+parseInt(_0x97065(0x219))/0xb;if(_0x513b29===_0x150177)break;else _0xe27078['push'](_0xe27078['shift']());}catch(_0x3e65c0){_0xe27078['push'](_0xe27078['shift']());}}}(_0x2d7e,0xc2e60));import{global as _0x1c6716}from'ckeditor5/src/utils.js';import{View as _0x394125,ButtonView as _0x55ff27,SpinnerView as _0x2ad581}from'ckeditor5/src/ui.js';function _0x1b38(_0x575239,_0x5c0648){const _0x2d7eeb=_0x2d7e();return _0x1b38=function(_0x1b38c7,_0x23deb4){_0x1b38c7=_0x1b38c7-0x1c3;let _0x4b0c39=_0x2d7eeb[_0x1b38c7];return _0x4b0c39;},_0x1b38(_0x575239,_0x5c0648);}import _0x2bbd31 from'../../../theme/icons/copy.svg';import{getTranslation as _0x293fe1}from'../../utils/common-translations.js';function _0x2d7e(){const _0x38eccc=['ClipboardItem','ck-ai-form__copy-button-wrapper','6709845oNWbSe','querySelector','div','icon','remove','<span>[</span>','position','absolute','listenTo','bindTemplate','createRange','ck-reset_all-excluded','ck-ai-form__content-area-wrapper','_copyHTMLToClipboard','wheel','focus','lastElementChild','mousedown','scrollHeight','6EbmDMb','-9999px','94TQIGYF','contentFieldView','setStartAfter','ck-ai-form__copy-button','.ck-ai-form__loader','ck-ai-form__content-field','ck-ai-form__content-area--processing','innerHTML','isVisible','isProcessing','write','2296500PhuvBN','34244122gOSjME','left','scrollTo','_createCopyButton','isEnabled','execCommand','execute','firstElementChild','16dVBDNz','style','text/plain','ck-hidden','class','copy','loaderView','locale','text/html','element','bind','removeAllRanges','copyButtonView','appendLoader','94455Iaclvk','render','body','780084lSHlQB','_createLoader','1330UBnBzs','2883489ALqZVP','change:isProcessing','smooth','clipboard','createElement','textContent','ck-ai-form__content-area','setEndBefore','appendChild','check','Copy','\x20ck-ai-form__copy-button--copied','AI\x20is\x20writing...','addRange','setContent','<span>]</span>','ck-content','getSelection','ck-ai-form__loader','change:value','set','value','setTemplate','8781HWWDhm'];_0x2d7e=function(){return _0x38eccc;};return _0x2d7e();}import{icons as _0x483eda}from'ckeditor5/src/core.js';export default class K extends _0x394125{constructor(_0x4585ed,_0x4503b1=''){const _0x566044=_0x1b38;super(_0x4585ed),this[_0x566044(0x1f2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x598784=this[_0x566044(0x201)];this[_0x566044(0x20e)]=new ContentFieldView(_0x4585ed,_0x4503b1),this[_0x566044(0x1d6)]=this[_0x566044(0x1c5)](),this[_0x566044(0x1f4)]({'tag':_0x566044(0x1fa),'attributes':{'class':['ck',_0x566044(0x204),_0x598784['if'](_0x566044(0x215),_0x566044(0x1cd),_0x4db2fb=>!_0x4db2fb)],'tabindex':'-1'},'children':[{'tag':_0x566044(0x1fa),'attributes':{'class':['ck',_0x566044(0x1e4),_0x598784['if'](_0x566044(0x216),_0x566044(0x213))]},'children':[this[_0x566044(0x20e)],{'tag':_0x566044(0x1fa),'attributes':{'class':['ck',_0x566044(0x1f7)]},'children':[this[_0x566044(0x1d6)]]}]}]});}[_0x3969a6(0x1d9)](){const _0xc265cb=_0x3969a6;super[_0xc265cb(0x1d9)](),this[_0xc265cb(0x1f3)]&&this[_0xc265cb(0x20e)][_0xc265cb(0x1ec)](this[_0xc265cb(0x1f3)]);let _0x460d93=!0x1;this['on'](_0xc265cb(0x1f1),(_0x4b6f1f,_0xc3205e,_0x6455bb)=>{const _0x54018e=_0xc265cb,_0x49a604=!this[_0x54018e(0x20e)][_0x54018e(0x1d3)][_0x54018e(0x1f9)](_0x54018e(0x211));this[_0x54018e(0x20e)][_0x54018e(0x1ec)](_0x6455bb),this[_0x54018e(0x216)]&&_0x49a604&&!_0x460d93&&this[_0x54018e(0x1d3)][_0x54018e(0x1c4)]({'top':this[_0x54018e(0x1d3)][_0x54018e(0x20a)],'behavior':_0x54018e(0x1e0)});}),this['on'](_0xc265cb(0x1df),(_0x4f0096,_0x10aec7,_0x3ab3c0)=>{const _0x41cbcc=_0xc265cb;_0x460d93=!0x1,_0x3ab3c0?(this[_0x41cbcc(0x1f3)]=null,this[_0x41cbcc(0x20e)][_0x41cbcc(0x1d7)]()):this[_0x41cbcc(0x1f3)]||this[_0x41cbcc(0x20e)][_0x41cbcc(0x1ec)]('');}),this[_0xc265cb(0x200)](this[_0xc265cb(0x1d3)],_0xc265cb(0x206),()=>{_0x460d93=!0x0;}),this[_0xc265cb(0x200)](this[_0xc265cb(0x1d3)],_0xc265cb(0x209),()=>{_0x460d93=!0x0;});}[_0x3969a6(0x207)](){const _0x27cb4b=_0x3969a6;this[_0x27cb4b(0x1d3)][_0x27cb4b(0x207)]();}[_0x3969a6(0x1c5)](){const _0x3e1ca3=_0x3969a6,_0x5590b1=this[_0x3e1ca3(0x1d1)],_0x5c3837=new _0x55ff27(this[_0x3e1ca3(0x1d1)]),_0x21d681=_0x3e1ca3(0x210);return _0x5c3837[_0x3e1ca3(0x1f2)]({'label':_0x293fe1(_0x5590b1,_0x3e1ca3(0x1e8)),'icon':_0x2bbd31,'class':_0x21d681,'tooltip':!0x0}),_0x5c3837[_0x3e1ca3(0x1d4)](_0x3e1ca3(0x215))['to'](this,_0x3e1ca3(0x1f3),_0x493028=>!!_0x493028),_0x5c3837[_0x3e1ca3(0x1d4)](_0x3e1ca3(0x1c6))['to'](this,_0x3e1ca3(0x216),_0x13a87f=>!_0x13a87f),_0x5c3837['on'](_0x3e1ca3(0x1c8),()=>{const _0x6928c0=_0x3e1ca3;this[_0x6928c0(0x205)](this[_0x6928c0(0x20e)][_0x6928c0(0x1d3)]),_0x5c3837[_0x6928c0(0x1fb)]=_0x483eda[_0x6928c0(0x1e7)],_0x5c3837[_0x6928c0(0x1ce)]=_0x21d681+_0x6928c0(0x1e9),this[_0x6928c0(0x207)](),setTimeout(()=>{const _0x47d4b2=_0x6928c0;_0x5c3837[_0x47d4b2(0x1fb)]=_0x2bbd31,_0x5c3837[_0x47d4b2(0x1ce)]=_0x21d681;},0x3e8);}),_0x5c3837;}[_0x3969a6(0x205)](_0x27eb3a){const _0x575156=_0x3969a6,{window:_0x527130,document:_0x6e6ec3}=_0x1c6716;if(_0x527130[_0x575156(0x1f6)]){const {Blob:_0x261fe1,ClipboardItem:_0x5f1d0d}=_0x527130,_0x279c1a=[new _0x5f1d0d({'text/html':new _0x261fe1([_0x27eb3a[_0x575156(0x214)]],{'type':_0x575156(0x1d2)}),'text/plain':new _0x261fe1([_0x27eb3a[_0x575156(0x1e3)]||''],{'type':_0x575156(0x1cc)})})];navigator[_0x575156(0x1e1)][_0x575156(0x217)](_0x279c1a);}else{const _0xdaf694=_0x6e6ec3[_0x575156(0x1e2)](_0x575156(0x1fa));_0xdaf694[_0x575156(0x1cb)][_0x575156(0x1fe)]=_0x575156(0x1ff),_0xdaf694[_0x575156(0x1cb)][_0x575156(0x1c3)]=_0x575156(0x20c),_0xdaf694[_0x575156(0x214)]=_0x575156(0x1fd)+_0x27eb3a[_0x575156(0x214)]+_0x575156(0x1ed),_0x6e6ec3[_0x575156(0x1da)][_0x575156(0x1e6)](_0xdaf694);const _0x533f87=_0x6e6ec3[_0x575156(0x202)]();_0x533f87[_0x575156(0x20f)](_0xdaf694[_0x575156(0x1c9)]),_0x533f87[_0x575156(0x1e5)](_0xdaf694[_0x575156(0x208)]);const _0x2f78bc=_0x527130[_0x575156(0x1ef)]();_0x2f78bc[_0x575156(0x1d5)](),_0x2f78bc[_0x575156(0x1eb)](_0x533f87),_0x6e6ec3[_0x575156(0x1c7)](_0x575156(0x1cf)),_0xdaf694[_0x575156(0x1fc)]();}}}export class ContentFieldView extends _0x394125{constructor(_0x3f4b06,_0x4d488a=''){const _0x64f07e=_0x3969a6;super(_0x3f4b06),this[_0x64f07e(0x1d0)]=this[_0x64f07e(0x1dc)](),this[_0x64f07e(0x1f4)]({'tag':_0x64f07e(0x1fa),'attributes':{'class':['ck',_0x64f07e(0x1ee),_0x4d488a,_0x64f07e(0x203),_0x64f07e(0x212)]}});}[_0x3969a6(0x1ec)](_0x9f9c0d){const _0x5322b1=_0x3969a6;this[_0x5322b1(0x1d3)][_0x5322b1(0x214)]=_0x9f9c0d;}[_0x3969a6(0x1d7)](){const _0x27da8d=_0x3969a6;this[_0x27da8d(0x1d3)][_0x27da8d(0x1e6)](this[_0x27da8d(0x1d0)][_0x27da8d(0x1d3)]);}[_0x3969a6(0x1dc)](){const _0x45bf67=_0x3969a6,_0xe1d4b9=new _0x394125(),_0x2b3c79=this[_0x45bf67(0x1d1)],_0x4f81b6=new _0x2ad581();return _0x4f81b6[_0x45bf67(0x215)]=!0x0,_0xe1d4b9[_0x45bf67(0x1f4)]({'tag':_0x45bf67(0x1fa),'attributes':{'class':['ck',_0x45bf67(0x1f0)]},'children':[_0x4f81b6,{'text':_0x293fe1(_0x2b3c79,_0x45bf67(0x1ea))}]}),_0xe1d4b9[_0x45bf67(0x1d9)](),_0xe1d4b9;}}
23
+ function _0x1c11(_0x2d7e21,_0x4a33fa){const _0x4accb2=_0x4acc();return _0x1c11=function(_0x1c11a5,_0x122fbe){_0x1c11a5=_0x1c11a5-0x194;let _0x2921d6=_0x4accb2[_0x1c11a5];return _0x2921d6;},_0x1c11(_0x2d7e21,_0x4a33fa);}const _0x54d756=_0x1c11;(function(_0x3ac646,_0x16bfb5){const _0x267488=_0x1c11,_0x4ca9ff=_0x3ac646();while(!![]){try{const _0x3cd66b=parseInt(_0x267488(0x1a2))/0x1+-parseInt(_0x267488(0x19b))/0x2+-parseInt(_0x267488(0x1b2))/0x3*(-parseInt(_0x267488(0x1e4))/0x4)+-parseInt(_0x267488(0x19d))/0x5*(parseInt(_0x267488(0x1c5))/0x6)+-parseInt(_0x267488(0x195))/0x7+parseInt(_0x267488(0x1e8))/0x8*(-parseInt(_0x267488(0x1b0))/0x9)+-parseInt(_0x267488(0x1ac))/0xa*(-parseInt(_0x267488(0x1da))/0xb);if(_0x3cd66b===_0x16bfb5)break;else _0x4ca9ff['push'](_0x4ca9ff['shift']());}catch(_0x5bc5d9){_0x4ca9ff['push'](_0x4ca9ff['shift']());}}}(_0x4acc,0x25688));import{global as _0x4f6a71}from'ckeditor5/src/utils.js';import{View as _0x4efc67,ButtonView as _0x262a04,SpinnerView as _0x557f6c}from'ckeditor5/src/ui.js';import _0x3e7e6b from'../../../theme/icons/copy.svg';import{getTranslation as _0x594ba8}from'../../utils/common-translations.js';function _0x4acc(){const _0x4e91c7=['bind','isVisible','_createCopyButton','882380JofAMS','ClipboardItem','firstElementChild','listenTo','312UtGEBJ','<span>]</span>','clipboard','scrollHeight','419118ZDJLed','ck-ai-form__content-area','setEndBefore','isProcessing','change:value','absolute','418238McTunG','ck-hidden','1545RrvRTu','querySelector','setStartAfter','.ck-ai-form__loader','bindTemplate','199492CUvEYd','_createLoader','wheel','\x20ck-ai-form__copy-button--copied','smooth','icon','left','position','element','style','191220WrMwdT','ck-content','contentFieldView','copyButtonView','27441MMvwwN','check','3GMvfdP','copy','ck-ai-form__copy-button','write','locale','div','isEnabled','remove','set','text/plain','ck-reset_all-excluded','scrollTo','innerHTML','createRange','ck-ai-form__content-area--processing','execute','class','mousedown','execCommand','1734LMoVca','focus','ck-ai-form__content-field','addRange','ck-ai-form__copy-button-wrapper','-9999px','render','ck-ai-form__loader','getSelection','body','loaderView','_copyHTMLToClipboard','<span>[</span>','lastElementChild','Copy','createElement','value','textContent','change:isProcessing','removeAllRanges','appendLoader','121EvONvT','AI\x20is\x20writing...','setTemplate','appendChild','setContent','text/html','ck-ai-form__content-area-wrapper'];_0x4acc=function(){return _0x4e91c7;};return _0x4acc();}import{icons as _0x39fcfd}from'ckeditor5/src/core.js';export default class K extends _0x4efc67{constructor(_0x4cb6fa,_0x25dd85=''){const _0x1a3430=_0x1c11;super(_0x4cb6fa),this[_0x1a3430(0x1ba)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x149079=this[_0x1a3430(0x1a1)];this[_0x1a3430(0x1ae)]=new ContentFieldView(_0x4cb6fa,_0x25dd85),this[_0x1a3430(0x1af)]=this[_0x1a3430(0x1e3)](),this[_0x1a3430(0x1dc)]({'tag':_0x1a3430(0x1b7),'attributes':{'class':['ck',_0x1a3430(0x1e0),_0x149079['if'](_0x1a3430(0x1e2),_0x1a3430(0x19c),_0x14ccce=>!_0x14ccce)],'tabindex':'-1'},'children':[{'tag':_0x1a3430(0x1b7),'attributes':{'class':['ck',_0x1a3430(0x196),_0x149079['if'](_0x1a3430(0x198),_0x1a3430(0x1c0))]},'children':[this[_0x1a3430(0x1ae)],{'tag':_0x1a3430(0x1b7),'attributes':{'class':['ck',_0x1a3430(0x1c9)]},'children':[this[_0x1a3430(0x1af)]]}]}]});}[_0x54d756(0x1cb)](){const _0x3366a0=_0x54d756;super[_0x3366a0(0x1cb)](),this[_0x3366a0(0x1d5)]&&this[_0x3366a0(0x1ae)][_0x3366a0(0x1de)](this[_0x3366a0(0x1d5)]);let _0x5c5d7b=!0x1;this['on'](_0x3366a0(0x199),(_0xddc1,_0x22d8ea,_0x5b38ed)=>{const _0x13f222=_0x3366a0,_0xe9281=!this[_0x13f222(0x1ae)][_0x13f222(0x1aa)][_0x13f222(0x19e)](_0x13f222(0x1a0));this[_0x13f222(0x1ae)][_0x13f222(0x1de)](_0x5b38ed),this[_0x13f222(0x198)]&&_0xe9281&&!_0x5c5d7b&&this[_0x13f222(0x1aa)][_0x13f222(0x1bd)]({'top':this[_0x13f222(0x1aa)][_0x13f222(0x194)],'behavior':_0x13f222(0x1a6)});}),this['on'](_0x3366a0(0x1d7),(_0x5e9ef7,_0xa86e3c,_0x1dd82f)=>{const _0x48a65c=_0x3366a0;_0x5c5d7b=!0x1,_0x1dd82f?(this[_0x48a65c(0x1d5)]=null,this[_0x48a65c(0x1ae)][_0x48a65c(0x1d9)]()):this[_0x48a65c(0x1d5)]||this[_0x48a65c(0x1ae)][_0x48a65c(0x1de)]('');}),this[_0x3366a0(0x1e7)](this[_0x3366a0(0x1aa)],_0x3366a0(0x1a4),()=>{_0x5c5d7b=!0x0;}),this[_0x3366a0(0x1e7)](this[_0x3366a0(0x1aa)],_0x3366a0(0x1c3),()=>{_0x5c5d7b=!0x0;});}[_0x54d756(0x1c6)](){const _0x1489ba=_0x54d756;this[_0x1489ba(0x1aa)][_0x1489ba(0x1c6)]();}[_0x54d756(0x1e3)](){const _0x324215=_0x54d756,_0x408c3b=this[_0x324215(0x1b6)],_0x1f8877=new _0x262a04(this[_0x324215(0x1b6)]),_0x286583=_0x324215(0x1b4);return _0x1f8877[_0x324215(0x1ba)]({'label':_0x594ba8(_0x408c3b,_0x324215(0x1d3)),'icon':_0x3e7e6b,'class':_0x286583,'tooltip':!0x0}),_0x1f8877[_0x324215(0x1e1)](_0x324215(0x1e2))['to'](this,_0x324215(0x1d5),_0x3eb3b6=>!!_0x3eb3b6),_0x1f8877[_0x324215(0x1e1)](_0x324215(0x1b8))['to'](this,_0x324215(0x198),_0x5bedc2=>!_0x5bedc2),_0x1f8877['on'](_0x324215(0x1c1),()=>{const _0x4f0d97=_0x324215;this[_0x4f0d97(0x1d0)](this[_0x4f0d97(0x1ae)][_0x4f0d97(0x1aa)]),_0x1f8877[_0x4f0d97(0x1a7)]=_0x39fcfd[_0x4f0d97(0x1b1)],_0x1f8877[_0x4f0d97(0x1c2)]=_0x286583+_0x4f0d97(0x1a5),this[_0x4f0d97(0x1c6)](),setTimeout(()=>{const _0x13eca3=_0x4f0d97;_0x1f8877[_0x13eca3(0x1a7)]=_0x3e7e6b,_0x1f8877[_0x13eca3(0x1c2)]=_0x286583;},0x3e8);}),_0x1f8877;}[_0x54d756(0x1d0)](_0x4c64f0){const _0x2361d4=_0x54d756,{window:_0x1fd424,document:_0x306de7}=_0x4f6a71;if(_0x1fd424[_0x2361d4(0x1e5)]){const {Blob:_0x389b97,ClipboardItem:_0xe7c815}=_0x1fd424,_0x4401b6=[new _0xe7c815({'text/html':new _0x389b97([_0x4c64f0[_0x2361d4(0x1be)]],{'type':_0x2361d4(0x1df)}),'text/plain':new _0x389b97([_0x4c64f0[_0x2361d4(0x1d6)]||''],{'type':_0x2361d4(0x1bb)})})];navigator[_0x2361d4(0x1ea)][_0x2361d4(0x1b5)](_0x4401b6);}else{const _0x1fce16=_0x306de7[_0x2361d4(0x1d4)](_0x2361d4(0x1b7));_0x1fce16[_0x2361d4(0x1ab)][_0x2361d4(0x1a9)]=_0x2361d4(0x19a),_0x1fce16[_0x2361d4(0x1ab)][_0x2361d4(0x1a8)]=_0x2361d4(0x1ca),_0x1fce16[_0x2361d4(0x1be)]=_0x2361d4(0x1d1)+_0x4c64f0[_0x2361d4(0x1be)]+_0x2361d4(0x1e9),_0x306de7[_0x2361d4(0x1ce)][_0x2361d4(0x1dd)](_0x1fce16);const _0x5c8ed3=_0x306de7[_0x2361d4(0x1bf)]();_0x5c8ed3[_0x2361d4(0x19f)](_0x1fce16[_0x2361d4(0x1e6)]),_0x5c8ed3[_0x2361d4(0x197)](_0x1fce16[_0x2361d4(0x1d2)]);const _0x2d140c=_0x1fd424[_0x2361d4(0x1cd)]();_0x2d140c[_0x2361d4(0x1d8)](),_0x2d140c[_0x2361d4(0x1c8)](_0x5c8ed3),_0x306de7[_0x2361d4(0x1c4)](_0x2361d4(0x1b3)),_0x1fce16[_0x2361d4(0x1b9)]();}}}export class ContentFieldView extends _0x4efc67{constructor(_0xeefb1b,_0x373d72=''){const _0x73cd4c=_0x54d756;super(_0xeefb1b),this[_0x73cd4c(0x1cf)]=this[_0x73cd4c(0x1a3)](),this[_0x73cd4c(0x1dc)]({'tag':_0x73cd4c(0x1b7),'attributes':{'class':['ck',_0x73cd4c(0x1ad),_0x373d72,_0x73cd4c(0x1bc),_0x73cd4c(0x1c7)]}});}[_0x54d756(0x1de)](_0x3d3437){const _0x522cdd=_0x54d756;this[_0x522cdd(0x1aa)][_0x522cdd(0x1be)]=_0x3d3437;}[_0x54d756(0x1d9)](){const _0x55d6c1=_0x54d756;this[_0x55d6c1(0x1aa)][_0x55d6c1(0x1dd)](this[_0x55d6c1(0x1cf)][_0x55d6c1(0x1aa)]);}[_0x54d756(0x1a3)](){const _0x14e75d=_0x54d756,_0x226f8a=new _0x4efc67(),_0x353586=this[_0x14e75d(0x1b6)],_0x36866e=new _0x557f6c();return _0x36866e[_0x14e75d(0x1e2)]=!0x0,_0x226f8a[_0x14e75d(0x1dc)]({'tag':_0x14e75d(0x1b7),'attributes':{'class':['ck',_0x14e75d(0x1cc)]},'children':[_0x36866e,{'text':_0x594ba8(_0x353586,_0x14e75d(0x1db))}]}),_0x226f8a[_0x14e75d(0x1cb)](),_0x226f8a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1f2b(){const _0x126501=['setTemplate','436502BCnDnV','9771849aUmcqY','11568030sUplkL','45902bEmCzg','content','214571yCVmhO','2417016bhXmbT','42yvIwXx','div','set','16euoWcE','bindTemplate','text','21kmkGLi','ck-ai-form__error','265015IcggHG'];_0x1f2b=function(){return _0x126501;};return _0x1f2b();}(function(_0x4f069e,_0x3d659c){const _0x35df43=_0x92fb,_0x2b1522=_0x4f069e();while(!![]){try{const _0x39a842=parseInt(_0x35df43(0x1fe))/0x1+-parseInt(_0x35df43(0x1fb))/0x2*(-parseInt(_0x35df43(0x1f7))/0x3)+-parseInt(_0x35df43(0x1f4))/0x4*(parseInt(_0x35df43(0x1f9))/0x5)+-parseInt(_0x35df43(0x202))/0x6*(parseInt(_0x35df43(0x200))/0x7)+-parseInt(_0x35df43(0x201))/0x8+parseInt(_0x35df43(0x1fc))/0x9+-parseInt(_0x35df43(0x1fd))/0xa;if(_0x39a842===_0x3d659c)break;else _0x2b1522['push'](_0x2b1522['shift']());}catch(_0x2c5e46){_0x2b1522['push'](_0x2b1522['shift']());}}}(_0x1f2b,0xbcf13));function _0x92fb(_0xfd0cfa,_0x4eeb90){const _0x1f2bc=_0x1f2b();return _0x92fb=function(_0x92fb9f,_0x42d594){_0x92fb9f=_0x92fb9f-0x1f3;let _0x1dc444=_0x1f2bc[_0x92fb9f];return _0x1dc444;},_0x92fb(_0xfd0cfa,_0x4eeb90);}import{View as _0x2a7fd3,IconView as _0x41392c}from'ckeditor5/src/ui.js';import _0x30411e from'../../../theme/icons/error.svg';export default class Y extends _0x2a7fd3{constructor(_0x340bf9,_0x34a28b=''){const _0x4fb125=_0x92fb;super(_0x340bf9);const _0x28a1e1=new _0x41392c(),_0x3c5849=this[_0x4fb125(0x1f5)];this[_0x4fb125(0x1f3)](_0x4fb125(0x1f6),_0x34a28b),_0x28a1e1[_0x4fb125(0x1ff)]=_0x30411e,this[_0x4fb125(0x1fa)]({'tag':_0x4fb125(0x203),'attributes':{'class':['ck',_0x4fb125(0x1f8)]},'children':[_0x28a1e1,{'text':_0x3c5849['to'](_0x4fb125(0x1f6))}]});}}
23
+ function _0x4e12(_0x31afcd,_0x3cd37c){const _0x16fb71=_0x16fb();return _0x4e12=function(_0x4e124e,_0xde3a48){_0x4e124e=_0x4e124e-0xc0;let _0x32927f=_0x16fb71[_0x4e124e];return _0x32927f;},_0x4e12(_0x31afcd,_0x3cd37c);}(function(_0x27c536,_0x7f5f77){const _0x18098=_0x4e12,_0x1d2437=_0x27c536();while(!![]){try{const _0x429f39=parseInt(_0x18098(0xce))/0x1+-parseInt(_0x18098(0xc0))/0x2*(-parseInt(_0x18098(0xc8))/0x3)+-parseInt(_0x18098(0xc5))/0x4*(parseInt(_0x18098(0xc4))/0x5)+parseInt(_0x18098(0xc2))/0x6*(parseInt(_0x18098(0xcb))/0x7)+parseInt(_0x18098(0xc1))/0x8*(parseInt(_0x18098(0xc3))/0x9)+-parseInt(_0x18098(0xc9))/0xa*(parseInt(_0x18098(0xc7))/0xb)+-parseInt(_0x18098(0xcd))/0xc;if(_0x429f39===_0x7f5f77)break;else _0x1d2437['push'](_0x1d2437['shift']());}catch(_0x1626b6){_0x1d2437['push'](_0x1d2437['shift']());}}}(_0x16fb,0xcf0a5));import{View as _0x376815,IconView as _0x2a57d3}from'ckeditor5/src/ui.js';function _0x16fb(){const _0x4cd026=['531666JvTWTW','243279mvQgHJ','510SDmHcG','7132bTUEba','text','14216411UZofwM','224043xMHXFO','10kyGIBN','setTemplate','112NVvuTt','bindTemplate','2081976CHYssw','745859TVzCvg','content','div','ck-ai-form__error','set','6hvGPwi','32dkpOub'];_0x16fb=function(){return _0x4cd026;};return _0x16fb();}import _0xc7d8dc from'../../../theme/icons/error.svg';export default class Y extends _0x376815{constructor(_0x55363a,_0x12b384=''){const _0x2c7e6f=_0x4e12;super(_0x55363a);const _0x12ef64=new _0x2a57d3(),_0x23bd8e=this[_0x2c7e6f(0xcc)];this[_0x2c7e6f(0xd2)](_0x2c7e6f(0xc6),_0x12b384),_0x12ef64[_0x2c7e6f(0xcf)]=_0xc7d8dc,this[_0x2c7e6f(0xca)]({'tag':_0x2c7e6f(0xd0),'attributes':{'class':['ck',_0x2c7e6f(0xd1)]},'children':[_0x12ef64,{'text':_0x23bd8e['to'](_0x2c7e6f(0xc6))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x599cef=_0x3814;function _0x3814(_0x1a17e2,_0x53d64a){const _0x44df5c=_0x44df();return _0x3814=function(_0x381421,_0x37c571){_0x381421=_0x381421-0x184;let _0x258e8e=_0x44df5c[_0x381421];return _0x258e8e;},_0x3814(_0x1a17e2,_0x53d64a);}(function(_0xf719b3,_0x4e8519){const _0x478dde=_0x3814,_0x65c129=_0xf719b3();while(!![]){try{const _0x19bfd7=-parseInt(_0x478dde(0x18f))/0x1*(-parseInt(_0x478dde(0x189))/0x2)+-parseInt(_0x478dde(0x199))/0x3+-parseInt(_0x478dde(0x1ae))/0x4*(parseInt(_0x478dde(0x1ba))/0x5)+-parseInt(_0x478dde(0x1b8))/0x6*(-parseInt(_0x478dde(0x1b9))/0x7)+parseInt(_0x478dde(0x1a3))/0x8*(-parseInt(_0x478dde(0x1a7))/0x9)+-parseInt(_0x478dde(0x187))/0xa*(-parseInt(_0x478dde(0x19a))/0xb)+-parseInt(_0x478dde(0x192))/0xc*(-parseInt(_0x478dde(0x1a2))/0xd);if(_0x19bfd7===_0x4e8519)break;else _0x65c129['push'](_0x65c129['shift']());}catch(_0x97b60){_0x65c129['push'](_0x65c129['shift']());}}}(_0x44df,0xc1f05));import{Rect as _0x289cd1,global as _0x1d2e3b,isVisible as _0x4520b4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x522dbd,ButtonView as _0x54afbe}from'ckeditor5/src/ui.js';import{icons as _0x3485fd}from'ckeditor5/src/core.js';function _0x44df(){const _0x3b8d5f=['isEnabled','focusFirst','add','keystrokes','left','394636vvhfqo','queryView','fieldView','filteredView','width','target','isEmpty','requestAnimationFrame','submit','isOn','6AGXJgm','5173399CTrjja','35sfRYqe','ck-ai-form__toggle-history','_createSubmitButton','window','focus','set','bind','locale','focusLast','showHistoryButtonView','style','1869890ZxFBsg','execute','997894ENTbOV','minRows','focusableChildren','history','fieldWrapperChildren','_createShowHistoryButton','3fBKnKO','fire','History','12redMoH','maxRows','right','rtl','enter','ck-ai-form__submit','Submit','4003620HXONov','55tHVtMB','isVisible','element','render','excludeScrollbarsAndBorders','submitButtonView','update','resultsView','10461178OVHhuj','840744nVLfcx','value','focusCycler','uiLanguageDirection','99cwAkyt','children'];_0x44df=function(){return _0x3b8d5f;};return _0x44df();}import{getTranslation as _0x243157}from'../../utils/common-translations.js';import _0x5407b9 from'../../../theme/icons/submit.svg';export default class ot extends _0x522dbd{constructor(_0x1ae05b,_0x2a1df2){const _0x288c75=_0x3814;super(_0x1ae05b,_0x2a1df2),this[_0x288c75(0x1af)][_0x288c75(0x1b0)][_0x288c75(0x18a)]=0x1,this[_0x288c75(0x1af)][_0x288c75(0x1b0)][_0x288c75(0x193)]=0x3,this[_0x288c75(0x19f)]=this[_0x288c75(0x1bc)](),this[_0x288c75(0x185)]=this[_0x288c75(0x18e)](),this[_0x288c75(0x18b)][_0x288c75(0x1ab)](this[_0x288c75(0x185)],0x1),this[_0x288c75(0x18b)][_0x288c75(0x1ab)](this[_0x288c75(0x19f)]);}[_0x599cef(0x19d)](){const _0x3328f6=_0x599cef;super[_0x3328f6(0x19d)](),this[_0x3328f6(0x1af)][_0x3328f6(0x18d)][_0x3328f6(0x1ab)](this[_0x3328f6(0x185)]),this[_0x3328f6(0x1a8)][_0x3328f6(0x1ab)](this[_0x3328f6(0x19f)]),this[_0x3328f6(0x1ac)][_0x3328f6(0x1bf)](_0x3328f6(0x196),(_0x509513,_0x56f1e5)=>{const _0x328cbc=_0x3328f6;_0x509513[_0x328cbc(0x1b3)]==this[_0x328cbc(0x1af)][_0x328cbc(0x1b0)][_0x328cbc(0x19c)]&&(this[_0x328cbc(0x1b6)](),_0x56f1e5());});}[_0x599cef(0x1bc)](){const _0x36b16d=_0x599cef,_0x1abf18=new _0x54afbe(this[_0x36b16d(0x1c1)]),_0x59bf04=this[_0x36b16d(0x1c1)];return _0x1abf18[_0x36b16d(0x1bf)]({'icon':_0x5407b9,'label':_0x243157(_0x59bf04,_0x36b16d(0x198)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x36b16d(0x197)}),_0x1abf18['on'](_0x36b16d(0x188),()=>{const _0x5c32fc=_0x36b16d;this[_0x5c32fc(0x1b6)]();}),_0x1abf18[_0x36b16d(0x1c0)](_0x36b16d(0x1a9))['to'](this[_0x36b16d(0x1af)][_0x36b16d(0x1b0)],_0x36b16d(0x1b4),this,_0x36b16d(0x1a9),(_0x4e3aad,_0x5a700c)=>!_0x4e3aad&&_0x5a700c),_0x1abf18;}[_0x599cef(0x18e)](){const _0x57319a=_0x599cef,_0x20da84=new _0x54afbe(this[_0x57319a(0x1c1)]),_0x161c8e=this[_0x57319a(0x1a1)],_0xcfdbcb=this[_0x57319a(0x1c1)];_0x20da84[_0x57319a(0x1bf)]({'label':_0x243157(_0xcfdbcb,_0x57319a(0x191)),'withText':!0x1,'icon':_0x3485fd[_0x57319a(0x18c)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x57319a(0x1bb)}),_0x20da84[_0x57319a(0x1c0)](_0x57319a(0x1b7))['to'](_0x161c8e,_0x57319a(0x19b)),_0x20da84[_0x57319a(0x1c0)](_0x57319a(0x1a9))['to'](this,_0x57319a(0x1a9)),_0x20da84['on'](_0x57319a(0x188),()=>{const _0x21d3c2=_0x57319a;_0x161c8e[_0x21d3c2(0x19b)]=!_0x161c8e[_0x21d3c2(0x19b)],_0x161c8e[_0x21d3c2(0x19b)]?this[_0x21d3c2(0x1b1)][_0x21d3c2(0x1be)]():this[_0x21d3c2(0x1be)]();});const _0x150d16=()=>{const _0x4868b8=_0x57319a;_0x1d2e3b[_0x4868b8(0x1bd)][_0x4868b8(0x1b5)](()=>{const _0x3c38ad=_0x4868b8;if(_0x4520b4(this[_0x3c38ad(0x19c)])){const _0x482df5=new _0x289cd1(this[_0x3c38ad(0x1af)][_0x3c38ad(0x1b0)][_0x3c38ad(0x19c)]),_0x3a94e4=_0x482df5[_0x3c38ad(0x1b2)],_0x429de9=_0x3c38ad(0x195)===_0xcfdbcb[_0x3c38ad(0x1a6)]?_0x3c38ad(0x1ad):_0x3c38ad(0x194);_0x482df5[_0x3c38ad(0x19e)](),_0x20da84[_0x3c38ad(0x19c)][_0x3c38ad(0x186)][_0x429de9]=_0x3a94e4-_0x482df5[_0x3c38ad(0x1b2)]+0x1+'px';}});};return this[_0x57319a(0x1af)][_0x57319a(0x1b0)]['on'](_0x57319a(0x1a0),_0x150d16),this['on'](_0x57319a(0x19d),_0x150d16),_0x20da84;}[_0x599cef(0x1b6)](){const _0x5812c8=_0x599cef,_0x32580b=this[_0x5812c8(0x1af)][_0x5812c8(0x1b0)][_0x5812c8(0x19c)][_0x5812c8(0x1a4)];this[_0x5812c8(0x190)](_0x5812c8(0x1b6),_0x32580b);}[_0x599cef(0x1be)](_0x4cf034){const _0xde9470=_0x599cef;-0x1===_0x4cf034?this[_0xde9470(0x1a5)][_0xde9470(0x184)]():this[_0xde9470(0x1a5)][_0xde9470(0x1aa)]();}}
23
+ const _0x26ef34=_0x5063;function _0x4649(){const _0x797a98=['ck-ai-form__toggle-history','1169546GaKOoM','history','fieldView','filteredView','focusLast','_createShowHistoryButton','value','5mmeTJp','_createSubmitButton','isEnabled','right','set','submitButtonView','keystrokes','requestAnimationFrame','locale','726170oCDtqK','children','15SlZFPI','showHistoryButtonView','submit','Submit','enter','focusFirst','focus','ck-ai-form__submit','update','fire','149694gTTFtK','3487256tkNjvw','isOn','isVisible','focusCycler','79540JboynX','window','execute','History','2327898ahPcXd','bind','element','uiLanguageDirection','9mVppMz','left','target','resultsView','isEmpty','rtl','6zEOekG','maxRows','width','excludeScrollbarsAndBorders','add','queryView','style','render','minRows','fieldWrapperChildren','focusableChildren','6875374HNaBNR'];_0x4649=function(){return _0x797a98;};return _0x4649();}(function(_0x2cf036,_0x3a9fdb){const _0x25f2a1=_0x5063,_0x3e2c13=_0x2cf036();while(!![]){try{const _0x40c6cb=-parseInt(_0x25f2a1(0xca))/0x1*(parseInt(_0x25f2a1(0xb7))/0x2)+-parseInt(_0x25f2a1(0xad))/0x3*(-parseInt(_0x25f2a1(0xbc))/0x4)+parseInt(_0x25f2a1(0xa2))/0x5*(-parseInt(_0x25f2a1(0xc0))/0x6)+-parseInt(_0x25f2a1(0x9b))/0x7+parseInt(_0x25f2a1(0xb8))/0x8+-parseInt(_0x25f2a1(0xc4))/0x9*(-parseInt(_0x25f2a1(0xab))/0xa)+parseInt(_0x25f2a1(0x99))/0xb;if(_0x40c6cb===_0x3a9fdb)break;else _0x3e2c13['push'](_0x3e2c13['shift']());}catch(_0x3c8516){_0x3e2c13['push'](_0x3e2c13['shift']());}}}(_0x4649,0x37de8));import{Rect as _0x3aa9f4,global as _0x1d29f0,isVisible as _0x2f8eb4}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x2d9d19,ButtonView as _0x1b1ff9}from'ckeditor5/src/ui.js';import{icons as _0x53f8e5}from'ckeditor5/src/core.js';function _0x5063(_0xd3f6c5,_0x243244){const _0x464983=_0x4649();return _0x5063=function(_0x50633d,_0x287dbd){_0x50633d=_0x50633d-0x98;let _0x1719fb=_0x464983[_0x50633d];return _0x1719fb;},_0x5063(_0xd3f6c5,_0x243244);}import{getTranslation as _0x4cc13c}from'../../utils/common-translations.js';import _0x54c859 from'../../../theme/icons/submit.svg';export default class ot extends _0x2d9d19{constructor(_0x289b94,_0x5198e3){const _0xa1e35d=_0x5063;super(_0x289b94,_0x5198e3),this[_0xa1e35d(0xcf)][_0xa1e35d(0x9d)][_0xa1e35d(0xd2)]=0x1,this[_0xa1e35d(0xcf)][_0xa1e35d(0x9d)][_0xa1e35d(0xcb)]=0x3,this[_0xa1e35d(0xa7)]=this[_0xa1e35d(0xa3)](),this[_0xa1e35d(0xae)]=this[_0xa1e35d(0xa0)](),this[_0xa1e35d(0x98)][_0xa1e35d(0xce)](this[_0xa1e35d(0xae)],0x1),this[_0xa1e35d(0x98)][_0xa1e35d(0xce)](this[_0xa1e35d(0xa7)]);}[_0x26ef34(0xd1)](){const _0x130be4=_0x26ef34;super[_0x130be4(0xd1)](),this[_0x130be4(0xcf)][_0x130be4(0xd3)][_0x130be4(0xce)](this[_0x130be4(0xae)]),this[_0x130be4(0xac)][_0x130be4(0xce)](this[_0x130be4(0xa7)]),this[_0x130be4(0xa8)][_0x130be4(0xa6)](_0x130be4(0xb1),(_0x581748,_0x350131)=>{const _0x338e2b=_0x130be4;_0x581748[_0x338e2b(0xc6)]==this[_0x338e2b(0xcf)][_0x338e2b(0x9d)][_0x338e2b(0xc2)]&&(this[_0x338e2b(0xaf)](),_0x350131());});}[_0x26ef34(0xa3)](){const _0x5d975b=_0x26ef34,_0x146492=new _0x1b1ff9(this[_0x5d975b(0xaa)]),_0x1ff462=this[_0x5d975b(0xaa)];return _0x146492[_0x5d975b(0xa6)]({'icon':_0x54c859,'label':_0x4cc13c(_0x1ff462,_0x5d975b(0xb0)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5d975b(0xb4)}),_0x146492['on'](_0x5d975b(0xbe),()=>{const _0x1c8a4f=_0x5d975b;this[_0x1c8a4f(0xaf)]();}),_0x146492[_0x5d975b(0xc1)](_0x5d975b(0xa4))['to'](this[_0x5d975b(0xcf)][_0x5d975b(0x9d)],_0x5d975b(0xc8),this,_0x5d975b(0xa4),(_0x3df967,_0x79587f)=>!_0x3df967&&_0x79587f),_0x146492;}[_0x26ef34(0xa0)](){const _0x2a1cdb=_0x26ef34,_0x5859a1=new _0x1b1ff9(this[_0x2a1cdb(0xaa)]),_0x4d6a92=this[_0x2a1cdb(0xc7)],_0x22731c=this[_0x2a1cdb(0xaa)];_0x5859a1[_0x2a1cdb(0xa6)]({'label':_0x4cc13c(_0x22731c,_0x2a1cdb(0xbf)),'withText':!0x1,'icon':_0x53f8e5[_0x2a1cdb(0x9c)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2a1cdb(0x9a)}),_0x5859a1[_0x2a1cdb(0xc1)](_0x2a1cdb(0xb9))['to'](_0x4d6a92,_0x2a1cdb(0xba)),_0x5859a1[_0x2a1cdb(0xc1)](_0x2a1cdb(0xa4))['to'](this,_0x2a1cdb(0xa4)),_0x5859a1['on'](_0x2a1cdb(0xbe),()=>{const _0x1c3fd7=_0x2a1cdb;_0x4d6a92[_0x1c3fd7(0xba)]=!_0x4d6a92[_0x1c3fd7(0xba)],_0x4d6a92[_0x1c3fd7(0xba)]?this[_0x1c3fd7(0x9e)][_0x1c3fd7(0xb3)]():this[_0x1c3fd7(0xb3)]();});const _0x1322c7=()=>{const _0x44c4fb=_0x2a1cdb;_0x1d29f0[_0x44c4fb(0xbd)][_0x44c4fb(0xa9)](()=>{const _0x191be6=_0x44c4fb;if(_0x2f8eb4(this[_0x191be6(0xc2)])){const _0xf485de=new _0x3aa9f4(this[_0x191be6(0xcf)][_0x191be6(0x9d)][_0x191be6(0xc2)]),_0x205865=_0xf485de[_0x191be6(0xcc)],_0x2f73a7=_0x191be6(0xc9)===_0x22731c[_0x191be6(0xc3)]?_0x191be6(0xc5):_0x191be6(0xa5);_0xf485de[_0x191be6(0xcd)](),_0x5859a1[_0x191be6(0xc2)][_0x191be6(0xd0)][_0x2f73a7]=_0x205865-_0xf485de[_0x191be6(0xcc)]+0x1+'px';}});};return this[_0x2a1cdb(0xcf)][_0x2a1cdb(0x9d)]['on'](_0x2a1cdb(0xb5),_0x1322c7),this['on'](_0x2a1cdb(0xd1),_0x1322c7),_0x5859a1;}[_0x26ef34(0xaf)](){const _0x16f55e=_0x26ef34,_0x439e20=this[_0x16f55e(0xcf)][_0x16f55e(0x9d)][_0x16f55e(0xc2)][_0x16f55e(0xa1)];this[_0x16f55e(0xb6)](_0x16f55e(0xaf),_0x439e20);}[_0x26ef34(0xb3)](_0x47ab84){const _0x1cca8b=_0x26ef34;-0x1===_0x47ab84?this[_0x1cca8b(0xbb)][_0x1cca8b(0x9f)]():this[_0x1cca8b(0xbb)][_0x1cca8b(0xb2)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3d82(){const _0x3c2158=['4376580jvdkJQ','_createButton','bindTemplate','24783hEHjUc','addMany','stopButton','AI_','set','bind','ck-hidden','Try\x20again','949560NAMOpa','ck-button-action','replaceButton','tryAgainButton','ck-ai-form__toolbar','label','insert','replace','Stop','insertButton','276QFpCyu','locale','toUpperCase','REPLACE','extendTemplate','723825UeqIcH','2hnCcli','2639305kZaDKE','items','_CONTENT','8TbVdHF','Insert\x20below','429709eEfXFk','mainAction','5119947GLBijb','isVisible'];_0x3d82=function(){return _0x3c2158;};return _0x3d82();}const _0x5881eb=_0x42e5;(function(_0x1a6c6e,_0x907ba8){const _0x8fb5a7=_0x42e5,_0x30b972=_0x1a6c6e();while(!![]){try{const _0x3e55f8=parseInt(_0x8fb5a7(0xa9))/0x1*(-parseInt(_0x8fb5a7(0xaa))/0x2)+-parseInt(_0x8fb5a7(0x92))/0x3*(-parseInt(_0x8fb5a7(0xa4))/0x4)+parseInt(_0x8fb5a7(0xab))/0x5+parseInt(_0x8fb5a7(0x9a))/0x6+parseInt(_0x8fb5a7(0x8b))/0x7+-parseInt(_0x8fb5a7(0xae))/0x8*(parseInt(_0x8fb5a7(0x8d))/0x9)+parseInt(_0x8fb5a7(0x8f))/0xa;if(_0x3e55f8===_0x907ba8)break;else _0x30b972['push'](_0x30b972['shift']());}catch(_0x4e9469){_0x30b972['push'](_0x30b972['shift']());}}}(_0x3d82,0x70e83));import{ToolbarView as _0x581d95,ButtonView as _0x4ab98e}from'ckeditor5/src/ui.js';function _0x42e5(_0x14b8e1,_0x2f4f48){const _0x3d824d=_0x3d82();return _0x42e5=function(_0x42e51b,_0x33fcfc){_0x42e51b=_0x42e51b-0x8b;let _0x542ebf=_0x3d824d[_0x42e51b];return _0x542ebf;},_0x42e5(_0x14b8e1,_0x2f4f48);}import{getTranslation as _0x21ada3}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5881eb(0xa1),'INSERT':_0x5881eb(0xa0)};export default class rt extends _0x581d95{constructor(_0x55817e){const _0x5c1e2f=_0x5881eb;super(_0x55817e),this[_0x5c1e2f(0x96)](_0x5c1e2f(0x8e),!0x1),this[_0x5c1e2f(0x96)](_0x5c1e2f(0x8c),AIFormToolbarViewMainActionLabel[_0x5c1e2f(0xa7)]),this[_0x5c1e2f(0x9c)]=this[_0x5c1e2f(0x90)]('',_0x5c1e2f(0x9b)),this[_0x5c1e2f(0x9c)][_0x5c1e2f(0x97)](_0x5c1e2f(0x9f))['to'](this,_0x5c1e2f(0x8c),_0x1be34d=>_0x21ada3(_0x55817e,_0x5c1e2f(0x95)+_0x1be34d[_0x5c1e2f(0xa6)]()+_0x5c1e2f(0xad))),this[_0x5c1e2f(0xa3)]=this[_0x5c1e2f(0x90)](_0x21ada3(_0x55817e,_0x5c1e2f(0xaf))),this[_0x5c1e2f(0x9d)]=this[_0x5c1e2f(0x90)](_0x21ada3(_0x55817e,_0x5c1e2f(0x99))),this[_0x5c1e2f(0x94)]=this[_0x5c1e2f(0x90)](_0x21ada3(_0x55817e,_0x5c1e2f(0xa2)));const _0x335a3e=this[_0x5c1e2f(0x91)];this[_0x5c1e2f(0xa8)]({'attributes':{'class':[_0x5c1e2f(0x9e),_0x335a3e['if'](_0x5c1e2f(0x8e),_0x5c1e2f(0x98),_0x2fe75f=>!_0x2fe75f)]}}),this[_0x5c1e2f(0xac)][_0x5c1e2f(0x93)]([this[_0x5c1e2f(0x9c)],this[_0x5c1e2f(0xa3)],this[_0x5c1e2f(0x9d)],this[_0x5c1e2f(0x94)]]);}[_0x5881eb(0x90)](_0x4577c3,_0x5a9e0a){const _0x593ac3=_0x5881eb,_0x4275d4=new _0x4ab98e(this[_0x593ac3(0xa5)]);return _0x4275d4[_0x593ac3(0x96)]({'label':_0x4577c3,'class':_0x5a9e0a||'','isVisible':!0x0,'withText':!0x0}),_0x4275d4;}}
23
+ function _0x4523(_0x140aa2,_0x57a608){const _0x3cbdff=_0x3cbd();return _0x4523=function(_0x452302,_0x4c651c){_0x452302=_0x452302-0x1c8;let _0x2003db=_0x3cbdff[_0x452302];return _0x2003db;},_0x4523(_0x140aa2,_0x57a608);}const _0x49da21=_0x4523;(function(_0xa87197,_0x27f1ca){const _0x3127a3=_0x4523,_0x58a8ce=_0xa87197();while(!![]){try{const _0xaecd0=-parseInt(_0x3127a3(0x1cc))/0x1*(parseInt(_0x3127a3(0x1d9))/0x2)+parseInt(_0x3127a3(0x1d3))/0x3*(-parseInt(_0x3127a3(0x1ea))/0x4)+-parseInt(_0x3127a3(0x1ed))/0x5*(parseInt(_0x3127a3(0x1d0))/0x6)+-parseInt(_0x3127a3(0x1e9))/0x7+-parseInt(_0x3127a3(0x1ee))/0x8+parseInt(_0x3127a3(0x1d7))/0x9*(parseInt(_0x3127a3(0x1c8))/0xa)+parseInt(_0x3127a3(0x1d5))/0xb*(parseInt(_0x3127a3(0x1dc))/0xc);if(_0xaecd0===_0x27f1ca)break;else _0x58a8ce['push'](_0x58a8ce['shift']());}catch(_0x5d33da){_0x58a8ce['push'](_0x58a8ce['shift']());}}}(_0x3cbd,0x87014));import{ToolbarView as _0x20832a,ButtonView as _0x3d1c40}from'ckeditor5/src/ui.js';function _0x3cbd(){const _0x1e2680=['replaceButton','toUpperCase','1UGaQBb','label','tryAgainButton','addMany','6CubkXl','locale','Insert\x20below','528FRTZJh','Stop','33IUWwfV','bindTemplate','9CITCgQ','ck-hidden','957874WkgAyX','AI_','REPLACE','11883324FxjnlW','Try\x20again','_createButton','ck-ai-form__toolbar','replace','insertButton','ck-button-action','items','set','insert','bind','mainAction','stopButton','145964hMAxQl','2272lPCCUL','isVisible','extendTemplate','4482620UcwcRx','8659424TmcQKq','1608580qWdsBB','_CONTENT'];_0x3cbd=function(){return _0x1e2680;};return _0x3cbd();}import{getTranslation as _0x3a99b0}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x49da21(0x1e0),'INSERT':_0x49da21(0x1e5)};export default class rt extends _0x20832a{constructor(_0x341421){const _0x480b71=_0x49da21;super(_0x341421),this[_0x480b71(0x1e4)](_0x480b71(0x1eb),!0x1),this[_0x480b71(0x1e4)](_0x480b71(0x1e7),AIFormToolbarViewMainActionLabel[_0x480b71(0x1db)]),this[_0x480b71(0x1ca)]=this[_0x480b71(0x1de)]('',_0x480b71(0x1e2)),this[_0x480b71(0x1ca)][_0x480b71(0x1e6)](_0x480b71(0x1cd))['to'](this,_0x480b71(0x1e7),_0x4f8a8e=>_0x3a99b0(_0x341421,_0x480b71(0x1da)+_0x4f8a8e[_0x480b71(0x1cb)]()+_0x480b71(0x1c9))),this[_0x480b71(0x1e1)]=this[_0x480b71(0x1de)](_0x3a99b0(_0x341421,_0x480b71(0x1d2))),this[_0x480b71(0x1ce)]=this[_0x480b71(0x1de)](_0x3a99b0(_0x341421,_0x480b71(0x1dd))),this[_0x480b71(0x1e8)]=this[_0x480b71(0x1de)](_0x3a99b0(_0x341421,_0x480b71(0x1d4)));const _0x2120c6=this[_0x480b71(0x1d6)];this[_0x480b71(0x1ec)]({'attributes':{'class':[_0x480b71(0x1df),_0x2120c6['if'](_0x480b71(0x1eb),_0x480b71(0x1d8),_0x5acdcb=>!_0x5acdcb)]}}),this[_0x480b71(0x1e3)][_0x480b71(0x1cf)]([this[_0x480b71(0x1ca)],this[_0x480b71(0x1e1)],this[_0x480b71(0x1ce)],this[_0x480b71(0x1e8)]]);}[_0x49da21(0x1de)](_0x1a986e,_0x387f1c){const _0x2c44c5=_0x49da21,_0x257370=new _0x3d1c40(this[_0x2c44c5(0x1d1)]);return _0x257370[_0x2c44c5(0x1e4)]({'label':_0x1a986e,'class':_0x387f1c||'','isVisible':!0x0,'withText':!0x0}),_0x257370;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9ef6(){const _0x204bbd=['prompt','tryAgainEvent','items','clearHistory','isProcessing','tab','701WORVpt','isEnabled','983792AJxSfn','element','createCollection','AI_ERROR_FAILED','_createToolbar','insertContentBelow','startProcessing','contentArea','label','copyButtonView','ck-hidden','_createPromptView','value','_promptHistory','895MoDtFG','Ask\x20AI\x20to\x20edit\x20or\x20generate','3062WTPWgh','198390OGnxno','replaceButton','fieldView','insertButton','bindTemplate','focusLast','toolbar','892jgAqYg','ck-ai-form-content','bind','chain','errorView','shift\x20+\x20tab','submit','text','focus','tryAgainButton','locale','18jFZRqV','fire','stopButton','ck-ai-form','search','queryView','execute','listenTo','8453061yJBcLd','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','setTemplate','promptView','Empty\x20history','focusTracker','756287GhjklW','reset','REPLACE','isError','_focusables','set','focusCycler','high','918860SeIBqR','render','replaceContent','finishProcessing','_createHistoryView','focusFirst','isVisible','keystrokes','bindTo','handleError','delegate','Ask\x20AI\x20to\x20improve\x20generated\x20text','div','historyGroupView','stopProcessing','mainAction','clear','add','trim','submitPrompt'];_0x9ef6=function(){return _0x204bbd;};return _0x9ef6();}const _0x7aeb99=_0x4c9c;(function(_0x2cf1c1,_0xe6ba6d){const _0x4d281f=_0x4c9c,_0x448367=_0x2cf1c1();while(!![]){try{const _0xb34d91=-parseInt(_0x4d281f(0x222))/0x1*(-parseInt(_0x4d281f(0x234))/0x2)+-parseInt(_0x4d281f(0x235))/0x3+parseInt(_0x4d281f(0x1e7))/0x4*(-parseInt(_0x4d281f(0x232))/0x5)+-parseInt(_0x4d281f(0x1f2))/0x6*(-parseInt(_0x4d281f(0x200))/0x7)+parseInt(_0x4d281f(0x224))/0x8+-parseInt(_0x4d281f(0x1fa))/0x9+parseInt(_0x4d281f(0x208))/0xa;if(_0xb34d91===_0xe6ba6d)break;else _0x448367['push'](_0x448367['shift']());}catch(_0xcec6b){_0x448367['push'](_0x448367['shift']());}}}(_0x9ef6,0x8a69a));function _0x4c9c(_0x428a46,_0x2d2f33){const _0x9ef67b=_0x9ef6();return _0x4c9c=function(_0x4c9c3f,_0x3030fa){_0x4c9c3f=_0x4c9c3f-0x1e1;let _0x334dc6=_0x9ef67b[_0x4c9c3f];return _0x334dc6;},_0x4c9c(_0x428a46,_0x2d2f33);}import{FocusTracker as _0x451478,KeystrokeHandler as _0x19641e}from'ckeditor5/src/utils.js';import{View as _0x452fb3,FocusCycler as _0x68d794,createLabeledTextarea as _0xd23597}from'ckeditor5/src/ui.js';import _0x4e2a19,{AIFormToolbarViewMainActionLabel as _0x5d0894}from'./aiformtoolbarview.js';import _0x32c64c from'./aiformcontentarea.js';import _0x18ed5e from'./aiformerrorview.js';import _0x3e94cc from'./aiformpromptview.js';import _0x928d18 from'./aihistorylistview.js';import _0x2800f9 from'./aihistorylistitemview.js';import _0x5bf6f7 from'./prompthistory.js';import{getTranslation as _0x191e06}from'../../utils/common-translations.js';import{escape as _0x53a2b6}from'lodash-es';export default class v extends _0x452fb3{constructor(_0x4a37bd,_0x205694,_0x3ba5c3=''){const _0x5c4fd8=_0x4c9c;super(_0x4a37bd),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x223),!0x0),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x220),!0x1),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x21c),''),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x230),''),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x203),!0x1),this[_0x5c4fd8(0x205)](_0x5c4fd8(0x217),_0x5d0894[_0x5c4fd8(0x202)]),this[_0x5c4fd8(0x231)]=new _0x5bf6f7(),this[_0x5c4fd8(0x1eb)]=new _0x18ed5e(_0x4a37bd),this[_0x5c4fd8(0x22b)]=new _0x32c64c(_0x4a37bd,_0x3ba5c3),this[_0x5c4fd8(0x22b)][_0x5c4fd8(0x1e9)](_0x5c4fd8(0x220))['to'](this),this[_0x5c4fd8(0x22b)][_0x5c4fd8(0x1e9)](_0x5c4fd8(0x230))['to'](this),this[_0x5c4fd8(0x1e6)]=this[_0x5c4fd8(0x228)](),this[_0x5c4fd8(0x1e6)][_0x5c4fd8(0x1e9)](_0x5c4fd8(0x217))['to'](this),this[_0x5c4fd8(0x1fd)]=this[_0x5c4fd8(0x22f)](),this[_0x5c4fd8(0x1ff)]=new _0x451478(),this[_0x5c4fd8(0x20f)]=new _0x19641e(),this[_0x5c4fd8(0x204)]=this[_0x5c4fd8(0x226)]([this[_0x5c4fd8(0x22b)],this[_0x5c4fd8(0x22b)][_0x5c4fd8(0x22d)],this[_0x5c4fd8(0x1e6)],this[_0x5c4fd8(0x1fd)]]),this[_0x5c4fd8(0x206)]=new _0x68d794({'focusables':this[_0x5c4fd8(0x204)],'focusTracker':this[_0x5c4fd8(0x1ff)],'keystrokeHandler':this[_0x5c4fd8(0x20f)],'actions':{'focusPrevious':_0x5c4fd8(0x1ec),'focusNext':_0x5c4fd8(0x221)}}),this[_0x5c4fd8(0x206)][_0x5c4fd8(0x1ea)](this[_0x5c4fd8(0x1fd)][_0x5c4fd8(0x206)]),this[_0x5c4fd8(0x1fd)][_0x5c4fd8(0x1f7)][_0x5c4fd8(0x1e2)][_0x5c4fd8(0x1e9)](_0x5c4fd8(0x230))['to'](this,_0x5c4fd8(0x21c));const _0x27b399=this[_0x5c4fd8(0x1e4)];this[_0x5c4fd8(0x1fc)]({'tag':_0x5c4fd8(0x214),'attributes':{'class':['ck',_0x5c4fd8(0x1f5),_0x205694],'tabindex':'-1'},'children':[{'tag':_0x5c4fd8(0x214),'attributes':{'class':['ck',_0x5c4fd8(0x1e8)]},'children':[{'tag':_0x5c4fd8(0x214),'attributes':{'class':[_0x27b399['if'](_0x5c4fd8(0x203),_0x5c4fd8(0x22e),_0x5be30e=>!_0x5be30e)]},'children':[this[_0x5c4fd8(0x1eb)]]},this[_0x5c4fd8(0x22b)],this[_0x5c4fd8(0x1e6)],this[_0x5c4fd8(0x1fd)]]}]});}[_0x7aeb99(0x209)](){const _0x487ecd=_0x7aeb99;super[_0x487ecd(0x209)](),this[_0x487ecd(0x1ff)][_0x487ecd(0x219)](this[_0x487ecd(0x22b)][_0x487ecd(0x225)]),this[_0x487ecd(0x1ff)][_0x487ecd(0x219)](this[_0x487ecd(0x22b)][_0x487ecd(0x22d)][_0x487ecd(0x225)]),this[_0x487ecd(0x1ff)][_0x487ecd(0x219)](this[_0x487ecd(0x1e6)][_0x487ecd(0x225)]),this[_0x487ecd(0x1ff)][_0x487ecd(0x219)](this[_0x487ecd(0x1fd)][_0x487ecd(0x225)]),this[_0x487ecd(0x20f)][_0x487ecd(0x1f9)](this[_0x487ecd(0x225)]);}[_0x7aeb99(0x1ef)](_0x1d6d67=0x1){const _0x1de0d9=_0x7aeb99;-0x1===_0x1d6d67?this[_0x1de0d9(0x206)][_0x1de0d9(0x1e5)]():this[_0x1de0d9(0x206)][_0x1de0d9(0x20d)]();}[_0x7aeb99(0x201)](){const _0x52f063=_0x7aeb99;this[_0x52f063(0x21c)]='',this[_0x52f063(0x230)]='',this[_0x52f063(0x203)]=!0x1,this[_0x52f063(0x1fd)][_0x52f063(0x201)](),this[_0x52f063(0x22b)][_0x52f063(0x20e)]=!0x1,this[_0x52f063(0x1e6)][_0x52f063(0x20e)]=!0x1;}[_0x7aeb99(0x22f)](){const _0x15732a=_0x7aeb99,_0x5c7fee=this[_0x15732a(0x1f1)],_0x1d33db=new _0x3e94cc(_0x5c7fee,{'queryView':{'label':_0x191e06(_0x5c7fee,_0x15732a(0x233)),'creator':_0xd23597,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x191e06(_0x5c7fee,_0x15732a(0x1fe)),'secondary':_0x191e06(_0x5c7fee,_0x15732a(0x1fb))}}},'filteredView':this[_0x15732a(0x20c)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1d33db[_0x15732a(0x1e9)](_0x15732a(0x223))['to'](this,_0x15732a(0x223),this,_0x15732a(0x220),(_0x535ede,_0x23b7cc)=>_0x535ede&&!_0x23b7cc),this[_0x15732a(0x1f9)](_0x1d33db,_0x15732a(0x1ed),(_0x1005e3,_0x2917fb)=>{const _0x3812da=_0x15732a;this[_0x3812da(0x21c)]=_0x2917fb;const _0x3b8e5c=_0x53a2b6(_0x2917fb);this[_0x3812da(0x1f3)](_0x3812da(0x21b),_0x3b8e5c),_0x2917fb[_0x3812da(0x21a)]()&&this[_0x3812da(0x231)][_0x3812da(0x219)]({'prompt':_0x3b8e5c},0x0);},{'priority':_0x15732a(0x207)}),_0x1d33db;}[_0x7aeb99(0x20c)](){const _0x50f7c1=_0x7aeb99,_0x356b02=new _0x928d18(this[_0x50f7c1(0x1f1)]);return _0x356b02[_0x50f7c1(0x215)][_0x50f7c1(0x21e)][_0x50f7c1(0x210)](this[_0x50f7c1(0x231)])['as'](_0x2800f9),_0x356b02['on'](_0x50f7c1(0x21f),()=>{const _0x9b7233=_0x50f7c1;this[_0x9b7233(0x231)][_0x9b7233(0x218)](),this[_0x9b7233(0x1fd)][_0x9b7233(0x1f6)](''),this[_0x9b7233(0x1fd)][_0x9b7233(0x1ef)]();}),_0x356b02;}[_0x7aeb99(0x228)](){const _0x4f45df=_0x7aeb99,_0x47056d=new _0x4e2a19(this[_0x4f45df(0x1f1)]);return _0x47056d[_0x4f45df(0x1e1)][_0x4f45df(0x1e9)](_0x4f45df(0x223))['to'](this,_0x4f45df(0x223),this,_0x4f45df(0x220),this,_0x4f45df(0x230),(_0x5565f6,_0x566ad2,_0x5bd8a2)=>_0x5565f6&&!_0x566ad2&&!!_0x5bd8a2),_0x47056d[_0x4f45df(0x1e1)][_0x4f45df(0x212)](_0x4f45df(0x1f8))['to'](this,_0x4f45df(0x20a)),_0x47056d[_0x4f45df(0x1e3)][_0x4f45df(0x1e9)](_0x4f45df(0x223))['to'](this,_0x4f45df(0x223),this,_0x4f45df(0x220),this,_0x4f45df(0x230),(_0xcf6c39,_0x36905c,_0x82656d)=>_0xcf6c39&&!_0x36905c&&!!_0x82656d),_0x47056d[_0x4f45df(0x1e3)][_0x4f45df(0x212)](_0x4f45df(0x1f8))['to'](this,_0x4f45df(0x229)),_0x47056d[_0x4f45df(0x1f0)][_0x4f45df(0x1e9)](_0x4f45df(0x223))['to'](this,_0x4f45df(0x223),this,_0x4f45df(0x220),(_0x340b96,_0xb59e16)=>_0x340b96&&!_0xb59e16),_0x47056d[_0x4f45df(0x1f0)][_0x4f45df(0x212)](_0x4f45df(0x1f8))['to'](this,_0x4f45df(0x21d)),_0x47056d[_0x4f45df(0x1f4)][_0x4f45df(0x1e9)](_0x4f45df(0x223))['to'](this,_0x4f45df(0x220)),_0x47056d[_0x4f45df(0x1f4)][_0x4f45df(0x212)](_0x4f45df(0x1f8))['to'](this,_0x4f45df(0x216)),_0x47056d;}[_0x7aeb99(0x22a)](){const _0x3616ae=_0x7aeb99;this[_0x3616ae(0x230)]='',this[_0x3616ae(0x203)]=!0x1,this[_0x3616ae(0x220)]=!0x0,this[_0x3616ae(0x22b)][_0x3616ae(0x20e)]=!0x0,this[_0x3616ae(0x1e6)][_0x3616ae(0x20e)]=!0x0,this[_0x3616ae(0x22b)][_0x3616ae(0x1ef)]();}[_0x7aeb99(0x20b)](){const _0x145b82=_0x7aeb99,_0x38e81e=this[_0x145b82(0x1f1)];this[_0x145b82(0x220)]=!0x1,this[_0x145b82(0x21c)]='',this[_0x145b82(0x1fd)][_0x145b82(0x201)](),this[_0x145b82(0x230)]&&(this[_0x145b82(0x1fd)][_0x145b82(0x1f7)][_0x145b82(0x22c)]=_0x191e06(_0x38e81e,_0x145b82(0x213)));}[_0x7aeb99(0x211)](_0x570c2a){const _0x186f4d=_0x7aeb99,_0x3eb41c=this[_0x186f4d(0x1f1)];this[_0x186f4d(0x20b)](),this[_0x186f4d(0x203)]=!0x0,this[_0x186f4d(0x1eb)][_0x186f4d(0x1ee)]=_0x570c2a||_0x191e06(_0x3eb41c,_0x186f4d(0x227)),this[_0x186f4d(0x230)]||(this[_0x186f4d(0x22b)][_0x186f4d(0x20e)]=!0x1);}}
23
+ const _0xf192f3=_0x8165;(function(_0x3836da,_0x499d5f){const _0x5794e6=_0x8165,_0x3d6f46=_0x3836da();while(!![]){try{const _0xc3607f=-parseInt(_0x5794e6(0xfc))/0x1*(-parseInt(_0x5794e6(0x125))/0x2)+parseInt(_0x5794e6(0x139))/0x3*(parseInt(_0x5794e6(0x123))/0x4)+-parseInt(_0x5794e6(0x10c))/0x5+-parseInt(_0x5794e6(0x103))/0x6+parseInt(_0x5794e6(0x114))/0x7+-parseInt(_0x5794e6(0x12f))/0x8+parseInt(_0x5794e6(0xe9))/0x9;if(_0xc3607f===_0x499d5f)break;else _0x3d6f46['push'](_0x3d6f46['shift']());}catch(_0x60d78f){_0x3d6f46['push'](_0x3d6f46['shift']());}}}(_0x587f,0x821e7));import{FocusTracker as _0x2b3e40,KeystrokeHandler as _0x3d10c1}from'ckeditor5/src/utils.js';import{View as _0x2d6e1d,FocusCycler as _0x132a09,createLabeledTextarea as _0x17fa09}from'ckeditor5/src/ui.js';function _0x8165(_0x283f3f,_0x3f85e6){const _0x587f55=_0x587f();return _0x8165=function(_0x816501,_0x26103e){_0x816501=_0x816501-0xe8;let _0x17d348=_0x587f55[_0x816501];return _0x17d348;},_0x8165(_0x283f3f,_0x3f85e6);}function _0x587f(){const _0x4d1a49=['isEnabled','replaceButton','setTemplate','finishProcessing','ck-hidden','promptView','1714853TVALdB','bind','reset','trim','fieldView','AI_ERROR_FAILED','search','stopProcessing','div','isError','bindTo','mainAction','tryAgainButton','render','toolbar','20iJNlXH','listenTo','4vxBBqc','ck-ai-form-content','high','isVisible','element','focusCycler','value','text','stopButton','tab','2651512okVXUh','isProcessing','submit','Empty\x20history','_focusables','_createToolbar','insertButton','focus','Ask\x20AI\x20to\x20improve\x20generated\x20text','startProcessing','444195cRkDZc','Ask\x20AI\x20to\x20edit\x20or\x20generate','contentArea','ck-ai-form','9166482vaAVOU','replaceContent','delegate','tryAgainEvent','createCollection','insertContentBelow','locale','REPLACE','shift\x20+\x20tab','items','execute','errorView','historyGroupView','keystrokes','set','fire','chain','clear','_createHistoryView','76207QOldOX','add','queryView','clearHistory','handleError','_promptHistory','focusLast','4903488UpFWnr','prompt','bindTemplate','focusFirst','copyButtonView','focusTracker','label','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','submitPrompt','2372810MEUKZL','_createPromptView'];_0x587f=function(){return _0x4d1a49;};return _0x587f();}import _0x5eca68,{AIFormToolbarViewMainActionLabel as _0x3d8b51}from'./aiformtoolbarview.js';import _0xeebed7 from'./aiformcontentarea.js';import _0x1da91f from'./aiformerrorview.js';import _0x17d4b2 from'./aiformpromptview.js';import _0x110856 from'./aihistorylistview.js';import _0x172591 from'./aihistorylistitemview.js';import _0x56b255 from'./prompthistory.js';import{getTranslation as _0x1199b8}from'../../utils/common-translations.js';import{escape as _0x1ee207}from'lodash-es';export default class v extends _0x2d6e1d{constructor(_0x20ac1b,_0x5ba9c0,_0x5706ae=''){const _0x1a34dd=_0x8165;super(_0x20ac1b),this[_0x1a34dd(0xf7)](_0x1a34dd(0x10e),!0x0),this[_0x1a34dd(0xf7)](_0x1a34dd(0x130),!0x1),this[_0x1a34dd(0xf7)](_0x1a34dd(0x104),''),this[_0x1a34dd(0xf7)](_0x1a34dd(0x12b),''),this[_0x1a34dd(0xf7)](_0x1a34dd(0x11d),!0x1),this[_0x1a34dd(0xf7)](_0x1a34dd(0x11f),_0x3d8b51[_0x1a34dd(0xf0)]),this[_0x1a34dd(0x101)]=new _0x56b255(),this[_0x1a34dd(0xf4)]=new _0x1da91f(_0x20ac1b),this[_0x1a34dd(0x13b)]=new _0xeebed7(_0x20ac1b,_0x5706ae),this[_0x1a34dd(0x13b)][_0x1a34dd(0x115)](_0x1a34dd(0x130))['to'](this),this[_0x1a34dd(0x13b)][_0x1a34dd(0x115)](_0x1a34dd(0x12b))['to'](this),this[_0x1a34dd(0x122)]=this[_0x1a34dd(0x134)](),this[_0x1a34dd(0x122)][_0x1a34dd(0x115)](_0x1a34dd(0x11f))['to'](this),this[_0x1a34dd(0x113)]=this[_0x1a34dd(0x10d)](),this[_0x1a34dd(0x108)]=new _0x2b3e40(),this[_0x1a34dd(0xf6)]=new _0x3d10c1(),this[_0x1a34dd(0x133)]=this[_0x1a34dd(0xed)]([this[_0x1a34dd(0x13b)],this[_0x1a34dd(0x13b)][_0x1a34dd(0x107)],this[_0x1a34dd(0x122)],this[_0x1a34dd(0x113)]]),this[_0x1a34dd(0x12a)]=new _0x132a09({'focusables':this[_0x1a34dd(0x133)],'focusTracker':this[_0x1a34dd(0x108)],'keystrokeHandler':this[_0x1a34dd(0xf6)],'actions':{'focusPrevious':_0x1a34dd(0xf1),'focusNext':_0x1a34dd(0x12e)}}),this[_0x1a34dd(0x12a)][_0x1a34dd(0xf9)](this[_0x1a34dd(0x113)][_0x1a34dd(0x12a)]),this[_0x1a34dd(0x113)][_0x1a34dd(0xfe)][_0x1a34dd(0x118)][_0x1a34dd(0x115)](_0x1a34dd(0x12b))['to'](this,_0x1a34dd(0x104));const _0x587551=this[_0x1a34dd(0x105)];this[_0x1a34dd(0x110)]({'tag':_0x1a34dd(0x11c),'attributes':{'class':['ck',_0x1a34dd(0xe8),_0x5ba9c0],'tabindex':'-1'},'children':[{'tag':_0x1a34dd(0x11c),'attributes':{'class':['ck',_0x1a34dd(0x126)]},'children':[{'tag':_0x1a34dd(0x11c),'attributes':{'class':[_0x587551['if'](_0x1a34dd(0x11d),_0x1a34dd(0x112),_0x501967=>!_0x501967)]},'children':[this[_0x1a34dd(0xf4)]]},this[_0x1a34dd(0x13b)],this[_0x1a34dd(0x122)],this[_0x1a34dd(0x113)]]}]});}[_0xf192f3(0x121)](){const _0xb49f79=_0xf192f3;super[_0xb49f79(0x121)](),this[_0xb49f79(0x108)][_0xb49f79(0xfd)](this[_0xb49f79(0x13b)][_0xb49f79(0x129)]),this[_0xb49f79(0x108)][_0xb49f79(0xfd)](this[_0xb49f79(0x13b)][_0xb49f79(0x107)][_0xb49f79(0x129)]),this[_0xb49f79(0x108)][_0xb49f79(0xfd)](this[_0xb49f79(0x122)][_0xb49f79(0x129)]),this[_0xb49f79(0x108)][_0xb49f79(0xfd)](this[_0xb49f79(0x113)][_0xb49f79(0x129)]),this[_0xb49f79(0xf6)][_0xb49f79(0x124)](this[_0xb49f79(0x129)]);}[_0xf192f3(0x136)](_0x19613f=0x1){const _0x3df7c8=_0xf192f3;-0x1===_0x19613f?this[_0x3df7c8(0x12a)][_0x3df7c8(0x102)]():this[_0x3df7c8(0x12a)][_0x3df7c8(0x106)]();}[_0xf192f3(0x116)](){const _0x22c7e4=_0xf192f3;this[_0x22c7e4(0x104)]='',this[_0x22c7e4(0x12b)]='',this[_0x22c7e4(0x11d)]=!0x1,this[_0x22c7e4(0x113)][_0x22c7e4(0x116)](),this[_0x22c7e4(0x13b)][_0x22c7e4(0x128)]=!0x1,this[_0x22c7e4(0x122)][_0x22c7e4(0x128)]=!0x1;}[_0xf192f3(0x10d)](){const _0x49f710=_0xf192f3,_0x159285=this[_0x49f710(0xef)],_0x5c7261=new _0x17d4b2(_0x159285,{'queryView':{'label':_0x1199b8(_0x159285,_0x49f710(0x13a)),'creator':_0x17fa09,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1199b8(_0x159285,_0x49f710(0x132)),'secondary':_0x1199b8(_0x159285,_0x49f710(0x10a))}}},'filteredView':this[_0x49f710(0xfb)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5c7261[_0x49f710(0x115)](_0x49f710(0x10e))['to'](this,_0x49f710(0x10e),this,_0x49f710(0x130),(_0x1b0af1,_0x12c8a5)=>_0x1b0af1&&!_0x12c8a5),this[_0x49f710(0x124)](_0x5c7261,_0x49f710(0x131),(_0x33e9bb,_0x4a0f81)=>{const _0x4a2c64=_0x49f710;this[_0x4a2c64(0x104)]=_0x4a0f81;const _0x3d557e=_0x1ee207(_0x4a0f81);this[_0x4a2c64(0xf8)](_0x4a2c64(0x10b),_0x3d557e),_0x4a0f81[_0x4a2c64(0x117)]()&&this[_0x4a2c64(0x101)][_0x4a2c64(0xfd)]({'prompt':_0x3d557e},0x0);},{'priority':_0x49f710(0x127)}),_0x5c7261;}[_0xf192f3(0xfb)](){const _0x31b38b=_0xf192f3,_0x29b85f=new _0x110856(this[_0x31b38b(0xef)]);return _0x29b85f[_0x31b38b(0xf5)][_0x31b38b(0xf2)][_0x31b38b(0x11e)](this[_0x31b38b(0x101)])['as'](_0x172591),_0x29b85f['on'](_0x31b38b(0xff),()=>{const _0x1d940c=_0x31b38b;this[_0x1d940c(0x101)][_0x1d940c(0xfa)](),this[_0x1d940c(0x113)][_0x1d940c(0x11a)](''),this[_0x1d940c(0x113)][_0x1d940c(0x136)]();}),_0x29b85f;}[_0xf192f3(0x134)](){const _0x2fd2b1=_0xf192f3,_0x344d59=new _0x5eca68(this[_0x2fd2b1(0xef)]);return _0x344d59[_0x2fd2b1(0x10f)][_0x2fd2b1(0x115)](_0x2fd2b1(0x10e))['to'](this,_0x2fd2b1(0x10e),this,_0x2fd2b1(0x130),this,_0x2fd2b1(0x12b),(_0x11fa87,_0x1c5ea8,_0xd477de)=>_0x11fa87&&!_0x1c5ea8&&!!_0xd477de),_0x344d59[_0x2fd2b1(0x10f)][_0x2fd2b1(0xeb)](_0x2fd2b1(0xf3))['to'](this,_0x2fd2b1(0xea)),_0x344d59[_0x2fd2b1(0x135)][_0x2fd2b1(0x115)](_0x2fd2b1(0x10e))['to'](this,_0x2fd2b1(0x10e),this,_0x2fd2b1(0x130),this,_0x2fd2b1(0x12b),(_0x1c3ae1,_0x363c13,_0x3eff1d)=>_0x1c3ae1&&!_0x363c13&&!!_0x3eff1d),_0x344d59[_0x2fd2b1(0x135)][_0x2fd2b1(0xeb)](_0x2fd2b1(0xf3))['to'](this,_0x2fd2b1(0xee)),_0x344d59[_0x2fd2b1(0x120)][_0x2fd2b1(0x115)](_0x2fd2b1(0x10e))['to'](this,_0x2fd2b1(0x10e),this,_0x2fd2b1(0x130),(_0x163dd4,_0x4f2852)=>_0x163dd4&&!_0x4f2852),_0x344d59[_0x2fd2b1(0x120)][_0x2fd2b1(0xeb)](_0x2fd2b1(0xf3))['to'](this,_0x2fd2b1(0xec)),_0x344d59[_0x2fd2b1(0x12d)][_0x2fd2b1(0x115)](_0x2fd2b1(0x10e))['to'](this,_0x2fd2b1(0x130)),_0x344d59[_0x2fd2b1(0x12d)][_0x2fd2b1(0xeb)](_0x2fd2b1(0xf3))['to'](this,_0x2fd2b1(0x11b)),_0x344d59;}[_0xf192f3(0x138)](){const _0x2421e2=_0xf192f3;this[_0x2421e2(0x12b)]='',this[_0x2421e2(0x11d)]=!0x1,this[_0x2421e2(0x130)]=!0x0,this[_0x2421e2(0x13b)][_0x2421e2(0x128)]=!0x0,this[_0x2421e2(0x122)][_0x2421e2(0x128)]=!0x0,this[_0x2421e2(0x13b)][_0x2421e2(0x136)]();}[_0xf192f3(0x111)](){const _0x53b3d9=_0xf192f3,_0x5ee1e5=this[_0x53b3d9(0xef)];this[_0x53b3d9(0x130)]=!0x1,this[_0x53b3d9(0x104)]='',this[_0x53b3d9(0x113)][_0x53b3d9(0x116)](),this[_0x53b3d9(0x12b)]&&(this[_0x53b3d9(0x113)][_0x53b3d9(0xfe)][_0x53b3d9(0x109)]=_0x1199b8(_0x5ee1e5,_0x53b3d9(0x137)));}[_0xf192f3(0x100)](_0x50f4da){const _0x546d22=_0xf192f3,_0xf02cd6=this[_0x546d22(0xef)];this[_0x546d22(0x111)](),this[_0x546d22(0x11d)]=!0x0,this[_0x546d22(0xf4)][_0x546d22(0x12c)]=_0x50f4da||_0x1199b8(_0xf02cd6,_0x546d22(0x119)),this[_0x546d22(0x12b)]||(this[_0x546d22(0x13b)][_0x546d22(0x128)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe1e4(){const _0x1fffc2=['fire','locale','execute','2259kliQkD','306040SjSjab','74815mFBhwp','children','1063848VMaOOZ','148545awMUwD','534115wHcOCJ','prompt','set','1154CgSqbg','8TQiDBl','add','1031310WXDaFj'];_0xe1e4=function(){return _0x1fffc2;};return _0xe1e4();}(function(_0x6a9213,_0x41a4c3){const _0x46765a=_0x5c70,_0x5f17ea=_0x6a9213();while(!![]){try{const _0x5a612f=parseInt(_0x46765a(0x1a4))/0x1+parseInt(_0x46765a(0x19b))/0x2*(-parseInt(_0x46765a(0x1a2))/0x3)+parseInt(_0x46765a(0x1a6))/0x4+parseInt(_0x46765a(0x198))/0x5+parseInt(_0x46765a(0x19e))/0x6+parseInt(_0x46765a(0x1a3))/0x7*(parseInt(_0x46765a(0x19c))/0x8)+parseInt(_0x46765a(0x1a7))/0x9;if(_0x5a612f===_0x41a4c3)break;else _0x5f17ea['push'](_0x5f17ea['shift']());}catch(_0x221e4c){_0x5f17ea['push'](_0x5f17ea['shift']());}}}(_0xe1e4,0x3bded));function _0x5c70(_0xaff53e,_0xe478e1){const _0xe1e4b9=_0xe1e4();return _0x5c70=function(_0x5c70c3,_0x2929ef){_0x5c70c3=_0x5c70c3-0x198;let _0x4089e2=_0xe1e4b9[_0x5c70c3];return _0x4089e2;},_0x5c70(_0xaff53e,_0xe478e1);}import{ListItemView as _0x27daff,ButtonView as _0x177a6d,ButtonLabelView as _0x5dedef}from'ckeditor5/src/ui.js';import{unescape as _0x76a303}from'lodash-es';export default class hs extends _0x27daff{constructor(_0x1f60e1){const _0x19005f=_0x5c70;super();const _0x3262d9=new _0x5dedef(),_0x429b20=new _0x177a6d(this[_0x19005f(0x1a0)],_0x3262d9);this[_0x19005f(0x1a5)][_0x19005f(0x19d)](_0x429b20),_0x429b20[_0x19005f(0x19a)]({'label':_0x1f60e1[_0x19005f(0x199)],'withText':!0x0}),_0x429b20['on'](_0x19005f(0x1a1),()=>{const _0x132942=_0x19005f;this[_0x132942(0x19f)](_0x132942(0x1a1),{'value':_0x76a303(_0x1f60e1[_0x132942(0x199)])});});}}
23
+ function _0x465a(){const _0x1110b6=['6901480QQVmRZ','7001455VyBMEs','4426142gYzipo','add','4RMzLeU','fire','3113682tVBzuW','locale','1413246bhXfHu','prompt','1132MGfyIn','1121XYpYjo','execute','252828ENAUMo','children','set','500YtMZop'];_0x465a=function(){return _0x1110b6;};return _0x465a();}(function(_0x57ee03,_0x3d9676){const _0x18481e=_0x5f19,_0x1e8cac=_0x57ee03();while(!![]){try{const _0x397b3e=parseInt(_0x18481e(0xba))/0x1*(-parseInt(_0x18481e(0xb9))/0x2)+-parseInt(_0x18481e(0xb7))/0x3+parseInt(_0x18481e(0xb3))/0x4*(parseInt(_0x18481e(0xc1))/0x5)+parseInt(_0x18481e(0xb5))/0x6+-parseInt(_0x18481e(0xb1))/0x7+-parseInt(_0x18481e(0xc0))/0x8+parseInt(_0x18481e(0xbc))/0x9*(parseInt(_0x18481e(0xbf))/0xa);if(_0x397b3e===_0x3d9676)break;else _0x1e8cac['push'](_0x1e8cac['shift']());}catch(_0x99469a){_0x1e8cac['push'](_0x1e8cac['shift']());}}}(_0x465a,0xb094f));import{ListItemView as _0x259424,ButtonView as _0x130ffe,ButtonLabelView as _0x42867d}from'ckeditor5/src/ui.js';import{unescape as _0x20fc9b}from'lodash-es';function _0x5f19(_0x2763fc,_0x2b429d){const _0x465af2=_0x465a();return _0x5f19=function(_0x5f1960,_0x5c5534){_0x5f1960=_0x5f1960-0xb1;let _0x33cb79=_0x465af2[_0x5f1960];return _0x33cb79;},_0x5f19(_0x2763fc,_0x2b429d);}export default class hs extends _0x259424{constructor(_0x559e29){const _0x4dcb45=_0x5f19;super();const _0x570b13=new _0x42867d(),_0x577232=new _0x130ffe(this[_0x4dcb45(0xb6)],_0x570b13);this[_0x4dcb45(0xbd)][_0x4dcb45(0xb2)](_0x577232),_0x577232[_0x4dcb45(0xbe)]({'label':_0x559e29[_0x4dcb45(0xb8)],'withText':!0x0}),_0x577232['on'](_0x4dcb45(0xbb),()=>{const _0x263f12=_0x4dcb45;this[_0x263f12(0xb4)](_0x263f12(0xbb),{'value':_0x20fc9b(_0x559e29[_0x263f12(0xb8)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d1a43=_0x4ebf;(function(_0x19bd17,_0x5b77cc){const _0x3d8957=_0x4ebf,_0x5b351f=_0x19bd17();while(!![]){try{const _0x2745e2=-parseInt(_0x3d8957(0x189))/0x1*(-parseInt(_0x3d8957(0x17f))/0x2)+-parseInt(_0x3d8957(0x197))/0x3+parseInt(_0x3d8957(0x186))/0x4*(parseInt(_0x3d8957(0x18f))/0x5)+parseInt(_0x3d8957(0x182))/0x6*(-parseInt(_0x3d8957(0x188))/0x7)+-parseInt(_0x3d8957(0x183))/0x8*(-parseInt(_0x3d8957(0x195))/0x9)+-parseInt(_0x3d8957(0x191))/0xa+-parseInt(_0x3d8957(0x18b))/0xb*(-parseInt(_0x3d8957(0x192))/0xc);if(_0x2745e2===_0x5b77cc)break;else _0x5b351f['push'](_0x5b351f['shift']());}catch(_0x443aa7){_0x5b351f['push'](_0x5b351f['shift']());}}}(_0x307c,0x2adfa));import{ListView as _0x1a3402,ListItemGroupView as _0x162ea1,ButtonView as _0x193efc}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b97e5}from'../../utils/common-translations.js';export default class rs extends _0x1a3402{constructor(_0x152bb6){const _0x259972=_0x4ebf;super(_0x152bb6),this[_0x259972(0x194)]=this[_0x259972(0x17c)](),this[_0x259972(0x196)]=new _0x162ea1(),this[_0x259972(0x196)][_0x259972(0x17d)][_0x259972(0x17b)](this[_0x259972(0x194)],0x1),this[_0x259972(0x196)][_0x259972(0x18c)]=_0x3b97e5(_0x152bb6,_0x259972(0x181)),this[_0x259972(0x196)][_0x259972(0x190)][_0x259972(0x187)](_0x259972(0x18d))['to'](this),this[_0x259972(0x190)][_0x259972(0x17b)](this[_0x259972(0x196)]);}[_0x4d1a43(0x180)](){const _0x2b0db3=_0x4d1a43;let _0x3df20a=0x0;for(const _0x55e7a0 of this[_0x2b0db3(0x190)])_0x3df20a+=_0x55e7a0[_0x2b0db3(0x190)][_0x2b0db3(0x18a)];return{'resultsCount':_0x3df20a,'totalItemsCount':_0x3df20a};}[_0x4d1a43(0x17c)](){const _0x503ca9=_0x4d1a43,_0x2b0ba9=this[_0x503ca9(0x17e)],_0x3b617f=new _0x193efc(this[_0x503ca9(0x17e)]);return _0x3b617f[_0x503ca9(0x184)]({'label':'('+_0x3b97e5(_0x2b0ba9,_0x503ca9(0x193))+')','withText':!0x0}),_0x3b617f['on'](_0x503ca9(0x18d),()=>this[_0x503ca9(0x185)](_0x503ca9(0x18e))),_0x3b617f;}}function _0x4ebf(_0x1d66fe,_0x56f1b1){const _0x307c89=_0x307c();return _0x4ebf=function(_0x4ebfca,_0x4ddbca){_0x4ebfca=_0x4ebfca-0x17b;let _0x3484d0=_0x307c89[_0x4ebfca];return _0x3484d0;},_0x4ebf(_0x1d66fe,_0x56f1b1);}function _0x307c(){const _0x1144da=['4dwXfsy','filter','Prompt\x20history','1951578RseuCd','1736GEHWmw','set','fire','1824iBkySx','delegate','7NEHsMY','98607wIOKYc','length','11etwKgV','label','execute','clearHistory','70KbVUQq','items','724420uquvsx','2493396FKLqvn','Clear','clearHistoryButton','11151YoMkGc','historyGroupView','320787arCjdK','add','_createClearHistoryButton','children','locale'];_0x307c=function(){return _0x1144da;};return _0x307c();}
23
+ const _0x451dbd=_0x2215;(function(_0xaae2a8,_0x25c656){const _0x187d94=_0x2215,_0x3306dd=_0xaae2a8();while(!![]){try{const _0x1bcedb=-parseInt(_0x187d94(0x17f))/0x1+-parseInt(_0x187d94(0x170))/0x2*(-parseInt(_0x187d94(0x16f))/0x3)+-parseInt(_0x187d94(0x172))/0x4*(-parseInt(_0x187d94(0x17d))/0x5)+parseInt(_0x187d94(0x16e))/0x6*(-parseInt(_0x187d94(0x181))/0x7)+parseInt(_0x187d94(0x171))/0x8+parseInt(_0x187d94(0x175))/0x9+parseInt(_0x187d94(0x178))/0xa*(parseInt(_0x187d94(0x173))/0xb);if(_0x1bcedb===_0x25c656)break;else _0x3306dd['push'](_0x3306dd['shift']());}catch(_0x5de12d){_0x3306dd['push'](_0x3306dd['shift']());}}}(_0x484f,0x4c377));import{ListView as _0x585842,ListItemGroupView as _0x13fc6d,ButtonView as _0xefba1c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5056d7}from'../../utils/common-translations.js';function _0x2215(_0xf2d933,_0x4381f6){const _0x484f9e=_0x484f();return _0x2215=function(_0x22150b,_0x5ba0c4){_0x22150b=_0x22150b-0x167;let _0x21e079=_0x484f9e[_0x22150b];return _0x21e079;},_0x2215(_0xf2d933,_0x4381f6);}export default class rs extends _0x585842{constructor(_0x102cd9){const _0x489765=_0x2215;super(_0x102cd9),this[_0x489765(0x16a)]=this[_0x489765(0x176)](),this[_0x489765(0x17e)]=new _0x13fc6d(),this[_0x489765(0x17e)][_0x489765(0x182)][_0x489765(0x179)](this[_0x489765(0x16a)],0x1),this[_0x489765(0x17e)][_0x489765(0x16d)]=_0x5056d7(_0x102cd9,_0x489765(0x180)),this[_0x489765(0x17e)][_0x489765(0x174)][_0x489765(0x168)](_0x489765(0x169))['to'](this),this[_0x489765(0x174)][_0x489765(0x179)](this[_0x489765(0x17e)]);}[_0x451dbd(0x17c)](){const _0x3f43a2=_0x451dbd;let _0x44ed3d=0x0;for(const _0x358fe9 of this[_0x3f43a2(0x174)])_0x44ed3d+=_0x358fe9[_0x3f43a2(0x174)][_0x3f43a2(0x17a)];return{'resultsCount':_0x44ed3d,'totalItemsCount':_0x44ed3d};}[_0x451dbd(0x176)](){const _0x4d36fa=_0x451dbd,_0x4cee24=this[_0x4d36fa(0x17b)],_0x3e155d=new _0xefba1c(this[_0x4d36fa(0x17b)]);return _0x3e155d[_0x4d36fa(0x177)]({'label':'('+_0x5056d7(_0x4cee24,_0x4d36fa(0x16c))+')','withText':!0x0}),_0x3e155d['on'](_0x4d36fa(0x169),()=>this[_0x4d36fa(0x16b)](_0x4d36fa(0x167))),_0x3e155d;}}function _0x484f(){const _0x4ad9c7=['clearHistoryButton','fire','Clear','label','36GAhEKF','35859HVnbmq','8qONIxa','2536536lLJzSB','8MmAfRM','802219ZbiIov','items','553797zVXKIr','_createClearHistoryButton','set','10bSXUwQ','add','length','locale','filter','1530415sMHehP','historyGroupView','524872NHwYhu','Prompt\x20history','320194SgzZXz','children','clearHistory','delegate','execute'];_0x484f=function(){return _0x4ad9c7;};return _0x484f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57bca8=_0x1078;(function(_0xaa691e,_0x35cf4d){const _0x2869c6=_0x1078,_0x234127=_0xaa691e();while(!![]){try{const _0xcb4655=parseInt(_0x2869c6(0x171))/0x1+parseInt(_0x2869c6(0x16c))/0x2+-parseInt(_0x2869c6(0x168))/0x3+parseInt(_0x2869c6(0x16d))/0x4+parseInt(_0x2869c6(0x176))/0x5*(parseInt(_0x2869c6(0x179))/0x6)+parseInt(_0x2869c6(0x177))/0x7*(parseInt(_0x2869c6(0x16f))/0x8)+-parseInt(_0x2869c6(0x175))/0x9*(parseInt(_0x2869c6(0x163))/0xa);if(_0xcb4655===_0x35cf4d)break;else _0x234127['push'](_0x234127['shift']());}catch(_0x37b077){_0x234127['push'](_0x234127['shift']());}}}(_0x5afb,0xda884));import{Collection as _0x2f4a0e}from'ckeditor5/src/utils.js';function _0x5afb(){const _0x33d9d7=['51337KYjIUL','_saveToSessionStorage','_loadFromSessionStorage','addMany','3697533AFXWMU','855ezjYjt','7HhEhHv','getItem','31158ItvaAc','last','setItem','prompt','50GGoNFC','map','parse','add','length','605841BUlgOb','toLowerCase','CKEditor/AIFormView/PromptHistory','remove','985496TohWlb','5460836sxMEKz','stringify','2831544FYuUtK','trim'];_0x5afb=function(){return _0x33d9d7;};return _0x5afb();}function _0x1078(_0x2fc410,_0x3690a1){const _0x5afbfb=_0x5afb();return _0x1078=function(_0x10786d,_0x3a1e74){_0x10786d=_0x10786d-0x160;let _0x552612=_0x5afbfb[_0x10786d];return _0x552612;},_0x1078(_0x2fc410,_0x3690a1);}const cs=_0x57bca8(0x16a);export default class os extends _0x2f4a0e{constructor(){const _0x569bb2=_0x57bca8;super(),this[_0x569bb2(0x173)](),this['on'](_0x569bb2(0x166),(_0x36f1a7,_0x17fdb3)=>{const _0x84a2d6=_0x569bb2,_0x57f00c=Ss(_0x17fdb3[_0x84a2d6(0x162)]);for(const _0x538fd1 of this)if(_0x538fd1!=_0x17fdb3&&Ss(_0x538fd1[_0x84a2d6(0x162)])===_0x57f00c){this[_0x84a2d6(0x16b)](_0x538fd1);break;}this[_0x84a2d6(0x167)]>0x14&&this[_0x84a2d6(0x16b)](this[_0x84a2d6(0x160)]),this[_0x84a2d6(0x172)]();}),this['on'](_0x569bb2(0x16b),()=>{const _0x1611b3=_0x569bb2;this[_0x1611b3(0x172)]();});}[_0x57bca8(0x173)](){const _0x28393b=_0x57bca8,_0x3e9ea1=sessionStorage[_0x28393b(0x178)](cs)||'[]';this[_0x28393b(0x174)](JSON[_0x28393b(0x165)](_0x3e9ea1));}[_0x57bca8(0x172)](){const _0x15d66a=_0x57bca8;sessionStorage[_0x15d66a(0x161)](cs,JSON[_0x15d66a(0x16e)](this[_0x15d66a(0x164)](_0x545f37=>_0x545f37)));}}function Ss(_0x53c5c3){const _0xd6acca=_0x57bca8;return _0x53c5c3[_0xd6acca(0x169)]()[_0xd6acca(0x170)]();}
23
+ const _0x58328c=_0x310b;function _0x310b(_0xe89044,_0x274568){const _0x21b03c=_0x21b0();return _0x310b=function(_0x310b9d,_0x3102f3){_0x310b9d=_0x310b9d-0x19d;let _0x5b09d4=_0x21b03c[_0x310b9d];return _0x5b09d4;},_0x310b(_0xe89044,_0x274568);}(function(_0x4735e3,_0x477345){const _0x7ec4cd=_0x310b,_0x1f2baf=_0x4735e3();while(!![]){try{const _0x365359=parseInt(_0x7ec4cd(0x1b6))/0x1+parseInt(_0x7ec4cd(0x1aa))/0x2+parseInt(_0x7ec4cd(0x1b2))/0x3*(-parseInt(_0x7ec4cd(0x1a1))/0x4)+parseInt(_0x7ec4cd(0x1ae))/0x5*(parseInt(_0x7ec4cd(0x1a3))/0x6)+parseInt(_0x7ec4cd(0x1ac))/0x7*(-parseInt(_0x7ec4cd(0x19f))/0x8)+parseInt(_0x7ec4cd(0x1a7))/0x9+parseInt(_0x7ec4cd(0x1a8))/0xa;if(_0x365359===_0x477345)break;else _0x1f2baf['push'](_0x1f2baf['shift']());}catch(_0x4ebee5){_0x1f2baf['push'](_0x1f2baf['shift']());}}}(_0x21b0,0x9804e));import{Collection as _0x12aebb}from'ckeditor5/src/utils.js';function _0x21b0(){const _0x5548a6=['923467CWArYU','parse','_saveToSessionStorage','493512HKpOHk','addMany','31560QPfmXp','CKEditor/AIFormView/PromptHistory','30zDGMOr','remove','getItem','add','871614vqgocz','1990900btPfKQ','length','404888zzxgwo','map','126aOURuQ','trim','540035KzKWlC','stringify','last','toLowerCase','87LVlloZ','prompt','setItem','_loadFromSessionStorage'];_0x21b0=function(){return _0x5548a6;};return _0x21b0();}const cs=_0x58328c(0x1a2);export default class os extends _0x12aebb{constructor(){const _0x514754=_0x58328c;super(),this[_0x514754(0x1b5)](),this['on'](_0x514754(0x1a6),(_0x178086,_0x3d9438)=>{const _0x508c7a=_0x514754,_0x4c9220=Ss(_0x3d9438[_0x508c7a(0x1b3)]);for(const _0x4623b1 of this)if(_0x4623b1!=_0x3d9438&&Ss(_0x4623b1[_0x508c7a(0x1b3)])===_0x4c9220){this[_0x508c7a(0x1a4)](_0x4623b1);break;}this[_0x508c7a(0x1a9)]>0x14&&this[_0x508c7a(0x1a4)](this[_0x508c7a(0x1b0)]),this[_0x508c7a(0x19e)]();}),this['on'](_0x514754(0x1a4),()=>{const _0x508ed7=_0x514754;this[_0x508ed7(0x19e)]();});}[_0x58328c(0x1b5)](){const _0x8ca949=_0x58328c,_0x213567=sessionStorage[_0x8ca949(0x1a5)](cs)||'[]';this[_0x8ca949(0x1a0)](JSON[_0x8ca949(0x19d)](_0x213567));}[_0x58328c(0x19e)](){const _0x354537=_0x58328c;sessionStorage[_0x354537(0x1b4)](cs,JSON[_0x354537(0x1af)](this[_0x354537(0x1ab)](_0x426a9d=>_0x426a9d)));}}function Ss(_0x42819b){const _0x154977=_0x58328c;return _0x42819b[_0x154977(0x1b1)]()[_0x154977(0x1ad)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x292368=_0x19e5;(function(_0x1c4944,_0x2ebebe){const _0x4f1dc0=_0x19e5,_0x953fc1=_0x1c4944();while(!![]){try{const _0x514851=parseInt(_0x4f1dc0(0x1da))/0x1*(-parseInt(_0x4f1dc0(0x1dd))/0x2)+-parseInt(_0x4f1dc0(0x1d1))/0x3+-parseInt(_0x4f1dc0(0x1d8))/0x4*(-parseInt(_0x4f1dc0(0x1e2))/0x5)+-parseInt(_0x4f1dc0(0x1d4))/0x6+-parseInt(_0x4f1dc0(0x1ce))/0x7+-parseInt(_0x4f1dc0(0x1db))/0x8*(parseInt(_0x4f1dc0(0x1d5))/0x9)+parseInt(_0x4f1dc0(0x1e7))/0xa*(parseInt(_0x4f1dc0(0x1e5))/0xb);if(_0x514851===_0x2ebebe)break;else _0x953fc1['push'](_0x953fc1['shift']());}catch(_0x21ae48){_0x953fc1['push'](_0x953fc1['shift']());}}}(_0xa35c,0xaedf1));import{Command as _0x51a6dd}from'ckeditor5/src/core.js';import _0x1e1969 from'../aiassistantui.js';function _0xa35c(){const _0x297ce0=['includes','isCollapsed','317865xiPrUA','model','length','8219064OKqkHa','1926441TTjAXk','refresh','change:isEnabled','4VSZFYG','isEmpty','331bHUHKB','16qVAKdb','ai.aiAssistant.disabledElements','3810IJQibr','get','getFirstRange','add','editor','2054985erGvHO','hasContent','set','3451085AFeNuw','from','130NNCDbC','values','config','name','getItems','execute','plugins','showUI','getSelectedBlocks','custom','element','document','requiresContent','enabledCommandsIds','_hasContext','getRanges','change:_hasContext','isEnabled','selection','_commandDefinitions','8671789LTILGs'];_0xa35c=function(){return _0x297ce0;};return _0xa35c();}function _0x19e5(_0x27b2fe,_0x1c571){const _0xa35cc3=_0xa35c();return _0x19e5=function(_0x19e542,_0x3af0cd){_0x19e542=_0x19e542-0x1cd;let _0x2f47cc=_0xa35cc3[_0x19e542];return _0x2f47cc;},_0x19e5(_0x27b2fe,_0x1c571);}export default class C extends _0x51a6dd{constructor(_0xc5ef,_0x525ece){const _0x1d6338=_0x19e5;super(_0xc5ef),this[_0x1d6338(0x1cd)]=_0x525ece,this[_0x1d6338(0x1e4)](_0x1d6338(0x1f4),[]),this['on'](_0x1d6338(0x1f7),(_0x2de3b8,_0x1916cc,_0xcff1b2)=>{const _0xe7e590=_0x1d6338;this[_0xe7e590(0x1f8)]&&(this[_0xe7e590(0x1f4)]=F(this[_0xe7e590(0x1cd)],_0xcff1b2));}),this[_0x1d6338(0x1e4)](_0x1d6338(0x1f5),!0x1),this['on'](_0x1d6338(0x1d7),(_0x1bcfe4,_0x2ae978,_0x29a7e3)=>{const _0x32c290=_0x1d6338;this[_0x32c290(0x1f4)]=_0x29a7e3?F(this[_0x32c290(0x1cd)],this[_0x32c290(0x1f5)]):[];});}[_0x292368(0x1d6)](){const _0x58d923=_0x292368,_0x1b926a=this[_0x58d923(0x1e1)][_0x58d923(0x1d2)];this[_0x58d923(0x1f5)]=function(_0x4d5886){const _0x33ea00=_0x58d923,_0x1f14ec=_0x4d5886[_0x33ea00(0x1f2)][_0x33ea00(0x1f9)];return _0x1f14ec[_0x33ea00(0x1d0)]?0x0!==[..._0x1f14ec[_0x33ea00(0x1ef)]()][_0x33ea00(0x1d3)]&&![..._0x1f14ec[_0x33ea00(0x1ef)]()][0x0][_0x33ea00(0x1d9)]:!!_0x4d5886[_0x33ea00(0x1e3)](_0x1f14ec[_0x33ea00(0x1df)]());}(_0x1b926a);const _0xc2c3d9=_0x1b926a[_0x58d923(0x1f2)][_0x58d923(0x1f9)],_0x39dbd3=this[_0x58d923(0x1e1)][_0x58d923(0x1e9)][_0x58d923(0x1de)](_0x58d923(0x1dc));for(const _0x523ec8 of _0xc2c3d9[_0x58d923(0x1f6)]())for(const _0x512b30 of _0x523ec8[_0x58d923(0x1eb)]())if(_0x512b30['is'](_0x58d923(0x1f1))&&_0x39dbd3[_0x58d923(0x1cf)](_0x512b30[_0x58d923(0x1ea)]))return void(this[_0x58d923(0x1f8)]=!0x1);this[_0x58d923(0x1f8)]=!0x0;}[_0x292368(0x1ec)](_0x481854='',_0x4a7837='',_0x5d4846=_0x292368(0x1f0)){const _0x4e09c6=_0x292368;this[_0x4e09c6(0x1e1)][_0x4e09c6(0x1ed)][_0x4e09c6(0x1de)](_0x1e1969)[_0x4e09c6(0x1ee)](_0x481854,_0x4a7837,_0x5d4846);}}function F(_0x545ace,_0x4f03fb){const _0x1670b7=_0x292368,_0x42052d=new Set();for(const _0x101206 of _0x545ace[_0x1670b7(0x1e8)]())(_0x4f03fb||!0x1===_0x101206[_0x1670b7(0x1f3)])&&_0x42052d[_0x1670b7(0x1e0)](_0x101206['id']);return Array[_0x1670b7(0x1e6)](_0x42052d);}
23
+ const _0x5bad2e=_0x1fcd;(function(_0x59aae8,_0xd4e04b){const _0x3099b2=_0x1fcd,_0x37fc1a=_0x59aae8();while(!![]){try{const _0x86eb6=-parseInt(_0x3099b2(0xb9))/0x1+parseInt(_0x3099b2(0xa9))/0x2*(-parseInt(_0x3099b2(0x97))/0x3)+parseInt(_0x3099b2(0x96))/0x4+parseInt(_0x3099b2(0xba))/0x5*(-parseInt(_0x3099b2(0xb3))/0x6)+-parseInt(_0x3099b2(0x92))/0x7*(parseInt(_0x3099b2(0xb0))/0x8)+-parseInt(_0x3099b2(0xb8))/0x9*(parseInt(_0x3099b2(0xaa))/0xa)+parseInt(_0x3099b2(0x91))/0xb;if(_0x86eb6===_0xd4e04b)break;else _0x37fc1a['push'](_0x37fc1a['shift']());}catch(_0x1ea070){_0x37fc1a['push'](_0x37fc1a['shift']());}}}(_0x474b,0x51964));import{Command as _0x4f5738}from'ckeditor5/src/core.js';function _0x1fcd(_0x53f57f,_0x2c882d){const _0x474b9b=_0x474b();return _0x1fcd=function(_0x1fcd77,_0x296920){_0x1fcd77=_0x1fcd77-0x90;let _0x455808=_0x474b9b[_0x1fcd77];return _0x455808;},_0x1fcd(_0x53f57f,_0x2c882d);}import _0x2e82c7 from'../aiassistantui.js';export default class C extends _0x4f5738{constructor(_0x3b1c28,_0x507009){const _0x3ab390=_0x1fcd;super(_0x3b1c28),this[_0x3ab390(0x98)]=_0x507009,this[_0x3ab390(0x90)](_0x3ab390(0xa4),[]),this['on'](_0x3ab390(0x95),(_0x4596e0,_0x2c6f4c,_0x47c85e)=>{const _0x238d92=_0x3ab390;this[_0x238d92(0xbb)]&&(this[_0x238d92(0xa4)]=F(this[_0x238d92(0x98)],_0x47c85e));}),this[_0x3ab390(0x90)](_0x3ab390(0xb1),!0x1),this['on'](_0x3ab390(0x9f),(_0x179349,_0x468325,_0x46ba21)=>{const _0x3352f0=_0x3ab390;this[_0x3352f0(0xa4)]=_0x46ba21?F(this[_0x3352f0(0x98)],this[_0x3352f0(0xb1)]):[];});}[_0x5bad2e(0x93)](){const _0x1a4493=_0x5bad2e,_0x2918de=this[_0x1a4493(0x94)][_0x1a4493(0xa3)];this[_0x1a4493(0xb1)]=function(_0x18a00f){const _0x52b247=_0x1a4493,_0x3ed0e7=_0x18a00f[_0x52b247(0xac)][_0x52b247(0x99)];return _0x3ed0e7[_0x52b247(0xb6)]?0x0!==[..._0x3ed0e7[_0x52b247(0x9e)]()][_0x52b247(0x9a)]&&![..._0x3ed0e7[_0x52b247(0x9e)]()][0x0][_0x52b247(0xa7)]:!!_0x18a00f[_0x52b247(0xb7)](_0x3ed0e7[_0x52b247(0xa1)]());}(_0x2918de);const _0xcc33ac=_0x2918de[_0x1a4493(0xac)][_0x1a4493(0x99)],_0x2606d5=this[_0x1a4493(0x94)][_0x1a4493(0xa2)][_0x1a4493(0xa6)](_0x1a4493(0xb2));for(const _0x25b791 of _0xcc33ac[_0x1a4493(0xb4)]())for(const _0x1edaf1 of _0x25b791[_0x1a4493(0xab)]())if(_0x1edaf1['is'](_0x1a4493(0xa5))&&_0x2606d5[_0x1a4493(0xa0)](_0x1edaf1[_0x1a4493(0xae)]))return void(this[_0x1a4493(0xbb)]=!0x1);this[_0x1a4493(0xbb)]=!0x0;}[_0x5bad2e(0xbc)](_0x9bae00='',_0x19ad9b='',_0x3d5d01=_0x5bad2e(0xad)){const _0x589f20=_0x5bad2e;this[_0x589f20(0x94)][_0x589f20(0x9b)][_0x589f20(0xa6)](_0x2e82c7)[_0x589f20(0xaf)](_0x9bae00,_0x19ad9b,_0x3d5d01);}}function _0x474b(){const _0xce5728=['from','1378yipRpP','26310QwBRYF','getItems','document','custom','name','showUI','4120gyddJe','_hasContext','ai.aiAssistant.disabledElements','6YyjkXe','getRanges','add','isCollapsed','hasContent','1962hlGWTi','503434wNKRSz','619595PkMPfo','isEnabled','execute','set','22264913uVtWml','3941WQTVnK','refresh','editor','change:_hasContext','60928BfZJjj','933bXOPmD','_commandDefinitions','selection','length','plugins','values','requiresContent','getSelectedBlocks','change:isEnabled','includes','getFirstRange','config','model','enabledCommandsIds','element','get','isEmpty'];_0x474b=function(){return _0xce5728;};return _0x474b();}function F(_0x233c46,_0x59de9a){const _0x3931c9=_0x5bad2e,_0x543527=new Set();for(const _0x1d5159 of _0x233c46[_0x3931c9(0x9c)]())(_0x59de9a||!0x1===_0x1d5159[_0x3931c9(0x9d)])&&_0x543527[_0x3931c9(0xb5)](_0x1d5159['id']);return Array[_0x3931c9(0xa8)](_0x543527);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3dce51,_0x2a4801,_0x21962f){const t=_0x3dce51['t'];switch(_0x2a4801){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'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',_0x21962f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x21962f);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'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'},_0x21962f);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 _0x2a4801;}}
23
+ export function getTranslation(_0x3cc1af,_0x59245c,_0x467e60){const t=_0x3cc1af['t'];switch(_0x59245c){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'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',_0x467e60);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x467e60);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'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'},_0x467e60);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 _0x59245c;}}