@ckeditor/ckeditor5-ai 0.0.0-nightly-20240512.0 → 0.0.0-nightly-20240514.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +1 -1
  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/dist/types/ui/aiassistantcontroller.d.ts +1 -1
  111. package/package.json +4 -4
  112. package/src/adapters/aiadapter.js +1 -1
  113. package/src/adapters/aitextadapter.js +1 -1
  114. package/src/adapters/awstextadapter.js +1 -1
  115. package/src/adapters/openaitextadapter.js +1 -1
  116. package/src/aiassistant.js +1 -1
  117. package/src/aiassistantediting.js +1 -1
  118. package/src/aiassistantui.js +1 -1
  119. package/src/index.js +1 -1
  120. package/src/ui/aiassistantcontroller.d.ts +1 -1
  121. package/src/ui/aiassistantcontroller.js +1 -1
  122. package/src/ui/dropdown/aicommandslistview.js +1 -1
  123. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  124. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  125. package/src/ui/form/aiformcontentarea.js +1 -1
  126. package/src/ui/form/aiformerrorview.js +1 -1
  127. package/src/ui/form/aiformpromptview.js +1 -1
  128. package/src/ui/form/aiformtoolbarview.js +1 -1
  129. package/src/ui/form/aiformview.js +1 -1
  130. package/src/ui/form/aihistorylistitemview.js +1 -1
  131. package/src/ui/form/aihistorylistview.js +1 -1
  132. package/src/ui/form/prompthistory.js +1 -1
  133. package/src/ui/showaiassistantcommand.js +1 -1
  134. package/src/utils/common-translations.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a9ada=_0x3355;(function(_0x77691d,_0x3e22c1){const _0x14ca50=_0x3355,_0x553572=_0x77691d();while(!![]){try{const _0x31caa0=-parseInt(_0x14ca50(0x1e4))/0x1*(parseInt(_0x14ca50(0x1cc))/0x2)+parseInt(_0x14ca50(0x1c8))/0x3+parseInt(_0x14ca50(0x1bd))/0x4*(-parseInt(_0x14ca50(0x1b9))/0x5)+-parseInt(_0x14ca50(0x201))/0x6+parseInt(_0x14ca50(0x1c2))/0x7+parseInt(_0x14ca50(0x1e6))/0x8+-parseInt(_0x14ca50(0x1e9))/0x9*(-parseInt(_0x14ca50(0x209))/0xa);if(_0x31caa0===_0x3e22c1)break;else _0x553572['push'](_0x553572['shift']());}catch(_0x325860){_0x553572['push'](_0x553572['shift']());}}}(_0x4068,0xb1161));import{ObservableMixin as _0x54bdbc}from'ckeditor5/src/utils.js';import{AIRequestError as _0x28bfb7}from'../adapters/aiadapter.js';function _0x3355(_0x4e1ade,_0x3d20d3){const _0x406875=_0x4068();return _0x3355=function(_0x3355ec,_0x18c090){_0x3355ec=_0x3355ec-0x1b7;let _0x28e942=_0x406875[_0x3355ec];return _0x28e942;},_0x3355(_0x4e1ade,_0x3d20d3);}function _0x4068(){const _0x3dbdcc=['_normalizeResponseHeadings','editor','207kpiZdK','match','length','view','updateView','initialContext','text/html','render','remove','body','destroy','once','element','serializeToString','abort','name','prompt','makeRequest','finally','mainAction','reset','innerHTML','domConverter','isProcessing','3373932kkaecz','_xmlSerializer','endsWith','div','set','message','startsWith','from','1051790ekjpID','```','substring','_parseAndNormalizeContent','exec','_sanitizeHTML','toView','stopProcessing','listenTo','textAdapter','5645UcCpMN','tryAgainEvent','_sanitizationContainer','currentContext','4020ytPdhL','toModel','processor','_domParser','nodeType','5245219dCzESi','catch','trim','editing','push','setContentOf','343386AHlGkY','previousContext','custom','rename','24auxeLg','childNodes','stopListening','createElement','document','previousActionId','set:currentContext','isRendered','ELEMENT_NODE','submitPrompt','then','data','_stripMarkdownSyntax','_handleQuery','stringify','previousLabel','parseFromString','reverse','startProcessing','```html','handleError','finishProcessing','previousQuery','currentResponse','119124wgZorl','value','4551232BpqDyg'];_0x4068=function(){return _0x3dbdcc;};return _0x4068();}import{Matcher as _0x4ad03e,UpcastWriter as _0x71d37f}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends _0x54bdbc(){constructor(_0x27a718,_0x16652b,_0x3e18b2){const _0x51796a=_0x3355;super(),this[_0x51796a(0x1e8)]=_0x27a718,this[_0x51796a(0x1b8)]=_0x16652b,this[_0x51796a(0x1bb)]=document[_0x51796a(0x1cf)](_0x51796a(0x204)),this[_0x51796a(0x1c0)]=new DOMParser(),this[_0x51796a(0x202)]=new XMLSerializer(),this[_0x51796a(0x1ec)]=_0x3e18b2,this[_0x51796a(0x205)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x51796a(0x1d2),(_0x127622,_0x18c1ce,_0x35dad7)=>{const _0x44e1b5=_0x51796a;this[_0x44e1b5(0x1ec)][_0x44e1b5(0x1e5)]=this[_0x44e1b5(0x20e)](_0x35dad7);}),this[_0x51796a(0x1b7)](this[_0x51796a(0x1ec)],_0x51796a(0x1d5),(_0x38b495,_0x23021c)=>{const _0x41b72c=_0x51796a,_0xe76360=this[_0x41b72c(0x1bc)]||this[_0x41b72c(0x1ee)];this[_0x41b72c(0x1d9)](_0x23021c,_0xe76360,_0x41b72c(0x1ca));}),this[_0x51796a(0x1b7)](this[_0x51796a(0x1ec)],_0x51796a(0x1ba),()=>{const _0x325dc8=_0x51796a;this[_0x325dc8(0x1ec)][_0x325dc8(0x1f9)]=this[_0x325dc8(0x1db)],this[_0x325dc8(0x1d9)](this[_0x325dc8(0x1e2)],this[_0x325dc8(0x1c9)],this[_0x325dc8(0x1d1)],this[_0x325dc8(0x1db)]);}),this[_0x51796a(0x1b7)](this[_0x51796a(0x1ec)],_0x51796a(0x210),()=>{const _0x126875=_0x51796a;this[_0x126875(0x210)]();});}[_0x2a9ada(0x1f3)](){const _0x2a636c=_0x2a9ada;this[_0x2a636c(0x1ce)]();}async[_0x2a9ada(0x1ed)]({actionId:_0x1e9281,query:_0x785c0e,htmlContent:_0x162962,label:_0x2b274e,mainActionLabel:_0xa54d8d}){const _0x42dea9=_0x2a9ada;this[_0x42dea9(0x1ec)][_0x42dea9(0x1f9)]=_0x2b274e,this[_0x42dea9(0x1ec)][_0x42dea9(0x1fc)]=_0xa54d8d,this[_0x42dea9(0x1ee)]=_0x162962,_0x785c0e&&(this[_0x42dea9(0x1ec)][_0x42dea9(0x1d3)]?this[_0x42dea9(0x1d9)](_0x785c0e,_0x162962,_0x1e9281,_0x2b274e):this[_0x42dea9(0x1ec)][_0x42dea9(0x1f4)](_0x42dea9(0x1f0),()=>{const _0x4a72eb=_0x42dea9;this[_0x4a72eb(0x1d9)](_0x785c0e,_0x162962,_0x1e9281,_0x2b274e);}));}[_0x2a9ada(0x210)](){const _0x503420=_0x2a9ada;this[_0x503420(0x200)]&&(this[_0x503420(0x200)]=!0x1,this[_0x503420(0x1ec)][_0x503420(0x1e1)](),this[_0x503420(0x1b8)][_0x503420(0x1f7)]());}[_0x2a9ada(0x1fd)](){const _0x589aad=_0x2a9ada;this[_0x589aad(0x1ee)]='',this[_0x589aad(0x1bc)]='',this[_0x589aad(0x1e3)]='',this[_0x589aad(0x1c9)]='',this[_0x589aad(0x1e2)]='',this[_0x589aad(0x1db)]='',this[_0x589aad(0x1d1)]=void 0x0,this[_0x589aad(0x1ec)][_0x589aad(0x1fd)](),this[_0x589aad(0x210)]();}async[_0x2a9ada(0x1d9)](_0x17b884,_0x1154f6,_0x2899e6,_0x2e9c92){const _0x87dfe2=_0x2a9ada;return this[_0x87dfe2(0x200)]=!0x0,this[_0x87dfe2(0x1ec)][_0x87dfe2(0x1de)](),this[_0x87dfe2(0x1c9)]=_0x1154f6,this[_0x87dfe2(0x1e2)]=_0x17b884,this[_0x87dfe2(0x1db)]=_0x2e9c92||_0x17b884,this[_0x87dfe2(0x1d1)]=_0x2899e6,new Promise(_0x5f3f0d=>{const _0x2c18cf=_0x87dfe2;this[_0x2c18cf(0x1b8)][_0x2c18cf(0x1fa)]({'query':_0x17b884,'context':_0x1154f6,'onData':_0x505c35=>{const _0x1d896b=_0x2c18cf;this[_0x1d896b(0x1e3)]=_0x505c35,this[_0x1d896b(0x1bc)]=this[_0x1d896b(0x20c)](this[_0x1d896b(0x1e3)]);},'actionId':_0x2899e6})[_0x2c18cf(0x1d6)](()=>{const _0x65ea3e=_0x2c18cf;!this[_0x65ea3e(0x1bc)]&&this[_0x65ea3e(0x1e3)]&&(this[_0x65ea3e(0x1bc)]=this[_0x65ea3e(0x20c)](this[_0x65ea3e(0x1e3)],!0x0));})[_0x2c18cf(0x1c3)](_0x4dc684=>{const _0x325e20=_0x2c18cf;_0x4dc684 instanceof _0x28bfb7?this[_0x325e20(0x1ec)][_0x325e20(0x1e0)](_0x4dc684[_0x325e20(0x206)]):this[_0x325e20(0x1ec)][_0x325e20(0x1e0)](),_0x5f3f0d();})[_0x2c18cf(0x1fb)](()=>{const _0x482d90=_0x2c18cf;this[_0x482d90(0x210)](),_0x5f3f0d();});});}[_0x2a9ada(0x20c)](_0x5809ea,_0x40f21e=!0x1){const _0x5108fe=_0x2a9ada,_0x33af76=X[_0x5108fe(0x20d)](_0x5809ea);_0x5809ea=_0x33af76?_0x5809ea[_0x5108fe(0x20b)](_0x33af76[0x1][_0x5108fe(0x1eb)]):_0x5809ea[_0x5108fe(0x1eb)]<0x64&&!_0x40f21e?'':this[_0x5108fe(0x1d8)](_0x5809ea);const _0x133721=this[_0x5108fe(0x1c0)][_0x5108fe(0x1dc)](_0x5809ea,_0x5108fe(0x1ef));if(_0x33af76){const _0x312ede=Array[_0x5108fe(0x208)](_0x133721[_0x5108fe(0x1f2)][_0x5108fe(0x1cd)]);_0x312ede[_0x5108fe(0x1dd)]();for(const _0x83cae of _0x312ede){if(_0x83cae[_0x5108fe(0x1c1)]==Node[_0x5108fe(0x1d4)])break;_0x83cae[_0x5108fe(0x1f1)]();}}const _0x58aaa7=this[_0x5108fe(0x1e8)][_0x5108fe(0x1d7)][_0x5108fe(0x1bf)][_0x5108fe(0x20f)](this[_0x5108fe(0x202)][_0x5108fe(0x1f6)](_0x133721[_0x5108fe(0x1f2)]));return this[_0x5108fe(0x1e7)](_0x58aaa7),this[_0x5108fe(0x1e8)][_0x5108fe(0x1d7)][_0x5108fe(0x1da)](this[_0x5108fe(0x1e8)][_0x5108fe(0x1d7)][_0x5108fe(0x1be)](_0x58aaa7));}[_0x2a9ada(0x1e7)](_0x179716){const _0x568f46=_0x2a9ada,_0x14202d=new _0x71d37f(this[_0x568f46(0x1e8)][_0x568f46(0x1c5)][_0x568f46(0x1ec)][_0x568f46(0x1d0)]),_0x464108=new _0x4ad03e({'name':/^h[1-5]$/}),_0x593075=[];let _0x2f2fd8=!0x1;for(const _0x38a194 of _0x179716)_0x38a194['is'](_0x568f46(0x1f5))&&_0x464108[_0x568f46(0x1ea)](_0x38a194)&&(_0x593075[_0x568f46(0x1c6)](_0x38a194),'h1'==_0x38a194[_0x568f46(0x1f8)]&&(_0x2f2fd8=!0x0));if(_0x2f2fd8){for(const _0xe6941b of _0x593075)_0x14202d[_0x568f46(0x1cb)]('h'+(parseInt(_0xe6941b[_0x568f46(0x1f8)][0x1])+0x1),_0xe6941b);}}[_0x2a9ada(0x20e)](_0x272e5b){const _0x593039=_0x2a9ada;return this[_0x593039(0x1e8)][_0x593039(0x1c5)][_0x593039(0x1ec)][_0x593039(0x1ff)][_0x593039(0x1c7)](this[_0x593039(0x1bb)],_0x272e5b),this[_0x593039(0x1bb)][_0x593039(0x1fe)];}[_0x2a9ada(0x1d8)](_0x4993e0){const _0x416102=_0x2a9ada,_0x51e701=_0x4993e0[_0x416102(0x1c4)]();return _0x51e701[_0x416102(0x207)](_0x416102(0x1df))?_0x51e701[_0x416102(0x203)](_0x416102(0x20a))?_0x51e701[_0x416102(0x20b)](0x7,_0x51e701[_0x416102(0x1eb)]-0x3):_0x51e701[_0x416102(0x20b)](0x7):_0x4993e0;}}
