@ckeditor/ckeditor5-ai 45.0.0-alpha.6 → 45.0.0-alpha.8

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 (170) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x472ffa,_0x1882fb){const _0x5a2ae0=_0x3c90,_0x886355=_0x472ffa();while(!![]){try{const _0x575712=parseInt(_0x5a2ae0(0x12c))/0x1+parseInt(_0x5a2ae0(0x135))/0x2+-parseInt(_0x5a2ae0(0x12a))/0x3*(parseInt(_0x5a2ae0(0x12e))/0x4)+-parseInt(_0x5a2ae0(0x134))/0x5+-parseInt(_0x5a2ae0(0x137))/0x6*(parseInt(_0x5a2ae0(0x138))/0x7)+parseInt(_0x5a2ae0(0x12f))/0x8+parseInt(_0x5a2ae0(0x136))/0x9;if(_0x575712===_0x1882fb)break;else _0x886355['push'](_0x886355['shift']());}catch(_0x257105){_0x886355['push'](_0x886355['shift']());}}}(_0x2e29,0x79d9b));function _0x2e29(){const _0x575adf=['1392558WOOsQR','4626252dLMJZy','9510StSXCm','308NXeGrH','ck-ai-form__error','150ulLaOT','bindTemplate','66109sWJWoE','div','5768NVnwyD','2098360rKkbsa','setTemplate','set','text','content','4488860wauugt'];_0x2e29=function(){return _0x575adf;};return _0x2e29();}function _0x3c90(_0x519eb6,_0x1f8123){const _0x2e293b=_0x2e29();return _0x3c90=function(_0x3c90d3,_0x3f3102){_0x3c90d3=_0x3c90d3-0x12a;let _0x30fb94=_0x2e293b[_0x3c90d3];return _0x30fb94;},_0x3c90(_0x519eb6,_0x1f8123);}import{IconError as _0xe43c81}from'ckeditor5/src/icons.js';import{View as _0x213593,IconView as _0xd4de88}from'ckeditor5/src/ui.js';export default class st extends _0x213593{constructor(_0x24ee6d,_0x1e2ea0=''){const _0x2f520c=_0x3c90;super(_0x24ee6d);const _0x58902f=new _0xd4de88(),_0x8fc260=this[_0x2f520c(0x12b)];this[_0x2f520c(0x131)](_0x2f520c(0x132),_0x1e2ea0),_0x58902f[_0x2f520c(0x133)]=_0xe43c81,this[_0x2f520c(0x130)]({'tag':_0x2f520c(0x12d),'attributes':{'class':['ck',_0x2f520c(0x139)]},'children':[_0x58902f,{'text':_0x8fc260['to'](_0x2f520c(0x132))}]});}}
23
+ function _0x5a0c(_0x871ac7,_0x232ebe){const _0x251dbc=_0x251d();return _0x5a0c=function(_0x5a0c20,_0x10fda0){_0x5a0c20=_0x5a0c20-0x169;let _0x423aa5=_0x251dbc[_0x5a0c20];return _0x423aa5;},_0x5a0c(_0x871ac7,_0x232ebe);}(function(_0x1fd2cc,_0x1a446c){const _0x198739=_0x5a0c,_0x4b760c=_0x1fd2cc();while(!![]){try{const _0x461d42=parseInt(_0x198739(0x172))/0x1+-parseInt(_0x198739(0x16a))/0x2*(-parseInt(_0x198739(0x16d))/0x3)+parseInt(_0x198739(0x17a))/0x4*(parseInt(_0x198739(0x175))/0x5)+-parseInt(_0x198739(0x176))/0x6+-parseInt(_0x198739(0x177))/0x7*(-parseInt(_0x198739(0x173))/0x8)+-parseInt(_0x198739(0x174))/0x9+parseInt(_0x198739(0x171))/0xa*(-parseInt(_0x198739(0x170))/0xb);if(_0x461d42===_0x1a446c)break;else _0x4b760c['push'](_0x4b760c['shift']());}catch(_0x1d5b36){_0x4b760c['push'](_0x4b760c['shift']());}}}(_0x251d,0xe8c6e));import{IconError as _0x300767}from'ckeditor5/src/icons.js';import{View as _0x5a0f97,IconView as _0x14a25f}from'ckeditor5/src/ui.js';function _0x251d(){const _0x491152=['643720fOnzgr','40qXlqZR','7422804ORbZVF','27185dHyRiK','10464426yZlFmW','1224923eBsLZn','bindTemplate','setTemplate','876gBPEcV','ck-ai-form__error','862dXYJIa','set','div','7311AnAvlt','text','content','11iLlUPv','2374340dtaqpw'];_0x251d=function(){return _0x491152;};return _0x251d();}export default class st extends _0x5a0f97{constructor(_0x5b96cb,_0x49c9e1=''){const _0x591e59=_0x5a0c;super(_0x5b96cb);const _0x33ff95=new _0x14a25f(),_0x495d7e=this[_0x591e59(0x178)];this[_0x591e59(0x16b)](_0x591e59(0x16e),_0x49c9e1),_0x33ff95[_0x591e59(0x16f)]=_0x300767,this[_0x591e59(0x179)]({'tag':_0x591e59(0x16c),'attributes':{'class':['ck',_0x591e59(0x169)]},'children':[_0x33ff95,{'text':_0x495d7e['to'](_0x591e59(0x16e))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1d9c(_0x5638c7,_0x42ff84){const _0x2531c5=_0x2531();return _0x1d9c=function(_0x1d9c0e,_0x14dea3){_0x1d9c0e=_0x1d9c0e-0x8a;let _0x3cf6f0=_0x2531c5[_0x1d9c0e];return _0x3cf6f0;},_0x1d9c(_0x5638c7,_0x42ff84);}const _0x31dfd5=_0x1d9c;(function(_0x5d52da,_0x22c1da){const _0x3106fa=_0x1d9c,_0xd6480b=_0x5d52da();while(!![]){try{const _0x58ed7b=parseInt(_0x3106fa(0xbb))/0x1+parseInt(_0x3106fa(0xa0))/0x2*(parseInt(_0x3106fa(0x8d))/0x3)+-parseInt(_0x3106fa(0xa7))/0x4+-parseInt(_0x3106fa(0xb9))/0x5+parseInt(_0x3106fa(0x9b))/0x6*(parseInt(_0x3106fa(0xb8))/0x7)+-parseInt(_0x3106fa(0x93))/0x8*(parseInt(_0x3106fa(0x9d))/0x9)+-parseInt(_0x3106fa(0x9c))/0xa*(parseInt(_0x3106fa(0x92))/0xb);if(_0x58ed7b===_0x22c1da)break;else _0xd6480b['push'](_0xd6480b['shift']());}catch(_0x2479c8){_0xd6480b['push'](_0xd6480b['shift']());}}}(_0x2531,0x790a4));import{Rect as _0x46effb,global as _0x29671c,isVisible as _0x18a6ec}from'ckeditor5/src/utils.js';function _0x2531(){const _0x1e481a=['3010257VAbOmi','isVisible','width','1100jLRtZo','fieldView','target','filteredView','isOn','render','execute','2735472CJyajF','maxRows','focusableChildren','uiLanguageDirection','window','fieldWrapperChildren','isEmpty','locale','excludeScrollbarsAndBorders','submit','focusCycler','minRows','keystrokes','element','children','style','queryView','259WRBIUx','480080yHSzFB','ck-ai-form__submit','931226mwbrqs','History','requestAnimationFrame','update','set','_createShowHistoryButton','right','add','value','showHistoryButtonView','_createSubmitButton','focusLast','submitButtonView','3504xnRZAq','rtl','ck-ai-form__toggle-history','left','fire','22IfXyxe','8HovoNs','Submit','focus','enter','resultsView','isEnabled','focusFirst','bind','22242gBxZCh','503240mKoano'];_0x2531=function(){return _0x1e481a;};return _0x2531();}import{IconHistory as _0x7b7271,IconSubmit as _0x3298c6}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x366cda,ButtonView as _0x1ab261}from'ckeditor5/src/ui.js';import{getTranslation as _0x337368}from'../../utils/common-translations.js';export default class ct extends _0x366cda{[_0x31dfd5(0x8c)];[_0x31dfd5(0xc4)];constructor(_0x5e938d,_0x476d89){const _0x29a654=_0x31dfd5;super(_0x5e938d,_0x476d89),this[_0x29a654(0xb7)][_0x29a654(0xa1)][_0x29a654(0xb2)]=0x1,this[_0x29a654(0xb7)][_0x29a654(0xa1)][_0x29a654(0xa8)]=0x3,this[_0x29a654(0x8c)]=this[_0x29a654(0x8a)](),this[_0x29a654(0xc4)]=this[_0x29a654(0xc0)](),this[_0x29a654(0xa9)][_0x29a654(0xc2)](this[_0x29a654(0xc4)],0x1),this[_0x29a654(0xa9)][_0x29a654(0xc2)](this[_0x29a654(0x8c)]);}[_0x31dfd5(0xa5)](){const _0x4fa272=_0x31dfd5;super[_0x4fa272(0xa5)](),this[_0x4fa272(0xb7)][_0x4fa272(0xac)][_0x4fa272(0xc2)](this[_0x4fa272(0xc4)]),this[_0x4fa272(0xb5)][_0x4fa272(0xc2)](this[_0x4fa272(0x8c)]),this[_0x4fa272(0xb3)][_0x4fa272(0xbf)](_0x4fa272(0x96),(_0xe7d5b3,_0x5d29ae)=>{const _0x4011d5=_0x4fa272;_0xe7d5b3[_0x4011d5(0xa2)]==this[_0x4011d5(0xb7)][_0x4011d5(0xa1)][_0x4011d5(0xb4)]&&(this[_0x4011d5(0xb0)](),_0x5d29ae());});}[_0x31dfd5(0x8a)](){const _0x5290f1=_0x31dfd5,_0x380b80=new _0x1ab261(this[_0x5290f1(0xae)]),_0xb9d96d=this[_0x5290f1(0xae)];return _0x380b80[_0x5290f1(0xbf)]({'icon':_0x3298c6,'label':_0x337368(_0xb9d96d,_0x5290f1(0x94)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5290f1(0xba)}),_0x380b80['on'](_0x5290f1(0xa6),()=>{const _0x36b642=_0x5290f1;this[_0x36b642(0xb0)]();}),_0x380b80[_0x5290f1(0x9a)](_0x5290f1(0x98))['to'](this[_0x5290f1(0xb7)][_0x5290f1(0xa1)],_0x5290f1(0xad),this,_0x5290f1(0x98),(_0x41c49a,_0x18bb11)=>!_0x41c49a&&_0x18bb11),_0x380b80;}[_0x31dfd5(0xc0)](){const _0x2ad74a=_0x31dfd5,_0x1a0ec8=new _0x1ab261(this[_0x2ad74a(0xae)]),_0x13d143=this[_0x2ad74a(0x97)],_0x10bb84=this[_0x2ad74a(0xae)];_0x1a0ec8[_0x2ad74a(0xbf)]({'label':_0x337368(_0x10bb84,_0x2ad74a(0xbc)),'withText':!0x1,'icon':_0x7b7271,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2ad74a(0x8f)}),_0x1a0ec8[_0x2ad74a(0x9a)](_0x2ad74a(0xa4))['to'](_0x13d143,_0x2ad74a(0x9e)),_0x1a0ec8[_0x2ad74a(0x9a)](_0x2ad74a(0x98))['to'](this,_0x2ad74a(0x98)),_0x1a0ec8['on'](_0x2ad74a(0xa6),()=>{const _0x4b14d9=_0x2ad74a;_0x13d143[_0x4b14d9(0x9e)]=!_0x13d143[_0x4b14d9(0x9e)],_0x13d143[_0x4b14d9(0x9e)]?this[_0x4b14d9(0xa3)][_0x4b14d9(0x95)]():this[_0x4b14d9(0x95)]();});const _0x269ab4=()=>{const _0x2d5789=_0x2ad74a;_0x29671c[_0x2d5789(0xab)][_0x2d5789(0xbd)](()=>{const _0x4f4b0b=_0x2d5789;if(_0x18a6ec(this[_0x4f4b0b(0xb4)])){const _0xe63d2d=new _0x46effb(this[_0x4f4b0b(0xb7)][_0x4f4b0b(0xa1)][_0x4f4b0b(0xb4)]),_0x25b20e=_0xe63d2d[_0x4f4b0b(0x9f)],_0x2c8d6c=_0x4f4b0b(0x8e)===_0x10bb84[_0x4f4b0b(0xaa)]?_0x4f4b0b(0x90):_0x4f4b0b(0xc1);_0xe63d2d[_0x4f4b0b(0xaf)](),_0x1a0ec8[_0x4f4b0b(0xb4)][_0x4f4b0b(0xb6)][_0x2c8d6c]=_0x25b20e-_0xe63d2d[_0x4f4b0b(0x9f)]+0x1+'px';}});};return this[_0x2ad74a(0xb7)][_0x2ad74a(0xa1)]['on'](_0x2ad74a(0xbe),_0x269ab4),this['on'](_0x2ad74a(0xa5),_0x269ab4),_0x1a0ec8;}[_0x31dfd5(0xb0)](){const _0x5d25f2=_0x31dfd5,_0x2bd32d=this[_0x5d25f2(0xb7)][_0x5d25f2(0xa1)][_0x5d25f2(0xb4)][_0x5d25f2(0xc3)];this[_0x5d25f2(0x91)](_0x5d25f2(0xb0),_0x2bd32d);}[_0x31dfd5(0x95)](_0x17308d){const _0x385f2e=_0x31dfd5;-0x1===_0x17308d?this[_0x385f2e(0xb1)][_0x385f2e(0x8b)]():this[_0x385f2e(0xb1)][_0x385f2e(0x99)]();}}
23
+ function _0x2841(_0x4078ac,_0x1ac99d){const _0x3909c0=_0x3909();return _0x2841=function(_0x2841dc,_0x1e046c){_0x2841dc=_0x2841dc-0x75;let _0x196c04=_0x3909c0[_0x2841dc];return _0x196c04;},_0x2841(_0x4078ac,_0x1ac99d);}const _0x22753d=_0x2841;(function(_0x4cb865,_0x1409da){const _0x4df3f4=_0x2841,_0x5890f9=_0x4cb865();while(!![]){try{const _0x816112=-parseInt(_0x4df3f4(0x9d))/0x1+parseInt(_0x4df3f4(0x96))/0x2+-parseInt(_0x4df3f4(0x89))/0x3+-parseInt(_0x4df3f4(0xa5))/0x4+parseInt(_0x4df3f4(0x91))/0x5*(-parseInt(_0x4df3f4(0xa2))/0x6)+parseInt(_0x4df3f4(0x9c))/0x7*(parseInt(_0x4df3f4(0x78))/0x8)+-parseInt(_0x4df3f4(0xa3))/0x9*(-parseInt(_0x4df3f4(0x75))/0xa);if(_0x816112===_0x1409da)break;else _0x5890f9['push'](_0x5890f9['shift']());}catch(_0x592cc0){_0x5890f9['push'](_0x5890f9['shift']());}}}(_0x3909,0x35fec));import{Rect as _0x3ca911,global as _0x241138,isVisible as _0x17dfc8}from'ckeditor5/src/utils.js';import{IconHistory as _0x3d12a9,IconSubmit as _0x37b852}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x5115c7,ButtonView as _0x5f22b5}from'ckeditor5/src/ui.js';import{getTranslation as _0x1612d2}from'../../utils/common-translations.js';function _0x3909(){const _0x5bd76b=['locale','showHistoryButtonView','fire','307926lVkuZV','maxRows','fieldView','queryView','focusCycler','excludeScrollbarsAndBorders','focusableChildren','fieldWrapperChildren','580845rDQUka','isEmpty','isOn','set','History','631194deVRVf','focusLast','add','_createShowHistoryButton','style','target','2678200AgJYDs','255981RBFkUR','focusFirst','update','isVisible','isEnabled','12yQsRot','3699NwjiHj','value','1673268FXVcnP','minRows','width','ck-ai-form__toggle-history','rtl','focus','bind','ck-ai-form__submit','keystrokes','element','12950owMGjk','resultsView','right','8cKjLIs','filteredView','Submit','submitButtonView','window','children','render','enter','submit','requestAnimationFrame','left','_createSubmitButton','uiLanguageDirection','execute'];_0x3909=function(){return _0x5bd76b;};return _0x3909();}export default class ct extends _0x5115c7{[_0x22753d(0x7b)];[_0x22753d(0x87)];constructor(_0x3164c7,_0x494812){const _0x2ae28a=_0x22753d;super(_0x3164c7,_0x494812),this[_0x2ae28a(0x8c)][_0x2ae28a(0x8b)][_0x2ae28a(0xa6)]=0x1,this[_0x2ae28a(0x8c)][_0x2ae28a(0x8b)][_0x2ae28a(0x8a)]=0x3,this[_0x2ae28a(0x7b)]=this[_0x2ae28a(0x83)](),this[_0x2ae28a(0x87)]=this[_0x2ae28a(0x99)](),this[_0x2ae28a(0x8f)][_0x2ae28a(0x98)](this[_0x2ae28a(0x87)],0x1),this[_0x2ae28a(0x8f)][_0x2ae28a(0x98)](this[_0x2ae28a(0x7b)]);}[_0x22753d(0x7e)](){const _0x5652ad=_0x22753d;super[_0x5652ad(0x7e)](),this[_0x5652ad(0x8c)][_0x5652ad(0x90)][_0x5652ad(0x98)](this[_0x5652ad(0x87)]),this[_0x5652ad(0x7d)][_0x5652ad(0x98)](this[_0x5652ad(0x7b)]),this[_0x5652ad(0xad)][_0x5652ad(0x94)](_0x5652ad(0x7f),(_0x4267f0,_0x3bdc85)=>{const _0x2a8770=_0x5652ad;_0x4267f0[_0x2a8770(0x9b)]==this[_0x2a8770(0x8c)][_0x2a8770(0x8b)][_0x2a8770(0xae)]&&(this[_0x2a8770(0x80)](),_0x3bdc85());});}[_0x22753d(0x83)](){const _0x4964af=_0x22753d,_0x1f4e5c=new _0x5f22b5(this[_0x4964af(0x86)]),_0x3bb681=this[_0x4964af(0x86)];return _0x1f4e5c[_0x4964af(0x94)]({'icon':_0x37b852,'label':_0x1612d2(_0x3bb681,_0x4964af(0x7a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4964af(0xac)}),_0x1f4e5c['on'](_0x4964af(0x85),()=>{const _0x47a7f1=_0x4964af;this[_0x47a7f1(0x80)]();}),_0x1f4e5c[_0x4964af(0xab)](_0x4964af(0xa1))['to'](this[_0x4964af(0x8c)][_0x4964af(0x8b)],_0x4964af(0x92),this,_0x4964af(0xa1),(_0x4d0583,_0x8c4d1)=>!_0x4d0583&&_0x8c4d1),_0x1f4e5c;}[_0x22753d(0x99)](){const _0x32af5f=_0x22753d,_0x45fd9a=new _0x5f22b5(this[_0x32af5f(0x86)]),_0x35f489=this[_0x32af5f(0x76)],_0x6f65c7=this[_0x32af5f(0x86)];_0x45fd9a[_0x32af5f(0x94)]({'label':_0x1612d2(_0x6f65c7,_0x32af5f(0x95)),'withText':!0x1,'icon':_0x3d12a9,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x32af5f(0xa8)}),_0x45fd9a[_0x32af5f(0xab)](_0x32af5f(0x93))['to'](_0x35f489,_0x32af5f(0xa0)),_0x45fd9a[_0x32af5f(0xab)](_0x32af5f(0xa1))['to'](this,_0x32af5f(0xa1)),_0x45fd9a['on'](_0x32af5f(0x85),()=>{const _0x1a2af6=_0x32af5f;_0x35f489[_0x1a2af6(0xa0)]=!_0x35f489[_0x1a2af6(0xa0)],_0x35f489[_0x1a2af6(0xa0)]?this[_0x1a2af6(0x79)][_0x1a2af6(0xaa)]():this[_0x1a2af6(0xaa)]();});const _0x509556=()=>{const _0x1d22b3=_0x32af5f;_0x241138[_0x1d22b3(0x7c)][_0x1d22b3(0x81)](()=>{const _0x4e5ed3=_0x1d22b3;if(_0x17dfc8(this[_0x4e5ed3(0xae)])){const _0x4bfa6c=new _0x3ca911(this[_0x4e5ed3(0x8c)][_0x4e5ed3(0x8b)][_0x4e5ed3(0xae)]),_0x41c8d5=_0x4bfa6c[_0x4e5ed3(0xa7)],_0x1b5362=_0x4e5ed3(0xa9)===_0x6f65c7[_0x4e5ed3(0x84)]?_0x4e5ed3(0x82):_0x4e5ed3(0x77);_0x4bfa6c[_0x4e5ed3(0x8e)](),_0x45fd9a[_0x4e5ed3(0xae)][_0x4e5ed3(0x9a)][_0x1b5362]=_0x41c8d5-_0x4bfa6c[_0x4e5ed3(0xa7)]+0x1+'px';}});};return this[_0x32af5f(0x8c)][_0x32af5f(0x8b)]['on'](_0x32af5f(0x9f),_0x509556),this['on'](_0x32af5f(0x7e),_0x509556),_0x45fd9a;}[_0x22753d(0x80)](){const _0x431011=_0x22753d,_0x3915ea=this[_0x431011(0x8c)][_0x431011(0x8b)][_0x431011(0xae)][_0x431011(0xa4)];this[_0x431011(0x88)](_0x431011(0x80),_0x3915ea);}[_0x22753d(0xaa)](_0x133dbe){const _0x57726a=_0x22753d;-0x1===_0x133dbe?this[_0x57726a(0x8d)][_0x57726a(0x97)]():this[_0x57726a(0x8d)][_0x57726a(0x9e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ac342=_0x4de9;(function(_0x50cb4b,_0x3e85e7){const _0x3764d9=_0x4de9,_0x5b8809=_0x50cb4b();while(!![]){try{const _0x317bcf=parseInt(_0x3764d9(0xca))/0x1+-parseInt(_0x3764d9(0xc2))/0x2+-parseInt(_0x3764d9(0xd5))/0x3+parseInt(_0x3764d9(0xbe))/0x4*(parseInt(_0x3764d9(0xbb))/0x5)+parseInt(_0x3764d9(0xbc))/0x6+-parseInt(_0x3764d9(0xcb))/0x7*(-parseInt(_0x3764d9(0xc9))/0x8)+parseInt(_0x3764d9(0xba))/0x9;if(_0x317bcf===_0x3e85e7)break;else _0x5b8809['push'](_0x5b8809['shift']());}catch(_0x567869){_0x5b8809['push'](_0x5b8809['shift']());}}}(_0x2f16,0xc3696));import{ToolbarView as _0x46e5d5,ButtonView as _0x2d602e}from'ckeditor5/src/ui.js';function _0x4de9(_0x2d0b13,_0xb69d46){const _0x2f166e=_0x2f16();return _0x4de9=function(_0x4de9e0,_0x508939){_0x4de9e0=_0x4de9e0-0xb9;let _0x2721a9=_0x2f166e[_0x4de9e0];return _0x2721a9;},_0x4de9(_0x2d0b13,_0xb69d46);}import{getTranslation as _0x2cb9c9}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3ac342(0xcd),'INSERT':_0x3ac342(0xc3)};function _0x2f16(){const _0xb97de1=['1877556HjZmNT','AI_','items','stopButton','2562150vArMQI','insert','toUpperCase','Try\x20again','locale','replaceButton','Insert\x20below','29824XbvMsk','638471pTWqae','560upjeDl','REPLACE','replace','ck-ai-form__toolbar','_CONTENT','tryAgainButton','insertButton','mainAction','isVisible','bind','4101042nGSvyA','Stop','set','addMany','ck-button-action','_createButton','label','ck-hidden','bindTemplate','13928607udWobr','5kKAosa','2968632yBJBdL','extendTemplate'];_0x2f16=function(){return _0xb97de1;};return _0x2f16();}export default class lt extends _0x46e5d5{constructor(_0x2f5c63){const _0x2b043f=_0x3ac342;super(_0x2f5c63),this[_0x2b043f(0xd7)](_0x2b043f(0xd3),!0x1),this[_0x2b043f(0xd7)](_0x2b043f(0xd2),AIFormToolbarViewMainActionLabel[_0x2b043f(0xcc)]),this[_0x2b043f(0xc7)]=this[_0x2b043f(0xda)]('',_0x2b043f(0xd9)),this[_0x2b043f(0xc7)][_0x2b043f(0xd4)](_0x2b043f(0xdb))['to'](this,_0x2b043f(0xd2),_0xaf24a9=>_0x2cb9c9(_0x2f5c63,_0x2b043f(0xbf)+_0xaf24a9[_0x2b043f(0xc4)]()+_0x2b043f(0xcf))),this[_0x2b043f(0xd1)]=this[_0x2b043f(0xda)](_0x2cb9c9(_0x2f5c63,_0x2b043f(0xc8))),this[_0x2b043f(0xd0)]=this[_0x2b043f(0xda)](_0x2cb9c9(_0x2f5c63,_0x2b043f(0xc5))),this[_0x2b043f(0xc1)]=this[_0x2b043f(0xda)](_0x2cb9c9(_0x2f5c63,_0x2b043f(0xd6)));const _0x3462f9=this[_0x2b043f(0xb9)];this[_0x2b043f(0xbd)]({'attributes':{'class':[_0x2b043f(0xce),_0x3462f9['if'](_0x2b043f(0xd3),_0x2b043f(0xdc),_0x1ae6aa=>!_0x1ae6aa)]}}),this[_0x2b043f(0xc0)][_0x2b043f(0xd8)]([this[_0x2b043f(0xc7)],this[_0x2b043f(0xd1)],this[_0x2b043f(0xd0)],this[_0x2b043f(0xc1)]]);}[_0x3ac342(0xda)](_0x39e876,_0x40e47c){const _0x14c0f8=_0x3ac342,_0x5b240b=new _0x2d602e(this[_0x14c0f8(0xc6)]);return _0x5b240b[_0x14c0f8(0xd7)]({'label':_0x39e876,'class':_0x40e47c||'','isVisible':!0x0,'withText':!0x0}),_0x5b240b;}}
23
+ function _0xd353(_0x3a6ac1,_0x116070){const _0x1e8abc=_0x1e8a();return _0xd353=function(_0xd353fb,_0x48756d){_0xd353fb=_0xd353fb-0xe3;let _0x85f35a=_0x1e8abc[_0xd353fb];return _0x85f35a;},_0xd353(_0x3a6ac1,_0x116070);}const _0x4f8481=_0xd353;(function(_0x1fcc6b,_0x1fa1fe){const _0x297c1c=_0xd353,_0xf3cadc=_0x1fcc6b();while(!![]){try{const _0x1dab4c=-parseInt(_0x297c1c(0xf1))/0x1*(-parseInt(_0x297c1c(0xe9))/0x2)+parseInt(_0x297c1c(0xf8))/0x3+-parseInt(_0x297c1c(0xfb))/0x4+-parseInt(_0x297c1c(0xee))/0x5*(parseInt(_0x297c1c(0xef))/0x6)+parseInt(_0x297c1c(0x107))/0x7+parseInt(_0x297c1c(0x102))/0x8*(-parseInt(_0x297c1c(0x105))/0x9)+-parseInt(_0x297c1c(0x104))/0xa;if(_0x1dab4c===_0x1fa1fe)break;else _0xf3cadc['push'](_0xf3cadc['shift']());}catch(_0xb65e44){_0xf3cadc['push'](_0xf3cadc['shift']());}}}(_0x1e8a,0x9a51c));import{ToolbarView as _0x104f8b,ButtonView as _0x1f8aa2}from'ckeditor5/src/ui.js';import{getTranslation as _0x11fa26}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4f8481(0xf5),'INSERT':_0x4f8481(0xf6)};export default class lt extends _0x104f8b{constructor(_0x879c1c){const _0x3b60ef=_0x4f8481;super(_0x879c1c),this[_0x3b60ef(0x101)](_0x3b60ef(0x100),!0x1),this[_0x3b60ef(0x101)](_0x3b60ef(0xfe),AIFormToolbarViewMainActionLabel[_0x3b60ef(0xec)]),this[_0x3b60ef(0xeb)]=this[_0x3b60ef(0xe8)]('',_0x3b60ef(0xf9)),this[_0x3b60ef(0xeb)][_0x3b60ef(0xfc)](_0x3b60ef(0xf2))['to'](this,_0x3b60ef(0xfe),_0x4dba55=>_0x11fa26(_0x879c1c,_0x3b60ef(0xf0)+_0x4dba55[_0x3b60ef(0xfa)]()+_0x3b60ef(0xe3))),this[_0x3b60ef(0x103)]=this[_0x3b60ef(0xe8)](_0x11fa26(_0x879c1c,_0x3b60ef(0xe6))),this[_0x3b60ef(0xe5)]=this[_0x3b60ef(0xe8)](_0x11fa26(_0x879c1c,_0x3b60ef(0xfd))),this[_0x3b60ef(0xf7)]=this[_0x3b60ef(0xe8)](_0x11fa26(_0x879c1c,_0x3b60ef(0xea)));const _0x8d85f6=this[_0x3b60ef(0xe4)];this[_0x3b60ef(0xf4)]({'attributes':{'class':[_0x3b60ef(0xe7),_0x8d85f6['if'](_0x3b60ef(0x100),_0x3b60ef(0xed),_0xaf6bc3=>!_0xaf6bc3)]}}),this[_0x3b60ef(0xff)][_0x3b60ef(0xf3)]([this[_0x3b60ef(0xeb)],this[_0x3b60ef(0x103)],this[_0x3b60ef(0xe5)],this[_0x3b60ef(0xf7)]]);}[_0x4f8481(0xe8)](_0x972f2b,_0x3d70d6){const _0x409207=_0x4f8481,_0x3ce99c=new _0x1f8aa2(this[_0x409207(0x106)]);return _0x3ce99c[_0x409207(0x101)]({'label':_0x972f2b,'class':_0x3d70d6||'','isVisible':!0x0,'withText':!0x0}),_0x3ce99c;}}function _0x1e8a(){const _0x8a1f4d=['mainAction','items','isVisible','set','8KDqAje','insertButton','1369400gLiLku','6442803mtcKQg','locale','4500377eTJaya','_CONTENT','bindTemplate','tryAgainButton','Insert\x20below','ck-ai-form__toolbar','_createButton','2qtENBA','Stop','replaceButton','REPLACE','ck-hidden','60vHVaHu','484494xWSpLG','AI_','1127290ELvorQ','label','addMany','extendTemplate','replace','insert','stopButton','2109354hzukbj','ck-button-action','toUpperCase','77728SFWaQt','bind','Try\x20again'];_0x1e8a=function(){return _0x8a1f4d;};return _0x1e8a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x476eae=_0x12d7;function _0x4211(){const _0x8bfbc8=['5485284pfRKQu','_focusables','fieldView','listenTo','_createToolbar','execute','div','_createPromptView','search','delegate','isEnabled','add','clear','focusTracker','locale','focusFirst','replaceContent','submitPrompt','bindTemplate','focus','prompt','Ask\x20AI\x20to\x20improve\x20generated\x20text','Empty\x20history','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','28193679wQNSXS','historyGroupView','2269315iNYKvm','toolbar','ck-ai-form','4554354ZiiqHf','value','stopButton','queryView','insertButton','reset','errorView','finishProcessing','5612UFUKmQ','tryAgainButton','promptView','bind','tryAgainEvent','ck-ai-form-content','stopProcessing','items','insertContentBelow','startProcessing','focusLast','fire','createCollection','684994eqUKHc','Ask\x20AI\x20to\x20edit\x20or\x20generate','isError','_createHistoryView','mainAction','bindTo','tab','_promptHistory','high','copyButtonView','setTemplate','contentArea','isProcessing','label','set','element','shift\x20+\x20tab','REPLACE','3IIUNJD','replaceButton','trim','text','9217888uVlRkb','render','keystrokes','3006wuNxZo','focusCycler','isVisible','chain','ck-hidden','handleError','AI_ERROR_FAILED','clearHistory','submit'];_0x4211=function(){return _0x8bfbc8;};return _0x4211();}(function(_0x48ba8f,_0x4f32ea){const _0x2bfda1=_0x12d7,_0x286a07=_0x48ba8f();while(!![]){try{const _0x3e9944=parseInt(_0x2bfda1(0x10f))/0x1*(-parseInt(_0x2bfda1(0xfd))/0x2)+parseInt(_0x2bfda1(0x116))/0x3*(-parseInt(_0x2bfda1(0xf0))/0x4)+parseInt(_0x2bfda1(0x139))/0x5+-parseInt(_0x2bfda1(0x11f))/0x6+-parseInt(_0x2bfda1(0x13c))/0x7+parseInt(_0x2bfda1(0x113))/0x8+parseInt(_0x2bfda1(0x137))/0x9;if(_0x3e9944===_0x4f32ea)break;else _0x286a07['push'](_0x286a07['shift']());}catch(_0x26dd41){_0x286a07['push'](_0x286a07['shift']());}}}(_0x4211,0xb4cf5));import{FocusTracker as _0x56dcec,KeystrokeHandler as _0x346c63}from'ckeditor5/src/utils.js';import{View as _0x2a3bdd,FocusCycler as _0xb39eb1,createLabeledTextarea as _0x320360}from'ckeditor5/src/ui.js';import _0x4c3df5,{AIFormToolbarViewMainActionLabel as _0x400883}from'./aiformtoolbarview.js';import _0x2479d0 from'./aiformcontentarea.js';import _0x53305e from'./aiformerrorview.js';import _0x154bbd from'./aiformpromptview.js';import _0x37d249 from'./aihistorylistview.js';function _0x12d7(_0x45f0bd,_0x46fa58){const _0x42113e=_0x4211();return _0x12d7=function(_0x12d766,_0x2f2854){_0x12d766=_0x12d766-0xe9;let _0xdf54c=_0x42113e[_0x12d766];return _0xdf54c;},_0x12d7(_0x45f0bd,_0x46fa58);}import _0xf8599b from'./aihistorylistitemview.js';import _0x4994a2 from'./prompthistory.js';import{getTranslation as _0x317914}from'../../utils/common-translations.js';import{escape as _0x46e30a}from'es-toolkit/compat';export default class _ extends _0x2a3bdd{[_0x476eae(0x12c)];[_0x476eae(0x115)];[_0x476eae(0x108)];[_0x476eae(0x13a)];[_0x476eae(0xf2)];[_0x476eae(0xee)];[_0x476eae(0x120)];[_0x476eae(0x117)];[_0x476eae(0x104)];constructor(_0x52d3dd,_0x559a7d,_0x639c68=''){const _0x2b838d=_0x476eae;super(_0x52d3dd),this[_0x2b838d(0x10b)](_0x2b838d(0x129),!0x0),this[_0x2b838d(0x10b)](_0x2b838d(0x109),!0x1),this[_0x2b838d(0x10b)](_0x2b838d(0x133),''),this[_0x2b838d(0x10b)](_0x2b838d(0xe9),''),this[_0x2b838d(0x10b)](_0x2b838d(0xff),!0x1),this[_0x2b838d(0x10b)](_0x2b838d(0x101),_0x400883[_0x2b838d(0x10e)]),this[_0x2b838d(0x104)]=new _0x4994a2(),this[_0x2b838d(0xee)]=new _0x53305e(_0x52d3dd),this[_0x2b838d(0x108)]=new _0x2479d0(_0x52d3dd,_0x639c68),this[_0x2b838d(0x108)][_0x2b838d(0xf3)](_0x2b838d(0x109))['to'](this),this[_0x2b838d(0x108)][_0x2b838d(0xf3)](_0x2b838d(0xe9))['to'](this),this[_0x2b838d(0x13a)]=this[_0x2b838d(0x123)](),this[_0x2b838d(0x13a)][_0x2b838d(0xf3)](_0x2b838d(0x101))['to'](this),this[_0x2b838d(0xf2)]=this[_0x2b838d(0x126)](),this[_0x2b838d(0x12c)]=new _0x56dcec(),this[_0x2b838d(0x115)]=new _0x346c63(),this[_0x2b838d(0x120)]=this[_0x2b838d(0xfc)]([this[_0x2b838d(0x108)],this[_0x2b838d(0x108)][_0x2b838d(0x106)],this[_0x2b838d(0x13a)],this[_0x2b838d(0xf2)]]),this[_0x2b838d(0x117)]=new _0xb39eb1({'focusables':this[_0x2b838d(0x120)],'focusTracker':this[_0x2b838d(0x12c)],'keystrokeHandler':this[_0x2b838d(0x115)],'actions':{'focusPrevious':_0x2b838d(0x10d),'focusNext':_0x2b838d(0x103)}}),this[_0x2b838d(0x117)][_0x2b838d(0x119)](this[_0x2b838d(0xf2)][_0x2b838d(0x117)]),this[_0x2b838d(0xf2)][_0x2b838d(0xeb)][_0x2b838d(0x121)][_0x2b838d(0xf3)](_0x2b838d(0xe9))['to'](this,_0x2b838d(0x133));const _0x5be9af=this[_0x2b838d(0x131)];this[_0x2b838d(0x107)]({'tag':_0x2b838d(0x125),'attributes':{'class':['ck',_0x2b838d(0x13b),_0x559a7d],'tabindex':'-1'},'children':[{'tag':_0x2b838d(0x125),'attributes':{'class':['ck',_0x2b838d(0xf5)]},'children':[{'tag':_0x2b838d(0x125),'attributes':{'class':[_0x5be9af['if'](_0x2b838d(0xff),_0x2b838d(0x11a),_0x5c6a6f=>!_0x5c6a6f)]},'children':[this[_0x2b838d(0xee)]]},this[_0x2b838d(0x108)],this[_0x2b838d(0x13a)],this[_0x2b838d(0xf2)]]}]});}[_0x476eae(0x114)](){const _0x1202ab=_0x476eae;super[_0x1202ab(0x114)](),this[_0x1202ab(0x12c)][_0x1202ab(0x12a)](this[_0x1202ab(0x108)][_0x1202ab(0x10c)]),this[_0x1202ab(0x12c)][_0x1202ab(0x12a)](this[_0x1202ab(0x108)][_0x1202ab(0x106)][_0x1202ab(0x10c)]),this[_0x1202ab(0x12c)][_0x1202ab(0x12a)](this[_0x1202ab(0x13a)][_0x1202ab(0x10c)]),this[_0x1202ab(0x12c)][_0x1202ab(0x12a)](this[_0x1202ab(0xf2)][_0x1202ab(0x10c)]),this[_0x1202ab(0x115)][_0x1202ab(0x122)](this[_0x1202ab(0x10c)]);}[_0x476eae(0x132)](_0x1e282e=0x1){const _0x214680=_0x476eae;-0x1===_0x1e282e?this[_0x214680(0x117)][_0x214680(0xfa)]():this[_0x214680(0x117)][_0x214680(0x12e)]();}[_0x476eae(0xed)](){const _0x33caa7=_0x476eae;this[_0x33caa7(0x133)]='',this[_0x33caa7(0xe9)]='',this[_0x33caa7(0xff)]=!0x1,this[_0x33caa7(0xf2)][_0x33caa7(0xed)](),this[_0x33caa7(0x108)][_0x33caa7(0x118)]=!0x1,this[_0x33caa7(0x13a)][_0x33caa7(0x118)]=!0x1;}[_0x476eae(0x126)](){const _0xc7a1b9=_0x476eae,_0x4d68e2=this[_0xc7a1b9(0x12d)],_0x8747f7=new _0x154bbd(_0x4d68e2,{'queryView':{'label':_0x317914(_0x4d68e2,_0xc7a1b9(0xfe)),'creator':_0x320360,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x317914(_0x4d68e2,_0xc7a1b9(0x135)),'secondary':_0x317914(_0x4d68e2,_0xc7a1b9(0x136))}}},'filteredView':this[_0xc7a1b9(0x100)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x8747f7[_0xc7a1b9(0xf3)](_0xc7a1b9(0x129))['to'](this,_0xc7a1b9(0x129),this,_0xc7a1b9(0x109),(_0x1535cf,_0x1a7fb9)=>_0x1535cf&&!_0x1a7fb9),this[_0xc7a1b9(0x122)](_0x8747f7,_0xc7a1b9(0x11e),(_0x3c9f6e,_0x481505)=>{const _0x23daa1=_0xc7a1b9;this[_0x23daa1(0x133)]=_0x481505;const _0x1ccd1b=_0x46e30a(_0x481505);this[_0x23daa1(0xfb)](_0x23daa1(0x130),_0x1ccd1b),_0x481505[_0x23daa1(0x111)]()&&this[_0x23daa1(0x104)][_0x23daa1(0x12a)]({'prompt':_0x1ccd1b},0x0);},{'priority':_0xc7a1b9(0x105)}),_0x8747f7;}[_0x476eae(0x100)](){const _0x211f63=_0x476eae,_0x5ce43a=new _0x37d249(this[_0x211f63(0x12d)]);return _0x5ce43a[_0x211f63(0x138)][_0x211f63(0xf7)][_0x211f63(0x102)](this[_0x211f63(0x104)])['as'](_0xf8599b),_0x5ce43a['on'](_0x211f63(0x11d),()=>{const _0x5d589a=_0x211f63;this[_0x5d589a(0x104)][_0x5d589a(0x12b)](),this[_0x5d589a(0xf2)][_0x5d589a(0x127)](''),this[_0x5d589a(0xf2)][_0x5d589a(0x132)]();}),_0x5ce43a;}[_0x476eae(0x123)](){const _0x598cf2=_0x476eae,_0x58b2d1=new _0x4c3df5(this[_0x598cf2(0x12d)]);return _0x58b2d1[_0x598cf2(0x110)][_0x598cf2(0xf3)](_0x598cf2(0x129))['to'](this,_0x598cf2(0x129),this,_0x598cf2(0x109),this,_0x598cf2(0xe9),(_0x155652,_0x8c4e95,_0x5e9ade)=>_0x155652&&!_0x8c4e95&&!!_0x5e9ade),_0x58b2d1[_0x598cf2(0x110)][_0x598cf2(0x128)](_0x598cf2(0x124))['to'](this,_0x598cf2(0x12f)),_0x58b2d1[_0x598cf2(0xec)][_0x598cf2(0xf3)](_0x598cf2(0x129))['to'](this,_0x598cf2(0x129),this,_0x598cf2(0x109),this,_0x598cf2(0xe9),(_0x4cd820,_0xb5ca73,_0xb57fbd)=>_0x4cd820&&!_0xb5ca73&&!!_0xb57fbd),_0x58b2d1[_0x598cf2(0xec)][_0x598cf2(0x128)](_0x598cf2(0x124))['to'](this,_0x598cf2(0xf8)),_0x58b2d1[_0x598cf2(0xf1)][_0x598cf2(0xf3)](_0x598cf2(0x129))['to'](this,_0x598cf2(0x129),this,_0x598cf2(0x109),(_0x600987,_0x4c2654)=>_0x600987&&!_0x4c2654),_0x58b2d1[_0x598cf2(0xf1)][_0x598cf2(0x128)](_0x598cf2(0x124))['to'](this,_0x598cf2(0xf4)),_0x58b2d1[_0x598cf2(0xea)][_0x598cf2(0xf3)](_0x598cf2(0x129))['to'](this,_0x598cf2(0x109)),_0x58b2d1[_0x598cf2(0xea)][_0x598cf2(0x128)](_0x598cf2(0x124))['to'](this,_0x598cf2(0xf6)),_0x58b2d1;}[_0x476eae(0xf9)](){const _0x23875d=_0x476eae;this[_0x23875d(0xe9)]='',this[_0x23875d(0xff)]=!0x1,this[_0x23875d(0x109)]=!0x0,this[_0x23875d(0x108)][_0x23875d(0x118)]=!0x0,this[_0x23875d(0x13a)][_0x23875d(0x118)]=!0x0,this[_0x23875d(0x108)][_0x23875d(0x132)]();}[_0x476eae(0xef)](){const _0x5c4b0e=_0x476eae,_0x114275=this[_0x5c4b0e(0x12d)];this[_0x5c4b0e(0x109)]=!0x1,this[_0x5c4b0e(0x133)]='',this[_0x5c4b0e(0xf2)][_0x5c4b0e(0xed)](),this[_0x5c4b0e(0xe9)]&&(this[_0x5c4b0e(0xf2)][_0x5c4b0e(0xeb)][_0x5c4b0e(0x10a)]=_0x317914(_0x114275,_0x5c4b0e(0x134)));}[_0x476eae(0x11b)](_0x354027){const _0x19142e=_0x476eae,_0x3293a3=this[_0x19142e(0x12d)];this[_0x19142e(0xef)](),this[_0x19142e(0xff)]=!0x0,this[_0x19142e(0xee)][_0x19142e(0x112)]=_0x354027||_0x317914(_0x3293a3,_0x19142e(0x11c)),this[_0x19142e(0xe9)]||(this[_0x19142e(0x108)][_0x19142e(0x118)]=!0x1);}}
23
+ const _0x73a54c=_0x46e8;(function(_0xcb2147,_0x560525){const _0x41c2f9=_0x46e8,_0x2429e6=_0xcb2147();while(!![]){try{const _0x328514=parseInt(_0x41c2f9(0x18b))/0x1+parseInt(_0x41c2f9(0x1a9))/0x2*(-parseInt(_0x41c2f9(0x1a4))/0x3)+parseInt(_0x41c2f9(0x1ab))/0x4+-parseInt(_0x41c2f9(0x1b0))/0x5+parseInt(_0x41c2f9(0x18c))/0x6+parseInt(_0x41c2f9(0x17d))/0x7*(parseInt(_0x41c2f9(0x190))/0x8)+parseInt(_0x41c2f9(0x191))/0x9*(-parseInt(_0x41c2f9(0x168))/0xa);if(_0x328514===_0x560525)break;else _0x2429e6['push'](_0x2429e6['shift']());}catch(_0x4c6b35){_0x2429e6['push'](_0x2429e6['shift']());}}}(_0x2b70,0xb5aec));import{FocusTracker as _0xb61b8a,KeystrokeHandler as _0x43622c}from'ckeditor5/src/utils.js';import{View as _0xb22457,FocusCycler as _0x241f63,createLabeledTextarea as _0x49b4a5}from'ckeditor5/src/ui.js';import _0x15287c,{AIFormToolbarViewMainActionLabel as _0x13febb}from'./aiformtoolbarview.js';function _0x2b70(){const _0x31a7e6=['isError','errorView','ck-ai-form-content','Ask\x20AI\x20to\x20improve\x20generated\x20text','1961517UinQye','add','focusCycler','bindTo','listenTo','4gwLoxg','label','5853556dpQsHm','fieldView','prompt','shift\x20+\x20tab','stopButton','5458045UUvBeO','keystrokes','insertContentBelow','copyButtonView','isProcessing','submit','tryAgainEvent','AI_ERROR_FAILED','submitPrompt','Empty\x20history','reset','focus','replaceContent','8709590pGvLzp','queryView','fire','clearHistory','handleError','focusFirst','_createHistoryView','_createToolbar','setTemplate','text','insertButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','execute','high','startProcessing','set','div','tryAgainButton','ck-ai-form','historyGroupView','toolbar','57127JOXiGA','value','focusLast','ck-hidden','isVisible','items','bind','_createPromptView','search','locale','contentArea','focusTracker','clear','delegate','1265150SKUyft','4176114nzTvjH','promptView','REPLACE','createCollection','1432otJZyg','18HaERZH','bindTemplate','chain','render','finishProcessing','stopProcessing','element','mainAction','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','replaceButton','_promptHistory','trim','tab','isEnabled','_focusables'];_0x2b70=function(){return _0x31a7e6;};return _0x2b70();}import _0x24589b from'./aiformcontentarea.js';import _0x397e9e from'./aiformerrorview.js';function _0x46e8(_0x4ab0b9,_0x5dafb2){const _0x2b70e7=_0x2b70();return _0x46e8=function(_0x46e874,_0x34a5bc){_0x46e874=_0x46e874-0x167;let _0x26b2fa=_0x2b70e7[_0x46e874];return _0x26b2fa;},_0x46e8(_0x4ab0b9,_0x5dafb2);}import _0x5748aa from'./aiformpromptview.js';import _0x54ca9e from'./aihistorylistview.js';import _0x52992a from'./aihistorylistitemview.js';import _0x22427c from'./prompthistory.js';import{getTranslation as _0x2d7b3a}from'../../utils/common-translations.js';import{escape as _0x5c5d21}from'es-toolkit/compat';export default class _ extends _0xb22457{[_0x73a54c(0x188)];[_0x73a54c(0x1b1)];[_0x73a54c(0x187)];[_0x73a54c(0x17c)];[_0x73a54c(0x18d)];[_0x73a54c(0x1a1)];[_0x73a54c(0x19f)];[_0x73a54c(0x1a6)];[_0x73a54c(0x19b)];constructor(_0x5322f7,_0x523e67,_0x3dfc10=''){const _0x51d593=_0x73a54c;super(_0x5322f7),this[_0x51d593(0x177)](_0x51d593(0x19e),!0x0),this[_0x51d593(0x177)](_0x51d593(0x1b4),!0x1),this[_0x51d593(0x177)](_0x51d593(0x1ad),''),this[_0x51d593(0x177)](_0x51d593(0x17e),''),this[_0x51d593(0x177)](_0x51d593(0x1a0),!0x1),this[_0x51d593(0x177)](_0x51d593(0x198),_0x13febb[_0x51d593(0x18e)]),this[_0x51d593(0x19b)]=new _0x22427c(),this[_0x51d593(0x1a1)]=new _0x397e9e(_0x5322f7),this[_0x51d593(0x187)]=new _0x24589b(_0x5322f7,_0x3dfc10),this[_0x51d593(0x187)][_0x51d593(0x183)](_0x51d593(0x1b4))['to'](this),this[_0x51d593(0x187)][_0x51d593(0x183)](_0x51d593(0x17e))['to'](this),this[_0x51d593(0x17c)]=this[_0x51d593(0x16f)](),this[_0x51d593(0x17c)][_0x51d593(0x183)](_0x51d593(0x198))['to'](this),this[_0x51d593(0x18d)]=this[_0x51d593(0x184)](),this[_0x51d593(0x188)]=new _0xb61b8a(),this[_0x51d593(0x1b1)]=new _0x43622c(),this[_0x51d593(0x19f)]=this[_0x51d593(0x18f)]([this[_0x51d593(0x187)],this[_0x51d593(0x187)][_0x51d593(0x1b3)],this[_0x51d593(0x17c)],this[_0x51d593(0x18d)]]),this[_0x51d593(0x1a6)]=new _0x241f63({'focusables':this[_0x51d593(0x19f)],'focusTracker':this[_0x51d593(0x188)],'keystrokeHandler':this[_0x51d593(0x1b1)],'actions':{'focusPrevious':_0x51d593(0x1ae),'focusNext':_0x51d593(0x19d)}}),this[_0x51d593(0x1a6)][_0x51d593(0x193)](this[_0x51d593(0x18d)][_0x51d593(0x1a6)]),this[_0x51d593(0x18d)][_0x51d593(0x169)][_0x51d593(0x1ac)][_0x51d593(0x183)](_0x51d593(0x17e))['to'](this,_0x51d593(0x1ad));const _0x257f77=this[_0x51d593(0x192)];this[_0x51d593(0x170)]({'tag':_0x51d593(0x178),'attributes':{'class':['ck',_0x51d593(0x17a),_0x523e67],'tabindex':'-1'},'children':[{'tag':_0x51d593(0x178),'attributes':{'class':['ck',_0x51d593(0x1a2)]},'children':[{'tag':_0x51d593(0x178),'attributes':{'class':[_0x257f77['if'](_0x51d593(0x1a0),_0x51d593(0x180),_0x219cac=>!_0x219cac)]},'children':[this[_0x51d593(0x1a1)]]},this[_0x51d593(0x187)],this[_0x51d593(0x17c)],this[_0x51d593(0x18d)]]}]});}[_0x73a54c(0x194)](){const _0x48e3f4=_0x73a54c;super[_0x48e3f4(0x194)](),this[_0x48e3f4(0x188)][_0x48e3f4(0x1a5)](this[_0x48e3f4(0x187)][_0x48e3f4(0x197)]),this[_0x48e3f4(0x188)][_0x48e3f4(0x1a5)](this[_0x48e3f4(0x187)][_0x48e3f4(0x1b3)][_0x48e3f4(0x197)]),this[_0x48e3f4(0x188)][_0x48e3f4(0x1a5)](this[_0x48e3f4(0x17c)][_0x48e3f4(0x197)]),this[_0x48e3f4(0x188)][_0x48e3f4(0x1a5)](this[_0x48e3f4(0x18d)][_0x48e3f4(0x197)]),this[_0x48e3f4(0x1b1)][_0x48e3f4(0x1a8)](this[_0x48e3f4(0x197)]);}[_0x73a54c(0x1bb)](_0xa1a3b1=0x1){const _0x2d8a4a=_0x73a54c;-0x1===_0xa1a3b1?this[_0x2d8a4a(0x1a6)][_0x2d8a4a(0x17f)]():this[_0x2d8a4a(0x1a6)][_0x2d8a4a(0x16d)]();}[_0x73a54c(0x1ba)](){const _0x9d28d9=_0x73a54c;this[_0x9d28d9(0x1ad)]='',this[_0x9d28d9(0x17e)]='',this[_0x9d28d9(0x1a0)]=!0x1,this[_0x9d28d9(0x18d)][_0x9d28d9(0x1ba)](),this[_0x9d28d9(0x187)][_0x9d28d9(0x181)]=!0x1,this[_0x9d28d9(0x17c)][_0x9d28d9(0x181)]=!0x1;}[_0x73a54c(0x184)](){const _0x380b04=_0x73a54c,_0x1e4a84=this[_0x380b04(0x186)],_0xc5fa7f=new _0x5748aa(_0x1e4a84,{'queryView':{'label':_0x2d7b3a(_0x1e4a84,_0x380b04(0x173)),'creator':_0x49b4a5,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2d7b3a(_0x1e4a84,_0x380b04(0x1b9)),'secondary':_0x2d7b3a(_0x1e4a84,_0x380b04(0x199))}}},'filteredView':this[_0x380b04(0x16e)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xc5fa7f[_0x380b04(0x183)](_0x380b04(0x19e))['to'](this,_0x380b04(0x19e),this,_0x380b04(0x1b4),(_0xdd1717,_0x513907)=>_0xdd1717&&!_0x513907),this[_0x380b04(0x1a8)](_0xc5fa7f,_0x380b04(0x1b5),(_0x2c6903,_0x1a4333)=>{const _0x40c133=_0x380b04;this[_0x40c133(0x1ad)]=_0x1a4333;const _0x30c09d=_0x5c5d21(_0x1a4333);this[_0x40c133(0x16a)](_0x40c133(0x1b8),_0x30c09d),_0x1a4333[_0x40c133(0x19c)]()&&this[_0x40c133(0x19b)][_0x40c133(0x1a5)]({'prompt':_0x30c09d},0x0);},{'priority':_0x380b04(0x175)}),_0xc5fa7f;}[_0x73a54c(0x16e)](){const _0x883c83=_0x73a54c,_0x46cf00=new _0x54ca9e(this[_0x883c83(0x186)]);return _0x46cf00[_0x883c83(0x17b)][_0x883c83(0x182)][_0x883c83(0x1a7)](this[_0x883c83(0x19b)])['as'](_0x52992a),_0x46cf00['on'](_0x883c83(0x16b),()=>{const _0x359849=_0x883c83;this[_0x359849(0x19b)][_0x359849(0x189)](),this[_0x359849(0x18d)][_0x359849(0x185)](''),this[_0x359849(0x18d)][_0x359849(0x1bb)]();}),_0x46cf00;}[_0x73a54c(0x16f)](){const _0x3ea799=_0x73a54c,_0x2f73d3=new _0x15287c(this[_0x3ea799(0x186)]);return _0x2f73d3[_0x3ea799(0x19a)][_0x3ea799(0x183)](_0x3ea799(0x19e))['to'](this,_0x3ea799(0x19e),this,_0x3ea799(0x1b4),this,_0x3ea799(0x17e),(_0x282a25,_0x113ecd,_0x25b540)=>_0x282a25&&!_0x113ecd&&!!_0x25b540),_0x2f73d3[_0x3ea799(0x19a)][_0x3ea799(0x18a)](_0x3ea799(0x174))['to'](this,_0x3ea799(0x167)),_0x2f73d3[_0x3ea799(0x172)][_0x3ea799(0x183)](_0x3ea799(0x19e))['to'](this,_0x3ea799(0x19e),this,_0x3ea799(0x1b4),this,_0x3ea799(0x17e),(_0x10fe9c,_0x3dc2be,_0x16bdca)=>_0x10fe9c&&!_0x3dc2be&&!!_0x16bdca),_0x2f73d3[_0x3ea799(0x172)][_0x3ea799(0x18a)](_0x3ea799(0x174))['to'](this,_0x3ea799(0x1b2)),_0x2f73d3[_0x3ea799(0x179)][_0x3ea799(0x183)](_0x3ea799(0x19e))['to'](this,_0x3ea799(0x19e),this,_0x3ea799(0x1b4),(_0x249f68,_0x223010)=>_0x249f68&&!_0x223010),_0x2f73d3[_0x3ea799(0x179)][_0x3ea799(0x18a)](_0x3ea799(0x174))['to'](this,_0x3ea799(0x1b6)),_0x2f73d3[_0x3ea799(0x1af)][_0x3ea799(0x183)](_0x3ea799(0x19e))['to'](this,_0x3ea799(0x1b4)),_0x2f73d3[_0x3ea799(0x1af)][_0x3ea799(0x18a)](_0x3ea799(0x174))['to'](this,_0x3ea799(0x196)),_0x2f73d3;}[_0x73a54c(0x176)](){const _0x58146e=_0x73a54c;this[_0x58146e(0x17e)]='',this[_0x58146e(0x1a0)]=!0x1,this[_0x58146e(0x1b4)]=!0x0,this[_0x58146e(0x187)][_0x58146e(0x181)]=!0x0,this[_0x58146e(0x17c)][_0x58146e(0x181)]=!0x0,this[_0x58146e(0x187)][_0x58146e(0x1bb)]();}[_0x73a54c(0x195)](){const _0x27ea83=_0x73a54c,_0x411e29=this[_0x27ea83(0x186)];this[_0x27ea83(0x1b4)]=!0x1,this[_0x27ea83(0x1ad)]='',this[_0x27ea83(0x18d)][_0x27ea83(0x1ba)](),this[_0x27ea83(0x17e)]&&(this[_0x27ea83(0x18d)][_0x27ea83(0x169)][_0x27ea83(0x1aa)]=_0x2d7b3a(_0x411e29,_0x27ea83(0x1a3)));}[_0x73a54c(0x16c)](_0x3ebe25){const _0x258b78=_0x73a54c,_0x5bd22d=this[_0x258b78(0x186)];this[_0x258b78(0x195)](),this[_0x258b78(0x1a0)]=!0x0,this[_0x258b78(0x1a1)][_0x258b78(0x171)]=_0x3ebe25||_0x2d7b3a(_0x5bd22d,_0x258b78(0x1b7)),this[_0x258b78(0x17e)]||(this[_0x258b78(0x187)][_0x258b78(0x181)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x58d6f7,_0x2ab186){const _0x416036=_0x4f68,_0x6e8d2d=_0x58d6f7();while(!![]){try{const _0x5ac676=-parseInt(_0x416036(0x11c))/0x1+parseInt(_0x416036(0x11b))/0x2+-parseInt(_0x416036(0x117))/0x3+parseInt(_0x416036(0x11a))/0x4*(-parseInt(_0x416036(0x119))/0x5)+parseInt(_0x416036(0x11e))/0x6*(-parseInt(_0x416036(0x11d))/0x7)+parseInt(_0x416036(0x123))/0x8+parseInt(_0x416036(0x120))/0x9;if(_0x5ac676===_0x2ab186)break;else _0x6e8d2d['push'](_0x6e8d2d['shift']());}catch(_0x3cd94b){_0x6e8d2d['push'](_0x6e8d2d['shift']());}}}(_0x5c17,0x5b56b));import{ListItemView as _0x12f995,ButtonView as _0x359626,ButtonLabelView as _0x798c0f}from'ckeditor5/src/ui.js';function _0x4f68(_0x7dd3b7,_0x4f90f2){const _0x5c17a8=_0x5c17();return _0x4f68=function(_0x4f680e,_0x2808b5){_0x4f680e=_0x4f680e-0x114;let _0x102b44=_0x5c17a8[_0x4f680e];return _0x102b44;},_0x4f68(_0x7dd3b7,_0x4f90f2);}import{unescape as _0x254ae0}from'es-toolkit/compat';export default class bt extends _0x12f995{constructor(_0x19d235){const _0xb825ab=_0x4f68;super();const _0x5e6baa=new _0x798c0f(),_0x180811=new _0x359626(this[_0xb825ab(0x122)],_0x5e6baa);this[_0xb825ab(0x116)][_0xb825ab(0x11f)](_0x180811),_0x180811[_0xb825ab(0x115)]({'label':_0x19d235[_0xb825ab(0x121)],'withText':!0x0}),_0x180811['on'](_0xb825ab(0x114),()=>{const _0x52ee41=_0xb825ab;this[_0x52ee41(0x118)](_0x52ee41(0x114),{'value':_0x254ae0(_0x19d235[_0x52ee41(0x121)])});});}}function _0x5c17(){const _0x13bb66=['set','children','1457424GbyTBr','fire','25375PXDEhw','16xCswiF','89824sTPYmq','523305SpPlbf','4150587LADJzn','6nEJHba','add','12274254HZfIFP','prompt','locale','4702072FiOGkl','execute'];_0x5c17=function(){return _0x13bb66;};return _0x5c17();}
23
+ function _0x3869(_0x58a9c3,_0x4b52f6){const _0x334545=_0x3345();return _0x3869=function(_0x386905,_0x329233){_0x386905=_0x386905-0x7c;let _0x35162b=_0x334545[_0x386905];return _0x35162b;},_0x3869(_0x58a9c3,_0x4b52f6);}(function(_0x541e6b,_0x41040d){const _0x3431b8=_0x3869,_0x233991=_0x541e6b();while(!![]){try{const _0x2503ea=parseInt(_0x3431b8(0x87))/0x1*(-parseInt(_0x3431b8(0x86))/0x2)+-parseInt(_0x3431b8(0x8b))/0x3*(parseInt(_0x3431b8(0x80))/0x4)+parseInt(_0x3431b8(0x89))/0x5*(-parseInt(_0x3431b8(0x85))/0x6)+parseInt(_0x3431b8(0x82))/0x7+parseInt(_0x3431b8(0x7f))/0x8*(parseInt(_0x3431b8(0x8a))/0x9)+parseInt(_0x3431b8(0x81))/0xa+-parseInt(_0x3431b8(0x7e))/0xb;if(_0x2503ea===_0x41040d)break;else _0x233991['push'](_0x233991['shift']());}catch(_0xcc4d32){_0x233991['push'](_0x233991['shift']());}}}(_0x3345,0x49fa7));import{ListItemView as _0x726bbd,ButtonView as _0x5cdb70,ButtonLabelView as _0x1e8dd2}from'ckeditor5/src/ui.js';import{unescape as _0x4bc550}from'es-toolkit/compat';function _0x3345(){const _0x367afa=['900996eyMRRs','5780600VKQCyI','1558676TBvApF','prompt','fire','3054SljBMB','2762EWNYYZ','131HdcnzP','children','365xFgmIA','36jwAZUM','3ybFMgR','locale','add','set','execute','4815404etNcaF','766736KCPwny'];_0x3345=function(){return _0x367afa;};return _0x3345();}export default class bt extends _0x726bbd{constructor(_0x3b4cef){const _0x154e1c=_0x3869;super();const _0x21aeed=new _0x1e8dd2(),_0x2fc078=new _0x5cdb70(this[_0x154e1c(0x8c)],_0x21aeed);this[_0x154e1c(0x88)][_0x154e1c(0x8d)](_0x2fc078),_0x2fc078[_0x154e1c(0x7c)]({'label':_0x3b4cef[_0x154e1c(0x83)],'withText':!0x0}),_0x2fc078['on'](_0x154e1c(0x7d),()=>{const _0x18272a=_0x154e1c;this[_0x18272a(0x84)](_0x18272a(0x7d),{'value':_0x4bc550(_0x3b4cef[_0x18272a(0x83)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15421c=_0x2944;function _0x4810(){const _0x243015=['clearHistory','execute','filter','162zBVitc','delegate','22736560KreFQP','clearHistoryButton','_createClearHistoryButton','items','2303208TlQyjX','71556HkxVVf','children','6635944xNWpsX','add','6pCqtOE','fire','Prompt\x20history','2844335PiVjwj','8XudhWu','length','locale','label','set','Clear','1002160ktZwbJ','8166330NYlqoy','historyGroupView'];_0x4810=function(){return _0x243015;};return _0x4810();}(function(_0x26d2f7,_0x30e64f){const _0x4a4e1d=_0x2944,_0x1123c1=_0x26d2f7();while(!![]){try{const _0x2af224=parseInt(_0x4a4e1d(0x170))/0x1+-parseInt(_0x4a4e1d(0x161))/0x2+-parseInt(_0x4a4e1d(0x176))/0x3*(-parseInt(_0x4a4e1d(0x162))/0x4)+-parseInt(_0x4a4e1d(0x169))/0x5*(-parseInt(_0x4a4e1d(0x166))/0x6)+parseInt(_0x4a4e1d(0x164))/0x7+-parseInt(_0x4a4e1d(0x16a))/0x8*(-parseInt(_0x4a4e1d(0x171))/0x9)+-parseInt(_0x4a4e1d(0x178))/0xa;if(_0x2af224===_0x30e64f)break;else _0x1123c1['push'](_0x1123c1['shift']());}catch(_0x544560){_0x1123c1['push'](_0x1123c1['shift']());}}}(_0x4810,0xec1df));function _0x2944(_0x5b036f,_0x2f464b){const _0x48106e=_0x4810();return _0x2944=function(_0x294451,_0x7c2183){_0x294451=_0x294451-0x15e;let _0x42012b=_0x48106e[_0x294451];return _0x42012b;},_0x2944(_0x5b036f,_0x2f464b);}import{ListView as _0x1220a0,ListItemGroupView as _0x27feb4,ButtonView as _0x43d516}from'ckeditor5/src/ui.js';import{getTranslation as _0x24d798}from'../../utils/common-translations.js';export default class ft extends _0x1220a0{[_0x15421c(0x172)];[_0x15421c(0x15e)];constructor(_0x40c7bb){const _0x245ed5=_0x15421c;super(_0x40c7bb),this[_0x245ed5(0x15e)]=this[_0x245ed5(0x15f)](),this[_0x245ed5(0x172)]=new _0x27feb4(),this[_0x245ed5(0x172)][_0x245ed5(0x163)][_0x245ed5(0x165)](this[_0x245ed5(0x15e)],0x1),this[_0x245ed5(0x172)][_0x245ed5(0x16d)]=_0x24d798(_0x40c7bb,_0x245ed5(0x168)),this[_0x245ed5(0x172)][_0x245ed5(0x160)][_0x245ed5(0x177)](_0x245ed5(0x174))['to'](this),this[_0x245ed5(0x160)][_0x245ed5(0x165)](this[_0x245ed5(0x172)]);}[_0x15421c(0x175)](){const _0x464bc1=_0x15421c;let _0x1552db=0x0;for(const _0x4ab9c0 of this[_0x464bc1(0x160)])_0x1552db+=_0x4ab9c0[_0x464bc1(0x160)][_0x464bc1(0x16b)];return{'resultsCount':_0x1552db,'totalItemsCount':_0x1552db};}[_0x15421c(0x15f)](){const _0x2438c7=_0x15421c,_0x334ca8=this[_0x2438c7(0x16c)],_0x154817=new _0x43d516(this[_0x2438c7(0x16c)]);return _0x154817[_0x2438c7(0x16e)]({'label':'('+_0x24d798(_0x334ca8,_0x2438c7(0x16f))+')','withText':!0x0}),_0x154817['on'](_0x2438c7(0x174),()=>this[_0x2438c7(0x167)](_0x2438c7(0x173))),_0x154817;}}
23
+ function _0x43d1(_0x438b01,_0x4d388b){const _0x2796ce=_0x2796();return _0x43d1=function(_0x43d1a2,_0x3c323e){_0x43d1a2=_0x43d1a2-0x8f;let _0x10716b=_0x2796ce[_0x43d1a2];return _0x10716b;},_0x43d1(_0x438b01,_0x4d388b);}const _0x14282a=_0x43d1;(function(_0x128f9d,_0x791058){const _0x5de4e0=_0x43d1,_0x2cf863=_0x128f9d();while(!![]){try{const _0x220e41=-parseInt(_0x5de4e0(0x93))/0x1+parseInt(_0x5de4e0(0xa9))/0x2+-parseInt(_0x5de4e0(0x99))/0x3*(-parseInt(_0x5de4e0(0x96))/0x4)+-parseInt(_0x5de4e0(0x9f))/0x5+-parseInt(_0x5de4e0(0x92))/0x6*(-parseInt(_0x5de4e0(0xa1))/0x7)+parseInt(_0x5de4e0(0x90))/0x8*(-parseInt(_0x5de4e0(0xa8))/0x9)+parseInt(_0x5de4e0(0xa2))/0xa*(parseInt(_0x5de4e0(0xa6))/0xb);if(_0x220e41===_0x791058)break;else _0x2cf863['push'](_0x2cf863['shift']());}catch(_0x4581f9){_0x2cf863['push'](_0x2cf863['shift']());}}}(_0x2796,0x496e4));function _0x2796(){const _0x4ac9db=['add','77okZSSD','execute','9EdWjQT','42868FfcgzN','locale','set','4774584vIVoyx','clearHistoryButton','6LpytGg','476552WWCxYo','_createClearHistoryButton','historyGroupView','60072BusQec','fire','filter','18jvQmBo','Clear','label','items','children','clearHistory','2410975tmXPAE','Prompt\x20history','2819957hmqgqe','1917070iyCPKJ','delegate','length'];_0x2796=function(){return _0x4ac9db;};return _0x2796();}import{ListView as _0x2cbaf3,ListItemGroupView as _0x440e2b,ButtonView as _0x63518a}from'ckeditor5/src/ui.js';import{getTranslation as _0x88106a}from'../../utils/common-translations.js';export default class ft extends _0x2cbaf3{[_0x14282a(0x95)];[_0x14282a(0x91)];constructor(_0x118d77){const _0x59ecdb=_0x14282a;super(_0x118d77),this[_0x59ecdb(0x91)]=this[_0x59ecdb(0x94)](),this[_0x59ecdb(0x95)]=new _0x440e2b(),this[_0x59ecdb(0x95)][_0x59ecdb(0x9d)][_0x59ecdb(0xa5)](this[_0x59ecdb(0x91)],0x1),this[_0x59ecdb(0x95)][_0x59ecdb(0x9b)]=_0x88106a(_0x118d77,_0x59ecdb(0xa0)),this[_0x59ecdb(0x95)][_0x59ecdb(0x9c)][_0x59ecdb(0xa3)](_0x59ecdb(0xa7))['to'](this),this[_0x59ecdb(0x9c)][_0x59ecdb(0xa5)](this[_0x59ecdb(0x95)]);}[_0x14282a(0x98)](){const _0x4c9f75=_0x14282a;let _0x586dab=0x0;for(const _0x5d25e8 of this[_0x4c9f75(0x9c)])_0x586dab+=_0x5d25e8[_0x4c9f75(0x9c)][_0x4c9f75(0xa4)];return{'resultsCount':_0x586dab,'totalItemsCount':_0x586dab};}[_0x14282a(0x94)](){const _0x1c42b1=_0x14282a,_0x40bb4b=this[_0x1c42b1(0xaa)],_0x3a071e=new _0x63518a(this[_0x1c42b1(0xaa)]);return _0x3a071e[_0x1c42b1(0x8f)]({'label':'('+_0x88106a(_0x40bb4b,_0x1c42b1(0x9a))+')','withText':!0x0}),_0x3a071e['on'](_0x1c42b1(0xa7),()=>this[_0x1c42b1(0x97)](_0x1c42b1(0x9e))),_0x3a071e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59dc4a=_0x32f6;function _0x32f6(_0x547bae,_0x55e10c){const _0x73f15a=_0x73f1();return _0x32f6=function(_0x32f682,_0x39261c){_0x32f682=_0x32f682-0x19d;let _0x2acee6=_0x73f15a[_0x32f682];return _0x2acee6;},_0x32f6(_0x547bae,_0x55e10c);}(function(_0x2bb652,_0x32b1af){const _0x44bb9b=_0x32f6,_0x43aaf7=_0x2bb652();while(!![]){try{const _0x430174=-parseInt(_0x44bb9b(0x1a6))/0x1*(-parseInt(_0x44bb9b(0x1b1))/0x2)+parseInt(_0x44bb9b(0x1b6))/0x3*(-parseInt(_0x44bb9b(0x1b8))/0x4)+parseInt(_0x44bb9b(0x1a2))/0x5*(parseInt(_0x44bb9b(0x1a9))/0x6)+-parseInt(_0x44bb9b(0x1a7))/0x7*(-parseInt(_0x44bb9b(0x1b5))/0x8)+parseInt(_0x44bb9b(0x1b4))/0x9*(-parseInt(_0x44bb9b(0x1ba))/0xa)+parseInt(_0x44bb9b(0x1b3))/0xb*(-parseInt(_0x44bb9b(0x1b9))/0xc)+parseInt(_0x44bb9b(0x1aa))/0xd*(parseInt(_0x44bb9b(0x1a5))/0xe);if(_0x430174===_0x32b1af)break;else _0x43aaf7['push'](_0x43aaf7['shift']());}catch(_0x401ec3){_0x43aaf7['push'](_0x43aaf7['shift']());}}}(_0x73f1,0x7318e));function _0x73f1(){const _0x3c4671=['trim','stringify','map','_saveToSessionStorage','_loadFromSessionStorage','2180565XHaIes','length','parse','238ZpxvDe','2344pejcZy','3578435RVESNA','remove','6VGFXQT','199199PIXbGH','toLowerCase','CKEditor/AIFormView/PromptHistory','add','prompt','last','addMany','544kXbUJR','getItem','99swNsAe','18FyyLiJ','8wblSvx','42gDEgFC','setItem','156748rovuKI','47076mnhwom','3950070boMPtx'];_0x73f1=function(){return _0x3c4671;};return _0x73f1();}import{Collection as _0x47f81b}from'ckeditor5/src/utils.js';const ts=_0x59dc4a(0x1ac);export default class wt extends _0x47f81b{constructor(){const _0x2051eb=_0x59dc4a;super(),this[_0x2051eb(0x1a1)](),this['on'](_0x2051eb(0x1ad),(_0x41c20f,_0x2032fa)=>{const _0x1b3570=_0x2051eb,_0xc1c594=os(_0x2032fa[_0x1b3570(0x1ae)]);for(const _0x478bc6 of this)if(_0x478bc6!=_0x2032fa&&os(_0x478bc6[_0x1b3570(0x1ae)])===_0xc1c594){this[_0x1b3570(0x1a8)](_0x478bc6);break;}this[_0x1b3570(0x1a3)]>0x14&&this[_0x1b3570(0x1a8)](this[_0x1b3570(0x1af)]),this[_0x1b3570(0x1a0)]();}),this['on'](_0x2051eb(0x1a8),()=>{const _0x227dc3=_0x2051eb;this[_0x227dc3(0x1a0)]();});}[_0x59dc4a(0x1a1)](){const _0x3415e6=_0x59dc4a,_0x39487b=sessionStorage[_0x3415e6(0x1b2)](ts)||'[]';this[_0x3415e6(0x1b0)](JSON[_0x3415e6(0x1a4)](_0x39487b));}[_0x59dc4a(0x1a0)](){const _0x5ecfc3=_0x59dc4a;sessionStorage[_0x5ecfc3(0x1b7)](ts,JSON[_0x5ecfc3(0x19e)](this[_0x5ecfc3(0x19f)](_0x4ccf15=>_0x4ccf15)));}}function os(_0x36a4da){const _0x3d4a88=_0x59dc4a;return _0x36a4da[_0x3d4a88(0x1ab)]()[_0x3d4a88(0x19d)]();}
23
+ function _0x50c4(_0x3b460e,_0x49bc37){const _0x463c81=_0x463c();return _0x50c4=function(_0x50c43f,_0x2a5946){_0x50c43f=_0x50c43f-0x8f;let _0x2d104b=_0x463c81[_0x50c43f];return _0x2d104b;},_0x50c4(_0x3b460e,_0x49bc37);}const _0x1e606e=_0x50c4;function _0x463c(){const _0x599800=['_saveToSessionStorage','setItem','27006sLHmLH','remove','1740936wqGAGW','464795XWLJUn','length','stringify','toLowerCase','map','CKEditor/AIFormView/PromptHistory','29yFdYZw','trim','add','672540EtLLxx','15304MYhtQe','4dEryyF','prompt','last','getItem','addMany','_loadFromSessionStorage','784488DQDGCf','433557qUcDgH','parse'];_0x463c=function(){return _0x599800;};return _0x463c();}(function(_0x1a929d,_0x5affcd){const _0x35bb04=_0x50c4,_0x3c677e=_0x1a929d();while(!![]){try{const _0x214631=parseInt(_0x35bb04(0x94))/0x1*(parseInt(_0x35bb04(0x98))/0x2)+parseInt(_0x35bb04(0x97))/0x3+parseInt(_0x35bb04(0x99))/0x4*(parseInt(_0x35bb04(0xa7))/0x5)+-parseInt(_0x35bb04(0x9f))/0x6+-parseInt(_0x35bb04(0xa4))/0x7+-parseInt(_0x35bb04(0xa6))/0x8+-parseInt(_0x35bb04(0xa0))/0x9;if(_0x214631===_0x5affcd)break;else _0x3c677e['push'](_0x3c677e['shift']());}catch(_0x19749b){_0x3c677e['push'](_0x3c677e['shift']());}}}(_0x463c,0x21d9b));import{Collection as _0x350438}from'ckeditor5/src/utils.js';const ts=_0x1e606e(0x93);export default class wt extends _0x350438{constructor(){const _0x12d851=_0x1e606e;super(),this[_0x12d851(0x9e)](),this['on'](_0x12d851(0x96),(_0x201c08,_0x26e01a)=>{const _0x2aa294=_0x12d851,_0x3e0a81=os(_0x26e01a[_0x2aa294(0x9a)]);for(const _0x4c5f8f of this)if(_0x4c5f8f!=_0x26e01a&&os(_0x4c5f8f[_0x2aa294(0x9a)])===_0x3e0a81){this[_0x2aa294(0xa5)](_0x4c5f8f);break;}this[_0x2aa294(0x8f)]>0x14&&this[_0x2aa294(0xa5)](this[_0x2aa294(0x9b)]),this[_0x2aa294(0xa2)]();}),this['on'](_0x12d851(0xa5),()=>{const _0x50cbab=_0x12d851;this[_0x50cbab(0xa2)]();});}[_0x1e606e(0x9e)](){const _0x401b8b=_0x1e606e,_0xf9225e=sessionStorage[_0x401b8b(0x9c)](ts)||'[]';this[_0x401b8b(0x9d)](JSON[_0x401b8b(0xa1)](_0xf9225e));}[_0x1e606e(0xa2)](){const _0x138c5e=_0x1e606e;sessionStorage[_0x138c5e(0xa3)](ts,JSON[_0x138c5e(0x90)](this[_0x138c5e(0x92)](_0x88f817=>_0x88f817)));}}function os(_0x5c0a8c){const _0x4a4705=_0x1e606e;return _0x5c0a8c[_0x4a4705(0x91)]()[_0x4a4705(0x95)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xaf761c=_0x260e;function _0x260e(_0xafa264,_0x49ecb3){const _0x13f0ca=_0x13f0();return _0x260e=function(_0x260e86,_0x1d457f){_0x260e86=_0x260e86-0x6c;let _0x397732=_0x13f0ca[_0x260e86];return _0x397732;},_0x260e(_0xafa264,_0x49ecb3);}(function(_0x1a2804,_0x4794a0){const _0x1e0611=_0x260e,_0x4965d0=_0x1a2804();while(!![]){try{const _0x30a11f=parseInt(_0x1e0611(0x8b))/0x1*(-parseInt(_0x1e0611(0x88))/0x2)+-parseInt(_0x1e0611(0x86))/0x3*(parseInt(_0x1e0611(0x81))/0x4)+parseInt(_0x1e0611(0x7c))/0x5+-parseInt(_0x1e0611(0x77))/0x6+-parseInt(_0x1e0611(0x6c))/0x7*(parseInt(_0x1e0611(0x74))/0x8)+-parseInt(_0x1e0611(0x8d))/0x9*(parseInt(_0x1e0611(0x79))/0xa)+parseInt(_0x1e0611(0x97))/0xb;if(_0x30a11f===_0x4794a0)break;else _0x4965d0['push'](_0x4965d0['shift']());}catch(_0x4e8d31){_0x4965d0['push'](_0x4965d0['shift']());}}}(_0x13f0,0xb48f7));function _0x13f0(){const _0x53ddf8=['selection','_hasContext','1923894DKEFKw','refresh','293560GHrtDo','values','_commandDefinitions','6718225dkuJFT','name','ai.aiAssistant.disabledElements','getFirstRange','from','20FdtCcx','element','model','isEnabled','length','849333mMnUzH','plugins','43838TGddZZ','getRanges','editor','2BTEcHw','execute','153zOPrYF','getItems','isCollapsed','includes','change:isEnabled','change:_hasContext','get','getSelectedBlocks','custom','showUI','30653898QeSwVb','add','7781858kkzOTH','config','document','requiresContent','isEmpty','enabledCommandsIds','set','hasContent','8KEsyiB'];_0x13f0=function(){return _0x53ddf8;};return _0x13f0();}import{Command as _0x2e2b6e}from'ckeditor5/src/core.js';import _0x4bb235 from'../aiassistantui.js';export default class j extends _0x2e2b6e{[_0xaf761c(0x7b)];constructor(_0x1bcc5a,_0x426291){const _0x51ac84=_0xaf761c;super(_0x1bcc5a),this[_0x51ac84(0x7b)]=_0x426291,this[_0x51ac84(0x72)](_0x51ac84(0x71),[]),this['on'](_0x51ac84(0x92),(_0x29ee5b,_0x19306a,_0xf710a5)=>{const _0x5e5c7e=_0x51ac84;this[_0x5e5c7e(0x84)]&&(this[_0x5e5c7e(0x71)]=G(this[_0x5e5c7e(0x7b)],_0xf710a5));}),this[_0x51ac84(0x72)](_0x51ac84(0x76),!0x1),this['on'](_0x51ac84(0x91),(_0x1b6cf4,_0x6b29fb,_0x1ee4a1)=>{const _0x1a6792=_0x51ac84;this[_0x1a6792(0x71)]=_0x1ee4a1?G(this[_0x1a6792(0x7b)],this[_0x1a6792(0x76)]):[];});}[_0xaf761c(0x78)](){const _0x4f07f7=_0xaf761c,_0x4efaf2=this[_0x4f07f7(0x8a)][_0x4f07f7(0x83)];this[_0x4f07f7(0x76)]=function(_0x2437d0){const _0x2951c4=_0x4f07f7,_0x3aa527=_0x2437d0[_0x2951c4(0x6e)][_0x2951c4(0x75)];return _0x3aa527[_0x2951c4(0x8f)]?0x0!==[..._0x3aa527[_0x2951c4(0x94)]()][_0x2951c4(0x85)]&&![..._0x3aa527[_0x2951c4(0x94)]()][0x0][_0x2951c4(0x70)]:!!_0x2437d0[_0x2951c4(0x73)](_0x3aa527[_0x2951c4(0x7f)]());}(_0x4efaf2);const _0x344b12=_0x4efaf2[_0x4f07f7(0x6e)][_0x4f07f7(0x75)],_0x395504=this[_0x4f07f7(0x8a)][_0x4f07f7(0x6d)][_0x4f07f7(0x93)](_0x4f07f7(0x7e));for(const _0x57f7aa of _0x344b12[_0x4f07f7(0x89)]())for(const _0x516e45 of _0x57f7aa[_0x4f07f7(0x8e)]())if(_0x516e45['is'](_0x4f07f7(0x82))&&_0x395504[_0x4f07f7(0x90)](_0x516e45[_0x4f07f7(0x7d)]))return void(this[_0x4f07f7(0x84)]=!0x1);this[_0x4f07f7(0x84)]=!0x0;}[_0xaf761c(0x8c)](_0x57004b='',_0x24b304='',_0x27d19c=_0xaf761c(0x95)){const _0x1d90ed=_0xaf761c;this[_0x1d90ed(0x8a)][_0x1d90ed(0x87)][_0x1d90ed(0x93)](_0x4bb235)[_0x1d90ed(0x96)](_0x57004b,_0x24b304,_0x27d19c);}}function G(_0x59ba61,_0x5bfac1){const _0x220330=_0xaf761c,_0x3deba6=new Set();for(const _0xc583c0 of _0x59ba61[_0x220330(0x7a)]())(_0x5bfac1||!0x1===_0xc583c0[_0x220330(0x6f)])&&_0x3deba6[_0x220330(0x98)](_0xc583c0['id']);return Array[_0x220330(0x80)](_0x3deba6);}
23
+ function _0x5beb(_0xc95b00,_0x2adeec){const _0x35ab50=_0x35ab();return _0x5beb=function(_0x5beb64,_0x5d99fc){_0x5beb64=_0x5beb64-0x13a;let _0x3d4892=_0x35ab50[_0x5beb64];return _0x3d4892;},_0x5beb(_0xc95b00,_0x2adeec);}const _0x5ebc9d=_0x5beb;(function(_0x4e72a7,_0x378ca6){const _0x48c42c=_0x5beb,_0x4abedd=_0x4e72a7();while(!![]){try{const _0x4eac52=parseInt(_0x48c42c(0x13e))/0x1+-parseInt(_0x48c42c(0x151))/0x2+-parseInt(_0x48c42c(0x13a))/0x3+-parseInt(_0x48c42c(0x152))/0x4*(-parseInt(_0x48c42c(0x153))/0x5)+parseInt(_0x48c42c(0x158))/0x6*(parseInt(_0x48c42c(0x146))/0x7)+-parseInt(_0x48c42c(0x163))/0x8*(-parseInt(_0x48c42c(0x15b))/0x9)+-parseInt(_0x48c42c(0x14f))/0xa*(parseInt(_0x48c42c(0x164))/0xb);if(_0x4eac52===_0x378ca6)break;else _0x4abedd['push'](_0x4abedd['shift']());}catch(_0x52246b){_0x4abedd['push'](_0x4abedd['shift']());}}}(_0x35ab,0x2c074));import{Command as _0x2d4364}from'ckeditor5/src/core.js';import _0x242692 from'../aiassistantui.js';export default class j extends _0x2d4364{[_0x5ebc9d(0x15a)];constructor(_0x27adc8,_0x2fa605){const _0x411c47=_0x5ebc9d;super(_0x27adc8),this[_0x411c47(0x15a)]=_0x2fa605,this[_0x411c47(0x140)](_0x411c47(0x13f),[]),this['on'](_0x411c47(0x144),(_0x1e9dd4,_0x55c83b,_0x13a052)=>{const _0x595473=_0x411c47;this[_0x595473(0x166)]&&(this[_0x595473(0x13f)]=G(this[_0x595473(0x15a)],_0x13a052));}),this[_0x411c47(0x140)](_0x411c47(0x142),!0x1),this['on'](_0x411c47(0x14d),(_0x344aeb,_0x4eaa54,_0x2d7390)=>{const _0x17821d=_0x411c47;this[_0x17821d(0x13f)]=_0x2d7390?G(this[_0x17821d(0x15a)],this[_0x17821d(0x142)]):[];});}[_0x5ebc9d(0x156)](){const _0x3c7ca5=_0x5ebc9d,_0x21ac8c=this[_0x3c7ca5(0x149)][_0x3c7ca5(0x14b)];this[_0x3c7ca5(0x142)]=function(_0xfce60f){const _0x10e69a=_0x3c7ca5,_0x41a498=_0xfce60f[_0x10e69a(0x15c)][_0x10e69a(0x141)];return _0x41a498[_0x10e69a(0x155)]?0x0!==[..._0x41a498[_0x10e69a(0x15d)]()][_0x10e69a(0x154)]&&![..._0x41a498[_0x10e69a(0x15d)]()][0x0][_0x10e69a(0x14c)]:!!_0xfce60f[_0x10e69a(0x13d)](_0x41a498[_0x10e69a(0x157)]());}(_0x21ac8c);const _0x25eb8d=_0x21ac8c[_0x3c7ca5(0x15c)][_0x3c7ca5(0x141)],_0xb47113=this[_0x3c7ca5(0x149)][_0x3c7ca5(0x143)][_0x3c7ca5(0x145)](_0x3c7ca5(0x162));for(const _0x2cb36b of _0x25eb8d[_0x3c7ca5(0x160)]())for(const _0x6df24d of _0x2cb36b[_0x3c7ca5(0x161)]())if(_0x6df24d['is'](_0x3c7ca5(0x13b))&&_0xb47113[_0x3c7ca5(0x14e)](_0x6df24d[_0x3c7ca5(0x13c)]))return void(this[_0x3c7ca5(0x166)]=!0x1);this[_0x3c7ca5(0x166)]=!0x0;}[_0x5ebc9d(0x15e)](_0x15da19='',_0x17d616='',_0xbf7fe3=_0x5ebc9d(0x159)){const _0x37c4d2=_0x5ebc9d;this[_0x37c4d2(0x149)][_0x37c4d2(0x165)][_0x37c4d2(0x145)](_0x242692)[_0x37c4d2(0x150)](_0x15da19,_0x17d616,_0xbf7fe3);}}function G(_0x1eabf6,_0x9502f2){const _0x17cc04=_0x5ebc9d,_0x3a6c47=new Set();for(const _0x36ef20 of _0x1eabf6[_0x17cc04(0x15f)]())(_0x9502f2||!0x1===_0x36ef20[_0x17cc04(0x148)])&&_0x3a6c47[_0x17cc04(0x14a)](_0x36ef20['id']);return Array[_0x17cc04(0x147)](_0x3a6c47);}function _0x35ab(){const _0x22a52b=['1030536YHOABE','55kDJGZD','plugins','isEnabled','293502HIXyPA','element','name','hasContent','211917YJJqRD','enabledCommandsIds','set','selection','_hasContext','config','change:_hasContext','get','853881lfGaJG','from','requiresContent','editor','add','model','isEmpty','change:isEnabled','includes','655230agGDxv','showUI','409230zwUgLb','4WHmwdb','1094350gonsAD','length','isCollapsed','refresh','getFirstRange','6AOvzam','custom','_commandDefinitions','18OjcFhC','document','getSelectedBlocks','execute','values','getRanges','getItems','ai.aiAssistant.disabledElements'];_0x35ab=function(){return _0x22a52b;};return _0x35ab();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x46715f,_0x244429,_0xbdfd22){const t=_0x46715f['t'];switch(_0x244429){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0xbdfd22);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xbdfd22);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0xbdfd22);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 _0x244429;}}
23
+ export function getTranslation(_0x29cf4e,_0x1690de,_0x25e950){const t=_0x29cf4e['t'];switch(_0x1690de){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x25e950);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x25e950);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x25e950);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 _0x1690de;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x55863f,_0x2e9e0){const _0x2fbf67=(0x0,_0x2e9e0['t'])('Other');return _0x55863f['length']?'groupId'in _0x55863f[0x0]?_0x55863f:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2fbf67,'order':0x1/0x0,'commands':_0x55863f}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2fbf67,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x16c5ca,_0x12412a){const _0x5c1fe0=(0x0,_0x12412a['t'])('Other');return _0x16c5ca['length']?'groupId'in _0x16c5ca[0x0]?_0x16c5ca:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5c1fe0,'order':0x1/0x0,'commands':_0x16c5ca}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5c1fe0,'order':0x1/0x0,'commands':[]}];}