@ckeditor/ckeditor5-ai 45.0.0-alpha.0 → 45.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
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
|
-
const _0x268069=_0x3482;(function(_0x295778,_0x31a300){const _0x1843ae=_0x3482,_0x46b77b=_0x295778();while(!![]){try{const _0x3b8b82=-parseInt(_0x1843ae(0x1b7))/0x1+parseInt(_0x1843ae(0x1ca))/0x2*(-parseInt(_0x1843ae(0x17b))/0x3)+-parseInt(_0x1843ae(0x1d4))/0x4*(-parseInt(_0x1843ae(0x186))/0x5)+parseInt(_0x1843ae(0x1cc))/0x6*(parseInt(_0x1843ae(0x1c8))/0x7)+-parseInt(_0x1843ae(0x1bc))/0x8+-parseInt(_0x1843ae(0x17e))/0x9*(parseInt(_0x1843ae(0x181))/0xa)+parseInt(_0x1843ae(0x180))/0xb;if(_0x3b8b82===_0x31a300)break;else _0x46b77b['push'](_0x46b77b['shift']());}catch(_0x2d93fc){_0x46b77b['push'](_0x46b77b['shift']());}}}(_0x3d03,0xf3469));import{uid as _0x254af6}from'ckeditor5/src/utils.js';function _0x3d03(){const _0x12d0d9=['schema','getLastPosition','plugins','126uWOGHf','getSelectedBlocks','6852FWRzto','lowest','374454pFLzag','getChildren','pop','ck-ai-assistant-ui_theme','resultRange','createPositionAfter','selection','getChild','585436jHXZbL','_prepareTableInsertBelowPosition','ck-fake-ai-selection_collapsed','getMarkersGroup','isAtEnd','editor','getLastMatchingPosition','getRows','ck-fake-ai-selection','length','forEach','markerToHighlight','from','DataTransfer','end','has','getRange','canEditAt','paste','filter','getColumnIndexes','start','1314BLlUWG','_getDefaultInsertBelowPosition','href','9aoWhSa','getSelectedTableCells','45764818cBunDk','15121570OJBUgb','change','setData','span','createPositionAt','35TfxVAW','createUIElement','TableUtils','first','last','conversion','isContent','table','getRanges','model','_getTableRowCountFromContent','join','markers','text/html','editingDowncast','fire','parse','insertContentBelow','get','contentInsertion','editing','deleteContent','insertRows','findAncestor','createSelection','addMarker','getFirstRange','setSelection','once','isCollapsed','fromCharCode','map','afterInit','document','markerRange','data','AIAssistantEditing','for','insertContent','addClass','init','push','isPremiumPlugin','pluginName','_pasteHTMLUsingClipboard','updateMarker','hideFakeVisualSelection','getRowIndexes','ai-ui','797630uoscFK','markerToElement','removeMarker','element','_getAISelection','12011848GDgdXp','showFakeVisualSelection','createRange','ai.useTheme','_createEmptyTableRows','off','_resetContentOfSelectedTableCells','config','isOfficialPlugin'];_0x3d03=function(){return _0x12d0d9;};return _0x3d03();}function _0x3482(_0x4e0b07,_0x41f578){const _0x3d036d=_0x3d03();return _0x3482=function(_0x3482ef,_0x43312c){_0x3482ef=_0x3482ef-0x17a;let _0x406692=_0x3d036d[_0x3482ef];return _0x406692;},_0x3482(_0x4e0b07,_0x41f578);}import{Plugin as _0x3f93da}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5c5595}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3c846a,DataTransfer as _0x58df74}from'ckeditor5/src/engine.js';const w=globalThis[_0x268069(0x1e1)],f=_0x268069(0x1b6);export default class a extends _0x3f93da{static get[_0x268069(0x1b1)](){const _0x5931d9=_0x268069;return _0x5931d9(0x1aa);}static get[_0x268069(0x1c4)](){return!0x0;}static get[_0x268069(0x1b0)](){return!0x0;}[_0x268069(0x1ae)](){const _0x5b5c2c=_0x268069,{editor:_0x53876c}=this,_0x463eab=[_0x5b5c2c(0x1dc)];_0x53876c[_0x5b5c2c(0x1c3)][_0x5b5c2c(0x198)](_0x5b5c2c(0x1bf))&&_0x463eab[_0x5b5c2c(0x1af)](_0x5b5c2c(0x1cf)),_0x53876c[_0x5b5c2c(0x18b)][_0x5b5c2c(0x1ab)](_0x5b5c2c(0x194))[_0x5b5c2c(0x1df)]({'model':f,'view':{'classes':_0x463eab,'priority':0xc}}),_0x53876c[_0x5b5c2c(0x18b)][_0x5b5c2c(0x1ab)](_0x5b5c2c(0x194))[_0x5b5c2c(0x1b8)]({'model':f,'view':(_0x5ce05f,{writer:_0x4671f6})=>{const _0x1b80d3=_0x5b5c2c;if(!_0x5ce05f[_0x1b80d3(0x1a8)][_0x1b80d3(0x1a3)])return null;const _0x59313f=_0x4671f6[_0x1b80d3(0x187)](_0x1b80d3(0x184));return _0x4671f6[_0x1b80d3(0x1ad)]([_0x1b80d3(0x1dc),_0x1b80d3(0x1d6)],_0x59313f),_0x59313f;}});}[_0x268069(0x1a6)](){!async function(_0x1a5d03){const _0xb341b4=_0x572287([0x38,0x6f,0x39,0x4d,0x32,0x50,0x71,0x6d,0x57,0x78,0x30,0x55,0x4e,0x64,0x52,0x70,0x6e,0x44,0x34,0x6a,0x36,0x5a,0x7a,0x41,0x66,0x73,0x62,0x4c,0x46,0x43,0x58,0x72,0x4f,0x59,0x31,0x61,0x53,0x54,0x56,0x37,0x51,0x35,0x68,0x75,0x69,0x77,0x79,0x6b,0x6c,0x48,0x49,0x76,0x47,0x4a,0x42,0x74,0x4b,0x65,0x67,0x63,0x45,0x33]),_0xf892c0=0x6e63e85a,_0x3be48e=0x6e648b62^_0xf892c0,_0xc23c39=window[_0x572287([0x44,0x61,0x74,0x65])][_0x572287([0x6e,0x6f,0x77])](),_0x4e49ac=_0x1a5d03[_0x572287([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f7c46=new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eaf08=>{_0x4e49ac[_0x572287([0x6f,0x6e,0x63,0x65])](_0x572287([0x72,0x65,0x61,0x64,0x79]),_0x2eaf08);}),_0x48d6d5={[_0x572287([0x6b,0x74,0x79])]:_0x572287([0x45,0x43]),[_0x572287([0x75,0x73,0x65])]:_0x572287([0x73,0x69,0x67]),[_0x572287([0x63,0x72,0x76])]:_0x572287([0x50,0x2d,0x32,0x35,0x36]),[_0x572287([0x78])]:_0x572287([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]),[_0x572287([0x79])]:_0x572287([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]),[_0x572287([0x61,0x6c,0x67])]:_0x572287([0x45,0x53,0x32,0x35,0x36])},_0x300011=_0x4e49ac[_0x572287([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x572287([0x67,0x65,0x74])](_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47cf88(){let _0x214a73,_0x50624f=null,_0x5376bf=null;try{if(_0x300011==_0x572287([0x47,0x50,0x4c]))return _0x572287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x214a73=_0x1f3ec5(),!_0x214a73)return _0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x214a73[_0x572287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5376bf=_0x2d9967(_0x214a73[_0x572287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x214a73[_0x572287([0x6a,0x74,0x69])])),await _0x44aca4()?_0x3b7cb5()?_0x3ea03a()?_0x572287([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38f4da()?(_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50624f=_0x10eced(_0x572287([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572287([0x74,0x72,0x69,0x61,0x6c])&&(_0x50624f=_0x10eced(_0x572287([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x356763()):_0x572287([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x572287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37c390){return _0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ea03a(){const _0xb37495=[_0x572287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x572287([0x74,0x72,0x69,0x61,0x6c])][_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc23c39/0x3e8:0xe10*_0x3be48e;return _0x214a73[_0x572287([0x65,0x78,0x70])]<_0xb37495;}function _0x3b7cb5(){const _0x4f93fd=_0x214a73[_0x572287([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f93fd&&(!!_0x4f93fd[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x2a]))||!!_0x4f93fd[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x41,0x49])));}function _0x38f4da(){const _0x4d19e4=_0x3482,_0x259724=_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x259724||0x0==_0x259724[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39a360}=new URL(window[_0x572287([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d19e4(0x17d)]);if(_0x259724[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39a360))return!0x0;const _0x514eb5=_0x39a360[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e]));return _0x259724[_0x572287([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56ad96=>_0x56ad96[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x2a])))[_0x572287([0x6d,0x61,0x70])](_0x1d350c=>_0x1d350c[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e])))[_0x572287([0x73,0x6f,0x6d,0x65])](_0x546641=>_0x514eb5[_0x572287([0x65,0x76,0x65,0x72,0x79])]((_0x2ca427,_0x3004c8)=>_0x546641[_0x3004c8]===_0x2ca427||_0x546641[_0x3004c8]===_0x572287([0x2a])));}function _0x356763(){return _0x50624f&&_0x5376bf?new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f5b7d,_0x4ed2f1)=>{_0x50624f[_0x572287([0x74,0x68,0x65,0x6e])](_0x1f5b7d,_0x4ed2f1),_0x5376bf[_0x572287([0x74,0x68,0x65,0x6e])](_0x5ea80f=>{_0x5ea80f!=_0x572287([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5b7d(_0x5ea80f);},_0x4ed2f1);}):_0x50624f||_0x5376bf||_0x572287([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d9967(_0x41785e,_0x1dac6c){return new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50ef7c=>{if(_0x3b93ec())return _0x50ef7c(_0x572287([0x56,0x61,0x6c,0x69,0x64]));_0x7b33af(),_0x4e49ac[_0x572287([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31bc22=!0x1;const _0xb23bd2=_0x254af6();function _0x21d1a5(_0x38469b){return!!_0x38469b&&(typeof _0x38469b===_0x572287([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38469b===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38469b[_0x572287([0x74,0x68,0x65,0x6e])]===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38469b[_0x572287([0x63,0x61,0x74,0x63,0x68])]===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe44439(_0x1229b3){_0x37855c(_0x1229b3)[_0x572287([0x74,0x68,0x65,0x6e])](_0x44d702=>{if(!_0x44d702||_0x44d702[_0x572287([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x572287([0x6f,0x6b]))return _0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3aedc4(_0x198d45(_0xb23bd2+_0x1dac6c))!=_0x44d702[_0x572287([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x572287([0x56,0x61,0x6c,0x69,0x64]);})[_0x572287([0x74,0x68,0x65,0x6e])](_0x5d3633=>(_0x2ae807(),_0x5d3633),()=>{const _0x248590=_0x54e209();return null==_0x248590?(_0x2ae807(),_0x572287([0x56,0x61,0x6c,0x69,0x64])):_0x572287(_0xc23c39-_0x248590>(0x4a6f6c5a^_0xf892c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x572287([0x74,0x68,0x65,0x6e])](_0x50ef7c)[_0x572287([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29fbc4=0x6e5506da^_0xf892c0;function _0x2ae807(){const _0x155157=_0x572287([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedc4(_0x198d45(_0x41785e)),_0xcaaa1e=_0x51d31f(_0x3aedc4(window[_0x572287([0x4d,0x61,0x74,0x68])][_0x572287([0x63,0x65,0x69,0x6c])](_0xc23c39/_0x29fbc4)));window[_0x572287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572287([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x155157,_0xcaaa1e);}function _0x54e209(){const _0x21e2c2=_0x572287([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedc4(_0x198d45(_0x41785e)),_0x23ff46=window[_0x572287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572287([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21e2c2);return _0x23ff46?window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d31f(_0x23ff46),0x10)*_0x29fbc4:null;}function _0x37855c(_0x1a5b4b){return new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x141f0d,_0x5b8f88)=>{_0x1a5b4b[_0x572287([0x74,0x68,0x65,0x6e])](_0x141f0d,_0x5b8f88),window[_0x572287([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b8f88,0x6e623c9a^_0xf892c0);});}}_0x4e49ac[_0x572287([0x6f,0x6e])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d93b0,_0x3619d6)=>{if(_0x3619d6[0x0]!=_0x41785e)return _0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3619d6[0x1]={..._0x3619d6[0x1],[_0x572287([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb23bd2};},{[_0x572287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572287([0x68,0x69,0x67,0x68])}),_0x4e49ac[_0x572287([0x6f,0x6e])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53d409=>{_0x21d1a5(_0x53d409[_0x572287([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31bc22=!0x0,_0xe44439(_0x53d409[_0x572287([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x572287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572287([0x6c,0x6f,0x77])}),_0x4f7c46[_0x572287([0x74,0x68,0x65,0x6e])](()=>{_0x31bc22||_0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b93ec(){return _0x4e49ac[_0x572287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572287([0x76,0x69,0x65,0x77])][_0x572287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x572287([0x61,0x75,0x74,0x6f]);}function _0x7b33af(){_0x4e49ac[_0x572287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572287([0x76,0x69,0x65,0x77])][_0x572287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x572287([0x61,0x75,0x74,0x6f]);}}function _0x10eced(_0x699e4b){const _0x25f929=[new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bee0b=>setTimeout(_0x3bee0b,0x6e6ad696^_0xf892c0)),_0x4f7c46[_0x572287([0x74,0x68,0x65,0x6e])](()=>new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x218858=>{let _0xd0251c=0x0;_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x6f,0x6e])](_0x572287([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21df68,_0x4e8882)=>{_0x4e8882[0x0][_0x572287([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd0251c++,_0xd0251c==(0x6e63e9a2^_0xf892c0)&&(_0x218858(),_0x21df68[_0x572287([0x6f,0x66,0x66])]());});}))];return window[_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x572287([0x72,0x61,0x63,0x65])](_0x25f929)[_0x572287([0x74,0x68,0x65,0x6e])](()=>_0x699e4b);}async function _0x18e235(){await _0x4f7c46,_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30826c,_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30826c,_0x4e49ac[_0x572287([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x572287([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x80c012(_0x2de772){const _0x2e7043=_0xf310e9();_0x4e49ac[_0x2e7043]=_0x572287([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2de772,_0x2de772!=_0x572287([0x56,0x61,0x6c,0x69,0x64])&&_0x18e235();}function _0xf310e9(){const _0x239926=window[_0x572287([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x572287([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x572287([0x6e,0x6f,0x77])]())[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x572287([0x2e]),'');let _0x19d345=_0x572287([0x6f]);for(let _0x1111cc=0x0;_0x1111cc<_0x239926[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1111cc+=0x2){let _0x4f5386=window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x239926[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1111cc,_0x1111cc+0x2));_0x4f5386>=_0xb341b4[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f5386-=_0xb341b4[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19d345+=_0xb341b4[_0x4f5386];}return _0x19d345;}function _0x1f3ec5(){const _0x30bd06=_0x300011[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e]));if(0x3!=_0x30bd06[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x497cfa(_0x30bd06[0x1]);function _0x497cfa(_0x157e62){const _0x2a3989=_0x4f7d0e(_0x157e62);return _0x2a3989&&_0xb0959c()?_0x2a3989:null;function _0xb0959c(){const _0xa57b46=_0x2a3989[_0x572287([0x6a,0x74,0x69])],_0x1cb4df=window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa57b46[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa57b46[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x125729={..._0x2a3989,[_0x572287([0x6a,0x74,0x69])]:_0xa57b46[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa57b46[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x125729[_0x572287([0x76,0x63])],_0x198d45(_0x125729)==_0x1cb4df;}}}async function _0x44aca4(){let _0x30fee3=!0x0;try{const _0x473b81=_0x300011[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e])),[_0x473dbe,_0x10b819,_0x3a59b9]=_0x473b81;return _0x390797(_0x473dbe),await _0x236889(_0x473dbe,_0x10b819,_0x3a59b9),_0x30fee3;}catch(_0x52a1e4){return!0x1;}function _0x390797(_0x34a279){const _0x2c3c6b=_0x4f7d0e(_0x34a279);_0x2c3c6b&&_0x2c3c6b[_0x572287([0x61,0x6c,0x67])]==_0x572287([0x45,0x53,0x32,0x35,0x36])||(_0x30fee3=!0x1);}async function _0x236889(_0x4b5e7b,_0x3ae6ee,_0xafdf6c){const _0x5d6a5f=window[_0x572287([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x572287([0x66,0x72,0x6f,0x6d])](_0x4d2843(_0xafdf6c),_0x3d2c4b=>_0x3d2c4b[_0x572287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c863e=new window[(_0x572287([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x572287([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b5e7b+_0x572287([0x2e])+_0x3ae6ee),_0xa208f3=window[_0x572287([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x572287([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa208f3)return;const _0x2a75e2=await _0xa208f3[_0x572287([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x572287([0x6a,0x77,0x6b]),_0x48d6d5,{[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x45,0x43,0x44,0x53,0x41]),[_0x572287([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x572287([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x572287([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa208f3[_0x572287([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x45,0x43,0x44,0x53,0x41]),[_0x572287([0x68,0x61,0x73,0x68])]:{[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a75e2,_0x5d6a5f,_0x4c863e)||(_0x30fee3=!0x1);}}function _0x4f7d0e(_0x13e8c7){return _0x13e8c7[_0x572287([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x572287([0x65,0x79]))?JSON[_0x572287([0x70,0x61,0x72,0x73,0x65])](_0x4d2843(_0x13e8c7)):null;}function _0x4d2843(_0x23a790){return window[_0x572287([0x61,0x74,0x6f,0x62])](_0x23a790[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x572287([0x2b]))[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x572287([0x2f])));}function _0x198d45(_0x1bec4e){let _0x560ca9=0x1505;function _0x4e1d75(_0x64c7e3){for(let _0x37b79d=0x0;_0x37b79d<_0x64c7e3[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37b79d++){const _0x4a5d27=_0x64c7e3[_0x572287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37b79d);_0x560ca9=(_0x560ca9<<0x5)+_0x560ca9+_0x4a5d27,_0x560ca9&=_0x560ca9;}}function _0x145660(_0x5ca889){Array[_0x572287([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ca889)?_0x5ca889[_0x572287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x145660):_0x5ca889&&typeof _0x5ca889==_0x572287([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x572287([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ca889)[_0x572287([0x73,0x6f,0x72,0x74])]()[_0x572287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1974c3,_0x5e77ae])=>{_0x4e1d75(_0x1974c3),_0x145660(_0x5e77ae);}):_0x4e1d75(window[_0x572287([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ca889));}return _0x145660(_0x1bec4e),_0x560ca9>>>0x0;}function _0x3aedc4(_0x29580a){return _0x29580a[_0x572287([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x572287([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x572287([0x30]));}function _0x51d31f(_0x437c75){return _0x437c75[_0x572287([0x73,0x70,0x6c,0x69,0x74])]('')[_0x572287([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x572287([0x6a,0x6f,0x69,0x6e])]('');}function _0x30826c(){}function _0x572287(_0x439074){const _0x1a233e=_0x3482;return _0x439074[_0x1a233e(0x1a5)](_0x42037a=>String[_0x1a233e(0x1a4)](_0x42037a))[_0x1a233e(0x191)]('');}_0x80c012(await _0x47cf88());}(this);}[_0x268069(0x1bd)](){const _0x3cc0b0=_0x268069,_0x3bf80e=this[_0x3cc0b0(0x1d9)][_0x3cc0b0(0x18f)];_0x3bf80e[_0x3cc0b0(0x182)](_0x2bc3ad=>{const _0x442867=_0x3cc0b0,_0x52c0e3=_0x3bf80e[_0x442867(0x1a7)][_0x442867(0x1d2)][_0x442867(0x18e)]();let _0x34a1ba=0x0;for(const _0x222ec2 of _0x52c0e3){const _0x587a17=f+':'+_0x34a1ba;if(_0x3bf80e[_0x442867(0x192)][_0x442867(0x1e3)](_0x587a17))_0x2bc3ad[_0x442867(0x1b3)](_0x587a17,{'range':_0x222ec2});else{if(_0x222ec2[_0x442867(0x17a)][_0x442867(0x1d8)]){const _0x44711c=_0x222ec2[_0x442867(0x17a)][_0x442867(0x1da)](({item:_0x16f34d})=>!_0x3bf80e[_0x442867(0x1c5)][_0x442867(0x18c)](_0x16f34d),{'boundaries':_0x222ec2});_0x2bc3ad[_0x442867(0x19f)](_0x587a17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2bc3ad[_0x442867(0x1be)](_0x44711c,_0x222ec2[_0x442867(0x1e2)])});}else _0x2bc3ad[_0x442867(0x19f)](_0x587a17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x222ec2});}_0x34a1ba++;}});}[_0x268069(0x1b4)](){const _0x296f2b=_0x268069,_0x554d03=this[_0x296f2b(0x1d9)][_0x296f2b(0x18f)],_0x431715=Array[_0x296f2b(0x1e0)](this[_0x296f2b(0x1d9)][_0x296f2b(0x18f)][_0x296f2b(0x192)][_0x296f2b(0x1d7)](f));_0x431715[_0x296f2b(0x1dd)]&&_0x554d03[_0x296f2b(0x182)](_0x208bcc=>{const _0x271394=_0x296f2b;_0x431715[_0x271394(0x1de)](_0x48d9b5=>{const _0x14f95a=_0x271394;_0x208bcc[_0x14f95a(0x1b9)](_0x48d9b5);});});}[_0x268069(0x1ac)](_0x425010,_0x1bc61d){const _0x3a4b17=_0x268069,_0x1dfca3=this[_0x3a4b17(0x1bb)](),_0x3dc30d=_0x1bc61d||_0x1dfca3[_0x3a4b17(0x1a0)]();this[_0x3a4b17(0x1d9)][_0x3a4b17(0x18f)][_0x3a4b17(0x1e5)](_0x3dc30d)&&this[_0x3a4b17(0x1d9)][_0x3a4b17(0x18f)][_0x3a4b17(0x182)](_0x460c6=>{const _0x23c8b2=_0x3a4b17;this[_0x23c8b2(0x1b4)](),_0x1bc61d||this[_0x23c8b2(0x1c2)](_0x460c6,_0x1dfca3),this[_0x23c8b2(0x1b2)]({'insertAt':_0x3dc30d,'writer':_0x460c6,'html':_0x425010});});}[_0x268069(0x197)](_0x21d241){const _0x1d4c5e=_0x268069,{model:_0x3a3110}=this[_0x1d4c5e(0x1d9)],_0x5745c1=this[_0x1d4c5e(0x1bb)]();_0x3a3110[_0x1d4c5e(0x182)](()=>{const _0x35b330=_0x1d4c5e,_0x51ee7f=this[_0x35b330(0x1d5)](_0x21d241,_0x5745c1)||this[_0x35b330(0x17c)](_0x5745c1);this[_0x35b330(0x1ac)](_0x21d241,_0x51ee7f);});}[_0x268069(0x1bb)](){const _0xa8f786=_0x268069,_0x1ed906=this[_0xa8f786(0x1d9)][_0xa8f786(0x18f)],_0x806253=Array[_0xa8f786(0x1e0)](_0x1ed906[_0xa8f786(0x192)][_0xa8f786(0x1d7)](f))[_0xa8f786(0x1a5)](_0x225708=>_0x225708[_0xa8f786(0x1e4)]());return _0x1ed906[_0xa8f786(0x19e)](_0x806253);}[_0x268069(0x1b2)]({writer:_0x5194de,html:_0x398cd5,insertAt:_0x13ab6d}){const _0x506bb3=_0x268069,{view:_0x40f55e}=this[_0x506bb3(0x1d9)][_0x506bb3(0x19a)],_0x121b84=this[_0x506bb3(0x1d9)][_0x506bb3(0x1c7)][_0x506bb3(0x198)](_0x5c5595),_0x56bba3=new w();_0x56bba3[_0x506bb3(0x183)](_0x506bb3(0x193),_0x398cd5);const _0x2ba196=new ClipboardEvent(_0x506bb3(0x1e6),{'clipboardData':_0x56bba3}),_0x5a664d=new _0x3c846a(_0x40f55e,_0x2ba196,{'dataTransfer':new _0x58df74(_0x56bba3)});_0x5194de[_0x506bb3(0x1a1)](_0x13ab6d);const _0x2008e9=(_0x416659,_0x317d6d)=>{const _0x41acda=_0x506bb3;_0x317d6d[_0x41acda(0x1d0)]&&_0x5194de[_0x41acda(0x1a1)](_0x317d6d[_0x41acda(0x1d0)]);};_0x121b84[_0x506bb3(0x1a2)](_0x506bb3(0x199),_0x2008e9,{'priority':_0x506bb3(0x1cb)}),_0x40f55e[_0x506bb3(0x1a7)][_0x506bb3(0x195)](_0x506bb3(0x1e6),_0x5a664d),_0x121b84[_0x506bb3(0x1c1)](_0x506bb3(0x199),_0x2008e9);}[_0x268069(0x17c)](_0xb57ad6){const _0x525a4c=_0x268069,{model:_0x4967a0}=this[_0x525a4c(0x1d9)],_0x44778f=Array[_0x525a4c(0x1e0)](_0xb57ad6[_0x525a4c(0x1c9)]());return _0x44778f[_0x525a4c(0x1dd)]?_0x4967a0[_0x525a4c(0x1d1)](_0x44778f[_0x525a4c(0x1ce)]()):_0xb57ad6[_0x525a4c(0x1c6)]();}[_0x268069(0x1d5)](_0x7c54e4,_0x5e5aba){const _0x2c7ced=_0x268069,{model:_0x447d06,plugins:_0x48940e}=this[_0x2c7ced(0x1d9)];if(_0x48940e[_0x2c7ced(0x1e3)](_0x2c7ced(0x188))){const _0x2ff526=_0x48940e[_0x2c7ced(0x198)](_0x2c7ced(0x188))[_0x2c7ced(0x17f)](_0x5e5aba);if(_0x2ff526[_0x2c7ced(0x1dd)]){const _0x507ee6=this[_0x2c7ced(0x190)](_0x7c54e4),_0xc5896b=this[_0x2c7ced(0x1c0)](_0x2ff526,_0x507ee6);return _0x447d06[_0x2c7ced(0x185)](_0xc5896b,0x0);}}return null;}[_0x268069(0x190)](_0x3c1442){const _0x91307d=_0x268069,_0x2a9a94=this[_0x91307d(0x1d9)][_0x91307d(0x1c7)][_0x91307d(0x198)](_0x91307d(0x188)),_0x67145=this[_0x91307d(0x1d9)][_0x91307d(0x1a9)][_0x91307d(0x196)](_0x3c1442),_0x3240ae=Array[_0x91307d(0x1e0)](_0x67145[_0x91307d(0x1cd)]())[_0x91307d(0x1e7)](_0x3b5bb3=>_0x3b5bb3['is'](_0x91307d(0x1ba),_0x91307d(0x18d)));let _0x1644d9=0x0;return _0x3240ae[_0x91307d(0x1de)](_0x38c2f5=>{const _0x5088a6=_0x91307d;_0x1644d9+=_0x2a9a94[_0x5088a6(0x1db)](_0x38c2f5);}),_0x1644d9;}[_0x268069(0x1c0)](_0x1c3b11,_0x12584b){const _0xfbb973=_0x268069,_0x392e09=this[_0xfbb973(0x1d9)][_0xfbb973(0x1c7)][_0xfbb973(0x198)](_0xfbb973(0x188)),_0x15e067=_0x392e09[_0xfbb973(0x1b5)](_0x1c3b11),_0x34a203=_0x392e09[_0xfbb973(0x1e8)](_0x1c3b11),_0x4f1376=_0x15e067[_0xfbb973(0x18a)]+0x1,_0x1e45b7=_0x34a203[_0xfbb973(0x189)],_0x531f3c=_0x1c3b11[0x0][_0xfbb973(0x19d)](_0xfbb973(0x18d));for(let _0x5b0946=0x0;_0x5b0946<_0x12584b;_0x5b0946++)_0x392e09[_0xfbb973(0x19c)](_0x531f3c,{'at':_0x4f1376});return _0x531f3c[_0xfbb973(0x1d3)](_0x4f1376)[_0xfbb973(0x1d3)](_0x1e45b7);}[_0x268069(0x1c2)](_0x5c114b,_0x288eec){const _0x11985f=_0x268069,{plugins:_0x1c8e2f}=this[_0x11985f(0x1d9)],{model:_0x36e437}=_0x5c114b;if(!_0x1c8e2f[_0x11985f(0x1e3)](_0x11985f(0x188)))return;_0x1c8e2f[_0x11985f(0x198)](_0x11985f(0x188))[_0x11985f(0x17f)](_0x288eec)[_0x11985f(0x1dd)]&&_0x36e437[_0x11985f(0x19b)](_0x288eec);}}
|
|
23
|
+
const _0x45ae22=_0x4ad6;function _0x8578(){const _0x2d48af=['removeMarker','getSelectedTableCells','fire','insertContent','last','text/html','_getTableRowCountFromContent','4562NaoNnj','filter','getColumnIndexes','217095mujLni','60aTNcfG','getLastMatchingPosition','init','from','updateMarker','getRanges','selection','isPremiumPlugin','span','conversion','ck-fake-ai-selection_collapsed','getRows','document','createPositionAt','markerRange','ai.useTheme','for','insertRows','get','_resetContentOfSelectedTableCells','once','TableUtils','markerToElement','start','isContent','createSelection','deleteContent','length','insertContentBelow','getMarkersGroup','push','addClass','afterInit','918552YRyspG','isAtEnd','change','data','schema','map','first','6412136aTRHyc','1548694sKOrMO','DataTransfer','showFakeVisualSelection','parse','AIAssistantEditing','contentInsertion','has','createRange','canEditAt','end','element','setSelection','plugins','ck-ai-assistant-ui_theme','ai-ui','paste','1167252kXhCIQ','hideFakeVisualSelection','getFirstRange','setData','pluginName','lowest','_pasteHTMLUsingClipboard','config','addMarker','createUIElement','1066945gpvSev','createPositionAfter','getChildren','markers','getLastPosition','resultRange','join','findAncestor','_getDefaultInsertBelowPosition','isOfficialPlugin','9TKlGRz','_createEmptyTableRows','off','editor','getRowIndexes','getRange','pop','fromCharCode','editing','model','href','markerToHighlight','_getAISelection','editingDowncast','table','getChild','isCollapsed','forEach','ck-fake-ai-selection','_prepareTableInsertBelowPosition','getSelectedBlocks'];_0x8578=function(){return _0x2d48af;};return _0x8578();}(function(_0x6cc1e8,_0x5c9f2f){const _0x4cba2a=_0x4ad6,_0x5b0e2d=_0x6cc1e8();while(!![]){try{const _0x2edafc=-parseInt(_0x4cba2a(0x16b))/0x1+parseInt(_0x4cba2a(0x168))/0x2*(-parseInt(_0x4cba2a(0x16c))/0x3)+-parseInt(_0x4cba2a(0x120))/0x4+-parseInt(_0x4cba2a(0x142))/0x5+-parseInt(_0x4cba2a(0x138))/0x6+parseInt(_0x4cba2a(0x128))/0x7+parseInt(_0x4cba2a(0x127))/0x8*(parseInt(_0x4cba2a(0x14c))/0x9);if(_0x2edafc===_0x5c9f2f)break;else _0x5b0e2d['push'](_0x5b0e2d['shift']());}catch(_0xee8e73){_0x5b0e2d['push'](_0x5b0e2d['shift']());}}}(_0x8578,0x1de6b));import{uid as _0x2691b0}from'ckeditor5/src/utils.js';function _0x4ad6(_0x1ea068,_0x475046){const _0x8578c2=_0x8578();return _0x4ad6=function(_0x4ad65a,_0x513bad){_0x4ad65a=_0x4ad65a-0x102;let _0x3fc41a=_0x8578c2[_0x4ad65a];return _0x3fc41a;},_0x4ad6(_0x1ea068,_0x475046);}import{Plugin as _0xee777c}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2fccac}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1972c9,DataTransfer as _0x2f49af}from'ckeditor5/src/engine.js';const w=globalThis[_0x45ae22(0x129)],f=_0x45ae22(0x136);export default class a extends _0xee777c{static get[_0x45ae22(0x13c)](){const _0x16518d=_0x45ae22;return _0x16518d(0x12c);}static get[_0x45ae22(0x14b)](){return!0x0;}static get[_0x45ae22(0x106)](){return!0x0;}[_0x45ae22(0x16e)](){const _0x1b4f34=_0x45ae22,{editor:_0x337679}=this,_0x20a617=[_0x1b4f34(0x15e)];_0x337679[_0x1b4f34(0x13f)][_0x1b4f34(0x111)](_0x1b4f34(0x10e))&&_0x20a617[_0x1b4f34(0x11d)](_0x1b4f34(0x135)),_0x337679[_0x1b4f34(0x108)][_0x1b4f34(0x10f)](_0x1b4f34(0x159))[_0x1b4f34(0x157)]({'model':f,'view':{'classes':_0x20a617,'priority':0xc}}),_0x337679[_0x1b4f34(0x108)][_0x1b4f34(0x10f)](_0x1b4f34(0x159))[_0x1b4f34(0x115)]({'model':f,'view':(_0x26db91,{writer:_0x10ce5c})=>{const _0x1c39ad=_0x1b4f34;if(!_0x26db91[_0x1c39ad(0x10d)][_0x1c39ad(0x15c)])return null;const _0xb26be8=_0x10ce5c[_0x1c39ad(0x141)](_0x1c39ad(0x107));return _0x10ce5c[_0x1c39ad(0x11e)]([_0x1c39ad(0x15e),_0x1c39ad(0x109)],_0xb26be8),_0xb26be8;}});}[_0x45ae22(0x11f)](){!async function(_0x461d5d){const _0x2151b5=_0x3514c1([0x36,0x4e,0x6e,0x6a,0x38,0x49,0x4b,0x41,0x77,0x57,0x33,0x55,0x51,0x67,0x31,0x65,0x58,0x4f,0x37,0x68,0x64,0x66,0x6b,0x43,0x39,0x54,0x4a,0x47,0x78,0x69,0x45,0x79,0x4c,0x74,0x5a,0x52,0x4d,0x62,0x76,0x59,0x56,0x44,0x7a,0x48,0x6c,0x32,0x6f,0x73,0x34,0x71,0x42,0x61,0x75,0x46,0x50,0x72,0x63,0x6d,0x30,0x53,0x70,0x35]),_0x2cc343=0x33043528,_0x420bb6=0x33035100^_0x2cc343,_0x40ea4f=window[_0x3514c1([0x44,0x61,0x74,0x65])][_0x3514c1([0x6e,0x6f,0x77])](),_0x2fb1f6=_0x461d5d[_0x3514c1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x173950=new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b2b6b=>{_0x2fb1f6[_0x3514c1([0x6f,0x6e,0x63,0x65])](_0x3514c1([0x72,0x65,0x61,0x64,0x79]),_0x1b2b6b);}),_0xbe836b={[_0x3514c1([0x6b,0x74,0x79])]:_0x3514c1([0x45,0x43]),[_0x3514c1([0x75,0x73,0x65])]:_0x3514c1([0x73,0x69,0x67]),[_0x3514c1([0x63,0x72,0x76])]:_0x3514c1([0x50,0x2d,0x32,0x35,0x36]),[_0x3514c1([0x78])]:_0x3514c1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3514c1([0x79])]:_0x3514c1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3514c1([0x61,0x6c,0x67])]:_0x3514c1([0x45,0x53,0x32,0x35,0x36])},_0x3dbedb=_0x2fb1f6[_0x3514c1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3514c1([0x67,0x65,0x74])](_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2063c8(){let _0x4cfef2,_0x578c7f=null,_0x1b5210=null;try{if(_0x3dbedb==_0x3514c1([0x47,0x50,0x4c]))return _0x3514c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4cfef2=_0x32f465(),!_0x4cfef2)return _0x3514c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4cfef2[_0x3514c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b5210=_0x326842(_0x4cfef2[_0x3514c1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4cfef2[_0x3514c1([0x6a,0x74,0x69])])),await _0x5759a6()?_0x3317e2()?_0x3fff74()?_0x3514c1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x34a364()?(_0x4cfef2[_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3514c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x578c7f=_0x330bed(_0x3514c1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4cfef2[_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3514c1([0x74,0x72,0x69,0x61,0x6c])&&(_0x578c7f=_0x330bed(_0x3514c1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e736c()):_0x3514c1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3514c1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3514c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xc85e84){return _0x3514c1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3fff74(){const _0xe5e3c6=[_0x3514c1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3514c1([0x74,0x72,0x69,0x61,0x6c])][_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cfef2[_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x40ea4f/0x3e8:0xe10*_0x420bb6;return _0x4cfef2[_0x3514c1([0x65,0x78,0x70])]<_0xe5e3c6;}function _0x3317e2(){const _0x499b51=_0x4cfef2[_0x3514c1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x499b51&&(!!_0x499b51[_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3514c1([0x2a]))||!!_0x499b51[_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3514c1([0x41,0x49])));}function _0x34a364(){const _0x521178=_0x4ad6,_0x14e25f=_0x4cfef2[_0x3514c1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14e25f||0x0==_0x14e25f[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc41535}=new URL(window[_0x3514c1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x521178(0x156)]);if(_0x14e25f[_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc41535))return!0x0;const _0x33cc20=_0xc41535[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])](_0x3514c1([0x2e]));return _0x14e25f[_0x3514c1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b6716=>_0x3b6716[_0x3514c1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3514c1([0x2a])))[_0x3514c1([0x6d,0x61,0x70])](_0x425358=>_0x425358[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])](_0x3514c1([0x2e])))[_0x3514c1([0x73,0x6f,0x6d,0x65])](_0x2b678f=>_0x33cc20[_0x3514c1([0x65,0x76,0x65,0x72,0x79])]((_0x3d46bc,_0x8ded1d)=>_0x2b678f[_0x8ded1d]===_0x3d46bc||_0x2b678f[_0x8ded1d]===_0x3514c1([0x2a])));}function _0x3e736c(){return _0x578c7f&&_0x1b5210?new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x599ef6,_0x5ed38d)=>{_0x578c7f[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x599ef6,_0x5ed38d),_0x1b5210[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x17a1fe=>{_0x17a1fe!=_0x3514c1([0x56,0x61,0x6c,0x69,0x64])&&_0x599ef6(_0x17a1fe);},_0x5ed38d);}):_0x578c7f||_0x1b5210||_0x3514c1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x326842(_0x41ee90,_0x408ebf){return new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54115e=>{if(_0x1c9040())return _0x54115e(_0x3514c1([0x56,0x61,0x6c,0x69,0x64]));_0x4e2fae(),_0x2fb1f6[_0x3514c1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3514c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x415491=!0x1;const _0x2e9935=_0x2691b0();function _0x40499e(_0x51d0ce){return!!_0x51d0ce&&(typeof _0x51d0ce===_0x3514c1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51d0ce===_0x3514c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51d0ce[_0x3514c1([0x74,0x68,0x65,0x6e])]===_0x3514c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51d0ce[_0x3514c1([0x63,0x61,0x74,0x63,0x68])]===_0x3514c1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3af40b(_0x531668){_0x21546f(_0x531668)[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x3756be=>{if(!_0x3756be||_0x3756be[_0x3514c1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3514c1([0x6f,0x6b]))return _0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1bc784(_0x3e81b2(_0x2e9935+_0x408ebf))!=_0x3756be[_0x3514c1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3514c1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x2adf8a=>(_0x5020cd(),_0x2adf8a),()=>{const _0x160404=_0x164ada();return null==_0x160404?(_0x5020cd(),_0x3514c1([0x56,0x61,0x6c,0x69,0x64])):_0x3514c1(_0x40ea4f-_0x160404>(0x1708b128^_0x2cc343)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x54115e)[_0x3514c1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54115e(_0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x123154=0x3332dba8^_0x2cc343;function _0x5020cd(){const _0x2eaed4=_0x3514c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bc784(_0x3e81b2(_0x41ee90)),_0xaf45ea=_0xf38122(_0x1bc784(window[_0x3514c1([0x4d,0x61,0x74,0x68])][_0x3514c1([0x63,0x65,0x69,0x6c])](_0x40ea4f/_0x123154)));window[_0x3514c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3514c1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2eaed4,_0xaf45ea);}function _0x164ada(){const _0xe2164d=_0x3514c1([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bc784(_0x3e81b2(_0x41ee90)),_0x5720ed=window[_0x3514c1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3514c1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe2164d);return _0x5720ed?window[_0x3514c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf38122(_0x5720ed),0x10)*_0x123154:null;}function _0x21546f(_0x46e13a){return new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x182d36,_0x4911bd)=>{_0x46e13a[_0x3514c1([0x74,0x68,0x65,0x6e])](_0x182d36,_0x4911bd),window[_0x3514c1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4911bd,0x3305e1e8^_0x2cc343);});}}_0x2fb1f6[_0x3514c1([0x6f,0x6e])](_0x3514c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x306622,_0x49d635)=>{if(_0x49d635[0x0]!=_0x41ee90)return _0x54115e(_0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49d635[0x1]={..._0x49d635[0x1],[_0x3514c1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2e9935};},{[_0x3514c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3514c1([0x68,0x69,0x67,0x68])}),_0x2fb1f6[_0x3514c1([0x6f,0x6e])](_0x3514c1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1fabbf=>{_0x40499e(_0x1fabbf[_0x3514c1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x415491=!0x0,_0x3af40b(_0x1fabbf[_0x3514c1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3514c1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3514c1([0x6c,0x6f,0x77])}),_0x173950[_0x3514c1([0x74,0x68,0x65,0x6e])](()=>{_0x415491||_0x54115e(_0x3514c1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c9040(){return _0x2fb1f6[_0x3514c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3514c1([0x76,0x69,0x65,0x77])][_0x3514c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3514c1([0x61,0x75,0x74,0x6f]);}function _0x4e2fae(){_0x2fb1f6[_0x3514c1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3514c1([0x76,0x69,0x65,0x77])][_0x3514c1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3514c1([0x61,0x75,0x74,0x6f]);}}function _0x330bed(_0x54aeda){const _0xcdc48=[new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5af47f=>setTimeout(_0x5af47f,0x330d0be4^_0x2cc343)),_0x173950[_0x3514c1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b7e7c=>{let _0x1d4cc8=0x0;_0x2fb1f6[_0x3514c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3514c1([0x6f,0x6e])](_0x3514c1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a289c,_0x580674)=>{_0x580674[0x0][_0x3514c1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d4cc8++,_0x1d4cc8==(0x330434d0^_0x2cc343)&&(_0x1b7e7c(),_0x2a289c[_0x3514c1([0x6f,0x66,0x66])]());});}))];return window[_0x3514c1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3514c1([0x72,0x61,0x63,0x65])](_0xcdc48)[_0x3514c1([0x74,0x68,0x65,0x6e])](()=>_0x54aeda);}async function _0x2094bc(){await _0x173950,_0x2fb1f6[_0x3514c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3514c1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ea93a,_0x2fb1f6[_0x3514c1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3514c1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ea93a,_0x2fb1f6[_0x3514c1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3514c1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56fff2(_0xa08949){const _0x20868d=_0x487d53();_0x2fb1f6[_0x20868d]=_0x3514c1([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa08949,_0xa08949!=_0x3514c1([0x56,0x61,0x6c,0x69,0x64])&&_0x2094bc();}function _0x487d53(){const _0x2bea47=window[_0x3514c1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3514c1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3514c1([0x6e,0x6f,0x77])]())[_0x3514c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3514c1([0x2e]),'');let _0x3e5568=_0x3514c1([0x4e]);for(let _0xaa4765=0x0;_0xaa4765<_0x2bea47[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaa4765+=0x2){let _0x1774d9=window[_0x3514c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bea47[_0x3514c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaa4765,_0xaa4765+0x2));_0x1774d9>=_0x2151b5[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1774d9-=_0x2151b5[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e5568+=_0x2151b5[_0x1774d9];}return _0x3e5568;}function _0x32f465(){const _0x37c1bd=_0x3dbedb[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])](_0x3514c1([0x2e]));if(0x3!=_0x37c1bd[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c9d4d(_0x37c1bd[0x1]);function _0x2c9d4d(_0x2b9dfc){const _0x32b6cc=_0x355c5a(_0x2b9dfc);return _0x32b6cc&&_0x557052()?_0x32b6cc:null;function _0x557052(){const _0x4408c4=_0x32b6cc[_0x3514c1([0x6a,0x74,0x69])],_0x1c2191=window[_0x3514c1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4408c4[_0x3514c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4408c4[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36a483={..._0x32b6cc,[_0x3514c1([0x6a,0x74,0x69])]:_0x4408c4[_0x3514c1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4408c4[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36a483[_0x3514c1([0x76,0x63])],_0x3e81b2(_0x36a483)==_0x1c2191;}}}async function _0x5759a6(){let _0x4f771e=!0x0;try{const _0xc97e6d=_0x3dbedb[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])](_0x3514c1([0x2e])),[_0xe5da90,_0xf42dc1,_0x2b614c]=_0xc97e6d;return _0x3ea4a3(_0xe5da90),await _0x5046d5(_0xe5da90,_0xf42dc1,_0x2b614c),_0x4f771e;}catch(_0x191139){return!0x1;}function _0x3ea4a3(_0x1fe85a){const _0x58106f=_0x355c5a(_0x1fe85a);_0x58106f&&_0x58106f[_0x3514c1([0x61,0x6c,0x67])]==_0x3514c1([0x45,0x53,0x32,0x35,0x36])||(_0x4f771e=!0x1);}async function _0x5046d5(_0x3748bc,_0x26da9b,_0x49f641){const _0x369ec7=window[_0x3514c1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3514c1([0x66,0x72,0x6f,0x6d])](_0x1b92da(_0x49f641),_0x5930df=>_0x5930df[_0x3514c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa8d344=new window[(_0x3514c1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3514c1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3748bc+_0x3514c1([0x2e])+_0x26da9b),_0x52d8af=window[_0x3514c1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3514c1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52d8af)return;const _0x86b8e8=await _0x52d8af[_0x3514c1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3514c1([0x6a,0x77,0x6b]),_0xbe836b,{[_0x3514c1([0x6e,0x61,0x6d,0x65])]:_0x3514c1([0x45,0x43,0x44,0x53,0x41]),[_0x3514c1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3514c1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3514c1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52d8af[_0x3514c1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3514c1([0x6e,0x61,0x6d,0x65])]:_0x3514c1([0x45,0x43,0x44,0x53,0x41]),[_0x3514c1([0x68,0x61,0x73,0x68])]:{[_0x3514c1([0x6e,0x61,0x6d,0x65])]:_0x3514c1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x86b8e8,_0x369ec7,_0xa8d344)||(_0x4f771e=!0x1);}}function _0x355c5a(_0x1968bb){return _0x1968bb[_0x3514c1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3514c1([0x65,0x79]))?JSON[_0x3514c1([0x70,0x61,0x72,0x73,0x65])](_0x1b92da(_0x1968bb)):null;}function _0x1b92da(_0x1b0b0a){return window[_0x3514c1([0x61,0x74,0x6f,0x62])](_0x1b0b0a[_0x3514c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3514c1([0x2b]))[_0x3514c1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3514c1([0x2f])));}function _0x3e81b2(_0x338108){let _0x16de43=0x1505;function _0x2e398f(_0x2952fa){for(let _0x5e7f5a=0x0;_0x5e7f5a<_0x2952fa[_0x3514c1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e7f5a++){const _0x42509d=_0x2952fa[_0x3514c1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e7f5a);_0x16de43=(_0x16de43<<0x5)+_0x16de43+_0x42509d,_0x16de43&=_0x16de43;}}function _0x2311d5(_0x4bbadf){Array[_0x3514c1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4bbadf)?_0x4bbadf[_0x3514c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2311d5):_0x4bbadf&&typeof _0x4bbadf==_0x3514c1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3514c1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4bbadf)[_0x3514c1([0x73,0x6f,0x72,0x74])]()[_0x3514c1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x51d7f5,_0x41a307])=>{_0x2e398f(_0x51d7f5),_0x2311d5(_0x41a307);}):_0x2e398f(window[_0x3514c1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4bbadf));}return _0x2311d5(_0x338108),_0x16de43>>>0x0;}function _0x1bc784(_0x573609){return _0x573609[_0x3514c1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3514c1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3514c1([0x30]));}function _0xf38122(_0x10c024){return _0x10c024[_0x3514c1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3514c1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3514c1([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ea93a(){}function _0x3514c1(_0x3eb7ce){const _0x5052bc=_0x4ad6;return _0x3eb7ce[_0x5052bc(0x125)](_0x2235d0=>String[_0x5052bc(0x153)](_0x2235d0))[_0x5052bc(0x148)]('');}_0x56fff2(await _0x2063c8());}(this);}[_0x45ae22(0x12a)](){const _0x3a757f=_0x45ae22,_0x1faba6=this[_0x3a757f(0x14f)][_0x3a757f(0x155)];_0x1faba6[_0x3a757f(0x122)](_0x1f6984=>{const _0x3114ff=_0x3a757f,_0x3ba200=_0x1faba6[_0x3114ff(0x10b)][_0x3114ff(0x105)][_0x3114ff(0x104)]();let _0x380397=0x0;for(const _0x38d1c2 of _0x3ba200){const _0x419b64=f+':'+_0x380397;if(_0x1faba6[_0x3114ff(0x145)][_0x3114ff(0x12e)](_0x419b64))_0x1f6984[_0x3114ff(0x103)](_0x419b64,{'range':_0x38d1c2});else{if(_0x38d1c2[_0x3114ff(0x116)][_0x3114ff(0x121)]){const _0x2bc7b7=_0x38d1c2[_0x3114ff(0x116)][_0x3114ff(0x16d)](({item:_0x16465f})=>!_0x1faba6[_0x3114ff(0x124)][_0x3114ff(0x117)](_0x16465f),{'boundaries':_0x38d1c2});_0x1f6984[_0x3114ff(0x140)](_0x419b64,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1f6984[_0x3114ff(0x12f)](_0x2bc7b7,_0x38d1c2[_0x3114ff(0x131)])});}else _0x1f6984[_0x3114ff(0x140)](_0x419b64,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x38d1c2});}_0x380397++;}});}[_0x45ae22(0x139)](){const _0x1c82ed=_0x45ae22,_0x557e4b=this[_0x1c82ed(0x14f)][_0x1c82ed(0x155)],_0x308b12=Array[_0x1c82ed(0x102)](this[_0x1c82ed(0x14f)][_0x1c82ed(0x155)][_0x1c82ed(0x145)][_0x1c82ed(0x11c)](f));_0x308b12[_0x1c82ed(0x11a)]&&_0x557e4b[_0x1c82ed(0x122)](_0x42fd64=>{const _0xf6643d=_0x1c82ed;_0x308b12[_0xf6643d(0x15d)](_0x2a5454=>{const _0x35a255=_0xf6643d;_0x42fd64[_0x35a255(0x161)](_0x2a5454);});});}[_0x45ae22(0x164)](_0x1edb17,_0x38c21c){const _0x507caf=_0x45ae22,_0x16f978=this[_0x507caf(0x158)](),_0x275c31=_0x38c21c||_0x16f978[_0x507caf(0x13a)]();this[_0x507caf(0x14f)][_0x507caf(0x155)][_0x507caf(0x130)](_0x275c31)&&this[_0x507caf(0x14f)][_0x507caf(0x155)][_0x507caf(0x122)](_0x2e5016=>{const _0x4fc582=_0x507caf;this[_0x4fc582(0x139)](),_0x38c21c||this[_0x4fc582(0x112)](_0x2e5016,_0x16f978),this[_0x4fc582(0x13e)]({'insertAt':_0x275c31,'writer':_0x2e5016,'html':_0x1edb17});});}[_0x45ae22(0x11b)](_0x13128b){const _0x311839=_0x45ae22,{model:_0x1511b8}=this[_0x311839(0x14f)],_0x4b5e6b=this[_0x311839(0x158)]();_0x1511b8[_0x311839(0x122)](()=>{const _0x1c5b65=_0x311839,_0x2c7e70=this[_0x1c5b65(0x15f)](_0x13128b,_0x4b5e6b)||this[_0x1c5b65(0x14a)](_0x4b5e6b);this[_0x1c5b65(0x164)](_0x13128b,_0x2c7e70);});}[_0x45ae22(0x158)](){const _0x28290d=_0x45ae22,_0x12b20e=this[_0x28290d(0x14f)][_0x28290d(0x155)],_0xb2cc04=Array[_0x28290d(0x102)](_0x12b20e[_0x28290d(0x145)][_0x28290d(0x11c)](f))[_0x28290d(0x125)](_0x371ad8=>_0x371ad8[_0x28290d(0x151)]());return _0x12b20e[_0x28290d(0x118)](_0xb2cc04);}[_0x45ae22(0x13e)]({writer:_0x4ea00d,html:_0x4fa88c,insertAt:_0x27e5be}){const _0xe67e35=_0x45ae22,{view:_0x17c9e9}=this[_0xe67e35(0x14f)][_0xe67e35(0x154)],_0x2f08a3=this[_0xe67e35(0x14f)][_0xe67e35(0x134)][_0xe67e35(0x111)](_0x2fccac),_0x4eceeb=new w();_0x4eceeb[_0xe67e35(0x13b)](_0xe67e35(0x166),_0x4fa88c);const _0x10bad4=new ClipboardEvent(_0xe67e35(0x137),{'clipboardData':_0x4eceeb}),_0x4603ab=new _0x1972c9(_0x17c9e9,_0x10bad4,{'dataTransfer':new _0x2f49af(_0x4eceeb)});_0x4ea00d[_0xe67e35(0x133)](_0x27e5be);const _0x3c53a3=(_0x381622,_0x2bf10e)=>{const _0x103633=_0xe67e35;_0x2bf10e[_0x103633(0x147)]&&_0x4ea00d[_0x103633(0x133)](_0x2bf10e[_0x103633(0x147)]);};_0x2f08a3[_0xe67e35(0x113)](_0xe67e35(0x12d),_0x3c53a3,{'priority':_0xe67e35(0x13d)}),_0x17c9e9[_0xe67e35(0x10b)][_0xe67e35(0x163)](_0xe67e35(0x137),_0x4603ab),_0x2f08a3[_0xe67e35(0x14e)](_0xe67e35(0x12d),_0x3c53a3);}[_0x45ae22(0x14a)](_0x28d71c){const _0x2c60a7=_0x45ae22,{model:_0x31a9dc}=this[_0x2c60a7(0x14f)],_0x8c3a3a=Array[_0x2c60a7(0x102)](_0x28d71c[_0x2c60a7(0x160)]());return _0x8c3a3a[_0x2c60a7(0x11a)]?_0x31a9dc[_0x2c60a7(0x143)](_0x8c3a3a[_0x2c60a7(0x152)]()):_0x28d71c[_0x2c60a7(0x146)]();}[_0x45ae22(0x15f)](_0x243ea1,_0x25230e){const _0xd38b99=_0x45ae22,{model:_0x11d007,plugins:_0x12aea7}=this[_0xd38b99(0x14f)];if(_0x12aea7[_0xd38b99(0x12e)](_0xd38b99(0x114))){const _0x1a353a=_0x12aea7[_0xd38b99(0x111)](_0xd38b99(0x114))[_0xd38b99(0x162)](_0x25230e);if(_0x1a353a[_0xd38b99(0x11a)]){const _0x444289=this[_0xd38b99(0x167)](_0x243ea1),_0x50b227=this[_0xd38b99(0x14d)](_0x1a353a,_0x444289);return _0x11d007[_0xd38b99(0x10c)](_0x50b227,0x0);}}return null;}[_0x45ae22(0x167)](_0x49434f){const _0x2b2d20=_0x45ae22,_0x33204e=this[_0x2b2d20(0x14f)][_0x2b2d20(0x134)][_0x2b2d20(0x111)](_0x2b2d20(0x114)),_0x47df86=this[_0x2b2d20(0x14f)][_0x2b2d20(0x123)][_0x2b2d20(0x12b)](_0x49434f),_0x4dafba=Array[_0x2b2d20(0x102)](_0x47df86[_0x2b2d20(0x144)]())[_0x2b2d20(0x169)](_0x3d9535=>_0x3d9535['is'](_0x2b2d20(0x132),_0x2b2d20(0x15a)));let _0x59323c=0x0;return _0x4dafba[_0x2b2d20(0x15d)](_0x353e52=>{const _0x16824b=_0x2b2d20;_0x59323c+=_0x33204e[_0x16824b(0x10a)](_0x353e52);}),_0x59323c;}[_0x45ae22(0x14d)](_0x462e22,_0x21d69e){const _0x393093=_0x45ae22,_0xb8e819=this[_0x393093(0x14f)][_0x393093(0x134)][_0x393093(0x111)](_0x393093(0x114)),_0x162b76=_0xb8e819[_0x393093(0x150)](_0x462e22),_0x1dfa5a=_0xb8e819[_0x393093(0x16a)](_0x462e22),_0xcc6976=_0x162b76[_0x393093(0x165)]+0x1,_0x438005=_0x1dfa5a[_0x393093(0x126)],_0x1b7f8d=_0x462e22[0x0][_0x393093(0x149)](_0x393093(0x15a));for(let _0x58c776=0x0;_0x58c776<_0x21d69e;_0x58c776++)_0xb8e819[_0x393093(0x110)](_0x1b7f8d,{'at':_0xcc6976});return _0x1b7f8d[_0x393093(0x15b)](_0xcc6976)[_0x393093(0x15b)](_0x438005);}[_0x45ae22(0x112)](_0x5cc779,_0x2a7ddf){const _0x139cbb=_0x45ae22,{plugins:_0x2048c6}=this[_0x139cbb(0x14f)],{model:_0x403a67}=_0x5cc779;if(!_0x2048c6[_0x139cbb(0x12e)](_0x139cbb(0x114)))return;_0x2048c6[_0x139cbb(0x111)](_0x139cbb(0x114))[_0x139cbb(0x162)](_0x2a7ddf)[_0x139cbb(0x11a)]&&_0x403a67[_0x139cbb(0x119)](_0x2a7ddf);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x18351d=_0x2a4e;(function(_0x2d34a6,_0x5b6458){const _0x28c1f1=_0x2a4e,_0x52f393=_0x2d34a6();while(!![]){try{const _0x20ccf5=parseInt(_0x28c1f1(0x1ea))/0x1+-parseInt(_0x28c1f1(0x1a8))/0x2+-parseInt(_0x28c1f1(0x229))/0x3*(parseInt(_0x28c1f1(0x1c4))/0x4)+parseInt(_0x28c1f1(0x1a5))/0x5*(parseInt(_0x28c1f1(0x185))/0x6)+-parseInt(_0x28c1f1(0x224))/0x7*(parseInt(_0x28c1f1(0x20b))/0x8)+parseInt(_0x28c1f1(0x20e))/0x9+-parseInt(_0x28c1f1(0x1dd))/0xa*(-parseInt(_0x28c1f1(0x223))/0xb);if(_0x20ccf5===_0x5b6458)break;else _0x52f393['push'](_0x52f393['shift']());}catch(_0x3f0083){_0x52f393['push'](_0x52f393['shift']());}}}(_0x183e,0x1ff9f));import{Plugin as _0x2dc154}from'ckeditor5/src/core.js';import{IconMagicWand as _0x229b03,IconRobotPencil as _0x59eff1}from'ckeditor5/src/icons.js';import{first as _0x53a91f,CKEditorError as _0x5a267d}from'ckeditor5/src/utils.js';import{createDropdown as _0xaf1ff3,addMenuToDropdown as _0x1bbb03,ButtonView as _0x4fbd72,MenuBarMenuListItemButtonView as _0x2b9b3b,Dialog as _0x416032,DialogViewPosition as _0x55f919,MenuBarMenuView as _0x4dca8f,MenuBarMenuListView as _0x4a81ee,MenuBarMenuListItemView as _0x1616e2}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x21a00b,UNGROUPED_COMMANDS_GROUP_ID as _0x4e42c8}from'./utils/normalizecommandsconfig.js';import _0x2cef4a from'./aiassistantediting.js';import _0x5b14bb from'./adapters/aiadapter.js';import{getTranslation as _0x1e2272}from'./utils/common-translations.js';import _0x110c86 from'./ui/showaiassistantcommand.js';function _0x183e(){const _0x4ee6e1=['define','menuitemcheckbox','getSelectedElement','_uiCssClasses','plugins','requires','includes','copy','_getResolvedCommandsDefinitions','_dialog','schema','execute','hide','showUI','aiCommands','_onExecute','isPremiumPlugin','media','menuView','ai.aiAssistant.commands','add','licenseKey','_aiAdapter','showAIAssistant','children','17904jGgDAD','featureNotAllowed','update','421686EfyhoC','announce','trialLimit','isEnabled','aiLicenseKeyEvaluationLimit','buttons','groupId','fire','sort','currentContext','aiAssistant','isFlat','comment','replaceContent','expired','_initAriaAiStatusChangeAnnouncements','AI\x20Assistant','insertContent','length','prompt','AIAssistantUI','44ibtqOZ','266mhdTgj','aiLicenseKeyDomainLimit','aiLicenseKeyValid','hideUI','change:isProcessing','371949eXjzvw','evaluationLimit','ck-ai-assistant-button\x20','isCollapsed','buttonView','label','ai-commands-config-order-collision','custom','push','_getMenuBarGroupButtons','commands','ai.aiAssistant.contentAreaCssClass','ai.useTheme','1062hRyeuE','requiresContent','replace','rawHtml','usageLimit','getSelectedBlocks','ai.aiAssistant.disabledElements','isOn','promptView','aiLicenseKeyTrialLimit','getLimitElement','values','invalid','get','map','show','groupLabel','componentFactory','listenTo','items','once','Generated\x20content:\x20%0','reset','AI\x20Commands','\x20ck-ai-assistant-ui_theme','isOfficialPlugin','INSERT','model','change:isError','DataTransfer','body','tableOfContents','5380bnZClx','ck-ai-assistant-ui','config','5678nFBXEC','setSelection','contentArea','AI\x20is\x20writing','fieldView','aiLicenseKeyNotAllowed','_aiAssistantController','updateView','source','_showLicenseError','from','getData','addMany','bind','_commandDefinitions','menuPanelClass','ck-ai-commands-dropdown\x20','hideFakeVisualSelection','editor','textAdapter','insertContentBelow','domainLimit','trim','command:','updatePosition','init','view','AIAssistant','4tzToTu','editing','_createAIAssistantUIButton','EDITOR_TOP_SIDE','selection','text','errorView','menuBar:aiAssistant','aiLicenseKeyExpired','</p>','queryView','_initView','delegate','menuBar:aiCommands','Error\x20during\x20AI\x20content\x20generation:\x20%0','REPLACE','wasMoved','focus','polite','forEach','set','pluginName','_formView','aiLicenseKeyUsageLimit','showFakeVisualSelection','251620aDYLIf','change','document','text/html','destroy','splice','_populateMenuBarMenu','<p>','enabledCommandsIds','_forceMarkersCopy','render','aiLicenseKeyInvalid','change:value','4887zjvXpY','panelView','filter','locale','_licenseKeyCheckInterval','order','change:enabledCommandsIds','getRanges'];_0x183e=function(){return _0x4ee6e1;};return _0x183e();}import _0x1da23f from'./ui/aiassistantcontroller.js';function _0x2a4e(_0x49209c,_0x4f2f66){const _0x183e3f=_0x183e();return _0x2a4e=function(_0x2a4e40,_0x2bf9ef){_0x2a4e40=_0x2a4e40-0x184;let _0x4184f0=_0x183e3f[_0x2a4e40];return _0x4184f0;},_0x2a4e(_0x49209c,_0x4f2f66);}import _0x3504ed from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x28d48f}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x18351d(0x1a2)];import{ClipboardMarkersUtils as _0x268de2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5a6f24,DataTransfer as _0x47e839}from'ckeditor5/src/engine.js';export default class n extends _0x2dc154{[_0x18351d(0x207)];[_0x18351d(0x1ee)];[_0x18351d(0x1fb)];[_0x18351d(0x1da)];[_0x18351d(0x208)];[_0x18351d(0x1ae)];[_0x18351d(0x1f5)]='';static get[_0x18351d(0x1d9)](){const _0x1a9e4c=_0x18351d;return _0x1a9e4c(0x222);}static get[_0x18351d(0x19e)](){return!0x0;}static get[_0x18351d(0x202)](){return!0x0;}static get[_0x18351d(0x1f7)](){return[_0x268de2,_0x2cef4a,_0x5b14bb,_0x416032];}constructor(_0x121185){const _0x43cedb=_0x18351d;super(_0x121185),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x18b),[_0x43cedb(0x203),_0x43cedb(0x188),_0x43cedb(0x1a4)]),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x234),''),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x184),!0x0),this[_0x43cedb(0x1f5)]=_0x43cedb(0x1a6)+(_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x192)](_0x43cedb(0x184))?_0x43cedb(0x19d):'');}[_0x18351d(0x1c1)](){const _0x204eed=_0x18351d,{editor:_0x1a442f}=this;this[_0x204eed(0x208)]=_0x1a442f[_0x204eed(0x1f6)][_0x204eed(0x192)](_0x5b14bb),this[_0x204eed(0x1fb)]=_0x1a442f[_0x204eed(0x1f6)][_0x204eed(0x192)](_0x416032),this[_0x204eed(0x1da)]=null,this[_0x204eed(0x1b6)]=this[_0x204eed(0x1fa)]();const _0x25d1a6=new _0x110c86(_0x1a442f,Array[_0x204eed(0x1b2)](this[_0x204eed(0x1b6)][_0x204eed(0x190)]()));_0x1a442f[_0x204eed(0x233)][_0x204eed(0x206)](_0x204eed(0x209),_0x25d1a6),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x200),_0x427d4e=>{const _0x4dfdd4=_0x204eed,_0x52bdce=_0xaf1ff3(_0x427d4e);return _0x52bdce[_0x4dfdd4(0x1d8)]({'class':_0x4dfdd4(0x1b8)+this[_0x4dfdd4(0x1f5)]}),_0x52bdce[_0x4dfdd4(0x22d)][_0x4dfdd4(0x1d8)]({'label':_0x1e2272(_0x427d4e,_0x4dfdd4(0x19c)),'icon':_0x229b03,'tooltip':!0x0}),_0x52bdce['on'](_0x4dfdd4(0x1fd),_0x1a3e9a=>this[_0x4dfdd4(0x201)](_0x1a3e9a[_0x4dfdd4(0x1b0)]['id'])),_0x1bbb03(_0x52bdce,_0x1a442f['ui'][_0x4dfdd4(0x1c2)][_0x4dfdd4(0x1a3)],function(_0x171770){const _0x26d299=_0x4dfdd4,_0x1e0cf2=_0x21a00b(_0x171770[_0x26d299(0x1a7)][_0x26d299(0x192)](_0x26d299(0x205)),_0x171770[_0x26d299(0x1ed)]),_0x39e4fa=U(_0x171770,_0x1e0cf2)[_0x26d299(0x1ec)](_0x1f1b84=>_0x1f1b84[_0x26d299(0x233)][_0x26d299(0x220)]);if(0x1===_0x39e4fa[_0x26d299(0x220)])return U(_0x171770,_0x39e4fa[0x0][_0x26d299(0x233)])[_0x26d299(0x193)](_0x347f46=>({'id':_0x347f46['id'],'label':_0x347f46[_0x26d299(0x22e)]}));return _0x39e4fa[_0x26d299(0x193)](_0x39aeb7=>{const _0x42ce1c=_0x26d299,{groupId:_0x26a93e,groupLabel:_0x437b1b,commands:_0x45aa4a}=_0x39aeb7,_0x492e7a=U(_0x171770,_0x45aa4a)[_0x42ce1c(0x193)](_0x39c4be=>({'id':_0x39c4be['id'],'label':_0x39c4be[_0x42ce1c(0x22e)]}));return{'id':_0x26a93e,'menu':_0x437b1b||_0x26a93e,'children':_0x492e7a};});}(_0x1a442f),{'ariaLabel':_0x1e2272(_0x427d4e,_0x4dfdd4(0x19c))}),_0x52bdce[_0x4dfdd4(0x204)][_0x4dfdd4(0x1b7)]=_0x4dfdd4(0x1b8)+this[_0x4dfdd4(0x1f5)],_0x25d1a6['on'](_0x4dfdd4(0x1f0),_0x244ad9),_0x52bdce[_0x4dfdd4(0x204)][_0x4dfdd4(0x199)](_0x4dfdd4(0x1e7),_0x244ad9),_0x52bdce;function _0x244ad9(){const _0x557ac3=_0x4dfdd4;_0x52bdce[_0x557ac3(0x211)]=_0x25d1a6[_0x557ac3(0x1e5)][_0x557ac3(0x220)]>0x0;for(const _0x2c635b of _0x52bdce[_0x557ac3(0x204)][_0x557ac3(0x213)])_0x2c635b[_0x557ac3(0x211)]=_0x25d1a6[_0x557ac3(0x1e5)][_0x557ac3(0x1f8)](_0x2c635b['id']);}}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x1d1),_0x253089=>{const _0xfdf22b=_0x204eed,_0x265544=new _0x4dca8f(_0x253089);_0x265544[_0xfdf22b(0x22d)][_0xfdf22b(0x1d8)]({'label':_0x1e2272(_0x253089,_0xfdf22b(0x19c)),'icon':_0x229b03}),_0x265544[_0xfdf22b(0x1b5)](_0xfdf22b(0x211))['to'](_0x25d1a6,_0xfdf22b(0x1e5),_0x50fc89=>_0x50fc89[_0xfdf22b(0x220)]>0x0);const _0x3c6676=_0x21a00b(_0x1a442f[_0xfdf22b(0x1a7)][_0xfdf22b(0x192)](_0xfdf22b(0x205)),_0x253089);return this[_0xfdf22b(0x1e3)](_0x25d1a6,_0x265544,_0x3c6676,_0x2c4a69=>this[_0xfdf22b(0x201)](_0x2c4a69)),_0x265544;}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x218),()=>{const _0x530566=_0x204eed,_0x5f0293=this[_0x530566(0x1c6)](_0x4fbd72);return _0x5f0293[_0x530566(0x1d8)]({'tooltip':!0x0,'class':_0x530566(0x22b)+this[_0x530566(0x1f5)]}),_0x5f0293;}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x1cb),()=>{const _0x3c53f0=_0x204eed,_0x202498=this[_0x3c53f0(0x1c6)](_0x2b9b3b);return _0x202498[_0x3c53f0(0x1d8)]({'role':_0x3c53f0(0x1f3)}),_0x202498;}),this[_0x204eed(0x207)]=this[_0x204eed(0x1ba)][_0x204eed(0x1a7)][_0x204eed(0x192)](_0x204eed(0x207));const _0x27ddbb=this[_0x204eed(0x1ba)];this[_0x204eed(0x1ee)]=setInterval(()=>{const _0x1d956b=_0x204eed;let _0x4c6f0f;for(const _0xf53c8e in _0x27ddbb){const _0x1eedad=_0xf53c8e,_0xeebf30=_0x27ddbb[_0x1eedad];if(_0x1d956b(0x226)==_0xeebf30||_0x1d956b(0x1e8)==_0xeebf30||_0x1d956b(0x1cc)==_0xeebf30||_0x1d956b(0x225)==_0xeebf30||_0x1d956b(0x1ad)==_0xeebf30||_0x1d956b(0x212)==_0xeebf30||_0x1d956b(0x18e)==_0xeebf30||_0x1d956b(0x1db)==_0xeebf30){delete _0x27ddbb[_0x1eedad],_0x4c6f0f=_0xeebf30,clearInterval(this[_0x1d956b(0x1ee)]),this[_0x1d956b(0x1ee)]=void 0x0;break;}}_0x1d956b(0x1e8)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x191)),_0x1d956b(0x1cc)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x21c)),_0x1d956b(0x225)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x1bd)),_0x1d956b(0x1ad)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x20c),_0x1d956b(0x1c3)),_0x1d956b(0x212)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x22a)),_0x1d956b(0x18e)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x210)),_0x1d956b(0x1db)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x189));},0x3e8);}[_0x18351d(0x1e1)](){const _0x1247da=_0x18351d;super[_0x1247da(0x1e1)](),this[_0x1247da(0x1ee)]&&clearInterval(this[_0x1247da(0x1ee)]);}[_0x18351d(0x1ff)](_0x50df0c='',_0x6738ce='',_0x562461=_0x18351d(0x230)){const _0x1f3bfd=_0x18351d,_0x4f8685=this[_0x1f3bfd(0x1ba)],_0x58478f=_0x4f8685[_0x1f3bfd(0x1c5)][_0x1f3bfd(0x1c2)],_0x4544cb=_0x4f8685[_0x1f3bfd(0x1f6)][_0x1f3bfd(0x192)](_0x2cef4a),_0xe9723b=_0x4f8685[_0x1f3bfd(0x1f6)][_0x1f3bfd(0x192)](_0x268de2);_0x4544cb[_0x1f3bfd(0x1dc)]();const _0x537d32=new w(),_0xbf7084=new ClipboardEvent(_0x1f3bfd(0x1f9),{'clipboardData':_0x537d32}),_0x462fd3=new _0x47e839(_0x537d32),_0x409f45=new _0x5a6f24(_0x58478f,_0xbf7084,{'dataTransfer':_0x462fd3});_0xe9723b[_0x1f3bfd(0x1e6)](_0x1f3bfd(0x21a),()=>{const _0x4eaeab=_0x1f3bfd;_0x58478f[_0x4eaeab(0x1df)][_0x4eaeab(0x215)](_0x4eaeab(0x1f9),_0x409f45);}),this[_0x1f3bfd(0x1da)]||(this[_0x1f3bfd(0x1cf)](),this[_0x1f3bfd(0x1ae)]=new _0x1da23f(_0x4f8685,this[_0x1f3bfd(0x208)][_0x1f3bfd(0x1bb)],this[_0x1f3bfd(0x1da)]));let _0x31c067=_0x462fd3[_0x1f3bfd(0x1b3)](_0x1f3bfd(0x1e0));const _0x20e385=_0x4f8685[_0x1f3bfd(0x1a0)][_0x1f3bfd(0x1df)][_0x1f3bfd(0x1c8)],_0x35d5fe=Array[_0x1f3bfd(0x1b2)](_0x20e385[_0x1f3bfd(0x1f1)]());0x1===_0x35d5fe[_0x1f3bfd(0x220)]&&_0x35d5fe[0x0][_0x1f3bfd(0x219)]&&!_0x20e385[_0x1f3bfd(0x1f4)]()&&''!==_0x31c067[_0x1f3bfd(0x187)](/ /g,'')[_0x1f3bfd(0x1be)]()&&(_0x31c067=_0x1f3bfd(0x1e4)+_0x31c067+_0x1f3bfd(0x1cd)),this[_0x1f3bfd(0x1ae)][_0x1f3bfd(0x1af)]({'actionId':_0x562461,'query':_0x50df0c,'htmlContent':_0x31c067,'label':_0x6738ce,'mainActionLabel':_0x28d48f[_0x4f8685[_0x1f3bfd(0x1a0)][_0x1f3bfd(0x1df)][_0x1f3bfd(0x1c8)][_0x1f3bfd(0x22c)]?_0x1f3bfd(0x19f):_0x1f3bfd(0x1d3)]}),_0x1f3bfd(0x218)!==this[_0x1f3bfd(0x1fb)]['id']?this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x194)]({'id':_0x1f3bfd(0x218),'icon':_0x59eff1,'title':_0x1e2272(this[_0x1f3bfd(0x1ba)][_0x1f3bfd(0x1ed)],_0x1f3bfd(0x21e)),'content':this[_0x1f3bfd(0x1da)],'position':_0x55f919[_0x1f3bfd(0x1c7)],'onShow':()=>{const _0x56646c=_0x1f3bfd;this[_0x56646c(0x1da)][_0x56646c(0x1d5)]();},'onHide':()=>{const _0x4c3ba9=_0x1f3bfd;this[_0x4c3ba9(0x1ae)][_0x4c3ba9(0x19b)](),_0x4544cb[_0x4c3ba9(0x1b9)]();}}):this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x1c2)][_0x1f3bfd(0x1d4)]||this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x1c2)][_0x1f3bfd(0x1c0)]();}[_0x18351d(0x227)](){const _0x167bb3=_0x18351d;this[_0x167bb3(0x1fb)][_0x167bb3(0x1fe)]();}[_0x18351d(0x1fa)](){const _0x300d37=_0x18351d,_0x42a410=new Map(),_0x4eb5ae=_0x21a00b(this[_0x300d37(0x1ba)][_0x300d37(0x1a7)][_0x300d37(0x192)](_0x300d37(0x205)),this[_0x300d37(0x1ba)][_0x300d37(0x1ed)]);for(const _0x555186 of _0x4eb5ae)for(const _0xa16cbe of _0x555186[_0x300d37(0x233)])_0x42a410[_0x300d37(0x1d8)](_0xa16cbe['id'],{..._0xa16cbe,'groupId':_0x555186[_0x300d37(0x214)],'groupLabel':_0x555186[_0x300d37(0x195)]||_0x555186[_0x300d37(0x214)]});return _0x42a410;}[_0x18351d(0x1c6)](_0x4bce1b){const _0x5a8edd=_0x18351d,_0x513031=this[_0x5a8edd(0x1ba)],_0x2082df=_0x513031[_0x5a8edd(0x233)][_0x5a8edd(0x192)](_0x5a8edd(0x209)),_0x146d50=new _0x4bce1b(_0x513031[_0x5a8edd(0x1ed)]);return _0x146d50[_0x5a8edd(0x1d8)]({'label':_0x1e2272(_0x513031[_0x5a8edd(0x1ed)],_0x5a8edd(0x21e)),'icon':_0x59eff1,'isToggleable':!0x0}),_0x146d50[_0x5a8edd(0x1b5)](_0x5a8edd(0x211))['to'](_0x2082df),_0x146d50[_0x5a8edd(0x1b5)](_0x5a8edd(0x18c))['to'](this[_0x5a8edd(0x1fb)],'id',_0x2ebcc1=>_0x5a8edd(0x218)===_0x2ebcc1),this[_0x5a8edd(0x197)](_0x146d50,_0x5a8edd(0x1fd),()=>{const _0x18470e=_0x5a8edd;_0x146d50[_0x18470e(0x18c)]?this[_0x18470e(0x227)]():_0x2082df[_0x18470e(0x1fd)]();}),_0x146d50;}[_0x18351d(0x1cf)](){const _0xa05f8c=_0x18351d,_0x2f90c5=this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1f6)][_0xa05f8c(0x192)](_0x2cef4a);this[_0xa05f8c(0x1da)]=new _0x3504ed(this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1ed)],this[_0xa05f8c(0x1f5)],this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1a7)][_0xa05f8c(0x192)](_0xa05f8c(0x234))),this[_0xa05f8c(0x1da)]['on'](_0xa05f8c(0x1e9),()=>{const _0x197bf7=_0xa05f8c;this[_0x197bf7(0x1fb)][_0x197bf7(0x1c2)][_0x197bf7(0x1d4)]||this[_0x197bf7(0x1fb)][_0x197bf7(0x1c2)][_0x197bf7(0x1c0)]();}),this[_0xa05f8c(0x1da)][_0xa05f8c(0x18d)][_0xa05f8c(0x1ce)][_0xa05f8c(0x1ac)]['on'](_0xa05f8c(0x20d),()=>{const _0x12ff21=_0xa05f8c;this[_0x12ff21(0x1fb)][_0x12ff21(0x1c2)][_0x12ff21(0x1d4)]||this[_0x12ff21(0x1fb)][_0x12ff21(0x1c2)][_0x12ff21(0x1c0)]();}),this[_0xa05f8c(0x197)](this[_0xa05f8c(0x1da)],_0xa05f8c(0x21b),()=>{const _0x4ef921=_0xa05f8c;_0x2f90c5[_0x4ef921(0x21f)](this[_0x4ef921(0x1ae)][_0x4ef921(0x217)]),this[_0x4ef921(0x227)]();}),this[_0xa05f8c(0x197)](this[_0xa05f8c(0x1da)],_0xa05f8c(0x1bc),()=>{const _0x3a2957=_0xa05f8c;_0x2f90c5[_0x3a2957(0x1bc)](this[_0x3a2957(0x1ae)][_0x3a2957(0x217)]),this[_0x3a2957(0x227)]();}),this[_0xa05f8c(0x21d)]();}[_0x18351d(0x21d)](){const _0x472aa6=_0x18351d,{locale:_0x2b2fe9,ui:{ariaLiveAnnouncer:_0x42ab01}}=this[_0x472aa6(0x1ba)];this[_0x472aa6(0x1da)][_0x472aa6(0x1aa)]['on'](_0x472aa6(0x228),(_0x1e1751,_0x55faa3,_0x282a35)=>{const _0x308529=_0x472aa6,_0xa78440=this[_0x308529(0x1ae)][_0x308529(0x217)];_0x282a35?_0x42ab01[_0x308529(0x20f)](_0x1e2272(_0x2b2fe9,_0x308529(0x1ab))):_0xa78440&&_0x42ab01[_0x308529(0x20f)](_0x1e2272(_0x2b2fe9,_0x308529(0x19a),_0xa78440),{'politeness':_0x308529(0x1d6),'isUnsafeHTML':!0x0});}),this[_0x472aa6(0x1da)]['on'](_0x472aa6(0x1a1),(_0x499b81,_0xa6c34a,_0x33ea53)=>{const _0x20c471=_0x472aa6;if(_0x33ea53){const _0x3bae45=this[_0x20c471(0x1da)][_0x20c471(0x1ca)][_0x20c471(0x1c9)];_0x42ab01[_0x20c471(0x20f)](_0x1e2272(_0x2b2fe9,_0x20c471(0x1d2),_0x3bae45));}});}[_0x18351d(0x201)](_0x33d7b8){const _0x244f99=_0x18351d,_0x4bc8f0=this[_0x244f99(0x1b6)][_0x244f99(0x192)](_0x33d7b8),_0x2b5c13=this[_0x244f99(0x1ba)],_0x344ddc=_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1df)][_0x244f99(0x1c8)],_0x3bd8c5=_0x2b5c13[_0x244f99(0x233)][_0x244f99(0x192)](_0x244f99(0x209)),_0x60a781=_0x2b5c13[_0x244f99(0x1f6)][_0x244f99(0x192)](_0x2cef4a),_0x1767e1=''+(_0x4bc8f0[_0x244f99(0x214)]!==_0x4e42c8?_0x4bc8f0[_0x244f99(0x195)]+':\x20':'')+_0x4bc8f0[_0x244f99(0x22e)];if(!0x1!==_0x4bc8f0[_0x244f99(0x186)]&&_0x344ddc[_0x244f99(0x22c)]){const _0x574534=_0x53a91f(_0x344ddc[_0x244f99(0x18a)]())||_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1fc)][_0x244f99(0x18f)](_0x344ddc);_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1de)](_0x1bb220=>{const _0x58da45=_0x244f99;_0x1bb220[_0x58da45(0x1a9)](_0x574534,'in');});}_0x60a781[_0x244f99(0x1dc)](),_0x3bd8c5[_0x244f99(0x1fd)](_0x4bc8f0[_0x244f99(0x221)],_0x1767e1,_0x244f99(0x1bf)+_0x33d7b8);}[_0x18351d(0x1e3)](_0x45c3f1,_0x1b2e76,_0x8a54da,_0x230e82){const _0xbefba4=_0x18351d,_0x494130=this[_0xbefba4(0x1ba)],_0x43b3f3=_0x494130[_0xbefba4(0x1ed)],_0x17af90=new _0x4a81ee(_0x43b3f3),_0x291b0e=U(_0x494130,_0x8a54da)[_0xbefba4(0x1ec)](_0xc14811=>_0xc14811[_0xbefba4(0x233)][_0xbefba4(0x220)]);0x1===_0x291b0e[_0xbefba4(0x220)]?this[_0xbefba4(0x232)]({'command':_0x45c3f1,'commands':_0x291b0e[0x0][_0xbefba4(0x233)],'parentMenuView':_0x1b2e76,'onExecute':_0x230e82})[_0xbefba4(0x1d7)](_0x226775=>_0x17af90[_0xbefba4(0x198)][_0xbefba4(0x206)](_0x226775)):_0x291b0e[_0xbefba4(0x1d7)](({groupId:_0x4c2cf0,groupLabel:_0x29b3d5,commands:_0x25f839})=>{const _0x814b0c=_0xbefba4,_0x12bd56=new _0x1616e2(_0x43b3f3,_0x1b2e76),_0x31e39f=new _0x4dca8f(_0x43b3f3),_0x3f566e=new _0x4a81ee(_0x43b3f3),_0x50990c=this[_0x814b0c(0x232)]({'command':_0x45c3f1,'commands':_0x25f839,'parentMenuView':_0x31e39f,'onExecute':_0x230e82});_0x31e39f[_0x814b0c(0x22d)][_0x814b0c(0x1d8)]({'label':_0x29b3d5||_0x4c2cf0}),_0x31e39f[_0x814b0c(0x1d0)](_0x814b0c(0x1fd))['to'](_0x1b2e76),_0x3f566e[_0x814b0c(0x198)][_0x814b0c(0x1b4)](_0x50990c),_0x31e39f[_0x814b0c(0x1eb)][_0x814b0c(0x20a)][_0x814b0c(0x206)](_0x3f566e),_0x12bd56[_0x814b0c(0x20a)][_0x814b0c(0x206)](_0x31e39f),_0x17af90[_0x814b0c(0x198)][_0x814b0c(0x206)](_0x12bd56);}),_0x1b2e76[_0xbefba4(0x1eb)][_0xbefba4(0x20a)][_0xbefba4(0x206)](_0x17af90);}[_0x18351d(0x232)]({command:_0x177325,commands:_0x1e790b,parentMenuView:_0x3fd5e9,onExecute:_0x24bb9d}){const _0x408648=_0x18351d,_0x474e8e=this[_0x408648(0x1ba)],_0x22c7a7=_0x474e8e[_0x408648(0x1ed)];return U(_0x474e8e,_0x1e790b)[_0x408648(0x193)](_0x5b3bf3=>{const _0x6b7c34=_0x408648,_0x7dd1a4=new _0x1616e2(_0x22c7a7,_0x3fd5e9),_0x5c6646=new _0x2b9b3b(_0x22c7a7);return _0x5c6646[_0x6b7c34(0x1d8)]({'label':_0x5b3bf3[_0x6b7c34(0x22e)]}),_0x5c6646[_0x6b7c34(0x1d0)](_0x6b7c34(0x1fd))['to'](_0x3fd5e9),_0x5c6646['on'](_0x6b7c34(0x1fd),()=>_0x24bb9d(_0x5b3bf3['id'])),_0x5c6646[_0x6b7c34(0x1b5)](_0x6b7c34(0x211))['to'](_0x177325,_0x6b7c34(0x1e5),_0x7449f6=>_0x7449f6[_0x6b7c34(0x1f8)](_0x5b3bf3['id'])),_0x7dd1a4[_0x6b7c34(0x20a)][_0x6b7c34(0x206)](_0x5c6646),_0x7dd1a4;});}}function B(_0xc9471a,_0x801434){const _0x4d56a7=_0x18351d;return void 0x0!==_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0===_0x801434[_0x4d56a7(0x1ef)]?0x1:void 0x0===_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0!==_0x801434[_0x4d56a7(0x1ef)]?-0x1:void 0x0!==_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0!==_0x801434[_0x4d56a7(0x1ef)]?_0xc9471a[_0x4d56a7(0x1ef)]-_0x801434[_0x4d56a7(0x1ef)]:0x0;}function U(_0x3e02f2,_0x1e48e2){const _0x3b1b27=_0x18351d;_0x1e48e2[_0x3b1b27(0x216)](B);const _0x435ebb={},_0x3963f7=[];for(const _0x1624fd of _0x1e48e2)if(void 0x0!==_0x1624fd[_0x3b1b27(0x1ef)]){if(_0x1624fd[_0x3b1b27(0x1ef)]in _0x435ebb)throw new _0x5a267d(_0x3b1b27(0x22f),_0x3e02f2,{'conflictingDefinitions':[_0x1624fd,_0x435ebb[_0x1624fd[_0x3b1b27(0x1ef)]]]});_0x435ebb[_0x1624fd[_0x3b1b27(0x1ef)]]=_0x1624fd,_0x3963f7[_0x3b1b27(0x1e2)](_0x1624fd[_0x3b1b27(0x1ef)],0x0,_0x1624fd);}else _0x3963f7[_0x3b1b27(0x231)](_0x1624fd);return _0x3963f7;}
|
|
23
|
+
const _0x3ea52a=_0x23d6;(function(_0x945d09,_0x277e49){const _0x1fefeb=_0x23d6,_0x53b0fc=_0x945d09();while(!![]){try{const _0x324a73=-parseInt(_0x1fefeb(0x159))/0x1+-parseInt(_0x1fefeb(0x16c))/0x2*(parseInt(_0x1fefeb(0xee))/0x3)+parseInt(_0x1fefeb(0xe3))/0x4+-parseInt(_0x1fefeb(0x135))/0x5+-parseInt(_0x1fefeb(0x142))/0x6*(parseInt(_0x1fefeb(0x10c))/0x7)+-parseInt(_0x1fefeb(0x127))/0x8*(parseInt(_0x1fefeb(0x113))/0x9)+parseInt(_0x1fefeb(0x12d))/0xa;if(_0x324a73===_0x277e49)break;else _0x53b0fc['push'](_0x53b0fc['shift']());}catch(_0x479f24){_0x53b0fc['push'](_0x53b0fc['shift']());}}}(_0x2b4d,0x2e688));import{Plugin as _0x307969}from'ckeditor5/src/core.js';import{IconMagicWand as _0xa52753,IconRobotPencil as _0x4ddf54}from'ckeditor5/src/icons.js';import{first as _0x3d408a,CKEditorError as _0x7f52d0}from'ckeditor5/src/utils.js';import{createDropdown as _0x384e86,addMenuToDropdown as _0x4922da,ButtonView as _0x39e4b9,MenuBarMenuListItemButtonView as _0x5918e1,Dialog as _0x3c3f4c,DialogViewPosition as _0x259805,MenuBarMenuView as _0x15e98b,MenuBarMenuListView as _0x4e6281,MenuBarMenuListItemView as _0x10c1ce}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3af751,UNGROUPED_COMMANDS_GROUP_ID as _0x58e9ed}from'./utils/normalizecommandsconfig.js';import _0x33b9b8 from'./aiassistantediting.js';import _0x1ad979 from'./adapters/aiadapter.js';import{getTranslation as _0x52fe8a}from'./utils/common-translations.js';import _0x58f914 from'./ui/showaiassistantcommand.js';function _0x2b4d(){const _0xb1b6f4=['source','_aiAdapter','18PKHxyB','change:isError','label','schema','bind','filter','custom','AIAssistantUI','licenseKey','_getMenuBarGroupButtons','replace','buttons','menuView','update','AI\x20is\x20writing','getRanges','_forceMarkersCopy','delegate','order','editor','450728NaUOCK','getData','render','values','body','config','7296620EEwWJH','menuitemcheckbox','text/html','_aiAssistantController','define','featureNotAllowed','groupId','getSelectedBlocks','1672000rqMLIR','showFakeVisualSelection','aiLicenseKeyValid','ck-ai-commands-dropdown\x20','pluginName','copy','currentContext','groupLabel','set','hide','execute','aiLicenseKeyTrialLimit','contentArea','36hUFXil','isEnabled','isCollapsed','_showLicenseError','text','buttonView','_onExecute','ai.aiAssistant.disabledElements','_commandDefinitions','add','length','view','_populateMenuBarMenu','addMany','listenTo','isPremiumPlugin','show','getSelectedElement','updatePosition','change:value','ck-ai-assistant-button\x20','includes','usageLimit','52089QVFhPD','prompt','INSERT','isOfficialPlugin','Generated\x20content:\x20%0','isFlat','AI\x20Assistant','ai-commands-config-order-collision','menuPanelClass','_initAriaAiStatusChangeAnnouncements','_createAIAssistantUIButton','map','panelView','AI\x20Commands','ck-ai-assistant-ui','_initView','showUI','command:','destroy','28gvFkww','children','expired','hideUI','replaceContent','push','reset','_licenseKeyCheckInterval','setSelection','forEach','textAdapter','_formView','once','insertContent','promptView','menuBar:aiCommands','ai.aiAssistant.commands','init','rawHtml','commands','trim','aiLicenseKeyExpired','aiLicenseKeyUsageLimit','_uiCssClasses','fire','requiresContent','EDITOR_TOP_SIDE','selection','aiLicenseKeyEvaluationLimit','locale','aiLicenseKeyDomainLimit','hideFakeVisualSelection','get','media','queryView','ai.aiAssistant.contentAreaCssClass','from','comment','</p>','1226756sZcTHa','componentFactory','_getResolvedCommandsDefinitions','menuBar:aiAssistant','fieldView','<p>','tableOfContents','Error\x20during\x20AI\x20content\x20generation:\x20%0','sort','document','editing','591tiyNvo','evaluationLimit','trialLimit','announce','getLimitElement','plugins','showAIAssistant','DataTransfer','ai.useTheme','isOn','change:isProcessing','updateView','invalid','\x20ck-ai-assistant-ui_theme','_dialog','change','aiLicenseKeyInvalid','polite','domainLimit','items','model','splice','REPLACE','insertContentBelow','AIAssistant','enabledCommandsIds','aiAssistant','requires','change:enabledCommandsIds','errorView','401723dpTdaT','wasMoved','aiCommands','aiLicenseKeyNotAllowed','focus'];_0x2b4d=function(){return _0xb1b6f4;};return _0x2b4d();}import _0x4537f5 from'./ui/aiassistantcontroller.js';import _0x5939dc from'./ui/form/aiformview.js';function _0x23d6(_0x14c4d4,_0x4410ef){const _0x2b4d7c=_0x2b4d();return _0x23d6=function(_0x23d6d0,_0x5e8f16){_0x23d6d0=_0x23d6d0-0xce;let _0x22fb82=_0x2b4d7c[_0x23d6d0];return _0x22fb82;},_0x23d6(_0x14c4d4,_0x4410ef);}import{AIFormToolbarViewMainActionLabel as _0x5b3781}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x3ea52a(0xf5)];import{ClipboardMarkersUtils as _0x15542f}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2e43db,DataTransfer as _0x44fb1c}from'ckeditor5/src/engine.js';export default class n extends _0x307969{[_0x3ea52a(0x11b)];[_0x3ea52a(0x173)];[_0x3ea52a(0xfc)];[_0x3ea52a(0x177)];[_0x3ea52a(0x112)];[_0x3ea52a(0x130)];[_0x3ea52a(0xd3)]='';static get[_0x3ea52a(0x139)](){const _0x1a6677=_0x3ea52a;return _0x1a6677(0x11a);}static get[_0x3ea52a(0x15c)](){return!0x0;}static get[_0x3ea52a(0x151)](){return!0x0;}static get[_0x3ea52a(0x109)](){return[_0x15542f,_0x33b9b8,_0x1ad979,_0x3c3f4c];}constructor(_0xb954f){const _0x56581e=_0x3ea52a;super(_0xb954f),_0xb954f[_0x56581e(0x12c)][_0x56581e(0x131)](_0x56581e(0x149),[_0x56581e(0xdd),_0x56581e(0xce),_0x56581e(0xe9)]),_0xb954f[_0x56581e(0x12c)][_0x56581e(0x131)](_0x56581e(0xdf),''),_0xb954f[_0x56581e(0x12c)][_0x56581e(0x131)](_0x56581e(0xf6),!0x0),this[_0x56581e(0xd3)]=_0x56581e(0x167)+(_0xb954f[_0x56581e(0x12c)][_0x56581e(0xdc)](_0x56581e(0xf6))?_0x56581e(0xfb):'');}[_0x3ea52a(0x17d)](){const _0x344740=_0x3ea52a,{editor:_0x3911bf}=this;this[_0x344740(0x112)]=_0x3911bf[_0x344740(0xf3)][_0x344740(0xdc)](_0x1ad979),this[_0x344740(0xfc)]=_0x3911bf[_0x344740(0xf3)][_0x344740(0xdc)](_0x3c3f4c),this[_0x344740(0x177)]=null,this[_0x344740(0x14a)]=this[_0x344740(0xe5)]();const _0x268cc2=new _0x58f914(_0x3911bf,Array[_0x344740(0xe0)](this[_0x344740(0x14a)][_0x344740(0x12a)]()));_0x3911bf[_0x344740(0xcf)][_0x344740(0x14b)](_0x344740(0xf4),_0x268cc2),_0x3911bf['ui'][_0x344740(0xe4)][_0x344740(0x14b)](_0x344740(0x10e),_0x471587=>{const _0x229c48=_0x344740,_0x500d33=_0x384e86(_0x471587);return _0x500d33[_0x229c48(0x13d)]({'class':_0x229c48(0x138)+this[_0x229c48(0xd3)]}),_0x500d33[_0x229c48(0x147)][_0x229c48(0x13d)]({'label':_0x52fe8a(_0x471587,_0x229c48(0x166)),'icon':_0xa52753,'tooltip':!0x0}),_0x500d33['on'](_0x229c48(0x13f),_0x5a9423=>this[_0x229c48(0x148)](_0x5a9423[_0x229c48(0x111)]['id'])),_0x4922da(_0x500d33,_0x3911bf['ui'][_0x229c48(0x14d)][_0x229c48(0x12b)],function(_0x265336){const _0x1c1a6e=_0x229c48,_0x3956ef=_0x3af751(_0x265336[_0x1c1a6e(0x12c)][_0x1c1a6e(0xdc)](_0x1c1a6e(0x17c)),_0x265336[_0x1c1a6e(0xd9)]),_0x30277b=U(_0x265336,_0x3956ef)[_0x1c1a6e(0x118)](_0x626bc1=>_0x626bc1[_0x1c1a6e(0xcf)][_0x1c1a6e(0x14c)]);if(0x1===_0x30277b[_0x1c1a6e(0x14c)])return U(_0x265336,_0x30277b[0x0][_0x1c1a6e(0xcf)])[_0x1c1a6e(0x164)](_0x4dd855=>({'id':_0x4dd855['id'],'label':_0x4dd855[_0x1c1a6e(0x115)]}));return _0x30277b[_0x1c1a6e(0x164)](_0x23396b=>{const _0x41cb69=_0x1c1a6e,{groupId:_0x5d7828,groupLabel:_0x5d5cc5,commands:_0x4cbe8b}=_0x23396b,_0x3c6ee9=U(_0x265336,_0x4cbe8b)[_0x41cb69(0x164)](_0x55f45e=>({'id':_0x55f45e['id'],'label':_0x55f45e[_0x41cb69(0x115)]}));return{'id':_0x5d7828,'menu':_0x5d5cc5||_0x5d7828,'children':_0x3c6ee9};});}(_0x3911bf),{'ariaLabel':_0x52fe8a(_0x471587,_0x229c48(0x166))}),_0x500d33[_0x229c48(0x11f)][_0x229c48(0x161)]=_0x229c48(0x138)+this[_0x229c48(0xd3)],_0x268cc2['on'](_0x229c48(0x10a),_0x1d3ca9),_0x500d33[_0x229c48(0x11f)][_0x229c48(0x178)](_0x229c48(0x129),_0x1d3ca9),_0x500d33;function _0x1d3ca9(){const _0x24af26=_0x229c48;_0x500d33[_0x24af26(0x143)]=_0x268cc2[_0x24af26(0x107)][_0x24af26(0x14c)]>0x0;for(const _0x498e1c of _0x500d33[_0x24af26(0x11f)][_0x24af26(0x11e)])_0x498e1c[_0x24af26(0x143)]=_0x268cc2[_0x24af26(0x107)][_0x24af26(0x157)](_0x498e1c['id']);}}),_0x3911bf['ui'][_0x344740(0xe4)][_0x344740(0x14b)](_0x344740(0x17b),_0x1dca00=>{const _0xe21616=_0x344740,_0x395d6b=new _0x15e98b(_0x1dca00);_0x395d6b[_0xe21616(0x147)][_0xe21616(0x13d)]({'label':_0x52fe8a(_0x1dca00,_0xe21616(0x166)),'icon':_0xa52753}),_0x395d6b[_0xe21616(0x117)](_0xe21616(0x143))['to'](_0x268cc2,_0xe21616(0x107),_0x1376e0=>_0x1376e0[_0xe21616(0x14c)]>0x0);const _0x13cfd1=_0x3af751(_0x3911bf[_0xe21616(0x12c)][_0xe21616(0xdc)](_0xe21616(0x17c)),_0x1dca00);return this[_0xe21616(0x14e)](_0x268cc2,_0x395d6b,_0x13cfd1,_0x21a23e=>this[_0xe21616(0x148)](_0x21a23e)),_0x395d6b;}),_0x3911bf['ui'][_0x344740(0xe4)][_0x344740(0x14b)](_0x344740(0x108),()=>{const _0x18833a=_0x344740,_0xb780ba=this[_0x18833a(0x163)](_0x39e4b9);return _0xb780ba[_0x18833a(0x13d)]({'tooltip':!0x0,'class':_0x18833a(0x156)+this[_0x18833a(0xd3)]}),_0xb780ba;}),_0x3911bf['ui'][_0x344740(0xe4)][_0x344740(0x14b)](_0x344740(0xe6),()=>{const _0x408c20=_0x344740,_0x4f6083=this[_0x408c20(0x163)](_0x5918e1);return _0x4f6083[_0x408c20(0x13d)]({'role':_0x408c20(0x12e)}),_0x4f6083;}),this[_0x344740(0x11b)]=this[_0x344740(0x126)][_0x344740(0x12c)][_0x344740(0xdc)](_0x344740(0x11b));const _0x10c840=this[_0x344740(0x126)];this[_0x344740(0x173)]=setInterval(()=>{const _0x4af0b6=_0x344740;let _0x44948f;for(const _0x12b435 in _0x10c840){const _0xc34b07=_0x12b435,_0x28841d=_0x10c840[_0xc34b07];if(_0x4af0b6(0x137)==_0x28841d||_0x4af0b6(0xfe)==_0x28841d||_0x4af0b6(0xd1)==_0x28841d||_0x4af0b6(0xda)==_0x28841d||_0x4af0b6(0x10f)==_0x28841d||_0x4af0b6(0xd8)==_0x28841d||_0x4af0b6(0x140)==_0x28841d||_0x4af0b6(0xd2)==_0x28841d){delete _0x10c840[_0xc34b07],_0x44948f=_0x28841d,clearInterval(this[_0x4af0b6(0x173)]),this[_0x4af0b6(0x173)]=void 0x0;break;}}_0x4af0b6(0xfe)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0xfa)),_0x4af0b6(0xd1)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0x16e)),_0x4af0b6(0xda)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0x100)),_0x4af0b6(0x10f)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0x132),_0x4af0b6(0x106)),_0x4af0b6(0xd8)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0xef)),_0x4af0b6(0x140)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0xf0)),_0x4af0b6(0xd2)==_0x44948f&&_0x10c840[_0x4af0b6(0x145)](_0x4af0b6(0x158));},0x3e8);}[_0x3ea52a(0x16b)](){const _0x3e3af5=_0x3ea52a;super[_0x3e3af5(0x16b)](),this[_0x3e3af5(0x173)]&&clearInterval(this[_0x3e3af5(0x173)]);}[_0x3ea52a(0x169)](_0x3504b4='',_0x3fc578='',_0x5401b5=_0x3ea52a(0x119)){const _0x2b3161=_0x3ea52a,_0x449722=this[_0x2b3161(0x126)],_0x4155b9=_0x449722[_0x2b3161(0xed)][_0x2b3161(0x14d)],_0x3a1f95=_0x449722[_0x2b3161(0xf3)][_0x2b3161(0xdc)](_0x33b9b8),_0x1ece35=_0x449722[_0x2b3161(0xf3)][_0x2b3161(0xdc)](_0x15542f);_0x3a1f95[_0x2b3161(0x136)]();const _0x332de5=new w(),_0x26849f=new ClipboardEvent(_0x2b3161(0x13a),{'clipboardData':_0x332de5}),_0x3e4446=new _0x44fb1c(_0x332de5),_0x5e987f=new _0x2e43db(_0x4155b9,_0x26849f,{'dataTransfer':_0x3e4446});_0x1ece35[_0x2b3161(0x123)](_0x2b3161(0xe1),()=>{const _0x109f05=_0x2b3161;_0x4155b9[_0x109f05(0xec)][_0x109f05(0xd4)](_0x109f05(0x13a),_0x5e987f);}),this[_0x2b3161(0x177)]||(this[_0x2b3161(0x168)](),this[_0x2b3161(0x130)]=new _0x4537f5(_0x449722,this[_0x2b3161(0x112)][_0x2b3161(0x176)],this[_0x2b3161(0x177)]));let _0x577ec5=_0x3e4446[_0x2b3161(0x128)](_0x2b3161(0x12f));const _0x34f540=_0x449722[_0x2b3161(0x102)][_0x2b3161(0xec)][_0x2b3161(0xd7)],_0x323aa0=Array[_0x2b3161(0xe0)](_0x34f540[_0x2b3161(0x122)]());0x1===_0x323aa0[_0x2b3161(0x14c)]&&_0x323aa0[0x0][_0x2b3161(0x15e)]&&!_0x34f540[_0x2b3161(0x153)]()&&''!==_0x577ec5[_0x2b3161(0x11d)](/ /g,'')[_0x2b3161(0xd0)]()&&(_0x577ec5=_0x2b3161(0xe8)+_0x577ec5+_0x2b3161(0xe2)),this[_0x2b3161(0x130)][_0x2b3161(0xf9)]({'actionId':_0x5401b5,'query':_0x3504b4,'htmlContent':_0x577ec5,'label':_0x3fc578,'mainActionLabel':_0x5b3781[_0x449722[_0x2b3161(0x102)][_0x2b3161(0xec)][_0x2b3161(0xd7)][_0x2b3161(0x144)]?_0x2b3161(0x15b):_0x2b3161(0x104)]}),_0x2b3161(0x108)!==this[_0x2b3161(0xfc)]['id']?this[_0x2b3161(0xfc)][_0x2b3161(0x152)]({'id':_0x2b3161(0x108),'icon':_0x4ddf54,'title':_0x52fe8a(this[_0x2b3161(0x126)][_0x2b3161(0xd9)],_0x2b3161(0x15f)),'content':this[_0x2b3161(0x177)],'position':_0x259805[_0x2b3161(0xd6)],'onShow':()=>{const _0x2ad080=_0x2b3161;this[_0x2ad080(0x177)][_0x2ad080(0x110)]();},'onHide':()=>{const _0x558d84=_0x2b3161;this[_0x558d84(0x130)][_0x558d84(0x172)](),_0x3a1f95[_0x558d84(0xdb)]();}}):this[_0x2b3161(0xfc)][_0x2b3161(0x14d)][_0x2b3161(0x10d)]||this[_0x2b3161(0xfc)][_0x2b3161(0x14d)][_0x2b3161(0x154)]();}[_0x3ea52a(0x16f)](){const _0xd5a9d0=_0x3ea52a;this[_0xd5a9d0(0xfc)][_0xd5a9d0(0x13e)]();}[_0x3ea52a(0xe5)](){const _0x173cef=_0x3ea52a,_0x32a9da=new Map(),_0x33189a=_0x3af751(this[_0x173cef(0x126)][_0x173cef(0x12c)][_0x173cef(0xdc)](_0x173cef(0x17c)),this[_0x173cef(0x126)][_0x173cef(0xd9)]);for(const _0xe47a5a of _0x33189a)for(const _0x4e38ef of _0xe47a5a[_0x173cef(0xcf)])_0x32a9da[_0x173cef(0x13d)](_0x4e38ef['id'],{..._0x4e38ef,'groupId':_0xe47a5a[_0x173cef(0x133)],'groupLabel':_0xe47a5a[_0x173cef(0x13c)]||_0xe47a5a[_0x173cef(0x133)]});return _0x32a9da;}[_0x3ea52a(0x163)](_0x490829){const _0x155542=_0x3ea52a,_0x763a40=this[_0x155542(0x126)],_0x454466=_0x763a40[_0x155542(0xcf)][_0x155542(0xdc)](_0x155542(0xf4)),_0x4fac9e=new _0x490829(_0x763a40[_0x155542(0xd9)]);return _0x4fac9e[_0x155542(0x13d)]({'label':_0x52fe8a(_0x763a40[_0x155542(0xd9)],_0x155542(0x15f)),'icon':_0x4ddf54,'isToggleable':!0x0}),_0x4fac9e[_0x155542(0x117)](_0x155542(0x143))['to'](_0x454466),_0x4fac9e[_0x155542(0x117)](_0x155542(0xf7))['to'](this[_0x155542(0xfc)],'id',_0x34f84e=>_0x155542(0x108)===_0x34f84e),this[_0x155542(0x150)](_0x4fac9e,_0x155542(0x13f),()=>{const _0x5c3671=_0x155542;_0x4fac9e[_0x5c3671(0xf7)]?this[_0x5c3671(0x16f)]():_0x454466[_0x5c3671(0x13f)]();}),_0x4fac9e;}[_0x3ea52a(0x168)](){const _0x5c076f=_0x3ea52a,_0x3c99b6=this[_0x5c076f(0x126)][_0x5c076f(0xf3)][_0x5c076f(0xdc)](_0x33b9b8);this[_0x5c076f(0x177)]=new _0x5939dc(this[_0x5c076f(0x126)][_0x5c076f(0xd9)],this[_0x5c076f(0xd3)],this[_0x5c076f(0x126)][_0x5c076f(0x12c)][_0x5c076f(0xdc)](_0x5c076f(0xdf))),this[_0x5c076f(0x177)]['on'](_0x5c076f(0x155),()=>{const _0x2fe8b9=_0x5c076f;this[_0x2fe8b9(0xfc)][_0x2fe8b9(0x14d)][_0x2fe8b9(0x10d)]||this[_0x2fe8b9(0xfc)][_0x2fe8b9(0x14d)][_0x2fe8b9(0x154)]();}),this[_0x5c076f(0x177)][_0x5c076f(0x17a)][_0x5c076f(0xde)][_0x5c076f(0xe7)]['on'](_0x5c076f(0x120),()=>{const _0x55b3f3=_0x5c076f;this[_0x55b3f3(0xfc)][_0x55b3f3(0x14d)][_0x55b3f3(0x10d)]||this[_0x55b3f3(0xfc)][_0x55b3f3(0x14d)][_0x55b3f3(0x154)]();}),this[_0x5c076f(0x150)](this[_0x5c076f(0x177)],_0x5c076f(0x170),()=>{const _0x5191c6=_0x5c076f;_0x3c99b6[_0x5191c6(0x179)](this[_0x5191c6(0x130)][_0x5191c6(0x13b)]),this[_0x5191c6(0x16f)]();}),this[_0x5c076f(0x150)](this[_0x5c076f(0x177)],_0x5c076f(0x105),()=>{const _0x5768f2=_0x5c076f;_0x3c99b6[_0x5768f2(0x105)](this[_0x5768f2(0x130)][_0x5768f2(0x13b)]),this[_0x5768f2(0x16f)]();}),this[_0x5c076f(0x162)]();}[_0x3ea52a(0x162)](){const _0x3134a0=_0x3ea52a,{locale:_0x547593,ui:{ariaLiveAnnouncer:_0x308c0e}}=this[_0x3134a0(0x126)];this[_0x3134a0(0x177)][_0x3134a0(0x141)]['on'](_0x3134a0(0xf8),(_0x410918,_0x20bc74,_0x1e9629)=>{const _0x2455cb=_0x3134a0,_0x5e0971=this[_0x2455cb(0x130)][_0x2455cb(0x13b)];_0x1e9629?_0x308c0e[_0x2455cb(0xf1)](_0x52fe8a(_0x547593,_0x2455cb(0x121))):_0x5e0971&&_0x308c0e[_0x2455cb(0xf1)](_0x52fe8a(_0x547593,_0x2455cb(0x15d),_0x5e0971),{'politeness':_0x2455cb(0xff),'isUnsafeHTML':!0x0});}),this[_0x3134a0(0x177)]['on'](_0x3134a0(0x114),(_0x24303b,_0x5186c0,_0x959a9f)=>{const _0x4814d2=_0x3134a0;if(_0x959a9f){const _0x5b40c5=this[_0x4814d2(0x177)][_0x4814d2(0x10b)][_0x4814d2(0x146)];_0x308c0e[_0x4814d2(0xf1)](_0x52fe8a(_0x547593,_0x4814d2(0xea),_0x5b40c5));}});}[_0x3ea52a(0x148)](_0x5466f1){const _0x1bf7ec=_0x3ea52a,_0x297254=this[_0x1bf7ec(0x14a)][_0x1bf7ec(0xdc)](_0x5466f1),_0x467fbd=this[_0x1bf7ec(0x126)],_0x2198de=_0x467fbd[_0x1bf7ec(0x102)][_0x1bf7ec(0xec)][_0x1bf7ec(0xd7)],_0x40374d=_0x467fbd[_0x1bf7ec(0xcf)][_0x1bf7ec(0xdc)](_0x1bf7ec(0xf4)),_0x5332c2=_0x467fbd[_0x1bf7ec(0xf3)][_0x1bf7ec(0xdc)](_0x33b9b8),_0x237785=''+(_0x297254[_0x1bf7ec(0x133)]!==_0x58e9ed?_0x297254[_0x1bf7ec(0x13c)]+':\x20':'')+_0x297254[_0x1bf7ec(0x115)];if(!0x1!==_0x297254[_0x1bf7ec(0xd5)]&&_0x2198de[_0x1bf7ec(0x144)]){const _0x44f333=_0x3d408a(_0x2198de[_0x1bf7ec(0x134)]())||_0x467fbd[_0x1bf7ec(0x102)][_0x1bf7ec(0x116)][_0x1bf7ec(0xf2)](_0x2198de);_0x467fbd[_0x1bf7ec(0x102)][_0x1bf7ec(0xfd)](_0x101e6d=>{const _0x7dc7f7=_0x1bf7ec;_0x101e6d[_0x7dc7f7(0x174)](_0x44f333,'in');});}_0x5332c2[_0x1bf7ec(0x136)](),_0x40374d[_0x1bf7ec(0x13f)](_0x297254[_0x1bf7ec(0x15a)],_0x237785,_0x1bf7ec(0x16a)+_0x5466f1);}[_0x3ea52a(0x14e)](_0x284ed8,_0x17ecff,_0x346875,_0x3971ad){const _0x393d30=_0x3ea52a,_0x4f66e9=this[_0x393d30(0x126)],_0x478fec=_0x4f66e9[_0x393d30(0xd9)],_0x3e39a8=new _0x4e6281(_0x478fec),_0x1e8c16=U(_0x4f66e9,_0x346875)[_0x393d30(0x118)](_0x18dd5b=>_0x18dd5b[_0x393d30(0xcf)][_0x393d30(0x14c)]);0x1===_0x1e8c16[_0x393d30(0x14c)]?this[_0x393d30(0x11c)]({'command':_0x284ed8,'commands':_0x1e8c16[0x0][_0x393d30(0xcf)],'parentMenuView':_0x17ecff,'onExecute':_0x3971ad})[_0x393d30(0x175)](_0x1697df=>_0x3e39a8[_0x393d30(0x101)][_0x393d30(0x14b)](_0x1697df)):_0x1e8c16[_0x393d30(0x175)](({groupId:_0x378a99,groupLabel:_0x1d4629,commands:_0x57a0b5})=>{const _0x29594c=_0x393d30,_0x25910f=new _0x10c1ce(_0x478fec,_0x17ecff),_0x56bd84=new _0x15e98b(_0x478fec),_0x5d0161=new _0x4e6281(_0x478fec),_0x9c0d51=this[_0x29594c(0x11c)]({'command':_0x284ed8,'commands':_0x57a0b5,'parentMenuView':_0x56bd84,'onExecute':_0x3971ad});_0x56bd84[_0x29594c(0x147)][_0x29594c(0x13d)]({'label':_0x1d4629||_0x378a99}),_0x56bd84[_0x29594c(0x124)](_0x29594c(0x13f))['to'](_0x17ecff),_0x5d0161[_0x29594c(0x101)][_0x29594c(0x14f)](_0x9c0d51),_0x56bd84[_0x29594c(0x165)][_0x29594c(0x16d)][_0x29594c(0x14b)](_0x5d0161),_0x25910f[_0x29594c(0x16d)][_0x29594c(0x14b)](_0x56bd84),_0x3e39a8[_0x29594c(0x101)][_0x29594c(0x14b)](_0x25910f);}),_0x17ecff[_0x393d30(0x165)][_0x393d30(0x16d)][_0x393d30(0x14b)](_0x3e39a8);}[_0x3ea52a(0x11c)]({command:_0x7cbc38,commands:_0x138a93,parentMenuView:_0x2b6f78,onExecute:_0x2660f7}){const _0x147131=_0x3ea52a,_0x1f9ae4=this[_0x147131(0x126)],_0x12ede6=_0x1f9ae4[_0x147131(0xd9)];return U(_0x1f9ae4,_0x138a93)[_0x147131(0x164)](_0x55af11=>{const _0x42551e=_0x147131,_0x3a318f=new _0x10c1ce(_0x12ede6,_0x2b6f78),_0x3f480f=new _0x5918e1(_0x12ede6);return _0x3f480f[_0x42551e(0x13d)]({'label':_0x55af11[_0x42551e(0x115)]}),_0x3f480f[_0x42551e(0x124)](_0x42551e(0x13f))['to'](_0x2b6f78),_0x3f480f['on'](_0x42551e(0x13f),()=>_0x2660f7(_0x55af11['id'])),_0x3f480f[_0x42551e(0x117)](_0x42551e(0x143))['to'](_0x7cbc38,_0x42551e(0x107),_0x18585f=>_0x18585f[_0x42551e(0x157)](_0x55af11['id'])),_0x3a318f[_0x42551e(0x16d)][_0x42551e(0x14b)](_0x3f480f),_0x3a318f;});}}function B(_0x2df8be,_0x4c056e){const _0x4e4f1e=_0x3ea52a;return void 0x0!==_0x2df8be[_0x4e4f1e(0x125)]&&void 0x0===_0x4c056e[_0x4e4f1e(0x125)]?0x1:void 0x0===_0x2df8be[_0x4e4f1e(0x125)]&&void 0x0!==_0x4c056e[_0x4e4f1e(0x125)]?-0x1:void 0x0!==_0x2df8be[_0x4e4f1e(0x125)]&&void 0x0!==_0x4c056e[_0x4e4f1e(0x125)]?_0x2df8be[_0x4e4f1e(0x125)]-_0x4c056e[_0x4e4f1e(0x125)]:0x0;}function U(_0x13656d,_0x3425c9){const _0x5209f3=_0x3ea52a;_0x3425c9[_0x5209f3(0xeb)](B);const _0x268669={},_0x3e137c=[];for(const _0x2fe06c of _0x3425c9)if(void 0x0!==_0x2fe06c[_0x5209f3(0x125)]){if(_0x2fe06c[_0x5209f3(0x125)]in _0x268669)throw new _0x7f52d0(_0x5209f3(0x160),_0x13656d,{'conflictingDefinitions':[_0x2fe06c,_0x268669[_0x2fe06c[_0x5209f3(0x125)]]]});_0x268669[_0x2fe06c[_0x5209f3(0x125)]]=_0x2fe06c,_0x3e137c[_0x5209f3(0x103)](_0x2fe06c[_0x5209f3(0x125)],0x0,_0x2fe06c);}else _0x3e137c[_0x5209f3(0x171)](_0x2fe06c);return _0x3e137c;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x442156,_0x169b98){var _0x9278b7=_0x30e9,_0x123b66=_0x442156();while(!![]){try{var _0x27fec9=parseInt(_0x9278b7(0xf3))/0x1+parseInt(_0x9278b7(0xef))/0x2*(parseInt(_0x9278b7(0xf1))/0x3)+-parseInt(_0x9278b7(0xed))/0x4*(-parseInt(_0x9278b7(0xee))/0x5)+parseInt(_0x9278b7(0xf4))/0x6+-parseInt(_0x9278b7(0xf2))/0x7*(-parseInt(_0x9278b7(0xec))/0x8)+-parseInt(_0x9278b7(0xf5))/0x9*(parseInt(_0x9278b7(0xf6))/0xa)+-parseInt(_0x9278b7(0xf0))/0xb;if(_0x27fec9===_0x169b98)break;else _0x123b66['push'](_0x123b66['shift']());}catch(_0x44f3f5){_0x123b66['push'](_0x123b66['shift']());}}}(_0x32da,0xe7967));function _0x30e9(_0x53f1ab,_0x5b37e8){var _0x32da80=_0x32da();return _0x30e9=function(_0x30e925,_0x2eb3cf){_0x30e925=_0x30e925-0xec;var _0x232d47=_0x32da80[_0x30e925];return _0x232d47;},_0x30e9(_0x53f1ab,_0x5b37e8);}export{default as AIAssistant}from'./aiassistant.js';function _0x32da(){var _0x3b581f=['1387899Fjluai','50OEbeDn','18176zFUamb','16rCYten','85215pRvQiu','1048DTDxcv','35783385eAhLWu','8289htmhtR','3486bnkaBl','1247649mCRSRw','6465504Aemuol'];_0x32da=function(){return _0x3b581f;};return _0x32da();}export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2a4c98,_0x1ab40e){var _0x3c0270=_0x41b5,_0x34eb8f=_0x2a4c98();while(!![]){try{var _0x2de410=-parseInt(_0x3c0270(0x1b9))/0x1+parseInt(_0x3c0270(0x1ba))/0x2*(-parseInt(_0x3c0270(0x1b4))/0x3)+parseInt(_0x3c0270(0x1b7))/0x4*(parseInt(_0x3c0270(0x1b6))/0x5)+-parseInt(_0x3c0270(0x1bb))/0x6+parseInt(_0x3c0270(0x1b2))/0x7+parseInt(_0x3c0270(0x1b5))/0x8*(parseInt(_0x3c0270(0x1b8))/0x9)+parseInt(_0x3c0270(0x1b3))/0xa;if(_0x2de410===_0x1ab40e)break;else _0x34eb8f['push'](_0x34eb8f['shift']());}catch(_0x213919){_0x34eb8f['push'](_0x34eb8f['shift']());}}}(_0xe138,0xab715));import{CKEditorError as _0x1d34b6}from'ckeditor5/src/utils.js';function _0x41b5(_0x1bb908,_0x1594c7){var _0xe1382f=_0xe138();return _0x41b5=function(_0x41b5c8,_0x4f427a){_0x41b5c8=_0x41b5c8-0x1b2;var _0x4d7487=_0xe1382f[_0x41b5c8];return _0x4d7487;},_0x41b5(_0x1bb908,_0x1594c7);}function _0xe138(){var _0x5709c0=['5044641cjeXOS','21188300HEJpjb','6FbsjXH','576cfQuts','155WbVQQo','17320XvuNtN','54783krcpVN','843730mNIxSv','1250094omIXTC','3695604DAJzVk'];_0xe138=function(){return _0x5709c0;};return _0xe138();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x45c3e4=_0x4f49;(function(_0x271fec,_0xedf1de){const _0x3b55b2=_0x4f49,_0x4ebe68=_0x271fec();while(!![]){try{const _0x3e6c44=-parseInt(_0x3b55b2(0x1e7))/0x1+-parseInt(_0x3b55b2(0x1e8))/0x2+-parseInt(_0x3b55b2(0x220))/0x3*(parseInt(_0x3b55b2(0x20f))/0x4)+parseInt(_0x3b55b2(0x212))/0x5+-parseInt(_0x3b55b2(0x206))/0x6*(-parseInt(_0x3b55b2(0x1d4))/0x7)+parseInt(_0x3b55b2(0x1ce))/0x8+parseInt(_0x3b55b2(0x201))/0x9;if(_0x3e6c44===_0xedf1de)break;else _0x4ebe68['push'](_0x4ebe68['shift']());}catch(_0x3f5e22){_0x4ebe68['push'](_0x4ebe68['shift']());}}}(_0x54e9,0x73f03));import{ObservableMixin as _0x388d72}from'ckeditor5/src/utils.js';import{AIRequestError as _0x186f4f}from'../adapters/aiadapter.js';import{Matcher as _0x32dfc1,UpcastWriter as _0x34b617}from'ckeditor5/src/engine.js';function _0x54e9(){const _0x5da9f6=['custom','_sanitizationContainer','prompt','stringify','length','```','1281800LqhnMm','markers','currentResponse','substring','reset','```html','14Lufhen','editing','processor','initialContext','tryAgainEvent','clear','<h1></h1>','view','push','then','handleError','endsWith','document','_stripMarkdownSyntax','once','abort','ai.aiAssistant.preserveComments','previousActionId','match','311303VMCOKQ','1828176osaaSE','querySelector','childNodes','domConverter','isRendered','createElement','set:currentContext','parseFromString','previousQuery','remove','get','nodeType','text/html','_isH1TagSupportEnabled','_domParser','toView','submitPrompt','setContentOf','htmlProcessor','body','exec','name','listenTo','config','startProcessing','7011297ZpNSEO','stopProcessing','isProcessing','toModel','value','1571622BWjbmk','catch','_sanitizeHTML','_normalizeResponseHeadings','rename','serializeToString','startsWith','ELEMENT_NODE','destroy','760876IHjHJm','updateView','_xmlSerializer','4038995LNDUtC','message','stopListening','mainAction','innerHTML','viewToDom','render','previousLabel','set','element','editor','reverse','currentContext','_handleQuery','9UMNOZM','data','trim','div','_parseAndNormalizeContent','finishProcessing','previousContext','finally','textAdapter','from','makeRequest'];_0x54e9=function(){return _0x5da9f6;};return _0x54e9();}function _0x4f49(_0x1c2a68,_0x5a832b){const _0x54e98d=_0x54e9();return _0x4f49=function(_0x4f490a,_0x2febda){_0x4f490a=_0x4f490a-0x1c1;let _0x4a83b0=_0x54e98d[_0x4f490a];return _0x4a83b0;},_0x4f49(_0x1c2a68,_0x5a832b);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x388d72(){[_0x45c3e4(0x21c)];[_0x45c3e4(0x1c5)];[_0x45c3e4(0x1db)];[_0x45c3e4(0x1c9)];[_0x45c3e4(0x1f6)];[_0x45c3e4(0x211)];constructor(_0xa24080,_0x4580d5,_0x43f1dd){const _0x4effcd=_0x45c3e4;super(),this[_0x4effcd(0x21c)]=_0xa24080,this[_0x4effcd(0x1c5)]=_0x4580d5,this[_0x4effcd(0x1c9)]=document[_0x4effcd(0x1ed)](_0x4effcd(0x223)),this[_0x4effcd(0x1f6)]=new DOMParser(),this[_0x4effcd(0x211)]=new XMLSerializer(),this[_0x4effcd(0x1db)]=_0x43f1dd,this[_0x4effcd(0x21a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4effcd(0x1ee),(_0x2f9b26,_0x2e7a15,_0x1d4b5b)=>{const _0x32d21d=_0x4effcd;this[_0x32d21d(0x1db)][_0x32d21d(0x205)]=this[_0x32d21d(0x208)](_0x1d4b5b);}),this[_0x4effcd(0x1fe)](this[_0x4effcd(0x1db)],_0x4effcd(0x1f8),(_0x6c2f0f,_0xb54e8)=>{const _0x4ad012=_0x4effcd,_0x48da77=this[_0x4ad012(0x21e)]||this[_0x4ad012(0x1d7)];this[_0x4ad012(0x21f)](_0xb54e8,_0x48da77,_0x4ad012(0x1c8));}),this[_0x4effcd(0x1fe)](this[_0x4effcd(0x1db)],_0x4effcd(0x1d8),()=>{const _0x239d99=_0x4effcd;this[_0x239d99(0x1db)][_0x239d99(0x1ca)]=this[_0x239d99(0x219)],this[_0x239d99(0x21f)](this[_0x239d99(0x1f0)],this[_0x239d99(0x1c3)],this[_0x239d99(0x1e5)],this[_0x239d99(0x219)]);}),this[_0x4effcd(0x1fe)](this[_0x4effcd(0x1db)],_0x4effcd(0x202),()=>{const _0x59f7db=_0x4effcd;this[_0x59f7db(0x202)]();});}[_0x45c3e4(0x20e)](){const _0xc0c8b3=_0x45c3e4;this[_0xc0c8b3(0x214)]();}async[_0x45c3e4(0x210)]({actionId:_0x38ef8f,query:_0x261dd8,htmlContent:_0x42c20d,label:_0x553bee,mainActionLabel:_0x2973d0}){const _0x3f4542=_0x45c3e4;this[_0x3f4542(0x1db)][_0x3f4542(0x1ca)]=_0x553bee,this[_0x3f4542(0x1db)][_0x3f4542(0x215)]=_0x2973d0,this[_0x3f4542(0x1d7)]=_0x42c20d,_0x261dd8&&(this[_0x3f4542(0x1db)][_0x3f4542(0x1ec)]?this[_0x3f4542(0x21f)](_0x261dd8,_0x42c20d,_0x38ef8f,_0x553bee):this[_0x3f4542(0x1db)][_0x3f4542(0x1e2)](_0x3f4542(0x218),()=>{const _0x399741=_0x3f4542;this[_0x399741(0x21f)](_0x261dd8,_0x42c20d,_0x38ef8f,_0x553bee);}));}[_0x45c3e4(0x202)](){const _0x34300b=_0x45c3e4;this[_0x34300b(0x203)]&&(this[_0x34300b(0x203)]=!0x1,this[_0x34300b(0x1db)][_0x34300b(0x1c2)](),this[_0x34300b(0x1c5)][_0x34300b(0x1e3)]());}[_0x45c3e4(0x1d2)](){const _0x4b760a=_0x45c3e4;this[_0x4b760a(0x1d7)]='',this[_0x4b760a(0x21e)]='',this[_0x4b760a(0x1d0)]='',this[_0x4b760a(0x1c3)]='',this[_0x4b760a(0x1f0)]='',this[_0x4b760a(0x219)]='',this[_0x4b760a(0x1e5)]=void 0x0,this[_0x4b760a(0x1db)][_0x4b760a(0x1d2)](),this[_0x4b760a(0x202)]();}async[_0x45c3e4(0x21f)](_0x29fc41,_0x41ee8b,_0x4ccf9d,_0x496c17){const _0x5b5eb4=_0x45c3e4;return this[_0x5b5eb4(0x203)]=!0x0,this[_0x5b5eb4(0x1db)][_0x5b5eb4(0x200)](),this[_0x5b5eb4(0x1c3)]=_0x41ee8b,this[_0x5b5eb4(0x1f0)]=_0x29fc41,this[_0x5b5eb4(0x219)]=_0x496c17||_0x29fc41,this[_0x5b5eb4(0x1e5)]=_0x4ccf9d,new Promise(_0x217868=>{const _0x5ce027=_0x5b5eb4;this[_0x5ce027(0x1c5)][_0x5ce027(0x1c7)]({'query':_0x29fc41,'context':_0x41ee8b,'onData':_0x5ef4f0=>{const _0x57765b=_0x5ce027;this[_0x57765b(0x1d0)]=_0x5ef4f0,this[_0x57765b(0x21e)]=this[_0x57765b(0x1c1)](this[_0x57765b(0x1d0)]);},'actionId':_0x4ccf9d})[_0x5ce027(0x1dd)](()=>{const _0x2de749=_0x5ce027;!this[_0x2de749(0x21e)]&&this[_0x2de749(0x1d0)]&&(this[_0x2de749(0x21e)]=this[_0x2de749(0x1c1)](this[_0x2de749(0x1d0)],!0x0));})[_0x5ce027(0x207)](_0x59b498=>{const _0x29f59d=_0x5ce027;_0x59b498 instanceof _0x186f4f?this[_0x29f59d(0x1db)][_0x29f59d(0x1de)](_0x59b498[_0x29f59d(0x213)]):this[_0x29f59d(0x1db)][_0x29f59d(0x1de)](),_0x217868();})[_0x5ce027(0x1c4)](()=>{const _0x4d6cfd=_0x5ce027;this[_0x4d6cfd(0x202)](),_0x217868();});});}[_0x45c3e4(0x1c1)](_0x25c169,_0xc626b=!0x1){const _0x49a3fe=_0x45c3e4,_0x57d193=Z[_0x49a3fe(0x1fc)](_0x25c169);_0x25c169=_0x57d193?_0x25c169[_0x49a3fe(0x1d1)](_0x57d193[0x1][_0x49a3fe(0x1cc)]):_0x25c169[_0x49a3fe(0x1cc)]<0x64&&!_0xc626b?'':this[_0x49a3fe(0x1e1)](_0x25c169);const _0x2fabf9=this[_0x49a3fe(0x1f6)][_0x49a3fe(0x1ef)](_0x25c169,_0x49a3fe(0x1f4));if(_0x57d193){const _0x96b1f8=Array[_0x49a3fe(0x1c6)](_0x2fabf9[_0x49a3fe(0x1fb)][_0x49a3fe(0x1ea)]);_0x96b1f8[_0x49a3fe(0x21d)]();for(const _0x20bd74 of _0x96b1f8){if(_0x20bd74[_0x49a3fe(0x1f3)]==Node[_0x49a3fe(0x20d)])break;_0x20bd74[_0x49a3fe(0x1f1)]();}}const _0xa6e19=this[_0x49a3fe(0x21c)][_0x49a3fe(0x221)][_0x49a3fe(0x1d6)][_0x49a3fe(0x1f7)](this[_0x49a3fe(0x211)][_0x49a3fe(0x20b)](_0x2fabf9[_0x49a3fe(0x1fb)]));this[_0x49a3fe(0x1f5)]()||this[_0x49a3fe(0x209)](_0xa6e19);const _0x4698c8=this[_0x49a3fe(0x21c)][_0x49a3fe(0x1ff)][_0x49a3fe(0x1f2)](_0x49a3fe(0x1e4)),_0x3d5eb1=this[_0x49a3fe(0x21c)][_0x49a3fe(0x221)][_0x49a3fe(0x204)](_0xa6e19);return _0x4698c8||_0x3d5eb1[_0x49a3fe(0x1cf)][_0x49a3fe(0x1d9)](),this[_0x49a3fe(0x21c)][_0x49a3fe(0x221)][_0x49a3fe(0x1cb)](_0x3d5eb1);}[_0x45c3e4(0x209)](_0x179f0f){const _0x59715e=_0x45c3e4,_0x1167f2=new _0x34b617(this[_0x59715e(0x21c)][_0x59715e(0x1d5)][_0x59715e(0x1db)][_0x59715e(0x1e0)]),_0x6949e3=new _0x32dfc1({'name':/^h[1-5]$/}),_0x14338b=[];let _0x19aed7=!0x1;for(const _0x101ba5 of _0x179f0f)_0x101ba5['is'](_0x59715e(0x21b))&&_0x6949e3[_0x59715e(0x1e6)](_0x101ba5)&&(_0x14338b[_0x59715e(0x1dc)](_0x101ba5),'h1'==_0x101ba5[_0x59715e(0x1fd)]&&(_0x19aed7=!0x0));if(_0x19aed7){for(const _0xa9e5d6 of _0x14338b)_0x1167f2[_0x59715e(0x20a)]('h'+(parseInt(_0xa9e5d6[_0x59715e(0x1fd)][0x1])+0x1),_0xa9e5d6);}}[_0x45c3e4(0x1f5)](){const _0x31ba96=_0x45c3e4,{data:_0x4f542d,editing:_0x3d1d21}=this[_0x31ba96(0x21c)],_0x3a9346=_0x4f542d[_0x31ba96(0x1fa)][_0x31ba96(0x1f7)](_0x31ba96(0x1da)),_0xe134a5=_0x4f542d[_0x31ba96(0x1f7)](_0x4f542d[_0x31ba96(0x204)](_0x3a9346));return!!_0x3d1d21[_0x31ba96(0x1db)][_0x31ba96(0x1eb)][_0x31ba96(0x217)](_0xe134a5)[_0x31ba96(0x1e9)]('h1');}[_0x45c3e4(0x208)](_0x1d4f17){const _0x22fe29=_0x45c3e4;return this[_0x22fe29(0x21c)][_0x22fe29(0x1d5)][_0x22fe29(0x1db)][_0x22fe29(0x1eb)][_0x22fe29(0x1f9)](this[_0x22fe29(0x1c9)],_0x1d4f17),this[_0x22fe29(0x1c9)][_0x22fe29(0x216)];}[_0x45c3e4(0x1e1)](_0x1ca4b4){const _0x5e6d1c=_0x45c3e4,_0x40b820=_0x1ca4b4[_0x5e6d1c(0x222)]();return _0x40b820[_0x5e6d1c(0x20c)](_0x5e6d1c(0x1d3))?_0x40b820[_0x5e6d1c(0x1df)](_0x5e6d1c(0x1cd))?_0x40b820[_0x5e6d1c(0x1d1)](0x7,_0x40b820[_0x5e6d1c(0x1cc)]-0x3):_0x40b820[_0x5e6d1c(0x1d1)](0x7):_0x1ca4b4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x80dbed=_0x540a;(function(_0x29eefd,_0x43e1b9){const _0x240f93=_0x540a,_0x1b975e=_0x29eefd();while(!![]){try{const _0x220935=-parseInt(_0x240f93(0xd0))/0x1*(parseInt(_0x240f93(0x95))/0x2)+-parseInt(_0x240f93(0xc4))/0x3*(parseInt(_0x240f93(0xa3))/0x4)+parseInt(_0x240f93(0xb1))/0x5+-parseInt(_0x240f93(0xd3))/0x6*(-parseInt(_0x240f93(0xc2))/0x7)+-parseInt(_0x240f93(0xd6))/0x8*(-parseInt(_0x240f93(0x93))/0x9)+-parseInt(_0x240f93(0xd7))/0xa*(-parseInt(_0x240f93(0xd4))/0xb)+parseInt(_0x240f93(0xd8))/0xc*(parseInt(_0x240f93(0xa1))/0xd);if(_0x220935===_0x43e1b9)break;else _0x1b975e['push'](_0x1b975e['shift']());}catch(_0x698e00){_0x1b975e['push'](_0x1b975e['shift']());}}}(_0x70e7,0xd405a));import{global as _0x2b134d}from'ckeditor5/src/utils.js';import{View as _0x5e9747,ButtonView as _0x1fd59d,SpinnerView as _0x269589}from'ckeditor5/src/ui.js';import{IconCheck as _0x18a7ef,IconCopy as _0x2f2e04}from'ckeditor5/src/icons.js';function _0x540a(_0x41bd7d,_0x54cc27){const _0x70e758=_0x70e7();return _0x540a=function(_0x540a1e,_0x4989d3){_0x540a1e=_0x540a1e-0x84;let _0x3182d8=_0x70e758[_0x540a1e];return _0x3182d8;},_0x540a(_0x41bd7d,_0x54cc27);}import{getTranslation as _0xabcf00}from'../../utils/common-translations.js';function _0x70e7(){const _0x21bd21=['removeAllRanges','isVisible','1457739eGKWRw','element','58WIOmXs','setEndBefore','\x20ck-ai-form__copy-button--copied','createElement','isProcessing','focus','ck-hidden','change:value','scrollTo','ck-ai-form__content-area--processing','div','bindTemplate','26cwGuuz','lastElementChild','103604nHjwhq','remove','left','text/html','position','locale','ck-ai-form__content-area','AI\x20is\x20writing...','execCommand','-9999px','copyButtonView','.ck-ai-form__loader','change:isProcessing','value','816950AYQpuD','appendLoader','render','icon','textContent','ck-ai-form__content-area-wrapper','setTemplate','querySelector','mousedown','listenTo','bind','_createLoader','loaderView','ClipboardItem','ck-content','ck-ai-form__loader','contentFieldView','71106TGulwk','style','69KzGrFA','text/plain','ck-ai-form__content-field','wheel','Copy','_copyHTMLToClipboard','clipboard','scrollHeight','_createCopyButton','absolute','ck-ai-form__copy-button','addRange','52685npXoqn','<span>[</span>','copy','546pSHQlR','406483vlXJgB','setStartAfter','56sXsOAd','30LJPmZz','3957636ahnTbD','ck-reset_all-excluded','write','getSelection','<span>]</span>','createRange','execute','setContent','ck-ai-form__copy-button-wrapper','set','smooth','class','body','innerHTML','appendChild','firstElementChild','isEnabled'];_0x70e7=function(){return _0x21bd21;};return _0x70e7();}export default class Y extends _0x5e9747{[_0x80dbed(0xc1)];[_0x80dbed(0xad)];constructor(_0x24ecee,_0x4dd548=''){const _0x52dbe5=_0x80dbed;super(_0x24ecee),this[_0x52dbe5(0x89)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x212a45=this[_0x52dbe5(0xa0)];this[_0x52dbe5(0xc1)]=new ContentFieldView(_0x24ecee,_0x4dd548),this[_0x52dbe5(0xad)]=this[_0x52dbe5(0xcc)](),this[_0x52dbe5(0xb7)]({'tag':_0x52dbe5(0x9f),'attributes':{'class':['ck',_0x52dbe5(0xb6),_0x212a45['if'](_0x52dbe5(0x92),_0x52dbe5(0x9b),_0x302707=>!_0x302707)],'tabindex':'-1'},'children':[{'tag':_0x52dbe5(0x9f),'attributes':{'class':['ck',_0x52dbe5(0xa9),_0x212a45['if'](_0x52dbe5(0x99),_0x52dbe5(0x9e))]},'children':[this[_0x52dbe5(0xc1)],{'tag':_0x52dbe5(0x9f),'attributes':{'class':['ck',_0x52dbe5(0x88)]},'children':[this[_0x52dbe5(0xad)]]}]}]});}[_0x80dbed(0xb3)](){const _0x4773de=_0x80dbed;super[_0x4773de(0xb3)](),this[_0x4773de(0xb0)]&&this[_0x4773de(0xc1)][_0x4773de(0x87)](this[_0x4773de(0xb0)]);let _0x39aa63=!0x1;this['on'](_0x4773de(0x9c),(_0x10083d,_0x4eb0e3,_0x44f003)=>{const _0x3c1629=_0x4773de,_0x501e50=!this[_0x3c1629(0xc1)][_0x3c1629(0x94)][_0x3c1629(0xb8)](_0x3c1629(0xae));this[_0x3c1629(0xc1)][_0x3c1629(0x87)](_0x44f003),this[_0x3c1629(0x99)]&&_0x501e50&&!_0x39aa63&&this[_0x3c1629(0x94)][_0x3c1629(0x9d)]({'top':this[_0x3c1629(0x94)][_0x3c1629(0xcb)],'behavior':_0x3c1629(0x8a)});}),this['on'](_0x4773de(0xaf),(_0x5d2255,_0x672c56,_0x3c9f85)=>{const _0x219c11=_0x4773de;_0x39aa63=!0x1,_0x3c9f85?(this[_0x219c11(0xb0)]=null,this[_0x219c11(0xc1)][_0x219c11(0xb2)]()):this[_0x219c11(0xb0)]||this[_0x219c11(0xc1)][_0x219c11(0x87)]('');}),this[_0x4773de(0xba)](this[_0x4773de(0x94)],_0x4773de(0xc7),()=>{_0x39aa63=!0x0;}),this[_0x4773de(0xba)](this[_0x4773de(0x94)],_0x4773de(0xb9),()=>{_0x39aa63=!0x0;});}[_0x80dbed(0x9a)](){const _0x303325=_0x80dbed;this[_0x303325(0x94)][_0x303325(0x9a)]();}[_0x80dbed(0xcc)](){const _0x1b0137=_0x80dbed,_0x248968=this[_0x1b0137(0xa8)],_0x2f98bc=new _0x1fd59d(this[_0x1b0137(0xa8)]),_0x5ef86d=_0x1b0137(0xce);return _0x2f98bc[_0x1b0137(0x89)]({'label':_0xabcf00(_0x248968,_0x1b0137(0xc8)),'icon':_0x2f2e04,'class':_0x5ef86d,'tooltip':!0x0}),_0x2f98bc[_0x1b0137(0xbb)](_0x1b0137(0x92))['to'](this,_0x1b0137(0xb0),_0x160b3a=>!!_0x160b3a),_0x2f98bc[_0x1b0137(0xbb)](_0x1b0137(0x90))['to'](this,_0x1b0137(0x99),_0x28f39a=>!_0x28f39a),_0x2f98bc['on'](_0x1b0137(0x86),()=>{const _0x160101=_0x1b0137;this[_0x160101(0xc9)](this[_0x160101(0xc1)][_0x160101(0x94)]),_0x2f98bc[_0x160101(0xb4)]=_0x18a7ef,_0x2f98bc[_0x160101(0x8b)]=_0x5ef86d+_0x160101(0x97),this[_0x160101(0x9a)](),setTimeout(()=>{const _0xff4751=_0x160101;_0x2f98bc[_0xff4751(0xb4)]=_0x2f2e04,_0x2f98bc[_0xff4751(0x8b)]=_0x5ef86d;},0x3e8);}),_0x2f98bc;}[_0x80dbed(0xc9)](_0x468f81){const _0x183277=_0x80dbed,{window:_0x3b0c36,document:_0x4371f7}=_0x2b134d;if(_0x3b0c36[_0x183277(0xbe)]){const {Blob:_0x148919,ClipboardItem:_0x6b168a}=_0x3b0c36,_0x358bf5=[new _0x6b168a({'text/html':new _0x148919([_0x468f81[_0x183277(0x8d)]],{'type':_0x183277(0xa6)}),'text/plain':new _0x148919([_0x468f81[_0x183277(0xb5)]||''],{'type':_0x183277(0xc5)})})];navigator[_0x183277(0xca)][_0x183277(0xda)](_0x358bf5);}else{const _0x3c6d51=_0x4371f7[_0x183277(0x98)](_0x183277(0x9f));_0x3c6d51[_0x183277(0xc3)][_0x183277(0xa7)]=_0x183277(0xcd),_0x3c6d51[_0x183277(0xc3)][_0x183277(0xa5)]=_0x183277(0xac),_0x3c6d51[_0x183277(0x8d)]=_0x183277(0xd1)+_0x468f81[_0x183277(0x8d)]+_0x183277(0x84),_0x4371f7[_0x183277(0x8c)][_0x183277(0x8e)](_0x3c6d51);const _0x6bc391=_0x4371f7[_0x183277(0x85)]();_0x6bc391[_0x183277(0xd5)](_0x3c6d51[_0x183277(0x8f)]),_0x6bc391[_0x183277(0x96)](_0x3c6d51[_0x183277(0xa2)]);const _0x51c6cc=_0x3b0c36[_0x183277(0xdb)]();_0x51c6cc[_0x183277(0x91)](),_0x51c6cc[_0x183277(0xcf)](_0x6bc391),_0x4371f7[_0x183277(0xab)](_0x183277(0xd2)),_0x3c6d51[_0x183277(0xa4)]();}}}export class ContentFieldView extends _0x5e9747{constructor(_0x1b8e6c,_0x5c5cf7=''){const _0x42c8a7=_0x80dbed;super(_0x1b8e6c),this[_0x42c8a7(0xbd)]=this[_0x42c8a7(0xbc)](),this[_0x42c8a7(0xb7)]({'tag':_0x42c8a7(0x9f),'attributes':{'class':['ck',_0x42c8a7(0xbf),_0x5c5cf7,_0x42c8a7(0xd9),_0x42c8a7(0xc6)]}});}[_0x80dbed(0x87)](_0x353640){const _0x57a3f5=_0x80dbed;this[_0x57a3f5(0x94)][_0x57a3f5(0x8d)]=_0x353640;}[_0x80dbed(0xb2)](){const _0x4533e6=_0x80dbed;this[_0x4533e6(0x94)][_0x4533e6(0x8e)](this[_0x4533e6(0xbd)][_0x4533e6(0x94)]);}[_0x80dbed(0xbc)](){const _0x15469c=_0x80dbed,_0x53a99e=new _0x5e9747(),_0x5e4212=this[_0x15469c(0xa8)],_0x5d2619=new _0x269589();return _0x5d2619[_0x15469c(0x92)]=!0x0,_0x53a99e[_0x15469c(0xb7)]({'tag':_0x15469c(0x9f),'attributes':{'class':['ck',_0x15469c(0xc0)]},'children':[_0x5d2619,{'text':_0xabcf00(_0x5e4212,_0x15469c(0xaa))}]}),_0x53a99e[_0x15469c(0xb3)](),_0x53a99e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4187f7,_0x4ce752){const _0x15c3c5=_0x3b98,_0x4e9d82=_0x4187f7();while(!![]){try{const _0x526c3a=parseInt(_0x15c3c5(0xc8))/0x1*(parseInt(_0x15c3c5(0xcb))/0x2)+-parseInt(_0x15c3c5(0xd3))/0x3+parseInt(_0x15c3c5(0xd7))/0x4*(parseInt(_0x15c3c5(0xd0))/0x5)+-parseInt(_0x15c3c5(0xd6))/0x6+-parseInt(_0x15c3c5(0xcf))/0x7+parseInt(_0x15c3c5(0xd4))/0x8*(-parseInt(_0x15c3c5(0xd1))/0x9)+parseInt(_0x15c3c5(0xd2))/0xa;if(_0x526c3a===_0x4ce752)break;else _0x4e9d82['push'](_0x4e9d82['shift']());}catch(_0x38c872){_0x4e9d82['push'](_0x4e9d82['shift']());}}}(_0x55ab,0xc2e43));import{IconError as _0x54de32}from'ckeditor5/src/icons.js';function _0x3b98(_0x14b5ae,_0x159390){const _0x55abbd=_0x55ab();return _0x3b98=function(_0x3b98b6,_0x406891){_0x3b98b6=_0x3b98b6-0xc8;let _0x20c02c=_0x55abbd[_0x3b98b6];return _0x20c02c;},_0x3b98(_0x14b5ae,_0x159390);}import{View as _0x9014d,IconView as _0x60e1df}from'ckeditor5/src/ui.js';export default class st extends _0x9014d{constructor(_0x5d405a,_0x240b0a=''){const _0x9c3c8f=_0x3b98;super(_0x5d405a);const _0x251981=new _0x60e1df(),_0x27e43e=this[_0x9c3c8f(0xce)];this[_0x9c3c8f(0xcd)](_0x9c3c8f(0xcc),_0x240b0a),_0x251981[_0x9c3c8f(0xca)]=_0x54de32,this[_0x9c3c8f(0xd8)]({'tag':_0x9c3c8f(0xd5),'attributes':{'class':['ck',_0x9c3c8f(0xc9)]},'children':[_0x251981,{'text':_0x27e43e['to'](_0x9c3c8f(0xcc))}]});}}function _0x55ab(){const _0x13f1cf=['setTemplate','436253tVPBmu','ck-ai-form__error','content','4TUUnNY','text','set','bindTemplate','7323722qUgTen','5txvjbT','2574063jmAGhz','27765870UrsVxI','2562408FWtTGU','8zHpxxN','div','8453484lJYNzi','2977940zZJjcu'];_0x55ab=function(){return _0x13f1cf;};return _0x55ab();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1d2868=_0x3adc;(function(_0x1a0ed0,_0x2bd8e5){const _0x3b9de7=_0x3adc,_0xa8be64=_0x1a0ed0();while(!![]){try{const _0x11ff9a=-parseInt(_0x3b9de7(0xfa))/0x1*(parseInt(_0x3b9de7(0x102))/0x2)+-parseInt(_0x3b9de7(0x10a))/0x3+parseInt(_0x3b9de7(0x119))/0x4*(parseInt(_0x3b9de7(0x10c))/0x5)+parseInt(_0x3b9de7(0xef))/0x6+-parseInt(_0x3b9de7(0xf4))/0x7+-parseInt(_0x3b9de7(0xfb))/0x8+parseInt(_0x3b9de7(0xe3))/0x9;if(_0x11ff9a===_0x2bd8e5)break;else _0xa8be64['push'](_0xa8be64['shift']());}catch(_0x7426d){_0xa8be64['push'](_0xa8be64['shift']());}}}(_0x1792,0x7553c));import{Rect as _0x34ffff,global as _0x11dd60,isVisible as _0x45c29a}from'ckeditor5/src/utils.js';function _0x1792(){const _0x4bf172=['focusFirst','10311012rgwNXS','History','children','queryView','keystrokes','ck-ai-form__toggle-history','width','add','focusableChildren','isEnabled','element','isOn','2216136cmVQbd','enter','fieldWrapperChildren','filteredView','set','2607178bUqkPd','update','isEmpty','rtl','minRows','fieldView','2536mZSNNZ','2376912xcCvih','_createSubmitButton','value','locale','render','_createShowHistoryButton','uiLanguageDirection','10AIdcib','left','isVisible','focusCycler','bind','requestAnimationFrame','target','execute','1326285YphCDH','focus','5YmyTax','resultsView','right','submit','style','Submit','excludeScrollbarsAndBorders','window','ck-ai-form__submit','fire','maxRows','focusLast','showHistoryButtonView','359564HgDSTG','submitButtonView'];_0x1792=function(){return _0x4bf172;};return _0x1792();}function _0x3adc(_0x33213a,_0x458e97){const _0x179282=_0x1792();return _0x3adc=function(_0x3adc61,_0x44a2fa){_0x3adc61=_0x3adc61-0xe2;let _0x546fb2=_0x179282[_0x3adc61];return _0x546fb2;},_0x3adc(_0x33213a,_0x458e97);}import{IconHistory as _0x158a02,IconSubmit as _0x4abf07}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x470e67,ButtonView as _0x598b48}from'ckeditor5/src/ui.js';import{getTranslation as _0x71199c}from'../../utils/common-translations.js';export default class ct extends _0x470e67{[_0x1d2868(0x11a)];[_0x1d2868(0x118)];constructor(_0x1179bc,_0x2b3c80){const _0x158c5e=_0x1d2868;super(_0x1179bc,_0x2b3c80),this[_0x158c5e(0xe6)][_0x158c5e(0xf9)][_0x158c5e(0xf8)]=0x1,this[_0x158c5e(0xe6)][_0x158c5e(0xf9)][_0x158c5e(0x116)]=0x3,this[_0x158c5e(0x11a)]=this[_0x158c5e(0xfc)](),this[_0x158c5e(0x118)]=this[_0x158c5e(0x100)](),this[_0x158c5e(0xeb)][_0x158c5e(0xea)](this[_0x158c5e(0x118)],0x1),this[_0x158c5e(0xeb)][_0x158c5e(0xea)](this[_0x158c5e(0x11a)]);}[_0x1d2868(0xff)](){const _0x1cf00f=_0x1d2868;super[_0x1cf00f(0xff)](),this[_0x1cf00f(0xe6)][_0x1cf00f(0xf1)][_0x1cf00f(0xea)](this[_0x1cf00f(0x118)]),this[_0x1cf00f(0xe5)][_0x1cf00f(0xea)](this[_0x1cf00f(0x11a)]),this[_0x1cf00f(0xe7)][_0x1cf00f(0xf3)](_0x1cf00f(0xf0),(_0x44c90a,_0x3f19f7)=>{const _0x233131=_0x1cf00f;_0x44c90a[_0x233131(0x108)]==this[_0x233131(0xe6)][_0x233131(0xf9)][_0x233131(0xed)]&&(this[_0x233131(0x10f)](),_0x3f19f7());});}[_0x1d2868(0xfc)](){const _0x3ffa69=_0x1d2868,_0x40251e=new _0x598b48(this[_0x3ffa69(0xfe)]),_0xf1de35=this[_0x3ffa69(0xfe)];return _0x40251e[_0x3ffa69(0xf3)]({'icon':_0x4abf07,'label':_0x71199c(_0xf1de35,_0x3ffa69(0x111)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3ffa69(0x114)}),_0x40251e['on'](_0x3ffa69(0x109),()=>{const _0x572341=_0x3ffa69;this[_0x572341(0x10f)]();}),_0x40251e[_0x3ffa69(0x106)](_0x3ffa69(0xec))['to'](this[_0x3ffa69(0xe6)][_0x3ffa69(0xf9)],_0x3ffa69(0xf6),this,_0x3ffa69(0xec),(_0xe2a23,_0x57ca17)=>!_0xe2a23&&_0x57ca17),_0x40251e;}[_0x1d2868(0x100)](){const _0x1fa0b2=_0x1d2868,_0x5f2701=new _0x598b48(this[_0x1fa0b2(0xfe)]),_0x2ccd1f=this[_0x1fa0b2(0x10d)],_0x274366=this[_0x1fa0b2(0xfe)];_0x5f2701[_0x1fa0b2(0xf3)]({'label':_0x71199c(_0x274366,_0x1fa0b2(0xe4)),'withText':!0x1,'icon':_0x158a02,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1fa0b2(0xe8)}),_0x5f2701[_0x1fa0b2(0x106)](_0x1fa0b2(0xee))['to'](_0x2ccd1f,_0x1fa0b2(0x104)),_0x5f2701[_0x1fa0b2(0x106)](_0x1fa0b2(0xec))['to'](this,_0x1fa0b2(0xec)),_0x5f2701['on'](_0x1fa0b2(0x109),()=>{const _0x28d3c3=_0x1fa0b2;_0x2ccd1f[_0x28d3c3(0x104)]=!_0x2ccd1f[_0x28d3c3(0x104)],_0x2ccd1f[_0x28d3c3(0x104)]?this[_0x28d3c3(0xf2)][_0x28d3c3(0x10b)]():this[_0x28d3c3(0x10b)]();});const _0x51fa6f=()=>{const _0x5555dc=_0x1fa0b2;_0x11dd60[_0x5555dc(0x113)][_0x5555dc(0x107)](()=>{const _0x1fbd3c=_0x5555dc;if(_0x45c29a(this[_0x1fbd3c(0xed)])){const _0xd423b7=new _0x34ffff(this[_0x1fbd3c(0xe6)][_0x1fbd3c(0xf9)][_0x1fbd3c(0xed)]),_0x3e2abe=_0xd423b7[_0x1fbd3c(0xe9)],_0x329de2=_0x1fbd3c(0xf7)===_0x274366[_0x1fbd3c(0x101)]?_0x1fbd3c(0x103):_0x1fbd3c(0x10e);_0xd423b7[_0x1fbd3c(0x112)](),_0x5f2701[_0x1fbd3c(0xed)][_0x1fbd3c(0x110)][_0x329de2]=_0x3e2abe-_0xd423b7[_0x1fbd3c(0xe9)]+0x1+'px';}});};return this[_0x1fa0b2(0xe6)][_0x1fa0b2(0xf9)]['on'](_0x1fa0b2(0xf5),_0x51fa6f),this['on'](_0x1fa0b2(0xff),_0x51fa6f),_0x5f2701;}[_0x1d2868(0x10f)](){const _0x29b70e=_0x1d2868,_0x11558e=this[_0x29b70e(0xe6)][_0x29b70e(0xf9)][_0x29b70e(0xed)][_0x29b70e(0xfd)];this[_0x29b70e(0x115)](_0x29b70e(0x10f),_0x11558e);}[_0x1d2868(0x10b)](_0x277689){const _0x5ab183=_0x1d2868;-0x1===_0x277689?this[_0x5ab183(0x105)][_0x5ab183(0x117)]():this[_0x5ab183(0x105)][_0x5ab183(0xe2)]();}}
|