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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x13daa3=_0x74cd;(function(_0x15dc8d,_0x12ffd5){const _0x5a5535=_0x74cd,_0x336d09=_0x15dc8d();while(!![]){try{const _0x314f4e=-parseInt(_0x5a5535(0x1b0))/0x1+parseInt(_0x5a5535(0x184))/0x2*(parseInt(_0x5a5535(0x18d))/0x3)+-parseInt(_0x5a5535(0x1ab))/0x4*(parseInt(_0x5a5535(0x146))/0x5)+-parseInt(_0x5a5535(0x157))/0x6*(parseInt(_0x5a5535(0x1ae))/0x7)+-parseInt(_0x5a5535(0x17f))/0x8+parseInt(_0x5a5535(0x16f))/0x9+parseInt(_0x5a5535(0x152))/0xa;if(_0x314f4e===_0x12ffd5)break;else _0x336d09['push'](_0x336d09['shift']());}catch(_0x1bb616){_0x336d09['push'](_0x336d09['shift']());}}}(_0x53d7,0x51ba2));import{Plugin as _0xa19860}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4b740e}from'./aiassistantui.js';import{AIAssistantEditing as _0x202b5f}from'./aiassistantediting.js';import{getTranslation as _0x26a9b0}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x4d068e}from'./utils/normalizecommandsconfig.js';function _0x74cd(_0x352426,_0x32b82e){const _0x53d76a=_0x53d7();return _0x74cd=function(_0x74cd1a,_0x4505a5){_0x74cd1a=_0x74cd1a-0x145;let _0x102209=_0x53d76a[_0x74cd1a];return _0x102209;},_0x74cd(_0x352426,_0x32b82e);}function _0x53d7(){const _0x5ba0f1=['2511187NwoRYZ','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','309086hOdlvm','Journalism','makeLonger','Confident','Improve\x20writing','2096745uFNmjK','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','push','German','confident','config','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Portuguese','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','7527330gEyCHY','ai.aiAssistant.extraCommandGroups','poetic','Simplify\x20language','Direct','6voYvSl','Change\x20style','journalism','AIAssistant','Simplified\x20Chinese','translateEnglish','translateHindi','ai.aiAssistant.removeCommands','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translate','Make\x20shorter','makeShorter','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Professional','editOrReview','Hindi','Translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','find','commands','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','get','concat','5085882zGmwTn','pluginName','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20English\x20language.','translateChinese','translatePortuguese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateGerman','Friendly','groupId','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','simplifyLanguage','continue','business','improveWriting','4425064rRtYuD','Summarize','generate','Poetic','filter','8DhUgpx','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Spanish','Business','legal','summarize','locale','requires','Legal','492924xgVJBa','ai.aiAssistant.preserveComments','professional','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','set','Translate\x20the\x20content\x20to\x20French\x20language.','translateArabic','ai.aiAssistant.commands','Continue','Translate\x20the\x20content\x20to\x20Spanish\x20language.','includes','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','English','isPremiumPlugin','Translate\x20the\x20content\x20to\x20German\x20language.','French','Change\x20tone','translateSpanish','forEach','casual','direct','translateFrench','changeStyle','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','changeTone','Arabic','Edit\x20or\x20review','Casual','Make\x20longer','isOfficialPlugin','4WWsxry','define','friendly'];_0x53d7=function(){return _0x5ba0f1;};return _0x53d7();}export class AIAssistant extends _0xa19860{static get[_0x13daa3(0x18b)](){return[_0x4b740e,_0x202b5f];}static get[_0x13daa3(0x170)](){const _0x5e7a81=_0x13daa3;return _0x5e7a81(0x15a);}static get[_0x13daa3(0x1aa)](){return!0x0;}static get[_0x13daa3(0x19a)](){return!0x0;}constructor(_0x26c333){const _0x24512a=_0x13daa3;super(_0x26c333);const _0x45b17b=_0x26c333[_0x24512a(0x14c)],_0x5d6050=_0x26c333[_0x24512a(0x18a)];_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x18e),!0x0),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x194),getDefaultAICommands(_0x5d6050)),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x153),[]),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x15e),[]);let _0x241680=_0x4d068e(_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x194)),_0x5d6050);const _0x283ef2=_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x153)),_0x1bcc9a=_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x15e));_0x283ef2[_0x24512a(0x19f)](_0x5ce5ba=>{const _0x5cfa82=_0x24512a,_0x4bc13d=_0x241680[_0x5cfa82(0x169)](_0x312548=>_0x312548[_0x5cfa82(0x179)]===_0x5ce5ba[_0x5cfa82(0x179)]);_0x4bc13d?_0x4bc13d[_0x5cfa82(0x16a)]=_0x4bc13d[_0x5cfa82(0x16a)][_0x5cfa82(0x16e)](_0x5ce5ba[_0x5cfa82(0x16a)]):_0x241680[_0x5cfa82(0x149)](_0x5ce5ba);}),_0x241680=_0x241680[_0x24512a(0x183)](_0x54dcc5=>!_0x1bcc9a[_0x24512a(0x197)](_0x54dcc5[_0x24512a(0x179)])),_0x241680[_0x24512a(0x19f)](_0x2f8ded=>{const _0xd7e57b=_0x24512a;_0x2f8ded[_0xd7e57b(0x16a)]=_0x2f8ded[_0xd7e57b(0x16a)][_0xd7e57b(0x183)](_0x5f4de4=>!_0x1bcc9a[_0xd7e57b(0x197)](_0x5f4de4['id']));}),_0x45b17b[_0x24512a(0x191)](_0x24512a(0x194),_0x241680);}}export function getDefaultAICommands(_0x10a28c){const _0x3f725b=_0x13daa3;return[{'groupId':_0x3f725b(0x165),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a7)),'commands':[{'id':_0x3f725b(0x17e),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x145)),'prompt':_0x3f725b(0x1a4)},{'id':_0x3f725b(0x162),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x161)),'prompt':_0x3f725b(0x17a)},{'id':_0x3f725b(0x1b2),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a9)),'prompt':_0x3f725b(0x14d)},{'id':_0x3f725b(0x17b),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x155)),'prompt':_0x3f725b(0x190)}]},{'groupId':_0x3f725b(0x181),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x147)),'commands':[{'id':_0x3f725b(0x189),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x180)),'prompt':_0x3f725b(0x168)},{'id':_0x3f725b(0x17c),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x195)),'prompt':_0x3f725b(0x175)}]},{'groupId':_0x3f725b(0x1a5),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x19d)),'commands':[{'id':_0x3f725b(0x18f),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x164)),'prompt':_0x3f725b(0x14e)},{'id':_0x3f725b(0x1a0),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a8)),'prompt':_0x3f725b(0x171)},{'id':_0x3f725b(0x1a1),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x156)),'prompt':_0x3f725b(0x151)},{'id':_0x3f725b(0x14b),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1b3)),'prompt':_0x3f725b(0x176)},{'id':_0x3f725b(0x1ad),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x178)),'prompt':_0x3f725b(0x16b)}]},{'groupId':_0x3f725b(0x1a3),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x158)),'commands':[{'id':_0x3f725b(0x17d),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x187)),'prompt':_0x3f725b(0x198)},{'id':_0x3f725b(0x188),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x18c)),'prompt':_0x3f725b(0x15f)},{'id':_0x3f725b(0x159),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1b1)),'prompt':_0x3f725b(0x1af)},{'id':_0x3f725b(0x154),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x182)),'prompt':_0x3f725b(0x185)}]},{'groupId':_0x3f725b(0x160),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x167)),'commands':[{'id':_0x3f725b(0x15c),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x199)),'prompt':_0x3f725b(0x172)},{'id':_0x3f725b(0x19e),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x186)),'prompt':_0x3f725b(0x196)},{'id':_0x3f725b(0x174),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x14f)),'prompt':_0x3f725b(0x148)},{'id':_0x3f725b(0x177),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x14a)),'prompt':_0x3f725b(0x19b)},{'id':_0x3f725b(0x1a2),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x19c)),'prompt':_0x3f725b(0x192)},{'id':_0x3f725b(0x173),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x15b)),'prompt':_0x3f725b(0x163)},{'id':_0x3f725b(0x15d),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x166)),'prompt':_0x3f725b(0x150)},{'id':_0x3f725b(0x193),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a6)),'prompt':_0x3f725b(0x16c)}]}];}
23
+ const _0x29d2e8=_0x1bc8;(function(_0x3b2276,_0x442fcf){const _0x450400=_0x1bc8,_0x13e43a=_0x3b2276();while(!![]){try{const _0x3f10ae=parseInt(_0x450400(0xd3))/0x1+parseInt(_0x450400(0xb8))/0x2*(parseInt(_0x450400(0xc0))/0x3)+parseInt(_0x450400(0xd6))/0x4+-parseInt(_0x450400(0x100))/0x5*(parseInt(_0x450400(0xf4))/0x6)+-parseInt(_0x450400(0xd1))/0x7+-parseInt(_0x450400(0xb1))/0x8*(parseInt(_0x450400(0xea))/0x9)+-parseInt(_0x450400(0xbe))/0xa;if(_0x3f10ae===_0x442fcf)break;else _0x13e43a['push'](_0x13e43a['shift']());}catch(_0x24cf71){_0x13e43a['push'](_0x13e43a['shift']());}}}(_0x326f,0x4bd07));import{Plugin as _0x48e8d1}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3ab1d9}from'./aiassistantui.js';import{AIAssistantEditing as _0x373529}from'./aiassistantediting.js';function _0x1bc8(_0x23751b,_0x23c453){const _0x326f24=_0x326f();return _0x1bc8=function(_0x1bc88a,_0x283e11){_0x1bc88a=_0x1bc88a-0x9e;let _0x31fed6=_0x326f24[_0x1bc88a];return _0x31fed6;},_0x1bc8(_0x23751b,_0x23c453);}import{getTranslation as _0x52e551}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x1dd9a8}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x48e8d1{static get[_0x29d2e8(0xfd)](){return[_0x3ab1d9,_0x373529];}static get[_0x29d2e8(0xc5)](){const _0x51cf31=_0x29d2e8;return _0x51cf31(0xc7);}static get[_0x29d2e8(0xfe)](){return!0x0;}static get[_0x29d2e8(0x9e)](){return!0x0;}constructor(_0x3fccfe){const _0x403c6b=_0x29d2e8;super(_0x3fccfe);const _0x159697=_0x3fccfe[_0x403c6b(0xaf)],_0x3cd2b1=_0x3fccfe[_0x403c6b(0xf9)];_0x159697[_0x403c6b(0xee)](_0x403c6b(0xc1),!0x0),_0x159697[_0x403c6b(0xee)](_0x403c6b(0xae),getDefaultAICommands(_0x3cd2b1)),_0x159697[_0x403c6b(0xee)](_0x403c6b(0x102),[]),_0x159697[_0x403c6b(0xee)](_0x403c6b(0xe8),[]);let _0x3f2ef3=_0x1dd9a8(_0x159697[_0x403c6b(0x104)](_0x403c6b(0xae)),_0x3cd2b1);const _0x5b09e8=_0x159697[_0x403c6b(0x104)](_0x403c6b(0x102)),_0x12132e=_0x159697[_0x403c6b(0x104)](_0x403c6b(0xe8));_0x5b09e8[_0x403c6b(0xe3)](_0x5d0dd6=>{const _0x15d185=_0x403c6b,_0x3b8852=_0x3f2ef3[_0x15d185(0xcd)](_0x3b7fe5=>_0x3b7fe5[_0x15d185(0xf6)]===_0x5d0dd6[_0x15d185(0xf6)]);_0x3b8852?_0x3b8852[_0x15d185(0x108)]=_0x3b8852[_0x15d185(0x108)][_0x15d185(0x105)](_0x5d0dd6[_0x15d185(0x108)]):_0x3f2ef3[_0x15d185(0xfb)](_0x5d0dd6);}),_0x3f2ef3=_0x3f2ef3[_0x403c6b(0xfc)](_0xdc06=>!_0x12132e[_0x403c6b(0x107)](_0xdc06[_0x403c6b(0xf6)])),_0x3f2ef3[_0x403c6b(0xe3)](_0x32708b=>{const _0xcb0b0e=_0x403c6b;_0x32708b[_0xcb0b0e(0x108)]=_0x32708b[_0xcb0b0e(0x108)][_0xcb0b0e(0xfc)](_0x34a0d5=>!_0x12132e[_0xcb0b0e(0x107)](_0x34a0d5['id']));}),_0x159697[_0x403c6b(0xe0)](_0x403c6b(0xae),_0x3f2ef3);}}function _0x326f(){const _0x2a5fb9=['Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Portuguese','Spanish','Translate\x20the\x20content\x20to\x20German\x20language.','legal','casual','editOrReview','Summarize','makeShorter','set','English','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','forEach','Make\x20shorter','generate','Translate','Arabic','ai.aiAssistant.removeCommands','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','3015CKGlZf','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','define','Improve\x20writing','professional','Professional','Make\x20longer','translateFrench','15882FBOZAs','improveWriting','groupId','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Continue','locale','Edit\x20or\x20review','push','filter','requires','isOfficialPlugin','continue','185vADkLd','Change\x20style','ai.aiAssistant.extraCommandGroups','translatePortuguese','get','concat','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','includes','commands','business','Translate\x20the\x20content\x20to\x20Hindi\x20language.','summarize','friendly','isPremiumPlugin','Simplified\x20Chinese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','simplifyLanguage','Friendly','changeTone','German','changeStyle','Business','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Hindi','Direct','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateArabic','ai.aiAssistant.commands','config','translate','1064ksCRPj','translateChinese','confident','translateGerman','French','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Confident','38nXDXmW','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Journalism','translateHindi','journalism','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','882210rpSVEl','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','13863NJbZDk','ai.aiAssistant.preserveComments','Casual','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','pluginName','Poetic','AIAssistant','Simplify\x20language','poetic','direct','Change\x20tone','translateSpanish','find','Generate\x20from\x20selection','Legal','translateEnglish','2066778bNFlyF','makeLonger','574418jabmHS','Translate\x20the\x20content\x20to\x20French\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','697148OVtJLc'];_0x326f=function(){return _0x2a5fb9;};return _0x326f();}export function getDefaultAICommands(_0x95d53){const _0xb3f394=_0x29d2e8;return[{'groupId':_0xb3f394(0xdd),'groupLabel':_0x52e551(_0x95d53,_0xb3f394(0xfa)),'commands':[{'id':_0xb3f394(0xf5),'label':_0x52e551(_0x95d53,_0xb3f394(0xef)),'prompt':_0xb3f394(0xa8)},{'id':_0xb3f394(0xdf),'label':_0x52e551(_0x95d53,_0xb3f394(0xe4)),'prompt':_0xb3f394(0xa1)},{'id':_0xb3f394(0xd2),'label':_0x52e551(_0x95d53,_0xb3f394(0xf2)),'prompt':_0xb3f394(0xb6)},{'id':_0xb3f394(0xa2),'label':_0x52e551(_0x95d53,_0xb3f394(0xc8)),'prompt':_0xb3f394(0xc3)}]},{'groupId':_0xb3f394(0xe5),'groupLabel':_0x52e551(_0x95d53,_0xb3f394(0xce)),'commands':[{'id':_0xb3f394(0x10b),'label':_0x52e551(_0x95d53,_0xb3f394(0xde)),'prompt':_0xb3f394(0xbd)},{'id':_0xb3f394(0xff),'label':_0x52e551(_0x95d53,_0xb3f394(0xf8)),'prompt':_0xb3f394(0xa0)}]},{'groupId':_0xb3f394(0xa4),'groupLabel':_0x52e551(_0x95d53,_0xb3f394(0xcb)),'commands':[{'id':_0xb3f394(0xf0),'label':_0x52e551(_0x95d53,_0xb3f394(0xf1)),'prompt':_0xb3f394(0xe9)},{'id':_0xb3f394(0xdc),'label':_0x52e551(_0x95d53,_0xb3f394(0xc2)),'prompt':_0xb3f394(0xb9)},{'id':_0xb3f394(0xca),'label':_0x52e551(_0x95d53,_0xb3f394(0xaa)),'prompt':_0xb3f394(0xc4)},{'id':_0xb3f394(0xb3),'label':_0x52e551(_0x95d53,_0xb3f394(0xb7)),'prompt':_0xb3f394(0xac)},{'id':_0xb3f394(0x10c),'label':_0x52e551(_0x95d53,_0xb3f394(0xa3)),'prompt':_0xb3f394(0xe2)}]},{'groupId':_0xb3f394(0xa6),'groupLabel':_0x52e551(_0x95d53,_0xb3f394(0x101)),'commands':[{'id':_0xb3f394(0x109),'label':_0x52e551(_0x95d53,_0xb3f394(0xa7)),'prompt':_0xb3f394(0xed)},{'id':_0xb3f394(0xdb),'label':_0x52e551(_0x95d53,_0xb3f394(0xcf)),'prompt':_0xb3f394(0xbf)},{'id':_0xb3f394(0xbc),'label':_0x52e551(_0x95d53,_0xb3f394(0xba)),'prompt':_0xb3f394(0xec)},{'id':_0xb3f394(0xc9),'label':_0x52e551(_0x95d53,_0xb3f394(0xc6)),'prompt':_0xb3f394(0x106)}]},{'groupId':_0xb3f394(0xb0),'groupLabel':_0x52e551(_0x95d53,_0xb3f394(0xe6)),'commands':[{'id':_0xb3f394(0xd0),'label':_0x52e551(_0x95d53,_0xb3f394(0xe1)),'prompt':_0xb3f394(0xd5)},{'id':_0xb3f394(0xcc),'label':_0x52e551(_0x95d53,_0xb3f394(0xd9)),'prompt':_0xb3f394(0xeb)},{'id':_0xb3f394(0x103),'label':_0x52e551(_0x95d53,_0xb3f394(0xd8)),'prompt':_0xb3f394(0xab)},{'id':_0xb3f394(0xb4),'label':_0x52e551(_0x95d53,_0xb3f394(0xa5)),'prompt':_0xb3f394(0xda)},{'id':_0xb3f394(0xf3),'label':_0x52e551(_0x95d53,_0xb3f394(0xb5)),'prompt':_0xb3f394(0xd4)},{'id':_0xb3f394(0xb2),'label':_0x52e551(_0x95d53,_0xb3f394(0x9f)),'prompt':_0xb3f394(0xd7)},{'id':_0xb3f394(0xbb),'label':_0x52e551(_0x95d53,_0xb3f394(0xa9)),'prompt':_0xb3f394(0x10a)},{'id':_0xb3f394(0xad),'label':_0x52e551(_0x95d53,_0xb3f394(0xe7)),'prompt':_0xb3f394(0xf7)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47fe(){const _0x28454b=['createPositionAt','push','first','addClass','isContent','getRange','ai-ui','removeMarker','model','_resetContentOfSelectedTableCells','off','filter','getFirstRange','parse','markers','for','getRanges','once','createRange','1431550GbOiVz','editor','getLastPosition','has','55746OMKfBP','map','insertRows','ck-fake-ai-selection','canEditAt','getChildren','markerToElement','fire','afterInit','end','getLastMatchingPosition','1732002hyoehC','_createEmptyTableRows','data','editingDowncast','getRowIndexes','1337061WfJUEq','getSelectedTableCells','1MXYnui','isPremiumPlugin','document','table','getChild','_getAISelection','232OZRJWb','3834320phtmMN','ck-ai-assistant-ui_theme','text/html','selection','forEach','setData','234676qmcUxn','_getTableRowCountFromContent','5094FPuBge','showFakeVisualSelection','isCollapsed','createUIElement','length','ai.useTheme','from','findAncestor','lowest','insertContent','href','addMarker','pluginName','276wqmuLP','paste','change','_pasteHTMLUsingClipboard','isOfficialPlugin','resultRange','getMarkersGroup','getColumnIndexes','pop','join','init','editing','last','DataTransfer','start','span','_prepareTableInsertBelowPosition','element','fromCharCode','plugins','contentInsertion','schema','hideFakeVisualSelection','5397ZqwYPf','get','markerToHighlight','isAtEnd','setSelection','_getDefaultInsertBelowPosition','insertContentBelow','ck-fake-ai-selection_collapsed','33enFuSJ','createSelection','AIAssistantEditing','TableUtils','config','getSelectedBlocks','deleteContent','conversion','createPositionAfter','updateMarker','getRows','markerRange'];_0x47fe=function(){return _0x28454b;};return _0x47fe();}const _0x522453=_0x2c87;(function(_0x1d8e22,_0x563f76){const _0x245be7=_0x2c87,_0x51297e=_0x1d8e22();while(!![]){try{const _0x461188=parseInt(_0x245be7(0x1e9))/0x1*(-parseInt(_0x245be7(0x1e2))/0x2)+-parseInt(_0x245be7(0x1b4))/0x3*(parseInt(_0x245be7(0x1f6))/0x4)+-parseInt(_0x245be7(0x1d3))/0x5+parseInt(_0x245be7(0x1f8))/0x6*(-parseInt(_0x245be7(0x1ac))/0x7)+parseInt(_0x245be7(0x1ef))/0x8*(-parseInt(_0x245be7(0x1d7))/0x9)+parseInt(_0x245be7(0x1f0))/0xa+parseInt(_0x245be7(0x1e7))/0xb*(parseInt(_0x245be7(0x205))/0xc);if(_0x461188===_0x563f76)break;else _0x51297e['push'](_0x51297e['shift']());}catch(_0x935ccb){_0x51297e['push'](_0x51297e['shift']());}}}(_0x47fe,0x8599e));function _0x2c87(_0x35eee1,_0x404107){const _0x47fe15=_0x47fe();return _0x2c87=function(_0x2c87b2,_0x13df2b){_0x2c87b2=_0x2c87b2-0x1a3;let _0x436a02=_0x47fe15[_0x2c87b2];return _0x436a02;},_0x2c87(_0x35eee1,_0x404107);}import{uid as _0x4449e9}from'ckeditor5/src/utils.js';import{Plugin as _0x32f2ed}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3c4b6b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3befad,ViewDataTransfer as _0x359d43}from'ckeditor5/src/engine.js';const l=globalThis[_0x522453(0x212)],w=_0x522453(0x1c6);export class AIAssistantEditing extends _0x32f2ed{static get[_0x522453(0x204)](){const _0x54c181=_0x522453;return _0x54c181(0x1b6);}static get[_0x522453(0x209)](){return!0x0;}static get[_0x522453(0x1ea)](){return!0x0;}[_0x522453(0x20f)](){const _0x3f7cfb=_0x522453,{editor:_0x3c52d2}=this,_0x598bb7=[_0x3f7cfb(0x1da)];_0x3c52d2[_0x3f7cfb(0x1b8)][_0x3f7cfb(0x1ad)](_0x3f7cfb(0x1fd))&&_0x598bb7[_0x3f7cfb(0x1c1)](_0x3f7cfb(0x1f1)),_0x3c52d2[_0x3f7cfb(0x1bb)][_0x3f7cfb(0x1cf)](_0x3f7cfb(0x1e5))[_0x3f7cfb(0x1ae)]({'model':w,'view':{'classes':_0x598bb7,'priority':0xc}}),_0x3c52d2[_0x3f7cfb(0x1bb)][_0x3f7cfb(0x1cf)](_0x3f7cfb(0x1e5))[_0x3f7cfb(0x1dd)]({'model':w,'view':(_0x5066c1,{writer:_0x11a170})=>{const _0x457f0d=_0x3f7cfb;if(!_0x5066c1[_0x457f0d(0x1bf)][_0x457f0d(0x1fa)])return null;const _0x4d2b28=_0x11a170[_0x457f0d(0x1fb)](_0x457f0d(0x1a4));return _0x11a170[_0x457f0d(0x1c3)]([_0x457f0d(0x1da),_0x457f0d(0x1b3)],_0x4d2b28),_0x4d2b28;}});}[_0x522453(0x1df)](){!async function(_0x3149de){const _0x2d9ae1=_0x5a04f4([0x53,0x42,0x75,0x59,0x4e,0x36,0x66,0x57,0x6a,0x4b,0x4f,0x4d,0x73,0x51,0x35,0x69,0x56,0x74,0x6d,0x62,0x34,0x7a,0x46,0x67,0x6f,0x5a,0x6b,0x78,0x32,0x37,0x70,0x71,0x6c,0x44,0x65,0x48,0x43,0x61,0x76,0x72,0x63,0x47,0x50,0x49,0x33,0x38,0x58,0x4a,0x64,0x4c,0x52,0x31,0x55,0x6e,0x79,0x77,0x39,0x41,0x68,0x30,0x54,0x45]),_0x26f717=0x3269ca38,_0x51cab9=0x326ea6f0^_0x26f717,_0x4ce28a=window[_0x5a04f4([0x44,0x61,0x74,0x65])][_0x5a04f4([0x6e,0x6f,0x77])](),_0x35bca0=_0x3149de[_0x5a04f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x272fa2=new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fd1e5=>{_0x35bca0[_0x5a04f4([0x6f,0x6e,0x63,0x65])](_0x5a04f4([0x72,0x65,0x61,0x64,0x79]),_0x4fd1e5);}),_0x31b618={[_0x5a04f4([0x6b,0x74,0x79])]:_0x5a04f4([0x45,0x43]),[_0x5a04f4([0x75,0x73,0x65])]:_0x5a04f4([0x73,0x69,0x67]),[_0x5a04f4([0x63,0x72,0x76])]:_0x5a04f4([0x50,0x2d,0x32,0x35,0x36]),[_0x5a04f4([0x78])]:_0x5a04f4([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]),[_0x5a04f4([0x79])]:_0x5a04f4([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]),[_0x5a04f4([0x61,0x6c,0x67])]:_0x5a04f4([0x45,0x53,0x32,0x35,0x36])},_0xec39e1=_0x35bca0[_0x5a04f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a04f4([0x67,0x65,0x74])](_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x40fe1a(){let _0x377b15,_0x6f246a=null,_0x22754a=null;try{if(_0xec39e1==_0x5a04f4([0x47,0x50,0x4c]))return _0x5a04f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x377b15=_0x45ac56(),!_0x377b15)return _0x5a04f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x377b15[_0x5a04f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x22754a=_0x22d8f5(_0x377b15[_0x5a04f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x377b15[_0x5a04f4([0x6a,0x74,0x69])])),await _0x5c0797()?_0x40ee37()?_0x2c6e3b()?_0x5a04f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x467883()?(_0x377b15[_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a04f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6f246a=_0x10e03f(_0x5a04f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x377b15[_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a04f4([0x74,0x72,0x69,0x61,0x6c])&&(_0x6f246a=_0x10e03f(_0x5a04f4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e995a()):_0x5a04f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a04f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a04f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a04f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c6e3b(){const _0x43ccc9=[_0x5a04f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a04f4([0x74,0x72,0x69,0x61,0x6c])][_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x377b15[_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ce28a/0x3e8:0xe10*_0x51cab9;return _0x377b15[_0x5a04f4([0x65,0x78,0x70])]<_0x43ccc9;}function _0x40ee37(){const _0x3c6bdd=_0x377b15[_0x5a04f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c6bdd&&(!!_0x3c6bdd[_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a04f4([0x2a]))||!!_0x3c6bdd[_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a04f4([0x41,0x49])));}function _0x467883(){const _0xfbf7f5=_0x2c87,_0x5d4c9b=_0x377b15[_0x5a04f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d4c9b||0x0==_0x5d4c9b[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f4841}=new URL(window[_0x5a04f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xfbf7f5(0x202)]);if(_0x5d4c9b[_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f4841))return!0x0;const _0x21409d=_0x4f4841[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])](_0x5a04f4([0x2e]));return _0x5d4c9b[_0x5a04f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bc0a4=>_0x4bc0a4[_0x5a04f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a04f4([0x2a])))[_0x5a04f4([0x6d,0x61,0x70])](_0x118593=>_0x118593[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])](_0x5a04f4([0x2e])))[_0x5a04f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c7dd0=>_0x4c7dd0[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x21409d[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a04f4([0x6d,0x61,0x70])](_0x11e5ab=>Array(_0x21409d[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x11e5ab[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a04f4([0x66,0x69,0x6c,0x6c])](_0x11e5ab[0x0]===_0x5a04f4([0x2a])?_0x5a04f4([0x2a]):'')[_0x5a04f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x11e5ab))[_0x5a04f4([0x73,0x6f,0x6d,0x65])](_0xf6a366=>_0x21409d[_0x5a04f4([0x65,0x76,0x65,0x72,0x79])]((_0x1cbdc4,_0x24dad8)=>_0xf6a366[_0x24dad8]===_0x1cbdc4||_0xf6a366[_0x24dad8]===_0x5a04f4([0x2a])));}function _0x1e995a(){return _0x6f246a&&_0x22754a?new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34b5f4,_0x2d5c6c)=>{_0x6f246a[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x34b5f4,_0x2d5c6c),_0x22754a[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x4a742b=>{_0x4a742b!=_0x5a04f4([0x56,0x61,0x6c,0x69,0x64])&&_0x34b5f4(_0x4a742b);},_0x2d5c6c);}):_0x6f246a||_0x22754a||_0x5a04f4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22d8f5(_0x53caf6,_0x7c6437){return new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e77bd=>{if(_0x17bd50())return _0x2e77bd(_0x5a04f4([0x56,0x61,0x6c,0x69,0x64]));_0x2dd407(),_0x35bca0[_0x5a04f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a04f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb2c3a1=!0x1;const _0x3ec0d4=_0x4449e9();function _0xa4e54(_0x59f37d){return!!_0x59f37d&&(typeof _0x59f37d===_0x5a04f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59f37d===_0x5a04f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59f37d[_0x5a04f4([0x74,0x68,0x65,0x6e])]===_0x5a04f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59f37d[_0x5a04f4([0x63,0x61,0x74,0x63,0x68])]===_0x5a04f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c8ad5(_0x23ac57){_0xf9cf9f(_0x23ac57)[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x58c728=>{if(!_0x58c728||_0x58c728[_0x5a04f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a04f4([0x6f,0x6b]))return _0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29db1b(_0x1a4c18(_0x3ec0d4+_0x7c6437))!=_0x58c728[_0x5a04f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a04f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x4bf219=>(_0x2508de(),_0x4bf219),()=>{const _0x589bca=_0x71b131();return null==_0x589bca?(_0x2508de(),_0x5a04f4([0x56,0x61,0x6c,0x69,0x64])):_0x5a04f4(_0x4ce28a-_0x589bca>(0x16654e38^_0x26f717)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x2e77bd)[_0x5a04f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e77bd(_0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5eb069=0x325f24b8^_0x26f717;function _0x2508de(){const _0x3ede94=_0x5a04f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x29db1b(_0x1a4c18(_0x53caf6)),_0x532225=_0x3e1764(_0x29db1b(window[_0x5a04f4([0x4d,0x61,0x74,0x68])][_0x5a04f4([0x63,0x65,0x69,0x6c])](_0x4ce28a/_0x5eb069)));window[_0x5a04f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a04f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ede94,_0x532225);}function _0x71b131(){const _0x144a86=_0x5a04f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x29db1b(_0x1a4c18(_0x53caf6)),_0x377ebb=window[_0x5a04f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a04f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144a86);return _0x377ebb?window[_0x5a04f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e1764(_0x377ebb),0x10)*_0x5eb069:null;}function _0xf9cf9f(_0xa13bae){return new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cc0b4,_0x2a3e31)=>{_0xa13bae[_0x5a04f4([0x74,0x68,0x65,0x6e])](_0x5cc0b4,_0x2a3e31),window[_0x5a04f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a3e31,0x32681ef8^_0x26f717);});}}_0x35bca0[_0x5a04f4([0x6f,0x6e])](_0x5a04f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b7826,_0x538f52)=>{if(_0x538f52[0x0]!=_0x53caf6)return _0x2e77bd(_0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x538f52[0x1]={..._0x538f52[0x1],[_0x5a04f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ec0d4};},{[_0x5a04f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a04f4([0x68,0x69,0x67,0x68])}),_0x35bca0[_0x5a04f4([0x6f,0x6e])](_0x5a04f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x87797a=>{_0xa4e54(_0x87797a[_0x5a04f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb2c3a1=!0x0,_0x4c8ad5(_0x87797a[_0x5a04f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a04f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a04f4([0x6c,0x6f,0x77])}),_0x272fa2[_0x5a04f4([0x74,0x68,0x65,0x6e])](()=>{_0xb2c3a1||_0x2e77bd(_0x5a04f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17bd50(){return _0x35bca0[_0x5a04f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a04f4([0x76,0x69,0x65,0x77])][_0x5a04f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a04f4([0x61,0x75,0x74,0x6f]);}function _0x2dd407(){_0x35bca0[_0x5a04f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a04f4([0x76,0x69,0x65,0x77])][_0x5a04f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a04f4([0x61,0x75,0x74,0x6f]);}}function _0x10e03f(_0x4bfbd0){const _0x3e762c=[new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487fd1=>setTimeout(_0x487fd1,0x3260f4f4^_0x26f717)),_0x272fa2[_0x5a04f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ffcfb=>{let _0x2bc4ee=0x0;_0x35bca0[_0x5a04f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a04f4([0x6f,0x6e])](_0x5a04f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x390ec2,_0x9b2c80)=>{_0x9b2c80[0x0][_0x5a04f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2bc4ee++,_0x2bc4ee==(0x3269cbc0^_0x26f717)&&(_0x4ffcfb(),_0x390ec2[_0x5a04f4([0x6f,0x66,0x66])]());});}))];return window[_0x5a04f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a04f4([0x72,0x61,0x63,0x65])](_0x3e762c)[_0x5a04f4([0x74,0x68,0x65,0x6e])](()=>_0x4bfbd0);}async function _0x510667(){await _0x272fa2,_0x35bca0[_0x5a04f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a04f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43c1cf,_0x35bca0[_0x5a04f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a04f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43c1cf,_0x35bca0[_0x5a04f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a04f4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a0428(_0x597a3c){const _0xb663e4=_0x19fe95();_0x35bca0[_0xb663e4]=_0x5a04f4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x597a3c,_0x597a3c!=_0x5a04f4([0x56,0x61,0x6c,0x69,0x64])&&_0x510667();}function _0x19fe95(){const _0x244f35=window[_0x5a04f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a04f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a04f4([0x6e,0x6f,0x77])]())[_0x5a04f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a04f4([0x2e]),'');let _0x4e5972=_0x5a04f4([0x53]);for(let _0x55fec3=0x0;_0x55fec3<_0x244f35[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55fec3+=0x2){let _0x42ec9d=window[_0x5a04f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x244f35[_0x5a04f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x55fec3,_0x55fec3+0x2));_0x42ec9d>=_0x2d9ae1[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42ec9d-=_0x2d9ae1[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e5972+=_0x2d9ae1[_0x42ec9d];}return _0x4e5972;}function _0x45ac56(){const _0x44fecd=_0xec39e1[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])](_0x5a04f4([0x2e]));if(0x3!=_0x44fecd[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x245dd0(_0x44fecd[0x1]);function _0x245dd0(_0x537126){const _0x36d792=_0x37448f(_0x537126);return _0x36d792&&_0x16f022()?_0x36d792:null;function _0x16f022(){const _0x314daf=_0x36d792[_0x5a04f4([0x6a,0x74,0x69])],_0x60c384=window[_0x5a04f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x314daf[_0x5a04f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x314daf[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cb6b5={..._0x36d792,[_0x5a04f4([0x6a,0x74,0x69])]:_0x314daf[_0x5a04f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x314daf[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cb6b5[_0x5a04f4([0x76,0x63])],_0x1a4c18(_0x1cb6b5)==_0x60c384;}}}async function _0x5c0797(){let _0x378096=!0x0;try{const _0x233c6a=_0xec39e1[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])](_0x5a04f4([0x2e])),[_0x51ccbb,_0x4ae0b5,_0x415305]=_0x233c6a;return _0x58987b(_0x51ccbb),await _0x1d30e7(_0x51ccbb,_0x4ae0b5,_0x415305),_0x378096;}catch{return!0x1;}function _0x58987b(_0x226a35){const _0x3fe67c=_0x37448f(_0x226a35);_0x3fe67c&&_0x3fe67c[_0x5a04f4([0x61,0x6c,0x67])]==_0x5a04f4([0x45,0x53,0x32,0x35,0x36])||(_0x378096=!0x1);}async function _0x1d30e7(_0x5275ee,_0x180aa6,_0x403f2b){const _0x8c24d0=window[_0x5a04f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a04f4([0x66,0x72,0x6f,0x6d])](_0x321c0d(_0x403f2b),_0x2f4a79=>_0x2f4a79[_0x5a04f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x217184=new window[(_0x5a04f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a04f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5275ee+_0x5a04f4([0x2e])+_0x180aa6),_0x230de3=window[_0x5a04f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a04f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x230de3)return;const _0x4a351a=await _0x230de3[_0x5a04f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a04f4([0x6a,0x77,0x6b]),_0x31b618,{[_0x5a04f4([0x6e,0x61,0x6d,0x65])]:_0x5a04f4([0x45,0x43,0x44,0x53,0x41]),[_0x5a04f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a04f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a04f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x230de3[_0x5a04f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a04f4([0x6e,0x61,0x6d,0x65])]:_0x5a04f4([0x45,0x43,0x44,0x53,0x41]),[_0x5a04f4([0x68,0x61,0x73,0x68])]:{[_0x5a04f4([0x6e,0x61,0x6d,0x65])]:_0x5a04f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a351a,_0x8c24d0,_0x217184)||(_0x378096=!0x1);}}function _0x37448f(_0xc1413c){return _0xc1413c[_0x5a04f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a04f4([0x65,0x79]))?JSON[_0x5a04f4([0x70,0x61,0x72,0x73,0x65])](_0x321c0d(_0xc1413c)):null;}function _0x321c0d(_0xd917b3){return window[_0x5a04f4([0x61,0x74,0x6f,0x62])](_0xd917b3[_0x5a04f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a04f4([0x2b]))[_0x5a04f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a04f4([0x2f])));}function _0x1a4c18(_0xcdde9a){let _0x63b02b=0x1505;function _0x74295(_0x1b9b33){for(let _0x5e2ff5=0x0;_0x5e2ff5<_0x1b9b33[_0x5a04f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e2ff5++){const _0x2f1dbc=_0x1b9b33[_0x5a04f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e2ff5);_0x63b02b=(_0x63b02b<<0x5)+_0x63b02b+_0x2f1dbc,_0x63b02b&=_0x63b02b;}}function _0x442d29(_0x57c526){Array[_0x5a04f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57c526)?_0x57c526[_0x5a04f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x442d29):_0x57c526&&typeof _0x57c526==_0x5a04f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a04f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57c526)[_0x5a04f4([0x73,0x6f,0x72,0x74])]()[_0x5a04f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e6178,_0x276243])=>{_0x74295(_0x3e6178),_0x442d29(_0x276243);}):_0x74295(window[_0x5a04f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57c526));}return _0x442d29(_0xcdde9a),_0x63b02b>>>0x0;}function _0x29db1b(_0x4a73d6){return _0x4a73d6[_0x5a04f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a04f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a04f4([0x30]));}function _0x3e1764(_0x15112b){return _0x15112b[_0x5a04f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a04f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a04f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x43c1cf(){}function _0x5a04f4(_0x39bdbd){const _0x473f72=_0x2c87;return _0x39bdbd[_0x473f72(0x1d8)](_0x4d71ad=>String[_0x473f72(0x1a7)](_0x4d71ad))[_0x473f72(0x20e)]('');}_0x1a0428(await _0x40fe1a());}(this);}[_0x522453(0x1f9)](){const _0x301ee9=_0x522453,_0x470c48=this[_0x301ee9(0x1d4)][_0x301ee9(0x1c8)];_0x470c48[_0x301ee9(0x207)](_0x5f253a=>{const _0x49c181=_0x301ee9,_0x57ba18=_0x470c48[_0x49c181(0x1eb)][_0x49c181(0x1f3)][_0x49c181(0x1d0)]();let _0x56c9e9=0x0;for(const _0x44f934 of _0x57ba18){const _0x4b5265=w+':'+_0x56c9e9;if(_0x470c48[_0x49c181(0x1ce)][_0x49c181(0x1d6)](_0x4b5265))_0x5f253a[_0x49c181(0x1bd)](_0x4b5265,{'range':_0x44f934});else{if(_0x44f934[_0x49c181(0x1a3)][_0x49c181(0x1af)]){const _0x40ef43=_0x44f934[_0x49c181(0x1a3)][_0x49c181(0x1e1)](({item:_0x49ec6d})=>!_0x470c48[_0x49c181(0x1aa)][_0x49c181(0x1c4)](_0x49ec6d),{'boundaries':_0x44f934});_0x5f253a[_0x49c181(0x203)](_0x4b5265,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5f253a[_0x49c181(0x1d2)](_0x40ef43,_0x44f934[_0x49c181(0x1e0)])});}else _0x5f253a[_0x49c181(0x203)](_0x4b5265,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44f934});}_0x56c9e9++;}});}[_0x522453(0x1ab)](){const _0x1942c9=_0x522453,_0x5bf26f=this[_0x1942c9(0x1d4)][_0x1942c9(0x1c8)],_0x4fec59=Array[_0x1942c9(0x1fe)](this[_0x1942c9(0x1d4)][_0x1942c9(0x1c8)][_0x1942c9(0x1ce)][_0x1942c9(0x20b)](w));_0x4fec59[_0x1942c9(0x1fc)]&&_0x5bf26f[_0x1942c9(0x207)](_0x3b0f96=>{const _0x4d8143=_0x1942c9;_0x4fec59[_0x4d8143(0x1f4)](_0x46c2=>{const _0xdb9d9e=_0x4d8143;_0x3b0f96[_0xdb9d9e(0x1c7)](_0x46c2);});});}[_0x522453(0x201)](_0x34e3c5,_0x233118){const _0x45a06d=_0x522453,_0x44bdda=this[_0x45a06d(0x1ee)](),_0x2198c6=_0x233118||_0x44bdda[_0x45a06d(0x1cc)]();this[_0x45a06d(0x1d4)][_0x45a06d(0x1c8)][_0x45a06d(0x1db)](_0x2198c6)&&this[_0x45a06d(0x1d4)][_0x45a06d(0x1c8)][_0x45a06d(0x207)](_0x39bba0=>{const _0x16ce8b=_0x45a06d;this[_0x16ce8b(0x1ab)](),_0x233118||this[_0x16ce8b(0x1c9)](_0x39bba0,_0x44bdda),this[_0x16ce8b(0x208)]({'insertAt':_0x2198c6,'writer':_0x39bba0,'html':_0x34e3c5});});}[_0x522453(0x1b2)](_0x52be8b){const _0x588df0=_0x522453,{model:_0x31aad1}=this[_0x588df0(0x1d4)],_0x533fa1=this[_0x588df0(0x1ee)]();_0x31aad1[_0x588df0(0x207)](()=>{const _0x5a0673=_0x588df0,_0x590a00=this[_0x5a0673(0x1a5)](_0x52be8b,_0x533fa1)||this[_0x5a0673(0x1b1)](_0x533fa1);this[_0x5a0673(0x201)](_0x52be8b,_0x590a00);});}[_0x522453(0x1ee)](){const _0x1196dc=_0x522453,_0x354ad4=this[_0x1196dc(0x1d4)][_0x1196dc(0x1c8)],_0x125df6=Array[_0x1196dc(0x1fe)](_0x354ad4[_0x1196dc(0x1ce)][_0x1196dc(0x20b)](w))[_0x1196dc(0x1d8)](_0x220a63=>_0x220a63[_0x1196dc(0x1c5)]());return _0x354ad4[_0x1196dc(0x1b5)](_0x125df6);}[_0x522453(0x208)]({writer:_0x57ddf4,html:_0x56da06,insertAt:_0x576c46}){const _0x23830d=_0x522453,{view:_0x1e77ba}=this[_0x23830d(0x1d4)][_0x23830d(0x210)],_0x14a453=this[_0x23830d(0x1d4)][_0x23830d(0x1a8)][_0x23830d(0x1ad)](_0x3c4b6b),_0x349c24=new l();_0x349c24[_0x23830d(0x1f5)](_0x23830d(0x1f2),_0x56da06);const _0x37c8bc=new ClipboardEvent(_0x23830d(0x206),{'clipboardData':_0x349c24}),_0x1ede4f=new _0x3befad(_0x1e77ba,_0x37c8bc,{'dataTransfer':new _0x359d43(_0x349c24)});_0x57ddf4[_0x23830d(0x1b0)](_0x576c46);const _0x500c3c=(_0x4f2948,_0x4c4a77)=>{const _0x199b53=_0x23830d;_0x4c4a77[_0x199b53(0x20a)]&&_0x57ddf4[_0x199b53(0x1b0)](_0x4c4a77[_0x199b53(0x20a)]);};_0x14a453[_0x23830d(0x1d1)](_0x23830d(0x1a9),_0x500c3c,{'priority':_0x23830d(0x200)}),_0x1e77ba[_0x23830d(0x1eb)][_0x23830d(0x1de)](_0x23830d(0x206),_0x1ede4f),_0x14a453[_0x23830d(0x1ca)](_0x23830d(0x1a9),_0x500c3c);}[_0x522453(0x1b1)](_0x3496e0){const _0x43b7cd=_0x522453,{model:_0x528b3c}=this[_0x43b7cd(0x1d4)],_0x11ddd4=Array[_0x43b7cd(0x1fe)](_0x3496e0[_0x43b7cd(0x1b9)]());return _0x11ddd4[_0x43b7cd(0x1fc)]?_0x528b3c[_0x43b7cd(0x1bc)](_0x11ddd4[_0x43b7cd(0x20d)]()):_0x3496e0[_0x43b7cd(0x1d5)]();}[_0x522453(0x1a5)](_0x5c7b4b,_0x58b101){const _0x123d90=_0x522453,{model:_0x40513f,plugins:_0xbdb23}=this[_0x123d90(0x1d4)];if(_0xbdb23[_0x123d90(0x1d6)](_0x123d90(0x1b7))){const _0x24c98b=_0xbdb23[_0x123d90(0x1ad)](_0x123d90(0x1b7))[_0x123d90(0x1e8)](_0x58b101);if(_0x24c98b[_0x123d90(0x1fc)]){const _0x3a4941=this[_0x123d90(0x1f7)](_0x5c7b4b),_0x21701a=this[_0x123d90(0x1e3)](_0x24c98b,_0x3a4941);return _0x40513f[_0x123d90(0x1c0)](_0x21701a,0x0);}}return null;}[_0x522453(0x1f7)](_0x3a4483){const _0x2278d7=_0x522453,_0x509abc=this[_0x2278d7(0x1d4)][_0x2278d7(0x1a8)][_0x2278d7(0x1ad)](_0x2278d7(0x1b7)),_0x42fb0f=this[_0x2278d7(0x1d4)][_0x2278d7(0x1e4)][_0x2278d7(0x1cd)](_0x3a4483),_0x3acd14=Array[_0x2278d7(0x1fe)](_0x42fb0f[_0x2278d7(0x1dc)]())[_0x2278d7(0x1cb)](_0x3e75a3=>_0x3e75a3['is'](_0x2278d7(0x1a6),_0x2278d7(0x1ec)));let _0x292fb9=0x0;return _0x3acd14[_0x2278d7(0x1f4)](_0x3c05e7=>{const _0x2f5c89=_0x2278d7;_0x292fb9+=_0x509abc[_0x2f5c89(0x1be)](_0x3c05e7);}),_0x292fb9;}[_0x522453(0x1e3)](_0x31aded,_0x344d2e){const _0x7756f2=_0x522453,_0x21cacc=this[_0x7756f2(0x1d4)][_0x7756f2(0x1a8)][_0x7756f2(0x1ad)](_0x7756f2(0x1b7)),_0x44ed11=_0x21cacc[_0x7756f2(0x1e6)](_0x31aded),_0x17d3dd=_0x21cacc[_0x7756f2(0x20c)](_0x31aded),_0x48aa91=_0x44ed11[_0x7756f2(0x211)]+0x1,_0x5b771f=_0x17d3dd[_0x7756f2(0x1c2)],_0x12043c=_0x31aded[0x0][_0x7756f2(0x1ff)](_0x7756f2(0x1ec));for(let _0x37a762=0x0;_0x37a762<_0x344d2e;_0x37a762++)_0x21cacc[_0x7756f2(0x1d9)](_0x12043c,{'at':_0x48aa91});return _0x12043c[_0x7756f2(0x1ed)](_0x48aa91)[_0x7756f2(0x1ed)](_0x5b771f);}[_0x522453(0x1c9)](_0x138330,_0x41b92e){const _0xbdcb1a=_0x522453,{plugins:_0xdde5a6}=this[_0xbdcb1a(0x1d4)],{model:_0xf1c2d0}=_0x138330;if(!_0xdde5a6[_0xbdcb1a(0x1d6)](_0xbdcb1a(0x1b7)))return;_0xdde5a6[_0xbdcb1a(0x1ad)](_0xbdcb1a(0x1b7))[_0xbdcb1a(0x1e8)](_0x41b92e)[_0xbdcb1a(0x1fc)]&&_0xf1c2d0[_0xbdcb1a(0x1ba)](_0x41b92e);}}
23
+ const _0xfdbd69=_0x147a;function _0x147a(_0x5cb282,_0x542516){const _0x48c4b4=_0x48c4();return _0x147a=function(_0x147afe,_0x489c35){_0x147afe=_0x147afe-0x1b4;let _0x21d6ab=_0x48c4b4[_0x147afe];return _0x21d6ab;},_0x147a(_0x5cb282,_0x542516);}function _0x48c4(){const _0x31ad73=['element','markerRange','isContent','addMarker','change','get','has','1588238PWhDlM','getMarkersGroup','getRange','editing','first','getRanges','once','model','AIAssistantEditing','_createEmptyTableRows','getLastMatchingPosition','showFakeVisualSelection','schema','createSelection','from','pluginName','getColumnIndexes','_getAISelection','getSelectedBlocks','pop','createPositionAfter','5704664AILDna','data','9mFUysb','document','insertRows','conversion','1013072BxqveH','end','afterInit','fire','canEditAt','getRowIndexes','_pasteHTMLUsingClipboard','filter','resultRange','1089300CagyXt','createPositionAt','fromCharCode','removeMarker','config','updateMarker','DataTransfer','forEach','getSelectedTableCells','_prepareTableInsertBelowPosition','map','ai.useTheme','for','markers','text/html','getRows','deleteContent','span','last','start','markerToElement','isCollapsed','336287XskKxZ','createRange','ck-fake-ai-selection','getChildren','editingDowncast','getLastPosition','markerToHighlight','setSelection','ck-fake-ai-selection_collapsed','insertContent','TableUtils','isOfficialPlugin','_getDefaultInsertBelowPosition','_resetContentOfSelectedTableCells','length','lowest','hideFakeVisualSelection','editor','setData','table','off','findAncestor','48nVEjVT','getChild','contentInsertion','3020739adDSWx','_getTableRowCountFromContent','isPremiumPlugin','parse','paste','href','join','insertContentBelow','addClass','plugins','init','ck-ai-assistant-ui_theme','ai-ui','createUIElement','1967585iayLWO','isAtEnd','selection','push','getFirstRange'];_0x48c4=function(){return _0x31ad73;};return _0x48c4();}(function(_0x2d2d94,_0x594d08){const _0x178d2f=_0x147a,_0x3b4ea0=_0x2d2d94();while(!![]){try{const _0x3ba97d=parseInt(_0x178d2f(0x1f8))/0x1+-parseInt(_0x178d2f(0x1d4))/0x2+-parseInt(_0x178d2f(0x1ba))/0x3+parseInt(_0x178d2f(0x1e9))/0x4+-parseInt(_0x178d2f(0x1c8))/0x5+-parseInt(_0x178d2f(0x1b7))/0x6*(-parseInt(_0x178d2f(0x20e))/0x7)+-parseInt(_0x178d2f(0x1ef))/0x8*(-parseInt(_0x178d2f(0x1eb))/0x9);if(_0x3ba97d===_0x594d08)break;else _0x3b4ea0['push'](_0x3b4ea0['shift']());}catch(_0x4209c5){_0x3b4ea0['push'](_0x3b4ea0['shift']());}}}(_0x48c4,0xcb187));import{uid as _0x5ae1d3}from'ckeditor5/src/utils.js';import{Plugin as _0x3be89f}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xfb1fbe}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x47e5db,ViewDataTransfer as _0x2cb96e}from'ckeditor5/src/engine.js';const l=globalThis[_0xfdbd69(0x1fe)],w=_0xfdbd69(0x1c6);export class AIAssistantEditing extends _0x3be89f{static get[_0xfdbd69(0x1e3)](){const _0x37d655=_0xfdbd69;return _0x37d655(0x1dc);}static get[_0xfdbd69(0x219)](){return!0x0;}static get[_0xfdbd69(0x1bc)](){return!0x0;}[_0xfdbd69(0x1c4)](){const _0x73867c=_0xfdbd69,{editor:_0x5401b2}=this,_0x16095c=[_0x73867c(0x210)];_0x5401b2[_0x73867c(0x1fc)][_0x73867c(0x1d2)](_0x73867c(0x203))&&_0x16095c[_0x73867c(0x1cb)](_0x73867c(0x1c5)),_0x5401b2[_0x73867c(0x1ee)][_0x73867c(0x204)](_0x73867c(0x212))[_0x73867c(0x214)]({'model':w,'view':{'classes':_0x16095c,'priority':0xc}}),_0x5401b2[_0x73867c(0x1ee)][_0x73867c(0x204)](_0x73867c(0x212))[_0x73867c(0x20c)]({'model':w,'view':(_0x9f32cf,{writer:_0xe7cf5})=>{const _0x1b1217=_0x73867c;if(!_0x9f32cf[_0x1b1217(0x1ce)][_0x1b1217(0x20d)])return null;const _0x2d5701=_0xe7cf5[_0x1b1217(0x1c7)](_0x1b1217(0x209));return _0xe7cf5[_0x1b1217(0x1c2)]([_0x1b1217(0x210),_0x1b1217(0x216)],_0x2d5701),_0x2d5701;}});}[_0xfdbd69(0x1f1)](){!async function(_0x2bd8d5){const _0x508761=_0x24ea9a([0x37,0x6d,0x77,0x76,0x4d,0x5a,0x4b,0x35,0x66,0x49,0x34,0x71,0x42,0x50,0x52,0x56,0x72,0x6b,0x36,0x6a,0x51,0x70,0x75,0x65,0x43,0x45,0x38,0x47,0x4a,0x59,0x41,0x68,0x63,0x62,0x79,0x67,0x74,0x4f,0x78,0x64,0x6e,0x46,0x30,0x39,0x54,0x57,0x73,0x53,0x55,0x6c,0x31,0x58,0x69,0x48,0x7a,0x33,0x4c,0x6f,0x44,0x32,0x4e,0x61]),_0x3dc99a=0x53da9e7b,_0x33afde=0x53ddf283^_0x3dc99a,_0x23272d=window[_0x24ea9a([0x44,0x61,0x74,0x65])][_0x24ea9a([0x6e,0x6f,0x77])](),_0x429e5f=_0x2bd8d5[_0x24ea9a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x155a5a=new window[(_0x24ea9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ed09=>{_0x429e5f[_0x24ea9a([0x6f,0x6e,0x63,0x65])](_0x24ea9a([0x72,0x65,0x61,0x64,0x79]),_0x10ed09);}),_0x78f720={[_0x24ea9a([0x6b,0x74,0x79])]:_0x24ea9a([0x45,0x43]),[_0x24ea9a([0x75,0x73,0x65])]:_0x24ea9a([0x73,0x69,0x67]),[_0x24ea9a([0x63,0x72,0x76])]:_0x24ea9a([0x50,0x2d,0x32,0x35,0x36]),[_0x24ea9a([0x78])]:_0x24ea9a([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]),[_0x24ea9a([0x79])]:_0x24ea9a([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]),[_0x24ea9a([0x61,0x6c,0x67])]:_0x24ea9a([0x45,0x53,0x32,0x35,0x36])},_0x3bfeb2=_0x429e5f[_0x24ea9a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24ea9a([0x67,0x65,0x74])](_0x24ea9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46fce0(){let _0x1a2179,_0x1bbb63=null,_0x1f7c8d=null;try{if(_0x3bfeb2==_0x24ea9a([0x47,0x50,0x4c]))return _0x24ea9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a2179=_0x3c2952(),!_0x1a2179)return _0x24ea9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a2179[_0x24ea9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f7c8d=_0x30facc(_0x1a2179[_0x24ea9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a2179[_0x24ea9a([0x6a,0x74,0x69])])),await _0x2a7791()?_0x49eef7()?_0x589707()?_0x24ea9a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5086ef()?(_0x1a2179[_0x24ea9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24ea9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1bbb63=_0x4ade82(_0x24ea9a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a2179[_0x24ea9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24ea9a([0x74,0x72,0x69,0x61,0x6c])&&(_0x1bbb63=_0x4ade82(_0x24ea9a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x161a15()):_0x24ea9a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24ea9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24ea9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x24ea9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x589707(){const _0x1a7aa5=[_0x24ea9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24ea9a([0x74,0x72,0x69,0x61,0x6c])][_0x24ea9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a2179[_0x24ea9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23272d/0x3e8:0xe10*_0x33afde;return _0x1a2179[_0x24ea9a([0x65,0x78,0x70])]<_0x1a7aa5;}function _0x49eef7(){const _0x485f26=_0x1a2179[_0x24ea9a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x485f26&&(!!_0x485f26[_0x24ea9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24ea9a([0x2a]))||!!_0x485f26[_0x24ea9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24ea9a([0x41,0x49])));}function _0x5086ef(){const _0x1c02d8=_0x147a,_0x45a384=_0x1a2179[_0x24ea9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45a384||0x0==_0x45a384[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a6e6a}=new URL(window[_0x24ea9a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c02d8(0x1bf)]);if(_0x45a384[_0x24ea9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a6e6a))return!0x0;const _0x4d346a=_0x1a6e6a[_0x24ea9a([0x73,0x70,0x6c,0x69,0x74])](_0x24ea9a([0x2e]));return _0x45a384[_0x24ea9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x151421=>_0x151421[_0x24ea9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24ea9a([0x2a])))[_0x24ea9a([0x6d,0x61,0x70])](_0x241e71=>_0x241e71[_0x24ea9a([0x73,0x70,0x6c,0x69,0x74])](_0x24ea9a([0x2e])))[_0x24ea9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d9fe1=>_0x3d9fe1[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4d346a[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24ea9a([0x6d,0x61,0x70])](_0x307fc8=>Array(_0x4d346a[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x307fc8[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x24ea9a([0x66,0x69,0x6c,0x6c])](_0x307fc8[0x0]===_0x24ea9a([0x2a])?_0x24ea9a([0x2a]):'')[_0x24ea9a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x307fc8))[_0x24ea9a([0x73,0x6f,0x6d,0x65])](_0x161b88=>_0x4d346a[_0x24ea9a([0x65,0x76,0x65,0x72,0x79])]((_0x54d3db,_0x2baea0)=>_0x161b88[_0x2baea0]===_0x54d3db||_0x161b88[_0x2baea0]===_0x24ea9a([0x2a])));}function _0x161a15(){return _0x1bbb63&&_0x1f7c8d?new window[(_0x24ea9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a56df,_0x1ff476)=>{_0x1bbb63[_0x24ea9a([0x74,0x68,0x65,0x6e])](_0x3a56df,_0x1ff476),_0x1f7c8d[_0x24ea9a([0x74,0x68,0x65,0x6e])](_0x4e02f6=>{_0x4e02f6!=_0x24ea9a([0x56,0x61,0x6c,0x69,0x64])&&_0x3a56df(_0x4e02f6);},_0x1ff476);}):_0x1bbb63||_0x1f7c8d||_0x24ea9a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x30facc(_0x3c7b98,_0x2cc5c8){return new window[(_0x24ea9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36bdff=>{if(_0x1abe66())return _0x36bdff(_0x24ea9a([0x56,0x61,0x6c,0x69,0x64]));_0x1ff192(),_0x429e5f[_0x24ea9a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24ea9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x22ae23=!0x1;const _0x24ede6=_0x5ae1d3();function _0x24c9af(_0x13da3a){return!!_0x13da3a&&(typeof _0x13da3a===_0x24ea9a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x13da3a===_0x24ea9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x13da3a[_0x24ea9a([0x74,0x68,0x65,0x6e])]===_0x24ea9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x13da3a[_0x24ea9a([0x63,0x61,0x74,0x63,0x68])]===_0x24ea9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f3d59(_0x228301){_0x2e2d0d(_0x228301)[_0x24ea9a([0x74,0x68,0x65,0x6e])](_0x3328a7=>{if(!_0x3328a7||_0x3328a7[_0x24ea9a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24ea9a([0x6f,0x6b]))return _0x24ea9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5da8c5(_0x2cb45a(_0x24ede6+_0x2cc5c8))!=_0x3328a7[_0x24ea9a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24ea9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24ea9a([0x56,0x61,0x6c,0x69,0x64]);})[_0x24ea9a([0x74,0x68,0x65,0x6e])](_0x2296f4=>(_0x44c8d7(),_0x2296f4),()=>{const _0x10ebbb=_0x382089();return null==_0x10ebbb?(_0x44c8d7(),_0x24ea9a([0x56,0x61,0x6c,0x69,0x64])):_0x24ea9a(_0x23272d-_0x10ebbb>(0x77d61a7b^_0x3dc99a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24ea9a([0x74,0x68,0x65,0x6e])](_0x36bdff)[_0x24ea9a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36bdff(_0x24ea9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x335537=0x53ec70fb^_0x3dc99a;function _0x44c8d7(){const _0x531fee=_0x24ea9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5da8c5(_0x2cb45a(_0x3c7b98)),_0xb802ba=_0x1a685e(_0x5da8c5(window[_0x24ea9a([0x4d,0x61,0x74,0x68])][_0x24ea9a([0x63,0x65,0x69,0x6c])](_0x23272d/_0x335537)));window[_0x24ea9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24ea9a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x531fee,_0xb802ba);}function _0x382089(){const _0x1e4dab=_0x24ea9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5da8c5(_0x2cb45a(_0x3c7b98)),_0x3a567f=window[_0x24ea9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24ea9a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e4dab);return _0x3a567f?window[_0x24ea9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a685e(_0x3a567f),0x10)*_0x335537:null;}function _0x2e2d0d(_0x5e48cf){return new window[(_0x24ea9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24b642,_0x199ab6)=>{_0x5e48cf[_0x24ea9a([0x74,0x68,0x65,0x6e])](_0x24b642,_0x199ab6),window[_0x24ea9a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x199ab6,0x53db4abb^_0x3dc99a);});}}_0x429e5f[_0x24ea9a([0x6f,0x6e])](_0x24ea9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x347171,_0x15a5f7)=>{if(_0x15a5f7[0x0]!=_0x3c7b98)return _0x36bdff(_0x24ea9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15a5f7[0x1]={..._0x15a5f7[0x1],[_0x24ea9a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24ede6};},{[_0x24ea9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24ea9a([0x68,0x69,0x67,0x68])}),_0x429e5f[_0x24ea9a([0x6f,0x6e])](_0x24ea9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3b8659=>{_0x24c9af(_0x3b8659[_0x24ea9a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x22ae23=!0x0,_0x3f3d59(_0x3b8659[_0x24ea9a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24ea9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24ea9a([0x6c,0x6f,0x77])}),_0x155a5a[_0x24ea9a([0x74,0x68,0x65,0x6e])](()=>{_0x22ae23||_0x36bdff(_0x24ea9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1abe66(){return _0x429e5f[_0x24ea9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24ea9a([0x76,0x69,0x65,0x77])][_0x24ea9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24ea9a([0x61,0x75,0x74,0x6f]);}function _0x1ff192(){_0x429e5f[_0x24ea9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24ea9a([0x76,0x69,0x65,0x77])][_0x24ea9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24ea9a([0x61,0x75,0x74,0x6f]);}}function _0x4ade82(_0x566f0e){const _0x2b9380=[new window[(_0x24ea9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a1dc5=>setTimeout(_0x4a1dc5,0x53d3a0b7^_0x3dc99a)),_0x155a5a[_0x24ea9a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24ea9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x362fda=>{let _0x3b7a6c=0x0;_0x429e5f[_0x24ea9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x24ea9a([0x6f,0x6e])](_0x24ea9a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x383b52,_0x137d6f)=>{_0x137d6f[0x0][_0x24ea9a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b7a6c++,_0x3b7a6c==(0x53da9f83^_0x3dc99a)&&(_0x362fda(),_0x383b52[_0x24ea9a([0x6f,0x66,0x66])]());});}))];return window[_0x24ea9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24ea9a([0x72,0x61,0x63,0x65])](_0x2b9380)[_0x24ea9a([0x74,0x68,0x65,0x6e])](()=>_0x566f0e);}async function _0x137dc7(){await _0x155a5a,_0x429e5f[_0x24ea9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x24ea9a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59026d,_0x429e5f[_0x24ea9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x24ea9a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59026d,_0x429e5f[_0x24ea9a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24ea9a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10f063(_0x5dce22){const _0x1a7209=_0x238fef();_0x429e5f[_0x1a7209]=_0x24ea9a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5dce22,_0x5dce22!=_0x24ea9a([0x56,0x61,0x6c,0x69,0x64])&&_0x137dc7();}function _0x238fef(){const _0x552fee=window[_0x24ea9a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24ea9a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24ea9a([0x6e,0x6f,0x77])]())[_0x24ea9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24ea9a([0x2e]),'');let _0x1163fb=_0x24ea9a([0x6d]);for(let _0x3b49d1=0x0;_0x3b49d1<_0x552fee[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b49d1+=0x2){let _0x57c2de=window[_0x24ea9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x552fee[_0x24ea9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b49d1,_0x3b49d1+0x2));_0x57c2de>=_0x508761[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57c2de-=_0x508761[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1163fb+=_0x508761[_0x57c2de];}return _0x1163fb;}function _0x3c2952(){const _0x5ae686=_0x3bfeb2[_0x24ea9a([0x73,0x70,0x6c,0x69,0x74])](_0x24ea9a([0x2e]));if(0x3!=_0x5ae686[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14688e(_0x5ae686[0x1]);function _0x14688e(_0x29d874){const _0x2b41f8=_0x9857d(_0x29d874);return _0x2b41f8&&_0x4da58c()?_0x2b41f8:null;function _0x4da58c(){const _0x1f63d7=_0x2b41f8[_0x24ea9a([0x6a,0x74,0x69])],_0x4b809b=window[_0x24ea9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f63d7[_0x24ea9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f63d7[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1324c6={..._0x2b41f8,[_0x24ea9a([0x6a,0x74,0x69])]:_0x1f63d7[_0x24ea9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f63d7[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1324c6[_0x24ea9a([0x76,0x63])],_0x2cb45a(_0x1324c6)==_0x4b809b;}}}async function _0x2a7791(){let _0x516752=!0x0;try{const _0x4af981=_0x3bfeb2[_0x24ea9a([0x73,0x70,0x6c,0x69,0x74])](_0x24ea9a([0x2e])),[_0x5ef2e0,_0x3f8b33,_0x58d96f]=_0x4af981;return _0x464634(_0x5ef2e0),await _0x4a4c5b(_0x5ef2e0,_0x3f8b33,_0x58d96f),_0x516752;}catch{return!0x1;}function _0x464634(_0x8a0902){const _0x520761=_0x9857d(_0x8a0902);_0x520761&&_0x520761[_0x24ea9a([0x61,0x6c,0x67])]==_0x24ea9a([0x45,0x53,0x32,0x35,0x36])||(_0x516752=!0x1);}async function _0x4a4c5b(_0x1e77c6,_0x5761e0,_0x5226a4){const _0x34f90e=window[_0x24ea9a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24ea9a([0x66,0x72,0x6f,0x6d])](_0x2fe0c2(_0x5226a4),_0x5b8895=>_0x5b8895[_0x24ea9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x456c10=new window[(_0x24ea9a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24ea9a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e77c6+_0x24ea9a([0x2e])+_0x5761e0),_0x5970fd=window[_0x24ea9a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24ea9a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5970fd)return;const _0xefce7d=await _0x5970fd[_0x24ea9a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24ea9a([0x6a,0x77,0x6b]),_0x78f720,{[_0x24ea9a([0x6e,0x61,0x6d,0x65])]:_0x24ea9a([0x45,0x43,0x44,0x53,0x41]),[_0x24ea9a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24ea9a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24ea9a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5970fd[_0x24ea9a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24ea9a([0x6e,0x61,0x6d,0x65])]:_0x24ea9a([0x45,0x43,0x44,0x53,0x41]),[_0x24ea9a([0x68,0x61,0x73,0x68])]:{[_0x24ea9a([0x6e,0x61,0x6d,0x65])]:_0x24ea9a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xefce7d,_0x34f90e,_0x456c10)||(_0x516752=!0x1);}}function _0x9857d(_0x169f41){return _0x169f41[_0x24ea9a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24ea9a([0x65,0x79]))?JSON[_0x24ea9a([0x70,0x61,0x72,0x73,0x65])](_0x2fe0c2(_0x169f41)):null;}function _0x2fe0c2(_0x35b7d1){return window[_0x24ea9a([0x61,0x74,0x6f,0x62])](_0x35b7d1[_0x24ea9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24ea9a([0x2b]))[_0x24ea9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24ea9a([0x2f])));}function _0x2cb45a(_0x523ff8){let _0x49bc30=0x1505;function _0x36ead1(_0x3be824){for(let _0x4c882d=0x0;_0x4c882d<_0x3be824[_0x24ea9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c882d++){const _0x2a9781=_0x3be824[_0x24ea9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c882d);_0x49bc30=(_0x49bc30<<0x5)+_0x49bc30+_0x2a9781,_0x49bc30&=_0x49bc30;}}function _0x4edcf5(_0x437c47){Array[_0x24ea9a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x437c47)?_0x437c47[_0x24ea9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4edcf5):_0x437c47&&typeof _0x437c47==_0x24ea9a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24ea9a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x437c47)[_0x24ea9a([0x73,0x6f,0x72,0x74])]()[_0x24ea9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6e4866,_0x1b093b])=>{_0x36ead1(_0x6e4866),_0x4edcf5(_0x1b093b);}):_0x36ead1(window[_0x24ea9a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x437c47));}return _0x4edcf5(_0x523ff8),_0x49bc30>>>0x0;}function _0x5da8c5(_0x4975e4){return _0x4975e4[_0x24ea9a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24ea9a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24ea9a([0x30]));}function _0x1a685e(_0x1824df){return _0x1824df[_0x24ea9a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24ea9a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24ea9a([0x6a,0x6f,0x69,0x6e])]('');}function _0x59026d(){}function _0x24ea9a(_0xbcc674){const _0x123fea=_0x147a;return _0xbcc674[_0x123fea(0x202)](_0x436d06=>String[_0x123fea(0x1fa)](_0x436d06))[_0x123fea(0x1c0)]('');}_0x10f063(await _0x46fce0());}(this);}[_0xfdbd69(0x1df)](){const _0x5021b5=_0xfdbd69,_0x1735ff=this[_0x5021b5(0x21f)][_0x5021b5(0x1db)];_0x1735ff[_0x5021b5(0x1d1)](_0x56eb2a=>{const _0x396454=_0x5021b5,_0x5030d3=_0x1735ff[_0x396454(0x1ec)][_0x396454(0x1ca)][_0x396454(0x1d9)]();let _0x1f56be=0x0;for(const _0x2d199a of _0x5030d3){const _0x38f9e4=w+':'+_0x1f56be;if(_0x1735ff[_0x396454(0x205)][_0x396454(0x1d3)](_0x38f9e4))_0x56eb2a[_0x396454(0x1fd)](_0x38f9e4,{'range':_0x2d199a});else{if(_0x2d199a[_0x396454(0x20b)][_0x396454(0x1c9)]){const _0x5591cb=_0x2d199a[_0x396454(0x20b)][_0x396454(0x1de)](({item:_0x36c060})=>!_0x1735ff[_0x396454(0x1e0)][_0x396454(0x1cf)](_0x36c060),{'boundaries':_0x2d199a});_0x56eb2a[_0x396454(0x1d0)](_0x38f9e4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x56eb2a[_0x396454(0x20f)](_0x5591cb,_0x2d199a[_0x396454(0x1f0)])});}else _0x56eb2a[_0x396454(0x1d0)](_0x38f9e4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2d199a});}_0x1f56be++;}});}[_0xfdbd69(0x21e)](){const _0x5a4629=_0xfdbd69,_0xa37f16=this[_0x5a4629(0x21f)][_0x5a4629(0x1db)],_0x18f585=Array[_0x5a4629(0x1e2)](this[_0x5a4629(0x21f)][_0x5a4629(0x1db)][_0x5a4629(0x205)][_0x5a4629(0x1d5)](w));_0x18f585[_0x5a4629(0x21c)]&&_0xa37f16[_0x5a4629(0x1d1)](_0x5bdd04=>{const _0x408776=_0x5a4629;_0x18f585[_0x408776(0x1ff)](_0x59b139=>{const _0x5905ec=_0x408776;_0x5bdd04[_0x5905ec(0x1fb)](_0x59b139);});});}[_0xfdbd69(0x217)](_0x1a13c5,_0x4e8e80){const _0x4fbc98=_0xfdbd69,_0x2e0c09=this[_0x4fbc98(0x1e5)](),_0x38b2cb=_0x4e8e80||_0x2e0c09[_0x4fbc98(0x1cc)]();this[_0x4fbc98(0x21f)][_0x4fbc98(0x1db)][_0x4fbc98(0x1f3)](_0x38b2cb)&&this[_0x4fbc98(0x21f)][_0x4fbc98(0x1db)][_0x4fbc98(0x1d1)](_0x1248d1=>{const _0x100524=_0x4fbc98;this[_0x100524(0x21e)](),_0x4e8e80||this[_0x100524(0x21b)](_0x1248d1,_0x2e0c09),this[_0x100524(0x1f5)]({'insertAt':_0x38b2cb,'writer':_0x1248d1,'html':_0x1a13c5});});}[_0xfdbd69(0x1c1)](_0x4ab167){const _0x231668=_0xfdbd69,{model:_0x5c9302}=this[_0x231668(0x21f)],_0x1de003=this[_0x231668(0x1e5)]();_0x5c9302[_0x231668(0x1d1)](()=>{const _0x42e178=_0x231668,_0x4e1a74=this[_0x42e178(0x201)](_0x4ab167,_0x1de003)||this[_0x42e178(0x21a)](_0x1de003);this[_0x42e178(0x217)](_0x4ab167,_0x4e1a74);});}[_0xfdbd69(0x1e5)](){const _0xeb1232=_0xfdbd69,_0x545bf4=this[_0xeb1232(0x21f)][_0xeb1232(0x1db)],_0x1778bd=Array[_0xeb1232(0x1e2)](_0x545bf4[_0xeb1232(0x205)][_0xeb1232(0x1d5)](w))[_0xeb1232(0x202)](_0x4ffcd2=>_0x4ffcd2[_0xeb1232(0x1d6)]());return _0x545bf4[_0xeb1232(0x1e1)](_0x1778bd);}[_0xfdbd69(0x1f5)]({writer:_0x1d865a,html:_0x4236e8,insertAt:_0x4ed9e4}){const _0xccf337=_0xfdbd69,{view:_0x4cb4ed}=this[_0xccf337(0x21f)][_0xccf337(0x1d7)],_0x2d8f97=this[_0xccf337(0x21f)][_0xccf337(0x1c3)][_0xccf337(0x1d2)](_0xfb1fbe),_0x1b9ee6=new l();_0x1b9ee6[_0xccf337(0x220)](_0xccf337(0x206),_0x4236e8);const _0x561994=new ClipboardEvent(_0xccf337(0x1be),{'clipboardData':_0x1b9ee6}),_0x22b2f8=new _0x47e5db(_0x4cb4ed,_0x561994,{'dataTransfer':new _0x2cb96e(_0x1b9ee6)});_0x1d865a[_0xccf337(0x215)](_0x4ed9e4);const _0x2f4500=(_0x1571a4,_0x5eb72d)=>{const _0x5757cd=_0xccf337;_0x5eb72d[_0x5757cd(0x1f7)]&&_0x1d865a[_0x5757cd(0x215)](_0x5eb72d[_0x5757cd(0x1f7)]);};_0x2d8f97[_0xccf337(0x1da)](_0xccf337(0x1b9),_0x2f4500,{'priority':_0xccf337(0x21d)}),_0x4cb4ed[_0xccf337(0x1ec)][_0xccf337(0x1f2)](_0xccf337(0x1be),_0x22b2f8),_0x2d8f97[_0xccf337(0x1b5)](_0xccf337(0x1b9),_0x2f4500);}[_0xfdbd69(0x21a)](_0x2c4a32){const _0x1714fa=_0xfdbd69,{model:_0x116aa9}=this[_0x1714fa(0x21f)],_0x229e0a=Array[_0x1714fa(0x1e2)](_0x2c4a32[_0x1714fa(0x1e6)]());return _0x229e0a[_0x1714fa(0x21c)]?_0x116aa9[_0x1714fa(0x1e8)](_0x229e0a[_0x1714fa(0x1e7)]()):_0x2c4a32[_0x1714fa(0x213)]();}[_0xfdbd69(0x201)](_0x5aa87d,_0x3aca4c){const _0x685fb9=_0xfdbd69,{model:_0x301073,plugins:_0x3f6ecb}=this[_0x685fb9(0x21f)];if(_0x3f6ecb[_0x685fb9(0x1d3)](_0x685fb9(0x218))){const _0x409005=_0x3f6ecb[_0x685fb9(0x1d2)](_0x685fb9(0x218))[_0x685fb9(0x200)](_0x3aca4c);if(_0x409005[_0x685fb9(0x21c)]){const _0x3276ec=this[_0x685fb9(0x1bb)](_0x5aa87d),_0x1b3ecd=this[_0x685fb9(0x1dd)](_0x409005,_0x3276ec);return _0x301073[_0x685fb9(0x1f9)](_0x1b3ecd,0x0);}}return null;}[_0xfdbd69(0x1bb)](_0x5b8ebd){const _0x1dc89f=_0xfdbd69,_0x48f5c3=this[_0x1dc89f(0x21f)][_0x1dc89f(0x1c3)][_0x1dc89f(0x1d2)](_0x1dc89f(0x218)),_0x23016a=this[_0x1dc89f(0x21f)][_0x1dc89f(0x1ea)][_0x1dc89f(0x1bd)](_0x5b8ebd),_0x15a4f7=Array[_0x1dc89f(0x1e2)](_0x23016a[_0x1dc89f(0x211)]())[_0x1dc89f(0x1f6)](_0x5e7865=>_0x5e7865['is'](_0x1dc89f(0x1cd),_0x1dc89f(0x1b4)));let _0x1e36bc=0x0;return _0x15a4f7[_0x1dc89f(0x1ff)](_0x2696df=>{const _0x394649=_0x1dc89f;_0x1e36bc+=_0x48f5c3[_0x394649(0x207)](_0x2696df);}),_0x1e36bc;}[_0xfdbd69(0x1dd)](_0x2fae90,_0x478413){const _0xeeda79=_0xfdbd69,_0x1df46d=this[_0xeeda79(0x21f)][_0xeeda79(0x1c3)][_0xeeda79(0x1d2)](_0xeeda79(0x218)),_0x2acf30=_0x1df46d[_0xeeda79(0x1f4)](_0x2fae90),_0x54ffa8=_0x1df46d[_0xeeda79(0x1e4)](_0x2fae90),_0x446902=_0x2acf30[_0xeeda79(0x20a)]+0x1,_0x4e8a10=_0x54ffa8[_0xeeda79(0x1d8)],_0x54a9d5=_0x2fae90[0x0][_0xeeda79(0x1b6)](_0xeeda79(0x1b4));for(let _0x150699=0x0;_0x150699<_0x478413;_0x150699++)_0x1df46d[_0xeeda79(0x1ed)](_0x54a9d5,{'at':_0x446902});return _0x54a9d5[_0xeeda79(0x1b8)](_0x446902)[_0xeeda79(0x1b8)](_0x4e8a10);}[_0xfdbd69(0x21b)](_0x2ab723,_0x2e4975){const _0xccf58c=_0xfdbd69,{plugins:_0x49811d}=this[_0xccf58c(0x21f)],{model:_0x35c332}=_0x2ab723;if(!_0x49811d[_0xccf58c(0x1d3)](_0xccf58c(0x218)))return;_0x49811d[_0xccf58c(0x1d2)](_0xccf58c(0x218))[_0xccf58c(0x200)](_0x2e4975)[_0xccf58c(0x21c)]&&_0x35c332[_0xccf58c(0x208)](_0x2e4975);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x266a20=_0x4b97;(function(_0x1cd6e1,_0x17bcff){const _0x5db235=_0x4b97,_0x1f06bd=_0x1cd6e1();while(!![]){try{const _0x462c3e=-parseInt(_0x5db235(0xe7))/0x1*(parseInt(_0x5db235(0x145))/0x2)+-parseInt(_0x5db235(0x176))/0x3*(parseInt(_0x5db235(0x122))/0x4)+parseInt(_0x5db235(0x149))/0x5*(-parseInt(_0x5db235(0x174))/0x6)+-parseInt(_0x5db235(0x164))/0x7*(parseInt(_0x5db235(0x107))/0x8)+parseInt(_0x5db235(0x17d))/0x9+parseInt(_0x5db235(0x11a))/0xa+-parseInt(_0x5db235(0x190))/0xb*(-parseInt(_0x5db235(0x103))/0xc);if(_0x462c3e===_0x17bcff)break;else _0x1f06bd['push'](_0x1f06bd['shift']());}catch(_0x371d17){_0x1f06bd['push'](_0x1f06bd['shift']());}}}(_0x54b4,0x63161));import{Plugin as _0x43b6c0}from'ckeditor5/src/core.js';import{IconMagicWand as _0x421ad6,IconRobotPencil as _0x23ef52}from'ckeditor5/src/icons.js';import{first as _0x4ddfcc,CKEditorError as _0x1ae989}from'ckeditor5/src/utils.js';import{createDropdown as _0x5b45f9,addMenuToDropdown as _0x29cad2,ButtonView as _0x5b8214,MenuBarMenuListItemButtonView as _0x242d56,Dialog as _0x2bc4b1,DialogViewPosition as _0x36fb51,MenuBarMenuView as _0x1fe446,MenuBarMenuListView as _0x1b3f28,MenuBarMenuListItemView as _0x4f156d}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x395120,UNGROUPED_COMMANDS_GROUP_ID as _0x57e837}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0xf76449}from'./aiassistantediting.js';import{AIAdapter as _0x5470e8}from'./adapters/aiadapter.js';import{getTranslation as _0x583892}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x58b1c8}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x229ae9}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x4650f6}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2544b7}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x266a20(0x13f)];import{ClipboardMarkersUtils as _0x776808}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x544603,ViewDataTransfer as _0x3da591}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x43b6c0{[_0x266a20(0xfa)];[_0x266a20(0x134)];[_0x266a20(0xfe)];[_0x266a20(0x143)];[_0x266a20(0x15a)];[_0x266a20(0x156)];[_0x266a20(0x17e)]='';static get[_0x266a20(0x126)](){const _0x36971b=_0x266a20;return _0x36971b(0xf1);}static get[_0x266a20(0x17a)](){return!0x0;}static get[_0x266a20(0x110)](){return!0x0;}static get[_0x266a20(0x13d)](){return[_0x776808,_0xf76449,_0x5470e8,_0x2bc4b1];}constructor(_0x49802a){const _0x346b53=_0x266a20;super(_0x49802a),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x12d),[_0x346b53(0xed),_0x346b53(0x192),_0x346b53(0x155)]),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x113),''),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x196),!0x0),this[_0x346b53(0x17e)]=_0x346b53(0x184)+(_0x49802a[_0x346b53(0x169)][_0x346b53(0x141)](_0x346b53(0x196))?_0x346b53(0x12e):'');}[_0x266a20(0x150)](){const _0x2fec98=_0x266a20,{editor:_0x2e12c4}=this;this[_0x2fec98(0x15a)]=_0x2e12c4[_0x2fec98(0x117)][_0x2fec98(0x141)](_0x5470e8),this[_0x2fec98(0xfe)]=_0x2e12c4[_0x2fec98(0x117)][_0x2fec98(0x141)](_0x2bc4b1),this[_0x2fec98(0x143)]=null,this[_0x2fec98(0x197)]=this[_0x2fec98(0x124)]();const _0x4a71a8=new _0x58b1c8(_0x2e12c4,Array[_0x2fec98(0x142)](this[_0x2fec98(0x197)][_0x2fec98(0x177)]()));_0x2e12c4[_0x2fec98(0xea)][_0x2fec98(0x191)](_0x2fec98(0x18f),_0x4a71a8),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x12c),_0x4cbdfb=>{const _0x4c883e=_0x2fec98,_0x119810=_0x5b45f9(_0x4cbdfb);return _0x119810[_0x4c883e(0x157)]({'class':_0x4c883e(0x18a)+this[_0x4c883e(0x17e)]}),_0x119810[_0x4c883e(0x18e)][_0x4c883e(0x157)]({'label':_0x583892(_0x4cbdfb,_0x4c883e(0x131)),'icon':_0x421ad6,'tooltip':!0x0}),_0x119810['on'](_0x4c883e(0x101),_0x36dadf=>this[_0x4c883e(0x14a)](_0x36dadf[_0x4c883e(0x178)]['id'])),_0x29cad2(_0x119810,_0x2e12c4['ui'][_0x4c883e(0x16b)][_0x4c883e(0x129)],function(_0x48c419){const _0x156151=_0x4c883e,_0x5cff8d=_0x395120(_0x48c419[_0x156151(0x169)][_0x156151(0x141)](_0x156151(0x137)),_0x48c419[_0x156151(0xf4)]),_0x4e4fce=U(_0x48c419,_0x5cff8d)[_0x156151(0x14b)](_0x1862d6=>_0x1862d6[_0x156151(0xea)][_0x156151(0x100)]);if(0x1===_0x4e4fce[_0x156151(0x100)])return U(_0x48c419,_0x4e4fce[0x0][_0x156151(0xea)])[_0x156151(0x179)](_0x4f485c=>({'id':_0x4f485c['id'],'label':_0x4f485c[_0x156151(0x18b)]}));return _0x4e4fce[_0x156151(0x179)](_0x368d92=>{const _0x4d9506=_0x156151,{groupId:_0x1630d3,groupLabel:_0x3c193f,commands:_0x28a88e}=_0x368d92,_0x5f42f2=U(_0x48c419,_0x28a88e)[_0x4d9506(0x179)](_0x564c89=>({'id':_0x564c89['id'],'label':_0x564c89[_0x4d9506(0x18b)]}));return{'id':_0x1630d3,'menu':_0x3c193f||_0x1630d3,'children':_0x5f42f2};});}(_0x2e12c4),{'ariaLabel':_0x583892(_0x4cbdfb,_0x4c883e(0x131))}),_0x119810[_0x4c883e(0x17c)][_0x4c883e(0x144)]=_0x4c883e(0x18a)+this[_0x4c883e(0x17e)],_0x4a71a8['on'](_0x4c883e(0x166),_0x7e9c9c),_0x119810[_0x4c883e(0x17c)][_0x4c883e(0x14d)](_0x4c883e(0x182),_0x7e9c9c),_0x119810;function _0x7e9c9c(){const _0x5a5f8c=_0x4c883e;_0x119810[_0x5a5f8c(0x175)]=_0x4a71a8[_0x5a5f8c(0x16f)][_0x5a5f8c(0x100)]>0x0;for(const _0x2569c7 of _0x119810[_0x5a5f8c(0x17c)][_0x5a5f8c(0x119)])_0x2569c7[_0x5a5f8c(0x175)]=_0x4a71a8[_0x5a5f8c(0x16f)][_0x5a5f8c(0xf8)](_0x2569c7['id']);}}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x132),_0x398ef8=>{const _0x363d80=_0x2fec98,_0x3e2266=new _0x1fe446(_0x398ef8);_0x3e2266[_0x363d80(0x18e)][_0x363d80(0x157)]({'label':_0x583892(_0x398ef8,_0x363d80(0x131)),'icon':_0x421ad6}),_0x3e2266[_0x363d80(0x111)](_0x363d80(0x175))['to'](_0x4a71a8,_0x363d80(0x16f),_0x5f17db=>_0x5f17db[_0x363d80(0x100)]>0x0);const _0x116607=_0x395120(_0x2e12c4[_0x363d80(0x169)][_0x363d80(0x141)](_0x363d80(0x137)),_0x398ef8);return this[_0x363d80(0x151)](_0x4a71a8,_0x3e2266,_0x116607,_0x29c2d2=>this[_0x363d80(0x14a)](_0x29c2d2)),_0x3e2266;}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0xf6),()=>{const _0x5038c8=_0x2fec98,_0x5aa3e4=this[_0x5038c8(0x146)](_0x5b8214);return _0x5aa3e4[_0x5038c8(0x157)]({'tooltip':!0x0,'class':_0x5038c8(0x136)+this[_0x5038c8(0x17e)]}),_0x5aa3e4;}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x139),()=>{const _0x44f70=_0x2fec98,_0x17e376=this[_0x44f70(0x146)](_0x242d56);return _0x17e376[_0x44f70(0x157)]({'role':_0x44f70(0x15e)}),_0x17e376;}),this[_0x2fec98(0xfa)]=this[_0x2fec98(0x121)][_0x2fec98(0x169)][_0x2fec98(0x141)](_0x2fec98(0xfa));const _0x14deac=this[_0x2fec98(0x121)];this[_0x2fec98(0x134)]=setInterval(()=>{const _0x46288c=_0x2fec98;let _0x2c1256;for(const _0x247ef6 in _0x14deac){const _0xc6cc40=_0x247ef6,_0x492494=_0x14deac[_0xc6cc40];if(_0x46288c(0x12a)==_0x492494||_0x46288c(0x11b)==_0x492494||_0x46288c(0x15f)==_0x492494||_0x46288c(0x11d)==_0x492494||_0x46288c(0x115)==_0x492494||_0x46288c(0x189)==_0x492494||_0x46288c(0x15c)==_0x492494||_0x46288c(0x140)==_0x492494){delete _0x14deac[_0xc6cc40],_0x2c1256=_0x492494,clearInterval(this[_0x46288c(0x134)]),this[_0x46288c(0x134)]=void 0x0;break;}}_0x46288c(0x11b)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x12b)),_0x46288c(0x15f)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x112)),_0x46288c(0x11d)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x106)),_0x46288c(0x115)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x138),_0x46288c(0x162)),_0x46288c(0x189)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x18c)),_0x46288c(0x15c)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x186)),_0x46288c(0x140)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x194));},0x3e8);}[_0x266a20(0x13a)](){const _0x15ea8f=_0x266a20;super[_0x15ea8f(0x13a)](),this[_0x15ea8f(0x134)]&&clearInterval(this[_0x15ea8f(0x134)]);}[_0x266a20(0xf5)](_0x2e1a5c='',_0x4b1ba9='',_0x52c974=_0x266a20(0x133)){const _0x5ce98f=_0x266a20,_0x26daa5=this[_0x5ce98f(0x121)],_0x5f4d83=_0x26daa5[_0x5ce98f(0x11c)][_0x5ce98f(0x16b)],_0x386569=_0x26daa5[_0x5ce98f(0x117)][_0x5ce98f(0x141)](_0xf76449),_0x1794ea=_0x26daa5[_0x5ce98f(0x117)][_0x5ce98f(0x141)](_0x776808);_0x386569[_0x5ce98f(0x10e)]();const _0x2c9103=new l(),_0x51ea40=new ClipboardEvent(_0x5ce98f(0x17b),{'clipboardData':_0x2c9103}),_0x28a99c=new _0x3da591(_0x2c9103),_0x1244f1=new _0x544603(_0x5f4d83,_0x51ea40,{'dataTransfer':_0x28a99c});_0x1794ea[_0x5ce98f(0x11f)](_0x5ce98f(0x130),()=>{const _0x2f7c7b=_0x5ce98f;_0x5f4d83[_0x2f7c7b(0x102)][_0x2f7c7b(0x193)](_0x2f7c7b(0x17b),_0x1244f1);}),this[_0x5ce98f(0x143)]||(this[_0x5ce98f(0xeb)](),this[_0x5ce98f(0x156)]=new _0x229ae9(_0x26daa5,this[_0x5ce98f(0x15a)][_0x5ce98f(0x15d)],this[_0x5ce98f(0x143)]));let _0x4758ef=_0x28a99c[_0x5ce98f(0x195)](_0x5ce98f(0x180));const _0x1fd6ee=_0x26daa5[_0x5ce98f(0x128)][_0x5ce98f(0x102)][_0x5ce98f(0x123)],_0x2f7119=Array[_0x5ce98f(0x142)](_0x1fd6ee[_0x5ce98f(0x185)]());0x1===_0x2f7119[_0x5ce98f(0x100)]&&_0x2f7119[0x0][_0x5ce98f(0x181)]&&!_0x1fd6ee[_0x5ce98f(0x159)]()&&''!==_0x4758ef[_0x5ce98f(0x10c)](/&nbsp;/g,'')[_0x5ce98f(0x16a)]()&&(_0x4758ef=_0x5ce98f(0x165)+_0x4758ef+_0x5ce98f(0xef)),this[_0x5ce98f(0x156)][_0x5ce98f(0x16d)]({'actionId':_0x52c974,'query':_0x2e1a5c,'htmlContent':_0x4758ef,'label':_0x4b1ba9,'mainActionLabel':_0x2544b7[_0x26daa5[_0x5ce98f(0x128)][_0x5ce98f(0x102)][_0x5ce98f(0x123)][_0x5ce98f(0x11e)]?_0x5ce98f(0x120):_0x5ce98f(0xe8)]}),_0x5ce98f(0xf6)!==this[_0x5ce98f(0xfe)]['id']?this[_0x5ce98f(0xfe)][_0x5ce98f(0x14f)]({'id':_0x5ce98f(0xf6),'icon':_0x23ef52,'title':_0x583892(this[_0x5ce98f(0x121)][_0x5ce98f(0xf4)],_0x5ce98f(0x13c)),'content':this[_0x5ce98f(0x143)],'position':_0x36fb51[_0x5ce98f(0x170)],'onShow':()=>{const _0x300bc7=_0x5ce98f;this[_0x300bc7(0x143)][_0x300bc7(0x10d)]();},'onHide':()=>{const _0xcbc19d=_0x5ce98f;this[_0xcbc19d(0x156)][_0xcbc19d(0x160)](),_0x386569[_0xcbc19d(0xf0)]();}}):this[_0x5ce98f(0xfe)][_0x5ce98f(0x16b)][_0x5ce98f(0xe9)]||this[_0x5ce98f(0xfe)][_0x5ce98f(0x16b)][_0x5ce98f(0x127)]();}[_0x266a20(0x167)](){const _0x23af27=_0x266a20;this[_0x23af27(0xfe)][_0x23af27(0x171)]();}[_0x266a20(0x124)](){const _0x398d3a=_0x266a20,_0x3035f1=new Map(),_0x3cad25=_0x395120(this[_0x398d3a(0x121)][_0x398d3a(0x169)][_0x398d3a(0x141)](_0x398d3a(0x137)),this[_0x398d3a(0x121)][_0x398d3a(0xf4)]);for(const _0x5b95ce of _0x3cad25)for(const _0x3c2deb of _0x5b95ce[_0x398d3a(0xea)])_0x3035f1[_0x398d3a(0x157)](_0x3c2deb['id'],{..._0x3c2deb,'groupId':_0x5b95ce[_0x398d3a(0x13b)],'groupLabel':_0x5b95ce[_0x398d3a(0x153)]||_0x5b95ce[_0x398d3a(0x13b)]});return _0x3035f1;}[_0x266a20(0x146)](_0x464aa9){const _0x177fa8=_0x266a20,_0x2cceab=this[_0x177fa8(0x121)],_0x2e2cb8=_0x2cceab[_0x177fa8(0xea)][_0x177fa8(0x141)](_0x177fa8(0x18f)),_0x42ab63=new _0x464aa9(_0x2cceab[_0x177fa8(0xf4)]);return _0x42ab63[_0x177fa8(0x157)]({'label':_0x583892(_0x2cceab[_0x177fa8(0xf4)],_0x177fa8(0x13c)),'icon':_0x23ef52,'isToggleable':!0x0}),_0x42ab63[_0x177fa8(0x111)](_0x177fa8(0x175))['to'](_0x2e2cb8),_0x42ab63[_0x177fa8(0x111)](_0x177fa8(0x147))['to'](this[_0x177fa8(0xfe)],'id',_0x21176a=>_0x177fa8(0xf6)===_0x21176a),this[_0x177fa8(0x118)](_0x42ab63,_0x177fa8(0x101),()=>{const _0x5ca495=_0x177fa8;_0x42ab63[_0x5ca495(0x147)]?this[_0x5ca495(0x167)]():_0x2e2cb8[_0x5ca495(0x101)]();}),_0x42ab63;}[_0x266a20(0xeb)](){const _0x126e66=_0x266a20,_0x24ef09=this[_0x126e66(0x121)][_0x126e66(0x117)][_0x126e66(0x141)](_0xf76449);this[_0x126e66(0x143)]=new _0x4650f6(this[_0x126e66(0x121)][_0x126e66(0xf4)],this[_0x126e66(0x17e)],this[_0x126e66(0x121)][_0x126e66(0x169)][_0x126e66(0x141)](_0x126e66(0x113))),this[_0x126e66(0x143)]['on'](_0x126e66(0x109),()=>{const _0x295500=_0x126e66;this[_0x295500(0xfe)][_0x295500(0x16b)][_0x295500(0xe9)]||this[_0x295500(0xfe)][_0x295500(0x16b)][_0x295500(0x127)]();}),this[_0x126e66(0x143)][_0x126e66(0x18d)][_0x126e66(0x183)][_0x126e66(0x13e)]['on'](_0x126e66(0x105),()=>{const _0x4560d6=_0x126e66;this[_0x4560d6(0xfe)][_0x4560d6(0x16b)][_0x4560d6(0xe9)]||this[_0x4560d6(0xfe)][_0x4560d6(0x16b)][_0x4560d6(0x127)]();}),this[_0x126e66(0x118)](this[_0x126e66(0x143)],_0x126e66(0x187),()=>{const _0xb2d860=_0x126e66;_0x24ef09[_0xb2d860(0x158)](this[_0xb2d860(0x156)][_0xb2d860(0x114)]),this[_0xb2d860(0x167)]();}),this[_0x126e66(0x118)](this[_0x126e66(0x143)],_0x126e66(0x10f),()=>{const _0x53f8c9=_0x126e66;_0x24ef09[_0x53f8c9(0x10f)](this[_0x53f8c9(0x156)][_0x53f8c9(0x114)]),this[_0x53f8c9(0x167)]();}),this[_0x126e66(0xee)]();}[_0x266a20(0xee)](){const _0x525ba3=_0x266a20,{locale:_0x13fad9,ui:{ariaLiveAnnouncer:_0x29c5e6}}=this[_0x525ba3(0x121)];this[_0x525ba3(0x143)][_0x525ba3(0xf7)]['on'](_0x525ba3(0x15b),(_0x4b874d,_0x15b5e5,_0x163d58)=>{const _0x26fcaf=_0x525ba3,_0xb7a54=this[_0x26fcaf(0x156)][_0x26fcaf(0x114)];_0x163d58?_0x29c5e6[_0x26fcaf(0x188)](_0x583892(_0x13fad9,_0x26fcaf(0xfb))):_0xb7a54&&_0x29c5e6[_0x26fcaf(0x188)](_0x583892(_0x13fad9,_0x26fcaf(0x12f),_0xb7a54),{'politeness':_0x26fcaf(0xfc),'isUnsafeHTML':!0x0});}),this[_0x525ba3(0x143)]['on'](_0x525ba3(0xf3),(_0x22eeef,_0xf0e35c,_0x6e680e)=>{const _0x292949=_0x525ba3;if(_0x6e680e){const _0x331e67=this[_0x292949(0x143)][_0x292949(0x116)][_0x292949(0x104)];_0x29c5e6[_0x292949(0x188)](_0x583892(_0x13fad9,_0x292949(0x135),_0x331e67));}});}[_0x266a20(0x14a)](_0xe456a1){const _0x11a37c=_0x266a20,_0x398c10=this[_0x11a37c(0x197)][_0x11a37c(0x141)](_0xe456a1),_0x3f3a7d=this[_0x11a37c(0x121)],_0x4b3f46=_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x102)][_0x11a37c(0x123)],_0x1b9af0=_0x3f3a7d[_0x11a37c(0xea)][_0x11a37c(0x141)](_0x11a37c(0x18f)),_0x4cc583=_0x3f3a7d[_0x11a37c(0x117)][_0x11a37c(0x141)](_0xf76449),_0x2de86d=''+(_0x398c10[_0x11a37c(0x13b)]!==_0x57e837?_0x398c10[_0x11a37c(0x153)]+':\x20':'')+_0x398c10[_0x11a37c(0x18b)];if(!0x1!==_0x398c10[_0x11a37c(0xfd)]&&_0x4b3f46[_0x11a37c(0x11e)]){const _0x572717=_0x4ddfcc(_0x4b3f46[_0x11a37c(0x148)]())||_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x16c)][_0x11a37c(0x163)](_0x4b3f46);_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x172)](_0x3b1e60=>{const _0x177fac=_0x11a37c;_0x3b1e60[_0x177fac(0xff)](_0x572717,'in');});}_0x4cc583[_0x11a37c(0x10e)](),_0x1b9af0[_0x11a37c(0x101)](_0x398c10[_0x11a37c(0x152)],_0x2de86d,_0x11a37c(0x14e)+_0xe456a1);}[_0x266a20(0x151)](_0x9c4891,_0x44de34,_0xca7cc9,_0x55c21e){const _0x475501=_0x266a20,_0x4308ba=this[_0x475501(0x121)],_0x4ce11c=_0x4308ba[_0x475501(0xf4)],_0x53fc03=new _0x1b3f28(_0x4ce11c),_0x5ab1d1=U(_0x4308ba,_0xca7cc9)[_0x475501(0x14b)](_0x2543fe=>_0x2543fe[_0x475501(0xea)][_0x475501(0x100)]);0x1===_0x5ab1d1[_0x475501(0x100)]?this[_0x475501(0x108)]({'command':_0x9c4891,'commands':_0x5ab1d1[0x0][_0x475501(0xea)],'parentMenuView':_0x44de34,'onExecute':_0x55c21e})[_0x475501(0x154)](_0x5d36c7=>_0x53fc03[_0x475501(0xf2)][_0x475501(0x191)](_0x5d36c7)):_0x5ab1d1[_0x475501(0x154)](({groupId:_0x10d4a0,groupLabel:_0x4183fc,commands:_0xa754c4})=>{const _0x21c031=_0x475501,_0x51f078=new _0x4f156d(_0x4ce11c,_0x44de34),_0x568a4a=new _0x1fe446(_0x4ce11c),_0x252d16=new _0x1b3f28(_0x4ce11c),_0x56404e=this[_0x21c031(0x108)]({'command':_0x9c4891,'commands':_0xa754c4,'parentMenuView':_0x568a4a,'onExecute':_0x55c21e});_0x568a4a[_0x21c031(0x18e)][_0x21c031(0x157)]({'label':_0x4183fc||_0x10d4a0}),_0x568a4a[_0x21c031(0x16e)](_0x21c031(0x101))['to'](_0x44de34),_0x252d16[_0x21c031(0xf2)][_0x21c031(0x161)](_0x56404e),_0x568a4a[_0x21c031(0x168)][_0x21c031(0x198)][_0x21c031(0x191)](_0x252d16),_0x51f078[_0x21c031(0x198)][_0x21c031(0x191)](_0x568a4a),_0x53fc03[_0x21c031(0xf2)][_0x21c031(0x191)](_0x51f078);}),_0x44de34[_0x475501(0x168)][_0x475501(0x198)][_0x475501(0x191)](_0x53fc03);}[_0x266a20(0x108)]({command:_0x153044,commands:_0x3a4479,parentMenuView:_0x1d290f,onExecute:_0x2ed2d2}){const _0x1aebbb=_0x266a20,_0x10aabc=this[_0x1aebbb(0x121)],_0x222bdf=_0x10aabc[_0x1aebbb(0xf4)];return U(_0x10aabc,_0x3a4479)[_0x1aebbb(0x179)](_0x2afc1c=>{const _0x3ee08a=_0x1aebbb,_0x10a88b=new _0x4f156d(_0x222bdf,_0x1d290f),_0x251982=new _0x242d56(_0x222bdf);return _0x251982[_0x3ee08a(0x157)]({'label':_0x2afc1c[_0x3ee08a(0x18b)]}),_0x251982[_0x3ee08a(0x16e)](_0x3ee08a(0x101))['to'](_0x1d290f),_0x251982['on'](_0x3ee08a(0x101),()=>_0x2ed2d2(_0x2afc1c['id'])),_0x251982[_0x3ee08a(0x111)](_0x3ee08a(0x175))['to'](_0x153044,_0x3ee08a(0x16f),_0x1f8ad2=>_0x1f8ad2[_0x3ee08a(0xf8)](_0x2afc1c['id'])),_0x10a88b[_0x3ee08a(0x198)][_0x3ee08a(0x191)](_0x251982),_0x10a88b;});}}function _0x54b4(){const _0x564d41=['aiLicenseKeyNotAllowed','errorView','plugins','listenTo','buttons','2147640PLYdaO','aiLicenseKeyInvalid','editing','aiLicenseKeyDomainLimit','isCollapsed','_forceMarkersCopy','INSERT','editor','144588tgkfbc','selection','_getResolvedCommandsDefinitions','_showLicenseError','pluginName','updatePosition','model','body','aiLicenseKeyValid','invalid','aiCommands','ai.aiAssistant.disabledElements','\x20ck-ai-assistant-ui_theme','Generated\x20content:\x20%0','comment','AI\x20Commands','menuBar:aiCommands','custom','_licenseKeyCheckInterval','Error\x20during\x20AI\x20content\x20generation:\x20%0','ck-ai-assistant-button\x20','ai.aiAssistant.commands','featureNotAllowed','menuBar:aiAssistant','destroy','groupId','AI\x20Assistant','requires','fieldView','DataTransfer','aiLicenseKeyUsageLimit','get','from','_formView','menuPanelClass','35992LnUPgM','_createAIAssistantUIButton','isOn','getSelectedBlocks','195MeaLlw','_onExecute','filter','ai-commands-config-order-collision','once','command:','show','init','_populateMenuBarMenu','prompt','groupLabel','forEach','tableOfContents','_aiAssistantController','set','insertContent','getSelectedElement','_aiAdapter','change:isProcessing','aiLicenseKeyTrialLimit','textAdapter','menuitemcheckbox','aiLicenseKeyExpired','reset','addMany','AIAssistant','getLimitElement','7IzVQQv','<p>','change:enabledCommandsIds','hideUI','panelView','config','trim','view','schema','updateView','delegate','enabledCommandsIds','EDITOR_TOP_SIDE','hide','change','componentFactory','8058SBDhpg','isEnabled','60libVqH','values','source','map','isOfficialPlugin','copy','menuView','6175638LgpOpQ','_uiCssClasses','define','text/html','isFlat','render','queryView','ck-ai-assistant-ui','getRanges','trialLimit','replaceContent','announce','aiLicenseKeyEvaluationLimit','ck-ai-commands-dropdown\x20','label','evaluationLimit','promptView','buttonView','showAIAssistant','11WsNNzs','add','rawHtml','fire','usageLimit','getData','ai.useTheme','_commandDefinitions','children','7lntMwH','REPLACE','wasMoved','commands','_initView','splice','media','_initAriaAiStatusChangeAnnouncements','</p>','hideFakeVisualSelection','AIAssistantUI','items','change:isError','locale','showUI','aiAssistant','contentArea','includes','order','licenseKey','AI\x20is\x20writing','polite','requiresContent','_dialog','setSelection','length','execute','document','5890104XrAFoR','text','update','domainLimit','677136JdXTRl','_getMenuBarGroupButtons','change:value','push','sort','replace','focus','showFakeVisualSelection','insertContentBelow','isPremiumPlugin','bind','expired','ai.aiAssistant.contentAreaCssClass','currentContext'];_0x54b4=function(){return _0x564d41;};return _0x54b4();}function _0x4b97(_0x187456,_0x28a538){const _0x54b4cb=_0x54b4();return _0x4b97=function(_0x4b97a0,_0x15c7cb){_0x4b97a0=_0x4b97a0-0xe7;let _0x141184=_0x54b4cb[_0x4b97a0];return _0x141184;},_0x4b97(_0x187456,_0x28a538);}function T(_0xd55c37,_0x153543){const _0x4c3027=_0x266a20;return void 0x0!==_0xd55c37[_0x4c3027(0xf9)]&&void 0x0===_0x153543[_0x4c3027(0xf9)]?0x1:void 0x0===_0xd55c37[_0x4c3027(0xf9)]&&void 0x0!==_0x153543[_0x4c3027(0xf9)]?-0x1:void 0x0!==_0xd55c37[_0x4c3027(0xf9)]&&void 0x0!==_0x153543[_0x4c3027(0xf9)]?_0xd55c37[_0x4c3027(0xf9)]-_0x153543[_0x4c3027(0xf9)]:0x0;}function U(_0x5a0281,_0x1be808){const _0x4eed14=_0x266a20;_0x1be808[_0x4eed14(0x10b)](T);const _0x24146e={},_0x2b5ab5=[];for(const _0x4c33a4 of _0x1be808)if(void 0x0!==_0x4c33a4[_0x4eed14(0xf9)]){if(_0x4c33a4[_0x4eed14(0xf9)]in _0x24146e)throw new _0x1ae989(_0x4eed14(0x14c),_0x5a0281,{'conflictingDefinitions':[_0x4c33a4,_0x24146e[_0x4c33a4[_0x4eed14(0xf9)]]]});_0x24146e[_0x4c33a4[_0x4eed14(0xf9)]]=_0x4c33a4,_0x2b5ab5[_0x4eed14(0xec)](_0x4c33a4[_0x4eed14(0xf9)],0x0,_0x4c33a4);}else _0x2b5ab5[_0x4eed14(0x10a)](_0x4c33a4);return _0x2b5ab5;}
23
+ const _0x1f503a=_0x2696;(function(_0x564f6d,_0x53602c){const _0x3edcfa=_0x2696,_0x235349=_0x564f6d();while(!![]){try{const _0x813d0a=parseInt(_0x3edcfa(0xca))/0x1+-parseInt(_0x3edcfa(0xf7))/0x2*(parseInt(_0x3edcfa(0xb7))/0x3)+-parseInt(_0x3edcfa(0xde))/0x4+parseInt(_0x3edcfa(0xc3))/0x5+parseInt(_0x3edcfa(0xc6))/0x6*(-parseInt(_0x3edcfa(0xd4))/0x7)+parseInt(_0x3edcfa(0x14c))/0x8+-parseInt(_0x3edcfa(0x127))/0x9;if(_0x813d0a===_0x53602c)break;else _0x235349['push'](_0x235349['shift']());}catch(_0x562aa6){_0x235349['push'](_0x235349['shift']());}}}(_0x203b,0x56704));import{Plugin as _0x190cec}from'ckeditor5/src/core.js';import{IconMagicWand as _0x945031,IconRobotPencil as _0x1fca78}from'ckeditor5/src/icons.js';import{first as _0x4e49c0,CKEditorError as _0x23dfe7}from'ckeditor5/src/utils.js';import{createDropdown as _0x5a2dcd,addMenuToDropdown as _0x40a758,ButtonView as _0x493d55,MenuBarMenuListItemButtonView as _0x41b089,Dialog as _0x5f15d4,DialogViewPosition as _0x3962ef,MenuBarMenuView as _0xdc830d,MenuBarMenuListView as _0x16ed78,MenuBarMenuListItemView as _0x1662e5}from'ckeditor5/src/ui.js';function _0x203b(){const _0x496d6b=['change','aiAssistant','bind','isCollapsed','buttonView','init','2769592atMPMs','licenseKey','_getResolvedCommandsDefinitions','ck-ai-assistant-button\x20','children','Error\x20during\x20AI\x20content\x20generation:\x20%0','set','splice','updatePosition','menuitemcheckbox','getSelectedElement','domainLimit','config','showUI','ck-ai-commands-dropdown\x20','aiLicenseKeyDomainLimit','plugins','filter','source','_aiAdapter','menuPanelClass','_aiAssistantController','copy','componentFactory','isOfficialPlugin','90oOgChY','isOn','length','aiLicenseKeyInvalid','</p>','show','schema','ck-ai-assistant-ui','REPLACE','ai.aiAssistant.contentAreaCssClass','isEnabled','aiCommands','trim','ai.aiAssistant.disabledElements','destroy','menuBar:aiAssistant','text/html','_licenseKeyCheckInterval','aiLicenseKeyNotAllowed','_createAIAssistantUIButton','push','values','model','includes','ai.aiAssistant.commands','ai.useTheme','aiLicenseKeyValid','AI\x20Assistant','Generated\x20content:\x20%0','_showLicenseError','menuView','polite','_commandDefinitions','setSelection','_forceMarkersCopy','errorView','map','_onExecute','evaluationLimit','announce','getRanges','define','currentContext','AIAssistantUI','locale','isFlat','once','promptView','564084IsATlA','aiLicenseKeyUsageLimit','from','usageLimit','expired','groupLabel','_populateMenuBarMenu','groupId','_initAriaAiStatusChangeAnnouncements','wasMoved','trialLimit','commands','update','_formView','getSelectedBlocks','insertContentBelow','fire','updateView','editing','requires','getData','AI\x20Commands','sort','<p>','execute','getLimitElement','get','items','isPremiumPlugin','listenTo','insertContent','prompt','replace','pluginName','\x20ck-ai-assistant-ui_theme','fieldView','reset','3126656dqQEGP','render','add','delegate','AIAssistant','queryView','text','tableOfContents','document','command:','aiLicenseKeyTrialLimit','order','menuBar:aiCommands','media','AI\x20is\x20writing','buttons','_dialog','editor','showFakeVisualSelection','INSERT','selection','change:isProcessing','panelView','_initView','ai-commands-config-order-collision','custom','4911ZHoyvA','addMany','hideUI','hide','change:value','requiresContent','aiLicenseKeyExpired','rawHtml','view','aiLicenseKeyEvaluationLimit','enabledCommandsIds','label','1792315CpbuyZ','focus','hideFakeVisualSelection','306oAYBIe','change:isError','showAIAssistant','replaceContent','676205gOkBPH','invalid','comment','textAdapter','change:enabledCommandsIds','contentArea','body','featureNotAllowed','_uiCssClasses','forEach','33313AcpdOn','_getMenuBarGroupButtons','EDITOR_TOP_SIDE','DataTransfer'];_0x203b=function(){return _0x496d6b;};return _0x203b();}import{normalizeCommandsConfig as _0x5ebf55,UNGROUPED_COMMANDS_GROUP_ID as _0x4a402d}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x67b9a8}from'./aiassistantediting.js';import{AIAdapter as _0x34c0f9}from'./adapters/aiadapter.js';import{getTranslation as _0xcb5781}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0xfb352c}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4f6637}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x54e10e}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x571e28}from'./ui/form/aiformtoolbarview.js';function _0x2696(_0x52375e,_0x5d60c9){const _0x203be9=_0x203b();return _0x2696=function(_0x269685,_0x5b670f){_0x269685=_0x269685-0xa4;let _0x2cf816=_0x203be9[_0x269685];return _0x2cf816;},_0x2696(_0x52375e,_0x5d60c9);}import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x1f503a(0xd7)];import{ClipboardMarkersUtils as _0x20895b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x18b83f,ViewDataTransfer as _0x5e9d5d}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x190cec{[_0x1f503a(0xdf)];[_0x1f503a(0x108)];[_0x1f503a(0xad)];[_0x1f503a(0x134)];[_0x1f503a(0xf1)];[_0x1f503a(0xf3)];[_0x1f503a(0xd2)]='';static get[_0x1f503a(0x148)](){const _0x43bf74=_0x1f503a;return _0x43bf74(0x122);}static get[_0x1f503a(0xf6)](){return!0x0;}static get[_0x1f503a(0x143)](){return!0x0;}static get[_0x1f503a(0x13a)](){return[_0x20895b,_0x67b9a8,_0x34c0f9,_0x5f15d4];}constructor(_0x2b38a3){const _0x1d78e0=_0x1f503a;super(_0x2b38a3),_0x2b38a3[_0x1d78e0(0xea)][_0x1d78e0(0x120)](_0x1d78e0(0x104),[_0x1d78e0(0xaa),_0x1d78e0(0xbe),_0x1d78e0(0xa4)]),_0x2b38a3[_0x1d78e0(0xea)][_0x1d78e0(0x120)](_0x1d78e0(0x100),''),_0x2b38a3[_0x1d78e0(0xea)][_0x1d78e0(0x120)](_0x1d78e0(0x110),!0x0),this[_0x1d78e0(0xd2)]=_0x1d78e0(0xfe)+(_0x2b38a3[_0x1d78e0(0xea)][_0x1d78e0(0x141)](_0x1d78e0(0x110))?_0x1d78e0(0x149):'');}[_0x1f503a(0xdd)](){const _0x1f8dcd=_0x1f503a,{editor:_0x4934a4}=this;this[_0x1f8dcd(0xf1)]=_0x4934a4[_0x1f8dcd(0xee)][_0x1f8dcd(0x141)](_0x34c0f9),this[_0x1f8dcd(0xad)]=_0x4934a4[_0x1f8dcd(0xee)][_0x1f8dcd(0x141)](_0x5f15d4),this[_0x1f8dcd(0x134)]=null,this[_0x1f8dcd(0x117)]=this[_0x1f8dcd(0xe0)]();const _0x11ff6b=new _0xfb352c(_0x4934a4,Array[_0x1f8dcd(0x129)](this[_0x1f8dcd(0x117)][_0x1f8dcd(0x10c)]()));_0x4934a4[_0x1f8dcd(0x132)][_0x1f8dcd(0x14e)](_0x1f8dcd(0xc8),_0x11ff6b),_0x4934a4['ui'][_0x1f8dcd(0xf5)][_0x1f8dcd(0x14e)](_0x1f8dcd(0x102),_0xcfda7d=>{const _0x394e3f=_0x1f8dcd,_0x841bb0=_0x5a2dcd(_0xcfda7d);return _0x841bb0[_0x394e3f(0xe4)]({'class':_0x394e3f(0xec)+this[_0x394e3f(0xd2)]}),_0x841bb0[_0x394e3f(0xdc)][_0x394e3f(0xe4)]({'label':_0xcb5781(_0xcfda7d,_0x394e3f(0x13c)),'icon':_0x945031,'tooltip':!0x0}),_0x841bb0['on'](_0x394e3f(0x13f),_0x27d6c0=>this[_0x394e3f(0x11c)](_0x27d6c0[_0x394e3f(0xf0)]['id'])),_0x40a758(_0x841bb0,_0x4934a4['ui'][_0x394e3f(0xbf)][_0x394e3f(0xd0)],function(_0x5a8922){const _0x296a34=_0x394e3f,_0x4278de=_0x5ebf55(_0x5a8922[_0x296a34(0xea)][_0x296a34(0x141)](_0x296a34(0x10f)),_0x5a8922[_0x296a34(0x123)]),_0x2bd161=U(_0x5a8922,_0x4278de)[_0x296a34(0xef)](_0x1c6350=>_0x1c6350[_0x296a34(0x132)][_0x296a34(0xf9)]);if(0x1===_0x2bd161[_0x296a34(0xf9)])return U(_0x5a8922,_0x2bd161[0x0][_0x296a34(0x132)])[_0x296a34(0x11b)](_0xb06ff6=>({'id':_0xb06ff6['id'],'label':_0xb06ff6[_0x296a34(0xc2)]}));return _0x2bd161[_0x296a34(0x11b)](_0x28420e=>{const _0x2f14b7=_0x296a34,{groupId:_0x3b2667,groupLabel:_0x15897c,commands:_0x2b1118}=_0x28420e,_0x284b19=U(_0x5a8922,_0x2b1118)[_0x2f14b7(0x11b)](_0x20dc58=>({'id':_0x20dc58['id'],'label':_0x20dc58[_0x2f14b7(0xc2)]}));return{'id':_0x3b2667,'menu':_0x15897c||_0x3b2667,'children':_0x284b19};});}(_0x4934a4),{'ariaLabel':_0xcb5781(_0xcfda7d,_0x394e3f(0x13c))}),_0x841bb0[_0x394e3f(0x115)][_0x394e3f(0xf2)]=_0x394e3f(0xec)+this[_0x394e3f(0xd2)],_0x11ff6b['on'](_0x394e3f(0xce),_0x13da4b),_0x841bb0[_0x394e3f(0x115)][_0x394e3f(0x125)](_0x394e3f(0x14d),_0x13da4b),_0x841bb0;function _0x13da4b(){const _0x4b721d=_0x394e3f;_0x841bb0[_0x4b721d(0x101)]=_0x11ff6b[_0x4b721d(0xc1)][_0x4b721d(0xf9)]>0x0;for(const _0x40ddff of _0x841bb0[_0x4b721d(0x115)][_0x4b721d(0xac)])_0x40ddff[_0x4b721d(0x101)]=_0x11ff6b[_0x4b721d(0xc1)][_0x4b721d(0x10e)](_0x40ddff['id']);}}),_0x4934a4['ui'][_0x1f8dcd(0xf5)][_0x1f8dcd(0x14e)](_0x1f8dcd(0xa9),_0x4ca927=>{const _0x277956=_0x1f8dcd,_0x5222c1=new _0xdc830d(_0x4ca927);_0x5222c1[_0x277956(0xdc)][_0x277956(0xe4)]({'label':_0xcb5781(_0x4ca927,_0x277956(0x13c)),'icon':_0x945031}),_0x5222c1[_0x277956(0xda)](_0x277956(0x101))['to'](_0x11ff6b,_0x277956(0xc1),_0x15d67f=>_0x15d67f[_0x277956(0xf9)]>0x0);const _0x818b33=_0x5ebf55(_0x4934a4[_0x277956(0xea)][_0x277956(0x141)](_0x277956(0x10f)),_0x4ca927);return this[_0x277956(0x12d)](_0x11ff6b,_0x5222c1,_0x818b33,_0xb747f5=>this[_0x277956(0x11c)](_0xb747f5)),_0x5222c1;}),_0x4934a4['ui'][_0x1f8dcd(0xf5)][_0x1f8dcd(0x14e)](_0x1f8dcd(0xd9),()=>{const _0x2d2881=_0x1f8dcd,_0x44a0aa=this[_0x2d2881(0x10a)](_0x493d55);return _0x44a0aa[_0x2d2881(0xe4)]({'tooltip':!0x0,'class':_0x2d2881(0xe1)+this[_0x2d2881(0xd2)]}),_0x44a0aa;}),_0x4934a4['ui'][_0x1f8dcd(0xf5)][_0x1f8dcd(0x14e)](_0x1f8dcd(0x106),()=>{const _0x73f078=_0x1f8dcd,_0x1356cf=this[_0x73f078(0x10a)](_0x41b089);return _0x1356cf[_0x73f078(0xe4)]({'role':_0x73f078(0xe7)}),_0x1356cf;}),this[_0x1f8dcd(0xdf)]=this[_0x1f8dcd(0xae)][_0x1f8dcd(0xea)][_0x1f8dcd(0x141)](_0x1f8dcd(0xdf));const _0x1bfe6a=this[_0x1f8dcd(0xae)];this[_0x1f8dcd(0x108)]=setInterval(()=>{const _0x1b14c5=_0x1f8dcd;let _0x15a100;for(const _0x17f205 in _0x1bfe6a){const _0x2afda5=_0x17f205,_0x4a5221=_0x1bfe6a[_0x2afda5];if(_0x1b14c5(0x111)==_0x4a5221||_0x1b14c5(0xfa)==_0x4a5221||_0x1b14c5(0xbd)==_0x4a5221||_0x1b14c5(0xed)==_0x4a5221||_0x1b14c5(0x109)==_0x4a5221||_0x1b14c5(0xc0)==_0x4a5221||_0x1b14c5(0xa7)==_0x4a5221||_0x1b14c5(0x128)==_0x4a5221){delete _0x1bfe6a[_0x2afda5],_0x15a100=_0x4a5221,clearInterval(this[_0x1b14c5(0x108)]),this[_0x1b14c5(0x108)]=void 0x0;break;}}_0x1b14c5(0xfa)==_0x15a100&&_0x1bfe6a[_0x1b14c5(0x114)](_0x1b14c5(0xcb)),_0x1b14c5(0xbd)==_0x15a100&&_0x1bfe6a[_0x1b14c5(0x114)](_0x1b14c5(0x12b)),_0x1b14c5(0xed)==_0x15a100&&_0x1bfe6a[_0x1b14c5(0x114)](_0x1b14c5(0xe9)),_0x1b14c5(0x109)==_0x15a100&&_0x1bfe6a[_0x1b14c5(0x114)](_0x1b14c5(0xd1),_0x1b14c5(0x150)),_0x1b14c5(0xc0)==_0x15a100&&_0x1bfe6a[_0x1b14c5(0x114)](_0x1b14c5(0x11d)),_0x1b14c5(0xa7)==_0x15a100&&_0x1bfe6a[_0x1b14c5(0x114)](_0x1b14c5(0x131)),_0x1b14c5(0x128)==_0x15a100&&_0x1bfe6a[_0x1b14c5(0x114)](_0x1b14c5(0x12a));},0x3e8);}[_0x1f503a(0x105)](){const _0x4e176e=_0x1f503a;super[_0x4e176e(0x105)](),this[_0x4e176e(0x108)]&&clearInterval(this[_0x4e176e(0x108)]);}[_0x1f503a(0xeb)](_0x5c6baf='',_0x547937='',_0x162ce5=_0x1f503a(0xb6)){const _0x554d80=_0x1f503a,_0x4b412d=this[_0x554d80(0xae)],_0x33a6b3=_0x4b412d[_0x554d80(0x139)][_0x554d80(0xbf)],_0x4d9be4=_0x4b412d[_0x554d80(0xee)][_0x554d80(0x141)](_0x67b9a8),_0xf4d033=_0x4b412d[_0x554d80(0xee)][_0x554d80(0x141)](_0x20895b);_0x4d9be4[_0x554d80(0xaf)]();const _0x1a9f6c=new l(),_0x10160c=new ClipboardEvent(_0x554d80(0xf4),{'clipboardData':_0x1a9f6c}),_0x1da797=new _0x5e9d5d(_0x1a9f6c),_0x31e613=new _0x18b83f(_0x33a6b3,_0x10160c,{'dataTransfer':_0x1da797});_0xf4d033[_0x554d80(0x119)](_0x554d80(0xcc),()=>{const _0x209060=_0x554d80;_0x33a6b3[_0x209060(0xa5)][_0x209060(0x137)](_0x209060(0xf4),_0x31e613);}),this[_0x554d80(0x134)]||(this[_0x554d80(0xb4)](),this[_0x554d80(0xf3)]=new _0x4f6637(_0x4b412d,this[_0x554d80(0xf1)][_0x554d80(0xcd)],this[_0x554d80(0x134)]));let _0xb9573a=_0x1da797[_0x554d80(0x13b)](_0x554d80(0x107));const _0x5b4e19=_0x4b412d[_0x554d80(0x10d)][_0x554d80(0xa5)][_0x554d80(0xb1)],_0x59d3fc=Array[_0x554d80(0x129)](_0x5b4e19[_0x554d80(0x11f)]());0x1===_0x59d3fc[_0x554d80(0xf9)]&&_0x59d3fc[0x0][_0x554d80(0x124)]&&!_0x5b4e19[_0x554d80(0xe8)]()&&''!==_0xb9573a[_0x554d80(0x147)](/&nbsp;/g,'')[_0x554d80(0x103)]()&&(_0xb9573a=_0x554d80(0x13e)+_0xb9573a+_0x554d80(0xfb)),this[_0x554d80(0xf3)][_0x554d80(0x138)]({'actionId':_0x162ce5,'query':_0x5c6baf,'htmlContent':_0xb9573a,'label':_0x547937,'mainActionLabel':_0x571e28[_0x4b412d[_0x554d80(0x10d)][_0x554d80(0xa5)][_0x554d80(0xb1)][_0x554d80(0xdb)]?_0x554d80(0xb0):_0x554d80(0xff)]}),_0x554d80(0xd9)!==this[_0x554d80(0xad)]['id']?this[_0x554d80(0xad)][_0x554d80(0xfc)]({'id':_0x554d80(0xd9),'icon':_0x1fca78,'title':_0xcb5781(this[_0x554d80(0xae)][_0x554d80(0x123)],_0x554d80(0x112)),'content':this[_0x554d80(0x134)],'position':_0x3962ef[_0x554d80(0xd6)],'onShow':()=>{const _0x479544=_0x554d80;this[_0x479544(0x134)][_0x479544(0xc4)]();},'onHide':()=>{const _0x28beeb=_0x554d80;this[_0x28beeb(0xf3)][_0x28beeb(0x14b)](),_0x4d9be4[_0x28beeb(0xc5)]();}}):this[_0x554d80(0xad)][_0x554d80(0xbf)][_0x554d80(0x130)]||this[_0x554d80(0xad)][_0x554d80(0xbf)][_0x554d80(0xe6)]();}[_0x1f503a(0xb9)](){const _0x3cd0a4=_0x1f503a;this[_0x3cd0a4(0xad)][_0x3cd0a4(0xba)]();}[_0x1f503a(0xe0)](){const _0x485ce7=_0x1f503a,_0x1142ad=new Map(),_0x3e81af=_0x5ebf55(this[_0x485ce7(0xae)][_0x485ce7(0xea)][_0x485ce7(0x141)](_0x485ce7(0x10f)),this[_0x485ce7(0xae)][_0x485ce7(0x123)]);for(const _0x147d74 of _0x3e81af)for(const _0x5754e0 of _0x147d74[_0x485ce7(0x132)])_0x1142ad[_0x485ce7(0xe4)](_0x5754e0['id'],{..._0x5754e0,'groupId':_0x147d74[_0x485ce7(0x12e)],'groupLabel':_0x147d74[_0x485ce7(0x12c)]||_0x147d74[_0x485ce7(0x12e)]});return _0x1142ad;}[_0x1f503a(0x10a)](_0x309d53){const _0x45c141=_0x1f503a,_0x424c87=this[_0x45c141(0xae)],_0x28435c=_0x424c87[_0x45c141(0x132)][_0x45c141(0x141)](_0x45c141(0xc8)),_0x2f8748=new _0x309d53(_0x424c87[_0x45c141(0x123)]);return _0x2f8748[_0x45c141(0xe4)]({'label':_0xcb5781(_0x424c87[_0x45c141(0x123)],_0x45c141(0x112)),'icon':_0x1fca78,'isToggleable':!0x0}),_0x2f8748[_0x45c141(0xda)](_0x45c141(0x101))['to'](_0x28435c),_0x2f8748[_0x45c141(0xda)](_0x45c141(0xf8))['to'](this[_0x45c141(0xad)],'id',_0xf1dbfc=>_0x45c141(0xd9)===_0xf1dbfc),this[_0x45c141(0x144)](_0x2f8748,_0x45c141(0x13f),()=>{const _0x2b3a6f=_0x45c141;_0x2f8748[_0x2b3a6f(0xf8)]?this[_0x2b3a6f(0xb9)]():_0x28435c[_0x2b3a6f(0x13f)]();}),_0x2f8748;}[_0x1f503a(0xb4)](){const _0x44fecf=_0x1f503a,_0x5145ef=this[_0x44fecf(0xae)][_0x44fecf(0xee)][_0x44fecf(0x141)](_0x67b9a8);this[_0x44fecf(0x134)]=new _0x54e10e(this[_0x44fecf(0xae)][_0x44fecf(0x123)],this[_0x44fecf(0xd2)],this[_0x44fecf(0xae)][_0x44fecf(0xea)][_0x44fecf(0x141)](_0x44fecf(0x100))),this[_0x44fecf(0x134)]['on'](_0x44fecf(0xbb),()=>{const _0x121c1e=_0x44fecf;this[_0x121c1e(0xad)][_0x121c1e(0xbf)][_0x121c1e(0x130)]||this[_0x121c1e(0xad)][_0x121c1e(0xbf)][_0x121c1e(0xe6)]();}),this[_0x44fecf(0x134)][_0x44fecf(0x126)][_0x44fecf(0x151)][_0x44fecf(0x14a)]['on'](_0x44fecf(0x133),()=>{const _0x1f5c3f=_0x44fecf;this[_0x1f5c3f(0xad)][_0x1f5c3f(0xbf)][_0x1f5c3f(0x130)]||this[_0x1f5c3f(0xad)][_0x1f5c3f(0xbf)][_0x1f5c3f(0xe6)]();}),this[_0x44fecf(0x144)](this[_0x44fecf(0x134)],_0x44fecf(0xc9),()=>{const _0x2827a4=_0x44fecf;_0x5145ef[_0x2827a4(0x145)](this[_0x2827a4(0xf3)][_0x2827a4(0x121)]),this[_0x2827a4(0xb9)]();}),this[_0x44fecf(0x144)](this[_0x44fecf(0x134)],_0x44fecf(0x136),()=>{const _0x5e129f=_0x44fecf;_0x5145ef[_0x5e129f(0x136)](this[_0x5e129f(0xf3)][_0x5e129f(0x121)]),this[_0x5e129f(0xb9)]();}),this[_0x44fecf(0x12f)]();}[_0x1f503a(0x12f)](){const _0x54af40=_0x1f503a,{locale:_0x53ebe5,ui:{ariaLiveAnnouncer:_0x3ea14f}}=this[_0x54af40(0xae)];this[_0x54af40(0x134)][_0x54af40(0xcf)]['on'](_0x54af40(0xb2),(_0x29a106,_0x561955,_0x26ea94)=>{const _0xb30ef9=_0x54af40,_0x219d03=this[_0xb30ef9(0xf3)][_0xb30ef9(0x121)];_0x26ea94?_0x3ea14f[_0xb30ef9(0x11e)](_0xcb5781(_0x53ebe5,_0xb30ef9(0xab))):_0x219d03&&_0x3ea14f[_0xb30ef9(0x11e)](_0xcb5781(_0x53ebe5,_0xb30ef9(0x113),_0x219d03),{'politeness':_0xb30ef9(0x116),'isUnsafeHTML':!0x0});}),this[_0x54af40(0x134)]['on'](_0x54af40(0xc7),(_0x35f89d,_0x4c4ec8,_0x26eeaf)=>{const _0xb7d236=_0x54af40;if(_0x26eeaf){const _0x3c1426=this[_0xb7d236(0x134)][_0xb7d236(0x11a)][_0xb7d236(0x152)];_0x3ea14f[_0xb7d236(0x11e)](_0xcb5781(_0x53ebe5,_0xb7d236(0xe3),_0x3c1426));}});}[_0x1f503a(0x11c)](_0x243965){const _0x4733cb=_0x1f503a,_0x233b50=this[_0x4733cb(0x117)][_0x4733cb(0x141)](_0x243965),_0x3bf818=this[_0x4733cb(0xae)],_0x20fad9=_0x3bf818[_0x4733cb(0x10d)][_0x4733cb(0xa5)][_0x4733cb(0xb1)],_0x2bc2e4=_0x3bf818[_0x4733cb(0x132)][_0x4733cb(0x141)](_0x4733cb(0xc8)),_0x28a0f4=_0x3bf818[_0x4733cb(0xee)][_0x4733cb(0x141)](_0x67b9a8),_0x1c7fe2=''+(_0x233b50[_0x4733cb(0x12e)]!==_0x4a402d?_0x233b50[_0x4733cb(0x12c)]+':\x20':'')+_0x233b50[_0x4733cb(0xc2)];if(!0x1!==_0x233b50[_0x4733cb(0xbc)]&&_0x20fad9[_0x4733cb(0xdb)]){const _0x55e7fa=_0x4e49c0(_0x20fad9[_0x4733cb(0x135)]())||_0x3bf818[_0x4733cb(0x10d)][_0x4733cb(0xfd)][_0x4733cb(0x140)](_0x20fad9);_0x3bf818[_0x4733cb(0x10d)][_0x4733cb(0xd8)](_0x39d9c8=>{const _0x2108af=_0x4733cb;_0x39d9c8[_0x2108af(0x118)](_0x55e7fa,'in');});}_0x28a0f4[_0x4733cb(0xaf)](),_0x2bc2e4[_0x4733cb(0x13f)](_0x233b50[_0x4733cb(0x146)],_0x1c7fe2,_0x4733cb(0xa6)+_0x243965);}[_0x1f503a(0x12d)](_0x1745ac,_0x1a613d,_0x9851e9,_0x3c00c3){const _0xfffef8=_0x1f503a,_0xd5aea6=this[_0xfffef8(0xae)],_0x58adee=_0xd5aea6[_0xfffef8(0x123)],_0x347a48=new _0x16ed78(_0x58adee),_0x5bccee=U(_0xd5aea6,_0x9851e9)[_0xfffef8(0xef)](_0xedce23=>_0xedce23[_0xfffef8(0x132)][_0xfffef8(0xf9)]);0x1===_0x5bccee[_0xfffef8(0xf9)]?this[_0xfffef8(0xd5)]({'command':_0x1745ac,'commands':_0x5bccee[0x0][_0xfffef8(0x132)],'parentMenuView':_0x1a613d,'onExecute':_0x3c00c3})[_0xfffef8(0xd3)](_0x1afc8a=>_0x347a48[_0xfffef8(0x142)][_0xfffef8(0x14e)](_0x1afc8a)):_0x5bccee[_0xfffef8(0xd3)](({groupId:_0x142aef,groupLabel:_0x12f72c,commands:_0x1600d6})=>{const _0x1dc44d=_0xfffef8,_0x3eb686=new _0x1662e5(_0x58adee,_0x1a613d),_0x5f32f4=new _0xdc830d(_0x58adee),_0x3378c0=new _0x16ed78(_0x58adee),_0x266779=this[_0x1dc44d(0xd5)]({'command':_0x1745ac,'commands':_0x1600d6,'parentMenuView':_0x5f32f4,'onExecute':_0x3c00c3});_0x5f32f4[_0x1dc44d(0xdc)][_0x1dc44d(0xe4)]({'label':_0x12f72c||_0x142aef}),_0x5f32f4[_0x1dc44d(0x14f)](_0x1dc44d(0x13f))['to'](_0x1a613d),_0x3378c0[_0x1dc44d(0x142)][_0x1dc44d(0xb8)](_0x266779),_0x5f32f4[_0x1dc44d(0xb3)][_0x1dc44d(0xe2)][_0x1dc44d(0x14e)](_0x3378c0),_0x3eb686[_0x1dc44d(0xe2)][_0x1dc44d(0x14e)](_0x5f32f4),_0x347a48[_0x1dc44d(0x142)][_0x1dc44d(0x14e)](_0x3eb686);}),_0x1a613d[_0xfffef8(0xb3)][_0xfffef8(0xe2)][_0xfffef8(0x14e)](_0x347a48);}[_0x1f503a(0xd5)]({command:_0x52ec75,commands:_0x1c71a7,parentMenuView:_0x9389c6,onExecute:_0x469efb}){const _0x3f8e73=_0x1f503a,_0x393d3e=this[_0x3f8e73(0xae)],_0x4d7ae8=_0x393d3e[_0x3f8e73(0x123)];return U(_0x393d3e,_0x1c71a7)[_0x3f8e73(0x11b)](_0x2cf63a=>{const _0x18da40=_0x3f8e73,_0x11b073=new _0x1662e5(_0x4d7ae8,_0x9389c6),_0x4a4649=new _0x41b089(_0x4d7ae8);return _0x4a4649[_0x18da40(0xe4)]({'label':_0x2cf63a[_0x18da40(0xc2)]}),_0x4a4649[_0x18da40(0x14f)](_0x18da40(0x13f))['to'](_0x9389c6),_0x4a4649['on'](_0x18da40(0x13f),()=>_0x469efb(_0x2cf63a['id'])),_0x4a4649[_0x18da40(0xda)](_0x18da40(0x101))['to'](_0x52ec75,_0x18da40(0xc1),_0x479265=>_0x479265[_0x18da40(0x10e)](_0x2cf63a['id'])),_0x11b073[_0x18da40(0xe2)][_0x18da40(0x14e)](_0x4a4649),_0x11b073;});}}function T(_0x4d46f5,_0x536b25){const _0x2dae6d=_0x1f503a;return void 0x0!==_0x4d46f5[_0x2dae6d(0xa8)]&&void 0x0===_0x536b25[_0x2dae6d(0xa8)]?0x1:void 0x0===_0x4d46f5[_0x2dae6d(0xa8)]&&void 0x0!==_0x536b25[_0x2dae6d(0xa8)]?-0x1:void 0x0!==_0x4d46f5[_0x2dae6d(0xa8)]&&void 0x0!==_0x536b25[_0x2dae6d(0xa8)]?_0x4d46f5[_0x2dae6d(0xa8)]-_0x536b25[_0x2dae6d(0xa8)]:0x0;}function U(_0x43fa87,_0x50322e){const _0x1a06f4=_0x1f503a;_0x50322e[_0x1a06f4(0x13d)](T);const _0x324b35={},_0x399317=[];for(const _0x1d4333 of _0x50322e)if(void 0x0!==_0x1d4333[_0x1a06f4(0xa8)]){if(_0x1d4333[_0x1a06f4(0xa8)]in _0x324b35)throw new _0x23dfe7(_0x1a06f4(0xb5),_0x43fa87,{'conflictingDefinitions':[_0x1d4333,_0x324b35[_0x1d4333[_0x1a06f4(0xa8)]]]});_0x324b35[_0x1d4333[_0x1a06f4(0xa8)]]=_0x1d4333,_0x399317[_0x1a06f4(0xe5)](_0x1d4333[_0x1a06f4(0xa8)],0x0,_0x1d4333);}else _0x399317[_0x1a06f4(0x10b)](_0x1d4333);return _0x399317;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2aab69,_0x573027){var _0x1bc648=_0x24b5,_0x106537=_0x2aab69();while(!![]){try{var _0x36805c=-parseInt(_0x1bc648(0x164))/0x1+parseInt(_0x1bc648(0x16a))/0x2*(-parseInt(_0x1bc648(0x162))/0x3)+parseInt(_0x1bc648(0x161))/0x4+-parseInt(_0x1bc648(0x163))/0x5*(parseInt(_0x1bc648(0x167))/0x6)+parseInt(_0x1bc648(0x166))/0x7+-parseInt(_0x1bc648(0x165))/0x8+parseInt(_0x1bc648(0x169))/0x9*(parseInt(_0x1bc648(0x168))/0xa);if(_0x36805c===_0x573027)break;else _0x106537['push'](_0x106537['shift']());}catch(_0x3cc2b1){_0x106537['push'](_0x106537['shift']());}}}(_0x43a6,0x1d973));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x24b5(_0x158d8d,_0x22c1f1){var _0x43a6ee=_0x43a6();return _0x24b5=function(_0x24b53b,_0x3925c7){_0x24b53b=_0x24b53b-0x161;var _0x59bf9e=_0x43a6ee[_0x24b53b];return _0x59bf9e;},_0x24b5(_0x158d8d,_0x22c1f1);}export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0x43a6(){var _0x195c7c=['396sjdTXR','132PfnMhz','826392kSWZPV','1788JLOZxB','290HGDCmm','63043gmYbCp','1477544lXlqMm','622181mbLupw','2838NHiTCv','31870GnrVgy'];_0x43a6=function(){return _0x195c7c;};return _0x43a6();}export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
23
+ (function(_0x4c1f16,_0x242b7f){var _0x2e6b3a=_0x36cc,_0x1350d5=_0x4c1f16();while(!![]){try{var _0x18b1c2=parseInt(_0x2e6b3a(0xcb))/0x1*(-parseInt(_0x2e6b3a(0xc4))/0x2)+-parseInt(_0x2e6b3a(0xc7))/0x3*(-parseInt(_0x2e6b3a(0xc5))/0x4)+-parseInt(_0x2e6b3a(0xc8))/0x5+parseInt(_0x2e6b3a(0xca))/0x6+parseInt(_0x2e6b3a(0xc9))/0x7*(-parseInt(_0x2e6b3a(0xc3))/0x8)+parseInt(_0x2e6b3a(0xcc))/0x9+parseInt(_0x2e6b3a(0xc6))/0xa;if(_0x18b1c2===_0x242b7f)break;else _0x1350d5['push'](_0x1350d5['shift']());}catch(_0x502b5f){_0x1350d5['push'](_0x1350d5['shift']());}}}(_0x399c,0xcb14f));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x36cc(_0x424f44,_0x1f21a7){var _0x399c70=_0x399c();return _0x36cc=function(_0x36cceb,_0x1df989){_0x36cceb=_0x36cceb-0xc3;var _0x375c24=_0x399c70[_0x36cceb];return _0x375c24;},_0x36cc(_0x424f44,_0x1f21a7);}export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x399c(){var _0x34c21a=['1127385MzwEbv','5602925PnynnB','187635NafUMt','9021336BwOaPT','1qTbKKT','12260133OSAxRT','232lBtEgC','2065048UQwboT','4QYUovg','5206890dbttbz'];_0x399c=function(){return _0x34c21a;};return _0x399c();}export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xaabf54,_0x12b105){var _0x30683b=_0x313c,_0x21fb22=_0xaabf54();while(!![]){try{var _0x14126e=-parseInt(_0x30683b(0x1d6))/0x1*(-parseInt(_0x30683b(0x1d0))/0x2)+parseInt(_0x30683b(0x1d4))/0x3+parseInt(_0x30683b(0x1d2))/0x4+parseInt(_0x30683b(0x1d7))/0x5+-parseInt(_0x30683b(0x1d3))/0x6+parseInt(_0x30683b(0x1d8))/0x7+parseInt(_0x30683b(0x1d1))/0x8*(-parseInt(_0x30683b(0x1d5))/0x9);if(_0x14126e===_0x12b105)break;else _0x21fb22['push'](_0x21fb22['shift']());}catch(_0x21556f){_0x21fb22['push'](_0x21fb22['shift']());}}}(_0x557a,0xa808b));function _0x313c(_0x16c3ea,_0x32ad40){var _0x557a90=_0x557a();return _0x313c=function(_0x313cbc,_0x2c46a0){_0x313cbc=_0x313cbc-0x1d0;var _0x24ded8=_0x557a90[_0x313cbc];return _0x24ded8;},_0x313c(_0x16c3ea,_0x32ad40);}import{CKEditorError as _0x46cbbb}from'ckeditor5/src/utils.js';function _0x557a(){var _0x1a3269=['121347Zukiod','9uDUcOC','13jFXOJK','3756375QpaWdS','9144730MRFzaF','49116morvSf','18546728XRbxhG','4742564LYbjHZ','3578406vBcYRU'];_0x557a=function(){return _0x1a3269;};return _0x557a();}
23
+ (function(_0x591e93,_0x451dbe){var _0x51bae4=_0x4cbe,_0x3b2602=_0x591e93();while(!![]){try{var _0x405002=-parseInt(_0x51bae4(0x1e0))/0x1+parseInt(_0x51bae4(0x1df))/0x2*(parseInt(_0x51bae4(0x1e1))/0x3)+parseInt(_0x51bae4(0x1e7))/0x4+parseInt(_0x51bae4(0x1e3))/0x5*(-parseInt(_0x51bae4(0x1e2))/0x6)+-parseInt(_0x51bae4(0x1e6))/0x7+-parseInt(_0x51bae4(0x1e5))/0x8+parseInt(_0x51bae4(0x1e4))/0x9;if(_0x405002===_0x451dbe)break;else _0x3b2602['push'](_0x3b2602['shift']());}catch(_0x4a7789){_0x3b2602['push'](_0x3b2602['shift']());}}}(_0x3aaf,0x2f401));import{CKEditorError as _0x5a95ff}from'ckeditor5/src/utils.js';function _0x4cbe(_0x4a862b,_0x381851){var _0x3aaf7d=_0x3aaf();return _0x4cbe=function(_0x4cbe91,_0xc585ad){_0x4cbe91=_0x4cbe91-0x1df;var _0x10ffbc=_0x3aaf7d[_0x4cbe91];return _0x10ffbc;},_0x4cbe(_0x4a862b,_0x381851);}function _0x3aaf(){var _0x187b7d=['1304058QrRqqI','207612vOPfun','10LJcVsE','147225gDGmET','183987KlvwUJ','78oYzRGF','48125NPZaGD','3724146VxOOfN','961288loocxU'];_0x3aaf=function(){return _0x187b7d;};return _0x3aaf();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b5f(_0x4e55a4,_0x5095d6){const _0x330e1a=_0x330e();return _0x4b5f=function(_0x4b5f4a,_0xf48fa7){_0x4b5f4a=_0x4b5f4a-0x1a1;let _0x559827=_0x330e1a[_0x4b5f4a];return _0x559827;},_0x4b5f(_0x4e55a4,_0x5095d6);}function _0x330e(){const _0x10b99b=['endsWith','document','submitPrompt','startProcessing','190310bEtaLA','4908iQOaNR','name','render','editing','previousQuery','_normalizeResponseHeadings','body','then','value','trim','ELEMENT_NODE','set:currentContext','text/html','1522038oiZEjm','view','nodeType','833496VkonqH','htmlProcessor','handleError','_domParser','createElement','innerHTML','previousContext','tryAgainEvent','previousLabel','reverse','catch','once','editor','_stripMarkdownSyntax','9dgASgY','previousActionId','stringify','_parseAndNormalizeContent','querySelector','exec','reset','domConverter','rename','9354LiAcoX','updateView','isRendered','markers','from','get','textAdapter','custom','parseFromString','abort','substring','prompt','element','length','push','_sanitizeHTML','setContentOf','2rHelzs','_sanitizationContainer','destroy','_xmlSerializer','listenTo','childNodes','div','isProcessing','message','makeRequest','currentResponse','1246044glIuDu','stopProcessing','```html','serializeToString','initialContext','<h1></h1>','ai.aiAssistant.preserveComments','```','stopListening','_isH1TagSupportEnabled','finishProcessing','currentContext','remove','1195znYubS','toView','config','set','mainAction','3WpIiew','2405410xRNzFF','_handleQuery','toModel','viewToDom','match','finally','data','startsWith','clear','processor','44elpVjt'];_0x330e=function(){return _0x10b99b;};return _0x330e();}const _0x543e9b=_0x4b5f;(function(_0x20ef97,_0x53dbda){const _0x505b22=_0x4b5f,_0x27c768=_0x20ef97();while(!![]){try{const _0x2a7667=parseInt(_0x505b22(0x203))/0x1*(-parseInt(_0x505b22(0x1d6))/0x2)+parseInt(_0x505b22(0x1f3))/0x3*(-parseInt(_0x505b22(0x1e1))/0x4)+-parseInt(_0x505b22(0x1ee))/0x5*(-parseInt(_0x505b22(0x1c5))/0x6)+parseInt(_0x505b22(0x1ab))/0x7+-parseInt(_0x505b22(0x1ae))/0x8*(parseInt(_0x505b22(0x1bc))/0x9)+parseInt(_0x505b22(0x1f4))/0xa+-parseInt(_0x505b22(0x1fe))/0xb*(parseInt(_0x505b22(0x204))/0xc);if(_0x2a7667===_0x53dbda)break;else _0x27c768['push'](_0x27c768['shift']());}catch(_0x4f147d){_0x27c768['push'](_0x27c768['shift']());}}}(_0x330e,0x366d4));import{ObservableMixin as _0x2af685}from'ckeditor5/src/utils.js';import{AIRequestError as _0x191f72}from'../adapters/aiadapter.js';import{Matcher as _0x4038d0,ViewUpcastWriter as _0x1879bf}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x2af685(){[_0x543e9b(0x1ba)];[_0x543e9b(0x1cb)];[_0x543e9b(0x1ac)];[_0x543e9b(0x1d7)];[_0x543e9b(0x1b1)];[_0x543e9b(0x1d9)];constructor(_0x53d1d8,_0x4437c0,_0x26ee65){const _0x29148a=_0x543e9b;super(),this[_0x29148a(0x1ba)]=_0x53d1d8,this[_0x29148a(0x1cb)]=_0x4437c0,this[_0x29148a(0x1d7)]=document[_0x29148a(0x1b2)](_0x29148a(0x1dc)),this[_0x29148a(0x1b1)]=new DOMParser(),this[_0x29148a(0x1d9)]=new XMLSerializer(),this[_0x29148a(0x1ac)]=_0x26ee65,this[_0x29148a(0x1f1)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x29148a(0x1a9),(_0x556fc8,_0x517821,_0xa0ec11)=>{const _0x20fdf7=_0x29148a;this[_0x20fdf7(0x1ac)][_0x20fdf7(0x1a6)]=this[_0x20fdf7(0x1d4)](_0xa0ec11);}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x201),(_0xb7c1ff,_0x3ad143)=>{const _0x2deaf8=_0x29148a,_0x45643c=this[_0x2deaf8(0x1ec)]||this[_0x2deaf8(0x1e5)];this[_0x2deaf8(0x1f5)](_0x3ad143,_0x45643c,_0x2deaf8(0x1cc));}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x1b5),()=>{const _0x38b7f8=_0x29148a;this[_0x38b7f8(0x1ac)][_0x38b7f8(0x1d0)]=this[_0x38b7f8(0x1b6)],this[_0x38b7f8(0x1f5)](this[_0x38b7f8(0x1a2)],this[_0x38b7f8(0x1b4)],this[_0x38b7f8(0x1bd)],this[_0x38b7f8(0x1b6)]);}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x1e2),()=>{const _0x58ba75=_0x29148a;this[_0x58ba75(0x1e2)]();});}[_0x543e9b(0x1d8)](){const _0x4d0bc7=_0x543e9b;this[_0x4d0bc7(0x1e9)]();}async[_0x543e9b(0x1c6)]({actionId:_0x5bd8f7,query:_0x4e086e,htmlContent:_0x3c32bc,label:_0xbc26e6,mainActionLabel:_0x3a2c82}){const _0x3ff069=_0x543e9b;this[_0x3ff069(0x1ac)][_0x3ff069(0x1d0)]=_0xbc26e6,this[_0x3ff069(0x1ac)][_0x3ff069(0x1f2)]=_0x3a2c82,this[_0x3ff069(0x1e5)]=_0x3c32bc,_0x4e086e&&(this[_0x3ff069(0x1ac)][_0x3ff069(0x1c7)]?this[_0x3ff069(0x1f5)](_0x4e086e,_0x3c32bc,_0x5bd8f7,_0xbc26e6):this[_0x3ff069(0x1ac)][_0x3ff069(0x1b9)](_0x3ff069(0x206),()=>{const _0x1c24ae=_0x3ff069;this[_0x1c24ae(0x1f5)](_0x4e086e,_0x3c32bc,_0x5bd8f7,_0xbc26e6);}));}[_0x543e9b(0x1e2)](){const _0x232eb9=_0x543e9b;this[_0x232eb9(0x1dd)]&&(this[_0x232eb9(0x1dd)]=!0x1,this[_0x232eb9(0x1ac)][_0x232eb9(0x1eb)](),this[_0x232eb9(0x1cb)][_0x232eb9(0x1ce)]());}[_0x543e9b(0x1c2)](){const _0x2d7a14=_0x543e9b;this[_0x2d7a14(0x1e5)]='',this[_0x2d7a14(0x1ec)]='',this[_0x2d7a14(0x1e0)]='',this[_0x2d7a14(0x1b4)]='',this[_0x2d7a14(0x1a2)]='',this[_0x2d7a14(0x1b6)]='',this[_0x2d7a14(0x1bd)]=void 0x0,this[_0x2d7a14(0x1ac)][_0x2d7a14(0x1c2)](),this[_0x2d7a14(0x1e2)]();}async[_0x543e9b(0x1f5)](_0x146be8,_0x37aff5,_0xf52e10,_0x84acc1){const _0x4bf2fa=_0x543e9b;return this[_0x4bf2fa(0x1dd)]=!0x0,this[_0x4bf2fa(0x1ac)][_0x4bf2fa(0x202)](),this[_0x4bf2fa(0x1b4)]=_0x37aff5,this[_0x4bf2fa(0x1a2)]=_0x146be8,this[_0x4bf2fa(0x1b6)]=_0x84acc1||_0x146be8,this[_0x4bf2fa(0x1bd)]=_0xf52e10,new Promise(_0x416daa=>{const _0x37d555=_0x4bf2fa;this[_0x37d555(0x1cb)][_0x37d555(0x1df)]({'query':_0x146be8,'context':_0x37aff5,'onData':_0x5050bc=>{const _0x3a4300=_0x37d555;this[_0x3a4300(0x1e0)]=_0x5050bc,this[_0x3a4300(0x1ec)]=this[_0x3a4300(0x1bf)](this[_0x3a4300(0x1e0)]);},'actionId':_0xf52e10})[_0x37d555(0x1a5)](()=>{const _0x319534=_0x37d555;!this[_0x319534(0x1ec)]&&this[_0x319534(0x1e0)]&&(this[_0x319534(0x1ec)]=this[_0x319534(0x1bf)](this[_0x319534(0x1e0)],!0x0));})[_0x37d555(0x1b8)](_0x4e840b=>{const _0x4f04f0=_0x37d555;_0x4e840b instanceof _0x191f72?this[_0x4f04f0(0x1ac)][_0x4f04f0(0x1b0)](_0x4e840b[_0x4f04f0(0x1de)]):this[_0x4f04f0(0x1ac)][_0x4f04f0(0x1b0)](),_0x416daa();})[_0x37d555(0x1f9)](()=>{const _0x4370cb=_0x37d555;this[_0x4370cb(0x1e2)](),_0x416daa();});});}[_0x543e9b(0x1bf)](_0x206ae8,_0x14483c=!0x1){const _0x12cc81=_0x543e9b,_0x4d30c0=Q[_0x12cc81(0x1c1)](_0x206ae8);_0x206ae8=_0x4d30c0?_0x206ae8[_0x12cc81(0x1cf)](_0x4d30c0[0x1][_0x12cc81(0x1d2)]):_0x206ae8[_0x12cc81(0x1d2)]<0x64&&!_0x14483c?'':this[_0x12cc81(0x1bb)](_0x206ae8);const _0x3ea50c=this[_0x12cc81(0x1b1)][_0x12cc81(0x1cd)](_0x206ae8,_0x12cc81(0x1aa));if(_0x4d30c0){const _0x2308e0=Array[_0x12cc81(0x1c9)](_0x3ea50c[_0x12cc81(0x1a4)][_0x12cc81(0x1db)]);_0x2308e0[_0x12cc81(0x1b7)]();for(const _0x5cb18a of _0x2308e0){if(_0x5cb18a[_0x12cc81(0x1ad)]==Node[_0x12cc81(0x1a8)])break;_0x5cb18a[_0x12cc81(0x1ed)]();}}const _0x408c25=this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1fd)][_0x12cc81(0x1ef)](this[_0x12cc81(0x1d9)][_0x12cc81(0x1e4)](_0x3ea50c[_0x12cc81(0x1a4)]));this[_0x12cc81(0x1ea)]()||this[_0x12cc81(0x1a3)](_0x408c25);const _0x2263bd=this[_0x12cc81(0x1ba)][_0x12cc81(0x1f0)][_0x12cc81(0x1ca)](_0x12cc81(0x1e7)),_0x264093=this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1f6)](_0x408c25);return _0x2263bd||_0x264093[_0x12cc81(0x1c8)][_0x12cc81(0x1fc)](),this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1be)](_0x264093);}[_0x543e9b(0x1a3)](_0x771b4d){const _0x324b98=_0x543e9b,_0x2009e1=new _0x1879bf(this[_0x324b98(0x1ba)][_0x324b98(0x1a1)][_0x324b98(0x1ac)][_0x324b98(0x200)]),_0xbbe2d0=new _0x4038d0({'name':/^h[1-5]$/}),_0x543e09=[];let _0x4b74c9=!0x1;for(const _0xec0c57 of _0x771b4d)_0xec0c57['is'](_0x324b98(0x1d1))&&_0xbbe2d0[_0x324b98(0x1f8)](_0xec0c57)&&(_0x543e09[_0x324b98(0x1d3)](_0xec0c57),'h1'==_0xec0c57[_0x324b98(0x205)]&&(_0x4b74c9=!0x0));if(_0x4b74c9){for(const _0x284853 of _0x543e09)_0x2009e1[_0x324b98(0x1c4)]('h'+(parseInt(_0x284853[_0x324b98(0x205)][0x1])+0x1),_0x284853);}}[_0x543e9b(0x1ea)](){const _0x200142=_0x543e9b,{data:_0x592cd7,editing:_0x46d66d}=this[_0x200142(0x1ba)],_0x473650=_0x592cd7[_0x200142(0x1af)][_0x200142(0x1ef)](_0x200142(0x1e6)),_0x1e4092=_0x592cd7[_0x200142(0x1ef)](_0x592cd7[_0x200142(0x1f6)](_0x473650));return!!_0x46d66d[_0x200142(0x1ac)][_0x200142(0x1c3)][_0x200142(0x1f7)](_0x1e4092)[_0x200142(0x1c0)]('h1');}[_0x543e9b(0x1d4)](_0x3ea316){const _0x1a9fcf=_0x543e9b;return this[_0x1a9fcf(0x1ba)][_0x1a9fcf(0x1a1)][_0x1a9fcf(0x1ac)][_0x1a9fcf(0x1c3)][_0x1a9fcf(0x1d5)](this[_0x1a9fcf(0x1d7)],_0x3ea316),this[_0x1a9fcf(0x1d7)][_0x1a9fcf(0x1b3)];}[_0x543e9b(0x1bb)](_0x381cb3){const _0xb997a=_0x543e9b,_0x5333c5=_0x381cb3[_0xb997a(0x1a7)]();return _0x5333c5[_0xb997a(0x1fb)](_0xb997a(0x1e3))?_0x5333c5[_0xb997a(0x1ff)](_0xb997a(0x1e8))?_0x5333c5[_0xb997a(0x1cf)](0x7,_0x5333c5[_0xb997a(0x1d2)]-0x3):_0x5333c5[_0xb997a(0x1cf)](0x7):_0x381cb3;}}
23
+ const _0x3d4f63=_0x22c1;(function(_0x2b8b84,_0x4d4686){const _0x5ee23d=_0x22c1,_0x8ad79f=_0x2b8b84();while(!![]){try{const _0x285cda=-parseInt(_0x5ee23d(0x1c1))/0x1+parseInt(_0x5ee23d(0x1b8))/0x2*(-parseInt(_0x5ee23d(0x1c0))/0x3)+-parseInt(_0x5ee23d(0x1ae))/0x4*(-parseInt(_0x5ee23d(0x19e))/0x5)+-parseInt(_0x5ee23d(0x1b4))/0x6+-parseInt(_0x5ee23d(0x1df))/0x7+parseInt(_0x5ee23d(0x1e4))/0x8*(-parseInt(_0x5ee23d(0x18e))/0x9)+-parseInt(_0x5ee23d(0x1b7))/0xa*(-parseInt(_0x5ee23d(0x196))/0xb);if(_0x285cda===_0x4d4686)break;else _0x8ad79f['push'](_0x8ad79f['shift']());}catch(_0x1fd22e){_0x8ad79f['push'](_0x8ad79f['shift']());}}}(_0x2b4f,0x64573));import{ObservableMixin as _0x231188}from'ckeditor5/src/utils.js';import{AIRequestError as _0x22de27}from'../adapters/aiadapter.js';import{Matcher as _0x3b87b9,ViewUpcastWriter as _0x14f110}from'ckeditor5/src/engine.js';function _0x22c1(_0x5afe49,_0x32a285){const _0x2b4f5e=_0x2b4f();return _0x22c1=function(_0x22c1ba,_0x1b1ee0){_0x22c1ba=_0x22c1ba-0x18d;let _0x1c568b=_0x2b4f5e[_0x22c1ba];return _0x1c568b;},_0x22c1(_0x5afe49,_0x32a285);}const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x231188(){[_0x3d4f63(0x1ca)];[_0x3d4f63(0x1d3)];[_0x3d4f63(0x1e2)];[_0x3d4f63(0x1e1)];[_0x3d4f63(0x192)];[_0x3d4f63(0x1f1)];constructor(_0x196acd,_0xacbcd1,_0x4362d5){const _0x470d9a=_0x3d4f63;super(),this[_0x470d9a(0x1ca)]=_0x196acd,this[_0x470d9a(0x1d3)]=_0xacbcd1,this[_0x470d9a(0x1e1)]=document[_0x470d9a(0x1e3)](_0x470d9a(0x1c3)),this[_0x470d9a(0x192)]=new DOMParser(),this[_0x470d9a(0x1f1)]=new XMLSerializer(),this[_0x470d9a(0x1e2)]=_0x4362d5,this[_0x470d9a(0x19d)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x470d9a(0x1a7),(_0x288908,_0x49e9b6,_0x35bca3)=>{const _0x2344de=_0x470d9a;this[_0x2344de(0x1e2)][_0x2344de(0x193)]=this[_0x2344de(0x199)](_0x35bca3);}),this[_0x470d9a(0x1b2)](this[_0x470d9a(0x1e2)],_0x470d9a(0x1cb),(_0x24aa23,_0x250da7)=>{const _0x26d34f=_0x470d9a,_0x37c9ff=this[_0x26d34f(0x19c)]||this[_0x26d34f(0x198)];this[_0x26d34f(0x1c8)](_0x250da7,_0x37c9ff,_0x26d34f(0x1c2));}),this[_0x470d9a(0x1b2)](this[_0x470d9a(0x1e2)],_0x470d9a(0x1d7),()=>{const _0x9b1a28=_0x470d9a;this[_0x9b1a28(0x1e2)][_0x9b1a28(0x1ba)]=this[_0x9b1a28(0x1a8)],this[_0x9b1a28(0x1c8)](this[_0x9b1a28(0x1a2)],this[_0x9b1a28(0x1ea)],this[_0x9b1a28(0x1a6)],this[_0x9b1a28(0x1a8)]);}),this[_0x470d9a(0x1b2)](this[_0x470d9a(0x1e2)],_0x470d9a(0x191),()=>{const _0x379091=_0x470d9a;this[_0x379091(0x191)]();});}[_0x3d4f63(0x1bf)](){const _0x4d984a=_0x3d4f63;this[_0x4d984a(0x1de)]();}async[_0x3d4f63(0x1e0)]({actionId:_0x33f053,query:_0x261d84,htmlContent:_0x26167f,label:_0x3e8d0d,mainActionLabel:_0x3a3c43}){const _0x170b80=_0x3d4f63;this[_0x170b80(0x1e2)][_0x170b80(0x1ba)]=_0x3e8d0d,this[_0x170b80(0x1e2)][_0x170b80(0x1d9)]=_0x3a3c43,this[_0x170b80(0x198)]=_0x26167f,_0x261d84&&(this[_0x170b80(0x1e2)][_0x170b80(0x1af)]?this[_0x170b80(0x1c8)](_0x261d84,_0x26167f,_0x33f053,_0x3e8d0d):this[_0x170b80(0x1e2)][_0x170b80(0x1e8)](_0x170b80(0x1ef),()=>{const _0x5a04ee=_0x170b80;this[_0x5a04ee(0x1c8)](_0x261d84,_0x26167f,_0x33f053,_0x3e8d0d);}));}[_0x3d4f63(0x191)](){const _0x4f310b=_0x3d4f63;this[_0x4f310b(0x1cc)]&&(this[_0x4f310b(0x1cc)]=!0x1,this[_0x4f310b(0x1e2)][_0x4f310b(0x1b0)](),this[_0x4f310b(0x1d3)][_0x4f310b(0x1a9)]());}[_0x3d4f63(0x1bd)](){const _0x42d89d=_0x3d4f63;this[_0x42d89d(0x198)]='',this[_0x42d89d(0x19c)]='',this[_0x42d89d(0x1a3)]='',this[_0x42d89d(0x1ea)]='',this[_0x42d89d(0x1a2)]='',this[_0x42d89d(0x1a8)]='',this[_0x42d89d(0x1a6)]=void 0x0,this[_0x42d89d(0x1e2)][_0x42d89d(0x1bd)](),this[_0x42d89d(0x191)]();}async[_0x3d4f63(0x1c8)](_0x2faf3c,_0x38ff1d,_0x428a72,_0x2ab0f1){const _0x5131ce=_0x3d4f63;return this[_0x5131ce(0x1cc)]=!0x0,this[_0x5131ce(0x1e2)][_0x5131ce(0x1d4)](),this[_0x5131ce(0x1ea)]=_0x38ff1d,this[_0x5131ce(0x1a2)]=_0x2faf3c,this[_0x5131ce(0x1a8)]=_0x2ab0f1||_0x2faf3c,this[_0x5131ce(0x1a6)]=_0x428a72,new Promise(_0x1f62c0=>{const _0x443cef=_0x5131ce;this[_0x443cef(0x1d3)][_0x443cef(0x1ce)]({'query':_0x2faf3c,'context':_0x38ff1d,'onData':_0x4cc5be=>{const _0x256407=_0x443cef;this[_0x256407(0x1a3)]=_0x4cc5be,this[_0x256407(0x19c)]=this[_0x256407(0x1aa)](this[_0x256407(0x1a3)]);},'actionId':_0x428a72})[_0x443cef(0x1eb)](()=>{const _0x6f8d94=_0x443cef;!this[_0x6f8d94(0x19c)]&&this[_0x6f8d94(0x1a3)]&&(this[_0x6f8d94(0x19c)]=this[_0x6f8d94(0x1aa)](this[_0x6f8d94(0x1a3)],!0x0));})[_0x443cef(0x1dd)](_0x9abde1=>{const _0x152034=_0x443cef;_0x9abde1 instanceof _0x22de27?this[_0x152034(0x1e2)][_0x152034(0x1bc)](_0x9abde1[_0x152034(0x1c7)]):this[_0x152034(0x1e2)][_0x152034(0x1bc)](),_0x1f62c0();})[_0x443cef(0x1f0)](()=>{const _0x1023f2=_0x443cef;this[_0x1023f2(0x191)](),_0x1f62c0();});});}[_0x3d4f63(0x1aa)](_0x43a2cc,_0x422afc=!0x1){const _0x1ade4d=_0x3d4f63,_0x549a71=Q[_0x1ade4d(0x194)](_0x43a2cc);_0x43a2cc=_0x549a71?_0x43a2cc[_0x1ade4d(0x1cf)](_0x549a71[0x1][_0x1ade4d(0x1ec)]):_0x43a2cc[_0x1ade4d(0x1ec)]<0x64&&!_0x422afc?'':this[_0x1ade4d(0x1d2)](_0x43a2cc);const _0x28e360=this[_0x1ade4d(0x192)][_0x1ade4d(0x1da)](_0x43a2cc,_0x1ade4d(0x18d));if(_0x549a71){const _0x1d1419=Array[_0x1ade4d(0x1bb)](_0x28e360[_0x1ade4d(0x1ee)][_0x1ade4d(0x1a5)]);_0x1d1419[_0x1ade4d(0x1c6)]();for(const _0x43f2da of _0x1d1419){if(_0x43f2da[_0x1ade4d(0x19b)]==Node[_0x1ade4d(0x19f)])break;_0x43f2da[_0x1ade4d(0x1c4)]();}}const _0x528896=this[_0x1ade4d(0x1ca)][_0x1ade4d(0x1b3)][_0x1ade4d(0x1b5)][_0x1ade4d(0x1c5)](this[_0x1ade4d(0x1f1)][_0x1ade4d(0x1a0)](_0x28e360[_0x1ade4d(0x1ee)]));this[_0x1ade4d(0x190)]()||this[_0x1ade4d(0x1d0)](_0x528896);const _0x3e0103=this[_0x1ade4d(0x1ca)][_0x1ade4d(0x1ac)][_0x1ade4d(0x1db)](_0x1ade4d(0x1b1)),_0x20b4c8=this[_0x1ade4d(0x1ca)][_0x1ade4d(0x1b3)][_0x1ade4d(0x1d1)](_0x528896);return _0x3e0103||_0x20b4c8[_0x1ade4d(0x1e7)][_0x1ade4d(0x1cd)](),this[_0x1ade4d(0x1ca)][_0x1ade4d(0x1b3)][_0x1ade4d(0x1dc)](_0x20b4c8);}[_0x3d4f63(0x1d0)](_0x35d285){const _0x24fa97=_0x3d4f63,_0x3c42df=new _0x14f110(this[_0x24fa97(0x1ca)][_0x24fa97(0x1b9)][_0x24fa97(0x1e2)][_0x24fa97(0x1ed)]),_0x31976e=new _0x3b87b9({'name':/^h[1-5]$/}),_0x547513=[];let _0x4767de=!0x1;for(const _0x438b87 of _0x35d285)_0x438b87['is'](_0x24fa97(0x19a))&&_0x31976e[_0x24fa97(0x1a1)](_0x438b87)&&(_0x547513[_0x24fa97(0x1be)](_0x438b87),'h1'==_0x438b87[_0x24fa97(0x1e9)]&&(_0x4767de=!0x0));if(_0x4767de){for(const _0x534cde of _0x547513)_0x3c42df[_0x24fa97(0x1e5)]('h'+(parseInt(_0x534cde[_0x24fa97(0x1e9)][0x1])+0x1),_0x534cde);}}[_0x3d4f63(0x190)](){const _0x38c44f=_0x3d4f63,{data:_0x20b047,editing:_0x43cfef}=this[_0x38c44f(0x1ca)],_0x17cbdd=_0x20b047[_0x38c44f(0x1d5)][_0x38c44f(0x1c5)](_0x38c44f(0x1a4)),_0x1f6d1f=_0x20b047[_0x38c44f(0x1c5)](_0x20b047[_0x38c44f(0x1d1)](_0x17cbdd));return!!_0x43cfef[_0x38c44f(0x1e2)][_0x38c44f(0x18f)][_0x38c44f(0x1c9)](_0x1f6d1f)[_0x38c44f(0x1ab)]('h1');}[_0x3d4f63(0x199)](_0x2f9b3b){const _0x3b99a6=_0x3d4f63;return this[_0x3b99a6(0x1ca)][_0x3b99a6(0x1b9)][_0x3b99a6(0x1e2)][_0x3b99a6(0x18f)][_0x3b99a6(0x1d8)](this[_0x3b99a6(0x1e1)],_0x2f9b3b),this[_0x3b99a6(0x1e1)][_0x3b99a6(0x195)];}[_0x3d4f63(0x1d2)](_0x259ea2){const _0x4d0f64=_0x3d4f63,_0x3a0c86=_0x259ea2[_0x4d0f64(0x1ad)]();return _0x3a0c86[_0x4d0f64(0x197)](_0x4d0f64(0x1d6))?_0x3a0c86[_0x4d0f64(0x1e6)](_0x4d0f64(0x1b6))?_0x3a0c86[_0x4d0f64(0x1cf)](0x7,_0x3a0c86[_0x4d0f64(0x1ec)]-0x3):_0x3a0c86[_0x4d0f64(0x1cf)](0x7):_0x259ea2;}}function _0x2b4f(){const _0x12167f=['remove','toView','reverse','message','_handleQuery','viewToDom','editor','submitPrompt','isProcessing','clear','makeRequest','substring','_normalizeResponseHeadings','toModel','_stripMarkdownSyntax','textAdapter','startProcessing','htmlProcessor','```html','tryAgainEvent','setContentOf','mainAction','parseFromString','get','stringify','catch','stopListening','4651003hKqZub','updateView','_sanitizationContainer','view','createElement','160LyeBLV','rename','endsWith','markers','once','name','previousContext','then','length','document','body','render','finally','_xmlSerializer','text/html','277407kMSMMp','domConverter','_isH1TagSupportEnabled','stopProcessing','_domParser','value','exec','innerHTML','18909uFFQLj','startsWith','initialContext','_sanitizeHTML','element','nodeType','currentContext','set','85jqDdWH','ELEMENT_NODE','serializeToString','match','previousQuery','currentResponse','<h1></h1>','childNodes','previousActionId','set:currentContext','previousLabel','abort','_parseAndNormalizeContent','querySelector','config','trim','171096qXpena','isRendered','finishProcessing','ai.aiAssistant.preserveComments','listenTo','data','229782YpnJdg','processor','```','10780xzugPY','233710YtCsaI','editing','prompt','from','handleError','reset','push','destroy','3wtvyOR','733204gWjoGn','custom','div'];_0x2b4f=function(){return _0x12167f;};return _0x2b4f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8a7f4b=_0x30f5;(function(_0x107896,_0x5cab1b){const _0x1b113b=_0x30f5,_0x4bafd7=_0x107896();while(!![]){try{const _0x3ab87d=-parseInt(_0x1b113b(0x216))/0x1*(parseInt(_0x1b113b(0x1f6))/0x2)+-parseInt(_0x1b113b(0x20a))/0x3+parseInt(_0x1b113b(0x1fe))/0x4*(parseInt(_0x1b113b(0x20f))/0x5)+-parseInt(_0x1b113b(0x224))/0x6+parseInt(_0x1b113b(0x1f0))/0x7+-parseInt(_0x1b113b(0x20c))/0x8*(-parseInt(_0x1b113b(0x1f4))/0x9)+-parseInt(_0x1b113b(0x237))/0xa;if(_0x3ab87d===_0x5cab1b)break;else _0x4bafd7['push'](_0x4bafd7['shift']());}catch(_0x42b6ea){_0x4bafd7['push'](_0x4bafd7['shift']());}}}(_0x1842,0x3c7af));import{global as _0x2abadc}from'ckeditor5/src/utils.js';import{View as _0x579818,ButtonView as _0x1a2e03,SpinnerView as _0x969533}from'ckeditor5/src/ui.js';import{IconCheck as _0x1afbe7,IconCopy as _0x220db3}from'ckeditor5/src/icons.js';import{getTranslation as _0x5786b9}from'../../utils/common-translations.js';function _0x30f5(_0x3c0e0c,_0x372b73){const _0x184225=_0x1842();return _0x30f5=function(_0x30f575,_0x225a27){_0x30f575=_0x30f575-0x1eb;let _0x869549=_0x184225[_0x30f575];return _0x869549;},_0x30f5(_0x3c0e0c,_0x372b73);}export class AIFormContentArea extends _0x579818{[_0x8a7f4b(0x20b)];[_0x8a7f4b(0x214)];constructor(_0x21ed53,_0x5a9ca5=''){const _0x2f6883=_0x8a7f4b;super(_0x21ed53),this[_0x2f6883(0x227)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x36af98=this[_0x2f6883(0x1ee)];this[_0x2f6883(0x20b)]=new ContentFieldView(_0x21ed53,_0x5a9ca5),this[_0x2f6883(0x214)]=this[_0x2f6883(0x1ec)](),this[_0x2f6883(0x21a)]({'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x20d),_0x36af98['if'](_0x2f6883(0x20e),_0x2f6883(0x1ed),_0x5daf69=>!_0x5daf69)],'tabindex':'-1'},'children':[{'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x226),_0x36af98['if'](_0x2f6883(0x222),_0x2f6883(0x228))]},'children':[this[_0x2f6883(0x20b)],{'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x223)]},'children':[this[_0x2f6883(0x214)]]}]}]});}[_0x8a7f4b(0x213)](){const _0x162016=_0x8a7f4b;super[_0x162016(0x213)](),this[_0x162016(0x211)]&&this[_0x162016(0x20b)][_0x162016(0x1f2)](this[_0x162016(0x211)]);let _0x49a07b=!0x1;this['on'](_0x162016(0x1eb),(_0x5604e7,_0x36f317,_0x1ea316)=>{const _0x20f594=_0x162016,_0x334dd6=!this[_0x20f594(0x20b)][_0x20f594(0x23f)][_0x20f594(0x204)](_0x20f594(0x220));this[_0x20f594(0x20b)][_0x20f594(0x1f2)](_0x1ea316),this[_0x20f594(0x222)]&&_0x334dd6&&!_0x49a07b&&this[_0x20f594(0x23f)][_0x20f594(0x230)]({'top':this[_0x20f594(0x23f)][_0x20f594(0x201)],'behavior':_0x20f594(0x1fd)});}),this['on'](_0x162016(0x235),(_0x25edfb,_0x185d77,_0x44c7d2)=>{const _0x2685b7=_0x162016;_0x49a07b=!0x1,_0x44c7d2?(this[_0x2685b7(0x211)]=null,this[_0x2685b7(0x20b)][_0x2685b7(0x215)]()):this[_0x2685b7(0x211)]||this[_0x2685b7(0x20b)][_0x2685b7(0x1f2)]('');}),this[_0x162016(0x21d)](this[_0x162016(0x23f)],_0x162016(0x1ff),()=>{_0x49a07b=!0x0;}),this[_0x162016(0x21d)](this[_0x162016(0x23f)],_0x162016(0x22b),()=>{_0x49a07b=!0x0;});}[_0x8a7f4b(0x1f5)](){const _0x107471=_0x8a7f4b;this[_0x107471(0x23f)][_0x107471(0x1f5)]();}[_0x8a7f4b(0x1ec)](){const _0x12d135=_0x8a7f4b,_0x5b3108=this[_0x12d135(0x207)],_0xb13523=new _0x1a2e03(this[_0x12d135(0x207)]),_0x2b003f=_0x12d135(0x231);return _0xb13523[_0x12d135(0x227)]({'label':_0x5786b9(_0x5b3108,_0x12d135(0x1fa)),'icon':_0x220db3,'class':_0x2b003f,'tooltip':!0x0}),_0xb13523[_0x12d135(0x238)](_0x12d135(0x20e))['to'](this,_0x12d135(0x211),_0x223540=>!!_0x223540),_0xb13523[_0x12d135(0x238)](_0x12d135(0x1ef))['to'](this,_0x12d135(0x222),_0x1196d8=>!_0x1196d8),_0xb13523['on'](_0x12d135(0x236),()=>{const _0x13eec7=_0x12d135;this[_0x13eec7(0x205)](this[_0x13eec7(0x20b)][_0x13eec7(0x23f)]),_0xb13523[_0x13eec7(0x1f3)]=_0x1afbe7,_0xb13523[_0x13eec7(0x233)]=_0x2b003f+_0x13eec7(0x1f7),this[_0x13eec7(0x1f5)](),setTimeout(()=>{const _0x3b221e=_0x13eec7;_0xb13523[_0x3b221e(0x1f3)]=_0x220db3,_0xb13523[_0x3b221e(0x233)]=_0x2b003f;},0x3e8);}),_0xb13523;}[_0x8a7f4b(0x205)](_0x5da070){const _0x3c1774=_0x8a7f4b,{window:_0x356e08,document:_0x209c0c}=_0x2abadc;if(_0x356e08[_0x3c1774(0x22d)]){const {Blob:_0x1c37df,ClipboardItem:_0x4454c9}=_0x356e08,_0x3fb1bd=[new _0x4454c9({'text/html':new _0x1c37df([_0x5da070[_0x3c1774(0x225)]],{'type':_0x3c1774(0x239)}),'text/plain':new _0x1c37df([_0x5da070[_0x3c1774(0x21b)]||''],{'type':_0x3c1774(0x23a)})})];navigator[_0x3c1774(0x22c)][_0x3c1774(0x1fc)](_0x3fb1bd);}else{const _0x4fcf83=_0x209c0c[_0x3c1774(0x234)](_0x3c1774(0x23b));_0x4fcf83[_0x3c1774(0x232)][_0x3c1774(0x208)]=_0x3c1774(0x219),_0x4fcf83[_0x3c1774(0x232)][_0x3c1774(0x21c)]=_0x3c1774(0x210),_0x4fcf83[_0x3c1774(0x225)]=_0x3c1774(0x23d)+_0x5da070[_0x3c1774(0x225)]+_0x3c1774(0x23c),_0x209c0c[_0x3c1774(0x200)][_0x3c1774(0x22e)](_0x4fcf83);const _0x452d2f=_0x209c0c[_0x3c1774(0x22a)]();_0x452d2f[_0x3c1774(0x221)](_0x4fcf83[_0x3c1774(0x21f)]),_0x452d2f[_0x3c1774(0x218)](_0x4fcf83[_0x3c1774(0x1fb)]);const _0x947ccc=_0x356e08[_0x3c1774(0x1f9)]();_0x947ccc[_0x3c1774(0x209)](),_0x947ccc[_0x3c1774(0x23e)](_0x452d2f),_0x209c0c[_0x3c1774(0x206)](_0x3c1774(0x1f1)),_0x4fcf83[_0x3c1774(0x21e)]();}}}export class ContentFieldView extends _0x579818{constructor(_0x353e21,_0x300242=''){const _0x584fdc=_0x8a7f4b;super(_0x353e21),this[_0x584fdc(0x217)]=this[_0x584fdc(0x229)](),this[_0x584fdc(0x21a)]({'tag':_0x584fdc(0x23b),'attributes':{'class':['ck',_0x584fdc(0x212),_0x300242,_0x584fdc(0x202),_0x584fdc(0x203)]}});}[_0x8a7f4b(0x1f2)](_0x2eb27a){const _0xeae36c=_0x8a7f4b;this[_0xeae36c(0x23f)][_0xeae36c(0x225)]=_0x2eb27a;}[_0x8a7f4b(0x215)](){const _0x185b11=_0x8a7f4b;this[_0x185b11(0x23f)][_0x185b11(0x22e)](this[_0x185b11(0x217)][_0x185b11(0x23f)]);}[_0x8a7f4b(0x229)](){const _0x252540=_0x8a7f4b,_0x488cda=new _0x579818(),_0x18e4a2=this[_0x252540(0x207)],_0x3d844f=new _0x969533();return _0x3d844f[_0x252540(0x20e)]=!0x0,_0x488cda[_0x252540(0x21a)]({'tag':_0x252540(0x23b),'attributes':{'class':['ck',_0x252540(0x1f8)]},'children':[_0x3d844f,{'text':_0x5786b9(_0x18e4a2,_0x252540(0x22f))}]}),_0x488cda[_0x252540(0x213)](),_0x488cda;}}function _0x1842(){const _0x5e2e7b=['execute','789320JNnEjy','bind','text/html','text/plain','div','<span>]</span>','<span>[</span>','addRange','element','change:value','_createCopyButton','ck-hidden','bindTemplate','isEnabled','1210909iTXqMh','copy','setContent','icon','14166ppDWeY','focus','458uLDENN','\x20ck-ai-form__copy-button--copied','ck-ai-form__loader','getSelection','Copy','lastElementChild','write','smooth','215240rxdJSt','wheel','body','scrollHeight','ck-reset_all-excluded','ck-ai-form__content-field','querySelector','_copyHTMLToClipboard','execCommand','locale','position','removeAllRanges','1008555lAlDQh','contentFieldView','1928CGinYU','ck-ai-form__content-area-wrapper','isVisible','40DAbsHx','-9999px','value','ck-content','render','copyButtonView','appendLoader','1229CloWDp','loaderView','setEndBefore','absolute','setTemplate','textContent','left','listenTo','remove','firstElementChild','.ck-ai-form__loader','setStartAfter','isProcessing','ck-ai-form__copy-button-wrapper','231096TMZaKQ','innerHTML','ck-ai-form__content-area','set','ck-ai-form__content-area--processing','_createLoader','createRange','mousedown','clipboard','ClipboardItem','appendChild','AI\x20is\x20writing...','scrollTo','ck-ai-form__copy-button','style','class','createElement','change:isProcessing'];_0x1842=function(){return _0x5e2e7b;};return _0x1842();}
23
+ const _0x2e1024=_0x2fe2;(function(_0x489c56,_0x3734d){const _0x4b3361=_0x2fe2,_0x340507=_0x489c56();while(!![]){try{const _0x435c3e=-parseInt(_0x4b3361(0xc1))/0x1+parseInt(_0x4b3361(0xa9))/0x2*(parseInt(_0x4b3361(0xc9))/0x3)+-parseInt(_0x4b3361(0xbb))/0x4+parseInt(_0x4b3361(0xe4))/0x5*(parseInt(_0x4b3361(0xdc))/0x6)+-parseInt(_0x4b3361(0xf8))/0x7+parseInt(_0x4b3361(0xe9))/0x8*(parseInt(_0x4b3361(0xfd))/0x9)+parseInt(_0x4b3361(0xe5))/0xa;if(_0x435c3e===_0x3734d)break;else _0x340507['push'](_0x340507['shift']());}catch(_0x3995f){_0x340507['push'](_0x340507['shift']());}}}(_0x45e9,0x383ac));import{global as _0x1f7438}from'ckeditor5/src/utils.js';import{View as _0x32dbfa,ButtonView as _0x15a102,SpinnerView as _0x5d981b}from'ckeditor5/src/ui.js';function _0x2fe2(_0x49325f,_0x21d7ef){const _0x45e901=_0x45e9();return _0x2fe2=function(_0x2fe285,_0x54747b){_0x2fe285=_0x2fe285-0xa9;let _0x4906e3=_0x45e901[_0x2fe285];return _0x4906e3;},_0x2fe2(_0x49325f,_0x21d7ef);}import{IconCheck as _0x39040e,IconCopy as _0x3a0e04}from'ckeditor5/src/icons.js';import{getTranslation as _0x5ce9b0}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x32dbfa{[_0x2e1024(0xad)];[_0x2e1024(0xcc)];constructor(_0xafd692,_0x32b908=''){const _0x368491=_0x2e1024;super(_0xafd692),this[_0x368491(0xbc)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x56bfc3=this[_0x368491(0xab)];this[_0x368491(0xad)]=new ContentFieldView(_0xafd692,_0x32b908),this[_0x368491(0xcc)]=this[_0x368491(0xf1)](),this[_0x368491(0xfb)]({'tag':_0x368491(0xdf),'attributes':{'class':['ck',_0x368491(0xb3),_0x56bfc3['if'](_0x368491(0xd3),_0x368491(0xae),_0x547748=>!_0x547748)],'tabindex':'-1'},'children':[{'tag':_0x368491(0xdf),'attributes':{'class':['ck',_0x368491(0xaf),_0x56bfc3['if'](_0x368491(0xee),_0x368491(0xba))]},'children':[this[_0x368491(0xad)],{'tag':_0x368491(0xdf),'attributes':{'class':['ck',_0x368491(0xb4)]},'children':[this[_0x368491(0xcc)]]}]}]});}[_0x2e1024(0xef)](){const _0x4e8545=_0x2e1024;super[_0x4e8545(0xef)](),this[_0x4e8545(0xcb)]&&this[_0x4e8545(0xad)][_0x4e8545(0xe8)](this[_0x4e8545(0xcb)]);let _0x34b83c=!0x1;this['on'](_0x4e8545(0xb6),(_0x47a85a,_0x303389,_0xecdddc)=>{const _0x111cf8=_0x4e8545,_0x30c63e=!this[_0x111cf8(0xad)][_0x111cf8(0xbd)][_0x111cf8(0xd0)](_0x111cf8(0xea));this[_0x111cf8(0xad)][_0x111cf8(0xe8)](_0xecdddc),this[_0x111cf8(0xee)]&&_0x30c63e&&!_0x34b83c&&this[_0x111cf8(0xbd)][_0x111cf8(0xd2)]({'top':this[_0x111cf8(0xbd)][_0x111cf8(0xbf)],'behavior':_0x111cf8(0xb0)});}),this['on'](_0x4e8545(0xfa),(_0x5a3277,_0x5f3413,_0x14a8e8)=>{const _0x9d9fb9=_0x4e8545;_0x34b83c=!0x1,_0x14a8e8?(this[_0x9d9fb9(0xcb)]=null,this[_0x9d9fb9(0xad)][_0x9d9fb9(0xde)]()):this[_0x9d9fb9(0xcb)]||this[_0x9d9fb9(0xad)][_0x9d9fb9(0xe8)]('');}),this[_0x4e8545(0xd6)](this[_0x4e8545(0xbd)],_0x4e8545(0xc5),()=>{_0x34b83c=!0x0;}),this[_0x4e8545(0xd6)](this[_0x4e8545(0xbd)],_0x4e8545(0xf9),()=>{_0x34b83c=!0x0;});}[_0x2e1024(0xdb)](){const _0x2404da=_0x2e1024;this[_0x2404da(0xbd)][_0x2404da(0xdb)]();}[_0x2e1024(0xf1)](){const _0x5525b1=_0x2e1024,_0x4564dd=this[_0x5525b1(0xc4)],_0x3dd088=new _0x15a102(this[_0x5525b1(0xc4)]),_0x44c9fc=_0x5525b1(0xe6);return _0x3dd088[_0x5525b1(0xbc)]({'label':_0x5ce9b0(_0x4564dd,_0x5525b1(0xf0)),'icon':_0x3a0e04,'class':_0x44c9fc,'tooltip':!0x0}),_0x3dd088[_0x5525b1(0xb5)](_0x5525b1(0xd3))['to'](this,_0x5525b1(0xcb),_0x2cb994=>!!_0x2cb994),_0x3dd088[_0x5525b1(0xb5)](_0x5525b1(0xb9))['to'](this,_0x5525b1(0xee),_0x28d570=>!_0x28d570),_0x3dd088['on'](_0x5525b1(0xb2),()=>{const _0x48e6e6=_0x5525b1;this[_0x48e6e6(0xf7)](this[_0x48e6e6(0xad)][_0x48e6e6(0xbd)]),_0x3dd088[_0x48e6e6(0xe3)]=_0x39040e,_0x3dd088[_0x48e6e6(0xe2)]=_0x44c9fc+_0x48e6e6(0xf2),this[_0x48e6e6(0xdb)](),setTimeout(()=>{const _0x2119b1=_0x48e6e6;_0x3dd088[_0x2119b1(0xe3)]=_0x3a0e04,_0x3dd088[_0x2119b1(0xe2)]=_0x44c9fc;},0x3e8);}),_0x3dd088;}[_0x2e1024(0xf7)](_0x1886af){const _0x29bdc1=_0x2e1024,{window:_0x608916,document:_0x5bc30b}=_0x1f7438;if(_0x608916[_0x29bdc1(0xd7)]){const {Blob:_0x19d492,ClipboardItem:_0x398d3f}=_0x608916,_0x143607=[new _0x398d3f({'text/html':new _0x19d492([_0x1886af[_0x29bdc1(0xe7)]],{'type':_0x29bdc1(0xb7)}),'text/plain':new _0x19d492([_0x1886af[_0x29bdc1(0xaa)]||''],{'type':_0x29bdc1(0xca)})})];navigator[_0x29bdc1(0xfc)][_0x29bdc1(0xcd)](_0x143607);}else{const _0x58bb14=_0x5bc30b[_0x29bdc1(0xdd)](_0x29bdc1(0xdf));_0x58bb14[_0x29bdc1(0xe1)][_0x29bdc1(0xb8)]=_0x29bdc1(0xec),_0x58bb14[_0x29bdc1(0xe1)][_0x29bdc1(0xc8)]=_0x29bdc1(0xd1),_0x58bb14[_0x29bdc1(0xe7)]=_0x29bdc1(0xce)+_0x1886af[_0x29bdc1(0xe7)]+_0x29bdc1(0xc3),_0x5bc30b[_0x29bdc1(0xf5)][_0x29bdc1(0xb1)](_0x58bb14);const _0x4ca79f=_0x5bc30b[_0x29bdc1(0xc2)]();_0x4ca79f[_0x29bdc1(0xac)](_0x58bb14[_0x29bdc1(0xd9)]),_0x4ca79f[_0x29bdc1(0xc6)](_0x58bb14[_0x29bdc1(0xf3)]);const _0x367210=_0x608916[_0x29bdc1(0xbe)]();_0x367210[_0x29bdc1(0xc0)](),_0x367210[_0x29bdc1(0xcf)](_0x4ca79f),_0x5bc30b[_0x29bdc1(0xda)](_0x29bdc1(0xc7)),_0x58bb14[_0x29bdc1(0xeb)]();}}}export class ContentFieldView extends _0x32dbfa{constructor(_0x2de4e6,_0x56caf4=''){const _0x9cd1df=_0x2e1024;super(_0x2de4e6),this[_0x9cd1df(0xd8)]=this[_0x9cd1df(0xed)](),this[_0x9cd1df(0xfb)]({'tag':_0x9cd1df(0xdf),'attributes':{'class':['ck',_0x9cd1df(0xf4),_0x56caf4,_0x9cd1df(0xf6),_0x9cd1df(0xd5)]}});}[_0x2e1024(0xe8)](_0x3936bd){const _0x45145e=_0x2e1024;this[_0x45145e(0xbd)][_0x45145e(0xe7)]=_0x3936bd;}[_0x2e1024(0xde)](){const _0x405326=_0x2e1024;this[_0x405326(0xbd)][_0x405326(0xb1)](this[_0x405326(0xd8)][_0x405326(0xbd)]);}[_0x2e1024(0xed)](){const _0x9e41cd=_0x2e1024,_0x5ba379=new _0x32dbfa(),_0x8a8f93=this[_0x9e41cd(0xc4)],_0x2b9e2a=new _0x5d981b();return _0x2b9e2a[_0x9e41cd(0xd3)]=!0x0,_0x5ba379[_0x9e41cd(0xfb)]({'tag':_0x9e41cd(0xdf),'attributes':{'class':['ck',_0x9e41cd(0xd4)]},'children':[_0x2b9e2a,{'text':_0x5ce9b0(_0x8a8f93,_0x9e41cd(0xe0))}]}),_0x5ba379[_0x9e41cd(0xef)](),_0x5ba379;}}function _0x45e9(){const _0x1cb8b3=['focus','650478IeoFec','createElement','appendLoader','div','AI\x20is\x20writing...','style','class','icon','5LlJpmT','5019370NdsSCL','ck-ai-form__copy-button','innerHTML','setContent','200vQkTSM','.ck-ai-form__loader','remove','absolute','_createLoader','isProcessing','render','Copy','_createCopyButton','\x20ck-ai-form__copy-button--copied','lastElementChild','ck-content','body','ck-reset_all-excluded','_copyHTMLToClipboard','2493778NVBbQo','mousedown','change:isProcessing','setTemplate','clipboard','47151bBgYeE','4MFdZEc','textContent','bindTemplate','setStartAfter','contentFieldView','ck-hidden','ck-ai-form__content-area','smooth','appendChild','execute','ck-ai-form__content-area-wrapper','ck-ai-form__copy-button-wrapper','bind','change:value','text/html','position','isEnabled','ck-ai-form__content-area--processing','863940xoExsB','set','element','getSelection','scrollHeight','removeAllRanges','81800bFCTWv','createRange','<span>]</span>','locale','wheel','setEndBefore','copy','left','214545xjdPeI','text/plain','value','copyButtonView','write','<span>[</span>','addRange','querySelector','-9999px','scrollTo','isVisible','ck-ai-form__loader','ck-ai-form__content-field','listenTo','ClipboardItem','loaderView','firstElementChild','execCommand'];_0x45e9=function(){return _0x1cb8b3;};return _0x45e9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x57d1(_0xaa556f,_0x4213e4){const _0x3060b3=_0x3060();return _0x57d1=function(_0x57d1ff,_0x365816){_0x57d1ff=_0x57d1ff-0x192;let _0x4ae7b3=_0x3060b3[_0x57d1ff];return _0x4ae7b3;},_0x57d1(_0xaa556f,_0x4213e4);}function _0x3060(){const _0x350d1d=['bindTemplate','text','3QpMBsv','set','11NIyxnA','content','453636dGubyE','ck-ai-form__error','setTemplate','5380328FujYwp','72cdWgdP','2091358JlwUch','1397255wRqfnw','div','651965LBrEFU','15146010olXoNT','7iMORGU','133659eFAbKF'];_0x3060=function(){return _0x350d1d;};return _0x3060();}(function(_0x57297a,_0x3fa426){const _0x22f500=_0x57d1,_0x35b679=_0x57297a();while(!![]){try{const _0x209d34=parseInt(_0x22f500(0x196))/0x1+-parseInt(_0x22f500(0x195))/0x2+-parseInt(_0x22f500(0x19e))/0x3*(parseInt(_0x22f500(0x1a2))/0x4)+-parseInt(_0x22f500(0x198))/0x5*(parseInt(_0x22f500(0x194))/0x6)+-parseInt(_0x22f500(0x19a))/0x7*(-parseInt(_0x22f500(0x193))/0x8)+parseInt(_0x22f500(0x19b))/0x9+parseInt(_0x22f500(0x199))/0xa*(parseInt(_0x22f500(0x1a0))/0xb);if(_0x209d34===_0x3fa426)break;else _0x35b679['push'](_0x35b679['shift']());}catch(_0x53bc69){_0x35b679['push'](_0x35b679['shift']());}}}(_0x3060,0xd5bb4));import{IconError as _0x59098c}from'ckeditor5/src/icons.js';import{View as _0x4d1a40,IconView as _0x147224}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4d1a40{constructor(_0x208dc3,_0x3e9231=''){const _0x4330ee=_0x57d1;super(_0x208dc3);const _0x154d72=new _0x147224(),_0x417043=this[_0x4330ee(0x19c)];this[_0x4330ee(0x19f)](_0x4330ee(0x19d),_0x3e9231),_0x154d72[_0x4330ee(0x1a1)]=_0x59098c,this[_0x4330ee(0x192)]({'tag':_0x4330ee(0x197),'attributes':{'class':['ck',_0x4330ee(0x1a3)]},'children':[_0x154d72,{'text':_0x417043['to'](_0x4330ee(0x19d))}]});}}
23
+ (function(_0x39c23b,_0x2ffb02){const _0x5066ab=_0x12e9,_0x5980b1=_0x39c23b();while(!![]){try{const _0x4aa44a=parseInt(_0x5066ab(0x170))/0x1*(parseInt(_0x5066ab(0x17d))/0x2)+-parseInt(_0x5066ab(0x178))/0x3*(-parseInt(_0x5066ab(0x16e))/0x4)+parseInt(_0x5066ab(0x172))/0x5*(-parseInt(_0x5066ab(0x17b))/0x6)+-parseInt(_0x5066ab(0x17e))/0x7*(-parseInt(_0x5066ab(0x179))/0x8)+-parseInt(_0x5066ab(0x17a))/0x9*(parseInt(_0x5066ab(0x17f))/0xa)+-parseInt(_0x5066ab(0x16c))/0xb*(-parseInt(_0x5066ab(0x171))/0xc)+parseInt(_0x5066ab(0x16d))/0xd;if(_0x4aa44a===_0x2ffb02)break;else _0x5980b1['push'](_0x5980b1['shift']());}catch(_0x460b0f){_0x5980b1['push'](_0x5980b1['shift']());}}}(_0x5110,0x9ee97));function _0x5110(){const _0x1f8d69=['setTemplate','1023678ISZTTW','7SYdsxP','220xjTtRP','11yJXOJq','5236153sRQQho','2114044lddzZx','text','2BgtmmO','1819896tqSNPX','6331065ROTNdY','content','div','set','ck-ai-form__error','bindTemplate','3hlrwIL','5301616FpYvgl','348633whpRqZ','6EEztuX'];_0x5110=function(){return _0x1f8d69;};return _0x5110();}function _0x12e9(_0x512106,_0x137bc7){const _0x511040=_0x5110();return _0x12e9=function(_0x12e952,_0x1dcfcd){_0x12e952=_0x12e952-0x16c;let _0x18bbd1=_0x511040[_0x12e952];return _0x18bbd1;},_0x12e9(_0x512106,_0x137bc7);}import{IconError as _0xfa99ac}from'ckeditor5/src/icons.js';import{View as _0x3b1561,IconView as _0x32544f}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x3b1561{constructor(_0x3a5f1f,_0x3fb1ef=''){const _0xd35eda=_0x12e9;super(_0x3a5f1f);const _0x37550b=new _0x32544f(),_0x29e257=this[_0xd35eda(0x177)];this[_0xd35eda(0x175)](_0xd35eda(0x16f),_0x3fb1ef),_0x37550b[_0xd35eda(0x173)]=_0xfa99ac,this[_0xd35eda(0x17c)]({'tag':_0xd35eda(0x174),'attributes':{'class':['ck',_0xd35eda(0x176)]},'children':[_0x37550b,{'text':_0x29e257['to'](_0xd35eda(0x16f))}]});}}