@ckeditor/ckeditor5-ai 45.2.0-alpha.7 → 45.2.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x40de8e=_0x68a9;function _0x68a9(_0x57dd2f,_0x6ce09f){const _0x30d62e=_0x30d6();return _0x68a9=function(_0x131f52,_0xc00f31){_0x131f52=_0x131f52-0xd4;let _0x4ea8d5=_0x30d62e[_0x131f52];return _0x4ea8d5;},_0x68a9(_0x57dd2f,_0x6ce09f);}(function(_0x80d943,_0x37eb4e){const _0x4b9e2c=_0x68a9,_0xb85546=_0x80d943();while(!![]){try{const _0x5de87a=parseInt(_0x4b9e2c(0x13e))/0x1+-parseInt(_0x4b9e2c(0x129))/0x2+-parseInt(_0x4b9e2c(0x10e))/0x3+parseInt(_0x4b9e2c(0x101))/0x4+parseInt(_0x4b9e2c(0x127))/0x5*(-parseInt(_0x4b9e2c(0x104))/0x6)+parseInt(_0x4b9e2c(0x10f))/0x7+-parseInt(_0x4b9e2c(0x102))/0x8*(parseInt(_0x4b9e2c(0xeb))/0x9);if(_0x5de87a===_0x37eb4e)break;else _0xb85546['push'](_0xb85546['shift']());}catch(_0x551903){_0xb85546['push'](_0xb85546['shift']());}}}(_0x30d6,0x97ac7));import{Plugin as _0x198a66}from'ckeditor5/src/core.js';import _0x5a0ac9 from'./aiassistantui.js';import _0x1e6b57 from'./aiassistantediting.js';import{getTranslation as _0x2d7a38}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x444f27}from'./utils/normalizecommandsconfig.js';function _0x30d6(){const _0x3ced36=['translateFrench','ai.aiAssistant.preserveComments','isOfficialPlugin','translatePortuguese','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','French','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translateSpanish','find','Change\x20style','Translate\x20the\x20content\x20to\x20French\x20language.','Business','German','Professional','814875CVwiLy','Spanish','confident','Generate\x20from\x20selection','forEach','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','groupId','Make\x20shorter','English','filter','commands','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Simplified\x20Chinese','translateArabic','Translate\x20the\x20content\x20to\x20Hindi\x20language.','includes','Edit\x20or\x20review','Arabic','Summarize','Friendly','requires','changeStyle','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','editOrReview','Translate','set','3546qSiiqy','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Portuguese','Legal','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Hindi','Change\x20tone','translateGerman','Translate\x20the\x20content\x20to\x20German\x20language.','concat','Confident','poetic','friendly','push','professional','Continue','Poetic','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','legal','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','pluginName','3689892vMrYYb','9568QDbeqq','changeTone','126gHnVZN','translate','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','continue','isPremiumPlugin','simplifyLanguage','Direct','business','casual','2597079BgNCHY','7274764EfmJlS','summarize','ai.aiAssistant.removeCommands','generate','makeShorter','ai.aiAssistant.commands','Casual','journalism','config','translateChinese','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Make\x20longer','AIAssistant','get','translateHindi','define','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','makeLonger','Simplify\x20language','locale','improveWriting','44875DwaLqi','direct','1259906TpQJMe','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20writing','Translate\x20the\x20content\x20to\x20English\x20language.','Journalism','translateEnglish'];_0x30d6=function(){return _0x3ced36;};return _0x30d6();}export default class r extends _0x198a66{static get[_0x40de8e(0xe5)](){return[_0x5a0ac9,_0x1e6b57];}static get[_0x40de8e(0x100)](){const _0xb1abae=_0x40de8e;return _0xb1abae(0x11e);}static get[_0x40de8e(0x131)](){return!0x0;}static get[_0x40de8e(0x109)](){return!0x0;}constructor(_0x344a71){const _0x37ee59=_0x40de8e;super(_0x344a71);const _0x53076b=_0x344a71[_0x37ee59(0x117)],_0x3545c5=_0x344a71[_0x37ee59(0x125)];_0x53076b[_0x37ee59(0x121)](_0x37ee59(0x130),!0x0),_0x53076b[_0x37ee59(0x121)](_0x37ee59(0x114),getDefaultCommands(_0x3545c5)),_0x53076b[_0x37ee59(0x121)](_0x37ee59(0xfc),[]),_0x53076b[_0x37ee59(0x121)](_0x37ee59(0x111),[]);let _0x25ad54=_0x444f27(_0x53076b[_0x37ee59(0x11f)](_0x37ee59(0x114)),_0x3545c5);const _0x351555=_0x53076b[_0x37ee59(0x11f)](_0x37ee59(0xfc)),_0x62fc3a=_0x53076b[_0x37ee59(0x11f)](_0x37ee59(0x111));_0x351555[_0x37ee59(0xd4)](_0x3db358=>{const _0x2d92af=_0x37ee59,_0x31ada3=_0x25ad54[_0x2d92af(0x138)](_0x581900=>_0x581900[_0x2d92af(0xd7)]===_0x3db358[_0x2d92af(0xd7)]);_0x31ada3?_0x31ada3[_0x2d92af(0xdb)]=_0x31ada3[_0x2d92af(0xdb)][_0x2d92af(0xf4)](_0x3db358[_0x2d92af(0xdb)]):_0x25ad54[_0x2d92af(0xf8)](_0x3db358);}),_0x25ad54=_0x25ad54[_0x37ee59(0xda)](_0x2a7411=>!_0x62fc3a[_0x37ee59(0xe0)](_0x2a7411[_0x37ee59(0xd7)])),_0x25ad54[_0x37ee59(0xd4)](_0x838cf7=>{const _0x2335d9=_0x37ee59;_0x838cf7[_0x2335d9(0xdb)]=_0x838cf7[_0x2335d9(0xdb)][_0x2335d9(0xda)](_0xcae1d6=>!_0x62fc3a[_0x2335d9(0xe0)](_0xcae1d6['id']));}),_0x53076b[_0x37ee59(0xea)](_0x37ee59(0x114),_0x25ad54);}}export function getDefaultCommands(_0x5628ed){const _0x289855=_0x40de8e;return[{'groupId':_0x289855(0xe8),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0xe1)),'commands':[{'id':_0x289855(0x126),'label':_0x2d7a38(_0x5628ed,_0x289855(0x12b)),'prompt':_0x289855(0x11b)},{'id':_0x289855(0x113),'label':_0x2d7a38(_0x5628ed,_0x289855(0xd8)),'prompt':_0x289855(0x133)},{'id':_0x289855(0x123),'label':_0x2d7a38(_0x5628ed,_0x289855(0x11d)),'prompt':_0x289855(0xec)},{'id':_0x289855(0x10a),'label':_0x2d7a38(_0x5628ed,_0x289855(0x124)),'prompt':_0x289855(0x12a)}]},{'groupId':_0x289855(0x112),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0x141)),'commands':[{'id':_0x289855(0x110),'label':_0x2d7a38(_0x5628ed,_0x289855(0xe3)),'prompt':_0x289855(0xdc)},{'id':_0x289855(0x108),'label':_0x2d7a38(_0x5628ed,_0x289855(0xfa)),'prompt':_0x289855(0x136)}]},{'groupId':_0x289855(0x103),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0xf1)),'commands':[{'id':_0x289855(0xf9),'label':_0x2d7a38(_0x5628ed,_0x289855(0x13d)),'prompt':_0x289855(0xd5)},{'id':_0x289855(0x10d),'label':_0x2d7a38(_0x5628ed,_0x289855(0x115)),'prompt':_0x289855(0xd6)},{'id':_0x289855(0x128),'label':_0x2d7a38(_0x5628ed,_0x289855(0x10b)),'prompt':_0x289855(0x11c)},{'id':_0x289855(0x140),'label':_0x2d7a38(_0x5628ed,_0x289855(0xf5)),'prompt':_0x289855(0x107)},{'id':_0x289855(0xf7),'label':_0x2d7a38(_0x5628ed,_0x289855(0xe4)),'prompt':_0x289855(0x122)}]},{'groupId':_0x289855(0xe6),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0x139)),'commands':[{'id':_0x289855(0x10c),'label':_0x2d7a38(_0x5628ed,_0x289855(0x13b)),'prompt':_0x289855(0xef)},{'id':_0x289855(0xfe),'label':_0x2d7a38(_0x5628ed,_0x289855(0xee)),'prompt':_0x289855(0xff)},{'id':_0x289855(0x116),'label':_0x2d7a38(_0x5628ed,_0x289855(0x12d)),'prompt':_0x289855(0xe7)},{'id':_0x289855(0xf6),'label':_0x2d7a38(_0x5628ed,_0x289855(0xfb)),'prompt':_0x289855(0x119)}]},{'groupId':_0x289855(0x105),'groupLabel':_0x2d7a38(_0x5628ed,_0x289855(0xe9)),'commands':[{'id':_0x289855(0x12e),'label':_0x2d7a38(_0x5628ed,_0x289855(0xd9)),'prompt':_0x289855(0x12c)},{'id':_0x289855(0x137),'label':_0x2d7a38(_0x5628ed,_0x289855(0x13f)),'prompt':_0x289855(0x11a)},{'id':_0x289855(0x132),'label':_0x2d7a38(_0x5628ed,_0x289855(0xed)),'prompt':_0x289855(0xfd)},{'id':_0x289855(0xf2),'label':_0x2d7a38(_0x5628ed,_0x289855(0x13c)),'prompt':_0x289855(0xf3)},{'id':_0x289855(0x12f),'label':_0x2d7a38(_0x5628ed,_0x289855(0x135)),'prompt':_0x289855(0x13a)},{'id':_0x289855(0x118),'label':_0x2d7a38(_0x5628ed,_0x289855(0xdd)),'prompt':_0x289855(0x134)},{'id':_0x289855(0x120),'label':_0x2d7a38(_0x5628ed,_0x289855(0xf0)),'prompt':_0x289855(0xdf)},{'id':_0x289855(0xde),'label':_0x2d7a38(_0x5628ed,_0x289855(0xe2)),'prompt':_0x289855(0x106)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5e70f4=_0x2a57;(function(_0x51e3aa,_0x38275c){const _0x230eb4=_0x2a57,_0x146696=_0x51e3aa();while(!![]){try{const _0xc9e471=-parseInt(_0x230eb4(0x1e0))/0x1*(-parseInt(_0x230eb4(0x1aa))/0x2)+parseInt(_0x230eb4(0x1d8))/0x3*(parseInt(_0x230eb4(0x1e8))/0x4)+parseInt(_0x230eb4(0x1f7))/0x5+-parseInt(_0x230eb4(0x1f9))/0x6+parseInt(_0x230eb4(0x209))/0x7*(parseInt(_0x230eb4(0x1bb))/0x8)+parseInt(_0x230eb4(0x1a0))/0x9+-parseInt(_0x230eb4(0x205))/0xa;if(_0xc9e471===_0x38275c)break;else _0x146696['push'](_0x146696['shift']());}catch(_0x437f43){_0x146696['push'](_0x146696['shift']());}}}(_0x53ab,0x6c40c));import{uid as _0x42293e}from'ckeditor5/src/utils.js';function _0x2a57(_0x191fcc,_0x24b4ad){const _0x53ab6b=_0x53ab();return _0x2a57=function(_0x2a57c3,_0x26f2b0){_0x2a57c3=_0x2a57c3-0x19c;let _0x156505=_0x53ab6b[_0x2a57c3];return _0x156505;},_0x2a57(_0x191fcc,_0x24b4ad);}import{Plugin as _0x6b2b43}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x124981}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1a891d,DataTransfer as _0x316336}from'ckeditor5/src/engine.js';const w=globalThis[_0x5e70f4(0x1e6)],f=_0x5e70f4(0x1a8);function _0x53ab(){const _0x10a104=['_getAISelection','10154fBXVKN','insertContentBelow','removeMarker','getLastPosition','getRowIndexes','resultRange','href','once','createPositionAfter','_getDefaultInsertBelowPosition','markerToHighlight','addClass','lowest','_getTableRowCountFromContent','_pasteHTMLUsingClipboard','isPremiumPlugin','has','1495576HEMEsM','TableUtils','conversion','setData','from','deleteContent','markerRange','plugins','editing','_resetContentOfSelectedTableCells','fire','isAtEnd','paste','init','canEditAt','markers','element','isCollapsed','setSelection','ck-ai-assistant-ui_theme','for','parse','data','editor','isContent','off','pop','model','getColumnIndexes','2162049rwTJcE','getFirstRange','get','markerToElement','length','forEach','ai.useTheme','createSelection','8PvarGX','createUIElement','schema','push','span','editingDowncast','DataTransfer','_prepareTableInsertBelowPosition','4pBTRSK','first','createRange','getSelectedBlocks','showFakeVisualSelection','last','getSelectedTableCells','AIAssistantEditing','selection','map','getRanges','insertContent','findAncestor','_createEmptyTableRows','document','974805lwONHa','join','2318538AiSDTh','isOfficialPlugin','getChild','insertRows','afterInit','filter','change','getChildren','text/html','getMarkersGroup','config','getRows','3450920eRuopd','updateMarker','table','contentInsertion','7ADtQLn','fromCharCode','createPositionAt','hideFakeVisualSelection','ck-fake-ai-selection','285408uLKqUS','getLastMatchingPosition','addMarker','getRange','start','ck-fake-ai-selection_collapsed','end','pluginName','ai-ui'];_0x53ab=function(){return _0x10a104;};return _0x53ab();}export default class a extends _0x6b2b43{static get[_0x5e70f4(0x1a7)](){const _0x220814=_0x5e70f4;return _0x220814(0x1ef);}static get[_0x5e70f4(0x1fa)](){return!0x0;}static get[_0x5e70f4(0x1b9)](){return!0x0;}[_0x5e70f4(0x1c8)](){const _0x501fca=_0x5e70f4,{editor:_0x306fba}=this,_0x9904d3=[_0x501fca(0x19f)];_0x306fba[_0x501fca(0x203)][_0x501fca(0x1da)](_0x501fca(0x1de))&&_0x9904d3[_0x501fca(0x1e3)](_0x501fca(0x1ce)),_0x306fba[_0x501fca(0x1bd)][_0x501fca(0x1cf)](_0x501fca(0x1e5))[_0x501fca(0x1b4)]({'model':f,'view':{'classes':_0x9904d3,'priority':0xc}}),_0x306fba[_0x501fca(0x1bd)][_0x501fca(0x1cf)](_0x501fca(0x1e5))[_0x501fca(0x1db)]({'model':f,'view':(_0x4793f4,{writer:_0x1cb3fe})=>{const _0x47237d=_0x501fca;if(!_0x4793f4[_0x47237d(0x1c1)][_0x47237d(0x1cc)])return null;const _0x15f67e=_0x1cb3fe[_0x47237d(0x1e1)](_0x47237d(0x1e4));return _0x1cb3fe[_0x47237d(0x1b5)]([_0x47237d(0x19f),_0x47237d(0x1a5)],_0x15f67e),_0x15f67e;}});}[_0x5e70f4(0x1fd)](){!async function(_0x5ce365){const _0x390271=_0x214e4a([0x5a,0x73,0x42,0x4a,0x35,0x68,0x6c,0x55,0x50,0x53,0x70,0x48,0x79,0x65,0x63,0x6b,0x34,0x30,0x32,0x6a,0x76,0x51,0x78,0x57,0x52,0x7a,0x4d,0x45,0x75,0x6d,0x66,0x77,0x62,0x71,0x37,0x69,0x4f,0x67,0x31,0x74,0x4e,0x4c,0x41,0x59,0x49,0x54,0x47,0x4b,0x39,0x46,0x61,0x56,0x58,0x72,0x6f,0x64,0x33,0x44,0x38,0x43,0x6e,0x36]),_0x396823=0x7bc975de,_0xaf94e8=0x7bce1c16^_0x396823,_0x35d5b4=window[_0x214e4a([0x44,0x61,0x74,0x65])][_0x214e4a([0x6e,0x6f,0x77])](),_0x3d1088=_0x5ce365[_0x214e4a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5dc93f=new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28dc21=>{_0x3d1088[_0x214e4a([0x6f,0x6e,0x63,0x65])](_0x214e4a([0x72,0x65,0x61,0x64,0x79]),_0x28dc21);}),_0x4ad823={[_0x214e4a([0x6b,0x74,0x79])]:_0x214e4a([0x45,0x43]),[_0x214e4a([0x75,0x73,0x65])]:_0x214e4a([0x73,0x69,0x67]),[_0x214e4a([0x63,0x72,0x76])]:_0x214e4a([0x50,0x2d,0x32,0x35,0x36]),[_0x214e4a([0x78])]:_0x214e4a([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]),[_0x214e4a([0x79])]:_0x214e4a([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]),[_0x214e4a([0x61,0x6c,0x67])]:_0x214e4a([0x45,0x53,0x32,0x35,0x36])},_0x288f4b=_0x3d1088[_0x214e4a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x214e4a([0x67,0x65,0x74])](_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1393ca(){let _0x115930,_0x254310=null,_0x53fed4=null;try{if(_0x288f4b==_0x214e4a([0x47,0x50,0x4c]))return _0x214e4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x115930=_0x5e0edc(),!_0x115930)return _0x214e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x115930[_0x214e4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x53fed4=_0x9d4027(_0x115930[_0x214e4a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x115930[_0x214e4a([0x6a,0x74,0x69])])),await _0x2f0e5d()?_0x14526c()?_0x203f55()?_0x214e4a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34bec1()?(_0x115930[_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x214e4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x254310=_0x5e9d64(_0x214e4a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x115930[_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x214e4a([0x74,0x72,0x69,0x61,0x6c])&&(_0x254310=_0x5e9d64(_0x214e4a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5014e2()):_0x214e4a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x214e4a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x214e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x214e4a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x203f55(){const _0x356a16=[_0x214e4a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x214e4a([0x74,0x72,0x69,0x61,0x6c])][_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x115930[_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35d5b4/0x3e8:0xe10*_0xaf94e8;return _0x115930[_0x214e4a([0x65,0x78,0x70])]<_0x356a16;}function _0x14526c(){const _0x19f324=_0x115930[_0x214e4a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19f324&&(!!_0x19f324[_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214e4a([0x2a]))||!!_0x19f324[_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214e4a([0x41,0x49])));}function _0x34bec1(){const _0x1cb7e5=_0x2a57,_0x28b89e=_0x115930[_0x214e4a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28b89e||0x0==_0x28b89e[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5bcfc3}=new URL(window[_0x214e4a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1cb7e5(0x1b0)]);if(_0x28b89e[_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bcfc3))return!0x0;const _0x258752=_0x5bcfc3[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])](_0x214e4a([0x2e]));return _0x28b89e[_0x214e4a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x587aa0=>_0x587aa0[_0x214e4a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214e4a([0x2a])))[_0x214e4a([0x6d,0x61,0x70])](_0x2d1f7c=>_0x2d1f7c[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])](_0x214e4a([0x2e])))[_0x214e4a([0x73,0x6f,0x6d,0x65])](_0x322304=>_0x258752[_0x214e4a([0x65,0x76,0x65,0x72,0x79])]((_0x73dc8,_0xac91cf)=>_0x322304[_0xac91cf]===_0x73dc8||_0x322304[_0xac91cf]===_0x214e4a([0x2a])));}function _0x5014e2(){return _0x254310&&_0x53fed4?new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55d85f,_0xb26cb4)=>{_0x254310[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x55d85f,_0xb26cb4),_0x53fed4[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x308512=>{_0x308512!=_0x214e4a([0x56,0x61,0x6c,0x69,0x64])&&_0x55d85f(_0x308512);},_0xb26cb4);}):_0x254310||_0x53fed4||_0x214e4a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9d4027(_0x3b6d98,_0x4b9405){return new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d6820=>{if(_0xb0514a())return _0x4d6820(_0x214e4a([0x56,0x61,0x6c,0x69,0x64]));_0x84dfb6(),_0x3d1088[_0x214e4a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x214e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f6402=!0x1;const _0x280aa7=_0x42293e();function _0x39db04(_0xfb95a8){return!!_0xfb95a8&&(typeof _0xfb95a8===_0x214e4a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfb95a8===_0x214e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfb95a8[_0x214e4a([0x74,0x68,0x65,0x6e])]===_0x214e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfb95a8[_0x214e4a([0x63,0x61,0x74,0x63,0x68])]===_0x214e4a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a77e8(_0x458f76){_0x1f02c0(_0x458f76)[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x2074d8=>{if(!_0x2074d8||_0x2074d8[_0x214e4a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x214e4a([0x6f,0x6b]))return _0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x94877c(_0x140e52(_0x280aa7+_0x4b9405))!=_0x2074d8[_0x214e4a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x214e4a([0x56,0x61,0x6c,0x69,0x64]);})[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x4593d0=>(_0x867432(),_0x4593d0),()=>{const _0x4a6b16=_0xe87f40();return null==_0x4a6b16?(_0x867432(),_0x214e4a([0x56,0x61,0x6c,0x69,0x64])):_0x214e4a(_0x35d5b4-_0x4a6b16>(0x5fc5f1de^_0x396823)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x4d6820)[_0x214e4a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d6820(_0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ca7f5=0x7bff9b5e^_0x396823;function _0x867432(){const _0x453bc2=_0x214e4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x94877c(_0x140e52(_0x3b6d98)),_0x2a68ef=_0x373d3d(_0x94877c(window[_0x214e4a([0x4d,0x61,0x74,0x68])][_0x214e4a([0x63,0x65,0x69,0x6c])](_0x35d5b4/_0x4ca7f5)));window[_0x214e4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x214e4a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x453bc2,_0x2a68ef);}function _0xe87f40(){const _0x4c800c=_0x214e4a([0x6c,0x6c,0x63,0x74,0x2d])+_0x94877c(_0x140e52(_0x3b6d98)),_0x304863=window[_0x214e4a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x214e4a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c800c);return _0x304863?window[_0x214e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x373d3d(_0x304863),0x10)*_0x4ca7f5:null;}function _0x1f02c0(_0x17b414){return new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a253,_0x5979e8)=>{_0x17b414[_0x214e4a([0x74,0x68,0x65,0x6e])](_0x54a253,_0x5979e8),window[_0x214e4a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5979e8,0x7bc8a11e^_0x396823);});}}_0x3d1088[_0x214e4a([0x6f,0x6e])](_0x214e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5f1326,_0xc72a1f)=>{if(_0xc72a1f[0x0]!=_0x3b6d98)return _0x4d6820(_0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc72a1f[0x1]={..._0xc72a1f[0x1],[_0x214e4a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x280aa7};},{[_0x214e4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x214e4a([0x68,0x69,0x67,0x68])}),_0x3d1088[_0x214e4a([0x6f,0x6e])](_0x214e4a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f6399=>{_0x39db04(_0x4f6399[_0x214e4a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f6402=!0x0,_0x5a77e8(_0x4f6399[_0x214e4a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x214e4a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x214e4a([0x6c,0x6f,0x77])}),_0x5dc93f[_0x214e4a([0x74,0x68,0x65,0x6e])](()=>{_0x3f6402||_0x4d6820(_0x214e4a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb0514a(){return _0x3d1088[_0x214e4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x214e4a([0x76,0x69,0x65,0x77])][_0x214e4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x214e4a([0x61,0x75,0x74,0x6f]);}function _0x84dfb6(){_0x3d1088[_0x214e4a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x214e4a([0x76,0x69,0x65,0x77])][_0x214e4a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x214e4a([0x61,0x75,0x74,0x6f]);}}function _0x5e9d64(_0x339be8){const _0x2172e1=[new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x318f11=>setTimeout(_0x318f11,0x7bc04b12^_0x396823)),_0x5dc93f[_0x214e4a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e8ab4=>{let _0x184c49=0x0;_0x3d1088[_0x214e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x214e4a([0x6f,0x6e])](_0x214e4a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e9c34,_0x6097d1)=>{_0x6097d1[0x0][_0x214e4a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x184c49++,_0x184c49==(0x7bc97426^_0x396823)&&(_0x5e8ab4(),_0x2e9c34[_0x214e4a([0x6f,0x66,0x66])]());});}))];return window[_0x214e4a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x214e4a([0x72,0x61,0x63,0x65])](_0x2172e1)[_0x214e4a([0x74,0x68,0x65,0x6e])](()=>_0x339be8);}async function _0x2610a3(){await _0x5dc93f,_0x3d1088[_0x214e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x214e4a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x86b74b,_0x3d1088[_0x214e4a([0x6d,0x6f,0x64,0x65,0x6c])][_0x214e4a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x86b74b,_0x3d1088[_0x214e4a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x214e4a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b694a(_0x29bca6){const _0x1cf198=_0x5bd2d1();_0x3d1088[_0x1cf198]=_0x214e4a([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29bca6,_0x29bca6!=_0x214e4a([0x56,0x61,0x6c,0x69,0x64])&&_0x2610a3();}function _0x5bd2d1(){const _0x3660f1=window[_0x214e4a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x214e4a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x214e4a([0x6e,0x6f,0x77])]())[_0x214e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x214e4a([0x2e]),'');let _0x5b76bc=_0x214e4a([0x5a]);for(let _0x187b47=0x0;_0x187b47<_0x3660f1[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x187b47+=0x2){let _0x1589b6=window[_0x214e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3660f1[_0x214e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x187b47,_0x187b47+0x2));_0x1589b6>=_0x390271[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1589b6-=_0x390271[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b76bc+=_0x390271[_0x1589b6];}return _0x5b76bc;}function _0x5e0edc(){const _0x5a0bc8=_0x288f4b[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])](_0x214e4a([0x2e]));if(0x3!=_0x5a0bc8[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd6f5f6(_0x5a0bc8[0x1]);function _0xd6f5f6(_0x1376ff){const _0x2097d7=_0x482ad2(_0x1376ff);return _0x2097d7&&_0x2f5baa()?_0x2097d7:null;function _0x2f5baa(){const _0xfa1217=_0x2097d7[_0x214e4a([0x6a,0x74,0x69])],_0x8e79e0=window[_0x214e4a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfa1217[_0x214e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfa1217[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x461f93={..._0x2097d7,[_0x214e4a([0x6a,0x74,0x69])]:_0xfa1217[_0x214e4a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xfa1217[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x461f93[_0x214e4a([0x76,0x63])],_0x140e52(_0x461f93)==_0x8e79e0;}}}async function _0x2f0e5d(){let _0x16e0e1=!0x0;try{const _0x3415f0=_0x288f4b[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])](_0x214e4a([0x2e])),[_0x528c03,_0x29fbd3,_0x3142f1]=_0x3415f0;return _0x2e202c(_0x528c03),await _0x1a6f6d(_0x528c03,_0x29fbd3,_0x3142f1),_0x16e0e1;}catch{return!0x1;}function _0x2e202c(_0x38bced){const _0x2abe19=_0x482ad2(_0x38bced);_0x2abe19&&_0x2abe19[_0x214e4a([0x61,0x6c,0x67])]==_0x214e4a([0x45,0x53,0x32,0x35,0x36])||(_0x16e0e1=!0x1);}async function _0x1a6f6d(_0x4a5d18,_0x431579,_0x2902aa){const _0x4095b8=window[_0x214e4a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x214e4a([0x66,0x72,0x6f,0x6d])](_0x5b8c8a(_0x2902aa),_0x57191b=>_0x57191b[_0x214e4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41ee8c=new window[(_0x214e4a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x214e4a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a5d18+_0x214e4a([0x2e])+_0x431579),_0xf9ca0d=window[_0x214e4a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x214e4a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf9ca0d)return;const _0x41fd38=await _0xf9ca0d[_0x214e4a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x214e4a([0x6a,0x77,0x6b]),_0x4ad823,{[_0x214e4a([0x6e,0x61,0x6d,0x65])]:_0x214e4a([0x45,0x43,0x44,0x53,0x41]),[_0x214e4a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x214e4a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x214e4a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf9ca0d[_0x214e4a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x214e4a([0x6e,0x61,0x6d,0x65])]:_0x214e4a([0x45,0x43,0x44,0x53,0x41]),[_0x214e4a([0x68,0x61,0x73,0x68])]:{[_0x214e4a([0x6e,0x61,0x6d,0x65])]:_0x214e4a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41fd38,_0x4095b8,_0x41ee8c)||(_0x16e0e1=!0x1);}}function _0x482ad2(_0x14bef6){return _0x14bef6[_0x214e4a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x214e4a([0x65,0x79]))?JSON[_0x214e4a([0x70,0x61,0x72,0x73,0x65])](_0x5b8c8a(_0x14bef6)):null;}function _0x5b8c8a(_0x58da94){return window[_0x214e4a([0x61,0x74,0x6f,0x62])](_0x58da94[_0x214e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x214e4a([0x2b]))[_0x214e4a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x214e4a([0x2f])));}function _0x140e52(_0x106756){let _0x112c10=0x1505;function _0x3d2177(_0x4da064){for(let _0x6a3758=0x0;_0x6a3758<_0x4da064[_0x214e4a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6a3758++){const _0x268e85=_0x4da064[_0x214e4a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6a3758);_0x112c10=(_0x112c10<<0x5)+_0x112c10+_0x268e85,_0x112c10&=_0x112c10;}}function _0x3ad027(_0x42cdab){Array[_0x214e4a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42cdab)?_0x42cdab[_0x214e4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ad027):_0x42cdab&&typeof _0x42cdab==_0x214e4a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x214e4a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42cdab)[_0x214e4a([0x73,0x6f,0x72,0x74])]()[_0x214e4a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x595f8c,_0x3c5dfe])=>{_0x3d2177(_0x595f8c),_0x3ad027(_0x3c5dfe);}):_0x3d2177(window[_0x214e4a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42cdab));}return _0x3ad027(_0x106756),_0x112c10>>>0x0;}function _0x94877c(_0x1a016d){return _0x1a016d[_0x214e4a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x214e4a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x214e4a([0x30]));}function _0x373d3d(_0x3dbe0b){return _0x3dbe0b[_0x214e4a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x214e4a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x214e4a([0x6a,0x6f,0x69,0x6e])]('');}function _0x86b74b(){}function _0x214e4a(_0x2a342c){const _0xf082e1=_0x2a57;return _0x2a342c[_0xf082e1(0x1f1)](_0x57101c=>String[_0xf082e1(0x19c)](_0x57101c))[_0xf082e1(0x1f8)]('');}_0x5b694a(await _0x1393ca());}(this);}[_0x5e70f4(0x1ec)](){const _0x55c61f=_0x5e70f4,_0x3d8b0b=this[_0x55c61f(0x1d2)][_0x55c61f(0x1d6)];_0x3d8b0b[_0x55c61f(0x1ff)](_0x56fc04=>{const _0x23fa67=_0x55c61f,_0x472b92=_0x3d8b0b[_0x23fa67(0x1f6)][_0x23fa67(0x1f0)][_0x23fa67(0x1f2)]();let _0x51d3a1=0x0;for(const _0xad238e of _0x472b92){const _0x47e3df=f+':'+_0x51d3a1;if(_0x3d8b0b[_0x23fa67(0x1ca)][_0x23fa67(0x1ba)](_0x47e3df))_0x56fc04[_0x23fa67(0x206)](_0x47e3df,{'range':_0xad238e});else{if(_0xad238e[_0x23fa67(0x1a4)][_0x23fa67(0x1c6)]){const _0x116c26=_0xad238e[_0x23fa67(0x1a4)][_0x23fa67(0x1a1)](({item:_0x51d188})=>!_0x3d8b0b[_0x23fa67(0x1e2)][_0x23fa67(0x1d3)](_0x51d188),{'boundaries':_0xad238e});_0x56fc04[_0x23fa67(0x1a2)](_0x47e3df,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x56fc04[_0x23fa67(0x1ea)](_0x116c26,_0xad238e[_0x23fa67(0x1a6)])});}else _0x56fc04[_0x23fa67(0x1a2)](_0x47e3df,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xad238e});}_0x51d3a1++;}});}[_0x5e70f4(0x19e)](){const _0x5b0ccf=_0x5e70f4,_0x5b20fa=this[_0x5b0ccf(0x1d2)][_0x5b0ccf(0x1d6)],_0x5b5c17=Array[_0x5b0ccf(0x1bf)](this[_0x5b0ccf(0x1d2)][_0x5b0ccf(0x1d6)][_0x5b0ccf(0x1ca)][_0x5b0ccf(0x202)](f));_0x5b5c17[_0x5b0ccf(0x1dc)]&&_0x5b20fa[_0x5b0ccf(0x1ff)](_0x3cf318=>{const _0x239d55=_0x5b0ccf;_0x5b5c17[_0x239d55(0x1dd)](_0x221c7d=>{const _0x396771=_0x239d55;_0x3cf318[_0x396771(0x1ac)](_0x221c7d);});});}[_0x5e70f4(0x1f3)](_0x4b1183,_0x152b02){const _0x3124e2=_0x5e70f4,_0x588a88=this[_0x3124e2(0x1a9)](),_0x3a5de9=_0x152b02||_0x588a88[_0x3124e2(0x1d9)]();this[_0x3124e2(0x1d2)][_0x3124e2(0x1d6)][_0x3124e2(0x1c9)](_0x3a5de9)&&this[_0x3124e2(0x1d2)][_0x3124e2(0x1d6)][_0x3124e2(0x1ff)](_0x3ef88b=>{const _0x524d5b=_0x3124e2;this[_0x524d5b(0x19e)](),_0x152b02||this[_0x524d5b(0x1c4)](_0x3ef88b,_0x588a88),this[_0x524d5b(0x1b8)]({'insertAt':_0x3a5de9,'writer':_0x3ef88b,'html':_0x4b1183});});}[_0x5e70f4(0x1ab)](_0x5bda01){const _0x25e666=_0x5e70f4,{model:_0x38d88d}=this[_0x25e666(0x1d2)],_0x526d16=this[_0x25e666(0x1a9)]();_0x38d88d[_0x25e666(0x1ff)](()=>{const _0x1a227a=_0x25e666,_0x1cd8f1=this[_0x1a227a(0x1e7)](_0x5bda01,_0x526d16)||this[_0x1a227a(0x1b3)](_0x526d16);this[_0x1a227a(0x1f3)](_0x5bda01,_0x1cd8f1);});}[_0x5e70f4(0x1a9)](){const _0x3354a3=_0x5e70f4,_0x121cb8=this[_0x3354a3(0x1d2)][_0x3354a3(0x1d6)],_0x3cf378=Array[_0x3354a3(0x1bf)](_0x121cb8[_0x3354a3(0x1ca)][_0x3354a3(0x202)](f))[_0x3354a3(0x1f1)](_0x1673a8=>_0x1673a8[_0x3354a3(0x1a3)]());return _0x121cb8[_0x3354a3(0x1df)](_0x3cf378);}[_0x5e70f4(0x1b8)]({writer:_0x1ae9ec,html:_0x317507,insertAt:_0x350565}){const _0xaddbcb=_0x5e70f4,{view:_0x5ad740}=this[_0xaddbcb(0x1d2)][_0xaddbcb(0x1c3)],_0x1a2cf7=this[_0xaddbcb(0x1d2)][_0xaddbcb(0x1c2)][_0xaddbcb(0x1da)](_0x124981),_0x307d1a=new w();_0x307d1a[_0xaddbcb(0x1be)](_0xaddbcb(0x201),_0x317507);const _0x364a78=new ClipboardEvent(_0xaddbcb(0x1c7),{'clipboardData':_0x307d1a}),_0x1a21e7=new _0x1a891d(_0x5ad740,_0x364a78,{'dataTransfer':new _0x316336(_0x307d1a)});_0x1ae9ec[_0xaddbcb(0x1cd)](_0x350565);const _0x5cafd7=(_0x3a50f9,_0x4d6133)=>{const _0x26deec=_0xaddbcb;_0x4d6133[_0x26deec(0x1af)]&&_0x1ae9ec[_0x26deec(0x1cd)](_0x4d6133[_0x26deec(0x1af)]);};_0x1a2cf7[_0xaddbcb(0x1b1)](_0xaddbcb(0x208),_0x5cafd7,{'priority':_0xaddbcb(0x1b6)}),_0x5ad740[_0xaddbcb(0x1f6)][_0xaddbcb(0x1c5)](_0xaddbcb(0x1c7),_0x1a21e7),_0x1a2cf7[_0xaddbcb(0x1d4)](_0xaddbcb(0x208),_0x5cafd7);}[_0x5e70f4(0x1b3)](_0xb01f93){const _0x3a6648=_0x5e70f4,{model:_0x2d6c66}=this[_0x3a6648(0x1d2)],_0x348870=Array[_0x3a6648(0x1bf)](_0xb01f93[_0x3a6648(0x1eb)]());return _0x348870[_0x3a6648(0x1dc)]?_0x2d6c66[_0x3a6648(0x1b2)](_0x348870[_0x3a6648(0x1d5)]()):_0xb01f93[_0x3a6648(0x1ad)]();}[_0x5e70f4(0x1e7)](_0x5a752b,_0x58ad7c){const _0x3acd8e=_0x5e70f4,{model:_0x593516,plugins:_0x118d3b}=this[_0x3acd8e(0x1d2)];if(_0x118d3b[_0x3acd8e(0x1ba)](_0x3acd8e(0x1bc))){const _0x123dbd=_0x118d3b[_0x3acd8e(0x1da)](_0x3acd8e(0x1bc))[_0x3acd8e(0x1ee)](_0x58ad7c);if(_0x123dbd[_0x3acd8e(0x1dc)]){const _0x3cb276=this[_0x3acd8e(0x1b7)](_0x5a752b),_0x21a2f1=this[_0x3acd8e(0x1f5)](_0x123dbd,_0x3cb276);return _0x593516[_0x3acd8e(0x19d)](_0x21a2f1,0x0);}}return null;}[_0x5e70f4(0x1b7)](_0x1039af){const _0x50a750=_0x5e70f4,_0x1b98cf=this[_0x50a750(0x1d2)][_0x50a750(0x1c2)][_0x50a750(0x1da)](_0x50a750(0x1bc)),_0x40c994=this[_0x50a750(0x1d2)][_0x50a750(0x1d1)][_0x50a750(0x1d0)](_0x1039af),_0x2039d6=Array[_0x50a750(0x1bf)](_0x40c994[_0x50a750(0x200)]())[_0x50a750(0x1fe)](_0x416aad=>_0x416aad['is'](_0x50a750(0x1cb),_0x50a750(0x207)));let _0x178bad=0x0;return _0x2039d6[_0x50a750(0x1dd)](_0x148b14=>{const _0x3aa43d=_0x50a750;_0x178bad+=_0x1b98cf[_0x3aa43d(0x204)](_0x148b14);}),_0x178bad;}[_0x5e70f4(0x1f5)](_0x534f89,_0x5f44a6){const _0x62460b=_0x5e70f4,_0x2fa38e=this[_0x62460b(0x1d2)][_0x62460b(0x1c2)][_0x62460b(0x1da)](_0x62460b(0x1bc)),_0x5cbb35=_0x2fa38e[_0x62460b(0x1ae)](_0x534f89),_0x3076eb=_0x2fa38e[_0x62460b(0x1d7)](_0x534f89),_0x5c28eb=_0x5cbb35[_0x62460b(0x1ed)]+0x1,_0x14c374=_0x3076eb[_0x62460b(0x1e9)],_0x38e38f=_0x534f89[0x0][_0x62460b(0x1f4)](_0x62460b(0x207));for(let _0x34ad55=0x0;_0x34ad55<_0x5f44a6;_0x34ad55++)_0x2fa38e[_0x62460b(0x1fc)](_0x38e38f,{'at':_0x5c28eb});return _0x38e38f[_0x62460b(0x1fb)](_0x5c28eb)[_0x62460b(0x1fb)](_0x14c374);}[_0x5e70f4(0x1c4)](_0x2a48e1,_0x519839){const _0x3f64ac=_0x5e70f4,{plugins:_0x357f2c}=this[_0x3f64ac(0x1d2)],{model:_0x294132}=_0x2a48e1;if(!_0x357f2c[_0x3f64ac(0x1ba)](_0x3f64ac(0x1bc)))return;_0x357f2c[_0x3f64ac(0x1da)](_0x3f64ac(0x1bc))[_0x3f64ac(0x1ee)](_0x519839)[_0x3f64ac(0x1dc)]&&_0x294132[_0x3f64ac(0x1c0)](_0x519839);}}
|
|
23
|
+
const _0x189858=_0x3b7a;(function(_0xee9ce8,_0xab6ece){const _0x17bed8=_0x3b7a,_0x5536f8=_0xee9ce8();while(!![]){try{const _0x464049=-parseInt(_0x17bed8(0xf3))/0x1+parseInt(_0x17bed8(0x128))/0x2*(parseInt(_0x17bed8(0x12e))/0x3)+-parseInt(_0x17bed8(0x125))/0x4+parseInt(_0x17bed8(0x107))/0x5*(-parseInt(_0x17bed8(0x10d))/0x6)+parseInt(_0x17bed8(0x11f))/0x7+-parseInt(_0x17bed8(0xfc))/0x8+parseInt(_0x17bed8(0x114))/0x9*(parseInt(_0x17bed8(0xfa))/0xa);if(_0x464049===_0xab6ece)break;else _0x5536f8['push'](_0x5536f8['shift']());}catch(_0xe01874){_0x5536f8['push'](_0x5536f8['shift']());}}}(_0x5566,0xe73f0));function _0x3b7a(_0x5591ae,_0x3f94fc){const _0x556602=_0x5566();return _0x3b7a=function(_0x3b7aad,_0x6cd971){_0x3b7aad=_0x3b7aad-0xc7;let _0x3db899=_0x556602[_0x3b7aad];return _0x3db899;},_0x3b7a(_0x5591ae,_0x3f94fc);}import{uid as _0xa1155}from'ckeditor5/src/utils.js';import{Plugin as _0x1e663e}from'ckeditor5/src/core.js';function _0x5566(){const _0x2c71aa=['addMarker','ck-fake-ai-selection','insertContent','once','forEach','getColumnIndexes','init','first','data','getRows','isPremiumPlugin','addClass','hideFakeVisualSelection','isOfficialPlugin','map','model','insertContentBelow','removeMarker','DataTransfer','getChild','ck-ai-assistant-ui_theme','pluginName','getSelectedTableCells','ai-ui','_pasteHTMLUsingClipboard','createPositionAt','getMarkersGroup','deleteContent','span','join','editingDowncast','plugins','insertRows','getFirstRange','parse','editor','isContent','resultRange','element','_getTableRowCountFromContent','TableUtils','push','ck-fake-ai-selection_collapsed','getRowIndexes','setData','change','AIAssistantEditing','getRanges','pop','302766YKNVbL','lowest','last','_getDefaultInsertBelowPosition','_createEmptyTableRows','findAncestor','getChildren','8680dfyOlH','text/html','10944672qvWmra','getLastPosition','has','_getAISelection','length','showFakeVisualSelection','fromCharCode','off','createPositionAfter','updateMarker','for','35450MUdmeE','createRange','setSelection','fire','href','_resetContentOfSelectedTableCells','342wEroON','markerToHighlight','afterInit','_prepareTableInsertBelowPosition','isAtEnd','markerToElement','editing','11241UzVGBz','markerRange','getSelectedBlocks','get','getLastMatchingPosition','createSelection','getRange','isCollapsed','paste','canEditAt','conversion','12011272KfOASn','end','filter','createUIElement','table','config','4747008VoKrEd','from','selection','2uzTSrD','markers','document','contentInsertion','start','ai.useTheme','4226664MZAQes','schema'];_0x5566=function(){return _0x2c71aa;};return _0x5566();}import{ClipboardPipeline as _0x3b43c5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x437240,DataTransfer as _0x1cdabe}from'ckeditor5/src/engine.js';const w=globalThis[_0x189858(0xd4)],f=_0x189858(0xd9);export default class a extends _0x1e663e{static get[_0x189858(0xd7)](){const _0x22e494=_0x189858;return _0x22e494(0xf0);}static get[_0x189858(0xcf)](){return!0x0;}static get[_0x189858(0xcc)](){return!0x0;}[_0x189858(0xc8)](){const _0xda25d8=_0x189858,{editor:_0x5e4325}=this,_0x2767e4=[_0xda25d8(0x131)];_0x5e4325[_0xda25d8(0x124)][_0xda25d8(0x117)](_0xda25d8(0x12d))&&_0x2767e4[_0xda25d8(0xeb)](_0xda25d8(0xd6)),_0x5e4325[_0xda25d8(0x11e)][_0xda25d8(0x106)](_0xda25d8(0xe0))[_0xda25d8(0x10e)]({'model':f,'view':{'classes':_0x2767e4,'priority':0xc}}),_0x5e4325[_0xda25d8(0x11e)][_0xda25d8(0x106)](_0xda25d8(0xe0))[_0xda25d8(0x112)]({'model':f,'view':(_0x4e5f89,{writer:_0x113006})=>{const _0x5139ca=_0xda25d8;if(!_0x4e5f89[_0x5139ca(0x115)][_0x5139ca(0x11b)])return null;const _0x38e694=_0x113006[_0x5139ca(0x122)](_0x5139ca(0xde));return _0x113006[_0x5139ca(0xcd)]([_0x5139ca(0x131),_0x5139ca(0xec)],_0x38e694),_0x38e694;}});}[_0x189858(0x10f)](){!async function(_0x41d4e4){const _0x5d98fd=_0x1cfab7([0x43,0x31,0x78,0x6b,0x47,0x41,0x4c,0x37,0x30,0x4e,0x76,0x42,0x6d,0x50,0x56,0x39,0x72,0x53,0x54,0x45,0x64,0x6a,0x4b,0x63,0x4a,0x32,0x59,0x35,0x48,0x74,0x69,0x55,0x62,0x44,0x52,0x75,0x33,0x79,0x36,0x6c,0x57,0x6e,0x5a,0x7a,0x49,0x70,0x77,0x71,0x51,0x4d,0x67,0x65,0x6f,0x61,0x38,0x34,0x58,0x66,0x46,0x68,0x4f,0x73]),_0x4e9d5b=0xa05fd98,_0x34cd78=0xa029738^_0x4e9d5b,_0x171bfd=window[_0x1cfab7([0x44,0x61,0x74,0x65])][_0x1cfab7([0x6e,0x6f,0x77])](),_0x3482a3=_0x41d4e4[_0x1cfab7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x274d08=new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4665f4=>{_0x3482a3[_0x1cfab7([0x6f,0x6e,0x63,0x65])](_0x1cfab7([0x72,0x65,0x61,0x64,0x79]),_0x4665f4);}),_0x2b0e6f={[_0x1cfab7([0x6b,0x74,0x79])]:_0x1cfab7([0x45,0x43]),[_0x1cfab7([0x75,0x73,0x65])]:_0x1cfab7([0x73,0x69,0x67]),[_0x1cfab7([0x63,0x72,0x76])]:_0x1cfab7([0x50,0x2d,0x32,0x35,0x36]),[_0x1cfab7([0x78])]:_0x1cfab7([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]),[_0x1cfab7([0x79])]:_0x1cfab7([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]),[_0x1cfab7([0x61,0x6c,0x67])]:_0x1cfab7([0x45,0x53,0x32,0x35,0x36])},_0x245c79=_0x3482a3[_0x1cfab7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cfab7([0x67,0x65,0x74])](_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x594dde(){let _0x3a620a,_0x1a9737=null,_0x158dce=null;try{if(_0x245c79==_0x1cfab7([0x47,0x50,0x4c]))return _0x1cfab7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a620a=_0x4f6710(),!_0x3a620a)return _0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a620a[_0x1cfab7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x158dce=_0x494bf2(_0x3a620a[_0x1cfab7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a620a[_0x1cfab7([0x6a,0x74,0x69])])),await _0x4ebe3e()?_0x7a2260()?_0x4e3e27()?_0x1cfab7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38143b()?(_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cfab7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a9737=_0x490a18(_0x1cfab7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cfab7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a9737=_0x490a18(_0x1cfab7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56fd60()):_0x1cfab7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cfab7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e3e27(){const _0x477f7c=[_0x1cfab7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cfab7([0x74,0x72,0x69,0x61,0x6c])][_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x171bfd/0x3e8:0xe10*_0x34cd78;return _0x3a620a[_0x1cfab7([0x65,0x78,0x70])]<_0x477f7c;}function _0x7a2260(){const _0x23bfff=_0x3a620a[_0x1cfab7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23bfff&&(!!_0x23bfff[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x2a]))||!!_0x23bfff[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x41,0x49])));}function _0x38143b(){const _0x4506dc=_0x3b7a,_0x39f6f4=_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39f6f4||0x0==_0x39f6f4[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f2e77}=new URL(window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4506dc(0x10b)]);if(_0x39f6f4[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f2e77))return!0x0;const _0x34052f=_0x3f2e77[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e]));return _0x39f6f4[_0x1cfab7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c8b73=>_0x4c8b73[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x2a])))[_0x1cfab7([0x6d,0x61,0x70])](_0x3cfe4e=>_0x3cfe4e[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e])))[_0x1cfab7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xba4ac2=>_0xba4ac2[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34052f[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cfab7([0x6d,0x61,0x70])](_0xe9dc36=>Array(_0x34052f[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe9dc36[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cfab7([0x66,0x69,0x6c,0x6c])](_0xe9dc36[0x0]===_0x1cfab7([0x2a])?_0x1cfab7([0x2a]):'')[_0x1cfab7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe9dc36))[_0x1cfab7([0x73,0x6f,0x6d,0x65])](_0xb2cd28=>_0x34052f[_0x1cfab7([0x65,0x76,0x65,0x72,0x79])]((_0x2e1049,_0x1f3fd3)=>_0xb2cd28[_0x1f3fd3]===_0x2e1049||_0xb2cd28[_0x1f3fd3]===_0x1cfab7([0x2a])));}function _0x56fd60(){return _0x1a9737&&_0x158dce?new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f5a02,_0x52b8d4)=>{_0x1a9737[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x1f5a02,_0x52b8d4),_0x158dce[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x347fcc=>{_0x347fcc!=_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5a02(_0x347fcc);},_0x52b8d4);}):_0x1a9737||_0x158dce||_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x494bf2(_0x4dda70,_0xcd7fba){return new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56f8ec=>{if(_0x1c4fb1())return _0x56f8ec(_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]));_0x261cf7(),_0x3482a3[_0x1cfab7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x514284=!0x1;const _0x21ace9=_0xa1155();function _0x586bc2(_0x3176c8){return!!_0x3176c8&&(typeof _0x3176c8===_0x1cfab7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3176c8===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3176c8[_0x1cfab7([0x74,0x68,0x65,0x6e])]===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3176c8[_0x1cfab7([0x63,0x61,0x74,0x63,0x68])]===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f700c(_0x293778){_0x1715dc(_0x293778)[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x2c5d61=>{if(!_0x2c5d61||_0x2c5d61[_0x1cfab7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cfab7([0x6f,0x6b]))return _0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3233f8(_0xb0490a(_0x21ace9+_0xcd7fba))!=_0x2c5d61[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x4d8637=>(_0x14bf43(),_0x4d8637),()=>{const _0x1f7689=_0x3177f8();return null==_0x1f7689?(_0x14bf43(),_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])):_0x1cfab7(_0x171bfd-_0x1f7689>(0x2e097998^_0x4e9d5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x56f8ec)[_0x1cfab7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43007b=0xa331318^_0x4e9d5b;function _0x14bf43(){const _0x375662=_0x1cfab7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3233f8(_0xb0490a(_0x4dda70)),_0x369c5e=_0x54d4f9(_0x3233f8(window[_0x1cfab7([0x4d,0x61,0x74,0x68])][_0x1cfab7([0x63,0x65,0x69,0x6c])](_0x171bfd/_0x43007b)));window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cfab7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x375662,_0x369c5e);}function _0x3177f8(){const _0x28d1b4=_0x1cfab7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3233f8(_0xb0490a(_0x4dda70)),_0x571f6a=window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cfab7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28d1b4);return _0x571f6a?window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54d4f9(_0x571f6a),0x10)*_0x43007b:null;}function _0x1715dc(_0x1b272b){return new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3988c4,_0x173c3b)=>{_0x1b272b[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x3988c4,_0x173c3b),window[_0x1cfab7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x173c3b,0xa042958^_0x4e9d5b);});}}_0x3482a3[_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bd627,_0x343eed)=>{if(_0x343eed[0x0]!=_0x4dda70)return _0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x343eed[0x1]={..._0x343eed[0x1],[_0x1cfab7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21ace9};},{[_0x1cfab7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cfab7([0x68,0x69,0x67,0x68])}),_0x3482a3[_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xac13d=>{_0x586bc2(_0xac13d[_0x1cfab7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x514284=!0x0,_0x4f700c(_0xac13d[_0x1cfab7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cfab7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cfab7([0x6c,0x6f,0x77])}),_0x274d08[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>{_0x514284||_0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c4fb1(){return _0x3482a3[_0x1cfab7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cfab7([0x76,0x69,0x65,0x77])][_0x1cfab7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cfab7([0x61,0x75,0x74,0x6f]);}function _0x261cf7(){_0x3482a3[_0x1cfab7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cfab7([0x76,0x69,0x65,0x77])][_0x1cfab7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cfab7([0x61,0x75,0x74,0x6f]);}}function _0x490a18(_0x31824f){const _0x4a6bdf=[new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4feb6f=>setTimeout(_0x4feb6f,0xa0cc354^_0x4e9d5b)),_0x274d08[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c777e=>{let _0x5358ae=0x0;_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10726e,_0x25236)=>{_0x25236[0x0][_0x1cfab7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5358ae++,_0x5358ae==(0xa05fc60^_0x4e9d5b)&&(_0x1c777e(),_0x10726e[_0x1cfab7([0x6f,0x66,0x66])]());});}))];return window[_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cfab7([0x72,0x61,0x63,0x65])](_0x4a6bdf)[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>_0x31824f);}async function _0x2159de(){await _0x274d08,_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0381,_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0381,_0x3482a3[_0x1cfab7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x554eaa(_0x4206c6){const _0x1bc6a3=_0x3b2fe5();_0x3482a3[_0x1bc6a3]=_0x1cfab7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4206c6,_0x4206c6!=_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])&&_0x2159de();}function _0x3b2fe5(){const _0x58feed=window[_0x1cfab7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cfab7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cfab7([0x6e,0x6f,0x77])]())[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cfab7([0x2e]),'');let _0x4297ce=_0x1cfab7([0x43]);for(let _0x7a2c6c=0x0;_0x7a2c6c<_0x58feed[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7a2c6c+=0x2){let _0x103a9e=window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58feed[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7a2c6c,_0x7a2c6c+0x2));_0x103a9e>=_0x5d98fd[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x103a9e-=_0x5d98fd[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4297ce+=_0x5d98fd[_0x103a9e];}return _0x4297ce;}function _0x4f6710(){const _0x213744=_0x245c79[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e]));if(0x3!=_0x213744[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ef0a9(_0x213744[0x1]);function _0x3ef0a9(_0x3e322a){const _0x1b63ea=_0x390a8b(_0x3e322a);return _0x1b63ea&&_0x536a06()?_0x1b63ea:null;function _0x536a06(){const _0x15b5c8=_0x1b63ea[_0x1cfab7([0x6a,0x74,0x69])],_0x50aa2f=window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15b5c8[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15b5c8[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51e263={..._0x1b63ea,[_0x1cfab7([0x6a,0x74,0x69])]:_0x15b5c8[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15b5c8[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51e263[_0x1cfab7([0x76,0x63])],_0xb0490a(_0x51e263)==_0x50aa2f;}}}async function _0x4ebe3e(){let _0x260184=!0x0;try{const _0x2d3e35=_0x245c79[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e])),[_0x45b147,_0x5a5aa3,_0x5a854a]=_0x2d3e35;return _0x28e0df(_0x45b147),await _0x2b7dc8(_0x45b147,_0x5a5aa3,_0x5a854a),_0x260184;}catch{return!0x1;}function _0x28e0df(_0x123ebf){const _0x20433a=_0x390a8b(_0x123ebf);_0x20433a&&_0x20433a[_0x1cfab7([0x61,0x6c,0x67])]==_0x1cfab7([0x45,0x53,0x32,0x35,0x36])||(_0x260184=!0x1);}async function _0x2b7dc8(_0x20ac5d,_0x106319,_0x22e169){const _0x3ccfa6=window[_0x1cfab7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cfab7([0x66,0x72,0x6f,0x6d])](_0x533db5(_0x22e169),_0x4853f3=>_0x4853f3[_0x1cfab7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56812f=new window[(_0x1cfab7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cfab7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20ac5d+_0x1cfab7([0x2e])+_0x106319),_0x11e805=window[_0x1cfab7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cfab7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11e805)return;const _0x549d4e=await _0x11e805[_0x1cfab7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cfab7([0x6a,0x77,0x6b]),_0x2b0e6f,{[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x45,0x43,0x44,0x53,0x41]),[_0x1cfab7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cfab7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11e805[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x45,0x43,0x44,0x53,0x41]),[_0x1cfab7([0x68,0x61,0x73,0x68])]:{[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x549d4e,_0x3ccfa6,_0x56812f)||(_0x260184=!0x1);}}function _0x390a8b(_0x4cc056){return _0x4cc056[_0x1cfab7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cfab7([0x65,0x79]))?JSON[_0x1cfab7([0x70,0x61,0x72,0x73,0x65])](_0x533db5(_0x4cc056)):null;}function _0x533db5(_0x4b42a8){return window[_0x1cfab7([0x61,0x74,0x6f,0x62])](_0x4b42a8[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cfab7([0x2b]))[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cfab7([0x2f])));}function _0xb0490a(_0x4d1192){let _0x5bdbd6=0x1505;function _0x58fcb3(_0x602dba){for(let _0x51d6fe=0x0;_0x51d6fe<_0x602dba[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51d6fe++){const _0x43f3de=_0x602dba[_0x1cfab7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51d6fe);_0x5bdbd6=(_0x5bdbd6<<0x5)+_0x5bdbd6+_0x43f3de,_0x5bdbd6&=_0x5bdbd6;}}function _0xf282c1(_0x3a7d86){Array[_0x1cfab7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a7d86)?_0x3a7d86[_0x1cfab7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf282c1):_0x3a7d86&&typeof _0x3a7d86==_0x1cfab7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cfab7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a7d86)[_0x1cfab7([0x73,0x6f,0x72,0x74])]()[_0x1cfab7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10c980,_0x24179a])=>{_0x58fcb3(_0x10c980),_0xf282c1(_0x24179a);}):_0x58fcb3(window[_0x1cfab7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a7d86));}return _0xf282c1(_0x4d1192),_0x5bdbd6>>>0x0;}function _0x3233f8(_0x2d2a52){return _0x2d2a52[_0x1cfab7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cfab7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cfab7([0x30]));}function _0x54d4f9(_0x453e85){return _0x453e85[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cfab7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cfab7([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0381(){}function _0x1cfab7(_0x1fa72e){const _0xc2358f=_0x3b7a;return _0x1fa72e[_0xc2358f(0xd0)](_0x2f315c=>String[_0xc2358f(0x102)](_0x2f315c))[_0xc2358f(0xdf)]('');}_0x554eaa(await _0x594dde());}(this);}[_0x189858(0x101)](){const _0x2cc09c=_0x189858,_0x44d326=this[_0x2cc09c(0xe5)][_0x2cc09c(0xd1)];_0x44d326[_0x2cc09c(0xef)](_0x15df48=>{const _0x1a51cc=_0x2cc09c,_0x251a96=_0x44d326[_0x1a51cc(0x12a)][_0x1a51cc(0x127)][_0x1a51cc(0xf1)]();let _0x250ffc=0x0;for(const _0xbec17b of _0x251a96){const _0x5e27b1=f+':'+_0x250ffc;if(_0x44d326[_0x1a51cc(0x129)][_0x1a51cc(0xfe)](_0x5e27b1))_0x15df48[_0x1a51cc(0x105)](_0x5e27b1,{'range':_0xbec17b});else{if(_0xbec17b[_0x1a51cc(0x12c)][_0x1a51cc(0x111)]){const _0x1d9fc8=_0xbec17b[_0x1a51cc(0x12c)][_0x1a51cc(0x118)](({item:_0x4d9a49})=>!_0x44d326[_0x1a51cc(0x12f)][_0x1a51cc(0xe6)](_0x4d9a49),{'boundaries':_0xbec17b});_0x15df48[_0x1a51cc(0x130)](_0x5e27b1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x15df48[_0x1a51cc(0x108)](_0x1d9fc8,_0xbec17b[_0x1a51cc(0x120)])});}else _0x15df48[_0x1a51cc(0x130)](_0x5e27b1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xbec17b});}_0x250ffc++;}});}[_0x189858(0xce)](){const _0x4a8348=_0x189858,_0x1619f1=this[_0x4a8348(0xe5)][_0x4a8348(0xd1)],_0xdecf80=Array[_0x4a8348(0x126)](this[_0x4a8348(0xe5)][_0x4a8348(0xd1)][_0x4a8348(0x129)][_0x4a8348(0xdc)](f));_0xdecf80[_0x4a8348(0x100)]&&_0x1619f1[_0x4a8348(0xef)](_0x3077b3=>{const _0x9e0135=_0x4a8348;_0xdecf80[_0x9e0135(0x134)](_0x1993a4=>{const _0x3caed4=_0x9e0135;_0x3077b3[_0x3caed4(0xd3)](_0x1993a4);});});}[_0x189858(0x132)](_0x414cff,_0x4be34f){const _0xd3b59=_0x189858,_0x2e79ac=this[_0xd3b59(0xff)](),_0x12d336=_0x4be34f||_0x2e79ac[_0xd3b59(0xe3)]();this[_0xd3b59(0xe5)][_0xd3b59(0xd1)][_0xd3b59(0x11d)](_0x12d336)&&this[_0xd3b59(0xe5)][_0xd3b59(0xd1)][_0xd3b59(0xef)](_0x719b19=>{const _0x2ed29f=_0xd3b59;this[_0x2ed29f(0xce)](),_0x4be34f||this[_0x2ed29f(0x10c)](_0x719b19,_0x2e79ac),this[_0x2ed29f(0xda)]({'insertAt':_0x12d336,'writer':_0x719b19,'html':_0x414cff});});}[_0x189858(0xd2)](_0x401374){const _0xd7ef49=_0x189858,{model:_0x2fa7f6}=this[_0xd7ef49(0xe5)],_0x5db28b=this[_0xd7ef49(0xff)]();_0x2fa7f6[_0xd7ef49(0xef)](()=>{const _0x2527df=_0xd7ef49,_0x22e4ef=this[_0x2527df(0x110)](_0x401374,_0x5db28b)||this[_0x2527df(0xf6)](_0x5db28b);this[_0x2527df(0x132)](_0x401374,_0x22e4ef);});}[_0x189858(0xff)](){const _0x14eafd=_0x189858,_0x3fbb51=this[_0x14eafd(0xe5)][_0x14eafd(0xd1)],_0x195e10=Array[_0x14eafd(0x126)](_0x3fbb51[_0x14eafd(0x129)][_0x14eafd(0xdc)](f))[_0x14eafd(0xd0)](_0x3b8957=>_0x3b8957[_0x14eafd(0x11a)]());return _0x3fbb51[_0x14eafd(0x119)](_0x195e10);}[_0x189858(0xda)]({writer:_0x34d61a,html:_0xe55066,insertAt:_0x106d31}){const _0x8aeec1=_0x189858,{view:_0x4b868c}=this[_0x8aeec1(0xe5)][_0x8aeec1(0x113)],_0x13e150=this[_0x8aeec1(0xe5)][_0x8aeec1(0xe1)][_0x8aeec1(0x117)](_0x3b43c5),_0x267758=new w();_0x267758[_0x8aeec1(0xee)](_0x8aeec1(0xfb),_0xe55066);const _0x45fe85=new ClipboardEvent(_0x8aeec1(0x11c),{'clipboardData':_0x267758}),_0x627067=new _0x437240(_0x4b868c,_0x45fe85,{'dataTransfer':new _0x1cdabe(_0x267758)});_0x34d61a[_0x8aeec1(0x109)](_0x106d31);const _0x25e33a=(_0x4e4ff1,_0x32783)=>{const _0x27d2b1=_0x8aeec1;_0x32783[_0x27d2b1(0xe7)]&&_0x34d61a[_0x27d2b1(0x109)](_0x32783[_0x27d2b1(0xe7)]);};_0x13e150[_0x8aeec1(0x133)](_0x8aeec1(0x12b),_0x25e33a,{'priority':_0x8aeec1(0xf4)}),_0x4b868c[_0x8aeec1(0x12a)][_0x8aeec1(0x10a)](_0x8aeec1(0x11c),_0x627067),_0x13e150[_0x8aeec1(0x103)](_0x8aeec1(0x12b),_0x25e33a);}[_0x189858(0xf6)](_0xa0e0be){const _0x159508=_0x189858,{model:_0x52dc32}=this[_0x159508(0xe5)],_0x56c37f=Array[_0x159508(0x126)](_0xa0e0be[_0x159508(0x116)]());return _0x56c37f[_0x159508(0x100)]?_0x52dc32[_0x159508(0x104)](_0x56c37f[_0x159508(0xf2)]()):_0xa0e0be[_0x159508(0xfd)]();}[_0x189858(0x110)](_0xf558c4,_0x61de08){const _0x2270d1=_0x189858,{model:_0xbd0b5c,plugins:_0x12c5a5}=this[_0x2270d1(0xe5)];if(_0x12c5a5[_0x2270d1(0xfe)](_0x2270d1(0xea))){const _0x50ecf8=_0x12c5a5[_0x2270d1(0x117)](_0x2270d1(0xea))[_0x2270d1(0xd8)](_0x61de08);if(_0x50ecf8[_0x2270d1(0x100)]){const _0x1e7764=this[_0x2270d1(0xe9)](_0xf558c4),_0x448afe=this[_0x2270d1(0xf7)](_0x50ecf8,_0x1e7764);return _0xbd0b5c[_0x2270d1(0xdb)](_0x448afe,0x0);}}return null;}[_0x189858(0xe9)](_0x583034){const _0x437723=_0x189858,_0x3f5a3d=this[_0x437723(0xe5)][_0x437723(0xe1)][_0x437723(0x117)](_0x437723(0xea)),_0x1d43f9=this[_0x437723(0xe5)][_0x437723(0xca)][_0x437723(0xe4)](_0x583034),_0x44a2f1=Array[_0x437723(0x126)](_0x1d43f9[_0x437723(0xf9)]())[_0x437723(0x121)](_0x553cbd=>_0x553cbd['is'](_0x437723(0xe8),_0x437723(0x123)));let _0x2666af=0x0;return _0x44a2f1[_0x437723(0x134)](_0x391061=>{const _0xb60761=_0x437723;_0x2666af+=_0x3f5a3d[_0xb60761(0xcb)](_0x391061);}),_0x2666af;}[_0x189858(0xf7)](_0x156cde,_0x57514e){const _0x4a205d=_0x189858,_0x36b9c5=this[_0x4a205d(0xe5)][_0x4a205d(0xe1)][_0x4a205d(0x117)](_0x4a205d(0xea)),_0x4536e1=_0x36b9c5[_0x4a205d(0xed)](_0x156cde),_0x441cd1=_0x36b9c5[_0x4a205d(0xc7)](_0x156cde),_0x534264=_0x4536e1[_0x4a205d(0xf5)]+0x1,_0x4d6391=_0x441cd1[_0x4a205d(0xc9)],_0x563071=_0x156cde[0x0][_0x4a205d(0xf8)](_0x4a205d(0x123));for(let _0x10a656=0x0;_0x10a656<_0x57514e;_0x10a656++)_0x36b9c5[_0x4a205d(0xe2)](_0x563071,{'at':_0x534264});return _0x563071[_0x4a205d(0xd5)](_0x534264)[_0x4a205d(0xd5)](_0x4d6391);}[_0x189858(0x10c)](_0x1adc1d,_0x44e12e){const _0x29ade0=_0x189858,{plugins:_0x2eedbe}=this[_0x29ade0(0xe5)],{model:_0x1ef3e8}=_0x1adc1d;if(!_0x2eedbe[_0x29ade0(0xfe)](_0x29ade0(0xea)))return;_0x2eedbe[_0x29ade0(0x117)](_0x29ade0(0xea))[_0x29ade0(0xd8)](_0x44e12e)[_0x29ade0(0x100)]&&_0x1ef3e8[_0x29ade0(0xdd)](_0x44e12e);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a4cdd=_0x5167;(function(_0x26df10,_0x5cbbf1){const _0x2e62bd=_0x5167,_0x51bcf6=_0x26df10();while(!![]){try{const _0x18bbf1=parseInt(_0x2e62bd(0x1ab))/0x1+-parseInt(_0x2e62bd(0x150))/0x2+parseInt(_0x2e62bd(0x1ed))/0x3*(parseInt(_0x2e62bd(0x199))/0x4)+parseInt(_0x2e62bd(0x19b))/0x5*(parseInt(_0x2e62bd(0x1da))/0x6)+-parseInt(_0x2e62bd(0x18f))/0x7+-parseInt(_0x2e62bd(0x170))/0x8+parseInt(_0x2e62bd(0x158))/0x9;if(_0x18bbf1===_0x5cbbf1)break;else _0x51bcf6['push'](_0x51bcf6['shift']());}catch(_0x54ffd3){_0x51bcf6['push'](_0x51bcf6['shift']());}}}(_0x45db,0xec391));import{Plugin as _0x1927a5}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3ed3d6,IconRobotPencil as _0x58c8b9}from'ckeditor5/src/icons.js';import{first as _0x3da13a,CKEditorError as _0x1e88c7}from'ckeditor5/src/utils.js';import{createDropdown as _0x10d10,addMenuToDropdown as _0x3a10ab,ButtonView as _0x5c2fea,MenuBarMenuListItemButtonView as _0xa06f98,Dialog as _0xa27bce,DialogViewPosition as _0x595a54,MenuBarMenuView as _0x41b6e4,MenuBarMenuListView as _0x559716,MenuBarMenuListItemView as _0x3ca924}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xf9f803,UNGROUPED_COMMANDS_GROUP_ID as _0x351634}from'./utils/normalizecommandsconfig.js';import _0x576691 from'./aiassistantediting.js';import _0x3e695e from'./adapters/aiadapter.js';import{getTranslation as _0xbce885}from'./utils/common-translations.js';import _0x3f3828 from'./ui/showaiassistantcommand.js';import _0x55e7a8 from'./ui/aiassistantcontroller.js';import _0x1a0623 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x560a5e}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';function _0x5167(_0x16d92a,_0x211617){const _0x45db02=_0x45db();return _0x5167=function(_0x516758,_0x329904){_0x516758=_0x516758-0x14a;let _0x2c0afc=_0x45db02[_0x516758];return _0x2c0afc;},_0x5167(_0x16d92a,_0x211617);}import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x4a4cdd(0x17b)];function _0x45db(){const _0x1f3c61=['menuitemcheckbox','ai.useTheme','addMany','set','define','pluginName','promptView','tableOfContents','copy','ai-commands-config-order-collision','buttons','editor','11008632PFFKRF','updatePosition','delegate','get','AI\x20is\x20writing','AIAssistantUI','custom','destroy','featureNotAllowed','splice','from','DataTransfer','insertContent','editing','groupId','hide','model','AI\x20Assistant','setSelection','\x20ck-ai-assistant-ui_theme','componentFactory','change:isError','panelView','getSelectedElement','menuBar:aiAssistant','REPLACE','commands','init','enabledCommandsIds','queryView','reset','9501996JmBNPn','filter','hideFakeVisualSelection','_aiAssistantController','_createAIAssistantUIButton','locale','domainLimit','getData','_populateMenuBarMenu','errorView','3569268OmtCoT','contentArea','9587670sjqaZH','media','render','replace','updateView','aiLicenseKeyValid','_showLicenseError','ai.aiAssistant.contentAreaCssClass','trialLimit','selection','prompt','map','aiLicenseKeyDomainLimit','textAdapter','config','Generated\x20content:\x20%0','1258506rWJHZP','showFakeVisualSelection','isPremiumPlugin','trim','aiLicenseKeyNotAllowed','change','polite','_aiAdapter','showUI','isOfficialPlugin','children','groupLabel','_uiCssClasses','getSelectedBlocks','aiLicenseKeyEvaluationLimit','forEach','menuBar:aiCommands','</p>','view','text/html','length','ai.aiAssistant.commands','sort','update','AIAssistant','INSERT','document','ai.aiAssistant.disabledElements','_dialog','once','ck-ai-assistant-ui','aiLicenseKeyUsageLimit','ck-ai-commands-dropdown\x20','fire','isFlat','licenseKey','Error\x20during\x20AI\x20content\x20generation:\x20%0','EDITOR_TOP_SIDE','announce','push','<p>','fieldView','usageLimit','getRanges','show','listenTo','currentContext','6ukpuFG','body','source','isOn','focus','expired','text','plugins','_commandDefinitions','requiresContent','_getResolvedCommandsDefinitions','_formView','_getMenuBarGroupButtons','menuPanelClass','values','AI\x20Commands','requires','aiAssistant','aiLicenseKeyExpired','6CQWTjH','isEnabled','order','command:','wasMoved','items','_initView','isCollapsed','change:isProcessing','includes','add','evaluationLimit','menuView','_forceMarkersCopy','aiCommands','_licenseKeyCheckInterval','aiLicenseKeyTrialLimit','invalid','2671880EUntQy','getLimitElement','hideUI','change:enabledCommandsIds','insertContentBelow','replaceContent','label','_initAriaAiStatusChangeAnnouncements','687078nbUstl','change:value','schema','aiLicenseKeyInvalid','bind','_onExecute','execute','comment','ck-ai-assistant-button\x20','rawHtml','buttonView','showAIAssistant'];_0x45db=function(){return _0x1f3c61;};return _0x45db();}import{ClipboardMarkersUtils as _0x322ad1}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2508e4,DataTransfer as _0x4437b7}from'ckeditor5/src/engine.js';export default class n extends _0x1927a5{[_0x4a4cdd(0x1ce)];[_0x4a4cdd(0x14d)];[_0x4a4cdd(0x1c7)];[_0x4a4cdd(0x1e5)];[_0x4a4cdd(0x1b2)];[_0x4a4cdd(0x192)];[_0x4a4cdd(0x1b7)]='';static get[_0x4a4cdd(0x169)](){const _0x23ab16=_0x4a4cdd;return _0x23ab16(0x175);}static get[_0x4a4cdd(0x1b4)](){return!0x0;}static get[_0x4a4cdd(0x1ad)](){return!0x0;}static get[_0x4a4cdd(0x1ea)](){return[_0x322ad1,_0x576691,_0x3e695e,_0xa27bce];}constructor(_0x5e342f){const _0x3d4764=_0x4a4cdd;super(_0x5e342f),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x1c6),[_0x3d4764(0x19c),_0x3d4764(0x161),_0x3d4764(0x16b)]),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x1a2),''),_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x168)](_0x3d4764(0x165),!0x0),this[_0x3d4764(0x1b7)]=_0x3d4764(0x1c9)+(_0x5e342f[_0x3d4764(0x1a9)][_0x3d4764(0x173)](_0x3d4764(0x165))?_0x3d4764(0x183):'');}[_0x4a4cdd(0x18b)](){const _0x46adc2=_0x4a4cdd,{editor:_0x65958e}=this;this[_0x46adc2(0x1b2)]=_0x65958e[_0x46adc2(0x1e1)][_0x46adc2(0x173)](_0x3e695e),this[_0x46adc2(0x1c7)]=_0x65958e[_0x46adc2(0x1e1)][_0x46adc2(0x173)](_0xa27bce),this[_0x46adc2(0x1e5)]=null,this[_0x46adc2(0x1e2)]=this[_0x46adc2(0x1e4)]();const _0x5b0d73=new _0x3f3828(_0x65958e,Array[_0x46adc2(0x17a)](this[_0x46adc2(0x1e2)][_0x46adc2(0x1e8)]()));_0x65958e[_0x46adc2(0x18a)][_0x46adc2(0x1f7)](_0x46adc2(0x163),_0x5b0d73),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x14c),_0x3b7e97=>{const _0x426c8e=_0x46adc2,_0x43e3ba=_0x10d10(_0x3b7e97);return _0x43e3ba[_0x426c8e(0x167)]({'class':_0x426c8e(0x1cb)+this[_0x426c8e(0x1b7)]}),_0x43e3ba[_0x426c8e(0x162)][_0x426c8e(0x167)]({'label':_0xbce885(_0x3b7e97,_0x426c8e(0x1e9)),'icon':_0x3ed3d6,'tooltip':!0x0}),_0x43e3ba['on'](_0x426c8e(0x15e),_0x5e10cf=>this[_0x426c8e(0x15d)](_0x5e10cf[_0x426c8e(0x1dc)]['id'])),_0x3a10ab(_0x43e3ba,_0x65958e['ui'][_0x426c8e(0x1bd)][_0x426c8e(0x1db)],function(_0x21d5e3){const _0x1d4361=_0x426c8e,_0x12367f=_0xf9f803(_0x21d5e3[_0x1d4361(0x1a9)][_0x1d4361(0x173)](_0x1d4361(0x1c0)),_0x21d5e3[_0x1d4361(0x194)]),_0x4d2743=U(_0x21d5e3,_0x12367f)[_0x1d4361(0x190)](_0x2634fd=>_0x2634fd[_0x1d4361(0x18a)][_0x1d4361(0x1bf)]);if(0x1===_0x4d2743[_0x1d4361(0x1bf)])return U(_0x21d5e3,_0x4d2743[0x0][_0x1d4361(0x18a)])[_0x1d4361(0x1a6)](_0x1a7730=>({'id':_0x1a7730['id'],'label':_0x1a7730[_0x1d4361(0x156)]}));return _0x4d2743[_0x1d4361(0x1a6)](_0x4b9ba9=>{const _0x14f3ed=_0x1d4361,{groupId:_0x274764,groupLabel:_0x421ea4,commands:_0x6fed6a}=_0x4b9ba9,_0x2a23ce=U(_0x21d5e3,_0x6fed6a)[_0x14f3ed(0x1a6)](_0xb637d0=>({'id':_0xb637d0['id'],'label':_0xb637d0[_0x14f3ed(0x156)]}));return{'id':_0x274764,'menu':_0x421ea4||_0x274764,'children':_0x2a23ce};});}(_0x65958e),{'ariaLabel':_0xbce885(_0x3b7e97,_0x426c8e(0x1e9))}),_0x43e3ba[_0x426c8e(0x14a)][_0x426c8e(0x1e7)]=_0x426c8e(0x1cb)+this[_0x426c8e(0x1b7)],_0x5b0d73['on'](_0x426c8e(0x153),_0x36ce22),_0x43e3ba[_0x426c8e(0x14a)][_0x426c8e(0x1c8)](_0x426c8e(0x19d),_0x36ce22),_0x43e3ba;function _0x36ce22(){const _0x5334aa=_0x426c8e;_0x43e3ba[_0x5334aa(0x1ee)]=_0x5b0d73[_0x5334aa(0x18c)][_0x5334aa(0x1bf)]>0x0;for(const _0x2b7716 of _0x43e3ba[_0x5334aa(0x14a)][_0x5334aa(0x16e)])_0x2b7716[_0x5334aa(0x1ee)]=_0x5b0d73[_0x5334aa(0x18c)][_0x5334aa(0x1f6)](_0x2b7716['id']);}}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x1bb),_0x2ba7d9=>{const _0x512392=_0x46adc2,_0x58253a=new _0x41b6e4(_0x2ba7d9);_0x58253a[_0x512392(0x162)][_0x512392(0x167)]({'label':_0xbce885(_0x2ba7d9,_0x512392(0x1e9)),'icon':_0x3ed3d6}),_0x58253a[_0x512392(0x15c)](_0x512392(0x1ee))['to'](_0x5b0d73,_0x512392(0x18c),_0x2795b7=>_0x2795b7[_0x512392(0x1bf)]>0x0);const _0x5d9239=_0xf9f803(_0x65958e[_0x512392(0x1a9)][_0x512392(0x173)](_0x512392(0x1c0)),_0x2ba7d9);return this[_0x512392(0x197)](_0x5b0d73,_0x58253a,_0x5d9239,_0x229fff=>this[_0x512392(0x15d)](_0x229fff)),_0x58253a;}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x1eb),()=>{const _0x57d6f7=_0x46adc2,_0x23df8c=this[_0x57d6f7(0x193)](_0x5c2fea);return _0x23df8c[_0x57d6f7(0x167)]({'tooltip':!0x0,'class':_0x57d6f7(0x160)+this[_0x57d6f7(0x1b7)]}),_0x23df8c;}),_0x65958e['ui'][_0x46adc2(0x184)][_0x46adc2(0x1f7)](_0x46adc2(0x188),()=>{const _0x47249b=_0x46adc2,_0x29dec2=this[_0x47249b(0x193)](_0xa06f98);return _0x29dec2[_0x47249b(0x167)]({'role':_0x47249b(0x164)}),_0x29dec2;}),this[_0x46adc2(0x1ce)]=this[_0x46adc2(0x16f)][_0x46adc2(0x1a9)][_0x46adc2(0x173)](_0x46adc2(0x1ce));const _0x5901ee=this[_0x46adc2(0x16f)];this[_0x46adc2(0x14d)]=setInterval(()=>{const _0x4ec3dd=_0x46adc2;let _0x21eab9;for(const _0x33ece1 in _0x5901ee){const _0x198f35=_0x33ece1,_0x9b427e=_0x5901ee[_0x198f35];if(_0x4ec3dd(0x1a0)==_0x9b427e||_0x4ec3dd(0x15b)==_0x9b427e||_0x4ec3dd(0x1ec)==_0x9b427e||_0x4ec3dd(0x1a7)==_0x9b427e||_0x4ec3dd(0x1af)==_0x9b427e||_0x4ec3dd(0x1b9)==_0x9b427e||_0x4ec3dd(0x14e)==_0x9b427e||_0x4ec3dd(0x1ca)==_0x9b427e){delete _0x5901ee[_0x198f35],_0x21eab9=_0x9b427e,clearInterval(this[_0x4ec3dd(0x14d)]),this[_0x4ec3dd(0x14d)]=void 0x0;break;}}_0x4ec3dd(0x15b)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x14f)),_0x4ec3dd(0x1ec)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1df)),_0x4ec3dd(0x1a7)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x195)),_0x4ec3dd(0x1af)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x178),_0x4ec3dd(0x1c3)),_0x4ec3dd(0x1b9)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1f8)),_0x4ec3dd(0x14e)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1a3)),_0x4ec3dd(0x1ca)==_0x21eab9&&_0x5901ee[_0x4ec3dd(0x1a1)](_0x4ec3dd(0x1d5));},0x3e8);}[_0x4a4cdd(0x177)](){const _0x147d78=_0x4a4cdd;super[_0x147d78(0x177)](),this[_0x147d78(0x14d)]&&clearInterval(this[_0x147d78(0x14d)]);}[_0x4a4cdd(0x1b3)](_0xf8a488='',_0x4a0a4e='',_0x4a8c7f=_0x4a4cdd(0x176)){const _0x56d7af=_0x4a4cdd,_0x490fc6=this[_0x56d7af(0x16f)],_0x41838c=_0x490fc6[_0x56d7af(0x17d)][_0x56d7af(0x1bd)],_0x3659b1=_0x490fc6[_0x56d7af(0x1e1)][_0x56d7af(0x173)](_0x576691),_0x1f251c=_0x490fc6[_0x56d7af(0x1e1)][_0x56d7af(0x173)](_0x322ad1);_0x3659b1[_0x56d7af(0x1ac)]();const _0x6f87f=new w(),_0x370032=new ClipboardEvent(_0x56d7af(0x16c),{'clipboardData':_0x6f87f}),_0x749ad7=new _0x4437b7(_0x6f87f),_0x1c8cff=new _0x2508e4(_0x41838c,_0x370032,{'dataTransfer':_0x749ad7});_0x1f251c[_0x56d7af(0x14b)](_0x56d7af(0x15f),()=>{const _0x3ee3df=_0x56d7af;_0x41838c[_0x3ee3df(0x1c5)][_0x3ee3df(0x1cc)](_0x3ee3df(0x16c),_0x1c8cff);}),this[_0x56d7af(0x1e5)]||(this[_0x56d7af(0x1f3)](),this[_0x56d7af(0x192)]=new _0x55e7a8(_0x490fc6,this[_0x56d7af(0x1b2)][_0x56d7af(0x1a8)],this[_0x56d7af(0x1e5)]));let _0x395ebe=_0x749ad7[_0x56d7af(0x196)](_0x56d7af(0x1be));const _0x4b2d84=_0x490fc6[_0x56d7af(0x180)][_0x56d7af(0x1c5)][_0x56d7af(0x1a4)],_0x1a17b7=Array[_0x56d7af(0x17a)](_0x4b2d84[_0x56d7af(0x1d6)]());0x1===_0x1a17b7[_0x56d7af(0x1bf)]&&_0x1a17b7[0x0][_0x56d7af(0x1cd)]&&!_0x4b2d84[_0x56d7af(0x187)]()&&''!==_0x395ebe[_0x56d7af(0x19e)](/ /g,'')[_0x56d7af(0x1ae)]()&&(_0x395ebe=_0x56d7af(0x1d3)+_0x395ebe+_0x56d7af(0x1bc)),this[_0x56d7af(0x192)][_0x56d7af(0x19f)]({'actionId':_0x4a8c7f,'query':_0xf8a488,'htmlContent':_0x395ebe,'label':_0x4a0a4e,'mainActionLabel':_0x560a5e[_0x490fc6[_0x56d7af(0x180)][_0x56d7af(0x1c5)][_0x56d7af(0x1a4)][_0x56d7af(0x1f4)]?_0x56d7af(0x1c4):_0x56d7af(0x189)]}),_0x56d7af(0x1eb)!==this[_0x56d7af(0x1c7)]['id']?this[_0x56d7af(0x1c7)][_0x56d7af(0x1d7)]({'id':_0x56d7af(0x1eb),'icon':_0x58c8b9,'title':_0xbce885(this[_0x56d7af(0x16f)][_0x56d7af(0x194)],_0x56d7af(0x181)),'content':this[_0x56d7af(0x1e5)],'position':_0x595a54[_0x56d7af(0x1d0)],'onShow':()=>{const _0x38e578=_0x56d7af;this[_0x38e578(0x1e5)][_0x38e578(0x1de)]();},'onHide':()=>{const _0x4f4ccf=_0x56d7af;this[_0x4f4ccf(0x192)][_0x4f4ccf(0x18e)](),_0x3659b1[_0x4f4ccf(0x191)]();}}):this[_0x56d7af(0x1c7)][_0x56d7af(0x1bd)][_0x56d7af(0x1f1)]||this[_0x56d7af(0x1c7)][_0x56d7af(0x1bd)][_0x56d7af(0x171)]();}[_0x4a4cdd(0x152)](){const _0x2596bc=_0x4a4cdd;this[_0x2596bc(0x1c7)][_0x2596bc(0x17f)]();}[_0x4a4cdd(0x1e4)](){const _0x4b624=_0x4a4cdd,_0x50fa69=new Map(),_0x2dc5b0=_0xf9f803(this[_0x4b624(0x16f)][_0x4b624(0x1a9)][_0x4b624(0x173)](_0x4b624(0x1c0)),this[_0x4b624(0x16f)][_0x4b624(0x194)]);for(const _0x5b7407 of _0x2dc5b0)for(const _0x4393ec of _0x5b7407[_0x4b624(0x18a)])_0x50fa69[_0x4b624(0x167)](_0x4393ec['id'],{..._0x4393ec,'groupId':_0x5b7407[_0x4b624(0x17e)],'groupLabel':_0x5b7407[_0x4b624(0x1b6)]||_0x5b7407[_0x4b624(0x17e)]});return _0x50fa69;}[_0x4a4cdd(0x193)](_0x2ddbec){const _0x206aa8=_0x4a4cdd,_0xbe9a3c=this[_0x206aa8(0x16f)],_0x23b9ec=_0xbe9a3c[_0x206aa8(0x18a)][_0x206aa8(0x173)](_0x206aa8(0x163)),_0x388728=new _0x2ddbec(_0xbe9a3c[_0x206aa8(0x194)]);return _0x388728[_0x206aa8(0x167)]({'label':_0xbce885(_0xbe9a3c[_0x206aa8(0x194)],_0x206aa8(0x181)),'icon':_0x58c8b9,'isToggleable':!0x0}),_0x388728[_0x206aa8(0x15c)](_0x206aa8(0x1ee))['to'](_0x23b9ec),_0x388728[_0x206aa8(0x15c)](_0x206aa8(0x1dd))['to'](this[_0x206aa8(0x1c7)],'id',_0x5da879=>_0x206aa8(0x1eb)===_0x5da879),this[_0x206aa8(0x1d8)](_0x388728,_0x206aa8(0x15e),()=>{const _0x1fe424=_0x206aa8;_0x388728[_0x1fe424(0x1dd)]?this[_0x1fe424(0x152)]():_0x23b9ec[_0x1fe424(0x15e)]();}),_0x388728;}[_0x4a4cdd(0x1f3)](){const _0x2ebc68=_0x4a4cdd,_0x418128=this[_0x2ebc68(0x16f)][_0x2ebc68(0x1e1)][_0x2ebc68(0x173)](_0x576691);this[_0x2ebc68(0x1e5)]=new _0x1a0623(this[_0x2ebc68(0x16f)][_0x2ebc68(0x194)],this[_0x2ebc68(0x1b7)],this[_0x2ebc68(0x16f)][_0x2ebc68(0x1a9)][_0x2ebc68(0x173)](_0x2ebc68(0x1a2))),this[_0x2ebc68(0x1e5)]['on'](_0x2ebc68(0x159),()=>{const _0x16e948=_0x2ebc68;this[_0x16e948(0x1c7)][_0x16e948(0x1bd)][_0x16e948(0x1f1)]||this[_0x16e948(0x1c7)][_0x16e948(0x1bd)][_0x16e948(0x171)]();}),this[_0x2ebc68(0x1e5)][_0x2ebc68(0x16a)][_0x2ebc68(0x18d)][_0x2ebc68(0x1d4)]['on'](_0x2ebc68(0x1c2),()=>{const _0x3c82bc=_0x2ebc68;this[_0x3c82bc(0x1c7)][_0x3c82bc(0x1bd)][_0x3c82bc(0x1f1)]||this[_0x3c82bc(0x1c7)][_0x3c82bc(0x1bd)][_0x3c82bc(0x171)]();}),this[_0x2ebc68(0x1d8)](this[_0x2ebc68(0x1e5)],_0x2ebc68(0x155),()=>{const _0x2c080f=_0x2ebc68;_0x418128[_0x2c080f(0x17c)](this[_0x2c080f(0x192)][_0x2c080f(0x1d9)]),this[_0x2c080f(0x152)]();}),this[_0x2ebc68(0x1d8)](this[_0x2ebc68(0x1e5)],_0x2ebc68(0x154),()=>{const _0x33a17e=_0x2ebc68;_0x418128[_0x33a17e(0x154)](this[_0x33a17e(0x192)][_0x33a17e(0x1d9)]),this[_0x33a17e(0x152)]();}),this[_0x2ebc68(0x157)]();}[_0x4a4cdd(0x157)](){const _0x27b0f1=_0x4a4cdd,{locale:_0x37c3bb,ui:{ariaLiveAnnouncer:_0x3a3b65}}=this[_0x27b0f1(0x16f)];this[_0x27b0f1(0x1e5)][_0x27b0f1(0x19a)]['on'](_0x27b0f1(0x1f5),(_0x1d822b,_0x43f9e1,_0x195be4)=>{const _0x14a578=_0x27b0f1,_0x4f6ddd=this[_0x14a578(0x192)][_0x14a578(0x1d9)];_0x195be4?_0x3a3b65[_0x14a578(0x1d1)](_0xbce885(_0x37c3bb,_0x14a578(0x174))):_0x4f6ddd&&_0x3a3b65[_0x14a578(0x1d1)](_0xbce885(_0x37c3bb,_0x14a578(0x1aa),_0x4f6ddd),{'politeness':_0x14a578(0x1b1),'isUnsafeHTML':!0x0});}),this[_0x27b0f1(0x1e5)]['on'](_0x27b0f1(0x185),(_0x5d905d,_0x213a7b,_0x5255d4)=>{const _0xa3724d=_0x27b0f1;if(_0x5255d4){const _0x4fc5ef=this[_0xa3724d(0x1e5)][_0xa3724d(0x198)][_0xa3724d(0x1e0)];_0x3a3b65[_0xa3724d(0x1d1)](_0xbce885(_0x37c3bb,_0xa3724d(0x1cf),_0x4fc5ef));}});}[_0x4a4cdd(0x15d)](_0x5d2f7c){const _0x54b43d=_0x4a4cdd,_0x3733f6=this[_0x54b43d(0x1e2)][_0x54b43d(0x173)](_0x5d2f7c),_0x3221d8=this[_0x54b43d(0x16f)],_0x5b68ac=_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x1c5)][_0x54b43d(0x1a4)],_0x265846=_0x3221d8[_0x54b43d(0x18a)][_0x54b43d(0x173)](_0x54b43d(0x163)),_0x596acb=_0x3221d8[_0x54b43d(0x1e1)][_0x54b43d(0x173)](_0x576691),_0x51b9af=''+(_0x3733f6[_0x54b43d(0x17e)]!==_0x351634?_0x3733f6[_0x54b43d(0x1b6)]+':\x20':'')+_0x3733f6[_0x54b43d(0x156)];if(!0x1!==_0x3733f6[_0x54b43d(0x1e3)]&&_0x5b68ac[_0x54b43d(0x1f4)]){const _0x91f30f=_0x3da13a(_0x5b68ac[_0x54b43d(0x1b8)]())||_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x15a)][_0x54b43d(0x151)](_0x5b68ac);_0x3221d8[_0x54b43d(0x180)][_0x54b43d(0x1b0)](_0x564344=>{const _0x66f6b1=_0x54b43d;_0x564344[_0x66f6b1(0x182)](_0x91f30f,'in');});}_0x596acb[_0x54b43d(0x1ac)](),_0x265846[_0x54b43d(0x15e)](_0x3733f6[_0x54b43d(0x1a5)],_0x51b9af,_0x54b43d(0x1f0)+_0x5d2f7c);}[_0x4a4cdd(0x197)](_0x3edef2,_0xd25961,_0x537613,_0x8a45d4){const _0x2aea76=_0x4a4cdd,_0x439e83=this[_0x2aea76(0x16f)],_0x154836=_0x439e83[_0x2aea76(0x194)],_0x5851c1=new _0x559716(_0x154836),_0x10f5b2=U(_0x439e83,_0x537613)[_0x2aea76(0x190)](_0x190214=>_0x190214[_0x2aea76(0x18a)][_0x2aea76(0x1bf)]);0x1===_0x10f5b2[_0x2aea76(0x1bf)]?this[_0x2aea76(0x1e6)]({'command':_0x3edef2,'commands':_0x10f5b2[0x0][_0x2aea76(0x18a)],'parentMenuView':_0xd25961,'onExecute':_0x8a45d4})[_0x2aea76(0x1ba)](_0x2684ab=>_0x5851c1[_0x2aea76(0x1f2)][_0x2aea76(0x1f7)](_0x2684ab)):_0x10f5b2[_0x2aea76(0x1ba)](({groupId:_0x2b65f3,groupLabel:_0x561f49,commands:_0x811f0b})=>{const _0x3237b8=_0x2aea76,_0x535dff=new _0x3ca924(_0x154836,_0xd25961),_0x2789e4=new _0x41b6e4(_0x154836),_0x14e949=new _0x559716(_0x154836),_0x4706d8=this[_0x3237b8(0x1e6)]({'command':_0x3edef2,'commands':_0x811f0b,'parentMenuView':_0x2789e4,'onExecute':_0x8a45d4});_0x2789e4[_0x3237b8(0x162)][_0x3237b8(0x167)]({'label':_0x561f49||_0x2b65f3}),_0x2789e4[_0x3237b8(0x172)](_0x3237b8(0x15e))['to'](_0xd25961),_0x14e949[_0x3237b8(0x1f2)][_0x3237b8(0x166)](_0x4706d8),_0x2789e4[_0x3237b8(0x186)][_0x3237b8(0x1b5)][_0x3237b8(0x1f7)](_0x14e949),_0x535dff[_0x3237b8(0x1b5)][_0x3237b8(0x1f7)](_0x2789e4),_0x5851c1[_0x3237b8(0x1f2)][_0x3237b8(0x1f7)](_0x535dff);}),_0xd25961[_0x2aea76(0x186)][_0x2aea76(0x1b5)][_0x2aea76(0x1f7)](_0x5851c1);}[_0x4a4cdd(0x1e6)]({command:_0x309ca3,commands:_0x28f4de,parentMenuView:_0x18bf7e,onExecute:_0x3b3e67}){const _0x5c8509=_0x4a4cdd,_0x216e5c=this[_0x5c8509(0x16f)],_0x2126ed=_0x216e5c[_0x5c8509(0x194)];return U(_0x216e5c,_0x28f4de)[_0x5c8509(0x1a6)](_0x38ecc1=>{const _0x2217ce=_0x5c8509,_0x152e9f=new _0x3ca924(_0x2126ed,_0x18bf7e),_0x479939=new _0xa06f98(_0x2126ed);return _0x479939[_0x2217ce(0x167)]({'label':_0x38ecc1[_0x2217ce(0x156)]}),_0x479939[_0x2217ce(0x172)](_0x2217ce(0x15e))['to'](_0x18bf7e),_0x479939['on'](_0x2217ce(0x15e),()=>_0x3b3e67(_0x38ecc1['id'])),_0x479939[_0x2217ce(0x15c)](_0x2217ce(0x1ee))['to'](_0x309ca3,_0x2217ce(0x18c),_0xd718c4=>_0xd718c4[_0x2217ce(0x1f6)](_0x38ecc1['id'])),_0x152e9f[_0x2217ce(0x1b5)][_0x2217ce(0x1f7)](_0x479939),_0x152e9f;});}}function B(_0x15ef78,_0x3d138d){const _0xca1aa=_0x4a4cdd;return void 0x0!==_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0===_0x3d138d[_0xca1aa(0x1ef)]?0x1:void 0x0===_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0!==_0x3d138d[_0xca1aa(0x1ef)]?-0x1:void 0x0!==_0x15ef78[_0xca1aa(0x1ef)]&&void 0x0!==_0x3d138d[_0xca1aa(0x1ef)]?_0x15ef78[_0xca1aa(0x1ef)]-_0x3d138d[_0xca1aa(0x1ef)]:0x0;}function U(_0xdc5090,_0x566f96){const _0x25d782=_0x4a4cdd;_0x566f96[_0x25d782(0x1c1)](B);const _0x3886a1={},_0x16766b=[];for(const _0x1aa170 of _0x566f96)if(void 0x0!==_0x1aa170[_0x25d782(0x1ef)]){if(_0x1aa170[_0x25d782(0x1ef)]in _0x3886a1)throw new _0x1e88c7(_0x25d782(0x16d),_0xdc5090,{'conflictingDefinitions':[_0x1aa170,_0x3886a1[_0x1aa170[_0x25d782(0x1ef)]]]});_0x3886a1[_0x1aa170[_0x25d782(0x1ef)]]=_0x1aa170,_0x16766b[_0x25d782(0x179)](_0x1aa170[_0x25d782(0x1ef)],0x0,_0x1aa170);}else _0x16766b[_0x25d782(0x1d2)](_0x1aa170);return _0x16766b;}
|
|
23
|
+
const _0x5627e5=_0x29d6;(function(_0x145229,_0x1fee52){const _0x4acb58=_0x29d6,_0x46ba8f=_0x145229();while(!![]){try{const _0x2a0a17=parseInt(_0x4acb58(0x120))/0x1+-parseInt(_0x4acb58(0x14b))/0x2*(-parseInt(_0x4acb58(0x16f))/0x3)+-parseInt(_0x4acb58(0x131))/0x4+parseInt(_0x4acb58(0x15f))/0x5*(-parseInt(_0x4acb58(0x169))/0x6)+parseInt(_0x4acb58(0x151))/0x7*(parseInt(_0x4acb58(0x1a8))/0x8)+parseInt(_0x4acb58(0x177))/0x9*(parseInt(_0x4acb58(0x126))/0xa)+-parseInt(_0x4acb58(0x161))/0xb*(-parseInt(_0x4acb58(0x178))/0xc);if(_0x2a0a17===_0x1fee52)break;else _0x46ba8f['push'](_0x46ba8f['shift']());}catch(_0x2a2e56){_0x46ba8f['push'](_0x46ba8f['shift']());}}}(_0xa5eb,0x2dcce));import{Plugin as _0x4d10b6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x358544,IconRobotPencil as _0x2b5749}from'ckeditor5/src/icons.js';import{first as _0x1ce411,CKEditorError as _0x424147}from'ckeditor5/src/utils.js';import{createDropdown as _0x544170,addMenuToDropdown as _0x1db51a,ButtonView as _0xdc428a,MenuBarMenuListItemButtonView as _0x3d619b,Dialog as _0x59703f,DialogViewPosition as _0x530f24,MenuBarMenuView as _0x49e4ce,MenuBarMenuListView as _0xa87ca1,MenuBarMenuListItemView as _0xf6ae69}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1fe0af,UNGROUPED_COMMANDS_GROUP_ID as _0xa66967}from'./utils/normalizecommandsconfig.js';function _0xa5eb(){const _0x675422=['ai.aiAssistant.contentAreaCssClass','children','aiLicenseKeyValid','delegate','focus','once','expired','schema','custom','get','config','getSelectedElement','locale','setSelection','media','requires','_initAriaAiStatusChangeAnnouncements','_uiCssClasses','_commandDefinitions','set','insertContent','order','reset','AIAssistantUI','menuBar:aiCommands','Error\x20during\x20AI\x20content\x20generation:\x20%0','_getResolvedCommandsDefinitions','change:value','push','trialLimit','commands','panelView','menuBar:aiAssistant','hideUI','add','replaceContent','listenTo','selection','fire','items','159476WSuaIe','menuPanelClass','editing','_dialog','destroy','filter','600200Jidrja','length','<p>','polite','hide','groupId','includes','</p>','isCollapsed','isOn','AI\x20is\x20writing','1225156xQbyrY','copy','prompt','menuView','AI\x20Assistant','buttons','componentFactory','EDITOR_TOP_SIDE','forEach','DataTransfer','update','_aiAssistantController','AI\x20Commands','textAdapter','label','showFakeVisualSelection','updatePosition','isPremiumPlugin','_onExecute','_aiAdapter','\x20ck-ai-assistant-ui_theme','body','ck-ai-assistant-button\x20','change','_initView','invalid','15448CkBPQR','source','plugins','ck-ai-assistant-ui','rawHtml','isEnabled','7QCaYcs','_populateMenuBarMenu','AIAssistant','_licenseKeyCheckInterval','isFlat','view','errorView','groupLabel','ck-ai-commands-dropdown\x20','ai.aiAssistant.commands','addMany','getRanges','model','getData','85Bgtyib','usageLimit','77UgvJDN','announce','bind','hideFakeVisualSelection','_formView','wasMoved','execute','ai.useTheme','50790SNLznv','render','values','command:','aiCommands','show','12JgngKP','ai.aiAssistant.disabledElements','INSERT','text/html','pluginName','getLimitElement','change:isProcessing','ai-commands-config-order-collision','45TvuTIc','224460UqbejU','evaluationLimit','featureNotAllowed','aiLicenseKeyExpired','splice','aiLicenseKeyTrialLimit','_getMenuBarGroupButtons','_showLicenseError','replace','contentArea','text','map','REPLACE','menuitemcheckbox','change:enabledCommandsIds','comment','aiLicenseKeyUsageLimit','isOfficialPlugin','showAIAssistant','fieldView','define','currentContext','sort','promptView','trim','change:isError','_createAIAssistantUIButton','_forceMarkersCopy','queryView','enabledCommandsIds','requiresContent','from','init','showUI','getSelectedBlocks','domainLimit','aiAssistant','editor','tableOfContents','aiLicenseKeyNotAllowed','document','buttonView','aiLicenseKeyEvaluationLimit','updateView','aiLicenseKeyInvalid','insertContentBelow','Generated\x20content:\x20%0','aiLicenseKeyDomainLimit','131080GVkMgh','licenseKey'];_0xa5eb=function(){return _0x675422;};return _0xa5eb();}import _0x438ce5 from'./aiassistantediting.js';import _0x2349dc from'./adapters/aiadapter.js';import{getTranslation as _0x46fd0c}from'./utils/common-translations.js';import _0x5e1f0b from'./ui/showaiassistantcommand.js';import _0xdaad6c from'./ui/aiassistantcontroller.js';import _0x3ca6ec from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x27029b}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5627e5(0x13a)];import{ClipboardMarkersUtils as _0x823acd}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x370663,DataTransfer as _0x413967}from'ckeditor5/src/engine.js';export default class n extends _0x4d10b6{[_0x5627e5(0x1a9)];[_0x5627e5(0x154)];[_0x5627e5(0x123)];[_0x5627e5(0x165)];[_0x5627e5(0x144)];[_0x5627e5(0x13c)];[_0x5627e5(0x109)]='';static get[_0x5627e5(0x173)](){const _0x4e398e=_0x5627e5;return _0x4e398e(0x10f);}static get[_0x5627e5(0x189)](){return!0x0;}static get[_0x5627e5(0x142)](){return!0x0;}static get[_0x5627e5(0x107)](){return[_0x823acd,_0x438ce5,_0x2349dc,_0x59703f];}constructor(_0x3bf8f1){const _0x2cd332=_0x5627e5;super(_0x3bf8f1),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x170),[_0x2cd332(0x106),_0x2cd332(0x14f),_0x2cd332(0x19e)]),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x1aa),''),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x168),!0x0),this[_0x2cd332(0x109)]=_0x2cd332(0x14e)+(_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x101)](_0x2cd332(0x168))?_0x2cd332(0x145):'');}[_0x5627e5(0x198)](){const _0x57877c=_0x5627e5,{editor:_0x56b30e}=this;this[_0x57877c(0x144)]=_0x56b30e[_0x57877c(0x14d)][_0x57877c(0x101)](_0x2349dc),this[_0x57877c(0x123)]=_0x56b30e[_0x57877c(0x14d)][_0x57877c(0x101)](_0x59703f),this[_0x57877c(0x165)]=null,this[_0x57877c(0x10a)]=this[_0x57877c(0x112)]();const _0x27d1ef=new _0x5e1f0b(_0x56b30e,Array[_0x57877c(0x197)](this[_0x57877c(0x10a)][_0x57877c(0x16b)]()));_0x56b30e[_0x57877c(0x116)][_0x57877c(0x11a)](_0x57877c(0x18a),_0x27d1ef),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x16d),_0x5b824b=>{const _0x148781=_0x57877c,_0x429386=_0x544170(_0x5b824b);return _0x429386[_0x148781(0x10b)]({'class':_0x148781(0x159)+this[_0x148781(0x109)]}),_0x429386[_0x148781(0x1a1)][_0x148781(0x10b)]({'label':_0x46fd0c(_0x5b824b,_0x148781(0x13d)),'icon':_0x358544,'tooltip':!0x0}),_0x429386['on'](_0x148781(0x167),_0x37fc96=>this[_0x148781(0x143)](_0x37fc96[_0x148781(0x14c)]['id'])),_0x1db51a(_0x429386,_0x56b30e['ui'][_0x148781(0x156)][_0x148781(0x146)],function(_0xa03b07){const _0x5c24c1=_0x148781,_0x47df7b=_0x1fe0af(_0xa03b07[_0x5c24c1(0x102)][_0x5c24c1(0x101)](_0x5c24c1(0x15a)),_0xa03b07[_0x5c24c1(0x104)]),_0x21f98a=U(_0xa03b07,_0x47df7b)[_0x5c24c1(0x125)](_0xab45ec=>_0xab45ec[_0x5c24c1(0x116)][_0x5c24c1(0x127)]);if(0x1===_0x21f98a[_0x5c24c1(0x127)])return U(_0xa03b07,_0x21f98a[0x0][_0x5c24c1(0x116)])[_0x5c24c1(0x183)](_0x372f8e=>({'id':_0x372f8e['id'],'label':_0x372f8e[_0x5c24c1(0x13f)]}));return _0x21f98a[_0x5c24c1(0x183)](_0x1bb05e=>{const _0x161484=_0x5c24c1,{groupId:_0x21c457,groupLabel:_0x40cf3c,commands:_0x423ed9}=_0x1bb05e,_0x1ee04b=U(_0xa03b07,_0x423ed9)[_0x161484(0x183)](_0x2aac66=>({'id':_0x2aac66['id'],'label':_0x2aac66[_0x161484(0x13f)]}));return{'id':_0x21c457,'menu':_0x40cf3c||_0x21c457,'children':_0x1ee04b};});}(_0x56b30e),{'ariaLabel':_0x46fd0c(_0x5b824b,_0x148781(0x13d))}),_0x429386[_0x148781(0x134)][_0x148781(0x121)]=_0x148781(0x159)+this[_0x148781(0x109)],_0x27d1ef['on'](_0x148781(0x186),_0xa9d537),_0x429386[_0x148781(0x134)][_0x148781(0xfd)](_0x148781(0x16a),_0xa9d537),_0x429386;function _0xa9d537(){const _0x3b699b=_0x148781;_0x429386[_0x3b699b(0x150)]=_0x27d1ef[_0x3b699b(0x195)][_0x3b699b(0x127)]>0x0;for(const _0x42c7c8 of _0x429386[_0x3b699b(0x134)][_0x3b699b(0x136)])_0x42c7c8[_0x3b699b(0x150)]=_0x27d1ef[_0x3b699b(0x195)][_0x3b699b(0x12c)](_0x42c7c8['id']);}}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x110),_0x5d38d6=>{const _0x4f07a0=_0x57877c,_0x2927a8=new _0x49e4ce(_0x5d38d6);_0x2927a8[_0x4f07a0(0x1a1)][_0x4f07a0(0x10b)]({'label':_0x46fd0c(_0x5d38d6,_0x4f07a0(0x13d)),'icon':_0x358544}),_0x2927a8[_0x4f07a0(0x163)](_0x4f07a0(0x150))['to'](_0x27d1ef,_0x4f07a0(0x195),_0x83a84d=>_0x83a84d[_0x4f07a0(0x127)]>0x0);const _0x2d1a5b=_0x1fe0af(_0x56b30e[_0x4f07a0(0x102)][_0x4f07a0(0x101)](_0x4f07a0(0x15a)),_0x5d38d6);return this[_0x4f07a0(0x152)](_0x27d1ef,_0x2927a8,_0x2d1a5b,_0x129569=>this[_0x4f07a0(0x143)](_0x129569)),_0x2927a8;}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x19c),()=>{const _0x1a350e=_0x57877c,_0x11b1c1=this[_0x1a350e(0x192)](_0xdc428a);return _0x11b1c1[_0x1a350e(0x10b)]({'tooltip':!0x0,'class':_0x1a350e(0x147)+this[_0x1a350e(0x109)]}),_0x11b1c1;}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x118),()=>{const _0x2a6a13=_0x57877c,_0x30a231=this[_0x2a6a13(0x192)](_0x3d619b);return _0x30a231[_0x2a6a13(0x10b)]({'role':_0x2a6a13(0x185)}),_0x30a231;}),this[_0x57877c(0x1a9)]=this[_0x57877c(0x19d)][_0x57877c(0x102)][_0x57877c(0x101)](_0x57877c(0x1a9));const _0x3456d2=this[_0x57877c(0x19d)];this[_0x57877c(0x154)]=setInterval(()=>{const _0x41a648=_0x57877c;let _0x166e4d;for(const _0x22a212 in _0x3456d2){const _0x2a1c3f=_0x22a212,_0x972792=_0x3456d2[_0x2a1c3f];if(_0x41a648(0xfa)==_0x972792||_0x41a648(0x1a4)==_0x972792||_0x41a648(0x17b)==_0x972792||_0x41a648(0x1a7)==_0x972792||_0x41a648(0x19f)==_0x972792||_0x41a648(0x1a2)==_0x972792||_0x41a648(0x17d)==_0x972792||_0x41a648(0x188)==_0x972792){delete _0x3456d2[_0x2a1c3f],_0x166e4d=_0x972792,clearInterval(this[_0x41a648(0x154)]),this[_0x41a648(0x154)]=void 0x0;break;}}_0x41a648(0x1a4)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x14a)),_0x41a648(0x17b)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0xfe)),_0x41a648(0x1a7)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x19b)),_0x41a648(0x19f)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x17a),_0x41a648(0x153)),_0x41a648(0x1a2)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x179)),_0x41a648(0x17d)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x115)),_0x41a648(0x188)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x160));},0x3e8);}[_0x5627e5(0x124)](){const _0x46366d=_0x5627e5;super[_0x46366d(0x124)](),this[_0x46366d(0x154)]&&clearInterval(this[_0x46366d(0x154)]);}[_0x5627e5(0x199)](_0x13e24f='',_0x27b075='',_0x4b9e93=_0x5627e5(0x100)){const _0x26a2fb=_0x5627e5,_0x162ccf=this[_0x26a2fb(0x19d)],_0x314362=_0x162ccf[_0x26a2fb(0x122)][_0x26a2fb(0x156)],_0x8e331f=_0x162ccf[_0x26a2fb(0x14d)][_0x26a2fb(0x101)](_0x438ce5),_0x295522=_0x162ccf[_0x26a2fb(0x14d)][_0x26a2fb(0x101)](_0x823acd);_0x8e331f[_0x26a2fb(0x140)]();const _0x1aa172=new w(),_0x13c156=new ClipboardEvent(_0x26a2fb(0x132),{'clipboardData':_0x1aa172}),_0x4d8a0d=new _0x413967(_0x1aa172),_0x4f2f0a=new _0x370663(_0x314362,_0x13c156,{'dataTransfer':_0x4d8a0d});_0x295522[_0x26a2fb(0x193)](_0x26a2fb(0x187),()=>{const _0x5e0fe4=_0x26a2fb;_0x314362[_0x5e0fe4(0x1a0)][_0x5e0fe4(0x11e)](_0x5e0fe4(0x132),_0x4f2f0a);}),this[_0x26a2fb(0x165)]||(this[_0x26a2fb(0x149)](),this[_0x26a2fb(0x13c)]=new _0xdaad6c(_0x162ccf,this[_0x26a2fb(0x144)][_0x26a2fb(0x13e)],this[_0x26a2fb(0x165)]));let _0x29af35=_0x4d8a0d[_0x26a2fb(0x15e)](_0x26a2fb(0x172));const _0x4dcadb=_0x162ccf[_0x26a2fb(0x15d)][_0x26a2fb(0x1a0)][_0x26a2fb(0x11d)],_0x52e4e8=Array[_0x26a2fb(0x197)](_0x4dcadb[_0x26a2fb(0x15c)]());0x1===_0x52e4e8[_0x26a2fb(0x127)]&&_0x52e4e8[0x0][_0x26a2fb(0x155)]&&!_0x4dcadb[_0x26a2fb(0x103)]()&&''!==_0x29af35[_0x26a2fb(0x180)](/ /g,'')[_0x26a2fb(0x190)]()&&(_0x29af35=_0x26a2fb(0x128)+_0x29af35+_0x26a2fb(0x12d)),this[_0x26a2fb(0x13c)][_0x26a2fb(0x1a3)]({'actionId':_0x4b9e93,'query':_0x13e24f,'htmlContent':_0x29af35,'label':_0x27b075,'mainActionLabel':_0x27029b[_0x162ccf[_0x26a2fb(0x15d)][_0x26a2fb(0x1a0)][_0x26a2fb(0x11d)][_0x26a2fb(0x12e)]?_0x26a2fb(0x171):_0x26a2fb(0x184)]}),_0x26a2fb(0x19c)!==this[_0x26a2fb(0x123)]['id']?this[_0x26a2fb(0x123)][_0x26a2fb(0x16e)]({'id':_0x26a2fb(0x19c),'icon':_0x2b5749,'title':_0x46fd0c(this[_0x26a2fb(0x19d)][_0x26a2fb(0x104)],_0x26a2fb(0x135)),'content':this[_0x26a2fb(0x165)],'position':_0x530f24[_0x26a2fb(0x138)],'onShow':()=>{const _0xcd9cf3=_0x26a2fb;this[_0xcd9cf3(0x165)][_0xcd9cf3(0xfc)]();},'onHide':()=>{const _0x3cb447=_0x26a2fb;this[_0x3cb447(0x13c)][_0x3cb447(0x10e)](),_0x8e331f[_0x3cb447(0x164)]();}}):this[_0x26a2fb(0x123)][_0x26a2fb(0x156)][_0x26a2fb(0x166)]||this[_0x26a2fb(0x123)][_0x26a2fb(0x156)][_0x26a2fb(0x141)]();}[_0x5627e5(0x119)](){const _0x37a583=_0x5627e5;this[_0x37a583(0x123)][_0x37a583(0x12a)]();}[_0x5627e5(0x112)](){const _0x4b52f8=_0x5627e5,_0xf623e=new Map(),_0x5817b6=_0x1fe0af(this[_0x4b52f8(0x19d)][_0x4b52f8(0x102)][_0x4b52f8(0x101)](_0x4b52f8(0x15a)),this[_0x4b52f8(0x19d)][_0x4b52f8(0x104)]);for(const _0x53cf77 of _0x5817b6)for(const _0x310e19 of _0x53cf77[_0x4b52f8(0x116)])_0xf623e[_0x4b52f8(0x10b)](_0x310e19['id'],{..._0x310e19,'groupId':_0x53cf77[_0x4b52f8(0x12b)],'groupLabel':_0x53cf77[_0x4b52f8(0x158)]||_0x53cf77[_0x4b52f8(0x12b)]});return _0xf623e;}[_0x5627e5(0x192)](_0x129986){const _0xfa3f31=_0x5627e5,_0x189225=this[_0xfa3f31(0x19d)],_0x5f141b=_0x189225[_0xfa3f31(0x116)][_0xfa3f31(0x101)](_0xfa3f31(0x18a)),_0x36fd73=new _0x129986(_0x189225[_0xfa3f31(0x104)]);return _0x36fd73[_0xfa3f31(0x10b)]({'label':_0x46fd0c(_0x189225[_0xfa3f31(0x104)],_0xfa3f31(0x135)),'icon':_0x2b5749,'isToggleable':!0x0}),_0x36fd73[_0xfa3f31(0x163)](_0xfa3f31(0x150))['to'](_0x5f141b),_0x36fd73[_0xfa3f31(0x163)](_0xfa3f31(0x12f))['to'](this[_0xfa3f31(0x123)],'id',_0x55e6b8=>_0xfa3f31(0x19c)===_0x55e6b8),this[_0xfa3f31(0x11c)](_0x36fd73,_0xfa3f31(0x167),()=>{const _0x56776c=_0xfa3f31;_0x36fd73[_0x56776c(0x12f)]?this[_0x56776c(0x119)]():_0x5f141b[_0x56776c(0x167)]();}),_0x36fd73;}[_0x5627e5(0x149)](){const _0x2a8d32=_0x5627e5,_0x4c3b31=this[_0x2a8d32(0x19d)][_0x2a8d32(0x14d)][_0x2a8d32(0x101)](_0x438ce5);this[_0x2a8d32(0x165)]=new _0x3ca6ec(this[_0x2a8d32(0x19d)][_0x2a8d32(0x104)],this[_0x2a8d32(0x109)],this[_0x2a8d32(0x19d)][_0x2a8d32(0x102)][_0x2a8d32(0x101)](_0x2a8d32(0x1aa))),this[_0x2a8d32(0x165)]['on'](_0x2a8d32(0x113),()=>{const _0x13cd48=_0x2a8d32;this[_0x13cd48(0x123)][_0x13cd48(0x156)][_0x13cd48(0x166)]||this[_0x13cd48(0x123)][_0x13cd48(0x156)][_0x13cd48(0x141)]();}),this[_0x2a8d32(0x165)][_0x2a8d32(0x18f)][_0x2a8d32(0x194)][_0x2a8d32(0x18b)]['on'](_0x2a8d32(0x13b),()=>{const _0x4d6795=_0x2a8d32;this[_0x4d6795(0x123)][_0x4d6795(0x156)][_0x4d6795(0x166)]||this[_0x4d6795(0x123)][_0x4d6795(0x156)][_0x4d6795(0x141)]();}),this[_0x2a8d32(0x11c)](this[_0x2a8d32(0x165)],_0x2a8d32(0x11b),()=>{const _0x5d7650=_0x2a8d32;_0x4c3b31[_0x5d7650(0x10c)](this[_0x5d7650(0x13c)][_0x5d7650(0x18d)]),this[_0x5d7650(0x119)]();}),this[_0x2a8d32(0x11c)](this[_0x2a8d32(0x165)],_0x2a8d32(0x1a5),()=>{const _0x32da03=_0x2a8d32;_0x4c3b31[_0x32da03(0x1a5)](this[_0x32da03(0x13c)][_0x32da03(0x18d)]),this[_0x32da03(0x119)]();}),this[_0x2a8d32(0x108)]();}[_0x5627e5(0x108)](){const _0x4cb1cf=_0x5627e5,{locale:_0xe50d69,ui:{ariaLiveAnnouncer:_0x434f1d}}=this[_0x4cb1cf(0x19d)];this[_0x4cb1cf(0x165)][_0x4cb1cf(0x181)]['on'](_0x4cb1cf(0x175),(_0x312c1,_0x323011,_0x474033)=>{const _0x14d93d=_0x4cb1cf,_0x5a9bb7=this[_0x14d93d(0x13c)][_0x14d93d(0x18d)];_0x474033?_0x434f1d[_0x14d93d(0x162)](_0x46fd0c(_0xe50d69,_0x14d93d(0x130))):_0x5a9bb7&&_0x434f1d[_0x14d93d(0x162)](_0x46fd0c(_0xe50d69,_0x14d93d(0x1a6),_0x5a9bb7),{'politeness':_0x14d93d(0x129),'isUnsafeHTML':!0x0});}),this[_0x4cb1cf(0x165)]['on'](_0x4cb1cf(0x191),(_0x4aa771,_0x5cddbe,_0x7f26c4)=>{const _0xdaa01e=_0x4cb1cf;if(_0x7f26c4){const _0x44faa8=this[_0xdaa01e(0x165)][_0xdaa01e(0x157)][_0xdaa01e(0x182)];_0x434f1d[_0xdaa01e(0x162)](_0x46fd0c(_0xe50d69,_0xdaa01e(0x111),_0x44faa8));}});}[_0x5627e5(0x143)](_0x1ff53b){const _0x280206=_0x5627e5,_0x41134c=this[_0x280206(0x10a)][_0x280206(0x101)](_0x1ff53b),_0x21ba57=this[_0x280206(0x19d)],_0x365a83=_0x21ba57[_0x280206(0x15d)][_0x280206(0x1a0)][_0x280206(0x11d)],_0x5c09b5=_0x21ba57[_0x280206(0x116)][_0x280206(0x101)](_0x280206(0x18a)),_0x5b6e49=_0x21ba57[_0x280206(0x14d)][_0x280206(0x101)](_0x438ce5),_0xc17a93=''+(_0x41134c[_0x280206(0x12b)]!==_0xa66967?_0x41134c[_0x280206(0x158)]+':\x20':'')+_0x41134c[_0x280206(0x13f)];if(!0x1!==_0x41134c[_0x280206(0x196)]&&_0x365a83[_0x280206(0x12e)]){const _0xdad2=_0x1ce411(_0x365a83[_0x280206(0x19a)]())||_0x21ba57[_0x280206(0x15d)][_0x280206(0xff)][_0x280206(0x174)](_0x365a83);_0x21ba57[_0x280206(0x15d)][_0x280206(0x148)](_0x136bcf=>{const _0x501d57=_0x280206;_0x136bcf[_0x501d57(0x105)](_0xdad2,'in');});}_0x5b6e49[_0x280206(0x140)](),_0x5c09b5[_0x280206(0x167)](_0x41134c[_0x280206(0x133)],_0xc17a93,_0x280206(0x16c)+_0x1ff53b);}[_0x5627e5(0x152)](_0xe344d0,_0x36d5ac,_0x2250d8,_0x16414a){const _0x37ca21=_0x5627e5,_0x463f54=this[_0x37ca21(0x19d)],_0x474ab0=_0x463f54[_0x37ca21(0x104)],_0x2f7c31=new _0xa87ca1(_0x474ab0),_0x3a53bb=U(_0x463f54,_0x2250d8)[_0x37ca21(0x125)](_0x37a7e7=>_0x37a7e7[_0x37ca21(0x116)][_0x37ca21(0x127)]);0x1===_0x3a53bb[_0x37ca21(0x127)]?this[_0x37ca21(0x17e)]({'command':_0xe344d0,'commands':_0x3a53bb[0x0][_0x37ca21(0x116)],'parentMenuView':_0x36d5ac,'onExecute':_0x16414a})[_0x37ca21(0x139)](_0x199a35=>_0x2f7c31[_0x37ca21(0x11f)][_0x37ca21(0x11a)](_0x199a35)):_0x3a53bb[_0x37ca21(0x139)](({groupId:_0x10eeca,groupLabel:_0x335938,commands:_0x4ce2d3})=>{const _0x4386fb=_0x37ca21,_0x63736e=new _0xf6ae69(_0x474ab0,_0x36d5ac),_0x543a7b=new _0x49e4ce(_0x474ab0),_0x28e7b8=new _0xa87ca1(_0x474ab0),_0xdc1991=this[_0x4386fb(0x17e)]({'command':_0xe344d0,'commands':_0x4ce2d3,'parentMenuView':_0x543a7b,'onExecute':_0x16414a});_0x543a7b[_0x4386fb(0x1a1)][_0x4386fb(0x10b)]({'label':_0x335938||_0x10eeca}),_0x543a7b[_0x4386fb(0xfb)](_0x4386fb(0x167))['to'](_0x36d5ac),_0x28e7b8[_0x4386fb(0x11f)][_0x4386fb(0x15b)](_0xdc1991),_0x543a7b[_0x4386fb(0x117)][_0x4386fb(0xf9)][_0x4386fb(0x11a)](_0x28e7b8),_0x63736e[_0x4386fb(0xf9)][_0x4386fb(0x11a)](_0x543a7b),_0x2f7c31[_0x4386fb(0x11f)][_0x4386fb(0x11a)](_0x63736e);}),_0x36d5ac[_0x37ca21(0x117)][_0x37ca21(0xf9)][_0x37ca21(0x11a)](_0x2f7c31);}[_0x5627e5(0x17e)]({command:_0x5d86e0,commands:_0x37e4fc,parentMenuView:_0x421b63,onExecute:_0x5294c7}){const _0x401cc8=_0x5627e5,_0x5cff3f=this[_0x401cc8(0x19d)],_0x5426db=_0x5cff3f[_0x401cc8(0x104)];return U(_0x5cff3f,_0x37e4fc)[_0x401cc8(0x183)](_0xc8f1d9=>{const _0x26ce30=_0x401cc8,_0x47f8d2=new _0xf6ae69(_0x5426db,_0x421b63),_0x1266da=new _0x3d619b(_0x5426db);return _0x1266da[_0x26ce30(0x10b)]({'label':_0xc8f1d9[_0x26ce30(0x13f)]}),_0x1266da[_0x26ce30(0xfb)](_0x26ce30(0x167))['to'](_0x421b63),_0x1266da['on'](_0x26ce30(0x167),()=>_0x5294c7(_0xc8f1d9['id'])),_0x1266da[_0x26ce30(0x163)](_0x26ce30(0x150))['to'](_0x5d86e0,_0x26ce30(0x195),_0x3bc8c5=>_0x3bc8c5[_0x26ce30(0x12c)](_0xc8f1d9['id'])),_0x47f8d2[_0x26ce30(0xf9)][_0x26ce30(0x11a)](_0x1266da),_0x47f8d2;});}}function B(_0x4fee5b,_0x4d37e7){const _0x216f0e=_0x5627e5;return void 0x0!==_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0===_0x4d37e7[_0x216f0e(0x10d)]?0x1:void 0x0===_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0!==_0x4d37e7[_0x216f0e(0x10d)]?-0x1:void 0x0!==_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0!==_0x4d37e7[_0x216f0e(0x10d)]?_0x4fee5b[_0x216f0e(0x10d)]-_0x4d37e7[_0x216f0e(0x10d)]:0x0;}function _0x29d6(_0x2d4692,_0x280d88){const _0xa5eb48=_0xa5eb();return _0x29d6=function(_0x29d6bc,_0x225fa6){_0x29d6bc=_0x29d6bc-0xf9;let _0x1400ff=_0xa5eb48[_0x29d6bc];return _0x1400ff;},_0x29d6(_0x2d4692,_0x280d88);}function U(_0x23435f,_0x81f8fb){const _0x39c647=_0x5627e5;_0x81f8fb[_0x39c647(0x18e)](B);const _0x24e346={},_0x5a096b=[];for(const _0x43180e of _0x81f8fb)if(void 0x0!==_0x43180e[_0x39c647(0x10d)]){if(_0x43180e[_0x39c647(0x10d)]in _0x24e346)throw new _0x424147(_0x39c647(0x176),_0x23435f,{'conflictingDefinitions':[_0x43180e,_0x24e346[_0x43180e[_0x39c647(0x10d)]]]});_0x24e346[_0x43180e[_0x39c647(0x10d)]]=_0x43180e,_0x5a096b[_0x39c647(0x17c)](_0x43180e[_0x39c647(0x10d)],0x0,_0x43180e);}else _0x5a096b[_0x39c647(0x114)](_0x43180e);return _0x5a096b;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x48d2a9,_0x5c9ddf){var _0x3e02fd=_0x3760,_0x12b52a=_0x48d2a9();while(!![]){try{var _0x30f10f=parseInt(_0x3e02fd(0x160))/0x1+parseInt(_0x3e02fd(0x162))/0x2*(parseInt(_0x3e02fd(0x163))/0x3)+parseInt(_0x3e02fd(0x15f))/0x4*(parseInt(_0x3e02fd(0x15b))/0x5)+parseInt(_0x3e02fd(0x15d))/0x6*(-parseInt(_0x3e02fd(0x15c))/0x7)+parseInt(_0x3e02fd(0x15e))/0x8+parseInt(_0x3e02fd(0x164))/0x9+-parseInt(_0x3e02fd(0x161))/0xa;if(_0x30f10f===_0x5c9ddf)break;else _0x12b52a['push'](_0x12b52a['shift']());}catch(_0x80c261){_0x12b52a['push'](_0x12b52a['shift']());}}}(_0x10db,0x914c7));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x10db(){var _0x5efc8e=['990501UxhNbZ','7945614BkzEBp','70tCwBwD','707ooiOHg','59922KfAMvB','2976928NlYnuR','32496bBPEIQ','875334MYUCqE','9703690VhOOrT','2phlOGQ'];_0x10db=function(){return _0x5efc8e;};return _0x10db();}function _0x3760(_0x3ae1c4,_0x47320d){var _0x10db10=_0x10db();return _0x3760=function(_0x376017,_0x3e0089){_0x376017=_0x376017-0x15b;var _0xea7a10=_0x10db10[_0x376017];return _0xea7a10;},_0x3760(_0x3ae1c4,_0x47320d);}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x500b6c,_0x438668){var _0x557df2=_0x29e7,_0x5ebcc6=_0x500b6c();while(!![]){try{var _0x53b928=parseInt(_0x557df2(0xfa))/0x1*(-parseInt(_0x557df2(0xff))/0x2)+parseInt(_0x557df2(0xfe))/0x3+-parseInt(_0x557df2(0xfd))/0x4+parseInt(_0x557df2(0xf9))/0x5+parseInt(_0x557df2(0xfc))/0x6+parseInt(_0x557df2(0xfb))/0x7+parseInt(_0x557df2(0x100))/0x8;if(_0x53b928===_0x438668)break;else _0x5ebcc6['push'](_0x5ebcc6['shift']());}catch(_0x38ee01){_0x5ebcc6['push'](_0x5ebcc6['shift']());}}}(_0x6720,0x72d08));function _0x29e7(_0x587ad9,_0x2f5be4){var _0x6720b4=_0x6720();return _0x29e7=function(_0x29e7fb,_0x3d37ae){_0x29e7fb=_0x29e7fb-0xf9;var _0x8ee341=_0x6720b4[_0x29e7fb];return _0x8ee341;},_0x29e7(_0x587ad9,_0x2f5be4);}function _0x6720(){var _0x36c4f9=['39498grAGHW','10lXhIXP','411800nemRDZ','3435205VFYDbZ','179689jVrArv','948682ybPxjt','3325986Gbkgqo','291256MbAfsw'];_0x6720=function(){return _0x36c4f9;};return _0x6720();}import{CKEditorError as _0x1aca4a}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5e2b29=_0x4614;function _0x4614(_0x534375,_0x59a13c){const _0x330da=_0x330d();return _0x4614=function(_0x46147a,_0x3d6c22){_0x46147a=_0x46147a-0x16c;let _0x469cb6=_0x330da[_0x46147a];return _0x469cb6;},_0x4614(_0x534375,_0x59a13c);}(function(_0x29ad71,_0x38df6d){const _0x82dd6c=_0x4614,_0x2ea1f3=_0x29ad71();while(!![]){try{const _0x4bca9e=parseInt(_0x82dd6c(0x1c3))/0x1*(parseInt(_0x82dd6c(0x1cd))/0x2)+parseInt(_0x82dd6c(0x189))/0x3*(-parseInt(_0x82dd6c(0x1b6))/0x4)+parseInt(_0x82dd6c(0x18f))/0x5*(parseInt(_0x82dd6c(0x190))/0x6)+parseInt(_0x82dd6c(0x1a1))/0x7*(-parseInt(_0x82dd6c(0x1c6))/0x8)+parseInt(_0x82dd6c(0x186))/0x9*(parseInt(_0x82dd6c(0x198))/0xa)+parseInt(_0x82dd6c(0x179))/0xb*(-parseInt(_0x82dd6c(0x178))/0xc)+parseInt(_0x82dd6c(0x177))/0xd;if(_0x4bca9e===_0x38df6d)break;else _0x2ea1f3['push'](_0x2ea1f3['shift']());}catch(_0x3a2114){_0x2ea1f3['push'](_0x2ea1f3['shift']());}}}(_0x330d,0x9e4cb));import{ObservableMixin as _0x416af3}from'ckeditor5/src/utils.js';function _0x330d(){const _0x38598a=['nodeType','editing','startsWith','render','ai.aiAssistant.preserveComments','previousActionId','viewToDom','view','_domParser','message','startProcessing','18746533zcgipy','5611236xoszUK','22vNdRIr','toView','tryAgainEvent','prompt','processor','submitPrompt','abort','catch','innerHTML','stringify','```html','finishProcessing','_stripMarkdownSyntax','44739yXDDJp','destroy','previousQuery','4926skxXSf','_isH1TagSupportEnabled','trim','once','data','div','759205wlJHoN','42UNUAev','from','textAdapter','exec','stopListening','endsWith','_sanitizeHTML','_normalizeResponseHeadings','230wRoTqF','currentResponse','parseFromString','_sanitizationContainer','handleError','text/html','_parseAndNormalizeContent','setContentOf','markers','902342ETDLTC','serializeToString','listenTo','name','childNodes','element','initialContext','remove','querySelector','previousLabel','finally','domConverter','currentContext','custom','substring','length','```','_handleQuery','previousContext','<h1></h1>','createElement','2132xreNzG','stopProcessing','reverse','set:currentContext','makeRequest','isProcessing','clear','reset','updateView','htmlProcessor','body','toModel','push','97338FJHQxz','value','document','16noMOXn','editor','rename','_xmlSerializer','set','match','get','2WrjRHW','isRendered','then','config','mainAction','ELEMENT_NODE'];_0x330d=function(){return _0x38598a;};return _0x330d();}import{AIRequestError as _0x3ac72d}from'../adapters/aiadapter.js';import{Matcher as _0x234521,UpcastWriter as _0x7a952c}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x416af3(){[_0x5e2b29(0x1c7)];[_0x5e2b29(0x192)];[_0x5e2b29(0x173)];[_0x5e2b29(0x19b)];[_0x5e2b29(0x174)];[_0x5e2b29(0x1c9)];constructor(_0x142670,_0x2bd304,_0x279878){const _0x38604d=_0x5e2b29;super(),this[_0x38604d(0x1c7)]=_0x142670,this[_0x38604d(0x192)]=_0x2bd304,this[_0x38604d(0x19b)]=document[_0x38604d(0x1b5)](_0x38604d(0x18e)),this[_0x38604d(0x174)]=new DOMParser(),this[_0x38604d(0x1c9)]=new XMLSerializer(),this[_0x38604d(0x173)]=_0x279878,this[_0x38604d(0x1ca)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x38604d(0x1b9),(_0xb485ec,_0x35163c,_0x43056a)=>{const _0x2da587=_0x38604d;this[_0x2da587(0x173)][_0x2da587(0x1c4)]=this[_0x2da587(0x196)](_0x43056a);}),this[_0x38604d(0x1a3)](this[_0x38604d(0x173)],_0x38604d(0x17e),(_0x35dbe1,_0x39581a)=>{const _0x1aa63c=_0x38604d,_0x444da6=this[_0x1aa63c(0x1ad)]||this[_0x1aa63c(0x1a7)];this[_0x1aa63c(0x1b2)](_0x39581a,_0x444da6,_0x1aa63c(0x1ae));}),this[_0x38604d(0x1a3)](this[_0x38604d(0x173)],_0x38604d(0x17b),()=>{const _0x5e67d2=_0x38604d;this[_0x5e67d2(0x173)][_0x5e67d2(0x17c)]=this[_0x5e67d2(0x1aa)],this[_0x5e67d2(0x1b2)](this[_0x5e67d2(0x188)],this[_0x5e67d2(0x1b3)],this[_0x5e67d2(0x171)],this[_0x5e67d2(0x1aa)]);}),this[_0x38604d(0x1a3)](this[_0x38604d(0x173)],_0x38604d(0x1b7),()=>{const _0x5a921b=_0x38604d;this[_0x5a921b(0x1b7)]();});}[_0x5e2b29(0x187)](){const _0x249504=_0x5e2b29;this[_0x249504(0x194)]();}async[_0x5e2b29(0x1be)]({actionId:_0x27a962,query:_0x5e1f6c,htmlContent:_0x592ec5,label:_0x51c565,mainActionLabel:_0x847288}){const _0x123921=_0x5e2b29;this[_0x123921(0x173)][_0x123921(0x17c)]=_0x51c565,this[_0x123921(0x173)][_0x123921(0x1d1)]=_0x847288,this[_0x123921(0x1a7)]=_0x592ec5,_0x5e1f6c&&(this[_0x123921(0x173)][_0x123921(0x1ce)]?this[_0x123921(0x1b2)](_0x5e1f6c,_0x592ec5,_0x27a962,_0x51c565):this[_0x123921(0x173)][_0x123921(0x18c)](_0x123921(0x16f),()=>{const _0x3fe0da=_0x123921;this[_0x3fe0da(0x1b2)](_0x5e1f6c,_0x592ec5,_0x27a962,_0x51c565);}));}[_0x5e2b29(0x1b7)](){const _0xc19292=_0x5e2b29;this[_0xc19292(0x1bb)]&&(this[_0xc19292(0x1bb)]=!0x1,this[_0xc19292(0x173)][_0xc19292(0x184)](),this[_0xc19292(0x192)][_0xc19292(0x17f)]());}[_0x5e2b29(0x1bd)](){const _0x2f03ab=_0x5e2b29;this[_0x2f03ab(0x1a7)]='',this[_0x2f03ab(0x1ad)]='',this[_0x2f03ab(0x199)]='',this[_0x2f03ab(0x1b3)]='',this[_0x2f03ab(0x188)]='',this[_0x2f03ab(0x1aa)]='',this[_0x2f03ab(0x171)]=void 0x0,this[_0x2f03ab(0x173)][_0x2f03ab(0x1bd)](),this[_0x2f03ab(0x1b7)]();}async[_0x5e2b29(0x1b2)](_0x11349f,_0x107bec,_0x118b06,_0x4f6fbc){const _0x3768a4=_0x5e2b29;return this[_0x3768a4(0x1bb)]=!0x0,this[_0x3768a4(0x173)][_0x3768a4(0x176)](),this[_0x3768a4(0x1b3)]=_0x107bec,this[_0x3768a4(0x188)]=_0x11349f,this[_0x3768a4(0x1aa)]=_0x4f6fbc||_0x11349f,this[_0x3768a4(0x171)]=_0x118b06,new Promise(_0x4433aa=>{const _0x190d15=_0x3768a4;this[_0x190d15(0x192)][_0x190d15(0x1ba)]({'query':_0x11349f,'context':_0x107bec,'onData':_0x51522c=>{const _0x3da568=_0x190d15;this[_0x3da568(0x199)]=_0x51522c,this[_0x3da568(0x1ad)]=this[_0x3da568(0x19e)](this[_0x3da568(0x199)]);},'actionId':_0x118b06})[_0x190d15(0x1cf)](()=>{const _0x2fab7a=_0x190d15;!this[_0x2fab7a(0x1ad)]&&this[_0x2fab7a(0x199)]&&(this[_0x2fab7a(0x1ad)]=this[_0x2fab7a(0x19e)](this[_0x2fab7a(0x199)],!0x0));})[_0x190d15(0x180)](_0xc8ddd1=>{const _0x2a7b6d=_0x190d15;_0xc8ddd1 instanceof _0x3ac72d?this[_0x2a7b6d(0x173)][_0x2a7b6d(0x19c)](_0xc8ddd1[_0x2a7b6d(0x175)]):this[_0x2a7b6d(0x173)][_0x2a7b6d(0x19c)](),_0x4433aa();})[_0x190d15(0x1ab)](()=>{const _0x1172ed=_0x190d15;this[_0x1172ed(0x1b7)](),_0x4433aa();});});}[_0x5e2b29(0x19e)](_0x5e342e,_0x1a4c23=!0x1){const _0x3d86f6=_0x5e2b29,_0x864267=Z[_0x3d86f6(0x193)](_0x5e342e);_0x5e342e=_0x864267?_0x5e342e[_0x3d86f6(0x1af)](_0x864267[0x1][_0x3d86f6(0x1b0)]):_0x5e342e[_0x3d86f6(0x1b0)]<0x64&&!_0x1a4c23?'':this[_0x3d86f6(0x185)](_0x5e342e);const _0x2b58c7=this[_0x3d86f6(0x174)][_0x3d86f6(0x19a)](_0x5e342e,_0x3d86f6(0x19d));if(_0x864267){const _0x3f5bbe=Array[_0x3d86f6(0x191)](_0x2b58c7[_0x3d86f6(0x1c0)][_0x3d86f6(0x1a5)]);_0x3f5bbe[_0x3d86f6(0x1b8)]();for(const _0x14c249 of _0x3f5bbe){if(_0x14c249[_0x3d86f6(0x16c)]==Node[_0x3d86f6(0x1d2)])break;_0x14c249[_0x3d86f6(0x1a8)]();}}const _0x4c8d0f=this[_0x3d86f6(0x1c7)][_0x3d86f6(0x18d)][_0x3d86f6(0x17d)][_0x3d86f6(0x17a)](this[_0x3d86f6(0x1c9)][_0x3d86f6(0x1a2)](_0x2b58c7[_0x3d86f6(0x1c0)]));this[_0x3d86f6(0x18a)]()||this[_0x3d86f6(0x197)](_0x4c8d0f);const _0x3bcd3b=this[_0x3d86f6(0x1c7)][_0x3d86f6(0x1d0)][_0x3d86f6(0x1cc)](_0x3d86f6(0x170)),_0x43267d=this[_0x3d86f6(0x1c7)][_0x3d86f6(0x18d)][_0x3d86f6(0x1c1)](_0x4c8d0f);return _0x3bcd3b||_0x43267d[_0x3d86f6(0x1a0)][_0x3d86f6(0x1bc)](),this[_0x3d86f6(0x1c7)][_0x3d86f6(0x18d)][_0x3d86f6(0x182)](_0x43267d);}[_0x5e2b29(0x197)](_0x11c50e){const _0x7ca870=_0x5e2b29,_0x4fce90=new _0x7a952c(this[_0x7ca870(0x1c7)][_0x7ca870(0x16d)][_0x7ca870(0x173)][_0x7ca870(0x1c5)]),_0x4321e2=new _0x234521({'name':/^h[1-5]$/}),_0x578834=[];let _0x4a716b=!0x1;for(const _0x2c7fc1 of _0x11c50e)_0x2c7fc1['is'](_0x7ca870(0x1a6))&&_0x4321e2[_0x7ca870(0x1cb)](_0x2c7fc1)&&(_0x578834[_0x7ca870(0x1c2)](_0x2c7fc1),'h1'==_0x2c7fc1[_0x7ca870(0x1a4)]&&(_0x4a716b=!0x0));if(_0x4a716b){for(const _0x3bdb55 of _0x578834)_0x4fce90[_0x7ca870(0x1c8)]('h'+(parseInt(_0x3bdb55[_0x7ca870(0x1a4)][0x1])+0x1),_0x3bdb55);}}[_0x5e2b29(0x18a)](){const _0x2a14a0=_0x5e2b29,{data:_0x15d0d7,editing:_0x185777}=this[_0x2a14a0(0x1c7)],_0x1c4f93=_0x15d0d7[_0x2a14a0(0x1bf)][_0x2a14a0(0x17a)](_0x2a14a0(0x1b4)),_0x2e0450=_0x15d0d7[_0x2a14a0(0x17a)](_0x15d0d7[_0x2a14a0(0x1c1)](_0x1c4f93));return!!_0x185777[_0x2a14a0(0x173)][_0x2a14a0(0x1ac)][_0x2a14a0(0x172)](_0x2e0450)[_0x2a14a0(0x1a9)]('h1');}[_0x5e2b29(0x196)](_0x2c1882){const _0x2ef772=_0x5e2b29;return this[_0x2ef772(0x1c7)][_0x2ef772(0x16d)][_0x2ef772(0x173)][_0x2ef772(0x1ac)][_0x2ef772(0x19f)](this[_0x2ef772(0x19b)],_0x2c1882),this[_0x2ef772(0x19b)][_0x2ef772(0x181)];}[_0x5e2b29(0x185)](_0xb663b9){const _0x5e148d=_0x5e2b29,_0x452e69=_0xb663b9[_0x5e148d(0x18b)]();return _0x452e69[_0x5e148d(0x16e)](_0x5e148d(0x183))?_0x452e69[_0x5e148d(0x195)](_0x5e148d(0x1b1))?_0x452e69[_0x5e148d(0x1af)](0x7,_0x452e69[_0x5e148d(0x1b0)]-0x3):_0x452e69[_0x5e148d(0x1af)](0x7):_0xb663b9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f1e82=_0x1c0c;(function(_0x440fdf,_0x405156){const _0x3868a4=_0x1c0c,_0x384d6f=_0x440fdf();while(!![]){try{const _0x2320e8=-parseInt(_0x3868a4(0xf1))/0x1*(-parseInt(_0x3868a4(0x11e))/0x2)+-parseInt(_0x3868a4(0x13d))/0x3+-parseInt(_0x3868a4(0x12b))/0x4+-parseInt(_0x3868a4(0xff))/0x5*(-parseInt(_0x3868a4(0x13b))/0x6)+-parseInt(_0x3868a4(0x121))/0x7+-parseInt(_0x3868a4(0x112))/0x8*(parseInt(_0x3868a4(0xfd))/0x9)+parseInt(_0x3868a4(0x12e))/0xa;if(_0x2320e8===_0x405156)break;else _0x384d6f['push'](_0x384d6f['shift']());}catch(_0x321fde){_0x384d6f['push'](_0x384d6f['shift']());}}}(_0x2225,0xbc01e));function _0x1c0c(_0x4d8f85,_0x477036){const _0x222583=_0x2225();return _0x1c0c=function(_0x1c0ca5,_0x7d7b5c){_0x1c0ca5=_0x1c0ca5-0xea;let _0x47ac03=_0x222583[_0x1c0ca5];return _0x47ac03;},_0x1c0c(_0x4d8f85,_0x477036);}import{global as _0x17c8d0}from'ckeditor5/src/utils.js';function _0x2225(){const _0x40e179=['position','.ck-ai-form__loader','isEnabled','left','render','createRange','execCommand','absolute','textContent','body','execute','contentFieldView','_createCopyButton','_copyHTMLToClipboard','createElement','text/plain','element','focus','1398368ErcfLh','write','querySelector','copy','ck-reset_all-excluded','ck-ai-form__content-area-wrapper','ck-ai-form__loader','setContent','setEndBefore','scrollHeight','ClipboardItem','div','6aLeuPo','value','setTemplate','851711GVKHqG','bindTemplate','ck-ai-form__content-area','ck-ai-form__content-field','wheel','getSelection','setStartAfter','remove','appendChild','clipboard','4830024PBTvaC','copyButtonView','Copy','27085560cWSZuN','style','loaderView','<span>[</span>','lastElementChild','\x20ck-ai-form__copy-button--copied','appendLoader','removeAllRanges','ck-ai-form__copy-button-wrapper','listenTo','firstElementChild','_createLoader','mousedown','24798cWshQt','icon','2956206kzhOaD','isVisible','-9999px','ck-ai-form__copy-button','smooth','class','set','change:isProcessing','<span>]</span>','270494bvHtuS','ck-content','text/html','change:value','locale','AI\x20is\x20writing...','isProcessing','addRange','ck-hidden','innerHTML','ck-ai-form__content-area--processing','scrollTo','72HiZBGP','bind','1165gsFQUi'];_0x2225=function(){return _0x40e179;};return _0x2225();}import{View as _0x117977,ButtonView as _0x237db6,SpinnerView as _0x428ebd}from'ckeditor5/src/ui.js';import{IconCheck as _0x240118,IconCopy as _0x5e7f9c}from'ckeditor5/src/icons.js';import{getTranslation as _0x35f839}from'../../utils/common-translations.js';export default class Y extends _0x117977{[_0x2f1e82(0x10b)];[_0x2f1e82(0x12c)];constructor(_0x362acc,_0xfcd1=''){const _0x4e2228=_0x2f1e82;super(_0x362acc),this[_0x4e2228(0xee)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2fca7e=this[_0x4e2228(0x122)];this[_0x4e2228(0x10b)]=new ContentFieldView(_0x362acc,_0xfcd1),this[_0x4e2228(0x12c)]=this[_0x4e2228(0x10c)](),this[_0x4e2228(0x120)]({'tag':_0x4e2228(0x11d),'attributes':{'class':['ck',_0x4e2228(0x117),_0x2fca7e['if'](_0x4e2228(0x13e),_0x4e2228(0xf9),_0x140f02=>!_0x140f02)],'tabindex':'-1'},'children':[{'tag':_0x4e2228(0x11d),'attributes':{'class':['ck',_0x4e2228(0x123),_0x2fca7e['if'](_0x4e2228(0xf7),_0x4e2228(0xfb))]},'children':[this[_0x4e2228(0x10b)],{'tag':_0x4e2228(0x11d),'attributes':{'class':['ck',_0x4e2228(0x136)]},'children':[this[_0x4e2228(0x12c)]]}]}]});}[_0x2f1e82(0x104)](){const _0x39f770=_0x2f1e82;super[_0x39f770(0x104)](),this[_0x39f770(0x11f)]&&this[_0x39f770(0x10b)][_0x39f770(0x119)](this[_0x39f770(0x11f)]);let _0x4bd46a=!0x1;this['on'](_0x39f770(0xf4),(_0x7f09ef,_0x1a4084,_0x2bae79)=>{const _0xe0b19b=_0x39f770,_0x42243d=!this[_0xe0b19b(0x10b)][_0xe0b19b(0x110)][_0xe0b19b(0x114)](_0xe0b19b(0x101));this[_0xe0b19b(0x10b)][_0xe0b19b(0x119)](_0x2bae79),this[_0xe0b19b(0xf7)]&&_0x42243d&&!_0x4bd46a&&this[_0xe0b19b(0x110)][_0xe0b19b(0xfc)]({'top':this[_0xe0b19b(0x110)][_0xe0b19b(0x11b)],'behavior':_0xe0b19b(0xec)});}),this['on'](_0x39f770(0xef),(_0x551cf0,_0x2964ca,_0x3facc5)=>{const _0x1360f2=_0x39f770;_0x4bd46a=!0x1,_0x3facc5?(this[_0x1360f2(0x11f)]=null,this[_0x1360f2(0x10b)][_0x1360f2(0x134)]()):this[_0x1360f2(0x11f)]||this[_0x1360f2(0x10b)][_0x1360f2(0x119)]('');}),this[_0x39f770(0x137)](this[_0x39f770(0x110)],_0x39f770(0x125),()=>{_0x4bd46a=!0x0;}),this[_0x39f770(0x137)](this[_0x39f770(0x110)],_0x39f770(0x13a),()=>{_0x4bd46a=!0x0;});}[_0x2f1e82(0x111)](){const _0xebbad1=_0x2f1e82;this[_0xebbad1(0x110)][_0xebbad1(0x111)]();}[_0x2f1e82(0x10c)](){const _0x29b2bd=_0x2f1e82,_0x196485=this[_0x29b2bd(0xf5)],_0x3a1762=new _0x237db6(this[_0x29b2bd(0xf5)]),_0x1b631d=_0x29b2bd(0xeb);return _0x3a1762[_0x29b2bd(0xee)]({'label':_0x35f839(_0x196485,_0x29b2bd(0x12d)),'icon':_0x5e7f9c,'class':_0x1b631d,'tooltip':!0x0}),_0x3a1762[_0x29b2bd(0xfe)](_0x29b2bd(0x13e))['to'](this,_0x29b2bd(0x11f),_0x37a32f=>!!_0x37a32f),_0x3a1762[_0x29b2bd(0xfe)](_0x29b2bd(0x102))['to'](this,_0x29b2bd(0xf7),_0x38b43a=>!_0x38b43a),_0x3a1762['on'](_0x29b2bd(0x10a),()=>{const _0x27e553=_0x29b2bd;this[_0x27e553(0x10d)](this[_0x27e553(0x10b)][_0x27e553(0x110)]),_0x3a1762[_0x27e553(0x13c)]=_0x240118,_0x3a1762[_0x27e553(0xed)]=_0x1b631d+_0x27e553(0x133),this[_0x27e553(0x111)](),setTimeout(()=>{const _0x450416=_0x27e553;_0x3a1762[_0x450416(0x13c)]=_0x5e7f9c,_0x3a1762[_0x450416(0xed)]=_0x1b631d;},0x3e8);}),_0x3a1762;}[_0x2f1e82(0x10d)](_0x2a53fa){const _0xa96b98=_0x2f1e82,{window:_0x444163,document:_0x4b7243}=_0x17c8d0;if(_0x444163[_0xa96b98(0x11c)]){const {Blob:_0x100e33,ClipboardItem:_0x1155ba}=_0x444163,_0x11b71a=[new _0x1155ba({'text/html':new _0x100e33([_0x2a53fa[_0xa96b98(0xfa)]],{'type':_0xa96b98(0xf3)}),'text/plain':new _0x100e33([_0x2a53fa[_0xa96b98(0x108)]||''],{'type':_0xa96b98(0x10f)})})];navigator[_0xa96b98(0x12a)][_0xa96b98(0x113)](_0x11b71a);}else{const _0x130e35=_0x4b7243[_0xa96b98(0x10e)](_0xa96b98(0x11d));_0x130e35[_0xa96b98(0x12f)][_0xa96b98(0x100)]=_0xa96b98(0x107),_0x130e35[_0xa96b98(0x12f)][_0xa96b98(0x103)]=_0xa96b98(0xea),_0x130e35[_0xa96b98(0xfa)]=_0xa96b98(0x131)+_0x2a53fa[_0xa96b98(0xfa)]+_0xa96b98(0xf0),_0x4b7243[_0xa96b98(0x109)][_0xa96b98(0x129)](_0x130e35);const _0x367360=_0x4b7243[_0xa96b98(0x105)]();_0x367360[_0xa96b98(0x127)](_0x130e35[_0xa96b98(0x138)]),_0x367360[_0xa96b98(0x11a)](_0x130e35[_0xa96b98(0x132)]);const _0x8d2be6=_0x444163[_0xa96b98(0x126)]();_0x8d2be6[_0xa96b98(0x135)](),_0x8d2be6[_0xa96b98(0xf8)](_0x367360),_0x4b7243[_0xa96b98(0x106)](_0xa96b98(0x115)),_0x130e35[_0xa96b98(0x128)]();}}}export class ContentFieldView extends _0x117977{constructor(_0x1bc575,_0x406a0b=''){const _0x311094=_0x2f1e82;super(_0x1bc575),this[_0x311094(0x130)]=this[_0x311094(0x139)](),this[_0x311094(0x120)]({'tag':_0x311094(0x11d),'attributes':{'class':['ck',_0x311094(0xf2),_0x406a0b,_0x311094(0x116),_0x311094(0x124)]}});}[_0x2f1e82(0x119)](_0x4cc58b){const _0x3cb193=_0x2f1e82;this[_0x3cb193(0x110)][_0x3cb193(0xfa)]=_0x4cc58b;}[_0x2f1e82(0x134)](){const _0x3e0c48=_0x2f1e82;this[_0x3e0c48(0x110)][_0x3e0c48(0x129)](this[_0x3e0c48(0x130)][_0x3e0c48(0x110)]);}[_0x2f1e82(0x139)](){const _0x375539=_0x2f1e82,_0x473713=new _0x117977(),_0x42277e=this[_0x375539(0xf5)],_0x2ffeaa=new _0x428ebd();return _0x2ffeaa[_0x375539(0x13e)]=!0x0,_0x473713[_0x375539(0x120)]({'tag':_0x375539(0x11d),'attributes':{'class':['ck',_0x375539(0x118)]},'children':[_0x2ffeaa,{'text':_0x35f839(_0x42277e,_0x375539(0xf6))}]}),_0x473713[_0x375539(0x104)](),_0x473713;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x436cf1,_0x3c6ff7){const _0x34eae4=_0x3bba,_0x2c3e33=_0x436cf1();while(!![]){try{const _0x505589=parseInt(_0x34eae4(0x1b1))/0x1*(-parseInt(_0x34eae4(0x1a8))/0x2)+-parseInt(_0x34eae4(0x1a9))/0x3*(-parseInt(_0x34eae4(0x1aa))/0x4)+-parseInt(_0x34eae4(0x1a6))/0x5*(-parseInt(_0x34eae4(0x1af))/0x6)+parseInt(_0x34eae4(0x1ab))/0x7+parseInt(_0x34eae4(0x1ae))/0x8+parseInt(_0x34eae4(0x1b5))/0x9*(-parseInt(_0x34eae4(0x1ac))/0xa)+-parseInt(_0x34eae4(0x1b0))/0xb*(-parseInt(_0x34eae4(0x1a5))/0xc);if(_0x505589===_0x3c6ff7)break;else _0x2c3e33['push'](_0x2c3e33['shift']());}catch(_0xb48f83){_0x2c3e33['push'](_0x2c3e33['shift']());}}}(_0x1c8f,0xc2db6));function _0x1c8f(){const _0x3c21ff=['6qaFMQn','220693qMfxMa','127MmugSN','div','ck-ai-form__error','text','18bCIhLM','setTemplate','content','444ZRzAHb','3089765QWczxE','set','20516zYlnNc','311757DAMpCa','16xFKBYo','2892582gaHZxe','568330LESFRt','bindTemplate','203040Aipzgn'];_0x1c8f=function(){return _0x3c21ff;};return _0x1c8f();}function _0x3bba(_0x2147e9,_0x134fbf){const _0x1c8f54=_0x1c8f();return _0x3bba=function(_0x3bbaa4,_0x564b5c){_0x3bbaa4=_0x3bbaa4-0x1a5;let _0x228e44=_0x1c8f54[_0x3bbaa4];return _0x228e44;},_0x3bba(_0x2147e9,_0x134fbf);}import{IconError as _0x1f29a1}from'ckeditor5/src/icons.js';import{View as _0x4b1ec4,IconView as _0x124ca8}from'ckeditor5/src/ui.js';export default class st extends _0x4b1ec4{constructor(_0x2336a1,_0xd572b4=''){const _0x49ccf1=_0x3bba;super(_0x2336a1);const _0x203035=new _0x124ca8(),_0x3289e8=this[_0x49ccf1(0x1ad)];this[_0x49ccf1(0x1a7)](_0x49ccf1(0x1b4),_0xd572b4),_0x203035[_0x49ccf1(0x1b7)]=_0x1f29a1,this[_0x49ccf1(0x1b6)]({'tag':_0x49ccf1(0x1b2),'attributes':{'class':['ck',_0x49ccf1(0x1b3)]},'children':[_0x203035,{'text':_0x3289e8['to'](_0x49ccf1(0x1b4))}]});}}
|