@ckeditor/ckeditor5-ai 46.0.2 → 46.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/adapters/aiadapter.js +1 -1
  151. package/src/adapters/aitextadapter.js +1 -1
  152. package/src/adapters/awstextadapter.js +1 -1
  153. package/src/adapters/openaitextadapter.js +1 -1
  154. package/src/aiassistant.js +1 -1
  155. package/src/aiassistantediting.js +1 -1
  156. package/src/aiassistantui.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/legacyerrors.js +1 -1
  159. package/src/ui/aiassistantcontroller.js +2 -2
  160. package/src/ui/form/aiformcontentarea.js +1 -1
  161. package/src/ui/form/aiformerrorview.js +1 -1
  162. package/src/ui/form/aiformpromptview.js +1 -1
  163. package/src/ui/form/aiformtoolbarview.js +1 -1
  164. package/src/ui/form/aiformview.js +1 -1
  165. package/src/ui/form/aihistorylistitemview.js +1 -1
  166. package/src/ui/form/aihistorylistview.js +1 -1
  167. package/src/ui/form/prompthistory.js +1 -1
  168. package/src/ui/showaiassistantcommand.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/normalizecommandsconfig.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a43e3=_0x460e;(function(_0x1c381c,_0x1dc0fc){const _0x722697=_0x460e,_0x756bb2=_0x1c381c();while(!![]){try{const _0x6bc007=-parseInt(_0x722697(0x1b1))/0x1*(parseInt(_0x722697(0x173))/0x2)+-parseInt(_0x722697(0x18f))/0x3*(parseInt(_0x722697(0x19a))/0x4)+-parseInt(_0x722697(0x162))/0x5*(-parseInt(_0x722697(0x188))/0x6)+parseInt(_0x722697(0x165))/0x7*(parseInt(_0x722697(0x1a7))/0x8)+parseInt(_0x722697(0x19f))/0x9*(parseInt(_0x722697(0x1a3))/0xa)+parseInt(_0x722697(0x197))/0xb*(-parseInt(_0x722697(0x19c))/0xc)+parseInt(_0x722697(0x16b))/0xd;if(_0x6bc007===_0x1dc0fc)break;else _0x756bb2['push'](_0x756bb2['shift']());}catch(_0x156f72){_0x756bb2['push'](_0x756bb2['shift']());}}}(_0x564b,0xc4d53));function _0x564b(){const _0x3eb097=['translateEnglish','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Journalism','professional','German','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','push','groupId','business','Edit\x20or\x20review','define','ai.aiAssistant.preserveComments','makeShorter','3683055bnvQgU','poetic','continue','10549GpUCGC','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','locale','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Arabic','improveWriting','10252723uRuCqU','includes','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','legal','Change\x20tone','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Summarize','166FqheQO','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Legal','filter','isOfficialPlugin','Translate\x20the\x20content\x20to\x20German\x20language.','summarize','translatePortuguese','casual','Improve\x20writing','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Spanish','translateFrench','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','get','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Continue','Generate\x20from\x20selection','translateSpanish','ai.aiAssistant.removeCommands','commands','6NLyGeV','editOrReview','ai.aiAssistant.commands','Friendly','Make\x20longer','journalism','generate','5001mROCPS','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','config','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Poetic','changeStyle','Change\x20style','French','430265kOZusy','ai.aiAssistant.extraCommandGroups','translateChinese','1196dJNejM','Hindi','36WXvvXa','friendly','translateHindi','148977QlulpN','Translate\x20the\x20content\x20to\x20French\x20language.','translateArabic','find','310KnlbrE','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Make\x20shorter','Direct','728AKkNEp','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Portuguese','forEach','Professional','changeTone','translateGerman','Translate\x20the\x20content\x20to\x20Hindi\x20language.','pluginName','translate','9079NfdWjF','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','English','direct','Confident','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','makeLonger','isPremiumPlugin','requires','set','Translate\x20the\x20content\x20to\x20English\x20language.','Translate','Simplify\x20language','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Business','simplifyLanguage','concat','confident','AIAssistant','Simplified\x20Chinese','Casual'];_0x564b=function(){return _0x3eb097;};return _0x564b();}import{Plugin as _0x598099}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x20328c}from'./aiassistantui.js';import{AIAssistantEditing as _0x5e0cb8}from'./aiassistantediting.js';import{getTranslation as _0x184c50}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0xb478f3}from'./utils/normalizecommandsconfig.js';function _0x460e(_0x3323a5,_0x51765e){const _0x564b6f=_0x564b();return _0x460e=function(_0x460e6c,_0x4ea90d){_0x460e6c=_0x460e6c-0x14f;let _0x13ea7a=_0x564b6f[_0x460e6c];return _0x13ea7a;},_0x460e(_0x3323a5,_0x51765e);}export class AIAssistant extends _0x598099{static get[_0x3a43e3(0x1b9)](){return[_0x20328c,_0x5e0cb8];}static get[_0x3a43e3(0x1af)](){const _0x9d0bc8=_0x3a43e3;return _0x9d0bc8(0x151);}static get[_0x3a43e3(0x177)](){return!0x0;}static get[_0x3a43e3(0x1b8)](){return!0x0;}constructor(_0x778f90){const _0x5a5fa0=_0x3a43e3;super(_0x778f90);const _0x2408ca=_0x778f90[_0x5a5fa0(0x191)],_0x2f1cbb=_0x778f90[_0x5a5fa0(0x167)];_0x2408ca[_0x5a5fa0(0x15f)](_0x5a5fa0(0x160),!0x0),_0x2408ca[_0x5a5fa0(0x15f)](_0x5a5fa0(0x18a),getDefaultAICommands(_0x2f1cbb)),_0x2408ca[_0x5a5fa0(0x15f)](_0x5a5fa0(0x198),[]),_0x2408ca[_0x5a5fa0(0x15f)](_0x5a5fa0(0x186),[]);let _0x4f0596=_0xb478f3(_0x2408ca[_0x5a5fa0(0x181)](_0x5a5fa0(0x18a)),_0x2f1cbb);const _0xb56916=_0x2408ca[_0x5a5fa0(0x181)](_0x5a5fa0(0x198)),_0x55e2a4=_0x2408ca[_0x5a5fa0(0x181)](_0x5a5fa0(0x186));_0xb56916[_0x5a5fa0(0x1aa)](_0x724e35=>{const _0x20a6e4=_0x5a5fa0,_0x3a26d1=_0x4f0596[_0x20a6e4(0x1a2)](_0x3333c6=>_0x3333c6[_0x20a6e4(0x15c)]===_0x724e35[_0x20a6e4(0x15c)]);_0x3a26d1?_0x3a26d1[_0x20a6e4(0x187)]=_0x3a26d1[_0x20a6e4(0x187)][_0x20a6e4(0x14f)](_0x724e35[_0x20a6e4(0x187)]):_0x4f0596[_0x20a6e4(0x15b)](_0x724e35);}),_0x4f0596=_0x4f0596[_0x5a5fa0(0x176)](_0x24f4bd=>!_0x55e2a4[_0x5a5fa0(0x16c)](_0x24f4bd[_0x5a5fa0(0x15c)])),_0x4f0596[_0x5a5fa0(0x1aa)](_0x4e2728=>{const _0x1a2174=_0x5a5fa0;_0x4e2728[_0x1a2174(0x187)]=_0x4e2728[_0x1a2174(0x187)][_0x1a2174(0x176)](_0x2b7d98=>!_0x55e2a4[_0x1a2174(0x16c)](_0x2b7d98['id']));}),_0x2408ca[_0x5a5fa0(0x1ba)](_0x5a5fa0(0x18a),_0x4f0596);}}export function getDefaultAICommands(_0x549355){const _0x397ae3=_0x3a43e3;return[{'groupId':_0x397ae3(0x189),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x15e)),'commands':[{'id':_0x397ae3(0x16a),'label':_0x184c50(_0x549355,_0x397ae3(0x17c)),'prompt':_0x397ae3(0x15a)},{'id':_0x397ae3(0x161),'label':_0x184c50(_0x549355,_0x397ae3(0x1a5)),'prompt':_0x397ae3(0x180)},{'id':_0x397ae3(0x1b7),'label':_0x184c50(_0x549355,_0x397ae3(0x18c)),'prompt':_0x397ae3(0x155)},{'id':_0x397ae3(0x1c0),'label':_0x184c50(_0x549355,_0x397ae3(0x1bd)),'prompt':_0x397ae3(0x1b6)}]},{'groupId':_0x397ae3(0x18e),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x184)),'commands':[{'id':_0x397ae3(0x179),'label':_0x184c50(_0x549355,_0x397ae3(0x172)),'prompt':_0x397ae3(0x16e)},{'id':_0x397ae3(0x164),'label':_0x184c50(_0x549355,_0x397ae3(0x183)),'prompt':_0x397ae3(0x16d)}]},{'groupId':_0x397ae3(0x1ac),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x170)),'commands':[{'id':_0x397ae3(0x158),'label':_0x184c50(_0x549355,_0x397ae3(0x1ab)),'prompt':_0x397ae3(0x1be)},{'id':_0x397ae3(0x17b),'label':_0x184c50(_0x549355,_0x397ae3(0x153)),'prompt':_0x397ae3(0x192)},{'id':_0x397ae3(0x1b4),'label':_0x184c50(_0x549355,_0x397ae3(0x1a6)),'prompt':_0x397ae3(0x166)},{'id':_0x397ae3(0x150),'label':_0x184c50(_0x549355,_0x397ae3(0x1b5)),'prompt':_0x397ae3(0x182)},{'id':_0x397ae3(0x19d),'label':_0x184c50(_0x549355,_0x397ae3(0x18b)),'prompt':_0x397ae3(0x1b2)}]},{'groupId':_0x397ae3(0x194),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x195)),'commands':[{'id':_0x397ae3(0x15d),'label':_0x184c50(_0x549355,_0x397ae3(0x1bf)),'prompt':_0x397ae3(0x171)},{'id':_0x397ae3(0x16f),'label':_0x184c50(_0x549355,_0x397ae3(0x175)),'prompt':_0x397ae3(0x190)},{'id':_0x397ae3(0x18d),'label':_0x184c50(_0x549355,_0x397ae3(0x157)),'prompt':_0x397ae3(0x1a4)},{'id':_0x397ae3(0x163),'label':_0x184c50(_0x549355,_0x397ae3(0x193)),'prompt':_0x397ae3(0x168)}]},{'groupId':_0x397ae3(0x1b0),'groupLabel':_0x184c50(_0x549355,_0x397ae3(0x1bc)),'commands':[{'id':_0x397ae3(0x154),'label':_0x184c50(_0x549355,_0x397ae3(0x1b3)),'prompt':_0x397ae3(0x1bb)},{'id':_0x397ae3(0x185),'label':_0x184c50(_0x549355,_0x397ae3(0x17e)),'prompt':_0x397ae3(0x174)},{'id':_0x397ae3(0x17a),'label':_0x184c50(_0x549355,_0x397ae3(0x1a9)),'prompt':_0x397ae3(0x1a8)},{'id':_0x397ae3(0x1ad),'label':_0x184c50(_0x549355,_0x397ae3(0x159)),'prompt':_0x397ae3(0x178)},{'id':_0x397ae3(0x17f),'label':_0x184c50(_0x549355,_0x397ae3(0x196)),'prompt':_0x397ae3(0x1a0)},{'id':_0x397ae3(0x199),'label':_0x184c50(_0x549355,_0x397ae3(0x152)),'prompt':_0x397ae3(0x156)},{'id':_0x397ae3(0x19e),'label':_0x184c50(_0x549355,_0x397ae3(0x19b)),'prompt':_0x397ae3(0x1ae)},{'id':_0x397ae3(0x1a1),'label':_0x184c50(_0x549355,_0x397ae3(0x169)),'prompt':_0x397ae3(0x17d)}]}];}
