@ckeditor/ckeditor5-ai 45.0.0-alpha.8 → 45.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
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
|
-
function _0x1956(_0x44f7de,_0x2bce72){const _0x1f8daf=_0x1f8d();return _0x1956=function(_0x1956d2,_0x2bac9e){_0x1956d2=_0x1956d2-0x1cb;let _0x222de=_0x1f8daf[_0x1956d2];return _0x222de;},_0x1956(_0x44f7de,_0x2bce72);}const _0x5b12cc=_0x1956;(function(_0x5ccace,_0xd3033b){const _0x11a992=_0x1956,_0x87beaa=_0x5ccace();while(!![]){try{const _0x2eae15=-parseInt(_0x11a992(0x1e5))/0x1*(parseInt(_0x11a992(0x201))/0x2)+parseInt(_0x11a992(0x221))/0x3*(parseInt(_0x11a992(0x1cf))/0x4)+-parseInt(_0x11a992(0x207))/0x5*(-parseInt(_0x11a992(0x1e9))/0x6)+parseInt(_0x11a992(0x236))/0x7*(-parseInt(_0x11a992(0x202))/0x8)+parseInt(_0x11a992(0x21d))/0x9+-parseInt(_0x11a992(0x226))/0xa+-parseInt(_0x11a992(0x21e))/0xb*(-parseInt(_0x11a992(0x214))/0xc);if(_0x2eae15===_0xd3033b)break;else _0x87beaa['push'](_0x87beaa['shift']());}catch(_0x44080f){_0x87beaa['push'](_0x87beaa['shift']());}}}(_0x1f8d,0x9a34a));import{uid as _0x868aec}from'ckeditor5/src/utils.js';import{Plugin as _0x19fecc}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x78186b}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5d6038,DataTransfer as _0x10673f}from'ckeditor5/src/engine.js';const w=globalThis[_0x5b12cc(0x21c)],f=_0x5b12cc(0x215);export default class a extends _0x19fecc{static get[_0x5b12cc(0x1e6)](){const _0x433166=_0x5b12cc;return _0x433166(0x1e7);}static get[_0x5b12cc(0x20f)](){return!0x0;}static get[_0x5b12cc(0x238)](){return!0x0;}[_0x5b12cc(0x1d2)](){const _0x3c114f=_0x5b12cc,{editor:_0x32afbd}=this,_0x1fed4d=[_0x3c114f(0x21f)];_0x32afbd[_0x3c114f(0x234)][_0x3c114f(0x218)](_0x3c114f(0x208))&&_0x1fed4d[_0x3c114f(0x22a)](_0x3c114f(0x211)),_0x32afbd[_0x3c114f(0x206)][_0x3c114f(0x1f0)](_0x3c114f(0x210))[_0x3c114f(0x1eb)]({'model':f,'view':{'classes':_0x1fed4d,'priority':0xc}}),_0x32afbd[_0x3c114f(0x206)][_0x3c114f(0x1f0)](_0x3c114f(0x210))[_0x3c114f(0x1f4)]({'model':f,'view':(_0x320387,{writer:_0x1e8b42})=>{const _0x1d837a=_0x3c114f;if(!_0x320387[_0x1d837a(0x20c)][_0x1d837a(0x1cb)])return null;const _0x4cda65=_0x1e8b42[_0x1d837a(0x1d3)](_0x1d837a(0x1d6));return _0x1e8b42[_0x1d837a(0x22b)]([_0x1d837a(0x21f),_0x1d837a(0x1ee)],_0x4cda65),_0x4cda65;}});}[_0x5b12cc(0x1fa)](){!async function(_0x1981f1){const _0x393524=_0x3794c0([0x38,0x47,0x74,0x7a,0x64,0x4d,0x37,0x72,0x32,0x6c,0x4c,0x63,0x75,0x57,0x36,0x33,0x69,0x56,0x73,0x4f,0x46,0x77,0x55,0x6a,0x39,0x45,0x68,0x50,0x61,0x79,0x6e,0x78,0x66,0x52,0x49,0x6f,0x42,0x30,0x58,0x76,0x4e,0x53,0x44,0x5a,0x31,0x51,0x6b,0x67,0x65,0x59,0x43,0x54,0x70,0x4a,0x35,0x6d,0x41,0x62,0x4b,0x48,0x34,0x71]),_0x3b7563=0x59c2f46d,_0xb653e8=0x59c59795^_0x3b7563,_0x55f829=window[_0x3794c0([0x44,0x61,0x74,0x65])][_0x3794c0([0x6e,0x6f,0x77])](),_0x10773d=_0x1981f1[_0x3794c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22cc3d=new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eda7b=>{_0x10773d[_0x3794c0([0x6f,0x6e,0x63,0x65])](_0x3794c0([0x72,0x65,0x61,0x64,0x79]),_0x1eda7b);}),_0x5bc35c={[_0x3794c0([0x6b,0x74,0x79])]:_0x3794c0([0x45,0x43]),[_0x3794c0([0x75,0x73,0x65])]:_0x3794c0([0x73,0x69,0x67]),[_0x3794c0([0x63,0x72,0x76])]:_0x3794c0([0x50,0x2d,0x32,0x35,0x36]),[_0x3794c0([0x78])]:_0x3794c0([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]),[_0x3794c0([0x79])]:_0x3794c0([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]),[_0x3794c0([0x61,0x6c,0x67])]:_0x3794c0([0x45,0x53,0x32,0x35,0x36])},_0xda777c=_0x10773d[_0x3794c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3794c0([0x67,0x65,0x74])](_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d4b07(){let _0x23789a,_0x36c222=null,_0x431906=null;try{if(_0xda777c==_0x3794c0([0x47,0x50,0x4c]))return _0x3794c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23789a=_0x1acee6(),!_0x23789a)return _0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23789a[_0x3794c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x431906=_0x53e039(_0x23789a[_0x3794c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23789a[_0x3794c0([0x6a,0x74,0x69])])),await _0x587ee3()?_0x340b3b()?_0xb907af()?_0x3794c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b1b07()?(_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3794c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36c222=_0x4f87ba(_0x3794c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3794c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x36c222=_0x4f87ba(_0x3794c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x164bec()):_0x3794c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3794c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x29ce48){return _0x3794c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb907af(){const _0x5afb3f=[_0x3794c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3794c0([0x74,0x72,0x69,0x61,0x6c])][_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55f829/0x3e8:0xe10*_0xb653e8;return _0x23789a[_0x3794c0([0x65,0x78,0x70])]<_0x5afb3f;}function _0x340b3b(){const _0x3ac3c3=_0x23789a[_0x3794c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ac3c3&&(!!_0x3ac3c3[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x2a]))||!!_0x3ac3c3[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x41,0x49])));}function _0x5b1b07(){const _0x5ac8b3=_0x1956,_0x5f2341=_0x23789a[_0x3794c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f2341||0x0==_0x5f2341[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a26ee}=new URL(window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ac8b3(0x1d7)]);if(_0x5f2341[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a26ee))return!0x0;const _0x13541e=_0x4a26ee[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e]));return _0x5f2341[_0x3794c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cfb55=>_0x5cfb55[_0x3794c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3794c0([0x2a])))[_0x3794c0([0x6d,0x61,0x70])](_0xf6636c=>_0xf6636c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e])))[_0x3794c0([0x73,0x6f,0x6d,0x65])](_0x359f37=>_0x13541e[_0x3794c0([0x65,0x76,0x65,0x72,0x79])]((_0x331727,_0x1737c5)=>_0x359f37[_0x1737c5]===_0x331727||_0x359f37[_0x1737c5]===_0x3794c0([0x2a])));}function _0x164bec(){return _0x36c222&&_0x431906?new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a954a,_0x2833a5)=>{_0x36c222[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1a954a,_0x2833a5),_0x431906[_0x3794c0([0x74,0x68,0x65,0x6e])](_0xb7eb21=>{_0xb7eb21!=_0x3794c0([0x56,0x61,0x6c,0x69,0x64])&&_0x1a954a(_0xb7eb21);},_0x2833a5);}):_0x36c222||_0x431906||_0x3794c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53e039(_0x385102,_0x45dfa0){return new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52922c=>{if(_0x22e7a8())return _0x52922c(_0x3794c0([0x56,0x61,0x6c,0x69,0x64]));_0x49e4f4(),_0x10773d[_0x3794c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f238e=!0x1;const _0x5215cc=_0x868aec();function _0x4ce599(_0x4f1b73){return!!_0x4f1b73&&(typeof _0x4f1b73===_0x3794c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f1b73===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f1b73[_0x3794c0([0x74,0x68,0x65,0x6e])]===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f1b73[_0x3794c0([0x63,0x61,0x74,0x63,0x68])]===_0x3794c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31f693(_0x533061){_0x1194d5(_0x533061)[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1b3a6b=>{if(!_0x1b3a6b||_0x1b3a6b[_0x3794c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3794c0([0x6f,0x6b]))return _0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x7df819(_0x12bcfc(_0x5215cc+_0x45dfa0))!=_0x1b3a6b[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3794c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x445d9b=>(_0x37e325(),_0x445d9b),()=>{const _0x3ae144=_0x4a560c();return null==_0x3ae144?(_0x37e325(),_0x3794c0([0x56,0x61,0x6c,0x69,0x64])):_0x3794c0(_0x55f829-_0x3ae144>(0x7dce706d^_0x3b7563)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x52922c)[_0x3794c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11bf23=0x59f41aed^_0x3b7563;function _0x37e325(){const _0xb40181=_0x3794c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x7df819(_0x12bcfc(_0x385102)),_0x2e3f25=_0x4d3594(_0x7df819(window[_0x3794c0([0x4d,0x61,0x74,0x68])][_0x3794c0([0x63,0x65,0x69,0x6c])](_0x55f829/_0x11bf23)));window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3794c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb40181,_0x2e3f25);}function _0x4a560c(){const _0xf7a5f5=_0x3794c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x7df819(_0x12bcfc(_0x385102)),_0x4822ea=window[_0x3794c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3794c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf7a5f5);return _0x4822ea?window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d3594(_0x4822ea),0x10)*_0x11bf23:null;}function _0x1194d5(_0x5f1362){return new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ea98f,_0x222ddd)=>{_0x5f1362[_0x3794c0([0x74,0x68,0x65,0x6e])](_0x1ea98f,_0x222ddd),window[_0x3794c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x222ddd,0x59c320ad^_0x3b7563);});}}_0x10773d[_0x3794c0([0x6f,0x6e])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x593137,_0xea60b5)=>{if(_0xea60b5[0x0]!=_0x385102)return _0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xea60b5[0x1]={..._0xea60b5[0x1],[_0x3794c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5215cc};},{[_0x3794c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3794c0([0x68,0x69,0x67,0x68])}),_0x10773d[_0x3794c0([0x6f,0x6e])](_0x3794c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x107505=>{_0x4ce599(_0x107505[_0x3794c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f238e=!0x0,_0x31f693(_0x107505[_0x3794c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3794c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3794c0([0x6c,0x6f,0x77])}),_0x22cc3d[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>{_0x4f238e||_0x52922c(_0x3794c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22e7a8(){return _0x10773d[_0x3794c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3794c0([0x76,0x69,0x65,0x77])][_0x3794c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3794c0([0x61,0x75,0x74,0x6f]);}function _0x49e4f4(){_0x10773d[_0x3794c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3794c0([0x76,0x69,0x65,0x77])][_0x3794c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3794c0([0x61,0x75,0x74,0x6f]);}}function _0x4f87ba(_0x921e36){const _0x2c05a3=[new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x226b56=>setTimeout(_0x226b56,0x59cbcaa1^_0x3b7563)),_0x22cc3d[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e39f0=>{let _0x5191dd=0x0;_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x6f,0x6e])](_0x3794c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c398b,_0x4e936c)=>{_0x4e936c[0x0][_0x3794c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5191dd++,_0x5191dd==(0x59c2f595^_0x3b7563)&&(_0x4e39f0(),_0x2c398b[_0x3794c0([0x6f,0x66,0x66])]());});}))];return window[_0x3794c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3794c0([0x72,0x61,0x63,0x65])](_0x2c05a3)[_0x3794c0([0x74,0x68,0x65,0x6e])](()=>_0x921e36);}async function _0x354867(){await _0x22cc3d,_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x506fce,_0x10773d[_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3794c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x506fce,_0x10773d[_0x3794c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3794c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4c3dc7(_0x5b5b35){const _0x5bc946=_0x5259e5();_0x10773d[_0x5bc946]=_0x3794c0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b5b35,_0x5b5b35!=_0x3794c0([0x56,0x61,0x6c,0x69,0x64])&&_0x354867();}function _0x5259e5(){const _0x2772bc=window[_0x3794c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3794c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3794c0([0x6e,0x6f,0x77])]())[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3794c0([0x2e]),'');let _0x51f76c=_0x3794c0([0x47]);for(let _0x3028f4=0x0;_0x3028f4<_0x2772bc[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3028f4+=0x2){let _0x1ae104=window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2772bc[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3028f4,_0x3028f4+0x2));_0x1ae104>=_0x393524[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ae104-=_0x393524[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51f76c+=_0x393524[_0x1ae104];}return _0x51f76c;}function _0x1acee6(){const _0x123bde=_0xda777c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e]));if(0x3!=_0x123bde[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32898d(_0x123bde[0x1]);function _0x32898d(_0x521032){const _0x260d97=_0x2baf2c(_0x521032);return _0x260d97&&_0x18fdef()?_0x260d97:null;function _0x18fdef(){const _0x242580=_0x260d97[_0x3794c0([0x6a,0x74,0x69])],_0x5daf4e=window[_0x3794c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x242580[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x242580[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ef5e6={..._0x260d97,[_0x3794c0([0x6a,0x74,0x69])]:_0x242580[_0x3794c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x242580[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ef5e6[_0x3794c0([0x76,0x63])],_0x12bcfc(_0x1ef5e6)==_0x5daf4e;}}}async function _0x587ee3(){let _0x51fa8e=!0x0;try{const _0x36d928=_0xda777c[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])](_0x3794c0([0x2e])),[_0x17b518,_0x2b7276,_0x3d8f1d]=_0x36d928;return _0x24b614(_0x17b518),await _0x5dea9f(_0x17b518,_0x2b7276,_0x3d8f1d),_0x51fa8e;}catch(_0x210ba1){return!0x1;}function _0x24b614(_0x2815d5){const _0x8f2963=_0x2baf2c(_0x2815d5);_0x8f2963&&_0x8f2963[_0x3794c0([0x61,0x6c,0x67])]==_0x3794c0([0x45,0x53,0x32,0x35,0x36])||(_0x51fa8e=!0x1);}async function _0x5dea9f(_0x224381,_0x40f19b,_0x43deaa){const _0x185f51=window[_0x3794c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3794c0([0x66,0x72,0x6f,0x6d])](_0x7e06b4(_0x43deaa),_0x13e7a3=>_0x13e7a3[_0x3794c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31d85b=new window[(_0x3794c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3794c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x224381+_0x3794c0([0x2e])+_0x40f19b),_0x1fe170=window[_0x3794c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3794c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1fe170)return;const _0x5bb41b=await _0x1fe170[_0x3794c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3794c0([0x6a,0x77,0x6b]),_0x5bc35c,{[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x45,0x43,0x44,0x53,0x41]),[_0x3794c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3794c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1fe170[_0x3794c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x45,0x43,0x44,0x53,0x41]),[_0x3794c0([0x68,0x61,0x73,0x68])]:{[_0x3794c0([0x6e,0x61,0x6d,0x65])]:_0x3794c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bb41b,_0x185f51,_0x31d85b)||(_0x51fa8e=!0x1);}}function _0x2baf2c(_0x5513a3){return _0x5513a3[_0x3794c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3794c0([0x65,0x79]))?JSON[_0x3794c0([0x70,0x61,0x72,0x73,0x65])](_0x7e06b4(_0x5513a3)):null;}function _0x7e06b4(_0x5b0301){return window[_0x3794c0([0x61,0x74,0x6f,0x62])](_0x5b0301[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3794c0([0x2b]))[_0x3794c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3794c0([0x2f])));}function _0x12bcfc(_0x2b47d8){let _0x57c6d8=0x1505;function _0x982186(_0x1b6f97){for(let _0x3c8775=0x0;_0x3c8775<_0x1b6f97[_0x3794c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c8775++){const _0x14b9dd=_0x1b6f97[_0x3794c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c8775);_0x57c6d8=(_0x57c6d8<<0x5)+_0x57c6d8+_0x14b9dd,_0x57c6d8&=_0x57c6d8;}}function _0x32330b(_0x16b001){Array[_0x3794c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16b001)?_0x16b001[_0x3794c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32330b):_0x16b001&&typeof _0x16b001==_0x3794c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3794c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16b001)[_0x3794c0([0x73,0x6f,0x72,0x74])]()[_0x3794c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16fc4c,_0xe80626])=>{_0x982186(_0x16fc4c),_0x32330b(_0xe80626);}):_0x982186(window[_0x3794c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16b001));}return _0x32330b(_0x2b47d8),_0x57c6d8>>>0x0;}function _0x7df819(_0x42a55e){return _0x42a55e[_0x3794c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3794c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3794c0([0x30]));}function _0x4d3594(_0x720a8b){return _0x720a8b[_0x3794c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3794c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3794c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x506fce(){}function _0x3794c0(_0x3d0365){const _0x267a4f=_0x1956;return _0x3d0365[_0x267a4f(0x1df)](_0x59b680=>String[_0x267a4f(0x203)](_0x59b680))[_0x267a4f(0x1d1)]('');}_0x4c3dc7(await _0x1d4b07());}(this);}[_0x5b12cc(0x1dc)](){const _0xd39ca3=_0x5b12cc,_0x1bc7e6=this[_0xd39ca3(0x1f1)][_0xd39ca3(0x212)];_0x1bc7e6[_0xd39ca3(0x217)](_0x2e0274=>{const _0x3d9ebb=_0xd39ca3,_0x209b43=_0x1bc7e6[_0x3d9ebb(0x1fd)][_0x3d9ebb(0x1f5)][_0x3d9ebb(0x216)]();let _0x4335f6=0x0;for(const _0x1e267d of _0x209b43){const _0x356926=f+':'+_0x4335f6;if(_0x1bc7e6[_0x3d9ebb(0x224)][_0x3d9ebb(0x1fe)](_0x356926))_0x2e0274[_0x3d9ebb(0x219)](_0x356926,{'range':_0x1e267d});else{if(_0x1e267d[_0x3d9ebb(0x209)][_0x3d9ebb(0x20e)]){const _0x28119d=_0x1e267d[_0x3d9ebb(0x209)][_0x3d9ebb(0x1f2)](({item:_0x11a35e})=>!_0x1bc7e6[_0x3d9ebb(0x1cc)][_0x3d9ebb(0x1f9)](_0x11a35e),{'boundaries':_0x1e267d});_0x2e0274[_0x3d9ebb(0x1ec)](_0x356926,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e0274[_0x3d9ebb(0x200)](_0x28119d,_0x1e267d[_0x3d9ebb(0x229)])});}else _0x2e0274[_0x3d9ebb(0x1ec)](_0x356926,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1e267d});}_0x4335f6++;}});}[_0x5b12cc(0x22f)](){const _0x5de712=_0x5b12cc,_0x2ca97c=this[_0x5de712(0x1f1)][_0x5de712(0x212)],_0x280baa=Array[_0x5de712(0x239)](this[_0x5de712(0x1f1)][_0x5de712(0x212)][_0x5de712(0x224)][_0x5de712(0x1f3)](f));_0x280baa[_0x5de712(0x1fb)]&&_0x2ca97c[_0x5de712(0x217)](_0x9f68b=>{const _0xf62fc6=_0x5de712;_0x280baa[_0xf62fc6(0x204)](_0x3bf400=>{const _0x2f415e=_0xf62fc6;_0x9f68b[_0x2f415e(0x227)](_0x3bf400);});});}[_0x5b12cc(0x20a)](_0x40e950,_0x513025){const _0x6d6d3c=_0x5b12cc,_0x5abe49=this[_0x6d6d3c(0x223)](),_0x20127=_0x513025||_0x5abe49[_0x6d6d3c(0x237)]();this[_0x6d6d3c(0x1f1)][_0x6d6d3c(0x212)][_0x6d6d3c(0x1e3)](_0x20127)&&this[_0x6d6d3c(0x1f1)][_0x6d6d3c(0x212)][_0x6d6d3c(0x217)](_0x85c97d=>{const _0x513524=_0x6d6d3c;this[_0x513524(0x22f)](),_0x513025||this[_0x513524(0x225)](_0x85c97d,_0x5abe49),this[_0x513524(0x1e8)]({'insertAt':_0x20127,'writer':_0x85c97d,'html':_0x40e950});});}[_0x5b12cc(0x1da)](_0x4fff80){const _0x4cd6a8=_0x5b12cc,{model:_0x33d793}=this[_0x4cd6a8(0x1f1)],_0x298dbd=this[_0x4cd6a8(0x223)]();_0x33d793[_0x4cd6a8(0x217)](()=>{const _0x52f33d=_0x4cd6a8,_0xd8d93b=this[_0x52f33d(0x220)](_0x4fff80,_0x298dbd)||this[_0x52f33d(0x21b)](_0x298dbd);this[_0x52f33d(0x20a)](_0x4fff80,_0xd8d93b);});}[_0x5b12cc(0x223)](){const _0x2d9d83=_0x5b12cc,_0x23aee8=this[_0x2d9d83(0x1f1)][_0x2d9d83(0x212)],_0x578f3d=Array[_0x2d9d83(0x239)](_0x23aee8[_0x2d9d83(0x224)][_0x2d9d83(0x1f3)](f))[_0x2d9d83(0x1df)](_0xa83373=>_0xa83373[_0x2d9d83(0x1f6)]());return _0x23aee8[_0x2d9d83(0x235)](_0x578f3d);}[_0x5b12cc(0x1e8)]({writer:_0x5be1a2,html:_0x3e569c,insertAt:_0x2961ed}){const _0x558e8a=_0x5b12cc,{view:_0x507288}=this[_0x558e8a(0x1f1)][_0x558e8a(0x1e4)],_0x13f0ad=this[_0x558e8a(0x1f1)][_0x558e8a(0x232)][_0x558e8a(0x218)](_0x78186b),_0x4d393a=new w();_0x4d393a[_0x558e8a(0x20d)](_0x558e8a(0x230),_0x3e569c);const _0x5b687=new ClipboardEvent(_0x558e8a(0x222),{'clipboardData':_0x4d393a}),_0x31a9aa=new _0x5d6038(_0x507288,_0x5b687,{'dataTransfer':new _0x10673f(_0x4d393a)});_0x5be1a2[_0x558e8a(0x1d8)](_0x2961ed);const _0x81af2a=(_0x517ad9,_0x3b7330)=>{const _0x2d816d=_0x558e8a;_0x3b7330[_0x2d816d(0x228)]&&_0x5be1a2[_0x2d816d(0x1d8)](_0x3b7330[_0x2d816d(0x228)]);};_0x13f0ad[_0x558e8a(0x1ce)](_0x558e8a(0x1de),_0x81af2a,{'priority':_0x558e8a(0x1ff)}),_0x507288[_0x558e8a(0x1fd)][_0x558e8a(0x1ed)](_0x558e8a(0x222),_0x31a9aa),_0x13f0ad[_0x558e8a(0x1e2)](_0x558e8a(0x1de),_0x81af2a);}[_0x5b12cc(0x21b)](_0xe16d88){const _0x52379b=_0x5b12cc,{model:_0x399ed6}=this[_0x52379b(0x1f1)],_0x2fe8e9=Array[_0x52379b(0x239)](_0xe16d88[_0x52379b(0x1fc)]());return _0x2fe8e9[_0x52379b(0x1fb)]?_0x399ed6[_0x52379b(0x1d5)](_0x2fe8e9[_0x52379b(0x1d0)]()):_0xe16d88[_0x52379b(0x20b)]();}[_0x5b12cc(0x220)](_0x4306c6,_0x55f17f){const _0x26b5ff=_0x5b12cc,{model:_0x4634a6,plugins:_0x5a156d}=this[_0x26b5ff(0x1f1)];if(_0x5a156d[_0x26b5ff(0x1fe)](_0x26b5ff(0x1d9))){const _0x261b19=_0x5a156d[_0x26b5ff(0x218)](_0x26b5ff(0x1d9))[_0x26b5ff(0x1d4)](_0x55f17f);if(_0x261b19[_0x26b5ff(0x1fb)]){const _0x16c28=this[_0x26b5ff(0x1ea)](_0x4306c6),_0x59aaaa=this[_0x26b5ff(0x1ef)](_0x261b19,_0x16c28);return _0x4634a6[_0x26b5ff(0x205)](_0x59aaaa,0x0);}}return null;}[_0x5b12cc(0x1ea)](_0x12b2a4){const _0x357830=_0x5b12cc,_0x857de=this[_0x357830(0x1f1)][_0x357830(0x232)][_0x357830(0x218)](_0x357830(0x1d9)),_0x1bf638=this[_0x357830(0x1f1)][_0x357830(0x1f8)][_0x357830(0x22d)](_0x12b2a4),_0x498dae=Array[_0x357830(0x239)](_0x1bf638[_0x357830(0x21a)]())[_0x357830(0x1dd)](_0xba8293=>_0xba8293['is'](_0x357830(0x23a),_0x357830(0x233)));let _0x483380=0x0;return _0x498dae[_0x357830(0x204)](_0x52aaeb=>{const _0x20c46c=_0x357830;_0x483380+=_0x857de[_0x20c46c(0x1cd)](_0x52aaeb);}),_0x483380;}[_0x5b12cc(0x1ef)](_0x1dbf04,_0x3c4a9d){const _0x1f6060=_0x5b12cc,_0x5c3d6f=this[_0x1f6060(0x1f1)][_0x1f6060(0x232)][_0x1f6060(0x218)](_0x1f6060(0x1d9)),_0x23ce41=_0x5c3d6f[_0x1f6060(0x1e0)](_0x1dbf04),_0x1b85da=_0x5c3d6f[_0x1f6060(0x1f7)](_0x1dbf04),_0x5c7679=_0x23ce41[_0x1f6060(0x22c)]+0x1,_0x1d778b=_0x1b85da[_0x1f6060(0x213)],_0x422108=_0x1dbf04[0x0][_0x1f6060(0x1db)](_0x1f6060(0x233));for(let _0x53c55f=0x0;_0x53c55f<_0x3c4a9d;_0x53c55f++)_0x5c3d6f[_0x1f6060(0x1e1)](_0x422108,{'at':_0x5c7679});return _0x422108[_0x1f6060(0x231)](_0x5c7679)[_0x1f6060(0x231)](_0x1d778b);}[_0x5b12cc(0x225)](_0xd2b678,_0x2793e2){const _0x455842=_0x5b12cc,{plugins:_0x532534}=this[_0x455842(0x1f1)],{model:_0x37196e}=_0xd2b678;if(!_0x532534[_0x455842(0x1fe)](_0x455842(0x1d9)))return;_0x532534[_0x455842(0x218)](_0x455842(0x1d9))[_0x455842(0x1d4)](_0x2793e2)[_0x455842(0x1fb)]&&_0x37196e[_0x455842(0x22e)](_0x2793e2);}}function _0x1f8d(){const _0x7c0049=['markers','_resetContentOfSelectedTableCells','11188160mzivvh','removeMarker','resultRange','end','push','addClass','last','parse','deleteContent','hideFakeVisualSelection','text/html','getChild','plugins','table','config','createSelection','12537idOfyJ','getFirstRange','isPremiumPlugin','from','element','isCollapsed','schema','getRows','once','808oAlgqQ','pop','join','init','createUIElement','getSelectedTableCells','createPositionAfter','span','href','setSelection','TableUtils','insertContentBelow','findAncestor','showFakeVisualSelection','filter','contentInsertion','map','getRowIndexes','insertRows','off','canEditAt','editing','413wiAzvS','pluginName','AIAssistantEditing','_pasteHTMLUsingClipboard','3941334egGRgZ','_getTableRowCountFromContent','markerToHighlight','addMarker','fire','ck-fake-ai-selection_collapsed','_createEmptyTableRows','for','editor','getLastMatchingPosition','getMarkersGroup','markerToElement','selection','getRange','getColumnIndexes','data','isContent','afterInit','length','getSelectedBlocks','document','has','lowest','createRange','166DIDmxN','4664GrkhXM','fromCharCode','forEach','createPositionAt','conversion','5GriOdS','ai.useTheme','start','insertContent','getLastPosition','markerRange','setData','isAtEnd','isOfficialPlugin','editingDowncast','ck-ai-assistant-ui_theme','model','first','7322568OuLiFa','ai-ui','getRanges','change','get','updateMarker','getChildren','_getDefaultInsertBelowPosition','DataTransfer','2771613qByvil','11RSsZOB','ck-fake-ai-selection','_prepareTableInsertBelowPosition','18621sAPMlg','paste','_getAISelection'];_0x1f8d=function(){return _0x7c0049;};return _0x1f8d();}
|
|
23
|
+
const _0x50bf74=_0x963c;(function(_0x12efdf,_0x12667e){const _0x314392=_0x963c,_0x609f15=_0x12efdf();while(!![]){try{const _0xa16051=-parseInt(_0x314392(0x1ef))/0x1+parseInt(_0x314392(0x1e3))/0x2*(parseInt(_0x314392(0x206))/0x3)+-parseInt(_0x314392(0x1bc))/0x4*(-parseInt(_0x314392(0x1ff))/0x5)+parseInt(_0x314392(0x1d7))/0x6*(parseInt(_0x314392(0x1ca))/0x7)+-parseInt(_0x314392(0x1d9))/0x8+-parseInt(_0x314392(0x1f1))/0x9*(parseInt(_0x314392(0x20a))/0xa)+parseInt(_0x314392(0x225))/0xb;if(_0xa16051===_0x12667e)break;else _0x609f15['push'](_0x609f15['shift']());}catch(_0x2b0829){_0x609f15['push'](_0x609f15['shift']());}}}(_0x55bf,0x86903));import{uid as _0x2cefbf}from'ckeditor5/src/utils.js';function _0x55bf(){const _0x36021d=['get','_prepareTableInsertBelowPosition','hideFakeVisualSelection','href','editingDowncast','setSelection','plugins','forEach','isOfficialPlugin','_pasteHTMLUsingClipboard','getColumnIndexes','ck-ai-assistant-ui_theme','21cWWqlh','last','resultRange','from','fromCharCode','push','createUIElement','contentInsertion','getSelectedBlocks','init','getMarkersGroup','createRange','TableUtils','1682586LxHzAG','schema','5843672LNjVLm','getChild','ck-fake-ai-selection','insertRows','ai.useTheme','insertContent','createPositionAt','pop','getLastPosition','lowest','6zxpUBk','config','findAncestor','for','removeMarker','markerRange','_resetContentOfSelectedTableCells','start','editing','getRowIndexes','ai-ui','ck-fake-ai-selection_collapsed','821592QlFeAm','join','270gHyVsT','createPositionAfter','_getDefaultInsertBelowPosition','document','markers','insertContentBelow','off','_getTableRowCountFromContent','afterInit','getLastMatchingPosition','element','pluginName','table','_createEmptyTableRows','52125KGKpfL','map','has','paste','showFakeVisualSelection','conversion','getRange','294519luCXTk','addMarker','setData','AIAssistantEditing','339950WtIqPv','text/html','getRanges','end','getRows','change','filter','data','isCollapsed','isContent','first','fire','length','createSelection','markerToElement','isAtEnd','getFirstRange','markerToHighlight','getChildren','parse','model','updateMarker','isPremiumPlugin','DataTransfer','addClass','editor','getSelectedTableCells','11195085xbIjCA','deleteContent','canEditAt','selection','_getAISelection','span','372ZJitFM','once'];_0x55bf=function(){return _0x36021d;};return _0x55bf();}function _0x963c(_0x359e8c,_0x21ace3){const _0x55bf85=_0x55bf();return _0x963c=function(_0x963cba,_0x13f1ad){_0x963cba=_0x963cba-0x1b9;let _0x4f9290=_0x55bf85[_0x963cba];return _0x4f9290;},_0x963c(_0x359e8c,_0x21ace3);}import{Plugin as _0x22139e}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x15af3a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x7f64c1,DataTransfer as _0x5e79ef}from'ckeditor5/src/engine.js';const w=globalThis[_0x50bf74(0x221)],f=_0x50bf74(0x1ed);export default class a extends _0x22139e{static get[_0x50bf74(0x1fc)](){const _0x57d013=_0x50bf74;return _0x57d013(0x209);}static get[_0x50bf74(0x1c6)](){return!0x0;}static get[_0x50bf74(0x220)](){return!0x0;}[_0x50bf74(0x1d3)](){const _0x2f29b3=_0x50bf74,{editor:_0x33471a}=this,_0x5e803e=[_0x2f29b3(0x1db)];_0x33471a[_0x2f29b3(0x1e4)][_0x2f29b3(0x1be)](_0x2f29b3(0x1dd))&&_0x5e803e[_0x2f29b3(0x1cf)](_0x2f29b3(0x1c9)),_0x33471a[_0x2f29b3(0x204)][_0x2f29b3(0x1e6)](_0x2f29b3(0x1c2))[_0x2f29b3(0x21b)]({'model':f,'view':{'classes':_0x5e803e,'priority':0xc}}),_0x33471a[_0x2f29b3(0x204)][_0x2f29b3(0x1e6)](_0x2f29b3(0x1c2))[_0x2f29b3(0x218)]({'model':f,'view':(_0x5aab09,{writer:_0x5da046})=>{const _0x28bb52=_0x2f29b3;if(!_0x5aab09[_0x28bb52(0x1e8)][_0x28bb52(0x212)])return null;const _0x1091ab=_0x5da046[_0x28bb52(0x1d0)](_0x28bb52(0x1bb));return _0x5da046[_0x28bb52(0x222)]([_0x28bb52(0x1db),_0x28bb52(0x1ee)],_0x1091ab),_0x1091ab;}});}[_0x50bf74(0x1f9)](){!async function(_0x219e24){const _0x27d198=_0x34008f([0x41,0x54,0x74,0x33,0x75,0x42,0x48,0x62,0x51,0x4a,0x52,0x32,0x55,0x4f,0x35,0x79,0x38,0x36,0x77,0x37,0x65,0x53,0x34,0x4e,0x4b,0x44,0x50,0x46,0x6e,0x76,0x69,0x5a,0x68,0x71,0x45,0x72,0x61,0x66,0x56,0x64,0x67,0x31,0x70,0x47,0x57,0x6d,0x4d,0x59,0x39,0x6c,0x4c,0x78,0x30,0x6b,0x43,0x49,0x63,0x58,0x6a,0x6f,0x73,0x7a]),_0x33dd8e=0x5501ce6d,_0x260953=0x5506aa7d^_0x33dd8e,_0x227e3b=window[_0x34008f([0x44,0x61,0x74,0x65])][_0x34008f([0x6e,0x6f,0x77])](),_0xe2411e=_0x219e24[_0x34008f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17ed60=new window[(_0x34008f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7dcf95=>{_0xe2411e[_0x34008f([0x6f,0x6e,0x63,0x65])](_0x34008f([0x72,0x65,0x61,0x64,0x79]),_0x7dcf95);}),_0x27dd41={[_0x34008f([0x6b,0x74,0x79])]:_0x34008f([0x45,0x43]),[_0x34008f([0x75,0x73,0x65])]:_0x34008f([0x73,0x69,0x67]),[_0x34008f([0x63,0x72,0x76])]:_0x34008f([0x50,0x2d,0x32,0x35,0x36]),[_0x34008f([0x78])]:_0x34008f([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]),[_0x34008f([0x79])]:_0x34008f([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]),[_0x34008f([0x61,0x6c,0x67])]:_0x34008f([0x45,0x53,0x32,0x35,0x36])},_0x4b77e=_0xe2411e[_0x34008f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34008f([0x67,0x65,0x74])](_0x34008f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4ab99a(){let _0x530007,_0x4ff432=null,_0x2d0dfe=null;try{if(_0x4b77e==_0x34008f([0x47,0x50,0x4c]))return _0x34008f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x530007=_0x38467f(),!_0x530007)return _0x34008f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x530007[_0x34008f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d0dfe=_0x3846f8(_0x530007[_0x34008f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x530007[_0x34008f([0x6a,0x74,0x69])])),await _0xd9ea32()?_0x108a63()?_0x3ebcea()?_0x34008f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4165f4()?(_0x530007[_0x34008f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34008f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ff432=_0x2b84fa(_0x34008f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x530007[_0x34008f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34008f([0x74,0x72,0x69,0x61,0x6c])&&(_0x4ff432=_0x2b84fa(_0x34008f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20adf2()):_0x34008f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34008f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34008f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x21de65){return _0x34008f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ebcea(){const _0x3fd505=[_0x34008f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34008f([0x74,0x72,0x69,0x61,0x6c])][_0x34008f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x530007[_0x34008f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x227e3b/0x3e8:0xe10*_0x260953;return _0x530007[_0x34008f([0x65,0x78,0x70])]<_0x3fd505;}function _0x108a63(){const _0x18ab67=_0x530007[_0x34008f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18ab67&&(!!_0x18ab67[_0x34008f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34008f([0x2a]))||!!_0x18ab67[_0x34008f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34008f([0x41,0x49])));}function _0x4165f4(){const _0x1c7a4a=_0x963c,_0x1ab9c4=_0x530007[_0x34008f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1ab9c4||0x0==_0x1ab9c4[_0x34008f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23a6bf}=new URL(window[_0x34008f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1c7a4a(0x1c1)]);if(_0x1ab9c4[_0x34008f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23a6bf))return!0x0;const _0x5ef8ae=_0x23a6bf[_0x34008f([0x73,0x70,0x6c,0x69,0x74])](_0x34008f([0x2e]));return _0x1ab9c4[_0x34008f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x366dba=>_0x366dba[_0x34008f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34008f([0x2a])))[_0x34008f([0x6d,0x61,0x70])](_0x173ed0=>_0x173ed0[_0x34008f([0x73,0x70,0x6c,0x69,0x74])](_0x34008f([0x2e])))[_0x34008f([0x73,0x6f,0x6d,0x65])](_0x1fe04e=>_0x5ef8ae[_0x34008f([0x65,0x76,0x65,0x72,0x79])]((_0x57e567,_0x464017)=>_0x1fe04e[_0x464017]===_0x57e567||_0x1fe04e[_0x464017]===_0x34008f([0x2a])));}function _0x20adf2(){return _0x4ff432&&_0x2d0dfe?new window[(_0x34008f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x6be70e,_0x2e3bfe)=>{_0x4ff432[_0x34008f([0x74,0x68,0x65,0x6e])](_0x6be70e,_0x2e3bfe),_0x2d0dfe[_0x34008f([0x74,0x68,0x65,0x6e])](_0x5af490=>{_0x5af490!=_0x34008f([0x56,0x61,0x6c,0x69,0x64])&&_0x6be70e(_0x5af490);},_0x2e3bfe);}):_0x4ff432||_0x2d0dfe||_0x34008f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3846f8(_0x28c83d,_0x2c0c8b){return new window[(_0x34008f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c33dd=>{if(_0x174de8())return _0x4c33dd(_0x34008f([0x56,0x61,0x6c,0x69,0x64]));_0x4da04d(),_0xe2411e[_0x34008f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34008f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x512934=!0x1;const _0x1ef840=_0x2cefbf();function _0x53ed10(_0x5cf67f){return!!_0x5cf67f&&(typeof _0x5cf67f===_0x34008f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5cf67f===_0x34008f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5cf67f[_0x34008f([0x74,0x68,0x65,0x6e])]===_0x34008f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5cf67f[_0x34008f([0x63,0x61,0x74,0x63,0x68])]===_0x34008f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4882cd(_0xb01036){_0x97b9ea(_0xb01036)[_0x34008f([0x74,0x68,0x65,0x6e])](_0x529c35=>{if(!_0x529c35||_0x529c35[_0x34008f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34008f([0x6f,0x6b]))return _0x34008f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ab551(_0x5bc0e4(_0x1ef840+_0x2c0c8b))!=_0x529c35[_0x34008f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34008f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34008f([0x56,0x61,0x6c,0x69,0x64]);})[_0x34008f([0x74,0x68,0x65,0x6e])](_0x4144f5=>(_0x161e03(),_0x4144f5),()=>{const _0x4d7e2c=_0x1d0683();return null==_0x4d7e2c?(_0x161e03(),_0x34008f([0x56,0x61,0x6c,0x69,0x64])):_0x34008f(_0x227e3b-_0x4d7e2c>(0x710d4a6d^_0x33dd8e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34008f([0x74,0x68,0x65,0x6e])](_0x4c33dd)[_0x34008f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c33dd(_0x34008f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x516dcb=0x553720ed^_0x33dd8e;function _0x161e03(){const _0x2f18a4=_0x34008f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ab551(_0x5bc0e4(_0x28c83d)),_0x41c489=_0x51a38c(_0x1ab551(window[_0x34008f([0x4d,0x61,0x74,0x68])][_0x34008f([0x63,0x65,0x69,0x6c])](_0x227e3b/_0x516dcb)));window[_0x34008f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34008f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f18a4,_0x41c489);}function _0x1d0683(){const _0x819721=_0x34008f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ab551(_0x5bc0e4(_0x28c83d)),_0x168be1=window[_0x34008f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34008f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x819721);return _0x168be1?window[_0x34008f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51a38c(_0x168be1),0x10)*_0x516dcb:null;}function _0x97b9ea(_0x3a79d8){return new window[(_0x34008f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28545b,_0x3e9012)=>{_0x3a79d8[_0x34008f([0x74,0x68,0x65,0x6e])](_0x28545b,_0x3e9012),window[_0x34008f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e9012,0x55001aad^_0x33dd8e);});}}_0xe2411e[_0x34008f([0x6f,0x6e])](_0x34008f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e5dbe,_0xcd8bfb)=>{if(_0xcd8bfb[0x0]!=_0x28c83d)return _0x4c33dd(_0x34008f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xcd8bfb[0x1]={..._0xcd8bfb[0x1],[_0x34008f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ef840};},{[_0x34008f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34008f([0x68,0x69,0x67,0x68])}),_0xe2411e[_0x34008f([0x6f,0x6e])](_0x34008f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc149ef=>{_0x53ed10(_0xc149ef[_0x34008f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x512934=!0x0,_0x4882cd(_0xc149ef[_0x34008f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34008f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34008f([0x6c,0x6f,0x77])}),_0x17ed60[_0x34008f([0x74,0x68,0x65,0x6e])](()=>{_0x512934||_0x4c33dd(_0x34008f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x174de8(){return _0xe2411e[_0x34008f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34008f([0x76,0x69,0x65,0x77])][_0x34008f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34008f([0x61,0x75,0x74,0x6f]);}function _0x4da04d(){_0xe2411e[_0x34008f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34008f([0x76,0x69,0x65,0x77])][_0x34008f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34008f([0x61,0x75,0x74,0x6f]);}}function _0x2b84fa(_0x1a2ac4){const _0x1be3b0=[new window[(_0x34008f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1f54=>setTimeout(_0x2a1f54,0x5508f0a1^_0x33dd8e)),_0x17ed60[_0x34008f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34008f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3773a7=>{let _0x388586=0x0;_0xe2411e[_0x34008f([0x6d,0x6f,0x64,0x65,0x6c])][_0x34008f([0x6f,0x6e])](_0x34008f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x7810b8,_0x583b77)=>{_0x583b77[0x0][_0x34008f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x388586++,_0x388586==(0x5501cf95^_0x33dd8e)&&(_0x3773a7(),_0x7810b8[_0x34008f([0x6f,0x66,0x66])]());});}))];return window[_0x34008f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34008f([0x72,0x61,0x63,0x65])](_0x1be3b0)[_0x34008f([0x74,0x68,0x65,0x6e])](()=>_0x1a2ac4);}async function _0x177fc5(){await _0x17ed60,_0xe2411e[_0x34008f([0x6d,0x6f,0x64,0x65,0x6c])][_0x34008f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d7f3b,_0xe2411e[_0x34008f([0x6d,0x6f,0x64,0x65,0x6c])][_0x34008f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d7f3b,_0xe2411e[_0x34008f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34008f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d8207(_0x4f36d0){const _0x77845f=_0x10f52a();_0xe2411e[_0x77845f]=_0x34008f([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f36d0,_0x4f36d0!=_0x34008f([0x56,0x61,0x6c,0x69,0x64])&&_0x177fc5();}function _0x10f52a(){const _0x49cf8a=window[_0x34008f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34008f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34008f([0x6e,0x6f,0x77])]())[_0x34008f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34008f([0x2e]),'');let _0x59f2db=_0x34008f([0x41]);for(let _0x5f2f20=0x0;_0x5f2f20<_0x49cf8a[_0x34008f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f2f20+=0x2){let _0x587258=window[_0x34008f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49cf8a[_0x34008f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f2f20,_0x5f2f20+0x2));_0x587258>=_0x27d198[_0x34008f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x587258-=_0x27d198[_0x34008f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59f2db+=_0x27d198[_0x587258];}return _0x59f2db;}function _0x38467f(){const _0x26a886=_0x4b77e[_0x34008f([0x73,0x70,0x6c,0x69,0x74])](_0x34008f([0x2e]));if(0x3!=_0x26a886[_0x34008f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x54373c(_0x26a886[0x1]);function _0x54373c(_0x11a9e7){const _0x473940=_0x4262fd(_0x11a9e7);return _0x473940&&_0x211b79()?_0x473940:null;function _0x211b79(){const _0x24670e=_0x473940[_0x34008f([0x6a,0x74,0x69])],_0x4823c7=window[_0x34008f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24670e[_0x34008f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24670e[_0x34008f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d3638={..._0x473940,[_0x34008f([0x6a,0x74,0x69])]:_0x24670e[_0x34008f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24670e[_0x34008f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d3638[_0x34008f([0x76,0x63])],_0x5bc0e4(_0x5d3638)==_0x4823c7;}}}async function _0xd9ea32(){let _0x33cedc=!0x0;try{const _0x5300cf=_0x4b77e[_0x34008f([0x73,0x70,0x6c,0x69,0x74])](_0x34008f([0x2e])),[_0x2ae959,_0x441468,_0x5f36cd]=_0x5300cf;return _0x5ed219(_0x2ae959),await _0x20f9a5(_0x2ae959,_0x441468,_0x5f36cd),_0x33cedc;}catch(_0x1a741d){return!0x1;}function _0x5ed219(_0xa8f4e8){const _0x11f687=_0x4262fd(_0xa8f4e8);_0x11f687&&_0x11f687[_0x34008f([0x61,0x6c,0x67])]==_0x34008f([0x45,0x53,0x32,0x35,0x36])||(_0x33cedc=!0x1);}async function _0x20f9a5(_0xccf15d,_0x4d8103,_0x243242){const _0x10b9a7=window[_0x34008f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34008f([0x66,0x72,0x6f,0x6d])](_0x29d945(_0x243242),_0x419014=>_0x419014[_0x34008f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19546a=new window[(_0x34008f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34008f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xccf15d+_0x34008f([0x2e])+_0x4d8103),_0x249f7c=window[_0x34008f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34008f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x249f7c)return;const _0x127c24=await _0x249f7c[_0x34008f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34008f([0x6a,0x77,0x6b]),_0x27dd41,{[_0x34008f([0x6e,0x61,0x6d,0x65])]:_0x34008f([0x45,0x43,0x44,0x53,0x41]),[_0x34008f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34008f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34008f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x249f7c[_0x34008f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34008f([0x6e,0x61,0x6d,0x65])]:_0x34008f([0x45,0x43,0x44,0x53,0x41]),[_0x34008f([0x68,0x61,0x73,0x68])]:{[_0x34008f([0x6e,0x61,0x6d,0x65])]:_0x34008f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x127c24,_0x10b9a7,_0x19546a)||(_0x33cedc=!0x1);}}function _0x4262fd(_0x44d0c7){return _0x44d0c7[_0x34008f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34008f([0x65,0x79]))?JSON[_0x34008f([0x70,0x61,0x72,0x73,0x65])](_0x29d945(_0x44d0c7)):null;}function _0x29d945(_0x19eb43){return window[_0x34008f([0x61,0x74,0x6f,0x62])](_0x19eb43[_0x34008f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34008f([0x2b]))[_0x34008f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34008f([0x2f])));}function _0x5bc0e4(_0x3bf474){let _0x2333a3=0x1505;function _0x2e803f(_0x5bd822){for(let _0x24a7cd=0x0;_0x24a7cd<_0x5bd822[_0x34008f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24a7cd++){const _0x216aad=_0x5bd822[_0x34008f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x24a7cd);_0x2333a3=(_0x2333a3<<0x5)+_0x2333a3+_0x216aad,_0x2333a3&=_0x2333a3;}}function _0x4613c3(_0x13b6f2){Array[_0x34008f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13b6f2)?_0x13b6f2[_0x34008f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4613c3):_0x13b6f2&&typeof _0x13b6f2==_0x34008f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34008f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13b6f2)[_0x34008f([0x73,0x6f,0x72,0x74])]()[_0x34008f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x101cfa,_0x534f7b])=>{_0x2e803f(_0x101cfa),_0x4613c3(_0x534f7b);}):_0x2e803f(window[_0x34008f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13b6f2));}return _0x4613c3(_0x3bf474),_0x2333a3>>>0x0;}function _0x1ab551(_0x27beea){return _0x27beea[_0x34008f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34008f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34008f([0x30]));}function _0x51a38c(_0x53cfa3){return _0x53cfa3[_0x34008f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34008f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34008f([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d7f3b(){}function _0x34008f(_0x5747d1){const _0x3488dc=_0x963c;return _0x5747d1[_0x3488dc(0x200)](_0xb76ec=>String[_0x3488dc(0x1ce)](_0xb76ec))[_0x3488dc(0x1f0)]('');}_0x1d8207(await _0x4ab99a());}(this);}[_0x50bf74(0x203)](){const _0x45bd64=_0x50bf74,_0x190966=this[_0x45bd64(0x223)][_0x45bd64(0x21e)];_0x190966[_0x45bd64(0x20f)](_0x23afce=>{const _0x2d419c=_0x45bd64,_0x126c33=_0x190966[_0x2d419c(0x1f4)][_0x2d419c(0x1b9)][_0x2d419c(0x20c)]();let _0x5d35fe=0x0;for(const _0x443c7e of _0x126c33){const _0x27fec4=f+':'+_0x5d35fe;if(_0x190966[_0x2d419c(0x1f5)][_0x2d419c(0x201)](_0x27fec4))_0x23afce[_0x2d419c(0x21f)](_0x27fec4,{'range':_0x443c7e});else{if(_0x443c7e[_0x2d419c(0x1ea)][_0x2d419c(0x219)]){const _0x481773=_0x443c7e[_0x2d419c(0x1ea)][_0x2d419c(0x1fa)](({item:_0x688142})=>!_0x190966[_0x2d419c(0x1d8)][_0x2d419c(0x213)](_0x688142),{'boundaries':_0x443c7e});_0x23afce[_0x2d419c(0x207)](_0x27fec4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x23afce[_0x2d419c(0x1d5)](_0x481773,_0x443c7e[_0x2d419c(0x20d)])});}else _0x23afce[_0x2d419c(0x207)](_0x27fec4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x443c7e});}_0x5d35fe++;}});}[_0x50bf74(0x1c0)](){const _0x54daf0=_0x50bf74,_0x5732f2=this[_0x54daf0(0x223)][_0x54daf0(0x21e)],_0x3a43f4=Array[_0x54daf0(0x1cd)](this[_0x54daf0(0x223)][_0x54daf0(0x21e)][_0x54daf0(0x1f5)][_0x54daf0(0x1d4)](f));_0x3a43f4[_0x54daf0(0x216)]&&_0x5732f2[_0x54daf0(0x20f)](_0x1ae34c=>{const _0x40edef=_0x54daf0;_0x3a43f4[_0x40edef(0x1c5)](_0x476b41=>{const _0xdee218=_0x40edef;_0x1ae34c[_0xdee218(0x1e7)](_0x476b41);});});}[_0x50bf74(0x1de)](_0x3c6fae,_0x4ec5f4){const _0x38a11d=_0x50bf74,_0xc82777=this[_0x38a11d(0x1ba)](),_0x529694=_0x4ec5f4||_0xc82777[_0x38a11d(0x21a)]();this[_0x38a11d(0x223)][_0x38a11d(0x21e)][_0x38a11d(0x227)](_0x529694)&&this[_0x38a11d(0x223)][_0x38a11d(0x21e)][_0x38a11d(0x20f)](_0x477d80=>{const _0x26a4e5=_0x38a11d;this[_0x26a4e5(0x1c0)](),_0x4ec5f4||this[_0x26a4e5(0x1e9)](_0x477d80,_0xc82777),this[_0x26a4e5(0x1c7)]({'insertAt':_0x529694,'writer':_0x477d80,'html':_0x3c6fae});});}[_0x50bf74(0x1f6)](_0x596743){const _0x3a5ce3=_0x50bf74,{model:_0x20c257}=this[_0x3a5ce3(0x223)],_0x30f0ad=this[_0x3a5ce3(0x1ba)]();_0x20c257[_0x3a5ce3(0x20f)](()=>{const _0x1242f2=_0x3a5ce3,_0x36b743=this[_0x1242f2(0x1bf)](_0x596743,_0x30f0ad)||this[_0x1242f2(0x1f3)](_0x30f0ad);this[_0x1242f2(0x1de)](_0x596743,_0x36b743);});}[_0x50bf74(0x1ba)](){const _0x28c453=_0x50bf74,_0x500d0e=this[_0x28c453(0x223)][_0x28c453(0x21e)],_0x37cd6b=Array[_0x28c453(0x1cd)](_0x500d0e[_0x28c453(0x1f5)][_0x28c453(0x1d4)](f))[_0x28c453(0x200)](_0x1fece9=>_0x1fece9[_0x28c453(0x205)]());return _0x500d0e[_0x28c453(0x217)](_0x37cd6b);}[_0x50bf74(0x1c7)]({writer:_0x662758,html:_0x22895d,insertAt:_0x3d7ba1}){const _0x538b77=_0x50bf74,{view:_0x58506d}=this[_0x538b77(0x223)][_0x538b77(0x1eb)],_0x1d79e7=this[_0x538b77(0x223)][_0x538b77(0x1c4)][_0x538b77(0x1be)](_0x15af3a),_0x3fab0e=new w();_0x3fab0e[_0x538b77(0x208)](_0x538b77(0x20b),_0x22895d);const _0x3767f1=new ClipboardEvent(_0x538b77(0x202),{'clipboardData':_0x3fab0e}),_0x514f6b=new _0x7f64c1(_0x58506d,_0x3767f1,{'dataTransfer':new _0x5e79ef(_0x3fab0e)});_0x662758[_0x538b77(0x1c3)](_0x3d7ba1);const _0x4a1b74=(_0x28599e,_0x22f5de)=>{const _0x22d17e=_0x538b77;_0x22f5de[_0x22d17e(0x1cc)]&&_0x662758[_0x22d17e(0x1c3)](_0x22f5de[_0x22d17e(0x1cc)]);};_0x1d79e7[_0x538b77(0x1bd)](_0x538b77(0x1d1),_0x4a1b74,{'priority':_0x538b77(0x1e2)}),_0x58506d[_0x538b77(0x1f4)][_0x538b77(0x215)](_0x538b77(0x202),_0x514f6b),_0x1d79e7[_0x538b77(0x1f7)](_0x538b77(0x1d1),_0x4a1b74);}[_0x50bf74(0x1f3)](_0x2d6112){const _0x10a37b=_0x50bf74,{model:_0x598f34}=this[_0x10a37b(0x223)],_0x86dd54=Array[_0x10a37b(0x1cd)](_0x2d6112[_0x10a37b(0x1d2)]());return _0x86dd54[_0x10a37b(0x216)]?_0x598f34[_0x10a37b(0x1f2)](_0x86dd54[_0x10a37b(0x1e0)]()):_0x2d6112[_0x10a37b(0x1e1)]();}[_0x50bf74(0x1bf)](_0x2c9385,_0x4f6d08){const _0x2e043e=_0x50bf74,{model:_0x3fce33,plugins:_0x461ac4}=this[_0x2e043e(0x223)];if(_0x461ac4[_0x2e043e(0x201)](_0x2e043e(0x1d6))){const _0x19d4fe=_0x461ac4[_0x2e043e(0x1be)](_0x2e043e(0x1d6))[_0x2e043e(0x224)](_0x4f6d08);if(_0x19d4fe[_0x2e043e(0x216)]){const _0x49f7f8=this[_0x2e043e(0x1f8)](_0x2c9385),_0xcc8df2=this[_0x2e043e(0x1fe)](_0x19d4fe,_0x49f7f8);return _0x3fce33[_0x2e043e(0x1df)](_0xcc8df2,0x0);}}return null;}[_0x50bf74(0x1f8)](_0x3e77bf){const _0x2d9a64=_0x50bf74,_0x196b84=this[_0x2d9a64(0x223)][_0x2d9a64(0x1c4)][_0x2d9a64(0x1be)](_0x2d9a64(0x1d6)),_0x51389f=this[_0x2d9a64(0x223)][_0x2d9a64(0x211)][_0x2d9a64(0x21d)](_0x3e77bf),_0x54c601=Array[_0x2d9a64(0x1cd)](_0x51389f[_0x2d9a64(0x21c)]())[_0x2d9a64(0x210)](_0x35d580=>_0x35d580['is'](_0x2d9a64(0x1fb),_0x2d9a64(0x1fd)));let _0x16b81b=0x0;return _0x54c601[_0x2d9a64(0x1c5)](_0x4822c5=>{const _0x18cc78=_0x2d9a64;_0x16b81b+=_0x196b84[_0x18cc78(0x20e)](_0x4822c5);}),_0x16b81b;}[_0x50bf74(0x1fe)](_0x2c55d4,_0x27cc6e){const _0x53d96c=_0x50bf74,_0x223ddc=this[_0x53d96c(0x223)][_0x53d96c(0x1c4)][_0x53d96c(0x1be)](_0x53d96c(0x1d6)),_0x30745e=_0x223ddc[_0x53d96c(0x1ec)](_0x2c55d4),_0x43490e=_0x223ddc[_0x53d96c(0x1c8)](_0x2c55d4),_0x5a6d26=_0x30745e[_0x53d96c(0x1cb)]+0x1,_0x49f38b=_0x43490e[_0x53d96c(0x214)],_0x26fb54=_0x2c55d4[0x0][_0x53d96c(0x1e5)](_0x53d96c(0x1fd));for(let _0x19b830=0x0;_0x19b830<_0x27cc6e;_0x19b830++)_0x223ddc[_0x53d96c(0x1dc)](_0x26fb54,{'at':_0x5a6d26});return _0x26fb54[_0x53d96c(0x1da)](_0x5a6d26)[_0x53d96c(0x1da)](_0x49f38b);}[_0x50bf74(0x1e9)](_0x115ec2,_0xdb894e){const _0x32108b=_0x50bf74,{plugins:_0x200850}=this[_0x32108b(0x223)],{model:_0x5aa3d7}=_0x115ec2;if(!_0x200850[_0x32108b(0x201)](_0x32108b(0x1d6)))return;_0x200850[_0x32108b(0x1be)](_0x32108b(0x1d6))[_0x32108b(0x224)](_0xdb894e)[_0x32108b(0x216)]&&_0x5aa3d7[_0x32108b(0x226)](_0xdb894e);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x34378a=_0x1f5d;(function(_0x4d2a93,_0x35f164){const _0x5cc61b=_0x1f5d,_0x256e04=_0x4d2a93();while(!![]){try{const _0x253bdf=parseInt(_0x5cc61b(0x1ef))/0x1+parseInt(_0x5cc61b(0x1eb))/0x2*(parseInt(_0x5cc61b(0x195))/0x3)+-parseInt(_0x5cc61b(0x1e4))/0x4+-parseInt(_0x5cc61b(0x1bf))/0x5*(parseInt(_0x5cc61b(0x1b1))/0x6)+parseInt(_0x5cc61b(0x1d1))/0x7+parseInt(_0x5cc61b(0x1b5))/0x8+-parseInt(_0x5cc61b(0x17b))/0x9;if(_0x253bdf===_0x35f164)break;else _0x256e04['push'](_0x256e04['shift']());}catch(_0x28a4d6){_0x256e04['push'](_0x256e04['shift']());}}}(_0x33b8,0x4589e));function _0x33b8(){const _0x682084=['push','editing','menuView','ck-ai-commands-dropdown\x20','children','isEnabled','enabledCommandsIds','757965VsEOHj','requires','groupLabel','isFlat','forEach','buttons','media','splice','Generated\x20content:\x20%0','Error\x20during\x20AI\x20content\x20generation:\x20%0','length','_aiAdapter','updatePosition','from','insertContentBelow','plugins','ai.aiAssistant.contentAreaCssClass','body','1542541sjLjSQ','execute','ai.aiAssistant.disabledElements','init','_createAIAssistantUIButton','isCollapsed','editor','_aiAssistantController','setSelection','EDITOR_TOP_SIDE','schema','promptView','insertContent','isPremiumPlugin','showFakeVisualSelection','<p>','evaluationLimit','hide','groupId','1484460IOBMdj','_forceMarkersCopy','domainLimit','once','custom','fire','textAdapter','16532rFrQnP','selection','copy','trialLimit','566731zBgAVk','_getMenuBarGroupButtons','AI\x20is\x20writing','reset','hideFakeVisualSelection','menuBar:aiCommands','view','getRanges','map','showUI','model','change','aiLicenseKeyExpired','set','getSelectedBlocks','_onExecute','ai.aiAssistant.commands','licenseKey','updateView','aiLicenseKeyNotAllowed','wasMoved','delegate','trim','</p>','_formView','focus','getData','queryView','text','\x20ck-ai-assistant-ui_theme','currentContext','getSelectedElement','getLimitElement','pluginName','get','_commandDefinitions','aiLicenseKeyDomainLimit','ck-ai-assistant-ui','aiAssistant','change:isProcessing','_showLicenseError','aiLicenseKeyInvalid','expired','label','hideUI','fieldView','config','change:value','announce','values','isOn','includes','comment','_dialog','aiCommands','ai-commands-config-order-collision','_initAriaAiStatusChangeAnnouncements','prompt','featureNotAllowed','7076430DLbdSa','menuBar:aiAssistant','aiLicenseKeyUsageLimit','polite','sort','document','aiLicenseKeyValid','rawHtml','ck-ai-assistant-button\x20','items','update','AI\x20Assistant','usageLimit','isOfficialPlugin','change:enabledCommandsIds','source','replace','buttonView','INSERT','showAIAssistant','invalid','AIAssistant','show','tableOfContents','DataTransfer','ai.useTheme','87BNbsyZ','text/html','menuPanelClass','commands','_initView','menuitemcheckbox','aiLicenseKeyEvaluationLimit','AI\x20Commands','panelView','locale','change:isError','bind','componentFactory','errorView','command:','add','requiresContent','filter','contentArea','listenTo','destroy','_getResolvedCommandsDefinitions','aiLicenseKeyTrialLimit','_uiCssClasses','render','define','order','REPLACE','6pYOjXt','addMany','replaceContent','_licenseKeyCheckInterval','4536000CnntZX','AIAssistantUI','_populateMenuBarMenu'];_0x33b8=function(){return _0x682084;};return _0x33b8();}import{Plugin as _0x5a8a5a}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1436dc,IconRobotPencil as _0xcefc3f}from'ckeditor5/src/icons.js';import{first as _0x2521dd,CKEditorError as _0x34fc8f}from'ckeditor5/src/utils.js';function _0x1f5d(_0x8b100c,_0x3cfee6){const _0x33b8c4=_0x33b8();return _0x1f5d=function(_0x1f5df3,_0x366e4a){_0x1f5df3=_0x1f5df3-0x150;let _0x3449e9=_0x33b8c4[_0x1f5df3];return _0x3449e9;},_0x1f5d(_0x8b100c,_0x3cfee6);}import{createDropdown as _0x176a46,addMenuToDropdown as _0x2a9639,ButtonView as _0x32b081,MenuBarMenuListItemButtonView as _0x4467cc,Dialog as _0x56a772,DialogViewPosition as _0x155456,MenuBarMenuView as _0x4243f2,MenuBarMenuListView as _0x195b86,MenuBarMenuListItemView as _0x519701}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x472c39,UNGROUPED_COMMANDS_GROUP_ID as _0x2537b3}from'./utils/normalizecommandsconfig.js';import _0x34f569 from'./aiassistantediting.js';import _0x1ab728 from'./adapters/aiadapter.js';import{getTranslation as _0x2d498e}from'./utils/common-translations.js';import _0x4877cd from'./ui/showaiassistantcommand.js';import _0x511c5a from'./ui/aiassistantcontroller.js';import _0x2274ee from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3a201b}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x34378a(0x193)];import{ClipboardMarkersUtils as _0x2da640}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5d1692,DataTransfer as _0x5a0677}from'ckeditor5/src/engine.js';export default class n extends _0x5a8a5a{[_0x34378a(0x151)];[_0x34378a(0x1b4)];[_0x34378a(0x175)];[_0x34378a(0x158)];[_0x34378a(0x1ca)];[_0x34378a(0x1d8)];[_0x34378a(0x1ac)]='';static get[_0x34378a(0x161)](){const _0x15fec6=_0x34378a;return _0x15fec6(0x1b6);}static get[_0x34378a(0x188)](){return!0x0;}static get[_0x34378a(0x1de)](){return!0x0;}static get[_0x34378a(0x1c0)](){return[_0x2da640,_0x34f569,_0x1ab728,_0x56a772];}constructor(_0x4748c){const _0x46b7c7=_0x34378a;super(_0x4748c),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x1d3),[_0x46b7c7(0x1c5),_0x46b7c7(0x182),_0x46b7c7(0x192)]),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x1cf),''),_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x1ae)](_0x46b7c7(0x194),!0x0),this[_0x46b7c7(0x1ac)]=_0x46b7c7(0x165)+(_0x4748c[_0x46b7c7(0x16e)][_0x46b7c7(0x162)](_0x46b7c7(0x194))?_0x46b7c7(0x15d):'');}[_0x34378a(0x1d4)](){const _0x20195b=_0x34378a,{editor:_0x6c6c78}=this;this[_0x20195b(0x1ca)]=_0x6c6c78[_0x20195b(0x1ce)][_0x20195b(0x162)](_0x1ab728),this[_0x20195b(0x175)]=_0x6c6c78[_0x20195b(0x1ce)][_0x20195b(0x162)](_0x56a772),this[_0x20195b(0x158)]=null,this[_0x20195b(0x163)]=this[_0x20195b(0x1aa)]();const _0x3e1fc0=new _0x4877cd(_0x6c6c78,Array[_0x20195b(0x1cc)](this[_0x20195b(0x163)][_0x20195b(0x171)]()));_0x6c6c78[_0x20195b(0x198)][_0x20195b(0x1a4)](_0x20195b(0x18e),_0x3e1fc0),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x176),_0x54f207=>{const _0x10a0bc=_0x20195b,_0x24691c=_0x176a46(_0x54f207);return _0x24691c[_0x10a0bc(0x1fc)]({'class':_0x10a0bc(0x1bb)+this[_0x10a0bc(0x1ac)]}),_0x24691c[_0x10a0bc(0x18c)][_0x10a0bc(0x1fc)]({'label':_0x2d498e(_0x54f207,_0x10a0bc(0x19c)),'icon':_0x1436dc,'tooltip':!0x0}),_0x24691c['on'](_0x10a0bc(0x1d2),_0x494e38=>this[_0x10a0bc(0x1fe)](_0x494e38[_0x10a0bc(0x18a)]['id'])),_0x2a9639(_0x24691c,_0x6c6c78['ui'][_0x10a0bc(0x1f5)][_0x10a0bc(0x1d0)],function(_0x50e0e4){const _0x1ebc66=_0x10a0bc,_0x2e8436=_0x472c39(_0x50e0e4[_0x1ebc66(0x16e)][_0x1ebc66(0x162)](_0x1ebc66(0x150)),_0x50e0e4[_0x1ebc66(0x19e)]),_0x56839d=U(_0x50e0e4,_0x2e8436)[_0x1ebc66(0x1a6)](_0x31d80e=>_0x31d80e[_0x1ebc66(0x198)][_0x1ebc66(0x1c9)]);if(0x1===_0x56839d[_0x1ebc66(0x1c9)])return U(_0x50e0e4,_0x56839d[0x0][_0x1ebc66(0x198)])[_0x1ebc66(0x1f7)](_0xbef5bf=>({'id':_0xbef5bf['id'],'label':_0xbef5bf[_0x1ebc66(0x16b)]}));return _0x56839d[_0x1ebc66(0x1f7)](_0x3fd64d=>{const _0x4b26a8=_0x1ebc66,{groupId:_0x23740e,groupLabel:_0x1845dc,commands:_0x454db8}=_0x3fd64d,_0x1bad39=U(_0x50e0e4,_0x454db8)[_0x4b26a8(0x1f7)](_0x3b6dca=>({'id':_0x3b6dca['id'],'label':_0x3b6dca[_0x4b26a8(0x16b)]}));return{'id':_0x23740e,'menu':_0x1845dc||_0x23740e,'children':_0x1bad39};});}(_0x6c6c78),{'ariaLabel':_0x2d498e(_0x54f207,_0x10a0bc(0x19c))}),_0x24691c[_0x10a0bc(0x1ba)][_0x10a0bc(0x197)]=_0x10a0bc(0x1bb)+this[_0x10a0bc(0x1ac)],_0x3e1fc0['on'](_0x10a0bc(0x189),_0x4c130a),_0x24691c[_0x10a0bc(0x1ba)][_0x10a0bc(0x1e7)](_0x10a0bc(0x1ad),_0x4c130a),_0x24691c;function _0x4c130a(){const _0x4f70e2=_0x10a0bc;_0x24691c[_0x4f70e2(0x1bd)]=_0x3e1fc0[_0x4f70e2(0x1be)][_0x4f70e2(0x1c9)]>0x0;for(const _0x579eba of _0x24691c[_0x4f70e2(0x1ba)][_0x4f70e2(0x1c4)])_0x579eba[_0x4f70e2(0x1bd)]=_0x3e1fc0[_0x4f70e2(0x1be)][_0x4f70e2(0x173)](_0x579eba['id']);}}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x1f4),_0x512d30=>{const _0x38add6=_0x20195b,_0x37058e=new _0x4243f2(_0x512d30);_0x37058e[_0x38add6(0x18c)][_0x38add6(0x1fc)]({'label':_0x2d498e(_0x512d30,_0x38add6(0x19c)),'icon':_0x1436dc}),_0x37058e[_0x38add6(0x1a0)](_0x38add6(0x1bd))['to'](_0x3e1fc0,_0x38add6(0x1be),_0x179678=>_0x179678[_0x38add6(0x1c9)]>0x0);const _0x9c5310=_0x472c39(_0x6c6c78[_0x38add6(0x16e)][_0x38add6(0x162)](_0x38add6(0x150)),_0x512d30);return this[_0x38add6(0x1b7)](_0x3e1fc0,_0x37058e,_0x9c5310,_0x6cf97f=>this[_0x38add6(0x1fe)](_0x6cf97f)),_0x37058e;}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x166),()=>{const _0x3ca692=_0x20195b,_0x2a5f62=this[_0x3ca692(0x1d5)](_0x32b081);return _0x2a5f62[_0x3ca692(0x1fc)]({'tooltip':!0x0,'class':_0x3ca692(0x183)+this[_0x3ca692(0x1ac)]}),_0x2a5f62;}),_0x6c6c78['ui'][_0x20195b(0x1a1)][_0x20195b(0x1a4)](_0x20195b(0x17c),()=>{const _0x71a19b=_0x20195b,_0xe25846=this[_0x71a19b(0x1d5)](_0x4467cc);return _0xe25846[_0x71a19b(0x1fc)]({'role':_0x71a19b(0x19a)}),_0xe25846;}),this[_0x20195b(0x151)]=this[_0x20195b(0x1d7)][_0x20195b(0x16e)][_0x20195b(0x162)](_0x20195b(0x151));const _0x336caa=this[_0x20195b(0x1d7)];this[_0x20195b(0x1b4)]=setInterval(()=>{const _0x11f39c=_0x20195b;let _0x2b3512;for(const _0x33d51f in _0x336caa){const _0x59e274=_0x33d51f,_0x23a899=_0x336caa[_0x59e274];if(_0x11f39c(0x181)==_0x23a899||_0x11f39c(0x169)==_0x23a899||_0x11f39c(0x1fb)==_0x23a899||_0x11f39c(0x164)==_0x23a899||_0x11f39c(0x153)==_0x23a899||_0x11f39c(0x19b)==_0x23a899||_0x11f39c(0x1ab)==_0x23a899||_0x11f39c(0x17d)==_0x23a899){delete _0x336caa[_0x59e274],_0x2b3512=_0x23a899,clearInterval(this[_0x11f39c(0x1b4)]),this[_0x11f39c(0x1b4)]=void 0x0;break;}}_0x11f39c(0x169)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x18f)),_0x11f39c(0x1fb)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x16a)),_0x11f39c(0x164)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1e6)),_0x11f39c(0x153)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x17a),_0x11f39c(0x190)),_0x11f39c(0x19b)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1e1)),_0x11f39c(0x1ab)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x1ee)),_0x11f39c(0x17d)==_0x2b3512&&_0x336caa[_0x11f39c(0x168)](_0x11f39c(0x187));},0x3e8);}[_0x34378a(0x1a9)](){const _0xaa237=_0x34378a;super[_0xaa237(0x1a9)](),this[_0xaa237(0x1b4)]&&clearInterval(this[_0xaa237(0x1b4)]);}[_0x34378a(0x1f8)](_0x18be5b='',_0x20c347='',_0x32b91a=_0x34378a(0x1e8)){const _0x13d497=_0x34378a,_0x3f54e1=this[_0x13d497(0x1d7)],_0x3db660=_0x3f54e1[_0x13d497(0x1b9)][_0x13d497(0x1f5)],_0x5b8470=_0x3f54e1[_0x13d497(0x1ce)][_0x13d497(0x162)](_0x34f569),_0x522e33=_0x3f54e1[_0x13d497(0x1ce)][_0x13d497(0x162)](_0x2da640);_0x5b8470[_0x13d497(0x1df)]();const _0x52ea3a=new w(),_0x31eba0=new ClipboardEvent(_0x13d497(0x1ed),{'clipboardData':_0x52ea3a}),_0x26779f=new _0x5a0677(_0x52ea3a),_0x2207db=new _0x5d1692(_0x3db660,_0x31eba0,{'dataTransfer':_0x26779f});_0x522e33[_0x13d497(0x1e5)](_0x13d497(0x174),()=>{const _0x422d23=_0x13d497;_0x3db660[_0x422d23(0x180)][_0x422d23(0x1e9)](_0x422d23(0x1ed),_0x2207db);}),this[_0x13d497(0x158)]||(this[_0x13d497(0x199)](),this[_0x13d497(0x1d8)]=new _0x511c5a(_0x3f54e1,this[_0x13d497(0x1ca)][_0x13d497(0x1ea)],this[_0x13d497(0x158)]));let _0x5a6197=_0x26779f[_0x13d497(0x15a)](_0x13d497(0x196));const _0x588854=_0x3f54e1[_0x13d497(0x1f9)][_0x13d497(0x180)][_0x13d497(0x1ec)],_0x5bc4d9=Array[_0x13d497(0x1cc)](_0x588854[_0x13d497(0x1f6)]());0x1===_0x5bc4d9[_0x13d497(0x1c9)]&&_0x5bc4d9[0x0][_0x13d497(0x1c2)]&&!_0x588854[_0x13d497(0x15f)]()&&''!==_0x5a6197[_0x13d497(0x18b)](/ /g,'')[_0x13d497(0x156)]()&&(_0x5a6197=_0x13d497(0x1e0)+_0x5a6197+_0x13d497(0x157)),this[_0x13d497(0x1d8)][_0x13d497(0x152)]({'actionId':_0x32b91a,'query':_0x18be5b,'htmlContent':_0x5a6197,'label':_0x20c347,'mainActionLabel':_0x3a201b[_0x3f54e1[_0x13d497(0x1f9)][_0x13d497(0x180)][_0x13d497(0x1ec)][_0x13d497(0x1d6)]?_0x13d497(0x18d):_0x13d497(0x1b0)]}),_0x13d497(0x166)!==this[_0x13d497(0x175)]['id']?this[_0x13d497(0x175)][_0x13d497(0x191)]({'id':_0x13d497(0x166),'icon':_0xcefc3f,'title':_0x2d498e(this[_0x13d497(0x1d7)][_0x13d497(0x19e)],_0x13d497(0x186)),'content':this[_0x13d497(0x158)],'position':_0x155456[_0x13d497(0x1da)],'onShow':()=>{const _0x4c4dd2=_0x13d497;this[_0x4c4dd2(0x158)][_0x4c4dd2(0x159)]();},'onHide':()=>{const _0xa009a3=_0x13d497;this[_0xa009a3(0x1d8)][_0xa009a3(0x1f2)](),_0x5b8470[_0xa009a3(0x1f3)]();}}):this[_0x13d497(0x175)][_0x13d497(0x1f5)][_0x13d497(0x154)]||this[_0x13d497(0x175)][_0x13d497(0x1f5)][_0x13d497(0x1cb)]();}[_0x34378a(0x16c)](){const _0x1675a4=_0x34378a;this[_0x1675a4(0x175)][_0x1675a4(0x1e2)]();}[_0x34378a(0x1aa)](){const _0x355c23=_0x34378a,_0x106c10=new Map(),_0x259d34=_0x472c39(this[_0x355c23(0x1d7)][_0x355c23(0x16e)][_0x355c23(0x162)](_0x355c23(0x150)),this[_0x355c23(0x1d7)][_0x355c23(0x19e)]);for(const _0x334b06 of _0x259d34)for(const _0x231d9a of _0x334b06[_0x355c23(0x198)])_0x106c10[_0x355c23(0x1fc)](_0x231d9a['id'],{..._0x231d9a,'groupId':_0x334b06[_0x355c23(0x1e3)],'groupLabel':_0x334b06[_0x355c23(0x1c1)]||_0x334b06[_0x355c23(0x1e3)]});return _0x106c10;}[_0x34378a(0x1d5)](_0x176a87){const _0x1bcbd2=_0x34378a,_0x121372=this[_0x1bcbd2(0x1d7)],_0x4f4f5b=_0x121372[_0x1bcbd2(0x198)][_0x1bcbd2(0x162)](_0x1bcbd2(0x18e)),_0x231c05=new _0x176a87(_0x121372[_0x1bcbd2(0x19e)]);return _0x231c05[_0x1bcbd2(0x1fc)]({'label':_0x2d498e(_0x121372[_0x1bcbd2(0x19e)],_0x1bcbd2(0x186)),'icon':_0xcefc3f,'isToggleable':!0x0}),_0x231c05[_0x1bcbd2(0x1a0)](_0x1bcbd2(0x1bd))['to'](_0x4f4f5b),_0x231c05[_0x1bcbd2(0x1a0)](_0x1bcbd2(0x172))['to'](this[_0x1bcbd2(0x175)],'id',_0x595e3f=>_0x1bcbd2(0x166)===_0x595e3f),this[_0x1bcbd2(0x1a8)](_0x231c05,_0x1bcbd2(0x1d2),()=>{const _0x3904cd=_0x1bcbd2;_0x231c05[_0x3904cd(0x172)]?this[_0x3904cd(0x16c)]():_0x4f4f5b[_0x3904cd(0x1d2)]();}),_0x231c05;}[_0x34378a(0x199)](){const _0x68f1e1=_0x34378a,_0x51fc0d=this[_0x68f1e1(0x1d7)][_0x68f1e1(0x1ce)][_0x68f1e1(0x162)](_0x34f569);this[_0x68f1e1(0x158)]=new _0x2274ee(this[_0x68f1e1(0x1d7)][_0x68f1e1(0x19e)],this[_0x68f1e1(0x1ac)],this[_0x68f1e1(0x1d7)][_0x68f1e1(0x16e)][_0x68f1e1(0x162)](_0x68f1e1(0x1cf))),this[_0x68f1e1(0x158)]['on'](_0x68f1e1(0x16f),()=>{const _0x4f2ba0=_0x68f1e1;this[_0x4f2ba0(0x175)][_0x4f2ba0(0x1f5)][_0x4f2ba0(0x154)]||this[_0x4f2ba0(0x175)][_0x4f2ba0(0x1f5)][_0x4f2ba0(0x1cb)]();}),this[_0x68f1e1(0x158)][_0x68f1e1(0x1dc)][_0x68f1e1(0x15b)][_0x68f1e1(0x16d)]['on'](_0x68f1e1(0x185),()=>{const _0x4fbbbb=_0x68f1e1;this[_0x4fbbbb(0x175)][_0x4fbbbb(0x1f5)][_0x4fbbbb(0x154)]||this[_0x4fbbbb(0x175)][_0x4fbbbb(0x1f5)][_0x4fbbbb(0x1cb)]();}),this[_0x68f1e1(0x1a8)](this[_0x68f1e1(0x158)],_0x68f1e1(0x1b3),()=>{const _0x342525=_0x68f1e1;_0x51fc0d[_0x342525(0x1dd)](this[_0x342525(0x1d8)][_0x342525(0x15e)]),this[_0x342525(0x16c)]();}),this[_0x68f1e1(0x1a8)](this[_0x68f1e1(0x158)],_0x68f1e1(0x1cd),()=>{const _0x231e6f=_0x68f1e1;_0x51fc0d[_0x231e6f(0x1cd)](this[_0x231e6f(0x1d8)][_0x231e6f(0x15e)]),this[_0x231e6f(0x16c)]();}),this[_0x68f1e1(0x178)]();}[_0x34378a(0x178)](){const _0x299291=_0x34378a,{locale:_0x23e0c5,ui:{ariaLiveAnnouncer:_0x41814c}}=this[_0x299291(0x1d7)];this[_0x299291(0x158)][_0x299291(0x1a7)]['on'](_0x299291(0x167),(_0x294dda,_0x12e9d1,_0x3ca507)=>{const _0x39f333=_0x299291,_0x2dc2b6=this[_0x39f333(0x1d8)][_0x39f333(0x15e)];_0x3ca507?_0x41814c[_0x39f333(0x170)](_0x2d498e(_0x23e0c5,_0x39f333(0x1f1))):_0x2dc2b6&&_0x41814c[_0x39f333(0x170)](_0x2d498e(_0x23e0c5,_0x39f333(0x1c7),_0x2dc2b6),{'politeness':_0x39f333(0x17e),'isUnsafeHTML':!0x0});}),this[_0x299291(0x158)]['on'](_0x299291(0x19f),(_0x47e97e,_0x350bd2,_0x3536b9)=>{const _0x66f6f0=_0x299291;if(_0x3536b9){const _0x596278=this[_0x66f6f0(0x158)][_0x66f6f0(0x1a2)][_0x66f6f0(0x15c)];_0x41814c[_0x66f6f0(0x170)](_0x2d498e(_0x23e0c5,_0x66f6f0(0x1c8),_0x596278));}});}[_0x34378a(0x1fe)](_0x44c628){const _0x14d7f6=_0x34378a,_0x3d8b09=this[_0x14d7f6(0x163)][_0x14d7f6(0x162)](_0x44c628),_0x25fa42=this[_0x14d7f6(0x1d7)],_0x5c804f=_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x180)][_0x14d7f6(0x1ec)],_0x51431f=_0x25fa42[_0x14d7f6(0x198)][_0x14d7f6(0x162)](_0x14d7f6(0x18e)),_0x2d5287=_0x25fa42[_0x14d7f6(0x1ce)][_0x14d7f6(0x162)](_0x34f569),_0x27761e=''+(_0x3d8b09[_0x14d7f6(0x1e3)]!==_0x2537b3?_0x3d8b09[_0x14d7f6(0x1c1)]+':\x20':'')+_0x3d8b09[_0x14d7f6(0x16b)];if(!0x1!==_0x3d8b09[_0x14d7f6(0x1a5)]&&_0x5c804f[_0x14d7f6(0x1d6)]){const _0x3aea07=_0x2521dd(_0x5c804f[_0x14d7f6(0x1fd)]())||_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x1db)][_0x14d7f6(0x160)](_0x5c804f);_0x25fa42[_0x14d7f6(0x1f9)][_0x14d7f6(0x1fa)](_0xc38691=>{const _0x266c49=_0x14d7f6;_0xc38691[_0x266c49(0x1d9)](_0x3aea07,'in');});}_0x2d5287[_0x14d7f6(0x1df)](),_0x51431f[_0x14d7f6(0x1d2)](_0x3d8b09[_0x14d7f6(0x179)],_0x27761e,_0x14d7f6(0x1a3)+_0x44c628);}[_0x34378a(0x1b7)](_0x41b329,_0x2f7d05,_0x2278ec,_0x48ec58){const _0x1a85f9=_0x34378a,_0x2aa297=this[_0x1a85f9(0x1d7)],_0x363faa=_0x2aa297[_0x1a85f9(0x19e)],_0x415104=new _0x195b86(_0x363faa),_0x428364=U(_0x2aa297,_0x2278ec)[_0x1a85f9(0x1a6)](_0x1035ab=>_0x1035ab[_0x1a85f9(0x198)][_0x1a85f9(0x1c9)]);0x1===_0x428364[_0x1a85f9(0x1c9)]?this[_0x1a85f9(0x1f0)]({'command':_0x41b329,'commands':_0x428364[0x0][_0x1a85f9(0x198)],'parentMenuView':_0x2f7d05,'onExecute':_0x48ec58})[_0x1a85f9(0x1c3)](_0x55b14a=>_0x415104[_0x1a85f9(0x184)][_0x1a85f9(0x1a4)](_0x55b14a)):_0x428364[_0x1a85f9(0x1c3)](({groupId:_0x546522,groupLabel:_0x3c07c3,commands:_0x3b7caa})=>{const _0x16ca29=_0x1a85f9,_0x40bdf4=new _0x519701(_0x363faa,_0x2f7d05),_0x161117=new _0x4243f2(_0x363faa),_0xd6d5c6=new _0x195b86(_0x363faa),_0x5c24b7=this[_0x16ca29(0x1f0)]({'command':_0x41b329,'commands':_0x3b7caa,'parentMenuView':_0x161117,'onExecute':_0x48ec58});_0x161117[_0x16ca29(0x18c)][_0x16ca29(0x1fc)]({'label':_0x3c07c3||_0x546522}),_0x161117[_0x16ca29(0x155)](_0x16ca29(0x1d2))['to'](_0x2f7d05),_0xd6d5c6[_0x16ca29(0x184)][_0x16ca29(0x1b2)](_0x5c24b7),_0x161117[_0x16ca29(0x19d)][_0x16ca29(0x1bc)][_0x16ca29(0x1a4)](_0xd6d5c6),_0x40bdf4[_0x16ca29(0x1bc)][_0x16ca29(0x1a4)](_0x161117),_0x415104[_0x16ca29(0x184)][_0x16ca29(0x1a4)](_0x40bdf4);}),_0x2f7d05[_0x1a85f9(0x19d)][_0x1a85f9(0x1bc)][_0x1a85f9(0x1a4)](_0x415104);}[_0x34378a(0x1f0)]({command:_0x5dc5e3,commands:_0x36343b,parentMenuView:_0x2b8dee,onExecute:_0x2f3b74}){const _0x2383c4=_0x34378a,_0x8922d9=this[_0x2383c4(0x1d7)],_0x41362d=_0x8922d9[_0x2383c4(0x19e)];return U(_0x8922d9,_0x36343b)[_0x2383c4(0x1f7)](_0x23f4ed=>{const _0x5cb274=_0x2383c4,_0x467053=new _0x519701(_0x41362d,_0x2b8dee),_0x571eab=new _0x4467cc(_0x41362d);return _0x571eab[_0x5cb274(0x1fc)]({'label':_0x23f4ed[_0x5cb274(0x16b)]}),_0x571eab[_0x5cb274(0x155)](_0x5cb274(0x1d2))['to'](_0x2b8dee),_0x571eab['on'](_0x5cb274(0x1d2),()=>_0x2f3b74(_0x23f4ed['id'])),_0x571eab[_0x5cb274(0x1a0)](_0x5cb274(0x1bd))['to'](_0x5dc5e3,_0x5cb274(0x1be),_0x4bd721=>_0x4bd721[_0x5cb274(0x173)](_0x23f4ed['id'])),_0x467053[_0x5cb274(0x1bc)][_0x5cb274(0x1a4)](_0x571eab),_0x467053;});}}function B(_0x5b4d07,_0x2990e7){const _0x1ac647=_0x34378a;return void 0x0!==_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0===_0x2990e7[_0x1ac647(0x1af)]?0x1:void 0x0===_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0!==_0x2990e7[_0x1ac647(0x1af)]?-0x1:void 0x0!==_0x5b4d07[_0x1ac647(0x1af)]&&void 0x0!==_0x2990e7[_0x1ac647(0x1af)]?_0x5b4d07[_0x1ac647(0x1af)]-_0x2990e7[_0x1ac647(0x1af)]:0x0;}function U(_0x111873,_0x5b61b2){const _0x34c6ae=_0x34378a;_0x5b61b2[_0x34c6ae(0x17f)](B);const _0x548de4={},_0x4fd256=[];for(const _0x1414d3 of _0x5b61b2)if(void 0x0!==_0x1414d3[_0x34c6ae(0x1af)]){if(_0x1414d3[_0x34c6ae(0x1af)]in _0x548de4)throw new _0x34fc8f(_0x34c6ae(0x177),_0x111873,{'conflictingDefinitions':[_0x1414d3,_0x548de4[_0x1414d3[_0x34c6ae(0x1af)]]]});_0x548de4[_0x1414d3[_0x34c6ae(0x1af)]]=_0x1414d3,_0x4fd256[_0x34c6ae(0x1c6)](_0x1414d3[_0x34c6ae(0x1af)],0x0,_0x1414d3);}else _0x4fd256[_0x34c6ae(0x1b8)](_0x1414d3);return _0x4fd256;}
|
|
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
|
-
|
|
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
|
-
|
|
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();}
|