@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/LICENSE.md +0 -4
  2. package/build/ai.js +2 -1
  3. package/dist/index.js +5 -5
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/lang/contexts.json +1 -0
  151. package/package.json +15 -16
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.d.ts +2 -0
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatballoon.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/ui/aichatballoonview.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  213. package/src/aichat/utils/eventnames.js +1 -1
  214. package/src/aichat/utils/promisequeue.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  225. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  226. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  227. package/src/aicore/aiconnector.js +1 -1
  228. package/src/aicore/aiediting.js +1 -1
  229. package/src/aicore/model/aicapabilities.js +1 -1
  230. package/src/aicore/model/aicontext.js +1 -1
  231. package/src/aicore/model/aiinteraction.js +1 -1
  232. package/src/aicore/model/aimodels.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  250. package/src/aicore/utils/common-translations.js +1 -1
  251. package/src/aicore/utils/createresizebutton.js +1 -1
  252. package/src/aicore/utils/documentposition.js +1 -1
  253. package/src/aicore/utils/documentrange.js +1 -1
  254. package/src/aicore/utils/eventnames.js +1 -1
  255. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  256. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  257. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  258. package/src/aicore/utils/htmlparser.js +1 -1
  259. package/src/aicore/utils/htmlstreamer.js +1 -1
  260. package/src/aicore/utils/scrollmanager.js +1 -1
  261. package/src/aieditorintegration/aieditorintegration.js +1 -1
  262. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  263. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  264. package/src/aiquickactions/aiquickactions.js +1 -1
  265. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  266. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  267. package/src/aiquickactions/aiquickactionsui.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  270. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  272. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  273. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  274. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  275. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  276. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  277. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  278. package/src/aireviewcore/aireviewcoreui.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  280. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  281. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  282. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  283. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  293. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  294. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  295. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  296. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  297. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  298. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  299. package/src/aireviewmode/aireviewmode.js +1 -1
  300. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  301. package/src/aireviewmode/aireviewmodeui.js +1 -1
  302. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  303. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  304. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  305. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  306. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/aitranslate/aitranslate.js +1 -1
  313. package/src/aitranslate/aitranslatecontroller.js +1 -1
  314. package/src/aitranslate/aitranslateui.js +1 -1
  315. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  316. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  317. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  318. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  319. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  320. package/src/errors.js +1 -1
  321. package/src/errorsmap.js +1 -1
  322. package/src/index.js +1 -1
  323. package/build/966.ai.js +0 -5
  324. package/build/translations/en.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x439e25=_0x2f39;(function(_0x44d4f6,_0x3a6b57){var _0x36cf95=_0x2f39,_0x28a954=_0x44d4f6();while(!![]){try{var _0x5f5bef=parseInt(_0x36cf95(0x171))/0x1*(parseInt(_0x36cf95(0x16c))/0x2)+-parseInt(_0x36cf95(0x170))/0x3+parseInt(_0x36cf95(0x164))/0x4+parseInt(_0x36cf95(0x16e))/0x5*(-parseInt(_0x36cf95(0x176))/0x6)+parseInt(_0x36cf95(0x165))/0x7+parseInt(_0x36cf95(0x16a))/0x8*(parseInt(_0x36cf95(0x166))/0x9)+-parseInt(_0x36cf95(0x16b))/0xa*(parseInt(_0x36cf95(0x172))/0xb);if(_0x5f5bef===_0x3a6b57)break;else _0x28a954['push'](_0x28a954['shift']());}catch(_0x2a3c51){_0x28a954['push'](_0x28a954['shift']());}}}(_0xaf16,0xe43da));import{Plugin as _0x2bdf67}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e418d}from'ckeditor5/src/utils.js';function _0x2f39(_0x2e8f01,_0x4a94db){var _0xaf1605=_0xaf16();return _0x2f39=function(_0x2f3985,_0x164a4f){_0x2f3985=_0x2f3985-0x164;var _0x28722c=_0xaf1605[_0x2f3985];return _0x28722c;},_0x2f39(_0x2e8f01,_0x4a94db);}function _0xaf16(){var _0x25545a=['name','isOfficialPlugin','textAdapter','8ylvcWn','58520gXUHxi','142gtbyzC','afterInit','85340ctqKGo','aiadapter-text-adapter-not-set','1062954VagbnB','23357dfwnUU','7623LceGDi','isPremiumPlugin','pluginName','AIAdapter','60rPozmI','AIRequestError','7093268zQheFd','4071690hLpeSW','13517766hCtgUh'];_0xaf16=function(){return _0x25545a;};return _0xaf16();}export class AIAdapter extends _0x2bdf67{static get[_0x439e25(0x174)](){var _0x585db0=_0x439e25;return _0x585db0(0x175);}static get[_0x439e25(0x168)](){return!0x0;}static get[_0x439e25(0x173)](){return!0x0;}[_0x439e25(0x16d)](){var _0x227949=_0x439e25;if(!this[_0x227949(0x169)])throw new _0x3e418d(_0x227949(0x16f),null);}}export class AIRequestError extends Error{constructor(_0x3bf406){var _0x54185e=_0x439e25;super(_0x3bf406),this[_0x54185e(0x167)]=_0x54185e(0x177);}}
23
+ var _0x9d9218=_0x47fe;(function(_0x47d3dd,_0x2df22a){var _0x266df5=_0x47fe,_0x2ceebd=_0x47d3dd();while(!![]){try{var _0x2b801f=-parseInt(_0x266df5(0x7c))/0x1+parseInt(_0x266df5(0x6f))/0x2*(parseInt(_0x266df5(0x77))/0x3)+parseInt(_0x266df5(0x83))/0x4*(parseInt(_0x266df5(0x71))/0x5)+-parseInt(_0x266df5(0x72))/0x6*(-parseInt(_0x266df5(0x75))/0x7)+-parseInt(_0x266df5(0x78))/0x8*(parseInt(_0x266df5(0x76))/0x9)+parseInt(_0x266df5(0x7f))/0xa*(parseInt(_0x266df5(0x7b))/0xb)+-parseInt(_0x266df5(0x74))/0xc;if(_0x2b801f===_0x2df22a)break;else _0x2ceebd['push'](_0x2ceebd['shift']());}catch(_0x546e5){_0x2ceebd['push'](_0x2ceebd['shift']());}}}(_0x5b1f,0x81433));function _0x5b1f(){var _0x28322a=['textAdapter','764752eGgeiz','2504rEOByz','pluginName','10NnogOY','102XUhQkH','AIRequestError','3744180LJmJCx','165214YghoZr','34002vCnISA','1047llTIax','328nTaGkG','isOfficialPlugin','aiadapter-text-adapter-not-set','29150jodTbE','332836UKExsD','name','isPremiumPlugin','410sMGdtS','AIAdapter','afterInit'];_0x5b1f=function(){return _0x28322a;};return _0x5b1f();}import{Plugin as _0x405610}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ad823}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x405610{static get[_0x9d9218(0x70)](){var _0x4708ea=_0x9d9218;return _0x4708ea(0x80);}static get[_0x9d9218(0x79)](){return!0x0;}static get[_0x9d9218(0x7e)](){return!0x0;}[_0x9d9218(0x81)](){var _0xed3435=_0x9d9218;if(!this[_0xed3435(0x82)])throw new _0x2ad823(_0xed3435(0x7a),null);}}function _0x47fe(_0x2a3df1,_0x33f61e){var _0x5b1f55=_0x5b1f();return _0x47fe=function(_0x47fe57,_0x3bdd0f){_0x47fe57=_0x47fe57-0x6f;var _0xdbee27=_0x5b1f55[_0x47fe57];return _0xdbee27;},_0x47fe(_0x2a3df1,_0x33f61e);}export class AIRequestError extends Error{constructor(_0x4bf99b){var _0x364354=_0x9d9218;super(_0x4bf99b),this[_0x364354(0x7d)]=_0x364354(0x73);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4445(_0x5cdcad,_0x572bb1){const _0x2752d4=_0x2752();return _0x4445=function(_0x444523,_0x41d3a7){_0x444523=_0x444523-0xf4;let _0x42aa76=_0x2752d4[_0x444523];return _0x42aa76;},_0x4445(_0x5cdcad,_0x572bb1);}function _0x2752(){const _0x3f3854=['12nKYumB','abort','resolve','plugins','application/json','sendRequest','name','AI_ERROR_GET_PARAMETERS','editor','1620734ZbxLsd','148FqEfzI','locale','373769NIwVcg','init','27061533VKFBMs','assign','_prepareRequestParameters','aitextadapter-send-request-failed','2931pikcWE','_prepareRequestHeaders','AI_ERROR_GET_HEADERS','catch','abortController','object','requires','get','3308952UxNirX','3102323iESsAb','AbortError','makeRequest','signal','aborted','error','reject','textAdapter','6005715jWWTvq'];_0x2752=function(){return _0x3f3854;};return _0x2752();}const _0x339208=_0x4445;(function(_0x26ed09,_0x2531b4){const _0x27c816=_0x4445,_0x398209=_0x26ed09();while(!![]){try{const _0x2a7bfe=parseInt(_0x27c816(0x102))/0x1+parseInt(_0x27c816(0xff))/0x2+parseInt(_0x27c816(0x108))/0x3*(parseInt(_0x27c816(0x100))/0x4)+parseInt(_0x27c816(0xf5))/0x5+-parseInt(_0x27c816(0xf6))/0x6*(-parseInt(_0x27c816(0x111))/0x7)+parseInt(_0x27c816(0x110))/0x8+-parseInt(_0x27c816(0x104))/0x9;if(_0x2a7bfe===_0x2531b4)break;else _0x398209['push'](_0x398209['shift']());}catch(_0x5a23cd){_0x398209['push'](_0x398209['shift']());}}}(_0x2752,0xae75c));import{Plugin as _0x1df63c}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d914b}from'ckeditor5/src/utils.js';import{AIAdapter as _0x453764,AIRequestError as _0x4ac39b}from'./aiadapter.js';import{getTranslation as _0x4b79fe}from'../utils/common-translations.js';export class AITextAdapter extends _0x1df63c{[_0x339208(0x10c)];static get[_0x339208(0x10e)](){return[_0x453764];}constructor(_0x146819){const _0x185b6=_0x339208;super(_0x146819),this[_0x185b6(0x10c)]=new AbortController();}[_0x339208(0x103)](){const _0x20fb00=_0x339208;this[_0x20fb00(0xfe)][_0x20fb00(0xf9)][_0x20fb00(0x10f)](_0x453764)[_0x20fb00(0xf4)]=this;}[_0x339208(0xf7)](){const _0x41f55f=_0x339208;this[_0x41f55f(0x10c)][_0x41f55f(0x114)][_0x41f55f(0x115)]||(this[_0x41f55f(0x10c)][_0x41f55f(0xf7)](),this[_0x41f55f(0x10c)]=new AbortController());}async[_0x339208(0x113)](_0x54b20f){const _0x1b79bd=_0x339208;return this[_0x1b79bd(0xfb)](_0x54b20f)[_0x1b79bd(0x10b)](_0x439efc=>{const _0x47e720=_0x1b79bd;if(_0x439efc instanceof _0x4ac39b)return Promise[_0x47e720(0x117)](_0x439efc);if(_0x47e720(0x112)==_0x439efc[_0x47e720(0xfc)])return Promise[_0x47e720(0xf8)]();throw console[_0x47e720(0x116)](_0x439efc),new _0x4d914b(_0x47e720(0x107),null);});}async[_0x339208(0x109)](_0x32ab6a,_0x46da65){const _0x391dd1=_0x339208,_0x4d5a94=this[_0x391dd1(0xfe)][_0x391dd1(0x101)],_0x29f510={'Content-Type':_0x391dd1(0xfa)};if(_0x391dd1(0x10d)==typeof _0x32ab6a)Object[_0x391dd1(0x105)](_0x29f510,_0x32ab6a);else{if(_0x32ab6a)try{const _0x4116d6=await _0x32ab6a(_0x46da65);Object[_0x391dd1(0x105)](_0x29f510,_0x4116d6);}catch{return Promise[_0x391dd1(0x117)](new _0x4ac39b(_0x4b79fe(_0x4d5a94,_0x391dd1(0x10a))));}}return _0x29f510;}async[_0x339208(0x106)](_0x1f4aac,_0x2eb3ff){const _0xf07853=_0x339208,_0xd60667=this[_0xf07853(0xfe)][_0xf07853(0x101)];if(_0xf07853(0x10d)==typeof _0x1f4aac)return _0x1f4aac;try{return await _0x1f4aac(_0x2eb3ff);}catch{return Promise[_0xf07853(0x117)](new _0x4ac39b(_0x4b79fe(_0xd60667,_0xf07853(0xfd))));}}}
23
+ const _0x4081dc=_0x2e59;function _0x2e59(_0x3aadf5,_0x326b11){const _0x32c368=_0x32c3();return _0x2e59=function(_0x2e59bc,_0x3f6e5f){_0x2e59bc=_0x2e59bc-0xbc;let _0x25a2c1=_0x32c368[_0x2e59bc];return _0x25a2c1;},_0x2e59(_0x3aadf5,_0x326b11);}(function(_0x5485c3,_0x51e368){const _0x4810d9=_0x2e59,_0x62d233=_0x5485c3();while(!![]){try{const _0x1f661f=parseInt(_0x4810d9(0xca))/0x1+parseInt(_0x4810d9(0xc6))/0x2+parseInt(_0x4810d9(0xd6))/0x3+-parseInt(_0x4810d9(0xbf))/0x4*(parseInt(_0x4810d9(0xd2))/0x5)+-parseInt(_0x4810d9(0xce))/0x6*(-parseInt(_0x4810d9(0xcc))/0x7)+parseInt(_0x4810d9(0xcb))/0x8*(parseInt(_0x4810d9(0xdd))/0x9)+-parseInt(_0x4810d9(0xdb))/0xa;if(_0x1f661f===_0x51e368)break;else _0x62d233['push'](_0x62d233['shift']());}catch(_0x5479be){_0x62d233['push'](_0x62d233['shift']());}}}(_0x32c3,0x371ba));import{Plugin as _0x5c8810}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a2bd2}from'ckeditor5/src/utils.js';function _0x32c3(){const _0x4c102c=['editor','assign','186114RaVDUC','plugins','_prepareRequestParameters','reject','250654oriLvx','8YKHvVi','14tGCxnt','makeRequest','403356AugGMm','resolve','abortController','AbortError','1454665bxOQFm','init','application/json','abort','450819KZqGmT','name','locale','aborted','signal','2611420DJDvgl','textAdapter','1344249pnxQwa','requires','error','sendRequest','get','aitextadapter-send-request-failed','AI_ERROR_GET_PARAMETERS','4PVOEVg','catch','_prepareRequestHeaders','AI_ERROR_GET_HEADERS','object'];_0x32c3=function(){return _0x4c102c;};return _0x32c3();}import{AIAdapter as _0x19c7e9,AIRequestError as _0xafb05d}from'./aiadapter.js';import{getTranslation as _0x1cb346}from'../utils/common-translations.js';export class AITextAdapter extends _0x5c8810{[_0x4081dc(0xd0)];static get[_0x4081dc(0xde)](){return[_0x19c7e9];}constructor(_0x4f1884){const _0x3b8209=_0x4081dc;super(_0x4f1884),this[_0x3b8209(0xd0)]=new AbortController();}[_0x4081dc(0xd3)](){const _0x9a10f6=_0x4081dc;this[_0x9a10f6(0xc4)][_0x9a10f6(0xc7)][_0x9a10f6(0xbc)](_0x19c7e9)[_0x9a10f6(0xdc)]=this;}[_0x4081dc(0xd5)](){const _0x5140ee=_0x4081dc;this[_0x5140ee(0xd0)][_0x5140ee(0xda)][_0x5140ee(0xd9)]||(this[_0x5140ee(0xd0)][_0x5140ee(0xd5)](),this[_0x5140ee(0xd0)]=new AbortController());}async[_0x4081dc(0xcd)](_0x5dcb02){const _0x444ea2=_0x4081dc;return this[_0x444ea2(0xe0)](_0x5dcb02)[_0x444ea2(0xc0)](_0x5ee7b2=>{const _0x18ba57=_0x444ea2;if(_0x5ee7b2 instanceof _0xafb05d)return Promise[_0x18ba57(0xc9)](_0x5ee7b2);if(_0x18ba57(0xd1)==_0x5ee7b2[_0x18ba57(0xd7)])return Promise[_0x18ba57(0xcf)]();throw console[_0x18ba57(0xdf)](_0x5ee7b2),new _0x3a2bd2(_0x18ba57(0xbd),null);});}async[_0x4081dc(0xc1)](_0x8830d9,_0x35296f){const _0x5a970e=_0x4081dc,_0x45e72f=this[_0x5a970e(0xc4)][_0x5a970e(0xd8)],_0xd44e6b={'Content-Type':_0x5a970e(0xd4)};if(_0x5a970e(0xc3)==typeof _0x8830d9)Object[_0x5a970e(0xc5)](_0xd44e6b,_0x8830d9);else{if(_0x8830d9)try{const _0x9c5572=await _0x8830d9(_0x35296f);Object[_0x5a970e(0xc5)](_0xd44e6b,_0x9c5572);}catch{return Promise[_0x5a970e(0xc9)](new _0xafb05d(_0x1cb346(_0x45e72f,_0x5a970e(0xc2))));}}return _0xd44e6b;}async[_0x4081dc(0xc8)](_0x358776,_0x11702){const _0x2e2a8b=_0x4081dc,_0x390623=this[_0x2e2a8b(0xc4)][_0x2e2a8b(0xd8)];if(_0x2e2a8b(0xc3)==typeof _0x358776)return _0x358776;try{return await _0x358776(_0x11702);}catch{return Promise[_0x2e2a8b(0xc9)](new _0xafb05d(_0x1cb346(_0x390623,_0x2e2a8b(0xbe))));}}}
@@ -6,13 +6,16 @@
6
6
  * @module ai/aiassistant/adapters/awstextadapter
