@ckeditor/ckeditor5-ai 46.0.1-alpha.1 → 46.0.1-alpha.3

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
- function _0x45dc(_0x4be047,_0x24dcb2){const _0xe3b79e=_0xe3b7();return _0x45dc=function(_0x45dceb,_0xc108){_0x45dceb=_0x45dceb-0x188;let _0x437e4b=_0xe3b79e[_0x45dceb];return _0x437e4b;},_0x45dc(_0x4be047,_0x24dcb2);}const _0x1517de=_0x45dc;(function(_0x3aba04,_0x3041e2){const _0x4128f8=_0x45dc,_0x2299ef=_0x3aba04();while(!![]){try{const _0x559616=parseInt(_0x4128f8(0x18e))/0x1+parseInt(_0x4128f8(0x1b0))/0x2*(parseInt(_0x4128f8(0x19b))/0x3)+-parseInt(_0x4128f8(0x1a7))/0x4+parseInt(_0x4128f8(0x1ed))/0x5*(parseInt(_0x4128f8(0x1a6))/0x6)+-parseInt(_0x4128f8(0x19d))/0x7*(parseInt(_0x4128f8(0x1d1))/0x8)+parseInt(_0x4128f8(0x1c2))/0x9*(-parseInt(_0x4128f8(0x1d9))/0xa)+parseInt(_0x4128f8(0x1f8))/0xb*(parseInt(_0x4128f8(0x1d6))/0xc);if(_0x559616===_0x3041e2)break;else _0x2299ef['push'](_0x2299ef['shift']());}catch(_0x2ef90e){_0x2299ef['push'](_0x2299ef['shift']());}}}(_0xe3b7,0x40201));import{Plugin as _0x2c9297}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x54f230}from'./aiassistantui.js';import{AIAssistantEditing as _0x9df632}from'./aiassistantediting.js';import{getTranslation as _0x29f1f8}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x168db8}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x2c9297{static get[_0x1517de(0x1a5)](){return[_0x54f230,_0x9df632];}static get[_0x1517de(0x1e8)](){const _0x16b12a=_0x1517de;return _0x16b12a(0x1bb);}static get[_0x1517de(0x1cf)](){return!0x0;}static get[_0x1517de(0x1e9)](){return!0x0;}constructor(_0x2158b3){const _0x723a5f=_0x1517de;super(_0x2158b3);const _0x9a5222=_0x2158b3[_0x723a5f(0x191)],_0xb4857a=_0x2158b3[_0x723a5f(0x1a2)];_0x9a5222[_0x723a5f(0x1c1)](_0x723a5f(0x1ef),!0x0),_0x9a5222[_0x723a5f(0x1c1)](_0x723a5f(0x1f4),getDefaultAICommands(_0xb4857a)),_0x9a5222[_0x723a5f(0x1c1)](_0x723a5f(0x18b),[]),_0x9a5222[_0x723a5f(0x1c1)](_0x723a5f(0x192),[]);let _0x53ca99=_0x168db8(_0x9a5222[_0x723a5f(0x1eb)](_0x723a5f(0x1f4)),_0xb4857a);const _0x30066d=_0x9a5222[_0x723a5f(0x1eb)](_0x723a5f(0x18b)),_0x5ae9d8=_0x9a5222[_0x723a5f(0x1eb)](_0x723a5f(0x192));_0x30066d[_0x723a5f(0x1de)](_0x1613bf=>{const _0x53b1d0=_0x723a5f,_0x4e5912=_0x53ca99[_0x53b1d0(0x199)](_0xf1a159=>_0xf1a159[_0x53b1d0(0x1b2)]===_0x1613bf[_0x53b1d0(0x1b2)]);_0x4e5912?_0x4e5912[_0x53b1d0(0x1f1)]=_0x4e5912[_0x53b1d0(0x1f1)][_0x53b1d0(0x1e7)](_0x1613bf[_0x53b1d0(0x1f1)]):_0x53ca99[_0x53b1d0(0x1f5)](_0x1613bf);}),_0x53ca99=_0x53ca99[_0x723a5f(0x1ec)](_0x8f22f=>!_0x5ae9d8[_0x723a5f(0x1df)](_0x8f22f[_0x723a5f(0x1b2)])),_0x53ca99[_0x723a5f(0x1de)](_0x41025c=>{const _0x3dfcec=_0x723a5f;_0x41025c[_0x3dfcec(0x1f1)]=_0x41025c[_0x3dfcec(0x1f1)][_0x3dfcec(0x1ec)](_0x574200=>!_0x5ae9d8[_0x3dfcec(0x1df)](_0x574200['id']));}),_0x9a5222[_0x723a5f(0x1b6)](_0x723a5f(0x1f4),_0x53ca99);}}export function getDefaultAICommands(_0x50a0f9){const _0x274e4b=_0x1517de;return[{'groupId':_0x274e4b(0x194),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1d0)),'commands':[{'id':_0x274e4b(0x188),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x18d)),'prompt':_0x274e4b(0x1bf)},{'id':_0x274e4b(0x1b5),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1b4)),'prompt':_0x274e4b(0x1b3)},{'id':_0x274e4b(0x1b9),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1c4)),'prompt':_0x274e4b(0x1f3)},{'id':_0x274e4b(0x189),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1da)),'prompt':_0x274e4b(0x1e0)}]},{'groupId':_0x274e4b(0x1f6),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1d5)),'commands':[{'id':_0x274e4b(0x1dd),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1e5)),'prompt':_0x274e4b(0x1ad)},{'id':_0x274e4b(0x1a3),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1d7)),'prompt':_0x274e4b(0x1d3)}]},{'groupId':_0x274e4b(0x19f),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ee)),'commands':[{'id':_0x274e4b(0x1cb),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1d4)),'prompt':_0x274e4b(0x18f)},{'id':_0x274e4b(0x1ca),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x19a)),'prompt':_0x274e4b(0x1a9)},{'id':_0x274e4b(0x1f0),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x196)),'prompt':_0x274e4b(0x1cc)},{'id':_0x274e4b(0x1d8),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ea)),'prompt':_0x274e4b(0x1c9)},{'id':_0x274e4b(0x1be),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x190)),'prompt':_0x274e4b(0x19e)}]},{'groupId':_0x274e4b(0x1c6),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1b7)),'commands':[{'id':_0x274e4b(0x1d2),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1c3)),'prompt':_0x274e4b(0x1e4)},{'id':_0x274e4b(0x1e2),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1dc)),'prompt':_0x274e4b(0x1af)},{'id':_0x274e4b(0x1a4),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ba)),'prompt':_0x274e4b(0x1bd)},{'id':_0x274e4b(0x1a1),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ab)),'prompt':_0x274e4b(0x1e3)}]},{'groupId':_0x274e4b(0x1c7),'groupLabel':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1a8)),'commands':[{'id':_0x274e4b(0x197),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1ac)),'prompt':_0x274e4b(0x1b8)},{'id':_0x274e4b(0x1e6),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1f2)),'prompt':_0x274e4b(0x195)},{'id':_0x274e4b(0x1f7),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1aa)),'prompt':_0x274e4b(0x1b1)},{'id':_0x274e4b(0x1ce),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x198)),'prompt':_0x274e4b(0x18a)},{'id':_0x274e4b(0x1ae),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1c5)),'prompt':_0x274e4b(0x19c)},{'id':_0x274e4b(0x1db),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1a0)),'prompt':_0x274e4b(0x1c0)},{'id':_0x274e4b(0x18c),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1e1)),'prompt':_0x274e4b(0x1c8)},{'id':_0x274e4b(0x193),'label':_0x29f1f8(_0x50a0f9,_0x274e4b(0x1cd)),'prompt':_0x274e4b(0x1bc)}]}];}function _0xe3b7(){const _0x26b2cf=['direct','commands','Spanish','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','ai.aiAssistant.commands','push','generate','translatePortuguese','833943odwnLX','improveWriting','simplifyLanguage','Translate\x20the\x20content\x20to\x20German\x20language.','ai.aiAssistant.extraCommandGroups','translateHindi','Improve\x20writing','218977tKTShz','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Friendly','config','ai.aiAssistant.removeCommands','translateArabic','editOrReview','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Direct','translateEnglish','German','find','Casual','75hTNzWK','Translate\x20the\x20content\x20to\x20French\x20language.','1478897kOtCQY','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','changeTone','Simplified\x20Chinese','poetic','locale','continue','journalism','requires','412596qqzPKG','1921744fLKSsu','Translate','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Portuguese','Poetic','English','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateFrench','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','34786fMrsFz','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','groupId','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Make\x20shorter','makeShorter','set','Change\x20style','Translate\x20the\x20content\x20to\x20English\x20language.','makeLonger','Journalism','AIAssistant','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','friendly','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','define','378fSEYbJ','Business','Make\x20longer','French','changeStyle','translate','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','casual','professional','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Arabic','translateGerman','isOfficialPlugin','Edit\x20or\x20review','16iIYOKL','business','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Professional','Generate\x20from\x20selection','108celZXv','Continue','confident','89710KkFRFr','Simplify\x20language','translateChinese','Legal','summarize','forEach','includes','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Hindi','legal','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Summarize','translateSpanish','concat','pluginName','isPremiumPlugin','Confident','get','filter','15iWupZz','Change\x20tone','ai.aiAssistant.preserveComments'];_0xe3b7=function(){return _0x26b2cf;};return _0xe3b7();}
23
+ const _0x11057a=_0x2e6d;function _0x1a40(){const _0x5c9dfc=['Spanish','Professional','French','Generate\x20from\x20selection','Legal','business','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','define','continue','Translate\x20the\x20content\x20to\x20German\x20language.','set','push','simplifyLanguage','legal','includes','isOfficialPlugin','ai.aiAssistant.preserveComments','Change\x20style','520650ugELma','408465BDuGxy','translateFrench','professional','summarize','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','find','get','34612HCiwMX','3845ScVoyg','Simplify\x20language','ai.aiAssistant.removeCommands','105527ffvQwx','Confident','translateArabic','Simplified\x20Chinese','translateChinese','translatePortuguese','isPremiumPlugin','1266741koaAPm','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','translateHindi','Translate\x20the\x20content\x20to\x20Spanish\x20language.','English','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Make\x20shorter','Change\x20tone','makeLonger','generate','commands','AIAssistant','improveWriting','groupId','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','config','ai.aiAssistant.extraCommandGroups','journalism','Poetic','Improve\x20writing','direct','Make\x20longer','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','translate','Portuguese','friendly','translateEnglish','locale','884JqajXw','pluginName','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','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.','forEach','Translate','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','changeStyle','Summarize','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','requires','confident','Direct','Hindi','translateGerman','Edit\x20or\x20review','Business','German','editOrReview','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20English\x20language.','ai.aiAssistant.commands','Friendly','concat','Arabic','Continue','casual','Casual','filter','makeShorter','Journalism','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','3030040rvcLHN','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','changeTone','poetic','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','translateSpanish'];_0x1a40=function(){return _0x5c9dfc;};return _0x1a40();}(function(_0x498d49,_0x14bbe8){const _0x4ed853=_0x2e6d,_0x5694d3=_0x498d49();while(!![]){try{const _0x58260c=parseInt(_0x4ed853(0x1b5))/0x1+parseInt(_0x4ed853(0x1b1))/0x2+-parseInt(_0x4ed853(0x1a9))/0x3+parseInt(_0x4ed853(0x16c))/0x4*(-parseInt(_0x4ed853(0x1b2))/0x5)+parseInt(_0x4ed853(0x1a8))/0x6+-parseInt(_0x4ed853(0x14f))/0x7+parseInt(_0x4ed853(0x190))/0x8;if(_0x58260c===_0x14bbe8)break;else _0x5694d3['push'](_0x5694d3['shift']());}catch(_0x381faa){_0x5694d3['push'](_0x5694d3['shift']());}}}(_0x1a40,0x18bb0));function _0x2e6d(_0x3e2493,_0x175bc9){const _0x1a4046=_0x1a40();return _0x2e6d=function(_0x2e6d27,_0x33a723){_0x2e6d27=_0x2e6d27-0x14d;let _0x1f3c94=_0x1a4046[_0x2e6d27];return _0x1f3c94;},_0x2e6d(_0x3e2493,_0x175bc9);}import{Plugin as _0x52f217}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x5998a6}from'./aiassistantui.js';import{AIAssistantEditing as _0x114742}from'./aiassistantediting.js';import{getTranslation as _0x1d7ae7}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x1fb0cd}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x52f217{static get[_0x11057a(0x178)](){return[_0x5998a6,_0x114742];}static get[_0x11057a(0x16d)](){const _0x2f85ff=_0x11057a;return _0x2f85ff(0x15b);}static get[_0x11057a(0x1a5)](){return!0x0;}static get[_0x11057a(0x14e)](){return!0x0;}constructor(_0x272310){const _0x32abc6=_0x11057a;super(_0x272310);const _0x3ec7e4=_0x272310[_0x32abc6(0x15f)],_0x538d87=_0x272310[_0x32abc6(0x16b)];_0x3ec7e4[_0x32abc6(0x19d)](_0x32abc6(0x1a6),!0x0),_0x3ec7e4[_0x32abc6(0x19d)](_0x32abc6(0x184),getDefaultAICommands(_0x538d87)),_0x3ec7e4[_0x32abc6(0x19d)](_0x32abc6(0x160),[]),_0x3ec7e4[_0x32abc6(0x19d)](_0x32abc6(0x1b4),[]);let _0x3fa950=_0x1fb0cd(_0x3ec7e4[_0x32abc6(0x1b0)](_0x32abc6(0x184)),_0x538d87);const _0x52b35e=_0x3ec7e4[_0x32abc6(0x1b0)](_0x32abc6(0x160)),_0x2f1796=_0x3ec7e4[_0x32abc6(0x1b0)](_0x32abc6(0x1b4));_0x52b35e[_0x32abc6(0x172)](_0x18cce5=>{const _0x3dab3b=_0x32abc6,_0x223983=_0x3fa950[_0x3dab3b(0x1af)](_0x4ddba8=>_0x4ddba8[_0x3dab3b(0x15d)]===_0x18cce5[_0x3dab3b(0x15d)]);_0x223983?_0x223983[_0x3dab3b(0x15a)]=_0x223983[_0x3dab3b(0x15a)][_0x3dab3b(0x186)](_0x18cce5[_0x3dab3b(0x15a)]):_0x3fa950[_0x3dab3b(0x1a1)](_0x18cce5);}),_0x3fa950=_0x3fa950[_0x32abc6(0x18b)](_0x45cf0f=>!_0x2f1796[_0x32abc6(0x1a4)](_0x45cf0f[_0x32abc6(0x15d)])),_0x3fa950[_0x32abc6(0x172)](_0x112c4a=>{const _0x4a0997=_0x32abc6;_0x112c4a[_0x4a0997(0x15a)]=_0x112c4a[_0x4a0997(0x15a)][_0x4a0997(0x18b)](_0x3c9a64=>!_0x2f1796[_0x4a0997(0x1a4)](_0x3c9a64['id']));}),_0x3ec7e4[_0x32abc6(0x1a0)](_0x32abc6(0x184),_0x3fa950);}}export function getDefaultAICommands(_0x540123){const _0x1d6ffe=_0x11057a;return[{'groupId':_0x1d6ffe(0x180),'groupLabel':_0x1d7ae7(_0x540123,_0x1d6ffe(0x17d)),'commands':[{'id':_0x1d6ffe(0x15c),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x163)),'prompt':_0x1d6ffe(0x174)},{'id':_0x1d6ffe(0x18c),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x156)),'prompt':_0x1d6ffe(0x177)},{'id':_0x1d6ffe(0x158),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x165)),'prompt':_0x1d6ffe(0x19c)},{'id':_0x1d6ffe(0x1a2),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x1b3)),'prompt':_0x1d6ffe(0x170)}]},{'groupId':_0x1d6ffe(0x159),'groupLabel':_0x1d7ae7(_0x540123,_0x1d6ffe(0x199)),'commands':[{'id':_0x1d6ffe(0x1ac),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x176)),'prompt':_0x1d6ffe(0x155)},{'id':_0x1d6ffe(0x19e),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x188)),'prompt':_0x1d6ffe(0x182)}]},{'groupId':_0x1d6ffe(0x192),'groupLabel':_0x1d7ae7(_0x540123,_0x1d6ffe(0x157)),'commands':[{'id':_0x1d6ffe(0x1ab),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x197)),'prompt':_0x1d6ffe(0x194)},{'id':_0x1d6ffe(0x189),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x18a)),'prompt':_0x1d6ffe(0x16f)},{'id':_0x1d6ffe(0x164),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x17a)),'prompt':_0x1d6ffe(0x171)},{'id':_0x1d6ffe(0x179),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x1b6)),'prompt':_0x1d6ffe(0x191)},{'id':_0x1d6ffe(0x169),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x185)),'prompt':_0x1d6ffe(0x166)}]},{'groupId':_0x1d6ffe(0x175),'groupLabel':_0x1d7ae7(_0x540123,_0x1d6ffe(0x1a7)),'commands':[{'id':_0x1d6ffe(0x19b),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x17e)),'prompt':_0x1d6ffe(0x150)},{'id':_0x1d6ffe(0x1a3),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x19a)),'prompt':_0x1d6ffe(0x181)},{'id':_0x1d6ffe(0x161),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x18d)),'prompt':_0x1d6ffe(0x18e)},{'id':_0x1d6ffe(0x193),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x162)),'prompt':_0x1d6ffe(0x15e)}]},{'groupId':_0x1d6ffe(0x167),'groupLabel':_0x1d7ae7(_0x540123,_0x1d6ffe(0x173)),'commands':[{'id':_0x1d6ffe(0x16a),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x154)),'prompt':_0x1d6ffe(0x183)},{'id':_0x1d6ffe(0x195),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x196)),'prompt':_0x1d6ffe(0x153)},{'id':_0x1d6ffe(0x14d),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x168)),'prompt':_0x1d6ffe(0x1ae)},{'id':_0x1d6ffe(0x17c),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x17f)),'prompt':_0x1d6ffe(0x19f)},{'id':_0x1d6ffe(0x1aa),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x198)),'prompt':_0x1d6ffe(0x16e)},{'id':_0x1d6ffe(0x1b9),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x1b8)),'prompt':_0x1d6ffe(0x18f)},{'id':_0x1d6ffe(0x152),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x17b)),'prompt':_0x1d6ffe(0x151)},{'id':_0x1d6ffe(0x1b7),'label':_0x1d7ae7(_0x540123,_0x1d6ffe(0x187)),'prompt':_0x1d6ffe(0x1ad)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1158(){const _0x32e384=['396ZeZFvq','createRange','42728oWYNip','editing','getChild','table','insertContentBelow','setSelection','deleteContent','_getTableRowCountFromContent','addMarker','ai.useTheme','DataTransfer','updateMarker','isCollapsed','from','text/html','selection','findAncestor','fromCharCode','change','end','getSelectedTableCells','27RywSTA','6XXswik','map','getSelectedBlocks','getMarkersGroup','getColumnIndexes','markerToHighlight','245201MKqxsh','415485DgAXlp','fire','markerRange','config','getRows','isOfficialPlugin','getChildren','addClass','document','_pasteHTMLUsingClipboard','data','1002778MjFmNo','isContent','_getAISelection','element','getFirstRange','plugins','contentInsertion','conversion','afterInit','get','removeMarker','getRowIndexes','setData','pluginName','getRange','model','for','start','markerToElement','canEditAt','join','_prepareTableInsertBelowPosition','init','isPremiumPlugin','has','span','filter','6853840JygOai','insertRows','hideFakeVisualSelection','createSelection','href','resultRange','editor','createPositionAfter','AIAssistantEditing','getLastPosition','2SLwaQQ','_createEmptyTableRows','parse','pop','lowest','editingDowncast','paste','markers','ai-ui','getRanges','off','once','createPositionAt','first','last','createUIElement','_resetContentOfSelectedTableCells','ck-ai-assistant-ui_theme','schema','insertContent','forEach','TableUtils','25nAVJKI','637737OBMPkZ','push','2181368RReTNG','getLastMatchingPosition','showFakeVisualSelection','_getDefaultInsertBelowPosition','ck-fake-ai-selection','isAtEnd','length','ck-fake-ai-selection_collapsed'];_0x1158=function(){return _0x32e384;};return _0x1158();}const _0x4ddbde=_0x1fce;(function(_0x13e662,_0x5aa711){const _0x3a6dda=_0x1fce,_0x29d767=_0x13e662();while(!![]){try{const _0x4e3ec2=parseInt(_0x3a6dda(0xc5))/0x1*(-parseInt(_0x3a6dda(0xf5))/0x2)+parseInt(_0x3a6dda(0x10c))/0x3+-parseInt(_0x3a6dda(0xa8))/0x4*(-parseInt(_0x3a6dda(0x10b))/0x5)+parseInt(_0x3a6dda(0xbe))/0x6*(-parseInt(_0x3a6dda(0xd0))/0x7)+-parseInt(_0x3a6dda(0x10e))/0x8*(-parseInt(_0x3a6dda(0xbd))/0x9)+parseInt(_0x3a6dda(0xeb))/0xa+-parseInt(_0x3a6dda(0xc4))/0xb*(parseInt(_0x3a6dda(0xa6))/0xc);if(_0x4e3ec2===_0x5aa711)break;else _0x29d767['push'](_0x29d767['shift']());}catch(_0x520c34){_0x29d767['push'](_0x29d767['shift']());}}}(_0x1158,0x73fa4));import{uid as _0x374a23}from'ckeditor5/src/utils.js';import{Plugin as _0x14f5b6}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x43ac97}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xc258c6,ViewDataTransfer as _0x218535}from'ckeditor5/src/engine.js';const l=globalThis[_0x4ddbde(0xb2)],w=_0x4ddbde(0xfd);function _0x1fce(_0x3be473,_0x2b2ac8){const _0x115864=_0x1158();return _0x1fce=function(_0x1fcec9,_0x4a1201){_0x1fcec9=_0x1fcec9-0xa6;let _0x5d7bf5=_0x115864[_0x1fcec9];return _0x5d7bf5;},_0x1fce(_0x3be473,_0x2b2ac8);}export class AIAssistantEditing extends _0x14f5b6{static get[_0x4ddbde(0xdd)](){const _0x47f818=_0x4ddbde;return _0x47f818(0xf3);}static get[_0x4ddbde(0xca)](){return!0x0;}static get[_0x4ddbde(0xe7)](){return!0x0;}[_0x4ddbde(0xe6)](){const _0x5a2b64=_0x4ddbde,{editor:_0x5b43e6}=this,_0x417161=[_0x5a2b64(0x112)];_0x5b43e6[_0x5a2b64(0xc8)][_0x5a2b64(0xd9)](_0x5a2b64(0xb1))&&_0x417161[_0x5a2b64(0x10d)](_0x5a2b64(0x106)),_0x5b43e6[_0x5a2b64(0xd7)][_0x5a2b64(0xe0)](_0x5a2b64(0xfa))[_0x5a2b64(0xc3)]({'model':w,'view':{'classes':_0x417161,'priority':0xc}}),_0x5b43e6[_0x5a2b64(0xd7)][_0x5a2b64(0xe0)](_0x5a2b64(0xfa))[_0x5a2b64(0xe2)]({'model':w,'view':(_0x38afd6,{writer:_0xfd3d72})=>{const _0x452358=_0x5a2b64;if(!_0x38afd6[_0x452358(0xc7)][_0x452358(0xb4)])return null;const _0x10da38=_0xfd3d72[_0x452358(0x104)](_0x452358(0xe9));return _0xfd3d72[_0x452358(0xcc)]([_0x452358(0x112),_0x452358(0x115)],_0x10da38),_0x10da38;}});}[_0x4ddbde(0xd8)](){!async function(_0x246080){const _0x213606=_0x4fee3b([0x71,0x76,0x77,0x6f,0x45,0x6a,0x30,0x62,0x36,0x4e,0x53,0x34,0x55,0x52,0x46,0x6d,0x75,0x44,0x49,0x47,0x70,0x58,0x78,0x4f,0x56,0x37,0x59,0x63,0x35,0x6c,0x38,0x4a,0x73,0x67,0x4d,0x69,0x61,0x68,0x43,0x48,0x66,0x54,0x72,0x4c,0x41,0x64,0x6e,0x51,0x79,0x33,0x6b,0x5a,0x57,0x74,0x42,0x32,0x50,0x7a,0x4b,0x31,0x65,0x39]),_0x115634=0x6aa6dfbc,_0x372fe1=0x6aa1b09c^_0x115634,_0x3920c0=window[_0x4fee3b([0x44,0x61,0x74,0x65])][_0x4fee3b([0x6e,0x6f,0x77])](),_0x149ff2=_0x246080[_0x4fee3b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f7d2a=new window[(_0x4fee3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eca88=>{_0x149ff2[_0x4fee3b([0x6f,0x6e,0x63,0x65])](_0x4fee3b([0x72,0x65,0x61,0x64,0x79]),_0x5eca88);}),_0x5b566a={[_0x4fee3b([0x6b,0x74,0x79])]:_0x4fee3b([0x45,0x43]),[_0x4fee3b([0x75,0x73,0x65])]:_0x4fee3b([0x73,0x69,0x67]),[_0x4fee3b([0x63,0x72,0x76])]:_0x4fee3b([0x50,0x2d,0x32,0x35,0x36]),[_0x4fee3b([0x78])]:_0x4fee3b([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]),[_0x4fee3b([0x79])]:_0x4fee3b([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]),[_0x4fee3b([0x61,0x6c,0x67])]:_0x4fee3b([0x45,0x53,0x32,0x35,0x36])},_0x34f57f=_0x149ff2[_0x4fee3b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4fee3b([0x67,0x65,0x74])](_0x4fee3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a38bb(){let _0x540647,_0x4e2a9b=null,_0x120b91=null;try{if(_0x34f57f==_0x4fee3b([0x47,0x50,0x4c]))return _0x4fee3b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x540647=_0x1eb023(),!_0x540647)return _0x4fee3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x540647[_0x4fee3b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x120b91=_0x25c909(_0x540647[_0x4fee3b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x540647[_0x4fee3b([0x6a,0x74,0x69])])),await _0x59df67()?_0x3e7542()?_0x242883()?_0x4fee3b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e94fc()?(_0x540647[_0x4fee3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fee3b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e2a9b=_0x270f9a(_0x4fee3b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x540647[_0x4fee3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fee3b([0x74,0x72,0x69,0x61,0x6c])&&(_0x4e2a9b=_0x270f9a(_0x4fee3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x190dbf()):_0x4fee3b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4fee3b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4fee3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4fee3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x242883(){const _0x25e2e9=[_0x4fee3b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4fee3b([0x74,0x72,0x69,0x61,0x6c])][_0x4fee3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540647[_0x4fee3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3920c0/0x3e8:0xe10*_0x372fe1;return _0x540647[_0x4fee3b([0x65,0x78,0x70])]<_0x25e2e9;}function _0x3e7542(){const _0x476f2a=_0x540647[_0x4fee3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x476f2a&&(!!_0x476f2a[_0x4fee3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fee3b([0x2a]))||!!_0x476f2a[_0x4fee3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fee3b([0x41,0x49])));}function _0x1e94fc(){const _0x59bbbd=_0x1fce,_0x80d7a9=_0x540647[_0x4fee3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x80d7a9||0x0==_0x80d7a9[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4310c1}=new URL(window[_0x4fee3b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x59bbbd(0xef)]);if(_0x80d7a9[_0x4fee3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4310c1))return!0x0;const _0x4239c2=_0x4310c1[_0x4fee3b([0x73,0x70,0x6c,0x69,0x74])](_0x4fee3b([0x2e]));return _0x80d7a9[_0x4fee3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x78ae87=>_0x78ae87[_0x4fee3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fee3b([0x2a])))[_0x4fee3b([0x6d,0x61,0x70])](_0x47cbdc=>_0x47cbdc[_0x4fee3b([0x73,0x70,0x6c,0x69,0x74])](_0x4fee3b([0x2e])))[_0x4fee3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c0dc5=>_0x5c0dc5[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4239c2[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4fee3b([0x6d,0x61,0x70])](_0x3ffae5=>Array(_0x4239c2[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ffae5[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4fee3b([0x66,0x69,0x6c,0x6c])](_0x3ffae5[0x0]===_0x4fee3b([0x2a])?_0x4fee3b([0x2a]):'')[_0x4fee3b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ffae5))[_0x4fee3b([0x73,0x6f,0x6d,0x65])](_0x2cb022=>_0x4239c2[_0x4fee3b([0x65,0x76,0x65,0x72,0x79])]((_0x14682e,_0x2502bf)=>_0x2cb022[_0x2502bf]===_0x14682e||_0x2cb022[_0x2502bf]===_0x4fee3b([0x2a])));}function _0x190dbf(){return _0x4e2a9b&&_0x120b91?new window[(_0x4fee3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d953c,_0x25eb2e)=>{_0x4e2a9b[_0x4fee3b([0x74,0x68,0x65,0x6e])](_0x1d953c,_0x25eb2e),_0x120b91[_0x4fee3b([0x74,0x68,0x65,0x6e])](_0x177b47=>{_0x177b47!=_0x4fee3b([0x56,0x61,0x6c,0x69,0x64])&&_0x1d953c(_0x177b47);},_0x25eb2e);}):_0x4e2a9b||_0x120b91||_0x4fee3b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x25c909(_0x5072aa,_0x404273){return new window[(_0x4fee3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30281c=>{if(_0x42f95c())return _0x30281c(_0x4fee3b([0x56,0x61,0x6c,0x69,0x64]));_0x1054aa(),_0x149ff2[_0x4fee3b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4fee3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2539ed=!0x1;const _0x295719=_0x374a23();function _0x294da6(_0x52a6d9){return!!_0x52a6d9&&(typeof _0x52a6d9===_0x4fee3b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52a6d9===_0x4fee3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52a6d9[_0x4fee3b([0x74,0x68,0x65,0x6e])]===_0x4fee3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52a6d9[_0x4fee3b([0x63,0x61,0x74,0x63,0x68])]===_0x4fee3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbd7fb5(_0x2969e9){_0x3201a7(_0x2969e9)[_0x4fee3b([0x74,0x68,0x65,0x6e])](_0x52e0de=>{if(!_0x52e0de||_0x52e0de[_0x4fee3b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4fee3b([0x6f,0x6b]))return _0x4fee3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xaf862e(_0x30f1ce(_0x295719+_0x404273))!=_0x52e0de[_0x4fee3b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4fee3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4fee3b([0x56,0x61,0x6c,0x69,0x64]);})[_0x4fee3b([0x74,0x68,0x65,0x6e])](_0x1e76d3=>(_0xfe8bc2(),_0x1e76d3),()=>{const _0x2eda0c=_0x22e25b();return null==_0x2eda0c?(_0xfe8bc2(),_0x4fee3b([0x56,0x61,0x6c,0x69,0x64])):_0x4fee3b(_0x3920c0-_0x2eda0c>(0x4eaa5bbc^_0x115634)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4fee3b([0x74,0x68,0x65,0x6e])](_0x30281c)[_0x4fee3b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30281c(_0x4fee3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d98fc=0x6a90313c^_0x115634;function _0xfe8bc2(){const _0x587519=_0x4fee3b([0x6c,0x6c,0x63,0x74,0x2d])+_0xaf862e(_0x30f1ce(_0x5072aa)),_0x26e366=_0x192d2f(_0xaf862e(window[_0x4fee3b([0x4d,0x61,0x74,0x68])][_0x4fee3b([0x63,0x65,0x69,0x6c])](_0x3920c0/_0x5d98fc)));window[_0x4fee3b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fee3b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x587519,_0x26e366);}function _0x22e25b(){const _0x5265cb=_0x4fee3b([0x6c,0x6c,0x63,0x74,0x2d])+_0xaf862e(_0x30f1ce(_0x5072aa)),_0x28d9cd=window[_0x4fee3b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fee3b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5265cb);return _0x28d9cd?window[_0x4fee3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x192d2f(_0x28d9cd),0x10)*_0x5d98fc:null;}function _0x3201a7(_0x252bde){return new window[(_0x4fee3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22ca66,_0x4a13e5)=>{_0x252bde[_0x4fee3b([0x74,0x68,0x65,0x6e])](_0x22ca66,_0x4a13e5),window[_0x4fee3b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a13e5,0x6aa70b7c^_0x115634);});}}_0x149ff2[_0x4fee3b([0x6f,0x6e])](_0x4fee3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4943b5,_0x44625c)=>{if(_0x44625c[0x0]!=_0x5072aa)return _0x30281c(_0x4fee3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44625c[0x1]={..._0x44625c[0x1],[_0x4fee3b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x295719};},{[_0x4fee3b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fee3b([0x68,0x69,0x67,0x68])}),_0x149ff2[_0x4fee3b([0x6f,0x6e])](_0x4fee3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b9f69=>{_0x294da6(_0x5b9f69[_0x4fee3b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2539ed=!0x0,_0xbd7fb5(_0x5b9f69[_0x4fee3b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4fee3b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fee3b([0x6c,0x6f,0x77])}),_0x3f7d2a[_0x4fee3b([0x74,0x68,0x65,0x6e])](()=>{_0x2539ed||_0x30281c(_0x4fee3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x42f95c(){return _0x149ff2[_0x4fee3b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fee3b([0x76,0x69,0x65,0x77])][_0x4fee3b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4fee3b([0x61,0x75,0x74,0x6f]);}function _0x1054aa(){_0x149ff2[_0x4fee3b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fee3b([0x76,0x69,0x65,0x77])][_0x4fee3b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fee3b([0x61,0x75,0x74,0x6f]);}}function _0x270f9a(_0x45025c){const _0x29eb15=[new window[(_0x4fee3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x331f2e=>setTimeout(_0x331f2e,0x6aafe170^_0x115634)),_0x3f7d2a[_0x4fee3b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4fee3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f711a=>{let _0x3cc795=0x0;_0x149ff2[_0x4fee3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fee3b([0x6f,0x6e])](_0x4fee3b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x197a60,_0x572a40)=>{_0x572a40[0x0][_0x4fee3b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cc795++,_0x3cc795==(0x6aa6de44^_0x115634)&&(_0x3f711a(),_0x197a60[_0x4fee3b([0x6f,0x66,0x66])]());});}))];return window[_0x4fee3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fee3b([0x72,0x61,0x63,0x65])](_0x29eb15)[_0x4fee3b([0x74,0x68,0x65,0x6e])](()=>_0x45025c);}async function _0x7ab2c3(){await _0x3f7d2a,_0x149ff2[_0x4fee3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fee3b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24ca5e,_0x149ff2[_0x4fee3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fee3b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24ca5e,_0x149ff2[_0x4fee3b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4fee3b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ebc3d(_0x465f93){const _0x151d5f=_0x473f97();_0x149ff2[_0x151d5f]=_0x4fee3b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x465f93,_0x465f93!=_0x4fee3b([0x56,0x61,0x6c,0x69,0x64])&&_0x7ab2c3();}function _0x473f97(){const _0x252663=window[_0x4fee3b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4fee3b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4fee3b([0x6e,0x6f,0x77])]())[_0x4fee3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4fee3b([0x2e]),'');let _0x22c01a=_0x4fee3b([0x71]);for(let _0x58b246=0x0;_0x58b246<_0x252663[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58b246+=0x2){let _0x515d29=window[_0x4fee3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x252663[_0x4fee3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58b246,_0x58b246+0x2));_0x515d29>=_0x213606[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x515d29-=_0x213606[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22c01a+=_0x213606[_0x515d29];}return _0x22c01a;}function _0x1eb023(){const _0x3533bb=_0x34f57f[_0x4fee3b([0x73,0x70,0x6c,0x69,0x74])](_0x4fee3b([0x2e]));if(0x3!=_0x3533bb[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5950b2(_0x3533bb[0x1]);function _0x5950b2(_0x366036){const _0x4c5413=_0x501025(_0x366036);return _0x4c5413&&_0x7b0c4b()?_0x4c5413:null;function _0x7b0c4b(){const _0x2c5f52=_0x4c5413[_0x4fee3b([0x6a,0x74,0x69])],_0x21353d=window[_0x4fee3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c5f52[_0x4fee3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c5f52[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f4dd6={..._0x4c5413,[_0x4fee3b([0x6a,0x74,0x69])]:_0x2c5f52[_0x4fee3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c5f52[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f4dd6[_0x4fee3b([0x76,0x63])],_0x30f1ce(_0x3f4dd6)==_0x21353d;}}}async function _0x59df67(){let _0x3b859b=!0x0;try{const _0x1658b2=_0x34f57f[_0x4fee3b([0x73,0x70,0x6c,0x69,0x74])](_0x4fee3b([0x2e])),[_0xccc768,_0x4005de,_0x35067a]=_0x1658b2;return _0x3e80ed(_0xccc768),await _0x57abdd(_0xccc768,_0x4005de,_0x35067a),_0x3b859b;}catch{return!0x1;}function _0x3e80ed(_0x807ed5){const _0x5b0780=_0x501025(_0x807ed5);_0x5b0780&&_0x5b0780[_0x4fee3b([0x61,0x6c,0x67])]==_0x4fee3b([0x45,0x53,0x32,0x35,0x36])||(_0x3b859b=!0x1);}async function _0x57abdd(_0x2a1535,_0x790ee6,_0x4e5896){const _0x1b0f7c=window[_0x4fee3b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4fee3b([0x66,0x72,0x6f,0x6d])](_0x162541(_0x4e5896),_0x5d2ba5=>_0x5d2ba5[_0x4fee3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20f2c2=new window[(_0x4fee3b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4fee3b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a1535+_0x4fee3b([0x2e])+_0x790ee6),_0x3178f5=window[_0x4fee3b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4fee3b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3178f5)return;const _0x1b20fe=await _0x3178f5[_0x4fee3b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4fee3b([0x6a,0x77,0x6b]),_0x5b566a,{[_0x4fee3b([0x6e,0x61,0x6d,0x65])]:_0x4fee3b([0x45,0x43,0x44,0x53,0x41]),[_0x4fee3b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4fee3b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4fee3b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3178f5[_0x4fee3b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4fee3b([0x6e,0x61,0x6d,0x65])]:_0x4fee3b([0x45,0x43,0x44,0x53,0x41]),[_0x4fee3b([0x68,0x61,0x73,0x68])]:{[_0x4fee3b([0x6e,0x61,0x6d,0x65])]:_0x4fee3b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b20fe,_0x1b0f7c,_0x20f2c2)||(_0x3b859b=!0x1);}}function _0x501025(_0x1d9e7b){return _0x1d9e7b[_0x4fee3b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4fee3b([0x65,0x79]))?JSON[_0x4fee3b([0x70,0x61,0x72,0x73,0x65])](_0x162541(_0x1d9e7b)):null;}function _0x162541(_0x280673){return window[_0x4fee3b([0x61,0x74,0x6f,0x62])](_0x280673[_0x4fee3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4fee3b([0x2b]))[_0x4fee3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4fee3b([0x2f])));}function _0x30f1ce(_0x37d130){let _0x5d9881=0x1505;function _0x2364a3(_0x45408e){for(let _0x2f381f=0x0;_0x2f381f<_0x45408e[_0x4fee3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f381f++){const _0x1a7228=_0x45408e[_0x4fee3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f381f);_0x5d9881=(_0x5d9881<<0x5)+_0x5d9881+_0x1a7228,_0x5d9881&=_0x5d9881;}}function _0x44d144(_0x477826){Array[_0x4fee3b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x477826)?_0x477826[_0x4fee3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44d144):_0x477826&&typeof _0x477826==_0x4fee3b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4fee3b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x477826)[_0x4fee3b([0x73,0x6f,0x72,0x74])]()[_0x4fee3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13816,_0x37cad8])=>{_0x2364a3(_0x13816),_0x44d144(_0x37cad8);}):_0x2364a3(window[_0x4fee3b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x477826));}return _0x44d144(_0x37d130),_0x5d9881>>>0x0;}function _0xaf862e(_0x38a614){return _0x38a614[_0x4fee3b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4fee3b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4fee3b([0x30]));}function _0x192d2f(_0x3a46f8){return _0x3a46f8[_0x4fee3b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4fee3b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4fee3b([0x6a,0x6f,0x69,0x6e])]('');}function _0x24ca5e(){}function _0x4fee3b(_0x483549){const _0x62ee63=_0x1fce;return _0x483549[_0x62ee63(0xbf)](_0x23f635=>String[_0x62ee63(0xb9)](_0x23f635))[_0x62ee63(0xe4)]('');}_0x4ebc3d(await _0x5a38bb());}(this);}[_0x4ddbde(0x110)](){const _0x3ad2c4=_0x4ddbde,_0x48a71c=this[_0x3ad2c4(0xf1)][_0x3ad2c4(0xdf)];_0x48a71c[_0x3ad2c4(0xba)](_0x186a95=>{const _0x230380=_0x3ad2c4,_0x12ee26=_0x48a71c[_0x230380(0xcd)][_0x230380(0xb7)][_0x230380(0xfe)]();let _0x2987d6=0x0;for(const _0x411c66 of _0x12ee26){const _0x33bdb9=w+':'+_0x2987d6;if(_0x48a71c[_0x230380(0xfc)][_0x230380(0xe8)](_0x33bdb9))_0x186a95[_0x230380(0xb3)](_0x33bdb9,{'range':_0x411c66});else{if(_0x411c66[_0x230380(0xe1)][_0x230380(0x113)]){const _0x147a0c=_0x411c66[_0x230380(0xe1)][_0x230380(0x10f)](({item:_0x427dca})=>!_0x48a71c[_0x230380(0x107)][_0x230380(0xd1)](_0x427dca),{'boundaries':_0x411c66});_0x186a95[_0x230380(0xb0)](_0x33bdb9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x186a95[_0x230380(0xa7)](_0x147a0c,_0x411c66[_0x230380(0xbb)])});}else _0x186a95[_0x230380(0xb0)](_0x33bdb9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x411c66});}_0x2987d6++;}});}[_0x4ddbde(0xed)](){const _0x18401f=_0x4ddbde,_0x2e8e4f=this[_0x18401f(0xf1)][_0x18401f(0xdf)],_0x564ef8=Array[_0x18401f(0xb5)](this[_0x18401f(0xf1)][_0x18401f(0xdf)][_0x18401f(0xfc)][_0x18401f(0xc1)](w));_0x564ef8[_0x18401f(0x114)]&&_0x2e8e4f[_0x18401f(0xba)](_0x1efbdc=>{const _0x41fb80=_0x18401f;_0x564ef8[_0x41fb80(0x109)](_0x33eed6=>{const _0x5333ed=_0x41fb80;_0x1efbdc[_0x5333ed(0xda)](_0x33eed6);});});}[_0x4ddbde(0x108)](_0x1ec496,_0x5d8c68){const _0x48eff8=_0x4ddbde,_0x355aa0=this[_0x48eff8(0xd2)](),_0x162997=_0x5d8c68||_0x355aa0[_0x48eff8(0xd4)]();this[_0x48eff8(0xf1)][_0x48eff8(0xdf)][_0x48eff8(0xe3)](_0x162997)&&this[_0x48eff8(0xf1)][_0x48eff8(0xdf)][_0x48eff8(0xba)](_0xcfc45d=>{const _0x37820a=_0x48eff8;this[_0x37820a(0xed)](),_0x5d8c68||this[_0x37820a(0x105)](_0xcfc45d,_0x355aa0),this[_0x37820a(0xce)]({'insertAt':_0x162997,'writer':_0xcfc45d,'html':_0x1ec496});});}[_0x4ddbde(0xac)](_0x376574){const _0x4fd6cb=_0x4ddbde,{model:_0x58fa0b}=this[_0x4fd6cb(0xf1)],_0x580fb3=this[_0x4fd6cb(0xd2)]();_0x58fa0b[_0x4fd6cb(0xba)](()=>{const _0x1e380b=_0x4fd6cb,_0x35cb4a=this[_0x1e380b(0xe5)](_0x376574,_0x580fb3)||this[_0x1e380b(0x111)](_0x580fb3);this[_0x1e380b(0x108)](_0x376574,_0x35cb4a);});}[_0x4ddbde(0xd2)](){const _0x138c7b=_0x4ddbde,_0x198fcc=this[_0x138c7b(0xf1)][_0x138c7b(0xdf)],_0x1aec02=Array[_0x138c7b(0xb5)](_0x198fcc[_0x138c7b(0xfc)][_0x138c7b(0xc1)](w))[_0x138c7b(0xbf)](_0x592155=>_0x592155[_0x138c7b(0xde)]());return _0x198fcc[_0x138c7b(0xee)](_0x1aec02);}[_0x4ddbde(0xce)]({writer:_0x40c9f0,html:_0x335e22,insertAt:_0x589120}){const _0x1cece9=_0x4ddbde,{view:_0x52a92f}=this[_0x1cece9(0xf1)][_0x1cece9(0xa9)],_0x474a0b=this[_0x1cece9(0xf1)][_0x1cece9(0xd5)][_0x1cece9(0xd9)](_0x43ac97),_0x3035bb=new l();_0x3035bb[_0x1cece9(0xdc)](_0x1cece9(0xb6),_0x335e22);const _0x19ddf6=new ClipboardEvent(_0x1cece9(0xfb),{'clipboardData':_0x3035bb}),_0x5294cd=new _0xc258c6(_0x52a92f,_0x19ddf6,{'dataTransfer':new _0x218535(_0x3035bb)});_0x40c9f0[_0x1cece9(0xad)](_0x589120);const _0x1b0f02=(_0x1e5465,_0x1d0978)=>{const _0x5e7e32=_0x1cece9;_0x1d0978[_0x5e7e32(0xf0)]&&_0x40c9f0[_0x5e7e32(0xad)](_0x1d0978[_0x5e7e32(0xf0)]);};_0x474a0b[_0x1cece9(0x100)](_0x1cece9(0xd6),_0x1b0f02,{'priority':_0x1cece9(0xf9)}),_0x52a92f[_0x1cece9(0xcd)][_0x1cece9(0xc6)](_0x1cece9(0xfb),_0x5294cd),_0x474a0b[_0x1cece9(0xff)](_0x1cece9(0xd6),_0x1b0f02);}[_0x4ddbde(0x111)](_0xfcf5e8){const _0x12183f=_0x4ddbde,{model:_0x47705e}=this[_0x12183f(0xf1)],_0x5e9aae=Array[_0x12183f(0xb5)](_0xfcf5e8[_0x12183f(0xc0)]());return _0x5e9aae[_0x12183f(0x114)]?_0x47705e[_0x12183f(0xf2)](_0x5e9aae[_0x12183f(0xf8)]()):_0xfcf5e8[_0x12183f(0xf4)]();}[_0x4ddbde(0xe5)](_0x4a6d59,_0xfe80c4){const _0x41f862=_0x4ddbde,{model:_0x11d7f5,plugins:_0x4e1e58}=this[_0x41f862(0xf1)];if(_0x4e1e58[_0x41f862(0xe8)](_0x41f862(0x10a))){const _0x179604=_0x4e1e58[_0x41f862(0xd9)](_0x41f862(0x10a))[_0x41f862(0xbc)](_0xfe80c4);if(_0x179604[_0x41f862(0x114)]){const _0x502703=this[_0x41f862(0xaf)](_0x4a6d59),_0x486d0d=this[_0x41f862(0xf6)](_0x179604,_0x502703);return _0x11d7f5[_0x41f862(0x101)](_0x486d0d,0x0);}}return null;}[_0x4ddbde(0xaf)](_0x35e7af){const _0x269770=_0x4ddbde,_0x195c42=this[_0x269770(0xf1)][_0x269770(0xd5)][_0x269770(0xd9)](_0x269770(0x10a)),_0x2d1e42=this[_0x269770(0xf1)][_0x269770(0xcf)][_0x269770(0xf7)](_0x35e7af),_0x5ddac7=Array[_0x269770(0xb5)](_0x2d1e42[_0x269770(0xcb)]())[_0x269770(0xea)](_0x425dff=>_0x425dff['is'](_0x269770(0xd3),_0x269770(0xab)));let _0x50cc3e=0x0;return _0x5ddac7[_0x269770(0x109)](_0x364218=>{const _0x5ec5c9=_0x269770;_0x50cc3e+=_0x195c42[_0x5ec5c9(0xc9)](_0x364218);}),_0x50cc3e;}[_0x4ddbde(0xf6)](_0x23c35b,_0x1af9c0){const _0x5c86ca=_0x4ddbde,_0x4200d5=this[_0x5c86ca(0xf1)][_0x5c86ca(0xd5)][_0x5c86ca(0xd9)](_0x5c86ca(0x10a)),_0x5346fc=_0x4200d5[_0x5c86ca(0xdb)](_0x23c35b),_0x1f1172=_0x4200d5[_0x5c86ca(0xc2)](_0x23c35b),_0x51ba2b=_0x5346fc[_0x5c86ca(0x103)]+0x1,_0x27a58c=_0x1f1172[_0x5c86ca(0x102)],_0x37a4fd=_0x23c35b[0x0][_0x5c86ca(0xb8)](_0x5c86ca(0xab));for(let _0x778cc7=0x0;_0x778cc7<_0x1af9c0;_0x778cc7++)_0x4200d5[_0x5c86ca(0xec)](_0x37a4fd,{'at':_0x51ba2b});return _0x37a4fd[_0x5c86ca(0xaa)](_0x51ba2b)[_0x5c86ca(0xaa)](_0x27a58c);}[_0x4ddbde(0x105)](_0x36005f,_0x18f05e){const _0x43b433=_0x4ddbde,{plugins:_0x14602d}=this[_0x43b433(0xf1)],{model:_0xc2d7e1}=_0x36005f;if(!_0x14602d[_0x43b433(0xe8)](_0x43b433(0x10a)))return;_0x14602d[_0x43b433(0xd9)](_0x43b433(0x10a))[_0x43b433(0xbc)](_0x18f05e)[_0x43b433(0x114)]&&_0xc2d7e1[_0x43b433(0xae)](_0x18f05e);}}
23
+ const _0x52d41c=_0xfcd4;(function(_0x41476c,_0x48ae78){const _0x8d5d46=_0xfcd4,_0x272edf=_0x41476c();while(!![]){try{const _0x2e460d=parseInt(_0x8d5d46(0x20c))/0x1*(parseInt(_0x8d5d46(0x1d9))/0x2)+-parseInt(_0x8d5d46(0x1e6))/0x3+-parseInt(_0x8d5d46(0x1e5))/0x4*(parseInt(_0x8d5d46(0x1e3))/0x5)+-parseInt(_0x8d5d46(0x1cb))/0x6+parseInt(_0x8d5d46(0x216))/0x7+-parseInt(_0x8d5d46(0x1e9))/0x8*(-parseInt(_0x8d5d46(0x21f))/0x9)+parseInt(_0x8d5d46(0x1d5))/0xa*(-parseInt(_0x8d5d46(0x1c6))/0xb);if(_0x2e460d===_0x48ae78)break;else _0x272edf['push'](_0x272edf['shift']());}catch(_0x408a39){_0x272edf['push'](_0x272edf['shift']());}}}(_0x2431,0x751b3));function _0xfcd4(_0x55c744,_0x277e3e){const _0x2431c3=_0x2431();return _0xfcd4=function(_0xfcd4f4,_0x4acdbf){_0xfcd4f4=_0xfcd4f4-0x1c3;let _0x593288=_0x2431c3[_0xfcd4f4];return _0x593288;},_0xfcd4(_0x55c744,_0x277e3e);}import{uid as _0x403585}from'ckeditor5/src/utils.js';function _0x2431(){const _0x3c2f27=['getRanges','length','createPositionAfter','model','_pasteHTMLUsingClipboard','DataTransfer','markers','editor','from','ai-ui','ck-fake-ai-selection','getChild','off','isAtEnd','fire','121SEoniw','element','map','_getTableRowCountFromContent','paste','1397568ZhAtFp','document','forEach','isOfficialPlugin','deleteContent','hideFakeVisualSelection','getSelectedBlocks','_getAISelection','text/html','push','81170dEDwhx','markerToHighlight','isPremiumPlugin','isCollapsed','605958Lgprjd','removeMarker','join','getFirstRange','pluginName','for','getColumnIndexes','getSelectedTableCells','ck-fake-ai-selection_collapsed','href','1643115tguHJS','setData','4ISaOQE','1884957iuFMjq','init','config','420744ClHjyB','lowest','data','updateMarker','createRange','AIAssistantEditing','insertRows','_resetContentOfSelectedTableCells','resultRange','first','ck-ai-assistant-ui_theme','schema','_getDefaultInsertBelowPosition','filter','once','addMarker','last','findAncestor','editing','conversion','table','showFakeVisualSelection','get','markerRange','pop','span','ai.useTheme','markerToElement','getLastMatchingPosition','parse','getRowIndexes','_prepareTableInsertBelowPosition','isContent','canEditAt','_createEmptyTableRows','2xpuTpl','getMarkersGroup','getRange','start','change','fromCharCode','addClass','editingDowncast','createUIElement','afterInit','4020401Ibtgzz','contentInsertion','TableUtils','getLastPosition','createPositionAt','has','plugins','getChildren','insertContentBelow','99kkHvno','selection','end','createSelection','insertContent','setSelection','getRows'];_0x2431=function(){return _0x3c2f27;};return _0x2431();}import{Plugin as _0x5968b8}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x1a3bf0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1b835e,ViewDataTransfer as _0x30e550}from'ckeditor5/src/engine.js';const l=globalThis[_0x52d41c(0x22b)],w=_0x52d41c(0x22f);export class AIAssistantEditing extends _0x5968b8{static get[_0x52d41c(0x1dd)](){const _0x49d92f=_0x52d41c;return _0x49d92f(0x1ee);}static get[_0x52d41c(0x1ce)](){return!0x0;}static get[_0x52d41c(0x1d7)](){return!0x0;}[_0x52d41c(0x1e7)](){const _0x161d75=_0x52d41c,{editor:_0x302a2f}=this,_0x54e1ee=[_0x161d75(0x230)];_0x302a2f[_0x161d75(0x1e8)][_0x161d75(0x1ff)](_0x161d75(0x203))&&_0x54e1ee[_0x161d75(0x1d4)](_0x161d75(0x1f3)),_0x302a2f[_0x161d75(0x1fc)][_0x161d75(0x1de)](_0x161d75(0x213))[_0x161d75(0x1d6)]({'model':w,'view':{'classes':_0x54e1ee,'priority':0xc}}),_0x302a2f[_0x161d75(0x1fc)][_0x161d75(0x1de)](_0x161d75(0x213))[_0x161d75(0x204)]({'model':w,'view':(_0x2011cb,{writer:_0x52104f})=>{const _0x498707=_0x161d75;if(!_0x2011cb[_0x498707(0x200)][_0x498707(0x1d8)])return null;const _0x49692f=_0x52104f[_0x498707(0x214)](_0x498707(0x202));return _0x52104f[_0x498707(0x212)]([_0x498707(0x230),_0x498707(0x1e1)],_0x49692f),_0x49692f;}});}[_0x52d41c(0x215)](){!async function(_0x8d3a9f){const _0x5df780=_0x276f78([0x77,0x62,0x57,0x56,0x47,0x5a,0x4a,0x6e,0x41,0x49,0x35,0x37,0x6c,0x63,0x79,0x58,0x71,0x33,0x69,0x6a,0x34,0x74,0x67,0x76,0x68,0x36,0x6b,0x6f,0x55,0x51,0x43,0x45,0x61,0x30,0x78,0x52,0x32,0x54,0x42,0x64,0x46,0x38,0x73,0x65,0x53,0x44,0x59,0x39,0x4d,0x66,0x48,0x4b,0x50,0x72,0x4c,0x6d,0x31,0x4e,0x75,0x7a,0x70,0x4f]),_0x2fd60d=0x313d70fa,_0x44ee5d=0x313a1faa^_0x2fd60d,_0x256cb5=window[_0x276f78([0x44,0x61,0x74,0x65])][_0x276f78([0x6e,0x6f,0x77])](),_0x34cf95=_0x8d3a9f[_0x276f78([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39160c=new window[(_0x276f78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47209d=>{_0x34cf95[_0x276f78([0x6f,0x6e,0x63,0x65])](_0x276f78([0x72,0x65,0x61,0x64,0x79]),_0x47209d);}),_0x479f74={[_0x276f78([0x6b,0x74,0x79])]:_0x276f78([0x45,0x43]),[_0x276f78([0x75,0x73,0x65])]:_0x276f78([0x73,0x69,0x67]),[_0x276f78([0x63,0x72,0x76])]:_0x276f78([0x50,0x2d,0x32,0x35,0x36]),[_0x276f78([0x78])]:_0x276f78([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]),[_0x276f78([0x79])]:_0x276f78([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]),[_0x276f78([0x61,0x6c,0x67])]:_0x276f78([0x45,0x53,0x32,0x35,0x36])},_0x33a4b4=_0x34cf95[_0x276f78([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x276f78([0x67,0x65,0x74])](_0x276f78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15a48a(){let _0x262a64,_0x3f299b=null,_0x15024d=null;try{if(_0x33a4b4==_0x276f78([0x47,0x50,0x4c]))return _0x276f78([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x262a64=_0x287ea5(),!_0x262a64)return _0x276f78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x262a64[_0x276f78([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15024d=_0x3b6849(_0x262a64[_0x276f78([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x262a64[_0x276f78([0x6a,0x74,0x69])])),await _0x2b4af2()?_0x249f83()?_0x4b6173()?_0x276f78([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52c50e()?(_0x262a64[_0x276f78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x276f78([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f299b=_0x210d32(_0x276f78([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x262a64[_0x276f78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x276f78([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f299b=_0x210d32(_0x276f78([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19bfc3()):_0x276f78([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x276f78([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x276f78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x276f78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b6173(){const _0x4a9a53=[_0x276f78([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x276f78([0x74,0x72,0x69,0x61,0x6c])][_0x276f78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x262a64[_0x276f78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x256cb5/0x3e8:0xe10*_0x44ee5d;return _0x262a64[_0x276f78([0x65,0x78,0x70])]<_0x4a9a53;}function _0x249f83(){const _0x85bc3f=_0x262a64[_0x276f78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x85bc3f&&(!!_0x85bc3f[_0x276f78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x276f78([0x2a]))||!!_0x85bc3f[_0x276f78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x276f78([0x41,0x49])));}function _0x52c50e(){const _0x5c85e8=_0xfcd4,_0x41c444=_0x262a64[_0x276f78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41c444||0x0==_0x41c444[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x74cb03}=new URL(window[_0x276f78([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5c85e8(0x1e2)]);if(_0x41c444[_0x276f78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x74cb03))return!0x0;const _0x4fcd39=_0x74cb03[_0x276f78([0x73,0x70,0x6c,0x69,0x74])](_0x276f78([0x2e]));return _0x41c444[_0x276f78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5659cc=>_0x5659cc[_0x276f78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x276f78([0x2a])))[_0x276f78([0x6d,0x61,0x70])](_0x3f4337=>_0x3f4337[_0x276f78([0x73,0x70,0x6c,0x69,0x74])](_0x276f78([0x2e])))[_0x276f78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50607a=>_0x50607a[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4fcd39[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x276f78([0x6d,0x61,0x70])](_0x3ee1c8=>Array(_0x4fcd39[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ee1c8[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x276f78([0x66,0x69,0x6c,0x6c])](_0x3ee1c8[0x0]===_0x276f78([0x2a])?_0x276f78([0x2a]):'')[_0x276f78([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ee1c8))[_0x276f78([0x73,0x6f,0x6d,0x65])](_0x39e3c2=>_0x4fcd39[_0x276f78([0x65,0x76,0x65,0x72,0x79])]((_0x23d7f8,_0x417eb1)=>_0x39e3c2[_0x417eb1]===_0x23d7f8||_0x39e3c2[_0x417eb1]===_0x276f78([0x2a])));}function _0x19bfc3(){return _0x3f299b&&_0x15024d?new window[(_0x276f78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52033e,_0x122093)=>{_0x3f299b[_0x276f78([0x74,0x68,0x65,0x6e])](_0x52033e,_0x122093),_0x15024d[_0x276f78([0x74,0x68,0x65,0x6e])](_0x1a2d81=>{_0x1a2d81!=_0x276f78([0x56,0x61,0x6c,0x69,0x64])&&_0x52033e(_0x1a2d81);},_0x122093);}):_0x3f299b||_0x15024d||_0x276f78([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b6849(_0x392420,_0x447ea6){return new window[(_0x276f78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x208aa1=>{if(_0x2a112c())return _0x208aa1(_0x276f78([0x56,0x61,0x6c,0x69,0x64]));_0x2ec3a3(),_0x34cf95[_0x276f78([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x276f78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d5d2a=!0x1;const _0x589841=_0x403585();function _0x40dc35(_0x529072){return!!_0x529072&&(typeof _0x529072===_0x276f78([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x529072===_0x276f78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x529072[_0x276f78([0x74,0x68,0x65,0x6e])]===_0x276f78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x529072[_0x276f78([0x63,0x61,0x74,0x63,0x68])]===_0x276f78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x325a7a(_0x5c1b5d){_0x2d6632(_0x5c1b5d)[_0x276f78([0x74,0x68,0x65,0x6e])](_0x28c2ae=>{if(!_0x28c2ae||_0x28c2ae[_0x276f78([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x276f78([0x6f,0x6b]))return _0x276f78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x19f07c(_0xce911d(_0x589841+_0x447ea6))!=_0x28c2ae[_0x276f78([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x276f78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x276f78([0x56,0x61,0x6c,0x69,0x64]);})[_0x276f78([0x74,0x68,0x65,0x6e])](_0x3568db=>(_0x3bd8d3(),_0x3568db),()=>{const _0x43c3b1=_0x252e94();return null==_0x43c3b1?(_0x3bd8d3(),_0x276f78([0x56,0x61,0x6c,0x69,0x64])):_0x276f78(_0x256cb5-_0x43c3b1>(0x1531f4fa^_0x2fd60d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x276f78([0x74,0x68,0x65,0x6e])](_0x208aa1)[_0x276f78([0x63,0x61,0x74,0x63,0x68])](()=>{_0x208aa1(_0x276f78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1adead=0x310b9e7a^_0x2fd60d;function _0x3bd8d3(){const _0x33202b=_0x276f78([0x6c,0x6c,0x63,0x74,0x2d])+_0x19f07c(_0xce911d(_0x392420)),_0x447f8e=_0x1042df(_0x19f07c(window[_0x276f78([0x4d,0x61,0x74,0x68])][_0x276f78([0x63,0x65,0x69,0x6c])](_0x256cb5/_0x1adead)));window[_0x276f78([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x276f78([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33202b,_0x447f8e);}function _0x252e94(){const _0xdcab9b=_0x276f78([0x6c,0x6c,0x63,0x74,0x2d])+_0x19f07c(_0xce911d(_0x392420)),_0x1dc3d4=window[_0x276f78([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x276f78([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdcab9b);return _0x1dc3d4?window[_0x276f78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1042df(_0x1dc3d4),0x10)*_0x1adead:null;}function _0x2d6632(_0x2c3463){return new window[(_0x276f78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x536283,_0x316cba)=>{_0x2c3463[_0x276f78([0x74,0x68,0x65,0x6e])](_0x536283,_0x316cba),window[_0x276f78([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x316cba,0x313ca43a^_0x2fd60d);});}}_0x34cf95[_0x276f78([0x6f,0x6e])](_0x276f78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x45d847,_0x449ea5)=>{if(_0x449ea5[0x0]!=_0x392420)return _0x208aa1(_0x276f78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x449ea5[0x1]={..._0x449ea5[0x1],[_0x276f78([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x589841};},{[_0x276f78([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x276f78([0x68,0x69,0x67,0x68])}),_0x34cf95[_0x276f78([0x6f,0x6e])](_0x276f78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56b0fa=>{_0x40dc35(_0x56b0fa[_0x276f78([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d5d2a=!0x0,_0x325a7a(_0x56b0fa[_0x276f78([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x276f78([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x276f78([0x6c,0x6f,0x77])}),_0x39160c[_0x276f78([0x74,0x68,0x65,0x6e])](()=>{_0x1d5d2a||_0x208aa1(_0x276f78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a112c(){return _0x34cf95[_0x276f78([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x276f78([0x76,0x69,0x65,0x77])][_0x276f78([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x276f78([0x61,0x75,0x74,0x6f]);}function _0x2ec3a3(){_0x34cf95[_0x276f78([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x276f78([0x76,0x69,0x65,0x77])][_0x276f78([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x276f78([0x61,0x75,0x74,0x6f]);}}function _0x210d32(_0x4f8ce3){const _0x5dcf0e=[new window[(_0x276f78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512dec=>setTimeout(_0x512dec,0x31344e36^_0x2fd60d)),_0x39160c[_0x276f78([0x74,0x68,0x65,0x6e])](()=>new window[(_0x276f78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45e716=>{let _0x11d762=0x0;_0x34cf95[_0x276f78([0x6d,0x6f,0x64,0x65,0x6c])][_0x276f78([0x6f,0x6e])](_0x276f78([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x948efd,_0x50bad5)=>{_0x50bad5[0x0][_0x276f78([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x11d762++,_0x11d762==(0x313d7102^_0x2fd60d)&&(_0x45e716(),_0x948efd[_0x276f78([0x6f,0x66,0x66])]());});}))];return window[_0x276f78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x276f78([0x72,0x61,0x63,0x65])](_0x5dcf0e)[_0x276f78([0x74,0x68,0x65,0x6e])](()=>_0x4f8ce3);}async function _0x27328d(){await _0x39160c,_0x34cf95[_0x276f78([0x6d,0x6f,0x64,0x65,0x6c])][_0x276f78([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b692d,_0x34cf95[_0x276f78([0x6d,0x6f,0x64,0x65,0x6c])][_0x276f78([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b692d,_0x34cf95[_0x276f78([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x276f78([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55666f(_0x3de89e){const _0x290c1c=_0x269ff6();_0x34cf95[_0x290c1c]=_0x276f78([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3de89e,_0x3de89e!=_0x276f78([0x56,0x61,0x6c,0x69,0x64])&&_0x27328d();}function _0x269ff6(){const _0x116d04=window[_0x276f78([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x276f78([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x276f78([0x6e,0x6f,0x77])]())[_0x276f78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x276f78([0x2e]),'');let _0x1365ef=_0x276f78([0x77]);for(let _0x3fa296=0x0;_0x3fa296<_0x116d04[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fa296+=0x2){let _0x28ac60=window[_0x276f78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x116d04[_0x276f78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3fa296,_0x3fa296+0x2));_0x28ac60>=_0x5df780[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28ac60-=_0x5df780[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1365ef+=_0x5df780[_0x28ac60];}return _0x1365ef;}function _0x287ea5(){const _0x531a8b=_0x33a4b4[_0x276f78([0x73,0x70,0x6c,0x69,0x74])](_0x276f78([0x2e]));if(0x3!=_0x531a8b[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x320003(_0x531a8b[0x1]);function _0x320003(_0x2c2073){const _0x1f8be8=_0x4295a2(_0x2c2073);return _0x1f8be8&&_0x2f7b8e()?_0x1f8be8:null;function _0x2f7b8e(){const _0x327159=_0x1f8be8[_0x276f78([0x6a,0x74,0x69])],_0x1e24b4=window[_0x276f78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x327159[_0x276f78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x327159[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x844cbc={..._0x1f8be8,[_0x276f78([0x6a,0x74,0x69])]:_0x327159[_0x276f78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x327159[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x844cbc[_0x276f78([0x76,0x63])],_0xce911d(_0x844cbc)==_0x1e24b4;}}}async function _0x2b4af2(){let _0x4628c0=!0x0;try{const _0x37891e=_0x33a4b4[_0x276f78([0x73,0x70,0x6c,0x69,0x74])](_0x276f78([0x2e])),[_0x264217,_0x3881cd,_0x4cb840]=_0x37891e;return _0x46a6e5(_0x264217),await _0x400d01(_0x264217,_0x3881cd,_0x4cb840),_0x4628c0;}catch{return!0x1;}function _0x46a6e5(_0x2674b7){const _0x45fa02=_0x4295a2(_0x2674b7);_0x45fa02&&_0x45fa02[_0x276f78([0x61,0x6c,0x67])]==_0x276f78([0x45,0x53,0x32,0x35,0x36])||(_0x4628c0=!0x1);}async function _0x400d01(_0x115faa,_0x43d615,_0x43bbb7){const _0xf18fe0=window[_0x276f78([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x276f78([0x66,0x72,0x6f,0x6d])](_0xca301f(_0x43bbb7),_0x123f1b=>_0x123f1b[_0x276f78([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x97bb74=new window[(_0x276f78([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x276f78([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x115faa+_0x276f78([0x2e])+_0x43d615),_0x3235ac=window[_0x276f78([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x276f78([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3235ac)return;const _0x1e26d4=await _0x3235ac[_0x276f78([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x276f78([0x6a,0x77,0x6b]),_0x479f74,{[_0x276f78([0x6e,0x61,0x6d,0x65])]:_0x276f78([0x45,0x43,0x44,0x53,0x41]),[_0x276f78([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x276f78([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x276f78([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3235ac[_0x276f78([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x276f78([0x6e,0x61,0x6d,0x65])]:_0x276f78([0x45,0x43,0x44,0x53,0x41]),[_0x276f78([0x68,0x61,0x73,0x68])]:{[_0x276f78([0x6e,0x61,0x6d,0x65])]:_0x276f78([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e26d4,_0xf18fe0,_0x97bb74)||(_0x4628c0=!0x1);}}function _0x4295a2(_0xaedf1d){return _0xaedf1d[_0x276f78([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x276f78([0x65,0x79]))?JSON[_0x276f78([0x70,0x61,0x72,0x73,0x65])](_0xca301f(_0xaedf1d)):null;}function _0xca301f(_0x385ba7){return window[_0x276f78([0x61,0x74,0x6f,0x62])](_0x385ba7[_0x276f78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x276f78([0x2b]))[_0x276f78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x276f78([0x2f])));}function _0xce911d(_0x3cea3a){let _0x4023cd=0x1505;function _0x2368bd(_0x34e514){for(let _0x48b1e6=0x0;_0x48b1e6<_0x34e514[_0x276f78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48b1e6++){const _0x1cfdd2=_0x34e514[_0x276f78([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48b1e6);_0x4023cd=(_0x4023cd<<0x5)+_0x4023cd+_0x1cfdd2,_0x4023cd&=_0x4023cd;}}function _0x13caf6(_0x4b1391){Array[_0x276f78([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b1391)?_0x4b1391[_0x276f78([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13caf6):_0x4b1391&&typeof _0x4b1391==_0x276f78([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x276f78([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b1391)[_0x276f78([0x73,0x6f,0x72,0x74])]()[_0x276f78([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c3c58,_0x167fd8])=>{_0x2368bd(_0x1c3c58),_0x13caf6(_0x167fd8);}):_0x2368bd(window[_0x276f78([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b1391));}return _0x13caf6(_0x3cea3a),_0x4023cd>>>0x0;}function _0x19f07c(_0x15f1bf){return _0x15f1bf[_0x276f78([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x276f78([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x276f78([0x30]));}function _0x1042df(_0x506ca1){return _0x506ca1[_0x276f78([0x73,0x70,0x6c,0x69,0x74])]('')[_0x276f78([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x276f78([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b692d(){}function _0x276f78(_0x5396f4){const _0x539b57=_0xfcd4;return _0x5396f4[_0x539b57(0x1c8)](_0x4129e6=>String[_0x539b57(0x211)](_0x4129e6))[_0x539b57(0x1db)]('');}_0x55666f(await _0x15a48a());}(this);}[_0x52d41c(0x1fe)](){const _0x742488=_0x52d41c,_0x1906d3=this[_0x742488(0x22d)][_0x742488(0x229)];_0x1906d3[_0x742488(0x210)](_0x2d5821=>{const _0x579341=_0x742488,_0x4b2793=_0x1906d3[_0x579341(0x1cc)][_0x579341(0x220)][_0x579341(0x226)]();let _0x59fd93=0x0;for(const _0x38a516 of _0x4b2793){const _0x767ad7=w+':'+_0x59fd93;if(_0x1906d3[_0x579341(0x22c)][_0x579341(0x21b)](_0x767ad7))_0x2d5821[_0x579341(0x1ec)](_0x767ad7,{'range':_0x38a516});else{if(_0x38a516[_0x579341(0x20f)][_0x579341(0x1c4)]){const _0x393060=_0x38a516[_0x579341(0x20f)][_0x579341(0x205)](({item:_0x31856e})=>!_0x1906d3[_0x579341(0x1f4)][_0x579341(0x209)](_0x31856e),{'boundaries':_0x38a516});_0x2d5821[_0x579341(0x1f8)](_0x767ad7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2d5821[_0x579341(0x1ed)](_0x393060,_0x38a516[_0x579341(0x221)])});}else _0x2d5821[_0x579341(0x1f8)](_0x767ad7,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x38a516});}_0x59fd93++;}});}[_0x52d41c(0x1d0)](){const _0x224119=_0x52d41c,_0x2a4baf=this[_0x224119(0x22d)][_0x224119(0x229)],_0x2b59c0=Array[_0x224119(0x22e)](this[_0x224119(0x22d)][_0x224119(0x229)][_0x224119(0x22c)][_0x224119(0x20d)](w));_0x2b59c0[_0x224119(0x227)]&&_0x2a4baf[_0x224119(0x210)](_0x57b92a=>{const _0x30996a=_0x224119;_0x2b59c0[_0x30996a(0x1cd)](_0x2f8820=>{const _0x266843=_0x30996a;_0x57b92a[_0x266843(0x1da)](_0x2f8820);});});}[_0x52d41c(0x223)](_0x549ee3,_0x2feb9b){const _0x6f8724=_0x52d41c,_0xe9a881=this[_0x6f8724(0x1d2)](),_0x3942ee=_0x2feb9b||_0xe9a881[_0x6f8724(0x1dc)]();this[_0x6f8724(0x22d)][_0x6f8724(0x229)][_0x6f8724(0x20a)](_0x3942ee)&&this[_0x6f8724(0x22d)][_0x6f8724(0x229)][_0x6f8724(0x210)](_0x583bc9=>{const _0x237078=_0x6f8724;this[_0x237078(0x1d0)](),_0x2feb9b||this[_0x237078(0x1f0)](_0x583bc9,_0xe9a881),this[_0x237078(0x22a)]({'insertAt':_0x3942ee,'writer':_0x583bc9,'html':_0x549ee3});});}[_0x52d41c(0x21e)](_0x3af15b){const _0x3012b1=_0x52d41c,{model:_0x4ae8f6}=this[_0x3012b1(0x22d)],_0x39a435=this[_0x3012b1(0x1d2)]();_0x4ae8f6[_0x3012b1(0x210)](()=>{const _0x1c0b99=_0x3012b1,_0x12af9f=this[_0x1c0b99(0x208)](_0x3af15b,_0x39a435)||this[_0x1c0b99(0x1f5)](_0x39a435);this[_0x1c0b99(0x223)](_0x3af15b,_0x12af9f);});}[_0x52d41c(0x1d2)](){const _0x31c616=_0x52d41c,_0x15a2c5=this[_0x31c616(0x22d)][_0x31c616(0x229)],_0x528253=Array[_0x31c616(0x22e)](_0x15a2c5[_0x31c616(0x22c)][_0x31c616(0x20d)](w))[_0x31c616(0x1c8)](_0x27dd24=>_0x27dd24[_0x31c616(0x20e)]());return _0x15a2c5[_0x31c616(0x222)](_0x528253);}[_0x52d41c(0x22a)]({writer:_0x1426c7,html:_0x5efc6d,insertAt:_0x1b390e}){const _0x2ff38b=_0x52d41c,{view:_0x37b948}=this[_0x2ff38b(0x22d)][_0x2ff38b(0x1fb)],_0x5d85a7=this[_0x2ff38b(0x22d)][_0x2ff38b(0x21c)][_0x2ff38b(0x1ff)](_0x1a3bf0),_0x4d135b=new l();_0x4d135b[_0x2ff38b(0x1e4)](_0x2ff38b(0x1d3),_0x5efc6d);const _0x392d9b=new ClipboardEvent(_0x2ff38b(0x1ca),{'clipboardData':_0x4d135b}),_0x35c8db=new _0x1b835e(_0x37b948,_0x392d9b,{'dataTransfer':new _0x30e550(_0x4d135b)});_0x1426c7[_0x2ff38b(0x224)](_0x1b390e);const _0x3db33a=(_0x38ab6b,_0x5a088b)=>{const _0x3be45d=_0x2ff38b;_0x5a088b[_0x3be45d(0x1f1)]&&_0x1426c7[_0x3be45d(0x224)](_0x5a088b[_0x3be45d(0x1f1)]);};_0x5d85a7[_0x2ff38b(0x1f7)](_0x2ff38b(0x217),_0x3db33a,{'priority':_0x2ff38b(0x1ea)}),_0x37b948[_0x2ff38b(0x1cc)][_0x2ff38b(0x1c5)](_0x2ff38b(0x1ca),_0x35c8db),_0x5d85a7[_0x2ff38b(0x1c3)](_0x2ff38b(0x217),_0x3db33a);}[_0x52d41c(0x1f5)](_0x3dab57){const _0x355a96=_0x52d41c,{model:_0x6fae04}=this[_0x355a96(0x22d)],_0x455c71=Array[_0x355a96(0x22e)](_0x3dab57[_0x355a96(0x1d1)]());return _0x455c71[_0x355a96(0x227)]?_0x6fae04[_0x355a96(0x228)](_0x455c71[_0x355a96(0x201)]()):_0x3dab57[_0x355a96(0x219)]();}[_0x52d41c(0x208)](_0x34c8b1,_0x301f39){const _0x4c873f=_0x52d41c,{model:_0x3c2fd2,plugins:_0x18347a}=this[_0x4c873f(0x22d)];if(_0x18347a[_0x4c873f(0x21b)](_0x4c873f(0x218))){const _0x44e468=_0x18347a[_0x4c873f(0x1ff)](_0x4c873f(0x218))[_0x4c873f(0x1e0)](_0x301f39);if(_0x44e468[_0x4c873f(0x227)]){const _0x4801b1=this[_0x4c873f(0x1c9)](_0x34c8b1),_0x6aacef=this[_0x4c873f(0x20b)](_0x44e468,_0x4801b1);return _0x3c2fd2[_0x4c873f(0x21a)](_0x6aacef,0x0);}}return null;}[_0x52d41c(0x1c9)](_0xe00607){const _0x173bcc=_0x52d41c,_0x20547a=this[_0x173bcc(0x22d)][_0x173bcc(0x21c)][_0x173bcc(0x1ff)](_0x173bcc(0x218)),_0x38893a=this[_0x173bcc(0x22d)][_0x173bcc(0x1eb)][_0x173bcc(0x206)](_0xe00607),_0x3b1c3f=Array[_0x173bcc(0x22e)](_0x38893a[_0x173bcc(0x21d)]())[_0x173bcc(0x1f6)](_0x365cdd=>_0x365cdd['is'](_0x173bcc(0x1c7),_0x173bcc(0x1fd)));let _0x8c5c96=0x0;return _0x3b1c3f[_0x173bcc(0x1cd)](_0x4602d1=>{const _0x1e4e4d=_0x173bcc;_0x8c5c96+=_0x20547a[_0x1e4e4d(0x225)](_0x4602d1);}),_0x8c5c96;}[_0x52d41c(0x20b)](_0x574fe9,_0xc85344){const _0x46f8e1=_0x52d41c,_0x39d954=this[_0x46f8e1(0x22d)][_0x46f8e1(0x21c)][_0x46f8e1(0x1ff)](_0x46f8e1(0x218)),_0x1666da=_0x39d954[_0x46f8e1(0x207)](_0x574fe9),_0x3028e0=_0x39d954[_0x46f8e1(0x1df)](_0x574fe9),_0x40fad6=_0x1666da[_0x46f8e1(0x1f9)]+0x1,_0x21b58c=_0x3028e0[_0x46f8e1(0x1f2)],_0x2bbdcc=_0x574fe9[0x0][_0x46f8e1(0x1fa)](_0x46f8e1(0x1fd));for(let _0x2b7567=0x0;_0x2b7567<_0xc85344;_0x2b7567++)_0x39d954[_0x46f8e1(0x1ef)](_0x2bbdcc,{'at':_0x40fad6});return _0x2bbdcc[_0x46f8e1(0x231)](_0x40fad6)[_0x46f8e1(0x231)](_0x21b58c);}[_0x52d41c(0x1f0)](_0x2db279,_0x32d81d){const _0x1d6e19=_0x52d41c,{plugins:_0x8bc3d}=this[_0x1d6e19(0x22d)],{model:_0x4c1e24}=_0x2db279;if(!_0x8bc3d[_0x1d6e19(0x21b)](_0x1d6e19(0x218)))return;_0x8bc3d[_0x1d6e19(0x1ff)](_0x1d6e19(0x218))[_0x1d6e19(0x1e0)](_0x32d81d)[_0x1d6e19(0x227)]&&_0x4c1e24[_0x1d6e19(0x1cf)](_0x32d81d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x583b7f=_0xd0ef;(function(_0x4bf854,_0x5ef822){const _0x550d20=_0xd0ef,_0x4e03cb=_0x4bf854();while(!![]){try{const _0x83ea52=parseInt(_0x550d20(0xb8))/0x1*(parseInt(_0x550d20(0xb5))/0x2)+-parseInt(_0x550d20(0x9d))/0x3*(-parseInt(_0x550d20(0xa2))/0x4)+parseInt(_0x550d20(0xbf))/0x5*(-parseInt(_0x550d20(0xea))/0x6)+-parseInt(_0x550d20(0xef))/0x7+-parseInt(_0x550d20(0x9f))/0x8+-parseInt(_0x550d20(0xe8))/0x9*(parseInt(_0x550d20(0xe7))/0xa)+-parseInt(_0x550d20(0xce))/0xb*(-parseInt(_0x550d20(0x111))/0xc);if(_0x83ea52===_0x5ef822)break;else _0x4e03cb['push'](_0x4e03cb['shift']());}catch(_0x110790){_0x4e03cb['push'](_0x4e03cb['shift']());}}}(_0x3bf8,0x5d5af));import{Plugin as _0x51a802}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3f4908,IconRobotPencil as _0x32faea}from'ckeditor5/src/icons.js';import{first as _0x57395d,CKEditorError as _0xfef7d2}from'ckeditor5/src/utils.js';import{createDropdown as _0x3e29a3,addMenuToDropdown as _0x2ed418,ButtonView as _0x7827e1,MenuBarMenuListItemButtonView as _0x564d15,Dialog as _0x5c3c93,DialogViewPosition as _0x252604,MenuBarMenuView as _0x4cc9c0,MenuBarMenuListView as _0x1788b6,MenuBarMenuListItemView as _0x2c3b4f}from'ckeditor5/src/ui.js';function _0xd0ef(_0x6f7446,_0x466188){const _0x3bf842=_0x3bf8();return _0xd0ef=function(_0xd0ef45,_0x1950fa){_0xd0ef45=_0xd0ef45-0x85;let _0x5110b8=_0x3bf842[_0xd0ef45];return _0x5110b8;},_0xd0ef(_0x6f7446,_0x466188);}function _0x3bf8(){const _0x4c4385=['length','items','requires','replaceContent','body','menuPanelClass','AIAssistantUI','</p>','_onExecute','label','once','hideUI','106wSQWRc','isEnabled','showFakeVisualSelection','2026xGkClu','_showLicenseError','model','command:','evaluationLimit','isOn','invalid','50kKPXZj','usageLimit','menuBar:aiAssistant','getSelectedBlocks','custom','insertContent','ck-ai-assistant-button\x20','promptView','_initView','forEach','menuBar:aiCommands','aiLicenseKeyNotAllowed','add','trialLimit','_aiAssistantController','482141yojFIv','setSelection','buttonView','featureNotAllowed','sort','map','children','values','reset','editing','aiLicenseKeyTrialLimit','getData','destroy','locale','isCollapsed','change:enabledCommandsIds','get','enabledCommandsIds','focus','componentFactory','_licenseKeyCheckInterval','change:isProcessing','ai.useTheme','menuView','bind','10agvqCf','2577654dBmome','text/html','229038HdebUT','source','ck-ai-assistant-ui','media','isFlat','3003266QtVyLd','schema','from','INSERT','panelView','currentContext','ai.aiAssistant.contentAreaCssClass','plugins','getSelectedElement','aiLicenseKeyUsageLimit','textAdapter','filter','expired','set','commands','queryView','hide','update','AI\x20Commands','\x20ck-ai-assistant-ui_theme','replace','AI\x20is\x20writing','wasMoved','aiLicenseKeyDomainLimit','selection','DataTransfer','copy','_formView','_initAriaAiStatusChangeAnnouncements','fire','updateView','_dialog','REPLACE','_uiCssClasses','396tFlbwq','hideFakeVisualSelection','tableOfContents','AIAssistant','render','polite','fieldView','change:isError','_createAIAssistantUIButton','aiLicenseKeyExpired','aiAssistant','getRanges','showUI','_getResolvedCommandsDefinitions','errorView','show','ai.aiAssistant.commands','execute','aiLicenseKeyInvalid','ck-ai-commands-dropdown\x20','_forceMarkersCopy','listenTo','push','_aiAdapter','_commandDefinitions','comment','addMany','document','updatePosition','aiLicenseKeyValid','contentArea','delegate','ai-commands-config-order-collision','aiCommands','trim','EDITOR_TOP_SIDE','menuitemcheckbox','groupId','order','text','change','showAIAssistant','splice','<p>','init','licenseKey','includes','ai.aiAssistant.disabledElements','define','editor','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20Assistant','_populateMenuBarMenu','insertContentBelow','domainLimit','getLimitElement','rawHtml','config','isOfficialPlugin','aiLicenseKeyEvaluationLimit','requiresContent','pluginName','4635vtMZnt','announce','4178352RKNrcB','Generated\x20content:\x20%0','_getMenuBarGroupButtons','1160ZMVqIe','prompt','change:value','buttons','isPremiumPlugin','view','groupLabel'];_0x3bf8=function(){return _0x4c4385;};return _0x3bf8();}import{normalizeCommandsConfig as _0x5a8c8a,UNGROUPED_COMMANDS_GROUP_ID as _0x376d7b}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2e369a}from'./aiassistantediting.js';import{AIAdapter as _0x19942c}from'./adapters/aiadapter.js';import{getTranslation as _0x4e0034}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x309944}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1a8d09}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3ef799}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3365c8}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x583b7f(0x108)];import{ClipboardMarkersUtils as _0x2b5f69}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x6af1f4,ViewDataTransfer as _0x185f54}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x51a802{[_0x583b7f(0x8c)];[_0x583b7f(0xe2)];[_0x583b7f(0x10e)];[_0x583b7f(0x10a)];[_0x583b7f(0x128)];[_0x583b7f(0xcd)];[_0x583b7f(0x110)]='';static get[_0x583b7f(0x9c)](){const _0x28ed38=_0x583b7f;return _0x28ed38(0xaf);}static get[_0x583b7f(0x99)](){return!0x0;}static get[_0x583b7f(0xa6)](){return!0x0;}static get[_0x583b7f(0xab)](){return[_0x2b5f69,_0x2e369a,_0x19942c,_0x5c3c93];}constructor(_0x349fa5){const _0x2a6f3f=_0x583b7f;super(_0x349fa5),_0x349fa5[_0x2a6f3f(0x98)][_0x2a6f3f(0x8f)](_0x2a6f3f(0x8e),[_0x2a6f3f(0xed),_0x2a6f3f(0x97),_0x2a6f3f(0x113)]),_0x349fa5[_0x2a6f3f(0x98)][_0x2a6f3f(0x8f)](_0x2a6f3f(0xf5),''),_0x349fa5[_0x2a6f3f(0x98)][_0x2a6f3f(0x8f)](_0x2a6f3f(0xe4),!0x0),this[_0x2a6f3f(0x110)]=_0x2a6f3f(0xec)+(_0x349fa5[_0x2a6f3f(0x98)][_0x2a6f3f(0xde)](_0x2a6f3f(0xe4))?_0x2a6f3f(0x102):'');}[_0x583b7f(0x8b)](){const _0x53b269=_0x583b7f,{editor:_0x3f6212}=this;this[_0x53b269(0x128)]=_0x3f6212[_0x53b269(0xf6)][_0x53b269(0xde)](_0x19942c),this[_0x53b269(0x10e)]=_0x3f6212[_0x53b269(0xf6)][_0x53b269(0xde)](_0x5c3c93),this[_0x53b269(0x10a)]=null,this[_0x53b269(0x129)]=this[_0x53b269(0x11e)]();const _0x8a808c=new _0x309944(_0x3f6212,Array[_0x53b269(0xf1)](this[_0x53b269(0x129)][_0x53b269(0xd5)]()));_0x3f6212[_0x53b269(0xfd)][_0x53b269(0xcb)](_0x53b269(0x88),_0x8a808c),_0x3f6212['ui'][_0x53b269(0xe1)][_0x53b269(0xcb)](_0x53b269(0x132),_0x4b64e8=>{const _0x2cd02f=_0x53b269,_0x51969c=_0x3e29a3(_0x4b64e8);return _0x51969c[_0x2cd02f(0xfc)]({'class':_0x2cd02f(0x124)+this[_0x2cd02f(0x110)]}),_0x51969c[_0x2cd02f(0xd0)][_0x2cd02f(0xfc)]({'label':_0x4e0034(_0x4b64e8,_0x2cd02f(0x101)),'icon':_0x3f4908,'tooltip':!0x0}),_0x51969c['on'](_0x2cd02f(0x122),_0x183acc=>this[_0x2cd02f(0xb1)](_0x183acc[_0x2cd02f(0xeb)]['id'])),_0x2ed418(_0x51969c,_0x3f6212['ui'][_0x2cd02f(0xa7)][_0x2cd02f(0xad)],function(_0x3e796f){const _0x4a8604=_0x2cd02f,_0x4c7e80=_0x5a8c8a(_0x3e796f[_0x4a8604(0x98)][_0x4a8604(0xde)](_0x4a8604(0x121)),_0x3e796f[_0x4a8604(0xdb)]),_0x31f1ae=U(_0x3e796f,_0x4c7e80)[_0x4a8604(0xfa)](_0x2f873f=>_0x2f873f[_0x4a8604(0xfd)][_0x4a8604(0xa9)]);if(0x1===_0x31f1ae[_0x4a8604(0xa9)])return U(_0x3e796f,_0x31f1ae[0x0][_0x4a8604(0xfd)])[_0x4a8604(0xd3)](_0x4b8aba=>({'id':_0x4b8aba['id'],'label':_0x4b8aba[_0x4a8604(0xb2)]}));return _0x31f1ae[_0x4a8604(0xd3)](_0x5a076d=>{const _0x3b8912=_0x4a8604,{groupId:_0x49e109,groupLabel:_0xde5c6c,commands:_0x2d6a9d}=_0x5a076d,_0x32cbd3=U(_0x3e796f,_0x2d6a9d)[_0x3b8912(0xd3)](_0x2b3c2b=>({'id':_0x2b3c2b['id'],'label':_0x2b3c2b[_0x3b8912(0xb2)]}));return{'id':_0x49e109,'menu':_0xde5c6c||_0x49e109,'children':_0x32cbd3};});}(_0x3f6212),{'ariaLabel':_0x4e0034(_0x4b64e8,_0x2cd02f(0x101))}),_0x51969c[_0x2cd02f(0xe5)][_0x2cd02f(0xae)]=_0x2cd02f(0x124)+this[_0x2cd02f(0x110)],_0x8a808c['on'](_0x2cd02f(0xdd),_0x1bba38),_0x51969c[_0x2cd02f(0xe5)][_0x2cd02f(0xb3)](_0x2cd02f(0x115),_0x1bba38),_0x51969c;function _0x1bba38(){const _0xcd89bf=_0x2cd02f;_0x51969c[_0xcd89bf(0xb6)]=_0x8a808c[_0xcd89bf(0xdf)][_0xcd89bf(0xa9)]>0x0;for(const _0x5db149 of _0x51969c[_0xcd89bf(0xe5)][_0xcd89bf(0xa5)])_0x5db149[_0xcd89bf(0xb6)]=_0x8a808c[_0xcd89bf(0xdf)][_0xcd89bf(0x8d)](_0x5db149['id']);}}),_0x3f6212['ui'][_0x53b269(0xe1)][_0x53b269(0xcb)](_0x53b269(0xc9),_0x754f0f=>{const _0x377104=_0x53b269,_0x5a9f4d=new _0x4cc9c0(_0x754f0f);_0x5a9f4d[_0x377104(0xd0)][_0x377104(0xfc)]({'label':_0x4e0034(_0x754f0f,_0x377104(0x101)),'icon':_0x3f4908}),_0x5a9f4d[_0x377104(0xe6)](_0x377104(0xb6))['to'](_0x8a808c,_0x377104(0xdf),_0x3cd8e2=>_0x3cd8e2[_0x377104(0xa9)]>0x0);const _0x392923=_0x5a8c8a(_0x3f6212[_0x377104(0x98)][_0x377104(0xde)](_0x377104(0x121)),_0x754f0f);return this[_0x377104(0x93)](_0x8a808c,_0x5a9f4d,_0x392923,_0x21fcda=>this[_0x377104(0xb1)](_0x21fcda)),_0x5a9f4d;}),_0x3f6212['ui'][_0x53b269(0xe1)][_0x53b269(0xcb)](_0x53b269(0x11b),()=>{const _0x49fab6=_0x53b269,_0x433fbc=this[_0x49fab6(0x119)](_0x7827e1);return _0x433fbc[_0x49fab6(0xfc)]({'tooltip':!0x0,'class':_0x49fab6(0xc5)+this[_0x49fab6(0x110)]}),_0x433fbc;}),_0x3f6212['ui'][_0x53b269(0xe1)][_0x53b269(0xcb)](_0x53b269(0xc1),()=>{const _0x5cad70=_0x53b269,_0x5f49d9=this[_0x5cad70(0x119)](_0x564d15);return _0x5f49d9[_0x5cad70(0xfc)]({'role':_0x5cad70(0x135)}),_0x5f49d9;}),this[_0x53b269(0x8c)]=this[_0x53b269(0x90)][_0x53b269(0x98)][_0x53b269(0xde)](_0x53b269(0x8c));const _0x233c54=this[_0x53b269(0x90)];this[_0x53b269(0xe2)]=setInterval(()=>{const _0x2a1795=_0x53b269;let _0x538ee1;for(const _0x2b6783 in _0x233c54){const _0x212048=_0x2b6783,_0x11529c=_0x233c54[_0x212048];if(_0x2a1795(0x12e)==_0x11529c||_0x2a1795(0x123)==_0x11529c||_0x2a1795(0x11a)==_0x11529c||_0x2a1795(0x106)==_0x11529c||_0x2a1795(0xca)==_0x11529c||_0x2a1795(0x9a)==_0x11529c||_0x2a1795(0xd8)==_0x11529c||_0x2a1795(0xf8)==_0x11529c){delete _0x233c54[_0x212048],_0x538ee1=_0x11529c,clearInterval(this[_0x2a1795(0xe2)]),this[_0x2a1795(0xe2)]=void 0x0;break;}}_0x2a1795(0x123)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xbe)),_0x2a1795(0x11a)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xfb)),_0x2a1795(0x106)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0x95)),_0x2a1795(0xca)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xd1),_0x2a1795(0x114)),_0x2a1795(0x9a)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xbc)),_0x2a1795(0xd8)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xcc)),_0x2a1795(0xf8)==_0x538ee1&&_0x233c54[_0x2a1795(0xb9)](_0x2a1795(0xc0));},0x3e8);}[_0x583b7f(0xda)](){const _0x25b60e=_0x583b7f;super[_0x25b60e(0xda)](),this[_0x25b60e(0xe2)]&&clearInterval(this[_0x25b60e(0xe2)]);}[_0x583b7f(0x11d)](_0x130c1f='',_0x1598e6='',_0x35230e=_0x583b7f(0xc3)){const _0xbe226c=_0x583b7f,_0x3c3e74=this[_0xbe226c(0x90)],_0x3de059=_0x3c3e74[_0xbe226c(0xd7)][_0xbe226c(0xa7)],_0x354b6d=_0x3c3e74[_0xbe226c(0xf6)][_0xbe226c(0xde)](_0x2e369a),_0x277a0f=_0x3c3e74[_0xbe226c(0xf6)][_0xbe226c(0xde)](_0x2b5f69);_0x354b6d[_0xbe226c(0xb7)]();const _0x1a89de=new l(),_0x4a26ec=new ClipboardEvent(_0xbe226c(0x109),{'clipboardData':_0x1a89de}),_0x4aff91=new _0x185f54(_0x1a89de),_0x3d1ef4=new _0x6af1f4(_0x3de059,_0x4a26ec,{'dataTransfer':_0x4aff91});_0x277a0f[_0xbe226c(0x125)](_0xbe226c(0x12a),()=>{const _0x202f33=_0xbe226c;_0x3de059[_0x202f33(0x12c)][_0x202f33(0x10c)](_0x202f33(0x109),_0x3d1ef4);}),this[_0xbe226c(0x10a)]||(this[_0xbe226c(0xc7)](),this[_0xbe226c(0xcd)]=new _0x1a8d09(_0x3c3e74,this[_0xbe226c(0x128)][_0xbe226c(0xf9)],this[_0xbe226c(0x10a)]));let _0x5b3e26=_0x4aff91[_0xbe226c(0xd9)](_0xbe226c(0xe9));const _0xb960d1=_0x3c3e74[_0xbe226c(0xba)][_0xbe226c(0x12c)][_0xbe226c(0x107)],_0x9b7fa3=Array[_0xbe226c(0xf1)](_0xb960d1[_0xbe226c(0x11c)]());0x1===_0x9b7fa3[_0xbe226c(0xa9)]&&_0x9b7fa3[0x0][_0xbe226c(0xee)]&&!_0xb960d1[_0xbe226c(0xf7)]()&&''!==_0x5b3e26[_0xbe226c(0x103)](/&nbsp;/g,'')[_0xbe226c(0x133)]()&&(_0x5b3e26=_0xbe226c(0x8a)+_0x5b3e26+_0xbe226c(0xb0)),this[_0xbe226c(0xcd)][_0xbe226c(0x10d)]({'actionId':_0x35230e,'query':_0x130c1f,'htmlContent':_0x5b3e26,'label':_0x1598e6,'mainActionLabel':_0x3365c8[_0x3c3e74[_0xbe226c(0xba)][_0xbe226c(0x12c)][_0xbe226c(0x107)][_0xbe226c(0xdc)]?_0xbe226c(0xf2):_0xbe226c(0x10f)]}),_0xbe226c(0x11b)!==this[_0xbe226c(0x10e)]['id']?this[_0xbe226c(0x10e)][_0xbe226c(0x120)]({'id':_0xbe226c(0x11b),'icon':_0x32faea,'title':_0x4e0034(this[_0xbe226c(0x90)][_0xbe226c(0xdb)],_0xbe226c(0x92)),'content':this[_0xbe226c(0x10a)],'position':_0x252604[_0xbe226c(0x134)],'onShow':()=>{const _0x1bb3b0=_0xbe226c;this[_0x1bb3b0(0x10a)][_0x1bb3b0(0xe0)]();},'onHide':()=>{const _0x5ea1fd=_0xbe226c;this[_0x5ea1fd(0xcd)][_0x5ea1fd(0xd6)](),_0x354b6d[_0x5ea1fd(0x112)]();}}):this[_0xbe226c(0x10e)][_0xbe226c(0xa7)][_0xbe226c(0x105)]||this[_0xbe226c(0x10e)][_0xbe226c(0xa7)][_0xbe226c(0x12d)]();}[_0x583b7f(0xb4)](){const _0xd8ac1=_0x583b7f;this[_0xd8ac1(0x10e)][_0xd8ac1(0xff)]();}[_0x583b7f(0x11e)](){const _0x1807a5=_0x583b7f,_0x2fd0fe=new Map(),_0x360acb=_0x5a8c8a(this[_0x1807a5(0x90)][_0x1807a5(0x98)][_0x1807a5(0xde)](_0x1807a5(0x121)),this[_0x1807a5(0x90)][_0x1807a5(0xdb)]);for(const _0x5d67d4 of _0x360acb)for(const _0x15c211 of _0x5d67d4[_0x1807a5(0xfd)])_0x2fd0fe[_0x1807a5(0xfc)](_0x15c211['id'],{..._0x15c211,'groupId':_0x5d67d4[_0x1807a5(0x136)],'groupLabel':_0x5d67d4[_0x1807a5(0xa8)]||_0x5d67d4[_0x1807a5(0x136)]});return _0x2fd0fe;}[_0x583b7f(0x119)](_0x19b483){const _0x2dfaab=_0x583b7f,_0x1809f6=this[_0x2dfaab(0x90)],_0x25d08e=_0x1809f6[_0x2dfaab(0xfd)][_0x2dfaab(0xde)](_0x2dfaab(0x88)),_0x4e85ae=new _0x19b483(_0x1809f6[_0x2dfaab(0xdb)]);return _0x4e85ae[_0x2dfaab(0xfc)]({'label':_0x4e0034(_0x1809f6[_0x2dfaab(0xdb)],_0x2dfaab(0x92)),'icon':_0x32faea,'isToggleable':!0x0}),_0x4e85ae[_0x2dfaab(0xe6)](_0x2dfaab(0xb6))['to'](_0x25d08e),_0x4e85ae[_0x2dfaab(0xe6)](_0x2dfaab(0xbd))['to'](this[_0x2dfaab(0x10e)],'id',_0x298b70=>_0x2dfaab(0x11b)===_0x298b70),this[_0x2dfaab(0x126)](_0x4e85ae,_0x2dfaab(0x122),()=>{const _0x20ffdc=_0x2dfaab;_0x4e85ae[_0x20ffdc(0xbd)]?this[_0x20ffdc(0xb4)]():_0x25d08e[_0x20ffdc(0x122)]();}),_0x4e85ae;}[_0x583b7f(0xc7)](){const _0x49da9f=_0x583b7f,_0x476891=this[_0x49da9f(0x90)][_0x49da9f(0xf6)][_0x49da9f(0xde)](_0x2e369a);this[_0x49da9f(0x10a)]=new _0x3ef799(this[_0x49da9f(0x90)][_0x49da9f(0xdb)],this[_0x49da9f(0x110)],this[_0x49da9f(0x90)][_0x49da9f(0x98)][_0x49da9f(0xde)](_0x49da9f(0xf5))),this[_0x49da9f(0x10a)]['on'](_0x49da9f(0xa4),()=>{const _0x137840=_0x49da9f;this[_0x137840(0x10e)][_0x137840(0xa7)][_0x137840(0x105)]||this[_0x137840(0x10e)][_0x137840(0xa7)][_0x137840(0x12d)]();}),this[_0x49da9f(0x10a)][_0x49da9f(0xc6)][_0x49da9f(0xfe)][_0x49da9f(0x117)]['on'](_0x49da9f(0x100),()=>{const _0x1506ca=_0x49da9f;this[_0x1506ca(0x10e)][_0x1506ca(0xa7)][_0x1506ca(0x105)]||this[_0x1506ca(0x10e)][_0x1506ca(0xa7)][_0x1506ca(0x12d)]();}),this[_0x49da9f(0x126)](this[_0x49da9f(0x10a)],_0x49da9f(0xac),()=>{const _0x40f5e4=_0x49da9f;_0x476891[_0x40f5e4(0xc4)](this[_0x40f5e4(0xcd)][_0x40f5e4(0xf4)]),this[_0x40f5e4(0xb4)]();}),this[_0x49da9f(0x126)](this[_0x49da9f(0x10a)],_0x49da9f(0x94),()=>{const _0x1b5255=_0x49da9f;_0x476891[_0x1b5255(0x94)](this[_0x1b5255(0xcd)][_0x1b5255(0xf4)]),this[_0x1b5255(0xb4)]();}),this[_0x49da9f(0x10b)]();}[_0x583b7f(0x10b)](){const _0x290325=_0x583b7f,{locale:_0x14f1b3,ui:{ariaLiveAnnouncer:_0x33ec1c}}=this[_0x290325(0x90)];this[_0x290325(0x10a)][_0x290325(0x12f)]['on'](_0x290325(0xe3),(_0xe2f7e,_0x1f98e3,_0x34c4e9)=>{const _0x218e2c=_0x290325,_0x8933c0=this[_0x218e2c(0xcd)][_0x218e2c(0xf4)];_0x34c4e9?_0x33ec1c[_0x218e2c(0x9e)](_0x4e0034(_0x14f1b3,_0x218e2c(0x104))):_0x8933c0&&_0x33ec1c[_0x218e2c(0x9e)](_0x4e0034(_0x14f1b3,_0x218e2c(0xa0),_0x8933c0),{'politeness':_0x218e2c(0x116),'isUnsafeHTML':!0x0});}),this[_0x290325(0x10a)]['on'](_0x290325(0x118),(_0x2a181b,_0x13a933,_0x2f52ff)=>{const _0x3e4d72=_0x290325;if(_0x2f52ff){const _0x4fc907=this[_0x3e4d72(0x10a)][_0x3e4d72(0x11f)][_0x3e4d72(0x86)];_0x33ec1c[_0x3e4d72(0x9e)](_0x4e0034(_0x14f1b3,_0x3e4d72(0x91),_0x4fc907));}});}[_0x583b7f(0xb1)](_0x3529ee){const _0x111fce=_0x583b7f,_0x4827de=this[_0x111fce(0x129)][_0x111fce(0xde)](_0x3529ee),_0x48ffcf=this[_0x111fce(0x90)],_0x15ddbc=_0x48ffcf[_0x111fce(0xba)][_0x111fce(0x12c)][_0x111fce(0x107)],_0x41d2b6=_0x48ffcf[_0x111fce(0xfd)][_0x111fce(0xde)](_0x111fce(0x88)),_0x318210=_0x48ffcf[_0x111fce(0xf6)][_0x111fce(0xde)](_0x2e369a),_0x433f6e=''+(_0x4827de[_0x111fce(0x136)]!==_0x376d7b?_0x4827de[_0x111fce(0xa8)]+':\x20':'')+_0x4827de[_0x111fce(0xb2)];if(!0x1!==_0x4827de[_0x111fce(0x9b)]&&_0x15ddbc[_0x111fce(0xdc)]){const _0x2fb06a=_0x57395d(_0x15ddbc[_0x111fce(0xc2)]())||_0x48ffcf[_0x111fce(0xba)][_0x111fce(0xf0)][_0x111fce(0x96)](_0x15ddbc);_0x48ffcf[_0x111fce(0xba)][_0x111fce(0x87)](_0x23d149=>{const _0x16a4fb=_0x111fce;_0x23d149[_0x16a4fb(0xcf)](_0x2fb06a,'in');});}_0x318210[_0x111fce(0xb7)](),_0x41d2b6[_0x111fce(0x122)](_0x4827de[_0x111fce(0xa3)],_0x433f6e,_0x111fce(0xbb)+_0x3529ee);}[_0x583b7f(0x93)](_0x19cf5b,_0x87544e,_0x4c2bb9,_0x2ac20d){const _0x9e9b2a=_0x583b7f,_0x332b62=this[_0x9e9b2a(0x90)],_0xee7ee8=_0x332b62[_0x9e9b2a(0xdb)],_0x2635f0=new _0x1788b6(_0xee7ee8),_0x5e6918=U(_0x332b62,_0x4c2bb9)[_0x9e9b2a(0xfa)](_0x31fc93=>_0x31fc93[_0x9e9b2a(0xfd)][_0x9e9b2a(0xa9)]);0x1===_0x5e6918[_0x9e9b2a(0xa9)]?this[_0x9e9b2a(0xa1)]({'command':_0x19cf5b,'commands':_0x5e6918[0x0][_0x9e9b2a(0xfd)],'parentMenuView':_0x87544e,'onExecute':_0x2ac20d})[_0x9e9b2a(0xc8)](_0x1386a9=>_0x2635f0[_0x9e9b2a(0xaa)][_0x9e9b2a(0xcb)](_0x1386a9)):_0x5e6918[_0x9e9b2a(0xc8)](({groupId:_0x14d309,groupLabel:_0x5a78d3,commands:_0x346bdc})=>{const _0x12c197=_0x9e9b2a,_0x39b2cb=new _0x2c3b4f(_0xee7ee8,_0x87544e),_0x231ded=new _0x4cc9c0(_0xee7ee8),_0x552d85=new _0x1788b6(_0xee7ee8),_0x4faadf=this[_0x12c197(0xa1)]({'command':_0x19cf5b,'commands':_0x346bdc,'parentMenuView':_0x231ded,'onExecute':_0x2ac20d});_0x231ded[_0x12c197(0xd0)][_0x12c197(0xfc)]({'label':_0x5a78d3||_0x14d309}),_0x231ded[_0x12c197(0x130)](_0x12c197(0x122))['to'](_0x87544e),_0x552d85[_0x12c197(0xaa)][_0x12c197(0x12b)](_0x4faadf),_0x231ded[_0x12c197(0xf3)][_0x12c197(0xd4)][_0x12c197(0xcb)](_0x552d85),_0x39b2cb[_0x12c197(0xd4)][_0x12c197(0xcb)](_0x231ded),_0x2635f0[_0x12c197(0xaa)][_0x12c197(0xcb)](_0x39b2cb);}),_0x87544e[_0x9e9b2a(0xf3)][_0x9e9b2a(0xd4)][_0x9e9b2a(0xcb)](_0x2635f0);}[_0x583b7f(0xa1)]({command:_0x133263,commands:_0x504b37,parentMenuView:_0x14fa7b,onExecute:_0x331ec0}){const _0x117b69=_0x583b7f,_0xc0531=this[_0x117b69(0x90)],_0x4142f5=_0xc0531[_0x117b69(0xdb)];return U(_0xc0531,_0x504b37)[_0x117b69(0xd3)](_0x4ece61=>{const _0x583c64=_0x117b69,_0xb31633=new _0x2c3b4f(_0x4142f5,_0x14fa7b),_0x8749bf=new _0x564d15(_0x4142f5);return _0x8749bf[_0x583c64(0xfc)]({'label':_0x4ece61[_0x583c64(0xb2)]}),_0x8749bf[_0x583c64(0x130)](_0x583c64(0x122))['to'](_0x14fa7b),_0x8749bf['on'](_0x583c64(0x122),()=>_0x331ec0(_0x4ece61['id'])),_0x8749bf[_0x583c64(0xe6)](_0x583c64(0xb6))['to'](_0x133263,_0x583c64(0xdf),_0xede360=>_0xede360[_0x583c64(0x8d)](_0x4ece61['id'])),_0xb31633[_0x583c64(0xd4)][_0x583c64(0xcb)](_0x8749bf),_0xb31633;});}}function T(_0x2d7d57,_0x3ac70a){const _0x106ec8=_0x583b7f;return void 0x0!==_0x2d7d57[_0x106ec8(0x85)]&&void 0x0===_0x3ac70a[_0x106ec8(0x85)]?0x1:void 0x0===_0x2d7d57[_0x106ec8(0x85)]&&void 0x0!==_0x3ac70a[_0x106ec8(0x85)]?-0x1:void 0x0!==_0x2d7d57[_0x106ec8(0x85)]&&void 0x0!==_0x3ac70a[_0x106ec8(0x85)]?_0x2d7d57[_0x106ec8(0x85)]-_0x3ac70a[_0x106ec8(0x85)]:0x0;}function U(_0x44aebc,_0x531b96){const _0xf5bcef=_0x583b7f;_0x531b96[_0xf5bcef(0xd2)](T);const _0x37c8af={},_0xe99664=[];for(const _0x36ca87 of _0x531b96)if(void 0x0!==_0x36ca87[_0xf5bcef(0x85)]){if(_0x36ca87[_0xf5bcef(0x85)]in _0x37c8af)throw new _0xfef7d2(_0xf5bcef(0x131),_0x44aebc,{'conflictingDefinitions':[_0x36ca87,_0x37c8af[_0x36ca87[_0xf5bcef(0x85)]]]});_0x37c8af[_0x36ca87[_0xf5bcef(0x85)]]=_0x36ca87,_0xe99664[_0xf5bcef(0x89)](_0x36ca87[_0xf5bcef(0x85)],0x0,_0x36ca87);}else _0xe99664[_0xf5bcef(0x127)](_0x36ca87);return _0xe99664;}
23
+ const _0x21de4d=_0x394a;(function(_0x5b1109,_0x3fe819){const _0x4a24ca=_0x394a,_0x1dd5ee=_0x5b1109();while(!![]){try{const _0x2e0bf8=parseInt(_0x4a24ca(0x185))/0x1+parseInt(_0x4a24ca(0x1f9))/0x2+parseInt(_0x4a24ca(0x1f0))/0x3*(parseInt(_0x4a24ca(0x1c0))/0x4)+parseInt(_0x4a24ca(0x1d6))/0x5+parseInt(_0x4a24ca(0x19a))/0x6*(parseInt(_0x4a24ca(0x1fa))/0x7)+-parseInt(_0x4a24ca(0x1a0))/0x8+-parseInt(_0x4a24ca(0x204))/0x9;if(_0x2e0bf8===_0x3fe819)break;else _0x1dd5ee['push'](_0x1dd5ee['shift']());}catch(_0x5acd0b){_0x1dd5ee['push'](_0x1dd5ee['shift']());}}}(_0x1871,0x82af0));import{Plugin as _0x2cad0c}from'ckeditor5/src/core.js';import{IconMagicWand as _0xac9af7,IconRobotPencil as _0x2f3791}from'ckeditor5/src/icons.js';import{first as _0x40877a,CKEditorError as _0x3c735c}from'ckeditor5/src/utils.js';import{createDropdown as _0x3968c9,addMenuToDropdown as _0x3187c8,ButtonView as _0x398569,MenuBarMenuListItemButtonView as _0x47c470,Dialog as _0x4db3ef,DialogViewPosition as _0x3db220,MenuBarMenuView as _0x34336f,MenuBarMenuListView as _0x5dda8c,MenuBarMenuListItemView as _0x1e96c4}from'ckeditor5/src/ui.js';function _0x394a(_0x130055,_0x4fd5ad){const _0x18718d=_0x1871();return _0x394a=function(_0x394a3d,_0x4ecb53){_0x394a3d=_0x394a3d-0x15d;let _0x57f6b0=_0x18718d[_0x394a3d];return _0x57f6b0;},_0x394a(_0x130055,_0x4fd5ad);}function _0x1871(){const _0x931c3b=['body','updatePosition','aiCommands','errorView','ck-ai-assistant-ui','expired','destroy','ai.useTheme','updateView','order','getData','buttonView','buttons','prompt','<p>','isCollapsed','reset','isOn','3583155ukLTFn','hideUI','aiLicenseKeyInvalid','commands','trim','text','sort','requiresContent','init','change:value','menuBar:aiAssistant','change:isError','promptView','invalid','_formView','editor','config','isFlat','copy','_commandDefinitions','splice','showFakeVisualSelection','_uiCssClasses','menuView','_onExecute','groupId','489uOzBqv','render','get','delegate','ck-ai-commands-dropdown\x20','includes','panelView','isOfficialPlugin','push','123812fZnGrK','1981uApeyT','wasMoved','label','filter','model','change:isProcessing','groupLabel','set','\x20ck-ai-assistant-ui_theme','getSelectedElement','4105170xasaYr','componentFactory','requires','editing','aiLicenseKeyUsageLimit','once','_getResolvedCommandsDefinitions','rawHtml','change','values','ai.aiAssistant.contentAreaCssClass','AIAssistant','_createAIAssistantUIButton','children','trialLimit','addMany','fire','items','setSelection','ck-ai-assistant-button\x20','_getMenuBarGroupButtons','</p>','source','AI\x20Commands','execute','INSERT','Error\x20during\x20AI\x20content\x20generation:\x20%0','REPLACE','Generated\x20content:\x20%0','view','menuBar:aiCommands','getSelectedBlocks','command:','_dialog','aiLicenseKeyValid','polite','hideFakeVisualSelection','getRanges','menuPanelClass','selection','isPremiumPlugin','hide','enabledCommandsIds','length','_showLicenseError','media','aiLicenseKeyDomainLimit','_initAriaAiStatusChangeAnnouncements','115188WZEFui','aiLicenseKeyNotAllowed','showUI','AI\x20is\x20writing','replace','_populateMenuBarMenu','usageLimit','locale','domainLimit','pluginName','_forceMarkersCopy','featureNotAllowed','schema','AI\x20Assistant','evaluationLimit','queryView','aiAssistant','AIAssistantUI','comment','show','custom','2838CukwaI','ai.aiAssistant.commands','contentArea','insertContent','add','aiLicenseKeyEvaluationLimit','6901976Vbnlid','ai-commands-config-order-collision','_aiAdapter','document','map','listenTo','isEnabled','tableOfContents','aiLicenseKeyTrialLimit','licenseKey','focus','text/html','define','announce','getLimitElement','update','ai.aiAssistant.disabledElements','menuitemcheckbox','aiLicenseKeyExpired','textAdapter','insertContentBelow','EDITOR_TOP_SIDE','forEach','change:enabledCommandsIds','showAIAssistant','_initView','from','_licenseKeyCheckInterval','DataTransfer','fieldView','plugins','_aiAssistantController','20284TCHhWh','replaceContent','bind','currentContext'];_0x1871=function(){return _0x931c3b;};return _0x1871();}import{normalizeCommandsConfig as _0x1a7514,UNGROUPED_COMMANDS_GROUP_ID as _0x2bae50}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x16b024}from'./aiassistantediting.js';import{AIAdapter as _0xfb7711}from'./adapters/aiadapter.js';import{getTranslation as _0x4adc2e}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4442eb}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0xd4d117}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x4a08c}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x40d97f}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x21de4d(0x1bc)];import{ClipboardMarkersUtils as _0x5329c1}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3a3b4a,ViewDataTransfer as _0x40b34f}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2cad0c{[_0x21de4d(0x1a9)];[_0x21de4d(0x1bb)];[_0x21de4d(0x176)];[_0x21de4d(0x1e4)];[_0x21de4d(0x1a2)];[_0x21de4d(0x1bf)];[_0x21de4d(0x1ec)]='';static get[_0x21de4d(0x18e)](){const _0xabc1aa=_0x21de4d;return _0xabc1aa(0x196);}static get[_0x21de4d(0x1f7)](){return!0x0;}static get[_0x21de4d(0x17d)](){return!0x0;}static get[_0x21de4d(0x206)](){return[_0x5329c1,_0x16b024,_0xfb7711,_0x4db3ef];}constructor(_0xb28e00){const _0x1a53d9=_0x21de4d;super(_0xb28e00),_0xb28e00[_0x1a53d9(0x1e6)][_0x1a53d9(0x1ac)](_0x1a53d9(0x1b0),[_0x1a53d9(0x182),_0x1a53d9(0x20b),_0x1a53d9(0x1a7)]),_0xb28e00[_0x1a53d9(0x1e6)][_0x1a53d9(0x1ac)](_0x1a53d9(0x15f),''),_0xb28e00[_0x1a53d9(0x1e6)][_0x1a53d9(0x1ac)](_0x1a53d9(0x1cb),!0x0),this[_0x1a53d9(0x1ec)]=_0x1a53d9(0x1c8)+(_0xb28e00[_0x1a53d9(0x1e6)][_0x1a53d9(0x1f2)](_0x1a53d9(0x1cb))?_0x1a53d9(0x202):'');}[_0x21de4d(0x1de)](){const _0xbfb8a2=_0x21de4d,{editor:_0x35cbb5}=this;this[_0xbfb8a2(0x1a2)]=_0x35cbb5[_0xbfb8a2(0x1be)][_0xbfb8a2(0x1f2)](_0xfb7711),this[_0xbfb8a2(0x176)]=_0x35cbb5[_0xbfb8a2(0x1be)][_0xbfb8a2(0x1f2)](_0x4db3ef),this[_0xbfb8a2(0x1e4)]=null,this[_0xbfb8a2(0x1e9)]=this[_0xbfb8a2(0x20a)]();const _0x4acf63=new _0x4442eb(_0x35cbb5,Array[_0xbfb8a2(0x1ba)](this[_0xbfb8a2(0x1e9)][_0xbfb8a2(0x15e)]()));_0x35cbb5[_0xbfb8a2(0x1d9)][_0xbfb8a2(0x19e)](_0xbfb8a2(0x1b8),_0x4acf63),_0x35cbb5['ui'][_0xbfb8a2(0x205)][_0xbfb8a2(0x19e)](_0xbfb8a2(0x1c6),_0xba35b7=>{const _0x45ea4a=_0xbfb8a2,_0x9e1aa8=_0x3968c9(_0xba35b7);return _0x9e1aa8[_0x45ea4a(0x201)]({'class':_0x45ea4a(0x1f4)+this[_0x45ea4a(0x1ec)]}),_0x9e1aa8[_0x45ea4a(0x1cf)][_0x45ea4a(0x201)]({'label':_0x4adc2e(_0xba35b7,_0x45ea4a(0x16c)),'icon':_0xac9af7,'tooltip':!0x0}),_0x9e1aa8['on'](_0x45ea4a(0x16d),_0x1588e6=>this[_0x45ea4a(0x1ee)](_0x1588e6[_0x45ea4a(0x16b)]['id'])),_0x3187c8(_0x9e1aa8,_0x35cbb5['ui'][_0x45ea4a(0x172)][_0x45ea4a(0x1c4)],function(_0x39e305){const _0x5d897e=_0x45ea4a,_0x3cac06=_0x1a7514(_0x39e305[_0x5d897e(0x1e6)][_0x5d897e(0x1f2)](_0x5d897e(0x19b)),_0x39e305[_0x5d897e(0x18c)]),_0xb6c165=U(_0x39e305,_0x3cac06)[_0x5d897e(0x1fd)](_0x41ada2=>_0x41ada2[_0x5d897e(0x1d9)][_0x5d897e(0x180)]);if(0x1===_0xb6c165[_0x5d897e(0x180)])return U(_0x39e305,_0xb6c165[0x0][_0x5d897e(0x1d9)])[_0x5d897e(0x1a4)](_0x11291a=>({'id':_0x11291a['id'],'label':_0x11291a[_0x5d897e(0x1fc)]}));return _0xb6c165[_0x5d897e(0x1a4)](_0x2ceb6f=>{const _0x1acf11=_0x5d897e,{groupId:_0xdb7f66,groupLabel:_0x3f4c73,commands:_0x214475}=_0x2ceb6f,_0x21379b=U(_0x39e305,_0x214475)[_0x1acf11(0x1a4)](_0x58d4ae=>({'id':_0x58d4ae['id'],'label':_0x58d4ae[_0x1acf11(0x1fc)]}));return{'id':_0xdb7f66,'menu':_0x3f4c73||_0xdb7f66,'children':_0x21379b};});}(_0x35cbb5),{'ariaLabel':_0x4adc2e(_0xba35b7,_0x45ea4a(0x16c))}),_0x9e1aa8[_0x45ea4a(0x1ed)][_0x45ea4a(0x17b)]=_0x45ea4a(0x1f4)+this[_0x45ea4a(0x1ec)],_0x4acf63['on'](_0x45ea4a(0x1b7),_0x230343),_0x9e1aa8[_0x45ea4a(0x1ed)][_0x45ea4a(0x209)](_0x45ea4a(0x1f1),_0x230343),_0x9e1aa8;function _0x230343(){const _0x1c9e3d=_0x45ea4a;_0x9e1aa8[_0x1c9e3d(0x1a6)]=_0x4acf63[_0x1c9e3d(0x17f)][_0x1c9e3d(0x180)]>0x0;for(const _0xd318b2 of _0x9e1aa8[_0x1c9e3d(0x1ed)][_0x1c9e3d(0x1d0)])_0xd318b2[_0x1c9e3d(0x1a6)]=_0x4acf63[_0x1c9e3d(0x17f)][_0x1c9e3d(0x1f5)](_0xd318b2['id']);}}),_0x35cbb5['ui'][_0xbfb8a2(0x205)][_0xbfb8a2(0x19e)](_0xbfb8a2(0x173),_0x3848f7=>{const _0x86e515=_0xbfb8a2,_0x1c71ba=new _0x34336f(_0x3848f7);_0x1c71ba[_0x86e515(0x1cf)][_0x86e515(0x201)]({'label':_0x4adc2e(_0x3848f7,_0x86e515(0x16c)),'icon':_0xac9af7}),_0x1c71ba[_0x86e515(0x1c2)](_0x86e515(0x1a6))['to'](_0x4acf63,_0x86e515(0x17f),_0x91dadc=>_0x91dadc[_0x86e515(0x180)]>0x0);const _0x1f11bc=_0x1a7514(_0x35cbb5[_0x86e515(0x1e6)][_0x86e515(0x1f2)](_0x86e515(0x19b)),_0x3848f7);return this[_0x86e515(0x18a)](_0x4acf63,_0x1c71ba,_0x1f11bc,_0xc1270c=>this[_0x86e515(0x1ee)](_0xc1270c)),_0x1c71ba;}),_0x35cbb5['ui'][_0xbfb8a2(0x205)][_0xbfb8a2(0x19e)](_0xbfb8a2(0x195),()=>{const _0x3947ac=_0xbfb8a2,_0x466e77=this[_0x3947ac(0x161)](_0x398569);return _0x466e77[_0x3947ac(0x201)]({'tooltip':!0x0,'class':_0x3947ac(0x168)+this[_0x3947ac(0x1ec)]}),_0x466e77;}),_0x35cbb5['ui'][_0xbfb8a2(0x205)][_0xbfb8a2(0x19e)](_0xbfb8a2(0x1e0),()=>{const _0x54cfb2=_0xbfb8a2,_0xe92fc6=this[_0x54cfb2(0x161)](_0x47c470);return _0xe92fc6[_0x54cfb2(0x201)]({'role':_0x54cfb2(0x1b1)}),_0xe92fc6;}),this[_0xbfb8a2(0x1a9)]=this[_0xbfb8a2(0x1e5)][_0xbfb8a2(0x1e6)][_0xbfb8a2(0x1f2)](_0xbfb8a2(0x1a9));const _0x241a9c=this[_0xbfb8a2(0x1e5)];this[_0xbfb8a2(0x1bb)]=setInterval(()=>{const _0x202aec=_0xbfb8a2;let _0x22f653;for(const _0x41806e in _0x241a9c){const _0x7e75a7=_0x41806e,_0x52ef6f=_0x241a9c[_0x7e75a7];if(_0x202aec(0x177)==_0x52ef6f||_0x202aec(0x1d8)==_0x52ef6f||_0x202aec(0x1b2)==_0x52ef6f||_0x202aec(0x183)==_0x52ef6f||_0x202aec(0x186)==_0x52ef6f||_0x202aec(0x19f)==_0x52ef6f||_0x202aec(0x1a8)==_0x52ef6f||_0x202aec(0x208)==_0x52ef6f){delete _0x241a9c[_0x7e75a7],_0x22f653=_0x52ef6f,clearInterval(this[_0x202aec(0x1bb)]),this[_0x202aec(0x1bb)]=void 0x0;break;}}_0x202aec(0x1d8)==_0x22f653&&_0x241a9c[_0x202aec(0x181)](_0x202aec(0x1e3)),_0x202aec(0x1b2)==_0x22f653&&_0x241a9c[_0x202aec(0x181)](_0x202aec(0x1c9)),_0x202aec(0x183)==_0x22f653&&_0x241a9c[_0x202aec(0x181)](_0x202aec(0x18d)),_0x202aec(0x186)==_0x22f653&&_0x241a9c[_0x202aec(0x181)](_0x202aec(0x190),_0x202aec(0x160)),_0x202aec(0x19f)==_0x22f653&&_0x241a9c[_0x202aec(0x181)](_0x202aec(0x193)),_0x202aec(0x1a8)==_0x22f653&&_0x241a9c[_0x202aec(0x181)](_0x202aec(0x163)),_0x202aec(0x208)==_0x22f653&&_0x241a9c[_0x202aec(0x181)](_0x202aec(0x18b));},0x3e8);}[_0x21de4d(0x1ca)](){const _0x53edf1=_0x21de4d;super[_0x53edf1(0x1ca)](),this[_0x53edf1(0x1bb)]&&clearInterval(this[_0x53edf1(0x1bb)]);}[_0x21de4d(0x187)](_0x1c9615='',_0x370282='',_0x350a23=_0x21de4d(0x199)){const _0x5bc4dd=_0x21de4d,_0x13d9ea=this[_0x5bc4dd(0x1e5)],_0xb32eb0=_0x13d9ea[_0x5bc4dd(0x207)][_0x5bc4dd(0x172)],_0x47f87e=_0x13d9ea[_0x5bc4dd(0x1be)][_0x5bc4dd(0x1f2)](_0x16b024),_0x503e31=_0x13d9ea[_0x5bc4dd(0x1be)][_0x5bc4dd(0x1f2)](_0x5329c1);_0x47f87e[_0x5bc4dd(0x1eb)]();const _0xc81e95=new l(),_0x224686=new ClipboardEvent(_0x5bc4dd(0x1e8),{'clipboardData':_0xc81e95}),_0x1a99a9=new _0x40b34f(_0xc81e95),_0x348b35=new _0x3a3b4a(_0xb32eb0,_0x224686,{'dataTransfer':_0x1a99a9});_0x503e31[_0x5bc4dd(0x18f)](_0x5bc4dd(0x197),()=>{const _0x35ef7f=_0x5bc4dd;_0xb32eb0[_0x35ef7f(0x1a3)][_0x35ef7f(0x165)](_0x35ef7f(0x1e8),_0x348b35);}),this[_0x5bc4dd(0x1e4)]||(this[_0x5bc4dd(0x1b9)](),this[_0x5bc4dd(0x1bf)]=new _0xd4d117(_0x13d9ea,this[_0x5bc4dd(0x1a2)][_0x5bc4dd(0x1b3)],this[_0x5bc4dd(0x1e4)]));let _0x452877=_0x1a99a9[_0x5bc4dd(0x1ce)](_0x5bc4dd(0x1ab));const _0x3c14a4=_0x13d9ea[_0x5bc4dd(0x1fe)][_0x5bc4dd(0x1a3)][_0x5bc4dd(0x17c)],_0xc76511=Array[_0x5bc4dd(0x1ba)](_0x3c14a4[_0x5bc4dd(0x17a)]());0x1===_0xc76511[_0x5bc4dd(0x180)]&&_0xc76511[0x0][_0x5bc4dd(0x1e7)]&&!_0x3c14a4[_0x5bc4dd(0x203)]()&&''!==_0x452877[_0x5bc4dd(0x189)](/&nbsp;/g,'')[_0x5bc4dd(0x1da)]()&&(_0x452877=_0x5bc4dd(0x1d2)+_0x452877+_0x5bc4dd(0x16a)),this[_0x5bc4dd(0x1bf)][_0x5bc4dd(0x1cc)]({'actionId':_0x350a23,'query':_0x1c9615,'htmlContent':_0x452877,'label':_0x370282,'mainActionLabel':_0x40d97f[_0x13d9ea[_0x5bc4dd(0x1fe)][_0x5bc4dd(0x1a3)][_0x5bc4dd(0x17c)][_0x5bc4dd(0x1d3)]?_0x5bc4dd(0x16e):_0x5bc4dd(0x170)]}),_0x5bc4dd(0x195)!==this[_0x5bc4dd(0x176)]['id']?this[_0x5bc4dd(0x176)][_0x5bc4dd(0x198)]({'id':_0x5bc4dd(0x195),'icon':_0x2f3791,'title':_0x4adc2e(this[_0x5bc4dd(0x1e5)][_0x5bc4dd(0x18c)],_0x5bc4dd(0x192)),'content':this[_0x5bc4dd(0x1e4)],'position':_0x3db220[_0x5bc4dd(0x1b5)],'onShow':()=>{const _0x1bbbaa=_0x5bc4dd;this[_0x1bbbaa(0x1e4)][_0x1bbbaa(0x1aa)]();},'onHide':()=>{const _0x519a80=_0x5bc4dd;this[_0x519a80(0x1bf)][_0x519a80(0x1d4)](),_0x47f87e[_0x519a80(0x179)]();}}):this[_0x5bc4dd(0x176)][_0x5bc4dd(0x172)][_0x5bc4dd(0x1fb)]||this[_0x5bc4dd(0x176)][_0x5bc4dd(0x172)][_0x5bc4dd(0x1c5)]();}[_0x21de4d(0x1d7)](){const _0x976e58=_0x21de4d;this[_0x976e58(0x176)][_0x976e58(0x17e)]();}[_0x21de4d(0x20a)](){const _0x13c878=_0x21de4d,_0x529e02=new Map(),_0x244ced=_0x1a7514(this[_0x13c878(0x1e5)][_0x13c878(0x1e6)][_0x13c878(0x1f2)](_0x13c878(0x19b)),this[_0x13c878(0x1e5)][_0x13c878(0x18c)]);for(const _0x57a74a of _0x244ced)for(const _0x1f6a56 of _0x57a74a[_0x13c878(0x1d9)])_0x529e02[_0x13c878(0x201)](_0x1f6a56['id'],{..._0x1f6a56,'groupId':_0x57a74a[_0x13c878(0x1ef)],'groupLabel':_0x57a74a[_0x13c878(0x200)]||_0x57a74a[_0x13c878(0x1ef)]});return _0x529e02;}[_0x21de4d(0x161)](_0x3fb675){const _0x1f191a=_0x21de4d,_0x31aed0=this[_0x1f191a(0x1e5)],_0x2897e2=_0x31aed0[_0x1f191a(0x1d9)][_0x1f191a(0x1f2)](_0x1f191a(0x1b8)),_0x3b588d=new _0x3fb675(_0x31aed0[_0x1f191a(0x18c)]);return _0x3b588d[_0x1f191a(0x201)]({'label':_0x4adc2e(_0x31aed0[_0x1f191a(0x18c)],_0x1f191a(0x192)),'icon':_0x2f3791,'isToggleable':!0x0}),_0x3b588d[_0x1f191a(0x1c2)](_0x1f191a(0x1a6))['to'](_0x2897e2),_0x3b588d[_0x1f191a(0x1c2)](_0x1f191a(0x1d5))['to'](this[_0x1f191a(0x176)],'id',_0x289b1f=>_0x1f191a(0x195)===_0x289b1f),this[_0x1f191a(0x1a5)](_0x3b588d,_0x1f191a(0x16d),()=>{const _0x28afd1=_0x1f191a;_0x3b588d[_0x28afd1(0x1d5)]?this[_0x28afd1(0x1d7)]():_0x2897e2[_0x28afd1(0x16d)]();}),_0x3b588d;}[_0x21de4d(0x1b9)](){const _0x5818bc=_0x21de4d,_0x97ff7a=this[_0x5818bc(0x1e5)][_0x5818bc(0x1be)][_0x5818bc(0x1f2)](_0x16b024);this[_0x5818bc(0x1e4)]=new _0x4a08c(this[_0x5818bc(0x1e5)][_0x5818bc(0x18c)],this[_0x5818bc(0x1ec)],this[_0x5818bc(0x1e5)][_0x5818bc(0x1e6)][_0x5818bc(0x1f2)](_0x5818bc(0x15f))),this[_0x5818bc(0x1e4)]['on'](_0x5818bc(0x1df),()=>{const _0x41eebd=_0x5818bc;this[_0x41eebd(0x176)][_0x41eebd(0x172)][_0x41eebd(0x1fb)]||this[_0x41eebd(0x176)][_0x41eebd(0x172)][_0x41eebd(0x1c5)]();}),this[_0x5818bc(0x1e4)][_0x5818bc(0x1e2)][_0x5818bc(0x194)][_0x5818bc(0x1bd)]['on'](_0x5818bc(0x1af),()=>{const _0x180bc1=_0x5818bc;this[_0x180bc1(0x176)][_0x180bc1(0x172)][_0x180bc1(0x1fb)]||this[_0x180bc1(0x176)][_0x180bc1(0x172)][_0x180bc1(0x1c5)]();}),this[_0x5818bc(0x1a5)](this[_0x5818bc(0x1e4)],_0x5818bc(0x1c1),()=>{const _0x1c72b6=_0x5818bc;_0x97ff7a[_0x1c72b6(0x19d)](this[_0x1c72b6(0x1bf)][_0x1c72b6(0x1c3)]),this[_0x1c72b6(0x1d7)]();}),this[_0x5818bc(0x1a5)](this[_0x5818bc(0x1e4)],_0x5818bc(0x1b4),()=>{const _0x237b08=_0x5818bc;_0x97ff7a[_0x237b08(0x1b4)](this[_0x237b08(0x1bf)][_0x237b08(0x1c3)]),this[_0x237b08(0x1d7)]();}),this[_0x5818bc(0x184)]();}[_0x21de4d(0x184)](){const _0x35b689=_0x21de4d,{locale:_0x28d0e4,ui:{ariaLiveAnnouncer:_0x534874}}=this[_0x35b689(0x1e5)];this[_0x35b689(0x1e4)][_0x35b689(0x19c)]['on'](_0x35b689(0x1ff),(_0x5ad3e6,_0x4c9df9,_0x8744fd)=>{const _0x22c6be=_0x35b689,_0xfcf878=this[_0x22c6be(0x1bf)][_0x22c6be(0x1c3)];_0x8744fd?_0x534874[_0x22c6be(0x1ad)](_0x4adc2e(_0x28d0e4,_0x22c6be(0x188))):_0xfcf878&&_0x534874[_0x22c6be(0x1ad)](_0x4adc2e(_0x28d0e4,_0x22c6be(0x171),_0xfcf878),{'politeness':_0x22c6be(0x178),'isUnsafeHTML':!0x0});}),this[_0x35b689(0x1e4)]['on'](_0x35b689(0x1e1),(_0x5af19e,_0x3739e0,_0x496542)=>{const _0x55f50e=_0x35b689;if(_0x496542){const _0x172d46=this[_0x55f50e(0x1e4)][_0x55f50e(0x1c7)][_0x55f50e(0x1db)];_0x534874[_0x55f50e(0x1ad)](_0x4adc2e(_0x28d0e4,_0x55f50e(0x16f),_0x172d46));}});}[_0x21de4d(0x1ee)](_0x5f2e66){const _0x5e2590=_0x21de4d,_0x47de4c=this[_0x5e2590(0x1e9)][_0x5e2590(0x1f2)](_0x5f2e66),_0x1c7842=this[_0x5e2590(0x1e5)],_0x3e9036=_0x1c7842[_0x5e2590(0x1fe)][_0x5e2590(0x1a3)][_0x5e2590(0x17c)],_0x45169c=_0x1c7842[_0x5e2590(0x1d9)][_0x5e2590(0x1f2)](_0x5e2590(0x1b8)),_0xde7aa0=_0x1c7842[_0x5e2590(0x1be)][_0x5e2590(0x1f2)](_0x16b024),_0xa14109=''+(_0x47de4c[_0x5e2590(0x1ef)]!==_0x2bae50?_0x47de4c[_0x5e2590(0x200)]+':\x20':'')+_0x47de4c[_0x5e2590(0x1fc)];if(!0x1!==_0x47de4c[_0x5e2590(0x1dd)]&&_0x3e9036[_0x5e2590(0x1d3)]){const _0x575e80=_0x40877a(_0x3e9036[_0x5e2590(0x174)]())||_0x1c7842[_0x5e2590(0x1fe)][_0x5e2590(0x191)][_0x5e2590(0x1ae)](_0x3e9036);_0x1c7842[_0x5e2590(0x1fe)][_0x5e2590(0x15d)](_0x6104a9=>{const _0x4ac378=_0x5e2590;_0x6104a9[_0x4ac378(0x167)](_0x575e80,'in');});}_0xde7aa0[_0x5e2590(0x1eb)](),_0x45169c[_0x5e2590(0x16d)](_0x47de4c[_0x5e2590(0x1d1)],_0xa14109,_0x5e2590(0x175)+_0x5f2e66);}[_0x21de4d(0x18a)](_0x44f103,_0x374400,_0x323451,_0x33d0ad){const _0x3aa20e=_0x21de4d,_0x2f1d0e=this[_0x3aa20e(0x1e5)],_0x413cd5=_0x2f1d0e[_0x3aa20e(0x18c)],_0x1394d4=new _0x5dda8c(_0x413cd5),_0x904f2f=U(_0x2f1d0e,_0x323451)[_0x3aa20e(0x1fd)](_0x6154d1=>_0x6154d1[_0x3aa20e(0x1d9)][_0x3aa20e(0x180)]);0x1===_0x904f2f[_0x3aa20e(0x180)]?this[_0x3aa20e(0x169)]({'command':_0x44f103,'commands':_0x904f2f[0x0][_0x3aa20e(0x1d9)],'parentMenuView':_0x374400,'onExecute':_0x33d0ad})[_0x3aa20e(0x1b6)](_0x28cacf=>_0x1394d4[_0x3aa20e(0x166)][_0x3aa20e(0x19e)](_0x28cacf)):_0x904f2f[_0x3aa20e(0x1b6)](({groupId:_0x512fe5,groupLabel:_0x4e110d,commands:_0x4fab63})=>{const _0x23460e=_0x3aa20e,_0x59ac36=new _0x1e96c4(_0x413cd5,_0x374400),_0xbd8946=new _0x34336f(_0x413cd5),_0x4c3df7=new _0x5dda8c(_0x413cd5),_0xee9617=this[_0x23460e(0x169)]({'command':_0x44f103,'commands':_0x4fab63,'parentMenuView':_0xbd8946,'onExecute':_0x33d0ad});_0xbd8946[_0x23460e(0x1cf)][_0x23460e(0x201)]({'label':_0x4e110d||_0x512fe5}),_0xbd8946[_0x23460e(0x1f3)](_0x23460e(0x16d))['to'](_0x374400),_0x4c3df7[_0x23460e(0x166)][_0x23460e(0x164)](_0xee9617),_0xbd8946[_0x23460e(0x1f6)][_0x23460e(0x162)][_0x23460e(0x19e)](_0x4c3df7),_0x59ac36[_0x23460e(0x162)][_0x23460e(0x19e)](_0xbd8946),_0x1394d4[_0x23460e(0x166)][_0x23460e(0x19e)](_0x59ac36);}),_0x374400[_0x3aa20e(0x1f6)][_0x3aa20e(0x162)][_0x3aa20e(0x19e)](_0x1394d4);}[_0x21de4d(0x169)]({command:_0x2dd25a,commands:_0xa633b2,parentMenuView:_0x5d8bb3,onExecute:_0x25b673}){const _0x386f34=_0x21de4d,_0x1ceca3=this[_0x386f34(0x1e5)],_0x1bf164=_0x1ceca3[_0x386f34(0x18c)];return U(_0x1ceca3,_0xa633b2)[_0x386f34(0x1a4)](_0x2ebea1=>{const _0x5ba5b6=_0x386f34,_0x2e09e3=new _0x1e96c4(_0x1bf164,_0x5d8bb3),_0xbf170=new _0x47c470(_0x1bf164);return _0xbf170[_0x5ba5b6(0x201)]({'label':_0x2ebea1[_0x5ba5b6(0x1fc)]}),_0xbf170[_0x5ba5b6(0x1f3)](_0x5ba5b6(0x16d))['to'](_0x5d8bb3),_0xbf170['on'](_0x5ba5b6(0x16d),()=>_0x25b673(_0x2ebea1['id'])),_0xbf170[_0x5ba5b6(0x1c2)](_0x5ba5b6(0x1a6))['to'](_0x2dd25a,_0x5ba5b6(0x17f),_0xd64b03=>_0xd64b03[_0x5ba5b6(0x1f5)](_0x2ebea1['id'])),_0x2e09e3[_0x5ba5b6(0x162)][_0x5ba5b6(0x19e)](_0xbf170),_0x2e09e3;});}}function T(_0x18a23e,_0xfb79f2){const _0x24b74a=_0x21de4d;return void 0x0!==_0x18a23e[_0x24b74a(0x1cd)]&&void 0x0===_0xfb79f2[_0x24b74a(0x1cd)]?0x1:void 0x0===_0x18a23e[_0x24b74a(0x1cd)]&&void 0x0!==_0xfb79f2[_0x24b74a(0x1cd)]?-0x1:void 0x0!==_0x18a23e[_0x24b74a(0x1cd)]&&void 0x0!==_0xfb79f2[_0x24b74a(0x1cd)]?_0x18a23e[_0x24b74a(0x1cd)]-_0xfb79f2[_0x24b74a(0x1cd)]:0x0;}function U(_0x45845d,_0x15229d){const _0x5e49b3=_0x21de4d;_0x15229d[_0x5e49b3(0x1dc)](T);const _0xaf7f31={},_0x2675e1=[];for(const _0x392662 of _0x15229d)if(void 0x0!==_0x392662[_0x5e49b3(0x1cd)]){if(_0x392662[_0x5e49b3(0x1cd)]in _0xaf7f31)throw new _0x3c735c(_0x5e49b3(0x1a1),_0x45845d,{'conflictingDefinitions':[_0x392662,_0xaf7f31[_0x392662[_0x5e49b3(0x1cd)]]]});_0xaf7f31[_0x392662[_0x5e49b3(0x1cd)]]=_0x392662,_0x2675e1[_0x5e49b3(0x1ea)](_0x392662[_0x5e49b3(0x1cd)],0x0,_0x392662);}else _0x2675e1[_0x5e49b3(0x1f8)](_0x392662);return _0x2675e1;}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3188(){var _0x4129f8=['1vejDPv','2076034eWaJGX','112570kDiIol','28342700DWyELo','3556641lVFzOr','6012340ZftXlo','5530136VoLMgD','14IjBZoc','174dCsctG','5364171NgcAqU'];_0x3188=function(){return _0x4129f8;};return _0x3188();}(function(_0x3e9e7f,_0x86d6f8){var _0x183ab6=_0x4ae4,_0x427a09=_0x3e9e7f();while(!![]){try{var _0x3abef5=-parseInt(_0x183ab6(0x115))/0x1*(parseInt(_0x183ab6(0x116))/0x2)+-parseInt(_0x183ab6(0x119))/0x3+parseInt(_0x183ab6(0x11a))/0x4+parseInt(_0x183ab6(0x117))/0x5*(parseInt(_0x183ab6(0x11d))/0x6)+-parseInt(_0x183ab6(0x11c))/0x7*(parseInt(_0x183ab6(0x11b))/0x8)+-parseInt(_0x183ab6(0x114))/0x9+parseInt(_0x183ab6(0x118))/0xa;if(_0x3abef5===_0x86d6f8)break;else _0x427a09['push'](_0x427a09['shift']());}catch(_0x4c4e07){_0x427a09['push'](_0x427a09['shift']());}}}(_0x3188,0xc06b0));function _0x4ae4(_0x2a8430,_0x438785){var _0x3188f2=_0x3188();return _0x4ae4=function(_0x4ae484,_0x18ff5b){_0x4ae484=_0x4ae484-0x114;var _0x377028=_0x3188f2[_0x4ae484];return _0x377028;},_0x4ae4(_0x2a8430,_0x438785);}export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
23
+ (function(_0x31edb1,_0x275073){var _0x2f0898=_0x61a2,_0x459caf=_0x31edb1();while(!![]){try{var _0x983546=parseInt(_0x2f0898(0x155))/0x1+parseInt(_0x2f0898(0x153))/0x2+-parseInt(_0x2f0898(0x156))/0x3*(-parseInt(_0x2f0898(0x154))/0x4)+parseInt(_0x2f0898(0x152))/0x5+-parseInt(_0x2f0898(0x159))/0x6+parseInt(_0x2f0898(0x15a))/0x7*(-parseInt(_0x2f0898(0x157))/0x8)+parseInt(_0x2f0898(0x158))/0x9;if(_0x983546===_0x275073)break;else _0x459caf['push'](_0x459caf['shift']());}catch(_0x2ad9ac){_0x459caf['push'](_0x459caf['shift']());}}}(_0x5515,0xf27c4));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';function _0x5515(){var _0x241082=['8MvCZFN','577341ZSjUsw','9639798nuiikR','698593xAiLXj','4800530vRCCif','324836knKnqe','404ACEykt','118472TOFGFq','41421EstUQV'];_0x5515=function(){return _0x241082;};return _0x5515();}export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';function _0x61a2(_0x38a323,_0x128a69){var _0x551591=_0x5515();return _0x61a2=function(_0x61a2eb,_0x5371d5){_0x61a2eb=_0x61a2eb-0x152;var _0x2ad651=_0x551591[_0x61a2eb];return _0x2ad651;},_0x61a2(_0x38a323,_0x128a69);}export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x35104a,_0x217b82){var _0x2f89f5=_0x3372,_0x38388c=_0x35104a();while(!![]){try{var _0x18f398=parseInt(_0x2f89f5(0x161))/0x1*(parseInt(_0x2f89f5(0x164))/0x2)+parseInt(_0x2f89f5(0x169))/0x3+parseInt(_0x2f89f5(0x165))/0x4*(-parseInt(_0x2f89f5(0x163))/0x5)+-parseInt(_0x2f89f5(0x167))/0x6+parseInt(_0x2f89f5(0x16a))/0x7*(-parseInt(_0x2f89f5(0x166))/0x8)+parseInt(_0x2f89f5(0x168))/0x9+parseInt(_0x2f89f5(0x162))/0xa;if(_0x18f398===_0x217b82)break;else _0x38388c['push'](_0x38388c['shift']());}catch(_0x4f761c){_0x38388c['push'](_0x38388c['shift']());}}}(_0x460b,0xb6ff7));import{CKEditorError as _0x506656}from'ckeditor5/src/utils.js';function _0x3372(_0x1b8060,_0x57f034){var _0x460b9d=_0x460b();return _0x3372=function(_0x337242,_0x30ed73){_0x337242=_0x337242-0x161;var _0x406d31=_0x460b9d[_0x337242];return _0x406d31;},_0x3372(_0x1b8060,_0x57f034);}function _0x460b(){var _0xe15bcb=['3752MwqQhX','1ZzDiCT','21194830NQnHFF','2503585WiLxrK','2121342SsLnCA','8qKJURk','16768KkuByE','8685858SwzfSF','6193521MRzFEh','1361307OfXcku'];_0x460b=function(){return _0xe15bcb;};return _0x460b();}
23
+ function _0x32bd(_0xc06c27,_0x28e367){var _0x4832f4=_0x4832();return _0x32bd=function(_0x32bd1f,_0xdb86f4){_0x32bd1f=_0x32bd1f-0x153;var _0x2ea47c=_0x4832f4[_0x32bd1f];return _0x2ea47c;},_0x32bd(_0xc06c27,_0x28e367);}function _0x4832(){var _0x1c40fc=['1094587qTIrok','15351190WyFOCq','1197dAlSeU','2934762KQlcHc','36ZOEUNI','50296yVfzVs','3947620wiJXKv','5lRxTli','346787szGDrv','3NSdiKm','20589294uSpInG'];_0x4832=function(){return _0x1c40fc;};return _0x4832();}(function(_0x384ff8,_0x13e314){var _0x294ddb=_0x32bd,_0x300b1d=_0x384ff8();while(!![]){try{var _0x1af277=-parseInt(_0x294ddb(0x15b))/0x1+parseInt(_0x294ddb(0x153))/0x2*(parseInt(_0x294ddb(0x159))/0x3)+-parseInt(_0x294ddb(0x156))/0x4*(parseInt(_0x294ddb(0x157))/0x5)+-parseInt(_0x294ddb(0x154))/0x6*(-parseInt(_0x294ddb(0x158))/0x7)+parseInt(_0x294ddb(0x155))/0x8*(parseInt(_0x294ddb(0x15d))/0x9)+-parseInt(_0x294ddb(0x15c))/0xa+parseInt(_0x294ddb(0x15a))/0xb;if(_0x1af277===_0x13e314)break;else _0x300b1d['push'](_0x300b1d['shift']());}catch(_0x5882b6){_0x300b1d['push'](_0x300b1d['shift']());}}}(_0x4832,0xd0f85));import{CKEditorError as _0x34afa3}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1497c3=_0x4225;(function(_0x4eb78b,_0x36f26a){const _0xe6c45e=_0x4225,_0x2f164b=_0x4eb78b();while(!![]){try{const _0x108a54=-parseInt(_0xe6c45e(0x183))/0x1+parseInt(_0xe6c45e(0x163))/0x2*(parseInt(_0xe6c45e(0x13b))/0x3)+-parseInt(_0xe6c45e(0x194))/0x4+parseInt(_0xe6c45e(0x149))/0x5+-parseInt(_0xe6c45e(0x176))/0x6+parseInt(_0xe6c45e(0x164))/0x7*(parseInt(_0xe6c45e(0x160))/0x8)+parseInt(_0xe6c45e(0x140))/0x9*(-parseInt(_0xe6c45e(0x173))/0xa);if(_0x108a54===_0x36f26a)break;else _0x2f164b['push'](_0x2f164b['shift']());}catch(_0x162c27){_0x2f164b['push'](_0x2f164b['shift']());}}}(_0x487e,0x5a9d1));import{ObservableMixin as _0x4e4a40}from'ckeditor5/src/utils.js';import{AIRequestError as _0x374e1f}from'../adapters/aiadapter.js';function _0x4225(_0x94977a,_0x58489a){const _0x487e17=_0x487e();return _0x4225=function(_0x422585,_0x3ca4aa){_0x422585=_0x422585-0x131;let _0x295d14=_0x487e17[_0x422585];return _0x295d14;},_0x4225(_0x94977a,_0x58489a);}import{Matcher as _0x3f5a5a,ViewUpcastWriter as _0x27350d}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x4e4a40(){[_0x1497c3(0x14c)];[_0x1497c3(0x187)];[_0x1497c3(0x15f)];[_0x1497c3(0x18c)];[_0x1497c3(0x156)];[_0x1497c3(0x188)];constructor(_0x3cf305,_0x3629ba,_0x122673){const _0xa29593=_0x1497c3;super(),this[_0xa29593(0x14c)]=_0x3cf305,this[_0xa29593(0x187)]=_0x3629ba,this[_0xa29593(0x18c)]=document[_0xa29593(0x14f)](_0xa29593(0x190)),this[_0xa29593(0x156)]=new DOMParser(),this[_0xa29593(0x188)]=new XMLSerializer(),this[_0xa29593(0x15f)]=_0x122673,this[_0xa29593(0x16e)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xa29593(0x14e),(_0x271fcb,_0x3b11c4,_0x37d781)=>{const _0x50dd26=_0xa29593;this[_0x50dd26(0x15f)][_0x50dd26(0x150)]=this[_0x50dd26(0x17c)](_0x37d781);}),this[_0xa29593(0x17a)](this[_0xa29593(0x15f)],_0xa29593(0x179),(_0x1be5eb,_0xbad8d9)=>{const _0x3f76bf=_0xa29593,_0x54fb9d=this[_0x3f76bf(0x145)]||this[_0x3f76bf(0x17e)];this[_0x3f76bf(0x17b)](_0xbad8d9,_0x54fb9d,_0x3f76bf(0x15c));}),this[_0xa29593(0x17a)](this[_0xa29593(0x15f)],_0xa29593(0x139),()=>{const _0x3bf280=_0xa29593;this[_0x3bf280(0x15f)][_0x3bf280(0x18a)]=this[_0x3bf280(0x132)],this[_0x3bf280(0x17b)](this[_0x3bf280(0x13c)],this[_0x3bf280(0x170)],this[_0x3bf280(0x186)],this[_0x3bf280(0x132)]);}),this[_0xa29593(0x17a)](this[_0xa29593(0x15f)],_0xa29593(0x166),()=>{const _0x3e22cc=_0xa29593;this[_0x3e22cc(0x166)]();});}[_0x1497c3(0x148)](){const _0x5ee286=_0x1497c3;this[_0x5ee286(0x178)]();}async[_0x1497c3(0x133)]({actionId:_0x21bbc6,query:_0x525b08,htmlContent:_0x391e0a,label:_0xc256ef,mainActionLabel:_0x5553a2}){const _0x5a6362=_0x1497c3;this[_0x5a6362(0x15f)][_0x5a6362(0x18a)]=_0xc256ef,this[_0x5a6362(0x15f)][_0x5a6362(0x144)]=_0x5553a2,this[_0x5a6362(0x17e)]=_0x391e0a,_0x525b08&&(this[_0x5a6362(0x15f)][_0x5a6362(0x15a)]?this[_0x5a6362(0x17b)](_0x525b08,_0x391e0a,_0x21bbc6,_0xc256ef):this[_0x5a6362(0x15f)][_0x5a6362(0x134)](_0x5a6362(0x147),()=>{const _0x366d51=_0x5a6362;this[_0x366d51(0x17b)](_0x525b08,_0x391e0a,_0x21bbc6,_0xc256ef);}));}[_0x1497c3(0x166)](){const _0x4f0e4e=_0x1497c3;this[_0x4f0e4e(0x13d)]&&(this[_0x4f0e4e(0x13d)]=!0x1,this[_0x4f0e4e(0x15f)][_0x4f0e4e(0x18d)](),this[_0x4f0e4e(0x187)][_0x4f0e4e(0x174)]());}[_0x1497c3(0x161)](){const _0x9abd8f=_0x1497c3;this[_0x9abd8f(0x17e)]='',this[_0x9abd8f(0x145)]='',this[_0x9abd8f(0x136)]='',this[_0x9abd8f(0x170)]='',this[_0x9abd8f(0x13c)]='',this[_0x9abd8f(0x132)]='',this[_0x9abd8f(0x186)]=void 0x0,this[_0x9abd8f(0x15f)][_0x9abd8f(0x161)](),this[_0x9abd8f(0x166)]();}async[_0x1497c3(0x17b)](_0x597615,_0x2125d9,_0x56d1ef,_0x2e964a){const _0x22494b=_0x1497c3;return this[_0x22494b(0x13d)]=!0x0,this[_0x22494b(0x15f)][_0x22494b(0x16b)](),this[_0x22494b(0x170)]=_0x2125d9,this[_0x22494b(0x13c)]=_0x597615,this[_0x22494b(0x132)]=_0x2e964a||_0x597615,this[_0x22494b(0x186)]=_0x56d1ef,new Promise(_0x4bd469=>{const _0x34e2d8=_0x22494b;this[_0x34e2d8(0x187)][_0x34e2d8(0x143)]({'query':_0x597615,'context':_0x2125d9,'onData':_0x211b88=>{const _0x2edbd0=_0x34e2d8;this[_0x2edbd0(0x136)]=_0x211b88,this[_0x2edbd0(0x145)]=this[_0x2edbd0(0x18e)](this[_0x2edbd0(0x136)]);},'actionId':_0x56d1ef})[_0x34e2d8(0x16f)](()=>{const _0x165c19=_0x34e2d8;!this[_0x165c19(0x145)]&&this[_0x165c19(0x136)]&&(this[_0x165c19(0x145)]=this[_0x165c19(0x18e)](this[_0x165c19(0x136)],!0x0));})[_0x34e2d8(0x162)](_0x2906d7=>{const _0x239964=_0x34e2d8;_0x2906d7 instanceof _0x374e1f?this[_0x239964(0x15f)][_0x239964(0x159)](_0x2906d7[_0x239964(0x15b)]):this[_0x239964(0x15f)][_0x239964(0x159)](),_0x4bd469();})[_0x34e2d8(0x153)](()=>{const _0x32e0ad=_0x34e2d8;this[_0x32e0ad(0x166)](),_0x4bd469();});});}[_0x1497c3(0x18e)](_0x48a4bc,_0x21a469=!0x1){const _0x5eec43=_0x1497c3,_0x330d30=Q[_0x5eec43(0x137)](_0x48a4bc);_0x48a4bc=_0x330d30?_0x48a4bc[_0x5eec43(0x14d)](_0x330d30[0x1][_0x5eec43(0x13a)]):_0x48a4bc[_0x5eec43(0x13a)]<0x64&&!_0x21a469?'':this[_0x5eec43(0x15d)](_0x48a4bc);const _0x3c3e2a=this[_0x5eec43(0x156)][_0x5eec43(0x185)](_0x48a4bc,_0x5eec43(0x192));if(_0x330d30){const _0xc94f02=Array[_0x5eec43(0x135)](_0x3c3e2a[_0x5eec43(0x182)][_0x5eec43(0x146)]);_0xc94f02[_0x5eec43(0x16a)]();for(const _0x140f51 of _0xc94f02){if(_0x140f51[_0x5eec43(0x131)]==Node[_0x5eec43(0x138)])break;_0x140f51[_0x5eec43(0x18b)]();}}const _0x2dc883=this[_0x5eec43(0x14c)][_0x5eec43(0x158)][_0x5eec43(0x142)][_0x5eec43(0x17f)](this[_0x5eec43(0x188)][_0x5eec43(0x14b)](_0x3c3e2a[_0x5eec43(0x182)]));this[_0x5eec43(0x189)]()||this[_0x5eec43(0x157)](_0x2dc883);const _0x165e0d=this[_0x5eec43(0x14c)][_0x5eec43(0x175)][_0x5eec43(0x13e)](_0x5eec43(0x155)),_0x12f8da=this[_0x5eec43(0x14c)][_0x5eec43(0x158)][_0x5eec43(0x167)](_0x2dc883);return _0x165e0d||_0x12f8da[_0x5eec43(0x15e)][_0x5eec43(0x177)](),this[_0x5eec43(0x14c)][_0x5eec43(0x158)][_0x5eec43(0x18f)](_0x12f8da);}[_0x1497c3(0x157)](_0x4f0579){const _0x46e4a3=_0x1497c3,_0x1da9ac=new _0x27350d(this[_0x46e4a3(0x14c)][_0x46e4a3(0x165)][_0x46e4a3(0x15f)][_0x46e4a3(0x191)]),_0x553345=new _0x3f5a5a({'name':/^h[1-5]$/}),_0x23996b=[];let _0x30795a=!0x1;for(const _0x5691cd of _0x4f0579)_0x5691cd['is'](_0x46e4a3(0x13f))&&_0x553345[_0x46e4a3(0x172)](_0x5691cd)&&(_0x23996b[_0x46e4a3(0x154)](_0x5691cd),'h1'==_0x5691cd[_0x46e4a3(0x169)]&&(_0x30795a=!0x0));if(_0x30795a){for(const _0x4d3ac1 of _0x23996b)_0x1da9ac[_0x46e4a3(0x16d)]('h'+(parseInt(_0x4d3ac1[_0x46e4a3(0x169)][0x1])+0x1),_0x4d3ac1);}}[_0x1497c3(0x189)](){const _0x30beb9=_0x1497c3,{data:_0x39c4e1,editing:_0x1f5bdc}=this[_0x30beb9(0x14c)],_0x9cbf3b=_0x39c4e1[_0x30beb9(0x17d)][_0x30beb9(0x17f)](_0x30beb9(0x14a)),_0x3ed8f9=_0x39c4e1[_0x30beb9(0x17f)](_0x39c4e1[_0x30beb9(0x167)](_0x9cbf3b));return!!_0x1f5bdc[_0x30beb9(0x15f)][_0x30beb9(0x16c)][_0x30beb9(0x168)](_0x3ed8f9)[_0x30beb9(0x184)]('h1');}[_0x1497c3(0x17c)](_0x4b77d8){const _0x1efac0=_0x1497c3;return this[_0x1efac0(0x14c)][_0x1efac0(0x165)][_0x1efac0(0x15f)][_0x1efac0(0x16c)][_0x1efac0(0x152)](this[_0x1efac0(0x18c)],_0x4b77d8),this[_0x1efac0(0x18c)][_0x1efac0(0x141)];}[_0x1497c3(0x15d)](_0x5d5b4d){const _0x36df84=_0x1497c3,_0x25389d=_0x5d5b4d[_0x36df84(0x180)]();return _0x25389d[_0x36df84(0x171)](_0x36df84(0x181))?_0x25389d[_0x36df84(0x193)](_0x36df84(0x151))?_0x25389d[_0x36df84(0x14d)](0x7,_0x25389d[_0x36df84(0x13a)]-0x3):_0x25389d[_0x36df84(0x14d)](0x7):_0x5d5b4d;}}function _0x487e(){const _0x47c931=['destroy','1706165FQkbyD','<h1></h1>','serializeToString','editor','substring','set:currentContext','createElement','value','```','setContentOf','finally','push','ai.aiAssistant.preserveComments','_domParser','_normalizeResponseHeadings','data','handleError','isRendered','message','custom','_stripMarkdownSyntax','markers','view','1704mxsGvw','reset','catch','2FEtbvM','19180IyLlmH','editing','stopProcessing','toModel','viewToDom','name','reverse','startProcessing','domConverter','rename','set','then','previousContext','startsWith','match','10tpZgOe','abort','config','1858338xzYgGq','clear','stopListening','submitPrompt','listenTo','_handleQuery','_sanitizeHTML','htmlProcessor','initialContext','toView','trim','```html','body','335734tuwiZQ','querySelector','parseFromString','previousActionId','textAdapter','_xmlSerializer','_isH1TagSupportEnabled','prompt','remove','_sanitizationContainer','finishProcessing','_parseAndNormalizeContent','stringify','div','document','text/html','endsWith','399180rgxdII','nodeType','previousLabel','updateView','once','from','currentResponse','exec','ELEMENT_NODE','tryAgainEvent','length','709761uUZkiZ','previousQuery','isProcessing','get','element','405315jjftIr','innerHTML','processor','makeRequest','mainAction','currentContext','childNodes','render'];_0x487e=function(){return _0x47c931;};return _0x487e();}
23
+ const _0x307675=_0x58f9;(function(_0x942788,_0x5b5a49){const _0x3ded19=_0x58f9,_0x4824d3=_0x942788();while(!![]){try{const _0x9bb9db=parseInt(_0x3ded19(0x1c1))/0x1+parseInt(_0x3ded19(0x1bb))/0x2+-parseInt(_0x3ded19(0x1cc))/0x3+parseInt(_0x3ded19(0x1df))/0x4*(parseInt(_0x3ded19(0x19e))/0x5)+parseInt(_0x3ded19(0x1d5))/0x6+parseInt(_0x3ded19(0x1b4))/0x7+-parseInt(_0x3ded19(0x1fd))/0x8;if(_0x9bb9db===_0x5b5a49)break;else _0x4824d3['push'](_0x4824d3['shift']());}catch(_0x2721e9){_0x4824d3['push'](_0x4824d3['shift']());}}}(_0x7ccb,0x42d40));function _0x7ccb(){const _0x42d95a=['previousLabel','finishProcessing','previousQuery','2948988Pjemlt','message','render','clear','isRendered','submitPrompt','makeRequest','720198XiVQyG','_handleQuery','exec','editing','stopProcessing','startProcessing','359721FAhTiE','endsWith','_domParser','processor','config','data','push','innerHTML','viewToDom','editor','_isH1TagSupportEnabled','252435acKxbC','```','<h1></h1>','element','markers','reset','querySelector','_parseAndNormalizeContent','catch','483750BVkuYE','match','startsWith','_normalizeResponseHeadings','createElement','finally','domConverter','isProcessing','textAdapter','rename','12ELXTDF','serializeToString','div','get','```html','_sanitizeHTML','_stripMarkdownSyntax','stringify','custom','body','value','set','length','mainAction','handleError','substring','currentResponse','toModel','destroy','remove','text/html','stopListening','nodeType','_sanitizationContainer','abort','initialContext','then','updateView','setContentOf','_xmlSerializer','7330152CWAGUF','set:currentContext','currentContext','87355NqEmbr','childNodes','name','parseFromString','listenTo','trim','document','ai.aiAssistant.preserveComments','view','toView','reverse','tryAgainEvent','once','htmlProcessor','prompt','from','previousContext','ELEMENT_NODE','previousActionId'];_0x7ccb=function(){return _0x42d95a;};return _0x7ccb();}import{ObservableMixin as _0x1eadcd}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4dd6dc}from'../adapters/aiadapter.js';function _0x58f9(_0x23187e,_0x1769bd){const _0x7ccba0=_0x7ccb();return _0x58f9=function(_0x58f938,_0x56d77c){_0x58f938=_0x58f938-0x19d;let _0x5efb17=_0x7ccba0[_0x58f938];return _0x5efb17;},_0x58f9(_0x23187e,_0x1769bd);}import{Matcher as _0x5377e0,ViewUpcastWriter as _0x3e5e88}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x1eadcd(){[_0x307675(0x1ca)];[_0x307675(0x1dd)];[_0x307675(0x1a6)];[_0x307675(0x1f6)];[_0x307675(0x1c3)];[_0x307675(0x1fc)];constructor(_0x47bcc8,_0x73dcad,_0x399448){const _0x4d064d=_0x307675;super(),this[_0x4d064d(0x1ca)]=_0x47bcc8,this[_0x4d064d(0x1dd)]=_0x73dcad,this[_0x4d064d(0x1f6)]=document[_0x4d064d(0x1d9)](_0x4d064d(0x1e1)),this[_0x4d064d(0x1c3)]=new DOMParser(),this[_0x4d064d(0x1fc)]=new XMLSerializer(),this[_0x4d064d(0x1a6)]=_0x399448,this[_0x4d064d(0x1ea)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4d064d(0x1fe),(_0x2013e2,_0x59ef88,_0xadd003)=>{const _0x5707b4=_0x4d064d;this[_0x5707b4(0x1a6)][_0x5707b4(0x1e9)]=this[_0x5707b4(0x1e4)](_0xadd003);}),this[_0x4d064d(0x1a2)](this[_0x4d064d(0x1a6)],_0x4d064d(0x1b9),(_0x4dd1a5,_0x4e32d3)=>{const _0x1531d7=_0x4d064d,_0x309e44=this[_0x1531d7(0x19d)]||this[_0x1531d7(0x1f8)];this[_0x1531d7(0x1bc)](_0x4e32d3,_0x309e44,_0x1531d7(0x1e7));}),this[_0x4d064d(0x1a2)](this[_0x4d064d(0x1a6)],_0x4d064d(0x1a9),()=>{const _0x20acda=_0x4d064d;this[_0x20acda(0x1a6)][_0x20acda(0x1ac)]=this[_0x20acda(0x1b1)],this[_0x20acda(0x1bc)](this[_0x20acda(0x1b3)],this[_0x20acda(0x1ae)],this[_0x20acda(0x1b0)],this[_0x20acda(0x1b1)]);}),this[_0x4d064d(0x1a2)](this[_0x4d064d(0x1a6)],_0x4d064d(0x1bf),()=>{const _0x543170=_0x4d064d;this[_0x543170(0x1bf)]();});}[_0x307675(0x1f1)](){const _0x26f678=_0x307675;this[_0x26f678(0x1f4)]();}async[_0x307675(0x1fa)]({actionId:_0x298e93,query:_0x57ef7e,htmlContent:_0x4049ce,label:_0x100ffd,mainActionLabel:_0x58a52e}){const _0x15d50d=_0x307675;this[_0x15d50d(0x1a6)][_0x15d50d(0x1ac)]=_0x100ffd,this[_0x15d50d(0x1a6)][_0x15d50d(0x1ec)]=_0x58a52e,this[_0x15d50d(0x1f8)]=_0x4049ce,_0x57ef7e&&(this[_0x15d50d(0x1a6)][_0x15d50d(0x1b8)]?this[_0x15d50d(0x1bc)](_0x57ef7e,_0x4049ce,_0x298e93,_0x100ffd):this[_0x15d50d(0x1a6)][_0x15d50d(0x1aa)](_0x15d50d(0x1b6),()=>{const _0x3e2951=_0x15d50d;this[_0x3e2951(0x1bc)](_0x57ef7e,_0x4049ce,_0x298e93,_0x100ffd);}));}[_0x307675(0x1bf)](){const _0x2a1079=_0x307675;this[_0x2a1079(0x1dc)]&&(this[_0x2a1079(0x1dc)]=!0x1,this[_0x2a1079(0x1a6)][_0x2a1079(0x1b2)](),this[_0x2a1079(0x1dd)][_0x2a1079(0x1f7)]());}[_0x307675(0x1d1)](){const _0x3f3450=_0x307675;this[_0x3f3450(0x1f8)]='',this[_0x3f3450(0x19d)]='',this[_0x3f3450(0x1ef)]='',this[_0x3f3450(0x1ae)]='',this[_0x3f3450(0x1b3)]='',this[_0x3f3450(0x1b1)]='',this[_0x3f3450(0x1b0)]=void 0x0,this[_0x3f3450(0x1a6)][_0x3f3450(0x1d1)](),this[_0x3f3450(0x1bf)]();}async[_0x307675(0x1bc)](_0x3721b8,_0x10c284,_0x279a3a,_0x589c9b){const _0x2130e4=_0x307675;return this[_0x2130e4(0x1dc)]=!0x0,this[_0x2130e4(0x1a6)][_0x2130e4(0x1c0)](),this[_0x2130e4(0x1ae)]=_0x10c284,this[_0x2130e4(0x1b3)]=_0x3721b8,this[_0x2130e4(0x1b1)]=_0x589c9b||_0x3721b8,this[_0x2130e4(0x1b0)]=_0x279a3a,new Promise(_0x4ec270=>{const _0x36541e=_0x2130e4;this[_0x36541e(0x1dd)][_0x36541e(0x1ba)]({'query':_0x3721b8,'context':_0x10c284,'onData':_0x56396c=>{const _0x53db00=_0x36541e;this[_0x53db00(0x1ef)]=_0x56396c,this[_0x53db00(0x19d)]=this[_0x53db00(0x1d3)](this[_0x53db00(0x1ef)]);},'actionId':_0x279a3a})[_0x36541e(0x1f9)](()=>{const _0x3b5032=_0x36541e;!this[_0x3b5032(0x19d)]&&this[_0x3b5032(0x1ef)]&&(this[_0x3b5032(0x19d)]=this[_0x3b5032(0x1d3)](this[_0x3b5032(0x1ef)],!0x0));})[_0x36541e(0x1d4)](_0x5c2b6d=>{const _0x528db5=_0x36541e;_0x5c2b6d instanceof _0x4dd6dc?this[_0x528db5(0x1a6)][_0x528db5(0x1ed)](_0x5c2b6d[_0x528db5(0x1b5)]):this[_0x528db5(0x1a6)][_0x528db5(0x1ed)](),_0x4ec270();})[_0x36541e(0x1da)](()=>{const _0x5b639d=_0x36541e;this[_0x5b639d(0x1bf)](),_0x4ec270();});});}[_0x307675(0x1d3)](_0x2eeb0b,_0x4957e9=!0x1){const _0x1f0f31=_0x307675,_0x5b148c=Q[_0x1f0f31(0x1bd)](_0x2eeb0b);_0x2eeb0b=_0x5b148c?_0x2eeb0b[_0x1f0f31(0x1ee)](_0x5b148c[0x1][_0x1f0f31(0x1eb)]):_0x2eeb0b[_0x1f0f31(0x1eb)]<0x64&&!_0x4957e9?'':this[_0x1f0f31(0x1e5)](_0x2eeb0b);const _0x5b21d9=this[_0x1f0f31(0x1c3)][_0x1f0f31(0x1a1)](_0x2eeb0b,_0x1f0f31(0x1f3));if(_0x5b148c){const _0x4cfa45=Array[_0x1f0f31(0x1ad)](_0x5b21d9[_0x1f0f31(0x1e8)][_0x1f0f31(0x19f)]);_0x4cfa45[_0x1f0f31(0x1a8)]();for(const _0x1f631f of _0x4cfa45){if(_0x1f631f[_0x1f0f31(0x1f5)]==Node[_0x1f0f31(0x1af)])break;_0x1f631f[_0x1f0f31(0x1f2)]();}}const _0x112505=this[_0x1f0f31(0x1ca)][_0x1f0f31(0x1c6)][_0x1f0f31(0x1c4)][_0x1f0f31(0x1a7)](this[_0x1f0f31(0x1fc)][_0x1f0f31(0x1e0)](_0x5b21d9[_0x1f0f31(0x1e8)]));this[_0x1f0f31(0x1cb)]()||this[_0x1f0f31(0x1d8)](_0x112505);const _0x5ce12e=this[_0x1f0f31(0x1ca)][_0x1f0f31(0x1c5)][_0x1f0f31(0x1e2)](_0x1f0f31(0x1a5)),_0x5aed64=this[_0x1f0f31(0x1ca)][_0x1f0f31(0x1c6)][_0x1f0f31(0x1f0)](_0x112505);return _0x5ce12e||_0x5aed64[_0x1f0f31(0x1d0)][_0x1f0f31(0x1b7)](),this[_0x1f0f31(0x1ca)][_0x1f0f31(0x1c6)][_0x1f0f31(0x1e6)](_0x5aed64);}[_0x307675(0x1d8)](_0x556d4c){const _0x26b67c=_0x307675,_0x23fd86=new _0x3e5e88(this[_0x26b67c(0x1ca)][_0x26b67c(0x1be)][_0x26b67c(0x1a6)][_0x26b67c(0x1a4)]),_0x148a99=new _0x5377e0({'name':/^h[1-5]$/}),_0x492e9d=[];let _0x2ca466=!0x1;for(const _0x486dda of _0x556d4c)_0x486dda['is'](_0x26b67c(0x1cf))&&_0x148a99[_0x26b67c(0x1d6)](_0x486dda)&&(_0x492e9d[_0x26b67c(0x1c7)](_0x486dda),'h1'==_0x486dda[_0x26b67c(0x1a0)]&&(_0x2ca466=!0x0));if(_0x2ca466){for(const _0x235452 of _0x492e9d)_0x23fd86[_0x26b67c(0x1de)]('h'+(parseInt(_0x235452[_0x26b67c(0x1a0)][0x1])+0x1),_0x235452);}}[_0x307675(0x1cb)](){const _0x2b4b38=_0x307675,{data:_0x5811ac,editing:_0x46f720}=this[_0x2b4b38(0x1ca)],_0x43ddf8=_0x5811ac[_0x2b4b38(0x1ab)][_0x2b4b38(0x1a7)](_0x2b4b38(0x1ce)),_0x131098=_0x5811ac[_0x2b4b38(0x1a7)](_0x5811ac[_0x2b4b38(0x1f0)](_0x43ddf8));return!!_0x46f720[_0x2b4b38(0x1a6)][_0x2b4b38(0x1db)][_0x2b4b38(0x1c9)](_0x131098)[_0x2b4b38(0x1d2)]('h1');}[_0x307675(0x1e4)](_0x1bfe86){const _0x28ea55=_0x307675;return this[_0x28ea55(0x1ca)][_0x28ea55(0x1be)][_0x28ea55(0x1a6)][_0x28ea55(0x1db)][_0x28ea55(0x1fb)](this[_0x28ea55(0x1f6)],_0x1bfe86),this[_0x28ea55(0x1f6)][_0x28ea55(0x1c8)];}[_0x307675(0x1e5)](_0x42bb3d){const _0x4f41a7=_0x307675,_0x3ce58b=_0x42bb3d[_0x4f41a7(0x1a3)]();return _0x3ce58b[_0x4f41a7(0x1d7)](_0x4f41a7(0x1e3))?_0x3ce58b[_0x4f41a7(0x1c2)](_0x4f41a7(0x1cd))?_0x3ce58b[_0x4f41a7(0x1ee)](0x7,_0x3ce58b[_0x4f41a7(0x1eb)]-0x3):_0x3ce58b[_0x4f41a7(0x1ee)](0x7):_0x42bb3d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2758bb=_0x324c;(function(_0x518cfb,_0x549997){const _0x4ba51c=_0x324c,_0x3d63a0=_0x518cfb();while(!![]){try{const _0x1db936=-parseInt(_0x4ba51c(0xd7))/0x1+-parseInt(_0x4ba51c(0xc6))/0x2*(parseInt(_0x4ba51c(0xd4))/0x3)+-parseInt(_0x4ba51c(0x96))/0x4*(parseInt(_0x4ba51c(0xd2))/0x5)+parseInt(_0x4ba51c(0xb6))/0x6*(parseInt(_0x4ba51c(0x98))/0x7)+parseInt(_0x4ba51c(0xc5))/0x8+-parseInt(_0x4ba51c(0xa1))/0x9*(parseInt(_0x4ba51c(0xe5))/0xa)+-parseInt(_0x4ba51c(0x9e))/0xb*(-parseInt(_0x4ba51c(0xb2))/0xc);if(_0x1db936===_0x549997)break;else _0x3d63a0['push'](_0x3d63a0['shift']());}catch(_0x508708){_0x3d63a0['push'](_0x3d63a0['shift']());}}}(_0x5afb,0x99bb5));import{global as _0x54d051}from'ckeditor5/src/utils.js';import{View as _0x27db67,ButtonView as _0x2ae856,SpinnerView as _0x332af9}from'ckeditor5/src/ui.js';function _0x5afb(){const _0x5ea325=['querySelector','_createLoader','339993IwkrMn','innerHTML','<span>[</span>','-9999px','_copyHTMLToClipboard','change:value','wheel','change:isProcessing','\x20ck-ai-form__copy-button--copied','addRange','smooth','copy','isVisible','AI\x20is\x20writing...','11320090woIjiB','isEnabled','remove','loaderView','removeAllRanges','ck-ai-form__content-area-wrapper','.ck-ai-form__loader','firstElementChild','14492GJDSnD','lastElementChild','7tuhbMO','left','text/plain','execute','ck-ai-form__copy-button','absolute','4453053FqLpVM','setStartAfter','render','9wRDDFc','_createCopyButton','scrollHeight','setContent','scrollTo','ClipboardItem','ck-ai-form__content-field','ck-hidden','write','class','getSelection','text/html','ck-content','locale','element','ck-ai-form__loader','set','36RuLwKs','value','icon','bind','2058150jjajIT','copyButtonView','createRange','ck-ai-form__content-area--processing','listenTo','Copy','body','focus','appendLoader','div','ck-ai-form__content-area','textContent','createElement','position','contentFieldView','9004496OtziXn','348934OZqZon','ck-reset_all-excluded','bindTemplate','style','setEndBefore','clipboard','isProcessing','ck-ai-form__copy-button-wrapper','appendChild','setTemplate','<span>]</span>','mousedown','80OtlBXx','execCommand','9ThyqhE'];_0x5afb=function(){return _0x5ea325;};return _0x5afb();}import{IconCheck as _0x31fd31,IconCopy as _0x454f62}from'ckeditor5/src/icons.js';import{getTranslation as _0x207df3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x27db67{[_0x2758bb(0xc4)];[_0x2758bb(0xb7)];constructor(_0x1d6cd1,_0x3714ed=''){const _0x152a11=_0x2758bb;super(_0x1d6cd1),this[_0x152a11(0xb1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x441274=this[_0x152a11(0xc8)];this[_0x152a11(0xc4)]=new ContentFieldView(_0x1d6cd1,_0x3714ed),this[_0x152a11(0xb7)]=this[_0x152a11(0xa2)](),this[_0x152a11(0xcf)]({'tag':_0x152a11(0xbf),'attributes':{'class':['ck',_0x152a11(0xea),_0x441274['if'](_0x152a11(0xe3),_0x152a11(0xa8),_0x42377f=>!_0x42377f)],'tabindex':'-1'},'children':[{'tag':_0x152a11(0xbf),'attributes':{'class':['ck',_0x152a11(0xc0),_0x441274['if'](_0x152a11(0xcc),_0x152a11(0xb9))]},'children':[this[_0x152a11(0xc4)],{'tag':_0x152a11(0xbf),'attributes':{'class':['ck',_0x152a11(0xcd)]},'children':[this[_0x152a11(0xb7)]]}]}]});}[_0x2758bb(0xa0)](){const _0x2f704f=_0x2758bb;super[_0x2f704f(0xa0)](),this[_0x2f704f(0xb3)]&&this[_0x2f704f(0xc4)][_0x2f704f(0xa4)](this[_0x2f704f(0xb3)]);let _0x241c6b=!0x1;this['on'](_0x2f704f(0xdc),(_0xf85ad2,_0x5757c0,_0xe3190f)=>{const _0x3a3ed1=_0x2f704f,_0x539e29=!this[_0x3a3ed1(0xc4)][_0x3a3ed1(0xaf)][_0x3a3ed1(0xd5)](_0x3a3ed1(0x94));this[_0x3a3ed1(0xc4)][_0x3a3ed1(0xa4)](_0xe3190f),this[_0x3a3ed1(0xcc)]&&_0x539e29&&!_0x241c6b&&this[_0x3a3ed1(0xaf)][_0x3a3ed1(0xa5)]({'top':this[_0x3a3ed1(0xaf)][_0x3a3ed1(0xa3)],'behavior':_0x3a3ed1(0xe1)});}),this['on'](_0x2f704f(0xde),(_0x4d3a2d,_0x3422cb,_0x195566)=>{const _0x9ce4ad=_0x2f704f;_0x241c6b=!0x1,_0x195566?(this[_0x9ce4ad(0xb3)]=null,this[_0x9ce4ad(0xc4)][_0x9ce4ad(0xbe)]()):this[_0x9ce4ad(0xb3)]||this[_0x9ce4ad(0xc4)][_0x9ce4ad(0xa4)]('');}),this[_0x2f704f(0xba)](this[_0x2f704f(0xaf)],_0x2f704f(0xdd),()=>{_0x241c6b=!0x0;}),this[_0x2f704f(0xba)](this[_0x2f704f(0xaf)],_0x2f704f(0xd1),()=>{_0x241c6b=!0x0;});}[_0x2758bb(0xbd)](){const _0x38c2d2=_0x2758bb;this[_0x38c2d2(0xaf)][_0x38c2d2(0xbd)]();}[_0x2758bb(0xa2)](){const _0x554844=_0x2758bb,_0x5b87c8=this[_0x554844(0xae)],_0x42a108=new _0x2ae856(this[_0x554844(0xae)]),_0x40989c=_0x554844(0x9c);return _0x42a108[_0x554844(0xb1)]({'label':_0x207df3(_0x5b87c8,_0x554844(0xbb)),'icon':_0x454f62,'class':_0x40989c,'tooltip':!0x0}),_0x42a108[_0x554844(0xb5)](_0x554844(0xe3))['to'](this,_0x554844(0xb3),_0x380393=>!!_0x380393),_0x42a108[_0x554844(0xb5)](_0x554844(0xe6))['to'](this,_0x554844(0xcc),_0x25b340=>!_0x25b340),_0x42a108['on'](_0x554844(0x9b),()=>{const _0x20de44=_0x554844;this[_0x20de44(0xdb)](this[_0x20de44(0xc4)][_0x20de44(0xaf)]),_0x42a108[_0x20de44(0xb4)]=_0x31fd31,_0x42a108[_0x20de44(0xaa)]=_0x40989c+_0x20de44(0xdf),this[_0x20de44(0xbd)](),setTimeout(()=>{const _0xf578a3=_0x20de44;_0x42a108[_0xf578a3(0xb4)]=_0x454f62,_0x42a108[_0xf578a3(0xaa)]=_0x40989c;},0x3e8);}),_0x42a108;}[_0x2758bb(0xdb)](_0x5ef42a){const _0x34cf7d=_0x2758bb,{window:_0x4a47bd,document:_0x5ae2b1}=_0x54d051;if(_0x4a47bd[_0x34cf7d(0xa6)]){const {Blob:_0x4d03f4,ClipboardItem:_0x1f2fa5}=_0x4a47bd,_0x5eddf5=[new _0x1f2fa5({'text/html':new _0x4d03f4([_0x5ef42a[_0x34cf7d(0xd8)]],{'type':_0x34cf7d(0xac)}),'text/plain':new _0x4d03f4([_0x5ef42a[_0x34cf7d(0xc1)]||''],{'type':_0x34cf7d(0x9a)})})];navigator[_0x34cf7d(0xcb)][_0x34cf7d(0xa9)](_0x5eddf5);}else{const _0x714f1e=_0x5ae2b1[_0x34cf7d(0xc2)](_0x34cf7d(0xbf));_0x714f1e[_0x34cf7d(0xc9)][_0x34cf7d(0xc3)]=_0x34cf7d(0x9d),_0x714f1e[_0x34cf7d(0xc9)][_0x34cf7d(0x99)]=_0x34cf7d(0xda),_0x714f1e[_0x34cf7d(0xd8)]=_0x34cf7d(0xd9)+_0x5ef42a[_0x34cf7d(0xd8)]+_0x34cf7d(0xd0),_0x5ae2b1[_0x34cf7d(0xbc)][_0x34cf7d(0xce)](_0x714f1e);const _0x39ac52=_0x5ae2b1[_0x34cf7d(0xb8)]();_0x39ac52[_0x34cf7d(0x9f)](_0x714f1e[_0x34cf7d(0x95)]),_0x39ac52[_0x34cf7d(0xca)](_0x714f1e[_0x34cf7d(0x97)]);const _0x32482c=_0x4a47bd[_0x34cf7d(0xab)]();_0x32482c[_0x34cf7d(0xe9)](),_0x32482c[_0x34cf7d(0xe0)](_0x39ac52),_0x5ae2b1[_0x34cf7d(0xd3)](_0x34cf7d(0xe2)),_0x714f1e[_0x34cf7d(0xe7)]();}}}function _0x324c(_0x3568b3,_0x451a98){const _0x5afb40=_0x5afb();return _0x324c=function(_0x324c58,_0x1fb325){_0x324c58=_0x324c58-0x94;let _0x15fa94=_0x5afb40[_0x324c58];return _0x15fa94;},_0x324c(_0x3568b3,_0x451a98);}export class ContentFieldView extends _0x27db67{constructor(_0x5b2597,_0x444bf9=''){const _0x576936=_0x2758bb;super(_0x5b2597),this[_0x576936(0xe8)]=this[_0x576936(0xd6)](),this[_0x576936(0xcf)]({'tag':_0x576936(0xbf),'attributes':{'class':['ck',_0x576936(0xad),_0x444bf9,_0x576936(0xc7),_0x576936(0xa7)]}});}[_0x2758bb(0xa4)](_0x1492a6){const _0x22e077=_0x2758bb;this[_0x22e077(0xaf)][_0x22e077(0xd8)]=_0x1492a6;}[_0x2758bb(0xbe)](){const _0x1a546e=_0x2758bb;this[_0x1a546e(0xaf)][_0x1a546e(0xce)](this[_0x1a546e(0xe8)][_0x1a546e(0xaf)]);}[_0x2758bb(0xd6)](){const _0x59300a=_0x2758bb,_0x59c26b=new _0x27db67(),_0x4d0e42=this[_0x59300a(0xae)],_0x4450aa=new _0x332af9();return _0x4450aa[_0x59300a(0xe3)]=!0x0,_0x59c26b[_0x59300a(0xcf)]({'tag':_0x59300a(0xbf),'attributes':{'class':['ck',_0x59300a(0xb0)]},'children':[_0x4450aa,{'text':_0x207df3(_0x4d0e42,_0x59300a(0xe4))}]}),_0x59c26b[_0x59300a(0xa0)](),_0x59c26b;}}
23
+ const _0x1250af=_0x4462;(function(_0x37998b,_0x4e82a9){const _0x91ed8c=_0x4462,_0x5d0b71=_0x37998b();while(!![]){try{const _0x22034d=parseInt(_0x91ed8c(0xe5))/0x1+-parseInt(_0x91ed8c(0xcf))/0x2*(parseInt(_0x91ed8c(0xad))/0x3)+-parseInt(_0x91ed8c(0xd0))/0x4+-parseInt(_0x91ed8c(0xf4))/0x5+-parseInt(_0x91ed8c(0xb3))/0x6*(parseInt(_0x91ed8c(0xc1))/0x7)+parseInt(_0x91ed8c(0xe7))/0x8*(parseInt(_0x91ed8c(0xf0))/0x9)+parseInt(_0x91ed8c(0xab))/0xa;if(_0x22034d===_0x4e82a9)break;else _0x5d0b71['push'](_0x5d0b71['shift']());}catch(_0x138a1a){_0x5d0b71['push'](_0x5d0b71['shift']());}}}(_0x18eb,0x8f88b));import{global as _0x4e75e9}from'ckeditor5/src/utils.js';import{View as _0x599b04,ButtonView as _0x66b447,SpinnerView as _0x1ed443}from'ckeditor5/src/ui.js';import{IconCheck as _0x19502d,IconCopy as _0x398488}from'ckeditor5/src/icons.js';function _0x4462(_0x58d8ae,_0x1c72dc){const _0x18ebaa=_0x18eb();return _0x4462=function(_0x446218,_0x4107b5){_0x446218=_0x446218-0xa0;let _0x31d0ae=_0x18ebaa[_0x446218];return _0x31d0ae;},_0x4462(_0x58d8ae,_0x1c72dc);}function _0x18eb(){const _0x305fda=['<span>[</span>','AI\x20is\x20writing...','text/plain','<span>]</span>','firstElementChild','change:isProcessing','write','ck-content','execute','class','locale','copyButtonView','copy','ck-ai-form__content-area','createElement','\x20ck-ai-form__copy-button--copied','ck-hidden','_createCopyButton','loaderView','body','1029046bGClDQ','lastElementChild','30136bLvXkl','createRange','_copyHTMLToClipboard','removeAllRanges','element','change:value','style','contentFieldView','Copy','1746cseMMY','isEnabled','render','scrollHeight','4491860zImioa','scrollTo','getSelection','bind','absolute','execCommand','ck-ai-form__copy-button-wrapper','text/html','ck-ai-form__content-field','div','bindTemplate','focus','17002580oDJRpF','isVisible','1294158numgGc','querySelector','mousedown','ck-reset_all-excluded','isProcessing','setEndBefore','2800842MCvNrK','setTemplate','ck-ai-form__content-area--processing','addRange','appendChild','smooth','icon','remove','ck-ai-form__content-area-wrapper','position','appendLoader','clipboard','-9999px','left','14cPPrqG','_createLoader','value','setContent','wheel','innerHTML','listenTo','textContent','set','ck-ai-form__copy-button','ck-ai-form__loader','ClipboardItem','setStartAfter','.ck-ai-form__loader','4ZUlPDy','709716kCDaWA'];_0x18eb=function(){return _0x305fda;};return _0x18eb();}import{getTranslation as _0x59cb8b}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x599b04{[_0x1250af(0xee)];[_0x1250af(0xdc)];constructor(_0x27ce0d,_0x33126c=''){const _0x37f770=_0x1250af;super(_0x27ce0d),this[_0x37f770(0xc9)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x10651e=this[_0x37f770(0xa9)];this[_0x37f770(0xee)]=new ContentFieldView(_0x27ce0d,_0x33126c),this[_0x37f770(0xdc)]=this[_0x37f770(0xe2)](),this[_0x37f770(0xb4)]({'tag':_0x37f770(0xa8),'attributes':{'class':['ck',_0x37f770(0xbb),_0x10651e['if'](_0x37f770(0xac),_0x37f770(0xe1),_0xa598d3=>!_0xa598d3)],'tabindex':'-1'},'children':[{'tag':_0x37f770(0xa8),'attributes':{'class':['ck',_0x37f770(0xde),_0x10651e['if'](_0x37f770(0xb1),_0x37f770(0xb5))]},'children':[this[_0x37f770(0xee)],{'tag':_0x37f770(0xa8),'attributes':{'class':['ck',_0x37f770(0xa5)]},'children':[this[_0x37f770(0xdc)]]}]}]});}[_0x1250af(0xf2)](){const _0x10e3d0=_0x1250af;super[_0x10e3d0(0xf2)](),this[_0x10e3d0(0xc3)]&&this[_0x10e3d0(0xee)][_0x10e3d0(0xc4)](this[_0x10e3d0(0xc3)]);let _0x37c292=!0x1;this['on'](_0x10e3d0(0xec),(_0x4ce83b,_0x3321cf,_0x1395f1)=>{const _0x129180=_0x10e3d0,_0x57f055=!this[_0x129180(0xee)][_0x129180(0xeb)][_0x129180(0xae)](_0x129180(0xce));this[_0x129180(0xee)][_0x129180(0xc4)](_0x1395f1),this[_0x129180(0xb1)]&&_0x57f055&&!_0x37c292&&this[_0x129180(0xeb)][_0x129180(0xa0)]({'top':this[_0x129180(0xeb)][_0x129180(0xf3)],'behavior':_0x129180(0xb8)});}),this['on'](_0x10e3d0(0xd6),(_0x4e2b98,_0x25781c,_0x49e99c)=>{const _0x2626d4=_0x10e3d0;_0x37c292=!0x1,_0x49e99c?(this[_0x2626d4(0xc3)]=null,this[_0x2626d4(0xee)][_0x2626d4(0xbd)]()):this[_0x2626d4(0xc3)]||this[_0x2626d4(0xee)][_0x2626d4(0xc4)]('');}),this[_0x10e3d0(0xc7)](this[_0x10e3d0(0xeb)],_0x10e3d0(0xc5),()=>{_0x37c292=!0x0;}),this[_0x10e3d0(0xc7)](this[_0x10e3d0(0xeb)],_0x10e3d0(0xaf),()=>{_0x37c292=!0x0;});}[_0x1250af(0xaa)](){const _0x5961a4=_0x1250af;this[_0x5961a4(0xeb)][_0x5961a4(0xaa)]();}[_0x1250af(0xe2)](){const _0x53e673=_0x1250af,_0x48eeca=this[_0x53e673(0xdb)],_0x5a5fda=new _0x66b447(this[_0x53e673(0xdb)]),_0x3bcf74=_0x53e673(0xca);return _0x5a5fda[_0x53e673(0xc9)]({'label':_0x59cb8b(_0x48eeca,_0x53e673(0xef)),'icon':_0x398488,'class':_0x3bcf74,'tooltip':!0x0}),_0x5a5fda[_0x53e673(0xa2)](_0x53e673(0xac))['to'](this,_0x53e673(0xc3),_0x288c52=>!!_0x288c52),_0x5a5fda[_0x53e673(0xa2)](_0x53e673(0xf1))['to'](this,_0x53e673(0xb1),_0x303d06=>!_0x303d06),_0x5a5fda['on'](_0x53e673(0xd9),()=>{const _0x109640=_0x53e673;this[_0x109640(0xe9)](this[_0x109640(0xee)][_0x109640(0xeb)]),_0x5a5fda[_0x109640(0xb9)]=_0x19502d,_0x5a5fda[_0x109640(0xda)]=_0x3bcf74+_0x109640(0xe0),this[_0x109640(0xaa)](),setTimeout(()=>{const _0x3e4f65=_0x109640;_0x5a5fda[_0x3e4f65(0xb9)]=_0x398488,_0x5a5fda[_0x3e4f65(0xda)]=_0x3bcf74;},0x3e8);}),_0x5a5fda;}[_0x1250af(0xe9)](_0x8a9f77){const _0x3c8586=_0x1250af,{window:_0x5702e1,document:_0x58af85}=_0x4e75e9;if(_0x5702e1[_0x3c8586(0xcc)]){const {Blob:_0x452e13,ClipboardItem:_0x39acde}=_0x5702e1,_0x12162b=[new _0x39acde({'text/html':new _0x452e13([_0x8a9f77[_0x3c8586(0xc6)]],{'type':_0x3c8586(0xa6)}),'text/plain':new _0x452e13([_0x8a9f77[_0x3c8586(0xc8)]||''],{'type':_0x3c8586(0xd3)})})];navigator[_0x3c8586(0xbe)][_0x3c8586(0xd7)](_0x12162b);}else{const _0x24840a=_0x58af85[_0x3c8586(0xdf)](_0x3c8586(0xa8));_0x24840a[_0x3c8586(0xed)][_0x3c8586(0xbc)]=_0x3c8586(0xa3),_0x24840a[_0x3c8586(0xed)][_0x3c8586(0xc0)]=_0x3c8586(0xbf),_0x24840a[_0x3c8586(0xc6)]=_0x3c8586(0xd1)+_0x8a9f77[_0x3c8586(0xc6)]+_0x3c8586(0xd4),_0x58af85[_0x3c8586(0xe4)][_0x3c8586(0xb7)](_0x24840a);const _0x460281=_0x58af85[_0x3c8586(0xe8)]();_0x460281[_0x3c8586(0xcd)](_0x24840a[_0x3c8586(0xd5)]),_0x460281[_0x3c8586(0xb2)](_0x24840a[_0x3c8586(0xe6)]);const _0x2990d5=_0x5702e1[_0x3c8586(0xa1)]();_0x2990d5[_0x3c8586(0xea)](),_0x2990d5[_0x3c8586(0xb6)](_0x460281),_0x58af85[_0x3c8586(0xa4)](_0x3c8586(0xdd)),_0x24840a[_0x3c8586(0xba)]();}}}export class ContentFieldView extends _0x599b04{constructor(_0x3583fe,_0x26d122=''){const _0x58e833=_0x1250af;super(_0x3583fe),this[_0x58e833(0xe3)]=this[_0x58e833(0xc2)](),this[_0x58e833(0xb4)]({'tag':_0x58e833(0xa8),'attributes':{'class':['ck',_0x58e833(0xd8),_0x26d122,_0x58e833(0xb0),_0x58e833(0xa7)]}});}[_0x1250af(0xc4)](_0x55d882){const _0x2d4bf0=_0x1250af;this[_0x2d4bf0(0xeb)][_0x2d4bf0(0xc6)]=_0x55d882;}[_0x1250af(0xbd)](){const _0x532a3f=_0x1250af;this[_0x532a3f(0xeb)][_0x532a3f(0xb7)](this[_0x532a3f(0xe3)][_0x532a3f(0xeb)]);}[_0x1250af(0xc2)](){const _0x2bb7fd=_0x1250af,_0x4be9d1=new _0x599b04(),_0x1abff0=this[_0x2bb7fd(0xdb)],_0x3cde06=new _0x1ed443();return _0x3cde06[_0x2bb7fd(0xac)]=!0x0,_0x4be9d1[_0x2bb7fd(0xb4)]({'tag':_0x2bb7fd(0xa8),'attributes':{'class':['ck',_0x2bb7fd(0xcb)]},'children':[_0x3cde06,{'text':_0x59cb8b(_0x1abff0,_0x2bb7fd(0xd2))}]}),_0x4be9d1[_0x2bb7fd(0xf2)](),_0x4be9d1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x384f(){const _0xe036ec=['8fLycvI','8352042BEDVGU','1628958InVqfS','71TqFEea','7rGXJnA','8204750TmyxYd','8ylOPmU','18394240ojEQgV','text','div','ck-ai-form__error','12cuyEwu','9268974WDQdhq','setTemplate','set','55667876MGgIqU','10150HOmcfb','content','bindTemplate'];_0x384f=function(){return _0xe036ec;};return _0x384f();}(function(_0x5d1454,_0x3cc83f){const _0x38ffd1=_0x4d26,_0x56a149=_0x5d1454();while(!![]){try{const _0x34b01b=-parseInt(_0x38ffd1(0xca))/0x1*(parseInt(_0x38ffd1(0xc4))/0x2)+parseInt(_0x38ffd1(0xc9))/0x3*(-parseInt(_0x38ffd1(0xcd))/0x4)+parseInt(_0x38ffd1(0xcc))/0x5+parseInt(_0x38ffd1(0xc8))/0x6*(-parseInt(_0x38ffd1(0xcb))/0x7)+-parseInt(_0x38ffd1(0xc7))/0x8*(parseInt(_0x38ffd1(0xc0))/0x9)+-parseInt(_0x38ffd1(0xce))/0xa+parseInt(_0x38ffd1(0xc3))/0xb*(parseInt(_0x38ffd1(0xbf))/0xc);if(_0x34b01b===_0x3cc83f)break;else _0x56a149['push'](_0x56a149['shift']());}catch(_0x170684){_0x56a149['push'](_0x56a149['shift']());}}}(_0x384f,0xf2b04));import{IconError as _0x1af346}from'ckeditor5/src/icons.js';import{View as _0x3e8f94,IconView as _0x4f8859}from'ckeditor5/src/ui.js';function _0x4d26(_0x5d2fc2,_0x3d6e1e){const _0x384fbb=_0x384f();return _0x4d26=function(_0x4d26f8,_0x2c6588){_0x4d26f8=_0x4d26f8-0xbf;let _0x4ee52b=_0x384fbb[_0x4d26f8];return _0x4ee52b;},_0x4d26(_0x5d2fc2,_0x3d6e1e);}export class AIFormErrorView extends _0x3e8f94{constructor(_0x123b8d,_0x1f8553=''){const _0x564c4c=_0x4d26;super(_0x123b8d);const _0xbc70a1=new _0x4f8859(),_0x2dfe2f=this[_0x564c4c(0xc6)];this[_0x564c4c(0xc2)](_0x564c4c(0xcf),_0x1f8553),_0xbc70a1[_0x564c4c(0xc5)]=_0x1af346,this[_0x564c4c(0xc1)]({'tag':_0x564c4c(0xd0),'attributes':{'class':['ck',_0x564c4c(0xd1)]},'children':[_0xbc70a1,{'text':_0x2dfe2f['to'](_0x564c4c(0xcf))}]});}}
23
+ (function(_0x423645,_0x12c4f8){const _0x5ee643=_0x28eb,_0x5aea01=_0x423645();while(!![]){try{const _0x567c97=-parseInt(_0x5ee643(0x11e))/0x1*(parseInt(_0x5ee643(0x11b))/0x2)+-parseInt(_0x5ee643(0x125))/0x3+parseInt(_0x5ee643(0x11d))/0x4*(parseInt(_0x5ee643(0x11f))/0x5)+parseInt(_0x5ee643(0x115))/0x6*(-parseInt(_0x5ee643(0x123))/0x7)+-parseInt(_0x5ee643(0x114))/0x8*(-parseInt(_0x5ee643(0x11c))/0x9)+-parseInt(_0x5ee643(0x121))/0xa*(parseInt(_0x5ee643(0x118))/0xb)+-parseInt(_0x5ee643(0x120))/0xc*(-parseInt(_0x5ee643(0x126))/0xd);if(_0x567c97===_0x12c4f8)break;else _0x5aea01['push'](_0x5aea01['shift']());}catch(_0x41e8fa){_0x5aea01['push'](_0x5aea01['shift']());}}}(_0x4eab,0x935f5));function _0x4eab(){const _0x5d0b61=['198bfEGQI','1666388ptfzSH','660bJaSlf','5BoOLim','144240IgewIp','18660vvaQbn','set','4873295VbqQoL','text','1961409fxmBcV','2691XTwdvf','content','20056ePuLix','6lGACdq','ck-ai-form__error','bindTemplate','3971PBytJf','div','setTemplate','1008bHADxs'];_0x4eab=function(){return _0x5d0b61;};return _0x4eab();}import{IconError as _0x120a7b}from'ckeditor5/src/icons.js';import{View as _0x1565cf,IconView as _0x4f8b35}from'ckeditor5/src/ui.js';function _0x28eb(_0x174846,_0x502cbc){const _0x4eab06=_0x4eab();return _0x28eb=function(_0x28eb1d,_0x113f12){_0x28eb1d=_0x28eb1d-0x113;let _0x21a5c9=_0x4eab06[_0x28eb1d];return _0x21a5c9;},_0x28eb(_0x174846,_0x502cbc);}export class AIFormErrorView extends _0x1565cf{constructor(_0x4cb914,_0x4a0994=''){const _0x196474=_0x28eb;super(_0x4cb914);const _0x4b0d3e=new _0x4f8b35(),_0x5d739b=this[_0x196474(0x117)];this[_0x196474(0x122)](_0x196474(0x124),_0x4a0994),_0x4b0d3e[_0x196474(0x113)]=_0x120a7b,this[_0x196474(0x11a)]({'tag':_0x196474(0x119),'attributes':{'class':['ck',_0x196474(0x116)]},'children':[_0x4b0d3e,{'text':_0x5d739b['to'](_0x196474(0x124))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x584f40=_0x2798;(function(_0x31b62d,_0x40219a){const _0x4e9f20=_0x2798,_0xffd1aa=_0x31b62d();while(!![]){try{const _0x46ef60=parseInt(_0x4e9f20(0xfe))/0x1+parseInt(_0x4e9f20(0x11b))/0x2+-parseInt(_0x4e9f20(0x128))/0x3*(-parseInt(_0x4e9f20(0x110))/0x4)+-parseInt(_0x4e9f20(0x127))/0x5*(-parseInt(_0x4e9f20(0x10d))/0x6)+parseInt(_0x4e9f20(0x113))/0x7+-parseInt(_0x4e9f20(0x109))/0x8+-parseInt(_0x4e9f20(0x123))/0x9;if(_0x46ef60===_0x40219a)break;else _0xffd1aa['push'](_0xffd1aa['shift']());}catch(_0x45ca6e){_0xffd1aa['push'](_0xffd1aa['shift']());}}}(_0x280e,0x6014a));import{Rect as _0x59aa3c,global as _0x452af1,isVisible as _0x1222f3}from'ckeditor5/src/utils.js';import{IconHistory as _0x26a6cf,IconSubmit as _0x1cfffb}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x5c1d65,ButtonView as _0x468e1b}from'ckeditor5/src/ui.js';function _0x280e(){const _0xa65f95=['focus','6RaSrzj','add','isEmpty','4CHkRLN','uiLanguageDirection','filteredView','3644354yxKEGG','queryView','fire','isEnabled','maxRows','submit','isVisible','window','681062FrJGVg','fieldWrapperChildren','Submit','focusFirst','render','locale','target','focusCycler','8232660vOJysT','left','rtl','ck-ai-form__submit','897605uneuHu','289233ZHoyaH','enter','width','showHistoryButtonView','style','fieldView','element','ck-ai-form__toggle-history','update','focusLast','excludeScrollbarsAndBorders','resultsView','bind','requestAnimationFrame','minRows','783485zvnLRC','value','focusableChildren','_createSubmitButton','_createShowHistoryButton','execute','isOn','right','children','set','History','4898272chKGEe','keystrokes','submitButtonView'];_0x280e=function(){return _0xa65f95;};return _0x280e();}function _0x2798(_0x43b4b1,_0x5449e2){const _0x280e2a=_0x280e();return _0x2798=function(_0x279807,_0x2e4e1e){_0x279807=_0x279807-0xfe;let _0x4450a4=_0x280e2a[_0x279807];return _0x4450a4;},_0x2798(_0x43b4b1,_0x5449e2);}import{getTranslation as _0x16369c}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x5c1d65{[_0x584f40(0x10b)];[_0x584f40(0x12b)];constructor(_0x2b3dc2,_0x31f0a1){const _0x3d9150=_0x584f40;super(_0x2b3dc2,_0x31f0a1),this[_0x3d9150(0x114)][_0x3d9150(0x12d)][_0x3d9150(0x136)]=0x1,this[_0x3d9150(0x114)][_0x3d9150(0x12d)][_0x3d9150(0x117)]=0x3,this[_0x3d9150(0x10b)]=this[_0x3d9150(0x101)](),this[_0x3d9150(0x12b)]=this[_0x3d9150(0x102)](),this[_0x3d9150(0x100)][_0x3d9150(0x10e)](this[_0x3d9150(0x12b)],0x1),this[_0x3d9150(0x100)][_0x3d9150(0x10e)](this[_0x3d9150(0x10b)]);}[_0x584f40(0x11f)](){const _0x4595f0=_0x584f40;super[_0x4595f0(0x11f)](),this[_0x4595f0(0x114)][_0x4595f0(0x11c)][_0x4595f0(0x10e)](this[_0x4595f0(0x12b)]),this[_0x4595f0(0x106)][_0x4595f0(0x10e)](this[_0x4595f0(0x10b)]),this[_0x4595f0(0x10a)][_0x4595f0(0x107)](_0x4595f0(0x129),(_0x37ea6c,_0x5def27)=>{const _0x59bf88=_0x4595f0;_0x37ea6c[_0x59bf88(0x121)]==this[_0x59bf88(0x114)][_0x59bf88(0x12d)][_0x59bf88(0x12e)]&&(this[_0x59bf88(0x118)](),_0x5def27());});}[_0x584f40(0x101)](){const _0x1252a7=_0x584f40,_0x550371=new _0x468e1b(this[_0x1252a7(0x120)]),_0x40a46d=this[_0x1252a7(0x120)];return _0x550371[_0x1252a7(0x107)]({'icon':_0x1cfffb,'label':_0x16369c(_0x40a46d,_0x1252a7(0x11d)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1252a7(0x126)}),_0x550371['on'](_0x1252a7(0x103),()=>{const _0x46ebfb=_0x1252a7;this[_0x46ebfb(0x118)]();}),_0x550371[_0x1252a7(0x134)](_0x1252a7(0x116))['to'](this[_0x1252a7(0x114)][_0x1252a7(0x12d)],_0x1252a7(0x10f),this,_0x1252a7(0x116),(_0x522131,_0x381f5c)=>!_0x522131&&_0x381f5c),_0x550371;}[_0x584f40(0x102)](){const _0x3f1ebc=_0x584f40,_0x1d28df=new _0x468e1b(this[_0x3f1ebc(0x120)]),_0x3fce37=this[_0x3f1ebc(0x133)],_0x42ea6e=this[_0x3f1ebc(0x120)];_0x1d28df[_0x3f1ebc(0x107)]({'label':_0x16369c(_0x42ea6e,_0x3f1ebc(0x108)),'withText':!0x1,'icon':_0x26a6cf,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3f1ebc(0x12f)}),_0x1d28df[_0x3f1ebc(0x134)](_0x3f1ebc(0x104))['to'](_0x3fce37,_0x3f1ebc(0x119)),_0x1d28df[_0x3f1ebc(0x134)](_0x3f1ebc(0x116))['to'](this,_0x3f1ebc(0x116)),_0x1d28df['on'](_0x3f1ebc(0x103),()=>{const _0x1ebe7f=_0x3f1ebc;_0x3fce37[_0x1ebe7f(0x119)]=!_0x3fce37[_0x1ebe7f(0x119)],_0x3fce37[_0x1ebe7f(0x119)]?this[_0x1ebe7f(0x112)][_0x1ebe7f(0x10c)]():this[_0x1ebe7f(0x10c)]();});const _0x2bb233=()=>{const _0x25e725=_0x3f1ebc;_0x452af1[_0x25e725(0x11a)][_0x25e725(0x135)](()=>{const _0xa85b99=_0x25e725;if(_0x1222f3(this[_0xa85b99(0x12e)])){const _0x314b3c=new _0x59aa3c(this[_0xa85b99(0x114)][_0xa85b99(0x12d)][_0xa85b99(0x12e)]),_0x1bffe6=_0x314b3c[_0xa85b99(0x12a)],_0x4f719c=_0xa85b99(0x125)===_0x42ea6e[_0xa85b99(0x111)]?_0xa85b99(0x124):_0xa85b99(0x105);_0x314b3c[_0xa85b99(0x132)](),_0x1d28df[_0xa85b99(0x12e)][_0xa85b99(0x12c)][_0x4f719c]=_0x1bffe6-_0x314b3c[_0xa85b99(0x12a)]+0x1+'px';}});};return this[_0x3f1ebc(0x114)][_0x3f1ebc(0x12d)]['on'](_0x3f1ebc(0x130),_0x2bb233),this['on'](_0x3f1ebc(0x11f),_0x2bb233),_0x1d28df;}[_0x584f40(0x118)](){const _0x3b7716=_0x584f40,_0x36e05e=this[_0x3b7716(0x114)][_0x3b7716(0x12d)][_0x3b7716(0x12e)][_0x3b7716(0xff)];this[_0x3b7716(0x115)](_0x3b7716(0x118),_0x36e05e);}[_0x584f40(0x10c)](_0x46b290){const _0x474dec=_0x584f40;-0x1===_0x46b290?this[_0x474dec(0x122)][_0x474dec(0x131)]():this[_0x474dec(0x122)][_0x474dec(0x11e)]();}}
23
+ const _0x40e1b1=_0x2a2f;(function(_0x3fdda1,_0x302d50){const _0x1b3275=_0x2a2f,_0x4cf976=_0x3fdda1();while(!![]){try{const _0x2282c3=parseInt(_0x1b3275(0xe1))/0x1+-parseInt(_0x1b3275(0xd8))/0x2*(-parseInt(_0x1b3275(0x107))/0x3)+parseInt(_0x1b3275(0xff))/0x4+-parseInt(_0x1b3275(0x109))/0x5+-parseInt(_0x1b3275(0xf8))/0x6+-parseInt(_0x1b3275(0xfe))/0x7+parseInt(_0x1b3275(0xd9))/0x8;if(_0x2282c3===_0x302d50)break;else _0x4cf976['push'](_0x4cf976['shift']());}catch(_0x5d711e){_0x4cf976['push'](_0x4cf976['shift']());}}}(_0x42a0,0xf140d));import{Rect as _0x294779,global as _0x2f42b3,isVisible as _0x1153e2}from'ckeditor5/src/utils.js';import{IconHistory as _0x39e7ac,IconSubmit as _0x2666dd}from'ckeditor5/src/icons.js';function _0x2a2f(_0x25c5f4,_0x9b3680){const _0x42a091=_0x42a0();return _0x2a2f=function(_0x2a2fde,_0x53fd3a){_0x2a2fde=_0x2a2fde-0xd3;let _0x30743c=_0x42a091[_0x2a2fde];return _0x30743c;},_0x2a2f(_0x25c5f4,_0x9b3680);}import{AutocompleteView as _0x1e3020,ButtonView as _0x234580}from'ckeditor5/src/ui.js';function _0x42a0(){const _0xf64ae7=['excludeScrollbarsAndBorders','element','children','focusableChildren','filteredView','2598816RnwMPf','submitButtonView','target','value','add','minRows','7065135WErzVj','6335544ZPVAop','uiLanguageDirection','focus','submit','window','keystrokes','execute','ck-ai-form__toggle-history','9hoBhyl','right','6964500NCbeoy','isOn','queryView','focusCycler','_createSubmitButton','fire','left','350148ckaabY','6290488btQYJk','fieldWrapperChildren','fieldView','_createShowHistoryButton','render','isEnabled','resultsView','Submit','928095iKVXwD','style','requestAnimationFrame','showHistoryButtonView','focusFirst','focusLast','isEmpty','isVisible','maxRows','enter','rtl','History','ck-ai-form__submit','set','locale','update','bind','width'];_0x42a0=function(){return _0xf64ae7;};return _0x42a0();}import{getTranslation as _0x4dcdeb}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1e3020{[_0x40e1b1(0xf9)];[_0x40e1b1(0xe4)];constructor(_0x2ba063,_0x2389e2){const _0x3cc2bf=_0x40e1b1;super(_0x2ba063,_0x2389e2),this[_0x3cc2bf(0xd3)][_0x3cc2bf(0xdb)][_0x3cc2bf(0xfd)]=0x1,this[_0x3cc2bf(0xd3)][_0x3cc2bf(0xdb)][_0x3cc2bf(0xe9)]=0x3,this[_0x3cc2bf(0xf9)]=this[_0x3cc2bf(0xd5)](),this[_0x3cc2bf(0xe4)]=this[_0x3cc2bf(0xdc)](),this[_0x3cc2bf(0xf6)][_0x3cc2bf(0xfc)](this[_0x3cc2bf(0xe4)],0x1),this[_0x3cc2bf(0xf6)][_0x3cc2bf(0xfc)](this[_0x3cc2bf(0xf9)]);}[_0x40e1b1(0xdd)](){const _0x20042f=_0x40e1b1;super[_0x20042f(0xdd)](),this[_0x20042f(0xd3)][_0x20042f(0xda)][_0x20042f(0xfc)](this[_0x20042f(0xe4)]),this[_0x20042f(0xf5)][_0x20042f(0xfc)](this[_0x20042f(0xf9)]),this[_0x20042f(0x104)][_0x20042f(0xee)](_0x20042f(0xea),(_0x2e4f50,_0x3334f4)=>{const _0x30d490=_0x20042f;_0x2e4f50[_0x30d490(0xfa)]==this[_0x30d490(0xd3)][_0x30d490(0xdb)][_0x30d490(0xf4)]&&(this[_0x30d490(0x102)](),_0x3334f4());});}[_0x40e1b1(0xd5)](){const _0x562799=_0x40e1b1,_0x347410=new _0x234580(this[_0x562799(0xef)]),_0x5301ad=this[_0x562799(0xef)];return _0x347410[_0x562799(0xee)]({'icon':_0x2666dd,'label':_0x4dcdeb(_0x5301ad,_0x562799(0xe0)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x562799(0xed)}),_0x347410['on'](_0x562799(0x105),()=>{const _0x53087e=_0x562799;this[_0x53087e(0x102)]();}),_0x347410[_0x562799(0xf1)](_0x562799(0xde))['to'](this[_0x562799(0xd3)][_0x562799(0xdb)],_0x562799(0xe7),this,_0x562799(0xde),(_0x53c40f,_0x40f8ce)=>!_0x53c40f&&_0x40f8ce),_0x347410;}[_0x40e1b1(0xdc)](){const _0x1c7433=_0x40e1b1,_0x2420f0=new _0x234580(this[_0x1c7433(0xef)]),_0x580459=this[_0x1c7433(0xdf)],_0x230698=this[_0x1c7433(0xef)];_0x2420f0[_0x1c7433(0xee)]({'label':_0x4dcdeb(_0x230698,_0x1c7433(0xec)),'withText':!0x1,'icon':_0x39e7ac,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1c7433(0x106)}),_0x2420f0[_0x1c7433(0xf1)](_0x1c7433(0x10a))['to'](_0x580459,_0x1c7433(0xe8)),_0x2420f0[_0x1c7433(0xf1)](_0x1c7433(0xde))['to'](this,_0x1c7433(0xde)),_0x2420f0['on'](_0x1c7433(0x105),()=>{const _0x116e7a=_0x1c7433;_0x580459[_0x116e7a(0xe8)]=!_0x580459[_0x116e7a(0xe8)],_0x580459[_0x116e7a(0xe8)]?this[_0x116e7a(0xf7)][_0x116e7a(0x101)]():this[_0x116e7a(0x101)]();});const _0x307b5a=()=>{const _0x241638=_0x1c7433;_0x2f42b3[_0x241638(0x103)][_0x241638(0xe3)](()=>{const _0x91251e=_0x241638;if(_0x1153e2(this[_0x91251e(0xf4)])){const _0x2a4b21=new _0x294779(this[_0x91251e(0xd3)][_0x91251e(0xdb)][_0x91251e(0xf4)]),_0x1bcab5=_0x2a4b21[_0x91251e(0xf2)],_0x47c8dc=_0x91251e(0xeb)===_0x230698[_0x91251e(0x100)]?_0x91251e(0xd7):_0x91251e(0x108);_0x2a4b21[_0x91251e(0xf3)](),_0x2420f0[_0x91251e(0xf4)][_0x91251e(0xe2)][_0x47c8dc]=_0x1bcab5-_0x2a4b21[_0x91251e(0xf2)]+0x1+'px';}});};return this[_0x1c7433(0xd3)][_0x1c7433(0xdb)]['on'](_0x1c7433(0xf0),_0x307b5a),this['on'](_0x1c7433(0xdd),_0x307b5a),_0x2420f0;}[_0x40e1b1(0x102)](){const _0x4657a3=_0x40e1b1,_0x45010f=this[_0x4657a3(0xd3)][_0x4657a3(0xdb)][_0x4657a3(0xf4)][_0x4657a3(0xfb)];this[_0x4657a3(0xd6)](_0x4657a3(0x102),_0x45010f);}[_0x40e1b1(0x101)](_0xf883f0){const _0x348896=_0x40e1b1;-0x1===_0xf883f0?this[_0x348896(0xd4)][_0x348896(0xe6)]():this[_0x348896(0xd4)][_0x348896(0xe5)]();}}