23
+ const _0x3552cb=_0x47b8;function _0x47b8(_0x35731e,_0x21b5bc){const _0x1bceba=_0x1bce();return _0x47b8=function(_0x47b8f3,_0x3d2789){_0x47b8f3=_0x47b8f3-0x1b8;let _0x327e67=_0x1bceba[_0x47b8f3];return _0x327e67;},_0x47b8(_0x35731e,_0x21b5bc);}(function(_0x9d7f18,_0x1f1f63){const _0x4801eb=_0x47b8,_0x4cd3c6=_0x9d7f18();while(!![]){try{const _0x5c5807=parseInt(_0x4801eb(0x200))/0x1+parseInt(_0x4801eb(0x209))/0x2*(-parseInt(_0x4801eb(0x1e1))/0x3)+-parseInt(_0x4801eb(0x1e4))/0x4+parseInt(_0x4801eb(0x1eb))/0x5*(-parseInt(_0x4801eb(0x1e7))/0x6)+-parseInt(_0x4801eb(0x1c7))/0x7+-parseInt(_0x4801eb(0x210))/0x8+parseInt(_0x4801eb(0x1d3))/0x9;if(_0x5c5807===_0x1f1f63)break;else _0x4cd3c6['push'](_0x4cd3c6['shift']());}catch(_0x4df860){_0x4cd3c6['push'](_0x4cd3c6['shift']());}}}(_0x1bce,0x893c8));import{ObservableMixin as _0x2a8678}from'ckeditor5/src/utils.js';import{AIRequestError as _0x5e583c}from'../adapters/aiadapter.js';import{Matcher as _0x23d1df,UpcastWriter as _0x37f6f1}from'ckeditor5/src/engine.js';const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends _0x2a8678(){constructor(_0x4d11c7,_0xce99c6,_0x5b3a32){const _0x57816e=_0x47b8;super(),this[_0x57816e(0x20f)]=_0x4d11c7,this[_0x57816e(0x1c6)]=_0xce99c6,this[_0x57816e(0x203)]=document[_0x57816e(0x1e8)](_0x57816e(0x1e9)),this[_0x57816e(0x1f1)]=new DOMParser(),this[_0x57816e(0x1de)]=new XMLSerializer(),this[_0x57816e(0x1f4)]=_0x5b3a32,this[_0x57816e(0x1e2)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x57816e(0x1ed),(_0x167b9b,_0x40e3c5,_0x4b654d)=>{const _0x27f7f4=_0x57816e;this[_0x27f7f4(0x1f4)][_0x27f7f4(0x1fe)]=this[_0x27f7f4(0x1c8)](_0x4b654d);}),this[_0x57816e(0x1f5)](this[_0x57816e(0x1f4)],_0x57816e(0x1d9),(_0x502b52,_0x2da334)=>{const _0x2bd69b=_0x57816e,_0x41a458=this[_0x2bd69b(0x1f3)]||this[_0x2bd69b(0x1c2)];this[_0x2bd69b(0x1cb)](_0x2da334,_0x41a458,_0x2bd69b(0x1be));}),this[_0x57816e(0x1f5)](this[_0x57816e(0x1f4)],_0x57816e(0x1c5),()=>{const _0x39ab49=_0x57816e;this[_0x39ab49(0x1f4)][_0x39ab49(0x1f2)]=this[_0x39ab49(0x1d5)],this[_0x39ab49(0x1cb)](this[_0x39ab49(0x1e6)],this[_0x39ab49(0x1f7)],this[_0x39ab49(0x1c1)],this[_0x39ab49(0x1d5)]);}),this[_0x57816e(0x1f5)](this[_0x57816e(0x1f4)],_0x57816e(0x20b),()=>{const _0x31ce2a=_0x57816e;this[_0x31ce2a(0x20b)]();});}[_0x3552cb(0x1da)](){const _0x2fda69=_0x3552cb;this[_0x2fda69(0x1d6)]();}async[_0x3552cb(0x1c9)]({actionId:_0x3e06b8,query:_0xadb2d0,htmlContent:_0x553b1f,label:_0x48bcac,mainActionLabel:_0x473986}){const _0x55d396=_0x3552cb;this[_0x55d396(0x1f4)][_0x55d396(0x1f2)]=_0x48bcac,this[_0x55d396(0x1f4)][_0x55d396(0x1bd)]=_0x473986,this[_0x55d396(0x1c2)]=_0x553b1f,_0xadb2d0&&(this[_0x55d396(0x1f4)][_0x55d396(0x1ef)]?this[_0x55d396(0x1cb)](_0xadb2d0,_0x553b1f,_0x3e06b8,_0x48bcac):this[_0x55d396(0x1f4)][_0x55d396(0x1d0)](_0x55d396(0x1d1),()=>{const _0x1be8e5=_0x55d396;this[_0x1be8e5(0x1cb)](_0xadb2d0,_0x553b1f,_0x3e06b8,_0x48bcac);}));}[_0x3552cb(0x20b)](){const _0x41255f=_0x3552cb;this[_0x41255f(0x1ce)]&&(this[_0x41255f(0x1ce)]=!0x1,this[_0x41255f(0x1f4)][_0x41255f(0x1f0)](),this[_0x41255f(0x1c6)][_0x41255f(0x20e)]());}[_0x3552cb(0x1dc)](){const _0xd4db1a=_0x3552cb;this[_0xd4db1a(0x1c2)]='',this[_0xd4db1a(0x1f3)]='',this[_0xd4db1a(0x202)]='',this[_0xd4db1a(0x1f7)]='',this[_0xd4db1a(0x1e6)]='',this[_0xd4db1a(0x1d5)]='',this[_0xd4db1a(0x1c1)]=void 0x0,this[_0xd4db1a(0x1f4)][_0xd4db1a(0x1dc)](),this[_0xd4db1a(0x20b)]();}async[_0x3552cb(0x1cb)](_0x565ca2,_0x2404f1,_0x1141d1,_0x45120d){const _0x566f3f=_0x3552cb;return this[_0x566f3f(0x1ce)]=!0x0,this[_0x566f3f(0x1f4)][_0x566f3f(0x1cf)](),this[_0x566f3f(0x1f7)]=_0x2404f1,this[_0x566f3f(0x1e6)]=_0x565ca2,this[_0x566f3f(0x1d5)]=_0x45120d||_0x565ca2,this[_0x566f3f(0x1c1)]=_0x1141d1,new Promise(_0x465891=>{const _0x203a84=_0x566f3f;this[_0x203a84(0x1c6)][_0x203a84(0x1dd)]({'query':_0x565ca2,'context':_0x2404f1,'onData':_0x208c26=>{const _0x785402=_0x203a84;this[_0x785402(0x202)]=_0x208c26,this[_0x785402(0x1f3)]=this[_0x785402(0x1d4)](this[_0x785402(0x202)]);},'actionId':_0x1141d1})[_0x203a84(0x1cc)](()=>{const _0x5e9555=_0x203a84;!this[_0x5e9555(0x1f3)]&&this[_0x5e9555(0x202)]&&(this[_0x5e9555(0x1f3)]=this[_0x5e9555(0x1d4)](this[_0x5e9555(0x202)],!0x0));})[_0x203a84(0x205)](_0x3dd702=>{const _0x51f0d4=_0x203a84;_0x3dd702 instanceof _0x5e583c?this[_0x51f0d4(0x1f4)][_0x51f0d4(0x20c)](_0x3dd702[_0x51f0d4(0x1df)]):this[_0x51f0d4(0x1f4)][_0x51f0d4(0x20c)](),_0x465891();})[_0x203a84(0x1b9)](()=>{const _0x2feefd=_0x203a84;this[_0x2feefd(0x20b)](),_0x465891();});});}[_0x3552cb(0x1d4)](_0x228011,_0x4fbdab=!0x1){const _0x2fcf6f=_0x3552cb,_0x232e65=X[_0x2fcf6f(0x20a)](_0x228011);_0x228011=_0x232e65?_0x228011[_0x2fcf6f(0x204)](_0x232e65[0x1][_0x2fcf6f(0x1fd)]):_0x228011[_0x2fcf6f(0x1fd)]<0x64&&!_0x4fbdab?'':this[_0x2fcf6f(0x1fc)](_0x228011);const _0x38af04=this[_0x2fcf6f(0x1f1)][_0x2fcf6f(0x1b8)](_0x228011,_0x2fcf6f(0x1bb));if(_0x232e65){const _0x27408d=Array[_0x2fcf6f(0x1db)](_0x38af04[_0x2fcf6f(0x1ca)][_0x2fcf6f(0x1c0)]);_0x27408d[_0x2fcf6f(0x1fa)]();for(const _0x479b1b of _0x27408d){if(_0x479b1b[_0x2fcf6f(0x1cd)]==Node[_0x2fcf6f(0x1d2)])break;_0x479b1b[_0x2fcf6f(0x1ea)]();}}const _0x1f0b00=this[_0x2fcf6f(0x20f)][_0x2fcf6f(0x1ec)][_0x2fcf6f(0x1e5)][_0x2fcf6f(0x1e3)](this[_0x2fcf6f(0x1de)][_0x2fcf6f(0x1fb)](_0x38af04[_0x2fcf6f(0x1ca)]));return this[_0x2fcf6f(0x1bc)](_0x1f0b00),this[_0x2fcf6f(0x20f)][_0x2fcf6f(0x1ec)][_0x2fcf6f(0x1d7)](this[_0x2fcf6f(0x20f)][_0x2fcf6f(0x1ec)][_0x2fcf6f(0x207)](_0x1f0b00));}[_0x3552cb(0x1bc)](_0x1d707f){const _0x51c6c6=_0x3552cb,_0x4f5f9d=new _0x37f6f1(this[_0x51c6c6(0x20f)][_0x51c6c6(0x1ba)][_0x51c6c6(0x1f4)][_0x51c6c6(0x1e0)]),_0x16f95e=new _0x23d1df({'name':/^h[1-5]$/}),_0x15c74b=[];let _0x976c4b=!0x1;for(const _0x318327 of _0x1d707f)_0x318327['is'](_0x51c6c6(0x1c3))&&_0x16f95e[_0x51c6c6(0x206)](_0x318327)&&(_0x15c74b[_0x51c6c6(0x1ee)](_0x318327),'h1'==_0x318327[_0x51c6c6(0x1bf)]&&(_0x976c4b=!0x0));if(_0x976c4b){for(const _0x2f7bb9 of _0x15c74b)_0x4f5f9d[_0x51c6c6(0x1c4)]('h'+(parseInt(_0x2f7bb9[_0x51c6c6(0x1bf)][0x1])+0x1),_0x2f7bb9);}}[_0x3552cb(0x1c8)](_0xd8e8be){const _0x19fb05=_0x3552cb;return this[_0x19fb05(0x20f)][_0x19fb05(0x1ba)][_0x19fb05(0x1f4)][_0x19fb05(0x1ff)][_0x19fb05(0x201)](this[_0x19fb05(0x203)],_0xd8e8be),this[_0x19fb05(0x203)][_0x19fb05(0x1d8)];}[_0x3552cb(0x1fc)](_0x186a33){const _0x3a5090=_0x3552cb,_0x65ec39=_0x186a33[_0x3a5090(0x1f9)]();return _0x65ec39[_0x3a5090(0x1f8)](_0x3a5090(0x208))?_0x65ec39[_0x3a5090(0x1f6)](_0x3a5090(0x20d))?_0x65ec39[_0x3a5090(0x204)](0x7,_0x65ec39[_0x3a5090(0x1fd)]-0x3):_0x65ec39[_0x3a5090(0x204)](0x7):_0x186a33;}}function _0x1bce(){const _0x536454=['_normalizeResponseHeadings','mainAction','custom','name','childNodes','previousActionId','initialContext','element','rename','tryAgainEvent','textAdapter','33593sgVSSd','_sanitizeHTML','updateView','body','_handleQuery','then','nodeType','isProcessing','startProcessing','once','render','ELEMENT_NODE','17749485zVNJGz','_parseAndNormalizeContent','previousLabel','stopListening','stringify','innerHTML','submitPrompt','destroy','from','reset','makeRequest','_xmlSerializer','message','document','569082FPIDiR','set','toView','1030412IbBfAh','processor','previousQuery','30TlqhNj','createElement','div','remove','845690MzfpLk','data','set:currentContext','push','isRendered','finishProcessing','_domParser','prompt','currentContext','view','listenTo','endsWith','previousContext','startsWith','trim','reverse','serializeToString','_stripMarkdownSyntax','length','value','domConverter','627255SolJQU','setContentOf','currentResponse','_sanitizationContainer','substring','catch','match','toModel','```html','6NQeTfu','exec','stopProcessing','handleError','```','abort','editor','2881008wWwCxn','parseFromString','finally','editing','text/html'];_0x1bce=function(){return _0x536454;};return _0x1bce();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ca193=_0x3454;(function(_0x26d19e,_0x41a845){const _0x5a4ab6=_0x3454,_0x18b520=_0x26d19e();while(!![]){try{const _0x315de1=parseInt(_0x5a4ab6(0x95))/0x1+parseInt(_0x5a4ab6(0x89))/0x2*(parseInt(_0x5a4ab6(0x86))/0x3)+-parseInt(_0x5a4ab6(0x84))/0x4+-parseInt(_0x5a4ab6(0x8d))/0x5*(parseInt(_0x5a4ab6(0x91))/0x6)+parseInt(_0x5a4ab6(0x87))/0x7*(-parseInt(_0x5a4ab6(0x8f))/0x8)+parseInt(_0x5a4ab6(0x7f))/0x9+parseInt(_0x5a4ab6(0x7c))/0xa;if(_0x315de1===_0x41a845)break;else _0x18b520['push'](_0x18b520['shift']());}catch(_0x44333f){_0x18b520['push'](_0x18b520['shift']());}}}(_0x1b5a,0x647e5));import{ListView as _0x1fdf68,ListItemGroupView as _0x211e3f}from'ckeditor5/src/ui.js';function _0x1b5a(){const _0x2e51bd=['1513896EmnAfL','labelView','45681oFKwYU','7hKYteF','role','84xaoxUO','items','filter','listbox','956115Hzgyhu','includes','5370424BUIvLB','get','6hWzOKG','isVisible','length','set','165379rWhiJz','isEnabled','first','change:enabledCommandsIds','3795300UrMQgG','children','highlightText','4213602jOEaoX','enabledCommandsIds','match','label','commandDefinition'];_0x1b5a=function(){return _0x2e51bd;};return _0x1b5a();}import{AICommandsListItemView as _0x50a90c}from'../../aiassistantui.js';function _0x3454(_0x6cf27b,_0x5dba2f){const _0x1b5a0b=_0x1b5a();return _0x3454=function(_0x3454be,_0x1bbb06){_0x3454be=_0x3454be-0x7c;let _0x29f9a8=_0x1b5a0b[_0x3454be];return _0x29f9a8;},_0x3454(_0x6cf27b,_0x5dba2f);}export default class U extends _0x1fdf68{constructor(_0x77ae4d){const _0x21d3c0=_0x3454;super(_0x77ae4d),this[_0x21d3c0(0x88)]=_0x21d3c0(0x8c),this[_0x21d3c0(0x94)](_0x21d3c0(0x80),[]),this['on'](_0x21d3c0(0x98),()=>{const _0x4fba61=_0x21d3c0;for(const _0x210385 of this[_0x4fba61(0x8a)])if(_0x210385 instanceof _0x211e3f){for(const _0x299a37 of _0x210385[_0x4fba61(0x8a)])if(_0x299a37 instanceof _0x50a90c){const _0x1f89d5=_0x299a37[_0x4fba61(0x7d)][_0x4fba61(0x90)](0x0);this[_0x4fba61(0x80)][_0x4fba61(0x8e)](_0x299a37[_0x4fba61(0x83)]['id'])?_0x1f89d5[_0x4fba61(0x96)]=!0x0:_0x1f89d5[_0x4fba61(0x96)]=!0x1;}}});}[_0x3ca193(0x8b)](_0x2d6c51){const _0x5f156e=_0x3ca193;let _0x4354bc=0x0,_0x3d5de9=0x0;for(const _0x2bc134 of this[_0x5f156e(0x8a)]){const _0x458eee=_0x2bc134,_0x5969f2=_0x458eee[_0x5f156e(0x8a)],_0x105553=_0x2d6c51&&!!_0x458eee[_0x5f156e(0x82)][_0x5f156e(0x81)](_0x2d6c51);_0x458eee[_0x5f156e(0x85)][_0x5f156e(0x7e)](_0x105553?_0x2d6c51:null);for(const _0x1ccd42 of _0x5969f2){const _0x31fd0a=_0x1ccd42[_0x5f156e(0x7d)][_0x5f156e(0x97)],_0xb2db4d=_0x31fd0a[_0x5f156e(0x85)];if(_0x2d6c51){const _0x305c29=!!_0x31fd0a[_0x5f156e(0x82)][_0x5f156e(0x81)](_0x2d6c51);_0xb2db4d[_0x5f156e(0x7e)](_0x305c29?_0x2d6c51:null),_0x1ccd42[_0x5f156e(0x92)]=_0x105553||_0x305c29;}else _0x1ccd42[_0x5f156e(0x92)]=!0x0,_0xb2db4d[_0x5f156e(0x7e)](null);}const _0x3ffa4b=_0x5969f2[_0x5f156e(0x8b)](_0x5d33b1=>_0x5d33b1[_0x5f156e(0x92)])[_0x5f156e(0x93)];_0x4354bc+=_0x458eee[_0x5f156e(0x8a)][_0x5f156e(0x93)],_0x3d5de9+=_0x105553?_0x458eee[_0x5f156e(0x8a)][_0x5f156e(0x93)]:_0x3ffa4b,_0x458eee[_0x5f156e(0x92)]=_0x105553||!!_0x3ffa4b;}return{'resultsCount':_0x3d5de9,'totalItemsCount':_0x4354bc};}}
23
+ const _0x438eb9=_0x4e15;function _0x2492(){const _0x35d5df=['items','children','10710224DJamUW','includes','isEnabled','get','highlightText','777sCaNVM','2520753lBnWXH','75156qAzElq','30DnVivF','first','label','listbox','enabledCommandsIds','filter','length','64439073sQEBQl','commandDefinition','match','isVisible','change:enabledCommandsIds','labelView','role','2822320nrQXhr','68037ZGBHWd','set','5844685jHIEcO'];_0x2492=function(){return _0x35d5df;};return _0x2492();}function _0x4e15(_0x28fe36,_0x337a92){const _0x249268=_0x2492();return _0x4e15=function(_0x4e155e,_0x4a2be8){_0x4e155e=_0x4e155e-0xb0;let _0x671a80=_0x249268[_0x4e155e];return _0x671a80;},_0x4e15(_0x28fe36,_0x337a92);}(function(_0x2306ef,_0x1cfc7c){const _0x5df38d=_0x4e15,_0x307165=_0x2306ef();while(!![]){try{const _0x22db63=parseInt(_0x5df38d(0xbd))/0x1*(-parseInt(_0x5df38d(0xca))/0x2)+-parseInt(_0x5df38d(0xc8))/0x3+-parseInt(_0x5df38d(0xbc))/0x4+-parseInt(_0x5df38d(0xbf))/0x5+parseInt(_0x5df38d(0xc9))/0x6*(-parseInt(_0x5df38d(0xc7))/0x7)+-parseInt(_0x5df38d(0xc2))/0x8+parseInt(_0x5df38d(0xb5))/0x9;if(_0x22db63===_0x1cfc7c)break;else _0x307165['push'](_0x307165['shift']());}catch(_0x35f0ea){_0x307165['push'](_0x307165['shift']());}}}(_0x2492,0xa9c72));import{ListView as _0x4f5511,ListItemGroupView as _0x106f61}from'ckeditor5/src/ui.js';import{AICommandsListItemView as _0x22ad4b}from'../../aiassistantui.js';export default class U extends _0x4f5511{constructor(_0x4bb720){const _0x2d029=_0x4e15;super(_0x4bb720),this[_0x2d029(0xbb)]=_0x2d029(0xb1),this[_0x2d029(0xbe)](_0x2d029(0xb2),[]),this['on'](_0x2d029(0xb9),()=>{const _0x490e90=_0x2d029;for(const _0x1d932b of this[_0x490e90(0xc0)])if(_0x1d932b instanceof _0x106f61){for(const _0x935da8 of _0x1d932b[_0x490e90(0xc0)])if(_0x935da8 instanceof _0x22ad4b){const _0x4a4686=_0x935da8[_0x490e90(0xc1)][_0x490e90(0xc5)](0x0);this[_0x490e90(0xb2)][_0x490e90(0xc3)](_0x935da8[_0x490e90(0xb6)]['id'])?_0x4a4686[_0x490e90(0xc4)]=!0x0:_0x4a4686[_0x490e90(0xc4)]=!0x1;}}});}[_0x438eb9(0xb3)](_0x2213c0){const _0xb3e244=_0x438eb9;let _0x1e4a34=0x0,_0x5e9328=0x0;for(const _0x4b672e of this[_0xb3e244(0xc0)]){const _0x405bc2=_0x4b672e,_0x569f2f=_0x405bc2[_0xb3e244(0xc0)],_0x2bec7b=_0x2213c0&&!!_0x405bc2[_0xb3e244(0xb0)][_0xb3e244(0xb7)](_0x2213c0);_0x405bc2[_0xb3e244(0xba)][_0xb3e244(0xc6)](_0x2bec7b?_0x2213c0:null);for(const _0x4147f4 of _0x569f2f){const _0x2f005c=_0x4147f4[_0xb3e244(0xc1)][_0xb3e244(0xcb)],_0x500bc0=_0x2f005c[_0xb3e244(0xba)];if(_0x2213c0){const _0xc591bb=!!_0x2f005c[_0xb3e244(0xb0)][_0xb3e244(0xb7)](_0x2213c0);_0x500bc0[_0xb3e244(0xc6)](_0xc591bb?_0x2213c0:null),_0x4147f4[_0xb3e244(0xb8)]=_0x2bec7b||_0xc591bb;}else _0x4147f4[_0xb3e244(0xb8)]=!0x0,_0x500bc0[_0xb3e244(0xc6)](null);}const _0x2a556c=_0x569f2f[_0xb3e244(0xb3)](_0x325d9e=>_0x325d9e[_0xb3e244(0xb8)])[_0xb3e244(0xb4)];_0x1e4a34+=_0x405bc2[_0xb3e244(0xc0)][_0xb3e244(0xb4)],_0x5e9328+=_0x2bec7b?_0x405bc2[_0xb3e244(0xc0)][_0xb3e244(0xb4)]:_0x2a556c,_0x405bc2[_0xb3e244(0xb8)]=_0x2bec7b||!!_0x2a556c;}return{'resultsCount':_0x5e9328,'totalItemsCount':_0x1e4a34};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x449a(_0x5000e8,_0x32c4f7){const _0x947710=_0x9477();return _0x449a=function(_0x449a8a,_0x3ea1ec){_0x449a8a=_0x449a8a-0x116;let _0x525455=_0x947710[_0x449a8a];return _0x525455;},_0x449a(_0x5000e8,_0x32c4f7);}(function(_0x3fcbd7,_0x250420){const _0x1843de=_0x449a,_0x55d8c7=_0x3fcbd7();while(!![]){try{const _0x89ec84=-parseInt(_0x1843de(0x11f))/0x1+-parseInt(_0x1843de(0x11c))/0x2+parseInt(_0x1843de(0x11e))/0x3*(-parseInt(_0x1843de(0x11d))/0x4)+-parseInt(_0x1843de(0x118))/0x5+-parseInt(_0x1843de(0x117))/0x6+parseInt(_0x1843de(0x124))/0x7*(parseInt(_0x1843de(0x11b))/0x8)+-parseInt(_0x1843de(0x122))/0x9*(-parseInt(_0x1843de(0x119))/0xa);if(_0x89ec84===_0x250420)break;else _0x55d8c7['push'](_0x55d8c7['shift']());}catch(_0x3d7999){_0x55d8c7['push'](_0x55d8c7['shift']());}}}(_0x9477,0x49a6c));import{HighlightedTextView as _0x672105}from'ckeditor5/src/ui.js';function _0x9477(){const _0x457012=['ck-button__label','2577468bOUbaW','2467045ajdYIr','11613530rjaipY','extendTemplate','332488TNLOLI','396338famLLx','41808viQiWk','3vpszNw','143679DutkVK','bindTemplate','set','9LMSVAc','style','70mGmOPG'];_0x9477=function(){return _0x457012;};return _0x9477();}export default class N extends _0x672105{constructor(){const _0x3dd95c=_0x449a;super(),this[_0x3dd95c(0x121)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0xf94a4e=this[_0x3dd95c(0x120)];this[_0x3dd95c(0x11a)]({'attributes':{'class':[_0x3dd95c(0x116)],'style':_0xf94a4e['to'](_0x3dd95c(0x123)),'id':_0xf94a4e['to']('id')}});}}
23
+ function _0xa7f4(_0x2d831a,_0x184abd){const _0x3a44ed=_0x3a44();return _0xa7f4=function(_0xa7f473,_0x2d8226){_0xa7f473=_0xa7f473-0x19d;let _0x5bc8b0=_0x3a44ed[_0xa7f473];return _0x5bc8b0;},_0xa7f4(_0x2d831a,_0x184abd);}function _0x3a44(){const _0x209644=['1YOAQyk','set','24716tzKZGT','576516cKZdED','66LGXwuG','extendTemplate','4226430VBGfMT','style','272cUnows','190882UvGJZJ','ck-button__label','bindTemplate','353946Dovvos','28tWljgV','580YcWwuL','20781POUnYk','689805OEJbQD'];_0x3a44=function(){return _0x209644;};return _0x3a44();}(function(_0x31bb0d,_0x4b4fcc){const _0x1a68fc=_0xa7f4,_0x5cf65f=_0x31bb0d();while(!![]){try{const _0x5be695=-parseInt(_0x1a68fc(0x1ac))/0x1*(-parseInt(_0x1a68fc(0x1a4))/0x2)+-parseInt(_0x1a68fc(0x1ab))/0x3+-parseInt(_0x1a68fc(0x19d))/0x4*(-parseInt(_0x1a68fc(0x1a9))/0x5)+parseInt(_0x1a68fc(0x1a7))/0x6*(-parseInt(_0x1a68fc(0x1a8))/0x7)+parseInt(_0x1a68fc(0x1a3))/0x8*(parseInt(_0x1a68fc(0x1aa))/0x9)+parseInt(_0x1a68fc(0x1a1))/0xa+parseInt(_0x1a68fc(0x19f))/0xb*(-parseInt(_0x1a68fc(0x19e))/0xc);if(_0x5be695===_0x4b4fcc)break;else _0x5cf65f['push'](_0x5cf65f['shift']());}catch(_0x87d92a){_0x5cf65f['push'](_0x5cf65f['shift']());}}}(_0x3a44,0x8885d));import{HighlightedTextView as _0x54e7d9}from'ckeditor5/src/ui.js';export default class N extends _0x54e7d9{constructor(){const _0x223244=_0xa7f4;super(),this[_0x223244(0x1ad)]({'style':void 0x0,'text':void 0x0,'id':void 0x0});const _0x454ed3=this[_0x223244(0x1a6)];this[_0x223244(0x1a0)]({'attributes':{'class':[_0x223244(0x1a5)],'style':_0x454ed3['to'](_0x223244(0x1a2)),'id':_0x454ed3['to']('id')}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5797ba,_0x3ab520){const _0x447065=_0x48e2,_0x1ffa5a=_0x5797ba();while(!![]){try{const _0x8c0f73=parseInt(_0x447065(0x165))/0x1+parseInt(_0x447065(0x167))/0x2+-parseInt(_0x447065(0x162))/0x3+parseInt(_0x447065(0x15e))/0x4*(-parseInt(_0x447065(0x15a))/0x5)+-parseInt(_0x447065(0x15f))/0x6*(-parseInt(_0x447065(0x164))/0x7)+parseInt(_0x447065(0x15c))/0x8+-parseInt(_0x447065(0x166))/0x9;if(_0x8c0f73===_0x3ab520)break;else _0x1ffa5a['push'](_0x1ffa5a['shift']());}catch(_0x39d345){_0x1ffa5a['push'](_0x1ffa5a['shift']());}}}(_0x4686,0x41c98));function _0x48e2(_0x476d1d,_0x32b2ad){const _0x4686eb=_0x4686();return _0x48e2=function(_0x48e28e,_0x48b2c9){_0x48e28e=_0x48e28e-0x159;let _0x24ce56=_0x4686eb[_0x48e28e];return _0x24ce56;},_0x48e2(_0x476d1d,_0x32b2ad);}import{HighlightedTextView as _0x53d396}from'ckeditor5/src/ui.js';import{uid as _0x21c317}from'ckeditor5/src/utils.js';function _0x4686(){const _0x2cb4a4=['1841896uHnSIA','ck-label','9876zvHXHf','10368nraZtd','set','ck-editor__label_','212196XmnRZy','for','21PGHjYT','506376nkaxjF','6535413GIKQyl','836756sYmHjK','bindTemplate','190Gymydb','extendTemplate'];_0x4686=function(){return _0x2cb4a4;};return _0x4686();}export default class S extends _0x53d396{constructor(){const _0x46fe33=_0x48e2;super(),this[_0x46fe33(0x160)](_0x46fe33(0x163),void 0x0);const _0x49cc15=this[_0x46fe33(0x159)];this['id']=_0x46fe33(0x161)+_0x21c317(),this[_0x46fe33(0x15b)]({'attributes':{'class':['ck',_0x46fe33(0x15d)],'id':this['id'],'for':_0x49cc15['to'](_0x46fe33(0x163))}});}}
23
+ (function(_0xa4aa37,_0x2f004f){const _0x48dc3a=_0x556d,_0x4b7802=_0xa4aa37();while(!![]){try{const _0x355300=parseInt(_0x48dc3a(0x152))/0x1*(-parseInt(_0x48dc3a(0x149))/0x2)+-parseInt(_0x48dc3a(0x147))/0x3*(-parseInt(_0x48dc3a(0x148))/0x4)+parseInt(_0x48dc3a(0x142))/0x5*(-parseInt(_0x48dc3a(0x14d))/0x6)+-parseInt(_0x48dc3a(0x14a))/0x7*(parseInt(_0x48dc3a(0x150))/0x8)+parseInt(_0x48dc3a(0x146))/0x9+-parseInt(_0x48dc3a(0x14f))/0xa*(parseInt(_0x48dc3a(0x153))/0xb)+parseInt(_0x48dc3a(0x151))/0xc;if(_0x355300===_0x2f004f)break;else _0x4b7802['push'](_0x4b7802['shift']());}catch(_0x291d72){_0x4b7802['push'](_0x4b7802['shift']());}}}(_0x4e89,0xd8744));function _0x556d(_0x4b2f85,_0x4f0ee){const _0x4e897d=_0x4e89();return _0x556d=function(_0x556da9,_0xa04b38){_0x556da9=_0x556da9-0x142;let _0x20386b=_0x4e897d[_0x556da9];return _0x20386b;},_0x556d(_0x4b2f85,_0x4f0ee);}function _0x4e89(){const _0x34f296=['88OvmiyB','2085PGbTuu','set','for','ck-editor__label_','13841001PGgiAg','21711XKAMec','972OHFYQU','180834vaxliw','469ShqGNM','bindTemplate','ck-label','4338fITVIa','extendTemplate','2125610KMLINV','100992wIZEOG','9594852DqsVzj','4vwcbFn'];_0x4e89=function(){return _0x34f296;};return _0x4e89();}import{HighlightedTextView as _0xfd27f2}from'ckeditor5/src/ui.js';import{uid as _0x24f7b2}from'ckeditor5/src/utils.js';export default class S extends _0xfd27f2{constructor(){const _0x253e39=_0x556d;super(),this[_0x253e39(0x143)](_0x253e39(0x144),void 0x0);const _0x19fe43=this[_0x253e39(0x14b)];this['id']=_0x253e39(0x145)+_0x24f7b2(),this[_0x253e39(0x14e)]({'attributes':{'class':['ck',_0x253e39(0x14c)],'id':this['id'],'for':_0x19fe43['to'](_0x253e39(0x144))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f22a0=_0x36d1;(function(_0x4fa5b0,_0x1e16e5){const _0x48b6d0=_0x36d1,_0x495201=_0x4fa5b0();while(!![]){try{const _0x317b72=parseInt(_0x48b6d0(0xa5))/0x1+-parseInt(_0x48b6d0(0xcf))/0x2+parseInt(_0x48b6d0(0xba))/0x3+-parseInt(_0x48b6d0(0xb1))/0x4*(parseInt(_0x48b6d0(0xb0))/0x5)+parseInt(_0x48b6d0(0xea))/0x6+parseInt(_0x48b6d0(0xe9))/0x7*(-parseInt(_0x48b6d0(0xb9))/0x8)+-parseInt(_0x48b6d0(0xae))/0x9;if(_0x317b72===_0x1e16e5)break;else _0x495201['push'](_0x495201['shift']());}catch(_0x17d5fa){_0x495201['push'](_0x495201['shift']());}}}(_0x5ae8,0x39dc6));function _0x36d1(_0x494242,_0x14a2f9){const _0x5ae8f0=_0x5ae8();return _0x36d1=function(_0x36d1c7,_0x54e8dd){_0x36d1c7=_0x36d1c7-0x96;let _0x407d4a=_0x5ae8f0[_0x36d1c7];return _0x407d4a;},_0x36d1(_0x494242,_0x14a2f9);}import{global as _0x680149}from'ckeditor5/src/utils.js';import{View as _0x1c6e6b,ButtonView as _0x30ae76,SpinnerView as _0x22084c}from'ckeditor5/src/ui.js';function _0x5ae8(){const _0x326f08=['_copyHTMLToClipboard','write','ck-hidden','removeAllRanges','<span>[</span>','loaderView','<span>]</span>','ck-ai-form__loader','innerHTML','bindTemplate','body','bind','ck-content','firstElementChild','ck-reset_all-excluded','ClipboardItem','Copy','createRange','icon','14TBpZqA','2192766JhJKbp','appendChild','setStartAfter','addRange','isVisible','ck-ai-form__copy-button','ck-ai-form__content-area--processing','lastElementChild','setTemplate','setEndBefore','check','_createLoader','.ck-ai-form__loader','change:value','ck-ai-form__content-area','ck-ai-form__copy-button-wrapper','302423XUWQqq','appendLoader','scrollHeight','\x20ck-ai-form__copy-button--copied','absolute','querySelector','createElement','-9999px','setContent','3194172aVxLmv','listenTo','188970oylqSi','20apIgtu','set','text/html','value','copyButtonView','scrollTo','smooth','isEnabled','662312ygUuVp','1363731JADkrL','text/plain','wheel','position','mousedown','contentFieldView','locale','copy','AI\x20is\x20writing...','left','element','remove','render','class','clipboard','isProcessing','focus','ck-ai-form__content-area-wrapper','style','change:isProcessing','execute','352014qKFTTY','textContent','ck-ai-form__content-field','div','getSelection','execCommand','_createCopyButton'];_0x5ae8=function(){return _0x326f08;};return _0x5ae8();}import _0x57f7be from'../../../theme/icons/copy.svg';import{getTranslation as _0x41b49c}from'../../utils/common-translations.js';import{icons as _0x23e5dc}from'ckeditor5/src/core.js';export default class nt extends _0x1c6e6b{constructor(_0x1404a7,_0x32c419=''){const _0x59cb49=_0x36d1;super(_0x1404a7),this[_0x59cb49(0xb2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x16bed0=this[_0x59cb49(0xdf)];this[_0x59cb49(0xbf)]=new ContentFieldView(_0x1404a7,_0x32c419),this[_0x59cb49(0xb5)]=this[_0x59cb49(0xd5)](),this[_0x59cb49(0x9d)]({'tag':_0x59cb49(0xd2),'attributes':{'class':['ck',_0x59cb49(0xcb),_0x16bed0['if'](_0x59cb49(0x99),_0x59cb49(0xd8),_0x37918d=>!_0x37918d)],'tabindex':'-1'},'children':[{'tag':_0x59cb49(0xd2),'attributes':{'class':['ck',_0x59cb49(0xa3),_0x16bed0['if'](_0x59cb49(0xc9),_0x59cb49(0x9b))]},'children':[this[_0x59cb49(0xbf)],{'tag':_0x59cb49(0xd2),'attributes':{'class':['ck',_0x59cb49(0xa4)]},'children':[this[_0x59cb49(0xb5)]]}]}]});}[_0x3f22a0(0xc6)](){const _0x14c216=_0x3f22a0;super[_0x14c216(0xc6)](),this[_0x14c216(0xb4)]&&this[_0x14c216(0xbf)][_0x14c216(0xad)](this[_0x14c216(0xb4)]);let _0x24e62c=!0x1;this['on'](_0x14c216(0xa2),(_0x105942,_0x4d380d,_0x34b9d2)=>{const _0x31893b=_0x14c216,_0x41db01=!this[_0x31893b(0xbf)][_0x31893b(0xc4)][_0x31893b(0xaa)](_0x31893b(0xa1));this[_0x31893b(0xbf)][_0x31893b(0xad)](_0x34b9d2),this[_0x31893b(0xc9)]&&_0x41db01&&!_0x24e62c&&this[_0x31893b(0xc4)][_0x31893b(0xb6)]({'top':this[_0x31893b(0xc4)][_0x31893b(0xa7)],'behavior':_0x31893b(0xb7)});}),this['on'](_0x14c216(0xcd),(_0x24bf50,_0x536236,_0x2b2b78)=>{const _0x1c45cc=_0x14c216;_0x24e62c=!0x1,_0x2b2b78?(this[_0x1c45cc(0xb4)]=null,this[_0x1c45cc(0xbf)][_0x1c45cc(0xa6)]()):this[_0x1c45cc(0xb4)]||this[_0x1c45cc(0xbf)][_0x1c45cc(0xad)]('');}),this[_0x14c216(0xaf)](this[_0x14c216(0xc4)],_0x14c216(0xbc),()=>{_0x24e62c=!0x0;}),this[_0x14c216(0xaf)](this[_0x14c216(0xc4)],_0x14c216(0xbe),()=>{_0x24e62c=!0x0;});}[_0x3f22a0(0xca)](){const _0x1cc25d=_0x3f22a0;this[_0x1cc25d(0xc4)][_0x1cc25d(0xca)]();}[_0x3f22a0(0xd5)](){const _0x8032d6=_0x3f22a0,_0x577e88=this[_0x8032d6(0xc0)],_0x19ffa4=new _0x30ae76(this[_0x8032d6(0xc0)]),_0x37486e=_0x8032d6(0x9a);return _0x19ffa4[_0x8032d6(0xb2)]({'label':_0x41b49c(_0x577e88,_0x8032d6(0xe6)),'icon':_0x57f7be,'class':_0x37486e,'tooltip':!0x0}),_0x19ffa4[_0x8032d6(0xe1)](_0x8032d6(0x99))['to'](this,_0x8032d6(0xb4),_0xef2b6a=>!!_0xef2b6a),_0x19ffa4[_0x8032d6(0xe1)](_0x8032d6(0xb8))['to'](this,_0x8032d6(0xc9),_0x43f194=>!_0x43f194),_0x19ffa4['on'](_0x8032d6(0xce),()=>{const _0x3dcc5e=_0x8032d6;this[_0x3dcc5e(0xd6)](this[_0x3dcc5e(0xbf)][_0x3dcc5e(0xc4)]),_0x19ffa4[_0x3dcc5e(0xe8)]=_0x23e5dc[_0x3dcc5e(0x9f)],_0x19ffa4[_0x3dcc5e(0xc7)]=_0x37486e+_0x3dcc5e(0xa8),this[_0x3dcc5e(0xca)](),setTimeout(()=>{const _0x2df17d=_0x3dcc5e;_0x19ffa4[_0x2df17d(0xe8)]=_0x57f7be,_0x19ffa4[_0x2df17d(0xc7)]=_0x37486e;},0x3e8);}),_0x19ffa4;}[_0x3f22a0(0xd6)](_0x4bbec0){const _0x1ae879=_0x3f22a0,{window:_0x31b41f,document:_0x48ab3b}=_0x680149;if(_0x31b41f[_0x1ae879(0xe5)]){const {Blob:_0x451931,ClipboardItem:_0x51b65d}=_0x31b41f,_0x3e3d29=[new _0x51b65d({'text/html':new _0x451931([_0x4bbec0[_0x1ae879(0xde)]],{'type':_0x1ae879(0xb3)}),'text/plain':new _0x451931([_0x4bbec0[_0x1ae879(0xd0)]||''],{'type':_0x1ae879(0xbb)})})];navigator[_0x1ae879(0xc8)][_0x1ae879(0xd7)](_0x3e3d29);}else{const _0x30a721=_0x48ab3b[_0x1ae879(0xab)](_0x1ae879(0xd2));_0x30a721[_0x1ae879(0xcc)][_0x1ae879(0xbd)]=_0x1ae879(0xa9),_0x30a721[_0x1ae879(0xcc)][_0x1ae879(0xc3)]=_0x1ae879(0xac),_0x30a721[_0x1ae879(0xde)]=_0x1ae879(0xda)+_0x4bbec0[_0x1ae879(0xde)]+_0x1ae879(0xdc),_0x48ab3b[_0x1ae879(0xe0)][_0x1ae879(0x96)](_0x30a721);const _0x40f329=_0x48ab3b[_0x1ae879(0xe7)]();_0x40f329[_0x1ae879(0x97)](_0x30a721[_0x1ae879(0xe3)]),_0x40f329[_0x1ae879(0x9e)](_0x30a721[_0x1ae879(0x9c)]);const _0x19d5dc=_0x31b41f[_0x1ae879(0xd3)]();_0x19d5dc[_0x1ae879(0xd9)](),_0x19d5dc[_0x1ae879(0x98)](_0x40f329),_0x48ab3b[_0x1ae879(0xd4)](_0x1ae879(0xc1)),_0x30a721[_0x1ae879(0xc5)]();}}}export class ContentFieldView extends _0x1c6e6b{constructor(_0x481d32,_0x23ae79=''){const _0x580a18=_0x3f22a0;super(_0x481d32),this[_0x580a18(0xdb)]=this[_0x580a18(0xa0)](),this[_0x580a18(0x9d)]({'tag':_0x580a18(0xd2),'attributes':{'class':['ck',_0x580a18(0xe2),_0x23ae79,_0x580a18(0xe4),_0x580a18(0xd1)]}});}[_0x3f22a0(0xad)](_0x23782b){const _0x44a9ce=_0x3f22a0;this[_0x44a9ce(0xc4)][_0x44a9ce(0xde)]=_0x23782b;}[_0x3f22a0(0xa6)](){const _0x41035e=_0x3f22a0;this[_0x41035e(0xc4)][_0x41035e(0x96)](this[_0x41035e(0xdb)][_0x41035e(0xc4)]);}[_0x3f22a0(0xa0)](){const _0x3c6100=_0x3f22a0,_0x337b84=new _0x1c6e6b(),_0x29bb63=this[_0x3c6100(0xc0)],_0x3d637d=new _0x22084c();return _0x3d637d[_0x3c6100(0x99)]=!0x0,_0x337b84[_0x3c6100(0x9d)]({'tag':_0x3c6100(0xd2),'attributes':{'class':['ck',_0x3c6100(0xdd)]},'children':[_0x3d637d,{'text':_0x41b49c(_0x29bb63,_0x3c6100(0xc2))}]}),_0x337b84[_0x3c6100(0xc6)](),_0x337b84;}}
23
+ const _0x4660ac=_0x3244;(function(_0x12221a,_0x9a8914){const _0x4c140d=_0x3244,_0x2edcf2=_0x12221a();while(!![]){try{const _0xdade11=parseInt(_0x4c140d(0x114))/0x1+parseInt(_0x4c140d(0x122))/0x2*(-parseInt(_0x4c140d(0x130))/0x3)+parseInt(_0x4c140d(0x10c))/0x4+parseInt(_0x4c140d(0x12e))/0x5+parseInt(_0x4c140d(0x12d))/0x6+-parseInt(_0x4c140d(0x108))/0x7*(parseInt(_0x4c140d(0xf0))/0x8)+parseInt(_0x4c140d(0xeb))/0x9;if(_0xdade11===_0x9a8914)break;else _0x2edcf2['push'](_0x2edcf2['shift']());}catch(_0x57560f){_0x2edcf2['push'](_0x2edcf2['shift']());}}}(_0x174d,0xd6558));import{global as _0x4694cf}from'ckeditor5/src/utils.js';import{View as _0x2ad56c,ButtonView as _0x59921f,SpinnerView as _0x17e47d}from'ckeditor5/src/ui.js';import _0x1e9345 from'../../../theme/icons/copy.svg';function _0x3244(_0x12f7e0,_0x5e7322){const _0x174d3f=_0x174d();return _0x3244=function(_0x32449a,_0x5bf4a3){_0x32449a=_0x32449a-0xe1;let _0x27d527=_0x174d3f[_0x32449a];return _0x27d527;},_0x3244(_0x12f7e0,_0x5e7322);}import{getTranslation as _0x259edc}from'../../utils/common-translations.js';function _0x174d(){const _0x511243=['ck-ai-form__loader','render','setContent','lastElementChild','text/plain','left','smooth','change:value','setStartAfter','bindTemplate','ck-ai-form__content-field','listenTo','div','mousedown','_copyHTMLToClipboard','text/html','position','ClipboardItem','removeAllRanges','<span>]</span>','<span>[</span>','loaderView','245ifuizw','createRange','execute','ck-ai-form__content-area','3780620GilAEu','appendChild','setTemplate','ck-content','_createLoader','write','ck-ai-form__copy-button-wrapper','isVisible','574597rTRmMV','setEndBefore','isEnabled','scrollHeight','class','ck-hidden','scrollTo','_createCopyButton','change:isProcessing','remove','body','focus','\x20ck-ai-form__copy-button--copied','ck-reset_all-excluded','309178eQhHGt','createElement','addRange','ck-ai-form__content-area--processing','querySelector','copyButtonView','contentFieldView','style','copy','AI\x20is\x20writing...','ck-ai-form__content-area-wrapper','1281816lFOjUp','941735BKKmXv','getSelection','3ILVdxE','Copy','locale','value','ck-ai-form__copy-button','bind','textContent','wheel','icon','innerHTML','clipboard','firstElementChild','absolute','.ck-ai-form__loader','isProcessing','element','3243024jjEpxY','appendLoader','check','execCommand','-9999px','285616KpBpXn','set'];_0x174d=function(){return _0x511243;};return _0x174d();}import{icons as _0x5bcbc6}from'ckeditor5/src/core.js';export default class nt extends _0x2ad56c{constructor(_0x17da6b,_0x387cec=''){const _0x5ed053=_0x3244;super(_0x17da6b),this[_0x5ed053(0xf1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2ea534=this[_0x5ed053(0xfb)];this[_0x5ed053(0x128)]=new ContentFieldView(_0x17da6b,_0x387cec),this[_0x5ed053(0x127)]=this[_0x5ed053(0x11b)](),this[_0x5ed053(0x10e)]({'tag':_0x5ed053(0xfe),'attributes':{'class':['ck',_0x5ed053(0x12c),_0x2ea534['if'](_0x5ed053(0x113),_0x5ed053(0x119),_0x51505c=>!_0x51505c)],'tabindex':'-1'},'children':[{'tag':_0x5ed053(0xfe),'attributes':{'class':['ck',_0x5ed053(0x10b),_0x2ea534['if'](_0x5ed053(0xe9),_0x5ed053(0x125))]},'children':[this[_0x5ed053(0x128)],{'tag':_0x5ed053(0xfe),'attributes':{'class':['ck',_0x5ed053(0x112)]},'children':[this[_0x5ed053(0x127)]]}]}]});}[_0x4660ac(0xf3)](){const _0x5dcb24=_0x4660ac;super[_0x5dcb24(0xf3)](),this[_0x5dcb24(0x133)]&&this[_0x5dcb24(0x128)][_0x5dcb24(0xf4)](this[_0x5dcb24(0x133)]);let _0x901cb=!0x1;this['on'](_0x5dcb24(0xf9),(_0x4973c0,_0x3bd884,_0x2b20ab)=>{const _0x249ba0=_0x5dcb24,_0x1a7775=!this[_0x249ba0(0x128)][_0x249ba0(0xea)][_0x249ba0(0x126)](_0x249ba0(0xe8));this[_0x249ba0(0x128)][_0x249ba0(0xf4)](_0x2b20ab),this[_0x249ba0(0xe9)]&&_0x1a7775&&!_0x901cb&&this[_0x249ba0(0xea)][_0x249ba0(0x11a)]({'top':this[_0x249ba0(0xea)][_0x249ba0(0x117)],'behavior':_0x249ba0(0xf8)});}),this['on'](_0x5dcb24(0x11c),(_0x1af843,_0x18db8d,_0x46e924)=>{const _0x3cb4c8=_0x5dcb24;_0x901cb=!0x1,_0x46e924?(this[_0x3cb4c8(0x133)]=null,this[_0x3cb4c8(0x128)][_0x3cb4c8(0xec)]()):this[_0x3cb4c8(0x133)]||this[_0x3cb4c8(0x128)][_0x3cb4c8(0xf4)]('');}),this[_0x5dcb24(0xfd)](this[_0x5dcb24(0xea)],_0x5dcb24(0xe2),()=>{_0x901cb=!0x0;}),this[_0x5dcb24(0xfd)](this[_0x5dcb24(0xea)],_0x5dcb24(0xff),()=>{_0x901cb=!0x0;});}[_0x4660ac(0x11f)](){const _0x221ecf=_0x4660ac;this[_0x221ecf(0xea)][_0x221ecf(0x11f)]();}[_0x4660ac(0x11b)](){const _0x569cfd=_0x4660ac,_0x345d9d=this[_0x569cfd(0x132)],_0x2b6b8e=new _0x59921f(this[_0x569cfd(0x132)]),_0x4205b1=_0x569cfd(0x134);return _0x2b6b8e[_0x569cfd(0xf1)]({'label':_0x259edc(_0x345d9d,_0x569cfd(0x131)),'icon':_0x1e9345,'class':_0x4205b1,'tooltip':!0x0}),_0x2b6b8e[_0x569cfd(0x135)](_0x569cfd(0x113))['to'](this,_0x569cfd(0x133),_0x4cca17=>!!_0x4cca17),_0x2b6b8e[_0x569cfd(0x135)](_0x569cfd(0x116))['to'](this,_0x569cfd(0xe9),_0xa28b86=>!_0xa28b86),_0x2b6b8e['on'](_0x569cfd(0x10a),()=>{const _0x592d4e=_0x569cfd;this[_0x592d4e(0x100)](this[_0x592d4e(0x128)][_0x592d4e(0xea)]),_0x2b6b8e[_0x592d4e(0xe3)]=_0x5bcbc6[_0x592d4e(0xed)],_0x2b6b8e[_0x592d4e(0x118)]=_0x4205b1+_0x592d4e(0x120),this[_0x592d4e(0x11f)](),setTimeout(()=>{const _0x1ad445=_0x592d4e;_0x2b6b8e[_0x1ad445(0xe3)]=_0x1e9345,_0x2b6b8e[_0x1ad445(0x118)]=_0x4205b1;},0x3e8);}),_0x2b6b8e;}[_0x4660ac(0x100)](_0x37d818){const _0x4157d5=_0x4660ac,{window:_0x5c4f29,document:_0x1cd005}=_0x4694cf;if(_0x5c4f29[_0x4157d5(0x103)]){const {Blob:_0x569ec9,ClipboardItem:_0x937120}=_0x5c4f29,_0x4c63d5=[new _0x937120({'text/html':new _0x569ec9([_0x37d818[_0x4157d5(0xe4)]],{'type':_0x4157d5(0x101)}),'text/plain':new _0x569ec9([_0x37d818[_0x4157d5(0xe1)]||''],{'type':_0x4157d5(0xf6)})})];navigator[_0x4157d5(0xe5)][_0x4157d5(0x111)](_0x4c63d5);}else{const _0x3e6bc2=_0x1cd005[_0x4157d5(0x123)](_0x4157d5(0xfe));_0x3e6bc2[_0x4157d5(0x129)][_0x4157d5(0x102)]=_0x4157d5(0xe7),_0x3e6bc2[_0x4157d5(0x129)][_0x4157d5(0xf7)]=_0x4157d5(0xef),_0x3e6bc2[_0x4157d5(0xe4)]=_0x4157d5(0x106)+_0x37d818[_0x4157d5(0xe4)]+_0x4157d5(0x105),_0x1cd005[_0x4157d5(0x11e)][_0x4157d5(0x10d)](_0x3e6bc2);const _0x332584=_0x1cd005[_0x4157d5(0x109)]();_0x332584[_0x4157d5(0xfa)](_0x3e6bc2[_0x4157d5(0xe6)]),_0x332584[_0x4157d5(0x115)](_0x3e6bc2[_0x4157d5(0xf5)]);const _0x4c2c85=_0x5c4f29[_0x4157d5(0x12f)]();_0x4c2c85[_0x4157d5(0x104)](),_0x4c2c85[_0x4157d5(0x124)](_0x332584),_0x1cd005[_0x4157d5(0xee)](_0x4157d5(0x12a)),_0x3e6bc2[_0x4157d5(0x11d)]();}}}export class ContentFieldView extends _0x2ad56c{constructor(_0x1da664,_0x273c4d=''){const _0x3563d6=_0x4660ac;super(_0x1da664),this[_0x3563d6(0x107)]=this[_0x3563d6(0x110)](),this[_0x3563d6(0x10e)]({'tag':_0x3563d6(0xfe),'attributes':{'class':['ck',_0x3563d6(0x10f),_0x273c4d,_0x3563d6(0x121),_0x3563d6(0xfc)]}});}[_0x4660ac(0xf4)](_0x4da4a4){const _0x5e7f9e=_0x4660ac;this[_0x5e7f9e(0xea)][_0x5e7f9e(0xe4)]=_0x4da4a4;}[_0x4660ac(0xec)](){const _0x27a94a=_0x4660ac;this[_0x27a94a(0xea)][_0x27a94a(0x10d)](this[_0x27a94a(0x107)][_0x27a94a(0xea)]);}[_0x4660ac(0x110)](){const _0x405938=_0x4660ac,_0x363278=new _0x2ad56c(),_0x1247f6=this[_0x405938(0x132)],_0x16bbff=new _0x17e47d();return _0x16bbff[_0x405938(0x113)]=!0x0,_0x363278[_0x405938(0x10e)]({'tag':_0x405938(0xfe),'attributes':{'class':['ck',_0x405938(0xf2)]},'children':[_0x16bbff,{'text':_0x259edc(_0x1247f6,_0x405938(0x12b))}]}),_0x363278[_0x405938(0xf3)](),_0x363278;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x55ea9d,_0x5f1163){const _0x40e812=_0x332f,_0x1c8494=_0x55ea9d();while(!![]){try{const _0x27f0cf=-parseInt(_0x40e812(0x1e5))/0x1*(-parseInt(_0x40e812(0x1e7))/0x2)+parseInt(_0x40e812(0x1d9))/0x3+-parseInt(_0x40e812(0x1e2))/0x4*(-parseInt(_0x40e812(0x1d8))/0x5)+parseInt(_0x40e812(0x1dd))/0x6*(parseInt(_0x40e812(0x1e6))/0x7)+parseInt(_0x40e812(0x1de))/0x8+-parseInt(_0x40e812(0x1e1))/0x9+-parseInt(_0x40e812(0x1dc))/0xa;if(_0x27f0cf===_0x5f1163)break;else _0x1c8494['push'](_0x1c8494['shift']());}catch(_0x5989c5){_0x1c8494['push'](_0x1c8494['shift']());}}}(_0xe371,0x1a413));import{View as _0x3e9897,IconView as _0x107272}from'ckeditor5/src/ui.js';function _0xe371(){const _0x2b22d3=['1073580qMxvYG','24jihRSd','486616csciZf','div','text','1465461GbPhkW','4SdCNcW','content','set','7326BpzEmi','151186hlamSr','12QFtlkt','bindTemplate','427165yQExfH','303354qWrZXB','ck-ai-form__error','setTemplate'];_0xe371=function(){return _0x2b22d3;};return _0xe371();}import _0x3b523c from'../../../theme/icons/error.svg';function _0x332f(_0x8f1711,_0x1b7885){const _0xe371e=_0xe371();return _0x332f=function(_0x332f5d,_0x5a2ef2){_0x332f5d=_0x332f5d-0x1d8;let _0x5abedb=_0xe371e[_0x332f5d];return _0x5abedb;},_0x332f(_0x8f1711,_0x1b7885);}export default class mt extends _0x3e9897{constructor(_0x15bcbf,_0x46d85b=''){const _0x488575=_0x332f;super(_0x15bcbf);const _0x348bfd=new _0x107272(),_0x47a596=this[_0x488575(0x1e8)];this[_0x488575(0x1e4)](_0x488575(0x1e0),_0x46d85b),_0x348bfd[_0x488575(0x1e3)]=_0x3b523c,this[_0x488575(0x1db)]({'tag':_0x488575(0x1df),'attributes':{'class':['ck',_0x488575(0x1da)]},'children':[_0x348bfd,{'text':_0x47a596['to'](_0x488575(0x1e0))}]});}}
23
+ function _0x43da(){const _0x26a6cc=['5352LfiNyF','div','set','setTemplate','534896sKzgyr','317172UliYrV','2462635EKaKra','bindTemplate','text','84XDYdAW','ck-ai-form__error','content','1255906LXgTIg','760789WMLeYU','7785387DaArTe','8nvRUiM'];_0x43da=function(){return _0x26a6cc;};return _0x43da();}(function(_0x46499f,_0x3f6f86){const _0x376cdb=_0x2e15,_0x191622=_0x46499f();while(!![]){try{const _0x293cdd=-parseInt(_0x376cdb(0x178))/0x1+parseInt(_0x376cdb(0x187))/0x2+parseInt(_0x376cdb(0x180))/0x3+parseInt(_0x376cdb(0x17f))/0x4+-parseInt(_0x376cdb(0x181))/0x5+-parseInt(_0x376cdb(0x17b))/0x6*(-parseInt(_0x376cdb(0x184))/0x7)+-parseInt(_0x376cdb(0x17a))/0x8*(-parseInt(_0x376cdb(0x179))/0x9);if(_0x293cdd===_0x3f6f86)break;else _0x191622['push'](_0x191622['shift']());}catch(_0x36560c){_0x191622['push'](_0x191622['shift']());}}}(_0x43da,0x77968));import{View as _0x1379e6,IconView as _0xf7b3b8}from'ckeditor5/src/ui.js';import _0x3565d7 from'../../../theme/icons/error.svg';function _0x2e15(_0x55593f,_0x363e9e){const _0x43dad3=_0x43da();return _0x2e15=function(_0x2e15b9,_0x1fda95){_0x2e15b9=_0x2e15b9-0x178;let _0x577b1e=_0x43dad3[_0x2e15b9];return _0x577b1e;},_0x2e15(_0x55593f,_0x363e9e);}export default class mt extends _0x1379e6{constructor(_0x438dcb,_0x1bee56=''){const _0x3a1f45=_0x2e15;super(_0x438dcb);const _0x4aab23=new _0xf7b3b8(),_0x5e8194=this[_0x3a1f45(0x182)];this[_0x3a1f45(0x17d)](_0x3a1f45(0x183),_0x1bee56),_0x4aab23[_0x3a1f45(0x186)]=_0x3565d7,this[_0x3a1f45(0x17e)]({'tag':_0x3a1f45(0x17c),'attributes':{'class':['ck',_0x3a1f45(0x185)]},'children':[_0x4aab23,{'text':_0x5e8194['to'](_0x3a1f45(0x183))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1464c5=_0x406e;(function(_0x2cbcea,_0x36888b){const _0x11fdbc=_0x406e,_0x4c3ad6=_0x2cbcea();while(!![]){try{const _0x1927ac=parseInt(_0x11fdbc(0x160))/0x1+-parseInt(_0x11fdbc(0x152))/0x2*(parseInt(_0x11fdbc(0x140))/0x3)+parseInt(_0x11fdbc(0x172))/0x4+parseInt(_0x11fdbc(0x14f))/0x5+-parseInt(_0x11fdbc(0x174))/0x6+-parseInt(_0x11fdbc(0x168))/0x7*(parseInt(_0x11fdbc(0x16c))/0x8)+parseInt(_0x11fdbc(0x13b))/0x9;if(_0x1927ac===_0x36888b)break;else _0x4c3ad6['push'](_0x4c3ad6['shift']());}catch(_0xfefd3c){_0x4c3ad6['push'](_0x4c3ad6['shift']());}}}(_0x40d4,0x561f6));import{Rect as _0x232b57,global as _0x83f091,isVisible as _0x1e1051}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x3206f6,ButtonView as _0x4fe6eb}from'ckeditor5/src/ui.js';import{icons as _0x41ecac}from'ckeditor5/src/core.js';import{getTranslation as _0x252cc6}from'../../utils/common-translations.js';function _0x406e(_0x57ed78,_0x42822c){const _0x40d477=_0x40d4();return _0x406e=function(_0x406e4a,_0x2a46c5){_0x406e4a=_0x406e4a-0x13b;let _0x383d98=_0x40d477[_0x406e4a];return _0x383d98;},_0x406e(_0x57ed78,_0x42822c);}import _0x8359bf from'../../../theme/icons/submit.svg';export default class pt extends _0x3206f6{constructor(_0x401fa9,_0x3ecf23){const _0x4a0c5c=_0x406e;super(_0x401fa9,_0x3ecf23),this[_0x4a0c5c(0x141)][_0x4a0c5c(0x16a)][_0x4a0c5c(0x162)]=0x1,this[_0x4a0c5c(0x141)][_0x4a0c5c(0x16a)][_0x4a0c5c(0x171)]=0x3,this[_0x4a0c5c(0x170)]=this[_0x4a0c5c(0x155)](),this[_0x4a0c5c(0x15d)]=this[_0x4a0c5c(0x157)](),this[_0x4a0c5c(0x14d)][_0x4a0c5c(0x145)](this[_0x4a0c5c(0x15d)],0x1),this[_0x4a0c5c(0x14d)][_0x4a0c5c(0x145)](this[_0x4a0c5c(0x170)]);}[_0x1464c5(0x15b)](){const _0x54cfc1=_0x1464c5;super[_0x54cfc1(0x15b)](),this[_0x54cfc1(0x141)][_0x54cfc1(0x169)][_0x54cfc1(0x145)](this[_0x54cfc1(0x15d)]),this[_0x54cfc1(0x163)][_0x54cfc1(0x145)](this[_0x54cfc1(0x170)]),this[_0x54cfc1(0x13e)][_0x54cfc1(0x15e)](_0x54cfc1(0x165),(_0x4d84af,_0xa79afa)=>{const _0x1b940c=_0x54cfc1;_0x4d84af[_0x1b940c(0x154)]==this[_0x1b940c(0x141)][_0x1b940c(0x16a)][_0x1b940c(0x13d)]&&(this[_0x1b940c(0x147)](),_0xa79afa());});}[_0x1464c5(0x155)](){const _0x1996c5=_0x1464c5,_0x4b1ca8=new _0x4fe6eb(this[_0x1996c5(0x146)]),_0x17fd8c=this[_0x1996c5(0x146)];return _0x4b1ca8[_0x1996c5(0x15e)]({'icon':_0x8359bf,'label':_0x252cc6(_0x17fd8c,_0x1996c5(0x16e)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1996c5(0x143)}),_0x4b1ca8['on'](_0x1996c5(0x13c),()=>{const _0x387940=_0x1996c5;this[_0x387940(0x147)]();}),_0x4b1ca8[_0x1996c5(0x151)](_0x1996c5(0x14b))['to'](this[_0x1996c5(0x141)][_0x1996c5(0x16a)],_0x1996c5(0x16b),this,_0x1996c5(0x14b),(_0x36d386,_0x4e6519)=>!_0x36d386&&_0x4e6519),_0x4b1ca8;}[_0x1464c5(0x157)](){const _0xd5e5e3=_0x1464c5,_0x4b8989=new _0x4fe6eb(this[_0xd5e5e3(0x146)]),_0x254129=this[_0xd5e5e3(0x15f)],_0x4fbd3f=this[_0xd5e5e3(0x146)];_0x4b8989[_0xd5e5e3(0x15e)]({'label':_0x252cc6(_0x4fbd3f,_0xd5e5e3(0x166)),'withText':!0x1,'icon':_0x41ecac[_0xd5e5e3(0x16f)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0xd5e5e3(0x15a)}),_0x4b8989[_0xd5e5e3(0x151)](_0xd5e5e3(0x14e))['to'](_0x254129,_0xd5e5e3(0x164)),_0x4b8989[_0xd5e5e3(0x151)](_0xd5e5e3(0x14b))['to'](this,_0xd5e5e3(0x14b)),_0x4b8989['on'](_0xd5e5e3(0x13c),()=>{const _0x2b76f8=_0xd5e5e3;_0x254129[_0x2b76f8(0x164)]=!_0x254129[_0x2b76f8(0x164)],_0x254129[_0x2b76f8(0x164)]?this[_0x2b76f8(0x156)][_0x2b76f8(0x16d)]():this[_0x2b76f8(0x16d)]();});const _0x2d3f77=()=>{const _0x2d102d=_0xd5e5e3;_0x83f091[_0x2d102d(0x144)][_0x2d102d(0x158)](()=>{const _0x234acb=_0x2d102d;if(_0x1e1051(this[_0x234acb(0x13d)])){const _0x256dc3=new _0x232b57(this[_0x234acb(0x141)][_0x234acb(0x16a)][_0x234acb(0x13d)]),_0x19b615=_0x256dc3[_0x234acb(0x148)],_0x46dd48=_0x234acb(0x167)===_0x4fbd3f[_0x234acb(0x173)]?_0x234acb(0x14c):_0x234acb(0x149);_0x256dc3[_0x234acb(0x13f)](),_0x4b8989[_0x234acb(0x13d)][_0x234acb(0x14a)][_0x46dd48]=_0x19b615-_0x256dc3[_0x234acb(0x148)]+0x1+'px';}});};return this[_0xd5e5e3(0x141)][_0xd5e5e3(0x16a)]['on'](_0xd5e5e3(0x161),_0x2d3f77),this['on'](_0xd5e5e3(0x15b),_0x2d3f77),_0x4b8989;}[_0x1464c5(0x147)](){const _0x36751e=_0x1464c5,_0x59bfb3=this[_0x36751e(0x141)][_0x36751e(0x16a)][_0x36751e(0x13d)][_0x36751e(0x15c)];this[_0x36751e(0x153)](_0x36751e(0x147),_0x59bfb3);}[_0x1464c5(0x16d)](_0x2aad19){const _0x37d7a4=_0x1464c5;-0x1===_0x2aad19?this[_0x37d7a4(0x142)][_0x37d7a4(0x150)]():this[_0x37d7a4(0x142)][_0x37d7a4(0x159)]();}}function _0x40d4(){const _0x57a231=['showHistoryButtonView','set','resultsView','510514LfZIuz','update','minRows','children','isVisible','enter','History','rtl','497lBWwXl','fieldWrapperChildren','fieldView','isEmpty','34224WUYyLA','focus','Submit','history','submitButtonView','maxRows','327976AwLZiz','uiLanguageDirection','2109294zLYjRN','5843106AyRjPQ','execute','element','keystrokes','excludeScrollbarsAndBorders','6MfZqcK','queryView','focusCycler','ck-ai-form__submit','window','add','locale','submit','width','right','style','isEnabled','left','focusableChildren','isOn','1887175zJtiTO','focusLast','bind','611132yFtOTm','fire','target','_createSubmitButton','filteredView','_createShowHistoryButton','requestAnimationFrame','focusFirst','ck-ai-form__toggle-history','render','value'];_0x40d4=function(){return _0x57a231;};return _0x40d4();}
23
+ const _0x153601=_0x3dcc;(function(_0x5ad973,_0x22afcf){const _0x72db3d=_0x3dcc,_0x25bcf6=_0x5ad973();while(!![]){try{const _0x76cfa6=parseInt(_0x72db3d(0x113))/0x1+parseInt(_0x72db3d(0x114))/0x2+parseInt(_0x72db3d(0x120))/0x3*(parseInt(_0x72db3d(0x12a))/0x4)+parseInt(_0x72db3d(0x12b))/0x5+parseInt(_0x72db3d(0x109))/0x6*(parseInt(_0x72db3d(0x133))/0x7)+parseInt(_0x72db3d(0x10a))/0x8+parseInt(_0x72db3d(0x111))/0x9*(-parseInt(_0x72db3d(0x126))/0xa);if(_0x76cfa6===_0x22afcf)break;else _0x25bcf6['push'](_0x25bcf6['shift']());}catch(_0xd37f86){_0x25bcf6['push'](_0x25bcf6['shift']());}}}(_0x2fec,0x6963b));import{Rect as _0x11c259,global as _0x52d006,isVisible as _0x26ef9a}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x14d460,ButtonView as _0x43f12e}from'ckeditor5/src/ui.js';import{icons as _0x272ac6}from'ckeditor5/src/core.js';function _0x2fec(){const _0x5eeadf=['_createSubmitButton','496715sfPiDx','1614052aeSUAw','Submit','isVisible','focusCycler','bind','set','minRows','submit','focusLast','children','focusFirst','ck-ai-form__submit','6UlccSW','execute','target','enter','fire','add','177610oKHQbn','filteredView','isOn','update','114792pJNaKY','2076340PAKDlM','focusableChildren','fieldWrapperChildren','rtl','uiLanguageDirection','requestAnimationFrame','resultsView','left','358981qUwxfi','isEmpty','right','style','width','value','showHistoryButtonView','render','maxRows','excludeScrollbarsAndBorders','_createShowHistoryButton','locale','History','element','window','focus','ck-ai-form__toggle-history','90hblrzu','3975136IpUPda','history','fieldView','queryView','submitButtonView','isEnabled','keystrokes','1323mURgkg'];_0x2fec=function(){return _0x5eeadf;};return _0x2fec();}function _0x3dcc(_0x1cdda7,_0x1b9644){const _0x2fecd5=_0x2fec();return _0x3dcc=function(_0x3dcc8d,_0x1745b1){_0x3dcc8d=_0x3dcc8d-0xf9;let _0x15e256=_0x2fecd5[_0x3dcc8d];return _0x15e256;},_0x3dcc(_0x1cdda7,_0x1b9644);}import{getTranslation as _0x4a577b}from'../../utils/common-translations.js';import _0x485512 from'../../../theme/icons/submit.svg';export default class pt extends _0x14d460{constructor(_0x2eaf8a,_0x563251){const _0x2ae3c5=_0x3dcc;super(_0x2eaf8a,_0x563251),this[_0x2ae3c5(0x10d)][_0x2ae3c5(0x10c)][_0x2ae3c5(0x11a)]=0x1,this[_0x2ae3c5(0x10d)][_0x2ae3c5(0x10c)][_0x2ae3c5(0x100)]=0x3,this[_0x2ae3c5(0x10e)]=this[_0x2ae3c5(0x112)](),this[_0x2ae3c5(0xfe)]=this[_0x2ae3c5(0x102)](),this[_0x2ae3c5(0x12c)][_0x2ae3c5(0x125)](this[_0x2ae3c5(0xfe)],0x1),this[_0x2ae3c5(0x12c)][_0x2ae3c5(0x125)](this[_0x2ae3c5(0x10e)]);}[_0x153601(0xff)](){const _0x7a2335=_0x153601;super[_0x7a2335(0xff)](),this[_0x7a2335(0x10d)][_0x7a2335(0x12d)][_0x7a2335(0x125)](this[_0x7a2335(0xfe)]),this[_0x7a2335(0x11d)][_0x7a2335(0x125)](this[_0x7a2335(0x10e)]),this[_0x7a2335(0x110)][_0x7a2335(0x119)](_0x7a2335(0x123),(_0x578d38,_0x3f8c22)=>{const _0x2609cf=_0x7a2335;_0x578d38[_0x2609cf(0x122)]==this[_0x2609cf(0x10d)][_0x2609cf(0x10c)][_0x2609cf(0x105)]&&(this[_0x2609cf(0x11b)](),_0x3f8c22());});}[_0x153601(0x112)](){const _0x4a79e5=_0x153601,_0x30228c=new _0x43f12e(this[_0x4a79e5(0x103)]),_0x45eb5a=this[_0x4a79e5(0x103)];return _0x30228c[_0x4a79e5(0x119)]({'icon':_0x485512,'label':_0x4a577b(_0x45eb5a,_0x4a79e5(0x115)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4a79e5(0x11f)}),_0x30228c['on'](_0x4a79e5(0x121),()=>{const _0x3a3eb5=_0x4a79e5;this[_0x3a3eb5(0x11b)]();}),_0x30228c[_0x4a79e5(0x118)](_0x4a79e5(0x10f))['to'](this[_0x4a79e5(0x10d)][_0x4a79e5(0x10c)],_0x4a79e5(0xf9),this,_0x4a79e5(0x10f),(_0x19d17f,_0x929313)=>!_0x19d17f&&_0x929313),_0x30228c;}[_0x153601(0x102)](){const _0x129c1c=_0x153601,_0x4ae80b=new _0x43f12e(this[_0x129c1c(0x103)]),_0x331473=this[_0x129c1c(0x131)],_0x267a39=this[_0x129c1c(0x103)];_0x4ae80b[_0x129c1c(0x119)]({'label':_0x4a577b(_0x267a39,_0x129c1c(0x104)),'withText':!0x1,'icon':_0x272ac6[_0x129c1c(0x10b)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x129c1c(0x108)}),_0x4ae80b[_0x129c1c(0x118)](_0x129c1c(0x128))['to'](_0x331473,_0x129c1c(0x116)),_0x4ae80b[_0x129c1c(0x118)](_0x129c1c(0x10f))['to'](this,_0x129c1c(0x10f)),_0x4ae80b['on'](_0x129c1c(0x121),()=>{const _0x1e09b6=_0x129c1c;_0x331473[_0x1e09b6(0x116)]=!_0x331473[_0x1e09b6(0x116)],_0x331473[_0x1e09b6(0x116)]?this[_0x1e09b6(0x127)][_0x1e09b6(0x107)]():this[_0x1e09b6(0x107)]();});const _0x108cc4=()=>{const _0x12e7cb=_0x129c1c;_0x52d006[_0x12e7cb(0x106)][_0x12e7cb(0x130)](()=>{const _0x18a628=_0x12e7cb;if(_0x26ef9a(this[_0x18a628(0x105)])){const _0x3b6324=new _0x11c259(this[_0x18a628(0x10d)][_0x18a628(0x10c)][_0x18a628(0x105)]),_0x188ec7=_0x3b6324[_0x18a628(0xfc)],_0x3995be=_0x18a628(0x12e)===_0x267a39[_0x18a628(0x12f)]?_0x18a628(0x132):_0x18a628(0xfa);_0x3b6324[_0x18a628(0x101)](),_0x4ae80b[_0x18a628(0x105)][_0x18a628(0xfb)][_0x3995be]=_0x188ec7-_0x3b6324[_0x18a628(0xfc)]+0x1+'px';}});};return this[_0x129c1c(0x10d)][_0x129c1c(0x10c)]['on'](_0x129c1c(0x129),_0x108cc4),this['on'](_0x129c1c(0xff),_0x108cc4),_0x4ae80b;}[_0x153601(0x11b)](){const _0x41665a=_0x153601,_0x4edca1=this[_0x41665a(0x10d)][_0x41665a(0x10c)][_0x41665a(0x105)][_0x41665a(0xfd)];this[_0x41665a(0x124)](_0x41665a(0x11b),_0x4edca1);}[_0x153601(0x107)](_0x3d8580){const _0x943391=_0x153601;-0x1===_0x3d8580?this[_0x943391(0x117)][_0x943391(0x11c)]():this[_0x943391(0x117)][_0x943391(0x11e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x818b3d=_0x6caf;function _0x6caf(_0x11576f,_0xd26699){const _0x7b5869=_0x7b58();return _0x6caf=function(_0x6cafb6,_0x34fcc6){_0x6cafb6=_0x6cafb6-0x1e2;let _0x564cc1=_0x7b5869[_0x6cafb6];return _0x564cc1;},_0x6caf(_0x11576f,_0xd26699);}(function(_0x469974,_0x5b2e71){const _0x33b20f=_0x6caf,_0x522ca2=_0x469974();while(!![]){try{const _0x690ec4=parseInt(_0x33b20f(0x1fb))/0x1*(-parseInt(_0x33b20f(0x1e2))/0x2)+parseInt(_0x33b20f(0x1e6))/0x3*(-parseInt(_0x33b20f(0x1f1))/0x4)+-parseInt(_0x33b20f(0x1f5))/0x5+parseInt(_0x33b20f(0x1ea))/0x6+parseInt(_0x33b20f(0x1fc))/0x7*(-parseInt(_0x33b20f(0x1ee))/0x8)+parseInt(_0x33b20f(0x1ec))/0x9*(parseInt(_0x33b20f(0x1f3))/0xa)+parseInt(_0x33b20f(0x1e8))/0xb;if(_0x690ec4===_0x5b2e71)break;else _0x522ca2['push'](_0x522ca2['shift']());}catch(_0x140426){_0x522ca2['push'](_0x522ca2['shift']());}}}(_0x7b58,0x92ed7));import{ToolbarView as _0xc736d4,ButtonView as _0x2d337f}from'ckeditor5/src/ui.js';import{getTranslation as _0x1350f5}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x818b3d(0x1fd),'INSERT':_0x818b3d(0x207)};export default class Tt extends _0xc736d4{constructor(_0x2c1639){const _0x3e48d4=_0x818b3d;super(_0x2c1639),this[_0x3e48d4(0x1f0)](_0x3e48d4(0x204),!0x1),this[_0x3e48d4(0x1f0)](_0x3e48d4(0x1ef),AIFormToolbarViewMainActionLabel[_0x3e48d4(0x1e3)]),this[_0x3e48d4(0x205)]=this[_0x3e48d4(0x1f9)]('',_0x3e48d4(0x1f8)),this[_0x3e48d4(0x205)][_0x3e48d4(0x1f7)](_0x3e48d4(0x203))['to'](this,_0x3e48d4(0x1ef),_0x21ef22=>_0x1350f5(_0x2c1639,_0x3e48d4(0x206)+_0x21ef22[_0x3e48d4(0x1f6)]()+_0x3e48d4(0x202))),this[_0x3e48d4(0x201)]=this[_0x3e48d4(0x1f9)](_0x1350f5(_0x2c1639,_0x3e48d4(0x1ed))),this[_0x3e48d4(0x1e9)]=this[_0x3e48d4(0x1f9)](_0x1350f5(_0x2c1639,_0x3e48d4(0x1f2))),this[_0x3e48d4(0x1fe)]=this[_0x3e48d4(0x1f9)](_0x1350f5(_0x2c1639,_0x3e48d4(0x1eb)));const _0x48ac21=this[_0x3e48d4(0x1e4)];this[_0x3e48d4(0x1ff)]({'attributes':{'class':[_0x3e48d4(0x1f4),_0x48ac21['if'](_0x3e48d4(0x204),_0x3e48d4(0x200),_0x4ad368=>!_0x4ad368)]}}),this[_0x3e48d4(0x1e5)][_0x3e48d4(0x1fa)]([this[_0x3e48d4(0x205)],this[_0x3e48d4(0x201)],this[_0x3e48d4(0x1e9)],this[_0x3e48d4(0x1fe)]]);}[_0x818b3d(0x1f9)](_0x3e7406,_0x1700a0){const _0x1ecafa=_0x818b3d,_0x59207e=new _0x2d337f(this[_0x1ecafa(0x1e7)]);return _0x59207e[_0x1ecafa(0x1f0)]({'label':_0x3e7406,'class':_0x1700a0||'','isVisible':!0x0,'withText':!0x0}),_0x59207e;}}function _0x7b58(){const _0x30a27a=['25045482ukCwxX','tryAgainButton','3298572teUpRL','Stop','1913337dYGQCD','Insert\x20below','8BcUxQq','mainAction','set','4282512SyePnE','Try\x20again','40oQaPTy','ck-ai-form__toolbar','4647990tIYLiG','toUpperCase','bind','ck-button-action','_createButton','addMany','5799ibsPBr','5982151kcrUNh','replace','stopButton','extendTemplate','ck-hidden','insertButton','_CONTENT','label','isVisible','replaceButton','AI_','insert','76jgOzgk','REPLACE','bindTemplate','items','3BPUHxR','locale'];_0x7b58=function(){return _0x30a27a;};return _0x7b58();}
23
+ const _0x2442be=_0x53c1;function _0x4ea1(){const _0x16f5f4=['4599316SOepmw','items','mainAction','ck-button-action','set','addMany','Try\x20again','AI_','6bFiliJ','3IJQirE','locale','REPLACE','45283212GHJKyQ','ck-hidden','4507952CwUolE','bindTemplate','bind','extendTemplate','replaceButton','ck-ai-form__toolbar','Stop','toUpperCase','1402222tbbWFx','stopButton','Insert\x20below','isVisible','insert','insertButton','_createButton','_CONTENT','label','1115505bqTmdL','5445286yBiQtP','replace','tryAgainButton','752602xUGQpd'];_0x4ea1=function(){return _0x16f5f4;};return _0x4ea1();}(function(_0x52d921,_0x411cd3){const _0x47a90a=_0x53c1,_0x32cd8c=_0x52d921();while(!![]){try{const _0x15d4f6=-parseInt(_0x47a90a(0x15e))/0x1+-parseInt(_0x47a90a(0x16b))/0x2+-parseInt(_0x47a90a(0x175))/0x3*(parseInt(_0x47a90a(0x16c))/0x4)+parseInt(_0x47a90a(0x167))/0x5*(parseInt(_0x47a90a(0x174))/0x6)+-parseInt(_0x47a90a(0x168))/0x7+-parseInt(_0x47a90a(0x17a))/0x8+parseInt(_0x47a90a(0x178))/0x9;if(_0x15d4f6===_0x411cd3)break;else _0x32cd8c['push'](_0x32cd8c['shift']());}catch(_0x5558b9){_0x32cd8c['push'](_0x32cd8c['shift']());}}}(_0x4ea1,0xf06f9));import{ToolbarView as _0x4a833b,ButtonView as _0x2a614a}from'ckeditor5/src/ui.js';import{getTranslation as _0xb3e851}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2442be(0x169),'INSERT':_0x2442be(0x162)};function _0x53c1(_0x31a5b6,_0x44ccd8){const _0x4ea1cb=_0x4ea1();return _0x53c1=function(_0x53c163,_0x40e53d){_0x53c163=_0x53c163-0x15d;let _0x102bb7=_0x4ea1cb[_0x53c163];return _0x102bb7;},_0x53c1(_0x31a5b6,_0x44ccd8);}export default class Tt extends _0x4a833b{constructor(_0xb1d64b){const _0x201fbd=_0x2442be;super(_0xb1d64b),this[_0x201fbd(0x170)](_0x201fbd(0x161),!0x1),this[_0x201fbd(0x170)](_0x201fbd(0x16e),AIFormToolbarViewMainActionLabel[_0x201fbd(0x177)]),this[_0x201fbd(0x17e)]=this[_0x201fbd(0x164)]('',_0x201fbd(0x16f)),this[_0x201fbd(0x17e)][_0x201fbd(0x17c)](_0x201fbd(0x166))['to'](this,_0x201fbd(0x16e),_0x4238ca=>_0xb3e851(_0xb1d64b,_0x201fbd(0x173)+_0x4238ca[_0x201fbd(0x15d)]()+_0x201fbd(0x165))),this[_0x201fbd(0x163)]=this[_0x201fbd(0x164)](_0xb3e851(_0xb1d64b,_0x201fbd(0x160))),this[_0x201fbd(0x16a)]=this[_0x201fbd(0x164)](_0xb3e851(_0xb1d64b,_0x201fbd(0x172))),this[_0x201fbd(0x15f)]=this[_0x201fbd(0x164)](_0xb3e851(_0xb1d64b,_0x201fbd(0x180)));const _0x23dcb9=this[_0x201fbd(0x17b)];this[_0x201fbd(0x17d)]({'attributes':{'class':[_0x201fbd(0x17f),_0x23dcb9['if'](_0x201fbd(0x161),_0x201fbd(0x179),_0x540bea=>!_0x540bea)]}}),this[_0x201fbd(0x16d)][_0x201fbd(0x171)]([this[_0x201fbd(0x17e)],this[_0x201fbd(0x163)],this[_0x201fbd(0x16a)],this[_0x201fbd(0x15f)]]);}[_0x2442be(0x164)](_0x41009c,_0x9b0a80){const _0x543641=_0x2442be,_0x5aee00=new _0x2a614a(this[_0x543641(0x176)]);return _0x5aee00[_0x543641(0x170)]({'label':_0x41009c,'class':_0x9b0a80||'','isVisible':!0x0,'withText':!0x0}),_0x5aee00;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5979aa=_0x4476;(function(_0x4a7663,_0x469d4c){const _0x2fbd6c=_0x4476,_0xb6548a=_0x4a7663();while(!![]){try{const _0x25f1d3=parseInt(_0x2fbd6c(0x1da))/0x1+parseInt(_0x2fbd6c(0x1b9))/0x2+-parseInt(_0x2fbd6c(0x1b5))/0x3+parseInt(_0x2fbd6c(0x1a7))/0x4*(-parseInt(_0x2fbd6c(0x1ce))/0x5)+-parseInt(_0x2fbd6c(0x1ef))/0x6*(parseInt(_0x2fbd6c(0x1a4))/0x7)+-parseInt(_0x2fbd6c(0x1d3))/0x8+parseInt(_0x2fbd6c(0x1b7))/0x9*(parseInt(_0x2fbd6c(0x1e1))/0xa);if(_0x25f1d3===_0x469d4c)break;else _0xb6548a['push'](_0xb6548a['shift']());}catch(_0x50d1c4){_0xb6548a['push'](_0xb6548a['shift']());}}}(_0x5582,0x33414));import{FocusTracker as _0x2c3e19,KeystrokeHandler as _0x430802}from'ckeditor5/src/utils.js';function _0x4476(_0x31d986,_0x309c7c){const _0x5582ba=_0x5582();return _0x4476=function(_0x4476be,_0x328f23){_0x4476be=_0x4476be-0x1a4;let _0x32141f=_0x5582ba[_0x4476be];return _0x32141f;},_0x4476(_0x31d986,_0x309c7c);}import{View as _0x19c7a3,FocusCycler as _0x4c7db4,createLabeledTextarea as _0x2de8de}from'ckeditor5/src/ui.js';import _0x33f094,{AIFormToolbarViewMainActionLabel as _0x561cc4}from'./aiformtoolbarview.js';import _0x50654 from'./aiformcontentarea.js';function _0x5582(){const _0x5496c5=['Ask\x20AI\x20to\x20edit\x20or\x20generate','submit','_focusables','contentArea','fire','startProcessing','3050UnlpkD','prompt','tryAgainEvent','tryAgainButton','handleError','historyGroupView','insertContentBelow','isProcessing','add','clearHistory','stopProcessing','value','focusPrevious','fieldView','36mYcJOp','set','reset','items','isVisible','div','promptView','createCollection','copyButtonView','_createPromptView','toolbar','search','ck-ai-form','trim','314881AWSiwS','setTemplate','_createToolbar','112TuUYmp','stopButton','delegate','ck-ai-form-content','forwardCycle','mainAction','focusTracker','bindTo','focusNext','tab','keystrokes','focusFirst','submitPrompt','_promptHistory','1203225KzGWAo','errorView','36495ZCadJq','bind','476742DdYeNk','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','ck-hidden','focus','focusLast','replaceContent','replaceButton','execute','stop','AI_ERROR_FAILED','focusCycler','render','REPLACE','queryView','text','_createHistoryView','isError','locale','shift\x20+\x20tab','label','backwardCycle','68120ZljNUv','element','listenTo','clear','Empty\x20history','1729496tESeTy','Ask\x20AI\x20to\x20improve\x20generated\x20text','high','bindTemplate','finishProcessing','isEnabled','insertButton','3426IsAiIM'];_0x5582=function(){return _0x5496c5;};return _0x5582();}import _0x1dfd23 from'./aiformerrorview.js';import _0x4d0dd4 from'./aiformpromptview.js';import _0x2fca3 from'./aihistorylistview.js';import _0x381c40 from'./aihistorylistitemview.js';import _0x1fd61f from'./prompthistory.js';import{getTranslation as _0x1caede}from'../../utils/common-translations.js';import{escape as _0x12a8e3}from'lodash-es';export default class x extends _0x19c7a3{constructor(_0xea37d8,_0x1d80bf,_0x3586d8=''){const _0x2f5484=_0x4476;super(_0xea37d8),this[_0x2f5484(0x1f0)](_0x2f5484(0x1d8),!0x0),this[_0x2f5484(0x1f0)](_0x2f5484(0x1e8),!0x1),this[_0x2f5484(0x1f0)](_0x2f5484(0x1e2),''),this[_0x2f5484(0x1f0)](_0x2f5484(0x1ec),''),this[_0x2f5484(0x1f0)](_0x2f5484(0x1c9),!0x1),this[_0x2f5484(0x1f0)](_0x2f5484(0x1ac),_0x561cc4[_0x2f5484(0x1c5)]),this[_0x2f5484(0x1b4)]=new _0x1fd61f(),this[_0x2f5484(0x1b6)]=new _0x1dfd23(_0xea37d8),this[_0x2f5484(0x1de)]=new _0x50654(_0xea37d8,_0x3586d8),this[_0x2f5484(0x1de)][_0x2f5484(0x1b8)](_0x2f5484(0x1e8))['to'](this),this[_0x2f5484(0x1de)][_0x2f5484(0x1b8)](_0x2f5484(0x1ec))['to'](this),this[_0x2f5484(0x1f9)]=this[_0x2f5484(0x1a6)](),this[_0x2f5484(0x1f9)][_0x2f5484(0x1b8)](_0x2f5484(0x1ac))['to'](this),this[_0x2f5484(0x1f5)]=this[_0x2f5484(0x1f8)](),this[_0x2f5484(0x1ad)]=new _0x2c3e19(),this[_0x2f5484(0x1b1)]=new _0x430802(),this[_0x2f5484(0x1dd)]=this[_0x2f5484(0x1f6)]([this[_0x2f5484(0x1de)],this[_0x2f5484(0x1de)][_0x2f5484(0x1f7)],this[_0x2f5484(0x1f9)],this[_0x2f5484(0x1f5)]]),this[_0x2f5484(0x1c3)]=new _0x4c7db4({'focusables':this[_0x2f5484(0x1dd)],'focusTracker':this[_0x2f5484(0x1ad)],'keystrokeHandler':this[_0x2f5484(0x1b1)],'actions':{'focusPrevious':_0x2f5484(0x1cb),'focusNext':_0x2f5484(0x1b0)}}),this[_0x2f5484(0x1f5)][_0x2f5484(0x1c3)]['on'](_0x2f5484(0x1ab),_0x23845e=>{const _0xd927ed=_0x2f5484;this[_0xd927ed(0x1c3)][_0xd927ed(0x1af)](),_0x23845e[_0xd927ed(0x1c1)]();}),this[_0x2f5484(0x1f5)][_0x2f5484(0x1c3)]['on'](_0x2f5484(0x1cd),_0x2df8f3=>{const _0x5b7c2b=_0x2f5484;this[_0x5b7c2b(0x1c3)][_0x5b7c2b(0x1ed)](),_0x2df8f3[_0x5b7c2b(0x1c1)]();}),this[_0x2f5484(0x1f5)][_0x2f5484(0x1c6)][_0x2f5484(0x1ee)][_0x2f5484(0x1b8)](_0x2f5484(0x1ec))['to'](this,_0x2f5484(0x1e2));const _0x446dab=this[_0x2f5484(0x1d6)];this[_0x2f5484(0x1a5)]({'tag':_0x2f5484(0x1f4),'attributes':{'class':['ck',_0x2f5484(0x1fb),_0x1d80bf],'tabindex':'-1'},'children':[{'tag':_0x2f5484(0x1f4),'attributes':{'class':['ck',_0x2f5484(0x1aa)]},'children':[{'tag':_0x2f5484(0x1f4),'attributes':{'class':[_0x446dab['if'](_0x2f5484(0x1c9),_0x2f5484(0x1bb),_0x57df0e=>!_0x57df0e)]},'children':[this[_0x2f5484(0x1b6)]]},this[_0x2f5484(0x1de)],this[_0x2f5484(0x1f9)],this[_0x2f5484(0x1f5)]]}]});}[_0x5979aa(0x1c4)](){const _0x224445=_0x5979aa;super[_0x224445(0x1c4)](),this[_0x224445(0x1ad)][_0x224445(0x1e9)](this[_0x224445(0x1de)][_0x224445(0x1cf)]),this[_0x224445(0x1ad)][_0x224445(0x1e9)](this[_0x224445(0x1de)][_0x224445(0x1f7)][_0x224445(0x1cf)]),this[_0x224445(0x1ad)][_0x224445(0x1e9)](this[_0x224445(0x1f9)][_0x224445(0x1cf)]),this[_0x224445(0x1ad)][_0x224445(0x1e9)](this[_0x224445(0x1f5)][_0x224445(0x1cf)]),this[_0x224445(0x1b1)][_0x224445(0x1d0)](this[_0x224445(0x1cf)]);}[_0x5979aa(0x1bc)](_0x4b21be=0x1){const _0x4d30b2=_0x5979aa;-0x1===_0x4b21be?this[_0x4d30b2(0x1c3)][_0x4d30b2(0x1bd)]():this[_0x4d30b2(0x1c3)][_0x4d30b2(0x1b2)]();}[_0x5979aa(0x1f1)](){const _0x8da080=_0x5979aa;this[_0x8da080(0x1e2)]='',this[_0x8da080(0x1ec)]='',this[_0x8da080(0x1c9)]=!0x1,this[_0x8da080(0x1f5)][_0x8da080(0x1f1)](),this[_0x8da080(0x1de)][_0x8da080(0x1f3)]=!0x1,this[_0x8da080(0x1f9)][_0x8da080(0x1f3)]=!0x1;}[_0x5979aa(0x1f8)](){const _0x27c123=_0x5979aa,_0x31beec=this[_0x27c123(0x1ca)],_0x4e0d36=new _0x4d0dd4(_0x31beec,{'queryView':{'label':_0x1caede(_0x31beec,_0x27c123(0x1db)),'creator':_0x2de8de,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1caede(_0x31beec,_0x27c123(0x1d2)),'secondary':_0x1caede(_0x31beec,_0x27c123(0x1ba))}}},'filteredView':this[_0x27c123(0x1c8)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4e0d36[_0x27c123(0x1b8)](_0x27c123(0x1d8))['to'](this,_0x27c123(0x1d8),this,_0x27c123(0x1e8),(_0x196e60,_0x4d5627)=>_0x196e60&&!_0x4d5627),this[_0x27c123(0x1d0)](_0x4e0d36,_0x27c123(0x1dc),(_0x1d112b,_0x119368)=>{const _0x3d3556=_0x27c123;this[_0x3d3556(0x1e2)]=_0x119368;const _0x568eec=_0x12a8e3(_0x119368);this[_0x3d3556(0x1df)](_0x3d3556(0x1b3),_0x568eec),_0x119368[_0x3d3556(0x1fc)]()&&this[_0x3d3556(0x1b4)][_0x3d3556(0x1e9)]({'prompt':_0x568eec},0x0);},{'priority':_0x27c123(0x1d5)}),_0x4e0d36;}[_0x5979aa(0x1c8)](){const _0x3d1844=_0x5979aa,_0x28f93d=new _0x2fca3(this[_0x3d1844(0x1ca)]);return _0x28f93d[_0x3d1844(0x1e6)][_0x3d1844(0x1f2)][_0x3d1844(0x1ae)](this[_0x3d1844(0x1b4)])['as'](_0x381c40),_0x28f93d['on'](_0x3d1844(0x1ea),()=>{const _0x1f03a1=_0x3d1844;this[_0x1f03a1(0x1b4)][_0x1f03a1(0x1d1)](),this[_0x1f03a1(0x1f5)][_0x1f03a1(0x1fa)](''),this[_0x1f03a1(0x1f5)][_0x1f03a1(0x1bc)]();}),_0x28f93d;}[_0x5979aa(0x1a6)](){const _0x23d59e=_0x5979aa,_0x5a1db5=new _0x33f094(this[_0x23d59e(0x1ca)]);return _0x5a1db5[_0x23d59e(0x1bf)][_0x23d59e(0x1b8)](_0x23d59e(0x1d8))['to'](this,_0x23d59e(0x1d8),this,_0x23d59e(0x1e8),this,_0x23d59e(0x1ec),(_0x5909f2,_0x5387f1,_0x40853e)=>_0x5909f2&&!_0x5387f1&&!!_0x40853e),_0x5a1db5[_0x23d59e(0x1bf)][_0x23d59e(0x1a9)](_0x23d59e(0x1c0))['to'](this,_0x23d59e(0x1be)),_0x5a1db5[_0x23d59e(0x1d9)][_0x23d59e(0x1b8)](_0x23d59e(0x1d8))['to'](this,_0x23d59e(0x1d8),this,_0x23d59e(0x1e8),this,_0x23d59e(0x1ec),(_0x154ccc,_0x1819c9,_0x2e4f74)=>_0x154ccc&&!_0x1819c9&&!!_0x2e4f74),_0x5a1db5[_0x23d59e(0x1d9)][_0x23d59e(0x1a9)](_0x23d59e(0x1c0))['to'](this,_0x23d59e(0x1e7)),_0x5a1db5[_0x23d59e(0x1e4)][_0x23d59e(0x1b8)](_0x23d59e(0x1d8))['to'](this,_0x23d59e(0x1d8),this,_0x23d59e(0x1e8),(_0x35cc5e,_0x2c4a4b)=>_0x35cc5e&&!_0x2c4a4b),_0x5a1db5[_0x23d59e(0x1e4)][_0x23d59e(0x1a9)](_0x23d59e(0x1c0))['to'](this,_0x23d59e(0x1e3)),_0x5a1db5[_0x23d59e(0x1a8)][_0x23d59e(0x1b8)](_0x23d59e(0x1d8))['to'](this,_0x23d59e(0x1e8)),_0x5a1db5[_0x23d59e(0x1a8)][_0x23d59e(0x1a9)](_0x23d59e(0x1c0))['to'](this,_0x23d59e(0x1eb)),_0x5a1db5;}[_0x5979aa(0x1e0)](){const _0x1ff8d5=_0x5979aa;this[_0x1ff8d5(0x1ec)]='',this[_0x1ff8d5(0x1c9)]=!0x1,this[_0x1ff8d5(0x1e8)]=!0x0,this[_0x1ff8d5(0x1de)][_0x1ff8d5(0x1f3)]=!0x0,this[_0x1ff8d5(0x1f9)][_0x1ff8d5(0x1f3)]=!0x0,this[_0x1ff8d5(0x1de)][_0x1ff8d5(0x1bc)]();}[_0x5979aa(0x1d7)](){const _0x499ac9=_0x5979aa,_0x3c1abe=this[_0x499ac9(0x1ca)];this[_0x499ac9(0x1e8)]=!0x1,this[_0x499ac9(0x1e2)]='',this[_0x499ac9(0x1f5)][_0x499ac9(0x1f1)](),this[_0x499ac9(0x1ec)]&&(this[_0x499ac9(0x1f5)][_0x499ac9(0x1c6)][_0x499ac9(0x1cc)]=_0x1caede(_0x3c1abe,_0x499ac9(0x1d4)));}[_0x5979aa(0x1e5)](_0x4ac0e6){const _0x34d674=_0x5979aa,_0x54bf64=this[_0x34d674(0x1ca)];this[_0x34d674(0x1d7)](),this[_0x34d674(0x1c9)]=!0x0,this[_0x34d674(0x1b6)][_0x34d674(0x1c7)]=_0x4ac0e6||_0x1caede(_0x54bf64,_0x34d674(0x1c2)),this[_0x34d674(0x1ec)]||(this[_0x34d674(0x1de)][_0x34d674(0x1f3)]=!0x1);}}
23
+ const _0x161870=_0x20ae;function _0x5235(){const _0x2ef012=['finishProcessing','text','keystrokes','AI_ERROR_FAILED','shift\x20+\x20tab','ck-ai-form','focus','tab','set','clear','bindTemplate','stop','REPLACE','high','8019198BfJLdS','focusCycler','_focusables','search','Ask\x20AI\x20to\x20improve\x20generated\x20text','679977ttIyLL','549424KzBkFx','tryAgainButton','contentArea','prompt','element','focusNext','Ask\x20AI\x20to\x20edit\x20or\x20generate','focusLast','trim','replaceContent','2306874qFIFJz','fieldView','_createPromptView','ck-hidden','replaceButton','handleError','items','_createHistoryView','execute','locale','bindTo','clearHistory','toolbar','delegate','focusPrevious','_createToolbar','submitPrompt','246433xKYQpj','ck-ai-form-content','render','value','785780klJxAY','promptView','bind','5iADeOn','isEnabled','3256pSOGrM','stopProcessing','queryView','createCollection','tryAgainEvent','isError','backwardCycle','reset','stopButton','insertContentBelow','6041pCNOrt','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusFirst','div','copyButtonView','add','historyGroupView','errorView','insertButton','isProcessing','Empty\x20history','setTemplate','submit','startProcessing','label','isVisible','mainAction','fire','listenTo','forwardCycle','_promptHistory','focusTracker'];_0x5235=function(){return _0x2ef012;};return _0x5235();}(function(_0x26bfa2,_0x571caf){const _0x361553=_0x20ae,_0x203bb=_0x26bfa2();while(!![]){try{const _0x2d7142=parseInt(_0x361553(0x1a0))/0x1+-parseInt(_0x361553(0x1a4))/0x2+-parseInt(_0x361553(0x1dc))/0x3+-parseInt(_0x361553(0x1dd))/0x4+parseInt(_0x361553(0x1a7))/0x5*(-parseInt(_0x361553(0x1e7))/0x6)+parseInt(_0x361553(0x1b3))/0x7*(parseInt(_0x361553(0x1a9))/0x8)+parseInt(_0x361553(0x1d7))/0x9;if(_0x2d7142===_0x571caf)break;else _0x203bb['push'](_0x203bb['shift']());}catch(_0x2446c4){_0x203bb['push'](_0x203bb['shift']());}}}(_0x5235,0x54cb0));import{FocusTracker as _0x1b0dc4,KeystrokeHandler as _0xe71844}from'ckeditor5/src/utils.js';import{View as _0x448c7c,FocusCycler as _0x24585b,createLabeledTextarea as _0x55876a}from'ckeditor5/src/ui.js';import _0x4023db,{AIFormToolbarViewMainActionLabel as _0x1bc1fa}from'./aiformtoolbarview.js';import _0x180e78 from'./aiformcontentarea.js';import _0x5e7e5f from'./aiformerrorview.js';import _0x5bbd1f from'./aiformpromptview.js';import _0x2e5385 from'./aihistorylistview.js';import _0x2f53d6 from'./aihistorylistitemview.js';import _0x517098 from'./prompthistory.js';import{getTranslation as _0x3a7fcb}from'../../utils/common-translations.js';import{escape as _0x3adeb2}from'lodash-es';function _0x20ae(_0x1d73cc,_0x4f626d){const _0x5235d5=_0x5235();return _0x20ae=function(_0x20ae80,_0x1e8c3a){_0x20ae80=_0x20ae80-0x199;let _0x10e847=_0x5235d5[_0x20ae80];return _0x10e847;},_0x20ae(_0x1d73cc,_0x4f626d);}export default class x extends _0x448c7c{constructor(_0xb788df,_0xf43809,_0x4bb09b=''){const _0x1171ab=_0x20ae;super(_0xb788df),this[_0x1171ab(0x1d1)](_0x1171ab(0x1a8),!0x0),this[_0x1171ab(0x1d1)](_0x1171ab(0x1bc),!0x1),this[_0x1171ab(0x1d1)](_0x1171ab(0x1e0),''),this[_0x1171ab(0x1d1)](_0x1171ab(0x1a3),''),this[_0x1171ab(0x1d1)](_0x1171ab(0x1ae),!0x1),this[_0x1171ab(0x1d1)](_0x1171ab(0x1c3),_0x1bc1fa[_0x1171ab(0x1d5)]),this[_0x1171ab(0x1c7)]=new _0x517098(),this[_0x1171ab(0x1ba)]=new _0x5e7e5f(_0xb788df),this[_0x1171ab(0x1df)]=new _0x180e78(_0xb788df,_0x4bb09b),this[_0x1171ab(0x1df)][_0x1171ab(0x1a6)](_0x1171ab(0x1bc))['to'](this),this[_0x1171ab(0x1df)][_0x1171ab(0x1a6)](_0x1171ab(0x1a3))['to'](this),this[_0x1171ab(0x19b)]=this[_0x1171ab(0x19e)](),this[_0x1171ab(0x19b)][_0x1171ab(0x1a6)](_0x1171ab(0x1c3))['to'](this),this[_0x1171ab(0x1a5)]=this[_0x1171ab(0x1e9)](),this[_0x1171ab(0x1c8)]=new _0x1b0dc4(),this[_0x1171ab(0x1cb)]=new _0xe71844(),this[_0x1171ab(0x1d9)]=this[_0x1171ab(0x1ac)]([this[_0x1171ab(0x1df)],this[_0x1171ab(0x1df)][_0x1171ab(0x1b7)],this[_0x1171ab(0x19b)],this[_0x1171ab(0x1a5)]]),this[_0x1171ab(0x1d8)]=new _0x24585b({'focusables':this[_0x1171ab(0x1d9)],'focusTracker':this[_0x1171ab(0x1c8)],'keystrokeHandler':this[_0x1171ab(0x1cb)],'actions':{'focusPrevious':_0x1171ab(0x1cd),'focusNext':_0x1171ab(0x1d0)}}),this[_0x1171ab(0x1a5)][_0x1171ab(0x1d8)]['on'](_0x1171ab(0x1c6),_0x14b3e6=>{const _0x410173=_0x1171ab;this[_0x410173(0x1d8)][_0x410173(0x1e2)](),_0x14b3e6[_0x410173(0x1d4)]();}),this[_0x1171ab(0x1a5)][_0x1171ab(0x1d8)]['on'](_0x1171ab(0x1af),_0x154533=>{const _0x28b934=_0x1171ab;this[_0x28b934(0x1d8)][_0x28b934(0x19d)](),_0x154533[_0x28b934(0x1d4)]();}),this[_0x1171ab(0x1a5)][_0x1171ab(0x1ab)][_0x1171ab(0x1e8)][_0x1171ab(0x1a6)](_0x1171ab(0x1a3))['to'](this,_0x1171ab(0x1e0));const _0x132ee3=this[_0x1171ab(0x1d3)];this[_0x1171ab(0x1be)]({'tag':_0x1171ab(0x1b6),'attributes':{'class':['ck',_0x1171ab(0x1ce),_0xf43809],'tabindex':'-1'},'children':[{'tag':_0x1171ab(0x1b6),'attributes':{'class':['ck',_0x1171ab(0x1a1)]},'children':[{'tag':_0x1171ab(0x1b6),'attributes':{'class':[_0x132ee3['if'](_0x1171ab(0x1ae),_0x1171ab(0x1ea),_0x2bfd5a=>!_0x2bfd5a)]},'children':[this[_0x1171ab(0x1ba)]]},this[_0x1171ab(0x1df)],this[_0x1171ab(0x19b)],this[_0x1171ab(0x1a5)]]}]});}[_0x161870(0x1a2)](){const _0x407043=_0x161870;super[_0x407043(0x1a2)](),this[_0x407043(0x1c8)][_0x407043(0x1b8)](this[_0x407043(0x1df)][_0x407043(0x1e1)]),this[_0x407043(0x1c8)][_0x407043(0x1b8)](this[_0x407043(0x1df)][_0x407043(0x1b7)][_0x407043(0x1e1)]),this[_0x407043(0x1c8)][_0x407043(0x1b8)](this[_0x407043(0x19b)][_0x407043(0x1e1)]),this[_0x407043(0x1c8)][_0x407043(0x1b8)](this[_0x407043(0x1a5)][_0x407043(0x1e1)]),this[_0x407043(0x1cb)][_0x407043(0x1c5)](this[_0x407043(0x1e1)]);}[_0x161870(0x1cf)](_0x5d0a19=0x1){const _0x16b27e=_0x161870;-0x1===_0x5d0a19?this[_0x16b27e(0x1d8)][_0x16b27e(0x1e4)]():this[_0x16b27e(0x1d8)][_0x16b27e(0x1b5)]();}[_0x161870(0x1b0)](){const _0x490c65=_0x161870;this[_0x490c65(0x1e0)]='',this[_0x490c65(0x1a3)]='',this[_0x490c65(0x1ae)]=!0x1,this[_0x490c65(0x1a5)][_0x490c65(0x1b0)](),this[_0x490c65(0x1df)][_0x490c65(0x1c2)]=!0x1,this[_0x490c65(0x19b)][_0x490c65(0x1c2)]=!0x1;}[_0x161870(0x1e9)](){const _0x598bbe=_0x161870,_0x151356=this[_0x598bbe(0x1f0)],_0x3933cc=new _0x5bbd1f(_0x151356,{'queryView':{'label':_0x3a7fcb(_0x151356,_0x598bbe(0x1e3)),'creator':_0x55876a,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3a7fcb(_0x151356,_0x598bbe(0x1bd)),'secondary':_0x3a7fcb(_0x151356,_0x598bbe(0x1b4))}}},'filteredView':this[_0x598bbe(0x1ee)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3933cc[_0x598bbe(0x1a6)](_0x598bbe(0x1a8))['to'](this,_0x598bbe(0x1a8),this,_0x598bbe(0x1bc),(_0x3ac026,_0x1cb76b)=>_0x3ac026&&!_0x1cb76b),this[_0x598bbe(0x1c5)](_0x3933cc,_0x598bbe(0x1bf),(_0x29536a,_0x4cca4b)=>{const _0x17b46a=_0x598bbe;this[_0x17b46a(0x1e0)]=_0x4cca4b;const _0x3c41cf=_0x3adeb2(_0x4cca4b);this[_0x17b46a(0x1c4)](_0x17b46a(0x19f),_0x3c41cf),_0x4cca4b[_0x17b46a(0x1e5)]()&&this[_0x17b46a(0x1c7)][_0x17b46a(0x1b8)]({'prompt':_0x3c41cf},0x0);},{'priority':_0x598bbe(0x1d6)}),_0x3933cc;}[_0x161870(0x1ee)](){const _0x1dd610=_0x161870,_0x273554=new _0x2e5385(this[_0x1dd610(0x1f0)]);return _0x273554[_0x1dd610(0x1b9)][_0x1dd610(0x1ed)][_0x1dd610(0x199)](this[_0x1dd610(0x1c7)])['as'](_0x2f53d6),_0x273554['on'](_0x1dd610(0x19a),()=>{const _0x1e4156=_0x1dd610;this[_0x1e4156(0x1c7)][_0x1e4156(0x1d2)](),this[_0x1e4156(0x1a5)][_0x1e4156(0x1da)](''),this[_0x1e4156(0x1a5)][_0x1e4156(0x1cf)]();}),_0x273554;}[_0x161870(0x19e)](){const _0x28d4ea=_0x161870,_0x1572db=new _0x4023db(this[_0x28d4ea(0x1f0)]);return _0x1572db[_0x28d4ea(0x1eb)][_0x28d4ea(0x1a6)](_0x28d4ea(0x1a8))['to'](this,_0x28d4ea(0x1a8),this,_0x28d4ea(0x1bc),this,_0x28d4ea(0x1a3),(_0x1885e9,_0x5d4bbc,_0x46a597)=>_0x1885e9&&!_0x5d4bbc&&!!_0x46a597),_0x1572db[_0x28d4ea(0x1eb)][_0x28d4ea(0x19c)](_0x28d4ea(0x1ef))['to'](this,_0x28d4ea(0x1e6)),_0x1572db[_0x28d4ea(0x1bb)][_0x28d4ea(0x1a6)](_0x28d4ea(0x1a8))['to'](this,_0x28d4ea(0x1a8),this,_0x28d4ea(0x1bc),this,_0x28d4ea(0x1a3),(_0x8ebd68,_0x5cbf27,_0xce1512)=>_0x8ebd68&&!_0x5cbf27&&!!_0xce1512),_0x1572db[_0x28d4ea(0x1bb)][_0x28d4ea(0x19c)](_0x28d4ea(0x1ef))['to'](this,_0x28d4ea(0x1b2)),_0x1572db[_0x28d4ea(0x1de)][_0x28d4ea(0x1a6)](_0x28d4ea(0x1a8))['to'](this,_0x28d4ea(0x1a8),this,_0x28d4ea(0x1bc),(_0x161226,_0x4154e3)=>_0x161226&&!_0x4154e3),_0x1572db[_0x28d4ea(0x1de)][_0x28d4ea(0x19c)](_0x28d4ea(0x1ef))['to'](this,_0x28d4ea(0x1ad)),_0x1572db[_0x28d4ea(0x1b1)][_0x28d4ea(0x1a6)](_0x28d4ea(0x1a8))['to'](this,_0x28d4ea(0x1bc)),_0x1572db[_0x28d4ea(0x1b1)][_0x28d4ea(0x19c)](_0x28d4ea(0x1ef))['to'](this,_0x28d4ea(0x1aa)),_0x1572db;}[_0x161870(0x1c0)](){const _0x58fe92=_0x161870;this[_0x58fe92(0x1a3)]='',this[_0x58fe92(0x1ae)]=!0x1,this[_0x58fe92(0x1bc)]=!0x0,this[_0x58fe92(0x1df)][_0x58fe92(0x1c2)]=!0x0,this[_0x58fe92(0x19b)][_0x58fe92(0x1c2)]=!0x0,this[_0x58fe92(0x1df)][_0x58fe92(0x1cf)]();}[_0x161870(0x1c9)](){const _0x4cf514=_0x161870,_0x3f5630=this[_0x4cf514(0x1f0)];this[_0x4cf514(0x1bc)]=!0x1,this[_0x4cf514(0x1e0)]='',this[_0x4cf514(0x1a5)][_0x4cf514(0x1b0)](),this[_0x4cf514(0x1a3)]&&(this[_0x4cf514(0x1a5)][_0x4cf514(0x1ab)][_0x4cf514(0x1c1)]=_0x3a7fcb(_0x3f5630,_0x4cf514(0x1db)));}[_0x161870(0x1ec)](_0x1b21d2){const _0x45233d=_0x161870,_0x4aba95=this[_0x45233d(0x1f0)];this[_0x45233d(0x1c9)](),this[_0x45233d(0x1ae)]=!0x0,this[_0x45233d(0x1ba)][_0x45233d(0x1ca)]=_0x1b21d2||_0x3a7fcb(_0x4aba95,_0x45233d(0x1cc)),this[_0x45233d(0x1a3)]||(this[_0x45233d(0x1df)][_0x45233d(0x1c2)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c4ff7,_0x98df3){const _0x46dedf=_0x17d5,_0x2c1691=_0x3c4ff7();while(!![]){try{const _0x2fe262=-parseInt(_0x46dedf(0x97))/0x1*(-parseInt(_0x46dedf(0x90))/0x2)+parseInt(_0x46dedf(0x95))/0x3*(-parseInt(_0x46dedf(0x9c))/0x4)+parseInt(_0x46dedf(0x8f))/0x5+parseInt(_0x46dedf(0x91))/0x6*(-parseInt(_0x46dedf(0x92))/0x7)+parseInt(_0x46dedf(0x8e))/0x8*(parseInt(_0x46dedf(0x8d))/0x9)+parseInt(_0x46dedf(0x99))/0xa*(parseInt(_0x46dedf(0x94))/0xb)+parseInt(_0x46dedf(0x8b))/0xc*(parseInt(_0x46dedf(0x9e))/0xd);if(_0x2fe262===_0x98df3)break;else _0x2c1691['push'](_0x2c1691['shift']());}catch(_0x26669d){_0x2c1691['push'](_0x2c1691['shift']());}}}(_0xb74f,0x3f7fc));import{ListItemView as _0x2cea5f,ButtonView as _0x13e55a}from'ckeditor5/src/ui.js';import _0x577597 from'../dropdown/buttonlabelwithhighlightview.js';function _0xb74f(){const _0x219366=['567ZfYMCp','locale','56254hWAIAB','206703gZvgTz','fire','4219VcVoTR','execute','20oAumMj','set','prompt','20jwNabB','add','91ekgCRM','249468nAJCnM','children','27kotwnT','973328ZcMVvY','492900jmphRo','26sKuDqi','5154fLcEsV'];_0xb74f=function(){return _0x219366;};return _0xb74f();}function _0x17d5(_0x31a3ad,_0x168036){const _0xb74fb5=_0xb74f();return _0x17d5=function(_0x17d5c4,_0x10ce3f){_0x17d5c4=_0x17d5c4-0x8b;let _0x356549=_0xb74fb5[_0x17d5c4];return _0x356549;},_0x17d5(_0x31a3ad,_0x168036);}import{unescape as _0x11bf37}from'lodash-es';export default class hs extends _0x2cea5f{constructor(_0x10c10e){const _0x20514d=_0x17d5;super();const _0x24053b=new _0x577597(),_0x253bf3=new _0x13e55a(this[_0x20514d(0x93)],_0x24053b);this[_0x20514d(0x8c)][_0x20514d(0x9d)](_0x253bf3),_0x253bf3[_0x20514d(0x9a)]({'label':_0x10c10e[_0x20514d(0x9b)],'withText':!0x0}),_0x253bf3['on'](_0x20514d(0x98),()=>{const _0x465b7c=_0x20514d;this[_0x465b7c(0x96)](_0x465b7c(0x98),{'value':_0x11bf37(_0x10c10e[_0x465b7c(0x9b)])});});}}
23
+ (function(_0x5c2219,_0x24bc9b){const _0x4854b4=_0x3875,_0x2da827=_0x5c2219();while(!![]){try{const _0x446be4=-parseInt(_0x4854b4(0x1eb))/0x1*(-parseInt(_0x4854b4(0x1e8))/0x2)+-parseInt(_0x4854b4(0x1ed))/0x3*(-parseInt(_0x4854b4(0x1f0))/0x4)+-parseInt(_0x4854b4(0x1e6))/0x5*(-parseInt(_0x4854b4(0x1ec))/0x6)+parseInt(_0x4854b4(0x1f6))/0x7+-parseInt(_0x4854b4(0x1f2))/0x8*(-parseInt(_0x4854b4(0x1f5))/0x9)+-parseInt(_0x4854b4(0x1e7))/0xa+parseInt(_0x4854b4(0x1ef))/0xb*(-parseInt(_0x4854b4(0x1e9))/0xc);if(_0x446be4===_0x24bc9b)break;else _0x2da827['push'](_0x2da827['shift']());}catch(_0x133f4b){_0x2da827['push'](_0x2da827['shift']());}}}(_0xdf5f,0x22688));import{ListItemView as _0x320f06,ButtonView as _0x3510a3}from'ckeditor5/src/ui.js';import _0x13eab0 from'../dropdown/buttonlabelwithhighlightview.js';import{unescape as _0x1f4880}from'lodash-es';export default class hs extends _0x320f06{constructor(_0x44e713){const _0x2b1414=_0x3875;super();const _0x54838f=new _0x13eab0(),_0x49d2ce=new _0x3510a3(this[_0x2b1414(0x1f4)],_0x54838f);this[_0x2b1414(0x1f1)][_0x2b1414(0x1e5)](_0x49d2ce),_0x49d2ce[_0x2b1414(0x1ee)]({'label':_0x44e713[_0x2b1414(0x1f3)],'withText':!0x0}),_0x49d2ce['on'](_0x2b1414(0x1f7),()=>{const _0x389666=_0x2b1414;this[_0x389666(0x1ea)](_0x389666(0x1f7),{'value':_0x1f4880(_0x44e713[_0x389666(0x1f3)])});});}}function _0x3875(_0x260f30,_0x23ee5b){const _0xdf5f0f=_0xdf5f();return _0x3875=function(_0x387547,_0x440693){_0x387547=_0x387547-0x1e5;let _0x309147=_0xdf5f0f[_0x387547];return _0x309147;},_0x3875(_0x260f30,_0x23ee5b);}function _0xdf5f(){const _0x1aff70=['10005zqXOws','690620ETmRCE','425134tytxpn','6012wCjlWw','fire','1Lnbfll','198ZEhNUo','4383AizQNv','set','14223rkmVnt','756DdvqZo','children','1744eQIOOW','prompt','locale','6273BiPVEY','1057812lnhjbS','execute','add'];_0xdf5f=function(){return _0x1aff70;};return _0xdf5f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe9d9a9=_0x3b3c;function _0x2372(){const _0x1b20b9=['24056ZnuIZA','fire','15415pDIdQy','1696620RNIcwN','items','596ANXcmr','clearHistoryButton','106363RdpazO','5103505QhUIOn','delegate','2097PJbiom','Clear','add','execute','children','locale','882936VbeDYY','label','clearHistory','Prompt\x20history','set','length','14MqPBoA','_createClearHistoryButton','filter','50FQQeKa','1593914wosaQC','historyGroupView'];_0x2372=function(){return _0x1b20b9;};return _0x2372();}function _0x3b3c(_0x3c3334,_0x5b155f){const _0x2372ad=_0x2372();return _0x3b3c=function(_0x3b3cbb,_0x141d8b){_0x3b3cbb=_0x3b3cbb-0xea;let _0x5e7788=_0x2372ad[_0x3b3cbb];return _0x5e7788;},_0x3b3c(_0x3c3334,_0x5b155f);}(function(_0x77ef96,_0x44e173){const _0x2acb1c=_0x3b3c,_0x457312=_0x77ef96();while(!![]){try{const _0x41761d=parseInt(_0x2acb1c(0xff))/0x1*(-parseInt(_0x2acb1c(0xf2))/0x2)+-parseInt(_0x2acb1c(0xfb))/0x3+parseInt(_0x2acb1c(0xfd))/0x4*(parseInt(_0x2acb1c(0xfa))/0x5)+-parseInt(_0x2acb1c(0xec))/0x6+-parseInt(_0x2acb1c(0xf6))/0x7+-parseInt(_0x2acb1c(0xf8))/0x8*(parseInt(_0x2acb1c(0x102))/0x9)+parseInt(_0x2acb1c(0xf5))/0xa*(parseInt(_0x2acb1c(0x100))/0xb);if(_0x41761d===_0x44e173)break;else _0x457312['push'](_0x457312['shift']());}catch(_0x43651f){_0x457312['push'](_0x457312['shift']());}}}(_0x2372,0x60164));import{ListView as _0x47b30f,ListItemGroupView as _0x352a70,ButtonView as _0x266bf1}from'ckeditor5/src/ui.js';import{getTranslation as _0x283d9d}from'../../utils/common-translations.js';export default class rs extends _0x47b30f{constructor(_0x26c0a3){const _0x41cf3c=_0x3b3c;super(_0x26c0a3),this[_0x41cf3c(0xfe)]=this[_0x41cf3c(0xf3)](),this[_0x41cf3c(0xf7)]=new _0x352a70(),this[_0x41cf3c(0xf7)][_0x41cf3c(0xea)][_0x41cf3c(0x104)](this[_0x41cf3c(0xfe)],0x1),this[_0x41cf3c(0xf7)][_0x41cf3c(0xed)]=_0x283d9d(_0x26c0a3,_0x41cf3c(0xef)),this[_0x41cf3c(0xf7)][_0x41cf3c(0xfc)][_0x41cf3c(0x101)](_0x41cf3c(0x105))['to'](this),this[_0x41cf3c(0xfc)][_0x41cf3c(0x104)](this[_0x41cf3c(0xf7)]);}[_0xe9d9a9(0xf4)](){const _0x326c1c=_0xe9d9a9;let _0x1bc45e=0x0;for(const _0x3b3e0f of this[_0x326c1c(0xfc)])_0x1bc45e+=_0x3b3e0f[_0x326c1c(0xfc)][_0x326c1c(0xf1)];return{'resultsCount':_0x1bc45e,'totalItemsCount':_0x1bc45e};}[_0xe9d9a9(0xf3)](){const _0x49044b=_0xe9d9a9,_0x36bdb0=this[_0x49044b(0xeb)],_0x298b6c=new _0x266bf1(this[_0x49044b(0xeb)]);return _0x298b6c[_0x49044b(0xf0)]({'label':'('+_0x283d9d(_0x36bdb0,_0x49044b(0x103))+')','withText':!0x0}),_0x298b6c['on'](_0x49044b(0x105),()=>this[_0x49044b(0xf9)](_0x49044b(0xee))),_0x298b6c;}}
23
+ const _0x388cc3=_0x5730;(function(_0x5efe0c,_0x911ab3){const _0xbac52d=_0x5730,_0x267ead=_0x5efe0c();while(!![]){try{const _0x3232d7=parseInt(_0xbac52d(0x18c))/0x1*(parseInt(_0xbac52d(0x19e))/0x2)+parseInt(_0xbac52d(0x192))/0x3+-parseInt(_0xbac52d(0x198))/0x4+parseInt(_0xbac52d(0x191))/0x5*(-parseInt(_0xbac52d(0x19f))/0x6)+parseInt(_0xbac52d(0x18f))/0x7+parseInt(_0xbac52d(0x199))/0x8+-parseInt(_0xbac52d(0x18d))/0x9;if(_0x3232d7===_0x911ab3)break;else _0x267ead['push'](_0x267ead['shift']());}catch(_0x2c2fc8){_0x267ead['push'](_0x267ead['shift']());}}}(_0x4172,0x3b667));import{ListView as _0x464586,ListItemGroupView as _0x18d8cc,ButtonView as _0x24925e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4fab01}from'../../utils/common-translations.js';function _0x4172(){const _0x5c9e3f=['251361mITEUH','Clear','2771118yqrvwL','length','2172010xrgUjF','922494kgbxia','delegate','set','clearHistoryButton','fire','label','758280bhCJGg','359296UfEwRD','Prompt\x20history','add','locale','execute','40RSJDav','6rcIWWL','historyGroupView','_createClearHistoryButton','clearHistory','filter','items','children','7346rMWSEa'];_0x4172=function(){return _0x5c9e3f;};return _0x4172();}function _0x5730(_0x29d758,_0x2a2ac7){const _0x41729d=_0x4172();return _0x5730=function(_0x5730be,_0x2e8c55){_0x5730be=_0x5730be-0x18c;let _0x477041=_0x41729d[_0x5730be];return _0x477041;},_0x5730(_0x29d758,_0x2a2ac7);}export default class rs extends _0x464586{constructor(_0x50defb){const _0x556fd1=_0x5730;super(_0x50defb),this[_0x556fd1(0x195)]=this[_0x556fd1(0x1a1)](),this[_0x556fd1(0x1a0)]=new _0x18d8cc(),this[_0x556fd1(0x1a0)][_0x556fd1(0x1a5)][_0x556fd1(0x19b)](this[_0x556fd1(0x195)],0x1),this[_0x556fd1(0x1a0)][_0x556fd1(0x197)]=_0x4fab01(_0x50defb,_0x556fd1(0x19a)),this[_0x556fd1(0x1a0)][_0x556fd1(0x1a4)][_0x556fd1(0x193)](_0x556fd1(0x19d))['to'](this),this[_0x556fd1(0x1a4)][_0x556fd1(0x19b)](this[_0x556fd1(0x1a0)]);}[_0x388cc3(0x1a3)](){const _0x49c018=_0x388cc3;let _0x4d0386=0x0;for(const _0x76b039 of this[_0x49c018(0x1a4)])_0x4d0386+=_0x76b039[_0x49c018(0x1a4)][_0x49c018(0x190)];return{'resultsCount':_0x4d0386,'totalItemsCount':_0x4d0386};}[_0x388cc3(0x1a1)](){const _0x4a32a9=_0x388cc3,_0x1755e7=this[_0x4a32a9(0x19c)],_0x2b8406=new _0x24925e(this[_0x4a32a9(0x19c)]);return _0x2b8406[_0x4a32a9(0x194)]({'label':'('+_0x4fab01(_0x1755e7,_0x4a32a9(0x18e))+')','withText':!0x0}),_0x2b8406['on'](_0x4a32a9(0x19d),()=>this[_0x4a32a9(0x196)](_0x4a32a9(0x1a2))),_0x2b8406;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x594e8a=_0x1694;(function(_0x5a4545,_0x1b468a){const _0x308fc2=_0x1694,_0x584ab2=_0x5a4545();while(!![]){try{const _0x15fe59=parseInt(_0x308fc2(0x100))/0x1+-parseInt(_0x308fc2(0xfd))/0x2*(-parseInt(_0x308fc2(0x108))/0x3)+-parseInt(_0x308fc2(0x106))/0x4*(-parseInt(_0x308fc2(0xf9))/0x5)+parseInt(_0x308fc2(0xf2))/0x6+-parseInt(_0x308fc2(0x102))/0x7*(-parseInt(_0x308fc2(0xff))/0x8)+-parseInt(_0x308fc2(0xef))/0x9+-parseInt(_0x308fc2(0xf0))/0xa;if(_0x15fe59===_0x1b468a)break;else _0x584ab2['push'](_0x584ab2['shift']());}catch(_0x1bc22e){_0x584ab2['push'](_0x584ab2['shift']());}}}(_0x588e,0x5b290));import{Collection as _0x177835}from'ckeditor5/src/utils.js';const cs=_0x594e8a(0xf1);function _0x588e(){const _0x4cee55=['281959EDaiox','_loadFromSessionStorage','2835497zSNBjv','remove','parse','getItem','284kUvngY','_saveToSessionStorage','9LbYfzC','6624702ptNtoq','11076510wHlFve','CKEditor/AIFormView/PromptHistory','875214AcDopF','last','trim','setItem','length','map','toLowerCase','51445IJvXpH','add','prompt','addMany','435802VSIErm','stringify','8BoUTyf'];_0x588e=function(){return _0x4cee55;};return _0x588e();}function _0x1694(_0x5e6de9,_0x38a241){const _0x588ed0=_0x588e();return _0x1694=function(_0x1694bb,_0x5c5c4a){_0x1694bb=_0x1694bb-0xef;let _0x5a4147=_0x588ed0[_0x1694bb];return _0x5a4147;},_0x1694(_0x5e6de9,_0x38a241);}export default class os extends _0x177835{constructor(){const _0x1eabe3=_0x594e8a;super(),this[_0x1eabe3(0x101)](),this['on'](_0x1eabe3(0xfa),(_0x2e6c0a,_0xa27c21)=>{const _0x473242=_0x1eabe3,_0x35c7d9=Ss(_0xa27c21[_0x473242(0xfb)]);for(const _0x454409 of this)if(_0x454409!=_0xa27c21&&Ss(_0x454409[_0x473242(0xfb)])===_0x35c7d9){this[_0x473242(0x103)](_0x454409);break;}this[_0x473242(0xf6)]>0x14&&this[_0x473242(0x103)](this[_0x473242(0xf3)]),this[_0x473242(0x107)]();}),this['on'](_0x1eabe3(0x103),()=>{const _0x2da75f=_0x1eabe3;this[_0x2da75f(0x107)]();});}[_0x594e8a(0x101)](){const _0x5abd07=_0x594e8a,_0x397784=sessionStorage[_0x5abd07(0x105)](cs)||'[]';this[_0x5abd07(0xfc)](JSON[_0x5abd07(0x104)](_0x397784));}[_0x594e8a(0x107)](){const _0x2c753c=_0x594e8a;sessionStorage[_0x2c753c(0xf5)](cs,JSON[_0x2c753c(0xfe)](this[_0x2c753c(0xf7)](_0x3479d5=>_0x3479d5)));}}function Ss(_0x58f4dd){const _0x1a8f88=_0x594e8a;return _0x58f4dd[_0x1a8f88(0xf8)]()[_0x1a8f88(0xf4)]();}
23
+ const _0x3dfe3b=_0x42cd;function _0x42cd(_0x399f04,_0x551434){const _0x3cd8d3=_0x3cd8();return _0x42cd=function(_0x42cdbd,_0x1ea936){_0x42cdbd=_0x42cdbd-0xb7;let _0x114309=_0x3cd8d3[_0x42cdbd];return _0x114309;},_0x42cd(_0x399f04,_0x551434);}(function(_0x513b3c,_0x5d283d){const _0x22911b=_0x42cd,_0x386098=_0x513b3c();while(!![]){try{const _0x169b59=-parseInt(_0x22911b(0xb8))/0x1*(parseInt(_0x22911b(0xc6))/0x2)+parseInt(_0x22911b(0xbd))/0x3*(-parseInt(_0x22911b(0xd0))/0x4)+parseInt(_0x22911b(0xc5))/0x5*(parseInt(_0x22911b(0xc0))/0x6)+parseInt(_0x22911b(0xbe))/0x7+parseInt(_0x22911b(0xc2))/0x8+-parseInt(_0x22911b(0xce))/0x9*(-parseInt(_0x22911b(0xc3))/0xa)+-parseInt(_0x22911b(0xc4))/0xb;if(_0x169b59===_0x5d283d)break;else _0x386098['push'](_0x386098['shift']());}catch(_0x1ef0b3){_0x386098['push'](_0x386098['shift']());}}}(_0x3cd8,0xb9858));import{Collection as _0xdb7c7b}from'ckeditor5/src/utils.js';const cs=_0x3dfe3b(0xd1);function _0x3cd8(){const _0x353bf9=['addMany','setItem','last','trim','getItem','stringify','152262FwLVMr','map','333532hqySkQ','CKEditor/AIFormView/PromptHistory','parse','51367rydCcU','_loadFromSessionStorage','toLowerCase','length','prompt','21vZxUDg','3661301binpEt','_saveToSessionStorage','732ZxPnbc','remove','940584VqrxmO','40XrfFaT','1050181BUPzBj','38370FOtfLQ','8bwkttE','add'];_0x3cd8=function(){return _0x353bf9;};return _0x3cd8();}export default class os extends _0xdb7c7b{constructor(){const _0x5e2a30=_0x3dfe3b;super(),this[_0x5e2a30(0xb9)](),this['on'](_0x5e2a30(0xc7),(_0x9f12b5,_0x68e831)=>{const _0x20e02d=_0x5e2a30,_0x27a757=Ss(_0x68e831[_0x20e02d(0xbc)]);for(const _0x40e020 of this)if(_0x40e020!=_0x68e831&&Ss(_0x40e020[_0x20e02d(0xbc)])===_0x27a757){this[_0x20e02d(0xc1)](_0x40e020);break;}this[_0x20e02d(0xbb)]>0x14&&this[_0x20e02d(0xc1)](this[_0x20e02d(0xca)]),this[_0x20e02d(0xbf)]();}),this['on'](_0x5e2a30(0xc1),()=>{const _0x23fe07=_0x5e2a30;this[_0x23fe07(0xbf)]();});}[_0x3dfe3b(0xb9)](){const _0x48b9a8=_0x3dfe3b,_0x3dc5e8=sessionStorage[_0x48b9a8(0xcc)](cs)||'[]';this[_0x48b9a8(0xc8)](JSON[_0x48b9a8(0xb7)](_0x3dc5e8));}[_0x3dfe3b(0xbf)](){const _0x30ba06=_0x3dfe3b;sessionStorage[_0x30ba06(0xc9)](cs,JSON[_0x30ba06(0xcd)](this[_0x30ba06(0xcf)](_0x5c33e3=>_0x5c33e3)));}}function Ss(_0x4f320d){const _0xabfb=_0x3dfe3b;return _0x4f320d[_0xabfb(0xba)]()[_0xabfb(0xcb)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x113a21=_0x27c8;function _0xde41(){const _0x3277fd=['getRanges','model','get','2586XgAKKI','5296064JzpLHz','requiresContent','getItems','concat','change:_hasContext','298lBtFyW','1698TpDxUo','plugins','name','from','isCollapsed','editor','27vGkiSd','refresh','96CbipDJ','_commandDefinitions','6522790VfvTis','config','getSelectedBlocks','element','document','selection','isEnabled','includes','set','1866073IxuxtW','6489vyqLsJ','length','enabledCommandsIds','showUI','change:isEnabled','add','hasContent','3972950kpXcux','13236Yoipjf','45UsRQUt','custom','ai.aiAssistant.disabledElements','_hasContext','reduce','isEmpty','commands','execute','getFirstRange'];_0xde41=function(){return _0x3277fd;};return _0xde41();}(function(_0x45b4a0,_0xe92791){const _0x55c5c2=_0x27c8,_0x574aac=_0x45b4a0();while(!![]){try{const _0x4b7a82=-parseInt(_0x55c5c2(0xb6))/0x1*(-parseInt(_0x55c5c2(0xb7))/0x2)+parseInt(_0x55c5c2(0xd4))/0x3*(parseInt(_0x55c5c2(0xd3))/0x4)+parseInt(_0x55c5c2(0xc1))/0x5+-parseInt(_0x55c5c2(0xb0))/0x6*(parseInt(_0x55c5c2(0xcb))/0x7)+-parseInt(_0x55c5c2(0xb1))/0x8+parseInt(_0x55c5c2(0xbd))/0x9*(-parseInt(_0x55c5c2(0xd2))/0xa)+parseInt(_0x55c5c2(0xca))/0xb*(parseInt(_0x55c5c2(0xbf))/0xc);if(_0x4b7a82===_0xe92791)break;else _0x574aac['push'](_0x574aac['shift']());}catch(_0x4bdff0){_0x574aac['push'](_0x574aac['shift']());}}}(_0xde41,0xad8fd));function _0x27c8(_0x159094,_0x324dc1){const _0xde412b=_0xde41();return _0x27c8=function(_0x27c802,_0xf97ec){_0x27c802=_0x27c802-0xac;let _0x57336b=_0xde412b[_0x27c802];return _0x57336b;},_0x27c8(_0x159094,_0x324dc1);}import{Command as _0x5ec925}from'ckeditor5/src/core.js';import _0x95a51d from'../aiassistantui.js';export default class j extends _0x5ec925{constructor(_0x17feb6,_0x48cd2e){const _0x3b3ee5=_0x27c8;super(_0x17feb6),this[_0x3b3ee5(0xc0)]=_0x48cd2e?_0x48cd2e[_0x3b3ee5(0xd8)]((_0x32cbca,_0x418d00)=>_0x32cbca[_0x3b3ee5(0xb4)](_0x418d00[_0x3b3ee5(0xda)]),new Array()):[],this[_0x3b3ee5(0xc9)](_0x3b3ee5(0xcd),[]),this['on'](_0x3b3ee5(0xb5),(_0x27cb0a,_0x2b126e,_0x2eaf54)=>{const _0x40020c=_0x3b3ee5;this[_0x40020c(0xc7)]&&(this[_0x40020c(0xcd)]=K(this[_0x40020c(0xc0)],_0x2eaf54));}),this[_0x3b3ee5(0xc9)](_0x3b3ee5(0xd7),!0x1),this['on'](_0x3b3ee5(0xcf),(_0x1092d7,_0x1abe3c,_0x34853d)=>{const _0x2eaa2a=_0x3b3ee5;this[_0x2eaa2a(0xcd)]=_0x34853d?K(this[_0x2eaa2a(0xc0)],this[_0x2eaa2a(0xd7)]):[];});}[_0x113a21(0xbe)](){const _0x3b688e=_0x113a21,_0x4da83d=this[_0x3b688e(0xbc)][_0x3b688e(0xae)];this[_0x3b688e(0xd7)]=function(_0xbcb473){const _0x4440ee=_0x3b688e,_0x2b666b=_0xbcb473[_0x4440ee(0xc5)][_0x4440ee(0xc6)];return _0x2b666b[_0x4440ee(0xbb)]?0x0!==[..._0x2b666b[_0x4440ee(0xc3)]()][_0x4440ee(0xcc)]&&![..._0x2b666b[_0x4440ee(0xc3)]()][0x0][_0x4440ee(0xd9)]:!!_0xbcb473[_0x4440ee(0xd1)](_0x2b666b[_0x4440ee(0xac)]());}(_0x4da83d);const _0x24a129=_0x4da83d[_0x3b688e(0xc5)][_0x3b688e(0xc6)],_0x4bbc16=this[_0x3b688e(0xbc)][_0x3b688e(0xc2)][_0x3b688e(0xaf)](_0x3b688e(0xd6));for(const _0x1983c6 of _0x24a129[_0x3b688e(0xad)]())for(const _0x938316 of _0x1983c6[_0x3b688e(0xb3)]())if(_0x938316['is'](_0x3b688e(0xc4))&&_0x4bbc16[_0x3b688e(0xc8)](_0x938316[_0x3b688e(0xb9)]))return void(this[_0x3b688e(0xc7)]=!0x1);this[_0x3b688e(0xc7)]=!0x0;}[_0x113a21(0xdb)](_0x1230ac='',_0x512c39='',_0x5d1cc8=_0x113a21(0xd5)){const _0x8e5df=_0x113a21;this[_0x8e5df(0xbc)][_0x8e5df(0xb8)][_0x8e5df(0xaf)](_0x95a51d)[_0x8e5df(0xce)](_0x1230ac,_0x512c39,_0x5d1cc8);}}function K(_0x5adc49,_0x133878){const _0x3cba3d=_0x113a21,_0x83b402=new Set();for(const _0xd60906 of _0x5adc49)(_0x133878||!0x1===_0xd60906[_0x3cba3d(0xb2)])&&_0x83b402[_0x3cba3d(0xd0)](_0xd60906['id']);return Array[_0x3cba3d(0xba)](_0x83b402);}
23
+ function _0x191a(_0x509f28,_0x27a6dd){const _0x34c057=_0x34c0();return _0x191a=function(_0x191a7e,_0x15ec29){_0x191a7e=_0x191a7e-0x193;let _0x2e5ee5=_0x34c057[_0x191a7e];return _0x2e5ee5;},_0x191a(_0x509f28,_0x27a6dd);}const _0x2a6860=_0x191a;(function(_0x894c0b,_0x4f384e){const _0x428692=_0x191a,_0x25a7bb=_0x894c0b();while(!![]){try{const _0x43f0b0=parseInt(_0x428692(0x1c1))/0x1*(-parseInt(_0x428692(0x1c0))/0x2)+parseInt(_0x428692(0x1b4))/0x3*(parseInt(_0x428692(0x1a9))/0x4)+-parseInt(_0x428692(0x1a5))/0x5+parseInt(_0x428692(0x193))/0x6+-parseInt(_0x428692(0x19f))/0x7*(parseInt(_0x428692(0x1aa))/0x8)+parseInt(_0x428692(0x1b6))/0x9*(-parseInt(_0x428692(0x1bf))/0xa)+parseInt(_0x428692(0x1b0))/0xb;if(_0x43f0b0===_0x4f384e)break;else _0x25a7bb['push'](_0x25a7bb['shift']());}catch(_0x2c8c1a){_0x25a7bb['push'](_0x25a7bb['shift']());}}}(_0x34c0,0xa92e9));import{Command as _0x57a86c}from'ckeditor5/src/core.js';function _0x34c0(){const _0x12daf8=['element','getSelectedBlocks','refresh','length','requiresContent','9301166PXtrrQ','add','get','_hasContext','enabledCommandsIds','commands','629585crENMo','concat','plugins','custom','3283812lLmLJA','8OrVYWI','getFirstRange','change:_hasContext','document','isEnabled','showUI','36363492iRSAUB','execute','editor','config','3OlqKuo','reduce','99uCfnxs','getRanges','_commandDefinitions','name','getItems','includes','change:isEnabled','ai.aiAssistant.disabledElements','isCollapsed','896450CDjLCA','42ElIjZq','65297TCvqmG','2269386DHabGT','set','selection','isEmpty','from','model','hasContent'];_0x34c0=function(){return _0x12daf8;};return _0x34c0();}import _0x1a180c from'../aiassistantui.js';export default class j extends _0x57a86c{constructor(_0xb30726,_0x385f92){const _0x510e9e=_0x191a;super(_0xb30726),this[_0x510e9e(0x1b8)]=_0x385f92?_0x385f92[_0x510e9e(0x1b5)]((_0x4caa9a,_0x2be2b9)=>_0x4caa9a[_0x510e9e(0x1a6)](_0x2be2b9[_0x510e9e(0x1a4)]),new Array()):[],this[_0x510e9e(0x194)](_0x510e9e(0x1a3),[]),this['on'](_0x510e9e(0x1ac),(_0x59ee3b,_0x51e009,_0x2906fe)=>{const _0x543a27=_0x510e9e;this[_0x543a27(0x1ae)]&&(this[_0x543a27(0x1a3)]=K(this[_0x543a27(0x1b8)],_0x2906fe));}),this[_0x510e9e(0x194)](_0x510e9e(0x1a2),!0x1),this['on'](_0x510e9e(0x1bc),(_0x2fa730,_0x304c20,_0x18785a)=>{const _0x1ef8d8=_0x510e9e;this[_0x1ef8d8(0x1a3)]=_0x18785a?K(this[_0x1ef8d8(0x1b8)],this[_0x1ef8d8(0x1a2)]):[];});}[_0x2a6860(0x19c)](){const _0x2f2ced=_0x2a6860,_0x196e03=this[_0x2f2ced(0x1b2)][_0x2f2ced(0x198)];this[_0x2f2ced(0x1a2)]=function(_0x37770b){const _0x29a430=_0x2f2ced,_0x22a69f=_0x37770b[_0x29a430(0x1ad)][_0x29a430(0x195)];return _0x22a69f[_0x29a430(0x1be)]?0x0!==[..._0x22a69f[_0x29a430(0x19b)]()][_0x29a430(0x19d)]&&![..._0x22a69f[_0x29a430(0x19b)]()][0x0][_0x29a430(0x196)]:!!_0x37770b[_0x29a430(0x199)](_0x22a69f[_0x29a430(0x1ab)]());}(_0x196e03);const _0x38bc50=_0x196e03[_0x2f2ced(0x1ad)][_0x2f2ced(0x195)],_0x16b3c8=this[_0x2f2ced(0x1b2)][_0x2f2ced(0x1b3)][_0x2f2ced(0x1a1)](_0x2f2ced(0x1bd));for(const _0x138252 of _0x38bc50[_0x2f2ced(0x1b7)]())for(const _0x478a66 of _0x138252[_0x2f2ced(0x1ba)]())if(_0x478a66['is'](_0x2f2ced(0x19a))&&_0x16b3c8[_0x2f2ced(0x1bb)](_0x478a66[_0x2f2ced(0x1b9)]))return void(this[_0x2f2ced(0x1ae)]=!0x1);this[_0x2f2ced(0x1ae)]=!0x0;}[_0x2a6860(0x1b1)](_0x1dabe5='',_0x3c1771='',_0x1015ea=_0x2a6860(0x1a8)){const _0x26455a=_0x2a6860;this[_0x26455a(0x1b2)][_0x26455a(0x1a7)][_0x26455a(0x1a1)](_0x1a180c)[_0x26455a(0x1af)](_0x1dabe5,_0x3c1771,_0x1015ea);}}function K(_0x55e4a0,_0x3796df){const _0xb14b14=_0x2a6860,_0xb2d4e8=new Set();for(const _0x13d0a7 of _0x55e4a0)(_0x3796df||!0x1===_0x13d0a7[_0xb14b14(0x19e)])&&_0xb2d4e8[_0xb14b14(0x1a0)](_0x13d0a7['id']);return Array[_0xb14b14(0x197)](_0xb2d4e8);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x315c0b,_0x1f15d3,_0x2dcf5a){const t=_0x315c0b['t'];switch(_0x1f15d3){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',_0x2dcf5a);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',_0x2dcf5a);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2dcf5a);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'},_0x2dcf5a);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 _0x1f15d3;}}
23
+ export function getTranslation(_0x4f195d,_0x1779b1,_0x58e149){const t=_0x4f195d['t'];switch(_0x1779b1){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',_0x58e149);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',_0x58e149);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x58e149);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'},_0x58e149);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 _0x1779b1;}}