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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/build/ai.js +6 -6
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/ug.js +1 -1
  97. package/dist/translations/ug.umd.js +1 -1
  98. package/dist/translations/uk.js +1 -1
  99. package/dist/translations/uk.umd.js +1 -1
  100. package/dist/translations/ur.js +1 -1
  101. package/dist/translations/ur.umd.js +1 -1
  102. package/dist/translations/uz.js +1 -1
  103. package/dist/translations/uz.umd.js +1 -1
  104. package/dist/translations/vi.js +1 -1
  105. package/dist/translations/vi.umd.js +1 -1
  106. package/dist/translations/zh-cn.js +1 -1
  107. package/dist/translations/zh-cn.umd.js +1 -1
  108. package/dist/translations/zh.js +1 -1
  109. package/dist/translations/zh.umd.js +1 -1
  110. package/package.json +4 -4
  111. package/src/adapters/aiadapter.js +1 -1
  112. package/src/adapters/aitextadapter.js +1 -1
  113. package/src/adapters/awstextadapter.js +1 -1
  114. package/src/adapters/openaitextadapter.js +1 -1
  115. package/src/aiassistant.js +1 -1
  116. package/src/aiassistantediting.js +1 -1
  117. package/src/aiassistantui.js +1 -1
  118. package/src/index.js +1 -1
  119. package/src/ui/aiassistantcontroller.js +2 -2
  120. package/src/ui/dropdown/aicommandslistview.js +1 -1
  121. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  122. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  123. package/src/ui/form/aiformcontentarea.js +1 -1
  124. package/src/ui/form/aiformerrorview.js +1 -1
  125. package/src/ui/form/aiformpromptview.js +1 -1
  126. package/src/ui/form/aiformtoolbarview.js +1 -1
  127. package/src/ui/form/aiformview.js +1 -1
  128. package/src/ui/form/aihistorylistitemview.js +1 -1
  129. package/src/ui/form/aihistorylistview.js +1 -1
  130. package/src/ui/form/prompthistory.js +1 -1
  131. package/src/ui/showaiassistantcommand.js +1 -1
  132. package/src/utils/common-translations.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2da6(_0x2c0ad4,_0x4194f3){const _0x5f16ba=_0x5f16();return _0x2da6=function(_0x2da6fc,_0x37eb6f){_0x2da6fc=_0x2da6fc-0x101;let _0x4c24e3=_0x5f16ba[_0x2da6fc];return _0x4c24e3;},_0x2da6(_0x2c0ad4,_0x4194f3);}const _0x1ef247=_0x2da6;function _0x5f16(){const _0xc18c1e=['prompt','render','htmlProcessor','name','currentResponse','endsWith','mainAction','_isH1TagSupportEnabled','setContentOf','toModel','isRendered','894025bXoAAl','body','stopListening','startProcessing','reverse','tryAgainEvent','9LiQNxa','329wxRooJ','value','previousContext','finally','_domParser','38262PSihWR','match','textAdapter','10860qpQvfM','exec','text/html','trim','set','78NvKZaY','<h1></h1>','createElement','domConverter','_stripMarkdownSyntax','startsWith','document','custom','element','data','editing','stringify','remove','_sanitizationContainer','nodeType','_handleQuery','processor','toView','finishProcessing','114888iGYFJD','push','12615370ALOVqb','reset','previousLabel','165156lyHSdc','childNodes','_xmlSerializer','from','```','abort','_sanitizeHTML','viewToDom','updateView','innerHTML','message','destroy','submitPrompt','handleError','previousActionId','listenTo','set:currentContext','stopProcessing','ELEMENT_NODE','currentContext','querySelector','once','2439464VQdGkU','_normalizeResponseHeadings','length','catch','initialContext','substring','```html','previousQuery','rename','div','serializeToString','makeRequest','view','_parseAndNormalizeContent','parseFromString','then','isProcessing','editor'];_0x5f16=function(){return _0xc18c1e;};return _0x5f16();}(function(_0x7d6342,_0x153e9c){const _0x533acd=_0x2da6,_0x2ecd3b=_0x7d6342();while(!![]){try{const _0xf7daa2=-parseInt(_0x533acd(0x104))/0x1+parseInt(_0x533acd(0x150))/0x2*(-parseInt(_0x533acd(0x14b))/0x3)+-parseInt(_0x533acd(0x109))/0x4+-parseInt(_0x533acd(0x13c))/0x5+parseInt(_0x533acd(0x148))/0x6*(-parseInt(_0x533acd(0x143))/0x7)+-parseInt(_0x533acd(0x11f))/0x8+parseInt(_0x533acd(0x142))/0x9*(parseInt(_0x533acd(0x106))/0xa);if(_0xf7daa2===_0x153e9c)break;else _0x2ecd3b['push'](_0x2ecd3b['shift']());}catch(_0xaec957){_0x2ecd3b['push'](_0x2ecd3b['shift']());}}}(_0x5f16,0x2c1f3));import{ObservableMixin as _0x592814}from'ckeditor5/src/utils.js';import{AIRequestError as _0x17c0fe}from'../adapters/aiadapter.js';import{Matcher as _0x400527,UpcastWriter as _0x345d39}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
