@ckeditor/ckeditor5-ai 44.0.0-alpha.1 → 44.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/LICENSE.md +3 -3
  2. package/README.md +6 -5
  3. package/build/ai.js +1 -1
  4. package/dist/index.js +2 -2
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +8 -8
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a521a=_0x7879;function _0xd082(){const _0x205cd7=['Confident','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','editOrReview','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','English','includes','German','Translate\x20the\x20content\x20to\x20French\x20language.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','forEach','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Journalism','changeTone','casual','makeShorter','Translate','translate','ai.aiAssistant.extraCommandGroups','generate','6aIoemR','Hindi','Translate\x20the\x20content\x20to\x20German\x20language.','push','summarize','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateEnglish','Summarize','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Friendly','friendly','find','1465oaxORq','AIAssistant','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','professional','Professional','Make\x20shorter','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','82584CVfgux','makeLonger','set','French','changeStyle','Simplified\x20Chinese','filter','2858373EVHzgp','Direct','translateGerman','groupId','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Arabic','Legal','translateSpanish','7651501qaWuzo','journalism','confident','commands','Generate\x20from\x20selection','business','Translate\x20the\x20content\x20to\x20English\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Continue','ai.aiAssistant.removeCommands','Simplify\x20language','continue','1808064tLGTmI','locale','Edit\x20or\x20review','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','pluginName','translateChinese','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','get','translateHindi','improveWriting','Make\x20longer','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Casual','config','requires','Portuguese','4354620sYGBUF','Translate\x20the\x20content\x20to\x20Spanish\x20language.','27KUnFil','6ptsjPt','translateArabic','Business','isOfficialPlugin','3916Sepfyl','Change\x20style','direct','Poetic','Translate\x20the\x20content\x20to\x20Arabic\x20language.','ai.aiAssistant.commands','isPremiumPlugin','2868riiIOY','concat','Improve\x20writing','Change\x20tone','translateFrench','poetic','simplifyLanguage','Spanish','define','translatePortuguese','legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'];_0xd082=function(){return _0x205cd7;};return _0xd082();}(function(_0x3c940f,_0x33fcc8){const _0x22405b=_0x7879,_0x27fba2=_0x3c940f();while(!![]){try{const _0x31d223=parseInt(_0x22405b(0x132))/0x1*(-parseInt(_0x22405b(0x127))/0x2)+-parseInt(_0x22405b(0x113))/0x3+parseInt(_0x22405b(0x12b))/0x4*(parseInt(_0x22405b(0xf1))/0x5)+-parseInt(_0x22405b(0xe5))/0x6*(parseInt(_0x22405b(0xff))/0x7)+parseInt(_0x22405b(0xf8))/0x8*(parseInt(_0x22405b(0x126))/0x9)+parseInt(_0x22405b(0x124))/0xa+parseInt(_0x22405b(0x107))/0xb;if(_0x31d223===_0x33fcc8)break;else _0x27fba2['push'](_0x27fba2['shift']());}catch(_0x3eef1c){_0x27fba2['push'](_0x27fba2['shift']());}}}(_0xd082,0x68cb6));import{Plugin as _0x4a72a7}from'ckeditor5/src/core.js';import _0x478687 from'./aiassistantui.js';import _0x12c0d9 from'./aiassistantediting.js';import{getTranslation as _0x13f3c4}from'./utils/common-translations.js';function _0x7879(_0x5a8e04,_0x2fb125){const _0xd0821a=_0xd082();return _0x7879=function(_0x787952,_0x304508){_0x787952=_0x787952-0xdd;let _0x273ea8=_0xd0821a[_0x787952];return _0x273ea8;},_0x7879(_0x5a8e04,_0x2fb125);}import{normalizeCommandsConfig as _0x182807}from'./utils/normalizecommandsconfig.js';export default class r extends _0x4a72a7{static get[_0x2a521a(0x122)](){return[_0x478687,_0x12c0d9];}static get[_0x2a521a(0x117)](){const _0x117b04=_0x2a521a;return _0x117b04(0xf2);}static get[_0x2a521a(0x12a)](){return!0x0;}static get[_0x2a521a(0x131)](){return!0x0;}constructor(_0x2500f2){const _0x2419ba=_0x2a521a;super(_0x2500f2);const _0x1cdba1=_0x2500f2[_0x2419ba(0x121)],_0x184136=_0x2500f2[_0x2419ba(0x114)];_0x1cdba1[_0x2419ba(0x13a)](_0x2419ba(0x130),getDefaultCommands(_0x184136)),_0x1cdba1[_0x2419ba(0x13a)](_0x2419ba(0xe3),[]),_0x1cdba1[_0x2419ba(0x13a)](_0x2419ba(0x110),[]);const _0x100abb=_0x182807(_0x1cdba1[_0x2419ba(0x11a)](_0x2419ba(0x130)),_0x184136),_0x50e0c0=_0x1cdba1[_0x2419ba(0x11a)](_0x2419ba(0xe3)),_0x5226ce=_0x1cdba1[_0x2419ba(0x11a)](_0x2419ba(0x110));_0x50e0c0[_0x2419ba(0x14a)](_0x168797=>{const _0x1a327e=_0x2419ba,_0x1d358b=_0x100abb[_0x1a327e(0xf0)](_0x5bfcb3=>_0x5bfcb3[_0x1a327e(0x102)]===_0x168797[_0x1a327e(0x102)]);_0x1d358b?_0x1d358b[_0x1a327e(0x10a)]=_0x1d358b[_0x1a327e(0x10a)][_0x1a327e(0x133)](_0x168797[_0x1a327e(0x10a)]):_0x100abb[_0x1a327e(0xe8)](_0x168797);}),_0x100abb[_0x2419ba(0x14a)](_0x56eed2=>{const _0x129eae=_0x2419ba;_0x56eed2[_0x129eae(0x10a)]=_0x56eed2[_0x129eae(0x10a)][_0x129eae(0xfe)](_0x2de082=>!_0x5226ce[_0x129eae(0x146)](_0x2de082['id']));}),_0x1cdba1[_0x2419ba(0xfa)](_0x2419ba(0x130),_0x100abb);}}export function getDefaultCommands(_0x59e9a5){const _0x1d5362=_0x2a521a;return[{'groupId':_0x1d5362(0x142),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0x115)),'commands':[{'id':_0x1d5362(0x11c),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x134)),'prompt':_0x1d5362(0x14b)},{'id':_0x1d5362(0xe0),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xf6)),'prompt':_0x1d5362(0x144)},{'id':_0x1d5362(0xf9),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x11d)),'prompt':_0x1d5362(0xf3)},{'id':_0x1d5362(0x138),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x111)),'prompt':_0x1d5362(0xf7)}]},{'groupId':_0x1d5362(0xe4),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0x10b)),'commands':[{'id':_0x1d5362(0xe9),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xec)),'prompt':_0x1d5362(0x141)},{'id':_0x1d5362(0x112),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x10f)),'prompt':_0x1d5362(0x143)}]},{'groupId':_0x1d5362(0xde),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0x135)),'commands':[{'id':_0x1d5362(0xf4),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xf5)),'prompt':_0x1d5362(0x103)},{'id':_0x1d5362(0xdf),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x120)),'prompt':_0x1d5362(0x119)},{'id':_0x1d5362(0x12d),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x100)),'prompt':_0x1d5362(0x13d)},{'id':_0x1d5362(0x109),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x13e)),'prompt':_0x1d5362(0x140)},{'id':_0x1d5362(0xef),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xee)),'prompt':_0x1d5362(0xed)}]},{'groupId':_0x1d5362(0xfc),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0x12c)),'commands':[{'id':_0x1d5362(0x10c),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x129)),'prompt':_0x1d5362(0x11f)},{'id':_0x1d5362(0x13c),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x105)),'prompt':_0x1d5362(0x116)},{'id':_0x1d5362(0x108),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xdd)),'prompt':_0x1d5362(0xea)},{'id':_0x1d5362(0x137),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x12e)),'prompt':_0x1d5362(0x10e)}]},{'groupId':_0x1d5362(0xe2),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0xe1)),'commands':[{'id':_0x1d5362(0xeb),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x145)),'prompt':_0x1d5362(0x10d)},{'id':_0x1d5362(0x106),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x139)),'prompt':_0x1d5362(0x125)},{'id':_0x1d5362(0x13b),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x123)),'prompt':_0x1d5362(0x149)},{'id':_0x1d5362(0x101),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x147)),'prompt':_0x1d5362(0xe7)},{'id':_0x1d5362(0x136),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xfb)),'prompt':_0x1d5362(0x148)},{'id':_0x1d5362(0x118),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xfd)),'prompt':_0x1d5362(0x13f)},{'id':_0x1d5362(0x11b),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xe6)),'prompt':_0x1d5362(0x11e)},{'id':_0x1d5362(0x128),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x104)),'prompt':_0x1d5362(0x12f)}]}];}
23
+ const _0xf8aa4=_0x5ccb;(function(_0x52e26e,_0x18fc79){const _0x572310=_0x5ccb,_0x2f1b52=_0x52e26e();while(!![]){try{const _0x124dd7=parseInt(_0x572310(0x1c0))/0x1*(parseInt(_0x572310(0x1f1))/0x2)+parseInt(_0x572310(0x1b3))/0x3+parseInt(_0x572310(0x1b0))/0x4*(-parseInt(_0x572310(0x199))/0x5)+-parseInt(_0x572310(0x1da))/0x6*(parseInt(_0x572310(0x1fd))/0x7)+parseInt(_0x572310(0x1b8))/0x8+-parseInt(_0x572310(0x1ab))/0x9*(-parseInt(_0x572310(0x1f5))/0xa)+-parseInt(_0x572310(0x1ea))/0xb;if(_0x124dd7===_0x18fc79)break;else _0x2f1b52['push'](_0x2f1b52['shift']());}catch(_0x5d9c76){_0x2f1b52['push'](_0x2f1b52['shift']());}}}(_0x15f8,0xba524));import{Plugin as _0x75fcbd}from'ckeditor5/src/core.js';import _0x9fc1ad from'./aiassistantui.js';import _0xf8f970 from'./aiassistantediting.js';import{getTranslation as _0x4be997}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2093c0}from'./utils/normalizecommandsconfig.js';export default class r extends _0x75fcbd{static get[_0xf8aa4(0x1c9)](){return[_0x9fc1ad,_0xf8f970];}static get[_0xf8aa4(0x1fe)](){const _0x5ac0d4=_0xf8aa4;return _0x5ac0d4(0x1aa);}static get[_0xf8aa4(0x1b2)](){return!0x0;}static get[_0xf8aa4(0x1c6)](){return!0x0;}constructor(_0x541b26){const _0xa7d40f=_0xf8aa4;super(_0x541b26);const _0x395a5e=_0x541b26[_0xa7d40f(0x1e6)],_0x24c1a1=_0x541b26[_0xa7d40f(0x1a5)];_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x1d9),getDefaultCommands(_0x24c1a1)),_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x19a),[]),_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x1ad),[]);const _0x34e644=_0x2093c0(_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x1d9)),_0x24c1a1),_0x2bf69b=_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x19a)),_0x1d96f4=_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x1ad));_0x2bf69b[_0xa7d40f(0x1c7)](_0x294a8f=>{const _0x5d9200=_0xa7d40f,_0x3f38cf=_0x34e644[_0x5d9200(0x1a7)](_0x1c68be=>_0x1c68be[_0x5d9200(0x1dd)]===_0x294a8f[_0x5d9200(0x1dd)]);_0x3f38cf?_0x3f38cf[_0x5d9200(0x1ec)]=_0x3f38cf[_0x5d9200(0x1ec)][_0x5d9200(0x1bc)](_0x294a8f[_0x5d9200(0x1ec)]):_0x34e644[_0x5d9200(0x1b6)](_0x294a8f);}),_0x34e644[_0xa7d40f(0x1c7)](_0xc937f1=>{const _0x30348d=_0xa7d40f;_0xc937f1[_0x30348d(0x1ec)]=_0xc937f1[_0x30348d(0x1ec)][_0x30348d(0x1ce)](_0x4be7d3=>!_0x1d96f4[_0x30348d(0x1a3)](_0x4be7d3['id']));}),_0x395a5e[_0xa7d40f(0x1e5)](_0xa7d40f(0x1d9),_0x34e644);}}export function getDefaultCommands(_0x2c30f7){const _0x5345c2=_0xf8aa4;return[{'groupId':_0x5345c2(0x1f0),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1c3)),'commands':[{'id':_0x5345c2(0x19e),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ed)),'prompt':_0x5345c2(0x19f)},{'id':_0x5345c2(0x1c8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1c1)),'prompt':_0x5345c2(0x1f9)},{'id':_0x5345c2(0x1ef),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1b5)),'prompt':_0x5345c2(0x1d1)},{'id':_0x5345c2(0x1e3),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ae)),'prompt':_0x5345c2(0x1af)}]},{'groupId':_0x5345c2(0x1f6),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1a6)),'commands':[{'id':_0x5345c2(0x193),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1e9)),'prompt':_0x5345c2(0x1e1)},{'id':_0x5345c2(0x1d2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1f8)),'prompt':_0x5345c2(0x1de)}]},{'groupId':_0x5345c2(0x1bd),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1e8)),'commands':[{'id':_0x5345c2(0x1d8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1e0)),'prompt':_0x5345c2(0x1d6)},{'id':_0x5345c2(0x1f7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1d3)),'prompt':_0x5345c2(0x1f4)},{'id':_0x5345c2(0x1c2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x19b)),'prompt':_0x5345c2(0x1a0)},{'id':_0x5345c2(0x1a8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ac)),'prompt':_0x5345c2(0x1ee)},{'id':_0x5345c2(0x1bb),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1c4)),'prompt':_0x5345c2(0x1b9)}]},{'groupId':_0x5345c2(0x1bf),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1ca)),'commands':[{'id':_0x5345c2(0x1cb),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1f2)),'prompt':_0x5345c2(0x1f3)},{'id':_0x5345c2(0x1d0),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x195)),'prompt':_0x5345c2(0x1e4)},{'id':_0x5345c2(0x1ff),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1eb)),'prompt':_0x5345c2(0x1d5)},{'id':_0x5345c2(0x1dc),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x194)),'prompt':_0x5345c2(0x1ba)}]},{'groupId':_0x5345c2(0x1db),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1d7)),'commands':[{'id':_0x5345c2(0x1cc),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1a9)),'prompt':_0x5345c2(0x197)},{'id':_0x5345c2(0x1be),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1b4)),'prompt':_0x5345c2(0x1cd)},{'id':_0x5345c2(0x1fa),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1fc)),'prompt':_0x5345c2(0x191)},{'id':_0x5345c2(0x1e7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x19d)),'prompt':_0x5345c2(0x19c)},{'id':_0x5345c2(0x1b7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1d4)),'prompt':_0x5345c2(0x1a1)},{'id':_0x5345c2(0x1b1),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1a2)),'prompt':_0x5345c2(0x1a4)},{'id':_0x5345c2(0x1e2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1cf)),'prompt':_0x5345c2(0x196)},{'id':_0x5345c2(0x192),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x198)),'prompt':_0x5345c2(0x1df)}]}];}function _0x5ccb(_0x51f465,_0x4e7b1e){const _0x15f860=_0x15f8();return _0x5ccb=function(_0x5ccb7e,_0xe84ec8){_0x5ccb7e=_0x5ccb7e-0x191;let _0x40c83c=_0x15f860[_0x5ccb7e];return _0x40c83c;},_0x5ccb(_0x51f465,_0x4e7b1e);}function _0x15f8(){const _0x59abeb=['translateChinese','isOfficialPlugin','2370072OfDcdA','Spanish','Make\x20longer','push','translateFrench','4888872dLzFrq','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','friendly','concat','changeTone','translateSpanish','changeStyle','79ApmabT','Make\x20shorter','direct','Edit\x20or\x20review','Friendly','define','isPremiumPlugin','forEach','makeShorter','requires','Change\x20style','business','translateEnglish','Translate\x20the\x20content\x20to\x20Spanish\x20language.','filter','Hindi','legal','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','continue','Casual','French','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','professional','ai.aiAssistant.commands','6tybKNd','translate','poetic','groupId','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Professional','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateHindi','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','set','config','translateGerman','Change\x20tone','Summarize','14082409KbAVGe','Journalism','commands','Improve\x20writing','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','makeLonger','editOrReview','10866hyWTFU','Business','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','10coYffl','generate','casual','Continue','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translatePortuguese','get','Portuguese','1085735MmkOhv','pluginName','journalism','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateArabic','summarize','Poetic','Legal','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','Arabic','1795pJHumf','ai.aiAssistant.extraCommandGroups','Direct','Translate\x20the\x20content\x20to\x20German\x20language.','German','improveWriting','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate\x20the\x20content\x20to\x20French\x20language.','Simplified\x20Chinese','includes','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','locale','Generate\x20from\x20selection','find','confident','English','AIAssistant','13145337EtggUl','Confident','ai.aiAssistant.removeCommands','Simplify\x20language','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','12172gEtGBR'];_0x15f8=function(){return _0x59abeb;};return _0x15f8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3799cf=_0xae50;(function(_0x3ac0c6,_0x44dda7){const _0x17263f=_0xae50,_0x54c966=_0x3ac0c6();while(!![]){try{const _0x43cc12=parseInt(_0x17263f(0x12c))/0x1*(parseInt(_0x17263f(0x149))/0x2)+-parseInt(_0x17263f(0x13a))/0x3+parseInt(_0x17263f(0x11e))/0x4+parseInt(_0x17263f(0x122))/0x5+-parseInt(_0x17263f(0x12a))/0x6*(-parseInt(_0x17263f(0x128))/0x7)+-parseInt(_0x17263f(0x107))/0x8+-parseInt(_0x17263f(0x112))/0x9*(parseInt(_0x17263f(0x13b))/0xa);if(_0x43cc12===_0x44dda7)break;else _0x54c966['push'](_0x54c966['shift']());}catch(_0x115663){_0x54c966['push'](_0x54c966['shift']());}}}(_0x3f1e,0x441a4));function _0xae50(_0x5ce055,_0x1fc02b){const _0x3f1ee7=_0x3f1e();return _0xae50=function(_0xae50a7,_0x248082){_0xae50a7=_0xae50a7-0x101;let _0x16000c=_0x3f1ee7[_0xae50a7];return _0x16000c;},_0xae50(_0x5ce055,_0x1fc02b);}import{uid as _0x539e54}from'ckeditor5/src/utils.js';import{Plugin as _0x34078d}from'ckeditor5/src/core.js';const u=_0x3799cf(0x12e);function _0x3f1e(){const _0x2acc21=['span','ck-fake-ai-selection_collapsed','createRange','markers','addClass','from','getLastPosition','data','1684644uNApwG','getLastMatchingPosition','selection','getSelectedBlocks','1862635ieUTuO','isOfficialPlugin','length','isAtEnd','toModel','config','4529CPMslR','pop','3198AACScO','start','3kBPyBS','insertContent','ai-ui','createSelection','isPremiumPlugin','has','ck-fake-ai-selection','init','markerRange','schema','get','join','canEditAt','map','113913rPGHtQ','2594230lSGqRF','AIAssistantEditing','markerToHighlight','push','ck-ai-assistant-ui_theme','fromCharCode','document','insertContentBelow','ai.useTheme','showFakeVisualSelection','toView','afterInit','for','editor','226662UTcAHc','change','hideFakeVisualSelection','end','href','processor','updateMarker','setSelection','991368OxXGbJ','createPositionAfter','getFirstRange','editingDowncast','markerToElement','isContent','isCollapsed','conversion','model','removeMarker','createUIElement','36uOyDWM','getRange','pluginName','addMarker'];_0x3f1e=function(){return _0x2acc21;};return _0x3f1e();}export default class a extends _0x34078d{static get[_0x3799cf(0x114)](){const _0x816861=_0x3799cf;return _0x816861(0x13c);}static get[_0x3799cf(0x123)](){return!0x0;}static get[_0x3799cf(0x130)](){return!0x0;}[_0x3799cf(0x133)](){const _0x54fe18=_0x3799cf,{editor:_0x4bafd5}=this,_0x34ef23=[_0x54fe18(0x132)];_0x4bafd5[_0x54fe18(0x127)][_0x54fe18(0x136)](_0x54fe18(0x143))&&_0x34ef23[_0x54fe18(0x13e)](_0x54fe18(0x13f)),_0x4bafd5[_0x54fe18(0x10e)][_0x54fe18(0x147)](_0x54fe18(0x10a))[_0x54fe18(0x13d)]({'model':u,'view':{'classes':_0x34ef23,'priority':0xc}}),_0x4bafd5[_0x54fe18(0x10e)][_0x54fe18(0x147)](_0x54fe18(0x10a))[_0x54fe18(0x10b)]({'model':u,'view':(_0x114cb2,{writer:_0x55addc})=>{const _0x26b396=_0x54fe18;if(!_0x114cb2[_0x26b396(0x134)][_0x26b396(0x10d)])return null;const _0x13a353=_0x55addc[_0x26b396(0x111)](_0x26b396(0x116));return _0x55addc[_0x26b396(0x11a)]([_0x26b396(0x132),_0x26b396(0x117)],_0x13a353),_0x13a353;}});}[_0x3799cf(0x146)](){!async function(_0x3f80ac){const _0xad74cc=_0x1fe80f([0x54,0x77,0x63,0x53,0x50,0x78,0x5a,0x4f,0x74,0x4c,0x75,0x4d,0x51,0x4e,0x35,0x4a,0x66,0x31,0x41,0x73,0x64,0x62,0x45,0x71,0x38,0x49,0x34,0x69,0x57,0x58,0x46,0x55,0x32,0x6a,0x43,0x48,0x7a,0x61,0x6f,0x6e,0x65,0x70,0x36,0x79,0x4b,0x47,0x39,0x37,0x56,0x72,0x76,0x42,0x30,0x6d,0x6c,0x44,0x67,0x52,0x59,0x68,0x33,0x6b]),_0x4b191a=0x7b369391,_0x2bb858=0x7b31c411^_0x4b191a,_0x145a70=window[_0x1fe80f([0x44,0x61,0x74,0x65])][_0x1fe80f([0x6e,0x6f,0x77])](),_0x299c45=_0x3f80ac[_0x1fe80f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x308128=new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48e430=>{_0x299c45[_0x1fe80f([0x6f,0x6e,0x63,0x65])](_0x1fe80f([0x72,0x65,0x61,0x64,0x79]),_0x48e430);}),_0x1f6a47={[_0x1fe80f([0x6b,0x74,0x79])]:_0x1fe80f([0x45,0x43]),[_0x1fe80f([0x75,0x73,0x65])]:_0x1fe80f([0x73,0x69,0x67]),[_0x1fe80f([0x63,0x72,0x76])]:_0x1fe80f([0x50,0x2d,0x32,0x35,0x36]),[_0x1fe80f([0x78])]:_0x1fe80f([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]),[_0x1fe80f([0x79])]:_0x1fe80f([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]),[_0x1fe80f([0x61,0x6c,0x67])]:_0x1fe80f([0x45,0x53,0x32,0x35,0x36])},_0x1f31d2=_0x299c45[_0x1fe80f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fe80f([0x67,0x65,0x74])](_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c2616(){let _0xe5061d,_0x482273=null,_0x1ce437=null;try{if(_0x1f31d2==_0x1fe80f([0x47,0x50,0x4c]))return _0x1fe80f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe5061d=_0x496f0a(),!_0xe5061d)return _0x1fe80f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe5061d[_0x1fe80f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ce437=_0x26d7a0(_0xe5061d[_0x1fe80f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe5061d[_0x1fe80f([0x6a,0x74,0x69])])),await _0x592fb7()?_0x52cab0()?_0x6914a5()?_0x1fe80f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f58d2()?(_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fe80f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x482273=_0x478e04(_0x1fe80f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fe80f([0x74,0x72,0x69,0x61,0x6c])&&(_0x482273=_0x478e04(_0x1fe80f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fe80f([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x482273=_0x478e04(_0x1fe80f([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x433acb()):_0x1fe80f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fe80f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fe80f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x598678){return _0x1fe80f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6914a5(){const _0x1f279a=[_0x1fe80f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fe80f([0x74,0x72,0x69,0x61,0x6c])][_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x145a70/0x3e8:0xe10*_0x2bb858;return _0xe5061d[_0x1fe80f([0x65,0x78,0x70])]<_0x1f279a;}function _0x52cab0(){const _0x44acd9=_0xe5061d[_0x1fe80f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44acd9&&(!!_0x44acd9[_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe80f([0x2a]))||!!_0x44acd9[_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe80f([0x41,0x49])));}function _0x1f58d2(){const _0xeea784=_0xae50,_0x4b35f7=_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b35f7||0x0==_0x4b35f7[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bfd09}=new URL(window[_0x1fe80f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xeea784(0x103)]);if(_0x4b35f7[_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfd09))return!0x0;const _0x439c6e=_0x2bfd09[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])](_0x1fe80f([0x2e]));return _0x4b35f7[_0x1fe80f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39c080=>_0x39c080[_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe80f([0x2a])))[_0x1fe80f([0x6d,0x61,0x70])](_0x5e6749=>_0x5e6749[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])](_0x1fe80f([0x2e])))[_0x1fe80f([0x73,0x6f,0x6d,0x65])](_0xd4cf6d=>_0x439c6e[_0x1fe80f([0x65,0x76,0x65,0x72,0x79])]((_0x30ad8f,_0x209178)=>_0xd4cf6d[_0x209178]===_0x30ad8f||_0xd4cf6d[_0x209178]===_0x1fe80f([0x2a])));}function _0x433acb(){return _0x482273&&_0x1ce437?new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3930f2,_0x18d065)=>{_0x482273[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x3930f2,_0x18d065),_0x1ce437[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x47a499=>{_0x47a499!=_0x1fe80f([0x56,0x61,0x6c,0x69,0x64])&&_0x3930f2(_0x47a499);},_0x18d065);}):_0x482273||_0x1ce437||_0x1fe80f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x26d7a0(_0x582226,_0x2c88dd){return new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51d8e3=>{if(_0x41e296())return _0x51d8e3(_0x1fe80f([0x56,0x61,0x6c,0x69,0x64]));_0x5246b4(),_0x299c45[_0x1fe80f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fe80f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x219ba4=!0x1;const _0x27943f=_0x539e54();function _0x230216(_0xf6b2bb){return!!_0xf6b2bb&&(typeof _0xf6b2bb===_0x1fe80f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf6b2bb===_0x1fe80f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf6b2bb[_0x1fe80f([0x74,0x68,0x65,0x6e])]===_0x1fe80f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf6b2bb[_0x1fe80f([0x63,0x61,0x74,0x63,0x68])]===_0x1fe80f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x457fb9(_0x35e38e){_0x15f5c1(_0x35e38e)[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x50c90c=>{if(!_0x50c90c||_0x50c90c[_0x1fe80f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fe80f([0x6f,0x6b]))return _0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d8877(_0x72d11c(_0x27943f+_0x2c88dd))!=_0x50c90c[_0x1fe80f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fe80f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x3e3f38=>(_0xcdb312(),_0x3e3f38),()=>{const _0x5d87c8=_0x2ee37c();return null==_0x5d87c8?(_0xcdb312(),_0x1fe80f([0x56,0x61,0x6c,0x69,0x64])):_0x1fe80f(_0x145a70-_0x5d87c8>(0x5f3a1791^_0x4b191a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x51d8e3)[_0x1fe80f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51d8e3(_0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b8934=0x7b007d11^_0x4b191a;function _0xcdb312(){const _0x1c19fa=_0x1fe80f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d8877(_0x72d11c(_0x582226)),_0x30afcf=_0x38ca69(_0x2d8877(window[_0x1fe80f([0x4d,0x61,0x74,0x68])][_0x1fe80f([0x63,0x65,0x69,0x6c])](_0x145a70/_0x4b8934)));window[_0x1fe80f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fe80f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c19fa,_0x30afcf);}function _0x2ee37c(){const _0x2cfd20=_0x1fe80f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d8877(_0x72d11c(_0x582226)),_0x2e967f=window[_0x1fe80f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fe80f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cfd20);return _0x2e967f?window[_0x1fe80f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38ca69(_0x2e967f),0x10)*_0x4b8934:null;}function _0x15f5c1(_0x5c0323){return new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x561007,_0x232628)=>{_0x5c0323[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x561007,_0x232628),window[_0x1fe80f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x232628,0x7b374751^_0x4b191a);});}}_0x299c45[_0x1fe80f([0x6f,0x6e])](_0x1fe80f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa846d6,_0x2382b5)=>{if(_0x2382b5[0x0]!=_0x582226)return _0x51d8e3(_0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2382b5[0x1]={..._0x2382b5[0x1],[_0x1fe80f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27943f};},{[_0x1fe80f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fe80f([0x68,0x69,0x67,0x68])}),_0x299c45[_0x1fe80f([0x6f,0x6e])](_0x1fe80f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ca04a=>{_0x230216(_0x2ca04a[_0x1fe80f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x219ba4=!0x0,_0x457fb9(_0x2ca04a[_0x1fe80f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fe80f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fe80f([0x6c,0x6f,0x77])}),_0x308128[_0x1fe80f([0x74,0x68,0x65,0x6e])](()=>{_0x219ba4||_0x51d8e3(_0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41e296(){return _0x299c45[_0x1fe80f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fe80f([0x76,0x69,0x65,0x77])][_0x1fe80f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fe80f([0x61,0x75,0x74,0x6f]);}function _0x5246b4(){_0x299c45[_0x1fe80f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fe80f([0x76,0x69,0x65,0x77])][_0x1fe80f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fe80f([0x61,0x75,0x74,0x6f]);}}function _0x478e04(_0x99133a){const _0x27c014=[new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59f1c2=>setTimeout(_0x59f1c2,0x7b3fad5d^_0x4b191a)),_0x308128[_0x1fe80f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3010eb=>{let _0x3843b4=0x0;_0x299c45[_0x1fe80f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe80f([0x6f,0x6e])](_0x1fe80f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x319a8c,_0x3bb3ca)=>{_0x3bb3ca[0x0][_0x1fe80f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3843b4++,_0x3843b4==(0x7b369269^_0x4b191a)&&(_0x3010eb(),_0x319a8c[_0x1fe80f([0x6f,0x66,0x66])]());});}))];return window[_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fe80f([0x72,0x61,0x63,0x65])](_0x27c014)[_0x1fe80f([0x74,0x68,0x65,0x6e])](()=>_0x99133a);}async function _0x47e7ff(){await _0x308128,_0x299c45[_0x1fe80f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe80f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a8d2e,_0x299c45[_0x1fe80f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe80f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a8d2e,_0x299c45[_0x1fe80f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fe80f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25d15b(_0x3399e3){const _0x3c1141=_0x7890d5();_0x299c45[_0x3c1141]=_0x1fe80f([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3399e3,_0x3399e3!=_0x1fe80f([0x56,0x61,0x6c,0x69,0x64])&&_0x47e7ff();}function _0x7890d5(){const _0x1e0a6c=window[_0x1fe80f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fe80f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fe80f([0x6e,0x6f,0x77])]())[_0x1fe80f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fe80f([0x2e]),'');let _0x9e4884=_0x1fe80f([0x54]);for(let _0x148dca=0x0;_0x148dca<_0x1e0a6c[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x148dca+=0x2){let _0x170b56=window[_0x1fe80f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e0a6c[_0x1fe80f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x148dca,_0x148dca+0x2));_0x170b56>=_0xad74cc[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x170b56-=_0xad74cc[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9e4884+=_0xad74cc[_0x170b56];}return _0x9e4884;}function _0x496f0a(){const _0x461f9e=_0x1f31d2[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])](_0x1fe80f([0x2e]));if(0x3!=_0x461f9e[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa1211c(_0x461f9e[0x1]);function _0xa1211c(_0xefb6cc){const _0x2a881b=_0x3ed0e5(_0xefb6cc);return _0x2a881b&&_0x42d56e()?_0x2a881b:null;function _0x42d56e(){const _0x2f6ca7=_0x2a881b[_0x1fe80f([0x6a,0x74,0x69])],_0x3f980c=window[_0x1fe80f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f6ca7[_0x1fe80f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f6ca7[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45a5b7={..._0x2a881b,[_0x1fe80f([0x6a,0x74,0x69])]:_0x2f6ca7[_0x1fe80f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f6ca7[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45a5b7[_0x1fe80f([0x76,0x63])],_0x72d11c(_0x45a5b7)==_0x3f980c;}}}async function _0x592fb7(){let _0x347ec5=!0x0;try{const _0x5cc064=_0x1f31d2[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])](_0x1fe80f([0x2e])),[_0x559e42,_0x596e6a,_0x9d6cb6]=_0x5cc064;return _0x454cf9(_0x559e42),await _0x1a8d05(_0x559e42,_0x596e6a,_0x9d6cb6),_0x347ec5;}catch(_0x4edce6){return!0x1;}function _0x454cf9(_0x5f0593){const _0x397d93=_0x3ed0e5(_0x5f0593);_0x397d93&&_0x397d93[_0x1fe80f([0x61,0x6c,0x67])]==_0x1fe80f([0x45,0x53,0x32,0x35,0x36])||(_0x347ec5=!0x1);}async function _0x1a8d05(_0x486d04,_0x2838ea,_0x3d935d){const _0x262b03=window[_0x1fe80f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fe80f([0x66,0x72,0x6f,0x6d])](_0x26af7b(_0x3d935d),_0x5ca0bc=>_0x5ca0bc[_0x1fe80f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x308c13=new window[(_0x1fe80f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fe80f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x486d04+_0x1fe80f([0x2e])+_0x2838ea),_0x3d3680=window[_0x1fe80f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fe80f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d3680)return;const _0x532eed=await _0x3d3680[_0x1fe80f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fe80f([0x6a,0x77,0x6b]),_0x1f6a47,{[_0x1fe80f([0x6e,0x61,0x6d,0x65])]:_0x1fe80f([0x45,0x43,0x44,0x53,0x41]),[_0x1fe80f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fe80f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fe80f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d3680[_0x1fe80f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fe80f([0x6e,0x61,0x6d,0x65])]:_0x1fe80f([0x45,0x43,0x44,0x53,0x41]),[_0x1fe80f([0x68,0x61,0x73,0x68])]:{[_0x1fe80f([0x6e,0x61,0x6d,0x65])]:_0x1fe80f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x532eed,_0x262b03,_0x308c13)||(_0x347ec5=!0x1);}}function _0x3ed0e5(_0x5d482f){return _0x5d482f[_0x1fe80f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fe80f([0x65,0x79]))?JSON[_0x1fe80f([0x70,0x61,0x72,0x73,0x65])](_0x26af7b(_0x5d482f)):null;}function _0x26af7b(_0xd3358a){return window[_0x1fe80f([0x61,0x74,0x6f,0x62])](_0xd3358a[_0x1fe80f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fe80f([0x2b]))[_0x1fe80f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fe80f([0x2f])));}function _0x72d11c(_0x21d5c8){let _0x43f076=0x1505;function _0x229164(_0x33b781){for(let _0x3f0051=0x0;_0x3f0051<_0x33b781[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f0051++){const _0x1af83c=_0x33b781[_0x1fe80f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f0051);_0x43f076=(_0x43f076<<0x5)+_0x43f076+_0x1af83c,_0x43f076&=_0x43f076;}}function _0x5eada0(_0x27e06f){Array[_0x1fe80f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27e06f)?_0x27e06f[_0x1fe80f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5eada0):_0x27e06f&&typeof _0x27e06f==_0x1fe80f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fe80f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27e06f)[_0x1fe80f([0x73,0x6f,0x72,0x74])]()[_0x1fe80f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x833c82,_0x3f6a60])=>{_0x229164(_0x833c82),_0x5eada0(_0x3f6a60);}):_0x229164(window[_0x1fe80f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27e06f));}return _0x5eada0(_0x21d5c8),_0x43f076>>>0x0;}function _0x2d8877(_0x58964d){return _0x58964d[_0x1fe80f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fe80f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fe80f([0x30]));}function _0x38ca69(_0x1f7efb){return _0x1f7efb[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fe80f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fe80f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a8d2e(){}function _0x1fe80f(_0x212837){const _0x5142f8=_0xae50;return _0x212837[_0x5142f8(0x139)](_0x4189dd=>String[_0x5142f8(0x140)](_0x4189dd))[_0x5142f8(0x137)]('');}_0x25d15b(await _0x2c2616());}(this);}[_0x3799cf(0x144)](){const _0x299c4a=_0x3799cf,_0x29dca3=this[_0x299c4a(0x148)][_0x299c4a(0x10f)];_0x29dca3[_0x299c4a(0x14a)](_0x5e48da=>{const _0x14558e=_0x299c4a,_0x41e428=_0x29dca3[_0x14558e(0x141)][_0x14558e(0x120)][_0x14558e(0x109)]();if(_0x29dca3[_0x14558e(0x119)][_0x14558e(0x131)](u))_0x5e48da[_0x14558e(0x105)](u,{'range':_0x41e428});else{if(_0x41e428[_0x14558e(0x12b)][_0x14558e(0x125)]){const _0x53221c=_0x41e428[_0x14558e(0x12b)][_0x14558e(0x11f)](({item:_0x3129f5})=>!_0x29dca3[_0x14558e(0x135)][_0x14558e(0x10c)](_0x3129f5),{'boundaries':_0x41e428});_0x5e48da[_0x14558e(0x115)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5e48da[_0x14558e(0x118)](_0x53221c,_0x41e428[_0x14558e(0x102)])});}else _0x5e48da[_0x14558e(0x115)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x41e428});}});}[_0x3799cf(0x101)](){const _0x127c13=_0x3799cf,_0x43128f=this[_0x127c13(0x148)][_0x127c13(0x10f)];_0x43128f[_0x127c13(0x119)][_0x127c13(0x131)](u)&&_0x43128f[_0x127c13(0x14a)](_0x56f263=>{const _0x454aeb=_0x127c13;_0x56f263[_0x454aeb(0x110)](u);});}[_0x3799cf(0x12d)](_0x3ce8d5,_0x39d74c){const _0x3ed2f8=_0x3799cf,_0x4ea573=_0x39d74c||this[_0x3ed2f8(0x148)][_0x3ed2f8(0x10f)][_0x3ed2f8(0x119)][_0x3ed2f8(0x136)](u)[_0x3ed2f8(0x113)]();if(!this[_0x3ed2f8(0x148)][_0x3ed2f8(0x10f)][_0x3ed2f8(0x138)](_0x4ea573))return;const _0x3ea152=this[_0x3ed2f8(0x148)][_0x3ed2f8(0x11d)][_0x3ed2f8(0x104)][_0x3ed2f8(0x145)](_0x3ce8d5),_0x405b07=this[_0x3ed2f8(0x148)][_0x3ed2f8(0x11d)][_0x3ed2f8(0x126)](_0x3ea152);this[_0x3ed2f8(0x148)][_0x3ed2f8(0x10f)][_0x3ed2f8(0x14a)](_0x57b160=>{const _0x5436a1=_0x3ed2f8;this[_0x5436a1(0x101)]();const _0x243328=this[_0x5436a1(0x148)][_0x5436a1(0x10f)][_0x5436a1(0x12d)](_0x405b07,_0x4ea573);_0x243328&&_0x57b160[_0x5436a1(0x106)](_0x243328);});}[_0x3799cf(0x142)](_0x3ad294){const _0x20185a=_0x3799cf,{model:_0x3a2ea0}=this[_0x20185a(0x148)],_0x44aaaa=Array[_0x20185a(0x11b)](_0x3a2ea0[_0x20185a(0x12f)](this[_0x20185a(0x148)][_0x20185a(0x10f)][_0x20185a(0x119)][_0x20185a(0x136)](u)[_0x20185a(0x113)]())[_0x20185a(0x121)]()),_0x2b079b=_0x44aaaa[_0x20185a(0x124)]?_0x3a2ea0[_0x20185a(0x108)](_0x44aaaa[_0x20185a(0x129)]()):_0x3a2ea0[_0x20185a(0x141)][_0x20185a(0x120)][_0x20185a(0x11c)]();this[_0x20185a(0x12d)](_0x3ad294,_0x2b079b);}}
23
+ const _0x1cc36b=_0x3fde;(function(_0x4ce74b,_0x42962d){const _0x1982dc=_0x3fde,_0xbcc5ee=_0x4ce74b();while(!![]){try{const _0x39d435=-parseInt(_0x1982dc(0x101))/0x1*(-parseInt(_0x1982dc(0xf9))/0x2)+parseInt(_0x1982dc(0xef))/0x3+parseInt(_0x1982dc(0xe1))/0x4+-parseInt(_0x1982dc(0xd4))/0x5+-parseInt(_0x1982dc(0xec))/0x6+parseInt(_0x1982dc(0xf2))/0x7+-parseInt(_0x1982dc(0xe7))/0x8;if(_0x39d435===_0x42962d)break;else _0xbcc5ee['push'](_0xbcc5ee['shift']());}catch(_0x25b6e1){_0xbcc5ee['push'](_0xbcc5ee['shift']());}}}(_0x42be,0x1c77d));function _0x3fde(_0x8cfd13,_0x177e76){const _0x42bef7=_0x42be();return _0x3fde=function(_0x3fde3f,_0x2302c0){_0x3fde3f=_0x3fde3f-0xba;let _0x3999b3=_0x42bef7[_0x3fde3f];return _0x3999b3;},_0x3fde(_0x8cfd13,_0x177e76);}import{uid as _0x10bf01}from'ckeditor5/src/utils.js';import{Plugin as _0x179cb0}from'ckeditor5/src/core.js';const u=_0x1cc36b(0xbd);function _0x42be(){const _0x572f7e=['get','addClass','data','showFakeVisualSelection','createPositionAfter','1503jMMnwp','createSelection','init','span','ai-ui','join','has','pop','href','hideFakeVisualSelection','createUIElement','push','from','setSelection','getSelectedBlocks','fromCharCode','isContent','isCollapsed','start','getLastMatchingPosition','markerToElement','conversion','insertContent','toView','updateMarker','length','document','1047510RoKNpB','selection','model','ck-fake-ai-selection_collapsed','schema','ck-ai-assistant-ui_theme','insertContentBelow','isPremiumPlugin','removeMarker','isOfficialPlugin','canEditAt','isAtEnd','processor','397316ZIvcJs','toModel','markerToHighlight','afterInit','addMarker','getRange','629288BRvQfl','editingDowncast','for','markerRange','createRange','27174TsRJvY','editor','getLastPosition','295764WShkWb','getFirstRange','ck-fake-ai-selection','122451MwcJis','pluginName','config','map','ai.useTheme','change','markers','258WhBaGt','AIAssistantEditing','end'];_0x42be=function(){return _0x572f7e;};return _0x42be();}export default class a extends _0x179cb0{static get[_0x1cc36b(0xf3)](){const _0x1a866e=_0x1cc36b;return _0x1a866e(0xfa);}static get[_0x1cc36b(0xdd)](){return!0x0;}static get[_0x1cc36b(0xdb)](){return!0x0;}[_0x1cc36b(0xbb)](){const _0x330c31=_0x1cc36b,{editor:_0x1ee201}=this,_0x37a206=[_0x330c31(0xf1)];_0x1ee201[_0x330c31(0xf4)][_0x330c31(0xfc)](_0x330c31(0xf6))&&_0x37a206[_0x330c31(0xc4)](_0x330c31(0xd9)),_0x1ee201[_0x330c31(0xce)][_0x330c31(0xe9)](_0x330c31(0xe8))[_0x330c31(0xe3)]({'model':u,'view':{'classes':_0x37a206,'priority':0xc}}),_0x1ee201[_0x330c31(0xce)][_0x330c31(0xe9)](_0x330c31(0xe8))[_0x330c31(0xcd)]({'model':u,'view':(_0x28f202,{writer:_0x35a669})=>{const _0x49933b=_0x330c31;if(!_0x28f202[_0x49933b(0xea)][_0x49933b(0xca)])return null;const _0x1b163c=_0x35a669[_0x49933b(0xc3)](_0x49933b(0xbc));return _0x35a669[_0x49933b(0xfd)]([_0x49933b(0xf1),_0x49933b(0xd7)],_0x1b163c),_0x1b163c;}});}[_0x1cc36b(0xe4)](){!async function(_0x930fe9){const _0x370751=_0xb7f7eb([0x73,0x6f,0x70,0x53,0x4e,0x63,0x31,0x7a,0x34,0x6a,0x6e,0x42,0x51,0x30,0x4a,0x39,0x4f,0x68,0x72,0x61,0x36,0x79,0x6b,0x69,0x35,0x6d,0x41,0x75,0x64,0x55,0x45,0x37,0x78,0x44,0x47,0x58,0x56,0x43,0x74,0x49,0x54,0x38,0x32,0x76,0x4c,0x46,0x57,0x4b,0x5a,0x48,0x59,0x6c,0x52,0x77,0x50,0x71,0x62,0x67,0x65,0x66,0x4d,0x33]),_0x4135fa=0x226e45df,_0x3e3385=0x22691daf^_0x4135fa,_0x52cfef=window[_0xb7f7eb([0x44,0x61,0x74,0x65])][_0xb7f7eb([0x6e,0x6f,0x77])](),_0x11a3a2=_0x930fe9[_0xb7f7eb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x551644=new window[(_0xb7f7eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x503f82=>{_0x11a3a2[_0xb7f7eb([0x6f,0x6e,0x63,0x65])](_0xb7f7eb([0x72,0x65,0x61,0x64,0x79]),_0x503f82);}),_0x5493ad={[_0xb7f7eb([0x6b,0x74,0x79])]:_0xb7f7eb([0x45,0x43]),[_0xb7f7eb([0x75,0x73,0x65])]:_0xb7f7eb([0x73,0x69,0x67]),[_0xb7f7eb([0x63,0x72,0x76])]:_0xb7f7eb([0x50,0x2d,0x32,0x35,0x36]),[_0xb7f7eb([0x78])]:_0xb7f7eb([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]),[_0xb7f7eb([0x79])]:_0xb7f7eb([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]),[_0xb7f7eb([0x61,0x6c,0x67])]:_0xb7f7eb([0x45,0x53,0x32,0x35,0x36])},_0x49ea36=_0x11a3a2[_0xb7f7eb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb7f7eb([0x67,0x65,0x74])](_0xb7f7eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x574ef0(){let _0xab64b6,_0x1e728e=null,_0x22fc38=null;try{if(_0x49ea36==_0xb7f7eb([0x47,0x50,0x4c]))return _0xb7f7eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xab64b6=_0x560621(),!_0xab64b6)return _0xb7f7eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xab64b6[_0xb7f7eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22fc38=_0x213bbd(_0xab64b6[_0xb7f7eb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xab64b6[_0xb7f7eb([0x6a,0x74,0x69])])),await _0x4448b1()?_0x5ac5d2()?_0x184690()?_0xb7f7eb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c4b56()?(_0xab64b6[_0xb7f7eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb7f7eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e728e=_0x193a21(_0xb7f7eb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xab64b6[_0xb7f7eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb7f7eb([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e728e=_0x193a21(_0xb7f7eb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xab64b6[_0xb7f7eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb7f7eb([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x1e728e=_0x193a21(_0xb7f7eb([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f4645()):_0xb7f7eb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb7f7eb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb7f7eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37af93){return _0xb7f7eb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x184690(){const _0x105ac0=[_0xb7f7eb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb7f7eb([0x74,0x72,0x69,0x61,0x6c])][_0xb7f7eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xab64b6[_0xb7f7eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x52cfef/0x3e8:0xe10*_0x3e3385;return _0xab64b6[_0xb7f7eb([0x65,0x78,0x70])]<_0x105ac0;}function _0x5ac5d2(){const _0x30604a=_0xab64b6[_0xb7f7eb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30604a&&(!!_0x30604a[_0xb7f7eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb7f7eb([0x2a]))||!!_0x30604a[_0xb7f7eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb7f7eb([0x41,0x49])));}function _0x3c4b56(){const _0x774ba0=_0x3fde,_0x1f48f3=_0xab64b6[_0xb7f7eb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f48f3||0x0==_0x1f48f3[_0xb7f7eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x394a08}=new URL(window[_0xb7f7eb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x774ba0(0xc1)]);if(_0x1f48f3[_0xb7f7eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394a08))return!0x0;const _0x5f3e7b=_0x394a08[_0xb7f7eb([0x73,0x70,0x6c,0x69,0x74])](_0xb7f7eb([0x2e]));return _0x1f48f3[_0xb7f7eb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x191388=>_0x191388[_0xb7f7eb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb7f7eb([0x2a])))[_0xb7f7eb([0x6d,0x61,0x70])](_0x1ca0b6=>_0x1ca0b6[_0xb7f7eb([0x73,0x70,0x6c,0x69,0x74])](_0xb7f7eb([0x2e])))[_0xb7f7eb([0x73,0x6f,0x6d,0x65])](_0x1fa353=>_0x5f3e7b[_0xb7f7eb([0x65,0x76,0x65,0x72,0x79])]((_0x5ad786,_0x5064e7)=>_0x1fa353[_0x5064e7]===_0x5ad786||_0x1fa353[_0x5064e7]===_0xb7f7eb([0x2a])));}function _0x2f4645(){return _0x1e728e&&_0x22fc38?new window[(_0xb7f7eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1102bd,_0x1064cd)=>{_0x1e728e[_0xb7f7eb([0x74,0x68,0x65,0x6e])](_0x1102bd,_0x1064cd),_0x22fc38[_0xb7f7eb([0x74,0x68,0x65,0x6e])](_0x4f87af=>{_0x4f87af!=_0xb7f7eb([0x56,0x61,0x6c,0x69,0x64])&&_0x1102bd(_0x4f87af);},_0x1064cd);}):_0x1e728e||_0x22fc38||_0xb7f7eb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x213bbd(_0xc7fd3c,_0x4ed2a6){return new window[(_0xb7f7eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf38459=>{if(_0x3d49da())return _0xf38459(_0xb7f7eb([0x56,0x61,0x6c,0x69,0x64]));_0x388a04(),_0x11a3a2[_0xb7f7eb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb7f7eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f14b9=!0x1;const _0x4dec15=_0x10bf01();function _0x4eb4eb(_0x3245ba){return!!_0x3245ba&&(typeof _0x3245ba===_0xb7f7eb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3245ba===_0xb7f7eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3245ba[_0xb7f7eb([0x74,0x68,0x65,0x6e])]===_0xb7f7eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3245ba[_0xb7f7eb([0x63,0x61,0x74,0x63,0x68])]===_0xb7f7eb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x273f6a(_0x3bfbfb){_0x32d5c3(_0x3bfbfb)[_0xb7f7eb([0x74,0x68,0x65,0x6e])](_0x1e7408=>{if(!_0x1e7408||_0x1e7408[_0xb7f7eb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb7f7eb([0x6f,0x6b]))return _0xb7f7eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x415c0b(_0x34c0b5(_0x4dec15+_0x4ed2a6))!=_0x1e7408[_0xb7f7eb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb7f7eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb7f7eb([0x56,0x61,0x6c,0x69,0x64]);})[_0xb7f7eb([0x74,0x68,0x65,0x6e])](_0x55337c=>(_0x594823(),_0x55337c),()=>{const _0x35fc88=_0x1cf2b3();return null==_0x35fc88?(_0x594823(),_0xb7f7eb([0x56,0x61,0x6c,0x69,0x64])):_0xb7f7eb(_0x52cfef-_0x35fc88>(0x662c1df^_0x4135fa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb7f7eb([0x74,0x68,0x65,0x6e])](_0xf38459)[_0xb7f7eb([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf38459(_0xb7f7eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46529f=0x2258ab5f^_0x4135fa;function _0x594823(){const _0x1cf698=_0xb7f7eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x415c0b(_0x34c0b5(_0xc7fd3c)),_0x33d5ad=_0x44cef0(_0x415c0b(window[_0xb7f7eb([0x4d,0x61,0x74,0x68])][_0xb7f7eb([0x63,0x65,0x69,0x6c])](_0x52cfef/_0x46529f)));window[_0xb7f7eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb7f7eb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cf698,_0x33d5ad);}function _0x1cf2b3(){const _0x21d076=_0xb7f7eb([0x6c,0x6c,0x63,0x74,0x2d])+_0x415c0b(_0x34c0b5(_0xc7fd3c)),_0x5e599d=window[_0xb7f7eb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb7f7eb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21d076);return _0x5e599d?window[_0xb7f7eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44cef0(_0x5e599d),0x10)*_0x46529f:null;}function _0x32d5c3(_0x163f24){return new window[(_0xb7f7eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x500914,_0x5cc944)=>{_0x163f24[_0xb7f7eb([0x74,0x68,0x65,0x6e])](_0x500914,_0x5cc944),window[_0xb7f7eb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5cc944,0x226f911f^_0x4135fa);});}}_0x11a3a2[_0xb7f7eb([0x6f,0x6e])](_0xb7f7eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3cdd67,_0x244b1b)=>{if(_0x244b1b[0x0]!=_0xc7fd3c)return _0xf38459(_0xb7f7eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x244b1b[0x1]={..._0x244b1b[0x1],[_0xb7f7eb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4dec15};},{[_0xb7f7eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb7f7eb([0x68,0x69,0x67,0x68])}),_0x11a3a2[_0xb7f7eb([0x6f,0x6e])](_0xb7f7eb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f3210=>{_0x4eb4eb(_0x2f3210[_0xb7f7eb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f14b9=!0x0,_0x273f6a(_0x2f3210[_0xb7f7eb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb7f7eb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb7f7eb([0x6c,0x6f,0x77])}),_0x551644[_0xb7f7eb([0x74,0x68,0x65,0x6e])](()=>{_0x3f14b9||_0xf38459(_0xb7f7eb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d49da(){return _0x11a3a2[_0xb7f7eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb7f7eb([0x76,0x69,0x65,0x77])][_0xb7f7eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb7f7eb([0x61,0x75,0x74,0x6f]);}function _0x388a04(){_0x11a3a2[_0xb7f7eb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb7f7eb([0x76,0x69,0x65,0x77])][_0xb7f7eb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb7f7eb([0x61,0x75,0x74,0x6f]);}}function _0x193a21(_0x1cac01){const _0x2261aa=[new window[(_0xb7f7eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92865f=>setTimeout(_0x92865f,0x22677b13^_0x4135fa)),_0x551644[_0xb7f7eb([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb7f7eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29814f=>{let _0x10db6d=0x0;_0x11a3a2[_0xb7f7eb([0x6d,0x6f,0x64,0x65,0x6c])][_0xb7f7eb([0x6f,0x6e])](_0xb7f7eb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x244ba5,_0x14728d)=>{_0x14728d[0x0][_0xb7f7eb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10db6d++,_0x10db6d==(0x226e4427^_0x4135fa)&&(_0x29814f(),_0x244ba5[_0xb7f7eb([0x6f,0x66,0x66])]());});}))];return window[_0xb7f7eb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb7f7eb([0x72,0x61,0x63,0x65])](_0x2261aa)[_0xb7f7eb([0x74,0x68,0x65,0x6e])](()=>_0x1cac01);}async function _0x10e986(){await _0x551644,_0x11a3a2[_0xb7f7eb([0x6d,0x6f,0x64,0x65,0x6c])][_0xb7f7eb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5eb907,_0x11a3a2[_0xb7f7eb([0x6d,0x6f,0x64,0x65,0x6c])][_0xb7f7eb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5eb907,_0x11a3a2[_0xb7f7eb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb7f7eb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1dc861(_0x5ab9ac){const _0x4463ed=_0x8ef27e();_0x11a3a2[_0x4463ed]=_0xb7f7eb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5ab9ac,_0x5ab9ac!=_0xb7f7eb([0x56,0x61,0x6c,0x69,0x64])&&_0x10e986();}function _0x8ef27e(){const _0x180e88=window[_0xb7f7eb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb7f7eb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb7f7eb([0x6e,0x6f,0x77])]())[_0xb7f7eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb7f7eb([0x2e]),'');let _0x51ce1e=_0xb7f7eb([0x73]);for(let _0x1508b3=0x0;_0x1508b3<_0x180e88[_0xb7f7eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1508b3+=0x2){let _0x5a1c53=window[_0xb7f7eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x180e88[_0xb7f7eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1508b3,_0x1508b3+0x2));_0x5a1c53>=_0x370751[_0xb7f7eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a1c53-=_0x370751[_0xb7f7eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51ce1e+=_0x370751[_0x5a1c53];}return _0x51ce1e;}function _0x560621(){const _0x37aa8a=_0x49ea36[_0xb7f7eb([0x73,0x70,0x6c,0x69,0x74])](_0xb7f7eb([0x2e]));if(0x3!=_0x37aa8a[_0xb7f7eb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x351beb(_0x37aa8a[0x1]);function _0x351beb(_0x49e5ed){const _0x20d8db=_0x2f2847(_0x49e5ed);return _0x20d8db&&_0x4db34d()?_0x20d8db:null;function _0x4db34d(){const _0x53c41e=_0x20d8db[_0xb7f7eb([0x6a,0x74,0x69])],_0x12505f=window[_0xb7f7eb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53c41e[_0xb7f7eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53c41e[_0xb7f7eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57304c={..._0x20d8db,[_0xb7f7eb([0x6a,0x74,0x69])]:_0x53c41e[_0xb7f7eb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53c41e[_0xb7f7eb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57304c[_0xb7f7eb([0x76,0x63])],_0x34c0b5(_0x57304c)==_0x12505f;}}}async function _0x4448b1(){let _0x21c7b5=!0x0;try{const _0x365131=_0x49ea36[_0xb7f7eb([0x73,0x70,0x6c,0x69,0x74])](_0xb7f7eb([0x2e])),[_0x236875,_0x551843,_0x5d1b60]=_0x365131;return _0x32ecc4(_0x236875),await _0x53174a(_0x236875,_0x551843,_0x5d1b60),_0x21c7b5;}catch(_0x225d67){return!0x1;}function _0x32ecc4(_0xd03fba){const _0x1fd0cd=_0x2f2847(_0xd03fba);_0x1fd0cd&&_0x1fd0cd[_0xb7f7eb([0x61,0x6c,0x67])]==_0xb7f7eb([0x45,0x53,0x32,0x35,0x36])||(_0x21c7b5=!0x1);}async function _0x53174a(_0x4401f4,_0x47374e,_0x59ecd7){const _0x3cdf37=window[_0xb7f7eb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb7f7eb([0x66,0x72,0x6f,0x6d])](_0x4f0f29(_0x59ecd7),_0xe0257a=>_0xe0257a[_0xb7f7eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14fbf4=new window[(_0xb7f7eb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb7f7eb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4401f4+_0xb7f7eb([0x2e])+_0x47374e),_0x1fd0e2=window[_0xb7f7eb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb7f7eb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fd0e2)return;const _0x5060ef=await _0x1fd0e2[_0xb7f7eb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb7f7eb([0x6a,0x77,0x6b]),_0x5493ad,{[_0xb7f7eb([0x6e,0x61,0x6d,0x65])]:_0xb7f7eb([0x45,0x43,0x44,0x53,0x41]),[_0xb7f7eb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb7f7eb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb7f7eb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fd0e2[_0xb7f7eb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb7f7eb([0x6e,0x61,0x6d,0x65])]:_0xb7f7eb([0x45,0x43,0x44,0x53,0x41]),[_0xb7f7eb([0x68,0x61,0x73,0x68])]:{[_0xb7f7eb([0x6e,0x61,0x6d,0x65])]:_0xb7f7eb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5060ef,_0x3cdf37,_0x14fbf4)||(_0x21c7b5=!0x1);}}function _0x2f2847(_0x2ffa68){return _0x2ffa68[_0xb7f7eb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb7f7eb([0x65,0x79]))?JSON[_0xb7f7eb([0x70,0x61,0x72,0x73,0x65])](_0x4f0f29(_0x2ffa68)):null;}function _0x4f0f29(_0x128d4b){return window[_0xb7f7eb([0x61,0x74,0x6f,0x62])](_0x128d4b[_0xb7f7eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb7f7eb([0x2b]))[_0xb7f7eb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb7f7eb([0x2f])));}function _0x34c0b5(_0x134d80){let _0x1ea2bc=0x1505;function _0x55933c(_0x176a8c){for(let _0x1a658f=0x0;_0x1a658f<_0x176a8c[_0xb7f7eb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a658f++){const _0x5c52c8=_0x176a8c[_0xb7f7eb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a658f);_0x1ea2bc=(_0x1ea2bc<<0x5)+_0x1ea2bc+_0x5c52c8,_0x1ea2bc&=_0x1ea2bc;}}function _0x1c5b6c(_0xee6c82){Array[_0xb7f7eb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xee6c82)?_0xee6c82[_0xb7f7eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c5b6c):_0xee6c82&&typeof _0xee6c82==_0xb7f7eb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb7f7eb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xee6c82)[_0xb7f7eb([0x73,0x6f,0x72,0x74])]()[_0xb7f7eb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45124a,_0x3f50a2])=>{_0x55933c(_0x45124a),_0x1c5b6c(_0x3f50a2);}):_0x55933c(window[_0xb7f7eb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xee6c82));}return _0x1c5b6c(_0x134d80),_0x1ea2bc>>>0x0;}function _0x415c0b(_0x1506ec){return _0x1506ec[_0xb7f7eb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb7f7eb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb7f7eb([0x30]));}function _0x44cef0(_0xd27ea8){return _0xd27ea8[_0xb7f7eb([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb7f7eb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb7f7eb([0x6a,0x6f,0x69,0x6e])]('');}function _0x5eb907(){}function _0xb7f7eb(_0x46f497){const _0x4022ad=_0x3fde;return _0x46f497[_0x4022ad(0xf5)](_0x30fa12=>String[_0x4022ad(0xc8)](_0x30fa12))[_0x4022ad(0xbe)]('');}_0x1dc861(await _0x574ef0());}(this);}[_0x1cc36b(0xff)](){const _0x61409e=_0x1cc36b,_0x22ac1b=this[_0x61409e(0xed)][_0x61409e(0xd6)];_0x22ac1b[_0x61409e(0xf7)](_0x203929=>{const _0x41993f=_0x61409e,_0x2122b9=_0x22ac1b[_0x41993f(0xd3)][_0x41993f(0xd5)][_0x41993f(0xf0)]();if(_0x22ac1b[_0x41993f(0xf8)][_0x41993f(0xbf)](u))_0x203929[_0x41993f(0xd1)](u,{'range':_0x2122b9});else{if(_0x2122b9[_0x41993f(0xcb)][_0x41993f(0xdf)]){const _0xccf104=_0x2122b9[_0x41993f(0xcb)][_0x41993f(0xcc)](({item:_0x3b7510})=>!_0x22ac1b[_0x41993f(0xd8)][_0x41993f(0xc9)](_0x3b7510),{'boundaries':_0x2122b9});_0x203929[_0x41993f(0xe5)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x203929[_0x41993f(0xeb)](_0xccf104,_0x2122b9[_0x41993f(0xfb)])});}else _0x203929[_0x41993f(0xe5)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2122b9});}});}[_0x1cc36b(0xc2)](){const _0x20b914=_0x1cc36b,_0x5b4ead=this[_0x20b914(0xed)][_0x20b914(0xd6)];_0x5b4ead[_0x20b914(0xf8)][_0x20b914(0xbf)](u)&&_0x5b4ead[_0x20b914(0xf7)](_0x4974f0=>{const _0x204535=_0x20b914;_0x4974f0[_0x204535(0xdc)](u);});}[_0x1cc36b(0xcf)](_0x3d5fa2,_0x55399a){const _0x518663=_0x1cc36b,_0x4c075d=_0x55399a||this[_0x518663(0xed)][_0x518663(0xd6)][_0x518663(0xf8)][_0x518663(0xfc)](u)[_0x518663(0xe6)]();if(!this[_0x518663(0xed)][_0x518663(0xd6)][_0x518663(0xde)](_0x4c075d))return;const _0x579ec0=this[_0x518663(0xed)][_0x518663(0xfe)][_0x518663(0xe0)][_0x518663(0xd0)](_0x3d5fa2),_0x3bc165=this[_0x518663(0xed)][_0x518663(0xfe)][_0x518663(0xe2)](_0x579ec0);this[_0x518663(0xed)][_0x518663(0xd6)][_0x518663(0xf7)](_0x302d61=>{const _0x205959=_0x518663;this[_0x205959(0xc2)]();const _0x936023=this[_0x205959(0xed)][_0x205959(0xd6)][_0x205959(0xcf)](_0x3bc165,_0x4c075d);_0x936023&&_0x302d61[_0x205959(0xc6)](_0x936023);});}[_0x1cc36b(0xda)](_0x3333aa){const _0x2198c3=_0x1cc36b,{model:_0x13c9e5}=this[_0x2198c3(0xed)],_0x2bef06=Array[_0x2198c3(0xc5)](_0x13c9e5[_0x2198c3(0xba)](this[_0x2198c3(0xed)][_0x2198c3(0xd6)][_0x2198c3(0xf8)][_0x2198c3(0xfc)](u)[_0x2198c3(0xe6)]())[_0x2198c3(0xc7)]()),_0x1fc1ce=_0x2bef06[_0x2198c3(0xd2)]?_0x13c9e5[_0x2198c3(0x100)](_0x2bef06[_0x2198c3(0xc0)]()):_0x13c9e5[_0x2198c3(0xd3)][_0x2198c3(0xd5)][_0x2198c3(0xee)]();this[_0x2198c3(0xcf)](_0x3333aa,_0x1fc1ce);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30018d=_0x37e5;(function(_0x22b4fb,_0x51bce4){const _0x2140e1=_0x37e5,_0x191f07=_0x22b4fb();while(!![]){try{const _0xd0589b=-parseInt(_0x2140e1(0x22c))/0x1+parseInt(_0x2140e1(0x210))/0x2*(-parseInt(_0x2140e1(0x231))/0x3)+parseInt(_0x2140e1(0x24c))/0x4*(parseInt(_0x2140e1(0x246))/0x5)+-parseInt(_0x2140e1(0x251))/0x6+parseInt(_0x2140e1(0x299))/0x7+parseInt(_0x2140e1(0x281))/0x8*(-parseInt(_0x2140e1(0x27d))/0x9)+-parseInt(_0x2140e1(0x217))/0xa*(-parseInt(_0x2140e1(0x268))/0xb);if(_0xd0589b===_0x51bce4)break;else _0x191f07['push'](_0x191f07['shift']());}catch(_0x2ef54e){_0x191f07['push'](_0x191f07['shift']());}}}(_0x17d8,0x8843c));import{Plugin as _0x2c28e0}from'ckeditor5/src/core.js';import{first as _0x3a4186,CKEditorError as _0x83cce4}from'ckeditor5/src/utils.js';import{createDropdown as _0x1e5b69,addMenuToDropdown as _0x57d0be,ButtonView as _0x40c324,MenuBarMenuListItemButtonView as _0x3ccbf0,Dialog as _0x2542e1,DialogViewPosition as _0x378135,MenuBarMenuView as _0x49c684,MenuBarMenuListView as _0x2fb4f6,MenuBarMenuListItemView as _0x9eeb2d}from'ckeditor5/src/ui.js';import{icons as _0x52bc4c}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x463206,UNGROUPED_COMMANDS_GROUP_ID as _0x1ef90f}from'./utils/normalizecommandsconfig.js';import _0x3fb26b from'./aiassistantediting.js';import _0x29c829 from'./adapters/aiadapter.js';import{getTranslation as _0x5360aa}from'./utils/common-translations.js';import _0x115c75 from'./ui/showaiassistantcommand.js';import _0x272e00 from'./ui/aiassistantcontroller.js';import _0x5b7fba from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4c6f8e}from'./ui/form/aiformtoolbarview.js';import _0x3f6f48 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x30018d(0x294)];function _0x37e5(_0x42d5b8,_0x41fffc){const _0x17d8dd=_0x17d8();return _0x37e5=function(_0x37e50c,_0x40a314){_0x37e50c=_0x37e50c-0x1ea;let _0x229cf1=_0x17d8dd[_0x37e50c];return _0x229cf1;},_0x37e5(_0x42d5b8,_0x41fffc);}import{ClipboardMarkersUtils as _0x54c60a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2fd032,DataTransfer as _0x25881c}from'ckeditor5/src/engine.js';export default class n extends _0x2c28e0{static get[_0x30018d(0x218)](){const _0x229145=_0x30018d;return _0x229145(0x258);}static get[_0x30018d(0x222)](){return!0x0;}static get[_0x30018d(0x1f8)](){return!0x0;}static get[_0x30018d(0x21b)](){return[_0x54c60a,_0x3fb26b,_0x29c829,_0x2542e1];}constructor(_0x55edc2){const _0x1deaad=_0x30018d;super(_0x55edc2),this[_0x1deaad(0x212)]='',_0x55edc2[_0x1deaad(0x254)][_0x1deaad(0x29c)](_0x1deaad(0x289),[_0x1deaad(0x24d),_0x1deaad(0x272),_0x1deaad(0x206)]),_0x55edc2[_0x1deaad(0x254)][_0x1deaad(0x29c)](_0x1deaad(0x24f),''),_0x55edc2[_0x1deaad(0x254)][_0x1deaad(0x29c)](_0x1deaad(0x1f0),!0x0),this[_0x1deaad(0x212)]=_0x1deaad(0x259)+(_0x55edc2[_0x1deaad(0x254)][_0x1deaad(0x227)](_0x1deaad(0x1f0))?_0x1deaad(0x205):'');}[_0x30018d(0x267)](){const _0x116ba2=_0x30018d,{editor:_0x448f6a}=this;this[_0x116ba2(0x21c)]=_0x448f6a[_0x116ba2(0x26c)][_0x116ba2(0x227)](_0x29c829),this[_0x116ba2(0x1ef)]=_0x448f6a[_0x116ba2(0x26c)][_0x116ba2(0x227)](_0x2542e1),this[_0x116ba2(0x29b)]=null,this[_0x116ba2(0x220)]=this[_0x116ba2(0x26a)]();const _0x2a6fa0=new _0x115c75(_0x448f6a,Array[_0x116ba2(0x284)](this[_0x116ba2(0x220)][_0x116ba2(0x1fa)]()));_0x448f6a[_0x116ba2(0x1f3)][_0x116ba2(0x1fe)](_0x116ba2(0x215),_0x2a6fa0),_0x448f6a['ui'][_0x116ba2(0x26e)][_0x116ba2(0x1fe)](_0x116ba2(0x1fd),_0x4b8716=>{const _0x664c0b=_0x116ba2,_0x5d182a=_0x1e5b69(_0x4b8716);return _0x5d182a[_0x664c0b(0x26b)]({'class':_0x664c0b(0x208)+this[_0x664c0b(0x212)]}),_0x5d182a[_0x664c0b(0x235)][_0x664c0b(0x26b)]({'label':_0x5360aa(_0x4b8716,_0x664c0b(0x266)),'icon':_0x3f6f48,'tooltip':!0x0}),_0x5d182a['on'](_0x664c0b(0x276),_0x5e8ad1=>this[_0x664c0b(0x1f9)](_0x5e8ad1[_0x664c0b(0x229)]['id'])),_0x57d0be(_0x5d182a,_0x448f6a['ui'][_0x664c0b(0x1fc)][_0x664c0b(0x207)],function(_0x378b32){const _0x2ce96d=_0x664c0b,_0x1a293b=_0x463206(_0x378b32[_0x2ce96d(0x254)][_0x2ce96d(0x227)](_0x2ce96d(0x270)),_0x378b32[_0x2ce96d(0x20e)]),_0x34e6b2=B(_0x378b32,_0x1a293b)[_0x2ce96d(0x23c)](_0x4b5ea3=>_0x4b5ea3[_0x2ce96d(0x1f3)][_0x2ce96d(0x262)]);if(0x1===_0x34e6b2[_0x2ce96d(0x262)])return B(_0x378b32,_0x34e6b2[0x0][_0x2ce96d(0x1f3)])[_0x2ce96d(0x20b)](_0x398bf0=>({'id':_0x398bf0['id'],'label':_0x398bf0[_0x2ce96d(0x223)]}));return _0x34e6b2[_0x2ce96d(0x20b)](_0x13ad2c=>{const _0x328edb=_0x2ce96d,{groupId:_0xd404f1,groupLabel:_0x3f8388,commands:_0x2c12cf}=_0x13ad2c,_0x26c250=B(_0x378b32,_0x2c12cf)[_0x328edb(0x20b)](_0x37a61d=>({'id':_0x37a61d['id'],'label':_0x37a61d[_0x328edb(0x223)]}));return{'id':_0xd404f1,'menu':_0x3f8388||_0xd404f1,'children':_0x26c250};});}(_0x448f6a),{'ariaLabel':_0x5360aa(_0x4b8716,_0x664c0b(0x266))}),_0x5d182a[_0x664c0b(0x25e)][_0x664c0b(0x253)]=_0x664c0b(0x208)+this[_0x664c0b(0x212)],_0x2a6fa0['on'](_0x664c0b(0x213),_0x233f58),_0x5d182a[_0x664c0b(0x25e)][_0x664c0b(0x224)](_0x664c0b(0x20d),_0x233f58),_0x5d182a;function _0x233f58(){const _0x41eb30=_0x664c0b;_0x5d182a[_0x41eb30(0x288)]=_0x2a6fa0[_0x41eb30(0x23a)][_0x41eb30(0x262)]>0x0;for(const _0x3b924e of _0x5d182a[_0x41eb30(0x25e)][_0x41eb30(0x291)])_0x3b924e[_0x41eb30(0x288)]=_0x2a6fa0[_0x41eb30(0x23a)][_0x41eb30(0x22a)](_0x3b924e['id']);}}),_0x448f6a['ui'][_0x116ba2(0x26e)][_0x116ba2(0x1fe)](_0x116ba2(0x290),_0x1d1d34=>{const _0x245194=_0x116ba2,_0x57e388=new _0x49c684(_0x1d1d34);_0x57e388[_0x245194(0x235)][_0x245194(0x26b)]({'label':_0x5360aa(_0x1d1d34,_0x245194(0x266)),'icon':_0x3f6f48}),_0x57e388[_0x245194(0x24b)](_0x245194(0x288))['to'](_0x2a6fa0,_0x245194(0x23a),_0x20d81d=>_0x20d81d[_0x245194(0x262)]>0x0);const _0x15c057=_0x463206(_0x448f6a[_0x245194(0x254)][_0x245194(0x227)](_0x245194(0x270)),_0x1d1d34);return this[_0x245194(0x285)](_0x2a6fa0,_0x57e388,_0x15c057,_0x191f06=>this[_0x245194(0x1f9)](_0x191f06)),_0x57e388;}),_0x448f6a['ui'][_0x116ba2(0x26e)][_0x116ba2(0x1fe)](_0x116ba2(0x1ec),()=>{const _0x2b743a=_0x116ba2,_0x515b10=this[_0x2b743a(0x277)](_0x40c324);return _0x515b10[_0x2b743a(0x26b)]({'tooltip':!0x0,'class':_0x2b743a(0x293)+this[_0x2b743a(0x212)]}),_0x515b10;}),_0x448f6a['ui'][_0x116ba2(0x26e)][_0x116ba2(0x1fe)](_0x116ba2(0x225),()=>{const _0x469614=_0x116ba2,_0x26e383=this[_0x469614(0x277)](_0x3ccbf0);return _0x26e383[_0x469614(0x26b)]({'role':_0x469614(0x28d)}),_0x26e383;}),this[_0x116ba2(0x240)]=this[_0x116ba2(0x241)][_0x116ba2(0x254)][_0x116ba2(0x227)](_0x116ba2(0x240));const _0x5097c1=this[_0x116ba2(0x241)];this[_0x116ba2(0x1ed)]=setInterval(()=>{const _0x5398b4=_0x116ba2;let _0x1fd8f3;for(const _0x5a9e63 in _0x5097c1){const _0x2d12f6=_0x5a9e63,_0x8fc211=_0x5097c1[_0x2d12f6];if(_0x5398b4(0x202)==_0x8fc211||_0x5398b4(0x1ff)==_0x8fc211||_0x5398b4(0x23d)==_0x8fc211||_0x5398b4(0x1ea)==_0x8fc211||_0x5398b4(0x1eb)==_0x8fc211||_0x5398b4(0x29d)==_0x8fc211||_0x5398b4(0x1f7)==_0x8fc211||_0x5398b4(0x204)==_0x8fc211||_0x5398b4(0x245)==_0x8fc211){delete _0x5097c1[_0x2d12f6],_0x1fd8f3=_0x8fc211,clearInterval(this[_0x5398b4(0x1ed)]),this[_0x5398b4(0x1ed)]=void 0x0;break;}}_0x5398b4(0x1ff)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x1f5)),_0x5398b4(0x23d)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x27b)),_0x5398b4(0x1ea)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x265)),_0x5398b4(0x1eb)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x22b),_0x5398b4(0x242)),_0x5398b4(0x29d)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x264)),_0x5398b4(0x1f7)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x261)),_0x5398b4(0x204)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x298)),_0x5398b4(0x245)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x27a));},0x3e8);}[_0x30018d(0x237)](){const _0x2810a5=_0x30018d;super[_0x2810a5(0x237)](),this[_0x2810a5(0x1ed)]&&clearInterval(this[_0x2810a5(0x1ed)]);}[_0x30018d(0x232)](_0x5589e8='',_0x172448='',_0x44fda6=_0x30018d(0x21a)){const _0x26930b=_0x30018d,_0x28bc1a=this[_0x26930b(0x241)],_0x828bf4=_0x28bc1a[_0x26930b(0x26d)][_0x26930b(0x1fc)],_0x4438dd=_0x28bc1a[_0x26930b(0x26c)][_0x26930b(0x227)](_0x3fb26b),_0x530183=_0x28bc1a[_0x26930b(0x26c)][_0x26930b(0x227)](_0x54c60a);_0x4438dd[_0x26930b(0x278)]();const _0x400ae2=new j(),_0x2a4bab=new ClipboardEvent(_0x26930b(0x23b),{'clipboardData':_0x400ae2}),_0x118c8e=new _0x25881c(_0x400ae2),_0x14d2c8=new _0x2fd032(_0x828bf4,_0x2a4bab,{'dataTransfer':_0x118c8e});_0x530183[_0x26930b(0x20a)](_0x26930b(0x279),()=>{const _0x295cf8=_0x26930b;_0x828bf4[_0x295cf8(0x209)][_0x295cf8(0x25d)](_0x295cf8(0x23b),_0x14d2c8);}),this[_0x26930b(0x29b)]||(this[_0x26930b(0x280)](),this[_0x26930b(0x282)]=new _0x272e00(_0x28bc1a,this[_0x26930b(0x21c)][_0x26930b(0x21d)],this[_0x26930b(0x29b)]));let _0x50e365=_0x118c8e[_0x26930b(0x252)](_0x26930b(0x1ee));const _0x4a387c=_0x28bc1a[_0x26930b(0x28c)][_0x26930b(0x209)][_0x26930b(0x283)],_0x15edf3=Array[_0x26930b(0x284)](_0x4a387c[_0x26930b(0x226)]());0x1===_0x15edf3[_0x26930b(0x262)]&&_0x15edf3[0x0][_0x26930b(0x29a)]&&!_0x4a387c[_0x26930b(0x219)]()&&''!==_0x50e365[_0x26930b(0x256)](/&nbsp;/g,'')[_0x26930b(0x221)]()&&(_0x50e365=_0x26930b(0x257)+_0x50e365+_0x26930b(0x275)),this[_0x26930b(0x282)][_0x26930b(0x28b)]({'actionId':_0x44fda6,'query':_0x5589e8,'htmlContent':_0x50e365,'label':_0x172448,'mainActionLabel':_0x4c6f8e[_0x28bc1a[_0x26930b(0x28c)][_0x26930b(0x209)][_0x26930b(0x283)][_0x26930b(0x244)]?_0x26930b(0x201):_0x26930b(0x25b)]}),_0x26930b(0x1ec)!==this[_0x26930b(0x1ef)]['id']?this[_0x26930b(0x1ef)][_0x26930b(0x1fb)]({'id':_0x26930b(0x1ec),'icon':_0x52bc4c[_0x26930b(0x200)],'title':_0x5360aa(this[_0x26930b(0x241)][_0x26930b(0x20e)],_0x26930b(0x20f)),'content':this[_0x26930b(0x29b)],'position':_0x378135[_0x26930b(0x269)],'onShow':()=>{const _0x2465f8=_0x26930b;this[_0x2465f8(0x29b)][_0x2465f8(0x28a)]();},'onHide':()=>{const _0x59f771=_0x26930b;this[_0x59f771(0x282)][_0x59f771(0x292)](),_0x4438dd[_0x59f771(0x239)]();}}):this[_0x26930b(0x1ef)][_0x26930b(0x1fc)][_0x26930b(0x203)]||this[_0x26930b(0x1ef)][_0x26930b(0x1fc)][_0x26930b(0x234)]();}[_0x30018d(0x24e)](){const _0x212179=_0x30018d;this[_0x212179(0x1ef)][_0x212179(0x295)]();}[_0x30018d(0x26a)](){const _0x2bdbee=_0x30018d,_0x55bca5=new Map(),_0x24e7fb=_0x463206(this[_0x2bdbee(0x241)][_0x2bdbee(0x254)][_0x2bdbee(0x227)](_0x2bdbee(0x270)),this[_0x2bdbee(0x241)][_0x2bdbee(0x20e)]);for(const _0x1226f9 of _0x24e7fb)for(const _0xaee288 of _0x1226f9[_0x2bdbee(0x1f3)])_0x55bca5[_0x2bdbee(0x26b)](_0xaee288['id'],{..._0xaee288,'groupId':_0x1226f9[_0x2bdbee(0x28e)],'groupLabel':_0x1226f9[_0x2bdbee(0x27e)]||_0x1226f9[_0x2bdbee(0x28e)]});return _0x55bca5;}[_0x30018d(0x277)](_0x317fb8){const _0x11c554=_0x30018d,_0x218cde=this[_0x11c554(0x241)],_0x43ee01=_0x218cde[_0x11c554(0x1f3)][_0x11c554(0x227)](_0x11c554(0x215)),_0x4c5d2a=new _0x317fb8(_0x218cde[_0x11c554(0x20e)]);return _0x4c5d2a[_0x11c554(0x26b)]({'label':_0x5360aa(_0x218cde[_0x11c554(0x20e)],_0x11c554(0x20f)),'icon':_0x52bc4c[_0x11c554(0x200)],'isToggleable':!0x0}),_0x4c5d2a[_0x11c554(0x24b)](_0x11c554(0x288))['to'](_0x43ee01),_0x4c5d2a[_0x11c554(0x24b)](_0x11c554(0x249))['to'](this[_0x11c554(0x1ef)],'id',_0x287515=>_0x11c554(0x1ec)===_0x287515),this[_0x11c554(0x20c)](_0x4c5d2a,_0x11c554(0x276),()=>{const _0x14c211=_0x11c554;_0x4c5d2a[_0x14c211(0x249)]?this[_0x14c211(0x24e)]():_0x43ee01[_0x14c211(0x276)]();}),_0x4c5d2a;}[_0x30018d(0x280)](){const _0x318cba=_0x30018d,_0x11749d=this[_0x318cba(0x241)][_0x318cba(0x26c)][_0x318cba(0x227)](_0x3fb26b);this[_0x318cba(0x29b)]=new _0x5b7fba(this[_0x318cba(0x241)][_0x318cba(0x20e)],this[_0x318cba(0x212)],this[_0x318cba(0x241)][_0x318cba(0x254)][_0x318cba(0x227)](_0x318cba(0x24f))),this[_0x318cba(0x29b)]['on'](_0x318cba(0x27c),()=>{const _0x1e08d6=_0x318cba;this[_0x1e08d6(0x1ef)][_0x1e08d6(0x1fc)][_0x1e08d6(0x203)]||this[_0x1e08d6(0x1ef)][_0x1e08d6(0x1fc)][_0x1e08d6(0x234)]();}),this[_0x318cba(0x29b)][_0x318cba(0x1f1)][_0x318cba(0x23e)][_0x318cba(0x255)]['on'](_0x318cba(0x1f6),()=>{const _0x3d57ce=_0x318cba;this[_0x3d57ce(0x1ef)][_0x3d57ce(0x1fc)][_0x3d57ce(0x203)]||this[_0x3d57ce(0x1ef)][_0x3d57ce(0x1fc)][_0x3d57ce(0x234)]();}),this[_0x318cba(0x20c)](this[_0x318cba(0x29b)],_0x318cba(0x26f),()=>{const _0x595e34=_0x318cba;_0x11749d[_0x595e34(0x263)](this[_0x595e34(0x282)][_0x595e34(0x21e)]),this[_0x595e34(0x24e)]();}),this[_0x318cba(0x20c)](this[_0x318cba(0x29b)],_0x318cba(0x238),()=>{const _0x5a73db=_0x318cba;_0x11749d[_0x5a73db(0x238)](this[_0x5a73db(0x282)][_0x5a73db(0x21e)]),this[_0x5a73db(0x24e)]();}),this[_0x318cba(0x287)]();}[_0x30018d(0x287)](){const _0x47dd71=_0x30018d,{locale:_0x355744,ui:{ariaLiveAnnouncer:_0x336f45}}=this[_0x47dd71(0x241)];this[_0x47dd71(0x29b)][_0x47dd71(0x248)]['on'](_0x47dd71(0x273),(_0x266028,_0x39e7c7,_0x5d6c86)=>{const _0x3778c5=_0x47dd71,_0x117146=this[_0x3778c5(0x282)][_0x3778c5(0x21e)];_0x5d6c86?_0x336f45[_0x3778c5(0x296)](_0x5360aa(_0x355744,_0x3778c5(0x25a))):_0x117146&&_0x336f45[_0x3778c5(0x296)](_0x5360aa(_0x355744,_0x3778c5(0x233),_0x117146),{'politeness':_0x3778c5(0x25c),'isUnsafeHTML':!0x0});}),this[_0x47dd71(0x29b)]['on'](_0x47dd71(0x22f),(_0x1e4e4d,_0x34b45a,_0x3f58f9)=>{const _0x158fd1=_0x47dd71;if(_0x3f58f9){const _0x1a7db9=this[_0x158fd1(0x29b)][_0x158fd1(0x228)][_0x158fd1(0x22e)];_0x336f45[_0x158fd1(0x296)](_0x5360aa(_0x355744,_0x158fd1(0x28f),_0x1a7db9));}});}[_0x30018d(0x1f9)](_0x50f608){const _0x43a06f=_0x30018d,_0x3f204f=this[_0x43a06f(0x220)][_0x43a06f(0x227)](_0x50f608),_0x2f588f=this[_0x43a06f(0x241)],_0x1891c1=_0x2f588f[_0x43a06f(0x28c)][_0x43a06f(0x209)][_0x43a06f(0x283)],_0x2e4c8e=_0x2f588f[_0x43a06f(0x1f3)][_0x43a06f(0x227)](_0x43a06f(0x215)),_0x136f3f=_0x2f588f[_0x43a06f(0x26c)][_0x43a06f(0x227)](_0x3fb26b),_0x335f17=''+(_0x3f204f[_0x43a06f(0x28e)]!==_0x1ef90f?_0x3f204f[_0x43a06f(0x27e)]+':\x20':'')+_0x3f204f[_0x43a06f(0x223)];if(!0x1!==_0x3f204f[_0x43a06f(0x27f)]&&_0x1891c1[_0x43a06f(0x244)]){const _0x4f4907=_0x3a4186(_0x1891c1[_0x43a06f(0x24a)]())||_0x2f588f[_0x43a06f(0x28c)][_0x43a06f(0x274)][_0x43a06f(0x236)](_0x1891c1);_0x2f588f[_0x43a06f(0x28c)][_0x43a06f(0x260)](_0x548fa9=>{const _0x427017=_0x43a06f;_0x548fa9[_0x427017(0x25f)](_0x4f4907,'in');});}_0x136f3f[_0x43a06f(0x278)](),_0x2e4c8e[_0x43a06f(0x276)](_0x3f204f[_0x43a06f(0x247)],_0x335f17,_0x43a06f(0x297)+_0x50f608);}[_0x30018d(0x285)](_0x5b693f,_0x5b0db4,_0x5b97e7,_0x564420){const _0xcaebd7=_0x30018d,_0x16a20c=this[_0xcaebd7(0x241)],_0x182381=_0x16a20c[_0xcaebd7(0x20e)],_0x44241b=new _0x2fb4f6(_0x182381),_0x271957=B(_0x16a20c,_0x5b97e7)[_0xcaebd7(0x23c)](_0x409bd7=>_0x409bd7[_0xcaebd7(0x1f3)][_0xcaebd7(0x262)]);0x1===_0x271957[_0xcaebd7(0x262)]?this[_0xcaebd7(0x216)]({'command':_0x5b693f,'commands':_0x271957[0x0][_0xcaebd7(0x1f3)],'parentMenuView':_0x5b0db4,'onExecute':_0x564420})[_0xcaebd7(0x1f2)](_0x104460=>_0x44241b[_0xcaebd7(0x271)][_0xcaebd7(0x1fe)](_0x104460)):_0x271957[_0xcaebd7(0x1f2)](({groupId:_0x13c4ef,groupLabel:_0x3d522c,commands:_0x487ebe})=>{const _0x448408=_0xcaebd7,_0x12233a=new _0x9eeb2d(_0x182381,_0x5b0db4),_0x44a91f=new _0x49c684(_0x182381),_0x5dbc7f=new _0x2fb4f6(_0x182381),_0x2db397=this[_0x448408(0x216)]({'command':_0x5b693f,'commands':_0x487ebe,'parentMenuView':_0x44a91f,'onExecute':_0x564420});_0x44a91f[_0x448408(0x235)][_0x448408(0x26b)]({'label':_0x3d522c||_0x13c4ef}),_0x44a91f[_0x448408(0x1f4)](_0x448408(0x276))['to'](_0x5b0db4),_0x5dbc7f[_0x448408(0x271)][_0x448408(0x286)](_0x2db397),_0x44a91f[_0x448408(0x230)][_0x448408(0x243)][_0x448408(0x1fe)](_0x5dbc7f),_0x12233a[_0x448408(0x243)][_0x448408(0x1fe)](_0x44a91f),_0x44241b[_0x448408(0x271)][_0x448408(0x1fe)](_0x12233a);}),_0x5b0db4[_0xcaebd7(0x230)][_0xcaebd7(0x243)][_0xcaebd7(0x1fe)](_0x44241b);}[_0x30018d(0x216)]({command:_0x2b0d87,commands:_0x340390,parentMenuView:_0x14276f,onExecute:_0x505519}){const _0x26b51b=_0x30018d,_0xaf74cc=this[_0x26b51b(0x241)],_0x2bf61d=_0xaf74cc[_0x26b51b(0x20e)];return B(_0xaf74cc,_0x340390)[_0x26b51b(0x20b)](_0xfc18bd=>{const _0x24232e=_0x26b51b,_0x240075=new _0x9eeb2d(_0x2bf61d,_0x14276f),_0x22df25=new _0x3ccbf0(_0x2bf61d);return _0x22df25[_0x24232e(0x26b)]({'label':_0xfc18bd[_0x24232e(0x223)]}),_0x22df25[_0x24232e(0x1f4)](_0x24232e(0x276))['to'](_0x14276f),_0x22df25['on'](_0x24232e(0x276),()=>_0x505519(_0xfc18bd['id'])),_0x22df25[_0x24232e(0x24b)](_0x24232e(0x288))['to'](_0x2b0d87,_0x24232e(0x23a),_0x14f4dc=>_0x14f4dc[_0x24232e(0x22a)](_0xfc18bd['id'])),_0x240075[_0x24232e(0x243)][_0x24232e(0x1fe)](_0x22df25),_0x240075;});}}function _(_0x29c27f,_0x1d2462){const _0x1d1d11=_0x30018d;return void 0x0!==_0x29c27f[_0x1d1d11(0x250)]&&void 0x0===_0x1d2462[_0x1d1d11(0x250)]?0x1:void 0x0===_0x29c27f[_0x1d1d11(0x250)]&&void 0x0!==_0x1d2462[_0x1d1d11(0x250)]?-0x1:void 0x0!==_0x29c27f[_0x1d1d11(0x250)]&&void 0x0!==_0x1d2462[_0x1d1d11(0x250)]?_0x29c27f[_0x1d1d11(0x250)]-_0x1d2462[_0x1d1d11(0x250)]:0x0;}function _0x17d8(){const _0x3642c9=['copy','filter','aiLicenseKeyExpired','queryView','push','licenseKey','editor','AIAssistant','children','isCollapsed','aiLicenseKeyUsageLimit','40llMoCH','prompt','contentArea','isOn','getSelectedBlocks','bind','11164XeLUYL','media','hideUI','ai.aiAssistant.contentAreaCssClass','order','139392erUaHX','getData','menuPanelClass','config','fieldView','replace','<p>','AIAssistantUI','ck-ai-assistant-ui','AI\x20is\x20writing','REPLACE','polite','fire','menuView','setSelection','change','trialLimit','length','insertContent','evaluationLimit','domainLimit','AI\x20Commands','init','341HCAxeV','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','set','plugins','editing','componentFactory','replaceContent','ai.aiAssistant.commands','items','rawHtml','change:isProcessing','schema','</p>','execute','_createAIAssistantUIButton','showFakeVisualSelection','comment','usageLimit','expired','change:value','1592541tbYVMx','groupLabel','requiresContent','_initView','8ypWGyA','_aiAssistantController','selection','from','_populateMenuBarMenu','addMany','_initAriaAiStatusChangeAnnouncements','isEnabled','ai.aiAssistant.disabledElements','focus','updateView','model','menuitemcheckbox','groupId','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuBar:aiCommands','buttons','reset','ck-ai-assistant-button\x20','DataTransfer','hide','announce','command:','developmentLimit','1049356OVYRQf','isFlat','_formView','define','aiLicenseKeyEvaluationLimit','aiLicenseKeyDomainLimit','aiLicenseKeyNotAllowed','aiAssistant','_licenseKeyCheckInterval','text/html','_dialog','ai.useTheme','promptView','forEach','commands','delegate','invalid','update','aiLicenseKeyTrialLimit','isPremiumPlugin','_onExecute','values','show','view','aiCommands','add','aiLicenseKeyInvalid','robotPencil','INSERT','aiLicenseKeyValid','wasMoved','aiLicenseKeyDevelopmentLimit','\x20ck-ai-assistant-ui_theme','tableOfContents','body','ck-ai-commands-dropdown\x20','document','_forceMarkersCopy','map','listenTo','render','locale','AI\x20Assistant','48674VZfNUw','_showLicenseError','_uiCssClasses','change:enabledCommandsIds','sort','showAIAssistant','_getMenuBarGroupButtons','344590cyXqhf','pluginName','getSelectedElement','custom','requires','_aiAdapter','textAdapter','currentContext','ai-commands-config-order-collision','_commandDefinitions','trim','isOfficialPlugin','label','once','menuBar:aiAssistant','getRanges','get','errorView','source','includes','featureNotAllowed','336122oCifdR','splice','text','change:isError','panelView','18WQYYtm','showUI','Generated\x20content:\x20%0','updatePosition','buttonView','getLimitElement','destroy','insertContentBelow','hideFakeVisualSelection','enabledCommandsIds'];_0x17d8=function(){return _0x3642c9;};return _0x17d8();}function B(_0x9fb997,_0x9a3fc3){const _0x428dbd=_0x30018d;_0x9a3fc3[_0x428dbd(0x214)](_);const _0x349aac={},_0xaa52db=[];for(const _0x3b2f47 of _0x9a3fc3)if(void 0x0!==_0x3b2f47[_0x428dbd(0x250)]){if(_0x3b2f47[_0x428dbd(0x250)]in _0x349aac)throw new _0x83cce4(_0x428dbd(0x21f),_0x9fb997,{'conflictingDefinitions':[_0x3b2f47,_0x349aac[_0x3b2f47[_0x428dbd(0x250)]]]});_0x349aac[_0x3b2f47[_0x428dbd(0x250)]]=_0x3b2f47,_0xaa52db[_0x428dbd(0x22d)](_0x3b2f47[_0x428dbd(0x250)],0x0,_0x3b2f47);}else _0xaa52db[_0x428dbd(0x23f)](_0x3b2f47);return _0xaa52db;}
23
+ const _0x1cca25=_0x1f7a;(function(_0x29e6c1,_0x70acf0){const _0xc54f02=_0x1f7a,_0x2f3479=_0x29e6c1();while(!![]){try{const _0x247bc2=parseInt(_0xc54f02(0x152))/0x1+parseInt(_0xc54f02(0xfa))/0x2+parseInt(_0xc54f02(0x166))/0x3+parseInt(_0xc54f02(0xd3))/0x4+parseInt(_0xc54f02(0x106))/0x5+parseInt(_0xc54f02(0x10d))/0x6*(-parseInt(_0xc54f02(0x108))/0x7)+-parseInt(_0xc54f02(0x147))/0x8*(parseInt(_0xc54f02(0x15f))/0x9);if(_0x247bc2===_0x70acf0)break;else _0x2f3479['push'](_0x2f3479['shift']());}catch(_0x209b70){_0x2f3479['push'](_0x2f3479['shift']());}}}(_0x5d9a,0x33162));import{Plugin as _0x1fc734}from'ckeditor5/src/core.js';import{first as _0x41c662,CKEditorError as _0x252d75}from'ckeditor5/src/utils.js';import{createDropdown as _0x1a1541,addMenuToDropdown as _0x3351e1,ButtonView as _0x28e560,MenuBarMenuListItemButtonView as _0x4da10a,Dialog as _0x91b924,DialogViewPosition as _0x146ac0,MenuBarMenuView as _0x2172e8,MenuBarMenuListView as _0x1e3d0c,MenuBarMenuListItemView as _0x32d0b8}from'ckeditor5/src/ui.js';import{icons as _0x60fd85}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x311eea,UNGROUPED_COMMANDS_GROUP_ID as _0x87c976}from'./utils/normalizecommandsconfig.js';import _0x21828f from'./aiassistantediting.js';import _0x11efce from'./adapters/aiadapter.js';function _0x5d9a(){const _0x41e116=['developmentLimit','_aiAdapter','plugins','AI\x20Assistant','change:enabledCommandsIds','isFlat','tableOfContents','source','usageLimit','<p>','expired','delegate','licenseKey','aiLicenseKeyNotAllowed','722054ElnNYi','_licenseKeyCheckInterval','splice','aiAssistant','get','model','schema','evaluationLimit','config','pluginName','aiLicenseKeyUsageLimit','menuView','1338670zSXtid','updateView','125566THkvEe','panelView','command:','_initAriaAiStatusChangeAnnouncements','aiLicenseKeyDomainLimit','18RUdhSe','isOn','_aiAssistantController','_forceMarkersCopy','buttonView','getData','_initView','hideFakeVisualSelection','items','add','bind','requiresContent','isOfficialPlugin','getRanges','robotPencil','init','aiLicenseKeyInvalid','commands','editor','replace','change','map','ck-ai-assistant-button\x20','update','setSelection','once','reset','announce','execute','aiLicenseKeyExpired','updatePosition','getSelectedElement','trim','aiLicenseKeyValid','AIAssistant','change:isError','_uiCssClasses','listenTo','componentFactory','aiLicenseKeyTrialLimit','includes','aiLicenseKeyDevelopmentLimit','_populateMenuBarMenu','menuBar:aiCommands','view','ck-ai-commands-dropdown\x20','replaceContent','buttons','aiLicenseKeyEvaluationLimit','_onExecute','children','text','polite','_createAIAssistantUIButton','ai.aiAssistant.commands','selection','hideUI','change:value','186512JpzNnK','promptView','Generated\x20content:\x20%0','render','AI\x20is\x20writing','body','isCollapsed','ai.aiAssistant.contentAreaCssClass','sort','menuPanelClass','currentContext','359389CjRVWU','length','_commandDefinitions','text/html','label','contentArea','focus','isEnabled','showAIAssistant','isPremiumPlugin','menuitemcheckbox','EDITOR_TOP_SIDE','wasMoved','441FDHoIu','destroy','custom','show','addMany','_dialog','showFakeVisualSelection','1026831DXsBBx','getLimitElement','fieldView','menuBar:aiAssistant','ai.useTheme','getSelectedBlocks','aiCommands','</p>','\x20ck-ai-assistant-ui_theme','AI\x20Commands','featureNotAllowed','showUI','locale','ai.aiAssistant.disabledElements','editing','requires','set','rawHtml','_getMenuBarGroupButtons','groupId','_showLicenseError','fire','groupLabel','AIAssistantUI','enabledCommandsIds','Error\x20during\x20AI\x20content\x20generation:\x20%0','textAdapter','ai-commands-config-order-collision','forEach','queryView','comment','300092FQjfjM','document','change:isProcessing','copy','INSERT','prompt','values','errorView','push','REPLACE','ck-ai-assistant-ui','order','trialLimit','DataTransfer','filter','_getResolvedCommandsDefinitions','_formView','domainLimit','from','insertContent','insertContentBelow','invalid','hide','define','media'];_0x5d9a=function(){return _0x41e116;};return _0x5d9a();}import{getTranslation as _0x19c2a6}from'./utils/common-translations.js';import _0x60c90c from'./ui/showaiassistantcommand.js';import _0x177d52 from'./ui/aiassistantcontroller.js';import _0x406ca2 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x37d494}from'./ui/form/aiformtoolbarview.js';import _0x261a71 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x1cca25(0xe0)];import{ClipboardMarkersUtils as _0x335ed7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x267c5a,DataTransfer as _0x1e35fd}from'ckeditor5/src/engine.js';export default class n extends _0x1fc734{static get[_0x1cca25(0x103)](){const _0x41c429=_0x1cca25;return _0x41c429(0xcb);}static get[_0x1cca25(0x119)](){return!0x0;}static get[_0x1cca25(0x15b)](){return!0x0;}static get[_0x1cca25(0xc3)](){return[_0x335ed7,_0x21828f,_0x11efce,_0x91b924];}constructor(_0x5ce44f){const _0x55b6e1=_0x1cca25;super(_0x5ce44f),this[_0x55b6e1(0x131)]='',_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0xc1),[_0x55b6e1(0xeb),_0x55b6e1(0xc5),_0x55b6e1(0xf2)]),_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0x14e),''),_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0x16a),!0x0),this[_0x55b6e1(0x131)]=_0x55b6e1(0xdd)+(_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xfe)](_0x55b6e1(0x16a))?_0x55b6e1(0xbc):'');}[_0x1cca25(0x11c)](){const _0x290192=_0x1cca25,{editor:_0x137481}=this;this[_0x290192(0xed)]=_0x137481[_0x290192(0xee)][_0x290192(0xfe)](_0x11efce),this[_0x290192(0x164)]=_0x137481[_0x290192(0xee)][_0x290192(0xfe)](_0x91b924),this[_0x290192(0xe3)]=null,this[_0x290192(0x154)]=this[_0x290192(0xe2)]();const _0x2eebc8=new _0x60c90c(_0x137481,Array[_0x290192(0xe5)](this[_0x290192(0x154)][_0x290192(0xd9)]()));_0x137481[_0x290192(0x11e)][_0x290192(0x116)](_0x290192(0x15a),_0x2eebc8),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0xba),_0x2c58ef=>{const _0x30b797=_0x290192,_0x2eeb43=_0x1a1541(_0x2c58ef);return _0x2eeb43[_0x30b797(0xc4)]({'class':_0x30b797(0x13a)+this[_0x30b797(0x131)]}),_0x2eeb43[_0x30b797(0x111)][_0x30b797(0xc4)]({'label':_0x19c2a6(_0x2c58ef,_0x30b797(0xbd)),'icon':_0x261a71,'tooltip':!0x0}),_0x2eeb43['on'](_0x30b797(0x129),_0xc17bbf=>this[_0x30b797(0x13e)](_0xc17bbf[_0x30b797(0xf3)]['id'])),_0x3351e1(_0x2eeb43,_0x137481['ui'][_0x30b797(0x139)][_0x30b797(0x14c)],function(_0x20f0af){const _0x4e26b4=_0x30b797,_0x1fc917=_0x311eea(_0x20f0af[_0x4e26b4(0x102)][_0x4e26b4(0xfe)](_0x4e26b4(0x143)),_0x20f0af[_0x4e26b4(0xc0)]),_0x5321bf=B(_0x20f0af,_0x1fc917)[_0x4e26b4(0xe1)](_0x58ca4e=>_0x58ca4e[_0x4e26b4(0x11e)][_0x4e26b4(0x153)]);if(0x1===_0x5321bf[_0x4e26b4(0x153)])return B(_0x20f0af,_0x5321bf[0x0][_0x4e26b4(0x11e)])[_0x4e26b4(0x122)](_0x3172c4=>({'id':_0x3172c4['id'],'label':_0x3172c4[_0x4e26b4(0x156)]}));return _0x5321bf[_0x4e26b4(0x122)](_0x501f1a=>{const _0x5321d0=_0x4e26b4,{groupId:_0xb0ebea,groupLabel:_0x461910,commands:_0x39646a}=_0x501f1a,_0x3e3670=B(_0x20f0af,_0x39646a)[_0x5321d0(0x122)](_0x4e2d5e=>({'id':_0x4e2d5e['id'],'label':_0x4e2d5e[_0x5321d0(0x156)]}));return{'id':_0xb0ebea,'menu':_0x461910||_0xb0ebea,'children':_0x3e3670};});}(_0x137481),{'ariaLabel':_0x19c2a6(_0x2c58ef,_0x30b797(0xbd))}),_0x2eeb43[_0x30b797(0x105)][_0x30b797(0x150)]=_0x30b797(0x13a)+this[_0x30b797(0x131)],_0x2eebc8['on'](_0x30b797(0xf0),_0x23d8a8),_0x2eeb43[_0x30b797(0x105)][_0x30b797(0x126)](_0x30b797(0x14a),_0x23d8a8),_0x2eeb43;function _0x23d8a8(){const _0x440988=_0x30b797;_0x2eeb43[_0x440988(0x159)]=_0x2eebc8[_0x440988(0xcc)][_0x440988(0x153)]>0x0;for(const _0x36433b of _0x2eeb43[_0x440988(0x105)][_0x440988(0x13c)])_0x36433b[_0x440988(0x159)]=_0x2eebc8[_0x440988(0xcc)][_0x440988(0x135)](_0x36433b['id']);}}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0x138),_0x5aee28=>{const _0x41acd8=_0x290192,_0x4151c1=new _0x2172e8(_0x5aee28);_0x4151c1[_0x41acd8(0x111)][_0x41acd8(0xc4)]({'label':_0x19c2a6(_0x5aee28,_0x41acd8(0xbd)),'icon':_0x261a71}),_0x4151c1[_0x41acd8(0x117)](_0x41acd8(0x159))['to'](_0x2eebc8,_0x41acd8(0xcc),_0xafa074=>_0xafa074[_0x41acd8(0x153)]>0x0);const _0x354b1a=_0x311eea(_0x137481[_0x41acd8(0x102)][_0x41acd8(0xfe)](_0x41acd8(0x143)),_0x5aee28);return this[_0x41acd8(0x137)](_0x2eebc8,_0x4151c1,_0x354b1a,_0x357c9b=>this[_0x41acd8(0x13e)](_0x357c9b)),_0x4151c1;}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0xfd),()=>{const _0x4b8dfe=_0x290192,_0xdb9521=this[_0x4b8dfe(0x142)](_0x28e560);return _0xdb9521[_0x4b8dfe(0xc4)]({'tooltip':!0x0,'class':_0x4b8dfe(0x123)+this[_0x4b8dfe(0x131)]}),_0xdb9521;}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0x169),()=>{const _0x2f3971=_0x290192,_0x5b4f5b=this[_0x2f3971(0x142)](_0x4da10a);return _0x5b4f5b[_0x2f3971(0xc4)]({'role':_0x2f3971(0x15c)}),_0x5b4f5b;}),this[_0x290192(0xf8)]=this[_0x290192(0x11f)][_0x290192(0x102)][_0x290192(0xfe)](_0x290192(0xf8));const _0x16cd85=this[_0x290192(0x11f)];this[_0x290192(0xfb)]=setInterval(()=>{const _0x1b8a2e=_0x290192;let _0x18f716;for(const _0xc302e3 in _0x16cd85){const _0x37d633=_0xc302e3,_0x33e4e2=_0x16cd85[_0x37d633];if(_0x1b8a2e(0x12e)==_0x33e4e2||_0x1b8a2e(0x11d)==_0x33e4e2||_0x1b8a2e(0x12a)==_0x33e4e2||_0x1b8a2e(0x10c)==_0x33e4e2||_0x1b8a2e(0xf9)==_0x33e4e2||_0x1b8a2e(0x13d)==_0x33e4e2||_0x1b8a2e(0x134)==_0x33e4e2||_0x1b8a2e(0x136)==_0x33e4e2||_0x1b8a2e(0x104)==_0x33e4e2){delete _0x16cd85[_0x37d633],_0x18f716=_0x33e4e2,clearInterval(this[_0x1b8a2e(0xfb)]),this[_0x1b8a2e(0xfb)]=void 0x0;break;}}_0x1b8a2e(0x11d)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xe8)),_0x1b8a2e(0x12a)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xf6)),_0x1b8a2e(0x10c)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xe4)),_0x1b8a2e(0xf9)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xbe),_0x1b8a2e(0x12f)),_0x1b8a2e(0x13d)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0x101)),_0x1b8a2e(0x134)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xdf)),_0x1b8a2e(0x136)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xec)),_0x1b8a2e(0x104)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xf4));},0x3e8);}[_0x1cca25(0x160)](){const _0x17fcd4=_0x1cca25;super[_0x17fcd4(0x160)](),this[_0x17fcd4(0xfb)]&&clearInterval(this[_0x17fcd4(0xfb)]);}[_0x1cca25(0xbf)](_0x23b12f='',_0x48db0e='',_0x4d72a3=_0x1cca25(0x161)){const _0x3523dd=_0x1cca25,_0x1f1940=this[_0x3523dd(0x11f)],_0x5234d0=_0x1f1940[_0x3523dd(0xc2)][_0x3523dd(0x139)],_0xc8fcb=_0x1f1940[_0x3523dd(0xee)][_0x3523dd(0xfe)](_0x21828f),_0x2a9a42=_0x1f1940[_0x3523dd(0xee)][_0x3523dd(0xfe)](_0x335ed7);_0xc8fcb[_0x3523dd(0x165)]();const _0x39c2d9=new j(),_0xf2c9d0=new ClipboardEvent(_0x3523dd(0xd6),{'clipboardData':_0x39c2d9}),_0x1a45b2=new _0x1e35fd(_0x39c2d9),_0x31eef3=new _0x267c5a(_0x5234d0,_0xf2c9d0,{'dataTransfer':_0x1a45b2});_0x2a9a42[_0x3523dd(0x110)](_0x3523dd(0xd2),()=>{const _0x3e1a86=_0x3523dd;_0x5234d0[_0x3e1a86(0xd4)][_0x3e1a86(0xc9)](_0x3e1a86(0xd6),_0x31eef3);}),this[_0x3523dd(0xe3)]||(this[_0x3523dd(0x113)](),this[_0x3523dd(0x10f)]=new _0x177d52(_0x1f1940,this[_0x3523dd(0xed)][_0x3523dd(0xce)],this[_0x3523dd(0xe3)]));let _0x480fd9=_0x1a45b2[_0x3523dd(0x112)](_0x3523dd(0x155));const _0x3a7e7a=_0x1f1940[_0x3523dd(0xff)][_0x3523dd(0xd4)][_0x3523dd(0x144)],_0x224ebd=Array[_0x3523dd(0xe5)](_0x3a7e7a[_0x3523dd(0x11a)]());0x1===_0x224ebd[_0x3523dd(0x153)]&&_0x224ebd[0x0][_0x3523dd(0xf1)]&&!_0x3a7e7a[_0x3523dd(0x12c)]()&&''!==_0x480fd9[_0x3523dd(0x120)](/&nbsp;/g,'')[_0x3523dd(0x12d)]()&&(_0x480fd9=_0x3523dd(0xf5)+_0x480fd9+_0x3523dd(0xbb)),this[_0x3523dd(0x10f)][_0x3523dd(0x107)]({'actionId':_0x4d72a3,'query':_0x23b12f,'htmlContent':_0x480fd9,'label':_0x48db0e,'mainActionLabel':_0x37d494[_0x1f1940[_0x3523dd(0xff)][_0x3523dd(0xd4)][_0x3523dd(0x144)][_0x3523dd(0x14d)]?_0x3523dd(0xd7):_0x3523dd(0xdc)]}),_0x3523dd(0xfd)!==this[_0x3523dd(0x164)]['id']?this[_0x3523dd(0x164)][_0x3523dd(0x162)]({'id':_0x3523dd(0xfd),'icon':_0x60fd85[_0x3523dd(0x11b)],'title':_0x19c2a6(this[_0x3523dd(0x11f)][_0x3523dd(0xc0)],_0x3523dd(0xef)),'content':this[_0x3523dd(0xe3)],'position':_0x146ac0[_0x3523dd(0x15d)],'onShow':()=>{const _0x4ab126=_0x3523dd;this[_0x4ab126(0xe3)][_0x4ab126(0x158)]();},'onHide':()=>{const _0x33c97a=_0x3523dd;this[_0x33c97a(0x10f)][_0x33c97a(0x127)](),_0xc8fcb[_0x33c97a(0x114)]();}}):this[_0x3523dd(0x164)][_0x3523dd(0x139)][_0x3523dd(0x15e)]||this[_0x3523dd(0x164)][_0x3523dd(0x139)][_0x3523dd(0x12b)]();}[_0x1cca25(0x145)](){const _0x1a50b7=_0x1cca25;this[_0x1a50b7(0x164)][_0x1a50b7(0xe9)]();}[_0x1cca25(0xe2)](){const _0x54ab89=_0x1cca25,_0x2edbdb=new Map(),_0x3c5701=_0x311eea(this[_0x54ab89(0x11f)][_0x54ab89(0x102)][_0x54ab89(0xfe)](_0x54ab89(0x143)),this[_0x54ab89(0x11f)][_0x54ab89(0xc0)]);for(const _0xe0d367 of _0x3c5701)for(const _0x5e6487 of _0xe0d367[_0x54ab89(0x11e)])_0x2edbdb[_0x54ab89(0xc4)](_0x5e6487['id'],{..._0x5e6487,'groupId':_0xe0d367[_0x54ab89(0xc7)],'groupLabel':_0xe0d367[_0x54ab89(0xca)]||_0xe0d367[_0x54ab89(0xc7)]});return _0x2edbdb;}[_0x1cca25(0x142)](_0x5587f5){const _0x80cfba=_0x1cca25,_0x5985e2=this[_0x80cfba(0x11f)],_0x13d9a9=_0x5985e2[_0x80cfba(0x11e)][_0x80cfba(0xfe)](_0x80cfba(0x15a)),_0x14c4ed=new _0x5587f5(_0x5985e2[_0x80cfba(0xc0)]);return _0x14c4ed[_0x80cfba(0xc4)]({'label':_0x19c2a6(_0x5985e2[_0x80cfba(0xc0)],_0x80cfba(0xef)),'icon':_0x60fd85[_0x80cfba(0x11b)],'isToggleable':!0x0}),_0x14c4ed[_0x80cfba(0x117)](_0x80cfba(0x159))['to'](_0x13d9a9),_0x14c4ed[_0x80cfba(0x117)](_0x80cfba(0x10e))['to'](this[_0x80cfba(0x164)],'id',_0xc91704=>_0x80cfba(0xfd)===_0xc91704),this[_0x80cfba(0x132)](_0x14c4ed,_0x80cfba(0x129),()=>{const _0xd23585=_0x80cfba;_0x14c4ed[_0xd23585(0x10e)]?this[_0xd23585(0x145)]():_0x13d9a9[_0xd23585(0x129)]();}),_0x14c4ed;}[_0x1cca25(0x113)](){const _0x9ead4d=_0x1cca25,_0x1295b3=this[_0x9ead4d(0x11f)][_0x9ead4d(0xee)][_0x9ead4d(0xfe)](_0x21828f);this[_0x9ead4d(0xe3)]=new _0x406ca2(this[_0x9ead4d(0x11f)][_0x9ead4d(0xc0)],this[_0x9ead4d(0x131)],this[_0x9ead4d(0x11f)][_0x9ead4d(0x102)][_0x9ead4d(0xfe)](_0x9ead4d(0x14e))),this[_0x9ead4d(0xe3)]['on'](_0x9ead4d(0x146),()=>{const _0x1ff8a7=_0x9ead4d;this[_0x1ff8a7(0x164)][_0x1ff8a7(0x139)][_0x1ff8a7(0x15e)]||this[_0x1ff8a7(0x164)][_0x1ff8a7(0x139)][_0x1ff8a7(0x12b)]();}),this[_0x9ead4d(0xe3)][_0x9ead4d(0x148)][_0x9ead4d(0xd1)][_0x9ead4d(0x168)]['on'](_0x9ead4d(0x124),()=>{const _0x1bad00=_0x9ead4d;this[_0x1bad00(0x164)][_0x1bad00(0x139)][_0x1bad00(0x15e)]||this[_0x1bad00(0x164)][_0x1bad00(0x139)][_0x1bad00(0x12b)]();}),this[_0x9ead4d(0x132)](this[_0x9ead4d(0xe3)],_0x9ead4d(0x13b),()=>{const _0x348b46=_0x9ead4d;_0x1295b3[_0x348b46(0xe6)](this[_0x348b46(0x10f)][_0x348b46(0x151)]),this[_0x348b46(0x145)]();}),this[_0x9ead4d(0x132)](this[_0x9ead4d(0xe3)],_0x9ead4d(0xe7),()=>{const _0x30266a=_0x9ead4d;_0x1295b3[_0x30266a(0xe7)](this[_0x30266a(0x10f)][_0x30266a(0x151)]),this[_0x30266a(0x145)]();}),this[_0x9ead4d(0x10b)]();}[_0x1cca25(0x10b)](){const _0x1138c8=_0x1cca25,{locale:_0xf5d8f4,ui:{ariaLiveAnnouncer:_0x414520}}=this[_0x1138c8(0x11f)];this[_0x1138c8(0xe3)][_0x1138c8(0x157)]['on'](_0x1138c8(0xd5),(_0xb1a9ba,_0x586ae5,_0x2e7349)=>{const _0x1bde44=_0x1138c8,_0x4251ac=this[_0x1bde44(0x10f)][_0x1bde44(0x151)];_0x2e7349?_0x414520[_0x1bde44(0x128)](_0x19c2a6(_0xf5d8f4,_0x1bde44(0x14b))):_0x4251ac&&_0x414520[_0x1bde44(0x128)](_0x19c2a6(_0xf5d8f4,_0x1bde44(0x149),_0x4251ac),{'politeness':_0x1bde44(0x141),'isUnsafeHTML':!0x0});}),this[_0x1138c8(0xe3)]['on'](_0x1138c8(0x130),(_0x24bfd1,_0x17fc7c,_0x474437)=>{const _0x430e1c=_0x1138c8;if(_0x474437){const _0x30347c=this[_0x430e1c(0xe3)][_0x430e1c(0xda)][_0x430e1c(0x140)];_0x414520[_0x430e1c(0x128)](_0x19c2a6(_0xf5d8f4,_0x430e1c(0xcd),_0x30347c));}});}[_0x1cca25(0x13e)](_0x1bbec3){const _0x5b4efa=_0x1cca25,_0x464df1=this[_0x5b4efa(0x154)][_0x5b4efa(0xfe)](_0x1bbec3),_0xca0763=this[_0x5b4efa(0x11f)],_0x372788=_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0xd4)][_0x5b4efa(0x144)],_0x282a77=_0xca0763[_0x5b4efa(0x11e)][_0x5b4efa(0xfe)](_0x5b4efa(0x15a)),_0x11be7e=_0xca0763[_0x5b4efa(0xee)][_0x5b4efa(0xfe)](_0x21828f),_0x4ab2e4=''+(_0x464df1[_0x5b4efa(0xc7)]!==_0x87c976?_0x464df1[_0x5b4efa(0xca)]+':\x20':'')+_0x464df1[_0x5b4efa(0x156)];if(!0x1!==_0x464df1[_0x5b4efa(0x118)]&&_0x372788[_0x5b4efa(0x14d)]){const _0x530683=_0x41c662(_0x372788[_0x5b4efa(0x16b)]())||_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0x100)][_0x5b4efa(0x167)](_0x372788);_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0x121)](_0x1d9b9d=>{const _0x466528=_0x5b4efa;_0x1d9b9d[_0x466528(0x125)](_0x530683,'in');});}_0x11be7e[_0x5b4efa(0x165)](),_0x282a77[_0x5b4efa(0x129)](_0x464df1[_0x5b4efa(0xd8)],_0x4ab2e4,_0x5b4efa(0x10a)+_0x1bbec3);}[_0x1cca25(0x137)](_0x4c9e20,_0x19f314,_0x5a2059,_0x440207){const _0x51f61c=_0x1cca25,_0x10f947=this[_0x51f61c(0x11f)],_0x31ba21=_0x10f947[_0x51f61c(0xc0)],_0x49d5eb=new _0x1e3d0c(_0x31ba21),_0x55e1ea=B(_0x10f947,_0x5a2059)[_0x51f61c(0xe1)](_0x10b5a4=>_0x10b5a4[_0x51f61c(0x11e)][_0x51f61c(0x153)]);0x1===_0x55e1ea[_0x51f61c(0x153)]?this[_0x51f61c(0xc6)]({'command':_0x4c9e20,'commands':_0x55e1ea[0x0][_0x51f61c(0x11e)],'parentMenuView':_0x19f314,'onExecute':_0x440207})[_0x51f61c(0xd0)](_0xf40f21=>_0x49d5eb[_0x51f61c(0x115)][_0x51f61c(0x116)](_0xf40f21)):_0x55e1ea[_0x51f61c(0xd0)](({groupId:_0x3e4f3d,groupLabel:_0x54aecb,commands:_0x129b20})=>{const _0x5f2de2=_0x51f61c,_0x117d54=new _0x32d0b8(_0x31ba21,_0x19f314),_0xf08e74=new _0x2172e8(_0x31ba21),_0xd6d4cf=new _0x1e3d0c(_0x31ba21),_0x22dd45=this[_0x5f2de2(0xc6)]({'command':_0x4c9e20,'commands':_0x129b20,'parentMenuView':_0xf08e74,'onExecute':_0x440207});_0xf08e74[_0x5f2de2(0x111)][_0x5f2de2(0xc4)]({'label':_0x54aecb||_0x3e4f3d}),_0xf08e74[_0x5f2de2(0xf7)](_0x5f2de2(0x129))['to'](_0x19f314),_0xd6d4cf[_0x5f2de2(0x115)][_0x5f2de2(0x163)](_0x22dd45),_0xf08e74[_0x5f2de2(0x109)][_0x5f2de2(0x13f)][_0x5f2de2(0x116)](_0xd6d4cf),_0x117d54[_0x5f2de2(0x13f)][_0x5f2de2(0x116)](_0xf08e74),_0x49d5eb[_0x5f2de2(0x115)][_0x5f2de2(0x116)](_0x117d54);}),_0x19f314[_0x51f61c(0x109)][_0x51f61c(0x13f)][_0x51f61c(0x116)](_0x49d5eb);}[_0x1cca25(0xc6)]({command:_0xbbcce6,commands:_0x56f2a5,parentMenuView:_0x55dfce,onExecute:_0x3b8b10}){const _0x4e7aa9=_0x1cca25,_0x5e318c=this[_0x4e7aa9(0x11f)],_0x111dac=_0x5e318c[_0x4e7aa9(0xc0)];return B(_0x5e318c,_0x56f2a5)[_0x4e7aa9(0x122)](_0x4418ff=>{const _0x1b811e=_0x4e7aa9,_0x55125d=new _0x32d0b8(_0x111dac,_0x55dfce),_0x312afd=new _0x4da10a(_0x111dac);return _0x312afd[_0x1b811e(0xc4)]({'label':_0x4418ff[_0x1b811e(0x156)]}),_0x312afd[_0x1b811e(0xf7)](_0x1b811e(0x129))['to'](_0x55dfce),_0x312afd['on'](_0x1b811e(0x129),()=>_0x3b8b10(_0x4418ff['id'])),_0x312afd[_0x1b811e(0x117)](_0x1b811e(0x159))['to'](_0xbbcce6,_0x1b811e(0xcc),_0x2c978c=>_0x2c978c[_0x1b811e(0x135)](_0x4418ff['id'])),_0x55125d[_0x1b811e(0x13f)][_0x1b811e(0x116)](_0x312afd),_0x55125d;});}}function _0x1f7a(_0x32fb49,_0x196577){const _0x5d9ac8=_0x5d9a();return _0x1f7a=function(_0x1f7ada,_0x16bc21){_0x1f7ada=_0x1f7ada-0xba;let _0x27b26d=_0x5d9ac8[_0x1f7ada];return _0x27b26d;},_0x1f7a(_0x32fb49,_0x196577);}function _(_0x56a3bd,_0x4dd29e){const _0x384abf=_0x1cca25;return void 0x0!==_0x56a3bd[_0x384abf(0xde)]&&void 0x0===_0x4dd29e[_0x384abf(0xde)]?0x1:void 0x0===_0x56a3bd[_0x384abf(0xde)]&&void 0x0!==_0x4dd29e[_0x384abf(0xde)]?-0x1:void 0x0!==_0x56a3bd[_0x384abf(0xde)]&&void 0x0!==_0x4dd29e[_0x384abf(0xde)]?_0x56a3bd[_0x384abf(0xde)]-_0x4dd29e[_0x384abf(0xde)]:0x0;}function B(_0x223e15,_0x1718a2){const _0x3c89e3=_0x1cca25;_0x1718a2[_0x3c89e3(0x14f)](_);const _0x125b1c={},_0x44efbb=[];for(const _0x3db9b7 of _0x1718a2)if(void 0x0!==_0x3db9b7[_0x3c89e3(0xde)]){if(_0x3db9b7[_0x3c89e3(0xde)]in _0x125b1c)throw new _0x252d75(_0x3c89e3(0xcf),_0x223e15,{'conflictingDefinitions':[_0x3db9b7,_0x125b1c[_0x3db9b7[_0x3c89e3(0xde)]]]});_0x125b1c[_0x3db9b7[_0x3c89e3(0xde)]]=_0x3db9b7,_0x44efbb[_0x3c89e3(0xfc)](_0x3db9b7[_0x3c89e3(0xde)],0x0,_0x3db9b7);}else _0x44efbb[_0x3c89e3(0xdb)](_0x3db9b7);return _0x44efbb;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x9cbfa9,_0x593764){var _0x51f0c6=_0x4584,_0x110304=_0x9cbfa9();while(!![]){try{var _0x4712f3=parseInt(_0x51f0c6(0x1b4))/0x1*(-parseInt(_0x51f0c6(0x1b2))/0x2)+parseInt(_0x51f0c6(0x1b3))/0x3*(parseInt(_0x51f0c6(0x1b1))/0x4)+-parseInt(_0x51f0c6(0x1b6))/0x5+parseInt(_0x51f0c6(0x1ac))/0x6*(parseInt(_0x51f0c6(0x1b5))/0x7)+-parseInt(_0x51f0c6(0x1ae))/0x8+-parseInt(_0x51f0c6(0x1ad))/0x9*(parseInt(_0x51f0c6(0x1af))/0xa)+parseInt(_0x51f0c6(0x1b0))/0xb;if(_0x4712f3===_0x593764)break;else _0x110304['push'](_0x110304['shift']());}catch(_0x1d5085){_0x110304['push'](_0x110304['shift']());}}}(_0x4e9c,0x1dd71));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x4584(_0x1d5b8f,_0x287c76){var _0x4e9c73=_0x4e9c();return _0x4584=function(_0x4584b3,_0x49820c){_0x4584b3=_0x4584b3-0x1ac;var _0x14f238=_0x4e9c73[_0x4584b3];return _0x14f238;},_0x4584(_0x1d5b8f,_0x287c76);}import'./augmentation.js';function _0x4e9c(){var _0x320a14=['4456VaMPoE','9932zgMlDo','411jaLnLk','8UDTSOL','123571zUwMmR','1165770EwExDP','6uyEZpT','661221rySLlE','1437496hrqHdu','10YvhlHt','5257912mFvfFy'];_0x4e9c=function(){return _0x320a14;};return _0x4e9c();}
23
+ (function(_0x1cca12,_0x35c58a){var _0x405800=_0x4812,_0x1c81d9=_0x1cca12();while(!![]){try{var _0x4e6dda=-parseInt(_0x405800(0x1b5))/0x1*(parseInt(_0x405800(0x1b0))/0x2)+parseInt(_0x405800(0x1b1))/0x3*(-parseInt(_0x405800(0x1b2))/0x4)+parseInt(_0x405800(0x1b3))/0x5+parseInt(_0x405800(0x1af))/0x6+parseInt(_0x405800(0x1ac))/0x7+parseInt(_0x405800(0x1ae))/0x8+-parseInt(_0x405800(0x1b4))/0x9*(-parseInt(_0x405800(0x1ad))/0xa);if(_0x4e6dda===_0x35c58a)break;else _0x1c81d9['push'](_0x1c81d9['shift']());}catch(_0x284b76){_0x1c81d9['push'](_0x1c81d9['shift']());}}}(_0x56ba,0xdca61));function _0x4812(_0x31b162,_0x3476ef){var _0x56bace=_0x56ba();return _0x4812=function(_0x48128a,_0x1bf8d8){_0x48128a=_0x48128a-0x1ac;var _0x410c82=_0x56bace[_0x48128a];return _0x410c82;},_0x4812(_0x31b162,_0x3476ef);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x56ba(){var _0x36eae7=['5362336DkZIXj','20EUEWKx','9860600oMcVbG','1124376denkUZ','286430Jlpxji','324eBdvsE','62312PGFHZg','7256225QZzhUS','2359359VIwJip','11ZyjswN'];_0x56ba=function(){return _0x36eae7;};return _0x56ba();}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';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x59b0ed,_0x751707){var _0x49d54d=_0x3125,_0x33d962=_0x59b0ed();while(!![]){try{var _0x5a7a50=-parseInt(_0x49d54d(0x155))/0x1*(-parseInt(_0x49d54d(0x156))/0x2)+-parseInt(_0x49d54d(0x154))/0x3+parseInt(_0x49d54d(0x152))/0x4*(parseInt(_0x49d54d(0x14f))/0x5)+-parseInt(_0x49d54d(0x150))/0x6*(-parseInt(_0x49d54d(0x157))/0x7)+-parseInt(_0x49d54d(0x151))/0x8*(-parseInt(_0x49d54d(0x153))/0x9)+-parseInt(_0x49d54d(0x159))/0xa+parseInt(_0x49d54d(0x15a))/0xb*(-parseInt(_0x49d54d(0x158))/0xc);if(_0x5a7a50===_0x751707)break;else _0x33d962['push'](_0x33d962['shift']());}catch(_0x317669){_0x33d962['push'](_0x33d962['shift']());}}}(_0x5d2a,0xda293));function _0x3125(_0x1534dc,_0x29742c){var _0x5d2a94=_0x5d2a();return _0x3125=function(_0x312524,_0x47468d){_0x312524=_0x312524-0x14f;var _0xe72aa=_0x5d2a94[_0x312524];return _0xe72aa;},_0x3125(_0x1534dc,_0x29742c);}function _0x5d2a(){var _0x324a90=['1299528nOfNql','2132470VkfyrX','165NFZvPy','1295OqPwYs','678KbZvdH','16Kxqoji','21488aLIoRY','567225osybho','557688NnYNlS','5CKLklE','25226MlKKXo','82803bdbqvF'];_0x5d2a=function(){return _0x324a90;};return _0x5d2a();}import{CKEditorError as _0x52b409}from'ckeditor5/src/utils.js';
23
+ (function(_0x507e91,_0x51f99a){var _0x571e30=_0x3137,_0x14793d=_0x507e91();while(!![]){try{var _0x21ddf5=parseInt(_0x571e30(0x1d3))/0x1+parseInt(_0x571e30(0x1d4))/0x2+parseInt(_0x571e30(0x1d5))/0x3+parseInt(_0x571e30(0x1d7))/0x4+-parseInt(_0x571e30(0x1d8))/0x5*(-parseInt(_0x571e30(0x1d9))/0x6)+parseInt(_0x571e30(0x1d2))/0x7+-parseInt(_0x571e30(0x1d6))/0x8;if(_0x21ddf5===_0x51f99a)break;else _0x14793d['push'](_0x14793d['shift']());}catch(_0x596048){_0x14793d['push'](_0x14793d['shift']());}}}(_0x3564,0xd8a6e));function _0x3137(_0x5b472f,_0x144e16){var _0x35640b=_0x3564();return _0x3137=function(_0x3137d8,_0x557c17){_0x3137d8=_0x3137d8-0x1d2;var _0x3578b9=_0x35640b[_0x3137d8];return _0x3578b9;},_0x3137(_0x5b472f,_0x144e16);}import{CKEditorError as _0x5edc3b}from'ckeditor5/src/utils.js';function _0x3564(){var _0x45564c=['2040YEmZxX','7889994zJsfln','712493RTNfff','2852430qKHlHA','5128989RSeSdH','40565344knKwoZ','2737524ZBWhNF','4385liyGaV'];_0x3564=function(){return _0x45564c;};return _0x3564();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9ed667=_0x2bf1;(function(_0x25dafd,_0xf23424){const _0x226a45=_0x2bf1,_0x1421ff=_0x25dafd();while(!![]){try{const _0x120f97=-parseInt(_0x226a45(0xa8))/0x1*(-parseInt(_0x226a45(0x9f))/0x2)+-parseInt(_0x226a45(0x82))/0x3+-parseInt(_0x226a45(0xa7))/0x4+parseInt(_0x226a45(0x97))/0x5*(parseInt(_0x226a45(0x96))/0x6)+-parseInt(_0x226a45(0xa2))/0x7+parseInt(_0x226a45(0xcf))/0x8+-parseInt(_0x226a45(0xb1))/0x9*(parseInt(_0x226a45(0x8b))/0xa);if(_0x120f97===_0xf23424)break;else _0x1421ff['push'](_0x1421ff['shift']());}catch(_0x4e3501){_0x1421ff['push'](_0x1421ff['shift']());}}}(_0x16e3,0x3d5a9));import{ObservableMixin as _0x4b38d3}from'ckeditor5/src/utils.js';import{AIRequestError as _0x504cb4}from'../adapters/aiadapter.js';function _0x2bf1(_0x5b69a8,_0x4de9f7){const _0x16e3bf=_0x16e3();return _0x2bf1=function(_0x2bf12a,_0x1a9a38){_0x2bf12a=_0x2bf12a-0x7e;let _0x38ecba=_0x16e3bf[_0x2bf12a];return _0x38ecba;},_0x2bf1(_0x5b69a8,_0x4de9f7);}import{Matcher as _0x404c09,UpcastWriter as _0xdb19fe}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x16e3(){const _0x24003e=['ELEMENT_NODE','_normalizeResponseHeadings','data','name','processor','toView','push','length','```','render','currentResponse','textAdapter','previousQuery','_sanitizationContainer','view','startProcessing','mainAction','div','updateView','htmlProcessor','parseFromString','stopProcessing','_domParser','abort','endsWith','isProcessing','set','_xmlSerializer','finishProcessing','3536144sEYQpi','reverse','element','prompt','previousContext','startsWith','document','childNodes','previousLabel','set:currentContext','toModel','_handleQuery','_isH1TagSupportEnabled','domConverter','stringify','destroy','_stripMarkdownSyntax','currentContext','7200WpxEuy','stopListening','innerHTML','reset','tryAgainEvent','_parseAndNormalizeContent','value','initialContext','finally','60QoqJGq','viewToDom','nodeType','isRendered','serializeToString','once','setContentOf','remove','```html','custom','trim','1392942hfayVR','10JaWxxR','<h1></h1>','createElement','_sanitizeHTML','exec','catch','previousActionId','message','3506riiMOY','handleError','from','2248134KFOAjd','listenTo','editor','editing','submitPrompt','1414424BtIrQx','13cBMmCG','rename','then','text/html','body','makeRequest','querySelector','substring','match','972DaHUJo'];_0x16e3=function(){return _0x24003e;};return _0x16e3();}export default class C extends/* #__PURE__ -- @preserve */
24
- _0x4b38d3(){constructor(_0xef2082,_0x2fbd2e,_0x2b0b0f){const _0x98ea7e=_0x2bf1;super(),this[_0x98ea7e(0xa4)]=_0xef2082,this[_0x98ea7e(0xbd)]=_0x2fbd2e,this[_0x98ea7e(0xbf)]=document[_0x98ea7e(0x99)](_0x98ea7e(0xc3)),this[_0x98ea7e(0xc8)]=new DOMParser(),this[_0x98ea7e(0xcd)]=new XMLSerializer(),this[_0x98ea7e(0xc0)]=_0x2b0b0f,this[_0x98ea7e(0xcc)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x98ea7e(0xd8),(_0x50d7f8,_0x14cbb9,_0x31710e)=>{const _0x4c27ab=_0x98ea7e;this[_0x4c27ab(0xc0)][_0x4c27ab(0x88)]=this[_0x4c27ab(0x9a)](_0x31710e);}),this[_0x98ea7e(0xa3)](this[_0x98ea7e(0xc0)],_0x98ea7e(0xa6),(_0x430fd6,_0x5b66fa)=>{const _0x107e8f=_0x98ea7e,_0x428b3b=this[_0x107e8f(0x81)]||this[_0x107e8f(0x89)];this[_0x107e8f(0xda)](_0x5b66fa,_0x428b3b,_0x107e8f(0x94));}),this[_0x98ea7e(0xa3)](this[_0x98ea7e(0xc0)],_0x98ea7e(0x86),()=>{const _0x106903=_0x98ea7e;this[_0x106903(0xc0)][_0x106903(0xd2)]=this[_0x106903(0xd7)],this[_0x106903(0xda)](this[_0x106903(0xbe)],this[_0x106903(0xd3)],this[_0x106903(0x9d)],this[_0x106903(0xd7)]);}),this[_0x98ea7e(0xa3)](this[_0x98ea7e(0xc0)],_0x98ea7e(0xc7),()=>{const _0x2413b7=_0x98ea7e;this[_0x2413b7(0xc7)]();});}[_0x9ed667(0x7f)](){const _0x4f029d=_0x9ed667;this[_0x4f029d(0x83)]();}async[_0x9ed667(0xc4)]({actionId:_0x661eef,query:_0x470e92,htmlContent:_0xba0ae6,label:_0x39d8e7,mainActionLabel:_0x3e21d8}){const _0x28e987=_0x9ed667;this[_0x28e987(0xc0)][_0x28e987(0xd2)]=_0x39d8e7,this[_0x28e987(0xc0)][_0x28e987(0xc2)]=_0x3e21d8,this[_0x28e987(0x89)]=_0xba0ae6,_0x470e92&&(this[_0x28e987(0xc0)][_0x28e987(0x8e)]?this[_0x28e987(0xda)](_0x470e92,_0xba0ae6,_0x661eef,_0x39d8e7):this[_0x28e987(0xc0)][_0x28e987(0x90)](_0x28e987(0xbb),()=>{const _0x13853e=_0x28e987;this[_0x13853e(0xda)](_0x470e92,_0xba0ae6,_0x661eef,_0x39d8e7);}));}[_0x9ed667(0xc7)](){const _0x350c50=_0x9ed667;this[_0x350c50(0xcb)]&&(this[_0x350c50(0xcb)]=!0x1,this[_0x350c50(0xc0)][_0x350c50(0xce)](),this[_0x350c50(0xbd)][_0x350c50(0xc9)]());}[_0x9ed667(0x85)](){const _0x175d8d=_0x9ed667;this[_0x175d8d(0x89)]='',this[_0x175d8d(0x81)]='',this[_0x175d8d(0xbc)]='',this[_0x175d8d(0xd3)]='',this[_0x175d8d(0xbe)]='',this[_0x175d8d(0xd7)]='',this[_0x175d8d(0x9d)]=void 0x0,this[_0x175d8d(0xc0)][_0x175d8d(0x85)](),this[_0x175d8d(0xc7)]();}async[_0x9ed667(0xda)](_0x816fdf,_0x338c29,_0x2b10ca,_0x6a54fe){const _0xd1a84e=_0x9ed667;return this[_0xd1a84e(0xcb)]=!0x0,this[_0xd1a84e(0xc0)][_0xd1a84e(0xc1)](),this[_0xd1a84e(0xd3)]=_0x338c29,this[_0xd1a84e(0xbe)]=_0x816fdf,this[_0xd1a84e(0xd7)]=_0x6a54fe||_0x816fdf,this[_0xd1a84e(0x9d)]=_0x2b10ca,new Promise(_0x46aa76=>{const _0x3ee8df=_0xd1a84e;this[_0x3ee8df(0xbd)][_0x3ee8df(0xad)]({'query':_0x816fdf,'context':_0x338c29,'onData':_0x341c17=>{const _0x580abc=_0x3ee8df;this[_0x580abc(0xbc)]=_0x341c17,this[_0x580abc(0x81)]=this[_0x580abc(0x87)](this[_0x580abc(0xbc)]);},'actionId':_0x2b10ca})[_0x3ee8df(0xaa)](()=>{const _0x3c13b7=_0x3ee8df;!this[_0x3c13b7(0x81)]&&this[_0x3c13b7(0xbc)]&&(this[_0x3c13b7(0x81)]=this[_0x3c13b7(0x87)](this[_0x3c13b7(0xbc)],!0x0));})[_0x3ee8df(0x9c)](_0x5e9628=>{const _0x3140d3=_0x3ee8df;_0x5e9628 instanceof _0x504cb4?this[_0x3140d3(0xc0)][_0x3140d3(0xa0)](_0x5e9628[_0x3140d3(0x9e)]):this[_0x3140d3(0xc0)][_0x3140d3(0xa0)](),_0x46aa76();})[_0x3ee8df(0x8a)](()=>{const _0x1dae97=_0x3ee8df;this[_0x1dae97(0xc7)](),_0x46aa76();});});}[_0x9ed667(0x87)](_0x208be8,_0x3e462d=!0x1){const _0x1a8198=_0x9ed667,_0x5661b6=Z[_0x1a8198(0x9b)](_0x208be8);_0x208be8=_0x5661b6?_0x208be8[_0x1a8198(0xaf)](_0x5661b6[0x1][_0x1a8198(0xb9)]):_0x208be8[_0x1a8198(0xb9)]<0x64&&!_0x3e462d?'':this[_0x1a8198(0x80)](_0x208be8);const _0x51df5d=this[_0x1a8198(0xc8)][_0x1a8198(0xc6)](_0x208be8,_0x1a8198(0xab));if(_0x5661b6){const _0x46e443=Array[_0x1a8198(0xa1)](_0x51df5d[_0x1a8198(0xac)][_0x1a8198(0xd6)]);_0x46e443[_0x1a8198(0xd0)]();for(const _0x4bb436 of _0x46e443){if(_0x4bb436[_0x1a8198(0x8d)]==Node[_0x1a8198(0xb2)])break;_0x4bb436[_0x1a8198(0x92)]();}}const _0x42f5b3=this[_0x1a8198(0xa4)][_0x1a8198(0xb4)][_0x1a8198(0xb6)][_0x1a8198(0xb7)](this[_0x1a8198(0xcd)][_0x1a8198(0x8f)](_0x51df5d[_0x1a8198(0xac)]));return this[_0x1a8198(0xdb)]()||this[_0x1a8198(0xb3)](_0x42f5b3),this[_0x1a8198(0xa4)][_0x1a8198(0xb4)][_0x1a8198(0x7e)](this[_0x1a8198(0xa4)][_0x1a8198(0xb4)][_0x1a8198(0xd9)](_0x42f5b3));}[_0x9ed667(0xb3)](_0x4d8c2b){const _0x315adf=_0x9ed667,_0xfb5eb3=new _0xdb19fe(this[_0x315adf(0xa4)][_0x315adf(0xa5)][_0x315adf(0xc0)][_0x315adf(0xd5)]),_0x2ebb03=new _0x404c09({'name':/^h[1-5]$/}),_0x3532b9=[];let _0x3b06ff=!0x1;for(const _0x2ddd3e of _0x4d8c2b)_0x2ddd3e['is'](_0x315adf(0xd1))&&_0x2ebb03[_0x315adf(0xb0)](_0x2ddd3e)&&(_0x3532b9[_0x315adf(0xb8)](_0x2ddd3e),'h1'==_0x2ddd3e[_0x315adf(0xb5)]&&(_0x3b06ff=!0x0));if(_0x3b06ff){for(const _0x2b21e7 of _0x3532b9)_0xfb5eb3[_0x315adf(0xa9)]('h'+(parseInt(_0x2b21e7[_0x315adf(0xb5)][0x1])+0x1),_0x2b21e7);}}[_0x9ed667(0xdb)](){const _0x1a04cf=_0x9ed667,{data:_0x588f9e,editing:_0x40dd2f}=this[_0x1a04cf(0xa4)],_0x10a86b=_0x588f9e[_0x1a04cf(0xc5)][_0x1a04cf(0xb7)](_0x1a04cf(0x98)),_0x337547=_0x588f9e[_0x1a04cf(0xb7)](_0x588f9e[_0x1a04cf(0xd9)](_0x10a86b));return!!_0x40dd2f[_0x1a04cf(0xc0)][_0x1a04cf(0xdc)][_0x1a04cf(0x8c)](_0x337547)[_0x1a04cf(0xae)]('h1');}[_0x9ed667(0x9a)](_0x4cdd2f){const _0x4a3769=_0x9ed667;return this[_0x4a3769(0xa4)][_0x4a3769(0xa5)][_0x4a3769(0xc0)][_0x4a3769(0xdc)][_0x4a3769(0x91)](this[_0x4a3769(0xbf)],_0x4cdd2f),this[_0x4a3769(0xbf)][_0x4a3769(0x84)];}[_0x9ed667(0x80)](_0x214db2){const _0x398871=_0x9ed667,_0x19d8c0=_0x214db2[_0x398871(0x95)]();return _0x19d8c0[_0x398871(0xd4)](_0x398871(0x93))?_0x19d8c0[_0x398871(0xca)](_0x398871(0xba))?_0x19d8c0[_0x398871(0xaf)](0x7,_0x19d8c0[_0x398871(0xb9)]-0x3):_0x19d8c0[_0x398871(0xaf)](0x7):_0x214db2;}}
23
+ const _0x3028e2=_0x45cf;(function(_0x2a9302,_0x43f649){const _0x352457=_0x45cf,_0x3bf262=_0x2a9302();while(!![]){try{const _0x566417=parseInt(_0x352457(0xb5))/0x1*(parseInt(_0x352457(0xbf))/0x2)+parseInt(_0x352457(0x9c))/0x3+parseInt(_0x352457(0x8a))/0x4+-parseInt(_0x352457(0x71))/0x5*(parseInt(_0x352457(0xb0))/0x6)+-parseInt(_0x352457(0x7c))/0x7*(-parseInt(_0x352457(0x90))/0x8)+-parseInt(_0x352457(0x97))/0x9+parseInt(_0x352457(0x81))/0xa*(-parseInt(_0x352457(0x70))/0xb);if(_0x566417===_0x43f649)break;else _0x3bf262['push'](_0x3bf262['shift']());}catch(_0x108b57){_0x3bf262['push'](_0x3bf262['shift']());}}}(_0x33e2,0x6cb85));function _0x33e2(){const _0x3a3a0d=['name','handleError','childNodes','body','processor','reset','_handleQuery','element','currentContext','setContentOf','viewToDom','listenTo','186cnChSB','_stripMarkdownSyntax','set:currentContext','endsWith','_xmlSerializer','5zCocwW','_normalizeResponseHeadings','previousLabel','view','set','div','prompt','render','mainAction','currentResponse','35708wLEDgT','toView','querySelector','textAdapter','length','_parseAndNormalizeContent','rename','isProcessing','value','```','domConverter','innerHTML','remove','reverse','substring','finishProcessing','abort','11NtXVpl','85795elcIwM','tryAgainEvent','destroy','serializeToString','from','_isH1TagSupportEnabled','_sanitizeHTML','custom','catch','```html','makeRequest','572593VpXdsb','parseFromString','stopListening','exec','nodeType','4630250ADyrui','finally','editor','trim','then','stopProcessing','data','previousContext','toModel','3472440BBxHvl','_domParser','stringify','createElement','previousActionId','ELEMENT_NODE','56SArtNb','match','isRendered','once','message','initialContext','updateView','6153228LWgvTo','submitPrompt','document','_sanitizationContainer','text/html','1781970jKCGML','<h1></h1>','push','startProcessing','htmlProcessor','previousQuery','editing','startsWith'];_0x33e2=function(){return _0x3a3a0d;};return _0x33e2();}import{ObservableMixin as _0x253571}from'ckeditor5/src/utils.js';import{AIRequestError as _0x491f96}from'../adapters/aiadapter.js';import{Matcher as _0xf3ea2,UpcastWriter as _0x2e8c86}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x45cf(_0x3cbb5c,_0xb47e73){const _0x33e251=_0x33e2();return _0x45cf=function(_0x45cf77,_0x188661){_0x45cf77=_0x45cf77-0x6f;let _0x1ad30b=_0x33e251[_0x45cf77];return _0x1ad30b;},_0x45cf(_0x3cbb5c,_0xb47e73);}export default class C extends/* #__PURE__ -- @preserve */
24
+ _0x253571(){constructor(_0x1fb510,_0xdde853,_0x3c479e){const _0x3f23d3=_0x45cf;super(),this[_0x3f23d3(0x83)]=_0x1fb510,this[_0x3f23d3(0xc2)]=_0xdde853,this[_0x3f23d3(0x9a)]=document[_0x3f23d3(0x8d)](_0x3f23d3(0xba)),this[_0x3f23d3(0x8b)]=new DOMParser(),this[_0x3f23d3(0xb4)]=new XMLSerializer(),this[_0x3f23d3(0xb8)]=_0x3c479e,this[_0x3f23d3(0xb9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3f23d3(0xb2),(_0x4eb7bd,_0x30ce57,_0x5a67f1)=>{const _0x3788ca=_0x3f23d3;this[_0x3788ca(0xb8)][_0x3788ca(0xc7)]=this[_0x3788ca(0x77)](_0x5a67f1);}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x98),(_0x2ccccc,_0x506adc)=>{const _0x545dc2=_0x3f23d3,_0x481778=this[_0x545dc2(0xac)]||this[_0x545dc2(0x95)];this[_0x545dc2(0xaa)](_0x506adc,_0x481778,_0x545dc2(0x78));}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x72),()=>{const _0x1908a4=_0x3f23d3;this[_0x1908a4(0xb8)][_0x1908a4(0xbb)]=this[_0x1908a4(0xb7)],this[_0x1908a4(0xaa)](this[_0x1908a4(0xa1)],this[_0x1908a4(0x88)],this[_0x1908a4(0x8e)],this[_0x1908a4(0xb7)]);}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x86),()=>{const _0x4b9c36=_0x3f23d3;this[_0x4b9c36(0x86)]();});}[_0x3028e2(0x73)](){const _0x11dc72=_0x3028e2;this[_0x11dc72(0x7e)]();}async[_0x3028e2(0x96)]({actionId:_0x5a5f0a,query:_0x1e942e,htmlContent:_0x26a57e,label:_0x1dab19,mainActionLabel:_0x1db10f}){const _0x2024cc=_0x3028e2;this[_0x2024cc(0xb8)][_0x2024cc(0xbb)]=_0x1dab19,this[_0x2024cc(0xb8)][_0x2024cc(0xbd)]=_0x1db10f,this[_0x2024cc(0x95)]=_0x26a57e,_0x1e942e&&(this[_0x2024cc(0xb8)][_0x2024cc(0x92)]?this[_0x2024cc(0xaa)](_0x1e942e,_0x26a57e,_0x5a5f0a,_0x1dab19):this[_0x2024cc(0xb8)][_0x2024cc(0x93)](_0x2024cc(0xbc),()=>{const _0x1a1870=_0x2024cc;this[_0x1a1870(0xaa)](_0x1e942e,_0x26a57e,_0x5a5f0a,_0x1dab19);}));}[_0x3028e2(0x86)](){const _0x3c5037=_0x3028e2;this[_0x3c5037(0xc6)]&&(this[_0x3c5037(0xc6)]=!0x1,this[_0x3c5037(0xb8)][_0x3c5037(0xce)](),this[_0x3c5037(0xc2)][_0x3c5037(0x6f)]());}[_0x3028e2(0xa9)](){const _0x10340d=_0x3028e2;this[_0x10340d(0x95)]='',this[_0x10340d(0xac)]='',this[_0x10340d(0xbe)]='',this[_0x10340d(0x88)]='',this[_0x10340d(0xa1)]='',this[_0x10340d(0xb7)]='',this[_0x10340d(0x8e)]=void 0x0,this[_0x10340d(0xb8)][_0x10340d(0xa9)](),this[_0x10340d(0x86)]();}async[_0x3028e2(0xaa)](_0x398c7e,_0x293107,_0x1c7d3e,_0x369494){const _0x1100a0=_0x3028e2;return this[_0x1100a0(0xc6)]=!0x0,this[_0x1100a0(0xb8)][_0x1100a0(0x9f)](),this[_0x1100a0(0x88)]=_0x293107,this[_0x1100a0(0xa1)]=_0x398c7e,this[_0x1100a0(0xb7)]=_0x369494||_0x398c7e,this[_0x1100a0(0x8e)]=_0x1c7d3e,new Promise(_0x108efd=>{const _0x3ca688=_0x1100a0;this[_0x3ca688(0xc2)][_0x3ca688(0x7b)]({'query':_0x398c7e,'context':_0x293107,'onData':_0x55a39f=>{const _0x41edf8=_0x3ca688;this[_0x41edf8(0xbe)]=_0x55a39f,this[_0x41edf8(0xac)]=this[_0x41edf8(0xc4)](this[_0x41edf8(0xbe)]);},'actionId':_0x1c7d3e})[_0x3ca688(0x85)](()=>{const _0x11ebd7=_0x3ca688;!this[_0x11ebd7(0xac)]&&this[_0x11ebd7(0xbe)]&&(this[_0x11ebd7(0xac)]=this[_0x11ebd7(0xc4)](this[_0x11ebd7(0xbe)],!0x0));})[_0x3ca688(0x79)](_0x217277=>{const _0x5edb23=_0x3ca688;_0x217277 instanceof _0x491f96?this[_0x5edb23(0xb8)][_0x5edb23(0xa5)](_0x217277[_0x5edb23(0x94)]):this[_0x5edb23(0xb8)][_0x5edb23(0xa5)](),_0x108efd();})[_0x3ca688(0x82)](()=>{const _0x1ef2ea=_0x3ca688;this[_0x1ef2ea(0x86)](),_0x108efd();});});}[_0x3028e2(0xc4)](_0x20385d,_0x29c09f=!0x1){const _0x3fd565=_0x3028e2,_0x352cc8=Z[_0x3fd565(0x7f)](_0x20385d);_0x20385d=_0x352cc8?_0x20385d[_0x3fd565(0xcd)](_0x352cc8[0x1][_0x3fd565(0xc3)]):_0x20385d[_0x3fd565(0xc3)]<0x64&&!_0x29c09f?'':this[_0x3fd565(0xb1)](_0x20385d);const _0x173600=this[_0x3fd565(0x8b)][_0x3fd565(0x7d)](_0x20385d,_0x3fd565(0x9b));if(_0x352cc8){const _0x182105=Array[_0x3fd565(0x75)](_0x173600[_0x3fd565(0xa7)][_0x3fd565(0xa6)]);_0x182105[_0x3fd565(0xcc)]();for(const _0x33a4bd of _0x182105){if(_0x33a4bd[_0x3fd565(0x80)]==Node[_0x3fd565(0x8f)])break;_0x33a4bd[_0x3fd565(0xcb)]();}}const _0x4decca=this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0xa8)][_0x3fd565(0xc0)](this[_0x3fd565(0xb4)][_0x3fd565(0x74)](_0x173600[_0x3fd565(0xa7)]));return this[_0x3fd565(0x76)]()||this[_0x3fd565(0xb6)](_0x4decca),this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0x8c)](this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0x89)](_0x4decca));}[_0x3028e2(0xb6)](_0x42f384){const _0x387304=_0x3028e2,_0x3d692f=new _0x2e8c86(this[_0x387304(0x83)][_0x387304(0xa2)][_0x387304(0xb8)][_0x387304(0x99)]),_0x3f53a0=new _0xf3ea2({'name':/^h[1-5]$/}),_0x2ea287=[];let _0x1982cf=!0x1;for(const _0x35baa7 of _0x42f384)_0x35baa7['is'](_0x387304(0xab))&&_0x3f53a0[_0x387304(0x91)](_0x35baa7)&&(_0x2ea287[_0x387304(0x9e)](_0x35baa7),'h1'==_0x35baa7[_0x387304(0xa4)]&&(_0x1982cf=!0x0));if(_0x1982cf){for(const _0x414563 of _0x2ea287)_0x3d692f[_0x387304(0xc5)]('h'+(parseInt(_0x414563[_0x387304(0xa4)][0x1])+0x1),_0x414563);}}[_0x3028e2(0x76)](){const _0x317823=_0x3028e2,{data:_0x3c549a,editing:_0x17fa94}=this[_0x317823(0x83)],_0x3f1f0c=_0x3c549a[_0x317823(0xa0)][_0x317823(0xc0)](_0x317823(0x9d)),_0x2a50b1=_0x3c549a[_0x317823(0xc0)](_0x3c549a[_0x317823(0x89)](_0x3f1f0c));return!!_0x17fa94[_0x317823(0xb8)][_0x317823(0xc9)][_0x317823(0xae)](_0x2a50b1)[_0x317823(0xc1)]('h1');}[_0x3028e2(0x77)](_0x57b099){const _0x875caa=_0x3028e2;return this[_0x875caa(0x83)][_0x875caa(0xa2)][_0x875caa(0xb8)][_0x875caa(0xc9)][_0x875caa(0xad)](this[_0x875caa(0x9a)],_0x57b099),this[_0x875caa(0x9a)][_0x875caa(0xca)];}[_0x3028e2(0xb1)](_0x1dea70){const _0x1849a7=_0x3028e2,_0x4ff76b=_0x1dea70[_0x1849a7(0x84)]();return _0x4ff76b[_0x1849a7(0xa3)](_0x1849a7(0x7a))?_0x4ff76b[_0x1849a7(0xb3)](_0x1849a7(0xc8))?_0x4ff76b[_0x1849a7(0xcd)](0x7,_0x4ff76b[_0x1849a7(0xc3)]-0x3):_0x4ff76b[_0x1849a7(0xcd)](0x7):_0x1dea70;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f6d87=_0x507d;(function(_0x11f503,_0x2199ee){const _0x3aac57=_0x507d,_0x320d63=_0x11f503();while(!![]){try{const _0x2531f8=-parseInt(_0x3aac57(0x11d))/0x1*(-parseInt(_0x3aac57(0x133))/0x2)+-parseInt(_0x3aac57(0x113))/0x3+-parseInt(_0x3aac57(0x103))/0x4+-parseInt(_0x3aac57(0x116))/0x5*(-parseInt(_0x3aac57(0x12d))/0x6)+-parseInt(_0x3aac57(0x104))/0x7*(-parseInt(_0x3aac57(0xfd))/0x8)+parseInt(_0x3aac57(0xe8))/0x9*(-parseInt(_0x3aac57(0x137))/0xa)+parseInt(_0x3aac57(0xef))/0xb;if(_0x2531f8===_0x2199ee)break;else _0x320d63['push'](_0x320d63['shift']());}catch(_0x16ccfb){_0x320d63['push'](_0x320d63['shift']());}}}(_0x2491,0xe18d6));import{global as _0x441d29}from'ckeditor5/src/utils.js';import{View as _0x1f2e09,ButtonView as _0x3bfdde,SpinnerView as _0x8fafef}from'ckeditor5/src/ui.js';import _0x260095 from'../../../theme/icons/copy.svg';import{getTranslation as _0x5cfba1}from'../../utils/common-translations.js';function _0x507d(_0x5e4f90,_0x251fc8){const _0x2491fb=_0x2491();return _0x507d=function(_0x507d3c,_0x1c11c4){_0x507d3c=_0x507d3c-0xe6;let _0x3b4afd=_0x2491fb[_0x507d3c];return _0x3b4afd;},_0x507d(_0x5e4f90,_0x251fc8);}import{icons as _0x58fd63}from'ckeditor5/src/core.js';export default class W extends _0x1f2e09{constructor(_0x20a637,_0x739ff8=''){const _0x22dd59=_0x507d;super(_0x20a637),this[_0x22dd59(0x112)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x59eb57=this[_0x22dd59(0x136)];this[_0x22dd59(0xed)]=new ContentFieldView(_0x20a637,_0x739ff8),this[_0x22dd59(0x10a)]=this[_0x22dd59(0x10f)](),this[_0x22dd59(0xec)]({'tag':_0x22dd59(0xf1),'attributes':{'class':['ck',_0x22dd59(0x12e),_0x59eb57['if'](_0x22dd59(0xf7),_0x22dd59(0x118),_0x1cde92=>!_0x1cde92)],'tabindex':'-1'},'children':[{'tag':_0x22dd59(0xf1),'attributes':{'class':['ck',_0x22dd59(0x11c),_0x59eb57['if'](_0x22dd59(0x120),_0x22dd59(0xf9))]},'children':[this[_0x22dd59(0xed)],{'tag':_0x22dd59(0xf1),'attributes':{'class':['ck',_0x22dd59(0x130)]},'children':[this[_0x22dd59(0x10a)]]}]}]});}[_0x4f6d87(0xf5)](){const _0x44a27a=_0x4f6d87;super[_0x44a27a(0xf5)](),this[_0x44a27a(0xfe)]&&this[_0x44a27a(0xed)][_0x44a27a(0x10b)](this[_0x44a27a(0xfe)]);let _0x5accbf=!0x1;this['on'](_0x44a27a(0x132),(_0x54bbea,_0x120b6c,_0x5bcc16)=>{const _0x114f3c=_0x44a27a,_0x1317db=!this[_0x114f3c(0xed)][_0x114f3c(0x11f)][_0x114f3c(0x12b)](_0x114f3c(0x12c));this[_0x114f3c(0xed)][_0x114f3c(0x10b)](_0x5bcc16),this[_0x114f3c(0x120)]&&_0x1317db&&!_0x5accbf&&this[_0x114f3c(0x11f)][_0x114f3c(0x105)]({'top':this[_0x114f3c(0x11f)][_0x114f3c(0x111)],'behavior':_0x114f3c(0xf2)});}),this['on'](_0x44a27a(0xe6),(_0x506135,_0x40db14,_0x3a8544)=>{const _0x3409e0=_0x44a27a;_0x5accbf=!0x1,_0x3a8544?(this[_0x3409e0(0xfe)]=null,this[_0x3409e0(0xed)][_0x3409e0(0x119)]()):this[_0x3409e0(0xfe)]||this[_0x3409e0(0xed)][_0x3409e0(0x10b)]('');}),this[_0x44a27a(0x117)](this[_0x44a27a(0x11f)],_0x44a27a(0x10d),()=>{_0x5accbf=!0x0;}),this[_0x44a27a(0x117)](this[_0x44a27a(0x11f)],_0x44a27a(0xee),()=>{_0x5accbf=!0x0;});}[_0x4f6d87(0x12f)](){const _0x45d1a5=_0x4f6d87;this[_0x45d1a5(0x11f)][_0x45d1a5(0x12f)]();}[_0x4f6d87(0x10f)](){const _0x29b7f9=_0x4f6d87,_0x169860=this[_0x29b7f9(0x129)],_0x2c077b=new _0x3bfdde(this[_0x29b7f9(0x129)]),_0x2a6fe2=_0x29b7f9(0x11b);return _0x2c077b[_0x29b7f9(0x112)]({'label':_0x5cfba1(_0x169860,_0x29b7f9(0x115)),'icon':_0x260095,'class':_0x2a6fe2,'tooltip':!0x0}),_0x2c077b[_0x29b7f9(0xf4)](_0x29b7f9(0xf7))['to'](this,_0x29b7f9(0xfe),_0x4e8e33=>!!_0x4e8e33),_0x2c077b[_0x29b7f9(0xf4)](_0x29b7f9(0x134))['to'](this,_0x29b7f9(0x120),_0x285f53=>!_0x285f53),_0x2c077b['on'](_0x29b7f9(0x127),()=>{const _0x29f400=_0x29b7f9;this[_0x29f400(0x124)](this[_0x29f400(0xed)][_0x29f400(0x11f)]),_0x2c077b[_0x29f400(0x139)]=_0x58fd63[_0x29f400(0x114)],_0x2c077b[_0x29f400(0x101)]=_0x2a6fe2+_0x29f400(0xe7),this[_0x29f400(0x12f)](),setTimeout(()=>{const _0x14a82f=_0x29f400;_0x2c077b[_0x14a82f(0x139)]=_0x260095,_0x2c077b[_0x14a82f(0x101)]=_0x2a6fe2;},0x3e8);}),_0x2c077b;}[_0x4f6d87(0x124)](_0x59fbba){const _0x5316e2=_0x4f6d87,{window:_0x62f882,document:_0x481bf9}=_0x441d29;if(_0x62f882[_0x5316e2(0xfc)]){const {Blob:_0x54bf67,ClipboardItem:_0x569c55}=_0x62f882,_0x1caf03=[new _0x569c55({'text/html':new _0x54bf67([_0x59fbba[_0x5316e2(0xff)]],{'type':_0x5316e2(0x123)}),'text/plain':new _0x54bf67([_0x59fbba[_0x5316e2(0xe9)]||''],{'type':_0x5316e2(0x122)})})];navigator[_0x5316e2(0x11e)][_0x5316e2(0x12a)](_0x1caf03);}else{const _0x2d6816=_0x481bf9[_0x5316e2(0xea)](_0x5316e2(0xf1));_0x2d6816[_0x5316e2(0x11a)][_0x5316e2(0x131)]=_0x5316e2(0x106),_0x2d6816[_0x5316e2(0x11a)][_0x5316e2(0x138)]=_0x5316e2(0x10e),_0x2d6816[_0x5316e2(0xff)]=_0x5316e2(0xf0)+_0x59fbba[_0x5316e2(0xff)]+_0x5316e2(0x102),_0x481bf9[_0x5316e2(0x110)][_0x5316e2(0x13c)](_0x2d6816);const _0x385ddd=_0x481bf9[_0x5316e2(0xf6)]();_0x385ddd[_0x5316e2(0xeb)](_0x2d6816[_0x5316e2(0x126)]),_0x385ddd[_0x5316e2(0x109)](_0x2d6816[_0x5316e2(0xfb)]);const _0x893bfd=_0x62f882[_0x5316e2(0x13a)]();_0x893bfd[_0x5316e2(0x108)](),_0x893bfd[_0x5316e2(0x128)](_0x385ddd),_0x481bf9[_0x5316e2(0xf8)](_0x5316e2(0x135)),_0x2d6816[_0x5316e2(0x107)]();}}}export class ContentFieldView extends _0x1f2e09{constructor(_0x5b6e92,_0x4e9d0e=''){const _0x219823=_0x4f6d87;super(_0x5b6e92),this[_0x219823(0x100)]=this[_0x219823(0xf3)](),this[_0x219823(0xec)]({'tag':_0x219823(0xf1),'attributes':{'class':['ck',_0x219823(0x10c),_0x4e9d0e,_0x219823(0x121),_0x219823(0xfa)]}});}[_0x4f6d87(0x10b)](_0x243daf){const _0x5da17e=_0x4f6d87;this[_0x5da17e(0x11f)][_0x5da17e(0xff)]=_0x243daf;}[_0x4f6d87(0x119)](){const _0x3ebeb3=_0x4f6d87;this[_0x3ebeb3(0x11f)][_0x3ebeb3(0x13c)](this[_0x3ebeb3(0x100)][_0x3ebeb3(0x11f)]);}[_0x4f6d87(0xf3)](){const _0x1f4f66=_0x4f6d87,_0x1fd19e=new _0x1f2e09(),_0x4ae2bb=this[_0x1f4f66(0x129)],_0x56234f=new _0x8fafef();return _0x56234f[_0x1f4f66(0xf7)]=!0x0,_0x1fd19e[_0x1f4f66(0xec)]({'tag':_0x1f4f66(0xf1),'attributes':{'class':['ck',_0x1f4f66(0x13b)]},'children':[_0x56234f,{'text':_0x5cfba1(_0x4ae2bb,_0x1f4f66(0x125))}]}),_0x1fd19e[_0x1f4f66(0xf5)](),_0x1fd19e;}}function _0x2491(){const _0x3ecc6c=['style','ck-ai-form__copy-button','ck-ai-form__content-area','881462AerXwo','clipboard','element','isProcessing','ck-reset_all-excluded','text/plain','text/html','_copyHTMLToClipboard','AI\x20is\x20writing...','firstElementChild','execute','addRange','locale','write','querySelector','.ck-ai-form__loader','18GyViHF','ck-ai-form__content-area-wrapper','focus','ck-ai-form__copy-button-wrapper','position','change:value','2gpRrUI','isEnabled','copy','bindTemplate','30IwCYXN','left','icon','getSelection','ck-ai-form__loader','appendChild','change:isProcessing','\x20ck-ai-form__copy-button--copied','2798469MjCLce','textContent','createElement','setStartAfter','setTemplate','contentFieldView','mousedown','15597967zaaqTB','<span>[</span>','div','smooth','_createLoader','bind','render','createRange','isVisible','execCommand','ck-ai-form__content-area--processing','ck-ai-form__content-field','lastElementChild','ClipboardItem','608WwWXzz','value','innerHTML','loaderView','class','<span>]</span>','5911536HFjgwe','1211DZdDDQ','scrollTo','absolute','remove','removeAllRanges','setEndBefore','copyButtonView','setContent','ck-content','wheel','-9999px','_createCopyButton','body','scrollHeight','set','884745JoAZQY','check','Copy','2194795QwgEBZ','listenTo','ck-hidden','appendLoader'];_0x2491=function(){return _0x3ecc6c;};return _0x2491();}
23
+ const _0x1494a1=_0x55ac;(function(_0x207768,_0x4a37a1){const _0x471d6c=_0x55ac,_0x19ddb5=_0x207768();while(!![]){try{const _0x14dcfe=parseInt(_0x471d6c(0x16a))/0x1*(-parseInt(_0x471d6c(0x14c))/0x2)+-parseInt(_0x471d6c(0x12e))/0x3+-parseInt(_0x471d6c(0x162))/0x4+-parseInt(_0x471d6c(0x17c))/0x5+-parseInt(_0x471d6c(0x131))/0x6+parseInt(_0x471d6c(0x14b))/0x7+parseInt(_0x471d6c(0x16d))/0x8;if(_0x14dcfe===_0x4a37a1)break;else _0x19ddb5['push'](_0x19ddb5['shift']());}catch(_0x40ffe6){_0x19ddb5['push'](_0x19ddb5['shift']());}}}(_0x1452,0xdb596));import{global as _0x15bebc}from'ckeditor5/src/utils.js';function _0x55ac(_0x345abc,_0x4acf6a){const _0x1452b8=_0x1452();return _0x55ac=function(_0x55ac1c,_0x581441){_0x55ac1c=_0x55ac1c-0x129;let _0x3937ae=_0x1452b8[_0x55ac1c];return _0x3937ae;},_0x55ac(_0x345abc,_0x4acf6a);}import{View as _0x2b3bcf,ButtonView as _0xe63b4a,SpinnerView as _0x193518}from'ckeditor5/src/ui.js';import _0x29c088 from'../../../theme/icons/copy.svg';import{getTranslation as _0x477bc7}from'../../utils/common-translations.js';import{icons as _0x3dce51}from'ckeditor5/src/core.js';export default class W extends _0x2b3bcf{constructor(_0x3e9a85,_0x248a52=''){const _0x195155=_0x55ac;super(_0x3e9a85),this[_0x195155(0x17b)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xea17ba=this[_0x195155(0x155)];this[_0x195155(0x13a)]=new ContentFieldView(_0x3e9a85,_0x248a52),this[_0x195155(0x169)]=this[_0x195155(0x16e)](),this[_0x195155(0x145)]({'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x15f),_0xea17ba['if'](_0x195155(0x14f),_0x195155(0x149),_0x1ce37c=>!_0x1ce37c)],'tabindex':'-1'},'children':[{'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x165),_0xea17ba['if'](_0x195155(0x138),_0x195155(0x173))]},'children':[this[_0x195155(0x13a)],{'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x15e)]},'children':[this[_0x195155(0x169)]]}]}]});}[_0x1494a1(0x160)](){const _0x4e25ff=_0x1494a1;super[_0x4e25ff(0x160)](),this[_0x4e25ff(0x129)]&&this[_0x4e25ff(0x13a)][_0x4e25ff(0x12d)](this[_0x4e25ff(0x129)]);let _0x4f7da6=!0x1;this['on'](_0x4e25ff(0x171),(_0x8264b7,_0x33a2bd,_0x410878)=>{const _0x2f5c59=_0x4e25ff,_0x2dc4e6=!this[_0x2f5c59(0x13a)][_0x2f5c59(0x140)][_0x2f5c59(0x12a)](_0x2f5c59(0x135));this[_0x2f5c59(0x13a)][_0x2f5c59(0x12d)](_0x410878),this[_0x2f5c59(0x138)]&&_0x2dc4e6&&!_0x4f7da6&&this[_0x2f5c59(0x140)][_0x2f5c59(0x146)]({'top':this[_0x2f5c59(0x140)][_0x2f5c59(0x139)],'behavior':_0x2f5c59(0x166)});}),this['on'](_0x4e25ff(0x13f),(_0x12887b,_0x58f3bd,_0x10a49e)=>{const _0x501323=_0x4e25ff;_0x4f7da6=!0x1,_0x10a49e?(this[_0x501323(0x129)]=null,this[_0x501323(0x13a)][_0x501323(0x14d)]()):this[_0x501323(0x129)]||this[_0x501323(0x13a)][_0x501323(0x12d)]('');}),this[_0x4e25ff(0x159)](this[_0x4e25ff(0x140)],_0x4e25ff(0x137),()=>{_0x4f7da6=!0x0;}),this[_0x4e25ff(0x159)](this[_0x4e25ff(0x140)],_0x4e25ff(0x175),()=>{_0x4f7da6=!0x0;});}[_0x1494a1(0x177)](){const _0xac9a44=_0x1494a1;this[_0xac9a44(0x140)][_0xac9a44(0x177)]();}[_0x1494a1(0x16e)](){const _0x1c9b13=_0x1494a1,_0x115292=this[_0x1c9b13(0x179)],_0xf3b5ef=new _0xe63b4a(this[_0x1c9b13(0x179)]),_0x6b3da6=_0x1c9b13(0x143);return _0xf3b5ef[_0x1c9b13(0x17b)]({'label':_0x477bc7(_0x115292,_0x1c9b13(0x172)),'icon':_0x29c088,'class':_0x6b3da6,'tooltip':!0x0}),_0xf3b5ef[_0x1c9b13(0x141)](_0x1c9b13(0x14f))['to'](this,_0x1c9b13(0x129),_0x59cc87=>!!_0x59cc87),_0xf3b5ef[_0x1c9b13(0x141)](_0x1c9b13(0x163))['to'](this,_0x1c9b13(0x138),_0x3cc60a=>!_0x3cc60a),_0xf3b5ef['on'](_0x1c9b13(0x134),()=>{const _0x1cd106=_0x1c9b13;this[_0x1cd106(0x144)](this[_0x1cd106(0x13a)][_0x1cd106(0x140)]),_0xf3b5ef[_0x1cd106(0x13d)]=_0x3dce51[_0x1cd106(0x12f)],_0xf3b5ef[_0x1cd106(0x178)]=_0x6b3da6+_0x1cd106(0x15d),this[_0x1cd106(0x177)](),setTimeout(()=>{const _0x3adc00=_0x1cd106;_0xf3b5ef[_0x3adc00(0x13d)]=_0x29c088,_0xf3b5ef[_0x3adc00(0x178)]=_0x6b3da6;},0x3e8);}),_0xf3b5ef;}[_0x1494a1(0x144)](_0x4a10e1){const _0xb3dad4=_0x1494a1,{window:_0x2f9024,document:_0x205839}=_0x15bebc;if(_0x2f9024[_0xb3dad4(0x15b)]){const {Blob:_0x3cc691,ClipboardItem:_0x29fae6}=_0x2f9024,_0x3bae70=[new _0x29fae6({'text/html':new _0x3cc691([_0x4a10e1[_0xb3dad4(0x132)]],{'type':_0xb3dad4(0x17a)}),'text/plain':new _0x3cc691([_0x4a10e1[_0xb3dad4(0x167)]||''],{'type':_0xb3dad4(0x16c)})})];navigator[_0xb3dad4(0x168)][_0xb3dad4(0x153)](_0x3bae70);}else{const _0x42b803=_0x205839[_0xb3dad4(0x12c)](_0xb3dad4(0x164));_0x42b803[_0xb3dad4(0x142)][_0xb3dad4(0x133)]=_0xb3dad4(0x12b),_0x42b803[_0xb3dad4(0x142)][_0xb3dad4(0x130)]=_0xb3dad4(0x148),_0x42b803[_0xb3dad4(0x132)]=_0xb3dad4(0x157)+_0x4a10e1[_0xb3dad4(0x132)]+_0xb3dad4(0x156),_0x205839[_0xb3dad4(0x15a)][_0xb3dad4(0x15c)](_0x42b803);const _0x4f3669=_0x205839[_0xb3dad4(0x174)]();_0x4f3669[_0xb3dad4(0x16f)](_0x42b803[_0xb3dad4(0x13e)]),_0x4f3669[_0xb3dad4(0x136)](_0x42b803[_0xb3dad4(0x13c)]);const _0x20b5bd=_0x2f9024[_0xb3dad4(0x151)]();_0x20b5bd[_0xb3dad4(0x170)](),_0x20b5bd[_0xb3dad4(0x147)](_0x4f3669),_0x205839[_0xb3dad4(0x150)](_0xb3dad4(0x152)),_0x42b803[_0xb3dad4(0x161)]();}}}export class ContentFieldView extends _0x2b3bcf{constructor(_0x163a7b,_0xec00d=''){const _0x2b0b8d=_0x1494a1;super(_0x163a7b),this[_0x2b0b8d(0x14e)]=this[_0x2b0b8d(0x14a)](),this[_0x2b0b8d(0x145)]({'tag':_0x2b0b8d(0x164),'attributes':{'class':['ck',_0x2b0b8d(0x16b),_0xec00d,_0x2b0b8d(0x13b),_0x2b0b8d(0x158)]}});}[_0x1494a1(0x12d)](_0x1410b9){const _0x55e329=_0x1494a1;this[_0x55e329(0x140)][_0x55e329(0x132)]=_0x1410b9;}[_0x1494a1(0x14d)](){const _0x49c551=_0x1494a1;this[_0x49c551(0x140)][_0x49c551(0x15c)](this[_0x49c551(0x14e)][_0x49c551(0x140)]);}[_0x1494a1(0x14a)](){const _0x5cdd6d=_0x1494a1,_0x5ac1d5=new _0x2b3bcf(),_0xfcc15d=this[_0x5cdd6d(0x179)],_0x543e2b=new _0x193518();return _0x543e2b[_0x5cdd6d(0x14f)]=!0x0,_0x5ac1d5[_0x5cdd6d(0x145)]({'tag':_0x5cdd6d(0x164),'attributes':{'class':['ck',_0x5cdd6d(0x154)]},'children':[_0x543e2b,{'text':_0x477bc7(_0xfcc15d,_0x5cdd6d(0x176))}]}),_0x5ac1d5[_0x5cdd6d(0x160)](),_0x5ac1d5;}}function _0x1452(){const _0x7f52a=['6703557PKAjoe','919822xKPXQb','appendLoader','loaderView','isVisible','execCommand','getSelection','copy','write','ck-ai-form__loader','bindTemplate','<span>]</span>','<span>[</span>','ck-ai-form__content-field','listenTo','body','ClipboardItem','appendChild','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area-wrapper','render','remove','1660540uqkXBm','isEnabled','div','ck-ai-form__content-area','smooth','textContent','clipboard','copyButtonView','1gMaibx','ck-content','text/plain','23936280tkQutr','_createCopyButton','setStartAfter','removeAllRanges','change:value','Copy','ck-ai-form__content-area--processing','createRange','mousedown','AI\x20is\x20writing...','focus','class','locale','text/html','set','4489935NZweFv','value','querySelector','absolute','createElement','setContent','773793HswvBy','check','left','6121608NAMiNl','innerHTML','position','execute','.ck-ai-form__loader','setEndBefore','wheel','isProcessing','scrollHeight','contentFieldView','ck-reset_all-excluded','lastElementChild','icon','firstElementChild','change:isProcessing','element','bind','style','ck-ai-form__copy-button','_copyHTMLToClipboard','setTemplate','scrollTo','addRange','-9999px','ck-hidden','_createLoader'];_0x1452=function(){return _0x7f52a;};return _0x1452();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x40aa3e,_0x2d88ae){const _0x4c6f5e=_0x51d2,_0x3f5b72=_0x40aa3e();while(!![]){try{const _0x4bf8a8=parseInt(_0x4c6f5e(0x8b))/0x1+-parseInt(_0x4c6f5e(0x8f))/0x2*(parseInt(_0x4c6f5e(0x93))/0x3)+parseInt(_0x4c6f5e(0x91))/0x4+-parseInt(_0x4c6f5e(0x95))/0x5*(-parseInt(_0x4c6f5e(0x94))/0x6)+parseInt(_0x4c6f5e(0x99))/0x7*(parseInt(_0x4c6f5e(0x97))/0x8)+parseInt(_0x4c6f5e(0x8a))/0x9+-parseInt(_0x4c6f5e(0x98))/0xa;if(_0x4bf8a8===_0x2d88ae)break;else _0x3f5b72['push'](_0x3f5b72['shift']());}catch(_0x4d6fd9){_0x3f5b72['push'](_0x3f5b72['shift']());}}}(_0x2d19,0x54f8b));function _0x2d19(){const _0x1e8fbf=['set','2007144LtbVkl','text','592257XLuCgk','91086iWKqtf','45QtBQoS','content','8heNWEB','4273940UIeXfu','2189285oVvPIM','div','301086CtKMsB','383070sdXeBK','ck-ai-form__error','bindTemplate','setTemplate','6llLpGi'];_0x2d19=function(){return _0x1e8fbf;};return _0x2d19();}function _0x51d2(_0x52da9f,_0x369859){const _0x2d1922=_0x2d19();return _0x51d2=function(_0x51d2f1,_0x1f5e7f){_0x51d2f1=_0x51d2f1-0x8a;let _0x2ed845=_0x2d1922[_0x51d2f1];return _0x2ed845;},_0x51d2(_0x52da9f,_0x369859);}import{View as _0x52579d,IconView as _0x2db02f}from'ckeditor5/src/ui.js';import _0x4abbd0 from'../../../theme/icons/error.svg';export default class tt extends _0x52579d{constructor(_0x23aa00,_0x45038b=''){const _0x1151a5=_0x51d2;super(_0x23aa00);const _0x238b03=new _0x2db02f(),_0x36eecb=this[_0x1151a5(0x8d)];this[_0x1151a5(0x90)](_0x1151a5(0x92),_0x45038b),_0x238b03[_0x1151a5(0x96)]=_0x4abbd0,this[_0x1151a5(0x8e)]({'tag':_0x1151a5(0x9a),'attributes':{'class':['ck',_0x1151a5(0x8c)]},'children':[_0x238b03,{'text':_0x36eecb['to'](_0x1151a5(0x92))}]});}}
23
+ (function(_0x55e206,_0x5c12a7){const _0x5b5ee9=_0x5567,_0x5cc4f5=_0x55e206();while(!![]){try{const _0x1235e8=-parseInt(_0x5b5ee9(0x1cf))/0x1+-parseInt(_0x5b5ee9(0x1ce))/0x2*(parseInt(_0x5b5ee9(0x1cb))/0x3)+-parseInt(_0x5b5ee9(0x1cc))/0x4*(-parseInt(_0x5b5ee9(0x1d8))/0x5)+-parseInt(_0x5b5ee9(0x1d3))/0x6+parseInt(_0x5b5ee9(0x1cd))/0x7*(-parseInt(_0x5b5ee9(0x1d1))/0x8)+parseInt(_0x5b5ee9(0x1d5))/0x9+parseInt(_0x5b5ee9(0x1d9))/0xa;if(_0x1235e8===_0x5c12a7)break;else _0x5cc4f5['push'](_0x5cc4f5['shift']());}catch(_0x587c40){_0x5cc4f5['push'](_0x5cc4f5['shift']());}}}(_0x72df,0xc1316));function _0x72df(){const _0x2add90=['8826768ezsRGD','text','10549395WvKNfI','set','content','25rmuQIU','29669070WVVcLt','bindTemplate','ck-ai-form__error','668757qEKmTX','274612lITSUY','3899721PSakIF','14aDTgmD','102345DVpXus','setTemplate','8EBUwfh','div'];_0x72df=function(){return _0x2add90;};return _0x72df();}import{View as _0x3a3839,IconView as _0x351bef}from'ckeditor5/src/ui.js';function _0x5567(_0xc6e3c2,_0xa7809c){const _0x72df04=_0x72df();return _0x5567=function(_0x5567ba,_0x4d62db){_0x5567ba=_0x5567ba-0x1cb;let _0x1b3aab=_0x72df04[_0x5567ba];return _0x1b3aab;},_0x5567(_0xc6e3c2,_0xa7809c);}import _0x4c0ca5 from'../../../theme/icons/error.svg';export default class tt extends _0x3a3839{constructor(_0x4b022e,_0x2a0787=''){const _0x3bf0ef=_0x5567;super(_0x4b022e);const _0x52f64c=new _0x351bef(),_0x441831=this[_0x3bf0ef(0x1da)];this[_0x3bf0ef(0x1d6)](_0x3bf0ef(0x1d4),_0x2a0787),_0x52f64c[_0x3bf0ef(0x1d7)]=_0x4c0ca5,this[_0x3bf0ef(0x1d0)]({'tag':_0x3bf0ef(0x1d2),'attributes':{'class':['ck',_0x3bf0ef(0x1db)]},'children':[_0x52f64c,{'text':_0x441831['to'](_0x3bf0ef(0x1d4))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25121a=_0x3067;(function(_0x286dad,_0x1ec7f5){const _0xc2dc6a=_0x3067,_0x4a9b37=_0x286dad();while(!![]){try{const _0x5bdbe8=-parseInt(_0xc2dc6a(0x17f))/0x1+parseInt(_0xc2dc6a(0x193))/0x2*(-parseInt(_0xc2dc6a(0x187))/0x3)+parseInt(_0xc2dc6a(0x186))/0x4*(parseInt(_0xc2dc6a(0x188))/0x5)+parseInt(_0xc2dc6a(0x1ab))/0x6+-parseInt(_0xc2dc6a(0x1ad))/0x7*(-parseInt(_0xc2dc6a(0x1a5))/0x8)+-parseInt(_0xc2dc6a(0x1a9))/0x9*(parseInt(_0xc2dc6a(0x19b))/0xa)+parseInt(_0xc2dc6a(0x178))/0xb;if(_0x5bdbe8===_0x1ec7f5)break;else _0x4a9b37['push'](_0x4a9b37['shift']());}catch(_0x42f70a){_0x4a9b37['push'](_0x4a9b37['shift']());}}}(_0x1f0a,0xd7f64));import{Rect as _0x4baf27,global as _0x5bb90f,isVisible as _0x2c4e4f}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x38fef5,ButtonView as _0xb77d3b}from'ckeditor5/src/ui.js';import{icons as _0x27e1d4}from'ckeditor5/src/core.js';import{getTranslation as _0x747a83}from'../../utils/common-translations.js';function _0x1f0a(){const _0x1a6fa2=['width','window','locale','37030WQCvvf','fieldView','focusLast','rtl','fieldWrapperChildren','execute','update','style','13406430uAIEnq','requestAnimationFrame','focusableChildren','isEmpty','target','add','value','left','maxRows','filteredView','248IKjitR','isEnabled','_createSubmitButton','history','9TBYUHW','keystrokes','5154600ykPssR','submitButtonView','347662aSmRll','submit','History','ck-ai-form__submit','element','enter','queryView','370491RbjlDj','ck-ai-form__toggle-history','minRows','children','Submit','bind','isVisible','212665ymilAd','showHistoryButtonView','_createShowHistoryButton','render','fire','focusFirst','right','44668awDSmy','285lTpZgU','790sYflgm','uiLanguageDirection','focus','resultsView','focusCycler','excludeScrollbarsAndBorders','set','isOn'];_0x1f0a=function(){return _0x1a6fa2;};return _0x1f0a();}function _0x3067(_0x4ba87a,_0x40d7c9){const _0x1f0a80=_0x1f0a();return _0x3067=function(_0x3067c8,_0x130abd){_0x3067c8=_0x3067c8-0x178;let _0x572b84=_0x1f0a80[_0x3067c8];return _0x572b84;},_0x3067(_0x4ba87a,_0x40d7c9);}import _0x322709 from'../../../theme/icons/submit.svg';export default class ht extends _0x38fef5{constructor(_0x52e3f4,_0xa99889){const _0x2641cf=_0x3067;super(_0x52e3f4,_0xa99889),this[_0x2641cf(0x1b3)][_0x2641cf(0x194)][_0x2641cf(0x17a)]=0x1,this[_0x2641cf(0x1b3)][_0x2641cf(0x194)][_0x2641cf(0x1a3)]=0x3,this[_0x2641cf(0x1ac)]=this[_0x2641cf(0x1a7)](),this[_0x2641cf(0x180)]=this[_0x2641cf(0x181)](),this[_0x2641cf(0x19d)][_0x2641cf(0x1a0)](this[_0x2641cf(0x180)],0x1),this[_0x2641cf(0x19d)][_0x2641cf(0x1a0)](this[_0x2641cf(0x1ac)]);}[_0x25121a(0x182)](){const _0x50ff82=_0x25121a;super[_0x50ff82(0x182)](),this[_0x50ff82(0x1b3)][_0x50ff82(0x197)][_0x50ff82(0x1a0)](this[_0x50ff82(0x180)]),this[_0x50ff82(0x17b)][_0x50ff82(0x1a0)](this[_0x50ff82(0x1ac)]),this[_0x50ff82(0x1aa)][_0x50ff82(0x18e)](_0x50ff82(0x1b2),(_0x5c5ab6,_0x14fbb8)=>{const _0x483914=_0x50ff82;_0x5c5ab6[_0x483914(0x19f)]==this[_0x483914(0x1b3)][_0x483914(0x194)][_0x483914(0x1b1)]&&(this[_0x483914(0x1ae)](),_0x14fbb8());});}[_0x25121a(0x1a7)](){const _0x495daf=_0x25121a,_0x466212=new _0xb77d3b(this[_0x495daf(0x192)]),_0x4532a3=this[_0x495daf(0x192)];return _0x466212[_0x495daf(0x18e)]({'icon':_0x322709,'label':_0x747a83(_0x4532a3,_0x495daf(0x17c)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x495daf(0x1b0)}),_0x466212['on'](_0x495daf(0x198),()=>{const _0x1ba6eb=_0x495daf;this[_0x1ba6eb(0x1ae)]();}),_0x466212[_0x495daf(0x17d)](_0x495daf(0x1a6))['to'](this[_0x495daf(0x1b3)][_0x495daf(0x194)],_0x495daf(0x19e),this,_0x495daf(0x1a6),(_0x5cea22,_0x5e03e4)=>!_0x5cea22&&_0x5e03e4),_0x466212;}[_0x25121a(0x181)](){const _0x40e580=_0x25121a,_0x5048ad=new _0xb77d3b(this[_0x40e580(0x192)]),_0x1d9cbb=this[_0x40e580(0x18b)],_0x381c4e=this[_0x40e580(0x192)];_0x5048ad[_0x40e580(0x18e)]({'label':_0x747a83(_0x381c4e,_0x40e580(0x1af)),'withText':!0x1,'icon':_0x27e1d4[_0x40e580(0x1a8)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x40e580(0x179)}),_0x5048ad[_0x40e580(0x17d)](_0x40e580(0x18f))['to'](_0x1d9cbb,_0x40e580(0x17e)),_0x5048ad[_0x40e580(0x17d)](_0x40e580(0x1a6))['to'](this,_0x40e580(0x1a6)),_0x5048ad['on'](_0x40e580(0x198),()=>{const _0x2c4c8a=_0x40e580;_0x1d9cbb[_0x2c4c8a(0x17e)]=!_0x1d9cbb[_0x2c4c8a(0x17e)],_0x1d9cbb[_0x2c4c8a(0x17e)]?this[_0x2c4c8a(0x1a4)][_0x2c4c8a(0x18a)]():this[_0x2c4c8a(0x18a)]();});const _0x21bf5a=()=>{const _0x57e531=_0x40e580;_0x5bb90f[_0x57e531(0x191)][_0x57e531(0x19c)](()=>{const _0x491477=_0x57e531;if(_0x2c4e4f(this[_0x491477(0x1b1)])){const _0x2d9354=new _0x4baf27(this[_0x491477(0x1b3)][_0x491477(0x194)][_0x491477(0x1b1)]),_0x109f73=_0x2d9354[_0x491477(0x190)],_0x1c17d4=_0x491477(0x196)===_0x381c4e[_0x491477(0x189)]?_0x491477(0x1a2):_0x491477(0x185);_0x2d9354[_0x491477(0x18d)](),_0x5048ad[_0x491477(0x1b1)][_0x491477(0x19a)][_0x1c17d4]=_0x109f73-_0x2d9354[_0x491477(0x190)]+0x1+'px';}});};return this[_0x40e580(0x1b3)][_0x40e580(0x194)]['on'](_0x40e580(0x199),_0x21bf5a),this['on'](_0x40e580(0x182),_0x21bf5a),_0x5048ad;}[_0x25121a(0x1ae)](){const _0x55c454=_0x25121a,_0x5e8478=this[_0x55c454(0x1b3)][_0x55c454(0x194)][_0x55c454(0x1b1)][_0x55c454(0x1a1)];this[_0x55c454(0x183)](_0x55c454(0x1ae),_0x5e8478);}[_0x25121a(0x18a)](_0x53aedd){const _0xb77d60=_0x25121a;-0x1===_0x53aedd?this[_0xb77d60(0x18c)][_0xb77d60(0x195)]():this[_0xb77d60(0x18c)][_0xb77d60(0x184)]();}}
23
+ const _0x469857=_0x1ef2;(function(_0x75314d,_0x1b8636){const _0x495d11=_0x1ef2,_0x5bb37f=_0x75314d();while(!![]){try{const _0x32a075=parseInt(_0x495d11(0xec))/0x1+parseInt(_0x495d11(0xf8))/0x2*(-parseInt(_0x495d11(0x10b))/0x3)+parseInt(_0x495d11(0xf6))/0x4+parseInt(_0x495d11(0xe2))/0x5+parseInt(_0x495d11(0x105))/0x6*(parseInt(_0x495d11(0xf9))/0x7)+-parseInt(_0x495d11(0x117))/0x8+-parseInt(_0x495d11(0xf7))/0x9;if(_0x32a075===_0x1b8636)break;else _0x5bb37f['push'](_0x5bb37f['shift']());}catch(_0x2f0026){_0x5bb37f['push'](_0x5bb37f['shift']());}}}(_0x501d,0xe352f));import{Rect as _0x4d0e31,global as _0xd74b92,isVisible as _0x3de73d}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x21a7e0,ButtonView as _0x16fcfd}from'ckeditor5/src/ui.js';function _0x1ef2(_0xc4df09,_0x524dcd){const _0x501d0d=_0x501d();return _0x1ef2=function(_0x1ef23e,_0x4501f7){_0x1ef23e=_0x1ef23e-0xe0;let _0x2aa693=_0x501d0d[_0x1ef23e];return _0x2aa693;},_0x1ef2(_0xc4df09,_0x524dcd);}import{icons as _0x401568}from'ckeditor5/src/core.js';import{getTranslation as _0xe102b5}from'../../utils/common-translations.js';import _0x1f818e from'../../../theme/icons/submit.svg';function _0x501d(){const _0x526937=['_createSubmitButton','1580280YhivYv','11013345xXnubw','441266yquizt','1240169dwnfZl','focusFirst','minRows','right','Submit','focusCycler','ck-ai-form__toggle-history','isEnabled','element','rtl','history','locale','12TBKwRC','width','bind','value','render','_createShowHistoryButton','3Ubjaec','History','submitButtonView','isVisible','queryView','isEmpty','update','fieldView','filteredView','fieldWrapperChildren','add','requestAnimationFrame','683832EPoJQj','ck-ai-form__submit','enter','submit','excludeScrollbarsAndBorders','4016485DvTiCj','set','children','resultsView','isOn','keystrokes','showHistoryButtonView','window','target','fire','908235xfdAbl','execute','style','left','uiLanguageDirection','maxRows','focus','focusLast','focusableChildren'];_0x501d=function(){return _0x526937;};return _0x501d();}export default class ht extends _0x21a7e0{constructor(_0x518e12,_0x27d800){const _0x90aa5b=_0x1ef2;super(_0x518e12,_0x27d800),this[_0x90aa5b(0x10f)][_0x90aa5b(0x112)][_0x90aa5b(0xfb)]=0x1,this[_0x90aa5b(0x10f)][_0x90aa5b(0x112)][_0x90aa5b(0xf1)]=0x3,this[_0x90aa5b(0x10d)]=this[_0x90aa5b(0xf5)](),this[_0x90aa5b(0xe8)]=this[_0x90aa5b(0x10a)](),this[_0x90aa5b(0xf4)][_0x90aa5b(0x115)](this[_0x90aa5b(0xe8)],0x1),this[_0x90aa5b(0xf4)][_0x90aa5b(0x115)](this[_0x90aa5b(0x10d)]);}[_0x469857(0x109)](){const _0x38e71c=_0x469857;super[_0x38e71c(0x109)](),this[_0x38e71c(0x10f)][_0x38e71c(0x114)][_0x38e71c(0x115)](this[_0x38e71c(0xe8)]),this[_0x38e71c(0xe4)][_0x38e71c(0x115)](this[_0x38e71c(0x10d)]),this[_0x38e71c(0xe7)][_0x38e71c(0xe3)](_0x38e71c(0x119),(_0x351bb8,_0x7dfa94)=>{const _0x294b1a=_0x38e71c;_0x351bb8[_0x294b1a(0xea)]==this[_0x294b1a(0x10f)][_0x294b1a(0x112)][_0x294b1a(0x101)]&&(this[_0x294b1a(0xe0)](),_0x7dfa94());});}[_0x469857(0xf5)](){const _0x1a77bb=_0x469857,_0x50e18b=new _0x16fcfd(this[_0x1a77bb(0x104)]),_0x572705=this[_0x1a77bb(0x104)];return _0x50e18b[_0x1a77bb(0xe3)]({'icon':_0x1f818e,'label':_0xe102b5(_0x572705,_0x1a77bb(0xfd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1a77bb(0x118)}),_0x50e18b['on'](_0x1a77bb(0xed),()=>{const _0x38a948=_0x1a77bb;this[_0x38a948(0xe0)]();}),_0x50e18b[_0x1a77bb(0x107)](_0x1a77bb(0x100))['to'](this[_0x1a77bb(0x10f)][_0x1a77bb(0x112)],_0x1a77bb(0x110),this,_0x1a77bb(0x100),(_0x50a2d9,_0x4063a6)=>!_0x50a2d9&&_0x4063a6),_0x50e18b;}[_0x469857(0x10a)](){const _0x403d6c=_0x469857,_0x17a823=new _0x16fcfd(this[_0x403d6c(0x104)]),_0x4326f8=this[_0x403d6c(0xe5)],_0x46bb86=this[_0x403d6c(0x104)];_0x17a823[_0x403d6c(0xe3)]({'label':_0xe102b5(_0x46bb86,_0x403d6c(0x10c)),'withText':!0x1,'icon':_0x401568[_0x403d6c(0x103)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x403d6c(0xff)}),_0x17a823[_0x403d6c(0x107)](_0x403d6c(0xe6))['to'](_0x4326f8,_0x403d6c(0x10e)),_0x17a823[_0x403d6c(0x107)](_0x403d6c(0x100))['to'](this,_0x403d6c(0x100)),_0x17a823['on'](_0x403d6c(0xed),()=>{const _0x53e54c=_0x403d6c;_0x4326f8[_0x53e54c(0x10e)]=!_0x4326f8[_0x53e54c(0x10e)],_0x4326f8[_0x53e54c(0x10e)]?this[_0x53e54c(0x113)][_0x53e54c(0xf2)]():this[_0x53e54c(0xf2)]();});const _0x4c3ffd=()=>{const _0x59074e=_0x403d6c;_0xd74b92[_0x59074e(0xe9)][_0x59074e(0x116)](()=>{const _0x4b7b87=_0x59074e;if(_0x3de73d(this[_0x4b7b87(0x101)])){const _0x924bc1=new _0x4d0e31(this[_0x4b7b87(0x10f)][_0x4b7b87(0x112)][_0x4b7b87(0x101)]),_0x50dac6=_0x924bc1[_0x4b7b87(0x106)],_0x1f7534=_0x4b7b87(0x102)===_0x46bb86[_0x4b7b87(0xf0)]?_0x4b7b87(0xef):_0x4b7b87(0xfc);_0x924bc1[_0x4b7b87(0xe1)](),_0x17a823[_0x4b7b87(0x101)][_0x4b7b87(0xee)][_0x1f7534]=_0x50dac6-_0x924bc1[_0x4b7b87(0x106)]+0x1+'px';}});};return this[_0x403d6c(0x10f)][_0x403d6c(0x112)]['on'](_0x403d6c(0x111),_0x4c3ffd),this['on'](_0x403d6c(0x109),_0x4c3ffd),_0x17a823;}[_0x469857(0xe0)](){const _0x2aca20=_0x469857,_0x565142=this[_0x2aca20(0x10f)][_0x2aca20(0x112)][_0x2aca20(0x101)][_0x2aca20(0x108)];this[_0x2aca20(0xeb)](_0x2aca20(0xe0),_0x565142);}[_0x469857(0xf2)](_0x14fb20){const _0x4a1c92=_0x469857;-0x1===_0x14fb20?this[_0x4a1c92(0xfe)][_0x4a1c92(0xf3)]():this[_0x4a1c92(0xfe)][_0x4a1c92(0xfa)]();}}