@ckeditor/ckeditor5-ai 44.0.0-alpha.5 → 44.0.0-alpha.7

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 (168) 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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/adapters/aiadapter.js +1 -1
  149. package/src/adapters/aitextadapter.js +1 -1
  150. package/src/adapters/awstextadapter.js +1 -1
  151. package/src/adapters/openaitextadapter.js +1 -1
  152. package/src/aiassistant.js +1 -1
  153. package/src/aiassistantediting.js +1 -1
  154. package/src/aiassistantui.js +1 -1
  155. package/src/index.js +1 -1
  156. package/src/legacyerrors.js +1 -1
  157. package/src/ui/aiassistantcontroller.js +2 -2
  158. package/src/ui/form/aiformcontentarea.js +1 -1
  159. package/src/ui/form/aiformerrorview.js +1 -1
  160. package/src/ui/form/aiformpromptview.js +1 -1
  161. package/src/ui/form/aiformtoolbarview.js +1 -1
  162. package/src/ui/form/aiformview.js +1 -1
  163. package/src/ui/form/aihistorylistitemview.js +1 -1
  164. package/src/ui/form/aihistorylistview.js +1 -1
  165. package/src/ui/form/prompthistory.js +1 -1
  166. package/src/ui/showaiassistantcommand.js +1 -1
  167. package/src/utils/common-translations.js +1 -1
  168. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12c11e=_0x3b83;(function(_0x39264c,_0x5edc20){const _0x52a516=_0x3b83,_0x42c6a9=_0x39264c();while(!![]){try{const _0x4a4989=-parseInt(_0x52a516(0x16d))/0x1+-parseInt(_0x52a516(0x145))/0x2*(parseInt(_0x52a516(0x15c))/0x3)+parseInt(_0x52a516(0x178))/0x4+parseInt(_0x52a516(0x13d))/0x5*(parseInt(_0x52a516(0x12d))/0x6)+parseInt(_0x52a516(0x12f))/0x7+-parseInt(_0x52a516(0x159))/0x8+parseInt(_0x52a516(0x183))/0x9*(parseInt(_0x52a516(0x142))/0xa);if(_0x4a4989===_0x5edc20)break;else _0x42c6a9['push'](_0x42c6a9['shift']());}catch(_0x467c22){_0x42c6a9['push'](_0x42c6a9['shift']());}}}(_0x3810,0x44a30));import{Plugin as _0x30cb6e}from'ckeditor5/src/core.js';function _0x3810(){const _0x44eead=['ai.aiAssistant.removeCommands','2047346Cpnfxe','confident','poetic','casual','Change\x20style','includes','translateFrench','legal','Edit\x20or\x20review','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Friendly','Translate\x20the\x20content\x20to\x20English\x20language.','makeLonger','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','634330aanRnc','Generate\x20from\x20selection','get','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Confident','3527340TVLsPw','Improve\x20writing','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','13102UySBQo','changeTone','locale','German','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','find','Translate\x20the\x20content\x20to\x20German\x20language.','Portuguese','forEach','friendly','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Casual','pluginName','Arabic','requires','Make\x20longer','define','direct','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','summarize','1762704FHWfWe','French','concat','93HRiqjt','translateArabic','Continue','translateEnglish','simplifyLanguage','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Simplified\x20Chinese','set','Hindi','groupId','journalism','Change\x20tone','translateSpanish','commands','Translate\x20the\x20content\x20to\x20French\x20language.','Legal','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','437966fIQtxI','isPremiumPlugin','push','Translate\x20the\x20content\x20to\x20Hindi\x20language.','continue','filter','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','translate','Simplify\x20language','translateHindi','generate','1481772WudMXD','improveWriting','makeShorter','English','translatePortuguese','changeStyle','Journalism','business','translateChinese','Direct','AIAssistant','9ttIxIK','ai.aiAssistant.extraCommandGroups','Professional','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Business','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateGerman','Translate','Summarize','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','professional','Poetic','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','config','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','isOfficialPlugin','Make\x20shorter','ai.aiAssistant.commands','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','editOrReview','Spanish','6IGXcuI'];_0x3810=function(){return _0x44eead;};return _0x3810();}import _0x3721b2 from'./aiassistantui.js';import _0x3a6c8c from'./aiassistantediting.js';import{getTranslation as _0x3fffba}from'./utils/common-translations.js';function _0x3b83(_0x33ec78,_0x1e0573){const _0x381057=_0x3810();return _0x3b83=function(_0x3b8390,_0xe79323){_0x3b8390=_0x3b8390-0x116;let _0x1e582e=_0x381057[_0x3b8390];return _0x1e582e;},_0x3b83(_0x33ec78,_0x1e0573);}import{normalizeCommandsConfig as _0x3d9db7}from'./utils/normalizecommandsconfig.js';export default class r extends _0x30cb6e{static get[_0x12c11e(0x153)](){return[_0x3721b2,_0x3a6c8c];}static get[_0x12c11e(0x151)](){const _0x40e79a=_0x12c11e;return _0x40e79a(0x182);}static get[_0x12c11e(0x127)](){return!0x0;}static get[_0x12c11e(0x16e)](){return!0x0;}constructor(_0x203ecf){const _0xcd917=_0x12c11e;super(_0x203ecf);const _0x556acc=_0x203ecf[_0xcd917(0x125)],_0x18bfc4=_0x203ecf[_0xcd917(0x147)];_0x556acc[_0xcd917(0x155)](_0xcd917(0x129),getDefaultCommands(_0x18bfc4)),_0x556acc[_0xcd917(0x155)](_0xcd917(0x116),[]),_0x556acc[_0xcd917(0x155)](_0xcd917(0x12e),[]);const _0x4fcda4=_0x3d9db7(_0x556acc[_0xcd917(0x13f)](_0xcd917(0x129)),_0x18bfc4),_0x118b67=_0x556acc[_0xcd917(0x13f)](_0xcd917(0x116)),_0x2c90a4=_0x556acc[_0xcd917(0x13f)](_0xcd917(0x12e));_0x118b67[_0xcd917(0x14d)](_0x21d05e=>{const _0x11b977=_0xcd917,_0x178ca9=_0x4fcda4[_0x11b977(0x14a)](_0x4d8136=>_0x4d8136[_0x11b977(0x165)]===_0x21d05e[_0x11b977(0x165)]);_0x178ca9?_0x178ca9[_0x11b977(0x169)]=_0x178ca9[_0x11b977(0x169)][_0x11b977(0x15b)](_0x21d05e[_0x11b977(0x169)]):_0x4fcda4[_0x11b977(0x16f)](_0x21d05e);}),_0x4fcda4[_0xcd917(0x14d)](_0x387fe4=>{const _0x30d7a7=_0xcd917;_0x387fe4[_0x30d7a7(0x169)]=_0x387fe4[_0x30d7a7(0x169)][_0x30d7a7(0x172)](_0x76030=>!_0x2c90a4[_0x30d7a7(0x134)](_0x76030['id']));}),_0x556acc[_0xcd917(0x163)](_0xcd917(0x129),_0x4fcda4);}}export function getDefaultCommands(_0x257e6e){const _0x158a73=_0x12c11e;return[{'groupId':_0x158a73(0x12b),'groupLabel':_0x3fffba(_0x257e6e,_0x158a73(0x137)),'commands':[{'id':_0x158a73(0x179),'label':_0x3fffba(_0x257e6e,_0x158a73(0x143)),'prompt':_0x158a73(0x121)},{'id':_0x158a73(0x17a),'label':_0x3fffba(_0x257e6e,_0x158a73(0x128)),'prompt':_0x158a73(0x13c)},{'id':_0x158a73(0x13b),'label':_0x3fffba(_0x257e6e,_0x158a73(0x154)),'prompt':_0x158a73(0x144)},{'id':_0x158a73(0x160),'label':_0x3fffba(_0x257e6e,_0x158a73(0x175)),'prompt':_0x158a73(0x11b)}]},{'groupId':_0x158a73(0x177),'groupLabel':_0x3fffba(_0x257e6e,_0x158a73(0x13e)),'commands':[{'id':_0x158a73(0x158),'label':_0x3fffba(_0x257e6e,_0x158a73(0x11e)),'prompt':_0x158a73(0x140)},{'id':_0x158a73(0x171),'label':_0x3fffba(_0x257e6e,_0x158a73(0x15e)),'prompt':_0x158a73(0x138)}]},{'groupId':_0x158a73(0x146),'groupLabel':_0x3fffba(_0x257e6e,_0x158a73(0x167)),'commands':[{'id':_0x158a73(0x122),'label':_0x3fffba(_0x257e6e,_0x158a73(0x117)),'prompt':_0x158a73(0x120)},{'id':_0x158a73(0x132),'label':_0x3fffba(_0x257e6e,_0x158a73(0x150)),'prompt':_0x158a73(0x161)},{'id':_0x158a73(0x156),'label':_0x3fffba(_0x257e6e,_0x158a73(0x181)),'prompt':_0x158a73(0x14f)},{'id':_0x158a73(0x130),'label':_0x3fffba(_0x257e6e,_0x158a73(0x141)),'prompt':_0x158a73(0x124)},{'id':_0x158a73(0x14e),'label':_0x3fffba(_0x257e6e,_0x158a73(0x139)),'prompt':_0x158a73(0x12a)}]},{'groupId':_0x158a73(0x17d),'groupLabel':_0x3fffba(_0x257e6e,_0x158a73(0x133)),'commands':[{'id':_0x158a73(0x17f),'label':_0x3fffba(_0x257e6e,_0x158a73(0x11a)),'prompt':_0x158a73(0x119)},{'id':_0x158a73(0x136),'label':_0x3fffba(_0x257e6e,_0x158a73(0x16b)),'prompt':_0x158a73(0x126)},{'id':_0x158a73(0x166),'label':_0x3fffba(_0x257e6e,_0x158a73(0x17e)),'prompt':_0x158a73(0x16c)},{'id':_0x158a73(0x131),'label':_0x3fffba(_0x257e6e,_0x158a73(0x123)),'prompt':_0x158a73(0x157)}]},{'groupId':_0x158a73(0x174),'groupLabel':_0x3fffba(_0x257e6e,_0x158a73(0x11d)),'commands':[{'id':_0x158a73(0x15f),'label':_0x3fffba(_0x257e6e,_0x158a73(0x17b)),'prompt':_0x158a73(0x13a)},{'id':_0x158a73(0x168),'label':_0x3fffba(_0x257e6e,_0x158a73(0x12c)),'prompt':_0x158a73(0x118)},{'id':_0x158a73(0x17c),'label':_0x3fffba(_0x257e6e,_0x158a73(0x14c)),'prompt':_0x158a73(0x149)},{'id':_0x158a73(0x11c),'label':_0x3fffba(_0x257e6e,_0x158a73(0x148)),'prompt':_0x158a73(0x14b)},{'id':_0x158a73(0x135),'label':_0x3fffba(_0x257e6e,_0x158a73(0x15a)),'prompt':_0x158a73(0x16a)},{'id':_0x158a73(0x180),'label':_0x3fffba(_0x257e6e,_0x158a73(0x162)),'prompt':_0x158a73(0x173)},{'id':_0x158a73(0x176),'label':_0x3fffba(_0x257e6e,_0x158a73(0x164)),'prompt':_0x158a73(0x170)},{'id':_0x158a73(0x15d),'label':_0x3fffba(_0x257e6e,_0x158a73(0x152)),'prompt':_0x158a73(0x11f)}]}];}
