@ckeditor/ckeditor5-ai 44.2.1-alpha.0 → 44.2.1
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/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 +9 -9
- 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 _0x61682=_0x29c8;(function(_0x33fd41,_0xf8e719){const _0x3e8a28=_0x29c8,_0x450c97=_0x33fd41();while(!![]){try{const _0x5c857a=parseInt(_0x3e8a28(0x151))/0x1+-parseInt(_0x3e8a28(0x156))/0x2+-parseInt(_0x3e8a28(0x14c))/0x3+-parseInt(_0x3e8a28(0x168))/0x4+parseInt(_0x3e8a28(0x14e))/0x5+parseInt(_0x3e8a28(0x17d))/0x6+parseInt(_0x3e8a28(0x175))/0x7;if(_0x5c857a===_0xf8e719)break;else _0x450c97['push'](_0x450c97['shift']());}catch(_0x30804b){_0x450c97['push'](_0x450c97['shift']());}}}(_0x3e92,0xa5d5a));import{Plugin as _0x32fd7b}from'ckeditor5/src/core.js';import _0x3ae4f6 from'./aiassistantui.js';import _0x1d6d49 from'./aiassistantediting.js';function _0x29c8(_0x1e0959,_0x2b51c8){const _0x3e9262=_0x3e92();return _0x29c8=function(_0x29c809,_0x3941d1){_0x29c809=_0x29c809-0x130;let _0x841122=_0x3e9262[_0x29c809];return _0x841122;},_0x29c8(_0x1e0959,_0x2b51c8);}import{getTranslation as _0x4a6b7e}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x40f8f1}from'./utils/normalizecommandsconfig.js';export default class r extends _0x32fd7b{static get[_0x61682(0x185)](){return[_0x3ae4f6,_0x1d6d49];}static get[_0x61682(0x171)](){const _0x2666e0=_0x61682;return _0x2666e0(0x196);}static get[_0x61682(0x18f)](){return!0x0;}static get[_0x61682(0x166)](){return!0x0;}constructor(_0x5bdf69){const _0x4a17ea=_0x61682;super(_0x5bdf69);const _0x35f4a1=_0x5bdf69[_0x4a17ea(0x19a)],_0x5680cd=_0x5bdf69[_0x4a17ea(0x15a)];_0x35f4a1[_0x4a17ea(0x186)](_0x4a17ea(0x143),!0x0),_0x35f4a1[_0x4a17ea(0x186)](_0x4a17ea(0x18d),getDefaultCommands(_0x5680cd)),_0x35f4a1[_0x4a17ea(0x186)](_0x4a17ea(0x145),[]),_0x35f4a1[_0x4a17ea(0x186)](_0x4a17ea(0x18e),[]);let _0x20ac16=_0x40f8f1(_0x35f4a1[_0x4a17ea(0x14a)](_0x4a17ea(0x18d)),_0x5680cd);const _0xdbc92d=_0x35f4a1[_0x4a17ea(0x14a)](_0x4a17ea(0x145)),_0x346442=_0x35f4a1[_0x4a17ea(0x14a)](_0x4a17ea(0x18e));_0xdbc92d[_0x4a17ea(0x163)](_0x5793e6=>{const _0x47db82=_0x4a17ea,_0x95887d=_0x20ac16[_0x47db82(0x190)](_0x1773fb=>_0x1773fb[_0x47db82(0x177)]===_0x5793e6[_0x47db82(0x177)]);_0x95887d?_0x95887d[_0x47db82(0x159)]=_0x95887d[_0x47db82(0x159)][_0x47db82(0x155)](_0x5793e6[_0x47db82(0x159)]):_0x20ac16[_0x47db82(0x172)](_0x5793e6);}),_0x20ac16=_0x20ac16[_0x4a17ea(0x152)](_0x4f091b=>!_0x346442[_0x4a17ea(0x16b)](_0x4f091b[_0x4a17ea(0x177)])),_0x20ac16[_0x4a17ea(0x163)](_0x75f02=>{const _0x2a8736=_0x4a17ea;_0x75f02[_0x2a8736(0x159)]=_0x75f02[_0x2a8736(0x159)][_0x2a8736(0x152)](_0x323677=>!_0x346442[_0x2a8736(0x16b)](_0x323677['id']));}),_0x35f4a1[_0x4a17ea(0x194)](_0x4a17ea(0x18d),_0x20ac16);}}export function getDefaultCommands(_0x4bc5a4){const _0x1e7288=_0x61682;return[{'groupId':_0x1e7288(0x150),'groupLabel':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x144)),'commands':[{'id':_0x1e7288(0x134),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x147)),'prompt':_0x1e7288(0x197)},{'id':_0x1e7288(0x130),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x165)),'prompt':_0x1e7288(0x18a)},{'id':_0x1e7288(0x181),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x13a)),'prompt':_0x1e7288(0x184)},{'id':_0x1e7288(0x14f),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x191)),'prompt':_0x1e7288(0x15b)}]},{'groupId':_0x1e7288(0x18b),'groupLabel':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x167)),'commands':[{'id':_0x1e7288(0x178),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x189)),'prompt':_0x1e7288(0x14d)},{'id':_0x1e7288(0x13b),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x16c)),'prompt':_0x1e7288(0x16a)}]},{'groupId':_0x1e7288(0x17c),'groupLabel':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x133)),'commands':[{'id':_0x1e7288(0x174),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x160)),'prompt':_0x1e7288(0x17b)},{'id':_0x1e7288(0x188),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x19b)),'prompt':_0x1e7288(0x195)},{'id':_0x1e7288(0x132),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x173)),'prompt':_0x1e7288(0x13e)},{'id':_0x1e7288(0x198),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x131)),'prompt':_0x1e7288(0x170)},{'id':_0x1e7288(0x199),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x16d)),'prompt':_0x1e7288(0x162)}]},{'groupId':_0x1e7288(0x146),'groupLabel':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x187)),'commands':[{'id':_0x1e7288(0x14b),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x13d)),'prompt':_0x1e7288(0x13f)},{'id':_0x1e7288(0x138),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x153)),'prompt':_0x1e7288(0x148)},{'id':_0x1e7288(0x192),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x18c)),'prompt':_0x1e7288(0x15c)},{'id':_0x1e7288(0x193),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x158)),'prompt':_0x1e7288(0x180)}]},{'groupId':_0x1e7288(0x135),'groupLabel':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x164)),'commands':[{'id':_0x1e7288(0x16e),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x136)),'prompt':_0x1e7288(0x15f)},{'id':_0x1e7288(0x140),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x17e)),'prompt':_0x1e7288(0x137)},{'id':_0x1e7288(0x169),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x161)),'prompt':_0x1e7288(0x176)},{'id':_0x1e7288(0x13c),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x15e)),'prompt':_0x1e7288(0x17f)},{'id':_0x1e7288(0x15d),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x157)),'prompt':_0x1e7288(0x17a)},{'id':_0x1e7288(0x139),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x154)),'prompt':_0x1e7288(0x16f)},{'id':_0x1e7288(0x149),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x179)),'prompt':_0x1e7288(0x141)},{'id':_0x1e7288(0x142),'label':_0x4a6b7e(_0x4bc5a4,_0x1e7288(0x182)),'prompt':_0x1e7288(0x183)}]}];}function _0x3e92(){const _0x31f602=['Simplified\x20Chinese','concat','19668XnghOp','French','Poetic','commands','locale','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateFrench','German','Translate\x20the\x20content\x20to\x20English\x20language.','Professional','Portuguese','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','forEach','Translate','Make\x20shorter','isPremiumPlugin','Generate\x20from\x20selection','4529920NndFhz','translatePortuguese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','includes','Continue','Friendly','translateEnglish','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','pluginName','push','Direct','professional','7633325BgZbfP','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','groupId','summarize','Hindi','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','changeTone','7124766WbRznD','Spanish','Translate\x20the\x20content\x20to\x20German\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','makeLonger','Arabic','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','requires','define','Change\x20style','casual','Summarize','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','generate','Journalism','ai.aiAssistant.commands','ai.aiAssistant.removeCommands','isOfficialPlugin','find','Simplify\x20language','journalism','poetic','set','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','AIAssistant','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','confident','friendly','config','Casual','makeShorter','Confident','direct','Change\x20tone','improveWriting','translate','English','Translate\x20the\x20content\x20to\x20Spanish\x20language.','legal','translateChinese','Make\x20longer','continue','translateGerman','Business','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateSpanish','Translate\x20the\x20content\x20to\x20Hindi\x20language.','translateArabic','ai.aiAssistant.preserveComments','Edit\x20or\x20review','ai.aiAssistant.extraCommandGroups','changeStyle','Improve\x20writing','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translateHindi','get','business','3843174Wxkiru','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','3162525bYhAvF','simplifyLanguage','editOrReview','192189DFsZrq','filter','Legal'];_0x3e92=function(){return _0x31f602;};return _0x3e92();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b578e=_0x2f81;(function(_0x4c08bb,_0x524a08){const _0x3e95ab=_0x2f81,_0x40addc=_0x4c08bb();while(!![]){try{const _0x1b48c9=-parseInt(_0x3e95ab(0x1cb))/0x1*(parseInt(_0x3e95ab(0x19b))/0x2)+parseInt(_0x3e95ab(0x1d6))/0x3+-parseInt(_0x3e95ab(0x191))/0x4*(-parseInt(_0x3e95ab(0x178))/0x5)+parseInt(_0x3e95ab(0x1d4))/0x6*(parseInt(_0x3e95ab(0x1bd))/0x7)+-parseInt(_0x3e95ab(0x18c))/0x8+-parseInt(_0x3e95ab(0x1c2))/0x9*(-parseInt(_0x3e95ab(0x1dc))/0xa)+parseInt(_0x3e95ab(0x1be))/0xb*(-parseInt(_0x3e95ab(0x1a9))/0xc);if(_0x1b48c9===_0x524a08)break;else _0x40addc['push'](_0x40addc['shift']());}catch(_0x2ee5b3){_0x40addc['push'](_0x40addc['shift']());}}}(_0x42d1,0xeec0f));import{uid as _0x4ab8c3}from'ckeditor5/src/utils.js';function _0x42d1(){const _0xdac0ce=['pop','markers','getLastPosition','5572032kStAdn','createUIElement','afterInit','resultRange','text/html','_getDefaultInsertBelowPosition','get','first','findAncestor','insertContent','table','plugins','getChildren','createSelection','ck-fake-ai-selection','insertContentBelow','_getTableRowCountFromContent','setData','isOfficialPlugin','start','7jNCWnu','11YwOYZt','end','data','setSelection','1386UuoZYp','push','hideFakeVisualSelection','element','last','isAtEnd','join','getRowIndexes','_getAISelection','1683015WYmhtd','deleteContent','AIAssistantEditing','for','isContent','getColumnIndexes','off','addMarker','getSelectedTableCells','11695074eNumML','getChild','4107075QFzJOX','editing','insertRows','forEach','TableUtils','from','74830weDoso','updateMarker','ck-ai-assistant-ui_theme','schema','createRange','ai.useTheme','init','getFirstRange','filter','pluginName','DataTransfer','has','2792055YQduIS','addClass','parse','removeMarker','map','markerToElement','showFakeVisualSelection','markerToHighlight','_createEmptyTableRows','length','ck-fake-ai-selection_collapsed','ai-ui','canEditAt','createPositionAfter','fromCharCode','isPremiumPlugin','getLastMatchingPosition','contentInsertion','editor','markerRange','15229688jEHHIo','once','document','_prepareTableInsertBelowPosition','getRanges','4ztAGBK','config','fire','paste','change','conversion','model','isCollapsed','selection','_resetContentOfSelectedTableCells','2YuYuRW','getRows','span','_pasteHTMLUsingClipboard','getMarkersGroup','href','createPositionAt','editingDowncast','lowest','getRange','getSelectedBlocks'];_0x42d1=function(){return _0xdac0ce;};return _0x42d1();}import{Plugin as _0x85f1d0}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x199d52}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x99103a,DataTransfer as _0x2f6d80}from'ckeditor5/src/engine.js';const w=globalThis[_0x1b578e(0x176)],f=_0x1b578e(0x183);function _0x2f81(_0xd4755a,_0x171849){const _0x42d171=_0x42d1();return _0x2f81=function(_0x2f817f,_0xabfe71){_0x2f817f=_0x2f817f-0x16e;let _0x378392=_0x42d171[_0x2f817f];return _0x378392;},_0x2f81(_0xd4755a,_0x171849);}export default class a extends _0x85f1d0{static get[_0x1b578e(0x175)](){const _0x13bb3a=_0x1b578e;return _0x13bb3a(0x1cd);}static get[_0x1b578e(0x1bb)](){return!0x0;}static get[_0x1b578e(0x187)](){return!0x0;}[_0x1b578e(0x172)](){const _0x41a149=_0x1b578e,{editor:_0x3ee8c4}=this,_0x47ec33=[_0x41a149(0x1b7)];_0x3ee8c4[_0x41a149(0x192)][_0x41a149(0x1af)](_0x41a149(0x171))&&_0x47ec33[_0x41a149(0x1c3)](_0x41a149(0x16e)),_0x3ee8c4[_0x41a149(0x196)][_0x41a149(0x1ce)](_0x41a149(0x1a2))[_0x41a149(0x17f)]({'model':f,'view':{'classes':_0x47ec33,'priority':0xc}}),_0x3ee8c4[_0x41a149(0x196)][_0x41a149(0x1ce)](_0x41a149(0x1a2))[_0x41a149(0x17d)]({'model':f,'view':(_0xd879a2,{writer:_0x52dc35})=>{const _0x190e93=_0x41a149;if(!_0xd879a2[_0x190e93(0x18b)][_0x190e93(0x198)])return null;const _0x2033c=_0x52dc35[_0x190e93(0x1aa)](_0x190e93(0x19d));return _0x52dc35[_0x190e93(0x179)]([_0x190e93(0x1b7),_0x190e93(0x182)],_0x2033c),_0x2033c;}});}[_0x1b578e(0x1ab)](){!async function(_0x38a0b4){const _0x42d5f7=_0x5e82d2([0x70,0x36,0x38,0x77,0x58,0x75,0x41,0x46,0x4b,0x32,0x42,0x35,0x67,0x4a,0x55,0x30,0x44,0x59,0x48,0x62,0x4e,0x5a,0x52,0x6c,0x43,0x31,0x57,0x4f,0x79,0x69,0x6d,0x6a,0x56,0x45,0x54,0x34,0x50,0x47,0x6f,0x64,0x4c,0x63,0x73,0x39,0x68,0x4d,0x65,0x6b,0x74,0x49,0x71,0x7a,0x6e,0x33,0x66,0x72,0x61,0x51,0x76,0x53,0x37,0x78]),_0xf271ef=0x66c5689f,_0x19f56d=0x66c2376f^_0xf271ef,_0x61c84e=window[_0x5e82d2([0x44,0x61,0x74,0x65])][_0x5e82d2([0x6e,0x6f,0x77])](),_0x22c200=_0x38a0b4[_0x5e82d2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d7332=new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1b62=>{_0x22c200[_0x5e82d2([0x6f,0x6e,0x63,0x65])](_0x5e82d2([0x72,0x65,0x61,0x64,0x79]),_0x5e1b62);}),_0x132510={[_0x5e82d2([0x6b,0x74,0x79])]:_0x5e82d2([0x45,0x43]),[_0x5e82d2([0x75,0x73,0x65])]:_0x5e82d2([0x73,0x69,0x67]),[_0x5e82d2([0x63,0x72,0x76])]:_0x5e82d2([0x50,0x2d,0x32,0x35,0x36]),[_0x5e82d2([0x78])]:_0x5e82d2([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]),[_0x5e82d2([0x79])]:_0x5e82d2([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]),[_0x5e82d2([0x61,0x6c,0x67])]:_0x5e82d2([0x45,0x53,0x32,0x35,0x36])},_0x204a21=_0x22c200[_0x5e82d2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e82d2([0x67,0x65,0x74])](_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xacb48b(){let _0x3106ee,_0x2e868b=null,_0x405ef7=null;try{if(_0x204a21==_0x5e82d2([0x47,0x50,0x4c]))return _0x5e82d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3106ee=_0x4335e4(),!_0x3106ee)return _0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3106ee[_0x5e82d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x405ef7=_0x2a2317(_0x3106ee[_0x5e82d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3106ee[_0x5e82d2([0x6a,0x74,0x69])])),await _0x2a0001()?_0x4ed627()?_0x22dbbc()?_0x5e82d2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ac1af()?(_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e82d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e868b=_0x55dc11(_0x5e82d2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e82d2([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e868b=_0x55dc11(_0x5e82d2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x388c66()):_0x5e82d2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e82d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x279e8a){return _0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22dbbc(){const _0x16d0f2=[_0x5e82d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e82d2([0x74,0x72,0x69,0x61,0x6c])][_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x61c84e/0x3e8:0xe10*_0x19f56d;return _0x3106ee[_0x5e82d2([0x65,0x78,0x70])]<_0x16d0f2;}function _0x4ed627(){const _0x52a6cf=_0x3106ee[_0x5e82d2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52a6cf&&(!!_0x52a6cf[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x2a]))||!!_0x52a6cf[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x41,0x49])));}function _0x4ac1af(){const _0x3ecb10=_0x2f81,_0x238ea1=_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x238ea1||0x0==_0x238ea1[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26e865}=new URL(window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ecb10(0x1a0)]);if(_0x238ea1[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26e865))return!0x0;const _0x33f4aa=_0x26e865[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e]));return _0x238ea1[_0x5e82d2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb254e7=>_0xb254e7[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x2a])))[_0x5e82d2([0x6d,0x61,0x70])](_0x505e85=>_0x505e85[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e])))[_0x5e82d2([0x73,0x6f,0x6d,0x65])](_0x582bc2=>_0x33f4aa[_0x5e82d2([0x65,0x76,0x65,0x72,0x79])]((_0x46ebba,_0x3c2f03)=>_0x582bc2[_0x3c2f03]===_0x46ebba||_0x582bc2[_0x3c2f03]===_0x5e82d2([0x2a])));}function _0x388c66(){return _0x2e868b&&_0x405ef7?new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ff649,_0x4da2dc)=>{_0x2e868b[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x1ff649,_0x4da2dc),_0x405ef7[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x58e929=>{_0x58e929!=_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])&&_0x1ff649(_0x58e929);},_0x4da2dc);}):_0x2e868b||_0x405ef7||_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a2317(_0x5ce33d,_0x3f46ec){return new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b45a2=>{if(_0x2ea9a7())return _0x5b45a2(_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]));_0x38b5fd(),_0x22c200[_0x5e82d2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5eb0ff=!0x1;const _0x1e4842=_0x4ab8c3();function _0x228658(_0x575e69){return!!_0x575e69&&(typeof _0x575e69===_0x5e82d2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x575e69===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x575e69[_0x5e82d2([0x74,0x68,0x65,0x6e])]===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x575e69[_0x5e82d2([0x63,0x61,0x74,0x63,0x68])]===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30d4ba(_0x3c2668){_0x42b0b7(_0x3c2668)[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x4ff94b=>{if(!_0x4ff94b||_0x4ff94b[_0x5e82d2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e82d2([0x6f,0x6b]))return _0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x594eec(_0x11282f(_0x1e4842+_0x3f46ec))!=_0x4ff94b[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x3097d5=>(_0xc2ba4a(),_0x3097d5),()=>{const _0x52e6c=_0x484544();return null==_0x52e6c?(_0xc2ba4a(),_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])):_0x5e82d2(_0x61c84e-_0x52e6c>(0x42c9ec9f^_0xf271ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x5b45a2)[_0x5e82d2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x221292=0x66f3861f^_0xf271ef;function _0xc2ba4a(){const _0x227d3a=_0x5e82d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x594eec(_0x11282f(_0x5ce33d)),_0x53d6d4=_0x73a13d(_0x594eec(window[_0x5e82d2([0x4d,0x61,0x74,0x68])][_0x5e82d2([0x63,0x65,0x69,0x6c])](_0x61c84e/_0x221292)));window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e82d2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x227d3a,_0x53d6d4);}function _0x484544(){const _0x49a130=_0x5e82d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x594eec(_0x11282f(_0x5ce33d)),_0x1a9a9b=window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e82d2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49a130);return _0x1a9a9b?window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x73a13d(_0x1a9a9b),0x10)*_0x221292:null;}function _0x42b0b7(_0x20a2f6){return new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e6b33,_0xc019c1)=>{_0x20a2f6[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x2e6b33,_0xc019c1),window[_0x5e82d2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc019c1,0x66c4bc5f^_0xf271ef);});}}_0x22c200[_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x639b3,_0x924588)=>{if(_0x924588[0x0]!=_0x5ce33d)return _0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x924588[0x1]={..._0x924588[0x1],[_0x5e82d2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e4842};},{[_0x5e82d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e82d2([0x68,0x69,0x67,0x68])}),_0x22c200[_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7b8a=>{_0x228658(_0x2c7b8a[_0x5e82d2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5eb0ff=!0x0,_0x30d4ba(_0x2c7b8a[_0x5e82d2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e82d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e82d2([0x6c,0x6f,0x77])}),_0x3d7332[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>{_0x5eb0ff||_0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ea9a7(){return _0x22c200[_0x5e82d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e82d2([0x76,0x69,0x65,0x77])][_0x5e82d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e82d2([0x61,0x75,0x74,0x6f]);}function _0x38b5fd(){_0x22c200[_0x5e82d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e82d2([0x76,0x69,0x65,0x77])][_0x5e82d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e82d2([0x61,0x75,0x74,0x6f]);}}function _0x55dc11(_0x215cda){const _0xdf3567=[new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a7afe=>setTimeout(_0x2a7afe,0x66cc5653^_0xf271ef)),_0x3d7332[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c6da1=>{let _0x2df6f6=0x0;_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1733a1,_0x1f86e7)=>{_0x1f86e7[0x0][_0x5e82d2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2df6f6++,_0x2df6f6==(0x66c56967^_0xf271ef)&&(_0x5c6da1(),_0x1733a1[_0x5e82d2([0x6f,0x66,0x66])]());});}))];return window[_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e82d2([0x72,0x61,0x63,0x65])](_0xdf3567)[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>_0x215cda);}async function _0x435003(){await _0x3d7332,_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x234840,_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x234840,_0x22c200[_0x5e82d2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2949c4(_0x332780){const _0x772c3e=_0x536e2f();_0x22c200[_0x772c3e]=_0x5e82d2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x332780,_0x332780!=_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])&&_0x435003();}function _0x536e2f(){const _0x5a9c13=window[_0x5e82d2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e82d2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e82d2([0x6e,0x6f,0x77])]())[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e82d2([0x2e]),'');let _0x34c351=_0x5e82d2([0x70]);for(let _0x523fac=0x0;_0x523fac<_0x5a9c13[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x523fac+=0x2){let _0x26bcf2=window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9c13[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x523fac,_0x523fac+0x2));_0x26bcf2>=_0x42d5f7[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26bcf2-=_0x42d5f7[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34c351+=_0x42d5f7[_0x26bcf2];}return _0x34c351;}function _0x4335e4(){const _0x2e788c=_0x204a21[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e]));if(0x3!=_0x2e788c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e50a6(_0x2e788c[0x1]);function _0x2e50a6(_0x5a78f1){const _0x57220d=_0x4fe200(_0x5a78f1);return _0x57220d&&_0x49dda8()?_0x57220d:null;function _0x49dda8(){const _0x3f9a5c=_0x57220d[_0x5e82d2([0x6a,0x74,0x69])],_0x1cb5ac=window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f9a5c[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f9a5c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44387e={..._0x57220d,[_0x5e82d2([0x6a,0x74,0x69])]:_0x3f9a5c[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f9a5c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44387e[_0x5e82d2([0x76,0x63])],_0x11282f(_0x44387e)==_0x1cb5ac;}}}async function _0x2a0001(){let _0x50d32a=!0x0;try{const _0xc90d72=_0x204a21[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e])),[_0x4e657a,_0x5bd9c7,_0xec5840]=_0xc90d72;return _0x2ba21e(_0x4e657a),await _0x1ea25f(_0x4e657a,_0x5bd9c7,_0xec5840),_0x50d32a;}catch(_0x18889a){return!0x1;}function _0x2ba21e(_0x498e64){const _0x6fb197=_0x4fe200(_0x498e64);_0x6fb197&&_0x6fb197[_0x5e82d2([0x61,0x6c,0x67])]==_0x5e82d2([0x45,0x53,0x32,0x35,0x36])||(_0x50d32a=!0x1);}async function _0x1ea25f(_0x49b3cc,_0x30b48d,_0x1c0ee9){const _0x466811=window[_0x5e82d2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e82d2([0x66,0x72,0x6f,0x6d])](_0x124630(_0x1c0ee9),_0x4ccf4d=>_0x4ccf4d[_0x5e82d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x266a1c=new window[(_0x5e82d2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e82d2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49b3cc+_0x5e82d2([0x2e])+_0x30b48d),_0x3ac8bb=window[_0x5e82d2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e82d2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ac8bb)return;const _0x1e1d96=await _0x3ac8bb[_0x5e82d2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e82d2([0x6a,0x77,0x6b]),_0x132510,{[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x45,0x43,0x44,0x53,0x41]),[_0x5e82d2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e82d2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ac8bb[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x45,0x43,0x44,0x53,0x41]),[_0x5e82d2([0x68,0x61,0x73,0x68])]:{[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e1d96,_0x466811,_0x266a1c)||(_0x50d32a=!0x1);}}function _0x4fe200(_0x4bf9b5){return _0x4bf9b5[_0x5e82d2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e82d2([0x65,0x79]))?JSON[_0x5e82d2([0x70,0x61,0x72,0x73,0x65])](_0x124630(_0x4bf9b5)):null;}function _0x124630(_0x3ed8cc){return window[_0x5e82d2([0x61,0x74,0x6f,0x62])](_0x3ed8cc[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e82d2([0x2b]))[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e82d2([0x2f])));}function _0x11282f(_0x283c97){let _0x23c595=0x1505;function _0x31e130(_0x2533a3){for(let _0x5e1133=0x0;_0x5e1133<_0x2533a3[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1133++){const _0x5b9401=_0x2533a3[_0x5e82d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e1133);_0x23c595=(_0x23c595<<0x5)+_0x23c595+_0x5b9401,_0x23c595&=_0x23c595;}}function _0x1912c6(_0x47e5ec){Array[_0x5e82d2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47e5ec)?_0x47e5ec[_0x5e82d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1912c6):_0x47e5ec&&typeof _0x47e5ec==_0x5e82d2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e82d2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47e5ec)[_0x5e82d2([0x73,0x6f,0x72,0x74])]()[_0x5e82d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47698e,_0x42b444])=>{_0x31e130(_0x47698e),_0x1912c6(_0x42b444);}):_0x31e130(window[_0x5e82d2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47e5ec));}return _0x1912c6(_0x283c97),_0x23c595>>>0x0;}function _0x594eec(_0xa4b7e1){return _0xa4b7e1[_0x5e82d2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e82d2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e82d2([0x30]));}function _0x73a13d(_0x18d853){return _0x18d853[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e82d2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e82d2([0x6a,0x6f,0x69,0x6e])]('');}function _0x234840(){}function _0x5e82d2(_0x3c7a22){const _0x1d9d81=_0x2f81;return _0x3c7a22[_0x1d9d81(0x17c)](_0x28c1c8=>String[_0x1d9d81(0x186)](_0x28c1c8))[_0x1d9d81(0x1c8)]('');}_0x2949c4(await _0xacb48b());}(this);}[_0x1b578e(0x17e)](){const _0x3356fc=_0x1b578e,_0x5b0c65=this[_0x3356fc(0x18a)][_0x3356fc(0x197)];_0x5b0c65[_0x3356fc(0x195)](_0x5939d9=>{const _0x232137=_0x3356fc,_0x32c61b=_0x5b0c65[_0x232137(0x18e)][_0x232137(0x199)][_0x232137(0x190)]();let _0x331691=0x0;for(const _0x3e5352 of _0x32c61b){const _0x605fa8=f+':'+_0x331691;if(_0x5b0c65[_0x232137(0x1a7)][_0x232137(0x177)](_0x605fa8))_0x5939d9[_0x232137(0x1dd)](_0x605fa8,{'range':_0x3e5352});else{if(_0x3e5352[_0x232137(0x1bc)][_0x232137(0x1c7)]){const _0x5b8e53=_0x3e5352[_0x232137(0x1bc)][_0x232137(0x188)](({item:_0x567bda})=>!_0x5b0c65[_0x232137(0x16f)][_0x232137(0x1cf)](_0x567bda),{'boundaries':_0x3e5352});_0x5939d9[_0x232137(0x1d2)](_0x605fa8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5939d9[_0x232137(0x170)](_0x5b8e53,_0x3e5352[_0x232137(0x1bf)])});}else _0x5939d9[_0x232137(0x1d2)](_0x605fa8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3e5352});}_0x331691++;}});}[_0x1b578e(0x1c4)](){const _0xadb2f0=_0x1b578e,_0x49a419=this[_0xadb2f0(0x18a)][_0xadb2f0(0x197)],_0xa4ce94=Array[_0xadb2f0(0x1db)](this[_0xadb2f0(0x18a)][_0xadb2f0(0x197)][_0xadb2f0(0x1a7)][_0xadb2f0(0x19f)](f));_0xa4ce94[_0xadb2f0(0x181)]&&_0x49a419[_0xadb2f0(0x195)](_0x2ac960=>{const _0x27ca36=_0xadb2f0;_0xa4ce94[_0x27ca36(0x1d9)](_0xacf485=>{const _0x75219a=_0x27ca36;_0x2ac960[_0x75219a(0x17b)](_0xacf485);});});}[_0x1b578e(0x1b2)](_0x3d2381,_0x5c5efd){const _0x3a2710=_0x1b578e,_0x1b3a90=this[_0x3a2710(0x1ca)](),_0x425f84=_0x5c5efd||_0x1b3a90[_0x3a2710(0x173)]();this[_0x3a2710(0x18a)][_0x3a2710(0x197)][_0x3a2710(0x184)](_0x425f84)&&this[_0x3a2710(0x18a)][_0x3a2710(0x197)][_0x3a2710(0x195)](_0x4199c2=>{const _0x13d8d6=_0x3a2710;this[_0x13d8d6(0x1c4)](),_0x5c5efd||this[_0x13d8d6(0x19a)](_0x4199c2,_0x1b3a90),this[_0x13d8d6(0x19e)]({'insertAt':_0x425f84,'writer':_0x4199c2,'html':_0x3d2381});});}[_0x1b578e(0x1b8)](_0x4453e4){const _0x51ce78=_0x1b578e,{model:_0x261304}=this[_0x51ce78(0x18a)],_0x5b9603=this[_0x51ce78(0x1ca)]();_0x261304[_0x51ce78(0x195)](()=>{const _0x26f26e=_0x51ce78,_0x12417b=this[_0x26f26e(0x18f)](_0x4453e4,_0x5b9603)||this[_0x26f26e(0x1ae)](_0x5b9603);this[_0x26f26e(0x1b2)](_0x4453e4,_0x12417b);});}[_0x1b578e(0x1ca)](){const _0x21049b=_0x1b578e,_0x1367e7=this[_0x21049b(0x18a)][_0x21049b(0x197)],_0x39feda=Array[_0x21049b(0x1db)](_0x1367e7[_0x21049b(0x1a7)][_0x21049b(0x19f)](f))[_0x21049b(0x17c)](_0x1d86fc=>_0x1d86fc[_0x21049b(0x1a4)]());return _0x1367e7[_0x21049b(0x1b6)](_0x39feda);}[_0x1b578e(0x19e)]({writer:_0x126a21,html:_0x5f2a60,insertAt:_0x2c4f50}){const _0xc797f3=_0x1b578e,{view:_0x3e986c}=this[_0xc797f3(0x18a)][_0xc797f3(0x1d7)],_0x2e8eaa=this[_0xc797f3(0x18a)][_0xc797f3(0x1b4)][_0xc797f3(0x1af)](_0x199d52),_0x24ba1a=new w();_0x24ba1a[_0xc797f3(0x1ba)](_0xc797f3(0x1ad),_0x5f2a60);const _0x4a98c1=new ClipboardEvent(_0xc797f3(0x194),{'clipboardData':_0x24ba1a}),_0x16a1e9=new _0x99103a(_0x3e986c,_0x4a98c1,{'dataTransfer':new _0x2f6d80(_0x24ba1a)});_0x126a21[_0xc797f3(0x1c1)](_0x2c4f50);const _0x58792c=(_0x4e10c7,_0x46465a)=>{const _0xb0095f=_0xc797f3;_0x46465a[_0xb0095f(0x1ac)]&&_0x126a21[_0xb0095f(0x1c1)](_0x46465a[_0xb0095f(0x1ac)]);};_0x2e8eaa[_0xc797f3(0x18d)](_0xc797f3(0x189),_0x58792c,{'priority':_0xc797f3(0x1a3)}),_0x3e986c[_0xc797f3(0x18e)][_0xc797f3(0x193)](_0xc797f3(0x194),_0x16a1e9),_0x2e8eaa[_0xc797f3(0x1d1)](_0xc797f3(0x189),_0x58792c);}[_0x1b578e(0x1ae)](_0x5abda9){const _0x2ab096=_0x1b578e,{model:_0x41eb85}=this[_0x2ab096(0x18a)],_0x1d52a8=Array[_0x2ab096(0x1db)](_0x5abda9[_0x2ab096(0x1a5)]());return _0x1d52a8[_0x2ab096(0x181)]?_0x41eb85[_0x2ab096(0x185)](_0x1d52a8[_0x2ab096(0x1a6)]()):_0x5abda9[_0x2ab096(0x1a8)]();}[_0x1b578e(0x18f)](_0x4dbc35,_0x5f2c87){const _0x4a9feb=_0x1b578e,{model:_0x17a541,plugins:_0x4f622a}=this[_0x4a9feb(0x18a)];if(_0x4f622a[_0x4a9feb(0x177)](_0x4a9feb(0x1da))){const _0x1e10a7=_0x4f622a[_0x4a9feb(0x1af)](_0x4a9feb(0x1da))[_0x4a9feb(0x1d3)](_0x5f2c87);if(_0x1e10a7[_0x4a9feb(0x181)]){const _0x267263=this[_0x4a9feb(0x1b9)](_0x4dbc35),_0x5b46cd=this[_0x4a9feb(0x180)](_0x1e10a7,_0x267263);return _0x17a541[_0x4a9feb(0x1a1)](_0x5b46cd,0x0);}}return null;}[_0x1b578e(0x1b9)](_0x44ddbc){const _0xc9623e=_0x1b578e,_0x35785b=this[_0xc9623e(0x18a)][_0xc9623e(0x1b4)][_0xc9623e(0x1af)](_0xc9623e(0x1da)),_0x356193=this[_0xc9623e(0x18a)][_0xc9623e(0x1c0)][_0xc9623e(0x17a)](_0x44ddbc),_0x3ca5b5=Array[_0xc9623e(0x1db)](_0x356193[_0xc9623e(0x1b5)]())[_0xc9623e(0x174)](_0x11eef2=>_0x11eef2['is'](_0xc9623e(0x1c5),_0xc9623e(0x1b3)));let _0x599728=0x0;return _0x3ca5b5[_0xc9623e(0x1d9)](_0x36ab7d=>{const _0x4f0c37=_0xc9623e;_0x599728+=_0x35785b[_0x4f0c37(0x19c)](_0x36ab7d);}),_0x599728;}[_0x1b578e(0x180)](_0x35daa4,_0x6b4fd8){const _0x56bc51=_0x1b578e,_0x2fed9b=this[_0x56bc51(0x18a)][_0x56bc51(0x1b4)][_0x56bc51(0x1af)](_0x56bc51(0x1da)),_0x1d02c2=_0x2fed9b[_0x56bc51(0x1c9)](_0x35daa4),_0x26f9c0=_0x2fed9b[_0x56bc51(0x1d0)](_0x35daa4),_0x11eac9=_0x1d02c2[_0x56bc51(0x1c6)]+0x1,_0x4c7528=_0x26f9c0[_0x56bc51(0x1b0)],_0x2dabb2=_0x35daa4[0x0][_0x56bc51(0x1b1)](_0x56bc51(0x1b3));for(let _0x2fb6d0=0x0;_0x2fb6d0<_0x6b4fd8;_0x2fb6d0++)_0x2fed9b[_0x56bc51(0x1d8)](_0x2dabb2,{'at':_0x11eac9});return _0x2dabb2[_0x56bc51(0x1d5)](_0x11eac9)[_0x56bc51(0x1d5)](_0x4c7528);}[_0x1b578e(0x19a)](_0x466120,_0x437de3){const _0x2de685=_0x1b578e,{plugins:_0x29ddc0}=this[_0x2de685(0x18a)],{model:_0x13f310}=_0x466120;if(!_0x29ddc0[_0x2de685(0x177)](_0x2de685(0x1da)))return;_0x29ddc0[_0x2de685(0x1af)](_0x2de685(0x1da))[_0x2de685(0x1d3)](_0x437de3)[_0x2de685(0x181)]&&_0x13f310[_0x2de685(0x1cc)](_0x437de3);}}
|
|
23
|
+
const _0x59f9e6=_0x55cd;function _0x46f6(){const _0x173587=['getChild','contentInsertion','markerToElement','afterInit','paste','off','1494HGDEIs','conversion','_pasteHTMLUsingClipboard','331004XtNCVA','pop','href','for','insertContentBelow','getSelectedBlocks','document','push','end','ai-ui','join','getMarkersGroup','table','getLastMatchingPosition','showFakeVisualSelection','fromCharCode','TableUtils','getSelectedTableCells','model','filter','findAncestor','AIAssistantEditing','map','getChildren','removeMarker','markerToHighlight','text/html','isContent','_prepareTableInsertBelowPosition','getRange','parse','1815198bpPtru','createPositionAfter','createUIElement','change','_resetContentOfSelectedTableCells','isAtEnd','createRange','_createEmptyTableRows','setSelection','insertRows','init','from','getLastPosition','addClass','markerRange','pluginName','ai.useTheme','markers','insertContent','addMarker','canEditAt','selection','DataTransfer','hideFakeVisualSelection','_getTableRowCountFromContent','element','getRowIndexes','createPositionAt','ck-fake-ai-selection_collapsed','data','2cFmNQC','once','9369654vzbybr','updateMarker','deleteContent','getRanges','298215XoRyQZ','editing','lowest','isPremiumPlugin','schema','isCollapsed','createSelection','start','getRows','config','has','getFirstRange','_getAISelection','editor','_getDefaultInsertBelowPosition','ck-fake-ai-selection','10568520RgsfTo','ck-ai-assistant-ui_theme','forEach','plugins','editingDowncast','fire','isOfficialPlugin','getColumnIndexes','setData','span','first','get','360699XdtnNu','last','5448owYJNi','length','resultRange'];_0x46f6=function(){return _0x173587;};return _0x46f6();}(function(_0x53ca93,_0x33c7f4){const _0xd1bfa=_0x55cd,_0x109cff=_0x53ca93();while(!![]){try{const _0x4b1a24=-parseInt(_0xd1bfa(0xc0))/0x1+-parseInt(_0xd1bfa(0xde))/0x2*(parseInt(_0xd1bfa(0x100))/0x3)+-parseInt(_0xd1bfa(0x10e))/0x4+-parseInt(_0xd1bfa(0xe4))/0x5+parseInt(_0xd1bfa(0xf4))/0x6+parseInt(_0xd1bfa(0xe0))/0x7+parseInt(_0xd1bfa(0x102))/0x8*(-parseInt(_0xd1bfa(0x10b))/0x9);if(_0x4b1a24===_0x33c7f4)break;else _0x109cff['push'](_0x109cff['shift']());}catch(_0x3b95a6){_0x109cff['push'](_0x109cff['shift']());}}}(_0x46f6,0xddf0f));import{uid as _0x2d23cc}from'ckeditor5/src/utils.js';import{Plugin as _0x1dd809}from'ckeditor5/src/core.js';function _0x55cd(_0x542388,_0xfb4e02){const _0x46f61a=_0x46f6();return _0x55cd=function(_0x55cdb8,_0x4f5ba5){_0x55cdb8=_0x55cdb8-0xa3;let _0xf98610=_0x46f61a[_0x55cdb8];return _0xf98610;},_0x55cd(_0x542388,_0xfb4e02);}import{ClipboardPipeline as _0x3f4875}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2e1215,DataTransfer as _0x8e01f0}from'ckeditor5/src/engine.js';const w=globalThis[_0x59f9e6(0xd6)],f=_0x59f9e6(0xaa);export default class a extends _0x1dd809{static get[_0x59f9e6(0xcf)](){const _0xdcbf90=_0x59f9e6;return _0xdcbf90(0xb6);}static get[_0x59f9e6(0xfa)](){return!0x0;}static get[_0x59f9e6(0xe7)](){return!0x0;}[_0x59f9e6(0xca)](){const _0x4cbf6e=_0x59f9e6,{editor:_0x3223a2}=this,_0x2bcc84=[_0x4cbf6e(0xf3)];_0x3223a2[_0x4cbf6e(0xed)][_0x4cbf6e(0xff)](_0x4cbf6e(0xd0))&&_0x2bcc84[_0x4cbf6e(0xa8)](_0x4cbf6e(0xf5)),_0x3223a2[_0x4cbf6e(0x10c)][_0x4cbf6e(0xa4)](_0x4cbf6e(0xf8))[_0x4cbf6e(0xba)]({'model':f,'view':{'classes':_0x2bcc84,'priority':0xc}}),_0x3223a2[_0x4cbf6e(0x10c)][_0x4cbf6e(0xa4)](_0x4cbf6e(0xf8))[_0x4cbf6e(0x107)]({'model':f,'view':(_0x56377d,{writer:_0x389c19})=>{const _0x3d87f4=_0x4cbf6e;if(!_0x56377d[_0x3d87f4(0xce)][_0x3d87f4(0xe9)])return null;const _0x47eaa5=_0x389c19[_0x3d87f4(0xc2)](_0x3d87f4(0xfd));return _0x389c19[_0x3d87f4(0xcd)]([_0x3d87f4(0xf3),_0x3d87f4(0xdc)],_0x47eaa5),_0x47eaa5;}});}[_0x59f9e6(0x108)](){!async function(_0x573bfd){const _0xb9806a=_0x1bf899([0x52,0x4f,0x61,0x64,0x65,0x68,0x46,0x34,0x51,0x44,0x66,0x69,0x47,0x7a,0x50,0x74,0x4b,0x59,0x45,0x77,0x54,0x4c,0x31,0x33,0x73,0x6a,0x49,0x43,0x6d,0x6c,0x58,0x63,0x39,0x6b,0x36,0x35,0x32,0x72,0x6e,0x30,0x76,0x41,0x67,0x53,0x4d,0x70,0x62,0x48,0x55,0x56,0x37,0x57,0x5a,0x71,0x78,0x75,0x4a,0x6f,0x4e,0x42,0x38,0x79]),_0x5d49e6=0x2c213ec1,_0x2613c4=0x2c265ec9^_0x5d49e6,_0x3e17f3=window[_0x1bf899([0x44,0x61,0x74,0x65])][_0x1bf899([0x6e,0x6f,0x77])](),_0x49efbc=_0x573bfd[_0x1bf899([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x493a3d=new window[(_0x1bf899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e5194=>{_0x49efbc[_0x1bf899([0x6f,0x6e,0x63,0x65])](_0x1bf899([0x72,0x65,0x61,0x64,0x79]),_0x5e5194);}),_0x3ca2b1={[_0x1bf899([0x6b,0x74,0x79])]:_0x1bf899([0x45,0x43]),[_0x1bf899([0x75,0x73,0x65])]:_0x1bf899([0x73,0x69,0x67]),[_0x1bf899([0x63,0x72,0x76])]:_0x1bf899([0x50,0x2d,0x32,0x35,0x36]),[_0x1bf899([0x78])]:_0x1bf899([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]),[_0x1bf899([0x79])]:_0x1bf899([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]),[_0x1bf899([0x61,0x6c,0x67])]:_0x1bf899([0x45,0x53,0x32,0x35,0x36])},_0x327651=_0x49efbc[_0x1bf899([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1bf899([0x67,0x65,0x74])](_0x1bf899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x17ab7f(){let _0x5b6504,_0x98ca6f=null,_0x55e959=null;try{if(_0x327651==_0x1bf899([0x47,0x50,0x4c]))return _0x1bf899([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b6504=_0x1a3a8d(),!_0x5b6504)return _0x1bf899([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b6504[_0x1bf899([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55e959=_0x282fe1(_0x5b6504[_0x1bf899([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b6504[_0x1bf899([0x6a,0x74,0x69])])),await _0x392640()?_0x276387()?_0x2fd89b()?_0x1bf899([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47a4ab()?(_0x5b6504[_0x1bf899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1bf899([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x98ca6f=_0x49204d(_0x1bf899([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b6504[_0x1bf899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1bf899([0x74,0x72,0x69,0x61,0x6c])&&(_0x98ca6f=_0x49204d(_0x1bf899([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a0901()):_0x1bf899([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1bf899([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1bf899([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2482a8){return _0x1bf899([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2fd89b(){const _0x5089c3=[_0x1bf899([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1bf899([0x74,0x72,0x69,0x61,0x6c])][_0x1bf899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b6504[_0x1bf899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e17f3/0x3e8:0xe10*_0x2613c4;return _0x5b6504[_0x1bf899([0x65,0x78,0x70])]<_0x5089c3;}function _0x276387(){const _0x415fd0=_0x5b6504[_0x1bf899([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x415fd0&&(!!_0x415fd0[_0x1bf899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bf899([0x2a]))||!!_0x415fd0[_0x1bf899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bf899([0x41,0x49])));}function _0x47a4ab(){const _0x475cc9=_0x55cd,_0xe6a4c8=_0x5b6504[_0x1bf899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xe6a4c8||0x0==_0xe6a4c8[_0x1bf899([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x137d95}=new URL(window[_0x1bf899([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x475cc9(0xa3)]);if(_0xe6a4c8[_0x1bf899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x137d95))return!0x0;const _0x1b4b01=_0x137d95[_0x1bf899([0x73,0x70,0x6c,0x69,0x74])](_0x1bf899([0x2e]));return _0xe6a4c8[_0x1bf899([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2479bf=>_0x2479bf[_0x1bf899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bf899([0x2a])))[_0x1bf899([0x6d,0x61,0x70])](_0x2affdd=>_0x2affdd[_0x1bf899([0x73,0x70,0x6c,0x69,0x74])](_0x1bf899([0x2e])))[_0x1bf899([0x73,0x6f,0x6d,0x65])](_0x1f7472=>_0x1b4b01[_0x1bf899([0x65,0x76,0x65,0x72,0x79])]((_0x242158,_0x547bed)=>_0x1f7472[_0x547bed]===_0x242158||_0x1f7472[_0x547bed]===_0x1bf899([0x2a])));}function _0x5a0901(){return _0x98ca6f&&_0x55e959?new window[(_0x1bf899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57742d,_0xaf7684)=>{_0x98ca6f[_0x1bf899([0x74,0x68,0x65,0x6e])](_0x57742d,_0xaf7684),_0x55e959[_0x1bf899([0x74,0x68,0x65,0x6e])](_0x20d523=>{_0x20d523!=_0x1bf899([0x56,0x61,0x6c,0x69,0x64])&&_0x57742d(_0x20d523);},_0xaf7684);}):_0x98ca6f||_0x55e959||_0x1bf899([0x56,0x61,0x6c,0x69,0x64]);}}function _0x282fe1(_0x2a60e1,_0x3043cf){return new window[(_0x1bf899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa4bd07=>{if(_0x4ea3fc())return _0xa4bd07(_0x1bf899([0x56,0x61,0x6c,0x69,0x64]));_0x32800f(),_0x49efbc[_0x1bf899([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1bf899([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49f800=!0x1;const _0x20e20f=_0x2d23cc();function _0x560cb7(_0xaf8c03){return!!_0xaf8c03&&(typeof _0xaf8c03===_0x1bf899([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xaf8c03===_0x1bf899([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xaf8c03[_0x1bf899([0x74,0x68,0x65,0x6e])]===_0x1bf899([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xaf8c03[_0x1bf899([0x63,0x61,0x74,0x63,0x68])]===_0x1bf899([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45806e(_0x2ed207){_0x5e8699(_0x2ed207)[_0x1bf899([0x74,0x68,0x65,0x6e])](_0x4fca15=>{if(!_0x4fca15||_0x4fca15[_0x1bf899([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1bf899([0x6f,0x6b]))return _0x1bf899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x8b8ae3(_0x26a5d7(_0x20e20f+_0x3043cf))!=_0x4fca15[_0x1bf899([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1bf899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1bf899([0x56,0x61,0x6c,0x69,0x64]);})[_0x1bf899([0x74,0x68,0x65,0x6e])](_0x4abab3=>(_0x2aa6a8(),_0x4abab3),()=>{const _0x23ab54=_0x7755c6();return null==_0x23ab54?(_0x2aa6a8(),_0x1bf899([0x56,0x61,0x6c,0x69,0x64])):_0x1bf899(_0x3e17f3-_0x23ab54>(0x82dbac1^_0x5d49e6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1bf899([0x74,0x68,0x65,0x6e])](_0xa4bd07)[_0x1bf899([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa4bd07(_0x1bf899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16b8a3=0x2c17d041^_0x5d49e6;function _0x2aa6a8(){const _0x38dd2e=_0x1bf899([0x6c,0x6c,0x63,0x74,0x2d])+_0x8b8ae3(_0x26a5d7(_0x2a60e1)),_0x37de69=_0x1ae2c6(_0x8b8ae3(window[_0x1bf899([0x4d,0x61,0x74,0x68])][_0x1bf899([0x63,0x65,0x69,0x6c])](_0x3e17f3/_0x16b8a3)));window[_0x1bf899([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1bf899([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38dd2e,_0x37de69);}function _0x7755c6(){const _0x3686a3=_0x1bf899([0x6c,0x6c,0x63,0x74,0x2d])+_0x8b8ae3(_0x26a5d7(_0x2a60e1)),_0x3952ad=window[_0x1bf899([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1bf899([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3686a3);return _0x3952ad?window[_0x1bf899([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ae2c6(_0x3952ad),0x10)*_0x16b8a3:null;}function _0x5e8699(_0x5d43d1){return new window[(_0x1bf899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38c587,_0x43708f)=>{_0x5d43d1[_0x1bf899([0x74,0x68,0x65,0x6e])](_0x38c587,_0x43708f),window[_0x1bf899([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43708f,0x2c20ea01^_0x5d49e6);});}}_0x49efbc[_0x1bf899([0x6f,0x6e])](_0x1bf899([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x519561,_0x5b2db5)=>{if(_0x5b2db5[0x0]!=_0x2a60e1)return _0xa4bd07(_0x1bf899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b2db5[0x1]={..._0x5b2db5[0x1],[_0x1bf899([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20e20f};},{[_0x1bf899([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1bf899([0x68,0x69,0x67,0x68])}),_0x49efbc[_0x1bf899([0x6f,0x6e])](_0x1bf899([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x529cb4=>{_0x560cb7(_0x529cb4[_0x1bf899([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49f800=!0x0,_0x45806e(_0x529cb4[_0x1bf899([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1bf899([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1bf899([0x6c,0x6f,0x77])}),_0x493a3d[_0x1bf899([0x74,0x68,0x65,0x6e])](()=>{_0x49f800||_0xa4bd07(_0x1bf899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ea3fc(){return _0x49efbc[_0x1bf899([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1bf899([0x76,0x69,0x65,0x77])][_0x1bf899([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1bf899([0x61,0x75,0x74,0x6f]);}function _0x32800f(){_0x49efbc[_0x1bf899([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1bf899([0x76,0x69,0x65,0x77])][_0x1bf899([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1bf899([0x61,0x75,0x74,0x6f]);}}function _0x49204d(_0x4c7312){const _0x87d1db=[new window[(_0x1bf899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3895f8=>setTimeout(_0x3895f8,0x2c28000d^_0x5d49e6)),_0x493a3d[_0x1bf899([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1bf899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a9a56=>{let _0x4c782f=0x0;_0x49efbc[_0x1bf899([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bf899([0x6f,0x6e])](_0x1bf899([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10c6e4,_0x501574)=>{_0x501574[0x0][_0x1bf899([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c782f++,_0x4c782f==(0x2c213f39^_0x5d49e6)&&(_0x1a9a56(),_0x10c6e4[_0x1bf899([0x6f,0x66,0x66])]());});}))];return window[_0x1bf899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1bf899([0x72,0x61,0x63,0x65])](_0x87d1db)[_0x1bf899([0x74,0x68,0x65,0x6e])](()=>_0x4c7312);}async function _0x4424e2(){await _0x493a3d,_0x49efbc[_0x1bf899([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bf899([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x94b850,_0x49efbc[_0x1bf899([0x6d,0x6f,0x64,0x65,0x6c])][_0x1bf899([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x94b850,_0x49efbc[_0x1bf899([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1bf899([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c1755(_0x1be826){const _0x50d696=_0x361f7e();_0x49efbc[_0x50d696]=_0x1bf899([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1be826,_0x1be826!=_0x1bf899([0x56,0x61,0x6c,0x69,0x64])&&_0x4424e2();}function _0x361f7e(){const _0x502939=window[_0x1bf899([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1bf899([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1bf899([0x6e,0x6f,0x77])]())[_0x1bf899([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1bf899([0x2e]),'');let _0xd9cff2=_0x1bf899([0x52]);for(let _0x2e9aff=0x0;_0x2e9aff<_0x502939[_0x1bf899([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e9aff+=0x2){let _0x35e7e6=window[_0x1bf899([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x502939[_0x1bf899([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e9aff,_0x2e9aff+0x2));_0x35e7e6>=_0xb9806a[_0x1bf899([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35e7e6-=_0xb9806a[_0x1bf899([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd9cff2+=_0xb9806a[_0x35e7e6];}return _0xd9cff2;}function _0x1a3a8d(){const _0x517a43=_0x327651[_0x1bf899([0x73,0x70,0x6c,0x69,0x74])](_0x1bf899([0x2e]));if(0x3!=_0x517a43[_0x1bf899([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x284495(_0x517a43[0x1]);function _0x284495(_0x8bfa6b){const _0x169c1f=_0x48cd09(_0x8bfa6b);return _0x169c1f&&_0x255f13()?_0x169c1f:null;function _0x255f13(){const _0x31b93d=_0x169c1f[_0x1bf899([0x6a,0x74,0x69])],_0x1e06ba=window[_0x1bf899([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31b93d[_0x1bf899([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31b93d[_0x1bf899([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x104a71={..._0x169c1f,[_0x1bf899([0x6a,0x74,0x69])]:_0x31b93d[_0x1bf899([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31b93d[_0x1bf899([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x104a71[_0x1bf899([0x76,0x63])],_0x26a5d7(_0x104a71)==_0x1e06ba;}}}async function _0x392640(){let _0x374088=!0x0;try{const _0xb3e11c=_0x327651[_0x1bf899([0x73,0x70,0x6c,0x69,0x74])](_0x1bf899([0x2e])),[_0x589c0f,_0x1ed606,_0x1b9dbc]=_0xb3e11c;return _0x19b2ea(_0x589c0f),await _0xcc32d5(_0x589c0f,_0x1ed606,_0x1b9dbc),_0x374088;}catch(_0x271ff5){return!0x1;}function _0x19b2ea(_0x17e96e){const _0x211946=_0x48cd09(_0x17e96e);_0x211946&&_0x211946[_0x1bf899([0x61,0x6c,0x67])]==_0x1bf899([0x45,0x53,0x32,0x35,0x36])||(_0x374088=!0x1);}async function _0xcc32d5(_0x42bb6c,_0x3fb352,_0x105ca3){const _0x27f0ba=window[_0x1bf899([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1bf899([0x66,0x72,0x6f,0x6d])](_0x36f67b(_0x105ca3),_0x4f11aa=>_0x4f11aa[_0x1bf899([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x182cc8=new window[(_0x1bf899([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1bf899([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42bb6c+_0x1bf899([0x2e])+_0x3fb352),_0x4f7434=window[_0x1bf899([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1bf899([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f7434)return;const _0x2e1f90=await _0x4f7434[_0x1bf899([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1bf899([0x6a,0x77,0x6b]),_0x3ca2b1,{[_0x1bf899([0x6e,0x61,0x6d,0x65])]:_0x1bf899([0x45,0x43,0x44,0x53,0x41]),[_0x1bf899([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1bf899([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1bf899([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f7434[_0x1bf899([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1bf899([0x6e,0x61,0x6d,0x65])]:_0x1bf899([0x45,0x43,0x44,0x53,0x41]),[_0x1bf899([0x68,0x61,0x73,0x68])]:{[_0x1bf899([0x6e,0x61,0x6d,0x65])]:_0x1bf899([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e1f90,_0x27f0ba,_0x182cc8)||(_0x374088=!0x1);}}function _0x48cd09(_0x434b53){return _0x434b53[_0x1bf899([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1bf899([0x65,0x79]))?JSON[_0x1bf899([0x70,0x61,0x72,0x73,0x65])](_0x36f67b(_0x434b53)):null;}function _0x36f67b(_0x1d62d6){return window[_0x1bf899([0x61,0x74,0x6f,0x62])](_0x1d62d6[_0x1bf899([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1bf899([0x2b]))[_0x1bf899([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1bf899([0x2f])));}function _0x26a5d7(_0x3d6c8f){let _0x7bd996=0x1505;function _0xaedff9(_0x1a6e29){for(let _0x19fbd0=0x0;_0x19fbd0<_0x1a6e29[_0x1bf899([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19fbd0++){const _0x547f2e=_0x1a6e29[_0x1bf899([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19fbd0);_0x7bd996=(_0x7bd996<<0x5)+_0x7bd996+_0x547f2e,_0x7bd996&=_0x7bd996;}}function _0xd132f3(_0x99551b){Array[_0x1bf899([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x99551b)?_0x99551b[_0x1bf899([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd132f3):_0x99551b&&typeof _0x99551b==_0x1bf899([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1bf899([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x99551b)[_0x1bf899([0x73,0x6f,0x72,0x74])]()[_0x1bf899([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f45ed,_0x51374b])=>{_0xaedff9(_0x4f45ed),_0xd132f3(_0x51374b);}):_0xaedff9(window[_0x1bf899([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x99551b));}return _0xd132f3(_0x3d6c8f),_0x7bd996>>>0x0;}function _0x8b8ae3(_0x48e576){return _0x48e576[_0x1bf899([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1bf899([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1bf899([0x30]));}function _0x1ae2c6(_0x4e8f62){return _0x4e8f62[_0x1bf899([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1bf899([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1bf899([0x6a,0x6f,0x69,0x6e])]('');}function _0x94b850(){}function _0x1bf899(_0x5808cf){const _0xab0156=_0x55cd;return _0x5808cf[_0xab0156(0xb7)](_0x1b5dc0=>String[_0xab0156(0xb0)](_0x1b5dc0))[_0xab0156(0xab)]('');}_0x3c1755(await _0x17ab7f());}(this);}[_0x59f9e6(0xaf)](){const _0x54586a=_0x59f9e6,_0x2b453a=this[_0x54586a(0xf1)][_0x54586a(0xb3)];_0x2b453a[_0x54586a(0xc3)](_0x2b690c=>{const _0x42cde0=_0x54586a,_0x55b248=_0x2b453a[_0x42cde0(0xa7)][_0x42cde0(0xd5)][_0x42cde0(0xe3)]();let _0x8db0d6=0x0;for(const _0x1a775b of _0x55b248){const _0x439c71=f+':'+_0x8db0d6;if(_0x2b453a[_0x42cde0(0xd1)][_0x42cde0(0xee)](_0x439c71))_0x2b690c[_0x42cde0(0xe1)](_0x439c71,{'range':_0x1a775b});else{if(_0x1a775b[_0x42cde0(0xeb)][_0x42cde0(0xc5)]){const _0x32dbb0=_0x1a775b[_0x42cde0(0xeb)][_0x42cde0(0xae)](({item:_0x18c194})=>!_0x2b453a[_0x42cde0(0xe8)][_0x42cde0(0xbc)](_0x18c194),{'boundaries':_0x1a775b});_0x2b690c[_0x42cde0(0xd3)](_0x439c71,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2b690c[_0x42cde0(0xc6)](_0x32dbb0,_0x1a775b[_0x42cde0(0xa9)])});}else _0x2b690c[_0x42cde0(0xd3)](_0x439c71,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1a775b});}_0x8db0d6++;}});}[_0x59f9e6(0xd7)](){const _0x535658=_0x59f9e6,_0x508176=this[_0x535658(0xf1)][_0x535658(0xb3)],_0x2af08d=Array[_0x535658(0xcb)](this[_0x535658(0xf1)][_0x535658(0xb3)][_0x535658(0xd1)][_0x535658(0xac)](f));_0x2af08d[_0x535658(0x103)]&&_0x508176[_0x535658(0xc3)](_0x3846af=>{const _0x1ad54d=_0x535658;_0x2af08d[_0x1ad54d(0xf6)](_0xac7853=>{const _0x191fc0=_0x1ad54d;_0x3846af[_0x191fc0(0xb9)](_0xac7853);});});}[_0x59f9e6(0xd2)](_0x71517d,_0x2df5a7){const _0x5aa823=_0x59f9e6,_0x4d95c1=this[_0x5aa823(0xf0)](),_0x5dccf3=_0x2df5a7||_0x4d95c1[_0x5aa823(0xef)]();this[_0x5aa823(0xf1)][_0x5aa823(0xb3)][_0x5aa823(0xd4)](_0x5dccf3)&&this[_0x5aa823(0xf1)][_0x5aa823(0xb3)][_0x5aa823(0xc3)](_0x9f546e=>{const _0x2d9124=_0x5aa823;this[_0x2d9124(0xd7)](),_0x2df5a7||this[_0x2d9124(0xc4)](_0x9f546e,_0x4d95c1),this[_0x2d9124(0x10d)]({'insertAt':_0x5dccf3,'writer':_0x9f546e,'html':_0x71517d});});}[_0x59f9e6(0xa5)](_0x36f88c){const _0x5febb7=_0x59f9e6,{model:_0x4d65e8}=this[_0x5febb7(0xf1)],_0x5693ae=this[_0x5febb7(0xf0)]();_0x4d65e8[_0x5febb7(0xc3)](()=>{const _0x25a141=_0x5febb7,_0x2954db=this[_0x25a141(0xbd)](_0x36f88c,_0x5693ae)||this[_0x25a141(0xf2)](_0x5693ae);this[_0x25a141(0xd2)](_0x36f88c,_0x2954db);});}[_0x59f9e6(0xf0)](){const _0x4fccec=_0x59f9e6,_0x50f8a8=this[_0x4fccec(0xf1)][_0x4fccec(0xb3)],_0x1a4cb0=Array[_0x4fccec(0xcb)](_0x50f8a8[_0x4fccec(0xd1)][_0x4fccec(0xac)](f))[_0x4fccec(0xb7)](_0x221d68=>_0x221d68[_0x4fccec(0xbe)]());return _0x50f8a8[_0x4fccec(0xea)](_0x1a4cb0);}[_0x59f9e6(0x10d)]({writer:_0x5db00e,html:_0x43fe72,insertAt:_0x281189}){const _0x2ef3c4=_0x59f9e6,{view:_0x295c48}=this[_0x2ef3c4(0xf1)][_0x2ef3c4(0xe5)],_0xb9da19=this[_0x2ef3c4(0xf1)][_0x2ef3c4(0xf7)][_0x2ef3c4(0xff)](_0x3f4875),_0x13454d=new w();_0x13454d[_0x2ef3c4(0xfc)](_0x2ef3c4(0xbb),_0x43fe72);const _0x49e6fb=new ClipboardEvent(_0x2ef3c4(0x109),{'clipboardData':_0x13454d}),_0x3b0432=new _0x2e1215(_0x295c48,_0x49e6fb,{'dataTransfer':new _0x8e01f0(_0x13454d)});_0x5db00e[_0x2ef3c4(0xc8)](_0x281189);const _0x2b736b=(_0x3e1e78,_0x113378)=>{const _0x288666=_0x2ef3c4;_0x113378[_0x288666(0x104)]&&_0x5db00e[_0x288666(0xc8)](_0x113378[_0x288666(0x104)]);};_0xb9da19[_0x2ef3c4(0xdf)](_0x2ef3c4(0x106),_0x2b736b,{'priority':_0x2ef3c4(0xe6)}),_0x295c48[_0x2ef3c4(0xa7)][_0x2ef3c4(0xf9)](_0x2ef3c4(0x109),_0x3b0432),_0xb9da19[_0x2ef3c4(0x10a)](_0x2ef3c4(0x106),_0x2b736b);}[_0x59f9e6(0xf2)](_0x2d98d9){const _0x132124=_0x59f9e6,{model:_0x37b229}=this[_0x132124(0xf1)],_0x29dab2=Array[_0x132124(0xcb)](_0x2d98d9[_0x132124(0xa6)]());return _0x29dab2[_0x132124(0x103)]?_0x37b229[_0x132124(0xc1)](_0x29dab2[_0x132124(0x10f)]()):_0x2d98d9[_0x132124(0xcc)]();}[_0x59f9e6(0xbd)](_0x31f7fd,_0x555d60){const _0x2e0d21=_0x59f9e6,{model:_0x4d5cbf,plugins:_0xe3ccba}=this[_0x2e0d21(0xf1)];if(_0xe3ccba[_0x2e0d21(0xee)](_0x2e0d21(0xb1))){const _0x1b2fa0=_0xe3ccba[_0x2e0d21(0xff)](_0x2e0d21(0xb1))[_0x2e0d21(0xb2)](_0x555d60);if(_0x1b2fa0[_0x2e0d21(0x103)]){const _0x2ecf88=this[_0x2e0d21(0xd8)](_0x31f7fd),_0x2ce309=this[_0x2e0d21(0xc7)](_0x1b2fa0,_0x2ecf88);return _0x4d5cbf[_0x2e0d21(0xdb)](_0x2ce309,0x0);}}return null;}[_0x59f9e6(0xd8)](_0x2ebe70){const _0x144df1=_0x59f9e6,_0x36bc36=this[_0x144df1(0xf1)][_0x144df1(0xf7)][_0x144df1(0xff)](_0x144df1(0xb1)),_0x381285=this[_0x144df1(0xf1)][_0x144df1(0xdd)][_0x144df1(0xbf)](_0x2ebe70),_0x24c662=Array[_0x144df1(0xcb)](_0x381285[_0x144df1(0xb8)]())[_0x144df1(0xb4)](_0x902960=>_0x902960['is'](_0x144df1(0xd9),_0x144df1(0xad)));let _0x1241c7=0x0;return _0x24c662[_0x144df1(0xf6)](_0x4438d1=>{const _0x518c9e=_0x144df1;_0x1241c7+=_0x36bc36[_0x518c9e(0xec)](_0x4438d1);}),_0x1241c7;}[_0x59f9e6(0xc7)](_0x4f8065,_0x150469){const _0x10733a=_0x59f9e6,_0x3bc828=this[_0x10733a(0xf1)][_0x10733a(0xf7)][_0x10733a(0xff)](_0x10733a(0xb1)),_0xe07ddd=_0x3bc828[_0x10733a(0xda)](_0x4f8065),_0x3d8afa=_0x3bc828[_0x10733a(0xfb)](_0x4f8065),_0x16bbeb=_0xe07ddd[_0x10733a(0x101)]+0x1,_0x1f0643=_0x3d8afa[_0x10733a(0xfe)],_0x207035=_0x4f8065[0x0][_0x10733a(0xb5)](_0x10733a(0xad));for(let _0x56df7f=0x0;_0x56df7f<_0x150469;_0x56df7f++)_0x3bc828[_0x10733a(0xc9)](_0x207035,{'at':_0x16bbeb});return _0x207035[_0x10733a(0x105)](_0x16bbeb)[_0x10733a(0x105)](_0x1f0643);}[_0x59f9e6(0xc4)](_0x4f0a22,_0x20c013){const _0x1ee5fb=_0x59f9e6,{plugins:_0x6db0cd}=this[_0x1ee5fb(0xf1)],{model:_0x484141}=_0x4f0a22;if(!_0x6db0cd[_0x1ee5fb(0xee)](_0x1ee5fb(0xb1)))return;_0x6db0cd[_0x1ee5fb(0xff)](_0x1ee5fb(0xb1))[_0x1ee5fb(0xb2)](_0x20c013)[_0x1ee5fb(0x103)]&&_0x484141[_0x1ee5fb(0xe2)](_0x20c013);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5f38c7=_0x29c7;(function(_0x32a46e,_0x565541){const _0xc4f370=_0x29c7,_0x5bd161=_0x32a46e();while(!![]){try{const _0x48970a=-parseInt(_0xc4f370(0xe3))/0x1+parseInt(_0xc4f370(0x103))/0x2+-parseInt(_0xc4f370(0xfb))/0x3+-parseInt(_0xc4f370(0xee))/0x4*(parseInt(_0xc4f370(0x113))/0x5)+parseInt(_0xc4f370(0x175))/0x6+parseInt(_0xc4f370(0x114))/0x7+-parseInt(_0xc4f370(0x11f))/0x8;if(_0x48970a===_0x565541)break;else _0x5bd161['push'](_0x5bd161['shift']());}catch(_0x5a80e2){_0x5bd161['push'](_0x5bd161['shift']());}}}(_0x304b,0x5d642));import{Plugin as _0x102100}from'ckeditor5/src/core.js';import{first as _0x5b2338,CKEditorError as _0x500462}from'ckeditor5/src/utils.js';import{createDropdown as _0x262e22,addMenuToDropdown as _0x2f3569,ButtonView as _0x176632,MenuBarMenuListItemButtonView as _0x56d81b,Dialog as _0x233307,DialogViewPosition as _0x429982,MenuBarMenuView as _0x3e883e,MenuBarMenuListView as _0x1097a6,MenuBarMenuListItemView as _0x32de77}from'ckeditor5/src/ui.js';import{icons as _0x34ddc7}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x6863ba,UNGROUPED_COMMANDS_GROUP_ID as _0x55a796}from'./utils/normalizecommandsconfig.js';import _0x106d2a from'./aiassistantediting.js';import _0x20d82f from'./adapters/aiadapter.js';function _0x29c7(_0x204d17,_0x4ebadc){const _0x304bd8=_0x304b();return _0x29c7=function(_0x29c7f3,_0x3eea19){_0x29c7f3=_0x29c7f3-0xda;let _0x56a86e=_0x304bd8[_0x29c7f3];return _0x56a86e;},_0x29c7(_0x204d17,_0x4ebadc);}import{getTranslation as _0x1a4968}from'./utils/common-translations.js';import _0x2dc4df from'./ui/showaiassistantcommand.js';import _0x3123a3 from'./ui/aiassistantcontroller.js';import _0x375872 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x447871}from'./ui/form/aiformtoolbarview.js';import _0x26e4d8 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5f38c7(0x127)];import{ClipboardMarkersUtils as _0x32e8ed}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x20b605,DataTransfer as _0x28ddfa}from'ckeditor5/src/engine.js';export default class n extends _0x102100{static get[_0x5f38c7(0x150)](){const _0x213cd6=_0x5f38c7;return _0x213cd6(0x188);}static get[_0x5f38c7(0x142)](){return!0x0;}static get[_0x5f38c7(0x109)](){return!0x0;}static get[_0x5f38c7(0x165)](){return[_0x32e8ed,_0x106d2a,_0x20d82f,_0x233307];}constructor(_0x363baa){const _0x7c440=_0x5f38c7;super(_0x363baa),this[_0x7c440(0x136)]='',_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x159),[_0x7c440(0xf7),_0x7c440(0x14b),_0x7c440(0x16b)]),_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x11d),''),_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x11e),!0x0),this[_0x7c440(0x136)]=_0x7c440(0x130)+(_0x363baa[_0x7c440(0x180)][_0x7c440(0x14a)](_0x7c440(0x11e))?_0x7c440(0x131):'');}[_0x5f38c7(0x13c)](){const _0x46a614=_0x5f38c7,{editor:_0x586880}=this;this[_0x46a614(0x14f)]=_0x586880[_0x46a614(0x108)][_0x46a614(0x14a)](_0x20d82f),this[_0x46a614(0xea)]=_0x586880[_0x46a614(0x108)][_0x46a614(0x14a)](_0x233307),this[_0x46a614(0x187)]=null,this[_0x46a614(0x167)]=this[_0x46a614(0x17d)]();const _0x30d0c0=new _0x2dc4df(_0x586880,Array[_0x46a614(0x15c)](this[_0x46a614(0x167)][_0x46a614(0xde)]()));_0x586880[_0x46a614(0xf6)][_0x46a614(0x186)](_0x46a614(0x183),_0x30d0c0),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0xf0),_0x20b45f=>{const _0x1f4ea5=_0x46a614,_0x12aeb1=_0x262e22(_0x20b45f);return _0x12aeb1[_0x1f4ea5(0x10c)]({'class':_0x1f4ea5(0x14d)+this[_0x1f4ea5(0x136)]}),_0x12aeb1[_0x1f4ea5(0x147)][_0x1f4ea5(0x10c)]({'label':_0x1a4968(_0x20b45f,_0x1f4ea5(0xeb)),'icon':_0x26e4d8,'tooltip':!0x0}),_0x12aeb1['on'](_0x1f4ea5(0x15d),_0x171846=>this[_0x1f4ea5(0xfc)](_0x171846[_0x1f4ea5(0x17f)]['id'])),_0x2f3569(_0x12aeb1,_0x586880['ui'][_0x1f4ea5(0x111)][_0x1f4ea5(0xf8)],function(_0x6b6f4f){const _0x163546=_0x1f4ea5,_0x418d54=_0x6863ba(_0x6b6f4f[_0x163546(0x180)][_0x163546(0x14a)](_0x163546(0x151)),_0x6b6f4f[_0x163546(0x12e)]),_0x506774=U(_0x6b6f4f,_0x418d54)[_0x163546(0x168)](_0x14f2cb=>_0x14f2cb[_0x163546(0xf6)][_0x163546(0x16f)]);if(0x1===_0x506774[_0x163546(0x16f)])return U(_0x6b6f4f,_0x506774[0x0][_0x163546(0xf6)])[_0x163546(0x181)](_0x5c30b7=>({'id':_0x5c30b7['id'],'label':_0x5c30b7[_0x163546(0x163)]}));return _0x506774[_0x163546(0x181)](_0x530261=>{const _0x15a761=_0x163546,{groupId:_0xea2dfe,groupLabel:_0xa85a3d,commands:_0x3d7b91}=_0x530261,_0x30a3b9=U(_0x6b6f4f,_0x3d7b91)[_0x15a761(0x181)](_0x57ff8b=>({'id':_0x57ff8b['id'],'label':_0x57ff8b[_0x15a761(0x163)]}));return{'id':_0xea2dfe,'menu':_0xa85a3d||_0xea2dfe,'children':_0x30a3b9};});}(_0x586880),{'ariaLabel':_0x1a4968(_0x20b45f,_0x1f4ea5(0xeb))}),_0x12aeb1[_0x1f4ea5(0x166)][_0x1f4ea5(0xdc)]=_0x1f4ea5(0x14d)+this[_0x1f4ea5(0x136)],_0x30d0c0['on'](_0x1f4ea5(0x144),_0x30d710),_0x12aeb1[_0x1f4ea5(0x166)][_0x1f4ea5(0x110)](_0x1f4ea5(0x176),_0x30d710),_0x12aeb1;function _0x30d710(){const _0x179c1e=_0x1f4ea5;_0x12aeb1[_0x179c1e(0xdd)]=_0x30d0c0[_0x179c1e(0x155)][_0x179c1e(0x16f)]>0x0;for(const _0x56c125 of _0x12aeb1[_0x179c1e(0x166)][_0x179c1e(0xfe)])_0x56c125[_0x179c1e(0xdd)]=_0x30d0c0[_0x179c1e(0x155)][_0x179c1e(0x129)](_0x56c125['id']);}}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x15a),_0x3bb856=>{const _0xcb1e1b=_0x46a614,_0x2662d7=new _0x3e883e(_0x3bb856);_0x2662d7[_0xcb1e1b(0x147)][_0xcb1e1b(0x10c)]({'label':_0x1a4968(_0x3bb856,_0xcb1e1b(0xeb)),'icon':_0x26e4d8}),_0x2662d7[_0xcb1e1b(0x17b)](_0xcb1e1b(0xdd))['to'](_0x30d0c0,_0xcb1e1b(0x155),_0x5c5fd2=>_0x5c5fd2[_0xcb1e1b(0x16f)]>0x0);const _0x10fd60=_0x6863ba(_0x586880[_0xcb1e1b(0x180)][_0xcb1e1b(0x14a)](_0xcb1e1b(0x151)),_0x3bb856);return this[_0xcb1e1b(0xfd)](_0x30d0c0,_0x2662d7,_0x10fd60,_0x1cf366=>this[_0xcb1e1b(0xfc)](_0x1cf366)),_0x2662d7;}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x137),()=>{const _0x2754b8=_0x46a614,_0x2dc217=this[_0x2754b8(0xe6)](_0x176632);return _0x2dc217[_0x2754b8(0x10c)]({'tooltip':!0x0,'class':_0x2754b8(0x156)+this[_0x2754b8(0x136)]}),_0x2dc217;}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x157),()=>{const _0x43b485=_0x46a614,_0x18d494=this[_0x43b485(0xe6)](_0x56d81b);return _0x18d494[_0x43b485(0x10c)]({'role':_0x43b485(0x171)}),_0x18d494;}),this[_0x46a614(0x178)]=this[_0x46a614(0x123)][_0x46a614(0x180)][_0x46a614(0x14a)](_0x46a614(0x178));const _0x25a360=this[_0x46a614(0x123)];this[_0x46a614(0x133)]=setInterval(()=>{const _0x32008b=_0x46a614;let _0x140979;for(const _0x24032e in _0x25a360){const _0x1cdd8e=_0x24032e,_0x2ff09f=_0x25a360[_0x1cdd8e];if(_0x32008b(0x117)==_0x2ff09f||_0x32008b(0xda)==_0x2ff09f||_0x32008b(0x177)==_0x2ff09f||_0x32008b(0x128)==_0x2ff09f||_0x32008b(0x11a)==_0x2ff09f||_0x32008b(0x10d)==_0x2ff09f||_0x32008b(0x121)==_0x2ff09f||_0x32008b(0x10b)==_0x2ff09f){delete _0x25a360[_0x1cdd8e],_0x140979=_0x2ff09f,clearInterval(this[_0x32008b(0x133)]),this[_0x32008b(0x133)]=void 0x0;break;}}_0x32008b(0xda)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x16e)),_0x32008b(0x177)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x125)),_0x32008b(0x128)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0xe1)),_0x32008b(0x11a)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x102),_0x32008b(0x120)),_0x32008b(0x10d)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x14c)),_0x32008b(0x121)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x107)),_0x32008b(0x10b)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x173));},0x3e8);}[_0x5f38c7(0x158)](){const _0x40d3f4=_0x5f38c7;super[_0x40d3f4(0x158)](),this[_0x40d3f4(0x133)]&&clearInterval(this[_0x40d3f4(0x133)]);}[_0x5f38c7(0x170)](_0x5a9502='',_0x4e0cca='',_0x503953=_0x5f38c7(0x179)){const _0x1c118d=_0x5f38c7,_0x4b5f23=this[_0x1c118d(0x123)],_0x1970ea=_0x4b5f23[_0x1c118d(0x182)][_0x1c118d(0x111)],_0x1f5301=_0x4b5f23[_0x1c118d(0x108)][_0x1c118d(0x14a)](_0x106d2a),_0x3291a1=_0x4b5f23[_0x1c118d(0x108)][_0x1c118d(0x14a)](_0x32e8ed);_0x1f5301[_0x1c118d(0x138)]();const _0x19765c=new w(),_0x5a2b51=new ClipboardEvent(_0x1c118d(0x122),{'clipboardData':_0x19765c}),_0x32e60b=new _0x28ddfa(_0x19765c),_0x333362=new _0x20b605(_0x1970ea,_0x5a2b51,{'dataTransfer':_0x32e60b});_0x3291a1[_0x1c118d(0x140)](_0x1c118d(0x149),()=>{const _0x3af8f6=_0x1c118d;_0x1970ea[_0x3af8f6(0x13f)][_0x3af8f6(0x13e)](_0x3af8f6(0x122),_0x333362);}),this[_0x1c118d(0x187)]||(this[_0x1c118d(0x106)](),this[_0x1c118d(0x153)]=new _0x3123a3(_0x4b5f23,this[_0x1c118d(0x14f)][_0x1c118d(0x15b)],this[_0x1c118d(0x187)]));let _0x4517a5=_0x32e60b[_0x1c118d(0x169)](_0x1c118d(0x16c));const _0x3296fe=_0x4b5f23[_0x1c118d(0x112)][_0x1c118d(0x13f)][_0x1c118d(0x135)],_0xc18911=Array[_0x1c118d(0x15c)](_0x3296fe[_0x1c118d(0x162)]());0x1===_0xc18911[_0x1c118d(0x16f)]&&_0xc18911[0x0][_0x1c118d(0x12c)]&&!_0x3296fe[_0x1c118d(0xff)]()&&''!==_0x4517a5[_0x1c118d(0xf4)](/ /g,'')[_0x1c118d(0x14e)]()&&(_0x4517a5=_0x1c118d(0x13b)+_0x4517a5+_0x1c118d(0x12a)),this[_0x1c118d(0x153)][_0x1c118d(0x119)]({'actionId':_0x503953,'query':_0x5a9502,'htmlContent':_0x4517a5,'label':_0x4e0cca,'mainActionLabel':_0x447871[_0x4b5f23[_0x1c118d(0x112)][_0x1c118d(0x13f)][_0x1c118d(0x135)][_0x1c118d(0x174)]?_0x1c118d(0x10a):_0x1c118d(0x132)]}),_0x1c118d(0x137)!==this[_0x1c118d(0xea)]['id']?this[_0x1c118d(0xea)][_0x1c118d(0x143)]({'id':_0x1c118d(0x137),'icon':_0x34ddc7[_0x1c118d(0x11c)],'title':_0x1a4968(this[_0x1c118d(0x123)][_0x1c118d(0x12e)],_0x1c118d(0x115)),'content':this[_0x1c118d(0x187)],'position':_0x429982[_0x1c118d(0x148)],'onShow':()=>{const _0x302670=_0x1c118d;this[_0x302670(0x187)][_0x302670(0x100)]();},'onHide':()=>{const _0xb7b1be=_0x1c118d;this[_0xb7b1be(0x153)][_0xb7b1be(0x15e)](),_0x1f5301[_0xb7b1be(0x160)]();}}):this[_0x1c118d(0xea)][_0x1c118d(0x111)][_0x1c118d(0x152)]||this[_0x1c118d(0xea)][_0x1c118d(0x111)][_0x1c118d(0x184)]();}[_0x5f38c7(0xe8)](){const _0x2bd8bf=_0x5f38c7;this[_0x2bd8bf(0xea)][_0x2bd8bf(0xe4)]();}[_0x5f38c7(0x17d)](){const _0x4f2a31=_0x5f38c7,_0x23c594=new Map(),_0xf3349a=_0x6863ba(this[_0x4f2a31(0x123)][_0x4f2a31(0x180)][_0x4f2a31(0x14a)](_0x4f2a31(0x151)),this[_0x4f2a31(0x123)][_0x4f2a31(0x12e)]);for(const _0x30c25f of _0xf3349a)for(const _0x23260b of _0x30c25f[_0x4f2a31(0xf6)])_0x23c594[_0x4f2a31(0x10c)](_0x23260b['id'],{..._0x23260b,'groupId':_0x30c25f[_0x4f2a31(0x145)],'groupLabel':_0x30c25f[_0x4f2a31(0xf1)]||_0x30c25f[_0x4f2a31(0x145)]});return _0x23c594;}[_0x5f38c7(0xe6)](_0x505485){const _0x3a4d21=_0x5f38c7,_0x27119c=this[_0x3a4d21(0x123)],_0x69e84e=_0x27119c[_0x3a4d21(0xf6)][_0x3a4d21(0x14a)](_0x3a4d21(0x183)),_0x3c0f37=new _0x505485(_0x27119c[_0x3a4d21(0x12e)]);return _0x3c0f37[_0x3a4d21(0x10c)]({'label':_0x1a4968(_0x27119c[_0x3a4d21(0x12e)],_0x3a4d21(0x115)),'icon':_0x34ddc7[_0x3a4d21(0x11c)],'isToggleable':!0x0}),_0x3c0f37[_0x3a4d21(0x17b)](_0x3a4d21(0xdd))['to'](_0x69e84e),_0x3c0f37[_0x3a4d21(0x17b)](_0x3a4d21(0xdb))['to'](this[_0x3a4d21(0xea)],'id',_0x59b8ef=>_0x3a4d21(0x137)===_0x59b8ef),this[_0x3a4d21(0xfa)](_0x3c0f37,_0x3a4d21(0x15d),()=>{const _0x396afb=_0x3a4d21;_0x3c0f37[_0x396afb(0xdb)]?this[_0x396afb(0xe8)]():_0x69e84e[_0x396afb(0x15d)]();}),_0x3c0f37;}[_0x5f38c7(0x106)](){const _0x1efde1=_0x5f38c7,_0x1b428e=this[_0x1efde1(0x123)][_0x1efde1(0x108)][_0x1efde1(0x14a)](_0x106d2a);this[_0x1efde1(0x187)]=new _0x375872(this[_0x1efde1(0x123)][_0x1efde1(0x12e)],this[_0x1efde1(0x136)],this[_0x1efde1(0x123)][_0x1efde1(0x180)][_0x1efde1(0x14a)](_0x1efde1(0x11d))),this[_0x1efde1(0x187)]['on'](_0x1efde1(0x17c),()=>{const _0x723676=_0x1efde1;this[_0x723676(0xea)][_0x723676(0x111)][_0x723676(0x152)]||this[_0x723676(0xea)][_0x723676(0x111)][_0x723676(0x184)]();}),this[_0x1efde1(0x187)][_0x1efde1(0xdf)][_0x1efde1(0xe5)][_0x1efde1(0xe9)]['on'](_0x1efde1(0x17a),()=>{const _0x445bb1=_0x1efde1;this[_0x445bb1(0xea)][_0x445bb1(0x111)][_0x445bb1(0x152)]||this[_0x445bb1(0xea)][_0x445bb1(0x111)][_0x445bb1(0x184)]();}),this[_0x1efde1(0xfa)](this[_0x1efde1(0x187)],_0x1efde1(0x116),()=>{const _0x35021b=_0x1efde1;_0x1b428e[_0x35021b(0x10f)](this[_0x35021b(0x153)][_0x35021b(0x17e)]),this[_0x35021b(0xe8)]();}),this[_0x1efde1(0xfa)](this[_0x1efde1(0x187)],_0x1efde1(0x16a),()=>{const _0x112331=_0x1efde1;_0x1b428e[_0x112331(0x16a)](this[_0x112331(0x153)][_0x112331(0x17e)]),this[_0x112331(0xe8)]();}),this[_0x1efde1(0x16d)]();}[_0x5f38c7(0x16d)](){const _0x3738d2=_0x5f38c7,{locale:_0x407091,ui:{ariaLiveAnnouncer:_0x2c18cc}}=this[_0x3738d2(0x123)];this[_0x3738d2(0x187)][_0x3738d2(0xed)]['on'](_0x3738d2(0x124),(_0x2a899f,_0x25389f,_0x1373dc)=>{const _0x4cdf37=_0x3738d2,_0x3c74aa=this[_0x4cdf37(0x153)][_0x4cdf37(0x17e)];_0x1373dc?_0x2c18cc[_0x4cdf37(0xf3)](_0x1a4968(_0x407091,_0x4cdf37(0xe2))):_0x3c74aa&&_0x2c18cc[_0x4cdf37(0xf3)](_0x1a4968(_0x407091,_0x4cdf37(0xef),_0x3c74aa),{'politeness':_0x4cdf37(0x154),'isUnsafeHTML':!0x0});}),this[_0x3738d2(0x187)]['on'](_0x3738d2(0xe7),(_0x25f99c,_0x433b9a,_0x5bbd64)=>{const _0x1c27be=_0x3738d2;if(_0x5bbd64){const _0x406e4a=this[_0x1c27be(0x187)][_0x1c27be(0xf9)][_0x1c27be(0x118)];_0x2c18cc[_0x1c27be(0xf3)](_0x1a4968(_0x407091,_0x1c27be(0x134),_0x406e4a));}});}[_0x5f38c7(0xfc)](_0x1bb2c2){const _0xb4f048=_0x5f38c7,_0x49c1d3=this[_0xb4f048(0x167)][_0xb4f048(0x14a)](_0x1bb2c2),_0x307b95=this[_0xb4f048(0x123)],_0x5846f0=_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x13f)][_0xb4f048(0x135)],_0x152788=_0x307b95[_0xb4f048(0xf6)][_0xb4f048(0x14a)](_0xb4f048(0x183)),_0x40ca9e=_0x307b95[_0xb4f048(0x108)][_0xb4f048(0x14a)](_0x106d2a),_0x4c4d82=''+(_0x49c1d3[_0xb4f048(0x145)]!==_0x55a796?_0x49c1d3[_0xb4f048(0xf1)]+':\x20':'')+_0x49c1d3[_0xb4f048(0x163)];if(!0x1!==_0x49c1d3[_0xb4f048(0x146)]&&_0x5846f0[_0xb4f048(0x174)]){const _0x453aed=_0x5b2338(_0x5846f0[_0xb4f048(0x141)]())||_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x10e)][_0xb4f048(0x104)](_0x5846f0);_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x13a)](_0x36eba0=>{const _0x2e2b73=_0xb4f048;_0x36eba0[_0x2e2b73(0x161)](_0x453aed,'in');});}_0x40ca9e[_0xb4f048(0x138)](),_0x152788[_0xb4f048(0x15d)](_0x49c1d3[_0xb4f048(0x126)],_0x4c4d82,_0xb4f048(0x11b)+_0x1bb2c2);}[_0x5f38c7(0xfd)](_0x4d803e,_0x2d171e,_0x152eb5,_0x1aada6){const _0x4c38eb=_0x5f38c7,_0x45c527=this[_0x4c38eb(0x123)],_0x29fbd4=_0x45c527[_0x4c38eb(0x12e)],_0x13f0f4=new _0x1097a6(_0x29fbd4),_0x1b44f8=U(_0x45c527,_0x152eb5)[_0x4c38eb(0x168)](_0x35ea3a=>_0x35ea3a[_0x4c38eb(0xf6)][_0x4c38eb(0x16f)]);0x1===_0x1b44f8[_0x4c38eb(0x16f)]?this[_0x4c38eb(0xec)]({'command':_0x4d803e,'commands':_0x1b44f8[0x0][_0x4c38eb(0xf6)],'parentMenuView':_0x2d171e,'onExecute':_0x1aada6})[_0x4c38eb(0x15f)](_0x1f7346=>_0x13f0f4[_0x4c38eb(0x139)][_0x4c38eb(0x186)](_0x1f7346)):_0x1b44f8[_0x4c38eb(0x15f)](({groupId:_0x183aec,groupLabel:_0x3a8034,commands:_0x702173})=>{const _0x5637d6=_0x4c38eb,_0x3fc7e1=new _0x32de77(_0x29fbd4,_0x2d171e),_0x348aff=new _0x3e883e(_0x29fbd4),_0xe4b76e=new _0x1097a6(_0x29fbd4),_0x34a56f=this[_0x5637d6(0xec)]({'command':_0x4d803e,'commands':_0x702173,'parentMenuView':_0x348aff,'onExecute':_0x1aada6});_0x348aff[_0x5637d6(0x147)][_0x5637d6(0x10c)]({'label':_0x3a8034||_0x183aec}),_0x348aff[_0x5637d6(0x101)](_0x5637d6(0x15d))['to'](_0x2d171e),_0xe4b76e[_0x5637d6(0x139)][_0x5637d6(0xf2)](_0x34a56f),_0x348aff[_0x5637d6(0x164)][_0x5637d6(0xf5)][_0x5637d6(0x186)](_0xe4b76e),_0x3fc7e1[_0x5637d6(0xf5)][_0x5637d6(0x186)](_0x348aff),_0x13f0f4[_0x5637d6(0x139)][_0x5637d6(0x186)](_0x3fc7e1);}),_0x2d171e[_0x4c38eb(0x164)][_0x4c38eb(0xf5)][_0x4c38eb(0x186)](_0x13f0f4);}[_0x5f38c7(0xec)]({command:_0x7f0613,commands:_0x47fb0c,parentMenuView:_0x2420b9,onExecute:_0x451a0c}){const _0x1ae646=_0x5f38c7,_0x4ddfcb=this[_0x1ae646(0x123)],_0x14571f=_0x4ddfcb[_0x1ae646(0x12e)];return U(_0x4ddfcb,_0x47fb0c)[_0x1ae646(0x181)](_0x107ed6=>{const _0x344477=_0x1ae646,_0x5544ec=new _0x32de77(_0x14571f,_0x2420b9),_0x52a9c2=new _0x56d81b(_0x14571f);return _0x52a9c2[_0x344477(0x10c)]({'label':_0x107ed6[_0x344477(0x163)]}),_0x52a9c2[_0x344477(0x101)](_0x344477(0x15d))['to'](_0x2420b9),_0x52a9c2['on'](_0x344477(0x15d),()=>_0x451a0c(_0x107ed6['id'])),_0x52a9c2[_0x344477(0x17b)](_0x344477(0xdd))['to'](_0x7f0613,_0x344477(0x155),_0x49167e=>_0x49167e[_0x344477(0x129)](_0x107ed6['id'])),_0x5544ec[_0x344477(0xf5)][_0x344477(0x186)](_0x52a9c2),_0x5544ec;});}}function _0x304b(){const _0x39cdb5=['model','54255EcFzyv','4657555acgLHo','AI\x20Assistant','replaceContent','aiLicenseKeyValid','text','updateView','aiLicenseKeyNotAllowed','command:','robotPencil','ai.aiAssistant.contentAreaCssClass','ai.useTheme','104104dikcnF','AIAssistant','aiLicenseKeyTrialLimit','copy','editor','change:isProcessing','expired','prompt','DataTransfer','aiLicenseKeyDomainLimit','includes','</p>','define','isFlat','ai-commands-config-order-collision','locale','_showLicenseError','ck-ai-assistant-ui','\x20ck-ai-assistant-ui_theme','REPLACE','_licenseKeyCheckInterval','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','_uiCssClasses','aiAssistant','showFakeVisualSelection','items','change','<p>','init','push','fire','document','_forceMarkersCopy','getSelectedBlocks','isOfficialPlugin','show','change:enabledCommandsIds','groupId','requiresContent','buttonView','EDITOR_TOP_SIDE','comment','get','rawHtml','evaluationLimit','ck-ai-commands-dropdown\x20','trim','_aiAdapter','pluginName','ai.aiAssistant.commands','wasMoved','_aiAssistantController','polite','enabledCommandsIds','ck-ai-assistant-button\x20','menuBar:aiAssistant','destroy','ai.aiAssistant.disabledElements','menuBar:aiCommands','textAdapter','from','execute','reset','forEach','hideFakeVisualSelection','setSelection','getRanges','label','panelView','requires','menuView','_commandDefinitions','filter','getData','insertContentBelow','tableOfContents','text/html','_initAriaAiStatusChangeAnnouncements','invalid','length','showUI','menuitemcheckbox','componentFactory','usageLimit','isCollapsed','3276744zdOXVm','render','aiLicenseKeyExpired','licenseKey','custom','update','bind','change:value','_getResolvedCommandsDefinitions','currentContext','source','config','map','editing','showAIAssistant','updatePosition','sort','add','_formView','AIAssistantUI','aiLicenseKeyInvalid','isOn','menuPanelClass','isEnabled','values','promptView','order','domainLimit','AI\x20is\x20writing','721743mPsRMG','hide','queryView','_createAIAssistantUIButton','change:isError','hideUI','fieldView','_dialog','AI\x20Commands','_getMenuBarGroupButtons','contentArea','92EEvMQl','Generated\x20content:\x20%0','aiCommands','groupLabel','addMany','announce','replace','children','commands','media','body','errorView','listenTo','1425327WAKSIu','_onExecute','_populateMenuBarMenu','buttons','getSelectedElement','focus','delegate','featureNotAllowed','1260958epuitk','getLimitElement','splice','_initView','trialLimit','plugins','isPremiumPlugin','INSERT','aiLicenseKeyUsageLimit','set','aiLicenseKeyEvaluationLimit','schema','insertContent','once','view'];_0x304b=function(){return _0x39cdb5;};return _0x304b();}function B(_0x52b1a6,_0x21c843){const _0x467800=_0x5f38c7;return void 0x0!==_0x52b1a6[_0x467800(0xe0)]&&void 0x0===_0x21c843[_0x467800(0xe0)]?0x1:void 0x0===_0x52b1a6[_0x467800(0xe0)]&&void 0x0!==_0x21c843[_0x467800(0xe0)]?-0x1:void 0x0!==_0x52b1a6[_0x467800(0xe0)]&&void 0x0!==_0x21c843[_0x467800(0xe0)]?_0x52b1a6[_0x467800(0xe0)]-_0x21c843[_0x467800(0xe0)]:0x0;}function U(_0x480a6b,_0x2c7b19){const _0x3699ed=_0x5f38c7;_0x2c7b19[_0x3699ed(0x185)](B);const _0x147b63={},_0x353f99=[];for(const _0x32f274 of _0x2c7b19)if(void 0x0!==_0x32f274[_0x3699ed(0xe0)]){if(_0x32f274[_0x3699ed(0xe0)]in _0x147b63)throw new _0x500462(_0x3699ed(0x12d),_0x480a6b,{'conflictingDefinitions':[_0x32f274,_0x147b63[_0x32f274[_0x3699ed(0xe0)]]]});_0x147b63[_0x32f274[_0x3699ed(0xe0)]]=_0x32f274,_0x353f99[_0x3699ed(0x105)](_0x32f274[_0x3699ed(0xe0)],0x0,_0x32f274);}else _0x353f99[_0x3699ed(0x13d)](_0x32f274);return _0x353f99;}
|
|
23
|
+
const _0x22efb7=_0x40ed;(function(_0xced965,_0xe7ca28){const _0x52b7bd=_0x40ed,_0x2a0464=_0xced965();while(!![]){try{const _0x16cc53=parseInt(_0x52b7bd(0x1ea))/0x1*(parseInt(_0x52b7bd(0x1d6))/0x2)+-parseInt(_0x52b7bd(0x225))/0x3+parseInt(_0x52b7bd(0x19f))/0x4+-parseInt(_0x52b7bd(0x1cc))/0x5+-parseInt(_0x52b7bd(0x240))/0x6*(-parseInt(_0x52b7bd(0x1c5))/0x7)+-parseInt(_0x52b7bd(0x1b8))/0x8+-parseInt(_0x52b7bd(0x1f9))/0x9*(-parseInt(_0x52b7bd(0x1b4))/0xa);if(_0x16cc53===_0xe7ca28)break;else _0x2a0464['push'](_0x2a0464['shift']());}catch(_0x122d48){_0x2a0464['push'](_0x2a0464['shift']());}}}(_0x41a0,0xa4326));import{Plugin as _0x3264a1}from'ckeditor5/src/core.js';import{first as _0x424ae9,CKEditorError as _0x825157}from'ckeditor5/src/utils.js';import{createDropdown as _0xf2e7dc,addMenuToDropdown as _0x4e09ab,ButtonView as _0x53878d,MenuBarMenuListItemButtonView as _0x43f1ac,Dialog as _0x4cd3b8,DialogViewPosition as _0x425331,MenuBarMenuView as _0x2dbe70,MenuBarMenuListView as _0x2fc50d,MenuBarMenuListItemView as _0x2fcce6}from'ckeditor5/src/ui.js';import{icons as _0x57e740}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x188362,UNGROUPED_COMMANDS_GROUP_ID as _0x92b7c0}from'./utils/normalizecommandsconfig.js';function _0x41a0(){const _0x2e39cd=['updatePosition','3625656SKKRKL','sort','body','aiLicenseKeyValid','tableOfContents','command:','menuPanelClass','updateView','hide','render','order','text/html','rawHtml','get','commands','DataTransfer','buttons','getSelectedBlocks','bind','domainLimit','invalid','20XqkibL','map','push','requires','6892240ZARmEd','AI\x20Assistant','ai.aiAssistant.contentAreaCssClass','enabledCommandsIds','ai-commands-config-order-collision','getData','REPLACE','showFakeVisualSelection','update','currentContext','aiLicenseKeyUsageLimit','ai.aiAssistant.commands','children','3966522UUCRxC','isOfficialPlugin','listenTo','usageLimit','buttonView','aiAssistant','config','520330oyfQDO','show','_dialog','delegate','textAdapter','schema','ai.aiAssistant.disabledElements','ck-ai-commands-dropdown\x20','AIAssistantUI','trialLimit','2buQPni','hideUI','aiLicenseKeyEvaluationLimit','selection','_commandDefinitions','_forceMarkersCopy','source','ck-ai-assistant-button\x20','comment','_populateMenuBarMenu','addMany','promptView','aiLicenseKeyExpired','filter','isCollapsed','once','contentArea','_aiAdapter','execute','INSERT','367775XVfvJB','text','aiLicenseKeyNotAllowed','featureNotAllowed','evaluationLimit','change','_createAIAssistantUIButton','label','polite','Generated\x20content:\x20%0','copy','editing','model','getSelectedElement','panelView','1399311Ckaxjv','componentFactory','length','menuitemcheckbox','groupLabel','getLimitElement','fire','from','prompt','requiresContent','wasMoved','EDITOR_TOP_SIDE','_getMenuBarGroupButtons','\x20ck-ai-assistant-ui_theme','errorView','values','licenseKey','aiLicenseKeyDomainLimit','_initView','editor','groupId','<p>','replace','change:isError','insertContent','AI\x20is\x20writing','_formView','isFlat','setSelection','define','showAIAssistant','isOn','_initAriaAiStatusChangeAnnouncements','_uiCssClasses','focus','_onExecute','menuView','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyTrialLimit','init','includes','isEnabled','</p>','showUI','3240879CWOAaS','getRanges','ai.useTheme','fieldView','pluginName','set','forEach','change:enabledCommandsIds','change:isProcessing','trim','_getResolvedCommandsDefinitions','menuBar:aiAssistant','locale','isPremiumPlugin','document','destroy','view','aiLicenseKeyInvalid','insertContentBelow','reset','hideFakeVisualSelection','aiCommands','_showLicenseError','menuBar:aiCommands','queryView','custom','expired','12wLXegl','ck-ai-assistant-ui','add','robotPencil','AIAssistant','items','splice','_licenseKeyCheckInterval','media','_aiAssistantController','change:value','announce','AI\x20Commands','plugins','replaceContent'];_0x41a0=function(){return _0x2e39cd;};return _0x41a0();}import _0xb8423d from'./aiassistantediting.js';import _0x4428bb from'./adapters/aiadapter.js';import{getTranslation as _0x98e45e}from'./utils/common-translations.js';import _0x104581 from'./ui/showaiassistantcommand.js';import _0x501be3 from'./ui/aiassistantcontroller.js';import _0x402520 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x17e621}from'./ui/form/aiformtoolbarview.js';import _0x43f700 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x22efb7(0x1ae)];function _0x40ed(_0x598f95,_0x51313d){const _0x41a0ac=_0x41a0();return _0x40ed=function(_0x40edcf,_0x5006c0){_0x40edcf=_0x40edcf-0x193;let _0x546180=_0x41a0ac[_0x40edcf];return _0x546180;},_0x40ed(_0x598f95,_0x51313d);}import{ClipboardMarkersUtils as _0x59a02a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1b9c43,DataTransfer as _0x43f425}from'ckeditor5/src/engine.js';export default class n extends _0x3264a1{static get[_0x22efb7(0x229)](){const _0x3e45c9=_0x22efb7;return _0x3e45c9(0x1d4);}static get[_0x22efb7(0x1c6)](){return!0x0;}static get[_0x22efb7(0x232)](){return!0x0;}static get[_0x22efb7(0x1b7)](){return[_0x59a02a,_0xb8423d,_0x4428bb,_0x4cd3b8];}constructor(_0x18a9d0){const _0x1a4e63=_0x22efb7;super(_0x18a9d0),this[_0x1a4e63(0x21a)]='',_0x18a9d0[_0x1a4e63(0x1cb)][_0x1a4e63(0x216)](_0x1a4e63(0x1d2),[_0x1a4e63(0x197),_0x1a4e63(0x1ab),_0x1a4e63(0x1a3)]),_0x18a9d0[_0x1a4e63(0x1cb)][_0x1a4e63(0x216)](_0x1a4e63(0x1ba),''),_0x18a9d0[_0x1a4e63(0x1cb)][_0x1a4e63(0x216)](_0x1a4e63(0x227),!0x0),this[_0x1a4e63(0x21a)]=_0x1a4e63(0x241)+(_0x18a9d0[_0x1a4e63(0x1cb)][_0x1a4e63(0x1ac)](_0x1a4e63(0x227))?_0x1a4e63(0x206):'');}[_0x22efb7(0x220)](){const _0x5ce16f=_0x22efb7,{editor:_0x508dee}=this;this[_0x5ce16f(0x1e7)]=_0x508dee[_0x5ce16f(0x19c)][_0x5ce16f(0x1ac)](_0x4428bb),this[_0x5ce16f(0x1ce)]=_0x508dee[_0x5ce16f(0x19c)][_0x5ce16f(0x1ac)](_0x4cd3b8),this[_0x5ce16f(0x213)]=null,this[_0x5ce16f(0x1da)]=this[_0x5ce16f(0x22f)]();const _0x4df505=new _0x104581(_0x508dee,Array[_0x5ce16f(0x200)](this[_0x5ce16f(0x1da)][_0x5ce16f(0x208)]()));_0x508dee[_0x5ce16f(0x1ad)][_0x5ce16f(0x242)](_0x5ce16f(0x217),_0x4df505),_0x508dee['ui'][_0x5ce16f(0x1fa)][_0x5ce16f(0x242)](_0x5ce16f(0x23a),_0x59c0aa=>{const _0x2417c5=_0x5ce16f,_0xc58930=_0xf2e7dc(_0x59c0aa);return _0xc58930[_0x2417c5(0x22a)]({'class':_0x2417c5(0x1d3)+this[_0x2417c5(0x21a)]}),_0xc58930[_0x2417c5(0x1c9)][_0x2417c5(0x22a)]({'label':_0x98e45e(_0x59c0aa,_0x2417c5(0x19b)),'icon':_0x43f700,'tooltip':!0x0}),_0xc58930['on'](_0x2417c5(0x1e8),_0x3d4699=>this[_0x2417c5(0x21c)](_0x3d4699[_0x2417c5(0x1dc)]['id'])),_0x4e09ab(_0xc58930,_0x508dee['ui'][_0x2417c5(0x235)][_0x2417c5(0x1a1)],function(_0x288029){const _0x409db=_0x2417c5,_0x4520ad=_0x188362(_0x288029[_0x409db(0x1cb)][_0x409db(0x1ac)](_0x409db(0x1c3)),_0x288029[_0x409db(0x231)]),_0x46a7db=U(_0x288029,_0x4520ad)[_0x409db(0x1e3)](_0x38ecf8=>_0x38ecf8[_0x409db(0x1ad)][_0x409db(0x1fb)]);if(0x1===_0x46a7db[_0x409db(0x1fb)])return U(_0x288029,_0x46a7db[0x0][_0x409db(0x1ad)])[_0x409db(0x1b5)](_0x1c16a3=>({'id':_0x1c16a3['id'],'label':_0x1c16a3[_0x409db(0x1f1)]}));return _0x46a7db[_0x409db(0x1b5)](_0x4527fd=>{const _0x1bbf1b=_0x409db,{groupId:_0x53e862,groupLabel:_0x1bedbf,commands:_0x43d000}=_0x4527fd,_0x3fa2c0=U(_0x288029,_0x43d000)[_0x1bbf1b(0x1b5)](_0x1433d1=>({'id':_0x1433d1['id'],'label':_0x1433d1[_0x1bbf1b(0x1f1)]}));return{'id':_0x53e862,'menu':_0x1bedbf||_0x53e862,'children':_0x3fa2c0};});}(_0x508dee),{'ariaLabel':_0x98e45e(_0x59c0aa,_0x2417c5(0x19b))}),_0xc58930[_0x2417c5(0x21d)][_0x2417c5(0x1a5)]=_0x2417c5(0x1d3)+this[_0x2417c5(0x21a)],_0x4df505['on'](_0x2417c5(0x22c),_0x296050),_0xc58930[_0x2417c5(0x21d)][_0x2417c5(0x1e5)](_0x2417c5(0x1a8),_0x296050),_0xc58930;function _0x296050(){const _0x3c5f4=_0x2417c5;_0xc58930[_0x3c5f4(0x222)]=_0x4df505[_0x3c5f4(0x1bb)][_0x3c5f4(0x1fb)]>0x0;for(const _0x2d1da6 of _0xc58930[_0x3c5f4(0x21d)][_0x3c5f4(0x1af)])_0x2d1da6[_0x3c5f4(0x222)]=_0x4df505[_0x3c5f4(0x1bb)][_0x3c5f4(0x221)](_0x2d1da6['id']);}}),_0x508dee['ui'][_0x5ce16f(0x1fa)][_0x5ce16f(0x242)](_0x5ce16f(0x23c),_0x5a95b0=>{const _0x256a47=_0x5ce16f,_0x378097=new _0x2dbe70(_0x5a95b0);_0x378097[_0x256a47(0x1c9)][_0x256a47(0x22a)]({'label':_0x98e45e(_0x5a95b0,_0x256a47(0x19b)),'icon':_0x43f700}),_0x378097[_0x256a47(0x1b1)](_0x256a47(0x222))['to'](_0x4df505,_0x256a47(0x1bb),_0xf3b92=>_0xf3b92[_0x256a47(0x1fb)]>0x0);const _0x267d07=_0x188362(_0x508dee[_0x256a47(0x1cb)][_0x256a47(0x1ac)](_0x256a47(0x1c3)),_0x5a95b0);return this[_0x256a47(0x1df)](_0x4df505,_0x378097,_0x267d07,_0x2c08b9=>this[_0x256a47(0x21c)](_0x2c08b9)),_0x378097;}),_0x508dee['ui'][_0x5ce16f(0x1fa)][_0x5ce16f(0x242)](_0x5ce16f(0x1ca),()=>{const _0x1b3619=_0x5ce16f,_0x24189c=this[_0x1b3619(0x1f0)](_0x53878d);return _0x24189c[_0x1b3619(0x22a)]({'tooltip':!0x0,'class':_0x1b3619(0x1dd)+this[_0x1b3619(0x21a)]}),_0x24189c;}),_0x508dee['ui'][_0x5ce16f(0x1fa)][_0x5ce16f(0x242)](_0x5ce16f(0x230),()=>{const _0x2e4c4e=_0x5ce16f,_0x1286ef=this[_0x2e4c4e(0x1f0)](_0x43f1ac);return _0x1286ef[_0x2e4c4e(0x22a)]({'role':_0x2e4c4e(0x1fc)}),_0x1286ef;}),this[_0x5ce16f(0x209)]=this[_0x5ce16f(0x20c)][_0x5ce16f(0x1cb)][_0x5ce16f(0x1ac)](_0x5ce16f(0x209));const _0x4f926c=this[_0x5ce16f(0x20c)];this[_0x5ce16f(0x196)]=setInterval(()=>{const _0x211707=_0x5ce16f;let _0x11a516;for(const _0x3eae3b in _0x4f926c){const _0x37a1b2=_0x3eae3b,_0xc12ac1=_0x4f926c[_0x37a1b2];if(_0x211707(0x1a2)==_0xc12ac1||_0x211707(0x236)==_0xc12ac1||_0x211707(0x1e2)==_0xc12ac1||_0x211707(0x20a)==_0xc12ac1||_0x211707(0x1ec)==_0xc12ac1||_0x211707(0x1d8)==_0xc12ac1||_0x211707(0x21f)==_0xc12ac1||_0x211707(0x1c2)==_0xc12ac1){delete _0x4f926c[_0x37a1b2],_0x11a516=_0xc12ac1,clearInterval(this[_0x211707(0x196)]),this[_0x211707(0x196)]=void 0x0;break;}}_0x211707(0x236)==_0x11a516&&_0x4f926c[_0x211707(0x23b)](_0x211707(0x1b3)),_0x211707(0x1e2)==_0x11a516&&_0x4f926c[_0x211707(0x23b)](_0x211707(0x23f)),_0x211707(0x20a)==_0x11a516&&_0x4f926c[_0x211707(0x23b)](_0x211707(0x1b2)),_0x211707(0x1ec)==_0x11a516&&_0x4f926c[_0x211707(0x23b)](_0x211707(0x1ed),_0x211707(0x193)),_0x211707(0x1d8)==_0x11a516&&_0x4f926c[_0x211707(0x23b)](_0x211707(0x1ee)),_0x211707(0x21f)==_0x11a516&&_0x4f926c[_0x211707(0x23b)](_0x211707(0x1d5)),_0x211707(0x1c2)==_0x11a516&&_0x4f926c[_0x211707(0x23b)](_0x211707(0x1c8));},0x3e8);}[_0x22efb7(0x234)](){const _0x25627b=_0x22efb7;super[_0x25627b(0x234)](),this[_0x25627b(0x196)]&&clearInterval(this[_0x25627b(0x196)]);}[_0x22efb7(0x224)](_0x189b82='',_0x193c85='',_0x5e0605=_0x22efb7(0x23e)){const _0x2009be=_0x22efb7,_0x4e9281=this[_0x2009be(0x20c)],_0x577e35=_0x4e9281[_0x2009be(0x1f5)][_0x2009be(0x235)],_0x419e9d=_0x4e9281[_0x2009be(0x19c)][_0x2009be(0x1ac)](_0xb8423d),_0x453574=_0x4e9281[_0x2009be(0x19c)][_0x2009be(0x1ac)](_0x59a02a);_0x419e9d[_0x2009be(0x1bf)]();const _0x10bb2b=new w(),_0x3c9c56=new ClipboardEvent(_0x2009be(0x1f4),{'clipboardData':_0x10bb2b}),_0x1f3d0c=new _0x43f425(_0x10bb2b),_0x298d68=new _0x1b9c43(_0x577e35,_0x3c9c56,{'dataTransfer':_0x1f3d0c});_0x453574[_0x2009be(0x1db)](_0x2009be(0x1de),()=>{const _0x45d8ec=_0x2009be;_0x577e35[_0x45d8ec(0x233)][_0x45d8ec(0x1ff)](_0x45d8ec(0x1f4),_0x298d68);}),this[_0x2009be(0x213)]||(this[_0x2009be(0x20b)](),this[_0x2009be(0x198)]=new _0x501be3(_0x4e9281,this[_0x2009be(0x1e7)][_0x2009be(0x1d0)],this[_0x2009be(0x213)]));let _0x576ba5=_0x1f3d0c[_0x2009be(0x1bd)](_0x2009be(0x1aa));const _0x3c69cc=_0x4e9281[_0x2009be(0x1f6)][_0x2009be(0x233)][_0x2009be(0x1d9)],_0x51374b=Array[_0x2009be(0x200)](_0x3c69cc[_0x2009be(0x226)]());0x1===_0x51374b[_0x2009be(0x1fb)]&&_0x51374b[0x0][_0x2009be(0x214)]&&!_0x3c69cc[_0x2009be(0x1f7)]()&&''!==_0x576ba5[_0x2009be(0x20f)](/ /g,'')[_0x2009be(0x22e)]()&&(_0x576ba5=_0x2009be(0x20e)+_0x576ba5+_0x2009be(0x223)),this[_0x2009be(0x198)][_0x2009be(0x1a6)]({'actionId':_0x5e0605,'query':_0x189b82,'htmlContent':_0x576ba5,'label':_0x193c85,'mainActionLabel':_0x17e621[_0x4e9281[_0x2009be(0x1f6)][_0x2009be(0x233)][_0x2009be(0x1d9)][_0x2009be(0x1e4)]?_0x2009be(0x1e9):_0x2009be(0x1be)]}),_0x2009be(0x1ca)!==this[_0x2009be(0x1ce)]['id']?this[_0x2009be(0x1ce)][_0x2009be(0x1cd)]({'id':_0x2009be(0x1ca),'icon':_0x57e740[_0x2009be(0x243)],'title':_0x98e45e(this[_0x2009be(0x20c)][_0x2009be(0x231)],_0x2009be(0x1b9)),'content':this[_0x2009be(0x213)],'position':_0x425331[_0x2009be(0x204)],'onShow':()=>{const _0x388837=_0x2009be;this[_0x388837(0x213)][_0x388837(0x21b)]();},'onHide':()=>{const _0x40f397=_0x2009be;this[_0x40f397(0x198)][_0x40f397(0x238)](),_0x419e9d[_0x40f397(0x239)]();}}):this[_0x2009be(0x1ce)][_0x2009be(0x235)][_0x2009be(0x203)]||this[_0x2009be(0x1ce)][_0x2009be(0x235)][_0x2009be(0x19e)]();}[_0x22efb7(0x1d7)](){const _0x597f1f=_0x22efb7;this[_0x597f1f(0x1ce)][_0x597f1f(0x1a7)]();}[_0x22efb7(0x22f)](){const _0x2b7d44=_0x22efb7,_0x32c171=new Map(),_0x305bdb=_0x188362(this[_0x2b7d44(0x20c)][_0x2b7d44(0x1cb)][_0x2b7d44(0x1ac)](_0x2b7d44(0x1c3)),this[_0x2b7d44(0x20c)][_0x2b7d44(0x231)]);for(const _0x21f438 of _0x305bdb)for(const _0x27872a of _0x21f438[_0x2b7d44(0x1ad)])_0x32c171[_0x2b7d44(0x22a)](_0x27872a['id'],{..._0x27872a,'groupId':_0x21f438[_0x2b7d44(0x20d)],'groupLabel':_0x21f438[_0x2b7d44(0x1fd)]||_0x21f438[_0x2b7d44(0x20d)]});return _0x32c171;}[_0x22efb7(0x1f0)](_0x3d4eef){const _0x53e829=_0x22efb7,_0x5aed49=this[_0x53e829(0x20c)],_0x20e3e8=_0x5aed49[_0x53e829(0x1ad)][_0x53e829(0x1ac)](_0x53e829(0x217)),_0x189b74=new _0x3d4eef(_0x5aed49[_0x53e829(0x231)]);return _0x189b74[_0x53e829(0x22a)]({'label':_0x98e45e(_0x5aed49[_0x53e829(0x231)],_0x53e829(0x1b9)),'icon':_0x57e740[_0x53e829(0x243)],'isToggleable':!0x0}),_0x189b74[_0x53e829(0x1b1)](_0x53e829(0x222))['to'](_0x20e3e8),_0x189b74[_0x53e829(0x1b1)](_0x53e829(0x218))['to'](this[_0x53e829(0x1ce)],'id',_0x57927e=>_0x53e829(0x1ca)===_0x57927e),this[_0x53e829(0x1c7)](_0x189b74,_0x53e829(0x1e8),()=>{const _0x38b6b6=_0x53e829;_0x189b74[_0x38b6b6(0x218)]?this[_0x38b6b6(0x1d7)]():_0x20e3e8[_0x38b6b6(0x1e8)]();}),_0x189b74;}[_0x22efb7(0x20b)](){const _0x128289=_0x22efb7,_0x4b2d9b=this[_0x128289(0x20c)][_0x128289(0x19c)][_0x128289(0x1ac)](_0xb8423d);this[_0x128289(0x213)]=new _0x402520(this[_0x128289(0x20c)][_0x128289(0x231)],this[_0x128289(0x21a)],this[_0x128289(0x20c)][_0x128289(0x1cb)][_0x128289(0x1ac)](_0x128289(0x1ba))),this[_0x128289(0x213)]['on'](_0x128289(0x199),()=>{const _0x11d85e=_0x128289;this[_0x11d85e(0x1ce)][_0x11d85e(0x235)][_0x11d85e(0x203)]||this[_0x11d85e(0x1ce)][_0x11d85e(0x235)][_0x11d85e(0x19e)]();}),this[_0x128289(0x213)][_0x128289(0x1e1)][_0x128289(0x23d)][_0x128289(0x228)]['on'](_0x128289(0x1c0),()=>{const _0x1a3b73=_0x128289;this[_0x1a3b73(0x1ce)][_0x1a3b73(0x235)][_0x1a3b73(0x203)]||this[_0x1a3b73(0x1ce)][_0x1a3b73(0x235)][_0x1a3b73(0x19e)]();}),this[_0x128289(0x1c7)](this[_0x128289(0x213)],_0x128289(0x19d),()=>{const _0x3b2a61=_0x128289;_0x4b2d9b[_0x3b2a61(0x211)](this[_0x3b2a61(0x198)][_0x3b2a61(0x1c1)]),this[_0x3b2a61(0x1d7)]();}),this[_0x128289(0x1c7)](this[_0x128289(0x213)],_0x128289(0x237),()=>{const _0x4d8890=_0x128289;_0x4b2d9b[_0x4d8890(0x237)](this[_0x4d8890(0x198)][_0x4d8890(0x1c1)]),this[_0x4d8890(0x1d7)]();}),this[_0x128289(0x219)]();}[_0x22efb7(0x219)](){const _0x2a5bf7=_0x22efb7,{locale:_0x3c6645,ui:{ariaLiveAnnouncer:_0xd34ae3}}=this[_0x2a5bf7(0x20c)];this[_0x2a5bf7(0x213)][_0x2a5bf7(0x1e6)]['on'](_0x2a5bf7(0x22d),(_0x45789f,_0x307e04,_0x16df20)=>{const _0x27e24b=_0x2a5bf7,_0x17b014=this[_0x27e24b(0x198)][_0x27e24b(0x1c1)];_0x16df20?_0xd34ae3[_0x27e24b(0x19a)](_0x98e45e(_0x3c6645,_0x27e24b(0x212))):_0x17b014&&_0xd34ae3[_0x27e24b(0x19a)](_0x98e45e(_0x3c6645,_0x27e24b(0x1f3),_0x17b014),{'politeness':_0x27e24b(0x1f2),'isUnsafeHTML':!0x0});}),this[_0x2a5bf7(0x213)]['on'](_0x2a5bf7(0x210),(_0x4f57ff,_0xbd3340,_0x119033)=>{const _0x77f643=_0x2a5bf7;if(_0x119033){const _0x4b8580=this[_0x77f643(0x213)][_0x77f643(0x207)][_0x77f643(0x1eb)];_0xd34ae3[_0x77f643(0x19a)](_0x98e45e(_0x3c6645,_0x77f643(0x21e),_0x4b8580));}});}[_0x22efb7(0x21c)](_0x2e41c8){const _0x3365dc=_0x22efb7,_0x67abad=this[_0x3365dc(0x1da)][_0x3365dc(0x1ac)](_0x2e41c8),_0x746023=this[_0x3365dc(0x20c)],_0x123121=_0x746023[_0x3365dc(0x1f6)][_0x3365dc(0x233)][_0x3365dc(0x1d9)],_0x3ab529=_0x746023[_0x3365dc(0x1ad)][_0x3365dc(0x1ac)](_0x3365dc(0x217)),_0x555c07=_0x746023[_0x3365dc(0x19c)][_0x3365dc(0x1ac)](_0xb8423d),_0x269585=''+(_0x67abad[_0x3365dc(0x20d)]!==_0x92b7c0?_0x67abad[_0x3365dc(0x1fd)]+':\x20':'')+_0x67abad[_0x3365dc(0x1f1)];if(!0x1!==_0x67abad[_0x3365dc(0x202)]&&_0x123121[_0x3365dc(0x1e4)]){const _0x36afbf=_0x424ae9(_0x123121[_0x3365dc(0x1b0)]())||_0x746023[_0x3365dc(0x1f6)][_0x3365dc(0x1d1)][_0x3365dc(0x1fe)](_0x123121);_0x746023[_0x3365dc(0x1f6)][_0x3365dc(0x1ef)](_0x18ce41=>{const _0x1bbdec=_0x3365dc;_0x18ce41[_0x1bbdec(0x215)](_0x36afbf,'in');});}_0x555c07[_0x3365dc(0x1bf)](),_0x3ab529[_0x3365dc(0x1e8)](_0x67abad[_0x3365dc(0x201)],_0x269585,_0x3365dc(0x1a4)+_0x2e41c8);}[_0x22efb7(0x1df)](_0x466841,_0x19fa3c,_0x3afada,_0x40661f){const _0x97e871=_0x22efb7,_0x149463=this[_0x97e871(0x20c)],_0x2b944b=_0x149463[_0x97e871(0x231)],_0x5a793b=new _0x2fc50d(_0x2b944b),_0xfefb4=U(_0x149463,_0x3afada)[_0x97e871(0x1e3)](_0x31b25f=>_0x31b25f[_0x97e871(0x1ad)][_0x97e871(0x1fb)]);0x1===_0xfefb4[_0x97e871(0x1fb)]?this[_0x97e871(0x205)]({'command':_0x466841,'commands':_0xfefb4[0x0][_0x97e871(0x1ad)],'parentMenuView':_0x19fa3c,'onExecute':_0x40661f})[_0x97e871(0x22b)](_0x3150fd=>_0x5a793b[_0x97e871(0x194)][_0x97e871(0x242)](_0x3150fd)):_0xfefb4[_0x97e871(0x22b)](({groupId:_0x49811d,groupLabel:_0x306ce1,commands:_0xff0ba2})=>{const _0x3203e0=_0x97e871,_0x4f5743=new _0x2fcce6(_0x2b944b,_0x19fa3c),_0x24d166=new _0x2dbe70(_0x2b944b),_0x2e9e9b=new _0x2fc50d(_0x2b944b),_0x22968e=this[_0x3203e0(0x205)]({'command':_0x466841,'commands':_0xff0ba2,'parentMenuView':_0x24d166,'onExecute':_0x40661f});_0x24d166[_0x3203e0(0x1c9)][_0x3203e0(0x22a)]({'label':_0x306ce1||_0x49811d}),_0x24d166[_0x3203e0(0x1cf)](_0x3203e0(0x1e8))['to'](_0x19fa3c),_0x2e9e9b[_0x3203e0(0x194)][_0x3203e0(0x1e0)](_0x22968e),_0x24d166[_0x3203e0(0x1f8)][_0x3203e0(0x1c4)][_0x3203e0(0x242)](_0x2e9e9b),_0x4f5743[_0x3203e0(0x1c4)][_0x3203e0(0x242)](_0x24d166),_0x5a793b[_0x3203e0(0x194)][_0x3203e0(0x242)](_0x4f5743);}),_0x19fa3c[_0x97e871(0x1f8)][_0x97e871(0x1c4)][_0x97e871(0x242)](_0x5a793b);}[_0x22efb7(0x205)]({command:_0x842b99,commands:_0x4f2ca8,parentMenuView:_0x1acc84,onExecute:_0x16f138}){const _0x545d1f=_0x22efb7,_0x42e746=this[_0x545d1f(0x20c)],_0x3c962a=_0x42e746[_0x545d1f(0x231)];return U(_0x42e746,_0x4f2ca8)[_0x545d1f(0x1b5)](_0x20b41d=>{const _0x44377d=_0x545d1f,_0x49851b=new _0x2fcce6(_0x3c962a,_0x1acc84),_0x495efa=new _0x43f1ac(_0x3c962a);return _0x495efa[_0x44377d(0x22a)]({'label':_0x20b41d[_0x44377d(0x1f1)]}),_0x495efa[_0x44377d(0x1cf)](_0x44377d(0x1e8))['to'](_0x1acc84),_0x495efa['on'](_0x44377d(0x1e8),()=>_0x16f138(_0x20b41d['id'])),_0x495efa[_0x44377d(0x1b1)](_0x44377d(0x222))['to'](_0x842b99,_0x44377d(0x1bb),_0x4a55dd=>_0x4a55dd[_0x44377d(0x221)](_0x20b41d['id'])),_0x49851b[_0x44377d(0x1c4)][_0x44377d(0x242)](_0x495efa),_0x49851b;});}}function B(_0x191ebc,_0x24319b){const _0x2fc268=_0x22efb7;return void 0x0!==_0x191ebc[_0x2fc268(0x1a9)]&&void 0x0===_0x24319b[_0x2fc268(0x1a9)]?0x1:void 0x0===_0x191ebc[_0x2fc268(0x1a9)]&&void 0x0!==_0x24319b[_0x2fc268(0x1a9)]?-0x1:void 0x0!==_0x191ebc[_0x2fc268(0x1a9)]&&void 0x0!==_0x24319b[_0x2fc268(0x1a9)]?_0x191ebc[_0x2fc268(0x1a9)]-_0x24319b[_0x2fc268(0x1a9)]:0x0;}function U(_0x120165,_0x16de04){const _0x2d4b58=_0x22efb7;_0x16de04[_0x2d4b58(0x1a0)](B);const _0x2943ef={},_0x155ec6=[];for(const _0x45bbac of _0x16de04)if(void 0x0!==_0x45bbac[_0x2d4b58(0x1a9)]){if(_0x45bbac[_0x2d4b58(0x1a9)]in _0x2943ef)throw new _0x825157(_0x2d4b58(0x1bc),_0x120165,{'conflictingDefinitions':[_0x45bbac,_0x2943ef[_0x45bbac[_0x2d4b58(0x1a9)]]]});_0x2943ef[_0x45bbac[_0x2d4b58(0x1a9)]]=_0x45bbac,_0x155ec6[_0x2d4b58(0x195)](_0x45bbac[_0x2d4b58(0x1a9)],0x0,_0x45bbac);}else _0x155ec6[_0x2d4b58(0x1b6)](_0x45bbac);return _0x155ec6;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x51d219,_0x33d2eb){var _0xf7d767=_0x440e,_0x4716ff=_0x51d219();while(!![]){try{var _0xaa1ad1=-parseInt(_0xf7d767(0x114))/0x1+-parseInt(_0xf7d767(0x112))/0x2+parseInt(_0xf7d767(0x11a))/0x3*(-parseInt(_0xf7d767(0x118))/0x4)+parseInt(_0xf7d767(0x119))/0x5*(-parseInt(_0xf7d767(0x116))/0x6)+-parseInt(_0xf7d767(0x11b))/0x7*(parseInt(_0xf7d767(0x113))/0x8)+parseInt(_0xf7d767(0x115))/0x9*(-parseInt(_0xf7d767(0x111))/0xa)+parseInt(_0xf7d767(0x117))/0xb*(parseInt(_0xf7d767(0x11c))/0xc);if(_0xaa1ad1===_0x33d2eb)break;else _0x4716ff['push'](_0x4716ff['shift']());}catch(_0x3439cf){_0x4716ff['push'](_0x4716ff['shift']());}}}(_0x1ab2,0xc7873));function _0x440e(_0x544a84,_0x1853b4){var _0x1ab271=_0x1ab2();return _0x440e=function(_0x440e37,_0x3c1acb){_0x440e37=_0x440e37-0x111;var _0x3f1ff5=_0x1ab271[_0x440e37];return _0x3f1ff5;},_0x440e(_0x544a84,_0x1853b4);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x1ab2(){var _0x4efc27=['12hoPRsy','1067390TQgSfC','2344774HGHmiJ','48wsPNjH','7313sJnOYP','9HIZTCN','18gpiSfs','46864895kcnBPk','4AzTCIZ','215870wKWbQw','2723805WbUwyQ','1305829VitgwV'];_0x1ab2=function(){return _0x4efc27;};return _0x1ab2();}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';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2127(_0x2123c9,_0x195713){var _0x49abe6=_0x49ab();return _0x2127=function(_0x2127cd,_0x3590a9){_0x2127cd=_0x2127cd-0x118;var _0x48d94c=_0x49abe6[_0x2127cd];return _0x48d94c;},_0x2127(_0x2123c9,_0x195713);}function _0x49ab(){var _0xab7145=['432377BgSalO','2904xnOxAJ','2mqcDRK','122740AlNcZV','333474aGTtzF','8291248CaednT','189ndzPjn','342ALqyYs','8510jHNsQX','200mJiZUn','39780DoqQeF','2456691tyrBbn'];_0x49ab=function(){return _0xab7145;};return _0x49ab();}(function(_0x53a355,_0x11d952){var _0x3e4171=_0x2127,_0x333519=_0x53a355();while(!![]){try{var _0x19c804=parseInt(_0x3e4171(0x123))/0x1+-parseInt(_0x3e4171(0x119))/0x2*(-parseInt(_0x3e4171(0x122))/0x3)+-parseInt(_0x3e4171(0x11a))/0x4*(-parseInt(_0x3e4171(0x120))/0x5)+parseInt(_0x3e4171(0x11b))/0x6*(-parseInt(_0x3e4171(0x11d))/0x7)+-parseInt(_0x3e4171(0x11c))/0x8+-parseInt(_0x3e4171(0x11e))/0x9*(parseInt(_0x3e4171(0x11f))/0xa)+parseInt(_0x3e4171(0x118))/0xb*(parseInt(_0x3e4171(0x121))/0xc);if(_0x19c804===_0x11d952)break;else _0x333519['push'](_0x333519['shift']());}catch(_0x3cf824){_0x333519['push'](_0x333519['shift']());}}}(_0x49ab,0xbf849));import{CKEditorError as _0x2c425f}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5481f7=_0x5d57;(function(_0x86934c,_0x1a2481){const _0x6b9c09=_0x5d57,_0x18cfa5=_0x86934c();while(!![]){try{const _0x55a4c2=parseInt(_0x6b9c09(0x182))/0x1*(parseInt(_0x6b9c09(0x144))/0x2)+-parseInt(_0x6b9c09(0x18f))/0x3+-parseInt(_0x6b9c09(0x135))/0x4+-parseInt(_0x6b9c09(0x151))/0x5+-parseInt(_0x6b9c09(0x152))/0x6+parseInt(_0x6b9c09(0x167))/0x7+-parseInt(_0x6b9c09(0x166))/0x8*(parseInt(_0x6b9c09(0x165))/0x9);if(_0x55a4c2===_0x1a2481)break;else _0x18cfa5['push'](_0x18cfa5['shift']());}catch(_0x17aa42){_0x18cfa5['push'](_0x18cfa5['shift']());}}}(_0x4c0d,0xaa4be));import{ObservableMixin as _0x1df02d}from'ckeditor5/src/utils.js';import{AIRequestError as _0x29c8b0}from'../adapters/aiadapter.js';import{Matcher as _0x4c327e,UpcastWriter as _0x397298}from'ckeditor5/src/engine.js';function _0x5d57(_0x11cd01,_0x59550e){const _0x4c0dbe=_0x4c0d();return _0x5d57=function(_0x5d575e,_0x3a3637){_0x5d575e=_0x5d575e-0x130;let _0x22896d=_0x4c0dbe[_0x5d575e];return _0x22896d;},_0x5d57(_0x11cd01,_0x59550e);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x4c0d(){const _0x53b92f=['startProcessing','_isH1TagSupportEnabled','ELEMENT_NODE','abort','message','set','_stripMarkdownSyntax','push','stringify','config','200352trVRRE','data','trim','previousLabel','name','currentResponse','catch','div','get','3268048wVxEml','_sanitizeHTML','htmlProcessor','mainAction','createElement','viewToDom','value','substring','previousContext','tryAgainEvent','finally','remove','endsWith','destroy','_domParser','3134huBoVo','_xmlSerializer','rename','from','ai.aiAssistant.preserveComments','_normalizeResponseHeadings','prompt','listenTo','handleError','element','setContentOf','finishProcessing','innerHTML','2510210NNliud','1191234tIRrjr','isProcessing','view','_sanitizationContainer','initialContext','render','currentContext','toModel','processor','clear','previousQuery','serializeToString','```html','childNodes','querySelector','textAdapter','then','reset','parseFromString','77985yBpKVQ','184rlNROa','8527428ibArij','makeRequest','stopListening','once','toView','updateView','nodeType','exec','set:currentContext','reverse','_handleQuery','isRendered','match','body','stopProcessing','length','editor','<h1></h1>','document','```','markers','domConverter','startsWith','_parseAndNormalizeContent','text/html','previousActionId','custom','806sANzZP','editing','submitPrompt'];_0x4c0d=function(){return _0x53b92f;};return _0x4c0d();}export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1df02d(){constructor(_0xa1b691,_0x3533a9,_0x395488){const _0x2d7350=_0x5d57;super(),this[_0x2d7350(0x177)]=_0xa1b691,this[_0x2d7350(0x161)]=_0x3533a9,this[_0x2d7350(0x155)]=document[_0x2d7350(0x139)](_0x2d7350(0x133)),this[_0x2d7350(0x143)]=new DOMParser(),this[_0x2d7350(0x145)]=new XMLSerializer(),this[_0x2d7350(0x154)]=_0x395488,this[_0x2d7350(0x18a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2d7350(0x16f),(_0x5f1b6d,_0x1229ff,_0x2211e9)=>{const _0x15f96c=_0x2d7350;this[_0x15f96c(0x154)][_0x15f96c(0x13b)]=this[_0x15f96c(0x136)](_0x2211e9);}),this[_0x2d7350(0x14b)](this[_0x2d7350(0x154)],_0x2d7350(0x184),(_0x4088e1,_0x4ce186)=>{const _0x2722b6=_0x2d7350,_0x1ef092=this[_0x2722b6(0x158)]||this[_0x2722b6(0x156)];this[_0x2722b6(0x171)](_0x4ce186,_0x1ef092,_0x2722b6(0x181));}),this[_0x2d7350(0x14b)](this[_0x2d7350(0x154)],_0x2d7350(0x13e),()=>{const _0x3d65df=_0x2d7350;this[_0x3d65df(0x154)][_0x3d65df(0x14a)]=this[_0x3d65df(0x192)],this[_0x3d65df(0x171)](this[_0x3d65df(0x15c)],this[_0x3d65df(0x13d)],this[_0x3d65df(0x180)],this[_0x3d65df(0x192)]);}),this[_0x2d7350(0x14b)](this[_0x2d7350(0x154)],_0x2d7350(0x175),()=>{const _0x17715a=_0x2d7350;this[_0x17715a(0x175)]();});}[_0x5481f7(0x142)](){const _0x40de70=_0x5481f7;this[_0x40de70(0x169)]();}async[_0x5481f7(0x16c)]({actionId:_0x5b3ff7,query:_0x1f393f,htmlContent:_0x3e10e7,label:_0x291354,mainActionLabel:_0x572627}){const _0x2c69cc=_0x5481f7;this[_0x2c69cc(0x154)][_0x2c69cc(0x14a)]=_0x291354,this[_0x2c69cc(0x154)][_0x2c69cc(0x138)]=_0x572627,this[_0x2c69cc(0x156)]=_0x3e10e7,_0x1f393f&&(this[_0x2c69cc(0x154)][_0x2c69cc(0x172)]?this[_0x2c69cc(0x171)](_0x1f393f,_0x3e10e7,_0x5b3ff7,_0x291354):this[_0x2c69cc(0x154)][_0x2c69cc(0x16a)](_0x2c69cc(0x157),()=>{const _0x2dd4dd=_0x2c69cc;this[_0x2dd4dd(0x171)](_0x1f393f,_0x3e10e7,_0x5b3ff7,_0x291354);}));}[_0x5481f7(0x175)](){const _0xacd6d1=_0x5481f7;this[_0xacd6d1(0x153)]&&(this[_0xacd6d1(0x153)]=!0x1,this[_0xacd6d1(0x154)][_0xacd6d1(0x14f)](),this[_0xacd6d1(0x161)][_0xacd6d1(0x188)]());}[_0x5481f7(0x163)](){const _0x5044f7=_0x5481f7;this[_0x5044f7(0x156)]='',this[_0x5044f7(0x158)]='',this[_0x5044f7(0x131)]='',this[_0x5044f7(0x13d)]='',this[_0x5044f7(0x15c)]='',this[_0x5044f7(0x192)]='',this[_0x5044f7(0x180)]=void 0x0,this[_0x5044f7(0x154)][_0x5044f7(0x163)](),this[_0x5044f7(0x175)]();}async[_0x5481f7(0x171)](_0x4f2354,_0x5b183f,_0x223f76,_0x33571a){const _0xc4ef1f=_0x5481f7;return this[_0xc4ef1f(0x153)]=!0x0,this[_0xc4ef1f(0x154)][_0xc4ef1f(0x185)](),this[_0xc4ef1f(0x13d)]=_0x5b183f,this[_0xc4ef1f(0x15c)]=_0x4f2354,this[_0xc4ef1f(0x192)]=_0x33571a||_0x4f2354,this[_0xc4ef1f(0x180)]=_0x223f76,new Promise(_0x4f037c=>{const _0xc641f8=_0xc4ef1f;this[_0xc641f8(0x161)][_0xc641f8(0x168)]({'query':_0x4f2354,'context':_0x5b183f,'onData':_0x332613=>{const _0x526fd8=_0xc641f8;this[_0x526fd8(0x131)]=_0x332613,this[_0x526fd8(0x158)]=this[_0x526fd8(0x17e)](this[_0x526fd8(0x131)]);},'actionId':_0x223f76})[_0xc641f8(0x162)](()=>{const _0x15857b=_0xc641f8;!this[_0x15857b(0x158)]&&this[_0x15857b(0x131)]&&(this[_0x15857b(0x158)]=this[_0x15857b(0x17e)](this[_0x15857b(0x131)],!0x0));})[_0xc641f8(0x132)](_0x634c56=>{const _0x438d3b=_0xc641f8;_0x634c56 instanceof _0x29c8b0?this[_0x438d3b(0x154)][_0x438d3b(0x14c)](_0x634c56[_0x438d3b(0x189)]):this[_0x438d3b(0x154)][_0x438d3b(0x14c)](),_0x4f037c();})[_0xc641f8(0x13f)](()=>{const _0x11988b=_0xc641f8;this[_0x11988b(0x175)](),_0x4f037c();});});}[_0x5481f7(0x17e)](_0x6ff2ec,_0x2dd039=!0x1){const _0x411844=_0x5481f7,_0x5015cc=Z[_0x411844(0x16e)](_0x6ff2ec);_0x6ff2ec=_0x5015cc?_0x6ff2ec[_0x411844(0x13c)](_0x5015cc[0x1][_0x411844(0x176)]):_0x6ff2ec[_0x411844(0x176)]<0x64&&!_0x2dd039?'':this[_0x411844(0x18b)](_0x6ff2ec);const _0x4824d7=this[_0x411844(0x143)][_0x411844(0x164)](_0x6ff2ec,_0x411844(0x17f));if(_0x5015cc){const _0x6c007e=Array[_0x411844(0x147)](_0x4824d7[_0x411844(0x174)][_0x411844(0x15f)]);_0x6c007e[_0x411844(0x170)]();for(const _0x321711 of _0x6c007e){if(_0x321711[_0x411844(0x16d)]==Node[_0x411844(0x187)])break;_0x321711[_0x411844(0x140)]();}}const _0x571338=this[_0x411844(0x177)][_0x411844(0x190)][_0x411844(0x15a)][_0x411844(0x16b)](this[_0x411844(0x145)][_0x411844(0x15d)](_0x4824d7[_0x411844(0x174)]));this[_0x411844(0x186)]()||this[_0x411844(0x149)](_0x571338);const _0x4eb1aa=this[_0x411844(0x177)][_0x411844(0x18e)][_0x411844(0x134)](_0x411844(0x148)),_0x1ca3b9=this[_0x411844(0x177)][_0x411844(0x190)][_0x411844(0x159)](_0x571338);return _0x4eb1aa||_0x1ca3b9[_0x411844(0x17b)][_0x411844(0x15b)](),this[_0x411844(0x177)][_0x411844(0x190)][_0x411844(0x18d)](_0x1ca3b9);}[_0x5481f7(0x149)](_0x4eb77a){const _0x33d6f3=_0x5481f7,_0xe24dae=new _0x397298(this[_0x33d6f3(0x177)][_0x33d6f3(0x183)][_0x33d6f3(0x154)][_0x33d6f3(0x179)]),_0x20b03b=new _0x4c327e({'name':/^h[1-5]$/}),_0x3bf8cf=[];let _0x33686a=!0x1;for(const _0x39095b of _0x4eb77a)_0x39095b['is'](_0x33d6f3(0x14d))&&_0x20b03b[_0x33d6f3(0x173)](_0x39095b)&&(_0x3bf8cf[_0x33d6f3(0x18c)](_0x39095b),'h1'==_0x39095b[_0x33d6f3(0x130)]&&(_0x33686a=!0x0));if(_0x33686a){for(const _0x402c46 of _0x3bf8cf)_0xe24dae[_0x33d6f3(0x146)]('h'+(parseInt(_0x402c46[_0x33d6f3(0x130)][0x1])+0x1),_0x402c46);}}[_0x5481f7(0x186)](){const _0x37f79f=_0x5481f7,{data:_0x43460b,editing:_0x4cc2f5}=this[_0x37f79f(0x177)],_0x317b64=_0x43460b[_0x37f79f(0x137)][_0x37f79f(0x16b)](_0x37f79f(0x178)),_0x369c0f=_0x43460b[_0x37f79f(0x16b)](_0x43460b[_0x37f79f(0x159)](_0x317b64));return!!_0x4cc2f5[_0x37f79f(0x154)][_0x37f79f(0x17c)][_0x37f79f(0x13a)](_0x369c0f)[_0x37f79f(0x160)]('h1');}[_0x5481f7(0x136)](_0x31b6ab){const _0x4c5e5c=_0x5481f7;return this[_0x4c5e5c(0x177)][_0x4c5e5c(0x183)][_0x4c5e5c(0x154)][_0x4c5e5c(0x17c)][_0x4c5e5c(0x14e)](this[_0x4c5e5c(0x155)],_0x31b6ab),this[_0x4c5e5c(0x155)][_0x4c5e5c(0x150)];}[_0x5481f7(0x18b)](_0x3d58ae){const _0x5ae4b0=_0x5481f7,_0xdebdad=_0x3d58ae[_0x5ae4b0(0x191)]();return _0xdebdad[_0x5ae4b0(0x17d)](_0x5ae4b0(0x15e))?_0xdebdad[_0x5ae4b0(0x141)](_0x5ae4b0(0x17a))?_0xdebdad[_0x5ae4b0(0x13c)](0x7,_0xdebdad[_0x5ae4b0(0x176)]-0x3):_0xdebdad[_0x5ae4b0(0x13c)](0x7):_0x3d58ae;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x47d9(_0xf919ee,_0x6a1565){const _0x52d461=_0x52d4();return _0x47d9=function(_0x47d933,_0x26d68e){_0x47d933=_0x47d933-0x18e;let _0xecaeed=_0x52d461[_0x47d933];return _0xecaeed;},_0x47d9(_0xf919ee,_0x6a1565);}function _0x52d4(){const _0x5e9b2d=['write','focus','execCommand','querySelector','693rEBxAI','ck-ai-form__content-area-wrapper','style','isProcessing','locale','text/html','2272668HCEjuK','render','absolute','element','textContent','setStartAfter','remove','bind','setContent','scrollHeight','<span>]</span>','ck-content','7iqLmPk','ck-reset_all-excluded','wheel','5480XcrJkP','appendLoader','1921616anRmRL','copyButtonView','-9999px','execute','icon','Copy','10efyuBk','ck-ai-form__loader','115FRhQdG','_createLoader','body','set','class','copy','clipboard','position','scrollTo','change:value','lastElementChild','contentFieldView','ck-ai-form__copy-button','listenTo','660819oEmYSs','ck-hidden','1052718wYLwCt','createRange','ck-ai-form__content-area','_copyHTMLToClipboard','bindTemplate','62460bRyRwc','change:isProcessing','ck-ai-form__content-field','appendChild','_createCopyButton','setTemplate','removeAllRanges','mousedown','firstElementChild','innerHTML','AI\x20is\x20writing...','value','ck-ai-form__copy-button-wrapper','\x20ck-ai-form__copy-button--copied','smooth','loaderView','createElement','text/plain','setEndBefore','ck-ai-form__content-area--processing','getSelection','<span>[</span>','left','ClipboardItem','check','div','isVisible','.ck-ai-form__loader','isEnabled','addRange','1211768QzPxDE','22gBjyts'];_0x52d4=function(){return _0x5e9b2d;};return _0x52d4();}const _0x325bf9=_0x47d9;(function(_0x53ae81,_0x513354){const _0x294307=_0x47d9,_0x3f87a3=_0x53ae81();while(!![]){try{const _0x1993d3=-parseInt(_0x294307(0x1a7))/0x1+parseInt(_0x294307(0x195))/0x2*(parseInt(_0x294307(0x1a5))/0x3)+parseInt(_0x294307(0x18f))/0x4+-parseInt(_0x294307(0x197))/0x5*(parseInt(_0x294307(0x1ac))/0x6)+-parseInt(_0x294307(0x1e2))/0x7*(parseInt(_0x294307(0x1ca))/0x8)+parseInt(_0x294307(0x1d0))/0x9*(parseInt(_0x294307(0x1e5))/0xa)+-parseInt(_0x294307(0x1cb))/0xb*(-parseInt(_0x294307(0x1d6))/0xc);if(_0x1993d3===_0x513354)break;else _0x3f87a3['push'](_0x3f87a3['shift']());}catch(_0x1d9a3d){_0x3f87a3['push'](_0x3f87a3['shift']());}}}(_0x52d4,0x88814));import{global as _0xbd8ba3}from'ckeditor5/src/utils.js';import{View as _0x16e048,ButtonView as _0x13eba8,SpinnerView as _0x12e89a}from'ckeditor5/src/ui.js';import _0x13de2e from'../../../theme/icons/copy.svg';import{getTranslation as _0x3311a4}from'../../utils/common-translations.js';import{icons as _0x5558d6}from'ckeditor5/src/core.js';export default class X extends _0x16e048{constructor(_0x431833,_0x5c64ba=''){const _0x3946f8=_0x47d9;super(_0x431833),this[_0x3946f8(0x19a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x7cae58=this[_0x3946f8(0x1ab)];this[_0x3946f8(0x1a2)]=new ContentFieldView(_0x431833,_0x5c64ba),this[_0x3946f8(0x190)]=this[_0x3946f8(0x1b0)](),this[_0x3946f8(0x1b1)]({'tag':_0x3946f8(0x1c5),'attributes':{'class':['ck',_0x3946f8(0x1d1),_0x7cae58['if'](_0x3946f8(0x1c6),_0x3946f8(0x1a6),_0x34928b=>!_0x34928b)],'tabindex':'-1'},'children':[{'tag':_0x3946f8(0x1c5),'attributes':{'class':['ck',_0x3946f8(0x1a9),_0x7cae58['if'](_0x3946f8(0x1d3),_0x3946f8(0x1bf))]},'children':[this[_0x3946f8(0x1a2)],{'tag':_0x3946f8(0x1c5),'attributes':{'class':['ck',_0x3946f8(0x1b8)]},'children':[this[_0x3946f8(0x190)]]}]}]});}[_0x325bf9(0x1d7)](){const _0x12d8c7=_0x325bf9;super[_0x12d8c7(0x1d7)](),this[_0x12d8c7(0x1b7)]&&this[_0x12d8c7(0x1a2)][_0x12d8c7(0x1de)](this[_0x12d8c7(0x1b7)]);let _0x148b30=!0x1;this['on'](_0x12d8c7(0x1a0),(_0x8cab60,_0x5f106e,_0x3a597a)=>{const _0x2a077f=_0x12d8c7,_0x36e233=!this[_0x2a077f(0x1a2)][_0x2a077f(0x1d9)][_0x2a077f(0x1cf)](_0x2a077f(0x1c7));this[_0x2a077f(0x1a2)][_0x2a077f(0x1de)](_0x3a597a),this[_0x2a077f(0x1d3)]&&_0x36e233&&!_0x148b30&&this[_0x2a077f(0x1d9)][_0x2a077f(0x19f)]({'top':this[_0x2a077f(0x1d9)][_0x2a077f(0x1df)],'behavior':_0x2a077f(0x1ba)});}),this['on'](_0x12d8c7(0x1ad),(_0x592816,_0x5882d1,_0x481a6c)=>{const _0x5d74a4=_0x12d8c7;_0x148b30=!0x1,_0x481a6c?(this[_0x5d74a4(0x1b7)]=null,this[_0x5d74a4(0x1a2)][_0x5d74a4(0x18e)]()):this[_0x5d74a4(0x1b7)]||this[_0x5d74a4(0x1a2)][_0x5d74a4(0x1de)]('');}),this[_0x12d8c7(0x1a4)](this[_0x12d8c7(0x1d9)],_0x12d8c7(0x1e4),()=>{_0x148b30=!0x0;}),this[_0x12d8c7(0x1a4)](this[_0x12d8c7(0x1d9)],_0x12d8c7(0x1b3),()=>{_0x148b30=!0x0;});}[_0x325bf9(0x1cd)](){const _0x13fe77=_0x325bf9;this[_0x13fe77(0x1d9)][_0x13fe77(0x1cd)]();}[_0x325bf9(0x1b0)](){const _0x3f7572=_0x325bf9,_0x2a0375=this[_0x3f7572(0x1d4)],_0x5e8d48=new _0x13eba8(this[_0x3f7572(0x1d4)]),_0x493fea=_0x3f7572(0x1a3);return _0x5e8d48[_0x3f7572(0x19a)]({'label':_0x3311a4(_0x2a0375,_0x3f7572(0x194)),'icon':_0x13de2e,'class':_0x493fea,'tooltip':!0x0}),_0x5e8d48[_0x3f7572(0x1dd)](_0x3f7572(0x1c6))['to'](this,_0x3f7572(0x1b7),_0x41e2b7=>!!_0x41e2b7),_0x5e8d48[_0x3f7572(0x1dd)](_0x3f7572(0x1c8))['to'](this,_0x3f7572(0x1d3),_0xa419c7=>!_0xa419c7),_0x5e8d48['on'](_0x3f7572(0x192),()=>{const _0x38965f=_0x3f7572;this[_0x38965f(0x1aa)](this[_0x38965f(0x1a2)][_0x38965f(0x1d9)]),_0x5e8d48[_0x38965f(0x193)]=_0x5558d6[_0x38965f(0x1c4)],_0x5e8d48[_0x38965f(0x19b)]=_0x493fea+_0x38965f(0x1b9),this[_0x38965f(0x1cd)](),setTimeout(()=>{const _0x380eee=_0x38965f;_0x5e8d48[_0x380eee(0x193)]=_0x13de2e,_0x5e8d48[_0x380eee(0x19b)]=_0x493fea;},0x3e8);}),_0x5e8d48;}[_0x325bf9(0x1aa)](_0x3a5360){const _0x4dc0ac=_0x325bf9,{window:_0x459ba7,document:_0x47da2a}=_0xbd8ba3;if(_0x459ba7[_0x4dc0ac(0x1c3)]){const {Blob:_0xd5a0ab,ClipboardItem:_0x45984d}=_0x459ba7,_0x371921=[new _0x45984d({'text/html':new _0xd5a0ab([_0x3a5360[_0x4dc0ac(0x1b5)]],{'type':_0x4dc0ac(0x1d5)}),'text/plain':new _0xd5a0ab([_0x3a5360[_0x4dc0ac(0x1da)]||''],{'type':_0x4dc0ac(0x1bd)})})];navigator[_0x4dc0ac(0x19d)][_0x4dc0ac(0x1cc)](_0x371921);}else{const _0xc37178=_0x47da2a[_0x4dc0ac(0x1bc)](_0x4dc0ac(0x1c5));_0xc37178[_0x4dc0ac(0x1d2)][_0x4dc0ac(0x19e)]=_0x4dc0ac(0x1d8),_0xc37178[_0x4dc0ac(0x1d2)][_0x4dc0ac(0x1c2)]=_0x4dc0ac(0x191),_0xc37178[_0x4dc0ac(0x1b5)]=_0x4dc0ac(0x1c1)+_0x3a5360[_0x4dc0ac(0x1b5)]+_0x4dc0ac(0x1e0),_0x47da2a[_0x4dc0ac(0x199)][_0x4dc0ac(0x1af)](_0xc37178);const _0x13633f=_0x47da2a[_0x4dc0ac(0x1a8)]();_0x13633f[_0x4dc0ac(0x1db)](_0xc37178[_0x4dc0ac(0x1b4)]),_0x13633f[_0x4dc0ac(0x1be)](_0xc37178[_0x4dc0ac(0x1a1)]);const _0x4e733a=_0x459ba7[_0x4dc0ac(0x1c0)]();_0x4e733a[_0x4dc0ac(0x1b2)](),_0x4e733a[_0x4dc0ac(0x1c9)](_0x13633f),_0x47da2a[_0x4dc0ac(0x1ce)](_0x4dc0ac(0x19c)),_0xc37178[_0x4dc0ac(0x1dc)]();}}}export class ContentFieldView extends _0x16e048{constructor(_0x169298,_0x2a0b47=''){const _0x239cd2=_0x325bf9;super(_0x169298),this[_0x239cd2(0x1bb)]=this[_0x239cd2(0x198)](),this[_0x239cd2(0x1b1)]({'tag':_0x239cd2(0x1c5),'attributes':{'class':['ck',_0x239cd2(0x1e1),_0x2a0b47,_0x239cd2(0x1e3),_0x239cd2(0x1ae)]}});}[_0x325bf9(0x1de)](_0x2db970){const _0xf6504a=_0x325bf9;this[_0xf6504a(0x1d9)][_0xf6504a(0x1b5)]=_0x2db970;}[_0x325bf9(0x18e)](){const _0x3932a9=_0x325bf9;this[_0x3932a9(0x1d9)][_0x3932a9(0x1af)](this[_0x3932a9(0x1bb)][_0x3932a9(0x1d9)]);}[_0x325bf9(0x198)](){const _0x4165f4=_0x325bf9,_0x5cd88b=new _0x16e048(),_0x113b21=this[_0x4165f4(0x1d4)],_0x7a503e=new _0x12e89a();return _0x7a503e[_0x4165f4(0x1c6)]=!0x0,_0x5cd88b[_0x4165f4(0x1b1)]({'tag':_0x4165f4(0x1c5),'attributes':{'class':['ck',_0x4165f4(0x196)]},'children':[_0x7a503e,{'text':_0x3311a4(_0x113b21,_0x4165f4(0x1b6))}]}),_0x5cd88b[_0x4165f4(0x1d7)](),_0x5cd88b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ac08c,_0x274770){const _0x2df6e0=_0x1e21,_0x1da5b1=_0x1ac08c();while(!![]){try{const _0x6917cd=parseInt(_0x2df6e0(0x1fa))/0x1*(-parseInt(_0x2df6e0(0x1ef))/0x2)+parseInt(_0x2df6e0(0x1ee))/0x3+-parseInt(_0x2df6e0(0x1f9))/0x4+-parseInt(_0x2df6e0(0x1f1))/0x5*(parseInt(_0x2df6e0(0x1ec))/0x6)+-parseInt(_0x2df6e0(0x1e8))/0x7*(-parseInt(_0x2df6e0(0x1f7))/0x8)+parseInt(_0x2df6e0(0x1f5))/0x9*(parseInt(_0x2df6e0(0x1ea))/0xa)+parseInt(_0x2df6e0(0x1f4))/0xb*(parseInt(_0x2df6e0(0x1f0))/0xc);if(_0x6917cd===_0x274770)break;else _0x1da5b1['push'](_0x1da5b1['shift']());}catch(_0x3b4895){_0x1da5b1['push'](_0x1da5b1['shift']());}}}(_0x1be2,0x9c6bb));import{View as _0x4415c8,IconView as _0x277c05}from'ckeditor5/src/ui.js';function _0x1be2(){const _0x263a9d=['72BsHOnp','setTemplate','8670376srUyZp','div','3090744TYkAur','639462SqQKHZ','7bKUQsV','ck-ai-form__error','1078270sNjnAg','text','1304574zsnKxs','content','1858740KyfhOR','2SlzkeY','876zwIJHA','25WHgjeI','bindTemplate','set','86493kjcyKC'];_0x1be2=function(){return _0x263a9d;};return _0x1be2();}function _0x1e21(_0xb305f7,_0x2d2a87){const _0x1be23a=_0x1be2();return _0x1e21=function(_0x1e2127,_0x1a7d12){_0x1e2127=_0x1e2127-0x1e8;let _0x4f0c6d=_0x1be23a[_0x1e2127];return _0x4f0c6d;},_0x1e21(_0xb305f7,_0x2d2a87);}import _0x2939b3 from'../../../theme/icons/error.svg';export default class rt extends _0x4415c8{constructor(_0x36bdc8,_0x12b362=''){const _0x4f4521=_0x1e21;super(_0x36bdc8);const _0x61b3b2=new _0x277c05(),_0x9a4553=this[_0x4f4521(0x1f2)];this[_0x4f4521(0x1f3)](_0x4f4521(0x1eb),_0x12b362),_0x61b3b2[_0x4f4521(0x1ed)]=_0x2939b3,this[_0x4f4521(0x1f6)]({'tag':_0x4f4521(0x1f8),'attributes':{'class':['ck',_0x4f4521(0x1e9)]},'children':[_0x61b3b2,{'text':_0x9a4553['to'](_0x4f4521(0x1eb))}]});}}
|