7
7
  * @publicApi
8
8
  */
9
- import { type Editor } from 'ckeditor5/src/core.js';
10
9
  import { AITextAdapter, type AITextAdapterRequestData, type AIRequestHeaders, type AIRequestParameters } from './aitextadapter.js';
11
- import { type BedrockRuntimeClientConfig } from '@aws-sdk/client-bedrock-runtime';
12
10
  /**
13
11
  * Adapter for AI text-related requests that supports the Amazon Bedrock service.
14
12
  *
13
+ * **This adapter is no longer supported and will throw an error when used.**
14
+ * Please contact CKEditor support at https://support.ckeditor.com for more information about available AI adapters.
15
+ *
15
16
  * See also {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapter}.
17
+ *
18
+ * @deprecated
16
19
  */
17
20
  export declare class AWSTextAdapter extends AITextAdapter {
18
21
  /**
@@ -22,171 +25,27 @@ export declare class AWSTextAdapter extends AITextAdapter {
22
25
  /**
23
26
  * @inheritDoc
24
27
  */
25
- constructor(editor: Editor);
28
+ init(): void;
26
29
  /**
27
- * Performs the request to the Amazon Bedrock service or to the endpoint provided in the editor configuration.
28
- *
29
- * If you want to extend this adapter, you can overload this method to do some additional processing or make an external call.
30
+ * Always throws an error as the AWS integration is no longer supported.
30
31
  */
31
- sendRequest({ query, context, onData, actionId }: AITextAdapterRequestData): Promise<void>;
32
- /**
33
- * Prepares the actual full prompt for the request to the Amazon Bedrock API.
34
- *
35
- * The prompt may differ depending on what model is used.
36
- *
37
- * You can overload this method to customize the prompts that are sent to the AI service.
38
- *
39
- * @param query The user's query. The instruction which the model should perform.
40
- * @param context The context for the instruction. Usually this will be a part of the editor content. Can be empty.
41
- * @param model Model that is used to perform the request.
42
- * @param actionId ID of the performed action.
43
- * See {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapterRequestData#actionId}.
44
- */
45
- preparePrompt(query: string, context: string, model: string, actionId: string): Promise<string>;
46
- /**
47
- * For a given model, it returns the family to which this model belongs.
48
- *
49
- * For example, for `anthropic.claude-instant-v1` it will return `anthropic.claude`.
50
- *
51
- * Throws {@link module:ai/aiassistant/adapters/aiadapter~AIRequestError `AIRequestError`} if a given model is not supported.
52
- */
53
- getModelFamily(model: string): AIAWSModelFamily;
32
+ sendRequest(requestData: AITextAdapterRequestData): Promise<void>;
54
33
  }
55
34
  /**
56
35
  * The configuration for the Amazon Bedrock adapter.
57
36
  *
58
- * The properties defined in this configuration are set in the `config.ai.assistant.adapter.aws` namespace.
59
- *
60
- * ```ts
61
- * ClassicEditor
62
- * .create( editorElement, {
63
- * ai: {
64
- * assistant: {
65
- * adapter: {
66
- * aws: {
67
- * apiUrl: 'https://url.to.your.application/ai'
68
- * }
69
- * }
70
- * }
71
- * }
72
- * } )
73
- * .then( ... )
74
- * .catch( ... );
75
- * ```
37
+ * **This adapter is no longer supported.**
38
+ * Please contact CKEditor support at https://support.ckeditor.com for more information about available AI adapters.
76
39
  *
77
- * See {@link module:ai/aiconfig~AIConfig the full AI configuration}.
78
- *
79
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
40
+ * @deprecated
80
41
  */
81
42
  export interface AIAWSTextAdapterConfig {
82
- /**
83
- * The URL to which the AI service request will be sent.
84
- *
85
- * Set this value only if you want to connect to Amazon Bedrock using a proxy endpoint.
86
- *
87
- * If `apiUrl` is not provided, the AWS-SDK library will be used to process the request. It will set a proper URL on its own.
88
- */
89
43
  apiUrl?: string;
90
- /**
91
- * An object with headers to set in the request to the AI service.
92
- *
93
- * **These headers are only used when connecting to AWS through the proxy endpoint (that is, when `apiUrl` is set).**
94
- *
95
- * Otherwise, the AWS-SDK library is used, and it sets the request headers on its own. In this mode, the request headers cannot be
96
- * customized.
97
- *
98
- * If the provided value is an object, it is simply used as provided.
99
- *
100
- * ```js
101
- * {
102
- * ai: {
103
- * assistant: {
104
- * adapter: {
105
- * aws: {
106
- * requestHeaders: {
107
- * 'Authorization': 'Bearer YOUR_API_KEY'
108
- * }
109
- * }
110
- * // ...
111
- * }
112
- * }
113
- * }
114
- * }
115
- * ```
116
- *
117
- * If the provided value is a function, it should be a function that returns a promise which resolves with the headers object.
118
- * This way, you can perform an authorization request to your application and receive the authorization token (and also implement
119
- * any custom logic on the backend side). The headers object is then used to make the actual call to the AI service.
120
- *
121
- * ```js
122
- * {
123
- * ai: {
124
- * assistant: {
125
- * adapter: {
126
- * aws: {
127
- * requestHeaders: async () => {
128
- * const jwt = await fetch( 'https://example.com/jwt-endpoint' );
129
- *
130
- * return {
131
- * 'Authorization': 'Bearer ' + jwt
132
- * }
133
- * }
134
- * }
135
- * // ...
136
- * }
137
- * }
138
- * }
139
- * }
140
- * ```
141
- *
142
- * The function is passed the {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapterRequestData#actionId `actionId`}
143
- * parameter to make it possible to further customize the headers.
144
- *
145
- * If the function fails for any reason, the promise should be rejected. In this case, a feature that made the request should display
146
- * an error notification.
147
- */
148
44
  requestHeaders?: AIRequestHeaders;
149
- /**
150
- * Additional configuration parameters for the AI service request. Use it to customize how the AI service generates responses.
151
- * Note that the value you will set here will fully overwrite the default value.
152
- *
153
- * The exact configuration (available parameters) depends on the used model. Keep in mind that some properties are not supported by some
154
- * models.
155
- *
156
- * See [AWS model parameters reference](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) to learn more.
157
- *
158
- * If the provided value is an object, it is passed to the request as provided.
159
- *
160
- * If the provided value is a function, it should be a function that returns a promise which resolves with the request parameters
161
- * object. This gives you more flexibility to provide parameters for the AI model.
162
- *
163
- * The function is passed the {@link module:ai/aiassistant/adapters/aitextadapter~AITextAdapterRequestData#actionId `actionId`}
164
- * parameter to make it possible to further customize the parameters.
165
- *
166
- * If the function fails for any reason, the promise should be rejected. In this case, the feature that made the request should display
167
- * an error notification.
168
- *
169
- * Defaults to:
170
- *
171
- * ```json
172
- * {
173
- * model: 'anthropic.claude-v2',
174
- * max_tokens_to_sample: 500,
175
- * temperature: 1,
176
- * top_k: 250,
177
- * top_p: 1,
178
- * anthropic_version: 'bedrock-2023-05-31',
179
- * stream: true
180
- * }
181
- * ```
182
- */
183
45
  requestParameters?: AIRequestParameters;
184
- /**
185
- * The configuration for AWS-SDK Bedrock Runtime Client.
186
- *
187
- * If `apiUrl` is not provided, this configuration will be used to initialize the Bedrock Runtime Client which will be used to process
188
- * the requests. The adapter will make requests directly to the Amazon Bedrock service.
189
- */
190
- bedrockClientConfig?: BedrockRuntimeClientConfig;
46
+ bedrockClientConfig?: unknown;
191
47
  }
48
+ /**
49
+ * @deprecated
50
+ */
192
51
  export type AIAWSModelFamily = 'anthropic.claude' | 'ai21.j2' | 'cohere.command' | 'meta.llama';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x382785=_0x4490;function _0x4490(_0x12ff16,_0x18419f){const _0x5588ea=_0x5588();return _0x4490=function(_0x4490eb,_0x5a2c62){_0x4490eb=_0x4490eb-0x141;let _0xc1bf60=_0x5588ea[_0x4490eb];return _0xc1bf60;},_0x4490(_0x12ff16,_0x18419f);}(function(_0x40865a,_0x329bd3){const _0x6411c5=_0x4490,_0x205d79=_0x40865a();while(!![]){try{const _0xeae408=parseInt(_0x6411c5(0x16d))/0x1+-parseInt(_0x6411c5(0x144))/0x2+-parseInt(_0x6411c5(0x14c))/0x3*(parseInt(_0x6411c5(0x18f))/0x4)+-parseInt(_0x6411c5(0x17e))/0x5*(parseInt(_0x6411c5(0x14e))/0x6)+-parseInt(_0x6411c5(0x168))/0x7*(parseInt(_0x6411c5(0x14b))/0x8)+-parseInt(_0x6411c5(0x18e))/0x9+parseInt(_0x6411c5(0x155))/0xa;if(_0xeae408===_0x329bd3)break;else _0x205d79['push'](_0x205d79['shift']());}catch(_0x336c71){_0x205d79['push'](_0x205d79['shift']());}}}(_0x5588,0xcb6d5));import{AITextAdapter as _0x10c812}from'./aitextadapter.js';import{AIRequestError as _0x1c8333}from'./aiadapter.js';function _0x5588(){const _0x564720=['test','signal','Instruction:\x0a','Human:\x0a','AWSTextAdapter','resolve','sendRequest','anthropic.claude-v2','_readAsyncIterableResponse','utf-8','_readStaticResponse','_bedrockClientConfig','editor','data','9895eQQdww','<<SYS>>\x0a','meta.llama','\x0a\x0aAssistant:','anthropic.claude','\x0a[/INST]','split','bedrock-2023-05-31','_requestHeaders','preparePrompt','bytes','AI_ERROR_UNSUPPORTED_MODEL','stringify','application/json','_processAWSRequest','pluginName','196695SMUUae','1562504xOZGvq','POST','_processProxyRequest','cohere.command','\x0a<</SYS>>\x0a[INST]\x0a','1162228qmfzHV','completion','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','completions','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','ai.assistant.adapter.aws.requestHeaders','ai.assistant.adapter.aws.apiUrl','8Bqaxhm','3mDuHJF','body','4668POorDK','chunk','getReader','read','ai.assistant.adapter.aws.requestParameters','define','_apiUrl','47769780IdIVkM','text','locale','join','_prepareRequestHeaders','ai.assistant.adapter.aws.bedrockClientConfig','_getGeneratedText','send','filter','config','getModelFamily','length','abortController','parse','get','generation','_requestParameters','_readStreamableResponse','decode','11314429oKOTXU','ai21.j2','json','generations','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','205863MYmyaz','map','_prepareRequestParameters'];_0x5588=function(){return _0x564720;};return _0x5588();}import{BedrockRuntimeClient as _0x1f7a09,InvokeModelCommand as _0x2031da,InvokeModelWithResponseStreamCommand as _0x1212cc}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x2bbd34}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x10c812{[_0x382785(0x154)];[_0x382785(0x186)];[_0x382785(0x17b)];[_0x382785(0x165)];static get[_0x382785(0x18d)](){const _0x101e8e=_0x382785;return _0x101e8e(0x174);}constructor(_0x101b99){const _0x582bb7=_0x382785;super(_0x101b99),_0x101b99[_0x582bb7(0x15e)][_0x582bb7(0x163)](_0x582bb7(0x152))||_0x101b99[_0x582bb7(0x15e)][_0x582bb7(0x153)](_0x582bb7(0x152),{'model':_0x582bb7(0x177),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x582bb7(0x185),'stream':!0x0}),this[_0x582bb7(0x154)]=_0x101b99[_0x582bb7(0x15e)][_0x582bb7(0x163)](_0x582bb7(0x14a)),this[_0x582bb7(0x17b)]=_0x101b99[_0x582bb7(0x15e)][_0x582bb7(0x163)](_0x582bb7(0x15a)),this[_0x582bb7(0x186)]=_0x101b99[_0x582bb7(0x15e)][_0x582bb7(0x163)](_0x582bb7(0x149)),this[_0x582bb7(0x165)]=_0x101b99[_0x582bb7(0x15e)][_0x582bb7(0x163)](_0x582bb7(0x152));}async[_0x382785(0x176)]({query:_0x4fd425,context:_0x31d206,onData:_0x5118b3,actionId:_0x4ae929}){const _0x288a6f=_0x382785,{model:_0x4347e2,stream:_0x4e8a9f,..._0x387e00}=await this[_0x288a6f(0x16f)](this[_0x288a6f(0x165)],_0x4ae929),_0x297403={'prompt':await this[_0x288a6f(0x187)](_0x4fd425,_0x31d206,_0x4347e2,_0x4ae929),..._0x387e00};this[_0x288a6f(0x154)]?await this[_0x288a6f(0x141)](_0x297403,_0x4347e2,_0x4e8a9f,_0x5118b3,_0x4ae929):await this[_0x288a6f(0x18c)](_0x297403,_0x4347e2,_0x4e8a9f,_0x5118b3);}async[_0x382785(0x187)](_0x274817,_0x543764,_0x21919c,_0x998845){const _0x48f287=_0x382785;let _0x454c63,_0x3d033d;return _0x543764?(_0x454c63=_0x48f287(0x16c),_0x3d033d=_0x48f287(0x172)+_0x274817+_0x48f287(0x148)+_0x543764):(_0x454c63=_0x48f287(0x146),_0x3d033d=_0x274817),_0x48f287(0x180)==this[_0x48f287(0x15f)](_0x21919c)?_0x48f287(0x17f)+_0x454c63+_0x48f287(0x143)+_0x3d033d+_0x48f287(0x183):_0x48f287(0x173)+_0x454c63+'\x0a'+_0x3d033d+_0x48f287(0x181);}[_0x382785(0x15f)](_0x45117f){const _0x409568=_0x382785;if(/^anthropic\.claude/[_0x409568(0x170)](_0x45117f))return _0x409568(0x182);if(/^ai21\.j2/[_0x409568(0x170)](_0x45117f))return _0x409568(0x169);if(/^cohere\.command/[_0x409568(0x170)](_0x45117f))return _0x409568(0x142);if(/^meta\.llama/[_0x409568(0x170)](_0x45117f))return _0x409568(0x180);throw new _0x1c8333(_0x2bbd34(this[_0x409568(0x17c)][_0x409568(0x157)],_0x409568(0x189),_0x45117f));}async[_0x382785(0x141)](_0x2d186a,_0x57e08e,_0x211733,_0x1be11c,_0x524ae8){const _0x265e5d=_0x382785,_0x49052c={'method':_0x265e5d(0x190),'headers':await this[_0x265e5d(0x159)](this[_0x265e5d(0x186)],_0x524ae8),'body':JSON[_0x265e5d(0x18a)]({..._0x2d186a,'model':_0x57e08e,'stream':_0x211733}),'signal':this[_0x265e5d(0x161)][_0x265e5d(0x171)]},_0x2198c1=await fetch(this[_0x265e5d(0x154)],_0x49052c);_0x211733?await this[_0x265e5d(0x166)](_0x2198c1,_0x57e08e,_0x1be11c):await this[_0x265e5d(0x17a)](_0x2198c1,_0x57e08e,_0x1be11c);}async[_0x382785(0x18c)](_0x3b9905,_0x4aea54,_0x5d834f,_0x1906ad){const _0x23609d=_0x382785,_0x479c6c=new _0x1f7a09(this[_0x23609d(0x17b)]),_0x247649={'body':JSON[_0x23609d(0x18a)](_0x3b9905),'contentType':_0x23609d(0x18b),'accept':_0x23609d(0x18b),'modelId':_0x4aea54};let _0xa2e861;if(_0x5d834f){const _0x7abb51=new _0x1212cc(_0x247649);_0xa2e861=await _0x479c6c[_0x23609d(0x15c)](_0x7abb51,{'abortSignal':this[_0x23609d(0x161)][_0x23609d(0x171)]}),await this[_0x23609d(0x178)](_0xa2e861,_0x4aea54,_0x1906ad);}else{const _0x58f4aa=new _0x2031da(_0x247649);_0xa2e861=await _0x479c6c[_0x23609d(0x15c)](_0x58f4aa,{'abortSignal':this[_0x23609d(0x161)][_0x23609d(0x171)]}),await this[_0x23609d(0x17a)](_0xa2e861,_0x4aea54,_0x1906ad);}}async[_0x382785(0x178)](_0x26da2c,_0x23228a,_0x2668ad){const _0x499197=_0x382785,_0x4bd96f=_0x26da2c[_0x499197(0x14d)],_0x190e80=new TextDecoder(_0x499197(0x179));let _0x193ee7='';for await(const _0x2ff7bb of _0x4bd96f)if(_0x2ff7bb[_0x499197(0x14f)]){const _0xb6b4a0=_0x190e80[_0x499197(0x167)](_0x2ff7bb[_0x499197(0x14f)][_0x499197(0x188)]),_0x340cbc=JSON[_0x499197(0x162)](_0xb6b4a0);_0x193ee7+=this[_0x499197(0x15b)](_0x340cbc,_0x23228a),_0x2668ad(_0x193ee7);}return Promise[_0x499197(0x175)]();}async[_0x382785(0x166)](_0x3200d4,_0xa97c16,_0xc02488){const _0x4dab13=_0x382785,_0x16d4ee=_0x3200d4[_0x4dab13(0x14d)],_0x6d14c4=new TextDecoder(_0x4dab13(0x179)),_0x6dfde3=_0x16d4ee[_0x4dab13(0x150)]();let _0x5374e9='',_0x50cf21='',_0x1884e9=!0x1;for(;!_0x1884e9;){const {done:_0x30d64c,value:_0x11f10a}=await _0x6dfde3[_0x4dab13(0x151)]();if(_0x1884e9=_0x30d64c,_0x1884e9)break;const _0x4d62f9=(_0x5374e9+_0x6d14c4[_0x4dab13(0x167)](_0x11f10a))[_0x4dab13(0x184)]('\x0a')[_0x4dab13(0x16e)](_0x1eadea=>{const _0x2f7c25=_0x4dab13;try{return _0x5374e9='',JSON[_0x2f7c25(0x162)](_0x1eadea);}catch{return _0x5374e9=_0x1eadea,null;}})[_0x4dab13(0x15d)](_0x4ffe7d=>null!==_0x4ffe7d);_0x4d62f9[_0x4dab13(0x160)]&&(_0x50cf21+=_0x4d62f9[_0x4dab13(0x16e)](_0x557d1=>this[_0x4dab13(0x15b)](_0x557d1,_0xa97c16))[_0x4dab13(0x158)](''),_0xc02488(_0x50cf21));}return Promise[_0x4dab13(0x175)]();}async[_0x382785(0x17a)](_0x111a41,_0x59275b,_0x4cb349){const _0x1358f5=_0x382785;let _0x380047;return _0x380047=_0x111a41 instanceof Response?await _0x111a41[_0x1358f5(0x16a)]():JSON[_0x1358f5(0x162)](new TextDecoder(_0x1358f5(0x179))[_0x1358f5(0x167)](_0x111a41[_0x1358f5(0x14d)])),(_0x4cb349(this[_0x1358f5(0x15b)](_0x380047,_0x59275b)),Promise[_0x1358f5(0x175)]());}[_0x382785(0x15b)](_0x2d8448,_0xe79eae){const _0x4b3bf3=_0x382785;switch(this[_0x4b3bf3(0x15f)](_0xe79eae)){case _0x4b3bf3(0x182):return _0x2d8448[_0x4b3bf3(0x145)];case _0x4b3bf3(0x169):return _0x2d8448[_0x4b3bf3(0x147)][0x0][_0x4b3bf3(0x17d)][_0x4b3bf3(0x156)];case _0x4b3bf3(0x142):return _0x2d8448[_0x4b3bf3(0x16b)][0x0][_0x4b3bf3(0x156)];case _0x4b3bf3(0x180):return _0x2d8448[_0x4b3bf3(0x164)];}}}
