@ckeditor/ckeditor5-ai 44.0.0-alpha.8 → 44.0.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.
- package/README.md +2 -2
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdf5fc3=_0x403a;(function(_0x152285,_0xcb0a82){const _0xf774e2=_0x403a,_0x47e9a4=_0x152285();while(!![]){try{const _0x13a1ff=-parseInt(_0xf774e2(0x134))/0x1*(-parseInt(_0xf774e2(0x176))/0x2)+parseInt(_0xf774e2(0x133))/0x3+parseInt(_0xf774e2(0x14c))/0x4*(parseInt(_0xf774e2(0x159))/0x5)+parseInt(_0xf774e2(0x158))/0x6+-parseInt(_0xf774e2(0x168))/0x7*(-parseInt(_0xf774e2(0x165))/0x8)+parseInt(_0xf774e2(0x156))/0x9+-parseInt(_0xf774e2(0x15d))/0xa*(parseInt(_0xf774e2(0x166))/0xb);if(_0x13a1ff===_0xcb0a82)break;else _0x47e9a4['push'](_0x47e9a4['shift']());}catch(_0x9ea17e){_0x47e9a4['push'](_0x47e9a4['shift']());}}}(_0x5dfd,0xc7482));import{Plugin as _0x52d0f7}from'ckeditor5/src/core.js';import _0x1befd9 from'./aiassistantui.js';import _0x5d0f3f from'./aiassistantediting.js';import{getTranslation as _0x5ac571}from'./utils/common-translations.js';function _0x5dfd(){const _0x4faa93=['Summarize','forEach','define','Confident','makeLonger','find','continue','set','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Simplify\x20language','translateChinese','summarize','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateEnglish','Portuguese','translatePortuguese','push','Casual','translateHindi','4058583aJZPXG','21Xqsreu','Make\x20shorter','commands','ai.aiAssistant.extraCommandGroups','changeStyle','Continue','Arabic','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','French','Translate\x20the\x20content\x20to\x20Spanish\x20language.','confident','Translate\x20the\x20content\x20to\x20English\x20language.','legal','translateSpanish','friendly','get','Hindi','changeTone','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','ai.aiAssistant.removeCommands','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','includes','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','1123816LCVYCv','journalism','direct','Generate\x20from\x20selection','Translate','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translateGerman','Simplified\x20Chinese','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','9328959pmPYlv','filter','3306936MihZWr','25PrxCpY','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','requires','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','663450MbLysc','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','groupId','English','isOfficialPlugin','editOrReview','simplifyLanguage','Improve\x20writing','936QHlBTm','781AROuwQ','Poetic','46634RozrFR','Business','Spanish','generate','professional','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Journalism','German','AIAssistant','Change\x20style','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translateFrench','Translate\x20the\x20content\x20to\x20German\x20language.','translate','38282XTBEVG','poetic','pluginName','Friendly','ai.aiAssistant.commands','Professional','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Legal','makeShorter','Make\x20longer','Change\x20tone','Direct','Edit\x20or\x20review','concat','improveWriting','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateArabic','casual','locale','business','Translate\x20the\x20content\x20to\x20French\x20language.','config'];_0x5dfd=function(){return _0x4faa93;};return _0x5dfd();}function _0x403a(_0x8638f,_0x3a3927){const _0x5dfd6c=_0x5dfd();return _0x403a=function(_0x403ad7,_0x4c2ab5){_0x403ad7=_0x403ad7-0x10c;let _0x304a69=_0x5dfd6c[_0x403ad7];return _0x304a69;},_0x403a(_0x8638f,_0x3a3927);}import{normalizeCommandsConfig as _0xfcd300}from'./utils/normalizecommandsconfig.js';export default class r extends _0x52d0f7{static get[_0xdf5fc3(0x15b)](){return[_0x1befd9,_0x5d0f3f];}static get[_0xdf5fc3(0x178)](){const _0x319c03=_0xdf5fc3;return _0x319c03(0x170);}static get[_0xdf5fc3(0x161)](){return!0x0;}static get[_0xdf5fc3(0x10d)](){return!0x0;}constructor(_0x31864d){const _0x417ba3=_0xdf5fc3;super(_0x31864d);const _0x16b3c8=_0x31864d[_0x417ba3(0x11e)],_0xd33fc0=_0x31864d[_0x417ba3(0x11b)];_0x16b3c8[_0x417ba3(0x121)](_0x417ba3(0x17a),getDefaultCommands(_0xd33fc0)),_0x16b3c8[_0x417ba3(0x121)](_0x417ba3(0x137),[]),_0x16b3c8[_0x417ba3(0x121)](_0x417ba3(0x148),[]);const _0x5a0ff1=_0xfcd300(_0x16b3c8[_0x417ba3(0x143)](_0x417ba3(0x17a)),_0xd33fc0),_0x44e231=_0x16b3c8[_0x417ba3(0x143)](_0x417ba3(0x137)),_0x5df8d2=_0x16b3c8[_0x417ba3(0x143)](_0x417ba3(0x148));_0x44e231[_0x417ba3(0x120)](_0x3c8a5a=>{const _0xd26bc7=_0x417ba3,_0x6ccacf=_0x5a0ff1[_0xd26bc7(0x124)](_0x178f53=>_0x178f53[_0xd26bc7(0x15f)]===_0x3c8a5a[_0xd26bc7(0x15f)]);_0x6ccacf?_0x6ccacf[_0xd26bc7(0x136)]=_0x6ccacf[_0xd26bc7(0x136)][_0xd26bc7(0x116)](_0x3c8a5a[_0xd26bc7(0x136)]):_0x5a0ff1[_0xd26bc7(0x130)](_0x3c8a5a);}),_0x5a0ff1[_0x417ba3(0x120)](_0x5e268d=>{const _0x4af604=_0x417ba3;_0x5e268d[_0x4af604(0x136)]=_0x5e268d[_0x4af604(0x136)][_0x4af604(0x157)](_0x527517=>!_0x5df8d2[_0x4af604(0x14a)](_0x527517['id']));}),_0x16b3c8[_0x417ba3(0x126)](_0x417ba3(0x17a),_0x5a0ff1);}}export function getDefaultCommands(_0x31cc18){const _0x3c1908=_0xdf5fc3;return[{'groupId':_0x3c1908(0x162),'groupLabel':_0x5ac571(_0x31cc18,_0x3c1908(0x115)),'commands':[{'id':_0x3c1908(0x117),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x164)),'prompt':_0x3c1908(0x146)},{'id':_0x3c1908(0x111),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x135)),'prompt':_0x3c1908(0x152)},{'id':_0x3c1908(0x123),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x112)),'prompt':_0x3c1908(0x12c)},{'id':_0x3c1908(0x163),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x128)),'prompt':_0x3c1908(0x12b)}]},{'groupId':_0x3c1908(0x16b),'groupLabel':_0x5ac571(_0x31cc18,_0x3c1908(0x14f)),'commands':[{'id':_0x3c1908(0x12a),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x11f)),'prompt':_0x3c1908(0x127)},{'id':_0x3c1908(0x125),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x139)),'prompt':_0x3c1908(0x15e)}]},{'groupId':_0x3c1908(0x145),'groupLabel':_0x5ac571(_0x31cc18,_0x3c1908(0x113)),'commands':[{'id':_0x3c1908(0x16c),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x10c)),'prompt':_0x3c1908(0x16d)},{'id':_0x3c1908(0x11a),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x131)),'prompt':_0x3c1908(0x13b)},{'id':_0x3c1908(0x14e),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x114)),'prompt':_0x3c1908(0x149)},{'id':_0x3c1908(0x13e),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x122)),'prompt':_0x3c1908(0x15c)},{'id':_0x3c1908(0x142),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x179)),'prompt':_0x3c1908(0x147)}]},{'groupId':_0x3c1908(0x138),'groupLabel':_0x5ac571(_0x31cc18,_0x3c1908(0x171)),'commands':[{'id':_0x3c1908(0x11c),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x169)),'prompt':_0x3c1908(0x118)},{'id':_0x3c1908(0x140),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x110)),'prompt':_0x3c1908(0x151)},{'id':_0x3c1908(0x14d),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x16e)),'prompt':_0x3c1908(0x14b)},{'id':_0x3c1908(0x177),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x167)),'prompt':_0x3c1908(0x15a)}]},{'groupId':_0x3c1908(0x175),'groupLabel':_0x5ac571(_0x31cc18,_0x3c1908(0x150)),'commands':[{'id':_0x3c1908(0x12d),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x160)),'prompt':_0x3c1908(0x13f)},{'id':_0x3c1908(0x141),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x16a)),'prompt':_0x3c1908(0x13d)},{'id':_0x3c1908(0x12f),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x12e)),'prompt':_0x3c1908(0x10e)},{'id':_0x3c1908(0x153),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x16f)),'prompt':_0x3c1908(0x174)},{'id':_0x3c1908(0x173),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x13c)),'prompt':_0x3c1908(0x11d)},{'id':_0x3c1908(0x129),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x154)),'prompt':_0x3c1908(0x155)},{'id':_0x3c1908(0x132),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x144)),'prompt':_0x3c1908(0x10f)},{'id':_0x3c1908(0x119),'label':_0x5ac571(_0x31cc18,_0x3c1908(0x13a)),'prompt':_0x3c1908(0x172)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4514be=_0x3e72;(function(_0x280549,_0x213bb8){const _0x160fa9=_0x3e72,_0x1646df=_0x280549();while(!![]){try{const _0x1028da=parseInt(_0x160fa9(0xf6))/0x1+-parseInt(_0x160fa9(0xf7))/0x2+-parseInt(_0x160fa9(0x131))/0x3*(-parseInt(_0x160fa9(0xf5))/0x4)+parseInt(_0x160fa9(0x111))/0x5*(-parseInt(_0x160fa9(0x10c))/0x6)+-parseInt(_0x160fa9(0xfd))/0x7+parseInt(_0x160fa9(0xf3))/0x8+parseInt(_0x160fa9(0x103))/0x9;if(_0x1028da===_0x213bb8)break;else _0x1646df['push'](_0x1646df['shift']());}catch(_0x373933){_0x1646df['push'](_0x1646df['shift']());}}}(_0x1e48,0x94e9e));function _0x1e48(){const _0x3b145f=['canEditAt','updateMarker','insertContentBelow','has','isOfficialPlugin','5188347dfAVEl','getSelectedBlocks','length','init','addMarker','ck-fake-ai-selection','editor','isAtEnd','map','6eFvPJd','conversion','get','data','pop','2073115BOXBgJ','selection','toView','ai-ui','pluginName','markerToHighlight','createUIElement','getRange','href','schema','model','getFirstRange','from','ck-fake-ai-selection_collapsed','getLastMatchingPosition','createSelection','for','markerToElement','join','getLastPosition','createPositionAfter','removeMarker','isPremiumPlugin','end','config','start','editingDowncast','push','markerRange','ai.useTheme','change','isCollapsed','3nPrnQc','afterInit','fromCharCode','insertContent','document','showFakeVisualSelection','isContent','setSelection','toModel','ck-ai-assistant-ui_theme','span','3467424akUvke','hideFakeVisualSelection','1435972EoDlfm','1216062oIdumF','2281988xRqSkN','AIAssistantEditing','createRange','addClass','processor','markers','2935793mAgJLJ'];_0x1e48=function(){return _0x3b145f;};return _0x1e48();}function _0x3e72(_0x2526fc,_0x32b208){const _0x1e4846=_0x1e48();return _0x3e72=function(_0x3e721f,_0x2d5e09){_0x3e721f=_0x3e721f-0xf3;let _0x246fae=_0x1e4846[_0x3e721f];return _0x246fae;},_0x3e72(_0x2526fc,_0x32b208);}import{uid as _0x33e652}from'ckeditor5/src/utils.js';import{Plugin as _0x4b92d6}from'ckeditor5/src/core.js';const u=_0x4514be(0x114);export default class a extends _0x4b92d6{static get[_0x4514be(0x115)](){const _0x49dfa5=_0x4514be;return _0x49dfa5(0xf8);}static get[_0x4514be(0x102)](){return!0x0;}static get[_0x4514be(0x127)](){return!0x0;}[_0x4514be(0x106)](){const _0x1eb8d7=_0x4514be,{editor:_0x5758a4}=this,_0x47b43b=[_0x1eb8d7(0x108)];_0x5758a4[_0x1eb8d7(0x129)][_0x1eb8d7(0x10e)](_0x1eb8d7(0x12e))&&_0x47b43b[_0x1eb8d7(0x12c)](_0x1eb8d7(0x13a)),_0x5758a4[_0x1eb8d7(0x10d)][_0x1eb8d7(0x121)](_0x1eb8d7(0x12b))[_0x1eb8d7(0x116)]({'model':u,'view':{'classes':_0x47b43b,'priority':0xc}}),_0x5758a4[_0x1eb8d7(0x10d)][_0x1eb8d7(0x121)](_0x1eb8d7(0x12b))[_0x1eb8d7(0x122)]({'model':u,'view':(_0x30a5a4,{writer:_0x4a9c7c})=>{const _0x2a0b55=_0x1eb8d7;if(!_0x30a5a4[_0x2a0b55(0x12d)][_0x2a0b55(0x130)])return null;const _0x343517=_0x4a9c7c[_0x2a0b55(0x117)](_0x2a0b55(0x13b));return _0x4a9c7c[_0x2a0b55(0xfa)]([_0x2a0b55(0x108),_0x2a0b55(0x11e)],_0x343517),_0x343517;}});}[_0x4514be(0x132)](){!async function(_0x14a068){const _0x4e454c=_0x469fbd([0x32,0x33,0x43,0x6c,0x73,0x75,0x62,0x50,0x47,0x76,0x42,0x65,0x55,0x57,0x6e,0x68,0x44,0x41,0x4a,0x46,0x45,0x66,0x4f,0x4d,0x34,0x56,0x48,0x69,0x70,0x79,0x6f,0x67,0x38,0x6d,0x4e,0x74,0x51,0x54,0x30,0x37,0x53,0x71,0x4c,0x35,0x6b,0x4b,0x5a,0x58,0x6a,0x72,0x49,0x52,0x31,0x59,0x63,0x36,0x7a,0x39,0x61,0x78,0x64,0x77]),_0x3b0381=0x2ae34bc3,_0x4ad72b=0x2ae413eb^_0x3b0381,_0x9f879c=window[_0x469fbd([0x44,0x61,0x74,0x65])][_0x469fbd([0x6e,0x6f,0x77])](),_0x2f2d5c=_0x14a068[_0x469fbd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d0f7c=new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349317=>{_0x2f2d5c[_0x469fbd([0x6f,0x6e,0x63,0x65])](_0x469fbd([0x72,0x65,0x61,0x64,0x79]),_0x349317);}),_0x4efa3d={[_0x469fbd([0x6b,0x74,0x79])]:_0x469fbd([0x45,0x43]),[_0x469fbd([0x75,0x73,0x65])]:_0x469fbd([0x73,0x69,0x67]),[_0x469fbd([0x63,0x72,0x76])]:_0x469fbd([0x50,0x2d,0x32,0x35,0x36]),[_0x469fbd([0x78])]:_0x469fbd([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]),[_0x469fbd([0x79])]:_0x469fbd([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]),[_0x469fbd([0x61,0x6c,0x67])]:_0x469fbd([0x45,0x53,0x32,0x35,0x36])},_0x30ebbb=_0x2f2d5c[_0x469fbd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x469fbd([0x67,0x65,0x74])](_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x405bad(){let _0x12fc9b,_0x12d032=null,_0x2eb172=null;try{if(_0x30ebbb==_0x469fbd([0x47,0x50,0x4c]))return _0x469fbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12fc9b=_0x3460f7(),!_0x12fc9b)return _0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12fc9b[_0x469fbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2eb172=_0x556208(_0x12fc9b[_0x469fbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12fc9b[_0x469fbd([0x6a,0x74,0x69])])),await _0x4a6f07()?_0x192d24()?_0x12dc4c()?_0x469fbd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ebff1()?(_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12d032=_0x516b23(_0x469fbd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x74,0x72,0x69,0x61,0x6c])&&(_0x12d032=_0x516b23(_0x469fbd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x12d032=_0x516b23(_0x469fbd([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53dcce()):_0x469fbd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x469fbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x437868){return _0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12dc4c(){const _0x1aaf20=[_0x469fbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x469fbd([0x74,0x72,0x69,0x61,0x6c])][_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9f879c/0x3e8:0xe10*_0x4ad72b;return _0x12fc9b[_0x469fbd([0x65,0x78,0x70])]<_0x1aaf20;}function _0x192d24(){const _0x5c6291=_0x12fc9b[_0x469fbd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c6291&&(!!_0x5c6291[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x2a]))||!!_0x5c6291[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x41,0x49])));}function _0x5ebff1(){const _0xa9ba1f=_0x3e72,_0xbe3e1=_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbe3e1||0x0==_0xbe3e1[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8b7d64}=new URL(window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa9ba1f(0x119)]);if(_0xbe3e1[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8b7d64))return!0x0;const _0x444090=_0x8b7d64[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e]));return _0xbe3e1[_0x469fbd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a4c42=>_0x1a4c42[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x2a])))[_0x469fbd([0x6d,0x61,0x70])](_0x1eef70=>_0x1eef70[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e])))[_0x469fbd([0x73,0x6f,0x6d,0x65])](_0x37d814=>_0x444090[_0x469fbd([0x65,0x76,0x65,0x72,0x79])]((_0x27ec19,_0x387a3a)=>_0x37d814[_0x387a3a]===_0x27ec19||_0x37d814[_0x387a3a]===_0x469fbd([0x2a])));}function _0x53dcce(){return _0x12d032&&_0x2eb172?new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34d70f,_0x209720)=>{_0x12d032[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x34d70f,_0x209720),_0x2eb172[_0x469fbd([0x74,0x68,0x65,0x6e])](_0xceb838=>{_0xceb838!=_0x469fbd([0x56,0x61,0x6c,0x69,0x64])&&_0x34d70f(_0xceb838);},_0x209720);}):_0x12d032||_0x2eb172||_0x469fbd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x556208(_0xc3cd1,_0x1bca9a){return new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5314b3=>{if(_0x1b8189())return _0x5314b3(_0x469fbd([0x56,0x61,0x6c,0x69,0x64]));_0x31d745(),_0x2f2d5c[_0x469fbd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x257b1a=!0x1;const _0x1d7db6=_0x33e652();function _0x5b8e59(_0x47559f){return!!_0x47559f&&(typeof _0x47559f===_0x469fbd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47559f===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47559f[_0x469fbd([0x74,0x68,0x65,0x6e])]===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47559f[_0x469fbd([0x63,0x61,0x74,0x63,0x68])]===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31aa66(_0xfa4977){_0x3fd486(_0xfa4977)[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x3ddbb2=>{if(!_0x3ddbb2||_0x3ddbb2[_0x469fbd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x469fbd([0x6f,0x6b]))return _0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x142121(_0x2f3819(_0x1d7db6+_0x1bca9a))!=_0x3ddbb2[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x469fbd([0x56,0x61,0x6c,0x69,0x64]);})[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x133bca=>(_0x5d3192(),_0x133bca),()=>{const _0x3c7fcd=_0x5c017d();return null==_0x3c7fcd?(_0x5d3192(),_0x469fbd([0x56,0x61,0x6c,0x69,0x64])):_0x469fbd(_0x9f879c-_0x3c7fcd>(0xeefcfc3^_0x3b0381)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x5314b3)[_0x469fbd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x519866=0x2ad5a543^_0x3b0381;function _0x5d3192(){const _0x5e6661=_0x469fbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x142121(_0x2f3819(_0xc3cd1)),_0xe506a3=_0x366db5(_0x142121(window[_0x469fbd([0x4d,0x61,0x74,0x68])][_0x469fbd([0x63,0x65,0x69,0x6c])](_0x9f879c/_0x519866)));window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x469fbd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e6661,_0xe506a3);}function _0x5c017d(){const _0xf1857=_0x469fbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x142121(_0x2f3819(_0xc3cd1)),_0x132ff2=window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x469fbd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf1857);return _0x132ff2?window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x366db5(_0x132ff2),0x10)*_0x519866:null;}function _0x3fd486(_0x17af49){return new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b7186,_0x32e621)=>{_0x17af49[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x2b7186,_0x32e621),window[_0x469fbd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32e621,0x2ae29f03^_0x3b0381);});}}_0x2f2d5c[_0x469fbd([0x6f,0x6e])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42fc2e,_0x3c6767)=>{if(_0x3c6767[0x0]!=_0xc3cd1)return _0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c6767[0x1]={..._0x3c6767[0x1],[_0x469fbd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d7db6};},{[_0x469fbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x469fbd([0x68,0x69,0x67,0x68])}),_0x2f2d5c[_0x469fbd([0x6f,0x6e])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bfde8=>{_0x5b8e59(_0x3bfde8[_0x469fbd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x257b1a=!0x0,_0x31aa66(_0x3bfde8[_0x469fbd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x469fbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x469fbd([0x6c,0x6f,0x77])}),_0x5d0f7c[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>{_0x257b1a||_0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b8189(){return _0x2f2d5c[_0x469fbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x469fbd([0x76,0x69,0x65,0x77])][_0x469fbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x469fbd([0x61,0x75,0x74,0x6f]);}function _0x31d745(){_0x2f2d5c[_0x469fbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x469fbd([0x76,0x69,0x65,0x77])][_0x469fbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x469fbd([0x61,0x75,0x74,0x6f]);}}function _0x516b23(_0x403e6c){const _0x3dba8e=[new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57491f=>setTimeout(_0x57491f,0x2aea750f^_0x3b0381)),_0x5d0f7c[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2031c5=>{let _0x21195e=0x0;_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x6f,0x6e])](_0x469fbd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x228c4b,_0x316de9)=>{_0x316de9[0x0][_0x469fbd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21195e++,_0x21195e==(0x2ae34a3b^_0x3b0381)&&(_0x2031c5(),_0x228c4b[_0x469fbd([0x6f,0x66,0x66])]());});}))];return window[_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x469fbd([0x72,0x61,0x63,0x65])](_0x3dba8e)[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>_0x403e6c);}async function _0x1ee629(){await _0x5d0f7c,_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43d3f6,_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43d3f6,_0x2f2d5c[_0x469fbd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa6fa1b(_0x592bfa){const _0x562626=_0x1838c7();_0x2f2d5c[_0x562626]=_0x469fbd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x592bfa,_0x592bfa!=_0x469fbd([0x56,0x61,0x6c,0x69,0x64])&&_0x1ee629();}function _0x1838c7(){const _0x2a4d10=window[_0x469fbd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x469fbd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x469fbd([0x6e,0x6f,0x77])]())[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x469fbd([0x2e]),'');let _0x4ebe56=_0x469fbd([0x43]);for(let _0x401f00=0x0;_0x401f00<_0x2a4d10[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x401f00+=0x2){let _0x337e2b=window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a4d10[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x401f00,_0x401f00+0x2));_0x337e2b>=_0x4e454c[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x337e2b-=_0x4e454c[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ebe56+=_0x4e454c[_0x337e2b];}return _0x4ebe56;}function _0x3460f7(){const _0x527d4b=_0x30ebbb[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e]));if(0x3!=_0x527d4b[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ef76b(_0x527d4b[0x1]);function _0x2ef76b(_0x3a1727){const _0x3f2a1c=_0x5d5e24(_0x3a1727);return _0x3f2a1c&&_0x18e0eb()?_0x3f2a1c:null;function _0x18e0eb(){const _0x132afc=_0x3f2a1c[_0x469fbd([0x6a,0x74,0x69])],_0x58cbc7=window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x132afc[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x132afc[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3dfab8={..._0x3f2a1c,[_0x469fbd([0x6a,0x74,0x69])]:_0x132afc[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x132afc[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3dfab8[_0x469fbd([0x76,0x63])],_0x2f3819(_0x3dfab8)==_0x58cbc7;}}}async function _0x4a6f07(){let _0x1ef0f3=!0x0;try{const _0x4f34dc=_0x30ebbb[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e])),[_0x1ddc3f,_0x5b04b2,_0x1d2437]=_0x4f34dc;return _0x622a6e(_0x1ddc3f),await _0x1def2d(_0x1ddc3f,_0x5b04b2,_0x1d2437),_0x1ef0f3;}catch(_0x3af78b){return!0x1;}function _0x622a6e(_0x464888){const _0x558bfa=_0x5d5e24(_0x464888);_0x558bfa&&_0x558bfa[_0x469fbd([0x61,0x6c,0x67])]==_0x469fbd([0x45,0x53,0x32,0x35,0x36])||(_0x1ef0f3=!0x1);}async function _0x1def2d(_0x1df363,_0x844324,_0xa3aeed){const _0x6ac14=window[_0x469fbd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x469fbd([0x66,0x72,0x6f,0x6d])](_0x56a129(_0xa3aeed),_0x4078ab=>_0x4078ab[_0x469fbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12580a=new window[(_0x469fbd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x469fbd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1df363+_0x469fbd([0x2e])+_0x844324),_0x330f54=window[_0x469fbd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x469fbd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x330f54)return;const _0xa2e533=await _0x330f54[_0x469fbd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x469fbd([0x6a,0x77,0x6b]),_0x4efa3d,{[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x45,0x43,0x44,0x53,0x41]),[_0x469fbd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x469fbd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x330f54[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x45,0x43,0x44,0x53,0x41]),[_0x469fbd([0x68,0x61,0x73,0x68])]:{[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa2e533,_0x6ac14,_0x12580a)||(_0x1ef0f3=!0x1);}}function _0x5d5e24(_0x559790){return _0x559790[_0x469fbd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x469fbd([0x65,0x79]))?JSON[_0x469fbd([0x70,0x61,0x72,0x73,0x65])](_0x56a129(_0x559790)):null;}function _0x56a129(_0x17498e){return window[_0x469fbd([0x61,0x74,0x6f,0x62])](_0x17498e[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x469fbd([0x2b]))[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x469fbd([0x2f])));}function _0x2f3819(_0x5d3b36){let _0xb9d0dd=0x1505;function _0x3798b7(_0x16f831){for(let _0x528076=0x0;_0x528076<_0x16f831[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x528076++){const _0x2d6cd7=_0x16f831[_0x469fbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x528076);_0xb9d0dd=(_0xb9d0dd<<0x5)+_0xb9d0dd+_0x2d6cd7,_0xb9d0dd&=_0xb9d0dd;}}function _0x46fa08(_0x1f5cf3){Array[_0x469fbd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f5cf3)?_0x1f5cf3[_0x469fbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46fa08):_0x1f5cf3&&typeof _0x1f5cf3==_0x469fbd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x469fbd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f5cf3)[_0x469fbd([0x73,0x6f,0x72,0x74])]()[_0x469fbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb5e284,_0x191356])=>{_0x3798b7(_0xb5e284),_0x46fa08(_0x191356);}):_0x3798b7(window[_0x469fbd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f5cf3));}return _0x46fa08(_0x5d3b36),_0xb9d0dd>>>0x0;}function _0x142121(_0x494022){return _0x494022[_0x469fbd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x469fbd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x469fbd([0x30]));}function _0x366db5(_0x520ce3){return _0x520ce3[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x469fbd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x469fbd([0x6a,0x6f,0x69,0x6e])]('');}function _0x43d3f6(){}function _0x469fbd(_0x3d1ac0){const _0x277953=_0x3e72;return _0x3d1ac0[_0x277953(0x10b)](_0x55d051=>String[_0x277953(0x133)](_0x55d051))[_0x277953(0x123)]('');}_0xa6fa1b(await _0x405bad());}(this);}[_0x4514be(0x136)](){const _0x42ea9a=_0x4514be,_0x6fc8d=this[_0x42ea9a(0x109)][_0x42ea9a(0x11b)];_0x6fc8d[_0x42ea9a(0x12f)](_0x8674d3=>{const _0x3c9abb=_0x42ea9a,_0x48a161=_0x6fc8d[_0x3c9abb(0x135)][_0x3c9abb(0x112)][_0x3c9abb(0x11c)]();if(_0x6fc8d[_0x3c9abb(0xfc)][_0x3c9abb(0x101)](u))_0x8674d3[_0x3c9abb(0xff)](u,{'range':_0x48a161});else{if(_0x48a161[_0x3c9abb(0x12a)][_0x3c9abb(0x10a)]){const _0x2b2143=_0x48a161[_0x3c9abb(0x12a)][_0x3c9abb(0x11f)](({item:_0x5d0585})=>!_0x6fc8d[_0x3c9abb(0x11a)][_0x3c9abb(0x137)](_0x5d0585),{'boundaries':_0x48a161});_0x8674d3[_0x3c9abb(0x107)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x8674d3[_0x3c9abb(0xf9)](_0x2b2143,_0x48a161[_0x3c9abb(0x128)])});}else _0x8674d3[_0x3c9abb(0x107)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x48a161});}});}[_0x4514be(0xf4)](){const _0x56c492=_0x4514be,_0x338a28=this[_0x56c492(0x109)][_0x56c492(0x11b)];_0x338a28[_0x56c492(0xfc)][_0x56c492(0x101)](u)&&_0x338a28[_0x56c492(0x12f)](_0x246a32=>{const _0x43e0ca=_0x56c492;_0x246a32[_0x43e0ca(0x126)](u);});}[_0x4514be(0x134)](_0x4f8f49,_0x39238d){const _0x499fd5=_0x4514be,_0x17b065=_0x39238d||this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0xfc)][_0x499fd5(0x10e)](u)[_0x499fd5(0x118)]();if(!this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0xfe)](_0x17b065))return;const _0x527d9a=this[_0x499fd5(0x109)][_0x499fd5(0x10f)][_0x499fd5(0xfb)][_0x499fd5(0x113)](_0x4f8f49),_0x1aa418=this[_0x499fd5(0x109)][_0x499fd5(0x10f)][_0x499fd5(0x139)](_0x527d9a);this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0x12f)](_0x4653ca=>{const _0x1dea6b=_0x499fd5;this[_0x1dea6b(0xf4)]();const _0xd998b6=this[_0x1dea6b(0x109)][_0x1dea6b(0x11b)][_0x1dea6b(0x134)](_0x1aa418,_0x17b065);_0xd998b6&&_0x4653ca[_0x1dea6b(0x138)](_0xd998b6);});}[_0x4514be(0x100)](_0xfd3ee1){const _0x20d48f=_0x4514be,{model:_0x43935f}=this[_0x20d48f(0x109)],_0x7a4642=Array[_0x20d48f(0x11d)](_0x43935f[_0x20d48f(0x120)](this[_0x20d48f(0x109)][_0x20d48f(0x11b)][_0x20d48f(0xfc)][_0x20d48f(0x10e)](u)[_0x20d48f(0x118)]())[_0x20d48f(0x104)]()),_0x14bfc6=_0x7a4642[_0x20d48f(0x105)]?_0x43935f[_0x20d48f(0x125)](_0x7a4642[_0x20d48f(0x110)]()):_0x43935f[_0x20d48f(0x135)][_0x20d48f(0x112)][_0x20d48f(0x124)]();this[_0x20d48f(0x134)](_0xfd3ee1,_0x14bfc6);}}
|
|
23
|
+
function _0x4641(){const _0x5ecfb6=['getLastMatchingPosition','97368KRNVbO','start','setSelection','has','change','getSelectedBlocks','markerToElement','markerRange','265nkJEwB','toModel','6PuEGHg','addMarker','join','init','model','insertContentBelow','get','8UPRneX','isAtEnd','createRange','markerToHighlight','createUIElement','fromCharCode','insertContent','getLastPosition','schema','canEditAt','data','hideFakeVisualSelection','document','addClass','ai.useTheme','getFirstRange','href','updateMarker','741633ntBntN','for','pop','toView','294213FBfLyy','isPremiumPlugin','ai-ui','getRange','createPositionAfter','length','createSelection','push','isOfficialPlugin','ck-fake-ai-selection','from','AIAssistantEditing','editingDowncast','pluginName','conversion','5864804BeOjJs','map','removeMarker','isCollapsed','editor','config','afterInit','ck-ai-assistant-ui_theme','markers','span','showFakeVisualSelection','153nAIMaf','164950AqOrMJ','1364244HyufCU','ck-fake-ai-selection_collapsed','88602vOuLJY','isContent','processor','end','selection'];_0x4641=function(){return _0x5ecfb6;};return _0x4641();}const _0x217b5b=_0x462c;(function(_0x582286,_0x6b99fa){const _0x218d9c=_0x462c,_0x38c8b8=_0x582286();while(!![]){try{const _0x30a4a3=parseInt(_0x218d9c(0x189))/0x1+-parseInt(_0x218d9c(0x16c))/0x2*(parseInt(_0x218d9c(0x185))/0x3)+parseInt(_0x218d9c(0x162))/0x4+parseInt(_0x218d9c(0x16a))/0x5*(parseInt(_0x218d9c(0x15c))/0x6)+parseInt(_0x218d9c(0x15a))/0x7*(-parseInt(_0x218d9c(0x173))/0x8)+-parseInt(_0x218d9c(0x158))/0x9*(parseInt(_0x218d9c(0x159))/0xa)+parseInt(_0x218d9c(0x14d))/0xb;if(_0x30a4a3===_0x6b99fa)break;else _0x38c8b8['push'](_0x38c8b8['shift']());}catch(_0x5c57d1){_0x38c8b8['push'](_0x38c8b8['shift']());}}}(_0x4641,0x65e96));import{uid as _0x1e52ff}from'ckeditor5/src/utils.js';import{Plugin as _0x5cd6d4}from'ckeditor5/src/core.js';const u=_0x217b5b(0x18b);function _0x462c(_0x3e32e4,_0x45dd09){const _0x46410f=_0x4641();return _0x462c=function(_0x462ccd,_0x20a867){_0x462ccd=_0x462ccd-0x146;let _0x22d6bf=_0x46410f[_0x462ccd];return _0x22d6bf;},_0x462c(_0x3e32e4,_0x45dd09);}export default class a extends _0x5cd6d4{static get[_0x217b5b(0x14b)](){const _0x309d51=_0x217b5b;return _0x309d51(0x149);}static get[_0x217b5b(0x146)](){return!0x0;}static get[_0x217b5b(0x18a)](){return!0x0;}[_0x217b5b(0x16f)](){const _0x221fa7=_0x217b5b,{editor:_0x2bb553}=this,_0x1c4da8=[_0x221fa7(0x147)];_0x2bb553[_0x221fa7(0x152)][_0x221fa7(0x172)](_0x221fa7(0x181))&&_0x1c4da8[_0x221fa7(0x190)](_0x221fa7(0x154)),_0x2bb553[_0x221fa7(0x14c)][_0x221fa7(0x186)](_0x221fa7(0x14a))[_0x221fa7(0x176)]({'model':u,'view':{'classes':_0x1c4da8,'priority':0xc}}),_0x2bb553[_0x221fa7(0x14c)][_0x221fa7(0x186)](_0x221fa7(0x14a))[_0x221fa7(0x168)]({'model':u,'view':(_0x2f7248,{writer:_0x25179e})=>{const _0x3fcddc=_0x221fa7;if(!_0x2f7248[_0x3fcddc(0x169)][_0x3fcddc(0x150)])return null;const _0x4416e3=_0x25179e[_0x3fcddc(0x177)](_0x3fcddc(0x156));return _0x25179e[_0x3fcddc(0x180)]([_0x3fcddc(0x147),_0x3fcddc(0x15b)],_0x4416e3),_0x4416e3;}});}[_0x217b5b(0x153)](){!async function(_0x39026f){const _0x30aecf=_0x35d8bb([0x53,0x76,0x51,0x4a,0x46,0x43,0x79,0x6f,0x70,0x52,0x4c,0x6a,0x32,0x7a,0x45,0x74,0x35,0x44,0x56,0x6b,0x6c,0x6e,0x62,0x49,0x72,0x75,0x48,0x4b,0x57,0x55,0x71,0x66,0x31,0x50,0x4d,0x58,0x65,0x69,0x67,0x77,0x61,0x54,0x30,0x73,0x38,0x4e,0x78,0x59,0x33,0x47,0x34,0x4f,0x68,0x64,0x63,0x42,0x36,0x37,0x5a,0x41,0x39,0x6d]),_0x2d24c3=0x7ed660b2,_0x5cb635=0x7ed1383a^_0x2d24c3,_0x88d217=window[_0x35d8bb([0x44,0x61,0x74,0x65])][_0x35d8bb([0x6e,0x6f,0x77])](),_0x21cd1b=_0x39026f[_0x35d8bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e1de6=new window[(_0x35d8bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3378e1=>{_0x21cd1b[_0x35d8bb([0x6f,0x6e,0x63,0x65])](_0x35d8bb([0x72,0x65,0x61,0x64,0x79]),_0x3378e1);}),_0x192d15={[_0x35d8bb([0x6b,0x74,0x79])]:_0x35d8bb([0x45,0x43]),[_0x35d8bb([0x75,0x73,0x65])]:_0x35d8bb([0x73,0x69,0x67]),[_0x35d8bb([0x63,0x72,0x76])]:_0x35d8bb([0x50,0x2d,0x32,0x35,0x36]),[_0x35d8bb([0x78])]:_0x35d8bb([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]),[_0x35d8bb([0x79])]:_0x35d8bb([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]),[_0x35d8bb([0x61,0x6c,0x67])]:_0x35d8bb([0x45,0x53,0x32,0x35,0x36])},_0x84dad4=_0x21cd1b[_0x35d8bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35d8bb([0x67,0x65,0x74])](_0x35d8bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45bb68(){let _0x43fcfb,_0x2de9b3=null,_0x383cf2=null;try{if(_0x84dad4==_0x35d8bb([0x47,0x50,0x4c]))return _0x35d8bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43fcfb=_0x298464(),!_0x43fcfb)return _0x35d8bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43fcfb[_0x35d8bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x383cf2=_0x35e766(_0x43fcfb[_0x35d8bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43fcfb[_0x35d8bb([0x6a,0x74,0x69])])),await _0x19dc43()?_0x4f2bce()?_0x22b076()?_0x35d8bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x32eb63()?(_0x43fcfb[_0x35d8bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35d8bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2de9b3=_0xa2fe3b(_0x35d8bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43fcfb[_0x35d8bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35d8bb([0x74,0x72,0x69,0x61,0x6c])&&(_0x2de9b3=_0xa2fe3b(_0x35d8bb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x43fcfb[_0x35d8bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35d8bb([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x2de9b3=_0xa2fe3b(_0x35d8bb([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cb135()):_0x35d8bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35d8bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35d8bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x39893d){return _0x35d8bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22b076(){const _0x1bae3a=[_0x35d8bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35d8bb([0x74,0x72,0x69,0x61,0x6c])][_0x35d8bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43fcfb[_0x35d8bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x88d217/0x3e8:0xe10*_0x5cb635;return _0x43fcfb[_0x35d8bb([0x65,0x78,0x70])]<_0x1bae3a;}function _0x4f2bce(){const _0x22f9f2=_0x43fcfb[_0x35d8bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x22f9f2&&(!!_0x22f9f2[_0x35d8bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d8bb([0x2a]))||!!_0x22f9f2[_0x35d8bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d8bb([0x41,0x49])));}function _0x32eb63(){const _0x141190=_0x462c,_0x2eb6f9=_0x43fcfb[_0x35d8bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2eb6f9||0x0==_0x2eb6f9[_0x35d8bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x568564}=new URL(window[_0x35d8bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x141190(0x183)]);if(_0x2eb6f9[_0x35d8bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x568564))return!0x0;const _0x128128=_0x568564[_0x35d8bb([0x73,0x70,0x6c,0x69,0x74])](_0x35d8bb([0x2e]));return _0x2eb6f9[_0x35d8bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d53a0=>_0x1d53a0[_0x35d8bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d8bb([0x2a])))[_0x35d8bb([0x6d,0x61,0x70])](_0x49206f=>_0x49206f[_0x35d8bb([0x73,0x70,0x6c,0x69,0x74])](_0x35d8bb([0x2e])))[_0x35d8bb([0x73,0x6f,0x6d,0x65])](_0xf65b1=>_0x128128[_0x35d8bb([0x65,0x76,0x65,0x72,0x79])]((_0x15941f,_0x33f302)=>_0xf65b1[_0x33f302]===_0x15941f||_0xf65b1[_0x33f302]===_0x35d8bb([0x2a])));}function _0x1cb135(){return _0x2de9b3&&_0x383cf2?new window[(_0x35d8bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2421dd,_0x2c73f3)=>{_0x2de9b3[_0x35d8bb([0x74,0x68,0x65,0x6e])](_0x2421dd,_0x2c73f3),_0x383cf2[_0x35d8bb([0x74,0x68,0x65,0x6e])](_0x1c73ac=>{_0x1c73ac!=_0x35d8bb([0x56,0x61,0x6c,0x69,0x64])&&_0x2421dd(_0x1c73ac);},_0x2c73f3);}):_0x2de9b3||_0x383cf2||_0x35d8bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35e766(_0x12f8e9,_0x5344b1){return new window[(_0x35d8bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x302c0e=>{if(_0x34802d())return _0x302c0e(_0x35d8bb([0x56,0x61,0x6c,0x69,0x64]));_0x546bd2(),_0x21cd1b[_0x35d8bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35d8bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57bd8e=!0x1;const _0x5e72c3=_0x1e52ff();function _0x5148b9(_0x10007e){return!!_0x10007e&&(typeof _0x10007e===_0x35d8bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10007e===_0x35d8bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10007e[_0x35d8bb([0x74,0x68,0x65,0x6e])]===_0x35d8bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10007e[_0x35d8bb([0x63,0x61,0x74,0x63,0x68])]===_0x35d8bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b2f24(_0x1dc97b){_0x206896(_0x1dc97b)[_0x35d8bb([0x74,0x68,0x65,0x6e])](_0x59da7d=>{if(!_0x59da7d||_0x59da7d[_0x35d8bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35d8bb([0x6f,0x6b]))return _0x35d8bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3315f0(_0x120f17(_0x5e72c3+_0x5344b1))!=_0x59da7d[_0x35d8bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35d8bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35d8bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x35d8bb([0x74,0x68,0x65,0x6e])](_0x1004e9=>(_0x4d2ff2(),_0x1004e9),()=>{const _0x480a62=_0x5ccbdd();return null==_0x480a62?(_0x4d2ff2(),_0x35d8bb([0x56,0x61,0x6c,0x69,0x64])):_0x35d8bb(_0x88d217-_0x480a62>(0x5adae4b2^_0x2d24c3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35d8bb([0x74,0x68,0x65,0x6e])](_0x302c0e)[_0x35d8bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x302c0e(_0x35d8bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b9731=0x7ee08e32^_0x2d24c3;function _0x4d2ff2(){const _0x2128f5=_0x35d8bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x3315f0(_0x120f17(_0x12f8e9)),_0x3f8c97=_0x50c850(_0x3315f0(window[_0x35d8bb([0x4d,0x61,0x74,0x68])][_0x35d8bb([0x63,0x65,0x69,0x6c])](_0x88d217/_0x3b9731)));window[_0x35d8bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35d8bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2128f5,_0x3f8c97);}function _0x5ccbdd(){const _0xca8537=_0x35d8bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x3315f0(_0x120f17(_0x12f8e9)),_0x2f9e08=window[_0x35d8bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35d8bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xca8537);return _0x2f9e08?window[_0x35d8bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50c850(_0x2f9e08),0x10)*_0x3b9731:null;}function _0x206896(_0x486f0a){return new window[(_0x35d8bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x893d5c,_0x312dab)=>{_0x486f0a[_0x35d8bb([0x74,0x68,0x65,0x6e])](_0x893d5c,_0x312dab),window[_0x35d8bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x312dab,0x7ed7b472^_0x2d24c3);});}}_0x21cd1b[_0x35d8bb([0x6f,0x6e])](_0x35d8bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20420b,_0x404882)=>{if(_0x404882[0x0]!=_0x12f8e9)return _0x302c0e(_0x35d8bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x404882[0x1]={..._0x404882[0x1],[_0x35d8bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e72c3};},{[_0x35d8bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35d8bb([0x68,0x69,0x67,0x68])}),_0x21cd1b[_0x35d8bb([0x6f,0x6e])](_0x35d8bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46565c=>{_0x5148b9(_0x46565c[_0x35d8bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57bd8e=!0x0,_0x5b2f24(_0x46565c[_0x35d8bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35d8bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35d8bb([0x6c,0x6f,0x77])}),_0x4e1de6[_0x35d8bb([0x74,0x68,0x65,0x6e])](()=>{_0x57bd8e||_0x302c0e(_0x35d8bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34802d(){return _0x21cd1b[_0x35d8bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35d8bb([0x76,0x69,0x65,0x77])][_0x35d8bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35d8bb([0x61,0x75,0x74,0x6f]);}function _0x546bd2(){_0x21cd1b[_0x35d8bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35d8bb([0x76,0x69,0x65,0x77])][_0x35d8bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35d8bb([0x61,0x75,0x74,0x6f]);}}function _0xa2fe3b(_0x4c2ead){const _0x876c4a=[new window[(_0x35d8bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x374393=>setTimeout(_0x374393,0x7edf5e7e^_0x2d24c3)),_0x4e1de6[_0x35d8bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35d8bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e4652=>{let _0x34a0bb=0x0;_0x21cd1b[_0x35d8bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x35d8bb([0x6f,0x6e])](_0x35d8bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26fbbe,_0x3e07db)=>{_0x3e07db[0x0][_0x35d8bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34a0bb++,_0x34a0bb==(0x7ed6614a^_0x2d24c3)&&(_0x5e4652(),_0x26fbbe[_0x35d8bb([0x6f,0x66,0x66])]());});}))];return window[_0x35d8bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35d8bb([0x72,0x61,0x63,0x65])](_0x876c4a)[_0x35d8bb([0x74,0x68,0x65,0x6e])](()=>_0x4c2ead);}async function _0x51e85a(){await _0x4e1de6,_0x21cd1b[_0x35d8bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x35d8bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4ccc86,_0x21cd1b[_0x35d8bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x35d8bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4ccc86,_0x21cd1b[_0x35d8bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35d8bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x11471b(_0x4f34d7){const _0x46d513=_0x3ef377();_0x21cd1b[_0x46d513]=_0x35d8bb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f34d7,_0x4f34d7!=_0x35d8bb([0x56,0x61,0x6c,0x69,0x64])&&_0x51e85a();}function _0x3ef377(){const _0x40421f=window[_0x35d8bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35d8bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35d8bb([0x6e,0x6f,0x77])]())[_0x35d8bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35d8bb([0x2e]),'');let _0x482469=_0x35d8bb([0x53]);for(let _0x4d94f5=0x0;_0x4d94f5<_0x40421f[_0x35d8bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d94f5+=0x2){let _0x3e7859=window[_0x35d8bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40421f[_0x35d8bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d94f5,_0x4d94f5+0x2));_0x3e7859>=_0x30aecf[_0x35d8bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e7859-=_0x30aecf[_0x35d8bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x482469+=_0x30aecf[_0x3e7859];}return _0x482469;}function _0x298464(){const _0x2307a3=_0x84dad4[_0x35d8bb([0x73,0x70,0x6c,0x69,0x74])](_0x35d8bb([0x2e]));if(0x3!=_0x2307a3[_0x35d8bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57f857(_0x2307a3[0x1]);function _0x57f857(_0x366bb0){const _0x710981=_0x5c3de9(_0x366bb0);return _0x710981&&_0x30d370()?_0x710981:null;function _0x30d370(){const _0x3e0eb3=_0x710981[_0x35d8bb([0x6a,0x74,0x69])],_0x5c8440=window[_0x35d8bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e0eb3[_0x35d8bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e0eb3[_0x35d8bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x14ce00={..._0x710981,[_0x35d8bb([0x6a,0x74,0x69])]:_0x3e0eb3[_0x35d8bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e0eb3[_0x35d8bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x14ce00[_0x35d8bb([0x76,0x63])],_0x120f17(_0x14ce00)==_0x5c8440;}}}async function _0x19dc43(){let _0x5aa81f=!0x0;try{const _0x137372=_0x84dad4[_0x35d8bb([0x73,0x70,0x6c,0x69,0x74])](_0x35d8bb([0x2e])),[_0x19ef04,_0x262a33,_0x495c37]=_0x137372;return _0x3ec044(_0x19ef04),await _0x20156f(_0x19ef04,_0x262a33,_0x495c37),_0x5aa81f;}catch(_0x51d47f){return!0x1;}function _0x3ec044(_0x1897e5){const _0x45d1ed=_0x5c3de9(_0x1897e5);_0x45d1ed&&_0x45d1ed[_0x35d8bb([0x61,0x6c,0x67])]==_0x35d8bb([0x45,0x53,0x32,0x35,0x36])||(_0x5aa81f=!0x1);}async function _0x20156f(_0x124c41,_0x459136,_0x2b4a1c){const _0x371de4=window[_0x35d8bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35d8bb([0x66,0x72,0x6f,0x6d])](_0x2d60a6(_0x2b4a1c),_0x4b7dcf=>_0x4b7dcf[_0x35d8bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x93e22c=new window[(_0x35d8bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35d8bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x124c41+_0x35d8bb([0x2e])+_0x459136),_0x5588b3=window[_0x35d8bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35d8bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5588b3)return;const _0x44d793=await _0x5588b3[_0x35d8bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35d8bb([0x6a,0x77,0x6b]),_0x192d15,{[_0x35d8bb([0x6e,0x61,0x6d,0x65])]:_0x35d8bb([0x45,0x43,0x44,0x53,0x41]),[_0x35d8bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35d8bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35d8bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5588b3[_0x35d8bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35d8bb([0x6e,0x61,0x6d,0x65])]:_0x35d8bb([0x45,0x43,0x44,0x53,0x41]),[_0x35d8bb([0x68,0x61,0x73,0x68])]:{[_0x35d8bb([0x6e,0x61,0x6d,0x65])]:_0x35d8bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x44d793,_0x371de4,_0x93e22c)||(_0x5aa81f=!0x1);}}function _0x5c3de9(_0x3c2b8c){return _0x3c2b8c[_0x35d8bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35d8bb([0x65,0x79]))?JSON[_0x35d8bb([0x70,0x61,0x72,0x73,0x65])](_0x2d60a6(_0x3c2b8c)):null;}function _0x2d60a6(_0x58976c){return window[_0x35d8bb([0x61,0x74,0x6f,0x62])](_0x58976c[_0x35d8bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35d8bb([0x2b]))[_0x35d8bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35d8bb([0x2f])));}function _0x120f17(_0x12a573){let _0x49dc4e=0x1505;function _0xd32257(_0x158891){for(let _0x3ad195=0x0;_0x3ad195<_0x158891[_0x35d8bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ad195++){const _0xb6a115=_0x158891[_0x35d8bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ad195);_0x49dc4e=(_0x49dc4e<<0x5)+_0x49dc4e+_0xb6a115,_0x49dc4e&=_0x49dc4e;}}function _0x19685d(_0x12b992){Array[_0x35d8bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x12b992)?_0x12b992[_0x35d8bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19685d):_0x12b992&&typeof _0x12b992==_0x35d8bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35d8bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x12b992)[_0x35d8bb([0x73,0x6f,0x72,0x74])]()[_0x35d8bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13f8ba,_0x8b6f28])=>{_0xd32257(_0x13f8ba),_0x19685d(_0x8b6f28);}):_0xd32257(window[_0x35d8bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x12b992));}return _0x19685d(_0x12a573),_0x49dc4e>>>0x0;}function _0x3315f0(_0x2f19e5){return _0x2f19e5[_0x35d8bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35d8bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35d8bb([0x30]));}function _0x50c850(_0x370cb2){return _0x370cb2[_0x35d8bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35d8bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35d8bb([0x6a,0x6f,0x69,0x6e])]('');}function _0x4ccc86(){}function _0x35d8bb(_0x19431c){const _0x49258a=_0x462c;return _0x19431c[_0x49258a(0x14e)](_0x513cf1=>String[_0x49258a(0x178)](_0x513cf1))[_0x49258a(0x16e)]('');}_0x11471b(await _0x45bb68());}(this);}[_0x217b5b(0x157)](){const _0x146c80=_0x217b5b,_0x46be7f=this[_0x146c80(0x151)][_0x146c80(0x170)];_0x46be7f[_0x146c80(0x166)](_0x2c0c07=>{const _0x5ab17d=_0x146c80,_0x48bd26=_0x46be7f[_0x5ab17d(0x17f)][_0x5ab17d(0x160)][_0x5ab17d(0x182)]();if(_0x46be7f[_0x5ab17d(0x155)][_0x5ab17d(0x165)](u))_0x2c0c07[_0x5ab17d(0x184)](u,{'range':_0x48bd26});else{if(_0x48bd26[_0x5ab17d(0x163)][_0x5ab17d(0x174)]){const _0x547840=_0x48bd26[_0x5ab17d(0x163)][_0x5ab17d(0x161)](({item:_0x4adebe})=>!_0x46be7f[_0x5ab17d(0x17b)][_0x5ab17d(0x15d)](_0x4adebe),{'boundaries':_0x48bd26});_0x2c0c07[_0x5ab17d(0x16d)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2c0c07[_0x5ab17d(0x175)](_0x547840,_0x48bd26[_0x5ab17d(0x15f)])});}else _0x2c0c07[_0x5ab17d(0x16d)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x48bd26});}});}[_0x217b5b(0x17e)](){const _0x172901=_0x217b5b,_0x266f5b=this[_0x172901(0x151)][_0x172901(0x170)];_0x266f5b[_0x172901(0x155)][_0x172901(0x165)](u)&&_0x266f5b[_0x172901(0x166)](_0x45d74b=>{const _0x3776a0=_0x172901;_0x45d74b[_0x3776a0(0x14f)](u);});}[_0x217b5b(0x179)](_0x48454a,_0x3d98bd){const _0x4e8f6d=_0x217b5b,_0x4b9b7b=_0x3d98bd||this[_0x4e8f6d(0x151)][_0x4e8f6d(0x170)][_0x4e8f6d(0x155)][_0x4e8f6d(0x172)](u)[_0x4e8f6d(0x18c)]();if(!this[_0x4e8f6d(0x151)][_0x4e8f6d(0x170)][_0x4e8f6d(0x17c)](_0x4b9b7b))return;const _0x47b3a8=this[_0x4e8f6d(0x151)][_0x4e8f6d(0x17d)][_0x4e8f6d(0x15e)][_0x4e8f6d(0x188)](_0x48454a),_0x4baa2c=this[_0x4e8f6d(0x151)][_0x4e8f6d(0x17d)][_0x4e8f6d(0x16b)](_0x47b3a8);this[_0x4e8f6d(0x151)][_0x4e8f6d(0x170)][_0x4e8f6d(0x166)](_0x1ef040=>{const _0x6214a2=_0x4e8f6d;this[_0x6214a2(0x17e)]();const _0x57e6be=this[_0x6214a2(0x151)][_0x6214a2(0x170)][_0x6214a2(0x179)](_0x4baa2c,_0x4b9b7b);_0x57e6be&&_0x1ef040[_0x6214a2(0x164)](_0x57e6be);});}[_0x217b5b(0x171)](_0x37221e){const _0x44f070=_0x217b5b,{model:_0x365551}=this[_0x44f070(0x151)],_0x8fdca8=Array[_0x44f070(0x148)](_0x365551[_0x44f070(0x18f)](this[_0x44f070(0x151)][_0x44f070(0x170)][_0x44f070(0x155)][_0x44f070(0x172)](u)[_0x44f070(0x18c)]())[_0x44f070(0x167)]()),_0x13a674=_0x8fdca8[_0x44f070(0x18e)]?_0x365551[_0x44f070(0x18d)](_0x8fdca8[_0x44f070(0x187)]()):_0x365551[_0x44f070(0x17f)][_0x44f070(0x160)][_0x44f070(0x17a)]();this[_0x44f070(0x179)](_0x37221e,_0x13a674);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x407de7=_0x49b0;(function(_0x4534b4,_0x3b728d){const _0x1fc05d=_0x49b0,_0x5c2eba=_0x4534b4();while(!![]){try{const _0x545220=-parseInt(_0x1fc05d(0x1d3))/0x1+parseInt(_0x1fc05d(0x20d))/0x2*(parseInt(_0x1fc05d(0x1b4))/0x3)+parseInt(_0x1fc05d(0x20e))/0x4*(parseInt(_0x1fc05d(0x1cd))/0x5)+parseInt(_0x1fc05d(0x1bb))/0x6*(parseInt(_0x1fc05d(0x1bd))/0x7)+-parseInt(_0x1fc05d(0x175))/0x8*(-parseInt(_0x1fc05d(0x1d8))/0x9)+-parseInt(_0x1fc05d(0x1d9))/0xa*(parseInt(_0x1fc05d(0x160))/0xb)+parseInt(_0x1fc05d(0x1b1))/0xc*(parseInt(_0x1fc05d(0x1eb))/0xd);if(_0x545220===_0x3b728d)break;else _0x5c2eba['push'](_0x5c2eba['shift']());}catch(_0x32b905){_0x5c2eba['push'](_0x5c2eba['shift']());}}}(_0x5a2c,0x491e4));import{Plugin as _0x5274fe}from'ckeditor5/src/core.js';import{first as _0xe8572b,CKEditorError as _0x360224}from'ckeditor5/src/utils.js';import{createDropdown as _0x374b8f,addMenuToDropdown as _0x3e4518,ButtonView as _0xbafeb7,MenuBarMenuListItemButtonView as _0x3633fc,Dialog as _0xfb3a1f,DialogViewPosition as _0x39e458,MenuBarMenuView as _0x59247e,MenuBarMenuListView as _0x53d8b7,MenuBarMenuListItemView as _0x4971b4}from'ckeditor5/src/ui.js';import{icons as _0x57261d}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x17d56b,UNGROUPED_COMMANDS_GROUP_ID as _0x165c49}from'./utils/normalizecommandsconfig.js';import _0x1bd5c0 from'./aiassistantediting.js';import _0x58ce70 from'./adapters/aiadapter.js';import{getTranslation as _0x1f932d}from'./utils/common-translations.js';function _0x5a2c(){const _0x3f9ada=['change','EDITOR_TOP_SIDE','promptView','isOfficialPlugin','236152lDTrPB','getData','insertContentBelow','_uiCssClasses','isFlat','2511NbGrct','5046740ALrNFO','hideUI','sort','tableOfContents','ai-commands-config-order-collision','aiLicenseKeyValid','fire','replace','aiLicenseKeyDomainLimit','forEach','trim','includes','change:isProcessing','items','groupId','destroy','_dialog','expired','1509131FzeFyG','requiresContent','AI\x20Commands','AIAssistantUI','usageLimit','_aiAssistantController','aiAssistant','showAIAssistant','change:enabledCommandsIds','updatePosition','execute','aiLicenseKeyExpired','REPLACE','selection','reset','commands','licenseKey','polite','ck-ai-assistant-ui','menuitemcheckbox','<p>','isCollapsed','Error\x20during\x20AI\x20content\x20generation:\x20%0','schema','_populateMenuBarMenu','splice','textAdapter','ai.aiAssistant.disabledElements','define','AI\x20Assistant','copy','INSERT','addMany','getSelectedElement','75710oyHCjP','759588GnQvFj','config','ai.useTheme','_getResolvedCommandsDefinitions','buttons','ai.aiAssistant.commands','trialLimit','editing','11cMKFKt','aiLicenseKeyInvalid','order','length','getSelectedBlocks','set','showUI','init','change:value','</p>','buttonView','setSelection','aiCommands','hide','pluginName','_initAriaAiStatusChangeAnnouncements','push','\x20ck-ai-assistant-ui_theme','panelView','_createAIAssistantUIButton','aiLicenseKeyTrialLimit','2456DyHFSv','insertContent','developmentLimit','show','AI\x20is\x20writing','focus','domainLimit','aiLicenseKeyDevelopmentLimit','featureNotAllowed','filter','render','isPremiumPlugin','showFakeVisualSelection','command:','announce','bind','menuPanelClass','enabledCommandsIds','menuView','_onExecute','ai.aiAssistant.contentAreaCssClass','media','currentContext','queryView','AIAssistant','ck-ai-assistant-button\x20','requires','_getMenuBarGroupButtons','values','delegate','errorView','contentArea','source','_initView','add','_commandDefinitions','isEnabled','updateView','view','listenTo','locale','getRanges','wasMoved','editor','_licenseKeyCheckInterval','aiLicenseKeyUsageLimit','isOn','invalid','_forceMarkersCopy','_formView','prompt','replaceContent','aiLicenseKeyEvaluationLimit','text/html','plugins','map','robotPencil','model','document','_showLicenseError','36HygJrz','text','comment','3AwQYgk','hideFakeVisualSelection','menuBar:aiCommands','body','from','once','getLimitElement','32358PQNRZS','evaluationLimit','245wQrSKk','componentFactory','Generated\x20content:\x20%0','groupLabel','change:isError','fieldView','get','children','rawHtml','DataTransfer','_aiAdapter','aiLicenseKeyNotAllowed','update','ck-ai-commands-dropdown\x20','menuBar:aiAssistant','label','10PHhilU','custom'];_0x5a2c=function(){return _0x3f9ada;};return _0x5a2c();}function _0x49b0(_0x53c432,_0x5f5c96){const _0x5a2c1d=_0x5a2c();return _0x49b0=function(_0x49b051,_0x4423ba){_0x49b051=_0x49b051-0x15f;let _0x3ad9bf=_0x5a2c1d[_0x49b051];return _0x3ad9bf;},_0x49b0(_0x53c432,_0x5f5c96);}import _0x219b3f from'./ui/showaiassistantcommand.js';import _0x1667ef from'./ui/aiassistantcontroller.js';import _0x1189b4 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x44e11f}from'./ui/form/aiformtoolbarview.js';import _0x1a7a9c from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x407de7(0x1c6)];import{ClipboardMarkersUtils as _0x48bc58}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4859e4,DataTransfer as _0x295349}from'ckeditor5/src/engine.js';export default class n extends _0x5274fe{static get[_0x407de7(0x16e)](){const _0x3f2a9c=_0x407de7;return _0x3f2a9c(0x1ee);}static get[_0x407de7(0x1d2)](){return!0x0;}static get[_0x407de7(0x180)](){return!0x0;}static get[_0x407de7(0x18f)](){return[_0x48bc58,_0x1bd5c0,_0x58ce70,_0xfb3a1f];}constructor(_0x52785d){const _0x25619a=_0x407de7;super(_0x52785d),this[_0x25619a(0x1d6)]='',_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x206),[_0x25619a(0x18a),_0x25619a(0x1c5),_0x25619a(0x1dc)]),_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x189),''),_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x210),!0x0),this[_0x25619a(0x1d6)]=_0x25619a(0x1fd)+(_0x52785d[_0x25619a(0x20f)][_0x25619a(0x1c3)](_0x25619a(0x210))?_0x25619a(0x171):'');}[_0x407de7(0x167)](){const _0x4360fc=_0x407de7,{editor:_0x4643f4}=this;this[_0x4360fc(0x1c7)]=_0x4643f4[_0x4360fc(0x1ab)][_0x4360fc(0x1c3)](_0x58ce70),this[_0x4360fc(0x1e9)]=_0x4643f4[_0x4360fc(0x1ab)][_0x4360fc(0x1c3)](_0xfb3a1f),this[_0x4360fc(0x1a6)]=null,this[_0x4360fc(0x198)]=this[_0x4360fc(0x211)]();const _0x172b19=new _0x219b3f(_0x4643f4,Array[_0x4360fc(0x1b8)](this[_0x4360fc(0x198)][_0x4360fc(0x191)]()));_0x4643f4[_0x4360fc(0x1fa)][_0x4360fc(0x197)](_0x4360fc(0x1f2),_0x172b19),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x16c),_0x2e8049=>{const _0x5150c8=_0x4360fc,_0x4b4a00=_0x374b8f(_0x2e8049);return _0x4b4a00[_0x5150c8(0x165)]({'class':_0x5150c8(0x1ca)+this[_0x5150c8(0x1d6)]}),_0x4b4a00[_0x5150c8(0x16a)][_0x5150c8(0x165)]({'label':_0x1f932d(_0x2e8049,_0x5150c8(0x1ed)),'icon':_0x1a7a9c,'tooltip':!0x0}),_0x4b4a00['on'](_0x5150c8(0x1f5),_0x88e914=>this[_0x5150c8(0x188)](_0x88e914[_0x5150c8(0x195)]['id'])),_0x3e4518(_0x4b4a00,_0x4643f4['ui'][_0x5150c8(0x19b)][_0x5150c8(0x1b7)],function(_0x1325d9){const _0x12419b=_0x5150c8,_0x57b809=_0x17d56b(_0x1325d9[_0x12419b(0x20f)][_0x12419b(0x1c3)](_0x12419b(0x213)),_0x1325d9[_0x12419b(0x19d)]),_0x1eca7a=B(_0x1325d9,_0x57b809)[_0x12419b(0x17e)](_0x3fbb1c=>_0x3fbb1c[_0x12419b(0x1fa)][_0x12419b(0x163)]);if(0x1===_0x1eca7a[_0x12419b(0x163)])return B(_0x1325d9,_0x1eca7a[0x0][_0x12419b(0x1fa)])[_0x12419b(0x1ac)](_0x316d26=>({'id':_0x316d26['id'],'label':_0x316d26[_0x12419b(0x1cc)]}));return _0x1eca7a[_0x12419b(0x1ac)](_0x2c28e5=>{const _0x1274d8=_0x12419b,{groupId:_0x1a818e,groupLabel:_0x1c3f98,commands:_0x5c3328}=_0x2c28e5,_0x477b77=B(_0x1325d9,_0x5c3328)[_0x1274d8(0x1ac)](_0x447786=>({'id':_0x447786['id'],'label':_0x447786[_0x1274d8(0x1cc)]}));return{'id':_0x1a818e,'menu':_0x1c3f98||_0x1a818e,'children':_0x477b77};});}(_0x4643f4),{'ariaLabel':_0x1f932d(_0x2e8049,_0x5150c8(0x1ed))}),_0x4b4a00[_0x5150c8(0x187)][_0x5150c8(0x185)]=_0x5150c8(0x1ca)+this[_0x5150c8(0x1d6)],_0x172b19['on'](_0x5150c8(0x1f3),_0x41f3f),_0x4b4a00[_0x5150c8(0x187)][_0x5150c8(0x1b9)](_0x5150c8(0x17f),_0x41f3f),_0x4b4a00;function _0x41f3f(){const _0x39a9d0=_0x5150c8;_0x4b4a00[_0x39a9d0(0x199)]=_0x172b19[_0x39a9d0(0x186)][_0x39a9d0(0x163)]>0x0;for(const _0x3f3887 of _0x4b4a00[_0x39a9d0(0x187)][_0x39a9d0(0x212)])_0x3f3887[_0x39a9d0(0x199)]=_0x172b19[_0x39a9d0(0x186)][_0x39a9d0(0x1e4)](_0x3f3887['id']);}}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1b6),_0x5f42aa=>{const _0x56e8f1=_0x4360fc,_0x1d4467=new _0x59247e(_0x5f42aa);_0x1d4467[_0x56e8f1(0x16a)][_0x56e8f1(0x165)]({'label':_0x1f932d(_0x5f42aa,_0x56e8f1(0x1ed)),'icon':_0x1a7a9c}),_0x1d4467[_0x56e8f1(0x184)](_0x56e8f1(0x199))['to'](_0x172b19,_0x56e8f1(0x186),_0x304ac2=>_0x304ac2[_0x56e8f1(0x163)]>0x0);const _0x4186b9=_0x17d56b(_0x4643f4[_0x56e8f1(0x20f)][_0x56e8f1(0x1c3)](_0x56e8f1(0x213)),_0x5f42aa);return this[_0x56e8f1(0x203)](_0x172b19,_0x1d4467,_0x4186b9,_0x15543c=>this[_0x56e8f1(0x188)](_0x15543c)),_0x1d4467;}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1f1),()=>{const _0x1c9e04=_0x4360fc,_0x10df50=this[_0x1c9e04(0x173)](_0xbafeb7);return _0x10df50[_0x1c9e04(0x165)]({'tooltip':!0x0,'class':_0x1c9e04(0x18e)+this[_0x1c9e04(0x1d6)]}),_0x10df50;}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1cb),()=>{const _0x2d8326=_0x4360fc,_0x2e5628=this[_0x2d8326(0x173)](_0x3633fc);return _0x2e5628[_0x2d8326(0x165)]({'role':_0x2d8326(0x1fe)}),_0x2e5628;}),this[_0x4360fc(0x1fb)]=this[_0x4360fc(0x1a0)][_0x4360fc(0x20f)][_0x4360fc(0x1c3)](_0x4360fc(0x1fb));const _0x7fa688=this[_0x4360fc(0x1a0)];this[_0x4360fc(0x1a1)]=setInterval(()=>{const _0x1bfb40=_0x4360fc;let _0xffad12;for(const _0x5d362a in _0x7fa688){const _0x5a2fee=_0x5d362a,_0xf33dcf=_0x7fa688[_0x5a2fee];if(_0x1bfb40(0x1de)==_0xf33dcf||_0x1bfb40(0x161)==_0xf33dcf||_0x1bfb40(0x1f6)==_0xf33dcf||_0x1bfb40(0x1e1)==_0xf33dcf||_0x1bfb40(0x1c8)==_0xf33dcf||_0x1bfb40(0x1a9)==_0xf33dcf||_0x1bfb40(0x174)==_0xf33dcf||_0x1bfb40(0x17c)==_0xf33dcf||_0x1bfb40(0x1a2)==_0xf33dcf){delete _0x7fa688[_0x5a2fee],_0xffad12=_0xf33dcf,clearInterval(this[_0x1bfb40(0x1a1)]),this[_0x1bfb40(0x1a1)]=void 0x0;break;}}_0x1bfb40(0x161)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1a4)),_0x1bfb40(0x1f6)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1ea)),_0x1bfb40(0x1e1)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x17b)),_0x1bfb40(0x1c8)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x17d),_0x1bfb40(0x18d)),_0x1bfb40(0x1a9)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1bc)),_0x1bfb40(0x174)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x214)),_0x1bfb40(0x17c)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x177)),_0x1bfb40(0x1a2)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1ef));},0x3e8);}[_0x407de7(0x1e8)](){const _0x38ea14=_0x407de7;super[_0x38ea14(0x1e8)](),this[_0x38ea14(0x1a1)]&&clearInterval(this[_0x38ea14(0x1a1)]);}[_0x407de7(0x166)](_0x49b364='',_0x3e6463='',_0x302618=_0x407de7(0x1ce)){const _0x3aa595=_0x407de7,_0x3e4183=this[_0x3aa595(0x1a0)],_0x4ef45a=_0x3e4183[_0x3aa595(0x15f)][_0x3aa595(0x19b)],_0x46fe7b=_0x3e4183[_0x3aa595(0x1ab)][_0x3aa595(0x1c3)](_0x1bd5c0),_0x3b1fb0=_0x3e4183[_0x3aa595(0x1ab)][_0x3aa595(0x1c3)](_0x48bc58);_0x46fe7b[_0x3aa595(0x181)]();const _0x44dac6=new j(),_0x1d9e8e=new ClipboardEvent(_0x3aa595(0x209),{'clipboardData':_0x44dac6}),_0x30035a=new _0x295349(_0x44dac6),_0x57366b=new _0x4859e4(_0x4ef45a,_0x1d9e8e,{'dataTransfer':_0x30035a});_0x3b1fb0[_0x3aa595(0x1a5)](_0x3aa595(0x1b3),()=>{const _0x2e1b1a=_0x3aa595;_0x4ef45a[_0x2e1b1a(0x1af)][_0x2e1b1a(0x1df)](_0x2e1b1a(0x209),_0x57366b);}),this[_0x3aa595(0x1a6)]||(this[_0x3aa595(0x196)](),this[_0x3aa595(0x1f0)]=new _0x1667ef(_0x3e4183,this[_0x3aa595(0x1c7)][_0x3aa595(0x205)],this[_0x3aa595(0x1a6)]));let _0x3398c2=_0x30035a[_0x3aa595(0x1d4)](_0x3aa595(0x1aa));const _0x557e3=_0x3e4183[_0x3aa595(0x1ae)][_0x3aa595(0x1af)][_0x3aa595(0x1f8)],_0x173d2c=Array[_0x3aa595(0x1b8)](_0x557e3[_0x3aa595(0x19e)]());0x1===_0x173d2c[_0x3aa595(0x163)]&&_0x173d2c[0x0][_0x3aa595(0x1d7)]&&!_0x557e3[_0x3aa595(0x20c)]()&&''!==_0x3398c2[_0x3aa595(0x1e0)](/ /g,'')[_0x3aa595(0x1e3)]()&&(_0x3398c2=_0x3aa595(0x1ff)+_0x3398c2+_0x3aa595(0x169)),this[_0x3aa595(0x1f0)][_0x3aa595(0x19a)]({'actionId':_0x302618,'query':_0x49b364,'htmlContent':_0x3398c2,'label':_0x3e6463,'mainActionLabel':_0x44e11f[_0x3e4183[_0x3aa595(0x1ae)][_0x3aa595(0x1af)][_0x3aa595(0x1f8)][_0x3aa595(0x200)]?_0x3aa595(0x20a):_0x3aa595(0x1f7)]}),_0x3aa595(0x1f1)!==this[_0x3aa595(0x1e9)]['id']?this[_0x3aa595(0x1e9)][_0x3aa595(0x178)]({'id':_0x3aa595(0x1f1),'icon':_0x57261d[_0x3aa595(0x1ad)],'title':_0x1f932d(this[_0x3aa595(0x1a0)][_0x3aa595(0x19d)],_0x3aa595(0x208)),'content':this[_0x3aa595(0x1a6)],'position':_0x39e458[_0x3aa595(0x1d0)],'onShow':()=>{const _0x238d93=_0x3aa595;this[_0x238d93(0x1a6)][_0x238d93(0x17a)]();},'onHide':()=>{const _0x43a364=_0x3aa595;this[_0x43a364(0x1f0)][_0x43a364(0x1f9)](),_0x46fe7b[_0x43a364(0x1b5)]();}}):this[_0x3aa595(0x1e9)][_0x3aa595(0x19b)][_0x3aa595(0x19f)]||this[_0x3aa595(0x1e9)][_0x3aa595(0x19b)][_0x3aa595(0x1f4)]();}[_0x407de7(0x1da)](){const _0x34ffb6=_0x407de7;this[_0x34ffb6(0x1e9)][_0x34ffb6(0x16d)]();}[_0x407de7(0x211)](){const _0x27354d=_0x407de7,_0x56c2cb=new Map(),_0x3daaf4=_0x17d56b(this[_0x27354d(0x1a0)][_0x27354d(0x20f)][_0x27354d(0x1c3)](_0x27354d(0x213)),this[_0x27354d(0x1a0)][_0x27354d(0x19d)]);for(const _0x2cb5fb of _0x3daaf4)for(const _0x552e84 of _0x2cb5fb[_0x27354d(0x1fa)])_0x56c2cb[_0x27354d(0x165)](_0x552e84['id'],{..._0x552e84,'groupId':_0x2cb5fb[_0x27354d(0x1e7)],'groupLabel':_0x2cb5fb[_0x27354d(0x1c0)]||_0x2cb5fb[_0x27354d(0x1e7)]});return _0x56c2cb;}[_0x407de7(0x173)](_0x1136d9){const _0x2f77f6=_0x407de7,_0x4e1201=this[_0x2f77f6(0x1a0)],_0x4f4c76=_0x4e1201[_0x2f77f6(0x1fa)][_0x2f77f6(0x1c3)](_0x2f77f6(0x1f2)),_0x225b14=new _0x1136d9(_0x4e1201[_0x2f77f6(0x19d)]);return _0x225b14[_0x2f77f6(0x165)]({'label':_0x1f932d(_0x4e1201[_0x2f77f6(0x19d)],_0x2f77f6(0x208)),'icon':_0x57261d[_0x2f77f6(0x1ad)],'isToggleable':!0x0}),_0x225b14[_0x2f77f6(0x184)](_0x2f77f6(0x199))['to'](_0x4f4c76),_0x225b14[_0x2f77f6(0x184)](_0x2f77f6(0x1a3))['to'](this[_0x2f77f6(0x1e9)],'id',_0x344b1c=>_0x2f77f6(0x1f1)===_0x344b1c),this[_0x2f77f6(0x19c)](_0x225b14,_0x2f77f6(0x1f5),()=>{const _0x97c55d=_0x2f77f6;_0x225b14[_0x97c55d(0x1a3)]?this[_0x97c55d(0x1da)]():_0x4f4c76[_0x97c55d(0x1f5)]();}),_0x225b14;}[_0x407de7(0x196)](){const _0x3ab2b2=_0x407de7,_0xe0b231=this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x1ab)][_0x3ab2b2(0x1c3)](_0x1bd5c0);this[_0x3ab2b2(0x1a6)]=new _0x1189b4(this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x19d)],this[_0x3ab2b2(0x1d6)],this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x20f)][_0x3ab2b2(0x1c3)](_0x3ab2b2(0x189))),this[_0x3ab2b2(0x1a6)]['on'](_0x3ab2b2(0x168),()=>{const _0x1a910b=_0x3ab2b2;this[_0x1a910b(0x1e9)][_0x1a910b(0x19b)][_0x1a910b(0x19f)]||this[_0x1a910b(0x1e9)][_0x1a910b(0x19b)][_0x1a910b(0x1f4)]();}),this[_0x3ab2b2(0x1a6)][_0x3ab2b2(0x1d1)][_0x3ab2b2(0x18c)][_0x3ab2b2(0x1c2)]['on'](_0x3ab2b2(0x1c9),()=>{const _0x594665=_0x3ab2b2;this[_0x594665(0x1e9)][_0x594665(0x19b)][_0x594665(0x19f)]||this[_0x594665(0x1e9)][_0x594665(0x19b)][_0x594665(0x1f4)]();}),this[_0x3ab2b2(0x19c)](this[_0x3ab2b2(0x1a6)],_0x3ab2b2(0x1a8),()=>{const _0x49bef6=_0x3ab2b2;_0xe0b231[_0x49bef6(0x176)](this[_0x49bef6(0x1f0)][_0x49bef6(0x18b)]),this[_0x49bef6(0x1da)]();}),this[_0x3ab2b2(0x19c)](this[_0x3ab2b2(0x1a6)],_0x3ab2b2(0x1d5),()=>{const _0x1385a6=_0x3ab2b2;_0xe0b231[_0x1385a6(0x1d5)](this[_0x1385a6(0x1f0)][_0x1385a6(0x18b)]),this[_0x1385a6(0x1da)]();}),this[_0x3ab2b2(0x16f)]();}[_0x407de7(0x16f)](){const _0x4bb2a0=_0x407de7,{locale:_0x33d0ec,ui:{ariaLiveAnnouncer:_0x17fc43}}=this[_0x4bb2a0(0x1a0)];this[_0x4bb2a0(0x1a6)][_0x4bb2a0(0x194)]['on'](_0x4bb2a0(0x1e5),(_0x38ebb8,_0x1143da,_0x51b6e3)=>{const _0x1f939b=_0x4bb2a0,_0x33cea4=this[_0x1f939b(0x1f0)][_0x1f939b(0x18b)];_0x51b6e3?_0x17fc43[_0x1f939b(0x183)](_0x1f932d(_0x33d0ec,_0x1f939b(0x179))):_0x33cea4&&_0x17fc43[_0x1f939b(0x183)](_0x1f932d(_0x33d0ec,_0x1f939b(0x1bf),_0x33cea4),{'politeness':_0x1f939b(0x1fc),'isUnsafeHTML':!0x0});}),this[_0x4bb2a0(0x1a6)]['on'](_0x4bb2a0(0x1c1),(_0x36f53c,_0x1e82a1,_0x4fa8ca)=>{const _0x2c45a0=_0x4bb2a0;if(_0x4fa8ca){const _0x4879a3=this[_0x2c45a0(0x1a6)][_0x2c45a0(0x193)][_0x2c45a0(0x1b2)];_0x17fc43[_0x2c45a0(0x183)](_0x1f932d(_0x33d0ec,_0x2c45a0(0x201),_0x4879a3));}});}[_0x407de7(0x188)](_0x1589e4){const _0x45f7fa=_0x407de7,_0x3b443b=this[_0x45f7fa(0x198)][_0x45f7fa(0x1c3)](_0x1589e4),_0x5578a3=this[_0x45f7fa(0x1a0)],_0x28c891=_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x1af)][_0x45f7fa(0x1f8)],_0xb0c164=_0x5578a3[_0x45f7fa(0x1fa)][_0x45f7fa(0x1c3)](_0x45f7fa(0x1f2)),_0x574002=_0x5578a3[_0x45f7fa(0x1ab)][_0x45f7fa(0x1c3)](_0x1bd5c0),_0x24e303=''+(_0x3b443b[_0x45f7fa(0x1e7)]!==_0x165c49?_0x3b443b[_0x45f7fa(0x1c0)]+':\x20':'')+_0x3b443b[_0x45f7fa(0x1cc)];if(!0x1!==_0x3b443b[_0x45f7fa(0x1ec)]&&_0x28c891[_0x45f7fa(0x200)]){const _0x1f77ae=_0xe8572b(_0x28c891[_0x45f7fa(0x164)]())||_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x202)][_0x45f7fa(0x1ba)](_0x28c891);_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x1cf)](_0x4f38ec=>{const _0x53c720=_0x45f7fa;_0x4f38ec[_0x53c720(0x16b)](_0x1f77ae,'in');});}_0x574002[_0x45f7fa(0x181)](),_0xb0c164[_0x45f7fa(0x1f5)](_0x3b443b[_0x45f7fa(0x1a7)],_0x24e303,_0x45f7fa(0x182)+_0x1589e4);}[_0x407de7(0x203)](_0x23d90e,_0x678b7d,_0x5eb4a5,_0x51e9ee){const _0x491bf0=_0x407de7,_0x591571=this[_0x491bf0(0x1a0)],_0x1fc8a7=_0x591571[_0x491bf0(0x19d)],_0x1560ea=new _0x53d8b7(_0x1fc8a7),_0x3dbb6e=B(_0x591571,_0x5eb4a5)[_0x491bf0(0x17e)](_0x209a32=>_0x209a32[_0x491bf0(0x1fa)][_0x491bf0(0x163)]);0x1===_0x3dbb6e[_0x491bf0(0x163)]?this[_0x491bf0(0x190)]({'command':_0x23d90e,'commands':_0x3dbb6e[0x0][_0x491bf0(0x1fa)],'parentMenuView':_0x678b7d,'onExecute':_0x51e9ee})[_0x491bf0(0x1e2)](_0xbaa7b0=>_0x1560ea[_0x491bf0(0x1e6)][_0x491bf0(0x197)](_0xbaa7b0)):_0x3dbb6e[_0x491bf0(0x1e2)](({groupId:_0x5bc060,groupLabel:_0x57b899,commands:_0x3a68ed})=>{const _0x445521=_0x491bf0,_0x4aba84=new _0x4971b4(_0x1fc8a7,_0x678b7d),_0x34e26c=new _0x59247e(_0x1fc8a7),_0x162bf2=new _0x53d8b7(_0x1fc8a7),_0x1f170a=this[_0x445521(0x190)]({'command':_0x23d90e,'commands':_0x3a68ed,'parentMenuView':_0x34e26c,'onExecute':_0x51e9ee});_0x34e26c[_0x445521(0x16a)][_0x445521(0x165)]({'label':_0x57b899||_0x5bc060}),_0x34e26c[_0x445521(0x192)](_0x445521(0x1f5))['to'](_0x678b7d),_0x162bf2[_0x445521(0x1e6)][_0x445521(0x20b)](_0x1f170a),_0x34e26c[_0x445521(0x172)][_0x445521(0x1c4)][_0x445521(0x197)](_0x162bf2),_0x4aba84[_0x445521(0x1c4)][_0x445521(0x197)](_0x34e26c),_0x1560ea[_0x445521(0x1e6)][_0x445521(0x197)](_0x4aba84);}),_0x678b7d[_0x491bf0(0x172)][_0x491bf0(0x1c4)][_0x491bf0(0x197)](_0x1560ea);}[_0x407de7(0x190)]({command:_0x1cb390,commands:_0x116084,parentMenuView:_0x3a666b,onExecute:_0x698cca}){const _0x19da82=_0x407de7,_0x360335=this[_0x19da82(0x1a0)],_0x9992fa=_0x360335[_0x19da82(0x19d)];return B(_0x360335,_0x116084)[_0x19da82(0x1ac)](_0x2f4e71=>{const _0x36de3c=_0x19da82,_0x590455=new _0x4971b4(_0x9992fa,_0x3a666b),_0x15cd22=new _0x3633fc(_0x9992fa);return _0x15cd22[_0x36de3c(0x165)]({'label':_0x2f4e71[_0x36de3c(0x1cc)]}),_0x15cd22[_0x36de3c(0x192)](_0x36de3c(0x1f5))['to'](_0x3a666b),_0x15cd22['on'](_0x36de3c(0x1f5),()=>_0x698cca(_0x2f4e71['id'])),_0x15cd22[_0x36de3c(0x184)](_0x36de3c(0x199))['to'](_0x1cb390,_0x36de3c(0x186),_0xe688e2=>_0xe688e2[_0x36de3c(0x1e4)](_0x2f4e71['id'])),_0x590455[_0x36de3c(0x1c4)][_0x36de3c(0x197)](_0x15cd22),_0x590455;});}}function _(_0x35c499,_0x2b6013){const _0x161d00=_0x407de7;return void 0x0!==_0x35c499[_0x161d00(0x162)]&&void 0x0===_0x2b6013[_0x161d00(0x162)]?0x1:void 0x0===_0x35c499[_0x161d00(0x162)]&&void 0x0!==_0x2b6013[_0x161d00(0x162)]?-0x1:void 0x0!==_0x35c499[_0x161d00(0x162)]&&void 0x0!==_0x2b6013[_0x161d00(0x162)]?_0x35c499[_0x161d00(0x162)]-_0x2b6013[_0x161d00(0x162)]:0x0;}function B(_0x374049,_0x3f4945){const _0x58cbcf=_0x407de7;_0x3f4945[_0x58cbcf(0x1db)](_);const _0x272c3f={},_0x39a350=[];for(const _0x2e04d4 of _0x3f4945)if(void 0x0!==_0x2e04d4[_0x58cbcf(0x162)]){if(_0x2e04d4[_0x58cbcf(0x162)]in _0x272c3f)throw new _0x360224(_0x58cbcf(0x1dd),_0x374049,{'conflictingDefinitions':[_0x2e04d4,_0x272c3f[_0x2e04d4[_0x58cbcf(0x162)]]]});_0x272c3f[_0x2e04d4[_0x58cbcf(0x162)]]=_0x2e04d4,_0x39a350[_0x58cbcf(0x204)](_0x2e04d4[_0x58cbcf(0x162)],0x0,_0x2e04d4);}else _0x39a350[_0x58cbcf(0x170)](_0x2e04d4);return _0x39a350;}
|
|
23
|
+
const _0x23ddb6=_0x4ed4;(function(_0x520158,_0x4dbf32){const _0x329f40=_0x4ed4,_0x482d5a=_0x520158();while(!![]){try{const _0x17dfe9=parseInt(_0x329f40(0x12b))/0x1+parseInt(_0x329f40(0x12c))/0x2+-parseInt(_0x329f40(0x10b))/0x3+parseInt(_0x329f40(0x128))/0x4*(parseInt(_0x329f40(0xf3))/0x5)+-parseInt(_0x329f40(0x117))/0x6+parseInt(_0x329f40(0x104))/0x7*(parseInt(_0x329f40(0xec))/0x8)+parseInt(_0x329f40(0xcd))/0x9*(-parseInt(_0x329f40(0xd7))/0xa);if(_0x17dfe9===_0x4dbf32)break;else _0x482d5a['push'](_0x482d5a['shift']());}catch(_0xb8f5a5){_0x482d5a['push'](_0x482d5a['shift']());}}}(_0x1304,0x61abf));import{Plugin as _0xea56e}from'ckeditor5/src/core.js';import{first as _0x3b8e7d,CKEditorError as _0x22e690}from'ckeditor5/src/utils.js';import{createDropdown as _0x44b825,addMenuToDropdown as _0x1d280b,ButtonView as _0x54d9be,MenuBarMenuListItemButtonView as _0x421e68,Dialog as _0x528ed8,DialogViewPosition as _0x278c12,MenuBarMenuView as _0x5f150d,MenuBarMenuListView as _0x33b9b7,MenuBarMenuListItemView as _0xa4dacc}from'ckeditor5/src/ui.js';import{icons as _0x3afb81}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x186e52,UNGROUPED_COMMANDS_GROUP_ID as _0x96658}from'./utils/normalizecommandsconfig.js';import _0x394d79 from'./aiassistantediting.js';import _0xc7e157 from'./adapters/aiadapter.js';import{getTranslation as _0x3c7b35}from'./utils/common-translations.js';import _0x53ba43 from'./ui/showaiassistantcommand.js';import _0xce50b4 from'./ui/aiassistantcontroller.js';import _0x31c30c from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xec1cf2}from'./ui/form/aiformtoolbarview.js';import _0x51d5a5 from'../theme/icons/magic-wand.svg';function _0x1304(){const _0x1b7da0=['init','menuView','aiLicenseKeyNotAllowed','view','config','aiLicenseKeyDomainLimit','featureNotAllowed','forEach','wasMoved','_aiAssistantController','aiLicenseKeyTrialLimit','change:enabledCommandsIds','pluginName','ai.aiAssistant.commands','4304WqGZnF','AI\x20is\x20writing','media','aiLicenseKeyValid','developmentLimit','showUI','_formView','25sTOwDj','componentFactory','buttons','aiLicenseKeyUsageLimit','isCollapsed','getRanges','once','\x20ck-ai-assistant-ui_theme','domainLimit','AI\x20Assistant','getData','ai.aiAssistant.contentAreaCssClass','ai.aiAssistant.disabledElements','INSERT','_commandDefinitions','fire','splice','2562cwKSnB','focus','reset','values','menuBar:aiCommands','listenTo','change:isError','99393xnYClY','selection','getSelectedElement','ck-ai-assistant-button\x20','execute','isOn','prompt','delegate','_dialog','model','ai.useTheme','aiLicenseKeyInvalid','2267952podbpp','promptView','hideFakeVisualSelection','aiLicenseKeyDevelopmentLimit','_showLicenseError','update','replaceContent','polite','setSelection','_onExecute','showAIAssistant','render','_initAriaAiStatusChangeAnnouncements','push','order','length','set','628060WDcXbw','groupLabel','sort','699071NRiJpf','1329734CqrrpR','document','map','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:isProcessing','_createAIAssistantUIButton','isPremiumPlugin','source','_initView','includes','bind','aiLicenseKeyEvaluationLimit','AIAssistant','currentContext','isFlat','_forceMarkersCopy','REPLACE','insertContent','expired','children','AIAssistantUI','rawHtml','ck-ai-commands-dropdown\x20','invalid','contentArea','robotPencil','isOfficialPlugin','_licenseKeyCheckInterval','menuPanelClass','text/html','enabledCommandsIds','getSelectedBlocks','change:value','_aiAdapter','requires','textAdapter','errorView','label','_getResolvedCommandsDefinitions','Generated\x20content:\x20%0','replace','getLimitElement','fieldView','define','trim','aiLicenseKeyExpired','menuitemcheckbox','queryView','updateView','AI\x20Commands','menuBar:aiAssistant','_populateMenuBarMenu','_uiCssClasses','custom','<p>','add','aiAssistant','destroy','addMany','DataTransfer','updatePosition','panelView','plugins','command:','schema','ck-ai-assistant-ui','get','licenseKey','usageLimit','change','aiCommands','_getMenuBarGroupButtons','locale','comment','filter','commands','isEnabled','groupId','requiresContent','showFakeVisualSelection','editing','body','trialLimit','ai-commands-config-order-collision','9RBgJHa','announce','items','editor','</p>','hideUI','show','text','from','tableOfContents','15347350fGfZEQ','hide','insertContentBelow','EDITOR_TOP_SIDE','buttonView','copy','evaluationLimit'];_0x1304=function(){return _0x1b7da0;};return _0x1304();}import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x23ddb6(0xb4)];import{ClipboardMarkersUtils as _0x5773f1}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x206eaf,DataTransfer as _0x346f8a}from'ckeditor5/src/engine.js';export default class n extends _0xea56e{static get[_0x23ddb6(0xea)](){const _0x1bf66e=_0x23ddb6;return _0x1bf66e(0x140);}static get[_0x23ddb6(0x146)](){return!0x0;}static get[_0x23ddb6(0x132)](){return!0x0;}static get[_0x23ddb6(0x14e)](){return[_0x5773f1,_0x394d79,_0xc7e157,_0x528ed8];}constructor(_0x41982d){const _0x4ff8de=_0x23ddb6;super(_0x41982d),this[_0x4ff8de(0xad)]='',_0x41982d[_0x4ff8de(0xe2)][_0x4ff8de(0xa4)](_0x4ff8de(0xff),[_0x4ff8de(0xee),_0x4ff8de(0x141),_0x4ff8de(0xd6)]),_0x41982d[_0x4ff8de(0xe2)][_0x4ff8de(0xa4)](_0x4ff8de(0xfe),''),_0x41982d[_0x4ff8de(0xe2)][_0x4ff8de(0xa4)](_0x4ff8de(0x115),!0x0),this[_0x4ff8de(0xad)]=_0x4ff8de(0xba)+(_0x41982d[_0x4ff8de(0xe2)][_0x4ff8de(0xbb)](_0x4ff8de(0x115))?_0x4ff8de(0xfa):'');}[_0x23ddb6(0xde)](){const _0x45f1e1=_0x23ddb6,{editor:_0x57e4f3}=this;this[_0x45f1e1(0x14d)]=_0x57e4f3[_0x45f1e1(0xb7)][_0x45f1e1(0xbb)](_0xc7e157),this[_0x45f1e1(0x113)]=_0x57e4f3[_0x45f1e1(0xb7)][_0x45f1e1(0xbb)](_0x528ed8),this[_0x45f1e1(0xf2)]=null,this[_0x45f1e1(0x101)]=this[_0x45f1e1(0x152)]();const _0x466b83=new _0x53ba43(_0x57e4f3,Array[_0x45f1e1(0xd5)](this[_0x45f1e1(0x101)][_0x45f1e1(0x107)]()));_0x57e4f3[_0x45f1e1(0xc4)][_0x45f1e1(0xb0)](_0x45f1e1(0x121),_0x466b83),_0x57e4f3['ui'][_0x45f1e1(0xf4)][_0x45f1e1(0xb0)](_0x45f1e1(0xbf),_0x2839d6=>{const _0x38a628=_0x45f1e1,_0x1b0e18=_0x44b825(_0x2839d6);return _0x1b0e18[_0x38a628(0x127)]({'class':_0x38a628(0x142)+this[_0x38a628(0xad)]}),_0x1b0e18[_0x38a628(0xdb)][_0x38a628(0x127)]({'label':_0x3c7b35(_0x2839d6,_0x38a628(0xaa)),'icon':_0x51d5a5,'tooltip':!0x0}),_0x1b0e18['on'](_0x38a628(0x10f),_0x32ba43=>this[_0x38a628(0x120)](_0x32ba43[_0x38a628(0x133)]['id'])),_0x1d280b(_0x1b0e18,_0x57e4f3['ui'][_0x38a628(0xe1)][_0x38a628(0xca)],function(_0x12f704){const _0x3f5c4d=_0x38a628,_0x198b71=_0x186e52(_0x12f704[_0x3f5c4d(0xe2)][_0x3f5c4d(0xbb)](_0x3f5c4d(0xeb)),_0x12f704[_0x3f5c4d(0xc1)]),_0x5ad07d=B(_0x12f704,_0x198b71)[_0x3f5c4d(0xc3)](_0x3ce7cc=>_0x3ce7cc[_0x3f5c4d(0xc4)][_0x3f5c4d(0x126)]);if(0x1===_0x5ad07d[_0x3f5c4d(0x126)])return B(_0x12f704,_0x5ad07d[0x0][_0x3f5c4d(0xc4)])[_0x3f5c4d(0x12e)](_0x58bfa8=>({'id':_0x58bfa8['id'],'label':_0x58bfa8[_0x3f5c4d(0x151)]}));return _0x5ad07d[_0x3f5c4d(0x12e)](_0x509ce6=>{const _0x17c880=_0x3f5c4d,{groupId:_0x375d45,groupLabel:_0x303ae3,commands:_0xf116e5}=_0x509ce6,_0x4563dd=B(_0x12f704,_0xf116e5)[_0x17c880(0x12e)](_0x3283ea=>({'id':_0x3283ea['id'],'label':_0x3283ea[_0x17c880(0x151)]}));return{'id':_0x375d45,'menu':_0x303ae3||_0x375d45,'children':_0x4563dd};});}(_0x57e4f3),{'ariaLabel':_0x3c7b35(_0x2839d6,_0x38a628(0xaa))}),_0x1b0e18[_0x38a628(0xdf)][_0x38a628(0x148)]=_0x38a628(0x142)+this[_0x38a628(0xad)],_0x466b83['on'](_0x38a628(0xe9),_0x63f450),_0x1b0e18[_0x38a628(0xdf)][_0x38a628(0xf9)](_0x38a628(0x122),_0x63f450),_0x1b0e18;function _0x63f450(){const _0x5bf4c8=_0x38a628;_0x1b0e18[_0x5bf4c8(0xc5)]=_0x466b83[_0x5bf4c8(0x14a)][_0x5bf4c8(0x126)]>0x0;for(const _0x40c42c of _0x1b0e18[_0x5bf4c8(0xdf)][_0x5bf4c8(0xf5)])_0x40c42c[_0x5bf4c8(0xc5)]=_0x466b83[_0x5bf4c8(0x14a)][_0x5bf4c8(0x135)](_0x40c42c['id']);}}),_0x57e4f3['ui'][_0x45f1e1(0xf4)][_0x45f1e1(0xb0)](_0x45f1e1(0x108),_0x2edf4d=>{const _0x542b13=_0x45f1e1,_0x5cf97e=new _0x5f150d(_0x2edf4d);_0x5cf97e[_0x542b13(0xdb)][_0x542b13(0x127)]({'label':_0x3c7b35(_0x2edf4d,_0x542b13(0xaa)),'icon':_0x51d5a5}),_0x5cf97e[_0x542b13(0x136)](_0x542b13(0xc5))['to'](_0x466b83,_0x542b13(0x14a),_0x36bb98=>_0x36bb98[_0x542b13(0x126)]>0x0);const _0x123b85=_0x186e52(_0x57e4f3[_0x542b13(0xe2)][_0x542b13(0xbb)](_0x542b13(0xeb)),_0x2edf4d);return this[_0x542b13(0xac)](_0x466b83,_0x5cf97e,_0x123b85,_0x30ad07=>this[_0x542b13(0x120)](_0x30ad07)),_0x5cf97e;}),_0x57e4f3['ui'][_0x45f1e1(0xf4)][_0x45f1e1(0xb0)](_0x45f1e1(0xb1),()=>{const _0x515f4c=_0x45f1e1,_0x53abfe=this[_0x515f4c(0x131)](_0x54d9be);return _0x53abfe[_0x515f4c(0x127)]({'tooltip':!0x0,'class':_0x515f4c(0x10e)+this[_0x515f4c(0xad)]}),_0x53abfe;}),_0x57e4f3['ui'][_0x45f1e1(0xf4)][_0x45f1e1(0xb0)](_0x45f1e1(0xab),()=>{const _0x190d79=_0x45f1e1,_0x4370ad=this[_0x190d79(0x131)](_0x421e68);return _0x4370ad[_0x190d79(0x127)]({'role':_0x190d79(0xa7)}),_0x4370ad;}),this[_0x45f1e1(0xbc)]=this[_0x45f1e1(0xd0)][_0x45f1e1(0xe2)][_0x45f1e1(0xbb)](_0x45f1e1(0xbc));const _0x31a957=this[_0x45f1e1(0xd0)];this[_0x45f1e1(0x147)]=setInterval(()=>{const _0x545cd9=_0x45f1e1;let _0x33aef1;for(const _0x5db190 in _0x31a957){const _0x34b6e2=_0x5db190,_0x1a483b=_0x31a957[_0x34b6e2];if(_0x545cd9(0xef)==_0x1a483b||_0x545cd9(0x116)==_0x1a483b||_0x545cd9(0xa6)==_0x1a483b||_0x545cd9(0xe3)==_0x1a483b||_0x545cd9(0xe0)==_0x1a483b||_0x545cd9(0x137)==_0x1a483b||_0x545cd9(0xe8)==_0x1a483b||_0x545cd9(0x11a)==_0x1a483b||_0x545cd9(0xf6)==_0x1a483b){delete _0x31a957[_0x34b6e2],_0x33aef1=_0x1a483b,clearInterval(this[_0x545cd9(0x147)]),this[_0x545cd9(0x147)]=void 0x0;break;}}_0x545cd9(0x116)==_0x33aef1&&_0x31a957[_0x545cd9(0x11b)](_0x545cd9(0x143)),_0x545cd9(0xa6)==_0x33aef1&&_0x31a957[_0x545cd9(0x11b)](_0x545cd9(0x13e)),_0x545cd9(0xe3)==_0x33aef1&&_0x31a957[_0x545cd9(0x11b)](_0x545cd9(0xfb)),_0x545cd9(0xe0)==_0x33aef1&&_0x31a957[_0x545cd9(0x11b)](_0x545cd9(0xe4),_0x545cd9(0x138)),_0x545cd9(0x137)==_0x33aef1&&_0x31a957[_0x545cd9(0x11b)](_0x545cd9(0xdd)),_0x545cd9(0xe8)==_0x33aef1&&_0x31a957[_0x545cd9(0x11b)](_0x545cd9(0xcb)),_0x545cd9(0x11a)==_0x33aef1&&_0x31a957[_0x545cd9(0x11b)](_0x545cd9(0xf0)),_0x545cd9(0xf6)==_0x33aef1&&_0x31a957[_0x545cd9(0x11b)](_0x545cd9(0xbd));},0x3e8);}[_0x23ddb6(0xb2)](){const _0x14039c=_0x23ddb6;super[_0x14039c(0xb2)](),this[_0x14039c(0x147)]&&clearInterval(this[_0x14039c(0x147)]);}[_0x23ddb6(0xf1)](_0x18773b='',_0x473092='',_0x320152=_0x23ddb6(0xae)){const _0x1e3ee0=_0x23ddb6,_0x4ff70f=this[_0x1e3ee0(0xd0)],_0x2b2ea4=_0x4ff70f[_0x1e3ee0(0xc9)][_0x1e3ee0(0xe1)],_0x35a2ff=_0x4ff70f[_0x1e3ee0(0xb7)][_0x1e3ee0(0xbb)](_0x394d79),_0xcbe84f=_0x4ff70f[_0x1e3ee0(0xb7)][_0x1e3ee0(0xbb)](_0x5773f1);_0x35a2ff[_0x1e3ee0(0xc8)]();const _0x2adf8d=new j(),_0x17ea70=new ClipboardEvent(_0x1e3ee0(0xdc),{'clipboardData':_0x2adf8d}),_0xdea639=new _0x346f8a(_0x2adf8d),_0x344e2d=new _0x206eaf(_0x2b2ea4,_0x17ea70,{'dataTransfer':_0xdea639});_0xcbe84f[_0x1e3ee0(0x13b)](_0x1e3ee0(0xc2),()=>{const _0x44358f=_0x1e3ee0;_0x2b2ea4[_0x44358f(0x12d)][_0x44358f(0x102)](_0x44358f(0xdc),_0x344e2d);}),this[_0x1e3ee0(0xf2)]||(this[_0x1e3ee0(0x134)](),this[_0x1e3ee0(0xe7)]=new _0xce50b4(_0x4ff70f,this[_0x1e3ee0(0x14d)][_0x1e3ee0(0x14f)],this[_0x1e3ee0(0xf2)]));let _0x171ffa=_0xdea639[_0x1e3ee0(0xfd)](_0x1e3ee0(0x149));const _0x415f9d=_0x4ff70f[_0x1e3ee0(0x114)][_0x1e3ee0(0x12d)][_0x1e3ee0(0x10c)],_0xc92c5e=Array[_0x1e3ee0(0xd5)](_0x415f9d[_0x1e3ee0(0xf8)]());0x1===_0xc92c5e[_0x1e3ee0(0x126)]&&_0xc92c5e[0x0][_0x1e3ee0(0x13a)]&&!_0x415f9d[_0x1e3ee0(0x10d)]()&&''!==_0x171ffa[_0x1e3ee0(0xa1)](/ /g,'')[_0x1e3ee0(0xa5)]()&&(_0x171ffa=_0x1e3ee0(0xaf)+_0x171ffa+_0x1e3ee0(0xd1)),this[_0x1e3ee0(0xe7)][_0x1e3ee0(0xa9)]({'actionId':_0x320152,'query':_0x18773b,'htmlContent':_0x171ffa,'label':_0x473092,'mainActionLabel':_0xec1cf2[_0x4ff70f[_0x1e3ee0(0x114)][_0x1e3ee0(0x12d)][_0x1e3ee0(0x10c)][_0x1e3ee0(0xf7)]?_0x1e3ee0(0x100):_0x1e3ee0(0x13c)]}),_0x1e3ee0(0xb1)!==this[_0x1e3ee0(0x113)]['id']?this[_0x1e3ee0(0x113)][_0x1e3ee0(0xd3)]({'id':_0x1e3ee0(0xb1),'icon':_0x3afb81[_0x1e3ee0(0x145)],'title':_0x3c7b35(this[_0x1e3ee0(0xd0)][_0x1e3ee0(0xc1)],_0x1e3ee0(0xfc)),'content':this[_0x1e3ee0(0xf2)],'position':_0x278c12[_0x1e3ee0(0xda)],'onShow':()=>{const _0x311c49=_0x1e3ee0;this[_0x311c49(0xf2)][_0x311c49(0x105)]();},'onHide':()=>{const _0x568843=_0x1e3ee0;this[_0x568843(0xe7)][_0x568843(0x106)](),_0x35a2ff[_0x568843(0x119)]();}}):this[_0x1e3ee0(0x113)][_0x1e3ee0(0xe1)][_0x1e3ee0(0xe6)]||this[_0x1e3ee0(0x113)][_0x1e3ee0(0xe1)][_0x1e3ee0(0xb5)]();}[_0x23ddb6(0xd2)](){const _0x18125d=_0x23ddb6;this[_0x18125d(0x113)][_0x18125d(0xd8)]();}[_0x23ddb6(0x152)](){const _0x1bbf33=_0x23ddb6,_0x375762=new Map(),_0x43dace=_0x186e52(this[_0x1bbf33(0xd0)][_0x1bbf33(0xe2)][_0x1bbf33(0xbb)](_0x1bbf33(0xeb)),this[_0x1bbf33(0xd0)][_0x1bbf33(0xc1)]);for(const _0x3256d2 of _0x43dace)for(const _0xb28387 of _0x3256d2[_0x1bbf33(0xc4)])_0x375762[_0x1bbf33(0x127)](_0xb28387['id'],{..._0xb28387,'groupId':_0x3256d2[_0x1bbf33(0xc6)],'groupLabel':_0x3256d2[_0x1bbf33(0x129)]||_0x3256d2[_0x1bbf33(0xc6)]});return _0x375762;}[_0x23ddb6(0x131)](_0x1e7212){const _0x1530b0=_0x23ddb6,_0x28e423=this[_0x1530b0(0xd0)],_0x335fb4=_0x28e423[_0x1530b0(0xc4)][_0x1530b0(0xbb)](_0x1530b0(0x121)),_0x3212bc=new _0x1e7212(_0x28e423[_0x1530b0(0xc1)]);return _0x3212bc[_0x1530b0(0x127)]({'label':_0x3c7b35(_0x28e423[_0x1530b0(0xc1)],_0x1530b0(0xfc)),'icon':_0x3afb81[_0x1530b0(0x145)],'isToggleable':!0x0}),_0x3212bc[_0x1530b0(0x136)](_0x1530b0(0xc5))['to'](_0x335fb4),_0x3212bc[_0x1530b0(0x136)](_0x1530b0(0x110))['to'](this[_0x1530b0(0x113)],'id',_0x5c3cb0=>_0x1530b0(0xb1)===_0x5c3cb0),this[_0x1530b0(0x109)](_0x3212bc,_0x1530b0(0x10f),()=>{const _0x540e6d=_0x1530b0;_0x3212bc[_0x540e6d(0x110)]?this[_0x540e6d(0xd2)]():_0x335fb4[_0x540e6d(0x10f)]();}),_0x3212bc;}[_0x23ddb6(0x134)](){const _0x3fd7d3=_0x23ddb6,_0x4c459c=this[_0x3fd7d3(0xd0)][_0x3fd7d3(0xb7)][_0x3fd7d3(0xbb)](_0x394d79);this[_0x3fd7d3(0xf2)]=new _0x31c30c(this[_0x3fd7d3(0xd0)][_0x3fd7d3(0xc1)],this[_0x3fd7d3(0xad)],this[_0x3fd7d3(0xd0)][_0x3fd7d3(0xe2)][_0x3fd7d3(0xbb)](_0x3fd7d3(0xfe))),this[_0x3fd7d3(0xf2)]['on'](_0x3fd7d3(0x14c),()=>{const _0x4b161d=_0x3fd7d3;this[_0x4b161d(0x113)][_0x4b161d(0xe1)][_0x4b161d(0xe6)]||this[_0x4b161d(0x113)][_0x4b161d(0xe1)][_0x4b161d(0xb5)]();}),this[_0x3fd7d3(0xf2)][_0x3fd7d3(0x118)][_0x3fd7d3(0xa8)][_0x3fd7d3(0xa3)]['on'](_0x3fd7d3(0x11c),()=>{const _0x1644f8=_0x3fd7d3;this[_0x1644f8(0x113)][_0x1644f8(0xe1)][_0x1644f8(0xe6)]||this[_0x1644f8(0x113)][_0x1644f8(0xe1)][_0x1644f8(0xb5)]();}),this[_0x3fd7d3(0x109)](this[_0x3fd7d3(0xf2)],_0x3fd7d3(0x11d),()=>{const _0x45b07a=_0x3fd7d3;_0x4c459c[_0x45b07a(0x13d)](this[_0x45b07a(0xe7)][_0x45b07a(0x139)]),this[_0x45b07a(0xd2)]();}),this[_0x3fd7d3(0x109)](this[_0x3fd7d3(0xf2)],_0x3fd7d3(0xd9),()=>{const _0x48fef3=_0x3fd7d3;_0x4c459c[_0x48fef3(0xd9)](this[_0x48fef3(0xe7)][_0x48fef3(0x139)]),this[_0x48fef3(0xd2)]();}),this[_0x3fd7d3(0x123)]();}[_0x23ddb6(0x123)](){const _0x37db93=_0x23ddb6,{locale:_0x5786c4,ui:{ariaLiveAnnouncer:_0x2c34ca}}=this[_0x37db93(0xd0)];this[_0x37db93(0xf2)][_0x37db93(0x144)]['on'](_0x37db93(0x130),(_0x1d7a89,_0x51b6a4,_0x398529)=>{const _0x4ec506=_0x37db93,_0x3f7f50=this[_0x4ec506(0xe7)][_0x4ec506(0x139)];_0x398529?_0x2c34ca[_0x4ec506(0xce)](_0x3c7b35(_0x5786c4,_0x4ec506(0xed))):_0x3f7f50&&_0x2c34ca[_0x4ec506(0xce)](_0x3c7b35(_0x5786c4,_0x4ec506(0xa0),_0x3f7f50),{'politeness':_0x4ec506(0x11e),'isUnsafeHTML':!0x0});}),this[_0x37db93(0xf2)]['on'](_0x37db93(0x10a),(_0x1ae24e,_0x29f4f4,_0x10ee0c)=>{const _0x397c34=_0x37db93;if(_0x10ee0c){const _0x56102c=this[_0x397c34(0xf2)][_0x397c34(0x150)][_0x397c34(0xd4)];_0x2c34ca[_0x397c34(0xce)](_0x3c7b35(_0x5786c4,_0x397c34(0x12f),_0x56102c));}});}[_0x23ddb6(0x120)](_0x29cca4){const _0x3bb4ac=_0x23ddb6,_0x461f88=this[_0x3bb4ac(0x101)][_0x3bb4ac(0xbb)](_0x29cca4),_0x1452a9=this[_0x3bb4ac(0xd0)],_0x299875=_0x1452a9[_0x3bb4ac(0x114)][_0x3bb4ac(0x12d)][_0x3bb4ac(0x10c)],_0x605f2e=_0x1452a9[_0x3bb4ac(0xc4)][_0x3bb4ac(0xbb)](_0x3bb4ac(0x121)),_0x39c0ba=_0x1452a9[_0x3bb4ac(0xb7)][_0x3bb4ac(0xbb)](_0x394d79),_0x36fb6e=''+(_0x461f88[_0x3bb4ac(0xc6)]!==_0x96658?_0x461f88[_0x3bb4ac(0x129)]+':\x20':'')+_0x461f88[_0x3bb4ac(0x151)];if(!0x1!==_0x461f88[_0x3bb4ac(0xc7)]&&_0x299875[_0x3bb4ac(0xf7)]){const _0x59b0c3=_0x3b8e7d(_0x299875[_0x3bb4ac(0x14b)]())||_0x1452a9[_0x3bb4ac(0x114)][_0x3bb4ac(0xb9)][_0x3bb4ac(0xa2)](_0x299875);_0x1452a9[_0x3bb4ac(0x114)][_0x3bb4ac(0xbe)](_0xbe6ba7=>{const _0x4cef4d=_0x3bb4ac;_0xbe6ba7[_0x4cef4d(0x11f)](_0x59b0c3,'in');});}_0x39c0ba[_0x3bb4ac(0xc8)](),_0x605f2e[_0x3bb4ac(0x10f)](_0x461f88[_0x3bb4ac(0x111)],_0x36fb6e,_0x3bb4ac(0xb8)+_0x29cca4);}[_0x23ddb6(0xac)](_0x4ad211,_0x34254d,_0x5dbd27,_0x18605d){const _0x5a2c5f=_0x23ddb6,_0x3590b6=this[_0x5a2c5f(0xd0)],_0x4d6473=_0x3590b6[_0x5a2c5f(0xc1)],_0x32ed9f=new _0x33b9b7(_0x4d6473),_0xaf17=B(_0x3590b6,_0x5dbd27)[_0x5a2c5f(0xc3)](_0x2965b9=>_0x2965b9[_0x5a2c5f(0xc4)][_0x5a2c5f(0x126)]);0x1===_0xaf17[_0x5a2c5f(0x126)]?this[_0x5a2c5f(0xc0)]({'command':_0x4ad211,'commands':_0xaf17[0x0][_0x5a2c5f(0xc4)],'parentMenuView':_0x34254d,'onExecute':_0x18605d})[_0x5a2c5f(0xe5)](_0x46d067=>_0x32ed9f[_0x5a2c5f(0xcf)][_0x5a2c5f(0xb0)](_0x46d067)):_0xaf17[_0x5a2c5f(0xe5)](({groupId:_0x52d7ec,groupLabel:_0x247ffc,commands:_0x5ec9f8})=>{const _0x4012c3=_0x5a2c5f,_0x45452d=new _0xa4dacc(_0x4d6473,_0x34254d),_0x1b149a=new _0x5f150d(_0x4d6473),_0x5a96b8=new _0x33b9b7(_0x4d6473),_0x313997=this[_0x4012c3(0xc0)]({'command':_0x4ad211,'commands':_0x5ec9f8,'parentMenuView':_0x1b149a,'onExecute':_0x18605d});_0x1b149a[_0x4012c3(0xdb)][_0x4012c3(0x127)]({'label':_0x247ffc||_0x52d7ec}),_0x1b149a[_0x4012c3(0x112)](_0x4012c3(0x10f))['to'](_0x34254d),_0x5a96b8[_0x4012c3(0xcf)][_0x4012c3(0xb3)](_0x313997),_0x1b149a[_0x4012c3(0xb6)][_0x4012c3(0x13f)][_0x4012c3(0xb0)](_0x5a96b8),_0x45452d[_0x4012c3(0x13f)][_0x4012c3(0xb0)](_0x1b149a),_0x32ed9f[_0x4012c3(0xcf)][_0x4012c3(0xb0)](_0x45452d);}),_0x34254d[_0x5a2c5f(0xb6)][_0x5a2c5f(0x13f)][_0x5a2c5f(0xb0)](_0x32ed9f);}[_0x23ddb6(0xc0)]({command:_0x5ab188,commands:_0x52cd40,parentMenuView:_0x101acc,onExecute:_0xa4e056}){const _0x2dc4af=_0x23ddb6,_0x197eec=this[_0x2dc4af(0xd0)],_0x273b5a=_0x197eec[_0x2dc4af(0xc1)];return B(_0x197eec,_0x52cd40)[_0x2dc4af(0x12e)](_0x33fc32=>{const _0x3d905c=_0x2dc4af,_0x2f549f=new _0xa4dacc(_0x273b5a,_0x101acc),_0x2d6409=new _0x421e68(_0x273b5a);return _0x2d6409[_0x3d905c(0x127)]({'label':_0x33fc32[_0x3d905c(0x151)]}),_0x2d6409[_0x3d905c(0x112)](_0x3d905c(0x10f))['to'](_0x101acc),_0x2d6409['on'](_0x3d905c(0x10f),()=>_0xa4e056(_0x33fc32['id'])),_0x2d6409[_0x3d905c(0x136)](_0x3d905c(0xc5))['to'](_0x5ab188,_0x3d905c(0x14a),_0xcd73ed=>_0xcd73ed[_0x3d905c(0x135)](_0x33fc32['id'])),_0x2f549f[_0x3d905c(0x13f)][_0x3d905c(0xb0)](_0x2d6409),_0x2f549f;});}}function _(_0xa5d336,_0x5234b1){const _0x451f03=_0x23ddb6;return void 0x0!==_0xa5d336[_0x451f03(0x125)]&&void 0x0===_0x5234b1[_0x451f03(0x125)]?0x1:void 0x0===_0xa5d336[_0x451f03(0x125)]&&void 0x0!==_0x5234b1[_0x451f03(0x125)]?-0x1:void 0x0!==_0xa5d336[_0x451f03(0x125)]&&void 0x0!==_0x5234b1[_0x451f03(0x125)]?_0xa5d336[_0x451f03(0x125)]-_0x5234b1[_0x451f03(0x125)]:0x0;}function _0x4ed4(_0x1fd47a,_0xa314ee){const _0x130413=_0x1304();return _0x4ed4=function(_0x4ed4dd,_0x573b5f){_0x4ed4dd=_0x4ed4dd-0xa0;let _0x273e36=_0x130413[_0x4ed4dd];return _0x273e36;},_0x4ed4(_0x1fd47a,_0xa314ee);}function B(_0x24ec29,_0x2f53ee){const _0x5ca3e3=_0x23ddb6;_0x2f53ee[_0x5ca3e3(0x12a)](_);const _0x5606ad={},_0x4e9c1e=[];for(const _0x4856c3 of _0x2f53ee)if(void 0x0!==_0x4856c3[_0x5ca3e3(0x125)]){if(_0x4856c3[_0x5ca3e3(0x125)]in _0x5606ad)throw new _0x22e690(_0x5ca3e3(0xcc),_0x24ec29,{'conflictingDefinitions':[_0x4856c3,_0x5606ad[_0x4856c3[_0x5ca3e3(0x125)]]]});_0x5606ad[_0x4856c3[_0x5ca3e3(0x125)]]=_0x4856c3,_0x4e9c1e[_0x5ca3e3(0x103)](_0x4856c3[_0x5ca3e3(0x125)],0x0,_0x4856c3);}else _0x4e9c1e[_0x5ca3e3(0x124)](_0x4856c3);return _0x4e9c1e;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x10f9fa,_0x1ddf16){var _0x276d62=_0x580b,_0x460297=_0x10f9fa();while(!![]){try{var _0x54b21e=-parseInt(_0x276d62(0x1dd))/0x1+parseInt(_0x276d62(0x1e2))/0x2+parseInt(_0x276d62(0x1e3))/0x3*(-parseInt(_0x276d62(0x1e1))/0x4)+parseInt(_0x276d62(0x1df))/0x5+-parseInt(_0x276d62(0x1de))/0x6+-parseInt(_0x276d62(0x1db))/0x7*(parseInt(_0x276d62(0x1dc))/0x8)+parseInt(_0x276d62(0x1e0))/0x9;if(_0x54b21e===_0x1ddf16)break;else _0x460297['push'](_0x460297['shift']());}catch(_0x4bab01){_0x460297['push'](_0x460297['shift']());}}}(_0x19f5,0x5e07b));function _0x580b(_0x5b7a52,_0x4c9448){var _0x19f565=_0x19f5();return _0x580b=function(_0x580b24,_0x19ecc6){_0x580b24=_0x580b24-0x1db;var _0x49a421=_0x19f565[_0x580b24];return _0x49a421;},_0x580b(_0x5b7a52,_0x4c9448);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';function _0x19f5(){var _0xa58d65=['3269XKUiYx','7240lnBtAs','367967ERaScd','3576312OhBztf','520790DjMcoX','15379146yGeLDa','79468BMUsFQ','513708fYCwix','45ielfAR'];_0x19f5=function(){return _0xa58d65;};return _0x19f5();}
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x37f2f8,_0xefe0c2){var _0xe59384=_0x14e0,_0x5304c6=_0x37f2f8();while(!![]){try{var _0x39c785=-parseInt(_0xe59384(0x12d))/0x1+-parseInt(_0xe59384(0x12f))/0x2+-parseInt(_0xe59384(0x129))/0x3*(parseInt(_0xe59384(0x12e))/0x4)+parseInt(_0xe59384(0x12c))/0x5+parseInt(_0xe59384(0x12a))/0x6*(parseInt(_0xe59384(0x12b))/0x7)+-parseInt(_0xe59384(0x130))/0x8+parseInt(_0xe59384(0x128))/0x9;if(_0x39c785===_0xefe0c2)break;else _0x5304c6['push'](_0x5304c6['shift']());}catch(_0x532df4){_0x5304c6['push'](_0x5304c6['shift']());}}}(_0x5809,0xe5d18));function _0x5809(){var _0x2852dd=['1521762jpOChO','3444576MYoZPc','19346490HrOfoW','1023MQwVRB','613584Ejxejq','49OyAMmc','5816945ADSOiM','1313971owxFRt','6828cmbrws'];_0x5809=function(){return _0x2852dd;};return _0x5809();}function _0x14e0(_0x39a512,_0x3425ce){var _0x580959=_0x5809();return _0x14e0=function(_0x14e0f0,_0x45f582){_0x14e0f0=_0x14e0f0-0x128;var _0x597073=_0x580959[_0x14e0f0];return _0x597073;},_0x14e0(_0x39a512,_0x3425ce);}import{CKEditorError as _0x43404f}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x1fd64d=_0x4f24;(function(_0x1153ee,_0x5c2bb3){const _0x3c1438=_0x4f24,_0x2db75f=_0x1153ee();while(!![]){try{const _0x99e0bd=parseInt(_0x3c1438(0x1fd))/0x1*(-parseInt(_0x3c1438(0x21a))/0x2)+-parseInt(_0x3c1438(0x1da))/0x3+parseInt(_0x3c1438(0x1f0))/0x4+-parseInt(_0x3c1438(0x200))/0x5+-parseInt(_0x3c1438(0x1cf))/0x6*(parseInt(_0x3c1438(0x209))/0x7)+-parseInt(_0x3c1438(0x1fe))/0x8+parseInt(_0x3c1438(0x1c4))/0x9*(parseInt(_0x3c1438(0x1dc))/0xa);if(_0x99e0bd===_0x5c2bb3)break;else _0x2db75f['push'](_0x2db75f['shift']());}catch(_0x3e149d){_0x2db75f['push'](_0x2db75f['shift']());}}}(_0x173b,0x2c08c));import{ObservableMixin as _0x1ea18d}from'ckeditor5/src/utils.js';function _0x173b(){const _0x17a3d6=['catch','exec','childNodes','set:currentContext','substring','abort','28onekbK','prompt','document','isProcessing','ELEMENT_NODE','custom','name','finishProcessing','text/html','currentContext','stopListening','textAdapter','previousLabel','_parseAndNormalizeContent','makeRequest','nodeType','trim','6FQNiKD','_normalizeResponseHeadings','htmlProcessor','<h1></h1>','_handleQuery','_xmlSerializer','currentResponse','_domParser','match','13806CTUFst','once','view','setContentOf','updateView','_sanitizeHTML','endsWith','isRendered','stopProcessing','startsWith','value','82716WcQuQd','render','body','```html','then','finally','querySelector','viewToDom','createElement','length','serializeToString','127662NDkJyo','submitPrompt','2920lsbVPw','parseFromString','remove','_stripMarkdownSyntax','tryAgainEvent','processor','destroy','toModel','push','data','div','startProcessing','element','previousQuery','editing','reverse','innerHTML','stringify','reset','initialContext','1015900CQcaPp','from','editor','previousActionId','```','mainAction','set','listenTo','toView','message','_sanitizationContainer','handleError','domConverter','2518pRAjHd','1050920qPGkjc','rename','1424610dgxzta','_isH1TagSupportEnabled','previousContext'];_0x173b=function(){return _0x17a3d6;};return _0x173b();}function _0x4f24(_0x4080a6,_0x5650a8){const _0x173b02=_0x173b();return _0x4f24=function(_0x4f24cb,_0xbabe19){_0x4f24cb=_0x4f24cb-0x1c3;let _0x258ce4=_0x173b02[_0x4f24cb];return _0x258ce4;},_0x4f24(_0x4080a6,_0x5650a8);}import{AIRequestError as _0x1b4e12}from'../adapters/aiadapter.js';import{Matcher as _0x23dbcd,UpcastWriter as _0xb1b737}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1ea18d(){constructor(_0x7f764b,_0x266d25,_0x2f1405){const _0x35119b=_0x4f24;super(),this[_0x35119b(0x1f2)]=_0x7f764b,this[_0x35119b(0x214)]=_0x266d25,this[_0x35119b(0x1fa)]=document[_0x35119b(0x1d7)](_0x35119b(0x1e6)),this[_0x35119b(0x221)]=new DOMParser(),this[_0x35119b(0x21f)]=new XMLSerializer(),this[_0x35119b(0x1c6)]=_0x2f1405,this[_0x35119b(0x1f6)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x35119b(0x206),(_0x132db0,_0x4e49fc,_0x22df43)=>{const _0x39c620=_0x35119b;this[_0x39c620(0x1c6)][_0x39c620(0x1ce)]=this[_0x39c620(0x1c9)](_0x22df43);}),this[_0x35119b(0x1f7)](this[_0x35119b(0x1c6)],_0x35119b(0x1db),(_0x32ef0c,_0x132987)=>{const _0x5dedf8=_0x35119b,_0x12904f=this[_0x5dedf8(0x212)]||this[_0x5dedf8(0x1ef)];this[_0x5dedf8(0x21e)](_0x132987,_0x12904f,_0x5dedf8(0x20e));}),this[_0x35119b(0x1f7)](this[_0x35119b(0x1c6)],_0x35119b(0x1e0),()=>{const _0x327dba=_0x35119b;this[_0x327dba(0x1c6)][_0x327dba(0x20a)]=this[_0x327dba(0x215)],this[_0x327dba(0x21e)](this[_0x327dba(0x1e9)],this[_0x327dba(0x202)],this[_0x327dba(0x1f3)],this[_0x327dba(0x215)]);}),this[_0x35119b(0x1f7)](this[_0x35119b(0x1c6)],_0x35119b(0x1cc),()=>{const _0x1f83ff=_0x35119b;this[_0x1f83ff(0x1cc)]();});}[_0x1fd64d(0x1e2)](){const _0x5b4c21=_0x1fd64d;this[_0x5b4c21(0x213)]();}async[_0x1fd64d(0x1c8)]({actionId:_0xcb2fab,query:_0x507366,htmlContent:_0x2e2020,label:_0x37c9f6,mainActionLabel:_0x537c78}){const _0x4c8b36=_0x1fd64d;this[_0x4c8b36(0x1c6)][_0x4c8b36(0x20a)]=_0x37c9f6,this[_0x4c8b36(0x1c6)][_0x4c8b36(0x1f5)]=_0x537c78,this[_0x4c8b36(0x1ef)]=_0x2e2020,_0x507366&&(this[_0x4c8b36(0x1c6)][_0x4c8b36(0x1cb)]?this[_0x4c8b36(0x21e)](_0x507366,_0x2e2020,_0xcb2fab,_0x37c9f6):this[_0x4c8b36(0x1c6)][_0x4c8b36(0x1c5)](_0x4c8b36(0x1d0),()=>{const _0x4ee392=_0x4c8b36;this[_0x4ee392(0x21e)](_0x507366,_0x2e2020,_0xcb2fab,_0x37c9f6);}));}[_0x1fd64d(0x1cc)](){const _0x351d29=_0x1fd64d;this[_0x351d29(0x20c)]&&(this[_0x351d29(0x20c)]=!0x1,this[_0x351d29(0x1c6)][_0x351d29(0x210)](),this[_0x351d29(0x214)][_0x351d29(0x208)]());}[_0x1fd64d(0x1ee)](){const _0x4f5b2f=_0x1fd64d;this[_0x4f5b2f(0x1ef)]='',this[_0x4f5b2f(0x212)]='',this[_0x4f5b2f(0x220)]='',this[_0x4f5b2f(0x202)]='',this[_0x4f5b2f(0x1e9)]='',this[_0x4f5b2f(0x215)]='',this[_0x4f5b2f(0x1f3)]=void 0x0,this[_0x4f5b2f(0x1c6)][_0x4f5b2f(0x1ee)](),this[_0x4f5b2f(0x1cc)]();}async[_0x1fd64d(0x21e)](_0xbdece8,_0x534af8,_0x15f94d,_0x5bf533){const _0x563f44=_0x1fd64d;return this[_0x563f44(0x20c)]=!0x0,this[_0x563f44(0x1c6)][_0x563f44(0x1e7)](),this[_0x563f44(0x202)]=_0x534af8,this[_0x563f44(0x1e9)]=_0xbdece8,this[_0x563f44(0x215)]=_0x5bf533||_0xbdece8,this[_0x563f44(0x1f3)]=_0x15f94d,new Promise(_0x23d4ad=>{const _0x5841d3=_0x563f44;this[_0x5841d3(0x214)][_0x5841d3(0x217)]({'query':_0xbdece8,'context':_0x534af8,'onData':_0x238ed1=>{const _0x422d61=_0x5841d3;this[_0x422d61(0x220)]=_0x238ed1,this[_0x422d61(0x212)]=this[_0x422d61(0x216)](this[_0x422d61(0x220)]);},'actionId':_0x15f94d})[_0x5841d3(0x1d3)](()=>{const _0x329f6c=_0x5841d3;!this[_0x329f6c(0x212)]&&this[_0x329f6c(0x220)]&&(this[_0x329f6c(0x212)]=this[_0x329f6c(0x216)](this[_0x329f6c(0x220)],!0x0));})[_0x5841d3(0x203)](_0x5319b6=>{const _0x21d07f=_0x5841d3;_0x5319b6 instanceof _0x1b4e12?this[_0x21d07f(0x1c6)][_0x21d07f(0x1fb)](_0x5319b6[_0x21d07f(0x1f9)]):this[_0x21d07f(0x1c6)][_0x21d07f(0x1fb)](),_0x23d4ad();})[_0x5841d3(0x1d4)](()=>{const _0x344ef0=_0x5841d3;this[_0x344ef0(0x1cc)](),_0x23d4ad();});});}[_0x1fd64d(0x216)](_0x513e03,_0x290cd2=!0x1){const _0x9e3128=_0x1fd64d,_0x1f6b45=Z[_0x9e3128(0x204)](_0x513e03);_0x513e03=_0x1f6b45?_0x513e03[_0x9e3128(0x207)](_0x1f6b45[0x1][_0x9e3128(0x1d8)]):_0x513e03[_0x9e3128(0x1d8)]<0x64&&!_0x290cd2?'':this[_0x9e3128(0x1df)](_0x513e03);const _0x58c6af=this[_0x9e3128(0x221)][_0x9e3128(0x1dd)](_0x513e03,_0x9e3128(0x211));if(_0x1f6b45){const _0x32fb95=Array[_0x9e3128(0x1f1)](_0x58c6af[_0x9e3128(0x1d1)][_0x9e3128(0x205)]);_0x32fb95[_0x9e3128(0x1eb)]();for(const _0x1e95a4 of _0x32fb95){if(_0x1e95a4[_0x9e3128(0x218)]==Node[_0x9e3128(0x20d)])break;_0x1e95a4[_0x9e3128(0x1de)]();}}const _0x4d842a=this[_0x9e3128(0x1f2)][_0x9e3128(0x1e5)][_0x9e3128(0x1e1)][_0x9e3128(0x1f8)](this[_0x9e3128(0x21f)][_0x9e3128(0x1d9)](_0x58c6af[_0x9e3128(0x1d1)]));return this[_0x9e3128(0x201)]()||this[_0x9e3128(0x21b)](_0x4d842a),this[_0x9e3128(0x1f2)][_0x9e3128(0x1e5)][_0x9e3128(0x1ed)](this[_0x9e3128(0x1f2)][_0x9e3128(0x1e5)][_0x9e3128(0x1e3)](_0x4d842a));}[_0x1fd64d(0x21b)](_0x5d7b8e){const _0x599dae=_0x1fd64d,_0x4c1933=new _0xb1b737(this[_0x599dae(0x1f2)][_0x599dae(0x1ea)][_0x599dae(0x1c6)][_0x599dae(0x20b)]),_0x59b948=new _0x23dbcd({'name':/^h[1-5]$/}),_0x151228=[];let _0x14e07c=!0x1;for(const _0x3f29af of _0x5d7b8e)_0x3f29af['is'](_0x599dae(0x1e8))&&_0x59b948[_0x599dae(0x1c3)](_0x3f29af)&&(_0x151228[_0x599dae(0x1e4)](_0x3f29af),'h1'==_0x3f29af[_0x599dae(0x20f)]&&(_0x14e07c=!0x0));if(_0x14e07c){for(const _0x571721 of _0x151228)_0x4c1933[_0x599dae(0x1ff)]('h'+(parseInt(_0x571721[_0x599dae(0x20f)][0x1])+0x1),_0x571721);}}[_0x1fd64d(0x201)](){const _0x4174e1=_0x1fd64d,{data:_0x42265e,editing:_0x53fa4a}=this[_0x4174e1(0x1f2)],_0x2920c=_0x42265e[_0x4174e1(0x21c)][_0x4174e1(0x1f8)](_0x4174e1(0x21d)),_0x5c491d=_0x42265e[_0x4174e1(0x1f8)](_0x42265e[_0x4174e1(0x1e3)](_0x2920c));return!!_0x53fa4a[_0x4174e1(0x1c6)][_0x4174e1(0x1fc)][_0x4174e1(0x1d6)](_0x5c491d)[_0x4174e1(0x1d5)]('h1');}[_0x1fd64d(0x1c9)](_0x25f606){const _0x235be1=_0x1fd64d;return this[_0x235be1(0x1f2)][_0x235be1(0x1ea)][_0x235be1(0x1c6)][_0x235be1(0x1fc)][_0x235be1(0x1c7)](this[_0x235be1(0x1fa)],_0x25f606),this[_0x235be1(0x1fa)][_0x235be1(0x1ec)];}[_0x1fd64d(0x1df)](_0x5ac471){const _0x24b275=_0x1fd64d,_0x58a336=_0x5ac471[_0x24b275(0x219)]();return _0x58a336[_0x24b275(0x1cd)](_0x24b275(0x1d2))?_0x58a336[_0x24b275(0x1ca)](_0x24b275(0x1f4))?_0x58a336[_0x24b275(0x207)](0x7,_0x58a336[_0x24b275(0x1d8)]-0x3):_0x58a336[_0x24b275(0x207)](0x7):_0x5ac471;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f9baf=_0x45e8;(function(_0x8a8405,_0xf5ceb8){const _0x57f928=_0x45e8,_0xd5dde6=_0x8a8405();while(!![]){try{const _0x41d86a=-parseInt(_0x57f928(0x1df))/0x1+parseInt(_0x57f928(0x1e0))/0x2*(parseInt(_0x57f928(0x1af))/0x3)+parseInt(_0x57f928(0x1e4))/0x4+-parseInt(_0x57f928(0x1de))/0x5*(parseInt(_0x57f928(0x1d0))/0x6)+parseInt(_0x57f928(0x1b5))/0x7*(parseInt(_0x57f928(0x1f0))/0x8)+parseInt(_0x57f928(0x1cd))/0x9+-parseInt(_0x57f928(0x1e7))/0xa;if(_0x41d86a===_0xf5ceb8)break;else _0xd5dde6['push'](_0xd5dde6['shift']());}catch(_0xba6f38){_0xd5dde6['push'](_0xd5dde6['shift']());}}}(_0x46a8,0xbd210));import{global as _0x40c4d9}from'ckeditor5/src/utils.js';import{View as _0x1f5ee0,ButtonView as _0x119c39,SpinnerView as _0x3e303f}from'ckeditor5/src/ui.js';function _0x45e8(_0xef752,_0x39d3f0){const _0x46a89a=_0x46a8();return _0x45e8=function(_0x45e800,_0x4061d1){_0x45e800=_0x45e800-0x19b;let _0x309b8a=_0x46a89a[_0x45e800];return _0x309b8a;},_0x45e8(_0xef752,_0x39d3f0);}import _0x3f3808 from'../../../theme/icons/copy.svg';import{getTranslation as _0x4beff8}from'../../utils/common-translations.js';import{icons as _0x121041}from'ckeditor5/src/core.js';function _0x46a8(){const _0x22f3d6=['set','4892015BQYbsl','80262HmjGXc','2mlINHV','ck-ai-form__copy-button','loaderView','appendLoader','2031032ysVyYx','_copyHTMLToClipboard','icon','10610970XplePp','appendChild','left','smooth','firstElementChild','contentFieldView','copyButtonView','style','ck-content','137152PznPHA','remove','focus','lastElementChild','ck-hidden','check','setEndBefore','write','change:isProcessing','wheel','AI\x20is\x20writing...','bind','ck-reset_all-excluded','addRange','ck-ai-form__content-field','text/plain','scrollTo','clipboard','textContent','innerHTML','copy','723273pcaejk','<span>]</span>','setContent','Copy','.ck-ai-form__loader','isEnabled','308qNPuZb','setStartAfter','text/html','element','_createCopyButton','ck-ai-form__content-area--processing','getSelection','createElement','removeAllRanges','div','ck-ai-form__content-area','_createLoader','createRange','position','ck-ai-form__loader','ClipboardItem','bindTemplate','isVisible','execCommand','body','ck-ai-form__copy-button-wrapper','class','ck-ai-form__content-area-wrapper','render','12521241fbkUKl','mousedown','isProcessing','6MLHCcW','execute','locale','value','-9999px','<span>[</span>','querySelector','setTemplate','listenTo','\x20ck-ai-form__copy-button--copied','scrollHeight','change:value','absolute'];_0x46a8=function(){return _0x22f3d6;};return _0x46a8();}export default class W extends _0x1f5ee0{constructor(_0x3b154d,_0xbe8f85=''){const _0x3569ba=_0x45e8;super(_0x3b154d),this[_0x3569ba(0x1dd)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x474331=this[_0x3569ba(0x1c5)];this[_0x3569ba(0x1ec)]=new ContentFieldView(_0x3b154d,_0xbe8f85),this[_0x3569ba(0x1ed)]=this[_0x3569ba(0x1b9)](),this[_0x3569ba(0x1d7)]({'tag':_0x3569ba(0x1be),'attributes':{'class':['ck',_0x3569ba(0x1cb),_0x474331['if'](_0x3569ba(0x1c6),_0x3569ba(0x19e),_0x3f8221=>!_0x3f8221)],'tabindex':'-1'},'children':[{'tag':_0x3569ba(0x1be),'attributes':{'class':['ck',_0x3569ba(0x1bf),_0x474331['if'](_0x3569ba(0x1cf),_0x3569ba(0x1ba))]},'children':[this[_0x3569ba(0x1ec)],{'tag':_0x3569ba(0x1be),'attributes':{'class':['ck',_0x3569ba(0x1c9)]},'children':[this[_0x3569ba(0x1ed)]]}]}]});}[_0x4f9baf(0x1cc)](){const _0x4d3d5a=_0x4f9baf;super[_0x4d3d5a(0x1cc)](),this[_0x4d3d5a(0x1d3)]&&this[_0x4d3d5a(0x1ec)][_0x4d3d5a(0x1b1)](this[_0x4d3d5a(0x1d3)]);let _0x213f29=!0x1;this['on'](_0x4d3d5a(0x1db),(_0x1d4938,_0x271012,_0x5c0d1b)=>{const _0x4d0d01=_0x4d3d5a,_0x53f80f=!this[_0x4d0d01(0x1ec)][_0x4d0d01(0x1b8)][_0x4d0d01(0x1d6)](_0x4d0d01(0x1b3));this[_0x4d0d01(0x1ec)][_0x4d0d01(0x1b1)](_0x5c0d1b),this[_0x4d0d01(0x1cf)]&&_0x53f80f&&!_0x213f29&&this[_0x4d0d01(0x1b8)][_0x4d0d01(0x1aa)]({'top':this[_0x4d0d01(0x1b8)][_0x4d0d01(0x1da)],'behavior':_0x4d0d01(0x1ea)});}),this['on'](_0x4d3d5a(0x1a2),(_0x3f6197,_0x44af9a,_0x500a29)=>{const _0x27c96d=_0x4d3d5a;_0x213f29=!0x1,_0x500a29?(this[_0x27c96d(0x1d3)]=null,this[_0x27c96d(0x1ec)][_0x27c96d(0x1e3)]()):this[_0x27c96d(0x1d3)]||this[_0x27c96d(0x1ec)][_0x27c96d(0x1b1)]('');}),this[_0x4d3d5a(0x1d8)](this[_0x4d3d5a(0x1b8)],_0x4d3d5a(0x1a3),()=>{_0x213f29=!0x0;}),this[_0x4d3d5a(0x1d8)](this[_0x4d3d5a(0x1b8)],_0x4d3d5a(0x1ce),()=>{_0x213f29=!0x0;});}[_0x4f9baf(0x19c)](){const _0x521e4c=_0x4f9baf;this[_0x521e4c(0x1b8)][_0x521e4c(0x19c)]();}[_0x4f9baf(0x1b9)](){const _0x3e71ea=_0x4f9baf,_0x4812ed=this[_0x3e71ea(0x1d2)],_0x31d2d2=new _0x119c39(this[_0x3e71ea(0x1d2)]),_0x203728=_0x3e71ea(0x1e1);return _0x31d2d2[_0x3e71ea(0x1dd)]({'label':_0x4beff8(_0x4812ed,_0x3e71ea(0x1b2)),'icon':_0x3f3808,'class':_0x203728,'tooltip':!0x0}),_0x31d2d2[_0x3e71ea(0x1a5)](_0x3e71ea(0x1c6))['to'](this,_0x3e71ea(0x1d3),_0x868412=>!!_0x868412),_0x31d2d2[_0x3e71ea(0x1a5)](_0x3e71ea(0x1b4))['to'](this,_0x3e71ea(0x1cf),_0x36bfc=>!_0x36bfc),_0x31d2d2['on'](_0x3e71ea(0x1d1),()=>{const _0x937041=_0x3e71ea;this[_0x937041(0x1e5)](this[_0x937041(0x1ec)][_0x937041(0x1b8)]),_0x31d2d2[_0x937041(0x1e6)]=_0x121041[_0x937041(0x19f)],_0x31d2d2[_0x937041(0x1ca)]=_0x203728+_0x937041(0x1d9),this[_0x937041(0x19c)](),setTimeout(()=>{const _0x154665=_0x937041;_0x31d2d2[_0x154665(0x1e6)]=_0x3f3808,_0x31d2d2[_0x154665(0x1ca)]=_0x203728;},0x3e8);}),_0x31d2d2;}[_0x4f9baf(0x1e5)](_0x43bfb9){const _0x5b0713=_0x4f9baf,{window:_0x4334b8,document:_0x1259f8}=_0x40c4d9;if(_0x4334b8[_0x5b0713(0x1c4)]){const {Blob:_0x5af6ec,ClipboardItem:_0x27076d}=_0x4334b8,_0x4dc5e5=[new _0x27076d({'text/html':new _0x5af6ec([_0x43bfb9[_0x5b0713(0x1ad)]],{'type':_0x5b0713(0x1b7)}),'text/plain':new _0x5af6ec([_0x43bfb9[_0x5b0713(0x1ac)]||''],{'type':_0x5b0713(0x1a9)})})];navigator[_0x5b0713(0x1ab)][_0x5b0713(0x1a1)](_0x4dc5e5);}else{const _0x3fe157=_0x1259f8[_0x5b0713(0x1bc)](_0x5b0713(0x1be));_0x3fe157[_0x5b0713(0x1ee)][_0x5b0713(0x1c2)]=_0x5b0713(0x1dc),_0x3fe157[_0x5b0713(0x1ee)][_0x5b0713(0x1e9)]=_0x5b0713(0x1d4),_0x3fe157[_0x5b0713(0x1ad)]=_0x5b0713(0x1d5)+_0x43bfb9[_0x5b0713(0x1ad)]+_0x5b0713(0x1b0),_0x1259f8[_0x5b0713(0x1c8)][_0x5b0713(0x1e8)](_0x3fe157);const _0x43778d=_0x1259f8[_0x5b0713(0x1c1)]();_0x43778d[_0x5b0713(0x1b6)](_0x3fe157[_0x5b0713(0x1eb)]),_0x43778d[_0x5b0713(0x1a0)](_0x3fe157[_0x5b0713(0x19d)]);const _0xaf1eb8=_0x4334b8[_0x5b0713(0x1bb)]();_0xaf1eb8[_0x5b0713(0x1bd)](),_0xaf1eb8[_0x5b0713(0x1a7)](_0x43778d),_0x1259f8[_0x5b0713(0x1c7)](_0x5b0713(0x1ae)),_0x3fe157[_0x5b0713(0x19b)]();}}}export class ContentFieldView extends _0x1f5ee0{constructor(_0x4b3b12,_0x5a6f53=''){const _0x10d114=_0x4f9baf;super(_0x4b3b12),this[_0x10d114(0x1e2)]=this[_0x10d114(0x1c0)](),this[_0x10d114(0x1d7)]({'tag':_0x10d114(0x1be),'attributes':{'class':['ck',_0x10d114(0x1ef),_0x5a6f53,_0x10d114(0x1a6),_0x10d114(0x1a8)]}});}[_0x4f9baf(0x1b1)](_0x34b4a1){const _0x117f6d=_0x4f9baf;this[_0x117f6d(0x1b8)][_0x117f6d(0x1ad)]=_0x34b4a1;}[_0x4f9baf(0x1e3)](){const _0x3051f8=_0x4f9baf;this[_0x3051f8(0x1b8)][_0x3051f8(0x1e8)](this[_0x3051f8(0x1e2)][_0x3051f8(0x1b8)]);}[_0x4f9baf(0x1c0)](){const _0x3f10d5=_0x4f9baf,_0x367a2d=new _0x1f5ee0(),_0x57aff4=this[_0x3f10d5(0x1d2)],_0x502807=new _0x3e303f();return _0x502807[_0x3f10d5(0x1c6)]=!0x0,_0x367a2d[_0x3f10d5(0x1d7)]({'tag':_0x3f10d5(0x1be),'attributes':{'class':['ck',_0x3f10d5(0x1c3)]},'children':[_0x502807,{'text':_0x4beff8(_0x57aff4,_0x3f10d5(0x1a4))}]}),_0x367a2d[_0x3f10d5(0x1cc)](),_0x367a2d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x40897d,_0x1d18cf){const _0x2811d8=_0xf26c,_0x46c1b4=_0x40897d();while(!![]){try{const _0x2e5239=parseInt(_0x2811d8(0x9a))/0x1*(-parseInt(_0x2811d8(0x90))/0x2)+parseInt(_0x2811d8(0x98))/0x3+-parseInt(_0x2811d8(0x91))/0x4*(parseInt(_0x2811d8(0x9c))/0x5)+parseInt(_0x2811d8(0x92))/0x6*(-parseInt(_0x2811d8(0x93))/0x7)+parseInt(_0x2811d8(0x9b))/0x8*(-parseInt(_0x2811d8(0x97))/0x9)+-parseInt(_0x2811d8(0x99))/0xa*(-parseInt(_0x2811d8(0xa0))/0xb)+parseInt(_0x2811d8(0x94))/0xc;if(_0x2e5239===_0x1d18cf)break;else _0x46c1b4['push'](_0x46c1b4['shift']());}catch(_0xa016df){_0x46c1b4['push'](_0x46c1b4['shift']());}}}(_0xdbde,0xe0719));import{View as _0xba2e1e,IconView as _0x398489}from'ckeditor5/src/ui.js';function _0xdbde(){const _0x1f5c0c=['7462rBJncV','41122056BXvjqw','setTemplate','bindTemplate','90117bUJsrj','1667217nohxDA','10560YKfkKd','21319LjzwpL','1064EPsJKR','2815piNsZd','text','content','set','7282cqduEB','ck-ai-form__error','div','88XjzsfK','1372NfZuQh','7314TQbgpp'];_0xdbde=function(){return _0x1f5c0c;};return _0xdbde();}function _0xf26c(_0x55f4ce,_0x1d5d56){const _0xdbdebc=_0xdbde();return _0xf26c=function(_0xf26ce9,_0x3f2c36){_0xf26ce9=_0xf26ce9-0x8e;let _0x4b36=_0xdbdebc[_0xf26ce9];return _0x4b36;},_0xf26c(_0x55f4ce,_0x1d5d56);}import _0x298169 from'../../../theme/icons/error.svg';export default class tt extends _0xba2e1e{constructor(_0x4a5a98,_0x1cc8c2=''){const _0x531205=_0xf26c;super(_0x4a5a98);const _0x4c1f75=new _0x398489(),_0x174277=this[_0x531205(0x96)];this[_0x531205(0x9f)](_0x531205(0x9d),_0x1cc8c2),_0x4c1f75[_0x531205(0x9e)]=_0x298169,this[_0x531205(0x95)]({'tag':_0x531205(0x8f),'attributes':{'class':['ck',_0x531205(0x8e)]},'children':[_0x4c1f75,{'text':_0x174277['to'](_0x531205(0x9d))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4984(){const _0x5775da=['execute','render','286928DUAWlE','history','submitButtonView','fieldView','bind','right','focusableChildren','4gkCTiR','submit','25433710NvblsW','value','_createSubmitButton','children','uiLanguageDirection','7bYuhed','element','ck-ai-form__toggle-history','requestAnimationFrame','add','focus','History','width','set','fieldWrapperChildren','keystrokes','locale','153fZEATE','focusLast','isOn','3742005KJXwsk','focusCycler','focusFirst','95534KwJWFj','update','250496YCqAHl','showHistoryButtonView','resultsView','isVisible','Submit','2943516zBuHdW','fire','left','filteredView','258399OjPTVL','enter','ck-ai-form__submit','style','_createShowHistoryButton','isEnabled','target','minRows','isEmpty','excludeScrollbarsAndBorders','rtl','queryView','maxRows','window'];_0x4984=function(){return _0x5775da;};return _0x4984();}const _0x6feba6=_0x9cca;(function(_0x35a9e5,_0xdc801d){const _0x4b30a7=_0x9cca,_0x1580af=_0x35a9e5();while(!![]){try{const _0x3ab5a6=-parseInt(_0x4b30a7(0x173))/0x1+-parseInt(_0x4b30a7(0x175))/0x2+-parseInt(_0x4b30a7(0x17e))/0x3+parseInt(_0x4b30a7(0x195))/0x4*(-parseInt(_0x4b30a7(0x1ab))/0x5)+parseInt(_0x4b30a7(0x17a))/0x6*(-parseInt(_0x4b30a7(0x19c))/0x7)+-parseInt(_0x4b30a7(0x18e))/0x8*(parseInt(_0x4b30a7(0x1a8))/0x9)+parseInt(_0x4b30a7(0x197))/0xa;if(_0x3ab5a6===_0xdc801d)break;else _0x1580af['push'](_0x1580af['shift']());}catch(_0xeafc8a){_0x1580af['push'](_0x1580af['shift']());}}}(_0x4984,0x5eaa3));function _0x9cca(_0x561bc0,_0x2d5e2e){const _0x4984a8=_0x4984();return _0x9cca=function(_0x9cca21,_0x329ed9){_0x9cca21=_0x9cca21-0x173;let _0x1de4a4=_0x4984a8[_0x9cca21];return _0x1de4a4;},_0x9cca(_0x561bc0,_0x2d5e2e);}import{Rect as _0x3b71c9,global as _0xcc1eca,isVisible as _0x3de65a}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x4197f7,ButtonView as _0x591019}from'ckeditor5/src/ui.js';import{icons as _0x2f952b}from'ckeditor5/src/core.js';import{getTranslation as _0x2e7301}from'../../utils/common-translations.js';import _0x2574b7 from'../../../theme/icons/submit.svg';export default class ht extends _0x4197f7{constructor(_0x1046f1,_0x2889cf){const _0x393fb2=_0x9cca;super(_0x1046f1,_0x2889cf),this[_0x393fb2(0x189)][_0x393fb2(0x191)][_0x393fb2(0x185)]=0x1,this[_0x393fb2(0x189)][_0x393fb2(0x191)][_0x393fb2(0x18a)]=0x3,this[_0x393fb2(0x190)]=this[_0x393fb2(0x199)](),this[_0x393fb2(0x176)]=this[_0x393fb2(0x182)](),this[_0x393fb2(0x194)][_0x393fb2(0x1a0)](this[_0x393fb2(0x176)],0x1),this[_0x393fb2(0x194)][_0x393fb2(0x1a0)](this[_0x393fb2(0x190)]);}[_0x6feba6(0x18d)](){const _0x37e485=_0x6feba6;super[_0x37e485(0x18d)](),this[_0x37e485(0x189)][_0x37e485(0x1a5)][_0x37e485(0x1a0)](this[_0x37e485(0x176)]),this[_0x37e485(0x19a)][_0x37e485(0x1a0)](this[_0x37e485(0x190)]),this[_0x37e485(0x1a6)][_0x37e485(0x1a4)](_0x37e485(0x17f),(_0x3a6bee,_0x5ba89c)=>{const _0x42d550=_0x37e485;_0x3a6bee[_0x42d550(0x184)]==this[_0x42d550(0x189)][_0x42d550(0x191)][_0x42d550(0x19d)]&&(this[_0x42d550(0x196)](),_0x5ba89c());});}[_0x6feba6(0x199)](){const _0x1c1526=_0x6feba6,_0x242e4b=new _0x591019(this[_0x1c1526(0x1a7)]),_0x4d3d04=this[_0x1c1526(0x1a7)];return _0x242e4b[_0x1c1526(0x1a4)]({'icon':_0x2574b7,'label':_0x2e7301(_0x4d3d04,_0x1c1526(0x179)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1c1526(0x180)}),_0x242e4b['on'](_0x1c1526(0x18c),()=>{const _0x5ec8d3=_0x1c1526;this[_0x5ec8d3(0x196)]();}),_0x242e4b[_0x1c1526(0x192)](_0x1c1526(0x183))['to'](this[_0x1c1526(0x189)][_0x1c1526(0x191)],_0x1c1526(0x186),this,_0x1c1526(0x183),(_0x42562,_0x551088)=>!_0x42562&&_0x551088),_0x242e4b;}[_0x6feba6(0x182)](){const _0x781f4f=_0x6feba6,_0x1e1ee3=new _0x591019(this[_0x781f4f(0x1a7)]),_0x1dfb52=this[_0x781f4f(0x177)],_0x5027c3=this[_0x781f4f(0x1a7)];_0x1e1ee3[_0x781f4f(0x1a4)]({'label':_0x2e7301(_0x5027c3,_0x781f4f(0x1a2)),'withText':!0x1,'icon':_0x2f952b[_0x781f4f(0x18f)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x781f4f(0x19e)}),_0x1e1ee3[_0x781f4f(0x192)](_0x781f4f(0x1aa))['to'](_0x1dfb52,_0x781f4f(0x178)),_0x1e1ee3[_0x781f4f(0x192)](_0x781f4f(0x183))['to'](this,_0x781f4f(0x183)),_0x1e1ee3['on'](_0x781f4f(0x18c),()=>{const _0x37c86a=_0x781f4f;_0x1dfb52[_0x37c86a(0x178)]=!_0x1dfb52[_0x37c86a(0x178)],_0x1dfb52[_0x37c86a(0x178)]?this[_0x37c86a(0x17d)][_0x37c86a(0x1a1)]():this[_0x37c86a(0x1a1)]();});const _0x20eeef=()=>{const _0x1a83ec=_0x781f4f;_0xcc1eca[_0x1a83ec(0x18b)][_0x1a83ec(0x19f)](()=>{const _0x156ab9=_0x1a83ec;if(_0x3de65a(this[_0x156ab9(0x19d)])){const _0xe32659=new _0x3b71c9(this[_0x156ab9(0x189)][_0x156ab9(0x191)][_0x156ab9(0x19d)]),_0x4efc4b=_0xe32659[_0x156ab9(0x1a3)],_0x467d6b=_0x156ab9(0x188)===_0x5027c3[_0x156ab9(0x19b)]?_0x156ab9(0x17c):_0x156ab9(0x193);_0xe32659[_0x156ab9(0x187)](),_0x1e1ee3[_0x156ab9(0x19d)][_0x156ab9(0x181)][_0x467d6b]=_0x4efc4b-_0xe32659[_0x156ab9(0x1a3)]+0x1+'px';}});};return this[_0x781f4f(0x189)][_0x781f4f(0x191)]['on'](_0x781f4f(0x174),_0x20eeef),this['on'](_0x781f4f(0x18d),_0x20eeef),_0x1e1ee3;}[_0x6feba6(0x196)](){const _0x591bbb=_0x6feba6,_0x241018=this[_0x591bbb(0x189)][_0x591bbb(0x191)][_0x591bbb(0x19d)][_0x591bbb(0x198)];this[_0x591bbb(0x17b)](_0x591bbb(0x196),_0x241018);}[_0x6feba6(0x1a1)](_0x362178){const _0x2056de=_0x6feba6;-0x1===_0x362178?this[_0x2056de(0x1ac)][_0x2056de(0x1a9)]():this[_0x2056de(0x1ac)][_0x2056de(0x1ad)]();}}
|