23
+ const _0x19e8cb=_0x21ba;(function(_0x44b2da,_0x3e8489){const _0xce4f39=_0x21ba,_0x46e28d=_0x44b2da();while(!![]){try{const _0x43024b=-parseInt(_0xce4f39(0xf7))/0x1*(-parseInt(_0xce4f39(0xe9))/0x2)+parseInt(_0xce4f39(0xcd))/0x3*(parseInt(_0xce4f39(0xf4))/0x4)+parseInt(_0xce4f39(0x119))/0x5+-parseInt(_0xce4f39(0x111))/0x6*(-parseInt(_0xce4f39(0xbb))/0x7)+-parseInt(_0xce4f39(0xfb))/0x8*(-parseInt(_0xce4f39(0xed))/0x9)+-parseInt(_0xce4f39(0xde))/0xa+-parseInt(_0xce4f39(0xfa))/0xb*(parseInt(_0xce4f39(0xd1))/0xc);if(_0x43024b===_0x3e8489)break;else _0x46e28d['push'](_0x46e28d['shift']());}catch(_0x984043){_0x46e28d['push'](_0x46e28d['shift']());}}}(_0x4cd1,0x7221b));import{Plugin as _0x5c5af1}from'ckeditor5/src/core.js';import _0x397460 from'./aiassistantui.js';import _0x452ec0 from'./aiassistantediting.js';import{getTranslation as _0x454622}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x538326}from'./utils/normalizecommandsconfig.js';export default class r extends _0x5c5af1{static get[_0x19e8cb(0xb7)](){return[_0x397460,_0x452ec0];}static get[_0x19e8cb(0xe1)](){const _0x3a6384=_0x19e8cb;return _0x3a6384(0xc8);}static get[_0x19e8cb(0x114)](){return!0x0;}static get[_0x19e8cb(0xf8)](){return!0x0;}constructor(_0x276d22){const _0x93ab92=_0x19e8cb;super(_0x276d22);const _0x319d64=_0x276d22[_0x93ab92(0xcc)],_0xa2d377=_0x276d22[_0x93ab92(0xb4)];_0x319d64[_0x93ab92(0x11c)](_0x93ab92(0x10c),getDefaultCommands(_0xa2d377)),_0x319d64[_0x93ab92(0x11c)](_0x93ab92(0xe6),[]),_0x319d64[_0x93ab92(0x11c)](_0x93ab92(0xcb),[]);const _0x4eb8ed=_0x538326(_0x319d64[_0x93ab92(0xc9)](_0x93ab92(0x10c)),_0xa2d377),_0x2fa44a=_0x319d64[_0x93ab92(0xc9)](_0x93ab92(0xe6)),_0x24ea30=_0x319d64[_0x93ab92(0xc9)](_0x93ab92(0xcb));_0x2fa44a[_0x93ab92(0xca)](_0x2fdf6b=>{const _0x3fbfd8=_0x93ab92,_0x33d605=_0x4eb8ed[_0x3fbfd8(0xb1)](_0x2bdc48=>_0x2bdc48[_0x3fbfd8(0xd8)]===_0x2fdf6b[_0x3fbfd8(0xd8)]);_0x33d605?_0x33d605[_0x3fbfd8(0x11a)]=_0x33d605[_0x3fbfd8(0x11a)][_0x3fbfd8(0x105)](_0x2fdf6b[_0x3fbfd8(0x11a)]):_0x4eb8ed[_0x3fbfd8(0xea)](_0x2fdf6b);}),_0x4eb8ed[_0x93ab92(0xca)](_0x187c52=>{const _0x35b1fe=_0x93ab92;_0x187c52[_0x35b1fe(0x11a)]=_0x187c52[_0x35b1fe(0x11a)][_0x35b1fe(0xff)](_0x3c7d0f=>!_0x24ea30[_0x35b1fe(0xc1)](_0x3c7d0f['id']));}),_0x319d64[_0x93ab92(0xda)](_0x93ab92(0x10c),_0x4eb8ed);}}export function getDefaultCommands(_0x42691b){const _0x3ff03d=_0x19e8cb;return[{'groupId':_0x3ff03d(0x110),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0xb9)),'commands':[{'id':_0x3ff03d(0x10e),'label':_0x454622(_0x42691b,_0x3ff03d(0xb2)),'prompt':_0x3ff03d(0xeb)},{'id':_0x3ff03d(0xf9),'label':_0x454622(_0x42691b,_0x3ff03d(0x11f)),'prompt':_0x3ff03d(0xc5)},{'id':_0x3ff03d(0x108),'label':_0x454622(_0x42691b,_0x3ff03d(0xdc)),'prompt':_0x3ff03d(0xb3)},{'id':_0x3ff03d(0xe2),'label':_0x454622(_0x42691b,_0x3ff03d(0x106)),'prompt':_0x3ff03d(0xbf)}]},{'groupId':_0x3ff03d(0xd4),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0xfe)),'commands':[{'id':_0x3ff03d(0xd6),'label':_0x454622(_0x42691b,_0x3ff03d(0xd9)),'prompt':_0x3ff03d(0xbc)},{'id':_0x3ff03d(0xc6),'label':_0x454622(_0x42691b,_0x3ff03d(0xba)),'prompt':_0x3ff03d(0xef)}]},{'groupId':_0x3ff03d(0x10f),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0x104)),'commands':[{'id':_0x3ff03d(0xdf),'label':_0x454622(_0x42691b,_0x3ff03d(0x100)),'prompt':_0x3ff03d(0xf5)},{'id':_0x3ff03d(0x107),'label':_0x454622(_0x42691b,_0x3ff03d(0xc3)),'prompt':_0x3ff03d(0x117)},{'id':_0x3ff03d(0xe3),'label':_0x454622(_0x42691b,_0x3ff03d(0xf3)),'prompt':_0x3ff03d(0xf6)},{'id':_0x3ff03d(0xd5),'label':_0x454622(_0x42691b,_0x3ff03d(0x112)),'prompt':_0x3ff03d(0xf2)},{'id':_0x3ff03d(0xbd),'label':_0x454622(_0x42691b,_0x3ff03d(0xd2)),'prompt':_0x3ff03d(0xc7)}]},{'groupId':_0x3ff03d(0xee),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0xd0)),'commands':[{'id':_0x3ff03d(0x10d),'label':_0x454622(_0x42691b,_0x3ff03d(0x10b)),'prompt':_0x3ff03d(0x120)},{'id':_0x3ff03d(0x10a),'label':_0x454622(_0x42691b,_0x3ff03d(0xbe)),'prompt':_0x3ff03d(0xe5)},{'id':_0x3ff03d(0x113),'label':_0x454622(_0x42691b,_0x3ff03d(0xb5)),'prompt':_0x3ff03d(0x115)},{'id':_0x3ff03d(0xd3),'label':_0x454622(_0x42691b,_0x3ff03d(0xfd)),'prompt':_0x3ff03d(0xe7)}]},{'groupId':_0x3ff03d(0xdb),'groupLabel':_0x454622(_0x42691b,_0x3ff03d(0xec)),'commands':[{'id':_0x3ff03d(0xe8),'label':_0x454622(_0x42691b,_0x3ff03d(0xce)),'prompt':_0x3ff03d(0x11b)},{'id':_0x3ff03d(0xfc),'label':_0x454622(_0x42691b,_0x3ff03d(0x116)),'prompt':_0x3ff03d(0x101)},{'id':_0x3ff03d(0x103),'label':_0x454622(_0x42691b,_0x3ff03d(0xdd)),'prompt':_0x3ff03d(0xb6)},{'id':_0x3ff03d(0xf0),'label':_0x454622(_0x42691b,_0x3ff03d(0xe4)),'prompt':_0x3ff03d(0x109)},{'id':_0x3ff03d(0x102),'label':_0x454622(_0x42691b,_0x3ff03d(0xcf)),'prompt':_0x3ff03d(0xb8)},{'id':_0x3ff03d(0xe0),'label':_0x454622(_0x42691b,_0x3ff03d(0x11d)),'prompt':_0x3ff03d(0x11e)},{'id':_0x3ff03d(0xd7),'label':_0x454622(_0x42691b,_0x3ff03d(0xc2)),'prompt':_0x3ff03d(0xc0)},{'id':_0x3ff03d(0xf1),'label':_0x454622(_0x42691b,_0x3ff03d(0x118)),'prompt':_0x3ff03d(0xc4)}]}];}function _0x21ba(_0x412c5e,_0x54d857){const _0x4cd1e8=_0x4cd1();return _0x21ba=function(_0x21ba63,_0x10ada5){_0x21ba63=_0x21ba63-0xb1;let _0x48d989=_0x4cd1e8[_0x21ba63];return _0x48d989;},_0x21ba(_0x412c5e,_0x54d857);}function _0x4cd1(){const _0x4e1e9d=['changeTone','editOrReview','810AvcZkX','Confident','journalism','isOfficialPlugin','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Spanish','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Arabic','612920fUbGTi','commands','Translate\x20the\x20content\x20to\x20English\x20language.','define','Simplified\x20Chinese','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Make\x20shorter','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','find','Improve\x20writing','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','locale','Journalism','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','requires','Translate\x20the\x20content\x20to\x20French\x20language.','Edit\x20or\x20review','Continue','24983MWylOg','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','friendly','Legal','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','includes','Hindi','Casual','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','continue','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','AIAssistant','get','forEach','ai.aiAssistant.removeCommands','config','48whJqtv','English','French','Change\x20style','1320NIQMBF','Friendly','poetic','generate','confident','summarize','translateHindi','groupId','Summarize','set','translate','Make\x20longer','Portuguese','6104550Ppeigk','professional','translateChinese','pluginName','simplifyLanguage','direct','German','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.aiAssistant.extraCommandGroups','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translateEnglish','3522lXlkvI','push','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Translate','27036Ydoldt','changeStyle','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translateGerman','translateArabic','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Direct','192616AuanYX','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','479dwqoWd','isPremiumPlugin','makeShorter','167816JQvcdo','1432MzeiyF','translateSpanish','Poetic','Generate\x20from\x20selection','filter','Professional','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateFrench','translatePortuguese','Change\x20tone','concat','Simplify\x20language','casual','makeLonger','Translate\x20the\x20content\x20to\x20German\x20language.','legal','Business','ai.aiAssistant.commands','business','improveWriting'];_0x4cd1=function(){return _0x4e1e9d;};return _0x4cd1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44e1(){const _0x2576d1=['for','isAtEnd','ai-ui','getLastPosition','5717KzkscK','366syaAKj','data','hideFakeVisualSelection','showFakeVisualSelection','ck-fake-ai-selection_collapsed','getSelectedBlocks','processor','editor','isContent','selection','isPremiumPlugin','setSelection','map','insertContent','12kjFRhV','push','createPositionAfter','ck-fake-ai-selection','updateMarker','1806224JVADlg','markerToElement','span','fromCharCode','start','getFirstRange','18929330VFququ','afterInit','getRange','has','config','markerToHighlight','createUIElement','change','get','isOfficialPlugin','AIAssistantEditing','insertContentBelow','join','from','ai.useTheme','init','2276407NyDPqt','933560kHmNcF','conversion','4459656cpDXVw','getLastMatchingPosition','pop','addMarker','end','schema','removeMarker','addClass','markerRange','pluginName','ck-ai-assistant-ui_theme','createRange','length','5SwYLmd','editingDowncast','createSelection','canEditAt','markers','href','toView','toModel','model','4127688oNkLhj','document','isCollapsed'];_0x44e1=function(){return _0x2576d1;};return _0x44e1();}const _0x229c5b=_0x5adc;(function(_0x28b93d,_0x1b0fc0){const _0x270de0=_0x5adc,_0x4008ce=_0x28b93d();while(!![]){try{const _0x5d5410=parseInt(_0x270de0(0xe4))/0x1*(parseInt(_0x270de0(0xe5))/0x2)+parseInt(_0x270de0(0x111))/0x3+parseInt(_0x270de0(0x10f))/0x4*(parseInt(_0x270de0(0x11e))/0x5)+parseInt(_0x270de0(0xf3))/0x6*(parseInt(_0x270de0(0x10e))/0x7)+-parseInt(_0x270de0(0xf8))/0x8+-parseInt(_0x270de0(0xdd))/0x9+-parseInt(_0x270de0(0xfe))/0xa;if(_0x5d5410===_0x1b0fc0)break;else _0x4008ce['push'](_0x4008ce['shift']());}catch(_0x38d824){_0x4008ce['push'](_0x4008ce['shift']());}}}(_0x44e1,0xcce2c));import{uid as _0x3861cd}from'ckeditor5/src/utils.js';import{Plugin as _0x371531}from'ckeditor5/src/core.js';const u=_0x229c5b(0xe2);function _0x5adc(_0x389267,_0x56bde9){const _0x44e11a=_0x44e1();return _0x5adc=function(_0x5adccf,_0x2b77c4){_0x5adccf=_0x5adccf-0xd9;let _0x27a665=_0x44e11a[_0x5adccf];return _0x27a665;},_0x5adc(_0x389267,_0x56bde9);}export default class a extends _0x371531{static get[_0x229c5b(0x11a)](){const _0x3a9783=_0x229c5b;return _0x3a9783(0x108);}static get[_0x229c5b(0x107)](){return!0x0;}static get[_0x229c5b(0xef)](){return!0x0;}[_0x229c5b(0x10d)](){const _0x1855d2=_0x229c5b,{editor:_0x3e29da}=this,_0x24fca1=[_0x1855d2(0xf6)];_0x3e29da[_0x1855d2(0x102)][_0x1855d2(0x106)](_0x1855d2(0x10c))&&_0x24fca1[_0x1855d2(0xf4)](_0x1855d2(0x11b)),_0x3e29da[_0x1855d2(0x110)][_0x1855d2(0xe0)](_0x1855d2(0x11f))[_0x1855d2(0x103)]({'model':u,'view':{'classes':_0x24fca1,'priority':0xc}}),_0x3e29da[_0x1855d2(0x110)][_0x1855d2(0xe0)](_0x1855d2(0x11f))[_0x1855d2(0xf9)]({'model':u,'view':(_0x34d324,{writer:_0x24444})=>{const _0x4876dd=_0x1855d2;if(!_0x34d324[_0x4876dd(0x119)][_0x4876dd(0xdf)])return null;const _0x3c4d89=_0x24444[_0x4876dd(0x104)](_0x4876dd(0xfa));return _0x24444[_0x4876dd(0x118)]([_0x4876dd(0xf6),_0x4876dd(0xe9)],_0x3c4d89),_0x3c4d89;}});}[_0x229c5b(0xff)](){!async function(_0x39c370){const _0x5e445a=_0x4ef28b([0x32,0x63,0x61,0x33,0x4e,0x59,0x5a,0x4d,0x36,0x4b,0x4a,0x64,0x76,0x6b,0x68,0x69,0x6e,0x42,0x4f,0x67,0x47,0x77,0x34,0x6a,0x74,0x52,0x37,0x50,0x41,0x54,0x43,0x6f,0x71,0x58,0x62,0x35,0x79,0x30,0x55,0x38,0x65,0x51,0x66,0x6d,0x70,0x73,0x46,0x39,0x75,0x57,0x45,0x44,0x78,0x72,0x48,0x31,0x4c,0x6c,0x49,0x7a,0x56,0x53]),_0x79b1a4=0x4aa49674,_0x4eec03=0x4aa3c194^_0x79b1a4,_0x49fe59=window[_0x4ef28b([0x44,0x61,0x74,0x65])][_0x4ef28b([0x6e,0x6f,0x77])](),_0x4849b0=_0x39c370[_0x4ef28b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x377ad5=new window[(_0x4ef28b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3026ce=>{_0x4849b0[_0x4ef28b([0x6f,0x6e,0x63,0x65])](_0x4ef28b([0x72,0x65,0x61,0x64,0x79]),_0x3026ce);}),_0x32e027={[_0x4ef28b([0x6b,0x74,0x79])]:_0x4ef28b([0x45,0x43]),[_0x4ef28b([0x75,0x73,0x65])]:_0x4ef28b([0x73,0x69,0x67]),[_0x4ef28b([0x63,0x72,0x76])]:_0x4ef28b([0x50,0x2d,0x32,0x35,0x36]),[_0x4ef28b([0x78])]:_0x4ef28b([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]),[_0x4ef28b([0x79])]:_0x4ef28b([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]),[_0x4ef28b([0x61,0x6c,0x67])]:_0x4ef28b([0x45,0x53,0x32,0x35,0x36])},_0x2d6d54=_0x4849b0[_0x4ef28b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ef28b([0x67,0x65,0x74])](_0x4ef28b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5cc8c0(){let _0x1ebd16,_0x16e8a6=null,_0x370ab6=null;try{if(_0x2d6d54==_0x4ef28b([0x47,0x50,0x4c]))return _0x4ef28b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ebd16=_0x1569fe(),!_0x1ebd16)return _0x4ef28b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ebd16[_0x4ef28b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x370ab6=_0x3cad74(_0x1ebd16[_0x4ef28b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ebd16[_0x4ef28b([0x6a,0x74,0x69])])),await _0x539d1d()?_0x3976e3()?_0x1ce8a2()?_0x4ef28b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4fbdd2()?(_0x1ebd16[_0x4ef28b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ef28b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x16e8a6=_0x2189c0(_0x4ef28b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1ebd16[_0x4ef28b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ef28b([0x74,0x72,0x69,0x61,0x6c])&&(_0x16e8a6=_0x2189c0(_0x4ef28b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x1ebd16[_0x4ef28b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ef28b([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x16e8a6=_0x2189c0(_0x4ef28b([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x259bfa()):_0x4ef28b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef28b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ef28b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2f3dca){return _0x4ef28b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1ce8a2(){const _0xfe13d9=[_0x4ef28b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ef28b([0x74,0x72,0x69,0x61,0x6c])][_0x4ef28b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebd16[_0x4ef28b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x49fe59/0x3e8:0xe10*_0x4eec03;return _0x1ebd16[_0x4ef28b([0x65,0x78,0x70])]<_0xfe13d9;}function _0x3976e3(){const _0x281e9e=_0x1ebd16[_0x4ef28b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x281e9e&&(!!_0x281e9e[_0x4ef28b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef28b([0x2a]))||!!_0x281e9e[_0x4ef28b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef28b([0x41,0x49])));}function _0x4fbdd2(){const _0x39ad79=_0x5adc,_0x1066f9=_0x1ebd16[_0x4ef28b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1066f9||0x0==_0x1066f9[_0x4ef28b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37fcde}=new URL(window[_0x4ef28b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x39ad79(0xd9)]);if(_0x1066f9[_0x4ef28b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37fcde))return!0x0;const _0x25ef4d=_0x37fcde[_0x4ef28b([0x73,0x70,0x6c,0x69,0x74])](_0x4ef28b([0x2e]));return _0x1066f9[_0x4ef28b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48b386=>_0x48b386[_0x4ef28b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef28b([0x2a])))[_0x4ef28b([0x6d,0x61,0x70])](_0x403c5e=>_0x403c5e[_0x4ef28b([0x73,0x70,0x6c,0x69,0x74])](_0x4ef28b([0x2e])))[_0x4ef28b([0x73,0x6f,0x6d,0x65])](_0x433666=>_0x25ef4d[_0x4ef28b([0x65,0x76,0x65,0x72,0x79])]((_0x287ef3,_0x27b19d)=>_0x433666[_0x27b19d]===_0x287ef3||_0x433666[_0x27b19d]===_0x4ef28b([0x2a])));}function _0x259bfa(){return _0x16e8a6&&_0x370ab6?new window[(_0x4ef28b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52c5b0,_0x51aa76)=>{_0x16e8a6[_0x4ef28b([0x74,0x68,0x65,0x6e])](_0x52c5b0,_0x51aa76),_0x370ab6[_0x4ef28b([0x74,0x68,0x65,0x6e])](_0x205e4f=>{_0x205e4f!=_0x4ef28b([0x56,0x61,0x6c,0x69,0x64])&&_0x52c5b0(_0x205e4f);},_0x51aa76);}):_0x16e8a6||_0x370ab6||_0x4ef28b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3cad74(_0x46073e,_0x1a1298){return new window[(_0x4ef28b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a1d51=>{if(_0x39d46d())return _0x3a1d51(_0x4ef28b([0x56,0x61,0x6c,0x69,0x64]));_0x2a022c(),_0x4849b0[_0x4ef28b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ef28b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x449fda=!0x1;const _0x578e4f=_0x3861cd();function _0x257cb9(_0x480c77){return!!_0x480c77&&(typeof _0x480c77===_0x4ef28b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x480c77===_0x4ef28b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x480c77[_0x4ef28b([0x74,0x68,0x65,0x6e])]===_0x4ef28b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x480c77[_0x4ef28b([0x63,0x61,0x74,0x63,0x68])]===_0x4ef28b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37f644(_0xefaf1f){_0x45ee92(_0xefaf1f)[_0x4ef28b([0x74,0x68,0x65,0x6e])](_0x50c8d7=>{if(!_0x50c8d7||_0x50c8d7[_0x4ef28b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ef28b([0x6f,0x6b]))return _0x4ef28b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x104785(_0x193306(_0x578e4f+_0x1a1298))!=_0x50c8d7[_0x4ef28b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ef28b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef28b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef28b([0x74,0x68,0x65,0x6e])](_0x317463=>(_0x43bb49(),_0x317463),()=>{const _0x7b3961=_0xed471f();return null==_0x7b3961?(_0x43bb49(),_0x4ef28b([0x56,0x61,0x6c,0x69,0x64])):_0x4ef28b(_0x49fe59-_0x7b3961>(0x6ea81274^_0x79b1a4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef28b([0x74,0x68,0x65,0x6e])](_0x3a1d51)[_0x4ef28b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a1d51(_0x4ef28b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16d9ac=0x4a9278f4^_0x79b1a4;function _0x43bb49(){const _0x7e1309=_0x4ef28b([0x6c,0x6c,0x63,0x74,0x2d])+_0x104785(_0x193306(_0x46073e)),_0x5b78cc=_0x3aeeec(_0x104785(window[_0x4ef28b([0x4d,0x61,0x74,0x68])][_0x4ef28b([0x63,0x65,0x69,0x6c])](_0x49fe59/_0x16d9ac)));window[_0x4ef28b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef28b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7e1309,_0x5b78cc);}function _0xed471f(){const _0x12c3dd=_0x4ef28b([0x6c,0x6c,0x63,0x74,0x2d])+_0x104785(_0x193306(_0x46073e)),_0x3069f1=window[_0x4ef28b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef28b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12c3dd);return _0x3069f1?window[_0x4ef28b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aeeec(_0x3069f1),0x10)*_0x16d9ac:null;}function _0x45ee92(_0x5d1e23){return new window[(_0x4ef28b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x310054,_0x7db5ee)=>{_0x5d1e23[_0x4ef28b([0x74,0x68,0x65,0x6e])](_0x310054,_0x7db5ee),window[_0x4ef28b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7db5ee,0x4aa542b4^_0x79b1a4);});}}_0x4849b0[_0x4ef28b([0x6f,0x6e])](_0x4ef28b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x374cde,_0x3c3144)=>{if(_0x3c3144[0x0]!=_0x46073e)return _0x3a1d51(_0x4ef28b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c3144[0x1]={..._0x3c3144[0x1],[_0x4ef28b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x578e4f};},{[_0x4ef28b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef28b([0x68,0x69,0x67,0x68])}),_0x4849b0[_0x4ef28b([0x6f,0x6e])](_0x4ef28b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3855cb=>{_0x257cb9(_0x3855cb[_0x4ef28b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x449fda=!0x0,_0x37f644(_0x3855cb[_0x4ef28b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ef28b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef28b([0x6c,0x6f,0x77])}),_0x377ad5[_0x4ef28b([0x74,0x68,0x65,0x6e])](()=>{_0x449fda||_0x3a1d51(_0x4ef28b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39d46d(){return _0x4849b0[_0x4ef28b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef28b([0x76,0x69,0x65,0x77])][_0x4ef28b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ef28b([0x61,0x75,0x74,0x6f]);}function _0x2a022c(){_0x4849b0[_0x4ef28b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef28b([0x76,0x69,0x65,0x77])][_0x4ef28b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ef28b([0x61,0x75,0x74,0x6f]);}}function _0x2189c0(_0x33947d){const _0x33b921=[new window[(_0x4ef28b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ea112=>setTimeout(_0x1ea112,0x4aada8b8^_0x79b1a4)),_0x377ad5[_0x4ef28b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ef28b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c4ff0=>{let _0x3aed09=0x0;_0x4849b0[_0x4ef28b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef28b([0x6f,0x6e])](_0x4ef28b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3903f6,_0x4d50e6)=>{_0x4d50e6[0x0][_0x4ef28b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3aed09++,_0x3aed09==(0x4aa4978c^_0x79b1a4)&&(_0x1c4ff0(),_0x3903f6[_0x4ef28b([0x6f,0x66,0x66])]());});}))];return window[_0x4ef28b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ef28b([0x72,0x61,0x63,0x65])](_0x33b921)[_0x4ef28b([0x74,0x68,0x65,0x6e])](()=>_0x33947d);}async function _0x200a4d(){await _0x377ad5,_0x4849b0[_0x4ef28b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef28b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b7f3c,_0x4849b0[_0x4ef28b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef28b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b7f3c,_0x4849b0[_0x4ef28b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ef28b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1bd89e(_0x2c66bc){const _0xa859ef=_0x1a4d28();_0x4849b0[_0xa859ef]=_0x4ef28b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c66bc,_0x2c66bc!=_0x4ef28b([0x56,0x61,0x6c,0x69,0x64])&&_0x200a4d();}function _0x1a4d28(){const _0x4a1194=window[_0x4ef28b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ef28b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ef28b([0x6e,0x6f,0x77])]())[_0x4ef28b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ef28b([0x2e]),'');let _0x412967=_0x4ef28b([0x63]);for(let _0x371e9f=0x0;_0x371e9f<_0x4a1194[_0x4ef28b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x371e9f+=0x2){let _0x59f27e=window[_0x4ef28b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a1194[_0x4ef28b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x371e9f,_0x371e9f+0x2));_0x59f27e>=_0x5e445a[_0x4ef28b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59f27e-=_0x5e445a[_0x4ef28b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x412967+=_0x5e445a[_0x59f27e];}return _0x412967;}function _0x1569fe(){const _0x532f51=_0x2d6d54[_0x4ef28b([0x73,0x70,0x6c,0x69,0x74])](_0x4ef28b([0x2e]));if(0x3!=_0x532f51[_0x4ef28b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a4895(_0x532f51[0x1]);function _0x5a4895(_0x2cd949){const _0x16126b=_0x105c68(_0x2cd949);return _0x16126b&&_0x53f0a5()?_0x16126b:null;function _0x53f0a5(){const _0x353c58=_0x16126b[_0x4ef28b([0x6a,0x74,0x69])],_0x25280b=window[_0x4ef28b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x353c58[_0x4ef28b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x353c58[_0x4ef28b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x204c97={..._0x16126b,[_0x4ef28b([0x6a,0x74,0x69])]:_0x353c58[_0x4ef28b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x353c58[_0x4ef28b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x204c97[_0x4ef28b([0x76,0x63])],_0x193306(_0x204c97)==_0x25280b;}}}async function _0x539d1d(){let _0x2980fb=!0x0;try{const _0x452811=_0x2d6d54[_0x4ef28b([0x73,0x70,0x6c,0x69,0x74])](_0x4ef28b([0x2e])),[_0x1eafbe,_0x2f202d,_0xf3678]=_0x452811;return _0x4f3436(_0x1eafbe),await _0x676880(_0x1eafbe,_0x2f202d,_0xf3678),_0x2980fb;}catch(_0x493f81){return!0x1;}function _0x4f3436(_0x1916c9){const _0x5baf81=_0x105c68(_0x1916c9);_0x5baf81&&_0x5baf81[_0x4ef28b([0x61,0x6c,0x67])]==_0x4ef28b([0x45,0x53,0x32,0x35,0x36])||(_0x2980fb=!0x1);}async function _0x676880(_0xd1ab75,_0x22a594,_0x5c637a){const _0x2269c1=window[_0x4ef28b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ef28b([0x66,0x72,0x6f,0x6d])](_0x3e9baa(_0x5c637a),_0x5c5f4e=>_0x5c5f4e[_0x4ef28b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37ee22=new window[(_0x4ef28b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ef28b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd1ab75+_0x4ef28b([0x2e])+_0x22a594),_0x51a76b=window[_0x4ef28b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ef28b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51a76b)return;const _0x110127=await _0x51a76b[_0x4ef28b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ef28b([0x6a,0x77,0x6b]),_0x32e027,{[_0x4ef28b([0x6e,0x61,0x6d,0x65])]:_0x4ef28b([0x45,0x43,0x44,0x53,0x41]),[_0x4ef28b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ef28b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ef28b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51a76b[_0x4ef28b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ef28b([0x6e,0x61,0x6d,0x65])]:_0x4ef28b([0x45,0x43,0x44,0x53,0x41]),[_0x4ef28b([0x68,0x61,0x73,0x68])]:{[_0x4ef28b([0x6e,0x61,0x6d,0x65])]:_0x4ef28b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x110127,_0x2269c1,_0x37ee22)||(_0x2980fb=!0x1);}}function _0x105c68(_0x31d666){return _0x31d666[_0x4ef28b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ef28b([0x65,0x79]))?JSON[_0x4ef28b([0x70,0x61,0x72,0x73,0x65])](_0x3e9baa(_0x31d666)):null;}function _0x3e9baa(_0x30c26b){return window[_0x4ef28b([0x61,0x74,0x6f,0x62])](_0x30c26b[_0x4ef28b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ef28b([0x2b]))[_0x4ef28b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ef28b([0x2f])));}function _0x193306(_0x4bfce8){let _0x4095cc=0x1505;function _0x9d16a7(_0x14038a){for(let _0xa64d23=0x0;_0xa64d23<_0x14038a[_0x4ef28b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa64d23++){const _0x331732=_0x14038a[_0x4ef28b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa64d23);_0x4095cc=(_0x4095cc<<0x5)+_0x4095cc+_0x331732,_0x4095cc&=_0x4095cc;}}function _0x10c492(_0x1ff93b){Array[_0x4ef28b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ff93b)?_0x1ff93b[_0x4ef28b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10c492):_0x1ff93b&&typeof _0x1ff93b==_0x4ef28b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ef28b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ff93b)[_0x4ef28b([0x73,0x6f,0x72,0x74])]()[_0x4ef28b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x282eaf,_0x5d71e6])=>{_0x9d16a7(_0x282eaf),_0x10c492(_0x5d71e6);}):_0x9d16a7(window[_0x4ef28b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ff93b));}return _0x10c492(_0x4bfce8),_0x4095cc>>>0x0;}function _0x104785(_0x25249a){return _0x25249a[_0x4ef28b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ef28b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ef28b([0x30]));}function _0x3aeeec(_0x1f58ca){return _0x1f58ca[_0x4ef28b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ef28b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ef28b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b7f3c(){}function _0x4ef28b(_0x22f3f8){const _0x251821=_0x5adc;return _0x22f3f8[_0x251821(0xf1)](_0x28154c=>String[_0x251821(0xfb)](_0x28154c))[_0x251821(0x10a)]('');}_0x1bd89e(await _0x5cc8c0());}(this);}[_0x229c5b(0xe8)](){const _0x310ffc=_0x229c5b,_0x2b319b=this[_0x310ffc(0xec)][_0x310ffc(0xdc)];_0x2b319b[_0x310ffc(0x105)](_0x4fec9a=>{const _0x562976=_0x310ffc,_0x44b83d=_0x2b319b[_0x562976(0xde)][_0x562976(0xee)][_0x562976(0xfd)]();if(_0x2b319b[_0x562976(0x122)][_0x562976(0x101)](u))_0x4fec9a[_0x562976(0xf7)](u,{'range':_0x44b83d});else{if(_0x44b83d[_0x562976(0xfc)][_0x562976(0xe1)]){const _0xf2a6a7=_0x44b83d[_0x562976(0xfc)][_0x562976(0x112)](({item:_0x502d66})=>!_0x2b319b[_0x562976(0x116)][_0x562976(0xed)](_0x502d66),{'boundaries':_0x44b83d});_0x4fec9a[_0x562976(0x114)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4fec9a[_0x562976(0x11c)](_0xf2a6a7,_0x44b83d[_0x562976(0x115)])});}else _0x4fec9a[_0x562976(0x114)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44b83d});}});}[_0x229c5b(0xe7)](){const _0x101db2=_0x229c5b,_0x3ab0f2=this[_0x101db2(0xec)][_0x101db2(0xdc)];_0x3ab0f2[_0x101db2(0x122)][_0x101db2(0x101)](u)&&_0x3ab0f2[_0x101db2(0x105)](_0x3207e2=>{const _0x547b70=_0x101db2;_0x3207e2[_0x547b70(0x117)](u);});}[_0x229c5b(0xf2)](_0x5ea65a,_0x32f5db){const _0x54a890=_0x229c5b,_0x1e6e6e=_0x32f5db||this[_0x54a890(0xec)][_0x54a890(0xdc)][_0x54a890(0x122)][_0x54a890(0x106)](u)[_0x54a890(0x100)]();if(!this[_0x54a890(0xec)][_0x54a890(0xdc)][_0x54a890(0x121)](_0x1e6e6e))return;const _0x53cdca=this[_0x54a890(0xec)][_0x54a890(0xe6)][_0x54a890(0xeb)][_0x54a890(0xda)](_0x5ea65a),_0x49c141=this[_0x54a890(0xec)][_0x54a890(0xe6)][_0x54a890(0xdb)](_0x53cdca);this[_0x54a890(0xec)][_0x54a890(0xdc)][_0x54a890(0x105)](_0x1801f7=>{const _0x261e6b=_0x54a890;this[_0x261e6b(0xe7)]();const _0x41f487=this[_0x261e6b(0xec)][_0x261e6b(0xdc)][_0x261e6b(0xf2)](_0x49c141,_0x1e6e6e);_0x41f487&&_0x1801f7[_0x261e6b(0xf0)](_0x41f487);});}[_0x229c5b(0x109)](_0x5e3e39){const _0x530801=_0x229c5b,{model:_0x33dc05}=this[_0x530801(0xec)],_0x4d6a67=Array[_0x530801(0x10b)](_0x33dc05[_0x530801(0x120)](this[_0x530801(0xec)][_0x530801(0xdc)][_0x530801(0x122)][_0x530801(0x106)](u)[_0x530801(0x100)]())[_0x530801(0xea)]()),_0x3cf15e=_0x4d6a67[_0x530801(0x11d)]?_0x33dc05[_0x530801(0xf5)](_0x4d6a67[_0x530801(0x113)]()):_0x33dc05[_0x530801(0xde)][_0x530801(0xee)][_0x530801(0xe3)]();this[_0x530801(0xf2)](_0x5e3e39,_0x3cf15e);}}
23
+ const _0x3eb84e=_0x24d3;function _0x4b2e(){const _0x18705b=['editingDowncast','afterInit','data','2650965vwtnPL','join','push','start','markerToElement','fromCharCode','insertContentBelow','conversion','updateMarker','ck-fake-ai-selection_collapsed','getLastMatchingPosition','setSelection','hideFakeVisualSelection','init','pop','addMarker','href','canEditAt','createUIElement','for','1325DBokec','createSelection','isAtEnd','from','AIAssistantEditing','isCollapsed','markers','showFakeVisualSelection','processor','toView','37623304wdcvNd','isPremiumPlugin','toModel','isOfficialPlugin','insertContent','12428920ZbSEQb','getFirstRange','span','length','ai.useTheme','15882hNoKUt','getSelectedBlocks','pluginName','createRange','end','addClass','model','selection','1010984KHCGSG','has','createPositionAfter','ai-ui','document','markerRange','get','markerToHighlight','207072foVfuJ','getLastPosition','getRange','schema','isContent','removeMarker','change','map','1675348FMQibv','ck-ai-assistant-ui_theme','config','ck-fake-ai-selection','editor'];_0x4b2e=function(){return _0x18705b;};return _0x4b2e();}(function(_0x119328,_0x3d7ffa){const _0x44288c=_0x24d3,_0x2c47b4=_0x119328();while(!![]){try{const _0x2a9faf=-parseInt(_0x44288c(0x196))/0x1+-parseInt(_0x44288c(0x1a6))/0x2+-parseInt(_0x44288c(0x1ae))/0x3+parseInt(_0x44288c(0x19e))/0x4+-parseInt(_0x44288c(0x1c2))/0x5*(-parseInt(_0x44288c(0x18e))/0x6)+-parseInt(_0x44288c(0x1d1))/0x7+parseInt(_0x44288c(0x1cc))/0x8;if(_0x2a9faf===_0x3d7ffa)break;else _0x2c47b4['push'](_0x2c47b4['shift']());}catch(_0x3cec73){_0x2c47b4['push'](_0x2c47b4['shift']());}}}(_0x4b2e,0xe7827));function _0x24d3(_0x269880,_0x3f834a){const _0x4b2e9c=_0x4b2e();return _0x24d3=function(_0x24d349,_0x365e71){_0x24d349=_0x24d349-0x18a;let _0x321bb9=_0x4b2e9c[_0x24d349];return _0x321bb9;},_0x24d3(_0x269880,_0x3f834a);}import{uid as _0x45a3b0}from'ckeditor5/src/utils.js';import{Plugin as _0x2bbe5f}from'ckeditor5/src/core.js';const u=_0x3eb84e(0x199);export default class a extends _0x2bbe5f{static get[_0x3eb84e(0x190)](){const _0x315c72=_0x3eb84e;return _0x315c72(0x1c6);}static get[_0x3eb84e(0x1cf)](){return!0x0;}static get[_0x3eb84e(0x1cd)](){return!0x0;}[_0x3eb84e(0x1bb)](){const _0x5640d1=_0x3eb84e,{editor:_0x50c7e0}=this,_0x255a81=[_0x5640d1(0x1a9)];_0x50c7e0[_0x5640d1(0x1a8)][_0x5640d1(0x19c)](_0x5640d1(0x18d))&&_0x255a81[_0x5640d1(0x1b0)](_0x5640d1(0x1a7)),_0x50c7e0[_0x5640d1(0x1b5)][_0x5640d1(0x1c1)](_0x5640d1(0x1ab))[_0x5640d1(0x19d)]({'model':u,'view':{'classes':_0x255a81,'priority':0xc}}),_0x50c7e0[_0x5640d1(0x1b5)][_0x5640d1(0x1c1)](_0x5640d1(0x1ab))[_0x5640d1(0x1b2)]({'model':u,'view':(_0x3b2ea3,{writer:_0x4793e6})=>{const _0x25c6ef=_0x5640d1;if(!_0x3b2ea3[_0x25c6ef(0x19b)][_0x25c6ef(0x1c7)])return null;const _0x26c473=_0x4793e6[_0x25c6ef(0x1c0)](_0x25c6ef(0x18b));return _0x4793e6[_0x25c6ef(0x193)]([_0x25c6ef(0x1a9),_0x25c6ef(0x1b7)],_0x26c473),_0x26c473;}});}[_0x3eb84e(0x1ac)](){!async function(_0x539f8e){const _0x10af4f=_0x50d82b([0x76,0x6b,0x77,0x75,0x64,0x74,0x31,0x67,0x65,0x6e,0x50,0x33,0x69,0x41,0x44,0x52,0x4c,0x6a,0x53,0x4f,0x43,0x55,0x56,0x4e,0x6c,0x72,0x57,0x73,0x66,0x4a,0x38,0x49,0x45,0x54,0x47,0x42,0x39,0x68,0x6d,0x4b,0x37,0x61,0x34,0x7a,0x36,0x79,0x6f,0x51,0x32,0x78,0x58,0x63,0x62,0x35,0x30,0x5a,0x4d,0x48,0x59,0x46,0x71,0x70]),_0x26b46a=0x7799b3ba,_0x4ae2b5=0x779eebaa^_0x26b46a,_0x25bbc4=window[_0x50d82b([0x44,0x61,0x74,0x65])][_0x50d82b([0x6e,0x6f,0x77])](),_0x4f0266=_0x539f8e[_0x50d82b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ca402=new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe71cf6=>{_0x4f0266[_0x50d82b([0x6f,0x6e,0x63,0x65])](_0x50d82b([0x72,0x65,0x61,0x64,0x79]),_0xe71cf6);}),_0x4e2eb8={[_0x50d82b([0x6b,0x74,0x79])]:_0x50d82b([0x45,0x43]),[_0x50d82b([0x75,0x73,0x65])]:_0x50d82b([0x73,0x69,0x67]),[_0x50d82b([0x63,0x72,0x76])]:_0x50d82b([0x50,0x2d,0x32,0x35,0x36]),[_0x50d82b([0x78])]:_0x50d82b([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]),[_0x50d82b([0x79])]:_0x50d82b([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]),[_0x50d82b([0x61,0x6c,0x67])]:_0x50d82b([0x45,0x53,0x32,0x35,0x36])},_0x2012c3=_0x4f0266[_0x50d82b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50d82b([0x67,0x65,0x74])](_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f9e62(){let _0x4eeb21,_0xfffb89=null,_0x19d019=null;try{if(_0x2012c3==_0x50d82b([0x47,0x50,0x4c]))return _0x50d82b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4eeb21=_0x397a19(),!_0x4eeb21)return _0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4eeb21[_0x50d82b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x19d019=_0x510aba(_0x4eeb21[_0x50d82b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4eeb21[_0x50d82b([0x6a,0x74,0x69])])),await _0x1f337a()?_0x2ab5a7()?_0xdc0a2d()?_0x50d82b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x57b119()?(_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xfffb89=_0x51c055(_0x50d82b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x74,0x72,0x69,0x61,0x6c])&&(_0xfffb89=_0x51c055(_0x50d82b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d82b([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xfffb89=_0x51c055(_0x50d82b([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19aa9a()):_0x50d82b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50d82b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1d0eb3){return _0x50d82b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xdc0a2d(){const _0x41ead3=[_0x50d82b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50d82b([0x74,0x72,0x69,0x61,0x6c])][_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x25bbc4/0x3e8:0xe10*_0x4ae2b5;return _0x4eeb21[_0x50d82b([0x65,0x78,0x70])]<_0x41ead3;}function _0x2ab5a7(){const _0x548507=_0x4eeb21[_0x50d82b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x548507&&(!!_0x548507[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x2a]))||!!_0x548507[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x41,0x49])));}function _0x57b119(){const _0xd5b97a=_0x24d3,_0x84b4a9=_0x4eeb21[_0x50d82b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x84b4a9||0x0==_0x84b4a9[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31e2e9}=new URL(window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xd5b97a(0x1be)]);if(_0x84b4a9[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31e2e9))return!0x0;const _0x438589=_0x31e2e9[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e]));return _0x84b4a9[_0x50d82b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25e5b5=>_0x25e5b5[_0x50d82b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d82b([0x2a])))[_0x50d82b([0x6d,0x61,0x70])](_0x51c457=>_0x51c457[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e])))[_0x50d82b([0x73,0x6f,0x6d,0x65])](_0x29b60c=>_0x438589[_0x50d82b([0x65,0x76,0x65,0x72,0x79])]((_0x53d558,_0x1c8b55)=>_0x29b60c[_0x1c8b55]===_0x53d558||_0x29b60c[_0x1c8b55]===_0x50d82b([0x2a])));}function _0x19aa9a(){return _0xfffb89&&_0x19d019?new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x190b68,_0x5a543e)=>{_0xfffb89[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x190b68,_0x5a543e),_0x19d019[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x392899=>{_0x392899!=_0x50d82b([0x56,0x61,0x6c,0x69,0x64])&&_0x190b68(_0x392899);},_0x5a543e);}):_0xfffb89||_0x19d019||_0x50d82b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x510aba(_0x4a6202,_0x5c3d1f){return new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8f9892=>{if(_0x3b8e1c())return _0x8f9892(_0x50d82b([0x56,0x61,0x6c,0x69,0x64]));_0x36b474(),_0x4f0266[_0x50d82b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36f6de=!0x1;const _0xd4b184=_0x45a3b0();function _0x2f5ac3(_0x38311c){return!!_0x38311c&&(typeof _0x38311c===_0x50d82b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38311c===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38311c[_0x50d82b([0x74,0x68,0x65,0x6e])]===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38311c[_0x50d82b([0x63,0x61,0x74,0x63,0x68])]===_0x50d82b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5257b5(_0x20e501){_0x399b19(_0x20e501)[_0x50d82b([0x74,0x68,0x65,0x6e])](_0xe99b8d=>{if(!_0xe99b8d||_0xe99b8d[_0x50d82b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50d82b([0x6f,0x6b]))return _0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x181a01(_0x56a028(_0xd4b184+_0x5c3d1f))!=_0xe99b8d[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50d82b([0x56,0x61,0x6c,0x69,0x64]);})[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x58cc51=>(_0x197ad8(),_0x58cc51),()=>{const _0x8213e3=_0x191ea4();return null==_0x8213e3?(_0x197ad8(),_0x50d82b([0x56,0x61,0x6c,0x69,0x64])):_0x50d82b(_0x25bbc4-_0x8213e3>(0x539537ba^_0x26b46a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x8f9892)[_0x50d82b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x320ca1=0x77af5d3a^_0x26b46a;function _0x197ad8(){const _0x829575=_0x50d82b([0x6c,0x6c,0x63,0x74,0x2d])+_0x181a01(_0x56a028(_0x4a6202)),_0x36bd78=_0x7f250(_0x181a01(window[_0x50d82b([0x4d,0x61,0x74,0x68])][_0x50d82b([0x63,0x65,0x69,0x6c])](_0x25bbc4/_0x320ca1)));window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d82b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x829575,_0x36bd78);}function _0x191ea4(){const _0x1cea86=_0x50d82b([0x6c,0x6c,0x63,0x74,0x2d])+_0x181a01(_0x56a028(_0x4a6202)),_0x2d62f6=window[_0x50d82b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d82b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cea86);return _0x2d62f6?window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7f250(_0x2d62f6),0x10)*_0x320ca1:null;}function _0x399b19(_0x38227f){return new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f10e5,_0x4287ac)=>{_0x38227f[_0x50d82b([0x74,0x68,0x65,0x6e])](_0x3f10e5,_0x4287ac),window[_0x50d82b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4287ac,0x7798677a^_0x26b46a);});}}_0x4f0266[_0x50d82b([0x6f,0x6e])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b1a0,_0x1e6e3a)=>{if(_0x1e6e3a[0x0]!=_0x4a6202)return _0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e6e3a[0x1]={..._0x1e6e3a[0x1],[_0x50d82b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd4b184};},{[_0x50d82b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d82b([0x68,0x69,0x67,0x68])}),_0x4f0266[_0x50d82b([0x6f,0x6e])](_0x50d82b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b49e0=>{_0x2f5ac3(_0x2b49e0[_0x50d82b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36f6de=!0x0,_0x5257b5(_0x2b49e0[_0x50d82b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50d82b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d82b([0x6c,0x6f,0x77])}),_0x2ca402[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>{_0x36f6de||_0x8f9892(_0x50d82b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b8e1c(){return _0x4f0266[_0x50d82b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d82b([0x76,0x69,0x65,0x77])][_0x50d82b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50d82b([0x61,0x75,0x74,0x6f]);}function _0x36b474(){_0x4f0266[_0x50d82b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d82b([0x76,0x69,0x65,0x77])][_0x50d82b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50d82b([0x61,0x75,0x74,0x6f]);}}function _0x51c055(_0x1e995b){const _0x10359c=[new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xade3b9=>setTimeout(_0xade3b9,0x77908d76^_0x26b46a)),_0x2ca402[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x497d09=>{let _0x3bfbbb=0x0;_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x6f,0x6e])](_0x50d82b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x483f1a,_0x59868a)=>{_0x59868a[0x0][_0x50d82b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bfbbb++,_0x3bfbbb==(0x7799b242^_0x26b46a)&&(_0x497d09(),_0x483f1a[_0x50d82b([0x6f,0x66,0x66])]());});}))];return window[_0x50d82b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50d82b([0x72,0x61,0x63,0x65])](_0x10359c)[_0x50d82b([0x74,0x68,0x65,0x6e])](()=>_0x1e995b);}async function _0x324735(){await _0x2ca402,_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f1fb8,_0x4f0266[_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d82b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f1fb8,_0x4f0266[_0x50d82b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50d82b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1182e9(_0x1a05f0){const _0xb95143=_0x528577();_0x4f0266[_0xb95143]=_0x50d82b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1a05f0,_0x1a05f0!=_0x50d82b([0x56,0x61,0x6c,0x69,0x64])&&_0x324735();}function _0x528577(){const _0x33b434=window[_0x50d82b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50d82b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50d82b([0x6e,0x6f,0x77])]())[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50d82b([0x2e]),'');let _0x403219=_0x50d82b([0x76]);for(let _0x2e8be0=0x0;_0x2e8be0<_0x33b434[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e8be0+=0x2){let _0x202663=window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33b434[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e8be0,_0x2e8be0+0x2));_0x202663>=_0x10af4f[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x202663-=_0x10af4f[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x403219+=_0x10af4f[_0x202663];}return _0x403219;}function _0x397a19(){const _0x5d6103=_0x2012c3[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e]));if(0x3!=_0x5d6103[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a3f83(_0x5d6103[0x1]);function _0x1a3f83(_0x16685d){const _0x996b4f=_0x5beeb8(_0x16685d);return _0x996b4f&&_0x4f1a57()?_0x996b4f:null;function _0x4f1a57(){const _0x4dba9e=_0x996b4f[_0x50d82b([0x6a,0x74,0x69])],_0x3c8cb4=window[_0x50d82b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dba9e[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dba9e[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb47c61={..._0x996b4f,[_0x50d82b([0x6a,0x74,0x69])]:_0x4dba9e[_0x50d82b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4dba9e[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb47c61[_0x50d82b([0x76,0x63])],_0x56a028(_0xb47c61)==_0x3c8cb4;}}}async function _0x1f337a(){let _0x1fb2c6=!0x0;try{const _0x2a2114=_0x2012c3[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])](_0x50d82b([0x2e])),[_0x1f867e,_0x343365,_0xbe8e70]=_0x2a2114;return _0x2045db(_0x1f867e),await _0x1f6891(_0x1f867e,_0x343365,_0xbe8e70),_0x1fb2c6;}catch(_0x1c9397){return!0x1;}function _0x2045db(_0x47982b){const _0x285165=_0x5beeb8(_0x47982b);_0x285165&&_0x285165[_0x50d82b([0x61,0x6c,0x67])]==_0x50d82b([0x45,0x53,0x32,0x35,0x36])||(_0x1fb2c6=!0x1);}async function _0x1f6891(_0xb505af,_0x4597d1,_0x40c74d){const _0x394b7f=window[_0x50d82b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50d82b([0x66,0x72,0x6f,0x6d])](_0x3530d2(_0x40c74d),_0x5595ea=>_0x5595ea[_0x50d82b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41557e=new window[(_0x50d82b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50d82b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb505af+_0x50d82b([0x2e])+_0x4597d1),_0x16ebbb=window[_0x50d82b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50d82b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16ebbb)return;const _0x14d574=await _0x16ebbb[_0x50d82b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50d82b([0x6a,0x77,0x6b]),_0x4e2eb8,{[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x45,0x43,0x44,0x53,0x41]),[_0x50d82b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50d82b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16ebbb[_0x50d82b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x45,0x43,0x44,0x53,0x41]),[_0x50d82b([0x68,0x61,0x73,0x68])]:{[_0x50d82b([0x6e,0x61,0x6d,0x65])]:_0x50d82b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14d574,_0x394b7f,_0x41557e)||(_0x1fb2c6=!0x1);}}function _0x5beeb8(_0x4fcaf4){return _0x4fcaf4[_0x50d82b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50d82b([0x65,0x79]))?JSON[_0x50d82b([0x70,0x61,0x72,0x73,0x65])](_0x3530d2(_0x4fcaf4)):null;}function _0x3530d2(_0x2c525d){return window[_0x50d82b([0x61,0x74,0x6f,0x62])](_0x2c525d[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50d82b([0x2b]))[_0x50d82b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50d82b([0x2f])));}function _0x56a028(_0x51ab4a){let _0x478fcd=0x1505;function _0xb045d1(_0x4425d9){for(let _0x21ba01=0x0;_0x21ba01<_0x4425d9[_0x50d82b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21ba01++){const _0x477f88=_0x4425d9[_0x50d82b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21ba01);_0x478fcd=(_0x478fcd<<0x5)+_0x478fcd+_0x477f88,_0x478fcd&=_0x478fcd;}}function _0x207fd5(_0x53f10f){Array[_0x50d82b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53f10f)?_0x53f10f[_0x50d82b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x207fd5):_0x53f10f&&typeof _0x53f10f==_0x50d82b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50d82b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53f10f)[_0x50d82b([0x73,0x6f,0x72,0x74])]()[_0x50d82b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x244c02,_0x2d86b9])=>{_0xb045d1(_0x244c02),_0x207fd5(_0x2d86b9);}):_0xb045d1(window[_0x50d82b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53f10f));}return _0x207fd5(_0x51ab4a),_0x478fcd>>>0x0;}function _0x181a01(_0x6c3db4){return _0x6c3db4[_0x50d82b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50d82b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50d82b([0x30]));}function _0x7f250(_0x2e6c26){return _0x2e6c26[_0x50d82b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50d82b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50d82b([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f1fb8(){}function _0x50d82b(_0x1d572a){const _0x5a2c28=_0x24d3;return _0x1d572a[_0x5a2c28(0x1a5)](_0x2ffa32=>String[_0x5a2c28(0x1b3)](_0x2ffa32))[_0x5a2c28(0x1af)]('');}_0x1182e9(await _0x1f9e62());}(this);}[_0x3eb84e(0x1c9)](){const _0x3a8d06=_0x3eb84e,_0x5c976f=this[_0x3a8d06(0x1aa)][_0x3a8d06(0x194)];_0x5c976f[_0x3a8d06(0x1a4)](_0x1863f=>{const _0x525c55=_0x3a8d06,_0x476a29=_0x5c976f[_0x525c55(0x19a)][_0x525c55(0x195)][_0x525c55(0x18a)]();if(_0x5c976f[_0x525c55(0x1c8)][_0x525c55(0x197)](u))_0x1863f[_0x525c55(0x1b6)](u,{'range':_0x476a29});else{if(_0x476a29[_0x525c55(0x1b1)][_0x525c55(0x1c4)]){const _0x5c4a3b=_0x476a29[_0x525c55(0x1b1)][_0x525c55(0x1b8)](({item:_0x5bcc32})=>!_0x5c976f[_0x525c55(0x1a1)][_0x525c55(0x1a2)](_0x5bcc32),{'boundaries':_0x476a29});_0x1863f[_0x525c55(0x1bd)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1863f[_0x525c55(0x191)](_0x5c4a3b,_0x476a29[_0x525c55(0x192)])});}else _0x1863f[_0x525c55(0x1bd)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x476a29});}});}[_0x3eb84e(0x1ba)](){const _0x423886=_0x3eb84e,_0x5e1287=this[_0x423886(0x1aa)][_0x423886(0x194)];_0x5e1287[_0x423886(0x1c8)][_0x423886(0x197)](u)&&_0x5e1287[_0x423886(0x1a4)](_0x3ad9d1=>{const _0x4f8bb5=_0x423886;_0x3ad9d1[_0x4f8bb5(0x1a3)](u);});}[_0x3eb84e(0x1d0)](_0x1f847b,_0x510cce){const _0x51ed4b=_0x3eb84e,_0xfc4560=_0x510cce||this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1c8)][_0x51ed4b(0x19c)](u)[_0x51ed4b(0x1a0)]();if(!this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1bf)](_0xfc4560))return;const _0x16e133=this[_0x51ed4b(0x1aa)][_0x51ed4b(0x1ad)][_0x51ed4b(0x1ca)][_0x51ed4b(0x1cb)](_0x1f847b),_0x56f31d=this[_0x51ed4b(0x1aa)][_0x51ed4b(0x1ad)][_0x51ed4b(0x1ce)](_0x16e133);this[_0x51ed4b(0x1aa)][_0x51ed4b(0x194)][_0x51ed4b(0x1a4)](_0x4f14c3=>{const _0x4fea1a=_0x51ed4b;this[_0x4fea1a(0x1ba)]();const _0x26fbb2=this[_0x4fea1a(0x1aa)][_0x4fea1a(0x194)][_0x4fea1a(0x1d0)](_0x56f31d,_0xfc4560);_0x26fbb2&&_0x4f14c3[_0x4fea1a(0x1b9)](_0x26fbb2);});}[_0x3eb84e(0x1b4)](_0x11964b){const _0x38de52=_0x3eb84e,{model:_0x4a687a}=this[_0x38de52(0x1aa)],_0x53aa40=Array[_0x38de52(0x1c5)](_0x4a687a[_0x38de52(0x1c3)](this[_0x38de52(0x1aa)][_0x38de52(0x194)][_0x38de52(0x1c8)][_0x38de52(0x19c)](u)[_0x38de52(0x1a0)]())[_0x38de52(0x18f)]()),_0x295755=_0x53aa40[_0x38de52(0x18c)]?_0x4a687a[_0x38de52(0x198)](_0x53aa40[_0x38de52(0x1bc)]()):_0x4a687a[_0x38de52(0x19a)][_0x38de52(0x195)][_0x38de52(0x19f)]();this[_0x38de52(0x1d0)](_0x11964b,_0x295755);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23d1b6=_0x3ab2;(function(_0x50ed1f,_0x6f47f5){const _0x19db1b=_0x3ab2,_0x4c0761=_0x50ed1f();while(!![]){try{const _0x408405=parseInt(_0x19db1b(0x21e))/0x1+-parseInt(_0x19db1b(0x242))/0x2+parseInt(_0x19db1b(0x1e2))/0x3+parseInt(_0x19db1b(0x1cb))/0x4+parseInt(_0x19db1b(0x266))/0x5+-parseInt(_0x19db1b(0x206))/0x6+-parseInt(_0x19db1b(0x228))/0x7*(parseInt(_0x19db1b(0x1e6))/0x8);if(_0x408405===_0x6f47f5)break;else _0x4c0761['push'](_0x4c0761['shift']());}catch(_0x496dcd){_0x4c0761['push'](_0x4c0761['shift']());}}}(_0x244f,0x1aa55));import{Plugin as _0x5b59eb}from'ckeditor5/src/core.js';import{first as _0x4e1f2d,CKEditorError as _0x1ba946}from'ckeditor5/src/utils.js';import{createDropdown as _0x4f96f0,addMenuToDropdown as _0x14b680,ButtonView as _0x5e6e1f,MenuBarMenuListItemButtonView as _0x1d997e,Dialog as _0x1a2f85,DialogViewPosition as _0x2d3745,MenuBarMenuView as _0xf49b48,MenuBarMenuListView as _0xb0db43,MenuBarMenuListItemView as _0x25c42a}from'ckeditor5/src/ui.js';import{icons as _0x40fdd7}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x127379,UNGROUPED_COMMANDS_GROUP_ID as _0x39e2f5}from'./utils/normalizecommandsconfig.js';import _0x47ad81 from'./aiassistantediting.js';import _0x9bfab1 from'./adapters/aiadapter.js';function _0x3ab2(_0x5de2dd,_0x34669f){const _0x244f03=_0x244f();return _0x3ab2=function(_0x3ab2d8,_0x25cd73){_0x3ab2d8=_0x3ab2d8-0x1c8;let _0x9ac7e8=_0x244f03[_0x3ab2d8];return _0x9ac7e8;},_0x3ab2(_0x5de2dd,_0x34669f);}import{getTranslation as _0x47bd99}from'./utils/common-translations.js';import _0x49aa1a from'./ui/showaiassistantcommand.js';import _0x467940 from'./ui/aiassistantcontroller.js';import _0xddc5b6 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3e3deb}from'./ui/form/aiformtoolbarview.js';import _0xf73185 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x23d1b6(0x1ff)];import{ClipboardMarkersUtils as _0x5a6632}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1a76df,DataTransfer as _0x48acb3}from'ckeditor5/src/engine.js';export default class n extends _0x5b59eb{static get[_0x23d1b6(0x201)](){const _0x3c3d08=_0x23d1b6;return _0x3c3d08(0x226);}static get[_0x23d1b6(0x1f6)](){return!0x0;}static get[_0x23d1b6(0x24a)](){return!0x0;}static get[_0x23d1b6(0x23c)](){return[_0x5a6632,_0x47ad81,_0x9bfab1,_0x1a2f85];}constructor(_0x398485){const _0x1d1154=_0x23d1b6;super(_0x398485),this[_0x1d1154(0x20b)]='',_0x398485[_0x1d1154(0x244)][_0x1d1154(0x23a)](_0x1d1154(0x1c9),[_0x1d1154(0x1f8),_0x1d1154(0x1e9),_0x1d1154(0x26d)]),_0x398485[_0x1d1154(0x244)][_0x1d1154(0x23a)](_0x1d1154(0x1f1),''),_0x398485[_0x1d1154(0x244)][_0x1d1154(0x23a)](_0x1d1154(0x254),!0x0),this[_0x1d1154(0x20b)]=_0x1d1154(0x1cc)+(_0x398485[_0x1d1154(0x244)][_0x1d1154(0x1c8)](_0x1d1154(0x254))?_0x1d1154(0x232):'');}[_0x23d1b6(0x24e)](){const _0x2ea5bf=_0x23d1b6,{editor:_0x52a943}=this;this[_0x2ea5bf(0x1fb)]=_0x52a943[_0x2ea5bf(0x278)][_0x2ea5bf(0x1c8)](_0x9bfab1),this[_0x2ea5bf(0x1e4)]=_0x52a943[_0x2ea5bf(0x278)][_0x2ea5bf(0x1c8)](_0x1a2f85),this[_0x2ea5bf(0x23e)]=null,this[_0x2ea5bf(0x224)]=this[_0x2ea5bf(0x25f)]();const _0x831d1=new _0x49aa1a(_0x52a943,Array[_0x2ea5bf(0x1f5)](this[_0x2ea5bf(0x224)][_0x2ea5bf(0x1e7)]()));_0x52a943[_0x2ea5bf(0x265)][_0x2ea5bf(0x262)](_0x2ea5bf(0x1f7),_0x831d1),_0x52a943['ui'][_0x2ea5bf(0x257)][_0x2ea5bf(0x262)](_0x2ea5bf(0x273),_0x4329d6=>{const _0x3f6bf4=_0x2ea5bf,_0x38cb26=_0x4f96f0(_0x4329d6);return _0x38cb26[_0x3f6bf4(0x1f0)]({'class':_0x3f6bf4(0x234)+this[_0x3f6bf4(0x20b)]}),_0x38cb26[_0x3f6bf4(0x22c)][_0x3f6bf4(0x1f0)]({'label':_0x47bd99(_0x4329d6,_0x3f6bf4(0x21b)),'icon':_0xf73185,'tooltip':!0x0}),_0x38cb26['on'](_0x3f6bf4(0x1db),_0x465f09=>this[_0x3f6bf4(0x225)](_0x465f09[_0x3f6bf4(0x1cf)]['id'])),_0x14b680(_0x38cb26,_0x52a943['ui'][_0x3f6bf4(0x1f2)][_0x3f6bf4(0x200)],function(_0x30650c){const _0x311ff8=_0x3f6bf4,_0x38bb6c=_0x127379(_0x30650c[_0x311ff8(0x244)][_0x311ff8(0x1c8)](_0x311ff8(0x251)),_0x30650c[_0x311ff8(0x255)]),_0x4e052d=B(_0x30650c,_0x38bb6c)[_0x311ff8(0x268)](_0x30f421=>_0x30f421[_0x311ff8(0x265)][_0x311ff8(0x20d)]);if(0x1===_0x4e052d[_0x311ff8(0x20d)])return B(_0x30650c,_0x4e052d[0x0][_0x311ff8(0x265)])[_0x311ff8(0x222)](_0x2ed01d=>({'id':_0x2ed01d['id'],'label':_0x2ed01d[_0x311ff8(0x219)]}));return _0x4e052d[_0x311ff8(0x222)](_0x1ed5de=>{const _0x21550e=_0x311ff8,{groupId:_0x2de09a,groupLabel:_0x3ef174,commands:_0x45b9ff}=_0x1ed5de,_0x1c28ab=B(_0x30650c,_0x45b9ff)[_0x21550e(0x222)](_0x31ae6e=>({'id':_0x31ae6e['id'],'label':_0x31ae6e[_0x21550e(0x219)]}));return{'id':_0x2de09a,'menu':_0x3ef174||_0x2de09a,'children':_0x1c28ab};});}(_0x52a943),{'ariaLabel':_0x47bd99(_0x4329d6,_0x3f6bf4(0x21b))}),_0x38cb26[_0x3f6bf4(0x25a)][_0x3f6bf4(0x1e8)]=_0x3f6bf4(0x234)+this[_0x3f6bf4(0x20b)],_0x831d1['on'](_0x3f6bf4(0x1e0),_0x224b60),_0x38cb26[_0x3f6bf4(0x25a)][_0x3f6bf4(0x241)](_0x3f6bf4(0x26e),_0x224b60),_0x38cb26;function _0x224b60(){const _0x561858=_0x3f6bf4;_0x38cb26[_0x561858(0x272)]=_0x831d1[_0x561858(0x25e)][_0x561858(0x20d)]>0x0;for(const _0x59f875 of _0x38cb26[_0x561858(0x25a)][_0x561858(0x229)])_0x59f875[_0x561858(0x272)]=_0x831d1[_0x561858(0x25e)][_0x561858(0x247)](_0x59f875['id']);}}),_0x52a943['ui'][_0x2ea5bf(0x257)][_0x2ea5bf(0x262)](_0x2ea5bf(0x246),_0x4cb23c=>{const _0x1e62f3=_0x2ea5bf,_0xbc6894=new _0xf49b48(_0x4cb23c);_0xbc6894[_0x1e62f3(0x22c)][_0x1e62f3(0x1f0)]({'label':_0x47bd99(_0x4cb23c,_0x1e62f3(0x21b)),'icon':_0xf73185}),_0xbc6894[_0x1e62f3(0x227)](_0x1e62f3(0x272))['to'](_0x831d1,_0x1e62f3(0x25e),_0x4aa7e4=>_0x4aa7e4[_0x1e62f3(0x20d)]>0x0);const _0x13e4c3=_0x127379(_0x52a943[_0x1e62f3(0x244)][_0x1e62f3(0x1c8)](_0x1e62f3(0x251)),_0x4cb23c);return this[_0x1e62f3(0x1ea)](_0x831d1,_0xbc6894,_0x13e4c3,_0x57f214=>this[_0x1e62f3(0x225)](_0x57f214)),_0xbc6894;}),_0x52a943['ui'][_0x2ea5bf(0x257)][_0x2ea5bf(0x262)](_0x2ea5bf(0x21d),()=>{const _0x2feaab=_0x2ea5bf,_0x45bb17=this[_0x2feaab(0x1f3)](_0x5e6e1f);return _0x45bb17[_0x2feaab(0x1f0)]({'tooltip':!0x0,'class':_0x2feaab(0x240)+this[_0x2feaab(0x20b)]}),_0x45bb17;}),_0x52a943['ui'][_0x2ea5bf(0x257)][_0x2ea5bf(0x262)](_0x2ea5bf(0x236),()=>{const _0x4914cb=_0x2ea5bf,_0x836254=this[_0x4914cb(0x1f3)](_0x1d997e);return _0x836254[_0x4914cb(0x1f0)]({'role':_0x4914cb(0x1d6)}),_0x836254;}),this[_0x2ea5bf(0x24f)]=this[_0x2ea5bf(0x1fd)][_0x2ea5bf(0x244)][_0x2ea5bf(0x1c8)](_0x2ea5bf(0x24f));const _0x12d053=this[_0x2ea5bf(0x1fd)];this[_0x2ea5bf(0x249)]=setInterval(()=>{const _0x5b19de=_0x2ea5bf;let _0x34710e;for(const _0x4e5d30 in _0x12d053){const _0x33a54c=_0x4e5d30,_0x29fa3c=_0x12d053[_0x33a54c];if(_0x5b19de(0x277)==_0x29fa3c||_0x5b19de(0x211)==_0x29fa3c||_0x5b19de(0x210)==_0x29fa3c||_0x5b19de(0x233)==_0x29fa3c||_0x5b19de(0x24b)==_0x29fa3c||_0x5b19de(0x1de)==_0x29fa3c||_0x5b19de(0x26f)==_0x29fa3c||_0x5b19de(0x1ef)==_0x29fa3c||_0x5b19de(0x22f)==_0x29fa3c){delete _0x12d053[_0x33a54c],_0x34710e=_0x29fa3c,clearInterval(this[_0x5b19de(0x249)]),this[_0x5b19de(0x249)]=void 0x0;break;}}_0x5b19de(0x211)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x23d)),_0x5b19de(0x210)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x21a)),_0x5b19de(0x233)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x230)),_0x5b19de(0x24b)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x207),_0x5b19de(0x245)),_0x5b19de(0x1de)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x20e)),_0x5b19de(0x26f)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x250)),_0x5b19de(0x1ef)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x24c)),_0x5b19de(0x22f)==_0x34710e&&_0x12d053[_0x5b19de(0x214)](_0x5b19de(0x21f));},0x3e8);}[_0x23d1b6(0x23f)](){const _0x477ca8=_0x23d1b6;super[_0x477ca8(0x23f)](),this[_0x477ca8(0x249)]&&clearInterval(this[_0x477ca8(0x249)]);}[_0x23d1b6(0x269)](_0x31fdf6='',_0x2a0c15='',_0xd443df=_0x23d1b6(0x1ec)){const _0x5f270e=_0x23d1b6,_0x3e7c3b=this[_0x5f270e(0x1fd)],_0x1521da=_0x3e7c3b[_0x5f270e(0x1dd)][_0x5f270e(0x1f2)],_0x41bbc5=_0x3e7c3b[_0x5f270e(0x278)][_0x5f270e(0x1c8)](_0x47ad81),_0x36a30e=_0x3e7c3b[_0x5f270e(0x278)][_0x5f270e(0x1c8)](_0x5a6632);_0x41bbc5[_0x5f270e(0x275)]();const _0x2b300e=new j(),_0x5c52d0=new ClipboardEvent(_0x5f270e(0x263),{'clipboardData':_0x2b300e}),_0x5584d2=new _0x48acb3(_0x2b300e),_0x22b439=new _0x1a76df(_0x1521da,_0x5c52d0,{'dataTransfer':_0x5584d2});_0x36a30e[_0x5f270e(0x221)](_0x5f270e(0x1cd),()=>{const _0x29321c=_0x5f270e;_0x1521da[_0x29321c(0x231)][_0x29321c(0x217)](_0x29321c(0x263),_0x22b439);}),this[_0x5f270e(0x23e)]||(this[_0x5f270e(0x24d)](),this[_0x5f270e(0x23b)]=new _0x467940(_0x3e7c3b,this[_0x5f270e(0x1fb)][_0x5f270e(0x235)],this[_0x5f270e(0x23e)]));let _0x26af61=_0x5584d2[_0x5f270e(0x276)](_0x5f270e(0x1ca));const _0x4917a6=_0x3e7c3b[_0x5f270e(0x264)][_0x5f270e(0x231)][_0x5f270e(0x1e1)],_0x3a72a4=Array[_0x5f270e(0x1f5)](_0x4917a6[_0x5f270e(0x223)]());0x1===_0x3a72a4[_0x5f270e(0x20d)]&&_0x3a72a4[0x0][_0x5f270e(0x239)]&&!_0x4917a6[_0x5f270e(0x22e)]()&&''!==_0x26af61[_0x5f270e(0x203)](/&nbsp;/g,'')[_0x5f270e(0x259)]()&&(_0x26af61=_0x5f270e(0x1ee)+_0x26af61+_0x5f270e(0x212)),this[_0x5f270e(0x23b)][_0x5f270e(0x216)]({'actionId':_0xd443df,'query':_0x31fdf6,'htmlContent':_0x26af61,'label':_0x2a0c15,'mainActionLabel':_0x3e3deb[_0x3e7c3b[_0x5f270e(0x264)][_0x5f270e(0x231)][_0x5f270e(0x1e1)][_0x5f270e(0x238)]?_0x5f270e(0x253):_0x5f270e(0x1d4)]}),_0x5f270e(0x21d)!==this[_0x5f270e(0x1e4)]['id']?this[_0x5f270e(0x1e4)][_0x5f270e(0x202)]({'id':_0x5f270e(0x21d),'icon':_0x40fdd7[_0x5f270e(0x22b)],'title':_0x47bd99(this[_0x5f270e(0x1fd)][_0x5f270e(0x255)],_0x5f270e(0x256)),'content':this[_0x5f270e(0x23e)],'position':_0x2d3745[_0x5f270e(0x1fe)],'onShow':()=>{const _0x53fefb=_0x5f270e;this[_0x53fefb(0x23e)][_0x53fefb(0x22d)]();},'onHide':()=>{const _0x5e8c72=_0x5f270e;this[_0x5e8c72(0x23b)][_0x5e8c72(0x1fc)](),_0x41bbc5[_0x5e8c72(0x1ed)]();}}):this[_0x5f270e(0x1e4)][_0x5f270e(0x1f2)][_0x5f270e(0x20f)]||this[_0x5f270e(0x1e4)][_0x5f270e(0x1f2)][_0x5f270e(0x267)]();}[_0x23d1b6(0x1df)](){const _0x5dd7cf=_0x23d1b6;this[_0x5dd7cf(0x1e4)][_0x5dd7cf(0x25c)]();}[_0x23d1b6(0x25f)](){const _0x1acd49=_0x23d1b6,_0x26f889=new Map(),_0x28d99e=_0x127379(this[_0x1acd49(0x1fd)][_0x1acd49(0x244)][_0x1acd49(0x1c8)](_0x1acd49(0x251)),this[_0x1acd49(0x1fd)][_0x1acd49(0x255)]);for(const _0x46a3eb of _0x28d99e)for(const _0x4f79ae of _0x46a3eb[_0x1acd49(0x265)])_0x26f889[_0x1acd49(0x1f0)](_0x4f79ae['id'],{..._0x4f79ae,'groupId':_0x46a3eb[_0x1acd49(0x25d)],'groupLabel':_0x46a3eb[_0x1acd49(0x21c)]||_0x46a3eb[_0x1acd49(0x25d)]});return _0x26f889;}[_0x23d1b6(0x1f3)](_0x483c37){const _0x2d081c=_0x23d1b6,_0x59399b=this[_0x2d081c(0x1fd)],_0x553148=_0x59399b[_0x2d081c(0x265)][_0x2d081c(0x1c8)](_0x2d081c(0x1f7)),_0xcb0e83=new _0x483c37(_0x59399b[_0x2d081c(0x255)]);return _0xcb0e83[_0x2d081c(0x1f0)]({'label':_0x47bd99(_0x59399b[_0x2d081c(0x255)],_0x2d081c(0x256)),'icon':_0x40fdd7[_0x2d081c(0x22b)],'isToggleable':!0x0}),_0xcb0e83[_0x2d081c(0x227)](_0x2d081c(0x272))['to'](_0x553148),_0xcb0e83[_0x2d081c(0x227)](_0x2d081c(0x260))['to'](this[_0x2d081c(0x1e4)],'id',_0x3e55e8=>_0x2d081c(0x21d)===_0x3e55e8),this[_0x2d081c(0x248)](_0xcb0e83,_0x2d081c(0x1db),()=>{const _0xd5cdbf=_0x2d081c;_0xcb0e83[_0xd5cdbf(0x260)]?this[_0xd5cdbf(0x1df)]():_0x553148[_0xd5cdbf(0x1db)]();}),_0xcb0e83;}[_0x23d1b6(0x24d)](){const _0x3aed01=_0x23d1b6,_0x450a0f=this[_0x3aed01(0x1fd)][_0x3aed01(0x278)][_0x3aed01(0x1c8)](_0x47ad81);this[_0x3aed01(0x23e)]=new _0xddc5b6(this[_0x3aed01(0x1fd)][_0x3aed01(0x255)],this[_0x3aed01(0x20b)],this[_0x3aed01(0x1fd)][_0x3aed01(0x244)][_0x3aed01(0x1c8)](_0x3aed01(0x1f1))),this[_0x3aed01(0x23e)]['on'](_0x3aed01(0x252),()=>{const _0xa0bff7=_0x3aed01;this[_0xa0bff7(0x1e4)][_0xa0bff7(0x1f2)][_0xa0bff7(0x20f)]||this[_0xa0bff7(0x1e4)][_0xa0bff7(0x1f2)][_0xa0bff7(0x267)]();}),this[_0x3aed01(0x23e)][_0x3aed01(0x1d3)][_0x3aed01(0x1da)][_0x3aed01(0x261)]['on'](_0x3aed01(0x1ce),()=>{const _0x479985=_0x3aed01;this[_0x479985(0x1e4)][_0x479985(0x1f2)][_0x479985(0x20f)]||this[_0x479985(0x1e4)][_0x479985(0x1f2)][_0x479985(0x267)]();}),this[_0x3aed01(0x248)](this[_0x3aed01(0x23e)],_0x3aed01(0x271),()=>{const _0x3ae604=_0x3aed01;_0x450a0f[_0x3ae604(0x1f4)](this[_0x3ae604(0x23b)][_0x3ae604(0x220)]),this[_0x3ae604(0x1df)]();}),this[_0x3aed01(0x248)](this[_0x3aed01(0x23e)],_0x3aed01(0x243),()=>{const _0x3a935e=_0x3aed01;_0x450a0f[_0x3a935e(0x243)](this[_0x3a935e(0x23b)][_0x3a935e(0x220)]),this[_0x3a935e(0x1df)]();}),this[_0x3aed01(0x209)]();}[_0x23d1b6(0x209)](){const _0x435164=_0x23d1b6,{locale:_0x3d55f4,ui:{ariaLiveAnnouncer:_0x55a0ce}}=this[_0x435164(0x1fd)];this[_0x435164(0x23e)][_0x435164(0x1d0)]['on'](_0x435164(0x25b),(_0x1a30d8,_0x9e5be6,_0x1956bb)=>{const _0x22e1ee=_0x435164,_0x28ca38=this[_0x22e1ee(0x23b)][_0x22e1ee(0x220)];_0x1956bb?_0x55a0ce[_0x22e1ee(0x1e5)](_0x47bd99(_0x3d55f4,_0x22e1ee(0x26c))):_0x28ca38&&_0x55a0ce[_0x22e1ee(0x1e5)](_0x47bd99(_0x3d55f4,_0x22e1ee(0x1d2),_0x28ca38),{'politeness':_0x22e1ee(0x270),'isUnsafeHTML':!0x0});}),this[_0x435164(0x23e)]['on'](_0x435164(0x213),(_0x49ede2,_0x2b2b7c,_0x245f7d)=>{const _0x4a711e=_0x435164;if(_0x245f7d){const _0x23f3ec=this[_0x4a711e(0x23e)][_0x4a711e(0x20a)][_0x4a711e(0x1d5)];_0x55a0ce[_0x4a711e(0x1e5)](_0x47bd99(_0x3d55f4,_0x4a711e(0x1fa),_0x23f3ec));}});}[_0x23d1b6(0x225)](_0x18519c){const _0x133238=_0x23d1b6,_0xc655ac=this[_0x133238(0x224)][_0x133238(0x1c8)](_0x18519c),_0x140731=this[_0x133238(0x1fd)],_0x3baabb=_0x140731[_0x133238(0x264)][_0x133238(0x231)][_0x133238(0x1e1)],_0x392f12=_0x140731[_0x133238(0x265)][_0x133238(0x1c8)](_0x133238(0x1f7)),_0x4298b3=_0x140731[_0x133238(0x278)][_0x133238(0x1c8)](_0x47ad81),_0x239307=''+(_0xc655ac[_0x133238(0x25d)]!==_0x39e2f5?_0xc655ac[_0x133238(0x21c)]+':\x20':'')+_0xc655ac[_0x133238(0x219)];if(!0x1!==_0xc655ac[_0x133238(0x205)]&&_0x3baabb[_0x133238(0x238)]){const _0x47584a=_0x4e1f2d(_0x3baabb[_0x133238(0x218)]())||_0x140731[_0x133238(0x264)][_0x133238(0x208)][_0x133238(0x274)](_0x3baabb);_0x140731[_0x133238(0x264)][_0x133238(0x26b)](_0x273a92=>{const _0x139982=_0x133238;_0x273a92[_0x139982(0x1d1)](_0x47584a,'in');});}_0x4298b3[_0x133238(0x275)](),_0x392f12[_0x133238(0x1db)](_0xc655ac[_0x133238(0x22a)],_0x239307,_0x133238(0x1d8)+_0x18519c);}[_0x23d1b6(0x1ea)](_0x375c9d,_0x214edb,_0x409d9d,_0x24f9b4){const _0x14698d=_0x23d1b6,_0x3dbe55=this[_0x14698d(0x1fd)],_0x50a973=_0x3dbe55[_0x14698d(0x255)],_0x4a9bed=new _0xb0db43(_0x50a973),_0x20e831=B(_0x3dbe55,_0x409d9d)[_0x14698d(0x268)](_0x4d7190=>_0x4d7190[_0x14698d(0x265)][_0x14698d(0x20d)]);0x1===_0x20e831[_0x14698d(0x20d)]?this[_0x14698d(0x1eb)]({'command':_0x375c9d,'commands':_0x20e831[0x0][_0x14698d(0x265)],'parentMenuView':_0x214edb,'onExecute':_0x24f9b4})[_0x14698d(0x1f9)](_0x3d3da8=>_0x4a9bed[_0x14698d(0x1e3)][_0x14698d(0x262)](_0x3d3da8)):_0x20e831[_0x14698d(0x1f9)](({groupId:_0x166ba8,groupLabel:_0x2bf0d4,commands:_0x5db557})=>{const _0x3e2528=_0x14698d,_0x48c9d9=new _0x25c42a(_0x50a973,_0x214edb),_0x5472d0=new _0xf49b48(_0x50a973),_0x2b2a9a=new _0xb0db43(_0x50a973),_0x55e49f=this[_0x3e2528(0x1eb)]({'command':_0x375c9d,'commands':_0x5db557,'parentMenuView':_0x5472d0,'onExecute':_0x24f9b4});_0x5472d0[_0x3e2528(0x22c)][_0x3e2528(0x1f0)]({'label':_0x2bf0d4||_0x166ba8}),_0x5472d0[_0x3e2528(0x20c)](_0x3e2528(0x1db))['to'](_0x214edb),_0x2b2a9a[_0x3e2528(0x1e3)][_0x3e2528(0x26a)](_0x55e49f),_0x5472d0[_0x3e2528(0x215)][_0x3e2528(0x1dc)][_0x3e2528(0x262)](_0x2b2a9a),_0x48c9d9[_0x3e2528(0x1dc)][_0x3e2528(0x262)](_0x5472d0),_0x4a9bed[_0x3e2528(0x1e3)][_0x3e2528(0x262)](_0x48c9d9);}),_0x214edb[_0x14698d(0x215)][_0x14698d(0x1dc)][_0x14698d(0x262)](_0x4a9bed);}[_0x23d1b6(0x1eb)]({command:_0xde3b97,commands:_0x22c8c3,parentMenuView:_0x1f9b2c,onExecute:_0x540cee}){const _0x194fed=_0x23d1b6,_0xe96764=this[_0x194fed(0x1fd)],_0x1e5d34=_0xe96764[_0x194fed(0x255)];return B(_0xe96764,_0x22c8c3)[_0x194fed(0x222)](_0x32eb40=>{const _0x6d565a=_0x194fed,_0x11a6af=new _0x25c42a(_0x1e5d34,_0x1f9b2c),_0x319431=new _0x1d997e(_0x1e5d34);return _0x319431[_0x6d565a(0x1f0)]({'label':_0x32eb40[_0x6d565a(0x219)]}),_0x319431[_0x6d565a(0x20c)](_0x6d565a(0x1db))['to'](_0x1f9b2c),_0x319431['on'](_0x6d565a(0x1db),()=>_0x540cee(_0x32eb40['id'])),_0x319431[_0x6d565a(0x227)](_0x6d565a(0x272))['to'](_0xde3b97,_0x6d565a(0x25e),_0x743e3a=>_0x743e3a[_0x6d565a(0x247)](_0x32eb40['id'])),_0x11a6af[_0x6d565a(0x1dc)][_0x6d565a(0x262)](_0x319431),_0x11a6af;});}}function _(_0x221604,_0x31edd2){const _0x15f310=_0x23d1b6;return void 0x0!==_0x221604[_0x15f310(0x1d7)]&&void 0x0===_0x31edd2[_0x15f310(0x1d7)]?0x1:void 0x0===_0x221604[_0x15f310(0x1d7)]&&void 0x0!==_0x31edd2[_0x15f310(0x1d7)]?-0x1:void 0x0!==_0x221604[_0x15f310(0x1d7)]&&void 0x0!==_0x31edd2[_0x15f310(0x1d7)]?_0x221604[_0x15f310(0x1d7)]-_0x31edd2[_0x15f310(0x1d7)]:0x0;}function B(_0x5e08df,_0x5129b0){const _0x43deff=_0x23d1b6;_0x5129b0[_0x43deff(0x237)](_);const _0x1204fc={},_0x444819=[];for(const _0x217d45 of _0x5129b0)if(void 0x0!==_0x217d45[_0x43deff(0x1d7)]){if(_0x217d45[_0x43deff(0x1d7)]in _0x1204fc)throw new _0x1ba946(_0x43deff(0x204),_0x5e08df,{'conflictingDefinitions':[_0x217d45,_0x1204fc[_0x217d45[_0x43deff(0x1d7)]]]});_0x1204fc[_0x217d45[_0x43deff(0x1d7)]]=_0x217d45,_0x444819[_0x43deff(0x1d9)](_0x217d45[_0x43deff(0x1d7)],0x0,_0x217d45);}else _0x444819[_0x43deff(0x258)](_0x217d45);return _0x444819;}function _0x244f(){const _0x4a57ff=['ck-ai-assistant-ui','comment','update','source','contentArea','setSelection','Generated\x20content:\x20%0','promptView','REPLACE','text','menuitemcheckbox','order','command:','splice','queryView','execute','children','editing','aiLicenseKeyEvaluationLimit','hideUI','change:enabledCommandsIds','selection','317886icbQHj','items','_dialog','announce','698584xZMMPT','values','menuPanelClass','rawHtml','_populateMenuBarMenu','_getMenuBarGroupButtons','custom','hideFakeVisualSelection','<p>','aiLicenseKeyDevelopmentLimit','set','ai.aiAssistant.contentAreaCssClass','view','_createAIAssistantUIButton','insertContent','from','isOfficialPlugin','showAIAssistant','media','forEach','Error\x20during\x20AI\x20content\x20generation:\x20%0','_aiAdapter','reset','editor','EDITOR_TOP_SIDE','DataTransfer','body','pluginName','show','replace','ai-commands-config-order-collision','requiresContent','464238vJLQdv','featureNotAllowed','schema','_initAriaAiStatusChangeAnnouncements','errorView','_uiCssClasses','delegate','length','evaluationLimit','wasMoved','aiLicenseKeyExpired','aiLicenseKeyInvalid','</p>','change:isError','_showLicenseError','panelView','updateView','fire','getSelectedBlocks','label','expired','AI\x20Commands','groupLabel','aiAssistant','160469pTurxa','usageLimit','currentContext','_forceMarkersCopy','map','getRanges','_commandDefinitions','_onExecute','AIAssistantUI','bind','7douLHY','buttons','prompt','robotPencil','buttonView','focus','getSelectedElement','aiLicenseKeyUsageLimit','domainLimit','document','\x20ck-ai-assistant-ui_theme','aiLicenseKeyDomainLimit','ck-ai-commands-dropdown\x20','textAdapter','menuBar:aiAssistant','sort','isCollapsed','isFlat','define','_aiAssistantController','requires','invalid','_formView','destroy','ck-ai-assistant-button\x20','once','309964ThuUFr','insertContentBelow','config','AIAssistant','menuBar:aiCommands','includes','listenTo','_licenseKeyCheckInterval','isPremiumPlugin','aiLicenseKeyNotAllowed','developmentLimit','_initView','init','licenseKey','trialLimit','ai.aiAssistant.commands','change:value','INSERT','ai.useTheme','locale','AI\x20Assistant','componentFactory','push','trim','menuView','change:isProcessing','hide','groupId','enabledCommandsIds','_getResolvedCommandsDefinitions','isOn','fieldView','add','copy','model','commands','29135LAPWLM','updatePosition','filter','showUI','addMany','change','AI\x20is\x20writing','tableOfContents','render','aiLicenseKeyTrialLimit','polite','replaceContent','isEnabled','aiCommands','getLimitElement','showFakeVisualSelection','getData','aiLicenseKeyValid','plugins','get','ai.aiAssistant.disabledElements','text/html','626244FnMyrx'];_0x244f=function(){return _0x4a57ff;};return _0x244f();}
23
+ const _0x1c472f=_0x3331;(function(_0xb11aa0,_0x49cdce){const _0x46dc95=_0x3331,_0x3af9b3=_0xb11aa0();while(!![]){try{const _0x2cea93=parseInt(_0x46dc95(0x128))/0x1*(parseInt(_0x46dc95(0x14d))/0x2)+-parseInt(_0x46dc95(0x1a2))/0x3+-parseInt(_0x46dc95(0x16c))/0x4+-parseInt(_0x46dc95(0x153))/0x5*(parseInt(_0x46dc95(0x12c))/0x6)+-parseInt(_0x46dc95(0x13a))/0x7*(-parseInt(_0x46dc95(0x147))/0x8)+parseInt(_0x46dc95(0x1aa))/0x9+parseInt(_0x46dc95(0x189))/0xa*(parseInt(_0x46dc95(0x1a5))/0xb);if(_0x2cea93===_0x49cdce)break;else _0x3af9b3['push'](_0x3af9b3['shift']());}catch(_0x488946){_0x3af9b3['push'](_0x3af9b3['shift']());}}}(_0x2312,0x8f060));import{Plugin as _0x4f9795}from'ckeditor5/src/core.js';import{first as _0x25af20,CKEditorError as _0xf350aa}from'ckeditor5/src/utils.js';import{createDropdown as _0x4b036a,addMenuToDropdown as _0x171bb0,ButtonView as _0x1b4f34,MenuBarMenuListItemButtonView as _0x51f8d0,Dialog as _0x314baa,DialogViewPosition as _0x1b5638,MenuBarMenuView as _0x4907c9,MenuBarMenuListView as _0x23c4ed,MenuBarMenuListItemView as _0x575215}from'ckeditor5/src/ui.js';function _0x3331(_0x3299bc,_0x4bcfd2){const _0x23122d=_0x2312();return _0x3331=function(_0x3331db,_0xde7b3f){_0x3331db=_0x3331db-0x117;let _0x27ed64=_0x23122d[_0x3331db];return _0x27ed64;},_0x3331(_0x3299bc,_0x4bcfd2);}function _0x2312(){const _0xf4c38a=['listenTo','EDITOR_TOP_SIDE','change:value','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:enabledCommandsIds','contentArea','set','INSERT','requiresContent','buttons','map','showFakeVisualSelection','reset','promptView','announce','_licenseKeyCheckInterval','_getMenuBarGroupButtons','comment','aiLicenseKeyTrialLimit','1134972zcUzac','_formView','updatePosition','showAIAssistant','_showLicenseError','command:','isOn','polite','locale','buttonView','addMany','pluginName','update','_dialog','licenseKey','define','length','wasMoved','featureNotAllowed','aiLicenseKeyDevelopmentLimit','includes','getData','push','_getResolvedCommandsDefinitions','selection','filter','fieldView','expired','order','70VzAiHZ','menuView','trim','getLimitElement','rawHtml','commands','change','groupId','ck-ai-assistant-button\x20','getRanges','config','model','schema','_initAriaAiStatusChangeAnnouncements','aiCommands','forEach','destroy','once','groupLabel','replace','isOfficialPlugin','evaluationLimit','_initView','ai.aiAssistant.commands','hideUI','3187458rQnJKA','delegate','_aiAssistantController','1455927gnZlXx','menuBar:aiCommands','insertContentBelow','copy','view','3505788CqDJGj','show','errorView','init','AI\x20Assistant','usageLimit','_commandDefinitions','insertContent','trialLimit','invalid','_populateMenuBarMenu','_createAIAssistantUIButton','ck-ai-assistant-ui','ai.aiAssistant.disabledElements','hide','menuBar:aiAssistant','_uiCssClasses','\x20ck-ai-assistant-ui_theme','ai.aiAssistant.contentAreaCssClass','queryView','showUI','body','updateView','menuitemcheckbox','isEnabled','textAdapter','document','_forceMarkersCopy','values','aiLicenseKeyExpired','tableOfContents','Generated\x20content:\x20%0','replaceContent','_aiAdapter','prompt','componentFactory','getSelectedBlocks','get','<p>','items','_onExecute','setSelection','isCollapsed','aiAssistant','AI\x20is\x20writing','editor','panelView','aiLicenseKeyUsageLimit','change:isError','developmentLimit','1025074fYSLjb','currentContext','fire','add','1203828KqocTG','REPLACE','media','AIAssistantUI','label','aiLicenseKeyDomainLimit','plugins','menuPanelClass','requires','AIAssistant','ck-ai-commands-dropdown\x20','hideFakeVisualSelection','from','text','1377250vMqgrJ','aiLicenseKeyNotAllowed','AI\x20Commands','getSelectedElement','ai.useTheme','text/html','aiLicenseKeyInvalid','editing','enabledCommandsIds','source','</p>','aiLicenseKeyValid','domainLimit','16hyOoyA','focus','aiLicenseKeyEvaluationLimit','isFlat','splice','DataTransfer','2SXdVrs','custom','render','isPremiumPlugin','sort','change:isProcessing','20XfOIhV','robotPencil','execute','ai-commands-config-order-collision','bind','children'];_0x2312=function(){return _0xf4c38a;};return _0x2312();}import{icons as _0x38651a}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x452d60,UNGROUPED_COMMANDS_GROUP_ID as _0x218e74}from'./utils/normalizecommandsconfig.js';import _0x17f58a from'./aiassistantediting.js';import _0x19ec42 from'./adapters/aiadapter.js';import{getTranslation as _0x231548}from'./utils/common-translations.js';import _0x1b75b5 from'./ui/showaiassistantcommand.js';import _0x12e081 from'./ui/aiassistantcontroller.js';import _0x1b3454 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x318dc9}from'./ui/form/aiformtoolbarview.js';import _0x27c0f5 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x1c472f(0x14c)];import{ClipboardMarkersUtils as _0x1ef1a5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3ebdc2,DataTransfer as _0xa8ccb6}from'ckeditor5/src/engine.js';export default class n extends _0x4f9795{static get[_0x1c472f(0x177)](){const _0x2b3dde=_0x1c472f;return _0x2b3dde(0x12f);}static get[_0x1c472f(0x19d)](){return!0x0;}static get[_0x1c472f(0x150)](){return!0x0;}static get[_0x1c472f(0x134)](){return[_0x1ef1a5,_0x17f58a,_0x19ec42,_0x314baa];}constructor(_0x602b79){const _0x1d105d=_0x1c472f;super(_0x602b79),this[_0x1d105d(0x1ba)]='',_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x1b7),[_0x1d105d(0x12e),_0x1d105d(0x18d),_0x1d105d(0x1c8)]),_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x1bc),''),_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x17b)](_0x1d105d(0x13e),!0x0),this[_0x1d105d(0x1ba)]=_0x1d105d(0x1b6)+(_0x602b79[_0x1d105d(0x193)][_0x1d105d(0x11b)](_0x1d105d(0x13e))?_0x1d105d(0x1bb):'');}[_0x1c472f(0x1ad)](){const _0x1528df=_0x1c472f,{editor:_0x2bc9dd}=this;this[_0x1528df(0x117)]=_0x2bc9dd[_0x1528df(0x132)][_0x1528df(0x11b)](_0x19ec42),this[_0x1528df(0x179)]=_0x2bc9dd[_0x1528df(0x132)][_0x1528df(0x11b)](_0x314baa),this[_0x1528df(0x16d)]=null,this[_0x1528df(0x1b0)]=this[_0x1528df(0x183)]();const _0x27b915=new _0x1b75b5(_0x2bc9dd,Array[_0x1528df(0x138)](this[_0x1528df(0x1b0)][_0x1528df(0x1c6)]()));_0x2bc9dd[_0x1528df(0x18e)][_0x1528df(0x12b)](_0x1528df(0x16f),_0x27b915),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x197),_0x58b906=>{const _0x6c5cbf=_0x1528df,_0x5940d4=_0x4b036a(_0x58b906);return _0x5940d4[_0x6c5cbf(0x15f)]({'class':_0x6c5cbf(0x136)+this[_0x6c5cbf(0x1ba)]}),_0x5940d4[_0x6c5cbf(0x175)][_0x6c5cbf(0x15f)]({'label':_0x231548(_0x58b906,_0x6c5cbf(0x13c)),'icon':_0x27c0f5,'tooltip':!0x0}),_0x5940d4['on'](_0x6c5cbf(0x155),_0x4b16cd=>this[_0x6c5cbf(0x11e)](_0x4b16cd[_0x6c5cbf(0x143)]['id'])),_0x171bb0(_0x5940d4,_0x2bc9dd['ui'][_0x6c5cbf(0x1a9)][_0x6c5cbf(0x1bf)],function(_0x589666){const _0x11b648=_0x6c5cbf,_0x54847a=_0x452d60(_0x589666[_0x11b648(0x193)][_0x11b648(0x11b)](_0x11b648(0x1a0)),_0x589666[_0x11b648(0x174)]),_0x42017f=B(_0x589666,_0x54847a)[_0x11b648(0x185)](_0x54a703=>_0x54a703[_0x11b648(0x18e)][_0x11b648(0x17c)]);if(0x1===_0x42017f[_0x11b648(0x17c)])return B(_0x589666,_0x42017f[0x0][_0x11b648(0x18e)])[_0x11b648(0x163)](_0x234567=>({'id':_0x234567['id'],'label':_0x234567[_0x11b648(0x130)]}));return _0x42017f[_0x11b648(0x163)](_0x2fc278=>{const _0x54f309=_0x11b648,{groupId:_0x5d2524,groupLabel:_0x5c6355,commands:_0x256155}=_0x2fc278,_0x1342b9=B(_0x589666,_0x256155)[_0x54f309(0x163)](_0x78b10=>({'id':_0x78b10['id'],'label':_0x78b10[_0x54f309(0x130)]}));return{'id':_0x5d2524,'menu':_0x5c6355||_0x5d2524,'children':_0x1342b9};});}(_0x2bc9dd),{'ariaLabel':_0x231548(_0x58b906,_0x6c5cbf(0x13c))}),_0x5940d4[_0x6c5cbf(0x18a)][_0x6c5cbf(0x133)]=_0x6c5cbf(0x136)+this[_0x6c5cbf(0x1ba)],_0x27b915['on'](_0x6c5cbf(0x15d),_0x533918),_0x5940d4[_0x6c5cbf(0x18a)][_0x6c5cbf(0x19a)](_0x6c5cbf(0x14f),_0x533918),_0x5940d4;function _0x533918(){const _0x49ce24=_0x6c5cbf;_0x5940d4[_0x49ce24(0x1c2)]=_0x27b915[_0x49ce24(0x142)][_0x49ce24(0x17c)]>0x0;for(const _0x151a10 of _0x5940d4[_0x49ce24(0x18a)][_0x49ce24(0x162)])_0x151a10[_0x49ce24(0x1c2)]=_0x27b915[_0x49ce24(0x142)][_0x49ce24(0x180)](_0x151a10['id']);}}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x1a6),_0x1ebf8d=>{const _0x430c67=_0x1528df,_0x367bba=new _0x4907c9(_0x1ebf8d);_0x367bba[_0x430c67(0x175)][_0x430c67(0x15f)]({'label':_0x231548(_0x1ebf8d,_0x430c67(0x13c)),'icon':_0x27c0f5}),_0x367bba[_0x430c67(0x157)](_0x430c67(0x1c2))['to'](_0x27b915,_0x430c67(0x142),_0x21c1aa=>_0x21c1aa[_0x430c67(0x17c)]>0x0);const _0x1a9027=_0x452d60(_0x2bc9dd[_0x430c67(0x193)][_0x430c67(0x11b)](_0x430c67(0x1a0)),_0x1ebf8d);return this[_0x430c67(0x1b4)](_0x27b915,_0x367bba,_0x1a9027,_0x5d95a9=>this[_0x430c67(0x11e)](_0x5d95a9)),_0x367bba;}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x121),()=>{const _0x3a630b=_0x1528df,_0xffd9ab=this[_0x3a630b(0x1b5)](_0x1b4f34);return _0xffd9ab[_0x3a630b(0x15f)]({'tooltip':!0x0,'class':_0x3a630b(0x191)+this[_0x3a630b(0x1ba)]}),_0xffd9ab;}),_0x2bc9dd['ui'][_0x1528df(0x119)][_0x1528df(0x12b)](_0x1528df(0x1b9),()=>{const _0x372f7d=_0x1528df,_0x2965f5=this[_0x372f7d(0x1b5)](_0x51f8d0);return _0x2965f5[_0x372f7d(0x15f)]({'role':_0x372f7d(0x1c1)}),_0x2965f5;}),this[_0x1528df(0x17a)]=this[_0x1528df(0x123)][_0x1528df(0x193)][_0x1528df(0x11b)](_0x1528df(0x17a));const _0x4c78b8=this[_0x1528df(0x123)];this[_0x1528df(0x168)]=setInterval(()=>{const _0x2ed9eb=_0x1528df;let _0x327404;for(const _0x57847c in _0x4c78b8){const _0x23fdcf=_0x57847c,_0x42e0de=_0x4c78b8[_0x23fdcf];if(_0x2ed9eb(0x145)==_0x42e0de||_0x2ed9eb(0x140)==_0x42e0de||_0x2ed9eb(0x1c7)==_0x42e0de||_0x2ed9eb(0x131)==_0x42e0de||_0x2ed9eb(0x13b)==_0x42e0de||_0x2ed9eb(0x149)==_0x42e0de||_0x2ed9eb(0x16b)==_0x42e0de||_0x2ed9eb(0x17f)==_0x42e0de||_0x2ed9eb(0x125)==_0x42e0de){delete _0x4c78b8[_0x23fdcf],_0x327404=_0x42e0de,clearInterval(this[_0x2ed9eb(0x168)]),this[_0x2ed9eb(0x168)]=void 0x0;break;}}_0x2ed9eb(0x140)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1b3)),_0x2ed9eb(0x1c7)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x187)),_0x2ed9eb(0x131)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x146)),_0x2ed9eb(0x13b)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x17e),_0x2ed9eb(0x135)),_0x2ed9eb(0x149)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x19e)),_0x2ed9eb(0x16b)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1b2)),_0x2ed9eb(0x17f)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x127)),_0x2ed9eb(0x125)==_0x327404&&_0x4c78b8[_0x2ed9eb(0x170)](_0x2ed9eb(0x1af));},0x3e8);}[_0x1c472f(0x199)](){const _0x159edb=_0x1c472f;super[_0x159edb(0x199)](),this[_0x159edb(0x168)]&&clearInterval(this[_0x159edb(0x168)]);}[_0x1c472f(0x1be)](_0x1401c2='',_0x1a43ee='',_0x457a36=_0x1c472f(0x14e)){const _0x4cd868=_0x1c472f,_0x230928=this[_0x4cd868(0x123)],_0x29e3ef=_0x230928[_0x4cd868(0x141)][_0x4cd868(0x1a9)],_0x4a40d7=_0x230928[_0x4cd868(0x132)][_0x4cd868(0x11b)](_0x17f58a),_0x189037=_0x230928[_0x4cd868(0x132)][_0x4cd868(0x11b)](_0x1ef1a5);_0x4a40d7[_0x4cd868(0x164)]();const _0xdc690d=new j(),_0x26d60d=new ClipboardEvent(_0x4cd868(0x1a8),{'clipboardData':_0xdc690d}),_0x7c986b=new _0xa8ccb6(_0xdc690d),_0x4ea8cc=new _0x3ebdc2(_0x29e3ef,_0x26d60d,{'dataTransfer':_0x7c986b});_0x189037[_0x4cd868(0x1c5)](_0x4cd868(0x16a),()=>{const _0x5648be=_0x4cd868;_0x29e3ef[_0x5648be(0x1c4)][_0x5648be(0x12a)](_0x5648be(0x1a8),_0x4ea8cc);}),this[_0x4cd868(0x16d)]||(this[_0x4cd868(0x19f)](),this[_0x4cd868(0x1a4)]=new _0x12e081(_0x230928,this[_0x4cd868(0x117)][_0x4cd868(0x1c3)],this[_0x4cd868(0x16d)]));let _0x106f6a=_0x7c986b[_0x4cd868(0x181)](_0x4cd868(0x13f));const _0x45037d=_0x230928[_0x4cd868(0x194)][_0x4cd868(0x1c4)][_0x4cd868(0x184)],_0x19e0e6=Array[_0x4cd868(0x138)](_0x45037d[_0x4cd868(0x192)]());0x1===_0x19e0e6[_0x4cd868(0x17c)]&&_0x19e0e6[0x0][_0x4cd868(0x14a)]&&!_0x45037d[_0x4cd868(0x13d)]()&&''!==_0x106f6a[_0x4cd868(0x19c)](/&nbsp;/g,'')[_0x4cd868(0x18b)]()&&(_0x106f6a=_0x4cd868(0x11c)+_0x106f6a+_0x4cd868(0x144)),this[_0x4cd868(0x1a4)][_0x4cd868(0x1c0)]({'actionId':_0x457a36,'query':_0x1401c2,'htmlContent':_0x106f6a,'label':_0x1a43ee,'mainActionLabel':_0x318dc9[_0x230928[_0x4cd868(0x194)][_0x4cd868(0x1c4)][_0x4cd868(0x184)][_0x4cd868(0x120)]?_0x4cd868(0x160):_0x4cd868(0x12d)]}),_0x4cd868(0x121)!==this[_0x4cd868(0x179)]['id']?this[_0x4cd868(0x179)][_0x4cd868(0x1ab)]({'id':_0x4cd868(0x121),'icon':_0x38651a[_0x4cd868(0x154)],'title':_0x231548(this[_0x4cd868(0x123)][_0x4cd868(0x174)],_0x4cd868(0x1ae)),'content':this[_0x4cd868(0x16d)],'position':_0x1b5638[_0x4cd868(0x15a)],'onShow':()=>{const _0x4a4f1f=_0x4cd868;this[_0x4a4f1f(0x16d)][_0x4a4f1f(0x148)]();},'onHide':()=>{const _0x4abb26=_0x4cd868;this[_0x4abb26(0x1a4)][_0x4abb26(0x165)](),_0x4a40d7[_0x4abb26(0x137)]();}}):this[_0x4cd868(0x179)][_0x4cd868(0x1a9)][_0x4cd868(0x17d)]||this[_0x4cd868(0x179)][_0x4cd868(0x1a9)][_0x4cd868(0x16e)]();}[_0x1c472f(0x1a1)](){const _0x2363e1=_0x1c472f;this[_0x2363e1(0x179)][_0x2363e1(0x1b8)]();}[_0x1c472f(0x183)](){const _0x4178e2=_0x1c472f,_0xfda115=new Map(),_0x225ebe=_0x452d60(this[_0x4178e2(0x123)][_0x4178e2(0x193)][_0x4178e2(0x11b)](_0x4178e2(0x1a0)),this[_0x4178e2(0x123)][_0x4178e2(0x174)]);for(const _0x374371 of _0x225ebe)for(const _0x53648a of _0x374371[_0x4178e2(0x18e)])_0xfda115[_0x4178e2(0x15f)](_0x53648a['id'],{..._0x53648a,'groupId':_0x374371[_0x4178e2(0x190)],'groupLabel':_0x374371[_0x4178e2(0x19b)]||_0x374371[_0x4178e2(0x190)]});return _0xfda115;}[_0x1c472f(0x1b5)](_0x3a2f4e){const _0x5b3266=_0x1c472f,_0x30e981=this[_0x5b3266(0x123)],_0x1bf377=_0x30e981[_0x5b3266(0x18e)][_0x5b3266(0x11b)](_0x5b3266(0x16f)),_0x57a15f=new _0x3a2f4e(_0x30e981[_0x5b3266(0x174)]);return _0x57a15f[_0x5b3266(0x15f)]({'label':_0x231548(_0x30e981[_0x5b3266(0x174)],_0x5b3266(0x1ae)),'icon':_0x38651a[_0x5b3266(0x154)],'isToggleable':!0x0}),_0x57a15f[_0x5b3266(0x157)](_0x5b3266(0x1c2))['to'](_0x1bf377),_0x57a15f[_0x5b3266(0x157)](_0x5b3266(0x172))['to'](this[_0x5b3266(0x179)],'id',_0x8bb1dd=>_0x5b3266(0x121)===_0x8bb1dd),this[_0x5b3266(0x159)](_0x57a15f,_0x5b3266(0x155),()=>{const _0x493898=_0x5b3266;_0x57a15f[_0x493898(0x172)]?this[_0x493898(0x1a1)]():_0x1bf377[_0x493898(0x155)]();}),_0x57a15f;}[_0x1c472f(0x19f)](){const _0x2f2353=_0x1c472f,_0x44537a=this[_0x2f2353(0x123)][_0x2f2353(0x132)][_0x2f2353(0x11b)](_0x17f58a);this[_0x2f2353(0x16d)]=new _0x1b3454(this[_0x2f2353(0x123)][_0x2f2353(0x174)],this[_0x2f2353(0x1ba)],this[_0x2f2353(0x123)][_0x2f2353(0x193)][_0x2f2353(0x11b)](_0x2f2353(0x1bc))),this[_0x2f2353(0x16d)]['on'](_0x2f2353(0x15b),()=>{const _0x364cce=_0x2f2353;this[_0x364cce(0x179)][_0x364cce(0x1a9)][_0x364cce(0x17d)]||this[_0x364cce(0x179)][_0x364cce(0x1a9)][_0x364cce(0x16e)]();}),this[_0x2f2353(0x16d)][_0x2f2353(0x166)][_0x2f2353(0x1bd)][_0x2f2353(0x186)]['on'](_0x2f2353(0x178),()=>{const _0x19da5e=_0x2f2353;this[_0x19da5e(0x179)][_0x19da5e(0x1a9)][_0x19da5e(0x17d)]||this[_0x19da5e(0x179)][_0x19da5e(0x1a9)][_0x19da5e(0x16e)]();}),this[_0x2f2353(0x159)](this[_0x2f2353(0x16d)],_0x2f2353(0x1ca),()=>{const _0xda8dba=_0x2f2353;_0x44537a[_0xda8dba(0x1b1)](this[_0xda8dba(0x1a4)][_0xda8dba(0x129)]),this[_0xda8dba(0x1a1)]();}),this[_0x2f2353(0x159)](this[_0x2f2353(0x16d)],_0x2f2353(0x1a7),()=>{const _0xb4fa0f=_0x2f2353;_0x44537a[_0xb4fa0f(0x1a7)](this[_0xb4fa0f(0x1a4)][_0xb4fa0f(0x129)]),this[_0xb4fa0f(0x1a1)]();}),this[_0x2f2353(0x196)]();}[_0x1c472f(0x196)](){const _0x2c2121=_0x1c472f,{locale:_0xda6566,ui:{ariaLiveAnnouncer:_0x238015}}=this[_0x2c2121(0x123)];this[_0x2c2121(0x16d)][_0x2c2121(0x15e)]['on'](_0x2c2121(0x152),(_0x2cbf6c,_0x208c5c,_0x54eb1e)=>{const _0x608af5=_0x2c2121,_0x4fc4ac=this[_0x608af5(0x1a4)][_0x608af5(0x129)];_0x54eb1e?_0x238015[_0x608af5(0x167)](_0x231548(_0xda6566,_0x608af5(0x122))):_0x4fc4ac&&_0x238015[_0x608af5(0x167)](_0x231548(_0xda6566,_0x608af5(0x1c9),_0x4fc4ac),{'politeness':_0x608af5(0x173),'isUnsafeHTML':!0x0});}),this[_0x2c2121(0x16d)]['on'](_0x2c2121(0x126),(_0x3f7438,_0x425b7b,_0x19197e)=>{const _0x4075d7=_0x2c2121;if(_0x19197e){const _0xe9c659=this[_0x4075d7(0x16d)][_0x4075d7(0x1ac)][_0x4075d7(0x139)];_0x238015[_0x4075d7(0x167)](_0x231548(_0xda6566,_0x4075d7(0x15c),_0xe9c659));}});}[_0x1c472f(0x11e)](_0x5067c6){const _0x359bf2=_0x1c472f,_0x4e6908=this[_0x359bf2(0x1b0)][_0x359bf2(0x11b)](_0x5067c6),_0x386e6a=this[_0x359bf2(0x123)],_0x31ff5a=_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x1c4)][_0x359bf2(0x184)],_0x27ceac=_0x386e6a[_0x359bf2(0x18e)][_0x359bf2(0x11b)](_0x359bf2(0x16f)),_0x28435e=_0x386e6a[_0x359bf2(0x132)][_0x359bf2(0x11b)](_0x17f58a),_0x29b4df=''+(_0x4e6908[_0x359bf2(0x190)]!==_0x218e74?_0x4e6908[_0x359bf2(0x19b)]+':\x20':'')+_0x4e6908[_0x359bf2(0x130)];if(!0x1!==_0x4e6908[_0x359bf2(0x161)]&&_0x31ff5a[_0x359bf2(0x120)]){const _0xae3508=_0x25af20(_0x31ff5a[_0x359bf2(0x11a)]())||_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x195)][_0x359bf2(0x18c)](_0x31ff5a);_0x386e6a[_0x359bf2(0x194)][_0x359bf2(0x18f)](_0x1d70a8=>{const _0x3ce075=_0x359bf2;_0x1d70a8[_0x3ce075(0x11f)](_0xae3508,'in');});}_0x28435e[_0x359bf2(0x164)](),_0x27ceac[_0x359bf2(0x155)](_0x4e6908[_0x359bf2(0x118)],_0x29b4df,_0x359bf2(0x171)+_0x5067c6);}[_0x1c472f(0x1b4)](_0x3b00cd,_0x38514b,_0x1fa217,_0x449510){const _0x88681d=_0x1c472f,_0xc6ac7f=this[_0x88681d(0x123)],_0x5a28b6=_0xc6ac7f[_0x88681d(0x174)],_0x156729=new _0x23c4ed(_0x5a28b6),_0x4e844c=B(_0xc6ac7f,_0x1fa217)[_0x88681d(0x185)](_0x56af1b=>_0x56af1b[_0x88681d(0x18e)][_0x88681d(0x17c)]);0x1===_0x4e844c[_0x88681d(0x17c)]?this[_0x88681d(0x169)]({'command':_0x3b00cd,'commands':_0x4e844c[0x0][_0x88681d(0x18e)],'parentMenuView':_0x38514b,'onExecute':_0x449510})[_0x88681d(0x198)](_0x2d560c=>_0x156729[_0x88681d(0x11d)][_0x88681d(0x12b)](_0x2d560c)):_0x4e844c[_0x88681d(0x198)](({groupId:_0xe7b9bc,groupLabel:_0x53b948,commands:_0xca4b56})=>{const _0x54fbbb=_0x88681d,_0x1d6a9b=new _0x575215(_0x5a28b6,_0x38514b),_0xfdf65f=new _0x4907c9(_0x5a28b6),_0x199aaa=new _0x23c4ed(_0x5a28b6),_0x5964c8=this[_0x54fbbb(0x169)]({'command':_0x3b00cd,'commands':_0xca4b56,'parentMenuView':_0xfdf65f,'onExecute':_0x449510});_0xfdf65f[_0x54fbbb(0x175)][_0x54fbbb(0x15f)]({'label':_0x53b948||_0xe7b9bc}),_0xfdf65f[_0x54fbbb(0x1a3)](_0x54fbbb(0x155))['to'](_0x38514b),_0x199aaa[_0x54fbbb(0x11d)][_0x54fbbb(0x176)](_0x5964c8),_0xfdf65f[_0x54fbbb(0x124)][_0x54fbbb(0x158)][_0x54fbbb(0x12b)](_0x199aaa),_0x1d6a9b[_0x54fbbb(0x158)][_0x54fbbb(0x12b)](_0xfdf65f),_0x156729[_0x54fbbb(0x11d)][_0x54fbbb(0x12b)](_0x1d6a9b);}),_0x38514b[_0x88681d(0x124)][_0x88681d(0x158)][_0x88681d(0x12b)](_0x156729);}[_0x1c472f(0x169)]({command:_0xfe4e07,commands:_0x2dd7ba,parentMenuView:_0x57b198,onExecute:_0xb16478}){const _0x37760f=_0x1c472f,_0x35eb96=this[_0x37760f(0x123)],_0x3dfe6a=_0x35eb96[_0x37760f(0x174)];return B(_0x35eb96,_0x2dd7ba)[_0x37760f(0x163)](_0x3116fa=>{const _0x2ca8ff=_0x37760f,_0x57ece6=new _0x575215(_0x3dfe6a,_0x57b198),_0x50e2e4=new _0x51f8d0(_0x3dfe6a);return _0x50e2e4[_0x2ca8ff(0x15f)]({'label':_0x3116fa[_0x2ca8ff(0x130)]}),_0x50e2e4[_0x2ca8ff(0x1a3)](_0x2ca8ff(0x155))['to'](_0x57b198),_0x50e2e4['on'](_0x2ca8ff(0x155),()=>_0xb16478(_0x3116fa['id'])),_0x50e2e4[_0x2ca8ff(0x157)](_0x2ca8ff(0x1c2))['to'](_0xfe4e07,_0x2ca8ff(0x142),_0x3c09d6=>_0x3c09d6[_0x2ca8ff(0x180)](_0x3116fa['id'])),_0x57ece6[_0x2ca8ff(0x158)][_0x2ca8ff(0x12b)](_0x50e2e4),_0x57ece6;});}}function _(_0x19f4e9,_0x457e28){const _0x5791e5=_0x1c472f;return void 0x0!==_0x19f4e9[_0x5791e5(0x188)]&&void 0x0===_0x457e28[_0x5791e5(0x188)]?0x1:void 0x0===_0x19f4e9[_0x5791e5(0x188)]&&void 0x0!==_0x457e28[_0x5791e5(0x188)]?-0x1:void 0x0!==_0x19f4e9[_0x5791e5(0x188)]&&void 0x0!==_0x457e28[_0x5791e5(0x188)]?_0x19f4e9[_0x5791e5(0x188)]-_0x457e28[_0x5791e5(0x188)]:0x0;}function B(_0x8be3f3,_0x32d45a){const _0x59fd12=_0x1c472f;_0x32d45a[_0x59fd12(0x151)](_);const _0x259122={},_0x7b9625=[];for(const _0x1eb9fe of _0x32d45a)if(void 0x0!==_0x1eb9fe[_0x59fd12(0x188)]){if(_0x1eb9fe[_0x59fd12(0x188)]in _0x259122)throw new _0xf350aa(_0x59fd12(0x156),_0x8be3f3,{'conflictingDefinitions':[_0x1eb9fe,_0x259122[_0x1eb9fe[_0x59fd12(0x188)]]]});_0x259122[_0x1eb9fe[_0x59fd12(0x188)]]=_0x1eb9fe,_0x7b9625[_0x59fd12(0x14b)](_0x1eb9fe[_0x59fd12(0x188)],0x0,_0x1eb9fe);}else _0x7b9625[_0x59fd12(0x182)](_0x1eb9fe);return _0x7b9625;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1827(){var _0x438513=['153ZYiAyw','13028823YyaxPZ','22868840ZODUmM','2oQWdhL','10468302mdmosD','8012zqSaCz','5292XBIIuH','1207046kAxmVI','14960hjscOp','11drChbl','8551435drAtcQ'];_0x1827=function(){return _0x438513;};return _0x1827();}(function(_0xebbac2,_0x1575a5){var _0x38892f=_0x29b6,_0x2a1e18=_0xebbac2();while(!![]){try{var _0x4fafba=-parseInt(_0x38892f(0x1c4))/0x1*(parseInt(_0x38892f(0x1cb))/0x2)+-parseInt(_0x38892f(0x1c8))/0x3*(parseInt(_0x38892f(0x1c2))/0x4)+parseInt(_0x38892f(0x1c7))/0x5+-parseInt(_0x38892f(0x1cc))/0x6+parseInt(_0x38892f(0x1c3))/0x7*(parseInt(_0x38892f(0x1c5))/0x8)+-parseInt(_0x38892f(0x1c9))/0x9+-parseInt(_0x38892f(0x1ca))/0xa*(-parseInt(_0x38892f(0x1c6))/0xb);if(_0x4fafba===_0x1575a5)break;else _0x2a1e18['push'](_0x2a1e18['shift']());}catch(_0x54c9be){_0x2a1e18['push'](_0x2a1e18['shift']());}}}(_0x1827,0xde010));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x29b6(_0x428323,_0x402ecb){var _0x18276b=_0x1827();return _0x29b6=function(_0x29b626,_0x27122c){_0x29b626=_0x29b626-0x1c2;var _0x9ed767=_0x18276b[_0x29b626];return _0x9ed767;},_0x29b6(_0x428323,_0x402ecb);}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
23
+ function _0x2d2b(_0x1870b5,_0xeed7ca){var _0x6a5763=_0x6a57();return _0x2d2b=function(_0x2d2b9f,_0x2ec26b){_0x2d2b9f=_0x2d2b9f-0x123;var _0x364377=_0x6a5763[_0x2d2b9f];return _0x364377;},_0x2d2b(_0x1870b5,_0xeed7ca);}(function(_0x425590,_0x2d0698){var _0x599ef2=_0x2d2b,_0x693426=_0x425590();while(!![]){try{var _0xf6f7b4=parseInt(_0x599ef2(0x12a))/0x1*(-parseInt(_0x599ef2(0x12c))/0x2)+-parseInt(_0x599ef2(0x12b))/0x3*(parseInt(_0x599ef2(0x126))/0x4)+-parseInt(_0x599ef2(0x123))/0x5+parseInt(_0x599ef2(0x127))/0x6*(-parseInt(_0x599ef2(0x129))/0x7)+parseInt(_0x599ef2(0x124))/0x8+-parseInt(_0x599ef2(0x125))/0x9*(-parseInt(_0x599ef2(0x128))/0xa)+-parseInt(_0x599ef2(0x12d))/0xb*(-parseInt(_0x599ef2(0x12e))/0xc);if(_0xf6f7b4===_0x2d0698)break;else _0x693426['push'](_0x693426['shift']());}catch(_0x38a835){_0x693426['push'](_0x693426['shift']());}}}(_0x6a57,0x70af9));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x6a57(){var _0x1fddc3=['276sXwYzR','26675DKmkfN','655024kbRwnp','1650141wlHteQ','1366916hwCnRT','36006RvPWeh','50GtWjVP','371NsySPC','150935cznxmc','3YimqmZ','2jKDHgx','133430eCkoHI'];_0x6a57=function(){return _0x1fddc3;};return _0x6a57();}export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x368371,_0x1d3563){var _0x5ee152=_0x4caf,_0x28ac71=_0x368371();while(!![]){try{var _0x38433a=-parseInt(_0x5ee152(0x1d7))/0x1+parseInt(_0x5ee152(0x1db))/0x2+-parseInt(_0x5ee152(0x1d9))/0x3+-parseInt(_0x5ee152(0x1d6))/0x4+parseInt(_0x5ee152(0x1d8))/0x5+-parseInt(_0x5ee152(0x1d4))/0x6*(-parseInt(_0x5ee152(0x1da))/0x7)+-parseInt(_0x5ee152(0x1d5))/0x8;if(_0x38433a===_0x1d3563)break;else _0x28ac71['push'](_0x28ac71['shift']());}catch(_0x4c84b3){_0x28ac71['push'](_0x28ac71['shift']());}}}(_0x1847,0xe95d1));function _0x1847(){var _0x58a369=['2187348wZIyhz','5007664YDAjbg','1917828TTeEJY','360847LBTPXI','1011785NdaDLO','898935jzRdOg','21CUMZgK','2851466cyrMKn'];_0x1847=function(){return _0x58a369;};return _0x1847();}function _0x4caf(_0x83b133,_0x1d123d){var _0x184710=_0x1847();return _0x4caf=function(_0x4cafad,_0x18ae24){_0x4cafad=_0x4cafad-0x1d4;var _0x25e479=_0x184710[_0x4cafad];return _0x25e479;},_0x4caf(_0x83b133,_0x1d123d);}import{CKEditorError as _0x171ed5}from'ckeditor5/src/utils.js';
23
+ function _0x5abe(_0x481eb7,_0x209493){var _0x437f51=_0x437f();return _0x5abe=function(_0x5abe8f,_0x270410){_0x5abe8f=_0x5abe8f-0x1af;var _0x232dda=_0x437f51[_0x5abe8f];return _0x232dda;},_0x5abe(_0x481eb7,_0x209493);}(function(_0x21fa38,_0x39ab81){var _0x98376b=_0x5abe,_0x375bb7=_0x21fa38();while(!![]){try{var _0x49a30c=parseInt(_0x98376b(0x1b5))/0x1+parseInt(_0x98376b(0x1b3))/0x2+-parseInt(_0x98376b(0x1b6))/0x3*(parseInt(_0x98376b(0x1b7))/0x4)+-parseInt(_0x98376b(0x1af))/0x5*(-parseInt(_0x98376b(0x1b1))/0x6)+parseInt(_0x98376b(0x1b4))/0x7+-parseInt(_0x98376b(0x1b2))/0x8*(parseInt(_0x98376b(0x1b0))/0x9)+-parseInt(_0x98376b(0x1b8))/0xa;if(_0x49a30c===_0x39ab81)break;else _0x375bb7['push'](_0x375bb7['shift']());}catch(_0x2cc0e9){_0x375bb7['push'](_0x375bb7['shift']());}}}(_0x437f,0x79a3a));import{CKEditorError as _0x304b2d}from'ckeditor5/src/utils.js';function _0x437f(){var _0x2d85e0=['8097740hzfcIQ','200LExlVQ','1143JCrZxX','74808AOBBzr','30728fiyGea','1457012WUhpcd','4169585lSxMxf','626970HKcYFV','327018xtQcgE','24HxNEOL'];_0x437f=function(){return _0x2d85e0;};return _0x437f();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x488c22=_0x18bd;function _0x18bd(_0x4fbf77,_0x17b66b){const _0x3d24aa=_0x3d24();return _0x18bd=function(_0x18bd36,_0x39835c){_0x18bd36=_0x18bd36-0x1af;let _0x5a1583=_0x3d24aa[_0x18bd36];return _0x5a1583;},_0x18bd(_0x4fbf77,_0x17b66b);}(function(_0x4af1b1,_0x615b1a){const _0x1764c3=_0x18bd,_0x25db35=_0x4af1b1();while(!![]){try{const _0x122a40=-parseInt(_0x1764c3(0x1de))/0x1+parseInt(_0x1764c3(0x206))/0x2+parseInt(_0x1764c3(0x1ca))/0x3+parseInt(_0x1764c3(0x1c3))/0x4*(-parseInt(_0x1764c3(0x1e2))/0x5)+-parseInt(_0x1764c3(0x201))/0x6*(-parseInt(_0x1764c3(0x1bd))/0x7)+parseInt(_0x1764c3(0x1f0))/0x8+-parseInt(_0x1764c3(0x1f5))/0x9*(parseInt(_0x1764c3(0x1e3))/0xa);if(_0x122a40===_0x615b1a)break;else _0x25db35['push'](_0x25db35['shift']());}catch(_0x2c762a){_0x25db35['push'](_0x25db35['shift']());}}}(_0x3d24,0x5215e));function _0x3d24(){const _0x423256=['previousLabel','serializeToString','match','stringify','trim','104BWoHPM','_sanitizeHTML','currentResponse','isRendered','reset','value','once','1516479PSQyCi','prompt','childNodes','endsWith','viewToDom','startsWith','from','editor','length','document','listenTo','submitPrompt','text/html','view','editing','_sanitizationContainer','toView','ELEMENT_NODE','render','innerHTML','418579aIQyxB','handleError','set','destroy','113360jpbhVs','30pUBaRq','initialContext','_normalizeResponseHeadings','finally','_isH1TagSupportEnabled','rename','previousQuery','body','processor','makeRequest','_handleQuery','domConverter','mainAction','318728dobWTM','updateView','_domParser','querySelector','htmlProcessor','52191zaRMwJ','```html','data','_xmlSerializer','remove','previousContext','element','_stripMarkdownSyntax','set:currentContext','createElement','setContentOf','stopListening','30qCxycC','div','custom','<h1></h1>','previousActionId','497072sMEjlN','startProcessing','push','toModel','name','_parseAndNormalizeContent','```','then','currentContext','textAdapter','catch','abort','finishProcessing','exec','stopProcessing','substring','parseFromString','nodeType','message','isProcessing','reverse','tryAgainEvent','794920Rxllst'];_0x3d24=function(){return _0x423256;};return _0x3d24();}import{ObservableMixin as _0x58416e}from'ckeditor5/src/utils.js';import{AIRequestError as _0x5e86f7}from'../adapters/aiadapter.js';import{Matcher as _0x751b52,UpcastWriter as _0x19b6ef}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
24
- _0x58416e(){constructor(_0x27461a,_0x15a24a,_0xc7640f){const _0x935de=_0x18bd;super(),this[_0x935de(0x1d1)]=_0x27461a,this[_0x935de(0x1b0)]=_0x15a24a,this[_0x935de(0x1d9)]=document[_0x935de(0x1fe)](_0x935de(0x202)),this[_0x935de(0x1f2)]=new DOMParser(),this[_0x935de(0x1f8)]=new XMLSerializer(),this[_0x935de(0x1d7)]=_0xc7640f,this[_0x935de(0x1e0)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x935de(0x1fd),(_0x18f49f,_0x589dbb,_0x2ca3ff)=>{const _0x550b01=_0x935de;this[_0x550b01(0x1d7)][_0x550b01(0x1c8)]=this[_0x550b01(0x1c4)](_0x2ca3ff);}),this[_0x935de(0x1d4)](this[_0x935de(0x1d7)],_0x935de(0x1d5),(_0x5c4a13,_0x413c66)=>{const _0x14d1c8=_0x935de,_0x24c5e0=this[_0x14d1c8(0x1af)]||this[_0x14d1c8(0x1e4)];this[_0x14d1c8(0x1ed)](_0x413c66,_0x24c5e0,_0x14d1c8(0x203));}),this[_0x935de(0x1d4)](this[_0x935de(0x1d7)],_0x935de(0x1bc),()=>{const _0x555438=_0x935de;this[_0x555438(0x1d7)][_0x555438(0x1cb)]=this[_0x555438(0x1be)],this[_0x555438(0x1ed)](this[_0x555438(0x1e9)],this[_0x555438(0x1fa)],this[_0x555438(0x205)],this[_0x555438(0x1be)]);}),this[_0x935de(0x1d4)](this[_0x935de(0x1d7)],_0x935de(0x1b5),()=>{const _0x59d047=_0x935de;this[_0x59d047(0x1b5)]();});}[_0x488c22(0x1e1)](){const _0xec5801=_0x488c22;this[_0xec5801(0x200)]();}async[_0x488c22(0x1f1)]({actionId:_0x5bc415,query:_0x9bdffb,htmlContent:_0x1aa8af,label:_0x23cd41,mainActionLabel:_0x98c3f2}){const _0x5ab16f=_0x488c22;this[_0x5ab16f(0x1d7)][_0x5ab16f(0x1cb)]=_0x23cd41,this[_0x5ab16f(0x1d7)][_0x5ab16f(0x1ef)]=_0x98c3f2,this[_0x5ab16f(0x1e4)]=_0x1aa8af,_0x9bdffb&&(this[_0x5ab16f(0x1d7)][_0x5ab16f(0x1c6)]?this[_0x5ab16f(0x1ed)](_0x9bdffb,_0x1aa8af,_0x5bc415,_0x23cd41):this[_0x5ab16f(0x1d7)][_0x5ab16f(0x1c9)](_0x5ab16f(0x1dc),()=>{const _0x590d30=_0x5ab16f;this[_0x590d30(0x1ed)](_0x9bdffb,_0x1aa8af,_0x5bc415,_0x23cd41);}));}[_0x488c22(0x1b5)](){const _0x2e6f4d=_0x488c22;this[_0x2e6f4d(0x1ba)]&&(this[_0x2e6f4d(0x1ba)]=!0x1,this[_0x2e6f4d(0x1d7)][_0x2e6f4d(0x1b3)](),this[_0x2e6f4d(0x1b0)][_0x2e6f4d(0x1b2)]());}[_0x488c22(0x1c7)](){const _0x12ff37=_0x488c22;this[_0x12ff37(0x1e4)]='',this[_0x12ff37(0x1af)]='',this[_0x12ff37(0x1c5)]='',this[_0x12ff37(0x1fa)]='',this[_0x12ff37(0x1e9)]='',this[_0x12ff37(0x1be)]='',this[_0x12ff37(0x205)]=void 0x0,this[_0x12ff37(0x1d7)][_0x12ff37(0x1c7)](),this[_0x12ff37(0x1b5)]();}async[_0x488c22(0x1ed)](_0x13fc3b,_0x2180ea,_0x156443,_0x48c4e1){const _0x14b24d=_0x488c22;return this[_0x14b24d(0x1ba)]=!0x0,this[_0x14b24d(0x1d7)][_0x14b24d(0x207)](),this[_0x14b24d(0x1fa)]=_0x2180ea,this[_0x14b24d(0x1e9)]=_0x13fc3b,this[_0x14b24d(0x1be)]=_0x48c4e1||_0x13fc3b,this[_0x14b24d(0x205)]=_0x156443,new Promise(_0x51e2bd=>{const _0x463358=_0x14b24d;this[_0x463358(0x1b0)][_0x463358(0x1ec)]({'query':_0x13fc3b,'context':_0x2180ea,'onData':_0x33c052=>{const _0x3acd63=_0x463358;this[_0x3acd63(0x1c5)]=_0x33c052,this[_0x3acd63(0x1af)]=this[_0x3acd63(0x20b)](this[_0x3acd63(0x1c5)]);},'actionId':_0x156443})[_0x463358(0x20d)](()=>{const _0x5c0fa5=_0x463358;!this[_0x5c0fa5(0x1af)]&&this[_0x5c0fa5(0x1c5)]&&(this[_0x5c0fa5(0x1af)]=this[_0x5c0fa5(0x20b)](this[_0x5c0fa5(0x1c5)],!0x0));})[_0x463358(0x1b1)](_0x51b13c=>{const _0x597d98=_0x463358;_0x51b13c instanceof _0x5e86f7?this[_0x597d98(0x1d7)][_0x597d98(0x1df)](_0x51b13c[_0x597d98(0x1b9)]):this[_0x597d98(0x1d7)][_0x597d98(0x1df)](),_0x51e2bd();})[_0x463358(0x1e6)](()=>{const _0x2c572c=_0x463358;this[_0x2c572c(0x1b5)](),_0x51e2bd();});});}[_0x488c22(0x20b)](_0x28cd83,_0x4789b9=!0x1){const _0x26b8eb=_0x488c22,_0x2d5985=Z[_0x26b8eb(0x1b4)](_0x28cd83);_0x28cd83=_0x2d5985?_0x28cd83[_0x26b8eb(0x1b6)](_0x2d5985[0x1][_0x26b8eb(0x1d2)]):_0x28cd83[_0x26b8eb(0x1d2)]<0x64&&!_0x4789b9?'':this[_0x26b8eb(0x1fc)](_0x28cd83);const _0x104f58=this[_0x26b8eb(0x1f2)][_0x26b8eb(0x1b7)](_0x28cd83,_0x26b8eb(0x1d6));if(_0x2d5985){const _0x128473=Array[_0x26b8eb(0x1d0)](_0x104f58[_0x26b8eb(0x1ea)][_0x26b8eb(0x1cc)]);_0x128473[_0x26b8eb(0x1bb)]();for(const _0x4b1977 of _0x128473){if(_0x4b1977[_0x26b8eb(0x1b8)]==Node[_0x26b8eb(0x1db)])break;_0x4b1977[_0x26b8eb(0x1f9)]();}}const _0x22fa90=this[_0x26b8eb(0x1d1)][_0x26b8eb(0x1f7)][_0x26b8eb(0x1eb)][_0x26b8eb(0x1da)](this[_0x26b8eb(0x1f8)][_0x26b8eb(0x1bf)](_0x104f58[_0x26b8eb(0x1ea)]));return this[_0x26b8eb(0x1e7)]()||this[_0x26b8eb(0x1e5)](_0x22fa90),this[_0x26b8eb(0x1d1)][_0x26b8eb(0x1f7)][_0x26b8eb(0x1c1)](this[_0x26b8eb(0x1d1)][_0x26b8eb(0x1f7)][_0x26b8eb(0x209)](_0x22fa90));}[_0x488c22(0x1e5)](_0x6bf2da){const _0x294000=_0x488c22,_0x244f39=new _0x19b6ef(this[_0x294000(0x1d1)][_0x294000(0x1d8)][_0x294000(0x1d7)][_0x294000(0x1d3)]),_0xa43041=new _0x751b52({'name':/^h[1-5]$/}),_0x59c77e=[];let _0x9be687=!0x1;for(const _0x50914f of _0x6bf2da)_0x50914f['is'](_0x294000(0x1fb))&&_0xa43041[_0x294000(0x1c0)](_0x50914f)&&(_0x59c77e[_0x294000(0x208)](_0x50914f),'h1'==_0x50914f[_0x294000(0x20a)]&&(_0x9be687=!0x0));if(_0x9be687){for(const _0x54f2a6 of _0x59c77e)_0x244f39[_0x294000(0x1e8)]('h'+(parseInt(_0x54f2a6[_0x294000(0x20a)][0x1])+0x1),_0x54f2a6);}}[_0x488c22(0x1e7)](){const _0x238152=_0x488c22,{data:_0xd0bdc1,editing:_0x1ecca1}=this[_0x238152(0x1d1)],_0x2f8152=_0xd0bdc1[_0x238152(0x1f4)][_0x238152(0x1da)](_0x238152(0x204)),_0x5ee002=_0xd0bdc1[_0x238152(0x1da)](_0xd0bdc1[_0x238152(0x209)](_0x2f8152));return!!_0x1ecca1[_0x238152(0x1d7)][_0x238152(0x1ee)][_0x238152(0x1ce)](_0x5ee002)[_0x238152(0x1f3)]('h1');}[_0x488c22(0x1c4)](_0x83dd52){const _0x5c87b7=_0x488c22;return this[_0x5c87b7(0x1d1)][_0x5c87b7(0x1d8)][_0x5c87b7(0x1d7)][_0x5c87b7(0x1ee)][_0x5c87b7(0x1ff)](this[_0x5c87b7(0x1d9)],_0x83dd52),this[_0x5c87b7(0x1d9)][_0x5c87b7(0x1dd)];}[_0x488c22(0x1fc)](_0x1eff96){const _0x3e08f2=_0x488c22,_0x10f8a6=_0x1eff96[_0x3e08f2(0x1c2)]();return _0x10f8a6[_0x3e08f2(0x1cf)](_0x3e08f2(0x1f6))?_0x10f8a6[_0x3e08f2(0x1cd)](_0x3e08f2(0x20c))?_0x10f8a6[_0x3e08f2(0x1b6)](0x7,_0x10f8a6[_0x3e08f2(0x1d2)]-0x3):_0x10f8a6[_0x3e08f2(0x1b6)](0x7):_0x1eff96;}}
23
+ function _0x5c82(){const _0x27f447=['finally','1433397OIaArg','toView','querySelector','abort','548mLzceL','60635MgJgzV','viewToDom','childNodes','isRendered','makeRequest','_handleQuery','render','reverse','message','custom','processor','domConverter','currentContext','previousContext','setContentOf','catch','data','19206rRlhur','finishProcessing','set:currentContext','editing','endsWith','mainAction','_normalizeResponseHeadings','name','div','stopListening','value','stopProcessing','toModel','exec','length','5240RzhBlK','editor','previousQuery','listenTo','push','_sanitizeHTML','_domParser','text/html','_parseAndNormalizeContent','_sanitizationContainer','innerHTML','view','textAdapter','nodeType','match','serializeToString','249KtPosZ','prompt','8533266hKJrJG','initialContext','_isH1TagSupportEnabled','ELEMENT_NODE','from','3568746CJtvvI','startsWith','startProcessing','```html','document','tryAgainEvent','reset','then','updateView','htmlProcessor','once','_xmlSerializer','parseFromString','submitPrompt','destroy','createElement','previousLabel','remove','handleError','rename','substring','element','currentResponse','stringify','3928832PvTWEY','<h1></h1>','set','_stripMarkdownSyntax','isProcessing','body','trim','previousActionId','30554myrsJq','```'];_0x5c82=function(){return _0x27f447;};return _0x5c82();}const _0xa2c666=_0x4b95;(function(_0x5ebf23,_0x13e7d1){const _0x2f66d1=_0x4b95,_0x406618=_0x5ebf23();while(!![]){try{const _0x57a27d=parseInt(_0x2f66d1(0x1b1))/0x1+parseInt(_0x2f66d1(0x1ae))/0x2*(parseInt(_0x2f66d1(0x187))/0x3)+-parseInt(_0x2f66d1(0x1b5))/0x4*(parseInt(_0x2f66d1(0x1b6))/0x5)+-parseInt(_0x2f66d1(0x18e))/0x6+-parseInt(_0x2f66d1(0x189))/0x7+parseInt(_0x2f66d1(0x1a6))/0x8+-parseInt(_0x2f66d1(0x1c7))/0x9*(-parseInt(_0x2f66d1(0x1d6))/0xa);if(_0x57a27d===_0x13e7d1)break;else _0x406618['push'](_0x406618['shift']());}catch(_0x2c4406){_0x406618['push'](_0x406618['shift']());}}}(_0x5c82,0xcbf98));import{ObservableMixin as _0x49cf25}from'ckeditor5/src/utils.js';function _0x4b95(_0x3c883a,_0x78ca56){const _0x5c82cc=_0x5c82();return _0x4b95=function(_0x4b950e,_0xd89115){_0x4b950e=_0x4b950e-0x180;let _0x3aaaa6=_0x5c82cc[_0x4b950e];return _0x3aaaa6;},_0x4b95(_0x3c883a,_0x78ca56);}import{AIRequestError as _0xe6d4f2}from'../adapters/aiadapter.js';import{Matcher as _0xf1ab03,UpcastWriter as _0x129ddf}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
24
+ _0x49cf25(){constructor(_0x1920bb,_0x453c87,_0x32c5cb){const _0xf79368=_0x4b95;super(),this[_0xf79368(0x1d7)]=_0x1920bb,this[_0xf79368(0x183)]=_0x453c87,this[_0xf79368(0x180)]=document[_0xf79368(0x19d)](_0xf79368(0x1cf)),this[_0xf79368(0x1dc)]=new DOMParser(),this[_0xf79368(0x199)]=new XMLSerializer(),this[_0xf79368(0x182)]=_0x32c5cb,this[_0xf79368(0x1a8)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xf79368(0x1c9),(_0x201c88,_0x2d9baa,_0x470946)=>{const _0x4718df=_0xf79368;this[_0x4718df(0x182)][_0x4718df(0x1d1)]=this[_0x4718df(0x1db)](_0x470946);}),this[_0xf79368(0x1d9)](this[_0xf79368(0x182)],_0xf79368(0x19b),(_0x4ba5a4,_0x615a20)=>{const _0x431d7f=_0xf79368,_0xafd213=this[_0x431d7f(0x1c2)]||this[_0x431d7f(0x18a)];this[_0x431d7f(0x1bb)](_0x615a20,_0xafd213,_0x431d7f(0x1bf));}),this[_0xf79368(0x1d9)](this[_0xf79368(0x182)],_0xf79368(0x193),()=>{const _0xf732d4=_0xf79368;this[_0xf732d4(0x182)][_0xf732d4(0x188)]=this[_0xf732d4(0x19e)],this[_0xf732d4(0x1bb)](this[_0xf732d4(0x1d8)],this[_0xf732d4(0x1c3)],this[_0xf732d4(0x1ad)],this[_0xf732d4(0x19e)]);}),this[_0xf79368(0x1d9)](this[_0xf79368(0x182)],_0xf79368(0x1d2),()=>{const _0x1bfef0=_0xf79368;this[_0x1bfef0(0x1d2)]();});}[_0xa2c666(0x19c)](){const _0x5f3788=_0xa2c666;this[_0x5f3788(0x1d0)]();}async[_0xa2c666(0x196)]({actionId:_0x56f295,query:_0x207826,htmlContent:_0x4e6c99,label:_0x5a2517,mainActionLabel:_0x42b9a0}){const _0x520573=_0xa2c666;this[_0x520573(0x182)][_0x520573(0x188)]=_0x5a2517,this[_0x520573(0x182)][_0x520573(0x1cc)]=_0x42b9a0,this[_0x520573(0x18a)]=_0x4e6c99,_0x207826&&(this[_0x520573(0x182)][_0x520573(0x1b9)]?this[_0x520573(0x1bb)](_0x207826,_0x4e6c99,_0x56f295,_0x5a2517):this[_0x520573(0x182)][_0x520573(0x198)](_0x520573(0x1bc),()=>{const _0x1e2fbb=_0x520573;this[_0x1e2fbb(0x1bb)](_0x207826,_0x4e6c99,_0x56f295,_0x5a2517);}));}[_0xa2c666(0x1d2)](){const _0x5e285d=_0xa2c666;this[_0x5e285d(0x1aa)]&&(this[_0x5e285d(0x1aa)]=!0x1,this[_0x5e285d(0x182)][_0x5e285d(0x1c8)](),this[_0x5e285d(0x183)][_0x5e285d(0x1b4)]());}[_0xa2c666(0x194)](){const _0x45c10b=_0xa2c666;this[_0x45c10b(0x18a)]='',this[_0x45c10b(0x1c2)]='',this[_0x45c10b(0x1a4)]='',this[_0x45c10b(0x1c3)]='',this[_0x45c10b(0x1d8)]='',this[_0x45c10b(0x19e)]='',this[_0x45c10b(0x1ad)]=void 0x0,this[_0x45c10b(0x182)][_0x45c10b(0x194)](),this[_0x45c10b(0x1d2)]();}async[_0xa2c666(0x1bb)](_0x231536,_0x1e4937,_0x2a6e53,_0x48ecd1){const _0x168ba8=_0xa2c666;return this[_0x168ba8(0x1aa)]=!0x0,this[_0x168ba8(0x182)][_0x168ba8(0x190)](),this[_0x168ba8(0x1c3)]=_0x1e4937,this[_0x168ba8(0x1d8)]=_0x231536,this[_0x168ba8(0x19e)]=_0x48ecd1||_0x231536,this[_0x168ba8(0x1ad)]=_0x2a6e53,new Promise(_0x3ddf84=>{const _0x2fbcca=_0x168ba8;this[_0x2fbcca(0x183)][_0x2fbcca(0x1ba)]({'query':_0x231536,'context':_0x1e4937,'onData':_0x54a305=>{const _0x44eb62=_0x2fbcca;this[_0x44eb62(0x1a4)]=_0x54a305,this[_0x44eb62(0x1c2)]=this[_0x44eb62(0x1de)](this[_0x44eb62(0x1a4)]);},'actionId':_0x2a6e53})[_0x2fbcca(0x195)](()=>{const _0x3a4613=_0x2fbcca;!this[_0x3a4613(0x1c2)]&&this[_0x3a4613(0x1a4)]&&(this[_0x3a4613(0x1c2)]=this[_0x3a4613(0x1de)](this[_0x3a4613(0x1a4)],!0x0));})[_0x2fbcca(0x1c5)](_0x3a181f=>{const _0x23a3a6=_0x2fbcca;_0x3a181f instanceof _0xe6d4f2?this[_0x23a3a6(0x182)][_0x23a3a6(0x1a0)](_0x3a181f[_0x23a3a6(0x1be)]):this[_0x23a3a6(0x182)][_0x23a3a6(0x1a0)](),_0x3ddf84();})[_0x2fbcca(0x1b0)](()=>{const _0x2e0a8d=_0x2fbcca;this[_0x2e0a8d(0x1d2)](),_0x3ddf84();});});}[_0xa2c666(0x1de)](_0x4293f6,_0x2c4596=!0x1){const _0x4f0ad8=_0xa2c666,_0xaa08fc=Z[_0x4f0ad8(0x1d4)](_0x4293f6);_0x4293f6=_0xaa08fc?_0x4293f6[_0x4f0ad8(0x1a2)](_0xaa08fc[0x1][_0x4f0ad8(0x1d5)]):_0x4293f6[_0x4f0ad8(0x1d5)]<0x64&&!_0x2c4596?'':this[_0x4f0ad8(0x1a9)](_0x4293f6);const _0x44a177=this[_0x4f0ad8(0x1dc)][_0x4f0ad8(0x19a)](_0x4293f6,_0x4f0ad8(0x1dd));if(_0xaa08fc){const _0xd554be=Array[_0x4f0ad8(0x18d)](_0x44a177[_0x4f0ad8(0x1ab)][_0x4f0ad8(0x1b8)]);_0xd554be[_0x4f0ad8(0x1bd)]();for(const _0x5005a2 of _0xd554be){if(_0x5005a2[_0x4f0ad8(0x184)]==Node[_0x4f0ad8(0x18c)])break;_0x5005a2[_0x4f0ad8(0x19f)]();}}const _0x23248c=this[_0x4f0ad8(0x1d7)][_0x4f0ad8(0x1c6)][_0x4f0ad8(0x1c0)][_0x4f0ad8(0x1b2)](this[_0x4f0ad8(0x199)][_0x4f0ad8(0x186)](_0x44a177[_0x4f0ad8(0x1ab)]));return this[_0x4f0ad8(0x18b)]()||this[_0x4f0ad8(0x1cd)](_0x23248c),this[_0x4f0ad8(0x1d7)][_0x4f0ad8(0x1c6)][_0x4f0ad8(0x1a5)](this[_0x4f0ad8(0x1d7)][_0x4f0ad8(0x1c6)][_0x4f0ad8(0x1d3)](_0x23248c));}[_0xa2c666(0x1cd)](_0x48be59){const _0x4da7a0=_0xa2c666,_0x4bbb3f=new _0x129ddf(this[_0x4da7a0(0x1d7)][_0x4da7a0(0x1ca)][_0x4da7a0(0x182)][_0x4da7a0(0x192)]),_0x3db1e1=new _0xf1ab03({'name':/^h[1-5]$/}),_0x4a5b85=[];let _0x1831b9=!0x1;for(const _0x55f724 of _0x48be59)_0x55f724['is'](_0x4da7a0(0x1a3))&&_0x3db1e1[_0x4da7a0(0x185)](_0x55f724)&&(_0x4a5b85[_0x4da7a0(0x1da)](_0x55f724),'h1'==_0x55f724[_0x4da7a0(0x1ce)]&&(_0x1831b9=!0x0));if(_0x1831b9){for(const _0x202d0c of _0x4a5b85)_0x4bbb3f[_0x4da7a0(0x1a1)]('h'+(parseInt(_0x202d0c[_0x4da7a0(0x1ce)][0x1])+0x1),_0x202d0c);}}[_0xa2c666(0x18b)](){const _0x210f38=_0xa2c666,{data:_0x53f0ad,editing:_0x51d82e}=this[_0x210f38(0x1d7)],_0x538876=_0x53f0ad[_0x210f38(0x197)][_0x210f38(0x1b2)](_0x210f38(0x1a7)),_0x1a744a=_0x53f0ad[_0x210f38(0x1b2)](_0x53f0ad[_0x210f38(0x1d3)](_0x538876));return!!_0x51d82e[_0x210f38(0x182)][_0x210f38(0x1c1)][_0x210f38(0x1b7)](_0x1a744a)[_0x210f38(0x1b3)]('h1');}[_0xa2c666(0x1db)](_0x1108d5){const _0x11084b=_0xa2c666;return this[_0x11084b(0x1d7)][_0x11084b(0x1ca)][_0x11084b(0x182)][_0x11084b(0x1c1)][_0x11084b(0x1c4)](this[_0x11084b(0x180)],_0x1108d5),this[_0x11084b(0x180)][_0x11084b(0x181)];}[_0xa2c666(0x1a9)](_0x1b4214){const _0x5a0457=_0xa2c666,_0x4adda2=_0x1b4214[_0x5a0457(0x1ac)]();return _0x4adda2[_0x5a0457(0x18f)](_0x5a0457(0x191))?_0x4adda2[_0x5a0457(0x1cb)](_0x5a0457(0x1af))?_0x4adda2[_0x5a0457(0x1a2)](0x7,_0x4adda2[_0x5a0457(0x1d5)]-0x3):_0x4adda2[_0x5a0457(0x1a2)](0x7):_0x1b4214;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x28f8(){const _0x4a876f=['write','querySelector','1071426ixLfMv','remove','setTemplate','ck-ai-form__content-area--processing','icon','textContent','316ASVOMc','ck-ai-form__content-area-wrapper','execCommand','lastElementChild','isVisible','locale','scrollTo','getSelection','addRange','body','check','scrollHeight','listenTo','_createLoader','left','setStartAfter','<span>[</span>','copyButtonView','class','ck-content','value','createElement','absolute','text/plain','clipboard','ck-ai-form__copy-button','Copy','position','27327402dbkmVj','appendChild','execute','670xcWoNd','change:isProcessing','-9999px','style','smooth','createRange','bindTemplate','ck-ai-form__content-field','contentFieldView','div','change:value','removeAllRanges','bind','element','ClipboardItem','innerHTML','_createCopyButton','.ck-ai-form__loader','15QMibkq','ck-ai-form__loader','text/html','ck-reset_all-excluded','AI\x20is\x20writing...','_copyHTMLToClipboard','set','wheel','228640odhAfG','\x20ck-ai-form__copy-button--copied','ck-hidden','3400504oEYBVk','6990921pFTlds','<span>]</span>','ck-ai-form__content-area','120789voUzth','setEndBefore','mousedown','isProcessing','setContent','render','copy','firstElementChild','isEnabled','ck-ai-form__copy-button-wrapper','focus','appendLoader','loaderView'];_0x28f8=function(){return _0x4a876f;};return _0x28f8();}const _0x573fa9=_0x4ca4;(function(_0x14b6c7,_0x19c265){const _0x29b563=_0x4ca4,_0x2314a0=_0x14b6c7();while(!![]){try{const _0x4a2d3d=parseInt(_0x29b563(0xea))/0x1*(-parseInt(_0x29b563(0x109))/0x2)+parseInt(_0x29b563(0x12a))/0x3+-parseInt(_0x29b563(0x126))/0x4+-parseInt(_0x29b563(0x11b))/0x5*(parseInt(_0x29b563(0x139))/0x6)+-parseInt(_0x29b563(0x127))/0x7+parseInt(_0x29b563(0x123))/0x8+parseInt(_0x29b563(0x106))/0x9;if(_0x4a2d3d===_0x19c265)break;else _0x2314a0['push'](_0x2314a0['shift']());}catch(_0x504822){_0x2314a0['push'](_0x2314a0['shift']());}}}(_0x28f8,0x961a3));import{global as _0x37daac}from'ckeditor5/src/utils.js';import{View as _0x5c5547,ButtonView as _0x438d49,SpinnerView as _0x1b7afb}from'ckeditor5/src/ui.js';import _0x173e6e from'../../../theme/icons/copy.svg';function _0x4ca4(_0x260e97,_0x111507){const _0x28f84d=_0x28f8();return _0x4ca4=function(_0x4ca4af,_0x11a8bd){_0x4ca4af=_0x4ca4af-0xe7;let _0x4c1f88=_0x28f84d[_0x4ca4af];return _0x4c1f88;},_0x4ca4(_0x260e97,_0x111507);}import{getTranslation as _0x3bb9de}from'../../utils/common-translations.js';import{icons as _0x3a4796}from'ckeditor5/src/core.js';export default class W extends _0x5c5547{constructor(_0x21f0bb,_0x3934b8=''){const _0x3d1031=_0x4ca4;super(_0x21f0bb),this[_0x3d1031(0x121)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5328c5=this[_0x3d1031(0x10f)];this[_0x3d1031(0x111)]=new ContentFieldView(_0x21f0bb,_0x3934b8),this[_0x3d1031(0xfb)]=this[_0x3d1031(0x119)](),this[_0x3d1031(0x13b)]({'tag':_0x3d1031(0x112),'attributes':{'class':['ck',_0x3d1031(0xeb),_0x5328c5['if'](_0x3d1031(0xee),_0x3d1031(0x125),_0x4d369a=>!_0x4d369a)],'tabindex':'-1'},'children':[{'tag':_0x3d1031(0x112),'attributes':{'class':['ck',_0x3d1031(0x129),_0x5328c5['if'](_0x3d1031(0x12d),_0x3d1031(0xe7))]},'children':[this[_0x3d1031(0x111)],{'tag':_0x3d1031(0x112),'attributes':{'class':['ck',_0x3d1031(0x133)]},'children':[this[_0x3d1031(0xfb)]]}]}]});}[_0x573fa9(0x12f)](){const _0x5c2f3f=_0x573fa9;super[_0x5c2f3f(0x12f)](),this[_0x5c2f3f(0xfe)]&&this[_0x5c2f3f(0x111)][_0x5c2f3f(0x12e)](this[_0x5c2f3f(0xfe)]);let _0x1ad62b=!0x1;this['on'](_0x5c2f3f(0x113),(_0x486d4c,_0xb66a69,_0x498d6f)=>{const _0x21d95f=_0x5c2f3f,_0x4618c8=!this[_0x21d95f(0x111)][_0x21d95f(0x116)][_0x21d95f(0x138)](_0x21d95f(0x11a));this[_0x21d95f(0x111)][_0x21d95f(0x12e)](_0x498d6f),this[_0x21d95f(0x12d)]&&_0x4618c8&&!_0x1ad62b&&this[_0x21d95f(0x116)][_0x21d95f(0xf0)]({'top':this[_0x21d95f(0x116)][_0x21d95f(0xf5)],'behavior':_0x21d95f(0x10d)});}),this['on'](_0x5c2f3f(0x10a),(_0x26a935,_0x2e6b9a,_0x1b7f89)=>{const _0xd697a6=_0x5c2f3f;_0x1ad62b=!0x1,_0x1b7f89?(this[_0xd697a6(0xfe)]=null,this[_0xd697a6(0x111)][_0xd697a6(0x135)]()):this[_0xd697a6(0xfe)]||this[_0xd697a6(0x111)][_0xd697a6(0x12e)]('');}),this[_0x5c2f3f(0xf6)](this[_0x5c2f3f(0x116)],_0x5c2f3f(0x122),()=>{_0x1ad62b=!0x0;}),this[_0x5c2f3f(0xf6)](this[_0x5c2f3f(0x116)],_0x5c2f3f(0x12c),()=>{_0x1ad62b=!0x0;});}[_0x573fa9(0x134)](){const _0x4676dd=_0x573fa9;this[_0x4676dd(0x116)][_0x4676dd(0x134)]();}[_0x573fa9(0x119)](){const _0x43c197=_0x573fa9,_0x374d92=this[_0x43c197(0xef)],_0x49a05c=new _0x438d49(this[_0x43c197(0xef)]),_0x47a121=_0x43c197(0x103);return _0x49a05c[_0x43c197(0x121)]({'label':_0x3bb9de(_0x374d92,_0x43c197(0x104)),'icon':_0x173e6e,'class':_0x47a121,'tooltip':!0x0}),_0x49a05c[_0x43c197(0x115)](_0x43c197(0xee))['to'](this,_0x43c197(0xfe),_0x34cea5=>!!_0x34cea5),_0x49a05c[_0x43c197(0x115)](_0x43c197(0x132))['to'](this,_0x43c197(0x12d),_0x886236=>!_0x886236),_0x49a05c['on'](_0x43c197(0x108),()=>{const _0xfffd66=_0x43c197;this[_0xfffd66(0x120)](this[_0xfffd66(0x111)][_0xfffd66(0x116)]),_0x49a05c[_0xfffd66(0xe8)]=_0x3a4796[_0xfffd66(0xf4)],_0x49a05c[_0xfffd66(0xfc)]=_0x47a121+_0xfffd66(0x124),this[_0xfffd66(0x134)](),setTimeout(()=>{const _0x547c31=_0xfffd66;_0x49a05c[_0x547c31(0xe8)]=_0x173e6e,_0x49a05c[_0x547c31(0xfc)]=_0x47a121;},0x3e8);}),_0x49a05c;}[_0x573fa9(0x120)](_0x563e83){const _0x157dd7=_0x573fa9,{window:_0x4ccd69,document:_0x55be33}=_0x37daac;if(_0x4ccd69[_0x157dd7(0x117)]){const {Blob:_0x3c7b3a,ClipboardItem:_0x3795c4}=_0x4ccd69,_0x388457=[new _0x3795c4({'text/html':new _0x3c7b3a([_0x563e83[_0x157dd7(0x118)]],{'type':_0x157dd7(0x11d)}),'text/plain':new _0x3c7b3a([_0x563e83[_0x157dd7(0xe9)]||''],{'type':_0x157dd7(0x101)})})];navigator[_0x157dd7(0x102)][_0x157dd7(0x137)](_0x388457);}else{const _0x5cd640=_0x55be33[_0x157dd7(0xff)](_0x157dd7(0x112));_0x5cd640[_0x157dd7(0x10c)][_0x157dd7(0x105)]=_0x157dd7(0x100),_0x5cd640[_0x157dd7(0x10c)][_0x157dd7(0xf8)]=_0x157dd7(0x10b),_0x5cd640[_0x157dd7(0x118)]=_0x157dd7(0xfa)+_0x563e83[_0x157dd7(0x118)]+_0x157dd7(0x128),_0x55be33[_0x157dd7(0xf3)][_0x157dd7(0x107)](_0x5cd640);const _0x3e5f9f=_0x55be33[_0x157dd7(0x10e)]();_0x3e5f9f[_0x157dd7(0xf9)](_0x5cd640[_0x157dd7(0x131)]),_0x3e5f9f[_0x157dd7(0x12b)](_0x5cd640[_0x157dd7(0xed)]);const _0x5a3b7c=_0x4ccd69[_0x157dd7(0xf1)]();_0x5a3b7c[_0x157dd7(0x114)](),_0x5a3b7c[_0x157dd7(0xf2)](_0x3e5f9f),_0x55be33[_0x157dd7(0xec)](_0x157dd7(0x130)),_0x5cd640[_0x157dd7(0x13a)]();}}}export class ContentFieldView extends _0x5c5547{constructor(_0x17f06a,_0x174c72=''){const _0x5bdb74=_0x573fa9;super(_0x17f06a),this[_0x5bdb74(0x136)]=this[_0x5bdb74(0xf7)](),this[_0x5bdb74(0x13b)]({'tag':_0x5bdb74(0x112),'attributes':{'class':['ck',_0x5bdb74(0xfd),_0x174c72,_0x5bdb74(0x11e),_0x5bdb74(0x110)]}});}[_0x573fa9(0x12e)](_0x34ba6f){const _0x41be8a=_0x573fa9;this[_0x41be8a(0x116)][_0x41be8a(0x118)]=_0x34ba6f;}[_0x573fa9(0x135)](){const _0x404c10=_0x573fa9;this[_0x404c10(0x116)][_0x404c10(0x107)](this[_0x404c10(0x136)][_0x404c10(0x116)]);}[_0x573fa9(0xf7)](){const _0x2767f3=_0x573fa9,_0x422b2f=new _0x5c5547(),_0x34bbbb=this[_0x2767f3(0xef)],_0x82970e=new _0x1b7afb();return _0x82970e[_0x2767f3(0xee)]=!0x0,_0x422b2f[_0x2767f3(0x13b)]({'tag':_0x2767f3(0x112),'attributes':{'class':['ck',_0x2767f3(0x11c)]},'children':[_0x82970e,{'text':_0x3bb9de(_0x34bbbb,_0x2767f3(0x11f))}]}),_0x422b2f[_0x2767f3(0x12f)](),_0x422b2f;}}
23
+ const _0x474c7e=_0x45bf;(function(_0x4bdb1c,_0x5c2d67){const _0xb4566b=_0x45bf,_0x23d9c3=_0x4bdb1c();while(!![]){try{const _0x45ec5a=parseInt(_0xb4566b(0x113))/0x1+-parseInt(_0xb4566b(0xed))/0x2+-parseInt(_0xb4566b(0xe9))/0x3*(-parseInt(_0xb4566b(0x115))/0x4)+-parseInt(_0xb4566b(0x101))/0x5*(parseInt(_0xb4566b(0x116))/0x6)+parseInt(_0xb4566b(0xe6))/0x7*(-parseInt(_0xb4566b(0x119))/0x8)+-parseInt(_0xb4566b(0xdb))/0x9+parseInt(_0xb4566b(0xd4))/0xa;if(_0x45ec5a===_0x5c2d67)break;else _0x23d9c3['push'](_0x23d9c3['shift']());}catch(_0x31a170){_0x23d9c3['push'](_0x23d9c3['shift']());}}}(_0x53c6,0x3e2a1));import{global as _0x497d38}from'ckeditor5/src/utils.js';import{View as _0x283a83,ButtonView as _0x4620d0,SpinnerView as _0x1f6c42}from'ckeditor5/src/ui.js';import _0x2e1ca0 from'../../../theme/icons/copy.svg';import{getTranslation as _0xbe110e}from'../../utils/common-translations.js';import{icons as _0x5938c3}from'ckeditor5/src/core.js';function _0x45bf(_0x4e9e94,_0x131a74){const _0x53c6b8=_0x53c6();return _0x45bf=function(_0x45bf61,_0x5a7043){_0x45bf61=_0x45bf61-0xd2;let _0x13411b=_0x53c6b8[_0x45bf61];return _0x13411b;},_0x45bf(_0x4e9e94,_0x131a74);}export default class W extends _0x283a83{constructor(_0x5bd3c5,_0x314552=''){const _0x5561f3=_0x45bf;super(_0x5bd3c5),this[_0x5561f3(0x102)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x528da6=this[_0x5561f3(0xd2)];this[_0x5561f3(0x123)]=new ContentFieldView(_0x5bd3c5,_0x314552),this[_0x5561f3(0xd7)]=this[_0x5561f3(0x104)](),this[_0x5561f3(0x103)]({'tag':_0x5561f3(0x122),'attributes':{'class':['ck',_0x5561f3(0x114),_0x528da6['if'](_0x5561f3(0xe5),_0x5561f3(0x126),_0x36dd05=>!_0x36dd05)],'tabindex':'-1'},'children':[{'tag':_0x5561f3(0x122),'attributes':{'class':['ck',_0x5561f3(0xe3),_0x528da6['if'](_0x5561f3(0x10b),_0x5561f3(0xe7))]},'children':[this[_0x5561f3(0x123)],{'tag':_0x5561f3(0x122),'attributes':{'class':['ck',_0x5561f3(0xec)]},'children':[this[_0x5561f3(0xd7)]]}]}]});}[_0x474c7e(0xef)](){const _0x5d6a3d=_0x474c7e;super[_0x5d6a3d(0xef)](),this[_0x5d6a3d(0x109)]&&this[_0x5d6a3d(0x123)][_0x5d6a3d(0x118)](this[_0x5d6a3d(0x109)]);let _0x5c0783=!0x1;this['on'](_0x5d6a3d(0x125),(_0x3d132c,_0x2d3a8a,_0x3e7848)=>{const _0x1d3a0b=_0x5d6a3d,_0x31a843=!this[_0x1d3a0b(0x123)][_0x1d3a0b(0xdc)][_0x1d3a0b(0x106)](_0x1d3a0b(0xf3));this[_0x1d3a0b(0x123)][_0x1d3a0b(0x118)](_0x3e7848),this[_0x1d3a0b(0x10b)]&&_0x31a843&&!_0x5c0783&&this[_0x1d3a0b(0xdc)][_0x1d3a0b(0xd3)]({'top':this[_0x1d3a0b(0xdc)][_0x1d3a0b(0x10c)],'behavior':_0x1d3a0b(0x11f)});}),this['on'](_0x5d6a3d(0xdd),(_0x341d48,_0x2bbbb2,_0x4fada9)=>{const _0x328eb7=_0x5d6a3d;_0x5c0783=!0x1,_0x4fada9?(this[_0x328eb7(0x109)]=null,this[_0x328eb7(0x123)][_0x328eb7(0x105)]()):this[_0x328eb7(0x109)]||this[_0x328eb7(0x123)][_0x328eb7(0x118)]('');}),this[_0x5d6a3d(0xdf)](this[_0x5d6a3d(0xdc)],_0x5d6a3d(0xf0),()=>{_0x5c0783=!0x0;}),this[_0x5d6a3d(0xdf)](this[_0x5d6a3d(0xdc)],_0x5d6a3d(0x121),()=>{_0x5c0783=!0x0;});}[_0x474c7e(0x11b)](){const _0x471987=_0x474c7e;this[_0x471987(0xdc)][_0x471987(0x11b)]();}[_0x474c7e(0x104)](){const _0x46aeac=_0x474c7e,_0x2ddaad=this[_0x46aeac(0xfe)],_0x402e6a=new _0x4620d0(this[_0x46aeac(0xfe)]),_0x1bf560=_0x46aeac(0xfd);return _0x402e6a[_0x46aeac(0x102)]({'label':_0xbe110e(_0x2ddaad,_0x46aeac(0x120)),'icon':_0x2e1ca0,'class':_0x1bf560,'tooltip':!0x0}),_0x402e6a[_0x46aeac(0xf5)](_0x46aeac(0xe5))['to'](this,_0x46aeac(0x109),_0x3d0a0b=>!!_0x3d0a0b),_0x402e6a[_0x46aeac(0xf5)](_0x46aeac(0xf8))['to'](this,_0x46aeac(0x10b),_0x550615=>!_0x550615),_0x402e6a['on'](_0x46aeac(0xe4),()=>{const _0x8fb522=_0x46aeac;this[_0x8fb522(0x11a)](this[_0x8fb522(0x123)][_0x8fb522(0xdc)]),_0x402e6a[_0x8fb522(0xe0)]=_0x5938c3[_0x8fb522(0xde)],_0x402e6a[_0x8fb522(0x107)]=_0x1bf560+_0x8fb522(0xe2),this[_0x8fb522(0x11b)](),setTimeout(()=>{const _0xe7cdaa=_0x8fb522;_0x402e6a[_0xe7cdaa(0xe0)]=_0x2e1ca0,_0x402e6a[_0xe7cdaa(0x107)]=_0x1bf560;},0x3e8);}),_0x402e6a;}[_0x474c7e(0x11a)](_0x1ef7ee){const _0x48bf71=_0x474c7e,{window:_0x284ffc,document:_0x33cade}=_0x497d38;if(_0x284ffc[_0x48bf71(0xfc)]){const {Blob:_0x28a269,ClipboardItem:_0x3cd85f}=_0x284ffc,_0x1b07a4=[new _0x3cd85f({'text/html':new _0x28a269([_0x1ef7ee[_0x48bf71(0x110)]],{'type':_0x48bf71(0x11d)}),'text/plain':new _0x28a269([_0x1ef7ee[_0x48bf71(0x10e)]||''],{'type':_0x48bf71(0x100)})})];navigator[_0x48bf71(0x117)][_0x48bf71(0xee)](_0x1b07a4);}else{const _0x25ac47=_0x33cade[_0x48bf71(0x11c)](_0x48bf71(0x122));_0x25ac47[_0x48bf71(0xf4)][_0x48bf71(0xf2)]=_0x48bf71(0xeb),_0x25ac47[_0x48bf71(0xf4)][_0x48bf71(0x10f)]=_0x48bf71(0xf1),_0x25ac47[_0x48bf71(0x110)]=_0x48bf71(0xf9)+_0x1ef7ee[_0x48bf71(0x110)]+_0x48bf71(0x124),_0x33cade[_0x48bf71(0xda)][_0x48bf71(0xf6)](_0x25ac47);const _0x298fb0=_0x33cade[_0x48bf71(0x112)]();_0x298fb0[_0x48bf71(0x10d)](_0x25ac47[_0x48bf71(0xd6)]),_0x298fb0[_0x48bf71(0xf7)](_0x25ac47[_0x48bf71(0x108)]);const _0x5a2fa1=_0x284ffc[_0x48bf71(0xe1)]();_0x5a2fa1[_0x48bf71(0xff)](),_0x5a2fa1[_0x48bf71(0x10a)](_0x298fb0),_0x33cade[_0x48bf71(0x127)](_0x48bf71(0xea)),_0x25ac47[_0x48bf71(0xfa)]();}}}export class ContentFieldView extends _0x283a83{constructor(_0x25e4c2,_0x12fd7c=''){const _0x3e7e87=_0x474c7e;super(_0x25e4c2),this[_0x3e7e87(0x11e)]=this[_0x3e7e87(0xd9)](),this[_0x3e7e87(0x103)]({'tag':_0x3e7e87(0x122),'attributes':{'class':['ck',_0x3e7e87(0xfb),_0x12fd7c,_0x3e7e87(0xd5),_0x3e7e87(0xd8)]}});}[_0x474c7e(0x118)](_0x1e5eb5){const _0x48a7d2=_0x474c7e;this[_0x48a7d2(0xdc)][_0x48a7d2(0x110)]=_0x1e5eb5;}[_0x474c7e(0x105)](){const _0x234a0a=_0x474c7e;this[_0x234a0a(0xdc)][_0x234a0a(0xf6)](this[_0x234a0a(0x11e)][_0x234a0a(0xdc)]);}[_0x474c7e(0xd9)](){const _0xfe5343=_0x474c7e,_0x1b9abf=new _0x283a83(),_0x444824=this[_0xfe5343(0xfe)],_0x446615=new _0x1f6c42();return _0x446615[_0xfe5343(0xe5)]=!0x0,_0x1b9abf[_0xfe5343(0x103)]({'tag':_0xfe5343(0x122),'attributes':{'class':['ck',_0xfe5343(0x111)]},'children':[_0x446615,{'text':_0xbe110e(_0x444824,_0xfe5343(0xe8))}]}),_0x1b9abf[_0xfe5343(0xef)](),_0x1b9abf;}}function _0x53c6(){const _0x355a90=['.ck-ai-form__loader','style','bind','appendChild','setEndBefore','isEnabled','<span>[</span>','remove','ck-content','ClipboardItem','ck-ai-form__copy-button','locale','removeAllRanges','text/plain','175795oNKUas','set','setTemplate','_createCopyButton','appendLoader','querySelector','class','lastElementChild','value','addRange','isProcessing','scrollHeight','setStartAfter','textContent','left','innerHTML','ck-ai-form__loader','createRange','448457iqKucr','ck-ai-form__content-area-wrapper','4FhqlZT','78FzoVQP','clipboard','setContent','8XNPhpo','_copyHTMLToClipboard','focus','createElement','text/html','loaderView','smooth','Copy','mousedown','div','contentFieldView','<span>]</span>','change:value','ck-hidden','execCommand','bindTemplate','scrollTo','8727460zmnktZ','ck-reset_all-excluded','firstElementChild','copyButtonView','ck-ai-form__content-field','_createLoader','body','3766077FiFyLv','element','change:isProcessing','check','listenTo','icon','getSelection','\x20ck-ai-form__copy-button--copied','ck-ai-form__content-area','execute','isVisible','3299968YhNZCf','ck-ai-form__content-area--processing','AI\x20is\x20writing...','1273803RPppaJ','copy','absolute','ck-ai-form__copy-button-wrapper','288470cViqdW','write','render','wheel','-9999px','position'];_0x53c6=function(){return _0x355a90;};return _0x53c6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4de26b,_0xdef92a){const _0x12308e=_0x2620,_0x497501=_0x4de26b();while(!![]){try{const _0x292c77=-parseInt(_0x12308e(0x15e))/0x1+parseInt(_0x12308e(0x15f))/0x2+parseInt(_0x12308e(0x15c))/0x3*(parseInt(_0x12308e(0x167))/0x4)+-parseInt(_0x12308e(0x162))/0x5*(parseInt(_0x12308e(0x161))/0x6)+-parseInt(_0x12308e(0x16c))/0x7*(-parseInt(_0x12308e(0x169))/0x8)+-parseInt(_0x12308e(0x15d))/0x9+parseInt(_0x12308e(0x16a))/0xa;if(_0x292c77===_0xdef92a)break;else _0x497501['push'](_0x497501['shift']());}catch(_0x51b3c2){_0x497501['push'](_0x497501['shift']());}}}(_0x2efd,0x9c8a2));function _0x2620(_0x5ef7cf,_0x265bc9){const _0x2efd6a=_0x2efd();return _0x2620=function(_0x2620d9,_0x166b6b){_0x2620d9=_0x2620d9-0x15c;let _0xee0ff=_0x2efd6a[_0x2620d9];return _0xee0ff;},_0x2620(_0x5ef7cf,_0x265bc9);}import{View as _0x535972,IconView as _0x106942}from'ckeditor5/src/ui.js';import _0x5dd04d from'../../../theme/icons/error.svg';export default class tt extends _0x535972{constructor(_0x206bdb,_0x4efee7=''){const _0xc06ca2=_0x2620;super(_0x206bdb);const _0x54e6fd=new _0x106942(),_0x2a6377=this[_0xc06ca2(0x166)];this[_0xc06ca2(0x165)](_0xc06ca2(0x16b),_0x4efee7),_0x54e6fd[_0xc06ca2(0x163)]=_0x5dd04d,this[_0xc06ca2(0x164)]({'tag':_0xc06ca2(0x168),'attributes':{'class':['ck',_0xc06ca2(0x160)]},'children':[_0x54e6fd,{'text':_0x2a6377['to'](_0xc06ca2(0x16b))}]});}}function _0x2efd(){const _0x52f9c8=['content','setTemplate','set','bindTemplate','2772YXtyDM','div','3876808eqoOpz','10953620AsDHTo','text','7mGZhQt','3804NlRArj','9603315swxpYo','1089737aquFFk','1839190sWvyPA','ck-ai-form__error','12kZhhEk','1450810Apqrqb'];_0x2efd=function(){return _0x52f9c8;};return _0x2efd();}
23
+ function _0x1921(){const _0x3d9244=['setTemplate','45tGgdgM','content','3fkTNyd','4LrXZea','bindTemplate','22nXLSQy','12850ZGUIfC','set','509090dvVObx','1947812ZBixXx','div','1329160lAwSMU','3748760xmovXX','ck-ai-form__error','509676fRiBKD','236519Sdgnsk','516gPjurV','text'];_0x1921=function(){return _0x3d9244;};return _0x1921();}function _0x4830(_0x52ddd7,_0x4052bf){const _0x192185=_0x1921();return _0x4830=function(_0x483080,_0x2258c8){_0x483080=_0x483080-0x1c6;let _0x35e416=_0x192185[_0x483080];return _0x35e416;},_0x4830(_0x52ddd7,_0x4052bf);}(function(_0x3a6cc8,_0x332af0){const _0x4d11a8=_0x4830,_0x401b3a=_0x3a6cc8();while(!![]){try{const _0x339827=-parseInt(_0x4d11a8(0x1cd))/0x1*(-parseInt(_0x4d11a8(0x1d4))/0x2)+-parseInt(_0x4d11a8(0x1d3))/0x3*(-parseInt(_0x4d11a8(0x1c7))/0x4)+-parseInt(_0x4d11a8(0x1d7))/0x5*(parseInt(_0x4d11a8(0x1ce))/0x6)+parseInt(_0x4d11a8(0x1c9))/0x7+-parseInt(_0x4d11a8(0x1ca))/0x8+-parseInt(_0x4d11a8(0x1d1))/0x9*(parseInt(_0x4d11a8(0x1c6))/0xa)+-parseInt(_0x4d11a8(0x1d6))/0xb*(-parseInt(_0x4d11a8(0x1cc))/0xc);if(_0x339827===_0x332af0)break;else _0x401b3a['push'](_0x401b3a['shift']());}catch(_0x14685d){_0x401b3a['push'](_0x401b3a['shift']());}}}(_0x1921,0x46f61));import{View as _0x5c85b6,IconView as _0x596fa7}from'ckeditor5/src/ui.js';import _0x2c84c2 from'../../../theme/icons/error.svg';export default class tt extends _0x5c85b6{constructor(_0x2355ea,_0x1697ae=''){const _0x4a9207=_0x4830;super(_0x2355ea);const _0x5e7e41=new _0x596fa7(),_0x2b0cd9=this[_0x4a9207(0x1d5)];this[_0x4a9207(0x1d8)](_0x4a9207(0x1cf),_0x1697ae),_0x5e7e41[_0x4a9207(0x1d2)]=_0x2c84c2,this[_0x4a9207(0x1d0)]({'tag':_0x4a9207(0x1c8),'attributes':{'class':['ck',_0x4a9207(0x1cb)]},'children':[_0x5e7e41,{'text':_0x2b0cd9['to'](_0x4a9207(0x1cf))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x329f9e=_0x5a84;function _0x5a84(_0xf7c0ae,_0x215e1a){const _0x3005e2=_0x3005();return _0x5a84=function(_0x5a84d4,_0x28fca1){_0x5a84d4=_0x5a84d4-0x102;let _0x4562a9=_0x3005e2[_0x5a84d4];return _0x4562a9;},_0x5a84(_0xf7c0ae,_0x215e1a);}(function(_0x1b631c,_0x260db3){const _0x4711e1=_0x5a84,_0x335b12=_0x1b631c();while(!![]){try{const _0x37b31b=-parseInt(_0x4711e1(0x106))/0x1+-parseInt(_0x4711e1(0x120))/0x2*(parseInt(_0x4711e1(0x118))/0x3)+-parseInt(_0x4711e1(0x124))/0x4+parseInt(_0x4711e1(0x12d))/0x5+parseInt(_0x4711e1(0x12e))/0x6*(parseInt(_0x4711e1(0x127))/0x7)+parseInt(_0x4711e1(0x12f))/0x8+-parseInt(_0x4711e1(0x125))/0x9;if(_0x37b31b===_0x260db3)break;else _0x335b12['push'](_0x335b12['shift']());}catch(_0x36b6db){_0x335b12['push'](_0x335b12['shift']());}}}(_0x3005,0xe9137));import{Rect as _0x4d3896,global as _0x1999a8,isVisible as _0x19e543}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x1f6355,ButtonView as _0x529d4c}from'ckeditor5/src/ui.js';function _0x3005(){const _0x27dbdd=['focus','width','fire','ck-ai-form__submit','element','enter','target','children','ck-ai-form__toggle-history','3903pXoGMH','isEnabled','History','minRows','set','focusCycler','history','style','2098ORNpbX','window','rtl','keystrokes','245764PjjZFH','3249261VCTUnO','focusLast','49fzPatN','_createShowHistoryButton','Submit','fieldView','maxRows','right','6124085jIvUXA','1239468AmyRNR','13707680YemykA','value','queryView','uiLanguageDirection','excludeScrollbarsAndBorders','submitButtonView','left','focusableChildren','isOn','requestAnimationFrame','add','render','filteredView','focusFirst','resultsView','isEmpty','_createSubmitButton','1642425odcKOG','isVisible','execute','bind','submit','showHistoryButtonView','fieldWrapperChildren','locale','update'];_0x3005=function(){return _0x27dbdd;};return _0x3005();}import{icons as _0x53ca26}from'ckeditor5/src/core.js';import{getTranslation as _0x4f5139}from'../../utils/common-translations.js';import _0x12561e from'../../../theme/icons/submit.svg';export default class ht extends _0x1f6355{constructor(_0x158900,_0x2f5cac){const _0x5aca64=_0x5a84;super(_0x158900,_0x2f5cac),this[_0x5aca64(0x131)][_0x5aca64(0x12a)][_0x5aca64(0x11b)]=0x1,this[_0x5aca64(0x131)][_0x5aca64(0x12a)][_0x5aca64(0x12b)]=0x3,this[_0x5aca64(0x134)]=this[_0x5aca64(0x105)](),this[_0x5aca64(0x10b)]=this[_0x5aca64(0x128)](),this[_0x5aca64(0x136)][_0x5aca64(0x139)](this[_0x5aca64(0x10b)],0x1),this[_0x5aca64(0x136)][_0x5aca64(0x139)](this[_0x5aca64(0x134)]);}[_0x329f9e(0x13a)](){const _0x3cc2e8=_0x329f9e;super[_0x3cc2e8(0x13a)](),this[_0x3cc2e8(0x131)][_0x3cc2e8(0x10c)][_0x3cc2e8(0x139)](this[_0x3cc2e8(0x10b)]),this[_0x3cc2e8(0x116)][_0x3cc2e8(0x139)](this[_0x3cc2e8(0x134)]),this[_0x3cc2e8(0x123)][_0x3cc2e8(0x11c)](_0x3cc2e8(0x114),(_0x7cdac2,_0x68e54b)=>{const _0x29263d=_0x3cc2e8;_0x7cdac2[_0x29263d(0x115)]==this[_0x29263d(0x131)][_0x29263d(0x12a)][_0x29263d(0x113)]&&(this[_0x29263d(0x10a)](),_0x68e54b());});}[_0x329f9e(0x105)](){const _0x4bccf1=_0x329f9e,_0x3fd560=new _0x529d4c(this[_0x4bccf1(0x10d)]),_0x18eb14=this[_0x4bccf1(0x10d)];return _0x3fd560[_0x4bccf1(0x11c)]({'icon':_0x12561e,'label':_0x4f5139(_0x18eb14,_0x4bccf1(0x129)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4bccf1(0x112)}),_0x3fd560['on'](_0x4bccf1(0x108),()=>{const _0x2275df=_0x4bccf1;this[_0x2275df(0x10a)]();}),_0x3fd560[_0x4bccf1(0x109)](_0x4bccf1(0x119))['to'](this[_0x4bccf1(0x131)][_0x4bccf1(0x12a)],_0x4bccf1(0x104),this,_0x4bccf1(0x119),(_0x238582,_0x1d229e)=>!_0x238582&&_0x1d229e),_0x3fd560;}[_0x329f9e(0x128)](){const _0x2188ad=_0x329f9e,_0x24b8e5=new _0x529d4c(this[_0x2188ad(0x10d)]),_0x26d111=this[_0x2188ad(0x103)],_0x230d0f=this[_0x2188ad(0x10d)];_0x24b8e5[_0x2188ad(0x11c)]({'label':_0x4f5139(_0x230d0f,_0x2188ad(0x11a)),'withText':!0x1,'icon':_0x53ca26[_0x2188ad(0x11e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2188ad(0x117)}),_0x24b8e5[_0x2188ad(0x109)](_0x2188ad(0x137))['to'](_0x26d111,_0x2188ad(0x107)),_0x24b8e5[_0x2188ad(0x109)](_0x2188ad(0x119))['to'](this,_0x2188ad(0x119)),_0x24b8e5['on'](_0x2188ad(0x108),()=>{const _0x5a9f23=_0x2188ad;_0x26d111[_0x5a9f23(0x107)]=!_0x26d111[_0x5a9f23(0x107)],_0x26d111[_0x5a9f23(0x107)]?this[_0x5a9f23(0x13b)][_0x5a9f23(0x10f)]():this[_0x5a9f23(0x10f)]();});const _0x1c7e07=()=>{const _0x573f7a=_0x2188ad;_0x1999a8[_0x573f7a(0x121)][_0x573f7a(0x138)](()=>{const _0xd8d18=_0x573f7a;if(_0x19e543(this[_0xd8d18(0x113)])){const _0x4cec51=new _0x4d3896(this[_0xd8d18(0x131)][_0xd8d18(0x12a)][_0xd8d18(0x113)]),_0x4882d0=_0x4cec51[_0xd8d18(0x110)],_0x3c15b5=_0xd8d18(0x122)===_0x230d0f[_0xd8d18(0x132)]?_0xd8d18(0x135):_0xd8d18(0x12c);_0x4cec51[_0xd8d18(0x133)](),_0x24b8e5[_0xd8d18(0x113)][_0xd8d18(0x11f)][_0x3c15b5]=_0x4882d0-_0x4cec51[_0xd8d18(0x110)]+0x1+'px';}});};return this[_0x2188ad(0x131)][_0x2188ad(0x12a)]['on'](_0x2188ad(0x10e),_0x1c7e07),this['on'](_0x2188ad(0x13a),_0x1c7e07),_0x24b8e5;}[_0x329f9e(0x10a)](){const _0x576899=_0x329f9e,_0x255cd4=this[_0x576899(0x131)][_0x576899(0x12a)][_0x576899(0x113)][_0x576899(0x130)];this[_0x576899(0x111)](_0x576899(0x10a),_0x255cd4);}[_0x329f9e(0x10f)](_0x186145){const _0x2695dd=_0x329f9e;-0x1===_0x186145?this[_0x2695dd(0x11d)][_0x2695dd(0x126)]():this[_0x2695dd(0x11d)][_0x2695dd(0x102)]();}}
23
+ const _0x24016f=_0x5349;(function(_0x1c9056,_0x3cc60a){const _0x3a9e03=_0x5349,_0xa2c115=_0x1c9056();while(!![]){try{const _0x12ecfe=-parseInt(_0x3a9e03(0xb1))/0x1+-parseInt(_0x3a9e03(0x8c))/0x2*(-parseInt(_0x3a9e03(0x85))/0x3)+parseInt(_0x3a9e03(0x87))/0x4*(parseInt(_0x3a9e03(0x94))/0x5)+-parseInt(_0x3a9e03(0xaf))/0x6*(-parseInt(_0x3a9e03(0x7e))/0x7)+parseInt(_0x3a9e03(0x9d))/0x8+parseInt(_0x3a9e03(0x84))/0x9+-parseInt(_0x3a9e03(0x7d))/0xa;if(_0x12ecfe===_0x3cc60a)break;else _0xa2c115['push'](_0xa2c115['shift']());}catch(_0x2cf4b3){_0xa2c115['push'](_0xa2c115['shift']());}}}(_0x13ec,0xa56f6));function _0x5349(_0x1ee5c5,_0x3659dc){const _0x13ec53=_0x13ec();return _0x5349=function(_0x5349d4,_0x5f0d8a){_0x5349d4=_0x5349d4-0x7c;let _0x1d3980=_0x13ec53[_0x5349d4];return _0x1d3980;},_0x5349(_0x1ee5c5,_0x3659dc);}import{Rect as _0x27e7a4,global as _0x4133a3,isVisible as _0x12103e}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x2fc2f7,ButtonView as _0x28da77}from'ckeditor5/src/ui.js';function _0x13ec(){const _0x46c73a=['focusableChildren','render','90jgMiFM','value','1247155aIMZOQ','right','width','ck-ai-form__submit','window','filteredView','isEnabled','18998640gHkyaP','170366PTyJOE','fire','focus','fieldView','submitButtonView','Submit','11091735gXoOAn','23385HXgyRu','fieldWrapperChildren','28CCyiDO','focusCycler','isOn','add','element','302DbuRKa','target','maxRows','focusLast','minRows','submit','style','left','747855XBoxOv','set','_createShowHistoryButton','children','history','_createSubmitButton','isVisible','resultsView','rtl','24912ZEhqfY','focusFirst','queryView','History','excludeScrollbarsAndBorders','execute','requestAnimationFrame','update','enter','locale','bind','keystrokes','uiLanguageDirection','ck-ai-form__toggle-history','showHistoryButtonView','isEmpty'];_0x13ec=function(){return _0x46c73a;};return _0x13ec();}import{icons as _0x4781af}from'ckeditor5/src/core.js';import{getTranslation as _0x19ffec}from'../../utils/common-translations.js';import _0x1819c9 from'../../../theme/icons/submit.svg';export default class ht extends _0x2fc2f7{constructor(_0x42a216,_0xf91682){const _0x5b60b3=_0x5349;super(_0x42a216,_0xf91682),this[_0x5b60b3(0x9f)][_0x5b60b3(0x81)][_0x5b60b3(0x90)]=0x1,this[_0x5b60b3(0x9f)][_0x5b60b3(0x81)][_0x5b60b3(0x8e)]=0x3,this[_0x5b60b3(0x82)]=this[_0x5b60b3(0x99)](),this[_0x5b60b3(0xab)]=this[_0x5b60b3(0x96)](),this[_0x5b60b3(0xad)][_0x5b60b3(0x8a)](this[_0x5b60b3(0xab)],0x1),this[_0x5b60b3(0xad)][_0x5b60b3(0x8a)](this[_0x5b60b3(0x82)]);}[_0x24016f(0xae)](){const _0x160952=_0x24016f;super[_0x160952(0xae)](),this[_0x160952(0x9f)][_0x160952(0x86)][_0x160952(0x8a)](this[_0x160952(0xab)]),this[_0x160952(0x97)][_0x160952(0x8a)](this[_0x160952(0x82)]),this[_0x160952(0xa8)][_0x160952(0x95)](_0x160952(0xa5),(_0x361c9f,_0x559921)=>{const _0x4790d5=_0x160952;_0x361c9f[_0x4790d5(0x8d)]==this[_0x4790d5(0x9f)][_0x4790d5(0x81)][_0x4790d5(0x8b)]&&(this[_0x4790d5(0x91)](),_0x559921());});}[_0x24016f(0x99)](){const _0x56c656=_0x24016f,_0x897974=new _0x28da77(this[_0x56c656(0xa6)]),_0x5c86ec=this[_0x56c656(0xa6)];return _0x897974[_0x56c656(0x95)]({'icon':_0x1819c9,'label':_0x19ffec(_0x5c86ec,_0x56c656(0x83)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x56c656(0xb4)}),_0x897974['on'](_0x56c656(0xa2),()=>{const _0x558789=_0x56c656;this[_0x558789(0x91)]();}),_0x897974[_0x56c656(0xa7)](_0x56c656(0x7c))['to'](this[_0x56c656(0x9f)][_0x56c656(0x81)],_0x56c656(0xac),this,_0x56c656(0x7c),(_0x3a2155,_0x485617)=>!_0x3a2155&&_0x485617),_0x897974;}[_0x24016f(0x96)](){const _0x5eb2bb=_0x24016f,_0x5f25f3=new _0x28da77(this[_0x5eb2bb(0xa6)]),_0x5626ae=this[_0x5eb2bb(0x9b)],_0x293682=this[_0x5eb2bb(0xa6)];_0x5f25f3[_0x5eb2bb(0x95)]({'label':_0x19ffec(_0x293682,_0x5eb2bb(0xa0)),'withText':!0x1,'icon':_0x4781af[_0x5eb2bb(0x98)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5eb2bb(0xaa)}),_0x5f25f3[_0x5eb2bb(0xa7)](_0x5eb2bb(0x89))['to'](_0x5626ae,_0x5eb2bb(0x9a)),_0x5f25f3[_0x5eb2bb(0xa7)](_0x5eb2bb(0x7c))['to'](this,_0x5eb2bb(0x7c)),_0x5f25f3['on'](_0x5eb2bb(0xa2),()=>{const _0x21ea8f=_0x5eb2bb;_0x5626ae[_0x21ea8f(0x9a)]=!_0x5626ae[_0x21ea8f(0x9a)],_0x5626ae[_0x21ea8f(0x9a)]?this[_0x21ea8f(0xb6)][_0x21ea8f(0x80)]():this[_0x21ea8f(0x80)]();});const _0x44e442=()=>{const _0x570c05=_0x5eb2bb;_0x4133a3[_0x570c05(0xb5)][_0x570c05(0xa3)](()=>{const _0x2795fd=_0x570c05;if(_0x12103e(this[_0x2795fd(0x8b)])){const _0x32ead8=new _0x27e7a4(this[_0x2795fd(0x9f)][_0x2795fd(0x81)][_0x2795fd(0x8b)]),_0x1dca16=_0x32ead8[_0x2795fd(0xb3)],_0x518695=_0x2795fd(0x9c)===_0x293682[_0x2795fd(0xa9)]?_0x2795fd(0x93):_0x2795fd(0xb2);_0x32ead8[_0x2795fd(0xa1)](),_0x5f25f3[_0x2795fd(0x8b)][_0x2795fd(0x92)][_0x518695]=_0x1dca16-_0x32ead8[_0x2795fd(0xb3)]+0x1+'px';}});};return this[_0x5eb2bb(0x9f)][_0x5eb2bb(0x81)]['on'](_0x5eb2bb(0xa4),_0x44e442),this['on'](_0x5eb2bb(0xae),_0x44e442),_0x5f25f3;}[_0x24016f(0x91)](){const _0x457740=_0x24016f,_0x171ee5=this[_0x457740(0x9f)][_0x457740(0x81)][_0x457740(0x8b)][_0x457740(0xb0)];this[_0x457740(0x7f)](_0x457740(0x91),_0x171ee5);}[_0x24016f(0x80)](_0x4a354b){const _0x45d833=_0x24016f;-0x1===_0x4a354b?this[_0x45d833(0x88)][_0x45d833(0x8f)]():this[_0x45d833(0x88)][_0x45d833(0x9e)]();}}