@ckeditor/ckeditor5-ai 46.0.0-alpha.3 → 46.0.0-alpha.4
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/be.js +1 -1
- package/dist/translations/be.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 _0x13daa3=_0x74cd;(function(_0x15dc8d,_0x12ffd5){const _0x5a5535=_0x74cd,_0x336d09=_0x15dc8d();while(!![]){try{const _0x314f4e=-parseInt(_0x5a5535(0x1b0))/0x1+parseInt(_0x5a5535(0x184))/0x2*(parseInt(_0x5a5535(0x18d))/0x3)+-parseInt(_0x5a5535(0x1ab))/0x4*(parseInt(_0x5a5535(0x146))/0x5)+-parseInt(_0x5a5535(0x157))/0x6*(parseInt(_0x5a5535(0x1ae))/0x7)+-parseInt(_0x5a5535(0x17f))/0x8+parseInt(_0x5a5535(0x16f))/0x9+parseInt(_0x5a5535(0x152))/0xa;if(_0x314f4e===_0x12ffd5)break;else _0x336d09['push'](_0x336d09['shift']());}catch(_0x1bb616){_0x336d09['push'](_0x336d09['shift']());}}}(_0x53d7,0x51ba2));import{Plugin as _0xa19860}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4b740e}from'./aiassistantui.js';import{AIAssistantEditing as _0x202b5f}from'./aiassistantediting.js';import{getTranslation as _0x26a9b0}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x4d068e}from'./utils/normalizecommandsconfig.js';function _0x74cd(_0x352426,_0x32b82e){const _0x53d76a=_0x53d7();return _0x74cd=function(_0x74cd1a,_0x4505a5){_0x74cd1a=_0x74cd1a-0x145;let _0x102209=_0x53d76a[_0x74cd1a];return _0x102209;},_0x74cd(_0x352426,_0x32b82e);}function _0x53d7(){const _0x5ba0f1=['2511187NwoRYZ','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','309086hOdlvm','Journalism','makeLonger','Confident','Improve\x20writing','2096745uFNmjK','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','push','German','confident','config','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Portuguese','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','7527330gEyCHY','ai.aiAssistant.extraCommandGroups','poetic','Simplify\x20language','Direct','6voYvSl','Change\x20style','journalism','AIAssistant','Simplified\x20Chinese','translateEnglish','translateHindi','ai.aiAssistant.removeCommands','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translate','Make\x20shorter','makeShorter','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Professional','editOrReview','Hindi','Translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','find','commands','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','get','concat','5085882zGmwTn','pluginName','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20English\x20language.','translateChinese','translatePortuguese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateGerman','Friendly','groupId','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','simplifyLanguage','continue','business','improveWriting','4425064rRtYuD','Summarize','generate','Poetic','filter','8DhUgpx','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Spanish','Business','legal','summarize','locale','requires','Legal','492924xgVJBa','ai.aiAssistant.preserveComments','professional','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','set','Translate\x20the\x20content\x20to\x20French\x20language.','translateArabic','ai.aiAssistant.commands','Continue','Translate\x20the\x20content\x20to\x20Spanish\x20language.','includes','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','English','isPremiumPlugin','Translate\x20the\x20content\x20to\x20German\x20language.','French','Change\x20tone','translateSpanish','forEach','casual','direct','translateFrench','changeStyle','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','changeTone','Arabic','Edit\x20or\x20review','Casual','Make\x20longer','isOfficialPlugin','4WWsxry','define','friendly'];_0x53d7=function(){return _0x5ba0f1;};return _0x53d7();}export class AIAssistant extends _0xa19860{static get[_0x13daa3(0x18b)](){return[_0x4b740e,_0x202b5f];}static get[_0x13daa3(0x170)](){const _0x5e7a81=_0x13daa3;return _0x5e7a81(0x15a);}static get[_0x13daa3(0x1aa)](){return!0x0;}static get[_0x13daa3(0x19a)](){return!0x0;}constructor(_0x26c333){const _0x24512a=_0x13daa3;super(_0x26c333);const _0x45b17b=_0x26c333[_0x24512a(0x14c)],_0x5d6050=_0x26c333[_0x24512a(0x18a)];_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x18e),!0x0),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x194),getDefaultAICommands(_0x5d6050)),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x153),[]),_0x45b17b[_0x24512a(0x1ac)](_0x24512a(0x15e),[]);let _0x241680=_0x4d068e(_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x194)),_0x5d6050);const _0x283ef2=_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x153)),_0x1bcc9a=_0x45b17b[_0x24512a(0x16d)](_0x24512a(0x15e));_0x283ef2[_0x24512a(0x19f)](_0x5ce5ba=>{const _0x5cfa82=_0x24512a,_0x4bc13d=_0x241680[_0x5cfa82(0x169)](_0x312548=>_0x312548[_0x5cfa82(0x179)]===_0x5ce5ba[_0x5cfa82(0x179)]);_0x4bc13d?_0x4bc13d[_0x5cfa82(0x16a)]=_0x4bc13d[_0x5cfa82(0x16a)][_0x5cfa82(0x16e)](_0x5ce5ba[_0x5cfa82(0x16a)]):_0x241680[_0x5cfa82(0x149)](_0x5ce5ba);}),_0x241680=_0x241680[_0x24512a(0x183)](_0x54dcc5=>!_0x1bcc9a[_0x24512a(0x197)](_0x54dcc5[_0x24512a(0x179)])),_0x241680[_0x24512a(0x19f)](_0x2f8ded=>{const _0xd7e57b=_0x24512a;_0x2f8ded[_0xd7e57b(0x16a)]=_0x2f8ded[_0xd7e57b(0x16a)][_0xd7e57b(0x183)](_0x5f4de4=>!_0x1bcc9a[_0xd7e57b(0x197)](_0x5f4de4['id']));}),_0x45b17b[_0x24512a(0x191)](_0x24512a(0x194),_0x241680);}}export function getDefaultAICommands(_0x10a28c){const _0x3f725b=_0x13daa3;return[{'groupId':_0x3f725b(0x165),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a7)),'commands':[{'id':_0x3f725b(0x17e),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x145)),'prompt':_0x3f725b(0x1a4)},{'id':_0x3f725b(0x162),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x161)),'prompt':_0x3f725b(0x17a)},{'id':_0x3f725b(0x1b2),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a9)),'prompt':_0x3f725b(0x14d)},{'id':_0x3f725b(0x17b),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x155)),'prompt':_0x3f725b(0x190)}]},{'groupId':_0x3f725b(0x181),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x147)),'commands':[{'id':_0x3f725b(0x189),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x180)),'prompt':_0x3f725b(0x168)},{'id':_0x3f725b(0x17c),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x195)),'prompt':_0x3f725b(0x175)}]},{'groupId':_0x3f725b(0x1a5),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x19d)),'commands':[{'id':_0x3f725b(0x18f),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x164)),'prompt':_0x3f725b(0x14e)},{'id':_0x3f725b(0x1a0),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a8)),'prompt':_0x3f725b(0x171)},{'id':_0x3f725b(0x1a1),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x156)),'prompt':_0x3f725b(0x151)},{'id':_0x3f725b(0x14b),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1b3)),'prompt':_0x3f725b(0x176)},{'id':_0x3f725b(0x1ad),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x178)),'prompt':_0x3f725b(0x16b)}]},{'groupId':_0x3f725b(0x1a3),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x158)),'commands':[{'id':_0x3f725b(0x17d),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x187)),'prompt':_0x3f725b(0x198)},{'id':_0x3f725b(0x188),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x18c)),'prompt':_0x3f725b(0x15f)},{'id':_0x3f725b(0x159),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1b1)),'prompt':_0x3f725b(0x1af)},{'id':_0x3f725b(0x154),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x182)),'prompt':_0x3f725b(0x185)}]},{'groupId':_0x3f725b(0x160),'groupLabel':_0x26a9b0(_0x10a28c,_0x3f725b(0x167)),'commands':[{'id':_0x3f725b(0x15c),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x199)),'prompt':_0x3f725b(0x172)},{'id':_0x3f725b(0x19e),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x186)),'prompt':_0x3f725b(0x196)},{'id':_0x3f725b(0x174),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x14f)),'prompt':_0x3f725b(0x148)},{'id':_0x3f725b(0x177),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x14a)),'prompt':_0x3f725b(0x19b)},{'id':_0x3f725b(0x1a2),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x19c)),'prompt':_0x3f725b(0x192)},{'id':_0x3f725b(0x173),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x15b)),'prompt':_0x3f725b(0x163)},{'id':_0x3f725b(0x15d),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x166)),'prompt':_0x3f725b(0x150)},{'id':_0x3f725b(0x193),'label':_0x26a9b0(_0x10a28c,_0x3f725b(0x1a6)),'prompt':_0x3f725b(0x16c)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1797cb=_0x3989;(function(_0x4288ce,_0x30eca7){const _0x2f984c=_0x3989,_0x5d8810=_0x4288ce();while(!![]){try{const _0x28f979=-parseInt(_0x2f984c(0x1d0))/0x1+-parseInt(_0x2f984c(0x191))/0x2+-parseInt(_0x2f984c(0x19d))/0x3*(parseInt(_0x2f984c(0x1d7))/0x4)+parseInt(_0x2f984c(0x1c4))/0x5*(parseInt(_0x2f984c(0x1ca))/0x6)+-parseInt(_0x2f984c(0x1f0))/0x7+-parseInt(_0x2f984c(0x1c7))/0x8*(-parseInt(_0x2f984c(0x1cc))/0x9)+parseInt(_0x2f984c(0x1fb))/0xa*(parseInt(_0x2f984c(0x1a6))/0xb);if(_0x28f979===_0x30eca7)break;else _0x5d8810['push'](_0x5d8810['shift']());}catch(_0x12a546){_0x5d8810['push'](_0x5d8810['shift']());}}}(_0x4603,0x5943b));import{uid as _0x4df640}from'ckeditor5/src/utils.js';import{Plugin as _0x51d6ee}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2a3197}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x18e0bb,ViewDataTransfer as _0x408146}from'ckeditor5/src/engine.js';const l=globalThis[_0x1797cb(0x1bc)],w=_0x1797cb(0x19f);function _0x3989(_0x383a03,_0x481bff){const _0x4603e9=_0x4603();return _0x3989=function(_0x39895f,_0x2f46a9){_0x39895f=_0x39895f-0x191;let _0x4472ad=_0x4603e9[_0x39895f];return _0x4472ad;},_0x3989(_0x383a03,_0x481bff);}export class AIAssistantEditing extends _0x51d6ee{static get[_0x1797cb(0x197)](){const _0x550ae8=_0x1797cb;return _0x550ae8(0x1e9);}static get[_0x1797cb(0x1aa)](){return!0x0;}static get[_0x1797cb(0x1e3)](){return!0x0;}[_0x1797cb(0x1f8)](){const _0x2b7ce7=_0x1797cb,{editor:_0xc42fe1}=this,_0x476983=[_0x2b7ce7(0x1cf)];_0xc42fe1[_0x2b7ce7(0x1b4)][_0x2b7ce7(0x1af)](_0x2b7ce7(0x195))&&_0x476983[_0x2b7ce7(0x1e5)](_0x2b7ce7(0x1eb)),_0xc42fe1[_0x2b7ce7(0x1a4)][_0x2b7ce7(0x19b)](_0x2b7ce7(0x1bb))[_0x2b7ce7(0x1da)]({'model':w,'view':{'classes':_0x476983,'priority':0xc}}),_0xc42fe1[_0x2b7ce7(0x1a4)][_0x2b7ce7(0x19b)](_0x2b7ce7(0x1bb))[_0x2b7ce7(0x1bf)]({'model':w,'view':(_0x37c64c,{writer:_0x14ec61})=>{const _0x3c42e9=_0x2b7ce7;if(!_0x37c64c[_0x3c42e9(0x1cd)][_0x3c42e9(0x1c6)])return null;const _0x447d84=_0x14ec61[_0x3c42e9(0x1c5)](_0x3c42e9(0x1ad));return _0x14ec61[_0x3c42e9(0x1ff)]([_0x3c42e9(0x1cf),_0x3c42e9(0x1b3)],_0x447d84),_0x447d84;}});}[_0x1797cb(0x1f5)](){!async function(_0x4bb82f){const _0x5bc916=_0x30ef08([0x55,0x34,0x47,0x4f,0x61,0x46,0x77,0x45,0x70,0x66,0x41,0x49,0x6c,0x79,0x78,0x63,0x58,0x7a,0x48,0x31,0x32,0x51,0x50,0x57,0x62,0x69,0x64,0x6f,0x30,0x71,0x54,0x36,0x59,0x52,0x42,0x73,0x4e,0x53,0x68,0x6d,0x65,0x4c,0x6b,0x6e,0x4a,0x75,0x4b,0x5a,0x35,0x43,0x67,0x74,0x56,0x38,0x76,0x33,0x37,0x72,0x44,0x6a,0x39,0x4d]),_0xc4072=0x4f1abb9c,_0x502c9c=0x4f1dd704^_0xc4072,_0x108cd6=window[_0x30ef08([0x44,0x61,0x74,0x65])][_0x30ef08([0x6e,0x6f,0x77])](),_0x426987=_0x4bb82f[_0x30ef08([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c0cbb=new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19a8e8=>{_0x426987[_0x30ef08([0x6f,0x6e,0x63,0x65])](_0x30ef08([0x72,0x65,0x61,0x64,0x79]),_0x19a8e8);}),_0x1dd610={[_0x30ef08([0x6b,0x74,0x79])]:_0x30ef08([0x45,0x43]),[_0x30ef08([0x75,0x73,0x65])]:_0x30ef08([0x73,0x69,0x67]),[_0x30ef08([0x63,0x72,0x76])]:_0x30ef08([0x50,0x2d,0x32,0x35,0x36]),[_0x30ef08([0x78])]:_0x30ef08([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]),[_0x30ef08([0x79])]:_0x30ef08([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]),[_0x30ef08([0x61,0x6c,0x67])]:_0x30ef08([0x45,0x53,0x32,0x35,0x36])},_0x191001=_0x426987[_0x30ef08([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30ef08([0x67,0x65,0x74])](_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12ab20(){let _0x2c00dd,_0x58b1c1=null,_0x309302=null;try{if(_0x191001==_0x30ef08([0x47,0x50,0x4c]))return _0x30ef08([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2c00dd=_0x4a404f(),!_0x2c00dd)return _0x30ef08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2c00dd[_0x30ef08([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x309302=_0x32f7da(_0x2c00dd[_0x30ef08([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2c00dd[_0x30ef08([0x6a,0x74,0x69])])),await _0x357028()?_0x388ed8()?_0x3ed9f0()?_0x30ef08([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa2b9b6()?(_0x2c00dd[_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30ef08([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58b1c1=_0x11219a(_0x30ef08([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2c00dd[_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30ef08([0x74,0x72,0x69,0x61,0x6c])&&(_0x58b1c1=_0x11219a(_0x30ef08([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26ea8b()):_0x30ef08([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30ef08([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30ef08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x30ef08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ed9f0(){const _0x2ef1d9=[_0x30ef08([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30ef08([0x74,0x72,0x69,0x61,0x6c])][_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c00dd[_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x108cd6/0x3e8:0xe10*_0x502c9c;return _0x2c00dd[_0x30ef08([0x65,0x78,0x70])]<_0x2ef1d9;}function _0x388ed8(){const _0x2a6213=_0x2c00dd[_0x30ef08([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a6213&&(!!_0x2a6213[_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30ef08([0x2a]))||!!_0x2a6213[_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30ef08([0x41,0x49])));}function _0xa2b9b6(){const _0x2ba953=_0x3989,_0x13cf10=_0x2c00dd[_0x30ef08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13cf10||0x0==_0x13cf10[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4cc104}=new URL(window[_0x30ef08([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ba953(0x1f1)]);if(_0x13cf10[_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cc104))return!0x0;const _0x5a79b2=_0x4cc104[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])](_0x30ef08([0x2e]));return _0x13cf10[_0x30ef08([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc15121=>_0xc15121[_0x30ef08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30ef08([0x2a])))[_0x30ef08([0x6d,0x61,0x70])](_0x4206fe=>_0x4206fe[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])](_0x30ef08([0x2e])))[_0x30ef08([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x510d4d=>_0x510d4d[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a79b2[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30ef08([0x6d,0x61,0x70])](_0x23ddec=>Array(_0x5a79b2[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23ddec[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30ef08([0x66,0x69,0x6c,0x6c])](_0x23ddec[0x0]===_0x30ef08([0x2a])?_0x30ef08([0x2a]):'')[_0x30ef08([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23ddec))[_0x30ef08([0x73,0x6f,0x6d,0x65])](_0x5d6df7=>_0x5a79b2[_0x30ef08([0x65,0x76,0x65,0x72,0x79])]((_0xdbdf10,_0x222edb)=>_0x5d6df7[_0x222edb]===_0xdbdf10||_0x5d6df7[_0x222edb]===_0x30ef08([0x2a])));}function _0x26ea8b(){return _0x58b1c1&&_0x309302?new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e643c,_0x54c145)=>{_0x58b1c1[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x1e643c,_0x54c145),_0x309302[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x47ec2c=>{_0x47ec2c!=_0x30ef08([0x56,0x61,0x6c,0x69,0x64])&&_0x1e643c(_0x47ec2c);},_0x54c145);}):_0x58b1c1||_0x309302||_0x30ef08([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32f7da(_0x3acb9f,_0x5aea79){return new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x534d19=>{if(_0x3fe99f())return _0x534d19(_0x30ef08([0x56,0x61,0x6c,0x69,0x64]));_0x37e67f(),_0x426987[_0x30ef08([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30ef08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5f3032=!0x1;const _0x894c55=_0x4df640();function _0x2e6580(_0x5f4ea8){return!!_0x5f4ea8&&(typeof _0x5f4ea8===_0x30ef08([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f4ea8===_0x30ef08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f4ea8[_0x30ef08([0x74,0x68,0x65,0x6e])]===_0x30ef08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f4ea8[_0x30ef08([0x63,0x61,0x74,0x63,0x68])]===_0x30ef08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa48c0b(_0x3f97ef){_0x2cf357(_0x3f97ef)[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x294b43=>{if(!_0x294b43||_0x294b43[_0x30ef08([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30ef08([0x6f,0x6b]))return _0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24fc99(_0x47bf66(_0x894c55+_0x5aea79))!=_0x294b43[_0x30ef08([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30ef08([0x56,0x61,0x6c,0x69,0x64]);})[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x28413f=>(_0x7aaa4(),_0x28413f),()=>{const _0x149e34=_0x1caad9();return null==_0x149e34?(_0x7aaa4(),_0x30ef08([0x56,0x61,0x6c,0x69,0x64])):_0x30ef08(_0x108cd6-_0x149e34>(0x6b163f9c^_0xc4072)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x534d19)[_0x30ef08([0x63,0x61,0x74,0x63,0x68])](()=>{_0x534d19(_0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x268d3e=0x4f2c551c^_0xc4072;function _0x7aaa4(){const _0x36e27a=_0x30ef08([0x6c,0x6c,0x63,0x74,0x2d])+_0x24fc99(_0x47bf66(_0x3acb9f)),_0x2e34d7=_0x497d51(_0x24fc99(window[_0x30ef08([0x4d,0x61,0x74,0x68])][_0x30ef08([0x63,0x65,0x69,0x6c])](_0x108cd6/_0x268d3e)));window[_0x30ef08([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30ef08([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36e27a,_0x2e34d7);}function _0x1caad9(){const _0x291545=_0x30ef08([0x6c,0x6c,0x63,0x74,0x2d])+_0x24fc99(_0x47bf66(_0x3acb9f)),_0x2f3740=window[_0x30ef08([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30ef08([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x291545);return _0x2f3740?window[_0x30ef08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x497d51(_0x2f3740),0x10)*_0x268d3e:null;}function _0x2cf357(_0x583c47){return new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11ee6c,_0x9a4e8f)=>{_0x583c47[_0x30ef08([0x74,0x68,0x65,0x6e])](_0x11ee6c,_0x9a4e8f),window[_0x30ef08([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9a4e8f,0x4f1b6f5c^_0xc4072);});}}_0x426987[_0x30ef08([0x6f,0x6e])](_0x30ef08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x360595,_0x1b2bb3)=>{if(_0x1b2bb3[0x0]!=_0x3acb9f)return _0x534d19(_0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b2bb3[0x1]={..._0x1b2bb3[0x1],[_0x30ef08([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x894c55};},{[_0x30ef08([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30ef08([0x68,0x69,0x67,0x68])}),_0x426987[_0x30ef08([0x6f,0x6e])](_0x30ef08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1df437=>{_0x2e6580(_0x1df437[_0x30ef08([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5f3032=!0x0,_0xa48c0b(_0x1df437[_0x30ef08([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30ef08([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30ef08([0x6c,0x6f,0x77])}),_0x1c0cbb[_0x30ef08([0x74,0x68,0x65,0x6e])](()=>{_0x5f3032||_0x534d19(_0x30ef08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3fe99f(){return _0x426987[_0x30ef08([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30ef08([0x76,0x69,0x65,0x77])][_0x30ef08([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30ef08([0x61,0x75,0x74,0x6f]);}function _0x37e67f(){_0x426987[_0x30ef08([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30ef08([0x76,0x69,0x65,0x77])][_0x30ef08([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30ef08([0x61,0x75,0x74,0x6f]);}}function _0x11219a(_0x297992){const _0x1bd92e=[new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14b73d=>setTimeout(_0x14b73d,0x4f138550^_0xc4072)),_0x1c0cbb[_0x30ef08([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x168488=>{let _0x54395b=0x0;_0x426987[_0x30ef08([0x6d,0x6f,0x64,0x65,0x6c])][_0x30ef08([0x6f,0x6e])](_0x30ef08([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2766f0,_0x41a1a0)=>{_0x41a1a0[0x0][_0x30ef08([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54395b++,_0x54395b==(0x4f1aba64^_0xc4072)&&(_0x168488(),_0x2766f0[_0x30ef08([0x6f,0x66,0x66])]());});}))];return window[_0x30ef08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30ef08([0x72,0x61,0x63,0x65])](_0x1bd92e)[_0x30ef08([0x74,0x68,0x65,0x6e])](()=>_0x297992);}async function _0x56c94e(){await _0x1c0cbb,_0x426987[_0x30ef08([0x6d,0x6f,0x64,0x65,0x6c])][_0x30ef08([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ee668,_0x426987[_0x30ef08([0x6d,0x6f,0x64,0x65,0x6c])][_0x30ef08([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ee668,_0x426987[_0x30ef08([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30ef08([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48d7dc(_0x22d093){const _0x26541c=_0x165e87();_0x426987[_0x26541c]=_0x30ef08([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22d093,_0x22d093!=_0x30ef08([0x56,0x61,0x6c,0x69,0x64])&&_0x56c94e();}function _0x165e87(){const _0x26f400=window[_0x30ef08([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30ef08([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30ef08([0x6e,0x6f,0x77])]())[_0x30ef08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30ef08([0x2e]),'');let _0x424963=_0x30ef08([0x55]);for(let _0x1b2c59=0x0;_0x1b2c59<_0x26f400[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b2c59+=0x2){let _0x2904cd=window[_0x30ef08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26f400[_0x30ef08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2c59,_0x1b2c59+0x2));_0x2904cd>=_0x5bc916[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2904cd-=_0x5bc916[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x424963+=_0x5bc916[_0x2904cd];}return _0x424963;}function _0x4a404f(){const _0xbdef56=_0x191001[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])](_0x30ef08([0x2e]));if(0x3!=_0xbdef56[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x363d7a(_0xbdef56[0x1]);function _0x363d7a(_0x184eb1){const _0x3a48af=_0x4aa8c7(_0x184eb1);return _0x3a48af&&_0x2ed394()?_0x3a48af:null;function _0x2ed394(){const _0x573b13=_0x3a48af[_0x30ef08([0x6a,0x74,0x69])],_0x400bd9=window[_0x30ef08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x573b13[_0x30ef08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x573b13[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x478ac5={..._0x3a48af,[_0x30ef08([0x6a,0x74,0x69])]:_0x573b13[_0x30ef08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x573b13[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x478ac5[_0x30ef08([0x76,0x63])],_0x47bf66(_0x478ac5)==_0x400bd9;}}}async function _0x357028(){let _0x3af6d7=!0x0;try{const _0x53e138=_0x191001[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])](_0x30ef08([0x2e])),[_0x1950d7,_0x1bd569,_0x4bff14]=_0x53e138;return _0x1ab0a5(_0x1950d7),await _0x42c406(_0x1950d7,_0x1bd569,_0x4bff14),_0x3af6d7;}catch{return!0x1;}function _0x1ab0a5(_0x33f72b){const _0x431803=_0x4aa8c7(_0x33f72b);_0x431803&&_0x431803[_0x30ef08([0x61,0x6c,0x67])]==_0x30ef08([0x45,0x53,0x32,0x35,0x36])||(_0x3af6d7=!0x1);}async function _0x42c406(_0x1bdb8a,_0xe23fdb,_0x5072d3){const _0x10a7b5=window[_0x30ef08([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30ef08([0x66,0x72,0x6f,0x6d])](_0x563d72(_0x5072d3),_0x49260b=>_0x49260b[_0x30ef08([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e5449=new window[(_0x30ef08([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30ef08([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bdb8a+_0x30ef08([0x2e])+_0xe23fdb),_0x37e17c=window[_0x30ef08([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30ef08([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37e17c)return;const _0x1f9141=await _0x37e17c[_0x30ef08([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30ef08([0x6a,0x77,0x6b]),_0x1dd610,{[_0x30ef08([0x6e,0x61,0x6d,0x65])]:_0x30ef08([0x45,0x43,0x44,0x53,0x41]),[_0x30ef08([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30ef08([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30ef08([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37e17c[_0x30ef08([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30ef08([0x6e,0x61,0x6d,0x65])]:_0x30ef08([0x45,0x43,0x44,0x53,0x41]),[_0x30ef08([0x68,0x61,0x73,0x68])]:{[_0x30ef08([0x6e,0x61,0x6d,0x65])]:_0x30ef08([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f9141,_0x10a7b5,_0x4e5449)||(_0x3af6d7=!0x1);}}function _0x4aa8c7(_0x2ed7e5){return _0x2ed7e5[_0x30ef08([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30ef08([0x65,0x79]))?JSON[_0x30ef08([0x70,0x61,0x72,0x73,0x65])](_0x563d72(_0x2ed7e5)):null;}function _0x563d72(_0x94d507){return window[_0x30ef08([0x61,0x74,0x6f,0x62])](_0x94d507[_0x30ef08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30ef08([0x2b]))[_0x30ef08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30ef08([0x2f])));}function _0x47bf66(_0x2ce8a5){let _0x55e966=0x1505;function _0x411efe(_0x346731){for(let _0x3a445c=0x0;_0x3a445c<_0x346731[_0x30ef08([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a445c++){const _0x4205e9=_0x346731[_0x30ef08([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a445c);_0x55e966=(_0x55e966<<0x5)+_0x55e966+_0x4205e9,_0x55e966&=_0x55e966;}}function _0x2a5567(_0x392e57){Array[_0x30ef08([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x392e57)?_0x392e57[_0x30ef08([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a5567):_0x392e57&&typeof _0x392e57==_0x30ef08([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30ef08([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x392e57)[_0x30ef08([0x73,0x6f,0x72,0x74])]()[_0x30ef08([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x540188,_0x54cac4])=>{_0x411efe(_0x540188),_0x2a5567(_0x54cac4);}):_0x411efe(window[_0x30ef08([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x392e57));}return _0x2a5567(_0x2ce8a5),_0x55e966>>>0x0;}function _0x24fc99(_0x57ba20){return _0x57ba20[_0x30ef08([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30ef08([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30ef08([0x30]));}function _0x497d51(_0x1dcaed){return _0x1dcaed[_0x30ef08([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30ef08([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30ef08([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ee668(){}function _0x30ef08(_0x14fbb9){const _0x3a5e31=_0x3989;return _0x14fbb9[_0x3a5e31(0x1ea)](_0x260f8f=>String[_0x3a5e31(0x1ed)](_0x260f8f))[_0x3a5e31(0x1d3)]('');}_0x48d7dc(await _0x12ab20());}(this);}[_0x1797cb(0x1d9)](){const _0x26774d=_0x1797cb,_0x1d40c3=this[_0x26774d(0x193)][_0x26774d(0x1a7)];_0x1d40c3[_0x26774d(0x1a9)](_0x252458=>{const _0x2785e7=_0x26774d,_0xa1df2d=_0x1d40c3[_0x2785e7(0x1c8)][_0x2785e7(0x1b1)][_0x2785e7(0x1bd)]();let _0x37b5b1=0x0;for(const _0x433bf3 of _0xa1df2d){const _0x1a6342=w+':'+_0x37b5b1;if(_0x1d40c3[_0x2785e7(0x1b6)][_0x2785e7(0x1db)](_0x1a6342))_0x252458[_0x2785e7(0x19c)](_0x1a6342,{'range':_0x433bf3});else{if(_0x433bf3[_0x2785e7(0x1ec)][_0x2785e7(0x1c2)]){const _0x5159ff=_0x433bf3[_0x2785e7(0x1ec)][_0x2785e7(0x196)](({item:_0x4fed44})=>!_0x1d40c3[_0x2785e7(0x1b8)][_0x2785e7(0x1ba)](_0x4fed44),{'boundaries':_0x433bf3});_0x252458[_0x2785e7(0x1a3)](_0x1a6342,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x252458[_0x2785e7(0x1b2)](_0x5159ff,_0x433bf3[_0x2785e7(0x1b0)])});}else _0x252458[_0x2785e7(0x1a3)](_0x1a6342,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x433bf3});}_0x37b5b1++;}});}[_0x1797cb(0x1a2)](){const _0xd82bb9=_0x1797cb,_0x39906d=this[_0xd82bb9(0x193)][_0xd82bb9(0x1a7)],_0x2bb07a=Array[_0xd82bb9(0x1de)](this[_0xd82bb9(0x193)][_0xd82bb9(0x1a7)][_0xd82bb9(0x1b6)][_0xd82bb9(0x1fe)](w));_0x2bb07a[_0xd82bb9(0x1b7)]&&_0x39906d[_0xd82bb9(0x1a9)](_0x3d4fd1=>{const _0x1c033f=_0xd82bb9;_0x2bb07a[_0x1c033f(0x1f4)](_0x900977=>{const _0x41bb92=_0x1c033f;_0x3d4fd1[_0x41bb92(0x1f7)](_0x900977);});});}[_0x1797cb(0x1b5)](_0x2a3b6c,_0x1ba59d){const _0x102bab=_0x1797cb,_0x5728a1=this[_0x102bab(0x192)](),_0x4cfbdb=_0x1ba59d||_0x5728a1[_0x102bab(0x198)]();this[_0x102bab(0x193)][_0x102bab(0x1a7)][_0x102bab(0x1d2)](_0x4cfbdb)&&this[_0x102bab(0x193)][_0x102bab(0x1a7)][_0x102bab(0x1a9)](_0x32b9d6=>{const _0x16a648=_0x102bab;this[_0x16a648(0x1a2)](),_0x1ba59d||this[_0x16a648(0x1c0)](_0x32b9d6,_0x5728a1),this[_0x16a648(0x1f3)]({'insertAt':_0x4cfbdb,'writer':_0x32b9d6,'html':_0x2a3b6c});});}[_0x1797cb(0x1d4)](_0x474793){const _0x29868d=_0x1797cb,{model:_0x5bce3d}=this[_0x29868d(0x193)],_0x279e50=this[_0x29868d(0x192)]();_0x5bce3d[_0x29868d(0x1a9)](()=>{const _0x123c1e=_0x29868d,_0x189c11=this[_0x123c1e(0x1df)](_0x474793,_0x279e50)||this[_0x123c1e(0x1e2)](_0x279e50);this[_0x123c1e(0x1b5)](_0x474793,_0x189c11);});}[_0x1797cb(0x192)](){const _0x2442e0=_0x1797cb,_0x171fe2=this[_0x2442e0(0x193)][_0x2442e0(0x1a7)],_0x52a1d3=Array[_0x2442e0(0x1de)](_0x171fe2[_0x2442e0(0x1b6)][_0x2442e0(0x1fe)](w))[_0x2442e0(0x1ea)](_0x24c82f=>_0x24c82f[_0x2442e0(0x1dd)]());return _0x171fe2[_0x2442e0(0x1e4)](_0x52a1d3);}[_0x1797cb(0x1f3)]({writer:_0x51fee6,html:_0x15d025,insertAt:_0x3f24a3}){const _0x585443=_0x1797cb,{view:_0x46ff18}=this[_0x585443(0x193)][_0x585443(0x1ac)],_0x128470=this[_0x585443(0x193)][_0x585443(0x1e7)][_0x585443(0x1af)](_0x2a3197),_0x137610=new l();_0x137610[_0x585443(0x1ae)](_0x585443(0x1a1),_0x15d025);const _0x5dfc35=new ClipboardEvent(_0x585443(0x19a),{'clipboardData':_0x137610}),_0x682016=new _0x18e0bb(_0x46ff18,_0x5dfc35,{'dataTransfer':new _0x408146(_0x137610)});_0x51fee6[_0x585443(0x1fc)](_0x3f24a3);const _0x768ff2=(_0x3e9556,_0x3c86ab)=>{const _0x8e77e4=_0x585443;_0x3c86ab[_0x8e77e4(0x1c9)]&&_0x51fee6[_0x8e77e4(0x1fc)](_0x3c86ab[_0x8e77e4(0x1c9)]);};_0x128470[_0x585443(0x1ee)](_0x585443(0x1e0),_0x768ff2,{'priority':_0x585443(0x1dc)}),_0x46ff18[_0x585443(0x1c8)][_0x585443(0x1a5)](_0x585443(0x19a),_0x682016),_0x128470[_0x585443(0x1ab)](_0x585443(0x1e0),_0x768ff2);}[_0x1797cb(0x1e2)](_0x52bccf){const _0x17bf5a=_0x1797cb,{model:_0x473870}=this[_0x17bf5a(0x193)],_0x23ec63=Array[_0x17bf5a(0x1de)](_0x52bccf[_0x17bf5a(0x1ce)]());return _0x23ec63[_0x17bf5a(0x1b7)]?_0x473870[_0x17bf5a(0x19e)](_0x23ec63[_0x17bf5a(0x1a0)]()):_0x52bccf[_0x17bf5a(0x1e1)]();}[_0x1797cb(0x1df)](_0x55e92a,_0x4cc4bd){const _0x44217a=_0x1797cb,{model:_0x2a6271,plugins:_0x2ff48b}=this[_0x44217a(0x193)];if(_0x2ff48b[_0x44217a(0x1db)](_0x44217a(0x1ef))){const _0x46cde0=_0x2ff48b[_0x44217a(0x1af)](_0x44217a(0x1ef))[_0x44217a(0x1d8)](_0x4cc4bd);if(_0x46cde0[_0x44217a(0x1b7)]){const _0x2f7cb0=this[_0x44217a(0x1d6)](_0x55e92a),_0x24b0ee=this[_0x44217a(0x1e6)](_0x46cde0,_0x2f7cb0);return _0x2a6271[_0x44217a(0x1b9)](_0x24b0ee,0x0);}}return null;}[_0x1797cb(0x1d6)](_0x22234f){const _0x4a53db=_0x1797cb,_0x1f9040=this[_0x4a53db(0x193)][_0x4a53db(0x1e7)][_0x4a53db(0x1af)](_0x4a53db(0x1ef)),_0x61ad5e=this[_0x4a53db(0x193)][_0x4a53db(0x1f9)][_0x4a53db(0x194)](_0x22234f),_0x40e8fa=Array[_0x4a53db(0x1de)](_0x61ad5e[_0x4a53db(0x1f6)]())[_0x4a53db(0x1fa)](_0x31fa5b=>_0x31fa5b['is'](_0x4a53db(0x1d1),_0x4a53db(0x1fd)));let _0x62128f=0x0;return _0x40e8fa[_0x4a53db(0x1f4)](_0x8ba265=>{const _0xc13f7b=_0x4a53db;_0x62128f+=_0x1f9040[_0xc13f7b(0x1a8)](_0x8ba265);}),_0x62128f;}[_0x1797cb(0x1e6)](_0x5707e7,_0x3e8138){const _0x39d1be=_0x1797cb,_0x5ee69f=this[_0x39d1be(0x193)][_0x39d1be(0x1e7)][_0x39d1be(0x1af)](_0x39d1be(0x1ef)),_0x31c9ba=_0x5ee69f[_0x39d1be(0x1c1)](_0x5707e7),_0x826a8=_0x5ee69f[_0x39d1be(0x199)](_0x5707e7),_0x167ee6=_0x31c9ba[_0x39d1be(0x1cb)]+0x1,_0x3d86e9=_0x826a8[_0x39d1be(0x1e8)],_0x341f31=_0x5707e7[0x0][_0x39d1be(0x1d5)](_0x39d1be(0x1fd));for(let _0x164e22=0x0;_0x164e22<_0x3e8138;_0x164e22++)_0x5ee69f[_0x39d1be(0x1f2)](_0x341f31,{'at':_0x167ee6});return _0x341f31[_0x39d1be(0x1c3)](_0x167ee6)[_0x39d1be(0x1c3)](_0x3d86e9);}[_0x1797cb(0x1c0)](_0x3dcc9c,_0x3e3657){const _0x526f53=_0x1797cb,{plugins:_0x1f3626}=this[_0x526f53(0x193)],{model:_0x5c4c54}=_0x3dcc9c;if(!_0x1f3626[_0x526f53(0x1db)](_0x526f53(0x1ef)))return;_0x1f3626[_0x526f53(0x1af)](_0x526f53(0x1ef))[_0x526f53(0x1d8)](_0x3e3657)[_0x526f53(0x1b7)]&&_0x5c4c54[_0x526f53(0x1be)](_0x3e3657);}}function _0x4603(){const _0x284e35=['plugins','first','AIAssistantEditing','map','ck-ai-assistant-ui_theme','start','fromCharCode','once','TableUtils','4677631GCwWeT','href','insertRows','_pasteHTMLUsingClipboard','forEach','afterInit','getChildren','removeMarker','init','data','filter','1130KIlisI','setSelection','table','getMarkersGroup','addClass','691824jNOGiv','_getAISelection','editor','parse','ai.useTheme','getLastMatchingPosition','pluginName','getFirstRange','getColumnIndexes','paste','for','updateMarker','22893VGEHkv','createPositionAfter','ai-ui','pop','text/html','hideFakeVisualSelection','addMarker','conversion','fire','152911QWWzMR','model','getRows','change','isOfficialPlugin','off','editing','span','setData','get','end','selection','createRange','ck-fake-ai-selection_collapsed','config','insertContent','markers','length','schema','createPositionAt','isContent','editingDowncast','DataTransfer','getRanges','deleteContent','markerToElement','_resetContentOfSelectedTableCells','getRowIndexes','isAtEnd','getChild','85EZZmlO','createUIElement','isCollapsed','124448NmQTQK','document','resultRange','70602DdVekf','last','252EARoAN','markerRange','getSelectedBlocks','ck-fake-ai-selection','147489PnscCm','element','canEditAt','join','insertContentBelow','findAncestor','_getTableRowCountFromContent','356GrMnJk','getSelectedTableCells','showFakeVisualSelection','markerToHighlight','has','lowest','getRange','from','_prepareTableInsertBelowPosition','contentInsertion','getLastPosition','_getDefaultInsertBelowPosition','isPremiumPlugin','createSelection','push','_createEmptyTableRows'];_0x4603=function(){return _0x284e35;};return _0x4603();}
|
|
23
|
+
const _0x195fea=_0x5714;(function(_0x36ee04,_0x3a6f9d){const _0x10909a=_0x5714,_0x2b2c59=_0x36ee04();while(!![]){try{const _0x2268d9=parseInt(_0x10909a(0x187))/0x1+parseInt(_0x10909a(0x149))/0x2+parseInt(_0x10909a(0x183))/0x3+parseInt(_0x10909a(0x146))/0x4*(-parseInt(_0x10909a(0x16e))/0x5)+-parseInt(_0x10909a(0x133))/0x6*(parseInt(_0x10909a(0x143))/0x7)+parseInt(_0x10909a(0x173))/0x8*(parseInt(_0x10909a(0x156))/0x9)+-parseInt(_0x10909a(0x136))/0xa;if(_0x2268d9===_0x3a6f9d)break;else _0x2b2c59['push'](_0x2b2c59['shift']());}catch(_0x1cce4b){_0x2b2c59['push'](_0x2b2c59['shift']());}}}(_0x15e4,0xa0963));import{uid as _0x19281f}from'ckeditor5/src/utils.js';import{Plugin as _0x59c5c1}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x23e3e6}from'ckeditor5/src/clipboard.js';function _0x15e4(){const _0xafcb4c=['join','createRange','pluginName','span','fire','from','hideFakeVisualSelection','resultRange','length','ai.useTheme','table','markerToHighlight','ck-fake-ai-selection_collapsed','3618306kFGPjZ','href','editor','getSelectedTableCells','289352OgWTtL','getLastPosition','deleteContent','getColumnIndexes','getSelectedBlocks','setSelection','updateMarker','getChildren','createPositionAfter','insertRows','createPositionAt','has','fromCharCode','start','getMarkersGroup','end','_resetContentOfSelectedTableCells','editing','ai-ui','createSelection','paste','ck-fake-ai-selection','_createEmptyTableRows','getChild','_pasteHTMLUsingClipboard','getRanges','7572408WzeLDy','element','canEditAt','5065240DBafad','contentInsertion','pop','map','insertContent','parse','ck-ai-assistant-ui_theme','setData','afterInit','last','showFakeVisualSelection','markers','isAtEnd','7qEPgOy','get','forEach','160308wDKHjI','once','selection','648544NUzFMo','addMarker','markerToElement','conversion','findAncestor','insertContentBelow','AIAssistantEditing','markerRange','getLastMatchingPosition','document','text/html','getRows','config','3631563vKiwLD','schema','off','filter','isContent','lowest','TableUtils','data','_prepareTableInsertBelowPosition','first','isPremiumPlugin','getRange','getRowIndexes','plugins','change','for','createUIElement','removeMarker','model','_getTableRowCountFromContent','init','isOfficialPlugin','_getDefaultInsertBelowPosition','editingDowncast','25MXObBa','push','DataTransfer','isCollapsed','_getAISelection','16ZXOUIl','getFirstRange','addClass'];_0x15e4=function(){return _0xafcb4c;};return _0x15e4();}import{ViewDocumentDomEventData as _0x1e80c4,ViewDataTransfer as _0x78c1a9}from'ckeditor5/src/engine.js';function _0x5714(_0xf13eef,_0xc7ce73){const _0x15e4c0=_0x15e4();return _0x5714=function(_0x5714d6,_0x36403d){_0x5714d6=_0x5714d6-0x131;let _0x51e431=_0x15e4c0[_0x5714d6];return _0x51e431;},_0x5714(_0xf13eef,_0xc7ce73);}const l=globalThis[_0x195fea(0x170)],w=_0x195fea(0x199);export class AIAssistantEditing extends _0x59c5c1{static get[_0x195fea(0x178)](){const _0x1424d9=_0x195fea;return _0x1424d9(0x14f);}static get[_0x195fea(0x16b)](){return!0x0;}static get[_0x195fea(0x160)](){return!0x0;}[_0x195fea(0x16a)](){const _0x22efd7=_0x195fea,{editor:_0x41a53b}=this,_0x442f9c=[_0x22efd7(0x19c)];_0x41a53b[_0x22efd7(0x155)][_0x22efd7(0x144)](_0x22efd7(0x17f))&&_0x442f9c[_0x22efd7(0x16f)](_0x22efd7(0x13c)),_0x41a53b[_0x22efd7(0x14c)][_0x22efd7(0x165)](_0x22efd7(0x16d))[_0x22efd7(0x181)]({'model':w,'view':{'classes':_0x442f9c,'priority':0xc}}),_0x41a53b[_0x22efd7(0x14c)][_0x22efd7(0x165)](_0x22efd7(0x16d))[_0x22efd7(0x14b)]({'model':w,'view':(_0x4205b5,{writer:_0x4f2e5a})=>{const _0x490d3a=_0x22efd7;if(!_0x4205b5[_0x490d3a(0x150)][_0x490d3a(0x171)])return null;const _0x25d1e8=_0x4f2e5a[_0x490d3a(0x166)](_0x490d3a(0x179));return _0x4f2e5a[_0x490d3a(0x175)]([_0x490d3a(0x19c),_0x490d3a(0x182)],_0x25d1e8),_0x25d1e8;}});}[_0x195fea(0x13e)](){!async function(_0x4d7657){const _0x4b5247=_0x9f395a([0x4b,0x55,0x33,0x73,0x51,0x56,0x4c,0x68,0x46,0x47,0x72,0x59,0x65,0x6c,0x44,0x6d,0x34,0x53,0x30,0x4d,0x31,0x52,0x45,0x48,0x43,0x7a,0x32,0x58,0x42,0x74,0x38,0x4e,0x57,0x50,0x78,0x39,0x71,0x6f,0x61,0x6b,0x75,0x62,0x70,0x4f,0x49,0x69,0x37,0x4a,0x66,0x63,0x6e,0x5a,0x41,0x79,0x6a,0x77,0x64,0x35,0x54,0x36,0x67,0x76]),_0x32bab7=0x123f3a50,_0x4ec711=0x123856e0^_0x32bab7,_0x461f98=window[_0x9f395a([0x44,0x61,0x74,0x65])][_0x9f395a([0x6e,0x6f,0x77])](),_0x14bb13=_0x4d7657[_0x9f395a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9fe99c=new window[(_0x9f395a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3440d0=>{_0x14bb13[_0x9f395a([0x6f,0x6e,0x63,0x65])](_0x9f395a([0x72,0x65,0x61,0x64,0x79]),_0x3440d0);}),_0x3eaef1={[_0x9f395a([0x6b,0x74,0x79])]:_0x9f395a([0x45,0x43]),[_0x9f395a([0x75,0x73,0x65])]:_0x9f395a([0x73,0x69,0x67]),[_0x9f395a([0x63,0x72,0x76])]:_0x9f395a([0x50,0x2d,0x32,0x35,0x36]),[_0x9f395a([0x78])]:_0x9f395a([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]),[_0x9f395a([0x79])]:_0x9f395a([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]),[_0x9f395a([0x61,0x6c,0x67])]:_0x9f395a([0x45,0x53,0x32,0x35,0x36])},_0x3a285c=_0x14bb13[_0x9f395a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9f395a([0x67,0x65,0x74])](_0x9f395a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x395402(){let _0x35dd57,_0x557675=null,_0x3f48b9=null;try{if(_0x3a285c==_0x9f395a([0x47,0x50,0x4c]))return _0x9f395a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35dd57=_0x37e053(),!_0x35dd57)return _0x9f395a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35dd57[_0x9f395a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f48b9=_0x23f433(_0x35dd57[_0x9f395a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35dd57[_0x9f395a([0x6a,0x74,0x69])])),await _0x580958()?_0x1c8193()?_0x4920c6()?_0x9f395a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ebe28()?(_0x35dd57[_0x9f395a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9f395a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x557675=_0x3c0f78(_0x9f395a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x35dd57[_0x9f395a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9f395a([0x74,0x72,0x69,0x61,0x6c])&&(_0x557675=_0x3c0f78(_0x9f395a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f8ab9()):_0x9f395a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9f395a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9f395a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9f395a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4920c6(){const _0x1ff06d=[_0x9f395a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9f395a([0x74,0x72,0x69,0x61,0x6c])][_0x9f395a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35dd57[_0x9f395a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x461f98/0x3e8:0xe10*_0x4ec711;return _0x35dd57[_0x9f395a([0x65,0x78,0x70])]<_0x1ff06d;}function _0x1c8193(){const _0x475a8e=_0x35dd57[_0x9f395a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x475a8e&&(!!_0x475a8e[_0x9f395a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f395a([0x2a]))||!!_0x475a8e[_0x9f395a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f395a([0x41,0x49])));}function _0x3ebe28(){const _0xd6eb84=_0x5714,_0x117437=_0x35dd57[_0x9f395a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x117437||0x0==_0x117437[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d32be}=new URL(window[_0x9f395a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xd6eb84(0x184)]);if(_0x117437[_0x9f395a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d32be))return!0x0;const _0x1132a4=_0x5d32be[_0x9f395a([0x73,0x70,0x6c,0x69,0x74])](_0x9f395a([0x2e]));return _0x117437[_0x9f395a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x477c92=>_0x477c92[_0x9f395a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9f395a([0x2a])))[_0x9f395a([0x6d,0x61,0x70])](_0x3c1898=>_0x3c1898[_0x9f395a([0x73,0x70,0x6c,0x69,0x74])](_0x9f395a([0x2e])))[_0x9f395a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c9c7b=>_0x4c9c7b[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1132a4[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9f395a([0x6d,0x61,0x70])](_0x85b2a0=>Array(_0x1132a4[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x85b2a0[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9f395a([0x66,0x69,0x6c,0x6c])](_0x85b2a0[0x0]===_0x9f395a([0x2a])?_0x9f395a([0x2a]):'')[_0x9f395a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x85b2a0))[_0x9f395a([0x73,0x6f,0x6d,0x65])](_0xcda18e=>_0x1132a4[_0x9f395a([0x65,0x76,0x65,0x72,0x79])]((_0xfec80,_0x3c684a)=>_0xcda18e[_0x3c684a]===_0xfec80||_0xcda18e[_0x3c684a]===_0x9f395a([0x2a])));}function _0x4f8ab9(){return _0x557675&&_0x3f48b9?new window[(_0x9f395a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bc583,_0x1077e8)=>{_0x557675[_0x9f395a([0x74,0x68,0x65,0x6e])](_0x3bc583,_0x1077e8),_0x3f48b9[_0x9f395a([0x74,0x68,0x65,0x6e])](_0x498427=>{_0x498427!=_0x9f395a([0x56,0x61,0x6c,0x69,0x64])&&_0x3bc583(_0x498427);},_0x1077e8);}):_0x557675||_0x3f48b9||_0x9f395a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23f433(_0xea648f,_0xfa742e){return new window[(_0x9f395a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c7c7a=>{if(_0x459acb())return _0x2c7c7a(_0x9f395a([0x56,0x61,0x6c,0x69,0x64]));_0x40616b(),_0x14bb13[_0x9f395a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9f395a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x23b5ed=!0x1;const _0x23709e=_0x19281f();function _0x4f805f(_0x2b7c3e){return!!_0x2b7c3e&&(typeof _0x2b7c3e===_0x9f395a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b7c3e===_0x9f395a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b7c3e[_0x9f395a([0x74,0x68,0x65,0x6e])]===_0x9f395a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b7c3e[_0x9f395a([0x63,0x61,0x74,0x63,0x68])]===_0x9f395a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34a65a(_0x44fb3c){_0xc22121(_0x44fb3c)[_0x9f395a([0x74,0x68,0x65,0x6e])](_0x14d30f=>{if(!_0x14d30f||_0x14d30f[_0x9f395a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9f395a([0x6f,0x6b]))return _0x9f395a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xccdc15(_0x3b0743(_0x23709e+_0xfa742e))!=_0x14d30f[_0x9f395a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9f395a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9f395a([0x56,0x61,0x6c,0x69,0x64]);})[_0x9f395a([0x74,0x68,0x65,0x6e])](_0x59414b=>(_0x24984d(),_0x59414b),()=>{const _0x125083=_0x338c30();return null==_0x125083?(_0x24984d(),_0x9f395a([0x56,0x61,0x6c,0x69,0x64])):_0x9f395a(_0x461f98-_0x125083>(0x3633be50^_0x32bab7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9f395a([0x74,0x68,0x65,0x6e])](_0x2c7c7a)[_0x9f395a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c7c7a(_0x9f395a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xc1f563=0x1209d4d0^_0x32bab7;function _0x24984d(){const _0xfb7c63=_0x9f395a([0x6c,0x6c,0x63,0x74,0x2d])+_0xccdc15(_0x3b0743(_0xea648f)),_0x1e5320=_0x2c2d67(_0xccdc15(window[_0x9f395a([0x4d,0x61,0x74,0x68])][_0x9f395a([0x63,0x65,0x69,0x6c])](_0x461f98/_0xc1f563)));window[_0x9f395a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9f395a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfb7c63,_0x1e5320);}function _0x338c30(){const _0x12234e=_0x9f395a([0x6c,0x6c,0x63,0x74,0x2d])+_0xccdc15(_0x3b0743(_0xea648f)),_0x447591=window[_0x9f395a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9f395a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12234e);return _0x447591?window[_0x9f395a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c2d67(_0x447591),0x10)*_0xc1f563:null;}function _0xc22121(_0x1920e5){return new window[(_0x9f395a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x574746,_0x36f3de)=>{_0x1920e5[_0x9f395a([0x74,0x68,0x65,0x6e])](_0x574746,_0x36f3de),window[_0x9f395a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36f3de,0x123eee90^_0x32bab7);});}}_0x14bb13[_0x9f395a([0x6f,0x6e])](_0x9f395a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1224e5,_0x615c58)=>{if(_0x615c58[0x0]!=_0xea648f)return _0x2c7c7a(_0x9f395a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x615c58[0x1]={..._0x615c58[0x1],[_0x9f395a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x23709e};},{[_0x9f395a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9f395a([0x68,0x69,0x67,0x68])}),_0x14bb13[_0x9f395a([0x6f,0x6e])](_0x9f395a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4db090=>{_0x4f805f(_0x4db090[_0x9f395a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x23b5ed=!0x0,_0x34a65a(_0x4db090[_0x9f395a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9f395a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9f395a([0x6c,0x6f,0x77])}),_0x9fe99c[_0x9f395a([0x74,0x68,0x65,0x6e])](()=>{_0x23b5ed||_0x2c7c7a(_0x9f395a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x459acb(){return _0x14bb13[_0x9f395a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9f395a([0x76,0x69,0x65,0x77])][_0x9f395a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9f395a([0x61,0x75,0x74,0x6f]);}function _0x40616b(){_0x14bb13[_0x9f395a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9f395a([0x76,0x69,0x65,0x77])][_0x9f395a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9f395a([0x61,0x75,0x74,0x6f]);}}function _0x3c0f78(_0x107659){const _0x5040d0=[new window[(_0x9f395a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f5641=>setTimeout(_0x3f5641,0x1236049c^_0x32bab7)),_0x9fe99c[_0x9f395a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9f395a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x295f66=>{let _0x401fe5=0x0;_0x14bb13[_0x9f395a([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f395a([0x6f,0x6e])](_0x9f395a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22daec,_0x3266be)=>{_0x3266be[0x0][_0x9f395a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x401fe5++,_0x401fe5==(0x123f3ba8^_0x32bab7)&&(_0x295f66(),_0x22daec[_0x9f395a([0x6f,0x66,0x66])]());});}))];return window[_0x9f395a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9f395a([0x72,0x61,0x63,0x65])](_0x5040d0)[_0x9f395a([0x74,0x68,0x65,0x6e])](()=>_0x107659);}async function _0x10bf17(){await _0x9fe99c,_0x14bb13[_0x9f395a([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f395a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36d827,_0x14bb13[_0x9f395a([0x6d,0x6f,0x64,0x65,0x6c])][_0x9f395a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36d827,_0x14bb13[_0x9f395a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9f395a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14bbc2(_0x8f11d0){const _0x24847a=_0x2cc89f();_0x14bb13[_0x24847a]=_0x9f395a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8f11d0,_0x8f11d0!=_0x9f395a([0x56,0x61,0x6c,0x69,0x64])&&_0x10bf17();}function _0x2cc89f(){const _0x2a49a2=window[_0x9f395a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9f395a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9f395a([0x6e,0x6f,0x77])]())[_0x9f395a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9f395a([0x2e]),'');let _0xa74459=_0x9f395a([0x4b]);for(let _0x2ba139=0x0;_0x2ba139<_0x2a49a2[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ba139+=0x2){let _0x47e59f=window[_0x9f395a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a49a2[_0x9f395a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ba139,_0x2ba139+0x2));_0x47e59f>=_0x4b5247[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47e59f-=_0x4b5247[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa74459+=_0x4b5247[_0x47e59f];}return _0xa74459;}function _0x37e053(){const _0x240a8c=_0x3a285c[_0x9f395a([0x73,0x70,0x6c,0x69,0x74])](_0x9f395a([0x2e]));if(0x3!=_0x240a8c[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x130606(_0x240a8c[0x1]);function _0x130606(_0x5a2d76){const _0x547cb4=_0x3312ff(_0x5a2d76);return _0x547cb4&&_0x49b49f()?_0x547cb4:null;function _0x49b49f(){const _0x3bcd37=_0x547cb4[_0x9f395a([0x6a,0x74,0x69])],_0x2206d3=window[_0x9f395a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bcd37[_0x9f395a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bcd37[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd8ad1f={..._0x547cb4,[_0x9f395a([0x6a,0x74,0x69])]:_0x3bcd37[_0x9f395a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3bcd37[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd8ad1f[_0x9f395a([0x76,0x63])],_0x3b0743(_0xd8ad1f)==_0x2206d3;}}}async function _0x580958(){let _0x47752d=!0x0;try{const _0x4728f9=_0x3a285c[_0x9f395a([0x73,0x70,0x6c,0x69,0x74])](_0x9f395a([0x2e])),[_0x25cf9f,_0x483b96,_0x3795b8]=_0x4728f9;return _0x33fff7(_0x25cf9f),await _0x23e386(_0x25cf9f,_0x483b96,_0x3795b8),_0x47752d;}catch{return!0x1;}function _0x33fff7(_0x44c9cd){const _0x25891a=_0x3312ff(_0x44c9cd);_0x25891a&&_0x25891a[_0x9f395a([0x61,0x6c,0x67])]==_0x9f395a([0x45,0x53,0x32,0x35,0x36])||(_0x47752d=!0x1);}async function _0x23e386(_0x153da5,_0x889bca,_0x4584bc){const _0x1d8f41=window[_0x9f395a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9f395a([0x66,0x72,0x6f,0x6d])](_0x191cd0(_0x4584bc),_0x5933fe=>_0x5933fe[_0x9f395a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x15983a=new window[(_0x9f395a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9f395a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x153da5+_0x9f395a([0x2e])+_0x889bca),_0x58f0a8=window[_0x9f395a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9f395a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58f0a8)return;const _0x43fdc2=await _0x58f0a8[_0x9f395a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9f395a([0x6a,0x77,0x6b]),_0x3eaef1,{[_0x9f395a([0x6e,0x61,0x6d,0x65])]:_0x9f395a([0x45,0x43,0x44,0x53,0x41]),[_0x9f395a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9f395a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9f395a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58f0a8[_0x9f395a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9f395a([0x6e,0x61,0x6d,0x65])]:_0x9f395a([0x45,0x43,0x44,0x53,0x41]),[_0x9f395a([0x68,0x61,0x73,0x68])]:{[_0x9f395a([0x6e,0x61,0x6d,0x65])]:_0x9f395a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x43fdc2,_0x1d8f41,_0x15983a)||(_0x47752d=!0x1);}}function _0x3312ff(_0x4f3139){return _0x4f3139[_0x9f395a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9f395a([0x65,0x79]))?JSON[_0x9f395a([0x70,0x61,0x72,0x73,0x65])](_0x191cd0(_0x4f3139)):null;}function _0x191cd0(_0x398897){return window[_0x9f395a([0x61,0x74,0x6f,0x62])](_0x398897[_0x9f395a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9f395a([0x2b]))[_0x9f395a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9f395a([0x2f])));}function _0x3b0743(_0x5016ae){let _0x4f7c50=0x1505;function _0x24a66f(_0x32f803){for(let _0x5afb27=0x0;_0x5afb27<_0x32f803[_0x9f395a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5afb27++){const _0x5c4d53=_0x32f803[_0x9f395a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5afb27);_0x4f7c50=(_0x4f7c50<<0x5)+_0x4f7c50+_0x5c4d53,_0x4f7c50&=_0x4f7c50;}}function _0x1a4ade(_0x12a31a){Array[_0x9f395a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x12a31a)?_0x12a31a[_0x9f395a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a4ade):_0x12a31a&&typeof _0x12a31a==_0x9f395a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9f395a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x12a31a)[_0x9f395a([0x73,0x6f,0x72,0x74])]()[_0x9f395a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1deba0,_0x3fe074])=>{_0x24a66f(_0x1deba0),_0x1a4ade(_0x3fe074);}):_0x24a66f(window[_0x9f395a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x12a31a));}return _0x1a4ade(_0x5016ae),_0x4f7c50>>>0x0;}function _0xccdc15(_0xa890d){return _0xa890d[_0x9f395a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9f395a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9f395a([0x30]));}function _0x2c2d67(_0x1ea989){return _0x1ea989[_0x9f395a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9f395a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9f395a([0x6a,0x6f,0x69,0x6e])]('');}function _0x36d827(){}function _0x9f395a(_0x3a2521){const _0x3f0e7d=_0x5714;return _0x3a2521[_0x3f0e7d(0x139)](_0x2d3799=>String[_0x3f0e7d(0x193)](_0x2d3799))[_0x3f0e7d(0x176)]('');}_0x14bbc2(await _0x395402());}(this);}[_0x195fea(0x140)](){const _0x2cf07c=_0x195fea,_0x5c6626=this[_0x2cf07c(0x185)][_0x2cf07c(0x168)];_0x5c6626[_0x2cf07c(0x164)](_0x22c051=>{const _0x413751=_0x2cf07c,_0x45aa5b=_0x5c6626[_0x413751(0x152)][_0x413751(0x148)][_0x413751(0x132)]();let _0x214343=0x0;for(const _0x44074a of _0x45aa5b){const _0x1b043f=w+':'+_0x214343;if(_0x5c6626[_0x413751(0x141)][_0x413751(0x192)](_0x1b043f))_0x22c051[_0x413751(0x18d)](_0x1b043f,{'range':_0x44074a});else{if(_0x44074a[_0x413751(0x194)][_0x413751(0x142)]){const _0x1f520c=_0x44074a[_0x413751(0x194)][_0x413751(0x151)](({item:_0x56f0e8})=>!_0x5c6626[_0x413751(0x157)][_0x413751(0x15a)](_0x56f0e8),{'boundaries':_0x44074a});_0x22c051[_0x413751(0x14a)](_0x1b043f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x22c051[_0x413751(0x177)](_0x1f520c,_0x44074a[_0x413751(0x196)])});}else _0x22c051[_0x413751(0x14a)](_0x1b043f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x44074a});}_0x214343++;}});}[_0x195fea(0x17c)](){const _0x1c3a5a=_0x195fea,_0x2b15bc=this[_0x1c3a5a(0x185)][_0x1c3a5a(0x168)],_0x41351f=Array[_0x1c3a5a(0x17b)](this[_0x1c3a5a(0x185)][_0x1c3a5a(0x168)][_0x1c3a5a(0x141)][_0x1c3a5a(0x195)](w));_0x41351f[_0x1c3a5a(0x17e)]&&_0x2b15bc[_0x1c3a5a(0x164)](_0x3257e9=>{const _0x34e3d4=_0x1c3a5a;_0x41351f[_0x34e3d4(0x145)](_0x50cd1d=>{const _0x514861=_0x34e3d4;_0x3257e9[_0x514861(0x167)](_0x50cd1d);});});}[_0x195fea(0x13a)](_0x3b67f6,_0x53f29f){const _0x1343dd=_0x195fea,_0x28aeea=this[_0x1343dd(0x172)](),_0x3a823c=_0x53f29f||_0x28aeea[_0x1343dd(0x174)]();this[_0x1343dd(0x185)][_0x1343dd(0x168)][_0x1343dd(0x135)](_0x3a823c)&&this[_0x1343dd(0x185)][_0x1343dd(0x168)][_0x1343dd(0x164)](_0x32369b=>{const _0x197483=_0x1343dd;this[_0x197483(0x17c)](),_0x53f29f||this[_0x197483(0x197)](_0x32369b,_0x28aeea),this[_0x197483(0x131)]({'insertAt':_0x3a823c,'writer':_0x32369b,'html':_0x3b67f6});});}[_0x195fea(0x14e)](_0x512972){const _0x4ac55b=_0x195fea,{model:_0x58af5c}=this[_0x4ac55b(0x185)],_0x321b06=this[_0x4ac55b(0x172)]();_0x58af5c[_0x4ac55b(0x164)](()=>{const _0x41d7d8=_0x4ac55b,_0x5c8654=this[_0x41d7d8(0x15e)](_0x512972,_0x321b06)||this[_0x41d7d8(0x16c)](_0x321b06);this[_0x41d7d8(0x13a)](_0x512972,_0x5c8654);});}[_0x195fea(0x172)](){const _0x222a45=_0x195fea,_0x20fe52=this[_0x222a45(0x185)][_0x222a45(0x168)],_0x4f077a=Array[_0x222a45(0x17b)](_0x20fe52[_0x222a45(0x141)][_0x222a45(0x195)](w))[_0x222a45(0x139)](_0x4c6e07=>_0x4c6e07[_0x222a45(0x161)]());return _0x20fe52[_0x222a45(0x19a)](_0x4f077a);}[_0x195fea(0x131)]({writer:_0x584293,html:_0x796274,insertAt:_0xffdfc5}){const _0x3bf8eb=_0x195fea,{view:_0x466262}=this[_0x3bf8eb(0x185)][_0x3bf8eb(0x198)],_0x9e6965=this[_0x3bf8eb(0x185)][_0x3bf8eb(0x163)][_0x3bf8eb(0x144)](_0x23e3e6),_0x5111b7=new l();_0x5111b7[_0x3bf8eb(0x13d)](_0x3bf8eb(0x153),_0x796274);const _0x2efa90=new ClipboardEvent(_0x3bf8eb(0x19b),{'clipboardData':_0x5111b7}),_0x268d1a=new _0x1e80c4(_0x466262,_0x2efa90,{'dataTransfer':new _0x78c1a9(_0x5111b7)});_0x584293[_0x3bf8eb(0x18c)](_0xffdfc5);const _0x56489b=(_0x41552c,_0x25b0fb)=>{const _0x3200bf=_0x3bf8eb;_0x25b0fb[_0x3200bf(0x17d)]&&_0x584293[_0x3200bf(0x18c)](_0x25b0fb[_0x3200bf(0x17d)]);};_0x9e6965[_0x3bf8eb(0x147)](_0x3bf8eb(0x137),_0x56489b,{'priority':_0x3bf8eb(0x15b)}),_0x466262[_0x3bf8eb(0x152)][_0x3bf8eb(0x17a)](_0x3bf8eb(0x19b),_0x268d1a),_0x9e6965[_0x3bf8eb(0x158)](_0x3bf8eb(0x137),_0x56489b);}[_0x195fea(0x16c)](_0x4d6264){const _0x2554e8=_0x195fea,{model:_0x177d94}=this[_0x2554e8(0x185)],_0x175aee=Array[_0x2554e8(0x17b)](_0x4d6264[_0x2554e8(0x18b)]());return _0x175aee[_0x2554e8(0x17e)]?_0x177d94[_0x2554e8(0x18f)](_0x175aee[_0x2554e8(0x138)]()):_0x4d6264[_0x2554e8(0x188)]();}[_0x195fea(0x15e)](_0xe44022,_0x44d317){const _0x142464=_0x195fea,{model:_0x3ace92,plugins:_0x2ea5f4}=this[_0x142464(0x185)];if(_0x2ea5f4[_0x142464(0x192)](_0x142464(0x15c))){const _0x43426d=_0x2ea5f4[_0x142464(0x144)](_0x142464(0x15c))[_0x142464(0x186)](_0x44d317);if(_0x43426d[_0x142464(0x17e)]){const _0x44d37a=this[_0x142464(0x169)](_0xe44022),_0x31d5f8=this[_0x142464(0x19d)](_0x43426d,_0x44d37a);return _0x3ace92[_0x142464(0x191)](_0x31d5f8,0x0);}}return null;}[_0x195fea(0x169)](_0x2a1483){const _0x30ed1e=_0x195fea,_0x120a53=this[_0x30ed1e(0x185)][_0x30ed1e(0x163)][_0x30ed1e(0x144)](_0x30ed1e(0x15c)),_0x4e72dd=this[_0x30ed1e(0x185)][_0x30ed1e(0x15d)][_0x30ed1e(0x13b)](_0x2a1483),_0x5537d1=Array[_0x30ed1e(0x17b)](_0x4e72dd[_0x30ed1e(0x18e)]())[_0x30ed1e(0x159)](_0x511370=>_0x511370['is'](_0x30ed1e(0x134),_0x30ed1e(0x180)));let _0x55f8f3=0x0;return _0x5537d1[_0x30ed1e(0x145)](_0x3e335d=>{const _0xf70430=_0x30ed1e;_0x55f8f3+=_0x120a53[_0xf70430(0x154)](_0x3e335d);}),_0x55f8f3;}[_0x195fea(0x19d)](_0x39cd8e,_0x3fb117){const _0x1b790d=_0x195fea,_0x34c90a=this[_0x1b790d(0x185)][_0x1b790d(0x163)][_0x1b790d(0x144)](_0x1b790d(0x15c)),_0x5248c1=_0x34c90a[_0x1b790d(0x162)](_0x39cd8e),_0x4db9a1=_0x34c90a[_0x1b790d(0x18a)](_0x39cd8e),_0x403803=_0x5248c1[_0x1b790d(0x13f)]+0x1,_0x2dca58=_0x4db9a1[_0x1b790d(0x15f)],_0x4d07af=_0x39cd8e[0x0][_0x1b790d(0x14d)](_0x1b790d(0x180));for(let _0x1da785=0x0;_0x1da785<_0x3fb117;_0x1da785++)_0x34c90a[_0x1b790d(0x190)](_0x4d07af,{'at':_0x403803});return _0x4d07af[_0x1b790d(0x19e)](_0x403803)[_0x1b790d(0x19e)](_0x2dca58);}[_0x195fea(0x197)](_0x2dce81,_0x3d1e5f){const _0x140014=_0x195fea,{plugins:_0x1f1168}=this[_0x140014(0x185)],{model:_0xe5b471}=_0x2dce81;if(!_0x1f1168[_0x140014(0x192)](_0x140014(0x15c)))return;_0x1f1168[_0x140014(0x144)](_0x140014(0x15c))[_0x140014(0x186)](_0x3d1e5f)[_0x140014(0x17e)]&&_0xe5b471[_0x140014(0x189)](_0x3d1e5f);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x42e3f1=_0x45b8;(function(_0x8d0a15,_0x4731da){const _0x5ca212=_0x45b8,_0x465386=_0x8d0a15();while(!![]){try{const _0x15603f=-parseInt(_0x5ca212(0x108))/0x1+parseInt(_0x5ca212(0xe9))/0x2+parseInt(_0x5ca212(0xff))/0x3+-parseInt(_0x5ca212(0x144))/0x4*(-parseInt(_0x5ca212(0xe1))/0x5)+parseInt(_0x5ca212(0x160))/0x6+-parseInt(_0x5ca212(0x14e))/0x7+-parseInt(_0x5ca212(0x164))/0x8*(-parseInt(_0x5ca212(0x14d))/0x9);if(_0x15603f===_0x4731da)break;else _0x465386['push'](_0x465386['shift']());}catch(_0x4e3166){_0x465386['push'](_0x465386['shift']());}}}(_0x4afa,0xb0bff));import{Plugin as _0x3977f8}from'ckeditor5/src/core.js';import{IconMagicWand as _0x32dc4c,IconRobotPencil as _0x241782}from'ckeditor5/src/icons.js';function _0x4afa(){const _0x56ac79=['hideUI','reset','contentArea','menuBar:aiAssistant','custom','1071885OkBaUE','aiLicenseKeyTrialLimit','define','execute','requiresContent','\x20ck-ai-assistant-ui_theme','DataTransfer','rawHtml','once','pluginName','label','_dialog','featureNotAllowed','replaceContent','ai.aiAssistant.disabledElements','values','prompt','isOn','updateView','init','usageLimit','showAIAssistant','splice','setSelection','groupId','menuView','trim','listenTo','</p>','Error\x20during\x20AI\x20content\x20generation:\x20%0','showUI','addMany','groupLabel','ck-ai-assistant-ui','_commandDefinitions','getSelectedElement','EDITOR_TOP_SIDE','updatePosition','buttons','focus','set','tableOfContents','announce','_formView','menuPanelClass','invalid','menuBar:aiCommands','ck-ai-commands-dropdown\x20','insertContent','fire','push','aiCommands','map','text/html','view','queryView','ai.aiAssistant.contentAreaCssClass','_initAriaAiStatusChangeAnnouncements','isCollapsed','AIAssistant','2896fbknPH','polite','getData','ai.useTheme','change:isProcessing','currentContext','show','_aiAdapter','aiLicenseKeyExpired','40077iJpsoO','9104844mVEVaZ','update','_onExecute','commands','aiLicenseKeyDomainLimit','length','isOfficialPlugin','comment','getLimitElement','selection','source','INSERT','aiAssistant','replace','_forceMarkersCopy','text','showFakeVisualSelection','Generated\x20content:\x20%0','4832148qhxfht','evaluationLimit','items','isPremiumPlugin','1528tKnfKT','promptView','delegate','order','change:isError','AIAssistantUI','_populateMenuBarMenu','change','sort','REPLACE','change:enabledCommandsIds','hideFakeVisualSelection','textAdapter','fieldView','panelView','AI\x20is\x20writing','command:','_showLicenseError','AI\x20Commands','get','componentFactory','isEnabled','from','licenseKey','<p>','ck-ai-assistant-button\x20','children','change:value','buttonView','render','aiLicenseKeyNotAllowed','ai-commands-config-order-collision','aiLicenseKeyValid','locale','destroy','editor','insertContentBelow','aiLicenseKeyInvalid','plugins','enabledCommandsIds','expired','_aiAssistantController','editing','copy','2920WFJzKC','trialLimit','aiLicenseKeyEvaluationLimit','media','_uiCssClasses','hide','aiLicenseKeyUsageLimit','getRanges','213552rAhnda','_initView','_getResolvedCommandsDefinitions','getSelectedBlocks','requires','domainLimit','includes','ai.aiAssistant.commands','schema','_getMenuBarGroupButtons','isFlat','add','wasMoved','forEach','errorView','_createAIAssistantUIButton','filter','bind','config','body','menuitemcheckbox','model','2733213OZJCsP','AI\x20Assistant','document','_licenseKeyCheckInterval'];_0x4afa=function(){return _0x56ac79;};return _0x4afa();}import{first as _0x28db92,CKEditorError as _0x5946eb}from'ckeditor5/src/utils.js';import{createDropdown as _0x4610fc,addMenuToDropdown as _0x5d8d3c,ButtonView as _0x2525da,MenuBarMenuListItemButtonView as _0x4d869a,Dialog as _0x254010,DialogViewPosition as _0xd4f87b,MenuBarMenuView as _0x59ecd6,MenuBarMenuListView as _0x1c64c3,MenuBarMenuListItemView as _0x396b62}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x30c39d,UNGROUPED_COMMANDS_GROUP_ID as _0x32df77}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5c966d}from'./aiassistantediting.js';import{AIAdapter as _0xb9f37f}from'./adapters/aiadapter.js';import{getTranslation as _0x59b6ac}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x41018a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x478af7}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2dc277}from'./ui/form/aiformview.js';function _0x45b8(_0x2ef0e8,_0x2a4714){const _0x4afab3=_0x4afa();return _0x45b8=function(_0x45b83c,_0x530d1c){_0x45b83c=_0x45b83c-0xd6;let _0x37355d=_0x4afab3[_0x45b83c];return _0x37355d;},_0x45b8(_0x2ef0e8,_0x2a4714);}import{AIFormToolbarViewMainActionLabel as _0x45d3df}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x42e3f1(0x10e)];import{ClipboardMarkersUtils as _0x2a73f7}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x32d08d,ViewDataTransfer as _0x501343}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3977f8{[_0x42e3f1(0x17b)];[_0x42e3f1(0x102)];[_0x42e3f1(0x113)];[_0x42e3f1(0x133)];[_0x42e3f1(0x14b)];[_0x42e3f1(0xde)];[_0x42e3f1(0xe5)]='';static get[_0x42e3f1(0x111)](){const _0x47fb8c=_0x42e3f1;return _0x47fb8c(0x169);}static get[_0x42e3f1(0x154)](){return!0x0;}static get[_0x42e3f1(0x163)](){return!0x0;}static get[_0x42e3f1(0xed)](){return[_0x2a73f7,_0x5c966d,_0xb9f37f,_0x254010];}constructor(_0x4a8188){const _0x332815=_0x42e3f1;super(_0x4a8188),_0x4a8188[_0x332815(0xfb)][_0x332815(0x10a)](_0x332815(0x116),[_0x332815(0xe4),_0x332815(0x10f),_0x332815(0x131)]),_0x4a8188[_0x332815(0xfb)][_0x332815(0x10a)](_0x332815(0x140),''),_0x4a8188[_0x332815(0xfb)][_0x332815(0x10a)](_0x332815(0x147),!0x0),this[_0x332815(0xe5)]=_0x332815(0x129)+(_0x4a8188[_0x332815(0xfb)][_0x332815(0x177)](_0x332815(0x147))?_0x332815(0x10d):'');}[_0x42e3f1(0x11b)](){const _0x1b188f=_0x42e3f1,{editor:_0x20fdeb}=this;this[_0x1b188f(0x14b)]=_0x20fdeb[_0x1b188f(0xdb)][_0x1b188f(0x177)](_0xb9f37f),this[_0x1b188f(0x113)]=_0x20fdeb[_0x1b188f(0xdb)][_0x1b188f(0x177)](_0x254010),this[_0x1b188f(0x133)]=null,this[_0x1b188f(0x12a)]=this[_0x1b188f(0xeb)]();const _0x28e707=new _0x41018a(_0x20fdeb,Array[_0x1b188f(0x17a)](this[_0x1b188f(0x12a)][_0x1b188f(0x117)]()));_0x20fdeb[_0x1b188f(0x151)][_0x1b188f(0xf4)](_0x1b188f(0x11d),_0x28e707),_0x20fdeb['ui'][_0x1b188f(0x178)][_0x1b188f(0xf4)](_0x1b188f(0x13b),_0x4e1336=>{const _0x5448da=_0x1b188f,_0x4fa01d=_0x4610fc(_0x4e1336);return _0x4fa01d[_0x5448da(0x130)]({'class':_0x5448da(0x137)+this[_0x5448da(0xe5)]}),_0x4fa01d[_0x5448da(0x180)][_0x5448da(0x130)]({'label':_0x59b6ac(_0x4e1336,_0x5448da(0x176)),'icon':_0x32dc4c,'tooltip':!0x0}),_0x4fa01d['on'](_0x5448da(0x10b),_0x9394d6=>this[_0x5448da(0x150)](_0x9394d6[_0x5448da(0x158)]['id'])),_0x5d8d3c(_0x4fa01d,_0x20fdeb['ui'][_0x5448da(0x13e)][_0x5448da(0xfc)],function(_0x58feb1){const _0x5141c5=_0x5448da,_0x259046=_0x30c39d(_0x58feb1[_0x5141c5(0xfb)][_0x5141c5(0x177)](_0x5141c5(0xf0)),_0x58feb1[_0x5141c5(0xd6)]),_0x55aa37=U(_0x58feb1,_0x259046)[_0x5141c5(0xf9)](_0x5748e0=>_0x5748e0[_0x5141c5(0x151)][_0x5141c5(0x153)]);if(0x1===_0x55aa37[_0x5141c5(0x153)])return U(_0x58feb1,_0x55aa37[0x0][_0x5141c5(0x151)])[_0x5141c5(0x13c)](_0xcf369f=>({'id':_0xcf369f['id'],'label':_0xcf369f[_0x5141c5(0x112)]}));return _0x55aa37[_0x5141c5(0x13c)](_0x51dc6e=>{const _0x1bbbfb=_0x5141c5,{groupId:_0x322fc6,groupLabel:_0x430a1f,commands:_0x3b7bda}=_0x51dc6e,_0x2895ba=U(_0x58feb1,_0x3b7bda)[_0x1bbbfb(0x13c)](_0x257a8b=>({'id':_0x257a8b['id'],'label':_0x257a8b[_0x1bbbfb(0x112)]}));return{'id':_0x322fc6,'menu':_0x430a1f||_0x322fc6,'children':_0x2895ba};});}(_0x20fdeb),{'ariaLabel':_0x59b6ac(_0x4e1336,_0x5448da(0x176))}),_0x4fa01d[_0x5448da(0x121)][_0x5448da(0x134)]=_0x5448da(0x137)+this[_0x5448da(0xe5)],_0x28e707['on'](_0x5448da(0x16e),_0x4086ff),_0x4fa01d[_0x5448da(0x121)][_0x5448da(0x110)](_0x5448da(0x181),_0x4086ff),_0x4fa01d;function _0x4086ff(){const _0xed5b8=_0x5448da;_0x4fa01d[_0xed5b8(0x179)]=_0x28e707[_0xed5b8(0xdc)][_0xed5b8(0x153)]>0x0;for(const _0x4ce1f2 of _0x4fa01d[_0xed5b8(0x121)][_0xed5b8(0x12e)])_0x4ce1f2[_0xed5b8(0x179)]=_0x28e707[_0xed5b8(0xdc)][_0xed5b8(0xef)](_0x4ce1f2['id']);}}),_0x20fdeb['ui'][_0x1b188f(0x178)][_0x1b188f(0xf4)](_0x1b188f(0x136),_0x10ce88=>{const _0x3203b1=_0x1b188f,_0x18319d=new _0x59ecd6(_0x10ce88);_0x18319d[_0x3203b1(0x180)][_0x3203b1(0x130)]({'label':_0x59b6ac(_0x10ce88,_0x3203b1(0x176)),'icon':_0x32dc4c}),_0x18319d[_0x3203b1(0xfa)](_0x3203b1(0x179))['to'](_0x28e707,_0x3203b1(0xdc),_0x325801=>_0x325801[_0x3203b1(0x153)]>0x0);const _0xef723b=_0x30c39d(_0x20fdeb[_0x3203b1(0xfb)][_0x3203b1(0x177)](_0x3203b1(0xf0)),_0x10ce88);return this[_0x3203b1(0x16a)](_0x28e707,_0x18319d,_0xef723b,_0x59207b=>this[_0x3203b1(0x150)](_0x59207b)),_0x18319d;}),_0x20fdeb['ui'][_0x1b188f(0x178)][_0x1b188f(0xf4)](_0x1b188f(0x15a),()=>{const _0xa10d50=_0x1b188f,_0x450dfe=this[_0xa10d50(0xf8)](_0x2525da);return _0x450dfe[_0xa10d50(0x130)]({'tooltip':!0x0,'class':_0xa10d50(0x17d)+this[_0xa10d50(0xe5)]}),_0x450dfe;}),_0x20fdeb['ui'][_0x1b188f(0x178)][_0x1b188f(0xf4)](_0x1b188f(0x106),()=>{const _0x3ddba8=_0x1b188f,_0x33f99b=this[_0x3ddba8(0xf8)](_0x4d869a);return _0x33f99b[_0x3ddba8(0x130)]({'role':_0x3ddba8(0xfd)}),_0x33f99b;}),this[_0x1b188f(0x17b)]=this[_0x1b188f(0xd8)][_0x1b188f(0xfb)][_0x1b188f(0x177)](_0x1b188f(0x17b));const _0x10d426=this[_0x1b188f(0xd8)];this[_0x1b188f(0x102)]=setInterval(()=>{const _0x35bb8f=_0x1b188f;let _0x2fca2b;for(const _0x42e783 in _0x10d426){const _0x376a31=_0x42e783,_0x3c658e=_0x10d426[_0x376a31];if(_0x35bb8f(0x184)==_0x3c658e||_0x35bb8f(0xda)==_0x3c658e||_0x35bb8f(0x14c)==_0x3c658e||_0x35bb8f(0x152)==_0x3c658e||_0x35bb8f(0x182)==_0x3c658e||_0x35bb8f(0xe3)==_0x3c658e||_0x35bb8f(0x109)==_0x3c658e||_0x35bb8f(0xe7)==_0x3c658e){delete _0x10d426[_0x376a31],_0x2fca2b=_0x3c658e,clearInterval(this[_0x35bb8f(0x102)]),this[_0x35bb8f(0x102)]=void 0x0;break;}}_0x35bb8f(0xda)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0x135)),_0x35bb8f(0x14c)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0xdd)),_0x35bb8f(0x152)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0xee)),_0x35bb8f(0x182)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0x114),_0x35bb8f(0x143)),_0x35bb8f(0xe3)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0x161)),_0x35bb8f(0x109)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0xe2)),_0x35bb8f(0xe7)==_0x2fca2b&&_0x10d426[_0x35bb8f(0x175)](_0x35bb8f(0x11c));},0x3e8);}[_0x42e3f1(0xd7)](){const _0x233925=_0x42e3f1;super[_0x233925(0xd7)](),this[_0x233925(0x102)]&&clearInterval(this[_0x233925(0x102)]);}[_0x42e3f1(0x126)](_0x235f47='',_0x401564='',_0xb8d564=_0x42e3f1(0x107)){const _0x4efd21=_0x42e3f1,_0x1b5509=this[_0x4efd21(0xd8)],_0x25c89a=_0x1b5509[_0x4efd21(0xdf)][_0x4efd21(0x13e)],_0x4ed39e=_0x1b5509[_0x4efd21(0xdb)][_0x4efd21(0x177)](_0x5c966d),_0x308a0f=_0x1b5509[_0x4efd21(0xdb)][_0x4efd21(0x177)](_0x2a73f7);_0x4ed39e[_0x4efd21(0x15e)]();const _0x4937d1=new l(),_0x310edc=new ClipboardEvent(_0x4efd21(0xe0),{'clipboardData':_0x4937d1}),_0x4f9da8=new _0x501343(_0x4937d1),_0x4385bd=new _0x32d08d(_0x25c89a,_0x310edc,{'dataTransfer':_0x4f9da8});_0x308a0f[_0x4efd21(0x15c)](_0x4efd21(0x155),()=>{const _0x4abdae=_0x4efd21;_0x25c89a[_0x4abdae(0x101)][_0x4abdae(0x139)](_0x4abdae(0xe0),_0x4385bd);}),this[_0x4efd21(0x133)]||(this[_0x4efd21(0xea)](),this[_0x4efd21(0xde)]=new _0x478af7(_0x1b5509,this[_0x4efd21(0x14b)][_0x4efd21(0x170)],this[_0x4efd21(0x133)]));let _0x52ad47=_0x4f9da8[_0x4efd21(0x146)](_0x4efd21(0x13d));const _0x3854c4=_0x1b5509[_0x4efd21(0xfe)][_0x4efd21(0x101)][_0x4efd21(0x157)],_0xfbd1c4=Array[_0x4efd21(0x17a)](_0x3854c4[_0x4efd21(0xe8)]());0x1===_0xfbd1c4[_0x4efd21(0x153)]&&_0xfbd1c4[0x0][_0x4efd21(0xf3)]&&!_0x3854c4[_0x4efd21(0x12b)]()&&''!==_0x52ad47[_0x4efd21(0x15b)](/ /g,'')[_0x4efd21(0x122)]()&&(_0x52ad47=_0x4efd21(0x17c)+_0x52ad47+_0x4efd21(0x124)),this[_0x4efd21(0xde)][_0x4efd21(0x11a)]({'actionId':_0xb8d564,'query':_0x235f47,'htmlContent':_0x52ad47,'label':_0x401564,'mainActionLabel':_0x45d3df[_0x1b5509[_0x4efd21(0xfe)][_0x4efd21(0x101)][_0x4efd21(0x157)][_0x4efd21(0x142)]?_0x4efd21(0x159):_0x4efd21(0x16d)]}),_0x4efd21(0x15a)!==this[_0x4efd21(0x113)]['id']?this[_0x4efd21(0x113)][_0x4efd21(0x14a)]({'id':_0x4efd21(0x15a),'icon':_0x241782,'title':_0x59b6ac(this[_0x4efd21(0xd8)][_0x4efd21(0xd6)],_0x4efd21(0x100)),'content':this[_0x4efd21(0x133)],'position':_0xd4f87b[_0x4efd21(0x12c)],'onShow':()=>{const _0xd95852=_0x4efd21;this[_0xd95852(0x133)][_0xd95852(0x12f)]();},'onHide':()=>{const _0x1e9424=_0x4efd21;this[_0x1e9424(0xde)][_0x1e9424(0x104)](),_0x4ed39e[_0x1e9424(0x16f)]();}}):this[_0x4efd21(0x113)][_0x4efd21(0x13e)][_0x4efd21(0xf5)]||this[_0x4efd21(0x113)][_0x4efd21(0x13e)][_0x4efd21(0x12d)]();}[_0x42e3f1(0x103)](){const _0x25c792=_0x42e3f1;this[_0x25c792(0x113)][_0x25c792(0xe6)]();}[_0x42e3f1(0xeb)](){const _0x587b3d=_0x42e3f1,_0x55d053=new Map(),_0x2eebce=_0x30c39d(this[_0x587b3d(0xd8)][_0x587b3d(0xfb)][_0x587b3d(0x177)](_0x587b3d(0xf0)),this[_0x587b3d(0xd8)][_0x587b3d(0xd6)]);for(const _0x27b9ed of _0x2eebce)for(const _0x38b6dd of _0x27b9ed[_0x587b3d(0x151)])_0x55d053[_0x587b3d(0x130)](_0x38b6dd['id'],{..._0x38b6dd,'groupId':_0x27b9ed[_0x587b3d(0x120)],'groupLabel':_0x27b9ed[_0x587b3d(0x128)]||_0x27b9ed[_0x587b3d(0x120)]});return _0x55d053;}[_0x42e3f1(0xf8)](_0x3bc730){const _0x24034b=_0x42e3f1,_0x5f018d=this[_0x24034b(0xd8)],_0x15c0a3=_0x5f018d[_0x24034b(0x151)][_0x24034b(0x177)](_0x24034b(0x11d)),_0x55f0bb=new _0x3bc730(_0x5f018d[_0x24034b(0xd6)]);return _0x55f0bb[_0x24034b(0x130)]({'label':_0x59b6ac(_0x5f018d[_0x24034b(0xd6)],_0x24034b(0x100)),'icon':_0x241782,'isToggleable':!0x0}),_0x55f0bb[_0x24034b(0xfa)](_0x24034b(0x179))['to'](_0x15c0a3),_0x55f0bb[_0x24034b(0xfa)](_0x24034b(0x119))['to'](this[_0x24034b(0x113)],'id',_0x388012=>_0x24034b(0x15a)===_0x388012),this[_0x24034b(0x123)](_0x55f0bb,_0x24034b(0x10b),()=>{const _0x25101d=_0x24034b;_0x55f0bb[_0x25101d(0x119)]?this[_0x25101d(0x103)]():_0x15c0a3[_0x25101d(0x10b)]();}),_0x55f0bb;}[_0x42e3f1(0xea)](){const _0x30811d=_0x42e3f1,_0x2a190e=this[_0x30811d(0xd8)][_0x30811d(0xdb)][_0x30811d(0x177)](_0x5c966d);this[_0x30811d(0x133)]=new _0x2dc277(this[_0x30811d(0xd8)][_0x30811d(0xd6)],this[_0x30811d(0xe5)],this[_0x30811d(0xd8)][_0x30811d(0xfb)][_0x30811d(0x177)](_0x30811d(0x140))),this[_0x30811d(0x133)]['on'](_0x30811d(0x17f),()=>{const _0x3f8cd3=_0x30811d;this[_0x3f8cd3(0x113)][_0x3f8cd3(0x13e)][_0x3f8cd3(0xf5)]||this[_0x3f8cd3(0x113)][_0x3f8cd3(0x13e)][_0x3f8cd3(0x12d)]();}),this[_0x30811d(0x133)][_0x30811d(0x165)][_0x30811d(0x13f)][_0x30811d(0x171)]['on'](_0x30811d(0x14f),()=>{const _0x44f0c2=_0x30811d;this[_0x44f0c2(0x113)][_0x44f0c2(0x13e)][_0x44f0c2(0xf5)]||this[_0x44f0c2(0x113)][_0x44f0c2(0x13e)][_0x44f0c2(0x12d)]();}),this[_0x30811d(0x123)](this[_0x30811d(0x133)],_0x30811d(0x115),()=>{const _0x5e99e3=_0x30811d;_0x2a190e[_0x5e99e3(0x138)](this[_0x5e99e3(0xde)][_0x5e99e3(0x149)]),this[_0x5e99e3(0x103)]();}),this[_0x30811d(0x123)](this[_0x30811d(0x133)],_0x30811d(0xd9),()=>{const _0x4e5dea=_0x30811d;_0x2a190e[_0x4e5dea(0xd9)](this[_0x4e5dea(0xde)][_0x4e5dea(0x149)]),this[_0x4e5dea(0x103)]();}),this[_0x30811d(0x141)]();}[_0x42e3f1(0x141)](){const _0x990076=_0x42e3f1,{locale:_0x3bd3bd,ui:{ariaLiveAnnouncer:_0x13941a}}=this[_0x990076(0xd8)];this[_0x990076(0x133)][_0x990076(0x105)]['on'](_0x990076(0x148),(_0x5ec5a4,_0x5d1a54,_0x589f82)=>{const _0x22ad4a=_0x990076,_0x164999=this[_0x22ad4a(0xde)][_0x22ad4a(0x149)];_0x589f82?_0x13941a[_0x22ad4a(0x132)](_0x59b6ac(_0x3bd3bd,_0x22ad4a(0x173))):_0x164999&&_0x13941a[_0x22ad4a(0x132)](_0x59b6ac(_0x3bd3bd,_0x22ad4a(0x15f),_0x164999),{'politeness':_0x22ad4a(0x145),'isUnsafeHTML':!0x0});}),this[_0x990076(0x133)]['on'](_0x990076(0x168),(_0x2ab3ba,_0x18d62,_0xe17cb0)=>{const _0x2478b5=_0x990076;if(_0xe17cb0){const _0x15f4e0=this[_0x2478b5(0x133)][_0x2478b5(0xf7)][_0x2478b5(0x15d)];_0x13941a[_0x2478b5(0x132)](_0x59b6ac(_0x3bd3bd,_0x2478b5(0x125),_0x15f4e0));}});}[_0x42e3f1(0x150)](_0x2566c9){const _0x18b0fc=_0x42e3f1,_0x443954=this[_0x18b0fc(0x12a)][_0x18b0fc(0x177)](_0x2566c9),_0x43ac84=this[_0x18b0fc(0xd8)],_0x52fb4e=_0x43ac84[_0x18b0fc(0xfe)][_0x18b0fc(0x101)][_0x18b0fc(0x157)],_0x314893=_0x43ac84[_0x18b0fc(0x151)][_0x18b0fc(0x177)](_0x18b0fc(0x11d)),_0x362cd7=_0x43ac84[_0x18b0fc(0xdb)][_0x18b0fc(0x177)](_0x5c966d),_0x2bff44=''+(_0x443954[_0x18b0fc(0x120)]!==_0x32df77?_0x443954[_0x18b0fc(0x128)]+':\x20':'')+_0x443954[_0x18b0fc(0x112)];if(!0x1!==_0x443954[_0x18b0fc(0x10c)]&&_0x52fb4e[_0x18b0fc(0x142)]){const _0x7689ab=_0x28db92(_0x52fb4e[_0x18b0fc(0xec)]())||_0x43ac84[_0x18b0fc(0xfe)][_0x18b0fc(0xf1)][_0x18b0fc(0x156)](_0x52fb4e);_0x43ac84[_0x18b0fc(0xfe)][_0x18b0fc(0x16b)](_0x226876=>{const _0x275f2e=_0x18b0fc;_0x226876[_0x275f2e(0x11f)](_0x7689ab,'in');});}_0x362cd7[_0x18b0fc(0x15e)](),_0x314893[_0x18b0fc(0x10b)](_0x443954[_0x18b0fc(0x118)],_0x2bff44,_0x18b0fc(0x174)+_0x2566c9);}[_0x42e3f1(0x16a)](_0x2a8fe3,_0x423790,_0x2344aa,_0x595bb5){const _0x561bb8=_0x42e3f1,_0x1c14cc=this[_0x561bb8(0xd8)],_0x1adf3d=_0x1c14cc[_0x561bb8(0xd6)],_0x416c69=new _0x1c64c3(_0x1adf3d),_0x54a588=U(_0x1c14cc,_0x2344aa)[_0x561bb8(0xf9)](_0xb6746e=>_0xb6746e[_0x561bb8(0x151)][_0x561bb8(0x153)]);0x1===_0x54a588[_0x561bb8(0x153)]?this[_0x561bb8(0xf2)]({'command':_0x2a8fe3,'commands':_0x54a588[0x0][_0x561bb8(0x151)],'parentMenuView':_0x423790,'onExecute':_0x595bb5})[_0x561bb8(0xf6)](_0x20a8a9=>_0x416c69[_0x561bb8(0x162)][_0x561bb8(0xf4)](_0x20a8a9)):_0x54a588[_0x561bb8(0xf6)](({groupId:_0x3f83fb,groupLabel:_0x59550a,commands:_0x105394})=>{const _0xc4e351=_0x561bb8,_0x29f7b7=new _0x396b62(_0x1adf3d,_0x423790),_0x4e6e74=new _0x59ecd6(_0x1adf3d),_0x817aa0=new _0x1c64c3(_0x1adf3d),_0x1c7e6e=this[_0xc4e351(0xf2)]({'command':_0x2a8fe3,'commands':_0x105394,'parentMenuView':_0x4e6e74,'onExecute':_0x595bb5});_0x4e6e74[_0xc4e351(0x180)][_0xc4e351(0x130)]({'label':_0x59550a||_0x3f83fb}),_0x4e6e74[_0xc4e351(0x166)](_0xc4e351(0x10b))['to'](_0x423790),_0x817aa0[_0xc4e351(0x162)][_0xc4e351(0x127)](_0x1c7e6e),_0x4e6e74[_0xc4e351(0x172)][_0xc4e351(0x17e)][_0xc4e351(0xf4)](_0x817aa0),_0x29f7b7[_0xc4e351(0x17e)][_0xc4e351(0xf4)](_0x4e6e74),_0x416c69[_0xc4e351(0x162)][_0xc4e351(0xf4)](_0x29f7b7);}),_0x423790[_0x561bb8(0x172)][_0x561bb8(0x17e)][_0x561bb8(0xf4)](_0x416c69);}[_0x42e3f1(0xf2)]({command:_0x3a9dd4,commands:_0x46cb96,parentMenuView:_0x183df1,onExecute:_0x416e65}){const _0x451ca0=_0x42e3f1,_0x2bad7a=this[_0x451ca0(0xd8)],_0x45cb62=_0x2bad7a[_0x451ca0(0xd6)];return U(_0x2bad7a,_0x46cb96)[_0x451ca0(0x13c)](_0x4e59d5=>{const _0x5ee12c=_0x451ca0,_0x5d4e28=new _0x396b62(_0x45cb62,_0x183df1),_0x32a736=new _0x4d869a(_0x45cb62);return _0x32a736[_0x5ee12c(0x130)]({'label':_0x4e59d5[_0x5ee12c(0x112)]}),_0x32a736[_0x5ee12c(0x166)](_0x5ee12c(0x10b))['to'](_0x183df1),_0x32a736['on'](_0x5ee12c(0x10b),()=>_0x416e65(_0x4e59d5['id'])),_0x32a736[_0x5ee12c(0xfa)](_0x5ee12c(0x179))['to'](_0x3a9dd4,_0x5ee12c(0xdc),_0x39d593=>_0x39d593[_0x5ee12c(0xef)](_0x4e59d5['id'])),_0x5d4e28[_0x5ee12c(0x17e)][_0x5ee12c(0xf4)](_0x32a736),_0x5d4e28;});}}function T(_0x50bf90,_0x365c0e){const _0x2b87f6=_0x42e3f1;return void 0x0!==_0x50bf90[_0x2b87f6(0x167)]&&void 0x0===_0x365c0e[_0x2b87f6(0x167)]?0x1:void 0x0===_0x50bf90[_0x2b87f6(0x167)]&&void 0x0!==_0x365c0e[_0x2b87f6(0x167)]?-0x1:void 0x0!==_0x50bf90[_0x2b87f6(0x167)]&&void 0x0!==_0x365c0e[_0x2b87f6(0x167)]?_0x50bf90[_0x2b87f6(0x167)]-_0x365c0e[_0x2b87f6(0x167)]:0x0;}function U(_0x1a9d5d,_0x1e1e6e){const _0x512057=_0x42e3f1;_0x1e1e6e[_0x512057(0x16c)](T);const _0x25eaa7={},_0x50a960=[];for(const _0x453b5e of _0x1e1e6e)if(void 0x0!==_0x453b5e[_0x512057(0x167)]){if(_0x453b5e[_0x512057(0x167)]in _0x25eaa7)throw new _0x5946eb(_0x512057(0x183),_0x1a9d5d,{'conflictingDefinitions':[_0x453b5e,_0x25eaa7[_0x453b5e[_0x512057(0x167)]]]});_0x25eaa7[_0x453b5e[_0x512057(0x167)]]=_0x453b5e,_0x50a960[_0x512057(0x11e)](_0x453b5e[_0x512057(0x167)],0x0,_0x453b5e);}else _0x50a960[_0x512057(0x13a)](_0x453b5e);return _0x50a960;}
|
|
23
|
+
const _0x266a20=_0x4b97;(function(_0x1cd6e1,_0x17bcff){const _0x5db235=_0x4b97,_0x1f06bd=_0x1cd6e1();while(!![]){try{const _0x462c3e=-parseInt(_0x5db235(0xe7))/0x1*(parseInt(_0x5db235(0x145))/0x2)+-parseInt(_0x5db235(0x176))/0x3*(parseInt(_0x5db235(0x122))/0x4)+parseInt(_0x5db235(0x149))/0x5*(-parseInt(_0x5db235(0x174))/0x6)+-parseInt(_0x5db235(0x164))/0x7*(parseInt(_0x5db235(0x107))/0x8)+parseInt(_0x5db235(0x17d))/0x9+parseInt(_0x5db235(0x11a))/0xa+-parseInt(_0x5db235(0x190))/0xb*(-parseInt(_0x5db235(0x103))/0xc);if(_0x462c3e===_0x17bcff)break;else _0x1f06bd['push'](_0x1f06bd['shift']());}catch(_0x371d17){_0x1f06bd['push'](_0x1f06bd['shift']());}}}(_0x54b4,0x63161));import{Plugin as _0x43b6c0}from'ckeditor5/src/core.js';import{IconMagicWand as _0x421ad6,IconRobotPencil as _0x23ef52}from'ckeditor5/src/icons.js';import{first as _0x4ddfcc,CKEditorError as _0x1ae989}from'ckeditor5/src/utils.js';import{createDropdown as _0x5b45f9,addMenuToDropdown as _0x29cad2,ButtonView as _0x5b8214,MenuBarMenuListItemButtonView as _0x242d56,Dialog as _0x2bc4b1,DialogViewPosition as _0x36fb51,MenuBarMenuView as _0x1fe446,MenuBarMenuListView as _0x1b3f28,MenuBarMenuListItemView as _0x4f156d}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x395120,UNGROUPED_COMMANDS_GROUP_ID as _0x57e837}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0xf76449}from'./aiassistantediting.js';import{AIAdapter as _0x5470e8}from'./adapters/aiadapter.js';import{getTranslation as _0x583892}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x58b1c8}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x229ae9}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x4650f6}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2544b7}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x266a20(0x13f)];import{ClipboardMarkersUtils as _0x776808}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x544603,ViewDataTransfer as _0x3da591}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x43b6c0{[_0x266a20(0xfa)];[_0x266a20(0x134)];[_0x266a20(0xfe)];[_0x266a20(0x143)];[_0x266a20(0x15a)];[_0x266a20(0x156)];[_0x266a20(0x17e)]='';static get[_0x266a20(0x126)](){const _0x36971b=_0x266a20;return _0x36971b(0xf1);}static get[_0x266a20(0x17a)](){return!0x0;}static get[_0x266a20(0x110)](){return!0x0;}static get[_0x266a20(0x13d)](){return[_0x776808,_0xf76449,_0x5470e8,_0x2bc4b1];}constructor(_0x49802a){const _0x346b53=_0x266a20;super(_0x49802a),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x12d),[_0x346b53(0xed),_0x346b53(0x192),_0x346b53(0x155)]),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x113),''),_0x49802a[_0x346b53(0x169)][_0x346b53(0x17f)](_0x346b53(0x196),!0x0),this[_0x346b53(0x17e)]=_0x346b53(0x184)+(_0x49802a[_0x346b53(0x169)][_0x346b53(0x141)](_0x346b53(0x196))?_0x346b53(0x12e):'');}[_0x266a20(0x150)](){const _0x2fec98=_0x266a20,{editor:_0x2e12c4}=this;this[_0x2fec98(0x15a)]=_0x2e12c4[_0x2fec98(0x117)][_0x2fec98(0x141)](_0x5470e8),this[_0x2fec98(0xfe)]=_0x2e12c4[_0x2fec98(0x117)][_0x2fec98(0x141)](_0x2bc4b1),this[_0x2fec98(0x143)]=null,this[_0x2fec98(0x197)]=this[_0x2fec98(0x124)]();const _0x4a71a8=new _0x58b1c8(_0x2e12c4,Array[_0x2fec98(0x142)](this[_0x2fec98(0x197)][_0x2fec98(0x177)]()));_0x2e12c4[_0x2fec98(0xea)][_0x2fec98(0x191)](_0x2fec98(0x18f),_0x4a71a8),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x12c),_0x4cbdfb=>{const _0x4c883e=_0x2fec98,_0x119810=_0x5b45f9(_0x4cbdfb);return _0x119810[_0x4c883e(0x157)]({'class':_0x4c883e(0x18a)+this[_0x4c883e(0x17e)]}),_0x119810[_0x4c883e(0x18e)][_0x4c883e(0x157)]({'label':_0x583892(_0x4cbdfb,_0x4c883e(0x131)),'icon':_0x421ad6,'tooltip':!0x0}),_0x119810['on'](_0x4c883e(0x101),_0x36dadf=>this[_0x4c883e(0x14a)](_0x36dadf[_0x4c883e(0x178)]['id'])),_0x29cad2(_0x119810,_0x2e12c4['ui'][_0x4c883e(0x16b)][_0x4c883e(0x129)],function(_0x48c419){const _0x156151=_0x4c883e,_0x5cff8d=_0x395120(_0x48c419[_0x156151(0x169)][_0x156151(0x141)](_0x156151(0x137)),_0x48c419[_0x156151(0xf4)]),_0x4e4fce=U(_0x48c419,_0x5cff8d)[_0x156151(0x14b)](_0x1862d6=>_0x1862d6[_0x156151(0xea)][_0x156151(0x100)]);if(0x1===_0x4e4fce[_0x156151(0x100)])return U(_0x48c419,_0x4e4fce[0x0][_0x156151(0xea)])[_0x156151(0x179)](_0x4f485c=>({'id':_0x4f485c['id'],'label':_0x4f485c[_0x156151(0x18b)]}));return _0x4e4fce[_0x156151(0x179)](_0x368d92=>{const _0x4d9506=_0x156151,{groupId:_0x1630d3,groupLabel:_0x3c193f,commands:_0x28a88e}=_0x368d92,_0x5f42f2=U(_0x48c419,_0x28a88e)[_0x4d9506(0x179)](_0x564c89=>({'id':_0x564c89['id'],'label':_0x564c89[_0x4d9506(0x18b)]}));return{'id':_0x1630d3,'menu':_0x3c193f||_0x1630d3,'children':_0x5f42f2};});}(_0x2e12c4),{'ariaLabel':_0x583892(_0x4cbdfb,_0x4c883e(0x131))}),_0x119810[_0x4c883e(0x17c)][_0x4c883e(0x144)]=_0x4c883e(0x18a)+this[_0x4c883e(0x17e)],_0x4a71a8['on'](_0x4c883e(0x166),_0x7e9c9c),_0x119810[_0x4c883e(0x17c)][_0x4c883e(0x14d)](_0x4c883e(0x182),_0x7e9c9c),_0x119810;function _0x7e9c9c(){const _0x5a5f8c=_0x4c883e;_0x119810[_0x5a5f8c(0x175)]=_0x4a71a8[_0x5a5f8c(0x16f)][_0x5a5f8c(0x100)]>0x0;for(const _0x2569c7 of _0x119810[_0x5a5f8c(0x17c)][_0x5a5f8c(0x119)])_0x2569c7[_0x5a5f8c(0x175)]=_0x4a71a8[_0x5a5f8c(0x16f)][_0x5a5f8c(0xf8)](_0x2569c7['id']);}}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x132),_0x398ef8=>{const _0x363d80=_0x2fec98,_0x3e2266=new _0x1fe446(_0x398ef8);_0x3e2266[_0x363d80(0x18e)][_0x363d80(0x157)]({'label':_0x583892(_0x398ef8,_0x363d80(0x131)),'icon':_0x421ad6}),_0x3e2266[_0x363d80(0x111)](_0x363d80(0x175))['to'](_0x4a71a8,_0x363d80(0x16f),_0x5f17db=>_0x5f17db[_0x363d80(0x100)]>0x0);const _0x116607=_0x395120(_0x2e12c4[_0x363d80(0x169)][_0x363d80(0x141)](_0x363d80(0x137)),_0x398ef8);return this[_0x363d80(0x151)](_0x4a71a8,_0x3e2266,_0x116607,_0x29c2d2=>this[_0x363d80(0x14a)](_0x29c2d2)),_0x3e2266;}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0xf6),()=>{const _0x5038c8=_0x2fec98,_0x5aa3e4=this[_0x5038c8(0x146)](_0x5b8214);return _0x5aa3e4[_0x5038c8(0x157)]({'tooltip':!0x0,'class':_0x5038c8(0x136)+this[_0x5038c8(0x17e)]}),_0x5aa3e4;}),_0x2e12c4['ui'][_0x2fec98(0x173)][_0x2fec98(0x191)](_0x2fec98(0x139),()=>{const _0x44f70=_0x2fec98,_0x17e376=this[_0x44f70(0x146)](_0x242d56);return _0x17e376[_0x44f70(0x157)]({'role':_0x44f70(0x15e)}),_0x17e376;}),this[_0x2fec98(0xfa)]=this[_0x2fec98(0x121)][_0x2fec98(0x169)][_0x2fec98(0x141)](_0x2fec98(0xfa));const _0x14deac=this[_0x2fec98(0x121)];this[_0x2fec98(0x134)]=setInterval(()=>{const _0x46288c=_0x2fec98;let _0x2c1256;for(const _0x247ef6 in _0x14deac){const _0xc6cc40=_0x247ef6,_0x492494=_0x14deac[_0xc6cc40];if(_0x46288c(0x12a)==_0x492494||_0x46288c(0x11b)==_0x492494||_0x46288c(0x15f)==_0x492494||_0x46288c(0x11d)==_0x492494||_0x46288c(0x115)==_0x492494||_0x46288c(0x189)==_0x492494||_0x46288c(0x15c)==_0x492494||_0x46288c(0x140)==_0x492494){delete _0x14deac[_0xc6cc40],_0x2c1256=_0x492494,clearInterval(this[_0x46288c(0x134)]),this[_0x46288c(0x134)]=void 0x0;break;}}_0x46288c(0x11b)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x12b)),_0x46288c(0x15f)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x112)),_0x46288c(0x11d)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x106)),_0x46288c(0x115)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x138),_0x46288c(0x162)),_0x46288c(0x189)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x18c)),_0x46288c(0x15c)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x186)),_0x46288c(0x140)==_0x2c1256&&_0x14deac[_0x46288c(0x125)](_0x46288c(0x194));},0x3e8);}[_0x266a20(0x13a)](){const _0x15ea8f=_0x266a20;super[_0x15ea8f(0x13a)](),this[_0x15ea8f(0x134)]&&clearInterval(this[_0x15ea8f(0x134)]);}[_0x266a20(0xf5)](_0x2e1a5c='',_0x4b1ba9='',_0x52c974=_0x266a20(0x133)){const _0x5ce98f=_0x266a20,_0x26daa5=this[_0x5ce98f(0x121)],_0x5f4d83=_0x26daa5[_0x5ce98f(0x11c)][_0x5ce98f(0x16b)],_0x386569=_0x26daa5[_0x5ce98f(0x117)][_0x5ce98f(0x141)](_0xf76449),_0x1794ea=_0x26daa5[_0x5ce98f(0x117)][_0x5ce98f(0x141)](_0x776808);_0x386569[_0x5ce98f(0x10e)]();const _0x2c9103=new l(),_0x51ea40=new ClipboardEvent(_0x5ce98f(0x17b),{'clipboardData':_0x2c9103}),_0x28a99c=new _0x3da591(_0x2c9103),_0x1244f1=new _0x544603(_0x5f4d83,_0x51ea40,{'dataTransfer':_0x28a99c});_0x1794ea[_0x5ce98f(0x11f)](_0x5ce98f(0x130),()=>{const _0x2f7c7b=_0x5ce98f;_0x5f4d83[_0x2f7c7b(0x102)][_0x2f7c7b(0x193)](_0x2f7c7b(0x17b),_0x1244f1);}),this[_0x5ce98f(0x143)]||(this[_0x5ce98f(0xeb)](),this[_0x5ce98f(0x156)]=new _0x229ae9(_0x26daa5,this[_0x5ce98f(0x15a)][_0x5ce98f(0x15d)],this[_0x5ce98f(0x143)]));let _0x4758ef=_0x28a99c[_0x5ce98f(0x195)](_0x5ce98f(0x180));const _0x1fd6ee=_0x26daa5[_0x5ce98f(0x128)][_0x5ce98f(0x102)][_0x5ce98f(0x123)],_0x2f7119=Array[_0x5ce98f(0x142)](_0x1fd6ee[_0x5ce98f(0x185)]());0x1===_0x2f7119[_0x5ce98f(0x100)]&&_0x2f7119[0x0][_0x5ce98f(0x181)]&&!_0x1fd6ee[_0x5ce98f(0x159)]()&&''!==_0x4758ef[_0x5ce98f(0x10c)](/ /g,'')[_0x5ce98f(0x16a)]()&&(_0x4758ef=_0x5ce98f(0x165)+_0x4758ef+_0x5ce98f(0xef)),this[_0x5ce98f(0x156)][_0x5ce98f(0x16d)]({'actionId':_0x52c974,'query':_0x2e1a5c,'htmlContent':_0x4758ef,'label':_0x4b1ba9,'mainActionLabel':_0x2544b7[_0x26daa5[_0x5ce98f(0x128)][_0x5ce98f(0x102)][_0x5ce98f(0x123)][_0x5ce98f(0x11e)]?_0x5ce98f(0x120):_0x5ce98f(0xe8)]}),_0x5ce98f(0xf6)!==this[_0x5ce98f(0xfe)]['id']?this[_0x5ce98f(0xfe)][_0x5ce98f(0x14f)]({'id':_0x5ce98f(0xf6),'icon':_0x23ef52,'title':_0x583892(this[_0x5ce98f(0x121)][_0x5ce98f(0xf4)],_0x5ce98f(0x13c)),'content':this[_0x5ce98f(0x143)],'position':_0x36fb51[_0x5ce98f(0x170)],'onShow':()=>{const _0x300bc7=_0x5ce98f;this[_0x300bc7(0x143)][_0x300bc7(0x10d)]();},'onHide':()=>{const _0xcbc19d=_0x5ce98f;this[_0xcbc19d(0x156)][_0xcbc19d(0x160)](),_0x386569[_0xcbc19d(0xf0)]();}}):this[_0x5ce98f(0xfe)][_0x5ce98f(0x16b)][_0x5ce98f(0xe9)]||this[_0x5ce98f(0xfe)][_0x5ce98f(0x16b)][_0x5ce98f(0x127)]();}[_0x266a20(0x167)](){const _0x23af27=_0x266a20;this[_0x23af27(0xfe)][_0x23af27(0x171)]();}[_0x266a20(0x124)](){const _0x398d3a=_0x266a20,_0x3035f1=new Map(),_0x3cad25=_0x395120(this[_0x398d3a(0x121)][_0x398d3a(0x169)][_0x398d3a(0x141)](_0x398d3a(0x137)),this[_0x398d3a(0x121)][_0x398d3a(0xf4)]);for(const _0x5b95ce of _0x3cad25)for(const _0x3c2deb of _0x5b95ce[_0x398d3a(0xea)])_0x3035f1[_0x398d3a(0x157)](_0x3c2deb['id'],{..._0x3c2deb,'groupId':_0x5b95ce[_0x398d3a(0x13b)],'groupLabel':_0x5b95ce[_0x398d3a(0x153)]||_0x5b95ce[_0x398d3a(0x13b)]});return _0x3035f1;}[_0x266a20(0x146)](_0x464aa9){const _0x177fa8=_0x266a20,_0x2cceab=this[_0x177fa8(0x121)],_0x2e2cb8=_0x2cceab[_0x177fa8(0xea)][_0x177fa8(0x141)](_0x177fa8(0x18f)),_0x42ab63=new _0x464aa9(_0x2cceab[_0x177fa8(0xf4)]);return _0x42ab63[_0x177fa8(0x157)]({'label':_0x583892(_0x2cceab[_0x177fa8(0xf4)],_0x177fa8(0x13c)),'icon':_0x23ef52,'isToggleable':!0x0}),_0x42ab63[_0x177fa8(0x111)](_0x177fa8(0x175))['to'](_0x2e2cb8),_0x42ab63[_0x177fa8(0x111)](_0x177fa8(0x147))['to'](this[_0x177fa8(0xfe)],'id',_0x21176a=>_0x177fa8(0xf6)===_0x21176a),this[_0x177fa8(0x118)](_0x42ab63,_0x177fa8(0x101),()=>{const _0x5ca495=_0x177fa8;_0x42ab63[_0x5ca495(0x147)]?this[_0x5ca495(0x167)]():_0x2e2cb8[_0x5ca495(0x101)]();}),_0x42ab63;}[_0x266a20(0xeb)](){const _0x126e66=_0x266a20,_0x24ef09=this[_0x126e66(0x121)][_0x126e66(0x117)][_0x126e66(0x141)](_0xf76449);this[_0x126e66(0x143)]=new _0x4650f6(this[_0x126e66(0x121)][_0x126e66(0xf4)],this[_0x126e66(0x17e)],this[_0x126e66(0x121)][_0x126e66(0x169)][_0x126e66(0x141)](_0x126e66(0x113))),this[_0x126e66(0x143)]['on'](_0x126e66(0x109),()=>{const _0x295500=_0x126e66;this[_0x295500(0xfe)][_0x295500(0x16b)][_0x295500(0xe9)]||this[_0x295500(0xfe)][_0x295500(0x16b)][_0x295500(0x127)]();}),this[_0x126e66(0x143)][_0x126e66(0x18d)][_0x126e66(0x183)][_0x126e66(0x13e)]['on'](_0x126e66(0x105),()=>{const _0x4560d6=_0x126e66;this[_0x4560d6(0xfe)][_0x4560d6(0x16b)][_0x4560d6(0xe9)]||this[_0x4560d6(0xfe)][_0x4560d6(0x16b)][_0x4560d6(0x127)]();}),this[_0x126e66(0x118)](this[_0x126e66(0x143)],_0x126e66(0x187),()=>{const _0xb2d860=_0x126e66;_0x24ef09[_0xb2d860(0x158)](this[_0xb2d860(0x156)][_0xb2d860(0x114)]),this[_0xb2d860(0x167)]();}),this[_0x126e66(0x118)](this[_0x126e66(0x143)],_0x126e66(0x10f),()=>{const _0x53f8c9=_0x126e66;_0x24ef09[_0x53f8c9(0x10f)](this[_0x53f8c9(0x156)][_0x53f8c9(0x114)]),this[_0x53f8c9(0x167)]();}),this[_0x126e66(0xee)]();}[_0x266a20(0xee)](){const _0x525ba3=_0x266a20,{locale:_0x13fad9,ui:{ariaLiveAnnouncer:_0x29c5e6}}=this[_0x525ba3(0x121)];this[_0x525ba3(0x143)][_0x525ba3(0xf7)]['on'](_0x525ba3(0x15b),(_0x4b874d,_0x15b5e5,_0x163d58)=>{const _0x26fcaf=_0x525ba3,_0xb7a54=this[_0x26fcaf(0x156)][_0x26fcaf(0x114)];_0x163d58?_0x29c5e6[_0x26fcaf(0x188)](_0x583892(_0x13fad9,_0x26fcaf(0xfb))):_0xb7a54&&_0x29c5e6[_0x26fcaf(0x188)](_0x583892(_0x13fad9,_0x26fcaf(0x12f),_0xb7a54),{'politeness':_0x26fcaf(0xfc),'isUnsafeHTML':!0x0});}),this[_0x525ba3(0x143)]['on'](_0x525ba3(0xf3),(_0x22eeef,_0xf0e35c,_0x6e680e)=>{const _0x292949=_0x525ba3;if(_0x6e680e){const _0x331e67=this[_0x292949(0x143)][_0x292949(0x116)][_0x292949(0x104)];_0x29c5e6[_0x292949(0x188)](_0x583892(_0x13fad9,_0x292949(0x135),_0x331e67));}});}[_0x266a20(0x14a)](_0xe456a1){const _0x11a37c=_0x266a20,_0x398c10=this[_0x11a37c(0x197)][_0x11a37c(0x141)](_0xe456a1),_0x3f3a7d=this[_0x11a37c(0x121)],_0x4b3f46=_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x102)][_0x11a37c(0x123)],_0x1b9af0=_0x3f3a7d[_0x11a37c(0xea)][_0x11a37c(0x141)](_0x11a37c(0x18f)),_0x4cc583=_0x3f3a7d[_0x11a37c(0x117)][_0x11a37c(0x141)](_0xf76449),_0x2de86d=''+(_0x398c10[_0x11a37c(0x13b)]!==_0x57e837?_0x398c10[_0x11a37c(0x153)]+':\x20':'')+_0x398c10[_0x11a37c(0x18b)];if(!0x1!==_0x398c10[_0x11a37c(0xfd)]&&_0x4b3f46[_0x11a37c(0x11e)]){const _0x572717=_0x4ddfcc(_0x4b3f46[_0x11a37c(0x148)]())||_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x16c)][_0x11a37c(0x163)](_0x4b3f46);_0x3f3a7d[_0x11a37c(0x128)][_0x11a37c(0x172)](_0x3b1e60=>{const _0x177fac=_0x11a37c;_0x3b1e60[_0x177fac(0xff)](_0x572717,'in');});}_0x4cc583[_0x11a37c(0x10e)](),_0x1b9af0[_0x11a37c(0x101)](_0x398c10[_0x11a37c(0x152)],_0x2de86d,_0x11a37c(0x14e)+_0xe456a1);}[_0x266a20(0x151)](_0x9c4891,_0x44de34,_0xca7cc9,_0x55c21e){const _0x475501=_0x266a20,_0x4308ba=this[_0x475501(0x121)],_0x4ce11c=_0x4308ba[_0x475501(0xf4)],_0x53fc03=new _0x1b3f28(_0x4ce11c),_0x5ab1d1=U(_0x4308ba,_0xca7cc9)[_0x475501(0x14b)](_0x2543fe=>_0x2543fe[_0x475501(0xea)][_0x475501(0x100)]);0x1===_0x5ab1d1[_0x475501(0x100)]?this[_0x475501(0x108)]({'command':_0x9c4891,'commands':_0x5ab1d1[0x0][_0x475501(0xea)],'parentMenuView':_0x44de34,'onExecute':_0x55c21e})[_0x475501(0x154)](_0x5d36c7=>_0x53fc03[_0x475501(0xf2)][_0x475501(0x191)](_0x5d36c7)):_0x5ab1d1[_0x475501(0x154)](({groupId:_0x10d4a0,groupLabel:_0x4183fc,commands:_0xa754c4})=>{const _0x21c031=_0x475501,_0x51f078=new _0x4f156d(_0x4ce11c,_0x44de34),_0x568a4a=new _0x1fe446(_0x4ce11c),_0x252d16=new _0x1b3f28(_0x4ce11c),_0x56404e=this[_0x21c031(0x108)]({'command':_0x9c4891,'commands':_0xa754c4,'parentMenuView':_0x568a4a,'onExecute':_0x55c21e});_0x568a4a[_0x21c031(0x18e)][_0x21c031(0x157)]({'label':_0x4183fc||_0x10d4a0}),_0x568a4a[_0x21c031(0x16e)](_0x21c031(0x101))['to'](_0x44de34),_0x252d16[_0x21c031(0xf2)][_0x21c031(0x161)](_0x56404e),_0x568a4a[_0x21c031(0x168)][_0x21c031(0x198)][_0x21c031(0x191)](_0x252d16),_0x51f078[_0x21c031(0x198)][_0x21c031(0x191)](_0x568a4a),_0x53fc03[_0x21c031(0xf2)][_0x21c031(0x191)](_0x51f078);}),_0x44de34[_0x475501(0x168)][_0x475501(0x198)][_0x475501(0x191)](_0x53fc03);}[_0x266a20(0x108)]({command:_0x153044,commands:_0x3a4479,parentMenuView:_0x1d290f,onExecute:_0x2ed2d2}){const _0x1aebbb=_0x266a20,_0x10aabc=this[_0x1aebbb(0x121)],_0x222bdf=_0x10aabc[_0x1aebbb(0xf4)];return U(_0x10aabc,_0x3a4479)[_0x1aebbb(0x179)](_0x2afc1c=>{const _0x3ee08a=_0x1aebbb,_0x10a88b=new _0x4f156d(_0x222bdf,_0x1d290f),_0x251982=new _0x242d56(_0x222bdf);return _0x251982[_0x3ee08a(0x157)]({'label':_0x2afc1c[_0x3ee08a(0x18b)]}),_0x251982[_0x3ee08a(0x16e)](_0x3ee08a(0x101))['to'](_0x1d290f),_0x251982['on'](_0x3ee08a(0x101),()=>_0x2ed2d2(_0x2afc1c['id'])),_0x251982[_0x3ee08a(0x111)](_0x3ee08a(0x175))['to'](_0x153044,_0x3ee08a(0x16f),_0x1f8ad2=>_0x1f8ad2[_0x3ee08a(0xf8)](_0x2afc1c['id'])),_0x10a88b[_0x3ee08a(0x198)][_0x3ee08a(0x191)](_0x251982),_0x10a88b;});}}function _0x54b4(){const _0x564d41=['aiLicenseKeyNotAllowed','errorView','plugins','listenTo','buttons','2147640PLYdaO','aiLicenseKeyInvalid','editing','aiLicenseKeyDomainLimit','isCollapsed','_forceMarkersCopy','INSERT','editor','144588tgkfbc','selection','_getResolvedCommandsDefinitions','_showLicenseError','pluginName','updatePosition','model','body','aiLicenseKeyValid','invalid','aiCommands','ai.aiAssistant.disabledElements','\x20ck-ai-assistant-ui_theme','Generated\x20content:\x20%0','comment','AI\x20Commands','menuBar:aiCommands','custom','_licenseKeyCheckInterval','Error\x20during\x20AI\x20content\x20generation:\x20%0','ck-ai-assistant-button\x20','ai.aiAssistant.commands','featureNotAllowed','menuBar:aiAssistant','destroy','groupId','AI\x20Assistant','requires','fieldView','DataTransfer','aiLicenseKeyUsageLimit','get','from','_formView','menuPanelClass','35992LnUPgM','_createAIAssistantUIButton','isOn','getSelectedBlocks','195MeaLlw','_onExecute','filter','ai-commands-config-order-collision','once','command:','show','init','_populateMenuBarMenu','prompt','groupLabel','forEach','tableOfContents','_aiAssistantController','set','insertContent','getSelectedElement','_aiAdapter','change:isProcessing','aiLicenseKeyTrialLimit','textAdapter','menuitemcheckbox','aiLicenseKeyExpired','reset','addMany','AIAssistant','getLimitElement','7IzVQQv','<p>','change:enabledCommandsIds','hideUI','panelView','config','trim','view','schema','updateView','delegate','enabledCommandsIds','EDITOR_TOP_SIDE','hide','change','componentFactory','8058SBDhpg','isEnabled','60libVqH','values','source','map','isOfficialPlugin','copy','menuView','6175638LgpOpQ','_uiCssClasses','define','text/html','isFlat','render','queryView','ck-ai-assistant-ui','getRanges','trialLimit','replaceContent','announce','aiLicenseKeyEvaluationLimit','ck-ai-commands-dropdown\x20','label','evaluationLimit','promptView','buttonView','showAIAssistant','11WsNNzs','add','rawHtml','fire','usageLimit','getData','ai.useTheme','_commandDefinitions','children','7lntMwH','REPLACE','wasMoved','commands','_initView','splice','media','_initAriaAiStatusChangeAnnouncements','</p>','hideFakeVisualSelection','AIAssistantUI','items','change:isError','locale','showUI','aiAssistant','contentArea','includes','order','licenseKey','AI\x20is\x20writing','polite','requiresContent','_dialog','setSelection','length','execute','document','5890104XrAFoR','text','update','domainLimit','677136JdXTRl','_getMenuBarGroupButtons','change:value','push','sort','replace','focus','showFakeVisualSelection','insertContentBelow','isPremiumPlugin','bind','expired','ai.aiAssistant.contentAreaCssClass','currentContext'];_0x54b4=function(){return _0x564d41;};return _0x54b4();}function _0x4b97(_0x187456,_0x28a538){const _0x54b4cb=_0x54b4();return _0x4b97=function(_0x4b97a0,_0x15c7cb){_0x4b97a0=_0x4b97a0-0xe7;let _0x141184=_0x54b4cb[_0x4b97a0];return _0x141184;},_0x4b97(_0x187456,_0x28a538);}function T(_0xd55c37,_0x153543){const _0x4c3027=_0x266a20;return void 0x0!==_0xd55c37[_0x4c3027(0xf9)]&&void 0x0===_0x153543[_0x4c3027(0xf9)]?0x1:void 0x0===_0xd55c37[_0x4c3027(0xf9)]&&void 0x0!==_0x153543[_0x4c3027(0xf9)]?-0x1:void 0x0!==_0xd55c37[_0x4c3027(0xf9)]&&void 0x0!==_0x153543[_0x4c3027(0xf9)]?_0xd55c37[_0x4c3027(0xf9)]-_0x153543[_0x4c3027(0xf9)]:0x0;}function U(_0x5a0281,_0x1be808){const _0x4eed14=_0x266a20;_0x1be808[_0x4eed14(0x10b)](T);const _0x24146e={},_0x2b5ab5=[];for(const _0x4c33a4 of _0x1be808)if(void 0x0!==_0x4c33a4[_0x4eed14(0xf9)]){if(_0x4c33a4[_0x4eed14(0xf9)]in _0x24146e)throw new _0x1ae989(_0x4eed14(0x14c),_0x5a0281,{'conflictingDefinitions':[_0x4c33a4,_0x24146e[_0x4c33a4[_0x4eed14(0xf9)]]]});_0x24146e[_0x4c33a4[_0x4eed14(0xf9)]]=_0x4c33a4,_0x2b5ab5[_0x4eed14(0xec)](_0x4c33a4[_0x4eed14(0xf9)],0x0,_0x4c33a4);}else _0x2b5ab5[_0x4eed14(0x10a)](_0x4c33a4);return _0x2b5ab5;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2aab69,_0x573027){var _0x1bc648=_0x24b5,_0x106537=_0x2aab69();while(!![]){try{var _0x36805c=-parseInt(_0x1bc648(0x164))/0x1+parseInt(_0x1bc648(0x16a))/0x2*(-parseInt(_0x1bc648(0x162))/0x3)+parseInt(_0x1bc648(0x161))/0x4+-parseInt(_0x1bc648(0x163))/0x5*(parseInt(_0x1bc648(0x167))/0x6)+parseInt(_0x1bc648(0x166))/0x7+-parseInt(_0x1bc648(0x165))/0x8+parseInt(_0x1bc648(0x169))/0x9*(parseInt(_0x1bc648(0x168))/0xa);if(_0x36805c===_0x573027)break;else _0x106537['push'](_0x106537['shift']());}catch(_0x3cc2b1){_0x106537['push'](_0x106537['shift']());}}}(_0x43a6,0x1d973));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x24b5(_0x158d8d,_0x22c1f1){var _0x43a6ee=_0x43a6();return _0x24b5=function(_0x24b53b,_0x3925c7){_0x24b53b=_0x24b53b-0x161;var _0x59bf9e=_0x43a6ee[_0x24b53b];return _0x59bf9e;},_0x24b5(_0x158d8d,_0x22c1f1);}export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0x43a6(){var _0x195c7c=['396sjdTXR','132PfnMhz','826392kSWZPV','1788JLOZxB','290HGDCmm','63043gmYbCp','1477544lXlqMm','622181mbLupw','2838NHiTCv','31870GnrVgy'];_0x43a6=function(){return _0x195c7c;};return _0x43a6();}export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xaabf54,_0x12b105){var _0x30683b=_0x313c,_0x21fb22=_0xaabf54();while(!![]){try{var _0x14126e=-parseInt(_0x30683b(0x1d6))/0x1*(-parseInt(_0x30683b(0x1d0))/0x2)+parseInt(_0x30683b(0x1d4))/0x3+parseInt(_0x30683b(0x1d2))/0x4+parseInt(_0x30683b(0x1d7))/0x5+-parseInt(_0x30683b(0x1d3))/0x6+parseInt(_0x30683b(0x1d8))/0x7+parseInt(_0x30683b(0x1d1))/0x8*(-parseInt(_0x30683b(0x1d5))/0x9);if(_0x14126e===_0x12b105)break;else _0x21fb22['push'](_0x21fb22['shift']());}catch(_0x21556f){_0x21fb22['push'](_0x21fb22['shift']());}}}(_0x557a,0xa808b));function _0x313c(_0x16c3ea,_0x32ad40){var _0x557a90=_0x557a();return _0x313c=function(_0x313cbc,_0x2c46a0){_0x313cbc=_0x313cbc-0x1d0;var _0x24ded8=_0x557a90[_0x313cbc];return _0x24ded8;},_0x313c(_0x16c3ea,_0x32ad40);}import{CKEditorError as _0x46cbbb}from'ckeditor5/src/utils.js';function _0x557a(){var _0x1a3269=['121347Zukiod','9uDUcOC','13jFXOJK','3756375QpaWdS','9144730MRFzaF','49116morvSf','18546728XRbxhG','4742564LYbjHZ','3578406vBcYRU'];_0x557a=function(){return _0x1a3269;};return _0x557a();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x4b5f(_0x4e55a4,_0x5095d6){const _0x330e1a=_0x330e();return _0x4b5f=function(_0x4b5f4a,_0xf48fa7){_0x4b5f4a=_0x4b5f4a-0x1a1;let _0x559827=_0x330e1a[_0x4b5f4a];return _0x559827;},_0x4b5f(_0x4e55a4,_0x5095d6);}function _0x330e(){const _0x10b99b=['endsWith','document','submitPrompt','startProcessing','190310bEtaLA','4908iQOaNR','name','render','editing','previousQuery','_normalizeResponseHeadings','body','then','value','trim','ELEMENT_NODE','set:currentContext','text/html','1522038oiZEjm','view','nodeType','833496VkonqH','htmlProcessor','handleError','_domParser','createElement','innerHTML','previousContext','tryAgainEvent','previousLabel','reverse','catch','once','editor','_stripMarkdownSyntax','9dgASgY','previousActionId','stringify','_parseAndNormalizeContent','querySelector','exec','reset','domConverter','rename','9354LiAcoX','updateView','isRendered','markers','from','get','textAdapter','custom','parseFromString','abort','substring','prompt','element','length','push','_sanitizeHTML','setContentOf','2rHelzs','_sanitizationContainer','destroy','_xmlSerializer','listenTo','childNodes','div','isProcessing','message','makeRequest','currentResponse','1246044glIuDu','stopProcessing','```html','serializeToString','initialContext','<h1></h1>','ai.aiAssistant.preserveComments','```','stopListening','_isH1TagSupportEnabled','finishProcessing','currentContext','remove','1195znYubS','toView','config','set','mainAction','3WpIiew','2405410xRNzFF','_handleQuery','toModel','viewToDom','match','finally','data','startsWith','clear','processor','44elpVjt'];_0x330e=function(){return _0x10b99b;};return _0x330e();}const _0x543e9b=_0x4b5f;(function(_0x20ef97,_0x53dbda){const _0x505b22=_0x4b5f,_0x27c768=_0x20ef97();while(!![]){try{const _0x2a7667=parseInt(_0x505b22(0x203))/0x1*(-parseInt(_0x505b22(0x1d6))/0x2)+parseInt(_0x505b22(0x1f3))/0x3*(-parseInt(_0x505b22(0x1e1))/0x4)+-parseInt(_0x505b22(0x1ee))/0x5*(-parseInt(_0x505b22(0x1c5))/0x6)+parseInt(_0x505b22(0x1ab))/0x7+-parseInt(_0x505b22(0x1ae))/0x8*(parseInt(_0x505b22(0x1bc))/0x9)+parseInt(_0x505b22(0x1f4))/0xa+-parseInt(_0x505b22(0x1fe))/0xb*(parseInt(_0x505b22(0x204))/0xc);if(_0x2a7667===_0x53dbda)break;else _0x27c768['push'](_0x27c768['shift']());}catch(_0x4f147d){_0x27c768['push'](_0x27c768['shift']());}}}(_0x330e,0x366d4));import{ObservableMixin as _0x2af685}from'ckeditor5/src/utils.js';import{AIRequestError as _0x191f72}from'../adapters/aiadapter.js';import{Matcher as _0x4038d0,ViewUpcastWriter as _0x1879bf}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2af685(){[_0x543e9b(0x1ba)];[_0x543e9b(0x1cb)];[_0x543e9b(0x1ac)];[_0x543e9b(0x1d7)];[_0x543e9b(0x1b1)];[_0x543e9b(0x1d9)];constructor(_0x53d1d8,_0x4437c0,_0x26ee65){const _0x29148a=_0x543e9b;super(),this[_0x29148a(0x1ba)]=_0x53d1d8,this[_0x29148a(0x1cb)]=_0x4437c0,this[_0x29148a(0x1d7)]=document[_0x29148a(0x1b2)](_0x29148a(0x1dc)),this[_0x29148a(0x1b1)]=new DOMParser(),this[_0x29148a(0x1d9)]=new XMLSerializer(),this[_0x29148a(0x1ac)]=_0x26ee65,this[_0x29148a(0x1f1)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x29148a(0x1a9),(_0x556fc8,_0x517821,_0xa0ec11)=>{const _0x20fdf7=_0x29148a;this[_0x20fdf7(0x1ac)][_0x20fdf7(0x1a6)]=this[_0x20fdf7(0x1d4)](_0xa0ec11);}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x201),(_0xb7c1ff,_0x3ad143)=>{const _0x2deaf8=_0x29148a,_0x45643c=this[_0x2deaf8(0x1ec)]||this[_0x2deaf8(0x1e5)];this[_0x2deaf8(0x1f5)](_0x3ad143,_0x45643c,_0x2deaf8(0x1cc));}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x1b5),()=>{const _0x38b7f8=_0x29148a;this[_0x38b7f8(0x1ac)][_0x38b7f8(0x1d0)]=this[_0x38b7f8(0x1b6)],this[_0x38b7f8(0x1f5)](this[_0x38b7f8(0x1a2)],this[_0x38b7f8(0x1b4)],this[_0x38b7f8(0x1bd)],this[_0x38b7f8(0x1b6)]);}),this[_0x29148a(0x1da)](this[_0x29148a(0x1ac)],_0x29148a(0x1e2),()=>{const _0x58ba75=_0x29148a;this[_0x58ba75(0x1e2)]();});}[_0x543e9b(0x1d8)](){const _0x4d0bc7=_0x543e9b;this[_0x4d0bc7(0x1e9)]();}async[_0x543e9b(0x1c6)]({actionId:_0x5bd8f7,query:_0x4e086e,htmlContent:_0x3c32bc,label:_0xbc26e6,mainActionLabel:_0x3a2c82}){const _0x3ff069=_0x543e9b;this[_0x3ff069(0x1ac)][_0x3ff069(0x1d0)]=_0xbc26e6,this[_0x3ff069(0x1ac)][_0x3ff069(0x1f2)]=_0x3a2c82,this[_0x3ff069(0x1e5)]=_0x3c32bc,_0x4e086e&&(this[_0x3ff069(0x1ac)][_0x3ff069(0x1c7)]?this[_0x3ff069(0x1f5)](_0x4e086e,_0x3c32bc,_0x5bd8f7,_0xbc26e6):this[_0x3ff069(0x1ac)][_0x3ff069(0x1b9)](_0x3ff069(0x206),()=>{const _0x1c24ae=_0x3ff069;this[_0x1c24ae(0x1f5)](_0x4e086e,_0x3c32bc,_0x5bd8f7,_0xbc26e6);}));}[_0x543e9b(0x1e2)](){const _0x232eb9=_0x543e9b;this[_0x232eb9(0x1dd)]&&(this[_0x232eb9(0x1dd)]=!0x1,this[_0x232eb9(0x1ac)][_0x232eb9(0x1eb)](),this[_0x232eb9(0x1cb)][_0x232eb9(0x1ce)]());}[_0x543e9b(0x1c2)](){const _0x2d7a14=_0x543e9b;this[_0x2d7a14(0x1e5)]='',this[_0x2d7a14(0x1ec)]='',this[_0x2d7a14(0x1e0)]='',this[_0x2d7a14(0x1b4)]='',this[_0x2d7a14(0x1a2)]='',this[_0x2d7a14(0x1b6)]='',this[_0x2d7a14(0x1bd)]=void 0x0,this[_0x2d7a14(0x1ac)][_0x2d7a14(0x1c2)](),this[_0x2d7a14(0x1e2)]();}async[_0x543e9b(0x1f5)](_0x146be8,_0x37aff5,_0xf52e10,_0x84acc1){const _0x4bf2fa=_0x543e9b;return this[_0x4bf2fa(0x1dd)]=!0x0,this[_0x4bf2fa(0x1ac)][_0x4bf2fa(0x202)](),this[_0x4bf2fa(0x1b4)]=_0x37aff5,this[_0x4bf2fa(0x1a2)]=_0x146be8,this[_0x4bf2fa(0x1b6)]=_0x84acc1||_0x146be8,this[_0x4bf2fa(0x1bd)]=_0xf52e10,new Promise(_0x416daa=>{const _0x37d555=_0x4bf2fa;this[_0x37d555(0x1cb)][_0x37d555(0x1df)]({'query':_0x146be8,'context':_0x37aff5,'onData':_0x5050bc=>{const _0x3a4300=_0x37d555;this[_0x3a4300(0x1e0)]=_0x5050bc,this[_0x3a4300(0x1ec)]=this[_0x3a4300(0x1bf)](this[_0x3a4300(0x1e0)]);},'actionId':_0xf52e10})[_0x37d555(0x1a5)](()=>{const _0x319534=_0x37d555;!this[_0x319534(0x1ec)]&&this[_0x319534(0x1e0)]&&(this[_0x319534(0x1ec)]=this[_0x319534(0x1bf)](this[_0x319534(0x1e0)],!0x0));})[_0x37d555(0x1b8)](_0x4e840b=>{const _0x4f04f0=_0x37d555;_0x4e840b instanceof _0x191f72?this[_0x4f04f0(0x1ac)][_0x4f04f0(0x1b0)](_0x4e840b[_0x4f04f0(0x1de)]):this[_0x4f04f0(0x1ac)][_0x4f04f0(0x1b0)](),_0x416daa();})[_0x37d555(0x1f9)](()=>{const _0x4370cb=_0x37d555;this[_0x4370cb(0x1e2)](),_0x416daa();});});}[_0x543e9b(0x1bf)](_0x206ae8,_0x14483c=!0x1){const _0x12cc81=_0x543e9b,_0x4d30c0=Q[_0x12cc81(0x1c1)](_0x206ae8);_0x206ae8=_0x4d30c0?_0x206ae8[_0x12cc81(0x1cf)](_0x4d30c0[0x1][_0x12cc81(0x1d2)]):_0x206ae8[_0x12cc81(0x1d2)]<0x64&&!_0x14483c?'':this[_0x12cc81(0x1bb)](_0x206ae8);const _0x3ea50c=this[_0x12cc81(0x1b1)][_0x12cc81(0x1cd)](_0x206ae8,_0x12cc81(0x1aa));if(_0x4d30c0){const _0x2308e0=Array[_0x12cc81(0x1c9)](_0x3ea50c[_0x12cc81(0x1a4)][_0x12cc81(0x1db)]);_0x2308e0[_0x12cc81(0x1b7)]();for(const _0x5cb18a of _0x2308e0){if(_0x5cb18a[_0x12cc81(0x1ad)]==Node[_0x12cc81(0x1a8)])break;_0x5cb18a[_0x12cc81(0x1ed)]();}}const _0x408c25=this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1fd)][_0x12cc81(0x1ef)](this[_0x12cc81(0x1d9)][_0x12cc81(0x1e4)](_0x3ea50c[_0x12cc81(0x1a4)]));this[_0x12cc81(0x1ea)]()||this[_0x12cc81(0x1a3)](_0x408c25);const _0x2263bd=this[_0x12cc81(0x1ba)][_0x12cc81(0x1f0)][_0x12cc81(0x1ca)](_0x12cc81(0x1e7)),_0x264093=this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1f6)](_0x408c25);return _0x2263bd||_0x264093[_0x12cc81(0x1c8)][_0x12cc81(0x1fc)](),this[_0x12cc81(0x1ba)][_0x12cc81(0x1fa)][_0x12cc81(0x1be)](_0x264093);}[_0x543e9b(0x1a3)](_0x771b4d){const _0x324b98=_0x543e9b,_0x2009e1=new _0x1879bf(this[_0x324b98(0x1ba)][_0x324b98(0x1a1)][_0x324b98(0x1ac)][_0x324b98(0x200)]),_0xbbe2d0=new _0x4038d0({'name':/^h[1-5]$/}),_0x543e09=[];let _0x4b74c9=!0x1;for(const _0xec0c57 of _0x771b4d)_0xec0c57['is'](_0x324b98(0x1d1))&&_0xbbe2d0[_0x324b98(0x1f8)](_0xec0c57)&&(_0x543e09[_0x324b98(0x1d3)](_0xec0c57),'h1'==_0xec0c57[_0x324b98(0x205)]&&(_0x4b74c9=!0x0));if(_0x4b74c9){for(const _0x284853 of _0x543e09)_0x2009e1[_0x324b98(0x1c4)]('h'+(parseInt(_0x284853[_0x324b98(0x205)][0x1])+0x1),_0x284853);}}[_0x543e9b(0x1ea)](){const _0x200142=_0x543e9b,{data:_0x592cd7,editing:_0x46d66d}=this[_0x200142(0x1ba)],_0x473650=_0x592cd7[_0x200142(0x1af)][_0x200142(0x1ef)](_0x200142(0x1e6)),_0x1e4092=_0x592cd7[_0x200142(0x1ef)](_0x592cd7[_0x200142(0x1f6)](_0x473650));return!!_0x46d66d[_0x200142(0x1ac)][_0x200142(0x1c3)][_0x200142(0x1f7)](_0x1e4092)[_0x200142(0x1c0)]('h1');}[_0x543e9b(0x1d4)](_0x3ea316){const _0x1a9fcf=_0x543e9b;return this[_0x1a9fcf(0x1ba)][_0x1a9fcf(0x1a1)][_0x1a9fcf(0x1ac)][_0x1a9fcf(0x1c3)][_0x1a9fcf(0x1d5)](this[_0x1a9fcf(0x1d7)],_0x3ea316),this[_0x1a9fcf(0x1d7)][_0x1a9fcf(0x1b3)];}[_0x543e9b(0x1bb)](_0x381cb3){const _0xb997a=_0x543e9b,_0x5333c5=_0x381cb3[_0xb997a(0x1a7)]();return _0x5333c5[_0xb997a(0x1fb)](_0xb997a(0x1e3))?_0x5333c5[_0xb997a(0x1ff)](_0xb997a(0x1e8))?_0x5333c5[_0xb997a(0x1cf)](0x7,_0x5333c5[_0xb997a(0x1d2)]-0x3):_0x5333c5[_0xb997a(0x1cf)](0x7):_0x381cb3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8a7f4b=_0x30f5;(function(_0x107896,_0x5cab1b){const _0x1b113b=_0x30f5,_0x4bafd7=_0x107896();while(!![]){try{const _0x3ab87d=-parseInt(_0x1b113b(0x216))/0x1*(parseInt(_0x1b113b(0x1f6))/0x2)+-parseInt(_0x1b113b(0x20a))/0x3+parseInt(_0x1b113b(0x1fe))/0x4*(parseInt(_0x1b113b(0x20f))/0x5)+-parseInt(_0x1b113b(0x224))/0x6+parseInt(_0x1b113b(0x1f0))/0x7+-parseInt(_0x1b113b(0x20c))/0x8*(-parseInt(_0x1b113b(0x1f4))/0x9)+-parseInt(_0x1b113b(0x237))/0xa;if(_0x3ab87d===_0x5cab1b)break;else _0x4bafd7['push'](_0x4bafd7['shift']());}catch(_0x42b6ea){_0x4bafd7['push'](_0x4bafd7['shift']());}}}(_0x1842,0x3c7af));import{global as _0x2abadc}from'ckeditor5/src/utils.js';import{View as _0x579818,ButtonView as _0x1a2e03,SpinnerView as _0x969533}from'ckeditor5/src/ui.js';import{IconCheck as _0x1afbe7,IconCopy as _0x220db3}from'ckeditor5/src/icons.js';import{getTranslation as _0x5786b9}from'../../utils/common-translations.js';function _0x30f5(_0x3c0e0c,_0x372b73){const _0x184225=_0x1842();return _0x30f5=function(_0x30f575,_0x225a27){_0x30f575=_0x30f575-0x1eb;let _0x869549=_0x184225[_0x30f575];return _0x869549;},_0x30f5(_0x3c0e0c,_0x372b73);}export class AIFormContentArea extends _0x579818{[_0x8a7f4b(0x20b)];[_0x8a7f4b(0x214)];constructor(_0x21ed53,_0x5a9ca5=''){const _0x2f6883=_0x8a7f4b;super(_0x21ed53),this[_0x2f6883(0x227)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x36af98=this[_0x2f6883(0x1ee)];this[_0x2f6883(0x20b)]=new ContentFieldView(_0x21ed53,_0x5a9ca5),this[_0x2f6883(0x214)]=this[_0x2f6883(0x1ec)](),this[_0x2f6883(0x21a)]({'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x20d),_0x36af98['if'](_0x2f6883(0x20e),_0x2f6883(0x1ed),_0x5daf69=>!_0x5daf69)],'tabindex':'-1'},'children':[{'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x226),_0x36af98['if'](_0x2f6883(0x222),_0x2f6883(0x228))]},'children':[this[_0x2f6883(0x20b)],{'tag':_0x2f6883(0x23b),'attributes':{'class':['ck',_0x2f6883(0x223)]},'children':[this[_0x2f6883(0x214)]]}]}]});}[_0x8a7f4b(0x213)](){const _0x162016=_0x8a7f4b;super[_0x162016(0x213)](),this[_0x162016(0x211)]&&this[_0x162016(0x20b)][_0x162016(0x1f2)](this[_0x162016(0x211)]);let _0x49a07b=!0x1;this['on'](_0x162016(0x1eb),(_0x5604e7,_0x36f317,_0x1ea316)=>{const _0x20f594=_0x162016,_0x334dd6=!this[_0x20f594(0x20b)][_0x20f594(0x23f)][_0x20f594(0x204)](_0x20f594(0x220));this[_0x20f594(0x20b)][_0x20f594(0x1f2)](_0x1ea316),this[_0x20f594(0x222)]&&_0x334dd6&&!_0x49a07b&&this[_0x20f594(0x23f)][_0x20f594(0x230)]({'top':this[_0x20f594(0x23f)][_0x20f594(0x201)],'behavior':_0x20f594(0x1fd)});}),this['on'](_0x162016(0x235),(_0x25edfb,_0x185d77,_0x44c7d2)=>{const _0x2685b7=_0x162016;_0x49a07b=!0x1,_0x44c7d2?(this[_0x2685b7(0x211)]=null,this[_0x2685b7(0x20b)][_0x2685b7(0x215)]()):this[_0x2685b7(0x211)]||this[_0x2685b7(0x20b)][_0x2685b7(0x1f2)]('');}),this[_0x162016(0x21d)](this[_0x162016(0x23f)],_0x162016(0x1ff),()=>{_0x49a07b=!0x0;}),this[_0x162016(0x21d)](this[_0x162016(0x23f)],_0x162016(0x22b),()=>{_0x49a07b=!0x0;});}[_0x8a7f4b(0x1f5)](){const _0x107471=_0x8a7f4b;this[_0x107471(0x23f)][_0x107471(0x1f5)]();}[_0x8a7f4b(0x1ec)](){const _0x12d135=_0x8a7f4b,_0x5b3108=this[_0x12d135(0x207)],_0xb13523=new _0x1a2e03(this[_0x12d135(0x207)]),_0x2b003f=_0x12d135(0x231);return _0xb13523[_0x12d135(0x227)]({'label':_0x5786b9(_0x5b3108,_0x12d135(0x1fa)),'icon':_0x220db3,'class':_0x2b003f,'tooltip':!0x0}),_0xb13523[_0x12d135(0x238)](_0x12d135(0x20e))['to'](this,_0x12d135(0x211),_0x223540=>!!_0x223540),_0xb13523[_0x12d135(0x238)](_0x12d135(0x1ef))['to'](this,_0x12d135(0x222),_0x1196d8=>!_0x1196d8),_0xb13523['on'](_0x12d135(0x236),()=>{const _0x13eec7=_0x12d135;this[_0x13eec7(0x205)](this[_0x13eec7(0x20b)][_0x13eec7(0x23f)]),_0xb13523[_0x13eec7(0x1f3)]=_0x1afbe7,_0xb13523[_0x13eec7(0x233)]=_0x2b003f+_0x13eec7(0x1f7),this[_0x13eec7(0x1f5)](),setTimeout(()=>{const _0x3b221e=_0x13eec7;_0xb13523[_0x3b221e(0x1f3)]=_0x220db3,_0xb13523[_0x3b221e(0x233)]=_0x2b003f;},0x3e8);}),_0xb13523;}[_0x8a7f4b(0x205)](_0x5da070){const _0x3c1774=_0x8a7f4b,{window:_0x356e08,document:_0x209c0c}=_0x2abadc;if(_0x356e08[_0x3c1774(0x22d)]){const {Blob:_0x1c37df,ClipboardItem:_0x4454c9}=_0x356e08,_0x3fb1bd=[new _0x4454c9({'text/html':new _0x1c37df([_0x5da070[_0x3c1774(0x225)]],{'type':_0x3c1774(0x239)}),'text/plain':new _0x1c37df([_0x5da070[_0x3c1774(0x21b)]||''],{'type':_0x3c1774(0x23a)})})];navigator[_0x3c1774(0x22c)][_0x3c1774(0x1fc)](_0x3fb1bd);}else{const _0x4fcf83=_0x209c0c[_0x3c1774(0x234)](_0x3c1774(0x23b));_0x4fcf83[_0x3c1774(0x232)][_0x3c1774(0x208)]=_0x3c1774(0x219),_0x4fcf83[_0x3c1774(0x232)][_0x3c1774(0x21c)]=_0x3c1774(0x210),_0x4fcf83[_0x3c1774(0x225)]=_0x3c1774(0x23d)+_0x5da070[_0x3c1774(0x225)]+_0x3c1774(0x23c),_0x209c0c[_0x3c1774(0x200)][_0x3c1774(0x22e)](_0x4fcf83);const _0x452d2f=_0x209c0c[_0x3c1774(0x22a)]();_0x452d2f[_0x3c1774(0x221)](_0x4fcf83[_0x3c1774(0x21f)]),_0x452d2f[_0x3c1774(0x218)](_0x4fcf83[_0x3c1774(0x1fb)]);const _0x947ccc=_0x356e08[_0x3c1774(0x1f9)]();_0x947ccc[_0x3c1774(0x209)](),_0x947ccc[_0x3c1774(0x23e)](_0x452d2f),_0x209c0c[_0x3c1774(0x206)](_0x3c1774(0x1f1)),_0x4fcf83[_0x3c1774(0x21e)]();}}}export class ContentFieldView extends _0x579818{constructor(_0x353e21,_0x300242=''){const _0x584fdc=_0x8a7f4b;super(_0x353e21),this[_0x584fdc(0x217)]=this[_0x584fdc(0x229)](),this[_0x584fdc(0x21a)]({'tag':_0x584fdc(0x23b),'attributes':{'class':['ck',_0x584fdc(0x212),_0x300242,_0x584fdc(0x202),_0x584fdc(0x203)]}});}[_0x8a7f4b(0x1f2)](_0x2eb27a){const _0xeae36c=_0x8a7f4b;this[_0xeae36c(0x23f)][_0xeae36c(0x225)]=_0x2eb27a;}[_0x8a7f4b(0x215)](){const _0x185b11=_0x8a7f4b;this[_0x185b11(0x23f)][_0x185b11(0x22e)](this[_0x185b11(0x217)][_0x185b11(0x23f)]);}[_0x8a7f4b(0x229)](){const _0x252540=_0x8a7f4b,_0x488cda=new _0x579818(),_0x18e4a2=this[_0x252540(0x207)],_0x3d844f=new _0x969533();return _0x3d844f[_0x252540(0x20e)]=!0x0,_0x488cda[_0x252540(0x21a)]({'tag':_0x252540(0x23b),'attributes':{'class':['ck',_0x252540(0x1f8)]},'children':[_0x3d844f,{'text':_0x5786b9(_0x18e4a2,_0x252540(0x22f))}]}),_0x488cda[_0x252540(0x213)](),_0x488cda;}}function _0x1842(){const _0x5e2e7b=['execute','789320JNnEjy','bind','text/html','text/plain','div','<span>]</span>','<span>[</span>','addRange','element','change:value','_createCopyButton','ck-hidden','bindTemplate','isEnabled','1210909iTXqMh','copy','setContent','icon','14166ppDWeY','focus','458uLDENN','\x20ck-ai-form__copy-button--copied','ck-ai-form__loader','getSelection','Copy','lastElementChild','write','smooth','215240rxdJSt','wheel','body','scrollHeight','ck-reset_all-excluded','ck-ai-form__content-field','querySelector','_copyHTMLToClipboard','execCommand','locale','position','removeAllRanges','1008555lAlDQh','contentFieldView','1928CGinYU','ck-ai-form__content-area-wrapper','isVisible','40DAbsHx','-9999px','value','ck-content','render','copyButtonView','appendLoader','1229CloWDp','loaderView','setEndBefore','absolute','setTemplate','textContent','left','listenTo','remove','firstElementChild','.ck-ai-form__loader','setStartAfter','isProcessing','ck-ai-form__copy-button-wrapper','231096TMZaKQ','innerHTML','ck-ai-form__content-area','set','ck-ai-form__content-area--processing','_createLoader','createRange','mousedown','clipboard','ClipboardItem','appendChild','AI\x20is\x20writing...','scrollTo','ck-ai-form__copy-button','style','class','createElement','change:isProcessing'];_0x1842=function(){return _0x5e2e7b;};return _0x1842();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x57d1(_0xaa556f,_0x4213e4){const _0x3060b3=_0x3060();return _0x57d1=function(_0x57d1ff,_0x365816){_0x57d1ff=_0x57d1ff-0x192;let _0x4ae7b3=_0x3060b3[_0x57d1ff];return _0x4ae7b3;},_0x57d1(_0xaa556f,_0x4213e4);}function _0x3060(){const _0x350d1d=['bindTemplate','text','3QpMBsv','set','11NIyxnA','content','453636dGubyE','ck-ai-form__error','setTemplate','5380328FujYwp','72cdWgdP','2091358JlwUch','1397255wRqfnw','div','651965LBrEFU','15146010olXoNT','7iMORGU','133659eFAbKF'];_0x3060=function(){return _0x350d1d;};return _0x3060();}(function(_0x57297a,_0x3fa426){const _0x22f500=_0x57d1,_0x35b679=_0x57297a();while(!![]){try{const _0x209d34=parseInt(_0x22f500(0x196))/0x1+-parseInt(_0x22f500(0x195))/0x2+-parseInt(_0x22f500(0x19e))/0x3*(parseInt(_0x22f500(0x1a2))/0x4)+-parseInt(_0x22f500(0x198))/0x5*(parseInt(_0x22f500(0x194))/0x6)+-parseInt(_0x22f500(0x19a))/0x7*(-parseInt(_0x22f500(0x193))/0x8)+parseInt(_0x22f500(0x19b))/0x9+parseInt(_0x22f500(0x199))/0xa*(parseInt(_0x22f500(0x1a0))/0xb);if(_0x209d34===_0x3fa426)break;else _0x35b679['push'](_0x35b679['shift']());}catch(_0x53bc69){_0x35b679['push'](_0x35b679['shift']());}}}(_0x3060,0xd5bb4));import{IconError as _0x59098c}from'ckeditor5/src/icons.js';import{View as _0x4d1a40,IconView as _0x147224}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4d1a40{constructor(_0x208dc3,_0x3e9231=''){const _0x4330ee=_0x57d1;super(_0x208dc3);const _0x154d72=new _0x147224(),_0x417043=this[_0x4330ee(0x19c)];this[_0x4330ee(0x19f)](_0x4330ee(0x19d),_0x3e9231),_0x154d72[_0x4330ee(0x1a1)]=_0x59098c,this[_0x4330ee(0x192)]({'tag':_0x4330ee(0x197),'attributes':{'class':['ck',_0x4330ee(0x1a3)]},'children':[_0x154d72,{'text':_0x417043['to'](_0x4330ee(0x19d))}]});}}
|