23
+ var _0x4d2b40=_0x2cc4;function _0x2cc4(_0x55ab0c,_0xace548){var _0xcd0558=_0xcd05();return _0x2cc4=function(_0x2cc446,_0x22fa64){_0x2cc446=_0x2cc446-0x14c;var _0x241529=_0xcd0558[_0x2cc446];return _0x241529;},_0x2cc4(_0x55ab0c,_0xace548);}(function(_0x49f394,_0x4bdee3){var _0x4c591d=_0x2cc4,_0x127763=_0x49f394();while(!![]){try{var _0x125eac=parseInt(_0x4c591d(0x152))/0x1+parseInt(_0x4c591d(0x158))/0x2+parseInt(_0x4c591d(0x151))/0x3*(-parseInt(_0x4c591d(0x15b))/0x4)+-parseInt(_0x4c591d(0x157))/0x5*(parseInt(_0x4c591d(0x154))/0x6)+parseInt(_0x4c591d(0x153))/0x7+-parseInt(_0x4c591d(0x15d))/0x8+parseInt(_0x4c591d(0x150))/0x9*(parseInt(_0x4c591d(0x14f))/0xa);if(_0x125eac===_0x4bdee3)break;else _0x127763['push'](_0x127763['shift']());}catch(_0x3d2fac){_0x127763['push'](_0x127763['shift']());}}}(_0xcd05,0xd4411));import{AITextAdapter as _0x327abe}from'./aitextadapter.js';import{AIRequestError as _0x593b1b}from'./aiadapter.js';import{getTranslation as _0xdcd246}from'../utils/common-translations.js';import{logWarning as _0x3bb38b,logError as _0x4259a2}from'ckeditor5/src/utils.js';export class AWSTextAdapter extends _0x327abe{static get[_0x4d2b40(0x14e)](){var _0x348913=_0x4d2b40;return _0x348913(0x15c);}[_0x4d2b40(0x155)](){var _0x578a14=_0x4d2b40;super[_0x578a14(0x155)](),_0x3bb38b(_0x578a14(0x14d));}async[_0x4d2b40(0x14c)](_0x4289c8){var _0x58d2e9=_0x4d2b40;throw _0x4259a2(_0x58d2e9(0x14d)),new _0x593b1b(_0xdcd246(this[_0x58d2e9(0x156)][_0x58d2e9(0x15a)],_0x58d2e9(0x159)));}}function _0xcd05(){var _0x3c3aa2=['locale','12ZAtUPo','AWSTextAdapter','12687008FhqBht','sendRequest','ai-aws-adapter-not-supported','pluginName','146130gukHWa','927GljeLn','1713165rNYBLW','1250016XUsYiz','8363180vgAjSr','7358370ClBgMS','init','editor','5gJvLDN','2889868FpESMB','AI_ERROR_AWS_NOT_SUPPORTED'];_0xcd05=function(){return _0x3c3aa2;};return _0xcd05();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aeef3=_0x1622;(function(_0x22884b,_0x50ff10){const _0x50feac=_0x1622,_0x4a75ad=_0x22884b();while(!![]){try{const _0x2890a9=-parseInt(_0x50feac(0x127))/0x1+parseInt(_0x50feac(0x129))/0x2*(parseInt(_0x50feac(0x116))/0x3)+-parseInt(_0x50feac(0x141))/0x4+-parseInt(_0x50feac(0x139))/0x5+-parseInt(_0x50feac(0x105))/0x6*(parseInt(_0x50feac(0x140))/0x7)+parseInt(_0x50feac(0x11a))/0x8+parseInt(_0x50feac(0x117))/0x9;if(_0x2890a9===_0x50ff10)break;else _0x4a75ad['push'](_0x4a75ad['shift']());}catch(_0x5a62cb){_0x4a75ad['push'](_0x4a75ad['shift']());}}}(_0x50ef,0xdf7e6));import{AITextAdapter as _0x172756}from'./aitextadapter.js';function _0x1622(_0x218f6f,_0x26a7a1){const _0x50ef3d=_0x50ef();return _0x1622=function(_0x1622a3,_0x135c27){_0x1622a3=_0x1622a3-0xfe;let _0x5c4872=_0x50ef3d[_0x1622a3];return _0x5c4872;},_0x1622(_0x218f6f,_0x26a7a1);}import{AIRequestError as _0x543181}from'./aiadapter.js';import{getTranslation as _0x45b431}from'../utils/common-translations.js';function _0x50ef(){const _0x131bb0=['length','https://api.openai.com/v1/chat/completions','301hrTbnl','2995760zChSmH','stringify','get','delta','_readStreamableResponse','stream','abortController','Moderation','_requestHeaders','243930orKMxZ','define','AI_ERROR_MODERATION','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','user','decode','data:\x20','body','_requestParameters','ai.assistant.adapter.openAI.requestParameters','replace','locale','pluginName','POST','signal','resolve','getReader','2863551EwqMhM','31707315aDjSRM','parse','json','4751304YecCjC','text','ai.assistant.adapter.openAI.requestHeaders','gpt-4o','split','choices','_readStaticResponse','_isBufferIncomplete','content','system','filter','join','read','388344cfAHsI','OpenAITextAdapter','2xdaawy','ai.assistant.adapter.openAI.apiUrl','includes','_prepareRequestParameters','_prepareRequestHeaders','sendRequest','editor','_apiUrl','map','config','_cleanUpData','reject','context_length_exceeded','AI_ERROR_CONTEXT_LENGTH','prepareMessages','Instruction:\x0a','6352930MAxwCt','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','[DONE]','message'];_0x50ef=function(){return _0x131bb0;};return _0x50ef();}export class OpenAITextAdapter extends _0x172756{[_0x3aeef3(0x130)];[_0x3aeef3(0x104)];[_0x3aeef3(0x10d)];static get[_0x3aeef3(0x111)](){const _0x26c25c=_0x3aeef3;return _0x26c25c(0x128);}constructor(_0x11c659){const _0x5809fa=_0x3aeef3;super(_0x11c659),_0x11c659[_0x5809fa(0x132)][_0x5809fa(0x106)](_0x5809fa(0x12a),_0x5809fa(0x13f)),_0x11c659[_0x5809fa(0x132)][_0x5809fa(0xfe)](_0x5809fa(0x10e))||_0x11c659[_0x5809fa(0x132)][_0x5809fa(0x106)](_0x5809fa(0x10e),{'model':_0x5809fa(0x11d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x5809fa(0x130)]=_0x11c659[_0x5809fa(0x132)][_0x5809fa(0xfe)](_0x5809fa(0x12a)),this[_0x5809fa(0x104)]=_0x11c659[_0x5809fa(0x132)][_0x5809fa(0xfe)](_0x5809fa(0x11c))||{},this[_0x5809fa(0x10d)]=_0x11c659[_0x5809fa(0x132)][_0x5809fa(0xfe)](_0x5809fa(0x10e));}async[_0x3aeef3(0x12e)]({query:_0x278359,context:_0x4da578,onData:_0x5484bc,actionId:_0x2cf532}){const _0x47a132=_0x3aeef3,_0x370ac6=this[_0x47a132(0x12f)][_0x47a132(0x110)],_0x25e448=await this[_0x47a132(0x137)](_0x278359,_0x4da578,_0x2cf532),_0x159838=await this[_0x47a132(0x12d)](this[_0x47a132(0x104)],_0x2cf532),_0x46873c=await this[_0x47a132(0x12c)](this[_0x47a132(0x10d)],_0x2cf532),_0x96414b={'messages':_0x25e448,..._0x46873c},_0x8a4535={'method':_0x47a132(0x112),'headers':_0x159838,'body':JSON[_0x47a132(0x142)](_0x96414b),'signal':this[_0x47a132(0x102)][_0x47a132(0x113)]},_0x34a1f5=await fetch(this[_0x47a132(0x130)],_0x8a4535);if(_0x34a1f5['ok'])return _0x46873c[_0x47a132(0x101)]?await this[_0x47a132(0x100)](_0x34a1f5,_0x5484bc):await this[_0x47a132(0x120)](_0x34a1f5,_0x5484bc),Promise[_0x47a132(0x114)]();{const _0x520de1=await _0x34a1f5[_0x47a132(0x11b)]();return _0x520de1[_0x47a132(0x12b)](_0x47a132(0x135))?Promise[_0x47a132(0x134)](new _0x543181(_0x45b431(_0x370ac6,_0x47a132(0x136)))):_0x520de1[_0x47a132(0x12b)](_0x47a132(0x103))?Promise[_0x47a132(0x134)](new _0x543181(_0x45b431(_0x370ac6,_0x47a132(0x107)))):Promise[_0x47a132(0x134)](new Error(_0x520de1));}}async[_0x3aeef3(0x137)](_0x4adddb,_0x48838d,_0x2dfaaf){const _0x56e11f=_0x3aeef3;let _0x35184f,_0x2c3ff4;return _0x48838d?(_0x35184f=_0x56e11f(0x108),_0x2c3ff4=_0x56e11f(0x138)+_0x4adddb+_0x56e11f(0x13b)+_0x48838d):(_0x35184f=_0x56e11f(0x13a),_0x2c3ff4=_0x4adddb),[{'role':_0x56e11f(0x123),'content':_0x35184f},{'role':_0x56e11f(0x109),'content':_0x2c3ff4}];}async[_0x3aeef3(0x100)](_0x4506d4,_0x243888){const _0x2f2c43=_0x3aeef3,_0x384c27=_0x4506d4[_0x2f2c43(0x10c)][_0x2f2c43(0x115)](),_0x52eb8c=new TextDecoder();let _0x4e1d98='',_0x4f962c='',_0x25f37c='',_0x3adb2a=!0x1;for(;!_0x3adb2a;){const {done:_0x503383,value:_0x918e69}=await _0x384c27[_0x2f2c43(0x126)](),_0x4c121b=_0x4e1d98+_0x52eb8c[_0x2f2c43(0x10a)](_0x918e69);let _0x403e2a='';_0x3adb2a=_0x503383;try{_0x403e2a=this[_0x2f2c43(0x133)](_0x4c121b),_0x4e1d98='';}catch{_0x4e1d98=_0x4c121b;continue;}_0x4f962c+=_0x403e2a,!_0x3adb2a&&this[_0x2f2c43(0x121)](_0x4f962c)||_0x4f962c&&(_0x25f37c+=_0x4f962c,_0x4f962c='',_0x243888(_0x25f37c));}return Promise[_0x2f2c43(0x114)]();}async[_0x3aeef3(0x120)](_0x5970d0,_0x34e6a8){const _0x44c505=_0x3aeef3;return _0x34e6a8((await _0x5970d0[_0x44c505(0x119)]())[_0x44c505(0x11f)][0x0][_0x44c505(0x13d)][_0x44c505(0x122)]),Promise[_0x44c505(0x114)]();}[_0x3aeef3(0x121)](_0x3410b4){const _0x414a58=_0x3aeef3,_0x108358=_0x3410b4[_0x414a58(0x11e)]('<')[_0x414a58(0x13e)]!==_0x3410b4[_0x414a58(0x11e)]('>')[_0x414a58(0x13e)],_0xdb65a7=_0x3410b4[_0x414a58(0x13e)]<0x1e;return _0x108358&&_0xdb65a7;}[_0x3aeef3(0x133)](_0x43d2a8){const _0x178d3a=_0x3aeef3;return _0x43d2a8[_0x178d3a(0x11e)](/\n(?![^{]*\})/g)[_0x178d3a(0x131)](_0x346c30=>_0x346c30[_0x178d3a(0x10f)](_0x178d3a(0x10b),''))[_0x178d3a(0x124)](_0x256517=>_0x256517&&_0x256517[_0x178d3a(0x13e)]>0x0&&_0x178d3a(0x13c)!==_0x256517)[_0x178d3a(0x131)](_0x11a1f3=>{const _0xa9d31=_0x178d3a,{choices:_0x47997f}=JSON[_0xa9d31(0x118)](_0x11a1f3);if(_0x47997f[0x0]?.[_0xa9d31(0xff)]?.[_0xa9d31(0x122)])return _0x47997f[0x0][_0xa9d31(0xff)][_0xa9d31(0x122)];})[_0x178d3a(0x124)](_0x3b6bf1=>_0x3b6bf1)[_0x178d3a(0x125)]('');}}
23
+ const _0x515f59=_0x38e0;(function(_0xd9b819,_0x25af29){const _0x287344=_0x38e0,_0x5b3ab0=_0xd9b819();while(!![]){try{const _0x3fe081=-parseInt(_0x287344(0x1cb))/0x1+-parseInt(_0x287344(0x1c0))/0x2+-parseInt(_0x287344(0x1c1))/0x3+parseInt(_0x287344(0x1cc))/0x4*(-parseInt(_0x287344(0x1af))/0x5)+parseInt(_0x287344(0x1bc))/0x6+-parseInt(_0x287344(0x1ae))/0x7*(parseInt(_0x287344(0x199))/0x8)+-parseInt(_0x287344(0x1c9))/0x9*(-parseInt(_0x287344(0x1c5))/0xa);if(_0x3fe081===_0x25af29)break;else _0x5b3ab0['push'](_0x5b3ab0['shift']());}catch(_0x19883a){_0x5b3ab0['push'](_0x5b3ab0['shift']());}}}(_0x2dd4,0xebfb0));import{AITextAdapter as _0x183a6c}from'./aitextadapter.js';function _0x2dd4(){const _0x425e61=['_isBufferIncomplete','signal','locale','stringify','context_length_exceeded','text','split','_readStreamableResponse','sendRequest','decode','pluginName','7rPIsxF','5IWsFHk','gpt-4o','abortController','https://api.openai.com/v1/chat/completions','user','ai.assistant.adapter.openAI.apiUrl','message','map','includes','filter','parse','choices','content','2940564qQAvPR','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','stream','1682676ABBtqP','4391643rmUKzp','[DONE]','Moderation','_requestParameters','20013380cwWohu','getReader','_prepareRequestParameters','system','27zIutxU','delta','751178SrGmWS','3248272MqCVmY','define','_apiUrl','get','_readStaticResponse','_prepareRequestHeaders','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','data:\x20','read','reject','resolve','editor','replace','AI_ERROR_CONTEXT_LENGTH','prepareMessages','Instruction:\x0a','OpenAITextAdapter','ai.assistant.adapter.openAI.requestHeaders','length','13272536gBbZMT','ai.assistant.adapter.openAI.requestParameters','AI_ERROR_MODERATION','_requestHeaders','json','_cleanUpData','POST','body','join','config'];_0x2dd4=function(){return _0x425e61;};return _0x2dd4();}import{AIRequestError as _0xd170b}from'./aiadapter.js';import{getTranslation as _0x449e67}from'../utils/common-translations.js';function _0x38e0(_0x4bcd20,_0x15e017){const _0x2dd445=_0x2dd4();return _0x38e0=function(_0x38e0e9,_0x24e268){_0x38e0e9=_0x38e0e9-0x189;let _0x23afb9=_0x2dd445[_0x38e0e9];return _0x23afb9;},_0x38e0(_0x4bcd20,_0x15e017);}export class OpenAITextAdapter extends _0x183a6c{[_0x515f59(0x1ce)];[_0x515f59(0x19c)];[_0x515f59(0x1c4)];static get[_0x515f59(0x1ad)](){const _0x4fb53a=_0x515f59;return _0x4fb53a(0x196);}constructor(_0x1c080e){const _0x4490f7=_0x515f59;super(_0x1c080e),_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x1cd)](_0x4490f7(0x1b4),_0x4490f7(0x1b2)),_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x189)](_0x4490f7(0x19a))||_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x1cd)](_0x4490f7(0x19a),{'model':_0x4490f7(0x1b0),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x4490f7(0x1ce)]=_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x189)](_0x4490f7(0x1b4)),this[_0x4490f7(0x19c)]=_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x189)](_0x4490f7(0x197))||{},this[_0x4490f7(0x1c4)]=_0x1c080e[_0x4490f7(0x1a2)][_0x4490f7(0x189)](_0x4490f7(0x19a));}async[_0x515f59(0x1ab)]({query:_0x51165e,context:_0x29020b,onData:_0xfaf36e,actionId:_0xc1a3f1}){const _0x1441ae=_0x515f59,_0x4af93f=this[_0x1441ae(0x191)][_0x1441ae(0x1a5)],_0x9b1f81=await this[_0x1441ae(0x194)](_0x51165e,_0x29020b,_0xc1a3f1),_0x6a468f=await this[_0x1441ae(0x18b)](this[_0x1441ae(0x19c)],_0xc1a3f1),_0x172d91=await this[_0x1441ae(0x1c7)](this[_0x1441ae(0x1c4)],_0xc1a3f1),_0x4e7758={'messages':_0x9b1f81,..._0x172d91},_0x4e562c={'method':_0x1441ae(0x19f),'headers':_0x6a468f,'body':JSON[_0x1441ae(0x1a6)](_0x4e7758),'signal':this[_0x1441ae(0x1b1)][_0x1441ae(0x1a4)]},_0x41939e=await fetch(this[_0x1441ae(0x1ce)],_0x4e562c);if(_0x41939e['ok'])return _0x172d91[_0x1441ae(0x1bf)]?await this[_0x1441ae(0x1aa)](_0x41939e,_0xfaf36e):await this[_0x1441ae(0x18a)](_0x41939e,_0xfaf36e),Promise[_0x1441ae(0x190)]();{const _0x2f87f9=await _0x41939e[_0x1441ae(0x1a8)]();return _0x2f87f9[_0x1441ae(0x1b7)](_0x1441ae(0x1a7))?Promise[_0x1441ae(0x18f)](new _0xd170b(_0x449e67(_0x4af93f,_0x1441ae(0x193)))):_0x2f87f9[_0x1441ae(0x1b7)](_0x1441ae(0x1c3))?Promise[_0x1441ae(0x18f)](new _0xd170b(_0x449e67(_0x4af93f,_0x1441ae(0x19b)))):Promise[_0x1441ae(0x18f)](new Error(_0x2f87f9));}}async[_0x515f59(0x194)](_0x3d8bc5,_0xbc652d,_0x1fabae){const _0x26a5a3=_0x515f59;let _0x56efe3,_0xc650e9;return _0xbc652d?(_0x56efe3=_0x26a5a3(0x1be),_0xc650e9=_0x26a5a3(0x195)+_0x3d8bc5+_0x26a5a3(0x18c)+_0xbc652d):(_0x56efe3=_0x26a5a3(0x1bd),_0xc650e9=_0x3d8bc5),[{'role':_0x26a5a3(0x1c8),'content':_0x56efe3},{'role':_0x26a5a3(0x1b3),'content':_0xc650e9}];}async[_0x515f59(0x1aa)](_0x166849,_0x438ea5){const _0x53fcea=_0x515f59,_0x3d5ce5=_0x166849[_0x53fcea(0x1a0)][_0x53fcea(0x1c6)](),_0x1eb152=new TextDecoder();let _0x49c9a5='',_0x349405='',_0x5cc0dd='',_0x53d0de=!0x1;for(;!_0x53d0de;){const {done:_0x1de10b,value:_0x22feba}=await _0x3d5ce5[_0x53fcea(0x18e)](),_0x4e1ed9=_0x49c9a5+_0x1eb152[_0x53fcea(0x1ac)](_0x22feba);let _0x426e45='';_0x53d0de=_0x1de10b;try{_0x426e45=this[_0x53fcea(0x19e)](_0x4e1ed9),_0x49c9a5='';}catch{_0x49c9a5=_0x4e1ed9;continue;}_0x349405+=_0x426e45,!_0x53d0de&&this[_0x53fcea(0x1a3)](_0x349405)||_0x349405&&(_0x5cc0dd+=_0x349405,_0x349405='',_0x438ea5(_0x5cc0dd));}return Promise[_0x53fcea(0x190)]();}async[_0x515f59(0x18a)](_0x3d578a,_0x1af824){const _0x2f5daa=_0x515f59;return _0x1af824((await _0x3d578a[_0x2f5daa(0x19d)]())[_0x2f5daa(0x1ba)][0x0][_0x2f5daa(0x1b5)][_0x2f5daa(0x1bb)]),Promise[_0x2f5daa(0x190)]();}[_0x515f59(0x1a3)](_0x28cd51){const _0x132c87=_0x515f59,_0x54cb2e=_0x28cd51[_0x132c87(0x1a9)]('<')[_0x132c87(0x198)]!==_0x28cd51[_0x132c87(0x1a9)]('>')[_0x132c87(0x198)],_0x156ca4=_0x28cd51[_0x132c87(0x198)]<0x1e;return _0x54cb2e&&_0x156ca4;}[_0x515f59(0x19e)](_0x1bf87a){const _0x3649bf=_0x515f59;return _0x1bf87a[_0x3649bf(0x1a9)](/\n(?![^{]*\})/g)[_0x3649bf(0x1b6)](_0x2ba8b9=>_0x2ba8b9[_0x3649bf(0x192)](_0x3649bf(0x18d),''))[_0x3649bf(0x1b8)](_0x59a068=>_0x59a068&&_0x59a068[_0x3649bf(0x198)]>0x0&&_0x3649bf(0x1c2)!==_0x59a068)[_0x3649bf(0x1b6)](_0x587ca5=>{const _0x17abc3=_0x3649bf,{choices:_0x39492c}=JSON[_0x17abc3(0x1b9)](_0x587ca5);if(_0x39492c[0x0]?.[_0x17abc3(0x1ca)]?.[_0x17abc3(0x1bb)])return _0x39492c[0x0][_0x17abc3(0x1ca)][_0x17abc3(0x1bb)];})[_0x3649bf(0x1b8)](_0x47287f=>_0x47287f)[_0x3649bf(0x1a1)]('');}}
@@ -379,6 +379,8 @@ export interface AIAssistantConfig {
379
379
  * This is required only if you connect to Amazon Bedrock service.
380
380
  *
381
381
  * Read more in {@link module:ai/aiassistant/adapters/awstextadapter~AIAWSTextAdapterConfig}.
382
+ *
383
+ * @deprecated
382
384
  */
383
385
  aws?: AIAWSTextAdapterConfig;
384
386
  };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x384555=_0x2739;(function(_0x1e92ff,_0x31b7eb){const _0x31ad8e=_0x2739,_0x4a2851=_0x1e92ff();while(!![]){try{const _0x21d580=parseInt(_0x31ad8e(0x180))/0x1*(parseInt(_0x31ad8e(0x152))/0x2)+-parseInt(_0x31ad8e(0x19a))/0x3*(-parseInt(_0x31ad8e(0x181))/0x4)+-parseInt(_0x31ad8e(0x197))/0x5*(parseInt(_0x31ad8e(0x18a))/0x6)+parseInt(_0x31ad8e(0x150))/0x7+-parseInt(_0x31ad8e(0x13f))/0x8*(-parseInt(_0x31ad8e(0x166))/0x9)+parseInt(_0x31ad8e(0x141))/0xa+-parseInt(_0x31ad8e(0x1a5))/0xb;if(_0x21d580===_0x31b7eb)break;else _0x4a2851['push'](_0x4a2851['shift']());}catch(_0x53b46a){_0x4a2851['push'](_0x4a2851['shift']());}}}(_0x2af8,0x87ebf));import{Plugin as _0xde06e2}from'ckeditor5/src/core.js';function _0x2739(_0x9074a5,_0x4057a6){const _0x2af8ae=_0x2af8();return _0x2739=function(_0x273942,_0x40b414){_0x273942=_0x273942-0x136;let _0x421fa1=_0x2af8ae[_0x273942];return _0x421fa1;},_0x2739(_0x9074a5,_0x4057a6);}import{AIAssistantUI as _0x13347a}from'./aiassistantui.js';import{AIAssistantEditing as _0x594404}from'./aiassistantediting.js';import{getTranslation as _0xb7c7a4}from'./utils/common-translations.js';function _0x2af8(){const _0x584d85=['Professional','12761650fbmoYW','Simplified\x20Chinese','Friendly','Translate\x20the\x20content\x20to\x20French\x20language.','Spanish','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','simplifyLanguage','friendly','pluginName','5448iwVKXB','English','7890030GgMBNF','improveWriting','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Confident','get','Portuguese','Casual','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateSpanish','changeTone','Continue','Change\x20tone','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','5203002RsLqoT','Arabic','608JVvDMI','translateArabic','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','poetic','Business','Translate\x20the\x20content\x20to\x20Spanish\x20language.','continue','translate','journalism','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Poetic','isOfficialPlugin','concat','Improve\x20writing','Make\x20shorter','translateHindi','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','AIAssistant','ai.assistant.extraCommandGroups','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','1179cUDnSH','Generate\x20from\x20selection','Summarize','Hindi','ai.assistant.removeCommands','isPremiumPlugin','Translate\x20the\x20content\x20to\x20German\x20language.','Change\x20style','editOrReview','ai.assistant.commands','define','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','changeStyle','find','includes','makeShorter','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','push','ai.assistant.preserveComments','generate','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','summarize','config','translatePortuguese','457RFcbGG','392kYjUDw','Make\x20longer','locale','business','French','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','confident','translateFrench','legal','3602862qjUwSp','casual','filter','set','Edit\x20or\x20review','Direct','requires','translateEnglish','groupId','translateChinese','Translate','Legal','forEach','5lVCnJR','translateGerman','direct','17049lMSrYF','Simplify\x20language','Journalism','Translate\x20the\x20content\x20to\x20English\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','German','makeLonger','Translate\x20the\x20content\x20to\x20Arabic\x20language.','professional','commands'];_0x2af8=function(){return _0x584d85;};return _0x2af8();}import{normalizeCommandsConfig as _0x2e574f}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xde06e2{static get[_0x384555(0x190)](){return[_0x13347a,_0x594404];}static get[_0x384555(0x13e)](){const _0x4c3da5=_0x384555;return _0x4c3da5(0x163);}static get[_0x384555(0x15d)](){return!0x0;}static get[_0x384555(0x16b)](){return!0x0;}constructor(_0x4c0ab1){const _0x149f1d=_0x384555;super(_0x4c0ab1);const _0x3a0098=_0x4c0ab1[_0x149f1d(0x17e)],_0x1abfe7=_0x4c0ab1[_0x149f1d(0x183)];_0x3a0098[_0x149f1d(0x170)](_0x149f1d(0x17a),!0x0),_0x3a0098[_0x149f1d(0x170)](_0x149f1d(0x16f),getDefaultAICommands(_0x1abfe7)),_0x3a0098[_0x149f1d(0x170)](_0x149f1d(0x164),[]),_0x3a0098[_0x149f1d(0x170)](_0x149f1d(0x16a),[]);let _0x554eaf=_0x2e574f(_0x3a0098[_0x149f1d(0x146)](_0x149f1d(0x16f)),_0x1abfe7);const _0x55bbb6=_0x3a0098[_0x149f1d(0x146)](_0x149f1d(0x164)),_0x9470c2=_0x3a0098[_0x149f1d(0x146)](_0x149f1d(0x16a));_0x55bbb6[_0x149f1d(0x196)](_0x2c62c1=>{const _0x4bbc9a=_0x149f1d,_0x17f8e5=_0x554eaf[_0x4bbc9a(0x174)](_0x4d25d5=>_0x4d25d5[_0x4bbc9a(0x192)]===_0x2c62c1[_0x4bbc9a(0x192)]);_0x17f8e5?_0x17f8e5[_0x4bbc9a(0x1a3)]=_0x17f8e5[_0x4bbc9a(0x1a3)][_0x4bbc9a(0x15e)](_0x2c62c1[_0x4bbc9a(0x1a3)]):_0x554eaf[_0x4bbc9a(0x179)](_0x2c62c1);}),_0x554eaf=_0x554eaf[_0x149f1d(0x18c)](_0xba05a9=>!_0x9470c2[_0x149f1d(0x175)](_0xba05a9[_0x149f1d(0x192)])),_0x554eaf[_0x149f1d(0x196)](_0x505b48=>{const _0xc22221=_0x149f1d;_0x505b48[_0xc22221(0x1a3)]=_0x505b48[_0xc22221(0x1a3)][_0xc22221(0x18c)](_0x19e45f=>!_0x9470c2[_0xc22221(0x175)](_0x19e45f['id']));}),_0x3a0098[_0x149f1d(0x18d)](_0x149f1d(0x16f),_0x554eaf);}}export function getDefaultAICommands(_0x891b93){const _0x310cd1=_0x384555;return[{'groupId':_0x310cd1(0x16e),'groupLabel':_0xb7c7a4(_0x891b93,_0x310cd1(0x18e)),'commands':[{'id':_0x310cd1(0x142),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x15f)),'prompt':_0x310cd1(0x154)},{'id':_0x310cd1(0x176),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x160)),'prompt':_0x310cd1(0x144)},{'id':_0x310cd1(0x1a0),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x182)),'prompt':_0x310cd1(0x19e)},{'id':_0x310cd1(0x13c),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x19b)),'prompt':_0x310cd1(0x14f)}]},{'groupId':_0x310cd1(0x17b),'groupLabel':_0xb7c7a4(_0x891b93,_0x310cd1(0x167)),'commands':[{'id':_0x310cd1(0x17d),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x168)),'prompt':_0x310cd1(0x13b)},{'id':_0x310cd1(0x158),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x14d)),'prompt':_0x310cd1(0x13a)}]},{'groupId':_0x310cd1(0x14c),'groupLabel':_0xb7c7a4(_0x891b93,_0x310cd1(0x14e)),'commands':[{'id':_0x310cd1(0x1a2),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x1a4)),'prompt':_0x310cd1(0x172)},{'id':_0x310cd1(0x18b),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x148)),'prompt':_0x310cd1(0x15b)},{'id':_0x310cd1(0x199),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x18f)),'prompt':_0x310cd1(0x171)},{'id':_0x310cd1(0x187),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x145)),'prompt':_0x310cd1(0x165)},{'id':_0x310cd1(0x13d),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x137)),'prompt':_0x310cd1(0x162)}]},{'groupId':_0x310cd1(0x173),'groupLabel':_0xb7c7a4(_0x891b93,_0x310cd1(0x16d)),'commands':[{'id':_0x310cd1(0x184),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x156)),'prompt':_0x310cd1(0x143)},{'id':_0x310cd1(0x189),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x195)),'prompt':_0x310cd1(0x186)},{'id':_0x310cd1(0x15a),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x19c)),'prompt':_0x310cd1(0x14a)},{'id':_0x310cd1(0x155),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x15c)),'prompt':_0x310cd1(0x178)}]},{'groupId':_0x310cd1(0x159),'groupLabel':_0xb7c7a4(_0x891b93,_0x310cd1(0x194)),'commands':[{'id':_0x310cd1(0x191),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x140)),'prompt':_0x310cd1(0x19d)},{'id':_0x310cd1(0x14b),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x139)),'prompt':_0x310cd1(0x157)},{'id':_0x310cd1(0x17f),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x147)),'prompt':_0x310cd1(0x17c)},{'id':_0x310cd1(0x198),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x19f)),'prompt':_0x310cd1(0x16c)},{'id':_0x310cd1(0x188),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x185)),'prompt':_0x310cd1(0x138)},{'id':_0x310cd1(0x193),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x136)),'prompt':_0x310cd1(0x149)},{'id':_0x310cd1(0x161),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x169)),'prompt':_0x310cd1(0x177)},{'id':_0x310cd1(0x153),'label':_0xb7c7a4(_0x891b93,_0x310cd1(0x151)),'prompt':_0x310cd1(0x1a1)}]}];}
