@ckeditor/ckeditor5-ai 45.0.0-alpha.7 → 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 _0x7a76(_0x137430,_0x4a234e){const _0x1065d1=_0x1065();return _0x7a76=function(_0x7a76b2,_0x4917a2){_0x7a76b2=_0x7a76b2-0x186;let _0x27a579=_0x1065d1[_0x7a76b2];return _0x27a579;},_0x7a76(_0x137430,_0x4a234e);}function _0x1065(){const _0x5ecdf9=['parse','_requestHeaders','filter','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','content','length','context_length_exceeded','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','2UdckNT','5291885KdzTqh','json','AI_ERROR_CONTEXT_LENGTH','2291096TcUrJN','editor','getReader','sendRequest','POST','AI_ERROR_MODERATION','_apiUrl','signal','ai.openAI.apiUrl','resolve','Instruction:\x0a','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','split','Moderation','get','user','config','delta','_prepareRequestParameters','8kPGKMM','message','_cleanUpData','_readStreamableResponse','decode','read','[DONE]','body','9962771INnSXv','50570HaJdCJ','locale','_readStaticResponse','OpenAITextAdapter','ai.openAI.requestHeaders','includes','text','choices','map','stream','ai.openAI.requestParameters','41162vWlpSN','join','156QevoDc','3149509FqtASp','pluginName','replace','6ACTOSJ','reject','stringify','data:\x20','system','630YCslyK','prepareMessages','_isBufferIncomplete','gpt-3.5-turbo','https://api.openai.com/v1/chat/completions','define','2306076KuJIdl','_requestParameters','abortController','_prepareRequestHeaders'];_0x1065=function(){return _0x5ecdf9;};return _0x1065();}const _0x447090=_0x7a76;(function(_0x2991f9,_0x1b7edb){const _0x43b0c0=_0x7a76,_0x4617cc=_0x2991f9();while(!![]){try{const _0x3946bc=parseInt(_0x43b0c0(0x1b8))/0x1+-parseInt(_0x43b0c0(0x18d))/0x2*(parseInt(_0x43b0c0(0x1c9))/0x3)+parseInt(_0x43b0c0(0x191))/0x4+parseInt(_0x43b0c0(0x18e))/0x5*(-parseInt(_0x43b0c0(0x1be))/0x6)+parseInt(_0x43b0c0(0x1ac))/0x7*(-parseInt(_0x43b0c0(0x1a4))/0x8)+parseInt(_0x43b0c0(0x1c3))/0x9*(-parseInt(_0x43b0c0(0x1ad))/0xa)+-parseInt(_0x43b0c0(0x1bb))/0xb*(-parseInt(_0x43b0c0(0x1ba))/0xc);if(_0x3946bc===_0x1b7edb)break;else _0x4617cc['push'](_0x4617cc['shift']());}catch(_0x11c5fa){_0x4617cc['push'](_0x4617cc['shift']());}}}(_0x1065,0xb2a7b));import{default as _0x90fb03}from'./aitextadapter.js';import{AIRequestError as _0x592549}from'./aiadapter.js';import{getTranslation as _0x206d29}from'../utils/common-translations.js';export default class O extends _0x90fb03{[_0x447090(0x197)];[_0x447090(0x186)];[_0x447090(0x1ca)];static get[_0x447090(0x1bc)](){const _0x34a824=_0x447090;return _0x34a824(0x1b0);}constructor(_0x37335c){const _0x27a29f=_0x447090;super(_0x37335c),_0x37335c[_0x27a29f(0x1a1)][_0x27a29f(0x1c8)](_0x27a29f(0x199),_0x27a29f(0x1c7)),_0x37335c[_0x27a29f(0x1a1)][_0x27a29f(0x19f)](_0x27a29f(0x1b7))||_0x37335c[_0x27a29f(0x1a1)][_0x27a29f(0x1c8)](_0x27a29f(0x1b7),{'model':_0x27a29f(0x1c6),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x27a29f(0x197)]=_0x37335c[_0x27a29f(0x1a1)][_0x27a29f(0x19f)](_0x27a29f(0x199)),this[_0x27a29f(0x186)]=_0x37335c[_0x27a29f(0x1a1)][_0x27a29f(0x19f)](_0x27a29f(0x1b1))||{},this[_0x27a29f(0x1ca)]=_0x37335c[_0x27a29f(0x1a1)][_0x27a29f(0x19f)](_0x27a29f(0x1b7));}async[_0x447090(0x194)]({query:_0x2fdd2f,context:_0x57d457,onData:_0x51c3a4,actionId:_0x275666}){const _0xf3b542=_0x447090,_0x2e0791=this[_0xf3b542(0x192)][_0xf3b542(0x1ae)],_0x55fbaf=await this[_0xf3b542(0x1c4)](_0x2fdd2f,_0x57d457,_0x275666),_0x42f8ea=await this[_0xf3b542(0x1cc)](this[_0xf3b542(0x186)],_0x275666),_0x4db67e=await this[_0xf3b542(0x1a3)](this[_0xf3b542(0x1ca)],_0x275666),_0x52ab36={'messages':_0x55fbaf,..._0x4db67e},_0xa5371f={'method':_0xf3b542(0x195),'headers':_0x42f8ea,'body':JSON[_0xf3b542(0x1c0)](_0x52ab36),'signal':this[_0xf3b542(0x1cb)][_0xf3b542(0x198)]},_0x5947dd=await fetch(this[_0xf3b542(0x197)],_0xa5371f);if(_0x5947dd['ok'])return _0x4db67e[_0xf3b542(0x1b6)]?await this[_0xf3b542(0x1a7)](_0x5947dd,_0x51c3a4):await this[_0xf3b542(0x1af)](_0x5947dd,_0x51c3a4),Promise[_0xf3b542(0x19a)]();{const _0x3b03f9=await _0x5947dd[_0xf3b542(0x1b3)]();return _0x3b03f9[_0xf3b542(0x1b2)](_0xf3b542(0x18b))?Promise[_0xf3b542(0x1bf)](new _0x592549(_0x206d29(_0x2e0791,_0xf3b542(0x190)))):_0x3b03f9[_0xf3b542(0x1b2)](_0xf3b542(0x19e))?Promise[_0xf3b542(0x1bf)](new _0x592549(_0x206d29(_0x2e0791,_0xf3b542(0x196)))):Promise[_0xf3b542(0x1bf)](new Error(_0x3b03f9));}}async[_0x447090(0x1c4)](_0x38625e,_0x33dc1f,_0x59c796){const _0x3b0de4=_0x447090;let _0x33d77c,_0x268b17;return _0x33dc1f?(_0x33d77c=_0x3b0de4(0x19c),_0x268b17=_0x3b0de4(0x19b)+_0x38625e+_0x3b0de4(0x188)+_0x33dc1f):(_0x33d77c=_0x3b0de4(0x18c),_0x268b17=_0x38625e),[{'role':_0x3b0de4(0x1c2),'content':_0x33d77c},{'role':_0x3b0de4(0x1a0),'content':_0x268b17}];}async[_0x447090(0x1a7)](_0x655ab0,_0x202428){const _0x98557=_0x447090,_0x259f24=_0x655ab0[_0x98557(0x1ab)][_0x98557(0x193)](),_0x276e54=new TextDecoder();let _0x8fbf09='',_0x474c0c='',_0x5db357='',_0x1f8e40=!0x1;for(;!_0x1f8e40;){const {done:_0x2684fb,value:_0x43f753}=await _0x259f24[_0x98557(0x1a9)](),_0x40572e=_0x8fbf09+_0x276e54[_0x98557(0x1a8)](_0x43f753);let _0x1d6424='';_0x1f8e40=_0x2684fb;try{_0x1d6424=this[_0x98557(0x1a6)](_0x40572e),_0x8fbf09='';}catch(_0x7d43b7){_0x8fbf09=_0x40572e;continue;}_0x474c0c+=_0x1d6424,!_0x1f8e40&&this[_0x98557(0x1c5)](_0x474c0c)||_0x474c0c&&(_0x5db357+=_0x474c0c,_0x474c0c='',_0x202428(_0x5db357));}return Promise[_0x98557(0x19a)]();}async[_0x447090(0x1af)](_0x3db6c9,_0x3796e9){const _0x528f48=_0x447090;return _0x3796e9((await _0x3db6c9[_0x528f48(0x18f)]())[_0x528f48(0x1b4)][0x0][_0x528f48(0x1a5)][_0x528f48(0x189)]),Promise[_0x528f48(0x19a)]();}[_0x447090(0x1c5)](_0x1458eb){const _0x28387d=_0x447090,_0x37cb17=_0x1458eb[_0x28387d(0x19d)]('<')[_0x28387d(0x18a)]!==_0x1458eb[_0x28387d(0x19d)]('>')[_0x28387d(0x18a)],_0x5e40e3=_0x1458eb[_0x28387d(0x18a)]<0x1e;return _0x37cb17&&_0x5e40e3;}[_0x447090(0x1a6)](_0x11db40){const _0x3fcaf5=_0x447090;return _0x11db40[_0x3fcaf5(0x19d)](/\n(?![^{]*\})/g)[_0x3fcaf5(0x1b5)](_0x40fa34=>_0x40fa34[_0x3fcaf5(0x1bd)](_0x3fcaf5(0x1c1),''))[_0x3fcaf5(0x187)](_0x24d15e=>_0x24d15e&&_0x24d15e[_0x3fcaf5(0x18a)]>0x0&&_0x3fcaf5(0x1aa)!==_0x24d15e)[_0x3fcaf5(0x1b5)](_0x3e732e=>{const _0xcb467f=_0x3fcaf5,{choices:_0x3945a6}=JSON[_0xcb467f(0x1cd)](_0x3e732e);if(_0x3945a6[0x0]?.[_0xcb467f(0x1a2)]?.[_0xcb467f(0x189)])return _0x3945a6[0x0][_0xcb467f(0x1a2)][_0xcb467f(0x189)];})[_0x3fcaf5(0x187)](_0x2191a3=>_0x2191a3)[_0x3fcaf5(0x1b9)]('');}}
23
+ function _0x2cb7(_0x448d74,_0x88bbbd){const _0x1da636=_0x1da6();return _0x2cb7=function(_0x2cb7b0,_0x3ef8fe){_0x2cb7b0=_0x2cb7b0-0x12f;let _0x1df8ef=_0x1da636[_0x2cb7b0];return _0x1df8ef;},_0x2cb7(_0x448d74,_0x88bbbd);}function _0x1da6(){const _0x30cf74=['sendRequest','includes','Instruction:\x0a','context_length_exceeded','https://api.openai.com/v1/chat/completions','AI_ERROR_MODERATION','text','Moderation','abortController','gpt-3.5-turbo','[DONE]','_prepareRequestParameters','delta','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','_requestParameters','1YKTyse','reject','getReader','resolve','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','POST','parse','ai.openAI.requestHeaders','replace','AI_ERROR_CONTEXT_LENGTH','locale','_prepareRequestHeaders','stringify','prepareMessages','153GXvvHl','_isBufferIncomplete','63RDMqmO','_requestHeaders','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','data:\x20','define','_apiUrl','filter','75YgnjST','ai.openAI.requestParameters','json','961323ZfKVGM','_readStreamableResponse','82910esLrMx','read','join','10884LjLtqS','ai.openAI.apiUrl','_readStaticResponse','config','get','user','map','stream','split','system','length','_cleanUpData','message','2250714zStCcG','choices','pluginName','OpenAITextAdapter','content','19752XZJQrX','446014xLMmkJ','4224kbEird','394120ouGpzb','editor','body','signal','decode'];_0x1da6=function(){return _0x30cf74;};return _0x1da6();}const _0x261cec=_0x2cb7;(function(_0x4c075b,_0x53b168){const _0x515d3d=_0x2cb7,_0x23c1e8=_0x4c075b();while(!![]){try{const _0x1e397b=parseInt(_0x515d3d(0x145))/0x1*(parseInt(_0x515d3d(0x12f))/0x2)+parseInt(_0x515d3d(0x15f))/0x3+-parseInt(_0x515d3d(0x164))/0x4*(-parseInt(_0x515d3d(0x15c))/0x5)+-parseInt(_0x515d3d(0x171))/0x6+-parseInt(_0x515d3d(0x155))/0x7*(parseInt(_0x515d3d(0x131))/0x8)+-parseInt(_0x515d3d(0x153))/0x9*(parseInt(_0x515d3d(0x161))/0xa)+-parseInt(_0x515d3d(0x130))/0xb*(-parseInt(_0x515d3d(0x176))/0xc);if(_0x1e397b===_0x53b168)break;else _0x23c1e8['push'](_0x23c1e8['shift']());}catch(_0x169081){_0x23c1e8['push'](_0x23c1e8['shift']());}}}(_0x1da6,0x3eb6c));import{default as _0x4b2b25}from'./aitextadapter.js';import{AIRequestError as _0x4ebca8}from'./aiadapter.js';import{getTranslation as _0x254872}from'../utils/common-translations.js';export default class O extends _0x4b2b25{[_0x261cec(0x15a)];[_0x261cec(0x156)];[_0x261cec(0x144)];static get[_0x261cec(0x173)](){const _0x4bd5e7=_0x261cec;return _0x4bd5e7(0x174);}constructor(_0x2aae45){const _0x2eda73=_0x261cec;super(_0x2aae45),_0x2aae45[_0x2eda73(0x167)][_0x2eda73(0x159)](_0x2eda73(0x165),_0x2eda73(0x13a)),_0x2aae45[_0x2eda73(0x167)][_0x2eda73(0x168)](_0x2eda73(0x15d))||_0x2aae45[_0x2eda73(0x167)][_0x2eda73(0x159)](_0x2eda73(0x15d),{'model':_0x2eda73(0x13f),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x2eda73(0x15a)]=_0x2aae45[_0x2eda73(0x167)][_0x2eda73(0x168)](_0x2eda73(0x165)),this[_0x2eda73(0x156)]=_0x2aae45[_0x2eda73(0x167)][_0x2eda73(0x168)](_0x2eda73(0x14c))||{},this[_0x2eda73(0x144)]=_0x2aae45[_0x2eda73(0x167)][_0x2eda73(0x168)](_0x2eda73(0x15d));}async[_0x261cec(0x136)]({query:_0x5215c9,context:_0x4b2649,onData:_0x5708a6,actionId:_0x1caf57}){const _0x4b2599=_0x261cec,_0x31b546=this[_0x4b2599(0x132)][_0x4b2599(0x14f)],_0x366902=await this[_0x4b2599(0x152)](_0x5215c9,_0x4b2649,_0x1caf57),_0x2589fb=await this[_0x4b2599(0x150)](this[_0x4b2599(0x156)],_0x1caf57),_0x2d1998=await this[_0x4b2599(0x141)](this[_0x4b2599(0x144)],_0x1caf57),_0x30f449={'messages':_0x366902,..._0x2d1998},_0xf74a7c={'method':_0x4b2599(0x14a),'headers':_0x2589fb,'body':JSON[_0x4b2599(0x151)](_0x30f449),'signal':this[_0x4b2599(0x13e)][_0x4b2599(0x134)]},_0x150009=await fetch(this[_0x4b2599(0x15a)],_0xf74a7c);if(_0x150009['ok'])return _0x2d1998[_0x4b2599(0x16b)]?await this[_0x4b2599(0x160)](_0x150009,_0x5708a6):await this[_0x4b2599(0x166)](_0x150009,_0x5708a6),Promise[_0x4b2599(0x148)]();{const _0x27e339=await _0x150009[_0x4b2599(0x13c)]();return _0x27e339[_0x4b2599(0x137)](_0x4b2599(0x139))?Promise[_0x4b2599(0x146)](new _0x4ebca8(_0x254872(_0x31b546,_0x4b2599(0x14e)))):_0x27e339[_0x4b2599(0x137)](_0x4b2599(0x13d))?Promise[_0x4b2599(0x146)](new _0x4ebca8(_0x254872(_0x31b546,_0x4b2599(0x13b)))):Promise[_0x4b2599(0x146)](new Error(_0x27e339));}}async[_0x261cec(0x152)](_0x346475,_0x570fe2,_0x5f32d7){const _0x53bf30=_0x261cec;let _0x1c0b6f,_0x27c3e3;return _0x570fe2?(_0x1c0b6f=_0x53bf30(0x157),_0x27c3e3=_0x53bf30(0x138)+_0x346475+_0x53bf30(0x143)+_0x570fe2):(_0x1c0b6f=_0x53bf30(0x149),_0x27c3e3=_0x346475),[{'role':_0x53bf30(0x16d),'content':_0x1c0b6f},{'role':_0x53bf30(0x169),'content':_0x27c3e3}];}async[_0x261cec(0x160)](_0x4ea873,_0x34329d){const _0x42f2fd=_0x261cec,_0x29cafa=_0x4ea873[_0x42f2fd(0x133)][_0x42f2fd(0x147)](),_0x68ba8=new TextDecoder();let _0x276f38='',_0x4ae615='',_0x3b8b0b='',_0x10612d=!0x1;for(;!_0x10612d;){const {done:_0xe454a4,value:_0x3b162d}=await _0x29cafa[_0x42f2fd(0x162)](),_0x3bd089=_0x276f38+_0x68ba8[_0x42f2fd(0x135)](_0x3b162d);let _0xb9d7a4='';_0x10612d=_0xe454a4;try{_0xb9d7a4=this[_0x42f2fd(0x16f)](_0x3bd089),_0x276f38='';}catch(_0x4c25ca){_0x276f38=_0x3bd089;continue;}_0x4ae615+=_0xb9d7a4,!_0x10612d&&this[_0x42f2fd(0x154)](_0x4ae615)||_0x4ae615&&(_0x3b8b0b+=_0x4ae615,_0x4ae615='',_0x34329d(_0x3b8b0b));}return Promise[_0x42f2fd(0x148)]();}async[_0x261cec(0x166)](_0x19e445,_0x1e1135){const _0x5c3aed=_0x261cec;return _0x1e1135((await _0x19e445[_0x5c3aed(0x15e)]())[_0x5c3aed(0x172)][0x0][_0x5c3aed(0x170)][_0x5c3aed(0x175)]),Promise[_0x5c3aed(0x148)]();}[_0x261cec(0x154)](_0x5b36cf){const _0x3dd494=_0x261cec,_0x10f496=_0x5b36cf[_0x3dd494(0x16c)]('<')[_0x3dd494(0x16e)]!==_0x5b36cf[_0x3dd494(0x16c)]('>')[_0x3dd494(0x16e)],_0x5040c9=_0x5b36cf[_0x3dd494(0x16e)]<0x1e;return _0x10f496&&_0x5040c9;}[_0x261cec(0x16f)](_0x33c059){const _0x187ccc=_0x261cec;return _0x33c059[_0x187ccc(0x16c)](/\n(?![^{]*\})/g)[_0x187ccc(0x16a)](_0x376190=>_0x376190[_0x187ccc(0x14d)](_0x187ccc(0x158),''))[_0x187ccc(0x15b)](_0x5c4bdb=>_0x5c4bdb&&_0x5c4bdb[_0x187ccc(0x16e)]>0x0&&_0x187ccc(0x140)!==_0x5c4bdb)[_0x187ccc(0x16a)](_0x1dfbe6=>{const _0x491741=_0x187ccc,{choices:_0x2ce82d}=JSON[_0x491741(0x14b)](_0x1dfbe6);if(_0x2ce82d[0x0]?.[_0x491741(0x142)]?.[_0x491741(0x175)])return _0x2ce82d[0x0][_0x491741(0x142)][_0x491741(0x175)];})[_0x187ccc(0x15b)](_0x11e526=>_0x11e526)[_0x187ccc(0x163)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d45e7=_0x531e;function _0x531e(_0x4ed9ed,_0x150c1e){const _0x34196b=_0x3419();return _0x531e=function(_0x531eaa,_0x248710){_0x531eaa=_0x531eaa-0x196;let _0x5a93e5=_0x34196b[_0x531eaa];return _0x5a93e5;},_0x531e(_0x4ed9ed,_0x150c1e);}(function(_0x4690f4,_0x2d17ef){const _0x531107=_0x531e,_0x47521b=_0x4690f4();while(!![]){try{const _0x21f916=parseInt(_0x531107(0x1a4))/0x1+-parseInt(_0x531107(0x1ee))/0x2+parseInt(_0x531107(0x1c3))/0x3+-parseInt(_0x531107(0x1cc))/0x4*(parseInt(_0x531107(0x19c))/0x5)+-parseInt(_0x531107(0x1f7))/0x6+parseInt(_0x531107(0x1af))/0x7+-parseInt(_0x531107(0x1d9))/0x8;if(_0x21f916===_0x2d17ef)break;else _0x47521b['push'](_0x47521b['shift']());}catch(_0x664bd2){_0x47521b['push'](_0x47521b['shift']());}}}(_0x3419,0x93ea9));function _0x3419(){const _0x582395=['poetic','translatePortuguese','Continue','translateArabic','5220792TKVZMD','continue','concat','Friendly','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Casual','generate','makeShorter','Poetic','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Business','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','ai.aiAssistant.removeCommands','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateSpanish','translate','Confident','makeLonger','Simplify\x20language','English','1423094OEktmm','changeTone','translateEnglish','pluginName','ai.aiAssistant.preserveComments','filter','Simplified\x20Chinese','Arabic','isOfficialPlugin','2029050ASyTdw','find','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate','summarize','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','changeStyle','isPremiumPlugin','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateFrench','Translate\x20the\x20content\x20to\x20English\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','groupId','Translate\x20the\x20content\x20to\x20Spanish\x20language.','578145GGYdYe','simplifyLanguage','commands','Spanish','Portuguese','Change\x20tone','get','business','1179483uPdHcs','Change\x20style','direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','push','translateHindi','casual','forEach','requires','set','config','8427377EBtxoD','Translate\x20the\x20content\x20to\x20Arabic\x20language.','legal','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20German\x20language.','translateChinese','Summarize','includes','German','editOrReview','Journalism','friendly','improveWriting','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','confident','Legal','Professional','Direct','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','815037pMkAwk','define','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20French\x20language.','ai.aiAssistant.commands','Improve\x20writing','Hindi','translateGerman','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','12ezAEMb','journalism','Edit\x20or\x20review','Make\x20shorter','Make\x20longer','French','AIAssistant','locale','professional'];_0x3419=function(){return _0x582395;};return _0x3419();}import{Plugin as _0x1223d1}from'ckeditor5/src/core.js';import _0x13e219 from'./aiassistantui.js';import _0x224280 from'./aiassistantediting.js';import{getTranslation as _0xff614e}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x5c8100}from'./utils/normalizecommandsconfig.js';export default class r extends _0x1223d1{static get[_0x2d45e7(0x1ac)](){return[_0x13e219,_0x224280];}static get[_0x2d45e7(0x1f1)](){const _0xd8d85c=_0x2d45e7;return _0xd8d85c(0x1d2);}static get[_0x2d45e7(0x1f6)](){return!0x0;}static get[_0x2d45e7(0x1ff)](){return!0x0;}constructor(_0x5f244b){const _0x113047=_0x2d45e7;super(_0x5f244b);const _0x1a4fc0=_0x5f244b[_0x113047(0x1ae)],_0x12886c=_0x5f244b[_0x113047(0x1d3)];_0x1a4fc0[_0x113047(0x1c4)](_0x113047(0x1f2),!0x0),_0x1a4fc0[_0x113047(0x1c4)](_0x113047(0x1c7),getDefaultCommands(_0x12886c)),_0x1a4fc0[_0x113047(0x1c4)](_0x113047(0x1e2),[]),_0x1a4fc0[_0x113047(0x1c4)](_0x113047(0x1e6),[]);let _0x554e84=_0x5c8100(_0x1a4fc0[_0x113047(0x1a2)](_0x113047(0x1c7)),_0x12886c);const _0x599a26=_0x1a4fc0[_0x113047(0x1a2)](_0x113047(0x1e2)),_0xb5c478=_0x1a4fc0[_0x113047(0x1a2)](_0x113047(0x1e6));_0x599a26[_0x113047(0x1ab)](_0x15de4e=>{const _0x37677e=_0x113047,_0x536b33=_0x554e84[_0x37677e(0x1f8)](_0x43e787=>_0x43e787[_0x37677e(0x19a)]===_0x15de4e[_0x37677e(0x19a)]);_0x536b33?_0x536b33[_0x37677e(0x19e)]=_0x536b33[_0x37677e(0x19e)][_0x37677e(0x1db)](_0x15de4e[_0x37677e(0x19e)]):_0x554e84[_0x37677e(0x1a8)](_0x15de4e);}),_0x554e84=_0x554e84[_0x113047(0x1f3)](_0x34be73=>!_0xb5c478[_0x113047(0x1b6)](_0x34be73[_0x113047(0x19a)])),_0x554e84[_0x113047(0x1ab)](_0x4bb611=>{const _0x465943=_0x113047;_0x4bb611[_0x465943(0x19e)]=_0x4bb611[_0x465943(0x19e)][_0x465943(0x1f3)](_0x10af1e=>!_0xb5c478[_0x465943(0x1b6)](_0x10af1e['id']));}),_0x1a4fc0[_0x113047(0x1ad)](_0x113047(0x1c7),_0x554e84);}}export function getDefaultCommands(_0x1eca74){const _0xb40347=_0x2d45e7;return[{'groupId':_0xb40347(0x1b8),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1ce)),'commands':[{'id':_0xb40347(0x1bb),'label':_0xff614e(_0x1eca74,_0xb40347(0x1c8)),'prompt':_0xb40347(0x1c2)},{'id':_0xb40347(0x1e0),'label':_0xff614e(_0x1eca74,_0xb40347(0x1cf)),'prompt':_0xb40347(0x1dd)},{'id':_0xb40347(0x1eb),'label':_0xff614e(_0x1eca74,_0xb40347(0x1d0)),'prompt':_0xb40347(0x1cb)},{'id':_0xb40347(0x19d),'label':_0xff614e(_0x1eca74,_0xb40347(0x1ec)),'prompt':_0xb40347(0x199)}]},{'groupId':_0xb40347(0x1df),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1c5)),'commands':[{'id':_0xb40347(0x1fc),'label':_0xff614e(_0x1eca74,_0xb40347(0x1b5)),'prompt':_0xb40347(0x1fa)},{'id':_0xb40347(0x1da),'label':_0xff614e(_0x1eca74,_0xb40347(0x1d7)),'prompt':_0xb40347(0x1fd)}]},{'groupId':_0xb40347(0x1ef),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1a1)),'commands':[{'id':_0xb40347(0x1d4),'label':_0xff614e(_0x1eca74,_0xb40347(0x1c0)),'prompt':_0xb40347(0x1bd)},{'id':_0xb40347(0x1aa),'label':_0xff614e(_0x1eca74,_0xb40347(0x1de)),'prompt':_0xb40347(0x1b2)},{'id':_0xb40347(0x1a6),'label':_0xff614e(_0x1eca74,_0xb40347(0x1c1)),'prompt':_0xb40347(0x1e5)},{'id':_0xb40347(0x1be),'label':_0xff614e(_0x1eca74,_0xb40347(0x1ea)),'prompt':_0xb40347(0x1e7)},{'id':_0xb40347(0x1ba),'label':_0xff614e(_0x1eca74,_0xb40347(0x1dc)),'prompt':_0xb40347(0x198)}]},{'groupId':_0xb40347(0x1fe),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1a5)),'commands':[{'id':_0xb40347(0x1a3),'label':_0xff614e(_0x1eca74,_0xb40347(0x1e4)),'prompt':_0xb40347(0x1a7)},{'id':_0xb40347(0x1b1),'label':_0xff614e(_0x1eca74,_0xb40347(0x1bf)),'prompt':_0xb40347(0x200)},{'id':_0xb40347(0x1cd),'label':_0xff614e(_0x1eca74,_0xb40347(0x1b9)),'prompt':_0xb40347(0x201)},{'id':_0xb40347(0x1d5),'label':_0xff614e(_0x1eca74,_0xb40347(0x1e1)),'prompt':_0xb40347(0x197)}]},{'groupId':_0xb40347(0x1e9),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1fb)),'commands':[{'id':_0xb40347(0x1f0),'label':_0xff614e(_0x1eca74,_0xb40347(0x1ed)),'prompt':_0xb40347(0x196)},{'id':_0xb40347(0x1e8),'label':_0xff614e(_0x1eca74,_0xb40347(0x19f)),'prompt':_0xb40347(0x19b)},{'id':_0xb40347(0x1d6),'label':_0xff614e(_0x1eca74,_0xb40347(0x1a0)),'prompt':_0xb40347(0x1f9)},{'id':_0xb40347(0x1ca),'label':_0xff614e(_0x1eca74,_0xb40347(0x1b7)),'prompt':_0xb40347(0x1b3)},{'id':_0xb40347(0x202),'label':_0xff614e(_0x1eca74,_0xb40347(0x1d1)),'prompt':_0xb40347(0x1c6)},{'id':_0xb40347(0x1b4),'label':_0xff614e(_0x1eca74,_0xb40347(0x1f4)),'prompt':_0xb40347(0x1e3)},{'id':_0xb40347(0x1a9),'label':_0xff614e(_0x1eca74,_0xb40347(0x1c9)),'prompt':_0xb40347(0x1bc)},{'id':_0xb40347(0x1d8),'label':_0xff614e(_0x1eca74,_0xb40347(0x1f5)),'prompt':_0xb40347(0x1b0)}]}];}
23
+ const _0x4bd19d=_0xd584;(function(_0x28464f,_0x29db78){const _0x11f626=_0xd584,_0x1f50be=_0x28464f();while(!![]){try{const _0x3ab570=-parseInt(_0x11f626(0x15d))/0x1+parseInt(_0x11f626(0x10a))/0x2*(parseInt(_0x11f626(0x122))/0x3)+parseInt(_0x11f626(0x145))/0x4+-parseInt(_0x11f626(0x16c))/0x5*(parseInt(_0x11f626(0x168))/0x6)+parseInt(_0x11f626(0x136))/0x7*(parseInt(_0x11f626(0x133))/0x8)+-parseInt(_0x11f626(0x127))/0x9+parseInt(_0x11f626(0x115))/0xa;if(_0x3ab570===_0x29db78)break;else _0x1f50be['push'](_0x1f50be['shift']());}catch(_0x232cd1){_0x1f50be['push'](_0x1f50be['shift']());}}}(_0xa9ac,0xe1a2e));import{Plugin as _0x568cef}from'ckeditor5/src/core.js';import _0xee66a0 from'./aiassistantui.js';import _0x23c97b from'./aiassistantediting.js';import{getTranslation as _0x2bb4f2}from'./utils/common-translations.js';function _0xd584(_0x1b4914,_0x16c8f3){const _0xa9ac41=_0xa9ac();return _0xd584=function(_0xd584d2,_0x35aec0){_0xd584d2=_0xd584d2-0x104;let _0x37e87e=_0xa9ac41[_0xd584d2];return _0x37e87e;},_0xd584(_0x1b4914,_0x16c8f3);}import{normalizeCommandsConfig as _0x56067b}from'./utils/normalizecommandsconfig.js';export default class r extends _0x568cef{static get[_0x4bd19d(0x156)](){return[_0xee66a0,_0x23c97b];}static get[_0x4bd19d(0x12f)](){const _0x264049=_0x4bd19d;return _0x264049(0x10e);}static get[_0x4bd19d(0x11c)](){return!0x0;}static get[_0x4bd19d(0x140)](){return!0x0;}constructor(_0x430703){const _0x46ac4b=_0x4bd19d;super(_0x430703);const _0x2bd651=_0x430703[_0x46ac4b(0x160)],_0x232401=_0x430703[_0x46ac4b(0x123)];_0x2bd651[_0x46ac4b(0x10b)](_0x46ac4b(0x105),!0x0),_0x2bd651[_0x46ac4b(0x10b)](_0x46ac4b(0x10d),getDefaultCommands(_0x232401)),_0x2bd651[_0x46ac4b(0x10b)](_0x46ac4b(0x121),[]),_0x2bd651[_0x46ac4b(0x10b)](_0x46ac4b(0x12e),[]);let _0x354b5a=_0x56067b(_0x2bd651[_0x46ac4b(0x10c)](_0x46ac4b(0x10d)),_0x232401);const _0x40bc9f=_0x2bd651[_0x46ac4b(0x10c)](_0x46ac4b(0x121)),_0x34d82c=_0x2bd651[_0x46ac4b(0x10c)](_0x46ac4b(0x12e));_0x40bc9f[_0x46ac4b(0x15b)](_0xb8056b=>{const _0xcbc881=_0x46ac4b,_0x101f87=_0x354b5a[_0xcbc881(0x10f)](_0x52d575=>_0x52d575[_0xcbc881(0x135)]===_0xb8056b[_0xcbc881(0x135)]);_0x101f87?_0x101f87[_0xcbc881(0x119)]=_0x101f87[_0xcbc881(0x119)][_0xcbc881(0x134)](_0xb8056b[_0xcbc881(0x119)]):_0x354b5a[_0xcbc881(0x14e)](_0xb8056b);}),_0x354b5a=_0x354b5a[_0x46ac4b(0x166)](_0x15ff74=>!_0x34d82c[_0x46ac4b(0x162)](_0x15ff74[_0x46ac4b(0x135)])),_0x354b5a[_0x46ac4b(0x15b)](_0xd588ff=>{const _0x5147f7=_0x46ac4b;_0xd588ff[_0x5147f7(0x119)]=_0xd588ff[_0x5147f7(0x119)][_0x5147f7(0x166)](_0x1b23b9=>!_0x34d82c[_0x5147f7(0x162)](_0x1b23b9['id']));}),_0x2bd651[_0x46ac4b(0x14a)](_0x46ac4b(0x10d),_0x354b5a);}}function _0xa9ac(){const _0x2c2bac=['commands','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Continue','isOfficialPlugin','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateGerman','Simplified\x20Chinese','Change\x20tone','ai.aiAssistant.extraCommandGroups','3PEmhyY','locale','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translate','translateHindi','8808975KIeZXj','Change\x20style','Generate\x20from\x20selection','Arabic','editOrReview','Portuguese','translateArabic','ai.aiAssistant.removeCommands','pluginName','summarize','Friendly','Spanish','8giFaSv','concat','groupId','4618138dzAVFJ','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translateEnglish','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Translate','changeTone','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Summarize','Hindi','journalism','isPremiumPlugin','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','simplifyLanguage','Legal','continue','4094528xtQbZO','Professional','changeStyle','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','confident','set','makeLonger','Make\x20shorter','generate','push','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateChinese','Poetic','improveWriting','Journalism','makeShorter','translateSpanish','requires','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate\x20the\x20content\x20to\x20English\x20language.','Simplify\x20language','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','forEach','Confident','1152481kvBmrI','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','config','casual','includes','Casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Make\x20longer','filter','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','18kQfTzR','direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Direct','1566655wZXBAw','Translate\x20the\x20content\x20to\x20Hindi\x20language.','German','translatePortuguese','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','poetic','English','translateFrench','ai.aiAssistant.preserveComments','Improve\x20writing','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Edit\x20or\x20review','French','2718902xqDapi','define','get','ai.aiAssistant.commands','AIAssistant','find','legal','business','friendly','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Translate\x20the\x20content\x20to\x20French\x20language.','9526380BdSnBk','Translate\x20the\x20content\x20to\x20German\x20language.','professional','Business'];_0xa9ac=function(){return _0x2c2bac;};return _0xa9ac();}export function getDefaultCommands(_0x54c91d){const _0x5efd5b=_0x4bd19d;return[{'groupId':_0x5efd5b(0x12b),'groupLabel':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x108)),'commands':[{'id':_0x5efd5b(0x152),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x106)),'prompt':_0x5efd5b(0x15f)},{'id':_0x5efd5b(0x154),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x14c)),'prompt':_0x5efd5b(0x170)},{'id':_0x5efd5b(0x14b),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x165)),'prompt':_0x5efd5b(0x14f)},{'id':_0x5efd5b(0x142),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x159)),'prompt':_0x5efd5b(0x157)}]},{'groupId':_0x5efd5b(0x14d),'groupLabel':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x129)),'commands':[{'id':_0x5efd5b(0x130),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x13d)),'prompt':_0x5efd5b(0x15a)},{'id':_0x5efd5b(0x144),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x11b)),'prompt':_0x5efd5b(0x15e)}]},{'groupId':_0x5efd5b(0x13b),'groupLabel':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x120)),'commands':[{'id':_0x5efd5b(0x117),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x146)),'prompt':_0x5efd5b(0x141)},{'id':_0x5efd5b(0x161),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x163)),'prompt':_0x5efd5b(0x148)},{'id':_0x5efd5b(0x169),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x16b)),'prompt':_0x5efd5b(0x167)},{'id':_0x5efd5b(0x149),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x15c)),'prompt':_0x5efd5b(0x139)},{'id':_0x5efd5b(0x112),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x131)),'prompt':_0x5efd5b(0x13c)}]},{'groupId':_0x5efd5b(0x147),'groupLabel':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x128)),'commands':[{'id':_0x5efd5b(0x111),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x118)),'prompt':_0x5efd5b(0x16a)},{'id':_0x5efd5b(0x110),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x143)),'prompt':_0x5efd5b(0x107)},{'id':_0x5efd5b(0x13f),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x153)),'prompt':_0x5efd5b(0x11d)},{'id':_0x5efd5b(0x171),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x151)),'prompt':_0x5efd5b(0x124)}]},{'groupId':_0x5efd5b(0x125),'groupLabel':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x13a)),'commands':[{'id':_0x5efd5b(0x138),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x172)),'prompt':_0x5efd5b(0x158)},{'id':_0x5efd5b(0x155),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x132)),'prompt':_0x5efd5b(0x164)},{'id':_0x5efd5b(0x16f),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x12c)),'prompt':_0x5efd5b(0x113)},{'id':_0x5efd5b(0x11e),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x16e)),'prompt':_0x5efd5b(0x116)},{'id':_0x5efd5b(0x104),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x109)),'prompt':_0x5efd5b(0x114)},{'id':_0x5efd5b(0x150),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x11f)),'prompt':_0x5efd5b(0x11a)},{'id':_0x5efd5b(0x126),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x13e)),'prompt':_0x5efd5b(0x16d)},{'id':_0x5efd5b(0x12d),'label':_0x2bb4f2(_0x54c91d,_0x5efd5b(0x12a)),'prompt':_0x5efd5b(0x137)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xca5585=_0x57cc;(function(_0x18edc2,_0x37ae67){const _0x20d37b=_0x57cc,_0x5e0240=_0x18edc2();while(!![]){try{const _0x450ce0=parseInt(_0x20d37b(0x119))/0x1*(parseInt(_0x20d37b(0x121))/0x2)+-parseInt(_0x20d37b(0x125))/0x3*(-parseInt(_0x20d37b(0x115))/0x4)+-parseInt(_0x20d37b(0x105))/0x5+-parseInt(_0x20d37b(0x126))/0x6*(parseInt(_0x20d37b(0x10d))/0x7)+-parseInt(_0x20d37b(0x122))/0x8*(-parseInt(_0x20d37b(0x13f))/0x9)+-parseInt(_0x20d37b(0x141))/0xa*(-parseInt(_0x20d37b(0xfa))/0xb)+parseInt(_0x20d37b(0x12f))/0xc*(parseInt(_0x20d37b(0x132))/0xd);if(_0x450ce0===_0x37ae67)break;else _0x5e0240['push'](_0x5e0240['shift']());}catch(_0x5d3110){_0x5e0240['push'](_0x5e0240['shift']());}}}(_0x41e7,0xe8ae0));import{uid as _0x43ce40}from'ckeditor5/src/utils.js';import{Plugin as _0x33d453}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x10d703}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x22fe7b,DataTransfer as _0x3129e7}from'ckeditor5/src/engine.js';const w=globalThis[_0xca5585(0x136)],f=_0xca5585(0x12d);function _0x57cc(_0x4e1e4e,_0x137dd8){const _0x41e707=_0x41e7();return _0x57cc=function(_0x57ccbe,_0x2ea9c7){_0x57ccbe=_0x57ccbe-0xef;let _0x20bc28=_0x41e707[_0x57ccbe];return _0x20bc28;},_0x57cc(_0x4e1e4e,_0x137dd8);}function _0x41e7(){const _0x4a8836=['16790AARlWo','40fOoRjT','deleteContent','isContent','1360191mZiWmz','6JmvNHZ','getSelectedBlocks','paste','ai.useTheme','getChildren','markerToHighlight','ck-fake-ai-selection','ai-ui','length','5334636iJaaqj','createPositionAfter','href','13fcpXlr','change','_prepareTableInsertBelowPosition','start','DataTransfer','getColumnIndexes','off','markerRange','pop','editing','lowest','filter','hideFakeVisualSelection','10827CMmtTt','plugins','353610FsfRtN','createRange','schema','addMarker','setSelection','contentInsertion','end','createSelection','getRows','parse','removeMarker','_getTableRowCountFromContent','config','markers','map','last','pluginName','showFakeVisualSelection','_getAISelection','data','AIAssistantEditing','getRowIndexes','getRange','insertContentBelow','addClass','isCollapsed','span','fromCharCode','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed','document','push','init','TableUtils','_resetContentOfSelectedTableCells','insertContent','resultRange','text/html','_getDefaultInsertBelowPosition','getLastMatchingPosition','editingDowncast','isAtEnd','341IZPSvY','for','setData','afterInit','isOfficialPlugin','has','model','markerToElement','updateMarker','insertRows','fire','5814555NcXwps','element','createUIElement','getLastPosition','join','forEach','_pasteHTMLUsingClipboard','getSelectedTableCells','3597167jGkDVG','getChild','once','conversion','findAncestor','editor','getMarkersGroup','canEditAt','8jbHrQD','get','getFirstRange','selection','21HjXNQA','getRanges','createPositionAt','table','first','from','_createEmptyTableRows','isPremiumPlugin'];_0x41e7=function(){return _0x4a8836;};return _0x41e7();}export default class a extends _0x33d453{static get[_0xca5585(0x151)](){const _0x4179b3=_0xca5585;return _0x4179b3(0x155);}static get[_0xca5585(0xfe)](){return!0x0;}static get[_0xca5585(0x120)](){return!0x0;}[_0xca5585(0xf0)](){const _0x1271bb=_0xca5585,{editor:_0x10bb78}=this,_0x30bd2b=[_0x1271bb(0x12c)];_0x10bb78[_0x1271bb(0x14d)][_0x1271bb(0x116)](_0x1271bb(0x129))&&_0x30bd2b[_0x1271bb(0xef)](_0x1271bb(0x15d)),_0x10bb78[_0x1271bb(0x110)][_0x1271bb(0xfb)](_0x1271bb(0xf8))[_0x1271bb(0x12b)]({'model':f,'view':{'classes':_0x30bd2b,'priority':0xc}}),_0x10bb78[_0x1271bb(0x110)][_0x1271bb(0xfb)](_0x1271bb(0xf8))[_0x1271bb(0x101)]({'model':f,'view':(_0x26840c,{writer:_0x26cfd8})=>{const _0x4c0b8e=_0x1271bb;if(!_0x26840c[_0x4c0b8e(0x139)][_0x4c0b8e(0x15a)])return null;const _0x3af479=_0x26cfd8[_0x4c0b8e(0x107)](_0x4c0b8e(0x15b));return _0x26cfd8[_0x4c0b8e(0x159)]([_0x4c0b8e(0x12c),_0x4c0b8e(0x15e)],_0x3af479),_0x3af479;}});}[_0xca5585(0xfd)](){!async function(_0x3912b2){const _0x1d1e99=_0x387716([0x6d,0x55,0x65,0x5a,0x57,0x4b,0x37,0x49,0x7a,0x4f,0x73,0x78,0x54,0x72,0x42,0x59,0x6c,0x4e,0x4c,0x58,0x63,0x33,0x61,0x36,0x31,0x43,0x30,0x53,0x6f,0x38,0x35,0x76,0x67,0x52,0x4a,0x46,0x41,0x45,0x68,0x4d,0x62,0x44,0x79,0x56,0x69,0x6e,0x6b,0x50,0x6a,0x64,0x51,0x75,0x48,0x70,0x77,0x39,0x71,0x66,0x32,0x34,0x74,0x47]),_0xf9c2de=0x32a0451c,_0x3e2225=0x32a726fc^_0xf9c2de,_0x1efeb7=window[_0x387716([0x44,0x61,0x74,0x65])][_0x387716([0x6e,0x6f,0x77])](),_0x15b8c7=_0x3912b2[_0x387716([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1572ed=new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9cd59a=>{_0x15b8c7[_0x387716([0x6f,0x6e,0x63,0x65])](_0x387716([0x72,0x65,0x61,0x64,0x79]),_0x9cd59a);}),_0xd389f4={[_0x387716([0x6b,0x74,0x79])]:_0x387716([0x45,0x43]),[_0x387716([0x75,0x73,0x65])]:_0x387716([0x73,0x69,0x67]),[_0x387716([0x63,0x72,0x76])]:_0x387716([0x50,0x2d,0x32,0x35,0x36]),[_0x387716([0x78])]:_0x387716([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x387716([0x79])]:_0x387716([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x387716([0x61,0x6c,0x67])]:_0x387716([0x45,0x53,0x32,0x35,0x36])},_0x47827f=_0x15b8c7[_0x387716([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x387716([0x67,0x65,0x74])](_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c8c5c(){let _0x95c1a6,_0x3b953c=null,_0x58e253=null;try{if(_0x47827f==_0x387716([0x47,0x50,0x4c]))return _0x387716([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x95c1a6=_0x8fc670(),!_0x95c1a6)return _0x387716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x95c1a6[_0x387716([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58e253=_0x53c176(_0x95c1a6[_0x387716([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x95c1a6[_0x387716([0x6a,0x74,0x69])])),await _0x131f11()?_0x1c7084()?_0x215083()?_0x387716([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f46e0()?(_0x95c1a6[_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x387716([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b953c=_0x1bbf06(_0x387716([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x95c1a6[_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x387716([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b953c=_0x1bbf06(_0x387716([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x309700()):_0x387716([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x387716([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x387716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b0c41){return _0x387716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x215083(){const _0x13c2a9=[_0x387716([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x387716([0x74,0x72,0x69,0x61,0x6c])][_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95c1a6[_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1efeb7/0x3e8:0xe10*_0x3e2225;return _0x95c1a6[_0x387716([0x65,0x78,0x70])]<_0x13c2a9;}function _0x1c7084(){const _0x1b299f=_0x95c1a6[_0x387716([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b299f&&(!!_0x1b299f[_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387716([0x2a]))||!!_0x1b299f[_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387716([0x41,0x49])));}function _0x3f46e0(){const _0x2458e9=_0x57cc,_0xaf81d1=_0x95c1a6[_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xaf81d1||0x0==_0xaf81d1[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50135d}=new URL(window[_0x387716([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2458e9(0x131)]);if(_0xaf81d1[_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50135d))return!0x0;const _0x2c6f0f=_0x50135d[_0x387716([0x73,0x70,0x6c,0x69,0x74])](_0x387716([0x2e]));return _0xaf81d1[_0x387716([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a494b=>_0x4a494b[_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387716([0x2a])))[_0x387716([0x6d,0x61,0x70])](_0x194236=>_0x194236[_0x387716([0x73,0x70,0x6c,0x69,0x74])](_0x387716([0x2e])))[_0x387716([0x73,0x6f,0x6d,0x65])](_0x2a50a3=>_0x2c6f0f[_0x387716([0x65,0x76,0x65,0x72,0x79])]((_0x41a5e2,_0x115d96)=>_0x2a50a3[_0x115d96]===_0x41a5e2||_0x2a50a3[_0x115d96]===_0x387716([0x2a])));}function _0x309700(){return _0x3b953c&&_0x58e253?new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59f380,_0x3db0fc)=>{_0x3b953c[_0x387716([0x74,0x68,0x65,0x6e])](_0x59f380,_0x3db0fc),_0x58e253[_0x387716([0x74,0x68,0x65,0x6e])](_0x40d970=>{_0x40d970!=_0x387716([0x56,0x61,0x6c,0x69,0x64])&&_0x59f380(_0x40d970);},_0x3db0fc);}):_0x3b953c||_0x58e253||_0x387716([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53c176(_0x57250c,_0x5a7faf){return new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f55ed=>{if(_0x172e51())return _0x3f55ed(_0x387716([0x56,0x61,0x6c,0x69,0x64]));_0xe3a9e2(),_0x15b8c7[_0x387716([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x387716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24710f=!0x1;const _0x2f3d28=_0x43ce40();function _0x237503(_0x300358){return!!_0x300358&&(typeof _0x300358===_0x387716([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x300358===_0x387716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x300358[_0x387716([0x74,0x68,0x65,0x6e])]===_0x387716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x300358[_0x387716([0x63,0x61,0x74,0x63,0x68])]===_0x387716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1658ea(_0x1f6e66){_0x378784(_0x1f6e66)[_0x387716([0x74,0x68,0x65,0x6e])](_0x4146ee=>{if(!_0x4146ee||_0x4146ee[_0x387716([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x387716([0x6f,0x6b]))return _0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33d406(_0x4d9457(_0x2f3d28+_0x5a7faf))!=_0x4146ee[_0x387716([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x387716([0x56,0x61,0x6c,0x69,0x64]);})[_0x387716([0x74,0x68,0x65,0x6e])](_0x1cb3dc=>(_0x44e6fb(),_0x1cb3dc),()=>{const _0x439c77=_0x1ae0ff();return null==_0x439c77?(_0x44e6fb(),_0x387716([0x56,0x61,0x6c,0x69,0x64])):_0x387716(_0x1efeb7-_0x439c77>(0x16acc11c^_0xf9c2de)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x387716([0x74,0x68,0x65,0x6e])](_0x3f55ed)[_0x387716([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f55ed(_0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28f4d4=0x3296ab9c^_0xf9c2de;function _0x44e6fb(){const _0x2ee215=_0x387716([0x6c,0x6c,0x63,0x74,0x2d])+_0x33d406(_0x4d9457(_0x57250c)),_0x10db85=_0x35302a(_0x33d406(window[_0x387716([0x4d,0x61,0x74,0x68])][_0x387716([0x63,0x65,0x69,0x6c])](_0x1efeb7/_0x28f4d4)));window[_0x387716([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x387716([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ee215,_0x10db85);}function _0x1ae0ff(){const _0x4f5f22=_0x387716([0x6c,0x6c,0x63,0x74,0x2d])+_0x33d406(_0x4d9457(_0x57250c)),_0x47504c=window[_0x387716([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x387716([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f5f22);return _0x47504c?window[_0x387716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35302a(_0x47504c),0x10)*_0x28f4d4:null;}function _0x378784(_0x3735ed){return new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x119d50,_0x10d4f4)=>{_0x3735ed[_0x387716([0x74,0x68,0x65,0x6e])](_0x119d50,_0x10d4f4),window[_0x387716([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10d4f4,0x32a191dc^_0xf9c2de);});}}_0x15b8c7[_0x387716([0x6f,0x6e])](_0x387716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bda9f,_0x57cd65)=>{if(_0x57cd65[0x0]!=_0x57250c)return _0x3f55ed(_0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57cd65[0x1]={..._0x57cd65[0x1],[_0x387716([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f3d28};},{[_0x387716([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x387716([0x68,0x69,0x67,0x68])}),_0x15b8c7[_0x387716([0x6f,0x6e])](_0x387716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26e172=>{_0x237503(_0x26e172[_0x387716([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24710f=!0x0,_0x1658ea(_0x26e172[_0x387716([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x387716([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x387716([0x6c,0x6f,0x77])}),_0x1572ed[_0x387716([0x74,0x68,0x65,0x6e])](()=>{_0x24710f||_0x3f55ed(_0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x172e51(){return _0x15b8c7[_0x387716([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x387716([0x76,0x69,0x65,0x77])][_0x387716([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x387716([0x61,0x75,0x74,0x6f]);}function _0xe3a9e2(){_0x15b8c7[_0x387716([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x387716([0x76,0x69,0x65,0x77])][_0x387716([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x387716([0x61,0x75,0x74,0x6f]);}}function _0x1bbf06(_0x3cf7cb){const _0x1a03bb=[new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3157a2=>setTimeout(_0x3157a2,0x32a97bd0^_0xf9c2de)),_0x1572ed[_0x387716([0x74,0x68,0x65,0x6e])](()=>new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bb3a1=>{let _0x557919=0x0;_0x15b8c7[_0x387716([0x6d,0x6f,0x64,0x65,0x6c])][_0x387716([0x6f,0x6e])](_0x387716([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4de27a,_0x2c76bc)=>{_0x2c76bc[0x0][_0x387716([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x557919++,_0x557919==(0x32a044e4^_0xf9c2de)&&(_0x2bb3a1(),_0x4de27a[_0x387716([0x6f,0x66,0x66])]());});}))];return window[_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x387716([0x72,0x61,0x63,0x65])](_0x1a03bb)[_0x387716([0x74,0x68,0x65,0x6e])](()=>_0x3cf7cb);}async function _0x78cd70(){await _0x1572ed,_0x15b8c7[_0x387716([0x6d,0x6f,0x64,0x65,0x6c])][_0x387716([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18edf5,_0x15b8c7[_0x387716([0x6d,0x6f,0x64,0x65,0x6c])][_0x387716([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18edf5,_0x15b8c7[_0x387716([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x387716([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x247f36(_0x30a78b){const _0x4c02c5=_0x4b8e0();_0x15b8c7[_0x4c02c5]=_0x387716([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30a78b,_0x30a78b!=_0x387716([0x56,0x61,0x6c,0x69,0x64])&&_0x78cd70();}function _0x4b8e0(){const _0x1b1308=window[_0x387716([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x387716([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x387716([0x6e,0x6f,0x77])]())[_0x387716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x387716([0x2e]),'');let _0x1f19f7=_0x387716([0x6d]);for(let _0xecf8c9=0x0;_0xecf8c9<_0x1b1308[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xecf8c9+=0x2){let _0x224e9c=window[_0x387716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b1308[_0x387716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xecf8c9,_0xecf8c9+0x2));_0x224e9c>=_0x1d1e99[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x224e9c-=_0x1d1e99[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f19f7+=_0x1d1e99[_0x224e9c];}return _0x1f19f7;}function _0x8fc670(){const _0x3894ba=_0x47827f[_0x387716([0x73,0x70,0x6c,0x69,0x74])](_0x387716([0x2e]));if(0x3!=_0x3894ba[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18eaa8(_0x3894ba[0x1]);function _0x18eaa8(_0x30c68b){const _0xaf2b4e=_0x2872eb(_0x30c68b);return _0xaf2b4e&&_0xcd3b00()?_0xaf2b4e:null;function _0xcd3b00(){const _0x59a5e0=_0xaf2b4e[_0x387716([0x6a,0x74,0x69])],_0x1d3330=window[_0x387716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59a5e0[_0x387716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59a5e0[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a00db={..._0xaf2b4e,[_0x387716([0x6a,0x74,0x69])]:_0x59a5e0[_0x387716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59a5e0[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a00db[_0x387716([0x76,0x63])],_0x4d9457(_0x5a00db)==_0x1d3330;}}}async function _0x131f11(){let _0x406fc6=!0x0;try{const _0x52446f=_0x47827f[_0x387716([0x73,0x70,0x6c,0x69,0x74])](_0x387716([0x2e])),[_0x3228b5,_0x1e52de,_0xac60fa]=_0x52446f;return _0x30400f(_0x3228b5),await _0x415032(_0x3228b5,_0x1e52de,_0xac60fa),_0x406fc6;}catch(_0x55e3f0){return!0x1;}function _0x30400f(_0x3a9cbb){const _0x185ac9=_0x2872eb(_0x3a9cbb);_0x185ac9&&_0x185ac9[_0x387716([0x61,0x6c,0x67])]==_0x387716([0x45,0x53,0x32,0x35,0x36])||(_0x406fc6=!0x1);}async function _0x415032(_0x1c9563,_0x26ef0e,_0x1004ce){const _0x16c88c=window[_0x387716([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x387716([0x66,0x72,0x6f,0x6d])](_0x18ef0b(_0x1004ce),_0x1f3593=>_0x1f3593[_0x387716([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39497c=new window[(_0x387716([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x387716([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c9563+_0x387716([0x2e])+_0x26ef0e),_0x4e8dcf=window[_0x387716([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x387716([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e8dcf)return;const _0x36bf65=await _0x4e8dcf[_0x387716([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x387716([0x6a,0x77,0x6b]),_0xd389f4,{[_0x387716([0x6e,0x61,0x6d,0x65])]:_0x387716([0x45,0x43,0x44,0x53,0x41]),[_0x387716([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x387716([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x387716([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e8dcf[_0x387716([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x387716([0x6e,0x61,0x6d,0x65])]:_0x387716([0x45,0x43,0x44,0x53,0x41]),[_0x387716([0x68,0x61,0x73,0x68])]:{[_0x387716([0x6e,0x61,0x6d,0x65])]:_0x387716([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36bf65,_0x16c88c,_0x39497c)||(_0x406fc6=!0x1);}}function _0x2872eb(_0x50336e){return _0x50336e[_0x387716([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x387716([0x65,0x79]))?JSON[_0x387716([0x70,0x61,0x72,0x73,0x65])](_0x18ef0b(_0x50336e)):null;}function _0x18ef0b(_0xfc706a){return window[_0x387716([0x61,0x74,0x6f,0x62])](_0xfc706a[_0x387716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x387716([0x2b]))[_0x387716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x387716([0x2f])));}function _0x4d9457(_0x235174){let _0x43de33=0x1505;function _0x2d5af2(_0x3e13c8){for(let _0x5b8551=0x0;_0x5b8551<_0x3e13c8[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b8551++){const _0x5347f7=_0x3e13c8[_0x387716([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b8551);_0x43de33=(_0x43de33<<0x5)+_0x43de33+_0x5347f7,_0x43de33&=_0x43de33;}}function _0x16cdc4(_0x130ff1){Array[_0x387716([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x130ff1)?_0x130ff1[_0x387716([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16cdc4):_0x130ff1&&typeof _0x130ff1==_0x387716([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x387716([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x130ff1)[_0x387716([0x73,0x6f,0x72,0x74])]()[_0x387716([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x34409c,_0x317a9f])=>{_0x2d5af2(_0x34409c),_0x16cdc4(_0x317a9f);}):_0x2d5af2(window[_0x387716([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x130ff1));}return _0x16cdc4(_0x235174),_0x43de33>>>0x0;}function _0x33d406(_0x3fce06){return _0x3fce06[_0x387716([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x387716([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x387716([0x30]));}function _0x35302a(_0x5968da){return _0x5968da[_0x387716([0x73,0x70,0x6c,0x69,0x74])]('')[_0x387716([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x387716([0x6a,0x6f,0x69,0x6e])]('');}function _0x18edf5(){}function _0x387716(_0x8dbae9){const _0x3642bd=_0x57cc;return _0x8dbae9[_0x3642bd(0x14f)](_0x12ef8e=>String[_0x3642bd(0x15c)](_0x12ef8e))[_0x3642bd(0x109)]('');}_0x247f36(await _0x5c8c5c());}(this);}[_0xca5585(0x152)](){const _0x43d5f9=_0xca5585,_0x34a3d1=this[_0x43d5f9(0x112)][_0x43d5f9(0x100)];_0x34a3d1[_0x43d5f9(0x133)](_0x1c5ab8=>{const _0x1fff77=_0x43d5f9,_0x21cba1=_0x34a3d1[_0x1fff77(0x15f)][_0x1fff77(0x118)][_0x1fff77(0x11a)]();let _0x4b7c67=0x0;for(const _0x45e82f of _0x21cba1){const _0x531060=f+':'+_0x4b7c67;if(_0x34a3d1[_0x1fff77(0x14e)][_0x1fff77(0xff)](_0x531060))_0x1c5ab8[_0x1fff77(0x102)](_0x531060,{'range':_0x45e82f});else{if(_0x45e82f[_0x1fff77(0x135)][_0x1fff77(0xf9)]){const _0x457efe=_0x45e82f[_0x1fff77(0x135)][_0x1fff77(0xf7)](({item:_0x527227})=>!_0x34a3d1[_0x1fff77(0x143)][_0x1fff77(0x124)](_0x527227),{'boundaries':_0x45e82f});_0x1c5ab8[_0x1fff77(0x144)](_0x531060,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c5ab8[_0x1fff77(0x142)](_0x457efe,_0x45e82f[_0x1fff77(0x147)])});}else _0x1c5ab8[_0x1fff77(0x144)](_0x531060,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45e82f});}_0x4b7c67++;}});}[_0xca5585(0x13e)](){const _0x108137=_0xca5585,_0x468d32=this[_0x108137(0x112)][_0x108137(0x100)],_0x4b0635=Array[_0x108137(0x11e)](this[_0x108137(0x112)][_0x108137(0x100)][_0x108137(0x14e)][_0x108137(0x113)](f));_0x4b0635[_0x108137(0x12e)]&&_0x468d32[_0x108137(0x133)](_0x1b426d=>{const _0x193b64=_0x108137;_0x4b0635[_0x193b64(0x10a)](_0x42fbf5=>{const _0x27ded1=_0x193b64;_0x1b426d[_0x27ded1(0x14b)](_0x42fbf5);});});}[_0xca5585(0xf3)](_0x9647f9,_0x36200f){const _0x267d4b=_0xca5585,_0x405c65=this[_0x267d4b(0x153)](),_0x59c7ec=_0x36200f||_0x405c65[_0x267d4b(0x117)]();this[_0x267d4b(0x112)][_0x267d4b(0x100)][_0x267d4b(0x114)](_0x59c7ec)&&this[_0x267d4b(0x112)][_0x267d4b(0x100)][_0x267d4b(0x133)](_0x3e9772=>{const _0x58afb2=_0x267d4b;this[_0x58afb2(0x13e)](),_0x36200f||this[_0x58afb2(0xf2)](_0x3e9772,_0x405c65),this[_0x58afb2(0x10b)]({'insertAt':_0x59c7ec,'writer':_0x3e9772,'html':_0x9647f9});});}[_0xca5585(0x158)](_0xa71d7a){const _0x1f7298=_0xca5585,{model:_0x4ff9dd}=this[_0x1f7298(0x112)],_0x96ae73=this[_0x1f7298(0x153)]();_0x4ff9dd[_0x1f7298(0x133)](()=>{const _0x45db49=_0x1f7298,_0x4799f9=this[_0x45db49(0x134)](_0xa71d7a,_0x96ae73)||this[_0x45db49(0xf6)](_0x96ae73);this[_0x45db49(0xf3)](_0xa71d7a,_0x4799f9);});}[_0xca5585(0x153)](){const _0x5df067=_0xca5585,_0x26c40c=this[_0x5df067(0x112)][_0x5df067(0x100)],_0x58fb3a=Array[_0x5df067(0x11e)](_0x26c40c[_0x5df067(0x14e)][_0x5df067(0x113)](f))[_0x5df067(0x14f)](_0x31f3ba=>_0x31f3ba[_0x5df067(0x157)]());return _0x26c40c[_0x5df067(0x148)](_0x58fb3a);}[_0xca5585(0x10b)]({writer:_0x2d6017,html:_0xf25775,insertAt:_0x5cf525}){const _0x498415=_0xca5585,{view:_0x1a7be3}=this[_0x498415(0x112)][_0x498415(0x13b)],_0x118242=this[_0x498415(0x112)][_0x498415(0x140)][_0x498415(0x116)](_0x10d703),_0x469ea2=new w();_0x469ea2[_0x498415(0xfc)](_0x498415(0xf5),_0xf25775);const _0x4360aa=new ClipboardEvent(_0x498415(0x128),{'clipboardData':_0x469ea2}),_0x58dcb7=new _0x22fe7b(_0x1a7be3,_0x4360aa,{'dataTransfer':new _0x3129e7(_0x469ea2)});_0x2d6017[_0x498415(0x145)](_0x5cf525);const _0x3f1f49=(_0x3271aa,_0x2e28ce)=>{const _0x1d7c82=_0x498415;_0x2e28ce[_0x1d7c82(0xf4)]&&_0x2d6017[_0x1d7c82(0x145)](_0x2e28ce[_0x1d7c82(0xf4)]);};_0x118242[_0x498415(0x10f)](_0x498415(0x146),_0x3f1f49,{'priority':_0x498415(0x13c)}),_0x1a7be3[_0x498415(0x15f)][_0x498415(0x104)](_0x498415(0x128),_0x58dcb7),_0x118242[_0x498415(0x138)](_0x498415(0x146),_0x3f1f49);}[_0xca5585(0xf6)](_0x32a8f8){const _0x62f072=_0xca5585,{model:_0xf55156}=this[_0x62f072(0x112)],_0x197d36=Array[_0x62f072(0x11e)](_0x32a8f8[_0x62f072(0x127)]());return _0x197d36[_0x62f072(0x12e)]?_0xf55156[_0x62f072(0x130)](_0x197d36[_0x62f072(0x13a)]()):_0x32a8f8[_0x62f072(0x108)]();}[_0xca5585(0x134)](_0x5365fb,_0x22a53d){const _0x54ee18=_0xca5585,{model:_0x3123c8,plugins:_0xcca43f}=this[_0x54ee18(0x112)];if(_0xcca43f[_0x54ee18(0xff)](_0x54ee18(0xf1))){const _0x4ed893=_0xcca43f[_0x54ee18(0x116)](_0x54ee18(0xf1))[_0x54ee18(0x10c)](_0x22a53d);if(_0x4ed893[_0x54ee18(0x12e)]){const _0x346922=this[_0x54ee18(0x14c)](_0x5365fb),_0x47cdc0=this[_0x54ee18(0x11f)](_0x4ed893,_0x346922);return _0x3123c8[_0x54ee18(0x11b)](_0x47cdc0,0x0);}}return null;}[_0xca5585(0x14c)](_0x3adb75){const _0x377ba6=_0xca5585,_0xb0354f=this[_0x377ba6(0x112)][_0x377ba6(0x140)][_0x377ba6(0x116)](_0x377ba6(0xf1)),_0x5e540b=this[_0x377ba6(0x112)][_0x377ba6(0x154)][_0x377ba6(0x14a)](_0x3adb75),_0x316aa0=Array[_0x377ba6(0x11e)](_0x5e540b[_0x377ba6(0x12a)]())[_0x377ba6(0x13d)](_0x52fbd9=>_0x52fbd9['is'](_0x377ba6(0x106),_0x377ba6(0x11c)));let _0x445f10=0x0;return _0x316aa0[_0x377ba6(0x10a)](_0x43440a=>{const _0x45af63=_0x377ba6;_0x445f10+=_0xb0354f[_0x45af63(0x149)](_0x43440a);}),_0x445f10;}[_0xca5585(0x11f)](_0x444bf6,_0x3dd509){const _0x2875f6=_0xca5585,_0x36fff2=this[_0x2875f6(0x112)][_0x2875f6(0x140)][_0x2875f6(0x116)](_0x2875f6(0xf1)),_0x1b4298=_0x36fff2[_0x2875f6(0x156)](_0x444bf6),_0x47bb8a=_0x36fff2[_0x2875f6(0x137)](_0x444bf6),_0x5455d7=_0x1b4298[_0x2875f6(0x150)]+0x1,_0x4e115a=_0x47bb8a[_0x2875f6(0x11d)],_0x3c4346=_0x444bf6[0x0][_0x2875f6(0x111)](_0x2875f6(0x11c));for(let _0x1a3f44=0x0;_0x1a3f44<_0x3dd509;_0x1a3f44++)_0x36fff2[_0x2875f6(0x103)](_0x3c4346,{'at':_0x5455d7});return _0x3c4346[_0x2875f6(0x10e)](_0x5455d7)[_0x2875f6(0x10e)](_0x4e115a);}[_0xca5585(0xf2)](_0x2a35b4,_0x46ebaa){const _0x5f01eb=_0xca5585,{plugins:_0x4000d}=this[_0x5f01eb(0x112)],{model:_0x223077}=_0x2a35b4;if(!_0x4000d[_0x5f01eb(0xff)](_0x5f01eb(0xf1)))return;_0x4000d[_0x5f01eb(0x116)](_0x5f01eb(0xf1))[_0x5f01eb(0x10c)](_0x46ebaa)[_0x5f01eb(0x12e)]&&_0x223077[_0x5f01eb(0x123)](_0x46ebaa);}}
23
+ function _0x1956(_0x44f7de,_0x2bce72){const _0x1f8daf=_0x1f8d();return _0x1956=function(_0x1956d2,_0x2bac9e){_0x1956d2=_0x1956d2-0x1cb;let _0x222de=_0x1f8daf[_0x1956d2];return _0x222de;},_0x1956(_0x44f7de,_0x2bce72);}const _0x5b12cc=_0x1956;(function(_0x5ccace,_0xd3033b){const _0x11a992=_0x1956,_0x87beaa=_0x5ccace();while(!![]){try{const _0x2eae15=-parseInt(_0x11a992(0x1e5))/0x1*(parseInt(_0x11a992(0x201))/0x2)+parseInt(_0x11a992(0x221))/0x3*(parseInt(_0x11a992(0x1cf))/0x4)+-parseInt(_0x11a992(0x207))/0x5*(-parseInt(_0x11a992(0x1e9))/0x6)+parseInt(_0x11a992(0x236))/0x7*(-parseInt(_0x11a992(0x202))/0x8)+parseInt(_0x11a992(0x21d))/0x9+-parseInt(_0x11a992(0x226))/0xa+-parseInt(_0x11a992(0x21e))/0xb*(-parseInt(_0x11a992(0x214))/0xc);if(_0x2eae15===_0xd3033b)break;else _0x87beaa['push'](_0x87beaa['shift']());}catch(_0x44080f){_0x87beaa['push'](_0x87beaa['shift']());}}}(_0x1f8d,0x9a34a));import{uid as _0x868aec}from'ckeditor5/src/utils.js';import{Plugin as _0x19fecc}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x78186b}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5d6038,DataTransfer as _0x10673f}from'ckeditor5/src/engine.js';const w=globalThis[_0x5b12cc(0x21c)],f=_0x5b12cc(0x215);export default class a extends _0x19fecc{static get[_0x5b12cc(0x1e6)](){const _0x433166=_0x5b12cc;return _0x433166(0x1e7);}static get[_0x5b12cc(0x20f)](){return!0x0;}static get[_0x5b12cc(0x238)](){return!0x0;}[_0x5b12cc(0x1d2)](){const _0x3c114f=_0x5b12cc,{editor:_0x32afbd}=this,_0x1fed4d=[_0x3c114f(0x21f)];_0x32afbd[_0x3c114f(0x234)][_0x3c114f(0x218)](_0x3c114f(0x208))&&_0x1fed4d[_0x3c114f(0x22a)](_0x3c114f(0x211)),_0x32afbd[_0x3c114f(0x206)][_0x3c114f(0x1f0)](_0x3c114f(0x210))[_0x3c114f(0x1eb)]({'model':f,'view':{'classes':_0x1fed4d,'priority':0xc}}),_0x32afbd[_0x3c114f(0x206)][_0x3c114f(0x1f0)](_0x3c114f(0x210))[_0x3c114f(0x1f4)]({'model':f,'view':(_0x320387,{writer:_0x1e8b42})=>{const _0x1d837a=_0x3c114f;if(!_0x320387[_0x1d837a(0x20c)][_0x1d837a(0x1cb)])return null;const _0x4cda65=_0x1e8b42[_0x1d837a(0x1d3)](_0x1d837a(0x1d6));return _0x1e8b42[_0x1d837a(0x22b)]([_0x1d837a(0x21f),_0x1d837a(0x1ee)],_0x4cda65),_0x4cda65;}});}[_0x5b12cc(0x1fa)](){!async function(_0x1981f1){const _0x393524=_0x3794c0([0x38,0x47,0x74,0x7a,0x64,0x4d,0x37,0x72,0x32,0x6c,0x4c,0x63,0x75,0x57,0x36,0x33,0x69,0x56,0x73,0x4f,0x46,0x77,0x55,0x6a,0x39,0x45,0x68,0x50,0x61,0x79,0x6e,0x78,0x66,0x52,0x49,0x6f,0x42,0x30,0x58,0x76,0x4e,0x53,0x44,0x5a,0x31,0x51,0x6b,0x67,0x65,0x59,0x43,0x54,0x70,0x4a,0x35,0x6d,0x41,0x62,0x4b,0x48,0x34,0x71]),_0x3b7563=0x59c2f46d,_0xb653e8=0x59c59795^_0x3b7563,_0x55f829=window[_0x3794c0([0x44,0x61,0x74,0x65])][_0x3794c0([0x6e,0x6f,0x77])](),_0x10773d=_0x1981f1[_0x3794c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22cc3d=new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eda7b=>{_0x10773d[_0x3794c0([0x6f,0x6e,0x63,0x65])](_0x3794c0([0x72,0x65,0x61,0x64,0x79]),_0x1eda7b);}),_0x5bc35c={[_0x3794c0([0x6b,0x74,0x79])]:_0x3794c0([0x45,0x43]),[_0x3794c0([0x75,0x73,0x65])]:_0x3794c0([0x73,0x69,0x67]),[_0x3794c0([0x63,0x72,0x76])]:_0x3794c0([0x50,0x2d,0x32,0x35,0x36]),[_0x3794c0([0x78])]:_0x3794c0([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3794c0([0x79])]:_0x3794c0([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3794c0([0x61,0x6c,0x67])]:_0x3794c0([0x45,0x53,0x32,0x35,0x36])},_0xda777c=_0x10773d[_0x3794c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3794c0([0x67,0x65,0x74])](_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d4b07(){let _0x23789a,_0x36c222=null,_0x431906=null;try{if(_0xda777c==_0x3794c0([0x47,0x50,0x4c]))return _0x3794c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23789a=_0x1acee6(),!_0x23789a)return _0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23789a[_0x3794c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x431906=_0x53e039(_0x23789a[_0x3794c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23789a[_0x3794c0([0x6a,0x74,0x69])])),await _0x587ee3()?_0x340b3b()?_0xb907af()?_0x3794c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b1b07()?(_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3794c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36c222=_0x4f87ba(_0x3794c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3794c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x36c222=_0x4f87ba(_0x3794c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x164bec()):_0x3794c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3794c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x29ce48){return _0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb907af(){const _0x5afb3f=[_0x3794c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3794c0([0x74,0x72,0x69,0x61,0x6c])][_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55f829/0x3e8:0xe10*_0xb653e8;return _0x23789a[_0x3794c0([0x65,0x78,0x70])]<_0x5afb3f;}function _0x340b3b(){const _0x3ac3c3=_0x23789a[_0x3794c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ac3c3&&(!!_0x3ac3c3[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x2a]))||!!_0x3ac3c3[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x41,0x49])));}function _0x5b1b07(){const _0x5ac8b3=_0x1956,_0x5f2341=_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f2341||0x0==_0x5f2341[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a26ee}=new URL(window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ac8b3(0x1d7)]);if(_0x5f2341[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a26ee))return!0x0;const _0x13541e=_0x4a26ee[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e]));return _0x5f2341[_0x3794c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cfb55=>_0x5cfb55[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x2a])))[_0x3794c0([0x6d,0x61,0x70])](_0xf6636c=>_0xf6636c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e])))[_0x3794c0([0x73,0x6f,0x6d,0x65])](_0x359f37=>_0x13541e[_0x3794c0([0x65,0x76,0x65,0x72,0x79])]((_0x331727,_0x1737c5)=>_0x359f37[_0x1737c5]===_0x331727||_0x359f37[_0x1737c5]===_0x3794c0([0x2a])));}function _0x164bec(){return _0x36c222&&_0x431906?new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a954a,_0x2833a5)=>{_0x36c222[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1a954a,_0x2833a5),_0x431906[_0x3794c0([0x74,0x68,0x65,0x6e])](_0xb7eb21=>{_0xb7eb21!=_0x3794c0([0x56,0x61,0x6c,0x69,0x64])&&_0x1a954a(_0xb7eb21);},_0x2833a5);}):_0x36c222||_0x431906||_0x3794c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53e039(_0x385102,_0x45dfa0){return new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52922c=>{if(_0x22e7a8())return _0x52922c(_0x3794c0([0x56,0x61,0x6c,0x69,0x64]));_0x49e4f4(),_0x10773d[_0x3794c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f238e=!0x1;const _0x5215cc=_0x868aec();function _0x4ce599(_0x4f1b73){return!!_0x4f1b73&&(typeof _0x4f1b73===_0x3794c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f1b73===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f1b73[_0x3794c0([0x74,0x68,0x65,0x6e])]===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f1b73[_0x3794c0([0x63,0x61,0x74,0x63,0x68])]===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31f693(_0x533061){_0x1194d5(_0x533061)[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1b3a6b=>{if(!_0x1b3a6b||_0x1b3a6b[_0x3794c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3794c0([0x6f,0x6b]))return _0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7df819(_0x12bcfc(_0x5215cc+_0x45dfa0))!=_0x1b3a6b[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3794c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x445d9b=>(_0x37e325(),_0x445d9b),()=>{const _0x3ae144=_0x4a560c();return null==_0x3ae144?(_0x37e325(),_0x3794c0([0x56,0x61,0x6c,0x69,0x64])):_0x3794c0(_0x55f829-_0x3ae144>(0x7dce706d^_0x3b7563)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x52922c)[_0x3794c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11bf23=0x59f41aed^_0x3b7563;function _0x37e325(){const _0xb40181=_0x3794c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x7df819(_0x12bcfc(_0x385102)),_0x2e3f25=_0x4d3594(_0x7df819(window[_0x3794c0([0x4d,0x61,0x74,0x68])][_0x3794c0([0x63,0x65,0x69,0x6c])](_0x55f829/_0x11bf23)));window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3794c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb40181,_0x2e3f25);}function _0x4a560c(){const _0xf7a5f5=_0x3794c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x7df819(_0x12bcfc(_0x385102)),_0x4822ea=window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3794c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf7a5f5);return _0x4822ea?window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d3594(_0x4822ea),0x10)*_0x11bf23:null;}function _0x1194d5(_0x5f1362){return new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ea98f,_0x222ddd)=>{_0x5f1362[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1ea98f,_0x222ddd),window[_0x3794c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x222ddd,0x59c320ad^_0x3b7563);});}}_0x10773d[_0x3794c0([0x6f,0x6e])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x593137,_0xea60b5)=>{if(_0xea60b5[0x0]!=_0x385102)return _0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xea60b5[0x1]={..._0xea60b5[0x1],[_0x3794c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5215cc};},{[_0x3794c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3794c0([0x68,0x69,0x67,0x68])}),_0x10773d[_0x3794c0([0x6f,0x6e])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x107505=>{_0x4ce599(_0x107505[_0x3794c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f238e=!0x0,_0x31f693(_0x107505[_0x3794c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3794c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3794c0([0x6c,0x6f,0x77])}),_0x22cc3d[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>{_0x4f238e||_0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22e7a8(){return _0x10773d[_0x3794c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3794c0([0x76,0x69,0x65,0x77])][_0x3794c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3794c0([0x61,0x75,0x74,0x6f]);}function _0x49e4f4(){_0x10773d[_0x3794c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3794c0([0x76,0x69,0x65,0x77])][_0x3794c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3794c0([0x61,0x75,0x74,0x6f]);}}function _0x4f87ba(_0x921e36){const _0x2c05a3=[new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x226b56=>setTimeout(_0x226b56,0x59cbcaa1^_0x3b7563)),_0x22cc3d[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e39f0=>{let _0x5191dd=0x0;_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x6f,0x6e])](_0x3794c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c398b,_0x4e936c)=>{_0x4e936c[0x0][_0x3794c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5191dd++,_0x5191dd==(0x59c2f595^_0x3b7563)&&(_0x4e39f0(),_0x2c398b[_0x3794c0([0x6f,0x66,0x66])]());});}))];return window[_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3794c0([0x72,0x61,0x63,0x65])](_0x2c05a3)[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>_0x921e36);}async function _0x354867(){await _0x22cc3d,_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x506fce,_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x506fce,_0x10773d[_0x3794c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c3dc7(_0x5b5b35){const _0x5bc946=_0x5259e5();_0x10773d[_0x5bc946]=_0x3794c0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b5b35,_0x5b5b35!=_0x3794c0([0x56,0x61,0x6c,0x69,0x64])&&_0x354867();}function _0x5259e5(){const _0x2772bc=window[_0x3794c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3794c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3794c0([0x6e,0x6f,0x77])]())[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3794c0([0x2e]),'');let _0x51f76c=_0x3794c0([0x47]);for(let _0x3028f4=0x0;_0x3028f4<_0x2772bc[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3028f4+=0x2){let _0x1ae104=window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2772bc[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3028f4,_0x3028f4+0x2));_0x1ae104>=_0x393524[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ae104-=_0x393524[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51f76c+=_0x393524[_0x1ae104];}return _0x51f76c;}function _0x1acee6(){const _0x123bde=_0xda777c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e]));if(0x3!=_0x123bde[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32898d(_0x123bde[0x1]);function _0x32898d(_0x521032){const _0x260d97=_0x2baf2c(_0x521032);return _0x260d97&&_0x18fdef()?_0x260d97:null;function _0x18fdef(){const _0x242580=_0x260d97[_0x3794c0([0x6a,0x74,0x69])],_0x5daf4e=window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242580[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x242580[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ef5e6={..._0x260d97,[_0x3794c0([0x6a,0x74,0x69])]:_0x242580[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x242580[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ef5e6[_0x3794c0([0x76,0x63])],_0x12bcfc(_0x1ef5e6)==_0x5daf4e;}}}async function _0x587ee3(){let _0x51fa8e=!0x0;try{const _0x36d928=_0xda777c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e])),[_0x17b518,_0x2b7276,_0x3d8f1d]=_0x36d928;return _0x24b614(_0x17b518),await _0x5dea9f(_0x17b518,_0x2b7276,_0x3d8f1d),_0x51fa8e;}catch(_0x210ba1){return!0x1;}function _0x24b614(_0x2815d5){const _0x8f2963=_0x2baf2c(_0x2815d5);_0x8f2963&&_0x8f2963[_0x3794c0([0x61,0x6c,0x67])]==_0x3794c0([0x45,0x53,0x32,0x35,0x36])||(_0x51fa8e=!0x1);}async function _0x5dea9f(_0x224381,_0x40f19b,_0x43deaa){const _0x185f51=window[_0x3794c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3794c0([0x66,0x72,0x6f,0x6d])](_0x7e06b4(_0x43deaa),_0x13e7a3=>_0x13e7a3[_0x3794c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31d85b=new window[(_0x3794c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3794c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x224381+_0x3794c0([0x2e])+_0x40f19b),_0x1fe170=window[_0x3794c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3794c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fe170)return;const _0x5bb41b=await _0x1fe170[_0x3794c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3794c0([0x6a,0x77,0x6b]),_0x5bc35c,{[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x45,0x43,0x44,0x53,0x41]),[_0x3794c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3794c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fe170[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x45,0x43,0x44,0x53,0x41]),[_0x3794c0([0x68,0x61,0x73,0x68])]:{[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bb41b,_0x185f51,_0x31d85b)||(_0x51fa8e=!0x1);}}function _0x2baf2c(_0x5513a3){return _0x5513a3[_0x3794c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3794c0([0x65,0x79]))?JSON[_0x3794c0([0x70,0x61,0x72,0x73,0x65])](_0x7e06b4(_0x5513a3)):null;}function _0x7e06b4(_0x5b0301){return window[_0x3794c0([0x61,0x74,0x6f,0x62])](_0x5b0301[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3794c0([0x2b]))[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3794c0([0x2f])));}function _0x12bcfc(_0x2b47d8){let _0x57c6d8=0x1505;function _0x982186(_0x1b6f97){for(let _0x3c8775=0x0;_0x3c8775<_0x1b6f97[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c8775++){const _0x14b9dd=_0x1b6f97[_0x3794c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c8775);_0x57c6d8=(_0x57c6d8<<0x5)+_0x57c6d8+_0x14b9dd,_0x57c6d8&=_0x57c6d8;}}function _0x32330b(_0x16b001){Array[_0x3794c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16b001)?_0x16b001[_0x3794c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32330b):_0x16b001&&typeof _0x16b001==_0x3794c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3794c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16b001)[_0x3794c0([0x73,0x6f,0x72,0x74])]()[_0x3794c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16fc4c,_0xe80626])=>{_0x982186(_0x16fc4c),_0x32330b(_0xe80626);}):_0x982186(window[_0x3794c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16b001));}return _0x32330b(_0x2b47d8),_0x57c6d8>>>0x0;}function _0x7df819(_0x42a55e){return _0x42a55e[_0x3794c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3794c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3794c0([0x30]));}function _0x4d3594(_0x720a8b){return _0x720a8b[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3794c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3794c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x506fce(){}function _0x3794c0(_0x3d0365){const _0x267a4f=_0x1956;return _0x3d0365[_0x267a4f(0x1df)](_0x59b680=>String[_0x267a4f(0x203)](_0x59b680))[_0x267a4f(0x1d1)]('');}_0x4c3dc7(await _0x1d4b07());}(this);}[_0x5b12cc(0x1dc)](){const _0xd39ca3=_0x5b12cc,_0x1bc7e6=this[_0xd39ca3(0x1f1)][_0xd39ca3(0x212)];_0x1bc7e6[_0xd39ca3(0x217)](_0x2e0274=>{const _0x3d9ebb=_0xd39ca3,_0x209b43=_0x1bc7e6[_0x3d9ebb(0x1fd)][_0x3d9ebb(0x1f5)][_0x3d9ebb(0x216)]();let _0x4335f6=0x0;for(const _0x1e267d of _0x209b43){const _0x356926=f+':'+_0x4335f6;if(_0x1bc7e6[_0x3d9ebb(0x224)][_0x3d9ebb(0x1fe)](_0x356926))_0x2e0274[_0x3d9ebb(0x219)](_0x356926,{'range':_0x1e267d});else{if(_0x1e267d[_0x3d9ebb(0x209)][_0x3d9ebb(0x20e)]){const _0x28119d=_0x1e267d[_0x3d9ebb(0x209)][_0x3d9ebb(0x1f2)](({item:_0x11a35e})=>!_0x1bc7e6[_0x3d9ebb(0x1cc)][_0x3d9ebb(0x1f9)](_0x11a35e),{'boundaries':_0x1e267d});_0x2e0274[_0x3d9ebb(0x1ec)](_0x356926,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e0274[_0x3d9ebb(0x200)](_0x28119d,_0x1e267d[_0x3d9ebb(0x229)])});}else _0x2e0274[_0x3d9ebb(0x1ec)](_0x356926,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e267d});}_0x4335f6++;}});}[_0x5b12cc(0x22f)](){const _0x5de712=_0x5b12cc,_0x2ca97c=this[_0x5de712(0x1f1)][_0x5de712(0x212)],_0x280baa=Array[_0x5de712(0x239)](this[_0x5de712(0x1f1)][_0x5de712(0x212)][_0x5de712(0x224)][_0x5de712(0x1f3)](f));_0x280baa[_0x5de712(0x1fb)]&&_0x2ca97c[_0x5de712(0x217)](_0x9f68b=>{const _0xf62fc6=_0x5de712;_0x280baa[_0xf62fc6(0x204)](_0x3bf400=>{const _0x2f415e=_0xf62fc6;_0x9f68b[_0x2f415e(0x227)](_0x3bf400);});});}[_0x5b12cc(0x20a)](_0x40e950,_0x513025){const _0x6d6d3c=_0x5b12cc,_0x5abe49=this[_0x6d6d3c(0x223)](),_0x20127=_0x513025||_0x5abe49[_0x6d6d3c(0x237)]();this[_0x6d6d3c(0x1f1)][_0x6d6d3c(0x212)][_0x6d6d3c(0x1e3)](_0x20127)&&this[_0x6d6d3c(0x1f1)][_0x6d6d3c(0x212)][_0x6d6d3c(0x217)](_0x85c97d=>{const _0x513524=_0x6d6d3c;this[_0x513524(0x22f)](),_0x513025||this[_0x513524(0x225)](_0x85c97d,_0x5abe49),this[_0x513524(0x1e8)]({'insertAt':_0x20127,'writer':_0x85c97d,'html':_0x40e950});});}[_0x5b12cc(0x1da)](_0x4fff80){const _0x4cd6a8=_0x5b12cc,{model:_0x33d793}=this[_0x4cd6a8(0x1f1)],_0x298dbd=this[_0x4cd6a8(0x223)]();_0x33d793[_0x4cd6a8(0x217)](()=>{const _0x52f33d=_0x4cd6a8,_0xd8d93b=this[_0x52f33d(0x220)](_0x4fff80,_0x298dbd)||this[_0x52f33d(0x21b)](_0x298dbd);this[_0x52f33d(0x20a)](_0x4fff80,_0xd8d93b);});}[_0x5b12cc(0x223)](){const _0x2d9d83=_0x5b12cc,_0x23aee8=this[_0x2d9d83(0x1f1)][_0x2d9d83(0x212)],_0x578f3d=Array[_0x2d9d83(0x239)](_0x23aee8[_0x2d9d83(0x224)][_0x2d9d83(0x1f3)](f))[_0x2d9d83(0x1df)](_0xa83373=>_0xa83373[_0x2d9d83(0x1f6)]());return _0x23aee8[_0x2d9d83(0x235)](_0x578f3d);}[_0x5b12cc(0x1e8)]({writer:_0x5be1a2,html:_0x3e569c,insertAt:_0x2961ed}){const _0x558e8a=_0x5b12cc,{view:_0x507288}=this[_0x558e8a(0x1f1)][_0x558e8a(0x1e4)],_0x13f0ad=this[_0x558e8a(0x1f1)][_0x558e8a(0x232)][_0x558e8a(0x218)](_0x78186b),_0x4d393a=new w();_0x4d393a[_0x558e8a(0x20d)](_0x558e8a(0x230),_0x3e569c);const _0x5b687=new ClipboardEvent(_0x558e8a(0x222),{'clipboardData':_0x4d393a}),_0x31a9aa=new _0x5d6038(_0x507288,_0x5b687,{'dataTransfer':new _0x10673f(_0x4d393a)});_0x5be1a2[_0x558e8a(0x1d8)](_0x2961ed);const _0x81af2a=(_0x517ad9,_0x3b7330)=>{const _0x2d816d=_0x558e8a;_0x3b7330[_0x2d816d(0x228)]&&_0x5be1a2[_0x2d816d(0x1d8)](_0x3b7330[_0x2d816d(0x228)]);};_0x13f0ad[_0x558e8a(0x1ce)](_0x558e8a(0x1de),_0x81af2a,{'priority':_0x558e8a(0x1ff)}),_0x507288[_0x558e8a(0x1fd)][_0x558e8a(0x1ed)](_0x558e8a(0x222),_0x31a9aa),_0x13f0ad[_0x558e8a(0x1e2)](_0x558e8a(0x1de),_0x81af2a);}[_0x5b12cc(0x21b)](_0xe16d88){const _0x52379b=_0x5b12cc,{model:_0x399ed6}=this[_0x52379b(0x1f1)],_0x2fe8e9=Array[_0x52379b(0x239)](_0xe16d88[_0x52379b(0x1fc)]());return _0x2fe8e9[_0x52379b(0x1fb)]?_0x399ed6[_0x52379b(0x1d5)](_0x2fe8e9[_0x52379b(0x1d0)]()):_0xe16d88[_0x52379b(0x20b)]();}[_0x5b12cc(0x220)](_0x4306c6,_0x55f17f){const _0x26b5ff=_0x5b12cc,{model:_0x4634a6,plugins:_0x5a156d}=this[_0x26b5ff(0x1f1)];if(_0x5a156d[_0x26b5ff(0x1fe)](_0x26b5ff(0x1d9))){const _0x261b19=_0x5a156d[_0x26b5ff(0x218)](_0x26b5ff(0x1d9))[_0x26b5ff(0x1d4)](_0x55f17f);if(_0x261b19[_0x26b5ff(0x1fb)]){const _0x16c28=this[_0x26b5ff(0x1ea)](_0x4306c6),_0x59aaaa=this[_0x26b5ff(0x1ef)](_0x261b19,_0x16c28);return _0x4634a6[_0x26b5ff(0x205)](_0x59aaaa,0x0);}}return null;}[_0x5b12cc(0x1ea)](_0x12b2a4){const _0x357830=_0x5b12cc,_0x857de=this[_0x357830(0x1f1)][_0x357830(0x232)][_0x357830(0x218)](_0x357830(0x1d9)),_0x1bf638=this[_0x357830(0x1f1)][_0x357830(0x1f8)][_0x357830(0x22d)](_0x12b2a4),_0x498dae=Array[_0x357830(0x239)](_0x1bf638[_0x357830(0x21a)]())[_0x357830(0x1dd)](_0xba8293=>_0xba8293['is'](_0x357830(0x23a),_0x357830(0x233)));let _0x483380=0x0;return _0x498dae[_0x357830(0x204)](_0x52aaeb=>{const _0x20c46c=_0x357830;_0x483380+=_0x857de[_0x20c46c(0x1cd)](_0x52aaeb);}),_0x483380;}[_0x5b12cc(0x1ef)](_0x1dbf04,_0x3c4a9d){const _0x1f6060=_0x5b12cc,_0x5c3d6f=this[_0x1f6060(0x1f1)][_0x1f6060(0x232)][_0x1f6060(0x218)](_0x1f6060(0x1d9)),_0x23ce41=_0x5c3d6f[_0x1f6060(0x1e0)](_0x1dbf04),_0x1b85da=_0x5c3d6f[_0x1f6060(0x1f7)](_0x1dbf04),_0x5c7679=_0x23ce41[_0x1f6060(0x22c)]+0x1,_0x1d778b=_0x1b85da[_0x1f6060(0x213)],_0x422108=_0x1dbf04[0x0][_0x1f6060(0x1db)](_0x1f6060(0x233));for(let _0x53c55f=0x0;_0x53c55f<_0x3c4a9d;_0x53c55f++)_0x5c3d6f[_0x1f6060(0x1e1)](_0x422108,{'at':_0x5c7679});return _0x422108[_0x1f6060(0x231)](_0x5c7679)[_0x1f6060(0x231)](_0x1d778b);}[_0x5b12cc(0x225)](_0xd2b678,_0x2793e2){const _0x455842=_0x5b12cc,{plugins:_0x532534}=this[_0x455842(0x1f1)],{model:_0x37196e}=_0xd2b678;if(!_0x532534[_0x455842(0x1fe)](_0x455842(0x1d9)))return;_0x532534[_0x455842(0x218)](_0x455842(0x1d9))[_0x455842(0x1d4)](_0x2793e2)[_0x455842(0x1fb)]&&_0x37196e[_0x455842(0x22e)](_0x2793e2);}}function _0x1f8d(){const _0x7c0049=['markers','_resetContentOfSelectedTableCells','11188160mzivvh','removeMarker','resultRange','end','push','addClass','last','parse','deleteContent','hideFakeVisualSelection','text/html','getChild','plugins','table','config','createSelection','12537idOfyJ','getFirstRange','isPremiumPlugin','from','element','isCollapsed','schema','getRows','once','808oAlgqQ','pop','join','init','createUIElement','getSelectedTableCells','createPositionAfter','span','href','setSelection','TableUtils','insertContentBelow','findAncestor','showFakeVisualSelection','filter','contentInsertion','map','getRowIndexes','insertRows','off','canEditAt','editing','413wiAzvS','pluginName','AIAssistantEditing','_pasteHTMLUsingClipboard','3941334egGRgZ','_getTableRowCountFromContent','markerToHighlight','addMarker','fire','ck-fake-ai-selection_collapsed','_createEmptyTableRows','for','editor','getLastMatchingPosition','getMarkersGroup','markerToElement','selection','getRange','getColumnIndexes','data','isContent','afterInit','length','getSelectedBlocks','document','has','lowest','createRange','166DIDmxN','4664GrkhXM','fromCharCode','forEach','createPositionAt','conversion','5GriOdS','ai.useTheme','start','insertContent','getLastPosition','markerRange','setData','isAtEnd','isOfficialPlugin','editingDowncast','ck-ai-assistant-ui_theme','model','first','7322568OuLiFa','ai-ui','getRanges','change','get','updateMarker','getChildren','_getDefaultInsertBelowPosition','DataTransfer','2771613qByvil','11RSsZOB','ck-fake-ai-selection','_prepareTableInsertBelowPosition','18621sAPMlg','paste','_getAISelection'];_0x1f8d=function(){return _0x7c0049;};return _0x1f8d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x189027=_0x1d8c;(function(_0xe3d6c1,_0x2766be){const _0x5a9a40=_0x1d8c,_0x1c6b40=_0xe3d6c1();while(!![]){try{const _0x4e9b2e=parseInt(_0x5a9a40(0x14b))/0x1*(parseInt(_0x5a9a40(0xf3))/0x2)+-parseInt(_0x5a9a40(0x108))/0x3+-parseInt(_0x5a9a40(0xd5))/0x4*(parseInt(_0x5a9a40(0x10b))/0x5)+parseInt(_0x5a9a40(0x10e))/0x6*(parseInt(_0x5a9a40(0xe6))/0x7)+parseInt(_0x5a9a40(0xfe))/0x8*(parseInt(_0x5a9a40(0x156))/0x9)+-parseInt(_0x5a9a40(0xe3))/0xa+-parseInt(_0x5a9a40(0x149))/0xb*(parseInt(_0x5a9a40(0xe0))/0xc);if(_0x4e9b2e===_0x2766be)break;else _0x1c6b40['push'](_0x1c6b40['shift']());}catch(_0x2fcf96){_0x1c6b40['push'](_0x1c6b40['shift']());}}}(_0x2056,0x4608c));import{Plugin as _0x234567}from'ckeditor5/src/core.js';import{IconMagicWand as _0xe26ff9,IconRobotPencil as _0x3396e9}from'ckeditor5/src/icons.js';import{first as _0x1bcc18,CKEditorError as _0x1d76d8}from'ckeditor5/src/utils.js';import{createDropdown as _0x4f3924,addMenuToDropdown as _0x56f43c,ButtonView as _0x3882f1,MenuBarMenuListItemButtonView as _0x2b9d2f,Dialog as _0x57f545,DialogViewPosition as _0x3a4f79,MenuBarMenuView as _0x23b224,MenuBarMenuListView as _0x5d5373,MenuBarMenuListItemView as _0x50ce4a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4ce7d7,UNGROUPED_COMMANDS_GROUP_ID as _0x4b4f89}from'./utils/normalizecommandsconfig.js';import _0x3ac769 from'./aiassistantediting.js';import _0x5cbb44 from'./adapters/aiadapter.js';import{getTranslation as _0x13952d}from'./utils/common-translations.js';function _0x1d8c(_0x544a7b,_0x4cb928){const _0x2056dc=_0x2056();return _0x1d8c=function(_0x1d8cba,_0x1ee67b){_0x1d8cba=_0x1d8cba-0xbf;let _0x3ac574=_0x2056dc[_0x1d8cba];return _0x3ac574;},_0x1d8c(_0x544a7b,_0x4cb928);}import _0x5d2e7c from'./ui/showaiassistantcommand.js';import _0x36a8bc from'./ui/aiassistantcontroller.js';import _0x9786ff from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5b9cca}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x189027(0x122)];import{ClipboardMarkersUtils as _0x305290}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x26a0df,DataTransfer as _0xb960bd}from'ckeditor5/src/engine.js';export default class n extends _0x234567{[_0x189027(0x117)];[_0x189027(0x10a)];[_0x189027(0x14a)];[_0x189027(0x12a)];[_0x189027(0x121)];[_0x189027(0x107)];[_0x189027(0xea)]='';static get[_0x189027(0xd3)](){const _0x5176ba=_0x189027;return _0x5176ba(0x11d);}static get[_0x189027(0x125)](){return!0x0;}static get[_0x189027(0x14d)](){return!0x0;}static get[_0x189027(0xee)](){return[_0x305290,_0x3ac769,_0x5cbb44,_0x57f545];}constructor(_0x37206b){const _0x35c66b=_0x189027;super(_0x37206b),_0x37206b[_0x35c66b(0xde)][_0x35c66b(0x15e)](_0x35c66b(0x15b),[_0x35c66b(0x16c),_0x35c66b(0x161),_0x35c66b(0xe8)]),_0x37206b[_0x35c66b(0xde)][_0x35c66b(0x15e)](_0x35c66b(0x142),''),_0x37206b[_0x35c66b(0xde)][_0x35c66b(0x15e)](_0x35c66b(0xc8),!0x0),this[_0x35c66b(0xea)]=_0x35c66b(0x15a)+(_0x37206b[_0x35c66b(0xde)][_0x35c66b(0x153)](_0x35c66b(0xc8))?_0x35c66b(0x138):'');}[_0x189027(0x131)](){const _0x2d7fb0=_0x189027,{editor:_0x1ad875}=this;this[_0x2d7fb0(0x121)]=_0x1ad875[_0x2d7fb0(0xec)][_0x2d7fb0(0x153)](_0x5cbb44),this[_0x2d7fb0(0x14a)]=_0x1ad875[_0x2d7fb0(0xec)][_0x2d7fb0(0x153)](_0x57f545),this[_0x2d7fb0(0x12a)]=null,this[_0x2d7fb0(0x144)]=this[_0x2d7fb0(0x16d)]();const _0x3a84d5=new _0x5d2e7c(_0x1ad875,Array[_0x2d7fb0(0x11b)](this[_0x2d7fb0(0x144)][_0x2d7fb0(0x112)]()));_0x1ad875[_0x2d7fb0(0x128)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x137),_0x3a84d5),_0x1ad875['ui'][_0x2d7fb0(0x14c)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x106),_0x3ccce1=>{const _0x3aec66=_0x2d7fb0,_0x23ef65=_0x4f3924(_0x3ccce1);return _0x23ef65[_0x3aec66(0xc7)]({'class':_0x3aec66(0x169)+this[_0x3aec66(0xea)]}),_0x23ef65[_0x3aec66(0x115)][_0x3aec66(0xc7)]({'label':_0x13952d(_0x3ccce1,_0x3aec66(0x12c)),'icon':_0xe26ff9,'tooltip':!0x0}),_0x23ef65['on'](_0x3aec66(0x165),_0x55bbcd=>this[_0x3aec66(0xf2)](_0x55bbcd[_0x3aec66(0x168)]['id'])),_0x56f43c(_0x23ef65,_0x1ad875['ui'][_0x3aec66(0x103)][_0x3aec66(0xcc)],function(_0x4d12ec){const _0xb617a6=_0x3aec66,_0x51a6ff=_0x4ce7d7(_0x4d12ec[_0xb617a6(0xde)][_0xb617a6(0x153)](_0xb617a6(0x16e)),_0x4d12ec[_0xb617a6(0xdf)]),_0x5f5a6c=U(_0x4d12ec,_0x51a6ff)[_0xb617a6(0x109)](_0x35439c=>_0x35439c[_0xb617a6(0x128)][_0xb617a6(0xc6)]);if(0x1===_0x5f5a6c[_0xb617a6(0xc6)])return U(_0x4d12ec,_0x5f5a6c[0x0][_0xb617a6(0x128)])[_0xb617a6(0xdb)](_0x330e29=>({'id':_0x330e29['id'],'label':_0x330e29[_0xb617a6(0x141)]}));return _0x5f5a6c[_0xb617a6(0xdb)](_0x1f9ba4=>{const _0xb301b=_0xb617a6,{groupId:_0x3b4521,groupLabel:_0x1d2ff8,commands:_0x5bddf4}=_0x1f9ba4,_0x6cce60=U(_0x4d12ec,_0x5bddf4)[_0xb301b(0xdb)](_0x523a18=>({'id':_0x523a18['id'],'label':_0x523a18[_0xb301b(0x141)]}));return{'id':_0x3b4521,'menu':_0x1d2ff8||_0x3b4521,'children':_0x6cce60};});}(_0x1ad875),{'ariaLabel':_0x13952d(_0x3ccce1,_0x3aec66(0x12c))}),_0x23ef65[_0x3aec66(0xcf)][_0x3aec66(0xd4)]=_0x3aec66(0x169)+this[_0x3aec66(0xea)],_0x3a84d5['on'](_0x3aec66(0x13f),_0x3164df),_0x23ef65[_0x3aec66(0xcf)][_0x3aec66(0x162)](_0x3aec66(0xf0),_0x3164df),_0x23ef65;function _0x3164df(){const _0x1361f0=_0x3aec66;_0x23ef65[_0x1361f0(0xc9)]=_0x3a84d5[_0x1361f0(0x14f)][_0x1361f0(0xc6)]>0x0;for(const _0xe3ff94 of _0x23ef65[_0x1361f0(0xcf)][_0x1361f0(0x145)])_0xe3ff94[_0x1361f0(0xc9)]=_0x3a84d5[_0x1361f0(0x14f)][_0x1361f0(0x11a)](_0xe3ff94['id']);}}),_0x1ad875['ui'][_0x2d7fb0(0x14c)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x12f),_0x395dfc=>{const _0x43538d=_0x2d7fb0,_0x4b37c7=new _0x23b224(_0x395dfc);_0x4b37c7[_0x43538d(0x115)][_0x43538d(0xc7)]({'label':_0x13952d(_0x395dfc,_0x43538d(0x12c)),'icon':_0xe26ff9}),_0x4b37c7[_0x43538d(0x139)](_0x43538d(0xc9))['to'](_0x3a84d5,_0x43538d(0x14f),_0x52fb5c=>_0x52fb5c[_0x43538d(0xc6)]>0x0);const _0x44bbc0=_0x4ce7d7(_0x1ad875[_0x43538d(0xde)][_0x43538d(0x153)](_0x43538d(0x16e)),_0x395dfc);return this[_0x43538d(0x118)](_0x3a84d5,_0x4b37c7,_0x44bbc0,_0x52ca47=>this[_0x43538d(0xf2)](_0x52ca47)),_0x4b37c7;}),_0x1ad875['ui'][_0x2d7fb0(0x14c)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x16a),()=>{const _0x30a2f9=_0x2d7fb0,_0x2a7fb7=this[_0x30a2f9(0x11e)](_0x3882f1);return _0x2a7fb7[_0x30a2f9(0xc7)]({'tooltip':!0x0,'class':_0x30a2f9(0x158)+this[_0x30a2f9(0xea)]}),_0x2a7fb7;}),_0x1ad875['ui'][_0x2d7fb0(0x14c)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x113),()=>{const _0x3b7810=_0x2d7fb0,_0x26ca69=this[_0x3b7810(0x11e)](_0x2b9d2f);return _0x26ca69[_0x3b7810(0xc7)]({'role':_0x3b7810(0x102)}),_0x26ca69;}),this[_0x2d7fb0(0x117)]=this[_0x2d7fb0(0x16b)][_0x2d7fb0(0xde)][_0x2d7fb0(0x153)](_0x2d7fb0(0x117));const _0x3a4107=this[_0x2d7fb0(0x16b)];this[_0x2d7fb0(0x10a)]=setInterval(()=>{const _0x2feb4b=_0x2d7fb0;let _0x2098d5;for(const _0x446cbc in _0x3a4107){const _0x517cee=_0x446cbc,_0xf11724=_0x3a4107[_0x517cee];if(_0x2feb4b(0x134)==_0xf11724||_0x2feb4b(0xdd)==_0xf11724||_0x2feb4b(0xd9)==_0xf11724||_0x2feb4b(0xcb)==_0xf11724||_0x2feb4b(0x116)==_0xf11724||_0x2feb4b(0x11f)==_0xf11724||_0x2feb4b(0xcd)==_0xf11724||_0x2feb4b(0xf5)==_0xf11724){delete _0x3a4107[_0x517cee],_0x2098d5=_0xf11724,clearInterval(this[_0x2feb4b(0x10a)]),this[_0x2feb4b(0x10a)]=void 0x0;break;}}_0x2feb4b(0xdd)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0x152)),_0x2feb4b(0xd9)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0x12b)),_0x2feb4b(0xcb)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0xd7)),_0x2feb4b(0x116)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0xe4),_0x2feb4b(0x16f)),_0x2feb4b(0x11f)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0xed)),_0x2feb4b(0xcd)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0x11c)),_0x2feb4b(0xf5)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0x133));},0x3e8);}[_0x189027(0xeb)](){const _0x9d1913=_0x189027;super[_0x9d1913(0xeb)](),this[_0x9d1913(0x10a)]&&clearInterval(this[_0x9d1913(0x10a)]);}[_0x189027(0xc0)](_0x482bbc='',_0x4dd66b='',_0x2d5f15=_0x189027(0xda)){const _0x2c7945=_0x189027,_0x2303e1=this[_0x2c7945(0x16b)],_0xa63053=_0x2303e1[_0x2c7945(0x127)][_0x2c7945(0x103)],_0x264771=_0x2303e1[_0x2c7945(0xec)][_0x2c7945(0x153)](_0x3ac769),_0x3b6d51=_0x2303e1[_0x2c7945(0xec)][_0x2c7945(0x153)](_0x305290);_0x264771[_0x2c7945(0xc3)]();const _0x4dffe9=new w(),_0x20e0d3=new ClipboardEvent(_0x2c7945(0x10f),{'clipboardData':_0x4dffe9}),_0x9aeda9=new _0xb960bd(_0x4dffe9),_0x4b22b1=new _0x26a0df(_0xa63053,_0x20e0d3,{'dataTransfer':_0x9aeda9});_0x3b6d51[_0x2c7945(0x15f)](_0x2c7945(0xc5),()=>{const _0x3107ec=_0x2c7945;_0xa63053[_0x3107ec(0x15c)][_0x3107ec(0x147)](_0x3107ec(0x10f),_0x4b22b1);}),this[_0x2c7945(0x12a)]||(this[_0x2c7945(0x160)](),this[_0x2c7945(0x107)]=new _0x36a8bc(_0x2303e1,this[_0x2c7945(0x121)][_0x2c7945(0xc1)],this[_0x2c7945(0x12a)]));let _0x14bd92=_0x9aeda9[_0x2c7945(0x151)](_0x2c7945(0x148));const _0xacb553=_0x2303e1[_0x2c7945(0xf4)][_0x2c7945(0x15c)][_0x2c7945(0xf7)],_0x5e53c8=Array[_0x2c7945(0x11b)](_0xacb553[_0x2c7945(0x100)]());0x1===_0x5e53c8[_0x2c7945(0xc6)]&&_0x5e53c8[0x0][_0x2c7945(0x120)]&&!_0xacb553[_0x2c7945(0xe1)]()&&''!==_0x14bd92[_0x2c7945(0x13a)](/&nbsp;/g,'')[_0x2c7945(0xfa)]()&&(_0x14bd92=_0x2c7945(0xca)+_0x14bd92+_0x2c7945(0xf1)),this[_0x2c7945(0x107)][_0x2c7945(0xf9)]({'actionId':_0x2d5f15,'query':_0x482bbc,'htmlContent':_0x14bd92,'label':_0x4dd66b,'mainActionLabel':_0x5b9cca[_0x2303e1[_0x2c7945(0xf4)][_0x2c7945(0x15c)][_0x2c7945(0xf7)][_0x2c7945(0x123)]?_0x2c7945(0x119):_0x2c7945(0xdc)]}),_0x2c7945(0x16a)!==this[_0x2c7945(0x14a)]['id']?this[_0x2c7945(0x14a)][_0x2c7945(0xe9)]({'id':_0x2c7945(0x16a),'icon':_0x3396e9,'title':_0x13952d(this[_0x2c7945(0x16b)][_0x2c7945(0xdf)],_0x2c7945(0x13e)),'content':this[_0x2c7945(0x12a)],'position':_0x3a4f79[_0x2c7945(0xd2)],'onShow':()=>{const _0x503e8f=_0x2c7945;this[_0x503e8f(0x12a)][_0x503e8f(0x150)]();},'onHide':()=>{const _0x517d91=_0x2c7945;this[_0x517d91(0x107)][_0x517d91(0x12e)](),_0x264771[_0x517d91(0x13c)]();}}):this[_0x2c7945(0x14a)][_0x2c7945(0x103)][_0x2c7945(0xbf)]||this[_0x2c7945(0x14a)][_0x2c7945(0x103)][_0x2c7945(0x110)]();}[_0x189027(0x154)](){const _0x4bba96=_0x189027;this[_0x4bba96(0x14a)][_0x4bba96(0x132)]();}[_0x189027(0x16d)](){const _0x247e99=_0x189027,_0x46f779=new Map(),_0x1ab9a8=_0x4ce7d7(this[_0x247e99(0x16b)][_0x247e99(0xde)][_0x247e99(0x153)](_0x247e99(0x16e)),this[_0x247e99(0x16b)][_0x247e99(0xdf)]);for(const _0x124703 of _0x1ab9a8)for(const _0x4fd01c of _0x124703[_0x247e99(0x128)])_0x46f779[_0x247e99(0xc7)](_0x4fd01c['id'],{..._0x4fd01c,'groupId':_0x124703[_0x247e99(0x164)],'groupLabel':_0x124703[_0x247e99(0xd8)]||_0x124703[_0x247e99(0x164)]});return _0x46f779;}[_0x189027(0x11e)](_0x2500bf){const _0x28f112=_0x189027,_0x3f4977=this[_0x28f112(0x16b)],_0x21f50e=_0x3f4977[_0x28f112(0x128)][_0x28f112(0x153)](_0x28f112(0x137)),_0x2103fd=new _0x2500bf(_0x3f4977[_0x28f112(0xdf)]);return _0x2103fd[_0x28f112(0xc7)]({'label':_0x13952d(_0x3f4977[_0x28f112(0xdf)],_0x28f112(0x13e)),'icon':_0x3396e9,'isToggleable':!0x0}),_0x2103fd[_0x28f112(0x139)](_0x28f112(0xc9))['to'](_0x21f50e),_0x2103fd[_0x28f112(0x139)](_0x28f112(0x155))['to'](this[_0x28f112(0x14a)],'id',_0x4b5952=>_0x28f112(0x16a)===_0x4b5952),this[_0x28f112(0xfb)](_0x2103fd,_0x28f112(0x165),()=>{const _0x1ac78c=_0x28f112;_0x2103fd[_0x1ac78c(0x155)]?this[_0x1ac78c(0x154)]():_0x21f50e[_0x1ac78c(0x165)]();}),_0x2103fd;}[_0x189027(0x160)](){const _0xbed5a8=_0x189027,_0x401079=this[_0xbed5a8(0x16b)][_0xbed5a8(0xec)][_0xbed5a8(0x153)](_0x3ac769);this[_0xbed5a8(0x12a)]=new _0x9786ff(this[_0xbed5a8(0x16b)][_0xbed5a8(0xdf)],this[_0xbed5a8(0xea)],this[_0xbed5a8(0x16b)][_0xbed5a8(0xde)][_0xbed5a8(0x153)](_0xbed5a8(0x142))),this[_0xbed5a8(0x12a)]['on'](_0xbed5a8(0x157),()=>{const _0x271c29=_0xbed5a8;this[_0x271c29(0x14a)][_0x271c29(0x103)][_0x271c29(0xbf)]||this[_0x271c29(0x14a)][_0x271c29(0x103)][_0x271c29(0x110)]();}),this[_0xbed5a8(0x12a)][_0xbed5a8(0x146)][_0xbed5a8(0x129)][_0xbed5a8(0x159)]['on'](_0xbed5a8(0xf6),()=>{const _0x25b677=_0xbed5a8;this[_0x25b677(0x14a)][_0x25b677(0x103)][_0x25b677(0xbf)]||this[_0x25b677(0x14a)][_0x25b677(0x103)][_0x25b677(0x110)]();}),this[_0xbed5a8(0xfb)](this[_0xbed5a8(0x12a)],_0xbed5a8(0x101),()=>{const _0x4563c0=_0xbed5a8;_0x401079[_0x4563c0(0xc4)](this[_0x4563c0(0x107)][_0x4563c0(0x12d)]),this[_0x4563c0(0x154)]();}),this[_0xbed5a8(0xfb)](this[_0xbed5a8(0x12a)],_0xbed5a8(0x130),()=>{const _0x27d87e=_0xbed5a8;_0x401079[_0x27d87e(0x130)](this[_0x27d87e(0x107)][_0x27d87e(0x12d)]),this[_0x27d87e(0x154)]();}),this[_0xbed5a8(0xc2)]();}[_0x189027(0xc2)](){const _0x320b63=_0x189027,{locale:_0x2b8402,ui:{ariaLiveAnnouncer:_0x3adcd7}}=this[_0x320b63(0x16b)];this[_0x320b63(0x12a)][_0x320b63(0x167)]['on'](_0x320b63(0x163),(_0x50516c,_0x27bfc2,_0x445612)=>{const _0x50be17=_0x320b63,_0x25b73f=this[_0x50be17(0x107)][_0x50be17(0x12d)];_0x445612?_0x3adcd7[_0x50be17(0x105)](_0x13952d(_0x2b8402,_0x50be17(0x111))):_0x25b73f&&_0x3adcd7[_0x50be17(0x105)](_0x13952d(_0x2b8402,_0x50be17(0x140),_0x25b73f),{'politeness':_0x50be17(0x10c),'isUnsafeHTML':!0x0});}),this[_0x320b63(0x12a)]['on'](_0x320b63(0x135),(_0x342b6f,_0x12741f,_0x29d6ea)=>{const _0x575d32=_0x320b63;if(_0x29d6ea){const _0x266ea7=this[_0x575d32(0x12a)][_0x575d32(0xd1)][_0x575d32(0x126)];_0x3adcd7[_0x575d32(0x105)](_0x13952d(_0x2b8402,_0x575d32(0xce),_0x266ea7));}});}[_0x189027(0xf2)](_0x1a3368){const _0x3efdf0=_0x189027,_0x1b5323=this[_0x3efdf0(0x144)][_0x3efdf0(0x153)](_0x1a3368),_0x40dadc=this[_0x3efdf0(0x16b)],_0x25885f=_0x40dadc[_0x3efdf0(0xf4)][_0x3efdf0(0x15c)][_0x3efdf0(0xf7)],_0x41d4e2=_0x40dadc[_0x3efdf0(0x128)][_0x3efdf0(0x153)](_0x3efdf0(0x137)),_0x79852d=_0x40dadc[_0x3efdf0(0xec)][_0x3efdf0(0x153)](_0x3ac769),_0x2c2372=''+(_0x1b5323[_0x3efdf0(0x164)]!==_0x4b4f89?_0x1b5323[_0x3efdf0(0xd8)]+':\x20':'')+_0x1b5323[_0x3efdf0(0x141)];if(!0x1!==_0x1b5323[_0x3efdf0(0x124)]&&_0x25885f[_0x3efdf0(0x123)]){const _0x4ae21c=_0x1bcc18(_0x25885f[_0x3efdf0(0xff)]())||_0x40dadc[_0x3efdf0(0xf4)][_0x3efdf0(0x14e)][_0x3efdf0(0xd6)](_0x25885f);_0x40dadc[_0x3efdf0(0xf4)][_0x3efdf0(0x104)](_0x562aac=>{const _0x9525a3=_0x3efdf0;_0x562aac[_0x9525a3(0x13d)](_0x4ae21c,'in');});}_0x79852d[_0x3efdf0(0xc3)](),_0x41d4e2[_0x3efdf0(0x165)](_0x1b5323[_0x3efdf0(0x10d)],_0x2c2372,_0x3efdf0(0xf8)+_0x1a3368);}[_0x189027(0x118)](_0x296633,_0xefbe7b,_0x2ea07d,_0x5e7499){const _0x3421dd=_0x189027,_0x3ee409=this[_0x3421dd(0x16b)],_0x330cd3=_0x3ee409[_0x3421dd(0xdf)],_0x43fca4=new _0x5d5373(_0x330cd3),_0x2af9a0=U(_0x3ee409,_0x2ea07d)[_0x3421dd(0x109)](_0x3be645=>_0x3be645[_0x3421dd(0x128)][_0x3421dd(0xc6)]);0x1===_0x2af9a0[_0x3421dd(0xc6)]?this[_0x3421dd(0xe7)]({'command':_0x296633,'commands':_0x2af9a0[0x0][_0x3421dd(0x128)],'parentMenuView':_0xefbe7b,'onExecute':_0x5e7499})[_0x3421dd(0x166)](_0x27d8c3=>_0x43fca4[_0x3421dd(0x13b)][_0x3421dd(0x15d)](_0x27d8c3)):_0x2af9a0[_0x3421dd(0x166)](({groupId:_0x294ff4,groupLabel:_0x1bda02,commands:_0x3e48ea})=>{const _0x404c3c=_0x3421dd,_0x4497cf=new _0x50ce4a(_0x330cd3,_0xefbe7b),_0x1a5eb4=new _0x23b224(_0x330cd3),_0x519a0f=new _0x5d5373(_0x330cd3),_0x1137f2=this[_0x404c3c(0xe7)]({'command':_0x296633,'commands':_0x3e48ea,'parentMenuView':_0x1a5eb4,'onExecute':_0x5e7499});_0x1a5eb4[_0x404c3c(0x115)][_0x404c3c(0xc7)]({'label':_0x1bda02||_0x294ff4}),_0x1a5eb4[_0x404c3c(0xd0)](_0x404c3c(0x165))['to'](_0xefbe7b),_0x519a0f[_0x404c3c(0x13b)][_0x404c3c(0x114)](_0x1137f2),_0x1a5eb4[_0x404c3c(0xe2)][_0x404c3c(0xfc)][_0x404c3c(0x15d)](_0x519a0f),_0x4497cf[_0x404c3c(0xfc)][_0x404c3c(0x15d)](_0x1a5eb4),_0x43fca4[_0x404c3c(0x13b)][_0x404c3c(0x15d)](_0x4497cf);}),_0xefbe7b[_0x3421dd(0xe2)][_0x3421dd(0xfc)][_0x3421dd(0x15d)](_0x43fca4);}[_0x189027(0xe7)]({command:_0x48e0bb,commands:_0x1318e6,parentMenuView:_0x4a3164,onExecute:_0x4e5cb2}){const _0x3eec87=_0x189027,_0xc5b007=this[_0x3eec87(0x16b)],_0x10b24d=_0xc5b007[_0x3eec87(0xdf)];return U(_0xc5b007,_0x1318e6)[_0x3eec87(0xdb)](_0x4fbb9b=>{const _0x293a25=_0x3eec87,_0x569818=new _0x50ce4a(_0x10b24d,_0x4a3164),_0x58e5cb=new _0x2b9d2f(_0x10b24d);return _0x58e5cb[_0x293a25(0xc7)]({'label':_0x4fbb9b[_0x293a25(0x141)]}),_0x58e5cb[_0x293a25(0xd0)](_0x293a25(0x165))['to'](_0x4a3164),_0x58e5cb['on'](_0x293a25(0x165),()=>_0x4e5cb2(_0x4fbb9b['id'])),_0x58e5cb[_0x293a25(0x139)](_0x293a25(0xc9))['to'](_0x48e0bb,_0x293a25(0x14f),_0x5247ef=>_0x5247ef[_0x293a25(0x11a)](_0x4fbb9b['id'])),_0x569818[_0x293a25(0xfc)][_0x293a25(0x15d)](_0x58e5cb),_0x569818;});}}function B(_0x41fc5f,_0x5baf24){const _0x42a81e=_0x189027;return void 0x0!==_0x41fc5f[_0x42a81e(0xfd)]&&void 0x0===_0x5baf24[_0x42a81e(0xfd)]?0x1:void 0x0===_0x41fc5f[_0x42a81e(0xfd)]&&void 0x0!==_0x5baf24[_0x42a81e(0xfd)]?-0x1:void 0x0!==_0x41fc5f[_0x42a81e(0xfd)]&&void 0x0!==_0x5baf24[_0x42a81e(0xfd)]?_0x41fc5f[_0x42a81e(0xfd)]-_0x5baf24[_0x42a81e(0xfd)]:0x0;}function _0x2056(){const _0xa6e2b1=['669440NSTOxO','featureNotAllowed','splice','5222CVTDZT','_getMenuBarGroupButtons','tableOfContents','show','_uiCssClasses','destroy','plugins','evaluationLimit','requires','push','render','</p>','_onExecute','3196yUDQKA','model','aiLicenseKeyUsageLimit','update','selection','command:','updateView','trim','listenTo','children','order','2344CMcYNd','getSelectedBlocks','getRanges','replaceContent','menuitemcheckbox','view','change','announce','aiCommands','_aiAssistantController','379491lsZlyS','filter','_licenseKeyCheckInterval','65sGflKb','polite','prompt','4200jlaaSL','copy','updatePosition','AI\x20is\x20writing','values','menuBar:aiAssistant','addMany','buttonView','aiLicenseKeyNotAllowed','licenseKey','_populateMenuBarMenu','INSERT','includes','from','trialLimit','AIAssistantUI','_createAIAssistantUIButton','aiLicenseKeyEvaluationLimit','isFlat','_aiAdapter','DataTransfer','isCollapsed','requiresContent','isOfficialPlugin','text','editing','commands','queryView','_formView','expired','AI\x20Commands','currentContext','reset','menuBar:aiCommands','insertContentBelow','init','hide','usageLimit','aiLicenseKeyValid','change:isError','_showLicenseError','showAIAssistant','\x20ck-ai-assistant-ui_theme','bind','replace','items','hideFakeVisualSelection','setSelection','AI\x20Assistant','change:enabledCommandsIds','Generated\x20content:\x20%0','label','ai.aiAssistant.contentAreaCssClass','sort','_commandDefinitions','buttons','promptView','fire','text/html','121akbSvt','_dialog','303NGVQEA','componentFactory','isPremiumPlugin','schema','enabledCommandsIds','focus','getData','invalid','get','hideUI','isOn','4626EtJGwA','change:value','ck-ai-assistant-button\x20','fieldView','ck-ai-assistant-ui','ai.aiAssistant.disabledElements','document','add','define','_forceMarkersCopy','_initView','rawHtml','once','change:isProcessing','groupId','execute','forEach','contentArea','source','ck-ai-commands-dropdown\x20','aiAssistant','editor','media','_getResolvedCommandsDefinitions','ai.aiAssistant.commands','AIAssistant','ai-commands-config-order-collision','wasMoved','showUI','textAdapter','_initAriaAiStatusChangeAnnouncements','showFakeVisualSelection','insertContent','comment','length','set','ai.useTheme','isEnabled','<p>','aiLicenseKeyDomainLimit','body','aiLicenseKeyTrialLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuView','delegate','errorView','EDITOR_TOP_SIDE','pluginName','menuPanelClass','69888vBlPRj','getLimitElement','domainLimit','groupLabel','aiLicenseKeyExpired','custom','map','REPLACE','aiLicenseKeyInvalid','config','locale','490428sZMKFx','getSelectedElement','panelView'];_0x2056=function(){return _0xa6e2b1;};return _0x2056();}function U(_0x2612ac,_0x12f6d4){const _0x2cd587=_0x189027;_0x12f6d4[_0x2cd587(0x143)](B);const _0x8b9888={},_0xce3b38=[];for(const _0x3a02bb of _0x12f6d4)if(void 0x0!==_0x3a02bb[_0x2cd587(0xfd)]){if(_0x3a02bb[_0x2cd587(0xfd)]in _0x8b9888)throw new _0x1d76d8(_0x2cd587(0x170),_0x2612ac,{'conflictingDefinitions':[_0x3a02bb,_0x8b9888[_0x3a02bb[_0x2cd587(0xfd)]]]});_0x8b9888[_0x3a02bb[_0x2cd587(0xfd)]]=_0x3a02bb,_0xce3b38[_0x2cd587(0xe5)](_0x3a02bb[_0x2cd587(0xfd)],0x0,_0x3a02bb);}else _0xce3b38[_0x2cd587(0xef)](_0x3a02bb);return _0xce3b38;}
23
+ const _0x34378a=_0x1f5d;(function(_0x4d2a93,_0x35f164){const _0x5cc61b=_0x1f5d,_0x256e04=_0x4d2a93();while(!![]){try{const _0x253bdf=parseInt(_0x5cc61b(0x1ef))/0x1+parseInt(_0x5cc61b(0x1eb))/0x2*(parseInt(_0x5cc61b(0x195))/0x3)+-parseInt(_0x5cc61b(0x1e4))/0x4+-parseInt(_0x5cc61b(0x1bf))/0x5*(parseInt(_0x5cc61b(0x1b1))/0x6)+parseInt(_0x5cc61b(0x1d1))/0x7+parseInt(_0x5cc61b(0x1b5))/0x8+-parseInt(_0x5cc61b(0x17b))/0x9;if(_0x253bdf===_0x35f164)break;else _0x256e04['push'](_0x256e04['shift']());}catch(_0x28a4d6){_0x256e04['push'](_0x256e04['shift']());}}}(_0x33b8,0x4589e));function _0x33b8(){const _0x682084=['push','editing','menuView','ck-ai-commands-dropdown\x20','children','isEnabled','enabledCommandsIds','757965VsEOHj','requires','groupLabel','isFlat','forEach','buttons','media','splice','Generated\x20content:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0','length','_aiAdapter','updatePosition','from','insertContentBelow','plugins','ai.aiAssistant.contentAreaCssClass','body','1542541sjLjSQ','execute','ai.aiAssistant.disabledElements','init','_createAIAssistantUIButton','isCollapsed','editor','_aiAssistantController','setSelection','EDITOR_TOP_SIDE','schema','promptView','insertContent','isPremiumPlugin','showFakeVisualSelection','<p>','evaluationLimit','hide','groupId','1484460IOBMdj','_forceMarkersCopy','domainLimit','once','custom','fire','textAdapter','16532rFrQnP','selection','copy','trialLimit','566731zBgAVk','_getMenuBarGroupButtons','AI\x20is\x20writing','reset','hideFakeVisualSelection','menuBar:aiCommands','view','getRanges','map','showUI','model','change','aiLicenseKeyExpired','set','getSelectedBlocks','_onExecute','ai.aiAssistant.commands','licenseKey','updateView','aiLicenseKeyNotAllowed','wasMoved','delegate','trim','</p>','_formView','focus','getData','queryView','text','\x20ck-ai-assistant-ui_theme','currentContext','getSelectedElement','getLimitElement','pluginName','get','_commandDefinitions','aiLicenseKeyDomainLimit','ck-ai-assistant-ui','aiAssistant','change:isProcessing','_showLicenseError','aiLicenseKeyInvalid','expired','label','hideUI','fieldView','config','change:value','announce','values','isOn','includes','comment','_dialog','aiCommands','ai-commands-config-order-collision','_initAriaAiStatusChangeAnnouncements','prompt','featureNotAllowed','7076430DLbdSa','menuBar:aiAssistant','aiLicenseKeyUsageLimit','polite','sort','document','aiLicenseKeyValid','rawHtml','ck-ai-assistant-button\x20','items','update','AI\x20Assistant','usageLimit','isOfficialPlugin','change:enabledCommandsIds','source','replace','buttonView','INSERT','showAIAssistant','invalid','AIAssistant','show','tableOfContents','DataTransfer','ai.useTheme','87BNbsyZ','text/html','menuPanelClass','commands','_initView','menuitemcheckbox','aiLicenseKeyEvaluationLimit','AI\x20Commands','panelView','locale','change:isError','bind','componentFactory','errorView','command:','add','requiresContent','filter','contentArea','listenTo','destroy','_getResolvedCommandsDefinitions','aiLicenseKeyTrialLimit','_uiCssClasses','render','define','order','REPLACE','6pYOjXt','addMany','replaceContent','_licenseKeyCheckInterval','4536000CnntZX','AIAssistantUI','_populateMenuBarMenu'];_0x33b8=function(){return _0x682084;};return _0x33b8();}import{Plugin as _0x5a8a5a}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1436dc,IconRobotPencil as _0xcefc3f}from'ckeditor5/src/icons.js';import{first as _0x2521dd,CKEditorError as _0x34fc8f}from'ckeditor5/src/utils.js';function _0x1f5d(_0x8b100c,_0x3cfee6){const _0x33b8c4=_0x33b8();return _0x1f5d=function(_0x1f5df3,_0x366e4a){_0x1f5df3=_0x1f5df3-0x150;let _0x3449e9=_0x33b8c4[_0x1f5df3];return _0x3449e9;},_0x1f5d(_0x8b100c,_0x3cfee6);}import{createDropdown as _0x176a46,addMenuToDropdown as _0x2a9639,ButtonView as _0x32b081,MenuBarMenuListItemButtonView as _0x4467cc,Dialog as _0x56a772,DialogViewPosition as _0x155456,MenuBarMenuView as _0x4243f2,MenuBarMenuListView as _0x195b86,MenuBarMenuListItemView as _0x519701}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x472c39,UNGROUPED_COMMANDS_GROUP_ID as _0x2537b3}from'./utils/normalizecommandsconfig.js';import _0x34f569 from'./aiassistantediting.js';import _0x1ab728 from'./adapters/aiadapter.js';import{getTranslation as _0x2d498e}from'./utils/common-translations.js';import _0x4877cd from'./ui/showaiassistantcommand.js';import _0x511c5a from'./ui/aiassistantcontroller.js';import _0x2274ee from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3a201b}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x34378a(0x193)];import{ClipboardMarkersUtils as _0x2da640}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5d1692,DataTransfer as _0x5a0677}from'ckeditor5/src/engine.js';export default class n extends _0x5a8a5a{[_0x34378a(0x151)];[_0x34378a(0x1b4)];[_0x34378a(0x175)];[_0x34378a(0x158)];[_0x34378a(0x1ca)];[_0x34378a(0x1d8)];[_0x34378a(0x1ac)]='';static get[_0x34378a(0x161)](){const _0x15fec6=_0x34378a;return _0x15fec6(0x1b6);}static get[_0x34378a(0x188)](){return!0x0;}static get[_0x34378a(0x1de)](){return!0x0;}static get[_0x34378a(0x1c0)](){return[_0x2da640,_0x34f569,_0x1ab728,_0x56a772];}constructor(_0x4748c){const _0x46b7c7=_0x34378a;super(_0x4748c),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x1d3),[_0x46b7c7(0x1c5),_0x46b7c7(0x182),_0x46b7c7(0x192)]),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x1cf),''),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x194),!0x0),this[_0x46b7c7(0x1ac)]=_0x46b7c7(0x165)+(_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x162)](_0x46b7c7(0x194))?_0x46b7c7(0x15d):'');}[_0x34378a(0x1d4)](){const _0x20195b=_0x34378a,{editor:_0x6c6c78}=this;this[_0x20195b(0x1ca)]=_0x6c6c78[_0x20195b(0x1ce)][_0x20195b(0x162)](_0x1ab728),this[_0x20195b(0x175)]=_0x6c6c78[_0x20195b(0x1ce)][_0x20195b(0x162)](_0x56a772),this[_0x20195b(0x158)]=null,this[_0x20195b(0x163)]=this[_0x20195b(0x1aa)]();const _0x3e1fc0=new _0x4877cd(_0x6c6c78,Array[_0x20195b(0x1cc)](this[_0x20195b(0x163)][_0x20195b(0x171)]()));_0x6c6c78[_0x20195b(0x198)][_0x20195b(0x1a4)](_0x20195b(0x18e),_0x3e1fc0),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x176),_0x54f207=>{const _0x10a0bc=_0x20195b,_0x24691c=_0x176a46(_0x54f207);return _0x24691c[_0x10a0bc(0x1fc)]({'class':_0x10a0bc(0x1bb)+this[_0x10a0bc(0x1ac)]}),_0x24691c[_0x10a0bc(0x18c)][_0x10a0bc(0x1fc)]({'label':_0x2d498e(_0x54f207,_0x10a0bc(0x19c)),'icon':_0x1436dc,'tooltip':!0x0}),_0x24691c['on'](_0x10a0bc(0x1d2),_0x494e38=>this[_0x10a0bc(0x1fe)](_0x494e38[_0x10a0bc(0x18a)]['id'])),_0x2a9639(_0x24691c,_0x6c6c78['ui'][_0x10a0bc(0x1f5)][_0x10a0bc(0x1d0)],function(_0x50e0e4){const _0x1ebc66=_0x10a0bc,_0x2e8436=_0x472c39(_0x50e0e4[_0x1ebc66(0x16e)][_0x1ebc66(0x162)](_0x1ebc66(0x150)),_0x50e0e4[_0x1ebc66(0x19e)]),_0x56839d=U(_0x50e0e4,_0x2e8436)[_0x1ebc66(0x1a6)](_0x31d80e=>_0x31d80e[_0x1ebc66(0x198)][_0x1ebc66(0x1c9)]);if(0x1===_0x56839d[_0x1ebc66(0x1c9)])return U(_0x50e0e4,_0x56839d[0x0][_0x1ebc66(0x198)])[_0x1ebc66(0x1f7)](_0xbef5bf=>({'id':_0xbef5bf['id'],'label':_0xbef5bf[_0x1ebc66(0x16b)]}));return _0x56839d[_0x1ebc66(0x1f7)](_0x3fd64d=>{const _0x4b26a8=_0x1ebc66,{groupId:_0x23740e,groupLabel:_0x1845dc,commands:_0x454db8}=_0x3fd64d,_0x1bad39=U(_0x50e0e4,_0x454db8)[_0x4b26a8(0x1f7)](_0x3b6dca=>({'id':_0x3b6dca['id'],'label':_0x3b6dca[_0x4b26a8(0x16b)]}));return{'id':_0x23740e,'menu':_0x1845dc||_0x23740e,'children':_0x1bad39};});}(_0x6c6c78),{'ariaLabel':_0x2d498e(_0x54f207,_0x10a0bc(0x19c))}),_0x24691c[_0x10a0bc(0x1ba)][_0x10a0bc(0x197)]=_0x10a0bc(0x1bb)+this[_0x10a0bc(0x1ac)],_0x3e1fc0['on'](_0x10a0bc(0x189),_0x4c130a),_0x24691c[_0x10a0bc(0x1ba)][_0x10a0bc(0x1e7)](_0x10a0bc(0x1ad),_0x4c130a),_0x24691c;function _0x4c130a(){const _0x4f70e2=_0x10a0bc;_0x24691c[_0x4f70e2(0x1bd)]=_0x3e1fc0[_0x4f70e2(0x1be)][_0x4f70e2(0x1c9)]>0x0;for(const _0x579eba of _0x24691c[_0x4f70e2(0x1ba)][_0x4f70e2(0x1c4)])_0x579eba[_0x4f70e2(0x1bd)]=_0x3e1fc0[_0x4f70e2(0x1be)][_0x4f70e2(0x173)](_0x579eba['id']);}}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x1f4),_0x512d30=>{const _0x38add6=_0x20195b,_0x37058e=new _0x4243f2(_0x512d30);_0x37058e[_0x38add6(0x18c)][_0x38add6(0x1fc)]({'label':_0x2d498e(_0x512d30,_0x38add6(0x19c)),'icon':_0x1436dc}),_0x37058e[_0x38add6(0x1a0)](_0x38add6(0x1bd))['to'](_0x3e1fc0,_0x38add6(0x1be),_0x179678=>_0x179678[_0x38add6(0x1c9)]>0x0);const _0x9c5310=_0x472c39(_0x6c6c78[_0x38add6(0x16e)][_0x38add6(0x162)](_0x38add6(0x150)),_0x512d30);return this[_0x38add6(0x1b7)](_0x3e1fc0,_0x37058e,_0x9c5310,_0x6cf97f=>this[_0x38add6(0x1fe)](_0x6cf97f)),_0x37058e;}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x166),()=>{const _0x3ca692=_0x20195b,_0x2a5f62=this[_0x3ca692(0x1d5)](_0x32b081);return _0x2a5f62[_0x3ca692(0x1fc)]({'tooltip':!0x0,'class':_0x3ca692(0x183)+this[_0x3ca692(0x1ac)]}),_0x2a5f62;}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x17c),()=>{const _0x71a19b=_0x20195b,_0xe25846=this[_0x71a19b(0x1d5)](_0x4467cc);return _0xe25846[_0x71a19b(0x1fc)]({'role':_0x71a19b(0x19a)}),_0xe25846;}),this[_0x20195b(0x151)]=this[_0x20195b(0x1d7)][_0x20195b(0x16e)][_0x20195b(0x162)](_0x20195b(0x151));const _0x336caa=this[_0x20195b(0x1d7)];this[_0x20195b(0x1b4)]=setInterval(()=>{const _0x11f39c=_0x20195b;let _0x2b3512;for(const _0x33d51f in _0x336caa){const _0x59e274=_0x33d51f,_0x23a899=_0x336caa[_0x59e274];if(_0x11f39c(0x181)==_0x23a899||_0x11f39c(0x169)==_0x23a899||_0x11f39c(0x1fb)==_0x23a899||_0x11f39c(0x164)==_0x23a899||_0x11f39c(0x153)==_0x23a899||_0x11f39c(0x19b)==_0x23a899||_0x11f39c(0x1ab)==_0x23a899||_0x11f39c(0x17d)==_0x23a899){delete _0x336caa[_0x59e274],_0x2b3512=_0x23a899,clearInterval(this[_0x11f39c(0x1b4)]),this[_0x11f39c(0x1b4)]=void 0x0;break;}}_0x11f39c(0x169)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x18f)),_0x11f39c(0x1fb)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x16a)),_0x11f39c(0x164)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1e6)),_0x11f39c(0x153)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x17a),_0x11f39c(0x190)),_0x11f39c(0x19b)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1e1)),_0x11f39c(0x1ab)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1ee)),_0x11f39c(0x17d)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x187));},0x3e8);}[_0x34378a(0x1a9)](){const _0xaa237=_0x34378a;super[_0xaa237(0x1a9)](),this[_0xaa237(0x1b4)]&&clearInterval(this[_0xaa237(0x1b4)]);}[_0x34378a(0x1f8)](_0x18be5b='',_0x20c347='',_0x32b91a=_0x34378a(0x1e8)){const _0x13d497=_0x34378a,_0x3f54e1=this[_0x13d497(0x1d7)],_0x3db660=_0x3f54e1[_0x13d497(0x1b9)][_0x13d497(0x1f5)],_0x5b8470=_0x3f54e1[_0x13d497(0x1ce)][_0x13d497(0x162)](_0x34f569),_0x522e33=_0x3f54e1[_0x13d497(0x1ce)][_0x13d497(0x162)](_0x2da640);_0x5b8470[_0x13d497(0x1df)]();const _0x52ea3a=new w(),_0x31eba0=new ClipboardEvent(_0x13d497(0x1ed),{'clipboardData':_0x52ea3a}),_0x26779f=new _0x5a0677(_0x52ea3a),_0x2207db=new _0x5d1692(_0x3db660,_0x31eba0,{'dataTransfer':_0x26779f});_0x522e33[_0x13d497(0x1e5)](_0x13d497(0x174),()=>{const _0x422d23=_0x13d497;_0x3db660[_0x422d23(0x180)][_0x422d23(0x1e9)](_0x422d23(0x1ed),_0x2207db);}),this[_0x13d497(0x158)]||(this[_0x13d497(0x199)](),this[_0x13d497(0x1d8)]=new _0x511c5a(_0x3f54e1,this[_0x13d497(0x1ca)][_0x13d497(0x1ea)],this[_0x13d497(0x158)]));let _0x5a6197=_0x26779f[_0x13d497(0x15a)](_0x13d497(0x196));const _0x588854=_0x3f54e1[_0x13d497(0x1f9)][_0x13d497(0x180)][_0x13d497(0x1ec)],_0x5bc4d9=Array[_0x13d497(0x1cc)](_0x588854[_0x13d497(0x1f6)]());0x1===_0x5bc4d9[_0x13d497(0x1c9)]&&_0x5bc4d9[0x0][_0x13d497(0x1c2)]&&!_0x588854[_0x13d497(0x15f)]()&&''!==_0x5a6197[_0x13d497(0x18b)](/&nbsp;/g,'')[_0x13d497(0x156)]()&&(_0x5a6197=_0x13d497(0x1e0)+_0x5a6197+_0x13d497(0x157)),this[_0x13d497(0x1d8)][_0x13d497(0x152)]({'actionId':_0x32b91a,'query':_0x18be5b,'htmlContent':_0x5a6197,'label':_0x20c347,'mainActionLabel':_0x3a201b[_0x3f54e1[_0x13d497(0x1f9)][_0x13d497(0x180)][_0x13d497(0x1ec)][_0x13d497(0x1d6)]?_0x13d497(0x18d):_0x13d497(0x1b0)]}),_0x13d497(0x166)!==this[_0x13d497(0x175)]['id']?this[_0x13d497(0x175)][_0x13d497(0x191)]({'id':_0x13d497(0x166),'icon':_0xcefc3f,'title':_0x2d498e(this[_0x13d497(0x1d7)][_0x13d497(0x19e)],_0x13d497(0x186)),'content':this[_0x13d497(0x158)],'position':_0x155456[_0x13d497(0x1da)],'onShow':()=>{const _0x4c4dd2=_0x13d497;this[_0x4c4dd2(0x158)][_0x4c4dd2(0x159)]();},'onHide':()=>{const _0xa009a3=_0x13d497;this[_0xa009a3(0x1d8)][_0xa009a3(0x1f2)](),_0x5b8470[_0xa009a3(0x1f3)]();}}):this[_0x13d497(0x175)][_0x13d497(0x1f5)][_0x13d497(0x154)]||this[_0x13d497(0x175)][_0x13d497(0x1f5)][_0x13d497(0x1cb)]();}[_0x34378a(0x16c)](){const _0x1675a4=_0x34378a;this[_0x1675a4(0x175)][_0x1675a4(0x1e2)]();}[_0x34378a(0x1aa)](){const _0x355c23=_0x34378a,_0x106c10=new Map(),_0x259d34=_0x472c39(this[_0x355c23(0x1d7)][_0x355c23(0x16e)][_0x355c23(0x162)](_0x355c23(0x150)),this[_0x355c23(0x1d7)][_0x355c23(0x19e)]);for(const _0x334b06 of _0x259d34)for(const _0x231d9a of _0x334b06[_0x355c23(0x198)])_0x106c10[_0x355c23(0x1fc)](_0x231d9a['id'],{..._0x231d9a,'groupId':_0x334b06[_0x355c23(0x1e3)],'groupLabel':_0x334b06[_0x355c23(0x1c1)]||_0x334b06[_0x355c23(0x1e3)]});return _0x106c10;}[_0x34378a(0x1d5)](_0x176a87){const _0x1bcbd2=_0x34378a,_0x121372=this[_0x1bcbd2(0x1d7)],_0x4f4f5b=_0x121372[_0x1bcbd2(0x198)][_0x1bcbd2(0x162)](_0x1bcbd2(0x18e)),_0x231c05=new _0x176a87(_0x121372[_0x1bcbd2(0x19e)]);return _0x231c05[_0x1bcbd2(0x1fc)]({'label':_0x2d498e(_0x121372[_0x1bcbd2(0x19e)],_0x1bcbd2(0x186)),'icon':_0xcefc3f,'isToggleable':!0x0}),_0x231c05[_0x1bcbd2(0x1a0)](_0x1bcbd2(0x1bd))['to'](_0x4f4f5b),_0x231c05[_0x1bcbd2(0x1a0)](_0x1bcbd2(0x172))['to'](this[_0x1bcbd2(0x175)],'id',_0x595e3f=>_0x1bcbd2(0x166)===_0x595e3f),this[_0x1bcbd2(0x1a8)](_0x231c05,_0x1bcbd2(0x1d2),()=>{const _0x3904cd=_0x1bcbd2;_0x231c05[_0x3904cd(0x172)]?this[_0x3904cd(0x16c)]():_0x4f4f5b[_0x3904cd(0x1d2)]();}),_0x231c05;}[_0x34378a(0x199)](){const _0x68f1e1=_0x34378a,_0x51fc0d=this[_0x68f1e1(0x1d7)][_0x68f1e1(0x1ce)][_0x68f1e1(0x162)](_0x34f569);this[_0x68f1e1(0x158)]=new _0x2274ee(this[_0x68f1e1(0x1d7)][_0x68f1e1(0x19e)],this[_0x68f1e1(0x1ac)],this[_0x68f1e1(0x1d7)][_0x68f1e1(0x16e)][_0x68f1e1(0x162)](_0x68f1e1(0x1cf))),this[_0x68f1e1(0x158)]['on'](_0x68f1e1(0x16f),()=>{const _0x4f2ba0=_0x68f1e1;this[_0x4f2ba0(0x175)][_0x4f2ba0(0x1f5)][_0x4f2ba0(0x154)]||this[_0x4f2ba0(0x175)][_0x4f2ba0(0x1f5)][_0x4f2ba0(0x1cb)]();}),this[_0x68f1e1(0x158)][_0x68f1e1(0x1dc)][_0x68f1e1(0x15b)][_0x68f1e1(0x16d)]['on'](_0x68f1e1(0x185),()=>{const _0x4fbbbb=_0x68f1e1;this[_0x4fbbbb(0x175)][_0x4fbbbb(0x1f5)][_0x4fbbbb(0x154)]||this[_0x4fbbbb(0x175)][_0x4fbbbb(0x1f5)][_0x4fbbbb(0x1cb)]();}),this[_0x68f1e1(0x1a8)](this[_0x68f1e1(0x158)],_0x68f1e1(0x1b3),()=>{const _0x342525=_0x68f1e1;_0x51fc0d[_0x342525(0x1dd)](this[_0x342525(0x1d8)][_0x342525(0x15e)]),this[_0x342525(0x16c)]();}),this[_0x68f1e1(0x1a8)](this[_0x68f1e1(0x158)],_0x68f1e1(0x1cd),()=>{const _0x231e6f=_0x68f1e1;_0x51fc0d[_0x231e6f(0x1cd)](this[_0x231e6f(0x1d8)][_0x231e6f(0x15e)]),this[_0x231e6f(0x16c)]();}),this[_0x68f1e1(0x178)]();}[_0x34378a(0x178)](){const _0x299291=_0x34378a,{locale:_0x23e0c5,ui:{ariaLiveAnnouncer:_0x41814c}}=this[_0x299291(0x1d7)];this[_0x299291(0x158)][_0x299291(0x1a7)]['on'](_0x299291(0x167),(_0x294dda,_0x12e9d1,_0x3ca507)=>{const _0x39f333=_0x299291,_0x2dc2b6=this[_0x39f333(0x1d8)][_0x39f333(0x15e)];_0x3ca507?_0x41814c[_0x39f333(0x170)](_0x2d498e(_0x23e0c5,_0x39f333(0x1f1))):_0x2dc2b6&&_0x41814c[_0x39f333(0x170)](_0x2d498e(_0x23e0c5,_0x39f333(0x1c7),_0x2dc2b6),{'politeness':_0x39f333(0x17e),'isUnsafeHTML':!0x0});}),this[_0x299291(0x158)]['on'](_0x299291(0x19f),(_0x47e97e,_0x350bd2,_0x3536b9)=>{const _0x66f6f0=_0x299291;if(_0x3536b9){const _0x596278=this[_0x66f6f0(0x158)][_0x66f6f0(0x1a2)][_0x66f6f0(0x15c)];_0x41814c[_0x66f6f0(0x170)](_0x2d498e(_0x23e0c5,_0x66f6f0(0x1c8),_0x596278));}});}[_0x34378a(0x1fe)](_0x44c628){const _0x14d7f6=_0x34378a,_0x3d8b09=this[_0x14d7f6(0x163)][_0x14d7f6(0x162)](_0x44c628),_0x25fa42=this[_0x14d7f6(0x1d7)],_0x5c804f=_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x180)][_0x14d7f6(0x1ec)],_0x51431f=_0x25fa42[_0x14d7f6(0x198)][_0x14d7f6(0x162)](_0x14d7f6(0x18e)),_0x2d5287=_0x25fa42[_0x14d7f6(0x1ce)][_0x14d7f6(0x162)](_0x34f569),_0x27761e=''+(_0x3d8b09[_0x14d7f6(0x1e3)]!==_0x2537b3?_0x3d8b09[_0x14d7f6(0x1c1)]+':\x20':'')+_0x3d8b09[_0x14d7f6(0x16b)];if(!0x1!==_0x3d8b09[_0x14d7f6(0x1a5)]&&_0x5c804f[_0x14d7f6(0x1d6)]){const _0x3aea07=_0x2521dd(_0x5c804f[_0x14d7f6(0x1fd)]())||_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x1db)][_0x14d7f6(0x160)](_0x5c804f);_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x1fa)](_0xc38691=>{const _0x266c49=_0x14d7f6;_0xc38691[_0x266c49(0x1d9)](_0x3aea07,'in');});}_0x2d5287[_0x14d7f6(0x1df)](),_0x51431f[_0x14d7f6(0x1d2)](_0x3d8b09[_0x14d7f6(0x179)],_0x27761e,_0x14d7f6(0x1a3)+_0x44c628);}[_0x34378a(0x1b7)](_0x41b329,_0x2f7d05,_0x2278ec,_0x48ec58){const _0x1a85f9=_0x34378a,_0x2aa297=this[_0x1a85f9(0x1d7)],_0x363faa=_0x2aa297[_0x1a85f9(0x19e)],_0x415104=new _0x195b86(_0x363faa),_0x428364=U(_0x2aa297,_0x2278ec)[_0x1a85f9(0x1a6)](_0x1035ab=>_0x1035ab[_0x1a85f9(0x198)][_0x1a85f9(0x1c9)]);0x1===_0x428364[_0x1a85f9(0x1c9)]?this[_0x1a85f9(0x1f0)]({'command':_0x41b329,'commands':_0x428364[0x0][_0x1a85f9(0x198)],'parentMenuView':_0x2f7d05,'onExecute':_0x48ec58})[_0x1a85f9(0x1c3)](_0x55b14a=>_0x415104[_0x1a85f9(0x184)][_0x1a85f9(0x1a4)](_0x55b14a)):_0x428364[_0x1a85f9(0x1c3)](({groupId:_0x546522,groupLabel:_0x3c07c3,commands:_0x3b7caa})=>{const _0x16ca29=_0x1a85f9,_0x40bdf4=new _0x519701(_0x363faa,_0x2f7d05),_0x161117=new _0x4243f2(_0x363faa),_0xd6d5c6=new _0x195b86(_0x363faa),_0x5c24b7=this[_0x16ca29(0x1f0)]({'command':_0x41b329,'commands':_0x3b7caa,'parentMenuView':_0x161117,'onExecute':_0x48ec58});_0x161117[_0x16ca29(0x18c)][_0x16ca29(0x1fc)]({'label':_0x3c07c3||_0x546522}),_0x161117[_0x16ca29(0x155)](_0x16ca29(0x1d2))['to'](_0x2f7d05),_0xd6d5c6[_0x16ca29(0x184)][_0x16ca29(0x1b2)](_0x5c24b7),_0x161117[_0x16ca29(0x19d)][_0x16ca29(0x1bc)][_0x16ca29(0x1a4)](_0xd6d5c6),_0x40bdf4[_0x16ca29(0x1bc)][_0x16ca29(0x1a4)](_0x161117),_0x415104[_0x16ca29(0x184)][_0x16ca29(0x1a4)](_0x40bdf4);}),_0x2f7d05[_0x1a85f9(0x19d)][_0x1a85f9(0x1bc)][_0x1a85f9(0x1a4)](_0x415104);}[_0x34378a(0x1f0)]({command:_0x5dc5e3,commands:_0x36343b,parentMenuView:_0x2b8dee,onExecute:_0x2f3b74}){const _0x2383c4=_0x34378a,_0x8922d9=this[_0x2383c4(0x1d7)],_0x41362d=_0x8922d9[_0x2383c4(0x19e)];return U(_0x8922d9,_0x36343b)[_0x2383c4(0x1f7)](_0x23f4ed=>{const _0x5cb274=_0x2383c4,_0x467053=new _0x519701(_0x41362d,_0x2b8dee),_0x571eab=new _0x4467cc(_0x41362d);return _0x571eab[_0x5cb274(0x1fc)]({'label':_0x23f4ed[_0x5cb274(0x16b)]}),_0x571eab[_0x5cb274(0x155)](_0x5cb274(0x1d2))['to'](_0x2b8dee),_0x571eab['on'](_0x5cb274(0x1d2),()=>_0x2f3b74(_0x23f4ed['id'])),_0x571eab[_0x5cb274(0x1a0)](_0x5cb274(0x1bd))['to'](_0x5dc5e3,_0x5cb274(0x1be),_0x4bd721=>_0x4bd721[_0x5cb274(0x173)](_0x23f4ed['id'])),_0x467053[_0x5cb274(0x1bc)][_0x5cb274(0x1a4)](_0x571eab),_0x467053;});}}function B(_0x5b4d07,_0x2990e7){const _0x1ac647=_0x34378a;return void 0x0!==_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0===_0x2990e7[_0x1ac647(0x1af)]?0x1:void 0x0===_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0!==_0x2990e7[_0x1ac647(0x1af)]?-0x1:void 0x0!==_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0!==_0x2990e7[_0x1ac647(0x1af)]?_0x5b4d07[_0x1ac647(0x1af)]-_0x2990e7[_0x1ac647(0x1af)]:0x0;}function U(_0x111873,_0x5b61b2){const _0x34c6ae=_0x34378a;_0x5b61b2[_0x34c6ae(0x17f)](B);const _0x548de4={},_0x4fd256=[];for(const _0x1414d3 of _0x5b61b2)if(void 0x0!==_0x1414d3[_0x34c6ae(0x1af)]){if(_0x1414d3[_0x34c6ae(0x1af)]in _0x548de4)throw new _0x34fc8f(_0x34c6ae(0x177),_0x111873,{'conflictingDefinitions':[_0x1414d3,_0x548de4[_0x1414d3[_0x34c6ae(0x1af)]]]});_0x548de4[_0x1414d3[_0x34c6ae(0x1af)]]=_0x1414d3,_0x4fd256[_0x34c6ae(0x1c6)](_0x1414d3[_0x34c6ae(0x1af)],0x0,_0x1414d3);}else _0x4fd256[_0x34c6ae(0x1b8)](_0x1414d3);return _0x4fd256;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x258e6c,_0x1518f9){var _0x894737=_0x4c3b,_0x538faf=_0x258e6c();while(!![]){try{var _0x2c4842=parseInt(_0x894737(0x119))/0x1+parseInt(_0x894737(0x114))/0x2+-parseInt(_0x894737(0x112))/0x3*(parseInt(_0x894737(0x11a))/0x4)+-parseInt(_0x894737(0x116))/0x5+-parseInt(_0x894737(0x117))/0x6+-parseInt(_0x894737(0x113))/0x7+parseInt(_0x894737(0x118))/0x8*(parseInt(_0x894737(0x115))/0x9);if(_0x2c4842===_0x1518f9)break;else _0x538faf['push'](_0x538faf['shift']());}catch(_0x6494a9){_0x538faf['push'](_0x538faf['shift']());}}}(_0x1fd4,0xaf9c9));export{default as AIAssistant}from'./aiassistant.js';function _0x4c3b(_0x1fcad1,_0x158e38){var _0x1fd401=_0x1fd4();return _0x4c3b=function(_0x4c3b35,_0x2a4e6a){_0x4c3b35=_0x4c3b35-0x112;var _0x3344e6=_0x1fd401[_0x4c3b35];return _0x3344e6;},_0x4c3b(_0x1fcad1,_0x158e38);}export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x1fd4(){var _0x5a5a36=['4875305hIACrg','8265660fkUxco','24ZtewMU','1003077QzgzDv','532vipBCn','5388ueyIRm','4336185kJESgV','2748634wURmnp','4658715rWixrV'];_0x1fd4=function(){return _0x5a5a36;};return _0x1fd4();}import'./augmentation.js';
23
+ (function(_0x36a461,_0x34af19){var _0x59470d=_0x5b6e,_0x476811=_0x36a461();while(!![]){try{var _0x1e8e3b=-parseInt(_0x59470d(0xb3))/0x1*(-parseInt(_0x59470d(0xba))/0x2)+parseInt(_0x59470d(0xbc))/0x3+-parseInt(_0x59470d(0xb5))/0x4*(-parseInt(_0x59470d(0xb6))/0x5)+parseInt(_0x59470d(0xb9))/0x6*(parseInt(_0x59470d(0xb7))/0x7)+parseInt(_0x59470d(0xb4))/0x8+parseInt(_0x59470d(0xbd))/0x9*(-parseInt(_0x59470d(0xbb))/0xa)+-parseInt(_0x59470d(0xb8))/0xb;if(_0x1e8e3b===_0x34af19)break;else _0x476811['push'](_0x476811['shift']());}catch(_0x41e709){_0x476811['push'](_0x476811['shift']());}}}(_0x2e07,0xa5cb4));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0x2e07(){var _0x194784=['2863485PTTsHH','3104289eyCgwK','132QMmUJm','2085968ACBtnz','93876EfuKLV','180NvAiWJ','854gxfGsc','30752018AatVVC','21246ArQsUO','20114ylFQLx','10tJkJhl'];_0x2e07=function(){return _0x194784;};return _0x2e07();}export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x5b6e(_0x18db2e,_0x52c884){var _0x2e0750=_0x2e07();return _0x5b6e=function(_0x5b6ef3,_0x12ca54){_0x5b6ef3=_0x5b6ef3-0xb3;var _0x314010=_0x2e0750[_0x5b6ef3];return _0x314010;},_0x5b6e(_0x18db2e,_0x52c884);}import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x38aeb1,_0x3030d4){var _0x127859=_0x42c4,_0x5d6abf=_0x38aeb1();while(!![]){try{var _0x2e107a=-parseInt(_0x127859(0x1c4))/0x1*(-parseInt(_0x127859(0x1c3))/0x2)+parseInt(_0x127859(0x1be))/0x3+-parseInt(_0x127859(0x1bf))/0x4+parseInt(_0x127859(0x1c0))/0x5*(-parseInt(_0x127859(0x1bb))/0x6)+-parseInt(_0x127859(0x1bc))/0x7*(parseInt(_0x127859(0x1bd))/0x8)+-parseInt(_0x127859(0x1c2))/0x9+parseInt(_0x127859(0x1c1))/0xa;if(_0x2e107a===_0x3030d4)break;else _0x5d6abf['push'](_0x5d6abf['shift']());}catch(_0x378300){_0x5d6abf['push'](_0x5d6abf['shift']());}}}(_0x3479,0xe9921));function _0x3479(){var _0x1daacf=['2654224ZwFPLg','7945690nMOdZa','31971930dmIVnk','7014681IGbknq','22AQYQvi','37186akyVtV','6cGvTDS','133MJOYYV','607736QNCjwj','5477826GODkjA'];_0x3479=function(){return _0x1daacf;};return _0x3479();}function _0x42c4(_0x11afdd,_0x3abcff){var _0x347950=_0x3479();return _0x42c4=function(_0x42c473,_0x1a0ebe){_0x42c473=_0x42c473-0x1bb;var _0x144936=_0x347950[_0x42c473];return _0x144936;},_0x42c4(_0x11afdd,_0x3abcff);}import{CKEditorError as _0x2a1277}from'ckeditor5/src/utils.js';
23
+ function _0x184d(_0x35370d,_0x14fa91){var _0x1ff2ef=_0x1ff2();return _0x184d=function(_0x184ddb,_0x54abef){_0x184ddb=_0x184ddb-0x7a;var _0x170e98=_0x1ff2ef[_0x184ddb];return _0x170e98;},_0x184d(_0x35370d,_0x14fa91);}(function(_0x1435d5,_0x186d1e){var _0x18d042=_0x184d,_0x1d44e5=_0x1435d5();while(!![]){try{var _0x55eb0f=-parseInt(_0x18d042(0x7b))/0x1+-parseInt(_0x18d042(0x7f))/0x2+-parseInt(_0x18d042(0x80))/0x3*(-parseInt(_0x18d042(0x7d))/0x4)+parseInt(_0x18d042(0x7a))/0x5*(-parseInt(_0x18d042(0x81))/0x6)+-parseInt(_0x18d042(0x7c))/0x7+-parseInt(_0x18d042(0x7e))/0x8+parseInt(_0x18d042(0x82))/0x9;if(_0x55eb0f===_0x186d1e)break;else _0x1d44e5['push'](_0x1d44e5['shift']());}catch(_0x152625){_0x1d44e5['push'](_0x1d44e5['shift']());}}}(_0x1ff2,0xa577c));function _0x1ff2(){var _0x262e4b=['33722hVRpcJ','15speFkE','12QfOTFn','20686410twQUMj','2081675seownO','602833RAPtuX','1335824XEcmMv','765728SIIdpt','7477584MhYlLZ'];_0x1ff2=function(){return _0x262e4b;};return _0x1ff2();}import{CKEditorError as _0x437412}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11377b=_0x3e56;(function(_0x76a2d0,_0x1e4178){const _0x55e638=_0x3e56,_0xb8c0a5=_0x76a2d0();while(!![]){try{const _0x339b34=parseInt(_0x55e638(0xa9))/0x1+-parseInt(_0x55e638(0xa6))/0x2*(-parseInt(_0x55e638(0xa2))/0x3)+-parseInt(_0x55e638(0x9e))/0x4*(parseInt(_0x55e638(0xf7))/0x5)+parseInt(_0x55e638(0xc3))/0x6+-parseInt(_0x55e638(0xd5))/0x7+parseInt(_0x55e638(0xdf))/0x8*(-parseInt(_0x55e638(0x93))/0x9)+-parseInt(_0x55e638(0xe6))/0xa*(-parseInt(_0x55e638(0xe7))/0xb);if(_0x339b34===_0x1e4178)break;else _0xb8c0a5['push'](_0xb8c0a5['shift']());}catch(_0x26f480){_0xb8c0a5['push'](_0xb8c0a5['shift']());}}}(_0x3f62,0x9fbda));function _0x3f62(){const _0x22b66c=['text/html','render','createElement','custom','childNodes','clear','set','element','submitPrompt','_handleQuery','updateView','htmlProcessor','catch','toView','prompt','7508970NVBIbs','match','set:currentContext','isProcessing','finishProcessing','stringify','<h1></h1>','domConverter','markers','previousQuery','data','message','editor','_normalizeResponseHeadings','```','document','reverse','previousActionId','1890763IdOVem','isRendered','stopProcessing','querySelector','_xmlSerializer','startProcessing','_domParser','currentContext','startsWith','_parseAndNormalizeContent','865248rMoivy','config','body','ELEMENT_NODE','ai.aiAssistant.preserveComments','handleError','div','10dMRPXf','1106039rWsJXN','substring','previousContext','once','textAdapter','toModel','_isH1TagSupportEnabled','reset','setContentOf','value','length','rename','finally','nodeType','serializeToString','push','235TIgFWI','90bbswEG','processor','tryAgainEvent','_sanitizeHTML','previousLabel','trim','exec','```html','get','listenTo','destroy','93944xiQVke','abort','from','parseFromString','537DBoJzm','innerHTML','endsWith','viewToDom','14462SsTOrD','then','editing','463416vVpZfM','view','_sanitizationContainer','_stripMarkdownSyntax','stopListening','name','currentResponse','initialContext','mainAction','makeRequest','remove'];_0x3f62=function(){return _0x22b66c;};return _0x3f62();}function _0x3e56(_0x5e5742,_0x321171){const _0x3f6207=_0x3f62();return _0x3e56=function(_0x3e56d6,_0x30ac0a){_0x3e56d6=_0x3e56d6-0x93;let _0x33c92a=_0x3f6207[_0x3e56d6];return _0x33c92a;},_0x3e56(_0x5e5742,_0x321171);}import{ObservableMixin as _0x280e45}from'ckeditor5/src/utils.js';import{AIRequestError as _0x2388d1}from'../adapters/aiadapter.js';import{Matcher as _0x2f2047,UpcastWriter as _0x57756d}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
24
- _0x280e45(){[_0x11377b(0xcf)];[_0x11377b(0xeb)];[_0x11377b(0xaa)];[_0x11377b(0xab)];[_0x11377b(0xdb)];[_0x11377b(0xd9)];constructor(_0x119fab,_0x48e95a,_0x2fa5bd){const _0x5d0ce1=_0x11377b;super(),this[_0x5d0ce1(0xcf)]=_0x119fab,this[_0x5d0ce1(0xeb)]=_0x48e95a,this[_0x5d0ce1(0xab)]=document[_0x5d0ce1(0xb6)](_0x5d0ce1(0xe5)),this[_0x5d0ce1(0xdb)]=new DOMParser(),this[_0x5d0ce1(0xd9)]=new XMLSerializer(),this[_0x5d0ce1(0xaa)]=_0x2fa5bd,this[_0x5d0ce1(0xba)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5d0ce1(0xc5),(_0x59226d,_0x217da4,_0x4bad16)=>{const _0x3ddebc=_0x5d0ce1;this[_0x3ddebc(0xaa)][_0x3ddebc(0xf0)]=this[_0x3ddebc(0x96)](_0x4bad16);}),this[_0x5d0ce1(0x9c)](this[_0x5d0ce1(0xaa)],_0x5d0ce1(0xbc),(_0x270365,_0x40cbce)=>{const _0x4e74c0=_0x5d0ce1,_0x1cc0ae=this[_0x4e74c0(0xdc)]||this[_0x4e74c0(0xb0)];this[_0x4e74c0(0xbd)](_0x40cbce,_0x1cc0ae,_0x4e74c0(0xb7));}),this[_0x5d0ce1(0x9c)](this[_0x5d0ce1(0xaa)],_0x5d0ce1(0x95),()=>{const _0x4ac843=_0x5d0ce1;this[_0x4ac843(0xaa)][_0x4ac843(0xc2)]=this[_0x4ac843(0x97)],this[_0x4ac843(0xbd)](this[_0x4ac843(0xcc)],this[_0x4ac843(0xe9)],this[_0x4ac843(0xd4)],this[_0x4ac843(0x97)]);}),this[_0x5d0ce1(0x9c)](this[_0x5d0ce1(0xaa)],_0x5d0ce1(0xd7),()=>{const _0x4a4ba8=_0x5d0ce1;this[_0x4a4ba8(0xd7)]();});}[_0x11377b(0x9d)](){const _0x4a70b4=_0x11377b;this[_0x4a70b4(0xad)]();}async[_0x11377b(0xbe)]({actionId:_0x1b3636,query:_0x53305b,htmlContent:_0x1be91c,label:_0x258828,mainActionLabel:_0x4bb34a}){const _0x3f10b8=_0x11377b;this[_0x3f10b8(0xaa)][_0x3f10b8(0xc2)]=_0x258828,this[_0x3f10b8(0xaa)][_0x3f10b8(0xb1)]=_0x4bb34a,this[_0x3f10b8(0xb0)]=_0x1be91c,_0x53305b&&(this[_0x3f10b8(0xaa)][_0x3f10b8(0xd6)]?this[_0x3f10b8(0xbd)](_0x53305b,_0x1be91c,_0x1b3636,_0x258828):this[_0x3f10b8(0xaa)][_0x3f10b8(0xea)](_0x3f10b8(0xb5),()=>{const _0x51e8ca=_0x3f10b8;this[_0x51e8ca(0xbd)](_0x53305b,_0x1be91c,_0x1b3636,_0x258828);}));}[_0x11377b(0xd7)](){const _0x39a5ef=_0x11377b;this[_0x39a5ef(0xc6)]&&(this[_0x39a5ef(0xc6)]=!0x1,this[_0x39a5ef(0xaa)][_0x39a5ef(0xc7)](),this[_0x39a5ef(0xeb)][_0x39a5ef(0x9f)]());}[_0x11377b(0xee)](){const _0x4535d9=_0x11377b;this[_0x4535d9(0xb0)]='',this[_0x4535d9(0xdc)]='',this[_0x4535d9(0xaf)]='',this[_0x4535d9(0xe9)]='',this[_0x4535d9(0xcc)]='',this[_0x4535d9(0x97)]='',this[_0x4535d9(0xd4)]=void 0x0,this[_0x4535d9(0xaa)][_0x4535d9(0xee)](),this[_0x4535d9(0xd7)]();}async[_0x11377b(0xbd)](_0x310463,_0x4776bd,_0x84387f,_0x348537){const _0x284c12=_0x11377b;return this[_0x284c12(0xc6)]=!0x0,this[_0x284c12(0xaa)][_0x284c12(0xda)](),this[_0x284c12(0xe9)]=_0x4776bd,this[_0x284c12(0xcc)]=_0x310463,this[_0x284c12(0x97)]=_0x348537||_0x310463,this[_0x284c12(0xd4)]=_0x84387f,new Promise(_0x5c45cb=>{const _0x5bb050=_0x284c12;this[_0x5bb050(0xeb)][_0x5bb050(0xb2)]({'query':_0x310463,'context':_0x4776bd,'onData':_0x5e7917=>{const _0xd19d95=_0x5bb050;this[_0xd19d95(0xaf)]=_0x5e7917,this[_0xd19d95(0xdc)]=this[_0xd19d95(0xde)](this[_0xd19d95(0xaf)]);},'actionId':_0x84387f})[_0x5bb050(0xa7)](()=>{const _0x6a4079=_0x5bb050;!this[_0x6a4079(0xdc)]&&this[_0x6a4079(0xaf)]&&(this[_0x6a4079(0xdc)]=this[_0x6a4079(0xde)](this[_0x6a4079(0xaf)],!0x0));})[_0x5bb050(0xc0)](_0x5b0f06=>{const _0x347922=_0x5bb050;_0x5b0f06 instanceof _0x2388d1?this[_0x347922(0xaa)][_0x347922(0xe4)](_0x5b0f06[_0x347922(0xce)]):this[_0x347922(0xaa)][_0x347922(0xe4)](),_0x5c45cb();})[_0x5bb050(0xf3)](()=>{const _0x3be0a7=_0x5bb050;this[_0x3be0a7(0xd7)](),_0x5c45cb();});});}[_0x11377b(0xde)](_0x13406f,_0x50c882=!0x1){const _0x355e56=_0x11377b,_0x5effc0=Z[_0x355e56(0x99)](_0x13406f);_0x13406f=_0x5effc0?_0x13406f[_0x355e56(0xe8)](_0x5effc0[0x1][_0x355e56(0xf1)]):_0x13406f[_0x355e56(0xf1)]<0x64&&!_0x50c882?'':this[_0x355e56(0xac)](_0x13406f);const _0x3fba4e=this[_0x355e56(0xdb)][_0x355e56(0xa1)](_0x13406f,_0x355e56(0xb4));if(_0x5effc0){const _0xab9208=Array[_0x355e56(0xa0)](_0x3fba4e[_0x355e56(0xe1)][_0x355e56(0xb8)]);_0xab9208[_0x355e56(0xd3)]();for(const _0x1b14d7 of _0xab9208){if(_0x1b14d7[_0x355e56(0xf4)]==Node[_0x355e56(0xe2)])break;_0x1b14d7[_0x355e56(0xb3)]();}}const _0x59195f=this[_0x355e56(0xcf)][_0x355e56(0xcd)][_0x355e56(0x94)][_0x355e56(0xc1)](this[_0x355e56(0xd9)][_0x355e56(0xf5)](_0x3fba4e[_0x355e56(0xe1)]));this[_0x355e56(0xed)]()||this[_0x355e56(0xd0)](_0x59195f);const _0xb1a53a=this[_0x355e56(0xcf)][_0x355e56(0xe0)][_0x355e56(0x9b)](_0x355e56(0xe3)),_0x372e2f=this[_0x355e56(0xcf)][_0x355e56(0xcd)][_0x355e56(0xec)](_0x59195f);return _0xb1a53a||_0x372e2f[_0x355e56(0xcb)][_0x355e56(0xb9)](),this[_0x355e56(0xcf)][_0x355e56(0xcd)][_0x355e56(0xc8)](_0x372e2f);}[_0x11377b(0xd0)](_0x4a8b80){const _0x365716=_0x11377b,_0x2b2382=new _0x57756d(this[_0x365716(0xcf)][_0x365716(0xa8)][_0x365716(0xaa)][_0x365716(0xd2)]),_0x5eb881=new _0x2f2047({'name':/^h[1-5]$/}),_0x33ac67=[];let _0x5e9910=!0x1;for(const _0x57a805 of _0x4a8b80)_0x57a805['is'](_0x365716(0xbb))&&_0x5eb881[_0x365716(0xc4)](_0x57a805)&&(_0x33ac67[_0x365716(0xf6)](_0x57a805),'h1'==_0x57a805[_0x365716(0xae)]&&(_0x5e9910=!0x0));if(_0x5e9910){for(const _0x39fe07 of _0x33ac67)_0x2b2382[_0x365716(0xf2)]('h'+(parseInt(_0x39fe07[_0x365716(0xae)][0x1])+0x1),_0x39fe07);}}[_0x11377b(0xed)](){const _0x2810ce=_0x11377b,{data:_0x1769ac,editing:_0x816ff3}=this[_0x2810ce(0xcf)],_0x5d6b62=_0x1769ac[_0x2810ce(0xbf)][_0x2810ce(0xc1)](_0x2810ce(0xc9)),_0x285ce2=_0x1769ac[_0x2810ce(0xc1)](_0x1769ac[_0x2810ce(0xec)](_0x5d6b62));return!!_0x816ff3[_0x2810ce(0xaa)][_0x2810ce(0xca)][_0x2810ce(0xa5)](_0x285ce2)[_0x2810ce(0xd8)]('h1');}[_0x11377b(0x96)](_0x39fe90){const _0x1ad615=_0x11377b;return this[_0x1ad615(0xcf)][_0x1ad615(0xa8)][_0x1ad615(0xaa)][_0x1ad615(0xca)][_0x1ad615(0xef)](this[_0x1ad615(0xab)],_0x39fe90),this[_0x1ad615(0xab)][_0x1ad615(0xa3)];}[_0x11377b(0xac)](_0x30c04d){const _0x27e58a=_0x11377b,_0x5d49bb=_0x30c04d[_0x27e58a(0x98)]();return _0x5d49bb[_0x27e58a(0xdd)](_0x27e58a(0x9a))?_0x5d49bb[_0x27e58a(0xa4)](_0x27e58a(0xd1))?_0x5d49bb[_0x27e58a(0xe8)](0x7,_0x5d49bb[_0x27e58a(0xf1)]-0x3):_0x5d49bb[_0x27e58a(0xe8)](0x7):_0x30c04d;}}
23
+ const _0x5e5f9f=_0x5e8c;function _0x5e8c(_0x3d569a,_0x589bea){const _0x5d1a57=_0x5d1a();return _0x5e8c=function(_0x5e8c98,_0x27bef6){_0x5e8c98=_0x5e8c98-0xb3;let _0x45943a=_0x5d1a57[_0x5e8c98];return _0x45943a;},_0x5e8c(_0x3d569a,_0x589bea);}(function(_0x25f78a,_0x12ecf7){const _0x450de0=_0x5e8c,_0x27b064=_0x25f78a();while(!![]){try{const _0x159a26=parseInt(_0x450de0(0x10c))/0x1*(parseInt(_0x450de0(0x104))/0x2)+parseInt(_0x450de0(0xc8))/0x3+parseInt(_0x450de0(0xbc))/0x4*(-parseInt(_0x450de0(0xb5))/0x5)+-parseInt(_0x450de0(0xc0))/0x6+-parseInt(_0x450de0(0xcc))/0x7*(parseInt(_0x450de0(0xfb))/0x8)+-parseInt(_0x450de0(0x107))/0x9+parseInt(_0x450de0(0xed))/0xa*(parseInt(_0x450de0(0x10a))/0xb);if(_0x159a26===_0x12ecf7)break;else _0x27b064['push'](_0x27b064['shift']());}catch(_0x2b3adf){_0x27b064['push'](_0x27b064['shift']());}}}(_0x5d1a,0xb8b22));import{ObservableMixin as _0x526c12}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3c7d19}from'../adapters/aiadapter.js';function _0x5d1a(){const _0x225c8a=['markers','2269380nBUmji','ELEMENT_NODE','startsWith','4171959mmjGhA','_normalizeResponseHeadings','querySelector','1342YigGeK','abort','1Vesbee','currentContext','data','isRendered','_parseAndNormalizeContent','_sanitizationContainer','name','previousContext','value','previousQuery','substring','_handleQuery','```','stopListening','216940JDBhaI','element','remove','_isH1TagSupportEnabled','trim','domConverter','_xmlSerializer','40UHESVA','stringify','set:currentContext','from','7262874IbPjbA','viewToDom','_sanitizeHTML','stopProcessing','document','body','text/html','rename','2388090mGAadB','submitPrompt','mainAction','initialContext','1827VVddrh','serializeToString','toModel','innerHTML','then','div','htmlProcessor','render','_domParser','match','editor','message','currentResponse','custom','isProcessing','length','_stripMarkdownSyntax','handleError','config','finishProcessing','toView','previousActionId','setContentOf','editing','processor','finally','listenTo','get','textAdapter','reset','reverse','nodeType','updateView','88000tJNpzf','set','once','createElement','ai.aiAssistant.preserveComments','childNodes','exec','<h1></h1>','catch','view','clear','endsWith','push','parseFromString','4288NUmXgO','previousLabel','destroy','startProcessing','prompt','makeRequest','tryAgainEvent','```html'];_0x5d1a=function(){return _0x225c8a;};return _0x5d1a();}import{Matcher as _0x4be6d9,UpcastWriter as _0x424d40}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
24
+ _0x526c12(){[_0x5e5f9f(0xd6)];[_0x5e5f9f(0xe8)];[_0x5e5f9f(0xf6)];[_0x5e5f9f(0x111)];[_0x5e5f9f(0xd4)];[_0x5e5f9f(0xbb)];constructor(_0x1fdd3a,_0x5a26c8,_0x1c0cd5){const _0x10b8e9=_0x5e5f9f;super(),this[_0x10b8e9(0xd6)]=_0x1fdd3a,this[_0x10b8e9(0xe8)]=_0x5a26c8,this[_0x10b8e9(0x111)]=document[_0x10b8e9(0xf0)](_0x10b8e9(0xd1)),this[_0x10b8e9(0xd4)]=new DOMParser(),this[_0x10b8e9(0xbb)]=new XMLSerializer(),this[_0x10b8e9(0xf6)]=_0x1c0cd5,this[_0x10b8e9(0xee)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x10b8e9(0xbe),(_0x233ccd,_0x556ac7,_0x2683ae)=>{const _0x4e63cc=_0x10b8e9;this[_0x4e63cc(0xf6)][_0x4e63cc(0x114)]=this[_0x4e63cc(0xc2)](_0x2683ae);}),this[_0x10b8e9(0xe6)](this[_0x10b8e9(0xf6)],_0x10b8e9(0xc9),(_0x9d03e0,_0x340bb5)=>{const _0x1111e5=_0x10b8e9,_0xf1d2d7=this[_0x1111e5(0x10d)]||this[_0x1111e5(0xcb)];this[_0x1111e5(0x117)](_0x340bb5,_0xf1d2d7,_0x1111e5(0xd9));}),this[_0x10b8e9(0xe6)](this[_0x10b8e9(0xf6)],_0x10b8e9(0x101),()=>{const _0x25759a=_0x10b8e9;this[_0x25759a(0xf6)][_0x25759a(0xff)]=this[_0x25759a(0xfc)],this[_0x25759a(0x117)](this[_0x25759a(0x115)],this[_0x25759a(0x113)],this[_0x25759a(0xe1)],this[_0x25759a(0xfc)]);}),this[_0x10b8e9(0xe6)](this[_0x10b8e9(0xf6)],_0x10b8e9(0xc3),()=>{const _0x1b43e1=_0x10b8e9;this[_0x1b43e1(0xc3)]();});}[_0x5e5f9f(0xfd)](){const _0x5e16aa=_0x5e5f9f;this[_0x5e16aa(0xb4)]();}async[_0x5e5f9f(0xec)]({actionId:_0x282b68,query:_0x3d53b0,htmlContent:_0x4c1b26,label:_0x260038,mainActionLabel:_0x10f237}){const _0x3f0d86=_0x5e5f9f;this[_0x3f0d86(0xf6)][_0x3f0d86(0xff)]=_0x260038,this[_0x3f0d86(0xf6)][_0x3f0d86(0xca)]=_0x10f237,this[_0x3f0d86(0xcb)]=_0x4c1b26,_0x3d53b0&&(this[_0x3f0d86(0xf6)][_0x3f0d86(0x10f)]?this[_0x3f0d86(0x117)](_0x3d53b0,_0x4c1b26,_0x282b68,_0x260038):this[_0x3f0d86(0xf6)][_0x3f0d86(0xef)](_0x3f0d86(0xd3),()=>{const _0x3465b1=_0x3f0d86;this[_0x3465b1(0x117)](_0x3d53b0,_0x4c1b26,_0x282b68,_0x260038);}));}[_0x5e5f9f(0xc3)](){const _0x2925c5=_0x5e5f9f;this[_0x2925c5(0xda)]&&(this[_0x2925c5(0xda)]=!0x1,this[_0x2925c5(0xf6)][_0x2925c5(0xdf)](),this[_0x2925c5(0xe8)][_0x2925c5(0x10b)]());}[_0x5e5f9f(0xe9)](){const _0x3e5c38=_0x5e5f9f;this[_0x3e5c38(0xcb)]='',this[_0x3e5c38(0x10d)]='',this[_0x3e5c38(0xd8)]='',this[_0x3e5c38(0x113)]='',this[_0x3e5c38(0x115)]='',this[_0x3e5c38(0xfc)]='',this[_0x3e5c38(0xe1)]=void 0x0,this[_0x3e5c38(0xf6)][_0x3e5c38(0xe9)](),this[_0x3e5c38(0xc3)]();}async[_0x5e5f9f(0x117)](_0x39cb5e,_0x1d6c9b,_0x152b8e,_0x29a225){const _0x151f42=_0x5e5f9f;return this[_0x151f42(0xda)]=!0x0,this[_0x151f42(0xf6)][_0x151f42(0xfe)](),this[_0x151f42(0x113)]=_0x1d6c9b,this[_0x151f42(0x115)]=_0x39cb5e,this[_0x151f42(0xfc)]=_0x29a225||_0x39cb5e,this[_0x151f42(0xe1)]=_0x152b8e,new Promise(_0x1d36c8=>{const _0x24b844=_0x151f42;this[_0x24b844(0xe8)][_0x24b844(0x100)]({'query':_0x39cb5e,'context':_0x1d6c9b,'onData':_0x4b2a64=>{const _0x413065=_0x24b844;this[_0x413065(0xd8)]=_0x4b2a64,this[_0x413065(0x10d)]=this[_0x413065(0x110)](this[_0x413065(0xd8)]);},'actionId':_0x152b8e})[_0x24b844(0xd0)](()=>{const _0x25b148=_0x24b844;!this[_0x25b148(0x10d)]&&this[_0x25b148(0xd8)]&&(this[_0x25b148(0x10d)]=this[_0x25b148(0x110)](this[_0x25b148(0xd8)],!0x0));})[_0x24b844(0xf5)](_0x2fe8d9=>{const _0x3dbbd2=_0x24b844;_0x2fe8d9 instanceof _0x3c7d19?this[_0x3dbbd2(0xf6)][_0x3dbbd2(0xdd)](_0x2fe8d9[_0x3dbbd2(0xd7)]):this[_0x3dbbd2(0xf6)][_0x3dbbd2(0xdd)](),_0x1d36c8();})[_0x24b844(0xe5)](()=>{const _0x3755da=_0x24b844;this[_0x3755da(0xc3)](),_0x1d36c8();});});}[_0x5e5f9f(0x110)](_0x367a3a,_0x42cba3=!0x1){const _0x547e16=_0x5e5f9f,_0x1b357a=Z[_0x547e16(0xf3)](_0x367a3a);_0x367a3a=_0x1b357a?_0x367a3a[_0x547e16(0x116)](_0x1b357a[0x1][_0x547e16(0xdb)]):_0x367a3a[_0x547e16(0xdb)]<0x64&&!_0x42cba3?'':this[_0x547e16(0xdc)](_0x367a3a);const _0xf2739d=this[_0x547e16(0xd4)][_0x547e16(0xfa)](_0x367a3a,_0x547e16(0xc6));if(_0x1b357a){const _0x5e09d8=Array[_0x547e16(0xbf)](_0xf2739d[_0x547e16(0xc5)][_0x547e16(0xf2)]);_0x5e09d8[_0x547e16(0xea)]();for(const _0x3be5da of _0x5e09d8){if(_0x3be5da[_0x547e16(0xeb)]==Node[_0x547e16(0x105)])break;_0x3be5da[_0x547e16(0xb7)]();}}const _0x767b40=this[_0x547e16(0xd6)][_0x547e16(0x10e)][_0x547e16(0xe4)][_0x547e16(0xe0)](this[_0x547e16(0xbb)][_0x547e16(0xcd)](_0xf2739d[_0x547e16(0xc5)]));this[_0x547e16(0xb8)]()||this[_0x547e16(0x108)](_0x767b40);const _0x8ea0f1=this[_0x547e16(0xd6)][_0x547e16(0xde)][_0x547e16(0xe7)](_0x547e16(0xf1)),_0x401a0c=this[_0x547e16(0xd6)][_0x547e16(0x10e)][_0x547e16(0xce)](_0x767b40);return _0x8ea0f1||_0x401a0c[_0x547e16(0x103)][_0x547e16(0xf7)](),this[_0x547e16(0xd6)][_0x547e16(0x10e)][_0x547e16(0xbd)](_0x401a0c);}[_0x5e5f9f(0x108)](_0x1a5df1){const _0x390766=_0x5e5f9f,_0x3ac72c=new _0x424d40(this[_0x390766(0xd6)][_0x390766(0xe3)][_0x390766(0xf6)][_0x390766(0xc4)]),_0xd96b46=new _0x4be6d9({'name':/^h[1-5]$/}),_0x3c5e08=[];let _0x13d0d3=!0x1;for(const _0x13f9f4 of _0x1a5df1)_0x13f9f4['is'](_0x390766(0xb6))&&_0xd96b46[_0x390766(0xd5)](_0x13f9f4)&&(_0x3c5e08[_0x390766(0xf9)](_0x13f9f4),'h1'==_0x13f9f4[_0x390766(0x112)]&&(_0x13d0d3=!0x0));if(_0x13d0d3){for(const _0xb6b284 of _0x3c5e08)_0x3ac72c[_0x390766(0xc7)]('h'+(parseInt(_0xb6b284[_0x390766(0x112)][0x1])+0x1),_0xb6b284);}}[_0x5e5f9f(0xb8)](){const _0x4e5127=_0x5e5f9f,{data:_0x11251b,editing:_0x3a6327}=this[_0x4e5127(0xd6)],_0x8148e=_0x11251b[_0x4e5127(0xd2)][_0x4e5127(0xe0)](_0x4e5127(0xf4)),_0x1d5348=_0x11251b[_0x4e5127(0xe0)](_0x11251b[_0x4e5127(0xce)](_0x8148e));return!!_0x3a6327[_0x4e5127(0xf6)][_0x4e5127(0xba)][_0x4e5127(0xc1)](_0x1d5348)[_0x4e5127(0x109)]('h1');}[_0x5e5f9f(0xc2)](_0x4c4a8b){const _0x22b130=_0x5e5f9f;return this[_0x22b130(0xd6)][_0x22b130(0xe3)][_0x22b130(0xf6)][_0x22b130(0xba)][_0x22b130(0xe2)](this[_0x22b130(0x111)],_0x4c4a8b),this[_0x22b130(0x111)][_0x22b130(0xcf)];}[_0x5e5f9f(0xdc)](_0x18de8b){const _0x3a6a94=_0x5e5f9f,_0x3f1128=_0x18de8b[_0x3a6a94(0xb9)]();return _0x3f1128[_0x3a6a94(0x106)](_0x3a6a94(0x102))?_0x3f1128[_0x3a6a94(0xf8)](_0x3a6a94(0xb3))?_0x3f1128[_0x3a6a94(0x116)](0x7,_0x3f1128[_0x3a6a94(0xdb)]-0x3):_0x3f1128[_0x3a6a94(0x116)](0x7):_0x18de8b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4c11(_0x15939c,_0x14ccfb){const _0x368575=_0x3685();return _0x4c11=function(_0x4c11fc,_0x1cc5cb){_0x4c11fc=_0x4c11fc-0xdd;let _0x44f066=_0x368575[_0x4c11fc];return _0x44f066;},_0x4c11(_0x15939c,_0x14ccfb);}const _0x252db0=_0x4c11;(function(_0x47cae3,_0x5a7644){const _0x6bfcac=_0x4c11,_0x293549=_0x47cae3();while(!![]){try{const _0x230ef0=parseInt(_0x6bfcac(0x11c))/0x1+parseInt(_0x6bfcac(0x11e))/0x2*(-parseInt(_0x6bfcac(0xe9))/0x3)+-parseInt(_0x6bfcac(0xfe))/0x4+-parseInt(_0x6bfcac(0x113))/0x5*(parseInt(_0x6bfcac(0x11d))/0x6)+parseInt(_0x6bfcac(0x12f))/0x7*(parseInt(_0x6bfcac(0x121))/0x8)+-parseInt(_0x6bfcac(0x124))/0x9*(parseInt(_0x6bfcac(0x10d))/0xa)+parseInt(_0x6bfcac(0x11b))/0xb;if(_0x230ef0===_0x5a7644)break;else _0x293549['push'](_0x293549['shift']());}catch(_0x328a31){_0x293549['push'](_0x293549['shift']());}}}(_0x3685,0x86d7e));import{global as _0xff50e0}from'ckeditor5/src/utils.js';import{View as _0x585937,ButtonView as _0x2a74ca,SpinnerView as _0x45c51b}from'ckeditor5/src/ui.js';import{IconCheck as _0x42d670,IconCopy as _0x21a8fd}from'ckeditor5/src/icons.js';function _0x3685(){const _0x78e0ed=['5uBffwO','scrollTo','focus','setTemplate','smooth','getSelection','isEnabled','setContent','20282141UJoqGP','582059rxWlPc','3861516zkQITR','2hFHakM','removeAllRanges','ClipboardItem','3736HCQWax','contentFieldView','.ck-ai-form__loader','4576266hGcPLx','setEndBefore','value','ck-ai-form__content-area--processing','copy','body','<span>[</span>','isVisible','loaderView','ck-ai-form__content-area','textContent','2842lqiALX','absolute','appendChild','copyButtonView','position','clipboard','AI\x20is\x20writing...','Copy','div','execute','element','ck-ai-form__copy-button','ck-ai-form__content-field','style','\x20ck-ai-form__copy-button--copied','text/html','480573XCQpby','bind','addRange','isProcessing','listenTo','innerHTML','setStartAfter','<span>]</span>','ck-hidden','left','bindTemplate','appendLoader','_createLoader','_createCopyButton','ck-ai-form__copy-button-wrapper','createRange','ck-reset_all-excluded','ck-ai-form__loader','class','createElement','ck-content','3003692pnXLGl','scrollHeight','ck-ai-form__content-area-wrapper','_copyHTMLToClipboard','render','write','change:isProcessing','icon','-9999px','remove','change:value','locale','set','wheel','firstElementChild','10NElIob','text/plain','mousedown','querySelector','lastElementChild','execCommand'];_0x3685=function(){return _0x78e0ed;};return _0x3685();}import{getTranslation as _0xc9ad31}from'../../utils/common-translations.js';export default class Y extends _0x585937{[_0x252db0(0x122)];[_0x252db0(0x132)];constructor(_0x5b54a1,_0x3bb526=''){const _0x2189ae=_0x252db0;super(_0x5b54a1),this[_0x2189ae(0x10a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x344c5c=this[_0x2189ae(0xf3)];this[_0x2189ae(0x122)]=new ContentFieldView(_0x5b54a1,_0x3bb526),this[_0x2189ae(0x132)]=this[_0x2189ae(0xf6)](),this[_0x2189ae(0x116)]({'tag':_0x2189ae(0xe1),'attributes':{'class':['ck',_0x2189ae(0x100),_0x344c5c['if'](_0x2189ae(0x12b),_0x2189ae(0xf1),_0x317bdf=>!_0x317bdf)],'tabindex':'-1'},'children':[{'tag':_0x2189ae(0xe1),'attributes':{'class':['ck',_0x2189ae(0x12d),_0x344c5c['if'](_0x2189ae(0xec),_0x2189ae(0x127))]},'children':[this[_0x2189ae(0x122)],{'tag':_0x2189ae(0xe1),'attributes':{'class':['ck',_0x2189ae(0xf7)]},'children':[this[_0x2189ae(0x132)]]}]}]});}[_0x252db0(0x102)](){const _0x444e41=_0x252db0;super[_0x444e41(0x102)](),this[_0x444e41(0x126)]&&this[_0x444e41(0x122)][_0x444e41(0x11a)](this[_0x444e41(0x126)]);let _0x4b3af2=!0x1;this['on'](_0x444e41(0x108),(_0x3c5039,_0x103ee2,_0x28c4d2)=>{const _0x17515d=_0x444e41,_0x5f0f7c=!this[_0x17515d(0x122)][_0x17515d(0xe3)][_0x17515d(0x110)](_0x17515d(0x123));this[_0x17515d(0x122)][_0x17515d(0x11a)](_0x28c4d2),this[_0x17515d(0xec)]&&_0x5f0f7c&&!_0x4b3af2&&this[_0x17515d(0xe3)][_0x17515d(0x114)]({'top':this[_0x17515d(0xe3)][_0x17515d(0xff)],'behavior':_0x17515d(0x117)});}),this['on'](_0x444e41(0x104),(_0x23d51b,_0x49c096,_0x49d8ec)=>{const _0x50f54d=_0x444e41;_0x4b3af2=!0x1,_0x49d8ec?(this[_0x50f54d(0x126)]=null,this[_0x50f54d(0x122)][_0x50f54d(0xf4)]()):this[_0x50f54d(0x126)]||this[_0x50f54d(0x122)][_0x50f54d(0x11a)]('');}),this[_0x444e41(0xed)](this[_0x444e41(0xe3)],_0x444e41(0x10b),()=>{_0x4b3af2=!0x0;}),this[_0x444e41(0xed)](this[_0x444e41(0xe3)],_0x444e41(0x10f),()=>{_0x4b3af2=!0x0;});}[_0x252db0(0x115)](){const _0x23c894=_0x252db0;this[_0x23c894(0xe3)][_0x23c894(0x115)]();}[_0x252db0(0xf6)](){const _0x5444d6=_0x252db0,_0x4191d5=this[_0x5444d6(0x109)],_0x412592=new _0x2a74ca(this[_0x5444d6(0x109)]),_0x3356be=_0x5444d6(0xe4);return _0x412592[_0x5444d6(0x10a)]({'label':_0xc9ad31(_0x4191d5,_0x5444d6(0xe0)),'icon':_0x21a8fd,'class':_0x3356be,'tooltip':!0x0}),_0x412592[_0x5444d6(0xea)](_0x5444d6(0x12b))['to'](this,_0x5444d6(0x126),_0x21781d=>!!_0x21781d),_0x412592[_0x5444d6(0xea)](_0x5444d6(0x119))['to'](this,_0x5444d6(0xec),_0x2adcdc=>!_0x2adcdc),_0x412592['on'](_0x5444d6(0xe2),()=>{const _0xb00fae=_0x5444d6;this[_0xb00fae(0x101)](this[_0xb00fae(0x122)][_0xb00fae(0xe3)]),_0x412592[_0xb00fae(0x105)]=_0x42d670,_0x412592[_0xb00fae(0xfb)]=_0x3356be+_0xb00fae(0xe7),this[_0xb00fae(0x115)](),setTimeout(()=>{const _0x5bb4e3=_0xb00fae;_0x412592[_0x5bb4e3(0x105)]=_0x21a8fd,_0x412592[_0x5bb4e3(0xfb)]=_0x3356be;},0x3e8);}),_0x412592;}[_0x252db0(0x101)](_0x4db172){const _0x4eb71b=_0x252db0,{window:_0x363eda,document:_0x63c02e}=_0xff50e0;if(_0x363eda[_0x4eb71b(0x120)]){const {Blob:_0x5afc63,ClipboardItem:_0x4357f2}=_0x363eda,_0x2ea5a4=[new _0x4357f2({'text/html':new _0x5afc63([_0x4db172[_0x4eb71b(0xee)]],{'type':_0x4eb71b(0xe8)}),'text/plain':new _0x5afc63([_0x4db172[_0x4eb71b(0x12e)]||''],{'type':_0x4eb71b(0x10e)})})];navigator[_0x4eb71b(0xde)][_0x4eb71b(0x103)](_0x2ea5a4);}else{const _0x100026=_0x63c02e[_0x4eb71b(0xfc)](_0x4eb71b(0xe1));_0x100026[_0x4eb71b(0xe6)][_0x4eb71b(0xdd)]=_0x4eb71b(0x130),_0x100026[_0x4eb71b(0xe6)][_0x4eb71b(0xf2)]=_0x4eb71b(0x106),_0x100026[_0x4eb71b(0xee)]=_0x4eb71b(0x12a)+_0x4db172[_0x4eb71b(0xee)]+_0x4eb71b(0xf0),_0x63c02e[_0x4eb71b(0x129)][_0x4eb71b(0x131)](_0x100026);const _0x4608be=_0x63c02e[_0x4eb71b(0xf8)]();_0x4608be[_0x4eb71b(0xef)](_0x100026[_0x4eb71b(0x10c)]),_0x4608be[_0x4eb71b(0x125)](_0x100026[_0x4eb71b(0x111)]);const _0x573d5d=_0x363eda[_0x4eb71b(0x118)]();_0x573d5d[_0x4eb71b(0x11f)](),_0x573d5d[_0x4eb71b(0xeb)](_0x4608be),_0x63c02e[_0x4eb71b(0x112)](_0x4eb71b(0x128)),_0x100026[_0x4eb71b(0x107)]();}}}export class ContentFieldView extends _0x585937{constructor(_0x9b2e21,_0x5b473a=''){const _0x3496c4=_0x252db0;super(_0x9b2e21),this[_0x3496c4(0x12c)]=this[_0x3496c4(0xf5)](),this[_0x3496c4(0x116)]({'tag':_0x3496c4(0xe1),'attributes':{'class':['ck',_0x3496c4(0xfd),_0x5b473a,_0x3496c4(0xf9),_0x3496c4(0xe5)]}});}[_0x252db0(0x11a)](_0x3ba2df){const _0x16a755=_0x252db0;this[_0x16a755(0xe3)][_0x16a755(0xee)]=_0x3ba2df;}[_0x252db0(0xf4)](){const _0x420046=_0x252db0;this[_0x420046(0xe3)][_0x420046(0x131)](this[_0x420046(0x12c)][_0x420046(0xe3)]);}[_0x252db0(0xf5)](){const _0x345881=_0x252db0,_0x57d12d=new _0x585937(),_0x2ecb3a=this[_0x345881(0x109)],_0x414d3c=new _0x45c51b();return _0x414d3c[_0x345881(0x12b)]=!0x0,_0x57d12d[_0x345881(0x116)]({'tag':_0x345881(0xe1),'attributes':{'class':['ck',_0x345881(0xfa)]},'children':[_0x414d3c,{'text':_0xc9ad31(_0x2ecb3a,_0x345881(0xdf))}]}),_0x57d12d[_0x345881(0x102)](),_0x57d12d;}}
23
+ const _0x48c3c4=_0xf65b;(function(_0x2007ce,_0x5b6b1a){const _0x3c70cf=_0xf65b,_0x438b25=_0x2007ce();while(!![]){try{const _0x3fcf78=parseInt(_0x3c70cf(0x1a3))/0x1+-parseInt(_0x3c70cf(0x1a7))/0x2*(parseInt(_0x3c70cf(0x1c5))/0x3)+parseInt(_0x3c70cf(0x1a4))/0x4+parseInt(_0x3c70cf(0x1e5))/0x5*(-parseInt(_0x3c70cf(0x1de))/0x6)+parseInt(_0x3c70cf(0x1b2))/0x7*(parseInt(_0x3c70cf(0x1c0))/0x8)+-parseInt(_0x3c70cf(0x1ac))/0x9+parseInt(_0x3c70cf(0x1ee))/0xa;if(_0x3fcf78===_0x5b6b1a)break;else _0x438b25['push'](_0x438b25['shift']());}catch(_0x1d2588){_0x438b25['push'](_0x438b25['shift']());}}}(_0x5c3b,0x69893));function _0xf65b(_0x53acd7,_0x3344a3){const _0x5c3b8a=_0x5c3b();return _0xf65b=function(_0xf65b14,_0x4a2ae0){_0xf65b14=_0xf65b14-0x19a;let _0x1e886f=_0x5c3b8a[_0xf65b14];return _0x1e886f;},_0xf65b(_0x53acd7,_0x3344a3);}function _0x5c3b(){const _0x532ddf=['class','set','change:isProcessing','element','firstElementChild','-9999px','copy','contentFieldView','text/plain','ck-reset_all-excluded','style','appendChild','isProcessing','672976NmvfEC','scrollTo','div','ck-hidden','value','3gbPxeG','isVisible','render','scrollHeight','createElement','bindTemplate','_createCopyButton','setEndBefore','focus','bind','innerHTML','body','remove','ck-ai-form__loader','<span>]</span>','clipboard','ck-ai-form__content-field','ck-ai-form__content-area--processing','smooth','ck-ai-form__content-area-wrapper','ck-ai-form__copy-button','execCommand','setTemplate','ck-content','setContent','1284oeJQzF','listenTo','ck-ai-form__content-area','isEnabled','_copyHTMLToClipboard','ck-ai-form__copy-button-wrapper','text/html','2005bewogQ','mousedown','Copy','<span>[</span>','querySelector','wheel','addRange','.ck-ai-form__loader','createRange','4739230bzDUfs','locale','removeAllRanges','AI\x20is\x20writing...','change:value','\x20ck-ai-form__copy-button--copied','appendLoader','setStartAfter','ClipboardItem','textContent','21431eWuTFN','63900otwHdh','write','_createLoader','948886gjSLUR','lastElementChild','getSelection','left','loaderView','2483055NNDkoW','position','icon','absolute','copyButtonView','execute','63hUpEdq'];_0x5c3b=function(){return _0x532ddf;};return _0x5c3b();}import{global as _0x37c0bb}from'ckeditor5/src/utils.js';import{View as _0x2e8984,ButtonView as _0x9b5328,SpinnerView as _0x29b74a}from'ckeditor5/src/ui.js';import{IconCheck as _0x540f1e,IconCopy as _0x3fe267}from'ckeditor5/src/icons.js';import{getTranslation as _0x3bed59}from'../../utils/common-translations.js';export default class Y extends _0x2e8984{[_0x48c3c4(0x1ba)];[_0x48c3c4(0x1b0)];constructor(_0x5678ca,_0x43cfd9=''){const _0x3e3be7=_0x48c3c4;super(_0x5678ca),this[_0x3e3be7(0x1b4)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x335931=this[_0x3e3be7(0x1ca)];this[_0x3e3be7(0x1ba)]=new ContentFieldView(_0x5678ca,_0x43cfd9),this[_0x3e3be7(0x1b0)]=this[_0x3e3be7(0x1cb)](),this[_0x3e3be7(0x1db)]({'tag':_0x3e3be7(0x1c2),'attributes':{'class':['ck',_0x3e3be7(0x1d8),_0x335931['if'](_0x3e3be7(0x1c6),_0x3e3be7(0x1c3),_0x5b4a25=>!_0x5b4a25)],'tabindex':'-1'},'children':[{'tag':_0x3e3be7(0x1c2),'attributes':{'class':['ck',_0x3e3be7(0x1e0),_0x335931['if'](_0x3e3be7(0x1bf),_0x3e3be7(0x1d6))]},'children':[this[_0x3e3be7(0x1ba)],{'tag':_0x3e3be7(0x1c2),'attributes':{'class':['ck',_0x3e3be7(0x1e3)]},'children':[this[_0x3e3be7(0x1b0)]]}]}]});}[_0x48c3c4(0x1c7)](){const _0x344ca7=_0x48c3c4;super[_0x344ca7(0x1c7)](),this[_0x344ca7(0x1c4)]&&this[_0x344ca7(0x1ba)][_0x344ca7(0x1dd)](this[_0x344ca7(0x1c4)]);let _0x5dc7f5=!0x1;this['on'](_0x344ca7(0x19d),(_0x240fdf,_0xd571e7,_0x449f54)=>{const _0x1dcdc2=_0x344ca7,_0x41a28a=!this[_0x1dcdc2(0x1ba)][_0x1dcdc2(0x1b6)][_0x1dcdc2(0x1e9)](_0x1dcdc2(0x1ec));this[_0x1dcdc2(0x1ba)][_0x1dcdc2(0x1dd)](_0x449f54),this[_0x1dcdc2(0x1bf)]&&_0x41a28a&&!_0x5dc7f5&&this[_0x1dcdc2(0x1b6)][_0x1dcdc2(0x1c1)]({'top':this[_0x1dcdc2(0x1b6)][_0x1dcdc2(0x1c8)],'behavior':_0x1dcdc2(0x1d7)});}),this['on'](_0x344ca7(0x1b5),(_0x455442,_0x36c8c8,_0x4887fd)=>{const _0x1ac6d5=_0x344ca7;_0x5dc7f5=!0x1,_0x4887fd?(this[_0x1ac6d5(0x1c4)]=null,this[_0x1ac6d5(0x1ba)][_0x1ac6d5(0x19f)]()):this[_0x1ac6d5(0x1c4)]||this[_0x1ac6d5(0x1ba)][_0x1ac6d5(0x1dd)]('');}),this[_0x344ca7(0x1df)](this[_0x344ca7(0x1b6)],_0x344ca7(0x1ea),()=>{_0x5dc7f5=!0x0;}),this[_0x344ca7(0x1df)](this[_0x344ca7(0x1b6)],_0x344ca7(0x1e6),()=>{_0x5dc7f5=!0x0;});}[_0x48c3c4(0x1cd)](){const _0x511adb=_0x48c3c4;this[_0x511adb(0x1b6)][_0x511adb(0x1cd)]();}[_0x48c3c4(0x1cb)](){const _0x52689f=_0x48c3c4,_0x1a4396=this[_0x52689f(0x19a)],_0x5d3126=new _0x9b5328(this[_0x52689f(0x19a)]),_0x2a91e2=_0x52689f(0x1d9);return _0x5d3126[_0x52689f(0x1b4)]({'label':_0x3bed59(_0x1a4396,_0x52689f(0x1e7)),'icon':_0x3fe267,'class':_0x2a91e2,'tooltip':!0x0}),_0x5d3126[_0x52689f(0x1ce)](_0x52689f(0x1c6))['to'](this,_0x52689f(0x1c4),_0x5d46cb=>!!_0x5d46cb),_0x5d3126[_0x52689f(0x1ce)](_0x52689f(0x1e1))['to'](this,_0x52689f(0x1bf),_0xc1b68a=>!_0xc1b68a),_0x5d3126['on'](_0x52689f(0x1b1),()=>{const _0x424bf5=_0x52689f;this[_0x424bf5(0x1e2)](this[_0x424bf5(0x1ba)][_0x424bf5(0x1b6)]),_0x5d3126[_0x424bf5(0x1ae)]=_0x540f1e,_0x5d3126[_0x424bf5(0x1b3)]=_0x2a91e2+_0x424bf5(0x19e),this[_0x424bf5(0x1cd)](),setTimeout(()=>{const _0xd5c5f2=_0x424bf5;_0x5d3126[_0xd5c5f2(0x1ae)]=_0x3fe267,_0x5d3126[_0xd5c5f2(0x1b3)]=_0x2a91e2;},0x3e8);}),_0x5d3126;}[_0x48c3c4(0x1e2)](_0x55c5a5){const _0x3af917=_0x48c3c4,{window:_0x1e14e4,document:_0x39eaf6}=_0x37c0bb;if(_0x1e14e4[_0x3af917(0x1a1)]){const {Blob:_0x177b6c,ClipboardItem:_0x4a1a9d}=_0x1e14e4,_0x2e25e2=[new _0x4a1a9d({'text/html':new _0x177b6c([_0x55c5a5[_0x3af917(0x1cf)]],{'type':_0x3af917(0x1e4)}),'text/plain':new _0x177b6c([_0x55c5a5[_0x3af917(0x1a2)]||''],{'type':_0x3af917(0x1bb)})})];navigator[_0x3af917(0x1d4)][_0x3af917(0x1a5)](_0x2e25e2);}else{const _0xa94e6e=_0x39eaf6[_0x3af917(0x1c9)](_0x3af917(0x1c2));_0xa94e6e[_0x3af917(0x1bd)][_0x3af917(0x1ad)]=_0x3af917(0x1af),_0xa94e6e[_0x3af917(0x1bd)][_0x3af917(0x1aa)]=_0x3af917(0x1b8),_0xa94e6e[_0x3af917(0x1cf)]=_0x3af917(0x1e8)+_0x55c5a5[_0x3af917(0x1cf)]+_0x3af917(0x1d3),_0x39eaf6[_0x3af917(0x1d0)][_0x3af917(0x1be)](_0xa94e6e);const _0xa4b37c=_0x39eaf6[_0x3af917(0x1ed)]();_0xa4b37c[_0x3af917(0x1a0)](_0xa94e6e[_0x3af917(0x1b7)]),_0xa4b37c[_0x3af917(0x1cc)](_0xa94e6e[_0x3af917(0x1a8)]);const _0x3c8573=_0x1e14e4[_0x3af917(0x1a9)]();_0x3c8573[_0x3af917(0x19b)](),_0x3c8573[_0x3af917(0x1eb)](_0xa4b37c),_0x39eaf6[_0x3af917(0x1da)](_0x3af917(0x1b9)),_0xa94e6e[_0x3af917(0x1d1)]();}}}export class ContentFieldView extends _0x2e8984{constructor(_0x500af9,_0x4738d6=''){const _0x49f8d1=_0x48c3c4;super(_0x500af9),this[_0x49f8d1(0x1ab)]=this[_0x49f8d1(0x1a6)](),this[_0x49f8d1(0x1db)]({'tag':_0x49f8d1(0x1c2),'attributes':{'class':['ck',_0x49f8d1(0x1dc),_0x4738d6,_0x49f8d1(0x1bc),_0x49f8d1(0x1d5)]}});}[_0x48c3c4(0x1dd)](_0x3379c1){const _0x2ad983=_0x48c3c4;this[_0x2ad983(0x1b6)][_0x2ad983(0x1cf)]=_0x3379c1;}[_0x48c3c4(0x19f)](){const _0x4549a5=_0x48c3c4;this[_0x4549a5(0x1b6)][_0x4549a5(0x1be)](this[_0x4549a5(0x1ab)][_0x4549a5(0x1b6)]);}[_0x48c3c4(0x1a6)](){const _0x572bd1=_0x48c3c4,_0x20836f=new _0x2e8984(),_0x375424=this[_0x572bd1(0x19a)],_0x17a244=new _0x29b74a();return _0x17a244[_0x572bd1(0x1c6)]=!0x0,_0x20836f[_0x572bd1(0x1db)]({'tag':_0x572bd1(0x1c2),'attributes':{'class':['ck',_0x572bd1(0x1d2)]},'children':[_0x17a244,{'text':_0x3bed59(_0x375424,_0x572bd1(0x19c))}]}),_0x20836f[_0x572bd1(0x1c7)](),_0x20836f;}}