24
- _0x592814(){constructor(_0x339235,_0x448fd4,_0x8ff9d6){const _0x520c5f=_0x2da6;super(),this[_0x520c5f(0x130)]=_0x339235,this[_0x520c5f(0x14a)]=_0x448fd4,this[_0x520c5f(0x15d)]=document[_0x520c5f(0x152)](_0x520c5f(0x128)),this[_0x520c5f(0x147)]=new DOMParser(),this[_0x520c5f(0x10b)]=new XMLSerializer(),this[_0x520c5f(0x12b)]=_0x8ff9d6,this[_0x520c5f(0x14f)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x520c5f(0x119),(_0x73b0c,_0x25bd6e,_0x35b6b3)=>{const _0x434c30=_0x520c5f;this[_0x434c30(0x12b)][_0x434c30(0x144)]=this[_0x434c30(0x10f)](_0x35b6b3);}),this[_0x520c5f(0x118)](this[_0x520c5f(0x12b)],_0x520c5f(0x115),(_0x592124,_0x4cd007)=>{const _0x2cfed3=_0x520c5f,_0x130288=this[_0x2cfed3(0x11c)]||this[_0x2cfed3(0x123)];this[_0x2cfed3(0x15f)](_0x4cd007,_0x130288,_0x2cfed3(0x157));}),this[_0x520c5f(0x118)](this[_0x520c5f(0x12b)],_0x520c5f(0x141),()=>{const _0x167906=_0x520c5f;this[_0x167906(0x12b)][_0x167906(0x131)]=this[_0x167906(0x108)],this[_0x167906(0x15f)](this[_0x167906(0x126)],this[_0x167906(0x145)],this[_0x167906(0x117)],this[_0x167906(0x108)]);}),this[_0x520c5f(0x118)](this[_0x520c5f(0x12b)],_0x520c5f(0x11a),()=>{const _0x576cd1=_0x520c5f;this[_0x576cd1(0x11a)]();});}[_0x1ef247(0x114)](){const _0x3169e6=_0x1ef247;this[_0x3169e6(0x13e)]();}async[_0x1ef247(0x111)]({actionId:_0x3b1d3c,query:_0x1b2179,htmlContent:_0xab096c,label:_0xd9354,mainActionLabel:_0x142750}){const _0xa2e2ce=_0x1ef247;this[_0xa2e2ce(0x12b)][_0xa2e2ce(0x131)]=_0xd9354,this[_0xa2e2ce(0x12b)][_0xa2e2ce(0x137)]=_0x142750,this[_0xa2e2ce(0x123)]=_0xab096c,_0x1b2179&&(this[_0xa2e2ce(0x12b)][_0xa2e2ce(0x13b)]?this[_0xa2e2ce(0x15f)](_0x1b2179,_0xab096c,_0x3b1d3c,_0xd9354):this[_0xa2e2ce(0x12b)][_0xa2e2ce(0x11e)](_0xa2e2ce(0x132),()=>{const _0x378ef4=_0xa2e2ce;this[_0x378ef4(0x15f)](_0x1b2179,_0xab096c,_0x3b1d3c,_0xd9354);}));}[_0x1ef247(0x11a)](){const _0x225d05=_0x1ef247;this[_0x225d05(0x12f)]&&(this[_0x225d05(0x12f)]=!0x1,this[_0x225d05(0x12b)][_0x225d05(0x103)](),this[_0x225d05(0x14a)][_0x225d05(0x10e)]());}[_0x1ef247(0x107)](){const _0x2182ee=_0x1ef247;this[_0x2182ee(0x123)]='',this[_0x2182ee(0x11c)]='',this[_0x2182ee(0x135)]='',this[_0x2182ee(0x145)]='',this[_0x2182ee(0x126)]='',this[_0x2182ee(0x108)]='',this[_0x2182ee(0x117)]=void 0x0,this[_0x2182ee(0x12b)][_0x2182ee(0x107)](),this[_0x2182ee(0x11a)]();}async[_0x1ef247(0x15f)](_0xadc52a,_0xa4cae0,_0x1af899,_0x426d8d){const _0x598cd1=_0x1ef247;return this[_0x598cd1(0x12f)]=!0x0,this[_0x598cd1(0x12b)][_0x598cd1(0x13f)](),this[_0x598cd1(0x145)]=_0xa4cae0,this[_0x598cd1(0x126)]=_0xadc52a,this[_0x598cd1(0x108)]=_0x426d8d||_0xadc52a,this[_0x598cd1(0x117)]=_0x1af899,new Promise(_0x525e1b=>{const _0x290538=_0x598cd1;this[_0x290538(0x14a)][_0x290538(0x12a)]({'query':_0xadc52a,'context':_0xa4cae0,'onData':_0x381a07=>{const _0x5294b2=_0x290538;this[_0x5294b2(0x135)]=_0x381a07,this[_0x5294b2(0x11c)]=this[_0x5294b2(0x12c)](this[_0x5294b2(0x135)]);},'actionId':_0x1af899})[_0x290538(0x12e)](()=>{const _0x485877=_0x290538;!this[_0x485877(0x11c)]&&this[_0x485877(0x135)]&&(this[_0x485877(0x11c)]=this[_0x485877(0x12c)](this[_0x485877(0x135)],!0x0));})[_0x290538(0x122)](_0x55d993=>{const _0x5652b5=_0x290538;_0x55d993 instanceof _0x17c0fe?this[_0x5652b5(0x12b)][_0x5652b5(0x116)](_0x55d993[_0x5652b5(0x113)]):this[_0x5652b5(0x12b)][_0x5652b5(0x116)](),_0x525e1b();})[_0x290538(0x146)](()=>{const _0x5ae812=_0x290538;this[_0x5ae812(0x11a)](),_0x525e1b();});});}[_0x1ef247(0x12c)](_0x25ad5c,_0x14fac9=!0x1){const _0x41b2b2=_0x1ef247,_0x194544=X[_0x41b2b2(0x14c)](_0x25ad5c);_0x25ad5c=_0x194544?_0x25ad5c[_0x41b2b2(0x124)](_0x194544[0x1][_0x41b2b2(0x121)]):_0x25ad5c[_0x41b2b2(0x121)]<0x64&&!_0x14fac9?'':this[_0x41b2b2(0x154)](_0x25ad5c);const _0x456e9a=this[_0x41b2b2(0x147)][_0x41b2b2(0x12d)](_0x25ad5c,_0x41b2b2(0x14d));if(_0x194544){const _0x480cce=Array[_0x41b2b2(0x10c)](_0x456e9a[_0x41b2b2(0x13d)][_0x41b2b2(0x10a)]);_0x480cce[_0x41b2b2(0x140)]();for(const _0x256604 of _0x480cce){if(_0x256604[_0x41b2b2(0x15e)]==Node[_0x41b2b2(0x11b)])break;_0x256604[_0x41b2b2(0x15c)]();}}const _0x29e95d=this[_0x41b2b2(0x130)][_0x41b2b2(0x159)][_0x41b2b2(0x101)][_0x41b2b2(0x102)](this[_0x41b2b2(0x10b)][_0x41b2b2(0x129)](_0x456e9a[_0x41b2b2(0x13d)]));return this[_0x41b2b2(0x138)]()||this[_0x41b2b2(0x120)](_0x29e95d),this[_0x41b2b2(0x130)][_0x41b2b2(0x159)][_0x41b2b2(0x15b)](this[_0x41b2b2(0x130)][_0x41b2b2(0x159)][_0x41b2b2(0x13a)](_0x29e95d));}[_0x1ef247(0x120)](_0x1b9b5a){const _0x2994ea=_0x1ef247,_0xbedf78=new _0x345d39(this[_0x2994ea(0x130)][_0x2994ea(0x15a)][_0x2994ea(0x12b)][_0x2994ea(0x156)]),_0x14c75c=new _0x400527({'name':/^h[1-5]$/}),_0x4ae163=[];let _0x1834fe=!0x1;for(const _0x2951e4 of _0x1b9b5a)_0x2951e4['is'](_0x2994ea(0x158))&&_0x14c75c[_0x2994ea(0x149)](_0x2951e4)&&(_0x4ae163[_0x2994ea(0x105)](_0x2951e4),'h1'==_0x2951e4[_0x2994ea(0x134)]&&(_0x1834fe=!0x0));if(_0x1834fe){for(const _0x206ff8 of _0x4ae163)_0xbedf78[_0x2994ea(0x127)]('h'+(parseInt(_0x206ff8[_0x2994ea(0x134)][0x1])+0x1),_0x206ff8);}}[_0x1ef247(0x138)](){const _0x166608=_0x1ef247,{data:_0x920ce1,editing:_0x34d4e7}=this[_0x166608(0x130)],_0x262063=_0x920ce1[_0x166608(0x133)][_0x166608(0x102)](_0x166608(0x151)),_0x59fe00=_0x920ce1[_0x166608(0x102)](_0x920ce1[_0x166608(0x13a)](_0x262063));return!!_0x34d4e7[_0x166608(0x12b)][_0x166608(0x153)][_0x166608(0x110)](_0x59fe00)[_0x166608(0x11d)]('h1');}[_0x1ef247(0x10f)](_0x5a1ccc){const _0x43200e=_0x1ef247;return this[_0x43200e(0x130)][_0x43200e(0x15a)][_0x43200e(0x12b)][_0x43200e(0x153)][_0x43200e(0x139)](this[_0x43200e(0x15d)],_0x5a1ccc),this[_0x43200e(0x15d)][_0x43200e(0x112)];}[_0x1ef247(0x154)](_0x2890de){const _0x885d28=_0x1ef247,_0x41134e=_0x2890de[_0x885d28(0x14e)]();return _0x41134e[_0x885d28(0x155)](_0x885d28(0x125))?_0x41134e[_0x885d28(0x136)](_0x885d28(0x10d))?_0x41134e[_0x885d28(0x124)](0x7,_0x41134e[_0x885d28(0x121)]-0x3):_0x41134e[_0x885d28(0x124)](0x7):_0x2890de;}}
23
+ function _0x4f2c(){const _0x3226e3=['startProcessing','text/html','_normalizeResponseHeadings','htmlProcessor','toModel','```html','endsWith','ELEMENT_NODE','mainAction','rename','domConverter','currentContext','796lEiOjy','_sanitizeHTML','_xmlSerializer','makeRequest','stopProcessing','substring','stopListening','editor','nodeType','previousLabel','reset','2518640NdSqnx','data','2569kwNGQT','viewToDom','_sanitizationContainer','previousContext','push','updateView','value','reverse','length','isRendered','currentResponse','then','_isH1TagSupportEnabled','div','finally','processor','_domParser','prompt','toView','document','serializeToString','stringify','childNodes','_parseAndNormalizeContent','querySelector','editing','173455NybNbW','element','innerHTML','view','282PaTfPY','finishProcessing','previousQuery','369084JQSZoe','destroy','120fSAlSn','_stripMarkdownSyntax','904653lciyCp','setContentOf','```','exec','startsWith','abort','once','custom','handleError','_handleQuery','isProcessing','<h1></h1>','createElement','submitPrompt','1JyHHYA','textAdapter','parseFromString','set:currentContext','render','tryAgainEvent','previousActionId','from','trim','body','listenTo','initialContext','set','catch','20496ttaAhx','remove','8HerZPc','name','match','4136VdTfsk','message'];_0x4f2c=function(){return _0x3226e3;};return _0x4f2c();}const _0x13f48f=_0x5689;(function(_0x40e443,_0x229d99){const _0x5df312=_0x5689,_0x1e931e=_0x40e443();while(!![]){try{const _0x4581ba=-parseInt(_0x5df312(0x219))/0x1*(parseInt(_0x5df312(0x207))/0x2)+-parseInt(_0x5df312(0x209))/0x3*(-parseInt(_0x5df312(0x23a))/0x4)+parseInt(_0x5df312(0x200))/0x5+parseInt(_0x5df312(0x204))/0x6*(-parseInt(_0x5df312(0x1e6))/0x7)+-parseInt(_0x5df312(0x229))/0x8*(parseInt(_0x5df312(0x20b))/0x9)+-parseInt(_0x5df312(0x1e4))/0xa+-parseInt(_0x5df312(0x22c))/0xb*(-parseInt(_0x5df312(0x227))/0xc);if(_0x4581ba===_0x229d99)break;else _0x1e931e['push'](_0x1e931e['shift']());}catch(_0x24722b){_0x1e931e['push'](_0x1e931e['shift']());}}}(_0x4f2c,0x1fe7f));function _0x5689(_0x302b07,_0x58fd5a){const _0x4f2ce9=_0x4f2c();return _0x5689=function(_0x568995,_0x5051a0){_0x568995=_0x568995-0x1e4;let _0x2e30af=_0x4f2ce9[_0x568995];return _0x2e30af;},_0x5689(_0x302b07,_0x58fd5a);}import{ObservableMixin as _0x2bc1bb}from'ckeditor5/src/utils.js';import{AIRequestError as _0x674196}from'../adapters/aiadapter.js';import{Matcher as _0x317aee,UpcastWriter as _0x336fb9}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
24
+ _0x2bc1bb(){constructor(_0x138d82,_0x435043,_0x2c3a5b){const _0x3483e5=_0x5689;super(),this[_0x3483e5(0x241)]=_0x138d82,this[_0x3483e5(0x21a)]=_0x435043,this[_0x3483e5(0x1e8)]=document[_0x3483e5(0x217)](_0x3483e5(0x1f3)),this[_0x3483e5(0x1f6)]=new DOMParser(),this[_0x3483e5(0x23c)]=new XMLSerializer(),this[_0x3483e5(0x203)]=_0x2c3a5b,this[_0x3483e5(0x225)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3483e5(0x21c),(_0x4f45ce,_0x2b911a,_0x3cfa0a)=>{const _0x424ba1=_0x3483e5;this[_0x424ba1(0x203)][_0x424ba1(0x1ec)]=this[_0x424ba1(0x23b)](_0x3cfa0a);}),this[_0x3483e5(0x223)](this[_0x3483e5(0x203)],_0x3483e5(0x218),(_0x53140d,_0x12c2e4)=>{const _0x1e648b=_0x3483e5,_0x156685=this[_0x1e648b(0x239)]||this[_0x1e648b(0x224)];this[_0x1e648b(0x214)](_0x12c2e4,_0x156685,_0x1e648b(0x212));}),this[_0x3483e5(0x223)](this[_0x3483e5(0x203)],_0x3483e5(0x21e),()=>{const _0x238c64=_0x3483e5;this[_0x238c64(0x203)][_0x238c64(0x1f7)]=this[_0x238c64(0x243)],this[_0x238c64(0x214)](this[_0x238c64(0x206)],this[_0x238c64(0x1e9)],this[_0x238c64(0x21f)],this[_0x238c64(0x243)]);}),this[_0x3483e5(0x223)](this[_0x3483e5(0x203)],_0x3483e5(0x23e),()=>{const _0x407695=_0x3483e5;this[_0x407695(0x23e)]();});}[_0x13f48f(0x208)](){const _0x4a7e87=_0x13f48f;this[_0x4a7e87(0x240)]();}async[_0x13f48f(0x1eb)]({actionId:_0x112952,query:_0x2cbe05,htmlContent:_0x455d36,label:_0x99907e,mainActionLabel:_0x1b173b}){const _0x5254ea=_0x13f48f;this[_0x5254ea(0x203)][_0x5254ea(0x1f7)]=_0x99907e,this[_0x5254ea(0x203)][_0x5254ea(0x236)]=_0x1b173b,this[_0x5254ea(0x224)]=_0x455d36,_0x2cbe05&&(this[_0x5254ea(0x203)][_0x5254ea(0x1ef)]?this[_0x5254ea(0x214)](_0x2cbe05,_0x455d36,_0x112952,_0x99907e):this[_0x5254ea(0x203)][_0x5254ea(0x211)](_0x5254ea(0x21d),()=>{const _0x739399=_0x5254ea;this[_0x739399(0x214)](_0x2cbe05,_0x455d36,_0x112952,_0x99907e);}));}[_0x13f48f(0x23e)](){const _0x259474=_0x13f48f;this[_0x259474(0x215)]&&(this[_0x259474(0x215)]=!0x1,this[_0x259474(0x203)][_0x259474(0x205)](),this[_0x259474(0x21a)][_0x259474(0x210)]());}[_0x13f48f(0x244)](){const _0x1e1304=_0x13f48f;this[_0x1e1304(0x224)]='',this[_0x1e1304(0x239)]='',this[_0x1e1304(0x1f0)]='',this[_0x1e1304(0x1e9)]='',this[_0x1e1304(0x206)]='',this[_0x1e1304(0x243)]='',this[_0x1e1304(0x21f)]=void 0x0,this[_0x1e1304(0x203)][_0x1e1304(0x244)](),this[_0x1e1304(0x23e)]();}async[_0x13f48f(0x214)](_0x4860a5,_0x462229,_0x5c1cdd,_0x16f2c6){const _0x5c08cc=_0x13f48f;return this[_0x5c08cc(0x215)]=!0x0,this[_0x5c08cc(0x203)][_0x5c08cc(0x22e)](),this[_0x5c08cc(0x1e9)]=_0x462229,this[_0x5c08cc(0x206)]=_0x4860a5,this[_0x5c08cc(0x243)]=_0x16f2c6||_0x4860a5,this[_0x5c08cc(0x21f)]=_0x5c1cdd,new Promise(_0x22898f=>{const _0x30ca95=_0x5c08cc;this[_0x30ca95(0x21a)][_0x30ca95(0x23d)]({'query':_0x4860a5,'context':_0x462229,'onData':_0x173e57=>{const _0x56e7cd=_0x30ca95;this[_0x56e7cd(0x1f0)]=_0x173e57,this[_0x56e7cd(0x239)]=this[_0x56e7cd(0x1fd)](this[_0x56e7cd(0x1f0)]);},'actionId':_0x5c1cdd})[_0x30ca95(0x1f1)](()=>{const _0x205a2e=_0x30ca95;!this[_0x205a2e(0x239)]&&this[_0x205a2e(0x1f0)]&&(this[_0x205a2e(0x239)]=this[_0x205a2e(0x1fd)](this[_0x205a2e(0x1f0)],!0x0));})[_0x30ca95(0x226)](_0x5f2a03=>{const _0x51a155=_0x30ca95;_0x5f2a03 instanceof _0x674196?this[_0x51a155(0x203)][_0x51a155(0x213)](_0x5f2a03[_0x51a155(0x22d)]):this[_0x51a155(0x203)][_0x51a155(0x213)](),_0x22898f();})[_0x30ca95(0x1f4)](()=>{const _0x4388b4=_0x30ca95;this[_0x4388b4(0x23e)](),_0x22898f();});});}[_0x13f48f(0x1fd)](_0x489f33,_0x1ff7c9=!0x1){const _0x456bea=_0x13f48f,_0x385c50=X[_0x456bea(0x20e)](_0x489f33);_0x489f33=_0x385c50?_0x489f33[_0x456bea(0x23f)](_0x385c50[0x1][_0x456bea(0x1ee)]):_0x489f33[_0x456bea(0x1ee)]<0x64&&!_0x1ff7c9?'':this[_0x456bea(0x20a)](_0x489f33);const _0x241128=this[_0x456bea(0x1f6)][_0x456bea(0x21b)](_0x489f33,_0x456bea(0x22f));if(_0x385c50){const _0x311c17=Array[_0x456bea(0x220)](_0x241128[_0x456bea(0x222)][_0x456bea(0x1fc)]);_0x311c17[_0x456bea(0x1ed)]();for(const _0x23ea5a of _0x311c17){if(_0x23ea5a[_0x456bea(0x242)]==Node[_0x456bea(0x235)])break;_0x23ea5a[_0x456bea(0x228)]();}}const _0x48a91f=this[_0x456bea(0x241)][_0x456bea(0x1e5)][_0x456bea(0x1f5)][_0x456bea(0x1f8)](this[_0x456bea(0x23c)][_0x456bea(0x1fa)](_0x241128[_0x456bea(0x222)]));return this[_0x456bea(0x1f2)]()||this[_0x456bea(0x230)](_0x48a91f),this[_0x456bea(0x241)][_0x456bea(0x1e5)][_0x456bea(0x1fb)](this[_0x456bea(0x241)][_0x456bea(0x1e5)][_0x456bea(0x232)](_0x48a91f));}[_0x13f48f(0x230)](_0x5648c9){const _0x39c74d=_0x13f48f,_0x1e5da3=new _0x336fb9(this[_0x39c74d(0x241)][_0x39c74d(0x1ff)][_0x39c74d(0x203)][_0x39c74d(0x1f9)]),_0x48ef7b=new _0x317aee({'name':/^h[1-5]$/}),_0x547cf3=[];let _0x8f6140=!0x1;for(const _0x1cd5c4 of _0x5648c9)_0x1cd5c4['is'](_0x39c74d(0x201))&&_0x48ef7b[_0x39c74d(0x22b)](_0x1cd5c4)&&(_0x547cf3[_0x39c74d(0x1ea)](_0x1cd5c4),'h1'==_0x1cd5c4[_0x39c74d(0x22a)]&&(_0x8f6140=!0x0));if(_0x8f6140){for(const _0x3d78f1 of _0x547cf3)_0x1e5da3[_0x39c74d(0x237)]('h'+(parseInt(_0x3d78f1[_0x39c74d(0x22a)][0x1])+0x1),_0x3d78f1);}}[_0x13f48f(0x1f2)](){const _0x5cd2d2=_0x13f48f,{data:_0x5db92a,editing:_0x1d0bb8}=this[_0x5cd2d2(0x241)],_0x320fab=_0x5db92a[_0x5cd2d2(0x231)][_0x5cd2d2(0x1f8)](_0x5cd2d2(0x216)),_0x52dfeb=_0x5db92a[_0x5cd2d2(0x1f8)](_0x5db92a[_0x5cd2d2(0x232)](_0x320fab));return!!_0x1d0bb8[_0x5cd2d2(0x203)][_0x5cd2d2(0x238)][_0x5cd2d2(0x1e7)](_0x52dfeb)[_0x5cd2d2(0x1fe)]('h1');}[_0x13f48f(0x23b)](_0x2136b6){const _0x40db9d=_0x13f48f;return this[_0x40db9d(0x241)][_0x40db9d(0x1ff)][_0x40db9d(0x203)][_0x40db9d(0x238)][_0x40db9d(0x20c)](this[_0x40db9d(0x1e8)],_0x2136b6),this[_0x40db9d(0x1e8)][_0x40db9d(0x202)];}[_0x13f48f(0x20a)](_0x235fc2){const _0x1b9ca9=_0x13f48f,_0x54dcd8=_0x235fc2[_0x1b9ca9(0x221)]();return _0x54dcd8[_0x1b9ca9(0x20f)](_0x1b9ca9(0x233))?_0x54dcd8[_0x1b9ca9(0x234)](_0x1b9ca9(0x20d))?_0x54dcd8[_0x1b9ca9(0x23f)](0x7,_0x54dcd8[_0x1b9ca9(0x1ee)]-0x3):_0x54dcd8[_0x1b9ca9(0x23f)](0x7):_0x235fc2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2507(_0x2125a0,_0x40ddc4){const _0x4cec27=_0x4cec();return _0x2507=function(_0x2507d4,_0x4120cc){_0x2507d4=_0x2507d4-0x1dc;let _0xe8cd6c=_0x4cec27[_0x2507d4];return _0xe8cd6c;},_0x2507(_0x2125a0,_0x40ddc4);}const _0x36f082=_0x2507;function _0x4cec(){const _0x56bbdd=['items','first','4382rpmJwL','3344436enxBGh','set','291511KGNrqt','isVisible','360qBQyNM','listbox','commandDefinition','match','length','labelView','425962tYPJDF','isEnabled','highlightText','enabledCommandsIds','7115970VCeLXJ','filter','children','label','role','2riqNyY','2563866XSDKSl','4110qMfMJY','7816WiKOVT','get','change:enabledCommandsIds','includes','652jNtxeg'];_0x4cec=function(){return _0x56bbdd;};return _0x4cec();}(function(_0x36961c,_0x570fa7){const _0x229466=_0x2507,_0x54f027=_0x36961c();while(!![]){try{const _0x4ffb6a=parseInt(_0x229466(0x1e6))/0x1*(parseInt(_0x229466(0x1dd))/0x2)+-parseInt(_0x229466(0x1e7))/0x3+parseInt(_0x229466(0x1ed))/0x4*(-parseInt(_0x229466(0x1e8))/0x5)+parseInt(_0x229466(0x1e1))/0x6+-parseInt(_0x229466(0x1f0))/0x7*(parseInt(_0x229466(0x1e9))/0x8)+-parseInt(_0x229466(0x1f1))/0x9+-parseInt(_0x229466(0x1f5))/0xa*(-parseInt(_0x229466(0x1f3))/0xb);if(_0x4ffb6a===_0x570fa7)break;else _0x54f027['push'](_0x54f027['shift']());}catch(_0x12d8e0){_0x54f027['push'](_0x54f027['shift']());}}}(_0x4cec,0x91103));import{ListView as _0x4a635d,ListItemGroupView as _0x310504}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x3f99cc}from'../../aiassistantui.js';export default class U extends _0x4a635d{constructor(_0x498eb3){const _0x174000=_0x2507;super(_0x498eb3),this[_0x174000(0x1e5)]=_0x174000(0x1f6),this[_0x174000(0x1f2)](_0x174000(0x1e0),[]),this['on'](_0x174000(0x1eb),()=>{const _0x3403a3=_0x174000;for(const _0x37c881 of this[_0x3403a3(0x1ee)])if(_0x37c881 instanceof _0x310504){for(const _0x2b75b8 of _0x37c881[_0x3403a3(0x1ee)])if(_0x2b75b8 instanceof _0x3f99cc){const _0x459256=_0x2b75b8[_0x3403a3(0x1e3)][_0x3403a3(0x1ea)](0x0);this[_0x3403a3(0x1e0)][_0x3403a3(0x1ec)](_0x2b75b8[_0x3403a3(0x1f7)]['id'])?_0x459256[_0x3403a3(0x1de)]=!0x0:_0x459256[_0x3403a3(0x1de)]=!0x1;}}});}[_0x36f082(0x1e2)](_0x3e1b32){const _0x25b451=_0x36f082;let _0x3b1570=0x0,_0x1bb1c8=0x0;for(const _0x1cbd91 of this[_0x25b451(0x1ee)]){const _0xb03a97=_0x1cbd91,_0x4339bc=_0xb03a97[_0x25b451(0x1ee)],_0x5adb73=_0x3e1b32&&!!_0xb03a97[_0x25b451(0x1e4)][_0x25b451(0x1f8)](_0x3e1b32);_0xb03a97[_0x25b451(0x1dc)][_0x25b451(0x1df)](_0x5adb73?_0x3e1b32:null);for(const _0x511562 of _0x4339bc){const _0x52e301=_0x511562[_0x25b451(0x1e3)][_0x25b451(0x1ef)],_0x38aa1b=_0x52e301[_0x25b451(0x1dc)];if(_0x3e1b32){const _0x4013e9=!!_0x52e301[_0x25b451(0x1e4)][_0x25b451(0x1f8)](_0x3e1b32);_0x38aa1b[_0x25b451(0x1df)](_0x4013e9?_0x3e1b32:null),_0x511562[_0x25b451(0x1f4)]=_0x5adb73||_0x4013e9;}else _0x511562[_0x25b451(0x1f4)]=!0x0,_0x38aa1b[_0x25b451(0x1df)](null);}const _0x59efeb=_0x4339bc[_0x25b451(0x1e2)](_0x91f3de=>_0x91f3de[_0x25b451(0x1f4)])[_0x25b451(0x1f9)];_0x3b1570+=_0xb03a97[_0x25b451(0x1ee)][_0x25b451(0x1f9)],_0x1bb1c8+=_0x5adb73?_0xb03a97[_0x25b451(0x1ee)][_0x25b451(0x1f9)]:_0x59efeb,_0xb03a97[_0x25b451(0x1f4)]=_0x5adb73||!!_0x59efeb;}return{'resultsCount':_0x1bb1c8,'totalItemsCount':_0x3b1570};}}
23
+ function _0x1078(_0x30673c,_0x51fe8e){const _0x97584=_0x9758();return _0x1078=function(_0x1078a7,_0x1be24a){_0x1078a7=_0x1078a7-0x144;let _0x3f0ce6=_0x97584[_0x1078a7];return _0x3f0ce6;},_0x1078(_0x30673c,_0x51fe8e);}const _0x173e9e=_0x1078;(function(_0x1aa550,_0xe8576e){const _0x54bb23=_0x1078,_0x15b3f1=_0x1aa550();while(!![]){try{const _0x46a0ac=-parseInt(_0x54bb23(0x14e))/0x1+-parseInt(_0x54bb23(0x149))/0x2+-parseInt(_0x54bb23(0x150))/0x3+-parseInt(_0x54bb23(0x15f))/0x4+parseInt(_0x54bb23(0x15c))/0x5*(-parseInt(_0x54bb23(0x15a))/0x6)+-parseInt(_0x54bb23(0x151))/0x7*(parseInt(_0x54bb23(0x158))/0x8)+parseInt(_0x54bb23(0x15d))/0x9;if(_0x46a0ac===_0xe8576e)break;else _0x15b3f1['push'](_0x15b3f1['shift']());}catch(_0x108e00){_0x15b3f1['push'](_0x15b3f1['shift']());}}}(_0x9758,0x569af));function _0x9758(){const _0x4c2d1f=['get','167010wlRiVz','set','1825101XAjIsk','24171wjRHPs','isVisible','first','listbox','children','highlightText','length','88vCvguV','commandDefinition','996jIyeav','labelView','16280UiHYRy','19530387cJTmwN','includes','600440DrniFF','items','filter','isEnabled','role','label','622684vFuRQR','enabledCommandsIds','change:enabledCommandsIds','match'];_0x9758=function(){return _0x4c2d1f;};return _0x9758();}import{ListView as _0x3b8196,ListItemGroupView as _0x5016f7}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x198c93}from'../../aiassistantui.js';export default class U extends _0x3b8196{constructor(_0x230dec){const _0x48655b=_0x1078;super(_0x230dec),this[_0x48655b(0x147)]=_0x48655b(0x154),this[_0x48655b(0x14f)](_0x48655b(0x14a),[]),this['on'](_0x48655b(0x14b),()=>{const _0x58817c=_0x48655b;for(const _0x5c92b6 of this[_0x58817c(0x144)])if(_0x5c92b6 instanceof _0x5016f7){for(const _0x41fb2e of _0x5c92b6[_0x58817c(0x144)])if(_0x41fb2e instanceof _0x198c93){const _0x4ebbf2=_0x41fb2e[_0x58817c(0x155)][_0x58817c(0x14d)](0x0);this[_0x58817c(0x14a)][_0x58817c(0x15e)](_0x41fb2e[_0x58817c(0x159)]['id'])?_0x4ebbf2[_0x58817c(0x146)]=!0x0:_0x4ebbf2[_0x58817c(0x146)]=!0x1;}}});}[_0x173e9e(0x145)](_0x5becc6){const _0x46e694=_0x173e9e;let _0x3649e1=0x0,_0x264615=0x0;for(const _0x3ccfe3 of this[_0x46e694(0x144)]){const _0x27e9df=_0x3ccfe3,_0x5077ff=_0x27e9df[_0x46e694(0x144)],_0x4e6a02=_0x5becc6&&!!_0x27e9df[_0x46e694(0x148)][_0x46e694(0x14c)](_0x5becc6);_0x27e9df[_0x46e694(0x15b)][_0x46e694(0x156)](_0x4e6a02?_0x5becc6:null);for(const _0x195f9a of _0x5077ff){const _0x576517=_0x195f9a[_0x46e694(0x155)][_0x46e694(0x153)],_0x52e6c1=_0x576517[_0x46e694(0x15b)];if(_0x5becc6){const _0x334016=!!_0x576517[_0x46e694(0x148)][_0x46e694(0x14c)](_0x5becc6);_0x52e6c1[_0x46e694(0x156)](_0x334016?_0x5becc6:null),_0x195f9a[_0x46e694(0x152)]=_0x4e6a02||_0x334016;}else _0x195f9a[_0x46e694(0x152)]=!0x0,_0x52e6c1[_0x46e694(0x156)](null);}const _0x433fbc=_0x5077ff[_0x46e694(0x145)](_0xe847f4=>_0xe847f4[_0x46e694(0x152)])[_0x46e694(0x157)];_0x3649e1+=_0x27e9df[_0x46e694(0x144)][_0x46e694(0x157)],_0x264615+=_0x4e6a02?_0x27e9df[_0x46e694(0x144)][_0x46e694(0x157)]:_0x433fbc,_0x27e9df[_0x46e694(0x152)]=_0x4e6a02||!!_0x433fbc;}return{'resultsCount':_0x264615,'totalItemsCount':_0x3649e1};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7ff4(){const _0x3cc903=['70pfLtym','6JiDqox','3559640BbvxqK','3176877EJNZMU','20159uTcTLV','set','ck-button__label','7534324DLEUCw','76wMVGwX','extendTemplate','969549QsewRO','bindTemplate','7007590GbijNQ','13336pTLYGv','style','2844agLNrA'];_0x7ff4=function(){return _0x3cc903;};return _0x7ff4();}(function(_0x448580,_0x3904ec){const _0x46bddf=_0x4d15,_0x412ac8=_0x448580();while(!![]){try{const _0xdcd386=parseInt(_0x46bddf(0x167))/0x1*(-parseInt(_0x46bddf(0x16b))/0x2)+-parseInt(_0x46bddf(0x16d))/0x3+-parseInt(_0x46bddf(0x165))/0x4+-parseInt(_0x46bddf(0x16f))/0x5*(-parseInt(_0x46bddf(0x164))/0x6)+-parseInt(_0x46bddf(0x16a))/0x7+-parseInt(_0x46bddf(0x170))/0x8*(-parseInt(_0x46bddf(0x172))/0x9)+parseInt(_0x46bddf(0x173))/0xa*(parseInt(_0x46bddf(0x166))/0xb);if(_0xdcd386===_0x3904ec)break;else _0x412ac8['push'](_0x412ac8['shift']());}catch(_0x29d869){_0x412ac8['push'](_0x412ac8['shift']());}}}(_0x7ff4,0xda608));import{HighlightedTextView as _0x564050}from'ckeditor5/src/ui.js';function _0x4d15(_0x57c0be,_0xc5d12a){const _0x7ff45d=_0x7ff4();return _0x4d15=function(_0x4d15b4,_0x119338){_0x4d15b4=_0x4d15b4-0x164;let _0x58b52b=_0x7ff45d[_0x4d15b4];return _0x58b52b;},_0x4d15(_0x57c0be,_0xc5d12a);}export default class N extends _0x564050{constructor(){const _0x51dc4a=_0x4d15;super(),this[_0x51dc4a(0x168)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x12a5fd=this[_0x51dc4a(0x16e)];this[_0x51dc4a(0x16c)]({'attributes':{'class':[_0x51dc4a(0x169)],'style':_0x12a5fd['to'](_0x51dc4a(0x171)),'id':_0x12a5fd['to']('id')}});}}
23
+ function _0x38e4(){const _0x37a757=['528106lYXgnc','6tKDoUJ','472SCHSzK','style','3212770hnGSYZ','42428016GBrHhz','108rxpNaZ','1HruRDV','745260LqvKst','extendTemplate','14NnaILc','976168Wcgnrx','set','bindTemplate','3825BNkxhg','ck-button__label','4257990NljBIp'];_0x38e4=function(){return _0x37a757;};return _0x38e4();}function _0x34b7(_0x2dca41,_0x1ce6d0){const _0x38e430=_0x38e4();return _0x34b7=function(_0x34b70e,_0x130aa3){_0x34b70e=_0x34b70e-0x180;let _0x333224=_0x38e430[_0x34b70e];return _0x333224;},_0x34b7(_0x2dca41,_0x1ce6d0);}(function(_0x5f350a,_0x4ca399){const _0x59ac36=_0x34b7,_0x188635=_0x5f350a();while(!![]){try{const _0x5db66e=-parseInt(_0x59ac36(0x181))/0x1*(parseInt(_0x59ac36(0x18b))/0x2)+parseInt(_0x59ac36(0x188))/0x3*(-parseInt(_0x59ac36(0x18d))/0x4)+parseInt(_0x59ac36(0x18f))/0x5*(-parseInt(_0x59ac36(0x18c))/0x6)+-parseInt(_0x59ac36(0x184))/0x7*(parseInt(_0x59ac36(0x185))/0x8)+parseInt(_0x59ac36(0x180))/0x9*(-parseInt(_0x59ac36(0x182))/0xa)+-parseInt(_0x59ac36(0x18a))/0xb+parseInt(_0x59ac36(0x190))/0xc;if(_0x5db66e===_0x4ca399)break;else _0x188635['push'](_0x188635['shift']());}catch(_0x5e07d4){_0x188635['push'](_0x188635['shift']());}}}(_0x38e4,0xe8b4f));import{HighlightedTextView as _0xc6c94}from'ckeditor5/src/ui.js';export default class N extends _0xc6c94{constructor(){const _0x549e90=_0x34b7;super(),this[_0x549e90(0x186)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x3afbf4=this[_0x549e90(0x187)];this[_0x549e90(0x183)]({'attributes':{'class':[_0x549e90(0x189)],'style':_0x3afbf4['to'](_0x549e90(0x18e)),'id':_0x3afbf4['to']('id')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a6376,_0x15e011){const _0x3cfac0=_0x5c6d,_0x6205a7=_0x2a6376();while(!![]){try{const _0x4e7c8f=parseInt(_0x3cfac0(0x77))/0x1*(-parseInt(_0x3cfac0(0x80))/0x2)+-parseInt(_0x3cfac0(0x83))/0x3+parseInt(_0x3cfac0(0x78))/0x4*(parseInt(_0x3cfac0(0x85))/0x5)+parseInt(_0x3cfac0(0x7b))/0x6+parseInt(_0x3cfac0(0x7c))/0x7+parseInt(_0x3cfac0(0x7d))/0x8*(-parseInt(_0x3cfac0(0x7e))/0x9)+parseInt(_0x3cfac0(0x79))/0xa;if(_0x4e7c8f===_0x15e011)break;else _0x6205a7['push'](_0x6205a7['shift']());}catch(_0x432309){_0x6205a7['push'](_0x6205a7['shift']());}}}(_0x3c95,0xce098));import{HighlightedTextView as _0x32a066}from'ckeditor5/src/ui.js';function _0x3c95(){const _0x401275=['ck-editor__label_','8902194hmEFjr','5511716aCkqUY','2568omnDND','40671SQXQTU','extendTemplate','9236XtYbWJ','for','set','405249aKSRBX','bindTemplate','4393895whzaXn','ck-label','365cuwAbb','4jqYrMw','9653140wfdWPR'];_0x3c95=function(){return _0x401275;};return _0x3c95();}import{uid as _0x226a0a}from'ckeditor5/src/utils.js';function _0x5c6d(_0x32c053,_0x1336a6){const _0x3c954e=_0x3c95();return _0x5c6d=function(_0x5c6d79,_0x529361){_0x5c6d79=_0x5c6d79-0x76;let _0x15e344=_0x3c954e[_0x5c6d79];return _0x15e344;},_0x5c6d(_0x32c053,_0x1336a6);}export default class S extends _0x32a066{constructor(){const _0x20c3da=_0x5c6d;super(),this[_0x20c3da(0x82)](_0x20c3da(0x81),void 0x0);const _0x2da207=this[_0x20c3da(0x84)];this['id']=_0x20c3da(0x7a)+_0x226a0a(),this[_0x20c3da(0x7f)]({'attributes':{'class':['ck',_0x20c3da(0x76)],'id':this['id'],'for':_0x2da207['to'](_0x20c3da(0x81))}});}}
23
+ function _0x1038(_0x2824b3,_0x12b50f){const _0x57e23f=_0x57e2();return _0x1038=function(_0x103852,_0x5e52f7){_0x103852=_0x103852-0xec;let _0x5c5e38=_0x57e23f[_0x103852];return _0x5c5e38;},_0x1038(_0x2824b3,_0x12b50f);}function _0x57e2(){const _0x38e4c6=['1154857cpBpLe','124VluRGA','9Zmuxjn','ck-editor__label_','910482NJRheY','bindTemplate','ck-label','529547NisNzG','104694ZlHgIH','50XzWchS','978392OcqjIv','for','1162035PJfTUS','set','10gGZlki','16698krsaVx','extendTemplate'];_0x57e2=function(){return _0x38e4c6;};return _0x57e2();}(function(_0xd1de41,_0x3d94ef){const _0x57583d=_0x1038,_0x41b431=_0xd1de41();while(!![]){try{const _0x46db74=-parseInt(_0x57583d(0xf6))/0x1+parseInt(_0x57583d(0xf3))/0x2+-parseInt(_0x57583d(0xed))/0x3*(parseInt(_0x57583d(0xf0))/0x4)+parseInt(_0x57583d(0xf8))/0x5*(parseInt(_0x57583d(0xf7))/0x6)+parseInt(_0x57583d(0xfb))/0x7+parseInt(_0x57583d(0xf9))/0x8*(parseInt(_0x57583d(0xf1))/0x9)+-parseInt(_0x57583d(0xec))/0xa*(-parseInt(_0x57583d(0xef))/0xb);if(_0x46db74===_0x3d94ef)break;else _0x41b431['push'](_0x41b431['shift']());}catch(_0x50a1b2){_0x41b431['push'](_0x41b431['shift']());}}}(_0x57e2,0x4e5a1));import{HighlightedTextView as _0x399ec3}from'ckeditor5/src/ui.js';import{uid as _0x1267ab}from'ckeditor5/src/utils.js';export default class S extends _0x399ec3{constructor(){const _0x5f02b9=_0x1038;super(),this[_0x5f02b9(0xfc)](_0x5f02b9(0xfa),void 0x0);const _0x4617e2=this[_0x5f02b9(0xf4)];this['id']=_0x5f02b9(0xf2)+_0x1267ab(),this[_0x5f02b9(0xee)]({'attributes':{'class':['ck',_0x5f02b9(0xf5)],'id':this['id'],'for':_0x4617e2['to'](_0x5f02b9(0xfa))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1398cd=_0x144a;function _0x144a(_0x430bf6,_0x350a44){const _0x3b2a98=_0x3b2a();return _0x144a=function(_0x144aa0,_0xeea99c){_0x144aa0=_0x144aa0-0x68;let _0x30f5f8=_0x3b2a98[_0x144aa0];return _0x30f5f8;},_0x144a(_0x430bf6,_0x350a44);}(function(_0x2c72d6,_0x59b6ed){const _0x29dc48=_0x144a,_0x2c3621=_0x2c72d6();while(!![]){try{const _0x553dec=-parseInt(_0x29dc48(0x90))/0x1*(parseInt(_0x29dc48(0x79))/0x2)+-parseInt(_0x29dc48(0xa7))/0x3*(-parseInt(_0x29dc48(0x88))/0x4)+-parseInt(_0x29dc48(0xc1))/0x5*(parseInt(_0x29dc48(0x8f))/0x6)+parseInt(_0x29dc48(0x95))/0x7*(-parseInt(_0x29dc48(0x99))/0x8)+-parseInt(_0x29dc48(0x73))/0x9*(parseInt(_0x29dc48(0x8a))/0xa)+-parseInt(_0x29dc48(0xa8))/0xb*(-parseInt(_0x29dc48(0xa0))/0xc)+parseInt(_0x29dc48(0x74))/0xd*(parseInt(_0x29dc48(0xa6))/0xe);if(_0x553dec===_0x59b6ed)break;else _0x2c3621['push'](_0x2c3621['shift']());}catch(_0x1b0069){_0x2c3621['push'](_0x2c3621['shift']());}}}(_0x3b2a,0x4df51));import{global as _0xc084c7}from'ckeditor5/src/utils.js';import{View as _0x405195,ButtonView as _0x114193,SpinnerView as _0x335440}from'ckeditor5/src/ui.js';import _0x392c9b from'../../../theme/icons/copy.svg';function _0x3b2a(){const _0x84c5cb=['<span>[</span>','isProcessing','bind','appendLoader','5625747XTJVFP','13NsdUVh','check','smooth','ck-ai-form__content-area--processing','lastElementChild','479004oorrRu','remove','element','setContent','setTemplate','querySelector','div','change:isProcessing','ck-ai-form__content-area','AI\x20is\x20writing...','ClipboardItem','copyButtonView','focus','ck-ai-form__content-field','mousedown','768dUHzAM','.ck-ai-form__loader','10pwrXak','createElement','textContent','_copyHTMLToClipboard','change:value','402iMRDSS','2YuKTwD','render','addRange','locale','createRange','7wlqCpr','ck-reset_all-excluded','firstElementChild','contentFieldView','3935248DurdfZ','getSelection','copy','-9999px','style','isVisible','left','99948DDoBNe','ck-ai-form__content-area-wrapper','position','ck-ai-form__loader','isEnabled','listenTo','20108564eETTwR','3501kmTsEC','341vyrtUZ','value','clipboard','setStartAfter','text/plain','class','wheel','set','bindTemplate','ck-hidden','write','execCommand','ck-ai-form__copy-button-wrapper','Copy','scrollTo','_createLoader','innerHTML','ck-ai-form__copy-button','\x20ck-ai-form__copy-button--copied','icon','appendChild','text/html','_createCopyButton','body','removeAllRanges','245cbbZyr','ck-content','loaderView','setEndBefore','<span>]</span>','absolute','execute','scrollHeight'];_0x3b2a=function(){return _0x84c5cb;};return _0x3b2a();}import{getTranslation as _0xac435c}from'../../utils/common-translations.js';import{icons as _0x2093c1}from'ckeditor5/src/core.js';export default class nt extends _0x405195{constructor(_0x18e4d3,_0x1b3d2e=''){const _0x4f7b55=_0x144a;super(_0x18e4d3),this[_0x4f7b55(0xaf)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x56c035=this[_0x4f7b55(0xb0)];this[_0x4f7b55(0x98)]=new ContentFieldView(_0x18e4d3,_0x1b3d2e),this[_0x4f7b55(0x84)]=this[_0x4f7b55(0xbe)](),this[_0x4f7b55(0x7d)]({'tag':_0x4f7b55(0x7f),'attributes':{'class':['ck',_0x4f7b55(0xa1),_0x56c035['if'](_0x4f7b55(0x9e),_0x4f7b55(0xb1),_0x1571a7=>!_0x1571a7)],'tabindex':'-1'},'children':[{'tag':_0x4f7b55(0x7f),'attributes':{'class':['ck',_0x4f7b55(0x81),_0x56c035['if'](_0x4f7b55(0x70),_0x4f7b55(0x77))]},'children':[this[_0x4f7b55(0x98)],{'tag':_0x4f7b55(0x7f),'attributes':{'class':['ck',_0x4f7b55(0xb4)]},'children':[this[_0x4f7b55(0x84)]]}]}]});}[_0x1398cd(0x91)](){const _0x1e1b21=_0x1398cd;super[_0x1e1b21(0x91)](),this[_0x1e1b21(0xa9)]&&this[_0x1e1b21(0x98)][_0x1e1b21(0x7c)](this[_0x1e1b21(0xa9)]);let _0x4e6650=!0x1;this['on'](_0x1e1b21(0x8e),(_0x23cea0,_0x5cfd8a,_0x2af817)=>{const _0x34d8c9=_0x1e1b21,_0x313a58=!this[_0x34d8c9(0x98)][_0x34d8c9(0x7b)][_0x34d8c9(0x7e)](_0x34d8c9(0x89));this[_0x34d8c9(0x98)][_0x34d8c9(0x7c)](_0x2af817),this[_0x34d8c9(0x70)]&&_0x313a58&&!_0x4e6650&&this[_0x34d8c9(0x7b)][_0x34d8c9(0xb6)]({'top':this[_0x34d8c9(0x7b)][_0x34d8c9(0x6e)],'behavior':_0x34d8c9(0x76)});}),this['on'](_0x1e1b21(0x80),(_0x436128,_0x5f2a93,_0x1227b5)=>{const _0x37c1f4=_0x1e1b21;_0x4e6650=!0x1,_0x1227b5?(this[_0x37c1f4(0xa9)]=null,this[_0x37c1f4(0x98)][_0x37c1f4(0x72)]()):this[_0x37c1f4(0xa9)]||this[_0x37c1f4(0x98)][_0x37c1f4(0x7c)]('');}),this[_0x1e1b21(0xa5)](this[_0x1e1b21(0x7b)],_0x1e1b21(0xae),()=>{_0x4e6650=!0x0;}),this[_0x1e1b21(0xa5)](this[_0x1e1b21(0x7b)],_0x1e1b21(0x87),()=>{_0x4e6650=!0x0;});}[_0x1398cd(0x85)](){const _0x18855=_0x1398cd;this[_0x18855(0x7b)][_0x18855(0x85)]();}[_0x1398cd(0xbe)](){const _0x3c8595=_0x1398cd,_0x2b93a0=this[_0x3c8595(0x93)],_0x136da6=new _0x114193(this[_0x3c8595(0x93)]),_0x2b7bb3=_0x3c8595(0xb9);return _0x136da6[_0x3c8595(0xaf)]({'label':_0xac435c(_0x2b93a0,_0x3c8595(0xb5)),'icon':_0x392c9b,'class':_0x2b7bb3,'tooltip':!0x0}),_0x136da6[_0x3c8595(0x71)](_0x3c8595(0x9e))['to'](this,_0x3c8595(0xa9),_0x53ff3=>!!_0x53ff3),_0x136da6[_0x3c8595(0x71)](_0x3c8595(0xa4))['to'](this,_0x3c8595(0x70),_0x1e51e9=>!_0x1e51e9),_0x136da6['on'](_0x3c8595(0x6d),()=>{const _0x17316d=_0x3c8595;this[_0x17316d(0x8d)](this[_0x17316d(0x98)][_0x17316d(0x7b)]),_0x136da6[_0x17316d(0xbb)]=_0x2093c1[_0x17316d(0x75)],_0x136da6[_0x17316d(0xad)]=_0x2b7bb3+_0x17316d(0xba),this[_0x17316d(0x85)](),setTimeout(()=>{const _0x440a3a=_0x17316d;_0x136da6[_0x440a3a(0xbb)]=_0x392c9b,_0x136da6[_0x440a3a(0xad)]=_0x2b7bb3;},0x3e8);}),_0x136da6;}[_0x1398cd(0x8d)](_0x266740){const _0x167c20=_0x1398cd,{window:_0xdd40b8,document:_0x43410a}=_0xc084c7;if(_0xdd40b8[_0x167c20(0x83)]){const {Blob:_0x53a021,ClipboardItem:_0x51da85}=_0xdd40b8,_0x295c74=[new _0x51da85({'text/html':new _0x53a021([_0x266740[_0x167c20(0xb8)]],{'type':_0x167c20(0xbd)}),'text/plain':new _0x53a021([_0x266740[_0x167c20(0x8c)]||''],{'type':_0x167c20(0xac)})})];navigator[_0x167c20(0xaa)][_0x167c20(0xb2)](_0x295c74);}else{const _0x2fd1ee=_0x43410a[_0x167c20(0x8b)](_0x167c20(0x7f));_0x2fd1ee[_0x167c20(0x9d)][_0x167c20(0xa2)]=_0x167c20(0x6c),_0x2fd1ee[_0x167c20(0x9d)][_0x167c20(0x9f)]=_0x167c20(0x9c),_0x2fd1ee[_0x167c20(0xb8)]=_0x167c20(0x6f)+_0x266740[_0x167c20(0xb8)]+_0x167c20(0x6b),_0x43410a[_0x167c20(0xbf)][_0x167c20(0xbc)](_0x2fd1ee);const _0x6427c1=_0x43410a[_0x167c20(0x94)]();_0x6427c1[_0x167c20(0xab)](_0x2fd1ee[_0x167c20(0x97)]),_0x6427c1[_0x167c20(0x6a)](_0x2fd1ee[_0x167c20(0x78)]);const _0x1e41cc=_0xdd40b8[_0x167c20(0x9a)]();_0x1e41cc[_0x167c20(0xc0)](),_0x1e41cc[_0x167c20(0x92)](_0x6427c1),_0x43410a[_0x167c20(0xb3)](_0x167c20(0x9b)),_0x2fd1ee[_0x167c20(0x7a)]();}}}export class ContentFieldView extends _0x405195{constructor(_0x108c78,_0x1dec18=''){const _0x153e41=_0x1398cd;super(_0x108c78),this[_0x153e41(0x69)]=this[_0x153e41(0xb7)](),this[_0x153e41(0x7d)]({'tag':_0x153e41(0x7f),'attributes':{'class':['ck',_0x153e41(0x68),_0x1dec18,_0x153e41(0x96),_0x153e41(0x86)]}});}[_0x1398cd(0x7c)](_0x44e432){const _0x3d6dcb=_0x1398cd;this[_0x3d6dcb(0x7b)][_0x3d6dcb(0xb8)]=_0x44e432;}[_0x1398cd(0x72)](){const _0x22b53b=_0x1398cd;this[_0x22b53b(0x7b)][_0x22b53b(0xbc)](this[_0x22b53b(0x69)][_0x22b53b(0x7b)]);}[_0x1398cd(0xb7)](){const _0x15b70a=_0x1398cd,_0x154b7d=new _0x405195(),_0x288687=this[_0x15b70a(0x93)],_0x3ca612=new _0x335440();return _0x3ca612[_0x15b70a(0x9e)]=!0x0,_0x154b7d[_0x15b70a(0x7d)]({'tag':_0x15b70a(0x7f),'attributes':{'class':['ck',_0x15b70a(0xa3)]},'children':[_0x3ca612,{'text':_0xac435c(_0x288687,_0x15b70a(0x82))}]}),_0x154b7d[_0x15b70a(0x91)](),_0x154b7d;}}
23
+ const _0x274083=_0x125c;(function(_0x17e579,_0x523bf7){const _0x19204c=_0x125c,_0x2d4121=_0x17e579();while(!![]){try{const _0x154172=parseInt(_0x19204c(0x1a5))/0x1*(-parseInt(_0x19204c(0x1a4))/0x2)+parseInt(_0x19204c(0x19a))/0x3+-parseInt(_0x19204c(0x1a6))/0x4*(parseInt(_0x19204c(0x1c9))/0x5)+parseInt(_0x19204c(0x1a9))/0x6*(parseInt(_0x19204c(0x1cf))/0x7)+parseInt(_0x19204c(0x1be))/0x8*(-parseInt(_0x19204c(0x196))/0x9)+-parseInt(_0x19204c(0x1e2))/0xa+parseInt(_0x19204c(0x1ca))/0xb;if(_0x154172===_0x523bf7)break;else _0x2d4121['push'](_0x2d4121['shift']());}catch(_0x3d1d76){_0x2d4121['push'](_0x2d4121['shift']());}}}(_0x260b,0x6bf36));function _0x125c(_0x7d7f3,_0x37e835){const _0x260b25=_0x260b();return _0x125c=function(_0x125c53,_0x39552f){_0x125c53=_0x125c53-0x18f;let _0x55b63f=_0x260b25[_0x125c53];return _0x55b63f;},_0x125c(_0x7d7f3,_0x37e835);}import{global as _0x15ae43}from'ckeditor5/src/utils.js';import{View as _0x35f761,ButtonView as _0x5aa58d,SpinnerView as _0x21af91}from'ckeditor5/src/ui.js';import _0x562526 from'../../../theme/icons/copy.svg';function _0x260b(){const _0x2c075c=['\x20ck-ai-form__copy-button--copied','setEndBefore','6562312TPwIEE','setContent','.ck-ai-form__loader','firstElementChild','textContent','element','loaderView','execute','ck-ai-form__copy-button-wrapper','ck-ai-form__content-field','scrollHeight','70370CmkMno','18143268gPgRTt','change:isProcessing','setStartAfter','style','div','1726060szcver','ClipboardItem','write','lastElementChild','ck-ai-form__content-area-wrapper','createElement','text/plain','icon','ck-ai-form__loader','class','ck-ai-form__content-area','copy','appendChild','text/html','ck-ai-form__copy-button','addRange','appendLoader','focus','querySelector','4636740qKGfcg','locale','removeAllRanges','_createLoader','execCommand','isProcessing','contentFieldView','change:value','isEnabled','ck-hidden','set','9VHNKKz','ck-content','setTemplate','_createCopyButton','1556229cSacQe','render','getSelection','Copy','_copyHTMLToClipboard','mousedown','isVisible','wheel','copyButtonView','value','364NTrpdZ','3437LOdZZM','88RsvxhE','innerHTML','AI\x20is\x20writing...','12eSNDfj','scrollTo','bind','-9999px','smooth','<span>]</span>','body','ck-reset_all-excluded','position','createRange','remove','bindTemplate','listenTo','absolute','check','<span>[</span>','ck-ai-form__content-area--processing','left','clipboard'];_0x260b=function(){return _0x2c075c;};return _0x260b();}import{getTranslation as _0x52be61}from'../../utils/common-translations.js';import{icons as _0x25a137}from'ckeditor5/src/core.js';export default class nt extends _0x35f761{constructor(_0x230db8,_0x55b877=''){const _0x53e126=_0x125c;super(_0x230db8),this[_0x53e126(0x195)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x467e6c=this[_0x53e126(0x1b4)];this[_0x53e126(0x191)]=new ContentFieldView(_0x230db8,_0x55b877),this[_0x53e126(0x1a2)]=this[_0x53e126(0x199)](),this[_0x53e126(0x198)]({'tag':_0x53e126(0x1ce),'attributes':{'class':['ck',_0x53e126(0x1d3),_0x467e6c['if'](_0x53e126(0x1a0),_0x53e126(0x194),_0x3b322e=>!_0x3b322e)],'tabindex':'-1'},'children':[{'tag':_0x53e126(0x1ce),'attributes':{'class':['ck',_0x53e126(0x1d9),_0x467e6c['if'](_0x53e126(0x190),_0x53e126(0x1b9))]},'children':[this[_0x53e126(0x191)],{'tag':_0x53e126(0x1ce),'attributes':{'class':['ck',_0x53e126(0x1c6)]},'children':[this[_0x53e126(0x1a2)]]}]}]});}[_0x274083(0x19b)](){const _0x4075c9=_0x274083;super[_0x4075c9(0x19b)](),this[_0x4075c9(0x1a3)]&&this[_0x4075c9(0x191)][_0x4075c9(0x1bf)](this[_0x4075c9(0x1a3)]);let _0x26eecb=!0x1;this['on'](_0x4075c9(0x192),(_0x94709f,_0x33948f,_0x345c7b)=>{const _0x5eda5a=_0x4075c9,_0x2d1776=!this[_0x5eda5a(0x191)][_0x5eda5a(0x1c3)][_0x5eda5a(0x1e1)](_0x5eda5a(0x1c0));this[_0x5eda5a(0x191)][_0x5eda5a(0x1bf)](_0x345c7b),this[_0x5eda5a(0x190)]&&_0x2d1776&&!_0x26eecb&&this[_0x5eda5a(0x1c3)][_0x5eda5a(0x1aa)]({'top':this[_0x5eda5a(0x1c3)][_0x5eda5a(0x1c8)],'behavior':_0x5eda5a(0x1ad)});}),this['on'](_0x4075c9(0x1cb),(_0x40df19,_0x4572ca,_0x596e0f)=>{const _0x1b7a3e=_0x4075c9;_0x26eecb=!0x1,_0x596e0f?(this[_0x1b7a3e(0x1a3)]=null,this[_0x1b7a3e(0x191)][_0x1b7a3e(0x1df)]()):this[_0x1b7a3e(0x1a3)]||this[_0x1b7a3e(0x191)][_0x1b7a3e(0x1bf)]('');}),this[_0x4075c9(0x1b5)](this[_0x4075c9(0x1c3)],_0x4075c9(0x1a1),()=>{_0x26eecb=!0x0;}),this[_0x4075c9(0x1b5)](this[_0x4075c9(0x1c3)],_0x4075c9(0x19f),()=>{_0x26eecb=!0x0;});}[_0x274083(0x1e0)](){const _0x38ec13=_0x274083;this[_0x38ec13(0x1c3)][_0x38ec13(0x1e0)]();}[_0x274083(0x199)](){const _0x464f44=_0x274083,_0x1c8cc5=this[_0x464f44(0x1e3)],_0x4f8285=new _0x5aa58d(this[_0x464f44(0x1e3)]),_0x2c7e21=_0x464f44(0x1dd);return _0x4f8285[_0x464f44(0x195)]({'label':_0x52be61(_0x1c8cc5,_0x464f44(0x19d)),'icon':_0x562526,'class':_0x2c7e21,'tooltip':!0x0}),_0x4f8285[_0x464f44(0x1ab)](_0x464f44(0x1a0))['to'](this,_0x464f44(0x1a3),_0x128f5f=>!!_0x128f5f),_0x4f8285[_0x464f44(0x1ab)](_0x464f44(0x193))['to'](this,_0x464f44(0x190),_0x2c8a82=>!_0x2c8a82),_0x4f8285['on'](_0x464f44(0x1c5),()=>{const _0x5935e6=_0x464f44;this[_0x5935e6(0x19e)](this[_0x5935e6(0x191)][_0x5935e6(0x1c3)]),_0x4f8285[_0x5935e6(0x1d6)]=_0x25a137[_0x5935e6(0x1b7)],_0x4f8285[_0x5935e6(0x1d8)]=_0x2c7e21+_0x5935e6(0x1bc),this[_0x5935e6(0x1e0)](),setTimeout(()=>{const _0x43ba26=_0x5935e6;_0x4f8285[_0x43ba26(0x1d6)]=_0x562526,_0x4f8285[_0x43ba26(0x1d8)]=_0x2c7e21;},0x3e8);}),_0x4f8285;}[_0x274083(0x19e)](_0x54ebe5){const _0x6a89f0=_0x274083,{window:_0x55907a,document:_0x4903c9}=_0x15ae43;if(_0x55907a[_0x6a89f0(0x1d0)]){const {Blob:_0x5e1040,ClipboardItem:_0x21f6a9}=_0x55907a,_0xbc4f43=[new _0x21f6a9({'text/html':new _0x5e1040([_0x54ebe5[_0x6a89f0(0x1a7)]],{'type':_0x6a89f0(0x1dc)}),'text/plain':new _0x5e1040([_0x54ebe5[_0x6a89f0(0x1c2)]||''],{'type':_0x6a89f0(0x1d5)})})];navigator[_0x6a89f0(0x1bb)][_0x6a89f0(0x1d1)](_0xbc4f43);}else{const _0x151ec2=_0x4903c9[_0x6a89f0(0x1d4)](_0x6a89f0(0x1ce));_0x151ec2[_0x6a89f0(0x1cd)][_0x6a89f0(0x1b1)]=_0x6a89f0(0x1b6),_0x151ec2[_0x6a89f0(0x1cd)][_0x6a89f0(0x1ba)]=_0x6a89f0(0x1ac),_0x151ec2[_0x6a89f0(0x1a7)]=_0x6a89f0(0x1b8)+_0x54ebe5[_0x6a89f0(0x1a7)]+_0x6a89f0(0x1ae),_0x4903c9[_0x6a89f0(0x1af)][_0x6a89f0(0x1db)](_0x151ec2);const _0x279bf3=_0x4903c9[_0x6a89f0(0x1b2)]();_0x279bf3[_0x6a89f0(0x1cc)](_0x151ec2[_0x6a89f0(0x1c1)]),_0x279bf3[_0x6a89f0(0x1bd)](_0x151ec2[_0x6a89f0(0x1d2)]);const _0x159999=_0x55907a[_0x6a89f0(0x19c)]();_0x159999[_0x6a89f0(0x1e4)](),_0x159999[_0x6a89f0(0x1de)](_0x279bf3),_0x4903c9[_0x6a89f0(0x18f)](_0x6a89f0(0x1da)),_0x151ec2[_0x6a89f0(0x1b3)]();}}}export class ContentFieldView extends _0x35f761{constructor(_0x9b02fa,_0x4ab060=''){const _0x5e68d9=_0x274083;super(_0x9b02fa),this[_0x5e68d9(0x1c4)]=this[_0x5e68d9(0x1e5)](),this[_0x5e68d9(0x198)]({'tag':_0x5e68d9(0x1ce),'attributes':{'class':['ck',_0x5e68d9(0x197),_0x4ab060,_0x5e68d9(0x1b0),_0x5e68d9(0x1c7)]}});}[_0x274083(0x1bf)](_0x585b5d){const _0x55a6a3=_0x274083;this[_0x55a6a3(0x1c3)][_0x55a6a3(0x1a7)]=_0x585b5d;}[_0x274083(0x1df)](){const _0x4b61ad=_0x274083;this[_0x4b61ad(0x1c3)][_0x4b61ad(0x1db)](this[_0x4b61ad(0x1c4)][_0x4b61ad(0x1c3)]);}[_0x274083(0x1e5)](){const _0x17fa6e=_0x274083,_0x38103e=new _0x35f761(),_0x2cfe26=this[_0x17fa6e(0x1e3)],_0x42f351=new _0x21af91();return _0x42f351[_0x17fa6e(0x1a0)]=!0x0,_0x38103e[_0x17fa6e(0x198)]({'tag':_0x17fa6e(0x1ce),'attributes':{'class':['ck',_0x17fa6e(0x1d7)]},'children':[_0x42f351,{'text':_0x52be61(_0x2cfe26,_0x17fa6e(0x1a8))}]}),_0x38103e[_0x17fa6e(0x19b)](),_0x38103e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xa6a5a6,_0x467978){const _0x23af38=_0x2aae,_0x405cff=_0xa6a5a6();while(!![]){try{const _0x3fbc28=parseInt(_0x23af38(0xae))/0x1*(-parseInt(_0x23af38(0xa9))/0x2)+parseInt(_0x23af38(0xac))/0x3*(parseInt(_0x23af38(0xb7))/0x4)+parseInt(_0x23af38(0xaa))/0x5+-parseInt(_0x23af38(0xaf))/0x6*(-parseInt(_0x23af38(0xb8))/0x7)+parseInt(_0x23af38(0xa8))/0x8*(parseInt(_0x23af38(0xb6))/0x9)+-parseInt(_0x23af38(0xb0))/0xa+-parseInt(_0x23af38(0xb3))/0xb;if(_0x3fbc28===_0x467978)break;else _0x405cff['push'](_0x405cff['shift']());}catch(_0x3bc2cf){_0x405cff['push'](_0x405cff['shift']());}}}(_0xbd2c,0xd9d9c));function _0x2aae(_0x50d318,_0x37a953){const _0xbd2c10=_0xbd2c();return _0x2aae=function(_0x2aaeca,_0x1049b2){_0x2aaeca=_0x2aaeca-0xa7;let _0x429bce=_0xbd2c10[_0x2aaeca];return _0x429bce;},_0x2aae(_0x50d318,_0x37a953);}import{View as _0x7b8c8,IconView as _0x49ceca}from'ckeditor5/src/ui.js';function _0xbd2c(){const _0x45ad48=['695736NZnKlm','2hanXqB','918455BneJUh','text','3948339UlLSrB','div','863753NLCUsG','6uVsEQg','7142220HXyidd','setTemplate','ck-ai-form__error','12092707bDboKv','set','bindTemplate','135GiTRGO','4brWOjo','5357233ejXeHm','content'];_0xbd2c=function(){return _0x45ad48;};return _0xbd2c();}import _0x594440 from'../../../theme/icons/error.svg';export default class mt extends _0x7b8c8{constructor(_0x367fcb,_0x348f49=''){const _0xfb8093=_0x2aae;super(_0x367fcb);const _0x2327b7=new _0x49ceca(),_0x499fac=this[_0xfb8093(0xb5)];this[_0xfb8093(0xb4)](_0xfb8093(0xab),_0x348f49),_0x2327b7[_0xfb8093(0xa7)]=_0x594440,this[_0xfb8093(0xb1)]({'tag':_0xfb8093(0xad),'attributes':{'class':['ck',_0xfb8093(0xb2)]},'children':[_0x2327b7,{'text':_0x499fac['to'](_0xfb8093(0xab))}]});}}
23
+ (function(_0x1033ed,_0x15db2f){const _0x4d191f=_0xe920,_0x13fe23=_0x1033ed();while(!![]){try{const _0x241336=parseInt(_0x4d191f(0x12b))/0x1*(parseInt(_0x4d191f(0x124))/0x2)+-parseInt(_0x4d191f(0x121))/0x3+-parseInt(_0x4d191f(0x126))/0x4+-parseInt(_0x4d191f(0x128))/0x5*(-parseInt(_0x4d191f(0x11d))/0x6)+parseInt(_0x4d191f(0x12a))/0x7*(-parseInt(_0x4d191f(0x11b))/0x8)+parseInt(_0x4d191f(0x11c))/0x9*(-parseInt(_0x4d191f(0x120))/0xa)+-parseInt(_0x4d191f(0x129))/0xb*(-parseInt(_0x4d191f(0x11e))/0xc);if(_0x241336===_0x15db2f)break;else _0x13fe23['push'](_0x13fe23['shift']());}catch(_0x4c3584){_0x13fe23['push'](_0x13fe23['shift']());}}}(_0x5a2e,0xb824e));import{View as _0x5b7041,IconView as _0x2bf98c}from'ckeditor5/src/ui.js';import _0x43aa21 from'../../../theme/icons/error.svg';function _0xe920(_0xd3e74c,_0x5c26c7){const _0x5a2e10=_0x5a2e();return _0xe920=function(_0xe920ad,_0x5491ce){_0xe920ad=_0xe920ad-0x119;let _0x2c5bbb=_0x5a2e10[_0xe920ad];return _0x2c5bbb;},_0xe920(_0xd3e74c,_0x5c26c7);}function _0x5a2e(){const _0x57bac8=['30544Fkurol','18ZdyCqw','6RGwVNM','1468956cELBEP','div','5697130qqQBVN','958248UoJKcm','ck-ai-form__error','text','398470PiyOfe','bindTemplate','2644600oPMLGa','setTemplate','5667995ytCAYC','143mkooFa','1918uOKaTO','6QbAfUB','content','set'];_0x5a2e=function(){return _0x57bac8;};return _0x5a2e();}export default class mt extends _0x5b7041{constructor(_0x23e731,_0x4682b1=''){const _0x5c13d3=_0xe920;super(_0x23e731);const _0x4a702c=new _0x2bf98c(),_0x478fa9=this[_0x5c13d3(0x125)];this[_0x5c13d3(0x11a)](_0x5c13d3(0x123),_0x4682b1),_0x4a702c[_0x5c13d3(0x119)]=_0x43aa21,this[_0x5c13d3(0x127)]({'tag':_0x5c13d3(0x11f),'attributes':{'class':['ck',_0x5c13d3(0x122)]},'children':[_0x4a702c,{'text':_0x478fa9['to'](_0x5c13d3(0x123))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x365bf0=_0x1ab5;(function(_0x8657b6,_0x535522){const _0xb39615=_0x1ab5,_0x41eaa5=_0x8657b6();while(!![]){try{const _0x4bff38=-parseInt(_0xb39615(0x1ff))/0x1+-parseInt(_0xb39615(0x1d4))/0x2+parseInt(_0xb39615(0x1d0))/0x3+-parseInt(_0xb39615(0x1e1))/0x4*(parseInt(_0xb39615(0x1d5))/0x5)+-parseInt(_0xb39615(0x1f1))/0x6*(parseInt(_0xb39615(0x1fb))/0x7)+parseInt(_0xb39615(0x205))/0x8*(-parseInt(_0xb39615(0x1cd))/0x9)+-parseInt(_0xb39615(0x1dc))/0xa*(-parseInt(_0xb39615(0x1cf))/0xb);if(_0x4bff38===_0x535522)break;else _0x41eaa5['push'](_0x41eaa5['shift']());}catch(_0x33ab3d){_0x41eaa5['push'](_0x41eaa5['shift']());}}}(_0x5e72,0xb1c12));import{Rect as _0x255518,global as _0x20dc33,isVisible as _0x23d63a}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x161345,ButtonView as _0x48a421}from'ckeditor5/src/ui.js';import{icons as _0x1165b9}from'ckeditor5/src/core.js';import{getTranslation as _0x40679d}from'../../utils/common-translations.js';import _0x1660be from'../../../theme/icons/submit.svg';export default class pt extends _0x161345{constructor(_0x203f2a,_0x5d5ebb){const _0x12003c=_0x1ab5;super(_0x203f2a,_0x5d5ebb),this[_0x12003c(0x1d6)][_0x12003c(0x203)][_0x12003c(0x1e5)]=0x1,this[_0x12003c(0x1d6)][_0x12003c(0x203)][_0x12003c(0x1fa)]=0x3,this[_0x12003c(0x1d2)]=this[_0x12003c(0x1e4)](),this[_0x12003c(0x1e7)]=this[_0x12003c(0x201)](),this[_0x12003c(0x1f4)][_0x12003c(0x1fe)](this[_0x12003c(0x1e7)],0x1),this[_0x12003c(0x1f4)][_0x12003c(0x1fe)](this[_0x12003c(0x1d2)]);}[_0x365bf0(0x1fc)](){const _0x508a79=_0x365bf0;super[_0x508a79(0x1fc)](),this[_0x508a79(0x1d6)][_0x508a79(0x1ec)][_0x508a79(0x1fe)](this[_0x508a79(0x1e7)]),this[_0x508a79(0x1e0)][_0x508a79(0x1fe)](this[_0x508a79(0x1d2)]),this[_0x508a79(0x1d9)][_0x508a79(0x1f3)](_0x508a79(0x1fd),(_0x2aeb23,_0x456833)=>{const _0x46301b=_0x508a79;_0x2aeb23[_0x46301b(0x1f2)]==this[_0x46301b(0x1d6)][_0x46301b(0x203)][_0x46301b(0x1f6)]&&(this[_0x46301b(0x200)](),_0x456833());});}[_0x365bf0(0x1e4)](){const _0x4b64e5=_0x365bf0,_0x1f9885=new _0x48a421(this[_0x4b64e5(0x1e9)]),_0x83d3cc=this[_0x4b64e5(0x1e9)];return _0x1f9885[_0x4b64e5(0x1f3)]({'icon':_0x1660be,'label':_0x40679d(_0x83d3cc,_0x4b64e5(0x206)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4b64e5(0x1df)}),_0x1f9885['on'](_0x4b64e5(0x204),()=>{const _0x5aab7=_0x4b64e5;this[_0x5aab7(0x200)]();}),_0x1f9885[_0x4b64e5(0x202)](_0x4b64e5(0x1eb))['to'](this[_0x4b64e5(0x1d6)][_0x4b64e5(0x203)],_0x4b64e5(0x1de),this,_0x4b64e5(0x1eb),(_0x4b91b3,_0x1de186)=>!_0x4b91b3&&_0x1de186),_0x1f9885;}[_0x365bf0(0x201)](){const _0x17d643=_0x365bf0,_0x472c18=new _0x48a421(this[_0x17d643(0x1e9)]),_0xad51da=this[_0x17d643(0x1f7)],_0x3e28ed=this[_0x17d643(0x1e9)];_0x472c18[_0x17d643(0x1f3)]({'label':_0x40679d(_0x3e28ed,_0x17d643(0x1e3)),'withText':!0x1,'icon':_0x1165b9[_0x17d643(0x1e8)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x17d643(0x1d3)}),_0x472c18[_0x17d643(0x202)](_0x17d643(0x1ef))['to'](_0xad51da,_0x17d643(0x1d1)),_0x472c18[_0x17d643(0x202)](_0x17d643(0x1eb))['to'](this,_0x17d643(0x1eb)),_0x472c18['on'](_0x17d643(0x204),()=>{const _0x136c1b=_0x17d643;_0xad51da[_0x136c1b(0x1d1)]=!_0xad51da[_0x136c1b(0x1d1)],_0xad51da[_0x136c1b(0x1d1)]?this[_0x136c1b(0x1e6)][_0x136c1b(0x1d7)]():this[_0x136c1b(0x1d7)]();});const _0x443c08=()=>{const _0x10bee4=_0x17d643;_0x20dc33[_0x10bee4(0x1f9)][_0x10bee4(0x1e2)](()=>{const _0x5b4848=_0x10bee4;if(_0x23d63a(this[_0x5b4848(0x1f6)])){const _0x3346a6=new _0x255518(this[_0x5b4848(0x1d6)][_0x5b4848(0x203)][_0x5b4848(0x1f6)]),_0x525087=_0x3346a6[_0x5b4848(0x1ea)],_0x321459=_0x5b4848(0x1f5)===_0x3e28ed[_0x5b4848(0x1d8)]?_0x5b4848(0x1ed):_0x5b4848(0x1dd);_0x3346a6[_0x5b4848(0x1cc)](),_0x472c18[_0x5b4848(0x1f6)][_0x5b4848(0x1f0)][_0x321459]=_0x525087-_0x3346a6[_0x5b4848(0x1ea)]+0x1+'px';}});};return this[_0x17d643(0x1d6)][_0x17d643(0x203)]['on'](_0x17d643(0x1cb),_0x443c08),this['on'](_0x17d643(0x1fc),_0x443c08),_0x472c18;}[_0x365bf0(0x200)](){const _0x398c2f=_0x365bf0,_0x295faa=this[_0x398c2f(0x1d6)][_0x398c2f(0x203)][_0x398c2f(0x1f6)][_0x398c2f(0x1db)];this[_0x398c2f(0x1da)](_0x398c2f(0x200),_0x295faa);}[_0x365bf0(0x1d7)](_0xf3f0f7){const _0x1fe4b6=_0x365bf0;-0x1===_0xf3f0f7?this[_0x1fe4b6(0x1ce)][_0x1fe4b6(0x1ee)]():this[_0x1fe4b6(0x1ce)][_0x1fe4b6(0x1f8)]();}}function _0x1ab5(_0x46957c,_0x5fe3aa){const _0x5e723a=_0x5e72();return _0x1ab5=function(_0x1ab511,_0x13b128){_0x1ab511=_0x1ab511-0x1cb;let _0x10368a=_0x5e723a[_0x1ab511];return _0x10368a;},_0x1ab5(_0x46957c,_0x5fe3aa);}function _0x5e72(){const _0xc3c56c=['5wsGGxA','queryView','focus','uiLanguageDirection','keystrokes','fire','value','10iPOcbG','right','isEmpty','ck-ai-form__submit','children','1737140ccAHCj','requestAnimationFrame','History','_createSubmitButton','minRows','filteredView','showHistoryButtonView','history','locale','width','isEnabled','fieldWrapperChildren','left','focusLast','isOn','style','914574KIWcNe','target','set','focusableChildren','rtl','element','resultsView','focusFirst','window','maxRows','35hiuDax','render','enter','add','1233843FcjFsT','submit','_createShowHistoryButton','bind','fieldView','execute','8aBEXfe','Submit','update','excludeScrollbarsAndBorders','5292234tyYREB','focusCycler','28531613lceyeR','4125105yjUytw','isVisible','submitButtonView','ck-ai-form__toggle-history','444874IxJTlb'];_0x5e72=function(){return _0xc3c56c;};return _0x5e72();}
23
+ const _0x56f0c8=_0x2279;function _0x4402(){const _0xa86dbb=['4DpWqbB','focusFirst','submitButtonView','locale','uiLanguageDirection','filteredView','bind','focusCycler','focusLast','right','excludeScrollbarsAndBorders','4917375deGlVG','execute','style','Submit','element','children','3795610BIAXpX','_createSubmitButton','ck-ai-form__submit','add','window','minRows','render','left','213330sMzFHo','isEmpty','1055864nUiNpk','594393mpFBoX','rtl','1832ZaEPlI','showHistoryButtonView','resultsView','isVisible','647005vqGXhx','update','ck-ai-form__toggle-history','width','keystrokes','125CqJJhU','fieldWrapperChildren','isEnabled','fire','fieldView','focusableChildren','isOn','88GrWFoh','target','queryView','submit','maxRows','value','set','focus','_createShowHistoryButton','6RnPfll','history','requestAnimationFrame','History','enter'];_0x4402=function(){return _0xa86dbb;};return _0x4402();}(function(_0x4f1b00,_0x295a21){const _0x510979=_0x2279,_0x559b40=_0x4f1b00();while(!![]){try{const _0x385b00=-parseInt(_0x510979(0xb6))/0x1*(parseInt(_0x510979(0xad))/0x2)+-parseInt(_0x510979(0xab))/0x3*(parseInt(_0x510979(0xcb))/0x4)+parseInt(_0x510979(0xb1))/0x5*(parseInt(_0x510979(0xc6))/0x6)+parseInt(_0x510979(0xa0))/0x7+-parseInt(_0x510979(0xaa))/0x8+parseInt(_0x510979(0x9a))/0x9+parseInt(_0x510979(0xa8))/0xa*(-parseInt(_0x510979(0xbd))/0xb);if(_0x385b00===_0x295a21)break;else _0x559b40['push'](_0x559b40['shift']());}catch(_0x54b3b2){_0x559b40['push'](_0x559b40['shift']());}}}(_0x4402,0x93268));import{Rect as _0x31722b,global as _0x391bb9,isVisible as _0x14bdfd}from'ckeditor5/src/utils.js';import{AutocompleteView as _0xb7c8d3,ButtonView as _0x38f106}from'ckeditor5/src/ui.js';import{icons as _0x25eb47}from'ckeditor5/src/core.js';function _0x2279(_0x241504,_0x3a2d16){const _0x4402a0=_0x4402();return _0x2279=function(_0x22793b,_0x222695){_0x22793b=_0x22793b-0x90;let _0x22769b=_0x4402a0[_0x22793b];return _0x22769b;},_0x2279(_0x241504,_0x3a2d16);}import{getTranslation as _0x41ebc3}from'../../utils/common-translations.js';import _0x393d2a from'../../../theme/icons/submit.svg';export default class pt extends _0xb7c8d3{constructor(_0x2973f6,_0x4adf95){const _0x15b085=_0x2279;super(_0x2973f6,_0x4adf95),this[_0x15b085(0xbf)][_0x15b085(0xba)][_0x15b085(0xa5)]=0x1,this[_0x15b085(0xbf)][_0x15b085(0xba)][_0x15b085(0xc1)]=0x3,this[_0x15b085(0x91)]=this[_0x15b085(0xa1)](),this[_0x15b085(0xae)]=this[_0x15b085(0xc5)](),this[_0x15b085(0xbb)][_0x15b085(0xa3)](this[_0x15b085(0xae)],0x1),this[_0x15b085(0xbb)][_0x15b085(0xa3)](this[_0x15b085(0x91)]);}[_0x56f0c8(0xa6)](){const _0x37ecb2=_0x56f0c8;super[_0x37ecb2(0xa6)](),this[_0x37ecb2(0xbf)][_0x37ecb2(0xb7)][_0x37ecb2(0xa3)](this[_0x37ecb2(0xae)]),this[_0x37ecb2(0x9f)][_0x37ecb2(0xa3)](this[_0x37ecb2(0x91)]),this[_0x37ecb2(0xb5)][_0x37ecb2(0xc3)](_0x37ecb2(0xca),(_0x28c977,_0x105d7c)=>{const _0x2e3b31=_0x37ecb2;_0x28c977[_0x2e3b31(0xbe)]==this[_0x2e3b31(0xbf)][_0x2e3b31(0xba)][_0x2e3b31(0x9e)]&&(this[_0x2e3b31(0xc0)](),_0x105d7c());});}[_0x56f0c8(0xa1)](){const _0x27c246=_0x56f0c8,_0x2e522d=new _0x38f106(this[_0x27c246(0x92)]),_0x55a2a5=this[_0x27c246(0x92)];return _0x2e522d[_0x27c246(0xc3)]({'icon':_0x393d2a,'label':_0x41ebc3(_0x55a2a5,_0x27c246(0x9d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x27c246(0xa2)}),_0x2e522d['on'](_0x27c246(0x9b),()=>{const _0x325eda=_0x27c246;this[_0x325eda(0xc0)]();}),_0x2e522d[_0x27c246(0x95)](_0x27c246(0xb8))['to'](this[_0x27c246(0xbf)][_0x27c246(0xba)],_0x27c246(0xa9),this,_0x27c246(0xb8),(_0x93a5ee,_0xa932f0)=>!_0x93a5ee&&_0xa932f0),_0x2e522d;}[_0x56f0c8(0xc5)](){const _0x28068d=_0x56f0c8,_0x3023f9=new _0x38f106(this[_0x28068d(0x92)]),_0x331aa2=this[_0x28068d(0xaf)],_0x8a3cab=this[_0x28068d(0x92)];_0x3023f9[_0x28068d(0xc3)]({'label':_0x41ebc3(_0x8a3cab,_0x28068d(0xc9)),'withText':!0x1,'icon':_0x25eb47[_0x28068d(0xc7)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x28068d(0xb3)}),_0x3023f9[_0x28068d(0x95)](_0x28068d(0xbc))['to'](_0x331aa2,_0x28068d(0xb0)),_0x3023f9[_0x28068d(0x95)](_0x28068d(0xb8))['to'](this,_0x28068d(0xb8)),_0x3023f9['on'](_0x28068d(0x9b),()=>{const _0x13dfb4=_0x28068d;_0x331aa2[_0x13dfb4(0xb0)]=!_0x331aa2[_0x13dfb4(0xb0)],_0x331aa2[_0x13dfb4(0xb0)]?this[_0x13dfb4(0x94)][_0x13dfb4(0xc4)]():this[_0x13dfb4(0xc4)]();});const _0x4fc70d=()=>{const _0x33cd73=_0x28068d;_0x391bb9[_0x33cd73(0xa4)][_0x33cd73(0xc8)](()=>{const _0x461038=_0x33cd73;if(_0x14bdfd(this[_0x461038(0x9e)])){const _0x313119=new _0x31722b(this[_0x461038(0xbf)][_0x461038(0xba)][_0x461038(0x9e)]),_0x563b31=_0x313119[_0x461038(0xb4)],_0x24b113=_0x461038(0xac)===_0x8a3cab[_0x461038(0x93)]?_0x461038(0xa7):_0x461038(0x98);_0x313119[_0x461038(0x99)](),_0x3023f9[_0x461038(0x9e)][_0x461038(0x9c)][_0x24b113]=_0x563b31-_0x313119[_0x461038(0xb4)]+0x1+'px';}});};return this[_0x28068d(0xbf)][_0x28068d(0xba)]['on'](_0x28068d(0xb2),_0x4fc70d),this['on'](_0x28068d(0xa6),_0x4fc70d),_0x3023f9;}[_0x56f0c8(0xc0)](){const _0x9960ae=_0x56f0c8,_0x4200d5=this[_0x9960ae(0xbf)][_0x9960ae(0xba)][_0x9960ae(0x9e)][_0x9960ae(0xc2)];this[_0x9960ae(0xb9)](_0x9960ae(0xc0),_0x4200d5);}[_0x56f0c8(0xc4)](_0x5b9666){const _0x5304d1=_0x56f0c8;-0x1===_0x5b9666?this[_0x5304d1(0x96)][_0x5304d1(0x97)]():this[_0x5304d1(0x96)][_0x5304d1(0x90)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x10c1(_0x2a1bc1,_0x52a45e){const _0x48f6ea=_0x48f6();return _0x10c1=function(_0x10c154,_0x6ea4c0){_0x10c154=_0x10c154-0x19c;let _0x3f3d52=_0x48f6ea[_0x10c154];return _0x3f3d52;},_0x10c1(_0x2a1bc1,_0x52a45e);}const _0xa3bb56=_0x10c1;(function(_0x38f2c1,_0x489f96){const _0x27210c=_0x10c1,_0x38b64c=_0x38f2c1();while(!![]){try{const _0x525adc=-parseInt(_0x27210c(0x1ba))/0x1+parseInt(_0x27210c(0x1aa))/0x2*(-parseInt(_0x27210c(0x1a9))/0x3)+parseInt(_0x27210c(0x1ac))/0x4*(-parseInt(_0x27210c(0x1b7))/0x5)+parseInt(_0x27210c(0x1ae))/0x6+parseInt(_0x27210c(0x1a5))/0x7+parseInt(_0x27210c(0x19d))/0x8*(parseInt(_0x27210c(0x1b4))/0x9)+parseInt(_0x27210c(0x1af))/0xa;if(_0x525adc===_0x489f96)break;else _0x38b64c['push'](_0x38b64c['shift']());}catch(_0x5281bb){_0x38b64c['push'](_0x38b64c['shift']());}}}(_0x48f6,0xc5f6a));function _0x48f6(){const _0x84cdc9=['set','AI_','Stop','isVisible','ck-hidden','6963796qIhMdh','ck-button-action','extendTemplate','_CONTENT','3SqKvRR','1463866mtMmqZ','stopButton','4nWbfLD','insertButton','4655592aLBsDN','2504380yxtThC','ck-ai-form__toolbar','mainAction','replace','bind','56673shAQre','items','Try\x20again','2137805SbcyZj','locale','replaceButton','548309mRVPVu','_createButton','bindTemplate','REPLACE','label','Insert\x20below','tryAgainButton','insert','632SpgIlV','toUpperCase','addMany'];_0x48f6=function(){return _0x84cdc9;};return _0x48f6();}import{ToolbarView as _0x5a059a,ButtonView as _0x54d20e}from'ckeditor5/src/ui.js';import{getTranslation as _0x368626}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xa3bb56(0x1b2),'INSERT':_0xa3bb56(0x19c)};export default class Tt extends _0x5a059a{constructor(_0x3c602a){const _0x2a44cb=_0xa3bb56;super(_0x3c602a),this[_0x2a44cb(0x1a0)](_0x2a44cb(0x1a3),!0x1),this[_0x2a44cb(0x1a0)](_0x2a44cb(0x1b1),AIFormToolbarViewMainActionLabel[_0x2a44cb(0x1bd)]),this[_0x2a44cb(0x1b9)]=this[_0x2a44cb(0x1bb)]('',_0x2a44cb(0x1a6)),this[_0x2a44cb(0x1b9)][_0x2a44cb(0x1b3)](_0x2a44cb(0x1be))['to'](this,_0x2a44cb(0x1b1),_0x3037b7=>_0x368626(_0x3c602a,_0x2a44cb(0x1a1)+_0x3037b7[_0x2a44cb(0x19e)]()+_0x2a44cb(0x1a8))),this[_0x2a44cb(0x1ad)]=this[_0x2a44cb(0x1bb)](_0x368626(_0x3c602a,_0x2a44cb(0x1bf))),this[_0x2a44cb(0x1c0)]=this[_0x2a44cb(0x1bb)](_0x368626(_0x3c602a,_0x2a44cb(0x1b6))),this[_0x2a44cb(0x1ab)]=this[_0x2a44cb(0x1bb)](_0x368626(_0x3c602a,_0x2a44cb(0x1a2)));const _0x1efda8=this[_0x2a44cb(0x1bc)];this[_0x2a44cb(0x1a7)]({'attributes':{'class':[_0x2a44cb(0x1b0),_0x1efda8['if'](_0x2a44cb(0x1a3),_0x2a44cb(0x1a4),_0x49aa54=>!_0x49aa54)]}}),this[_0x2a44cb(0x1b5)][_0x2a44cb(0x19f)]([this[_0x2a44cb(0x1b9)],this[_0x2a44cb(0x1ad)],this[_0x2a44cb(0x1c0)],this[_0x2a44cb(0x1ab)]]);}[_0xa3bb56(0x1bb)](_0x52a265,_0x430bb0){const _0x399e37=_0xa3bb56,_0x29c0e3=new _0x54d20e(this[_0x399e37(0x1b8)]);return _0x29c0e3[_0x399e37(0x1a0)]({'label':_0x52a265,'class':_0x430bb0||'','isVisible':!0x0,'withText':!0x0}),_0x29c0e3;}}
23
+ function _0x4686(_0x5de30d,_0x9b4205){const _0x41393b=_0x4139();return _0x4686=function(_0x46864b,_0x57252c){_0x46864b=_0x46864b-0x7f;let _0x1523a8=_0x41393b[_0x46864b];return _0x1523a8;},_0x4686(_0x5de30d,_0x9b4205);}const _0xe62e4c=_0x4686;(function(_0x3f47ce,_0x24f3f9){const _0x500a1a=_0x4686,_0x10c2c6=_0x3f47ce();while(!![]){try{const _0x2f177a=-parseInt(_0x500a1a(0x9b))/0x1+parseInt(_0x500a1a(0x90))/0x2*(-parseInt(_0x500a1a(0x89))/0x3)+parseInt(_0x500a1a(0x98))/0x4+-parseInt(_0x500a1a(0x82))/0x5*(-parseInt(_0x500a1a(0x8a))/0x6)+parseInt(_0x500a1a(0x8e))/0x7*(parseInt(_0x500a1a(0x96))/0x8)+parseInt(_0x500a1a(0x8d))/0x9*(-parseInt(_0x500a1a(0x85))/0xa)+parseInt(_0x500a1a(0x8f))/0xb;if(_0x2f177a===_0x24f3f9)break;else _0x10c2c6['push'](_0x10c2c6['shift']());}catch(_0x1ca10b){_0x10c2c6['push'](_0x10c2c6['shift']());}}}(_0x4139,0x43384));import{ToolbarView as _0x665844,ButtonView as _0x28df40}from'ckeditor5/src/ui.js';import{getTranslation as _0x563046}from'../../utils/common-translations.js';function _0x4139(){const _0xa3ea03=['items','mainAction','71752mMgBSG','extendTemplate','1589868qpNnOh','isVisible','insertButton','331458MVPEFI','replace','bind','AI_','Stop','bindTemplate','locale','set','_CONTENT','toUpperCase','ck-ai-form__toolbar','replaceButton','addMany','5sLKYoe','ck-hidden','label','246790WIMyRT','stopButton','Try\x20again','Insert\x20below','6XJcCFO','1711194SdrsIA','_createButton','tryAgainButton','9ePWBWR','91htfPcT','3183180GIsZlc','457174kdivFr','REPLACE','insert','ck-button-action'];_0x4139=function(){return _0xa3ea03;};return _0x4139();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xe62e4c(0x9c),'INSERT':_0xe62e4c(0x92)};export default class Tt extends _0x665844{constructor(_0x390e50){const _0x3131bf=_0xe62e4c;super(_0x390e50),this[_0x3131bf(0xa2)](_0x3131bf(0x99),!0x1),this[_0x3131bf(0xa2)](_0x3131bf(0x95),AIFormToolbarViewMainActionLabel[_0x3131bf(0x91)]),this[_0x3131bf(0x80)]=this[_0x3131bf(0x8b)]('',_0x3131bf(0x93)),this[_0x3131bf(0x80)][_0x3131bf(0x9d)](_0x3131bf(0x84))['to'](this,_0x3131bf(0x95),_0x2105ec=>_0x563046(_0x390e50,_0x3131bf(0x9e)+_0x2105ec[_0x3131bf(0xa4)]()+_0x3131bf(0xa3))),this[_0x3131bf(0x9a)]=this[_0x3131bf(0x8b)](_0x563046(_0x390e50,_0x3131bf(0x88))),this[_0x3131bf(0x8c)]=this[_0x3131bf(0x8b)](_0x563046(_0x390e50,_0x3131bf(0x87))),this[_0x3131bf(0x86)]=this[_0x3131bf(0x8b)](_0x563046(_0x390e50,_0x3131bf(0x9f)));const _0x222607=this[_0x3131bf(0xa0)];this[_0x3131bf(0x97)]({'attributes':{'class':[_0x3131bf(0x7f),_0x222607['if'](_0x3131bf(0x99),_0x3131bf(0x83),_0x1dbcfd=>!_0x1dbcfd)]}}),this[_0x3131bf(0x94)][_0x3131bf(0x81)]([this[_0x3131bf(0x80)],this[_0x3131bf(0x9a)],this[_0x3131bf(0x8c)],this[_0x3131bf(0x86)]]);}[_0xe62e4c(0x8b)](_0x43d407,_0x466cd9){const _0x3245c5=_0xe62e4c,_0x1be490=new _0x28df40(this[_0x3245c5(0xa1)]);return _0x1be490[_0x3245c5(0xa2)]({'label':_0x43d407,'class':_0x466cd9||'','isVisible':!0x0,'withText':!0x0}),_0x1be490;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54134b=_0x1cdc;(function(_0x26ec23,_0xe7b7a0){const _0x2cf5ba=_0x1cdc,_0x6c451=_0x26ec23();while(!![]){try{const _0x26afe8=-parseInt(_0x2cf5ba(0x196))/0x1+-parseInt(_0x2cf5ba(0x19a))/0x2*(parseInt(_0x2cf5ba(0x1ab))/0x3)+parseInt(_0x2cf5ba(0x15e))/0x4+parseInt(_0x2cf5ba(0x167))/0x5*(parseInt(_0x2cf5ba(0x162))/0x6)+parseInt(_0x2cf5ba(0x1a6))/0x7*(-parseInt(_0x2cf5ba(0x165))/0x8)+-parseInt(_0x2cf5ba(0x168))/0x9+parseInt(_0x2cf5ba(0x164))/0xa;if(_0x26afe8===_0xe7b7a0)break;else _0x6c451['push'](_0x6c451['shift']());}catch(_0x17c9c4){_0x6c451['push'](_0x6c451['shift']());}}}(_0xb5d3,0x761a3));import{FocusTracker as _0x18e1d2,KeystrokeHandler as _0x206142}from'ckeditor5/src/utils.js';import{View as _0x1f4237,FocusCycler as _0xc28876,createLabeledTextarea as _0x5c40b6}from'ckeditor5/src/ui.js';import _0x22404b,{AIFormToolbarViewMainActionLabel as _0x162772}from'./aiformtoolbarview.js';import _0x297510 from'./aiformcontentarea.js';import _0xa5c759 from'./aiformerrorview.js';import _0xd16fe from'./aiformpromptview.js';import _0x2df2ad from'./aihistorylistview.js';import _0x2962f1 from'./aihistorylistitemview.js';import _0x2d3f8c from'./prompthistory.js';import{getTranslation as _0x4ecd2f}from'../../utils/common-translations.js';function _0x1cdc(_0x3bbf71,_0x18271a){const _0xb5d333=_0xb5d3();return _0x1cdc=function(_0x1cdca9,_0xf47001){_0x1cdca9=_0x1cdca9-0x15b;let _0x1d8a20=_0xb5d333[_0x1cdca9];return _0x1d8a20;},_0x1cdc(_0x3bbf71,_0x18271a);}function _0xb5d3(){const _0x2f56d4=['8310303SgdGbZ','render','ck-hidden','execute','insertContentBelow','replaceContent','forwardCycle','locale','queryView','fire','focusCycler','prompt','stopButton','setTemplate','isEnabled','mainAction','_createHistoryView','stopProcessing','focusTracker','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','promptView','createCollection','contentArea','bindTo','text','search','AI_ERROR_FAILED','_promptHistory','element','reset','copyButtonView','handleError','submitPrompt','isProcessing','high','delegate','errorView','bindTemplate','trim','listenTo','_createToolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','isError','finishProcessing','div','add','137384ReHPSb','REPLACE','Empty\x20history','bind','13142svmcZN','historyGroupView','items','focusPrevious','submit','focusLast','focusFirst','_focusables','stop','tab','toolbar','clear','575974UstbAd','ck-ai-form','replaceButton','value','_createPromptView','93KopeId','focus','tryAgainButton','Ask\x20AI\x20to\x20improve\x20generated\x20text','insertButton','tryAgainEvent','focusNext','clearHistory','label','fieldView','startProcessing','isVisible','3456476sDogaS','ck-ai-form-content','backwardCycle','set','6LvVUJx','keystrokes','9949440ZoiZPP','32WwPPyI','shift\x20+\x20tab','1091320tENvXV'];_0xb5d3=function(){return _0x2f56d4;};return _0xb5d3();}import{escape as _0x45a6b8}from'lodash-es';export default class x extends _0x1f4237{constructor(_0x51b628,_0x15752c,_0x5d2077=''){const _0x4a9455=_0x1cdc;super(_0x51b628),this[_0x4a9455(0x161)](_0x4a9455(0x176),!0x0),this[_0x4a9455(0x161)](_0x4a9455(0x189),!0x1),this[_0x4a9455(0x161)](_0x4a9455(0x173),''),this[_0x4a9455(0x161)](_0x4a9455(0x1a9),''),this[_0x4a9455(0x161)](_0x4a9455(0x192),!0x1),this[_0x4a9455(0x161)](_0x4a9455(0x177),_0x162772[_0x4a9455(0x197)]),this[_0x4a9455(0x183)]=new _0x2d3f8c(),this[_0x4a9455(0x18c)]=new _0xa5c759(_0x51b628),this[_0x4a9455(0x17e)]=new _0x297510(_0x51b628,_0x5d2077),this[_0x4a9455(0x17e)][_0x4a9455(0x199)](_0x4a9455(0x189))['to'](this),this[_0x4a9455(0x17e)][_0x4a9455(0x199)](_0x4a9455(0x1a9))['to'](this),this[_0x4a9455(0x1a4)]=this[_0x4a9455(0x190)](),this[_0x4a9455(0x1a4)][_0x4a9455(0x199)](_0x4a9455(0x177))['to'](this),this[_0x4a9455(0x17c)]=this[_0x4a9455(0x1aa)](),this[_0x4a9455(0x17a)]=new _0x18e1d2(),this[_0x4a9455(0x163)]=new _0x206142(),this[_0x4a9455(0x1a1)]=this[_0x4a9455(0x17d)]([this[_0x4a9455(0x17e)],this[_0x4a9455(0x17e)][_0x4a9455(0x186)],this[_0x4a9455(0x1a4)],this[_0x4a9455(0x17c)]]),this[_0x4a9455(0x172)]=new _0xc28876({'focusables':this[_0x4a9455(0x1a1)],'focusTracker':this[_0x4a9455(0x17a)],'keystrokeHandler':this[_0x4a9455(0x163)],'actions':{'focusPrevious':_0x4a9455(0x166),'focusNext':_0x4a9455(0x1a3)}}),this[_0x4a9455(0x17c)][_0x4a9455(0x172)]['on'](_0x4a9455(0x16e),_0x1b8987=>{const _0xea2a34=_0x4a9455;this[_0xea2a34(0x172)][_0xea2a34(0x1b1)](),_0x1b8987[_0xea2a34(0x1a2)]();}),this[_0x4a9455(0x17c)][_0x4a9455(0x172)]['on'](_0x4a9455(0x160),_0x1c5f59=>{const _0x2d40e9=_0x4a9455;this[_0x2d40e9(0x172)][_0x2d40e9(0x19d)](),_0x1c5f59[_0x2d40e9(0x1a2)]();}),this[_0x4a9455(0x17c)][_0x4a9455(0x170)][_0x4a9455(0x15b)][_0x4a9455(0x199)](_0x4a9455(0x1a9))['to'](this,_0x4a9455(0x173));const _0x1609d1=this[_0x4a9455(0x18d)];this[_0x4a9455(0x175)]({'tag':_0x4a9455(0x194),'attributes':{'class':['ck',_0x4a9455(0x1a7),_0x15752c],'tabindex':'-1'},'children':[{'tag':_0x4a9455(0x194),'attributes':{'class':['ck',_0x4a9455(0x15f)]},'children':[{'tag':_0x4a9455(0x194),'attributes':{'class':[_0x1609d1['if'](_0x4a9455(0x192),_0x4a9455(0x16a),_0x4e894e=>!_0x4e894e)]},'children':[this[_0x4a9455(0x18c)]]},this[_0x4a9455(0x17e)],this[_0x4a9455(0x1a4)],this[_0x4a9455(0x17c)]]}]});}[_0x54134b(0x169)](){const _0x274f6e=_0x54134b;super[_0x274f6e(0x169)](),this[_0x274f6e(0x17a)][_0x274f6e(0x195)](this[_0x274f6e(0x17e)][_0x274f6e(0x184)]),this[_0x274f6e(0x17a)][_0x274f6e(0x195)](this[_0x274f6e(0x17e)][_0x274f6e(0x186)][_0x274f6e(0x184)]),this[_0x274f6e(0x17a)][_0x274f6e(0x195)](this[_0x274f6e(0x1a4)][_0x274f6e(0x184)]),this[_0x274f6e(0x17a)][_0x274f6e(0x195)](this[_0x274f6e(0x17c)][_0x274f6e(0x184)]),this[_0x274f6e(0x163)][_0x274f6e(0x18f)](this[_0x274f6e(0x184)]);}[_0x54134b(0x1ac)](_0x420afd=0x1){const _0x53a26e=_0x54134b;-0x1===_0x420afd?this[_0x53a26e(0x172)][_0x53a26e(0x19f)]():this[_0x53a26e(0x172)][_0x53a26e(0x1a0)]();}[_0x54134b(0x185)](){const _0x11ee8e=_0x54134b;this[_0x11ee8e(0x173)]='',this[_0x11ee8e(0x1a9)]='',this[_0x11ee8e(0x192)]=!0x1,this[_0x11ee8e(0x17c)][_0x11ee8e(0x185)](),this[_0x11ee8e(0x17e)][_0x11ee8e(0x15d)]=!0x1,this[_0x11ee8e(0x1a4)][_0x11ee8e(0x15d)]=!0x1;}[_0x54134b(0x1aa)](){const _0x3ab71b=_0x54134b,_0x1563d9=this[_0x3ab71b(0x16f)],_0x28c6a6=new _0xd16fe(_0x1563d9,{'queryView':{'label':_0x4ecd2f(_0x1563d9,_0x3ab71b(0x191)),'creator':_0x5c40b6,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4ecd2f(_0x1563d9,_0x3ab71b(0x198)),'secondary':_0x4ecd2f(_0x1563d9,_0x3ab71b(0x17b))}}},'filteredView':this[_0x3ab71b(0x178)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x28c6a6[_0x3ab71b(0x199)](_0x3ab71b(0x176))['to'](this,_0x3ab71b(0x176),this,_0x3ab71b(0x189),(_0x283fa2,_0x21bdb4)=>_0x283fa2&&!_0x21bdb4),this[_0x3ab71b(0x18f)](_0x28c6a6,_0x3ab71b(0x19e),(_0x2e0351,_0x5b463f)=>{const _0x17fd8b=_0x3ab71b;this[_0x17fd8b(0x173)]=_0x5b463f;const _0x2606ba=_0x45a6b8(_0x5b463f);this[_0x17fd8b(0x171)](_0x17fd8b(0x188),_0x2606ba),_0x5b463f[_0x17fd8b(0x18e)]()&&this[_0x17fd8b(0x183)][_0x17fd8b(0x195)]({'prompt':_0x2606ba},0x0);},{'priority':_0x3ab71b(0x18a)}),_0x28c6a6;}[_0x54134b(0x178)](){const _0x321045=_0x54134b,_0x5dc71d=new _0x2df2ad(this[_0x321045(0x16f)]);return _0x5dc71d[_0x321045(0x19b)][_0x321045(0x19c)][_0x321045(0x17f)](this[_0x321045(0x183)])['as'](_0x2962f1),_0x5dc71d['on'](_0x321045(0x1b2),()=>{const _0x3d9081=_0x321045;this[_0x3d9081(0x183)][_0x3d9081(0x1a5)](),this[_0x3d9081(0x17c)][_0x3d9081(0x181)](''),this[_0x3d9081(0x17c)][_0x3d9081(0x1ac)]();}),_0x5dc71d;}[_0x54134b(0x190)](){const _0x438207=_0x54134b,_0x244b9b=new _0x22404b(this[_0x438207(0x16f)]);return _0x244b9b[_0x438207(0x1a8)][_0x438207(0x199)](_0x438207(0x176))['to'](this,_0x438207(0x176),this,_0x438207(0x189),this,_0x438207(0x1a9),(_0x341425,_0x19640a,_0x4da0e8)=>_0x341425&&!_0x19640a&&!!_0x4da0e8),_0x244b9b[_0x438207(0x1a8)][_0x438207(0x18b)](_0x438207(0x16b))['to'](this,_0x438207(0x16d)),_0x244b9b[_0x438207(0x1af)][_0x438207(0x199)](_0x438207(0x176))['to'](this,_0x438207(0x176),this,_0x438207(0x189),this,_0x438207(0x1a9),(_0x14d6f9,_0x5892bf,_0x1284ee)=>_0x14d6f9&&!_0x5892bf&&!!_0x1284ee),_0x244b9b[_0x438207(0x1af)][_0x438207(0x18b)](_0x438207(0x16b))['to'](this,_0x438207(0x16c)),_0x244b9b[_0x438207(0x1ad)][_0x438207(0x199)](_0x438207(0x176))['to'](this,_0x438207(0x176),this,_0x438207(0x189),(_0x376776,_0x2a2056)=>_0x376776&&!_0x2a2056),_0x244b9b[_0x438207(0x1ad)][_0x438207(0x18b)](_0x438207(0x16b))['to'](this,_0x438207(0x1b0)),_0x244b9b[_0x438207(0x174)][_0x438207(0x199)](_0x438207(0x176))['to'](this,_0x438207(0x189)),_0x244b9b[_0x438207(0x174)][_0x438207(0x18b)](_0x438207(0x16b))['to'](this,_0x438207(0x179)),_0x244b9b;}[_0x54134b(0x15c)](){const _0x319124=_0x54134b;this[_0x319124(0x1a9)]='',this[_0x319124(0x192)]=!0x1,this[_0x319124(0x189)]=!0x0,this[_0x319124(0x17e)][_0x319124(0x15d)]=!0x0,this[_0x319124(0x1a4)][_0x319124(0x15d)]=!0x0,this[_0x319124(0x17e)][_0x319124(0x1ac)]();}[_0x54134b(0x193)](){const _0x3de4c4=_0x54134b,_0x28a201=this[_0x3de4c4(0x16f)];this[_0x3de4c4(0x189)]=!0x1,this[_0x3de4c4(0x173)]='',this[_0x3de4c4(0x17c)][_0x3de4c4(0x185)](),this[_0x3de4c4(0x1a9)]&&(this[_0x3de4c4(0x17c)][_0x3de4c4(0x170)][_0x3de4c4(0x1b3)]=_0x4ecd2f(_0x28a201,_0x3de4c4(0x1ae)));}[_0x54134b(0x187)](_0x1097b3){const _0x1e676b=_0x54134b,_0x31d1be=this[_0x1e676b(0x16f)];this[_0x1e676b(0x193)](),this[_0x1e676b(0x192)]=!0x0,this[_0x1e676b(0x18c)][_0x1e676b(0x180)]=_0x1097b3||_0x4ecd2f(_0x31d1be,_0x1e676b(0x182)),this[_0x1e676b(0x1a9)]||(this[_0x1e676b(0x17e)][_0x1e676b(0x15d)]=!0x1);}}
23
+ const _0x34e942=_0x141d;(function(_0x14dad4,_0x12a846){const _0x35cabf=_0x141d,_0x5c8efe=_0x14dad4();while(!![]){try{const _0x59d1ca=parseInt(_0x35cabf(0xb0))/0x1*(parseInt(_0x35cabf(0xb4))/0x2)+-parseInt(_0x35cabf(0xe9))/0x3+parseInt(_0x35cabf(0xcc))/0x4*(parseInt(_0x35cabf(0xe7))/0x5)+-parseInt(_0x35cabf(0xe1))/0x6+parseInt(_0x35cabf(0xee))/0x7+-parseInt(_0x35cabf(0xed))/0x8*(-parseInt(_0x35cabf(0xd1))/0x9)+-parseInt(_0x35cabf(0xd4))/0xa*(-parseInt(_0x35cabf(0xfa))/0xb);if(_0x59d1ca===_0x12a846)break;else _0x5c8efe['push'](_0x5c8efe['shift']());}catch(_0x359b6b){_0x5c8efe['push'](_0x5c8efe['shift']());}}}(_0x39af,0x6687a));import{FocusTracker as _0x57c682,KeystrokeHandler as _0x42ea23}from'ckeditor5/src/utils.js';import{View as _0x31ce29,FocusCycler as _0xe467eb,createLabeledTextarea as _0x2aef99}from'ckeditor5/src/ui.js';import _0x2b849d,{AIFormToolbarViewMainActionLabel as _0x1aef17}from'./aiformtoolbarview.js';import _0x2fe880 from'./aiformcontentarea.js';import _0x3a5765 from'./aiformerrorview.js';import _0x4c8bad from'./aiformpromptview.js';function _0x39af(){const _0x11b215=['3614106zGVcnb','tab','listenTo','execute','value','label','5RmdmVb','finishProcessing','2000382rblrdQ','focusLast','_promptHistory','element','18896lmUsHW','1600879QaxWxZ','fire','queryView','REPLACE','_createToolbar','fieldView','high','handleError','locale','render','errorView','insertContentBelow','3806zGHwdc','delegate','items','toolbar','historyGroupView','bind','reset','clear','set','replaceButton','_createHistoryView','tryAgainButton','ck-ai-form-content','isProcessing','focusPrevious','bindTemplate','1XyPAhB','ck-hidden','bindTo','focusTracker','223984GVhuqb','prompt','isError','keystrokes','submit','replaceContent','ck-ai-form','trim','mainAction','Ask\x20AI\x20to\x20improve\x20generated\x20text','submitPrompt','div','AI_ERROR_FAILED','focusFirst','focusNext','Empty\x20history','stopButton','backwardCycle','stopProcessing','stop','promptView','startProcessing','setTemplate','tryAgainEvent','1249200ICRqnN','forwardCycle','isVisible','_createPromptView','search','3033WhTsnA','copyButtonView','add','6940OxMUuI','_focusables','shift\x20+\x20tab','insertButton','clearHistory','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isEnabled','focusCycler','Ask\x20AI\x20to\x20edit\x20or\x20generate','contentArea','focus','createCollection','text'];_0x39af=function(){return _0x11b215;};return _0x39af();}import _0x2c5818 from'./aihistorylistview.js';import _0x48c0cd from'./aihistorylistitemview.js';import _0x4889f0 from'./prompthistory.js';function _0x141d(_0x34c75f,_0x5955e0){const _0x39af79=_0x39af();return _0x141d=function(_0x141dc1,_0x212c64){_0x141dc1=_0x141dc1-0xa4;let _0x3593ce=_0x39af79[_0x141dc1];return _0x3593ce;},_0x141d(_0x34c75f,_0x5955e0);}import{getTranslation as _0x5cda64}from'../../utils/common-translations.js';import{escape as _0x3b362f}from'lodash-es';export default class x extends _0x31ce29{constructor(_0x83ed88,_0x2e2ee1,_0x119303=''){const _0x55463b=_0x141d;super(_0x83ed88),this[_0x55463b(0xa8)](_0x55463b(0xda),!0x0),this[_0x55463b(0xa8)](_0x55463b(0xad),!0x1),this[_0x55463b(0xa8)](_0x55463b(0xb5),''),this[_0x55463b(0xa8)](_0x55463b(0xe5),''),this[_0x55463b(0xa8)](_0x55463b(0xb6),!0x1),this[_0x55463b(0xa8)](_0x55463b(0xbc),_0x1aef17[_0x55463b(0xf1)]),this[_0x55463b(0xeb)]=new _0x4889f0(),this[_0x55463b(0xf8)]=new _0x3a5765(_0x83ed88),this[_0x55463b(0xdd)]=new _0x2fe880(_0x83ed88,_0x119303),this[_0x55463b(0xdd)][_0x55463b(0xa5)](_0x55463b(0xad))['to'](this),this[_0x55463b(0xdd)][_0x55463b(0xa5)](_0x55463b(0xe5))['to'](this),this[_0x55463b(0xfd)]=this[_0x55463b(0xf2)](),this[_0x55463b(0xfd)][_0x55463b(0xa5)](_0x55463b(0xbc))['to'](this),this[_0x55463b(0xc8)]=this[_0x55463b(0xcf)](),this[_0x55463b(0xb3)]=new _0x57c682(),this[_0x55463b(0xb7)]=new _0x42ea23(),this[_0x55463b(0xd5)]=this[_0x55463b(0xdf)]([this[_0x55463b(0xdd)],this[_0x55463b(0xdd)][_0x55463b(0xd2)],this[_0x55463b(0xfd)],this[_0x55463b(0xc8)]]),this[_0x55463b(0xdb)]=new _0xe467eb({'focusables':this[_0x55463b(0xd5)],'focusTracker':this[_0x55463b(0xb3)],'keystrokeHandler':this[_0x55463b(0xb7)],'actions':{'focusPrevious':_0x55463b(0xd6),'focusNext':_0x55463b(0xe2)}}),this[_0x55463b(0xc8)][_0x55463b(0xdb)]['on'](_0x55463b(0xcd),_0x334e83=>{const _0xa12b9=_0x55463b;this[_0xa12b9(0xdb)][_0xa12b9(0xc2)](),_0x334e83[_0xa12b9(0xc7)]();}),this[_0x55463b(0xc8)][_0x55463b(0xdb)]['on'](_0x55463b(0xc5),_0x4558cc=>{const _0x32d5f9=_0x55463b;this[_0x32d5f9(0xdb)][_0x32d5f9(0xae)](),_0x4558cc[_0x32d5f9(0xc7)]();}),this[_0x55463b(0xc8)][_0x55463b(0xf0)][_0x55463b(0xf3)][_0x55463b(0xa5)](_0x55463b(0xe5))['to'](this,_0x55463b(0xb5));const _0x479acb=this[_0x55463b(0xaf)];this[_0x55463b(0xca)]({'tag':_0x55463b(0xbf),'attributes':{'class':['ck',_0x55463b(0xba),_0x2e2ee1],'tabindex':'-1'},'children':[{'tag':_0x55463b(0xbf),'attributes':{'class':['ck',_0x55463b(0xac)]},'children':[{'tag':_0x55463b(0xbf),'attributes':{'class':[_0x479acb['if'](_0x55463b(0xb6),_0x55463b(0xb1),_0x83494b=>!_0x83494b)]},'children':[this[_0x55463b(0xf8)]]},this[_0x55463b(0xdd)],this[_0x55463b(0xfd)],this[_0x55463b(0xc8)]]}]});}[_0x34e942(0xf7)](){const _0x17e8fb=_0x34e942;super[_0x17e8fb(0xf7)](),this[_0x17e8fb(0xb3)][_0x17e8fb(0xd3)](this[_0x17e8fb(0xdd)][_0x17e8fb(0xec)]),this[_0x17e8fb(0xb3)][_0x17e8fb(0xd3)](this[_0x17e8fb(0xdd)][_0x17e8fb(0xd2)][_0x17e8fb(0xec)]),this[_0x17e8fb(0xb3)][_0x17e8fb(0xd3)](this[_0x17e8fb(0xfd)][_0x17e8fb(0xec)]),this[_0x17e8fb(0xb3)][_0x17e8fb(0xd3)](this[_0x17e8fb(0xc8)][_0x17e8fb(0xec)]),this[_0x17e8fb(0xb7)][_0x17e8fb(0xe3)](this[_0x17e8fb(0xec)]);}[_0x34e942(0xde)](_0x54e169=0x1){const _0x39a1c5=_0x34e942;-0x1===_0x54e169?this[_0x39a1c5(0xdb)][_0x39a1c5(0xea)]():this[_0x39a1c5(0xdb)][_0x39a1c5(0xc1)]();}[_0x34e942(0xa6)](){const _0x5202ef=_0x34e942;this[_0x5202ef(0xb5)]='',this[_0x5202ef(0xe5)]='',this[_0x5202ef(0xb6)]=!0x1,this[_0x5202ef(0xc8)][_0x5202ef(0xa6)](),this[_0x5202ef(0xdd)][_0x5202ef(0xce)]=!0x1,this[_0x5202ef(0xfd)][_0x5202ef(0xce)]=!0x1;}[_0x34e942(0xcf)](){const _0xaad359=_0x34e942,_0x1d759d=this[_0xaad359(0xf6)],_0x144784=new _0x4c8bad(_0x1d759d,{'queryView':{'label':_0x5cda64(_0x1d759d,_0xaad359(0xdc)),'creator':_0x2aef99,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5cda64(_0x1d759d,_0xaad359(0xc3)),'secondary':_0x5cda64(_0x1d759d,_0xaad359(0xd9))}}},'filteredView':this[_0xaad359(0xaa)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x144784[_0xaad359(0xa5)](_0xaad359(0xda))['to'](this,_0xaad359(0xda),this,_0xaad359(0xad),(_0x1e7665,_0xeb8628)=>_0x1e7665&&!_0xeb8628),this[_0xaad359(0xe3)](_0x144784,_0xaad359(0xb8),(_0x52da9a,_0x409916)=>{const _0x50cdc9=_0xaad359;this[_0x50cdc9(0xb5)]=_0x409916;const _0x50065e=_0x3b362f(_0x409916);this[_0x50cdc9(0xef)](_0x50cdc9(0xbe),_0x50065e),_0x409916[_0x50cdc9(0xbb)]()&&this[_0x50cdc9(0xeb)][_0x50cdc9(0xd3)]({'prompt':_0x50065e},0x0);},{'priority':_0xaad359(0xf4)}),_0x144784;}[_0x34e942(0xaa)](){const _0x11d6bd=_0x34e942,_0x2850fa=new _0x2c5818(this[_0x11d6bd(0xf6)]);return _0x2850fa[_0x11d6bd(0xa4)][_0x11d6bd(0xfc)][_0x11d6bd(0xb2)](this[_0x11d6bd(0xeb)])['as'](_0x48c0cd),_0x2850fa['on'](_0x11d6bd(0xd8),()=>{const _0xca3563=_0x11d6bd;this[_0xca3563(0xeb)][_0xca3563(0xa7)](),this[_0xca3563(0xc8)][_0xca3563(0xd0)](''),this[_0xca3563(0xc8)][_0xca3563(0xde)]();}),_0x2850fa;}[_0x34e942(0xf2)](){const _0x415358=_0x34e942,_0x49e1d9=new _0x2b849d(this[_0x415358(0xf6)]);return _0x49e1d9[_0x415358(0xa9)][_0x415358(0xa5)](_0x415358(0xda))['to'](this,_0x415358(0xda),this,_0x415358(0xad),this,_0x415358(0xe5),(_0x491dc0,_0x2b8b1e,_0x4adc11)=>_0x491dc0&&!_0x2b8b1e&&!!_0x4adc11),_0x49e1d9[_0x415358(0xa9)][_0x415358(0xfb)](_0x415358(0xe4))['to'](this,_0x415358(0xb9)),_0x49e1d9[_0x415358(0xd7)][_0x415358(0xa5)](_0x415358(0xda))['to'](this,_0x415358(0xda),this,_0x415358(0xad),this,_0x415358(0xe5),(_0x4c1051,_0x2c7350,_0x147276)=>_0x4c1051&&!_0x2c7350&&!!_0x147276),_0x49e1d9[_0x415358(0xd7)][_0x415358(0xfb)](_0x415358(0xe4))['to'](this,_0x415358(0xf9)),_0x49e1d9[_0x415358(0xab)][_0x415358(0xa5)](_0x415358(0xda))['to'](this,_0x415358(0xda),this,_0x415358(0xad),(_0x87ce42,_0x12e1d7)=>_0x87ce42&&!_0x12e1d7),_0x49e1d9[_0x415358(0xab)][_0x415358(0xfb)](_0x415358(0xe4))['to'](this,_0x415358(0xcb)),_0x49e1d9[_0x415358(0xc4)][_0x415358(0xa5)](_0x415358(0xda))['to'](this,_0x415358(0xad)),_0x49e1d9[_0x415358(0xc4)][_0x415358(0xfb)](_0x415358(0xe4))['to'](this,_0x415358(0xc6)),_0x49e1d9;}[_0x34e942(0xc9)](){const _0x5bfc31=_0x34e942;this[_0x5bfc31(0xe5)]='',this[_0x5bfc31(0xb6)]=!0x1,this[_0x5bfc31(0xad)]=!0x0,this[_0x5bfc31(0xdd)][_0x5bfc31(0xce)]=!0x0,this[_0x5bfc31(0xfd)][_0x5bfc31(0xce)]=!0x0,this[_0x5bfc31(0xdd)][_0x5bfc31(0xde)]();}[_0x34e942(0xe8)](){const _0x3afe3b=_0x34e942,_0x29086b=this[_0x3afe3b(0xf6)];this[_0x3afe3b(0xad)]=!0x1,this[_0x3afe3b(0xb5)]='',this[_0x3afe3b(0xc8)][_0x3afe3b(0xa6)](),this[_0x3afe3b(0xe5)]&&(this[_0x3afe3b(0xc8)][_0x3afe3b(0xf0)][_0x3afe3b(0xe6)]=_0x5cda64(_0x29086b,_0x3afe3b(0xbd)));}[_0x34e942(0xf5)](_0x29afdb){const _0x1c12ea=_0x34e942,_0x4b9ddd=this[_0x1c12ea(0xf6)];this[_0x1c12ea(0xe8)](),this[_0x1c12ea(0xb6)]=!0x0,this[_0x1c12ea(0xf8)][_0x1c12ea(0xe0)]=_0x29afdb||_0x5cda64(_0x4b9ddd,_0x1c12ea(0xc0)),this[_0x1c12ea(0xe5)]||(this[_0x1c12ea(0xdd)][_0x1c12ea(0xce)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1717dc,_0x3ce2dd){const _0x4682f7=_0x4a35,_0x17bfeb=_0x1717dc();while(!![]){try{const _0x2f2b7d=parseInt(_0x4682f7(0xd1))/0x1+-parseInt(_0x4682f7(0xde))/0x2*(-parseInt(_0x4682f7(0xd6))/0x3)+-parseInt(_0x4682f7(0xdd))/0x4+parseInt(_0x4682f7(0xe1))/0x5+-parseInt(_0x4682f7(0xd7))/0x6*(parseInt(_0x4682f7(0xdc))/0x7)+parseInt(_0x4682f7(0xe0))/0x8*(parseInt(_0x4682f7(0xd3))/0x9)+parseInt(_0x4682f7(0xd8))/0xa*(-parseInt(_0x4682f7(0xd9))/0xb);if(_0x2f2b7d===_0x3ce2dd)break;else _0x17bfeb['push'](_0x17bfeb['shift']());}catch(_0x4a27fe){_0x17bfeb['push'](_0x17bfeb['shift']());}}}(_0x51b8,0x9a8fe));import{ListItemView as _0x1de6d9,ButtonView as _0x4b098f}from'ckeditor5/src/ui.js';import _0x2cb0c7 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x38baca}from'lodash-es';export default class hs extends _0x1de6d9{constructor(_0x12806b){const _0x5f0df3=_0x4a35;super();const _0x1f9aac=new _0x2cb0c7(),_0x175faf=new _0x4b098f(this[_0x5f0df3(0xd2)],_0x1f9aac);this[_0x5f0df3(0xdb)][_0x5f0df3(0xda)](_0x175faf),_0x175faf[_0x5f0df3(0xd5)]({'label':_0x12806b[_0x5f0df3(0xd4)],'withText':!0x0}),_0x175faf['on'](_0x5f0df3(0xe2),()=>{const _0x1ef41f=_0x5f0df3;this[_0x1ef41f(0xdf)](_0x1ef41f(0xe2),{'value':_0x38baca(_0x12806b[_0x1ef41f(0xd4)])});});}}function _0x4a35(_0x13bc97,_0x595478){const _0x51b8d3=_0x51b8();return _0x4a35=function(_0x4a353d,_0xe8cba8){_0x4a353d=_0x4a353d-0xd1;let _0x431845=_0x51b8d3[_0x4a353d];return _0x431845;},_0x4a35(_0x13bc97,_0x595478);}function _0x51b8(){const _0xa87873=['5934015arMflq','execute','733111zpXYfV','locale','18wlaooj','prompt','set','107637XFKihS','258cVWYuJ','263560tFgOih','605RgFXvy','add','children','41041lAUWtb','1892504IvFyIL','34QDqQCD','fire','1112176riBJEs'];_0x51b8=function(){return _0xa87873;};return _0x51b8();}
23
+ (function(_0x4de5f6,_0xfb280a){const _0x2cd814=_0x2c18,_0x59f381=_0x4de5f6();while(!![]){try{const _0x31532f=-parseInt(_0x2cd814(0x106))/0x1+parseInt(_0x2cd814(0x10a))/0x2+parseInt(_0x2cd814(0x110))/0x3*(-parseInt(_0x2cd814(0x103))/0x4)+parseInt(_0x2cd814(0x108))/0x5*(parseInt(_0x2cd814(0x104))/0x6)+parseInt(_0x2cd814(0x102))/0x7*(parseInt(_0x2cd814(0x10b))/0x8)+-parseInt(_0x2cd814(0x100))/0x9*(parseInt(_0x2cd814(0x10e))/0xa)+parseInt(_0x2cd814(0x105))/0xb*(parseInt(_0x2cd814(0x10c))/0xc);if(_0x31532f===_0xfb280a)break;else _0x59f381['push'](_0x59f381['shift']());}catch(_0x5c74de){_0x59f381['push'](_0x59f381['shift']());}}}(_0x30c8,0x72d37));import{ListItemView as _0x505904,ButtonView as _0x4bd6b7}from'ckeditor5/src/ui.js';import _0x1b6789 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x4e5489}from'lodash-es';function _0x30c8(){const _0x2b830a=['368PLhUCD','12KWMAkm','add','2370fJBQzP','execute','63219PSBtRN','prompt','set','29970hAeKNC','children','2086XoTJRg','68ywbAmU','18hJjQkw','16739602KdEbRZ','836211mmjnJV','fire','864355sgKpjH','locale','799772kyvQVw'];_0x30c8=function(){return _0x2b830a;};return _0x30c8();}function _0x2c18(_0x50854c,_0x3b7640){const _0x30c83e=_0x30c8();return _0x2c18=function(_0x2c1851,_0x5ebbc1){_0x2c1851=_0x2c1851-0x100;let _0x590413=_0x30c83e[_0x2c1851];return _0x590413;},_0x2c18(_0x50854c,_0x3b7640);}export default class hs extends _0x505904{constructor(_0x352213){const _0x158c0a=_0x2c18;super();const _0xc9bc96=new _0x1b6789(),_0x38590f=new _0x4bd6b7(this[_0x158c0a(0x109)],_0xc9bc96);this[_0x158c0a(0x101)][_0x158c0a(0x10d)](_0x38590f),_0x38590f[_0x158c0a(0x112)]({'label':_0x352213[_0x158c0a(0x111)],'withText':!0x0}),_0x38590f['on'](_0x158c0a(0x10f),()=>{const _0x47cf5d=_0x158c0a;this[_0x47cf5d(0x107)](_0x47cf5d(0x10f),{'value':_0x4e5489(_0x352213[_0x47cf5d(0x111)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b1fff=_0x53f8;(function(_0x257e74,_0x5947fc){const _0x28f53f=_0x53f8,_0xdefb3e=_0x257e74();while(!![]){try{const _0x27b68c=-parseInt(_0x28f53f(0x102))/0x1*(-parseInt(_0x28f53f(0x107))/0x2)+-parseInt(_0x28f53f(0xef))/0x3+parseInt(_0x28f53f(0x104))/0x4*(parseInt(_0x28f53f(0x101))/0x5)+parseInt(_0x28f53f(0xf7))/0x6*(parseInt(_0x28f53f(0x106))/0x7)+-parseInt(_0x28f53f(0xee))/0x8*(-parseInt(_0x28f53f(0xec))/0x9)+parseInt(_0x28f53f(0xf1))/0xa*(parseInt(_0x28f53f(0xfd))/0xb)+-parseInt(_0x28f53f(0xf8))/0xc;if(_0x27b68c===_0x5947fc)break;else _0xdefb3e['push'](_0xdefb3e['shift']());}catch(_0x202c45){_0xdefb3e['push'](_0xdefb3e['shift']());}}}(_0x2396,0xb0b28));import{ListView as _0x1dc48c,ListItemGroupView as _0x411b0f,ButtonView as _0x4426a3}from'ckeditor5/src/ui.js';function _0x53f8(_0x28f295,_0x59e71e){const _0x23965c=_0x2396();return _0x53f8=function(_0x53f82f,_0x90c419){_0x53f82f=_0x53f82f-0xeb;let _0x553bf7=_0x23965c[_0x53f82f];return _0x553bf7;},_0x53f8(_0x28f295,_0x59e71e);}function _0x2396(){const _0x26fc1a=['clearHistory','4blnVWx','execute','3899FmAuPa','250870IvPofK','children','342nRscyZ','label','116184wIEoKr','3972390VOrDEV','_createClearHistoryButton','1780aVyTNb','clearHistoryButton','Clear','add','length','delegate','9426kleplQ','3547116ClXcEA','historyGroupView','items','set','Prompt\x20history','24464lVoFDt','locale','fire','filter','721885eYKINf','3scOYuu'];_0x2396=function(){return _0x26fc1a;};return _0x2396();}import{getTranslation as _0xf3a8cd}from'../../utils/common-translations.js';export default class rs extends _0x1dc48c{constructor(_0x58e0d0){const _0x493b9a=_0x53f8;super(_0x58e0d0),this[_0x493b9a(0xf2)]=this[_0x493b9a(0xf0)](),this[_0x493b9a(0xf9)]=new _0x411b0f(),this[_0x493b9a(0xf9)][_0x493b9a(0xeb)][_0x493b9a(0xf4)](this[_0x493b9a(0xf2)],0x1),this[_0x493b9a(0xf9)][_0x493b9a(0xed)]=_0xf3a8cd(_0x58e0d0,_0x493b9a(0xfc)),this[_0x493b9a(0xf9)][_0x493b9a(0xfa)][_0x493b9a(0xf6)](_0x493b9a(0x105))['to'](this),this[_0x493b9a(0xfa)][_0x493b9a(0xf4)](this[_0x493b9a(0xf9)]);}[_0x1b1fff(0x100)](){const _0x1e5ef4=_0x1b1fff;let _0x32de8b=0x0;for(const _0x2d7da3 of this[_0x1e5ef4(0xfa)])_0x32de8b+=_0x2d7da3[_0x1e5ef4(0xfa)][_0x1e5ef4(0xf5)];return{'resultsCount':_0x32de8b,'totalItemsCount':_0x32de8b};}[_0x1b1fff(0xf0)](){const _0x59ba0b=_0x1b1fff,_0x491d2e=this[_0x59ba0b(0xfe)],_0x435282=new _0x4426a3(this[_0x59ba0b(0xfe)]);return _0x435282[_0x59ba0b(0xfb)]({'label':'('+_0xf3a8cd(_0x491d2e,_0x59ba0b(0xf3))+')','withText':!0x0}),_0x435282['on'](_0x59ba0b(0x105),()=>this[_0x59ba0b(0xff)](_0x59ba0b(0x103))),_0x435282;}}
23
+ const _0x2e8392=_0x32d8;(function(_0x68d005,_0x310d6c){const _0x3bab0d=_0x32d8,_0x1bd279=_0x68d005();while(!![]){try{const _0x123597=parseInt(_0x3bab0d(0x1a1))/0x1*(parseInt(_0x3bab0d(0x195))/0x2)+-parseInt(_0x3bab0d(0x194))/0x3*(-parseInt(_0x3bab0d(0x19b))/0x4)+-parseInt(_0x3bab0d(0x1a7))/0x5*(parseInt(_0x3bab0d(0x1a8))/0x6)+parseInt(_0x3bab0d(0x19a))/0x7*(parseInt(_0x3bab0d(0x1a9))/0x8)+-parseInt(_0x3bab0d(0x19e))/0x9+parseInt(_0x3bab0d(0x196))/0xa*(parseInt(_0x3bab0d(0x1a3))/0xb)+-parseInt(_0x3bab0d(0x192))/0xc*(parseInt(_0x3bab0d(0x199))/0xd);if(_0x123597===_0x310d6c)break;else _0x1bd279['push'](_0x1bd279['shift']());}catch(_0x53d77c){_0x1bd279['push'](_0x1bd279['shift']());}}}(_0x5340,0xedc5a));import{ListView as _0x590cf4,ListItemGroupView as _0xe6480a,ButtonView as _0x4d8d65}from'ckeditor5/src/ui.js';import{getTranslation as _0x21fd2e}from'../../utils/common-translations.js';function _0x32d8(_0x39c598,_0x5e55ea){const _0x534003=_0x5340();return _0x32d8=function(_0x32d83d,_0xf06b39){_0x32d83d=_0x32d83d-0x190;let _0x118f89=_0x534003[_0x32d83d];return _0x118f89;},_0x32d8(_0x39c598,_0x5e55ea);}function _0x5340(){const _0x13656f=['12ELdERk','historyGroupView','784596vKizOH','2VBvmsu','60ZifDJT','children','locale','14905618fJumwi','385MOOFZi','8dxRFzD','fire','Prompt\x20history','2791359vQwzDO','items','clearHistory','1068779mVnwQg','clearHistoryButton','3180419jvUgqx','Clear','length','_createClearHistoryButton','15UESksA','3157362USEJzD','99304QELxAk','add','delegate','filter','set','label','execute'];_0x5340=function(){return _0x13656f;};return _0x5340();}export default class rs extends _0x590cf4{constructor(_0x11bda3){const _0x1c3312=_0x32d8;super(_0x11bda3),this[_0x1c3312(0x1a2)]=this[_0x1c3312(0x1a6)](),this[_0x1c3312(0x193)]=new _0xe6480a(),this[_0x1c3312(0x193)][_0x1c3312(0x197)][_0x1c3312(0x1aa)](this[_0x1c3312(0x1a2)],0x1),this[_0x1c3312(0x193)][_0x1c3312(0x190)]=_0x21fd2e(_0x11bda3,_0x1c3312(0x19d)),this[_0x1c3312(0x193)][_0x1c3312(0x19f)][_0x1c3312(0x1ab)](_0x1c3312(0x191))['to'](this),this[_0x1c3312(0x19f)][_0x1c3312(0x1aa)](this[_0x1c3312(0x193)]);}[_0x2e8392(0x1ac)](){const _0x2f5535=_0x2e8392;let _0x295586=0x0;for(const _0x3943c3 of this[_0x2f5535(0x19f)])_0x295586+=_0x3943c3[_0x2f5535(0x19f)][_0x2f5535(0x1a5)];return{'resultsCount':_0x295586,'totalItemsCount':_0x295586};}[_0x2e8392(0x1a6)](){const _0x106d87=_0x2e8392,_0xb3b70e=this[_0x106d87(0x198)],_0x2f0e6f=new _0x4d8d65(this[_0x106d87(0x198)]);return _0x2f0e6f[_0x106d87(0x1ad)]({'label':'('+_0x21fd2e(_0xb3b70e,_0x106d87(0x1a4))+')','withText':!0x0}),_0x2f0e6f['on'](_0x106d87(0x191),()=>this[_0x106d87(0x19c)](_0x106d87(0x1a0))),_0x2f0e6f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1954f9=_0x4363;(function(_0x441b4a,_0xfec4de){const _0x1a7b1e=_0x4363,_0x305c4b=_0x441b4a();while(!![]){try{const _0x560583=-parseInt(_0x1a7b1e(0x161))/0x1+parseInt(_0x1a7b1e(0x167))/0x2*(-parseInt(_0x1a7b1e(0x16b))/0x3)+-parseInt(_0x1a7b1e(0x15e))/0x4+parseInt(_0x1a7b1e(0x166))/0x5+parseInt(_0x1a7b1e(0x16c))/0x6+parseInt(_0x1a7b1e(0x16d))/0x7+-parseInt(_0x1a7b1e(0x163))/0x8*(-parseInt(_0x1a7b1e(0x164))/0x9);if(_0x560583===_0xfec4de)break;else _0x305c4b['push'](_0x305c4b['shift']());}catch(_0x3947a5){_0x305c4b['push'](_0x305c4b['shift']());}}}(_0x3f49,0x40713));import{Collection as _0x4d8db9}from'ckeditor5/src/utils.js';function _0x4363(_0x29c70d,_0x39f818){const _0x3f496b=_0x3f49();return _0x4363=function(_0x436323,_0x26ebbe){_0x436323=_0x436323-0x158;let _0x1faff2=_0x3f496b[_0x436323];return _0x1faff2;},_0x4363(_0x29c70d,_0x39f818);}const cs=_0x1954f9(0x16f);function _0x3f49(){const _0xa8e29d=['268811ACMXmi','stringify','24672bJaAZR','2529laDYsn','toLowerCase','309630hoSScF','6sjyUyp','_saveToSessionStorage','getItem','setItem','507534MNVPCL','2123304hJFxfc','616595ZuItkk','map','CKEditor/AIFormView/PromptHistory','addMany','trim','parse','prompt','remove','add','length','1320796zlpdMc','last','_loadFromSessionStorage'];_0x3f49=function(){return _0xa8e29d;};return _0x3f49();}export default class os extends _0x4d8db9{constructor(){const _0x3dc4ea=_0x1954f9;super(),this[_0x3dc4ea(0x160)](),this['on'](_0x3dc4ea(0x15c),(_0x3094cf,_0x24b446)=>{const _0x273c47=_0x3dc4ea,_0x5e986a=Ss(_0x24b446[_0x273c47(0x15a)]);for(const _0xfb727c of this)if(_0xfb727c!=_0x24b446&&Ss(_0xfb727c[_0x273c47(0x15a)])===_0x5e986a){this[_0x273c47(0x15b)](_0xfb727c);break;}this[_0x273c47(0x15d)]>0x14&&this[_0x273c47(0x15b)](this[_0x273c47(0x15f)]),this[_0x273c47(0x168)]();}),this['on'](_0x3dc4ea(0x15b),()=>{const _0x203a86=_0x3dc4ea;this[_0x203a86(0x168)]();});}[_0x1954f9(0x160)](){const _0x23f5c0=_0x1954f9,_0x402347=sessionStorage[_0x23f5c0(0x169)](cs)||'[]';this[_0x23f5c0(0x170)](JSON[_0x23f5c0(0x159)](_0x402347));}[_0x1954f9(0x168)](){const _0x384a44=_0x1954f9;sessionStorage[_0x384a44(0x16a)](cs,JSON[_0x384a44(0x162)](this[_0x384a44(0x16e)](_0xb9957c=>_0xb9957c)));}}function Ss(_0x16cc11){const _0x114f43=_0x1954f9;return _0x16cc11[_0x114f43(0x165)]()[_0x114f43(0x158)]();}
23
+ const _0x439779=_0x9cd6;(function(_0x4d1edf,_0x426cf3){const _0x37eca1=_0x9cd6,_0x52a9b4=_0x4d1edf();while(!![]){try{const _0x43846d=-parseInt(_0x37eca1(0x8b))/0x1*(-parseInt(_0x37eca1(0x94))/0x2)+-parseInt(_0x37eca1(0xa4))/0x3+-parseInt(_0x37eca1(0xa1))/0x4*(parseInt(_0x37eca1(0xa5))/0x5)+-parseInt(_0x37eca1(0x9e))/0x6*(parseInt(_0x37eca1(0xa0))/0x7)+-parseInt(_0x37eca1(0x8d))/0x8+-parseInt(_0x37eca1(0x8e))/0x9*(-parseInt(_0x37eca1(0x97))/0xa)+parseInt(_0x37eca1(0x92))/0xb*(parseInt(_0x37eca1(0x99))/0xc);if(_0x43846d===_0x426cf3)break;else _0x52a9b4['push'](_0x52a9b4['shift']());}catch(_0x4f8ec8){_0x52a9b4['push'](_0x52a9b4['shift']());}}}(_0x28dd,0x6a642));import{Collection as _0x7a107a}from'ckeditor5/src/utils.js';function _0x9cd6(_0x21cf51,_0x2bbed5){const _0x28dd91=_0x28dd();return _0x9cd6=function(_0x9cd649,_0x415923){_0x9cd649=_0x9cd649-0x8b;let _0x3b0235=_0x28dd91[_0x9cd649];return _0x3b0235;},_0x9cd6(_0x21cf51,_0x2bbed5);}const cs=_0x439779(0x98);export default class os extends _0x7a107a{constructor(){const _0x10ec23=_0x439779;super(),this[_0x10ec23(0x91)](),this['on'](_0x10ec23(0x95),(_0x4fa0fa,_0x35e6e9)=>{const _0x3df628=_0x10ec23,_0x361b96=Ss(_0x35e6e9[_0x3df628(0x9d)]);for(const _0x378abf of this)if(_0x378abf!=_0x35e6e9&&Ss(_0x378abf[_0x3df628(0x9d)])===_0x361b96){this[_0x3df628(0xa2)](_0x378abf);break;}this[_0x3df628(0x9f)]>0x14&&this[_0x3df628(0xa2)](this[_0x3df628(0x9b)]),this[_0x3df628(0x9c)]();}),this['on'](_0x10ec23(0xa2),()=>{const _0x28f3b5=_0x10ec23;this[_0x28f3b5(0x9c)]();});}[_0x439779(0x91)](){const _0x1c2721=_0x439779,_0x57be6a=sessionStorage[_0x1c2721(0x9a)](cs)||'[]';this[_0x1c2721(0x8c)](JSON[_0x1c2721(0x96)](_0x57be6a));}[_0x439779(0x9c)](){const _0x17a4bd=_0x439779;sessionStorage[_0x17a4bd(0x90)](cs,JSON[_0x17a4bd(0x8f)](this[_0x17a4bd(0xa6)](_0x1ef105=>_0x1ef105)));}}function _0x28dd(){const _0x173bfc=['915183ehYIYG','30iKojAA','map','4345aZhGXi','addMany','2846824FeUvuo','1356084sFCYwX','stringify','setItem','_loadFromSessionStorage','15946436HzTzpm','trim','20dxwBgF','add','parse','10FTuPiP','CKEditor/AIFormView/PromptHistory','12WpLbSl','getItem','last','_saveToSessionStorage','prompt','75726OCyziE','length','42mlwpIZ','314256AlcmYR','remove','toLowerCase'];_0x28dd=function(){return _0x173bfc;};return _0x28dd();}function Ss(_0x3b1d05){const _0x49b504=_0x439779;return _0x3b1d05[_0x49b504(0xa3)]()[_0x49b504(0x93)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11e70b=_0x289a;function _0x289a(_0x37ffe6,_0x209821){const _0x3214c7=_0x3214();return _0x289a=function(_0x289a23,_0x40c16a){_0x289a23=_0x289a23-0x184;let _0x52d7fc=_0x3214c7[_0x289a23];return _0x52d7fc;},_0x289a(_0x37ffe6,_0x209821);}(function(_0x55b238,_0x16f2d5){const _0x4fb392=_0x289a,_0x3f9270=_0x55b238();while(!![]){try{const _0x42602e=-parseInt(_0x4fb392(0x196))/0x1+-parseInt(_0x4fb392(0x19b))/0x2*(parseInt(_0x4fb392(0x1af))/0x3)+-parseInt(_0x4fb392(0x19a))/0x4+-parseInt(_0x4fb392(0x185))/0x5+-parseInt(_0x4fb392(0x1a6))/0x6*(-parseInt(_0x4fb392(0x1a0))/0x7)+parseInt(_0x4fb392(0x18a))/0x8+parseInt(_0x4fb392(0x197))/0x9;if(_0x42602e===_0x16f2d5)break;else _0x3f9270['push'](_0x3f9270['shift']());}catch(_0x338ed6){_0x3f9270['push'](_0x3f9270['shift']());}}}(_0x3214,0x56c45));import{Command as _0x29b0f3}from'ckeditor5/src/core.js';import _0x8bc3d7 from'../aiassistantui.js';function _0x3214(){const _0x50a51c=['concat','7gxDrgw','set','model','element','isEnabled','_commandDefinitions','2799726LivjdB','selection','config','commands','getSelectedBlocks','name','_hasContext','reduce','change:_hasContext','1176666AIoWXH','document','showUI','3008440pOtQUc','includes','getFirstRange','from','editor','2294248IxEstq','isEmpty','get','plugins','getRanges','ai.aiAssistant.disabledElements','getItems','hasContent','refresh','add','requiresContent','execute','241379jkxJxe','8324973cUMOLz','enabledCommandsIds','custom','350852wSTOrc','2flCshR','length','change:isEnabled','isCollapsed'];_0x3214=function(){return _0x50a51c;};return _0x3214();}export default class j extends _0x29b0f3{constructor(_0x316414,_0x55b24c){const _0x3bbfe7=_0x289a;super(_0x316414),this[_0x3bbfe7(0x1a5)]=_0x55b24c?_0x55b24c[_0x3bbfe7(0x1ad)]((_0x42d173,_0xf26886)=>_0x42d173[_0x3bbfe7(0x19f)](_0xf26886[_0x3bbfe7(0x1a9)]),new Array()):[],this[_0x3bbfe7(0x1a1)](_0x3bbfe7(0x198),[]),this['on'](_0x3bbfe7(0x1ae),(_0x57aa72,_0x166d53,_0x539338)=>{const _0x4d63a3=_0x3bbfe7;this[_0x4d63a3(0x1a4)]&&(this[_0x4d63a3(0x198)]=K(this[_0x4d63a3(0x1a5)],_0x539338));}),this[_0x3bbfe7(0x1a1)](_0x3bbfe7(0x1ac),!0x1),this['on'](_0x3bbfe7(0x19d),(_0xa9e415,_0x4d161a,_0x126cd8)=>{const _0x10d80c=_0x3bbfe7;this[_0x10d80c(0x198)]=_0x126cd8?K(this[_0x10d80c(0x1a5)],this[_0x10d80c(0x1ac)]):[];});}[_0x11e70b(0x192)](){const _0x27320d=_0x11e70b,_0x53182c=this[_0x27320d(0x189)][_0x27320d(0x1a2)];this[_0x27320d(0x1ac)]=function(_0x229245){const _0x2c1b0b=_0x27320d,_0x297406=_0x229245[_0x2c1b0b(0x1b0)][_0x2c1b0b(0x1a7)];return _0x297406[_0x2c1b0b(0x19e)]?0x0!==[..._0x297406[_0x2c1b0b(0x1aa)]()][_0x2c1b0b(0x19c)]&&![..._0x297406[_0x2c1b0b(0x1aa)]()][0x0][_0x2c1b0b(0x18b)]:!!_0x229245[_0x2c1b0b(0x191)](_0x297406[_0x2c1b0b(0x187)]());}(_0x53182c);const _0x1ec846=_0x53182c[_0x27320d(0x1b0)][_0x27320d(0x1a7)],_0xbf9b7d=this[_0x27320d(0x189)][_0x27320d(0x1a8)][_0x27320d(0x18c)](_0x27320d(0x18f));for(const _0x252656 of _0x1ec846[_0x27320d(0x18e)]())for(const _0x162b16 of _0x252656[_0x27320d(0x190)]())if(_0x162b16['is'](_0x27320d(0x1a3))&&_0xbf9b7d[_0x27320d(0x186)](_0x162b16[_0x27320d(0x1ab)]))return void(this[_0x27320d(0x1a4)]=!0x1);this[_0x27320d(0x1a4)]=!0x0;}[_0x11e70b(0x195)](_0x34f1fb='',_0x2fc09c='',_0x13d33c=_0x11e70b(0x199)){const _0x5afab5=_0x11e70b;this[_0x5afab5(0x189)][_0x5afab5(0x18d)][_0x5afab5(0x18c)](_0x8bc3d7)[_0x5afab5(0x184)](_0x34f1fb,_0x2fc09c,_0x13d33c);}}function K(_0x544926,_0x49590a){const _0x47e5e8=_0x11e70b,_0x1cbdc8=new Set();for(const _0xb09229 of _0x544926)(_0x49590a||!0x1===_0xb09229[_0x47e5e8(0x194)])&&_0x1cbdc8[_0x47e5e8(0x193)](_0xb09229['id']);return Array[_0x47e5e8(0x188)](_0x1cbdc8);}
23
+ const _0x4abc50=_0x4b85;(function(_0x1eb716,_0x1bd42e){const _0xa3e404=_0x4b85,_0xfec778=_0x1eb716();while(!![]){try{const _0x7fc411=-parseInt(_0xa3e404(0x6b))/0x1+parseInt(_0xa3e404(0x7a))/0x2*(parseInt(_0xa3e404(0x94))/0x3)+parseInt(_0xa3e404(0x81))/0x4*(parseInt(_0xa3e404(0x71))/0x5)+-parseInt(_0xa3e404(0x78))/0x6*(-parseInt(_0xa3e404(0x88))/0x7)+parseInt(_0xa3e404(0x89))/0x8+parseInt(_0xa3e404(0x98))/0x9*(-parseInt(_0xa3e404(0x76))/0xa)+-parseInt(_0xa3e404(0x86))/0xb*(parseInt(_0xa3e404(0x83))/0xc);if(_0x7fc411===_0x1bd42e)break;else _0xfec778['push'](_0xfec778['shift']());}catch(_0x3edb5a){_0xfec778['push'](_0xfec778['shift']());}}}(_0x55b2,0xe159a));import{Command as _0x41eabd}from'ckeditor5/src/core.js';function _0x4b85(_0x36afe9,_0x45f71b){const _0x55b2da=_0x55b2();return _0x4b85=function(_0x4b8558,_0xa5e908){_0x4b8558=_0x4b8558-0x6b;let _0xa8ff4d=_0x55b2da[_0x4b8558];return _0xa8ff4d;},_0x4b85(_0x36afe9,_0x45f71b);}import _0x5b53c9 from'../aiassistantui.js';export default class j extends _0x41eabd{constructor(_0x537ec0,_0x4f6a07){const _0x561098=_0x4b85;super(_0x537ec0),this[_0x561098(0x85)]=_0x4f6a07?_0x4f6a07[_0x561098(0x8e)]((_0x39322f,_0x193fe6)=>_0x39322f[_0x561098(0x7d)](_0x193fe6[_0x561098(0x8c)]),new Array()):[],this[_0x561098(0x93)](_0x561098(0x7b),[]),this['on'](_0x561098(0x95),(_0x44e371,_0x2c83bd,_0x355247)=>{const _0x267408=_0x561098;this[_0x267408(0x97)]&&(this[_0x267408(0x7b)]=K(this[_0x267408(0x85)],_0x355247));}),this[_0x561098(0x93)](_0x561098(0x77),!0x1),this['on'](_0x561098(0x7e),(_0x57f806,_0xb760c3,_0x239476)=>{const _0x1f5d37=_0x561098;this[_0x1f5d37(0x7b)]=_0x239476?K(this[_0x1f5d37(0x85)],this[_0x1f5d37(0x77)]):[];});}[_0x4abc50(0x6c)](){const _0x5e6c9c=_0x4abc50,_0x31053e=this[_0x5e6c9c(0x91)][_0x5e6c9c(0x75)];this[_0x5e6c9c(0x77)]=function(_0x43ae1c){const _0x52dc59=_0x5e6c9c,_0x509230=_0x43ae1c[_0x52dc59(0x6d)][_0x52dc59(0x7c)];return _0x509230[_0x52dc59(0x84)]?0x0!==[..._0x509230[_0x52dc59(0x90)]()][_0x52dc59(0x92)]&&![..._0x509230[_0x52dc59(0x90)]()][0x0][_0x52dc59(0x72)]:!!_0x43ae1c[_0x52dc59(0x73)](_0x509230[_0x52dc59(0x9a)]());}(_0x31053e);const _0x14e9b1=_0x31053e[_0x5e6c9c(0x6d)][_0x5e6c9c(0x7c)],_0x495967=this[_0x5e6c9c(0x91)][_0x5e6c9c(0x6e)][_0x5e6c9c(0x87)](_0x5e6c9c(0x80));for(const _0x5988c1 of _0x14e9b1[_0x5e6c9c(0x6f)]())for(const _0x32866c of _0x5988c1[_0x5e6c9c(0x96)]())if(_0x32866c['is'](_0x5e6c9c(0x74))&&_0x495967[_0x5e6c9c(0x70)](_0x32866c[_0x5e6c9c(0x82)]))return void(this[_0x5e6c9c(0x97)]=!0x1);this[_0x5e6c9c(0x97)]=!0x0;}[_0x4abc50(0x8f)](_0x1eff68='',_0x29f738='',_0x32c2dd=_0x4abc50(0x79)){const _0x6f6578=_0x4abc50;this[_0x6f6578(0x91)][_0x6f6578(0x8a)][_0x6f6578(0x87)](_0x5b53c9)[_0x6f6578(0x8d)](_0x1eff68,_0x29f738,_0x32c2dd);}}function K(_0x46cada,_0x2c255b){const _0xa9f90b=_0x4abc50,_0x5de323=new Set();for(const _0x12eb3f of _0x46cada)(_0x2c255b||!0x1===_0x12eb3f[_0xa9f90b(0x99)])&&_0x5de323[_0xa9f90b(0x8b)](_0x12eb3f['id']);return Array[_0xa9f90b(0x7f)](_0x5de323);}function _0x55b2(){const _0x360a04=['5516QjGAXu','enabledCommandsIds','selection','concat','change:isEnabled','from','ai.aiAssistant.disabledElements','489196IKAEWw','name','16521276knkIql','isCollapsed','_commandDefinitions','11EcrLbA','get','12013673RaiajP','2693696TAtoyO','plugins','add','commands','showUI','reduce','execute','getSelectedBlocks','editor','length','set','153YtXXgg','change:_hasContext','getItems','isEnabled','3412566lrzLTn','requiresContent','getFirstRange','969939QDBkIt','refresh','document','config','getRanges','includes','75cmhGJH','isEmpty','hasContent','element','model','20HuGFXf','_hasContext','6SOwhNj','custom'];_0x55b2=function(){return _0x360a04;};return _0x55b2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x504340,_0x336573,_0x132b34){const t=_0x504340['t'];switch(_0x336573){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x132b34);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',_0x132b34);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x132b34);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x132b34);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 _0x336573;}}
23
+ export function getTranslation(_0x42f6ac,_0x3933ea,_0x2341be){const t=_0x42f6ac['t'];switch(_0x3933ea){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'Translate\x20to\x20%0':return t('Translate\x20to\x20%0',_0x2341be);case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x2341be);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2341be);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Search\x20AI\x20command':return t('Search\x20AI\x20command');case'No\x20commands\x20found':return t('No\x20commands\x20found');case'No\x20commands\x20available':return t('No\x20commands\x20available');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x2341be);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3933ea;}}