23
+ const _0x21fbcf=_0xfa03;(function(_0x426d70,_0x22f053){const _0x3beca9=_0xfa03,_0x585677=_0x426d70();while(!![]){try{const _0xedaac1=parseInt(_0x3beca9(0xff))/0x1+-parseInt(_0x3beca9(0x117))/0x2+parseInt(_0x3beca9(0x106))/0x3*(parseInt(_0x3beca9(0xee))/0x4)+-parseInt(_0x3beca9(0x100))/0x5*(parseInt(_0x3beca9(0x121))/0x6)+parseInt(_0x3beca9(0x148))/0x7+-parseInt(_0x3beca9(0xef))/0x8+-parseInt(_0x3beca9(0x115))/0x9*(-parseInt(_0x3beca9(0xfa))/0xa);if(_0xedaac1===_0x22f053)break;else _0x585677['push'](_0x585677['shift']());}catch(_0x34577c){_0x585677['push'](_0x585677['shift']());}}}(_0xa95f,0xa6c66));import{Plugin as _0x2aca75}from'ckeditor5/src/core.js';function _0xfa03(_0x5d623a,_0x1b7cbf){const _0xa95f40=_0xa95f();return _0xfa03=function(_0xfa03a0,_0x36df1f){_0xfa03a0=_0xfa03a0-0xec;let _0x453146=_0xa95f40[_0xfa03a0];return _0x453146;},_0xfa03(_0x5d623a,_0x1b7cbf);}import{AIAssistantUI as _0x2d7a51}from'./aiassistantui.js';import{AIAssistantEditing as _0x55fdda}from'./aiassistantediting.js';import{getTranslation as _0x4cc35a}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3b9e7b}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x2aca75{static get[_0x21fbcf(0xfe)](){return[_0x2d7a51,_0x55fdda];}static get[_0x21fbcf(0x145)](){const _0x5a751f=_0x21fbcf;return _0x5a751f(0x13b);}static get[_0x21fbcf(0x152)](){return!0x0;}static get[_0x21fbcf(0x10b)](){return!0x0;}constructor(_0x1e5f1d){const _0x1e8e34=_0x21fbcf;super(_0x1e5f1d);const _0x1e5d0f=_0x1e5f1d[_0x1e8e34(0x10a)],_0x53292b=_0x1e5f1d[_0x1e8e34(0x10f)];_0x1e5d0f[_0x1e8e34(0x138)](_0x1e8e34(0xf1),!0x0),_0x1e5d0f[_0x1e8e34(0x138)](_0x1e8e34(0x14b),getDefaultAICommands(_0x53292b)),_0x1e5d0f[_0x1e8e34(0x138)](_0x1e8e34(0x10c),[]),_0x1e5d0f[_0x1e8e34(0x138)](_0x1e8e34(0xf7),[]);let _0x3e0918=_0x3b9e7b(_0x1e5d0f[_0x1e8e34(0xf3)](_0x1e8e34(0x14b)),_0x53292b);const _0x4df91f=_0x1e5d0f[_0x1e8e34(0xf3)](_0x1e8e34(0x10c)),_0xc7a747=_0x1e5d0f[_0x1e8e34(0xf3)](_0x1e8e34(0xf7));_0x4df91f[_0x1e8e34(0x142)](_0x2c5b9d=>{const _0x5c3c4f=_0x1e8e34,_0x3a3fd5=_0x3e0918[_0x5c3c4f(0x158)](_0x29cfe6=>_0x29cfe6[_0x5c3c4f(0x13d)]===_0x2c5b9d[_0x5c3c4f(0x13d)]);_0x3a3fd5?_0x3a3fd5[_0x5c3c4f(0x11e)]=_0x3a3fd5[_0x5c3c4f(0x11e)][_0x5c3c4f(0x119)](_0x2c5b9d[_0x5c3c4f(0x11e)]):_0x3e0918[_0x5c3c4f(0x104)](_0x2c5b9d);}),_0x3e0918=_0x3e0918[_0x1e8e34(0xf6)](_0x4e0867=>!_0xc7a747[_0x1e8e34(0x114)](_0x4e0867[_0x1e8e34(0x13d)])),_0x3e0918[_0x1e8e34(0x142)](_0x444f9b=>{const _0x19182d=_0x1e8e34;_0x444f9b[_0x19182d(0x11e)]=_0x444f9b[_0x19182d(0x11e)][_0x19182d(0xf6)](_0xcb7da7=>!_0xc7a747[_0x19182d(0x114)](_0xcb7da7['id']));}),_0x1e5d0f[_0x1e8e34(0x102)](_0x1e8e34(0x14b),_0x3e0918);}}function _0xa95f(){const _0x3c2af4=['simplifyLanguage','Friendly','generate','Translate','119452CZBGWY','4587744srrALb','makeShorter','ai.aiAssistant.preserveComments','Business','get','Confident','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','filter','ai.aiAssistant.removeCommands','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Simplify\x20language','3963230TnOgCU','Improve\x20writing','business','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','requires','805469sOsUVR','5StsGma','legal','set','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','push','French','30izuYkO','English','Portuguese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','config','isPremiumPlugin','ai.aiAssistant.extraCommandGroups','translateEnglish','Arabic','locale','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Journalism','friendly','translateArabic','includes','36xoKfAD','improveWriting','1352748kwdTwh','German','concat','continue','Continue','Spanish','Legal','commands','Generate\x20from\x20selection','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','6789390xWlwVR','Make\x20shorter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Edit\x20or\x20review','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Change\x20tone','Make\x20longer','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Professional','Translate\x20the\x20content\x20to\x20German\x20language.','makeLonger','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20French\x20language.','direct','professional','translateGerman','poetic','Poetic','translateHindi','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateSpanish','editOrReview','define','Translate\x20the\x20content\x20to\x20English\x20language.','Direct','AIAssistant','Summarize','groupId','Change\x20style','translatePortuguese','changeTone','changeStyle','forEach','translate','casual','pluginName','translateFrench','Casual','2625882IftePo','summarize','Simplified\x20Chinese','ai.aiAssistant.commands','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Hindi','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','confident','isOfficialPlugin','journalism','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translateChinese','find'];_0xa95f=function(){return _0x3c2af4;};return _0xa95f();}export function getDefaultAICommands(_0x2760b4){const _0x2a5a06=_0x21fbcf;return[{'groupId':_0x2a5a06(0x137),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0x124)),'commands':[{'id':_0x2a5a06(0x116),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0xfb)),'prompt':_0x2a5a06(0xfd)},{'id':_0x2a5a06(0xf0),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x122)),'prompt':_0x2a5a06(0x14e)},{'id':_0x2a5a06(0x12c),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x128)),'prompt':_0x2a5a06(0x135)},{'id':_0x2a5a06(0x159),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0xf9)),'prompt':_0x2a5a06(0xf8)}]},{'groupId':_0x2a5a06(0xec),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0x11f)),'commands':[{'id':_0x2a5a06(0x149),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x13c)),'prompt':_0x2a5a06(0xf5)},{'id':_0x2a5a06(0x11a),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x11b)),'prompt':_0x2a5a06(0x109)}]},{'groupId':_0x2a5a06(0x140),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0x127)),'commands':[{'id':_0x2a5a06(0x130),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x12a)),'prompt':_0x2a5a06(0x155)},{'id':_0x2a5a06(0x144),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x147)),'prompt':_0x2a5a06(0x14c)},{'id':_0x2a5a06(0x12f),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x13a)),'prompt':_0x2a5a06(0x150)},{'id':_0x2a5a06(0x151),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0xf4)),'prompt':_0x2a5a06(0x154)},{'id':_0x2a5a06(0x112),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x15a)),'prompt':_0x2a5a06(0x103)}]},{'groupId':_0x2a5a06(0x141),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0x13e)),'commands':[{'id':_0x2a5a06(0xfc),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0xf2)),'prompt':_0x2a5a06(0x120)},{'id':_0x2a5a06(0x101),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x11d)),'prompt':_0x2a5a06(0x110)},{'id':_0x2a5a06(0x153),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x111)),'prompt':_0x2a5a06(0x125)},{'id':_0x2a5a06(0x132),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x133)),'prompt':_0x2a5a06(0x12d)}]},{'groupId':_0x2a5a06(0x143),'groupLabel':_0x4cc35a(_0x2760b4,_0x2a5a06(0xed)),'commands':[{'id':_0x2a5a06(0x10d),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x107)),'prompt':_0x2a5a06(0x139)},{'id':_0x2a5a06(0x136),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x11c)),'prompt':_0x2a5a06(0x129)},{'id':_0x2a5a06(0x13f),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x108)),'prompt':_0x2a5a06(0x123)},{'id':_0x2a5a06(0x131),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x118)),'prompt':_0x2a5a06(0x12b)},{'id':_0x2a5a06(0x146),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x105)),'prompt':_0x2a5a06(0x12e)},{'id':_0x2a5a06(0x157),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x14a)),'prompt':_0x2a5a06(0x126)},{'id':_0x2a5a06(0x134),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x14f)),'prompt':_0x2a5a06(0x14d)},{'id':_0x2a5a06(0x113),'label':_0x4cc35a(_0x2760b4,_0x2a5a06(0x10e)),'prompt':_0x2a5a06(0x156)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x99e9b9=_0x39e3;(function(_0x144c56,_0x400b38){const _0x2d66bf=_0x39e3,_0x3a3d39=_0x144c56();while(!![]){try{const _0x2259fe=parseInt(_0x2d66bf(0x1ee))/0x1+-parseInt(_0x2d66bf(0x1cb))/0x2*(parseInt(_0x2d66bf(0x1f5))/0x3)+parseInt(_0x2d66bf(0x1e6))/0x4+parseInt(_0x2d66bf(0x1c0))/0x5*(parseInt(_0x2d66bf(0x1d0))/0x6)+parseInt(_0x2d66bf(0x1ba))/0x7+-parseInt(_0x2d66bf(0x202))/0x8*(parseInt(_0x2d66bf(0x20e))/0x9)+-parseInt(_0x2d66bf(0x200))/0xa;if(_0x2259fe===_0x400b38)break;else _0x3a3d39['push'](_0x3a3d39['shift']());}catch(_0x39ded7){_0x3a3d39['push'](_0x3a3d39['shift']());}}}(_0xefc2,0xddd39));function _0x39e3(_0x2c448c,_0x4ce5eb){const _0xefc234=_0xefc2();return _0x39e3=function(_0x39e39f,_0x2efec0){_0x39e39f=_0x39e39f-0x1b2;let _0xdb2978=_0xefc234[_0x39e39f];return _0xdb2978;},_0x39e3(_0x2c448c,_0x4ce5eb);}import{uid as _0x5e0847}from'ckeditor5/src/utils.js';import{Plugin as _0x2fd2a4}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4d57ab}from'ckeditor5/src/clipboard.js';function _0xefc2(){const _0x3ce205=['getLastMatchingPosition','table','href','updateMarker','schema','13590CQcuDY','change','getRowIndexes','markerToElement','start','off','getSelectedTableCells','3rTQBAj','document','ck-fake-ai-selection_collapsed','config','showFakeVisualSelection','selection','init','fromCharCode','insertRows','_getAISelection','addMarker','6559930RCPqTY','isPremiumPlugin','3947992vGiXXE','pop','end','map','_resetContentOfSelectedTableCells','plugins','markerRange','element','editingDowncast','_prepareTableInsertBelowPosition','getChild','setSelection','9ZNVnjg','removeMarker','contentInsertion','get','for','isOfficialPlugin','getSelectedBlocks','filter','findAncestor','ck-ai-assistant-ui_theme','DataTransfer','createRange','last','insertContentBelow','first','editor','join','getMarkersGroup','from','isCollapsed','ck-fake-ai-selection','resultRange','getChildren','_getDefaultInsertBelowPosition','length','once','5717726zxMnoZ','addClass','deleteContent','ai.useTheme','afterInit','getColumnIndexes','751485MMMmfk','markers','_createEmptyTableRows','getFirstRange','getRanges','getLastPosition','pluginName','createPositionAfter','getRange','text/html','getRows','2992532KbeeXm','AIAssistantEditing','paste','isContent','hideFakeVisualSelection','54Gwmjjw','isAtEnd','createPositionAt','ai-ui','insertContent','data','TableUtils','has','_getTableRowCountFromContent','createUIElement','canEditAt','editing','setData','parse','fire','_pasteHTMLUsingClipboard','lowest','model','push','forEach','span','createSelection','5485112cQpUub','markerToHighlight','conversion'];_0xefc2=function(){return _0x3ce205;};return _0xefc2();}import{ViewDocumentDomEventData as _0x3fc09c,ViewDataTransfer as _0x460c2f}from'ckeditor5/src/engine.js';const l=globalThis[_0x99e9b9(0x218)],w=_0x99e9b9(0x1d3);export class AIAssistantEditing extends _0x2fd2a4{static get[_0x99e9b9(0x1c6)](){const _0x537971=_0x99e9b9;return _0x537971(0x1cc);}static get[_0x99e9b9(0x213)](){return!0x0;}static get[_0x99e9b9(0x201)](){return!0x0;}[_0x99e9b9(0x1fb)](){const _0x302a07=_0x99e9b9,{editor:_0x4f34f1}=this,_0x1b6dcf=[_0x302a07(0x1b4)];_0x4f34f1[_0x302a07(0x1f8)][_0x302a07(0x211)](_0x302a07(0x1bd))&&_0x1b6dcf[_0x302a07(0x1e2)](_0x302a07(0x217)),_0x4f34f1[_0x302a07(0x1e8)][_0x302a07(0x212)](_0x302a07(0x20a))[_0x302a07(0x1e7)]({'model':w,'view':{'classes':_0x1b6dcf,'priority':0xc}}),_0x4f34f1[_0x302a07(0x1e8)][_0x302a07(0x212)](_0x302a07(0x20a))[_0x302a07(0x1f1)]({'model':w,'view':(_0x1d6def,{writer:_0x3e0679})=>{const _0x3c6244=_0x302a07;if(!_0x1d6def[_0x3c6244(0x208)][_0x3c6244(0x1b3)])return null;const _0x2671f4=_0x3e0679[_0x3c6244(0x1d9)](_0x3c6244(0x1e4));return _0x3e0679[_0x3c6244(0x1bb)]([_0x3c6244(0x1b4),_0x3c6244(0x1f7)],_0x2671f4),_0x2671f4;}});}[_0x99e9b9(0x1be)](){!async function(_0x21b405){const _0x420a0a=_0x279e7d([0x66,0x65,0x4b,0x59,0x55,0x32,0x51,0x56,0x30,0x53,0x6b,0x68,0x79,0x62,0x6d,0x54,0x69,0x74,0x48,0x4e,0x43,0x78,0x6f,0x4a,0x41,0x6e,0x4d,0x70,0x6c,0x38,0x36,0x4f,0x7a,0x75,0x52,0x39,0x5a,0x42,0x49,0x76,0x71,0x47,0x64,0x46,0x73,0x6a,0x4c,0x45,0x72,0x44,0x33,0x31,0x67,0x77,0x35,0x58,0x61,0x57,0x34,0x63,0x37,0x50]),_0x469be8=0x33c1dbe7,_0x262163=0x33c6ab0f^_0x469be8,_0x115790=window[_0x279e7d([0x44,0x61,0x74,0x65])][_0x279e7d([0x6e,0x6f,0x77])](),_0x30c7c7=_0x21b405[_0x279e7d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x528889=new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce945a=>{_0x30c7c7[_0x279e7d([0x6f,0x6e,0x63,0x65])](_0x279e7d([0x72,0x65,0x61,0x64,0x79]),_0xce945a);}),_0x2c0ec5={[_0x279e7d([0x6b,0x74,0x79])]:_0x279e7d([0x45,0x43]),[_0x279e7d([0x75,0x73,0x65])]:_0x279e7d([0x73,0x69,0x67]),[_0x279e7d([0x63,0x72,0x76])]:_0x279e7d([0x50,0x2d,0x32,0x35,0x36]),[_0x279e7d([0x78])]:_0x279e7d([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]),[_0x279e7d([0x79])]:_0x279e7d([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]),[_0x279e7d([0x61,0x6c,0x67])]:_0x279e7d([0x45,0x53,0x32,0x35,0x36])},_0x8a66e3=_0x30c7c7[_0x279e7d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x279e7d([0x67,0x65,0x74])](_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a6c52(){let _0x13b0f5,_0x3405ee=null,_0x496b0d=null;try{if(_0x8a66e3==_0x279e7d([0x47,0x50,0x4c]))return _0x279e7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13b0f5=_0x5c66d5(),!_0x13b0f5)return _0x279e7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13b0f5[_0x279e7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x496b0d=_0x1dd981(_0x13b0f5[_0x279e7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13b0f5[_0x279e7d([0x6a,0x74,0x69])])),await _0x7e77ae()?_0x22010b()?_0x17cd07()?_0x279e7d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x483835()?(_0x13b0f5[_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x279e7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3405ee=_0x35a669(_0x279e7d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13b0f5[_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x279e7d([0x74,0x72,0x69,0x61,0x6c])&&(_0x3405ee=_0x35a669(_0x279e7d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47047b()):_0x279e7d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x279e7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x279e7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x279e7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x17cd07(){const _0x3dc2ed=[_0x279e7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x279e7d([0x74,0x72,0x69,0x61,0x6c])][_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b0f5[_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x115790/0x3e8:0xe10*_0x262163;return _0x13b0f5[_0x279e7d([0x65,0x78,0x70])]<_0x3dc2ed;}function _0x22010b(){const _0x3db59a=_0x13b0f5[_0x279e7d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3db59a&&(!!_0x3db59a[_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x279e7d([0x2a]))||!!_0x3db59a[_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x279e7d([0x41,0x49])));}function _0x483835(){const _0x21c9e8=_0x39e3,_0x5ac7b1=_0x13b0f5[_0x279e7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ac7b1||0x0==_0x5ac7b1[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x490e96}=new URL(window[_0x279e7d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x21c9e8(0x1eb)]);if(_0x5ac7b1[_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x490e96))return!0x0;const _0x4734e9=_0x490e96[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])](_0x279e7d([0x2e]));return _0x5ac7b1[_0x279e7d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x386eaa=>_0x386eaa[_0x279e7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x279e7d([0x2a])))[_0x279e7d([0x6d,0x61,0x70])](_0x25d950=>_0x25d950[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])](_0x279e7d([0x2e])))[_0x279e7d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104679=>_0x104679[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4734e9[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x279e7d([0x6d,0x61,0x70])](_0x111a31=>Array(_0x4734e9[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x111a31[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x279e7d([0x66,0x69,0x6c,0x6c])](_0x111a31[0x0]===_0x279e7d([0x2a])?_0x279e7d([0x2a]):'')[_0x279e7d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x111a31))[_0x279e7d([0x73,0x6f,0x6d,0x65])](_0x2bef19=>_0x4734e9[_0x279e7d([0x65,0x76,0x65,0x72,0x79])]((_0x4ba091,_0x34a17b)=>_0x2bef19[_0x34a17b]===_0x4ba091||_0x2bef19[_0x34a17b]===_0x279e7d([0x2a])));}function _0x47047b(){return _0x3405ee&&_0x496b0d?new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54d3ab,_0xa9b5b7)=>{_0x3405ee[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x54d3ab,_0xa9b5b7),_0x496b0d[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x4f0969=>{_0x4f0969!=_0x279e7d([0x56,0x61,0x6c,0x69,0x64])&&_0x54d3ab(_0x4f0969);},_0xa9b5b7);}):_0x3405ee||_0x496b0d||_0x279e7d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1dd981(_0x4d0428,_0x54a6fe){return new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a73bf=>{if(_0x2fdfab())return _0x1a73bf(_0x279e7d([0x56,0x61,0x6c,0x69,0x64]));_0x39d652(),_0x30c7c7[_0x279e7d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x279e7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaf83f8=!0x1;const _0x1233f9=_0x5e0847();function _0x382867(_0xa39d1e){return!!_0xa39d1e&&(typeof _0xa39d1e===_0x279e7d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa39d1e===_0x279e7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa39d1e[_0x279e7d([0x74,0x68,0x65,0x6e])]===_0x279e7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa39d1e[_0x279e7d([0x63,0x61,0x74,0x63,0x68])]===_0x279e7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1fea66(_0x79e58d){_0x4555d1(_0x79e58d)[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x522a10=>{if(!_0x522a10||_0x522a10[_0x279e7d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x279e7d([0x6f,0x6b]))return _0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31e70e(_0xd9b208(_0x1233f9+_0x54a6fe))!=_0x522a10[_0x279e7d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x279e7d([0x56,0x61,0x6c,0x69,0x64]);})[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x287c14=>(_0x18b6b9(),_0x287c14),()=>{const _0x2c79cf=_0x4fbcda();return null==_0x2c79cf?(_0x18b6b9(),_0x279e7d([0x56,0x61,0x6c,0x69,0x64])):_0x279e7d(_0x115790-_0x2c79cf>(0x17cd5fe7^_0x469be8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x1a73bf)[_0x279e7d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a73bf(_0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfd7b41=0x33f73567^_0x469be8;function _0x18b6b9(){const _0x4d34ff=_0x279e7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x31e70e(_0xd9b208(_0x4d0428)),_0x36b2c5=_0x19c283(_0x31e70e(window[_0x279e7d([0x4d,0x61,0x74,0x68])][_0x279e7d([0x63,0x65,0x69,0x6c])](_0x115790/_0xfd7b41)));window[_0x279e7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x279e7d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d34ff,_0x36b2c5);}function _0x4fbcda(){const _0x34b4a8=_0x279e7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x31e70e(_0xd9b208(_0x4d0428)),_0x2079ef=window[_0x279e7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x279e7d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34b4a8);return _0x2079ef?window[_0x279e7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19c283(_0x2079ef),0x10)*_0xfd7b41:null;}function _0x4555d1(_0x1c5788){return new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50b1d5,_0x31ec90)=>{_0x1c5788[_0x279e7d([0x74,0x68,0x65,0x6e])](_0x50b1d5,_0x31ec90),window[_0x279e7d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31ec90,0x33c00f27^_0x469be8);});}}_0x30c7c7[_0x279e7d([0x6f,0x6e])](_0x279e7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x665ba2,_0xbec784)=>{if(_0xbec784[0x0]!=_0x4d0428)return _0x1a73bf(_0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xbec784[0x1]={..._0xbec784[0x1],[_0x279e7d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1233f9};},{[_0x279e7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x279e7d([0x68,0x69,0x67,0x68])}),_0x30c7c7[_0x279e7d([0x6f,0x6e])](_0x279e7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x297f01=>{_0x382867(_0x297f01[_0x279e7d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaf83f8=!0x0,_0x1fea66(_0x297f01[_0x279e7d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x279e7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x279e7d([0x6c,0x6f,0x77])}),_0x528889[_0x279e7d([0x74,0x68,0x65,0x6e])](()=>{_0xaf83f8||_0x1a73bf(_0x279e7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fdfab(){return _0x30c7c7[_0x279e7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x279e7d([0x76,0x69,0x65,0x77])][_0x279e7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x279e7d([0x61,0x75,0x74,0x6f]);}function _0x39d652(){_0x30c7c7[_0x279e7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x279e7d([0x76,0x69,0x65,0x77])][_0x279e7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x279e7d([0x61,0x75,0x74,0x6f]);}}function _0x35a669(_0x219a77){const _0x533207=[new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7c3572=>setTimeout(_0x7c3572,0x33c8e52b^_0x469be8)),_0x528889[_0x279e7d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7e993a=>{let _0x486c45=0x0;_0x30c7c7[_0x279e7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x279e7d([0x6f,0x6e])](_0x279e7d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a9007,_0x52296c)=>{_0x52296c[0x0][_0x279e7d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x486c45++,_0x486c45==(0x33c1da1f^_0x469be8)&&(_0x7e993a(),_0x3a9007[_0x279e7d([0x6f,0x66,0x66])]());});}))];return window[_0x279e7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x279e7d([0x72,0x61,0x63,0x65])](_0x533207)[_0x279e7d([0x74,0x68,0x65,0x6e])](()=>_0x219a77);}async function _0x1da7bd(){await _0x528889,_0x30c7c7[_0x279e7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x279e7d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19c23b,_0x30c7c7[_0x279e7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x279e7d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19c23b,_0x30c7c7[_0x279e7d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x279e7d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x13a90f(_0x45929c){const _0x5baee7=_0x574e19();_0x30c7c7[_0x5baee7]=_0x279e7d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45929c,_0x45929c!=_0x279e7d([0x56,0x61,0x6c,0x69,0x64])&&_0x1da7bd();}function _0x574e19(){const _0x3fc029=window[_0x279e7d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x279e7d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x279e7d([0x6e,0x6f,0x77])]())[_0x279e7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x279e7d([0x2e]),'');let _0x11df2a=_0x279e7d([0x66]);for(let _0x4f8375=0x0;_0x4f8375<_0x3fc029[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f8375+=0x2){let _0x1cb5fd=window[_0x279e7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fc029[_0x279e7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f8375,_0x4f8375+0x2));_0x1cb5fd>=_0x420a0a[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1cb5fd-=_0x420a0a[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11df2a+=_0x420a0a[_0x1cb5fd];}return _0x11df2a;}function _0x5c66d5(){const _0x47d63f=_0x8a66e3[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])](_0x279e7d([0x2e]));if(0x3!=_0x47d63f[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5824c0(_0x47d63f[0x1]);function _0x5824c0(_0x478bce){const _0x98de01=_0x6b2f56(_0x478bce);return _0x98de01&&_0x36f3ea()?_0x98de01:null;function _0x36f3ea(){const _0x233182=_0x98de01[_0x279e7d([0x6a,0x74,0x69])],_0x4d4a77=window[_0x279e7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x233182[_0x279e7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x233182[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26346d={..._0x98de01,[_0x279e7d([0x6a,0x74,0x69])]:_0x233182[_0x279e7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x233182[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26346d[_0x279e7d([0x76,0x63])],_0xd9b208(_0x26346d)==_0x4d4a77;}}}async function _0x7e77ae(){let _0x3a7860=!0x0;try{const _0x327ccf=_0x8a66e3[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])](_0x279e7d([0x2e])),[_0x3572d6,_0x334c06,_0x30a536]=_0x327ccf;return _0x408dfd(_0x3572d6),await _0x18c073(_0x3572d6,_0x334c06,_0x30a536),_0x3a7860;}catch{return!0x1;}function _0x408dfd(_0x3d98b8){const _0x4e0712=_0x6b2f56(_0x3d98b8);_0x4e0712&&_0x4e0712[_0x279e7d([0x61,0x6c,0x67])]==_0x279e7d([0x45,0x53,0x32,0x35,0x36])||(_0x3a7860=!0x1);}async function _0x18c073(_0x221605,_0x10cf27,_0x109222){const _0x1e9c7c=window[_0x279e7d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x279e7d([0x66,0x72,0x6f,0x6d])](_0x1972e6(_0x109222),_0x592024=>_0x592024[_0x279e7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e0d75=new window[(_0x279e7d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x279e7d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x221605+_0x279e7d([0x2e])+_0x10cf27),_0x5e3559=window[_0x279e7d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x279e7d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e3559)return;const _0x3671ef=await _0x5e3559[_0x279e7d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x279e7d([0x6a,0x77,0x6b]),_0x2c0ec5,{[_0x279e7d([0x6e,0x61,0x6d,0x65])]:_0x279e7d([0x45,0x43,0x44,0x53,0x41]),[_0x279e7d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x279e7d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x279e7d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e3559[_0x279e7d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x279e7d([0x6e,0x61,0x6d,0x65])]:_0x279e7d([0x45,0x43,0x44,0x53,0x41]),[_0x279e7d([0x68,0x61,0x73,0x68])]:{[_0x279e7d([0x6e,0x61,0x6d,0x65])]:_0x279e7d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3671ef,_0x1e9c7c,_0x1e0d75)||(_0x3a7860=!0x1);}}function _0x6b2f56(_0xe0bf8e){return _0xe0bf8e[_0x279e7d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x279e7d([0x65,0x79]))?JSON[_0x279e7d([0x70,0x61,0x72,0x73,0x65])](_0x1972e6(_0xe0bf8e)):null;}function _0x1972e6(_0x265d19){return window[_0x279e7d([0x61,0x74,0x6f,0x62])](_0x265d19[_0x279e7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x279e7d([0x2b]))[_0x279e7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x279e7d([0x2f])));}function _0xd9b208(_0x2564be){let _0x4b8497=0x1505;function _0xb89172(_0x20c4f9){for(let _0x580668=0x0;_0x580668<_0x20c4f9[_0x279e7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x580668++){const _0x5bbacd=_0x20c4f9[_0x279e7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x580668);_0x4b8497=(_0x4b8497<<0x5)+_0x4b8497+_0x5bbacd,_0x4b8497&=_0x4b8497;}}function _0x294c62(_0x43b629){Array[_0x279e7d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43b629)?_0x43b629[_0x279e7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x294c62):_0x43b629&&typeof _0x43b629==_0x279e7d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x279e7d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43b629)[_0x279e7d([0x73,0x6f,0x72,0x74])]()[_0x279e7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa42859,_0x4c2195])=>{_0xb89172(_0xa42859),_0x294c62(_0x4c2195);}):_0xb89172(window[_0x279e7d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43b629));}return _0x294c62(_0x2564be),_0x4b8497>>>0x0;}function _0x31e70e(_0x26b320){return _0x26b320[_0x279e7d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x279e7d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x279e7d([0x30]));}function _0x19c283(_0x1bf831){return _0x1bf831[_0x279e7d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x279e7d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x279e7d([0x6a,0x6f,0x69,0x6e])]('');}function _0x19c23b(){}function _0x279e7d(_0x14a2cb){const _0x24e441=_0x39e3;return _0x14a2cb[_0x24e441(0x205)](_0x20026b=>String[_0x24e441(0x1fc)](_0x20026b))[_0x24e441(0x21e)]('');}_0x13a90f(await _0x4a6c52());}(this);}[_0x99e9b9(0x1f9)](){const _0x323611=_0x99e9b9,_0x49ae9b=this[_0x323611(0x21d)][_0x323611(0x1e1)];_0x49ae9b[_0x323611(0x1ef)](_0x4ac31a=>{const _0x22127a=_0x323611,_0x6e0f11=_0x49ae9b[_0x22127a(0x1f6)][_0x22127a(0x1fa)][_0x22127a(0x1c4)]();let _0x1a4d40=0x0;for(const _0x55f71a of _0x6e0f11){const _0x57f809=w+':'+_0x1a4d40;if(_0x49ae9b[_0x22127a(0x1c1)][_0x22127a(0x1d7)](_0x57f809))_0x4ac31a[_0x22127a(0x1ec)](_0x57f809,{'range':_0x55f71a});else{if(_0x55f71a[_0x22127a(0x1f2)][_0x22127a(0x1d1)]){const _0x51ba9e=_0x55f71a[_0x22127a(0x1f2)][_0x22127a(0x1e9)](({item:_0x3f2c75})=>!_0x49ae9b[_0x22127a(0x1ed)][_0x22127a(0x1ce)](_0x3f2c75),{'boundaries':_0x55f71a});_0x4ac31a[_0x22127a(0x1ff)](_0x57f809,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4ac31a[_0x22127a(0x219)](_0x51ba9e,_0x55f71a[_0x22127a(0x204)])});}else _0x4ac31a[_0x22127a(0x1ff)](_0x57f809,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x55f71a});}_0x1a4d40++;}});}[_0x99e9b9(0x1cf)](){const _0x68cdd=_0x99e9b9,_0x5788f2=this[_0x68cdd(0x21d)][_0x68cdd(0x1e1)],_0x4c84b8=Array[_0x68cdd(0x1b2)](this[_0x68cdd(0x21d)][_0x68cdd(0x1e1)][_0x68cdd(0x1c1)][_0x68cdd(0x21f)](w));_0x4c84b8[_0x68cdd(0x1b8)]&&_0x5788f2[_0x68cdd(0x1ef)](_0x15b0c1=>{const _0x5e0733=_0x68cdd;_0x4c84b8[_0x5e0733(0x1e3)](_0x502ef5=>{const _0x376d57=_0x5e0733;_0x15b0c1[_0x376d57(0x20f)](_0x502ef5);});});}[_0x99e9b9(0x1d4)](_0x233919,_0x540c3){const _0x19a007=_0x99e9b9,_0x47cb9a=this[_0x19a007(0x1fe)](),_0x18dc66=_0x540c3||_0x47cb9a[_0x19a007(0x1c3)]();this[_0x19a007(0x21d)][_0x19a007(0x1e1)][_0x19a007(0x1da)](_0x18dc66)&&this[_0x19a007(0x21d)][_0x19a007(0x1e1)][_0x19a007(0x1ef)](_0x56694e=>{const _0x1a6b29=_0x19a007;this[_0x1a6b29(0x1cf)](),_0x540c3||this[_0x1a6b29(0x206)](_0x56694e,_0x47cb9a),this[_0x1a6b29(0x1df)]({'insertAt':_0x18dc66,'writer':_0x56694e,'html':_0x233919});});}[_0x99e9b9(0x21b)](_0x5c0615){const _0x2b5d7b=_0x99e9b9,{model:_0x3d25b4}=this[_0x2b5d7b(0x21d)],_0x278b43=this[_0x2b5d7b(0x1fe)]();_0x3d25b4[_0x2b5d7b(0x1ef)](()=>{const _0x227318=_0x2b5d7b,_0x28750f=this[_0x227318(0x20b)](_0x5c0615,_0x278b43)||this[_0x227318(0x1b7)](_0x278b43);this[_0x227318(0x1d4)](_0x5c0615,_0x28750f);});}[_0x99e9b9(0x1fe)](){const _0x20f8bc=_0x99e9b9,_0x5083a2=this[_0x20f8bc(0x21d)][_0x20f8bc(0x1e1)],_0x460bad=Array[_0x20f8bc(0x1b2)](_0x5083a2[_0x20f8bc(0x1c1)][_0x20f8bc(0x21f)](w))[_0x20f8bc(0x205)](_0x4d3217=>_0x4d3217[_0x20f8bc(0x1c8)]());return _0x5083a2[_0x20f8bc(0x1e5)](_0x460bad);}[_0x99e9b9(0x1df)]({writer:_0x121381,html:_0x241690,insertAt:_0x2e6950}){const _0x1254ad=_0x99e9b9,{view:_0x6de5ad}=this[_0x1254ad(0x21d)][_0x1254ad(0x1db)],_0x13855c=this[_0x1254ad(0x21d)][_0x1254ad(0x207)][_0x1254ad(0x211)](_0x4d57ab),_0x186c72=new l();_0x186c72[_0x1254ad(0x1dc)](_0x1254ad(0x1c9),_0x241690);const _0x287b22=new ClipboardEvent(_0x1254ad(0x1cd),{'clipboardData':_0x186c72}),_0x43cf03=new _0x3fc09c(_0x6de5ad,_0x287b22,{'dataTransfer':new _0x460c2f(_0x186c72)});_0x121381[_0x1254ad(0x20d)](_0x2e6950);const _0x1e7a31=(_0x396032,_0x2f665b)=>{const _0x4cc439=_0x1254ad;_0x2f665b[_0x4cc439(0x1b5)]&&_0x121381[_0x4cc439(0x20d)](_0x2f665b[_0x4cc439(0x1b5)]);};_0x13855c[_0x1254ad(0x1b9)](_0x1254ad(0x210),_0x1e7a31,{'priority':_0x1254ad(0x1e0)}),_0x6de5ad[_0x1254ad(0x1f6)][_0x1254ad(0x1de)](_0x1254ad(0x1cd),_0x43cf03),_0x13855c[_0x1254ad(0x1f3)](_0x1254ad(0x210),_0x1e7a31);}[_0x99e9b9(0x1b7)](_0x331871){const _0x503774=_0x99e9b9,{model:_0x4feea6}=this[_0x503774(0x21d)],_0x5d9f79=Array[_0x503774(0x1b2)](_0x331871[_0x503774(0x214)]());return _0x5d9f79[_0x503774(0x1b8)]?_0x4feea6[_0x503774(0x1c7)](_0x5d9f79[_0x503774(0x203)]()):_0x331871[_0x503774(0x1c5)]();}[_0x99e9b9(0x20b)](_0x10de6c,_0x47571a){const _0x2469f2=_0x99e9b9,{model:_0x9a41cd,plugins:_0x34681f}=this[_0x2469f2(0x21d)];if(_0x34681f[_0x2469f2(0x1d7)](_0x2469f2(0x1d6))){const _0x395615=_0x34681f[_0x2469f2(0x211)](_0x2469f2(0x1d6))[_0x2469f2(0x1f4)](_0x47571a);if(_0x395615[_0x2469f2(0x1b8)]){const _0x48b8ff=this[_0x2469f2(0x1d8)](_0x10de6c),_0xcc682c=this[_0x2469f2(0x1c2)](_0x395615,_0x48b8ff);return _0x9a41cd[_0x2469f2(0x1d2)](_0xcc682c,0x0);}}return null;}[_0x99e9b9(0x1d8)](_0x74463f){const _0x2fa29a=_0x99e9b9,_0x3ced80=this[_0x2fa29a(0x21d)][_0x2fa29a(0x207)][_0x2fa29a(0x211)](_0x2fa29a(0x1d6)),_0x436efd=this[_0x2fa29a(0x21d)][_0x2fa29a(0x1d5)][_0x2fa29a(0x1dd)](_0x74463f),_0x5c0d24=Array[_0x2fa29a(0x1b2)](_0x436efd[_0x2fa29a(0x1b6)]())[_0x2fa29a(0x215)](_0x39c4d2=>_0x39c4d2['is'](_0x2fa29a(0x209),_0x2fa29a(0x1ea)));let _0x43d908=0x0;return _0x5c0d24[_0x2fa29a(0x1e3)](_0x2c6acb=>{const _0x1201fe=_0x2fa29a;_0x43d908+=_0x3ced80[_0x1201fe(0x1ca)](_0x2c6acb);}),_0x43d908;}[_0x99e9b9(0x1c2)](_0x1b7aff,_0x12060b){const _0x2a7f2c=_0x99e9b9,_0x236188=this[_0x2a7f2c(0x21d)][_0x2a7f2c(0x207)][_0x2a7f2c(0x211)](_0x2a7f2c(0x1d6)),_0x39eac6=_0x236188[_0x2a7f2c(0x1f0)](_0x1b7aff),_0x4bd134=_0x236188[_0x2a7f2c(0x1bf)](_0x1b7aff),_0x282743=_0x39eac6[_0x2a7f2c(0x21a)]+0x1,_0xd8e990=_0x4bd134[_0x2a7f2c(0x21c)],_0x2cd34b=_0x1b7aff[0x0][_0x2a7f2c(0x216)](_0x2a7f2c(0x1ea));for(let _0x41976a=0x0;_0x41976a<_0x12060b;_0x41976a++)_0x236188[_0x2a7f2c(0x1fd)](_0x2cd34b,{'at':_0x282743});return _0x2cd34b[_0x2a7f2c(0x20c)](_0x282743)[_0x2a7f2c(0x20c)](_0xd8e990);}[_0x99e9b9(0x206)](_0x2e1ad2,_0x1c0eef){const _0x11f7d0=_0x99e9b9,{plugins:_0x1027f8}=this[_0x11f7d0(0x21d)],{model:_0x2c4f50}=_0x2e1ad2;if(!_0x1027f8[_0x11f7d0(0x1d7)](_0x11f7d0(0x1d6)))return;_0x1027f8[_0x11f7d0(0x211)](_0x11f7d0(0x1d6))[_0x11f7d0(0x1f4)](_0x1c0eef)[_0x11f7d0(0x1b8)]&&_0x2c4f50[_0x11f7d0(0x1bc)](_0x1c0eef);}}
23
+ const _0x37de83=_0x4451;(function(_0x4b48d8,_0xc732bf){const _0x5ea9a6=_0x4451,_0x32d874=_0x4b48d8();while(!![]){try{const _0x121da8=-parseInt(_0x5ea9a6(0x10a))/0x1+parseInt(_0x5ea9a6(0x150))/0x2+parseInt(_0x5ea9a6(0x146))/0x3*(-parseInt(_0x5ea9a6(0x165))/0x4)+parseInt(_0x5ea9a6(0x10c))/0x5*(parseInt(_0x5ea9a6(0x10b))/0x6)+-parseInt(_0x5ea9a6(0x112))/0x7*(parseInt(_0x5ea9a6(0x14c))/0x8)+-parseInt(_0x5ea9a6(0x122))/0x9*(parseInt(_0x5ea9a6(0x16b))/0xa)+parseInt(_0x5ea9a6(0x106))/0xb*(parseInt(_0x5ea9a6(0x130))/0xc);if(_0x121da8===_0xc732bf)break;else _0x32d874['push'](_0x32d874['shift']());}catch(_0x581146){_0x32d874['push'](_0x32d874['shift']());}}}(_0x5cba,0xc60fe));import{uid as _0x357843}from'ckeditor5/src/utils.js';import{Plugin as _0x1d6c1e}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3f938a}from'ckeditor5/src/clipboard.js';function _0x5cba(){const _0x146c79=['afterInit','markerToElement','_getTableRowCountFromContent','conversion','href','getColumnIndexes','filter','updateMarker','isAtEnd','markerRange','isPremiumPlugin','DataTransfer','_resetContentOfSelectedTableCells','insertContent','contentInsertion','9kIVoMr','isCollapsed','fromCharCode','getChild','element','config','2264YQiQkY','map','first','ai.useTheme','2525022hNTOkU','markerToHighlight','text/html','setData','init','createPositionAfter','table','setSelection','get','getSelectedBlocks','hideFakeVisualSelection','createUIElement','_getDefaultInsertBelowPosition','removeMarker','createRange','model','getMarkersGroup','span','length','document','from','331988jkymKn','off','addMarker','editingDowncast','getChildren','change','220xnJwbB','markers','isOfficialPlugin','for','plugins','end','_prepareTableInsertBelowPosition','ai-ui','lowest','resultRange','showFakeVisualSelection','11ZlPQyd','editing','canEditAt','_getAISelection','260118lhvFZQ','167574QpHLdV','20fnnhuw','isContent','deleteContent','findAncestor','TableUtils','forEach','13573jptrty','ck-fake-ai-selection','paste','createPositionAt','ck-ai-assistant-ui_theme','schema','has','getRange','data','getLastPosition','insertRows','pop','createSelection','fire','getSelectedTableCells','push','165204CYWeLj','selection','insertContentBelow','editor','getRows','getRowIndexes','parse','once','addClass','ck-fake-ai-selection_collapsed','last','getLastMatchingPosition','getFirstRange','start','10784556mkPdvU','_createEmptyTableRows','getRanges','join','_pasteHTMLUsingClipboard','AIAssistantEditing','pluginName'];_0x5cba=function(){return _0x146c79;};return _0x5cba();}import{ViewDocumentDomEventData as _0x797492,ViewDataTransfer as _0x1b725b}from'ckeditor5/src/engine.js';const l=globalThis[_0x37de83(0x142)],w=_0x37de83(0x172);function _0x4451(_0x46c092,_0x107dfc){const _0x5cba42=_0x5cba();return _0x4451=function(_0x445121,_0x1c8efe){_0x445121=_0x445121-0x104;let _0x42cbd6=_0x5cba42[_0x445121];return _0x42cbd6;},_0x4451(_0x46c092,_0x107dfc);}export class AIAssistantEditing extends _0x1d6c1e{static get[_0x37de83(0x136)](){const _0x2aa302=_0x37de83;return _0x2aa302(0x135);}static get[_0x37de83(0x16d)](){return!0x0;}static get[_0x37de83(0x141)](){return!0x0;}[_0x37de83(0x154)](){const _0x5eec7b=_0x37de83,{editor:_0x1284a7}=this,_0x47a272=[_0x5eec7b(0x113)];_0x1284a7[_0x5eec7b(0x14b)][_0x5eec7b(0x158)](_0x5eec7b(0x14f))&&_0x47a272[_0x5eec7b(0x121)](_0x5eec7b(0x116)),_0x1284a7[_0x5eec7b(0x13a)][_0x5eec7b(0x16e)](_0x5eec7b(0x168))[_0x5eec7b(0x151)]({'model':w,'view':{'classes':_0x47a272,'priority':0xc}}),_0x1284a7[_0x5eec7b(0x13a)][_0x5eec7b(0x16e)](_0x5eec7b(0x168))[_0x5eec7b(0x138)]({'model':w,'view':(_0x50dfee,{writer:_0x40c95f})=>{const _0x340fec=_0x5eec7b;if(!_0x50dfee[_0x340fec(0x140)][_0x340fec(0x147)])return null;const _0x1e1b19=_0x40c95f[_0x340fec(0x15b)](_0x340fec(0x161));return _0x40c95f[_0x340fec(0x12a)]([_0x340fec(0x113),_0x340fec(0x12b)],_0x1e1b19),_0x1e1b19;}});}[_0x37de83(0x137)](){!async function(_0x3b714c){const _0x29c3ac=_0x2dbb15([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x2ce045=0x3dffc4e1,_0x2b9f3d=0x3df8b689^_0x2ce045,_0x5e58ea=window[_0x2dbb15([0x44,0x61,0x74,0x65])][_0x2dbb15([0x6e,0x6f,0x77])](),_0x3e0943=_0x3b714c[_0x2dbb15([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e9a22=new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x533f0e=>{_0x3e0943[_0x2dbb15([0x6f,0x6e,0x63,0x65])](_0x2dbb15([0x72,0x65,0x61,0x64,0x79]),_0x533f0e);}),_0x22f344={[_0x2dbb15([0x6b,0x74,0x79])]:_0x2dbb15([0x45,0x43]),[_0x2dbb15([0x75,0x73,0x65])]:_0x2dbb15([0x73,0x69,0x67]),[_0x2dbb15([0x63,0x72,0x76])]:_0x2dbb15([0x50,0x2d,0x32,0x35,0x36]),[_0x2dbb15([0x78])]:_0x2dbb15([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]),[_0x2dbb15([0x79])]:_0x2dbb15([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]),[_0x2dbb15([0x61,0x6c,0x67])]:_0x2dbb15([0x45,0x53,0x32,0x35,0x36])},_0x3bbf24=_0x3e0943[_0x2dbb15([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dbb15([0x67,0x65,0x74])](_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x161b8c(){let _0x2283b7,_0x4f3224=null,_0x457725=null;try{if(_0x3bbf24==_0x2dbb15([0x47,0x50,0x4c]))return _0x2dbb15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2283b7=_0x48b750(),!_0x2283b7)return _0x2dbb15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2283b7[_0x2dbb15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x457725=_0x35d76f(_0x2283b7[_0x2dbb15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2283b7[_0x2dbb15([0x6a,0x74,0x69])])),await _0x544b60()?_0x131066()?_0x4c6ced()?_0x2dbb15([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8ebe00()?(_0x2283b7[_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dbb15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f3224=_0x16fb2b(_0x2dbb15([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2283b7[_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dbb15([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f3224=_0x16fb2b(_0x2dbb15([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36eb09()):_0x2dbb15([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dbb15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dbb15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dbb15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c6ced(){const _0x5a6f3b=[_0x2dbb15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dbb15([0x74,0x72,0x69,0x61,0x6c])][_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2283b7[_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e58ea/0x3e8:0xe10*_0x2b9f3d;return _0x2283b7[_0x2dbb15([0x65,0x78,0x70])]<_0x5a6f3b;}function _0x131066(){const _0x2a6ba1=_0x2283b7[_0x2dbb15([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a6ba1&&(!!_0x2a6ba1[_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbb15([0x2a]))||!!_0x2a6ba1[_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbb15([0x41,0x49])));}function _0x8ebe00(){const _0x4b3ad5=_0x4451,_0x5a2ce7=_0x2283b7[_0x2dbb15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a2ce7||0x0==_0x5a2ce7[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x274baf}=new URL(window[_0x2dbb15([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b3ad5(0x13b)]);if(_0x5a2ce7[_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x274baf))return!0x0;const _0x335d61=_0x274baf[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])](_0x2dbb15([0x2e]));return _0x5a2ce7[_0x2dbb15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b4f4b=>_0x3b4f4b[_0x2dbb15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbb15([0x2a])))[_0x2dbb15([0x6d,0x61,0x70])](_0x8651e8=>_0x8651e8[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])](_0x2dbb15([0x2e])))[_0x2dbb15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cda47=>_0x3cda47[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x335d61[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dbb15([0x6d,0x61,0x70])](_0x484729=>Array(_0x335d61[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x484729[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dbb15([0x66,0x69,0x6c,0x6c])](_0x484729[0x0]===_0x2dbb15([0x2a])?_0x2dbb15([0x2a]):'')[_0x2dbb15([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x484729))[_0x2dbb15([0x73,0x6f,0x6d,0x65])](_0x4f895e=>_0x335d61[_0x2dbb15([0x65,0x76,0x65,0x72,0x79])]((_0x4dcbb6,_0x3fb394)=>_0x4f895e[_0x3fb394]===_0x4dcbb6||_0x4f895e[_0x3fb394]===_0x2dbb15([0x2a])));}function _0x36eb09(){return _0x4f3224&&_0x457725?new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54c9b6,_0x133f2c)=>{_0x4f3224[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x54c9b6,_0x133f2c),_0x457725[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x49419d=>{_0x49419d!=_0x2dbb15([0x56,0x61,0x6c,0x69,0x64])&&_0x54c9b6(_0x49419d);},_0x133f2c);}):_0x4f3224||_0x457725||_0x2dbb15([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35d76f(_0x36edf8,_0xdf900b){return new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25d7f5=>{if(_0x39028c())return _0x25d7f5(_0x2dbb15([0x56,0x61,0x6c,0x69,0x64]));_0x4575e3(),_0x3e0943[_0x2dbb15([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dbb15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b2b19=!0x1;const _0x7f6e50=_0x357843();function _0x2a941b(_0x42953a){return!!_0x42953a&&(typeof _0x42953a===_0x2dbb15([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42953a===_0x2dbb15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42953a[_0x2dbb15([0x74,0x68,0x65,0x6e])]===_0x2dbb15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42953a[_0x2dbb15([0x63,0x61,0x74,0x63,0x68])]===_0x2dbb15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x90f3a7(_0xbe50bc){_0x48b28b(_0xbe50bc)[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x3addc8=>{if(!_0x3addc8||_0x3addc8[_0x2dbb15([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dbb15([0x6f,0x6b]))return _0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b6152(_0xff9cbd(_0x7f6e50+_0xdf900b))!=_0x3addc8[_0x2dbb15([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dbb15([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x69b420=>(_0x5bebbf(),_0x69b420),()=>{const _0x165e2f=_0x17c579();return null==_0x165e2f?(_0x5bebbf(),_0x2dbb15([0x56,0x61,0x6c,0x69,0x64])):_0x2dbb15(_0x5e58ea-_0x165e2f>(0x19f340e1^_0x2ce045)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x25d7f5)[_0x2dbb15([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25d7f5(_0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a42f4=0x3dc92a61^_0x2ce045;function _0x5bebbf(){const _0x31cceb=_0x2dbb15([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b6152(_0xff9cbd(_0x36edf8)),_0x35ad95=_0x2776c4(_0x1b6152(window[_0x2dbb15([0x4d,0x61,0x74,0x68])][_0x2dbb15([0x63,0x65,0x69,0x6c])](_0x5e58ea/_0x4a42f4)));window[_0x2dbb15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dbb15([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x31cceb,_0x35ad95);}function _0x17c579(){const _0x17b440=_0x2dbb15([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b6152(_0xff9cbd(_0x36edf8)),_0xd50c65=window[_0x2dbb15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dbb15([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17b440);return _0xd50c65?window[_0x2dbb15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2776c4(_0xd50c65),0x10)*_0x4a42f4:null;}function _0x48b28b(_0xb62443){return new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21e0d9,_0x552a44)=>{_0xb62443[_0x2dbb15([0x74,0x68,0x65,0x6e])](_0x21e0d9,_0x552a44),window[_0x2dbb15([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x552a44,0x3dfe1021^_0x2ce045);});}}_0x3e0943[_0x2dbb15([0x6f,0x6e])](_0x2dbb15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x340f3a,_0x85a772)=>{if(_0x85a772[0x0]!=_0x36edf8)return _0x25d7f5(_0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x85a772[0x1]={..._0x85a772[0x1],[_0x2dbb15([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7f6e50};},{[_0x2dbb15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dbb15([0x68,0x69,0x67,0x68])}),_0x3e0943[_0x2dbb15([0x6f,0x6e])](_0x2dbb15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3cb3f5=>{_0x2a941b(_0x3cb3f5[_0x2dbb15([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b2b19=!0x0,_0x90f3a7(_0x3cb3f5[_0x2dbb15([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dbb15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dbb15([0x6c,0x6f,0x77])}),_0x1e9a22[_0x2dbb15([0x74,0x68,0x65,0x6e])](()=>{_0x2b2b19||_0x25d7f5(_0x2dbb15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39028c(){return _0x3e0943[_0x2dbb15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dbb15([0x76,0x69,0x65,0x77])][_0x2dbb15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dbb15([0x61,0x75,0x74,0x6f]);}function _0x4575e3(){_0x3e0943[_0x2dbb15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dbb15([0x76,0x69,0x65,0x77])][_0x2dbb15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dbb15([0x61,0x75,0x74,0x6f]);}}function _0x16fb2b(_0x530247){const _0x2d18d2=[new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ec58d=>setTimeout(_0x2ec58d,0x3df6fa2d^_0x2ce045)),_0x1e9a22[_0x2dbb15([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21a919=>{let _0x1fd733=0x0;_0x3e0943[_0x2dbb15([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbb15([0x6f,0x6e])](_0x2dbb15([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5af154,_0xaba4ab)=>{_0xaba4ab[0x0][_0x2dbb15([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fd733++,_0x1fd733==(0x3dffc519^_0x2ce045)&&(_0x21a919(),_0x5af154[_0x2dbb15([0x6f,0x66,0x66])]());});}))];return window[_0x2dbb15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dbb15([0x72,0x61,0x63,0x65])](_0x2d18d2)[_0x2dbb15([0x74,0x68,0x65,0x6e])](()=>_0x530247);}async function _0x240fca(){await _0x1e9a22,_0x3e0943[_0x2dbb15([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbb15([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8c902c,_0x3e0943[_0x2dbb15([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbb15([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8c902c,_0x3e0943[_0x2dbb15([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dbb15([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44a0e5(_0xe98cf6){const _0x20b7ab=_0x36bd26();_0x3e0943[_0x20b7ab]=_0x2dbb15([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe98cf6,_0xe98cf6!=_0x2dbb15([0x56,0x61,0x6c,0x69,0x64])&&_0x240fca();}function _0x36bd26(){const _0x57d911=window[_0x2dbb15([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dbb15([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dbb15([0x6e,0x6f,0x77])]())[_0x2dbb15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dbb15([0x2e]),'');let _0x2e36ae=_0x2dbb15([0x6e]);for(let _0x2222ac=0x0;_0x2222ac<_0x57d911[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2222ac+=0x2){let _0x2345c4=window[_0x2dbb15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57d911[_0x2dbb15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2222ac,_0x2222ac+0x2));_0x2345c4>=_0x29c3ac[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2345c4-=_0x29c3ac[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e36ae+=_0x29c3ac[_0x2345c4];}return _0x2e36ae;}function _0x48b750(){const _0x145865=_0x3bbf24[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])](_0x2dbb15([0x2e]));if(0x3!=_0x145865[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ffbc9(_0x145865[0x1]);function _0x3ffbc9(_0x168779){const _0x3756d8=_0x582fc3(_0x168779);return _0x3756d8&&_0x190acb()?_0x3756d8:null;function _0x190acb(){const _0x71966e=_0x3756d8[_0x2dbb15([0x6a,0x74,0x69])],_0x32fa3b=window[_0x2dbb15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71966e[_0x2dbb15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71966e[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x297602={..._0x3756d8,[_0x2dbb15([0x6a,0x74,0x69])]:_0x71966e[_0x2dbb15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x71966e[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x297602[_0x2dbb15([0x76,0x63])],_0xff9cbd(_0x297602)==_0x32fa3b;}}}async function _0x544b60(){let _0x2660ab=!0x0;try{const _0x56e347=_0x3bbf24[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])](_0x2dbb15([0x2e])),[_0x597864,_0xeab632,_0x4ec59b]=_0x56e347;return _0x1c41d2(_0x597864),await _0x3e667e(_0x597864,_0xeab632,_0x4ec59b),_0x2660ab;}catch{return!0x1;}function _0x1c41d2(_0x48fad1){const _0x542bd4=_0x582fc3(_0x48fad1);_0x542bd4&&_0x542bd4[_0x2dbb15([0x61,0x6c,0x67])]==_0x2dbb15([0x45,0x53,0x32,0x35,0x36])||(_0x2660ab=!0x1);}async function _0x3e667e(_0x150257,_0x3292d0,_0x1065b2){const _0x242051=window[_0x2dbb15([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dbb15([0x66,0x72,0x6f,0x6d])](_0x44c3c5(_0x1065b2),_0x33022d=>_0x33022d[_0x2dbb15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e6610=new window[(_0x2dbb15([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dbb15([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x150257+_0x2dbb15([0x2e])+_0x3292d0),_0x3d5aca=window[_0x2dbb15([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dbb15([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d5aca)return;const _0x3e70f9=await _0x3d5aca[_0x2dbb15([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dbb15([0x6a,0x77,0x6b]),_0x22f344,{[_0x2dbb15([0x6e,0x61,0x6d,0x65])]:_0x2dbb15([0x45,0x43,0x44,0x53,0x41]),[_0x2dbb15([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dbb15([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dbb15([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d5aca[_0x2dbb15([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dbb15([0x6e,0x61,0x6d,0x65])]:_0x2dbb15([0x45,0x43,0x44,0x53,0x41]),[_0x2dbb15([0x68,0x61,0x73,0x68])]:{[_0x2dbb15([0x6e,0x61,0x6d,0x65])]:_0x2dbb15([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e70f9,_0x242051,_0x1e6610)||(_0x2660ab=!0x1);}}function _0x582fc3(_0x3c3a65){return _0x3c3a65[_0x2dbb15([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dbb15([0x65,0x79]))?JSON[_0x2dbb15([0x70,0x61,0x72,0x73,0x65])](_0x44c3c5(_0x3c3a65)):null;}function _0x44c3c5(_0x3c165d){return window[_0x2dbb15([0x61,0x74,0x6f,0x62])](_0x3c165d[_0x2dbb15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dbb15([0x2b]))[_0x2dbb15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dbb15([0x2f])));}function _0xff9cbd(_0x53ed69){let _0x490345=0x1505;function _0xa8a178(_0xdbf77c){for(let _0x198e43=0x0;_0x198e43<_0xdbf77c[_0x2dbb15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x198e43++){const _0x3b74c0=_0xdbf77c[_0x2dbb15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x198e43);_0x490345=(_0x490345<<0x5)+_0x490345+_0x3b74c0,_0x490345&=_0x490345;}}function _0x5a74bb(_0x195c8b){Array[_0x2dbb15([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x195c8b)?_0x195c8b[_0x2dbb15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a74bb):_0x195c8b&&typeof _0x195c8b==_0x2dbb15([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dbb15([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x195c8b)[_0x2dbb15([0x73,0x6f,0x72,0x74])]()[_0x2dbb15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b96c9,_0xf8afa3])=>{_0xa8a178(_0x2b96c9),_0x5a74bb(_0xf8afa3);}):_0xa8a178(window[_0x2dbb15([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x195c8b));}return _0x5a74bb(_0x53ed69),_0x490345>>>0x0;}function _0x1b6152(_0x259b51){return _0x259b51[_0x2dbb15([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dbb15([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dbb15([0x30]));}function _0x2776c4(_0x38277f){return _0x38277f[_0x2dbb15([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dbb15([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dbb15([0x6a,0x6f,0x69,0x6e])]('');}function _0x8c902c(){}function _0x2dbb15(_0x71c09d){const _0x5ae489=_0x4451;return _0x71c09d[_0x5ae489(0x14d)](_0x49c4bc=>String[_0x5ae489(0x148)](_0x49c4bc))[_0x5ae489(0x133)]('');}_0x44a0e5(await _0x161b8c());}(this);}[_0x37de83(0x105)](){const _0x506491=_0x37de83,_0x119bd1=this[_0x506491(0x125)][_0x506491(0x15f)];_0x119bd1[_0x506491(0x16a)](_0x44dee5=>{const _0x408b99=_0x506491,_0x49964d=_0x119bd1[_0x408b99(0x163)][_0x408b99(0x123)][_0x408b99(0x132)]();let _0x1899f2=0x0;for(const _0x5149fa of _0x49964d){const _0x39ce88=w+':'+_0x1899f2;if(_0x119bd1[_0x408b99(0x16c)][_0x408b99(0x118)](_0x39ce88))_0x44dee5[_0x408b99(0x13e)](_0x39ce88,{'range':_0x5149fa});else{if(_0x5149fa[_0x408b99(0x12f)][_0x408b99(0x13f)]){const _0x343c11=_0x5149fa[_0x408b99(0x12f)][_0x408b99(0x12d)](({item:_0x4551b2})=>!_0x119bd1[_0x408b99(0x117)][_0x408b99(0x10d)](_0x4551b2),{'boundaries':_0x5149fa});_0x44dee5[_0x408b99(0x167)](_0x39ce88,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44dee5[_0x408b99(0x15e)](_0x343c11,_0x5149fa[_0x408b99(0x170)])});}else _0x44dee5[_0x408b99(0x167)](_0x39ce88,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5149fa});}_0x1899f2++;}});}[_0x37de83(0x15a)](){const _0xbd6e7a=_0x37de83,_0x4eca33=this[_0xbd6e7a(0x125)][_0xbd6e7a(0x15f)],_0x46c0cf=Array[_0xbd6e7a(0x164)](this[_0xbd6e7a(0x125)][_0xbd6e7a(0x15f)][_0xbd6e7a(0x16c)][_0xbd6e7a(0x160)](w));_0x46c0cf[_0xbd6e7a(0x162)]&&_0x4eca33[_0xbd6e7a(0x16a)](_0xbfa4ca=>{const _0x2c0d47=_0xbd6e7a;_0x46c0cf[_0x2c0d47(0x111)](_0x2ecbc9=>{const _0x96f813=_0x2c0d47;_0xbfa4ca[_0x96f813(0x15d)](_0x2ecbc9);});});}[_0x37de83(0x144)](_0x56f831,_0x5b8b7d){const _0x34c4d6=_0x37de83,_0x54f98a=this[_0x34c4d6(0x109)](),_0x5d1632=_0x5b8b7d||_0x54f98a[_0x34c4d6(0x12e)]();this[_0x34c4d6(0x125)][_0x34c4d6(0x15f)][_0x34c4d6(0x108)](_0x5d1632)&&this[_0x34c4d6(0x125)][_0x34c4d6(0x15f)][_0x34c4d6(0x16a)](_0x237ba5=>{const _0x1236d1=_0x34c4d6;this[_0x1236d1(0x15a)](),_0x5b8b7d||this[_0x1236d1(0x143)](_0x237ba5,_0x54f98a),this[_0x1236d1(0x134)]({'insertAt':_0x5d1632,'writer':_0x237ba5,'html':_0x56f831});});}[_0x37de83(0x124)](_0x58c108){const _0x84a1ca=_0x37de83,{model:_0xda27d}=this[_0x84a1ca(0x125)],_0x1f2b3e=this[_0x84a1ca(0x109)]();_0xda27d[_0x84a1ca(0x16a)](()=>{const _0x466c5d=_0x84a1ca,_0x30ade8=this[_0x466c5d(0x171)](_0x58c108,_0x1f2b3e)||this[_0x466c5d(0x15c)](_0x1f2b3e);this[_0x466c5d(0x144)](_0x58c108,_0x30ade8);});}[_0x37de83(0x109)](){const _0x2d66aa=_0x37de83,_0x21a3fb=this[_0x2d66aa(0x125)][_0x2d66aa(0x15f)],_0x31109d=Array[_0x2d66aa(0x164)](_0x21a3fb[_0x2d66aa(0x16c)][_0x2d66aa(0x160)](w))[_0x2d66aa(0x14d)](_0x1d9a30=>_0x1d9a30[_0x2d66aa(0x119)]());return _0x21a3fb[_0x2d66aa(0x11e)](_0x31109d);}[_0x37de83(0x134)]({writer:_0x1620ed,html:_0x217df7,insertAt:_0x57cafd}){const _0x175505=_0x37de83,{view:_0x3adaf4}=this[_0x175505(0x125)][_0x175505(0x107)],_0x5b7ae3=this[_0x175505(0x125)][_0x175505(0x16f)][_0x175505(0x158)](_0x3f938a),_0x50dc79=new l();_0x50dc79[_0x175505(0x153)](_0x175505(0x152),_0x217df7);const _0x4815cb=new ClipboardEvent(_0x175505(0x114),{'clipboardData':_0x50dc79}),_0x1a1097=new _0x797492(_0x3adaf4,_0x4815cb,{'dataTransfer':new _0x1b725b(_0x50dc79)});_0x1620ed[_0x175505(0x157)](_0x57cafd);const _0x30c8b4=(_0x3748c3,_0x31dc50)=>{const _0x29bf3c=_0x175505;_0x31dc50[_0x29bf3c(0x104)]&&_0x1620ed[_0x29bf3c(0x157)](_0x31dc50[_0x29bf3c(0x104)]);};_0x5b7ae3[_0x175505(0x129)](_0x175505(0x145),_0x30c8b4,{'priority':_0x175505(0x173)}),_0x3adaf4[_0x175505(0x163)][_0x175505(0x11f)](_0x175505(0x114),_0x1a1097),_0x5b7ae3[_0x175505(0x166)](_0x175505(0x145),_0x30c8b4);}[_0x37de83(0x15c)](_0x50c6dc){const _0x2ace76=_0x37de83,{model:_0x50aba7}=this[_0x2ace76(0x125)],_0x1e7f84=Array[_0x2ace76(0x164)](_0x50c6dc[_0x2ace76(0x159)]());return _0x1e7f84[_0x2ace76(0x162)]?_0x50aba7[_0x2ace76(0x155)](_0x1e7f84[_0x2ace76(0x11d)]()):_0x50c6dc[_0x2ace76(0x11b)]();}[_0x37de83(0x171)](_0x239b53,_0x3cc592){const _0x5ca60d=_0x37de83,{model:_0x2ef459,plugins:_0x159dc6}=this[_0x5ca60d(0x125)];if(_0x159dc6[_0x5ca60d(0x118)](_0x5ca60d(0x110))){const _0x17689a=_0x159dc6[_0x5ca60d(0x158)](_0x5ca60d(0x110))[_0x5ca60d(0x120)](_0x3cc592);if(_0x17689a[_0x5ca60d(0x162)]){const _0x25e5ee=this[_0x5ca60d(0x139)](_0x239b53),_0x12799f=this[_0x5ca60d(0x131)](_0x17689a,_0x25e5ee);return _0x2ef459[_0x5ca60d(0x115)](_0x12799f,0x0);}}return null;}[_0x37de83(0x139)](_0x43aeb7){const _0x4fcd0c=_0x37de83,_0x5cd83f=this[_0x4fcd0c(0x125)][_0x4fcd0c(0x16f)][_0x4fcd0c(0x158)](_0x4fcd0c(0x110)),_0x27ba58=this[_0x4fcd0c(0x125)][_0x4fcd0c(0x11a)][_0x4fcd0c(0x128)](_0x43aeb7),_0x27a18b=Array[_0x4fcd0c(0x164)](_0x27ba58[_0x4fcd0c(0x169)]())[_0x4fcd0c(0x13d)](_0x19f1cc=>_0x19f1cc['is'](_0x4fcd0c(0x14a),_0x4fcd0c(0x156)));let _0x10bec0=0x0;return _0x27a18b[_0x4fcd0c(0x111)](_0x25b676=>{const _0x1dc72d=_0x4fcd0c;_0x10bec0+=_0x5cd83f[_0x1dc72d(0x126)](_0x25b676);}),_0x10bec0;}[_0x37de83(0x131)](_0x5413d3,_0x492e80){const _0x56e290=_0x37de83,_0x32ee83=this[_0x56e290(0x125)][_0x56e290(0x16f)][_0x56e290(0x158)](_0x56e290(0x110)),_0x546700=_0x32ee83[_0x56e290(0x127)](_0x5413d3),_0x813f61=_0x32ee83[_0x56e290(0x13c)](_0x5413d3),_0x322b9a=_0x546700[_0x56e290(0x12c)]+0x1,_0x4661bc=_0x813f61[_0x56e290(0x14e)],_0x32a037=_0x5413d3[0x0][_0x56e290(0x10f)](_0x56e290(0x156));for(let _0x1d5cfe=0x0;_0x1d5cfe<_0x492e80;_0x1d5cfe++)_0x32ee83[_0x56e290(0x11c)](_0x32a037,{'at':_0x322b9a});return _0x32a037[_0x56e290(0x149)](_0x322b9a)[_0x56e290(0x149)](_0x4661bc);}[_0x37de83(0x143)](_0xadfa32,_0x5e7acd){const _0x2047fb=_0x37de83,{plugins:_0x1f0399}=this[_0x2047fb(0x125)],{model:_0x5d3e15}=_0xadfa32;if(!_0x1f0399[_0x2047fb(0x118)](_0x2047fb(0x110)))return;_0x1f0399[_0x2047fb(0x158)](_0x2047fb(0x110))[_0x2047fb(0x120)](_0x5e7acd)[_0x2047fb(0x162)]&&_0x5d3e15[_0x2047fb(0x10e)](_0x5e7acd);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c358e=_0x2abb;(function(_0x1fc610,_0x1099b0){const _0x8099c9=_0x2abb,_0x18bcf7=_0x1fc610();while(!![]){try{const _0x3f95c9=parseInt(_0x8099c9(0x1ac))/0x1*(parseInt(_0x8099c9(0x1c0))/0x2)+parseInt(_0x8099c9(0x1b2))/0x3*(-parseInt(_0x8099c9(0x1a8))/0x4)+-parseInt(_0x8099c9(0x1d4))/0x5*(parseInt(_0x8099c9(0x1e8))/0x6)+-parseInt(_0x8099c9(0x237))/0x7+-parseInt(_0x8099c9(0x1d5))/0x8+parseInt(_0x8099c9(0x1a6))/0x9+parseInt(_0x8099c9(0x1a9))/0xa;if(_0x3f95c9===_0x1099b0)break;else _0x18bcf7['push'](_0x18bcf7['shift']());}catch(_0x58d975){_0x18bcf7['push'](_0x18bcf7['shift']());}}}(_0x1860,0x7a99e));import{Plugin as _0x4a93f1}from'ckeditor5/src/core.js';import{IconMagicWand as _0x288277,IconRobotPencil as _0x492762}from'ckeditor5/src/icons.js';import{first as _0x2caed7,CKEditorError as _0x1adda2}from'ckeditor5/src/utils.js';import{createDropdown as _0x2fc6ab,addMenuToDropdown as _0x55b5ba,ButtonView as _0x2b2b2d,MenuBarMenuListItemButtonView as _0x4f5b9a,Dialog as _0x48c8cc,DialogViewPosition as _0x3eeb0f,MenuBarMenuView as _0x4db90f,MenuBarMenuListView as _0x454659,MenuBarMenuListItemView as _0x59a9c5}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x352b4d,UNGROUPED_COMMANDS_GROUP_ID as _0x946c2e}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x829d22}from'./aiassistantediting.js';import{AIAdapter as _0x491f15}from'./adapters/aiadapter.js';function _0x1860(){const _0x266294=['promptView','aiLicenseKeyExpired','_getResolvedCommandsDefinitions','locale','domainLimit','_getMenuBarGroupButtons','isEnabled','ai-commands-config-order-collision','isFlat','4950Quqlue','selection','children','fire','_initAriaAiStatusChangeAnnouncements','update','ai.aiAssistant.disabledElements','execute','insertContent','trim','Generated\x20content:\x20%0','contentArea','<p>','editor','invalid','wasMoved','_initView','addMany','DataTransfer','aiLicenseKeyTrialLimit','_aiAdapter','source','\x20ck-ai-assistant-ui_theme','enabledCommandsIds','change:value','copy','delegate','hide','requiresContent','showUI','buttons','ai.useTheme','view','order','hideFakeVisualSelection','_uiCssClasses','change','plugins','_createAIAssistantUIButton','REPLACE','getRanges','_aiAssistantController','values','componentFactory','aiLicenseKeyValid','isPremiumPlugin','polite','ck-ai-commands-dropdown\x20','_populateMenuBarMenu','aiLicenseKeyNotAllowed','length','showAIAssistant','evaluationLimit','command:','_onExecute','Error\x20during\x20AI\x20content\x20generation:\x20%0','listenTo','updateView','announce','menuPanelClass','rawHtml','menuBar:aiCommands','getSelectedElement','custom','featureNotAllowed','AI\x20is\x20writing','_licenseKeyCheckInterval','replace','queryView','ck-ai-assistant-button\x20','splice','text/html','config','groupLabel','model','map','aiLicenseKeyEvaluationLimit','comment','body','4932634qaKArj','textAdapter','menuBar:aiAssistant','EDITOR_TOP_SIDE','isCollapsed','forEach','get','change:isProcessing','items','AI\x20Commands','currentContext','push','once','showFakeVisualSelection','licenseKey','setSelection','replaceContent','init','panelView','sort','AIAssistant','tableOfContents','ck-ai-assistant-ui','text','set','pluginName','_dialog','destroy','show','ai.aiAssistant.contentAreaCssClass','insertContentBelow','1520361gcbIVa','trialLimit','2559052KlgpBm','25635300yZprDV','change:isError','from','25uqKftv','define','AI\x20Assistant','aiAssistant','_showLicenseError','ai.aiAssistant.commands','3AIhKdE','filter','prompt','isOfficialPlugin','</p>','schema','_formView','menuView','errorView','change:enabledCommandsIds','reset','includes','media','buttonView','19246rYVCKI','aiCommands','menuitemcheckbox','requires','isOn','aiLicenseKeyUsageLimit','commands','hideUI','getSelectedBlocks','bind','document','aiLicenseKeyDomainLimit','AIAssistantUI','fieldView','expired','_commandDefinitions','groupId','render','editing','INSERT','1730ErOnZV','6727880HjTfwt','updatePosition','_forceMarkersCopy','aiLicenseKeyInvalid','focus','label','add','getLimitElement','usageLimit','getData'];_0x1860=function(){return _0x266294;};return _0x1860();}import{getTranslation as _0x2505c1}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3a6923}from'./ui/showaiassistantcommand.js';function _0x2abb(_0x535c00,_0x27ab23){const _0x1860cb=_0x1860();return _0x2abb=function(_0x2abb12,_0x2705e7){_0x2abb12=_0x2abb12-0x197;let _0x5d45ee=_0x1860cb[_0x2abb12];return _0x5d45ee;},_0x2abb(_0x535c00,_0x27ab23);}import{AIAssistantController as _0x4cfeb9}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3ab367}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4c77f9}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x4c358e(0x1fa)];import{ClipboardMarkersUtils as _0x243f8d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x58a7c4,ViewDataTransfer as _0x354a3f}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x4a93f1{[_0x4c358e(0x245)];[_0x4c358e(0x22a)];[_0x4c358e(0x1a1)];[_0x4c358e(0x1b8)];[_0x4c358e(0x1fc)];[_0x4c358e(0x211)];[_0x4c358e(0x20b)]='';static get[_0x4c358e(0x1a0)](){const _0x287170=_0x4c358e;return _0x287170(0x1cc);}static get[_0x4c358e(0x1b5)](){return!0x0;}static get[_0x4c358e(0x215)](){return!0x0;}static get[_0x4c358e(0x1c3)](){return[_0x243f8d,_0x829d22,_0x491f15,_0x48c8cc];}constructor(_0x16eb8f){const _0x74369b=_0x4c358e;super(_0x16eb8f),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x1ee),[_0x74369b(0x1be),_0x74369b(0x224),_0x74369b(0x19c)]),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x1a4),''),_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x1ad)](_0x74369b(0x207),!0x0),this[_0x74369b(0x20b)]=_0x74369b(0x19d)+(_0x16eb8f[_0x74369b(0x230)][_0x74369b(0x23d)](_0x74369b(0x207))?_0x74369b(0x1fe):'');}[_0x4c358e(0x198)](){const _0x341677=_0x4c358e,{editor:_0x1d50ab}=this;this[_0x341677(0x1fc)]=_0x1d50ab[_0x341677(0x20d)][_0x341677(0x23d)](_0x491f15),this[_0x341677(0x1a1)]=_0x1d50ab[_0x341677(0x20d)][_0x341677(0x23d)](_0x48c8cc),this[_0x341677(0x1b8)]=null,this[_0x341677(0x1cf)]=this[_0x341677(0x1e1)]();const _0x3a58e5=new _0x3a6923(_0x1d50ab,Array[_0x341677(0x1ab)](this[_0x341677(0x1cf)][_0x341677(0x212)]()));_0x1d50ab[_0x341677(0x1c6)][_0x341677(0x1db)](_0x341677(0x21b),_0x3a58e5),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x1c1),_0x27285e=>{const _0x35b4de=_0x341677,_0x1b6a6c=_0x2fc6ab(_0x27285e);return _0x1b6a6c[_0x35b4de(0x19f)]({'class':_0x35b4de(0x217)+this[_0x35b4de(0x20b)]}),_0x1b6a6c[_0x35b4de(0x1bf)][_0x35b4de(0x19f)]({'label':_0x2505c1(_0x27285e,_0x35b4de(0x240)),'icon':_0x288277,'tooltip':!0x0}),_0x1b6a6c['on'](_0x35b4de(0x1ef),_0x5db479=>this[_0x35b4de(0x21e)](_0x5db479[_0x35b4de(0x1fd)]['id'])),_0x55b5ba(_0x1b6a6c,_0x1d50ab['ui'][_0x35b4de(0x208)][_0x35b4de(0x236)],function(_0x64b711){const _0x46eced=_0x35b4de,_0x22b299=_0x352b4d(_0x64b711[_0x46eced(0x230)][_0x46eced(0x23d)](_0x46eced(0x1b1)),_0x64b711[_0x46eced(0x1e2)]),_0x520a98=U(_0x64b711,_0x22b299)[_0x46eced(0x1b3)](_0xb1245c=>_0xb1245c[_0x46eced(0x1c6)][_0x46eced(0x21a)]);if(0x1===_0x520a98[_0x46eced(0x21a)])return U(_0x64b711,_0x520a98[0x0][_0x46eced(0x1c6)])[_0x46eced(0x233)](_0xffaf45=>({'id':_0xffaf45['id'],'label':_0xffaf45[_0x46eced(0x1da)]}));return _0x520a98[_0x46eced(0x233)](_0x35f505=>{const _0x1815a0=_0x46eced,{groupId:_0x57ca90,groupLabel:_0x9d3005,commands:_0x5256a0}=_0x35f505,_0x52ffdf=U(_0x64b711,_0x5256a0)[_0x1815a0(0x233)](_0x3d4a4a=>({'id':_0x3d4a4a['id'],'label':_0x3d4a4a[_0x1815a0(0x1da)]}));return{'id':_0x57ca90,'menu':_0x9d3005||_0x57ca90,'children':_0x52ffdf};});}(_0x1d50ab),{'ariaLabel':_0x2505c1(_0x27285e,_0x35b4de(0x240))}),_0x1b6a6c[_0x35b4de(0x1b9)][_0x35b4de(0x223)]=_0x35b4de(0x217)+this[_0x35b4de(0x20b)],_0x3a58e5['on'](_0x35b4de(0x1bb),_0x253d5a),_0x1b6a6c[_0x35b4de(0x1b9)][_0x35b4de(0x243)](_0x35b4de(0x1d1),_0x253d5a),_0x1b6a6c;function _0x253d5a(){const _0x4036e0=_0x35b4de;_0x1b6a6c[_0x4036e0(0x1e5)]=_0x3a58e5[_0x4036e0(0x1ff)][_0x4036e0(0x21a)]>0x0;for(const _0x2d154c of _0x1b6a6c[_0x4036e0(0x1b9)][_0x4036e0(0x206)])_0x2d154c[_0x4036e0(0x1e5)]=_0x3a58e5[_0x4036e0(0x1ff)][_0x4036e0(0x1bd)](_0x2d154c['id']);}}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x225),_0x7e545e=>{const _0x48a306=_0x341677,_0x3a0a7f=new _0x4db90f(_0x7e545e);_0x3a0a7f[_0x48a306(0x1bf)][_0x48a306(0x19f)]({'label':_0x2505c1(_0x7e545e,_0x48a306(0x240)),'icon':_0x288277}),_0x3a0a7f[_0x48a306(0x1c9)](_0x48a306(0x1e5))['to'](_0x3a58e5,_0x48a306(0x1ff),_0x239306=>_0x239306[_0x48a306(0x21a)]>0x0);const _0x4a4e68=_0x352b4d(_0x1d50ab[_0x48a306(0x230)][_0x48a306(0x23d)](_0x48a306(0x1b1)),_0x7e545e);return this[_0x48a306(0x218)](_0x3a58e5,_0x3a0a7f,_0x4a4e68,_0x2505a6=>this[_0x48a306(0x21e)](_0x2505a6)),_0x3a0a7f;}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x1af),()=>{const _0x118f2c=_0x341677,_0x3a94ef=this[_0x118f2c(0x20e)](_0x2b2b2d);return _0x3a94ef[_0x118f2c(0x19f)]({'tooltip':!0x0,'class':_0x118f2c(0x22d)+this[_0x118f2c(0x20b)]}),_0x3a94ef;}),_0x1d50ab['ui'][_0x341677(0x213)][_0x341677(0x1db)](_0x341677(0x239),()=>{const _0x23b765=_0x341677,_0x2dfb83=this[_0x23b765(0x20e)](_0x4f5b9a);return _0x2dfb83[_0x23b765(0x19f)]({'role':_0x23b765(0x1c2)}),_0x2dfb83;}),this[_0x341677(0x245)]=this[_0x341677(0x1f5)][_0x341677(0x230)][_0x341677(0x23d)](_0x341677(0x245));const _0xddf81f=this[_0x341677(0x1f5)];this[_0x341677(0x22a)]=setInterval(()=>{const _0x3c3a5=_0x341677;let _0x34a927;for(const _0x495b68 in _0xddf81f){const _0x27b2a4=_0x495b68,_0x17bbeb=_0xddf81f[_0x27b2a4];if(_0x3c3a5(0x214)==_0x17bbeb||_0x3c3a5(0x1d8)==_0x17bbeb||_0x3c3a5(0x1e0)==_0x17bbeb||_0x3c3a5(0x1cb)==_0x17bbeb||_0x3c3a5(0x219)==_0x17bbeb||_0x3c3a5(0x234)==_0x17bbeb||_0x3c3a5(0x1fb)==_0x17bbeb||_0x3c3a5(0x1c5)==_0x17bbeb){delete _0xddf81f[_0x27b2a4],_0x34a927=_0x17bbeb,clearInterval(this[_0x3c3a5(0x22a)]),this[_0x3c3a5(0x22a)]=void 0x0;break;}}_0x3c3a5(0x1d8)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1f6)),_0x3c3a5(0x1e0)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1ce)),_0x3c3a5(0x1cb)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1e3)),_0x3c3a5(0x219)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x228),_0x3c3a5(0x19b)),_0x3c3a5(0x234)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x21c)),_0x3c3a5(0x1fb)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1a7)),_0x3c3a5(0x1c5)==_0x34a927&&_0xddf81f[_0x3c3a5(0x1b0)](_0x3c3a5(0x1dd));},0x3e8);}[_0x4c358e(0x1a2)](){const _0x177991=_0x4c358e;super[_0x177991(0x1a2)](),this[_0x177991(0x22a)]&&clearInterval(this[_0x177991(0x22a)]);}[_0x4c358e(0x205)](_0x4c1111='',_0x42c7e9='',_0x2a297e=_0x4c358e(0x227)){const _0xfe84ff=_0x4c358e,_0x12a3b6=this[_0xfe84ff(0x1f5)],_0x2960ac=_0x12a3b6[_0xfe84ff(0x1d2)][_0xfe84ff(0x208)],_0x14abe8=_0x12a3b6[_0xfe84ff(0x20d)][_0xfe84ff(0x23d)](_0x829d22),_0x50f492=_0x12a3b6[_0xfe84ff(0x20d)][_0xfe84ff(0x23d)](_0x243f8d);_0x14abe8[_0xfe84ff(0x244)]();const _0x582fb9=new l(),_0x4fcc64=new ClipboardEvent(_0xfe84ff(0x201),{'clipboardData':_0x582fb9}),_0x548ef6=new _0x354a3f(_0x582fb9),_0x8e520f=new _0x58a7c4(_0x2960ac,_0x4fcc64,{'dataTransfer':_0x548ef6});_0x50f492[_0xfe84ff(0x1d7)](_0xfe84ff(0x235),()=>{const _0x2ae6bf=_0xfe84ff;_0x2960ac[_0x2ae6bf(0x1ca)][_0x2ae6bf(0x1eb)](_0x2ae6bf(0x201),_0x8e520f);}),this[_0xfe84ff(0x1b8)]||(this[_0xfe84ff(0x1f8)](),this[_0xfe84ff(0x211)]=new _0x4cfeb9(_0x12a3b6,this[_0xfe84ff(0x1fc)][_0xfe84ff(0x238)],this[_0xfe84ff(0x1b8)]));let _0x2adc2b=_0x548ef6[_0xfe84ff(0x1de)](_0xfe84ff(0x22f));const _0x448863=_0x12a3b6[_0xfe84ff(0x232)][_0xfe84ff(0x1ca)][_0xfe84ff(0x1e9)],_0x360ee0=Array[_0xfe84ff(0x1ab)](_0x448863[_0xfe84ff(0x210)]());0x1===_0x360ee0[_0xfe84ff(0x21a)]&&_0x360ee0[0x0][_0xfe84ff(0x1e7)]&&!_0x448863[_0xfe84ff(0x226)]()&&''!==_0x2adc2b[_0xfe84ff(0x22b)](/&nbsp;/g,'')[_0xfe84ff(0x1f1)]()&&(_0x2adc2b=_0xfe84ff(0x1f4)+_0x2adc2b+_0xfe84ff(0x1b6)),this[_0xfe84ff(0x211)][_0xfe84ff(0x221)]({'actionId':_0x2a297e,'query':_0x4c1111,'htmlContent':_0x2adc2b,'label':_0x42c7e9,'mainActionLabel':_0x4c77f9[_0x12a3b6[_0xfe84ff(0x232)][_0xfe84ff(0x1ca)][_0xfe84ff(0x1e9)][_0xfe84ff(0x23b)]?_0xfe84ff(0x1d3):_0xfe84ff(0x20f)]}),_0xfe84ff(0x1af)!==this[_0xfe84ff(0x1a1)]['id']?this[_0xfe84ff(0x1a1)][_0xfe84ff(0x1a3)]({'id':_0xfe84ff(0x1af),'icon':_0x492762,'title':_0x2505c1(this[_0xfe84ff(0x1f5)][_0xfe84ff(0x1e2)],_0xfe84ff(0x1ae)),'content':this[_0xfe84ff(0x1b8)],'position':_0x3eeb0f[_0xfe84ff(0x23a)],'onShow':()=>{const _0xa2344b=_0xfe84ff;this[_0xa2344b(0x1b8)][_0xa2344b(0x1d9)]();},'onHide':()=>{const _0x14489b=_0xfe84ff;this[_0x14489b(0x211)][_0x14489b(0x1bc)](),_0x14abe8[_0x14489b(0x20a)]();}}):this[_0xfe84ff(0x1a1)][_0xfe84ff(0x208)][_0xfe84ff(0x1f7)]||this[_0xfe84ff(0x1a1)][_0xfe84ff(0x208)][_0xfe84ff(0x1d6)]();}[_0x4c358e(0x1c7)](){const _0x1d8ff4=_0x4c358e;this[_0x1d8ff4(0x1a1)][_0x1d8ff4(0x203)]();}[_0x4c358e(0x1e1)](){const _0x8b1c31=_0x4c358e,_0x574fbc=new Map(),_0x3a34a0=_0x352b4d(this[_0x8b1c31(0x1f5)][_0x8b1c31(0x230)][_0x8b1c31(0x23d)](_0x8b1c31(0x1b1)),this[_0x8b1c31(0x1f5)][_0x8b1c31(0x1e2)]);for(const _0x1f4069 of _0x3a34a0)for(const _0x5525f7 of _0x1f4069[_0x8b1c31(0x1c6)])_0x574fbc[_0x8b1c31(0x19f)](_0x5525f7['id'],{..._0x5525f7,'groupId':_0x1f4069[_0x8b1c31(0x1d0)],'groupLabel':_0x1f4069[_0x8b1c31(0x231)]||_0x1f4069[_0x8b1c31(0x1d0)]});return _0x574fbc;}[_0x4c358e(0x20e)](_0x1616bc){const _0x1b640c=_0x4c358e,_0x30df63=this[_0x1b640c(0x1f5)],_0x40d2ec=_0x30df63[_0x1b640c(0x1c6)][_0x1b640c(0x23d)](_0x1b640c(0x21b)),_0x355388=new _0x1616bc(_0x30df63[_0x1b640c(0x1e2)]);return _0x355388[_0x1b640c(0x19f)]({'label':_0x2505c1(_0x30df63[_0x1b640c(0x1e2)],_0x1b640c(0x1ae)),'icon':_0x492762,'isToggleable':!0x0}),_0x355388[_0x1b640c(0x1c9)](_0x1b640c(0x1e5))['to'](_0x40d2ec),_0x355388[_0x1b640c(0x1c9)](_0x1b640c(0x1c4))['to'](this[_0x1b640c(0x1a1)],'id',_0x267c32=>_0x1b640c(0x1af)===_0x267c32),this[_0x1b640c(0x220)](_0x355388,_0x1b640c(0x1ef),()=>{const _0x3bf16b=_0x1b640c;_0x355388[_0x3bf16b(0x1c4)]?this[_0x3bf16b(0x1c7)]():_0x40d2ec[_0x3bf16b(0x1ef)]();}),_0x355388;}[_0x4c358e(0x1f8)](){const _0xd5aaaf=_0x4c358e,_0x48d4d1=this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x20d)][_0xd5aaaf(0x23d)](_0x829d22);this[_0xd5aaaf(0x1b8)]=new _0x3ab367(this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x1e2)],this[_0xd5aaaf(0x20b)],this[_0xd5aaaf(0x1f5)][_0xd5aaaf(0x230)][_0xd5aaaf(0x23d)](_0xd5aaaf(0x1a4))),this[_0xd5aaaf(0x1b8)]['on'](_0xd5aaaf(0x200),()=>{const _0x4bf884=_0xd5aaaf;this[_0x4bf884(0x1a1)][_0x4bf884(0x208)][_0x4bf884(0x1f7)]||this[_0x4bf884(0x1a1)][_0x4bf884(0x208)][_0x4bf884(0x1d6)]();}),this[_0xd5aaaf(0x1b8)][_0xd5aaaf(0x1df)][_0xd5aaaf(0x22c)][_0xd5aaaf(0x1cd)]['on'](_0xd5aaaf(0x1ed),()=>{const _0x167c1f=_0xd5aaaf;this[_0x167c1f(0x1a1)][_0x167c1f(0x208)][_0x167c1f(0x1f7)]||this[_0x167c1f(0x1a1)][_0x167c1f(0x208)][_0x167c1f(0x1d6)]();}),this[_0xd5aaaf(0x220)](this[_0xd5aaaf(0x1b8)],_0xd5aaaf(0x197),()=>{const _0x314842=_0xd5aaaf;_0x48d4d1[_0x314842(0x1f0)](this[_0x314842(0x211)][_0x314842(0x241)]),this[_0x314842(0x1c7)]();}),this[_0xd5aaaf(0x220)](this[_0xd5aaaf(0x1b8)],_0xd5aaaf(0x1a5),()=>{const _0xf8ef1d=_0xd5aaaf;_0x48d4d1[_0xf8ef1d(0x1a5)](this[_0xf8ef1d(0x211)][_0xf8ef1d(0x241)]),this[_0xf8ef1d(0x1c7)]();}),this[_0xd5aaaf(0x1ec)]();}[_0x4c358e(0x1ec)](){const _0x1ede43=_0x4c358e,{locale:_0x398828,ui:{ariaLiveAnnouncer:_0xbc6693}}=this[_0x1ede43(0x1f5)];this[_0x1ede43(0x1b8)][_0x1ede43(0x1f3)]['on'](_0x1ede43(0x23e),(_0x353322,_0x4c19a6,_0x11798b)=>{const _0x2e8dcc=_0x1ede43,_0x2b4314=this[_0x2e8dcc(0x211)][_0x2e8dcc(0x241)];_0x11798b?_0xbc6693[_0x2e8dcc(0x222)](_0x2505c1(_0x398828,_0x2e8dcc(0x229))):_0x2b4314&&_0xbc6693[_0x2e8dcc(0x222)](_0x2505c1(_0x398828,_0x2e8dcc(0x1f2),_0x2b4314),{'politeness':_0x2e8dcc(0x216),'isUnsafeHTML':!0x0});}),this[_0x1ede43(0x1b8)]['on'](_0x1ede43(0x1aa),(_0x1aefae,_0x4bb7ec,_0x438fcb)=>{const _0x3679bb=_0x1ede43;if(_0x438fcb){const _0x1baeb7=this[_0x3679bb(0x1b8)][_0x3679bb(0x1ba)][_0x3679bb(0x19e)];_0xbc6693[_0x3679bb(0x222)](_0x2505c1(_0x398828,_0x3679bb(0x21f),_0x1baeb7));}});}[_0x4c358e(0x21e)](_0x1ee3a2){const _0x580e49=_0x4c358e,_0x290bc2=this[_0x580e49(0x1cf)][_0x580e49(0x23d)](_0x1ee3a2),_0x182a01=this[_0x580e49(0x1f5)],_0x4d647f=_0x182a01[_0x580e49(0x232)][_0x580e49(0x1ca)][_0x580e49(0x1e9)],_0x57829b=_0x182a01[_0x580e49(0x1c6)][_0x580e49(0x23d)](_0x580e49(0x21b)),_0xff3ff7=_0x182a01[_0x580e49(0x20d)][_0x580e49(0x23d)](_0x829d22),_0x3065bf=''+(_0x290bc2[_0x580e49(0x1d0)]!==_0x946c2e?_0x290bc2[_0x580e49(0x231)]+':\x20':'')+_0x290bc2[_0x580e49(0x1da)];if(!0x1!==_0x290bc2[_0x580e49(0x204)]&&_0x4d647f[_0x580e49(0x23b)]){const _0x47bcea=_0x2caed7(_0x4d647f[_0x580e49(0x1c8)]())||_0x182a01[_0x580e49(0x232)][_0x580e49(0x1b7)][_0x580e49(0x1dc)](_0x4d647f);_0x182a01[_0x580e49(0x232)][_0x580e49(0x20c)](_0x332031=>{const _0x75b465=_0x580e49;_0x332031[_0x75b465(0x246)](_0x47bcea,'in');});}_0xff3ff7[_0x580e49(0x244)](),_0x57829b[_0x580e49(0x1ef)](_0x290bc2[_0x580e49(0x1b4)],_0x3065bf,_0x580e49(0x21d)+_0x1ee3a2);}[_0x4c358e(0x218)](_0x5745ab,_0x336de9,_0x5e1798,_0x70b0b6){const _0xaad043=_0x4c358e,_0x4f9d81=this[_0xaad043(0x1f5)],_0x363146=_0x4f9d81[_0xaad043(0x1e2)],_0x126d26=new _0x454659(_0x363146),_0x12278f=U(_0x4f9d81,_0x5e1798)[_0xaad043(0x1b3)](_0x31c6c9=>_0x31c6c9[_0xaad043(0x1c6)][_0xaad043(0x21a)]);0x1===_0x12278f[_0xaad043(0x21a)]?this[_0xaad043(0x1e4)]({'command':_0x5745ab,'commands':_0x12278f[0x0][_0xaad043(0x1c6)],'parentMenuView':_0x336de9,'onExecute':_0x70b0b6})[_0xaad043(0x23c)](_0x1b3d83=>_0x126d26[_0xaad043(0x23f)][_0xaad043(0x1db)](_0x1b3d83)):_0x12278f[_0xaad043(0x23c)](({groupId:_0x4b64cb,groupLabel:_0x3bf80f,commands:_0x29b9c5})=>{const _0x4b4841=_0xaad043,_0x1a1de1=new _0x59a9c5(_0x363146,_0x336de9),_0x390624=new _0x4db90f(_0x363146),_0x54b246=new _0x454659(_0x363146),_0x47281e=this[_0x4b4841(0x1e4)]({'command':_0x5745ab,'commands':_0x29b9c5,'parentMenuView':_0x390624,'onExecute':_0x70b0b6});_0x390624[_0x4b4841(0x1bf)][_0x4b4841(0x19f)]({'label':_0x3bf80f||_0x4b64cb}),_0x390624[_0x4b4841(0x202)](_0x4b4841(0x1ef))['to'](_0x336de9),_0x54b246[_0x4b4841(0x23f)][_0x4b4841(0x1f9)](_0x47281e),_0x390624[_0x4b4841(0x199)][_0x4b4841(0x1ea)][_0x4b4841(0x1db)](_0x54b246),_0x1a1de1[_0x4b4841(0x1ea)][_0x4b4841(0x1db)](_0x390624),_0x126d26[_0x4b4841(0x23f)][_0x4b4841(0x1db)](_0x1a1de1);}),_0x336de9[_0xaad043(0x199)][_0xaad043(0x1ea)][_0xaad043(0x1db)](_0x126d26);}[_0x4c358e(0x1e4)]({command:_0x298436,commands:_0x26ee16,parentMenuView:_0x347c08,onExecute:_0x2dec80}){const _0x4c1d7a=_0x4c358e,_0x4a2427=this[_0x4c1d7a(0x1f5)],_0x13fcb9=_0x4a2427[_0x4c1d7a(0x1e2)];return U(_0x4a2427,_0x26ee16)[_0x4c1d7a(0x233)](_0x564c3a=>{const _0x21eb7a=_0x4c1d7a,_0x292653=new _0x59a9c5(_0x13fcb9,_0x347c08),_0x4ad3bc=new _0x4f5b9a(_0x13fcb9);return _0x4ad3bc[_0x21eb7a(0x19f)]({'label':_0x564c3a[_0x21eb7a(0x1da)]}),_0x4ad3bc[_0x21eb7a(0x202)](_0x21eb7a(0x1ef))['to'](_0x347c08),_0x4ad3bc['on'](_0x21eb7a(0x1ef),()=>_0x2dec80(_0x564c3a['id'])),_0x4ad3bc[_0x21eb7a(0x1c9)](_0x21eb7a(0x1e5))['to'](_0x298436,_0x21eb7a(0x1ff),_0xbe271d=>_0xbe271d[_0x21eb7a(0x1bd)](_0x564c3a['id'])),_0x292653[_0x21eb7a(0x1ea)][_0x21eb7a(0x1db)](_0x4ad3bc),_0x292653;});}}function T(_0x1ef531,_0x11bd74){const _0x4d1efe=_0x4c358e;return void 0x0!==_0x1ef531[_0x4d1efe(0x209)]&&void 0x0===_0x11bd74[_0x4d1efe(0x209)]?0x1:void 0x0===_0x1ef531[_0x4d1efe(0x209)]&&void 0x0!==_0x11bd74[_0x4d1efe(0x209)]?-0x1:void 0x0!==_0x1ef531[_0x4d1efe(0x209)]&&void 0x0!==_0x11bd74[_0x4d1efe(0x209)]?_0x1ef531[_0x4d1efe(0x209)]-_0x11bd74[_0x4d1efe(0x209)]:0x0;}function U(_0x2e760c,_0x40777c){const _0x2fed95=_0x4c358e;_0x40777c[_0x2fed95(0x19a)](T);const _0x18c4d2={},_0x171de4=[];for(const _0xcf731a of _0x40777c)if(void 0x0!==_0xcf731a[_0x2fed95(0x209)]){if(_0xcf731a[_0x2fed95(0x209)]in _0x18c4d2)throw new _0x1adda2(_0x2fed95(0x1e6),_0x2e760c,{'conflictingDefinitions':[_0xcf731a,_0x18c4d2[_0xcf731a[_0x2fed95(0x209)]]]});_0x18c4d2[_0xcf731a[_0x2fed95(0x209)]]=_0xcf731a,_0x171de4[_0x2fed95(0x22e)](_0xcf731a[_0x2fed95(0x209)],0x0,_0xcf731a);}else _0x171de4[_0x2fed95(0x242)](_0xcf731a);return _0x171de4;}
23
+ const _0x192e37=_0x3752;(function(_0x58ce90,_0x5bedf7){const _0x48b4ad=_0x3752,_0xd84045=_0x58ce90();while(!![]){try{const _0x4e75ee=parseInt(_0x48b4ad(0xc9))/0x1*(-parseInt(_0x48b4ad(0x12d))/0x2)+parseInt(_0x48b4ad(0x128))/0x3*(parseInt(_0x48b4ad(0xd7))/0x4)+-parseInt(_0x48b4ad(0x101))/0x5+parseInt(_0x48b4ad(0x109))/0x6*(-parseInt(_0x48b4ad(0x98))/0x7)+parseInt(_0x48b4ad(0xea))/0x8*(parseInt(_0x48b4ad(0xa8))/0x9)+-parseInt(_0x48b4ad(0x126))/0xa*(-parseInt(_0x48b4ad(0x135))/0xb)+-parseInt(_0x48b4ad(0xdb))/0xc*(-parseInt(_0x48b4ad(0xa2))/0xd);if(_0x4e75ee===_0x5bedf7)break;else _0xd84045['push'](_0xd84045['shift']());}catch(_0x31c693){_0xd84045['push'](_0xd84045['shift']());}}}(_0x3bb8,0xb2545));import{Plugin as _0x271d7e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x55b32b,IconRobotPencil as _0x4638}from'ckeditor5/src/icons.js';import{first as _0x415c90,CKEditorError as _0x58a088}from'ckeditor5/src/utils.js';import{createDropdown as _0x2d2449,addMenuToDropdown as _0xc52299,ButtonView as _0x5b7b27,MenuBarMenuListItemButtonView as _0x45c7ed,Dialog as _0x28e9b4,DialogViewPosition as _0x15b6f6,MenuBarMenuView as _0x28964d,MenuBarMenuListView as _0x2ce3d7,MenuBarMenuListItemView as _0x5caaee}from'ckeditor5/src/ui.js';function _0x3752(_0x14afa6,_0x49e9){const _0x3bb8af=_0x3bb8();return _0x3752=function(_0x3752a3,_0x4a7c02){_0x3752a3=_0x3752a3-0x86;let _0x2d26d8=_0x3bb8af[_0x3752a3];return _0x2d26d8;},_0x3752(_0x14afa6,_0x49e9);}import{normalizeCommandsConfig as _0x36f9f2,UNGROUPED_COMMANDS_GROUP_ID as _0x266f71}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x388ead}from'./aiassistantediting.js';import{AIAdapter as _0x3f90d0}from'./adapters/aiadapter.js';import{getTranslation as _0x5bf172}from'./utils/common-translations.js';function _0x3bb8(){const _0x3c7510=['groupId','1897165kYrGcJ','isCollapsed','isEnabled','model','from','command:','sort','includes','333936NPXHCx','values','selection','trim','showFakeVisualSelection','contentArea','_forceMarkersCopy','_commandDefinitions','_getMenuBarGroupButtons','insertContent','change:isError','buttonView','ck-ai-assistant-button\x20','custom','groupLabel','bind','aiAssistant','init','_initView','AIAssistantUI','wasMoved','order','invalid','editor','_populateMenuBarMenu','aiLicenseKeyUsageLimit','domainLimit','change','hide','950DDoIPf','isOfficialPlugin','429NqNSes','updateView','fieldView','comment','getSelectedElement','105292zUnJAk','aiLicenseKeyInvalid','licenseKey','filter','getSelectedBlocks','requiresContent','forEach','length','57695tRoyUW','hideFakeVisualSelection','insertContentBelow','_initAriaAiStatusChangeAnnouncements','label','AI\x20is\x20writing','push','body','EDITOR_TOP_SIDE','prompt','</p>','render','menuView','announce','change:isProcessing','queryView','_getResolvedCommandsDefinitions','menuitemcheckbox','updatePosition','children','ai.aiAssistant.disabledElements','AI\x20Commands','112MXxSHJ','media','usageLimit','fire','showUI','AI\x20Assistant','currentContext','_aiAdapter','getRanges','hideUI','83941RqnNKJ','plugins','update','isPremiumPlugin','textAdapter','listenTo','333AjXEOw','trialLimit','config','ck-ai-commands-dropdown\x20','items','componentFactory','menuBar:aiAssistant','INSERT','aiCommands','change:enabledCommandsIds','_onExecute','delegate','define','polite','copy','ai-commands-config-order-collision','Error\x20during\x20AI\x20content\x20generation:\x20%0','add','buttons','showAIAssistant','reset','ck-ai-assistant-ui','panelView','schema','execute','<p>','focus','commands','document','ai.useTheme','aiLicenseKeyNotAllowed','menuPanelClass','featureNotAllowed','20YFuHoA','splice','map','locale','show','_formView','isOn','text','_aiAssistantController','tableOfContents','REPLACE','isFlat','aiLicenseKeyValid','rawHtml','16076pUptDL','enabledCommandsIds','set','aiLicenseKeyTrialLimit','3516udDlpy','change:value','addMany','DataTransfer','menuBar:aiCommands','text/html','replace','getLimitElement','get','destroy','Generated\x20content:\x20%0','view','aiLicenseKeyDomainLimit','AIAssistant','source','19112WCKQYD','getData','evaluationLimit','_licenseKeyCheckInterval','_dialog','_createAIAssistantUIButton','pluginName','replaceContent','setSelection','aiLicenseKeyExpired','editing','ai.aiAssistant.contentAreaCssClass','requires','_showLicenseError','once','_uiCssClasses','errorView','ai.aiAssistant.commands','\x20ck-ai-assistant-ui_theme','expired','promptView','aiLicenseKeyEvaluationLimit'];_0x3bb8=function(){return _0x3c7510;};return _0x3bb8();}import{ShowAIAssistantCommand as _0xb83a51}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x5376ec}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x15a911}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x23da35}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x192e37(0xde)];import{ClipboardMarkersUtils as _0x1f6d8a}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x58abe8,ViewDataTransfer as _0x479ece}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x271d7e{[_0x192e37(0x12f)];[_0x192e37(0xed)];[_0x192e37(0xee)];[_0x192e37(0xce)];[_0x192e37(0x9f)];[_0x192e37(0xd1)];[_0x192e37(0xf9)]='';static get[_0x192e37(0xf0)](){const _0x44a57d=_0x192e37;return _0x44a57d(0x11c);}static get[_0x192e37(0x127)](){return!0x0;}static get[_0x192e37(0xa5)](){return!0x0;}static get[_0x192e37(0xf6)](){return[_0x1f6d8a,_0x388ead,_0x3f90d0,_0x28e9b4];}constructor(_0x1dc6d9){const _0x165e38=_0x192e37;super(_0x1dc6d9),_0x1dc6d9[_0x165e38(0xaa)][_0x165e38(0xb4)](_0x165e38(0x96),[_0x165e38(0x99),_0x165e38(0xd6),_0x165e38(0xd2)]),_0x1dc6d9[_0x165e38(0xaa)][_0x165e38(0xb4)](_0x165e38(0xf5),''),_0x1dc6d9[_0x165e38(0xaa)][_0x165e38(0xb4)](_0x165e38(0xc5),!0x0),this[_0x165e38(0xf9)]=_0x165e38(0xbd)+(_0x1dc6d9[_0x165e38(0xaa)][_0x165e38(0xe3)](_0x165e38(0xc5))?_0x165e38(0xfc):'');}[_0x192e37(0x11a)](){const _0x538579=_0x192e37,{editor:_0x507a8c}=this;this[_0x538579(0x9f)]=_0x507a8c[_0x538579(0xa3)][_0x538579(0xe3)](_0x3f90d0),this[_0x538579(0xee)]=_0x507a8c[_0x538579(0xa3)][_0x538579(0xe3)](_0x28e9b4),this[_0x538579(0xce)]=null,this[_0x538579(0x110)]=this[_0x538579(0x92)]();const _0x455b8b=new _0xb83a51(_0x507a8c,Array[_0x538579(0x105)](this[_0x538579(0x110)][_0x538579(0x10a)]()));_0x507a8c[_0x538579(0xc3)][_0x538579(0xb9)](_0x538579(0xbb),_0x455b8b),_0x507a8c['ui'][_0x538579(0xad)][_0x538579(0xb9)](_0x538579(0xb0),_0x21ee57=>{const _0x554267=_0x538579,_0x2ea5af=_0x2d2449(_0x21ee57);return _0x2ea5af[_0x554267(0xd9)]({'class':_0x554267(0xab)+this[_0x554267(0xf9)]}),_0x2ea5af[_0x554267(0x114)][_0x554267(0xd9)]({'label':_0x5bf172(_0x21ee57,_0x554267(0x97)),'icon':_0x55b32b,'tooltip':!0x0}),_0x2ea5af['on'](_0x554267(0xc0),_0x1936ae=>this[_0x554267(0xb2)](_0x1936ae[_0x554267(0xe9)]['id'])),_0xc52299(_0x2ea5af,_0x507a8c['ui'][_0x554267(0xe6)][_0x554267(0x89)],function(_0x2d2b1e){const _0x131d20=_0x554267,_0x42948b=_0x36f9f2(_0x2d2b1e[_0x131d20(0xaa)][_0x131d20(0xe3)](_0x131d20(0xfb)),_0x2d2b1e[_0x131d20(0xcc)]),_0x1236a7=U(_0x2d2b1e,_0x42948b)[_0x131d20(0x130)](_0x112835=>_0x112835[_0x131d20(0xc3)][_0x131d20(0x134)]);if(0x1===_0x1236a7[_0x131d20(0x134)])return U(_0x2d2b1e,_0x1236a7[0x0][_0x131d20(0xc3)])[_0x131d20(0xcb)](_0x1796ca=>({'id':_0x1796ca['id'],'label':_0x1796ca[_0x131d20(0x86)]}));return _0x1236a7[_0x131d20(0xcb)](_0x3e59ab=>{const _0x3bcc5b=_0x131d20,{groupId:_0x1f5682,groupLabel:_0x987eff,commands:_0x5a39b6}=_0x3e59ab,_0xb53eb=U(_0x2d2b1e,_0x5a39b6)[_0x3bcc5b(0xcb)](_0x389c05=>({'id':_0x389c05['id'],'label':_0x389c05[_0x3bcc5b(0x86)]}));return{'id':_0x1f5682,'menu':_0x987eff||_0x1f5682,'children':_0xb53eb};});}(_0x507a8c),{'ariaLabel':_0x5bf172(_0x21ee57,_0x554267(0x97))}),_0x2ea5af[_0x554267(0x8e)][_0x554267(0xc7)]=_0x554267(0xab)+this[_0x554267(0xf9)],_0x455b8b['on'](_0x554267(0xb1),_0x349dce),_0x2ea5af[_0x554267(0x8e)][_0x554267(0xf8)](_0x554267(0x8d),_0x349dce),_0x2ea5af;function _0x349dce(){const _0x485099=_0x554267;_0x2ea5af[_0x485099(0x103)]=_0x455b8b[_0x485099(0xd8)][_0x485099(0x134)]>0x0;for(const _0x16dbd1 of _0x2ea5af[_0x485099(0x8e)][_0x485099(0xba)])_0x16dbd1[_0x485099(0x103)]=_0x455b8b[_0x485099(0xd8)][_0x485099(0x108)](_0x16dbd1['id']);}}),_0x507a8c['ui'][_0x538579(0xad)][_0x538579(0xb9)](_0x538579(0xdf),_0x4cab91=>{const _0x1ef5bd=_0x538579,_0x299279=new _0x28964d(_0x4cab91);_0x299279[_0x1ef5bd(0x114)][_0x1ef5bd(0xd9)]({'label':_0x5bf172(_0x4cab91,_0x1ef5bd(0x97)),'icon':_0x55b32b}),_0x299279[_0x1ef5bd(0x118)](_0x1ef5bd(0x103))['to'](_0x455b8b,_0x1ef5bd(0xd8),_0x175dee=>_0x175dee[_0x1ef5bd(0x134)]>0x0);const _0x1dae2d=_0x36f9f2(_0x507a8c[_0x1ef5bd(0xaa)][_0x1ef5bd(0xe3)](_0x1ef5bd(0xfb)),_0x4cab91);return this[_0x1ef5bd(0x121)](_0x455b8b,_0x299279,_0x1dae2d,_0x1969dc=>this[_0x1ef5bd(0xb2)](_0x1969dc)),_0x299279;}),_0x507a8c['ui'][_0x538579(0xad)][_0x538579(0xb9)](_0x538579(0x119),()=>{const _0x22b077=_0x538579,_0x4956d8=this[_0x22b077(0xef)](_0x5b7b27);return _0x4956d8[_0x22b077(0xd9)]({'tooltip':!0x0,'class':_0x22b077(0x115)+this[_0x22b077(0xf9)]}),_0x4956d8;}),_0x507a8c['ui'][_0x538579(0xad)][_0x538579(0xb9)](_0x538579(0xae),()=>{const _0x562bb2=_0x538579,_0x562067=this[_0x562bb2(0xef)](_0x45c7ed);return _0x562067[_0x562bb2(0xd9)]({'role':_0x562bb2(0x93)}),_0x562067;}),this[_0x538579(0x12f)]=this[_0x538579(0x120)][_0x538579(0xaa)][_0x538579(0xe3)](_0x538579(0x12f));const _0x30f924=this[_0x538579(0x120)];this[_0x538579(0xed)]=setInterval(()=>{const _0x72980e=_0x538579;let _0x47dadf;for(const _0x5b4d4c in _0x30f924){const _0x2ad60f=_0x5b4d4c,_0x4e27b2=_0x30f924[_0x2ad60f];if(_0x72980e(0xd5)==_0x4e27b2||_0x72980e(0x12e)==_0x4e27b2||_0x72980e(0xf3)==_0x4e27b2||_0x72980e(0xe7)==_0x4e27b2||_0x72980e(0xc6)==_0x4e27b2||_0x72980e(0xff)==_0x4e27b2||_0x72980e(0xda)==_0x4e27b2||_0x72980e(0x122)==_0x4e27b2){delete _0x30f924[_0x2ad60f],_0x47dadf=_0x4e27b2,clearInterval(this[_0x72980e(0xed)]),this[_0x72980e(0xed)]=void 0x0;break;}}_0x72980e(0x12e)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0x11f)),_0x72980e(0xf3)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0xfd)),_0x72980e(0xe7)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0x123)),_0x72980e(0xc6)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0xc8),_0x72980e(0xe8)),_0x72980e(0xff)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0xec)),_0x72980e(0xda)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0xa9)),_0x72980e(0x122)==_0x47dadf&&_0x30f924[_0x72980e(0xf7)](_0x72980e(0x9a));},0x3e8);}[_0x192e37(0xe4)](){const _0x72e3fb=_0x192e37;super[_0x72e3fb(0xe4)](),this[_0x72e3fb(0xed)]&&clearInterval(this[_0x72e3fb(0xed)]);}[_0x192e37(0x9c)](_0x358ac0='',_0x10a176='',_0x159e33=_0x192e37(0x116)){const _0x2ebdfd=_0x192e37,_0xdf5ce5=this[_0x2ebdfd(0x120)],_0x49b9cd=_0xdf5ce5[_0x2ebdfd(0xf4)][_0x2ebdfd(0xe6)],_0x48ba36=_0xdf5ce5[_0x2ebdfd(0xa3)][_0x2ebdfd(0xe3)](_0x388ead),_0x9b93ae=_0xdf5ce5[_0x2ebdfd(0xa3)][_0x2ebdfd(0xe3)](_0x1f6d8a);_0x48ba36[_0x2ebdfd(0x10d)]();const _0x140ddf=new l(),_0x591a7f=new ClipboardEvent(_0x2ebdfd(0xb6),{'clipboardData':_0x140ddf}),_0x505c59=new _0x479ece(_0x140ddf),_0x301567=new _0x58abe8(_0x49b9cd,_0x591a7f,{'dataTransfer':_0x505c59});_0x9b93ae[_0x2ebdfd(0x10f)](_0x2ebdfd(0x12b),()=>{const _0x566706=_0x2ebdfd;_0x49b9cd[_0x566706(0xc4)][_0x566706(0x9b)](_0x566706(0xb6),_0x301567);}),this[_0x2ebdfd(0xce)]||(this[_0x2ebdfd(0x11b)](),this[_0x2ebdfd(0xd1)]=new _0x5376ec(_0xdf5ce5,this[_0x2ebdfd(0x9f)][_0x2ebdfd(0xa6)],this[_0x2ebdfd(0xce)]));let _0x2bbd82=_0x505c59[_0x2ebdfd(0xeb)](_0x2ebdfd(0xe0));const _0x41b04c=_0xdf5ce5[_0x2ebdfd(0x104)][_0x2ebdfd(0xc4)][_0x2ebdfd(0x10b)],_0x1fc2c5=Array[_0x2ebdfd(0x105)](_0x41b04c[_0x2ebdfd(0xa0)]());0x1===_0x1fc2c5[_0x2ebdfd(0x134)]&&_0x1fc2c5[0x0][_0x2ebdfd(0xd4)]&&!_0x41b04c[_0x2ebdfd(0x12c)]()&&''!==_0x2bbd82[_0x2ebdfd(0xe1)](/&nbsp;/g,'')[_0x2ebdfd(0x10c)]()&&(_0x2bbd82=_0x2ebdfd(0xc1)+_0x2bbd82+_0x2ebdfd(0x8c)),this[_0x2ebdfd(0xd1)][_0x2ebdfd(0x129)]({'actionId':_0x159e33,'query':_0x358ac0,'htmlContent':_0x2bbd82,'label':_0x10a176,'mainActionLabel':_0x23da35[_0xdf5ce5[_0x2ebdfd(0x104)][_0x2ebdfd(0xc4)][_0x2ebdfd(0x10b)][_0x2ebdfd(0x102)]?_0x2ebdfd(0xaf):_0x2ebdfd(0xd3)]}),_0x2ebdfd(0x119)!==this[_0x2ebdfd(0xee)]['id']?this[_0x2ebdfd(0xee)][_0x2ebdfd(0xcd)]({'id':_0x2ebdfd(0x119),'icon':_0x4638,'title':_0x5bf172(this[_0x2ebdfd(0x120)][_0x2ebdfd(0xcc)],_0x2ebdfd(0x9d)),'content':this[_0x2ebdfd(0xce)],'position':_0x15b6f6[_0x2ebdfd(0x8a)],'onShow':()=>{const _0x580122=_0x2ebdfd;this[_0x580122(0xce)][_0x580122(0xc2)]();},'onHide':()=>{const _0x38034c=_0x2ebdfd;this[_0x38034c(0xd1)][_0x38034c(0xbc)](),_0x48ba36[_0x38034c(0x136)]();}}):this[_0x2ebdfd(0xee)][_0x2ebdfd(0xe6)][_0x2ebdfd(0x11d)]||this[_0x2ebdfd(0xee)][_0x2ebdfd(0xe6)][_0x2ebdfd(0x94)]();}[_0x192e37(0xa1)](){const _0xae4a45=_0x192e37;this[_0xae4a45(0xee)][_0xae4a45(0x125)]();}[_0x192e37(0x92)](){const _0x10357b=_0x192e37,_0x4926d0=new Map(),_0x462160=_0x36f9f2(this[_0x10357b(0x120)][_0x10357b(0xaa)][_0x10357b(0xe3)](_0x10357b(0xfb)),this[_0x10357b(0x120)][_0x10357b(0xcc)]);for(const _0x50036a of _0x462160)for(const _0x58b6e9 of _0x50036a[_0x10357b(0xc3)])_0x4926d0[_0x10357b(0xd9)](_0x58b6e9['id'],{..._0x58b6e9,'groupId':_0x50036a[_0x10357b(0x100)],'groupLabel':_0x50036a[_0x10357b(0x117)]||_0x50036a[_0x10357b(0x100)]});return _0x4926d0;}[_0x192e37(0xef)](_0x4b6338){const _0x409178=_0x192e37,_0x40c623=this[_0x409178(0x120)],_0x4657e5=_0x40c623[_0x409178(0xc3)][_0x409178(0xe3)](_0x409178(0xbb)),_0x2d90dc=new _0x4b6338(_0x40c623[_0x409178(0xcc)]);return _0x2d90dc[_0x409178(0xd9)]({'label':_0x5bf172(_0x40c623[_0x409178(0xcc)],_0x409178(0x9d)),'icon':_0x4638,'isToggleable':!0x0}),_0x2d90dc[_0x409178(0x118)](_0x409178(0x103))['to'](_0x4657e5),_0x2d90dc[_0x409178(0x118)](_0x409178(0xcf))['to'](this[_0x409178(0xee)],'id',_0x3a5599=>_0x409178(0x119)===_0x3a5599),this[_0x409178(0xa7)](_0x2d90dc,_0x409178(0xc0),()=>{const _0x56d4c0=_0x409178;_0x2d90dc[_0x56d4c0(0xcf)]?this[_0x56d4c0(0xa1)]():_0x4657e5[_0x56d4c0(0xc0)]();}),_0x2d90dc;}[_0x192e37(0x11b)](){const _0x14d0ba=_0x192e37,_0x465855=this[_0x14d0ba(0x120)][_0x14d0ba(0xa3)][_0x14d0ba(0xe3)](_0x388ead);this[_0x14d0ba(0xce)]=new _0x15a911(this[_0x14d0ba(0x120)][_0x14d0ba(0xcc)],this[_0x14d0ba(0xf9)],this[_0x14d0ba(0x120)][_0x14d0ba(0xaa)][_0x14d0ba(0xe3)](_0x14d0ba(0xf5))),this[_0x14d0ba(0xce)]['on'](_0x14d0ba(0xdc),()=>{const _0x25615e=_0x14d0ba;this[_0x25615e(0xee)][_0x25615e(0xe6)][_0x25615e(0x11d)]||this[_0x25615e(0xee)][_0x25615e(0xe6)][_0x25615e(0x94)]();}),this[_0x14d0ba(0xce)][_0x14d0ba(0xfe)][_0x14d0ba(0x91)][_0x14d0ba(0x12a)]['on'](_0x14d0ba(0xa4),()=>{const _0x3a4144=_0x14d0ba;this[_0x3a4144(0xee)][_0x3a4144(0xe6)][_0x3a4144(0x11d)]||this[_0x3a4144(0xee)][_0x3a4144(0xe6)][_0x3a4144(0x94)]();}),this[_0x14d0ba(0xa7)](this[_0x14d0ba(0xce)],_0x14d0ba(0xf1),()=>{const _0x4b0357=_0x14d0ba;_0x465855[_0x4b0357(0x112)](this[_0x4b0357(0xd1)][_0x4b0357(0x9e)]),this[_0x4b0357(0xa1)]();}),this[_0x14d0ba(0xa7)](this[_0x14d0ba(0xce)],_0x14d0ba(0x137),()=>{const _0x4b601d=_0x14d0ba;_0x465855[_0x4b601d(0x137)](this[_0x4b601d(0xd1)][_0x4b601d(0x9e)]),this[_0x4b601d(0xa1)]();}),this[_0x14d0ba(0x138)]();}[_0x192e37(0x138)](){const _0x2aa4f3=_0x192e37,{locale:_0x6b7e13,ui:{ariaLiveAnnouncer:_0x24fe67}}=this[_0x2aa4f3(0x120)];this[_0x2aa4f3(0xce)][_0x2aa4f3(0x10e)]['on'](_0x2aa4f3(0x90),(_0x43cb08,_0x50af78,_0x3deec1)=>{const _0x389f4b=_0x2aa4f3,_0x21458e=this[_0x389f4b(0xd1)][_0x389f4b(0x9e)];_0x3deec1?_0x24fe67[_0x389f4b(0x8f)](_0x5bf172(_0x6b7e13,_0x389f4b(0x87))):_0x21458e&&_0x24fe67[_0x389f4b(0x8f)](_0x5bf172(_0x6b7e13,_0x389f4b(0xe5),_0x21458e),{'politeness':_0x389f4b(0xb5),'isUnsafeHTML':!0x0});}),this[_0x2aa4f3(0xce)]['on'](_0x2aa4f3(0x113),(_0x22177b,_0xffee97,_0x528036)=>{const _0x5861de=_0x2aa4f3;if(_0x528036){const _0x35cc75=this[_0x5861de(0xce)][_0x5861de(0xfa)][_0x5861de(0xd0)];_0x24fe67[_0x5861de(0x8f)](_0x5bf172(_0x6b7e13,_0x5861de(0xb8),_0x35cc75));}});}[_0x192e37(0xb2)](_0x250a7b){const _0xf5469c=_0x192e37,_0x204c49=this[_0xf5469c(0x110)][_0xf5469c(0xe3)](_0x250a7b),_0x326514=this[_0xf5469c(0x120)],_0x578c33=_0x326514[_0xf5469c(0x104)][_0xf5469c(0xc4)][_0xf5469c(0x10b)],_0x37e91e=_0x326514[_0xf5469c(0xc3)][_0xf5469c(0xe3)](_0xf5469c(0xbb)),_0x47dcca=_0x326514[_0xf5469c(0xa3)][_0xf5469c(0xe3)](_0x388ead),_0x14a3e7=''+(_0x204c49[_0xf5469c(0x100)]!==_0x266f71?_0x204c49[_0xf5469c(0x117)]+':\x20':'')+_0x204c49[_0xf5469c(0x86)];if(!0x1!==_0x204c49[_0xf5469c(0x132)]&&_0x578c33[_0xf5469c(0x102)]){const _0x3e0e6b=_0x415c90(_0x578c33[_0xf5469c(0x131)]())||_0x326514[_0xf5469c(0x104)][_0xf5469c(0xbf)][_0xf5469c(0xe2)](_0x578c33);_0x326514[_0xf5469c(0x104)][_0xf5469c(0x124)](_0x4dda95=>{const _0x23dc51=_0xf5469c;_0x4dda95[_0x23dc51(0xf2)](_0x3e0e6b,'in');});}_0x47dcca[_0xf5469c(0x10d)](),_0x37e91e[_0xf5469c(0xc0)](_0x204c49[_0xf5469c(0x8b)],_0x14a3e7,_0xf5469c(0x106)+_0x250a7b);}[_0x192e37(0x121)](_0x31c4bd,_0x3f8d98,_0x40fdc8,_0x44a2c5){const _0x529f55=_0x192e37,_0x5cff0f=this[_0x529f55(0x120)],_0x5334af=_0x5cff0f[_0x529f55(0xcc)],_0x9b68d1=new _0x2ce3d7(_0x5334af),_0x473939=U(_0x5cff0f,_0x40fdc8)[_0x529f55(0x130)](_0x5e98e3=>_0x5e98e3[_0x529f55(0xc3)][_0x529f55(0x134)]);0x1===_0x473939[_0x529f55(0x134)]?this[_0x529f55(0x111)]({'command':_0x31c4bd,'commands':_0x473939[0x0][_0x529f55(0xc3)],'parentMenuView':_0x3f8d98,'onExecute':_0x44a2c5})[_0x529f55(0x133)](_0x2e63ba=>_0x9b68d1[_0x529f55(0xac)][_0x529f55(0xb9)](_0x2e63ba)):_0x473939[_0x529f55(0x133)](({groupId:_0x32f3b2,groupLabel:_0x4b13ad,commands:_0x13129e})=>{const _0x1c4350=_0x529f55,_0x542b33=new _0x5caaee(_0x5334af,_0x3f8d98),_0x268fd2=new _0x28964d(_0x5334af),_0x5b8246=new _0x2ce3d7(_0x5334af),_0x2619c6=this[_0x1c4350(0x111)]({'command':_0x31c4bd,'commands':_0x13129e,'parentMenuView':_0x268fd2,'onExecute':_0x44a2c5});_0x268fd2[_0x1c4350(0x114)][_0x1c4350(0xd9)]({'label':_0x4b13ad||_0x32f3b2}),_0x268fd2[_0x1c4350(0xb3)](_0x1c4350(0xc0))['to'](_0x3f8d98),_0x5b8246[_0x1c4350(0xac)][_0x1c4350(0xdd)](_0x2619c6),_0x268fd2[_0x1c4350(0xbe)][_0x1c4350(0x95)][_0x1c4350(0xb9)](_0x5b8246),_0x542b33[_0x1c4350(0x95)][_0x1c4350(0xb9)](_0x268fd2),_0x9b68d1[_0x1c4350(0xac)][_0x1c4350(0xb9)](_0x542b33);}),_0x3f8d98[_0x529f55(0xbe)][_0x529f55(0x95)][_0x529f55(0xb9)](_0x9b68d1);}[_0x192e37(0x111)]({command:_0x1567ef,commands:_0x3d903c,parentMenuView:_0x56dd7e,onExecute:_0x12b6bb}){const _0x4afd8e=_0x192e37,_0x67373=this[_0x4afd8e(0x120)],_0x4cc34e=_0x67373[_0x4afd8e(0xcc)];return U(_0x67373,_0x3d903c)[_0x4afd8e(0xcb)](_0x5460b4=>{const _0x387c68=_0x4afd8e,_0x148e6a=new _0x5caaee(_0x4cc34e,_0x56dd7e),_0xfe7cdc=new _0x45c7ed(_0x4cc34e);return _0xfe7cdc[_0x387c68(0xd9)]({'label':_0x5460b4[_0x387c68(0x86)]}),_0xfe7cdc[_0x387c68(0xb3)](_0x387c68(0xc0))['to'](_0x56dd7e),_0xfe7cdc['on'](_0x387c68(0xc0),()=>_0x12b6bb(_0x5460b4['id'])),_0xfe7cdc[_0x387c68(0x118)](_0x387c68(0x103))['to'](_0x1567ef,_0x387c68(0xd8),_0x353bfe=>_0x353bfe[_0x387c68(0x108)](_0x5460b4['id'])),_0x148e6a[_0x387c68(0x95)][_0x387c68(0xb9)](_0xfe7cdc),_0x148e6a;});}}function T(_0x198368,_0x2d5301){const _0x54591d=_0x192e37;return void 0x0!==_0x198368[_0x54591d(0x11e)]&&void 0x0===_0x2d5301[_0x54591d(0x11e)]?0x1:void 0x0===_0x198368[_0x54591d(0x11e)]&&void 0x0!==_0x2d5301[_0x54591d(0x11e)]?-0x1:void 0x0!==_0x198368[_0x54591d(0x11e)]&&void 0x0!==_0x2d5301[_0x54591d(0x11e)]?_0x198368[_0x54591d(0x11e)]-_0x2d5301[_0x54591d(0x11e)]:0x0;}function U(_0x2854d1,_0x5a8c81){const _0x28c467=_0x192e37;_0x5a8c81[_0x28c467(0x107)](T);const _0x5078b6={},_0xa8c554=[];for(const _0xb3fe73 of _0x5a8c81)if(void 0x0!==_0xb3fe73[_0x28c467(0x11e)]){if(_0xb3fe73[_0x28c467(0x11e)]in _0x5078b6)throw new _0x58a088(_0x28c467(0xb7),_0x2854d1,{'conflictingDefinitions':[_0xb3fe73,_0x5078b6[_0xb3fe73[_0x28c467(0x11e)]]]});_0x5078b6[_0xb3fe73[_0x28c467(0x11e)]]=_0xb3fe73,_0xa8c554[_0x28c467(0xca)](_0xb3fe73[_0x28c467(0x11e)],0x0,_0xb3fe73);}else _0xa8c554[_0x28c467(0x88)](_0xb3fe73);return _0xa8c554;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x168e64,_0x2ff58c){var _0x4e80d2=_0x4343,_0x42f799=_0x168e64();while(!![]){try{var _0x46788c=parseInt(_0x4e80d2(0x152))/0x1*(parseInt(_0x4e80d2(0x14f))/0x2)+-parseInt(_0x4e80d2(0x14e))/0x3*(parseInt(_0x4e80d2(0x154))/0x4)+parseInt(_0x4e80d2(0x14b))/0x5*(parseInt(_0x4e80d2(0x150))/0x6)+-parseInt(_0x4e80d2(0x14d))/0x7+-parseInt(_0x4e80d2(0x153))/0x8+-parseInt(_0x4e80d2(0x151))/0x9+parseInt(_0x4e80d2(0x14c))/0xa;if(_0x46788c===_0x2ff58c)break;else _0x42f799['push'](_0x42f799['shift']());}catch(_0x235296){_0x42f799['push'](_0x42f799['shift']());}}}(_0x3021,0xce72f));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';function _0x4343(_0x4b4aed,_0x2e88b4){var _0x302105=_0x3021();return _0x4343=function(_0x43438f,_0x5204ee){_0x43438f=_0x43438f-0x14b;var _0x3aa2d1=_0x302105[_0x43438f];return _0x3aa2d1;},_0x4343(_0x4b4aed,_0x2e88b4);}export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x3021(){var _0x5ab1c6=['6887826YrNgoL','65YJYiqu','954152VhwmqF','1452cuqWjD','1615xauspM','22668650JKmUqA','2142539UWjwzG','9957TEijji','12146jGKQex','10764hVTROe'];_0x3021=function(){return _0x5ab1c6;};return _0x3021();}export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
23
+ (function(_0x3cb949,_0x5ac8af){var _0x300e29=_0x2970,_0x40fb90=_0x3cb949();while(!![]){try{var _0x2a2fff=parseInt(_0x300e29(0x130))/0x1+-parseInt(_0x300e29(0x12d))/0x2+-parseInt(_0x300e29(0x132))/0x3*(-parseInt(_0x300e29(0x12e))/0x4)+-parseInt(_0x300e29(0x127))/0x5*(-parseInt(_0x300e29(0x12a))/0x6)+-parseInt(_0x300e29(0x129))/0x7*(-parseInt(_0x300e29(0x12b))/0x8)+-parseInt(_0x300e29(0x131))/0x9*(-parseInt(_0x300e29(0x128))/0xa)+parseInt(_0x300e29(0x12c))/0xb*(-parseInt(_0x300e29(0x12f))/0xc);if(_0x2a2fff===_0x5ac8af)break;else _0x40fb90['push'](_0x40fb90['shift']());}catch(_0x347a97){_0x40fb90['push'](_0x40fb90['shift']());}}}(_0x316f,0xb6dff));function _0x2970(_0x182dc6,_0xb5f9ac){var _0x316f9b=_0x316f();return _0x2970=function(_0x297056,_0xf23e70){_0x297056=_0x297056-0x127;var _0x188ce7=_0x316f9b[_0x297056];return _0x188ce7;},_0x2970(_0x182dc6,_0xb5f9ac);}export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x316f(){var _0x48aed2=['910asjRaQ','1106KSiPtz','72GBQUPq','43448GHTCtd','9254883bZFCNH','2953782MYkDTP','5154364lHvrVs','48fOniSw','1393487qJcqce','63378wgtCST','3caAoTY','587650kATIsP'];_0x316f=function(){return _0x48aed2;};return _0x316f();}export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1dda3f,_0xbbab5f){var _0x1108c7=_0x5438,_0x36115d=_0x1dda3f();while(!![]){try{var _0x31427d=parseInt(_0x1108c7(0x1c0))/0x1*(-parseInt(_0x1108c7(0x1c2))/0x2)+-parseInt(_0x1108c7(0x1c7))/0x3*(-parseInt(_0x1108c7(0x1c3))/0x4)+-parseInt(_0x1108c7(0x1c1))/0x5*(-parseInt(_0x1108c7(0x1c9))/0x6)+parseInt(_0x1108c7(0x1c5))/0x7+-parseInt(_0x1108c7(0x1c8))/0x8+parseInt(_0x1108c7(0x1c6))/0x9+parseInt(_0x1108c7(0x1c4))/0xa;if(_0x31427d===_0xbbab5f)break;else _0x36115d['push'](_0x36115d['shift']());}catch(_0x3074eb){_0x36115d['push'](_0x36115d['shift']());}}}(_0x14b3,0xf1966));function _0x5438(_0x57f8d9,_0xfe1c){var _0x14b3db=_0x14b3();return _0x5438=function(_0x543822,_0x5a768d){_0x543822=_0x543822-0x1c0;var _0x563e48=_0x14b3db[_0x543822];return _0x563e48;},_0x5438(_0x57f8d9,_0xfe1c);}function _0x14b3(){var _0x4c4e6a=['41096GjcUbK','7651460SGhpvL','455476bUygYd','5505732iKpaoE','75gvCnEF','7791048PErTkT','3556482szUITt','46jidZiP','15sWqLoH','65810mkRERn'];_0x14b3=function(){return _0x4c4e6a;};return _0x14b3();}import{CKEditorError as _0x2c2f1a}from'ckeditor5/src/utils.js';
23
+ function _0x5d7b(){var _0x212f88=['9EyrLZj','1018640GBMbQt','6TWVLmB','88401ckUCZg','3724472kCAyJK','668154RcXrSQ','793401xDlTLI','678445TRyZSH','44408yuxJlW'];_0x5d7b=function(){return _0x212f88;};return _0x5d7b();}function _0x104b(_0x590535,_0x921f79){var _0x5d7b75=_0x5d7b();return _0x104b=function(_0x104b68,_0x3077ab){_0x104b68=_0x104b68-0x12b;var _0x45ce4d=_0x5d7b75[_0x104b68];return _0x45ce4d;},_0x104b(_0x590535,_0x921f79);}(function(_0x77751e,_0x1204c1){var _0x2b0196=_0x104b,_0xa69c13=_0x77751e();while(!![]){try{var _0x488c0f=-parseInt(_0x2b0196(0x12c))/0x1+-parseInt(_0x2b0196(0x131))/0x2+parseInt(_0x2b0196(0x12e))/0x3+parseInt(_0x2b0196(0x133))/0x4+parseInt(_0x2b0196(0x130))/0x5+parseInt(_0x2b0196(0x12b))/0x6*(parseInt(_0x2b0196(0x12f))/0x7)+-parseInt(_0x2b0196(0x12d))/0x8*(parseInt(_0x2b0196(0x132))/0x9);if(_0x488c0f===_0x1204c1)break;else _0xa69c13['push'](_0xa69c13['shift']());}catch(_0x24a4a0){_0xa69c13['push'](_0xa69c13['shift']());}}}(_0x5d7b,0x24ae6));import{CKEditorError as _0x13230f}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fa035=_0x2f67;function _0x17d8(){const _0x1f7c57=['_parseAndNormalizeContent','set:currentContext','63SBYLcL','data','view','processor','name','once','destroy','setContentOf','handleError','exec','previousQuery','prompt','_xmlSerializer','editing','value','startsWith','render','24706385FuTZQg','```html','_sanitizationContainer','isRendered','previousActionId','ai.aiAssistant.preserveComments','editor','childNodes','currentContext','_sanitizeHTML','finally','63aRNTlJ','parseFromString','11750QBqnDo','stopListening','endsWith','finishProcessing','reverse','toModel','ELEMENT_NODE','innerHTML','787770VQsfDF','catch','isProcessing','347565VrbbGN','currentResponse','6057752PcxcLu','from','message','get','898610PksNQW','htmlProcessor','text/html','querySelector','body','tryAgainEvent','domConverter','updateView','createElement','listenTo','258IiRgns','abort','mainAction','_stripMarkdownSyntax','substring','_domParser','then','document','textAdapter','toView','length','nodeType','config','push','1793895tDVdqH','viewToDom','stringify','stopProcessing','submitPrompt','reset','previousContext','rename','markers','previousLabel','div','element','custom','```','makeRequest','<h1></h1>','serializeToString','trim','20mAqUyd','_isH1TagSupportEnabled','startProcessing','_handleQuery','match','remove','initialContext','set','clear','_normalizeResponseHeadings'];_0x17d8=function(){return _0x1f7c57;};return _0x17d8();}(function(_0xf0349a,_0x20694a){const _0x28fd8c=_0x2f67,_0x13c927=_0xf0349a();while(!![]){try{const _0x50ba7a=-parseInt(_0x28fd8c(0x155))/0x1*(-parseInt(_0x28fd8c(0x170))/0x2)+parseInt(_0x28fd8c(0x17e))/0x3+-parseInt(_0x28fd8c(0x190))/0x4*(parseInt(_0x28fd8c(0x160))/0x5)+-parseInt(_0x28fd8c(0x15d))/0x6*(-parseInt(_0x28fd8c(0x153))/0x7)+parseInt(_0x28fd8c(0x162))/0x8+-parseInt(_0x28fd8c(0x19c))/0x9*(parseInt(_0x28fd8c(0x166))/0xa)+-parseInt(_0x28fd8c(0x148))/0xb;if(_0x50ba7a===_0x20694a)break;else _0x13c927['push'](_0x13c927['shift']());}catch(_0x1216fd){_0x13c927['push'](_0x13c927['shift']());}}}(_0x17d8,0xcaa0a));import{ObservableMixin as _0x17d7e7}from'ckeditor5/src/utils.js';function _0x2f67(_0x5303f5,_0x204724){const _0x17d854=_0x17d8();return _0x2f67=function(_0x2f67bc,_0x158c87){_0x2f67bc=_0x2f67bc-0x145;let _0x4e5717=_0x17d854[_0x2f67bc];return _0x4e5717;},_0x2f67(_0x5303f5,_0x204724);}import{AIRequestError as _0x18d32a}from'../adapters/aiadapter.js';import{Matcher as _0x55156c,ViewUpcastWriter as _0x42ff36}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x17d7e7(){[_0x2fa035(0x14e)];[_0x2fa035(0x178)];[_0x2fa035(0x19e)];[_0x2fa035(0x14a)];[_0x2fa035(0x175)];[_0x2fa035(0x1a8)];constructor(_0x15b0ca,_0x213628,_0x211b38){const _0x30d3d4=_0x2fa035;super(),this[_0x30d3d4(0x14e)]=_0x15b0ca,this[_0x30d3d4(0x178)]=_0x213628,this[_0x30d3d4(0x14a)]=document[_0x30d3d4(0x16e)](_0x30d3d4(0x188)),this[_0x30d3d4(0x175)]=new DOMParser(),this[_0x30d3d4(0x1a8)]=new XMLSerializer(),this[_0x30d3d4(0x19e)]=_0x211b38,this[_0x30d3d4(0x197)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30d3d4(0x19b),(_0x48ac34,_0x5adf9b,_0x30229f)=>{const _0x1592a9=_0x30d3d4;this[_0x1592a9(0x19e)][_0x1592a9(0x145)]=this[_0x1592a9(0x151)](_0x30229f);}),this[_0x30d3d4(0x16f)](this[_0x30d3d4(0x19e)],_0x30d3d4(0x182),(_0x1bbe95,_0x2ea55e)=>{const _0x24d0ce=_0x30d3d4,_0x54a662=this[_0x24d0ce(0x150)]||this[_0x24d0ce(0x196)];this[_0x24d0ce(0x193)](_0x2ea55e,_0x54a662,_0x24d0ce(0x18a));}),this[_0x30d3d4(0x16f)](this[_0x30d3d4(0x19e)],_0x30d3d4(0x16b),()=>{const _0x598638=_0x30d3d4;this[_0x598638(0x19e)][_0x598638(0x1a7)]=this[_0x598638(0x187)],this[_0x598638(0x193)](this[_0x598638(0x1a6)],this[_0x598638(0x184)],this[_0x598638(0x14c)],this[_0x598638(0x187)]);}),this[_0x30d3d4(0x16f)](this[_0x30d3d4(0x19e)],_0x30d3d4(0x181),()=>{const _0x4ce253=_0x30d3d4;this[_0x4ce253(0x181)]();});}[_0x2fa035(0x1a2)](){const _0x1335cb=_0x2fa035;this[_0x1335cb(0x156)]();}async[_0x2fa035(0x16d)]({actionId:_0x3d904a,query:_0x210f58,htmlContent:_0x34259c,label:_0x540219,mainActionLabel:_0x1c4309}){const _0x2a8eab=_0x2fa035;this[_0x2a8eab(0x19e)][_0x2a8eab(0x1a7)]=_0x540219,this[_0x2a8eab(0x19e)][_0x2a8eab(0x172)]=_0x1c4309,this[_0x2a8eab(0x196)]=_0x34259c,_0x210f58&&(this[_0x2a8eab(0x19e)][_0x2a8eab(0x14b)]?this[_0x2a8eab(0x193)](_0x210f58,_0x34259c,_0x3d904a,_0x540219):this[_0x2a8eab(0x19e)][_0x2a8eab(0x1a1)](_0x2a8eab(0x147),()=>{const _0x55d82c=_0x2a8eab;this[_0x55d82c(0x193)](_0x210f58,_0x34259c,_0x3d904a,_0x540219);}));}[_0x2fa035(0x181)](){const _0x4c09b2=_0x2fa035;this[_0x4c09b2(0x15f)]&&(this[_0x4c09b2(0x15f)]=!0x1,this[_0x4c09b2(0x19e)][_0x4c09b2(0x158)](),this[_0x4c09b2(0x178)][_0x4c09b2(0x171)]());}[_0x2fa035(0x183)](){const _0xf70087=_0x2fa035;this[_0xf70087(0x196)]='',this[_0xf70087(0x150)]='',this[_0xf70087(0x161)]='',this[_0xf70087(0x184)]='',this[_0xf70087(0x1a6)]='',this[_0xf70087(0x187)]='',this[_0xf70087(0x14c)]=void 0x0,this[_0xf70087(0x19e)][_0xf70087(0x183)](),this[_0xf70087(0x181)]();}async[_0x2fa035(0x193)](_0x3eb4df,_0xc3d29b,_0x334695,_0xce9225){const _0x4450fd=_0x2fa035;return this[_0x4450fd(0x15f)]=!0x0,this[_0x4450fd(0x19e)][_0x4450fd(0x192)](),this[_0x4450fd(0x184)]=_0xc3d29b,this[_0x4450fd(0x1a6)]=_0x3eb4df,this[_0x4450fd(0x187)]=_0xce9225||_0x3eb4df,this[_0x4450fd(0x14c)]=_0x334695,new Promise(_0x349edb=>{const _0x95158d=_0x4450fd;this[_0x95158d(0x178)][_0x95158d(0x18c)]({'query':_0x3eb4df,'context':_0xc3d29b,'onData':_0x2485ad=>{const _0x3d5699=_0x95158d;this[_0x3d5699(0x161)]=_0x2485ad,this[_0x3d5699(0x150)]=this[_0x3d5699(0x19a)](this[_0x3d5699(0x161)]);},'actionId':_0x334695})[_0x95158d(0x176)](()=>{const _0x2fa009=_0x95158d;!this[_0x2fa009(0x150)]&&this[_0x2fa009(0x161)]&&(this[_0x2fa009(0x150)]=this[_0x2fa009(0x19a)](this[_0x2fa009(0x161)],!0x0));})[_0x95158d(0x15e)](_0x4a0fab=>{const _0x166bee=_0x95158d;_0x4a0fab instanceof _0x18d32a?this[_0x166bee(0x19e)][_0x166bee(0x1a4)](_0x4a0fab[_0x166bee(0x164)]):this[_0x166bee(0x19e)][_0x166bee(0x1a4)](),_0x349edb();})[_0x95158d(0x152)](()=>{const _0x1b62fc=_0x95158d;this[_0x1b62fc(0x181)](),_0x349edb();});});}[_0x2fa035(0x19a)](_0x210751,_0x583e83=!0x1){const _0x509243=_0x2fa035,_0x3bf8ad=Q[_0x509243(0x1a5)](_0x210751);_0x210751=_0x3bf8ad?_0x210751[_0x509243(0x174)](_0x3bf8ad[0x1][_0x509243(0x17a)]):_0x210751[_0x509243(0x17a)]<0x64&&!_0x583e83?'':this[_0x509243(0x173)](_0x210751);const _0x114e78=this[_0x509243(0x175)][_0x509243(0x154)](_0x210751,_0x509243(0x168));if(_0x3bf8ad){const _0x21ac79=Array[_0x509243(0x163)](_0x114e78[_0x509243(0x16a)][_0x509243(0x14f)]);_0x21ac79[_0x509243(0x159)]();for(const _0xebfce6 of _0x21ac79){if(_0xebfce6[_0x509243(0x17b)]==Node[_0x509243(0x15b)])break;_0xebfce6[_0x509243(0x195)]();}}const _0x2f6f93=this[_0x509243(0x14e)][_0x509243(0x19d)][_0x509243(0x19f)][_0x509243(0x179)](this[_0x509243(0x1a8)][_0x509243(0x18e)](_0x114e78[_0x509243(0x16a)]));this[_0x509243(0x191)]()||this[_0x509243(0x199)](_0x2f6f93);const _0x13be38=this[_0x509243(0x14e)][_0x509243(0x17c)][_0x509243(0x165)](_0x509243(0x14d)),_0x392513=this[_0x509243(0x14e)][_0x509243(0x19d)][_0x509243(0x15a)](_0x2f6f93);return _0x13be38||_0x392513[_0x509243(0x186)][_0x509243(0x198)](),this[_0x509243(0x14e)][_0x509243(0x19d)][_0x509243(0x180)](_0x392513);}[_0x2fa035(0x199)](_0x59c4e2){const _0x3bcf0a=_0x2fa035,_0xb47385=new _0x42ff36(this[_0x3bcf0a(0x14e)][_0x3bcf0a(0x1a9)][_0x3bcf0a(0x19e)][_0x3bcf0a(0x177)]),_0x857b3a=new _0x55156c({'name':/^h[1-5]$/}),_0x932cdb=[];let _0x50326a=!0x1;for(const _0x1adb50 of _0x59c4e2)_0x1adb50['is'](_0x3bcf0a(0x189))&&_0x857b3a[_0x3bcf0a(0x194)](_0x1adb50)&&(_0x932cdb[_0x3bcf0a(0x17d)](_0x1adb50),'h1'==_0x1adb50[_0x3bcf0a(0x1a0)]&&(_0x50326a=!0x0));if(_0x50326a){for(const _0x2c1650 of _0x932cdb)_0xb47385[_0x3bcf0a(0x185)]('h'+(parseInt(_0x2c1650[_0x3bcf0a(0x1a0)][0x1])+0x1),_0x2c1650);}}[_0x2fa035(0x191)](){const _0x2bb398=_0x2fa035,{data:_0x20a262,editing:_0xd90e4f}=this[_0x2bb398(0x14e)],_0x298612=_0x20a262[_0x2bb398(0x167)][_0x2bb398(0x179)](_0x2bb398(0x18d)),_0x4e4892=_0x20a262[_0x2bb398(0x179)](_0x20a262[_0x2bb398(0x15a)](_0x298612));return!!_0xd90e4f[_0x2bb398(0x19e)][_0x2bb398(0x16c)][_0x2bb398(0x17f)](_0x4e4892)[_0x2bb398(0x169)]('h1');}[_0x2fa035(0x151)](_0x3922e2){const _0x5e263b=_0x2fa035;return this[_0x5e263b(0x14e)][_0x5e263b(0x1a9)][_0x5e263b(0x19e)][_0x5e263b(0x16c)][_0x5e263b(0x1a3)](this[_0x5e263b(0x14a)],_0x3922e2),this[_0x5e263b(0x14a)][_0x5e263b(0x15c)];}[_0x2fa035(0x173)](_0x230a14){const _0x39cff7=_0x2fa035,_0x5545df=_0x230a14[_0x39cff7(0x18f)]();return _0x5545df[_0x39cff7(0x146)](_0x39cff7(0x149))?_0x5545df[_0x39cff7(0x157)](_0x39cff7(0x18b))?_0x5545df[_0x39cff7(0x174)](0x7,_0x5545df[_0x39cff7(0x17a)]-0x3):_0x5545df[_0x39cff7(0x174)](0x7):_0x230a14;}}
23
+ const _0x2825e4=_0x5795;(function(_0x2c65d7,_0x2c903f){const _0x261ff0=_0x5795,_0x1144d7=_0x2c65d7();while(!![]){try{const _0x3b66e2=-parseInt(_0x261ff0(0x1af))/0x1*(parseInt(_0x261ff0(0x1ab))/0x2)+-parseInt(_0x261ff0(0x1a4))/0x3*(parseInt(_0x261ff0(0x197))/0x4)+-parseInt(_0x261ff0(0x17c))/0x5+-parseInt(_0x261ff0(0x1c3))/0x6+parseInt(_0x261ff0(0x1a2))/0x7+-parseInt(_0x261ff0(0x1a0))/0x8*(parseInt(_0x261ff0(0x1ce))/0x9)+parseInt(_0x261ff0(0x1d9))/0xa;if(_0x3b66e2===_0x2c903f)break;else _0x1144d7['push'](_0x1144d7['shift']());}catch(_0x4cd45d){_0x1144d7['push'](_0x1144d7['shift']());}}}(_0x4a90,0xd6522));import{ObservableMixin as _0x407755}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1c4fde}from'../adapters/aiadapter.js';import{Matcher as _0x4fd54d,ViewUpcastWriter as _0x22991f}from'ckeditor5/src/engine.js';function _0x5795(_0x1db414,_0x214d11){const _0x4a9016=_0x4a90();return _0x5795=function(_0x5795db,_0x2d285a){_0x5795db=_0x5795db-0x176;let _0x38d6b5=_0x4a9016[_0x5795db];return _0x38d6b5;},_0x5795(_0x1db414,_0x214d11);}function _0x4a90(){const _0x15dca0=['1406454TfZdVK','get','custom','stringify','markers','previousContext','div','value','previousQuery','mainAction','startsWith','659106IgPVwp','createElement','view','data','length','serializeToString','isRendered','```html','editor','toView','parseFromString','42055750QPvXeF','previousActionId','text/html','initialContext','domConverter','rename','reset','4008195ZDrJsq','_normalizeResponseHeadings','editing','push','finishProcessing','from','name','_sanitizeHTML','message','handleError','viewToDom','previousLabel','submitPrompt','once','startProcessing','_sanitizationContainer','config','_domParser','render','stopListening','listenTo','processor','_stripMarkdownSyntax','catch','childNodes','set:currentContext','isProcessing','6796sFGGHX','remove','exec','finally','body','element','setContentOf','nodeType','_handleQuery','64kZWkeu','<h1></h1>','3370563ZZDgnS','trim','921gPgUOh','destroy','toModel','updateView','_isH1TagSupportEnabled','document','tryAgainEvent','14oGcIWt','currentResponse','querySelector','ELEMENT_NODE','237959SEeNyp','_xmlSerializer','```','clear','textAdapter','then','htmlProcessor','reverse','_parseAndNormalizeContent','substring','set','abort','endsWith','makeRequest','ai.aiAssistant.preserveComments','stopProcessing','prompt','currentContext','match','innerHTML'];_0x4a90=function(){return _0x15dca0;};return _0x4a90();}const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x407755(){[_0x2825e4(0x1d6)];[_0x2825e4(0x1b3)];[_0x2825e4(0x1d0)];[_0x2825e4(0x18b)];[_0x2825e4(0x18d)];[_0x2825e4(0x1b0)];constructor(_0xe3c3d8,_0x379e4e,_0x3c3480){const _0x30822a=_0x2825e4;super(),this[_0x30822a(0x1d6)]=_0xe3c3d8,this[_0x30822a(0x1b3)]=_0x379e4e,this[_0x30822a(0x18b)]=document[_0x30822a(0x1cf)](_0x30822a(0x1c9)),this[_0x30822a(0x18d)]=new DOMParser(),this[_0x30822a(0x1b0)]=new XMLSerializer(),this[_0x30822a(0x1d0)]=_0x3c3480,this[_0x30822a(0x1b9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30822a(0x195),(_0x2507d1,_0x49b7ac,_0xe67704)=>{const _0x278168=_0x30822a;this[_0x278168(0x1d0)][_0x278168(0x1ca)]=this[_0x278168(0x183)](_0xe67704);}),this[_0x30822a(0x190)](this[_0x30822a(0x1d0)],_0x30822a(0x188),(_0x286fef,_0x5d202c)=>{const _0x3d19aa=_0x30822a,_0x5176e9=this[_0x3d19aa(0x1c0)]||this[_0x3d19aa(0x178)];this[_0x3d19aa(0x19f)](_0x5d202c,_0x5176e9,_0x3d19aa(0x1c5));}),this[_0x30822a(0x190)](this[_0x30822a(0x1d0)],_0x30822a(0x1aa),()=>{const _0x440248=_0x30822a;this[_0x440248(0x1d0)][_0x440248(0x1bf)]=this[_0x440248(0x187)],this[_0x440248(0x19f)](this[_0x440248(0x1cb)],this[_0x440248(0x1c8)],this[_0x440248(0x176)],this[_0x440248(0x187)]);}),this[_0x30822a(0x190)](this[_0x30822a(0x1d0)],_0x30822a(0x1be),()=>{const _0x14eb5b=_0x30822a;this[_0x14eb5b(0x1be)]();});}[_0x2825e4(0x1a5)](){const _0x424afa=_0x2825e4;this[_0x424afa(0x18f)]();}async[_0x2825e4(0x1a7)]({actionId:_0x313b4c,query:_0x1d622d,htmlContent:_0x11394a,label:_0xb2c7b9,mainActionLabel:_0x2f2710}){const _0x4bf474=_0x2825e4;this[_0x4bf474(0x1d0)][_0x4bf474(0x1bf)]=_0xb2c7b9,this[_0x4bf474(0x1d0)][_0x4bf474(0x1cc)]=_0x2f2710,this[_0x4bf474(0x178)]=_0x11394a,_0x1d622d&&(this[_0x4bf474(0x1d0)][_0x4bf474(0x1d4)]?this[_0x4bf474(0x19f)](_0x1d622d,_0x11394a,_0x313b4c,_0xb2c7b9):this[_0x4bf474(0x1d0)][_0x4bf474(0x189)](_0x4bf474(0x18e),()=>{const _0xf762cd=_0x4bf474;this[_0xf762cd(0x19f)](_0x1d622d,_0x11394a,_0x313b4c,_0xb2c7b9);}));}[_0x2825e4(0x1be)](){const _0x1f05a1=_0x2825e4;this[_0x1f05a1(0x196)]&&(this[_0x1f05a1(0x196)]=!0x1,this[_0x1f05a1(0x1d0)][_0x1f05a1(0x180)](),this[_0x1f05a1(0x1b3)][_0x1f05a1(0x1ba)]());}[_0x2825e4(0x17b)](){const _0x2f0f75=_0x2825e4;this[_0x2f0f75(0x178)]='',this[_0x2f0f75(0x1c0)]='',this[_0x2f0f75(0x1ac)]='',this[_0x2f0f75(0x1c8)]='',this[_0x2f0f75(0x1cb)]='',this[_0x2f0f75(0x187)]='',this[_0x2f0f75(0x176)]=void 0x0,this[_0x2f0f75(0x1d0)][_0x2f0f75(0x17b)](),this[_0x2f0f75(0x1be)]();}async[_0x2825e4(0x19f)](_0x540bd2,_0x38a31b,_0x5dad8a,_0x22cbde){const _0x5c0bd5=_0x2825e4;return this[_0x5c0bd5(0x196)]=!0x0,this[_0x5c0bd5(0x1d0)][_0x5c0bd5(0x18a)](),this[_0x5c0bd5(0x1c8)]=_0x38a31b,this[_0x5c0bd5(0x1cb)]=_0x540bd2,this[_0x5c0bd5(0x187)]=_0x22cbde||_0x540bd2,this[_0x5c0bd5(0x176)]=_0x5dad8a,new Promise(_0x2d3d3b=>{const _0x3fd146=_0x5c0bd5;this[_0x3fd146(0x1b3)][_0x3fd146(0x1bc)]({'query':_0x540bd2,'context':_0x38a31b,'onData':_0x4db5c8=>{const _0x26efd4=_0x3fd146;this[_0x26efd4(0x1ac)]=_0x4db5c8,this[_0x26efd4(0x1c0)]=this[_0x26efd4(0x1b7)](this[_0x26efd4(0x1ac)]);},'actionId':_0x5dad8a})[_0x3fd146(0x1b4)](()=>{const _0x54f4b8=_0x3fd146;!this[_0x54f4b8(0x1c0)]&&this[_0x54f4b8(0x1ac)]&&(this[_0x54f4b8(0x1c0)]=this[_0x54f4b8(0x1b7)](this[_0x54f4b8(0x1ac)],!0x0));})[_0x3fd146(0x193)](_0x2efdc3=>{const _0x2b02ab=_0x3fd146;_0x2efdc3 instanceof _0x1c4fde?this[_0x2b02ab(0x1d0)][_0x2b02ab(0x185)](_0x2efdc3[_0x2b02ab(0x184)]):this[_0x2b02ab(0x1d0)][_0x2b02ab(0x185)](),_0x2d3d3b();})[_0x3fd146(0x19a)](()=>{const _0xd2872f=_0x3fd146;this[_0xd2872f(0x1be)](),_0x2d3d3b();});});}[_0x2825e4(0x1b7)](_0xc36955,_0x3407dc=!0x1){const _0x143ed1=_0x2825e4,_0x38a850=Q[_0x143ed1(0x199)](_0xc36955);_0xc36955=_0x38a850?_0xc36955[_0x143ed1(0x1b8)](_0x38a850[0x1][_0x143ed1(0x1d2)]):_0xc36955[_0x143ed1(0x1d2)]<0x64&&!_0x3407dc?'':this[_0x143ed1(0x192)](_0xc36955);const _0x398bd7=this[_0x143ed1(0x18d)][_0x143ed1(0x1d8)](_0xc36955,_0x143ed1(0x177));if(_0x38a850){const _0x4c90f3=Array[_0x143ed1(0x181)](_0x398bd7[_0x143ed1(0x19b)][_0x143ed1(0x194)]);_0x4c90f3[_0x143ed1(0x1b6)]();for(const _0x24721c of _0x4c90f3){if(_0x24721c[_0x143ed1(0x19e)]==Node[_0x143ed1(0x1ae)])break;_0x24721c[_0x143ed1(0x198)]();}}const _0x1a317a=this[_0x143ed1(0x1d6)][_0x143ed1(0x1d1)][_0x143ed1(0x191)][_0x143ed1(0x1d7)](this[_0x143ed1(0x1b0)][_0x143ed1(0x1d3)](_0x398bd7[_0x143ed1(0x19b)]));this[_0x143ed1(0x1a8)]()||this[_0x143ed1(0x17d)](_0x1a317a);const _0x4cc051=this[_0x143ed1(0x1d6)][_0x143ed1(0x18c)][_0x143ed1(0x1c4)](_0x143ed1(0x1bd)),_0x3d23fb=this[_0x143ed1(0x1d6)][_0x143ed1(0x1d1)][_0x143ed1(0x1a6)](_0x1a317a);return _0x4cc051||_0x3d23fb[_0x143ed1(0x1c7)][_0x143ed1(0x1b2)](),this[_0x143ed1(0x1d6)][_0x143ed1(0x1d1)][_0x143ed1(0x1c6)](_0x3d23fb);}[_0x2825e4(0x17d)](_0x1a271e){const _0x4fa055=_0x2825e4,_0x151670=new _0x22991f(this[_0x4fa055(0x1d6)][_0x4fa055(0x17e)][_0x4fa055(0x1d0)][_0x4fa055(0x1a9)]),_0x208905=new _0x4fd54d({'name':/^h[1-5]$/}),_0x141d65=[];let _0x2c9ce5=!0x1;for(const _0x33f560 of _0x1a271e)_0x33f560['is'](_0x4fa055(0x19c))&&_0x208905[_0x4fa055(0x1c1)](_0x33f560)&&(_0x141d65[_0x4fa055(0x17f)](_0x33f560),'h1'==_0x33f560[_0x4fa055(0x182)]&&(_0x2c9ce5=!0x0));if(_0x2c9ce5){for(const _0x555b06 of _0x141d65)_0x151670[_0x4fa055(0x17a)]('h'+(parseInt(_0x555b06[_0x4fa055(0x182)][0x1])+0x1),_0x555b06);}}[_0x2825e4(0x1a8)](){const _0x6b0f0f=_0x2825e4,{data:_0x18f060,editing:_0x1b99d5}=this[_0x6b0f0f(0x1d6)],_0x36e47=_0x18f060[_0x6b0f0f(0x1b5)][_0x6b0f0f(0x1d7)](_0x6b0f0f(0x1a1)),_0x356912=_0x18f060[_0x6b0f0f(0x1d7)](_0x18f060[_0x6b0f0f(0x1a6)](_0x36e47));return!!_0x1b99d5[_0x6b0f0f(0x1d0)][_0x6b0f0f(0x179)][_0x6b0f0f(0x186)](_0x356912)[_0x6b0f0f(0x1ad)]('h1');}[_0x2825e4(0x183)](_0x26a2bb){const _0x1d0b95=_0x2825e4;return this[_0x1d0b95(0x1d6)][_0x1d0b95(0x17e)][_0x1d0b95(0x1d0)][_0x1d0b95(0x179)][_0x1d0b95(0x19d)](this[_0x1d0b95(0x18b)],_0x26a2bb),this[_0x1d0b95(0x18b)][_0x1d0b95(0x1c2)];}[_0x2825e4(0x192)](_0x63fe5e){const _0x5a033c=_0x2825e4,_0x36c221=_0x63fe5e[_0x5a033c(0x1a3)]();return _0x36c221[_0x5a033c(0x1cd)](_0x5a033c(0x1d5))?_0x36c221[_0x5a033c(0x1bb)](_0x5a033c(0x1b1))?_0x36c221[_0x5a033c(0x1b8)](0x7,_0x36c221[_0x5a033c(0x1d2)]-0x3):_0x36c221[_0x5a033c(0x1b8)](0x7):_0x63fe5e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44c507=_0xdaa1;(function(_0x2879c4,_0x206abe){const _0x296020=_0xdaa1,_0x15185e=_0x2879c4();while(!![]){try{const _0x2c8099=parseInt(_0x296020(0x137))/0x1*(-parseInt(_0x296020(0x12e))/0x2)+parseInt(_0x296020(0x147))/0x3*(-parseInt(_0x296020(0x10c))/0x4)+-parseInt(_0x296020(0x102))/0x5*(parseInt(_0x296020(0x14e))/0x6)+parseInt(_0x296020(0x131))/0x7*(-parseInt(_0x296020(0x156))/0x8)+-parseInt(_0x296020(0x14b))/0x9+parseInt(_0x296020(0x11f))/0xa*(parseInt(_0x296020(0x14f))/0xb)+parseInt(_0x296020(0x149))/0xc;if(_0x2c8099===_0x206abe)break;else _0x15185e['push'](_0x15185e['shift']());}catch(_0x5d3454){_0x15185e['push'](_0x15185e['shift']());}}}(_0x1050,0x7e73a));import{global as _0x4d7b7a}from'ckeditor5/src/utils.js';import{View as _0x30c445,ButtonView as _0x55bf54,SpinnerView as _0x178f5f}from'ckeditor5/src/ui.js';function _0xdaa1(_0x212dd5,_0x48e02a){const _0x1050d8=_0x1050();return _0xdaa1=function(_0xdaa18e,_0x287a7d){_0xdaa18e=_0xdaa18e-0x101;let _0x234869=_0x1050d8[_0xdaa18e];return _0x234869;},_0xdaa1(_0x212dd5,_0x48e02a);}import{IconCheck as _0x124a19,IconCopy as _0x5bbe85}from'ckeditor5/src/icons.js';import{getTranslation as _0x518f5b}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x30c445{[_0x44c507(0x106)];[_0x44c507(0x10a)];constructor(_0x1c9187,_0x37c797=''){const _0x42a37a=_0x44c507;super(_0x1c9187),this[_0x42a37a(0x110)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x54d81a=this[_0x42a37a(0x11d)];this[_0x42a37a(0x106)]=new ContentFieldView(_0x1c9187,_0x37c797),this[_0x42a37a(0x10a)]=this[_0x42a37a(0x157)](),this[_0x42a37a(0x10b)]({'tag':_0x42a37a(0x114),'attributes':{'class':['ck',_0x42a37a(0x111),_0x54d81a['if'](_0x42a37a(0x11c),_0x42a37a(0x139),_0x31901f=>!_0x31901f)],'tabindex':'-1'},'children':[{'tag':_0x42a37a(0x114),'attributes':{'class':['ck',_0x42a37a(0x13c),_0x54d81a['if'](_0x42a37a(0x105),_0x42a37a(0x13a))]},'children':[this[_0x42a37a(0x106)],{'tag':_0x42a37a(0x114),'attributes':{'class':['ck',_0x42a37a(0x12a)]},'children':[this[_0x42a37a(0x10a)]]}]}]});}[_0x44c507(0x152)](){const _0xe3c102=_0x44c507;super[_0xe3c102(0x152)](),this[_0xe3c102(0x14d)]&&this[_0xe3c102(0x106)][_0xe3c102(0x150)](this[_0xe3c102(0x14d)]);let _0x511b8d=!0x1;this['on'](_0xe3c102(0x144),(_0x12e9eb,_0x3d95ce,_0x5bb318)=>{const _0x337549=_0xe3c102,_0x1683cb=!this[_0x337549(0x106)][_0x337549(0x115)][_0x337549(0x132)](_0x337549(0x12c));this[_0x337549(0x106)][_0x337549(0x150)](_0x5bb318),this[_0x337549(0x105)]&&_0x1683cb&&!_0x511b8d&&this[_0x337549(0x115)][_0x337549(0x122)]({'top':this[_0x337549(0x115)][_0x337549(0x12b)],'behavior':_0x337549(0x146)});}),this['on'](_0xe3c102(0x138),(_0x631748,_0x397be3,_0x295341)=>{const _0x32a76a=_0xe3c102;_0x511b8d=!0x1,_0x295341?(this[_0x32a76a(0x14d)]=null,this[_0x32a76a(0x106)][_0x32a76a(0x112)]()):this[_0x32a76a(0x14d)]||this[_0x32a76a(0x106)][_0x32a76a(0x150)]('');}),this[_0xe3c102(0x108)](this[_0xe3c102(0x115)],_0xe3c102(0x140),()=>{_0x511b8d=!0x0;}),this[_0xe3c102(0x108)](this[_0xe3c102(0x115)],_0xe3c102(0x10e),()=>{_0x511b8d=!0x0;});}[_0x44c507(0x134)](){const _0x42d387=_0x44c507;this[_0x42d387(0x115)][_0x42d387(0x134)]();}[_0x44c507(0x157)](){const _0x526a8f=_0x44c507,_0x5c98d2=this[_0x526a8f(0x13f)],_0x1e8f62=new _0x55bf54(this[_0x526a8f(0x13f)]),_0x54eca6=_0x526a8f(0x101);return _0x1e8f62[_0x526a8f(0x110)]({'label':_0x518f5b(_0x5c98d2,_0x526a8f(0x128)),'icon':_0x5bbe85,'class':_0x54eca6,'tooltip':!0x0}),_0x1e8f62[_0x526a8f(0x129)](_0x526a8f(0x11c))['to'](this,_0x526a8f(0x14d),_0xb79240=>!!_0xb79240),_0x1e8f62[_0x526a8f(0x129)](_0x526a8f(0x154))['to'](this,_0x526a8f(0x105),_0x1be901=>!_0x1be901),_0x1e8f62['on'](_0x526a8f(0x13b),()=>{const _0x564362=_0x526a8f;this[_0x564362(0x10d)](this[_0x564362(0x106)][_0x564362(0x115)]),_0x1e8f62[_0x564362(0x103)]=_0x124a19,_0x1e8f62[_0x564362(0x130)]=_0x54eca6+_0x564362(0x151),this[_0x564362(0x134)](),setTimeout(()=>{const _0xf64061=_0x564362;_0x1e8f62[_0xf64061(0x103)]=_0x5bbe85,_0x1e8f62[_0xf64061(0x130)]=_0x54eca6;},0x3e8);}),_0x1e8f62;}[_0x44c507(0x10d)](_0x5717bb){const _0x17cd57=_0x44c507,{window:_0xdb9c4d,document:_0x1b0801}=_0x4d7b7a;if(_0xdb9c4d[_0x17cd57(0x119)]){const {Blob:_0x1977bc,ClipboardItem:_0x49947f}=_0xdb9c4d,_0x16428b=[new _0x49947f({'text/html':new _0x1977bc([_0x5717bb[_0x17cd57(0x116)]],{'type':_0x17cd57(0x107)}),'text/plain':new _0x1977bc([_0x5717bb[_0x17cd57(0x142)]||''],{'type':_0x17cd57(0x133)})})];navigator[_0x17cd57(0x11e)][_0x17cd57(0x136)](_0x16428b);}else{const _0x2a7ebd=_0x1b0801[_0x17cd57(0x135)](_0x17cd57(0x114));_0x2a7ebd[_0x17cd57(0x14a)][_0x17cd57(0x145)]=_0x17cd57(0x113),_0x2a7ebd[_0x17cd57(0x14a)][_0x17cd57(0x13e)]=_0x17cd57(0x14c),_0x2a7ebd[_0x17cd57(0x116)]=_0x17cd57(0x10f)+_0x5717bb[_0x17cd57(0x116)]+_0x17cd57(0x11a),_0x1b0801[_0x17cd57(0x12d)][_0x17cd57(0x124)](_0x2a7ebd);const _0x196a81=_0x1b0801[_0x17cd57(0x126)]();_0x196a81[_0x17cd57(0x155)](_0x2a7ebd[_0x17cd57(0x127)]),_0x196a81[_0x17cd57(0x117)](_0x2a7ebd[_0x17cd57(0x153)]);const _0x3ae123=_0xdb9c4d[_0x17cd57(0x118)]();_0x3ae123[_0x17cd57(0x141)](),_0x3ae123[_0x17cd57(0x12f)](_0x196a81),_0x1b0801[_0x17cd57(0x11b)](_0x17cd57(0x109)),_0x2a7ebd[_0x17cd57(0x104)]();}}}function _0x1050(){const _0x27a851=['listenTo','copy','copyButtonView','setTemplate','1286876xjkjMQ','_copyHTMLToClipboard','mousedown','<span>[</span>','set','ck-ai-form__content-area-wrapper','appendLoader','absolute','div','element','innerHTML','setEndBefore','getSelection','ClipboardItem','<span>]</span>','execCommand','isVisible','bindTemplate','clipboard','7744260GxndTq','ck-ai-form__loader','ck-ai-form__content-field','scrollTo','AI\x20is\x20writing...','appendChild','loaderView','createRange','firstElementChild','Copy','bind','ck-ai-form__copy-button-wrapper','scrollHeight','.ck-ai-form__loader','body','2csHtvJ','addRange','class','3556fmtRKO','querySelector','text/plain','focus','createElement','write','41507XXShLq','change:isProcessing','ck-hidden','ck-ai-form__content-area--processing','execute','ck-ai-form__content-area','ck-reset_all-excluded','left','locale','wheel','removeAllRanges','textContent','ck-content','change:value','position','smooth','3jbToBM','_createLoader','8096976qiykue','style','1787778IdBFKL','-9999px','value','852IzgKir','11IZZXck','setContent','\x20ck-ai-form__copy-button--copied','render','lastElementChild','isEnabled','setStartAfter','2440gHnBCZ','_createCopyButton','ck-ai-form__copy-button','7550agMNqT','icon','remove','isProcessing','contentFieldView','text/html'];_0x1050=function(){return _0x27a851;};return _0x1050();}export class ContentFieldView extends _0x30c445{constructor(_0x4a47a4,_0x446af2=''){const _0x4781c1=_0x44c507;super(_0x4a47a4),this[_0x4781c1(0x125)]=this[_0x4781c1(0x148)](),this[_0x4781c1(0x10b)]({'tag':_0x4781c1(0x114),'attributes':{'class':['ck',_0x4781c1(0x143),_0x446af2,_0x4781c1(0x13d),_0x4781c1(0x121)]}});}[_0x44c507(0x150)](_0x22d4dd){const _0x20a82e=_0x44c507;this[_0x20a82e(0x115)][_0x20a82e(0x116)]=_0x22d4dd;}[_0x44c507(0x112)](){const _0x4e3867=_0x44c507;this[_0x4e3867(0x115)][_0x4e3867(0x124)](this[_0x4e3867(0x125)][_0x4e3867(0x115)]);}[_0x44c507(0x148)](){const _0x36be76=_0x44c507,_0x541bad=new _0x30c445(),_0x411f55=this[_0x36be76(0x13f)],_0x589e0e=new _0x178f5f();return _0x589e0e[_0x36be76(0x11c)]=!0x0,_0x541bad[_0x36be76(0x10b)]({'tag':_0x36be76(0x114),'attributes':{'class':['ck',_0x36be76(0x120)]},'children':[_0x589e0e,{'text':_0x518f5b(_0x411f55,_0x36be76(0x123))}]}),_0x541bad[_0x36be76(0x152)](),_0x541bad;}}
23
+ const _0x5571d8=_0x4eab;(function(_0x4ff4fa,_0x3254bd){const _0xf104da=_0x4eab,_0x4c6d30=_0x4ff4fa();while(!![]){try{const _0x455634=parseInt(_0xf104da(0x10b))/0x1*(-parseInt(_0xf104da(0x102))/0x2)+parseInt(_0xf104da(0xd3))/0x3*(parseInt(_0xf104da(0xed))/0x4)+-parseInt(_0xf104da(0xda))/0x5*(-parseInt(_0xf104da(0xf7))/0x6)+-parseInt(_0xf104da(0xde))/0x7*(parseInt(_0xf104da(0xfb))/0x8)+-parseInt(_0xf104da(0xfa))/0x9*(parseInt(_0xf104da(0xcf))/0xa)+parseInt(_0xf104da(0xf5))/0xb*(parseInt(_0xf104da(0x11b))/0xc)+parseInt(_0xf104da(0x115))/0xd;if(_0x455634===_0x3254bd)break;else _0x4c6d30['push'](_0x4c6d30['shift']());}catch(_0x38c6ea){_0x4c6d30['push'](_0x4c6d30['shift']());}}}(_0x19f0,0x36a44));import{global as _0x389473}from'ckeditor5/src/utils.js';import{View as _0x5c8957,ButtonView as _0x5a4a45,SpinnerView as _0xe57484}from'ckeditor5/src/ui.js';import{IconCheck as _0x22bfd8,IconCopy as _0x3718f3}from'ckeditor5/src/icons.js';function _0x19f0(){const _0x164b05=['text/plain','style','getSelection','33298ETjJDR','position','clipboard','isVisible','-9999px','execute','createRange','execCommand','ck-ai-form__copy-button-wrapper','smooth','7304479UgjgbJ','write','mousedown','bindTemplate','scrollTo','setEndBefore','24yRHNFl','ck-content','change:value','addRange','contentFieldView','locale','icon','appendLoader','remove','copy','wheel','body','301360fxwVqJ','createElement','\x20ck-ai-form__copy-button--copied','bind','31317QzQcvl','left','firstElementChild','lastElementChild','.ck-ai-form__loader','<span>]</span>','isProcessing','26665LQcrID','ck-ai-form__content-area--processing','ClipboardItem','Copy','28jfNlwR','ck-ai-form__content-area-wrapper','ck-ai-form__content-field','focus','change:isProcessing','textContent','copyButtonView','innerHTML','ck-ai-form__copy-button','loaderView','listenTo','setTemplate','ck-ai-form__content-area','text/html','absolute','32PKAwBm','setStartAfter','AI\x20is\x20writing...','scrollHeight','set','div','_copyHTMLToClipboard','ck-hidden','1978405fxbJeT','setContent','222IrQKjy','removeAllRanges','ck-reset_all-excluded','72xOhAoL','742496xSrMIl','appendChild','ck-ai-form__loader','isEnabled','_createCopyButton','class','_createLoader','22pShKjy','render','element','querySelector','<span>[</span>','value'];_0x19f0=function(){return _0x164b05;};return _0x19f0();}import{getTranslation as _0xc3ca6d}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x5c8957{[_0x5571d8(0xc7)];[_0x5571d8(0xe4)];constructor(_0x3c49ca,_0x3cce25=''){const _0x416531=_0x5571d8;super(_0x3c49ca),this[_0x416531(0xf1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4f2164=this[_0x416531(0x118)];this[_0x416531(0xc7)]=new ContentFieldView(_0x3c49ca,_0x3cce25),this[_0x416531(0xe4)]=this[_0x416531(0xff)](),this[_0x416531(0xe9)]({'tag':_0x416531(0xf2),'attributes':{'class':['ck',_0x416531(0xdf),_0x4f2164['if'](_0x416531(0x10e),_0x416531(0xf4),_0x5027ae=>!_0x5027ae)],'tabindex':'-1'},'children':[{'tag':_0x416531(0xf2),'attributes':{'class':['ck',_0x416531(0xea),_0x4f2164['if'](_0x416531(0xd9),_0x416531(0xdb))]},'children':[this[_0x416531(0xc7)],{'tag':_0x416531(0xf2),'attributes':{'class':['ck',_0x416531(0x113)]},'children':[this[_0x416531(0xe4)]]}]}]});}[_0x5571d8(0x103)](){const _0x9a1c1e=_0x5571d8;super[_0x9a1c1e(0x103)](),this[_0x9a1c1e(0x107)]&&this[_0x9a1c1e(0xc7)][_0x9a1c1e(0xf6)](this[_0x9a1c1e(0x107)]);let _0x3b66a4=!0x1;this['on'](_0x9a1c1e(0xc5),(_0x44c519,_0x3c1609,_0x1c168b)=>{const _0x58a790=_0x9a1c1e,_0xf3552b=!this[_0x58a790(0xc7)][_0x58a790(0x104)][_0x58a790(0x105)](_0x58a790(0xd7));this[_0x58a790(0xc7)][_0x58a790(0xf6)](_0x1c168b),this[_0x58a790(0xd9)]&&_0xf3552b&&!_0x3b66a4&&this[_0x58a790(0x104)][_0x58a790(0x119)]({'top':this[_0x58a790(0x104)][_0x58a790(0xf0)],'behavior':_0x58a790(0x114)});}),this['on'](_0x9a1c1e(0xe2),(_0x447f0b,_0x53c743,_0x3fcab2)=>{const _0x381839=_0x9a1c1e;_0x3b66a4=!0x1,_0x3fcab2?(this[_0x381839(0x107)]=null,this[_0x381839(0xc7)][_0x381839(0xca)]()):this[_0x381839(0x107)]||this[_0x381839(0xc7)][_0x381839(0xf6)]('');}),this[_0x9a1c1e(0xe8)](this[_0x9a1c1e(0x104)],_0x9a1c1e(0xcd),()=>{_0x3b66a4=!0x0;}),this[_0x9a1c1e(0xe8)](this[_0x9a1c1e(0x104)],_0x9a1c1e(0x117),()=>{_0x3b66a4=!0x0;});}[_0x5571d8(0xe1)](){const _0x2723d1=_0x5571d8;this[_0x2723d1(0x104)][_0x2723d1(0xe1)]();}[_0x5571d8(0xff)](){const _0x49b98a=_0x5571d8,_0x23ad18=this[_0x49b98a(0xc8)],_0x4139e2=new _0x5a4a45(this[_0x49b98a(0xc8)]),_0xfada77=_0x49b98a(0xe6);return _0x4139e2[_0x49b98a(0xf1)]({'label':_0xc3ca6d(_0x23ad18,_0x49b98a(0xdd)),'icon':_0x3718f3,'class':_0xfada77,'tooltip':!0x0}),_0x4139e2[_0x49b98a(0xd2)](_0x49b98a(0x10e))['to'](this,_0x49b98a(0x107),_0x41965c=>!!_0x41965c),_0x4139e2[_0x49b98a(0xd2)](_0x49b98a(0xfe))['to'](this,_0x49b98a(0xd9),_0x355c4e=>!_0x355c4e),_0x4139e2['on'](_0x49b98a(0x110),()=>{const _0x2a42b2=_0x49b98a;this[_0x2a42b2(0xf3)](this[_0x2a42b2(0xc7)][_0x2a42b2(0x104)]),_0x4139e2[_0x2a42b2(0xc9)]=_0x22bfd8,_0x4139e2[_0x2a42b2(0x100)]=_0xfada77+_0x2a42b2(0xd1),this[_0x2a42b2(0xe1)](),setTimeout(()=>{const _0x270dd2=_0x2a42b2;_0x4139e2[_0x270dd2(0xc9)]=_0x3718f3,_0x4139e2[_0x270dd2(0x100)]=_0xfada77;},0x3e8);}),_0x4139e2;}[_0x5571d8(0xf3)](_0xe39326){const _0x1e7c4e=_0x5571d8,{window:_0x2af137,document:_0x51907d}=_0x389473;if(_0x2af137[_0x1e7c4e(0xdc)]){const {Blob:_0x121beb,ClipboardItem:_0x492d17}=_0x2af137,_0xdde27d=[new _0x492d17({'text/html':new _0x121beb([_0xe39326[_0x1e7c4e(0xe5)]],{'type':_0x1e7c4e(0xeb)}),'text/plain':new _0x121beb([_0xe39326[_0x1e7c4e(0xe3)]||''],{'type':_0x1e7c4e(0x108)})})];navigator[_0x1e7c4e(0x10d)][_0x1e7c4e(0x116)](_0xdde27d);}else{const _0x462fe7=_0x51907d[_0x1e7c4e(0xd0)](_0x1e7c4e(0xf2));_0x462fe7[_0x1e7c4e(0x109)][_0x1e7c4e(0x10c)]=_0x1e7c4e(0xec),_0x462fe7[_0x1e7c4e(0x109)][_0x1e7c4e(0xd4)]=_0x1e7c4e(0x10f),_0x462fe7[_0x1e7c4e(0xe5)]=_0x1e7c4e(0x106)+_0xe39326[_0x1e7c4e(0xe5)]+_0x1e7c4e(0xd8),_0x51907d[_0x1e7c4e(0xce)][_0x1e7c4e(0xfc)](_0x462fe7);const _0x48a00f=_0x51907d[_0x1e7c4e(0x111)]();_0x48a00f[_0x1e7c4e(0xee)](_0x462fe7[_0x1e7c4e(0xd5)]),_0x48a00f[_0x1e7c4e(0x11a)](_0x462fe7[_0x1e7c4e(0xd6)]);const _0x3dfd60=_0x2af137[_0x1e7c4e(0x10a)]();_0x3dfd60[_0x1e7c4e(0xf8)](),_0x3dfd60[_0x1e7c4e(0xc6)](_0x48a00f),_0x51907d[_0x1e7c4e(0x112)](_0x1e7c4e(0xcc)),_0x462fe7[_0x1e7c4e(0xcb)]();}}}function _0x4eab(_0x3a0184,_0x2b5228){const _0x19f02b=_0x19f0();return _0x4eab=function(_0x4eabb4,_0x13b362){_0x4eabb4=_0x4eabb4-0xc4;let _0x3af56a=_0x19f02b[_0x4eabb4];return _0x3af56a;},_0x4eab(_0x3a0184,_0x2b5228);}export class ContentFieldView extends _0x5c8957{constructor(_0xbf4253,_0x33defe=''){const _0x29965c=_0x5571d8;super(_0xbf4253),this[_0x29965c(0xe7)]=this[_0x29965c(0x101)](),this[_0x29965c(0xe9)]({'tag':_0x29965c(0xf2),'attributes':{'class':['ck',_0x29965c(0xc4),_0x33defe,_0x29965c(0xf9),_0x29965c(0xe0)]}});}[_0x5571d8(0xf6)](_0x471481){const _0x495c64=_0x5571d8;this[_0x495c64(0x104)][_0x495c64(0xe5)]=_0x471481;}[_0x5571d8(0xca)](){const _0x5a9ec5=_0x5571d8;this[_0x5a9ec5(0x104)][_0x5a9ec5(0xfc)](this[_0x5a9ec5(0xe7)][_0x5a9ec5(0x104)]);}[_0x5571d8(0x101)](){const _0x3233d1=_0x5571d8,_0x3936bc=new _0x5c8957(),_0x58515e=this[_0x3233d1(0xc8)],_0xaf345f=new _0xe57484();return _0xaf345f[_0x3233d1(0x10e)]=!0x0,_0x3936bc[_0x3233d1(0xe9)]({'tag':_0x3233d1(0xf2),'attributes':{'class':['ck',_0x3233d1(0xfd)]},'children':[_0xaf345f,{'text':_0xc3ca6d(_0x58515e,_0x3233d1(0xef))}]}),_0x3936bc[_0x3233d1(0x103)](),_0x3936bc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2ffd5c,_0x21b2d8){const _0x13b6ed=_0x345f,_0x6f88d7=_0x2ffd5c();while(!![]){try{const _0x315ca9=parseInt(_0x13b6ed(0x9f))/0x1+parseInt(_0x13b6ed(0xa8))/0x2*(-parseInt(_0x13b6ed(0xaa))/0x3)+parseInt(_0x13b6ed(0xac))/0x4+-parseInt(_0x13b6ed(0xa1))/0x5*(parseInt(_0x13b6ed(0xa7))/0x6)+-parseInt(_0x13b6ed(0xab))/0x7*(-parseInt(_0x13b6ed(0xb0))/0x8)+-parseInt(_0x13b6ed(0xad))/0x9*(-parseInt(_0x13b6ed(0xaf))/0xa)+parseInt(_0x13b6ed(0xa5))/0xb;if(_0x315ca9===_0x21b2d8)break;else _0x6f88d7['push'](_0x6f88d7['shift']());}catch(_0x3f8e46){_0x6f88d7['push'](_0x6f88d7['shift']());}}}(_0x1a2c,0x497e5));function _0x345f(_0x51c16e,_0x9ba93b){const _0x1a2c3d=_0x1a2c();return _0x345f=function(_0x345f87,_0x252a3f){_0x345f87=_0x345f87-0x9f;let _0x343570=_0x1a2c3d[_0x345f87];return _0x343570;},_0x345f(_0x51c16e,_0x9ba93b);}function _0x1a2c(){const _0x5de050=['2151965GiidhO','text','setTemplate','content','1351625CdHRgs','ck-ai-form__error','6XVJQnz','49752fWcQbV','set','36PchGSF','161JFVeji','1668240QDdNRC','36513kVBABM','bindTemplate','880RDAxmg','38632arGrfj','21916jTUAUR','div'];_0x1a2c=function(){return _0x5de050;};return _0x1a2c();}import{IconError as _0x559659}from'ckeditor5/src/icons.js';import{View as _0x3daec5,IconView as _0x46ab2a}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x3daec5{constructor(_0x1d639e,_0x4c0022=''){const _0xef1ad2=_0x345f;super(_0x1d639e);const _0x55edb6=new _0x46ab2a(),_0x1ef07b=this[_0xef1ad2(0xae)];this[_0xef1ad2(0xa9)](_0xef1ad2(0xa2),_0x4c0022),_0x55edb6[_0xef1ad2(0xa4)]=_0x559659,this[_0xef1ad2(0xa3)]({'tag':_0xef1ad2(0xa0),'attributes':{'class':['ck',_0xef1ad2(0xa6)]},'children':[_0x55edb6,{'text':_0x1ef07b['to'](_0xef1ad2(0xa2))}]});}}
23
+ (function(_0x3a47cb,_0x1b0b2a){const _0x2d39ab=_0x43d3,_0x208aff=_0x3a47cb();while(!![]){try{const _0x5a1d15=parseInt(_0x2d39ab(0x195))/0x1*(-parseInt(_0x2d39ab(0x19a))/0x2)+-parseInt(_0x2d39ab(0x18e))/0x3*(-parseInt(_0x2d39ab(0x199))/0x4)+-parseInt(_0x2d39ab(0x194))/0x5*(-parseInt(_0x2d39ab(0x197))/0x6)+-parseInt(_0x2d39ab(0x18f))/0x7+parseInt(_0x2d39ab(0x190))/0x8+parseInt(_0x2d39ab(0x196))/0x9+parseInt(_0x2d39ab(0x191))/0xa*(-parseInt(_0x2d39ab(0x19f))/0xb);if(_0x5a1d15===_0x1b0b2a)break;else _0x208aff['push'](_0x208aff['shift']());}catch(_0xa25191){_0x208aff['push'](_0x208aff['shift']());}}}(_0x48ab,0xcae6f));import{IconError as _0x528f14}from'ckeditor5/src/icons.js';import{View as _0x44ec1b,IconView as _0x84ec6b}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x44ec1b{constructor(_0x218e0b,_0x41cd06=''){const _0x4835f8=_0x43d3;super(_0x218e0b);const _0x2bfa40=new _0x84ec6b(),_0x497d93=this[_0x4835f8(0x19d)];this[_0x4835f8(0x198)](_0x4835f8(0x19c),_0x41cd06),_0x2bfa40[_0x4835f8(0x19b)]=_0x528f14,this[_0x4835f8(0x193)]({'tag':_0x4835f8(0x19e),'attributes':{'class':['ck',_0x4835f8(0x192)]},'children':[_0x2bfa40,{'text':_0x497d93['to'](_0x4835f8(0x19c))}]});}}function _0x43d3(_0x2ba1c2,_0x35558f){const _0x48abd9=_0x48ab();return _0x43d3=function(_0x43d3eb,_0x4bf39a){_0x43d3eb=_0x43d3eb-0x18e;let _0x2f5d0b=_0x48abd9[_0x43d3eb];return _0x2f5d0b;},_0x43d3(_0x2ba1c2,_0x35558f);}function _0x48ab(){const _0x2f881b=['74776ZmfiwP','content','text','bindTemplate','div','124718JKoyhh','3qkaZef','11551995idgvwD','10548400tsOTRR','130ljfrBW','ck-ai-form__error','setTemplate','5480xzdKnU','19zhhHvq','1457424BHobBK','2562epLuqe','set','5562640nuByuK'];_0x48ab=function(){return _0x2f881b;};return _0x48ab();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159426=_0x38f3;(function(_0x4750f5,_0x6d4900){const _0x3ebab4=_0x38f3,_0x104159=_0x4750f5();while(!![]){try{const _0x5a85e0=parseInt(_0x3ebab4(0x1e1))/0x1*(-parseInt(_0x3ebab4(0x1f3))/0x2)+parseInt(_0x3ebab4(0x1e6))/0x3*(-parseInt(_0x3ebab4(0x1d1))/0x4)+-parseInt(_0x3ebab4(0x1ea))/0x5*(-parseInt(_0x3ebab4(0x20b))/0x6)+-parseInt(_0x3ebab4(0x1f7))/0x7*(-parseInt(_0x3ebab4(0x1f1))/0x8)+parseInt(_0x3ebab4(0x1fb))/0x9+parseInt(_0x3ebab4(0x201))/0xa+-parseInt(_0x3ebab4(0x1da))/0xb*(parseInt(_0x3ebab4(0x1de))/0xc);if(_0x5a85e0===_0x6d4900)break;else _0x104159['push'](_0x104159['shift']());}catch(_0x5d5832){_0x104159['push'](_0x104159['shift']());}}}(_0x2eac,0xb5827));import{Rect as _0x46a956,global as _0x23f441,isVisible as _0x58fdcc}from'ckeditor5/src/utils.js';import{IconHistory as _0xf834ab,IconSubmit as _0x4f5bc2}from'ckeditor5/src/icons.js';function _0x38f3(_0x232121,_0x44aa26){const _0x2eacbd=_0x2eac();return _0x38f3=function(_0x38f300,_0x14ccc0){_0x38f300=_0x38f300-0x1d1;let _0x4c005b=_0x2eacbd[_0x38f300];return _0x4c005b;},_0x38f3(_0x232121,_0x44aa26);}import{AutocompleteView as _0x21ffb9,ButtonView as _0x492464}from'ckeditor5/src/ui.js';import{getTranslation as _0x591fe6}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x21ffb9{[_0x159426(0x1e7)];[_0x159426(0x1fe)];constructor(_0x36de00,_0x386296){const _0x368c43=_0x159426;super(_0x36de00,_0x386296),this[_0x368c43(0x1f2)][_0x368c43(0x1d5)][_0x368c43(0x1d3)]=0x1,this[_0x368c43(0x1f2)][_0x368c43(0x1d5)][_0x368c43(0x203)]=0x3,this[_0x368c43(0x1e7)]=this[_0x368c43(0x1dd)](),this[_0x368c43(0x1fe)]=this[_0x368c43(0x1f0)](),this[_0x368c43(0x1f9)][_0x368c43(0x1e0)](this[_0x368c43(0x1fe)],0x1),this[_0x368c43(0x1f9)][_0x368c43(0x1e0)](this[_0x368c43(0x1e7)]);}[_0x159426(0x1ec)](){const _0x744630=_0x159426;super[_0x744630(0x1ec)](),this[_0x744630(0x1f2)][_0x744630(0x1f8)][_0x744630(0x1e0)](this[_0x744630(0x1fe)]),this[_0x744630(0x204)][_0x744630(0x1e0)](this[_0x744630(0x1e7)]),this[_0x744630(0x1d7)][_0x744630(0x1e8)](_0x744630(0x1ff),(_0x43eb29,_0x2e6da4)=>{const _0x50ceb3=_0x744630;_0x43eb29[_0x50ceb3(0x205)]==this[_0x50ceb3(0x1f2)][_0x50ceb3(0x1d5)][_0x50ceb3(0x1ee)]&&(this[_0x50ceb3(0x1ef)](),_0x2e6da4());});}[_0x159426(0x1dd)](){const _0x12f98a=_0x159426,_0x6e70b7=new _0x492464(this[_0x12f98a(0x207)]),_0xb4846c=this[_0x12f98a(0x207)];return _0x6e70b7[_0x12f98a(0x1e8)]({'icon':_0x4f5bc2,'label':_0x591fe6(_0xb4846c,_0x12f98a(0x20a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x12f98a(0x1db)}),_0x6e70b7['on'](_0x12f98a(0x208),()=>{const _0x558022=_0x12f98a;this[_0x558022(0x1ef)]();}),_0x6e70b7[_0x12f98a(0x1e4)](_0x12f98a(0x1eb))['to'](this[_0x12f98a(0x1f2)][_0x12f98a(0x1d5)],_0x12f98a(0x1e5),this,_0x12f98a(0x1eb),(_0x439316,_0x5d3bb8)=>!_0x439316&&_0x5d3bb8),_0x6e70b7;}[_0x159426(0x1f0)](){const _0x4dd70d=_0x159426,_0x12e6dd=new _0x492464(this[_0x4dd70d(0x207)]),_0x3443a1=this[_0x4dd70d(0x1df)],_0x4f504f=this[_0x4dd70d(0x207)];_0x12e6dd[_0x4dd70d(0x1e8)]({'label':_0x591fe6(_0x4f504f,_0x4dd70d(0x1d2)),'withText':!0x1,'icon':_0xf834ab,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4dd70d(0x1d8)}),_0x12e6dd[_0x4dd70d(0x1e4)](_0x4dd70d(0x1f6))['to'](_0x3443a1,_0x4dd70d(0x1f4)),_0x12e6dd[_0x4dd70d(0x1e4)](_0x4dd70d(0x1eb))['to'](this,_0x4dd70d(0x1eb)),_0x12e6dd['on'](_0x4dd70d(0x208),()=>{const _0x15602d=_0x4dd70d;_0x3443a1[_0x15602d(0x1f4)]=!_0x3443a1[_0x15602d(0x1f4)],_0x3443a1[_0x15602d(0x1f4)]?this[_0x15602d(0x1d6)][_0x15602d(0x1d4)]():this[_0x15602d(0x1d4)]();});const _0x388f61=()=>{const _0x2f6ae4=_0x4dd70d;_0x23f441[_0x2f6ae4(0x1dc)][_0x2f6ae4(0x1fc)](()=>{const _0x431db7=_0x2f6ae4;if(_0x58fdcc(this[_0x431db7(0x1ee)])){const _0x349ec9=new _0x46a956(this[_0x431db7(0x1f2)][_0x431db7(0x1d5)][_0x431db7(0x1ee)]),_0x31a94d=_0x349ec9[_0x431db7(0x1e2)],_0x2ead20=_0x431db7(0x1ed)===_0x4f504f[_0x431db7(0x209)]?_0x431db7(0x1fa):_0x431db7(0x202);_0x349ec9[_0x431db7(0x1fd)](),_0x12e6dd[_0x431db7(0x1ee)][_0x431db7(0x1f5)][_0x2ead20]=_0x31a94d-_0x349ec9[_0x431db7(0x1e2)]+0x1+'px';}});};return this[_0x4dd70d(0x1f2)][_0x4dd70d(0x1d5)]['on'](_0x4dd70d(0x1e9),_0x388f61),this['on'](_0x4dd70d(0x1ec),_0x388f61),_0x12e6dd;}[_0x159426(0x1ef)](){const _0xabcf91=_0x159426,_0x4ce5c3=this[_0xabcf91(0x1f2)][_0xabcf91(0x1d5)][_0xabcf91(0x1ee)][_0xabcf91(0x206)];this[_0xabcf91(0x20c)](_0xabcf91(0x1ef),_0x4ce5c3);}[_0x159426(0x1d4)](_0x37d7b5){const _0x34518c=_0x159426;-0x1===_0x37d7b5?this[_0x34518c(0x1e3)][_0x34518c(0x1d9)]():this[_0x34518c(0x1e3)][_0x34518c(0x200)]();}}function _0x2eac(){const _0x57bed2=['rtl','element','submit','_createShowHistoryButton','1882696aKvYHh','queryView','38Qkjldy','isVisible','style','isOn','7MxuaVx','fieldWrapperChildren','focusableChildren','left','12960567wiKnSg','requestAnimationFrame','excludeScrollbarsAndBorders','showHistoryButtonView','enter','focusFirst','9142830LulMsy','right','maxRows','children','target','value','locale','execute','uiLanguageDirection','Submit','750588LOxNQU','fire','16BaKACf','History','minRows','focus','fieldView','filteredView','keystrokes','ck-ai-form__toggle-history','focusLast','11hPafgZ','ck-ai-form__submit','window','_createSubmitButton','9123468uRKwMf','resultsView','add','40879dGnXyL','width','focusCycler','bind','isEmpty','888687awBDsO','submitButtonView','set','update','35YROjpW','isEnabled','render'];_0x2eac=function(){return _0x57bed2;};return _0x2eac();}
23
+ const _0x2482c=_0x3888;function _0x3888(_0x8e0d93,_0x5e83a8){const _0x57f37a=_0x57f3();return _0x3888=function(_0x388838,_0xd633d1){_0x388838=_0x388838-0x97;let _0x2a29c8=_0x57f37a[_0x388838];return _0x2a29c8;},_0x3888(_0x8e0d93,_0x5e83a8);}function _0x57f3(){const _0xc4c27b=['isOn','children','submit','609420yayQyO','ck-ai-form__submit','focusableChildren','rtl','render','fire','minRows','window','_createSubmitButton','focusCycler','element','isEmpty','67189WnVyWL','submitButtonView','execute','showHistoryButtonView','fieldWrapperChildren','locale','2916738myyimV','left','keystrokes','6ljHJvw','enter','ck-ai-form__toggle-history','isEnabled','uiLanguageDirection','fieldView','queryView','requestAnimationFrame','27060uBpDce','value','add','filteredView','focusLast','style','History','focus','target','1619288MqBPJj','isVisible','bind','resultsView','13413ZWAvFb','maxRows','set','1136420QrhAqO','excludeScrollbarsAndBorders','Submit','right','300ETngRb','focusFirst','update','_createShowHistoryButton','width'];_0x57f3=function(){return _0xc4c27b;};return _0x57f3();}(function(_0x125cec,_0x1ebf3f){const _0x105d16=_0x3888,_0x2c3b4c=_0x125cec();while(!![]){try{const _0xd13573=-parseInt(_0x105d16(0x99))/0x1*(-parseInt(_0x105d16(0xa2))/0x2)+-parseInt(_0x105d16(0xb7))/0x3+parseInt(_0x105d16(0xba))/0x4+parseInt(_0x105d16(0xbe))/0x5*(-parseInt(_0x105d16(0xaa))/0x6)+parseInt(_0x105d16(0xc6))/0x7+parseInt(_0x105d16(0xb3))/0x8+-parseInt(_0x105d16(0x9f))/0x9;if(_0xd13573===_0x1ebf3f)break;else _0x2c3b4c['push'](_0x2c3b4c['shift']());}catch(_0x26c812){_0x2c3b4c['push'](_0x2c3b4c['shift']());}}}(_0x57f3,0x2af76));import{Rect as _0x5e8ea1,global as _0x30d82b,isVisible as _0x4b6869}from'ckeditor5/src/utils.js';import{IconHistory as _0x31e187,IconSubmit as _0x28172b}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x3ae2af,ButtonView as _0xdfa0a8}from'ckeditor5/src/ui.js';import{getTranslation as _0x51ca1c}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x3ae2af{[_0x2482c(0x9a)];[_0x2482c(0x9c)];constructor(_0x1ccdd7,_0x16dabb){const _0x3b2e08=_0x2482c;super(_0x1ccdd7,_0x16dabb),this[_0x3b2e08(0xa8)][_0x3b2e08(0xa7)][_0x3b2e08(0xcc)]=0x1,this[_0x3b2e08(0xa8)][_0x3b2e08(0xa7)][_0x3b2e08(0xb8)]=0x3,this[_0x3b2e08(0x9a)]=this[_0x3b2e08(0xce)](),this[_0x3b2e08(0x9c)]=this[_0x3b2e08(0xc1)](),this[_0x3b2e08(0xc8)][_0x3b2e08(0xac)](this[_0x3b2e08(0x9c)],0x1),this[_0x3b2e08(0xc8)][_0x3b2e08(0xac)](this[_0x3b2e08(0x9a)]);}[_0x2482c(0xca)](){const _0x52d5b6=_0x2482c;super[_0x52d5b6(0xca)](),this[_0x52d5b6(0xa8)][_0x52d5b6(0x9d)][_0x52d5b6(0xac)](this[_0x52d5b6(0x9c)]),this[_0x52d5b6(0xc4)][_0x52d5b6(0xac)](this[_0x52d5b6(0x9a)]),this[_0x52d5b6(0xa1)][_0x52d5b6(0xb9)](_0x52d5b6(0xa3),(_0x33ee83,_0x1b1f9f)=>{const _0x1b7fdf=_0x52d5b6;_0x33ee83[_0x1b7fdf(0xb2)]==this[_0x1b7fdf(0xa8)][_0x1b7fdf(0xa7)][_0x1b7fdf(0x97)]&&(this[_0x1b7fdf(0xc5)](),_0x1b1f9f());});}[_0x2482c(0xce)](){const _0x17efbb=_0x2482c,_0x27b3cb=new _0xdfa0a8(this[_0x17efbb(0x9e)]),_0x5af9bc=this[_0x17efbb(0x9e)];return _0x27b3cb[_0x17efbb(0xb9)]({'icon':_0x28172b,'label':_0x51ca1c(_0x5af9bc,_0x17efbb(0xbc)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x17efbb(0xc7)}),_0x27b3cb['on'](_0x17efbb(0x9b),()=>{const _0x1e5809=_0x17efbb;this[_0x1e5809(0xc5)]();}),_0x27b3cb[_0x17efbb(0xb5)](_0x17efbb(0xa5))['to'](this[_0x17efbb(0xa8)][_0x17efbb(0xa7)],_0x17efbb(0x98),this,_0x17efbb(0xa5),(_0x168e9a,_0x1029a8)=>!_0x168e9a&&_0x1029a8),_0x27b3cb;}[_0x2482c(0xc1)](){const _0x26b6da=_0x2482c,_0x53d280=new _0xdfa0a8(this[_0x26b6da(0x9e)]),_0x1dc32c=this[_0x26b6da(0xb6)],_0xcbdbff=this[_0x26b6da(0x9e)];_0x53d280[_0x26b6da(0xb9)]({'label':_0x51ca1c(_0xcbdbff,_0x26b6da(0xb0)),'withText':!0x1,'icon':_0x31e187,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x26b6da(0xa4)}),_0x53d280[_0x26b6da(0xb5)](_0x26b6da(0xc3))['to'](_0x1dc32c,_0x26b6da(0xb4)),_0x53d280[_0x26b6da(0xb5)](_0x26b6da(0xa5))['to'](this,_0x26b6da(0xa5)),_0x53d280['on'](_0x26b6da(0x9b),()=>{const _0x1d27c7=_0x26b6da;_0x1dc32c[_0x1d27c7(0xb4)]=!_0x1dc32c[_0x1d27c7(0xb4)],_0x1dc32c[_0x1d27c7(0xb4)]?this[_0x1d27c7(0xad)][_0x1d27c7(0xb1)]():this[_0x1d27c7(0xb1)]();});const _0x5d15db=()=>{const _0x2a4896=_0x26b6da;_0x30d82b[_0x2a4896(0xcd)][_0x2a4896(0xa9)](()=>{const _0x1f1c78=_0x2a4896;if(_0x4b6869(this[_0x1f1c78(0x97)])){const _0x16eaaf=new _0x5e8ea1(this[_0x1f1c78(0xa8)][_0x1f1c78(0xa7)][_0x1f1c78(0x97)]),_0x7f8e86=_0x16eaaf[_0x1f1c78(0xc2)],_0x2e3f30=_0x1f1c78(0xc9)===_0xcbdbff[_0x1f1c78(0xa6)]?_0x1f1c78(0xa0):_0x1f1c78(0xbd);_0x16eaaf[_0x1f1c78(0xbb)](),_0x53d280[_0x1f1c78(0x97)][_0x1f1c78(0xaf)][_0x2e3f30]=_0x7f8e86-_0x16eaaf[_0x1f1c78(0xc2)]+0x1+'px';}});};return this[_0x26b6da(0xa8)][_0x26b6da(0xa7)]['on'](_0x26b6da(0xc0),_0x5d15db),this['on'](_0x26b6da(0xca),_0x5d15db),_0x53d280;}[_0x2482c(0xc5)](){const _0x565adf=_0x2482c,_0x4c7e05=this[_0x565adf(0xa8)][_0x565adf(0xa7)][_0x565adf(0x97)][_0x565adf(0xab)];this[_0x565adf(0xcb)](_0x565adf(0xc5),_0x4c7e05);}[_0x2482c(0xb1)](_0x5aefd1){const _0x203edd=_0x2482c;-0x1===_0x5aefd1?this[_0x203edd(0xcf)][_0x203edd(0xae)]():this[_0x203edd(0xcf)][_0x203edd(0xbf)]();}}