@ckeditor/ckeditor5-ai 46.0.0-alpha.0 → 46.0.0-alpha.2

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 (171) 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.d.ts +1 -2
  154. package/src/adapters/openaitextadapter.js +1 -1
  155. package/src/aiassistant.js +1 -1
  156. package/src/aiassistantediting.js +1 -1
  157. package/src/aiassistantui.js +1 -1
  158. package/src/index.js +1 -1
  159. package/src/legacyerrors.js +1 -1
  160. package/src/ui/aiassistantcontroller.js +2 -2
  161. package/src/ui/form/aiformcontentarea.js +1 -1
  162. package/src/ui/form/aiformerrorview.js +1 -1
  163. package/src/ui/form/aiformpromptview.js +1 -1
  164. package/src/ui/form/aiformtoolbarview.js +1 -1
  165. package/src/ui/form/aiformview.js +1 -1
  166. package/src/ui/form/aihistorylistitemview.js +1 -1
  167. package/src/ui/form/aihistorylistview.js +1 -1
  168. package/src/ui/form/prompthistory.js +1 -1
  169. package/src/ui/showaiassistantcommand.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56b91a=_0x5ba7;(function(_0x41c82d,_0x4910d0){const _0x2476a5=_0x5ba7,_0x2b301f=_0x41c82d();while(!![]){try{const _0xe8f4b6=parseInt(_0x2476a5(0x1ed))/0x1+-parseInt(_0x2476a5(0x1d7))/0x2+-parseInt(_0x2476a5(0x1ea))/0x3*(-parseInt(_0x2476a5(0x206))/0x4)+parseInt(_0x2476a5(0x1e2))/0x5*(-parseInt(_0x2476a5(0x1e3))/0x6)+parseInt(_0x2476a5(0x1dd))/0x7+parseInt(_0x2476a5(0x209))/0x8+-parseInt(_0x2476a5(0x20d))/0x9;if(_0xe8f4b6===_0x4910d0)break;else _0x2b301f['push'](_0x2b301f['shift']());}catch(_0x13367d){_0x2b301f['push'](_0x2b301f['shift']());}}}(_0xb675,0xbf78e));import{AITextAdapter as _0x6cb5a6}from'./aitextadapter.js';import{AIRequestError as _0x2785d5}from'./aiadapter.js';function _0xb675(){const _0x120e7b=['_requestParameters','get','2104004amRBzy','_readStaticResponse','body','message','_prepareRequestParameters','326065NOqqtx','66EZJicv','read','_readStreamableResponse','gpt-3.5-turbo','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','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','75zMbMCg','map','replace','645398xdWRCz','stream','decode','_isBufferIncomplete','includes','system','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.','join','stringify','abortController','_prepareRequestHeaders','pluginName','split','_apiUrl','https://api.openai.com/v1/chat/completions','choices','_requestHeaders','user','AI_ERROR_CONTEXT_LENGTH','[DONE]','locale','text','content','ai.openAI.requestParameters','Moderation','21524mIAUmo','filter','delta','8464688okmsNx','reject','prepareMessages','Instruction:\x0a','2328147zVIWGs','data:\x20','define','signal','resolve','length','_cleanUpData','OpenAITextAdapter','getReader','json','context_length_exceeded','editor','AI_ERROR_MODERATION','ai.openAI.requestHeaders','config','756570UEMfSQ','ai.openAI.apiUrl','parse','sendRequest'];_0xb675=function(){return _0x120e7b;};return _0xb675();}import{getTranslation as _0x3a5dc7}from'../utils/common-translations.js';function _0x5ba7(_0x491e5d,_0x1e8c28){const _0xb6753a=_0xb675();return _0x5ba7=function(_0x5ba783,_0x1736db){_0x5ba783=_0x5ba783-0x1ca;let _0x144dc7=_0xb6753a[_0x5ba783];return _0x144dc7;},_0x5ba7(_0x491e5d,_0x1e8c28);}export class OpenAITextAdapter extends _0x6cb5a6{[_0x56b91a(0x1fa)];[_0x56b91a(0x1fd)];[_0x56b91a(0x1db)];static get[_0x56b91a(0x1f8)](){const _0x4f517a=_0x56b91a;return _0x4f517a(0x1cf);}constructor(_0x4180e8){const _0x3528ca=_0x56b91a;super(_0x4180e8),_0x4180e8[_0x3528ca(0x1d6)][_0x3528ca(0x1ca)](_0x3528ca(0x1d8),_0x3528ca(0x1fb)),_0x4180e8[_0x3528ca(0x1d6)][_0x3528ca(0x1dc)](_0x3528ca(0x204))||_0x4180e8[_0x3528ca(0x1d6)][_0x3528ca(0x1ca)](_0x3528ca(0x204),{'model':_0x3528ca(0x1e6),'max_tokens':0x7d0,'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x3528ca(0x1fa)]=_0x4180e8[_0x3528ca(0x1d6)][_0x3528ca(0x1dc)](_0x3528ca(0x1d8)),this[_0x3528ca(0x1fd)]=_0x4180e8[_0x3528ca(0x1d6)][_0x3528ca(0x1dc)](_0x3528ca(0x1d5))||{},this[_0x3528ca(0x1db)]=_0x4180e8[_0x3528ca(0x1d6)][_0x3528ca(0x1dc)](_0x3528ca(0x204));}async[_0x56b91a(0x1da)]({query:_0x380cea,context:_0x8dd051,onData:_0x52bb7e,actionId:_0x3e1e4e}){const _0x5c2124=_0x56b91a,_0x21d81b=this[_0x5c2124(0x1d3)][_0x5c2124(0x201)],_0x3fc63b=await this[_0x5c2124(0x20b)](_0x380cea,_0x8dd051,_0x3e1e4e),_0x30cc95=await this[_0x5c2124(0x1f7)](this[_0x5c2124(0x1fd)],_0x3e1e4e),_0x826bc2=await this[_0x5c2124(0x1e1)](this[_0x5c2124(0x1db)],_0x3e1e4e),_0x9b0635={'messages':_0x3fc63b,..._0x826bc2},_0x3de2b0={'method':_0x5c2124(0x1e9),'headers':_0x30cc95,'body':JSON[_0x5c2124(0x1f5)](_0x9b0635),'signal':this[_0x5c2124(0x1f6)][_0x5c2124(0x1cb)]},_0x516326=await fetch(this[_0x5c2124(0x1fa)],_0x3de2b0);if(_0x516326['ok'])return _0x826bc2[_0x5c2124(0x1ee)]?await this[_0x5c2124(0x1e5)](_0x516326,_0x52bb7e):await this[_0x5c2124(0x1de)](_0x516326,_0x52bb7e),Promise[_0x5c2124(0x1cc)]();{const _0x4ce89c=await _0x516326[_0x5c2124(0x202)]();return _0x4ce89c[_0x5c2124(0x1f1)](_0x5c2124(0x1d2))?Promise[_0x5c2124(0x20a)](new _0x2785d5(_0x3a5dc7(_0x21d81b,_0x5c2124(0x1ff)))):_0x4ce89c[_0x5c2124(0x1f1)](_0x5c2124(0x205))?Promise[_0x5c2124(0x20a)](new _0x2785d5(_0x3a5dc7(_0x21d81b,_0x5c2124(0x1d4)))):Promise[_0x5c2124(0x20a)](new Error(_0x4ce89c));}}async[_0x56b91a(0x20b)](_0x14c7d5,_0x65d0f,_0x304997){const _0x3cde2c=_0x56b91a;let _0x2cd2f,_0x153db9;return _0x65d0f?(_0x2cd2f=_0x3cde2c(0x1f3),_0x153db9=_0x3cde2c(0x20c)+_0x14c7d5+_0x3cde2c(0x1e7)+_0x65d0f):(_0x2cd2f=_0x3cde2c(0x1e8),_0x153db9=_0x14c7d5),[{'role':_0x3cde2c(0x1f2),'content':_0x2cd2f},{'role':_0x3cde2c(0x1fe),'content':_0x153db9}];}async[_0x56b91a(0x1e5)](_0x199659,_0xd7272c){const _0x143b54=_0x56b91a,_0xf2d9fb=_0x199659[_0x143b54(0x1df)][_0x143b54(0x1d0)](),_0x35773a=new TextDecoder();let _0x19a5a6='',_0x26f122='',_0x32af53='',_0x46537f=!0x1;for(;!_0x46537f;){const {done:_0x41fb8c,value:_0x220802}=await _0xf2d9fb[_0x143b54(0x1e4)](),_0xdfb300=_0x19a5a6+_0x35773a[_0x143b54(0x1ef)](_0x220802);let _0x2d4d62='';_0x46537f=_0x41fb8c;try{_0x2d4d62=this[_0x143b54(0x1ce)](_0xdfb300),_0x19a5a6='';}catch{_0x19a5a6=_0xdfb300;continue;}_0x26f122+=_0x2d4d62,!_0x46537f&&this[_0x143b54(0x1f0)](_0x26f122)||_0x26f122&&(_0x32af53+=_0x26f122,_0x26f122='',_0xd7272c(_0x32af53));}return Promise[_0x143b54(0x1cc)]();}async[_0x56b91a(0x1de)](_0x367887,_0x56ef63){const _0x43633e=_0x56b91a;return _0x56ef63((await _0x367887[_0x43633e(0x1d1)]())[_0x43633e(0x1fc)][0x0][_0x43633e(0x1e0)][_0x43633e(0x203)]),Promise[_0x43633e(0x1cc)]();}[_0x56b91a(0x1f0)](_0x20ae0f){const _0x77566d=_0x56b91a,_0x330b12=_0x20ae0f[_0x77566d(0x1f9)]('<')[_0x77566d(0x1cd)]!==_0x20ae0f[_0x77566d(0x1f9)]('>')[_0x77566d(0x1cd)],_0x2b0393=_0x20ae0f[_0x77566d(0x1cd)]<0x1e;return _0x330b12&&_0x2b0393;}[_0x56b91a(0x1ce)](_0x1a70d5){const _0x1099d0=_0x56b91a;return _0x1a70d5[_0x1099d0(0x1f9)](/\n(?![^{]*\})/g)[_0x1099d0(0x1eb)](_0xeab149=>_0xeab149[_0x1099d0(0x1ec)](_0x1099d0(0x20e),''))[_0x1099d0(0x207)](_0x1b6778=>_0x1b6778&&_0x1b6778[_0x1099d0(0x1cd)]>0x0&&_0x1099d0(0x200)!==_0x1b6778)[_0x1099d0(0x1eb)](_0x5224da=>{const _0xd75017=_0x1099d0,{choices:_0x1208be}=JSON[_0xd75017(0x1d9)](_0x5224da);if(_0x1208be[0x0]?.[_0xd75017(0x208)]?.[_0xd75017(0x203)])return _0x1208be[0x0][_0xd75017(0x208)][_0xd75017(0x203)];})[_0x1099d0(0x207)](_0x5ee66d=>_0x5ee66d)[_0x1099d0(0x1f4)]('');}}
23
+ const _0x34d222=_0x177a;(function(_0x12329d,_0x54267d){const _0x4dafae=_0x177a,_0x5335f6=_0x12329d();while(!![]){try{const _0x334de6=-parseInt(_0x4dafae(0x1cb))/0x1*(-parseInt(_0x4dafae(0x1ae))/0x2)+parseInt(_0x4dafae(0x1de))/0x3*(parseInt(_0x4dafae(0x1cd))/0x4)+parseInt(_0x4dafae(0x1a5))/0x5+parseInt(_0x4dafae(0x1be))/0x6*(-parseInt(_0x4dafae(0x19a))/0x7)+parseInt(_0x4dafae(0x1b9))/0x8+parseInt(_0x4dafae(0x1a1))/0x9+parseInt(_0x4dafae(0x1d2))/0xa*(-parseInt(_0x4dafae(0x1a7))/0xb);if(_0x334de6===_0x54267d)break;else _0x5335f6['push'](_0x5335f6['shift']());}catch(_0x5957c4){_0x5335f6['push'](_0x5335f6['shift']());}}}(_0xa47c,0xbea76));import{AITextAdapter as _0x47e968}from'./aitextadapter.js';import{AIRequestError as _0x4ded8c}from'./aiadapter.js';function _0xa47c(){const _0x3b11c5=['_requestHeaders','Moderation','7EByYxa','editor','get','Instruction:\x0a','text','split','ai.openAI.requestHeaders','13177557kUCopr','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.','_prepareRequestParameters','signal','1036705QMRpkE','user','9449ICxOQy','abortController','getReader','stringify','decode','message','AI_ERROR_CONTEXT_LENGTH','2OOEQhb','data:\x20','filter','gpt-4o','define','_readStaticResponse','resolve','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.','json','[DONE]','https://api.openai.com/v1/chat/completions','4422208SpXLFa','ai.openAI.apiUrl','_requestParameters','pluginName','system','1009884EWpEel','_prepareRequestHeaders','context_length_exceeded','sendRequest','_isBufferIncomplete','length','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','content','replace','stream','choices','ai.openAI.requestParameters','prepareMessages','1441148JMzaps','OpenAITextAdapter','4EblBAP','includes','join','config','_cleanUpData','38690huxjBR','POST','read','parse','AI_ERROR_MODERATION','_readStreamableResponse','map','delta','body','reject','locale','_apiUrl','1821795hrWvXo'];_0xa47c=function(){return _0x3b11c5;};return _0xa47c();}import{getTranslation as _0x3e4fe0}from'../utils/common-translations.js';function _0x177a(_0x5e05a3,_0x244311){const _0xa47c02=_0xa47c();return _0x177a=function(_0x177af0,_0x483783){_0x177af0=_0x177af0-0x199;let _0x37f52e=_0xa47c02[_0x177af0];return _0x37f52e;},_0x177a(_0x5e05a3,_0x244311);}export class OpenAITextAdapter extends _0x47e968{[_0x34d222(0x1dd)];[_0x34d222(0x1df)];[_0x34d222(0x1bb)];static get[_0x34d222(0x1bc)](){const _0x30d108=_0x34d222;return _0x30d108(0x1cc);}constructor(_0x5335c8){const _0x4b574c=_0x34d222;super(_0x5335c8),_0x5335c8[_0x4b574c(0x1d0)][_0x4b574c(0x1b2)](_0x4b574c(0x1ba),_0x4b574c(0x1b8)),_0x5335c8[_0x4b574c(0x1d0)][_0x4b574c(0x19c)](_0x4b574c(0x1c9))||_0x5335c8[_0x4b574c(0x1d0)][_0x4b574c(0x1b2)](_0x4b574c(0x1c9),{'model':_0x4b574c(0x1b1),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4b574c(0x1dd)]=_0x5335c8[_0x4b574c(0x1d0)][_0x4b574c(0x19c)](_0x4b574c(0x1ba)),this[_0x4b574c(0x1df)]=_0x5335c8[_0x4b574c(0x1d0)][_0x4b574c(0x19c)](_0x4b574c(0x1a0))||{},this[_0x4b574c(0x1bb)]=_0x5335c8[_0x4b574c(0x1d0)][_0x4b574c(0x19c)](_0x4b574c(0x1c9));}async[_0x34d222(0x1c1)]({query:_0x457d5a,context:_0x32a1f1,onData:_0x17fe3d,actionId:_0x3fc786}){const _0x8d7318=_0x34d222,_0x5b9268=this[_0x8d7318(0x19b)][_0x8d7318(0x1dc)],_0x8cbd44=await this[_0x8d7318(0x1ca)](_0x457d5a,_0x32a1f1,_0x3fc786),_0x117384=await this[_0x8d7318(0x1bf)](this[_0x8d7318(0x1df)],_0x3fc786),_0x5a631c=await this[_0x8d7318(0x1a3)](this[_0x8d7318(0x1bb)],_0x3fc786),_0x12f597={'messages':_0x8cbd44,..._0x5a631c},_0x2b694={'method':_0x8d7318(0x1d3),'headers':_0x117384,'body':JSON[_0x8d7318(0x1aa)](_0x12f597),'signal':this[_0x8d7318(0x1a8)][_0x8d7318(0x1a4)]},_0x55e335=await fetch(this[_0x8d7318(0x1dd)],_0x2b694);if(_0x55e335['ok'])return _0x5a631c[_0x8d7318(0x1c7)]?await this[_0x8d7318(0x1d7)](_0x55e335,_0x17fe3d):await this[_0x8d7318(0x1b3)](_0x55e335,_0x17fe3d),Promise[_0x8d7318(0x1b4)]();{const _0x470b5c=await _0x55e335[_0x8d7318(0x19e)]();return _0x470b5c[_0x8d7318(0x1ce)](_0x8d7318(0x1c0))?Promise[_0x8d7318(0x1db)](new _0x4ded8c(_0x3e4fe0(_0x5b9268,_0x8d7318(0x1ad)))):_0x470b5c[_0x8d7318(0x1ce)](_0x8d7318(0x199))?Promise[_0x8d7318(0x1db)](new _0x4ded8c(_0x3e4fe0(_0x5b9268,_0x8d7318(0x1d6)))):Promise[_0x8d7318(0x1db)](new Error(_0x470b5c));}}async[_0x34d222(0x1ca)](_0x12bcb6,_0x543140,_0x14fb8b){const _0x1257b0=_0x34d222;let _0x25bb96,_0x201328;return _0x543140?(_0x25bb96=_0x1257b0(0x1b5),_0x201328=_0x1257b0(0x19d)+_0x12bcb6+_0x1257b0(0x1c4)+_0x543140):(_0x25bb96=_0x1257b0(0x1a2),_0x201328=_0x12bcb6),[{'role':_0x1257b0(0x1bd),'content':_0x25bb96},{'role':_0x1257b0(0x1a6),'content':_0x201328}];}async[_0x34d222(0x1d7)](_0x22f45f,_0x26d031){const _0x49e4d2=_0x34d222,_0x27eeaa=_0x22f45f[_0x49e4d2(0x1da)][_0x49e4d2(0x1a9)](),_0x7fad4c=new TextDecoder();let _0x276c71='',_0x5a05a2='',_0x3bb479='',_0x1b313c=!0x1;for(;!_0x1b313c;){const {done:_0x4e935c,value:_0x1a99ac}=await _0x27eeaa[_0x49e4d2(0x1d4)](),_0x3e0e19=_0x276c71+_0x7fad4c[_0x49e4d2(0x1ab)](_0x1a99ac);let _0x5b42be='';_0x1b313c=_0x4e935c;try{_0x5b42be=this[_0x49e4d2(0x1d1)](_0x3e0e19),_0x276c71='';}catch{_0x276c71=_0x3e0e19;continue;}_0x5a05a2+=_0x5b42be,!_0x1b313c&&this[_0x49e4d2(0x1c2)](_0x5a05a2)||_0x5a05a2&&(_0x3bb479+=_0x5a05a2,_0x5a05a2='',_0x26d031(_0x3bb479));}return Promise[_0x49e4d2(0x1b4)]();}async[_0x34d222(0x1b3)](_0xa16c5,_0x177b6d){const _0xbb7981=_0x34d222;return _0x177b6d((await _0xa16c5[_0xbb7981(0x1b6)]())[_0xbb7981(0x1c8)][0x0][_0xbb7981(0x1ac)][_0xbb7981(0x1c5)]),Promise[_0xbb7981(0x1b4)]();}[_0x34d222(0x1c2)](_0x8eddd2){const _0x4568c2=_0x34d222,_0x201d8a=_0x8eddd2[_0x4568c2(0x19f)]('<')[_0x4568c2(0x1c3)]!==_0x8eddd2[_0x4568c2(0x19f)]('>')[_0x4568c2(0x1c3)],_0x1da896=_0x8eddd2[_0x4568c2(0x1c3)]<0x1e;return _0x201d8a&&_0x1da896;}[_0x34d222(0x1d1)](_0x4d9081){const _0x3b9427=_0x34d222;return _0x4d9081[_0x3b9427(0x19f)](/\n(?![^{]*\})/g)[_0x3b9427(0x1d8)](_0x43a8ed=>_0x43a8ed[_0x3b9427(0x1c6)](_0x3b9427(0x1af),''))[_0x3b9427(0x1b0)](_0x18b800=>_0x18b800&&_0x18b800[_0x3b9427(0x1c3)]>0x0&&_0x3b9427(0x1b7)!==_0x18b800)[_0x3b9427(0x1d8)](_0x958960=>{const _0x44c2fb=_0x3b9427,{choices:_0x5aa11a}=JSON[_0x44c2fb(0x1d5)](_0x958960);if(_0x5aa11a[0x0]?.[_0x44c2fb(0x1d9)]?.[_0x44c2fb(0x1c5)])return _0x5aa11a[0x0][_0x44c2fb(0x1d9)][_0x44c2fb(0x1c5)];})[_0x3b9427(0x1b0)](_0x13541e=>_0x13541e)[_0x3b9427(0x1cf)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f8273=_0x1a63;(function(_0x20b64c,_0x44b357){const _0x75eec5=_0x1a63,_0x4b057c=_0x20b64c();while(!![]){try{const _0x233b7a=-parseInt(_0x75eec5(0xbd))/0x1*(-parseInt(_0x75eec5(0xa1))/0x2)+-parseInt(_0x75eec5(0xaf))/0x3*(-parseInt(_0x75eec5(0xe6))/0x4)+parseInt(_0x75eec5(0x10b))/0x5+-parseInt(_0x75eec5(0xe8))/0x6*(parseInt(_0x75eec5(0xb9))/0x7)+parseInt(_0x75eec5(0xf5))/0x8+-parseInt(_0x75eec5(0x109))/0x9*(parseInt(_0x75eec5(0x10d))/0xa)+parseInt(_0x75eec5(0xfc))/0xb;if(_0x233b7a===_0x44b357)break;else _0x4b057c['push'](_0x4b057c['shift']());}catch(_0x2f349b){_0x4b057c['push'](_0x4b057c['shift']());}}}(_0x2f4f,0x35ae1));import{Plugin as _0x5e3faa}from'ckeditor5/src/core.js';function _0x1a63(_0x42dde8,_0x546f44){const _0x2f4faa=_0x2f4f();return _0x1a63=function(_0x1a63d3,_0x4a1340){_0x1a63d3=_0x1a63d3-0x9e;let _0x54c820=_0x2f4faa[_0x1a63d3];return _0x54c820;},_0x1a63(_0x42dde8,_0x546f44);}import{AIAssistantUI as _0x11f37e}from'./aiassistantui.js';function _0x2f4f(){const _0x148c2d=['Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','makeLonger','translateFrench','Portuguese','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Hindi','1862560lZHtRP','requires','ai.aiAssistant.commands','translateHindi','get','Summarize','commands','510741RVqFXx','changeStyle','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','generate','translateGerman','translateEnglish','define','journalism','ai.aiAssistant.preserveComments','translate','forEach','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Professional','220770absGfl','Change\x20style','925755hsCObp','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','130QiocpN','simplifyLanguage','Legal','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','77758QNtphc','translateArabic','includes','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Business','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','improveWriting','legal','config','groupId','push','professional','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translatePortuguese','341115TBreMH','Translate','changeTone','editOrReview','ai.aiAssistant.extraCommandGroups','Spanish','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Make\x20shorter','isPremiumPlugin','translateSpanish','609lWCMeM','AIAssistant','Arabic','confident','2nZFrik','English','filter','Improve\x20writing','Translate\x20the\x20content\x20to\x20French\x20language.','Translate\x20the\x20content\x20to\x20German\x20language.','Direct','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Simplify\x20language','Make\x20longer','French','Translate\x20the\x20content\x20to\x20English\x20language.','Casual','friendly','makeShorter','Translate\x20the\x20content\x20to\x20Spanish\x20language.','direct','business','concat','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Journalism','continue','German','Friendly','set','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Change\x20tone','summarize','locale','casual','Confident','Continue','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Generate\x20from\x20selection','Simplified\x20Chinese','poetic','pluginName','Poetic','isOfficialPlugin','4SSdIGB','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','8076rlSkec','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translateChinese','ai.aiAssistant.removeCommands','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','find'];_0x2f4f=function(){return _0x148c2d;};return _0x2f4f();}import{AIAssistantEditing as _0x1580ba}from'./aiassistantediting.js';import{getTranslation as _0x103041}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x31c09a}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x5e3faa{static get[_0x2f8273(0xf6)](){return[_0x11f37e,_0x1580ba];}static get[_0x2f8273(0xe3)](){const _0x998f50=_0x2f8273;return _0x998f50(0xba);}static get[_0x2f8273(0xe5)](){return!0x0;}static get[_0x2f8273(0xb7)](){return!0x0;}constructor(_0x1396a8){const _0x487e28=_0x2f8273;super(_0x1396a8);const _0x177bab=_0x1396a8[_0x487e28(0xa9)],_0x250f0a=_0x1396a8[_0x487e28(0xda)];_0x177bab[_0x487e28(0x102)](_0x487e28(0x104),!0x0),_0x177bab[_0x487e28(0x102)](_0x487e28(0xf7),getDefaultAICommands(_0x250f0a)),_0x177bab[_0x487e28(0x102)](_0x487e28(0xb3),[]),_0x177bab[_0x487e28(0x102)](_0x487e28(0xeb),[]);let _0x1c7d8c=_0x31c09a(_0x177bab[_0x487e28(0xf9)](_0x487e28(0xf7)),_0x250f0a);const _0x111e81=_0x177bab[_0x487e28(0xf9)](_0x487e28(0xb3)),_0x38d4ea=_0x177bab[_0x487e28(0xf9)](_0x487e28(0xeb));_0x111e81[_0x487e28(0x106)](_0xd997c0=>{const _0x5dd53f=_0x487e28,_0x514ced=_0x1c7d8c[_0x5dd53f(0xed)](_0x34f9f8=>_0x34f9f8[_0x5dd53f(0xaa)]===_0xd997c0[_0x5dd53f(0xaa)]);_0x514ced?_0x514ced[_0x5dd53f(0xfb)]=_0x514ced[_0x5dd53f(0xfb)][_0x5dd53f(0xcf)](_0xd997c0[_0x5dd53f(0xfb)]):_0x1c7d8c[_0x5dd53f(0xab)](_0xd997c0);}),_0x1c7d8c=_0x1c7d8c[_0x487e28(0xbf)](_0x101b19=>!_0x38d4ea[_0x487e28(0xa3)](_0x101b19[_0x487e28(0xaa)])),_0x1c7d8c[_0x487e28(0x106)](_0x1be88e=>{const _0x3354aa=_0x487e28;_0x1be88e[_0x3354aa(0xfb)]=_0x1be88e[_0x3354aa(0xfb)][_0x3354aa(0xbf)](_0x22bfbf=>!_0x38d4ea[_0x3354aa(0xa3)](_0x22bfbf['id']));}),_0x177bab[_0x487e28(0xd5)](_0x487e28(0xf7),_0x1c7d8c);}}export function getDefaultAICommands(_0x10323a){const _0x3f6136=_0x2f8273;return[{'groupId':_0x3f6136(0xb2),'groupLabel':_0x103041(_0x10323a,_0x3f6136(0xde)),'commands':[{'id':_0x3f6136(0xa7),'label':_0x103041(_0x10323a,_0x3f6136(0xc0)),'prompt':_0x3f6136(0x107)},{'id':_0x3f6136(0xcb),'label':_0x103041(_0x10323a,_0x3f6136(0xb6)),'prompt':_0x3f6136(0xe9)},{'id':_0x3f6136(0xef),'label':_0x103041(_0x10323a,_0x3f6136(0xc6)),'prompt':_0x3f6136(0xf2)},{'id':_0x3f6136(0x9e),'label':_0x103041(_0x10323a,_0x3f6136(0xc5)),'prompt':_0x3f6136(0xe7)}]},{'groupId':_0x3f6136(0xff),'groupLabel':_0x103041(_0x10323a,_0x3f6136(0xe0)),'commands':[{'id':_0x3f6136(0xd9),'label':_0x103041(_0x10323a,_0x3f6136(0xfa)),'prompt':_0x3f6136(0xf3)},{'id':_0x3f6136(0xd2),'label':_0x103041(_0x10323a,_0x3f6136(0xdd)),'prompt':_0x3f6136(0xb5)}]},{'groupId':_0x3f6136(0xb1),'groupLabel':_0x103041(_0x10323a,_0x3f6136(0xd8)),'commands':[{'id':_0x3f6136(0xac),'label':_0x103041(_0x10323a,_0x3f6136(0x108)),'prompt':_0x3f6136(0xd0)},{'id':_0x3f6136(0xdb),'label':_0x103041(_0x10323a,_0x3f6136(0xc9)),'prompt':_0x3f6136(0xd7)},{'id':_0x3f6136(0xcd),'label':_0x103041(_0x10323a,_0x3f6136(0xc3)),'prompt':_0x3f6136(0xfe)},{'id':_0x3f6136(0xbc),'label':_0x103041(_0x10323a,_0x3f6136(0xdc)),'prompt':_0x3f6136(0xc4)},{'id':_0x3f6136(0xca),'label':_0x103041(_0x10323a,_0x3f6136(0xd4)),'prompt':_0x3f6136(0xee)}]},{'groupId':_0x3f6136(0xfd),'groupLabel':_0x103041(_0x10323a,_0x3f6136(0x10a)),'commands':[{'id':_0x3f6136(0xce),'label':_0x103041(_0x10323a,_0x3f6136(0xa5)),'prompt':_0x3f6136(0xa6)},{'id':_0x3f6136(0xa8),'label':_0x103041(_0x10323a,_0x3f6136(0x9f)),'prompt':_0x3f6136(0x10c)},{'id':_0x3f6136(0x103),'label':_0x103041(_0x10323a,_0x3f6136(0xd1)),'prompt':_0x3f6136(0xa4)},{'id':_0x3f6136(0xe2),'label':_0x103041(_0x10323a,_0x3f6136(0xe4)),'prompt':_0x3f6136(0xad)}]},{'groupId':_0x3f6136(0x105),'groupLabel':_0x103041(_0x10323a,_0x3f6136(0xb0)),'commands':[{'id':_0x3f6136(0x101),'label':_0x103041(_0x10323a,_0x3f6136(0xbe)),'prompt':_0x3f6136(0xc8)},{'id':_0x3f6136(0xb8),'label':_0x103041(_0x10323a,_0x3f6136(0xb4)),'prompt':_0x3f6136(0xcc)},{'id':_0x3f6136(0xae),'label':_0x103041(_0x10323a,_0x3f6136(0xf1)),'prompt':_0x3f6136(0xec)},{'id':_0x3f6136(0x100),'label':_0x103041(_0x10323a,_0x3f6136(0xd3)),'prompt':_0x3f6136(0xc2)},{'id':_0x3f6136(0xf0),'label':_0x103041(_0x10323a,_0x3f6136(0xc7)),'prompt':_0x3f6136(0xc1)},{'id':_0x3f6136(0xea),'label':_0x103041(_0x10323a,_0x3f6136(0xe1)),'prompt':_0x3f6136(0xa0)},{'id':_0x3f6136(0xf8),'label':_0x103041(_0x10323a,_0x3f6136(0xf4)),'prompt':_0x3f6136(0xdf)},{'id':_0x3f6136(0xa2),'label':_0x103041(_0x10323a,_0x3f6136(0xbb)),'prompt':_0x3f6136(0xd6)}]}];}
23
+ function _0x3668(_0x1dc084,_0xb92982){const _0x46d241=_0x46d2();return _0x3668=function(_0x366812,_0x3911ee){_0x366812=_0x366812-0x14a;let _0x3e8c6a=_0x46d241[_0x366812];return _0x3e8c6a;},_0x3668(_0x1dc084,_0xb92982);}const _0x46339c=_0x3668;(function(_0xc628eb,_0x491087){const _0x4052b0=_0x3668,_0xe58ea2=_0xc628eb();while(!![]){try{const _0x21bf0c=-parseInt(_0x4052b0(0x1a1))/0x1*(parseInt(_0x4052b0(0x17b))/0x2)+-parseInt(_0x4052b0(0x160))/0x3+-parseInt(_0x4052b0(0x15a))/0x4*(-parseInt(_0x4052b0(0x15e))/0x5)+parseInt(_0x4052b0(0x166))/0x6+parseInt(_0x4052b0(0x17f))/0x7*(-parseInt(_0x4052b0(0x18b))/0x8)+-parseInt(_0x4052b0(0x155))/0x9*(parseInt(_0x4052b0(0x151))/0xa)+parseInt(_0x4052b0(0x176))/0xb;if(_0x21bf0c===_0x491087)break;else _0xe58ea2['push'](_0xe58ea2['shift']());}catch(_0x55aebd){_0xe58ea2['push'](_0xe58ea2['shift']());}}}(_0x46d2,0x4cca7));import{Plugin as _0x3bf9c7}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x10a6d9}from'./aiassistantui.js';import{AIAssistantEditing as _0x8dd33c}from'./aiassistantediting.js';function _0x46d2(){const _0xbd6e72=['Poetic','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','includes','Journalism','Legal','ai.aiAssistant.removeCommands','locale','filter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','13656VWSHor','Improve\x20writing','set','casual','confident','isPremiumPlugin','translatePortuguese','simplifyLanguage','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','generate','Spanish','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','concat','poetic','Translate\x20the\x20content\x20to\x20Hindi\x20language.','isOfficialPlugin','Direct','improveWriting','editOrReview','Change\x20style','Translate\x20the\x20content\x20to\x20German\x20language.','71YhNLiv','journalism','ai.aiAssistant.extraCommandGroups','translateEnglish','ai.aiAssistant.preserveComments','Translate\x20the\x20content\x20to\x20Arabic\x20language.','pluginName','Edit\x20or\x20review','Make\x20longer','forEach','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','changeTone','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','makeShorter','translateGerman','Continue','legal','translateChinese','define','German','friendly','Translate','commands','Portuguese','professional','Translate\x20the\x20content\x20to\x20French\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','changeStyle','makeLonger','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Summarize','config','194170pUkKxD','find','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','99fnRHjs','Simplify\x20language','translateSpanish','translateFrench','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','594284rrDAUX','ai.aiAssistant.commands','Change\x20tone','translateHindi','10Hwotjd','Make\x20shorter','739638rKwgxM','business','continue','Simplified\x20Chinese','summarize','Translate\x20the\x20content\x20to\x20Spanish\x20language.','1467102XsBtIx','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Generate\x20from\x20selection','French','direct','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Business','get','Confident','English','Friendly','Casual','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Professional','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','requires','11347358FyRtGm','AIAssistant','push','Translate\x20the\x20content\x20to\x20English\x20language.','translate','16292NmyrJq','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Hindi','groupId','903RYRjQc','translateArabic','Arabic'];_0x46d2=function(){return _0xbd6e72;};return _0x46d2();}import{getTranslation as _0x3b14db}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2f7e5b}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x3bf9c7{static get[_0x46339c(0x175)](){return[_0x10a6d9,_0x8dd33c];}static get[_0x46339c(0x1a7)](){const _0x12fa45=_0x46339c;return _0x12fa45(0x177);}static get[_0x46339c(0x19b)](){return!0x0;}static get[_0x46339c(0x190)](){return!0x0;}constructor(_0x515dcd){const _0xa8094e=_0x46339c;super(_0x515dcd);const _0x221a79=_0x515dcd[_0xa8094e(0x150)],_0x4355fe=_0x515dcd[_0xa8094e(0x188)];_0x221a79[_0xa8094e(0x1b3)](_0xa8094e(0x1a5),!0x0),_0x221a79[_0xa8094e(0x1b3)](_0xa8094e(0x15b),getDefaultAICommands(_0x4355fe)),_0x221a79[_0xa8094e(0x1b3)](_0xa8094e(0x1a3),[]),_0x221a79[_0xa8094e(0x1b3)](_0xa8094e(0x187),[]);let _0x570372=_0x2f7e5b(_0x221a79[_0xa8094e(0x16d)](_0xa8094e(0x15b)),_0x4355fe);const _0x2bf041=_0x221a79[_0xa8094e(0x16d)](_0xa8094e(0x1a3)),_0x37faef=_0x221a79[_0xa8094e(0x16d)](_0xa8094e(0x187));_0x2bf041[_0xa8094e(0x1aa)](_0x5a6ed6=>{const _0x4e9970=_0xa8094e,_0x122b64=_0x570372[_0x4e9970(0x152)](_0x5e3cee=>_0x5e3cee[_0x4e9970(0x17e)]===_0x5a6ed6[_0x4e9970(0x17e)]);_0x122b64?_0x122b64[_0x4e9970(0x1b7)]=_0x122b64[_0x4e9970(0x1b7)][_0x4e9970(0x198)](_0x5a6ed6[_0x4e9970(0x1b7)]):_0x570372[_0x4e9970(0x178)](_0x5a6ed6);}),_0x570372=_0x570372[_0xa8094e(0x189)](_0xb5a801=>!_0x37faef[_0xa8094e(0x184)](_0xb5a801[_0xa8094e(0x17e)])),_0x570372[_0xa8094e(0x1aa)](_0x3504a0=>{const _0x227b22=_0xa8094e;_0x3504a0[_0x227b22(0x1b7)]=_0x3504a0[_0x227b22(0x1b7)][_0x227b22(0x189)](_0x30be00=>!_0x37faef[_0x227b22(0x184)](_0x30be00['id']));}),_0x221a79[_0xa8094e(0x18d)](_0xa8094e(0x15b),_0x570372);}}export function getDefaultAICommands(_0x449925){const _0x458078=_0x46339c;return[{'groupId':_0x458078(0x19e),'groupLabel':_0x3b14db(_0x449925,_0x458078(0x1a8)),'commands':[{'id':_0x458078(0x19d),'label':_0x3b14db(_0x449925,_0x458078(0x18c)),'prompt':_0x458078(0x1ab)},{'id':_0x458078(0x1ae),'label':_0x3b14db(_0x449925,_0x458078(0x15f)),'prompt':_0x458078(0x174)},{'id':_0x458078(0x14d),'label':_0x3b14db(_0x449925,_0x458078(0x1a9)),'prompt':_0x458078(0x193)},{'id':_0x458078(0x192),'label':_0x3b14db(_0x449925,_0x458078(0x156)),'prompt':_0x458078(0x16b)}]},{'groupId':_0x458078(0x195),'groupLabel':_0x3b14db(_0x449925,_0x458078(0x168)),'commands':[{'id':_0x458078(0x164),'label':_0x3b14db(_0x449925,_0x458078(0x14f)),'prompt':_0x458078(0x154)},{'id':_0x458078(0x162),'label':_0x3b14db(_0x449925,_0x458078(0x1b0)),'prompt':_0x458078(0x194)}]},{'groupId':_0x458078(0x1ac),'groupLabel':_0x3b14db(_0x449925,_0x458078(0x15c)),'commands':[{'id':_0x458078(0x1b9),'label':_0x3b14db(_0x449925,_0x458078(0x173)),'prompt':_0x458078(0x172)},{'id':_0x458078(0x18e),'label':_0x3b14db(_0x449925,_0x458078(0x171)),'prompt':_0x458078(0x159)},{'id':_0x458078(0x16a),'label':_0x3b14db(_0x449925,_0x458078(0x19c)),'prompt':_0x458078(0x167)},{'id':_0x458078(0x18f),'label':_0x3b14db(_0x449925,_0x458078(0x16e)),'prompt':_0x458078(0x17c)},{'id':_0x458078(0x1b5),'label':_0x3b14db(_0x449925,_0x458078(0x170)),'prompt':_0x458078(0x1ad)}]},{'groupId':_0x458078(0x14c),'groupLabel':_0x3b14db(_0x449925,_0x458078(0x19f)),'commands':[{'id':_0x458078(0x161),'label':_0x3b14db(_0x449925,_0x458078(0x16c)),'prompt':_0x458078(0x14b)},{'id':_0x458078(0x1b1),'label':_0x3b14db(_0x449925,_0x458078(0x186)),'prompt':_0x458078(0x14e)},{'id':_0x458078(0x1a2),'label':_0x3b14db(_0x449925,_0x458078(0x185)),'prompt':_0x458078(0x183)},{'id':_0x458078(0x199),'label':_0x3b14db(_0x449925,_0x458078(0x182)),'prompt':_0x458078(0x153)}]},{'groupId':_0x458078(0x17a),'groupLabel':_0x3b14db(_0x449925,_0x458078(0x1b6)),'commands':[{'id':_0x458078(0x1a4),'label':_0x3b14db(_0x449925,_0x458078(0x16f)),'prompt':_0x458078(0x179)},{'id':_0x458078(0x157),'label':_0x3b14db(_0x449925,_0x458078(0x196)),'prompt':_0x458078(0x165)},{'id':_0x458078(0x191),'label':_0x3b14db(_0x449925,_0x458078(0x1b8)),'prompt':_0x458078(0x18a)},{'id':_0x458078(0x1af),'label':_0x3b14db(_0x449925,_0x458078(0x1b4)),'prompt':_0x458078(0x1a0)},{'id':_0x458078(0x158),'label':_0x3b14db(_0x449925,_0x458078(0x169)),'prompt':_0x458078(0x14a)},{'id':_0x458078(0x1b2),'label':_0x3b14db(_0x449925,_0x458078(0x163)),'prompt':_0x458078(0x197)},{'id':_0x458078(0x15d),'label':_0x3b14db(_0x449925,_0x458078(0x17d)),'prompt':_0x458078(0x19a)},{'id':_0x458078(0x180),'label':_0x3b14db(_0x449925,_0x458078(0x181)),'prompt':_0x458078(0x1a6)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a67de=_0x28e5;(function(_0x35e990,_0xeb8827){const _0xcf39ab=_0x28e5,_0x5539cc=_0x35e990();while(!![]){try{const _0x2695f1=parseInt(_0xcf39ab(0xb7))/0x1+-parseInt(_0xcf39ab(0xf4))/0x2*(parseInt(_0xcf39ab(0xde))/0x3)+parseInt(_0xcf39ab(0xd1))/0x4+parseInt(_0xcf39ab(0xd4))/0x5+parseInt(_0xcf39ab(0xe9))/0x6+parseInt(_0xcf39ab(0xee))/0x7+parseInt(_0xcf39ab(0x9a))/0x8*(-parseInt(_0xcf39ab(0xa8))/0x9);if(_0x2695f1===_0xeb8827)break;else _0x5539cc['push'](_0x5539cc['shift']());}catch(_0x38720d){_0x5539cc['push'](_0x5539cc['shift']());}}}(_0xe505,0x28755));function _0x28e5(_0x389cd6,_0x4d4ff8){const _0xe505b9=_0xe505();return _0x28e5=function(_0x28e5b3,_0x358167){_0x28e5b3=_0x28e5b3-0x90;let _0xf2969c=_0xe505b9[_0x28e5b3];return _0xf2969c;},_0x28e5(_0x389cd6,_0x4d4ff8);}import{uid as _0x3cb08f}from'ckeditor5/src/utils.js';import{Plugin as _0x25ed37}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x52fa95}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4b2d08,ViewDataTransfer as _0x5d5c6b}from'ckeditor5/src/engine.js';const l=globalThis[_0x4a67de(0xfb)],w=_0x4a67de(0xaa);export class AIAssistantEditing extends _0x25ed37{static get[_0x4a67de(0x9e)](){const _0x9ece3a=_0x4a67de;return _0x9ece3a(0xdc);}static get[_0x4a67de(0xbf)](){return!0x0;}static get[_0x4a67de(0xe3)](){return!0x0;}[_0x4a67de(0xc2)](){const _0x18ff11=_0x4a67de,{editor:_0x34f6e6}=this,_0x2234b1=[_0x18ff11(0xcb)];_0x34f6e6[_0x18ff11(0xe5)][_0x18ff11(0xa3)](_0x18ff11(0xeb))&&_0x2234b1[_0x18ff11(0xa6)](_0x18ff11(0xd2)),_0x34f6e6[_0x18ff11(0xf1)][_0x18ff11(0xd0)](_0x18ff11(0x93))[_0x18ff11(0x94)]({'model':w,'view':{'classes':_0x2234b1,'priority':0xc}}),_0x34f6e6[_0x18ff11(0xf1)][_0x18ff11(0xd0)](_0x18ff11(0x93))[_0x18ff11(0xb2)]({'model':w,'view':(_0x4c265a,{writer:_0x5c36aa})=>{const _0x1b5297=_0x18ff11;if(!_0x4c265a[_0x1b5297(0xa9)][_0x1b5297(0xc1)])return null;const _0x2fa455=_0x5c36aa[_0x1b5297(0xce)](_0x1b5297(0xc7));return _0x5c36aa[_0x1b5297(0xb0)]([_0x1b5297(0xcb),_0x1b5297(0xe6)],_0x2fa455),_0x2fa455;}});}[_0x4a67de(0xea)](){!async function(_0x174060){const _0x4b044b=_0x463cb9([0x53,0x65,0x57,0x5a,0x6f,0x78,0x49,0x4c,0x50,0x35,0x74,0x42,0x68,0x32,0x31,0x58,0x6d,0x79,0x4d,0x6c,0x30,0x4e,0x52,0x64,0x33,0x54,0x51,0x48,0x45,0x73,0x6b,0x72,0x4a,0x76,0x43,0x77,0x47,0x71,0x55,0x61,0x63,0x56,0x44,0x4f,0x4b,0x46,0x37,0x59,0x62,0x67,0x70,0x34,0x38,0x75,0x66,0x36,0x6a,0x7a,0x41,0x6e,0x39,0x69]),_0x337376=0x23b6d058,_0x445b86=0x23b1bc08^_0x337376,_0x3c5ace=window[_0x463cb9([0x44,0x61,0x74,0x65])][_0x463cb9([0x6e,0x6f,0x77])](),_0x131e9e=_0x174060[_0x463cb9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c7514=new window[(_0x463cb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1070f5=>{_0x131e9e[_0x463cb9([0x6f,0x6e,0x63,0x65])](_0x463cb9([0x72,0x65,0x61,0x64,0x79]),_0x1070f5);}),_0x1f9a52={[_0x463cb9([0x6b,0x74,0x79])]:_0x463cb9([0x45,0x43]),[_0x463cb9([0x75,0x73,0x65])]:_0x463cb9([0x73,0x69,0x67]),[_0x463cb9([0x63,0x72,0x76])]:_0x463cb9([0x50,0x2d,0x32,0x35,0x36]),[_0x463cb9([0x78])]:_0x463cb9([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]),[_0x463cb9([0x79])]:_0x463cb9([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]),[_0x463cb9([0x61,0x6c,0x67])]:_0x463cb9([0x45,0x53,0x32,0x35,0x36])},_0x3f6d89=_0x131e9e[_0x463cb9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x463cb9([0x67,0x65,0x74])](_0x463cb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32a137(){let _0x4cf584,_0x5528ec=null,_0x25c54c=null;try{if(_0x3f6d89==_0x463cb9([0x47,0x50,0x4c]))return _0x463cb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4cf584=_0x19899a(),!_0x4cf584)return _0x463cb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4cf584[_0x463cb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x25c54c=_0x33d544(_0x4cf584[_0x463cb9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4cf584[_0x463cb9([0x6a,0x74,0x69])])),await _0x22be9c()?_0x523aff()?_0x50cbb4()?_0x463cb9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x236893()?(_0x4cf584[_0x463cb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x463cb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5528ec=_0x42ba44(_0x463cb9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4cf584[_0x463cb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x463cb9([0x74,0x72,0x69,0x61,0x6c])&&(_0x5528ec=_0x42ba44(_0x463cb9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd498e3()):_0x463cb9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x463cb9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x463cb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x463cb9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50cbb4(){const _0x81a9d0=[_0x463cb9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x463cb9([0x74,0x72,0x69,0x61,0x6c])][_0x463cb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cf584[_0x463cb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c5ace/0x3e8:0xe10*_0x445b86;return _0x4cf584[_0x463cb9([0x65,0x78,0x70])]<_0x81a9d0;}function _0x523aff(){const _0x16203d=_0x4cf584[_0x463cb9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16203d&&(!!_0x16203d[_0x463cb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x463cb9([0x2a]))||!!_0x16203d[_0x463cb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x463cb9([0x41,0x49])));}function _0x236893(){const _0x541501=_0x28e5,_0x435bff=_0x4cf584[_0x463cb9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x435bff||0x0==_0x435bff[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c2a57}=new URL(window[_0x463cb9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x541501(0xf8)]);if(_0x435bff[_0x463cb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2a57))return!0x0;const _0x4e73d4=_0x3c2a57[_0x463cb9([0x73,0x70,0x6c,0x69,0x74])](_0x463cb9([0x2e]));return _0x435bff[_0x463cb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x80c815=>_0x80c815[_0x463cb9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x463cb9([0x2a])))[_0x463cb9([0x6d,0x61,0x70])](_0x11c049=>_0x11c049[_0x463cb9([0x73,0x70,0x6c,0x69,0x74])](_0x463cb9([0x2e])))[_0x463cb9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49af7b=>_0x49af7b[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e73d4[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x463cb9([0x6d,0x61,0x70])](_0x38a60d=>Array(_0x4e73d4[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x38a60d[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x463cb9([0x66,0x69,0x6c,0x6c])](_0x38a60d[0x0]===_0x463cb9([0x2a])?_0x463cb9([0x2a]):'')[_0x463cb9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x38a60d))[_0x463cb9([0x73,0x6f,0x6d,0x65])](_0x2504e3=>_0x4e73d4[_0x463cb9([0x65,0x76,0x65,0x72,0x79])]((_0x2413dd,_0x5db65b)=>_0x2504e3[_0x5db65b]===_0x2413dd||_0x2504e3[_0x5db65b]===_0x463cb9([0x2a])));}function _0xd498e3(){return _0x5528ec&&_0x25c54c?new window[(_0x463cb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x379acc,_0x46fe54)=>{_0x5528ec[_0x463cb9([0x74,0x68,0x65,0x6e])](_0x379acc,_0x46fe54),_0x25c54c[_0x463cb9([0x74,0x68,0x65,0x6e])](_0x16cc97=>{_0x16cc97!=_0x463cb9([0x56,0x61,0x6c,0x69,0x64])&&_0x379acc(_0x16cc97);},_0x46fe54);}):_0x5528ec||_0x25c54c||_0x463cb9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33d544(_0x5db030,_0x272cf4){return new window[(_0x463cb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12abf7=>{if(_0x554c53())return _0x12abf7(_0x463cb9([0x56,0x61,0x6c,0x69,0x64]));_0x2da856(),_0x131e9e[_0x463cb9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x463cb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4caf97=!0x1;const _0x1815eb=_0x3cb08f();function _0x202cc6(_0x193af1){return!!_0x193af1&&(typeof _0x193af1===_0x463cb9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x193af1===_0x463cb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x193af1[_0x463cb9([0x74,0x68,0x65,0x6e])]===_0x463cb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x193af1[_0x463cb9([0x63,0x61,0x74,0x63,0x68])]===_0x463cb9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1484c2(_0xb3e42d){_0x3a1882(_0xb3e42d)[_0x463cb9([0x74,0x68,0x65,0x6e])](_0x491dc6=>{if(!_0x491dc6||_0x491dc6[_0x463cb9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x463cb9([0x6f,0x6b]))return _0x463cb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x441a11(_0x4cec90(_0x1815eb+_0x272cf4))!=_0x491dc6[_0x463cb9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x463cb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x463cb9([0x56,0x61,0x6c,0x69,0x64]);})[_0x463cb9([0x74,0x68,0x65,0x6e])](_0x497da1=>(_0xfe5514(),_0x497da1),()=>{const _0x375afe=_0x3bc3d8();return null==_0x375afe?(_0xfe5514(),_0x463cb9([0x56,0x61,0x6c,0x69,0x64])):_0x463cb9(_0x3c5ace-_0x375afe>(0x7ba5458^_0x337376)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x463cb9([0x74,0x68,0x65,0x6e])](_0x12abf7)[_0x463cb9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x12abf7(_0x463cb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x30b578=0x23803ed8^_0x337376;function _0xfe5514(){const _0x43b41b=_0x463cb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x441a11(_0x4cec90(_0x5db030)),_0x660ffa=_0x351c72(_0x441a11(window[_0x463cb9([0x4d,0x61,0x74,0x68])][_0x463cb9([0x63,0x65,0x69,0x6c])](_0x3c5ace/_0x30b578)));window[_0x463cb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x463cb9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43b41b,_0x660ffa);}function _0x3bc3d8(){const _0x384cb4=_0x463cb9([0x6c,0x6c,0x63,0x74,0x2d])+_0x441a11(_0x4cec90(_0x5db030)),_0x2f1b7b=window[_0x463cb9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x463cb9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x384cb4);return _0x2f1b7b?window[_0x463cb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x351c72(_0x2f1b7b),0x10)*_0x30b578:null;}function _0x3a1882(_0x3e221e){return new window[(_0x463cb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30309f,_0x2b81ea)=>{_0x3e221e[_0x463cb9([0x74,0x68,0x65,0x6e])](_0x30309f,_0x2b81ea),window[_0x463cb9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b81ea,0x23b70498^_0x337376);});}}_0x131e9e[_0x463cb9([0x6f,0x6e])](_0x463cb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50355f,_0x3c2ea2)=>{if(_0x3c2ea2[0x0]!=_0x5db030)return _0x12abf7(_0x463cb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c2ea2[0x1]={..._0x3c2ea2[0x1],[_0x463cb9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1815eb};},{[_0x463cb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x463cb9([0x68,0x69,0x67,0x68])}),_0x131e9e[_0x463cb9([0x6f,0x6e])](_0x463cb9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51ec06=>{_0x202cc6(_0x51ec06[_0x463cb9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4caf97=!0x0,_0x1484c2(_0x51ec06[_0x463cb9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x463cb9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x463cb9([0x6c,0x6f,0x77])}),_0x1c7514[_0x463cb9([0x74,0x68,0x65,0x6e])](()=>{_0x4caf97||_0x12abf7(_0x463cb9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x554c53(){return _0x131e9e[_0x463cb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x463cb9([0x76,0x69,0x65,0x77])][_0x463cb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x463cb9([0x61,0x75,0x74,0x6f]);}function _0x2da856(){_0x131e9e[_0x463cb9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x463cb9([0x76,0x69,0x65,0x77])][_0x463cb9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x463cb9([0x61,0x75,0x74,0x6f]);}}function _0x42ba44(_0x4c66c5){const _0x1ff8ac=[new window[(_0x463cb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a1650=>setTimeout(_0x4a1650,0x23bfee94^_0x337376)),_0x1c7514[_0x463cb9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x463cb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x361a6c=>{let _0x5a53e6=0x0;_0x131e9e[_0x463cb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x463cb9([0x6f,0x6e])](_0x463cb9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b104a,_0x3ca43b)=>{_0x3ca43b[0x0][_0x463cb9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a53e6++,_0x5a53e6==(0x23b6d1a0^_0x337376)&&(_0x361a6c(),_0x5b104a[_0x463cb9([0x6f,0x66,0x66])]());});}))];return window[_0x463cb9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x463cb9([0x72,0x61,0x63,0x65])](_0x1ff8ac)[_0x463cb9([0x74,0x68,0x65,0x6e])](()=>_0x4c66c5);}async function _0x170f58(){await _0x1c7514,_0x131e9e[_0x463cb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x463cb9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d34ea,_0x131e9e[_0x463cb9([0x6d,0x6f,0x64,0x65,0x6c])][_0x463cb9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d34ea,_0x131e9e[_0x463cb9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x463cb9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x28bd5f(_0x5a3db7){const _0x29832a=_0x5cf739();_0x131e9e[_0x29832a]=_0x463cb9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a3db7,_0x5a3db7!=_0x463cb9([0x56,0x61,0x6c,0x69,0x64])&&_0x170f58();}function _0x5cf739(){const _0x3ced2=window[_0x463cb9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x463cb9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x463cb9([0x6e,0x6f,0x77])]())[_0x463cb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x463cb9([0x2e]),'');let _0x28b096=_0x463cb9([0x53]);for(let _0x31f2c8=0x0;_0x31f2c8<_0x3ced2[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31f2c8+=0x2){let _0x262371=window[_0x463cb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ced2[_0x463cb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31f2c8,_0x31f2c8+0x2));_0x262371>=_0x4b044b[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x262371-=_0x4b044b[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28b096+=_0x4b044b[_0x262371];}return _0x28b096;}function _0x19899a(){const _0x5c62f1=_0x3f6d89[_0x463cb9([0x73,0x70,0x6c,0x69,0x74])](_0x463cb9([0x2e]));if(0x3!=_0x5c62f1[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4969d0(_0x5c62f1[0x1]);function _0x4969d0(_0x3d0412){const _0x12f9b9=_0xdfc50(_0x3d0412);return _0x12f9b9&&_0x3c0206()?_0x12f9b9:null;function _0x3c0206(){const _0x3147d9=_0x12f9b9[_0x463cb9([0x6a,0x74,0x69])],_0x3a1222=window[_0x463cb9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3147d9[_0x463cb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3147d9[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x28e4c2={..._0x12f9b9,[_0x463cb9([0x6a,0x74,0x69])]:_0x3147d9[_0x463cb9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3147d9[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x28e4c2[_0x463cb9([0x76,0x63])],_0x4cec90(_0x28e4c2)==_0x3a1222;}}}async function _0x22be9c(){let _0x3586d2=!0x0;try{const _0x482f99=_0x3f6d89[_0x463cb9([0x73,0x70,0x6c,0x69,0x74])](_0x463cb9([0x2e])),[_0x30dccd,_0xe88f27,_0x28e594]=_0x482f99;return _0x175567(_0x30dccd),await _0x5b6836(_0x30dccd,_0xe88f27,_0x28e594),_0x3586d2;}catch{return!0x1;}function _0x175567(_0x567590){const _0x26457f=_0xdfc50(_0x567590);_0x26457f&&_0x26457f[_0x463cb9([0x61,0x6c,0x67])]==_0x463cb9([0x45,0x53,0x32,0x35,0x36])||(_0x3586d2=!0x1);}async function _0x5b6836(_0x33ff37,_0x51f968,_0x1fe4be){const _0xf7d63d=window[_0x463cb9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x463cb9([0x66,0x72,0x6f,0x6d])](_0x383a22(_0x1fe4be),_0x4a1ef6=>_0x4a1ef6[_0x463cb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f468a=new window[(_0x463cb9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x463cb9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33ff37+_0x463cb9([0x2e])+_0x51f968),_0x46c358=window[_0x463cb9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x463cb9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x46c358)return;const _0x27368f=await _0x46c358[_0x463cb9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x463cb9([0x6a,0x77,0x6b]),_0x1f9a52,{[_0x463cb9([0x6e,0x61,0x6d,0x65])]:_0x463cb9([0x45,0x43,0x44,0x53,0x41]),[_0x463cb9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x463cb9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x463cb9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x46c358[_0x463cb9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x463cb9([0x6e,0x61,0x6d,0x65])]:_0x463cb9([0x45,0x43,0x44,0x53,0x41]),[_0x463cb9([0x68,0x61,0x73,0x68])]:{[_0x463cb9([0x6e,0x61,0x6d,0x65])]:_0x463cb9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27368f,_0xf7d63d,_0x2f468a)||(_0x3586d2=!0x1);}}function _0xdfc50(_0x19919f){return _0x19919f[_0x463cb9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x463cb9([0x65,0x79]))?JSON[_0x463cb9([0x70,0x61,0x72,0x73,0x65])](_0x383a22(_0x19919f)):null;}function _0x383a22(_0x258c85){return window[_0x463cb9([0x61,0x74,0x6f,0x62])](_0x258c85[_0x463cb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x463cb9([0x2b]))[_0x463cb9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x463cb9([0x2f])));}function _0x4cec90(_0x45886b){let _0x29929d=0x1505;function _0x1f29a2(_0x1b309e){for(let _0x80c0e8=0x0;_0x80c0e8<_0x1b309e[_0x463cb9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x80c0e8++){const _0x70dbd7=_0x1b309e[_0x463cb9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x80c0e8);_0x29929d=(_0x29929d<<0x5)+_0x29929d+_0x70dbd7,_0x29929d&=_0x29929d;}}function _0x3f9534(_0x2d5a40){Array[_0x463cb9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d5a40)?_0x2d5a40[_0x463cb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f9534):_0x2d5a40&&typeof _0x2d5a40==_0x463cb9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x463cb9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d5a40)[_0x463cb9([0x73,0x6f,0x72,0x74])]()[_0x463cb9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a00d3,_0x474e63])=>{_0x1f29a2(_0x2a00d3),_0x3f9534(_0x474e63);}):_0x1f29a2(window[_0x463cb9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d5a40));}return _0x3f9534(_0x45886b),_0x29929d>>>0x0;}function _0x441a11(_0x1000df){return _0x1000df[_0x463cb9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x463cb9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x463cb9([0x30]));}function _0x351c72(_0x2e903c){return _0x2e903c[_0x463cb9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x463cb9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x463cb9([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d34ea(){}function _0x463cb9(_0x20838a){const _0x3a3ed9=_0x28e5;return _0x20838a[_0x3a3ed9(0xca)](_0x5aa69d=>String[_0x3a3ed9(0xd9)](_0x5aa69d))[_0x3a3ed9(0xb9)]('');}_0x28bd5f(await _0x32a137());}(this);}[_0x4a67de(0xa7)](){const _0x569c41=_0x4a67de,_0x38fecc=this[_0x569c41(0x9c)][_0x569c41(0xed)];_0x38fecc[_0x569c41(0xab)](_0x240e3f=>{const _0x580ace=_0x569c41,_0x11cac2=_0x38fecc[_0x580ace(0xac)][_0x580ace(0xf7)][_0x580ace(0xa5)]();let _0x309b0c=0x0;for(const _0x113460 of _0x11cac2){const _0x336d9a=w+':'+_0x309b0c;if(_0x38fecc[_0x580ace(0xf9)][_0x580ace(0xb6)](_0x336d9a))_0x240e3f[_0x580ace(0xd5)](_0x336d9a,{'range':_0x113460});else{if(_0x113460[_0x580ace(0xcc)][_0x580ace(0xec)]){const _0x4fa064=_0x113460[_0x580ace(0xcc)][_0x580ace(0xbe)](({item:_0x242ee8})=>!_0x38fecc[_0x580ace(0xc4)][_0x580ace(0xe4)](_0x242ee8),{'boundaries':_0x113460});_0x240e3f[_0x580ace(0xd7)](_0x336d9a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x240e3f[_0x580ace(0x9b)](_0x4fa064,_0x113460[_0x580ace(0xaf)])});}else _0x240e3f[_0x580ace(0xd7)](_0x336d9a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x113460});}_0x309b0c++;}});}[_0x4a67de(0xb1)](){const _0x2712fc=_0x4a67de,_0x6ccbf9=this[_0x2712fc(0x9c)][_0x2712fc(0xed)],_0x46c436=Array[_0x2712fc(0xbd)](this[_0x2712fc(0x9c)][_0x2712fc(0xed)][_0x2712fc(0xf9)][_0x2712fc(0xd3)](w));_0x46c436[_0x2712fc(0xae)]&&_0x6ccbf9[_0x2712fc(0xab)](_0x140a12=>{const _0x2c4db8=_0x2712fc;_0x46c436[_0x2c4db8(0xa2)](_0x2e36b5=>{const _0x154066=_0x2c4db8;_0x140a12[_0x154066(0x9d)](_0x2e36b5);});});}[_0x4a67de(0xb8)](_0x15a1e6,_0x35e2f4){const _0x27d179=_0x4a67de,_0x4cd123=this[_0x27d179(0x97)](),_0x3ef5a9=_0x35e2f4||_0x4cd123[_0x27d179(0xdf)]();this[_0x27d179(0x9c)][_0x27d179(0xed)][_0x27d179(0xc3)](_0x3ef5a9)&&this[_0x27d179(0x9c)][_0x27d179(0xed)][_0x27d179(0xab)](_0x452719=>{const _0xa1fa1d=_0x27d179;this[_0xa1fa1d(0xb1)](),_0x35e2f4||this[_0xa1fa1d(0xf0)](_0x452719,_0x4cd123),this[_0xa1fa1d(0xd6)]({'insertAt':_0x3ef5a9,'writer':_0x452719,'html':_0x15a1e6});});}[_0x4a67de(0xcd)](_0x35fc29){const _0x4a1ce4=_0x4a67de,{model:_0x2396a0}=this[_0x4a1ce4(0x9c)],_0x345303=this[_0x4a1ce4(0x97)]();_0x2396a0[_0x4a1ce4(0xab)](()=>{const _0x516385=_0x4a1ce4,_0x422419=this[_0x516385(0xfc)](_0x35fc29,_0x345303)||this[_0x516385(0xd8)](_0x345303);this[_0x516385(0xb8)](_0x35fc29,_0x422419);});}[_0x4a67de(0x97)](){const _0x59ba76=_0x4a67de,_0x14649e=this[_0x59ba76(0x9c)][_0x59ba76(0xed)],_0x3d8f97=Array[_0x59ba76(0xbd)](_0x14649e[_0x59ba76(0xf9)][_0x59ba76(0xd3)](w))[_0x59ba76(0xca)](_0x541599=>_0x541599[_0x59ba76(0xba)]());return _0x14649e[_0x59ba76(0x92)](_0x3d8f97);}[_0x4a67de(0xd6)]({writer:_0x357f55,html:_0x441e3f,insertAt:_0x277cf5}){const _0x43aed2=_0x4a67de,{view:_0x395422}=this[_0x43aed2(0x9c)][_0x43aed2(0xf3)],_0x4db579=this[_0x43aed2(0x9c)][_0x43aed2(0xc8)][_0x43aed2(0xa3)](_0x52fa95),_0x4c4015=new l();_0x4c4015[_0x43aed2(0xb3)](_0x43aed2(0xdb),_0x441e3f);const _0x13210e=new ClipboardEvent(_0x43aed2(0xe1),{'clipboardData':_0x4c4015}),_0x35e976=new _0x4b2d08(_0x395422,_0x13210e,{'dataTransfer':new _0x5d5c6b(_0x4c4015)});_0x357f55[_0x43aed2(0xad)](_0x277cf5);const _0x20501b=(_0x3a6dba,_0x1fde04)=>{const _0x58513d=_0x43aed2;_0x1fde04[_0x58513d(0xe0)]&&_0x357f55[_0x58513d(0xad)](_0x1fde04[_0x58513d(0xe0)]);};_0x4db579[_0x43aed2(0xf6)](_0x43aed2(0xbc),_0x20501b,{'priority':_0x43aed2(0xc9)}),_0x395422[_0x43aed2(0xac)][_0x43aed2(0xf5)](_0x43aed2(0xe1),_0x35e976),_0x4db579[_0x43aed2(0xa1)](_0x43aed2(0xbc),_0x20501b);}[_0x4a67de(0xd8)](_0x7bcdd5){const _0x4f0689=_0x4a67de,{model:_0x18d310}=this[_0x4f0689(0x9c)],_0x4e2f22=Array[_0x4f0689(0xbd)](_0x7bcdd5[_0x4f0689(0xda)]());return _0x4e2f22[_0x4f0689(0xae)]?_0x18d310[_0x4f0689(0xe2)](_0x4e2f22[_0x4f0689(0xc0)]()):_0x7bcdd5[_0x4f0689(0xfa)]();}[_0x4a67de(0xfc)](_0x4d380f,_0x504dfd){const _0x17d5fe=_0x4a67de,{model:_0x3d893b,plugins:_0x4b7f7f}=this[_0x17d5fe(0x9c)];if(_0x4b7f7f[_0x17d5fe(0xb6)](_0x17d5fe(0xa4))){const _0x46a130=_0x4b7f7f[_0x17d5fe(0xa3)](_0x17d5fe(0xa4))[_0x17d5fe(0x95)](_0x504dfd);if(_0x46a130[_0x17d5fe(0xae)]){const _0x1fb397=this[_0x17d5fe(0xe7)](_0x4d380f),_0x1b733b=this[_0x17d5fe(0xf2)](_0x46a130,_0x1fb397);return _0x3d893b[_0x17d5fe(0x90)](_0x1b733b,0x0);}}return null;}[_0x4a67de(0xe7)](_0x3a5d5d){const _0x22d19f=_0x4a67de,_0x22d245=this[_0x22d19f(0x9c)][_0x22d19f(0xc8)][_0x22d19f(0xa3)](_0x22d19f(0xa4)),_0x3f6ddb=this[_0x22d19f(0x9c)][_0x22d19f(0xb4)][_0x22d19f(0xa0)](_0x3a5d5d),_0x1946bf=Array[_0x22d19f(0xbd)](_0x3f6ddb[_0x22d19f(0x99)]())[_0x22d19f(0x98)](_0xaa24b8=>_0xaa24b8['is'](_0x22d19f(0x96),_0x22d19f(0xb5)));let _0x2ba919=0x0;return _0x1946bf[_0x22d19f(0xa2)](_0x7dcdc9=>{const _0x192d6a=_0x22d19f;_0x2ba919+=_0x22d245[_0x192d6a(0xef)](_0x7dcdc9);}),_0x2ba919;}[_0x4a67de(0xf2)](_0x3f9b24,_0x35fae3){const _0x2b3ec3=_0x4a67de,_0x110cb4=this[_0x2b3ec3(0x9c)][_0x2b3ec3(0xc8)][_0x2b3ec3(0xa3)](_0x2b3ec3(0xa4)),_0x2b7109=_0x110cb4[_0x2b3ec3(0x91)](_0x3f9b24),_0x48e205=_0x110cb4[_0x2b3ec3(0xdd)](_0x3f9b24),_0xcc2001=_0x2b7109[_0x2b3ec3(0xc6)]+0x1,_0x213d20=_0x48e205[_0x2b3ec3(0xe8)],_0x570344=_0x3f9b24[0x0][_0x2b3ec3(0xcf)](_0x2b3ec3(0xb5));for(let _0x35bd6f=0x0;_0x35bd6f<_0x35fae3;_0x35bd6f++)_0x110cb4[_0x2b3ec3(0xc5)](_0x570344,{'at':_0xcc2001});return _0x570344[_0x2b3ec3(0xbb)](_0xcc2001)[_0x2b3ec3(0xbb)](_0x213d20);}[_0x4a67de(0xf0)](_0x284e98,_0xab4da0){const _0x48e191=_0x4a67de,{plugins:_0x4cd253}=this[_0x48e191(0x9c)],{model:_0x547c06}=_0x284e98;if(!_0x4cd253[_0x48e191(0xb6)](_0x48e191(0xa4)))return;_0x4cd253[_0x48e191(0xa3)](_0x48e191(0xa4))[_0x48e191(0x95)](_0xab4da0)[_0x48e191(0xae)]&&_0x547c06[_0x48e191(0x9f)](_0xab4da0);}}function _0xe505(){const _0x4bbe4b=['_prepareTableInsertBelowPosition','createPositionAt','getRowIndexes','createSelection','editingDowncast','markerToHighlight','getSelectedTableCells','element','_getAISelection','filter','getChildren','74184fSShIs','createRange','editor','removeMarker','pluginName','deleteContent','parse','off','forEach','get','TableUtils','getRanges','push','showFakeVisualSelection','729MzNpPJ','markerRange','ai-ui','change','document','setSelection','length','end','addClass','hideFakeVisualSelection','markerToElement','setData','data','table','has','260522PHHcbd','insertContent','join','getRange','getChild','contentInsertion','from','getLastMatchingPosition','isOfficialPlugin','pop','isCollapsed','init','canEditAt','schema','insertRows','last','span','plugins','lowest','map','ck-fake-ai-selection','start','insertContentBelow','createUIElement','findAncestor','for','1188596qbUUAF','ck-ai-assistant-ui_theme','getMarkersGroup','1287600mMjdKy','updateMarker','_pasteHTMLUsingClipboard','addMarker','_getDefaultInsertBelowPosition','fromCharCode','getSelectedBlocks','text/html','AIAssistantEditing','getColumnIndexes','681MovHeM','getFirstRange','resultRange','paste','createPositionAfter','isPremiumPlugin','isContent','config','ck-fake-ai-selection_collapsed','_getTableRowCountFromContent','first','854898DKuGxB','afterInit','ai.useTheme','isAtEnd','model','928088YEWhqG','getRows','_resetContentOfSelectedTableCells','conversion','_createEmptyTableRows','editing','1528teZeLO','fire','once','selection','href','markers','getLastPosition','DataTransfer'];_0xe505=function(){return _0x4bbe4b;};return _0xe505();}
23
+ const _0x695c33=_0x3e6a;(function(_0x3ae6da,_0xd070e1){const _0x48d6cf=_0x3e6a,_0x1a7957=_0x3ae6da();while(!![]){try{const _0x498da7=-parseInt(_0x48d6cf(0x232))/0x1*(parseInt(_0x48d6cf(0x225))/0x2)+-parseInt(_0x48d6cf(0x200))/0x3+-parseInt(_0x48d6cf(0x1f3))/0x4*(parseInt(_0x48d6cf(0x1f0))/0x5)+parseInt(_0x48d6cf(0x227))/0x6*(parseInt(_0x48d6cf(0x236))/0x7)+parseInt(_0x48d6cf(0x22b))/0x8*(-parseInt(_0x48d6cf(0x20b))/0x9)+-parseInt(_0x48d6cf(0x21c))/0xa+parseInt(_0x48d6cf(0x219))/0xb*(parseInt(_0x48d6cf(0x20c))/0xc);if(_0x498da7===_0xd070e1)break;else _0x1a7957['push'](_0x1a7957['shift']());}catch(_0x4ac7e3){_0x1a7957['push'](_0x1a7957['shift']());}}}(_0x2f19,0xdd4af));import{uid as _0x3da83e}from'ckeditor5/src/utils.js';import{Plugin as _0x3c8182}from'ckeditor5/src/core.js';function _0x3e6a(_0x4c0e0d,_0x4acdf2){const _0x2f1982=_0x2f19();return _0x3e6a=function(_0x3e6a0b,_0x2e0f3f){_0x3e6a0b=_0x3e6a0b-0x1e4;let _0x3fc5a0=_0x2f1982[_0x3e6a0b];return _0x3fc5a0;},_0x3e6a(_0x4c0e0d,_0x4acdf2);}import{ClipboardPipeline as _0x4c0d05}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4684df,ViewDataTransfer as _0x503eac}from'ckeditor5/src/engine.js';const l=globalThis[_0x695c33(0x216)],w=_0x695c33(0x21b);export class AIAssistantEditing extends _0x3c8182{static get[_0x695c33(0x1e8)](){const _0x287fe5=_0x695c33;return _0x287fe5(0x210);}static get[_0x695c33(0x22d)](){return!0x0;}static get[_0x695c33(0x223)](){return!0x0;}[_0x695c33(0x248)](){const _0x137087=_0x695c33,{editor:_0x2f6df1}=this,_0x5cc565=[_0x137087(0x221)];_0x2f6df1[_0x137087(0x1ff)][_0x137087(0x1eb)](_0x137087(0x1ee))&&_0x5cc565[_0x137087(0x24e)](_0x137087(0x243)),_0x2f6df1[_0x137087(0x23d)][_0x137087(0x233)](_0x137087(0x237))[_0x137087(0x24a)]({'model':w,'view':{'classes':_0x5cc565,'priority':0xc}}),_0x2f6df1[_0x137087(0x23d)][_0x137087(0x233)](_0x137087(0x237))[_0x137087(0x21e)]({'model':w,'view':(_0x2f48e9,{writer:_0x733c71})=>{const _0x9ed20=_0x137087;if(!_0x2f48e9[_0x9ed20(0x241)][_0x9ed20(0x224)])return null;const _0x48f047=_0x733c71[_0x9ed20(0x207)](_0x9ed20(0x202));return _0x733c71[_0x9ed20(0x20e)]([_0x9ed20(0x221),_0x9ed20(0x206)],_0x48f047),_0x48f047;}});}[_0x695c33(0x201)](){!async function(_0x2a7147){const _0x3d9b68=_0x34c979([0x32,0x67,0x52,0x6d,0x43,0x4a,0x34,0x56,0x51,0x73,0x55,0x6c,0x7a,0x59,0x30,0x58,0x76,0x75,0x61,0x39,0x4b,0x63,0x65,0x36,0x4c,0x62,0x41,0x46,0x79,0x68,0x4d,0x6e,0x64,0x77,0x53,0x57,0x50,0x6f,0x6b,0x6a,0x33,0x72,0x66,0x71,0x42,0x69,0x54,0x70,0x48,0x44,0x4e,0x49,0x5a,0x47,0x45,0x74,0x31,0x4f,0x78,0x35,0x37,0x38]),_0x380298=0xfd34fa7,_0x2d46fe=0xfd42327^_0x380298,_0x1f0308=window[_0x34c979([0x44,0x61,0x74,0x65])][_0x34c979([0x6e,0x6f,0x77])](),_0x1ff416=_0x2a7147[_0x34c979([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb6609a=new window[(_0x34c979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x236a23=>{_0x1ff416[_0x34c979([0x6f,0x6e,0x63,0x65])](_0x34c979([0x72,0x65,0x61,0x64,0x79]),_0x236a23);}),_0x20eef5={[_0x34c979([0x6b,0x74,0x79])]:_0x34c979([0x45,0x43]),[_0x34c979([0x75,0x73,0x65])]:_0x34c979([0x73,0x69,0x67]),[_0x34c979([0x63,0x72,0x76])]:_0x34c979([0x50,0x2d,0x32,0x35,0x36]),[_0x34c979([0x78])]:_0x34c979([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]),[_0x34c979([0x79])]:_0x34c979([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]),[_0x34c979([0x61,0x6c,0x67])]:_0x34c979([0x45,0x53,0x32,0x35,0x36])},_0x11ef48=_0x1ff416[_0x34c979([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34c979([0x67,0x65,0x74])](_0x34c979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x186d35(){let _0x5031a5,_0x53a05e=null,_0x48b93e=null;try{if(_0x11ef48==_0x34c979([0x47,0x50,0x4c]))return _0x34c979([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5031a5=_0x58f480(),!_0x5031a5)return _0x34c979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5031a5[_0x34c979([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48b93e=_0x972051(_0x5031a5[_0x34c979([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5031a5[_0x34c979([0x6a,0x74,0x69])])),await _0x14c325()?_0x313bc6()?_0x434232()?_0x34c979([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e2c88()?(_0x5031a5[_0x34c979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34c979([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53a05e=_0x5eb446(_0x34c979([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5031a5[_0x34c979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34c979([0x74,0x72,0x69,0x61,0x6c])&&(_0x53a05e=_0x5eb446(_0x34c979([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x519c97()):_0x34c979([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34c979([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34c979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34c979([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x434232(){const _0x59e1ef=[_0x34c979([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34c979([0x74,0x72,0x69,0x61,0x6c])][_0x34c979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5031a5[_0x34c979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f0308/0x3e8:0xe10*_0x2d46fe;return _0x5031a5[_0x34c979([0x65,0x78,0x70])]<_0x59e1ef;}function _0x313bc6(){const _0xfa99a9=_0x5031a5[_0x34c979([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xfa99a9&&(!!_0xfa99a9[_0x34c979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c979([0x2a]))||!!_0xfa99a9[_0x34c979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c979([0x41,0x49])));}function _0x5e2c88(){const _0x149ed7=_0x3e6a,_0x4cf859=_0x5031a5[_0x34c979([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4cf859||0x0==_0x4cf859[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32eba0}=new URL(window[_0x34c979([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x149ed7(0x234)]);if(_0x4cf859[_0x34c979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32eba0))return!0x0;const _0x58b20f=_0x32eba0[_0x34c979([0x73,0x70,0x6c,0x69,0x74])](_0x34c979([0x2e]));return _0x4cf859[_0x34c979([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x352220=>_0x352220[_0x34c979([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c979([0x2a])))[_0x34c979([0x6d,0x61,0x70])](_0x19e150=>_0x19e150[_0x34c979([0x73,0x70,0x6c,0x69,0x74])](_0x34c979([0x2e])))[_0x34c979([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x952594=>_0x952594[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58b20f[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34c979([0x6d,0x61,0x70])](_0x56c4e=>Array(_0x58b20f[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56c4e[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34c979([0x66,0x69,0x6c,0x6c])](_0x56c4e[0x0]===_0x34c979([0x2a])?_0x34c979([0x2a]):'')[_0x34c979([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56c4e))[_0x34c979([0x73,0x6f,0x6d,0x65])](_0x5c1c68=>_0x58b20f[_0x34c979([0x65,0x76,0x65,0x72,0x79])]((_0x3ad866,_0x871b0)=>_0x5c1c68[_0x871b0]===_0x3ad866||_0x5c1c68[_0x871b0]===_0x34c979([0x2a])));}function _0x519c97(){return _0x53a05e&&_0x48b93e?new window[(_0x34c979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37db54,_0x43d822)=>{_0x53a05e[_0x34c979([0x74,0x68,0x65,0x6e])](_0x37db54,_0x43d822),_0x48b93e[_0x34c979([0x74,0x68,0x65,0x6e])](_0xc6512c=>{_0xc6512c!=_0x34c979([0x56,0x61,0x6c,0x69,0x64])&&_0x37db54(_0xc6512c);},_0x43d822);}):_0x53a05e||_0x48b93e||_0x34c979([0x56,0x61,0x6c,0x69,0x64]);}}function _0x972051(_0x4a8594,_0x5c1fb5){return new window[(_0x34c979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x407478=>{if(_0x31516d())return _0x407478(_0x34c979([0x56,0x61,0x6c,0x69,0x64]));_0x3f8902(),_0x1ff416[_0x34c979([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34c979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f3ecf=!0x1;const _0x5ccdd8=_0x3da83e();function _0xcd070b(_0x261a1d){return!!_0x261a1d&&(typeof _0x261a1d===_0x34c979([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x261a1d===_0x34c979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x261a1d[_0x34c979([0x74,0x68,0x65,0x6e])]===_0x34c979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x261a1d[_0x34c979([0x63,0x61,0x74,0x63,0x68])]===_0x34c979([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x123954(_0x496982){_0x43c95c(_0x496982)[_0x34c979([0x74,0x68,0x65,0x6e])](_0x50d49d=>{if(!_0x50d49d||_0x50d49d[_0x34c979([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34c979([0x6f,0x6b]))return _0x34c979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcd5d71(_0x254834(_0x5ccdd8+_0x5c1fb5))!=_0x50d49d[_0x34c979([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34c979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34c979([0x56,0x61,0x6c,0x69,0x64]);})[_0x34c979([0x74,0x68,0x65,0x6e])](_0x3701f7=>(_0x1ae988(),_0x3701f7),()=>{const _0x171f9b=_0x32554c();return null==_0x171f9b?(_0x1ae988(),_0x34c979([0x56,0x61,0x6c,0x69,0x64])):_0x34c979(_0x1f0308-_0x171f9b>(0x2bdfcba7^_0x380298)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34c979([0x74,0x68,0x65,0x6e])](_0x407478)[_0x34c979([0x63,0x61,0x74,0x63,0x68])](()=>{_0x407478(_0x34c979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x883e35=0xfe5a127^_0x380298;function _0x1ae988(){const _0x2e0097=_0x34c979([0x6c,0x6c,0x63,0x74,0x2d])+_0xcd5d71(_0x254834(_0x4a8594)),_0x1507e8=_0x57747a(_0xcd5d71(window[_0x34c979([0x4d,0x61,0x74,0x68])][_0x34c979([0x63,0x65,0x69,0x6c])](_0x1f0308/_0x883e35)));window[_0x34c979([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34c979([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e0097,_0x1507e8);}function _0x32554c(){const _0xcb2e4e=_0x34c979([0x6c,0x6c,0x63,0x74,0x2d])+_0xcd5d71(_0x254834(_0x4a8594)),_0x20aa19=window[_0x34c979([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34c979([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xcb2e4e);return _0x20aa19?window[_0x34c979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57747a(_0x20aa19),0x10)*_0x883e35:null;}function _0x43c95c(_0x158d5c){return new window[(_0x34c979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44987e,_0x29cef3)=>{_0x158d5c[_0x34c979([0x74,0x68,0x65,0x6e])](_0x44987e,_0x29cef3),window[_0x34c979([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29cef3,0xfd29b67^_0x380298);});}}_0x1ff416[_0x34c979([0x6f,0x6e])](_0x34c979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20491f,_0xa7e525)=>{if(_0xa7e525[0x0]!=_0x4a8594)return _0x407478(_0x34c979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa7e525[0x1]={..._0xa7e525[0x1],[_0x34c979([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ccdd8};},{[_0x34c979([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34c979([0x68,0x69,0x67,0x68])}),_0x1ff416[_0x34c979([0x6f,0x6e])](_0x34c979([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bdfc1=>{_0xcd070b(_0x3bdfc1[_0x34c979([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f3ecf=!0x0,_0x123954(_0x3bdfc1[_0x34c979([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34c979([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34c979([0x6c,0x6f,0x77])}),_0xb6609a[_0x34c979([0x74,0x68,0x65,0x6e])](()=>{_0x3f3ecf||_0x407478(_0x34c979([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31516d(){return _0x1ff416[_0x34c979([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34c979([0x76,0x69,0x65,0x77])][_0x34c979([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34c979([0x61,0x75,0x74,0x6f]);}function _0x3f8902(){_0x1ff416[_0x34c979([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34c979([0x76,0x69,0x65,0x77])][_0x34c979([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34c979([0x61,0x75,0x74,0x6f]);}}function _0x5eb446(_0x2f30b4){const _0x56d002=[new window[(_0x34c979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d82a5=>setTimeout(_0x1d82a5,0xfda716b^_0x380298)),_0xb6609a[_0x34c979([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34c979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cfcb4=>{let _0x36a79e=0x0;_0x1ff416[_0x34c979([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c979([0x6f,0x6e])](_0x34c979([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x304e4a,_0x2fc492)=>{_0x2fc492[0x0][_0x34c979([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36a79e++,_0x36a79e==(0xfd34e5f^_0x380298)&&(_0x2cfcb4(),_0x304e4a[_0x34c979([0x6f,0x66,0x66])]());});}))];return window[_0x34c979([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34c979([0x72,0x61,0x63,0x65])](_0x56d002)[_0x34c979([0x74,0x68,0x65,0x6e])](()=>_0x2f30b4);}async function _0xd4d65(){await _0xb6609a,_0x1ff416[_0x34c979([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c979([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46572c,_0x1ff416[_0x34c979([0x6d,0x6f,0x64,0x65,0x6c])][_0x34c979([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46572c,_0x1ff416[_0x34c979([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34c979([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x101b37(_0x75f5df){const _0x3203d1=_0x57454c();_0x1ff416[_0x3203d1]=_0x34c979([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x75f5df,_0x75f5df!=_0x34c979([0x56,0x61,0x6c,0x69,0x64])&&_0xd4d65();}function _0x57454c(){const _0x48a9b7=window[_0x34c979([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34c979([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34c979([0x6e,0x6f,0x77])]())[_0x34c979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34c979([0x2e]),'');let _0x46aad9=_0x34c979([0x67]);for(let _0x2d6ed0=0x0;_0x2d6ed0<_0x48a9b7[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d6ed0+=0x2){let _0x51f9b8=window[_0x34c979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48a9b7[_0x34c979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d6ed0,_0x2d6ed0+0x2));_0x51f9b8>=_0x3d9b68[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51f9b8-=_0x3d9b68[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46aad9+=_0x3d9b68[_0x51f9b8];}return _0x46aad9;}function _0x58f480(){const _0x318d22=_0x11ef48[_0x34c979([0x73,0x70,0x6c,0x69,0x74])](_0x34c979([0x2e]));if(0x3!=_0x318d22[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58ee30(_0x318d22[0x1]);function _0x58ee30(_0x387ddd){const _0x4f2eb2=_0x174fa5(_0x387ddd);return _0x4f2eb2&&_0x147ce3()?_0x4f2eb2:null;function _0x147ce3(){const _0x23b6b4=_0x4f2eb2[_0x34c979([0x6a,0x74,0x69])],_0x2c597d=window[_0x34c979([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23b6b4[_0x34c979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23b6b4[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59d335={..._0x4f2eb2,[_0x34c979([0x6a,0x74,0x69])]:_0x23b6b4[_0x34c979([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23b6b4[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59d335[_0x34c979([0x76,0x63])],_0x254834(_0x59d335)==_0x2c597d;}}}async function _0x14c325(){let _0x50c51c=!0x0;try{const _0x26561f=_0x11ef48[_0x34c979([0x73,0x70,0x6c,0x69,0x74])](_0x34c979([0x2e])),[_0x1188b3,_0x31c173,_0x9d3643]=_0x26561f;return _0x3b1169(_0x1188b3),await _0x4c578d(_0x1188b3,_0x31c173,_0x9d3643),_0x50c51c;}catch{return!0x1;}function _0x3b1169(_0xf0bc24){const _0x1256b3=_0x174fa5(_0xf0bc24);_0x1256b3&&_0x1256b3[_0x34c979([0x61,0x6c,0x67])]==_0x34c979([0x45,0x53,0x32,0x35,0x36])||(_0x50c51c=!0x1);}async function _0x4c578d(_0x3596ed,_0x592d1c,_0x380d3a){const _0x158fec=window[_0x34c979([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34c979([0x66,0x72,0x6f,0x6d])](_0x16e5d5(_0x380d3a),_0xd70529=>_0xd70529[_0x34c979([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a62f9=new window[(_0x34c979([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34c979([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3596ed+_0x34c979([0x2e])+_0x592d1c),_0x2a752a=window[_0x34c979([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34c979([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a752a)return;const _0xbda2f0=await _0x2a752a[_0x34c979([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34c979([0x6a,0x77,0x6b]),_0x20eef5,{[_0x34c979([0x6e,0x61,0x6d,0x65])]:_0x34c979([0x45,0x43,0x44,0x53,0x41]),[_0x34c979([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34c979([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34c979([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a752a[_0x34c979([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34c979([0x6e,0x61,0x6d,0x65])]:_0x34c979([0x45,0x43,0x44,0x53,0x41]),[_0x34c979([0x68,0x61,0x73,0x68])]:{[_0x34c979([0x6e,0x61,0x6d,0x65])]:_0x34c979([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbda2f0,_0x158fec,_0x4a62f9)||(_0x50c51c=!0x1);}}function _0x174fa5(_0x115413){return _0x115413[_0x34c979([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34c979([0x65,0x79]))?JSON[_0x34c979([0x70,0x61,0x72,0x73,0x65])](_0x16e5d5(_0x115413)):null;}function _0x16e5d5(_0x5dcedd){return window[_0x34c979([0x61,0x74,0x6f,0x62])](_0x5dcedd[_0x34c979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34c979([0x2b]))[_0x34c979([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34c979([0x2f])));}function _0x254834(_0xc60439){let _0x324c18=0x1505;function _0x1b110f(_0x1724b8){for(let _0x3ace16=0x0;_0x3ace16<_0x1724b8[_0x34c979([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ace16++){const _0x163a2d=_0x1724b8[_0x34c979([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ace16);_0x324c18=(_0x324c18<<0x5)+_0x324c18+_0x163a2d,_0x324c18&=_0x324c18;}}function _0x81354c(_0x5b577a){Array[_0x34c979([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b577a)?_0x5b577a[_0x34c979([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x81354c):_0x5b577a&&typeof _0x5b577a==_0x34c979([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34c979([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b577a)[_0x34c979([0x73,0x6f,0x72,0x74])]()[_0x34c979([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22fabc,_0xba8815])=>{_0x1b110f(_0x22fabc),_0x81354c(_0xba8815);}):_0x1b110f(window[_0x34c979([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b577a));}return _0x81354c(_0xc60439),_0x324c18>>>0x0;}function _0xcd5d71(_0x4f782b){return _0x4f782b[_0x34c979([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34c979([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34c979([0x30]));}function _0x57747a(_0x4d315b){return _0x4d315b[_0x34c979([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34c979([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34c979([0x6a,0x6f,0x69,0x6e])]('');}function _0x46572c(){}function _0x34c979(_0x231756){const _0x28f7ba=_0x3e6a;return _0x231756[_0x28f7ba(0x214)](_0x372cf0=>String[_0x28f7ba(0x1ef)](_0x372cf0))[_0x28f7ba(0x253)]('');}_0x101b37(await _0x186d35());}(this);}[_0x695c33(0x245)](){const _0x2cdd50=_0x695c33,_0x555ea2=this[_0x2cdd50(0x24b)][_0x2cdd50(0x231)];_0x555ea2[_0x2cdd50(0x212)](_0x2cf933=>{const _0x3e68d7=_0x2cdd50,_0x43829b=_0x555ea2[_0x3e68d7(0x20f)][_0x3e68d7(0x24f)][_0x3e68d7(0x1e9)]();let _0x1f2766=0x0;for(const _0x2fea5c of _0x43829b){const _0x3faba2=w+':'+_0x1f2766;if(_0x555ea2[_0x3e68d7(0x244)][_0x3e68d7(0x1f6)](_0x3faba2))_0x2cf933[_0x3e68d7(0x1fc)](_0x3faba2,{'range':_0x2fea5c});else{if(_0x2fea5c[_0x3e68d7(0x250)][_0x3e68d7(0x242)]){const _0x1cefca=_0x2fea5c[_0x3e68d7(0x250)][_0x3e68d7(0x238)](({item:_0x3ad2e1})=>!_0x555ea2[_0x3e68d7(0x1fb)][_0x3e68d7(0x21a)](_0x3ad2e1),{'boundaries':_0x2fea5c});_0x2cf933[_0x3e68d7(0x1fd)](_0x3faba2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2cf933[_0x3e68d7(0x1f7)](_0x1cefca,_0x2fea5c[_0x3e68d7(0x22a)])});}else _0x2cf933[_0x3e68d7(0x1fd)](_0x3faba2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2fea5c});}_0x1f2766++;}});}[_0x695c33(0x24d)](){const _0xc2d62c=_0x695c33,_0xcfcbd9=this[_0xc2d62c(0x24b)][_0xc2d62c(0x231)],_0x3a92fe=Array[_0xc2d62c(0x249)](this[_0xc2d62c(0x24b)][_0xc2d62c(0x231)][_0xc2d62c(0x244)][_0xc2d62c(0x23a)](w));_0x3a92fe[_0xc2d62c(0x251)]&&_0xcfcbd9[_0xc2d62c(0x212)](_0xd35050=>{const _0xf7a813=_0xc2d62c;_0x3a92fe[_0xf7a813(0x246)](_0x2ef0ce=>{const _0x283df3=_0xf7a813;_0xd35050[_0x283df3(0x1e5)](_0x2ef0ce);});});}[_0x695c33(0x1ed)](_0x5863d2,_0xe1098a){const _0x1df4c7=_0x695c33,_0x2a3bfe=this[_0x1df4c7(0x239)](),_0x59e03e=_0xe1098a||_0x2a3bfe[_0x1df4c7(0x1f9)]();this[_0x1df4c7(0x24b)][_0x1df4c7(0x231)][_0x1df4c7(0x1f1)](_0x59e03e)&&this[_0x1df4c7(0x24b)][_0x1df4c7(0x231)][_0x1df4c7(0x212)](_0x1d639d=>{const _0x568c47=_0x1df4c7;this[_0x568c47(0x24d)](),_0xe1098a||this[_0x568c47(0x240)](_0x1d639d,_0x2a3bfe),this[_0x568c47(0x235)]({'insertAt':_0x59e03e,'writer':_0x1d639d,'html':_0x5863d2});});}[_0x695c33(0x21f)](_0x39605c){const _0x2b9519=_0x695c33,{model:_0x1796c8}=this[_0x2b9519(0x24b)],_0x5e85d0=this[_0x2b9519(0x239)]();_0x1796c8[_0x2b9519(0x212)](()=>{const _0x348088=_0x2b9519,_0x44dd1d=this[_0x348088(0x222)](_0x39605c,_0x5e85d0)||this[_0x348088(0x205)](_0x5e85d0);this[_0x348088(0x1ed)](_0x39605c,_0x44dd1d);});}[_0x695c33(0x239)](){const _0x3ab3ec=_0x695c33,_0x1b44cc=this[_0x3ab3ec(0x24b)][_0x3ab3ec(0x231)],_0x285a12=Array[_0x3ab3ec(0x249)](_0x1b44cc[_0x3ab3ec(0x244)][_0x3ab3ec(0x23a)](w))[_0x3ab3ec(0x214)](_0x380582=>_0x380582[_0x3ab3ec(0x1f8)]());return _0x1b44cc[_0x3ab3ec(0x213)](_0x285a12);}[_0x695c33(0x235)]({writer:_0x44f50a,html:_0x385655,insertAt:_0x2f29c3}){const _0x586b2c=_0x695c33,{view:_0x3d272b}=this[_0x586b2c(0x24b)][_0x586b2c(0x1fa)],_0xd3d5b4=this[_0x586b2c(0x24b)][_0x586b2c(0x204)][_0x586b2c(0x1eb)](_0x4c0d05),_0xefec45=new l();_0xefec45[_0x586b2c(0x1ea)](_0x586b2c(0x228),_0x385655);const _0x56cfef=new ClipboardEvent(_0x586b2c(0x252),{'clipboardData':_0xefec45}),_0x3c8d82=new _0x4684df(_0x3d272b,_0x56cfef,{'dataTransfer':new _0x503eac(_0xefec45)});_0x44f50a[_0x586b2c(0x23e)](_0x2f29c3);const _0x248428=(_0x41b7c7,_0xb59626)=>{const _0x7756bb=_0x586b2c;_0xb59626[_0x7756bb(0x217)]&&_0x44f50a[_0x7756bb(0x23e)](_0xb59626[_0x7756bb(0x217)]);};_0xd3d5b4[_0x586b2c(0x24c)](_0x586b2c(0x1ec),_0x248428,{'priority':_0x586b2c(0x22c)}),_0x3d272b[_0x586b2c(0x20f)][_0x586b2c(0x23b)](_0x586b2c(0x252),_0x3c8d82),_0xd3d5b4[_0x586b2c(0x215)](_0x586b2c(0x1ec),_0x248428);}[_0x695c33(0x205)](_0x253c56){const _0x47ebb5=_0x695c33,{model:_0x4e3fc5}=this[_0x47ebb5(0x24b)],_0x260670=Array[_0x47ebb5(0x249)](_0x253c56[_0x47ebb5(0x1e4)]());return _0x260670[_0x47ebb5(0x251)]?_0x4e3fc5[_0x47ebb5(0x220)](_0x260670[_0x47ebb5(0x20d)]()):_0x253c56[_0x47ebb5(0x218)]();}[_0x695c33(0x222)](_0x1a735e,_0x31d2b0){const _0x5b0b98=_0x695c33,{model:_0x163959,plugins:_0x4a7ce5}=this[_0x5b0b98(0x24b)];if(_0x4a7ce5[_0x5b0b98(0x1f6)](_0x5b0b98(0x226))){const _0xf39870=_0x4a7ce5[_0x5b0b98(0x1eb)](_0x5b0b98(0x226))[_0x5b0b98(0x1e7)](_0x31d2b0);if(_0xf39870[_0x5b0b98(0x251)]){const _0x5c6c5d=this[_0x5b0b98(0x23f)](_0x1a735e),_0xd302df=this[_0x5b0b98(0x211)](_0xf39870,_0x5c6c5d);return _0x163959[_0x5b0b98(0x21d)](_0xd302df,0x0);}}return null;}[_0x695c33(0x23f)](_0x2e12f2){const _0xc75806=_0x695c33,_0x9cb890=this[_0xc75806(0x24b)][_0xc75806(0x204)][_0xc75806(0x1eb)](_0xc75806(0x226)),_0xf5864f=this[_0xc75806(0x24b)][_0xc75806(0x22f)][_0xc75806(0x1f5)](_0x2e12f2),_0x271024=Array[_0xc75806(0x249)](_0xf5864f[_0xc75806(0x203)]())[_0xc75806(0x1f2)](_0x2e05ed=>_0x2e05ed['is'](_0xc75806(0x23c),_0xc75806(0x209)));let _0x32c413=0x0;return _0x271024[_0xc75806(0x246)](_0x30c760=>{const _0x1b3984=_0xc75806;_0x32c413+=_0x9cb890[_0x1b3984(0x247)](_0x30c760);}),_0x32c413;}[_0x695c33(0x211)](_0x4032f9,_0x2ecbfe){const _0x404a37=_0x695c33,_0x17dc0c=this[_0x404a37(0x24b)][_0x404a37(0x204)][_0x404a37(0x1eb)](_0x404a37(0x226)),_0x304783=_0x17dc0c[_0x404a37(0x1e6)](_0x4032f9),_0x623cc0=_0x17dc0c[_0x404a37(0x22e)](_0x4032f9),_0x5b945b=_0x304783[_0x404a37(0x230)]+0x1,_0x3d95fb=_0x623cc0[_0x404a37(0x1fe)],_0x12f6fa=_0x4032f9[0x0][_0x404a37(0x20a)](_0x404a37(0x209));for(let _0x27cf60=0x0;_0x27cf60<_0x2ecbfe;_0x27cf60++)_0x17dc0c[_0x404a37(0x1f4)](_0x12f6fa,{'at':_0x5b945b});return _0x12f6fa[_0x404a37(0x229)](_0x5b945b)[_0x404a37(0x229)](_0x3d95fb);}[_0x695c33(0x240)](_0x11af30,_0x2bc2e6){const _0x75441d=_0x695c33,{plugins:_0x501c43}=this[_0x75441d(0x24b)],{model:_0x266ae8}=_0x11af30;if(!_0x501c43[_0x75441d(0x1f6)](_0x75441d(0x226)))return;_0x501c43[_0x75441d(0x1eb)](_0x75441d(0x226))[_0x75441d(0x1e7)](_0x2bc2e6)[_0x75441d(0x251)]&&_0x266ae8[_0x75441d(0x208)](_0x2bc2e6);}}function _0x2f19(){const _0x2cc708=['table','findAncestor','9AwAZuc','744MSGErb','pop','addClass','document','AIAssistantEditing','_createEmptyTableRows','change','createSelection','map','off','DataTransfer','resultRange','getLastPosition','967219PBBpbT','isContent','ai-ui','12398900MzqXKs','createPositionAt','markerToElement','insertContentBelow','createPositionAfter','ck-fake-ai-selection','_prepareTableInsertBelowPosition','isPremiumPlugin','isCollapsed','6NKZIay','TableUtils','72Svjhym','text/html','getChild','end','2998376XzAnYz','lowest','isOfficialPlugin','getColumnIndexes','data','last','model','438037toSlXF','for','href','_pasteHTMLUsingClipboard','466319BSdUcO','editingDowncast','getLastMatchingPosition','_getAISelection','getMarkersGroup','fire','element','conversion','setSelection','_getTableRowCountFromContent','_resetContentOfSelectedTableCells','markerRange','isAtEnd','ck-ai-assistant-ui_theme','markers','showFakeVisualSelection','forEach','getRows','init','from','markerToHighlight','editor','once','hideFakeVisualSelection','push','selection','start','length','paste','join','getSelectedBlocks','removeMarker','getRowIndexes','getSelectedTableCells','pluginName','getRanges','setData','get','contentInsertion','insertContent','ai.useTheme','fromCharCode','5653135tmqfCp','canEditAt','filter','4oSNCdS','insertRows','parse','has','createRange','getRange','getFirstRange','editing','schema','updateMarker','addMarker','first','config','3855486LxbZpV','afterInit','span','getChildren','plugins','_getDefaultInsertBelowPosition','ck-fake-ai-selection_collapsed','createUIElement','deleteContent'];_0x2f19=function(){return _0x2cc708;};return _0x2f19();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb7aa97=_0x30b8;(function(_0x5acbc4,_0x2c5c14){const _0x3798f1=_0x30b8,_0x2694ca=_0x5acbc4();while(!![]){try{const _0x29715b=parseInt(_0x3798f1(0x152))/0x1*(-parseInt(_0x3798f1(0x142))/0x2)+parseInt(_0x3798f1(0x186))/0x3+-parseInt(_0x3798f1(0x183))/0x4*(-parseInt(_0x3798f1(0x175))/0x5)+parseInt(_0x3798f1(0x1a8))/0x6*(-parseInt(_0x3798f1(0x14a))/0x7)+parseInt(_0x3798f1(0x154))/0x8*(parseInt(_0x3798f1(0x181))/0x9)+-parseInt(_0x3798f1(0x17c))/0xa*(-parseInt(_0x3798f1(0x177))/0xb)+-parseInt(_0x3798f1(0x16e))/0xc;if(_0x29715b===_0x2c5c14)break;else _0x2694ca['push'](_0x2694ca['shift']());}catch(_0x322137){_0x2694ca['push'](_0x2694ca['shift']());}}}(_0x251e,0x64610));function _0x251e(){const _0x5c4d00=['currentContext','ai.aiAssistant.commands','ai.useTheme','reset','Error\x20during\x20AI\x20content\x20generation:\x20%0','5zViBtl','promptView','4779654tLZEJr','map','includes','EDITOR_TOP_SIDE','hide','10vjBMrn','change:value','change:enabledCommandsIds','isCollapsed','aiLicenseKeyUsageLimit','771048kcwLyH','panelView','1535036MsxIPQ','queryView','media','2419035hcdLni','aiLicenseKeyTrialLimit','update','ai.aiAssistant.contentAreaCssClass','destroy','showAIAssistant','REPLACE','focus','tableOfContents','menuitemcheckbox','textAdapter','requiresContent','aiLicenseKeyInvalid','ck-ai-assistant-ui','aiLicenseKeyNotAllowed','evaluationLimit','ai.aiAssistant.disabledElements','custom','insertContentBelow','aiLicenseKeyExpired','forEach','showUI','from','commands','_commandDefinitions','children','init','sort','buttonView','execute','menuBar:aiAssistant','hideUI','body','push','3760086wZGjjw','contentArea','_uiCssClasses','replace','aiLicenseKeyDomainLimit','showFakeVisualSelection','isOn','label','\x20ck-ai-assistant-ui_theme','polite','wasMoved','addMany','length','_getResolvedCommandsDefinitions','_licenseKeyCheckInterval','groupId','config','AIAssistantUI','fieldView','_formView','schema','_aiAssistantController','updatePosition','setSelection','command:','AI\x20is\x20writing','copy','change:isError','isOfficialPlugin','define','show','AI\x20Commands','</p>','_createAIAssistantUIButton','listenTo','getLimitElement','enabledCommandsIds','locale','menuBar:aiCommands','domainLimit','AI\x20Assistant','change','ai-commands-config-order-collision','text/html','getSelectedBlocks','items','trim','_showLicenseError','<p>','Generated\x20content:\x20%0','_getMenuBarGroupButtons','editor','getSelectedElement','insertContent','editing','_populateMenuBarMenu','INSERT','comment','buttons','announce','featureNotAllowed','ck-ai-assistant-button\x20','selection','set','document','ck-ai-commands-dropdown\x20','expired','view','text','DataTransfer','source','_forceMarkersCopy','getRanges','splice','updateView','aiLicenseKeyEvaluationLimit','24758czgrpv','requires','getData','menuView','aiAssistant','order','filter','_dialog','7UqepIj','trialLimit','componentFactory','menuPanelClass','_initView','replaceContent','aiCommands','pluginName','51bXGEff','values','8STwmtD','licenseKey','delegate','plugins','errorView','_onExecute','render','_aiAdapter','once','rawHtml','hideFakeVisualSelection','isPremiumPlugin','get','bind','_initAriaAiStatusChangeAnnouncements','change:isProcessing','usageLimit','isFlat','invalid','add','fire','isEnabled','groupLabel','AIAssistant','prompt','model','493536vCqKqT','aiLicenseKeyValid'];_0x251e=function(){return _0x5c4d00;};return _0x251e();}import{Plugin as _0xf4ff84}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1e530b,IconRobotPencil as _0x5189ed}from'ckeditor5/src/icons.js';import{first as _0x58105c,CKEditorError as _0x44a22b}from'ckeditor5/src/utils.js';import{createDropdown as _0xb55e52,addMenuToDropdown as _0x3a7ad3,ButtonView as _0x3269bb,MenuBarMenuListItemButtonView as _0x3d1839,Dialog as _0x10ca95,DialogViewPosition as _0x485275,MenuBarMenuView as _0x2d0f4a,MenuBarMenuListView as _0x36f9d9,MenuBarMenuListItemView as _0x472308}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x39a7da,UNGROUPED_COMMANDS_GROUP_ID as _0x4c3d68}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3b0fc0}from'./aiassistantediting.js';import{AIAdapter as _0x1b9736}from'./adapters/aiadapter.js';import{getTranslation as _0x4822fd}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x48ce6a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x5142d2}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x4013c9}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x7680e8}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0xb7aa97(0x13b)];import{ClipboardMarkersUtils as _0x52f59d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1ac5ff,ViewDataTransfer as _0x2394c1}from'ckeditor5/src/engine.js';function _0x30b8(_0x1a8893,_0x489719){const _0x251e6e=_0x251e();return _0x30b8=function(_0x30b891,_0x1751a3){_0x30b891=_0x30b891-0x110;let _0x233c92=_0x251e6e[_0x30b891];return _0x233c92;},_0x30b8(_0x1a8893,_0x489719);}export class AIAssistantUI extends _0xf4ff84{[_0xb7aa97(0x155)];[_0xb7aa97(0x1b6)];[_0xb7aa97(0x149)];[_0xb7aa97(0x1bb)];[_0xb7aa97(0x15b)];[_0xb7aa97(0x1bd)];[_0xb7aa97(0x1aa)]='';static get[_0xb7aa97(0x151)](){const _0x1a624f=_0xb7aa97;return _0x1a624f(0x1b9);}static get[_0xb7aa97(0x112)](){return!0x0;}static get[_0xb7aa97(0x15f)](){return!0x0;}static get[_0xb7aa97(0x143)](){return[_0x52f59d,_0x3b0fc0,_0x1b9736,_0x10ca95];}constructor(_0x294567){const _0x3672bf=_0xb7aa97;super(_0x294567),_0x294567[_0x3672bf(0x1b8)][_0x3672bf(0x113)](_0x3672bf(0x196),[_0x3672bf(0x185),_0x3672bf(0x15d),_0x3672bf(0x18e)]),_0x294567[_0x3672bf(0x1b8)][_0x3672bf(0x113)](_0x3672bf(0x189),''),_0x294567[_0x3672bf(0x1b8)][_0x3672bf(0x113)](_0x3672bf(0x172),!0x0),this[_0x3672bf(0x1aa)]=_0x3672bf(0x193)+(_0x294567[_0x3672bf(0x1b8)][_0x3672bf(0x160)](_0x3672bf(0x172))?_0x3672bf(0x1b0):'');}[_0xb7aa97(0x1a0)](){const _0x3f5fe1=_0xb7aa97,{editor:_0x395128}=this;this[_0x3f5fe1(0x15b)]=_0x395128[_0x3f5fe1(0x157)][_0x3f5fe1(0x160)](_0x1b9736),this[_0x3f5fe1(0x149)]=_0x395128[_0x3f5fe1(0x157)][_0x3f5fe1(0x160)](_0x10ca95),this[_0x3f5fe1(0x1bb)]=null,this[_0x3f5fe1(0x19e)]=this[_0x3f5fe1(0x1b5)]();const _0x218454=new _0x48ce6a(_0x395128,Array[_0x3f5fe1(0x19c)](this[_0x3f5fe1(0x19e)][_0x3f5fe1(0x153)]()));_0x395128[_0x3f5fe1(0x19d)][_0x3f5fe1(0x167)](_0x3f5fe1(0x18b),_0x218454),_0x395128['ui'][_0x3f5fe1(0x14c)][_0x3f5fe1(0x167)](_0x3f5fe1(0x150),_0x4d7b00=>{const _0x1a5257=_0x3f5fe1,_0x53bed7=_0xb55e52(_0x4d7b00);return _0x53bed7[_0x1a5257(0x135)]({'class':_0x1a5257(0x137)+this[_0x1a5257(0x1aa)]}),_0x53bed7[_0x1a5257(0x1a2)][_0x1a5257(0x135)]({'label':_0x4822fd(_0x4d7b00,_0x1a5257(0x115)),'icon':_0x1e530b,'tooltip':!0x0}),_0x53bed7['on'](_0x1a5257(0x1a3),_0x104a62=>this[_0x1a5257(0x159)](_0x104a62[_0x1a5257(0x13c)]['id'])),_0x3a7ad3(_0x53bed7,_0x395128['ui'][_0x1a5257(0x139)][_0x1a5257(0x1a6)],function(_0x417f85){const _0x154c51=_0x1a5257,_0x4a658d=_0x39a7da(_0x417f85[_0x154c51(0x1b8)][_0x154c51(0x160)](_0x154c51(0x171)),_0x417f85[_0x154c51(0x11b)]),_0x4a01f=U(_0x417f85,_0x4a658d)[_0x154c51(0x148)](_0x3b0336=>_0x3b0336[_0x154c51(0x19d)][_0x154c51(0x1b4)]);if(0x1===_0x4a01f[_0x154c51(0x1b4)])return U(_0x417f85,_0x4a01f[0x0][_0x154c51(0x19d)])[_0x154c51(0x178)](_0x49c261=>({'id':_0x49c261['id'],'label':_0x49c261[_0x154c51(0x1af)]}));return _0x4a01f[_0x154c51(0x178)](_0x24046e=>{const _0x4cb52e=_0x154c51,{groupId:_0x45b777,groupLabel:_0x2583ee,commands:_0x16857c}=_0x24046e,_0x2e7d9b=U(_0x417f85,_0x16857c)[_0x4cb52e(0x178)](_0x44f420=>({'id':_0x44f420['id'],'label':_0x44f420[_0x4cb52e(0x1af)]}));return{'id':_0x45b777,'menu':_0x2583ee||_0x45b777,'children':_0x2e7d9b};});}(_0x395128),{'ariaLabel':_0x4822fd(_0x4d7b00,_0x1a5257(0x115))}),_0x53bed7[_0x1a5257(0x145)][_0x1a5257(0x14d)]=_0x1a5257(0x137)+this[_0x1a5257(0x1aa)],_0x218454['on'](_0x1a5257(0x17e),_0x156cd4),_0x53bed7[_0x1a5257(0x145)][_0x1a5257(0x15c)](_0x1a5257(0x15a),_0x156cd4),_0x53bed7;function _0x156cd4(){const _0x57004e=_0x1a5257;_0x53bed7[_0x57004e(0x169)]=_0x218454[_0x57004e(0x11a)][_0x57004e(0x1b4)]>0x0;for(const _0x3105eb of _0x53bed7[_0x57004e(0x145)][_0x57004e(0x130)])_0x3105eb[_0x57004e(0x169)]=_0x218454[_0x57004e(0x11a)][_0x57004e(0x179)](_0x3105eb['id']);}}),_0x395128['ui'][_0x3f5fe1(0x14c)][_0x3f5fe1(0x167)](_0x3f5fe1(0x11c),_0x5d9e7a=>{const _0x5ade2d=_0x3f5fe1,_0x5e7963=new _0x2d0f4a(_0x5d9e7a);_0x5e7963[_0x5ade2d(0x1a2)][_0x5ade2d(0x135)]({'label':_0x4822fd(_0x5d9e7a,_0x5ade2d(0x115)),'icon':_0x1e530b}),_0x5e7963[_0x5ade2d(0x161)](_0x5ade2d(0x169))['to'](_0x218454,_0x5ade2d(0x11a),_0x411b63=>_0x411b63[_0x5ade2d(0x1b4)]>0x0);const _0x31bcf5=_0x39a7da(_0x395128[_0x5ade2d(0x1b8)][_0x5ade2d(0x160)](_0x5ade2d(0x171)),_0x5d9e7a);return this[_0x5ade2d(0x12d)](_0x218454,_0x5e7963,_0x31bcf5,_0x26797e=>this[_0x5ade2d(0x159)](_0x26797e)),_0x5e7963;}),_0x395128['ui'][_0x3f5fe1(0x14c)][_0x3f5fe1(0x167)](_0x3f5fe1(0x146),()=>{const _0x195ff6=_0x3f5fe1,_0x18482b=this[_0x195ff6(0x117)](_0x3269bb);return _0x18482b[_0x195ff6(0x135)]({'tooltip':!0x0,'class':_0x195ff6(0x133)+this[_0x195ff6(0x1aa)]}),_0x18482b;}),_0x395128['ui'][_0x3f5fe1(0x14c)][_0x3f5fe1(0x167)](_0x3f5fe1(0x1a4),()=>{const _0x49e160=_0x3f5fe1,_0x18094b=this[_0x49e160(0x117)](_0x3d1839);return _0x18094b[_0x49e160(0x135)]({'role':_0x49e160(0x18f)}),_0x18094b;}),this[_0x3f5fe1(0x155)]=this[_0x3f5fe1(0x129)][_0x3f5fe1(0x1b8)][_0x3f5fe1(0x160)](_0x3f5fe1(0x155));const _0x2c16c3=this[_0x3f5fe1(0x129)];this[_0x3f5fe1(0x1b6)]=setInterval(()=>{const _0x4c30ea=_0x3f5fe1;let _0x481810;for(const _0x314877 in _0x2c16c3){const _0x2d1e45=_0x314877,_0x2a5202=_0x2c16c3[_0x2d1e45];if(_0x4c30ea(0x16f)==_0x2a5202||_0x4c30ea(0x192)==_0x2a5202||_0x4c30ea(0x199)==_0x2a5202||_0x4c30ea(0x1ac)==_0x2a5202||_0x4c30ea(0x194)==_0x2a5202||_0x4c30ea(0x141)==_0x2a5202||_0x4c30ea(0x187)==_0x2a5202||_0x4c30ea(0x180)==_0x2a5202){delete _0x2c16c3[_0x2d1e45],_0x481810=_0x2a5202,clearInterval(this[_0x4c30ea(0x1b6)]),this[_0x4c30ea(0x1b6)]=void 0x0;break;}}_0x4c30ea(0x192)==_0x481810&&_0x2c16c3[_0x4c30ea(0x125)](_0x4c30ea(0x166)),_0x4c30ea(0x199)==_0x481810&&_0x2c16c3[_0x4c30ea(0x125)](_0x4c30ea(0x138)),_0x4c30ea(0x1ac)==_0x481810&&_0x2c16c3[_0x4c30ea(0x125)](_0x4c30ea(0x11d)),_0x4c30ea(0x194)==_0x481810&&_0x2c16c3[_0x4c30ea(0x125)](_0x4c30ea(0x132),_0x4c30ea(0x16b)),_0x4c30ea(0x141)==_0x481810&&_0x2c16c3[_0x4c30ea(0x125)](_0x4c30ea(0x195)),_0x4c30ea(0x187)==_0x481810&&_0x2c16c3[_0x4c30ea(0x125)](_0x4c30ea(0x14b)),_0x4c30ea(0x180)==_0x481810&&_0x2c16c3[_0x4c30ea(0x125)](_0x4c30ea(0x164));},0x3e8);}[_0xb7aa97(0x18a)](){const _0x14f478=_0xb7aa97;super[_0x14f478(0x18a)](),this[_0x14f478(0x1b6)]&&clearInterval(this[_0x14f478(0x1b6)]);}[_0xb7aa97(0x19b)](_0x5685a7='',_0x5daf10='',_0x2adcfe=_0xb7aa97(0x197)){const _0x240a3b=_0xb7aa97,_0x469706=this[_0x240a3b(0x129)],_0x9ec8f3=_0x469706[_0x240a3b(0x12c)][_0x240a3b(0x139)],_0x21e3ee=_0x469706[_0x240a3b(0x157)][_0x240a3b(0x160)](_0x3b0fc0),_0xe79e51=_0x469706[_0x240a3b(0x157)][_0x240a3b(0x160)](_0x52f59d);_0x21e3ee[_0x240a3b(0x1ad)]();const _0x19e18e=new l(),_0x4873ae=new ClipboardEvent(_0x240a3b(0x110),{'clipboardData':_0x19e18e}),_0x4efef2=new _0x2394c1(_0x19e18e),_0x282dee=new _0x1ac5ff(_0x9ec8f3,_0x4873ae,{'dataTransfer':_0x4efef2});_0xe79e51[_0x240a3b(0x13d)](_0x240a3b(0x12f),()=>{const _0x1bc981=_0x240a3b;_0x9ec8f3[_0x1bc981(0x136)][_0x1bc981(0x168)](_0x1bc981(0x110),_0x282dee);}),this[_0x240a3b(0x1bb)]||(this[_0x240a3b(0x14e)](),this[_0x240a3b(0x1bd)]=new _0x5142d2(_0x469706,this[_0x240a3b(0x15b)][_0x240a3b(0x190)],this[_0x240a3b(0x1bb)]));let _0x5300b=_0x4efef2[_0x240a3b(0x144)](_0x240a3b(0x121));const _0x39e9c5=_0x469706[_0x240a3b(0x16d)][_0x240a3b(0x136)][_0x240a3b(0x134)],_0x5410ca=Array[_0x240a3b(0x19c)](_0x39e9c5[_0x240a3b(0x13e)]());0x1===_0x5410ca[_0x240a3b(0x1b4)]&&_0x5410ca[0x0][_0x240a3b(0x165)]&&!_0x39e9c5[_0x240a3b(0x12a)]()&&''!==_0x5300b[_0x240a3b(0x1ab)](/&nbsp;/g,'')[_0x240a3b(0x124)]()&&(_0x5300b=_0x240a3b(0x126)+_0x5300b+_0x240a3b(0x116)),this[_0x240a3b(0x1bd)][_0x240a3b(0x140)]({'actionId':_0x2adcfe,'query':_0x5685a7,'htmlContent':_0x5300b,'label':_0x5daf10,'mainActionLabel':_0x7680e8[_0x469706[_0x240a3b(0x16d)][_0x240a3b(0x136)][_0x240a3b(0x134)][_0x240a3b(0x17f)]?_0x240a3b(0x12e):_0x240a3b(0x18c)]}),_0x240a3b(0x146)!==this[_0x240a3b(0x149)]['id']?this[_0x240a3b(0x149)][_0x240a3b(0x114)]({'id':_0x240a3b(0x146),'icon':_0x5189ed,'title':_0x4822fd(this[_0x240a3b(0x129)][_0x240a3b(0x11b)],_0x240a3b(0x11e)),'content':this[_0x240a3b(0x1bb)],'position':_0x485275[_0x240a3b(0x17a)],'onShow':()=>{const _0x360484=_0x240a3b;this[_0x360484(0x1bb)][_0x360484(0x18d)]();},'onHide':()=>{const _0x4f36f7=_0x240a3b;this[_0x4f36f7(0x1bd)][_0x4f36f7(0x173)](),_0x21e3ee[_0x4f36f7(0x15e)]();}}):this[_0x240a3b(0x149)][_0x240a3b(0x139)][_0x240a3b(0x1b2)]||this[_0x240a3b(0x149)][_0x240a3b(0x139)][_0x240a3b(0x1be)]();}[_0xb7aa97(0x1a5)](){const _0x3cf688=_0xb7aa97;this[_0x3cf688(0x149)][_0x3cf688(0x17b)]();}[_0xb7aa97(0x1b5)](){const _0x2cd110=_0xb7aa97,_0x43f46c=new Map(),_0x44d72d=_0x39a7da(this[_0x2cd110(0x129)][_0x2cd110(0x1b8)][_0x2cd110(0x160)](_0x2cd110(0x171)),this[_0x2cd110(0x129)][_0x2cd110(0x11b)]);for(const _0x604c06 of _0x44d72d)for(const _0x317e0c of _0x604c06[_0x2cd110(0x19d)])_0x43f46c[_0x2cd110(0x135)](_0x317e0c['id'],{..._0x317e0c,'groupId':_0x604c06[_0x2cd110(0x1b7)],'groupLabel':_0x604c06[_0x2cd110(0x16a)]||_0x604c06[_0x2cd110(0x1b7)]});return _0x43f46c;}[_0xb7aa97(0x117)](_0x398eca){const _0x226208=_0xb7aa97,_0x52ce85=this[_0x226208(0x129)],_0x30fdcc=_0x52ce85[_0x226208(0x19d)][_0x226208(0x160)](_0x226208(0x18b)),_0x19136c=new _0x398eca(_0x52ce85[_0x226208(0x11b)]);return _0x19136c[_0x226208(0x135)]({'label':_0x4822fd(_0x52ce85[_0x226208(0x11b)],_0x226208(0x11e)),'icon':_0x5189ed,'isToggleable':!0x0}),_0x19136c[_0x226208(0x161)](_0x226208(0x169))['to'](_0x30fdcc),_0x19136c[_0x226208(0x161)](_0x226208(0x1ae))['to'](this[_0x226208(0x149)],'id',_0xe9c514=>_0x226208(0x146)===_0xe9c514),this[_0x226208(0x118)](_0x19136c,_0x226208(0x1a3),()=>{const _0x16366e=_0x226208;_0x19136c[_0x16366e(0x1ae)]?this[_0x16366e(0x1a5)]():_0x30fdcc[_0x16366e(0x1a3)]();}),_0x19136c;}[_0xb7aa97(0x14e)](){const _0x4c7f01=_0xb7aa97,_0x396c6c=this[_0x4c7f01(0x129)][_0x4c7f01(0x157)][_0x4c7f01(0x160)](_0x3b0fc0);this[_0x4c7f01(0x1bb)]=new _0x4013c9(this[_0x4c7f01(0x129)][_0x4c7f01(0x11b)],this[_0x4c7f01(0x1aa)],this[_0x4c7f01(0x129)][_0x4c7f01(0x1b8)][_0x4c7f01(0x160)](_0x4c7f01(0x189))),this[_0x4c7f01(0x1bb)]['on'](_0x4c7f01(0x17d),()=>{const _0x35c5d0=_0x4c7f01;this[_0x35c5d0(0x149)][_0x35c5d0(0x139)][_0x35c5d0(0x1b2)]||this[_0x35c5d0(0x149)][_0x35c5d0(0x139)][_0x35c5d0(0x1be)]();}),this[_0x4c7f01(0x1bb)][_0x4c7f01(0x176)][_0x4c7f01(0x184)][_0x4c7f01(0x1ba)]['on'](_0x4c7f01(0x188),()=>{const _0x5b06d0=_0x4c7f01;this[_0x5b06d0(0x149)][_0x5b06d0(0x139)][_0x5b06d0(0x1b2)]||this[_0x5b06d0(0x149)][_0x5b06d0(0x139)][_0x5b06d0(0x1be)]();}),this[_0x4c7f01(0x118)](this[_0x4c7f01(0x1bb)],_0x4c7f01(0x14f),()=>{const _0x3039a7=_0x4c7f01;_0x396c6c[_0x3039a7(0x12b)](this[_0x3039a7(0x1bd)][_0x3039a7(0x170)]),this[_0x3039a7(0x1a5)]();}),this[_0x4c7f01(0x118)](this[_0x4c7f01(0x1bb)],_0x4c7f01(0x198),()=>{const _0x4ffbbc=_0x4c7f01;_0x396c6c[_0x4ffbbc(0x198)](this[_0x4ffbbc(0x1bd)][_0x4ffbbc(0x170)]),this[_0x4ffbbc(0x1a5)]();}),this[_0x4c7f01(0x162)]();}[_0xb7aa97(0x162)](){const _0x1dc90c=_0xb7aa97,{locale:_0x2d0d9b,ui:{ariaLiveAnnouncer:_0x27f0d6}}=this[_0x1dc90c(0x129)];this[_0x1dc90c(0x1bb)][_0x1dc90c(0x1a9)]['on'](_0x1dc90c(0x163),(_0x3ce50d,_0x29bbbc,_0x4ba131)=>{const _0x105951=_0x1dc90c,_0x6a2d30=this[_0x105951(0x1bd)][_0x105951(0x170)];_0x4ba131?_0x27f0d6[_0x105951(0x131)](_0x4822fd(_0x2d0d9b,_0x105951(0x1c1))):_0x6a2d30&&_0x27f0d6[_0x105951(0x131)](_0x4822fd(_0x2d0d9b,_0x105951(0x127),_0x6a2d30),{'politeness':_0x105951(0x1b1),'isUnsafeHTML':!0x0});}),this[_0x1dc90c(0x1bb)]['on'](_0x1dc90c(0x111),(_0x499d58,_0x5bbf7f,_0x3f4d29)=>{const _0xb103a9=_0x1dc90c;if(_0x3f4d29){const _0xc4acdc=this[_0xb103a9(0x1bb)][_0xb103a9(0x158)][_0xb103a9(0x13a)];_0x27f0d6[_0xb103a9(0x131)](_0x4822fd(_0x2d0d9b,_0xb103a9(0x174),_0xc4acdc));}});}[_0xb7aa97(0x159)](_0x23586a){const _0x57c3e2=_0xb7aa97,_0x28cc51=this[_0x57c3e2(0x19e)][_0x57c3e2(0x160)](_0x23586a),_0x48e180=this[_0x57c3e2(0x129)],_0xc29975=_0x48e180[_0x57c3e2(0x16d)][_0x57c3e2(0x136)][_0x57c3e2(0x134)],_0x2d0b96=_0x48e180[_0x57c3e2(0x19d)][_0x57c3e2(0x160)](_0x57c3e2(0x18b)),_0x247c3d=_0x48e180[_0x57c3e2(0x157)][_0x57c3e2(0x160)](_0x3b0fc0),_0xb1c96=''+(_0x28cc51[_0x57c3e2(0x1b7)]!==_0x4c3d68?_0x28cc51[_0x57c3e2(0x16a)]+':\x20':'')+_0x28cc51[_0x57c3e2(0x1af)];if(!0x1!==_0x28cc51[_0x57c3e2(0x191)]&&_0xc29975[_0x57c3e2(0x17f)]){const _0x556f51=_0x58105c(_0xc29975[_0x57c3e2(0x122)]())||_0x48e180[_0x57c3e2(0x16d)][_0x57c3e2(0x1bc)][_0x57c3e2(0x119)](_0xc29975);_0x48e180[_0x57c3e2(0x16d)][_0x57c3e2(0x11f)](_0x410bb5=>{const _0x44b4c6=_0x57c3e2;_0x410bb5[_0x44b4c6(0x1bf)](_0x556f51,'in');});}_0x247c3d[_0x57c3e2(0x1ad)](),_0x2d0b96[_0x57c3e2(0x1a3)](_0x28cc51[_0x57c3e2(0x16c)],_0xb1c96,_0x57c3e2(0x1c0)+_0x23586a);}[_0xb7aa97(0x12d)](_0x19ae36,_0x66e281,_0x3371ad,_0x44d828){const _0x311a1a=_0xb7aa97,_0x35126f=this[_0x311a1a(0x129)],_0x4643b0=_0x35126f[_0x311a1a(0x11b)],_0x47c414=new _0x36f9d9(_0x4643b0),_0x122562=U(_0x35126f,_0x3371ad)[_0x311a1a(0x148)](_0x3c624f=>_0x3c624f[_0x311a1a(0x19d)][_0x311a1a(0x1b4)]);0x1===_0x122562[_0x311a1a(0x1b4)]?this[_0x311a1a(0x128)]({'command':_0x19ae36,'commands':_0x122562[0x0][_0x311a1a(0x19d)],'parentMenuView':_0x66e281,'onExecute':_0x44d828})[_0x311a1a(0x19a)](_0xc476e3=>_0x47c414[_0x311a1a(0x123)][_0x311a1a(0x167)](_0xc476e3)):_0x122562[_0x311a1a(0x19a)](({groupId:_0x587555,groupLabel:_0x4304e9,commands:_0x554972})=>{const _0x574afb=_0x311a1a,_0x4af0c5=new _0x472308(_0x4643b0,_0x66e281),_0x1b2c6c=new _0x2d0f4a(_0x4643b0),_0x1675b0=new _0x36f9d9(_0x4643b0),_0x57de89=this[_0x574afb(0x128)]({'command':_0x19ae36,'commands':_0x554972,'parentMenuView':_0x1b2c6c,'onExecute':_0x44d828});_0x1b2c6c[_0x574afb(0x1a2)][_0x574afb(0x135)]({'label':_0x4304e9||_0x587555}),_0x1b2c6c[_0x574afb(0x156)](_0x574afb(0x1a3))['to'](_0x66e281),_0x1675b0[_0x574afb(0x123)][_0x574afb(0x1b3)](_0x57de89),_0x1b2c6c[_0x574afb(0x182)][_0x574afb(0x19f)][_0x574afb(0x167)](_0x1675b0),_0x4af0c5[_0x574afb(0x19f)][_0x574afb(0x167)](_0x1b2c6c),_0x47c414[_0x574afb(0x123)][_0x574afb(0x167)](_0x4af0c5);}),_0x66e281[_0x311a1a(0x182)][_0x311a1a(0x19f)][_0x311a1a(0x167)](_0x47c414);}[_0xb7aa97(0x128)]({command:_0x497a32,commands:_0x582204,parentMenuView:_0x4f74d4,onExecute:_0x1d57ae}){const _0x427d97=_0xb7aa97,_0x1ccbe2=this[_0x427d97(0x129)],_0x1abee9=_0x1ccbe2[_0x427d97(0x11b)];return U(_0x1ccbe2,_0x582204)[_0x427d97(0x178)](_0xca609c=>{const _0x2b4e93=_0x427d97,_0x2b73ba=new _0x472308(_0x1abee9,_0x4f74d4),_0xa65ee=new _0x3d1839(_0x1abee9);return _0xa65ee[_0x2b4e93(0x135)]({'label':_0xca609c[_0x2b4e93(0x1af)]}),_0xa65ee[_0x2b4e93(0x156)](_0x2b4e93(0x1a3))['to'](_0x4f74d4),_0xa65ee['on'](_0x2b4e93(0x1a3),()=>_0x1d57ae(_0xca609c['id'])),_0xa65ee[_0x2b4e93(0x161)](_0x2b4e93(0x169))['to'](_0x497a32,_0x2b4e93(0x11a),_0x146b47=>_0x146b47[_0x2b4e93(0x179)](_0xca609c['id'])),_0x2b73ba[_0x2b4e93(0x19f)][_0x2b4e93(0x167)](_0xa65ee),_0x2b73ba;});}}function T(_0x26e777,_0xe18f46){const _0x260245=_0xb7aa97;return void 0x0!==_0x26e777[_0x260245(0x147)]&&void 0x0===_0xe18f46[_0x260245(0x147)]?0x1:void 0x0===_0x26e777[_0x260245(0x147)]&&void 0x0!==_0xe18f46[_0x260245(0x147)]?-0x1:void 0x0!==_0x26e777[_0x260245(0x147)]&&void 0x0!==_0xe18f46[_0x260245(0x147)]?_0x26e777[_0x260245(0x147)]-_0xe18f46[_0x260245(0x147)]:0x0;}function U(_0x2e4d20,_0x5cff8c){const _0x2cdf1b=_0xb7aa97;_0x5cff8c[_0x2cdf1b(0x1a1)](T);const _0x12bbbd={},_0x288ebb=[];for(const _0x1ceb77 of _0x5cff8c)if(void 0x0!==_0x1ceb77[_0x2cdf1b(0x147)]){if(_0x1ceb77[_0x2cdf1b(0x147)]in _0x12bbbd)throw new _0x44a22b(_0x2cdf1b(0x120),_0x2e4d20,{'conflictingDefinitions':[_0x1ceb77,_0x12bbbd[_0x1ceb77[_0x2cdf1b(0x147)]]]});_0x12bbbd[_0x1ceb77[_0x2cdf1b(0x147)]]=_0x1ceb77,_0x288ebb[_0x2cdf1b(0x13f)](_0x1ceb77[_0x2cdf1b(0x147)],0x0,_0x1ceb77);}else _0x288ebb[_0x2cdf1b(0x1a7)](_0x1ceb77);return _0x288ebb;}
23
+ const _0x54e6bc=_0x2f4d;(function(_0x2a6366,_0x5ce369){const _0x30130c=_0x2f4d,_0x34569a=_0x2a6366();while(!![]){try{const _0x25b53b=parseInt(_0x30130c(0x121))/0x1*(parseInt(_0x30130c(0x10b))/0x2)+-parseInt(_0x30130c(0x14a))/0x3*(parseInt(_0x30130c(0xe6))/0x4)+parseInt(_0x30130c(0x142))/0x5+parseInt(_0x30130c(0xef))/0x6+-parseInt(_0x30130c(0x15c))/0x7*(-parseInt(_0x30130c(0x13d))/0x8)+parseInt(_0x30130c(0x16b))/0x9*(-parseInt(_0x30130c(0x114))/0xa)+-parseInt(_0x30130c(0x14b))/0xb;if(_0x25b53b===_0x5ce369)break;else _0x34569a['push'](_0x34569a['shift']());}catch(_0x294585){_0x34569a['push'](_0x34569a['shift']());}}}(_0x142f,0x1f149));import{Plugin as _0x35513d}from'ckeditor5/src/core.js';import{IconMagicWand as _0x36fbcd,IconRobotPencil as _0x10b78c}from'ckeditor5/src/icons.js';import{first as _0x4bf260,CKEditorError as _0x39a8f4}from'ckeditor5/src/utils.js';import{createDropdown as _0x3fc6f8,addMenuToDropdown as _0x328540,ButtonView as _0x401623,MenuBarMenuListItemButtonView as _0x24efa2,Dialog as _0x183451,DialogViewPosition as _0x4e4794,MenuBarMenuView as _0x48f30b,MenuBarMenuListView as _0xa52a22,MenuBarMenuListItemView as _0x373a5b}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x12312e,UNGROUPED_COMMANDS_GROUP_ID as _0x3c86da}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x41ed49}from'./aiassistantediting.js';import{AIAdapter as _0x371142}from'./adapters/aiadapter.js';import{getTranslation as _0x35020c}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x2ac7a8}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x2c10b1}from'./ui/aiassistantcontroller.js';function _0x142f(){const _0x682d93=['_dialog','EDITOR_TOP_SIDE','includes','aiLicenseKeyInvalid','editing','replaceContent','view','_aiAssistantController','AI\x20is\x20writing','aiCommands','update','items','change:value','requires','push','change:isError','commands','_populateMenuBarMenu','getSelectedElement','fire','errorView','_uiCssClasses','listenTo','menuBar:aiAssistant','replace','delegate','isOn','menuPanelClass','menuView','Error\x20during\x20AI\x20content\x20generation:\x20%0','hideFakeVisualSelection','ai.aiAssistant.commands','_aiAdapter','isEnabled','892KvaevZ','model','setSelection','DataTransfer','isOfficialPlugin','order','isPremiumPlugin','editor','\x20ck-ai-assistant-ui_theme','1209252bTgLqo','groupId','custom','_getResolvedCommandsDefinitions','componentFactory','trim','selection','bind','ck-ai-assistant-button\x20','showUI','textAdapter','AIAssistantUI','buttonView','splice','schema','prompt','AI\x20Assistant','promptView','REPLACE','menuBar:aiCommands','updateView','invalid','getLimitElement','length','licenseKey','wasMoved','ai-commands-config-order-collision','change','382370nQlAeW','from','ck-ai-assistant-ui','sort','destroy','_createAIAssistantUIButton','showFakeVisualSelection','hide','usageLimit','1580290WsddIL','define','change:enabledCommandsIds','source','plugins','focus','isFlat','ai.aiAssistant.disabledElements','aiLicenseKeyUsageLimit','ai.useTheme','updatePosition','enabledCommandsIds','aiLicenseKeyNotAllowed','1DYECGh','trialLimit','text','buttons','add','media','label','forEach','body','getSelectedBlocks','aiLicenseKeyDomainLimit','AIAssistant','INSERT','show','featureNotAllowed','aiLicenseKeyTrialLimit','_commandDefinitions','aiLicenseKeyEvaluationLimit','showAIAssistant','Generated\x20content:\x20%0','ai.aiAssistant.contentAreaCssClass','filter','_getMenuBarGroupButtons','tableOfContents','polite','getRanges','menuitemcheckbox','document','16136kdEJnl','_formView','groupLabel','render','hideUI','1004505OKOxku','reset','command:','text/html','rawHtml','contentArea','map','values','1257bSfYpJ','3650273OmSuhw','set','_initView','children','isCollapsed','get','getData','currentContext','insertContentBelow','fieldView','_initAriaAiStatusChangeAnnouncements','announce','requiresContent','config','_showLicenseError','panelView','_licenseKeyCheckInterval','406otrLkQ','AI\x20Commands','addMany','insertContent','pluginName','aiAssistant','init','queryView','expired','once','<p>','domainLimit','comment','_onExecute','ck-ai-commands-dropdown\x20','9NILKHY','change:isProcessing','aiLicenseKeyExpired','_forceMarkersCopy','aiLicenseKeyValid','locale','execute','copy','evaluationLimit','</p>'];_0x142f=function(){return _0x682d93;};return _0x142f();}import{AIFormView as _0x1145cc}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xb2825f}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';function _0x2f4d(_0x7bb00a,_0x5c1675){const _0x142f24=_0x142f();return _0x2f4d=function(_0x2f4d4d,_0x4f525c){_0x2f4d4d=_0x2f4d4d-0xc5;let _0x5dc2d9=_0x142f24[_0x2f4d4d];return _0x5dc2d9;},_0x2f4d(_0x7bb00a,_0x5c1675);}import'../theme/ai-form.css';const l=globalThis[_0x54e6bc(0xe9)];import{ClipboardMarkersUtils as _0x3aa9be}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x486eba,ViewDataTransfer as _0x5d8eb6}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x35513d{[_0x54e6bc(0x107)];[_0x54e6bc(0x15b)];[_0x54e6bc(0x175)];[_0x54e6bc(0x13e)];[_0x54e6bc(0xe4)];[_0x54e6bc(0xcb)];[_0x54e6bc(0xd9)]='';static get[_0x54e6bc(0x160)](){const _0x9df887=_0x54e6bc;return _0x9df887(0xfa);}static get[_0x54e6bc(0xea)](){return!0x0;}static get[_0x54e6bc(0xec)](){return!0x0;}static get[_0x54e6bc(0xd1)](){return[_0x3aa9be,_0x41ed49,_0x371142,_0x183451];}constructor(_0x497d80){const _0x1137ed=_0x54e6bc;super(_0x497d80),_0x497d80[_0x1137ed(0x158)][_0x1137ed(0x115)](_0x1137ed(0x11b),[_0x1137ed(0x126),_0x1137ed(0x146),_0x1137ed(0x138)]),_0x497d80[_0x1137ed(0x158)][_0x1137ed(0x115)](_0x1137ed(0x135),''),_0x497d80[_0x1137ed(0x158)][_0x1137ed(0x115)](_0x1137ed(0x11d),!0x0),this[_0x1137ed(0xd9)]=_0x1137ed(0x10d)+(_0x497d80[_0x1137ed(0x158)][_0x1137ed(0x150)](_0x1137ed(0x11d))?_0x1137ed(0xee):'');}[_0x54e6bc(0x162)](){const _0x4fc464=_0x54e6bc,{editor:_0x10d958}=this;this[_0x4fc464(0xe4)]=_0x10d958[_0x4fc464(0x118)][_0x4fc464(0x150)](_0x371142),this[_0x4fc464(0x175)]=_0x10d958[_0x4fc464(0x118)][_0x4fc464(0x150)](_0x183451),this[_0x4fc464(0x13e)]=null,this[_0x4fc464(0x131)]=this[_0x4fc464(0xf2)]();const _0x4e097d=new _0x2ac7a8(_0x10d958,Array[_0x4fc464(0x10c)](this[_0x4fc464(0x131)][_0x4fc464(0x149)]()));_0x10d958[_0x4fc464(0xd4)][_0x4fc464(0x125)](_0x4fc464(0x133),_0x4e097d),_0x10d958['ui'][_0x4fc464(0xf3)][_0x4fc464(0x125)](_0x4fc464(0xcd),_0x1c5e6e=>{const _0x1f29f2=_0x4fc464,_0x1f0bc7=_0x3fc6f8(_0x1c5e6e);return _0x1f0bc7[_0x1f29f2(0x14c)]({'class':_0x1f29f2(0x16a)+this[_0x1f29f2(0xd9)]}),_0x1f0bc7[_0x1f29f2(0xfb)][_0x1f29f2(0x14c)]({'label':_0x35020c(_0x1c5e6e,_0x1f29f2(0x15d)),'icon':_0x36fbcd,'tooltip':!0x0}),_0x1f0bc7['on'](_0x1f29f2(0x171),_0x547d7c=>this[_0x1f29f2(0x169)](_0x547d7c[_0x1f29f2(0x117)]['id'])),_0x328540(_0x1f0bc7,_0x10d958['ui'][_0x1f29f2(0xca)][_0x1f29f2(0x129)],function(_0x177568){const _0x203fbf=_0x1f29f2,_0x1f862f=_0x12312e(_0x177568[_0x203fbf(0x158)][_0x203fbf(0x150)](_0x203fbf(0xe3)),_0x177568[_0x203fbf(0x170)]),_0x1749c9=U(_0x177568,_0x1f862f)[_0x203fbf(0x136)](_0x416de2=>_0x416de2[_0x203fbf(0xd4)][_0x203fbf(0x106)]);if(0x1===_0x1749c9[_0x203fbf(0x106)])return U(_0x177568,_0x1749c9[0x0][_0x203fbf(0xd4)])[_0x203fbf(0x148)](_0x33a7b1=>({'id':_0x33a7b1['id'],'label':_0x33a7b1[_0x203fbf(0x127)]}));return _0x1749c9[_0x203fbf(0x148)](_0x45a37d=>{const _0x73e78e=_0x203fbf,{groupId:_0x4997e7,groupLabel:_0xf34a46,commands:_0x3b990b}=_0x45a37d,_0x4d4154=U(_0x177568,_0x3b990b)[_0x73e78e(0x148)](_0x5bfd18=>({'id':_0x5bfd18['id'],'label':_0x5bfd18[_0x73e78e(0x127)]}));return{'id':_0x4997e7,'menu':_0xf34a46||_0x4997e7,'children':_0x4d4154};});}(_0x10d958),{'ariaLabel':_0x35020c(_0x1c5e6e,_0x1f29f2(0x15d))}),_0x1f0bc7[_0x1f29f2(0xe0)][_0x1f29f2(0xdf)]=_0x1f29f2(0x16a)+this[_0x1f29f2(0xd9)],_0x4e097d['on'](_0x1f29f2(0x116),_0x22031a),_0x1f0bc7[_0x1f29f2(0xe0)][_0x1f29f2(0x165)](_0x1f29f2(0x140),_0x22031a),_0x1f0bc7;function _0x22031a(){const _0x58653a=_0x1f29f2;_0x1f0bc7[_0x58653a(0xe5)]=_0x4e097d[_0x58653a(0x11f)][_0x58653a(0x106)]>0x0;for(const _0x53de08 of _0x1f0bc7[_0x58653a(0xe0)][_0x58653a(0x124)])_0x53de08[_0x58653a(0xe5)]=_0x4e097d[_0x58653a(0x11f)][_0x58653a(0xc6)](_0x53de08['id']);}}),_0x10d958['ui'][_0x4fc464(0xf3)][_0x4fc464(0x125)](_0x4fc464(0x102),_0xf0007e=>{const _0x180068=_0x4fc464,_0xc0205b=new _0x48f30b(_0xf0007e);_0xc0205b[_0x180068(0xfb)][_0x180068(0x14c)]({'label':_0x35020c(_0xf0007e,_0x180068(0x15d)),'icon':_0x36fbcd}),_0xc0205b[_0x180068(0xf6)](_0x180068(0xe5))['to'](_0x4e097d,_0x180068(0x11f),_0x5c2835=>_0x5c2835[_0x180068(0x106)]>0x0);const _0x33c425=_0x12312e(_0x10d958[_0x180068(0x158)][_0x180068(0x150)](_0x180068(0xe3)),_0xf0007e);return this[_0x180068(0xd5)](_0x4e097d,_0xc0205b,_0x33c425,_0x25dfe8=>this[_0x180068(0x169)](_0x25dfe8)),_0xc0205b;}),_0x10d958['ui'][_0x4fc464(0xf3)][_0x4fc464(0x125)](_0x4fc464(0x161),()=>{const _0x290f98=_0x4fc464,_0x4d3a7e=this[_0x290f98(0x110)](_0x401623);return _0x4d3a7e[_0x290f98(0x14c)]({'tooltip':!0x0,'class':_0x290f98(0xf7)+this[_0x290f98(0xd9)]}),_0x4d3a7e;}),_0x10d958['ui'][_0x4fc464(0xf3)][_0x4fc464(0x125)](_0x4fc464(0xdb),()=>{const _0x247194=_0x4fc464,_0x1e22de=this[_0x247194(0x110)](_0x24efa2);return _0x1e22de[_0x247194(0x14c)]({'role':_0x247194(0x13b)}),_0x1e22de;}),this[_0x4fc464(0x107)]=this[_0x4fc464(0xed)][_0x4fc464(0x158)][_0x4fc464(0x150)](_0x4fc464(0x107));const _0x4ab8d7=this[_0x4fc464(0xed)];this[_0x4fc464(0x15b)]=setInterval(()=>{const _0x373111=_0x4fc464;let _0x5273ca;for(const _0x30fe5c in _0x4ab8d7){const _0xdf3f74=_0x30fe5c,_0x4b7937=_0x4ab8d7[_0xdf3f74];if(_0x373111(0x16f)==_0x4b7937||_0x373111(0xc7)==_0x4b7937||_0x373111(0x16d)==_0x4b7937||_0x373111(0x12b)==_0x4b7937||_0x373111(0x120)==_0x4b7937||_0x373111(0x132)==_0x4b7937||_0x373111(0x130)==_0x4b7937||_0x373111(0x11c)==_0x4b7937){delete _0x4ab8d7[_0xdf3f74],_0x5273ca=_0x4b7937,clearInterval(this[_0x373111(0x15b)]),this[_0x373111(0x15b)]=void 0x0;break;}}_0x373111(0xc7)==_0x5273ca&&_0x4ab8d7[_0x373111(0x159)](_0x373111(0x104)),_0x373111(0x16d)==_0x5273ca&&_0x4ab8d7[_0x373111(0x159)](_0x373111(0x164)),_0x373111(0x12b)==_0x5273ca&&_0x4ab8d7[_0x373111(0x159)](_0x373111(0x167)),_0x373111(0x120)==_0x5273ca&&_0x4ab8d7[_0x373111(0x159)](_0x373111(0x12f),_0x373111(0x12c)),_0x373111(0x132)==_0x5273ca&&_0x4ab8d7[_0x373111(0x159)](_0x373111(0x173)),_0x373111(0x130)==_0x5273ca&&_0x4ab8d7[_0x373111(0x159)](_0x373111(0x122)),_0x373111(0x11c)==_0x5273ca&&_0x4ab8d7[_0x373111(0x159)](_0x373111(0x113));},0x3e8);}[_0x54e6bc(0x10f)](){const _0x193d1d=_0x54e6bc;super[_0x193d1d(0x10f)](),this[_0x193d1d(0x15b)]&&clearInterval(this[_0x193d1d(0x15b)]);}[_0x54e6bc(0xf8)](_0x953c3a='',_0x2560c6='',_0x547c03=_0x54e6bc(0xf1)){const _0x4974e7=_0x54e6bc,_0x435208=this[_0x4974e7(0xed)],_0x494548=_0x435208[_0x4974e7(0xc8)][_0x4974e7(0xca)],_0x33c723=_0x435208[_0x4974e7(0x118)][_0x4974e7(0x150)](_0x41ed49),_0x20819e=_0x435208[_0x4974e7(0x118)][_0x4974e7(0x150)](_0x3aa9be);_0x33c723[_0x4974e7(0x111)]();const _0x4595b7=new l(),_0x38c24d=new ClipboardEvent(_0x4974e7(0x172),{'clipboardData':_0x4595b7}),_0x21c3b1=new _0x5d8eb6(_0x4595b7),_0x150fbb=new _0x486eba(_0x494548,_0x38c24d,{'dataTransfer':_0x21c3b1});_0x20819e[_0x4974e7(0x16e)](_0x4974e7(0x168),()=>{const _0x3ca98b=_0x4974e7;_0x494548[_0x3ca98b(0x13c)][_0x3ca98b(0xd7)](_0x3ca98b(0x172),_0x150fbb);}),this[_0x4974e7(0x13e)]||(this[_0x4974e7(0x14d)](),this[_0x4974e7(0xcb)]=new _0x2c10b1(_0x435208,this[_0x4974e7(0xe4)][_0x4974e7(0xf9)],this[_0x4974e7(0x13e)]));let _0x6d7c4e=_0x21c3b1[_0x4974e7(0x151)](_0x4974e7(0x145));const _0x1c071d=_0x435208[_0x4974e7(0xe7)][_0x4974e7(0x13c)][_0x4974e7(0xf5)],_0x1b6066=Array[_0x4974e7(0x10c)](_0x1c071d[_0x4974e7(0x13a)]());0x1===_0x1b6066[_0x4974e7(0x106)]&&_0x1b6066[0x0][_0x4974e7(0x11a)]&&!_0x1c071d[_0x4974e7(0xd6)]()&&''!==_0x6d7c4e[_0x4974e7(0xdc)](/&nbsp;/g,'')[_0x4974e7(0xf4)]()&&(_0x6d7c4e=_0x4974e7(0x166)+_0x6d7c4e+_0x4974e7(0x174)),this[_0x4974e7(0xcb)][_0x4974e7(0x103)]({'actionId':_0x547c03,'query':_0x953c3a,'htmlContent':_0x6d7c4e,'label':_0x2560c6,'mainActionLabel':_0xb2825f[_0x435208[_0x4974e7(0xe7)][_0x4974e7(0x13c)][_0x4974e7(0xf5)][_0x4974e7(0x14f)]?_0x4974e7(0x12d):_0x4974e7(0x101)]}),_0x4974e7(0x161)!==this[_0x4974e7(0x175)]['id']?this[_0x4974e7(0x175)][_0x4974e7(0x12e)]({'id':_0x4974e7(0x161),'icon':_0x10b78c,'title':_0x35020c(this[_0x4974e7(0xed)][_0x4974e7(0x170)],_0x4974e7(0xff)),'content':this[_0x4974e7(0x13e)],'position':_0x4e4794[_0x4974e7(0xc5)],'onShow':()=>{const _0x3d0e0c=_0x4974e7;this[_0x3d0e0c(0x13e)][_0x3d0e0c(0x119)]();},'onHide':()=>{const _0x461909=_0x4974e7;this[_0x461909(0xcb)][_0x461909(0x143)](),_0x33c723[_0x461909(0xe2)]();}}):this[_0x4974e7(0x175)][_0x4974e7(0xca)][_0x4974e7(0x108)]||this[_0x4974e7(0x175)][_0x4974e7(0xca)][_0x4974e7(0x11e)]();}[_0x54e6bc(0x141)](){const _0x23e236=_0x54e6bc;this[_0x23e236(0x175)][_0x23e236(0x112)]();}[_0x54e6bc(0xf2)](){const _0x212c54=_0x54e6bc,_0x3e42c3=new Map(),_0x5f4d67=_0x12312e(this[_0x212c54(0xed)][_0x212c54(0x158)][_0x212c54(0x150)](_0x212c54(0xe3)),this[_0x212c54(0xed)][_0x212c54(0x170)]);for(const _0x380adf of _0x5f4d67)for(const _0x87cbe4 of _0x380adf[_0x212c54(0xd4)])_0x3e42c3[_0x212c54(0x14c)](_0x87cbe4['id'],{..._0x87cbe4,'groupId':_0x380adf[_0x212c54(0xf0)],'groupLabel':_0x380adf[_0x212c54(0x13f)]||_0x380adf[_0x212c54(0xf0)]});return _0x3e42c3;}[_0x54e6bc(0x110)](_0x26f3e1){const _0x25d35d=_0x54e6bc,_0x173af9=this[_0x25d35d(0xed)],_0x3107d8=_0x173af9[_0x25d35d(0xd4)][_0x25d35d(0x150)](_0x25d35d(0x133)),_0x2dcf89=new _0x26f3e1(_0x173af9[_0x25d35d(0x170)]);return _0x2dcf89[_0x25d35d(0x14c)]({'label':_0x35020c(_0x173af9[_0x25d35d(0x170)],_0x25d35d(0xff)),'icon':_0x10b78c,'isToggleable':!0x0}),_0x2dcf89[_0x25d35d(0xf6)](_0x25d35d(0xe5))['to'](_0x3107d8),_0x2dcf89[_0x25d35d(0xf6)](_0x25d35d(0xde))['to'](this[_0x25d35d(0x175)],'id',_0x59a1e7=>_0x25d35d(0x161)===_0x59a1e7),this[_0x25d35d(0xda)](_0x2dcf89,_0x25d35d(0x171),()=>{const _0x3355ca=_0x25d35d;_0x2dcf89[_0x3355ca(0xde)]?this[_0x3355ca(0x141)]():_0x3107d8[_0x3355ca(0x171)]();}),_0x2dcf89;}[_0x54e6bc(0x14d)](){const _0x4cfabb=_0x54e6bc,_0x2d0282=this[_0x4cfabb(0xed)][_0x4cfabb(0x118)][_0x4cfabb(0x150)](_0x41ed49);this[_0x4cfabb(0x13e)]=new _0x1145cc(this[_0x4cfabb(0xed)][_0x4cfabb(0x170)],this[_0x4cfabb(0xd9)],this[_0x4cfabb(0xed)][_0x4cfabb(0x158)][_0x4cfabb(0x150)](_0x4cfabb(0x135))),this[_0x4cfabb(0x13e)]['on'](_0x4cfabb(0xd0),()=>{const _0xd07f84=_0x4cfabb;this[_0xd07f84(0x175)][_0xd07f84(0xca)][_0xd07f84(0x108)]||this[_0xd07f84(0x175)][_0xd07f84(0xca)][_0xd07f84(0x11e)]();}),this[_0x4cfabb(0x13e)][_0x4cfabb(0x100)][_0x4cfabb(0x163)][_0x4cfabb(0x154)]['on'](_0x4cfabb(0xce),()=>{const _0x2f1437=_0x4cfabb;this[_0x2f1437(0x175)][_0x2f1437(0xca)][_0x2f1437(0x108)]||this[_0x2f1437(0x175)][_0x2f1437(0xca)][_0x2f1437(0x11e)]();}),this[_0x4cfabb(0xda)](this[_0x4cfabb(0x13e)],_0x4cfabb(0xc9),()=>{const _0x8816ea=_0x4cfabb;_0x2d0282[_0x8816ea(0x15f)](this[_0x8816ea(0xcb)][_0x8816ea(0x152)]),this[_0x8816ea(0x141)]();}),this[_0x4cfabb(0xda)](this[_0x4cfabb(0x13e)],_0x4cfabb(0x153),()=>{const _0x17f434=_0x4cfabb;_0x2d0282[_0x17f434(0x153)](this[_0x17f434(0xcb)][_0x17f434(0x152)]),this[_0x17f434(0x141)]();}),this[_0x4cfabb(0x155)]();}[_0x54e6bc(0x155)](){const _0x1569fc=_0x54e6bc,{locale:_0x300951,ui:{ariaLiveAnnouncer:_0x4cd342}}=this[_0x1569fc(0xed)];this[_0x1569fc(0x13e)][_0x1569fc(0x147)]['on'](_0x1569fc(0x16c),(_0x1f1a1c,_0xece4e8,_0xb65f9e)=>{const _0xe6da18=_0x1569fc,_0x505bdf=this[_0xe6da18(0xcb)][_0xe6da18(0x152)];_0xb65f9e?_0x4cd342[_0xe6da18(0x156)](_0x35020c(_0x300951,_0xe6da18(0xcc))):_0x505bdf&&_0x4cd342[_0xe6da18(0x156)](_0x35020c(_0x300951,_0xe6da18(0x134),_0x505bdf),{'politeness':_0xe6da18(0x139),'isUnsafeHTML':!0x0});}),this[_0x1569fc(0x13e)]['on'](_0x1569fc(0xd3),(_0x316955,_0x5746ed,_0x1ba5c1)=>{const _0x1f4532=_0x1569fc;if(_0x1ba5c1){const _0x5af92f=this[_0x1f4532(0x13e)][_0x1f4532(0xd8)][_0x1f4532(0x123)];_0x4cd342[_0x1f4532(0x156)](_0x35020c(_0x300951,_0x1f4532(0xe1),_0x5af92f));}});}[_0x54e6bc(0x169)](_0x9b8477){const _0x423d76=_0x54e6bc,_0x303dda=this[_0x423d76(0x131)][_0x423d76(0x150)](_0x9b8477),_0x4f9fc4=this[_0x423d76(0xed)],_0x51ae51=_0x4f9fc4[_0x423d76(0xe7)][_0x423d76(0x13c)][_0x423d76(0xf5)],_0x46e309=_0x4f9fc4[_0x423d76(0xd4)][_0x423d76(0x150)](_0x423d76(0x133)),_0x51490f=_0x4f9fc4[_0x423d76(0x118)][_0x423d76(0x150)](_0x41ed49),_0x11273f=''+(_0x303dda[_0x423d76(0xf0)]!==_0x3c86da?_0x303dda[_0x423d76(0x13f)]+':\x20':'')+_0x303dda[_0x423d76(0x127)];if(!0x1!==_0x303dda[_0x423d76(0x157)]&&_0x51ae51[_0x423d76(0x14f)]){const _0x383df5=_0x4bf260(_0x51ae51[_0x423d76(0x12a)]())||_0x4f9fc4[_0x423d76(0xe7)][_0x423d76(0xfd)][_0x423d76(0x105)](_0x51ae51);_0x4f9fc4[_0x423d76(0xe7)][_0x423d76(0x10a)](_0x25994e=>{const _0x3af243=_0x423d76;_0x25994e[_0x3af243(0xe8)](_0x383df5,'in');});}_0x51490f[_0x423d76(0x111)](),_0x46e309[_0x423d76(0x171)](_0x303dda[_0x423d76(0xfe)],_0x11273f,_0x423d76(0x144)+_0x9b8477);}[_0x54e6bc(0xd5)](_0x174a33,_0x2f008e,_0x13b59d,_0x5701e8){const _0x51b7fd=_0x54e6bc,_0x11c36f=this[_0x51b7fd(0xed)],_0x56721e=_0x11c36f[_0x51b7fd(0x170)],_0x42b580=new _0xa52a22(_0x56721e),_0x335257=U(_0x11c36f,_0x13b59d)[_0x51b7fd(0x136)](_0x2d7403=>_0x2d7403[_0x51b7fd(0xd4)][_0x51b7fd(0x106)]);0x1===_0x335257[_0x51b7fd(0x106)]?this[_0x51b7fd(0x137)]({'command':_0x174a33,'commands':_0x335257[0x0][_0x51b7fd(0xd4)],'parentMenuView':_0x2f008e,'onExecute':_0x5701e8})[_0x51b7fd(0x128)](_0x5160bb=>_0x42b580[_0x51b7fd(0xcf)][_0x51b7fd(0x125)](_0x5160bb)):_0x335257[_0x51b7fd(0x128)](({groupId:_0x4fe000,groupLabel:_0x1004f3,commands:_0x114a75})=>{const _0x5c428f=_0x51b7fd,_0xf9898d=new _0x373a5b(_0x56721e,_0x2f008e),_0x530b23=new _0x48f30b(_0x56721e),_0x5208e9=new _0xa52a22(_0x56721e),_0x30475e=this[_0x5c428f(0x137)]({'command':_0x174a33,'commands':_0x114a75,'parentMenuView':_0x530b23,'onExecute':_0x5701e8});_0x530b23[_0x5c428f(0xfb)][_0x5c428f(0x14c)]({'label':_0x1004f3||_0x4fe000}),_0x530b23[_0x5c428f(0xdd)](_0x5c428f(0x171))['to'](_0x2f008e),_0x5208e9[_0x5c428f(0xcf)][_0x5c428f(0x15e)](_0x30475e),_0x530b23[_0x5c428f(0x15a)][_0x5c428f(0x14e)][_0x5c428f(0x125)](_0x5208e9),_0xf9898d[_0x5c428f(0x14e)][_0x5c428f(0x125)](_0x530b23),_0x42b580[_0x5c428f(0xcf)][_0x5c428f(0x125)](_0xf9898d);}),_0x2f008e[_0x51b7fd(0x15a)][_0x51b7fd(0x14e)][_0x51b7fd(0x125)](_0x42b580);}[_0x54e6bc(0x137)]({command:_0x1d1660,commands:_0x1295e2,parentMenuView:_0x2848f4,onExecute:_0xe36829}){const _0x2ae555=_0x54e6bc,_0xa0022e=this[_0x2ae555(0xed)],_0x3571d5=_0xa0022e[_0x2ae555(0x170)];return U(_0xa0022e,_0x1295e2)[_0x2ae555(0x148)](_0x431141=>{const _0x55de5c=_0x2ae555,_0xf18682=new _0x373a5b(_0x3571d5,_0x2848f4),_0x2f66b7=new _0x24efa2(_0x3571d5);return _0x2f66b7[_0x55de5c(0x14c)]({'label':_0x431141[_0x55de5c(0x127)]}),_0x2f66b7[_0x55de5c(0xdd)](_0x55de5c(0x171))['to'](_0x2848f4),_0x2f66b7['on'](_0x55de5c(0x171),()=>_0xe36829(_0x431141['id'])),_0x2f66b7[_0x55de5c(0xf6)](_0x55de5c(0xe5))['to'](_0x1d1660,_0x55de5c(0x11f),_0x20971a=>_0x20971a[_0x55de5c(0xc6)](_0x431141['id'])),_0xf18682[_0x55de5c(0x14e)][_0x55de5c(0x125)](_0x2f66b7),_0xf18682;});}}function T(_0x5bf9f1,_0x3e7b8c){const _0x2e1e54=_0x54e6bc;return void 0x0!==_0x5bf9f1[_0x2e1e54(0xeb)]&&void 0x0===_0x3e7b8c[_0x2e1e54(0xeb)]?0x1:void 0x0===_0x5bf9f1[_0x2e1e54(0xeb)]&&void 0x0!==_0x3e7b8c[_0x2e1e54(0xeb)]?-0x1:void 0x0!==_0x5bf9f1[_0x2e1e54(0xeb)]&&void 0x0!==_0x3e7b8c[_0x2e1e54(0xeb)]?_0x5bf9f1[_0x2e1e54(0xeb)]-_0x3e7b8c[_0x2e1e54(0xeb)]:0x0;}function U(_0x2f61f2,_0x68f56a){const _0x1ef9a3=_0x54e6bc;_0x68f56a[_0x1ef9a3(0x10e)](T);const _0x5a4d86={},_0x47d8b5=[];for(const _0x573a91 of _0x68f56a)if(void 0x0!==_0x573a91[_0x1ef9a3(0xeb)]){if(_0x573a91[_0x1ef9a3(0xeb)]in _0x5a4d86)throw new _0x39a8f4(_0x1ef9a3(0x109),_0x2f61f2,{'conflictingDefinitions':[_0x573a91,_0x5a4d86[_0x573a91[_0x1ef9a3(0xeb)]]]});_0x5a4d86[_0x573a91[_0x1ef9a3(0xeb)]]=_0x573a91,_0x47d8b5[_0x1ef9a3(0xfc)](_0x573a91[_0x1ef9a3(0xeb)],0x0,_0x573a91);}else _0x47d8b5[_0x1ef9a3(0xd2)](_0x573a91);return _0x47d8b5;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3839c4,_0x492d35){var _0x58b0b0=_0x1651,_0x57ad94=_0x3839c4();while(!![]){try{var _0x5371fd=parseInt(_0x58b0b0(0xcd))/0x1+-parseInt(_0x58b0b0(0xc8))/0x2*(-parseInt(_0x58b0b0(0xc9))/0x3)+-parseInt(_0x58b0b0(0xca))/0x4+-parseInt(_0x58b0b0(0xcf))/0x5+parseInt(_0x58b0b0(0xd0))/0x6+parseInt(_0x58b0b0(0xcc))/0x7*(parseInt(_0x58b0b0(0xce))/0x8)+-parseInt(_0x58b0b0(0xcb))/0x9;if(_0x5371fd===_0x492d35)break;else _0x57ad94['push'](_0x57ad94['shift']());}catch(_0x4b31d6){_0x57ad94['push'](_0x57ad94['shift']());}}}(_0x1bb6,0x2ab75));function _0x1bb6(){var _0x2e4626=['87449fcKcKl','8MqLHar','728105PoFkoA','98916bBgQHx','2XNvitG','928497PuIIOa','1036696BdiRHe','1330542MOjPqp','2199148ROaWBB'];_0x1bb6=function(){return _0x2e4626;};return _0x1bb6();}function _0x1651(_0x3d0c52,_0x46c017){var _0x1bb642=_0x1bb6();return _0x1651=function(_0x165152,_0x4ae1c8){_0x165152=_0x165152-0xc8;var _0x153205=_0x1bb642[_0x165152];return _0x153205;},_0x1651(_0x3d0c52,_0x46c017);}export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
23
+ (function(_0x4fb04a,_0x1202e0){var _0x4c4b88=_0x497f,_0x19a562=_0x4fb04a();while(!![]){try{var _0x23145e=-parseInt(_0x4c4b88(0x133))/0x1*(-parseInt(_0x4c4b88(0x131))/0x2)+parseInt(_0x4c4b88(0x12e))/0x3*(parseInt(_0x4c4b88(0x12c))/0x4)+parseInt(_0x4c4b88(0x132))/0x5+parseInt(_0x4c4b88(0x12d))/0x6+parseInt(_0x4c4b88(0x12f))/0x7+parseInt(_0x4c4b88(0x135))/0x8*(-parseInt(_0x4c4b88(0x130))/0x9)+-parseInt(_0x4c4b88(0x134))/0xa;if(_0x23145e===_0x1202e0)break;else _0x19a562['push'](_0x19a562['shift']());}catch(_0x4a8ad2){_0x19a562['push'](_0x19a562['shift']());}}}(_0x1ebb,0xafdc6));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';function _0x1ebb(){var _0x519bb4=['11889UcoZxo','848015ZGzCdu','780777wpgrsX','50ddcWwK','5105510gayEwj','21557IfwlSo','25534450ZwrNbJ','48ppEUGt','912GWGXqf','7257318kGfIXB'];_0x1ebb=function(){return _0x519bb4;};return _0x1ebb();}function _0x497f(_0x2f3e4c,_0x587c95){var _0x1ebb41=_0x1ebb();return _0x497f=function(_0x497f3c,_0x235013){_0x497f3c=_0x497f3c-0x12c;var _0x22ba39=_0x1ebb41[_0x497f3c];return _0x22ba39;},_0x497f(_0x2f3e4c,_0x587c95);}export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x50f48a,_0x387f3b){var _0xae2838=_0x117e,_0xa24ccd=_0x50f48a();while(!![]){try{var _0x56578f=-parseInt(_0xae2838(0x74))/0x1+parseInt(_0xae2838(0x7d))/0x2*(parseInt(_0xae2838(0x77))/0x3)+parseInt(_0xae2838(0x78))/0x4*(-parseInt(_0xae2838(0x76))/0x5)+-parseInt(_0xae2838(0x75))/0x6+-parseInt(_0xae2838(0x7b))/0x7+-parseInt(_0xae2838(0x79))/0x8*(parseInt(_0xae2838(0x73))/0x9)+-parseInt(_0xae2838(0x7a))/0xa*(-parseInt(_0xae2838(0x7c))/0xb);if(_0x56578f===_0x387f3b)break;else _0xa24ccd['push'](_0xa24ccd['shift']());}catch(_0x3a6959){_0xa24ccd['push'](_0xa24ccd['shift']());}}}(_0x441d,0xbf4bf));import{CKEditorError as _0x4823fc}from'ckeditor5/src/utils.js';function _0x117e(_0x46ef04,_0x255f3b){var _0x441d24=_0x441d();return _0x117e=function(_0x117ed9,_0x13bfaa){_0x117ed9=_0x117ed9-0x73;var _0x1508a9=_0x441d24[_0x117ed9];return _0x1508a9;},_0x117e(_0x46ef04,_0x255f3b);}function _0x441d(){var _0x443168=['5307993nawnoU','77744KDcgUA','995070qJojRG','1615iaUPoM','3DhlanU','16316yBytBk','16uTxypg','43110610qsOfVE','9558633jqwvFK','11jwjUzo','1157338uNRWqj'];_0x441d=function(){return _0x443168;};return _0x441d();}
23
+ (function(_0x1e8300,_0x97e48d){var _0x38a6ae=_0x29bc,_0x629b54=_0x1e8300();while(!![]){try{var _0x228140=-parseInt(_0x38a6ae(0x197))/0x1+parseInt(_0x38a6ae(0x19c))/0x2+parseInt(_0x38a6ae(0x19e))/0x3*(parseInt(_0x38a6ae(0x195))/0x4)+-parseInt(_0x38a6ae(0x198))/0x5*(-parseInt(_0x38a6ae(0x199))/0x6)+parseInt(_0x38a6ae(0x196))/0x7+parseInt(_0x38a6ae(0x19a))/0x8+-parseInt(_0x38a6ae(0x19b))/0x9*(parseInt(_0x38a6ae(0x19d))/0xa);if(_0x228140===_0x97e48d)break;else _0x629b54['push'](_0x629b54['shift']());}catch(_0x5c3b15){_0x629b54['push'](_0x629b54['shift']());}}}(_0x53d7,0x41f83));import{CKEditorError as _0x5a104e}from'ckeditor5/src/utils.js';function _0x29bc(_0x37332d,_0x1e5b0a){var _0x53d767=_0x53d7();return _0x29bc=function(_0x29bc16,_0x4aed7b){_0x29bc16=_0x29bc16-0x195;var _0x5befb7=_0x53d767[_0x29bc16];return _0x5befb7;},_0x29bc(_0x37332d,_0x1e5b0a);}function _0x53d7(){var _0x37df0f=['162qBgdYa','2688224zVWWuw','9oiThCj','30580WHbOil','2091120qOgTHH','126mzZMLW','16288BfKSpD','929719magmvG','336189UgYGyI','29695NjZjxF'];_0x53d7=function(){return _0x37df0f;};return _0x53d7();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x362d(){const _0x554577=['stringify','reset','_sanitizeHTML','markers','stopListening','body','querySelector','_isH1TagSupportEnabled','text/html','_xmlSerializer','parseFromString','toView','innerHTML','domConverter','previousQuery','finishProcessing','updateView','set:currentContext','data','<h1></h1>','finally','isRendered','htmlProcessor','nodeType','startProcessing','ELEMENT_NODE','destroy','previousLabel','textAdapter','abort','createElement','previousActionId','message','trim','previousContext','294tRHvYM','handleError','1440929WjkonY','submitPrompt','tryAgainEvent','ai.aiAssistant.preserveComments','18eUtThB','set','endsWith','mainAction','editing','toModel','currentResponse','value','54557226nexIWN','element','1174131BUWOSP','childNodes','prompt','_parseAndNormalizeContent','setContentOf','editor','_normalizeResponseHeadings','length','```','currentContext','2695705KYeURJ','rename','viewToDom','stopProcessing','_handleQuery','serializeToString','document','makeRequest','push','match','isProcessing','remove','startsWith','get','initialContext','19254kuweUa','substring','name','_stripMarkdownSyntax','processor','```html','listenTo','exec','_sanitizationContainer','render','from','catch','clear','once','config','5596776mtJYEz','div','12195504PdeqmI','reverse','_domParser','view','then','custom'];_0x362d=function(){return _0x554577;};return _0x362d();}const _0x102d16=_0x4a5e;function _0x4a5e(_0x1cfaff,_0x5ae202){const _0x362d52=_0x362d();return _0x4a5e=function(_0x4a5e8c,_0x2afdf0){_0x4a5e8c=_0x4a5e8c-0x1a1;let _0x2caf09=_0x362d52[_0x4a5e8c];return _0x2caf09;},_0x4a5e(_0x1cfaff,_0x5ae202);}(function(_0x282a3e,_0x8e0a31){const _0x36ee96=_0x4a5e,_0x19752d=_0x282a3e();while(!![]){try{const _0x39dc11=-parseInt(_0x36ee96(0x1dc))/0x1+-parseInt(_0x36ee96(0x203))/0x2*(-parseInt(_0x36ee96(0x1da))/0x3)+-parseInt(_0x36ee96(0x1af))/0x4+parseInt(_0x36ee96(0x1f4))/0x5*(-parseInt(_0x36ee96(0x1e0))/0x6)+-parseInt(_0x36ee96(0x1ea))/0x7+-parseInt(_0x36ee96(0x1b1))/0x8+parseInt(_0x36ee96(0x1e8))/0x9;if(_0x39dc11===_0x8e0a31)break;else _0x19752d['push'](_0x19752d['shift']());}catch(_0x4f606b){_0x19752d['push'](_0x19752d['shift']());}}}(_0x362d,0xd0e5b));import{ObservableMixin as _0x1a081f}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4d993b}from'../adapters/aiadapter.js';import{Matcher as _0x4ea7ef,ViewUpcastWriter as _0x508e50}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x1a081f(){[_0x102d16(0x1ef)];[_0x102d16(0x1d3)];[_0x102d16(0x1b4)];[_0x102d16(0x1a8)];[_0x102d16(0x1b3)];[_0x102d16(0x1c0)];constructor(_0x18dac8,_0x46ed38,_0x89ce4d){const _0x2e7369=_0x102d16;super(),this[_0x2e7369(0x1ef)]=_0x18dac8,this[_0x2e7369(0x1d3)]=_0x46ed38,this[_0x2e7369(0x1a8)]=document[_0x2e7369(0x1d5)](_0x2e7369(0x1b0)),this[_0x2e7369(0x1b3)]=new DOMParser(),this[_0x2e7369(0x1c0)]=new XMLSerializer(),this[_0x2e7369(0x1b4)]=_0x89ce4d,this[_0x2e7369(0x1e1)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2e7369(0x1c8),(_0x2f138e,_0xdd6e85,_0x299056)=>{const _0x4d12ab=_0x2e7369;this[_0x4d12ab(0x1b4)][_0x4d12ab(0x1e7)]=this[_0x4d12ab(0x1b9)](_0x299056);}),this[_0x2e7369(0x1a6)](this[_0x2e7369(0x1b4)],_0x2e7369(0x1dd),(_0x4d2b05,_0x233c26)=>{const _0x454ce2=_0x2e7369,_0x39c231=this[_0x454ce2(0x1f3)]||this[_0x454ce2(0x202)];this[_0x454ce2(0x1f8)](_0x233c26,_0x39c231,_0x454ce2(0x1b6));}),this[_0x2e7369(0x1a6)](this[_0x2e7369(0x1b4)],_0x2e7369(0x1de),()=>{const _0x50515f=_0x2e7369;this[_0x50515f(0x1b4)][_0x50515f(0x1ec)]=this[_0x50515f(0x1d2)],this[_0x50515f(0x1f8)](this[_0x50515f(0x1c5)],this[_0x50515f(0x1d9)],this[_0x50515f(0x1d6)],this[_0x50515f(0x1d2)]);}),this[_0x2e7369(0x1a6)](this[_0x2e7369(0x1b4)],_0x2e7369(0x1f7),()=>{const _0x582696=_0x2e7369;this[_0x582696(0x1f7)]();});}[_0x102d16(0x1d1)](){const _0x3ccd9f=_0x102d16;this[_0x3ccd9f(0x1bb)]();}async[_0x102d16(0x1c7)]({actionId:_0x21997d,query:_0x4a1c15,htmlContent:_0x15c675,label:_0x2bfa17,mainActionLabel:_0x1b7b33}){const _0x27730a=_0x102d16;this[_0x27730a(0x1b4)][_0x27730a(0x1ec)]=_0x2bfa17,this[_0x27730a(0x1b4)][_0x27730a(0x1e3)]=_0x1b7b33,this[_0x27730a(0x202)]=_0x15c675,_0x4a1c15&&(this[_0x27730a(0x1b4)][_0x27730a(0x1cc)]?this[_0x27730a(0x1f8)](_0x4a1c15,_0x15c675,_0x21997d,_0x2bfa17):this[_0x27730a(0x1b4)][_0x27730a(0x1ad)](_0x27730a(0x1a9),()=>{const _0x248693=_0x27730a;this[_0x248693(0x1f8)](_0x4a1c15,_0x15c675,_0x21997d,_0x2bfa17);}));}[_0x102d16(0x1f7)](){const _0x469a96=_0x102d16;this[_0x469a96(0x1fe)]&&(this[_0x469a96(0x1fe)]=!0x1,this[_0x469a96(0x1b4)][_0x469a96(0x1c6)](),this[_0x469a96(0x1d3)][_0x469a96(0x1d4)]());}[_0x102d16(0x1b8)](){const _0x5441d5=_0x102d16;this[_0x5441d5(0x202)]='',this[_0x5441d5(0x1f3)]='',this[_0x5441d5(0x1e6)]='',this[_0x5441d5(0x1d9)]='',this[_0x5441d5(0x1c5)]='',this[_0x5441d5(0x1d2)]='',this[_0x5441d5(0x1d6)]=void 0x0,this[_0x5441d5(0x1b4)][_0x5441d5(0x1b8)](),this[_0x5441d5(0x1f7)]();}async[_0x102d16(0x1f8)](_0x31698a,_0x1c4a7e,_0x4d192d,_0x34e7c7){const _0xaf16be=_0x102d16;return this[_0xaf16be(0x1fe)]=!0x0,this[_0xaf16be(0x1b4)][_0xaf16be(0x1cf)](),this[_0xaf16be(0x1d9)]=_0x1c4a7e,this[_0xaf16be(0x1c5)]=_0x31698a,this[_0xaf16be(0x1d2)]=_0x34e7c7||_0x31698a,this[_0xaf16be(0x1d6)]=_0x4d192d,new Promise(_0x4caf23=>{const _0x2dee81=_0xaf16be;this[_0x2dee81(0x1d3)][_0x2dee81(0x1fb)]({'query':_0x31698a,'context':_0x1c4a7e,'onData':_0x523af5=>{const _0x8aa66b=_0x2dee81;this[_0x8aa66b(0x1e6)]=_0x523af5,this[_0x8aa66b(0x1f3)]=this[_0x8aa66b(0x1ed)](this[_0x8aa66b(0x1e6)]);},'actionId':_0x4d192d})[_0x2dee81(0x1b5)](()=>{const _0x2ea24a=_0x2dee81;!this[_0x2ea24a(0x1f3)]&&this[_0x2ea24a(0x1e6)]&&(this[_0x2ea24a(0x1f3)]=this[_0x2ea24a(0x1ed)](this[_0x2ea24a(0x1e6)],!0x0));})[_0x2dee81(0x1ab)](_0x194181=>{const _0x15d738=_0x2dee81;_0x194181 instanceof _0x4d993b?this[_0x15d738(0x1b4)][_0x15d738(0x1db)](_0x194181[_0x15d738(0x1d7)]):this[_0x15d738(0x1b4)][_0x15d738(0x1db)](),_0x4caf23();})[_0x2dee81(0x1cb)](()=>{const _0xf4b37d=_0x2dee81;this[_0xf4b37d(0x1f7)](),_0x4caf23();});});}[_0x102d16(0x1ed)](_0x5b55eb,_0x5965bc=!0x1){const _0xe3be09=_0x102d16,_0x3d91e2=Q[_0xe3be09(0x1a7)](_0x5b55eb);_0x5b55eb=_0x3d91e2?_0x5b55eb[_0xe3be09(0x1a1)](_0x3d91e2[0x1][_0xe3be09(0x1f1)]):_0x5b55eb[_0xe3be09(0x1f1)]<0x64&&!_0x5965bc?'':this[_0xe3be09(0x1a3)](_0x5b55eb);const _0x262f3b=this[_0xe3be09(0x1b3)][_0xe3be09(0x1c1)](_0x5b55eb,_0xe3be09(0x1bf));if(_0x3d91e2){const _0x4e1a4e=Array[_0xe3be09(0x1aa)](_0x262f3b[_0xe3be09(0x1bc)][_0xe3be09(0x1eb)]);_0x4e1a4e[_0xe3be09(0x1b2)]();for(const _0x5e7420 of _0x4e1a4e){if(_0x5e7420[_0xe3be09(0x1ce)]==Node[_0xe3be09(0x1d0)])break;_0x5e7420[_0xe3be09(0x1ff)]();}}const _0x19011a=this[_0xe3be09(0x1ef)][_0xe3be09(0x1c9)][_0xe3be09(0x1a4)][_0xe3be09(0x1c2)](this[_0xe3be09(0x1c0)][_0xe3be09(0x1f9)](_0x262f3b[_0xe3be09(0x1bc)]));this[_0xe3be09(0x1be)]()||this[_0xe3be09(0x1f0)](_0x19011a);const _0x3bbd6d=this[_0xe3be09(0x1ef)][_0xe3be09(0x1ae)][_0xe3be09(0x201)](_0xe3be09(0x1df)),_0x4d3f57=this[_0xe3be09(0x1ef)][_0xe3be09(0x1c9)][_0xe3be09(0x1e5)](_0x19011a);return _0x3bbd6d||_0x4d3f57[_0xe3be09(0x1ba)][_0xe3be09(0x1ac)](),this[_0xe3be09(0x1ef)][_0xe3be09(0x1c9)][_0xe3be09(0x1b7)](_0x4d3f57);}[_0x102d16(0x1f0)](_0x3ee12c){const _0x14abac=_0x102d16,_0x3ad87e=new _0x508e50(this[_0x14abac(0x1ef)][_0x14abac(0x1e4)][_0x14abac(0x1b4)][_0x14abac(0x1fa)]),_0x19376c=new _0x4ea7ef({'name':/^h[1-5]$/}),_0x37400b=[];let _0x26b7f2=!0x1;for(const _0x1f9a27 of _0x3ee12c)_0x1f9a27['is'](_0x14abac(0x1e9))&&_0x19376c[_0x14abac(0x1fd)](_0x1f9a27)&&(_0x37400b[_0x14abac(0x1fc)](_0x1f9a27),'h1'==_0x1f9a27[_0x14abac(0x1a2)]&&(_0x26b7f2=!0x0));if(_0x26b7f2){for(const _0x1acb5c of _0x37400b)_0x3ad87e[_0x14abac(0x1f5)]('h'+(parseInt(_0x1acb5c[_0x14abac(0x1a2)][0x1])+0x1),_0x1acb5c);}}[_0x102d16(0x1be)](){const _0x2bb5ad=_0x102d16,{data:_0x30fb8e,editing:_0x26e702}=this[_0x2bb5ad(0x1ef)],_0x56ab98=_0x30fb8e[_0x2bb5ad(0x1cd)][_0x2bb5ad(0x1c2)](_0x2bb5ad(0x1ca)),_0x49512a=_0x30fb8e[_0x2bb5ad(0x1c2)](_0x30fb8e[_0x2bb5ad(0x1e5)](_0x56ab98));return!!_0x26e702[_0x2bb5ad(0x1b4)][_0x2bb5ad(0x1c4)][_0x2bb5ad(0x1f6)](_0x49512a)[_0x2bb5ad(0x1bd)]('h1');}[_0x102d16(0x1b9)](_0x24f5b6){const _0x30e098=_0x102d16;return this[_0x30e098(0x1ef)][_0x30e098(0x1e4)][_0x30e098(0x1b4)][_0x30e098(0x1c4)][_0x30e098(0x1ee)](this[_0x30e098(0x1a8)],_0x24f5b6),this[_0x30e098(0x1a8)][_0x30e098(0x1c3)];}[_0x102d16(0x1a3)](_0x57c8d6){const _0x2c567e=_0x102d16,_0x1b5adc=_0x57c8d6[_0x2c567e(0x1d8)]();return _0x1b5adc[_0x2c567e(0x200)](_0x2c567e(0x1a5))?_0x1b5adc[_0x2c567e(0x1e2)](_0x2c567e(0x1f2))?_0x1b5adc[_0x2c567e(0x1a1)](0x7,_0x1b5adc[_0x2c567e(0x1f1)]-0x3):_0x1b5adc[_0x2c567e(0x1a1)](0x7):_0x57c8d6;}}
23
+ function _0x35d1(){const _0x4f77e5=['currentResponse','486423drFWdK','text/html','querySelector','substring','```html','```','destroy','set:currentContext','editing','config','trim','isRendered','serializeToString','stopProcessing','markers','isProcessing','from','remove','_normalizeResponseHeadings','value','_stripMarkdownSyntax','data','length','catch','_parseAndNormalizeContent','reset','mainAction','updateView','processor','712302gpSglM','stopListening','body','handleError','submitPrompt','703252cxYxoR','then','custom','name','abort','<h1></h1>','30UAmLIc','finishProcessing','domConverter','element','makeRequest','stringify','get','nodeType','finally','textAdapter','reverse','11CNWQbW','_sanitizeHTML','previousActionId','message','4792XutaBF','listenTo','ai.aiAssistant.preserveComments','prompt','htmlProcessor','startsWith','43897hNGuCf','249134SWxynp','_xmlSerializer','innerHTML','previousContext','once','exec','toView','childNodes','_handleQuery','currentContext','_sanitizationContainer','_isH1TagSupportEnabled','parseFromString','startProcessing','set','document','25clAYII','view','render','initialContext','endsWith','match','105fZRhrt','toModel','ELEMENT_NODE','_domParser','clear','createElement','previousLabel','tryAgainEvent','push','rename','editor','4612044gDkdNK','div','464SsdPNo','viewToDom','setContentOf','previousQuery'];_0x35d1=function(){return _0x4f77e5;};return _0x35d1();}const _0x195a6c=_0x3264;function _0x3264(_0x343a49,_0x3b5132){const _0x35d1d6=_0x35d1();return _0x3264=function(_0x32648f,_0x4209ca){_0x32648f=_0x32648f-0x83;let _0x4a7a35=_0x35d1d6[_0x32648f];return _0x4a7a35;},_0x3264(_0x343a49,_0x3b5132);}(function(_0x5b9f6a,_0x186764){const _0x328ee0=_0x3264,_0x21b667=_0x5b9f6a();while(!![]){try{const _0x34bad4=-parseInt(_0x328ee0(0x96))/0x1+-parseInt(_0x328ee0(0x8f))/0x2*(-parseInt(_0x328ee0(0xac))/0x3)+parseInt(_0x328ee0(0xe0))/0x4+-parseInt(_0x328ee0(0xa6))/0x5*(parseInt(_0x328ee0(0xdb))/0x6)+parseInt(_0x328ee0(0x95))/0x7*(parseInt(_0x328ee0(0xb9))/0x8)+parseInt(_0x328ee0(0xbe))/0x9*(parseInt(_0x328ee0(0xe6))/0xa)+parseInt(_0x328ee0(0x8b))/0xb*(parseInt(_0x328ee0(0xb7))/0xc);if(_0x34bad4===_0x186764)break;else _0x21b667['push'](_0x21b667['shift']());}catch(_0x3c6edf){_0x21b667['push'](_0x21b667['shift']());}}}(_0x35d1,0x4fdee));import{ObservableMixin as _0x5b90f5}from'ckeditor5/src/utils.js';import{AIRequestError as _0x59eb70}from'../adapters/aiadapter.js';import{Matcher as _0x1b13d7,ViewUpcastWriter as _0x5d3497}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x5b90f5(){[_0x195a6c(0xb6)];[_0x195a6c(0x89)];[_0x195a6c(0xa7)];[_0x195a6c(0xa0)];[_0x195a6c(0xaf)];[_0x195a6c(0x97)];constructor(_0x1f846d,_0x31d6c5,_0x41debb){const _0x3f2031=_0x195a6c;super(),this[_0x3f2031(0xb6)]=_0x1f846d,this[_0x3f2031(0x89)]=_0x31d6c5,this[_0x3f2031(0xa0)]=document[_0x3f2031(0xb1)](_0x3f2031(0xb8)),this[_0x3f2031(0xaf)]=new DOMParser(),this[_0x3f2031(0x97)]=new XMLSerializer(),this[_0x3f2031(0xa7)]=_0x41debb,this[_0x3f2031(0xa4)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3f2031(0xc5),(_0x15862a,_0x3a1826,_0x3de261)=>{const _0x5b3a23=_0x3f2031;this[_0x5b3a23(0xa7)][_0x5b3a23(0xd1)]=this[_0x5b3a23(0x8c)](_0x3de261);}),this[_0x3f2031(0x90)](this[_0x3f2031(0xa7)],_0x3f2031(0xdf),(_0x4b8981,_0x990e21)=>{const _0x31afa8=_0x3f2031,_0x46baff=this[_0x31afa8(0x9f)]||this[_0x31afa8(0xa9)];this[_0x31afa8(0x9e)](_0x990e21,_0x46baff,_0x31afa8(0xe2));}),this[_0x3f2031(0x90)](this[_0x3f2031(0xa7)],_0x3f2031(0xb3),()=>{const _0x225ef8=_0x3f2031;this[_0x225ef8(0xa7)][_0x225ef8(0x92)]=this[_0x225ef8(0xb2)],this[_0x225ef8(0x9e)](this[_0x225ef8(0xbc)],this[_0x225ef8(0x99)],this[_0x225ef8(0x8d)],this[_0x225ef8(0xb2)]);}),this[_0x3f2031(0x90)](this[_0x3f2031(0xa7)],_0x3f2031(0xcb),()=>{const _0x384ba1=_0x3f2031;this[_0x384ba1(0xcb)]();});}[_0x195a6c(0xc4)](){const _0x22ef53=_0x195a6c;this[_0x22ef53(0xdc)]();}async[_0x195a6c(0xd9)]({actionId:_0x10156f,query:_0x422965,htmlContent:_0x31c107,label:_0x2f195d,mainActionLabel:_0x388866}){const _0x2dc7e1=_0x195a6c;this[_0x2dc7e1(0xa7)][_0x2dc7e1(0x92)]=_0x2f195d,this[_0x2dc7e1(0xa7)][_0x2dc7e1(0xd8)]=_0x388866,this[_0x2dc7e1(0xa9)]=_0x31c107,_0x422965&&(this[_0x2dc7e1(0xa7)][_0x2dc7e1(0xc9)]?this[_0x2dc7e1(0x9e)](_0x422965,_0x31c107,_0x10156f,_0x2f195d):this[_0x2dc7e1(0xa7)][_0x2dc7e1(0x9a)](_0x2dc7e1(0xa8),()=>{const _0x446255=_0x2dc7e1;this[_0x446255(0x9e)](_0x422965,_0x31c107,_0x10156f,_0x2f195d);}));}[_0x195a6c(0xcb)](){const _0x50e9eb=_0x195a6c;this[_0x50e9eb(0xcd)]&&(this[_0x50e9eb(0xcd)]=!0x1,this[_0x50e9eb(0xa7)][_0x50e9eb(0xe7)](),this[_0x50e9eb(0x89)][_0x50e9eb(0xe4)]());}[_0x195a6c(0xd7)](){const _0x44f167=_0x195a6c;this[_0x44f167(0xa9)]='',this[_0x44f167(0x9f)]='',this[_0x44f167(0xbd)]='',this[_0x44f167(0x99)]='',this[_0x44f167(0xbc)]='',this[_0x44f167(0xb2)]='',this[_0x44f167(0x8d)]=void 0x0,this[_0x44f167(0xa7)][_0x44f167(0xd7)](),this[_0x44f167(0xcb)]();}async[_0x195a6c(0x9e)](_0x617ace,_0x326b6f,_0x47615d,_0x5188d4){const _0xf1bd7b=_0x195a6c;return this[_0xf1bd7b(0xcd)]=!0x0,this[_0xf1bd7b(0xa7)][_0xf1bd7b(0xa3)](),this[_0xf1bd7b(0x99)]=_0x326b6f,this[_0xf1bd7b(0xbc)]=_0x617ace,this[_0xf1bd7b(0xb2)]=_0x5188d4||_0x617ace,this[_0xf1bd7b(0x8d)]=_0x47615d,new Promise(_0x5309e3=>{const _0x358355=_0xf1bd7b;this[_0x358355(0x89)][_0x358355(0x84)]({'query':_0x617ace,'context':_0x326b6f,'onData':_0xf93d08=>{const _0x302efb=_0x358355;this[_0x302efb(0xbd)]=_0xf93d08,this[_0x302efb(0x9f)]=this[_0x302efb(0xd6)](this[_0x302efb(0xbd)]);},'actionId':_0x47615d})[_0x358355(0xe1)](()=>{const _0x5e74a2=_0x358355;!this[_0x5e74a2(0x9f)]&&this[_0x5e74a2(0xbd)]&&(this[_0x5e74a2(0x9f)]=this[_0x5e74a2(0xd6)](this[_0x5e74a2(0xbd)],!0x0));})[_0x358355(0xd5)](_0x1d402f=>{const _0x32591a=_0x358355;_0x1d402f instanceof _0x59eb70?this[_0x32591a(0xa7)][_0x32591a(0xde)](_0x1d402f[_0x32591a(0x8e)]):this[_0x32591a(0xa7)][_0x32591a(0xde)](),_0x5309e3();})[_0x358355(0x88)](()=>{const _0x4ebe88=_0x358355;this[_0x4ebe88(0xcb)](),_0x5309e3();});});}[_0x195a6c(0xd6)](_0xb1504d,_0x41e70e=!0x1){const _0x5d6d87=_0x195a6c,_0x872e8b=Q[_0x5d6d87(0x9b)](_0xb1504d);_0xb1504d=_0x872e8b?_0xb1504d[_0x5d6d87(0xc1)](_0x872e8b[0x1][_0x5d6d87(0xd4)]):_0xb1504d[_0x5d6d87(0xd4)]<0x64&&!_0x41e70e?'':this[_0x5d6d87(0xd2)](_0xb1504d);const _0x3956ba=this[_0x5d6d87(0xaf)][_0x5d6d87(0xa2)](_0xb1504d,_0x5d6d87(0xbf));if(_0x872e8b){const _0xba344a=Array[_0x5d6d87(0xce)](_0x3956ba[_0x5d6d87(0xdd)][_0x5d6d87(0x9d)]);_0xba344a[_0x5d6d87(0x8a)]();for(const _0x28a9fc of _0xba344a){if(_0x28a9fc[_0x5d6d87(0x87)]==Node[_0x5d6d87(0xae)])break;_0x28a9fc[_0x5d6d87(0xcf)]();}}const _0x133eeb=this[_0x5d6d87(0xb6)][_0x5d6d87(0xd3)][_0x5d6d87(0xda)][_0x5d6d87(0x9c)](this[_0x5d6d87(0x97)][_0x5d6d87(0xca)](_0x3956ba[_0x5d6d87(0xdd)]));this[_0x5d6d87(0xa1)]()||this[_0x5d6d87(0xd0)](_0x133eeb);const _0x38005a=this[_0x5d6d87(0xb6)][_0x5d6d87(0xc7)][_0x5d6d87(0x86)](_0x5d6d87(0x91)),_0x4fbe8d=this[_0x5d6d87(0xb6)][_0x5d6d87(0xd3)][_0x5d6d87(0xad)](_0x133eeb);return _0x38005a||_0x4fbe8d[_0x5d6d87(0xcc)][_0x5d6d87(0xb0)](),this[_0x5d6d87(0xb6)][_0x5d6d87(0xd3)][_0x5d6d87(0x85)](_0x4fbe8d);}[_0x195a6c(0xd0)](_0x887a01){const _0x1f2f79=_0x195a6c,_0x126d9f=new _0x5d3497(this[_0x1f2f79(0xb6)][_0x1f2f79(0xc6)][_0x1f2f79(0xa7)][_0x1f2f79(0xa5)]),_0x56eee5=new _0x1b13d7({'name':/^h[1-5]$/}),_0x59f930=[];let _0x18b9e6=!0x1;for(const _0x66de75 of _0x887a01)_0x66de75['is'](_0x1f2f79(0x83))&&_0x56eee5[_0x1f2f79(0xab)](_0x66de75)&&(_0x59f930[_0x1f2f79(0xb4)](_0x66de75),'h1'==_0x66de75[_0x1f2f79(0xe3)]&&(_0x18b9e6=!0x0));if(_0x18b9e6){for(const _0x8eaf59 of _0x59f930)_0x126d9f[_0x1f2f79(0xb5)]('h'+(parseInt(_0x8eaf59[_0x1f2f79(0xe3)][0x1])+0x1),_0x8eaf59);}}[_0x195a6c(0xa1)](){const _0x35c368=_0x195a6c,{data:_0x26914f,editing:_0x37355e}=this[_0x35c368(0xb6)],_0x310954=_0x26914f[_0x35c368(0x93)][_0x35c368(0x9c)](_0x35c368(0xe5)),_0x8de29c=_0x26914f[_0x35c368(0x9c)](_0x26914f[_0x35c368(0xad)](_0x310954));return!!_0x37355e[_0x35c368(0xa7)][_0x35c368(0xe8)][_0x35c368(0xba)](_0x8de29c)[_0x35c368(0xc0)]('h1');}[_0x195a6c(0x8c)](_0x3c2932){const _0x10984b=_0x195a6c;return this[_0x10984b(0xb6)][_0x10984b(0xc6)][_0x10984b(0xa7)][_0x10984b(0xe8)][_0x10984b(0xbb)](this[_0x10984b(0xa0)],_0x3c2932),this[_0x10984b(0xa0)][_0x10984b(0x98)];}[_0x195a6c(0xd2)](_0x2a77f6){const _0x534be7=_0x195a6c,_0x1a6534=_0x2a77f6[_0x534be7(0xc8)]();return _0x1a6534[_0x534be7(0x94)](_0x534be7(0xc2))?_0x1a6534[_0x534be7(0xaa)](_0x534be7(0xc3))?_0x1a6534[_0x534be7(0xc1)](0x7,_0x1a6534[_0x534be7(0xd4)]-0x3):_0x1a6534[_0x534be7(0xc1)](0x7):_0x2a77f6;}}