23
+ function _0x4a92(){const _0x321ffa=['confident','8121590zcjiGe','ai.assistant.preserveComments','find','translate','get','Change\x20style','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20writing','Confident','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','translateSpanish','business','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','casual','English','43drHdpS','AIAssistant','Casual','Translate\x20the\x20content\x20to\x20French\x20language.','Generate\x20from\x20selection','58254bPVKew','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Edit\x20or\x20review','5430336tOnYtB','Portuguese','480498gMtymB','Simplify\x20language','improveWriting','24933jhEjaT','define','5916022GwFlyd','changeStyle','French','summarize','push','poetic','Arabic','legal','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','412TyGnMi','changeTone','friendly','Simplified\x20Chinese','pluginName','Spanish','ai.assistant.commands','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','requires','Direct','filter','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','groupId','Translate\x20the\x20content\x20to\x20English\x20language.','translateEnglish','translatePortuguese','Journalism','config','direct','isPremiumPlugin','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','ai.assistant.extraCommandGroups','generate','makeShorter','forEach','translateChinese','journalism','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate','Translate\x20the\x20content\x20to\x20German\x20language.','includes','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','isOfficialPlugin','simplifyLanguage','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','3535670GWeQCv','concat','German','Change\x20tone','Legal','Summarize','Poetic','Make\x20longer','translateHindi','locale','editOrReview','translateGerman','makeLonger','set','continue','commands','Business','translateFrench','professional','45TNqsiO','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Continue','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Friendly','translateArabic','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Professional','Hindi','ai.assistant.removeCommands','Make\x20shorter','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'];_0x4a92=function(){return _0x321ffa;};return _0x4a92();}const _0x5e8e25=_0xffd3;(function(_0x22f47c,_0x11f49d){const _0x18f295=_0xffd3,_0x15f611=_0x22f47c();while(!![]){try{const _0x323fb5=-parseInt(_0x18f295(0xc8))/0x1*(parseInt(_0x18f295(0xcd))/0x2)+-parseInt(_0x18f295(0xd5))/0x3*(-parseInt(_0x18f295(0xe0))/0x4)+parseInt(_0x18f295(0x127))/0x5+-parseInt(_0x18f295(0xd2))/0x6+parseInt(_0x18f295(0xd7))/0x7+parseInt(_0x18f295(0xd0))/0x8+parseInt(_0x18f295(0x118))/0x9*(-parseInt(_0x18f295(0x105))/0xa);if(_0x323fb5===_0x11f49d)break;else _0x15f611['push'](_0x15f611['shift']());}catch(_0x153fdb){_0x15f611['push'](_0x15f611['shift']());}}}(_0x4a92,0xdcae6));import{Plugin as _0x58828a}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2d2de6}from'./aiassistantui.js';import{AIAssistantEditing as _0x3eb000}from'./aiassistantediting.js';import{getTranslation as _0x573914}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x5bb73e}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x58828a{static get[_0x5e8e25(0xe9)](){return[_0x2d2de6,_0x3eb000];}static get[_0x5e8e25(0xe4)](){const _0x2b35de=_0x5e8e25;return _0x2b35de(0xc9);}static get[_0x5e8e25(0x102)](){return!0x0;}static get[_0x5e8e25(0xf4)](){return!0x0;}constructor(_0xf21135){const _0x1b2f5b=_0x5e8e25;super(_0xf21135);const _0x5d93b0=_0xf21135[_0x1b2f5b(0xf2)],_0x5658f2=_0xf21135[_0x1b2f5b(0x10e)];_0x5d93b0[_0x1b2f5b(0xd6)](_0x1b2f5b(0x128),!0x0),_0x5d93b0[_0x1b2f5b(0xd6)](_0x1b2f5b(0xe6),getDefaultAICommands(_0x5658f2)),_0x5d93b0[_0x1b2f5b(0xd6)](_0x1b2f5b(0xf6),[]),_0x5d93b0[_0x1b2f5b(0xd6)](_0x1b2f5b(0x121),[]);let _0x3254c2=_0x5bb73e(_0x5d93b0[_0x1b2f5b(0x12b)](_0x1b2f5b(0xe6)),_0x5658f2);const _0x5f53c6=_0x5d93b0[_0x1b2f5b(0x12b)](_0x1b2f5b(0xf6)),_0x285da4=_0x5d93b0[_0x1b2f5b(0x12b)](_0x1b2f5b(0x121));_0x5f53c6[_0x1b2f5b(0xf9)](_0x1cdbcd=>{const _0x113722=_0x1b2f5b,_0x27b29c=_0x3254c2[_0x113722(0x129)](_0x442a81=>_0x442a81[_0x113722(0xed)]===_0x1cdbcd[_0x113722(0xed)]);_0x27b29c?_0x27b29c[_0x113722(0x114)]=_0x27b29c[_0x113722(0x114)][_0x113722(0x106)](_0x1cdbcd[_0x113722(0x114)]):_0x3254c2[_0x113722(0xdb)](_0x1cdbcd);}),_0x3254c2=_0x3254c2[_0x1b2f5b(0xeb)](_0x4daaf9=>!_0x285da4[_0x1b2f5b(0xff)](_0x4daaf9[_0x1b2f5b(0xed)])),_0x3254c2[_0x1b2f5b(0xf9)](_0x22e1e6=>{const _0x15c47c=_0x1b2f5b;_0x22e1e6[_0x15c47c(0x114)]=_0x22e1e6[_0x15c47c(0x114)][_0x15c47c(0xeb)](_0x591aab=>!_0x285da4[_0x15c47c(0xff)](_0x591aab['id']));}),_0x5d93b0[_0x1b2f5b(0x112)](_0x1b2f5b(0xe6),_0x3254c2);}}function _0xffd3(_0x58e848,_0x427f77){const _0x4a92c2=_0x4a92();return _0xffd3=function(_0xffd3ba,_0xfccfe8){_0xffd3ba=_0xffd3ba-0xc0;let _0x1e5416=_0x4a92c2[_0xffd3ba];return _0x1e5416;},_0xffd3(_0x58e848,_0x427f77);}export function getDefaultAICommands(_0x30af37){const _0x36efe3=_0x5e8e25;return[{'groupId':_0x36efe3(0x10f),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0xcf)),'commands':[{'id':_0x36efe3(0xd4),'label':_0x573914(_0x30af37,_0x36efe3(0x12e)),'prompt':_0x36efe3(0x124)},{'id':_0x36efe3(0xf8),'label':_0x573914(_0x30af37,_0x36efe3(0x122)),'prompt':_0x36efe3(0xfc)},{'id':_0x36efe3(0x111),'label':_0x573914(_0x30af37,_0x36efe3(0x10c)),'prompt':_0x36efe3(0xc4)},{'id':_0x36efe3(0x103),'label':_0x573914(_0x30af37,_0x36efe3(0xd3)),'prompt':_0x36efe3(0x119)}]},{'groupId':_0x36efe3(0xf7),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0xcc)),'commands':[{'id':_0x36efe3(0xda),'label':_0x573914(_0x30af37,_0x36efe3(0x10a)),'prompt':_0x36efe3(0xce)},{'id':_0x36efe3(0x113),'label':_0x573914(_0x30af37,_0x36efe3(0x11a)),'prompt':_0x36efe3(0xf5)}]},{'groupId':_0x36efe3(0xe1),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0x108)),'commands':[{'id':_0x36efe3(0x117),'label':_0x573914(_0x30af37,_0x36efe3(0x11f)),'prompt':_0x36efe3(0xec)},{'id':_0x36efe3(0xc6),'label':_0x573914(_0x30af37,_0x36efe3(0xca)),'prompt':_0x36efe3(0x100)},{'id':_0x36efe3(0xf3),'label':_0x573914(_0x30af37,_0x36efe3(0xea)),'prompt':_0x36efe3(0x101)},{'id':_0x36efe3(0x126),'label':_0x573914(_0x30af37,_0x36efe3(0xc0)),'prompt':_0x36efe3(0x104)},{'id':_0x36efe3(0xe2),'label':_0x573914(_0x30af37,_0x36efe3(0x11c)),'prompt':_0x36efe3(0xc1)}]},{'groupId':_0x36efe3(0xd8),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0x12c)),'commands':[{'id':_0x36efe3(0xc3),'label':_0x573914(_0x30af37,_0x36efe3(0x115)),'prompt':_0x36efe3(0xe8)},{'id':_0x36efe3(0xde),'label':_0x573914(_0x30af37,_0x36efe3(0x109)),'prompt':_0x36efe3(0x11b)},{'id':_0x36efe3(0xfb),'label':_0x573914(_0x30af37,_0x36efe3(0xf1)),'prompt':_0x36efe3(0x125)},{'id':_0x36efe3(0xdc),'label':_0x573914(_0x30af37,_0x36efe3(0x10b)),'prompt':_0x36efe3(0xdf)}]},{'groupId':_0x36efe3(0x12a),'groupLabel':_0x573914(_0x30af37,_0x36efe3(0xfd)),'commands':[{'id':_0x36efe3(0xef),'label':_0x573914(_0x30af37,_0x36efe3(0xc7)),'prompt':_0x36efe3(0xee)},{'id':_0x36efe3(0xc2),'label':_0x573914(_0x30af37,_0x36efe3(0xe5)),'prompt':_0x36efe3(0xc5)},{'id':_0x36efe3(0xf0),'label':_0x573914(_0x30af37,_0x36efe3(0xd1)),'prompt':_0x36efe3(0x11e)},{'id':_0x36efe3(0x110),'label':_0x573914(_0x30af37,_0x36efe3(0x107)),'prompt':_0x36efe3(0xfe)},{'id':_0x36efe3(0x116),'label':_0x573914(_0x30af37,_0x36efe3(0xd9)),'prompt':_0x36efe3(0xcb)},{'id':_0x36efe3(0xfa),'label':_0x573914(_0x30af37,_0x36efe3(0xe3)),'prompt':_0x36efe3(0xe7)},{'id':_0x36efe3(0x10d),'label':_0x573914(_0x30af37,_0x36efe3(0x120)),'prompt':_0x36efe3(0x123)},{'id':_0x36efe3(0x11d),'label':_0x573914(_0x30af37,_0x36efe3(0xdd)),'prompt':_0x36efe3(0x12d)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15ebf1=_0x34a8;(function(_0x216211,_0x205a87){const _0x52412f=_0x34a8,_0x449755=_0x216211();while(!![]){try{const _0x3148e6=parseInt(_0x52412f(0x10a))/0x1+-parseInt(_0x52412f(0x12e))/0x2+-parseInt(_0x52412f(0x143))/0x3*(parseInt(_0x52412f(0x107))/0x4)+-parseInt(_0x52412f(0x123))/0x5*(parseInt(_0x52412f(0x12b))/0x6)+-parseInt(_0x52412f(0x108))/0x7*(parseInt(_0x52412f(0x14a))/0x8)+-parseInt(_0x52412f(0x10d))/0x9+parseInt(_0x52412f(0xf3))/0xa;if(_0x3148e6===_0x205a87)break;else _0x449755['push'](_0x449755['shift']());}catch(_0x54cf99){_0x449755['push'](_0x449755['shift']());}}}(_0xa6ab,0xb0318));import{uid as _0x4c39e5}from'ckeditor5/src/utils.js';import{Plugin as _0xc35bc1}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x822542}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3819a3,ViewDataTransfer as _0x280c12}from'ckeditor5/src/engine.js';const w=globalThis[_0x15ebf1(0x131)],f=_0x15ebf1(0x109);function _0xa6ab(){const _0x26b8b0=['isOfficialPlugin','addClass','41251860ugPsaN','isPremiumPlugin','editing','hideFakeVisualSelection','getLastMatchingPosition','selection','lowest','getSelectedTableCells','createRange','fromCharCode','get','showFakeVisualSelection','findAncestor','markerToHighlight','TableUtils','getRange','plugins','markerRange','isContent','editor','62588ClEQRw','26117zkkRfs','ai-ui','343143IiPQtu','createUIElement','parse','10904688GQxqjM','data','getRanges','for','document','afterInit','setData','getRows','_createEmptyTableRows','setSelection','length','_getTableRowCountFromContent','getColumnIndexes','init','start','getMarkersGroup','has','_getDefaultInsertBelowPosition','forEach','addMarker','config','_pasteHTMLUsingClipboard','5plehWz','markers','join','resultRange','href','element','getChild','schema','2259282pvmzff','first','filter','1544184MNhFLz','insertContent','insertContentBelow','DataTransfer','span','table','fire','ck-fake-ai-selection','createPositionAfter','text/html','createPositionAt','pluginName','map','canEditAt','end','model','ck-fake-ai-selection_collapsed','change','createSelection','paste','from','9VbcJeu','off','contentInsertion','_resetContentOfSelectedTableCells','getChildren','_getAISelection','ck-ai-assistant-ui_theme','2872uyOnyb','removeMarker','isAtEnd','_prepareTableInsertBelowPosition','conversion','getFirstRange','insertRows','last','deleteContent','editingDowncast','isCollapsed','markerToElement','getLastPosition','getRowIndexes','push','AIAssistantEditing','updateMarker','getSelectedBlocks','ai.assistant.useTheme','once','pop'];_0xa6ab=function(){return _0x26b8b0;};return _0xa6ab();}function _0x34a8(_0x55c737,_0x25a214){const _0xa6ab9c=_0xa6ab();return _0x34a8=function(_0x34a8a2,_0x28dbe6){_0x34a8a2=_0x34a8a2-0xef;let _0x179f0d=_0xa6ab9c[_0x34a8a2];return _0x179f0d;},_0x34a8(_0x55c737,_0x25a214);}export class AIAssistantEditing extends _0xc35bc1{static get[_0x15ebf1(0x139)](){const _0x304da3=_0x15ebf1;return _0x304da3(0x159);}static get[_0x15ebf1(0xf1)](){return!0x0;}static get[_0x15ebf1(0xf4)](){return!0x0;}[_0x15ebf1(0x11a)](){const _0xa93985=_0x15ebf1,{editor:_0x4c0eb7}=this,_0x1d5685=[_0xa93985(0x135)];_0x4c0eb7[_0xa93985(0x121)][_0xa93985(0xfd)](_0xa93985(0x15c))&&_0x1d5685[_0xa93985(0x158)](_0xa93985(0x149)),_0x4c0eb7[_0xa93985(0x14e)][_0xa93985(0x110)](_0xa93985(0x153))[_0xa93985(0x100)]({'model':f,'view':{'classes':_0x1d5685,'priority':0xc}}),_0x4c0eb7[_0xa93985(0x14e)][_0xa93985(0x110)](_0xa93985(0x153))[_0xa93985(0x155)]({'model':f,'view':(_0x29dd71,{writer:_0x2d0a7a})=>{const _0xd09df0=_0xa93985;if(!_0x29dd71[_0xd09df0(0x104)][_0xd09df0(0x154)])return null;const _0x2b5278=_0x2d0a7a[_0xd09df0(0x10b)](_0xd09df0(0x132));return _0x2d0a7a[_0xd09df0(0xf2)]([_0xd09df0(0x135),_0xd09df0(0x13e)],_0x2b5278),_0x2b5278;}});}[_0x15ebf1(0x112)](){!async function(_0x535bb4){const _0x50d540=_0x2d77d3([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x12beec=0x3dffc4e1,_0x3de762=0x3df840e9^_0x12beec,_0x18685d=window[_0x2d77d3([0x44,0x61,0x74,0x65])][_0x2d77d3([0x6e,0x6f,0x77])](),_0x490aff=_0x535bb4[_0x2d77d3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e8954=new window[(_0x2d77d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fb4b5=>{_0x490aff[_0x2d77d3([0x6f,0x6e,0x63,0x65])](_0x2d77d3([0x72,0x65,0x61,0x64,0x79]),_0x4fb4b5);}),_0x2159c6={[_0x2d77d3([0x6b,0x74,0x79])]:_0x2d77d3([0x45,0x43]),[_0x2d77d3([0x75,0x73,0x65])]:_0x2d77d3([0x73,0x69,0x67]),[_0x2d77d3([0x63,0x72,0x76])]:_0x2d77d3([0x50,0x2d,0x32,0x35,0x36]),[_0x2d77d3([0x78])]:_0x2d77d3([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]),[_0x2d77d3([0x79])]:_0x2d77d3([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]),[_0x2d77d3([0x61,0x6c,0x67])]:_0x2d77d3([0x45,0x53,0x32,0x35,0x36])},_0x2918a4=_0x490aff[_0x2d77d3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d77d3([0x67,0x65,0x74])](_0x2d77d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31832a(){let _0x24648e,_0x3e9768=null,_0x23d468=null;try{if(_0x2918a4==_0x2d77d3([0x47,0x50,0x4c]))return _0x2d77d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24648e=_0x21801e(),!_0x24648e)return _0x2d77d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24648e[_0x2d77d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23d468=_0x416fe5(_0x24648e[_0x2d77d3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24648e[_0x2d77d3([0x6a,0x74,0x69])])),await _0x4327bc()?_0x23f9ac()?_0x5c40b2()?_0x2d77d3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x586587()?(_0x24648e[_0x2d77d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d77d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e9768=_0x983841(_0x2d77d3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc49cb1()):_0x2d77d3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d77d3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d77d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d77d3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c40b2(){const _0x348cb2=[_0x2d77d3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d77d3([0x74,0x72,0x69,0x61,0x6c])][_0x2d77d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24648e[_0x2d77d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18685d/0x3e8:0xe10*_0x3de762;return _0x24648e[_0x2d77d3([0x65,0x78,0x70])]<_0x348cb2;}function _0x23f9ac(){const _0x52e43e=_0x24648e[_0x2d77d3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52e43e&&(!!_0x52e43e[_0x2d77d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d77d3([0x2a]))||!!_0x52e43e[_0x2d77d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d77d3([0x41,0x49])));}function _0x586587(){const _0x17dcd2=_0x34a8,_0x4478f9=_0x24648e[_0x2d77d3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4478f9||0x0==_0x4478f9[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e3922}=new URL(window[_0x2d77d3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x17dcd2(0x127)]);if(_0x4478f9[_0x2d77d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e3922))return!0x0;const _0x9b468=_0x1e3922[_0x2d77d3([0x73,0x70,0x6c,0x69,0x74])](_0x2d77d3([0x2e]));return _0x4478f9[_0x2d77d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42ac2d=>_0x42ac2d[_0x2d77d3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d77d3([0x2a])))[_0x2d77d3([0x6d,0x61,0x70])](_0x13d2c6=>_0x13d2c6[_0x2d77d3([0x73,0x70,0x6c,0x69,0x74])](_0x2d77d3([0x2e])))[_0x2d77d3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf09033=>_0xf09033[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x9b468[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d77d3([0x6d,0x61,0x70])](_0x2fbe49=>Array(_0x9b468[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2fbe49[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d77d3([0x66,0x69,0x6c,0x6c])](_0x2fbe49[0x0]===_0x2d77d3([0x2a])?_0x2d77d3([0x2a]):'')[_0x2d77d3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2fbe49))[_0x2d77d3([0x73,0x6f,0x6d,0x65])](_0x3c9bc4=>_0x9b468[_0x2d77d3([0x65,0x76,0x65,0x72,0x79])]((_0x227f90,_0x23efde)=>_0x3c9bc4[_0x23efde]===_0x227f90||_0x3c9bc4[_0x23efde]===_0x2d77d3([0x2a])));}function _0xc49cb1(){return _0x3e9768&&_0x23d468?new window[(_0x2d77d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x467157,_0x2278f0)=>{_0x3e9768[_0x2d77d3([0x74,0x68,0x65,0x6e])](_0x467157,_0x2278f0),_0x23d468[_0x2d77d3([0x74,0x68,0x65,0x6e])](_0x28b1c7=>{_0x28b1c7!=_0x2d77d3([0x56,0x61,0x6c,0x69,0x64])&&_0x467157(_0x28b1c7);},_0x2278f0);}):_0x3e9768||_0x23d468||_0x2d77d3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x416fe5(_0x78662e,_0x2c90bf){return new window[(_0x2d77d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d4722=>{if(_0x560c1d())return _0x5d4722(_0x2d77d3([0x56,0x61,0x6c,0x69,0x64]));_0x22bc0e(),_0x490aff[_0x2d77d3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d77d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35c114=!0x1;const _0x1efda1=_0x4c39e5();function _0x38b68e(_0x1f596){return!!_0x1f596&&(typeof _0x1f596===_0x2d77d3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f596===_0x2d77d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f596[_0x2d77d3([0x74,0x68,0x65,0x6e])]===_0x2d77d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f596[_0x2d77d3([0x63,0x61,0x74,0x63,0x68])]===_0x2d77d3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27de66(_0x6b0fe8){_0x3c6e83(_0x6b0fe8)[_0x2d77d3([0x74,0x68,0x65,0x6e])](_0x579a39=>{if(!_0x579a39||_0x579a39[_0x2d77d3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d77d3([0x6f,0x6b]))return _0x2d77d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a5f31(_0x5e586a(_0x1efda1+_0x2c90bf))!=_0x579a39[_0x2d77d3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d77d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d77d3([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d77d3([0x74,0x68,0x65,0x6e])](_0x17264b=>(_0x5c91ff(),_0x17264b),()=>{const _0x5c58be=_0x149847();return null==_0x5c58be?(_0x5c91ff(),_0x2d77d3([0x56,0x61,0x6c,0x69,0x64])):_0x2d77d3(_0x18685d-_0x5c58be>(0x19f340e1^_0x12beec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d77d3([0x74,0x68,0x65,0x6e])](_0x5d4722)[_0x2d77d3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d4722(_0x2d77d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bc6f5=0x3dc92a61^_0x12beec;function _0x5c91ff(){const _0x22b9db=_0x2d77d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a5f31(_0x5e586a(_0x78662e)),_0x32064a=_0x2689e6(_0x4a5f31(window[_0x2d77d3([0x4d,0x61,0x74,0x68])][_0x2d77d3([0x63,0x65,0x69,0x6c])](_0x18685d/_0x3bc6f5)));window[_0x2d77d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d77d3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22b9db,_0x32064a);}function _0x149847(){const _0x27b1b7=_0x2d77d3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a5f31(_0x5e586a(_0x78662e)),_0x3117aa=window[_0x2d77d3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d77d3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27b1b7);return _0x3117aa?window[_0x2d77d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2689e6(_0x3117aa),0x10)*_0x3bc6f5:null;}function _0x3c6e83(_0x4f733a){return new window[(_0x2d77d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4708ca,_0x431f3a)=>{_0x4f733a[_0x2d77d3([0x74,0x68,0x65,0x6e])](_0x4708ca,_0x431f3a),window[_0x2d77d3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x431f3a,0x3dfe1021^_0x12beec);});}}_0x490aff[_0x2d77d3([0x6f,0x6e])](_0x2d77d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x897292,_0x5d72ad)=>{if(_0x5d72ad[0x0]!=_0x78662e)return _0x5d4722(_0x2d77d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d72ad[0x1]={..._0x5d72ad[0x1],[_0x2d77d3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1efda1};},{[_0x2d77d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d77d3([0x68,0x69,0x67,0x68])}),_0x490aff[_0x2d77d3([0x6f,0x6e])](_0x2d77d3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7677=>{_0x38b68e(_0x2c7677[_0x2d77d3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35c114=!0x0,_0x27de66(_0x2c7677[_0x2d77d3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d77d3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d77d3([0x6c,0x6f,0x77])}),_0x3e8954[_0x2d77d3([0x74,0x68,0x65,0x6e])](()=>{_0x35c114||_0x5d4722(_0x2d77d3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x560c1d(){return _0x490aff[_0x2d77d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d77d3([0x76,0x69,0x65,0x77])][_0x2d77d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d77d3([0x61,0x75,0x74,0x6f]);}function _0x22bc0e(){_0x490aff[_0x2d77d3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d77d3([0x76,0x69,0x65,0x77])][_0x2d77d3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d77d3([0x61,0x75,0x74,0x6f]);}}function _0x983841(_0x17e991){const _0x17e1f6=[new window[(_0x2d77d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158e81=>setTimeout(_0x158e81,0x3df6fa2d^_0x12beec)),_0x3e8954[_0x2d77d3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d77d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21086f=>{let _0x50e798=0x0;_0x490aff[_0x2d77d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d77d3([0x6f,0x6e])](_0x2d77d3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b45bf,_0x6b0028)=>{_0x6b0028[0x0][_0x2d77d3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50e798++,_0x50e798==(0x3dffc109^_0x12beec)&&(_0x21086f(),_0x4b45bf[_0x2d77d3([0x6f,0x66,0x66])]());});}))];return window[_0x2d77d3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d77d3([0x72,0x61,0x63,0x65])](_0x17e1f6)[_0x2d77d3([0x74,0x68,0x65,0x6e])](()=>_0x17e991);}async function _0x53619f(){await _0x3e8954,_0x490aff[_0x2d77d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d77d3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4597f5,_0x490aff[_0x2d77d3([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d77d3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4597f5,_0x490aff[_0x2d77d3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d77d3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x264b6a(_0x5a3e9f){const _0x1f5859=_0xc1f70f();_0x490aff[_0x1f5859]=_0x2d77d3([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a3e9f,_0x5a3e9f!=_0x2d77d3([0x56,0x61,0x6c,0x69,0x64])&&_0x53619f();}function _0xc1f70f(){const _0xf43dad=window[_0x2d77d3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d77d3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d77d3([0x6e,0x6f,0x77])]())[_0x2d77d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d77d3([0x2e]),'');let _0x560107=_0x2d77d3([0x6e]);for(let _0x2f0f73=0x0;_0x2f0f73<_0xf43dad[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f0f73+=0x2){let _0x2b7731=window[_0x2d77d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf43dad[_0x2d77d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f0f73,_0x2f0f73+0x2));_0x2b7731>=_0x50d540[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b7731-=_0x50d540[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x560107+=_0x50d540[_0x2b7731];}return _0x560107;}function _0x21801e(){const _0x2a6cfc=_0x2918a4[_0x2d77d3([0x73,0x70,0x6c,0x69,0x74])](_0x2d77d3([0x2e]));if(0x3!=_0x2a6cfc[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa75316(_0x2a6cfc[0x1]);function _0xa75316(_0x2cc9a6){const _0x31bf56=_0x50775d(_0x2cc9a6);return _0x31bf56&&_0x3f0934()?_0x31bf56:null;function _0x3f0934(){const _0x31321a=_0x31bf56[_0x2d77d3([0x6a,0x74,0x69])],_0x49e89e=window[_0x2d77d3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31321a[_0x2d77d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31321a[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x288955={..._0x31bf56,[_0x2d77d3([0x6a,0x74,0x69])]:_0x31321a[_0x2d77d3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31321a[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x288955[_0x2d77d3([0x76,0x63])],_0x5e586a(_0x288955)==_0x49e89e;}}}async function _0x4327bc(){let _0x5630f=!0x0;try{const _0x2c557b=_0x2918a4[_0x2d77d3([0x73,0x70,0x6c,0x69,0x74])](_0x2d77d3([0x2e])),[_0x37850a,_0x680b18,_0x5622da]=_0x2c557b;return _0x5e2007(_0x37850a),await _0xf619fd(_0x37850a,_0x680b18,_0x5622da),_0x5630f;}catch{return!0x1;}function _0x5e2007(_0x25f011){const _0x5d0ad3=_0x50775d(_0x25f011);_0x5d0ad3&&_0x5d0ad3[_0x2d77d3([0x61,0x6c,0x67])]==_0x2d77d3([0x45,0x53,0x32,0x35,0x36])||(_0x5630f=!0x1);}async function _0xf619fd(_0x174399,_0x406deb,_0xef3704){const _0x55c0b5=window[_0x2d77d3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d77d3([0x66,0x72,0x6f,0x6d])](_0x3f2901(_0xef3704),_0xdebafc=>_0xdebafc[_0x2d77d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x402b9d=new window[(_0x2d77d3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d77d3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x174399+_0x2d77d3([0x2e])+_0x406deb),_0x5178be=window[_0x2d77d3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d77d3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5178be)return;const _0x5e1961=await _0x5178be[_0x2d77d3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d77d3([0x6a,0x77,0x6b]),_0x2159c6,{[_0x2d77d3([0x6e,0x61,0x6d,0x65])]:_0x2d77d3([0x45,0x43,0x44,0x53,0x41]),[_0x2d77d3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d77d3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d77d3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5178be[_0x2d77d3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d77d3([0x6e,0x61,0x6d,0x65])]:_0x2d77d3([0x45,0x43,0x44,0x53,0x41]),[_0x2d77d3([0x68,0x61,0x73,0x68])]:{[_0x2d77d3([0x6e,0x61,0x6d,0x65])]:_0x2d77d3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e1961,_0x55c0b5,_0x402b9d)||(_0x5630f=!0x1);}}function _0x50775d(_0x1a2e55){return _0x1a2e55[_0x2d77d3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d77d3([0x65,0x79]))?JSON[_0x2d77d3([0x70,0x61,0x72,0x73,0x65])](_0x3f2901(_0x1a2e55)):null;}function _0x3f2901(_0x4aef5a){return window[_0x2d77d3([0x61,0x74,0x6f,0x62])](_0x4aef5a[_0x2d77d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d77d3([0x2b]))[_0x2d77d3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d77d3([0x2f])));}function _0x5e586a(_0x5ee76a){let _0x7c6687=0x1505;function _0xddf4e5(_0x426e83){for(let _0x4f78e0=0x0;_0x4f78e0<_0x426e83[_0x2d77d3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f78e0++){const _0x48fb78=_0x426e83[_0x2d77d3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f78e0);_0x7c6687=(_0x7c6687<<0x5)+_0x7c6687+_0x48fb78,_0x7c6687&=_0x7c6687;}}function _0xaf21da(_0x2b32be){Array[_0x2d77d3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b32be)?_0x2b32be[_0x2d77d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xaf21da):_0x2b32be&&typeof _0x2b32be==_0x2d77d3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d77d3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b32be)[_0x2d77d3([0x73,0x6f,0x72,0x74])]()[_0x2d77d3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x693c71,_0x502aeb])=>{_0xddf4e5(_0x693c71),_0xaf21da(_0x502aeb);}):_0xddf4e5(window[_0x2d77d3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b32be));}return _0xaf21da(_0x5ee76a),_0x7c6687>>>0x0;}function _0x4a5f31(_0x348f89){return _0x348f89[_0x2d77d3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d77d3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d77d3([0x30]));}function _0x2689e6(_0x5ec29c){return _0x5ec29c[_0x2d77d3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d77d3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d77d3([0x6a,0x6f,0x69,0x6e])]('');}function _0x4597f5(){}function _0x2d77d3(_0x1f7bdb){const _0x301201=_0x34a8;return _0x1f7bdb[_0x301201(0x13a)](_0x5a980c=>String[_0x301201(0xfc)](_0x5a980c))[_0x301201(0x125)]('');}_0x264b6a(await _0x31832a());}(this);}[_0x15ebf1(0xfe)](){const _0x555c32=_0x15ebf1,_0x37ba8e=this[_0x555c32(0x106)][_0x555c32(0x13d)];_0x37ba8e[_0x555c32(0x13f)](_0x113dfb=>{const _0x2a183c=_0x555c32,_0x27a966=_0x37ba8e[_0x2a183c(0x111)][_0x2a183c(0xf8)][_0x2a183c(0x10f)]();let _0x593095=0x0;for(const _0x43c40a of _0x27a966){const _0x51a5a6=f+':'+_0x593095;if(_0x37ba8e[_0x2a183c(0x124)][_0x2a183c(0x11d)](_0x51a5a6))_0x113dfb[_0x2a183c(0x15a)](_0x51a5a6,{'range':_0x43c40a});else{if(_0x43c40a[_0x2a183c(0x11b)][_0x2a183c(0x14c)]){const _0x225244=_0x43c40a[_0x2a183c(0x11b)][_0x2a183c(0xf7)](({item:_0xb2b4})=>!_0x37ba8e[_0x2a183c(0x12a)][_0x2a183c(0x105)](_0xb2b4),{'boundaries':_0x43c40a});_0x113dfb[_0x2a183c(0x120)](_0x51a5a6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x113dfb[_0x2a183c(0xfb)](_0x225244,_0x43c40a[_0x2a183c(0x13c)])});}else _0x113dfb[_0x2a183c(0x120)](_0x51a5a6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x43c40a});}_0x593095++;}});}[_0x15ebf1(0xf6)](){const _0x1a803b=_0x15ebf1,_0x2fe542=this[_0x1a803b(0x106)][_0x1a803b(0x13d)],_0x5cfa4c=Array[_0x1a803b(0x142)](this[_0x1a803b(0x106)][_0x1a803b(0x13d)][_0x1a803b(0x124)][_0x1a803b(0x11c)](f));_0x5cfa4c[_0x1a803b(0x117)]&&_0x2fe542[_0x1a803b(0x13f)](_0x64b9cb=>{const _0x2ae81a=_0x1a803b;_0x5cfa4c[_0x2ae81a(0x11f)](_0x5f259c=>{const _0x2deecc=_0x2ae81a;_0x64b9cb[_0x2deecc(0x14b)](_0x5f259c);});});}[_0x15ebf1(0x12f)](_0x4a448e,_0x1862d6){const _0x4669ff=_0x15ebf1,_0x266723=this[_0x4669ff(0x148)](),_0x48f4ac=_0x1862d6||_0x266723[_0x4669ff(0x14f)]();this[_0x4669ff(0x106)][_0x4669ff(0x13d)][_0x4669ff(0x13b)](_0x48f4ac)&&this[_0x4669ff(0x106)][_0x4669ff(0x13d)][_0x4669ff(0x13f)](_0x255a3b=>{const _0x3c4e03=_0x4669ff;this[_0x3c4e03(0xf6)](),_0x1862d6||this[_0x3c4e03(0x146)](_0x255a3b,_0x266723),this[_0x3c4e03(0x122)]({'insertAt':_0x48f4ac,'writer':_0x255a3b,'html':_0x4a448e});});}[_0x15ebf1(0x130)](_0x23cb95){const _0x4938a2=_0x15ebf1,{model:_0xf6a6d3}=this[_0x4938a2(0x106)],_0x3df88f=this[_0x4938a2(0x148)]();_0xf6a6d3[_0x4938a2(0x13f)](()=>{const _0x3142ff=_0x4938a2,_0x508007=this[_0x3142ff(0x14d)](_0x23cb95,_0x3df88f)||this[_0x3142ff(0x11e)](_0x3df88f);this[_0x3142ff(0x12f)](_0x23cb95,_0x508007);});}[_0x15ebf1(0x148)](){const _0x3bf45a=_0x15ebf1,_0x441af0=this[_0x3bf45a(0x106)][_0x3bf45a(0x13d)],_0xe4e0a2=Array[_0x3bf45a(0x142)](_0x441af0[_0x3bf45a(0x124)][_0x3bf45a(0x11c)](f))[_0x3bf45a(0x13a)](_0x20a9c1=>_0x20a9c1[_0x3bf45a(0x102)]());return _0x441af0[_0x3bf45a(0x140)](_0xe4e0a2);}[_0x15ebf1(0x122)]({writer:_0x33d043,html:_0x28fabf,insertAt:_0x27cff1}){const _0x4a32a5=_0x15ebf1,{view:_0x5b2741}=this[_0x4a32a5(0x106)][_0x4a32a5(0xf5)],_0x2b95f4=this[_0x4a32a5(0x106)][_0x4a32a5(0x103)][_0x4a32a5(0xfd)](_0x822542),_0xb5425=new w();_0xb5425[_0x4a32a5(0x113)](_0x4a32a5(0x137),_0x28fabf);const _0x43e7a1=new ClipboardEvent(_0x4a32a5(0x141),{'clipboardData':_0xb5425}),_0x5ec698=new _0x3819a3(_0x5b2741,_0x43e7a1,{'dataTransfer':new _0x280c12(_0xb5425)});_0x33d043[_0x4a32a5(0x116)](_0x27cff1);const _0x153627=(_0x42eee8,_0x2d2acf)=>{const _0x44e546=_0x4a32a5;_0x2d2acf[_0x44e546(0x126)]&&_0x33d043[_0x44e546(0x116)](_0x2d2acf[_0x44e546(0x126)]);};_0x2b95f4[_0x4a32a5(0xef)](_0x4a32a5(0x145),_0x153627,{'priority':_0x4a32a5(0xf9)}),_0x5b2741[_0x4a32a5(0x111)][_0x4a32a5(0x134)](_0x4a32a5(0x141),_0x5ec698),_0x2b95f4[_0x4a32a5(0x144)](_0x4a32a5(0x145),_0x153627);}[_0x15ebf1(0x11e)](_0x17c8ae){const _0x2a8d16=_0x15ebf1,{model:_0x19608e}=this[_0x2a8d16(0x106)],_0x248be3=Array[_0x2a8d16(0x142)](_0x17c8ae[_0x2a8d16(0x15b)]());return _0x248be3[_0x2a8d16(0x117)]?_0x19608e[_0x2a8d16(0x136)](_0x248be3[_0x2a8d16(0xf0)]()):_0x17c8ae[_0x2a8d16(0x156)]();}[_0x15ebf1(0x14d)](_0x13ccfe,_0x603b4){const _0x14e4d5=_0x15ebf1,{model:_0x2f8c00,plugins:_0x378e28}=this[_0x14e4d5(0x106)];if(_0x378e28[_0x14e4d5(0x11d)](_0x14e4d5(0x101))){const _0x31033f=_0x378e28[_0x14e4d5(0xfd)](_0x14e4d5(0x101))[_0x14e4d5(0xfa)](_0x603b4);if(_0x31033f[_0x14e4d5(0x117)]){const _0x4775db=this[_0x14e4d5(0x118)](_0x13ccfe),_0x5dd20d=this[_0x14e4d5(0x115)](_0x31033f,_0x4775db);return _0x2f8c00[_0x14e4d5(0x138)](_0x5dd20d,0x0);}}return null;}[_0x15ebf1(0x118)](_0x35739a){const _0x10d9a7=_0x15ebf1,_0x200288=this[_0x10d9a7(0x106)][_0x10d9a7(0x103)][_0x10d9a7(0xfd)](_0x10d9a7(0x101)),_0x4942e9=this[_0x10d9a7(0x106)][_0x10d9a7(0x10e)][_0x10d9a7(0x10c)](_0x35739a),_0x4cdf40=Array[_0x10d9a7(0x142)](_0x4942e9[_0x10d9a7(0x147)]())[_0x10d9a7(0x12d)](_0x4e8d58=>_0x4e8d58['is'](_0x10d9a7(0x128),_0x10d9a7(0x133)));let _0x1e0e73=0x0;return _0x4cdf40[_0x10d9a7(0x11f)](_0x40f14c=>{const _0x36c311=_0x10d9a7;_0x1e0e73+=_0x200288[_0x36c311(0x114)](_0x40f14c);}),_0x1e0e73;}[_0x15ebf1(0x115)](_0x5b25d3,_0x4e7747){const _0x439ea1=_0x15ebf1,_0x5b2df8=this[_0x439ea1(0x106)][_0x439ea1(0x103)][_0x439ea1(0xfd)](_0x439ea1(0x101)),_0x57319b=_0x5b2df8[_0x439ea1(0x157)](_0x5b25d3),_0x331dba=_0x5b2df8[_0x439ea1(0x119)](_0x5b25d3),_0x15420a=_0x57319b[_0x439ea1(0x151)]+0x1,_0x293631=_0x331dba[_0x439ea1(0x12c)],_0x23806b=_0x5b25d3[0x0][_0x439ea1(0xff)](_0x439ea1(0x133));for(let _0x1582f1=0x0;_0x1582f1<_0x4e7747;_0x1582f1++)_0x5b2df8[_0x439ea1(0x150)](_0x23806b,{'at':_0x15420a});return _0x23806b[_0x439ea1(0x129)](_0x15420a)[_0x439ea1(0x129)](_0x293631);}[_0x15ebf1(0x146)](_0x569a1,_0xd70034){const _0x33b84d=_0x15ebf1,{plugins:_0x24cfee}=this[_0x33b84d(0x106)],{model:_0xe6a991}=_0x569a1;if(!_0x24cfee[_0x33b84d(0x11d)](_0x33b84d(0x101)))return;_0x24cfee[_0x33b84d(0xfd)](_0x33b84d(0x101))[_0x33b84d(0xfa)](_0xd70034)[_0x33b84d(0x117)]&&_0xe6a991[_0x33b84d(0x152)](_0xd70034);}}
23
+ const _0x39f3ea=_0x1c72;(function(_0x3d19fa,_0xa797d0){const _0x41e0c7=_0x1c72,_0x502661=_0x3d19fa();while(!![]){try{const _0x1515ac=parseInt(_0x41e0c7(0x138))/0x1+-parseInt(_0x41e0c7(0x177))/0x2*(-parseInt(_0x41e0c7(0x160))/0x3)+-parseInt(_0x41e0c7(0x17e))/0x4*(parseInt(_0x41e0c7(0x14f))/0x5)+-parseInt(_0x41e0c7(0x156))/0x6*(parseInt(_0x41e0c7(0x129))/0x7)+parseInt(_0x41e0c7(0x11b))/0x8+parseInt(_0x41e0c7(0x154))/0x9*(-parseInt(_0x41e0c7(0x185))/0xa)+parseInt(_0x41e0c7(0x12f))/0xb;if(_0x1515ac===_0xa797d0)break;else _0x502661['push'](_0x502661['shift']());}catch(_0x3008ce){_0x502661['push'](_0x502661['shift']());}}}(_0x3adf,0xac0bb));import{uid as _0x512362}from'ckeditor5/src/utils.js';import{Plugin as _0x4ed674}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x36236b}from'ckeditor5/src/clipboard.js';function _0x3adf(){const _0x4c1e9b=['element','editingDowncast','getSelectedTableCells','off','table','markerToElement','_resetContentOfSelectedTableCells','parse','isOfficialPlugin','deleteContent','showFakeVisualSelection','_getDefaultInsertBelowPosition','addMarker','afterInit','first','getRowIndexes','selection','setSelection','contentInsertion','2531728eUGOjB','lowest','filter','editing','getMarkersGroup','isAtEnd','isCollapsed','276SXbtuk','pop','ck-ai-assistant-ui_theme','ai-ui','insertRows','editor','insertContent','195830KgOpCV','DataTransfer','has','_createEmptyTableRows','TableUtils','4450424ehfnlK','push','getChildren','ck-fake-ai-selection','forEach','resultRange','getLastPosition','fire','_pasteHTMLUsingClipboard','markerRange','getChild','getFirstRange','paste','_getTableRowCountFromContent','3249127inwZCq','span','getLastMatchingPosition','createPositionAt','getColumnIndexes','plugins','10267983FouNzg','insertContentBelow','canEditAt','document','length','start','text/html','removeMarker','updateMarker','475574hFdLaU','fromCharCode','once','schema','for','end','model','AIAssistantEditing','getRanges','getRows','init','last','isPremiumPlugin','createPositionAfter','get','change','pluginName','markerToHighlight','isContent','from','config','_getAISelection','getSelectedBlocks','100200zFIJle','createRange','_prepareTableInsertBelowPosition','data','addClass','99jAsBXp','markers','12DLDJoW','setData','ai.assistant.useTheme','join','createSelection','href','findAncestor','hideFakeVisualSelection','ck-fake-ai-selection_collapsed','createUIElement','3LyyWoE','map','getRange','conversion'];_0x3adf=function(){return _0x4c1e9b;};return _0x3adf();}import{ViewDocumentDomEventData as _0x36df72,ViewDataTransfer as _0x59453d}from'ckeditor5/src/engine.js';function _0x1c72(_0x4f7f10,_0xaa0a9c){const _0x3adf08=_0x3adf();return _0x1c72=function(_0x1c722a,_0x117cb9){_0x1c722a=_0x1c722a-0x119;let _0x58797b=_0x3adf08[_0x1c722a];return _0x58797b;},_0x1c72(_0x4f7f10,_0xaa0a9c);}const w=globalThis[_0x39f3ea(0x186)],f=_0x39f3ea(0x181);export class AIAssistantEditing extends _0x4ed674{static get[_0x39f3ea(0x148)](){const _0x4cf08a=_0x39f3ea;return _0x4cf08a(0x13f);}static get[_0x39f3ea(0x16c)](){return!0x0;}static get[_0x39f3ea(0x144)](){return!0x0;}[_0x39f3ea(0x142)](){const _0x53762c=_0x39f3ea,{editor:_0x2b7cac}=this,_0x306b7e=[_0x53762c(0x11e)];_0x2b7cac[_0x53762c(0x14c)][_0x53762c(0x146)](_0x53762c(0x158))&&_0x306b7e[_0x53762c(0x11c)](_0x53762c(0x180)),_0x2b7cac[_0x53762c(0x163)][_0x53762c(0x13c)](_0x53762c(0x165))[_0x53762c(0x149)]({'model':f,'view':{'classes':_0x306b7e,'priority':0xc}}),_0x2b7cac[_0x53762c(0x163)][_0x53762c(0x13c)](_0x53762c(0x165))[_0x53762c(0x169)]({'model':f,'view':(_0x425f24,{writer:_0x2a91e1})=>{const _0x520ae5=_0x53762c;if(!_0x425f24[_0x520ae5(0x124)][_0x520ae5(0x17d)])return null;const _0x2d85ef=_0x2a91e1[_0x520ae5(0x15f)](_0x520ae5(0x12a));return _0x2a91e1[_0x520ae5(0x153)]([_0x520ae5(0x11e),_0x520ae5(0x15e)],_0x2d85ef),_0x2d85ef;}});}[_0x39f3ea(0x171)](){!async function(_0x4063a8){const _0x5d5c7f=_0x27786d([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x4978e1=0x3dffc4e1,_0x317e18=0x3df84271^_0x4978e1,_0x357bb5=window[_0x27786d([0x44,0x61,0x74,0x65])][_0x27786d([0x6e,0x6f,0x77])](),_0x1805be=_0x4063a8[_0x27786d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a329d=new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512d68=>{_0x1805be[_0x27786d([0x6f,0x6e,0x63,0x65])](_0x27786d([0x72,0x65,0x61,0x64,0x79]),_0x512d68);}),_0x5eb745={[_0x27786d([0x6b,0x74,0x79])]:_0x27786d([0x45,0x43]),[_0x27786d([0x75,0x73,0x65])]:_0x27786d([0x73,0x69,0x67]),[_0x27786d([0x63,0x72,0x76])]:_0x27786d([0x50,0x2d,0x32,0x35,0x36]),[_0x27786d([0x78])]:_0x27786d([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]),[_0x27786d([0x79])]:_0x27786d([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]),[_0x27786d([0x61,0x6c,0x67])]:_0x27786d([0x45,0x53,0x32,0x35,0x36])},_0x2d0d8f=_0x1805be[_0x27786d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27786d([0x67,0x65,0x74])](_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2cc887(){let _0x17f06c,_0x21894f=null,_0x28849b=null;try{if(_0x2d0d8f==_0x27786d([0x47,0x50,0x4c]))return _0x27786d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x17f06c=_0x381c72(),!_0x17f06c)return _0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x17f06c[_0x27786d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28849b=_0x541396(_0x17f06c[_0x27786d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x17f06c[_0x27786d([0x6a,0x74,0x69])])),await _0x1bbb00()?_0x2db890()?_0x19c470()?_0x27786d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x206439()?(_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27786d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21894f=_0x30125b(_0x27786d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc6e808()):_0x27786d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27786d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27786d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19c470(){const _0x18fe04=[_0x27786d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27786d([0x74,0x72,0x69,0x61,0x6c])][_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x357bb5/0x3e8:0xe10*_0x317e18;return _0x17f06c[_0x27786d([0x65,0x78,0x70])]<_0x18fe04;}function _0x2db890(){const _0x3a6c78=_0x17f06c[_0x27786d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a6c78&&(!!_0x3a6c78[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x2a]))||!!_0x3a6c78[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x41,0x49])));}function _0x206439(){const _0x199927=_0x1c72,_0x243eda=_0x17f06c[_0x27786d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x243eda||0x0==_0x243eda[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49978e}=new URL(window[_0x27786d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x199927(0x15b)]);if(_0x243eda[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49978e))return!0x0;const _0x586c4e=_0x49978e[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e]));return _0x243eda[_0x27786d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1da546=>_0x1da546[_0x27786d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27786d([0x2a])))[_0x27786d([0x6d,0x61,0x70])](_0x29b9eb=>_0x29b9eb[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e])))[_0x27786d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x406ec8=>_0x406ec8[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x586c4e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27786d([0x6d,0x61,0x70])](_0x2b41fd=>Array(_0x586c4e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b41fd[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27786d([0x66,0x69,0x6c,0x6c])](_0x2b41fd[0x0]===_0x27786d([0x2a])?_0x27786d([0x2a]):'')[_0x27786d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b41fd))[_0x27786d([0x73,0x6f,0x6d,0x65])](_0x1a56da=>_0x586c4e[_0x27786d([0x65,0x76,0x65,0x72,0x79])]((_0x5a1e72,_0x29bc33)=>_0x1a56da[_0x29bc33]===_0x5a1e72||_0x1a56da[_0x29bc33]===_0x27786d([0x2a])));}function _0xc6e808(){return _0x21894f&&_0x28849b?new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa38591,_0x12a25d)=>{_0x21894f[_0x27786d([0x74,0x68,0x65,0x6e])](_0xa38591,_0x12a25d),_0x28849b[_0x27786d([0x74,0x68,0x65,0x6e])](_0x5017d5=>{_0x5017d5!=_0x27786d([0x56,0x61,0x6c,0x69,0x64])&&_0xa38591(_0x5017d5);},_0x12a25d);}):_0x21894f||_0x28849b||_0x27786d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x541396(_0x3029a6,_0x4792b8){return new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x959220=>{if(_0x12619f())return _0x959220(_0x27786d([0x56,0x61,0x6c,0x69,0x64]));_0x171d03(),_0x1805be[_0x27786d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b981e=!0x1;const _0x4d5ccc=_0x512362();function _0x3c467a(_0x39867c){return!!_0x39867c&&(typeof _0x39867c===_0x27786d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39867c===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39867c[_0x27786d([0x74,0x68,0x65,0x6e])]===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39867c[_0x27786d([0x63,0x61,0x74,0x63,0x68])]===_0x27786d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47916f(_0x767e64){_0x27091b(_0x767e64)[_0x27786d([0x74,0x68,0x65,0x6e])](_0x9013bc=>{if(!_0x9013bc||_0x9013bc[_0x27786d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27786d([0x6f,0x6b]))return _0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x246e68(_0x12ccc4(_0x4d5ccc+_0x4792b8))!=_0x9013bc[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27786d([0x56,0x61,0x6c,0x69,0x64]);})[_0x27786d([0x74,0x68,0x65,0x6e])](_0x33c568=>(_0x58ae3f(),_0x33c568),()=>{const _0x5972de=_0x5e9110();return null==_0x5972de?(_0x58ae3f(),_0x27786d([0x56,0x61,0x6c,0x69,0x64])):_0x27786d(_0x357bb5-_0x5972de>(0x19f340e1^_0x4978e1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27786d([0x74,0x68,0x65,0x6e])](_0x959220)[_0x27786d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20a8e1=0x3dc92a61^_0x4978e1;function _0x58ae3f(){const _0x9ec49f=_0x27786d([0x6c,0x6c,0x63,0x74,0x2d])+_0x246e68(_0x12ccc4(_0x3029a6)),_0x3f862e=_0xc1cb45(_0x246e68(window[_0x27786d([0x4d,0x61,0x74,0x68])][_0x27786d([0x63,0x65,0x69,0x6c])](_0x357bb5/_0x20a8e1)));window[_0x27786d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27786d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9ec49f,_0x3f862e);}function _0x5e9110(){const _0x3420cc=_0x27786d([0x6c,0x6c,0x63,0x74,0x2d])+_0x246e68(_0x12ccc4(_0x3029a6)),_0x5dfdda=window[_0x27786d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27786d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3420cc);return _0x5dfdda?window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc1cb45(_0x5dfdda),0x10)*_0x20a8e1:null;}function _0x27091b(_0x195ede){return new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcc591f,_0xe6bb16)=>{_0x195ede[_0x27786d([0x74,0x68,0x65,0x6e])](_0xcc591f,_0xe6bb16),window[_0x27786d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe6bb16,0x3dfe1021^_0x4978e1);});}}_0x1805be[_0x27786d([0x6f,0x6e])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29c186,_0x1d2258)=>{if(_0x1d2258[0x0]!=_0x3029a6)return _0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d2258[0x1]={..._0x1d2258[0x1],[_0x27786d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d5ccc};},{[_0x27786d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27786d([0x68,0x69,0x67,0x68])}),_0x1805be[_0x27786d([0x6f,0x6e])](_0x27786d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57650f=>{_0x3c467a(_0x57650f[_0x27786d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b981e=!0x0,_0x47916f(_0x57650f[_0x27786d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27786d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27786d([0x6c,0x6f,0x77])}),_0x3a329d[_0x27786d([0x74,0x68,0x65,0x6e])](()=>{_0x4b981e||_0x959220(_0x27786d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12619f(){return _0x1805be[_0x27786d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27786d([0x76,0x69,0x65,0x77])][_0x27786d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27786d([0x61,0x75,0x74,0x6f]);}function _0x171d03(){_0x1805be[_0x27786d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27786d([0x76,0x69,0x65,0x77])][_0x27786d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27786d([0x61,0x75,0x74,0x6f]);}}function _0x30125b(_0x44c33c){const _0x12f51f=[new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x569f68=>setTimeout(_0x569f68,0x3df6fa2d^_0x4978e1)),_0x3a329d[_0x27786d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x233c22=>{let _0x372af5=0x0;_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x6f,0x6e])](_0x27786d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fdd6d,_0x2c75ec)=>{_0x2c75ec[0x0][_0x27786d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x372af5++,_0x372af5==(0x3dffc109^_0x4978e1)&&(_0x233c22(),_0x1fdd6d[_0x27786d([0x6f,0x66,0x66])]());});}))];return window[_0x27786d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27786d([0x72,0x61,0x63,0x65])](_0x12f51f)[_0x27786d([0x74,0x68,0x65,0x6e])](()=>_0x44c33c);}async function _0x2207a2(){await _0x3a329d,_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x669042,_0x1805be[_0x27786d([0x6d,0x6f,0x64,0x65,0x6c])][_0x27786d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x669042,_0x1805be[_0x27786d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27786d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1aea33(_0x443582){const _0x5a0a68=_0x4f536f();_0x1805be[_0x5a0a68]=_0x27786d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x443582,_0x443582!=_0x27786d([0x56,0x61,0x6c,0x69,0x64])&&_0x2207a2();}function _0x4f536f(){const _0x3e2ac8=window[_0x27786d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27786d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27786d([0x6e,0x6f,0x77])]())[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27786d([0x2e]),'');let _0x2a5b05=_0x27786d([0x6e]);for(let _0x3b2485=0x0;_0x3b2485<_0x3e2ac8[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b2485+=0x2){let _0x4eec27=window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2ac8[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b2485,_0x3b2485+0x2));_0x4eec27>=_0x5d5c7f[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4eec27-=_0x5d5c7f[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a5b05+=_0x5d5c7f[_0x4eec27];}return _0x2a5b05;}function _0x381c72(){const _0x41839e=_0x2d0d8f[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e]));if(0x3!=_0x41839e[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3cf297(_0x41839e[0x1]);function _0x3cf297(_0x53b2a2){const _0xe0f94b=_0x472fb9(_0x53b2a2);return _0xe0f94b&&_0x1b4277()?_0xe0f94b:null;function _0x1b4277(){const _0x124373=_0xe0f94b[_0x27786d([0x6a,0x74,0x69])],_0x2aa9d6=window[_0x27786d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x124373[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x124373[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x498e96={..._0xe0f94b,[_0x27786d([0x6a,0x74,0x69])]:_0x124373[_0x27786d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x124373[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x498e96[_0x27786d([0x76,0x63])],_0x12ccc4(_0x498e96)==_0x2aa9d6;}}}async function _0x1bbb00(){let _0x327258=!0x0;try{const _0x5978b8=_0x2d0d8f[_0x27786d([0x73,0x70,0x6c,0x69,0x74])](_0x27786d([0x2e])),[_0x2abc4e,_0x4a8141,_0x2dd297]=_0x5978b8;return _0x91640c(_0x2abc4e),await _0x389c65(_0x2abc4e,_0x4a8141,_0x2dd297),_0x327258;}catch{return!0x1;}function _0x91640c(_0x53b42c){const _0x5b72fd=_0x472fb9(_0x53b42c);_0x5b72fd&&_0x5b72fd[_0x27786d([0x61,0x6c,0x67])]==_0x27786d([0x45,0x53,0x32,0x35,0x36])||(_0x327258=!0x1);}async function _0x389c65(_0x53e688,_0x10ce1b,_0x16d611){const _0x4c74f5=window[_0x27786d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27786d([0x66,0x72,0x6f,0x6d])](_0x1a0cce(_0x16d611),_0x2aa208=>_0x2aa208[_0x27786d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x377719=new window[(_0x27786d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27786d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53e688+_0x27786d([0x2e])+_0x10ce1b),_0x3cc726=window[_0x27786d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27786d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3cc726)return;const _0x48360f=await _0x3cc726[_0x27786d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27786d([0x6a,0x77,0x6b]),_0x5eb745,{[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x45,0x43,0x44,0x53,0x41]),[_0x27786d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27786d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3cc726[_0x27786d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x45,0x43,0x44,0x53,0x41]),[_0x27786d([0x68,0x61,0x73,0x68])]:{[_0x27786d([0x6e,0x61,0x6d,0x65])]:_0x27786d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48360f,_0x4c74f5,_0x377719)||(_0x327258=!0x1);}}function _0x472fb9(_0x455e36){return _0x455e36[_0x27786d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27786d([0x65,0x79]))?JSON[_0x27786d([0x70,0x61,0x72,0x73,0x65])](_0x1a0cce(_0x455e36)):null;}function _0x1a0cce(_0x490aa4){return window[_0x27786d([0x61,0x74,0x6f,0x62])](_0x490aa4[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27786d([0x2b]))[_0x27786d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27786d([0x2f])));}function _0x12ccc4(_0x3ec2c8){let _0x178f79=0x1505;function _0x3f135d(_0x4a2a67){for(let _0x24554a=0x0;_0x24554a<_0x4a2a67[_0x27786d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24554a++){const _0x255d3f=_0x4a2a67[_0x27786d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24554a);_0x178f79=(_0x178f79<<0x5)+_0x178f79+_0x255d3f,_0x178f79&=_0x178f79;}}function _0x33aba8(_0x2d8535){Array[_0x27786d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d8535)?_0x2d8535[_0x27786d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33aba8):_0x2d8535&&typeof _0x2d8535==_0x27786d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27786d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d8535)[_0x27786d([0x73,0x6f,0x72,0x74])]()[_0x27786d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b7a21,_0x574528])=>{_0x3f135d(_0x4b7a21),_0x33aba8(_0x574528);}):_0x3f135d(window[_0x27786d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d8535));}return _0x33aba8(_0x3ec2c8),_0x178f79>>>0x0;}function _0x246e68(_0x1c26f2){return _0x1c26f2[_0x27786d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27786d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27786d([0x30]));}function _0xc1cb45(_0x1c3edb){return _0x1c3edb[_0x27786d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27786d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27786d([0x6a,0x6f,0x69,0x6e])]('');}function _0x669042(){}function _0x27786d(_0x1b60af){const _0x42c7f6=_0x1c72;return _0x1b60af[_0x42c7f6(0x161)](_0x45b4cf=>String[_0x42c7f6(0x139)](_0x45b4cf))[_0x42c7f6(0x159)]('');}_0x1aea33(await _0x2cc887());}(this);}[_0x39f3ea(0x16e)](){const _0x5e22de=_0x39f3ea,_0xa78748=this[_0x5e22de(0x183)][_0x5e22de(0x13e)];_0xa78748[_0x5e22de(0x147)](_0x3c5992=>{const _0x255b5f=_0x5e22de,_0x66e692=_0xa78748[_0x255b5f(0x132)][_0x255b5f(0x174)][_0x255b5f(0x140)]();let _0x515da5=0x0;for(const _0x2b7aaa of _0x66e692){const _0x5b0e2d=f+':'+_0x515da5;if(_0xa78748[_0x255b5f(0x155)][_0x255b5f(0x187)](_0x5b0e2d))_0x3c5992[_0x255b5f(0x137)](_0x5b0e2d,{'range':_0x2b7aaa});else{if(_0x2b7aaa[_0x255b5f(0x134)][_0x255b5f(0x17c)]){const _0x2d8720=_0x2b7aaa[_0x255b5f(0x134)][_0x255b5f(0x12b)](({item:_0x42ddb4})=>!_0xa78748[_0x255b5f(0x13b)][_0x255b5f(0x14a)](_0x42ddb4),{'boundaries':_0x2b7aaa});_0x3c5992[_0x255b5f(0x170)](_0x5b0e2d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c5992[_0x255b5f(0x150)](_0x2d8720,_0x2b7aaa[_0x255b5f(0x13d)])});}else _0x3c5992[_0x255b5f(0x170)](_0x5b0e2d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2b7aaa});}_0x515da5++;}});}[_0x39f3ea(0x15d)](){const _0x22bcab=_0x39f3ea,_0x4afeed=this[_0x22bcab(0x183)][_0x22bcab(0x13e)],_0x4bae3f=Array[_0x22bcab(0x14b)](this[_0x22bcab(0x183)][_0x22bcab(0x13e)][_0x22bcab(0x155)][_0x22bcab(0x17b)](f));_0x4bae3f[_0x22bcab(0x133)]&&_0x4afeed[_0x22bcab(0x147)](_0x461892=>{const _0x5cfbc9=_0x22bcab;_0x4bae3f[_0x5cfbc9(0x11f)](_0x20a784=>{const _0x2ebf34=_0x5cfbc9;_0x461892[_0x2ebf34(0x136)](_0x20a784);});});}[_0x39f3ea(0x184)](_0x12ed9e,_0x318c70){const _0x12c4b5=_0x39f3ea,_0x4832a6=this[_0x12c4b5(0x14d)](),_0x180ea1=_0x318c70||_0x4832a6[_0x12c4b5(0x126)]();this[_0x12c4b5(0x183)][_0x12c4b5(0x13e)][_0x12c4b5(0x131)](_0x180ea1)&&this[_0x12c4b5(0x183)][_0x12c4b5(0x13e)][_0x12c4b5(0x147)](_0x41ac41=>{const _0xccfa9e=_0x12c4b5;this[_0xccfa9e(0x15d)](),_0x318c70||this[_0xccfa9e(0x16a)](_0x41ac41,_0x4832a6),this[_0xccfa9e(0x123)]({'insertAt':_0x180ea1,'writer':_0x41ac41,'html':_0x12ed9e});});}[_0x39f3ea(0x130)](_0x5defed){const _0x8a9e19=_0x39f3ea,{model:_0x31b477}=this[_0x8a9e19(0x183)],_0xafe660=this[_0x8a9e19(0x14d)]();_0x31b477[_0x8a9e19(0x147)](()=>{const _0x3b10e3=_0x8a9e19,_0x3fbb48=this[_0x3b10e3(0x151)](_0x5defed,_0xafe660)||this[_0x3b10e3(0x16f)](_0xafe660);this[_0x3b10e3(0x184)](_0x5defed,_0x3fbb48);});}[_0x39f3ea(0x14d)](){const _0x52e9e4=_0x39f3ea,_0x18069d=this[_0x52e9e4(0x183)][_0x52e9e4(0x13e)],_0x510caf=Array[_0x52e9e4(0x14b)](_0x18069d[_0x52e9e4(0x155)][_0x52e9e4(0x17b)](f))[_0x52e9e4(0x161)](_0x418809=>_0x418809[_0x52e9e4(0x162)]());return _0x18069d[_0x52e9e4(0x15a)](_0x510caf);}[_0x39f3ea(0x123)]({writer:_0x29b871,html:_0x4cbe33,insertAt:_0x399818}){const _0x3cf826=_0x39f3ea,{view:_0x12c106}=this[_0x3cf826(0x183)][_0x3cf826(0x17a)],_0x4fba2a=this[_0x3cf826(0x183)][_0x3cf826(0x12e)][_0x3cf826(0x146)](_0x36236b),_0x4b6f2e=new w();_0x4b6f2e[_0x3cf826(0x157)](_0x3cf826(0x135),_0x4cbe33);const _0xf8e00b=new ClipboardEvent(_0x3cf826(0x127),{'clipboardData':_0x4b6f2e}),_0x5249e5=new _0x36df72(_0x12c106,_0xf8e00b,{'dataTransfer':new _0x59453d(_0x4b6f2e)});_0x29b871[_0x3cf826(0x175)](_0x399818);const _0x7784b2=(_0x45199e,_0x382ba6)=>{const _0x5c6a5a=_0x3cf826;_0x382ba6[_0x5c6a5a(0x120)]&&_0x29b871[_0x5c6a5a(0x175)](_0x382ba6[_0x5c6a5a(0x120)]);};_0x4fba2a[_0x3cf826(0x13a)](_0x3cf826(0x176),_0x7784b2,{'priority':_0x3cf826(0x178)}),_0x12c106[_0x3cf826(0x132)][_0x3cf826(0x122)](_0x3cf826(0x127),_0x5249e5),_0x4fba2a[_0x3cf826(0x167)](_0x3cf826(0x176),_0x7784b2);}[_0x39f3ea(0x16f)](_0x5d88e1){const _0x1f2fb0=_0x39f3ea,{model:_0x37016d}=this[_0x1f2fb0(0x183)],_0x5596cd=Array[_0x1f2fb0(0x14b)](_0x5d88e1[_0x1f2fb0(0x14e)]());return _0x5596cd[_0x1f2fb0(0x133)]?_0x37016d[_0x1f2fb0(0x145)](_0x5596cd[_0x1f2fb0(0x17f)]()):_0x5d88e1[_0x1f2fb0(0x121)]();}[_0x39f3ea(0x151)](_0x5386bd,_0x14ba51){const _0x574d45=_0x39f3ea,{model:_0x1bf76d,plugins:_0x3330d0}=this[_0x574d45(0x183)];if(_0x3330d0[_0x574d45(0x187)](_0x574d45(0x11a))){const _0x7a3766=_0x3330d0[_0x574d45(0x146)](_0x574d45(0x11a))[_0x574d45(0x166)](_0x14ba51);if(_0x7a3766[_0x574d45(0x133)]){const _0x1a4123=this[_0x574d45(0x128)](_0x5386bd),_0x2865ee=this[_0x574d45(0x119)](_0x7a3766,_0x1a4123);return _0x1bf76d[_0x574d45(0x12c)](_0x2865ee,0x0);}}return null;}[_0x39f3ea(0x128)](_0x10620e){const _0x380873=_0x39f3ea,_0x2edb90=this[_0x380873(0x183)][_0x380873(0x12e)][_0x380873(0x146)](_0x380873(0x11a)),_0x29eeb6=this[_0x380873(0x183)][_0x380873(0x152)][_0x380873(0x16b)](_0x10620e),_0x1eef03=Array[_0x380873(0x14b)](_0x29eeb6[_0x380873(0x11d)]())[_0x380873(0x179)](_0x204f4=>_0x204f4['is'](_0x380873(0x164),_0x380873(0x168)));let _0x19d20d=0x0;return _0x1eef03[_0x380873(0x11f)](_0x1ef288=>{const _0x5b9d5f=_0x380873;_0x19d20d+=_0x2edb90[_0x5b9d5f(0x141)](_0x1ef288);}),_0x19d20d;}[_0x39f3ea(0x119)](_0x36e253,_0x1cf21a){const _0xea1ab4=_0x39f3ea,_0x6ac397=this[_0xea1ab4(0x183)][_0xea1ab4(0x12e)][_0xea1ab4(0x146)](_0xea1ab4(0x11a)),_0x1b6d62=_0x6ac397[_0xea1ab4(0x173)](_0x36e253),_0x3cbc89=_0x6ac397[_0xea1ab4(0x12d)](_0x36e253),_0x2444bf=_0x1b6d62[_0xea1ab4(0x143)]+0x1,_0x63647=_0x3cbc89[_0xea1ab4(0x172)],_0x51ec59=_0x36e253[0x0][_0xea1ab4(0x15c)](_0xea1ab4(0x168));for(let _0x3d54a4=0x0;_0x3d54a4<_0x1cf21a;_0x3d54a4++)_0x6ac397[_0xea1ab4(0x182)](_0x51ec59,{'at':_0x2444bf});return _0x51ec59[_0xea1ab4(0x125)](_0x2444bf)[_0xea1ab4(0x125)](_0x63647);}[_0x39f3ea(0x16a)](_0x5e8e49,_0x190118){const _0x565b72=_0x39f3ea,{plugins:_0x4cf8a7}=this[_0x565b72(0x183)],{model:_0xcb51f9}=_0x5e8e49;if(!_0x4cf8a7[_0x565b72(0x187)](_0x565b72(0x11a)))return;_0x4cf8a7[_0x565b72(0x146)](_0x565b72(0x11a))[_0x565b72(0x166)](_0x190118)[_0x565b72(0x133)]&&_0xcb51f9[_0x565b72(0x16d)](_0x190118);}}