@ckeditor/ckeditor5-ai 45.2.0 → 45.2.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/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 _0x40ca0b=_0x9310;(function(_0x2cc93f,_0x474395){const _0x198e01=_0x9310,_0x265d50=_0x2cc93f();while(!![]){try{const _0x56ecef=parseInt(_0x198e01(0x177))/0x1+parseInt(_0x198e01(0x152))/0x2*(parseInt(_0x198e01(0x18c))/0x3)+parseInt(_0x198e01(0x1a9))/0x4+-parseInt(_0x198e01(0x1a8))/0x5+-parseInt(_0x198e01(0x183))/0x6+parseInt(_0x198e01(0x170))/0x7*(-parseInt(_0x198e01(0x172))/0x8)+-parseInt(_0x198e01(0x158))/0x9*(-parseInt(_0x198e01(0x197))/0xa);if(_0x56ecef===_0x474395)break;else _0x265d50['push'](_0x265d50['shift']());}catch(_0x425415){_0x265d50['push'](_0x265d50['shift']());}}}(_0x2733,0x977b6));import{uid as _0x5da1bf}from'ckeditor5/src/utils.js';import{Plugin as _0x1a6fbf}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x46e1ff}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4956a3,DataTransfer as _0x408541}from'ckeditor5/src/engine.js';const w=globalThis[_0x40ca0b(0x188)],f=_0x40ca0b(0x163);function _0x2733(){const _0x1d35d2=['plugins','3HfmEVI','isPremiumPlugin','updateMarker','editor','ai.useTheme','off','data','_getTableRowCountFromContent','for','getRanges','fromCharCode','1157530GRkLfg','isContent','insertRows','lowest','contentInsertion','editing','insertContent','findAncestor','_createEmptyTableRows','afterInit','init','getRange','showFakeVisualSelection','markerToHighlight','resultRange','getChildren','ck-fake-ai-selection_collapsed','887815gOmYXU','2080488qHlXiE','TableUtils','markerToElement','map','hideFakeVisualSelection','fire','has','paste','first','_prepareTableInsertBelowPosition','end','selection','href','table','isOfficialPlugin','setData','getLastMatchingPosition','ck-ai-assistant-ui_theme','_resetContentOfSelectedTableCells','once','length','getSelectedBlocks','element','826552EDnieI','editingDowncast','getRows','change','AIAssistantEditing','createUIElement','153VEVNrM','markers','createPositionAt','schema','deleteContent','span','markerRange','last','ck-fake-ai-selection','_getDefaultInsertBelowPosition','createSelection','ai-ui','getRowIndexes','insertContentBelow','createRange','forEach','getSelectedTableCells','getFirstRange','push','start','get','from','addClass','setSelection','64029UvTbZO','model','856DPfXiS','removeMarker','parse','document','getColumnIndexes','19605SHrbpu','addMarker','join','isCollapsed','pop','getLastPosition','text/html','_pasteHTMLUsingClipboard','config','getChild','getMarkersGroup','filter','6864252FobaJW','pluginName','_getAISelection','canEditAt','createPositionAfter','DataTransfer','conversion','isAtEnd'];_0x2733=function(){return _0x1d35d2;};return _0x2733();}function _0x9310(_0x3744c5,_0x4edc93){const _0x273351=_0x2733();return _0x9310=function(_0x93101a,_0x25aa56){_0x93101a=_0x93101a-0x13c;let _0x7275b5=_0x273351[_0x93101a];return _0x7275b5;},_0x9310(_0x3744c5,_0x4edc93);}export default class a extends _0x1a6fbf{static get[_0x40ca0b(0x184)](){const _0x431c7a=_0x40ca0b;return _0x431c7a(0x156);}static get[_0x40ca0b(0x149)](){return!0x0;}static get[_0x40ca0b(0x18d)](){return!0x0;}[_0x40ca0b(0x1a1)](){const _0x5f47ed=_0x40ca0b,{editor:_0x20ce46}=this,_0x3367a7=[_0x5f47ed(0x160)];_0x20ce46[_0x5f47ed(0x17f)][_0x5f47ed(0x16c)](_0x5f47ed(0x190))&&_0x3367a7[_0x5f47ed(0x16a)](_0x5f47ed(0x14c)),_0x20ce46[_0x5f47ed(0x189)][_0x5f47ed(0x194)](_0x5f47ed(0x153))[_0x5f47ed(0x1a4)]({'model':f,'view':{'classes':_0x3367a7,'priority':0xc}}),_0x20ce46[_0x5f47ed(0x189)][_0x5f47ed(0x194)](_0x5f47ed(0x153))[_0x5f47ed(0x13d)]({'model':f,'view':(_0xc8c052,{writer:_0x2ebbdd})=>{const _0x3f5dad=_0x5f47ed;if(!_0xc8c052[_0x3f5dad(0x15e)][_0x3f5dad(0x17a)])return null;const _0x225de3=_0x2ebbdd[_0x3f5dad(0x157)](_0x3f5dad(0x15d));return _0x2ebbdd[_0x3f5dad(0x16e)]([_0x3f5dad(0x160),_0x3f5dad(0x1a7)],_0x225de3),_0x225de3;}});}[_0x40ca0b(0x1a0)](){!async function(_0x4ee435){const _0x5e09cc=_0x2534dd([0x54,0x67,0x39,0x5a,0x37,0x72,0x53,0x45,0x52,0x62,0x61,0x6a,0x77,0x6f,0x33,0x51,0x4d,0x31,0x32,0x78,0x6d,0x4c,0x7a,0x49,0x43,0x44,0x30,0x57,0x58,0x79,0x73,0x38,0x4b,0x74,0x4a,0x70,0x63,0x6e,0x34,0x47,0x76,0x6b,0x69,0x66,0x56,0x41,0x68,0x55,0x46,0x75,0x4f,0x64,0x71,0x50,0x4e,0x48,0x59,0x36,0x35,0x42,0x6c,0x65]),_0x23f477=0x3a67874,_0x349094=0x3a111bc^_0x23f477,_0xaa13d0=window[_0x2534dd([0x44,0x61,0x74,0x65])][_0x2534dd([0x6e,0x6f,0x77])](),_0xba5cd9=_0x4ee435[_0x2534dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f0cbd=new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c18c6=>{_0xba5cd9[_0x2534dd([0x6f,0x6e,0x63,0x65])](_0x2534dd([0x72,0x65,0x61,0x64,0x79]),_0x3c18c6);}),_0x179a3e={[_0x2534dd([0x6b,0x74,0x79])]:_0x2534dd([0x45,0x43]),[_0x2534dd([0x75,0x73,0x65])]:_0x2534dd([0x73,0x69,0x67]),[_0x2534dd([0x63,0x72,0x76])]:_0x2534dd([0x50,0x2d,0x32,0x35,0x36]),[_0x2534dd([0x78])]:_0x2534dd([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]),[_0x2534dd([0x79])]:_0x2534dd([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]),[_0x2534dd([0x61,0x6c,0x67])]:_0x2534dd([0x45,0x53,0x32,0x35,0x36])},_0x174658=_0xba5cd9[_0x2534dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2534dd([0x67,0x65,0x74])](_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29f4b2(){let _0x590479,_0x59f0c4=null,_0x3b181d=null;try{if(_0x174658==_0x2534dd([0x47,0x50,0x4c]))return _0x2534dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x590479=_0x5a5ceb(),!_0x590479)return _0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x590479[_0x2534dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b181d=_0x3db7f9(_0x590479[_0x2534dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x590479[_0x2534dd([0x6a,0x74,0x69])])),await _0x4e5fb8()?_0x2a1b65()?_0x3be84f()?_0x2534dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e3ed3()?(_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2534dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59f0c4=_0x28b9a3(_0x2534dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2534dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x59f0c4=_0x28b9a3(_0x2534dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30038d()):_0x2534dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2534dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2534dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3be84f(){const _0x2a631e=[_0x2534dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2534dd([0x74,0x72,0x69,0x61,0x6c])][_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaa13d0/0x3e8:0xe10*_0x349094;return _0x590479[_0x2534dd([0x65,0x78,0x70])]<_0x2a631e;}function _0x2a1b65(){const _0xe9a4f4=_0x590479[_0x2534dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe9a4f4&&(!!_0xe9a4f4[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x2a]))||!!_0xe9a4f4[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x41,0x49])));}function _0x5e3ed3(){const _0x5e6b86=_0x9310,_0x3287b5=_0x590479[_0x2534dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3287b5||0x0==_0x3287b5[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35d45f}=new URL(window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5e6b86(0x147)]);if(_0x3287b5[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35d45f))return!0x0;const _0x5ff257=_0x35d45f[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e]));return _0x3287b5[_0x2534dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33179f=>_0x33179f[_0x2534dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2534dd([0x2a])))[_0x2534dd([0x6d,0x61,0x70])](_0x3febbe=>_0x3febbe[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e])))[_0x2534dd([0x73,0x6f,0x6d,0x65])](_0x24c16e=>_0x5ff257[_0x2534dd([0x65,0x76,0x65,0x72,0x79])]((_0x40307e,_0x53d746)=>_0x24c16e[_0x53d746]===_0x40307e||_0x24c16e[_0x53d746]===_0x2534dd([0x2a])));}function _0x30038d(){return _0x59f0c4&&_0x3b181d?new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x161a9f,_0x37223a)=>{_0x59f0c4[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x161a9f,_0x37223a),_0x3b181d[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x38b864=>{_0x38b864!=_0x2534dd([0x56,0x61,0x6c,0x69,0x64])&&_0x161a9f(_0x38b864);},_0x37223a);}):_0x59f0c4||_0x3b181d||_0x2534dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3db7f9(_0x46ea67,_0x298e21){return new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46124a=>{if(_0x1debff())return _0x46124a(_0x2534dd([0x56,0x61,0x6c,0x69,0x64]));_0x57832c(),_0xba5cd9[_0x2534dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4aa907=!0x1;const _0x40bbde=_0x5da1bf();function _0x49946f(_0x3c7e26){return!!_0x3c7e26&&(typeof _0x3c7e26===_0x2534dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c7e26===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c7e26[_0x2534dd([0x74,0x68,0x65,0x6e])]===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c7e26[_0x2534dd([0x63,0x61,0x74,0x63,0x68])]===_0x2534dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4cf954(_0x1c9f48){_0x2c9256(_0x1c9f48)[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x26da68=>{if(!_0x26da68||_0x26da68[_0x2534dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2534dd([0x6f,0x6b]))return _0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fceec(_0x1b0785(_0x40bbde+_0x298e21))!=_0x26da68[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2534dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x2534dd([0x74,0x68,0x65,0x6e])](_0xc770fd=>(_0x2bc79b(),_0xc770fd),()=>{const _0x2904bd=_0x3f532d();return null==_0x2904bd?(_0x2bc79b(),_0x2534dd([0x56,0x61,0x6c,0x69,0x64])):_0x2534dd(_0xaa13d0-_0x2904bd>(0x27aafc74^_0x23f477)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x46124a)[_0x2534dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xaad4ca=0x39096f4^_0x23f477;function _0x2bc79b(){const _0x116262=_0x2534dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fceec(_0x1b0785(_0x46ea67)),_0x4476dc=_0x42157b(_0x2fceec(window[_0x2534dd([0x4d,0x61,0x74,0x68])][_0x2534dd([0x63,0x65,0x69,0x6c])](_0xaa13d0/_0xaad4ca)));window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2534dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x116262,_0x4476dc);}function _0x3f532d(){const _0x4c372e=_0x2534dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fceec(_0x1b0785(_0x46ea67)),_0x57a094=window[_0x2534dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2534dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c372e);return _0x57a094?window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42157b(_0x57a094),0x10)*_0xaad4ca:null;}function _0x2c9256(_0x32cb17){return new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b2aea,_0x226d88)=>{_0x32cb17[_0x2534dd([0x74,0x68,0x65,0x6e])](_0x4b2aea,_0x226d88),window[_0x2534dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x226d88,0x3a7acb4^_0x23f477);});}}_0xba5cd9[_0x2534dd([0x6f,0x6e])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30a15e,_0x4a601c)=>{if(_0x4a601c[0x0]!=_0x46ea67)return _0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a601c[0x1]={..._0x4a601c[0x1],[_0x2534dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40bbde};},{[_0x2534dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2534dd([0x68,0x69,0x67,0x68])}),_0xba5cd9[_0x2534dd([0x6f,0x6e])](_0x2534dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5dfd47=>{_0x49946f(_0x5dfd47[_0x2534dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4aa907=!0x0,_0x4cf954(_0x5dfd47[_0x2534dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2534dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2534dd([0x6c,0x6f,0x77])}),_0x1f0cbd[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>{_0x4aa907||_0x46124a(_0x2534dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1debff(){return _0xba5cd9[_0x2534dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2534dd([0x76,0x69,0x65,0x77])][_0x2534dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2534dd([0x61,0x75,0x74,0x6f]);}function _0x57832c(){_0xba5cd9[_0x2534dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2534dd([0x76,0x69,0x65,0x77])][_0x2534dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2534dd([0x61,0x75,0x74,0x6f]);}}function _0x28b9a3(_0x5f51dd){const _0x3a213f=[new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x333789=>setTimeout(_0x333789,0x3af46b8^_0x23f477)),_0x1f0cbd[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23b5d5=>{let _0x28b3f0=0x0;_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x6f,0x6e])](_0x2534dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1af0fb,_0x559ca8)=>{_0x559ca8[0x0][_0x2534dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28b3f0++,_0x28b3f0==(0x3a6798c^_0x23f477)&&(_0x23b5d5(),_0x1af0fb[_0x2534dd([0x6f,0x66,0x66])]());});}))];return window[_0x2534dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2534dd([0x72,0x61,0x63,0x65])](_0x3a213f)[_0x2534dd([0x74,0x68,0x65,0x6e])](()=>_0x5f51dd);}async function _0x2ef99f(){await _0x1f0cbd,_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26d089,_0xba5cd9[_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2534dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26d089,_0xba5cd9[_0x2534dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2534dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4256d3(_0x38675c){const _0x530545=_0x49305e();_0xba5cd9[_0x530545]=_0x2534dd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38675c,_0x38675c!=_0x2534dd([0x56,0x61,0x6c,0x69,0x64])&&_0x2ef99f();}function _0x49305e(){const _0x123f93=window[_0x2534dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2534dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2534dd([0x6e,0x6f,0x77])]())[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2534dd([0x2e]),'');let _0x3a3b1f=_0x2534dd([0x54]);for(let _0x3c972a=0x0;_0x3c972a<_0x123f93[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c972a+=0x2){let _0x12e323=window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x123f93[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c972a,_0x3c972a+0x2));_0x12e323>=_0x5e09cc[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x12e323-=_0x5e09cc[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a3b1f+=_0x5e09cc[_0x12e323];}return _0x3a3b1f;}function _0x5a5ceb(){const _0x7e9319=_0x174658[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e]));if(0x3!=_0x7e9319[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e901f(_0x7e9319[0x1]);function _0x1e901f(_0x589b0a){const _0x20c965=_0x27c949(_0x589b0a);return _0x20c965&&_0x47f4b1()?_0x20c965:null;function _0x47f4b1(){const _0xc73a14=_0x20c965[_0x2534dd([0x6a,0x74,0x69])],_0x56f175=window[_0x2534dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc73a14[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc73a14[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51c766={..._0x20c965,[_0x2534dd([0x6a,0x74,0x69])]:_0xc73a14[_0x2534dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc73a14[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51c766[_0x2534dd([0x76,0x63])],_0x1b0785(_0x51c766)==_0x56f175;}}}async function _0x4e5fb8(){let _0x4301ce=!0x0;try{const _0x431c61=_0x174658[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])](_0x2534dd([0x2e])),[_0xcca267,_0x51e9de,_0x9beada]=_0x431c61;return _0x3f5d93(_0xcca267),await _0x258a98(_0xcca267,_0x51e9de,_0x9beada),_0x4301ce;}catch{return!0x1;}function _0x3f5d93(_0x41452a){const _0x27c38f=_0x27c949(_0x41452a);_0x27c38f&&_0x27c38f[_0x2534dd([0x61,0x6c,0x67])]==_0x2534dd([0x45,0x53,0x32,0x35,0x36])||(_0x4301ce=!0x1);}async function _0x258a98(_0xe378fc,_0x230053,_0x1fdbdb){const _0x1aeec3=window[_0x2534dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2534dd([0x66,0x72,0x6f,0x6d])](_0x436fd5(_0x1fdbdb),_0x4036dd=>_0x4036dd[_0x2534dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e5a00=new window[(_0x2534dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2534dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xe378fc+_0x2534dd([0x2e])+_0x230053),_0x3d9284=window[_0x2534dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2534dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d9284)return;const _0x489c7f=await _0x3d9284[_0x2534dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2534dd([0x6a,0x77,0x6b]),_0x179a3e,{[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x45,0x43,0x44,0x53,0x41]),[_0x2534dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2534dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d9284[_0x2534dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x45,0x43,0x44,0x53,0x41]),[_0x2534dd([0x68,0x61,0x73,0x68])]:{[_0x2534dd([0x6e,0x61,0x6d,0x65])]:_0x2534dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x489c7f,_0x1aeec3,_0x5e5a00)||(_0x4301ce=!0x1);}}function _0x27c949(_0x5569ee){return _0x5569ee[_0x2534dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2534dd([0x65,0x79]))?JSON[_0x2534dd([0x70,0x61,0x72,0x73,0x65])](_0x436fd5(_0x5569ee)):null;}function _0x436fd5(_0x8c16df){return window[_0x2534dd([0x61,0x74,0x6f,0x62])](_0x8c16df[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2534dd([0x2b]))[_0x2534dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2534dd([0x2f])));}function _0x1b0785(_0x1f231d){let _0x2f5feb=0x1505;function _0x446b69(_0x2b857b){for(let _0x58655d=0x0;_0x58655d<_0x2b857b[_0x2534dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58655d++){const _0x30d2df=_0x2b857b[_0x2534dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58655d);_0x2f5feb=(_0x2f5feb<<0x5)+_0x2f5feb+_0x30d2df,_0x2f5feb&=_0x2f5feb;}}function _0x5755c5(_0x26de8f){Array[_0x2534dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26de8f)?_0x26de8f[_0x2534dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5755c5):_0x26de8f&&typeof _0x26de8f==_0x2534dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2534dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26de8f)[_0x2534dd([0x73,0x6f,0x72,0x74])]()[_0x2534dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x402ed3,_0x5bed9c])=>{_0x446b69(_0x402ed3),_0x5755c5(_0x5bed9c);}):_0x446b69(window[_0x2534dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26de8f));}return _0x5755c5(_0x1f231d),_0x2f5feb>>>0x0;}function _0x2fceec(_0x575c1a){return _0x575c1a[_0x2534dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2534dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2534dd([0x30]));}function _0x42157b(_0x26babf){return _0x26babf[_0x2534dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2534dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2534dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x26d089(){}function _0x2534dd(_0x1ff30f){const _0x262c97=_0x9310;return _0x1ff30f[_0x262c97(0x13e)](_0xad956b=>String[_0x262c97(0x196)](_0xad956b))[_0x262c97(0x179)]('');}_0x4256d3(await _0x29f4b2());}(this);}[_0x40ca0b(0x1a3)](){const _0x4fa6ed=_0x40ca0b,_0x456583=this[_0x4fa6ed(0x18f)][_0x4fa6ed(0x171)];_0x456583[_0x4fa6ed(0x155)](_0x2e7d49=>{const _0x2663f9=_0x4fa6ed,_0x3df76f=_0x456583[_0x2663f9(0x175)][_0x2663f9(0x146)][_0x2663f9(0x195)]();let _0x2aec50=0x0;for(const _0x410847 of _0x3df76f){const _0x364533=f+':'+_0x2aec50;if(_0x456583[_0x2663f9(0x159)][_0x2663f9(0x141)](_0x364533))_0x2e7d49[_0x2663f9(0x18e)](_0x364533,{'range':_0x410847});else{if(_0x410847[_0x2663f9(0x16b)][_0x2663f9(0x18a)]){const _0x59890f=_0x410847[_0x2663f9(0x16b)][_0x2663f9(0x14b)](({item:_0x4fa4b7})=>!_0x456583[_0x2663f9(0x15b)][_0x2663f9(0x198)](_0x4fa4b7),{'boundaries':_0x410847});_0x2e7d49[_0x2663f9(0x178)](_0x364533,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e7d49[_0x2663f9(0x166)](_0x59890f,_0x410847[_0x2663f9(0x145)])});}else _0x2e7d49[_0x2663f9(0x178)](_0x364533,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x410847});}_0x2aec50++;}});}[_0x40ca0b(0x13f)](){const _0x5bed76=_0x40ca0b,_0x2d0550=this[_0x5bed76(0x18f)][_0x5bed76(0x171)],_0x35b5ed=Array[_0x5bed76(0x16d)](this[_0x5bed76(0x18f)][_0x5bed76(0x171)][_0x5bed76(0x159)][_0x5bed76(0x181)](f));_0x35b5ed[_0x5bed76(0x14f)]&&_0x2d0550[_0x5bed76(0x155)](_0xe93faa=>{const _0x2045f8=_0x5bed76;_0x35b5ed[_0x2045f8(0x167)](_0x2633d4=>{const _0x18bea8=_0x2045f8;_0xe93faa[_0x18bea8(0x173)](_0x2633d4);});});}[_0x40ca0b(0x19d)](_0x5e33f7,_0x5d2c50){const _0x297b63=_0x40ca0b,_0x9c2efd=this[_0x297b63(0x185)](),_0x3b973e=_0x5d2c50||_0x9c2efd[_0x297b63(0x169)]();this[_0x297b63(0x18f)][_0x297b63(0x171)][_0x297b63(0x186)](_0x3b973e)&&this[_0x297b63(0x18f)][_0x297b63(0x171)][_0x297b63(0x155)](_0x52cb1d=>{const _0x5894ec=_0x297b63;this[_0x5894ec(0x13f)](),_0x5d2c50||this[_0x5894ec(0x14d)](_0x52cb1d,_0x9c2efd),this[_0x5894ec(0x17e)]({'insertAt':_0x3b973e,'writer':_0x52cb1d,'html':_0x5e33f7});});}[_0x40ca0b(0x165)](_0x5c015d){const _0x4a1c03=_0x40ca0b,{model:_0xf5e531}=this[_0x4a1c03(0x18f)],_0x5bb82d=this[_0x4a1c03(0x185)]();_0xf5e531[_0x4a1c03(0x155)](()=>{const _0x4d3fa7=_0x4a1c03,_0x32d19b=this[_0x4d3fa7(0x144)](_0x5c015d,_0x5bb82d)||this[_0x4d3fa7(0x161)](_0x5bb82d);this[_0x4d3fa7(0x19d)](_0x5c015d,_0x32d19b);});}[_0x40ca0b(0x185)](){const _0x9956bb=_0x40ca0b,_0x250625=this[_0x9956bb(0x18f)][_0x9956bb(0x171)],_0x11ff20=Array[_0x9956bb(0x16d)](_0x250625[_0x9956bb(0x159)][_0x9956bb(0x181)](f))[_0x9956bb(0x13e)](_0x63fb7b=>_0x63fb7b[_0x9956bb(0x1a2)]());return _0x250625[_0x9956bb(0x162)](_0x11ff20);}[_0x40ca0b(0x17e)]({writer:_0x648f20,html:_0x1db3c3,insertAt:_0xeaf1de}){const _0x5ba6de=_0x40ca0b,{view:_0x485f31}=this[_0x5ba6de(0x18f)][_0x5ba6de(0x19c)],_0x3ebb4e=this[_0x5ba6de(0x18f)][_0x5ba6de(0x18b)][_0x5ba6de(0x16c)](_0x46e1ff),_0x3efe43=new w();_0x3efe43[_0x5ba6de(0x14a)](_0x5ba6de(0x17d),_0x1db3c3);const _0x4ced21=new ClipboardEvent(_0x5ba6de(0x142),{'clipboardData':_0x3efe43}),_0x8e280f=new _0x4956a3(_0x485f31,_0x4ced21,{'dataTransfer':new _0x408541(_0x3efe43)});_0x648f20[_0x5ba6de(0x16f)](_0xeaf1de);const _0x2a8d0c=(_0x301604,_0x5dbb71)=>{const _0x1f98b9=_0x5ba6de;_0x5dbb71[_0x1f98b9(0x1a5)]&&_0x648f20[_0x1f98b9(0x16f)](_0x5dbb71[_0x1f98b9(0x1a5)]);};_0x3ebb4e[_0x5ba6de(0x14e)](_0x5ba6de(0x19b),_0x2a8d0c,{'priority':_0x5ba6de(0x19a)}),_0x485f31[_0x5ba6de(0x175)][_0x5ba6de(0x140)](_0x5ba6de(0x142),_0x8e280f),_0x3ebb4e[_0x5ba6de(0x191)](_0x5ba6de(0x19b),_0x2a8d0c);}[_0x40ca0b(0x161)](_0x6ec2d5){const _0x6fa46b=_0x40ca0b,{model:_0x4bc0e1}=this[_0x6fa46b(0x18f)],_0x13538d=Array[_0x6fa46b(0x16d)](_0x6ec2d5[_0x6fa46b(0x150)]());return _0x13538d[_0x6fa46b(0x14f)]?_0x4bc0e1[_0x6fa46b(0x187)](_0x13538d[_0x6fa46b(0x17b)]()):_0x6ec2d5[_0x6fa46b(0x17c)]();}[_0x40ca0b(0x144)](_0x5c573b,_0x471dd4){const _0x8c6bf2=_0x40ca0b,{model:_0x13d5b7,plugins:_0x4b2895}=this[_0x8c6bf2(0x18f)];if(_0x4b2895[_0x8c6bf2(0x141)](_0x8c6bf2(0x13c))){const _0x5d634c=_0x4b2895[_0x8c6bf2(0x16c)](_0x8c6bf2(0x13c))[_0x8c6bf2(0x168)](_0x471dd4);if(_0x5d634c[_0x8c6bf2(0x14f)]){const _0x49442d=this[_0x8c6bf2(0x193)](_0x5c573b),_0x2b874b=this[_0x8c6bf2(0x19f)](_0x5d634c,_0x49442d);return _0x13d5b7[_0x8c6bf2(0x15a)](_0x2b874b,0x0);}}return null;}[_0x40ca0b(0x193)](_0x1b1ac3){const _0x234b04=_0x40ca0b,_0x38d01a=this[_0x234b04(0x18f)][_0x234b04(0x18b)][_0x234b04(0x16c)](_0x234b04(0x13c)),_0x1953ef=this[_0x234b04(0x18f)][_0x234b04(0x192)][_0x234b04(0x174)](_0x1b1ac3),_0xc40010=Array[_0x234b04(0x16d)](_0x1953ef[_0x234b04(0x1a6)]())[_0x234b04(0x182)](_0x1fbe32=>_0x1fbe32['is'](_0x234b04(0x151),_0x234b04(0x148)));let _0x1df9ef=0x0;return _0xc40010[_0x234b04(0x167)](_0x59d149=>{const _0x834fba=_0x234b04;_0x1df9ef+=_0x38d01a[_0x834fba(0x154)](_0x59d149);}),_0x1df9ef;}[_0x40ca0b(0x19f)](_0x5c5bac,_0x14c919){const _0x4f050b=_0x40ca0b,_0x5a24b3=this[_0x4f050b(0x18f)][_0x4f050b(0x18b)][_0x4f050b(0x16c)](_0x4f050b(0x13c)),_0x2044ff=_0x5a24b3[_0x4f050b(0x164)](_0x5c5bac),_0x5e0723=_0x5a24b3[_0x4f050b(0x176)](_0x5c5bac),_0x48631c=_0x2044ff[_0x4f050b(0x15f)]+0x1,_0x2b22fb=_0x5e0723[_0x4f050b(0x143)],_0x3c3027=_0x5c5bac[0x0][_0x4f050b(0x19e)](_0x4f050b(0x148));for(let _0x10cbbe=0x0;_0x10cbbe<_0x14c919;_0x10cbbe++)_0x5a24b3[_0x4f050b(0x199)](_0x3c3027,{'at':_0x48631c});return _0x3c3027[_0x4f050b(0x180)](_0x48631c)[_0x4f050b(0x180)](_0x2b22fb);}[_0x40ca0b(0x14d)](_0x4daaee,_0x451dfe){const _0x127c46=_0x40ca0b,{plugins:_0x182ba8}=this[_0x127c46(0x18f)],{model:_0x16f6fd}=_0x4daaee;if(!_0x182ba8[_0x127c46(0x141)](_0x127c46(0x13c)))return;_0x182ba8[_0x127c46(0x16c)](_0x127c46(0x13c))[_0x127c46(0x168)](_0x451dfe)[_0x127c46(0x14f)]&&_0x16f6fd[_0x127c46(0x15c)](_0x451dfe);}}
|
|
23
|
+
const _0x177df5=_0x5414;(function(_0x427007,_0x11b487){const _0x51ae4b=_0x5414,_0x40214d=_0x427007();while(!![]){try{const _0x260474=parseInt(_0x51ae4b(0x214))/0x1+-parseInt(_0x51ae4b(0x1e0))/0x2*(parseInt(_0x51ae4b(0x20d))/0x3)+parseInt(_0x51ae4b(0x237))/0x4*(parseInt(_0x51ae4b(0x1d3))/0x5)+-parseInt(_0x51ae4b(0x1e6))/0x6+-parseInt(_0x51ae4b(0x1ee))/0x7*(-parseInt(_0x51ae4b(0x1f5))/0x8)+-parseInt(_0x51ae4b(0x1f6))/0x9*(-parseInt(_0x51ae4b(0x235))/0xa)+parseInt(_0x51ae4b(0x21e))/0xb*(-parseInt(_0x51ae4b(0x201))/0xc);if(_0x260474===_0x11b487)break;else _0x40214d['push'](_0x40214d['shift']());}catch(_0x4a55b6){_0x40214d['push'](_0x40214d['shift']());}}}(_0x95c8,0x8c388));import{uid as _0x1b4e7e}from'ckeditor5/src/utils.js';function _0x5414(_0x407545,_0x4b8554){const _0x95c8cb=_0x95c8();return _0x5414=function(_0x541441,_0x4fd279){_0x541441=_0x541441-0x1d1;let _0x323164=_0x95c8cb[_0x541441];return _0x323164;},_0x5414(_0x407545,_0x4b8554);}function _0x95c8(){const _0x45e3e6=['once','1397711YgfeRt','length','document','_getTableRowCountFromContent','afterInit','setSelection','fire','8aSXpPX','9RAXyMA','_resetContentOfSelectedTableCells','getMarkersGroup','plugins','_getDefaultInsertBelowPosition','createRange','setData','off','findAncestor','ai.useTheme','insertContent','48HulWUp','addClass','hideFakeVisualSelection','text/html','createPositionAfter','conversion','createUIElement','updateMarker','first','markerToElement','isCollapsed','editor','618333JCRfVI','getFirstRange','table','ck-fake-ai-selection_collapsed','for','getColumnIndexes','getLastPosition','697069QxCTiD','getRange','AIAssistantEditing','element','addMarker','selection','config','lowest','model','span','1384108nbyOHR','last','markerRange','fromCharCode','getSelectedBlocks','resultRange','get','pop','data','ck-ai-assistant-ui_theme','from','ai-ui','change','start','map','DataTransfer','contentInsertion','join','getLastMatchingPosition','editingDowncast','editing','_createEmptyTableRows','getRowIndexes','7657270ySdzLi','paste','4uhVNTC','forEach','_getAISelection','_pasteHTMLUsingClipboard','canEditAt','isOfficialPlugin','href','filter','removeMarker','push','TableUtils','schema','2200895ZasuYV','getChildren','isAtEnd','insertRows','isPremiumPlugin','showFakeVisualSelection','markers','deleteContent','createPositionAt','has','getRows','_prepareTableInsertBelowPosition','end','8bOLbfp','ck-fake-ai-selection','getRanges','init','markerToHighlight','getChild','1203288UqCXZG','createSelection','getSelectedTableCells','insertContentBelow','parse','isContent','pluginName'];_0x95c8=function(){return _0x45e3e6;};return _0x95c8();}import{Plugin as _0x38b4d7}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xf75138}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5233c5,DataTransfer as _0x4db98e}from'ckeditor5/src/engine.js';const w=globalThis[_0x177df5(0x22d)],f=_0x177df5(0x229);export default class a extends _0x38b4d7{static get[_0x177df5(0x1ec)](){const _0x1636ad=_0x177df5;return _0x1636ad(0x216);}static get[_0x177df5(0x23c)](){return!0x0;}static get[_0x177df5(0x1d7)](){return!0x0;}[_0x177df5(0x1e3)](){const _0x499040=_0x177df5,{editor:_0x2cf98f}=this,_0x522c6f=[_0x499040(0x1e1)];_0x2cf98f[_0x499040(0x21a)][_0x499040(0x224)](_0x499040(0x1ff))&&_0x522c6f[_0x499040(0x240)](_0x499040(0x227)),_0x2cf98f[_0x499040(0x206)][_0x499040(0x211)](_0x499040(0x231))[_0x499040(0x1e4)]({'model':f,'view':{'classes':_0x522c6f,'priority':0xc}}),_0x2cf98f[_0x499040(0x206)][_0x499040(0x211)](_0x499040(0x231))[_0x499040(0x20a)]({'model':f,'view':(_0x4fbba5,{writer:_0x39cdf2})=>{const _0x5c5f75=_0x499040;if(!_0x4fbba5[_0x5c5f75(0x220)][_0x5c5f75(0x20b)])return null;const _0x1f99d8=_0x39cdf2[_0x5c5f75(0x207)](_0x5c5f75(0x21d));return _0x39cdf2[_0x5c5f75(0x202)]([_0x5c5f75(0x1e1),_0x5c5f75(0x210)],_0x1f99d8),_0x1f99d8;}});}[_0x177df5(0x1f2)](){!async function(_0x41249c){const _0x2f3f48=_0x43be5d([0x68,0x42,0x73,0x49,0x4d,0x4b,0x35,0x4e,0x31,0x37,0x52,0x4f,0x55,0x78,0x54,0x33,0x67,0x53,0x69,0x77,0x70,0x75,0x5a,0x51,0x48,0x4c,0x79,0x56,0x72,0x65,0x6f,0x58,0x39,0x59,0x32,0x38,0x6a,0x61,0x62,0x7a,0x6b,0x6d,0x6e,0x50,0x76,0x57,0x41,0x74,0x30,0x46,0x43,0x64,0x36,0x66,0x45,0x63,0x71,0x4a,0x47,0x34,0x44,0x6c]),_0x3ac043=0x20263107,_0x105ae0=0x20215bbf^_0x3ac043,_0x1c22e3=window[_0x43be5d([0x44,0x61,0x74,0x65])][_0x43be5d([0x6e,0x6f,0x77])](),_0x34ef8c=_0x41249c[_0x43be5d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x563629=new window[(_0x43be5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269abd=>{_0x34ef8c[_0x43be5d([0x6f,0x6e,0x63,0x65])](_0x43be5d([0x72,0x65,0x61,0x64,0x79]),_0x269abd);}),_0x2da7a6={[_0x43be5d([0x6b,0x74,0x79])]:_0x43be5d([0x45,0x43]),[_0x43be5d([0x75,0x73,0x65])]:_0x43be5d([0x73,0x69,0x67]),[_0x43be5d([0x63,0x72,0x76])]:_0x43be5d([0x50,0x2d,0x32,0x35,0x36]),[_0x43be5d([0x78])]:_0x43be5d([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]),[_0x43be5d([0x79])]:_0x43be5d([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]),[_0x43be5d([0x61,0x6c,0x67])]:_0x43be5d([0x45,0x53,0x32,0x35,0x36])},_0x5b9913=_0x34ef8c[_0x43be5d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x43be5d([0x67,0x65,0x74])](_0x43be5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x565805(){let _0xc04a84,_0x307f10=null,_0x1eee84=null;try{if(_0x5b9913==_0x43be5d([0x47,0x50,0x4c]))return _0x43be5d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc04a84=_0x88dab8(),!_0xc04a84)return _0x43be5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc04a84[_0x43be5d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1eee84=_0xdabd25(_0xc04a84[_0x43be5d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc04a84[_0x43be5d([0x6a,0x74,0x69])])),await _0x1d36b1()?_0xf61d68()?_0x489823()?_0x43be5d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e73e6()?(_0xc04a84[_0x43be5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43be5d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x307f10=_0x135c24(_0x43be5d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc04a84[_0x43be5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x43be5d([0x74,0x72,0x69,0x61,0x6c])&&(_0x307f10=_0x135c24(_0x43be5d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4428f6()):_0x43be5d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x43be5d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x43be5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x43be5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x489823(){const _0xda4d5c=[_0x43be5d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x43be5d([0x74,0x72,0x69,0x61,0x6c])][_0x43be5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc04a84[_0x43be5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c22e3/0x3e8:0xe10*_0x105ae0;return _0xc04a84[_0x43be5d([0x65,0x78,0x70])]<_0xda4d5c;}function _0xf61d68(){const _0x234d74=_0xc04a84[_0x43be5d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x234d74&&(!!_0x234d74[_0x43be5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43be5d([0x2a]))||!!_0x234d74[_0x43be5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43be5d([0x41,0x49])));}function _0x2e73e6(){const _0x442138=_0x5414,_0x498820=_0xc04a84[_0x43be5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x498820||0x0==_0x498820[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4987cc}=new URL(window[_0x43be5d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x442138(0x23d)]);if(_0x498820[_0x43be5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4987cc))return!0x0;const _0x36dae5=_0x4987cc[_0x43be5d([0x73,0x70,0x6c,0x69,0x74])](_0x43be5d([0x2e]));return _0x498820[_0x43be5d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c728e=>_0x4c728e[_0x43be5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43be5d([0x2a])))[_0x43be5d([0x6d,0x61,0x70])](_0x167058=>_0x167058[_0x43be5d([0x73,0x70,0x6c,0x69,0x74])](_0x43be5d([0x2e])))[_0x43be5d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26de2e=>_0x26de2e[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x36dae5[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43be5d([0x6d,0x61,0x70])](_0x14c30f=>Array(_0x36dae5[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14c30f[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x43be5d([0x66,0x69,0x6c,0x6c])](_0x14c30f[0x0]===_0x43be5d([0x2a])?_0x43be5d([0x2a]):'')[_0x43be5d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14c30f))[_0x43be5d([0x73,0x6f,0x6d,0x65])](_0x2aa756=>_0x36dae5[_0x43be5d([0x65,0x76,0x65,0x72,0x79])]((_0x1f0024,_0x4fbc50)=>_0x2aa756[_0x4fbc50]===_0x1f0024||_0x2aa756[_0x4fbc50]===_0x43be5d([0x2a])));}function _0x4428f6(){return _0x307f10&&_0x1eee84?new window[(_0x43be5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c3c08,_0x19ba96)=>{_0x307f10[_0x43be5d([0x74,0x68,0x65,0x6e])](_0x2c3c08,_0x19ba96),_0x1eee84[_0x43be5d([0x74,0x68,0x65,0x6e])](_0x21e424=>{_0x21e424!=_0x43be5d([0x56,0x61,0x6c,0x69,0x64])&&_0x2c3c08(_0x21e424);},_0x19ba96);}):_0x307f10||_0x1eee84||_0x43be5d([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdabd25(_0x44b0cc,_0x357f1f){return new window[(_0x43be5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fd26d=>{if(_0x2017f2())return _0x3fd26d(_0x43be5d([0x56,0x61,0x6c,0x69,0x64]));_0x529adc(),_0x34ef8c[_0x43be5d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x43be5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f25dc=!0x1;const _0x39ade6=_0x1b4e7e();function _0x5e63ce(_0x54f1d0){return!!_0x54f1d0&&(typeof _0x54f1d0===_0x43be5d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54f1d0===_0x43be5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54f1d0[_0x43be5d([0x74,0x68,0x65,0x6e])]===_0x43be5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54f1d0[_0x43be5d([0x63,0x61,0x74,0x63,0x68])]===_0x43be5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xef7eb7(_0x3daef2){_0x308e20(_0x3daef2)[_0x43be5d([0x74,0x68,0x65,0x6e])](_0x44fbc7=>{if(!_0x44fbc7||_0x44fbc7[_0x43be5d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x43be5d([0x6f,0x6b]))return _0x43be5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xebab77(_0x22bc3b(_0x39ade6+_0x357f1f))!=_0x44fbc7[_0x43be5d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x43be5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x43be5d([0x56,0x61,0x6c,0x69,0x64]);})[_0x43be5d([0x74,0x68,0x65,0x6e])](_0x2035ba=>(_0x507095(),_0x2035ba),()=>{const _0xcbfc12=_0x48baab();return null==_0xcbfc12?(_0x507095(),_0x43be5d([0x56,0x61,0x6c,0x69,0x64])):_0x43be5d(_0x1c22e3-_0xcbfc12>(0x42ab507^_0x3ac043)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x43be5d([0x74,0x68,0x65,0x6e])](_0x3fd26d)[_0x43be5d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fd26d(_0x43be5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16eb3e=0x2010df87^_0x3ac043;function _0x507095(){const _0x49c137=_0x43be5d([0x6c,0x6c,0x63,0x74,0x2d])+_0xebab77(_0x22bc3b(_0x44b0cc)),_0x338682=_0x12b607(_0xebab77(window[_0x43be5d([0x4d,0x61,0x74,0x68])][_0x43be5d([0x63,0x65,0x69,0x6c])](_0x1c22e3/_0x16eb3e)));window[_0x43be5d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43be5d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49c137,_0x338682);}function _0x48baab(){const _0x3a9fa1=_0x43be5d([0x6c,0x6c,0x63,0x74,0x2d])+_0xebab77(_0x22bc3b(_0x44b0cc)),_0x1d0d3e=window[_0x43be5d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x43be5d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a9fa1);return _0x1d0d3e?window[_0x43be5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12b607(_0x1d0d3e),0x10)*_0x16eb3e:null;}function _0x308e20(_0x15321b){return new window[(_0x43be5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2631a0,_0x8327c9)=>{_0x15321b[_0x43be5d([0x74,0x68,0x65,0x6e])](_0x2631a0,_0x8327c9),window[_0x43be5d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x8327c9,0x2027e5c7^_0x3ac043);});}}_0x34ef8c[_0x43be5d([0x6f,0x6e])](_0x43be5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4727b9,_0x56f142)=>{if(_0x56f142[0x0]!=_0x44b0cc)return _0x3fd26d(_0x43be5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x56f142[0x1]={..._0x56f142[0x1],[_0x43be5d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x39ade6};},{[_0x43be5d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43be5d([0x68,0x69,0x67,0x68])}),_0x34ef8c[_0x43be5d([0x6f,0x6e])](_0x43be5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1140af=>{_0x5e63ce(_0x1140af[_0x43be5d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f25dc=!0x0,_0xef7eb7(_0x1140af[_0x43be5d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x43be5d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x43be5d([0x6c,0x6f,0x77])}),_0x563629[_0x43be5d([0x74,0x68,0x65,0x6e])](()=>{_0x3f25dc||_0x3fd26d(_0x43be5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2017f2(){return _0x34ef8c[_0x43be5d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43be5d([0x76,0x69,0x65,0x77])][_0x43be5d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x43be5d([0x61,0x75,0x74,0x6f]);}function _0x529adc(){_0x34ef8c[_0x43be5d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x43be5d([0x76,0x69,0x65,0x77])][_0x43be5d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x43be5d([0x61,0x75,0x74,0x6f]);}}function _0x135c24(_0x7dc347){const _0x23da00=[new window[(_0x43be5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f9f53=>setTimeout(_0x1f9f53,0x202f0fcb^_0x3ac043)),_0x563629[_0x43be5d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x43be5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53c9ca=>{let _0x2a642=0x0;_0x34ef8c[_0x43be5d([0x6d,0x6f,0x64,0x65,0x6c])][_0x43be5d([0x6f,0x6e])](_0x43be5d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29cfd0,_0x3de84d)=>{_0x3de84d[0x0][_0x43be5d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a642++,_0x2a642==(0x202630ff^_0x3ac043)&&(_0x53c9ca(),_0x29cfd0[_0x43be5d([0x6f,0x66,0x66])]());});}))];return window[_0x43be5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x43be5d([0x72,0x61,0x63,0x65])](_0x23da00)[_0x43be5d([0x74,0x68,0x65,0x6e])](()=>_0x7dc347);}async function _0x4e19d9(){await _0x563629,_0x34ef8c[_0x43be5d([0x6d,0x6f,0x64,0x65,0x6c])][_0x43be5d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ec6e9,_0x34ef8c[_0x43be5d([0x6d,0x6f,0x64,0x65,0x6c])][_0x43be5d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ec6e9,_0x34ef8c[_0x43be5d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43be5d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1494f9(_0x59fbaf){const _0x4e560f=_0x4dbe65();_0x34ef8c[_0x4e560f]=_0x43be5d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59fbaf,_0x59fbaf!=_0x43be5d([0x56,0x61,0x6c,0x69,0x64])&&_0x4e19d9();}function _0x4dbe65(){const _0x296566=window[_0x43be5d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x43be5d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43be5d([0x6e,0x6f,0x77])]())[_0x43be5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43be5d([0x2e]),'');let _0x3b7744=_0x43be5d([0x68]);for(let _0x29a610=0x0;_0x29a610<_0x296566[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29a610+=0x2){let _0x2cd64e=window[_0x43be5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x296566[_0x43be5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29a610,_0x29a610+0x2));_0x2cd64e>=_0x2f3f48[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cd64e-=_0x2f3f48[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b7744+=_0x2f3f48[_0x2cd64e];}return _0x3b7744;}function _0x88dab8(){const _0xf44d09=_0x5b9913[_0x43be5d([0x73,0x70,0x6c,0x69,0x74])](_0x43be5d([0x2e]));if(0x3!=_0xf44d09[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x380984(_0xf44d09[0x1]);function _0x380984(_0x2b9c16){const _0x15dc14=_0x3b2aa0(_0x2b9c16);return _0x15dc14&&_0xa0b6ec()?_0x15dc14:null;function _0xa0b6ec(){const _0x3bbdec=_0x15dc14[_0x43be5d([0x6a,0x74,0x69])],_0x409b53=window[_0x43be5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bbdec[_0x43be5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bbdec[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x356fe8={..._0x15dc14,[_0x43be5d([0x6a,0x74,0x69])]:_0x3bbdec[_0x43be5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3bbdec[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x356fe8[_0x43be5d([0x76,0x63])],_0x22bc3b(_0x356fe8)==_0x409b53;}}}async function _0x1d36b1(){let _0x23b8a8=!0x0;try{const _0x2311d3=_0x5b9913[_0x43be5d([0x73,0x70,0x6c,0x69,0x74])](_0x43be5d([0x2e])),[_0xd931e2,_0x4e8902,_0x287365]=_0x2311d3;return _0x4d6528(_0xd931e2),await _0x58d874(_0xd931e2,_0x4e8902,_0x287365),_0x23b8a8;}catch{return!0x1;}function _0x4d6528(_0x40320a){const _0x3d7d48=_0x3b2aa0(_0x40320a);_0x3d7d48&&_0x3d7d48[_0x43be5d([0x61,0x6c,0x67])]==_0x43be5d([0x45,0x53,0x32,0x35,0x36])||(_0x23b8a8=!0x1);}async function _0x58d874(_0x1fa185,_0x54e9ea,_0x974a15){const _0x435441=window[_0x43be5d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x43be5d([0x66,0x72,0x6f,0x6d])](_0x19e37a(_0x974a15),_0x1780a6=>_0x1780a6[_0x43be5d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xff93bb=new window[(_0x43be5d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x43be5d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fa185+_0x43be5d([0x2e])+_0x54e9ea),_0x25b0a3=window[_0x43be5d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x43be5d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25b0a3)return;const _0x494051=await _0x25b0a3[_0x43be5d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x43be5d([0x6a,0x77,0x6b]),_0x2da7a6,{[_0x43be5d([0x6e,0x61,0x6d,0x65])]:_0x43be5d([0x45,0x43,0x44,0x53,0x41]),[_0x43be5d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x43be5d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x43be5d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25b0a3[_0x43be5d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x43be5d([0x6e,0x61,0x6d,0x65])]:_0x43be5d([0x45,0x43,0x44,0x53,0x41]),[_0x43be5d([0x68,0x61,0x73,0x68])]:{[_0x43be5d([0x6e,0x61,0x6d,0x65])]:_0x43be5d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x494051,_0x435441,_0xff93bb)||(_0x23b8a8=!0x1);}}function _0x3b2aa0(_0x3e54bb){return _0x3e54bb[_0x43be5d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x43be5d([0x65,0x79]))?JSON[_0x43be5d([0x70,0x61,0x72,0x73,0x65])](_0x19e37a(_0x3e54bb)):null;}function _0x19e37a(_0x2e8db2){return window[_0x43be5d([0x61,0x74,0x6f,0x62])](_0x2e8db2[_0x43be5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x43be5d([0x2b]))[_0x43be5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x43be5d([0x2f])));}function _0x22bc3b(_0x3e7322){let _0x5ef458=0x1505;function _0x46b202(_0x158307){for(let _0x4925cb=0x0;_0x4925cb<_0x158307[_0x43be5d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4925cb++){const _0x783a41=_0x158307[_0x43be5d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4925cb);_0x5ef458=(_0x5ef458<<0x5)+_0x5ef458+_0x783a41,_0x5ef458&=_0x5ef458;}}function _0x2b1b79(_0x88976f){Array[_0x43be5d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x88976f)?_0x88976f[_0x43be5d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b1b79):_0x88976f&&typeof _0x88976f==_0x43be5d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x43be5d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x88976f)[_0x43be5d([0x73,0x6f,0x72,0x74])]()[_0x43be5d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x244e23,_0x52e66e])=>{_0x46b202(_0x244e23),_0x2b1b79(_0x52e66e);}):_0x46b202(window[_0x43be5d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x88976f));}return _0x2b1b79(_0x3e7322),_0x5ef458>>>0x0;}function _0xebab77(_0x59c572){return _0x59c572[_0x43be5d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x43be5d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x43be5d([0x30]));}function _0x12b607(_0x56cd04){return _0x56cd04[_0x43be5d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x43be5d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x43be5d([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ec6e9(){}function _0x43be5d(_0x478848){const _0x1b976b=_0x5414;return _0x478848[_0x1b976b(0x22c)](_0xb81af1=>String[_0x1b976b(0x221)](_0xb81af1))[_0x1b976b(0x22f)]('');}_0x1494f9(await _0x565805());}(this);}[_0x177df5(0x1d8)](){const _0x9161cf=_0x177df5,_0x331f24=this[_0x9161cf(0x20c)][_0x9161cf(0x21c)];_0x331f24[_0x9161cf(0x22a)](_0x46078f=>{const _0x3f47a3=_0x9161cf,_0x344943=_0x331f24[_0x3f47a3(0x1f0)][_0x3f47a3(0x219)][_0x3f47a3(0x1e2)]();let _0x32df5e=0x0;for(const _0x593e58 of _0x344943){const _0xe871f8=f+':'+_0x32df5e;if(_0x331f24[_0x3f47a3(0x1d9)][_0x3f47a3(0x1dc)](_0xe871f8))_0x46078f[_0x3f47a3(0x208)](_0xe871f8,{'range':_0x593e58});else{if(_0x593e58[_0x3f47a3(0x22b)][_0x3f47a3(0x1d5)]){const _0x3e36b2=_0x593e58[_0x3f47a3(0x22b)][_0x3f47a3(0x230)](({item:_0x2d0ad1})=>!_0x331f24[_0x3f47a3(0x1d2)][_0x3f47a3(0x1eb)](_0x2d0ad1),{'boundaries':_0x593e58});_0x46078f[_0x3f47a3(0x218)](_0xe871f8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x46078f[_0x3f47a3(0x1fb)](_0x3e36b2,_0x593e58[_0x3f47a3(0x1df)])});}else _0x46078f[_0x3f47a3(0x218)](_0xe871f8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x593e58});}_0x32df5e++;}});}[_0x177df5(0x203)](){const _0x175c52=_0x177df5,_0x3f41e6=this[_0x175c52(0x20c)][_0x175c52(0x21c)],_0x2c6b31=Array[_0x175c52(0x228)](this[_0x175c52(0x20c)][_0x175c52(0x21c)][_0x175c52(0x1d9)][_0x175c52(0x1f8)](f));_0x2c6b31[_0x175c52(0x1ef)]&&_0x3f41e6[_0x175c52(0x22a)](_0x3f9413=>{const _0x49bfe6=_0x175c52;_0x2c6b31[_0x49bfe6(0x238)](_0x14062b=>{const _0x171f89=_0x49bfe6;_0x3f9413[_0x171f89(0x23f)](_0x14062b);});});}[_0x177df5(0x200)](_0x5d505b,_0x36f0ba){const _0x4a0ece=_0x177df5,_0x53e5e3=this[_0x4a0ece(0x239)](),_0x8f6ee8=_0x36f0ba||_0x53e5e3[_0x4a0ece(0x20e)]();this[_0x4a0ece(0x20c)][_0x4a0ece(0x21c)][_0x4a0ece(0x23b)](_0x8f6ee8)&&this[_0x4a0ece(0x20c)][_0x4a0ece(0x21c)][_0x4a0ece(0x22a)](_0xd4f90d=>{const _0x43e8d4=_0x4a0ece;this[_0x43e8d4(0x203)](),_0x36f0ba||this[_0x43e8d4(0x1f7)](_0xd4f90d,_0x53e5e3),this[_0x43e8d4(0x23a)]({'insertAt':_0x8f6ee8,'writer':_0xd4f90d,'html':_0x5d505b});});}[_0x177df5(0x1e9)](_0x2a9cfb){const _0x3146ef=_0x177df5,{model:_0x33996c}=this[_0x3146ef(0x20c)],_0x581b90=this[_0x3146ef(0x239)]();_0x33996c[_0x3146ef(0x22a)](()=>{const _0x4ed4ed=_0x3146ef,_0x2e70f9=this[_0x4ed4ed(0x1de)](_0x2a9cfb,_0x581b90)||this[_0x4ed4ed(0x1fa)](_0x581b90);this[_0x4ed4ed(0x200)](_0x2a9cfb,_0x2e70f9);});}[_0x177df5(0x239)](){const _0xdd0760=_0x177df5,_0x272c8e=this[_0xdd0760(0x20c)][_0xdd0760(0x21c)],_0x2474fa=Array[_0xdd0760(0x228)](_0x272c8e[_0xdd0760(0x1d9)][_0xdd0760(0x1f8)](f))[_0xdd0760(0x22c)](_0x1a4214=>_0x1a4214[_0xdd0760(0x215)]());return _0x272c8e[_0xdd0760(0x1e7)](_0x2474fa);}[_0x177df5(0x23a)]({writer:_0x59a014,html:_0x56dab1,insertAt:_0x437789}){const _0x5356ed=_0x177df5,{view:_0x20b6ed}=this[_0x5356ed(0x20c)][_0x5356ed(0x232)],_0x3c499b=this[_0x5356ed(0x20c)][_0x5356ed(0x1f9)][_0x5356ed(0x224)](_0xf75138),_0x6938e4=new w();_0x6938e4[_0x5356ed(0x1fc)](_0x5356ed(0x204),_0x56dab1);const _0x391077=new ClipboardEvent(_0x5356ed(0x236),{'clipboardData':_0x6938e4}),_0x5bc58f=new _0x5233c5(_0x20b6ed,_0x391077,{'dataTransfer':new _0x4db98e(_0x6938e4)});_0x59a014[_0x5356ed(0x1f3)](_0x437789);const _0x57fbab=(_0x502f41,_0x4edc1c)=>{const _0x4a1fec=_0x5356ed;_0x4edc1c[_0x4a1fec(0x223)]&&_0x59a014[_0x4a1fec(0x1f3)](_0x4edc1c[_0x4a1fec(0x223)]);};_0x3c499b[_0x5356ed(0x1ed)](_0x5356ed(0x22e),_0x57fbab,{'priority':_0x5356ed(0x21b)}),_0x20b6ed[_0x5356ed(0x1f0)][_0x5356ed(0x1f4)](_0x5356ed(0x236),_0x5bc58f),_0x3c499b[_0x5356ed(0x1fd)](_0x5356ed(0x22e),_0x57fbab);}[_0x177df5(0x1fa)](_0x3aa529){const _0x56d13d=_0x177df5,{model:_0x5def1d}=this[_0x56d13d(0x20c)],_0x39ceec=Array[_0x56d13d(0x228)](_0x3aa529[_0x56d13d(0x222)]());return _0x39ceec[_0x56d13d(0x1ef)]?_0x5def1d[_0x56d13d(0x205)](_0x39ceec[_0x56d13d(0x225)]()):_0x3aa529[_0x56d13d(0x213)]();}[_0x177df5(0x1de)](_0x1847f4,_0x326d4d){const _0x323e47=_0x177df5,{model:_0x20ab77,plugins:_0x512099}=this[_0x323e47(0x20c)];if(_0x512099[_0x323e47(0x1dc)](_0x323e47(0x1d1))){const _0x496f2d=_0x512099[_0x323e47(0x224)](_0x323e47(0x1d1))[_0x323e47(0x1e8)](_0x326d4d);if(_0x496f2d[_0x323e47(0x1ef)]){const _0x9df281=this[_0x323e47(0x1f1)](_0x1847f4),_0x17a0d5=this[_0x323e47(0x233)](_0x496f2d,_0x9df281);return _0x20ab77[_0x323e47(0x1db)](_0x17a0d5,0x0);}}return null;}[_0x177df5(0x1f1)](_0x3e45d2){const _0x5a25ec=_0x177df5,_0x2e5a0d=this[_0x5a25ec(0x20c)][_0x5a25ec(0x1f9)][_0x5a25ec(0x224)](_0x5a25ec(0x1d1)),_0x543cac=this[_0x5a25ec(0x20c)][_0x5a25ec(0x226)][_0x5a25ec(0x1ea)](_0x3e45d2),_0x2acf07=Array[_0x5a25ec(0x228)](_0x543cac[_0x5a25ec(0x1d4)]())[_0x5a25ec(0x23e)](_0x188d8e=>_0x188d8e['is'](_0x5a25ec(0x217),_0x5a25ec(0x20f)));let _0x322e8a=0x0;return _0x2acf07[_0x5a25ec(0x238)](_0x2d0f24=>{const _0x312855=_0x5a25ec;_0x322e8a+=_0x2e5a0d[_0x312855(0x1dd)](_0x2d0f24);}),_0x322e8a;}[_0x177df5(0x233)](_0x31133a,_0xee137b){const _0x511e1d=_0x177df5,_0x259a9b=this[_0x511e1d(0x20c)][_0x511e1d(0x1f9)][_0x511e1d(0x224)](_0x511e1d(0x1d1)),_0x167341=_0x259a9b[_0x511e1d(0x234)](_0x31133a),_0x598279=_0x259a9b[_0x511e1d(0x212)](_0x31133a),_0x29e3aa=_0x167341[_0x511e1d(0x21f)]+0x1,_0x2ad71c=_0x598279[_0x511e1d(0x209)],_0x2a54d8=_0x31133a[0x0][_0x511e1d(0x1fe)](_0x511e1d(0x20f));for(let _0x3088ab=0x0;_0x3088ab<_0xee137b;_0x3088ab++)_0x259a9b[_0x511e1d(0x1d6)](_0x2a54d8,{'at':_0x29e3aa});return _0x2a54d8[_0x511e1d(0x1e5)](_0x29e3aa)[_0x511e1d(0x1e5)](_0x2ad71c);}[_0x177df5(0x1f7)](_0x1ff6d7,_0x3f549a){const _0x1aa168=_0x177df5,{plugins:_0x598225}=this[_0x1aa168(0x20c)],{model:_0x1ef234}=_0x1ff6d7;if(!_0x598225[_0x1aa168(0x1dc)](_0x1aa168(0x1d1)))return;_0x598225[_0x1aa168(0x224)](_0x1aa168(0x1d1))[_0x1aa168(0x1e8)](_0x3f549a)[_0x1aa168(0x1ef)]&&_0x1ef234[_0x1aa168(0x1da)](_0x3f549a);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5c8240=_0x294a;(function(_0x2061e6,_0x31fe01){const _0x1e1790=_0x294a,_0x53b49=_0x2061e6();while(!![]){try{const _0x3eabd8=parseInt(_0x1e1790(0x136))/0x1*(-parseInt(_0x1e1790(0x10e))/0x2)+parseInt(_0x1e1790(0x108))/0x3*(parseInt(_0x1e1790(0xda))/0x4)+parseInt(_0x1e1790(0xa7))/0x5+parseInt(_0x1e1790(0xec))/0x6*(parseInt(_0x1e1790(0xa4))/0x7)+parseInt(_0x1e1790(0x99))/0x8*(-parseInt(_0x1e1790(0x100))/0x9)+-parseInt(_0x1e1790(0xc0))/0xa+-parseInt(_0x1e1790(0x125))/0xb*(-parseInt(_0x1e1790(0x101))/0xc);if(_0x3eabd8===_0x31fe01)break;else _0x53b49['push'](_0x53b49['shift']());}catch(_0x3aaa67){_0x53b49['push'](_0x53b49['shift']());}}}(_0x428c,0xb7887));function _0x428c(){const _0x4851ce=['updatePosition','aiLicenseKeyTrialLimit','componentFactory','evaluationLimit','</p>','fire','_dialog','_getResolvedCommandsDefinitions','requires','push','aiLicenseKeyDomainLimit','setSelection','groupLabel','commands','9kogdgy','1416lFCZuj','INSERT','map','trialLimit','_populateMenuBarMenu','pluginName','from','59784EwKHxi','_onExecute','forEach','set','buttonView','destroy','1339978RKrXqK','listenTo','plugins','ai.useTheme','comment','includes','splice','isOfficialPlugin','aiLicenseKeyInvalid','ck-ai-assistant-ui','reset','queryView','hideUI','model','aiLicenseKeyUsageLimit','once','copy','showAIAssistant','licenseKey','label','delegate','_commandDefinitions','hide','151888IfpqaE','show','aiAssistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','_forceMarkersCopy','items','textAdapter','locale','document','EDITOR_TOP_SIDE','isOn','selection','AI\x20is\x20writing','_licenseKeyCheckInterval','ai.aiAssistant.commands','aiLicenseKeyExpired','config','1tTgOKv','change:value','change','editing','DataTransfer','<p>','focus','panelView','init','replace','getLimitElement','trim','menuBar:aiAssistant','get','tableOfContents','errorView','showUI','getData','body','_initView','bind','5442384sGfcFW','isEnabled','addMany','showFakeVisualSelection','announce','getSelectedBlocks','isCollapsed','schema','rawHtml','buttons','featureNotAllowed','791oGeTAt','enabledCommandsIds','view','134785eJNuUG','source','menuPanelClass','aiLicenseKeyEvaluationLimit','_formView','insertContent','change:enabledCommandsIds','ck-ai-commands-dropdown\x20','change:isProcessing','execute','expired','update','values','AI\x20Commands','updateView','hideFakeVisualSelection','isPremiumPlugin','getRanges','media','polite','Generated\x20content:\x20%0','custom','render','\x20ck-ai-assistant-ui_theme','promptView','11512740FFKTiw','order','usageLimit','AIAssistant','fieldView','ai.aiAssistant.contentAreaCssClass','REPLACE','wasMoved','change:isError','replaceContent','command:','length','insertContentBelow','ai.aiAssistant.disabledElements','_uiCssClasses','filter','domainLimit','_aiAdapter','menuBar:aiCommands','currentContext','_getMenuBarGroupButtons','getSelectedElement','AI\x20Assistant','_initAriaAiStatusChangeAnnouncements','text','add','292Lglohg','prompt','aiLicenseKeyValid','isFlat','AIAssistantUI','_aiAssistantController','define','sort','groupId','_createAIAssistantUIButton','_showLicenseError','aiCommands','children','aiLicenseKeyNotAllowed','ck-ai-assistant-button\x20','invalid','menuView','menuitemcheckbox','7554DSCdhf','text/html','editor','contentArea','requiresContent','ai-commands-config-order-collision'];_0x428c=function(){return _0x4851ce;};return _0x428c();}import{Plugin as _0x1075e4}from'ckeditor5/src/core.js';import{IconMagicWand as _0x33c665,IconRobotPencil as _0x388c49}from'ckeditor5/src/icons.js';import{first as _0x45b39,CKEditorError as _0x5d618a}from'ckeditor5/src/utils.js';function _0x294a(_0x4315ef,_0x2a468f){const _0x428c48=_0x428c();return _0x294a=function(_0x294a8a,_0x592b80){_0x294a8a=_0x294a8a-0x8a;let _0x38bcb3=_0x428c48[_0x294a8a];return _0x38bcb3;},_0x294a(_0x4315ef,_0x2a468f);}import{createDropdown as _0x412f86,addMenuToDropdown as _0xef130,ButtonView as _0x4e6515,MenuBarMenuListItemButtonView as _0x38b86f,Dialog as _0x6a3f98,DialogViewPosition as _0x3b66a9,MenuBarMenuView as _0xa89877,MenuBarMenuListView as _0x16cc11,MenuBarMenuListItemView as _0x1fe5a4}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xd18c72,UNGROUPED_COMMANDS_GROUP_ID as _0x4d794d}from'./utils/normalizecommandsconfig.js';import _0x4d3db5 from'./aiassistantediting.js';import _0x4106a0 from'./adapters/aiadapter.js';import{getTranslation as _0x4f7776}from'./utils/common-translations.js';import _0x112024 from'./ui/showaiassistantcommand.js';import _0x4eda84 from'./ui/aiassistantcontroller.js';import _0x122699 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x40d9ee}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5c8240(0x13a)];import{ClipboardMarkersUtils as _0x2d9ed7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2f6757,DataTransfer as _0x761454}from'ckeditor5/src/engine.js';export default class n extends _0x1075e4{[_0x5c8240(0x120)];[_0x5c8240(0x132)];[_0x5c8240(0xf8)];[_0x5c8240(0xab)];[_0x5c8240(0xd1)];[_0x5c8240(0xdf)];[_0x5c8240(0xce)]='';static get[_0x5c8240(0x106)](){const _0x2e6f71=_0x5c8240;return _0x2e6f71(0xde);}static get[_0x5c8240(0x115)](){return!0x0;}static get[_0x5c8240(0xb7)](){return!0x0;}static get[_0x5c8240(0xfa)](){return[_0x2d9ed7,_0x4d3db5,_0x4106a0,_0x6a3f98];}constructor(_0x40ef82){const _0x20bf29=_0x5c8240;super(_0x40ef82),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0xcd),[_0x20bf29(0xb9),_0x20bf29(0xa1),_0x20bf29(0x92)]),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0xc5),''),_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0xe0)](_0x20bf29(0x111),!0x0),this[_0x20bf29(0xce)]=_0x20bf29(0x117)+(_0x40ef82[_0x20bf29(0x135)][_0x20bf29(0x91)](_0x20bf29(0x111))?_0x20bf29(0xbe):'');}[_0x5c8240(0x8c)](){const _0x34e34f=_0x5c8240,{editor:_0x308745}=this;this[_0x34e34f(0xd1)]=_0x308745[_0x34e34f(0x110)][_0x34e34f(0x91)](_0x4106a0),this[_0x34e34f(0xf8)]=_0x308745[_0x34e34f(0x110)][_0x34e34f(0x91)](_0x6a3f98),this[_0x34e34f(0xab)]=null,this[_0x34e34f(0x123)]=this[_0x34e34f(0xf9)]();const _0x25dd51=new _0x112024(_0x308745,Array[_0x34e34f(0x107)](this[_0x34e34f(0x123)][_0x34e34f(0xb3)]()));_0x308745[_0x34e34f(0xff)][_0x34e34f(0xd9)](_0x34e34f(0x11f),_0x25dd51),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0xe5),_0x487bcd=>{const _0x48aeb9=_0x34e34f,_0x255e06=_0x412f86(_0x487bcd);return _0x255e06[_0x48aeb9(0x10b)]({'class':_0x48aeb9(0xae)+this[_0x48aeb9(0xce)]}),_0x255e06[_0x48aeb9(0x10c)][_0x48aeb9(0x10b)]({'label':_0x4f7776(_0x487bcd,_0x48aeb9(0xb4)),'icon':_0x33c665,'tooltip':!0x0}),_0x255e06['on'](_0x48aeb9(0xb0),_0x30b1ee=>this[_0x48aeb9(0x109)](_0x30b1ee[_0x48aeb9(0xa8)]['id'])),_0xef130(_0x255e06,_0x308745['ui'][_0x48aeb9(0xa6)][_0x48aeb9(0x96)],function(_0x3c0d44){const _0x327d67=_0x48aeb9,_0x25c926=_0xd18c72(_0x3c0d44[_0x327d67(0x135)][_0x327d67(0x91)](_0x327d67(0x133)),_0x3c0d44[_0x327d67(0x12c)]),_0x325b91=U(_0x3c0d44,_0x25c926)[_0x327d67(0xcf)](_0xd10cff=>_0xd10cff[_0x327d67(0xff)][_0x327d67(0xcb)]);if(0x1===_0x325b91[_0x327d67(0xcb)])return U(_0x3c0d44,_0x325b91[0x0][_0x327d67(0xff)])[_0x327d67(0x103)](_0x51245b=>({'id':_0x51245b['id'],'label':_0x51245b[_0x327d67(0x121)]}));return _0x325b91[_0x327d67(0x103)](_0x407473=>{const _0x37b2e0=_0x327d67,{groupId:_0x1babcd,groupLabel:_0x21e69f,commands:_0x1b19a1}=_0x407473,_0x563788=U(_0x3c0d44,_0x1b19a1)[_0x37b2e0(0x103)](_0x31458f=>({'id':_0x31458f['id'],'label':_0x31458f[_0x37b2e0(0x121)]}));return{'id':_0x1babcd,'menu':_0x21e69f||_0x1babcd,'children':_0x563788};});}(_0x308745),{'ariaLabel':_0x4f7776(_0x487bcd,_0x48aeb9(0xb4))}),_0x255e06[_0x48aeb9(0xea)][_0x48aeb9(0xa9)]=_0x48aeb9(0xae)+this[_0x48aeb9(0xce)],_0x25dd51['on'](_0x48aeb9(0xad),_0x344016),_0x255e06[_0x48aeb9(0xea)][_0x48aeb9(0x11d)](_0x48aeb9(0xbd),_0x344016),_0x255e06;function _0x344016(){const _0x54b868=_0x48aeb9;_0x255e06[_0x54b868(0x9a)]=_0x25dd51[_0x54b868(0xa5)][_0x54b868(0xcb)]>0x0;for(const _0x50696f of _0x255e06[_0x54b868(0xea)][_0x54b868(0xa2)])_0x50696f[_0x54b868(0x9a)]=_0x25dd51[_0x54b868(0xa5)][_0x54b868(0x113)](_0x50696f['id']);}}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0xd2),_0x1fa9c3=>{const _0x5e2800=_0x34e34f,_0x5b40c1=new _0xa89877(_0x1fa9c3);_0x5b40c1[_0x5e2800(0x10c)][_0x5e2800(0x10b)]({'label':_0x4f7776(_0x1fa9c3,_0x5e2800(0xb4)),'icon':_0x33c665}),_0x5b40c1[_0x5e2800(0x98)](_0x5e2800(0x9a))['to'](_0x25dd51,_0x5e2800(0xa5),_0x5311cd=>_0x5311cd[_0x5e2800(0xcb)]>0x0);const _0x36d56c=_0xd18c72(_0x308745[_0x5e2800(0x135)][_0x5e2800(0x91)](_0x5e2800(0x133)),_0x1fa9c3);return this[_0x5e2800(0x105)](_0x25dd51,_0x5b40c1,_0x36d56c,_0x47e47e=>this[_0x5e2800(0x109)](_0x47e47e)),_0x5b40c1;}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0x127),()=>{const _0x5e29e0=_0x34e34f,_0x4d435f=this[_0x5e29e0(0xe3)](_0x4e6515);return _0x4d435f[_0x5e29e0(0x10b)]({'tooltip':!0x0,'class':_0x5e29e0(0xe8)+this[_0x5e29e0(0xce)]}),_0x4d435f;}),_0x308745['ui'][_0x34e34f(0xf4)][_0x34e34f(0xd9)](_0x34e34f(0x90),()=>{const _0x3a8dc0=_0x34e34f,_0x2b2bfb=this[_0x3a8dc0(0xe3)](_0x38b86f);return _0x2b2bfb[_0x3a8dc0(0x10b)]({'role':_0x3a8dc0(0xeb)}),_0x2b2bfb;}),this[_0x34e34f(0x120)]=this[_0x34e34f(0xee)][_0x34e34f(0x135)][_0x34e34f(0x91)](_0x34e34f(0x120));const _0xc4693c=this[_0x34e34f(0xee)];this[_0x34e34f(0x132)]=setInterval(()=>{const _0x4708a2=_0x34e34f;let _0x264f75;for(const _0x2dde12 in _0xc4693c){const _0x2b989a=_0x2dde12,_0x13557a=_0xc4693c[_0x2b989a];if(_0x4708a2(0xdc)==_0x13557a||_0x4708a2(0x116)==_0x13557a||_0x4708a2(0x134)==_0x13557a||_0x4708a2(0xfc)==_0x13557a||_0x4708a2(0xe7)==_0x13557a||_0x4708a2(0xaa)==_0x13557a||_0x4708a2(0xf3)==_0x13557a||_0x4708a2(0x11c)==_0x13557a){delete _0xc4693c[_0x2b989a],_0x264f75=_0x13557a,clearInterval(this[_0x4708a2(0x132)]),this[_0x4708a2(0x132)]=void 0x0;break;}}_0x4708a2(0x116)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xe9)),_0x4708a2(0x134)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xb1)),_0x4708a2(0xfc)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xd0)),_0x4708a2(0xe7)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xa3),_0x4708a2(0xc3)),_0x4708a2(0xaa)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xf5)),_0x4708a2(0xf3)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0x104)),_0x4708a2(0x11c)==_0x264f75&&_0xc4693c[_0x4708a2(0xe4)](_0x4708a2(0xc2));},0x3e8);}[_0x5c8240(0x10d)](){const _0x234c24=_0x5c8240;super[_0x234c24(0x10d)](),this[_0x234c24(0x132)]&&clearInterval(this[_0x234c24(0x132)]);}[_0x5c8240(0x94)](_0x2ae88e='',_0x2ad854='',_0x23d607=_0x5c8240(0xbc)){const _0x40a7ca=_0x5c8240,_0x5aab04=this[_0x40a7ca(0xee)],_0x15b3a6=_0x5aab04[_0x40a7ca(0x139)][_0x40a7ca(0xa6)],_0x438c29=_0x5aab04[_0x40a7ca(0x110)][_0x40a7ca(0x91)](_0x4d3db5),_0x3d3916=_0x5aab04[_0x40a7ca(0x110)][_0x40a7ca(0x91)](_0x2d9ed7);_0x438c29[_0x40a7ca(0x9c)]();const _0x3a076e=new w(),_0x1698c3=new ClipboardEvent(_0x40a7ca(0x11e),{'clipboardData':_0x3a076e}),_0x2f60a9=new _0x761454(_0x3a076e),_0x357ee9=new _0x2f6757(_0x15b3a6,_0x1698c3,{'dataTransfer':_0x2f60a9});_0x3d3916[_0x40a7ca(0x129)](_0x40a7ca(0x112),()=>{const _0x1ee924=_0x40a7ca;_0x15b3a6[_0x1ee924(0x12d)][_0x1ee924(0xf7)](_0x1ee924(0x11e),_0x357ee9);}),this[_0x40a7ca(0xab)]||(this[_0x40a7ca(0x97)](),this[_0x40a7ca(0xdf)]=new _0x4eda84(_0x5aab04,this[_0x40a7ca(0xd1)][_0x40a7ca(0x12b)],this[_0x40a7ca(0xab)]));let _0x1241bb=_0x2f60a9[_0x40a7ca(0x95)](_0x40a7ca(0xed));const _0x2d4576=_0x5aab04[_0x40a7ca(0x11b)][_0x40a7ca(0x12d)][_0x40a7ca(0x130)],_0x50aea0=Array[_0x40a7ca(0x107)](_0x2d4576[_0x40a7ca(0xb8)]());0x1===_0x50aea0[_0x40a7ca(0xcb)]&&_0x50aea0[0x0][_0x40a7ca(0xdd)]&&!_0x2d4576[_0x40a7ca(0xd5)]()&&''!==_0x1241bb[_0x40a7ca(0x8d)](/ /g,'')[_0x40a7ca(0x8f)]()&&(_0x1241bb=_0x40a7ca(0x13b)+_0x1241bb+_0x40a7ca(0xf6)),this[_0x40a7ca(0xdf)][_0x40a7ca(0xb5)]({'actionId':_0x23d607,'query':_0x2ae88e,'htmlContent':_0x1241bb,'label':_0x2ad854,'mainActionLabel':_0x40d9ee[_0x5aab04[_0x40a7ca(0x11b)][_0x40a7ca(0x12d)][_0x40a7ca(0x130)][_0x40a7ca(0x9f)]?_0x40a7ca(0x102):_0x40a7ca(0xc6)]}),_0x40a7ca(0x127)!==this[_0x40a7ca(0xf8)]['id']?this[_0x40a7ca(0xf8)][_0x40a7ca(0x126)]({'id':_0x40a7ca(0x127),'icon':_0x388c49,'title':_0x4f7776(this[_0x40a7ca(0xee)][_0x40a7ca(0x12c)],_0x40a7ca(0xd6)),'content':this[_0x40a7ca(0xab)],'position':_0x3b66a9[_0x40a7ca(0x12e)],'onShow':()=>{const _0x4b64d8=_0x40a7ca;this[_0x4b64d8(0xab)][_0x4b64d8(0x8a)]();},'onHide':()=>{const _0x2a000d=_0x40a7ca;this[_0x2a000d(0xdf)][_0x2a000d(0x118)](),_0x438c29[_0x2a000d(0xb6)]();}}):this[_0x40a7ca(0xf8)][_0x40a7ca(0xa6)][_0x40a7ca(0xc7)]||this[_0x40a7ca(0xf8)][_0x40a7ca(0xa6)][_0x40a7ca(0xf2)]();}[_0x5c8240(0x11a)](){const _0xa740b8=_0x5c8240;this[_0xa740b8(0xf8)][_0xa740b8(0x124)]();}[_0x5c8240(0xf9)](){const _0x144490=_0x5c8240,_0x2d2510=new Map(),_0x4e22ba=_0xd18c72(this[_0x144490(0xee)][_0x144490(0x135)][_0x144490(0x91)](_0x144490(0x133)),this[_0x144490(0xee)][_0x144490(0x12c)]);for(const _0x3deb35 of _0x4e22ba)for(const _0x5d446e of _0x3deb35[_0x144490(0xff)])_0x2d2510[_0x144490(0x10b)](_0x5d446e['id'],{..._0x5d446e,'groupId':_0x3deb35[_0x144490(0xe2)],'groupLabel':_0x3deb35[_0x144490(0xfe)]||_0x3deb35[_0x144490(0xe2)]});return _0x2d2510;}[_0x5c8240(0xe3)](_0x377f08){const _0xb3da9e=_0x5c8240,_0x1f8200=this[_0xb3da9e(0xee)],_0xf644ba=_0x1f8200[_0xb3da9e(0xff)][_0xb3da9e(0x91)](_0xb3da9e(0x11f)),_0x164434=new _0x377f08(_0x1f8200[_0xb3da9e(0x12c)]);return _0x164434[_0xb3da9e(0x10b)]({'label':_0x4f7776(_0x1f8200[_0xb3da9e(0x12c)],_0xb3da9e(0xd6)),'icon':_0x388c49,'isToggleable':!0x0}),_0x164434[_0xb3da9e(0x98)](_0xb3da9e(0x9a))['to'](_0xf644ba),_0x164434[_0xb3da9e(0x98)](_0xb3da9e(0x12f))['to'](this[_0xb3da9e(0xf8)],'id',_0x3bae00=>_0xb3da9e(0x127)===_0x3bae00),this[_0xb3da9e(0x10f)](_0x164434,_0xb3da9e(0xb0),()=>{const _0x2106ec=_0xb3da9e;_0x164434[_0x2106ec(0x12f)]?this[_0x2106ec(0x11a)]():_0xf644ba[_0x2106ec(0xb0)]();}),_0x164434;}[_0x5c8240(0x97)](){const _0x447c48=_0x5c8240,_0x6205f6=this[_0x447c48(0xee)][_0x447c48(0x110)][_0x447c48(0x91)](_0x4d3db5);this[_0x447c48(0xab)]=new _0x122699(this[_0x447c48(0xee)][_0x447c48(0x12c)],this[_0x447c48(0xce)],this[_0x447c48(0xee)][_0x447c48(0x135)][_0x447c48(0x91)](_0x447c48(0xc5))),this[_0x447c48(0xab)]['on'](_0x447c48(0x137),()=>{const _0x24144b=_0x447c48;this[_0x24144b(0xf8)][_0x24144b(0xa6)][_0x24144b(0xc7)]||this[_0x24144b(0xf8)][_0x24144b(0xa6)][_0x24144b(0xf2)]();}),this[_0x447c48(0xab)][_0x447c48(0xbf)][_0x447c48(0x119)][_0x447c48(0xc4)]['on'](_0x447c48(0xb2),()=>{const _0x4a878a=_0x447c48;this[_0x4a878a(0xf8)][_0x4a878a(0xa6)][_0x4a878a(0xc7)]||this[_0x4a878a(0xf8)][_0x4a878a(0xa6)][_0x4a878a(0xf2)]();}),this[_0x447c48(0x10f)](this[_0x447c48(0xab)],_0x447c48(0xc9),()=>{const _0xd402f3=_0x447c48;_0x6205f6[_0xd402f3(0xac)](this[_0xd402f3(0xdf)][_0xd402f3(0xd3)]),this[_0xd402f3(0x11a)]();}),this[_0x447c48(0x10f)](this[_0x447c48(0xab)],_0x447c48(0xcc),()=>{const _0xbcae6f=_0x447c48;_0x6205f6[_0xbcae6f(0xcc)](this[_0xbcae6f(0xdf)][_0xbcae6f(0xd3)]),this[_0xbcae6f(0x11a)]();}),this[_0x447c48(0xd7)]();}[_0x5c8240(0xd7)](){const _0xb54cc9=_0x5c8240,{locale:_0x196910,ui:{ariaLiveAnnouncer:_0x1271aa}}=this[_0xb54cc9(0xee)];this[_0xb54cc9(0xab)][_0xb54cc9(0xef)]['on'](_0xb54cc9(0xaf),(_0x52dfcf,_0x469066,_0x2576e5)=>{const _0x5a4ddb=_0xb54cc9,_0x224ec3=this[_0x5a4ddb(0xdf)][_0x5a4ddb(0xd3)];_0x2576e5?_0x1271aa[_0x5a4ddb(0x9d)](_0x4f7776(_0x196910,_0x5a4ddb(0x131))):_0x224ec3&&_0x1271aa[_0x5a4ddb(0x9d)](_0x4f7776(_0x196910,_0x5a4ddb(0xbb),_0x224ec3),{'politeness':_0x5a4ddb(0xba),'isUnsafeHTML':!0x0});}),this[_0xb54cc9(0xab)]['on'](_0xb54cc9(0xc8),(_0x2cd673,_0x39b325,_0x5a4e3d)=>{const _0x121593=_0xb54cc9;if(_0x5a4e3d){const _0x4adfae=this[_0x121593(0xab)][_0x121593(0x93)][_0x121593(0xd8)];_0x1271aa[_0x121593(0x9d)](_0x4f7776(_0x196910,_0x121593(0x128),_0x4adfae));}});}[_0x5c8240(0x109)](_0x1fafad){const _0x2238fa=_0x5c8240,_0x12ebc7=this[_0x2238fa(0x123)][_0x2238fa(0x91)](_0x1fafad),_0x28b49c=this[_0x2238fa(0xee)],_0x4847d5=_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0x12d)][_0x2238fa(0x130)],_0x5b4ed8=_0x28b49c[_0x2238fa(0xff)][_0x2238fa(0x91)](_0x2238fa(0x11f)),_0x44b1b6=_0x28b49c[_0x2238fa(0x110)][_0x2238fa(0x91)](_0x4d3db5),_0x4e7b54=''+(_0x12ebc7[_0x2238fa(0xe2)]!==_0x4d794d?_0x12ebc7[_0x2238fa(0xfe)]+':\x20':'')+_0x12ebc7[_0x2238fa(0x121)];if(!0x1!==_0x12ebc7[_0x2238fa(0xf0)]&&_0x4847d5[_0x2238fa(0x9f)]){const _0x5ade28=_0x45b39(_0x4847d5[_0x2238fa(0x9e)]())||_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0xa0)][_0x2238fa(0x8e)](_0x4847d5);_0x28b49c[_0x2238fa(0x11b)][_0x2238fa(0x138)](_0x5c5e3c=>{const _0x5a000d=_0x2238fa;_0x5c5e3c[_0x5a000d(0xfd)](_0x5ade28,'in');});}_0x44b1b6[_0x2238fa(0x9c)](),_0x5b4ed8[_0x2238fa(0xb0)](_0x12ebc7[_0x2238fa(0xdb)],_0x4e7b54,_0x2238fa(0xca)+_0x1fafad);}[_0x5c8240(0x105)](_0x1efa7f,_0x51e6f3,_0x4346a2,_0x25d357){const _0x140eb8=_0x5c8240,_0x49cee2=this[_0x140eb8(0xee)],_0x179705=_0x49cee2[_0x140eb8(0x12c)],_0x17b696=new _0x16cc11(_0x179705),_0x1ccfe0=U(_0x49cee2,_0x4346a2)[_0x140eb8(0xcf)](_0x4064a9=>_0x4064a9[_0x140eb8(0xff)][_0x140eb8(0xcb)]);0x1===_0x1ccfe0[_0x140eb8(0xcb)]?this[_0x140eb8(0xd4)]({'command':_0x1efa7f,'commands':_0x1ccfe0[0x0][_0x140eb8(0xff)],'parentMenuView':_0x51e6f3,'onExecute':_0x25d357})[_0x140eb8(0x10a)](_0x32559d=>_0x17b696[_0x140eb8(0x12a)][_0x140eb8(0xd9)](_0x32559d)):_0x1ccfe0[_0x140eb8(0x10a)](({groupId:_0x3afc79,groupLabel:_0x3ee27d,commands:_0x275948})=>{const _0x8e98b3=_0x140eb8,_0x40e606=new _0x1fe5a4(_0x179705,_0x51e6f3),_0x469b18=new _0xa89877(_0x179705),_0x2122e4=new _0x16cc11(_0x179705),_0x46b43c=this[_0x8e98b3(0xd4)]({'command':_0x1efa7f,'commands':_0x275948,'parentMenuView':_0x469b18,'onExecute':_0x25d357});_0x469b18[_0x8e98b3(0x10c)][_0x8e98b3(0x10b)]({'label':_0x3ee27d||_0x3afc79}),_0x469b18[_0x8e98b3(0x122)](_0x8e98b3(0xb0))['to'](_0x51e6f3),_0x2122e4[_0x8e98b3(0x12a)][_0x8e98b3(0x9b)](_0x46b43c),_0x469b18[_0x8e98b3(0x8b)][_0x8e98b3(0xe6)][_0x8e98b3(0xd9)](_0x2122e4),_0x40e606[_0x8e98b3(0xe6)][_0x8e98b3(0xd9)](_0x469b18),_0x17b696[_0x8e98b3(0x12a)][_0x8e98b3(0xd9)](_0x40e606);}),_0x51e6f3[_0x140eb8(0x8b)][_0x140eb8(0xe6)][_0x140eb8(0xd9)](_0x17b696);}[_0x5c8240(0xd4)]({command:_0x164653,commands:_0x48f542,parentMenuView:_0x29427c,onExecute:_0x2b2685}){const _0x46e1d1=_0x5c8240,_0x49d29d=this[_0x46e1d1(0xee)],_0x19f9e4=_0x49d29d[_0x46e1d1(0x12c)];return U(_0x49d29d,_0x48f542)[_0x46e1d1(0x103)](_0x3cedaf=>{const _0x17baef=_0x46e1d1,_0x101375=new _0x1fe5a4(_0x19f9e4,_0x29427c),_0x786f25=new _0x38b86f(_0x19f9e4);return _0x786f25[_0x17baef(0x10b)]({'label':_0x3cedaf[_0x17baef(0x121)]}),_0x786f25[_0x17baef(0x122)](_0x17baef(0xb0))['to'](_0x29427c),_0x786f25['on'](_0x17baef(0xb0),()=>_0x2b2685(_0x3cedaf['id'])),_0x786f25[_0x17baef(0x98)](_0x17baef(0x9a))['to'](_0x164653,_0x17baef(0xa5),_0x274054=>_0x274054[_0x17baef(0x113)](_0x3cedaf['id'])),_0x101375[_0x17baef(0xe6)][_0x17baef(0xd9)](_0x786f25),_0x101375;});}}function B(_0x804bcc,_0x1adbfe){const _0x221bfb=_0x5c8240;return void 0x0!==_0x804bcc[_0x221bfb(0xc1)]&&void 0x0===_0x1adbfe[_0x221bfb(0xc1)]?0x1:void 0x0===_0x804bcc[_0x221bfb(0xc1)]&&void 0x0!==_0x1adbfe[_0x221bfb(0xc1)]?-0x1:void 0x0!==_0x804bcc[_0x221bfb(0xc1)]&&void 0x0!==_0x1adbfe[_0x221bfb(0xc1)]?_0x804bcc[_0x221bfb(0xc1)]-_0x1adbfe[_0x221bfb(0xc1)]:0x0;}function U(_0x51ee8e,_0x5de986){const _0x35f08a=_0x5c8240;_0x5de986[_0x35f08a(0xe1)](B);const _0xf3502b={},_0x196b8c=[];for(const _0x59e47d of _0x5de986)if(void 0x0!==_0x59e47d[_0x35f08a(0xc1)]){if(_0x59e47d[_0x35f08a(0xc1)]in _0xf3502b)throw new _0x5d618a(_0x35f08a(0xf1),_0x51ee8e,{'conflictingDefinitions':[_0x59e47d,_0xf3502b[_0x59e47d[_0x35f08a(0xc1)]]]});_0xf3502b[_0x59e47d[_0x35f08a(0xc1)]]=_0x59e47d,_0x196b8c[_0x35f08a(0x114)](_0x59e47d[_0x35f08a(0xc1)],0x0,_0x59e47d);}else _0x196b8c[_0x35f08a(0xfb)](_0x59e47d);return _0x196b8c;}
|
|
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
|
-
(function(
|
|
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
|
-
|
|
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))}]});}}
|