@ckeditor/ckeditor5-ai 44.1.0-alpha.4 → 44.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x48981a=_0x5e1f;function _0x5e1f(_0x1955b6,_0x47ddb2){const _0x114cd5=_0x114c();return _0x5e1f=function(_0x5e1f2f,_0x15296e){_0x5e1f2f=_0x5e1f2f-0x10f;let _0x306cba=_0x114cd5[_0x5e1f2f];return _0x306cba;},_0x5e1f(_0x1955b6,_0x47ddb2);}(function(_0x2942ea,_0x2e640b){const _0x187a7f=_0x5e1f,_0x55223e=_0x2942ea();while(!![]){try{const _0x200ae0=-parseInt(_0x187a7f(0x162))/0x1*(parseInt(_0x187a7f(0x13d))/0x2)+parseInt(_0x187a7f(0x11c))/0x3+-parseInt(_0x187a7f(0x13e))/0x4*(-parseInt(_0x187a7f(0x158))/0x5)+parseInt(_0x187a7f(0x17c))/0x6*(-parseInt(_0x187a7f(0x173))/0x7)+-parseInt(_0x187a7f(0x115))/0x8*(-parseInt(_0x187a7f(0x159))/0x9)+parseInt(_0x187a7f(0x165))/0xa*(-parseInt(_0x187a7f(0x160))/0xb)+-parseInt(_0x187a7f(0x154))/0xc*(-parseInt(_0x187a7f(0x11d))/0xd);if(_0x200ae0===_0x2e640b)break;else _0x55223e['push'](_0x55223e['shift']());}catch(_0x36b200){_0x55223e['push'](_0x55223e['shift']());}}}(_0x114c,0x7a48d));import{Plugin as _0x156223}from'ckeditor5/src/core.js';import _0x754746 from'./aiassistantui.js';import _0x5f502b from'./aiassistantediting.js';import{getTranslation as _0x83e2e6}from'./utils/common-translations.js';function _0x114c(){const _0x476215=['Make\x20longer','confident','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','changeStyle','Continue','get','Hindi','110034UwJFib','ai.aiAssistant.removeCommands','isOfficialPlugin','requires','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Arabic','translateFrench','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Summarize','Business','24552vQRQSq','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','includes','translateChinese','commands','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','234966BLVXNK','187161CMnPAn','Poetic','translateSpanish','simplifyLanguage','Change\x20style','translatePortuguese','translateEnglish','business','professional','concat','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','English','Translate\x20the\x20content\x20to\x20English\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Direct','Simplified\x20Chinese','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','changeTone','casual','journalism','Spanish','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translate','Confident','Portuguese','pluginName','find','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','makeLonger','push','generate','10yvzDSK','11796wIhWVT','Change\x20tone','Translate\x20the\x20content\x20to\x20German\x20language.','Journalism','continue','locale','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','legal','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateArabic','friendly','translateGerman','Casual','AIAssistant','editOrReview','set','translateHindi','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Edit\x20or\x20review','improveWriting','Make\x20shorter','poetic','588tUOEym','Friendly','Translate','ai.aiAssistant.commands','750edAlGo','1512rRhcAV','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','define','Legal','isPremiumPlugin','Translate\x20the\x20content\x20to\x20French\x20language.','22ofZOqO','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','65083uMaCuo','groupId','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','3751870APmmta','makeShorter','French','forEach','filter','Simplify\x20language','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Spanish\x20language.','summarize','config','German','Generate\x20from\x20selection','direct','Professional','63bhYbNE','Improve\x20writing'];_0x114c=function(){return _0x476215;};return _0x114c();}import{normalizeCommandsConfig as _0x770e29}from'./utils/normalizecommandsconfig.js';export default class r extends _0x156223{static get[_0x48981a(0x17f)](){return[_0x754746,_0x5f502b];}static get[_0x48981a(0x137)](){const _0x233529=_0x48981a;return _0x233529(0x14b);}static get[_0x48981a(0x17e)](){return!0x0;}static get[_0x48981a(0x15e)](){return!0x0;}constructor(_0x49e365){const _0x34449d=_0x48981a;super(_0x49e365);const _0x3de5a9=_0x49e365[_0x34449d(0x16e)],_0x43088d=_0x49e365[_0x34449d(0x143)];_0x3de5a9[_0x34449d(0x15c)](_0x34449d(0x157),getDefaultCommands(_0x43088d)),_0x3de5a9[_0x34449d(0x15c)](_0x34449d(0x16b),[]),_0x3de5a9[_0x34449d(0x15c)](_0x34449d(0x17d),[]);const _0x37f10d=_0x770e29(_0x3de5a9[_0x34449d(0x17a)](_0x34449d(0x157)),_0x43088d),_0x545ba1=_0x3de5a9[_0x34449d(0x17a)](_0x34449d(0x16b)),_0x5d0c46=_0x3de5a9[_0x34449d(0x17a)](_0x34449d(0x17d));_0x545ba1[_0x34449d(0x168)](_0x4855cd=>{const _0x16491b=_0x34449d,_0x2d291e=_0x37f10d[_0x16491b(0x138)](_0x502833=>_0x502833[_0x16491b(0x163)]===_0x4855cd[_0x16491b(0x163)]);_0x2d291e?_0x2d291e[_0x16491b(0x11a)]=_0x2d291e[_0x16491b(0x11a)][_0x16491b(0x126)](_0x4855cd[_0x16491b(0x11a)]):_0x37f10d[_0x16491b(0x13b)](_0x4855cd);}),_0x37f10d[_0x34449d(0x168)](_0x545feb=>{const _0x12e551=_0x34449d;_0x545feb[_0x12e551(0x11a)]=_0x545feb[_0x12e551(0x11a)][_0x12e551(0x169)](_0x2a8c94=>!_0x5d0c46[_0x12e551(0x118)](_0x2a8c94['id']));}),_0x3de5a9[_0x34449d(0x14d)](_0x34449d(0x157),_0x37f10d);}}export function getDefaultCommands(_0xc550b5){const _0x2c68d7=_0x48981a;return[{'groupId':_0x2c68d7(0x14c),'groupLabel':_0x83e2e6(_0xc550b5,_0x2c68d7(0x150)),'commands':[{'id':_0x2c68d7(0x151),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x174)),'prompt':_0x2c68d7(0x10f)},{'id':_0x2c68d7(0x166),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x152)),'prompt':_0x2c68d7(0x116)},{'id':_0x2c68d7(0x13a),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x175)),'prompt':_0x2c68d7(0x12e)},{'id':_0x2c68d7(0x120),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x16a)),'prompt':_0x2c68d7(0x11b)}]},{'groupId':_0x2c68d7(0x13c),'groupLabel':_0x83e2e6(_0xc550b5,_0x2c68d7(0x170)),'commands':[{'id':_0x2c68d7(0x16d),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x113)),'prompt':_0x2c68d7(0x146)},{'id':_0x2c68d7(0x142),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x179)),'prompt':_0x2c68d7(0x144)}]},{'groupId':_0x2c68d7(0x12f),'groupLabel':_0x83e2e6(_0xc550b5,_0x2c68d7(0x13f)),'commands':[{'id':_0x2c68d7(0x125),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x172)),'prompt':_0x2c68d7(0x164)},{'id':_0x2c68d7(0x130),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x14a)),'prompt':_0x2c68d7(0x161)},{'id':_0x2c68d7(0x171),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x12c)),'prompt':_0x2c68d7(0x15a)},{'id':_0x2c68d7(0x176),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x135)),'prompt':_0x2c68d7(0x112)},{'id':_0x2c68d7(0x148),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x155)),'prompt':_0x2c68d7(0x139)}]},{'groupId':_0x2c68d7(0x178),'groupLabel':_0x83e2e6(_0xc550b5,_0x2c68d7(0x121)),'commands':[{'id':_0x2c68d7(0x124),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x114)),'prompt':_0x2c68d7(0x133)},{'id':_0x2c68d7(0x145),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x15d)),'prompt':_0x2c68d7(0x14f)},{'id':_0x2c68d7(0x131),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x141)),'prompt':_0x2c68d7(0x12a)},{'id':_0x2c68d7(0x153),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x11e)),'prompt':_0x2c68d7(0x15b)}]},{'groupId':_0x2c68d7(0x134),'groupLabel':_0x83e2e6(_0xc550b5,_0x2c68d7(0x156)),'commands':[{'id':_0x2c68d7(0x123),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x128)),'prompt':_0x2c68d7(0x129)},{'id':_0x2c68d7(0x11f),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x132)),'prompt':_0x2c68d7(0x16c)},{'id':_0x2c68d7(0x122),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x136)),'prompt':_0x2c68d7(0x127)},{'id':_0x2c68d7(0x149),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x16f)),'prompt':_0x2c68d7(0x140)},{'id':_0x2c68d7(0x111),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x167)),'prompt':_0x2c68d7(0x15f)},{'id':_0x2c68d7(0x119),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x12d)),'prompt':_0x2c68d7(0x177)},{'id':_0x2c68d7(0x14e),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x17b)),'prompt':_0x2c68d7(0x12b)},{'id':_0x2c68d7(0x147),'label':_0x83e2e6(_0xc550b5,_0x2c68d7(0x110)),'prompt':_0x2c68d7(0x117)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30d48c=_0x5b12;function _0x1658(){const _0x41f242=['addClass','ai-ui','ck-ai-assistant-ui_theme','markerRange','markers','toModel','pop','toView','createSelection','getLastMatchingPosition','isPremiumPlugin','3352888uAYUtG','afterInit','selection','schema','data','from','1642067GCsnsC','isCollapsed','markerToHighlight','createPositionAfter','getSelectedBlocks','processor','1460030FgZeNa','join','get','for','change','AIAssistantEditing','updateMarker','isAtEnd','ck-fake-ai-selection_collapsed','insertContentBelow','createUIElement','fromCharCode','has','10EnOVSy','33315BaHeOw','editingDowncast','144ihoEqZ','createRange','start','conversion','document','canEditAt','span','addMarker','setSelection','showFakeVisualSelection','model','isOfficialPlugin','init','ck-fake-ai-selection','isContent','config','1125184NmYRhJ','604569IThbll','hideFakeVisualSelection','ai.useTheme','getRange','push','href','getLastPosition','editor','markerToElement','insertContent','pluginName','end','map','length','38281059GuIMjv','getFirstRange','removeMarker'];_0x1658=function(){return _0x41f242;};return _0x1658();}(function(_0x3a372d,_0x4730d2){const _0x124eb9=_0x5b12,_0x27b161=_0x3a372d();while(!![]){try{const _0x234b41=-parseInt(_0x124eb9(0x130))/0x1+parseInt(_0x124eb9(0x13d))/0x2*(-parseInt(_0x124eb9(0x151))/0x3)+-parseInt(_0x124eb9(0x124))/0x4+parseInt(_0x124eb9(0x13e))/0x5*(-parseInt(_0x124eb9(0x140))/0x6)+parseInt(_0x124eb9(0x12a))/0x7+-parseInt(_0x124eb9(0x150))/0x8+parseInt(_0x124eb9(0x15f))/0x9;if(_0x234b41===_0x4730d2)break;else _0x27b161['push'](_0x27b161['shift']());}catch(_0x169701){_0x27b161['push'](_0x27b161['shift']());}}}(_0x1658,0xd73c5));import{uid as _0xcc402c}from'ckeditor5/src/utils.js';function _0x5b12(_0x561b5e,_0x20eaf8){const _0x1658a2=_0x1658();return _0x5b12=function(_0x5b1266,_0x3c1918){_0x5b1266=_0x5b1266-0x124;let _0x5046bf=_0x1658a2[_0x5b1266];return _0x5046bf;},_0x5b12(_0x561b5e,_0x20eaf8);}import{Plugin as _0x3fa905}from'ckeditor5/src/core.js';const u=_0x30d48c(0x163);export default class a extends _0x3fa905{static get[_0x30d48c(0x15b)](){const _0x147cc6=_0x30d48c;return _0x147cc6(0x135);}static get[_0x30d48c(0x14b)](){return!0x0;}static get[_0x30d48c(0x16c)](){return!0x0;}[_0x30d48c(0x14c)](){const _0x4c6306=_0x30d48c,{editor:_0x203c94}=this,_0xef11fe=[_0x4c6306(0x14d)];_0x203c94[_0x4c6306(0x14f)][_0x4c6306(0x132)](_0x4c6306(0x153))&&_0xef11fe[_0x4c6306(0x155)](_0x4c6306(0x164)),_0x203c94[_0x4c6306(0x143)][_0x4c6306(0x133)](_0x4c6306(0x13f))[_0x4c6306(0x12c)]({'model':u,'view':{'classes':_0xef11fe,'priority':0xc}}),_0x203c94[_0x4c6306(0x143)][_0x4c6306(0x133)](_0x4c6306(0x13f))[_0x4c6306(0x159)]({'model':u,'view':(_0x14d8e9,{writer:_0x366517})=>{const _0x4f2b1d=_0x4c6306;if(!_0x14d8e9[_0x4f2b1d(0x165)][_0x4f2b1d(0x12b)])return null;const _0x4b123e=_0x366517[_0x4f2b1d(0x13a)](_0x4f2b1d(0x146));return _0x366517[_0x4f2b1d(0x162)]([_0x4f2b1d(0x14d),_0x4f2b1d(0x138)],_0x4b123e),_0x4b123e;}});}[_0x30d48c(0x125)](){!async function(_0x5097d7){const _0x4eb0f4=_0x4c8709([0x4c,0x76,0x74,0x6c,0x50,0x48,0x43,0x58,0x44,0x49,0x6d,0x42,0x39,0x4d,0x65,0x5a,0x79,0x45,0x52,0x78,0x33,0x51,0x6e,0x41,0x75,0x62,0x7a,0x71,0x67,0x30,0x69,0x34,0x6f,0x47,0x77,0x4f,0x46,0x73,0x4e,0x4b,0x55,0x72,0x56,0x31,0x59,0x61,0x38,0x64,0x35,0x37,0x6a,0x66,0x32,0x36,0x57,0x63,0x70,0x54,0x53,0x4a,0x68,0x6b]),_0x102f0a=0x4b230e41,_0x4caccf=0x4b245781^_0x102f0a,_0xff3c4a=window[_0x4c8709([0x44,0x61,0x74,0x65])][_0x4c8709([0x6e,0x6f,0x77])](),_0x47f487=_0x5097d7[_0x4c8709([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f5d45=new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44a9ce=>{_0x47f487[_0x4c8709([0x6f,0x6e,0x63,0x65])](_0x4c8709([0x72,0x65,0x61,0x64,0x79]),_0x44a9ce);}),_0x1dff1a={[_0x4c8709([0x6b,0x74,0x79])]:_0x4c8709([0x45,0x43]),[_0x4c8709([0x75,0x73,0x65])]:_0x4c8709([0x73,0x69,0x67]),[_0x4c8709([0x63,0x72,0x76])]:_0x4c8709([0x50,0x2d,0x32,0x35,0x36]),[_0x4c8709([0x78])]:_0x4c8709([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]),[_0x4c8709([0x79])]:_0x4c8709([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]),[_0x4c8709([0x61,0x6c,0x67])]:_0x4c8709([0x45,0x53,0x32,0x35,0x36])},_0x3029a4=_0x47f487[_0x4c8709([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c8709([0x67,0x65,0x74])](_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e20f0(){let _0x120495,_0x4c6b23=null,_0x36baca=null;try{if(_0x3029a4==_0x4c8709([0x47,0x50,0x4c]))return _0x4c8709([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x120495=_0x2448cb(),!_0x120495)return _0x4c8709([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x120495[_0x4c8709([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36baca=_0x245cbf(_0x120495[_0x4c8709([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x120495[_0x4c8709([0x6a,0x74,0x69])])),await _0x1d0627()?_0x243481()?_0x48bfbc()?_0x4c8709([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ca448()?(_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8709([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c6b23=_0x160bae(_0x4c8709([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8709([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c6b23=_0x160bae(_0x4c8709([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c8709([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x4c6b23=_0x160bae(_0x4c8709([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16e11d()):_0x4c8709([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c8709([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c8709([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x13ed3b){return _0x4c8709([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48bfbc(){const _0x2d4fa6=[_0x4c8709([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c8709([0x74,0x72,0x69,0x61,0x6c])][_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xff3c4a/0x3e8:0xe10*_0x4caccf;return _0x120495[_0x4c8709([0x65,0x78,0x70])]<_0x2d4fa6;}function _0x243481(){const _0x487b51=_0x120495[_0x4c8709([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x487b51&&(!!_0x487b51[_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8709([0x2a]))||!!_0x487b51[_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8709([0x41,0x49])));}function _0x4ca448(){const _0x1f35d5=_0x5b12,_0x4e9f07=_0x120495[_0x4c8709([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e9f07||0x0==_0x4e9f07[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56b55b}=new URL(window[_0x4c8709([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1f35d5(0x156)]);if(_0x4e9f07[_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56b55b))return!0x0;const _0x12caf8=_0x56b55b[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])](_0x4c8709([0x2e]));return _0x4e9f07[_0x4c8709([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c5671=>_0x1c5671[_0x4c8709([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8709([0x2a])))[_0x4c8709([0x6d,0x61,0x70])](_0x25d59c=>_0x25d59c[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])](_0x4c8709([0x2e])))[_0x4c8709([0x73,0x6f,0x6d,0x65])](_0x1490b2=>_0x12caf8[_0x4c8709([0x65,0x76,0x65,0x72,0x79])]((_0x4e3a9e,_0x422476)=>_0x1490b2[_0x422476]===_0x4e3a9e||_0x1490b2[_0x422476]===_0x4c8709([0x2a])));}function _0x16e11d(){return _0x4c6b23&&_0x36baca?new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe6f2bb,_0x558979)=>{_0x4c6b23[_0x4c8709([0x74,0x68,0x65,0x6e])](_0xe6f2bb,_0x558979),_0x36baca[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x17c526=>{_0x17c526!=_0x4c8709([0x56,0x61,0x6c,0x69,0x64])&&_0xe6f2bb(_0x17c526);},_0x558979);}):_0x4c6b23||_0x36baca||_0x4c8709([0x56,0x61,0x6c,0x69,0x64]);}}function _0x245cbf(_0x1c0786,_0x296170){return new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32aa61=>{if(_0x4a2a2a())return _0x32aa61(_0x4c8709([0x56,0x61,0x6c,0x69,0x64]));_0x4b44cb(),_0x47f487[_0x4c8709([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c8709([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf74e43=!0x1;const _0x4398da=_0xcc402c();function _0xf23fcc(_0x1b15a7){return!!_0x1b15a7&&(typeof _0x1b15a7===_0x4c8709([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b15a7===_0x4c8709([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b15a7[_0x4c8709([0x74,0x68,0x65,0x6e])]===_0x4c8709([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b15a7[_0x4c8709([0x63,0x61,0x74,0x63,0x68])]===_0x4c8709([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa64df7(_0x3609fa){_0x183213(_0x3609fa)[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x3c96bc=>{if(!_0x3c96bc||_0x3c96bc[_0x4c8709([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c8709([0x6f,0x6b]))return _0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34924b(_0x213f0f(_0x4398da+_0x296170))!=_0x3c96bc[_0x4c8709([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c8709([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x1671cf=>(_0x9b7c97(),_0x1671cf),()=>{const _0x10f961=_0x5ef347();return null==_0x10f961?(_0x9b7c97(),_0x4c8709([0x56,0x61,0x6c,0x69,0x64])):_0x4c8709(_0xff3c4a-_0x10f961>(0x6f2f8a41^_0x102f0a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x32aa61)[_0x4c8709([0x63,0x61,0x74,0x63,0x68])](()=>{_0x32aa61(_0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31b500=0x4b15e0c1^_0x102f0a;function _0x9b7c97(){const _0x65c82e=_0x4c8709([0x6c,0x6c,0x63,0x74,0x2d])+_0x34924b(_0x213f0f(_0x1c0786)),_0x1eb495=_0x34a819(_0x34924b(window[_0x4c8709([0x4d,0x61,0x74,0x68])][_0x4c8709([0x63,0x65,0x69,0x6c])](_0xff3c4a/_0x31b500)));window[_0x4c8709([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c8709([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x65c82e,_0x1eb495);}function _0x5ef347(){const _0x265d06=_0x4c8709([0x6c,0x6c,0x63,0x74,0x2d])+_0x34924b(_0x213f0f(_0x1c0786)),_0x395891=window[_0x4c8709([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c8709([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x265d06);return _0x395891?window[_0x4c8709([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34a819(_0x395891),0x10)*_0x31b500:null;}function _0x183213(_0x1493a3){return new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22e23c,_0x4a7db7)=>{_0x1493a3[_0x4c8709([0x74,0x68,0x65,0x6e])](_0x22e23c,_0x4a7db7),window[_0x4c8709([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a7db7,0x4b22da81^_0x102f0a);});}}_0x47f487[_0x4c8709([0x6f,0x6e])](_0x4c8709([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x535895,_0x2b916b)=>{if(_0x2b916b[0x0]!=_0x1c0786)return _0x32aa61(_0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b916b[0x1]={..._0x2b916b[0x1],[_0x4c8709([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4398da};},{[_0x4c8709([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c8709([0x68,0x69,0x67,0x68])}),_0x47f487[_0x4c8709([0x6f,0x6e])](_0x4c8709([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x174355=>{_0xf23fcc(_0x174355[_0x4c8709([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf74e43=!0x0,_0xa64df7(_0x174355[_0x4c8709([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c8709([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c8709([0x6c,0x6f,0x77])}),_0x4f5d45[_0x4c8709([0x74,0x68,0x65,0x6e])](()=>{_0xf74e43||_0x32aa61(_0x4c8709([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a2a2a(){return _0x47f487[_0x4c8709([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c8709([0x76,0x69,0x65,0x77])][_0x4c8709([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c8709([0x61,0x75,0x74,0x6f]);}function _0x4b44cb(){_0x47f487[_0x4c8709([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c8709([0x76,0x69,0x65,0x77])][_0x4c8709([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c8709([0x61,0x75,0x74,0x6f]);}}function _0x160bae(_0x2fc9c5){const _0x5dab74=[new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b7969=>setTimeout(_0x5b7969,0x4b2a308d^_0x102f0a)),_0x4f5d45[_0x4c8709([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x940dbe=>{let _0x5aabc9=0x0;_0x47f487[_0x4c8709([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8709([0x6f,0x6e])](_0x4c8709([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30e083,_0x5cc4e6)=>{_0x5cc4e6[0x0][_0x4c8709([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5aabc9++,_0x5aabc9==(0x4b230fb9^_0x102f0a)&&(_0x940dbe(),_0x30e083[_0x4c8709([0x6f,0x66,0x66])]());});}))];return window[_0x4c8709([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c8709([0x72,0x61,0x63,0x65])](_0x5dab74)[_0x4c8709([0x74,0x68,0x65,0x6e])](()=>_0x2fc9c5);}async function _0x478ade(){await _0x4f5d45,_0x47f487[_0x4c8709([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8709([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6df453,_0x47f487[_0x4c8709([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c8709([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6df453,_0x47f487[_0x4c8709([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c8709([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ba91f(_0x53b89b){const _0x3cfe9c=_0x1e8c3d();_0x47f487[_0x3cfe9c]=_0x4c8709([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53b89b,_0x53b89b!=_0x4c8709([0x56,0x61,0x6c,0x69,0x64])&&_0x478ade();}function _0x1e8c3d(){const _0x52a12d=window[_0x4c8709([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c8709([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c8709([0x6e,0x6f,0x77])]())[_0x4c8709([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c8709([0x2e]),'');let _0x112005=_0x4c8709([0x4c]);for(let _0x1188b9=0x0;_0x1188b9<_0x52a12d[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1188b9+=0x2){let _0x5a43e0=window[_0x4c8709([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52a12d[_0x4c8709([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1188b9,_0x1188b9+0x2));_0x5a43e0>=_0x4eb0f4[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a43e0-=_0x4eb0f4[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x112005+=_0x4eb0f4[_0x5a43e0];}return _0x112005;}function _0x2448cb(){const _0x82b4f8=_0x3029a4[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])](_0x4c8709([0x2e]));if(0x3!=_0x82b4f8[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x57d548(_0x82b4f8[0x1]);function _0x57d548(_0x1c16c5){const _0x430ee3=_0x37d433(_0x1c16c5);return _0x430ee3&&_0x3cfe85()?_0x430ee3:null;function _0x3cfe85(){const _0x134d7b=_0x430ee3[_0x4c8709([0x6a,0x74,0x69])],_0x51bad6=window[_0x4c8709([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134d7b[_0x4c8709([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x134d7b[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45d212={..._0x430ee3,[_0x4c8709([0x6a,0x74,0x69])]:_0x134d7b[_0x4c8709([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x134d7b[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45d212[_0x4c8709([0x76,0x63])],_0x213f0f(_0x45d212)==_0x51bad6;}}}async function _0x1d0627(){let _0x38fe1f=!0x0;try{const _0x55e7c5=_0x3029a4[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])](_0x4c8709([0x2e])),[_0x8fe831,_0x553d26,_0xa110eb]=_0x55e7c5;return _0x4307b4(_0x8fe831),await _0x214f49(_0x8fe831,_0x553d26,_0xa110eb),_0x38fe1f;}catch(_0xc6ed02){return!0x1;}function _0x4307b4(_0x4dc671){const _0x54d887=_0x37d433(_0x4dc671);_0x54d887&&_0x54d887[_0x4c8709([0x61,0x6c,0x67])]==_0x4c8709([0x45,0x53,0x32,0x35,0x36])||(_0x38fe1f=!0x1);}async function _0x214f49(_0x11ae8a,_0x3c1619,_0x1aae5d){const _0x26a73c=window[_0x4c8709([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c8709([0x66,0x72,0x6f,0x6d])](_0x13023f(_0x1aae5d),_0x5b1fc9=>_0x5b1fc9[_0x4c8709([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57047e=new window[(_0x4c8709([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c8709([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11ae8a+_0x4c8709([0x2e])+_0x3c1619),_0x84327d=window[_0x4c8709([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c8709([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x84327d)return;const _0x5aaca1=await _0x84327d[_0x4c8709([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c8709([0x6a,0x77,0x6b]),_0x1dff1a,{[_0x4c8709([0x6e,0x61,0x6d,0x65])]:_0x4c8709([0x45,0x43,0x44,0x53,0x41]),[_0x4c8709([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c8709([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c8709([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x84327d[_0x4c8709([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c8709([0x6e,0x61,0x6d,0x65])]:_0x4c8709([0x45,0x43,0x44,0x53,0x41]),[_0x4c8709([0x68,0x61,0x73,0x68])]:{[_0x4c8709([0x6e,0x61,0x6d,0x65])]:_0x4c8709([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5aaca1,_0x26a73c,_0x57047e)||(_0x38fe1f=!0x1);}}function _0x37d433(_0x138998){return _0x138998[_0x4c8709([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c8709([0x65,0x79]))?JSON[_0x4c8709([0x70,0x61,0x72,0x73,0x65])](_0x13023f(_0x138998)):null;}function _0x13023f(_0x38212a){return window[_0x4c8709([0x61,0x74,0x6f,0x62])](_0x38212a[_0x4c8709([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c8709([0x2b]))[_0x4c8709([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c8709([0x2f])));}function _0x213f0f(_0x519bd9){let _0x4725b3=0x1505;function _0x25016c(_0x15a47c){for(let _0x5ebccd=0x0;_0x5ebccd<_0x15a47c[_0x4c8709([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ebccd++){const _0xd8b644=_0x15a47c[_0x4c8709([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ebccd);_0x4725b3=(_0x4725b3<<0x5)+_0x4725b3+_0xd8b644,_0x4725b3&=_0x4725b3;}}function _0x30b613(_0x4956dd){Array[_0x4c8709([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4956dd)?_0x4956dd[_0x4c8709([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30b613):_0x4956dd&&typeof _0x4956dd==_0x4c8709([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c8709([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4956dd)[_0x4c8709([0x73,0x6f,0x72,0x74])]()[_0x4c8709([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf099b8,_0x2572f4])=>{_0x25016c(_0xf099b8),_0x30b613(_0x2572f4);}):_0x25016c(window[_0x4c8709([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4956dd));}return _0x30b613(_0x519bd9),_0x4725b3>>>0x0;}function _0x34924b(_0xdd9f44){return _0xdd9f44[_0x4c8709([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c8709([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c8709([0x30]));}function _0x34a819(_0x4048d4){return _0x4048d4[_0x4c8709([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c8709([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c8709([0x6a,0x6f,0x69,0x6e])]('');}function _0x6df453(){}function _0x4c8709(_0x409ef4){const _0x271750=_0x5b12;return _0x409ef4[_0x271750(0x15d)](_0x5384c4=>String[_0x271750(0x13b)](_0x5384c4))[_0x271750(0x131)]('');}_0x1ba91f(await _0x5e20f0());}(this);}[_0x30d48c(0x149)](){const _0x36939c=_0x30d48c,_0x4f1e87=this[_0x36939c(0x158)][_0x36939c(0x14a)];_0x4f1e87[_0x36939c(0x134)](_0x42fcaf=>{const _0xf288ed=_0x36939c,_0x382566=_0x4f1e87[_0xf288ed(0x144)][_0xf288ed(0x126)][_0xf288ed(0x160)]();if(_0x4f1e87[_0xf288ed(0x166)][_0xf288ed(0x13c)](u))_0x42fcaf[_0xf288ed(0x136)](u,{'range':_0x382566});else{if(_0x382566[_0xf288ed(0x142)][_0xf288ed(0x137)]){const _0x128819=_0x382566[_0xf288ed(0x142)][_0xf288ed(0x16b)](({item:_0x202d5f})=>!_0x4f1e87[_0xf288ed(0x127)][_0xf288ed(0x14e)](_0x202d5f),{'boundaries':_0x382566});_0x42fcaf[_0xf288ed(0x147)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x42fcaf[_0xf288ed(0x141)](_0x128819,_0x382566[_0xf288ed(0x15c)])});}else _0x42fcaf[_0xf288ed(0x147)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x382566});}});}[_0x30d48c(0x152)](){const _0x50042c=_0x30d48c,_0x2b4bc9=this[_0x50042c(0x158)][_0x50042c(0x14a)];_0x2b4bc9[_0x50042c(0x166)][_0x50042c(0x13c)](u)&&_0x2b4bc9[_0x50042c(0x134)](_0x1c33fb=>{const _0x5bdfab=_0x50042c;_0x1c33fb[_0x5bdfab(0x161)](u);});}[_0x30d48c(0x15a)](_0x5d267d,_0x3606cb){const _0x3959b9=_0x30d48c,_0x44fc9e=_0x3606cb||this[_0x3959b9(0x158)][_0x3959b9(0x14a)][_0x3959b9(0x166)][_0x3959b9(0x132)](u)[_0x3959b9(0x154)]();if(!this[_0x3959b9(0x158)][_0x3959b9(0x14a)][_0x3959b9(0x145)](_0x44fc9e))return;const _0x49c657=this[_0x3959b9(0x158)][_0x3959b9(0x128)][_0x3959b9(0x12f)][_0x3959b9(0x169)](_0x5d267d),_0x21f4b1=this[_0x3959b9(0x158)][_0x3959b9(0x128)][_0x3959b9(0x167)](_0x49c657);this[_0x3959b9(0x158)][_0x3959b9(0x14a)][_0x3959b9(0x134)](_0x24d616=>{const _0x2adae2=_0x3959b9;this[_0x2adae2(0x152)]();const _0x50a438=this[_0x2adae2(0x158)][_0x2adae2(0x14a)][_0x2adae2(0x15a)](_0x21f4b1,_0x44fc9e);_0x50a438&&_0x24d616[_0x2adae2(0x148)](_0x50a438);});}[_0x30d48c(0x139)](_0x495018){const _0xc15f45=_0x30d48c,{model:_0x26adde}=this[_0xc15f45(0x158)],_0x32c08c=Array[_0xc15f45(0x129)](_0x26adde[_0xc15f45(0x16a)](this[_0xc15f45(0x158)][_0xc15f45(0x14a)][_0xc15f45(0x166)][_0xc15f45(0x132)](u)[_0xc15f45(0x154)]())[_0xc15f45(0x12e)]()),_0x2bb1e9=_0x32c08c[_0xc15f45(0x15e)]?_0x26adde[_0xc15f45(0x12d)](_0x32c08c[_0xc15f45(0x168)]()):_0x26adde[_0xc15f45(0x144)][_0xc15f45(0x126)][_0xc15f45(0x157)]();this[_0xc15f45(0x15a)](_0x495018,_0x2bb1e9);}}
|
|
23
|
+
const _0x429bc5=_0x4592;(function(_0x4a3737,_0x472872){const _0x44dfa1=_0x4592,_0x128ab0=_0x4a3737();while(!![]){try{const _0x1fb6d9=-parseInt(_0x44dfa1(0xd0))/0x1*(-parseInt(_0x44dfa1(0xb4))/0x2)+parseInt(_0x44dfa1(0xd3))/0x3+-parseInt(_0x44dfa1(0xb6))/0x4*(-parseInt(_0x44dfa1(0xc9))/0x5)+parseInt(_0x44dfa1(0xde))/0x6*(-parseInt(_0x44dfa1(0xce))/0x7)+-parseInt(_0x44dfa1(0xc7))/0x8+-parseInt(_0x44dfa1(0xba))/0x9*(-parseInt(_0x44dfa1(0xf2))/0xa)+-parseInt(_0x44dfa1(0xe9))/0xb*(parseInt(_0x44dfa1(0xe8))/0xc);if(_0x1fb6d9===_0x472872)break;else _0x128ab0['push'](_0x128ab0['shift']());}catch(_0x50f43a){_0x128ab0['push'](_0x128ab0['shift']());}}}(_0x4ca0,0xb3678));import{uid as _0x31988e}from'ckeditor5/src/utils.js';import{Plugin as _0x367bda}from'ckeditor5/src/core.js';function _0x4ca0(){const _0x2aeace=['createUIElement','for','fromCharCode','createSelection','data','setSelection','insertContent','addClass','12lzCLEo','6307708ireXld','afterInit','pluginName','insertContentBelow','model','ai.useTheme','selection','markerToElement','ai-ui','10XNOxXy','length','removeMarker','config','get','isOfficialPlugin','map','createPositionAfter','schema','editingDowncast','toView','getFirstRange','getSelectedBlocks','getLastMatchingPosition','4394OccIsc','span','332912lwciPu','conversion','document','hideFakeVisualSelection','6421257BwEmjd','createRange','change','getLastPosition','showFakeVisualSelection','AIAssistantEditing','markerRange','markerToHighlight','addMarker','join','href','ck-fake-ai-selection_collapsed','ck-fake-ai-selection','5764672lvfAuz','markers','70oAKBNz','init','editor','pop','push','7XJusjO','isCollapsed','165jfQkYp','has','processor','3683529ctORHZ','toModel','updateMarker','end','canEditAt','ck-ai-assistant-ui_theme','isPremiumPlugin','getRange','isContent','start','isAtEnd','8640966BsmHLT','from'];_0x4ca0=function(){return _0x2aeace;};return _0x4ca0();}function _0x4592(_0x33d3ee,_0x305c9e){const _0x4ca056=_0x4ca0();return _0x4592=function(_0x459257,_0x57585d){_0x459257=_0x459257-0xac;let _0x5986f5=_0x4ca056[_0x459257];return _0x5986f5;},_0x4592(_0x33d3ee,_0x305c9e);}const u=_0x429bc5(0xf1);export default class a extends _0x367bda{static get[_0x429bc5(0xeb)](){const _0x247077=_0x429bc5;return _0x247077(0xbf);}static get[_0x429bc5(0xf7)](){return!0x0;}static get[_0x429bc5(0xd9)](){return!0x0;}[_0x429bc5(0xca)](){const _0x5dc759=_0x429bc5,{editor:_0x45c348}=this,_0x1c9aab=[_0x5dc759(0xc6)];_0x45c348[_0x5dc759(0xf5)][_0x5dc759(0xf6)](_0x5dc759(0xee))&&_0x1c9aab[_0x5dc759(0xcd)](_0x5dc759(0xd8)),_0x45c348[_0x5dc759(0xb7)][_0x5dc759(0xe1)](_0x5dc759(0xaf))[_0x5dc759(0xc1)]({'model':u,'view':{'classes':_0x1c9aab,'priority':0xc}}),_0x45c348[_0x5dc759(0xb7)][_0x5dc759(0xe1)](_0x5dc759(0xaf))[_0x5dc759(0xf0)]({'model':u,'view':(_0x5a4b2e,{writer:_0x4d42f7})=>{const _0x47e4c5=_0x5dc759;if(!_0x5a4b2e[_0x47e4c5(0xc0)][_0x47e4c5(0xcf)])return null;const _0x478b1f=_0x4d42f7[_0x47e4c5(0xe0)](_0x47e4c5(0xb5));return _0x4d42f7[_0x47e4c5(0xe7)]([_0x47e4c5(0xc6),_0x47e4c5(0xc5)],_0x478b1f),_0x478b1f;}});}[_0x429bc5(0xea)](){!async function(_0xe06552){const _0x382809=_0x9bf4c0([0x4d,0x59,0x6a,0x45,0x4e,0x55,0x6e,0x31,0x47,0x4a,0x7a,0x67,0x68,0x6d,0x76,0x78,0x63,0x35,0x41,0x46,0x73,0x54,0x42,0x75,0x74,0x51,0x65,0x39,0x48,0x37,0x4c,0x52,0x70,0x36,0x49,0x43,0x32,0x77,0x50,0x33,0x61,0x79,0x30,0x6b,0x4b,0x56,0x62,0x58,0x66,0x5a,0x6f,0x71,0x4f,0x57,0x69,0x44,0x38,0x6c,0x64,0x34,0x72,0x53]),_0x591b5a=0x3ab66382,_0xb0c85f=0x3ab13a5a^_0x591b5a,_0x41c124=window[_0x9bf4c0([0x44,0x61,0x74,0x65])][_0x9bf4c0([0x6e,0x6f,0x77])](),_0x1bbe3c=_0xe06552[_0x9bf4c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28b112=new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bc63e=>{_0x1bbe3c[_0x9bf4c0([0x6f,0x6e,0x63,0x65])](_0x9bf4c0([0x72,0x65,0x61,0x64,0x79]),_0x3bc63e);}),_0x15ef12={[_0x9bf4c0([0x6b,0x74,0x79])]:_0x9bf4c0([0x45,0x43]),[_0x9bf4c0([0x75,0x73,0x65])]:_0x9bf4c0([0x73,0x69,0x67]),[_0x9bf4c0([0x63,0x72,0x76])]:_0x9bf4c0([0x50,0x2d,0x32,0x35,0x36]),[_0x9bf4c0([0x78])]:_0x9bf4c0([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]),[_0x9bf4c0([0x79])]:_0x9bf4c0([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]),[_0x9bf4c0([0x61,0x6c,0x67])]:_0x9bf4c0([0x45,0x53,0x32,0x35,0x36])},_0x1d29c3=_0x1bbe3c[_0x9bf4c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9bf4c0([0x67,0x65,0x74])](_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e4b2a(){let _0x54bcf7,_0x2ae938=null,_0x30441d=null;try{if(_0x1d29c3==_0x9bf4c0([0x47,0x50,0x4c]))return _0x9bf4c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54bcf7=_0x5b3b14(),!_0x54bcf7)return _0x9bf4c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54bcf7[_0x9bf4c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30441d=_0x3293be(_0x54bcf7[_0x9bf4c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54bcf7[_0x9bf4c0([0x6a,0x74,0x69])])),await _0x2b15bb()?_0xb30e92()?_0x21c896()?_0x9bf4c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f982b()?(_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9bf4c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ae938=_0x32aad3(_0x9bf4c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9bf4c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x2ae938=_0x32aad3(_0x9bf4c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9bf4c0([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x2ae938=_0x32aad3(_0x9bf4c0([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12e603()):_0x9bf4c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9bf4c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9bf4c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x8caad1){return _0x9bf4c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21c896(){const _0x225997=[_0x9bf4c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9bf4c0([0x74,0x72,0x69,0x61,0x6c])][_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41c124/0x3e8:0xe10*_0xb0c85f;return _0x54bcf7[_0x9bf4c0([0x65,0x78,0x70])]<_0x225997;}function _0xb30e92(){const _0x370897=_0x54bcf7[_0x9bf4c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x370897&&(!!_0x370897[_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9bf4c0([0x2a]))||!!_0x370897[_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9bf4c0([0x41,0x49])));}function _0x2f982b(){const _0x30bcc8=_0x4592,_0x4825d0=_0x54bcf7[_0x9bf4c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4825d0||0x0==_0x4825d0[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x110f13}=new URL(window[_0x9bf4c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30bcc8(0xc4)]);if(_0x4825d0[_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x110f13))return!0x0;const _0x181cdb=_0x110f13[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])](_0x9bf4c0([0x2e]));return _0x4825d0[_0x9bf4c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a9f75=>_0x2a9f75[_0x9bf4c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9bf4c0([0x2a])))[_0x9bf4c0([0x6d,0x61,0x70])](_0x5329e7=>_0x5329e7[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])](_0x9bf4c0([0x2e])))[_0x9bf4c0([0x73,0x6f,0x6d,0x65])](_0x19a4b8=>_0x181cdb[_0x9bf4c0([0x65,0x76,0x65,0x72,0x79])]((_0x4189aa,_0x5e01e9)=>_0x19a4b8[_0x5e01e9]===_0x4189aa||_0x19a4b8[_0x5e01e9]===_0x9bf4c0([0x2a])));}function _0x12e603(){return _0x2ae938&&_0x30441d?new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x498214,_0x54b1e0)=>{_0x2ae938[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x498214,_0x54b1e0),_0x30441d[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x2a04d7=>{_0x2a04d7!=_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64])&&_0x498214(_0x2a04d7);},_0x54b1e0);}):_0x2ae938||_0x30441d||_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3293be(_0x10b864,_0x5833d3){return new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41c9b2=>{if(_0x40fc58())return _0x41c9b2(_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64]));_0x7ab6bc(),_0x1bbe3c[_0x9bf4c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9bf4c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x457e40=!0x1;const _0x495057=_0x31988e();function _0x2f2b57(_0x18ed97){return!!_0x18ed97&&(typeof _0x18ed97===_0x9bf4c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18ed97===_0x9bf4c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18ed97[_0x9bf4c0([0x74,0x68,0x65,0x6e])]===_0x9bf4c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18ed97[_0x9bf4c0([0x63,0x61,0x74,0x63,0x68])]===_0x9bf4c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a655b(_0xed306a){_0x43c978(_0xed306a)[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x1f3a8d=>{if(!_0x1f3a8d||_0x1f3a8d[_0x9bf4c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9bf4c0([0x6f,0x6b]))return _0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c40f0(_0x56b482(_0x495057+_0x5833d3))!=_0x1f3a8d[_0x9bf4c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x3ef021=>(_0xb8967(),_0x3ef021),()=>{const _0x8b1f6=_0x4f9201();return null==_0x8b1f6?(_0xb8967(),_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64])):_0x9bf4c0(_0x41c124-_0x8b1f6>(0x1ebae782^_0x591b5a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x41c9b2)[_0x9bf4c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41c9b2(_0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51a844=0x3a808d02^_0x591b5a;function _0xb8967(){const _0xe1cabd=_0x9bf4c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c40f0(_0x56b482(_0x10b864)),_0x3b5760=_0x40499d(_0x3c40f0(window[_0x9bf4c0([0x4d,0x61,0x74,0x68])][_0x9bf4c0([0x63,0x65,0x69,0x6c])](_0x41c124/_0x51a844)));window[_0x9bf4c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9bf4c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe1cabd,_0x3b5760);}function _0x4f9201(){const _0x4ccc88=_0x9bf4c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c40f0(_0x56b482(_0x10b864)),_0x28f81b=window[_0x9bf4c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9bf4c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ccc88);return _0x28f81b?window[_0x9bf4c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40499d(_0x28f81b),0x10)*_0x51a844:null;}function _0x43c978(_0x174240){return new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57ddc8,_0x5e3a1c)=>{_0x174240[_0x9bf4c0([0x74,0x68,0x65,0x6e])](_0x57ddc8,_0x5e3a1c),window[_0x9bf4c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e3a1c,0x3ab7b742^_0x591b5a);});}}_0x1bbe3c[_0x9bf4c0([0x6f,0x6e])](_0x9bf4c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26b6d2,_0x42ab8e)=>{if(_0x42ab8e[0x0]!=_0x10b864)return _0x41c9b2(_0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42ab8e[0x1]={..._0x42ab8e[0x1],[_0x9bf4c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x495057};},{[_0x9bf4c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9bf4c0([0x68,0x69,0x67,0x68])}),_0x1bbe3c[_0x9bf4c0([0x6f,0x6e])](_0x9bf4c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x473770=>{_0x2f2b57(_0x473770[_0x9bf4c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x457e40=!0x0,_0x4a655b(_0x473770[_0x9bf4c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9bf4c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9bf4c0([0x6c,0x6f,0x77])}),_0x28b112[_0x9bf4c0([0x74,0x68,0x65,0x6e])](()=>{_0x457e40||_0x41c9b2(_0x9bf4c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x40fc58(){return _0x1bbe3c[_0x9bf4c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9bf4c0([0x76,0x69,0x65,0x77])][_0x9bf4c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9bf4c0([0x61,0x75,0x74,0x6f]);}function _0x7ab6bc(){_0x1bbe3c[_0x9bf4c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9bf4c0([0x76,0x69,0x65,0x77])][_0x9bf4c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9bf4c0([0x61,0x75,0x74,0x6f]);}}function _0x32aad3(_0x2a27bb){const _0x495067=[new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39da13=>setTimeout(_0x39da13,0x3abf5d4e^_0x591b5a)),_0x28b112[_0x9bf4c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57d508=>{let _0x105f6a=0x0;_0x1bbe3c[_0x9bf4c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9bf4c0([0x6f,0x6e])](_0x9bf4c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57c1ee,_0x42a517)=>{_0x42a517[0x0][_0x9bf4c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x105f6a++,_0x105f6a==(0x3ab6627a^_0x591b5a)&&(_0x57d508(),_0x57c1ee[_0x9bf4c0([0x6f,0x66,0x66])]());});}))];return window[_0x9bf4c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9bf4c0([0x72,0x61,0x63,0x65])](_0x495067)[_0x9bf4c0([0x74,0x68,0x65,0x6e])](()=>_0x2a27bb);}async function _0x54f564(){await _0x28b112,_0x1bbe3c[_0x9bf4c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9bf4c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47e81b,_0x1bbe3c[_0x9bf4c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x9bf4c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47e81b,_0x1bbe3c[_0x9bf4c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9bf4c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d8a93(_0x4565e4){const _0x459702=_0x1182cc();_0x1bbe3c[_0x459702]=_0x9bf4c0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4565e4,_0x4565e4!=_0x9bf4c0([0x56,0x61,0x6c,0x69,0x64])&&_0x54f564();}function _0x1182cc(){const _0x139d27=window[_0x9bf4c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9bf4c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9bf4c0([0x6e,0x6f,0x77])]())[_0x9bf4c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9bf4c0([0x2e]),'');let _0x4e6efb=_0x9bf4c0([0x4d]);for(let _0x40cc48=0x0;_0x40cc48<_0x139d27[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40cc48+=0x2){let _0x4a7a1e=window[_0x9bf4c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139d27[_0x9bf4c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40cc48,_0x40cc48+0x2));_0x4a7a1e>=_0x382809[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a7a1e-=_0x382809[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e6efb+=_0x382809[_0x4a7a1e];}return _0x4e6efb;}function _0x5b3b14(){const _0x1d9501=_0x1d29c3[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])](_0x9bf4c0([0x2e]));if(0x3!=_0x1d9501[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf47b85(_0x1d9501[0x1]);function _0xf47b85(_0x5ac59e){const _0x2f0e9f=_0x227fb1(_0x5ac59e);return _0x2f0e9f&&_0x380796()?_0x2f0e9f:null;function _0x380796(){const _0x405e66=_0x2f0e9f[_0x9bf4c0([0x6a,0x74,0x69])],_0x19ebb7=window[_0x9bf4c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x405e66[_0x9bf4c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x405e66[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x346c12={..._0x2f0e9f,[_0x9bf4c0([0x6a,0x74,0x69])]:_0x405e66[_0x9bf4c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x405e66[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x346c12[_0x9bf4c0([0x76,0x63])],_0x56b482(_0x346c12)==_0x19ebb7;}}}async function _0x2b15bb(){let _0x1be1f1=!0x0;try{const _0x181dea=_0x1d29c3[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])](_0x9bf4c0([0x2e])),[_0xf7d17,_0x3db44c,_0x1f0b99]=_0x181dea;return _0x15ba1d(_0xf7d17),await _0x8f3663(_0xf7d17,_0x3db44c,_0x1f0b99),_0x1be1f1;}catch(_0x2b7ffe){return!0x1;}function _0x15ba1d(_0x27d3b9){const _0x2e0b24=_0x227fb1(_0x27d3b9);_0x2e0b24&&_0x2e0b24[_0x9bf4c0([0x61,0x6c,0x67])]==_0x9bf4c0([0x45,0x53,0x32,0x35,0x36])||(_0x1be1f1=!0x1);}async function _0x8f3663(_0x587527,_0x412906,_0x4ffbde){const _0x859279=window[_0x9bf4c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9bf4c0([0x66,0x72,0x6f,0x6d])](_0x4f4332(_0x4ffbde),_0x131cda=>_0x131cda[_0x9bf4c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39f94c=new window[(_0x9bf4c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9bf4c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x587527+_0x9bf4c0([0x2e])+_0x412906),_0x107a15=window[_0x9bf4c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9bf4c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x107a15)return;const _0x386c25=await _0x107a15[_0x9bf4c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9bf4c0([0x6a,0x77,0x6b]),_0x15ef12,{[_0x9bf4c0([0x6e,0x61,0x6d,0x65])]:_0x9bf4c0([0x45,0x43,0x44,0x53,0x41]),[_0x9bf4c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9bf4c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9bf4c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x107a15[_0x9bf4c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9bf4c0([0x6e,0x61,0x6d,0x65])]:_0x9bf4c0([0x45,0x43,0x44,0x53,0x41]),[_0x9bf4c0([0x68,0x61,0x73,0x68])]:{[_0x9bf4c0([0x6e,0x61,0x6d,0x65])]:_0x9bf4c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x386c25,_0x859279,_0x39f94c)||(_0x1be1f1=!0x1);}}function _0x227fb1(_0x497e43){return _0x497e43[_0x9bf4c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9bf4c0([0x65,0x79]))?JSON[_0x9bf4c0([0x70,0x61,0x72,0x73,0x65])](_0x4f4332(_0x497e43)):null;}function _0x4f4332(_0x412ed2){return window[_0x9bf4c0([0x61,0x74,0x6f,0x62])](_0x412ed2[_0x9bf4c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9bf4c0([0x2b]))[_0x9bf4c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9bf4c0([0x2f])));}function _0x56b482(_0x23fbf8){let _0x130820=0x1505;function _0x325752(_0x3b56cc){for(let _0x3df005=0x0;_0x3df005<_0x3b56cc[_0x9bf4c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3df005++){const _0x348be2=_0x3b56cc[_0x9bf4c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3df005);_0x130820=(_0x130820<<0x5)+_0x130820+_0x348be2,_0x130820&=_0x130820;}}function _0x3d828f(_0x245f7f){Array[_0x9bf4c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x245f7f)?_0x245f7f[_0x9bf4c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d828f):_0x245f7f&&typeof _0x245f7f==_0x9bf4c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9bf4c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x245f7f)[_0x9bf4c0([0x73,0x6f,0x72,0x74])]()[_0x9bf4c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4758ce,_0x5a1f49])=>{_0x325752(_0x4758ce),_0x3d828f(_0x5a1f49);}):_0x325752(window[_0x9bf4c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x245f7f));}return _0x3d828f(_0x23fbf8),_0x130820>>>0x0;}function _0x3c40f0(_0x3480d7){return _0x3480d7[_0x9bf4c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9bf4c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9bf4c0([0x30]));}function _0x40499d(_0x1c82ab){return _0x1c82ab[_0x9bf4c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9bf4c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9bf4c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x47e81b(){}function _0x9bf4c0(_0x208481){const _0x4cde02=_0x4592;return _0x208481[_0x4cde02(0xac)](_0x48c043=>String[_0x4cde02(0xe2)](_0x48c043))[_0x4cde02(0xc3)]('');}_0x1d8a93(await _0x2e4b2a());}(this);}[_0x429bc5(0xbe)](){const _0x17caf5=_0x429bc5,_0x557d0b=this[_0x17caf5(0xcb)][_0x17caf5(0xed)];_0x557d0b[_0x17caf5(0xbc)](_0x52d7ec=>{const _0x253834=_0x17caf5,_0x15f3e1=_0x557d0b[_0x253834(0xb8)][_0x253834(0xef)][_0x253834(0xb1)]();if(_0x557d0b[_0x253834(0xc8)][_0x253834(0xd1)](u))_0x52d7ec[_0x253834(0xd5)](u,{'range':_0x15f3e1});else{if(_0x15f3e1[_0x253834(0xdc)][_0x253834(0xdd)]){const _0x3ba393=_0x15f3e1[_0x253834(0xdc)][_0x253834(0xb3)](({item:_0x1bfd09})=>!_0x557d0b[_0x253834(0xae)][_0x253834(0xdb)](_0x1bfd09),{'boundaries':_0x15f3e1});_0x52d7ec[_0x253834(0xc2)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x52d7ec[_0x253834(0xbb)](_0x3ba393,_0x15f3e1[_0x253834(0xd6)])});}else _0x52d7ec[_0x253834(0xc2)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x15f3e1});}});}[_0x429bc5(0xb9)](){const _0x783ce=_0x429bc5,_0x51cff8=this[_0x783ce(0xcb)][_0x783ce(0xed)];_0x51cff8[_0x783ce(0xc8)][_0x783ce(0xd1)](u)&&_0x51cff8[_0x783ce(0xbc)](_0x5a913c=>{const _0x2f3986=_0x783ce;_0x5a913c[_0x2f3986(0xf4)](u);});}[_0x429bc5(0xe6)](_0x1b505f,_0x1d42fd){const _0xf4a9fe=_0x429bc5,_0x2bfc33=_0x1d42fd||this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xed)][_0xf4a9fe(0xc8)][_0xf4a9fe(0xf6)](u)[_0xf4a9fe(0xda)]();if(!this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xed)][_0xf4a9fe(0xd7)](_0x2bfc33))return;const _0x1b7fd3=this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xe4)][_0xf4a9fe(0xd2)][_0xf4a9fe(0xb0)](_0x1b505f),_0x545b5b=this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xe4)][_0xf4a9fe(0xd4)](_0x1b7fd3);this[_0xf4a9fe(0xcb)][_0xf4a9fe(0xed)][_0xf4a9fe(0xbc)](_0x5c38f0=>{const _0x572c3d=_0xf4a9fe;this[_0x572c3d(0xb9)]();const _0x211352=this[_0x572c3d(0xcb)][_0x572c3d(0xed)][_0x572c3d(0xe6)](_0x545b5b,_0x2bfc33);_0x211352&&_0x5c38f0[_0x572c3d(0xe5)](_0x211352);});}[_0x429bc5(0xec)](_0x5717af){const _0x1e7d6c=_0x429bc5,{model:_0x30fbda}=this[_0x1e7d6c(0xcb)],_0x5608fb=Array[_0x1e7d6c(0xdf)](_0x30fbda[_0x1e7d6c(0xe3)](this[_0x1e7d6c(0xcb)][_0x1e7d6c(0xed)][_0x1e7d6c(0xc8)][_0x1e7d6c(0xf6)](u)[_0x1e7d6c(0xda)]())[_0x1e7d6c(0xb2)]()),_0x46d467=_0x5608fb[_0x1e7d6c(0xf3)]?_0x30fbda[_0x1e7d6c(0xad)](_0x5608fb[_0x1e7d6c(0xcc)]()):_0x30fbda[_0x1e7d6c(0xb8)][_0x1e7d6c(0xef)][_0x1e7d6c(0xbd)]();this[_0x1e7d6c(0xe6)](_0x5717af,_0x46d467);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xe14aab=_0x3120;(function(_0x3888c4,_0x1c34c7){const _0x47ab40=_0x3120,_0x1c6f4d=_0x3888c4();while(!![]){try{const _0x4013bf=-parseInt(_0x47ab40(0x10a))/0x1*(parseInt(_0x47ab40(0x1a8))/0x2)+parseInt(_0x47ab40(0x187))/0x3*(-parseInt(_0x47ab40(0x110))/0x4)+parseInt(_0x47ab40(0x130))/0x5+-parseInt(_0x47ab40(0x173))/0x6+-parseInt(_0x47ab40(0x10d))/0x7+-parseInt(_0x47ab40(0x191))/0x8+parseInt(_0x47ab40(0x178))/0x9;if(_0x4013bf===_0x1c34c7)break;else _0x1c6f4d['push'](_0x1c6f4d['shift']());}catch(_0x2cc8e5){_0x1c6f4d['push'](_0x1c6f4d['shift']());}}}(_0x1344,0x9d6cb));import{Plugin as _0x1f8c54}from'ckeditor5/src/core.js';import{first as _0x44ba26,CKEditorError as _0x4f7f63}from'ckeditor5/src/utils.js';import{createDropdown as _0x5cea75,addMenuToDropdown as _0x54179c,ButtonView as _0x181266,MenuBarMenuListItemButtonView as _0x31816a,Dialog as _0x5f0ff1,DialogViewPosition as _0x20766c,MenuBarMenuView as _0x326110,MenuBarMenuListView as _0x4e8a2b,MenuBarMenuListItemView as _0x5db70e}from'ckeditor5/src/ui.js';import{icons as _0xea4b0d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3120(_0x40dd41,_0x243bca){const _0x134449=_0x1344();return _0x3120=function(_0x3120d3,_0x2b6c18){_0x3120d3=_0x3120d3-0x10a;let _0x4006b0=_0x134449[_0x3120d3];return _0x4006b0;},_0x3120(_0x40dd41,_0x243bca);}import{normalizeCommandsConfig as _0x14574b,UNGROUPED_COMMANDS_GROUP_ID as _0x245d00}from'./utils/normalizecommandsconfig.js';import _0x20d297 from'./aiassistantediting.js';import _0x38f7e9 from'./adapters/aiadapter.js';import{getTranslation as _0x54ffa6}from'./utils/common-translations.js';import _0x1b0619 from'./ui/showaiassistantcommand.js';function _0x1344(){const _0x102b35=['hideFakeVisualSelection','destroy','isOfficialPlugin','aiCommands','splice','_formView','fieldView','getSelectedBlocks','DataTransfer','announce','children','trim','expired','_commandDefinitions','push','text/html','tableOfContents','4182650wjPXZy','EDITOR_TOP_SIDE','menuPanelClass','promptView','execute','menuView','get','text','Generated\x20content:\x20%0','getData','</p>','values','map','updateView','INSERT','buttons','order','aiLicenseKeyEvaluationLimit','robotPencil','body','set','_aiAdapter','featureNotAllowed','domainLimit','change:enabledCommandsIds','usageLimit','insertContent','render','change','isOn','copy','replace','isPremiumPlugin','sort','rawHtml','panelView','change:isProcessing','isCollapsed','queryView','menuBar:aiAssistant','showFakeVisualSelection','_forceMarkersCopy','textAdapter','config','from','hideUI','licenseKey','aiAssistant','change:value','delegate','ck-ai-assistant-button\x20','AI\x20Commands','enabledCommandsIds','aiLicenseKeyNotAllowed','aiLicenseKeyTrialLimit','REPLACE','aiLicenseKeyValid','locale','_createAIAssistantUIButton','schema','prompt','ai.aiAssistant.contentAreaCssClass','replaceContent','_dialog','AIAssistant','groupLabel','addMany','4845486OEqBjN','editing','wasMoved','updatePosition','length','38003364JoZKMa','show','evaluationLimit','listenTo','fire','once','menuitemcheckbox','developmentLimit','isFlat','document','<p>','ck-ai-commands-dropdown\x20','model','requires','pluginName','141294Rmhcxc','aiLicenseKeyUsageLimit','errorView','insertContentBelow','aiLicenseKeyDomainLimit','ai-commands-config-order-collision','groupId','source','bind','showUI','5203112ndikNK','custom','command:','ck-ai-assistant-ui','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','componentFactory','_populateMenuBarMenu','ai.aiAssistant.commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20is\x20writing','items','label','contentArea','AI\x20Assistant','_getMenuBarGroupButtons','aiLicenseKeyExpired','init','buttonView','commands','media','showAIAssistant','add','28bdccKj','define','aiLicenseKeyInvalid','isEnabled','comment','includes','_getResolvedCommandsDefinitions','getLimitElement','menuBar:aiCommands','hide','plugins','getSelectedElement','setSelection','update','requiresContent','_showLicenseError','ai.useTheme','\x20ck-ai-assistant-ui_theme','focus','filter','91081vlOEnR','_onExecute','trialLimit','7482559uNRavJ','view','_initView','52ahOnEZ','change:isError','_licenseKeyCheckInterval','editor','_aiAssistantController','forEach','ai.aiAssistant.disabledElements','aiLicenseKeyDevelopmentLimit','invalid','getRanges','polite','selection','reset','currentContext','AIAssistantUI'];_0x1344=function(){return _0x102b35;};return _0x1344();}import _0x318a7a from'./ui/aiassistantcontroller.js';import _0x23a4da from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x228fd3}from'./ui/form/aiformtoolbarview.js';import _0x184a87 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0xe14aab(0x127)];import{ClipboardMarkersUtils as _0x2cce70}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x115a71,DataTransfer as _0x143c67}from'ckeditor5/src/engine.js';export default class n extends _0x1f8c54{static get[_0xe14aab(0x186)](){const _0x2026a0=_0xe14aab;return _0x2026a0(0x11e);}static get[_0xe14aab(0x121)](){return!0x0;}static get[_0xe14aab(0x150)](){return!0x0;}static get[_0xe14aab(0x185)](){return[_0x2cce70,_0x20d297,_0x38f7e9,_0x5f0ff1];}constructor(_0x9dbaf){const _0x4e8b66=_0xe14aab;super(_0x9dbaf),this[_0x4e8b66(0x195)]='',_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x116),[_0x4e8b66(0x1a5),_0x4e8b66(0x152),_0x4e8b66(0x12f)]),_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x16d),''),_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x1a9)](_0x4e8b66(0x1b8),!0x0),this[_0x4e8b66(0x195)]=_0x4e8b66(0x194)+(_0x9dbaf[_0x4e8b66(0x15b)][_0x4e8b66(0x136)](_0x4e8b66(0x1b8))?_0x4e8b66(0x1b9):'');}[_0xe14aab(0x1a2)](){const _0x36efe4=_0xe14aab,{editor:_0x5442ee}=this;this[_0x36efe4(0x145)]=_0x5442ee[_0x36efe4(0x1b2)][_0x36efe4(0x136)](_0x38f7e9),this[_0x36efe4(0x16f)]=_0x5442ee[_0x36efe4(0x1b2)][_0x36efe4(0x136)](_0x5f0ff1),this[_0x36efe4(0x124)]=null,this[_0x36efe4(0x12c)]=this[_0x36efe4(0x1ae)]();const _0x12014d=new _0x1b0619(_0x5442ee,Array[_0x36efe4(0x15c)](this[_0x36efe4(0x12c)][_0x36efe4(0x13b)]()));_0x5442ee[_0x36efe4(0x1a4)][_0x36efe4(0x1a7)](_0x36efe4(0x1a6),_0x12014d),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x122),_0x280efb=>{const _0x591b66=_0x36efe4,_0x964a55=_0x5cea75(_0x280efb);return _0x964a55[_0x591b66(0x144)]({'class':_0x591b66(0x183)+this[_0x591b66(0x195)]}),_0x964a55[_0x591b66(0x1a3)][_0x591b66(0x144)]({'label':_0x54ffa6(_0x280efb,_0x591b66(0x163)),'icon':_0x184a87,'tooltip':!0x0}),_0x964a55['on'](_0x591b66(0x134),_0x42c463=>this[_0x591b66(0x10b)](_0x42c463[_0x591b66(0x18e)]['id'])),_0x54179c(_0x964a55,_0x5442ee['ui'][_0x591b66(0x10e)][_0x591b66(0x143)],function(_0x3cdb77){const _0x3cab69=_0x591b66,_0x466411=_0x14574b(_0x3cdb77[_0x3cab69(0x15b)][_0x3cab69(0x136)](_0x3cab69(0x199)),_0x3cdb77[_0x3cab69(0x169)]),_0x24858c=B(_0x3cdb77,_0x466411)[_0x3cab69(0x1bb)](_0x17f57f=>_0x17f57f[_0x3cab69(0x1a4)][_0x3cab69(0x177)]);if(0x1===_0x24858c[_0x3cab69(0x177)])return B(_0x3cdb77,_0x24858c[0x0][_0x3cab69(0x1a4)])[_0x3cab69(0x13c)](_0x163c6b=>({'id':_0x163c6b['id'],'label':_0x163c6b[_0x3cab69(0x19d)]}));return _0x24858c[_0x3cab69(0x13c)](_0x5b2135=>{const _0x59a919=_0x3cab69,{groupId:_0x4c7a40,groupLabel:_0x1ddd04,commands:_0x40efd1}=_0x5b2135,_0x251992=B(_0x3cdb77,_0x40efd1)[_0x59a919(0x13c)](_0x41ca2b=>({'id':_0x41ca2b['id'],'label':_0x41ca2b[_0x59a919(0x19d)]}));return{'id':_0x4c7a40,'menu':_0x1ddd04||_0x4c7a40,'children':_0x251992};});}(_0x5442ee),{'ariaLabel':_0x54ffa6(_0x280efb,_0x591b66(0x163))}),_0x964a55[_0x591b66(0x135)][_0x591b66(0x132)]=_0x591b66(0x183)+this[_0x591b66(0x195)],_0x12014d['on'](_0x591b66(0x148),_0x488fc0),_0x964a55[_0x591b66(0x135)][_0x591b66(0x17d)](_0x591b66(0x14b),_0x488fc0),_0x964a55;function _0x488fc0(){const _0x2eaaaf=_0x591b66;_0x964a55[_0x2eaaaf(0x1ab)]=_0x12014d[_0x2eaaaf(0x164)][_0x2eaaaf(0x177)]>0x0;for(const _0x5d1395 of _0x964a55[_0x2eaaaf(0x135)][_0x2eaaaf(0x13f)])_0x5d1395[_0x2eaaaf(0x1ab)]=_0x12014d[_0x2eaaaf(0x164)][_0x2eaaaf(0x1ad)](_0x5d1395['id']);}}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x1b0),_0x2f00a1=>{const _0x15446b=_0x36efe4,_0x12dfdd=new _0x326110(_0x2f00a1);_0x12dfdd[_0x15446b(0x1a3)][_0x15446b(0x144)]({'label':_0x54ffa6(_0x2f00a1,_0x15446b(0x163)),'icon':_0x184a87}),_0x12dfdd[_0x15446b(0x18f)](_0x15446b(0x1ab))['to'](_0x12014d,_0x15446b(0x164),_0x462572=>_0x462572[_0x15446b(0x177)]>0x0);const _0x2fa67a=_0x14574b(_0x5442ee[_0x15446b(0x15b)][_0x15446b(0x136)](_0x15446b(0x199)),_0x2f00a1);return this[_0x15446b(0x198)](_0x12014d,_0x12dfdd,_0x2fa67a,_0x5b42a0=>this[_0x15446b(0x10b)](_0x5b42a0)),_0x12dfdd;}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x15f),()=>{const _0x12a6d6=_0x36efe4,_0x3ca514=this[_0x12a6d6(0x16a)](_0x181266);return _0x3ca514[_0x12a6d6(0x144)]({'tooltip':!0x0,'class':_0x12a6d6(0x162)+this[_0x12a6d6(0x195)]}),_0x3ca514;}),_0x5442ee['ui'][_0x36efe4(0x197)][_0x36efe4(0x1a7)](_0x36efe4(0x157),()=>{const _0x1e6f23=_0x36efe4,_0x1e8ce6=this[_0x1e6f23(0x16a)](_0x31816a);return _0x1e8ce6[_0x1e6f23(0x144)]({'role':_0x1e6f23(0x17e)}),_0x1e8ce6;}),this[_0x36efe4(0x15e)]=this[_0x36efe4(0x113)][_0x36efe4(0x15b)][_0x36efe4(0x136)](_0x36efe4(0x15e));const _0x164ba1=this[_0x36efe4(0x113)];this[_0x36efe4(0x112)]=setInterval(()=>{const _0x5e53a1=_0x36efe4;let _0x5e5862;for(const _0x2e5b3c in _0x164ba1){const _0x28b5ce=_0x2e5b3c,_0x17c3ae=_0x164ba1[_0x28b5ce];if(_0x5e53a1(0x168)==_0x17c3ae||_0x5e53a1(0x1aa)==_0x17c3ae||_0x5e53a1(0x1a1)==_0x17c3ae||_0x5e53a1(0x18b)==_0x17c3ae||_0x5e53a1(0x165)==_0x17c3ae||_0x5e53a1(0x141)==_0x17c3ae||_0x5e53a1(0x166)==_0x17c3ae||_0x5e53a1(0x117)==_0x17c3ae||_0x5e53a1(0x188)==_0x17c3ae){delete _0x164ba1[_0x28b5ce],_0x5e5862=_0x17c3ae,clearInterval(this[_0x5e53a1(0x112)]),this[_0x5e53a1(0x112)]=void 0x0;break;}}_0x5e53a1(0x1aa)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x118)),_0x5e53a1(0x1a1)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x12b)),_0x5e53a1(0x18b)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x147)),_0x5e53a1(0x165)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x146),_0x5e53a1(0x170)),_0x5e53a1(0x141)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x17a)),_0x5e53a1(0x166)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x10c)),_0x5e53a1(0x117)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x17f)),_0x5e53a1(0x188)==_0x5e5862&&_0x164ba1[_0x5e53a1(0x1b7)](_0x5e53a1(0x149));},0x3e8);}[_0xe14aab(0x120)](){const _0x7181fb=_0xe14aab;super[_0x7181fb(0x120)](),this[_0x7181fb(0x112)]&&clearInterval(this[_0x7181fb(0x112)]);}[_0xe14aab(0x190)](_0x13d0a6='',_0x1ef584='',_0x578bf1=_0xe14aab(0x192)){const _0x2f7d47=_0xe14aab,_0x5d6032=this[_0x2f7d47(0x113)],_0x19d314=_0x5d6032[_0x2f7d47(0x174)][_0x2f7d47(0x10e)],_0x33eaf2=_0x5d6032[_0x2f7d47(0x1b2)][_0x2f7d47(0x136)](_0x20d297),_0x571756=_0x5d6032[_0x2f7d47(0x1b2)][_0x2f7d47(0x136)](_0x2cce70);_0x33eaf2[_0x2f7d47(0x158)]();const _0x37e819=new j(),_0x338518=new ClipboardEvent(_0x2f7d47(0x14e),{'clipboardData':_0x37e819}),_0x7bc270=new _0x143c67(_0x37e819),_0x5f100e=new _0x115a71(_0x19d314,_0x338518,{'dataTransfer':_0x7bc270});_0x571756[_0x2f7d47(0x159)](_0x2f7d47(0x1ac),()=>{const _0x13e7d7=_0x2f7d47;_0x19d314[_0x13e7d7(0x181)][_0x13e7d7(0x17c)](_0x13e7d7(0x14e),_0x5f100e);}),this[_0x2f7d47(0x124)]||(this[_0x2f7d47(0x10f)](),this[_0x2f7d47(0x114)]=new _0x318a7a(_0x5d6032,this[_0x2f7d47(0x145)][_0x2f7d47(0x15a)],this[_0x2f7d47(0x124)]));let _0x29b333=_0x7bc270[_0x2f7d47(0x139)](_0x2f7d47(0x12e));const _0xd26e32=_0x5d6032[_0x2f7d47(0x184)][_0x2f7d47(0x181)][_0x2f7d47(0x11b)],_0x5927dd=Array[_0x2f7d47(0x15c)](_0xd26e32[_0x2f7d47(0x119)]());0x1===_0x5927dd[_0x2f7d47(0x177)]&&_0x5927dd[0x0][_0x2f7d47(0x180)]&&!_0xd26e32[_0x2f7d47(0x1b3)]()&&''!==_0x29b333[_0x2f7d47(0x14f)](/ /g,'')[_0x2f7d47(0x12a)]()&&(_0x29b333=_0x2f7d47(0x182)+_0x29b333+_0x2f7d47(0x13a)),this[_0x2f7d47(0x114)][_0x2f7d47(0x13d)]({'actionId':_0x578bf1,'query':_0x13d0a6,'htmlContent':_0x29b333,'label':_0x1ef584,'mainActionLabel':_0x228fd3[_0x5d6032[_0x2f7d47(0x184)][_0x2f7d47(0x181)][_0x2f7d47(0x11b)][_0x2f7d47(0x155)]?_0x2f7d47(0x13e):_0x2f7d47(0x167)]}),_0x2f7d47(0x15f)!==this[_0x2f7d47(0x16f)]['id']?this[_0x2f7d47(0x16f)][_0x2f7d47(0x179)]({'id':_0x2f7d47(0x15f),'icon':_0xea4b0d[_0x2f7d47(0x142)],'title':_0x54ffa6(this[_0x2f7d47(0x113)][_0x2f7d47(0x169)],_0x2f7d47(0x19f)),'content':this[_0x2f7d47(0x124)],'position':_0x20766c[_0x2f7d47(0x131)],'onShow':()=>{const _0x101252=_0x2f7d47;this[_0x101252(0x124)][_0x101252(0x1ba)]();},'onHide':()=>{const _0x25623c=_0x2f7d47;this[_0x25623c(0x114)][_0x25623c(0x11c)](),_0x33eaf2[_0x25623c(0x11f)]();}}):this[_0x2f7d47(0x16f)][_0x2f7d47(0x10e)][_0x2f7d47(0x175)]||this[_0x2f7d47(0x16f)][_0x2f7d47(0x10e)][_0x2f7d47(0x176)]();}[_0xe14aab(0x15d)](){const _0x3da1d0=_0xe14aab;this[_0x3da1d0(0x16f)][_0x3da1d0(0x1b1)]();}[_0xe14aab(0x1ae)](){const _0x2be6e3=_0xe14aab,_0x13b0d0=new Map(),_0x3a8a11=_0x14574b(this[_0x2be6e3(0x113)][_0x2be6e3(0x15b)][_0x2be6e3(0x136)](_0x2be6e3(0x199)),this[_0x2be6e3(0x113)][_0x2be6e3(0x169)]);for(const _0xcf8a42 of _0x3a8a11)for(const _0x18f06c of _0xcf8a42[_0x2be6e3(0x1a4)])_0x13b0d0[_0x2be6e3(0x144)](_0x18f06c['id'],{..._0x18f06c,'groupId':_0xcf8a42[_0x2be6e3(0x18d)],'groupLabel':_0xcf8a42[_0x2be6e3(0x171)]||_0xcf8a42[_0x2be6e3(0x18d)]});return _0x13b0d0;}[_0xe14aab(0x16a)](_0x28ffe1){const _0x1788b4=_0xe14aab,_0x1b990f=this[_0x1788b4(0x113)],_0x46d617=_0x1b990f[_0x1788b4(0x1a4)][_0x1788b4(0x136)](_0x1788b4(0x1a6)),_0x4e52e5=new _0x28ffe1(_0x1b990f[_0x1788b4(0x169)]);return _0x4e52e5[_0x1788b4(0x144)]({'label':_0x54ffa6(_0x1b990f[_0x1788b4(0x169)],_0x1788b4(0x19f)),'icon':_0xea4b0d[_0x1788b4(0x142)],'isToggleable':!0x0}),_0x4e52e5[_0x1788b4(0x18f)](_0x1788b4(0x1ab))['to'](_0x46d617),_0x4e52e5[_0x1788b4(0x18f)](_0x1788b4(0x14d))['to'](this[_0x1788b4(0x16f)],'id',_0x173416=>_0x1788b4(0x15f)===_0x173416),this[_0x1788b4(0x17b)](_0x4e52e5,_0x1788b4(0x134),()=>{const _0x4d75c2=_0x1788b4;_0x4e52e5[_0x4d75c2(0x14d)]?this[_0x4d75c2(0x15d)]():_0x46d617[_0x4d75c2(0x134)]();}),_0x4e52e5;}[_0xe14aab(0x10f)](){const _0x57d726=_0xe14aab,_0x1138fa=this[_0x57d726(0x113)][_0x57d726(0x1b2)][_0x57d726(0x136)](_0x20d297);this[_0x57d726(0x124)]=new _0x23a4da(this[_0x57d726(0x113)][_0x57d726(0x169)],this[_0x57d726(0x195)],this[_0x57d726(0x113)][_0x57d726(0x15b)][_0x57d726(0x136)](_0x57d726(0x16d))),this[_0x57d726(0x124)]['on'](_0x57d726(0x160),()=>{const _0x6e02b=_0x57d726;this[_0x6e02b(0x16f)][_0x6e02b(0x10e)][_0x6e02b(0x175)]||this[_0x6e02b(0x16f)][_0x6e02b(0x10e)][_0x6e02b(0x176)]();}),this[_0x57d726(0x124)][_0x57d726(0x133)][_0x57d726(0x156)][_0x57d726(0x125)]['on'](_0x57d726(0x1b5),()=>{const _0x43ad95=_0x57d726;this[_0x43ad95(0x16f)][_0x43ad95(0x10e)][_0x43ad95(0x175)]||this[_0x43ad95(0x16f)][_0x43ad95(0x10e)][_0x43ad95(0x176)]();}),this[_0x57d726(0x17b)](this[_0x57d726(0x124)],_0x57d726(0x16e),()=>{const _0x572019=_0x57d726;_0x1138fa[_0x572019(0x14a)](this[_0x572019(0x114)][_0x572019(0x11d)]),this[_0x572019(0x15d)]();}),this[_0x57d726(0x17b)](this[_0x57d726(0x124)],_0x57d726(0x18a),()=>{const _0x304972=_0x57d726;_0x1138fa[_0x304972(0x18a)](this[_0x304972(0x114)][_0x304972(0x11d)]),this[_0x304972(0x15d)]();}),this[_0x57d726(0x196)]();}[_0xe14aab(0x196)](){const _0x473929=_0xe14aab,{locale:_0x129937,ui:{ariaLiveAnnouncer:_0x5e7d91}}=this[_0x473929(0x113)];this[_0x473929(0x124)][_0x473929(0x19e)]['on'](_0x473929(0x154),(_0x2204a4,_0x4e3302,_0x4e190c)=>{const _0x5559cc=_0x473929,_0x37c919=this[_0x5559cc(0x114)][_0x5559cc(0x11d)];_0x4e190c?_0x5e7d91[_0x5559cc(0x128)](_0x54ffa6(_0x129937,_0x5559cc(0x19b))):_0x37c919&&_0x5e7d91[_0x5559cc(0x128)](_0x54ffa6(_0x129937,_0x5559cc(0x138),_0x37c919),{'politeness':_0x5559cc(0x11a),'isUnsafeHTML':!0x0});}),this[_0x473929(0x124)]['on'](_0x473929(0x111),(_0x11fdb3,_0x221bb1,_0x1d8e70)=>{const _0x4759f0=_0x473929;if(_0x1d8e70){const _0x222f18=this[_0x4759f0(0x124)][_0x4759f0(0x189)][_0x4759f0(0x137)];_0x5e7d91[_0x4759f0(0x128)](_0x54ffa6(_0x129937,_0x4759f0(0x19a),_0x222f18));}});}[_0xe14aab(0x10b)](_0x6ec913){const _0x333cf1=_0xe14aab,_0x3b156e=this[_0x333cf1(0x12c)][_0x333cf1(0x136)](_0x6ec913),_0x148686=this[_0x333cf1(0x113)],_0x27a61d=_0x148686[_0x333cf1(0x184)][_0x333cf1(0x181)][_0x333cf1(0x11b)],_0x291003=_0x148686[_0x333cf1(0x1a4)][_0x333cf1(0x136)](_0x333cf1(0x1a6)),_0x62924a=_0x148686[_0x333cf1(0x1b2)][_0x333cf1(0x136)](_0x20d297),_0x91222a=''+(_0x3b156e[_0x333cf1(0x18d)]!==_0x245d00?_0x3b156e[_0x333cf1(0x171)]+':\x20':'')+_0x3b156e[_0x333cf1(0x19d)];if(!0x1!==_0x3b156e[_0x333cf1(0x1b6)]&&_0x27a61d[_0x333cf1(0x155)]){const _0x2065d0=_0x44ba26(_0x27a61d[_0x333cf1(0x126)]())||_0x148686[_0x333cf1(0x184)][_0x333cf1(0x16b)][_0x333cf1(0x1af)](_0x27a61d);_0x148686[_0x333cf1(0x184)][_0x333cf1(0x14c)](_0x177397=>{const _0x57af82=_0x333cf1;_0x177397[_0x57af82(0x1b4)](_0x2065d0,'in');});}_0x62924a[_0x333cf1(0x158)](),_0x291003[_0x333cf1(0x134)](_0x3b156e[_0x333cf1(0x16c)],_0x91222a,_0x333cf1(0x193)+_0x6ec913);}[_0xe14aab(0x198)](_0x30aaa7,_0x443bfc,_0x44cfd3,_0x1cff3e){const _0x4d833d=_0xe14aab,_0xaf4361=this[_0x4d833d(0x113)],_0x51af18=_0xaf4361[_0x4d833d(0x169)],_0x47be9e=new _0x4e8a2b(_0x51af18),_0x46bbbb=B(_0xaf4361,_0x44cfd3)[_0x4d833d(0x1bb)](_0x4c4686=>_0x4c4686[_0x4d833d(0x1a4)][_0x4d833d(0x177)]);0x1===_0x46bbbb[_0x4d833d(0x177)]?this[_0x4d833d(0x1a0)]({'command':_0x30aaa7,'commands':_0x46bbbb[0x0][_0x4d833d(0x1a4)],'parentMenuView':_0x443bfc,'onExecute':_0x1cff3e})[_0x4d833d(0x115)](_0x513be6=>_0x47be9e[_0x4d833d(0x19c)][_0x4d833d(0x1a7)](_0x513be6)):_0x46bbbb[_0x4d833d(0x115)](({groupId:_0xff0d6a,groupLabel:_0x28ddf3,commands:_0xf936de})=>{const _0x5a0ba8=_0x4d833d,_0x2a25b9=new _0x5db70e(_0x51af18,_0x443bfc),_0x860720=new _0x326110(_0x51af18),_0x488d33=new _0x4e8a2b(_0x51af18),_0x175d61=this[_0x5a0ba8(0x1a0)]({'command':_0x30aaa7,'commands':_0xf936de,'parentMenuView':_0x860720,'onExecute':_0x1cff3e});_0x860720[_0x5a0ba8(0x1a3)][_0x5a0ba8(0x144)]({'label':_0x28ddf3||_0xff0d6a}),_0x860720[_0x5a0ba8(0x161)](_0x5a0ba8(0x134))['to'](_0x443bfc),_0x488d33[_0x5a0ba8(0x19c)][_0x5a0ba8(0x172)](_0x175d61),_0x860720[_0x5a0ba8(0x153)][_0x5a0ba8(0x129)][_0x5a0ba8(0x1a7)](_0x488d33),_0x2a25b9[_0x5a0ba8(0x129)][_0x5a0ba8(0x1a7)](_0x860720),_0x47be9e[_0x5a0ba8(0x19c)][_0x5a0ba8(0x1a7)](_0x2a25b9);}),_0x443bfc[_0x4d833d(0x153)][_0x4d833d(0x129)][_0x4d833d(0x1a7)](_0x47be9e);}[_0xe14aab(0x1a0)]({command:_0x5c31b2,commands:_0x3d8fba,parentMenuView:_0x192342,onExecute:_0x221c0e}){const _0x381d4b=_0xe14aab,_0x463908=this[_0x381d4b(0x113)],_0x6fa25e=_0x463908[_0x381d4b(0x169)];return B(_0x463908,_0x3d8fba)[_0x381d4b(0x13c)](_0x499e4c=>{const _0x2763cd=_0x381d4b,_0x4f6e40=new _0x5db70e(_0x6fa25e,_0x192342),_0x192540=new _0x31816a(_0x6fa25e);return _0x192540[_0x2763cd(0x144)]({'label':_0x499e4c[_0x2763cd(0x19d)]}),_0x192540[_0x2763cd(0x161)](_0x2763cd(0x134))['to'](_0x192342),_0x192540['on'](_0x2763cd(0x134),()=>_0x221c0e(_0x499e4c['id'])),_0x192540[_0x2763cd(0x18f)](_0x2763cd(0x1ab))['to'](_0x5c31b2,_0x2763cd(0x164),_0x25847c=>_0x25847c[_0x2763cd(0x1ad)](_0x499e4c['id'])),_0x4f6e40[_0x2763cd(0x129)][_0x2763cd(0x1a7)](_0x192540),_0x4f6e40;});}}function _(_0x3efe0c,_0x312bbe){const _0x147c2f=_0xe14aab;return void 0x0!==_0x3efe0c[_0x147c2f(0x140)]&&void 0x0===_0x312bbe[_0x147c2f(0x140)]?0x1:void 0x0===_0x3efe0c[_0x147c2f(0x140)]&&void 0x0!==_0x312bbe[_0x147c2f(0x140)]?-0x1:void 0x0!==_0x3efe0c[_0x147c2f(0x140)]&&void 0x0!==_0x312bbe[_0x147c2f(0x140)]?_0x3efe0c[_0x147c2f(0x140)]-_0x312bbe[_0x147c2f(0x140)]:0x0;}function B(_0x47f84f,_0x10f100){const _0x58dab1=_0xe14aab;_0x10f100[_0x58dab1(0x151)](_);const _0x583fec={},_0x4e0d4b=[];for(const _0x53a48f of _0x10f100)if(void 0x0!==_0x53a48f[_0x58dab1(0x140)]){if(_0x53a48f[_0x58dab1(0x140)]in _0x583fec)throw new _0x4f7f63(_0x58dab1(0x18c),_0x47f84f,{'conflictingDefinitions':[_0x53a48f,_0x583fec[_0x53a48f[_0x58dab1(0x140)]]]});_0x583fec[_0x53a48f[_0x58dab1(0x140)]]=_0x53a48f,_0x4e0d4b[_0x58dab1(0x123)](_0x53a48f[_0x58dab1(0x140)],0x0,_0x53a48f);}else _0x4e0d4b[_0x58dab1(0x12d)](_0x53a48f);return _0x4e0d4b;}
|
|
23
|
+
function _0x293b(_0x3ae108,_0x205e64){const _0x5434ca=_0x5434();return _0x293b=function(_0x293b34,_0xb4fb0){_0x293b34=_0x293b34-0x1de;let _0x34baf6=_0x5434ca[_0x293b34];return _0x34baf6;},_0x293b(_0x3ae108,_0x205e64);}const _0x3be495=_0x293b;(function(_0x101d2,_0x188ad4){const _0x257767=_0x293b,_0x50973d=_0x101d2();while(!![]){try{const _0x48bfaa=-parseInt(_0x257767(0x216))/0x1+parseInt(_0x257767(0x23b))/0x2+parseInt(_0x257767(0x284))/0x3+parseInt(_0x257767(0x22e))/0x4*(-parseInt(_0x257767(0x26d))/0x5)+parseInt(_0x257767(0x205))/0x6+parseInt(_0x257767(0x271))/0x7+-parseInt(_0x257767(0x285))/0x8;if(_0x48bfaa===_0x188ad4)break;else _0x50973d['push'](_0x50973d['shift']());}catch(_0x58c8dc){_0x50973d['push'](_0x50973d['shift']());}}}(_0x5434,0xd71cd));import{Plugin as _0x5cfe13}from'ckeditor5/src/core.js';import{first as _0x3c34be,CKEditorError as _0x285dd4}from'ckeditor5/src/utils.js';import{createDropdown as _0x28978b,addMenuToDropdown as _0x3aaa6d,ButtonView as _0x69ce14,MenuBarMenuListItemButtonView as _0xd6e9bc,Dialog as _0x3b9f09,DialogViewPosition as _0x96f29b,MenuBarMenuView as _0x67c65d,MenuBarMenuListView as _0x1a089e,MenuBarMenuListItemView as _0x11cabf}from'ckeditor5/src/ui.js';import{icons as _0x63cccd}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x5e238a,UNGROUPED_COMMANDS_GROUP_ID as _0x5dcd55}from'./utils/normalizecommandsconfig.js';import _0x17ad1c from'./aiassistantediting.js';import _0x445517 from'./adapters/aiadapter.js';import{getTranslation as _0x5c2f5b}from'./utils/common-translations.js';import _0x563b9c from'./ui/showaiassistantcommand.js';import _0x926bbc from'./ui/aiassistantcontroller.js';import _0x3e5fa5 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x57b17e}from'./ui/form/aiformtoolbarview.js';import _0x3cff36 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x3be495(0x1fc)];function _0x5434(){const _0x1c3659=['ck-ai-commands-dropdown\x20','_forceMarkersCopy','developmentLimit','expired','DataTransfer','hideUI','replaceContent','fire','requires','ai-commands-config-order-collision','destroy','getLimitElement','text','8845470SCkLHO','init','fieldView','schema','showUI','ck-ai-assistant-button\x20','copy','prompt','aiLicenseKeyUsageLimit','EDITOR_TOP_SIDE','ai.useTheme','invalid','wasMoved','_populateMenuBarMenu','document','hideFakeVisualSelection','showFakeVisualSelection','1752ImHtnc','aiLicenseKeyTrialLimit','isFlat','filter','_initView','get','isOn','change:isProcessing','setSelection','define','splice','componentFactory','pluginName','groupLabel','once','items','model','showAIAssistant','reset','updatePosition','change','hide','_aiAssistantController','editing','668ttbuLe','menuView','forEach','enabledCommandsIds','locale','<p>','AI\x20Commands','config','buttons','set','polite','INSERT','aiLicenseKeyExpired','856858ffPTLp','update','panelView','push','AI\x20is\x20writing','rawHtml','comment','focus','execute','ck-ai-assistant-ui','aiCommands','length','media','listenTo','map','AIAssistantUI','AI\x20Assistant','groupId','evaluationLimit','isOfficialPlugin','tableOfContents','aiLicenseKeyValid','currentContext','Error\x20during\x20AI\x20content\x20generation:\x20%0','trim','includes','addMany','source','getRanges','change:isError','featureNotAllowed','menuPanelClass','text/html','Generated\x20content:\x20%0','_showLicenseError','ai.aiAssistant.contentAreaCssClass','AIAssistant','plugins','_getMenuBarGroupButtons','aiLicenseKeyDevelopmentLimit','menuitemcheckbox','errorView','_initAriaAiStatusChangeAnnouncements','robotPencil','selection','isCollapsed','aiLicenseKeyInvalid','menuBar:aiCommands','isPremiumPlugin','from','26915OVnhhr','aiLicenseKeyEvaluationLimit','promptView','change:enabledCommandsIds','5717705bzKJuP','updateView','view','custom','body','command:','render','bind','getData','textAdapter','_uiCssClasses','getSelectedBlocks','values','aiLicenseKeyDomainLimit','_onExecute','buttonView','ai.aiAssistant.commands','insertContentBelow','editor','4566348wtLeGq','19678328mcnAMv','contentArea','delegate','sort','getSelectedElement','usageLimit','commands','</p>','aiLicenseKeyNotAllowed','trialLimit','licenseKey','insertContent','REPLACE','ai.aiAssistant.disabledElements','replace','menuBar:aiAssistant','_commandDefinitions','_getResolvedCommandsDefinitions','announce','isEnabled','domainLimit','children','_aiAdapter','order','_formView','_createAIAssistantUIButton','requiresContent','aiAssistant','queryView','label','add','_licenseKeyCheckInterval','show','_dialog','\x20ck-ai-assistant-ui_theme','change:value'];_0x5434=function(){return _0x1c3659;};return _0x5434();}import{ClipboardMarkersUtils as _0x30cb8d}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3bfb41,DataTransfer as _0xe24153}from'ckeditor5/src/engine.js';export default class n extends _0x5cfe13{static get[_0x3be495(0x222)](){const _0x377dad=_0x3be495;return _0x377dad(0x24a);}static get[_0x3be495(0x24e)](){return!0x0;}static get[_0x3be495(0x26b)](){return!0x0;}static get[_0x3be495(0x200)](){return[_0x30cb8d,_0x17ad1c,_0x445517,_0x3b9f09];}constructor(_0x4f54c4){const _0x490a98=_0x3be495;super(_0x4f54c4),this[_0x490a98(0x27b)]='',_0x4f54c4[_0x490a98(0x235)][_0x490a98(0x21f)](_0x490a98(0x1e1),[_0x490a98(0x247),_0x490a98(0x240),_0x490a98(0x24f)]),_0x4f54c4[_0x490a98(0x235)][_0x490a98(0x21f)](_0x490a98(0x25e),''),_0x4f54c4[_0x490a98(0x235)][_0x490a98(0x21f)](_0x490a98(0x20f),!0x0),this[_0x490a98(0x27b)]=_0x490a98(0x244)+(_0x4f54c4[_0x490a98(0x235)][_0x490a98(0x21b)](_0x490a98(0x20f))?_0x490a98(0x1f6):'');}[_0x3be495(0x206)](){const _0x1a0a39=_0x3be495,{editor:_0xdffeb4}=this;this[_0x1a0a39(0x1ea)]=_0xdffeb4[_0x1a0a39(0x260)][_0x1a0a39(0x21b)](_0x445517),this[_0x1a0a39(0x1f5)]=_0xdffeb4[_0x1a0a39(0x260)][_0x1a0a39(0x21b)](_0x3b9f09),this[_0x1a0a39(0x1ec)]=null,this[_0x1a0a39(0x1e4)]=this[_0x1a0a39(0x1e5)]();const _0x4febc3=new _0x563b9c(_0xdffeb4,Array[_0x1a0a39(0x26c)](this[_0x1a0a39(0x1e4)][_0x1a0a39(0x27d)]()));_0xdffeb4[_0x1a0a39(0x28b)][_0x1a0a39(0x1f2)](_0x1a0a39(0x227),_0x4febc3),_0xdffeb4['ui'][_0x1a0a39(0x221)][_0x1a0a39(0x1f2)](_0x1a0a39(0x245),_0x32192c=>{const _0x1d8476=_0x1a0a39,_0x2a2d62=_0x28978b(_0x32192c);return _0x2a2d62[_0x1d8476(0x237)]({'class':_0x1d8476(0x1f8)+this[_0x1d8476(0x27b)]}),_0x2a2d62[_0x1d8476(0x280)][_0x1d8476(0x237)]({'label':_0x5c2f5b(_0x32192c,_0x1d8476(0x234)),'icon':_0x3cff36,'tooltip':!0x0}),_0x2a2d62['on'](_0x1d8476(0x243),_0x5c0ca8=>this[_0x1d8476(0x27f)](_0x5c0ca8[_0x1d8476(0x256)]['id'])),_0x3aaa6d(_0x2a2d62,_0xdffeb4['ui'][_0x1d8476(0x273)][_0x1d8476(0x275)],function(_0x32be51){const _0x11cb77=_0x1d8476,_0x30519a=_0x5e238a(_0x32be51[_0x11cb77(0x235)][_0x11cb77(0x21b)](_0x11cb77(0x281)),_0x32be51[_0x11cb77(0x232)]),_0x45841e=B(_0x32be51,_0x30519a)[_0x11cb77(0x219)](_0x20e143=>_0x20e143[_0x11cb77(0x28b)][_0x11cb77(0x246)]);if(0x1===_0x45841e[_0x11cb77(0x246)])return B(_0x32be51,_0x45841e[0x0][_0x11cb77(0x28b)])[_0x11cb77(0x249)](_0x26be66=>({'id':_0x26be66['id'],'label':_0x26be66[_0x11cb77(0x1f1)]}));return _0x45841e[_0x11cb77(0x249)](_0x5be88d=>{const _0x507379=_0x11cb77,{groupId:_0x351892,groupLabel:_0x4c1b8d,commands:_0x4eace1}=_0x5be88d,_0x5da2a6=B(_0x32be51,_0x4eace1)[_0x507379(0x249)](_0x55a2ca=>({'id':_0x55a2ca['id'],'label':_0x55a2ca[_0x507379(0x1f1)]}));return{'id':_0x351892,'menu':_0x4c1b8d||_0x351892,'children':_0x5da2a6};});}(_0xdffeb4),{'ariaLabel':_0x5c2f5b(_0x32192c,_0x1d8476(0x234))}),_0x2a2d62[_0x1d8476(0x22f)][_0x1d8476(0x25a)]=_0x1d8476(0x1f8)+this[_0x1d8476(0x27b)],_0x4febc3['on'](_0x1d8476(0x270),_0x4b9706),_0x2a2d62[_0x1d8476(0x22f)][_0x1d8476(0x224)](_0x1d8476(0x277),_0x4b9706),_0x2a2d62;function _0x4b9706(){const _0x54ce74=_0x1d8476;_0x2a2d62[_0x54ce74(0x1e7)]=_0x4febc3[_0x54ce74(0x231)][_0x54ce74(0x246)]>0x0;for(const _0x2cbcb7 of _0x2a2d62[_0x54ce74(0x22f)][_0x54ce74(0x236)])_0x2cbcb7[_0x54ce74(0x1e7)]=_0x4febc3[_0x54ce74(0x231)][_0x54ce74(0x254)](_0x2cbcb7['id']);}}),_0xdffeb4['ui'][_0x1a0a39(0x221)][_0x1a0a39(0x1f2)](_0x1a0a39(0x26a),_0x23a9a7=>{const _0x47c276=_0x1a0a39,_0x4d4f17=new _0x67c65d(_0x23a9a7);_0x4d4f17[_0x47c276(0x280)][_0x47c276(0x237)]({'label':_0x5c2f5b(_0x23a9a7,_0x47c276(0x234)),'icon':_0x3cff36}),_0x4d4f17[_0x47c276(0x278)](_0x47c276(0x1e7))['to'](_0x4febc3,_0x47c276(0x231),_0x2a5c66=>_0x2a5c66[_0x47c276(0x246)]>0x0);const _0x479930=_0x5e238a(_0xdffeb4[_0x47c276(0x235)][_0x47c276(0x21b)](_0x47c276(0x281)),_0x23a9a7);return this[_0x47c276(0x212)](_0x4febc3,_0x4d4f17,_0x479930,_0x4efed7=>this[_0x47c276(0x27f)](_0x4efed7)),_0x4d4f17;}),_0xdffeb4['ui'][_0x1a0a39(0x221)][_0x1a0a39(0x1f2)](_0x1a0a39(0x1ef),()=>{const _0x3674b1=_0x1a0a39,_0x5c0a01=this[_0x3674b1(0x1ed)](_0x69ce14);return _0x5c0a01[_0x3674b1(0x237)]({'tooltip':!0x0,'class':_0x3674b1(0x20a)+this[_0x3674b1(0x27b)]}),_0x5c0a01;}),_0xdffeb4['ui'][_0x1a0a39(0x221)][_0x1a0a39(0x1f2)](_0x1a0a39(0x1e3),()=>{const _0x27b003=_0x1a0a39,_0x10e448=this[_0x27b003(0x1ed)](_0xd6e9bc);return _0x10e448[_0x27b003(0x237)]({'role':_0x27b003(0x263)}),_0x10e448;}),this[_0x1a0a39(0x1de)]=this[_0x1a0a39(0x283)][_0x1a0a39(0x235)][_0x1a0a39(0x21b)](_0x1a0a39(0x1de));const _0x3188d3=this[_0x1a0a39(0x283)];this[_0x1a0a39(0x1f3)]=setInterval(()=>{const _0x1c8fb7=_0x1a0a39;let _0x341600;for(const _0x3986fe in _0x3188d3){const _0x56808d=_0x3986fe,_0x406519=_0x3188d3[_0x56808d];if(_0x1c8fb7(0x250)==_0x406519||_0x1c8fb7(0x269)==_0x406519||_0x1c8fb7(0x23a)==_0x406519||_0x1c8fb7(0x27e)==_0x406519||_0x1c8fb7(0x28d)==_0x406519||_0x1c8fb7(0x26e)==_0x406519||_0x1c8fb7(0x217)==_0x406519||_0x1c8fb7(0x262)==_0x406519||_0x1c8fb7(0x20d)==_0x406519){delete _0x3188d3[_0x56808d],_0x341600=_0x406519,clearInterval(this[_0x1c8fb7(0x1f3)]),this[_0x1c8fb7(0x1f3)]=void 0x0;break;}}_0x1c8fb7(0x269)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x210)),_0x1c8fb7(0x23a)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x1fb)),_0x1c8fb7(0x27e)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x1e8)),_0x1c8fb7(0x28d)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x259),_0x1c8fb7(0x25f)),_0x1c8fb7(0x26e)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x24d)),_0x1c8fb7(0x217)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x28e)),_0x1c8fb7(0x262)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x1fa)),_0x1c8fb7(0x20d)==_0x341600&&_0x3188d3[_0x1c8fb7(0x25d)](_0x1c8fb7(0x28a));},0x3e8);}[_0x3be495(0x202)](){const _0x54677f=_0x3be495;super[_0x54677f(0x202)](),this[_0x54677f(0x1f3)]&&clearInterval(this[_0x54677f(0x1f3)]);}[_0x3be495(0x209)](_0x2a7fed='',_0x52dcbd='',_0x3acd1d=_0x3be495(0x274)){const _0x3b1aee=_0x3be495,_0x886be7=this[_0x3b1aee(0x283)],_0x460d64=_0x886be7[_0x3b1aee(0x22d)][_0x3b1aee(0x273)],_0x36723d=_0x886be7[_0x3b1aee(0x260)][_0x3b1aee(0x21b)](_0x17ad1c),_0x22f06a=_0x886be7[_0x3b1aee(0x260)][_0x3b1aee(0x21b)](_0x30cb8d);_0x36723d[_0x3b1aee(0x215)]();const _0x3d2fb2=new j(),_0x2c42e7=new ClipboardEvent(_0x3b1aee(0x20b),{'clipboardData':_0x3d2fb2}),_0x51bec4=new _0xe24153(_0x3d2fb2),_0x410327=new _0x3bfb41(_0x460d64,_0x2c42e7,{'dataTransfer':_0x51bec4});_0x22f06a[_0x3b1aee(0x1f9)](_0x3b1aee(0x241),()=>{const _0x15c664=_0x3b1aee;_0x460d64[_0x15c664(0x213)][_0x15c664(0x1ff)](_0x15c664(0x20b),_0x410327);}),this[_0x3b1aee(0x1ec)]||(this[_0x3b1aee(0x21a)](),this[_0x3b1aee(0x22c)]=new _0x926bbc(_0x886be7,this[_0x3b1aee(0x1ea)][_0x3b1aee(0x27a)],this[_0x3b1aee(0x1ec)]));let _0x5dd25a=_0x51bec4[_0x3b1aee(0x279)](_0x3b1aee(0x25b));const _0x572bf7=_0x886be7[_0x3b1aee(0x226)][_0x3b1aee(0x213)][_0x3b1aee(0x267)],_0x2d589f=Array[_0x3b1aee(0x26c)](_0x572bf7[_0x3b1aee(0x257)]());0x1===_0x2d589f[_0x3b1aee(0x246)]&&_0x2d589f[0x0][_0x3b1aee(0x218)]&&!_0x572bf7[_0x3b1aee(0x289)]()&&''!==_0x5dd25a[_0x3b1aee(0x1e2)](/ /g,'')[_0x3b1aee(0x253)]()&&(_0x5dd25a=_0x3b1aee(0x233)+_0x5dd25a+_0x3b1aee(0x28c)),this[_0x3b1aee(0x22c)][_0x3b1aee(0x272)]({'actionId':_0x3acd1d,'query':_0x2a7fed,'htmlContent':_0x5dd25a,'label':_0x52dcbd,'mainActionLabel':_0x57b17e[_0x886be7[_0x3b1aee(0x226)][_0x3b1aee(0x213)][_0x3b1aee(0x267)][_0x3b1aee(0x268)]?_0x3b1aee(0x239):_0x3b1aee(0x1e0)]}),_0x3b1aee(0x1ef)!==this[_0x3b1aee(0x1f5)]['id']?this[_0x3b1aee(0x1f5)][_0x3b1aee(0x1f4)]({'id':_0x3b1aee(0x1ef),'icon':_0x63cccd[_0x3b1aee(0x266)],'title':_0x5c2f5b(this[_0x3b1aee(0x283)][_0x3b1aee(0x232)],_0x3b1aee(0x24b)),'content':this[_0x3b1aee(0x1ec)],'position':_0x96f29b[_0x3b1aee(0x20e)],'onShow':()=>{const _0x382080=_0x3b1aee;this[_0x382080(0x1ec)][_0x382080(0x242)]();},'onHide':()=>{const _0x3e4a88=_0x3b1aee;this[_0x3e4a88(0x22c)][_0x3e4a88(0x228)](),_0x36723d[_0x3e4a88(0x214)]();}}):this[_0x3b1aee(0x1f5)][_0x3b1aee(0x273)][_0x3b1aee(0x211)]||this[_0x3b1aee(0x1f5)][_0x3b1aee(0x273)][_0x3b1aee(0x229)]();}[_0x3be495(0x1fd)](){const _0x4bb1ab=_0x3be495;this[_0x4bb1ab(0x1f5)][_0x4bb1ab(0x22b)]();}[_0x3be495(0x1e5)](){const _0x377f90=_0x3be495,_0x3d4a9e=new Map(),_0x34eb84=_0x5e238a(this[_0x377f90(0x283)][_0x377f90(0x235)][_0x377f90(0x21b)](_0x377f90(0x281)),this[_0x377f90(0x283)][_0x377f90(0x232)]);for(const _0x3b37d7 of _0x34eb84)for(const _0x45f3b3 of _0x3b37d7[_0x377f90(0x28b)])_0x3d4a9e[_0x377f90(0x237)](_0x45f3b3['id'],{..._0x45f3b3,'groupId':_0x3b37d7[_0x377f90(0x24c)],'groupLabel':_0x3b37d7[_0x377f90(0x223)]||_0x3b37d7[_0x377f90(0x24c)]});return _0x3d4a9e;}[_0x3be495(0x1ed)](_0x1baae1){const _0x5ae252=_0x3be495,_0x1afa7b=this[_0x5ae252(0x283)],_0x62a3d1=_0x1afa7b[_0x5ae252(0x28b)][_0x5ae252(0x21b)](_0x5ae252(0x227)),_0xaca8f4=new _0x1baae1(_0x1afa7b[_0x5ae252(0x232)]);return _0xaca8f4[_0x5ae252(0x237)]({'label':_0x5c2f5b(_0x1afa7b[_0x5ae252(0x232)],_0x5ae252(0x24b)),'icon':_0x63cccd[_0x5ae252(0x266)],'isToggleable':!0x0}),_0xaca8f4[_0x5ae252(0x278)](_0x5ae252(0x1e7))['to'](_0x62a3d1),_0xaca8f4[_0x5ae252(0x278)](_0x5ae252(0x21c))['to'](this[_0x5ae252(0x1f5)],'id',_0x1ba37a=>_0x5ae252(0x1ef)===_0x1ba37a),this[_0x5ae252(0x248)](_0xaca8f4,_0x5ae252(0x243),()=>{const _0x1a7ec8=_0x5ae252;_0xaca8f4[_0x1a7ec8(0x21c)]?this[_0x1a7ec8(0x1fd)]():_0x62a3d1[_0x1a7ec8(0x243)]();}),_0xaca8f4;}[_0x3be495(0x21a)](){const _0x320617=_0x3be495,_0x288fcd=this[_0x320617(0x283)][_0x320617(0x260)][_0x320617(0x21b)](_0x17ad1c);this[_0x320617(0x1ec)]=new _0x3e5fa5(this[_0x320617(0x283)][_0x320617(0x232)],this[_0x320617(0x27b)],this[_0x320617(0x283)][_0x320617(0x235)][_0x320617(0x21b)](_0x320617(0x25e))),this[_0x320617(0x1ec)]['on'](_0x320617(0x1f7),()=>{const _0x43b8d9=_0x320617;this[_0x43b8d9(0x1f5)][_0x43b8d9(0x273)][_0x43b8d9(0x211)]||this[_0x43b8d9(0x1f5)][_0x43b8d9(0x273)][_0x43b8d9(0x229)]();}),this[_0x320617(0x1ec)][_0x320617(0x26f)][_0x320617(0x1f0)][_0x320617(0x207)]['on'](_0x320617(0x23c),()=>{const _0x4e4fd2=_0x320617;this[_0x4e4fd2(0x1f5)][_0x4e4fd2(0x273)][_0x4e4fd2(0x211)]||this[_0x4e4fd2(0x1f5)][_0x4e4fd2(0x273)][_0x4e4fd2(0x229)]();}),this[_0x320617(0x248)](this[_0x320617(0x1ec)],_0x320617(0x1fe),()=>{const _0x458659=_0x320617;_0x288fcd[_0x458659(0x1df)](this[_0x458659(0x22c)][_0x458659(0x251)]),this[_0x458659(0x1fd)]();}),this[_0x320617(0x248)](this[_0x320617(0x1ec)],_0x320617(0x282),()=>{const _0x1b76d2=_0x320617;_0x288fcd[_0x1b76d2(0x282)](this[_0x1b76d2(0x22c)][_0x1b76d2(0x251)]),this[_0x1b76d2(0x1fd)]();}),this[_0x320617(0x265)]();}[_0x3be495(0x265)](){const _0x416966=_0x3be495,{locale:_0x1aaad9,ui:{ariaLiveAnnouncer:_0x23e1e3}}=this[_0x416966(0x283)];this[_0x416966(0x1ec)][_0x416966(0x286)]['on'](_0x416966(0x21d),(_0x26aa10,_0x4381c2,_0x1354ba)=>{const _0x39753a=_0x416966,_0x5947d8=this[_0x39753a(0x22c)][_0x39753a(0x251)];_0x1354ba?_0x23e1e3[_0x39753a(0x1e6)](_0x5c2f5b(_0x1aaad9,_0x39753a(0x23f))):_0x5947d8&&_0x23e1e3[_0x39753a(0x1e6)](_0x5c2f5b(_0x1aaad9,_0x39753a(0x25c),_0x5947d8),{'politeness':_0x39753a(0x238),'isUnsafeHTML':!0x0});}),this[_0x416966(0x1ec)]['on'](_0x416966(0x258),(_0x25e137,_0xafb850,_0x350e0b)=>{const _0x4c3ba0=_0x416966;if(_0x350e0b){const _0x2d8008=this[_0x4c3ba0(0x1ec)][_0x4c3ba0(0x264)][_0x4c3ba0(0x204)];_0x23e1e3[_0x4c3ba0(0x1e6)](_0x5c2f5b(_0x1aaad9,_0x4c3ba0(0x252),_0x2d8008));}});}[_0x3be495(0x27f)](_0x5136e7){const _0x50dd7f=_0x3be495,_0x4d1d9a=this[_0x50dd7f(0x1e4)][_0x50dd7f(0x21b)](_0x5136e7),_0xd58b31=this[_0x50dd7f(0x283)],_0x371175=_0xd58b31[_0x50dd7f(0x226)][_0x50dd7f(0x213)][_0x50dd7f(0x267)],_0x1c7a48=_0xd58b31[_0x50dd7f(0x28b)][_0x50dd7f(0x21b)](_0x50dd7f(0x227)),_0x1a7673=_0xd58b31[_0x50dd7f(0x260)][_0x50dd7f(0x21b)](_0x17ad1c),_0x5a7a1e=''+(_0x4d1d9a[_0x50dd7f(0x24c)]!==_0x5dcd55?_0x4d1d9a[_0x50dd7f(0x223)]+':\x20':'')+_0x4d1d9a[_0x50dd7f(0x1f1)];if(!0x1!==_0x4d1d9a[_0x50dd7f(0x1ee)]&&_0x371175[_0x50dd7f(0x268)]){const _0x3ef07c=_0x3c34be(_0x371175[_0x50dd7f(0x27c)]())||_0xd58b31[_0x50dd7f(0x226)][_0x50dd7f(0x208)][_0x50dd7f(0x203)](_0x371175);_0xd58b31[_0x50dd7f(0x226)][_0x50dd7f(0x22a)](_0x3aac45=>{const _0x24b9d6=_0x50dd7f;_0x3aac45[_0x24b9d6(0x21e)](_0x3ef07c,'in');});}_0x1a7673[_0x50dd7f(0x215)](),_0x1c7a48[_0x50dd7f(0x243)](_0x4d1d9a[_0x50dd7f(0x20c)],_0x5a7a1e,_0x50dd7f(0x276)+_0x5136e7);}[_0x3be495(0x212)](_0x3c789e,_0x385a5c,_0x21a5e8,_0x3449e3){const _0x24da4a=_0x3be495,_0x550320=this[_0x24da4a(0x283)],_0x4cef2b=_0x550320[_0x24da4a(0x232)],_0x508609=new _0x1a089e(_0x4cef2b),_0x673cab=B(_0x550320,_0x21a5e8)[_0x24da4a(0x219)](_0x59de77=>_0x59de77[_0x24da4a(0x28b)][_0x24da4a(0x246)]);0x1===_0x673cab[_0x24da4a(0x246)]?this[_0x24da4a(0x261)]({'command':_0x3c789e,'commands':_0x673cab[0x0][_0x24da4a(0x28b)],'parentMenuView':_0x385a5c,'onExecute':_0x3449e3})[_0x24da4a(0x230)](_0x6fc60b=>_0x508609[_0x24da4a(0x225)][_0x24da4a(0x1f2)](_0x6fc60b)):_0x673cab[_0x24da4a(0x230)](({groupId:_0x102820,groupLabel:_0x4572e6,commands:_0x57908c})=>{const _0x59229c=_0x24da4a,_0x484c3b=new _0x11cabf(_0x4cef2b,_0x385a5c),_0x204d64=new _0x67c65d(_0x4cef2b),_0x4eeff4=new _0x1a089e(_0x4cef2b),_0x4e3290=this[_0x59229c(0x261)]({'command':_0x3c789e,'commands':_0x57908c,'parentMenuView':_0x204d64,'onExecute':_0x3449e3});_0x204d64[_0x59229c(0x280)][_0x59229c(0x237)]({'label':_0x4572e6||_0x102820}),_0x204d64[_0x59229c(0x287)](_0x59229c(0x243))['to'](_0x385a5c),_0x4eeff4[_0x59229c(0x225)][_0x59229c(0x255)](_0x4e3290),_0x204d64[_0x59229c(0x23d)][_0x59229c(0x1e9)][_0x59229c(0x1f2)](_0x4eeff4),_0x484c3b[_0x59229c(0x1e9)][_0x59229c(0x1f2)](_0x204d64),_0x508609[_0x59229c(0x225)][_0x59229c(0x1f2)](_0x484c3b);}),_0x385a5c[_0x24da4a(0x23d)][_0x24da4a(0x1e9)][_0x24da4a(0x1f2)](_0x508609);}[_0x3be495(0x261)]({command:_0x217c30,commands:_0x17c6b3,parentMenuView:_0x2c3199,onExecute:_0x12d416}){const _0x499c25=_0x3be495,_0x649f3f=this[_0x499c25(0x283)],_0x429751=_0x649f3f[_0x499c25(0x232)];return B(_0x649f3f,_0x17c6b3)[_0x499c25(0x249)](_0x1f83ac=>{const _0x3801d6=_0x499c25,_0x220d9e=new _0x11cabf(_0x429751,_0x2c3199),_0x5ecd20=new _0xd6e9bc(_0x429751);return _0x5ecd20[_0x3801d6(0x237)]({'label':_0x1f83ac[_0x3801d6(0x1f1)]}),_0x5ecd20[_0x3801d6(0x287)](_0x3801d6(0x243))['to'](_0x2c3199),_0x5ecd20['on'](_0x3801d6(0x243),()=>_0x12d416(_0x1f83ac['id'])),_0x5ecd20[_0x3801d6(0x278)](_0x3801d6(0x1e7))['to'](_0x217c30,_0x3801d6(0x231),_0x5ac555=>_0x5ac555[_0x3801d6(0x254)](_0x1f83ac['id'])),_0x220d9e[_0x3801d6(0x1e9)][_0x3801d6(0x1f2)](_0x5ecd20),_0x220d9e;});}}function _(_0x1f4f5e,_0x14332b){const _0x39251c=_0x3be495;return void 0x0!==_0x1f4f5e[_0x39251c(0x1eb)]&&void 0x0===_0x14332b[_0x39251c(0x1eb)]?0x1:void 0x0===_0x1f4f5e[_0x39251c(0x1eb)]&&void 0x0!==_0x14332b[_0x39251c(0x1eb)]?-0x1:void 0x0!==_0x1f4f5e[_0x39251c(0x1eb)]&&void 0x0!==_0x14332b[_0x39251c(0x1eb)]?_0x1f4f5e[_0x39251c(0x1eb)]-_0x14332b[_0x39251c(0x1eb)]:0x0;}function B(_0x158a8a,_0x140057){const _0x33ecf6=_0x3be495;_0x140057[_0x33ecf6(0x288)](_);const _0x1e66b2={},_0x5a7e01=[];for(const _0x2a786b of _0x140057)if(void 0x0!==_0x2a786b[_0x33ecf6(0x1eb)]){if(_0x2a786b[_0x33ecf6(0x1eb)]in _0x1e66b2)throw new _0x285dd4(_0x33ecf6(0x201),_0x158a8a,{'conflictingDefinitions':[_0x2a786b,_0x1e66b2[_0x2a786b[_0x33ecf6(0x1eb)]]]});_0x1e66b2[_0x2a786b[_0x33ecf6(0x1eb)]]=_0x2a786b,_0x5a7e01[_0x33ecf6(0x220)](_0x2a786b[_0x33ecf6(0x1eb)],0x0,_0x2a786b);}else _0x5a7e01[_0x33ecf6(0x23e)](_0x2a786b);return _0x5a7e01;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3f399d,_0x211984){var _0x3c2752=_0x145a,_0x531233=_0x3f399d();while(!![]){try{var _0x281a9f=-parseInt(_0x3c2752(0x168))/0x1*(-parseInt(_0x3c2752(0x165))/0x2)+parseInt(_0x3c2752(0x167))/0x3+parseInt(_0x3c2752(0x164))/0x4+-parseInt(_0x3c2752(0x166))/0x5+parseInt(_0x3c2752(0x169))/0x6+-parseInt(_0x3c2752(0x162))/0x7+-parseInt(_0x3c2752(0x16a))/0x8*(-parseInt(_0x3c2752(0x163))/0x9);if(_0x281a9f===_0x211984)break;else _0x531233['push'](_0x531233['shift']());}catch(_0x2c596a){_0x531233['push'](_0x531233['shift']());}}}(_0x5ce1,0x2ea9a));function _0x5ce1(){var _0x1360d0=['1600626hSsClG','366376fffSks','2616054jKwVyp','27YySdxZ','874932SzKHhH','2FoGWYB','1417780SlhjXQ','135657kDwuVI','180294zZZzok'];_0x5ce1=function(){return _0x1360d0;};return _0x5ce1();}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';function _0x145a(_0x44b5ce,_0xeec016){var _0x5ce119=_0x5ce1();return _0x145a=function(_0x145ad6,_0x5cfd10){_0x145ad6=_0x145ad6-0x162;var _0x335555=_0x5ce119[_0x145ad6];return _0x335555;},_0x145a(_0x44b5ce,_0xeec016);}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(_0xc86710,_0x44e6cb){var _0x3fd529=_0x12cf,_0x524d17=_0xc86710();while(!![]){try{var _0x870399=parseInt(_0x3fd529(0xd2))/0x1+parseInt(_0x3fd529(0xd0))/0x2*(-parseInt(_0x3fd529(0xd1))/0x3)+parseInt(_0x3fd529(0xd3))/0x4+-parseInt(_0x3fd529(0xd4))/0x5*(parseInt(_0x3fd529(0xd9))/0x6)+parseInt(_0x3fd529(0xd7))/0x7*(parseInt(_0x3fd529(0xcf))/0x8)+parseInt(_0x3fd529(0xd5))/0x9*(-parseInt(_0x3fd529(0xd6))/0xa)+parseInt(_0x3fd529(0xd8))/0xb;if(_0x870399===_0x44e6cb)break;else _0x524d17['push'](_0x524d17['shift']());}catch(_0x1f1b25){_0x524d17['push'](_0x524d17['shift']());}}}(_0x20fe,0x32411));function _0x20fe(){var _0x49d082=['14kMixuD','4307798FApBfv','36tZrZYJ','1108344KkrLaW','2WooMzk','26121tyTDKk','2449dATMIC','1018964VePwyS','319555hIQQxW','45dWfaIV','655760VzWPVS'];_0x20fe=function(){return _0x49d082;};return _0x20fe();}function _0x12cf(_0x2b8303,_0x242ea2){var _0x20feea=_0x20fe();return _0x12cf=function(_0x12cf4e,_0x37753c){_0x12cf4e=_0x12cf4e-0xcf;var _0x369974=_0x20feea[_0x12cf4e];return _0x369974;},_0x12cf(_0x2b8303,_0x242ea2);}import{CKEditorError as _0x584b84}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x1deaa1=_0x476c;function _0x476c(_0x58019f,_0x4d100e){const _0x407fff=_0x407f();return _0x476c=function(_0x476cf7,_0x23b611){_0x476cf7=_0x476cf7-0x6b;let _0x401cba=_0x407fff[_0x476cf7];return _0x401cba;},_0x476c(_0x58019f,_0x4d100e);}(function(_0x12e878,_0x5aa4e1){const _0x2a48ae=_0x476c,_0x367d15=_0x12e878();while(!![]){try{const _0x52bde4=-parseInt(_0x2a48ae(0x89))/0x1*(-parseInt(_0x2a48ae(0xc1))/0x2)+-parseInt(_0x2a48ae(0xa0))/0x3*(parseInt(_0x2a48ae(0x86))/0x4)+parseInt(_0x2a48ae(0xbf))/0x5+parseInt(_0x2a48ae(0x99))/0x6*(-parseInt(_0x2a48ae(0x82))/0x7)+-parseInt(_0x2a48ae(0xb5))/0x8+parseInt(_0x2a48ae(0x7a))/0x9*(-parseInt(_0x2a48ae(0x72))/0xa)+parseInt(_0x2a48ae(0xb9))/0xb*(parseInt(_0x2a48ae(0xb3))/0xc);if(_0x52bde4===_0x5aa4e1)break;else _0x367d15['push'](_0x367d15['shift']());}catch(_0x36e107){_0x367d15['push'](_0x367d15['shift']());}}}(_0x407f,0x7088a));import{ObservableMixin as _0x2ceacf}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1503fe}from'../adapters/aiadapter.js';import{Matcher as _0x3f6f90,UpcastWriter as _0x449017}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class C extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ceacf(){constructor(_0x5efdb2,_0x5d832c,_0xdc82eb){const _0x315e4d=_0x476c;super(),this[_0x315e4d(0x9e)]=_0x5efdb2,this[_0x315e4d(0xae)]=_0x5d832c,this[_0x315e4d(0x78)]=document[_0x315e4d(0xc5)](_0x315e4d(0xb7)),this[_0x315e4d(0xa1)]=new DOMParser(),this[_0x315e4d(0xca)]=new XMLSerializer(),this[_0x315e4d(0x79)]=_0xdc82eb,this[_0x315e4d(0xbe)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x315e4d(0xad),(_0x3064ee,_0x23aaaf,_0x110010)=>{const _0x23b4d7=_0x315e4d;this[_0x23b4d7(0x79)][_0x23b4d7(0xa6)]=this[_0x23b4d7(0xc3)](_0x110010);}),this[_0x315e4d(0x92)](this[_0x315e4d(0x79)],_0x315e4d(0x9c),(_0x5e2446,_0x199d16)=>{const _0x122e8c=_0x315e4d,_0x56ce2f=this[_0x122e8c(0x73)]||this[_0x122e8c(0xa8)];this[_0x122e8c(0x9f)](_0x199d16,_0x56ce2f,_0x122e8c(0x97));}),this[_0x315e4d(0x92)](this[_0x315e4d(0x79)],_0x315e4d(0xc0),()=>{const _0x5b0682=_0x315e4d;this[_0x5b0682(0x79)][_0x5b0682(0xaa)]=this[_0x5b0682(0xa9)],this[_0x5b0682(0x9f)](this[_0x5b0682(0xbb)],this[_0x5b0682(0xa4)],this[_0x5b0682(0x83)],this[_0x5b0682(0xa9)]);}),this[_0x315e4d(0x92)](this[_0x315e4d(0x79)],_0x315e4d(0x95),()=>{const _0x1b2bab=_0x315e4d;this[_0x1b2bab(0x95)]();});}[_0x1deaa1(0x8b)](){const _0x1e6a6f=_0x1deaa1;this[_0x1e6a6f(0x70)]();}async[_0x1deaa1(0x94)]({actionId:_0x5a17fc,query:_0x58601b,htmlContent:_0x58ad80,label:_0xb4aa05,mainActionLabel:_0x4c8b1e}){const _0x332126=_0x1deaa1;this[_0x332126(0x79)][_0x332126(0xaa)]=_0xb4aa05,this[_0x332126(0x79)][_0x332126(0xb6)]=_0x4c8b1e,this[_0x332126(0xa8)]=_0x58ad80,_0x58601b&&(this[_0x332126(0x79)][_0x332126(0xa7)]?this[_0x332126(0x9f)](_0x58601b,_0x58ad80,_0x5a17fc,_0xb4aa05):this[_0x332126(0x79)][_0x332126(0x77)](_0x332126(0x85),()=>{const _0x3decd7=_0x332126;this[_0x3decd7(0x9f)](_0x58601b,_0x58ad80,_0x5a17fc,_0xb4aa05);}));}[_0x1deaa1(0x95)](){const _0x12e363=_0x1deaa1;this[_0x12e363(0x7c)]&&(this[_0x12e363(0x7c)]=!0x1,this[_0x12e363(0x79)][_0x12e363(0xb4)](),this[_0x12e363(0xae)][_0x12e363(0x87)]());}[_0x1deaa1(0x6e)](){const _0x4b7d1e=_0x1deaa1;this[_0x4b7d1e(0xa8)]='',this[_0x4b7d1e(0x73)]='',this[_0x4b7d1e(0x9b)]='',this[_0x4b7d1e(0xa4)]='',this[_0x4b7d1e(0xbb)]='',this[_0x4b7d1e(0xa9)]='',this[_0x4b7d1e(0x83)]=void 0x0,this[_0x4b7d1e(0x79)][_0x4b7d1e(0x6e)](),this[_0x4b7d1e(0x95)]();}async[_0x1deaa1(0x9f)](_0x34b27f,_0x4453bb,_0x77b53,_0x1ac585){const _0xb65f7e=_0x1deaa1;return this[_0xb65f7e(0x7c)]=!0x0,this[_0xb65f7e(0x79)][_0xb65f7e(0xb8)](),this[_0xb65f7e(0xa4)]=_0x4453bb,this[_0xb65f7e(0xbb)]=_0x34b27f,this[_0xb65f7e(0xa9)]=_0x1ac585||_0x34b27f,this[_0xb65f7e(0x83)]=_0x77b53,new Promise(_0x4e7728=>{const _0x4e5dec=_0xb65f7e;this[_0x4e5dec(0xae)][_0x4e5dec(0xcb)]({'query':_0x34b27f,'context':_0x4453bb,'onData':_0x51f5ee=>{const _0x29960a=_0x4e5dec;this[_0x29960a(0x9b)]=_0x51f5ee,this[_0x29960a(0x73)]=this[_0x29960a(0x7d)](this[_0x29960a(0x9b)]);},'actionId':_0x77b53})[_0x4e5dec(0x6f)](()=>{const _0x468e12=_0x4e5dec;!this[_0x468e12(0x73)]&&this[_0x468e12(0x9b)]&&(this[_0x468e12(0x73)]=this[_0x468e12(0x7d)](this[_0x468e12(0x9b)],!0x0));})[_0x4e5dec(0x9d)](_0x3a161c=>{const _0x2478e2=_0x4e5dec;_0x3a161c instanceof _0x1503fe?this[_0x2478e2(0x79)][_0x2478e2(0x6b)](_0x3a161c[_0x2478e2(0x81)]):this[_0x2478e2(0x79)][_0x2478e2(0x6b)](),_0x4e7728();})[_0x4e5dec(0xa3)](()=>{const _0x581d08=_0x4e5dec;this[_0x581d08(0x95)](),_0x4e7728();});});}[_0x1deaa1(0x7d)](_0x424bb3,_0x49b1f5=!0x1){const _0x4a07bf=_0x1deaa1,_0x1a3cf0=Z[_0x4a07bf(0x6d)](_0x424bb3);_0x424bb3=_0x1a3cf0?_0x424bb3[_0x4a07bf(0x8c)](_0x1a3cf0[0x1][_0x4a07bf(0xc8)]):_0x424bb3[_0x4a07bf(0xc8)]<0x64&&!_0x49b1f5?'':this[_0x4a07bf(0x8f)](_0x424bb3);const _0x26c745=this[_0x4a07bf(0xa1)][_0x4a07bf(0x93)](_0x424bb3,_0x4a07bf(0xa2));if(_0x1a3cf0){const _0x41073f=Array[_0x4a07bf(0x96)](_0x26c745[_0x4a07bf(0xc6)][_0x4a07bf(0x6c)]);_0x41073f[_0x4a07bf(0x8e)]();for(const _0x2c8b8c of _0x41073f){if(_0x2c8b8c[_0x4a07bf(0x8a)]==Node[_0x4a07bf(0x7b)])break;_0x2c8b8c[_0x4a07bf(0xab)]();}}const _0x1b6315=this[_0x4a07bf(0x9e)][_0x4a07bf(0xb2)][_0x4a07bf(0x74)][_0x4a07bf(0x75)](this[_0x4a07bf(0xca)][_0x4a07bf(0x98)](_0x26c745[_0x4a07bf(0xc6)]));return this[_0x4a07bf(0xb1)]()||this[_0x4a07bf(0xac)](_0x1b6315),this[_0x4a07bf(0x9e)][_0x4a07bf(0xb2)][_0x4a07bf(0xbd)](this[_0x4a07bf(0x9e)][_0x4a07bf(0xb2)][_0x4a07bf(0x76)](_0x1b6315));}[_0x1deaa1(0xac)](_0x437b60){const _0x403a52=_0x1deaa1,_0x3f3b77=new _0x449017(this[_0x403a52(0x9e)][_0x403a52(0xb0)][_0x403a52(0x79)][_0x403a52(0xa5)]),_0x5defba=new _0x3f6f90({'name':/^h[1-5]$/}),_0x1b459c=[];let _0x3940f5=!0x1;for(const _0x3a4498 of _0x437b60)_0x3a4498['is'](_0x403a52(0x80))&&_0x5defba[_0x403a52(0x90)](_0x3a4498)&&(_0x1b459c[_0x403a52(0x84)](_0x3a4498),'h1'==_0x3a4498[_0x403a52(0xc9)]&&(_0x3940f5=!0x0));if(_0x3940f5){for(const _0x452cd1 of _0x1b459c)_0x3f3b77[_0x403a52(0x9a)]('h'+(parseInt(_0x452cd1[_0x403a52(0xc9)][0x1])+0x1),_0x452cd1);}}[_0x1deaa1(0xb1)](){const _0x415e4d=_0x1deaa1,{data:_0x517f44,editing:_0x361377}=this[_0x415e4d(0x9e)],_0x16f387=_0x517f44[_0x415e4d(0xc4)][_0x415e4d(0x75)](_0x415e4d(0x71)),_0x53531a=_0x517f44[_0x415e4d(0x75)](_0x517f44[_0x415e4d(0x76)](_0x16f387));return!!_0x361377[_0x415e4d(0x79)][_0x415e4d(0xc7)][_0x415e4d(0xbc)](_0x53531a)[_0x415e4d(0x8d)]('h1');}[_0x1deaa1(0xc3)](_0xbac438){const _0x4dc95d=_0x1deaa1;return this[_0x4dc95d(0x9e)][_0x4dc95d(0xb0)][_0x4dc95d(0x79)][_0x4dc95d(0xc7)][_0x4dc95d(0x7e)](this[_0x4dc95d(0x78)],_0xbac438),this[_0x4dc95d(0x78)][_0x4dc95d(0x7f)];}[_0x1deaa1(0x8f)](_0x2bc3c2){const _0x1b1cdd=_0x1deaa1,_0x1d1ee4=_0x2bc3c2[_0x1b1cdd(0x88)]();return _0x1d1ee4[_0x1b1cdd(0xba)](_0x1b1cdd(0xaf))?_0x1d1ee4[_0x1b1cdd(0xc2)](_0x1b1cdd(0x91))?_0x1d1ee4[_0x1b1cdd(0x8c)](0x7,_0x1d1ee4[_0x1b1cdd(0xc8)]-0x3):_0x1d1ee4[_0x1b1cdd(0x8c)](0x7):_0x2bc3c2;}}function _0x407f(){const _0x5143bc=['stopProcessing','from','custom','serializeToString','6aSNpvx','rename','currentResponse','submitPrompt','catch','editor','_handleQuery','2209881AjRiBH','_domParser','text/html','finally','previousContext','document','value','isRendered','initialContext','previousLabel','prompt','remove','_normalizeResponseHeadings','set:currentContext','textAdapter','```html','editing','_isH1TagSupportEnabled','data','136536qeIJmi','finishProcessing','4318280ofkZii','mainAction','div','startProcessing','429wwEzDC','startsWith','previousQuery','viewToDom','stringify','set','4182760dCsLaa','tryAgainEvent','304iRJqGr','endsWith','_sanitizeHTML','htmlProcessor','createElement','body','domConverter','length','name','_xmlSerializer','makeRequest','handleError','childNodes','exec','reset','then','stopListening','<h1></h1>','1162040PaxemC','currentContext','processor','toView','toModel','once','_sanitizationContainer','view','18RtywXc','ELEMENT_NODE','isProcessing','_parseAndNormalizeContent','setContentOf','innerHTML','element','message','1451352vBPfvy','previousActionId','push','render','4HSxBSP','abort','trim','5900uDBUiR','nodeType','destroy','substring','querySelector','reverse','_stripMarkdownSyntax','match','```','listenTo','parseFromString','updateView'];_0x407f=function(){return _0x5143bc;};return _0x407f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a012e=_0x4e2d;function _0x4e2d(_0xd7d6c3,_0x587948){const _0x152dd7=_0x152d();return _0x4e2d=function(_0x4e2d95,_0x10c642){_0x4e2d95=_0x4e2d95-0x19d;let _0x362cb0=_0x152dd7[_0x4e2d95];return _0x362cb0;},_0x4e2d(_0xd7d6c3,_0x587948);}(function(_0x242784,_0x4a7626){const _0x12d157=_0x4e2d,_0x366569=_0x242784();while(!![]){try{const _0x2c0499=parseInt(_0x12d157(0x1af))/0x1+-parseInt(_0x12d157(0x1ba))/0x2*(-parseInt(_0x12d157(0x1ae))/0x3)+parseInt(_0x12d157(0x1e2))/0x4*(parseInt(_0x12d157(0x1c4))/0x5)+-parseInt(_0x12d157(0x1a7))/0x6*(-parseInt(_0x12d157(0x1e3))/0x7)+-parseInt(_0x12d157(0x1d6))/0x8+-parseInt(_0x12d157(0x1cd))/0x9+parseInt(_0x12d157(0x1bd))/0xa*(-parseInt(_0x12d157(0x1ed))/0xb);if(_0x2c0499===_0x4a7626)break;else _0x366569['push'](_0x366569['shift']());}catch(_0x104c44){_0x366569['push'](_0x366569['shift']());}}}(_0x152d,0xbcae7));import{global as _0xa97e4a}from'ckeditor5/src/utils.js';import{View as _0x912da5,ButtonView as _0x3da3d4,SpinnerView as _0x108f84}from'ckeditor5/src/ui.js';import _0x373f2a from'../../../theme/icons/copy.svg';import{getTranslation as _0x3c41e5}from'../../utils/common-translations.js';import{icons as _0x3a3b66}from'ckeditor5/src/core.js';export default class W extends _0x912da5{constructor(_0x38b730,_0x622480=''){const _0x1cd26c=_0x4e2d;super(_0x38b730),this[_0x1cd26c(0x1e0)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5326e4=this[_0x1cd26c(0x1ee)];this[_0x1cd26c(0x1a3)]=new ContentFieldView(_0x38b730,_0x622480),this[_0x1cd26c(0x1b2)]=this[_0x1cd26c(0x1db)](),this[_0x1cd26c(0x1d7)]({'tag':_0x1cd26c(0x1f3),'attributes':{'class':['ck',_0x1cd26c(0x1f0),_0x5326e4['if'](_0x1cd26c(0x1b9),_0x1cd26c(0x1ab),_0x5941c0=>!_0x5941c0)],'tabindex':'-1'},'children':[{'tag':_0x1cd26c(0x1f3),'attributes':{'class':['ck',_0x1cd26c(0x1e4),_0x5326e4['if'](_0x1cd26c(0x1dc),_0x1cd26c(0x1da))]},'children':[this[_0x1cd26c(0x1a3)],{'tag':_0x1cd26c(0x1f3),'attributes':{'class':['ck',_0x1cd26c(0x1bf)]},'children':[this[_0x1cd26c(0x1b2)]]}]}]});}[_0x5a012e(0x1f2)](){const _0x59d276=_0x5a012e;super[_0x59d276(0x1f2)](),this[_0x59d276(0x19e)]&&this[_0x59d276(0x1a3)][_0x59d276(0x1d8)](this[_0x59d276(0x19e)]);let _0xa9a700=!0x1;this['on'](_0x59d276(0x1ca),(_0x19a2ff,_0x562911,_0x498410)=>{const _0x18b36b=_0x59d276,_0x463ba5=!this[_0x18b36b(0x1a3)][_0x18b36b(0x1ea)][_0x18b36b(0x1e5)](_0x18b36b(0x1a9));this[_0x18b36b(0x1a3)][_0x18b36b(0x1d8)](_0x498410),this[_0x18b36b(0x1dc)]&&_0x463ba5&&!_0xa9a700&&this[_0x18b36b(0x1ea)][_0x18b36b(0x1d9)]({'top':this[_0x18b36b(0x1ea)][_0x18b36b(0x1bc)],'behavior':_0x18b36b(0x1ad)});}),this['on'](_0x59d276(0x1f1),(_0x12eab6,_0x47dc86,_0x4d6f51)=>{const _0x2beca4=_0x59d276;_0xa9a700=!0x1,_0x4d6f51?(this[_0x2beca4(0x19e)]=null,this[_0x2beca4(0x1a3)][_0x2beca4(0x19d)]()):this[_0x2beca4(0x19e)]||this[_0x2beca4(0x1a3)][_0x2beca4(0x1d8)]('');}),this[_0x59d276(0x1c0)](this[_0x59d276(0x1ea)],_0x59d276(0x1b1),()=>{_0xa9a700=!0x0;}),this[_0x59d276(0x1c0)](this[_0x59d276(0x1ea)],_0x59d276(0x1ef),()=>{_0xa9a700=!0x0;});}[_0x5a012e(0x1b5)](){const _0x1b09e0=_0x5a012e;this[_0x1b09e0(0x1ea)][_0x1b09e0(0x1b5)]();}[_0x5a012e(0x1db)](){const _0x2e210c=_0x5a012e,_0x2f08c0=this[_0x2e210c(0x1c7)],_0x1892c0=new _0x3da3d4(this[_0x2e210c(0x1c7)]),_0x33fcf2=_0x2e210c(0x1aa);return _0x1892c0[_0x2e210c(0x1e0)]({'label':_0x3c41e5(_0x2f08c0,_0x2e210c(0x1b8)),'icon':_0x373f2a,'class':_0x33fcf2,'tooltip':!0x0}),_0x1892c0[_0x2e210c(0x1cb)](_0x2e210c(0x1b9))['to'](this,_0x2e210c(0x19e),_0x5541cc=>!!_0x5541cc),_0x1892c0[_0x2e210c(0x1cb)](_0x2e210c(0x1a5))['to'](this,_0x2e210c(0x1dc),_0x1e7c85=>!_0x1e7c85),_0x1892c0['on'](_0x2e210c(0x1b0),()=>{const _0x1d2746=_0x2e210c;this[_0x1d2746(0x1e1)](this[_0x1d2746(0x1a3)][_0x1d2746(0x1ea)]),_0x1892c0[_0x1d2746(0x1c9)]=_0x3a3b66[_0x1d2746(0x1b7)],_0x1892c0[_0x1d2746(0x1a8)]=_0x33fcf2+_0x1d2746(0x1a1),this[_0x1d2746(0x1b5)](),setTimeout(()=>{const _0x250394=_0x1d2746;_0x1892c0[_0x250394(0x1c9)]=_0x373f2a,_0x1892c0[_0x250394(0x1a8)]=_0x33fcf2;},0x3e8);}),_0x1892c0;}[_0x5a012e(0x1e1)](_0x69526b){const _0x15722a=_0x5a012e,{window:_0x3be988,document:_0x2edd8a}=_0xa97e4a;if(_0x3be988[_0x15722a(0x1d1)]){const {Blob:_0x2f9496,ClipboardItem:_0x3f8cac}=_0x3be988,_0x10392b=[new _0x3f8cac({'text/html':new _0x2f9496([_0x69526b[_0x15722a(0x1c5)]],{'type':_0x15722a(0x1e8)}),'text/plain':new _0x2f9496([_0x69526b[_0x15722a(0x1e7)]||''],{'type':_0x15722a(0x1eb)})})];navigator[_0x15722a(0x1d3)][_0x15722a(0x1b3)](_0x10392b);}else{const _0x5c9a62=_0x2edd8a[_0x15722a(0x1b4)](_0x15722a(0x1f3));_0x5c9a62[_0x15722a(0x1be)][_0x15722a(0x1bb)]=_0x15722a(0x1cf),_0x5c9a62[_0x15722a(0x1be)][_0x15722a(0x1ce)]=_0x15722a(0x1e9),_0x5c9a62[_0x15722a(0x1c5)]=_0x15722a(0x1a4)+_0x69526b[_0x15722a(0x1c5)]+_0x15722a(0x1d0),_0x2edd8a[_0x15722a(0x1cc)][_0x15722a(0x1a0)](_0x5c9a62);const _0x67aa69=_0x2edd8a[_0x15722a(0x19f)]();_0x67aa69[_0x15722a(0x1dd)](_0x5c9a62[_0x15722a(0x1c8)]),_0x67aa69[_0x15722a(0x1d5)](_0x5c9a62[_0x15722a(0x1b6)]);const _0x176934=_0x3be988[_0x15722a(0x1a6)]();_0x176934[_0x15722a(0x1e6)](),_0x176934[_0x15722a(0x1de)](_0x67aa69),_0x2edd8a[_0x15722a(0x1ec)](_0x15722a(0x1d2)),_0x5c9a62[_0x15722a(0x1d4)]();}}}export class ContentFieldView extends _0x912da5{constructor(_0x26c50d,_0x47a057=''){const _0x6aa735=_0x5a012e;super(_0x26c50d),this[_0x6aa735(0x1c1)]=this[_0x6aa735(0x1c2)](),this[_0x6aa735(0x1d7)]({'tag':_0x6aa735(0x1f3),'attributes':{'class':['ck',_0x6aa735(0x1c6),_0x47a057,_0x6aa735(0x1a2),_0x6aa735(0x1df)]}});}[_0x5a012e(0x1d8)](_0x305cf1){const _0x4a8f49=_0x5a012e;this[_0x4a8f49(0x1ea)][_0x4a8f49(0x1c5)]=_0x305cf1;}[_0x5a012e(0x19d)](){const _0x3f99e0=_0x5a012e;this[_0x3f99e0(0x1ea)][_0x3f99e0(0x1a0)](this[_0x3f99e0(0x1c1)][_0x3f99e0(0x1ea)]);}[_0x5a012e(0x1c2)](){const _0x2cd2c0=_0x5a012e,_0x26ee2c=new _0x912da5(),_0xb133d0=this[_0x2cd2c0(0x1c7)],_0x4c880c=new _0x108f84();return _0x4c880c[_0x2cd2c0(0x1b9)]=!0x0,_0x26ee2c[_0x2cd2c0(0x1d7)]({'tag':_0x2cd2c0(0x1f3),'attributes':{'class':['ck',_0x2cd2c0(0x1ac)]},'children':[_0x4c880c,{'text':_0x3c41e5(_0xb133d0,_0x2cd2c0(0x1c3))}]}),_0x26ee2c[_0x2cd2c0(0x1f2)](),_0x26ee2c;}}function _0x152d(){const _0xa3b429=['body','7215579KkSJZT','left','absolute','<span>]</span>','ClipboardItem','copy','clipboard','remove','setEndBefore','7113656RwwLqJ','setTemplate','setContent','scrollTo','ck-ai-form__content-area--processing','_createCopyButton','isProcessing','setStartAfter','addRange','ck-ai-form__content-field','set','_copyHTMLToClipboard','4519692vvvPuJ','245014WzZJTs','ck-ai-form__content-area','querySelector','removeAllRanges','textContent','text/html','-9999px','element','text/plain','execCommand','55qpwwML','bindTemplate','mousedown','ck-ai-form__content-area-wrapper','change:isProcessing','render','div','appendLoader','value','createRange','appendChild','\x20ck-ai-form__copy-button--copied','ck-reset_all-excluded','contentFieldView','<span>[</span>','isEnabled','getSelection','12EfqiuX','class','.ck-ai-form__loader','ck-ai-form__copy-button','ck-hidden','ck-ai-form__loader','smooth','3761697ngpELA','985196NsniFn','execute','wheel','copyButtonView','write','createElement','focus','lastElementChild','check','Copy','isVisible','2lcquIh','position','scrollHeight','1950490aFcgWA','style','ck-ai-form__copy-button-wrapper','listenTo','loaderView','_createLoader','AI\x20is\x20writing...','5oWSVtb','innerHTML','ck-content','locale','firstElementChild','icon','change:value','bind'];_0x152d=function(){return _0xa3b429;};return _0x152d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x446ed7,_0x55b8d7){const _0x2a85d2=_0x211f,_0x56a830=_0x446ed7();while(!![]){try{const _0x12c672=-parseInt(_0x2a85d2(0x110))/0x1*(parseInt(_0x2a85d2(0x10f))/0x2)+parseInt(_0x2a85d2(0x114))/0x3*(parseInt(_0x2a85d2(0x10e))/0x4)+parseInt(_0x2a85d2(0x10c))/0x5*(-parseInt(_0x2a85d2(0x119))/0x6)+-parseInt(_0x2a85d2(0x11a))/0x7+-parseInt(_0x2a85d2(0x11d))/0x8*(-parseInt(_0x2a85d2(0x112))/0x9)+parseInt(_0x2a85d2(0x113))/0xa*(parseInt(_0x2a85d2(0x10d))/0xb)+-parseInt(_0x2a85d2(0x10b))/0xc*(-parseInt(_0x2a85d2(0x115))/0xd);if(_0x12c672===_0x55b8d7)break;else _0x56a830['push'](_0x56a830['shift']());}catch(_0x34f72d){_0x56a830['push'](_0x56a830['shift']());}}}(_0x40cc,0x7708d));function _0x211f(_0x5d71ea,_0x56a41c){const _0x40ccd1=_0x40cc();return _0x211f=function(_0x211f1a,_0x10bf03){_0x211f1a=_0x211f1a-0x10a;let _0x220803=_0x40ccd1[_0x211f1a];return _0x220803;},_0x211f(_0x5d71ea,_0x56a41c);}import{View as _0x9404ad,IconView as _0x36dc7f}from'ckeditor5/src/ui.js';function _0x40cc(){const _0x24dae2=['1382696rViFUW','1pKLLjM','div','225wQNYsN','50bCKDwb','2445ItLluR','13gvmcti','content','set','bindTemplate','3545244PjEZIg','563850gqcFyv','text','setTemplate','180296fVYJPz','ck-ai-form__error','1416864DTYGcf','5ZSgDmw','2064029fVlsSw','1132cPZcjj'];_0x40cc=function(){return _0x24dae2;};return _0x40cc();}import _0x493a0f from'../../../theme/icons/error.svg';export default class tt extends _0x9404ad{constructor(_0x1d0545,_0x55cd07=''){const _0x4c306d=_0x211f;super(_0x1d0545);const _0x1a5c8e=new _0x36dc7f(),_0x5d934b=this[_0x4c306d(0x118)];this[_0x4c306d(0x117)](_0x4c306d(0x11b),_0x55cd07),_0x1a5c8e[_0x4c306d(0x116)]=_0x493a0f,this[_0x4c306d(0x11c)]({'tag':_0x4c306d(0x111),'attributes':{'class':['ck',_0x4c306d(0x10a)]},'children':[_0x1a5c8e,{'text':_0x5d934b['to'](_0x4c306d(0x11b))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf98481=_0x33df;(function(_0x51015c,_0x67bbf1){const _0x368a9f=_0x33df,_0x227bda=_0x51015c();while(!![]){try{const _0x594e64=-parseInt(_0x368a9f(0x148))/0x1+parseInt(_0x368a9f(0x14e))/0x2+parseInt(_0x368a9f(0x13b))/0x3+parseInt(_0x368a9f(0x142))/0x4*(parseInt(_0x368a9f(0x146))/0x5)+-parseInt(_0x368a9f(0x145))/0x6+-parseInt(_0x368a9f(0x153))/0x7*(-parseInt(_0x368a9f(0x14c))/0x8)+-parseInt(_0x368a9f(0x149))/0x9*(parseInt(_0x368a9f(0x132))/0xa);if(_0x594e64===_0x67bbf1)break;else _0x227bda['push'](_0x227bda['shift']());}catch(_0x55359f){_0x227bda['push'](_0x227bda['shift']());}}}(_0x2a44,0x548e9));import{Rect as _0x4265c7,global as _0x18f854,isVisible as _0x47ec8a}from'ckeditor5/src/utils.js';function _0x2a44(){const _0x41653f=['12efIgTB','fire','isEnabled','2380860KpOYfy','720535gEVrck','focusLast','492003QDrIQN','27hiUyAz','target','children','200ASOFSq','filteredView','1140432SpyZoq','submitButtonView','render','focusableChildren','isEmpty','60718ajhMvo','window','fieldView','update','set','requestAnimationFrame','History','rtl','left','focusFirst','element','history','enter','style','ck-ai-form__submit','value','locale','submit','Submit','width','ck-ai-form__toggle-history','keystrokes','isOn','_createShowHistoryButton','_createSubmitButton','focusCycler','1558990CAjJtw','maxRows','resultsView','add','uiLanguageDirection','showHistoryButtonView','bind','right','execute','1450404vEAZQP','queryView','isVisible','fieldWrapperChildren','minRows','excludeScrollbarsAndBorders','focus'];_0x2a44=function(){return _0x41653f;};return _0x2a44();}import{AutocompleteView as _0xf7dbd1,ButtonView as _0x553ac4}from'ckeditor5/src/ui.js';import{icons as _0x50631d}from'ckeditor5/src/core.js';function _0x33df(_0x5bf541,_0x9523d0){const _0x2a4477=_0x2a44();return _0x33df=function(_0x33dfd1,_0x221be1){_0x33dfd1=_0x33dfd1-0x129;let _0x4a1338=_0x2a4477[_0x33dfd1];return _0x4a1338;},_0x33df(_0x5bf541,_0x9523d0);}import{getTranslation as _0x28cd45}from'../../utils/common-translations.js';import _0x48b5e9 from'../../../theme/icons/submit.svg';export default class ht extends _0xf7dbd1{constructor(_0x23f320,_0x2f3eb8){const _0x1a3ebc=_0x33df;super(_0x23f320,_0x2f3eb8),this[_0x1a3ebc(0x13c)][_0x1a3ebc(0x155)][_0x1a3ebc(0x13f)]=0x1,this[_0x1a3ebc(0x13c)][_0x1a3ebc(0x155)][_0x1a3ebc(0x133)]=0x3,this[_0x1a3ebc(0x14f)]=this[_0x1a3ebc(0x130)](),this[_0x1a3ebc(0x137)]=this[_0x1a3ebc(0x12f)](),this[_0x1a3ebc(0x151)][_0x1a3ebc(0x135)](this[_0x1a3ebc(0x137)],0x1),this[_0x1a3ebc(0x151)][_0x1a3ebc(0x135)](this[_0x1a3ebc(0x14f)]);}[_0xf98481(0x150)](){const _0x1b103f=_0xf98481;super[_0x1b103f(0x150)](),this[_0x1b103f(0x13c)][_0x1b103f(0x13e)][_0x1b103f(0x135)](this[_0x1b103f(0x137)]),this[_0x1b103f(0x14b)][_0x1b103f(0x135)](this[_0x1b103f(0x14f)]),this[_0x1b103f(0x12d)][_0x1b103f(0x157)](_0x1b103f(0x15f),(_0x3891f1,_0x95becd)=>{const _0x3d310b=_0x1b103f;_0x3891f1[_0x3d310b(0x14a)]==this[_0x3d310b(0x13c)][_0x3d310b(0x155)][_0x3d310b(0x15d)]&&(this[_0x3d310b(0x129)](),_0x95becd());});}[_0xf98481(0x130)](){const _0x31f47e=_0xf98481,_0x2c503a=new _0x553ac4(this[_0x31f47e(0x163)]),_0x4ed66f=this[_0x31f47e(0x163)];return _0x2c503a[_0x31f47e(0x157)]({'icon':_0x48b5e9,'label':_0x28cd45(_0x4ed66f,_0x31f47e(0x12a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x31f47e(0x161)}),_0x2c503a['on'](_0x31f47e(0x13a),()=>{const _0x1e038d=_0x31f47e;this[_0x1e038d(0x129)]();}),_0x2c503a[_0x31f47e(0x138)](_0x31f47e(0x144))['to'](this[_0x31f47e(0x13c)][_0x31f47e(0x155)],_0x31f47e(0x152),this,_0x31f47e(0x144),(_0x25d6b0,_0x48b9c6)=>!_0x25d6b0&&_0x48b9c6),_0x2c503a;}[_0xf98481(0x12f)](){const _0x4fa8b5=_0xf98481,_0x4ee4cd=new _0x553ac4(this[_0x4fa8b5(0x163)]),_0x426ce1=this[_0x4fa8b5(0x134)],_0x3d9b7f=this[_0x4fa8b5(0x163)];_0x4ee4cd[_0x4fa8b5(0x157)]({'label':_0x28cd45(_0x3d9b7f,_0x4fa8b5(0x159)),'withText':!0x1,'icon':_0x50631d[_0x4fa8b5(0x15e)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4fa8b5(0x12c)}),_0x4ee4cd[_0x4fa8b5(0x138)](_0x4fa8b5(0x12e))['to'](_0x426ce1,_0x4fa8b5(0x13d)),_0x4ee4cd[_0x4fa8b5(0x138)](_0x4fa8b5(0x144))['to'](this,_0x4fa8b5(0x144)),_0x4ee4cd['on'](_0x4fa8b5(0x13a),()=>{const _0x14aa31=_0x4fa8b5;_0x426ce1[_0x14aa31(0x13d)]=!_0x426ce1[_0x14aa31(0x13d)],_0x426ce1[_0x14aa31(0x13d)]?this[_0x14aa31(0x14d)][_0x14aa31(0x141)]():this[_0x14aa31(0x141)]();});const _0xf9e12f=()=>{const _0x46eac1=_0x4fa8b5;_0x18f854[_0x46eac1(0x154)][_0x46eac1(0x158)](()=>{const _0x1c865d=_0x46eac1;if(_0x47ec8a(this[_0x1c865d(0x15d)])){const _0x4e3f79=new _0x4265c7(this[_0x1c865d(0x13c)][_0x1c865d(0x155)][_0x1c865d(0x15d)]),_0x4a5859=_0x4e3f79[_0x1c865d(0x12b)],_0x56141f=_0x1c865d(0x15a)===_0x3d9b7f[_0x1c865d(0x136)]?_0x1c865d(0x15b):_0x1c865d(0x139);_0x4e3f79[_0x1c865d(0x140)](),_0x4ee4cd[_0x1c865d(0x15d)][_0x1c865d(0x160)][_0x56141f]=_0x4a5859-_0x4e3f79[_0x1c865d(0x12b)]+0x1+'px';}});};return this[_0x4fa8b5(0x13c)][_0x4fa8b5(0x155)]['on'](_0x4fa8b5(0x156),_0xf9e12f),this['on'](_0x4fa8b5(0x150),_0xf9e12f),_0x4ee4cd;}[_0xf98481(0x129)](){const _0x4be06e=_0xf98481,_0xbbf4cc=this[_0x4be06e(0x13c)][_0x4be06e(0x155)][_0x4be06e(0x15d)][_0x4be06e(0x162)];this[_0x4be06e(0x143)](_0x4be06e(0x129),_0xbbf4cc);}[_0xf98481(0x141)](_0x429ca1){const _0x1f9bae=_0xf98481;-0x1===_0x429ca1?this[_0x1f9bae(0x131)][_0x1f9bae(0x147)]():this[_0x1f9bae(0x131)][_0x1f9bae(0x15c)]();}}
|