@ckeditor/ckeditor5-ai 45.0.0-alpha.5 → 45.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d45e7=_0x531e;function _0x531e(_0x4ed9ed,_0x150c1e){const _0x34196b=_0x3419();return _0x531e=function(_0x531eaa,_0x248710){_0x531eaa=_0x531eaa-0x196;let _0x5a93e5=_0x34196b[_0x531eaa];return _0x5a93e5;},_0x531e(_0x4ed9ed,_0x150c1e);}(function(_0x4690f4,_0x2d17ef){const _0x531107=_0x531e,_0x47521b=_0x4690f4();while(!![]){try{const _0x21f916=parseInt(_0x531107(0x1a4))/0x1+-parseInt(_0x531107(0x1ee))/0x2+parseInt(_0x531107(0x1c3))/0x3+-parseInt(_0x531107(0x1cc))/0x4*(parseInt(_0x531107(0x19c))/0x5)+-parseInt(_0x531107(0x1f7))/0x6+parseInt(_0x531107(0x1af))/0x7+-parseInt(_0x531107(0x1d9))/0x8;if(_0x21f916===_0x2d17ef)break;else _0x47521b['push'](_0x47521b['shift']());}catch(_0x664bd2){_0x47521b['push'](_0x47521b['shift']());}}}(_0x3419,0x93ea9));function _0x3419(){const _0x582395=['poetic','translatePortuguese','Continue','translateArabic','5220792TKVZMD','continue','concat','Friendly','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Casual','generate','makeShorter','Poetic','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Business','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','ai.aiAssistant.removeCommands','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateSpanish','translate','Confident','makeLonger','Simplify\x20language','English','1423094OEktmm','changeTone','translateEnglish','pluginName','ai.aiAssistant.preserveComments','filter','Simplified\x20Chinese','Arabic','isOfficialPlugin','2029050ASyTdw','find','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate','summarize','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','changeStyle','isPremiumPlugin','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateFrench','Translate\x20the\x20content\x20to\x20English\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','groupId','Translate\x20the\x20content\x20to\x20Spanish\x20language.','578145GGYdYe','simplifyLanguage','commands','Spanish','Portuguese','Change\x20tone','get','business','1179483uPdHcs','Change\x20style','direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','push','translateHindi','casual','forEach','requires','set','config','8427377EBtxoD','Translate\x20the\x20content\x20to\x20Arabic\x20language.','legal','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20German\x20language.','translateChinese','Summarize','includes','German','editOrReview','Journalism','friendly','improveWriting','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','confident','Legal','Professional','Direct','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','815037pMkAwk','define','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20French\x20language.','ai.aiAssistant.commands','Improve\x20writing','Hindi','translateGerman','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','12ezAEMb','journalism','Edit\x20or\x20review','Make\x20shorter','Make\x20longer','French','AIAssistant','locale','professional'];_0x3419=function(){return _0x582395;};return _0x3419();}import{Plugin as _0x1223d1}from'ckeditor5/src/core.js';import _0x13e219 from'./aiassistantui.js';import _0x224280 from'./aiassistantediting.js';import{getTranslation as _0xff614e}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x5c8100}from'./utils/normalizecommandsconfig.js';export default class r extends _0x1223d1{static get[_0x2d45e7(0x1ac)](){return[_0x13e219,_0x224280];}static get[_0x2d45e7(0x1f1)](){const _0xd8d85c=_0x2d45e7;return _0xd8d85c(0x1d2);}static get[_0x2d45e7(0x1f6)](){return!0x0;}static get[_0x2d45e7(0x1ff)](){return!0x0;}constructor(_0x5f244b){const _0x113047=_0x2d45e7;super(_0x5f244b);const _0x1a4fc0=_0x5f244b[_0x113047(0x1ae)],_0x12886c=_0x5f244b[_0x113047(0x1d3)];_0x1a4fc0[_0x113047(0x1c4)](_0x113047(0x1f2),!0x0),_0x1a4fc0[_0x113047(0x1c4)](_0x113047(0x1c7),getDefaultCommands(_0x12886c)),_0x1a4fc0[_0x113047(0x1c4)](_0x113047(0x1e2),[]),_0x1a4fc0[_0x113047(0x1c4)](_0x113047(0x1e6),[]);let _0x554e84=_0x5c8100(_0x1a4fc0[_0x113047(0x1a2)](_0x113047(0x1c7)),_0x12886c);const _0x599a26=_0x1a4fc0[_0x113047(0x1a2)](_0x113047(0x1e2)),_0xb5c478=_0x1a4fc0[_0x113047(0x1a2)](_0x113047(0x1e6));_0x599a26[_0x113047(0x1ab)](_0x15de4e=>{const _0x37677e=_0x113047,_0x536b33=_0x554e84[_0x37677e(0x1f8)](_0x43e787=>_0x43e787[_0x37677e(0x19a)]===_0x15de4e[_0x37677e(0x19a)]);_0x536b33?_0x536b33[_0x37677e(0x19e)]=_0x536b33[_0x37677e(0x19e)][_0x37677e(0x1db)](_0x15de4e[_0x37677e(0x19e)]):_0x554e84[_0x37677e(0x1a8)](_0x15de4e);}),_0x554e84=_0x554e84[_0x113047(0x1f3)](_0x34be73=>!_0xb5c478[_0x113047(0x1b6)](_0x34be73[_0x113047(0x19a)])),_0x554e84[_0x113047(0x1ab)](_0x4bb611=>{const _0x465943=_0x113047;_0x4bb611[_0x465943(0x19e)]=_0x4bb611[_0x465943(0x19e)][_0x465943(0x1f3)](_0x10af1e=>!_0xb5c478[_0x465943(0x1b6)](_0x10af1e['id']));}),_0x1a4fc0[_0x113047(0x1ad)](_0x113047(0x1c7),_0x554e84);}}export function getDefaultCommands(_0x1eca74){const _0xb40347=_0x2d45e7;return[{'groupId':_0xb40347(0x1b8),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1ce)),'commands':[{'id':_0xb40347(0x1bb),'label':_0xff614e(_0x1eca74,_0xb40347(0x1c8)),'prompt':_0xb40347(0x1c2)},{'id':_0xb40347(0x1e0),'label':_0xff614e(_0x1eca74,_0xb40347(0x1cf)),'prompt':_0xb40347(0x1dd)},{'id':_0xb40347(0x1eb),'label':_0xff614e(_0x1eca74,_0xb40347(0x1d0)),'prompt':_0xb40347(0x1cb)},{'id':_0xb40347(0x19d),'label':_0xff614e(_0x1eca74,_0xb40347(0x1ec)),'prompt':_0xb40347(0x199)}]},{'groupId':_0xb40347(0x1df),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1c5)),'commands':[{'id':_0xb40347(0x1fc),'label':_0xff614e(_0x1eca74,_0xb40347(0x1b5)),'prompt':_0xb40347(0x1fa)},{'id':_0xb40347(0x1da),'label':_0xff614e(_0x1eca74,_0xb40347(0x1d7)),'prompt':_0xb40347(0x1fd)}]},{'groupId':_0xb40347(0x1ef),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1a1)),'commands':[{'id':_0xb40347(0x1d4),'label':_0xff614e(_0x1eca74,_0xb40347(0x1c0)),'prompt':_0xb40347(0x1bd)},{'id':_0xb40347(0x1aa),'label':_0xff614e(_0x1eca74,_0xb40347(0x1de)),'prompt':_0xb40347(0x1b2)},{'id':_0xb40347(0x1a6),'label':_0xff614e(_0x1eca74,_0xb40347(0x1c1)),'prompt':_0xb40347(0x1e5)},{'id':_0xb40347(0x1be),'label':_0xff614e(_0x1eca74,_0xb40347(0x1ea)),'prompt':_0xb40347(0x1e7)},{'id':_0xb40347(0x1ba),'label':_0xff614e(_0x1eca74,_0xb40347(0x1dc)),'prompt':_0xb40347(0x198)}]},{'groupId':_0xb40347(0x1fe),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1a5)),'commands':[{'id':_0xb40347(0x1a3),'label':_0xff614e(_0x1eca74,_0xb40347(0x1e4)),'prompt':_0xb40347(0x1a7)},{'id':_0xb40347(0x1b1),'label':_0xff614e(_0x1eca74,_0xb40347(0x1bf)),'prompt':_0xb40347(0x200)},{'id':_0xb40347(0x1cd),'label':_0xff614e(_0x1eca74,_0xb40347(0x1b9)),'prompt':_0xb40347(0x201)},{'id':_0xb40347(0x1d5),'label':_0xff614e(_0x1eca74,_0xb40347(0x1e1)),'prompt':_0xb40347(0x197)}]},{'groupId':_0xb40347(0x1e9),'groupLabel':_0xff614e(_0x1eca74,_0xb40347(0x1fb)),'commands':[{'id':_0xb40347(0x1f0),'label':_0xff614e(_0x1eca74,_0xb40347(0x1ed)),'prompt':_0xb40347(0x196)},{'id':_0xb40347(0x1e8),'label':_0xff614e(_0x1eca74,_0xb40347(0x19f)),'prompt':_0xb40347(0x19b)},{'id':_0xb40347(0x1d6),'label':_0xff614e(_0x1eca74,_0xb40347(0x1a0)),'prompt':_0xb40347(0x1f9)},{'id':_0xb40347(0x1ca),'label':_0xff614e(_0x1eca74,_0xb40347(0x1b7)),'prompt':_0xb40347(0x1b3)},{'id':_0xb40347(0x202),'label':_0xff614e(_0x1eca74,_0xb40347(0x1d1)),'prompt':_0xb40347(0x1c6)},{'id':_0xb40347(0x1b4),'label':_0xff614e(_0x1eca74,_0xb40347(0x1f4)),'prompt':_0xb40347(0x1e3)},{'id':_0xb40347(0x1a9),'label':_0xff614e(_0x1eca74,_0xb40347(0x1c9)),'prompt':_0xb40347(0x1bc)},{'id':_0xb40347(0x1d8),'label':_0xff614e(_0x1eca74,_0xb40347(0x1f5)),'prompt':_0xb40347(0x1b0)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f8731=_0x38a7;(function(_0x43b026,_0x3154aa){const _0x38014b=_0x38a7,_0x4bdc99=_0x43b026();while(!![]){try{const _0x24dbbc=parseInt(_0x38014b(0x1d4))/0x1+-parseInt(_0x38014b(0x1bc))/0x2*(-parseInt(_0x38014b(0x1c6))/0x3)+parseInt(_0x38014b(0x201))/0x4+parseInt(_0x38014b(0x1c0))/0x5+-parseInt(_0x38014b(0x206))/0x6+-parseInt(_0x38014b(0x1ac))/0x7*(parseInt(_0x38014b(0x1e2))/0x8)+parseInt(_0x38014b(0x1b4))/0x9*(-parseInt(_0x38014b(0x1a7))/0xa);if(_0x24dbbc===_0x3154aa)break;else _0x4bdc99['push'](_0x4bdc99['shift']());}catch(_0x13ac18){_0x4bdc99['push'](_0x4bdc99['shift']());}}}(_0xdba7,0x60b58));import{uid as _0x2f5444}from'ckeditor5/src/utils.js';import{Plugin as _0xe6907a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x245df5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x334aaa,DataTransfer as _0x1806de}from'ckeditor5/src/engine.js';function _0x38a7(_0x3ac4e3,_0x17ee00){const _0xdba795=_0xdba7();return _0x38a7=function(_0x38a780,_0x45f901){_0x38a780=_0x38a780-0x1a0;let _0x279d84=_0xdba795[_0x38a780];return _0x279d84;},_0x38a7(_0x3ac4e3,_0x17ee00);}function _0xdba7(){const _0x4a9bfe=['first','deleteContent','plugins','_createEmptyTableRows','_prepareTableInsertBelowPosition','schema','join','lowest','selection','1245390lnUrII','getRowIndexes','getLastMatchingPosition','off','isOfficialPlugin','763pmWdnp','editing','get','resultRange','addMarker','findAncestor','updateMarker','markerToElement','9Ladvpo','last','afterInit','TableUtils','_getTableRowCountFromContent','_pasteHTMLUsingClipboard','push','change','200rVtYyF','paste','init','insertContentBelow','676235XYghuE','DataTransfer','table','createPositionAfter','showFakeVisualSelection','markerToHighlight','7845yimXgv','from','getColumnIndexes','once','fire','forEach','map','isCollapsed','_getDefaultInsertBelowPosition','insertContent','end','start','markerRange','conversion','51419jlVyCt','getChildren','config','contentInsertion','getSelectedBlocks','ai.useTheme','pluginName','_getAISelection','ck-fake-ai-selection','removeMarker','getRanges','text/html','has','length','18376bzOKuE','canEditAt','AIAssistantEditing','parse','createUIElement','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed','addClass','filter','getSelectedTableCells','markers','isPremiumPlugin','createPositionAt','ai-ui','setData','getLastPosition','setSelection','pop','document','createRange','getMarkersGroup','isContent','span','isAtEnd','insertRows','getRange','getFirstRange','hideFakeVisualSelection','for','fromCharCode','getChild','2196208qKZfJm','data','model','editor','createSelection','1357116xTZtqo','_resetContentOfSelectedTableCells','element','href','editingDowncast','getRows'];_0xdba7=function(){return _0x4a9bfe;};return _0xdba7();}const w=globalThis[_0x3f8731(0x1c1)],f=_0x3f8731(0x1ef);export default class a extends _0xe6907a{static get[_0x3f8731(0x1da)](){const _0x4936b4=_0x3f8731;return _0x4936b4(0x1e4);}static get[_0x3f8731(0x1ab)](){return!0x0;}static get[_0x3f8731(0x1ed)](){return!0x0;}[_0x3f8731(0x1be)](){const _0x4f546d=_0x3f8731,{editor:_0xed190c}=this,_0x5dc41a=[_0x4f546d(0x1dc)];_0xed190c[_0x4f546d(0x1d6)][_0x4f546d(0x1ae)](_0x4f546d(0x1d9))&&_0x5dc41a[_0x4f546d(0x1ba)](_0x4f546d(0x1e7)),_0xed190c[_0x4f546d(0x1d3)][_0x4f546d(0x1fe)](_0x4f546d(0x20a))[_0x4f546d(0x1c5)]({'model':f,'view':{'classes':_0x5dc41a,'priority':0xc}}),_0xed190c[_0x4f546d(0x1d3)][_0x4f546d(0x1fe)](_0x4f546d(0x20a))[_0x4f546d(0x1b3)]({'model':f,'view':(_0x896542,{writer:_0x58b425})=>{const _0x57d784=_0x4f546d;if(!_0x896542[_0x57d784(0x1d2)][_0x57d784(0x1cd)])return null;const _0x569e33=_0x58b425[_0x57d784(0x1e6)](_0x57d784(0x1f8));return _0x58b425[_0x57d784(0x1e9)]([_0x57d784(0x1dc),_0x57d784(0x1e8)],_0x569e33),_0x569e33;}});}[_0x3f8731(0x1b6)](){!async function(_0x5445f5){const _0x50160c=_0xebaf0c([0x4a,0x62,0x47,0x30,0x6f,0x79,0x44,0x59,0x67,0x70,0x4b,0x6a,0x6d,0x43,0x57,0x5a,0x42,0x76,0x6b,0x46,0x69,0x66,0x71,0x7a,0x74,0x65,0x39,0x77,0x4f,0x45,0x52,0x64,0x54,0x4c,0x72,0x56,0x32,0x36,0x49,0x48,0x31,0x63,0x78,0x68,0x37,0x51,0x38,0x41,0x61,0x73,0x6e,0x75,0x4e,0x34,0x58,0x4d,0x53,0x55,0x6c,0x50,0x35,0x33]),_0x4928d2=0x655078a6,_0x139aa9=0x65571b16^_0x4928d2,_0x4bfc71=window[_0xebaf0c([0x44,0x61,0x74,0x65])][_0xebaf0c([0x6e,0x6f,0x77])](),_0x2a577a=_0x5445f5[_0xebaf0c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b31be=new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4828cd=>{_0x2a577a[_0xebaf0c([0x6f,0x6e,0x63,0x65])](_0xebaf0c([0x72,0x65,0x61,0x64,0x79]),_0x4828cd);}),_0x20f539={[_0xebaf0c([0x6b,0x74,0x79])]:_0xebaf0c([0x45,0x43]),[_0xebaf0c([0x75,0x73,0x65])]:_0xebaf0c([0x73,0x69,0x67]),[_0xebaf0c([0x63,0x72,0x76])]:_0xebaf0c([0x50,0x2d,0x32,0x35,0x36]),[_0xebaf0c([0x78])]:_0xebaf0c([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]),[_0xebaf0c([0x79])]:_0xebaf0c([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]),[_0xebaf0c([0x61,0x6c,0x67])]:_0xebaf0c([0x45,0x53,0x32,0x35,0x36])},_0x2290f4=_0x2a577a[_0xebaf0c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xebaf0c([0x67,0x65,0x74])](_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x17caab(){let _0x399706,_0x1c29a2=null,_0x101233=null;try{if(_0x2290f4==_0xebaf0c([0x47,0x50,0x4c]))return _0xebaf0c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x399706=_0x4d56b3(),!_0x399706)return _0xebaf0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x399706[_0xebaf0c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x101233=_0x4587e0(_0x399706[_0xebaf0c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x399706[_0xebaf0c([0x6a,0x74,0x69])])),await _0x2fd578()?_0x11ea83()?_0x54282d()?_0xebaf0c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51e7ac()?(_0x399706[_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xebaf0c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c29a2=_0x32e761(_0xebaf0c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x399706[_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xebaf0c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c29a2=_0x32e761(_0xebaf0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xacadd8()):_0xebaf0c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xebaf0c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xebaf0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5bfad7){return _0xebaf0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54282d(){const _0x5f11b3=[_0xebaf0c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xebaf0c([0x74,0x72,0x69,0x61,0x6c])][_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x399706[_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4bfc71/0x3e8:0xe10*_0x139aa9;return _0x399706[_0xebaf0c([0x65,0x78,0x70])]<_0x5f11b3;}function _0x11ea83(){const _0x30b218=_0x399706[_0xebaf0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30b218&&(!!_0x30b218[_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xebaf0c([0x2a]))||!!_0x30b218[_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xebaf0c([0x41,0x49])));}function _0x51e7ac(){const _0x4b15ab=_0x38a7,_0x1add9d=_0x399706[_0xebaf0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1add9d||0x0==_0x1add9d[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x51ab1d}=new URL(window[_0xebaf0c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b15ab(0x209)]);if(_0x1add9d[_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51ab1d))return!0x0;const _0x1db82b=_0x51ab1d[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])](_0xebaf0c([0x2e]));return _0x1add9d[_0xebaf0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24adc7=>_0x24adc7[_0xebaf0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xebaf0c([0x2a])))[_0xebaf0c([0x6d,0x61,0x70])](_0x58115b=>_0x58115b[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])](_0xebaf0c([0x2e])))[_0xebaf0c([0x73,0x6f,0x6d,0x65])](_0x1bfea8=>_0x1db82b[_0xebaf0c([0x65,0x76,0x65,0x72,0x79])]((_0x593aae,_0x480a5f)=>_0x1bfea8[_0x480a5f]===_0x593aae||_0x1bfea8[_0x480a5f]===_0xebaf0c([0x2a])));}function _0xacadd8(){return _0x1c29a2&&_0x101233?new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54276e,_0x50cb40)=>{_0x1c29a2[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x54276e,_0x50cb40),_0x101233[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x1e63be=>{_0x1e63be!=_0xebaf0c([0x56,0x61,0x6c,0x69,0x64])&&_0x54276e(_0x1e63be);},_0x50cb40);}):_0x1c29a2||_0x101233||_0xebaf0c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4587e0(_0x13f363,_0x21b4fb){return new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25774c=>{if(_0x1b0f0b())return _0x25774c(_0xebaf0c([0x56,0x61,0x6c,0x69,0x64]));_0x163dc2(),_0x2a577a[_0xebaf0c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xebaf0c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b9fce=!0x1;const _0x2ea452=_0x2f5444();function _0x2375b7(_0x2c2f33){return!!_0x2c2f33&&(typeof _0x2c2f33===_0xebaf0c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c2f33===_0xebaf0c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c2f33[_0xebaf0c([0x74,0x68,0x65,0x6e])]===_0xebaf0c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c2f33[_0xebaf0c([0x63,0x61,0x74,0x63,0x68])]===_0xebaf0c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xecc2cf(_0x6bf248){_0x143629(_0x6bf248)[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x127d81=>{if(!_0x127d81||_0x127d81[_0xebaf0c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xebaf0c([0x6f,0x6b]))return _0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a7e93(_0x132cc5(_0x2ea452+_0x21b4fb))!=_0x127d81[_0xebaf0c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xebaf0c([0x56,0x61,0x6c,0x69,0x64]);})[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x1a5505=>(_0x13c56d(),_0x1a5505),()=>{const _0x300481=_0xdc129c();return null==_0x300481?(_0x13c56d(),_0xebaf0c([0x56,0x61,0x6c,0x69,0x64])):_0xebaf0c(_0x4bfc71-_0x300481>(0x415cfca6^_0x4928d2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x25774c)[_0xebaf0c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25774c(_0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1c9129=0x65669626^_0x4928d2;function _0x13c56d(){const _0x3adb64=_0xebaf0c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a7e93(_0x132cc5(_0x13f363)),_0x484ac0=_0x1de25f(_0x1a7e93(window[_0xebaf0c([0x4d,0x61,0x74,0x68])][_0xebaf0c([0x63,0x65,0x69,0x6c])](_0x4bfc71/_0x1c9129)));window[_0xebaf0c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xebaf0c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3adb64,_0x484ac0);}function _0xdc129c(){const _0x131333=_0xebaf0c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a7e93(_0x132cc5(_0x13f363)),_0x5b40c6=window[_0xebaf0c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xebaf0c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x131333);return _0x5b40c6?window[_0xebaf0c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de25f(_0x5b40c6),0x10)*_0x1c9129:null;}function _0x143629(_0x11f123){return new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ca393,_0xc0f9ef)=>{_0x11f123[_0xebaf0c([0x74,0x68,0x65,0x6e])](_0x4ca393,_0xc0f9ef),window[_0xebaf0c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc0f9ef,0x6551ac66^_0x4928d2);});}}_0x2a577a[_0xebaf0c([0x6f,0x6e])](_0xebaf0c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xecc556,_0x23d8d1)=>{if(_0x23d8d1[0x0]!=_0x13f363)return _0x25774c(_0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23d8d1[0x1]={..._0x23d8d1[0x1],[_0xebaf0c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ea452};},{[_0xebaf0c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xebaf0c([0x68,0x69,0x67,0x68])}),_0x2a577a[_0xebaf0c([0x6f,0x6e])](_0xebaf0c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59fc19=>{_0x2375b7(_0x59fc19[_0xebaf0c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b9fce=!0x0,_0xecc2cf(_0x59fc19[_0xebaf0c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xebaf0c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xebaf0c([0x6c,0x6f,0x77])}),_0x2b31be[_0xebaf0c([0x74,0x68,0x65,0x6e])](()=>{_0x5b9fce||_0x25774c(_0xebaf0c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b0f0b(){return _0x2a577a[_0xebaf0c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xebaf0c([0x76,0x69,0x65,0x77])][_0xebaf0c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xebaf0c([0x61,0x75,0x74,0x6f]);}function _0x163dc2(){_0x2a577a[_0xebaf0c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xebaf0c([0x76,0x69,0x65,0x77])][_0xebaf0c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xebaf0c([0x61,0x75,0x74,0x6f]);}}function _0x32e761(_0xfa11c3){const _0xd80d34=[new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x684d78=>setTimeout(_0x684d78,0x6559466a^_0x4928d2)),_0x2b31be[_0xebaf0c([0x74,0x68,0x65,0x6e])](()=>new window[(_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a016e=>{let _0x23eb40=0x0;_0x2a577a[_0xebaf0c([0x6d,0x6f,0x64,0x65,0x6c])][_0xebaf0c([0x6f,0x6e])](_0xebaf0c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2721c6,_0x2c9608)=>{_0x2c9608[0x0][_0xebaf0c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23eb40++,_0x23eb40==(0x6550795e^_0x4928d2)&&(_0x1a016e(),_0x2721c6[_0xebaf0c([0x6f,0x66,0x66])]());});}))];return window[_0xebaf0c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xebaf0c([0x72,0x61,0x63,0x65])](_0xd80d34)[_0xebaf0c([0x74,0x68,0x65,0x6e])](()=>_0xfa11c3);}async function _0x6fef8a(){await _0x2b31be,_0x2a577a[_0xebaf0c([0x6d,0x6f,0x64,0x65,0x6c])][_0xebaf0c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x308045,_0x2a577a[_0xebaf0c([0x6d,0x6f,0x64,0x65,0x6c])][_0xebaf0c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x308045,_0x2a577a[_0xebaf0c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xebaf0c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4979c9(_0x59be90){const _0x33e2ab=_0xe3be69();_0x2a577a[_0x33e2ab]=_0xebaf0c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59be90,_0x59be90!=_0xebaf0c([0x56,0x61,0x6c,0x69,0x64])&&_0x6fef8a();}function _0xe3be69(){const _0x1943b8=window[_0xebaf0c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xebaf0c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xebaf0c([0x6e,0x6f,0x77])]())[_0xebaf0c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xebaf0c([0x2e]),'');let _0x550df4=_0xebaf0c([0x4a]);for(let _0x1178a3=0x0;_0x1178a3<_0x1943b8[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1178a3+=0x2){let _0x597674=window[_0xebaf0c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1943b8[_0xebaf0c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1178a3,_0x1178a3+0x2));_0x597674>=_0x50160c[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x597674-=_0x50160c[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x550df4+=_0x50160c[_0x597674];}return _0x550df4;}function _0x4d56b3(){const _0x7e90f6=_0x2290f4[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])](_0xebaf0c([0x2e]));if(0x3!=_0x7e90f6[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31f7b9(_0x7e90f6[0x1]);function _0x31f7b9(_0x4b2aec){const _0x481bbf=_0x1e5bc1(_0x4b2aec);return _0x481bbf&&_0x5c4286()?_0x481bbf:null;function _0x5c4286(){const _0x3433d5=_0x481bbf[_0xebaf0c([0x6a,0x74,0x69])],_0x5ecb41=window[_0xebaf0c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3433d5[_0xebaf0c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3433d5[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c2d78={..._0x481bbf,[_0xebaf0c([0x6a,0x74,0x69])]:_0x3433d5[_0xebaf0c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3433d5[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c2d78[_0xebaf0c([0x76,0x63])],_0x132cc5(_0x3c2d78)==_0x5ecb41;}}}async function _0x2fd578(){let _0x4aafb8=!0x0;try{const _0xcad661=_0x2290f4[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])](_0xebaf0c([0x2e])),[_0x564402,_0x44d566,_0x2def36]=_0xcad661;return _0x53de83(_0x564402),await _0x81c6c7(_0x564402,_0x44d566,_0x2def36),_0x4aafb8;}catch(_0x2ddfce){return!0x1;}function _0x53de83(_0x5d0290){const _0x16e82c=_0x1e5bc1(_0x5d0290);_0x16e82c&&_0x16e82c[_0xebaf0c([0x61,0x6c,0x67])]==_0xebaf0c([0x45,0x53,0x32,0x35,0x36])||(_0x4aafb8=!0x1);}async function _0x81c6c7(_0x54d259,_0xf52783,_0x516168){const _0xc8477c=window[_0xebaf0c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xebaf0c([0x66,0x72,0x6f,0x6d])](_0x569bbc(_0x516168),_0x2801fd=>_0x2801fd[_0xebaf0c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7060df=new window[(_0xebaf0c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xebaf0c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54d259+_0xebaf0c([0x2e])+_0xf52783),_0x33582d=window[_0xebaf0c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xebaf0c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33582d)return;const _0x1ed11f=await _0x33582d[_0xebaf0c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xebaf0c([0x6a,0x77,0x6b]),_0x20f539,{[_0xebaf0c([0x6e,0x61,0x6d,0x65])]:_0xebaf0c([0x45,0x43,0x44,0x53,0x41]),[_0xebaf0c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xebaf0c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xebaf0c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33582d[_0xebaf0c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xebaf0c([0x6e,0x61,0x6d,0x65])]:_0xebaf0c([0x45,0x43,0x44,0x53,0x41]),[_0xebaf0c([0x68,0x61,0x73,0x68])]:{[_0xebaf0c([0x6e,0x61,0x6d,0x65])]:_0xebaf0c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ed11f,_0xc8477c,_0x7060df)||(_0x4aafb8=!0x1);}}function _0x1e5bc1(_0x9a2ac3){return _0x9a2ac3[_0xebaf0c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xebaf0c([0x65,0x79]))?JSON[_0xebaf0c([0x70,0x61,0x72,0x73,0x65])](_0x569bbc(_0x9a2ac3)):null;}function _0x569bbc(_0x3ef294){return window[_0xebaf0c([0x61,0x74,0x6f,0x62])](_0x3ef294[_0xebaf0c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xebaf0c([0x2b]))[_0xebaf0c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xebaf0c([0x2f])));}function _0x132cc5(_0x1c4d10){let _0x59ff1a=0x1505;function _0x8a61cb(_0x594ce4){for(let _0x23591f=0x0;_0x23591f<_0x594ce4[_0xebaf0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23591f++){const _0x5ed5fd=_0x594ce4[_0xebaf0c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23591f);_0x59ff1a=(_0x59ff1a<<0x5)+_0x59ff1a+_0x5ed5fd,_0x59ff1a&=_0x59ff1a;}}function _0x39b653(_0x438d4e){Array[_0xebaf0c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x438d4e)?_0x438d4e[_0xebaf0c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39b653):_0x438d4e&&typeof _0x438d4e==_0xebaf0c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xebaf0c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x438d4e)[_0xebaf0c([0x73,0x6f,0x72,0x74])]()[_0xebaf0c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1376a0,_0x1b770d])=>{_0x8a61cb(_0x1376a0),_0x39b653(_0x1b770d);}):_0x8a61cb(window[_0xebaf0c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x438d4e));}return _0x39b653(_0x1c4d10),_0x59ff1a>>>0x0;}function _0x1a7e93(_0x290e68){return _0x290e68[_0xebaf0c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xebaf0c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xebaf0c([0x30]));}function _0x1de25f(_0x113154){return _0x113154[_0xebaf0c([0x73,0x70,0x6c,0x69,0x74])]('')[_0xebaf0c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xebaf0c([0x6a,0x6f,0x69,0x6e])]('');}function _0x308045(){}function _0xebaf0c(_0x3e08d5){const _0x54d51e=_0x38a7;return _0x3e08d5[_0x54d51e(0x1cc)](_0x3b3a50=>String[_0x54d51e(0x1ff)](_0x3b3a50))[_0x54d51e(0x1a4)]('');}_0x4979c9(await _0x17caab());}(this);}[_0x3f8731(0x1c4)](){const _0x125473=_0x3f8731,_0x14c5cb=this[_0x125473(0x204)][_0x125473(0x203)];_0x14c5cb[_0x125473(0x1bb)](_0x49748d=>{const _0x34e3a2=_0x125473,_0x2e4788=_0x14c5cb[_0x34e3a2(0x1f4)][_0x34e3a2(0x1a6)][_0x34e3a2(0x1de)]();let _0x4d1bfb=0x0;for(const _0x3741b7 of _0x2e4788){const _0x57fa09=f+':'+_0x4d1bfb;if(_0x14c5cb[_0x34e3a2(0x1ec)][_0x34e3a2(0x1e0)](_0x57fa09))_0x49748d[_0x34e3a2(0x1b2)](_0x57fa09,{'range':_0x3741b7});else{if(_0x3741b7[_0x34e3a2(0x1d1)][_0x34e3a2(0x1f9)]){const _0x3f37e9=_0x3741b7[_0x34e3a2(0x1d1)][_0x34e3a2(0x1a9)](({item:_0x5625b6})=>!_0x14c5cb[_0x34e3a2(0x1a3)][_0x34e3a2(0x1f7)](_0x5625b6),{'boundaries':_0x3741b7});_0x49748d[_0x34e3a2(0x1b0)](_0x57fa09,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49748d[_0x34e3a2(0x1f5)](_0x3f37e9,_0x3741b7[_0x34e3a2(0x1d0)])});}else _0x49748d[_0x34e3a2(0x1b0)](_0x57fa09,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3741b7});}_0x4d1bfb++;}});}[_0x3f8731(0x1fd)](){const _0x4e635f=_0x3f8731,_0x3b3155=this[_0x4e635f(0x204)][_0x4e635f(0x203)],_0x41a51a=Array[_0x4e635f(0x1c7)](this[_0x4e635f(0x204)][_0x4e635f(0x203)][_0x4e635f(0x1ec)][_0x4e635f(0x1f6)](f));_0x41a51a[_0x4e635f(0x1e1)]&&_0x3b3155[_0x4e635f(0x1bb)](_0x3af331=>{const _0x1840bf=_0x4e635f;_0x41a51a[_0x1840bf(0x1cb)](_0x3b70ff=>{const _0x85446e=_0x1840bf;_0x3af331[_0x85446e(0x1dd)](_0x3b70ff);});});}[_0x3f8731(0x1cf)](_0x1c65ce,_0x188a91){const _0x97eee0=_0x3f8731,_0xf0a4a9=this[_0x97eee0(0x1db)](),_0x2e034a=_0x188a91||_0xf0a4a9[_0x97eee0(0x1fc)]();this[_0x97eee0(0x204)][_0x97eee0(0x203)][_0x97eee0(0x1e3)](_0x2e034a)&&this[_0x97eee0(0x204)][_0x97eee0(0x203)][_0x97eee0(0x1bb)](_0x168755=>{const _0x2309fb=_0x97eee0;this[_0x2309fb(0x1fd)](),_0x188a91||this[_0x2309fb(0x207)](_0x168755,_0xf0a4a9),this[_0x2309fb(0x1b9)]({'insertAt':_0x2e034a,'writer':_0x168755,'html':_0x1c65ce});});}[_0x3f8731(0x1bf)](_0x44039a){const _0x6ccbb4=_0x3f8731,{model:_0x45bf4f}=this[_0x6ccbb4(0x204)],_0x78b819=this[_0x6ccbb4(0x1db)]();_0x45bf4f[_0x6ccbb4(0x1bb)](()=>{const _0x1dc99f=_0x6ccbb4,_0xbb52d7=this[_0x1dc99f(0x1a2)](_0x44039a,_0x78b819)||this[_0x1dc99f(0x1ce)](_0x78b819);this[_0x1dc99f(0x1cf)](_0x44039a,_0xbb52d7);});}[_0x3f8731(0x1db)](){const _0x200810=_0x3f8731,_0x31c198=this[_0x200810(0x204)][_0x200810(0x203)],_0x558c89=Array[_0x200810(0x1c7)](_0x31c198[_0x200810(0x1ec)][_0x200810(0x1f6)](f))[_0x200810(0x1cc)](_0x40c585=>_0x40c585[_0x200810(0x1fb)]());return _0x31c198[_0x200810(0x205)](_0x558c89);}[_0x3f8731(0x1b9)]({writer:_0x3550df,html:_0x3cb9ad,insertAt:_0x57d645}){const _0x142d22=_0x3f8731,{view:_0x364ca6}=this[_0x142d22(0x204)][_0x142d22(0x1ad)],_0x1ef376=this[_0x142d22(0x204)][_0x142d22(0x1a0)][_0x142d22(0x1ae)](_0x245df5),_0x4c0236=new w();_0x4c0236[_0x142d22(0x1f0)](_0x142d22(0x1df),_0x3cb9ad);const _0x40c495=new ClipboardEvent(_0x142d22(0x1bd),{'clipboardData':_0x4c0236}),_0x2a947c=new _0x334aaa(_0x364ca6,_0x40c495,{'dataTransfer':new _0x1806de(_0x4c0236)});_0x3550df[_0x142d22(0x1f2)](_0x57d645);const _0x5bb34d=(_0x1cbc30,_0x1136c6)=>{const _0x4319ba=_0x142d22;_0x1136c6[_0x4319ba(0x1af)]&&_0x3550df[_0x4319ba(0x1f2)](_0x1136c6[_0x4319ba(0x1af)]);};_0x1ef376[_0x142d22(0x1c9)](_0x142d22(0x1d7),_0x5bb34d,{'priority':_0x142d22(0x1a5)}),_0x364ca6[_0x142d22(0x1f4)][_0x142d22(0x1ca)](_0x142d22(0x1bd),_0x2a947c),_0x1ef376[_0x142d22(0x1aa)](_0x142d22(0x1d7),_0x5bb34d);}[_0x3f8731(0x1ce)](_0x3eee03){const _0x1b6d58=_0x3f8731,{model:_0x144034}=this[_0x1b6d58(0x204)],_0x560da9=Array[_0x1b6d58(0x1c7)](_0x3eee03[_0x1b6d58(0x1d8)]());return _0x560da9[_0x1b6d58(0x1e1)]?_0x144034[_0x1b6d58(0x1c3)](_0x560da9[_0x1b6d58(0x1f3)]()):_0x3eee03[_0x1b6d58(0x1f1)]();}[_0x3f8731(0x1a2)](_0x41b15b,_0x931bad){const _0x15fd7e=_0x3f8731,{model:_0xfa8155,plugins:_0x25068e}=this[_0x15fd7e(0x204)];if(_0x25068e[_0x15fd7e(0x1e0)](_0x15fd7e(0x1b7))){const _0x84ad8a=_0x25068e[_0x15fd7e(0x1ae)](_0x15fd7e(0x1b7))[_0x15fd7e(0x1eb)](_0x931bad);if(_0x84ad8a[_0x15fd7e(0x1e1)]){const _0x946f18=this[_0x15fd7e(0x1b8)](_0x41b15b),_0x3bd83b=this[_0x15fd7e(0x1a1)](_0x84ad8a,_0x946f18);return _0xfa8155[_0x15fd7e(0x1ee)](_0x3bd83b,0x0);}}return null;}[_0x3f8731(0x1b8)](_0x1dfc71){const _0x312928=_0x3f8731,_0xf8604a=this[_0x312928(0x204)][_0x312928(0x1a0)][_0x312928(0x1ae)](_0x312928(0x1b7)),_0x5aff33=this[_0x312928(0x204)][_0x312928(0x202)][_0x312928(0x1e5)](_0x1dfc71),_0x41d2ed=Array[_0x312928(0x1c7)](_0x5aff33[_0x312928(0x1d5)]())[_0x312928(0x1ea)](_0x3844b0=>_0x3844b0['is'](_0x312928(0x208),_0x312928(0x1c2)));let _0x4e2390=0x0;return _0x41d2ed[_0x312928(0x1cb)](_0x56e387=>{const _0x4278ff=_0x312928;_0x4e2390+=_0xf8604a[_0x4278ff(0x20b)](_0x56e387);}),_0x4e2390;}[_0x3f8731(0x1a1)](_0x4b4348,_0x2db528){const _0x553869=_0x3f8731,_0x24fa22=this[_0x553869(0x204)][_0x553869(0x1a0)][_0x553869(0x1ae)](_0x553869(0x1b7)),_0x5082c4=_0x24fa22[_0x553869(0x1a8)](_0x4b4348),_0x6503c3=_0x24fa22[_0x553869(0x1c8)](_0x4b4348),_0x482673=_0x5082c4[_0x553869(0x1b5)]+0x1,_0x1b716d=_0x6503c3[_0x553869(0x20c)],_0x46d765=_0x4b4348[0x0][_0x553869(0x1b1)](_0x553869(0x1c2));for(let _0x204a46=0x0;_0x204a46<_0x2db528;_0x204a46++)_0x24fa22[_0x553869(0x1fa)](_0x46d765,{'at':_0x482673});return _0x46d765[_0x553869(0x200)](_0x482673)[_0x553869(0x200)](_0x1b716d);}[_0x3f8731(0x207)](_0x3ed46f,_0x3d0269){const _0x18e0f7=_0x3f8731,{plugins:_0x31f2d8}=this[_0x18e0f7(0x204)],{model:_0x351dd1}=_0x3ed46f;if(!_0x31f2d8[_0x18e0f7(0x1e0)](_0x18e0f7(0x1b7)))return;_0x31f2d8[_0x18e0f7(0x1ae)](_0x18e0f7(0x1b7))[_0x18e0f7(0x1eb)](_0x3d0269)[_0x18e0f7(0x1e1)]&&_0x351dd1[_0x18e0f7(0x20d)](_0x3d0269);}}
|
|
23
|
+
const _0xca5585=_0x57cc;(function(_0x18edc2,_0x37ae67){const _0x20d37b=_0x57cc,_0x5e0240=_0x18edc2();while(!![]){try{const _0x450ce0=parseInt(_0x20d37b(0x119))/0x1*(parseInt(_0x20d37b(0x121))/0x2)+-parseInt(_0x20d37b(0x125))/0x3*(-parseInt(_0x20d37b(0x115))/0x4)+-parseInt(_0x20d37b(0x105))/0x5+-parseInt(_0x20d37b(0x126))/0x6*(parseInt(_0x20d37b(0x10d))/0x7)+-parseInt(_0x20d37b(0x122))/0x8*(-parseInt(_0x20d37b(0x13f))/0x9)+-parseInt(_0x20d37b(0x141))/0xa*(-parseInt(_0x20d37b(0xfa))/0xb)+parseInt(_0x20d37b(0x12f))/0xc*(parseInt(_0x20d37b(0x132))/0xd);if(_0x450ce0===_0x37ae67)break;else _0x5e0240['push'](_0x5e0240['shift']());}catch(_0x5d3110){_0x5e0240['push'](_0x5e0240['shift']());}}}(_0x41e7,0xe8ae0));import{uid as _0x43ce40}from'ckeditor5/src/utils.js';import{Plugin as _0x33d453}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x10d703}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x22fe7b,DataTransfer as _0x3129e7}from'ckeditor5/src/engine.js';const w=globalThis[_0xca5585(0x136)],f=_0xca5585(0x12d);function _0x57cc(_0x4e1e4e,_0x137dd8){const _0x41e707=_0x41e7();return _0x57cc=function(_0x57ccbe,_0x2ea9c7){_0x57ccbe=_0x57ccbe-0xef;let _0x20bc28=_0x41e707[_0x57ccbe];return _0x20bc28;},_0x57cc(_0x4e1e4e,_0x137dd8);}function _0x41e7(){const _0x4a8836=['16790AARlWo','40fOoRjT','deleteContent','isContent','1360191mZiWmz','6JmvNHZ','getSelectedBlocks','paste','ai.useTheme','getChildren','markerToHighlight','ck-fake-ai-selection','ai-ui','length','5334636iJaaqj','createPositionAfter','href','13fcpXlr','change','_prepareTableInsertBelowPosition','start','DataTransfer','getColumnIndexes','off','markerRange','pop','editing','lowest','filter','hideFakeVisualSelection','10827CMmtTt','plugins','353610FsfRtN','createRange','schema','addMarker','setSelection','contentInsertion','end','createSelection','getRows','parse','removeMarker','_getTableRowCountFromContent','config','markers','map','last','pluginName','showFakeVisualSelection','_getAISelection','data','AIAssistantEditing','getRowIndexes','getRange','insertContentBelow','addClass','isCollapsed','span','fromCharCode','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed','document','push','init','TableUtils','_resetContentOfSelectedTableCells','insertContent','resultRange','text/html','_getDefaultInsertBelowPosition','getLastMatchingPosition','editingDowncast','isAtEnd','341IZPSvY','for','setData','afterInit','isOfficialPlugin','has','model','markerToElement','updateMarker','insertRows','fire','5814555NcXwps','element','createUIElement','getLastPosition','join','forEach','_pasteHTMLUsingClipboard','getSelectedTableCells','3597167jGkDVG','getChild','once','conversion','findAncestor','editor','getMarkersGroup','canEditAt','8jbHrQD','get','getFirstRange','selection','21HjXNQA','getRanges','createPositionAt','table','first','from','_createEmptyTableRows','isPremiumPlugin'];_0x41e7=function(){return _0x4a8836;};return _0x41e7();}export default class a extends _0x33d453{static get[_0xca5585(0x151)](){const _0x4179b3=_0xca5585;return _0x4179b3(0x155);}static get[_0xca5585(0xfe)](){return!0x0;}static get[_0xca5585(0x120)](){return!0x0;}[_0xca5585(0xf0)](){const _0x1271bb=_0xca5585,{editor:_0x10bb78}=this,_0x30bd2b=[_0x1271bb(0x12c)];_0x10bb78[_0x1271bb(0x14d)][_0x1271bb(0x116)](_0x1271bb(0x129))&&_0x30bd2b[_0x1271bb(0xef)](_0x1271bb(0x15d)),_0x10bb78[_0x1271bb(0x110)][_0x1271bb(0xfb)](_0x1271bb(0xf8))[_0x1271bb(0x12b)]({'model':f,'view':{'classes':_0x30bd2b,'priority':0xc}}),_0x10bb78[_0x1271bb(0x110)][_0x1271bb(0xfb)](_0x1271bb(0xf8))[_0x1271bb(0x101)]({'model':f,'view':(_0x26840c,{writer:_0x26cfd8})=>{const _0x4c0b8e=_0x1271bb;if(!_0x26840c[_0x4c0b8e(0x139)][_0x4c0b8e(0x15a)])return null;const _0x3af479=_0x26cfd8[_0x4c0b8e(0x107)](_0x4c0b8e(0x15b));return _0x26cfd8[_0x4c0b8e(0x159)]([_0x4c0b8e(0x12c),_0x4c0b8e(0x15e)],_0x3af479),_0x3af479;}});}[_0xca5585(0xfd)](){!async function(_0x3912b2){const _0x1d1e99=_0x387716([0x6d,0x55,0x65,0x5a,0x57,0x4b,0x37,0x49,0x7a,0x4f,0x73,0x78,0x54,0x72,0x42,0x59,0x6c,0x4e,0x4c,0x58,0x63,0x33,0x61,0x36,0x31,0x43,0x30,0x53,0x6f,0x38,0x35,0x76,0x67,0x52,0x4a,0x46,0x41,0x45,0x68,0x4d,0x62,0x44,0x79,0x56,0x69,0x6e,0x6b,0x50,0x6a,0x64,0x51,0x75,0x48,0x70,0x77,0x39,0x71,0x66,0x32,0x34,0x74,0x47]),_0xf9c2de=0x32a0451c,_0x3e2225=0x32a726fc^_0xf9c2de,_0x1efeb7=window[_0x387716([0x44,0x61,0x74,0x65])][_0x387716([0x6e,0x6f,0x77])](),_0x15b8c7=_0x3912b2[_0x387716([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1572ed=new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9cd59a=>{_0x15b8c7[_0x387716([0x6f,0x6e,0x63,0x65])](_0x387716([0x72,0x65,0x61,0x64,0x79]),_0x9cd59a);}),_0xd389f4={[_0x387716([0x6b,0x74,0x79])]:_0x387716([0x45,0x43]),[_0x387716([0x75,0x73,0x65])]:_0x387716([0x73,0x69,0x67]),[_0x387716([0x63,0x72,0x76])]:_0x387716([0x50,0x2d,0x32,0x35,0x36]),[_0x387716([0x78])]:_0x387716([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]),[_0x387716([0x79])]:_0x387716([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]),[_0x387716([0x61,0x6c,0x67])]:_0x387716([0x45,0x53,0x32,0x35,0x36])},_0x47827f=_0x15b8c7[_0x387716([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x387716([0x67,0x65,0x74])](_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c8c5c(){let _0x95c1a6,_0x3b953c=null,_0x58e253=null;try{if(_0x47827f==_0x387716([0x47,0x50,0x4c]))return _0x387716([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x95c1a6=_0x8fc670(),!_0x95c1a6)return _0x387716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x95c1a6[_0x387716([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58e253=_0x53c176(_0x95c1a6[_0x387716([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x95c1a6[_0x387716([0x6a,0x74,0x69])])),await _0x131f11()?_0x1c7084()?_0x215083()?_0x387716([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f46e0()?(_0x95c1a6[_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x387716([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b953c=_0x1bbf06(_0x387716([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x95c1a6[_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x387716([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b953c=_0x1bbf06(_0x387716([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x309700()):_0x387716([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x387716([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x387716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b0c41){return _0x387716([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x215083(){const _0x13c2a9=[_0x387716([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x387716([0x74,0x72,0x69,0x61,0x6c])][_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95c1a6[_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1efeb7/0x3e8:0xe10*_0x3e2225;return _0x95c1a6[_0x387716([0x65,0x78,0x70])]<_0x13c2a9;}function _0x1c7084(){const _0x1b299f=_0x95c1a6[_0x387716([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b299f&&(!!_0x1b299f[_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387716([0x2a]))||!!_0x1b299f[_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387716([0x41,0x49])));}function _0x3f46e0(){const _0x2458e9=_0x57cc,_0xaf81d1=_0x95c1a6[_0x387716([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xaf81d1||0x0==_0xaf81d1[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50135d}=new URL(window[_0x387716([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2458e9(0x131)]);if(_0xaf81d1[_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50135d))return!0x0;const _0x2c6f0f=_0x50135d[_0x387716([0x73,0x70,0x6c,0x69,0x74])](_0x387716([0x2e]));return _0xaf81d1[_0x387716([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a494b=>_0x4a494b[_0x387716([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x387716([0x2a])))[_0x387716([0x6d,0x61,0x70])](_0x194236=>_0x194236[_0x387716([0x73,0x70,0x6c,0x69,0x74])](_0x387716([0x2e])))[_0x387716([0x73,0x6f,0x6d,0x65])](_0x2a50a3=>_0x2c6f0f[_0x387716([0x65,0x76,0x65,0x72,0x79])]((_0x41a5e2,_0x115d96)=>_0x2a50a3[_0x115d96]===_0x41a5e2||_0x2a50a3[_0x115d96]===_0x387716([0x2a])));}function _0x309700(){return _0x3b953c&&_0x58e253?new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59f380,_0x3db0fc)=>{_0x3b953c[_0x387716([0x74,0x68,0x65,0x6e])](_0x59f380,_0x3db0fc),_0x58e253[_0x387716([0x74,0x68,0x65,0x6e])](_0x40d970=>{_0x40d970!=_0x387716([0x56,0x61,0x6c,0x69,0x64])&&_0x59f380(_0x40d970);},_0x3db0fc);}):_0x3b953c||_0x58e253||_0x387716([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53c176(_0x57250c,_0x5a7faf){return new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f55ed=>{if(_0x172e51())return _0x3f55ed(_0x387716([0x56,0x61,0x6c,0x69,0x64]));_0xe3a9e2(),_0x15b8c7[_0x387716([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x387716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24710f=!0x1;const _0x2f3d28=_0x43ce40();function _0x237503(_0x300358){return!!_0x300358&&(typeof _0x300358===_0x387716([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x300358===_0x387716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x300358[_0x387716([0x74,0x68,0x65,0x6e])]===_0x387716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x300358[_0x387716([0x63,0x61,0x74,0x63,0x68])]===_0x387716([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1658ea(_0x1f6e66){_0x378784(_0x1f6e66)[_0x387716([0x74,0x68,0x65,0x6e])](_0x4146ee=>{if(!_0x4146ee||_0x4146ee[_0x387716([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x387716([0x6f,0x6b]))return _0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33d406(_0x4d9457(_0x2f3d28+_0x5a7faf))!=_0x4146ee[_0x387716([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x387716([0x56,0x61,0x6c,0x69,0x64]);})[_0x387716([0x74,0x68,0x65,0x6e])](_0x1cb3dc=>(_0x44e6fb(),_0x1cb3dc),()=>{const _0x439c77=_0x1ae0ff();return null==_0x439c77?(_0x44e6fb(),_0x387716([0x56,0x61,0x6c,0x69,0x64])):_0x387716(_0x1efeb7-_0x439c77>(0x16acc11c^_0xf9c2de)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x387716([0x74,0x68,0x65,0x6e])](_0x3f55ed)[_0x387716([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f55ed(_0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28f4d4=0x3296ab9c^_0xf9c2de;function _0x44e6fb(){const _0x2ee215=_0x387716([0x6c,0x6c,0x63,0x74,0x2d])+_0x33d406(_0x4d9457(_0x57250c)),_0x10db85=_0x35302a(_0x33d406(window[_0x387716([0x4d,0x61,0x74,0x68])][_0x387716([0x63,0x65,0x69,0x6c])](_0x1efeb7/_0x28f4d4)));window[_0x387716([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x387716([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ee215,_0x10db85);}function _0x1ae0ff(){const _0x4f5f22=_0x387716([0x6c,0x6c,0x63,0x74,0x2d])+_0x33d406(_0x4d9457(_0x57250c)),_0x47504c=window[_0x387716([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x387716([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f5f22);return _0x47504c?window[_0x387716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35302a(_0x47504c),0x10)*_0x28f4d4:null;}function _0x378784(_0x3735ed){return new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x119d50,_0x10d4f4)=>{_0x3735ed[_0x387716([0x74,0x68,0x65,0x6e])](_0x119d50,_0x10d4f4),window[_0x387716([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10d4f4,0x32a191dc^_0xf9c2de);});}}_0x15b8c7[_0x387716([0x6f,0x6e])](_0x387716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bda9f,_0x57cd65)=>{if(_0x57cd65[0x0]!=_0x57250c)return _0x3f55ed(_0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57cd65[0x1]={..._0x57cd65[0x1],[_0x387716([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f3d28};},{[_0x387716([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x387716([0x68,0x69,0x67,0x68])}),_0x15b8c7[_0x387716([0x6f,0x6e])](_0x387716([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26e172=>{_0x237503(_0x26e172[_0x387716([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24710f=!0x0,_0x1658ea(_0x26e172[_0x387716([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x387716([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x387716([0x6c,0x6f,0x77])}),_0x1572ed[_0x387716([0x74,0x68,0x65,0x6e])](()=>{_0x24710f||_0x3f55ed(_0x387716([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x172e51(){return _0x15b8c7[_0x387716([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x387716([0x76,0x69,0x65,0x77])][_0x387716([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x387716([0x61,0x75,0x74,0x6f]);}function _0xe3a9e2(){_0x15b8c7[_0x387716([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x387716([0x76,0x69,0x65,0x77])][_0x387716([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x387716([0x61,0x75,0x74,0x6f]);}}function _0x1bbf06(_0x3cf7cb){const _0x1a03bb=[new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3157a2=>setTimeout(_0x3157a2,0x32a97bd0^_0xf9c2de)),_0x1572ed[_0x387716([0x74,0x68,0x65,0x6e])](()=>new window[(_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bb3a1=>{let _0x557919=0x0;_0x15b8c7[_0x387716([0x6d,0x6f,0x64,0x65,0x6c])][_0x387716([0x6f,0x6e])](_0x387716([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4de27a,_0x2c76bc)=>{_0x2c76bc[0x0][_0x387716([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x557919++,_0x557919==(0x32a044e4^_0xf9c2de)&&(_0x2bb3a1(),_0x4de27a[_0x387716([0x6f,0x66,0x66])]());});}))];return window[_0x387716([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x387716([0x72,0x61,0x63,0x65])](_0x1a03bb)[_0x387716([0x74,0x68,0x65,0x6e])](()=>_0x3cf7cb);}async function _0x78cd70(){await _0x1572ed,_0x15b8c7[_0x387716([0x6d,0x6f,0x64,0x65,0x6c])][_0x387716([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18edf5,_0x15b8c7[_0x387716([0x6d,0x6f,0x64,0x65,0x6c])][_0x387716([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18edf5,_0x15b8c7[_0x387716([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x387716([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x247f36(_0x30a78b){const _0x4c02c5=_0x4b8e0();_0x15b8c7[_0x4c02c5]=_0x387716([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30a78b,_0x30a78b!=_0x387716([0x56,0x61,0x6c,0x69,0x64])&&_0x78cd70();}function _0x4b8e0(){const _0x1b1308=window[_0x387716([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x387716([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x387716([0x6e,0x6f,0x77])]())[_0x387716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x387716([0x2e]),'');let _0x1f19f7=_0x387716([0x6d]);for(let _0xecf8c9=0x0;_0xecf8c9<_0x1b1308[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xecf8c9+=0x2){let _0x224e9c=window[_0x387716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b1308[_0x387716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xecf8c9,_0xecf8c9+0x2));_0x224e9c>=_0x1d1e99[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x224e9c-=_0x1d1e99[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f19f7+=_0x1d1e99[_0x224e9c];}return _0x1f19f7;}function _0x8fc670(){const _0x3894ba=_0x47827f[_0x387716([0x73,0x70,0x6c,0x69,0x74])](_0x387716([0x2e]));if(0x3!=_0x3894ba[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18eaa8(_0x3894ba[0x1]);function _0x18eaa8(_0x30c68b){const _0xaf2b4e=_0x2872eb(_0x30c68b);return _0xaf2b4e&&_0xcd3b00()?_0xaf2b4e:null;function _0xcd3b00(){const _0x59a5e0=_0xaf2b4e[_0x387716([0x6a,0x74,0x69])],_0x1d3330=window[_0x387716([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59a5e0[_0x387716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59a5e0[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a00db={..._0xaf2b4e,[_0x387716([0x6a,0x74,0x69])]:_0x59a5e0[_0x387716([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59a5e0[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a00db[_0x387716([0x76,0x63])],_0x4d9457(_0x5a00db)==_0x1d3330;}}}async function _0x131f11(){let _0x406fc6=!0x0;try{const _0x52446f=_0x47827f[_0x387716([0x73,0x70,0x6c,0x69,0x74])](_0x387716([0x2e])),[_0x3228b5,_0x1e52de,_0xac60fa]=_0x52446f;return _0x30400f(_0x3228b5),await _0x415032(_0x3228b5,_0x1e52de,_0xac60fa),_0x406fc6;}catch(_0x55e3f0){return!0x1;}function _0x30400f(_0x3a9cbb){const _0x185ac9=_0x2872eb(_0x3a9cbb);_0x185ac9&&_0x185ac9[_0x387716([0x61,0x6c,0x67])]==_0x387716([0x45,0x53,0x32,0x35,0x36])||(_0x406fc6=!0x1);}async function _0x415032(_0x1c9563,_0x26ef0e,_0x1004ce){const _0x16c88c=window[_0x387716([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x387716([0x66,0x72,0x6f,0x6d])](_0x18ef0b(_0x1004ce),_0x1f3593=>_0x1f3593[_0x387716([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39497c=new window[(_0x387716([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x387716([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c9563+_0x387716([0x2e])+_0x26ef0e),_0x4e8dcf=window[_0x387716([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x387716([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e8dcf)return;const _0x36bf65=await _0x4e8dcf[_0x387716([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x387716([0x6a,0x77,0x6b]),_0xd389f4,{[_0x387716([0x6e,0x61,0x6d,0x65])]:_0x387716([0x45,0x43,0x44,0x53,0x41]),[_0x387716([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x387716([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x387716([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e8dcf[_0x387716([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x387716([0x6e,0x61,0x6d,0x65])]:_0x387716([0x45,0x43,0x44,0x53,0x41]),[_0x387716([0x68,0x61,0x73,0x68])]:{[_0x387716([0x6e,0x61,0x6d,0x65])]:_0x387716([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x36bf65,_0x16c88c,_0x39497c)||(_0x406fc6=!0x1);}}function _0x2872eb(_0x50336e){return _0x50336e[_0x387716([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x387716([0x65,0x79]))?JSON[_0x387716([0x70,0x61,0x72,0x73,0x65])](_0x18ef0b(_0x50336e)):null;}function _0x18ef0b(_0xfc706a){return window[_0x387716([0x61,0x74,0x6f,0x62])](_0xfc706a[_0x387716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x387716([0x2b]))[_0x387716([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x387716([0x2f])));}function _0x4d9457(_0x235174){let _0x43de33=0x1505;function _0x2d5af2(_0x3e13c8){for(let _0x5b8551=0x0;_0x5b8551<_0x3e13c8[_0x387716([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b8551++){const _0x5347f7=_0x3e13c8[_0x387716([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b8551);_0x43de33=(_0x43de33<<0x5)+_0x43de33+_0x5347f7,_0x43de33&=_0x43de33;}}function _0x16cdc4(_0x130ff1){Array[_0x387716([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x130ff1)?_0x130ff1[_0x387716([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16cdc4):_0x130ff1&&typeof _0x130ff1==_0x387716([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x387716([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x130ff1)[_0x387716([0x73,0x6f,0x72,0x74])]()[_0x387716([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x34409c,_0x317a9f])=>{_0x2d5af2(_0x34409c),_0x16cdc4(_0x317a9f);}):_0x2d5af2(window[_0x387716([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x130ff1));}return _0x16cdc4(_0x235174),_0x43de33>>>0x0;}function _0x33d406(_0x3fce06){return _0x3fce06[_0x387716([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x387716([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x387716([0x30]));}function _0x35302a(_0x5968da){return _0x5968da[_0x387716([0x73,0x70,0x6c,0x69,0x74])]('')[_0x387716([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x387716([0x6a,0x6f,0x69,0x6e])]('');}function _0x18edf5(){}function _0x387716(_0x8dbae9){const _0x3642bd=_0x57cc;return _0x8dbae9[_0x3642bd(0x14f)](_0x12ef8e=>String[_0x3642bd(0x15c)](_0x12ef8e))[_0x3642bd(0x109)]('');}_0x247f36(await _0x5c8c5c());}(this);}[_0xca5585(0x152)](){const _0x43d5f9=_0xca5585,_0x34a3d1=this[_0x43d5f9(0x112)][_0x43d5f9(0x100)];_0x34a3d1[_0x43d5f9(0x133)](_0x1c5ab8=>{const _0x1fff77=_0x43d5f9,_0x21cba1=_0x34a3d1[_0x1fff77(0x15f)][_0x1fff77(0x118)][_0x1fff77(0x11a)]();let _0x4b7c67=0x0;for(const _0x45e82f of _0x21cba1){const _0x531060=f+':'+_0x4b7c67;if(_0x34a3d1[_0x1fff77(0x14e)][_0x1fff77(0xff)](_0x531060))_0x1c5ab8[_0x1fff77(0x102)](_0x531060,{'range':_0x45e82f});else{if(_0x45e82f[_0x1fff77(0x135)][_0x1fff77(0xf9)]){const _0x457efe=_0x45e82f[_0x1fff77(0x135)][_0x1fff77(0xf7)](({item:_0x527227})=>!_0x34a3d1[_0x1fff77(0x143)][_0x1fff77(0x124)](_0x527227),{'boundaries':_0x45e82f});_0x1c5ab8[_0x1fff77(0x144)](_0x531060,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c5ab8[_0x1fff77(0x142)](_0x457efe,_0x45e82f[_0x1fff77(0x147)])});}else _0x1c5ab8[_0x1fff77(0x144)](_0x531060,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45e82f});}_0x4b7c67++;}});}[_0xca5585(0x13e)](){const _0x108137=_0xca5585,_0x468d32=this[_0x108137(0x112)][_0x108137(0x100)],_0x4b0635=Array[_0x108137(0x11e)](this[_0x108137(0x112)][_0x108137(0x100)][_0x108137(0x14e)][_0x108137(0x113)](f));_0x4b0635[_0x108137(0x12e)]&&_0x468d32[_0x108137(0x133)](_0x1b426d=>{const _0x193b64=_0x108137;_0x4b0635[_0x193b64(0x10a)](_0x42fbf5=>{const _0x27ded1=_0x193b64;_0x1b426d[_0x27ded1(0x14b)](_0x42fbf5);});});}[_0xca5585(0xf3)](_0x9647f9,_0x36200f){const _0x267d4b=_0xca5585,_0x405c65=this[_0x267d4b(0x153)](),_0x59c7ec=_0x36200f||_0x405c65[_0x267d4b(0x117)]();this[_0x267d4b(0x112)][_0x267d4b(0x100)][_0x267d4b(0x114)](_0x59c7ec)&&this[_0x267d4b(0x112)][_0x267d4b(0x100)][_0x267d4b(0x133)](_0x3e9772=>{const _0x58afb2=_0x267d4b;this[_0x58afb2(0x13e)](),_0x36200f||this[_0x58afb2(0xf2)](_0x3e9772,_0x405c65),this[_0x58afb2(0x10b)]({'insertAt':_0x59c7ec,'writer':_0x3e9772,'html':_0x9647f9});});}[_0xca5585(0x158)](_0xa71d7a){const _0x1f7298=_0xca5585,{model:_0x4ff9dd}=this[_0x1f7298(0x112)],_0x96ae73=this[_0x1f7298(0x153)]();_0x4ff9dd[_0x1f7298(0x133)](()=>{const _0x45db49=_0x1f7298,_0x4799f9=this[_0x45db49(0x134)](_0xa71d7a,_0x96ae73)||this[_0x45db49(0xf6)](_0x96ae73);this[_0x45db49(0xf3)](_0xa71d7a,_0x4799f9);});}[_0xca5585(0x153)](){const _0x5df067=_0xca5585,_0x26c40c=this[_0x5df067(0x112)][_0x5df067(0x100)],_0x58fb3a=Array[_0x5df067(0x11e)](_0x26c40c[_0x5df067(0x14e)][_0x5df067(0x113)](f))[_0x5df067(0x14f)](_0x31f3ba=>_0x31f3ba[_0x5df067(0x157)]());return _0x26c40c[_0x5df067(0x148)](_0x58fb3a);}[_0xca5585(0x10b)]({writer:_0x2d6017,html:_0xf25775,insertAt:_0x5cf525}){const _0x498415=_0xca5585,{view:_0x1a7be3}=this[_0x498415(0x112)][_0x498415(0x13b)],_0x118242=this[_0x498415(0x112)][_0x498415(0x140)][_0x498415(0x116)](_0x10d703),_0x469ea2=new w();_0x469ea2[_0x498415(0xfc)](_0x498415(0xf5),_0xf25775);const _0x4360aa=new ClipboardEvent(_0x498415(0x128),{'clipboardData':_0x469ea2}),_0x58dcb7=new _0x22fe7b(_0x1a7be3,_0x4360aa,{'dataTransfer':new _0x3129e7(_0x469ea2)});_0x2d6017[_0x498415(0x145)](_0x5cf525);const _0x3f1f49=(_0x3271aa,_0x2e28ce)=>{const _0x1d7c82=_0x498415;_0x2e28ce[_0x1d7c82(0xf4)]&&_0x2d6017[_0x1d7c82(0x145)](_0x2e28ce[_0x1d7c82(0xf4)]);};_0x118242[_0x498415(0x10f)](_0x498415(0x146),_0x3f1f49,{'priority':_0x498415(0x13c)}),_0x1a7be3[_0x498415(0x15f)][_0x498415(0x104)](_0x498415(0x128),_0x58dcb7),_0x118242[_0x498415(0x138)](_0x498415(0x146),_0x3f1f49);}[_0xca5585(0xf6)](_0x32a8f8){const _0x62f072=_0xca5585,{model:_0xf55156}=this[_0x62f072(0x112)],_0x197d36=Array[_0x62f072(0x11e)](_0x32a8f8[_0x62f072(0x127)]());return _0x197d36[_0x62f072(0x12e)]?_0xf55156[_0x62f072(0x130)](_0x197d36[_0x62f072(0x13a)]()):_0x32a8f8[_0x62f072(0x108)]();}[_0xca5585(0x134)](_0x5365fb,_0x22a53d){const _0x54ee18=_0xca5585,{model:_0x3123c8,plugins:_0xcca43f}=this[_0x54ee18(0x112)];if(_0xcca43f[_0x54ee18(0xff)](_0x54ee18(0xf1))){const _0x4ed893=_0xcca43f[_0x54ee18(0x116)](_0x54ee18(0xf1))[_0x54ee18(0x10c)](_0x22a53d);if(_0x4ed893[_0x54ee18(0x12e)]){const _0x346922=this[_0x54ee18(0x14c)](_0x5365fb),_0x47cdc0=this[_0x54ee18(0x11f)](_0x4ed893,_0x346922);return _0x3123c8[_0x54ee18(0x11b)](_0x47cdc0,0x0);}}return null;}[_0xca5585(0x14c)](_0x3adb75){const _0x377ba6=_0xca5585,_0xb0354f=this[_0x377ba6(0x112)][_0x377ba6(0x140)][_0x377ba6(0x116)](_0x377ba6(0xf1)),_0x5e540b=this[_0x377ba6(0x112)][_0x377ba6(0x154)][_0x377ba6(0x14a)](_0x3adb75),_0x316aa0=Array[_0x377ba6(0x11e)](_0x5e540b[_0x377ba6(0x12a)]())[_0x377ba6(0x13d)](_0x52fbd9=>_0x52fbd9['is'](_0x377ba6(0x106),_0x377ba6(0x11c)));let _0x445f10=0x0;return _0x316aa0[_0x377ba6(0x10a)](_0x43440a=>{const _0x45af63=_0x377ba6;_0x445f10+=_0xb0354f[_0x45af63(0x149)](_0x43440a);}),_0x445f10;}[_0xca5585(0x11f)](_0x444bf6,_0x3dd509){const _0x2875f6=_0xca5585,_0x36fff2=this[_0x2875f6(0x112)][_0x2875f6(0x140)][_0x2875f6(0x116)](_0x2875f6(0xf1)),_0x1b4298=_0x36fff2[_0x2875f6(0x156)](_0x444bf6),_0x47bb8a=_0x36fff2[_0x2875f6(0x137)](_0x444bf6),_0x5455d7=_0x1b4298[_0x2875f6(0x150)]+0x1,_0x4e115a=_0x47bb8a[_0x2875f6(0x11d)],_0x3c4346=_0x444bf6[0x0][_0x2875f6(0x111)](_0x2875f6(0x11c));for(let _0x1a3f44=0x0;_0x1a3f44<_0x3dd509;_0x1a3f44++)_0x36fff2[_0x2875f6(0x103)](_0x3c4346,{'at':_0x5455d7});return _0x3c4346[_0x2875f6(0x10e)](_0x5455d7)[_0x2875f6(0x10e)](_0x4e115a);}[_0xca5585(0xf2)](_0x2a35b4,_0x46ebaa){const _0x5f01eb=_0xca5585,{plugins:_0x4000d}=this[_0x5f01eb(0x112)],{model:_0x223077}=_0x2a35b4;if(!_0x4000d[_0x5f01eb(0xff)](_0x5f01eb(0xf1)))return;_0x4000d[_0x5f01eb(0x116)](_0x5f01eb(0xf1))[_0x5f01eb(0x10c)](_0x46ebaa)[_0x5f01eb(0x12e)]&&_0x223077[_0x5f01eb(0x123)](_0x46ebaa);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14925e=_0x2767;(function(_0x236dc0,_0x1bd069){const _0x73f6d4=_0x2767,_0x2b8c5e=_0x236dc0();while(!![]){try{const _0x2c6d54=parseInt(_0x73f6d4(0x278))/0x1+-parseInt(_0x73f6d4(0x22b))/0x2*(parseInt(_0x73f6d4(0x271))/0x3)+parseInt(_0x73f6d4(0x27b))/0x4+-parseInt(_0x73f6d4(0x23b))/0x5*(-parseInt(_0x73f6d4(0x1f5))/0x6)+parseInt(_0x73f6d4(0x219))/0x7*(-parseInt(_0x73f6d4(0x279))/0x8)+-parseInt(_0x73f6d4(0x26a))/0x9+-parseInt(_0x73f6d4(0x231))/0xa*(-parseInt(_0x73f6d4(0x226))/0xb);if(_0x2c6d54===_0x1bd069)break;else _0x2b8c5e['push'](_0x2b8c5e['shift']());}catch(_0x17baf2){_0x2b8c5e['push'](_0x2b8c5e['shift']());}}}(_0x31d6,0x9e595));import{Plugin as _0x24ca40}from'ckeditor5/src/core.js';import{IconMagicWand as _0x274bea,IconRobotPencil as _0x44bd63}from'ckeditor5/src/icons.js';import{first as _0x7932e8,CKEditorError as _0x15c81f}from'ckeditor5/src/utils.js';import{createDropdown as _0x5b2225,addMenuToDropdown as _0x169f76,ButtonView as _0x31130c,MenuBarMenuListItemButtonView as _0x504b8c,Dialog as _0x52f79c,DialogViewPosition as _0x5043a3,MenuBarMenuView as _0x4ee503,MenuBarMenuListView as _0x59d6d6,MenuBarMenuListItemView as _0x2f2663}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x23d322,UNGROUPED_COMMANDS_GROUP_ID as _0x2d4a1a}from'./utils/normalizecommandsconfig.js';import _0xc27f3d from'./aiassistantediting.js';import _0x57fb87 from'./adapters/aiadapter.js';function _0x31d6(){const _0x5f27f8=['menuBar:aiAssistant','promptView','fire','aiLicenseKeyUsageLimit','change:enabledCommandsIds','11EAyEqm','_getResolvedCommandsDefinitions','editor','menuPanelClass','getLimitElement','20DHvcDl','requires','DataTransfer','update','copy','isOn','3094690wCBRCt','showFakeVisualSelection','aiLicenseKeyExpired','model','custom','AI\x20Assistant','isEnabled','menuBar:aiCommands','AIAssistant','wasMoved','75EiTbXj','usageLimit','ai.aiAssistant.contentAreaCssClass','filter','view','from','polite','hide','map','REPLACE','featureNotAllowed','ai-commands-config-order-collision','AI\x20is\x20writing','delegate','selection','componentFactory','aiLicenseKeyEvaluationLimit','currentContext','insertContentBelow','aiAssistant','schema','Generated\x20content:\x20%0','ck-ai-assistant-button\x20','aiLicenseKeyValid','execute','groupLabel','splice','prompt','aiCommands','groupId','_createAIAssistantUIButton','addMany','ai.aiAssistant.commands','plugins','isCollapsed','evaluationLimit','comment','updateView','showUI','init','rawHtml','commands','text/html','getData','_getMenuBarGroupButtons','AIAssistantUI','add','6922548pnftLF','hideFakeVisualSelection','_initView','ck-ai-commands-dropdown\x20','isPremiumPlugin','invalid','pluginName','321180yikxYg','isFlat','AI\x20Commands','change','hideUI','show','document','778066HAqglD','5483992RROEfO','items','4593292kpRaxL','aiLicenseKeyDomainLimit','label','fieldView','<p>','focus','destroy','getSelectedBlocks','ai.useTheme','_onExecute','INSERT','expired','errorView','getRanges','_aiAssistantController','config','listenTo','change:isError','define','ck-ai-assistant-ui','aiLicenseKeyInvalid','sort','change:isProcessing','menuView','announce','text','_uiCssClasses','</p>','once','render','push','tableOfContents','queryView','_commandDefinitions','insertContent','menuitemcheckbox','_forceMarkersCopy','set','_populateMenuBarMenu','requiresContent','length','trialLimit','trim','375204reGLTf','bind','forEach','textAdapter','domainLimit','get','children','includes','enabledCommandsIds','EDITOR_TOP_SIDE','change:value','locale','setSelection','contentArea','ai.aiAssistant.disabledElements','buttonView','command:','getSelectedElement','order','values','isOfficialPlugin','aiLicenseKeyTrialLimit','\x20ck-ai-assistant-ui_theme','licenseKey','_licenseKeyCheckInterval','_initAriaAiStatusChangeAnnouncements','panelView','replaceContent','media','replace','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','editing','reset','_showLicenseError','source','7kDQHep','body','updatePosition','_dialog','showAIAssistant','buttons','aiLicenseKeyNotAllowed','_aiAdapter'];_0x31d6=function(){return _0x5f27f8;};return _0x31d6();}import{getTranslation as _0x172252}from'./utils/common-translations.js';import _0x23673d from'./ui/showaiassistantcommand.js';import _0xba2b01 from'./ui/aiassistantcontroller.js';import _0x3b2fed from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x14b6e9}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x14925e(0x22d)];import{ClipboardMarkersUtils as _0x4b0feb}from'ckeditor5/src/clipboard.js';function _0x2767(_0x575233,_0x2ed320){const _0x31d64a=_0x31d6();return _0x2767=function(_0x276745,_0x409064){_0x276745=_0x276745-0x1d9;let _0x4740d1=_0x31d64a[_0x276745];return _0x4740d1;},_0x2767(_0x575233,_0x2ed320);}import{DomEventData as _0x41601b,DataTransfer as _0x2073bc}from'ckeditor5/src/engine.js';export default class n extends _0x24ca40{[_0x14925e(0x20c)];[_0x14925e(0x20d)];[_0x14925e(0x21c)];[_0x14925e(0x213)];[_0x14925e(0x220)];[_0x14925e(0x289)];[_0x14925e(0x1e4)]='';static get[_0x14925e(0x270)](){const _0x49bdab=_0x14925e;return _0x49bdab(0x268);}static get[_0x14925e(0x209)](){return!0x0;}static get[_0x14925e(0x26e)](){return!0x0;}static get[_0x14925e(0x22c)](){return[_0x4b0feb,_0xc27f3d,_0x57fb87,_0x52f79c];}constructor(_0x273779){const _0x1afe59=_0x14925e;super(_0x273779),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x203),[_0x1afe59(0x211),_0x1afe59(0x263),_0x1afe59(0x1e9)]),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x23d),''),_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1dc)](_0x1afe59(0x283),!0x0),this[_0x1afe59(0x1e4)]=_0x1afe59(0x1dd)+(_0x273779[_0x1afe59(0x1d9)][_0x1afe59(0x1fa)](_0x1afe59(0x283))?_0x1afe59(0x20b):'');}[_0x14925e(0x262)](){const _0x124e06=_0x14925e,{editor:_0x45a2b2}=this;this[_0x124e06(0x220)]=_0x45a2b2[_0x124e06(0x25c)][_0x124e06(0x1fa)](_0x57fb87),this[_0x124e06(0x21c)]=_0x45a2b2[_0x124e06(0x25c)][_0x124e06(0x1fa)](_0x52f79c),this[_0x124e06(0x213)]=null,this[_0x124e06(0x1eb)]=this[_0x124e06(0x227)]();const _0xcf7f89=new _0x23673d(_0x45a2b2,Array[_0x124e06(0x240)](this[_0x124e06(0x1eb)][_0x124e06(0x208)]()));_0x45a2b2[_0x124e06(0x264)][_0x124e06(0x269)](_0x124e06(0x21d),_0xcf7f89),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x257),_0xbcf0f2=>{const _0x206cbd=_0x124e06,_0x2603a1=_0x5b2225(_0xbcf0f2);return _0x2603a1[_0x206cbd(0x1ef)]({'class':_0x206cbd(0x26d)+this[_0x206cbd(0x1e4)]}),_0x2603a1[_0x206cbd(0x204)][_0x206cbd(0x1ef)]({'label':_0x172252(_0xbcf0f2,_0x206cbd(0x273)),'icon':_0x274bea,'tooltip':!0x0}),_0x2603a1['on'](_0x206cbd(0x253),_0x1bb22d=>this[_0x206cbd(0x284)](_0x1bb22d[_0x206cbd(0x218)]['id'])),_0x169f76(_0x2603a1,_0x45a2b2['ui'][_0x206cbd(0x23f)][_0x206cbd(0x21a)],function(_0x3e2474){const _0xfa585=_0x206cbd,_0x32cdc6=_0x23d322(_0x3e2474[_0xfa585(0x1d9)][_0xfa585(0x1fa)](_0xfa585(0x25b)),_0x3e2474[_0xfa585(0x200)]),_0x12eeaf=U(_0x3e2474,_0x32cdc6)[_0xfa585(0x23e)](_0x4035d6=>_0x4035d6[_0xfa585(0x264)][_0xfa585(0x1f2)]);if(0x1===_0x12eeaf[_0xfa585(0x1f2)])return U(_0x3e2474,_0x12eeaf[0x0][_0xfa585(0x264)])[_0xfa585(0x243)](_0x301009=>({'id':_0x301009['id'],'label':_0x301009[_0xfa585(0x27d)]}));return _0x12eeaf[_0xfa585(0x243)](_0x4225f5=>{const _0x2acb7a=_0xfa585,{groupId:_0x41fb22,groupLabel:_0x38c689,commands:_0x13870c}=_0x4225f5,_0x32eedb=U(_0x3e2474,_0x13870c)[_0x2acb7a(0x243)](_0x49dc04=>({'id':_0x49dc04['id'],'label':_0x49dc04[_0x2acb7a(0x27d)]}));return{'id':_0x41fb22,'menu':_0x38c689||_0x41fb22,'children':_0x32eedb};});}(_0x45a2b2),{'ariaLabel':_0x172252(_0xbcf0f2,_0x206cbd(0x273))}),_0x2603a1[_0x206cbd(0x1e1)][_0x206cbd(0x229)]=_0x206cbd(0x26d)+this[_0x206cbd(0x1e4)],_0xcf7f89['on'](_0x206cbd(0x225),_0x8526ed),_0x2603a1[_0x206cbd(0x1e1)][_0x206cbd(0x1e6)](_0x206cbd(0x1e7),_0x8526ed),_0x2603a1;function _0x8526ed(){const _0x3ad845=_0x206cbd;_0x2603a1[_0x3ad845(0x237)]=_0xcf7f89[_0x3ad845(0x1fd)][_0x3ad845(0x1f2)]>0x0;for(const _0x5544b3 of _0x2603a1[_0x3ad845(0x1e1)][_0x3ad845(0x21e)])_0x5544b3[_0x3ad845(0x237)]=_0xcf7f89[_0x3ad845(0x1fd)][_0x3ad845(0x1fc)](_0x5544b3['id']);}}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x238),_0x1826fb=>{const _0x3e478b=_0x124e06,_0x23f90c=new _0x4ee503(_0x1826fb);_0x23f90c[_0x3e478b(0x204)][_0x3e478b(0x1ef)]({'label':_0x172252(_0x1826fb,_0x3e478b(0x273)),'icon':_0x274bea}),_0x23f90c[_0x3e478b(0x1f6)](_0x3e478b(0x237))['to'](_0xcf7f89,_0x3e478b(0x1fd),_0x1e225b=>_0x1e225b[_0x3e478b(0x1f2)]>0x0);const _0x2c26b6=_0x23d322(_0x45a2b2[_0x3e478b(0x1d9)][_0x3e478b(0x1fa)](_0x3e478b(0x25b)),_0x1826fb);return this[_0x3e478b(0x1f0)](_0xcf7f89,_0x23f90c,_0x2c26b6,_0x38ef25=>this[_0x3e478b(0x284)](_0x38ef25)),_0x23f90c;}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x24e),()=>{const _0x53310b=_0x124e06,_0x28c3dc=this[_0x53310b(0x259)](_0x31130c);return _0x28c3dc[_0x53310b(0x1ef)]({'tooltip':!0x0,'class':_0x53310b(0x251)+this[_0x53310b(0x1e4)]}),_0x28c3dc;}),_0x45a2b2['ui'][_0x124e06(0x24a)][_0x124e06(0x269)](_0x124e06(0x221),()=>{const _0x3592e3=_0x124e06,_0x41d40a=this[_0x3592e3(0x259)](_0x504b8c);return _0x41d40a[_0x3592e3(0x1ef)]({'role':_0x3592e3(0x1ed)}),_0x41d40a;}),this[_0x124e06(0x20c)]=this[_0x124e06(0x228)][_0x124e06(0x1d9)][_0x124e06(0x1fa)](_0x124e06(0x20c));const _0x3a4908=this[_0x124e06(0x228)];this[_0x124e06(0x20d)]=setInterval(()=>{const _0x5a099d=_0x124e06;let _0x2d2d02;for(const _0x38aa04 in _0x3a4908){const _0x163b7e=_0x38aa04,_0x3c69f8=_0x3a4908[_0x163b7e];if(_0x5a099d(0x252)==_0x3c69f8||_0x5a099d(0x1de)==_0x3c69f8||_0x5a099d(0x233)==_0x3c69f8||_0x5a099d(0x27c)==_0x3c69f8||_0x5a099d(0x21f)==_0x3c69f8||_0x5a099d(0x24b)==_0x3c69f8||_0x5a099d(0x20a)==_0x3c69f8||_0x5a099d(0x224)==_0x3c69f8){delete _0x3a4908[_0x163b7e],_0x2d2d02=_0x3c69f8,clearInterval(this[_0x5a099d(0x20d)]),this[_0x5a099d(0x20d)]=void 0x0;break;}}_0x5a099d(0x1de)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x26f)),_0x5a099d(0x233)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x286)),_0x5a099d(0x27c)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x1f9)),_0x5a099d(0x21f)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x245),_0x5a099d(0x239)),_0x5a099d(0x24b)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x25e)),_0x5a099d(0x20a)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x1f3)),_0x5a099d(0x224)==_0x2d2d02&&_0x3a4908[_0x5a099d(0x217)](_0x5a099d(0x23c));},0x3e8);}[_0x14925e(0x281)](){const _0x8a09f=_0x14925e;super[_0x8a09f(0x281)](),this[_0x8a09f(0x20d)]&&clearInterval(this[_0x8a09f(0x20d)]);}[_0x14925e(0x261)](_0x40a2be='',_0x61aa72='',_0x50aa9a=_0x14925e(0x235)){const _0x4030b3=_0x14925e,_0x342bea=this[_0x4030b3(0x228)],_0x51c4b7=_0x342bea[_0x4030b3(0x215)][_0x4030b3(0x23f)],_0x34b5a1=_0x342bea[_0x4030b3(0x25c)][_0x4030b3(0x1fa)](_0xc27f3d),_0x2d1935=_0x342bea[_0x4030b3(0x25c)][_0x4030b3(0x1fa)](_0x4b0feb);_0x34b5a1[_0x4030b3(0x232)]();const _0x55afcc=new w(),_0x36c575=new ClipboardEvent(_0x4030b3(0x22f),{'clipboardData':_0x55afcc}),_0x24e246=new _0x2073bc(_0x55afcc),_0x300b1a=new _0x41601b(_0x51c4b7,_0x36c575,{'dataTransfer':_0x24e246});_0x2d1935[_0x4030b3(0x1ee)](_0x4030b3(0x25f),()=>{const _0x594b3c=_0x4030b3;_0x51c4b7[_0x594b3c(0x277)][_0x594b3c(0x223)](_0x594b3c(0x22f),_0x300b1a);}),this[_0x4030b3(0x213)]||(this[_0x4030b3(0x26c)](),this[_0x4030b3(0x289)]=new _0xba2b01(_0x342bea,this[_0x4030b3(0x220)][_0x4030b3(0x1f8)],this[_0x4030b3(0x213)]));let _0x111df1=_0x24e246[_0x4030b3(0x266)](_0x4030b3(0x265));const _0x1eb3f7=_0x342bea[_0x4030b3(0x234)][_0x4030b3(0x277)][_0x4030b3(0x249)],_0x13aed9=Array[_0x4030b3(0x240)](_0x1eb3f7[_0x4030b3(0x288)]());0x1===_0x13aed9[_0x4030b3(0x1f2)]&&_0x13aed9[0x0][_0x4030b3(0x272)]&&!_0x1eb3f7[_0x4030b3(0x206)]()&&''!==_0x111df1[_0x4030b3(0x212)](/ /g,'')[_0x4030b3(0x1f4)]()&&(_0x111df1=_0x4030b3(0x27f)+_0x111df1+_0x4030b3(0x1e5)),this[_0x4030b3(0x289)][_0x4030b3(0x260)]({'actionId':_0x50aa9a,'query':_0x40a2be,'htmlContent':_0x111df1,'label':_0x61aa72,'mainActionLabel':_0x14b6e9[_0x342bea[_0x4030b3(0x234)][_0x4030b3(0x277)][_0x4030b3(0x249)][_0x4030b3(0x25d)]?_0x4030b3(0x285):_0x4030b3(0x244)]}),_0x4030b3(0x24e)!==this[_0x4030b3(0x21c)]['id']?this[_0x4030b3(0x21c)][_0x4030b3(0x276)]({'id':_0x4030b3(0x24e),'icon':_0x44bd63,'title':_0x172252(this[_0x4030b3(0x228)][_0x4030b3(0x200)],_0x4030b3(0x236)),'content':this[_0x4030b3(0x213)],'position':_0x5043a3[_0x4030b3(0x1fe)],'onShow':()=>{const _0x416f2c=_0x4030b3;this[_0x416f2c(0x213)][_0x416f2c(0x280)]();},'onHide':()=>{const _0x4d96a9=_0x4030b3;this[_0x4d96a9(0x289)][_0x4d96a9(0x216)](),_0x34b5a1[_0x4d96a9(0x26b)]();}}):this[_0x4030b3(0x21c)][_0x4030b3(0x23f)][_0x4030b3(0x23a)]||this[_0x4030b3(0x21c)][_0x4030b3(0x23f)][_0x4030b3(0x21b)]();}[_0x14925e(0x275)](){const _0x324f55=_0x14925e;this[_0x324f55(0x21c)][_0x324f55(0x242)]();}[_0x14925e(0x227)](){const _0x142f32=_0x14925e,_0x347ce2=new Map(),_0x5e145c=_0x23d322(this[_0x142f32(0x228)][_0x142f32(0x1d9)][_0x142f32(0x1fa)](_0x142f32(0x25b)),this[_0x142f32(0x228)][_0x142f32(0x200)]);for(const _0x3bda27 of _0x5e145c)for(const _0x1f7d05 of _0x3bda27[_0x142f32(0x264)])_0x347ce2[_0x142f32(0x1ef)](_0x1f7d05['id'],{..._0x1f7d05,'groupId':_0x3bda27[_0x142f32(0x258)],'groupLabel':_0x3bda27[_0x142f32(0x254)]||_0x3bda27[_0x142f32(0x258)]});return _0x347ce2;}[_0x14925e(0x259)](_0x425b1e){const _0x3e2f1d=_0x14925e,_0x1e48ef=this[_0x3e2f1d(0x228)],_0x58e47b=_0x1e48ef[_0x3e2f1d(0x264)][_0x3e2f1d(0x1fa)](_0x3e2f1d(0x21d)),_0x37af68=new _0x425b1e(_0x1e48ef[_0x3e2f1d(0x200)]);return _0x37af68[_0x3e2f1d(0x1ef)]({'label':_0x172252(_0x1e48ef[_0x3e2f1d(0x200)],_0x3e2f1d(0x236)),'icon':_0x44bd63,'isToggleable':!0x0}),_0x37af68[_0x3e2f1d(0x1f6)](_0x3e2f1d(0x237))['to'](_0x58e47b),_0x37af68[_0x3e2f1d(0x1f6)](_0x3e2f1d(0x230))['to'](this[_0x3e2f1d(0x21c)],'id',_0x37b4ac=>_0x3e2f1d(0x24e)===_0x37b4ac),this[_0x3e2f1d(0x1da)](_0x37af68,_0x3e2f1d(0x253),()=>{const _0x4fff14=_0x3e2f1d;_0x37af68[_0x4fff14(0x230)]?this[_0x4fff14(0x275)]():_0x58e47b[_0x4fff14(0x253)]();}),_0x37af68;}[_0x14925e(0x26c)](){const _0x618850=_0x14925e,_0x36aa85=this[_0x618850(0x228)][_0x618850(0x25c)][_0x618850(0x1fa)](_0xc27f3d);this[_0x618850(0x213)]=new _0x3b2fed(this[_0x618850(0x228)][_0x618850(0x200)],this[_0x618850(0x1e4)],this[_0x618850(0x228)][_0x618850(0x1d9)][_0x618850(0x1fa)](_0x618850(0x23d))),this[_0x618850(0x213)]['on'](_0x618850(0x1ff),()=>{const _0x37ac40=_0x618850;this[_0x37ac40(0x21c)][_0x37ac40(0x23f)][_0x37ac40(0x23a)]||this[_0x37ac40(0x21c)][_0x37ac40(0x23f)][_0x37ac40(0x21b)]();}),this[_0x618850(0x213)][_0x618850(0x222)][_0x618850(0x1ea)][_0x618850(0x27e)]['on'](_0x618850(0x22e),()=>{const _0x250602=_0x618850;this[_0x250602(0x21c)][_0x250602(0x23f)][_0x250602(0x23a)]||this[_0x250602(0x21c)][_0x250602(0x23f)][_0x250602(0x21b)]();}),this[_0x618850(0x1da)](this[_0x618850(0x213)],_0x618850(0x210),()=>{const _0x1f97e1=_0x618850;_0x36aa85[_0x1f97e1(0x1ec)](this[_0x1f97e1(0x289)][_0x1f97e1(0x24c)]),this[_0x1f97e1(0x275)]();}),this[_0x618850(0x1da)](this[_0x618850(0x213)],_0x618850(0x24d),()=>{const _0x22150f=_0x618850;_0x36aa85[_0x22150f(0x24d)](this[_0x22150f(0x289)][_0x22150f(0x24c)]),this[_0x22150f(0x275)]();}),this[_0x618850(0x20e)]();}[_0x14925e(0x20e)](){const _0x13e187=_0x14925e,{locale:_0x3a2c93,ui:{ariaLiveAnnouncer:_0x2d9cc}}=this[_0x13e187(0x228)];this[_0x13e187(0x213)][_0x13e187(0x202)]['on'](_0x13e187(0x1e0),(_0x244afa,_0x2d2db5,_0x1d7548)=>{const _0x460b75=_0x13e187,_0x2a83bb=this[_0x460b75(0x289)][_0x460b75(0x24c)];_0x1d7548?_0x2d9cc[_0x460b75(0x1e2)](_0x172252(_0x3a2c93,_0x460b75(0x247))):_0x2a83bb&&_0x2d9cc[_0x460b75(0x1e2)](_0x172252(_0x3a2c93,_0x460b75(0x250),_0x2a83bb),{'politeness':_0x460b75(0x241),'isUnsafeHTML':!0x0});}),this[_0x13e187(0x213)]['on'](_0x13e187(0x1db),(_0xe9a6b1,_0x4ffa5f,_0x1256f6)=>{const _0x1c72ef=_0x13e187;if(_0x1256f6){const _0x467a31=this[_0x1c72ef(0x213)][_0x1c72ef(0x287)][_0x1c72ef(0x1e3)];_0x2d9cc[_0x1c72ef(0x1e2)](_0x172252(_0x3a2c93,_0x1c72ef(0x214),_0x467a31));}});}[_0x14925e(0x284)](_0x52d200){const _0x224805=_0x14925e,_0x5eeeb6=this[_0x224805(0x1eb)][_0x224805(0x1fa)](_0x52d200),_0x32e20d=this[_0x224805(0x228)],_0x279b1c=_0x32e20d[_0x224805(0x234)][_0x224805(0x277)][_0x224805(0x249)],_0x222efa=_0x32e20d[_0x224805(0x264)][_0x224805(0x1fa)](_0x224805(0x21d)),_0xedd732=_0x32e20d[_0x224805(0x25c)][_0x224805(0x1fa)](_0xc27f3d),_0x2ede98=''+(_0x5eeeb6[_0x224805(0x258)]!==_0x2d4a1a?_0x5eeeb6[_0x224805(0x254)]+':\x20':'')+_0x5eeeb6[_0x224805(0x27d)];if(!0x1!==_0x5eeeb6[_0x224805(0x1f1)]&&_0x279b1c[_0x224805(0x25d)]){const _0x2f6e0e=_0x7932e8(_0x279b1c[_0x224805(0x282)]())||_0x32e20d[_0x224805(0x234)][_0x224805(0x24f)][_0x224805(0x22a)](_0x279b1c);_0x32e20d[_0x224805(0x234)][_0x224805(0x274)](_0x4b87a7=>{const _0x2261df=_0x224805;_0x4b87a7[_0x2261df(0x201)](_0x2f6e0e,'in');});}_0xedd732[_0x224805(0x232)](),_0x222efa[_0x224805(0x253)](_0x5eeeb6[_0x224805(0x256)],_0x2ede98,_0x224805(0x205)+_0x52d200);}[_0x14925e(0x1f0)](_0x47c4f2,_0x55f86c,_0x373cd0,_0x121b93){const _0x3df99f=_0x14925e,_0x54c4e5=this[_0x3df99f(0x228)],_0x47a5ac=_0x54c4e5[_0x3df99f(0x200)],_0x3a82fe=new _0x59d6d6(_0x47a5ac),_0x402e36=U(_0x54c4e5,_0x373cd0)[_0x3df99f(0x23e)](_0x3560e5=>_0x3560e5[_0x3df99f(0x264)][_0x3df99f(0x1f2)]);0x1===_0x402e36[_0x3df99f(0x1f2)]?this[_0x3df99f(0x267)]({'command':_0x47c4f2,'commands':_0x402e36[0x0][_0x3df99f(0x264)],'parentMenuView':_0x55f86c,'onExecute':_0x121b93})[_0x3df99f(0x1f7)](_0x4f047e=>_0x3a82fe[_0x3df99f(0x27a)][_0x3df99f(0x269)](_0x4f047e)):_0x402e36[_0x3df99f(0x1f7)](({groupId:_0x21acb0,groupLabel:_0x4108cb,commands:_0x16923b})=>{const _0x439db1=_0x3df99f,_0x34305a=new _0x2f2663(_0x47a5ac,_0x55f86c),_0x1cef85=new _0x4ee503(_0x47a5ac),_0xc3d167=new _0x59d6d6(_0x47a5ac),_0x1a05e8=this[_0x439db1(0x267)]({'command':_0x47c4f2,'commands':_0x16923b,'parentMenuView':_0x1cef85,'onExecute':_0x121b93});_0x1cef85[_0x439db1(0x204)][_0x439db1(0x1ef)]({'label':_0x4108cb||_0x21acb0}),_0x1cef85[_0x439db1(0x248)](_0x439db1(0x253))['to'](_0x55f86c),_0xc3d167[_0x439db1(0x27a)][_0x439db1(0x25a)](_0x1a05e8),_0x1cef85[_0x439db1(0x20f)][_0x439db1(0x1fb)][_0x439db1(0x269)](_0xc3d167),_0x34305a[_0x439db1(0x1fb)][_0x439db1(0x269)](_0x1cef85),_0x3a82fe[_0x439db1(0x27a)][_0x439db1(0x269)](_0x34305a);}),_0x55f86c[_0x3df99f(0x20f)][_0x3df99f(0x1fb)][_0x3df99f(0x269)](_0x3a82fe);}[_0x14925e(0x267)]({command:_0x535daf,commands:_0xa49274,parentMenuView:_0xd211ec,onExecute:_0x5d4b3a}){const _0x48565d=_0x14925e,_0x234036=this[_0x48565d(0x228)],_0x170ff4=_0x234036[_0x48565d(0x200)];return U(_0x234036,_0xa49274)[_0x48565d(0x243)](_0x63f53c=>{const _0x10fb14=_0x48565d,_0x27d3d5=new _0x2f2663(_0x170ff4,_0xd211ec),_0x2040e7=new _0x504b8c(_0x170ff4);return _0x2040e7[_0x10fb14(0x1ef)]({'label':_0x63f53c[_0x10fb14(0x27d)]}),_0x2040e7[_0x10fb14(0x248)](_0x10fb14(0x253))['to'](_0xd211ec),_0x2040e7['on'](_0x10fb14(0x253),()=>_0x5d4b3a(_0x63f53c['id'])),_0x2040e7[_0x10fb14(0x1f6)](_0x10fb14(0x237))['to'](_0x535daf,_0x10fb14(0x1fd),_0x86169f=>_0x86169f[_0x10fb14(0x1fc)](_0x63f53c['id'])),_0x27d3d5[_0x10fb14(0x1fb)][_0x10fb14(0x269)](_0x2040e7),_0x27d3d5;});}}function B(_0x3eb14d,_0x5e6edc){const _0x4f4bf2=_0x14925e;return void 0x0!==_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0===_0x5e6edc[_0x4f4bf2(0x207)]?0x1:void 0x0===_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0!==_0x5e6edc[_0x4f4bf2(0x207)]?-0x1:void 0x0!==_0x3eb14d[_0x4f4bf2(0x207)]&&void 0x0!==_0x5e6edc[_0x4f4bf2(0x207)]?_0x3eb14d[_0x4f4bf2(0x207)]-_0x5e6edc[_0x4f4bf2(0x207)]:0x0;}function U(_0x484f77,_0x3b2d57){const _0x5ba154=_0x14925e;_0x3b2d57[_0x5ba154(0x1df)](B);const _0x4d3819={},_0x226c35=[];for(const _0x122224 of _0x3b2d57)if(void 0x0!==_0x122224[_0x5ba154(0x207)]){if(_0x122224[_0x5ba154(0x207)]in _0x4d3819)throw new _0x15c81f(_0x5ba154(0x246),_0x484f77,{'conflictingDefinitions':[_0x122224,_0x4d3819[_0x122224[_0x5ba154(0x207)]]]});_0x4d3819[_0x122224[_0x5ba154(0x207)]]=_0x122224,_0x226c35[_0x5ba154(0x255)](_0x122224[_0x5ba154(0x207)],0x0,_0x122224);}else _0x226c35[_0x5ba154(0x1e8)](_0x122224);return _0x226c35;}
|
|
23
|
+
const _0x189027=_0x1d8c;(function(_0xe3d6c1,_0x2766be){const _0x5a9a40=_0x1d8c,_0x1c6b40=_0xe3d6c1();while(!![]){try{const _0x4e9b2e=parseInt(_0x5a9a40(0x14b))/0x1*(parseInt(_0x5a9a40(0xf3))/0x2)+-parseInt(_0x5a9a40(0x108))/0x3+-parseInt(_0x5a9a40(0xd5))/0x4*(parseInt(_0x5a9a40(0x10b))/0x5)+parseInt(_0x5a9a40(0x10e))/0x6*(parseInt(_0x5a9a40(0xe6))/0x7)+parseInt(_0x5a9a40(0xfe))/0x8*(parseInt(_0x5a9a40(0x156))/0x9)+-parseInt(_0x5a9a40(0xe3))/0xa+-parseInt(_0x5a9a40(0x149))/0xb*(parseInt(_0x5a9a40(0xe0))/0xc);if(_0x4e9b2e===_0x2766be)break;else _0x1c6b40['push'](_0x1c6b40['shift']());}catch(_0x2fcf96){_0x1c6b40['push'](_0x1c6b40['shift']());}}}(_0x2056,0x4608c));import{Plugin as _0x234567}from'ckeditor5/src/core.js';import{IconMagicWand as _0xe26ff9,IconRobotPencil as _0x3396e9}from'ckeditor5/src/icons.js';import{first as _0x1bcc18,CKEditorError as _0x1d76d8}from'ckeditor5/src/utils.js';import{createDropdown as _0x4f3924,addMenuToDropdown as _0x56f43c,ButtonView as _0x3882f1,MenuBarMenuListItemButtonView as _0x2b9d2f,Dialog as _0x57f545,DialogViewPosition as _0x3a4f79,MenuBarMenuView as _0x23b224,MenuBarMenuListView as _0x5d5373,MenuBarMenuListItemView as _0x50ce4a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x4ce7d7,UNGROUPED_COMMANDS_GROUP_ID as _0x4b4f89}from'./utils/normalizecommandsconfig.js';import _0x3ac769 from'./aiassistantediting.js';import _0x5cbb44 from'./adapters/aiadapter.js';import{getTranslation as _0x13952d}from'./utils/common-translations.js';function _0x1d8c(_0x544a7b,_0x4cb928){const _0x2056dc=_0x2056();return _0x1d8c=function(_0x1d8cba,_0x1ee67b){_0x1d8cba=_0x1d8cba-0xbf;let _0x3ac574=_0x2056dc[_0x1d8cba];return _0x3ac574;},_0x1d8c(_0x544a7b,_0x4cb928);}import _0x5d2e7c from'./ui/showaiassistantcommand.js';import _0x36a8bc from'./ui/aiassistantcontroller.js';import _0x9786ff from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5b9cca}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x189027(0x122)];import{ClipboardMarkersUtils as _0x305290}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x26a0df,DataTransfer as _0xb960bd}from'ckeditor5/src/engine.js';export default class n extends _0x234567{[_0x189027(0x117)];[_0x189027(0x10a)];[_0x189027(0x14a)];[_0x189027(0x12a)];[_0x189027(0x121)];[_0x189027(0x107)];[_0x189027(0xea)]='';static get[_0x189027(0xd3)](){const _0x5176ba=_0x189027;return _0x5176ba(0x11d);}static get[_0x189027(0x125)](){return!0x0;}static get[_0x189027(0x14d)](){return!0x0;}static get[_0x189027(0xee)](){return[_0x305290,_0x3ac769,_0x5cbb44,_0x57f545];}constructor(_0x37206b){const _0x35c66b=_0x189027;super(_0x37206b),_0x37206b[_0x35c66b(0xde)][_0x35c66b(0x15e)](_0x35c66b(0x15b),[_0x35c66b(0x16c),_0x35c66b(0x161),_0x35c66b(0xe8)]),_0x37206b[_0x35c66b(0xde)][_0x35c66b(0x15e)](_0x35c66b(0x142),''),_0x37206b[_0x35c66b(0xde)][_0x35c66b(0x15e)](_0x35c66b(0xc8),!0x0),this[_0x35c66b(0xea)]=_0x35c66b(0x15a)+(_0x37206b[_0x35c66b(0xde)][_0x35c66b(0x153)](_0x35c66b(0xc8))?_0x35c66b(0x138):'');}[_0x189027(0x131)](){const _0x2d7fb0=_0x189027,{editor:_0x1ad875}=this;this[_0x2d7fb0(0x121)]=_0x1ad875[_0x2d7fb0(0xec)][_0x2d7fb0(0x153)](_0x5cbb44),this[_0x2d7fb0(0x14a)]=_0x1ad875[_0x2d7fb0(0xec)][_0x2d7fb0(0x153)](_0x57f545),this[_0x2d7fb0(0x12a)]=null,this[_0x2d7fb0(0x144)]=this[_0x2d7fb0(0x16d)]();const _0x3a84d5=new _0x5d2e7c(_0x1ad875,Array[_0x2d7fb0(0x11b)](this[_0x2d7fb0(0x144)][_0x2d7fb0(0x112)]()));_0x1ad875[_0x2d7fb0(0x128)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x137),_0x3a84d5),_0x1ad875['ui'][_0x2d7fb0(0x14c)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x106),_0x3ccce1=>{const _0x3aec66=_0x2d7fb0,_0x23ef65=_0x4f3924(_0x3ccce1);return _0x23ef65[_0x3aec66(0xc7)]({'class':_0x3aec66(0x169)+this[_0x3aec66(0xea)]}),_0x23ef65[_0x3aec66(0x115)][_0x3aec66(0xc7)]({'label':_0x13952d(_0x3ccce1,_0x3aec66(0x12c)),'icon':_0xe26ff9,'tooltip':!0x0}),_0x23ef65['on'](_0x3aec66(0x165),_0x55bbcd=>this[_0x3aec66(0xf2)](_0x55bbcd[_0x3aec66(0x168)]['id'])),_0x56f43c(_0x23ef65,_0x1ad875['ui'][_0x3aec66(0x103)][_0x3aec66(0xcc)],function(_0x4d12ec){const _0xb617a6=_0x3aec66,_0x51a6ff=_0x4ce7d7(_0x4d12ec[_0xb617a6(0xde)][_0xb617a6(0x153)](_0xb617a6(0x16e)),_0x4d12ec[_0xb617a6(0xdf)]),_0x5f5a6c=U(_0x4d12ec,_0x51a6ff)[_0xb617a6(0x109)](_0x35439c=>_0x35439c[_0xb617a6(0x128)][_0xb617a6(0xc6)]);if(0x1===_0x5f5a6c[_0xb617a6(0xc6)])return U(_0x4d12ec,_0x5f5a6c[0x0][_0xb617a6(0x128)])[_0xb617a6(0xdb)](_0x330e29=>({'id':_0x330e29['id'],'label':_0x330e29[_0xb617a6(0x141)]}));return _0x5f5a6c[_0xb617a6(0xdb)](_0x1f9ba4=>{const _0xb301b=_0xb617a6,{groupId:_0x3b4521,groupLabel:_0x1d2ff8,commands:_0x5bddf4}=_0x1f9ba4,_0x6cce60=U(_0x4d12ec,_0x5bddf4)[_0xb301b(0xdb)](_0x523a18=>({'id':_0x523a18['id'],'label':_0x523a18[_0xb301b(0x141)]}));return{'id':_0x3b4521,'menu':_0x1d2ff8||_0x3b4521,'children':_0x6cce60};});}(_0x1ad875),{'ariaLabel':_0x13952d(_0x3ccce1,_0x3aec66(0x12c))}),_0x23ef65[_0x3aec66(0xcf)][_0x3aec66(0xd4)]=_0x3aec66(0x169)+this[_0x3aec66(0xea)],_0x3a84d5['on'](_0x3aec66(0x13f),_0x3164df),_0x23ef65[_0x3aec66(0xcf)][_0x3aec66(0x162)](_0x3aec66(0xf0),_0x3164df),_0x23ef65;function _0x3164df(){const _0x1361f0=_0x3aec66;_0x23ef65[_0x1361f0(0xc9)]=_0x3a84d5[_0x1361f0(0x14f)][_0x1361f0(0xc6)]>0x0;for(const _0xe3ff94 of _0x23ef65[_0x1361f0(0xcf)][_0x1361f0(0x145)])_0xe3ff94[_0x1361f0(0xc9)]=_0x3a84d5[_0x1361f0(0x14f)][_0x1361f0(0x11a)](_0xe3ff94['id']);}}),_0x1ad875['ui'][_0x2d7fb0(0x14c)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x12f),_0x395dfc=>{const _0x43538d=_0x2d7fb0,_0x4b37c7=new _0x23b224(_0x395dfc);_0x4b37c7[_0x43538d(0x115)][_0x43538d(0xc7)]({'label':_0x13952d(_0x395dfc,_0x43538d(0x12c)),'icon':_0xe26ff9}),_0x4b37c7[_0x43538d(0x139)](_0x43538d(0xc9))['to'](_0x3a84d5,_0x43538d(0x14f),_0x52fb5c=>_0x52fb5c[_0x43538d(0xc6)]>0x0);const _0x44bbc0=_0x4ce7d7(_0x1ad875[_0x43538d(0xde)][_0x43538d(0x153)](_0x43538d(0x16e)),_0x395dfc);return this[_0x43538d(0x118)](_0x3a84d5,_0x4b37c7,_0x44bbc0,_0x52ca47=>this[_0x43538d(0xf2)](_0x52ca47)),_0x4b37c7;}),_0x1ad875['ui'][_0x2d7fb0(0x14c)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x16a),()=>{const _0x30a2f9=_0x2d7fb0,_0x2a7fb7=this[_0x30a2f9(0x11e)](_0x3882f1);return _0x2a7fb7[_0x30a2f9(0xc7)]({'tooltip':!0x0,'class':_0x30a2f9(0x158)+this[_0x30a2f9(0xea)]}),_0x2a7fb7;}),_0x1ad875['ui'][_0x2d7fb0(0x14c)][_0x2d7fb0(0x15d)](_0x2d7fb0(0x113),()=>{const _0x3b7810=_0x2d7fb0,_0x26ca69=this[_0x3b7810(0x11e)](_0x2b9d2f);return _0x26ca69[_0x3b7810(0xc7)]({'role':_0x3b7810(0x102)}),_0x26ca69;}),this[_0x2d7fb0(0x117)]=this[_0x2d7fb0(0x16b)][_0x2d7fb0(0xde)][_0x2d7fb0(0x153)](_0x2d7fb0(0x117));const _0x3a4107=this[_0x2d7fb0(0x16b)];this[_0x2d7fb0(0x10a)]=setInterval(()=>{const _0x2feb4b=_0x2d7fb0;let _0x2098d5;for(const _0x446cbc in _0x3a4107){const _0x517cee=_0x446cbc,_0xf11724=_0x3a4107[_0x517cee];if(_0x2feb4b(0x134)==_0xf11724||_0x2feb4b(0xdd)==_0xf11724||_0x2feb4b(0xd9)==_0xf11724||_0x2feb4b(0xcb)==_0xf11724||_0x2feb4b(0x116)==_0xf11724||_0x2feb4b(0x11f)==_0xf11724||_0x2feb4b(0xcd)==_0xf11724||_0x2feb4b(0xf5)==_0xf11724){delete _0x3a4107[_0x517cee],_0x2098d5=_0xf11724,clearInterval(this[_0x2feb4b(0x10a)]),this[_0x2feb4b(0x10a)]=void 0x0;break;}}_0x2feb4b(0xdd)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0x152)),_0x2feb4b(0xd9)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0x12b)),_0x2feb4b(0xcb)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0xd7)),_0x2feb4b(0x116)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0xe4),_0x2feb4b(0x16f)),_0x2feb4b(0x11f)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0xed)),_0x2feb4b(0xcd)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0x11c)),_0x2feb4b(0xf5)==_0x2098d5&&_0x3a4107[_0x2feb4b(0x136)](_0x2feb4b(0x133));},0x3e8);}[_0x189027(0xeb)](){const _0x9d1913=_0x189027;super[_0x9d1913(0xeb)](),this[_0x9d1913(0x10a)]&&clearInterval(this[_0x9d1913(0x10a)]);}[_0x189027(0xc0)](_0x482bbc='',_0x4dd66b='',_0x2d5f15=_0x189027(0xda)){const _0x2c7945=_0x189027,_0x2303e1=this[_0x2c7945(0x16b)],_0xa63053=_0x2303e1[_0x2c7945(0x127)][_0x2c7945(0x103)],_0x264771=_0x2303e1[_0x2c7945(0xec)][_0x2c7945(0x153)](_0x3ac769),_0x3b6d51=_0x2303e1[_0x2c7945(0xec)][_0x2c7945(0x153)](_0x305290);_0x264771[_0x2c7945(0xc3)]();const _0x4dffe9=new w(),_0x20e0d3=new ClipboardEvent(_0x2c7945(0x10f),{'clipboardData':_0x4dffe9}),_0x9aeda9=new _0xb960bd(_0x4dffe9),_0x4b22b1=new _0x26a0df(_0xa63053,_0x20e0d3,{'dataTransfer':_0x9aeda9});_0x3b6d51[_0x2c7945(0x15f)](_0x2c7945(0xc5),()=>{const _0x3107ec=_0x2c7945;_0xa63053[_0x3107ec(0x15c)][_0x3107ec(0x147)](_0x3107ec(0x10f),_0x4b22b1);}),this[_0x2c7945(0x12a)]||(this[_0x2c7945(0x160)](),this[_0x2c7945(0x107)]=new _0x36a8bc(_0x2303e1,this[_0x2c7945(0x121)][_0x2c7945(0xc1)],this[_0x2c7945(0x12a)]));let _0x14bd92=_0x9aeda9[_0x2c7945(0x151)](_0x2c7945(0x148));const _0xacb553=_0x2303e1[_0x2c7945(0xf4)][_0x2c7945(0x15c)][_0x2c7945(0xf7)],_0x5e53c8=Array[_0x2c7945(0x11b)](_0xacb553[_0x2c7945(0x100)]());0x1===_0x5e53c8[_0x2c7945(0xc6)]&&_0x5e53c8[0x0][_0x2c7945(0x120)]&&!_0xacb553[_0x2c7945(0xe1)]()&&''!==_0x14bd92[_0x2c7945(0x13a)](/ /g,'')[_0x2c7945(0xfa)]()&&(_0x14bd92=_0x2c7945(0xca)+_0x14bd92+_0x2c7945(0xf1)),this[_0x2c7945(0x107)][_0x2c7945(0xf9)]({'actionId':_0x2d5f15,'query':_0x482bbc,'htmlContent':_0x14bd92,'label':_0x4dd66b,'mainActionLabel':_0x5b9cca[_0x2303e1[_0x2c7945(0xf4)][_0x2c7945(0x15c)][_0x2c7945(0xf7)][_0x2c7945(0x123)]?_0x2c7945(0x119):_0x2c7945(0xdc)]}),_0x2c7945(0x16a)!==this[_0x2c7945(0x14a)]['id']?this[_0x2c7945(0x14a)][_0x2c7945(0xe9)]({'id':_0x2c7945(0x16a),'icon':_0x3396e9,'title':_0x13952d(this[_0x2c7945(0x16b)][_0x2c7945(0xdf)],_0x2c7945(0x13e)),'content':this[_0x2c7945(0x12a)],'position':_0x3a4f79[_0x2c7945(0xd2)],'onShow':()=>{const _0x503e8f=_0x2c7945;this[_0x503e8f(0x12a)][_0x503e8f(0x150)]();},'onHide':()=>{const _0x517d91=_0x2c7945;this[_0x517d91(0x107)][_0x517d91(0x12e)](),_0x264771[_0x517d91(0x13c)]();}}):this[_0x2c7945(0x14a)][_0x2c7945(0x103)][_0x2c7945(0xbf)]||this[_0x2c7945(0x14a)][_0x2c7945(0x103)][_0x2c7945(0x110)]();}[_0x189027(0x154)](){const _0x4bba96=_0x189027;this[_0x4bba96(0x14a)][_0x4bba96(0x132)]();}[_0x189027(0x16d)](){const _0x247e99=_0x189027,_0x46f779=new Map(),_0x1ab9a8=_0x4ce7d7(this[_0x247e99(0x16b)][_0x247e99(0xde)][_0x247e99(0x153)](_0x247e99(0x16e)),this[_0x247e99(0x16b)][_0x247e99(0xdf)]);for(const _0x124703 of _0x1ab9a8)for(const _0x4fd01c of _0x124703[_0x247e99(0x128)])_0x46f779[_0x247e99(0xc7)](_0x4fd01c['id'],{..._0x4fd01c,'groupId':_0x124703[_0x247e99(0x164)],'groupLabel':_0x124703[_0x247e99(0xd8)]||_0x124703[_0x247e99(0x164)]});return _0x46f779;}[_0x189027(0x11e)](_0x2500bf){const _0x28f112=_0x189027,_0x3f4977=this[_0x28f112(0x16b)],_0x21f50e=_0x3f4977[_0x28f112(0x128)][_0x28f112(0x153)](_0x28f112(0x137)),_0x2103fd=new _0x2500bf(_0x3f4977[_0x28f112(0xdf)]);return _0x2103fd[_0x28f112(0xc7)]({'label':_0x13952d(_0x3f4977[_0x28f112(0xdf)],_0x28f112(0x13e)),'icon':_0x3396e9,'isToggleable':!0x0}),_0x2103fd[_0x28f112(0x139)](_0x28f112(0xc9))['to'](_0x21f50e),_0x2103fd[_0x28f112(0x139)](_0x28f112(0x155))['to'](this[_0x28f112(0x14a)],'id',_0x4b5952=>_0x28f112(0x16a)===_0x4b5952),this[_0x28f112(0xfb)](_0x2103fd,_0x28f112(0x165),()=>{const _0x1ac78c=_0x28f112;_0x2103fd[_0x1ac78c(0x155)]?this[_0x1ac78c(0x154)]():_0x21f50e[_0x1ac78c(0x165)]();}),_0x2103fd;}[_0x189027(0x160)](){const _0xbed5a8=_0x189027,_0x401079=this[_0xbed5a8(0x16b)][_0xbed5a8(0xec)][_0xbed5a8(0x153)](_0x3ac769);this[_0xbed5a8(0x12a)]=new _0x9786ff(this[_0xbed5a8(0x16b)][_0xbed5a8(0xdf)],this[_0xbed5a8(0xea)],this[_0xbed5a8(0x16b)][_0xbed5a8(0xde)][_0xbed5a8(0x153)](_0xbed5a8(0x142))),this[_0xbed5a8(0x12a)]['on'](_0xbed5a8(0x157),()=>{const _0x271c29=_0xbed5a8;this[_0x271c29(0x14a)][_0x271c29(0x103)][_0x271c29(0xbf)]||this[_0x271c29(0x14a)][_0x271c29(0x103)][_0x271c29(0x110)]();}),this[_0xbed5a8(0x12a)][_0xbed5a8(0x146)][_0xbed5a8(0x129)][_0xbed5a8(0x159)]['on'](_0xbed5a8(0xf6),()=>{const _0x25b677=_0xbed5a8;this[_0x25b677(0x14a)][_0x25b677(0x103)][_0x25b677(0xbf)]||this[_0x25b677(0x14a)][_0x25b677(0x103)][_0x25b677(0x110)]();}),this[_0xbed5a8(0xfb)](this[_0xbed5a8(0x12a)],_0xbed5a8(0x101),()=>{const _0x4563c0=_0xbed5a8;_0x401079[_0x4563c0(0xc4)](this[_0x4563c0(0x107)][_0x4563c0(0x12d)]),this[_0x4563c0(0x154)]();}),this[_0xbed5a8(0xfb)](this[_0xbed5a8(0x12a)],_0xbed5a8(0x130),()=>{const _0x27d87e=_0xbed5a8;_0x401079[_0x27d87e(0x130)](this[_0x27d87e(0x107)][_0x27d87e(0x12d)]),this[_0x27d87e(0x154)]();}),this[_0xbed5a8(0xc2)]();}[_0x189027(0xc2)](){const _0x320b63=_0x189027,{locale:_0x2b8402,ui:{ariaLiveAnnouncer:_0x3adcd7}}=this[_0x320b63(0x16b)];this[_0x320b63(0x12a)][_0x320b63(0x167)]['on'](_0x320b63(0x163),(_0x50516c,_0x27bfc2,_0x445612)=>{const _0x50be17=_0x320b63,_0x25b73f=this[_0x50be17(0x107)][_0x50be17(0x12d)];_0x445612?_0x3adcd7[_0x50be17(0x105)](_0x13952d(_0x2b8402,_0x50be17(0x111))):_0x25b73f&&_0x3adcd7[_0x50be17(0x105)](_0x13952d(_0x2b8402,_0x50be17(0x140),_0x25b73f),{'politeness':_0x50be17(0x10c),'isUnsafeHTML':!0x0});}),this[_0x320b63(0x12a)]['on'](_0x320b63(0x135),(_0x342b6f,_0x12741f,_0x29d6ea)=>{const _0x575d32=_0x320b63;if(_0x29d6ea){const _0x266ea7=this[_0x575d32(0x12a)][_0x575d32(0xd1)][_0x575d32(0x126)];_0x3adcd7[_0x575d32(0x105)](_0x13952d(_0x2b8402,_0x575d32(0xce),_0x266ea7));}});}[_0x189027(0xf2)](_0x1a3368){const _0x3efdf0=_0x189027,_0x1b5323=this[_0x3efdf0(0x144)][_0x3efdf0(0x153)](_0x1a3368),_0x40dadc=this[_0x3efdf0(0x16b)],_0x25885f=_0x40dadc[_0x3efdf0(0xf4)][_0x3efdf0(0x15c)][_0x3efdf0(0xf7)],_0x41d4e2=_0x40dadc[_0x3efdf0(0x128)][_0x3efdf0(0x153)](_0x3efdf0(0x137)),_0x79852d=_0x40dadc[_0x3efdf0(0xec)][_0x3efdf0(0x153)](_0x3ac769),_0x2c2372=''+(_0x1b5323[_0x3efdf0(0x164)]!==_0x4b4f89?_0x1b5323[_0x3efdf0(0xd8)]+':\x20':'')+_0x1b5323[_0x3efdf0(0x141)];if(!0x1!==_0x1b5323[_0x3efdf0(0x124)]&&_0x25885f[_0x3efdf0(0x123)]){const _0x4ae21c=_0x1bcc18(_0x25885f[_0x3efdf0(0xff)]())||_0x40dadc[_0x3efdf0(0xf4)][_0x3efdf0(0x14e)][_0x3efdf0(0xd6)](_0x25885f);_0x40dadc[_0x3efdf0(0xf4)][_0x3efdf0(0x104)](_0x562aac=>{const _0x9525a3=_0x3efdf0;_0x562aac[_0x9525a3(0x13d)](_0x4ae21c,'in');});}_0x79852d[_0x3efdf0(0xc3)](),_0x41d4e2[_0x3efdf0(0x165)](_0x1b5323[_0x3efdf0(0x10d)],_0x2c2372,_0x3efdf0(0xf8)+_0x1a3368);}[_0x189027(0x118)](_0x296633,_0xefbe7b,_0x2ea07d,_0x5e7499){const _0x3421dd=_0x189027,_0x3ee409=this[_0x3421dd(0x16b)],_0x330cd3=_0x3ee409[_0x3421dd(0xdf)],_0x43fca4=new _0x5d5373(_0x330cd3),_0x2af9a0=U(_0x3ee409,_0x2ea07d)[_0x3421dd(0x109)](_0x3be645=>_0x3be645[_0x3421dd(0x128)][_0x3421dd(0xc6)]);0x1===_0x2af9a0[_0x3421dd(0xc6)]?this[_0x3421dd(0xe7)]({'command':_0x296633,'commands':_0x2af9a0[0x0][_0x3421dd(0x128)],'parentMenuView':_0xefbe7b,'onExecute':_0x5e7499})[_0x3421dd(0x166)](_0x27d8c3=>_0x43fca4[_0x3421dd(0x13b)][_0x3421dd(0x15d)](_0x27d8c3)):_0x2af9a0[_0x3421dd(0x166)](({groupId:_0x294ff4,groupLabel:_0x1bda02,commands:_0x3e48ea})=>{const _0x404c3c=_0x3421dd,_0x4497cf=new _0x50ce4a(_0x330cd3,_0xefbe7b),_0x1a5eb4=new _0x23b224(_0x330cd3),_0x519a0f=new _0x5d5373(_0x330cd3),_0x1137f2=this[_0x404c3c(0xe7)]({'command':_0x296633,'commands':_0x3e48ea,'parentMenuView':_0x1a5eb4,'onExecute':_0x5e7499});_0x1a5eb4[_0x404c3c(0x115)][_0x404c3c(0xc7)]({'label':_0x1bda02||_0x294ff4}),_0x1a5eb4[_0x404c3c(0xd0)](_0x404c3c(0x165))['to'](_0xefbe7b),_0x519a0f[_0x404c3c(0x13b)][_0x404c3c(0x114)](_0x1137f2),_0x1a5eb4[_0x404c3c(0xe2)][_0x404c3c(0xfc)][_0x404c3c(0x15d)](_0x519a0f),_0x4497cf[_0x404c3c(0xfc)][_0x404c3c(0x15d)](_0x1a5eb4),_0x43fca4[_0x404c3c(0x13b)][_0x404c3c(0x15d)](_0x4497cf);}),_0xefbe7b[_0x3421dd(0xe2)][_0x3421dd(0xfc)][_0x3421dd(0x15d)](_0x43fca4);}[_0x189027(0xe7)]({command:_0x48e0bb,commands:_0x1318e6,parentMenuView:_0x4a3164,onExecute:_0x4e5cb2}){const _0x3eec87=_0x189027,_0xc5b007=this[_0x3eec87(0x16b)],_0x10b24d=_0xc5b007[_0x3eec87(0xdf)];return U(_0xc5b007,_0x1318e6)[_0x3eec87(0xdb)](_0x4fbb9b=>{const _0x293a25=_0x3eec87,_0x569818=new _0x50ce4a(_0x10b24d,_0x4a3164),_0x58e5cb=new _0x2b9d2f(_0x10b24d);return _0x58e5cb[_0x293a25(0xc7)]({'label':_0x4fbb9b[_0x293a25(0x141)]}),_0x58e5cb[_0x293a25(0xd0)](_0x293a25(0x165))['to'](_0x4a3164),_0x58e5cb['on'](_0x293a25(0x165),()=>_0x4e5cb2(_0x4fbb9b['id'])),_0x58e5cb[_0x293a25(0x139)](_0x293a25(0xc9))['to'](_0x48e0bb,_0x293a25(0x14f),_0x5247ef=>_0x5247ef[_0x293a25(0x11a)](_0x4fbb9b['id'])),_0x569818[_0x293a25(0xfc)][_0x293a25(0x15d)](_0x58e5cb),_0x569818;});}}function B(_0x41fc5f,_0x5baf24){const _0x42a81e=_0x189027;return void 0x0!==_0x41fc5f[_0x42a81e(0xfd)]&&void 0x0===_0x5baf24[_0x42a81e(0xfd)]?0x1:void 0x0===_0x41fc5f[_0x42a81e(0xfd)]&&void 0x0!==_0x5baf24[_0x42a81e(0xfd)]?-0x1:void 0x0!==_0x41fc5f[_0x42a81e(0xfd)]&&void 0x0!==_0x5baf24[_0x42a81e(0xfd)]?_0x41fc5f[_0x42a81e(0xfd)]-_0x5baf24[_0x42a81e(0xfd)]:0x0;}function _0x2056(){const _0xa6e2b1=['669440NSTOxO','featureNotAllowed','splice','5222CVTDZT','_getMenuBarGroupButtons','tableOfContents','show','_uiCssClasses','destroy','plugins','evaluationLimit','requires','push','render','</p>','_onExecute','3196yUDQKA','model','aiLicenseKeyUsageLimit','update','selection','command:','updateView','trim','listenTo','children','order','2344CMcYNd','getSelectedBlocks','getRanges','replaceContent','menuitemcheckbox','view','change','announce','aiCommands','_aiAssistantController','379491lsZlyS','filter','_licenseKeyCheckInterval','65sGflKb','polite','prompt','4200jlaaSL','copy','updatePosition','AI\x20is\x20writing','values','menuBar:aiAssistant','addMany','buttonView','aiLicenseKeyNotAllowed','licenseKey','_populateMenuBarMenu','INSERT','includes','from','trialLimit','AIAssistantUI','_createAIAssistantUIButton','aiLicenseKeyEvaluationLimit','isFlat','_aiAdapter','DataTransfer','isCollapsed','requiresContent','isOfficialPlugin','text','editing','commands','queryView','_formView','expired','AI\x20Commands','currentContext','reset','menuBar:aiCommands','insertContentBelow','init','hide','usageLimit','aiLicenseKeyValid','change:isError','_showLicenseError','showAIAssistant','\x20ck-ai-assistant-ui_theme','bind','replace','items','hideFakeVisualSelection','setSelection','AI\x20Assistant','change:enabledCommandsIds','Generated\x20content:\x20%0','label','ai.aiAssistant.contentAreaCssClass','sort','_commandDefinitions','buttons','promptView','fire','text/html','121akbSvt','_dialog','303NGVQEA','componentFactory','isPremiumPlugin','schema','enabledCommandsIds','focus','getData','invalid','get','hideUI','isOn','4626EtJGwA','change:value','ck-ai-assistant-button\x20','fieldView','ck-ai-assistant-ui','ai.aiAssistant.disabledElements','document','add','define','_forceMarkersCopy','_initView','rawHtml','once','change:isProcessing','groupId','execute','forEach','contentArea','source','ck-ai-commands-dropdown\x20','aiAssistant','editor','media','_getResolvedCommandsDefinitions','ai.aiAssistant.commands','AIAssistant','ai-commands-config-order-collision','wasMoved','showUI','textAdapter','_initAriaAiStatusChangeAnnouncements','showFakeVisualSelection','insertContent','comment','length','set','ai.useTheme','isEnabled','<p>','aiLicenseKeyDomainLimit','body','aiLicenseKeyTrialLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuView','delegate','errorView','EDITOR_TOP_SIDE','pluginName','menuPanelClass','69888vBlPRj','getLimitElement','domainLimit','groupLabel','aiLicenseKeyExpired','custom','map','REPLACE','aiLicenseKeyInvalid','config','locale','490428sZMKFx','getSelectedElement','panelView'];_0x2056=function(){return _0xa6e2b1;};return _0x2056();}function U(_0x2612ac,_0x12f6d4){const _0x2cd587=_0x189027;_0x12f6d4[_0x2cd587(0x143)](B);const _0x8b9888={},_0xce3b38=[];for(const _0x3a02bb of _0x12f6d4)if(void 0x0!==_0x3a02bb[_0x2cd587(0xfd)]){if(_0x3a02bb[_0x2cd587(0xfd)]in _0x8b9888)throw new _0x1d76d8(_0x2cd587(0x170),_0x2612ac,{'conflictingDefinitions':[_0x3a02bb,_0x8b9888[_0x3a02bb[_0x2cd587(0xfd)]]]});_0x8b9888[_0x3a02bb[_0x2cd587(0xfd)]]=_0x3a02bb,_0xce3b38[_0x2cd587(0xe5)](_0x3a02bb[_0x2cd587(0xfd)],0x0,_0x3a02bb);}else _0xce3b38[_0x2cd587(0xef)](_0x3a02bb);return _0xce3b38;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x258e6c,_0x1518f9){var _0x894737=_0x4c3b,_0x538faf=_0x258e6c();while(!![]){try{var _0x2c4842=parseInt(_0x894737(0x119))/0x1+parseInt(_0x894737(0x114))/0x2+-parseInt(_0x894737(0x112))/0x3*(parseInt(_0x894737(0x11a))/0x4)+-parseInt(_0x894737(0x116))/0x5+-parseInt(_0x894737(0x117))/0x6+-parseInt(_0x894737(0x113))/0x7+parseInt(_0x894737(0x118))/0x8*(parseInt(_0x894737(0x115))/0x9);if(_0x2c4842===_0x1518f9)break;else _0x538faf['push'](_0x538faf['shift']());}catch(_0x6494a9){_0x538faf['push'](_0x538faf['shift']());}}}(_0x1fd4,0xaf9c9));export{default as AIAssistant}from'./aiassistant.js';function _0x4c3b(_0x1fcad1,_0x158e38){var _0x1fd401=_0x1fd4();return _0x4c3b=function(_0x4c3b35,_0x2a4e6a){_0x4c3b35=_0x4c3b35-0x112;var _0x3344e6=_0x1fd401[_0x4c3b35];return _0x3344e6;},_0x4c3b(_0x1fcad1,_0x158e38);}export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x1fd4(){var _0x5a5a36=['4875305hIACrg','8265660fkUxco','24ZtewMU','1003077QzgzDv','532vipBCn','5388ueyIRm','4336185kJESgV','2748634wURmnp','4658715rWixrV'];_0x1fd4=function(){return _0x5a5a36;};return _0x1fd4();}import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x38aeb1,_0x3030d4){var _0x127859=_0x42c4,_0x5d6abf=_0x38aeb1();while(!![]){try{var _0x2e107a=-parseInt(_0x127859(0x1c4))/0x1*(-parseInt(_0x127859(0x1c3))/0x2)+parseInt(_0x127859(0x1be))/0x3+-parseInt(_0x127859(0x1bf))/0x4+parseInt(_0x127859(0x1c0))/0x5*(-parseInt(_0x127859(0x1bb))/0x6)+-parseInt(_0x127859(0x1bc))/0x7*(parseInt(_0x127859(0x1bd))/0x8)+-parseInt(_0x127859(0x1c2))/0x9+parseInt(_0x127859(0x1c1))/0xa;if(_0x2e107a===_0x3030d4)break;else _0x5d6abf['push'](_0x5d6abf['shift']());}catch(_0x378300){_0x5d6abf['push'](_0x5d6abf['shift']());}}}(_0x3479,0xe9921));function _0x3479(){var _0x1daacf=['2654224ZwFPLg','7945690nMOdZa','31971930dmIVnk','7014681IGbknq','22AQYQvi','37186akyVtV','6cGvTDS','133MJOYYV','607736QNCjwj','5477826GODkjA'];_0x3479=function(){return _0x1daacf;};return _0x3479();}function _0x42c4(_0x11afdd,_0x3abcff){var _0x347950=_0x3479();return _0x42c4=function(_0x42c473,_0x1a0ebe){_0x42c473=_0x42c473-0x1bb;var _0x144936=_0x347950[_0x42c473];return _0x144936;},_0x42c4(_0x11afdd,_0x3abcff);}import{CKEditorError as _0x2a1277}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x11377b=_0x3e56;(function(_0x76a2d0,_0x1e4178){const _0x55e638=_0x3e56,_0xb8c0a5=_0x76a2d0();while(!![]){try{const _0x339b34=parseInt(_0x55e638(0xa9))/0x1+-parseInt(_0x55e638(0xa6))/0x2*(-parseInt(_0x55e638(0xa2))/0x3)+-parseInt(_0x55e638(0x9e))/0x4*(parseInt(_0x55e638(0xf7))/0x5)+parseInt(_0x55e638(0xc3))/0x6+-parseInt(_0x55e638(0xd5))/0x7+parseInt(_0x55e638(0xdf))/0x8*(-parseInt(_0x55e638(0x93))/0x9)+-parseInt(_0x55e638(0xe6))/0xa*(-parseInt(_0x55e638(0xe7))/0xb);if(_0x339b34===_0x1e4178)break;else _0xb8c0a5['push'](_0xb8c0a5['shift']());}catch(_0x26f480){_0xb8c0a5['push'](_0xb8c0a5['shift']());}}}(_0x3f62,0x9fbda));function _0x3f62(){const _0x22b66c=['text/html','render','createElement','custom','childNodes','clear','set','element','submitPrompt','_handleQuery','updateView','htmlProcessor','catch','toView','prompt','7508970NVBIbs','match','set:currentContext','isProcessing','finishProcessing','stringify','<h1></h1>','domConverter','markers','previousQuery','data','message','editor','_normalizeResponseHeadings','```','document','reverse','previousActionId','1890763IdOVem','isRendered','stopProcessing','querySelector','_xmlSerializer','startProcessing','_domParser','currentContext','startsWith','_parseAndNormalizeContent','865248rMoivy','config','body','ELEMENT_NODE','ai.aiAssistant.preserveComments','handleError','div','10dMRPXf','1106039rWsJXN','substring','previousContext','once','textAdapter','toModel','_isH1TagSupportEnabled','reset','setContentOf','value','length','rename','finally','nodeType','serializeToString','push','235TIgFWI','90bbswEG','processor','tryAgainEvent','_sanitizeHTML','previousLabel','trim','exec','```html','get','listenTo','destroy','93944xiQVke','abort','from','parseFromString','537DBoJzm','innerHTML','endsWith','viewToDom','14462SsTOrD','then','editing','463416vVpZfM','view','_sanitizationContainer','_stripMarkdownSyntax','stopListening','name','currentResponse','initialContext','mainAction','makeRequest','remove'];_0x3f62=function(){return _0x22b66c;};return _0x3f62();}function _0x3e56(_0x5e5742,_0x321171){const _0x3f6207=_0x3f62();return _0x3e56=function(_0x3e56d6,_0x30ac0a){_0x3e56d6=_0x3e56d6-0x93;let _0x33c92a=_0x3f6207[_0x3e56d6];return _0x33c92a;},_0x3e56(_0x5e5742,_0x321171);}import{ObservableMixin as _0x280e45}from'ckeditor5/src/utils.js';import{AIRequestError as _0x2388d1}from'../adapters/aiadapter.js';import{Matcher as _0x2f2047,UpcastWriter as _0x57756d}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x280e45(){[_0x11377b(0xcf)];[_0x11377b(0xeb)];[_0x11377b(0xaa)];[_0x11377b(0xab)];[_0x11377b(0xdb)];[_0x11377b(0xd9)];constructor(_0x119fab,_0x48e95a,_0x2fa5bd){const _0x5d0ce1=_0x11377b;super(),this[_0x5d0ce1(0xcf)]=_0x119fab,this[_0x5d0ce1(0xeb)]=_0x48e95a,this[_0x5d0ce1(0xab)]=document[_0x5d0ce1(0xb6)](_0x5d0ce1(0xe5)),this[_0x5d0ce1(0xdb)]=new DOMParser(),this[_0x5d0ce1(0xd9)]=new XMLSerializer(),this[_0x5d0ce1(0xaa)]=_0x2fa5bd,this[_0x5d0ce1(0xba)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x5d0ce1(0xc5),(_0x59226d,_0x217da4,_0x4bad16)=>{const _0x3ddebc=_0x5d0ce1;this[_0x3ddebc(0xaa)][_0x3ddebc(0xf0)]=this[_0x3ddebc(0x96)](_0x4bad16);}),this[_0x5d0ce1(0x9c)](this[_0x5d0ce1(0xaa)],_0x5d0ce1(0xbc),(_0x270365,_0x40cbce)=>{const _0x4e74c0=_0x5d0ce1,_0x1cc0ae=this[_0x4e74c0(0xdc)]||this[_0x4e74c0(0xb0)];this[_0x4e74c0(0xbd)](_0x40cbce,_0x1cc0ae,_0x4e74c0(0xb7));}),this[_0x5d0ce1(0x9c)](this[_0x5d0ce1(0xaa)],_0x5d0ce1(0x95),()=>{const _0x4ac843=_0x5d0ce1;this[_0x4ac843(0xaa)][_0x4ac843(0xc2)]=this[_0x4ac843(0x97)],this[_0x4ac843(0xbd)](this[_0x4ac843(0xcc)],this[_0x4ac843(0xe9)],this[_0x4ac843(0xd4)],this[_0x4ac843(0x97)]);}),this[_0x5d0ce1(0x9c)](this[_0x5d0ce1(0xaa)],_0x5d0ce1(0xd7),()=>{const _0x4a4ba8=_0x5d0ce1;this[_0x4a4ba8(0xd7)]();});}[_0x11377b(0x9d)](){const _0x4a70b4=_0x11377b;this[_0x4a70b4(0xad)]();}async[_0x11377b(0xbe)]({actionId:_0x1b3636,query:_0x53305b,htmlContent:_0x1be91c,label:_0x258828,mainActionLabel:_0x4bb34a}){const _0x3f10b8=_0x11377b;this[_0x3f10b8(0xaa)][_0x3f10b8(0xc2)]=_0x258828,this[_0x3f10b8(0xaa)][_0x3f10b8(0xb1)]=_0x4bb34a,this[_0x3f10b8(0xb0)]=_0x1be91c,_0x53305b&&(this[_0x3f10b8(0xaa)][_0x3f10b8(0xd6)]?this[_0x3f10b8(0xbd)](_0x53305b,_0x1be91c,_0x1b3636,_0x258828):this[_0x3f10b8(0xaa)][_0x3f10b8(0xea)](_0x3f10b8(0xb5),()=>{const _0x51e8ca=_0x3f10b8;this[_0x51e8ca(0xbd)](_0x53305b,_0x1be91c,_0x1b3636,_0x258828);}));}[_0x11377b(0xd7)](){const _0x39a5ef=_0x11377b;this[_0x39a5ef(0xc6)]&&(this[_0x39a5ef(0xc6)]=!0x1,this[_0x39a5ef(0xaa)][_0x39a5ef(0xc7)](),this[_0x39a5ef(0xeb)][_0x39a5ef(0x9f)]());}[_0x11377b(0xee)](){const _0x4535d9=_0x11377b;this[_0x4535d9(0xb0)]='',this[_0x4535d9(0xdc)]='',this[_0x4535d9(0xaf)]='',this[_0x4535d9(0xe9)]='',this[_0x4535d9(0xcc)]='',this[_0x4535d9(0x97)]='',this[_0x4535d9(0xd4)]=void 0x0,this[_0x4535d9(0xaa)][_0x4535d9(0xee)](),this[_0x4535d9(0xd7)]();}async[_0x11377b(0xbd)](_0x310463,_0x4776bd,_0x84387f,_0x348537){const _0x284c12=_0x11377b;return this[_0x284c12(0xc6)]=!0x0,this[_0x284c12(0xaa)][_0x284c12(0xda)](),this[_0x284c12(0xe9)]=_0x4776bd,this[_0x284c12(0xcc)]=_0x310463,this[_0x284c12(0x97)]=_0x348537||_0x310463,this[_0x284c12(0xd4)]=_0x84387f,new Promise(_0x5c45cb=>{const _0x5bb050=_0x284c12;this[_0x5bb050(0xeb)][_0x5bb050(0xb2)]({'query':_0x310463,'context':_0x4776bd,'onData':_0x5e7917=>{const _0xd19d95=_0x5bb050;this[_0xd19d95(0xaf)]=_0x5e7917,this[_0xd19d95(0xdc)]=this[_0xd19d95(0xde)](this[_0xd19d95(0xaf)]);},'actionId':_0x84387f})[_0x5bb050(0xa7)](()=>{const _0x6a4079=_0x5bb050;!this[_0x6a4079(0xdc)]&&this[_0x6a4079(0xaf)]&&(this[_0x6a4079(0xdc)]=this[_0x6a4079(0xde)](this[_0x6a4079(0xaf)],!0x0));})[_0x5bb050(0xc0)](_0x5b0f06=>{const _0x347922=_0x5bb050;_0x5b0f06 instanceof _0x2388d1?this[_0x347922(0xaa)][_0x347922(0xe4)](_0x5b0f06[_0x347922(0xce)]):this[_0x347922(0xaa)][_0x347922(0xe4)](),_0x5c45cb();})[_0x5bb050(0xf3)](()=>{const _0x3be0a7=_0x5bb050;this[_0x3be0a7(0xd7)](),_0x5c45cb();});});}[_0x11377b(0xde)](_0x13406f,_0x50c882=!0x1){const _0x355e56=_0x11377b,_0x5effc0=Z[_0x355e56(0x99)](_0x13406f);_0x13406f=_0x5effc0?_0x13406f[_0x355e56(0xe8)](_0x5effc0[0x1][_0x355e56(0xf1)]):_0x13406f[_0x355e56(0xf1)]<0x64&&!_0x50c882?'':this[_0x355e56(0xac)](_0x13406f);const _0x3fba4e=this[_0x355e56(0xdb)][_0x355e56(0xa1)](_0x13406f,_0x355e56(0xb4));if(_0x5effc0){const _0xab9208=Array[_0x355e56(0xa0)](_0x3fba4e[_0x355e56(0xe1)][_0x355e56(0xb8)]);_0xab9208[_0x355e56(0xd3)]();for(const _0x1b14d7 of _0xab9208){if(_0x1b14d7[_0x355e56(0xf4)]==Node[_0x355e56(0xe2)])break;_0x1b14d7[_0x355e56(0xb3)]();}}const _0x59195f=this[_0x355e56(0xcf)][_0x355e56(0xcd)][_0x355e56(0x94)][_0x355e56(0xc1)](this[_0x355e56(0xd9)][_0x355e56(0xf5)](_0x3fba4e[_0x355e56(0xe1)]));this[_0x355e56(0xed)]()||this[_0x355e56(0xd0)](_0x59195f);const _0xb1a53a=this[_0x355e56(0xcf)][_0x355e56(0xe0)][_0x355e56(0x9b)](_0x355e56(0xe3)),_0x372e2f=this[_0x355e56(0xcf)][_0x355e56(0xcd)][_0x355e56(0xec)](_0x59195f);return _0xb1a53a||_0x372e2f[_0x355e56(0xcb)][_0x355e56(0xb9)](),this[_0x355e56(0xcf)][_0x355e56(0xcd)][_0x355e56(0xc8)](_0x372e2f);}[_0x11377b(0xd0)](_0x4a8b80){const _0x365716=_0x11377b,_0x2b2382=new _0x57756d(this[_0x365716(0xcf)][_0x365716(0xa8)][_0x365716(0xaa)][_0x365716(0xd2)]),_0x5eb881=new _0x2f2047({'name':/^h[1-5]$/}),_0x33ac67=[];let _0x5e9910=!0x1;for(const _0x57a805 of _0x4a8b80)_0x57a805['is'](_0x365716(0xbb))&&_0x5eb881[_0x365716(0xc4)](_0x57a805)&&(_0x33ac67[_0x365716(0xf6)](_0x57a805),'h1'==_0x57a805[_0x365716(0xae)]&&(_0x5e9910=!0x0));if(_0x5e9910){for(const _0x39fe07 of _0x33ac67)_0x2b2382[_0x365716(0xf2)]('h'+(parseInt(_0x39fe07[_0x365716(0xae)][0x1])+0x1),_0x39fe07);}}[_0x11377b(0xed)](){const _0x2810ce=_0x11377b,{data:_0x1769ac,editing:_0x816ff3}=this[_0x2810ce(0xcf)],_0x5d6b62=_0x1769ac[_0x2810ce(0xbf)][_0x2810ce(0xc1)](_0x2810ce(0xc9)),_0x285ce2=_0x1769ac[_0x2810ce(0xc1)](_0x1769ac[_0x2810ce(0xec)](_0x5d6b62));return!!_0x816ff3[_0x2810ce(0xaa)][_0x2810ce(0xca)][_0x2810ce(0xa5)](_0x285ce2)[_0x2810ce(0xd8)]('h1');}[_0x11377b(0x96)](_0x39fe90){const _0x1ad615=_0x11377b;return this[_0x1ad615(0xcf)][_0x1ad615(0xa8)][_0x1ad615(0xaa)][_0x1ad615(0xca)][_0x1ad615(0xef)](this[_0x1ad615(0xab)],_0x39fe90),this[_0x1ad615(0xab)][_0x1ad615(0xa3)];}[_0x11377b(0xac)](_0x30c04d){const _0x27e58a=_0x11377b,_0x5d49bb=_0x30c04d[_0x27e58a(0x98)]();return _0x5d49bb[_0x27e58a(0xdd)](_0x27e58a(0x9a))?_0x5d49bb[_0x27e58a(0xa4)](_0x27e58a(0xd1))?_0x5d49bb[_0x27e58a(0xe8)](0x7,_0x5d49bb[_0x27e58a(0xf1)]-0x3):_0x5d49bb[_0x27e58a(0xe8)](0x7):_0x30c04d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4c11(_0x15939c,_0x14ccfb){const _0x368575=_0x3685();return _0x4c11=function(_0x4c11fc,_0x1cc5cb){_0x4c11fc=_0x4c11fc-0xdd;let _0x44f066=_0x368575[_0x4c11fc];return _0x44f066;},_0x4c11(_0x15939c,_0x14ccfb);}const _0x252db0=_0x4c11;(function(_0x47cae3,_0x5a7644){const _0x6bfcac=_0x4c11,_0x293549=_0x47cae3();while(!![]){try{const _0x230ef0=parseInt(_0x6bfcac(0x11c))/0x1+parseInt(_0x6bfcac(0x11e))/0x2*(-parseInt(_0x6bfcac(0xe9))/0x3)+-parseInt(_0x6bfcac(0xfe))/0x4+-parseInt(_0x6bfcac(0x113))/0x5*(parseInt(_0x6bfcac(0x11d))/0x6)+parseInt(_0x6bfcac(0x12f))/0x7*(parseInt(_0x6bfcac(0x121))/0x8)+-parseInt(_0x6bfcac(0x124))/0x9*(parseInt(_0x6bfcac(0x10d))/0xa)+parseInt(_0x6bfcac(0x11b))/0xb;if(_0x230ef0===_0x5a7644)break;else _0x293549['push'](_0x293549['shift']());}catch(_0x328a31){_0x293549['push'](_0x293549['shift']());}}}(_0x3685,0x86d7e));import{global as _0xff50e0}from'ckeditor5/src/utils.js';import{View as _0x585937,ButtonView as _0x2a74ca,SpinnerView as _0x45c51b}from'ckeditor5/src/ui.js';import{IconCheck as _0x42d670,IconCopy as _0x21a8fd}from'ckeditor5/src/icons.js';function _0x3685(){const _0x78e0ed=['5uBffwO','scrollTo','focus','setTemplate','smooth','getSelection','isEnabled','setContent','20282141UJoqGP','582059rxWlPc','3861516zkQITR','2hFHakM','removeAllRanges','ClipboardItem','3736HCQWax','contentFieldView','.ck-ai-form__loader','4576266hGcPLx','setEndBefore','value','ck-ai-form__content-area--processing','copy','body','<span>[</span>','isVisible','loaderView','ck-ai-form__content-area','textContent','2842lqiALX','absolute','appendChild','copyButtonView','position','clipboard','AI\x20is\x20writing...','Copy','div','execute','element','ck-ai-form__copy-button','ck-ai-form__content-field','style','\x20ck-ai-form__copy-button--copied','text/html','480573XCQpby','bind','addRange','isProcessing','listenTo','innerHTML','setStartAfter','<span>]</span>','ck-hidden','left','bindTemplate','appendLoader','_createLoader','_createCopyButton','ck-ai-form__copy-button-wrapper','createRange','ck-reset_all-excluded','ck-ai-form__loader','class','createElement','ck-content','3003692pnXLGl','scrollHeight','ck-ai-form__content-area-wrapper','_copyHTMLToClipboard','render','write','change:isProcessing','icon','-9999px','remove','change:value','locale','set','wheel','firstElementChild','10NElIob','text/plain','mousedown','querySelector','lastElementChild','execCommand'];_0x3685=function(){return _0x78e0ed;};return _0x3685();}import{getTranslation as _0xc9ad31}from'../../utils/common-translations.js';export default class Y extends _0x585937{[_0x252db0(0x122)];[_0x252db0(0x132)];constructor(_0x5b54a1,_0x3bb526=''){const _0x2189ae=_0x252db0;super(_0x5b54a1),this[_0x2189ae(0x10a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x344c5c=this[_0x2189ae(0xf3)];this[_0x2189ae(0x122)]=new ContentFieldView(_0x5b54a1,_0x3bb526),this[_0x2189ae(0x132)]=this[_0x2189ae(0xf6)](),this[_0x2189ae(0x116)]({'tag':_0x2189ae(0xe1),'attributes':{'class':['ck',_0x2189ae(0x100),_0x344c5c['if'](_0x2189ae(0x12b),_0x2189ae(0xf1),_0x317bdf=>!_0x317bdf)],'tabindex':'-1'},'children':[{'tag':_0x2189ae(0xe1),'attributes':{'class':['ck',_0x2189ae(0x12d),_0x344c5c['if'](_0x2189ae(0xec),_0x2189ae(0x127))]},'children':[this[_0x2189ae(0x122)],{'tag':_0x2189ae(0xe1),'attributes':{'class':['ck',_0x2189ae(0xf7)]},'children':[this[_0x2189ae(0x132)]]}]}]});}[_0x252db0(0x102)](){const _0x444e41=_0x252db0;super[_0x444e41(0x102)](),this[_0x444e41(0x126)]&&this[_0x444e41(0x122)][_0x444e41(0x11a)](this[_0x444e41(0x126)]);let _0x4b3af2=!0x1;this['on'](_0x444e41(0x108),(_0x3c5039,_0x103ee2,_0x28c4d2)=>{const _0x17515d=_0x444e41,_0x5f0f7c=!this[_0x17515d(0x122)][_0x17515d(0xe3)][_0x17515d(0x110)](_0x17515d(0x123));this[_0x17515d(0x122)][_0x17515d(0x11a)](_0x28c4d2),this[_0x17515d(0xec)]&&_0x5f0f7c&&!_0x4b3af2&&this[_0x17515d(0xe3)][_0x17515d(0x114)]({'top':this[_0x17515d(0xe3)][_0x17515d(0xff)],'behavior':_0x17515d(0x117)});}),this['on'](_0x444e41(0x104),(_0x23d51b,_0x49c096,_0x49d8ec)=>{const _0x50f54d=_0x444e41;_0x4b3af2=!0x1,_0x49d8ec?(this[_0x50f54d(0x126)]=null,this[_0x50f54d(0x122)][_0x50f54d(0xf4)]()):this[_0x50f54d(0x126)]||this[_0x50f54d(0x122)][_0x50f54d(0x11a)]('');}),this[_0x444e41(0xed)](this[_0x444e41(0xe3)],_0x444e41(0x10b),()=>{_0x4b3af2=!0x0;}),this[_0x444e41(0xed)](this[_0x444e41(0xe3)],_0x444e41(0x10f),()=>{_0x4b3af2=!0x0;});}[_0x252db0(0x115)](){const _0x23c894=_0x252db0;this[_0x23c894(0xe3)][_0x23c894(0x115)]();}[_0x252db0(0xf6)](){const _0x5444d6=_0x252db0,_0x4191d5=this[_0x5444d6(0x109)],_0x412592=new _0x2a74ca(this[_0x5444d6(0x109)]),_0x3356be=_0x5444d6(0xe4);return _0x412592[_0x5444d6(0x10a)]({'label':_0xc9ad31(_0x4191d5,_0x5444d6(0xe0)),'icon':_0x21a8fd,'class':_0x3356be,'tooltip':!0x0}),_0x412592[_0x5444d6(0xea)](_0x5444d6(0x12b))['to'](this,_0x5444d6(0x126),_0x21781d=>!!_0x21781d),_0x412592[_0x5444d6(0xea)](_0x5444d6(0x119))['to'](this,_0x5444d6(0xec),_0x2adcdc=>!_0x2adcdc),_0x412592['on'](_0x5444d6(0xe2),()=>{const _0xb00fae=_0x5444d6;this[_0xb00fae(0x101)](this[_0xb00fae(0x122)][_0xb00fae(0xe3)]),_0x412592[_0xb00fae(0x105)]=_0x42d670,_0x412592[_0xb00fae(0xfb)]=_0x3356be+_0xb00fae(0xe7),this[_0xb00fae(0x115)](),setTimeout(()=>{const _0x5bb4e3=_0xb00fae;_0x412592[_0x5bb4e3(0x105)]=_0x21a8fd,_0x412592[_0x5bb4e3(0xfb)]=_0x3356be;},0x3e8);}),_0x412592;}[_0x252db0(0x101)](_0x4db172){const _0x4eb71b=_0x252db0,{window:_0x363eda,document:_0x63c02e}=_0xff50e0;if(_0x363eda[_0x4eb71b(0x120)]){const {Blob:_0x5afc63,ClipboardItem:_0x4357f2}=_0x363eda,_0x2ea5a4=[new _0x4357f2({'text/html':new _0x5afc63([_0x4db172[_0x4eb71b(0xee)]],{'type':_0x4eb71b(0xe8)}),'text/plain':new _0x5afc63([_0x4db172[_0x4eb71b(0x12e)]||''],{'type':_0x4eb71b(0x10e)})})];navigator[_0x4eb71b(0xde)][_0x4eb71b(0x103)](_0x2ea5a4);}else{const _0x100026=_0x63c02e[_0x4eb71b(0xfc)](_0x4eb71b(0xe1));_0x100026[_0x4eb71b(0xe6)][_0x4eb71b(0xdd)]=_0x4eb71b(0x130),_0x100026[_0x4eb71b(0xe6)][_0x4eb71b(0xf2)]=_0x4eb71b(0x106),_0x100026[_0x4eb71b(0xee)]=_0x4eb71b(0x12a)+_0x4db172[_0x4eb71b(0xee)]+_0x4eb71b(0xf0),_0x63c02e[_0x4eb71b(0x129)][_0x4eb71b(0x131)](_0x100026);const _0x4608be=_0x63c02e[_0x4eb71b(0xf8)]();_0x4608be[_0x4eb71b(0xef)](_0x100026[_0x4eb71b(0x10c)]),_0x4608be[_0x4eb71b(0x125)](_0x100026[_0x4eb71b(0x111)]);const _0x573d5d=_0x363eda[_0x4eb71b(0x118)]();_0x573d5d[_0x4eb71b(0x11f)](),_0x573d5d[_0x4eb71b(0xeb)](_0x4608be),_0x63c02e[_0x4eb71b(0x112)](_0x4eb71b(0x128)),_0x100026[_0x4eb71b(0x107)]();}}}export class ContentFieldView extends _0x585937{constructor(_0x9b2e21,_0x5b473a=''){const _0x3496c4=_0x252db0;super(_0x9b2e21),this[_0x3496c4(0x12c)]=this[_0x3496c4(0xf5)](),this[_0x3496c4(0x116)]({'tag':_0x3496c4(0xe1),'attributes':{'class':['ck',_0x3496c4(0xfd),_0x5b473a,_0x3496c4(0xf9),_0x3496c4(0xe5)]}});}[_0x252db0(0x11a)](_0x3ba2df){const _0x16a755=_0x252db0;this[_0x16a755(0xe3)][_0x16a755(0xee)]=_0x3ba2df;}[_0x252db0(0xf4)](){const _0x420046=_0x252db0;this[_0x420046(0xe3)][_0x420046(0x131)](this[_0x420046(0x12c)][_0x420046(0xe3)]);}[_0x252db0(0xf5)](){const _0x345881=_0x252db0,_0x57d12d=new _0x585937(),_0x2ecb3a=this[_0x345881(0x109)],_0x414d3c=new _0x45c51b();return _0x414d3c[_0x345881(0x12b)]=!0x0,_0x57d12d[_0x345881(0x116)]({'tag':_0x345881(0xe1),'attributes':{'class':['ck',_0x345881(0xfa)]},'children':[_0x414d3c,{'text':_0xc9ad31(_0x2ecb3a,_0x345881(0xdf))}]}),_0x57d12d[_0x345881(0x102)](),_0x57d12d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3e2e(_0x19f2f5,_0x36559e){const _0x9bdf0c=_0x9bdf();return _0x3e2e=function(_0x3e2e04,_0x570930){_0x3e2e04=_0x3e2e04-0xd7;let _0x473bd9=_0x9bdf0c[_0x3e2e04];return _0x473bd9;},_0x3e2e(_0x19f2f5,_0x36559e);}(function(_0x3160f3,_0x1de48f){const _0x3ad27f=_0x3e2e,_0x6dd90a=_0x3160f3();while(!![]){try{const _0x1db57f=parseInt(_0x3ad27f(0xe2))/0x1*(parseInt(_0x3ad27f(0xdf))/0x2)+parseInt(_0x3ad27f(0xe4))/0x3+parseInt(_0x3ad27f(0xda))/0x4+-parseInt(_0x3ad27f(0xe6))/0x5+-parseInt(_0x3ad27f(0xe3))/0x6+-parseInt(_0x3ad27f(0xd9))/0x7+parseInt(_0x3ad27f(0xd7))/0x8*(parseInt(_0x3ad27f(0xdc))/0x9);if(_0x1db57f===_0x1de48f)break;else _0x6dd90a['push'](_0x6dd90a['shift']());}catch(_0x13c93c){_0x6dd90a['push'](_0x6dd90a['shift']());}}}(_0x9bdf,0x4b2a3));import{IconError as _0x3fdaf6}from'ckeditor5/src/icons.js';function _0x9bdf(){const _0x5bf33c=['9vBBNiJ','ck-ai-form__error','text','6046gEwCPA','set','content','89cKgFmZ','3482166dFDVlJ','1088976WBTEBd','setTemplate','1099255UMzjOP','2753528JwSvYv','bindTemplate','2921702fOOSsB','2196972oMNPOB','div'];_0x9bdf=function(){return _0x5bf33c;};return _0x9bdf();}import{View as _0x1b067d,IconView as _0x566421}from'ckeditor5/src/ui.js';export default class st extends _0x1b067d{constructor(_0x78f09c,_0x37cb9a=''){const _0x532b88=_0x3e2e;super(_0x78f09c);const _0x38dcfe=new _0x566421(),_0x18fd36=this[_0x532b88(0xd8)];this[_0x532b88(0xe0)](_0x532b88(0xde),_0x37cb9a),_0x38dcfe[_0x532b88(0xe1)]=_0x3fdaf6,this[_0x532b88(0xe5)]({'tag':_0x532b88(0xdb),'attributes':{'class':['ck',_0x532b88(0xdd)]},'children':[_0x38dcfe,{'text':_0x18fd36['to'](_0x532b88(0xde))}]});}}
|