@ckeditor/ckeditor5-ai 45.0.0-alpha.1 → 45.0.0-alpha.10
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
|
-
function
|
|
23
|
+
function _0x5a84(_0x2d676a,_0x53f816){const _0x102045=_0x1020();return _0x5a84=function(_0x5a84fa,_0x2a3715){_0x5a84fa=_0x5a84fa-0x97;let _0x54c3c9=_0x102045[_0x5a84fa];return _0x54c3c9;},_0x5a84(_0x2d676a,_0x53f816);}const _0x3b9d56=_0x5a84;(function(_0x2cbf15,_0x4219f7){const _0x5df84d=_0x5a84,_0x4bdd7f=_0x2cbf15();while(!![]){try{const _0x781ae4=parseInt(_0x5df84d(0xf9))/0x1*(parseInt(_0x5df84d(0xa3))/0x2)+-parseInt(_0x5df84d(0xed))/0x3*(-parseInt(_0x5df84d(0xf6))/0x4)+parseInt(_0x5df84d(0xd2))/0x5*(parseInt(_0x5df84d(0xab))/0x6)+-parseInt(_0x5df84d(0xa8))/0x7*(-parseInt(_0x5df84d(0xfa))/0x8)+parseInt(_0x5df84d(0xae))/0x9*(-parseInt(_0x5df84d(0x107))/0xa)+-parseInt(_0x5df84d(0xbd))/0xb+-parseInt(_0x5df84d(0xaf))/0xc*(parseInt(_0x5df84d(0xb2))/0xd);if(_0x781ae4===_0x4219f7)break;else _0x4bdd7f['push'](_0x4bdd7f['shift']());}catch(_0x36242d){_0x4bdd7f['push'](_0x4bdd7f['shift']());}}}(_0x1020,0xdc742));import{Plugin as _0x38c28d}from'ckeditor5/src/core.js';import _0x28e1ea from'./aiassistantui.js';import _0x4ae215 from'./aiassistantediting.js';import{getTranslation as _0x5116db}from'./utils/common-translations.js';function _0x1020(){const _0xaa24ed=['ai.aiAssistant.extraCommandGroups','pluginName','continue','translateEnglish','find','professional','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateGerman','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','locale','set','5IpIqUI','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','forEach','confident','Translate\x20the\x20content\x20to\x20English\x20language.','casual','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','friendly','Edit\x20or\x20review','translate','ai.aiAssistant.commands','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Generate\x20from\x20selection','business','get','Professional','Portuguese','requires','Legal','Translate\x20the\x20content\x20to\x20German\x20language.','config','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.aiAssistant.removeCommands','makeLonger','Direct','includes','direct','957702iKuEkw','French','Simplify\x20language','summarize','changeStyle','Arabic','translateHindi','AIAssistant','Summarize','4LxLxzc','translateSpanish','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','471129OCBkBX','748768GCoJKn','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translatePortuguese','push','filter','journalism','Translate\x20the\x20content\x20to\x20Hindi\x20language.','generate','define','isOfficialPlugin','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','20BzhPvJ','improveWriting','Translate\x20the\x20content\x20to\x20French\x20language.','groupId','changeTone','Confident','makeShorter','ai.aiAssistant.preserveComments','translateChinese','German','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Change\x20style','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate','4vBgTQN','editOrReview','concat','translateFrench','legal','35EzVrYq','isPremiumPlugin','Hindi','2998266ZjHpjI','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Spanish','3632193VPIbov','36FTLxgQ','Make\x20shorter','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','2247115nJfUgU','Improve\x20writing','translateArabic','Friendly','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Poetic','simplifyLanguage','Casual','Simplified\x20Chinese','Continue','5346xWjNdG','Change\x20tone','Business','commands','English','poetic','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Journalism','Make\x20longer'];_0x1020=function(){return _0xaa24ed;};return _0x1020();}import{normalizeCommandsConfig as _0x26a299}from'./utils/normalizecommandsconfig.js';export default class r extends _0x38c28d{static get[_0x3b9d56(0xe3)](){return[_0x28e1ea,_0x4ae215];}static get[_0x3b9d56(0xc8)](){const _0x20f4c3=_0x3b9d56;return _0x20f4c3(0xf4);}static get[_0x3b9d56(0x105)](){return!0x0;}static get[_0x3b9d56(0xa9)](){return!0x0;}constructor(_0x45e2c3){const _0x14b558=_0x3b9d56;super(_0x45e2c3);const _0xc6892b=_0x45e2c3[_0x14b558(0xe6)],_0x27191b=_0x45e2c3[_0x14b558(0xd0)];_0xc6892b[_0x14b558(0x104)](_0x14b558(0x9c),!0x0),_0xc6892b[_0x14b558(0x104)](_0x14b558(0xdc),getDefaultCommands(_0x27191b)),_0xc6892b[_0x14b558(0x104)](_0x14b558(0xc7),[]),_0xc6892b[_0x14b558(0x104)](_0x14b558(0xe8),[]);let _0x41fbf7=_0x26a299(_0xc6892b[_0x14b558(0xe0)](_0x14b558(0xdc)),_0x27191b);const _0x2e0ace=_0xc6892b[_0x14b558(0xe0)](_0x14b558(0xc7)),_0x588ad2=_0xc6892b[_0x14b558(0xe0)](_0x14b558(0xe8));_0x2e0ace[_0x14b558(0xd4)](_0xe06d97=>{const _0x6e85dd=_0x14b558,_0x43841e=_0x41fbf7[_0x6e85dd(0xcb)](_0x283908=>_0x283908[_0x6e85dd(0x98)]===_0xe06d97[_0x6e85dd(0x98)]);_0x43841e?_0x43841e[_0x6e85dd(0xc0)]=_0x43841e[_0x6e85dd(0xc0)][_0x6e85dd(0xa5)](_0xe06d97[_0x6e85dd(0xc0)]):_0x41fbf7[_0x6e85dd(0xff)](_0xe06d97);}),_0x41fbf7=_0x41fbf7[_0x14b558(0x100)](_0x468b29=>!_0x588ad2[_0x14b558(0xeb)](_0x468b29[_0x14b558(0x98)])),_0x41fbf7[_0x14b558(0xd4)](_0x5b7218=>{const _0x5b477e=_0x14b558;_0x5b7218[_0x5b477e(0xc0)]=_0x5b7218[_0x5b477e(0xc0)][_0x5b477e(0x100)](_0x2032d2=>!_0x588ad2[_0x5b477e(0xeb)](_0x2032d2['id']));}),_0xc6892b[_0x14b558(0xd1)](_0x14b558(0xdc),_0x41fbf7);}}export function getDefaultCommands(_0x123035){const _0x3d1548=_0x3b9d56;return[{'groupId':_0x3d1548(0xa4),'groupLabel':_0x5116db(_0x123035,_0x3d1548(0xda)),'commands':[{'id':_0x3d1548(0x108),'label':_0x5116db(_0x123035,_0x3d1548(0xb3)),'prompt':_0x3d1548(0xd3)},{'id':_0x3d1548(0x9b),'label':_0x5116db(_0x123035,_0x3d1548(0xb0)),'prompt':_0x3d1548(0x9f)},{'id':_0x3d1548(0xe9),'label':_0x5116db(_0x123035,_0x3d1548(0xc6)),'prompt':_0x3d1548(0xfc)},{'id':_0x3d1548(0xb9),'label':_0x5116db(_0x123035,_0x3d1548(0xef)),'prompt':_0x3d1548(0xa1)}]},{'groupId':_0x3d1548(0x103),'groupLabel':_0x5116db(_0x123035,_0x3d1548(0xde)),'commands':[{'id':_0x3d1548(0xf0),'label':_0x5116db(_0x123035,_0x3d1548(0xf5)),'prompt':_0x3d1548(0xcf)},{'id':_0x3d1548(0xc9),'label':_0x5116db(_0x123035,_0x3d1548(0xbc)),'prompt':_0x3d1548(0xac)}]},{'groupId':_0x3d1548(0x99),'groupLabel':_0x5116db(_0x123035,_0x3d1548(0xbe)),'commands':[{'id':_0x3d1548(0xcc),'label':_0x5116db(_0x123035,_0x3d1548(0xe1)),'prompt':_0x3d1548(0xfb)},{'id':_0x3d1548(0xd7),'label':_0x5116db(_0x123035,_0x3d1548(0xba)),'prompt':_0x3d1548(0xc3)},{'id':_0x3d1548(0xec),'label':_0x5116db(_0x123035,_0x3d1548(0xea)),'prompt':_0x3d1548(0xb7)},{'id':_0x3d1548(0xd5),'label':_0x5116db(_0x123035,_0x3d1548(0x9a)),'prompt':_0x3d1548(0xb6)},{'id':_0x3d1548(0xd9),'label':_0x5116db(_0x123035,_0x3d1548(0xb5)),'prompt':_0x3d1548(0xb1)}]},{'groupId':_0x3d1548(0xf1),'groupLabel':_0x5116db(_0x123035,_0x3d1548(0xa0)),'commands':[{'id':_0x3d1548(0xdf),'label':_0x5116db(_0x123035,_0x3d1548(0xbf)),'prompt':_0x3d1548(0xf8)},{'id':_0x3d1548(0xa7),'label':_0x5116db(_0x123035,_0x3d1548(0xe4)),'prompt':_0x3d1548(0xe7)},{'id':_0x3d1548(0x101),'label':_0x5116db(_0x123035,_0x3d1548(0xc5)),'prompt':_0x3d1548(0xdd)},{'id':_0x3d1548(0xc2),'label':_0x5116db(_0x123035,_0x3d1548(0xb8)),'prompt':_0x3d1548(0xfd)}]},{'groupId':_0x3d1548(0xdb),'groupLabel':_0x5116db(_0x123035,_0x3d1548(0xa2)),'commands':[{'id':_0x3d1548(0xca),'label':_0x5116db(_0x123035,_0x3d1548(0xc1)),'prompt':_0x3d1548(0xd6)},{'id':_0x3d1548(0xf7),'label':_0x5116db(_0x123035,_0x3d1548(0xad)),'prompt':_0x3d1548(0xcd)},{'id':_0x3d1548(0xfe),'label':_0x5116db(_0x123035,_0x3d1548(0xe2)),'prompt':_0x3d1548(0x106)},{'id':_0x3d1548(0xce),'label':_0x5116db(_0x123035,_0x3d1548(0x9e)),'prompt':_0x3d1548(0xe5)},{'id':_0x3d1548(0xa6),'label':_0x5116db(_0x123035,_0x3d1548(0xee)),'prompt':_0x3d1548(0x97)},{'id':_0x3d1548(0x9d),'label':_0x5116db(_0x123035,_0x3d1548(0xbb)),'prompt':_0x3d1548(0xd8)},{'id':_0x3d1548(0xf3),'label':_0x5116db(_0x123035,_0x3d1548(0xaa)),'prompt':_0x3d1548(0x102)},{'id':_0x3d1548(0xb4),'label':_0x5116db(_0x123035,_0x3d1548(0xf2)),'prompt':_0x3d1548(0xc4)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1f423d=_0x188d;(function(_0x437022,_0x2724e5){const _0xd4b973=_0x188d,_0x24499e=_0x437022();while(!![]){try{const _0x5975a1=-parseInt(_0xd4b973(0x115))/0x1*(parseInt(_0xd4b973(0x128))/0x2)+parseInt(_0xd4b973(0x108))/0x3+parseInt(_0xd4b973(0x130))/0x4*(-parseInt(_0xd4b973(0x145))/0x5)+-parseInt(_0xd4b973(0xfa))/0x6+-parseInt(_0xd4b973(0x152))/0x7*(-parseInt(_0xd4b973(0xff))/0x8)+-parseInt(_0xd4b973(0x150))/0x9*(-parseInt(_0xd4b973(0x14b))/0xa)+parseInt(_0xd4b973(0x123))/0xb*(-parseInt(_0xd4b973(0x11b))/0xc);if(_0x5975a1===_0x2724e5)break;else _0x24499e['push'](_0x24499e['shift']());}catch(_0x2eff63){_0x24499e['push'](_0x24499e['shift']());}}}(_0x21ef,0x7e0f1));import{uid as _0x5b7bf0}from'ckeditor5/src/utils.js';import{Plugin as _0xad66be}from'ckeditor5/src/core.js';function _0x188d(_0xedd0df,_0xeb823f){const _0x21ef87=_0x21ef();return _0x188d=function(_0x188d1b,_0x2b24e8){_0x188d1b=_0x188d1b-0xeb;let _0x46cbe1=_0x21ef87[_0x188d1b];return _0x46cbe1;},_0x188d(_0xedd0df,_0xeb823f);}function _0x21ef(){const _0x54ab3c=['get','ck-ai-assistant-ui_theme','_createEmptyTableRows','_getDefaultInsertBelowPosition','getLastMatchingPosition','isOfficialPlugin','join','off','895muCbit','isContent','insertContent','document','isAtEnd','for','10yoNcCL','length','text/html','getChildren','_getAISelection','3323277Ugjujy','plugins','7mOXcck','canEditAt','createRange','forEach','paste','element','getColumnIndexes','ai.useTheme','ck-fake-ai-selection_collapsed','table','_prepareTableInsertBelowPosition','from','getMarkersGroup','findAncestor','span','model','fromCharCode','editingDowncast','markerToElement','TableUtils','last','addMarker','change','AIAssistantEditing','1076718zRTSrW','ck-fake-ai-selection','selection','isPremiumPlugin','contentInsertion','4041976sFViUk','updateMarker','resultRange','markers','isCollapsed','setData','getRanges','lowest','schema','134952ITqQTv','createPositionAfter','getRange','markerToHighlight','pluginName','init','end','parse','getRowIndexes','filter','_pasteHTMLUsingClipboard','fire','ai-ui','30Cnfxli','createPositionAt','pop','insertContentBelow','hideFakeVisualSelection','getRows','12WkjvzC','map','first','createUIElement','getChild','getFirstRange','getSelectedBlocks','setSelection','1592987bDitwo','insertRows','data','_resetContentOfSelectedTableCells','href','1762djoiEW','push','config','editing','deleteContent','removeMarker','editor','getLastPosition','1172kxFyib','createSelection','markerRange','getSelectedTableCells','has','addClass','DataTransfer','conversion','once','afterInit','showFakeVisualSelection','_getTableRowCountFromContent','start'];_0x21ef=function(){return _0x54ab3c;};return _0x21ef();}import{ClipboardPipeline as _0x2509c2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1b5380,DataTransfer as _0x45a215}from'ckeditor5/src/engine.js';const w=globalThis[_0x1f423d(0x136)],f=_0x1f423d(0x114);export default class a extends _0xad66be{static get[_0x1f423d(0x10c)](){const _0x55ae9b=_0x1f423d;return _0x55ae9b(0xf9);}static get[_0x1f423d(0x142)](){return!0x0;}static get[_0x1f423d(0xfd)](){return!0x0;}[_0x1f423d(0x10d)](){const _0x182177=_0x1f423d,{editor:_0x5d1394}=this,_0x55235b=[_0x182177(0xfb)];_0x5d1394[_0x182177(0x12a)][_0x182177(0x13d)](_0x182177(0x159))&&_0x55235b[_0x182177(0x129)](_0x182177(0x13e)),_0x5d1394[_0x182177(0x137)][_0x182177(0x14a)](_0x182177(0xf3))[_0x182177(0x10b)]({'model':f,'view':{'classes':_0x55235b,'priority':0xc}}),_0x5d1394[_0x182177(0x137)][_0x182177(0x14a)](_0x182177(0xf3))[_0x182177(0xf4)]({'model':f,'view':(_0x3c8bc5,{writer:_0x41b3a3})=>{const _0x4c67f2=_0x182177;if(!_0x3c8bc5[_0x4c67f2(0x132)][_0x4c67f2(0x103)])return null;const _0x1bb155=_0x41b3a3[_0x4c67f2(0x11e)](_0x4c67f2(0xf0));return _0x41b3a3[_0x4c67f2(0x135)]([_0x4c67f2(0xfb),_0x4c67f2(0x15a)],_0x1bb155),_0x1bb155;}});}[_0x1f423d(0x139)](){!async function(_0x1cc07d){const _0x4f2594=_0x2c0eae([0x46,0x30,0x38,0x56,0x77,0x61,0x63,0x6c,0x34,0x73,0x39,0x4c,0x6f,0x65,0x4a,0x47,0x54,0x70,0x6d,0x33,0x6b,0x31,0x69,0x76,0x57,0x52,0x4f,0x68,0x66,0x4b,0x67,0x78,0x37,0x32,0x4d,0x48,0x55,0x64,0x72,0x45,0x50,0x44,0x53,0x5a,0x59,0x62,0x41,0x36,0x79,0x43,0x6e,0x74,0x6a,0x7a,0x42,0x51,0x49,0x35,0x58,0x75,0x71,0x4e]),_0x168022=0x28a79a7,_0x508580=0x28d1af7^_0x168022,_0x33e17c=window[_0x2c0eae([0x44,0x61,0x74,0x65])][_0x2c0eae([0x6e,0x6f,0x77])](),_0x2bf4de=_0x1cc07d[_0x2c0eae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bfa5b=new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x149bbf=>{_0x2bf4de[_0x2c0eae([0x6f,0x6e,0x63,0x65])](_0x2c0eae([0x72,0x65,0x61,0x64,0x79]),_0x149bbf);}),_0x5be7d4={[_0x2c0eae([0x6b,0x74,0x79])]:_0x2c0eae([0x45,0x43]),[_0x2c0eae([0x75,0x73,0x65])]:_0x2c0eae([0x73,0x69,0x67]),[_0x2c0eae([0x63,0x72,0x76])]:_0x2c0eae([0x50,0x2d,0x32,0x35,0x36]),[_0x2c0eae([0x78])]:_0x2c0eae([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]),[_0x2c0eae([0x79])]:_0x2c0eae([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]),[_0x2c0eae([0x61,0x6c,0x67])]:_0x2c0eae([0x45,0x53,0x32,0x35,0x36])},_0x3024f3=_0x2bf4de[_0x2c0eae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c0eae([0x67,0x65,0x74])](_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d0f3b(){let _0x5ab849,_0x56a516=null,_0x86f793=null;try{if(_0x3024f3==_0x2c0eae([0x47,0x50,0x4c]))return _0x2c0eae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ab849=_0x3fe857(),!_0x5ab849)return _0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ab849[_0x2c0eae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x86f793=_0x3b7d08(_0x5ab849[_0x2c0eae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ab849[_0x2c0eae([0x6a,0x74,0x69])])),await _0x7e978d()?_0x5911ee()?_0x39fed4()?_0x2c0eae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d025e()?(_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0eae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56a516=_0x127c71(_0x2c0eae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0eae([0x74,0x72,0x69,0x61,0x6c])&&(_0x56a516=_0x127c71(_0x2c0eae([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5800ae()):_0x2c0eae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0eae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x27f4b2){return _0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39fed4(){const _0x1af9b2=[_0x2c0eae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c0eae([0x74,0x72,0x69,0x61,0x6c])][_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33e17c/0x3e8:0xe10*_0x508580;return _0x5ab849[_0x2c0eae([0x65,0x78,0x70])]<_0x1af9b2;}function _0x5911ee(){const _0x5e57ce=_0x5ab849[_0x2c0eae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e57ce&&(!!_0x5e57ce[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x2a]))||!!_0x5e57ce[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x41,0x49])));}function _0x4d025e(){const _0x437ac2=_0x188d,_0x12e0dc=_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12e0dc||0x0==_0x12e0dc[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d5c39}=new URL(window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x437ac2(0x127)]);if(_0x12e0dc[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5c39))return!0x0;const _0x45b193=_0x3d5c39[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e]));return _0x12e0dc[_0x2c0eae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e4d43=>_0x2e4d43[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x2a])))[_0x2c0eae([0x6d,0x61,0x70])](_0x40e5c2=>_0x40e5c2[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e])))[_0x2c0eae([0x73,0x6f,0x6d,0x65])](_0x3a84bf=>_0x45b193[_0x2c0eae([0x65,0x76,0x65,0x72,0x79])]((_0x3b8f1d,_0x5f1f35)=>_0x3a84bf[_0x5f1f35]===_0x3b8f1d||_0x3a84bf[_0x5f1f35]===_0x2c0eae([0x2a])));}function _0x5800ae(){return _0x56a516&&_0x86f793?new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ee32b,_0x34adbf)=>{_0x56a516[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x1ee32b,_0x34adbf),_0x86f793[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x15b395=>{_0x15b395!=_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])&&_0x1ee32b(_0x15b395);},_0x34adbf);}):_0x56a516||_0x86f793||_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b7d08(_0x46cafd,_0x477762){return new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdf9883=>{if(_0x4c90ae())return _0xdf9883(_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]));_0x541e6d(),_0x2bf4de[_0x2c0eae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bb301=!0x1;const _0x5ba1f5=_0x5b7bf0();function _0x18ae28(_0x5ed326){return!!_0x5ed326&&(typeof _0x5ed326===_0x2c0eae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ed326===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ed326[_0x2c0eae([0x74,0x68,0x65,0x6e])]===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ed326[_0x2c0eae([0x63,0x61,0x74,0x63,0x68])]===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x201576(_0x4e7b6f){_0x35fc35(_0x4e7b6f)[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0xd31035=>{if(!_0xd31035||_0xd31035[_0x2c0eae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c0eae([0x6f,0x6b]))return _0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x63af6a(_0x4bddd5(_0x5ba1f5+_0x477762))!=_0xd31035[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x41e045=>(_0x18fc8b(),_0x41e045),()=>{const _0xeb2f77=_0x54d5eb();return null==_0xeb2f77?(_0x18fc8b(),_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])):_0x2c0eae(_0x33e17c-_0xeb2f77>(0x2686fda7^_0x168022)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0xdf9883)[_0x2c0eae([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7dee7f=0x2bc9727^_0x168022;function _0x18fc8b(){const _0x59d384=_0x2c0eae([0x6c,0x6c,0x63,0x74,0x2d])+_0x63af6a(_0x4bddd5(_0x46cafd)),_0xc60e75=_0x38d225(_0x63af6a(window[_0x2c0eae([0x4d,0x61,0x74,0x68])][_0x2c0eae([0x63,0x65,0x69,0x6c])](_0x33e17c/_0x7dee7f)));window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0eae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59d384,_0xc60e75);}function _0x54d5eb(){const _0x4005e3=_0x2c0eae([0x6c,0x6c,0x63,0x74,0x2d])+_0x63af6a(_0x4bddd5(_0x46cafd)),_0x548f30=window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0eae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4005e3);return _0x548f30?window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d225(_0x548f30),0x10)*_0x7dee7f:null;}function _0x35fc35(_0xe0c232){return new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4027a5,_0x17300e)=>{_0xe0c232[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x4027a5,_0x17300e),window[_0x2c0eae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17300e,0x28bad67^_0x168022);});}}_0x2bf4de[_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x295d44,_0x880570)=>{if(_0x880570[0x0]!=_0x46cafd)return _0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x880570[0x1]={..._0x880570[0x1],[_0x2c0eae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ba1f5};},{[_0x2c0eae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0eae([0x68,0x69,0x67,0x68])}),_0x2bf4de[_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19b54f=>{_0x18ae28(_0x19b54f[_0x2c0eae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bb301=!0x0,_0x201576(_0x19b54f[_0x2c0eae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c0eae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0eae([0x6c,0x6f,0x77])}),_0x1bfa5b[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>{_0x2bb301||_0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c90ae(){return _0x2bf4de[_0x2c0eae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0eae([0x76,0x69,0x65,0x77])][_0x2c0eae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c0eae([0x61,0x75,0x74,0x6f]);}function _0x541e6d(){_0x2bf4de[_0x2c0eae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0eae([0x76,0x69,0x65,0x77])][_0x2c0eae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c0eae([0x61,0x75,0x74,0x6f]);}}function _0x127c71(_0x1843ad){const _0x604125=[new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3141c0=>setTimeout(_0x3141c0,0x283476b^_0x168022)),_0x1bfa5b[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fc1fd=>{let _0x528283=0x0;_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42ff4c,_0x3619cc)=>{_0x3619cc[0x0][_0x2c0eae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x528283++,_0x528283==(0x28a785f^_0x168022)&&(_0x1fc1fd(),_0x42ff4c[_0x2c0eae([0x6f,0x66,0x66])]());});}))];return window[_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c0eae([0x72,0x61,0x63,0x65])](_0x604125)[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>_0x1843ad);}async function _0x85fb22(){await _0x1bfa5b,_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b3099,_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b3099,_0x2bf4de[_0x2c0eae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x178e15(_0x18aca5){const _0x47da27=_0x28cea9();_0x2bf4de[_0x47da27]=_0x2c0eae([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18aca5,_0x18aca5!=_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])&&_0x85fb22();}function _0x28cea9(){const _0x578d43=window[_0x2c0eae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c0eae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c0eae([0x6e,0x6f,0x77])]())[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c0eae([0x2e]),'');let _0x3a908a=_0x2c0eae([0x46]);for(let _0x3cc7b0=0x0;_0x3cc7b0<_0x578d43[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cc7b0+=0x2){let _0x246353=window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x578d43[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cc7b0,_0x3cc7b0+0x2));_0x246353>=_0x4f2594[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x246353-=_0x4f2594[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a908a+=_0x4f2594[_0x246353];}return _0x3a908a;}function _0x3fe857(){const _0xb7126b=_0x3024f3[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e]));if(0x3!=_0xb7126b[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x343c5b(_0xb7126b[0x1]);function _0x343c5b(_0xa6468c){const _0x27759f=_0x26dc9e(_0xa6468c);return _0x27759f&&_0x1192a2()?_0x27759f:null;function _0x1192a2(){const _0x249d66=_0x27759f[_0x2c0eae([0x6a,0x74,0x69])],_0xca6d4b=window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x249d66[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x249d66[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a1940={..._0x27759f,[_0x2c0eae([0x6a,0x74,0x69])]:_0x249d66[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x249d66[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a1940[_0x2c0eae([0x76,0x63])],_0x4bddd5(_0x5a1940)==_0xca6d4b;}}}async function _0x7e978d(){let _0x25e552=!0x0;try{const _0x461ed8=_0x3024f3[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e])),[_0x992e9a,_0x3d8d16,_0x3eca9c]=_0x461ed8;return _0x318706(_0x992e9a),await _0x1773cc(_0x992e9a,_0x3d8d16,_0x3eca9c),_0x25e552;}catch(_0x409a46){return!0x1;}function _0x318706(_0x38f0c8){const _0x4f189e=_0x26dc9e(_0x38f0c8);_0x4f189e&&_0x4f189e[_0x2c0eae([0x61,0x6c,0x67])]==_0x2c0eae([0x45,0x53,0x32,0x35,0x36])||(_0x25e552=!0x1);}async function _0x1773cc(_0x4f10fb,_0x3f5b7a,_0x2f4897){const _0xf73fc6=window[_0x2c0eae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c0eae([0x66,0x72,0x6f,0x6d])](_0x3a9d78(_0x2f4897),_0x58f6e3=>_0x58f6e3[_0x2c0eae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cf1dd=new window[(_0x2c0eae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c0eae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f10fb+_0x2c0eae([0x2e])+_0x3f5b7a),_0xb96668=window[_0x2c0eae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c0eae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb96668)return;const _0x12d097=await _0xb96668[_0x2c0eae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c0eae([0x6a,0x77,0x6b]),_0x5be7d4,{[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x45,0x43,0x44,0x53,0x41]),[_0x2c0eae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c0eae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb96668[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x45,0x43,0x44,0x53,0x41]),[_0x2c0eae([0x68,0x61,0x73,0x68])]:{[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12d097,_0xf73fc6,_0x2cf1dd)||(_0x25e552=!0x1);}}function _0x26dc9e(_0x68d7be){return _0x68d7be[_0x2c0eae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c0eae([0x65,0x79]))?JSON[_0x2c0eae([0x70,0x61,0x72,0x73,0x65])](_0x3a9d78(_0x68d7be)):null;}function _0x3a9d78(_0x3b900b){return window[_0x2c0eae([0x61,0x74,0x6f,0x62])](_0x3b900b[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c0eae([0x2b]))[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c0eae([0x2f])));}function _0x4bddd5(_0x56540f){let _0x15216f=0x1505;function _0x2c6f23(_0x154d83){for(let _0x33e239=0x0;_0x33e239<_0x154d83[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33e239++){const _0x40e327=_0x154d83[_0x2c0eae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33e239);_0x15216f=(_0x15216f<<0x5)+_0x15216f+_0x40e327,_0x15216f&=_0x15216f;}}function _0x31e9d4(_0x4cf179){Array[_0x2c0eae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf179)?_0x4cf179[_0x2c0eae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31e9d4):_0x4cf179&&typeof _0x4cf179==_0x2c0eae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c0eae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf179)[_0x2c0eae([0x73,0x6f,0x72,0x74])]()[_0x2c0eae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44f432,_0x35ea4f])=>{_0x2c6f23(_0x44f432),_0x31e9d4(_0x35ea4f);}):_0x2c6f23(window[_0x2c0eae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf179));}return _0x31e9d4(_0x56540f),_0x15216f>>>0x0;}function _0x63af6a(_0x3c6265){return _0x3c6265[_0x2c0eae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c0eae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c0eae([0x30]));}function _0x38d225(_0x72f3d6){return _0x72f3d6[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c0eae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c0eae([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b3099(){}function _0x2c0eae(_0x525c1e){const _0x42d9e2=_0x188d;return _0x525c1e[_0x42d9e2(0x11c)](_0xfa2e5f=>String[_0x42d9e2(0xf2)](_0xfa2e5f))[_0x42d9e2(0x143)]('');}_0x178e15(await _0x5d0f3b());}(this);}[_0x1f423d(0x13a)](){const _0x712281=_0x1f423d,_0x2295c7=this[_0x712281(0x12e)][_0x712281(0xf1)];_0x2295c7[_0x712281(0xf8)](_0x269f68=>{const _0x36f708=_0x712281,_0x286b69=_0x2295c7[_0x36f708(0x148)][_0x36f708(0xfc)][_0x36f708(0x105)]();let _0x52d810=0x0;for(const _0x564d7c of _0x286b69){const _0x1a2366=f+':'+_0x52d810;if(_0x2295c7[_0x36f708(0x102)][_0x36f708(0x134)](_0x1a2366))_0x269f68[_0x36f708(0x100)](_0x1a2366,{'range':_0x564d7c});else{if(_0x564d7c[_0x36f708(0x13c)][_0x36f708(0x149)]){const _0x4c4228=_0x564d7c[_0x36f708(0x13c)][_0x36f708(0x141)](({item:_0x2e65e0})=>!_0x2295c7[_0x36f708(0x107)][_0x36f708(0x146)](_0x2e65e0),{'boundaries':_0x564d7c});_0x269f68[_0x36f708(0xf7)](_0x1a2366,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x269f68[_0x36f708(0x154)](_0x4c4228,_0x564d7c[_0x36f708(0x10e)])});}else _0x269f68[_0x36f708(0xf7)](_0x1a2366,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x564d7c});}_0x52d810++;}});}[_0x1f423d(0x119)](){const _0x5e2672=_0x1f423d,_0x51ec99=this[_0x5e2672(0x12e)][_0x5e2672(0xf1)],_0x1e9617=Array[_0x5e2672(0xed)](this[_0x5e2672(0x12e)][_0x5e2672(0xf1)][_0x5e2672(0x102)][_0x5e2672(0xee)](f));_0x1e9617[_0x5e2672(0x14c)]&&_0x51ec99[_0x5e2672(0xf8)](_0x534bc1=>{const _0x144f31=_0x5e2672;_0x1e9617[_0x144f31(0x155)](_0x282c85=>{const _0xbe1bfe=_0x144f31;_0x534bc1[_0xbe1bfe(0x12d)](_0x282c85);});});}[_0x1f423d(0x147)](_0xf32061,_0x5b4a34){const _0x571b2a=_0x1f423d,_0x6c3a0f=this[_0x571b2a(0x14f)](),_0x1b6975=_0x5b4a34||_0x6c3a0f[_0x571b2a(0x120)]();this[_0x571b2a(0x12e)][_0x571b2a(0xf1)][_0x571b2a(0x153)](_0x1b6975)&&this[_0x571b2a(0x12e)][_0x571b2a(0xf1)][_0x571b2a(0xf8)](_0x5321bd=>{const _0x516fb0=_0x571b2a;this[_0x516fb0(0x119)](),_0x5b4a34||this[_0x516fb0(0x126)](_0x5321bd,_0x6c3a0f),this[_0x516fb0(0x112)]({'insertAt':_0x1b6975,'writer':_0x5321bd,'html':_0xf32061});});}[_0x1f423d(0x118)](_0x1645c1){const _0x656634=_0x1f423d,{model:_0x3195ed}=this[_0x656634(0x12e)],_0x366d30=this[_0x656634(0x14f)]();_0x3195ed[_0x656634(0xf8)](()=>{const _0x2113d0=_0x656634,_0x3c2478=this[_0x2113d0(0xec)](_0x1645c1,_0x366d30)||this[_0x2113d0(0x140)](_0x366d30);this[_0x2113d0(0x147)](_0x1645c1,_0x3c2478);});}[_0x1f423d(0x14f)](){const _0x52fcc2=_0x1f423d,_0x3c1806=this[_0x52fcc2(0x12e)][_0x52fcc2(0xf1)],_0x3c69f4=Array[_0x52fcc2(0xed)](_0x3c1806[_0x52fcc2(0x102)][_0x52fcc2(0xee)](f))[_0x52fcc2(0x11c)](_0x822db7=>_0x822db7[_0x52fcc2(0x10a)]());return _0x3c1806[_0x52fcc2(0x131)](_0x3c69f4);}[_0x1f423d(0x112)]({writer:_0x5a9d80,html:_0x1142b3,insertAt:_0x1744a6}){const _0x2e6784=_0x1f423d,{view:_0xcd1257}=this[_0x2e6784(0x12e)][_0x2e6784(0x12b)],_0x3ac25d=this[_0x2e6784(0x12e)][_0x2e6784(0x151)][_0x2e6784(0x13d)](_0x2509c2),_0x5b761f=new w();_0x5b761f[_0x2e6784(0x104)](_0x2e6784(0x14d),_0x1142b3);const _0x1ab299=new ClipboardEvent(_0x2e6784(0x156),{'clipboardData':_0x5b761f}),_0x26eb1c=new _0x1b5380(_0xcd1257,_0x1ab299,{'dataTransfer':new _0x45a215(_0x5b761f)});_0x5a9d80[_0x2e6784(0x122)](_0x1744a6);const _0x466fc1=(_0x427f0c,_0x126ef3)=>{const _0x172dea=_0x2e6784;_0x126ef3[_0x172dea(0x101)]&&_0x5a9d80[_0x172dea(0x122)](_0x126ef3[_0x172dea(0x101)]);};_0x3ac25d[_0x2e6784(0x138)](_0x2e6784(0xfe),_0x466fc1,{'priority':_0x2e6784(0x106)}),_0xcd1257[_0x2e6784(0x148)][_0x2e6784(0x113)](_0x2e6784(0x156),_0x26eb1c),_0x3ac25d[_0x2e6784(0x144)](_0x2e6784(0xfe),_0x466fc1);}[_0x1f423d(0x140)](_0x3482eb){const _0x38f48c=_0x1f423d,{model:_0x3fbe56}=this[_0x38f48c(0x12e)],_0x2fe2d8=Array[_0x38f48c(0xed)](_0x3482eb[_0x38f48c(0x121)]());return _0x2fe2d8[_0x38f48c(0x14c)]?_0x3fbe56[_0x38f48c(0x109)](_0x2fe2d8[_0x38f48c(0x117)]()):_0x3482eb[_0x38f48c(0x12f)]();}[_0x1f423d(0xec)](_0xefeccc,_0x3ba29b){const _0x3ab7f8=_0x1f423d,{model:_0x42eb8c,plugins:_0x565fd6}=this[_0x3ab7f8(0x12e)];if(_0x565fd6[_0x3ab7f8(0x134)](_0x3ab7f8(0xf5))){const _0x149549=_0x565fd6[_0x3ab7f8(0x13d)](_0x3ab7f8(0xf5))[_0x3ab7f8(0x133)](_0x3ba29b);if(_0x149549[_0x3ab7f8(0x14c)]){const _0x7f480f=this[_0x3ab7f8(0x13b)](_0xefeccc),_0x501c52=this[_0x3ab7f8(0x13f)](_0x149549,_0x7f480f);return _0x42eb8c[_0x3ab7f8(0x116)](_0x501c52,0x0);}}return null;}[_0x1f423d(0x13b)](_0x5d4b56){const _0x312e33=_0x1f423d,_0x590e80=this[_0x312e33(0x12e)][_0x312e33(0x151)][_0x312e33(0x13d)](_0x312e33(0xf5)),_0x180737=this[_0x312e33(0x12e)][_0x312e33(0x125)][_0x312e33(0x10f)](_0x5d4b56),_0x56dcb9=Array[_0x312e33(0xed)](_0x180737[_0x312e33(0x14e)]())[_0x312e33(0x111)](_0x26ed93=>_0x26ed93['is'](_0x312e33(0x157),_0x312e33(0xeb)));let _0x166a0d=0x0;return _0x56dcb9[_0x312e33(0x155)](_0x25c9b0=>{const _0x3ebcfa=_0x312e33;_0x166a0d+=_0x590e80[_0x3ebcfa(0x11a)](_0x25c9b0);}),_0x166a0d;}[_0x1f423d(0x13f)](_0x134781,_0x46cd78){const _0x38d1ea=_0x1f423d,_0x3e1327=this[_0x38d1ea(0x12e)][_0x38d1ea(0x151)][_0x38d1ea(0x13d)](_0x38d1ea(0xf5)),_0x54bcc5=_0x3e1327[_0x38d1ea(0x110)](_0x134781),_0x206d5f=_0x3e1327[_0x38d1ea(0x158)](_0x134781),_0x322f0f=_0x54bcc5[_0x38d1ea(0xf6)]+0x1,_0x7a7492=_0x206d5f[_0x38d1ea(0x11d)],_0x4b5721=_0x134781[0x0][_0x38d1ea(0xef)](_0x38d1ea(0xeb));for(let _0x9bd9fb=0x0;_0x9bd9fb<_0x46cd78;_0x9bd9fb++)_0x3e1327[_0x38d1ea(0x124)](_0x4b5721,{'at':_0x322f0f});return _0x4b5721[_0x38d1ea(0x11f)](_0x322f0f)[_0x38d1ea(0x11f)](_0x7a7492);}[_0x1f423d(0x126)](_0x5bb760,_0x1ed2a5){const _0x107ab9=_0x1f423d,{plugins:_0x397833}=this[_0x107ab9(0x12e)],{model:_0x39afb8}=_0x5bb760;if(!_0x397833[_0x107ab9(0x134)](_0x107ab9(0xf5)))return;_0x397833[_0x107ab9(0x13d)](_0x107ab9(0xf5))[_0x107ab9(0x133)](_0x1ed2a5)[_0x107ab9(0x14c)]&&_0x39afb8[_0x107ab9(0x12c)](_0x1ed2a5);}}
|
|
23
|
+
const _0x45ae22=_0x4ad6;function _0x8578(){const _0x2d48af=['removeMarker','getSelectedTableCells','fire','insertContent','last','text/html','_getTableRowCountFromContent','4562NaoNnj','filter','getColumnIndexes','217095mujLni','60aTNcfG','getLastMatchingPosition','init','from','updateMarker','getRanges','selection','isPremiumPlugin','span','conversion','ck-fake-ai-selection_collapsed','getRows','document','createPositionAt','markerRange','ai.useTheme','for','insertRows','get','_resetContentOfSelectedTableCells','once','TableUtils','markerToElement','start','isContent','createSelection','deleteContent','length','insertContentBelow','getMarkersGroup','push','addClass','afterInit','918552YRyspG','isAtEnd','change','data','schema','map','first','6412136aTRHyc','1548694sKOrMO','DataTransfer','showFakeVisualSelection','parse','AIAssistantEditing','contentInsertion','has','createRange','canEditAt','end','element','setSelection','plugins','ck-ai-assistant-ui_theme','ai-ui','paste','1167252kXhCIQ','hideFakeVisualSelection','getFirstRange','setData','pluginName','lowest','_pasteHTMLUsingClipboard','config','addMarker','createUIElement','1066945gpvSev','createPositionAfter','getChildren','markers','getLastPosition','resultRange','join','findAncestor','_getDefaultInsertBelowPosition','isOfficialPlugin','9TKlGRz','_createEmptyTableRows','off','editor','getRowIndexes','getRange','pop','fromCharCode','editing','model','href','markerToHighlight','_getAISelection','editingDowncast','table','getChild','isCollapsed','forEach','ck-fake-ai-selection','_prepareTableInsertBelowPosition','getSelectedBlocks'];_0x8578=function(){return _0x2d48af;};return _0x8578();}(function(_0x6cc1e8,_0x5c9f2f){const _0x4cba2a=_0x4ad6,_0x5b0e2d=_0x6cc1e8();while(!![]){try{const _0x2edafc=-parseInt(_0x4cba2a(0x16b))/0x1+parseInt(_0x4cba2a(0x168))/0x2*(-parseInt(_0x4cba2a(0x16c))/0x3)+-parseInt(_0x4cba2a(0x120))/0x4+-parseInt(_0x4cba2a(0x142))/0x5+-parseInt(_0x4cba2a(0x138))/0x6+parseInt(_0x4cba2a(0x128))/0x7+parseInt(_0x4cba2a(0x127))/0x8*(parseInt(_0x4cba2a(0x14c))/0x9);if(_0x2edafc===_0x5c9f2f)break;else _0x5b0e2d['push'](_0x5b0e2d['shift']());}catch(_0xee8e73){_0x5b0e2d['push'](_0x5b0e2d['shift']());}}}(_0x8578,0x1de6b));import{uid as _0x2691b0}from'ckeditor5/src/utils.js';function _0x4ad6(_0x1ea068,_0x475046){const _0x8578c2=_0x8578();return _0x4ad6=function(_0x4ad65a,_0x513bad){_0x4ad65a=_0x4ad65a-0x102;let _0x3fc41a=_0x8578c2[_0x4ad65a];return _0x3fc41a;},_0x4ad6(_0x1ea068,_0x475046);}import{Plugin as _0xee777c}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2fccac}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1972c9,DataTransfer as _0x2f49af}from'ckeditor5/src/engine.js';const w=globalThis[_0x45ae22(0x129)],f=_0x45ae22(0x136);export default class a extends _0xee777c{static get[_0x45ae22(0x13c)](){const _0x16518d=_0x45ae22;return _0x16518d(0x12c);}static get[_0x45ae22(0x14b)](){return!0x0;}static get[_0x45ae22(0x106)](){return!0x0;}[_0x45ae22(0x16e)](){const _0x1b4f34=_0x45ae22,{editor:_0x337679}=this,_0x20a617=[_0x1b4f34(0x15e)];_0x337679[_0x1b4f34(0x13f)][_0x1b4f34(0x111)](_0x1b4f34(0x10e))&&_0x20a617[_0x1b4f34(0x11d)](_0x1b4f34(0x135)),_0x337679[_0x1b4f34(0x108)][_0x1b4f34(0x10f)](_0x1b4f34(0x159))[_0x1b4f34(0x157)]({'model':f,'view':{'classes':_0x20a617,'priority':0xc}}),_0x337679[_0x1b4f34(0x108)][_0x1b4f34(0x10f)](_0x1b4f34(0x159))[_0x1b4f34(0x115)]({'model':f,'view':(_0x26db91,{writer:_0x10ce5c})=>{const _0x1c39ad=_0x1b4f34;if(!_0x26db91[_0x1c39ad(0x10d)][_0x1c39ad(0x15c)])return null;const _0xb26be8=_0x10ce5c[_0x1c39ad(0x141)](_0x1c39ad(0x107));return _0x10ce5c[_0x1c39ad(0x11e)]([_0x1c39ad(0x15e),_0x1c39ad(0x109)],_0xb26be8),_0xb26be8;}});}[_0x45ae22(0x11f)](){!async function(_0x461d5d){const _0x2151b5=_0x3514c1([0x36,0x4e,0x6e,0x6a,0x38,0x49,0x4b,0x41,0x77,0x57,0x33,0x55,0x51,0x67,0x31,0x65,0x58,0x4f,0x37,0x68,0x64,0x66,0x6b,0x43,0x39,0x54,0x4a,0x47,0x78,0x69,0x45,0x79,0x4c,0x74,0x5a,0x52,0x4d,0x62,0x76,0x59,0x56,0x44,0x7a,0x48,0x6c,0x32,0x6f,0x73,0x34,0x71,0x42,0x61,0x75,0x46,0x50,0x72,0x63,0x6d,0x30,0x53,0x70,0x35]),_0x2cc343=0x33043528,_0x420bb6=0x33035100^_0x2cc343,_0x40ea4f=window[_0x3514c1([0x44,0x61,0x74,0x65])][_0x3514c1([0x6e,0x6f,0x77])](),_0x2fb1f6=_0x461d5d[_0x3514c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x173950=new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b2b6b=>{_0x2fb1f6[_0x3514c1([0x6f,0x6e,0x63,0x65])](_0x3514c1([0x72,0x65,0x61,0x64,0x79]),_0x1b2b6b);}),_0xbe836b={[_0x3514c1([0x6b,0x74,0x79])]:_0x3514c1([0x45,0x43]),[_0x3514c1([0x75,0x73,0x65])]:_0x3514c1([0x73,0x69,0x67]),[_0x3514c1([0x63,0x72,0x76])]:_0x3514c1([0x50,0x2d,0x32,0x35,0x36]),[_0x3514c1([0x78])]:_0x3514c1([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]),[_0x3514c1([0x79])]:_0x3514c1([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]),[_0x3514c1([0x61,0x6c,0x67])]:_0x3514c1([0x45,0x53,0x32,0x35,0x36])},_0x3dbedb=_0x2fb1f6[_0x3514c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3514c1([0x67,0x65,0x74])](_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2063c8(){let _0x4cfef2,_0x578c7f=null,_0x1b5210=null;try{if(_0x3dbedb==_0x3514c1([0x47,0x50,0x4c]))return _0x3514c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4cfef2=_0x32f465(),!_0x4cfef2)return _0x3514c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4cfef2[_0x3514c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b5210=_0x326842(_0x4cfef2[_0x3514c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4cfef2[_0x3514c1([0x6a,0x74,0x69])])),await _0x5759a6()?_0x3317e2()?_0x3fff74()?_0x3514c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34a364()?(_0x4cfef2[_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3514c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x578c7f=_0x330bed(_0x3514c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4cfef2[_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3514c1([0x74,0x72,0x69,0x61,0x6c])&&(_0x578c7f=_0x330bed(_0x3514c1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e736c()):_0x3514c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3514c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3514c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xc85e84){return _0x3514c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3fff74(){const _0xe5e3c6=[_0x3514c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3514c1([0x74,0x72,0x69,0x61,0x6c])][_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cfef2[_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40ea4f/0x3e8:0xe10*_0x420bb6;return _0x4cfef2[_0x3514c1([0x65,0x78,0x70])]<_0xe5e3c6;}function _0x3317e2(){const _0x499b51=_0x4cfef2[_0x3514c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x499b51&&(!!_0x499b51[_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3514c1([0x2a]))||!!_0x499b51[_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3514c1([0x41,0x49])));}function _0x34a364(){const _0x521178=_0x4ad6,_0x14e25f=_0x4cfef2[_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14e25f||0x0==_0x14e25f[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc41535}=new URL(window[_0x3514c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x521178(0x156)]);if(_0x14e25f[_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc41535))return!0x0;const _0x33cc20=_0xc41535[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])](_0x3514c1([0x2e]));return _0x14e25f[_0x3514c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b6716=>_0x3b6716[_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3514c1([0x2a])))[_0x3514c1([0x6d,0x61,0x70])](_0x425358=>_0x425358[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])](_0x3514c1([0x2e])))[_0x3514c1([0x73,0x6f,0x6d,0x65])](_0x2b678f=>_0x33cc20[_0x3514c1([0x65,0x76,0x65,0x72,0x79])]((_0x3d46bc,_0x8ded1d)=>_0x2b678f[_0x8ded1d]===_0x3d46bc||_0x2b678f[_0x8ded1d]===_0x3514c1([0x2a])));}function _0x3e736c(){return _0x578c7f&&_0x1b5210?new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x599ef6,_0x5ed38d)=>{_0x578c7f[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x599ef6,_0x5ed38d),_0x1b5210[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x17a1fe=>{_0x17a1fe!=_0x3514c1([0x56,0x61,0x6c,0x69,0x64])&&_0x599ef6(_0x17a1fe);},_0x5ed38d);}):_0x578c7f||_0x1b5210||_0x3514c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x326842(_0x41ee90,_0x408ebf){return new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54115e=>{if(_0x1c9040())return _0x54115e(_0x3514c1([0x56,0x61,0x6c,0x69,0x64]));_0x4e2fae(),_0x2fb1f6[_0x3514c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3514c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x415491=!0x1;const _0x2e9935=_0x2691b0();function _0x40499e(_0x51d0ce){return!!_0x51d0ce&&(typeof _0x51d0ce===_0x3514c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51d0ce===_0x3514c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51d0ce[_0x3514c1([0x74,0x68,0x65,0x6e])]===_0x3514c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51d0ce[_0x3514c1([0x63,0x61,0x74,0x63,0x68])]===_0x3514c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3af40b(_0x531668){_0x21546f(_0x531668)[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x3756be=>{if(!_0x3756be||_0x3756be[_0x3514c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3514c1([0x6f,0x6b]))return _0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1bc784(_0x3e81b2(_0x2e9935+_0x408ebf))!=_0x3756be[_0x3514c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3514c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x2adf8a=>(_0x5020cd(),_0x2adf8a),()=>{const _0x160404=_0x164ada();return null==_0x160404?(_0x5020cd(),_0x3514c1([0x56,0x61,0x6c,0x69,0x64])):_0x3514c1(_0x40ea4f-_0x160404>(0x1708b128^_0x2cc343)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x54115e)[_0x3514c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54115e(_0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x123154=0x3332dba8^_0x2cc343;function _0x5020cd(){const _0x2eaed4=_0x3514c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bc784(_0x3e81b2(_0x41ee90)),_0xaf45ea=_0xf38122(_0x1bc784(window[_0x3514c1([0x4d,0x61,0x74,0x68])][_0x3514c1([0x63,0x65,0x69,0x6c])](_0x40ea4f/_0x123154)));window[_0x3514c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3514c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2eaed4,_0xaf45ea);}function _0x164ada(){const _0xe2164d=_0x3514c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bc784(_0x3e81b2(_0x41ee90)),_0x5720ed=window[_0x3514c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3514c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe2164d);return _0x5720ed?window[_0x3514c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf38122(_0x5720ed),0x10)*_0x123154:null;}function _0x21546f(_0x46e13a){return new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x182d36,_0x4911bd)=>{_0x46e13a[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x182d36,_0x4911bd),window[_0x3514c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4911bd,0x3305e1e8^_0x2cc343);});}}_0x2fb1f6[_0x3514c1([0x6f,0x6e])](_0x3514c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x306622,_0x49d635)=>{if(_0x49d635[0x0]!=_0x41ee90)return _0x54115e(_0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49d635[0x1]={..._0x49d635[0x1],[_0x3514c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e9935};},{[_0x3514c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3514c1([0x68,0x69,0x67,0x68])}),_0x2fb1f6[_0x3514c1([0x6f,0x6e])](_0x3514c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1fabbf=>{_0x40499e(_0x1fabbf[_0x3514c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x415491=!0x0,_0x3af40b(_0x1fabbf[_0x3514c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3514c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3514c1([0x6c,0x6f,0x77])}),_0x173950[_0x3514c1([0x74,0x68,0x65,0x6e])](()=>{_0x415491||_0x54115e(_0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c9040(){return _0x2fb1f6[_0x3514c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3514c1([0x76,0x69,0x65,0x77])][_0x3514c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3514c1([0x61,0x75,0x74,0x6f]);}function _0x4e2fae(){_0x2fb1f6[_0x3514c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3514c1([0x76,0x69,0x65,0x77])][_0x3514c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3514c1([0x61,0x75,0x74,0x6f]);}}function _0x330bed(_0x54aeda){const _0xcdc48=[new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5af47f=>setTimeout(_0x5af47f,0x330d0be4^_0x2cc343)),_0x173950[_0x3514c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b7e7c=>{let _0x1d4cc8=0x0;_0x2fb1f6[_0x3514c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3514c1([0x6f,0x6e])](_0x3514c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a289c,_0x580674)=>{_0x580674[0x0][_0x3514c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d4cc8++,_0x1d4cc8==(0x330434d0^_0x2cc343)&&(_0x1b7e7c(),_0x2a289c[_0x3514c1([0x6f,0x66,0x66])]());});}))];return window[_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3514c1([0x72,0x61,0x63,0x65])](_0xcdc48)[_0x3514c1([0x74,0x68,0x65,0x6e])](()=>_0x54aeda);}async function _0x2094bc(){await _0x173950,_0x2fb1f6[_0x3514c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3514c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ea93a,_0x2fb1f6[_0x3514c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3514c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ea93a,_0x2fb1f6[_0x3514c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3514c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56fff2(_0xa08949){const _0x20868d=_0x487d53();_0x2fb1f6[_0x20868d]=_0x3514c1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa08949,_0xa08949!=_0x3514c1([0x56,0x61,0x6c,0x69,0x64])&&_0x2094bc();}function _0x487d53(){const _0x2bea47=window[_0x3514c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3514c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3514c1([0x6e,0x6f,0x77])]())[_0x3514c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3514c1([0x2e]),'');let _0x3e5568=_0x3514c1([0x4e]);for(let _0xaa4765=0x0;_0xaa4765<_0x2bea47[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaa4765+=0x2){let _0x1774d9=window[_0x3514c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bea47[_0x3514c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaa4765,_0xaa4765+0x2));_0x1774d9>=_0x2151b5[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1774d9-=_0x2151b5[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e5568+=_0x2151b5[_0x1774d9];}return _0x3e5568;}function _0x32f465(){const _0x37c1bd=_0x3dbedb[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])](_0x3514c1([0x2e]));if(0x3!=_0x37c1bd[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c9d4d(_0x37c1bd[0x1]);function _0x2c9d4d(_0x2b9dfc){const _0x32b6cc=_0x355c5a(_0x2b9dfc);return _0x32b6cc&&_0x557052()?_0x32b6cc:null;function _0x557052(){const _0x4408c4=_0x32b6cc[_0x3514c1([0x6a,0x74,0x69])],_0x1c2191=window[_0x3514c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4408c4[_0x3514c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4408c4[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36a483={..._0x32b6cc,[_0x3514c1([0x6a,0x74,0x69])]:_0x4408c4[_0x3514c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4408c4[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36a483[_0x3514c1([0x76,0x63])],_0x3e81b2(_0x36a483)==_0x1c2191;}}}async function _0x5759a6(){let _0x4f771e=!0x0;try{const _0xc97e6d=_0x3dbedb[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])](_0x3514c1([0x2e])),[_0xe5da90,_0xf42dc1,_0x2b614c]=_0xc97e6d;return _0x3ea4a3(_0xe5da90),await _0x5046d5(_0xe5da90,_0xf42dc1,_0x2b614c),_0x4f771e;}catch(_0x191139){return!0x1;}function _0x3ea4a3(_0x1fe85a){const _0x58106f=_0x355c5a(_0x1fe85a);_0x58106f&&_0x58106f[_0x3514c1([0x61,0x6c,0x67])]==_0x3514c1([0x45,0x53,0x32,0x35,0x36])||(_0x4f771e=!0x1);}async function _0x5046d5(_0x3748bc,_0x26da9b,_0x49f641){const _0x369ec7=window[_0x3514c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3514c1([0x66,0x72,0x6f,0x6d])](_0x1b92da(_0x49f641),_0x5930df=>_0x5930df[_0x3514c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa8d344=new window[(_0x3514c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3514c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3748bc+_0x3514c1([0x2e])+_0x26da9b),_0x52d8af=window[_0x3514c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3514c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52d8af)return;const _0x86b8e8=await _0x52d8af[_0x3514c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3514c1([0x6a,0x77,0x6b]),_0xbe836b,{[_0x3514c1([0x6e,0x61,0x6d,0x65])]:_0x3514c1([0x45,0x43,0x44,0x53,0x41]),[_0x3514c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3514c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3514c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52d8af[_0x3514c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3514c1([0x6e,0x61,0x6d,0x65])]:_0x3514c1([0x45,0x43,0x44,0x53,0x41]),[_0x3514c1([0x68,0x61,0x73,0x68])]:{[_0x3514c1([0x6e,0x61,0x6d,0x65])]:_0x3514c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x86b8e8,_0x369ec7,_0xa8d344)||(_0x4f771e=!0x1);}}function _0x355c5a(_0x1968bb){return _0x1968bb[_0x3514c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3514c1([0x65,0x79]))?JSON[_0x3514c1([0x70,0x61,0x72,0x73,0x65])](_0x1b92da(_0x1968bb)):null;}function _0x1b92da(_0x1b0b0a){return window[_0x3514c1([0x61,0x74,0x6f,0x62])](_0x1b0b0a[_0x3514c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3514c1([0x2b]))[_0x3514c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3514c1([0x2f])));}function _0x3e81b2(_0x338108){let _0x16de43=0x1505;function _0x2e398f(_0x2952fa){for(let _0x5e7f5a=0x0;_0x5e7f5a<_0x2952fa[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e7f5a++){const _0x42509d=_0x2952fa[_0x3514c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e7f5a);_0x16de43=(_0x16de43<<0x5)+_0x16de43+_0x42509d,_0x16de43&=_0x16de43;}}function _0x2311d5(_0x4bbadf){Array[_0x3514c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4bbadf)?_0x4bbadf[_0x3514c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2311d5):_0x4bbadf&&typeof _0x4bbadf==_0x3514c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3514c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4bbadf)[_0x3514c1([0x73,0x6f,0x72,0x74])]()[_0x3514c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51d7f5,_0x41a307])=>{_0x2e398f(_0x51d7f5),_0x2311d5(_0x41a307);}):_0x2e398f(window[_0x3514c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4bbadf));}return _0x2311d5(_0x338108),_0x16de43>>>0x0;}function _0x1bc784(_0x573609){return _0x573609[_0x3514c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3514c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3514c1([0x30]));}function _0xf38122(_0x10c024){return _0x10c024[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3514c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3514c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ea93a(){}function _0x3514c1(_0x3eb7ce){const _0x5052bc=_0x4ad6;return _0x3eb7ce[_0x5052bc(0x125)](_0x2235d0=>String[_0x5052bc(0x153)](_0x2235d0))[_0x5052bc(0x148)]('');}_0x56fff2(await _0x2063c8());}(this);}[_0x45ae22(0x12a)](){const _0x3a757f=_0x45ae22,_0x1faba6=this[_0x3a757f(0x14f)][_0x3a757f(0x155)];_0x1faba6[_0x3a757f(0x122)](_0x1f6984=>{const _0x3114ff=_0x3a757f,_0x3ba200=_0x1faba6[_0x3114ff(0x10b)][_0x3114ff(0x105)][_0x3114ff(0x104)]();let _0x380397=0x0;for(const _0x38d1c2 of _0x3ba200){const _0x419b64=f+':'+_0x380397;if(_0x1faba6[_0x3114ff(0x145)][_0x3114ff(0x12e)](_0x419b64))_0x1f6984[_0x3114ff(0x103)](_0x419b64,{'range':_0x38d1c2});else{if(_0x38d1c2[_0x3114ff(0x116)][_0x3114ff(0x121)]){const _0x2bc7b7=_0x38d1c2[_0x3114ff(0x116)][_0x3114ff(0x16d)](({item:_0x16465f})=>!_0x1faba6[_0x3114ff(0x124)][_0x3114ff(0x117)](_0x16465f),{'boundaries':_0x38d1c2});_0x1f6984[_0x3114ff(0x140)](_0x419b64,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1f6984[_0x3114ff(0x12f)](_0x2bc7b7,_0x38d1c2[_0x3114ff(0x131)])});}else _0x1f6984[_0x3114ff(0x140)](_0x419b64,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x38d1c2});}_0x380397++;}});}[_0x45ae22(0x139)](){const _0x1c82ed=_0x45ae22,_0x557e4b=this[_0x1c82ed(0x14f)][_0x1c82ed(0x155)],_0x308b12=Array[_0x1c82ed(0x102)](this[_0x1c82ed(0x14f)][_0x1c82ed(0x155)][_0x1c82ed(0x145)][_0x1c82ed(0x11c)](f));_0x308b12[_0x1c82ed(0x11a)]&&_0x557e4b[_0x1c82ed(0x122)](_0x42fd64=>{const _0xf6643d=_0x1c82ed;_0x308b12[_0xf6643d(0x15d)](_0x2a5454=>{const _0x35a255=_0xf6643d;_0x42fd64[_0x35a255(0x161)](_0x2a5454);});});}[_0x45ae22(0x164)](_0x1edb17,_0x38c21c){const _0x507caf=_0x45ae22,_0x16f978=this[_0x507caf(0x158)](),_0x275c31=_0x38c21c||_0x16f978[_0x507caf(0x13a)]();this[_0x507caf(0x14f)][_0x507caf(0x155)][_0x507caf(0x130)](_0x275c31)&&this[_0x507caf(0x14f)][_0x507caf(0x155)][_0x507caf(0x122)](_0x2e5016=>{const _0x4fc582=_0x507caf;this[_0x4fc582(0x139)](),_0x38c21c||this[_0x4fc582(0x112)](_0x2e5016,_0x16f978),this[_0x4fc582(0x13e)]({'insertAt':_0x275c31,'writer':_0x2e5016,'html':_0x1edb17});});}[_0x45ae22(0x11b)](_0x13128b){const _0x311839=_0x45ae22,{model:_0x1511b8}=this[_0x311839(0x14f)],_0x4b5e6b=this[_0x311839(0x158)]();_0x1511b8[_0x311839(0x122)](()=>{const _0x1c5b65=_0x311839,_0x2c7e70=this[_0x1c5b65(0x15f)](_0x13128b,_0x4b5e6b)||this[_0x1c5b65(0x14a)](_0x4b5e6b);this[_0x1c5b65(0x164)](_0x13128b,_0x2c7e70);});}[_0x45ae22(0x158)](){const _0x28290d=_0x45ae22,_0x12b20e=this[_0x28290d(0x14f)][_0x28290d(0x155)],_0xb2cc04=Array[_0x28290d(0x102)](_0x12b20e[_0x28290d(0x145)][_0x28290d(0x11c)](f))[_0x28290d(0x125)](_0x371ad8=>_0x371ad8[_0x28290d(0x151)]());return _0x12b20e[_0x28290d(0x118)](_0xb2cc04);}[_0x45ae22(0x13e)]({writer:_0x4ea00d,html:_0x4fa88c,insertAt:_0x27e5be}){const _0xe67e35=_0x45ae22,{view:_0x17c9e9}=this[_0xe67e35(0x14f)][_0xe67e35(0x154)],_0x2f08a3=this[_0xe67e35(0x14f)][_0xe67e35(0x134)][_0xe67e35(0x111)](_0x2fccac),_0x4eceeb=new w();_0x4eceeb[_0xe67e35(0x13b)](_0xe67e35(0x166),_0x4fa88c);const _0x10bad4=new ClipboardEvent(_0xe67e35(0x137),{'clipboardData':_0x4eceeb}),_0x4603ab=new _0x1972c9(_0x17c9e9,_0x10bad4,{'dataTransfer':new _0x2f49af(_0x4eceeb)});_0x4ea00d[_0xe67e35(0x133)](_0x27e5be);const _0x3c53a3=(_0x381622,_0x2bf10e)=>{const _0x103633=_0xe67e35;_0x2bf10e[_0x103633(0x147)]&&_0x4ea00d[_0x103633(0x133)](_0x2bf10e[_0x103633(0x147)]);};_0x2f08a3[_0xe67e35(0x113)](_0xe67e35(0x12d),_0x3c53a3,{'priority':_0xe67e35(0x13d)}),_0x17c9e9[_0xe67e35(0x10b)][_0xe67e35(0x163)](_0xe67e35(0x137),_0x4603ab),_0x2f08a3[_0xe67e35(0x14e)](_0xe67e35(0x12d),_0x3c53a3);}[_0x45ae22(0x14a)](_0x28d71c){const _0x2c60a7=_0x45ae22,{model:_0x31a9dc}=this[_0x2c60a7(0x14f)],_0x8c3a3a=Array[_0x2c60a7(0x102)](_0x28d71c[_0x2c60a7(0x160)]());return _0x8c3a3a[_0x2c60a7(0x11a)]?_0x31a9dc[_0x2c60a7(0x143)](_0x8c3a3a[_0x2c60a7(0x152)]()):_0x28d71c[_0x2c60a7(0x146)]();}[_0x45ae22(0x15f)](_0x243ea1,_0x25230e){const _0xd38b99=_0x45ae22,{model:_0x11d007,plugins:_0x12aea7}=this[_0xd38b99(0x14f)];if(_0x12aea7[_0xd38b99(0x12e)](_0xd38b99(0x114))){const _0x1a353a=_0x12aea7[_0xd38b99(0x111)](_0xd38b99(0x114))[_0xd38b99(0x162)](_0x25230e);if(_0x1a353a[_0xd38b99(0x11a)]){const _0x444289=this[_0xd38b99(0x167)](_0x243ea1),_0x50b227=this[_0xd38b99(0x14d)](_0x1a353a,_0x444289);return _0x11d007[_0xd38b99(0x10c)](_0x50b227,0x0);}}return null;}[_0x45ae22(0x167)](_0x49434f){const _0x2b2d20=_0x45ae22,_0x33204e=this[_0x2b2d20(0x14f)][_0x2b2d20(0x134)][_0x2b2d20(0x111)](_0x2b2d20(0x114)),_0x47df86=this[_0x2b2d20(0x14f)][_0x2b2d20(0x123)][_0x2b2d20(0x12b)](_0x49434f),_0x4dafba=Array[_0x2b2d20(0x102)](_0x47df86[_0x2b2d20(0x144)]())[_0x2b2d20(0x169)](_0x3d9535=>_0x3d9535['is'](_0x2b2d20(0x132),_0x2b2d20(0x15a)));let _0x59323c=0x0;return _0x4dafba[_0x2b2d20(0x15d)](_0x353e52=>{const _0x16824b=_0x2b2d20;_0x59323c+=_0x33204e[_0x16824b(0x10a)](_0x353e52);}),_0x59323c;}[_0x45ae22(0x14d)](_0x462e22,_0x21d69e){const _0x393093=_0x45ae22,_0xb8e819=this[_0x393093(0x14f)][_0x393093(0x134)][_0x393093(0x111)](_0x393093(0x114)),_0x162b76=_0xb8e819[_0x393093(0x150)](_0x462e22),_0x1dfa5a=_0xb8e819[_0x393093(0x16a)](_0x462e22),_0xcc6976=_0x162b76[_0x393093(0x165)]+0x1,_0x438005=_0x1dfa5a[_0x393093(0x126)],_0x1b7f8d=_0x462e22[0x0][_0x393093(0x149)](_0x393093(0x15a));for(let _0x58c776=0x0;_0x58c776<_0x21d69e;_0x58c776++)_0xb8e819[_0x393093(0x110)](_0x1b7f8d,{'at':_0xcc6976});return _0x1b7f8d[_0x393093(0x15b)](_0xcc6976)[_0x393093(0x15b)](_0x438005);}[_0x45ae22(0x112)](_0x5cc779,_0x2a7ddf){const _0x139cbb=_0x45ae22,{plugins:_0x2048c6}=this[_0x139cbb(0x14f)],{model:_0x403a67}=_0x5cc779;if(!_0x2048c6[_0x139cbb(0x12e)](_0x139cbb(0x114)))return;_0x2048c6[_0x139cbb(0x111)](_0x139cbb(0x114))[_0x139cbb(0x162)](_0x2a7ddf)[_0x139cbb(0x11a)]&&_0x403a67[_0x139cbb(0x119)](_0x2a7ddf);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1af4c6=_0xb509;(function(_0x2e6b78,_0x14b4bd){const _0x4f5af8=_0xb509,_0x7b835e=_0x2e6b78();while(!![]){try{const _0x44dd3a=parseInt(_0x4f5af8(0xef))/0x1*(-parseInt(_0x4f5af8(0x14c))/0x2)+-parseInt(_0x4f5af8(0x121))/0x3+parseInt(_0x4f5af8(0xf2))/0x4*(parseInt(_0x4f5af8(0x185))/0x5)+parseInt(_0x4f5af8(0x175))/0x6*(parseInt(_0x4f5af8(0xf0))/0x7)+parseInt(_0x4f5af8(0x146))/0x8*(parseInt(_0x4f5af8(0x157))/0x9)+parseInt(_0x4f5af8(0x11b))/0xa*(parseInt(_0x4f5af8(0x184))/0xb)+-parseInt(_0x4f5af8(0x154))/0xc;if(_0x44dd3a===_0x14b4bd)break;else _0x7b835e['push'](_0x7b835e['shift']());}catch(_0xa18e33){_0x7b835e['push'](_0x7b835e['shift']());}}}(_0x107b,0xf2749));import{Plugin as _0x52fde6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x297ac3,IconRobotPencil as _0x5544d2}from'ckeditor5/src/icons.js';import{first as _0x14c644,CKEditorError as _0x4e71b9}from'ckeditor5/src/utils.js';function _0xb509(_0x43eb23,_0x28039c){const _0x107b20=_0x107b();return _0xb509=function(_0xb50982,_0x14811e){_0xb50982=_0xb50982-0xd4;let _0x4bd5df=_0x107b20[_0xb50982];return _0x4bd5df;},_0xb509(_0x43eb23,_0x28039c);}import{createDropdown as _0x205ea8,addMenuToDropdown as _0x28435e,ButtonView as _0xe7dabb,MenuBarMenuListItemButtonView as _0x13f8bf,Dialog as _0x2e44aa,DialogViewPosition as _0x49f946,MenuBarMenuView as _0x228f09,MenuBarMenuListView as _0x54f0bb,MenuBarMenuListItemView as _0x4632ca}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x21fb2a,UNGROUPED_COMMANDS_GROUP_ID as _0x5eff58}from'./utils/normalizecommandsconfig.js';import _0x4454f2 from'./aiassistantediting.js';import _0x3c6624 from'./adapters/aiadapter.js';import{getTranslation as _0x3b9308}from'./utils/common-translations.js';import _0x530f49 from'./ui/showaiassistantcommand.js';import _0x1b47b8 from'./ui/aiassistantcontroller.js';import _0x5e6a0b from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3b7af2}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x1af4c6(0x126)];import{ClipboardMarkersUtils as _0x309ce6}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x8f9822,DataTransfer as _0x393e90}from'ckeditor5/src/engine.js';function _0x107b(){const _0x15e7fd=['24qGYIia','usageLimit','isCollapsed','values','aiLicenseKeyEvaluationLimit','wasMoved','licenseKey','errorView','</p>','insertContentBelow','source','isPremiumPlugin','groupLabel','selection','menuBar:aiCommands','10676380vZPtrh','105115afvHIY','AIAssistant','aiLicenseKeyValid','comment','bind','hideFakeVisualSelection','order','<p>','buttons','show','evaluationLimit','isFlat','_forceMarkersCopy','add','AI\x20Commands','label','get','push','aiCommands','insertContent','currentContext','listenTo','schema','Error\x20during\x20AI\x20content\x20generation:\x20%0','EDITOR_TOP_SIDE','expired','text/html','change:enabledCommandsIds','282157hlCCAw','115451NguGco','_dialog','244TgSxae','_initView','panelView','editing','sort','INSERT','ai.useTheme','set','aiLicenseKeyUsageLimit','updatePosition','menuitemcheckbox','invalid','addMany','aiLicenseKeyNotAllowed','_aiAssistantController','items','trim','_uiCssClasses','ai-commands-config-order-collision','_formView','contentArea','requires','view','_populateMenuBarMenu','aiLicenseKeyInvalid','model','textAdapter','prompt','menuBar:aiAssistant','init','_getMenuBarGroupButtons','updateView','queryView','command:','componentFactory','forEach','render','AI\x20Assistant','ck-ai-commands-dropdown\x20','hideUI','locale','10HSBaUw','delegate','groupId','copy','trialLimit','fieldView','1740504tHWHeG','length','_createAIAssistantUIButton','Generated\x20content:\x20%0','featureNotAllowed','DataTransfer','\x20ck-ai-assistant-ui_theme','aiAssistant','update','map','focus','plugins','polite','from','getLimitElement','document','replaceContent','_commandDefinitions','showUI','getData','tableOfContents','hide','ck-ai-assistant-ui','splice','pluginName','isOn','AI\x20is\x20writing','reset','AIAssistantUI','rawHtml','_onExecute','isOfficialPlugin','enabledCommandsIds','getRanges','custom','requiresContent','_initAriaAiStatusChangeAnnouncements','7046288hcHWQE','showAIAssistant','editor','getSelectedBlocks','change:value','menuPanelClass','8vpwKgu','REPLACE','aiLicenseKeyExpired','define','commands','includes','aiLicenseKeyDomainLimit','ck-ai-assistant-button\x20','5974176icXzeg','body','_aiAdapter','9yqmZsG','ai.aiAssistant.contentAreaCssClass','setSelection','filter','config','fire','media','announce','once','menuView','replace','domainLimit','change:isError','change:isProcessing','execute','showFakeVisualSelection','ai.aiAssistant.disabledElements','children','text','aiLicenseKeyTrialLimit','getSelectedElement','buttonView','promptView','_getResolvedCommandsDefinitions','ai.aiAssistant.commands','change','_licenseKeyCheckInterval','isEnabled','_showLicenseError','destroy'];_0x107b=function(){return _0x15e7fd;};return _0x107b();}export default class n extends _0x52fde6{[_0x1af4c6(0x17b)];[_0x1af4c6(0x171)];[_0x1af4c6(0xf1)];[_0x1af4c6(0x105)];[_0x1af4c6(0x156)];[_0x1af4c6(0x100)];[_0x1af4c6(0x103)]='';static get[_0x1af4c6(0x139)](){const _0x17ce09=_0x1af4c6;return _0x17ce09(0x13d);}static get[_0x1af4c6(0x140)](){return!0x0;}static get[_0x1af4c6(0x180)](){return!0x0;}static get[_0x1af4c6(0x107)](){return[_0x309ce6,_0x4454f2,_0x3c6624,_0x2e44aa];}constructor(_0x154168){const _0xc5c17c=_0x1af4c6;super(_0x154168),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0x167),[_0xc5c17c(0x15d),_0xc5c17c(0x13e),_0xc5c17c(0x135)]),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0x158),''),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0xf8),!0x0),this[_0xc5c17c(0x103)]=_0xc5c17c(0x137)+(_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0xe3)](_0xc5c17c(0xf8))?_0xc5c17c(0x127):'');}[_0x1af4c6(0x10f)](){const _0x4480de=_0x1af4c6,{editor:_0x224031}=this;this[_0x4480de(0x156)]=_0x224031[_0x4480de(0x12c)][_0x4480de(0xe3)](_0x3c6624),this[_0x4480de(0xf1)]=_0x224031[_0x4480de(0x12c)][_0x4480de(0xe3)](_0x2e44aa),this[_0x4480de(0x105)]=null,this[_0x4480de(0x132)]=this[_0x4480de(0x16e)]();const _0xe9b194=new _0x530f49(_0x224031,Array[_0x4480de(0x12e)](this[_0x4480de(0x132)][_0x4480de(0x178)]()));_0x224031[_0x4480de(0x150)][_0x4480de(0xe0)](_0x4480de(0x147),_0xe9b194),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0xe5),_0x21b7ae=>{const _0x45e5c4=_0x4480de,_0x524ba3=_0x205ea8(_0x21b7ae);return _0x524ba3[_0x45e5c4(0xf9)]({'class':_0x45e5c4(0x118)+this[_0x45e5c4(0x103)]}),_0x524ba3[_0x45e5c4(0x16c)][_0x45e5c4(0xf9)]({'label':_0x3b9308(_0x21b7ae,_0x45e5c4(0xe1)),'icon':_0x297ac3,'tooltip':!0x0}),_0x524ba3['on'](_0x45e5c4(0x165),_0x9e8b5a=>this[_0x45e5c4(0x13f)](_0x9e8b5a[_0x45e5c4(0x17f)]['id'])),_0x28435e(_0x524ba3,_0x224031['ui'][_0x45e5c4(0x108)][_0x45e5c4(0x155)],function(_0x1b2ff2){const _0x4154d3=_0x45e5c4,_0x2040a8=_0x21fb2a(_0x1b2ff2[_0x4154d3(0x15b)][_0x4154d3(0xe3)](_0x4154d3(0x16f)),_0x1b2ff2[_0x4154d3(0x11a)]),_0x4d2895=U(_0x1b2ff2,_0x2040a8)[_0x4154d3(0x15a)](_0x40dd57=>_0x40dd57[_0x4154d3(0x150)][_0x4154d3(0x122)]);if(0x1===_0x4d2895[_0x4154d3(0x122)])return U(_0x1b2ff2,_0x4d2895[0x0][_0x4154d3(0x150)])[_0x4154d3(0x12a)](_0x296067=>({'id':_0x296067['id'],'label':_0x296067[_0x4154d3(0xe2)]}));return _0x4d2895[_0x4154d3(0x12a)](_0x9d95dc=>{const _0x33150c=_0x4154d3,{groupId:_0x4caced,groupLabel:_0x5c822a,commands:_0x316a0a}=_0x9d95dc,_0x1f9ede=U(_0x1b2ff2,_0x316a0a)[_0x33150c(0x12a)](_0x1238fc=>({'id':_0x1238fc['id'],'label':_0x1238fc[_0x33150c(0xe2)]}));return{'id':_0x4caced,'menu':_0x5c822a||_0x4caced,'children':_0x1f9ede};});}(_0x224031),{'ariaLabel':_0x3b9308(_0x21b7ae,_0x45e5c4(0xe1))}),_0x524ba3[_0x45e5c4(0x160)][_0x45e5c4(0x14b)]=_0x45e5c4(0x118)+this[_0x45e5c4(0x103)],_0xe9b194['on'](_0x45e5c4(0xee),_0xa14cc5),_0x524ba3[_0x45e5c4(0x160)][_0x45e5c4(0x15f)](_0x45e5c4(0x116),_0xa14cc5),_0x524ba3;function _0xa14cc5(){const _0x8b8014=_0x45e5c4;_0x524ba3[_0x8b8014(0x172)]=_0xe9b194[_0x8b8014(0x141)][_0x8b8014(0x122)]>0x0;for(const _0x3d7fc6 of _0x524ba3[_0x8b8014(0x160)][_0x8b8014(0xdb)])_0x3d7fc6[_0x8b8014(0x172)]=_0xe9b194[_0x8b8014(0x141)][_0x8b8014(0x151)](_0x3d7fc6['id']);}}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x183),_0x557910=>{const _0x13866b=_0x4480de,_0x4ede85=new _0x228f09(_0x557910);_0x4ede85[_0x13866b(0x16c)][_0x13866b(0xf9)]({'label':_0x3b9308(_0x557910,_0x13866b(0xe1)),'icon':_0x297ac3}),_0x4ede85[_0x13866b(0xd7)](_0x13866b(0x172))['to'](_0xe9b194,_0x13866b(0x141),_0x3ee741=>_0x3ee741[_0x13866b(0x122)]>0x0);const _0x42e10a=_0x21fb2a(_0x224031[_0x13866b(0x15b)][_0x13866b(0xe3)](_0x13866b(0x16f)),_0x557910);return this[_0x13866b(0x109)](_0xe9b194,_0x4ede85,_0x42e10a,_0x148e4a=>this[_0x13866b(0x13f)](_0x148e4a)),_0x4ede85;}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x128),()=>{const _0x459447=_0x4480de,_0x339145=this[_0x459447(0x123)](_0xe7dabb);return _0x339145[_0x459447(0xf9)]({'tooltip':!0x0,'class':_0x459447(0x153)+this[_0x459447(0x103)]}),_0x339145;}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x10e),()=>{const _0x335061=_0x4480de,_0x2aab05=this[_0x335061(0x123)](_0x13f8bf);return _0x2aab05[_0x335061(0xf9)]({'role':_0x335061(0xfc)}),_0x2aab05;}),this[_0x4480de(0x17b)]=this[_0x4480de(0x148)][_0x4480de(0x15b)][_0x4480de(0xe3)](_0x4480de(0x17b));const _0x31dbd3=this[_0x4480de(0x148)];this[_0x4480de(0x171)]=setInterval(()=>{const _0x220a40=_0x4480de;let _0x5c3072;for(const _0x17ae53 in _0x31dbd3){const _0x5cf82f=_0x17ae53,_0x1909bf=_0x31dbd3[_0x5cf82f];if(_0x220a40(0xd5)==_0x1909bf||_0x220a40(0x10a)==_0x1909bf||_0x220a40(0x14e)==_0x1909bf||_0x220a40(0x152)==_0x1909bf||_0x220a40(0xff)==_0x1909bf||_0x220a40(0x179)==_0x1909bf||_0x220a40(0x16a)==_0x1909bf||_0x220a40(0xfa)==_0x1909bf){delete _0x31dbd3[_0x5cf82f],_0x5c3072=_0x1909bf,clearInterval(this[_0x220a40(0x171)]),this[_0x220a40(0x171)]=void 0x0;break;}}_0x220a40(0x10a)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xfd)),_0x220a40(0x14e)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xec)),_0x220a40(0x152)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x162)),_0x220a40(0xff)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x125),_0x220a40(0xd4)),_0x220a40(0x179)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xdd)),_0x220a40(0x16a)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x11f)),_0x220a40(0xfa)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x176));},0x3e8);}[_0x1af4c6(0x174)](){const _0x51ebdb=_0x1af4c6;super[_0x51ebdb(0x174)](),this[_0x51ebdb(0x171)]&&clearInterval(this[_0x51ebdb(0x171)]);}[_0x1af4c6(0x133)](_0x27bec1='',_0x7d7014='',_0x52a7b4=_0x1af4c6(0x143)){const _0x5c120e=_0x1af4c6,_0x40026d=this[_0x5c120e(0x148)],_0x244556=_0x40026d[_0x5c120e(0xf5)][_0x5c120e(0x108)],_0x4c5acb=_0x40026d[_0x5c120e(0x12c)][_0x5c120e(0xe3)](_0x4454f2),_0x19f7ef=_0x40026d[_0x5c120e(0x12c)][_0x5c120e(0xe3)](_0x309ce6);_0x4c5acb[_0x5c120e(0x166)]();const _0x38ffb1=new w(),_0x2abb7c=new ClipboardEvent(_0x5c120e(0x11e),{'clipboardData':_0x38ffb1}),_0x1e1c2c=new _0x393e90(_0x38ffb1),_0x60843e=new _0x8f9822(_0x244556,_0x2abb7c,{'dataTransfer':_0x1e1c2c});_0x19f7ef[_0x5c120e(0xdf)](_0x5c120e(0xd6),()=>{const _0x3c4d0c=_0x5c120e;_0x244556[_0x3c4d0c(0x130)][_0x3c4d0c(0x15c)](_0x3c4d0c(0x11e),_0x60843e);}),this[_0x5c120e(0x105)]||(this[_0x5c120e(0xf3)](),this[_0x5c120e(0x100)]=new _0x1b47b8(_0x40026d,this[_0x5c120e(0x156)][_0x5c120e(0x10c)],this[_0x5c120e(0x105)]));let _0x33eb87=_0x1e1c2c[_0x5c120e(0x134)](_0x5c120e(0xed));const _0x4795f3=_0x40026d[_0x5c120e(0x10b)][_0x5c120e(0x130)][_0x5c120e(0x182)],_0x3f7b35=Array[_0x5c120e(0x12e)](_0x4795f3[_0x5c120e(0x142)]());0x1===_0x3f7b35[_0x5c120e(0x122)]&&_0x3f7b35[0x0][_0x5c120e(0xde)]&&!_0x4795f3[_0x5c120e(0x16b)]()&&''!==_0x33eb87[_0x5c120e(0x161)](/ /g,'')[_0x5c120e(0x102)]()&&(_0x33eb87=_0x5c120e(0xda)+_0x33eb87+_0x5c120e(0x17d)),this[_0x5c120e(0x100)][_0x5c120e(0x111)]({'actionId':_0x52a7b4,'query':_0x27bec1,'htmlContent':_0x33eb87,'label':_0x7d7014,'mainActionLabel':_0x3b7af2[_0x40026d[_0x5c120e(0x10b)][_0x5c120e(0x130)][_0x5c120e(0x182)][_0x5c120e(0x177)]?_0x5c120e(0xf7):_0x5c120e(0x14d)]}),_0x5c120e(0x128)!==this[_0x5c120e(0xf1)]['id']?this[_0x5c120e(0xf1)][_0x5c120e(0xdc)]({'id':_0x5c120e(0x128),'icon':_0x5544d2,'title':_0x3b9308(this[_0x5c120e(0x148)][_0x5c120e(0x11a)],_0x5c120e(0x117)),'content':this[_0x5c120e(0x105)],'position':_0x49f946[_0x5c120e(0xeb)],'onShow':()=>{const _0x3267d6=_0x5c120e;this[_0x3267d6(0x105)][_0x3267d6(0x12b)]();},'onHide':()=>{const _0x31db84=_0x5c120e;this[_0x31db84(0x100)][_0x31db84(0x13c)](),_0x4c5acb[_0x31db84(0xd8)]();}}):this[_0x5c120e(0xf1)][_0x5c120e(0x108)][_0x5c120e(0x17a)]||this[_0x5c120e(0xf1)][_0x5c120e(0x108)][_0x5c120e(0xfb)]();}[_0x1af4c6(0x119)](){const _0x33dac1=_0x1af4c6;this[_0x33dac1(0xf1)][_0x33dac1(0x136)]();}[_0x1af4c6(0x16e)](){const _0x3e93c5=_0x1af4c6,_0xff2a15=new Map(),_0x6e6748=_0x21fb2a(this[_0x3e93c5(0x148)][_0x3e93c5(0x15b)][_0x3e93c5(0xe3)](_0x3e93c5(0x16f)),this[_0x3e93c5(0x148)][_0x3e93c5(0x11a)]);for(const _0x2fe8c1 of _0x6e6748)for(const _0x53d683 of _0x2fe8c1[_0x3e93c5(0x150)])_0xff2a15[_0x3e93c5(0xf9)](_0x53d683['id'],{..._0x53d683,'groupId':_0x2fe8c1[_0x3e93c5(0x11d)],'groupLabel':_0x2fe8c1[_0x3e93c5(0x181)]||_0x2fe8c1[_0x3e93c5(0x11d)]});return _0xff2a15;}[_0x1af4c6(0x123)](_0x2d3202){const _0x408543=_0x1af4c6,_0x2e6373=this[_0x408543(0x148)],_0x23783c=_0x2e6373[_0x408543(0x150)][_0x408543(0xe3)](_0x408543(0x147)),_0x2d6d42=new _0x2d3202(_0x2e6373[_0x408543(0x11a)]);return _0x2d6d42[_0x408543(0xf9)]({'label':_0x3b9308(_0x2e6373[_0x408543(0x11a)],_0x408543(0x117)),'icon':_0x5544d2,'isToggleable':!0x0}),_0x2d6d42[_0x408543(0xd7)](_0x408543(0x172))['to'](_0x23783c),_0x2d6d42[_0x408543(0xd7)](_0x408543(0x13a))['to'](this[_0x408543(0xf1)],'id',_0x3a47a2=>_0x408543(0x128)===_0x3a47a2),this[_0x408543(0xe8)](_0x2d6d42,_0x408543(0x165),()=>{const _0x4789b5=_0x408543;_0x2d6d42[_0x4789b5(0x13a)]?this[_0x4789b5(0x119)]():_0x23783c[_0x4789b5(0x165)]();}),_0x2d6d42;}[_0x1af4c6(0xf3)](){const _0x4bb3a4=_0x1af4c6,_0x4de181=this[_0x4bb3a4(0x148)][_0x4bb3a4(0x12c)][_0x4bb3a4(0xe3)](_0x4454f2);this[_0x4bb3a4(0x105)]=new _0x5e6a0b(this[_0x4bb3a4(0x148)][_0x4bb3a4(0x11a)],this[_0x4bb3a4(0x103)],this[_0x4bb3a4(0x148)][_0x4bb3a4(0x15b)][_0x4bb3a4(0xe3)](_0x4bb3a4(0x158))),this[_0x4bb3a4(0x105)]['on'](_0x4bb3a4(0x14a),()=>{const _0x160479=_0x4bb3a4;this[_0x160479(0xf1)][_0x160479(0x108)][_0x160479(0x17a)]||this[_0x160479(0xf1)][_0x160479(0x108)][_0x160479(0xfb)]();}),this[_0x4bb3a4(0x105)][_0x4bb3a4(0x16d)][_0x4bb3a4(0x112)][_0x4bb3a4(0x120)]['on'](_0x4bb3a4(0x129),()=>{const _0x14ef3b=_0x4bb3a4;this[_0x14ef3b(0xf1)][_0x14ef3b(0x108)][_0x14ef3b(0x17a)]||this[_0x14ef3b(0xf1)][_0x14ef3b(0x108)][_0x14ef3b(0xfb)]();}),this[_0x4bb3a4(0xe8)](this[_0x4bb3a4(0x105)],_0x4bb3a4(0x131),()=>{const _0x3d2c00=_0x4bb3a4;_0x4de181[_0x3d2c00(0xe6)](this[_0x3d2c00(0x100)][_0x3d2c00(0xe7)]),this[_0x3d2c00(0x119)]();}),this[_0x4bb3a4(0xe8)](this[_0x4bb3a4(0x105)],_0x4bb3a4(0x17e),()=>{const _0x5c0c75=_0x4bb3a4;_0x4de181[_0x5c0c75(0x17e)](this[_0x5c0c75(0x100)][_0x5c0c75(0xe7)]),this[_0x5c0c75(0x119)]();}),this[_0x4bb3a4(0x145)]();}[_0x1af4c6(0x145)](){const _0x25b76a=_0x1af4c6,{locale:_0x542d93,ui:{ariaLiveAnnouncer:_0x4a0bd1}}=this[_0x25b76a(0x148)];this[_0x25b76a(0x105)][_0x25b76a(0x106)]['on'](_0x25b76a(0x164),(_0x577304,_0x2af1de,_0x59c3e9)=>{const _0x5d76ce=_0x25b76a,_0x2518f3=this[_0x5d76ce(0x100)][_0x5d76ce(0xe7)];_0x59c3e9?_0x4a0bd1[_0x5d76ce(0x15e)](_0x3b9308(_0x542d93,_0x5d76ce(0x13b))):_0x2518f3&&_0x4a0bd1[_0x5d76ce(0x15e)](_0x3b9308(_0x542d93,_0x5d76ce(0x124),_0x2518f3),{'politeness':_0x5d76ce(0x12d),'isUnsafeHTML':!0x0});}),this[_0x25b76a(0x105)]['on'](_0x25b76a(0x163),(_0x13bca6,_0x361b6c,_0x59606f)=>{const _0x83b25=_0x25b76a;if(_0x59606f){const _0x1bcb64=this[_0x83b25(0x105)][_0x83b25(0x17c)][_0x83b25(0x169)];_0x4a0bd1[_0x83b25(0x15e)](_0x3b9308(_0x542d93,_0x83b25(0xea),_0x1bcb64));}});}[_0x1af4c6(0x13f)](_0x13e609){const _0x51e71b=_0x1af4c6,_0x16a167=this[_0x51e71b(0x132)][_0x51e71b(0xe3)](_0x13e609),_0x2f528a=this[_0x51e71b(0x148)],_0xb25379=_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0x130)][_0x51e71b(0x182)],_0x7b4b2a=_0x2f528a[_0x51e71b(0x150)][_0x51e71b(0xe3)](_0x51e71b(0x147)),_0x38d4db=_0x2f528a[_0x51e71b(0x12c)][_0x51e71b(0xe3)](_0x4454f2),_0x4f2baa=''+(_0x16a167[_0x51e71b(0x11d)]!==_0x5eff58?_0x16a167[_0x51e71b(0x181)]+':\x20':'')+_0x16a167[_0x51e71b(0xe2)];if(!0x1!==_0x16a167[_0x51e71b(0x144)]&&_0xb25379[_0x51e71b(0x177)]){const _0xeb45be=_0x14c644(_0xb25379[_0x51e71b(0x149)]())||_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0xe9)][_0x51e71b(0x12f)](_0xb25379);_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0x170)](_0xec76c=>{const _0x4bf773=_0x51e71b;_0xec76c[_0x4bf773(0x159)](_0xeb45be,'in');});}_0x38d4db[_0x51e71b(0x166)](),_0x7b4b2a[_0x51e71b(0x165)](_0x16a167[_0x51e71b(0x10d)],_0x4f2baa,_0x51e71b(0x113)+_0x13e609);}[_0x1af4c6(0x109)](_0x4ab03b,_0xe3f85,_0x4ae3f1,_0x11a3df){const _0x346aa9=_0x1af4c6,_0x4f910c=this[_0x346aa9(0x148)],_0x41bd13=_0x4f910c[_0x346aa9(0x11a)],_0x16c5d2=new _0x54f0bb(_0x41bd13),_0x24f35a=U(_0x4f910c,_0x4ae3f1)[_0x346aa9(0x15a)](_0xee69f7=>_0xee69f7[_0x346aa9(0x150)][_0x346aa9(0x122)]);0x1===_0x24f35a[_0x346aa9(0x122)]?this[_0x346aa9(0x110)]({'command':_0x4ab03b,'commands':_0x24f35a[0x0][_0x346aa9(0x150)],'parentMenuView':_0xe3f85,'onExecute':_0x11a3df})[_0x346aa9(0x115)](_0x2df040=>_0x16c5d2[_0x346aa9(0x101)][_0x346aa9(0xe0)](_0x2df040)):_0x24f35a[_0x346aa9(0x115)](({groupId:_0x38fa8a,groupLabel:_0x20e9b0,commands:_0x4058b7})=>{const _0x54b8c2=_0x346aa9,_0x1a243e=new _0x4632ca(_0x41bd13,_0xe3f85),_0x12a662=new _0x228f09(_0x41bd13),_0x5b6a42=new _0x54f0bb(_0x41bd13),_0x29d6a0=this[_0x54b8c2(0x110)]({'command':_0x4ab03b,'commands':_0x4058b7,'parentMenuView':_0x12a662,'onExecute':_0x11a3df});_0x12a662[_0x54b8c2(0x16c)][_0x54b8c2(0xf9)]({'label':_0x20e9b0||_0x38fa8a}),_0x12a662[_0x54b8c2(0x11c)](_0x54b8c2(0x165))['to'](_0xe3f85),_0x5b6a42[_0x54b8c2(0x101)][_0x54b8c2(0xfe)](_0x29d6a0),_0x12a662[_0x54b8c2(0xf4)][_0x54b8c2(0x168)][_0x54b8c2(0xe0)](_0x5b6a42),_0x1a243e[_0x54b8c2(0x168)][_0x54b8c2(0xe0)](_0x12a662),_0x16c5d2[_0x54b8c2(0x101)][_0x54b8c2(0xe0)](_0x1a243e);}),_0xe3f85[_0x346aa9(0xf4)][_0x346aa9(0x168)][_0x346aa9(0xe0)](_0x16c5d2);}[_0x1af4c6(0x110)]({command:_0x3f665d,commands:_0x483e55,parentMenuView:_0x3d4566,onExecute:_0x565b84}){const _0x42a663=_0x1af4c6,_0x1e4099=this[_0x42a663(0x148)],_0x517a76=_0x1e4099[_0x42a663(0x11a)];return U(_0x1e4099,_0x483e55)[_0x42a663(0x12a)](_0x4db344=>{const _0x553ae8=_0x42a663,_0x162b6f=new _0x4632ca(_0x517a76,_0x3d4566),_0x9a3cff=new _0x13f8bf(_0x517a76);return _0x9a3cff[_0x553ae8(0xf9)]({'label':_0x4db344[_0x553ae8(0xe2)]}),_0x9a3cff[_0x553ae8(0x11c)](_0x553ae8(0x165))['to'](_0x3d4566),_0x9a3cff['on'](_0x553ae8(0x165),()=>_0x565b84(_0x4db344['id'])),_0x9a3cff[_0x553ae8(0xd7)](_0x553ae8(0x172))['to'](_0x3f665d,_0x553ae8(0x141),_0xcb7f3d=>_0xcb7f3d[_0x553ae8(0x151)](_0x4db344['id'])),_0x162b6f[_0x553ae8(0x168)][_0x553ae8(0xe0)](_0x9a3cff),_0x162b6f;});}}function B(_0x22a429,_0x222308){const _0x53dc3b=_0x1af4c6;return void 0x0!==_0x22a429[_0x53dc3b(0xd9)]&&void 0x0===_0x222308[_0x53dc3b(0xd9)]?0x1:void 0x0===_0x22a429[_0x53dc3b(0xd9)]&&void 0x0!==_0x222308[_0x53dc3b(0xd9)]?-0x1:void 0x0!==_0x22a429[_0x53dc3b(0xd9)]&&void 0x0!==_0x222308[_0x53dc3b(0xd9)]?_0x22a429[_0x53dc3b(0xd9)]-_0x222308[_0x53dc3b(0xd9)]:0x0;}function U(_0x36eea7,_0x475a24){const _0x43d3ca=_0x1af4c6;_0x475a24[_0x43d3ca(0xf6)](B);const _0x1b211e={},_0x413a5e=[];for(const _0x4e92a7 of _0x475a24)if(void 0x0!==_0x4e92a7[_0x43d3ca(0xd9)]){if(_0x4e92a7[_0x43d3ca(0xd9)]in _0x1b211e)throw new _0x4e71b9(_0x43d3ca(0x104),_0x36eea7,{'conflictingDefinitions':[_0x4e92a7,_0x1b211e[_0x4e92a7[_0x43d3ca(0xd9)]]]});_0x1b211e[_0x4e92a7[_0x43d3ca(0xd9)]]=_0x4e92a7,_0x413a5e[_0x43d3ca(0x138)](_0x4e92a7[_0x43d3ca(0xd9)],0x0,_0x4e92a7);}else _0x413a5e[_0x43d3ca(0xe4)](_0x4e92a7);return _0x413a5e;}
|
|
23
|
+
const _0x3ea52a=_0x23d6;(function(_0x945d09,_0x277e49){const _0x1fefeb=_0x23d6,_0x53b0fc=_0x945d09();while(!![]){try{const _0x324a73=-parseInt(_0x1fefeb(0x159))/0x1+-parseInt(_0x1fefeb(0x16c))/0x2*(parseInt(_0x1fefeb(0xee))/0x3)+parseInt(_0x1fefeb(0xe3))/0x4+-parseInt(_0x1fefeb(0x135))/0x5+-parseInt(_0x1fefeb(0x142))/0x6*(parseInt(_0x1fefeb(0x10c))/0x7)+-parseInt(_0x1fefeb(0x127))/0x8*(parseInt(_0x1fefeb(0x113))/0x9)+parseInt(_0x1fefeb(0x12d))/0xa;if(_0x324a73===_0x277e49)break;else _0x53b0fc['push'](_0x53b0fc['shift']());}catch(_0x479f24){_0x53b0fc['push'](_0x53b0fc['shift']());}}}(_0x2b4d,0x2e688));import{Plugin as _0x307969}from'ckeditor5/src/core.js';import{IconMagicWand as _0xa52753,IconRobotPencil as _0x4ddf54}from'ckeditor5/src/icons.js';import{first as _0x3d408a,CKEditorError as _0x7f52d0}from'ckeditor5/src/utils.js';import{createDropdown as _0x384e86,addMenuToDropdown as _0x4922da,ButtonView as _0x39e4b9,MenuBarMenuListItemButtonView as _0x5918e1,Dialog as _0x3c3f4c,DialogViewPosition as _0x259805,MenuBarMenuView as _0x15e98b,MenuBarMenuListView as _0x4e6281,MenuBarMenuListItemView as _0x10c1ce}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3af751,UNGROUPED_COMMANDS_GROUP_ID as _0x58e9ed}from'./utils/normalizecommandsconfig.js';import _0x33b9b8 from'./aiassistantediting.js';import _0x1ad979 from'./adapters/aiadapter.js';import{getTranslation as _0x52fe8a}from'./utils/common-translations.js';import _0x58f914 from'./ui/showaiassistantcommand.js';function _0x2b4d(){const _0xb1b6f4=['source','_aiAdapter','18PKHxyB','change:isError','label','schema','bind','filter','custom','AIAssistantUI','licenseKey','_getMenuBarGroupButtons','replace','buttons','menuView','update','AI\x20is\x20writing','getRanges','_forceMarkersCopy','delegate','order','editor','450728NaUOCK','getData','render','values','body','config','7296620EEwWJH','menuitemcheckbox','text/html','_aiAssistantController','define','featureNotAllowed','groupId','getSelectedBlocks','1672000rqMLIR','showFakeVisualSelection','aiLicenseKeyValid','ck-ai-commands-dropdown\x20','pluginName','copy','currentContext','groupLabel','set','hide','execute','aiLicenseKeyTrialLimit','contentArea','36hUFXil','isEnabled','isCollapsed','_showLicenseError','text','buttonView','_onExecute','ai.aiAssistant.disabledElements','_commandDefinitions','add','length','view','_populateMenuBarMenu','addMany','listenTo','isPremiumPlugin','show','getSelectedElement','updatePosition','change:value','ck-ai-assistant-button\x20','includes','usageLimit','52089QVFhPD','prompt','INSERT','isOfficialPlugin','Generated\x20content:\x20%0','isFlat','AI\x20Assistant','ai-commands-config-order-collision','menuPanelClass','_initAriaAiStatusChangeAnnouncements','_createAIAssistantUIButton','map','panelView','AI\x20Commands','ck-ai-assistant-ui','_initView','showUI','command:','destroy','28gvFkww','children','expired','hideUI','replaceContent','push','reset','_licenseKeyCheckInterval','setSelection','forEach','textAdapter','_formView','once','insertContent','promptView','menuBar:aiCommands','ai.aiAssistant.commands','init','rawHtml','commands','trim','aiLicenseKeyExpired','aiLicenseKeyUsageLimit','_uiCssClasses','fire','requiresContent','EDITOR_TOP_SIDE','selection','aiLicenseKeyEvaluationLimit','locale','aiLicenseKeyDomainLimit','hideFakeVisualSelection','get','media','queryView','ai.aiAssistant.contentAreaCssClass','from','comment','</p>','1226756sZcTHa','componentFactory','_getResolvedCommandsDefinitions','menuBar:aiAssistant','fieldView','<p>','tableOfContents','Error\x20during\x20AI\x20content\x20generation:\x20%0','sort','document','editing','591tiyNvo','evaluationLimit','trialLimit','announce','getLimitElement','plugins','showAIAssistant','DataTransfer','ai.useTheme','isOn','change:isProcessing','updateView','invalid','\x20ck-ai-assistant-ui_theme','_dialog','change','aiLicenseKeyInvalid','polite','domainLimit','items','model','splice','REPLACE','insertContentBelow','AIAssistant','enabledCommandsIds','aiAssistant','requires','change:enabledCommandsIds','errorView','401723dpTdaT','wasMoved','aiCommands','aiLicenseKeyNotAllowed','focus'];_0x2b4d=function(){return _0xb1b6f4;};return _0x2b4d();}import _0x4537f5 from'./ui/aiassistantcontroller.js';import _0x5939dc from'./ui/form/aiformview.js';function _0x23d6(_0x14c4d4,_0x4410ef){const _0x2b4d7c=_0x2b4d();return _0x23d6=function(_0x23d6d0,_0x5e8f16){_0x23d6d0=_0x23d6d0-0xce;let _0x22fb82=_0x2b4d7c[_0x23d6d0];return _0x22fb82;},_0x23d6(_0x14c4d4,_0x4410ef);}import{AIFormToolbarViewMainActionLabel as _0x5b3781}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x3ea52a(0xf5)];import{ClipboardMarkersUtils as _0x15542f}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2e43db,DataTransfer as _0x44fb1c}from'ckeditor5/src/engine.js';export default class n extends _0x307969{[_0x3ea52a(0x11b)];[_0x3ea52a(0x173)];[_0x3ea52a(0xfc)];[_0x3ea52a(0x177)];[_0x3ea52a(0x112)];[_0x3ea52a(0x130)];[_0x3ea52a(0xd3)]='';static get[_0x3ea52a(0x139)](){const _0x1a6677=_0x3ea52a;return _0x1a6677(0x11a);}static get[_0x3ea52a(0x15c)](){return!0x0;}static get[_0x3ea52a(0x151)](){return!0x0;}static get[_0x3ea52a(0x109)](){return[_0x15542f,_0x33b9b8,_0x1ad979,_0x3c3f4c];}constructor(_0xb954f){const _0x56581e=_0x3ea52a;super(_0xb954f),_0xb954f[_0x56581e(0x12c)][_0x56581e(0x131)](_0x56581e(0x149),[_0x56581e(0xdd),_0x56581e(0xce),_0x56581e(0xe9)]),_0xb954f[_0x56581e(0x12c)][_0x56581e(0x131)](_0x56581e(0xdf),''),_0xb954f[_0x56581e(0x12c)][_0x56581e(0x131)](_0x56581e(0xf6),!0x0),this[_0x56581e(0xd3)]=_0x56581e(0x167)+(_0xb954f[_0x56581e(0x12c)][_0x56581e(0xdc)](_0x56581e(0xf6))?_0x56581e(0xfb):'');}[_0x3ea52a(0x17d)](){const _0x344740=_0x3ea52a,{editor:_0x3911bf}=this;this[_0x344740(0x112)]=_0x3911bf[_0x344740(0xf3)][_0x344740(0xdc)](_0x1ad979),this[_0x344740(0xfc)]=_0x3911bf[_0x344740(0xf3)][_0x344740(0xdc)](_0x3c3f4c),this[_0x344740(0x177)]=null,this[_0x344740(0x14a)]=this[_0x344740(0xe5)]();const _0x268cc2=new _0x58f914(_0x3911bf,Array[_0x344740(0xe0)](this[_0x344740(0x14a)][_0x344740(0x12a)]()));_0x3911bf[_0x344740(0xcf)][_0x344740(0x14b)](_0x344740(0xf4),_0x268cc2),_0x3911bf['ui'][_0x344740(0xe4)][_0x344740(0x14b)](_0x344740(0x10e),_0x471587=>{const _0x229c48=_0x344740,_0x500d33=_0x384e86(_0x471587);return _0x500d33[_0x229c48(0x13d)]({'class':_0x229c48(0x138)+this[_0x229c48(0xd3)]}),_0x500d33[_0x229c48(0x147)][_0x229c48(0x13d)]({'label':_0x52fe8a(_0x471587,_0x229c48(0x166)),'icon':_0xa52753,'tooltip':!0x0}),_0x500d33['on'](_0x229c48(0x13f),_0x5a9423=>this[_0x229c48(0x148)](_0x5a9423[_0x229c48(0x111)]['id'])),_0x4922da(_0x500d33,_0x3911bf['ui'][_0x229c48(0x14d)][_0x229c48(0x12b)],function(_0x265336){const _0x1c1a6e=_0x229c48,_0x3956ef=_0x3af751(_0x265336[_0x1c1a6e(0x12c)][_0x1c1a6e(0xdc)](_0x1c1a6e(0x17c)),_0x265336[_0x1c1a6e(0xd9)]),_0x30277b=U(_0x265336,_0x3956ef)[_0x1c1a6e(0x118)](_0x626bc1=>_0x626bc1[_0x1c1a6e(0xcf)][_0x1c1a6e(0x14c)]);if(0x1===_0x30277b[_0x1c1a6e(0x14c)])return U(_0x265336,_0x30277b[0x0][_0x1c1a6e(0xcf)])[_0x1c1a6e(0x164)](_0x4dd855=>({'id':_0x4dd855['id'],'label':_0x4dd855[_0x1c1a6e(0x115)]}));return _0x30277b[_0x1c1a6e(0x164)](_0x23396b=>{const _0x41cb69=_0x1c1a6e,{groupId:_0x5d7828,groupLabel:_0x5d5cc5,commands:_0x4cbe8b}=_0x23396b,_0x3c6ee9=U(_0x265336,_0x4cbe8b)[_0x41cb69(0x164)](_0x55f45e=>({'id':_0x55f45e['id'],'label':_0x55f45e[_0x41cb69(0x115)]}));return{'id':_0x5d7828,'menu':_0x5d5cc5||_0x5d7828,'children':_0x3c6ee9};});}(_0x3911bf),{'ariaLabel':_0x52fe8a(_0x471587,_0x229c48(0x166))}),_0x500d33[_0x229c48(0x11f)][_0x229c48(0x161)]=_0x229c48(0x138)+this[_0x229c48(0xd3)],_0x268cc2['on'](_0x229c48(0x10a),_0x1d3ca9),_0x500d33[_0x229c48(0x11f)][_0x229c48(0x178)](_0x229c48(0x129),_0x1d3ca9),_0x500d33;function _0x1d3ca9(){const _0x24af26=_0x229c48;_0x500d33[_0x24af26(0x143)]=_0x268cc2[_0x24af26(0x107)][_0x24af26(0x14c)]>0x0;for(const _0x498e1c of _0x500d33[_0x24af26(0x11f)][_0x24af26(0x11e)])_0x498e1c[_0x24af26(0x143)]=_0x268cc2[_0x24af26(0x107)][_0x24af26(0x157)](_0x498e1c['id']);}}),_0x3911bf['ui'][_0x344740(0xe4)][_0x344740(0x14b)](_0x344740(0x17b),_0x1dca00=>{const _0xe21616=_0x344740,_0x395d6b=new _0x15e98b(_0x1dca00);_0x395d6b[_0xe21616(0x147)][_0xe21616(0x13d)]({'label':_0x52fe8a(_0x1dca00,_0xe21616(0x166)),'icon':_0xa52753}),_0x395d6b[_0xe21616(0x117)](_0xe21616(0x143))['to'](_0x268cc2,_0xe21616(0x107),_0x1376e0=>_0x1376e0[_0xe21616(0x14c)]>0x0);const _0x13cfd1=_0x3af751(_0x3911bf[_0xe21616(0x12c)][_0xe21616(0xdc)](_0xe21616(0x17c)),_0x1dca00);return this[_0xe21616(0x14e)](_0x268cc2,_0x395d6b,_0x13cfd1,_0x21a23e=>this[_0xe21616(0x148)](_0x21a23e)),_0x395d6b;}),_0x3911bf['ui'][_0x344740(0xe4)][_0x344740(0x14b)](_0x344740(0x108),()=>{const _0x18833a=_0x344740,_0xb780ba=this[_0x18833a(0x163)](_0x39e4b9);return _0xb780ba[_0x18833a(0x13d)]({'tooltip':!0x0,'class':_0x18833a(0x156)+this[_0x18833a(0xd3)]}),_0xb780ba;}),_0x3911bf['ui'][_0x344740(0xe4)][_0x344740(0x14b)](_0x344740(0xe6),()=>{const _0x408c20=_0x344740,_0x4f6083=this[_0x408c20(0x163)](_0x5918e1);return _0x4f6083[_0x408c20(0x13d)]({'role':_0x408c20(0x12e)}),_0x4f6083;}),this[_0x344740(0x11b)]=this[_0x344740(0x126)][_0x344740(0x12c)][_0x344740(0xdc)](_0x344740(0x11b));const _0x10c840=this[_0x344740(0x126)];this[_0x344740(0x173)]=setInterval(()=>{const _0x4af0b6=_0x344740;let _0x44948f;for(const _0x12b435 in _0x10c840){const _0xc34b07=_0x12b435,_0x28841d=_0x10c840[_0xc34b07];if(_0x4af0b6(0x137)==_0x28841d||_0x4af0b6(0xfe)==_0x28841d||_0x4af0b6(0xd1)==_0x28841d||_0x4af0b6(0xda)==_0x28841d||_0x4af0b6(0x10f)==_0x28841d||_0x4af0b6(0xd8)==_0x28841d||_0x4af0b6(0x140)==_0x28841d||_0x4af0b6(0xd2)==_0x28841d){delete _0x10c840[_0xc34b07],_0x44948f=_0x28841d,clearInterval(this[_0x4af0b6(0x173)]),this[_0x4af0b6(0x173)]=void 0x0;break;}}_0x4af0b6(0xfe)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0xfa)),_0x4af0b6(0xd1)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0x16e)),_0x4af0b6(0xda)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0x100)),_0x4af0b6(0x10f)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0x132),_0x4af0b6(0x106)),_0x4af0b6(0xd8)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0xef)),_0x4af0b6(0x140)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0xf0)),_0x4af0b6(0xd2)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0x158));},0x3e8);}[_0x3ea52a(0x16b)](){const _0x3e3af5=_0x3ea52a;super[_0x3e3af5(0x16b)](),this[_0x3e3af5(0x173)]&&clearInterval(this[_0x3e3af5(0x173)]);}[_0x3ea52a(0x169)](_0x3504b4='',_0x3fc578='',_0x5401b5=_0x3ea52a(0x119)){const _0x2b3161=_0x3ea52a,_0x449722=this[_0x2b3161(0x126)],_0x4155b9=_0x449722[_0x2b3161(0xed)][_0x2b3161(0x14d)],_0x3a1f95=_0x449722[_0x2b3161(0xf3)][_0x2b3161(0xdc)](_0x33b9b8),_0x1ece35=_0x449722[_0x2b3161(0xf3)][_0x2b3161(0xdc)](_0x15542f);_0x3a1f95[_0x2b3161(0x136)]();const _0x332de5=new w(),_0x26849f=new ClipboardEvent(_0x2b3161(0x13a),{'clipboardData':_0x332de5}),_0x3e4446=new _0x44fb1c(_0x332de5),_0x5e987f=new _0x2e43db(_0x4155b9,_0x26849f,{'dataTransfer':_0x3e4446});_0x1ece35[_0x2b3161(0x123)](_0x2b3161(0xe1),()=>{const _0x109f05=_0x2b3161;_0x4155b9[_0x109f05(0xec)][_0x109f05(0xd4)](_0x109f05(0x13a),_0x5e987f);}),this[_0x2b3161(0x177)]||(this[_0x2b3161(0x168)](),this[_0x2b3161(0x130)]=new _0x4537f5(_0x449722,this[_0x2b3161(0x112)][_0x2b3161(0x176)],this[_0x2b3161(0x177)]));let _0x577ec5=_0x3e4446[_0x2b3161(0x128)](_0x2b3161(0x12f));const _0x34f540=_0x449722[_0x2b3161(0x102)][_0x2b3161(0xec)][_0x2b3161(0xd7)],_0x323aa0=Array[_0x2b3161(0xe0)](_0x34f540[_0x2b3161(0x122)]());0x1===_0x323aa0[_0x2b3161(0x14c)]&&_0x323aa0[0x0][_0x2b3161(0x15e)]&&!_0x34f540[_0x2b3161(0x153)]()&&''!==_0x577ec5[_0x2b3161(0x11d)](/ /g,'')[_0x2b3161(0xd0)]()&&(_0x577ec5=_0x2b3161(0xe8)+_0x577ec5+_0x2b3161(0xe2)),this[_0x2b3161(0x130)][_0x2b3161(0xf9)]({'actionId':_0x5401b5,'query':_0x3504b4,'htmlContent':_0x577ec5,'label':_0x3fc578,'mainActionLabel':_0x5b3781[_0x449722[_0x2b3161(0x102)][_0x2b3161(0xec)][_0x2b3161(0xd7)][_0x2b3161(0x144)]?_0x2b3161(0x15b):_0x2b3161(0x104)]}),_0x2b3161(0x108)!==this[_0x2b3161(0xfc)]['id']?this[_0x2b3161(0xfc)][_0x2b3161(0x152)]({'id':_0x2b3161(0x108),'icon':_0x4ddf54,'title':_0x52fe8a(this[_0x2b3161(0x126)][_0x2b3161(0xd9)],_0x2b3161(0x15f)),'content':this[_0x2b3161(0x177)],'position':_0x259805[_0x2b3161(0xd6)],'onShow':()=>{const _0x2ad080=_0x2b3161;this[_0x2ad080(0x177)][_0x2ad080(0x110)]();},'onHide':()=>{const _0x558d84=_0x2b3161;this[_0x558d84(0x130)][_0x558d84(0x172)](),_0x3a1f95[_0x558d84(0xdb)]();}}):this[_0x2b3161(0xfc)][_0x2b3161(0x14d)][_0x2b3161(0x10d)]||this[_0x2b3161(0xfc)][_0x2b3161(0x14d)][_0x2b3161(0x154)]();}[_0x3ea52a(0x16f)](){const _0xd5a9d0=_0x3ea52a;this[_0xd5a9d0(0xfc)][_0xd5a9d0(0x13e)]();}[_0x3ea52a(0xe5)](){const _0x173cef=_0x3ea52a,_0x32a9da=new Map(),_0x33189a=_0x3af751(this[_0x173cef(0x126)][_0x173cef(0x12c)][_0x173cef(0xdc)](_0x173cef(0x17c)),this[_0x173cef(0x126)][_0x173cef(0xd9)]);for(const _0xe47a5a of _0x33189a)for(const _0x4e38ef of _0xe47a5a[_0x173cef(0xcf)])_0x32a9da[_0x173cef(0x13d)](_0x4e38ef['id'],{..._0x4e38ef,'groupId':_0xe47a5a[_0x173cef(0x133)],'groupLabel':_0xe47a5a[_0x173cef(0x13c)]||_0xe47a5a[_0x173cef(0x133)]});return _0x32a9da;}[_0x3ea52a(0x163)](_0x490829){const _0x155542=_0x3ea52a,_0x763a40=this[_0x155542(0x126)],_0x454466=_0x763a40[_0x155542(0xcf)][_0x155542(0xdc)](_0x155542(0xf4)),_0x4fac9e=new _0x490829(_0x763a40[_0x155542(0xd9)]);return _0x4fac9e[_0x155542(0x13d)]({'label':_0x52fe8a(_0x763a40[_0x155542(0xd9)],_0x155542(0x15f)),'icon':_0x4ddf54,'isToggleable':!0x0}),_0x4fac9e[_0x155542(0x117)](_0x155542(0x143))['to'](_0x454466),_0x4fac9e[_0x155542(0x117)](_0x155542(0xf7))['to'](this[_0x155542(0xfc)],'id',_0x34f84e=>_0x155542(0x108)===_0x34f84e),this[_0x155542(0x150)](_0x4fac9e,_0x155542(0x13f),()=>{const _0x5c3671=_0x155542;_0x4fac9e[_0x5c3671(0xf7)]?this[_0x5c3671(0x16f)]():_0x454466[_0x5c3671(0x13f)]();}),_0x4fac9e;}[_0x3ea52a(0x168)](){const _0x5c076f=_0x3ea52a,_0x3c99b6=this[_0x5c076f(0x126)][_0x5c076f(0xf3)][_0x5c076f(0xdc)](_0x33b9b8);this[_0x5c076f(0x177)]=new _0x5939dc(this[_0x5c076f(0x126)][_0x5c076f(0xd9)],this[_0x5c076f(0xd3)],this[_0x5c076f(0x126)][_0x5c076f(0x12c)][_0x5c076f(0xdc)](_0x5c076f(0xdf))),this[_0x5c076f(0x177)]['on'](_0x5c076f(0x155),()=>{const _0x2fe8b9=_0x5c076f;this[_0x2fe8b9(0xfc)][_0x2fe8b9(0x14d)][_0x2fe8b9(0x10d)]||this[_0x2fe8b9(0xfc)][_0x2fe8b9(0x14d)][_0x2fe8b9(0x154)]();}),this[_0x5c076f(0x177)][_0x5c076f(0x17a)][_0x5c076f(0xde)][_0x5c076f(0xe7)]['on'](_0x5c076f(0x120),()=>{const _0x55b3f3=_0x5c076f;this[_0x55b3f3(0xfc)][_0x55b3f3(0x14d)][_0x55b3f3(0x10d)]||this[_0x55b3f3(0xfc)][_0x55b3f3(0x14d)][_0x55b3f3(0x154)]();}),this[_0x5c076f(0x150)](this[_0x5c076f(0x177)],_0x5c076f(0x170),()=>{const _0x5191c6=_0x5c076f;_0x3c99b6[_0x5191c6(0x179)](this[_0x5191c6(0x130)][_0x5191c6(0x13b)]),this[_0x5191c6(0x16f)]();}),this[_0x5c076f(0x150)](this[_0x5c076f(0x177)],_0x5c076f(0x105),()=>{const _0x5768f2=_0x5c076f;_0x3c99b6[_0x5768f2(0x105)](this[_0x5768f2(0x130)][_0x5768f2(0x13b)]),this[_0x5768f2(0x16f)]();}),this[_0x5c076f(0x162)]();}[_0x3ea52a(0x162)](){const _0x3134a0=_0x3ea52a,{locale:_0x547593,ui:{ariaLiveAnnouncer:_0x308c0e}}=this[_0x3134a0(0x126)];this[_0x3134a0(0x177)][_0x3134a0(0x141)]['on'](_0x3134a0(0xf8),(_0x410918,_0x20bc74,_0x1e9629)=>{const _0x2455cb=_0x3134a0,_0x5e0971=this[_0x2455cb(0x130)][_0x2455cb(0x13b)];_0x1e9629?_0x308c0e[_0x2455cb(0xf1)](_0x52fe8a(_0x547593,_0x2455cb(0x121))):_0x5e0971&&_0x308c0e[_0x2455cb(0xf1)](_0x52fe8a(_0x547593,_0x2455cb(0x15d),_0x5e0971),{'politeness':_0x2455cb(0xff),'isUnsafeHTML':!0x0});}),this[_0x3134a0(0x177)]['on'](_0x3134a0(0x114),(_0x24303b,_0x5186c0,_0x959a9f)=>{const _0x4814d2=_0x3134a0;if(_0x959a9f){const _0x5b40c5=this[_0x4814d2(0x177)][_0x4814d2(0x10b)][_0x4814d2(0x146)];_0x308c0e[_0x4814d2(0xf1)](_0x52fe8a(_0x547593,_0x4814d2(0xea),_0x5b40c5));}});}[_0x3ea52a(0x148)](_0x5466f1){const _0x1bf7ec=_0x3ea52a,_0x297254=this[_0x1bf7ec(0x14a)][_0x1bf7ec(0xdc)](_0x5466f1),_0x467fbd=this[_0x1bf7ec(0x126)],_0x2198de=_0x467fbd[_0x1bf7ec(0x102)][_0x1bf7ec(0xec)][_0x1bf7ec(0xd7)],_0x40374d=_0x467fbd[_0x1bf7ec(0xcf)][_0x1bf7ec(0xdc)](_0x1bf7ec(0xf4)),_0x5332c2=_0x467fbd[_0x1bf7ec(0xf3)][_0x1bf7ec(0xdc)](_0x33b9b8),_0x237785=''+(_0x297254[_0x1bf7ec(0x133)]!==_0x58e9ed?_0x297254[_0x1bf7ec(0x13c)]+':\x20':'')+_0x297254[_0x1bf7ec(0x115)];if(!0x1!==_0x297254[_0x1bf7ec(0xd5)]&&_0x2198de[_0x1bf7ec(0x144)]){const _0x44f333=_0x3d408a(_0x2198de[_0x1bf7ec(0x134)]())||_0x467fbd[_0x1bf7ec(0x102)][_0x1bf7ec(0x116)][_0x1bf7ec(0xf2)](_0x2198de);_0x467fbd[_0x1bf7ec(0x102)][_0x1bf7ec(0xfd)](_0x101e6d=>{const _0x7dc7f7=_0x1bf7ec;_0x101e6d[_0x7dc7f7(0x174)](_0x44f333,'in');});}_0x5332c2[_0x1bf7ec(0x136)](),_0x40374d[_0x1bf7ec(0x13f)](_0x297254[_0x1bf7ec(0x15a)],_0x237785,_0x1bf7ec(0x16a)+_0x5466f1);}[_0x3ea52a(0x14e)](_0x284ed8,_0x17ecff,_0x346875,_0x3971ad){const _0x393d30=_0x3ea52a,_0x4f66e9=this[_0x393d30(0x126)],_0x478fec=_0x4f66e9[_0x393d30(0xd9)],_0x3e39a8=new _0x4e6281(_0x478fec),_0x1e8c16=U(_0x4f66e9,_0x346875)[_0x393d30(0x118)](_0x18dd5b=>_0x18dd5b[_0x393d30(0xcf)][_0x393d30(0x14c)]);0x1===_0x1e8c16[_0x393d30(0x14c)]?this[_0x393d30(0x11c)]({'command':_0x284ed8,'commands':_0x1e8c16[0x0][_0x393d30(0xcf)],'parentMenuView':_0x17ecff,'onExecute':_0x3971ad})[_0x393d30(0x175)](_0x1697df=>_0x3e39a8[_0x393d30(0x101)][_0x393d30(0x14b)](_0x1697df)):_0x1e8c16[_0x393d30(0x175)](({groupId:_0x378a99,groupLabel:_0x1d4629,commands:_0x57a0b5})=>{const _0x29594c=_0x393d30,_0x25910f=new _0x10c1ce(_0x478fec,_0x17ecff),_0x56bd84=new _0x15e98b(_0x478fec),_0x5d0161=new _0x4e6281(_0x478fec),_0x9c0d51=this[_0x29594c(0x11c)]({'command':_0x284ed8,'commands':_0x57a0b5,'parentMenuView':_0x56bd84,'onExecute':_0x3971ad});_0x56bd84[_0x29594c(0x147)][_0x29594c(0x13d)]({'label':_0x1d4629||_0x378a99}),_0x56bd84[_0x29594c(0x124)](_0x29594c(0x13f))['to'](_0x17ecff),_0x5d0161[_0x29594c(0x101)][_0x29594c(0x14f)](_0x9c0d51),_0x56bd84[_0x29594c(0x165)][_0x29594c(0x16d)][_0x29594c(0x14b)](_0x5d0161),_0x25910f[_0x29594c(0x16d)][_0x29594c(0x14b)](_0x56bd84),_0x3e39a8[_0x29594c(0x101)][_0x29594c(0x14b)](_0x25910f);}),_0x17ecff[_0x393d30(0x165)][_0x393d30(0x16d)][_0x393d30(0x14b)](_0x3e39a8);}[_0x3ea52a(0x11c)]({command:_0x7cbc38,commands:_0x138a93,parentMenuView:_0x2b6f78,onExecute:_0x2660f7}){const _0x147131=_0x3ea52a,_0x1f9ae4=this[_0x147131(0x126)],_0x12ede6=_0x1f9ae4[_0x147131(0xd9)];return U(_0x1f9ae4,_0x138a93)[_0x147131(0x164)](_0x55af11=>{const _0x42551e=_0x147131,_0x3a318f=new _0x10c1ce(_0x12ede6,_0x2b6f78),_0x3f480f=new _0x5918e1(_0x12ede6);return _0x3f480f[_0x42551e(0x13d)]({'label':_0x55af11[_0x42551e(0x115)]}),_0x3f480f[_0x42551e(0x124)](_0x42551e(0x13f))['to'](_0x2b6f78),_0x3f480f['on'](_0x42551e(0x13f),()=>_0x2660f7(_0x55af11['id'])),_0x3f480f[_0x42551e(0x117)](_0x42551e(0x143))['to'](_0x7cbc38,_0x42551e(0x107),_0x18585f=>_0x18585f[_0x42551e(0x157)](_0x55af11['id'])),_0x3a318f[_0x42551e(0x16d)][_0x42551e(0x14b)](_0x3f480f),_0x3a318f;});}}function B(_0x2df8be,_0x4c056e){const _0x4e4f1e=_0x3ea52a;return void 0x0!==_0x2df8be[_0x4e4f1e(0x125)]&&void 0x0===_0x4c056e[_0x4e4f1e(0x125)]?0x1:void 0x0===_0x2df8be[_0x4e4f1e(0x125)]&&void 0x0!==_0x4c056e[_0x4e4f1e(0x125)]?-0x1:void 0x0!==_0x2df8be[_0x4e4f1e(0x125)]&&void 0x0!==_0x4c056e[_0x4e4f1e(0x125)]?_0x2df8be[_0x4e4f1e(0x125)]-_0x4c056e[_0x4e4f1e(0x125)]:0x0;}function U(_0x13656d,_0x3425c9){const _0x5209f3=_0x3ea52a;_0x3425c9[_0x5209f3(0xeb)](B);const _0x268669={},_0x3e137c=[];for(const _0x2fe06c of _0x3425c9)if(void 0x0!==_0x2fe06c[_0x5209f3(0x125)]){if(_0x2fe06c[_0x5209f3(0x125)]in _0x268669)throw new _0x7f52d0(_0x5209f3(0x160),_0x13656d,{'conflictingDefinitions':[_0x2fe06c,_0x268669[_0x2fe06c[_0x5209f3(0x125)]]]});_0x268669[_0x2fe06c[_0x5209f3(0x125)]]=_0x2fe06c,_0x3e137c[_0x5209f3(0x103)](_0x2fe06c[_0x5209f3(0x125)],0x0,_0x2fe06c);}else _0x3e137c[_0x5209f3(0x171)](_0x2fe06c);return _0x3e137c;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x442156,_0x169b98){var _0x9278b7=_0x30e9,_0x123b66=_0x442156();while(!![]){try{var _0x27fec9=parseInt(_0x9278b7(0xf3))/0x1+parseInt(_0x9278b7(0xef))/0x2*(parseInt(_0x9278b7(0xf1))/0x3)+-parseInt(_0x9278b7(0xed))/0x4*(-parseInt(_0x9278b7(0xee))/0x5)+parseInt(_0x9278b7(0xf4))/0x6+-parseInt(_0x9278b7(0xf2))/0x7*(-parseInt(_0x9278b7(0xec))/0x8)+-parseInt(_0x9278b7(0xf5))/0x9*(parseInt(_0x9278b7(0xf6))/0xa)+-parseInt(_0x9278b7(0xf0))/0xb;if(_0x27fec9===_0x169b98)break;else _0x123b66['push'](_0x123b66['shift']());}catch(_0x44f3f5){_0x123b66['push'](_0x123b66['shift']());}}}(_0x32da,0xe7967));function _0x30e9(_0x53f1ab,_0x5b37e8){var _0x32da80=_0x32da();return _0x30e9=function(_0x30e925,_0x2eb3cf){_0x30e925=_0x30e925-0xec;var _0x232d47=_0x32da80[_0x30e925];return _0x232d47;},_0x30e9(_0x53f1ab,_0x5b37e8);}export{default as AIAssistant}from'./aiassistant.js';function _0x32da(){var _0x3b581f=['1387899Fjluai','50OEbeDn','18176zFUamb','16rCYten','85215pRvQiu','1048DTDxcv','35783385eAhLWu','8289htmhtR','3486bnkaBl','1247649mCRSRw','6465504Aemuol'];_0x32da=function(){return _0x3b581f;};return _0x32da();}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';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2a4c98,_0x1ab40e){var _0x3c0270=_0x41b5,_0x34eb8f=_0x2a4c98();while(!![]){try{var _0x2de410=-parseInt(_0x3c0270(0x1b9))/0x1+parseInt(_0x3c0270(0x1ba))/0x2*(-parseInt(_0x3c0270(0x1b4))/0x3)+parseInt(_0x3c0270(0x1b7))/0x4*(parseInt(_0x3c0270(0x1b6))/0x5)+-parseInt(_0x3c0270(0x1bb))/0x6+parseInt(_0x3c0270(0x1b2))/0x7+parseInt(_0x3c0270(0x1b5))/0x8*(parseInt(_0x3c0270(0x1b8))/0x9)+parseInt(_0x3c0270(0x1b3))/0xa;if(_0x2de410===_0x1ab40e)break;else _0x34eb8f['push'](_0x34eb8f['shift']());}catch(_0x213919){_0x34eb8f['push'](_0x34eb8f['shift']());}}}(_0xe138,0xab715));import{CKEditorError as _0x1d34b6}from'ckeditor5/src/utils.js';function _0x41b5(_0x1bb908,_0x1594c7){var _0xe1382f=_0xe138();return _0x41b5=function(_0x41b5c8,_0x4f427a){_0x41b5c8=_0x41b5c8-0x1b2;var _0x4d7487=_0xe1382f[_0x41b5c8];return _0x4d7487;},_0x41b5(_0x1bb908,_0x1594c7);}function _0xe138(){var _0x5709c0=['5044641cjeXOS','21188300HEJpjb','6FbsjXH','576cfQuts','155WbVQQo','17320XvuNtN','54783krcpVN','843730mNIxSv','1250094omIXTC','3695604DAJzVk'];_0xe138=function(){return _0x5709c0;};return _0xe138();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x45c3e4=_0x4f49;(function(_0x271fec,_0xedf1de){const _0x3b55b2=_0x4f49,_0x4ebe68=_0x271fec();while(!![]){try{const _0x3e6c44=-parseInt(_0x3b55b2(0x1e7))/0x1+-parseInt(_0x3b55b2(0x1e8))/0x2+-parseInt(_0x3b55b2(0x220))/0x3*(parseInt(_0x3b55b2(0x20f))/0x4)+parseInt(_0x3b55b2(0x212))/0x5+-parseInt(_0x3b55b2(0x206))/0x6*(-parseInt(_0x3b55b2(0x1d4))/0x7)+parseInt(_0x3b55b2(0x1ce))/0x8+parseInt(_0x3b55b2(0x201))/0x9;if(_0x3e6c44===_0xedf1de)break;else _0x4ebe68['push'](_0x4ebe68['shift']());}catch(_0x3f5e22){_0x4ebe68['push'](_0x4ebe68['shift']());}}}(_0x54e9,0x73f03));import{ObservableMixin as _0x388d72}from'ckeditor5/src/utils.js';import{AIRequestError as _0x186f4f}from'../adapters/aiadapter.js';import{Matcher as _0x32dfc1,UpcastWriter as _0x34b617}from'ckeditor5/src/engine.js';function _0x54e9(){const _0x5da9f6=['custom','_sanitizationContainer','prompt','stringify','length','```','1281800LqhnMm','markers','currentResponse','substring','reset','```html','14Lufhen','editing','processor','initialContext','tryAgainEvent','clear','<h1></h1>','view','push','then','handleError','endsWith','document','_stripMarkdownSyntax','once','abort','ai.aiAssistant.preserveComments','previousActionId','match','311303VMCOKQ','1828176osaaSE','querySelector','childNodes','domConverter','isRendered','createElement','set:currentContext','parseFromString','previousQuery','remove','get','nodeType','text/html','_isH1TagSupportEnabled','_domParser','toView','submitPrompt','setContentOf','htmlProcessor','body','exec','name','listenTo','config','startProcessing','7011297ZpNSEO','stopProcessing','isProcessing','toModel','value','1571622BWjbmk','catch','_sanitizeHTML','_normalizeResponseHeadings','rename','serializeToString','startsWith','ELEMENT_NODE','destroy','760876IHjHJm','updateView','_xmlSerializer','4038995LNDUtC','message','stopListening','mainAction','innerHTML','viewToDom','render','previousLabel','set','element','editor','reverse','currentContext','_handleQuery','9UMNOZM','data','trim','div','_parseAndNormalizeContent','finishProcessing','previousContext','finally','textAdapter','from','makeRequest'];_0x54e9=function(){return _0x5da9f6;};return _0x54e9();}function _0x4f49(_0x1c2a68,_0x5a832b){const _0x54e98d=_0x54e9();return _0x4f49=function(_0x4f490a,_0x2febda){_0x4f490a=_0x4f490a-0x1c1;let _0x4a83b0=_0x54e98d[_0x4f490a];return _0x4a83b0;},_0x4f49(_0x1c2a68,_0x5a832b);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x388d72(){[_0x45c3e4(0x21c)];[_0x45c3e4(0x1c5)];[_0x45c3e4(0x1db)];[_0x45c3e4(0x1c9)];[_0x45c3e4(0x1f6)];[_0x45c3e4(0x211)];constructor(_0xa24080,_0x4580d5,_0x43f1dd){const _0x4effcd=_0x45c3e4;super(),this[_0x4effcd(0x21c)]=_0xa24080,this[_0x4effcd(0x1c5)]=_0x4580d5,this[_0x4effcd(0x1c9)]=document[_0x4effcd(0x1ed)](_0x4effcd(0x223)),this[_0x4effcd(0x1f6)]=new DOMParser(),this[_0x4effcd(0x211)]=new XMLSerializer(),this[_0x4effcd(0x1db)]=_0x43f1dd,this[_0x4effcd(0x21a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4effcd(0x1ee),(_0x2f9b26,_0x2e7a15,_0x1d4b5b)=>{const _0x32d21d=_0x4effcd;this[_0x32d21d(0x1db)][_0x32d21d(0x205)]=this[_0x32d21d(0x208)](_0x1d4b5b);}),this[_0x4effcd(0x1fe)](this[_0x4effcd(0x1db)],_0x4effcd(0x1f8),(_0x6c2f0f,_0xb54e8)=>{const _0x4ad012=_0x4effcd,_0x48da77=this[_0x4ad012(0x21e)]||this[_0x4ad012(0x1d7)];this[_0x4ad012(0x21f)](_0xb54e8,_0x48da77,_0x4ad012(0x1c8));}),this[_0x4effcd(0x1fe)](this[_0x4effcd(0x1db)],_0x4effcd(0x1d8),()=>{const _0x239d99=_0x4effcd;this[_0x239d99(0x1db)][_0x239d99(0x1ca)]=this[_0x239d99(0x219)],this[_0x239d99(0x21f)](this[_0x239d99(0x1f0)],this[_0x239d99(0x1c3)],this[_0x239d99(0x1e5)],this[_0x239d99(0x219)]);}),this[_0x4effcd(0x1fe)](this[_0x4effcd(0x1db)],_0x4effcd(0x202),()=>{const _0x59f7db=_0x4effcd;this[_0x59f7db(0x202)]();});}[_0x45c3e4(0x20e)](){const _0xc0c8b3=_0x45c3e4;this[_0xc0c8b3(0x214)]();}async[_0x45c3e4(0x210)]({actionId:_0x38ef8f,query:_0x261dd8,htmlContent:_0x42c20d,label:_0x553bee,mainActionLabel:_0x2973d0}){const _0x3f4542=_0x45c3e4;this[_0x3f4542(0x1db)][_0x3f4542(0x1ca)]=_0x553bee,this[_0x3f4542(0x1db)][_0x3f4542(0x215)]=_0x2973d0,this[_0x3f4542(0x1d7)]=_0x42c20d,_0x261dd8&&(this[_0x3f4542(0x1db)][_0x3f4542(0x1ec)]?this[_0x3f4542(0x21f)](_0x261dd8,_0x42c20d,_0x38ef8f,_0x553bee):this[_0x3f4542(0x1db)][_0x3f4542(0x1e2)](_0x3f4542(0x218),()=>{const _0x399741=_0x3f4542;this[_0x399741(0x21f)](_0x261dd8,_0x42c20d,_0x38ef8f,_0x553bee);}));}[_0x45c3e4(0x202)](){const _0x34300b=_0x45c3e4;this[_0x34300b(0x203)]&&(this[_0x34300b(0x203)]=!0x1,this[_0x34300b(0x1db)][_0x34300b(0x1c2)](),this[_0x34300b(0x1c5)][_0x34300b(0x1e3)]());}[_0x45c3e4(0x1d2)](){const _0x4b760a=_0x45c3e4;this[_0x4b760a(0x1d7)]='',this[_0x4b760a(0x21e)]='',this[_0x4b760a(0x1d0)]='',this[_0x4b760a(0x1c3)]='',this[_0x4b760a(0x1f0)]='',this[_0x4b760a(0x219)]='',this[_0x4b760a(0x1e5)]=void 0x0,this[_0x4b760a(0x1db)][_0x4b760a(0x1d2)](),this[_0x4b760a(0x202)]();}async[_0x45c3e4(0x21f)](_0x29fc41,_0x41ee8b,_0x4ccf9d,_0x496c17){const _0x5b5eb4=_0x45c3e4;return this[_0x5b5eb4(0x203)]=!0x0,this[_0x5b5eb4(0x1db)][_0x5b5eb4(0x200)](),this[_0x5b5eb4(0x1c3)]=_0x41ee8b,this[_0x5b5eb4(0x1f0)]=_0x29fc41,this[_0x5b5eb4(0x219)]=_0x496c17||_0x29fc41,this[_0x5b5eb4(0x1e5)]=_0x4ccf9d,new Promise(_0x217868=>{const _0x5ce027=_0x5b5eb4;this[_0x5ce027(0x1c5)][_0x5ce027(0x1c7)]({'query':_0x29fc41,'context':_0x41ee8b,'onData':_0x5ef4f0=>{const _0x57765b=_0x5ce027;this[_0x57765b(0x1d0)]=_0x5ef4f0,this[_0x57765b(0x21e)]=this[_0x57765b(0x1c1)](this[_0x57765b(0x1d0)]);},'actionId':_0x4ccf9d})[_0x5ce027(0x1dd)](()=>{const _0x2de749=_0x5ce027;!this[_0x2de749(0x21e)]&&this[_0x2de749(0x1d0)]&&(this[_0x2de749(0x21e)]=this[_0x2de749(0x1c1)](this[_0x2de749(0x1d0)],!0x0));})[_0x5ce027(0x207)](_0x59b498=>{const _0x29f59d=_0x5ce027;_0x59b498 instanceof _0x186f4f?this[_0x29f59d(0x1db)][_0x29f59d(0x1de)](_0x59b498[_0x29f59d(0x213)]):this[_0x29f59d(0x1db)][_0x29f59d(0x1de)](),_0x217868();})[_0x5ce027(0x1c4)](()=>{const _0x4d6cfd=_0x5ce027;this[_0x4d6cfd(0x202)](),_0x217868();});});}[_0x45c3e4(0x1c1)](_0x25c169,_0xc626b=!0x1){const _0x49a3fe=_0x45c3e4,_0x57d193=Z[_0x49a3fe(0x1fc)](_0x25c169);_0x25c169=_0x57d193?_0x25c169[_0x49a3fe(0x1d1)](_0x57d193[0x1][_0x49a3fe(0x1cc)]):_0x25c169[_0x49a3fe(0x1cc)]<0x64&&!_0xc626b?'':this[_0x49a3fe(0x1e1)](_0x25c169);const _0x2fabf9=this[_0x49a3fe(0x1f6)][_0x49a3fe(0x1ef)](_0x25c169,_0x49a3fe(0x1f4));if(_0x57d193){const _0x96b1f8=Array[_0x49a3fe(0x1c6)](_0x2fabf9[_0x49a3fe(0x1fb)][_0x49a3fe(0x1ea)]);_0x96b1f8[_0x49a3fe(0x21d)]();for(const _0x20bd74 of _0x96b1f8){if(_0x20bd74[_0x49a3fe(0x1f3)]==Node[_0x49a3fe(0x20d)])break;_0x20bd74[_0x49a3fe(0x1f1)]();}}const _0xa6e19=this[_0x49a3fe(0x21c)][_0x49a3fe(0x221)][_0x49a3fe(0x1d6)][_0x49a3fe(0x1f7)](this[_0x49a3fe(0x211)][_0x49a3fe(0x20b)](_0x2fabf9[_0x49a3fe(0x1fb)]));this[_0x49a3fe(0x1f5)]()||this[_0x49a3fe(0x209)](_0xa6e19);const _0x4698c8=this[_0x49a3fe(0x21c)][_0x49a3fe(0x1ff)][_0x49a3fe(0x1f2)](_0x49a3fe(0x1e4)),_0x3d5eb1=this[_0x49a3fe(0x21c)][_0x49a3fe(0x221)][_0x49a3fe(0x204)](_0xa6e19);return _0x4698c8||_0x3d5eb1[_0x49a3fe(0x1cf)][_0x49a3fe(0x1d9)](),this[_0x49a3fe(0x21c)][_0x49a3fe(0x221)][_0x49a3fe(0x1cb)](_0x3d5eb1);}[_0x45c3e4(0x209)](_0x179f0f){const _0x59715e=_0x45c3e4,_0x1167f2=new _0x34b617(this[_0x59715e(0x21c)][_0x59715e(0x1d5)][_0x59715e(0x1db)][_0x59715e(0x1e0)]),_0x6949e3=new _0x32dfc1({'name':/^h[1-5]$/}),_0x14338b=[];let _0x19aed7=!0x1;for(const _0x101ba5 of _0x179f0f)_0x101ba5['is'](_0x59715e(0x21b))&&_0x6949e3[_0x59715e(0x1e6)](_0x101ba5)&&(_0x14338b[_0x59715e(0x1dc)](_0x101ba5),'h1'==_0x101ba5[_0x59715e(0x1fd)]&&(_0x19aed7=!0x0));if(_0x19aed7){for(const _0xa9e5d6 of _0x14338b)_0x1167f2[_0x59715e(0x20a)]('h'+(parseInt(_0xa9e5d6[_0x59715e(0x1fd)][0x1])+0x1),_0xa9e5d6);}}[_0x45c3e4(0x1f5)](){const _0x31ba96=_0x45c3e4,{data:_0x4f542d,editing:_0x3d1d21}=this[_0x31ba96(0x21c)],_0x3a9346=_0x4f542d[_0x31ba96(0x1fa)][_0x31ba96(0x1f7)](_0x31ba96(0x1da)),_0xe134a5=_0x4f542d[_0x31ba96(0x1f7)](_0x4f542d[_0x31ba96(0x204)](_0x3a9346));return!!_0x3d1d21[_0x31ba96(0x1db)][_0x31ba96(0x1eb)][_0x31ba96(0x217)](_0xe134a5)[_0x31ba96(0x1e9)]('h1');}[_0x45c3e4(0x208)](_0x1d4f17){const _0x22fe29=_0x45c3e4;return this[_0x22fe29(0x21c)][_0x22fe29(0x1d5)][_0x22fe29(0x1db)][_0x22fe29(0x1eb)][_0x22fe29(0x1f9)](this[_0x22fe29(0x1c9)],_0x1d4f17),this[_0x22fe29(0x1c9)][_0x22fe29(0x216)];}[_0x45c3e4(0x1e1)](_0x1ca4b4){const _0x5e6d1c=_0x45c3e4,_0x40b820=_0x1ca4b4[_0x5e6d1c(0x222)]();return _0x40b820[_0x5e6d1c(0x20c)](_0x5e6d1c(0x1d3))?_0x40b820[_0x5e6d1c(0x1df)](_0x5e6d1c(0x1cd))?_0x40b820[_0x5e6d1c(0x1d1)](0x7,_0x40b820[_0x5e6d1c(0x1cc)]-0x3):_0x40b820[_0x5e6d1c(0x1d1)](0x7):_0x1ca4b4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x80dbed=_0x540a;(function(_0x29eefd,_0x43e1b9){const _0x240f93=_0x540a,_0x1b975e=_0x29eefd();while(!![]){try{const _0x220935=-parseInt(_0x240f93(0xd0))/0x1*(parseInt(_0x240f93(0x95))/0x2)+-parseInt(_0x240f93(0xc4))/0x3*(parseInt(_0x240f93(0xa3))/0x4)+parseInt(_0x240f93(0xb1))/0x5+-parseInt(_0x240f93(0xd3))/0x6*(-parseInt(_0x240f93(0xc2))/0x7)+-parseInt(_0x240f93(0xd6))/0x8*(-parseInt(_0x240f93(0x93))/0x9)+-parseInt(_0x240f93(0xd7))/0xa*(-parseInt(_0x240f93(0xd4))/0xb)+parseInt(_0x240f93(0xd8))/0xc*(parseInt(_0x240f93(0xa1))/0xd);if(_0x220935===_0x43e1b9)break;else _0x1b975e['push'](_0x1b975e['shift']());}catch(_0x698e00){_0x1b975e['push'](_0x1b975e['shift']());}}}(_0x70e7,0xd405a));import{global as _0x2b134d}from'ckeditor5/src/utils.js';import{View as _0x5e9747,ButtonView as _0x1fd59d,SpinnerView as _0x269589}from'ckeditor5/src/ui.js';import{IconCheck as _0x18a7ef,IconCopy as _0x2f2e04}from'ckeditor5/src/icons.js';function _0x540a(_0x41bd7d,_0x54cc27){const _0x70e758=_0x70e7();return _0x540a=function(_0x540a1e,_0x4989d3){_0x540a1e=_0x540a1e-0x84;let _0x3182d8=_0x70e758[_0x540a1e];return _0x3182d8;},_0x540a(_0x41bd7d,_0x54cc27);}import{getTranslation as _0xabcf00}from'../../utils/common-translations.js';function _0x70e7(){const _0x21bd21=['removeAllRanges','isVisible','1457739eGKWRw','element','58WIOmXs','setEndBefore','\x20ck-ai-form__copy-button--copied','createElement','isProcessing','focus','ck-hidden','change:value','scrollTo','ck-ai-form__content-area--processing','div','bindTemplate','26cwGuuz','lastElementChild','103604nHjwhq','remove','left','text/html','position','locale','ck-ai-form__content-area','AI\x20is\x20writing...','execCommand','-9999px','copyButtonView','.ck-ai-form__loader','change:isProcessing','value','816950AYQpuD','appendLoader','render','icon','textContent','ck-ai-form__content-area-wrapper','setTemplate','querySelector','mousedown','listenTo','bind','_createLoader','loaderView','ClipboardItem','ck-content','ck-ai-form__loader','contentFieldView','71106TGulwk','style','69KzGrFA','text/plain','ck-ai-form__content-field','wheel','Copy','_copyHTMLToClipboard','clipboard','scrollHeight','_createCopyButton','absolute','ck-ai-form__copy-button','addRange','52685npXoqn','<span>[</span>','copy','546pSHQlR','406483vlXJgB','setStartAfter','56sXsOAd','30LJPmZz','3957636ahnTbD','ck-reset_all-excluded','write','getSelection','<span>]</span>','createRange','execute','setContent','ck-ai-form__copy-button-wrapper','set','smooth','class','body','innerHTML','appendChild','firstElementChild','isEnabled'];_0x70e7=function(){return _0x21bd21;};return _0x70e7();}export default class Y extends _0x5e9747{[_0x80dbed(0xc1)];[_0x80dbed(0xad)];constructor(_0x24ecee,_0x4dd548=''){const _0x52dbe5=_0x80dbed;super(_0x24ecee),this[_0x52dbe5(0x89)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x212a45=this[_0x52dbe5(0xa0)];this[_0x52dbe5(0xc1)]=new ContentFieldView(_0x24ecee,_0x4dd548),this[_0x52dbe5(0xad)]=this[_0x52dbe5(0xcc)](),this[_0x52dbe5(0xb7)]({'tag':_0x52dbe5(0x9f),'attributes':{'class':['ck',_0x52dbe5(0xb6),_0x212a45['if'](_0x52dbe5(0x92),_0x52dbe5(0x9b),_0x302707=>!_0x302707)],'tabindex':'-1'},'children':[{'tag':_0x52dbe5(0x9f),'attributes':{'class':['ck',_0x52dbe5(0xa9),_0x212a45['if'](_0x52dbe5(0x99),_0x52dbe5(0x9e))]},'children':[this[_0x52dbe5(0xc1)],{'tag':_0x52dbe5(0x9f),'attributes':{'class':['ck',_0x52dbe5(0x88)]},'children':[this[_0x52dbe5(0xad)]]}]}]});}[_0x80dbed(0xb3)](){const _0x4773de=_0x80dbed;super[_0x4773de(0xb3)](),this[_0x4773de(0xb0)]&&this[_0x4773de(0xc1)][_0x4773de(0x87)](this[_0x4773de(0xb0)]);let _0x39aa63=!0x1;this['on'](_0x4773de(0x9c),(_0x10083d,_0x4eb0e3,_0x44f003)=>{const _0x3c1629=_0x4773de,_0x501e50=!this[_0x3c1629(0xc1)][_0x3c1629(0x94)][_0x3c1629(0xb8)](_0x3c1629(0xae));this[_0x3c1629(0xc1)][_0x3c1629(0x87)](_0x44f003),this[_0x3c1629(0x99)]&&_0x501e50&&!_0x39aa63&&this[_0x3c1629(0x94)][_0x3c1629(0x9d)]({'top':this[_0x3c1629(0x94)][_0x3c1629(0xcb)],'behavior':_0x3c1629(0x8a)});}),this['on'](_0x4773de(0xaf),(_0x5d2255,_0x672c56,_0x3c9f85)=>{const _0x219c11=_0x4773de;_0x39aa63=!0x1,_0x3c9f85?(this[_0x219c11(0xb0)]=null,this[_0x219c11(0xc1)][_0x219c11(0xb2)]()):this[_0x219c11(0xb0)]||this[_0x219c11(0xc1)][_0x219c11(0x87)]('');}),this[_0x4773de(0xba)](this[_0x4773de(0x94)],_0x4773de(0xc7),()=>{_0x39aa63=!0x0;}),this[_0x4773de(0xba)](this[_0x4773de(0x94)],_0x4773de(0xb9),()=>{_0x39aa63=!0x0;});}[_0x80dbed(0x9a)](){const _0x303325=_0x80dbed;this[_0x303325(0x94)][_0x303325(0x9a)]();}[_0x80dbed(0xcc)](){const _0x1b0137=_0x80dbed,_0x248968=this[_0x1b0137(0xa8)],_0x2f98bc=new _0x1fd59d(this[_0x1b0137(0xa8)]),_0x5ef86d=_0x1b0137(0xce);return _0x2f98bc[_0x1b0137(0x89)]({'label':_0xabcf00(_0x248968,_0x1b0137(0xc8)),'icon':_0x2f2e04,'class':_0x5ef86d,'tooltip':!0x0}),_0x2f98bc[_0x1b0137(0xbb)](_0x1b0137(0x92))['to'](this,_0x1b0137(0xb0),_0x160b3a=>!!_0x160b3a),_0x2f98bc[_0x1b0137(0xbb)](_0x1b0137(0x90))['to'](this,_0x1b0137(0x99),_0x28f39a=>!_0x28f39a),_0x2f98bc['on'](_0x1b0137(0x86),()=>{const _0x160101=_0x1b0137;this[_0x160101(0xc9)](this[_0x160101(0xc1)][_0x160101(0x94)]),_0x2f98bc[_0x160101(0xb4)]=_0x18a7ef,_0x2f98bc[_0x160101(0x8b)]=_0x5ef86d+_0x160101(0x97),this[_0x160101(0x9a)](),setTimeout(()=>{const _0xff4751=_0x160101;_0x2f98bc[_0xff4751(0xb4)]=_0x2f2e04,_0x2f98bc[_0xff4751(0x8b)]=_0x5ef86d;},0x3e8);}),_0x2f98bc;}[_0x80dbed(0xc9)](_0x468f81){const _0x183277=_0x80dbed,{window:_0x3b0c36,document:_0x4371f7}=_0x2b134d;if(_0x3b0c36[_0x183277(0xbe)]){const {Blob:_0x148919,ClipboardItem:_0x6b168a}=_0x3b0c36,_0x358bf5=[new _0x6b168a({'text/html':new _0x148919([_0x468f81[_0x183277(0x8d)]],{'type':_0x183277(0xa6)}),'text/plain':new _0x148919([_0x468f81[_0x183277(0xb5)]||''],{'type':_0x183277(0xc5)})})];navigator[_0x183277(0xca)][_0x183277(0xda)](_0x358bf5);}else{const _0x3c6d51=_0x4371f7[_0x183277(0x98)](_0x183277(0x9f));_0x3c6d51[_0x183277(0xc3)][_0x183277(0xa7)]=_0x183277(0xcd),_0x3c6d51[_0x183277(0xc3)][_0x183277(0xa5)]=_0x183277(0xac),_0x3c6d51[_0x183277(0x8d)]=_0x183277(0xd1)+_0x468f81[_0x183277(0x8d)]+_0x183277(0x84),_0x4371f7[_0x183277(0x8c)][_0x183277(0x8e)](_0x3c6d51);const _0x6bc391=_0x4371f7[_0x183277(0x85)]();_0x6bc391[_0x183277(0xd5)](_0x3c6d51[_0x183277(0x8f)]),_0x6bc391[_0x183277(0x96)](_0x3c6d51[_0x183277(0xa2)]);const _0x51c6cc=_0x3b0c36[_0x183277(0xdb)]();_0x51c6cc[_0x183277(0x91)](),_0x51c6cc[_0x183277(0xcf)](_0x6bc391),_0x4371f7[_0x183277(0xab)](_0x183277(0xd2)),_0x3c6d51[_0x183277(0xa4)]();}}}export class ContentFieldView extends _0x5e9747{constructor(_0x1b8e6c,_0x5c5cf7=''){const _0x42c8a7=_0x80dbed;super(_0x1b8e6c),this[_0x42c8a7(0xbd)]=this[_0x42c8a7(0xbc)](),this[_0x42c8a7(0xb7)]({'tag':_0x42c8a7(0x9f),'attributes':{'class':['ck',_0x42c8a7(0xbf),_0x5c5cf7,_0x42c8a7(0xd9),_0x42c8a7(0xc6)]}});}[_0x80dbed(0x87)](_0x353640){const _0x57a3f5=_0x80dbed;this[_0x57a3f5(0x94)][_0x57a3f5(0x8d)]=_0x353640;}[_0x80dbed(0xb2)](){const _0x4533e6=_0x80dbed;this[_0x4533e6(0x94)][_0x4533e6(0x8e)](this[_0x4533e6(0xbd)][_0x4533e6(0x94)]);}[_0x80dbed(0xbc)](){const _0x15469c=_0x80dbed,_0x53a99e=new _0x5e9747(),_0x5e4212=this[_0x15469c(0xa8)],_0x5d2619=new _0x269589();return _0x5d2619[_0x15469c(0x92)]=!0x0,_0x53a99e[_0x15469c(0xb7)]({'tag':_0x15469c(0x9f),'attributes':{'class':['ck',_0x15469c(0xc0)]},'children':[_0x5d2619,{'text':_0xabcf00(_0x5e4212,_0x15469c(0xaa))}]}),_0x53a99e[_0x15469c(0xb3)](),_0x53a99e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4187f7,_0x4ce752){const _0x15c3c5=_0x3b98,_0x4e9d82=_0x4187f7();while(!![]){try{const _0x526c3a=parseInt(_0x15c3c5(0xc8))/0x1*(parseInt(_0x15c3c5(0xcb))/0x2)+-parseInt(_0x15c3c5(0xd3))/0x3+parseInt(_0x15c3c5(0xd7))/0x4*(parseInt(_0x15c3c5(0xd0))/0x5)+-parseInt(_0x15c3c5(0xd6))/0x6+-parseInt(_0x15c3c5(0xcf))/0x7+parseInt(_0x15c3c5(0xd4))/0x8*(-parseInt(_0x15c3c5(0xd1))/0x9)+parseInt(_0x15c3c5(0xd2))/0xa;if(_0x526c3a===_0x4ce752)break;else _0x4e9d82['push'](_0x4e9d82['shift']());}catch(_0x38c872){_0x4e9d82['push'](_0x4e9d82['shift']());}}}(_0x55ab,0xc2e43));import{IconError as _0x54de32}from'ckeditor5/src/icons.js';function _0x3b98(_0x14b5ae,_0x159390){const _0x55abbd=_0x55ab();return _0x3b98=function(_0x3b98b6,_0x406891){_0x3b98b6=_0x3b98b6-0xc8;let _0x20c02c=_0x55abbd[_0x3b98b6];return _0x20c02c;},_0x3b98(_0x14b5ae,_0x159390);}import{View as _0x9014d,IconView as _0x60e1df}from'ckeditor5/src/ui.js';export default class st extends _0x9014d{constructor(_0x5d405a,_0x240b0a=''){const _0x9c3c8f=_0x3b98;super(_0x5d405a);const _0x251981=new _0x60e1df(),_0x27e43e=this[_0x9c3c8f(0xce)];this[_0x9c3c8f(0xcd)](_0x9c3c8f(0xcc),_0x240b0a),_0x251981[_0x9c3c8f(0xca)]=_0x54de32,this[_0x9c3c8f(0xd8)]({'tag':_0x9c3c8f(0xd5),'attributes':{'class':['ck',_0x9c3c8f(0xc9)]},'children':[_0x251981,{'text':_0x27e43e['to'](_0x9c3c8f(0xcc))}]});}}function _0x55ab(){const _0x13f1cf=['setTemplate','436253tVPBmu','ck-ai-form__error','content','4TUUnNY','text','set','bindTemplate','7323722qUgTen','5txvjbT','2574063jmAGhz','27765870UrsVxI','2562408FWtTGU','8zHpxxN','div','8453484lJYNzi','2977940zZJjcu'];_0x55ab=function(){return _0x13f1cf;};return _0x55ab();}
|