@ckeditor/ckeditor5-ai 45.2.1-alpha.9 → 45.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58dd72=_0x4ba7;(function(_0x80ff2,_0x38e9b0){const _0x4ab021=_0x4ba7,_0x5ee150=_0x80ff2();while(!![]){try{const _0x507dd2=parseInt(_0x4ab021(0xae))/0x1+parseInt(_0x4ab021(0xe7))/0x2*(-parseInt(_0x4ab021(0xa9))/0x3)+-parseInt(_0x4ab021(0xfb))/0x4*(parseInt(_0x4ab021(0xa7))/0x5)+parseInt(_0x4ab021(0xbb))/0x6+-parseInt(_0x4ab021(0xc4))/0x7*(parseInt(_0x4ab021(0xdd))/0x8)+-parseInt(_0x4ab021(0xc6))/0x9*(parseInt(_0x4ab021(0xf1))/0xa)+parseInt(_0x4ab021(0x101))/0xb;if(_0x507dd2===_0x38e9b0)break;else _0x5ee150['push'](_0x5ee150['shift']());}catch(_0x57b6e8){_0x5ee150['push'](_0x5ee150['shift']());}}}(_0x5936,0x3c39d));import{Plugin as _0x26f1cf}from'ckeditor5/src/core.js';import _0x2441df from'./aiassistantui.js';import _0x4e5c62 from'./aiassistantediting.js';function _0x4ba7(_0x552a3b,_0x7b4a61){const _0x5936d6=_0x5936();return _0x4ba7=function(_0x4ba71d,_0x563ddd){_0x4ba71d=_0x4ba71d-0x98;let _0x344a28=_0x5936d6[_0x4ba71d];return _0x344a28;},_0x4ba7(_0x552a3b,_0x7b4a61);}function _0x5936(){const _0x25dae8=['5vTZHsh','locale','552987GnjNOG','get','Translate\x20the\x20content\x20to\x20French\x20language.','config','Business','303851KhArFd','requires','translate','German','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','groupId','Friendly','casual','AIAssistant','generate','translateFrench','Generate\x20from\x20selection','840504unMqBM','Translate\x20the\x20content\x20to\x20German\x20language.','includes','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Hindi','Continue','isPremiumPlugin','commands','translateChinese','1184267BOlpSE','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','1546011CUzkgC','direct','simplifyLanguage','translateSpanish','define','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','friendly','Poetic','translateEnglish','concat','editOrReview','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','makeLonger','Journalism','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','changeTone','ai.aiAssistant.preserveComments','isOfficialPlugin','Spanish','Summarize','makeShorter','8gLUGfF','find','Translate\x20the\x20content\x20to\x20English\x20language.','Legal','poetic','Simplified\x20Chinese','confident','Make\x20shorter','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Make\x20longer','4pLFOnK','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Simplify\x20language','Change\x20style','legal','ai.aiAssistant.extraCommandGroups','Portuguese','translateGerman','Professional','10bXzqUP','pluginName','Arabic','Improve\x20writing','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Edit\x20or\x20review','Direct','Confident','business','Translate\x20the\x20content\x20to\x20Spanish\x20language.','414512JyAqAS','professional','Change\x20tone','Translate\x20the\x20content\x20to\x20Hindi\x20language.','changeStyle','translateHindi','6775956RMTmgD','improveWriting','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translatePortuguese','push','set','French','forEach','continue','English','Translate','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','filter','summarize','ai.aiAssistant.commands','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Casual','ai.aiAssistant.removeCommands','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','journalism','translateArabic'];_0x5936=function(){return _0x25dae8;};return _0x5936();}import{getTranslation as _0x444a20}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0xc636d0}from'./utils/normalizecommandsconfig.js';export default class r extends _0x26f1cf{static get[_0x58dd72(0xaf)](){return[_0x2441df,_0x4e5c62];}static get[_0x58dd72(0xf2)](){const _0x54682d=_0x58dd72;return _0x54682d(0xb7);}static get[_0x58dd72(0xd9)](){return!0x0;}static get[_0x58dd72(0xc1)](){return!0x0;}constructor(_0x2c2bcf){const _0x4f6f78=_0x58dd72;super(_0x2c2bcf);const _0xaa8b14=_0x2c2bcf[_0x4f6f78(0xac)],_0x1a1fe1=_0x2c2bcf[_0x4f6f78(0xa8)];_0xaa8b14[_0x4f6f78(0xca)](_0x4f6f78(0xd8),!0x0),_0xaa8b14[_0x4f6f78(0xca)](_0x4f6f78(0xa0),getDefaultCommands(_0x1a1fe1)),_0xaa8b14[_0x4f6f78(0xca)](_0x4f6f78(0xed),[]),_0xaa8b14[_0x4f6f78(0xca)](_0x4f6f78(0xa3),[]);let _0x44c48f=_0xc636d0(_0xaa8b14[_0x4f6f78(0xaa)](_0x4f6f78(0xa0)),_0x1a1fe1);const _0x3041a2=_0xaa8b14[_0x4f6f78(0xaa)](_0x4f6f78(0xed)),_0x4e9b21=_0xaa8b14[_0x4f6f78(0xaa)](_0x4f6f78(0xa3));_0x3041a2[_0x4f6f78(0x98)](_0x2654a0=>{const _0x4e167b=_0x4f6f78,_0x40a31a=_0x44c48f[_0x4e167b(0xde)](_0x259729=>_0x259729[_0x4e167b(0xb4)]===_0x2654a0[_0x4e167b(0xb4)]);_0x40a31a?_0x40a31a[_0x4e167b(0xc2)]=_0x40a31a[_0x4e167b(0xc2)][_0x4e167b(0xd0)](_0x2654a0[_0x4e167b(0xc2)]):_0x44c48f[_0x4e167b(0x105)](_0x2654a0);}),_0x44c48f=_0x44c48f[_0x4f6f78(0x9e)](_0x3ff68e=>!_0x4e9b21[_0x4f6f78(0xbd)](_0x3ff68e[_0x4f6f78(0xb4)])),_0x44c48f[_0x4f6f78(0x98)](_0x199d8d=>{const _0x41969d=_0x4f6f78;_0x199d8d[_0x41969d(0xc2)]=_0x199d8d[_0x41969d(0xc2)][_0x41969d(0x9e)](_0x24644b=>!_0x4e9b21[_0x41969d(0xbd)](_0x24644b['id']));}),_0xaa8b14[_0x4f6f78(0x106)](_0x4f6f78(0xa0),_0x44c48f);}}export function getDefaultCommands(_0x464726){const _0x2e2d7e=_0x58dd72;return[{'groupId':_0x2e2d7e(0xd1),'groupLabel':_0x444a20(_0x464726,_0x2e2d7e(0xf6)),'commands':[{'id':_0x2e2d7e(0x102),'label':_0x444a20(_0x464726,_0x2e2d7e(0xf4)),'prompt':_0x2e2d7e(0xcc)},{'id':_0x2e2d7e(0xdc),'label':_0x444a20(_0x464726,_0x2e2d7e(0xe4)),'prompt':_0x2e2d7e(0xe9)},{'id':_0x2e2d7e(0xd3),'label':_0x444a20(_0x464726,_0x2e2d7e(0xe6)),'prompt':_0x2e2d7e(0x9d)},{'id':_0x2e2d7e(0xc8),'label':_0x444a20(_0x464726,_0x2e2d7e(0xea)),'prompt':_0x2e2d7e(0xf5)}]},{'groupId':_0x2e2d7e(0xb8),'groupLabel':_0x444a20(_0x464726,_0x2e2d7e(0xba)),'commands':[{'id':_0x2e2d7e(0x9f),'label':_0x444a20(_0x464726,_0x2e2d7e(0xdb)),'prompt':_0x2e2d7e(0xb3)},{'id':_0x2e2d7e(0x99),'label':_0x444a20(_0x464726,_0x2e2d7e(0xc0)),'prompt':_0x2e2d7e(0xd2)}]},{'groupId':_0x2e2d7e(0xd7),'groupLabel':_0x444a20(_0x464726,_0x2e2d7e(0xfd)),'commands':[{'id':_0x2e2d7e(0xfc),'label':_0x444a20(_0x464726,_0x2e2d7e(0xf0)),'prompt':_0x2e2d7e(0xcb)},{'id':_0x2e2d7e(0xb6),'label':_0x444a20(_0x464726,_0x2e2d7e(0xa2)),'prompt':_0x2e2d7e(0xa4)},{'id':_0x2e2d7e(0xc7),'label':_0x444a20(_0x464726,_0x2e2d7e(0xf7)),'prompt':_0x2e2d7e(0xa1)},{'id':_0x2e2d7e(0xe3),'label':_0x444a20(_0x464726,_0x2e2d7e(0xf8)),'prompt':_0x2e2d7e(0xe8)},{'id':_0x2e2d7e(0xcd),'label':_0x444a20(_0x464726,_0x2e2d7e(0xb5)),'prompt':_0x2e2d7e(0xb2)}]},{'groupId':_0x2e2d7e(0xff),'groupLabel':_0x444a20(_0x464726,_0x2e2d7e(0xeb)),'commands':[{'id':_0x2e2d7e(0xf9),'label':_0x444a20(_0x464726,_0x2e2d7e(0xad)),'prompt':_0x2e2d7e(0xe5)},{'id':_0x2e2d7e(0xec),'label':_0x444a20(_0x464726,_0x2e2d7e(0xe0)),'prompt':_0x2e2d7e(0xc5)},{'id':_0x2e2d7e(0xa5),'label':_0x444a20(_0x464726,_0x2e2d7e(0xd4)),'prompt':_0x2e2d7e(0x103)},{'id':_0x2e2d7e(0xe1),'label':_0x444a20(_0x464726,_0x2e2d7e(0xce)),'prompt':_0x2e2d7e(0xbe)}]},{'groupId':_0x2e2d7e(0xb0),'groupLabel':_0x444a20(_0x464726,_0x2e2d7e(0x9b)),'commands':[{'id':_0x2e2d7e(0xcf),'label':_0x444a20(_0x464726,_0x2e2d7e(0x9a)),'prompt':_0x2e2d7e(0xdf)},{'id':_0x2e2d7e(0xc9),'label':_0x444a20(_0x464726,_0x2e2d7e(0xda)),'prompt':_0x2e2d7e(0xfa)},{'id':_0x2e2d7e(0x104),'label':_0x444a20(_0x464726,_0x2e2d7e(0xee)),'prompt':_0x2e2d7e(0xd5)},{'id':_0x2e2d7e(0xef),'label':_0x444a20(_0x464726,_0x2e2d7e(0xb1)),'prompt':_0x2e2d7e(0xbc)},{'id':_0x2e2d7e(0xb9),'label':_0x444a20(_0x464726,_0x2e2d7e(0x107)),'prompt':_0x2e2d7e(0xab)},{'id':_0x2e2d7e(0xc3),'label':_0x444a20(_0x464726,_0x2e2d7e(0xe2)),'prompt':_0x2e2d7e(0x9c)},{'id':_0x2e2d7e(0x100),'label':_0x444a20(_0x464726,_0x2e2d7e(0xbf)),'prompt':_0x2e2d7e(0xfe)},{'id':_0x2e2d7e(0xa6),'label':_0x444a20(_0x464726,_0x2e2d7e(0xf3)),'prompt':_0x2e2d7e(0xd6)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4e1476=_0x4e8d;(function(_0x4ddc4e,_0x43b257){const _0xeda634=_0x4e8d,_0x90f225=_0x4ddc4e();while(!![]){try{const _0x2535b1=parseInt(_0xeda634(0x134))/0x1*(parseInt(_0xeda634(0xeb))/0x2)+-parseInt(_0xeda634(0x149))/0x3*(parseInt(_0xeda634(0x143))/0x4)+-parseInt(_0xeda634(0x147))/0x5*(-parseInt(_0xeda634(0x144))/0x6)+-parseInt(_0xeda634(0xea))/0x7*(parseInt(_0xeda634(0xef))/0x8)+-parseInt(_0xeda634(0x127))/0x9*(-parseInt(_0xeda634(0x10b))/0xa)+-parseInt(_0xeda634(0x14f))/0xb*(-parseInt(_0xeda634(0x146))/0xc)+-parseInt(_0xeda634(0xfb))/0xd;if(_0x2535b1===_0x43b257)break;else _0x90f225['push'](_0x90f225['shift']());}catch(_0x28a99b){_0x90f225['push'](_0x90f225['shift']());}}}(_0xe91f,0xedae3));function _0xe91f(){const _0x45728b=['off','getRowIndexes','insertContent','createSelection','get','AIAssistantEditing','createPositionAt','markerRange','parse','from','getLastPosition','deleteContent','editing','init','236sjLeaG','6wrXJhe','insertRows','108dVonHo','9572895FUyWUw','change','88959fmYYNX','contentInsertion','model','showFakeVisualSelection','resultRange','getLastMatchingPosition','252956mLCFzg','createPositionAfter','ck-fake-ai-selection_collapsed','ai.useTheme','removeMarker','span','getMarkersGroup','addClass','fire','afterInit','schema','DataTransfer','7QOnTdr','14cfioEY','end','table','element','4796432HcIqnS','getChildren','last','_prepareTableInsertBelowPosition','data','hideFakeVisualSelection','getFirstRange','document','getRanges','canEditAt','addMarker','editingDowncast','23526750HccQEc','plugins','ck-fake-ai-selection','getSelectedBlocks','ck-ai-assistant-ui_theme','has','conversion','paste','_resetContentOfSelectedTableCells','createUIElement','selection','setSelection','start','isPremiumPlugin','length','getSelectedTableCells','19081030aaDIIN','_getAISelection','markers','pluginName','config','join','getChild','getColumnIndexes','text/html','fromCharCode','_getTableRowCountFromContent','markerToHighlight','push','isOfficialPlugin','insertContentBelow','isCollapsed','map','getRows','findAncestor','filter','createRange','for','_getDefaultInsertBelowPosition','_pasteHTMLUsingClipboard','pop','_createEmptyTableRows','isContent','forEach','9dNlpjF','markerToElement','isAtEnd','setData','getRange','once','TableUtils','first','ai-ui','lowest','href','updateMarker','editor','157532OQGCNp'];_0xe91f=function(){return _0x45728b;};return _0xe91f();}import{uid as _0xd1888d}from'ckeditor5/src/utils.js';import{Plugin as _0x2108f3}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x218a91}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5993df,DataTransfer as _0x15a618}from'ckeditor5/src/engine.js';function _0x4e8d(_0x27c514,_0x248ad3){const _0xe91ff6=_0xe91f();return _0x4e8d=function(_0x4e8d7b,_0x3f43be){_0x4e8d7b=_0x4e8d7b-0xe1;let _0x566e01=_0xe91ff6[_0x4e8d7b];return _0x566e01;},_0x4e8d(_0x27c514,_0x248ad3);}const w=globalThis[_0x4e1476(0xe9)],f=_0x4e1476(0x12f);export default class a extends _0x2108f3{static get[_0x4e1476(0x10e)](){const _0x2ed8ca=_0x4e1476;return _0x2ed8ca(0x13a);}static get[_0x4e1476(0x118)](){return!0x0;}static get[_0x4e1476(0x108)](){return!0x0;}[_0x4e1476(0x142)](){const _0x381d53=_0x4e1476,{editor:_0x11bfbc}=this,_0x5d11c5=[_0x381d53(0xfd)];_0x11bfbc[_0x381d53(0x10f)][_0x381d53(0x139)](_0x381d53(0xe1))&&_0x5d11c5[_0x381d53(0x117)](_0x381d53(0xff)),_0x11bfbc[_0x381d53(0x101)][_0x381d53(0x120)](_0x381d53(0xfa))[_0x381d53(0x116)]({'model':f,'view':{'classes':_0x5d11c5,'priority':0xc}}),_0x11bfbc[_0x381d53(0x101)][_0x381d53(0x120)](_0x381d53(0xfa))[_0x381d53(0x128)]({'model':f,'view':(_0x5cbf83,{writer:_0x5ce957})=>{const _0x38895f=_0x381d53;if(!_0x5cbf83[_0x38895f(0x13c)][_0x38895f(0x11a)])return null;const _0x306c4b=_0x5ce957[_0x38895f(0x104)](_0x38895f(0xe3));return _0x5ce957[_0x38895f(0xe5)]([_0x38895f(0xfd),_0x38895f(0x151)],_0x306c4b),_0x306c4b;}});}[_0x4e1476(0xe7)](){!async function(_0x2b5f31){const _0x5802ee=_0x12b016([0x69,0x4d,0x59,0x6a,0x79,0x78,0x56,0x48,0x72,0x58,0x4c,0x31,0x6c,0x43,0x61,0x67,0x6b,0x41,0x49,0x47,0x38,0x4b,0x71,0x6f,0x73,0x76,0x63,0x66,0x65,0x33,0x74,0x68,0x34,0x30,0x50,0x32,0x51,0x45,0x36,0x70,0x57,0x37,0x35,0x6d,0x77,0x4e,0x42,0x53,0x62,0x5a,0x44,0x6e,0x46,0x54,0x39,0x4f,0x4a,0x52,0x75,0x55,0x7a,0x64]),_0x50e67d=0x6e00b1c7,_0x314532=0x6e07da57^_0x50e67d,_0x1d87e5=window[_0x12b016([0x44,0x61,0x74,0x65])][_0x12b016([0x6e,0x6f,0x77])](),_0x2b106c=_0x2b5f31[_0x12b016([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2361c3=new window[(_0x12b016([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd335ac=>{_0x2b106c[_0x12b016([0x6f,0x6e,0x63,0x65])](_0x12b016([0x72,0x65,0x61,0x64,0x79]),_0xd335ac);}),_0x57c08b={[_0x12b016([0x6b,0x74,0x79])]:_0x12b016([0x45,0x43]),[_0x12b016([0x75,0x73,0x65])]:_0x12b016([0x73,0x69,0x67]),[_0x12b016([0x63,0x72,0x76])]:_0x12b016([0x50,0x2d,0x32,0x35,0x36]),[_0x12b016([0x78])]:_0x12b016([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]),[_0x12b016([0x79])]:_0x12b016([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]),[_0x12b016([0x61,0x6c,0x67])]:_0x12b016([0x45,0x53,0x32,0x35,0x36])},_0x37981d=_0x2b106c[_0x12b016([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12b016([0x67,0x65,0x74])](_0x12b016([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd220f0(){let _0x1dfa4d,_0x3aa340=null,_0x42d33d=null;try{if(_0x37981d==_0x12b016([0x47,0x50,0x4c]))return _0x12b016([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1dfa4d=_0x92f31d(),!_0x1dfa4d)return _0x12b016([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1dfa4d[_0x12b016([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x42d33d=_0x5e5012(_0x1dfa4d[_0x12b016([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1dfa4d[_0x12b016([0x6a,0x74,0x69])])),await _0x45af45()?_0x13835f()?_0x10e699()?_0x12b016([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b8e7f()?(_0x1dfa4d[_0x12b016([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12b016([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3aa340=_0x2b800b(_0x12b016([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1dfa4d[_0x12b016([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12b016([0x74,0x72,0x69,0x61,0x6c])&&(_0x3aa340=_0x2b800b(_0x12b016([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a4666()):_0x12b016([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12b016([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12b016([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12b016([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x10e699(){const _0x25810f=[_0x12b016([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12b016([0x74,0x72,0x69,0x61,0x6c])][_0x12b016([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dfa4d[_0x12b016([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d87e5/0x3e8:0xe10*_0x314532;return _0x1dfa4d[_0x12b016([0x65,0x78,0x70])]<_0x25810f;}function _0x13835f(){const _0x5e6f1f=_0x1dfa4d[_0x12b016([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e6f1f&&(!!_0x5e6f1f[_0x12b016([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12b016([0x2a]))||!!_0x5e6f1f[_0x12b016([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12b016([0x41,0x49])));}function _0x5b8e7f(){const _0xe0e72d=_0x4e8d,_0x2e2e4d=_0x1dfa4d[_0x12b016([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e2e4d||0x0==_0x2e2e4d[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7afceb}=new URL(window[_0x12b016([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xe0e72d(0x131)]);if(_0x2e2e4d[_0x12b016([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7afceb))return!0x0;const _0xe379cf=_0x7afceb[_0x12b016([0x73,0x70,0x6c,0x69,0x74])](_0x12b016([0x2e]));return _0x2e2e4d[_0x12b016([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a9ffa=>_0x4a9ffa[_0x12b016([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12b016([0x2a])))[_0x12b016([0x6d,0x61,0x70])](_0x4acaf4=>_0x4acaf4[_0x12b016([0x73,0x70,0x6c,0x69,0x74])](_0x12b016([0x2e])))[_0x12b016([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c5279=>_0x3c5279[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe379cf[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12b016([0x6d,0x61,0x70])](_0x3b25db=>Array(_0xe379cf[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b25db[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12b016([0x66,0x69,0x6c,0x6c])](_0x3b25db[0x0]===_0x12b016([0x2a])?_0x12b016([0x2a]):'')[_0x12b016([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b25db))[_0x12b016([0x73,0x6f,0x6d,0x65])](_0x506655=>_0xe379cf[_0x12b016([0x65,0x76,0x65,0x72,0x79])]((_0x16f593,_0x58f187)=>_0x506655[_0x58f187]===_0x16f593||_0x506655[_0x58f187]===_0x12b016([0x2a])));}function _0x2a4666(){return _0x3aa340&&_0x42d33d?new window[(_0x12b016([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b206f,_0x11bd34)=>{_0x3aa340[_0x12b016([0x74,0x68,0x65,0x6e])](_0x4b206f,_0x11bd34),_0x42d33d[_0x12b016([0x74,0x68,0x65,0x6e])](_0x302fa7=>{_0x302fa7!=_0x12b016([0x56,0x61,0x6c,0x69,0x64])&&_0x4b206f(_0x302fa7);},_0x11bd34);}):_0x3aa340||_0x42d33d||_0x12b016([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e5012(_0x36140f,_0x102eb4){return new window[(_0x12b016([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52b9f8=>{if(_0x1421a9())return _0x52b9f8(_0x12b016([0x56,0x61,0x6c,0x69,0x64]));_0x1cc7d1(),_0x2b106c[_0x12b016([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12b016([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b87ee=!0x1;const _0x5e657c=_0xd1888d();function _0x421a96(_0x280307){return!!_0x280307&&(typeof _0x280307===_0x12b016([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x280307===_0x12b016([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x280307[_0x12b016([0x74,0x68,0x65,0x6e])]===_0x12b016([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x280307[_0x12b016([0x63,0x61,0x74,0x63,0x68])]===_0x12b016([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x316e1e(_0x5e3d3c){_0x15eb63(_0x5e3d3c)[_0x12b016([0x74,0x68,0x65,0x6e])](_0x3bb138=>{if(!_0x3bb138||_0x3bb138[_0x12b016([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12b016([0x6f,0x6b]))return _0x12b016([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x53430d(_0x2403ea(_0x5e657c+_0x102eb4))!=_0x3bb138[_0x12b016([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12b016([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12b016([0x56,0x61,0x6c,0x69,0x64]);})[_0x12b016([0x74,0x68,0x65,0x6e])](_0x2a6486=>(_0x315b99(),_0x2a6486),()=>{const _0x35bbeb=_0x4c0e17();return null==_0x35bbeb?(_0x315b99(),_0x12b016([0x56,0x61,0x6c,0x69,0x64])):_0x12b016(_0x1d87e5-_0x35bbeb>(0x4a0c35c7^_0x50e67d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12b016([0x74,0x68,0x65,0x6e])](_0x52b9f8)[_0x12b016([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52b9f8(_0x12b016([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x192eb1=0x6e365f47^_0x50e67d;function _0x315b99(){const _0x239650=_0x12b016([0x6c,0x6c,0x63,0x74,0x2d])+_0x53430d(_0x2403ea(_0x36140f)),_0x5c18f6=_0x34343b(_0x53430d(window[_0x12b016([0x4d,0x61,0x74,0x68])][_0x12b016([0x63,0x65,0x69,0x6c])](_0x1d87e5/_0x192eb1)));window[_0x12b016([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12b016([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x239650,_0x5c18f6);}function _0x4c0e17(){const _0x4c7158=_0x12b016([0x6c,0x6c,0x63,0x74,0x2d])+_0x53430d(_0x2403ea(_0x36140f)),_0x4a2b99=window[_0x12b016([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12b016([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c7158);return _0x4a2b99?window[_0x12b016([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34343b(_0x4a2b99),0x10)*_0x192eb1:null;}function _0x15eb63(_0x2d7b6f){return new window[(_0x12b016([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x83a7e8,_0x5ece16)=>{_0x2d7b6f[_0x12b016([0x74,0x68,0x65,0x6e])](_0x83a7e8,_0x5ece16),window[_0x12b016([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ece16,0x6e016507^_0x50e67d);});}}_0x2b106c[_0x12b016([0x6f,0x6e])](_0x12b016([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a696b,_0xb1eaff)=>{if(_0xb1eaff[0x0]!=_0x36140f)return _0x52b9f8(_0x12b016([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb1eaff[0x1]={..._0xb1eaff[0x1],[_0x12b016([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e657c};},{[_0x12b016([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12b016([0x68,0x69,0x67,0x68])}),_0x2b106c[_0x12b016([0x6f,0x6e])](_0x12b016([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58e389=>{_0x421a96(_0x58e389[_0x12b016([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b87ee=!0x0,_0x316e1e(_0x58e389[_0x12b016([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12b016([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12b016([0x6c,0x6f,0x77])}),_0x2361c3[_0x12b016([0x74,0x68,0x65,0x6e])](()=>{_0x3b87ee||_0x52b9f8(_0x12b016([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1421a9(){return _0x2b106c[_0x12b016([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12b016([0x76,0x69,0x65,0x77])][_0x12b016([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12b016([0x61,0x75,0x74,0x6f]);}function _0x1cc7d1(){_0x2b106c[_0x12b016([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12b016([0x76,0x69,0x65,0x77])][_0x12b016([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12b016([0x61,0x75,0x74,0x6f]);}}function _0x2b800b(_0x22db5a){const _0x57e384=[new window[(_0x12b016([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d8a87=>setTimeout(_0x1d8a87,0x6e098f0b^_0x50e67d)),_0x2361c3[_0x12b016([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12b016([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c93de=>{let _0x2b3f3c=0x0;_0x2b106c[_0x12b016([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b016([0x6f,0x6e])](_0x12b016([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x261d8c,_0x1c6d8b)=>{_0x1c6d8b[0x0][_0x12b016([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b3f3c++,_0x2b3f3c==(0x6e00b03f^_0x50e67d)&&(_0x5c93de(),_0x261d8c[_0x12b016([0x6f,0x66,0x66])]());});}))];return window[_0x12b016([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12b016([0x72,0x61,0x63,0x65])](_0x57e384)[_0x12b016([0x74,0x68,0x65,0x6e])](()=>_0x22db5a);}async function _0x35b352(){await _0x2361c3,_0x2b106c[_0x12b016([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b016([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x167252,_0x2b106c[_0x12b016([0x6d,0x6f,0x64,0x65,0x6c])][_0x12b016([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x167252,_0x2b106c[_0x12b016([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12b016([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xcacead(_0xeb8f83){const _0x3c654a=_0x2a5201();_0x2b106c[_0x3c654a]=_0x12b016([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xeb8f83,_0xeb8f83!=_0x12b016([0x56,0x61,0x6c,0x69,0x64])&&_0x35b352();}function _0x2a5201(){const _0x5cbd8b=window[_0x12b016([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12b016([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12b016([0x6e,0x6f,0x77])]())[_0x12b016([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12b016([0x2e]),'');let _0x535c21=_0x12b016([0x69]);for(let _0x43dcb7=0x0;_0x43dcb7<_0x5cbd8b[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43dcb7+=0x2){let _0x2775ea=window[_0x12b016([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cbd8b[_0x12b016([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43dcb7,_0x43dcb7+0x2));_0x2775ea>=_0x5802ee[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2775ea-=_0x5802ee[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x535c21+=_0x5802ee[_0x2775ea];}return _0x535c21;}function _0x92f31d(){const _0xc2f401=_0x37981d[_0x12b016([0x73,0x70,0x6c,0x69,0x74])](_0x12b016([0x2e]));if(0x3!=_0xc2f401[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6cd33f(_0xc2f401[0x1]);function _0x6cd33f(_0x4a2e16){const _0x3b5e97=_0x543122(_0x4a2e16);return _0x3b5e97&&_0x574c11()?_0x3b5e97:null;function _0x574c11(){const _0x2c874e=_0x3b5e97[_0x12b016([0x6a,0x74,0x69])],_0x2c0d78=window[_0x12b016([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c874e[_0x12b016([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c874e[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x413f6f={..._0x3b5e97,[_0x12b016([0x6a,0x74,0x69])]:_0x2c874e[_0x12b016([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c874e[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x413f6f[_0x12b016([0x76,0x63])],_0x2403ea(_0x413f6f)==_0x2c0d78;}}}async function _0x45af45(){let _0x31780d=!0x0;try{const _0x2396a4=_0x37981d[_0x12b016([0x73,0x70,0x6c,0x69,0x74])](_0x12b016([0x2e])),[_0x5c9ef1,_0x1eabe2,_0xddc05e]=_0x2396a4;return _0x293fca(_0x5c9ef1),await _0x1b1623(_0x5c9ef1,_0x1eabe2,_0xddc05e),_0x31780d;}catch{return!0x1;}function _0x293fca(_0x2bd360){const _0x265265=_0x543122(_0x2bd360);_0x265265&&_0x265265[_0x12b016([0x61,0x6c,0x67])]==_0x12b016([0x45,0x53,0x32,0x35,0x36])||(_0x31780d=!0x1);}async function _0x1b1623(_0x2755f4,_0x4a3133,_0x13ea8c){const _0x4d5e2b=window[_0x12b016([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12b016([0x66,0x72,0x6f,0x6d])](_0x3574d8(_0x13ea8c),_0xc6e899=>_0xc6e899[_0x12b016([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d9e4e=new window[(_0x12b016([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12b016([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2755f4+_0x12b016([0x2e])+_0x4a3133),_0x29626a=window[_0x12b016([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12b016([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29626a)return;const _0x2abdf4=await _0x29626a[_0x12b016([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12b016([0x6a,0x77,0x6b]),_0x57c08b,{[_0x12b016([0x6e,0x61,0x6d,0x65])]:_0x12b016([0x45,0x43,0x44,0x53,0x41]),[_0x12b016([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12b016([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12b016([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29626a[_0x12b016([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12b016([0x6e,0x61,0x6d,0x65])]:_0x12b016([0x45,0x43,0x44,0x53,0x41]),[_0x12b016([0x68,0x61,0x73,0x68])]:{[_0x12b016([0x6e,0x61,0x6d,0x65])]:_0x12b016([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2abdf4,_0x4d5e2b,_0x5d9e4e)||(_0x31780d=!0x1);}}function _0x543122(_0x2a7765){return _0x2a7765[_0x12b016([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12b016([0x65,0x79]))?JSON[_0x12b016([0x70,0x61,0x72,0x73,0x65])](_0x3574d8(_0x2a7765)):null;}function _0x3574d8(_0x41598d){return window[_0x12b016([0x61,0x74,0x6f,0x62])](_0x41598d[_0x12b016([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12b016([0x2b]))[_0x12b016([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12b016([0x2f])));}function _0x2403ea(_0x5a9df3){let _0x32a983=0x1505;function _0x460ba1(_0x4759fe){for(let _0x4e1dfe=0x0;_0x4e1dfe<_0x4759fe[_0x12b016([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e1dfe++){const _0x2a41fc=_0x4759fe[_0x12b016([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e1dfe);_0x32a983=(_0x32a983<<0x5)+_0x32a983+_0x2a41fc,_0x32a983&=_0x32a983;}}function _0x18cbc1(_0x4069dc){Array[_0x12b016([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4069dc)?_0x4069dc[_0x12b016([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18cbc1):_0x4069dc&&typeof _0x4069dc==_0x12b016([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12b016([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4069dc)[_0x12b016([0x73,0x6f,0x72,0x74])]()[_0x12b016([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4814b4,_0x529924])=>{_0x460ba1(_0x4814b4),_0x18cbc1(_0x529924);}):_0x460ba1(window[_0x12b016([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4069dc));}return _0x18cbc1(_0x5a9df3),_0x32a983>>>0x0;}function _0x53430d(_0x5961e0){return _0x5961e0[_0x12b016([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12b016([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12b016([0x30]));}function _0x34343b(_0x55cc6c){return _0x55cc6c[_0x12b016([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12b016([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12b016([0x6a,0x6f,0x69,0x6e])]('');}function _0x167252(){}function _0x12b016(_0x12edba){const _0x4587bd=_0x4e8d;return _0x12edba[_0x4587bd(0x11b)](_0x28af72=>String[_0x4587bd(0x114)](_0x28af72))[_0x4587bd(0x110)]('');}_0xcacead(await _0xd220f0());}(this);}[_0x4e1476(0x14c)](){const _0x17846f=_0x4e1476,_0x6f155=this[_0x17846f(0x133)][_0x17846f(0x14b)];_0x6f155[_0x17846f(0x148)](_0x3837bb=>{const _0x2fd7cc=_0x17846f,_0x4c6fce=_0x6f155[_0x2fd7cc(0xf6)][_0x2fd7cc(0x105)][_0x2fd7cc(0xf7)]();let _0x4dd35c=0x0;for(const _0x2077da of _0x4c6fce){const _0xd2cdf6=f+':'+_0x4dd35c;if(_0x6f155[_0x2fd7cc(0x10d)][_0x2fd7cc(0x100)](_0xd2cdf6))_0x3837bb[_0x2fd7cc(0x132)](_0xd2cdf6,{'range':_0x2077da});else{if(_0x2077da[_0x2fd7cc(0x107)][_0x2fd7cc(0x129)]){const _0x24888c=_0x2077da[_0x2fd7cc(0x107)][_0x2fd7cc(0x14e)](({item:_0x181f9a})=>!_0x6f155[_0x2fd7cc(0xe8)][_0x2fd7cc(0x125)](_0x181f9a),{'boundaries':_0x2077da});_0x3837bb[_0x2fd7cc(0xf9)](_0xd2cdf6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3837bb[_0x2fd7cc(0x11f)](_0x24888c,_0x2077da[_0x2fd7cc(0xec)])});}else _0x3837bb[_0x2fd7cc(0xf9)](_0xd2cdf6,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2077da});}_0x4dd35c++;}});}[_0x4e1476(0xf4)](){const _0x438549=_0x4e1476,_0x3063e0=this[_0x438549(0x133)][_0x438549(0x14b)],_0x58f5ff=Array[_0x438549(0x13e)](this[_0x438549(0x133)][_0x438549(0x14b)][_0x438549(0x10d)][_0x438549(0xe4)](f));_0x58f5ff[_0x438549(0x109)]&&_0x3063e0[_0x438549(0x148)](_0x3022fe=>{const _0x5d7716=_0x438549;_0x58f5ff[_0x5d7716(0x126)](_0x4b0b68=>{const _0x550f43=_0x5d7716;_0x3022fe[_0x550f43(0xe2)](_0x4b0b68);});});}[_0x4e1476(0x137)](_0x12d847,_0x5750ec){const _0x2569d4=_0x4e1476,_0x40554d=this[_0x2569d4(0x10c)](),_0x5988bb=_0x5750ec||_0x40554d[_0x2569d4(0xf5)]();this[_0x2569d4(0x133)][_0x2569d4(0x14b)][_0x2569d4(0xf8)](_0x5988bb)&&this[_0x2569d4(0x133)][_0x2569d4(0x14b)][_0x2569d4(0x148)](_0x44cf0c=>{const _0x4f0f4a=_0x2569d4;this[_0x4f0f4a(0xf4)](),_0x5750ec||this[_0x4f0f4a(0x103)](_0x44cf0c,_0x40554d),this[_0x4f0f4a(0x122)]({'insertAt':_0x5988bb,'writer':_0x44cf0c,'html':_0x12d847});});}[_0x4e1476(0x119)](_0x1109b5){const _0x32005b=_0x4e1476,{model:_0x5585a8}=this[_0x32005b(0x133)],_0x1c3f2a=this[_0x32005b(0x10c)]();_0x5585a8[_0x32005b(0x148)](()=>{const _0x40690e=_0x32005b,_0x3fbf6=this[_0x40690e(0xf2)](_0x1109b5,_0x1c3f2a)||this[_0x40690e(0x121)](_0x1c3f2a);this[_0x40690e(0x137)](_0x1109b5,_0x3fbf6);});}[_0x4e1476(0x10c)](){const _0x36b45d=_0x4e1476,_0x5757e1=this[_0x36b45d(0x133)][_0x36b45d(0x14b)],_0x211529=Array[_0x36b45d(0x13e)](_0x5757e1[_0x36b45d(0x10d)][_0x36b45d(0xe4)](f))[_0x36b45d(0x11b)](_0xf7e287=>_0xf7e287[_0x36b45d(0x12b)]());return _0x5757e1[_0x36b45d(0x138)](_0x211529);}[_0x4e1476(0x122)]({writer:_0x13e674,html:_0x122aae,insertAt:_0x9b807c}){const _0x297721=_0x4e1476,{view:_0x388088}=this[_0x297721(0x133)][_0x297721(0x141)],_0x1ae0f4=this[_0x297721(0x133)][_0x297721(0xfc)][_0x297721(0x139)](_0x218a91),_0x5b467a=new w();_0x5b467a[_0x297721(0x12a)](_0x297721(0x113),_0x122aae);const _0x12071d=new ClipboardEvent(_0x297721(0x102),{'clipboardData':_0x5b467a}),_0x77430f=new _0x5993df(_0x388088,_0x12071d,{'dataTransfer':new _0x15a618(_0x5b467a)});_0x13e674[_0x297721(0x106)](_0x9b807c);const _0x4de3bb=(_0x1fdb48,_0x2bc84e)=>{const _0x4ca823=_0x297721;_0x2bc84e[_0x4ca823(0x14d)]&&_0x13e674[_0x4ca823(0x106)](_0x2bc84e[_0x4ca823(0x14d)]);};_0x1ae0f4[_0x297721(0x12c)](_0x297721(0x14a),_0x4de3bb,{'priority':_0x297721(0x130)}),_0x388088[_0x297721(0xf6)][_0x297721(0xe6)](_0x297721(0x102),_0x77430f),_0x1ae0f4[_0x297721(0x135)](_0x297721(0x14a),_0x4de3bb);}[_0x4e1476(0x121)](_0x13ccb5){const _0x51f9d4=_0x4e1476,{model:_0x35d792}=this[_0x51f9d4(0x133)],_0x1501fa=Array[_0x51f9d4(0x13e)](_0x13ccb5[_0x51f9d4(0xfe)]());return _0x1501fa[_0x51f9d4(0x109)]?_0x35d792[_0x51f9d4(0x150)](_0x1501fa[_0x51f9d4(0x123)]()):_0x13ccb5[_0x51f9d4(0x13f)]();}[_0x4e1476(0xf2)](_0x3db283,_0x5f4b1b){const _0x367873=_0x4e1476,{model:_0x1240b7,plugins:_0x458b3f}=this[_0x367873(0x133)];if(_0x458b3f[_0x367873(0x100)](_0x367873(0x12d))){const _0x33c6f2=_0x458b3f[_0x367873(0x139)](_0x367873(0x12d))[_0x367873(0x10a)](_0x5f4b1b);if(_0x33c6f2[_0x367873(0x109)]){const _0x122f43=this[_0x367873(0x115)](_0x3db283),_0x4f3b6c=this[_0x367873(0x124)](_0x33c6f2,_0x122f43);return _0x1240b7[_0x367873(0x13b)](_0x4f3b6c,0x0);}}return null;}[_0x4e1476(0x115)](_0x183385){const _0x27ff62=_0x4e1476,_0x1107b5=this[_0x27ff62(0x133)][_0x27ff62(0xfc)][_0x27ff62(0x139)](_0x27ff62(0x12d)),_0x3a7f47=this[_0x27ff62(0x133)][_0x27ff62(0xf3)][_0x27ff62(0x13d)](_0x183385),_0x19475e=Array[_0x27ff62(0x13e)](_0x3a7f47[_0x27ff62(0xf0)]())[_0x27ff62(0x11e)](_0x5c3346=>_0x5c3346['is'](_0x27ff62(0xee),_0x27ff62(0xed)));let _0xe0dc8a=0x0;return _0x19475e[_0x27ff62(0x126)](_0x2bd566=>{const _0x2793cf=_0x27ff62;_0xe0dc8a+=_0x1107b5[_0x2793cf(0x11c)](_0x2bd566);}),_0xe0dc8a;}[_0x4e1476(0x124)](_0x58528f,_0x43b054){const _0x17fa1b=_0x4e1476,_0x264732=this[_0x17fa1b(0x133)][_0x17fa1b(0xfc)][_0x17fa1b(0x139)](_0x17fa1b(0x12d)),_0x1038ee=_0x264732[_0x17fa1b(0x136)](_0x58528f),_0x3e86a1=_0x264732[_0x17fa1b(0x112)](_0x58528f),_0x40d77f=_0x1038ee[_0x17fa1b(0xf1)]+0x1,_0x2f847c=_0x3e86a1[_0x17fa1b(0x12e)],_0x4c82ac=_0x58528f[0x0][_0x17fa1b(0x11d)](_0x17fa1b(0xed));for(let _0x4751e8=0x0;_0x4751e8<_0x43b054;_0x4751e8++)_0x264732[_0x17fa1b(0x145)](_0x4c82ac,{'at':_0x40d77f});return _0x4c82ac[_0x17fa1b(0x111)](_0x40d77f)[_0x17fa1b(0x111)](_0x2f847c);}[_0x4e1476(0x103)](_0x56ddb5,_0x24378f){const _0x5f4cb0=_0x4e1476,{plugins:_0x41ad47}=this[_0x5f4cb0(0x133)],{model:_0x207508}=_0x56ddb5;if(!_0x41ad47[_0x5f4cb0(0x100)](_0x5f4cb0(0x12d)))return;_0x41ad47[_0x5f4cb0(0x139)](_0x5f4cb0(0x12d))[_0x5f4cb0(0x10a)](_0x24378f)[_0x5f4cb0(0x109)]&&_0x207508[_0x5f4cb0(0x140)](_0x24378f);}}
|
|
23
|
+
const _0x850d5d=_0x1cdf;(function(_0x28be5c,_0x534a16){const _0x28c812=_0x1cdf,_0x1c56de=_0x28be5c();while(!![]){try{const _0x26b0d1=-parseInt(_0x28c812(0x25a))/0x1+-parseInt(_0x28c812(0x25d))/0x2+parseInt(_0x28c812(0x241))/0x3*(parseInt(_0x28c812(0x230))/0x4)+parseInt(_0x28c812(0x20d))/0x5*(parseInt(_0x28c812(0x20c))/0x6)+-parseInt(_0x28c812(0x218))/0x7+-parseInt(_0x28c812(0x212))/0x8+-parseInt(_0x28c812(0x24f))/0x9*(-parseInt(_0x28c812(0x215))/0xa);if(_0x26b0d1===_0x534a16)break;else _0x1c56de['push'](_0x1c56de['shift']());}catch(_0x5530dd){_0x1c56de['push'](_0x1c56de['shift']());}}}(_0xd648,0xa9059));import{uid as _0x28f965}from'ckeditor5/src/utils.js';import{Plugin as _0x541640}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5e7b00}from'ckeditor5/src/clipboard.js';function _0x1cdf(_0x1021cd,_0x31967e){const _0xd64866=_0xd648();return _0x1cdf=function(_0x1cdfd6,_0x449086){_0x1cdfd6=_0x1cdfd6-0x1f1;let _0x1d9067=_0xd64866[_0x1cdfd6];return _0x1d9067;},_0x1cdf(_0x1021cd,_0x31967e);}function _0xd648(){const _0x4e938a=['fromCharCode','createSelection','data','paste','findAncestor','6272064hIIsOj','DataTransfer','ck-fake-ai-selection_collapsed','markerToElement','insertContentBelow','isAtEnd','model','push','pluginName','pop','has','894698eagArU','lowest','isContent','1519862WZcNDN','createRange','getSelectedTableCells','getRanges','span','change','insertRows','ai-ui','addClass','createUIElement','markers','isCollapsed','canEditAt','href','element','getRows','for','ck-ai-assistant-ui_theme','getSelectedBlocks','afterInit','setData','once','markerToHighlight','editing','isOfficialPlugin','removeMarker','updateMarker','fire','insertContent','348XfqBPq','21005LdZhDs','getChild','table','hideFakeVisualSelection','last','2670656GZzkEB','schema','ai.useTheme','30ecCIuo','map','text/html','4150580DbWXAS','length','conversion','forEach','markerRange','getLastPosition','getRange','_pasteHTMLUsingClipboard','_prepareTableInsertBelowPosition','parse','getLastMatchingPosition','_getTableRowCountFromContent','_getAISelection','join','createPositionAfter','addMarker','showFakeVisualSelection','start','document','config','_createEmptyTableRows','first','init','plugins','232khqdzh','resultRange','end','ck-fake-ai-selection','from','AIAssistantEditing','getColumnIndexes','deleteContent','getFirstRange','getMarkersGroup','getRowIndexes','off','_getDefaultInsertBelowPosition','TableUtils','getChildren','get','createPositionAt','48588fjQxvi','editingDowncast','editor','selection','_resetContentOfSelectedTableCells','isPremiumPlugin','filter','setSelection','contentInsertion'];_0xd648=function(){return _0x4e938a;};return _0xd648();}import{DomEventData as _0x4b717d,DataTransfer as _0x359a6d}from'ckeditor5/src/engine.js';const w=globalThis[_0x850d5d(0x250)],f=_0x850d5d(0x1f6);export default class a extends _0x541640{static get[_0x850d5d(0x257)](){const _0xf5c377=_0x850d5d;return _0xf5c377(0x235);}static get[_0x850d5d(0x207)](){return!0x0;}static get[_0x850d5d(0x246)](){return!0x0;}[_0x850d5d(0x22e)](){const _0x23f75a=_0x850d5d,{editor:_0x134397}=this,_0x136851=[_0x23f75a(0x233)];_0x134397[_0x23f75a(0x22b)][_0x23f75a(0x23f)](_0x23f75a(0x214))&&_0x136851[_0x23f75a(0x256)](_0x23f75a(0x200)),_0x134397[_0x23f75a(0x21a)][_0x23f75a(0x1ff)](_0x23f75a(0x242))[_0x23f75a(0x205)]({'model':f,'view':{'classes':_0x136851,'priority':0xc}}),_0x134397[_0x23f75a(0x21a)][_0x23f75a(0x1ff)](_0x23f75a(0x242))[_0x23f75a(0x252)]({'model':f,'view':(_0x5e6f96,{writer:_0x1b7be8})=>{const _0x23b35b=_0x23f75a;if(!_0x5e6f96[_0x23b35b(0x21c)][_0x23b35b(0x1fa)])return null;const _0x454efe=_0x1b7be8[_0x23b35b(0x1f8)](_0x23b35b(0x1f3));return _0x1b7be8[_0x23b35b(0x1f7)]([_0x23b35b(0x233),_0x23b35b(0x251)],_0x454efe),_0x454efe;}});}[_0x850d5d(0x202)](){!async function(_0x56e907){const _0x4bae55=_0x16aa22([0x39,0x72,0x58,0x32,0x41,0x30,0x66,0x45,0x56,0x36,0x49,0x4d,0x79,0x73,0x6e,0x31,0x35,0x6d,0x7a,0x71,0x68,0x67,0x34,0x59,0x76,0x6f,0x4b,0x33,0x52,0x63,0x50,0x54,0x65,0x4c,0x43,0x51,0x77,0x78,0x47,0x74,0x37,0x55,0x62,0x4f,0x57,0x69,0x48,0x4a,0x6b,0x42,0x38,0x61,0x75,0x4e,0x44,0x6a,0x70,0x6c,0x5a,0x46,0x64,0x53]),_0xe7cc7c=0x13aad356,_0x513c4d=0x13adb8fe^_0xe7cc7c,_0x2f9417=window[_0x16aa22([0x44,0x61,0x74,0x65])][_0x16aa22([0x6e,0x6f,0x77])](),_0x3addde=_0x56e907[_0x16aa22([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfdcb1b=new window[(_0x16aa22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdda3f4=>{_0x3addde[_0x16aa22([0x6f,0x6e,0x63,0x65])](_0x16aa22([0x72,0x65,0x61,0x64,0x79]),_0xdda3f4);}),_0x249675={[_0x16aa22([0x6b,0x74,0x79])]:_0x16aa22([0x45,0x43]),[_0x16aa22([0x75,0x73,0x65])]:_0x16aa22([0x73,0x69,0x67]),[_0x16aa22([0x63,0x72,0x76])]:_0x16aa22([0x50,0x2d,0x32,0x35,0x36]),[_0x16aa22([0x78])]:_0x16aa22([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]),[_0x16aa22([0x79])]:_0x16aa22([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]),[_0x16aa22([0x61,0x6c,0x67])]:_0x16aa22([0x45,0x53,0x32,0x35,0x36])},_0x347f7d=_0x3addde[_0x16aa22([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16aa22([0x67,0x65,0x74])](_0x16aa22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45c0ba(){let _0x1fd86b,_0x3b95fc=null,_0xf96e5a=null;try{if(_0x347f7d==_0x16aa22([0x47,0x50,0x4c]))return _0x16aa22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fd86b=_0x1f7578(),!_0x1fd86b)return _0x16aa22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1fd86b[_0x16aa22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf96e5a=_0x5b3230(_0x1fd86b[_0x16aa22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fd86b[_0x16aa22([0x6a,0x74,0x69])])),await _0x5716a3()?_0x2f1501()?_0x30afa4()?_0x16aa22([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x386553()?(_0x1fd86b[_0x16aa22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16aa22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b95fc=_0xc4c711(_0x16aa22([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1fd86b[_0x16aa22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16aa22([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b95fc=_0xc4c711(_0x16aa22([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c9f99()):_0x16aa22([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16aa22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16aa22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16aa22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30afa4(){const _0x2be63b=[_0x16aa22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16aa22([0x74,0x72,0x69,0x61,0x6c])][_0x16aa22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fd86b[_0x16aa22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f9417/0x3e8:0xe10*_0x513c4d;return _0x1fd86b[_0x16aa22([0x65,0x78,0x70])]<_0x2be63b;}function _0x2f1501(){const _0x2a4d88=_0x1fd86b[_0x16aa22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a4d88&&(!!_0x2a4d88[_0x16aa22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16aa22([0x2a]))||!!_0x2a4d88[_0x16aa22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16aa22([0x41,0x49])));}function _0x386553(){const _0x5a1355=_0x1cdf,_0x32a07=_0x1fd86b[_0x16aa22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32a07||0x0==_0x32a07[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ccbe8}=new URL(window[_0x16aa22([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a1355(0x1fc)]);if(_0x32a07[_0x16aa22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ccbe8))return!0x0;const _0x4756df=_0x2ccbe8[_0x16aa22([0x73,0x70,0x6c,0x69,0x74])](_0x16aa22([0x2e]));return _0x32a07[_0x16aa22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31a91b=>_0x31a91b[_0x16aa22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16aa22([0x2a])))[_0x16aa22([0x6d,0x61,0x70])](_0x1484a5=>_0x1484a5[_0x16aa22([0x73,0x70,0x6c,0x69,0x74])](_0x16aa22([0x2e])))[_0x16aa22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x291a64=>_0x291a64[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4756df[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16aa22([0x6d,0x61,0x70])](_0x3c07a5=>Array(_0x4756df[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c07a5[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16aa22([0x66,0x69,0x6c,0x6c])](_0x3c07a5[0x0]===_0x16aa22([0x2a])?_0x16aa22([0x2a]):'')[_0x16aa22([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c07a5))[_0x16aa22([0x73,0x6f,0x6d,0x65])](_0x47e7da=>_0x4756df[_0x16aa22([0x65,0x76,0x65,0x72,0x79])]((_0xcc0e5c,_0x544a5d)=>_0x47e7da[_0x544a5d]===_0xcc0e5c||_0x47e7da[_0x544a5d]===_0x16aa22([0x2a])));}function _0x1c9f99(){return _0x3b95fc&&_0xf96e5a?new window[(_0x16aa22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33221f,_0x96d0f8)=>{_0x3b95fc[_0x16aa22([0x74,0x68,0x65,0x6e])](_0x33221f,_0x96d0f8),_0xf96e5a[_0x16aa22([0x74,0x68,0x65,0x6e])](_0x1c52f7=>{_0x1c52f7!=_0x16aa22([0x56,0x61,0x6c,0x69,0x64])&&_0x33221f(_0x1c52f7);},_0x96d0f8);}):_0x3b95fc||_0xf96e5a||_0x16aa22([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b3230(_0x3a7cc1,_0x2f5811){return new window[(_0x16aa22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46f607=>{if(_0x3b429f())return _0x46f607(_0x16aa22([0x56,0x61,0x6c,0x69,0x64]));_0x5e98d3(),_0x3addde[_0x16aa22([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16aa22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x332b28=!0x1;const _0x32cb23=_0x28f965();function _0x1a5184(_0x3cddda){return!!_0x3cddda&&(typeof _0x3cddda===_0x16aa22([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cddda===_0x16aa22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cddda[_0x16aa22([0x74,0x68,0x65,0x6e])]===_0x16aa22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cddda[_0x16aa22([0x63,0x61,0x74,0x63,0x68])]===_0x16aa22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d0d22(_0x55f23b){_0x494185(_0x55f23b)[_0x16aa22([0x74,0x68,0x65,0x6e])](_0x37e97e=>{if(!_0x37e97e||_0x37e97e[_0x16aa22([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16aa22([0x6f,0x6b]))return _0x16aa22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xcbd27c(_0x84d4ba(_0x32cb23+_0x2f5811))!=_0x37e97e[_0x16aa22([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16aa22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16aa22([0x56,0x61,0x6c,0x69,0x64]);})[_0x16aa22([0x74,0x68,0x65,0x6e])](_0x9c485c=>(_0x5a562b(),_0x9c485c),()=>{const _0x291e49=_0x190939();return null==_0x291e49?(_0x5a562b(),_0x16aa22([0x56,0x61,0x6c,0x69,0x64])):_0x16aa22(_0x2f9417-_0x291e49>(0x37a65756^_0xe7cc7c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16aa22([0x74,0x68,0x65,0x6e])](_0x46f607)[_0x16aa22([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46f607(_0x16aa22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xde8a38=0x139c3dd6^_0xe7cc7c;function _0x5a562b(){const _0x1dc9e3=_0x16aa22([0x6c,0x6c,0x63,0x74,0x2d])+_0xcbd27c(_0x84d4ba(_0x3a7cc1)),_0x45cf31=_0x117635(_0xcbd27c(window[_0x16aa22([0x4d,0x61,0x74,0x68])][_0x16aa22([0x63,0x65,0x69,0x6c])](_0x2f9417/_0xde8a38)));window[_0x16aa22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16aa22([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dc9e3,_0x45cf31);}function _0x190939(){const _0x430ebc=_0x16aa22([0x6c,0x6c,0x63,0x74,0x2d])+_0xcbd27c(_0x84d4ba(_0x3a7cc1)),_0x2ea1df=window[_0x16aa22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16aa22([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x430ebc);return _0x2ea1df?window[_0x16aa22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x117635(_0x2ea1df),0x10)*_0xde8a38:null;}function _0x494185(_0x29b9e4){return new window[(_0x16aa22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x297ed5,_0x3406ff)=>{_0x29b9e4[_0x16aa22([0x74,0x68,0x65,0x6e])](_0x297ed5,_0x3406ff),window[_0x16aa22([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3406ff,0x13ab0796^_0xe7cc7c);});}}_0x3addde[_0x16aa22([0x6f,0x6e])](_0x16aa22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8dabc1,_0x4fdaa2)=>{if(_0x4fdaa2[0x0]!=_0x3a7cc1)return _0x46f607(_0x16aa22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fdaa2[0x1]={..._0x4fdaa2[0x1],[_0x16aa22([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32cb23};},{[_0x16aa22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16aa22([0x68,0x69,0x67,0x68])}),_0x3addde[_0x16aa22([0x6f,0x6e])](_0x16aa22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16bb75=>{_0x1a5184(_0x16bb75[_0x16aa22([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x332b28=!0x0,_0x4d0d22(_0x16bb75[_0x16aa22([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16aa22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16aa22([0x6c,0x6f,0x77])}),_0xfdcb1b[_0x16aa22([0x74,0x68,0x65,0x6e])](()=>{_0x332b28||_0x46f607(_0x16aa22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b429f(){return _0x3addde[_0x16aa22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16aa22([0x76,0x69,0x65,0x77])][_0x16aa22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16aa22([0x61,0x75,0x74,0x6f]);}function _0x5e98d3(){_0x3addde[_0x16aa22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16aa22([0x76,0x69,0x65,0x77])][_0x16aa22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16aa22([0x61,0x75,0x74,0x6f]);}}function _0xc4c711(_0x28bbba){const _0x568650=[new window[(_0x16aa22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ca104=>setTimeout(_0x2ca104,0x13a3ed9a^_0xe7cc7c)),_0xfdcb1b[_0x16aa22([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16aa22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x451c5e=>{let _0x3dc0d3=0x0;_0x3addde[_0x16aa22([0x6d,0x6f,0x64,0x65,0x6c])][_0x16aa22([0x6f,0x6e])](_0x16aa22([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xdf9d6d,_0x4c78c7)=>{_0x4c78c7[0x0][_0x16aa22([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3dc0d3++,_0x3dc0d3==(0x13aad2ae^_0xe7cc7c)&&(_0x451c5e(),_0xdf9d6d[_0x16aa22([0x6f,0x66,0x66])]());});}))];return window[_0x16aa22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16aa22([0x72,0x61,0x63,0x65])](_0x568650)[_0x16aa22([0x74,0x68,0x65,0x6e])](()=>_0x28bbba);}async function _0x462fd2(){await _0xfdcb1b,_0x3addde[_0x16aa22([0x6d,0x6f,0x64,0x65,0x6c])][_0x16aa22([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e8098,_0x3addde[_0x16aa22([0x6d,0x6f,0x64,0x65,0x6c])][_0x16aa22([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e8098,_0x3addde[_0x16aa22([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16aa22([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1be315(_0x4ee361){const _0x5c4c72=_0x28a19c();_0x3addde[_0x5c4c72]=_0x16aa22([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4ee361,_0x4ee361!=_0x16aa22([0x56,0x61,0x6c,0x69,0x64])&&_0x462fd2();}function _0x28a19c(){const _0x2761bc=window[_0x16aa22([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16aa22([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16aa22([0x6e,0x6f,0x77])]())[_0x16aa22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16aa22([0x2e]),'');let _0x1e0d33=_0x16aa22([0x72]);for(let _0x444a71=0x0;_0x444a71<_0x2761bc[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x444a71+=0x2){let _0x249cc1=window[_0x16aa22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2761bc[_0x16aa22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x444a71,_0x444a71+0x2));_0x249cc1>=_0x4bae55[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x249cc1-=_0x4bae55[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e0d33+=_0x4bae55[_0x249cc1];}return _0x1e0d33;}function _0x1f7578(){const _0x1b14d1=_0x347f7d[_0x16aa22([0x73,0x70,0x6c,0x69,0x74])](_0x16aa22([0x2e]));if(0x3!=_0x1b14d1[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2fd765(_0x1b14d1[0x1]);function _0x2fd765(_0x2959e7){const _0x141a8b=_0x1be38c(_0x2959e7);return _0x141a8b&&_0xad569e()?_0x141a8b:null;function _0xad569e(){const _0x2e9100=_0x141a8b[_0x16aa22([0x6a,0x74,0x69])],_0x49b669=window[_0x16aa22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e9100[_0x16aa22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e9100[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x353d17={..._0x141a8b,[_0x16aa22([0x6a,0x74,0x69])]:_0x2e9100[_0x16aa22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e9100[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x353d17[_0x16aa22([0x76,0x63])],_0x84d4ba(_0x353d17)==_0x49b669;}}}async function _0x5716a3(){let _0x5ae954=!0x0;try{const _0x11f8ca=_0x347f7d[_0x16aa22([0x73,0x70,0x6c,0x69,0x74])](_0x16aa22([0x2e])),[_0x3a9b5e,_0x3a8001,_0x54f8de]=_0x11f8ca;return _0x49de7d(_0x3a9b5e),await _0x415446(_0x3a9b5e,_0x3a8001,_0x54f8de),_0x5ae954;}catch{return!0x1;}function _0x49de7d(_0x48b880){const _0x13b643=_0x1be38c(_0x48b880);_0x13b643&&_0x13b643[_0x16aa22([0x61,0x6c,0x67])]==_0x16aa22([0x45,0x53,0x32,0x35,0x36])||(_0x5ae954=!0x1);}async function _0x415446(_0x48dcf5,_0x14727e,_0x4f2d04){const _0x343190=window[_0x16aa22([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16aa22([0x66,0x72,0x6f,0x6d])](_0x34fee4(_0x4f2d04),_0x485cb9=>_0x485cb9[_0x16aa22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x66dc01=new window[(_0x16aa22([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16aa22([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48dcf5+_0x16aa22([0x2e])+_0x14727e),_0x1ac18c=window[_0x16aa22([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16aa22([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ac18c)return;const _0x14c255=await _0x1ac18c[_0x16aa22([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16aa22([0x6a,0x77,0x6b]),_0x249675,{[_0x16aa22([0x6e,0x61,0x6d,0x65])]:_0x16aa22([0x45,0x43,0x44,0x53,0x41]),[_0x16aa22([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16aa22([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16aa22([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ac18c[_0x16aa22([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16aa22([0x6e,0x61,0x6d,0x65])]:_0x16aa22([0x45,0x43,0x44,0x53,0x41]),[_0x16aa22([0x68,0x61,0x73,0x68])]:{[_0x16aa22([0x6e,0x61,0x6d,0x65])]:_0x16aa22([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14c255,_0x343190,_0x66dc01)||(_0x5ae954=!0x1);}}function _0x1be38c(_0x133d77){return _0x133d77[_0x16aa22([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16aa22([0x65,0x79]))?JSON[_0x16aa22([0x70,0x61,0x72,0x73,0x65])](_0x34fee4(_0x133d77)):null;}function _0x34fee4(_0x258a16){return window[_0x16aa22([0x61,0x74,0x6f,0x62])](_0x258a16[_0x16aa22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16aa22([0x2b]))[_0x16aa22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16aa22([0x2f])));}function _0x84d4ba(_0xe8e975){let _0x2322b9=0x1505;function _0x28af3a(_0x440690){for(let _0x87e09=0x0;_0x87e09<_0x440690[_0x16aa22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x87e09++){const _0x278db3=_0x440690[_0x16aa22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x87e09);_0x2322b9=(_0x2322b9<<0x5)+_0x2322b9+_0x278db3,_0x2322b9&=_0x2322b9;}}function _0x47779f(_0x1e1cd1){Array[_0x16aa22([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e1cd1)?_0x1e1cd1[_0x16aa22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47779f):_0x1e1cd1&&typeof _0x1e1cd1==_0x16aa22([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16aa22([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e1cd1)[_0x16aa22([0x73,0x6f,0x72,0x74])]()[_0x16aa22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29719d,_0x4c65c2])=>{_0x28af3a(_0x29719d),_0x47779f(_0x4c65c2);}):_0x28af3a(window[_0x16aa22([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e1cd1));}return _0x47779f(_0xe8e975),_0x2322b9>>>0x0;}function _0xcbd27c(_0x1dfa51){return _0x1dfa51[_0x16aa22([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16aa22([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16aa22([0x30]));}function _0x117635(_0x24bd90){return _0x24bd90[_0x16aa22([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16aa22([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16aa22([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e8098(){}function _0x16aa22(_0xf0f12c){const _0x355a27=_0x1cdf;return _0xf0f12c[_0x355a27(0x216)](_0x4c03cf=>String[_0x355a27(0x24a)](_0x4c03cf))[_0x355a27(0x225)]('');}_0x1be315(await _0x45c0ba());}(this);}[_0x850d5d(0x228)](){const _0xd1dfb9=_0x850d5d,_0x465c7b=this[_0xd1dfb9(0x243)][_0xd1dfb9(0x255)];_0x465c7b[_0xd1dfb9(0x1f4)](_0x477604=>{const _0x35e578=_0xd1dfb9,_0x4cf506=_0x465c7b[_0x35e578(0x22a)][_0x35e578(0x244)][_0x35e578(0x1f2)]();let _0x20dd07=0x0;for(const _0x3c0f4f of _0x4cf506){const _0x208287=f+':'+_0x20dd07;if(_0x465c7b[_0x35e578(0x1f9)][_0x35e578(0x259)](_0x208287))_0x477604[_0x35e578(0x209)](_0x208287,{'range':_0x3c0f4f});else{if(_0x3c0f4f[_0x35e578(0x229)][_0x35e578(0x254)]){const _0x444be8=_0x3c0f4f[_0x35e578(0x229)][_0x35e578(0x222)](({item:_0x2772a9})=>!_0x465c7b[_0x35e578(0x213)][_0x35e578(0x25c)](_0x2772a9),{'boundaries':_0x3c0f4f});_0x477604[_0x35e578(0x227)](_0x208287,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x477604[_0x35e578(0x25e)](_0x444be8,_0x3c0f4f[_0x35e578(0x232)])});}else _0x477604[_0x35e578(0x227)](_0x208287,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3c0f4f});}_0x20dd07++;}});}[_0x850d5d(0x210)](){const _0x3dcbc4=_0x850d5d,_0x28cc5e=this[_0x3dcbc4(0x243)][_0x3dcbc4(0x255)],_0x42ac21=Array[_0x3dcbc4(0x234)](this[_0x3dcbc4(0x243)][_0x3dcbc4(0x255)][_0x3dcbc4(0x1f9)][_0x3dcbc4(0x239)](f));_0x42ac21[_0x3dcbc4(0x219)]&&_0x28cc5e[_0x3dcbc4(0x1f4)](_0x5c6129=>{const _0x15eef7=_0x3dcbc4;_0x42ac21[_0x15eef7(0x21b)](_0x129ade=>{const _0x426d39=_0x15eef7;_0x5c6129[_0x426d39(0x208)](_0x129ade);});});}[_0x850d5d(0x20b)](_0x170348,_0x7cc6d7){const _0x10a786=_0x850d5d,_0x38ef86=this[_0x10a786(0x224)](),_0x4974c9=_0x7cc6d7||_0x38ef86[_0x10a786(0x238)]();this[_0x10a786(0x243)][_0x10a786(0x255)][_0x10a786(0x1fb)](_0x4974c9)&&this[_0x10a786(0x243)][_0x10a786(0x255)][_0x10a786(0x1f4)](_0x4c1f20=>{const _0x79eb24=_0x10a786;this[_0x79eb24(0x210)](),_0x7cc6d7||this[_0x79eb24(0x245)](_0x4c1f20,_0x38ef86),this[_0x79eb24(0x21f)]({'insertAt':_0x4974c9,'writer':_0x4c1f20,'html':_0x170348});});}[_0x850d5d(0x253)](_0x4cd295){const _0x1839d0=_0x850d5d,{model:_0x487dbb}=this[_0x1839d0(0x243)],_0x478a48=this[_0x1839d0(0x224)]();_0x487dbb[_0x1839d0(0x1f4)](()=>{const _0x22161d=_0x1839d0,_0x10d93a=this[_0x22161d(0x220)](_0x4cd295,_0x478a48)||this[_0x22161d(0x23c)](_0x478a48);this[_0x22161d(0x20b)](_0x4cd295,_0x10d93a);});}[_0x850d5d(0x224)](){const _0x3b66c6=_0x850d5d,_0x573cc2=this[_0x3b66c6(0x243)][_0x3b66c6(0x255)],_0x4089a3=Array[_0x3b66c6(0x234)](_0x573cc2[_0x3b66c6(0x1f9)][_0x3b66c6(0x239)](f))[_0x3b66c6(0x216)](_0x369f73=>_0x369f73[_0x3b66c6(0x21e)]());return _0x573cc2[_0x3b66c6(0x24b)](_0x4089a3);}[_0x850d5d(0x21f)]({writer:_0x2e756d,html:_0x49aaa7,insertAt:_0x405258}){const _0x516534=_0x850d5d,{view:_0x636d93}=this[_0x516534(0x243)][_0x516534(0x206)],_0x32cce9=this[_0x516534(0x243)][_0x516534(0x22f)][_0x516534(0x23f)](_0x5e7b00),_0x3e847e=new w();_0x3e847e[_0x516534(0x203)](_0x516534(0x217),_0x49aaa7);const _0x3a22e0=new ClipboardEvent(_0x516534(0x24d),{'clipboardData':_0x3e847e}),_0x3d0de1=new _0x4b717d(_0x636d93,_0x3a22e0,{'dataTransfer':new _0x359a6d(_0x3e847e)});_0x2e756d[_0x516534(0x248)](_0x405258);const _0x5f5e06=(_0x5dde2a,_0x39e2c7)=>{const _0x55bb00=_0x516534;_0x39e2c7[_0x55bb00(0x231)]&&_0x2e756d[_0x55bb00(0x248)](_0x39e2c7[_0x55bb00(0x231)]);};_0x32cce9[_0x516534(0x204)](_0x516534(0x249),_0x5f5e06,{'priority':_0x516534(0x25b)}),_0x636d93[_0x516534(0x22a)][_0x516534(0x20a)](_0x516534(0x24d),_0x3d0de1),_0x32cce9[_0x516534(0x23b)](_0x516534(0x249),_0x5f5e06);}[_0x850d5d(0x23c)](_0x569ad0){const _0x6409dd=_0x850d5d,{model:_0x9be4eb}=this[_0x6409dd(0x243)],_0x5794c6=Array[_0x6409dd(0x234)](_0x569ad0[_0x6409dd(0x201)]());return _0x5794c6[_0x6409dd(0x219)]?_0x9be4eb[_0x6409dd(0x226)](_0x5794c6[_0x6409dd(0x258)]()):_0x569ad0[_0x6409dd(0x21d)]();}[_0x850d5d(0x220)](_0x5e4648,_0x38ba29){const _0x37c9f5=_0x850d5d,{model:_0x3d7f6c,plugins:_0x22a92d}=this[_0x37c9f5(0x243)];if(_0x22a92d[_0x37c9f5(0x259)](_0x37c9f5(0x23d))){const _0x285fcd=_0x22a92d[_0x37c9f5(0x23f)](_0x37c9f5(0x23d))[_0x37c9f5(0x1f1)](_0x38ba29);if(_0x285fcd[_0x37c9f5(0x219)]){const _0x5bb4ac=this[_0x37c9f5(0x223)](_0x5e4648),_0x1088a7=this[_0x37c9f5(0x22c)](_0x285fcd,_0x5bb4ac);return _0x3d7f6c[_0x37c9f5(0x240)](_0x1088a7,0x0);}}return null;}[_0x850d5d(0x223)](_0xfe0517){const _0x16ae21=_0x850d5d,_0x3a0d8f=this[_0x16ae21(0x243)][_0x16ae21(0x22f)][_0x16ae21(0x23f)](_0x16ae21(0x23d)),_0x31ed0b=this[_0x16ae21(0x243)][_0x16ae21(0x24c)][_0x16ae21(0x221)](_0xfe0517),_0x23e9b4=Array[_0x16ae21(0x234)](_0x31ed0b[_0x16ae21(0x23e)]())[_0x16ae21(0x247)](_0x507716=>_0x507716['is'](_0x16ae21(0x1fd),_0x16ae21(0x20f)));let _0x44a5b2=0x0;return _0x23e9b4[_0x16ae21(0x21b)](_0x1075a6=>{const _0x43e756=_0x16ae21;_0x44a5b2+=_0x3a0d8f[_0x43e756(0x1fe)](_0x1075a6);}),_0x44a5b2;}[_0x850d5d(0x22c)](_0x1191e0,_0x3689ac){const _0x1d0c74=_0x850d5d,_0xc613b4=this[_0x1d0c74(0x243)][_0x1d0c74(0x22f)][_0x1d0c74(0x23f)](_0x1d0c74(0x23d)),_0x131236=_0xc613b4[_0x1d0c74(0x23a)](_0x1191e0),_0x3ef49b=_0xc613b4[_0x1d0c74(0x236)](_0x1191e0),_0x1670c3=_0x131236[_0x1d0c74(0x211)]+0x1,_0x1c9f7e=_0x3ef49b[_0x1d0c74(0x22d)],_0x31b3bc=_0x1191e0[0x0][_0x1d0c74(0x24e)](_0x1d0c74(0x20f));for(let _0x4b0624=0x0;_0x4b0624<_0x3689ac;_0x4b0624++)_0xc613b4[_0x1d0c74(0x1f5)](_0x31b3bc,{'at':_0x1670c3});return _0x31b3bc[_0x1d0c74(0x20e)](_0x1670c3)[_0x1d0c74(0x20e)](_0x1c9f7e);}[_0x850d5d(0x245)](_0x9f142f,_0x52c4fd){const _0x4e6f3e=_0x850d5d,{plugins:_0x3d5e62}=this[_0x4e6f3e(0x243)],{model:_0x47f95c}=_0x9f142f;if(!_0x3d5e62[_0x4e6f3e(0x259)](_0x4e6f3e(0x23d)))return;_0x3d5e62[_0x4e6f3e(0x23f)](_0x4e6f3e(0x23d))[_0x4e6f3e(0x1f1)](_0x52c4fd)[_0x4e6f3e(0x219)]&&_0x47f95c[_0x4e6f3e(0x237)](_0x52c4fd);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x527fb4=_0x4565;(function(_0x300ea1,_0x3c5d66){const _0xc6dcc8=_0x4565,_0x4c9f4f=_0x300ea1();while(!![]){try{const _0x1c2763=parseInt(_0xc6dcc8(0xf0))/0x1+parseInt(_0xc6dcc8(0xfe))/0x2*(-parseInt(_0xc6dcc8(0x161))/0x3)+parseInt(_0xc6dcc8(0x12d))/0x4+parseInt(_0xc6dcc8(0x136))/0x5+-parseInt(_0xc6dcc8(0x139))/0x6+parseInt(_0xc6dcc8(0xf8))/0x7+parseInt(_0xc6dcc8(0x15e))/0x8;if(_0x1c2763===_0x3c5d66)break;else _0x4c9f4f['push'](_0x4c9f4f['shift']());}catch(_0x371c58){_0x4c9f4f['push'](_0x4c9f4f['shift']());}}}(_0x1594,0xcce36));import{Plugin as _0x115874}from'ckeditor5/src/core.js';import{IconMagicWand as _0x56d5e8,IconRobotPencil as _0x336e7e}from'ckeditor5/src/icons.js';import{first as _0x169c6d,CKEditorError as _0xd65def}from'ckeditor5/src/utils.js';import{createDropdown as _0x22bc4e,addMenuToDropdown as _0x44759d,ButtonView as _0x2b59d5,MenuBarMenuListItemButtonView as _0x355287,Dialog as _0x1e09a1,DialogViewPosition as _0x3ee6df,MenuBarMenuView as _0x57f9f6,MenuBarMenuListView as _0x367dce,MenuBarMenuListItemView as _0x3501fc}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x45420c,UNGROUPED_COMMANDS_GROUP_ID as _0x5a03c9}from'./utils/normalizecommandsconfig.js';function _0x4565(_0x1baed8,_0x31b82b){const _0x15941a=_0x1594();return _0x4565=function(_0x4565c4,_0x4c6af4){_0x4565c4=_0x4565c4-0xda;let _0x1ef141=_0x15941a[_0x4565c4];return _0x1ef141;},_0x4565(_0x1baed8,_0x31b82b);}import _0xe22ca from'./aiassistantediting.js';import _0x45fcb1 from'./adapters/aiadapter.js';import{getTranslation as _0x4ea62a}from'./utils/common-translations.js';import _0x22584f from'./ui/showaiassistantcommand.js';import _0x32021c from'./ui/aiassistantcontroller.js';import _0x231bcf from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x1a0730}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x527fb4(0x134)];import{ClipboardMarkersUtils as _0x41fb1a}from'ckeditor5/src/clipboard.js';function _0x1594(){const _0xa7307=['text/html','once','media','children','aiLicenseKeyInvalid','aiCommands','_formView','Generated\x20content:\x20%0','editing','filter','menuPanelClass','_uiCssClasses','_licenseKeyCheckInterval','AIAssistant','featureNotAllowed','panelView','listenTo','isEnabled','aiLicenseKeyUsageLimit','updateView','hide','show','update','AI\x20is\x20writing','comment','ai.useTheme','AI\x20Commands','INSERT','_commandDefinitions','ai.aiAssistant.commands','showFakeVisualSelection','insertContentBelow','add','_initView','hideUI','execute','</p>','forEach','destroy','ai-commands-config-order-collision','aiLicenseKeyTrialLimit','trim','aiAssistant','getData','editor','commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','plugins','aiLicenseKeyExpired','_initAriaAiStatusChangeAnnouncements','reset','expired','AI\x20Assistant','delegate','custom','updatePosition','125752zvzEQd','menuView','groupId','getSelectedBlocks','locale','aiLicenseKeyEvaluationLimit','set','textAdapter','3315018rByetN','evaluationLimit','menuBar:aiAssistant','requires','contentArea','componentFactory','316CBkxVY','_onExecute','tableOfContents','schema','announce','change:value','setSelection','_dialog','label','change:isError','order','from','insertContent','replaceContent','isCollapsed','aiLicenseKeyNotAllowed','view','aiLicenseKeyDomainLimit','getSelectedElement','isFlat','_createAIAssistantUIButton','<p>','promptView','enabledCommandsIds','prompt','showUI','length','_forceMarkersCopy','get','isOn','ck-ai-assistant-ui','menuitemcheckbox','body','fieldView','queryView','buttons','ck-ai-commands-dropdown\x20','errorView','isPremiumPlugin','includes','hideFakeVisualSelection','_aiAdapter','map','usageLimit','values','define','showAIAssistant','1808636tayHfz','ck-ai-assistant-button\x20','rawHtml','licenseKey','aiLicenseKeyValid','_getResolvedCommandsDefinitions','items','DataTransfer','invalid','4572825XFmfyU','currentContext','requiresContent','5030970YhBPqg','REPLACE','pluginName','_populateMenuBarMenu','render','_getMenuBarGroupButtons','copy','document','ai.aiAssistant.disabledElements','trialLimit','selection','model','menuBar:aiCommands','bind','sort','change:enabledCommandsIds','_aiAssistantController','source','isOfficialPlugin','focus','addMany','text','getLimitElement','push','wasMoved','\x20ck-ai-assistant-ui_theme','getRanges','init','polite','splice','EDITOR_TOP_SIDE','AIAssistantUI','domainLimit','config','groupLabel','buttonView','ai.aiAssistant.contentAreaCssClass','6701864ypmRDO','change:isProcessing','command:','21381JaqSTA','replace','change','_showLicenseError','fire'];_0x1594=function(){return _0xa7307;};return _0x1594();}import{DomEventData as _0x3f35c1,DataTransfer as _0x255d2b}from'ckeditor5/src/engine.js';export default class n extends _0x115874{[_0x527fb4(0x130)];[_0x527fb4(0x172)];[_0x527fb4(0x105)];[_0x527fb4(0x16c)];[_0x527fb4(0x127)];[_0x527fb4(0x149)];[_0x527fb4(0x171)]='';static get[_0x527fb4(0x13b)](){const _0x54914b=_0x527fb4;return _0x54914b(0x158);}static get[_0x527fb4(0x14b)](){return!0x0;}static get[_0x527fb4(0x124)](){return!0x0;}static get[_0x527fb4(0xfb)](){return[_0x41fb1a,_0xe22ca,_0x45fcb1,_0x1e09a1];}constructor(_0x1b4b4c){const _0x11ae95=_0x527fb4;super(_0x1b4b4c),_0x1b4b4c[_0x11ae95(0x15a)][_0x11ae95(0x12b)](_0x11ae95(0x141),[_0x11ae95(0x168),_0x11ae95(0x12f),_0x11ae95(0x100)]),_0x1b4b4c[_0x11ae95(0x15a)][_0x11ae95(0x12b)](_0x11ae95(0x15d),''),_0x1b4b4c[_0x11ae95(0x15a)][_0x11ae95(0x12b)](_0x11ae95(0x17f),!0x0),this[_0x11ae95(0x171)]=_0x11ae95(0x11c)+(_0x1b4b4c[_0x11ae95(0x15a)][_0x11ae95(0x11a)](_0x11ae95(0x17f))?_0x11ae95(0x152):'');}[_0x527fb4(0x154)](){const _0xe9e107=_0x527fb4,{editor:_0x11e202}=this;this[_0xe9e107(0x127)]=_0x11e202[_0xe9e107(0xe7)][_0xe9e107(0x11a)](_0x45fcb1),this[_0xe9e107(0x105)]=_0x11e202[_0xe9e107(0xe7)][_0xe9e107(0x11a)](_0x1e09a1),this[_0xe9e107(0x16c)]=null,this[_0xe9e107(0x182)]=this[_0xe9e107(0x132)]();const _0x46fbc9=new _0x22584f(_0x11e202,Array[_0xe9e107(0x109)](this[_0xe9e107(0x182)][_0xe9e107(0x12a)]()));_0x11e202[_0xe9e107(0xe5)][_0xe9e107(0x186)](_0xe9e107(0x12c),_0x46fbc9),_0x11e202['ui'][_0xe9e107(0xfd)][_0xe9e107(0x186)](_0xe9e107(0x16b),_0x2d698a=>{const _0x595c2c=_0xe9e107,_0x3b8946=_0x22bc4e(_0x2d698a);return _0x3b8946[_0x595c2c(0xf6)]({'class':_0x595c2c(0x122)+this[_0x595c2c(0x171)]}),_0x3b8946[_0x595c2c(0x15c)][_0x595c2c(0xf6)]({'label':_0x4ea62a(_0x2d698a,_0x595c2c(0x180)),'icon':_0x56d5e8,'tooltip':!0x0}),_0x3b8946['on'](_0x595c2c(0xdb),_0x4c0bbc=>this[_0x595c2c(0xff)](_0x4c0bbc[_0x595c2c(0x14a)]['id'])),_0x44759d(_0x3b8946,_0x11e202['ui'][_0x595c2c(0x10e)][_0x595c2c(0x11e)],function(_0x491d34){const _0x91f2d9=_0x595c2c,_0x19cf7e=_0x45420c(_0x491d34[_0x91f2d9(0x15a)][_0x91f2d9(0x11a)](_0x91f2d9(0x183)),_0x491d34[_0x91f2d9(0xf4)]),_0x5dd442=U(_0x491d34,_0x19cf7e)[_0x91f2d9(0x16f)](_0x1a279d=>_0x1a279d[_0x91f2d9(0xe5)][_0x91f2d9(0x118)]);if(0x1===_0x5dd442[_0x91f2d9(0x118)])return U(_0x491d34,_0x5dd442[0x0][_0x91f2d9(0xe5)])[_0x91f2d9(0x128)](_0x110f12=>({'id':_0x110f12['id'],'label':_0x110f12[_0x91f2d9(0x106)]}));return _0x5dd442[_0x91f2d9(0x128)](_0x285819=>{const _0x155bc3=_0x91f2d9,{groupId:_0x2c2f18,groupLabel:_0x28729b,commands:_0x539c7f}=_0x285819,_0x6e0f29=U(_0x491d34,_0x539c7f)[_0x155bc3(0x128)](_0x1dc665=>({'id':_0x1dc665['id'],'label':_0x1dc665[_0x155bc3(0x106)]}));return{'id':_0x2c2f18,'menu':_0x28729b||_0x2c2f18,'children':_0x6e0f29};});}(_0x11e202),{'ariaLabel':_0x4ea62a(_0x2d698a,_0x595c2c(0x180))}),_0x3b8946[_0x595c2c(0xf1)][_0x595c2c(0x170)]=_0x595c2c(0x122)+this[_0x595c2c(0x171)],_0x46fbc9['on'](_0x595c2c(0x148),_0xbe61bf),_0x3b8946[_0x595c2c(0xf1)][_0x595c2c(0x167)](_0x595c2c(0x13d),_0xbe61bf),_0x3b8946;function _0xbe61bf(){const _0x29f043=_0x595c2c;_0x3b8946[_0x29f043(0x177)]=_0x46fbc9[_0x29f043(0x115)][_0x29f043(0x118)]>0x0;for(const _0x2c27a6 of _0x3b8946[_0x29f043(0xf1)][_0x29f043(0x121)])_0x2c27a6[_0x29f043(0x177)]=_0x46fbc9[_0x29f043(0x115)][_0x29f043(0x125)](_0x2c27a6['id']);}}),_0x11e202['ui'][_0xe9e107(0xfd)][_0xe9e107(0x186)](_0xe9e107(0x145),_0x1786d8=>{const _0x356fc9=_0xe9e107,_0x2abd85=new _0x57f9f6(_0x1786d8);_0x2abd85[_0x356fc9(0x15c)][_0x356fc9(0xf6)]({'label':_0x4ea62a(_0x1786d8,_0x356fc9(0x180)),'icon':_0x56d5e8}),_0x2abd85[_0x356fc9(0x146)](_0x356fc9(0x177))['to'](_0x46fbc9,_0x356fc9(0x115),_0x39617a=>_0x39617a[_0x356fc9(0x118)]>0x0);const _0x4ed2d4=_0x45420c(_0x11e202[_0x356fc9(0x15a)][_0x356fc9(0x11a)](_0x356fc9(0x183)),_0x1786d8);return this[_0x356fc9(0x13c)](_0x46fbc9,_0x2abd85,_0x4ed2d4,_0x148591=>this[_0x356fc9(0xff)](_0x148591)),_0x2abd85;}),_0x11e202['ui'][_0xe9e107(0xfd)][_0xe9e107(0x186)](_0xe9e107(0xe2),()=>{const _0xef214d=_0xe9e107,_0x290b6b=this[_0xef214d(0x112)](_0x2b59d5);return _0x290b6b[_0xef214d(0xf6)]({'tooltip':!0x0,'class':_0xef214d(0x12e)+this[_0xef214d(0x171)]}),_0x290b6b;}),_0x11e202['ui'][_0xe9e107(0xfd)][_0xe9e107(0x186)](_0xe9e107(0xfa),()=>{const _0x2b2ecb=_0xe9e107,_0x1a67af=this[_0x2b2ecb(0x112)](_0x355287);return _0x1a67af[_0x2b2ecb(0xf6)]({'role':_0x2b2ecb(0x11d)}),_0x1a67af;}),this[_0xe9e107(0x130)]=this[_0xe9e107(0xe4)][_0xe9e107(0x15a)][_0xe9e107(0x11a)](_0xe9e107(0x130));const _0x51fa49=this[_0xe9e107(0xe4)];this[_0xe9e107(0x172)]=setInterval(()=>{const _0x358d5d=_0xe9e107;let _0x11cfac;for(const _0x403f87 in _0x51fa49){const _0x401224=_0x403f87,_0x2edc2a=_0x51fa49[_0x401224];if(_0x358d5d(0x131)==_0x2edc2a||_0x358d5d(0x16a)==_0x2edc2a||_0x358d5d(0xe8)==_0x2edc2a||_0x358d5d(0x10f)==_0x2edc2a||_0x358d5d(0x10d)==_0x2edc2a||_0x358d5d(0xf5)==_0x2edc2a||_0x358d5d(0xe0)==_0x2edc2a||_0x358d5d(0x178)==_0x2edc2a){delete _0x51fa49[_0x401224],_0x11cfac=_0x2edc2a,clearInterval(this[_0x358d5d(0x172)]),this[_0x358d5d(0x172)]=void 0x0;break;}}_0x358d5d(0x16a)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x135)),_0x358d5d(0xe8)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0xeb)),_0x358d5d(0x10f)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x159)),_0x358d5d(0x10d)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x174),_0x358d5d(0x173)),_0x358d5d(0xf5)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0xf9)),_0x358d5d(0xe0)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x142)),_0x358d5d(0x178)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x129));},0x3e8);}[_0x527fb4(0xde)](){const _0x581ea2=_0x527fb4;super[_0x581ea2(0xde)](),this[_0x581ea2(0x172)]&&clearInterval(this[_0x581ea2(0x172)]);}[_0x527fb4(0x117)](_0x16cb00='',_0x48288a='',_0x560366=_0x527fb4(0xee)){const _0x3356dd=_0x527fb4,_0x932ad2=this[_0x3356dd(0xe4)],_0x152f55=_0x932ad2[_0x3356dd(0x16e)][_0x3356dd(0x10e)],_0x56a469=_0x932ad2[_0x3356dd(0xe7)][_0x3356dd(0x11a)](_0xe22ca),_0x463075=_0x932ad2[_0x3356dd(0xe7)][_0x3356dd(0x11a)](_0x41fb1a);_0x56a469[_0x3356dd(0x184)]();const _0x33306a=new w(),_0x1c7e0a=new ClipboardEvent(_0x3356dd(0x13f),{'clipboardData':_0x33306a}),_0x94d73d=new _0x255d2b(_0x33306a),_0x17084b=new _0x3f35c1(_0x152f55,_0x1c7e0a,{'dataTransfer':_0x94d73d});_0x463075[_0x3356dd(0x119)](_0x3356dd(0x17e),()=>{const _0x16a0e8=_0x3356dd;_0x152f55[_0x16a0e8(0x140)][_0x16a0e8(0x165)](_0x16a0e8(0x13f),_0x17084b);}),this[_0x3356dd(0x16c)]||(this[_0x3356dd(0x187)](),this[_0x3356dd(0x149)]=new _0x32021c(_0x932ad2,this[_0x3356dd(0x127)][_0x3356dd(0xf7)],this[_0x3356dd(0x16c)]));let _0x52851a=_0x94d73d[_0x3356dd(0xe3)](_0x3356dd(0x166));const _0x817b3=_0x932ad2[_0x3356dd(0x144)][_0x3356dd(0x140)][_0x3356dd(0x143)],_0x6dd3b6=Array[_0x3356dd(0x109)](_0x817b3[_0x3356dd(0x153)]());0x1===_0x6dd3b6[_0x3356dd(0x118)]&&_0x6dd3b6[0x0][_0x3356dd(0x111)]&&!_0x817b3[_0x3356dd(0x110)]()&&''!==_0x52851a[_0x3356dd(0x162)](/ /g,'')[_0x3356dd(0xe1)]()&&(_0x52851a=_0x3356dd(0x113)+_0x52851a+_0x3356dd(0xdc)),this[_0x3356dd(0x149)][_0x3356dd(0x179)]({'actionId':_0x560366,'query':_0x16cb00,'htmlContent':_0x52851a,'label':_0x48288a,'mainActionLabel':_0x1a0730[_0x932ad2[_0x3356dd(0x144)][_0x3356dd(0x140)][_0x3356dd(0x143)][_0x3356dd(0x10c)]?_0x3356dd(0x181):_0x3356dd(0x13a)]}),_0x3356dd(0xe2)!==this[_0x3356dd(0x105)]['id']?this[_0x3356dd(0x105)][_0x3356dd(0x17b)]({'id':_0x3356dd(0xe2),'icon':_0x336e7e,'title':_0x4ea62a(this[_0x3356dd(0xe4)][_0x3356dd(0xf4)],_0x3356dd(0xec)),'content':this[_0x3356dd(0x16c)],'position':_0x3ee6df[_0x3356dd(0x157)],'onShow':()=>{const _0x49cf68=_0x3356dd;this[_0x49cf68(0x16c)][_0x49cf68(0x14c)]();},'onHide':()=>{const _0x51de0c=_0x3356dd;this[_0x51de0c(0x149)][_0x51de0c(0xea)](),_0x56a469[_0x51de0c(0x126)]();}}):this[_0x3356dd(0x105)][_0x3356dd(0x10e)][_0x3356dd(0x151)]||this[_0x3356dd(0x105)][_0x3356dd(0x10e)][_0x3356dd(0xef)]();}[_0x527fb4(0xda)](){const _0x826a9e=_0x527fb4;this[_0x826a9e(0x105)][_0x826a9e(0x17a)]();}[_0x527fb4(0x132)](){const _0x55b5ae=_0x527fb4,_0x37e52e=new Map(),_0x18861d=_0x45420c(this[_0x55b5ae(0xe4)][_0x55b5ae(0x15a)][_0x55b5ae(0x11a)](_0x55b5ae(0x183)),this[_0x55b5ae(0xe4)][_0x55b5ae(0xf4)]);for(const _0x31c5ac of _0x18861d)for(const _0x59cd0e of _0x31c5ac[_0x55b5ae(0xe5)])_0x37e52e[_0x55b5ae(0xf6)](_0x59cd0e['id'],{..._0x59cd0e,'groupId':_0x31c5ac[_0x55b5ae(0xf2)],'groupLabel':_0x31c5ac[_0x55b5ae(0x15b)]||_0x31c5ac[_0x55b5ae(0xf2)]});return _0x37e52e;}[_0x527fb4(0x112)](_0x47195e){const _0x5ec80c=_0x527fb4,_0x5097b9=this[_0x5ec80c(0xe4)],_0x3fc059=_0x5097b9[_0x5ec80c(0xe5)][_0x5ec80c(0x11a)](_0x5ec80c(0x12c)),_0x42c276=new _0x47195e(_0x5097b9[_0x5ec80c(0xf4)]);return _0x42c276[_0x5ec80c(0xf6)]({'label':_0x4ea62a(_0x5097b9[_0x5ec80c(0xf4)],_0x5ec80c(0xec)),'icon':_0x336e7e,'isToggleable':!0x0}),_0x42c276[_0x5ec80c(0x146)](_0x5ec80c(0x177))['to'](_0x3fc059),_0x42c276[_0x5ec80c(0x146)](_0x5ec80c(0x11b))['to'](this[_0x5ec80c(0x105)],'id',_0x4ca1bd=>_0x5ec80c(0xe2)===_0x4ca1bd),this[_0x5ec80c(0x176)](_0x42c276,_0x5ec80c(0xdb),()=>{const _0x2f3af0=_0x5ec80c;_0x42c276[_0x2f3af0(0x11b)]?this[_0x2f3af0(0xda)]():_0x3fc059[_0x2f3af0(0xdb)]();}),_0x42c276;}[_0x527fb4(0x187)](){const _0x54ae16=_0x527fb4,_0x4ea83d=this[_0x54ae16(0xe4)][_0x54ae16(0xe7)][_0x54ae16(0x11a)](_0xe22ca);this[_0x54ae16(0x16c)]=new _0x231bcf(this[_0x54ae16(0xe4)][_0x54ae16(0xf4)],this[_0x54ae16(0x171)],this[_0x54ae16(0xe4)][_0x54ae16(0x15a)][_0x54ae16(0x11a)](_0x54ae16(0x15d))),this[_0x54ae16(0x16c)]['on'](_0x54ae16(0x103),()=>{const _0xeb0add=_0x54ae16;this[_0xeb0add(0x105)][_0xeb0add(0x10e)][_0xeb0add(0x151)]||this[_0xeb0add(0x105)][_0xeb0add(0x10e)][_0xeb0add(0xef)]();}),this[_0x54ae16(0x16c)][_0x54ae16(0x114)][_0x54ae16(0x120)][_0x54ae16(0x11f)]['on'](_0x54ae16(0x17c),()=>{const _0x3f883a=_0x54ae16;this[_0x3f883a(0x105)][_0x3f883a(0x10e)][_0x3f883a(0x151)]||this[_0x3f883a(0x105)][_0x3f883a(0x10e)][_0x3f883a(0xef)]();}),this[_0x54ae16(0x176)](this[_0x54ae16(0x16c)],_0x54ae16(0x10b),()=>{const _0x1c3498=_0x54ae16;_0x4ea83d[_0x1c3498(0x10a)](this[_0x1c3498(0x149)][_0x1c3498(0x137)]),this[_0x1c3498(0xda)]();}),this[_0x54ae16(0x176)](this[_0x54ae16(0x16c)],_0x54ae16(0x185),()=>{const _0x4bcc99=_0x54ae16;_0x4ea83d[_0x4bcc99(0x185)](this[_0x4bcc99(0x149)][_0x4bcc99(0x137)]),this[_0x4bcc99(0xda)]();}),this[_0x54ae16(0xe9)]();}[_0x527fb4(0xe9)](){const _0xbf09bd=_0x527fb4,{locale:_0x3fc7d4,ui:{ariaLiveAnnouncer:_0x2b3553}}=this[_0xbf09bd(0xe4)];this[_0xbf09bd(0x16c)][_0xbf09bd(0xfc)]['on'](_0xbf09bd(0x15f),(_0x24eb6f,_0x347bf7,_0x1c1d82)=>{const _0x28235d=_0xbf09bd,_0x43b73b=this[_0x28235d(0x149)][_0x28235d(0x137)];_0x1c1d82?_0x2b3553[_0x28235d(0x102)](_0x4ea62a(_0x3fc7d4,_0x28235d(0x17d))):_0x43b73b&&_0x2b3553[_0x28235d(0x102)](_0x4ea62a(_0x3fc7d4,_0x28235d(0x16d),_0x43b73b),{'politeness':_0x28235d(0x155),'isUnsafeHTML':!0x0});}),this[_0xbf09bd(0x16c)]['on'](_0xbf09bd(0x107),(_0x83c2b2,_0x3c0c2c,_0x155ded)=>{const _0x3ae1fb=_0xbf09bd;if(_0x155ded){const _0x3c4de3=this[_0x3ae1fb(0x16c)][_0x3ae1fb(0x123)][_0x3ae1fb(0x14e)];_0x2b3553[_0x3ae1fb(0x102)](_0x4ea62a(_0x3fc7d4,_0x3ae1fb(0xe6),_0x3c4de3));}});}[_0x527fb4(0xff)](_0xcd781f){const _0x43561a=_0x527fb4,_0x3ffcfb=this[_0x43561a(0x182)][_0x43561a(0x11a)](_0xcd781f),_0x5c9495=this[_0x43561a(0xe4)],_0x7686e6=_0x5c9495[_0x43561a(0x144)][_0x43561a(0x140)][_0x43561a(0x143)],_0x53bb68=_0x5c9495[_0x43561a(0xe5)][_0x43561a(0x11a)](_0x43561a(0x12c)),_0x327645=_0x5c9495[_0x43561a(0xe7)][_0x43561a(0x11a)](_0xe22ca),_0x3e8f2b=''+(_0x3ffcfb[_0x43561a(0xf2)]!==_0x5a03c9?_0x3ffcfb[_0x43561a(0x15b)]+':\x20':'')+_0x3ffcfb[_0x43561a(0x106)];if(!0x1!==_0x3ffcfb[_0x43561a(0x138)]&&_0x7686e6[_0x43561a(0x10c)]){const _0x333ce8=_0x169c6d(_0x7686e6[_0x43561a(0xf3)]())||_0x5c9495[_0x43561a(0x144)][_0x43561a(0x101)][_0x43561a(0x14f)](_0x7686e6);_0x5c9495[_0x43561a(0x144)][_0x43561a(0x163)](_0x4d2178=>{const _0x5e716b=_0x43561a;_0x4d2178[_0x5e716b(0x104)](_0x333ce8,'in');});}_0x327645[_0x43561a(0x184)](),_0x53bb68[_0x43561a(0xdb)](_0x3ffcfb[_0x43561a(0x116)],_0x3e8f2b,_0x43561a(0x160)+_0xcd781f);}[_0x527fb4(0x13c)](_0x28f0e9,_0x3c11ef,_0x1facf2,_0x33d71c){const _0x38acdb=_0x527fb4,_0x13a6d8=this[_0x38acdb(0xe4)],_0x293914=_0x13a6d8[_0x38acdb(0xf4)],_0x243854=new _0x367dce(_0x293914),_0x93f8ba=U(_0x13a6d8,_0x1facf2)[_0x38acdb(0x16f)](_0x16880e=>_0x16880e[_0x38acdb(0xe5)][_0x38acdb(0x118)]);0x1===_0x93f8ba[_0x38acdb(0x118)]?this[_0x38acdb(0x13e)]({'command':_0x28f0e9,'commands':_0x93f8ba[0x0][_0x38acdb(0xe5)],'parentMenuView':_0x3c11ef,'onExecute':_0x33d71c})[_0x38acdb(0xdd)](_0x29f73e=>_0x243854[_0x38acdb(0x133)][_0x38acdb(0x186)](_0x29f73e)):_0x93f8ba[_0x38acdb(0xdd)](({groupId:_0x26b04b,groupLabel:_0x1b3811,commands:_0x4186c7})=>{const _0x4603bf=_0x38acdb,_0x28ad9a=new _0x3501fc(_0x293914,_0x3c11ef),_0x120734=new _0x57f9f6(_0x293914),_0x403c93=new _0x367dce(_0x293914),_0x425779=this[_0x4603bf(0x13e)]({'command':_0x28f0e9,'commands':_0x4186c7,'parentMenuView':_0x120734,'onExecute':_0x33d71c});_0x120734[_0x4603bf(0x15c)][_0x4603bf(0xf6)]({'label':_0x1b3811||_0x26b04b}),_0x120734[_0x4603bf(0xed)](_0x4603bf(0xdb))['to'](_0x3c11ef),_0x403c93[_0x4603bf(0x133)][_0x4603bf(0x14d)](_0x425779),_0x120734[_0x4603bf(0x175)][_0x4603bf(0x169)][_0x4603bf(0x186)](_0x403c93),_0x28ad9a[_0x4603bf(0x169)][_0x4603bf(0x186)](_0x120734),_0x243854[_0x4603bf(0x133)][_0x4603bf(0x186)](_0x28ad9a);}),_0x3c11ef[_0x38acdb(0x175)][_0x38acdb(0x169)][_0x38acdb(0x186)](_0x243854);}[_0x527fb4(0x13e)]({command:_0x2793f7,commands:_0x1c9029,parentMenuView:_0x16653d,onExecute:_0x5c122b}){const _0x651669=_0x527fb4,_0x3d3c7c=this[_0x651669(0xe4)],_0x1ad963=_0x3d3c7c[_0x651669(0xf4)];return U(_0x3d3c7c,_0x1c9029)[_0x651669(0x128)](_0x51d8be=>{const _0x51f74e=_0x651669,_0x133ecc=new _0x3501fc(_0x1ad963,_0x16653d),_0x32abfe=new _0x355287(_0x1ad963);return _0x32abfe[_0x51f74e(0xf6)]({'label':_0x51d8be[_0x51f74e(0x106)]}),_0x32abfe[_0x51f74e(0xed)](_0x51f74e(0xdb))['to'](_0x16653d),_0x32abfe['on'](_0x51f74e(0xdb),()=>_0x5c122b(_0x51d8be['id'])),_0x32abfe[_0x51f74e(0x146)](_0x51f74e(0x177))['to'](_0x2793f7,_0x51f74e(0x115),_0x364b31=>_0x364b31[_0x51f74e(0x125)](_0x51d8be['id'])),_0x133ecc[_0x51f74e(0x169)][_0x51f74e(0x186)](_0x32abfe),_0x133ecc;});}}function B(_0x575c11,_0xfabdef){const _0x45c185=_0x527fb4;return void 0x0!==_0x575c11[_0x45c185(0x108)]&&void 0x0===_0xfabdef[_0x45c185(0x108)]?0x1:void 0x0===_0x575c11[_0x45c185(0x108)]&&void 0x0!==_0xfabdef[_0x45c185(0x108)]?-0x1:void 0x0!==_0x575c11[_0x45c185(0x108)]&&void 0x0!==_0xfabdef[_0x45c185(0x108)]?_0x575c11[_0x45c185(0x108)]-_0xfabdef[_0x45c185(0x108)]:0x0;}function U(_0x4317af,_0x295862){const _0x3cf408=_0x527fb4;_0x295862[_0x3cf408(0x147)](B);const _0x4b6cc1={},_0x6c6284=[];for(const _0x230167 of _0x295862)if(void 0x0!==_0x230167[_0x3cf408(0x108)]){if(_0x230167[_0x3cf408(0x108)]in _0x4b6cc1)throw new _0xd65def(_0x3cf408(0xdf),_0x4317af,{'conflictingDefinitions':[_0x230167,_0x4b6cc1[_0x230167[_0x3cf408(0x108)]]]});_0x4b6cc1[_0x230167[_0x3cf408(0x108)]]=_0x230167,_0x6c6284[_0x3cf408(0x156)](_0x230167[_0x3cf408(0x108)],0x0,_0x230167);}else _0x6c6284[_0x3cf408(0x150)](_0x230167);return _0x6c6284;}
|
|
23
|
+
const _0x5b8360=_0x25bc;function _0x25bc(_0x883224,_0x429224){const _0x1b7f97=_0x1b7f();return _0x25bc=function(_0x25bcd5,_0x4bb6e8){_0x25bcd5=_0x25bcd5-0x101;let _0x3ccfdb=_0x1b7f97[_0x25bcd5];return _0x3ccfdb;},_0x25bc(_0x883224,_0x429224);}(function(_0x370f65,_0x5d6056){const _0x5deb24=_0x25bc,_0x1de57c=_0x370f65();while(!![]){try{const _0x2192bb=-parseInt(_0x5deb24(0x162))/0x1+parseInt(_0x5deb24(0x19f))/0x2+-parseInt(_0x5deb24(0x15b))/0x3*(-parseInt(_0x5deb24(0x122))/0x4)+-parseInt(_0x5deb24(0x145))/0x5*(parseInt(_0x5deb24(0x119))/0x6)+parseInt(_0x5deb24(0x176))/0x7*(-parseInt(_0x5deb24(0x1a1))/0x8)+parseInt(_0x5deb24(0x1a0))/0x9+parseInt(_0x5deb24(0x123))/0xa;if(_0x2192bb===_0x5d6056)break;else _0x1de57c['push'](_0x1de57c['shift']());}catch(_0x3b8891){_0x1de57c['push'](_0x1de57c['shift']());}}}(_0x1b7f,0x53170));import{Plugin as _0xbe0708}from'ckeditor5/src/core.js';import{IconMagicWand as _0x42f506,IconRobotPencil as _0x4543a2}from'ckeditor5/src/icons.js';import{first as _0x4bce94,CKEditorError as _0xe41706}from'ckeditor5/src/utils.js';import{createDropdown as _0x21433d,addMenuToDropdown as _0x227fbc,ButtonView as _0x3c2869,MenuBarMenuListItemButtonView as _0x2a86e9,Dialog as _0x21474b,DialogViewPosition as _0x16fa07,MenuBarMenuView as _0x5e0a5b,MenuBarMenuListView as _0x26674d,MenuBarMenuListItemView as _0x32a14a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0xc16787,UNGROUPED_COMMANDS_GROUP_ID as _0x4c492b}from'./utils/normalizecommandsconfig.js';function _0x1b7f(){const _0x2fe3b3=['change:value','315240saqbKR','4066038HsPToF','28216hkpfYa','setSelection','promptView','componentFactory','buttonView','DataTransfer','aiLicenseKeyUsageLimit','prompt','_getMenuBarGroupButtons','_createAIAssistantUIButton','replace','schema','source','sort','_forceMarkersCopy','ck-ai-assistant-ui','_initView','getRanges','isFlat','values','_aiAdapter','errorView','usageLimit','domainLimit','ai.useTheme','_getResolvedCommandsDefinitions','updateView','invalid','evaluationLimit','fire','ai.aiAssistant.disabledElements','push','INSERT','ai-commands-config-order-collision','requiresContent','polite','trialLimit','hide','getSelectedElement','editing','24mjZMjy','insertContentBelow','selection','copy','editor','filter','_showLicenseError','label','AI\x20is\x20writing','904tItsuo','5059260hsbfSt','plugins','isOfficialPlugin','_licenseKeyCheckInterval','map','order','aiLicenseKeyDomainLimit','AIAssistantUI','ai.aiAssistant.contentAreaCssClass','_onExecute','menuPanelClass','isPremiumPlugin','aiLicenseKeyInvalid','hideFakeVisualSelection','change','focus','change:isProcessing','render','wasMoved','body','media','enabledCommandsIds','queryView','change:enabledCommandsIds','delegate','groupId','trim','_aiAssistantController','command:','config','_populateMenuBarMenu','reset','ck-ai-assistant-button\x20','text/html','174755wmAOHC','comment','items','aiLicenseKeyExpired','custom','_commandDefinitions','showUI','currentContext','_initAriaAiStatusChangeAnnouncements','hideUI','bind','_formView','menuBar:aiAssistant','getSelectedBlocks','set','\x20ck-ai-assistant-ui_theme','ck-ai-commands-dropdown\x20','ai.aiAssistant.commands','insertContent','showFakeVisualSelection','expired','buttons','951YDZetM','get','add','text','tableOfContents','once','showAIAssistant','364711tQhGGd','aiLicenseKeyEvaluationLimit','aiLicenseKeyValid','change:isError','define','show','commands','init','model','menuBar:aiCommands','fieldView','forEach','aiLicenseKeyNotAllowed','view','pluginName','isEnabled','AI\x20Commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','textAdapter','REPLACE','679aIbkAF','splice','update','addMany','_uiCssClasses','getData','document','EDITOR_TOP_SIDE','destroy','getLimitElement','isOn','Generated\x20content:\x20%0','groupLabel','rawHtml','licenseKey','aiCommands','panelView','children','includes','locale','AI\x20Assistant','from','</p>','execute','replaceContent','menuView','length','requires','contentArea','AIAssistant','isCollapsed','listenTo','aiAssistant','_dialog','featureNotAllowed','menuitemcheckbox','aiLicenseKeyTrialLimit','<p>','updatePosition','announce'];_0x1b7f=function(){return _0x2fe3b3;};return _0x1b7f();}import _0x233854 from'./aiassistantediting.js';import _0x1c381a from'./adapters/aiadapter.js';import{getTranslation as _0x4849f0}from'./utils/common-translations.js';import _0xa3d8a5 from'./ui/showaiassistantcommand.js';import _0x1ce3cd from'./ui/aiassistantcontroller.js';import _0x576a9b from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3fa90e}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5b8360(0x1a6)];import{ClipboardMarkersUtils as _0x31fe5d}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3bbc49,DataTransfer as _0x2cae80}from'ckeditor5/src/engine.js';export default class n extends _0xbe0708{[_0x5b8360(0x184)];[_0x5b8360(0x126)];[_0x5b8360(0x197)];[_0x5b8360(0x150)];[_0x5b8360(0x105)];[_0x5b8360(0x13e)];[_0x5b8360(0x17a)]='';static get[_0x5b8360(0x170)](){const _0x453ed5=_0x5b8360;return _0x453ed5(0x12a);}static get[_0x5b8360(0x125)](){return!0x0;}static get[_0x5b8360(0x12e)](){return!0x0;}static get[_0x5b8360(0x191)](){return[_0x31fe5d,_0x233854,_0x1c381a,_0x21474b];}constructor(_0x266d2b){const _0x53c7fb=_0x5b8360;super(_0x266d2b),_0x266d2b[_0x53c7fb(0x140)][_0x53c7fb(0x166)](_0x53c7fb(0x10f),[_0x53c7fb(0x137),_0x53c7fb(0x183),_0x53c7fb(0x15f)]),_0x266d2b[_0x53c7fb(0x140)][_0x53c7fb(0x166)](_0x53c7fb(0x12b),''),_0x266d2b[_0x53c7fb(0x140)][_0x53c7fb(0x166)](_0x53c7fb(0x109),!0x0),this[_0x53c7fb(0x17a)]=_0x53c7fb(0x1b0)+(_0x266d2b[_0x53c7fb(0x140)][_0x53c7fb(0x15c)](_0x53c7fb(0x109))?_0x53c7fb(0x154):'');}[_0x5b8360(0x169)](){const _0x1df2f6=_0x5b8360,{editor:_0x5790e3}=this;this[_0x1df2f6(0x105)]=_0x5790e3[_0x1df2f6(0x124)][_0x1df2f6(0x15c)](_0x1c381a),this[_0x1df2f6(0x197)]=_0x5790e3[_0x1df2f6(0x124)][_0x1df2f6(0x15c)](_0x21474b),this[_0x1df2f6(0x150)]=null,this[_0x1df2f6(0x14a)]=this[_0x1df2f6(0x10a)]();const _0x12a928=new _0xa3d8a5(_0x5790e3,Array[_0x1df2f6(0x18b)](this[_0x1df2f6(0x14a)][_0x1df2f6(0x104)]()));_0x5790e3[_0x1df2f6(0x168)][_0x1df2f6(0x15d)](_0x1df2f6(0x161),_0x12a928),_0x5790e3['ui'][_0x1df2f6(0x1a4)][_0x1df2f6(0x15d)](_0x1df2f6(0x185),_0x4c9707=>{const _0x4faf51=_0x1df2f6,_0x240d7d=_0x21433d(_0x4c9707);return _0x240d7d[_0x4faf51(0x153)]({'class':_0x4faf51(0x155)+this[_0x4faf51(0x17a)]}),_0x240d7d[_0x4faf51(0x1a5)][_0x4faf51(0x153)]({'label':_0x4849f0(_0x4c9707,_0x4faf51(0x172)),'icon':_0x42f506,'tooltip':!0x0}),_0x240d7d['on'](_0x4faf51(0x18d),_0x40804c=>this[_0x4faf51(0x12c)](_0x40804c[_0x4faf51(0x1ad)]['id'])),_0x227fbc(_0x240d7d,_0x5790e3['ui'][_0x4faf51(0x16f)][_0x4faf51(0x136)],function(_0x54d47c){const _0x2b4293=_0x4faf51,_0x2ac0f0=_0xc16787(_0x54d47c[_0x2b4293(0x140)][_0x2b4293(0x15c)](_0x2b4293(0x156)),_0x54d47c[_0x2b4293(0x189)]),_0x43a0bd=U(_0x54d47c,_0x2ac0f0)[_0x2b4293(0x11e)](_0x510991=>_0x510991[_0x2b4293(0x168)][_0x2b4293(0x190)]);if(0x1===_0x43a0bd[_0x2b4293(0x190)])return U(_0x54d47c,_0x43a0bd[0x0][_0x2b4293(0x168)])[_0x2b4293(0x127)](_0x34e574=>({'id':_0x34e574['id'],'label':_0x34e574[_0x2b4293(0x120)]}));return _0x43a0bd[_0x2b4293(0x127)](_0x46852f=>{const _0x4bff73=_0x2b4293,{groupId:_0x3031b2,groupLabel:_0x36691b,commands:_0x3d812e}=_0x46852f,_0x308605=U(_0x54d47c,_0x3d812e)[_0x4bff73(0x127)](_0x2d9496=>({'id':_0x2d9496['id'],'label':_0x2d9496[_0x4bff73(0x120)]}));return{'id':_0x3031b2,'menu':_0x36691b||_0x3031b2,'children':_0x308605};});}(_0x5790e3),{'ariaLabel':_0x4849f0(_0x4c9707,_0x4faf51(0x172))}),_0x240d7d[_0x4faf51(0x18f)][_0x4faf51(0x12d)]=_0x4faf51(0x155)+this[_0x4faf51(0x17a)],_0x12a928['on'](_0x4faf51(0x13a),_0x550774),_0x240d7d[_0x4faf51(0x18f)][_0x4faf51(0x160)](_0x4faf51(0x134),_0x550774),_0x240d7d;function _0x550774(){const _0x290825=_0x4faf51;_0x240d7d[_0x290825(0x171)]=_0x12a928[_0x290825(0x138)][_0x290825(0x190)]>0x0;for(const _0x3dba1f of _0x240d7d[_0x290825(0x18f)][_0x290825(0x15a)])_0x3dba1f[_0x290825(0x171)]=_0x12a928[_0x290825(0x138)][_0x290825(0x188)](_0x3dba1f['id']);}}),_0x5790e3['ui'][_0x1df2f6(0x1a4)][_0x1df2f6(0x15d)](_0x1df2f6(0x16b),_0x50a4ac=>{const _0x3e3a56=_0x1df2f6,_0x482755=new _0x5e0a5b(_0x50a4ac);_0x482755[_0x3e3a56(0x1a5)][_0x3e3a56(0x153)]({'label':_0x4849f0(_0x50a4ac,_0x3e3a56(0x172)),'icon':_0x42f506}),_0x482755[_0x3e3a56(0x14f)](_0x3e3a56(0x171))['to'](_0x12a928,_0x3e3a56(0x138),_0x20e5c7=>_0x20e5c7[_0x3e3a56(0x190)]>0x0);const _0x3a4984=_0xc16787(_0x5790e3[_0x3e3a56(0x140)][_0x3e3a56(0x15c)](_0x3e3a56(0x156)),_0x50a4ac);return this[_0x3e3a56(0x141)](_0x12a928,_0x482755,_0x3a4984,_0x550271=>this[_0x3e3a56(0x12c)](_0x550271)),_0x482755;}),_0x5790e3['ui'][_0x1df2f6(0x1a4)][_0x1df2f6(0x15d)](_0x1df2f6(0x196),()=>{const _0x49a0f0=_0x1df2f6,_0x13cd88=this[_0x49a0f0(0x1aa)](_0x3c2869);return _0x13cd88[_0x49a0f0(0x153)]({'tooltip':!0x0,'class':_0x49a0f0(0x143)+this[_0x49a0f0(0x17a)]}),_0x13cd88;}),_0x5790e3['ui'][_0x1df2f6(0x1a4)][_0x1df2f6(0x15d)](_0x1df2f6(0x151),()=>{const _0x549fa4=_0x1df2f6,_0x44230d=this[_0x549fa4(0x1aa)](_0x2a86e9);return _0x44230d[_0x549fa4(0x153)]({'role':_0x549fa4(0x199)}),_0x44230d;}),this[_0x1df2f6(0x184)]=this[_0x1df2f6(0x11d)][_0x1df2f6(0x140)][_0x1df2f6(0x15c)](_0x1df2f6(0x184));const _0x1b2553=this[_0x1df2f6(0x11d)];this[_0x1df2f6(0x126)]=setInterval(()=>{const _0x358486=_0x1df2f6;let _0x472f63;for(const _0x30ee31 in _0x1b2553){const _0x4a98a3=_0x30ee31,_0x46876b=_0x1b2553[_0x4a98a3];if(_0x358486(0x164)==_0x46876b||_0x358486(0x12f)==_0x46876b||_0x358486(0x148)==_0x46876b||_0x358486(0x129)==_0x46876b||_0x358486(0x16e)==_0x46876b||_0x358486(0x163)==_0x46876b||_0x358486(0x19a)==_0x46876b||_0x358486(0x1a7)==_0x46876b){delete _0x1b2553[_0x4a98a3],_0x472f63=_0x46876b,clearInterval(this[_0x358486(0x126)]),this[_0x358486(0x126)]=void 0x0;break;}}_0x358486(0x12f)==_0x472f63&&_0x1b2553[_0x358486(0x11f)](_0x358486(0x10c)),_0x358486(0x148)==_0x472f63&&_0x1b2553[_0x358486(0x11f)](_0x358486(0x159)),_0x358486(0x129)==_0x472f63&&_0x1b2553[_0x358486(0x11f)](_0x358486(0x108)),_0x358486(0x16e)==_0x472f63&&_0x1b2553[_0x358486(0x11f)](_0x358486(0x198),_0x358486(0x193)),_0x358486(0x163)==_0x472f63&&_0x1b2553[_0x358486(0x11f)](_0x358486(0x10d)),_0x358486(0x19a)==_0x472f63&&_0x1b2553[_0x358486(0x11f)](_0x358486(0x115)),_0x358486(0x1a7)==_0x472f63&&_0x1b2553[_0x358486(0x11f)](_0x358486(0x107));},0x3e8);}[_0x5b8360(0x17e)](){const _0x46e822=_0x5b8360;super[_0x46e822(0x17e)](),this[_0x46e822(0x126)]&&clearInterval(this[_0x46e822(0x126)]);}[_0x5b8360(0x14b)](_0x218ce5='',_0x587314='',_0x2b3e3d=_0x5b8360(0x149)){const _0xe58aba=_0x5b8360,_0x2ea296=this[_0xe58aba(0x11d)],_0x4b3230=_0x2ea296[_0xe58aba(0x118)][_0xe58aba(0x16f)],_0x5aff47=_0x2ea296[_0xe58aba(0x124)][_0xe58aba(0x15c)](_0x233854),_0x173af9=_0x2ea296[_0xe58aba(0x124)][_0xe58aba(0x15c)](_0x31fe5d);_0x5aff47[_0xe58aba(0x158)]();const _0x43cd62=new w(),_0xfc02cd=new ClipboardEvent(_0xe58aba(0x11c),{'clipboardData':_0x43cd62}),_0x3547ec=new _0x2cae80(_0x43cd62),_0x40ebbf=new _0x3bbc49(_0x4b3230,_0xfc02cd,{'dataTransfer':_0x3547ec});_0x173af9[_0xe58aba(0x1af)](_0xe58aba(0x146),()=>{const _0xfff61d=_0xe58aba;_0x4b3230[_0xfff61d(0x17c)][_0xfff61d(0x10e)](_0xfff61d(0x11c),_0x40ebbf);}),this[_0xe58aba(0x150)]||(this[_0xe58aba(0x101)](),this[_0xe58aba(0x13e)]=new _0x1ce3cd(_0x2ea296,this[_0xe58aba(0x105)][_0xe58aba(0x174)],this[_0xe58aba(0x150)]));let _0x1d8043=_0x3547ec[_0xe58aba(0x17b)](_0xe58aba(0x144));const _0x350e8=_0x2ea296[_0xe58aba(0x16a)][_0xe58aba(0x17c)][_0xe58aba(0x11b)],_0x4d14d5=Array[_0xe58aba(0x18b)](_0x350e8[_0xe58aba(0x102)]());0x1===_0x4d14d5[_0xe58aba(0x190)]&&_0x4d14d5[0x0][_0xe58aba(0x103)]&&!_0x350e8[_0xe58aba(0x117)]()&&''!==_0x1d8043[_0xe58aba(0x1ab)](/ /g,'')[_0xe58aba(0x13d)]()&&(_0x1d8043=_0xe58aba(0x19b)+_0x1d8043+_0xe58aba(0x18c)),this[_0xe58aba(0x13e)][_0xe58aba(0x10b)]({'actionId':_0x2b3e3d,'query':_0x218ce5,'htmlContent':_0x1d8043,'label':_0x587314,'mainActionLabel':_0x3fa90e[_0x2ea296[_0xe58aba(0x16a)][_0xe58aba(0x17c)][_0xe58aba(0x11b)][_0xe58aba(0x194)]?_0xe58aba(0x111):_0xe58aba(0x175)]}),_0xe58aba(0x196)!==this[_0xe58aba(0x197)]['id']?this[_0xe58aba(0x197)][_0xe58aba(0x167)]({'id':_0xe58aba(0x196),'icon':_0x4543a2,'title':_0x4849f0(this[_0xe58aba(0x11d)][_0xe58aba(0x189)],_0xe58aba(0x18a)),'content':this[_0xe58aba(0x150)],'position':_0x16fa07[_0xe58aba(0x17d)],'onShow':()=>{const _0x9c98bc=_0xe58aba;this[_0x9c98bc(0x150)][_0x9c98bc(0x132)]();},'onHide':()=>{const _0x28781c=_0xe58aba;this[_0x28781c(0x13e)][_0x28781c(0x142)](),_0x5aff47[_0x28781c(0x130)]();}}):this[_0xe58aba(0x197)][_0xe58aba(0x16f)][_0xe58aba(0x135)]||this[_0xe58aba(0x197)][_0xe58aba(0x16f)][_0xe58aba(0x19c)]();}[_0x5b8360(0x14e)](){const _0x2b0625=_0x5b8360;this[_0x2b0625(0x197)][_0x2b0625(0x116)]();}[_0x5b8360(0x10a)](){const _0x3880e7=_0x5b8360,_0x9a5747=new Map(),_0xe6b45f=_0xc16787(this[_0x3880e7(0x11d)][_0x3880e7(0x140)][_0x3880e7(0x15c)](_0x3880e7(0x156)),this[_0x3880e7(0x11d)][_0x3880e7(0x189)]);for(const _0x1ee5af of _0xe6b45f)for(const _0x2284d4 of _0x1ee5af[_0x3880e7(0x168)])_0x9a5747[_0x3880e7(0x153)](_0x2284d4['id'],{..._0x2284d4,'groupId':_0x1ee5af[_0x3880e7(0x13c)],'groupLabel':_0x1ee5af[_0x3880e7(0x182)]||_0x1ee5af[_0x3880e7(0x13c)]});return _0x9a5747;}[_0x5b8360(0x1aa)](_0xc733ad){const _0x53c97f=_0x5b8360,_0x44c7f8=this[_0x53c97f(0x11d)],_0x11a4d3=_0x44c7f8[_0x53c97f(0x168)][_0x53c97f(0x15c)](_0x53c97f(0x161)),_0x12247b=new _0xc733ad(_0x44c7f8[_0x53c97f(0x189)]);return _0x12247b[_0x53c97f(0x153)]({'label':_0x4849f0(_0x44c7f8[_0x53c97f(0x189)],_0x53c97f(0x18a)),'icon':_0x4543a2,'isToggleable':!0x0}),_0x12247b[_0x53c97f(0x14f)](_0x53c97f(0x171))['to'](_0x11a4d3),_0x12247b[_0x53c97f(0x14f)](_0x53c97f(0x180))['to'](this[_0x53c97f(0x197)],'id',_0x53215c=>_0x53c97f(0x196)===_0x53215c),this[_0x53c97f(0x195)](_0x12247b,_0x53c97f(0x18d),()=>{const _0x49b162=_0x53c97f;_0x12247b[_0x49b162(0x180)]?this[_0x49b162(0x14e)]():_0x11a4d3[_0x49b162(0x18d)]();}),_0x12247b;}[_0x5b8360(0x101)](){const _0x430433=_0x5b8360,_0x24cc32=this[_0x430433(0x11d)][_0x430433(0x124)][_0x430433(0x15c)](_0x233854);this[_0x430433(0x150)]=new _0x576a9b(this[_0x430433(0x11d)][_0x430433(0x189)],this[_0x430433(0x17a)],this[_0x430433(0x11d)][_0x430433(0x140)][_0x430433(0x15c)](_0x430433(0x12b))),this[_0x430433(0x150)]['on'](_0x430433(0x19e),()=>{const _0x119439=_0x430433;this[_0x119439(0x197)][_0x119439(0x16f)][_0x119439(0x135)]||this[_0x119439(0x197)][_0x119439(0x16f)][_0x119439(0x19c)]();}),this[_0x430433(0x150)][_0x430433(0x1a3)][_0x430433(0x139)][_0x430433(0x16c)]['on'](_0x430433(0x178),()=>{const _0x30718a=_0x430433;this[_0x30718a(0x197)][_0x30718a(0x16f)][_0x30718a(0x135)]||this[_0x30718a(0x197)][_0x30718a(0x16f)][_0x30718a(0x19c)]();}),this[_0x430433(0x195)](this[_0x430433(0x150)],_0x430433(0x18e),()=>{const _0x219244=_0x430433;_0x24cc32[_0x219244(0x157)](this[_0x219244(0x13e)][_0x219244(0x14c)]),this[_0x219244(0x14e)]();}),this[_0x430433(0x195)](this[_0x430433(0x150)],_0x430433(0x11a),()=>{const _0x24448e=_0x430433;_0x24cc32[_0x24448e(0x11a)](this[_0x24448e(0x13e)][_0x24448e(0x14c)]),this[_0x24448e(0x14e)]();}),this[_0x430433(0x14d)]();}[_0x5b8360(0x14d)](){const _0x16ff14=_0x5b8360,{locale:_0x2ffcb4,ui:{ariaLiveAnnouncer:_0x2bda99}}=this[_0x16ff14(0x11d)];this[_0x16ff14(0x150)][_0x16ff14(0x192)]['on'](_0x16ff14(0x133),(_0x31b832,_0x11e1d4,_0x116c1c)=>{const _0x3b3ebe=_0x16ff14,_0x479e5b=this[_0x3b3ebe(0x13e)][_0x3b3ebe(0x14c)];_0x116c1c?_0x2bda99[_0x3b3ebe(0x19d)](_0x4849f0(_0x2ffcb4,_0x3b3ebe(0x121))):_0x479e5b&&_0x2bda99[_0x3b3ebe(0x19d)](_0x4849f0(_0x2ffcb4,_0x3b3ebe(0x181),_0x479e5b),{'politeness':_0x3b3ebe(0x114),'isUnsafeHTML':!0x0});}),this[_0x16ff14(0x150)]['on'](_0x16ff14(0x165),(_0x145a71,_0x563ba9,_0x349ae4)=>{const _0xa20e79=_0x16ff14;if(_0x349ae4){const _0x2abd4f=this[_0xa20e79(0x150)][_0xa20e79(0x106)][_0xa20e79(0x15e)];_0x2bda99[_0xa20e79(0x19d)](_0x4849f0(_0x2ffcb4,_0xa20e79(0x173),_0x2abd4f));}});}[_0x5b8360(0x12c)](_0xe00f81){const _0x40240e=_0x5b8360,_0x13b012=this[_0x40240e(0x14a)][_0x40240e(0x15c)](_0xe00f81),_0x5bd010=this[_0x40240e(0x11d)],_0x4c4f58=_0x5bd010[_0x40240e(0x16a)][_0x40240e(0x17c)][_0x40240e(0x11b)],_0x362990=_0x5bd010[_0x40240e(0x168)][_0x40240e(0x15c)](_0x40240e(0x161)),_0x1f1185=_0x5bd010[_0x40240e(0x124)][_0x40240e(0x15c)](_0x233854),_0x3e0a6e=''+(_0x13b012[_0x40240e(0x13c)]!==_0x4c492b?_0x13b012[_0x40240e(0x182)]+':\x20':'')+_0x13b012[_0x40240e(0x120)];if(!0x1!==_0x13b012[_0x40240e(0x113)]&&_0x4c4f58[_0x40240e(0x194)]){const _0xa162b3=_0x4bce94(_0x4c4f58[_0x40240e(0x152)]())||_0x5bd010[_0x40240e(0x16a)][_0x40240e(0x1ac)][_0x40240e(0x17f)](_0x4c4f58);_0x5bd010[_0x40240e(0x16a)][_0x40240e(0x131)](_0x5151ab=>{const _0x17b485=_0x40240e;_0x5151ab[_0x17b485(0x1a2)](_0xa162b3,'in');});}_0x1f1185[_0x40240e(0x158)](),_0x362990[_0x40240e(0x18d)](_0x13b012[_0x40240e(0x1a8)],_0x3e0a6e,_0x40240e(0x13f)+_0xe00f81);}[_0x5b8360(0x141)](_0x2d3a65,_0x2474c0,_0x47ca89,_0x530125){const _0x4e5f3e=_0x5b8360,_0x29c241=this[_0x4e5f3e(0x11d)],_0x137a4=_0x29c241[_0x4e5f3e(0x189)],_0x4fb91e=new _0x26674d(_0x137a4),_0x397466=U(_0x29c241,_0x47ca89)[_0x4e5f3e(0x11e)](_0x41b671=>_0x41b671[_0x4e5f3e(0x168)][_0x4e5f3e(0x190)]);0x1===_0x397466[_0x4e5f3e(0x190)]?this[_0x4e5f3e(0x1a9)]({'command':_0x2d3a65,'commands':_0x397466[0x0][_0x4e5f3e(0x168)],'parentMenuView':_0x2474c0,'onExecute':_0x530125})[_0x4e5f3e(0x16d)](_0x2bf687=>_0x4fb91e[_0x4e5f3e(0x147)][_0x4e5f3e(0x15d)](_0x2bf687)):_0x397466[_0x4e5f3e(0x16d)](({groupId:_0x1b2488,groupLabel:_0x59867f,commands:_0x282069})=>{const _0xe4f752=_0x4e5f3e,_0x2db5eb=new _0x32a14a(_0x137a4,_0x2474c0),_0x37fbce=new _0x5e0a5b(_0x137a4),_0x21e5a7=new _0x26674d(_0x137a4),_0x2027eb=this[_0xe4f752(0x1a9)]({'command':_0x2d3a65,'commands':_0x282069,'parentMenuView':_0x37fbce,'onExecute':_0x530125});_0x37fbce[_0xe4f752(0x1a5)][_0xe4f752(0x153)]({'label':_0x59867f||_0x1b2488}),_0x37fbce[_0xe4f752(0x13b)](_0xe4f752(0x18d))['to'](_0x2474c0),_0x21e5a7[_0xe4f752(0x147)][_0xe4f752(0x179)](_0x2027eb),_0x37fbce[_0xe4f752(0x186)][_0xe4f752(0x187)][_0xe4f752(0x15d)](_0x21e5a7),_0x2db5eb[_0xe4f752(0x187)][_0xe4f752(0x15d)](_0x37fbce),_0x4fb91e[_0xe4f752(0x147)][_0xe4f752(0x15d)](_0x2db5eb);}),_0x2474c0[_0x4e5f3e(0x186)][_0x4e5f3e(0x187)][_0x4e5f3e(0x15d)](_0x4fb91e);}[_0x5b8360(0x1a9)]({command:_0x1ae2e3,commands:_0x391c9b,parentMenuView:_0x349c06,onExecute:_0x2eca5d}){const _0x10bfbe=_0x5b8360,_0x2657b2=this[_0x10bfbe(0x11d)],_0x8dc5ef=_0x2657b2[_0x10bfbe(0x189)];return U(_0x2657b2,_0x391c9b)[_0x10bfbe(0x127)](_0x8b462e=>{const _0x570d6a=_0x10bfbe,_0x36d286=new _0x32a14a(_0x8dc5ef,_0x349c06),_0x2614c6=new _0x2a86e9(_0x8dc5ef);return _0x2614c6[_0x570d6a(0x153)]({'label':_0x8b462e[_0x570d6a(0x120)]}),_0x2614c6[_0x570d6a(0x13b)](_0x570d6a(0x18d))['to'](_0x349c06),_0x2614c6['on'](_0x570d6a(0x18d),()=>_0x2eca5d(_0x8b462e['id'])),_0x2614c6[_0x570d6a(0x14f)](_0x570d6a(0x171))['to'](_0x1ae2e3,_0x570d6a(0x138),_0x33ccfe=>_0x33ccfe[_0x570d6a(0x188)](_0x8b462e['id'])),_0x36d286[_0x570d6a(0x187)][_0x570d6a(0x15d)](_0x2614c6),_0x36d286;});}}function B(_0x5cdad1,_0x4e9442){const _0x633e12=_0x5b8360;return void 0x0!==_0x5cdad1[_0x633e12(0x128)]&&void 0x0===_0x4e9442[_0x633e12(0x128)]?0x1:void 0x0===_0x5cdad1[_0x633e12(0x128)]&&void 0x0!==_0x4e9442[_0x633e12(0x128)]?-0x1:void 0x0!==_0x5cdad1[_0x633e12(0x128)]&&void 0x0!==_0x4e9442[_0x633e12(0x128)]?_0x5cdad1[_0x633e12(0x128)]-_0x4e9442[_0x633e12(0x128)]:0x0;}function U(_0x1a68b8,_0x36ad58){const _0x48c56c=_0x5b8360;_0x36ad58[_0x48c56c(0x1ae)](B);const _0x3d6157={},_0xc82d20=[];for(const _0x3da70d of _0x36ad58)if(void 0x0!==_0x3da70d[_0x48c56c(0x128)]){if(_0x3da70d[_0x48c56c(0x128)]in _0x3d6157)throw new _0xe41706(_0x48c56c(0x112),_0x1a68b8,{'conflictingDefinitions':[_0x3da70d,_0x3d6157[_0x3da70d[_0x48c56c(0x128)]]]});_0x3d6157[_0x3da70d[_0x48c56c(0x128)]]=_0x3da70d,_0xc82d20[_0x48c56c(0x177)](_0x3da70d[_0x48c56c(0x128)],0x0,_0x3da70d);}else _0xc82d20[_0x48c56c(0x110)](_0x3da70d);return _0xc82d20;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1a23(_0x5c3031,_0x5a1d53){var _0xa7bef7=_0xa7be();return _0x1a23=function(_0x1a2392,_0x250b90){_0x1a2392=_0x1a2392-0x18d;var _0x38bc51=_0xa7bef7[_0x1a2392];return _0x38bc51;},_0x1a23(_0x5c3031,_0x5a1d53);}(function(_0x445501,_0x53c298){var _0x1565b9=_0x1a23,_0x477169=_0x445501();while(!![]){try{var _0x1ecba3=-parseInt(_0x1565b9(0x193))/0x1+parseInt(_0x1565b9(0x18d))/0x2*(-parseInt(_0x1565b9(0x191))/0x3)+parseInt(_0x1565b9(0x192))/0x4+parseInt(_0x1565b9(0x190))/0x5+parseInt(_0x1565b9(0x18e))/0x6*(parseInt(_0x1565b9(0x194))/0x7)+parseInt(_0x1565b9(0x18f))/0x8*(-parseInt(_0x1565b9(0x195))/0x9)+-parseInt(_0x1565b9(0x196))/0xa;if(_0x1ecba3===_0x53c298)break;else _0x477169['push'](_0x477169['shift']());}catch(_0x5d22f6){_0x477169['push'](_0x477169['shift']());}}}(_0xa7be,0x1c093));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';function _0xa7be(){var _0x62c264=['788347HDelns','1199385tYRwCB','39640JSxAMZ','26VcnnYo','12zvPogX','8GXdMKp','96730ZIKSAI','46326LJURXN','887264BlWdNl','13594ztumis'];_0xa7be=function(){return _0x62c264;};return _0xa7be();}export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x54e539,_0xfda393){var _0x2c147e=_0x1939,_0x52447a=_0x54e539();while(!![]){try{var _0x4f9c26=parseInt(_0x2c147e(0xa6))/0x1*(parseInt(_0x2c147e(0xa3))/0x2)+parseInt(_0x2c147e(0xad))/0x3*(-parseInt(_0x2c147e(0xa4))/0x4)+-parseInt(_0x2c147e(0xab))/0x5*(parseInt(_0x2c147e(0xae))/0x6)+-parseInt(_0x2c147e(0xa9))/0x7+parseInt(_0x2c147e(0xaf))/0x8*(-parseInt(_0x2c147e(0xaa))/0x9)+-parseInt(_0x2c147e(0xa8))/0xa*(-parseInt(_0x2c147e(0xa7))/0xb)+parseInt(_0x2c147e(0xa5))/0xc*(parseInt(_0x2c147e(0xac))/0xd);if(_0x4f9c26===_0xfda393)break;else _0x52447a['push'](_0x52447a['shift']());}catch(_0x45aecc){_0x52447a['push'](_0x52447a['shift']());}}}(_0x49ff,0xedefc));function _0x1939(_0x1dff9d,_0x4a5fed){var _0x49ff87=_0x49ff();return _0x1939=function(_0x1939df,_0x3f33a3){_0x1939df=_0x1939df-0xa3;var _0x599603=_0x49ff87[_0x1939df];return _0x599603;},_0x1939(_0x1dff9d,_0x4a5fed);}function _0x49ff(){var _0x40e5f3=['48MHdnQv','3842TbVHjq','1836voBTVJ','3052164Umxniz','85AOdteO','4866367CKCUwY','30fWYLqr','4297412EQSoFK','1147977LTJlIP','148700IYTLAt','195CvXjcR','9963ktdhwh','288PEtshT'];_0x49ff=function(){return _0x40e5f3;};return _0x49ff();}import{CKEditorError as _0x809034}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2d2697=_0x1124;(function(_0x364bba,_0xee617){const _0x1a534d=_0x1124,_0x1f1c06=_0x364bba();while(!![]){try{const _0xf50a31=-parseInt(_0x1a534d(0x147))/0x1*(-parseInt(_0x1a534d(0x168))/0x2)+parseInt(_0x1a534d(0x151))/0x3+parseInt(_0x1a534d(0x127))/0x4+-parseInt(_0x1a534d(0x11c))/0x5+parseInt(_0x1a534d(0x135))/0x6*(parseInt(_0x1a534d(0x143))/0x7)+-parseInt(_0x1a534d(0x117))/0x8*(parseInt(_0x1a534d(0x13f))/0x9)+parseInt(_0x1a534d(0x124))/0xa*(-parseInt(_0x1a534d(0x11e))/0xb);if(_0xf50a31===_0xee617)break;else _0x1f1c06['push'](_0x1f1c06['shift']());}catch(_0x1c8aa5){_0x1f1c06['push'](_0x1f1c06['shift']());}}}(_0xabcb,0x1d794));import{ObservableMixin as _0x6c233b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x323735}from'../adapters/aiadapter.js';import{Matcher as _0x44f900,UpcastWriter as _0x3363d4}from'ckeditor5/src/engine.js';function _0xabcb(){const _0x1348fb=['clear','tryAgainEvent','div','8756CAcpAP','htmlProcessor','initialContext','<h1></h1>','custom','createElement','from','endsWith','previousQuery','abort','522726fJdPxb','set:currentContext','_isH1TagSupportEnabled','reverse','render','text/html','substring','element','```html','makeRequest','stopListening','isRendered','name','innerHTML','serializeToString','startsWith','exec','rename','toModel','remove','_domParser','push','currentResponse','50xwcfbH','ai.aiAssistant.preserveComments','currentContext','_parseAndNormalizeContent','destroy','reset','_handleQuery','nodeType','get','once','toView','markers','body','processor','parseFromString','isProcessing','trim','length','view','prompt','25872MinaWh','editing','previousContext','previousActionId','value','879785cIWbkk','viewToDom','550weIXFI','setContentOf','_sanitizeHTML','catch','querySelector','domConverter','24740IgMFtI','finishProcessing','textAdapter','332616xvevMV','editor','data','config','startProcessing','finally','_sanitizationContainer','stringify','match','childNodes','previousLabel','updateView','listenTo','_normalizeResponseHeadings','6ROivfL','set','message','_stripMarkdownSyntax','stopProcessing','submitPrompt','handleError','_xmlSerializer','mainAction','then','585zouMyC','document','```','ELEMENT_NODE','1080065XAlJYR'];_0xabcb=function(){return _0x1348fb;};return _0xabcb();}function _0x1124(_0x760f22,_0x408b97){const _0xabcb49=_0xabcb();return _0x1124=function(_0x112478,_0xc94cda){_0x112478=_0x112478-0x117;let _0x242119=_0xabcb49[_0x112478];return _0x242119;},_0x1124(_0x760f22,_0x408b97);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x6c233b(){[_0x2d2697(0x128)];[_0x2d2697(0x126)];[_0x2d2697(0x17a)];[_0x2d2697(0x12d)];[_0x2d2697(0x165)];[_0x2d2697(0x13c)];constructor(_0x3a9703,_0x30d6f3,_0x2a23f9){const _0x197f07=_0x2d2697;super(),this[_0x197f07(0x128)]=_0x3a9703,this[_0x197f07(0x126)]=_0x30d6f3,this[_0x197f07(0x12d)]=document[_0x197f07(0x14c)](_0x197f07(0x146)),this[_0x197f07(0x165)]=new DOMParser(),this[_0x197f07(0x13c)]=new XMLSerializer(),this[_0x197f07(0x17a)]=_0x2a23f9,this[_0x197f07(0x136)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x197f07(0x152),(_0x16a620,_0x31b6f3,_0x5a12a4)=>{const _0x44afb6=_0x197f07;this[_0x44afb6(0x17a)][_0x44afb6(0x11b)]=this[_0x44afb6(0x120)](_0x5a12a4);}),this[_0x197f07(0x133)](this[_0x197f07(0x17a)],_0x197f07(0x13a),(_0x3972b6,_0x85896b)=>{const _0x41266b=_0x197f07,_0xd681bf=this[_0x41266b(0x16a)]||this[_0x41266b(0x149)];this[_0x41266b(0x16e)](_0x85896b,_0xd681bf,_0x41266b(0x14b));}),this[_0x197f07(0x133)](this[_0x197f07(0x17a)],_0x197f07(0x145),()=>{const _0x441546=_0x197f07;this[_0x441546(0x17a)][_0x441546(0x17b)]=this[_0x441546(0x131)],this[_0x441546(0x16e)](this[_0x441546(0x14f)],this[_0x441546(0x119)],this[_0x441546(0x11a)],this[_0x441546(0x131)]);}),this[_0x197f07(0x133)](this[_0x197f07(0x17a)],_0x197f07(0x139),()=>{const _0x2f6204=_0x197f07;this[_0x2f6204(0x139)]();});}[_0x2d2697(0x16c)](){const _0x234af5=_0x2d2697;this[_0x234af5(0x15b)]();}async[_0x2d2697(0x132)]({actionId:_0x298bf0,query:_0x5c91a5,htmlContent:_0x31a7fc,label:_0x27b290,mainActionLabel:_0x28e4ee}){const _0x529186=_0x2d2697;this[_0x529186(0x17a)][_0x529186(0x17b)]=_0x27b290,this[_0x529186(0x17a)][_0x529186(0x13d)]=_0x28e4ee,this[_0x529186(0x149)]=_0x31a7fc,_0x5c91a5&&(this[_0x529186(0x17a)][_0x529186(0x15c)]?this[_0x529186(0x16e)](_0x5c91a5,_0x31a7fc,_0x298bf0,_0x27b290):this[_0x529186(0x17a)][_0x529186(0x171)](_0x529186(0x155),()=>{const _0x51f25b=_0x529186;this[_0x51f25b(0x16e)](_0x5c91a5,_0x31a7fc,_0x298bf0,_0x27b290);}));}[_0x2d2697(0x139)](){const _0x1f2040=_0x2d2697;this[_0x1f2040(0x177)]&&(this[_0x1f2040(0x177)]=!0x1,this[_0x1f2040(0x17a)][_0x1f2040(0x125)](),this[_0x1f2040(0x126)][_0x1f2040(0x150)]());}[_0x2d2697(0x16d)](){const _0x1bb502=_0x2d2697;this[_0x1bb502(0x149)]='',this[_0x1bb502(0x16a)]='',this[_0x1bb502(0x167)]='',this[_0x1bb502(0x119)]='',this[_0x1bb502(0x14f)]='',this[_0x1bb502(0x131)]='',this[_0x1bb502(0x11a)]=void 0x0,this[_0x1bb502(0x17a)][_0x1bb502(0x16d)](),this[_0x1bb502(0x139)]();}async[_0x2d2697(0x16e)](_0x1e971e,_0x1beffd,_0x3caef8,_0x36c005){const _0x58aedc=_0x2d2697;return this[_0x58aedc(0x177)]=!0x0,this[_0x58aedc(0x17a)][_0x58aedc(0x12b)](),this[_0x58aedc(0x119)]=_0x1beffd,this[_0x58aedc(0x14f)]=_0x1e971e,this[_0x58aedc(0x131)]=_0x36c005||_0x1e971e,this[_0x58aedc(0x11a)]=_0x3caef8,new Promise(_0x7add58=>{const _0x5e0522=_0x58aedc;this[_0x5e0522(0x126)][_0x5e0522(0x15a)]({'query':_0x1e971e,'context':_0x1beffd,'onData':_0x27f61f=>{const _0x51fd64=_0x5e0522;this[_0x51fd64(0x167)]=_0x27f61f,this[_0x51fd64(0x16a)]=this[_0x51fd64(0x16b)](this[_0x51fd64(0x167)]);},'actionId':_0x3caef8})[_0x5e0522(0x13e)](()=>{const _0x54b926=_0x5e0522;!this[_0x54b926(0x16a)]&&this[_0x54b926(0x167)]&&(this[_0x54b926(0x16a)]=this[_0x54b926(0x16b)](this[_0x54b926(0x167)],!0x0));})[_0x5e0522(0x121)](_0x2ac890=>{const _0x2fbb80=_0x5e0522;_0x2ac890 instanceof _0x323735?this[_0x2fbb80(0x17a)][_0x2fbb80(0x13b)](_0x2ac890[_0x2fbb80(0x137)]):this[_0x2fbb80(0x17a)][_0x2fbb80(0x13b)](),_0x7add58();})[_0x5e0522(0x12c)](()=>{const _0x3dac39=_0x5e0522;this[_0x3dac39(0x139)](),_0x7add58();});});}[_0x2d2697(0x16b)](_0x84ce56,_0xf8c341=!0x1){const _0xf2f5e5=_0x2d2697,_0x35b9cd=Z[_0xf2f5e5(0x161)](_0x84ce56);_0x84ce56=_0x35b9cd?_0x84ce56[_0xf2f5e5(0x157)](_0x35b9cd[0x1][_0xf2f5e5(0x179)]):_0x84ce56[_0xf2f5e5(0x179)]<0x64&&!_0xf8c341?'':this[_0xf2f5e5(0x138)](_0x84ce56);const _0x62c37a=this[_0xf2f5e5(0x165)][_0xf2f5e5(0x176)](_0x84ce56,_0xf2f5e5(0x156));if(_0x35b9cd){const _0x11da96=Array[_0xf2f5e5(0x14d)](_0x62c37a[_0xf2f5e5(0x174)][_0xf2f5e5(0x130)]);_0x11da96[_0xf2f5e5(0x154)]();for(const _0x71fcc1 of _0x11da96){if(_0x71fcc1[_0xf2f5e5(0x16f)]==Node[_0xf2f5e5(0x142)])break;_0x71fcc1[_0xf2f5e5(0x164)]();}}const _0x4d2e14=this[_0xf2f5e5(0x128)][_0xf2f5e5(0x129)][_0xf2f5e5(0x175)][_0xf2f5e5(0x172)](this[_0xf2f5e5(0x13c)][_0xf2f5e5(0x15f)](_0x62c37a[_0xf2f5e5(0x174)]));this[_0xf2f5e5(0x153)]()||this[_0xf2f5e5(0x134)](_0x4d2e14);const _0x467216=this[_0xf2f5e5(0x128)][_0xf2f5e5(0x12a)][_0xf2f5e5(0x170)](_0xf2f5e5(0x169)),_0x585c7e=this[_0xf2f5e5(0x128)][_0xf2f5e5(0x129)][_0xf2f5e5(0x163)](_0x4d2e14);return _0x467216||_0x585c7e[_0xf2f5e5(0x173)][_0xf2f5e5(0x144)](),this[_0xf2f5e5(0x128)][_0xf2f5e5(0x129)][_0xf2f5e5(0x12e)](_0x585c7e);}[_0x2d2697(0x134)](_0xecea99){const _0xb1885e=_0x2d2697,_0x214969=new _0x3363d4(this[_0xb1885e(0x128)][_0xb1885e(0x118)][_0xb1885e(0x17a)][_0xb1885e(0x140)]),_0x157a5e=new _0x44f900({'name':/^h[1-5]$/}),_0x227327=[];let _0x143a98=!0x1;for(const _0x53b4a5 of _0xecea99)_0x53b4a5['is'](_0xb1885e(0x158))&&_0x157a5e[_0xb1885e(0x12f)](_0x53b4a5)&&(_0x227327[_0xb1885e(0x166)](_0x53b4a5),'h1'==_0x53b4a5[_0xb1885e(0x15d)]&&(_0x143a98=!0x0));if(_0x143a98){for(const _0xb34216 of _0x227327)_0x214969[_0xb1885e(0x162)]('h'+(parseInt(_0xb34216[_0xb1885e(0x15d)][0x1])+0x1),_0xb34216);}}[_0x2d2697(0x153)](){const _0x4bb924=_0x2d2697,{data:_0x52985c,editing:_0x543d05}=this[_0x4bb924(0x128)],_0x5f5c72=_0x52985c[_0x4bb924(0x148)][_0x4bb924(0x172)](_0x4bb924(0x14a)),_0x1f8cc0=_0x52985c[_0x4bb924(0x172)](_0x52985c[_0x4bb924(0x163)](_0x5f5c72));return!!_0x543d05[_0x4bb924(0x17a)][_0x4bb924(0x123)][_0x4bb924(0x11d)](_0x1f8cc0)[_0x4bb924(0x122)]('h1');}[_0x2d2697(0x120)](_0x941f07){const _0x276755=_0x2d2697;return this[_0x276755(0x128)][_0x276755(0x118)][_0x276755(0x17a)][_0x276755(0x123)][_0x276755(0x11f)](this[_0x276755(0x12d)],_0x941f07),this[_0x276755(0x12d)][_0x276755(0x15e)];}[_0x2d2697(0x138)](_0x576b23){const _0xa83a9d=_0x2d2697,_0x5b5ab9=_0x576b23[_0xa83a9d(0x178)]();return _0x5b5ab9[_0xa83a9d(0x160)](_0xa83a9d(0x159))?_0x5b5ab9[_0xa83a9d(0x14e)](_0xa83a9d(0x141))?_0x5b5ab9[_0xa83a9d(0x157)](0x7,_0x5b5ab9[_0xa83a9d(0x179)]-0x3):_0x5b5ab9[_0xa83a9d(0x157)](0x7):_0x576b23;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24e300=_0x4ebb;(function(_0x1eb765,_0x31d022){const _0x232899=_0x4ebb,_0x324672=_0x1eb765();while(!![]){try{const _0x29048f=parseInt(_0x232899(0x1e3))/0x1+-parseInt(_0x232899(0x1eb))/0x2*(-parseInt(_0x232899(0x1f1))/0x3)+parseInt(_0x232899(0x21f))/0x4*(-parseInt(_0x232899(0x209))/0x5)+parseInt(_0x232899(0x21e))/0x6+parseInt(_0x232899(0x202))/0x7+-parseInt(_0x232899(0x212))/0x8+parseInt(_0x232899(0x1f3))/0x9*(-parseInt(_0x232899(0x20b))/0xa);if(_0x29048f===_0x31d022)break;else _0x324672['push'](_0x324672['shift']());}catch(_0x90d7e0){_0x324672['push'](_0x324672['shift']());}}}(_0x5ece,0x67d44));import{global as _0x5a606a}from'ckeditor5/src/utils.js';function _0x5ece(){const _0x43d98f=['clipboard','_createLoader','692956lSsQtY','ck-ai-form__content-field','<span>]</span>','copy','isEnabled','position','setTemplate','lastElementChild','22mbkric','removeAllRanges','AI\x20is\x20writing...','setEndBefore','ClipboardItem','set','185631hvgtac','text/plain','9wRpYQh','addRange','ck-hidden','.ck-ai-form__loader','write','appendLoader','querySelector','ck-ai-form__content-area--processing','icon','render','ck-content','innerHTML','execCommand','isVisible','scrollTo','5295787IpjolZ','listenTo','focus','locale','execute','ck-ai-form__content-area-wrapper','bindTemplate','5hqrEgR','ck-ai-form__loader','3985690tuNUuj','getSelection','class','-9999px','ck-ai-form__copy-button','bind','remove','6780592PMSpEU','appendChild','div','copyButtonView','element','absolute','left','change:isProcessing','textContent','createElement','ck-ai-form__copy-button-wrapper','firstElementChild','167880AFXCEZ','1946788kfwDFg','<span>[</span>','_createCopyButton','style','Copy','ck-ai-form__content-area','text/html','isProcessing','contentFieldView','setStartAfter','change:value','\x20ck-ai-form__copy-button--copied','value','smooth','setContent','createRange','scrollHeight','body','loaderView','wheel','ck-reset_all-excluded','_copyHTMLToClipboard','mousedown'];_0x5ece=function(){return _0x43d98f;};return _0x5ece();}function _0x4ebb(_0x1c11a6,_0x28042b){const _0x5ece7b=_0x5ece();return _0x4ebb=function(_0x4ebbac,_0x1a192a){_0x4ebbac=_0x4ebbac-0x1e3;let _0x4353ab=_0x5ece7b[_0x4ebbac];return _0x4353ab;},_0x4ebb(_0x1c11a6,_0x28042b);}import{View as _0x166e05,ButtonView as _0x5d3b86,SpinnerView as _0x4925c1}from'ckeditor5/src/ui.js';import{IconCheck as _0x39b237,IconCopy as _0x16ffcc}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cc123}from'../../utils/common-translations.js';export default class Y extends _0x166e05{[_0x24e300(0x227)];[_0x24e300(0x215)];constructor(_0x1cf814,_0x14775d=''){const _0x47bf3c=_0x24e300;super(_0x1cf814),this[_0x47bf3c(0x1f0)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x226fd8=this[_0x47bf3c(0x208)];this[_0x47bf3c(0x227)]=new ContentFieldView(_0x1cf814,_0x14775d),this[_0x47bf3c(0x215)]=this[_0x47bf3c(0x221)](),this[_0x47bf3c(0x1e9)]({'tag':_0x47bf3c(0x214),'attributes':{'class':['ck',_0x47bf3c(0x207),_0x226fd8['if'](_0x47bf3c(0x200),_0x47bf3c(0x1f5),_0x3e0cf5=>!_0x3e0cf5)],'tabindex':'-1'},'children':[{'tag':_0x47bf3c(0x214),'attributes':{'class':['ck',_0x47bf3c(0x224),_0x226fd8['if'](_0x47bf3c(0x226),_0x47bf3c(0x1fa))]},'children':[this[_0x47bf3c(0x227)],{'tag':_0x47bf3c(0x214),'attributes':{'class':['ck',_0x47bf3c(0x21c)]},'children':[this[_0x47bf3c(0x215)]]}]}]});}[_0x24e300(0x1fc)](){const _0x24af2f=_0x24e300;super[_0x24af2f(0x1fc)](),this[_0x24af2f(0x22b)]&&this[_0x24af2f(0x227)][_0x24af2f(0x22d)](this[_0x24af2f(0x22b)]);let _0xba5c78=!0x1;this['on'](_0x24af2f(0x229),(_0x50d275,_0x1975a1,_0x149be2)=>{const _0x3187bd=_0x24af2f,_0x2a5ef3=!this[_0x3187bd(0x227)][_0x3187bd(0x216)][_0x3187bd(0x1f9)](_0x3187bd(0x1f6));this[_0x3187bd(0x227)][_0x3187bd(0x22d)](_0x149be2),this[_0x3187bd(0x226)]&&_0x2a5ef3&&!_0xba5c78&&this[_0x3187bd(0x216)][_0x3187bd(0x201)]({'top':this[_0x3187bd(0x216)][_0x3187bd(0x22f)],'behavior':_0x3187bd(0x22c)});}),this['on'](_0x24af2f(0x219),(_0x5d89e9,_0x216b88,_0x332992)=>{const _0x1dfd52=_0x24af2f;_0xba5c78=!0x1,_0x332992?(this[_0x1dfd52(0x22b)]=null,this[_0x1dfd52(0x227)][_0x1dfd52(0x1f8)]()):this[_0x1dfd52(0x22b)]||this[_0x1dfd52(0x227)][_0x1dfd52(0x22d)]('');}),this[_0x24af2f(0x203)](this[_0x24af2f(0x216)],_0x24af2f(0x232),()=>{_0xba5c78=!0x0;}),this[_0x24af2f(0x203)](this[_0x24af2f(0x216)],_0x24af2f(0x235),()=>{_0xba5c78=!0x0;});}[_0x24e300(0x204)](){const _0x2b919e=_0x24e300;this[_0x2b919e(0x216)][_0x2b919e(0x204)]();}[_0x24e300(0x221)](){const _0x17b2e6=_0x24e300,_0xa0ebbc=this[_0x17b2e6(0x205)],_0x43c4a6=new _0x5d3b86(this[_0x17b2e6(0x205)]),_0x222b55=_0x17b2e6(0x20f);return _0x43c4a6[_0x17b2e6(0x1f0)]({'label':_0x5cc123(_0xa0ebbc,_0x17b2e6(0x223)),'icon':_0x16ffcc,'class':_0x222b55,'tooltip':!0x0}),_0x43c4a6[_0x17b2e6(0x210)](_0x17b2e6(0x200))['to'](this,_0x17b2e6(0x22b),_0x28583e=>!!_0x28583e),_0x43c4a6[_0x17b2e6(0x210)](_0x17b2e6(0x1e7))['to'](this,_0x17b2e6(0x226),_0x5d6e90=>!_0x5d6e90),_0x43c4a6['on'](_0x17b2e6(0x206),()=>{const _0x27422a=_0x17b2e6;this[_0x27422a(0x234)](this[_0x27422a(0x227)][_0x27422a(0x216)]),_0x43c4a6[_0x27422a(0x1fb)]=_0x39b237,_0x43c4a6[_0x27422a(0x20d)]=_0x222b55+_0x27422a(0x22a),this[_0x27422a(0x204)](),setTimeout(()=>{const _0x50247c=_0x27422a;_0x43c4a6[_0x50247c(0x1fb)]=_0x16ffcc,_0x43c4a6[_0x50247c(0x20d)]=_0x222b55;},0x3e8);}),_0x43c4a6;}[_0x24e300(0x234)](_0x1cd09c){const _0xa5ea66=_0x24e300,{window:_0xa9da4e,document:_0x4811d0}=_0x5a606a;if(_0xa9da4e[_0xa5ea66(0x1ef)]){const {Blob:_0x407327,ClipboardItem:_0x1e6f83}=_0xa9da4e,_0x3b5285=[new _0x1e6f83({'text/html':new _0x407327([_0x1cd09c[_0xa5ea66(0x1fe)]],{'type':_0xa5ea66(0x225)}),'text/plain':new _0x407327([_0x1cd09c[_0xa5ea66(0x21a)]||''],{'type':_0xa5ea66(0x1f2)})})];navigator[_0xa5ea66(0x236)][_0xa5ea66(0x1f7)](_0x3b5285);}else{const _0x53cab5=_0x4811d0[_0xa5ea66(0x21b)](_0xa5ea66(0x214));_0x53cab5[_0xa5ea66(0x222)][_0xa5ea66(0x1e8)]=_0xa5ea66(0x217),_0x53cab5[_0xa5ea66(0x222)][_0xa5ea66(0x218)]=_0xa5ea66(0x20e),_0x53cab5[_0xa5ea66(0x1fe)]=_0xa5ea66(0x220)+_0x1cd09c[_0xa5ea66(0x1fe)]+_0xa5ea66(0x1e5),_0x4811d0[_0xa5ea66(0x230)][_0xa5ea66(0x213)](_0x53cab5);const _0x4936ef=_0x4811d0[_0xa5ea66(0x22e)]();_0x4936ef[_0xa5ea66(0x228)](_0x53cab5[_0xa5ea66(0x21d)]),_0x4936ef[_0xa5ea66(0x1ee)](_0x53cab5[_0xa5ea66(0x1ea)]);const _0x57d1dc=_0xa9da4e[_0xa5ea66(0x20c)]();_0x57d1dc[_0xa5ea66(0x1ec)](),_0x57d1dc[_0xa5ea66(0x1f4)](_0x4936ef),_0x4811d0[_0xa5ea66(0x1ff)](_0xa5ea66(0x1e6)),_0x53cab5[_0xa5ea66(0x211)]();}}}export class ContentFieldView extends _0x166e05{constructor(_0x18225e,_0x255dc9=''){const _0x269aea=_0x24e300;super(_0x18225e),this[_0x269aea(0x231)]=this[_0x269aea(0x237)](),this[_0x269aea(0x1e9)]({'tag':_0x269aea(0x214),'attributes':{'class':['ck',_0x269aea(0x1fd),_0x255dc9,_0x269aea(0x233),_0x269aea(0x1e4)]}});}[_0x24e300(0x22d)](_0x34bae8){const _0x2d005f=_0x24e300;this[_0x2d005f(0x216)][_0x2d005f(0x1fe)]=_0x34bae8;}[_0x24e300(0x1f8)](){const _0x2d111d=_0x24e300;this[_0x2d111d(0x216)][_0x2d111d(0x213)](this[_0x2d111d(0x231)][_0x2d111d(0x216)]);}[_0x24e300(0x237)](){const _0x24679c=_0x24e300,_0x910042=new _0x166e05(),_0x880436=this[_0x24679c(0x205)],_0x314290=new _0x4925c1();return _0x314290[_0x24679c(0x200)]=!0x0,_0x910042[_0x24679c(0x1e9)]({'tag':_0x24679c(0x214),'attributes':{'class':['ck',_0x24679c(0x20a)]},'children':[_0x314290,{'text':_0x5cc123(_0x880436,_0x24679c(0x1ed))}]}),_0x910042[_0x24679c(0x1fc)](),_0x910042;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x47a1(){const _0x2f44a7=['text','setTemplate','div','3864872ScxTpd','4MzaOfY','content','202ecbmGd','668125ZUVLJh','3304152ouoKZr','ck-ai-form__error','3723LBKfSs','10ViCiIj','set','271348dUWBze','10645623hIKhOU','830553DhJOOp','bindTemplate'];_0x47a1=function(){return _0x2f44a7;};return _0x47a1();}(function(_0x25eec7,_0x28a0c6){const _0x54b7e4=_0xc9b8,_0x1fc986=_0x25eec7();while(!![]){try{const _0x34ef8e=-parseInt(_0x54b7e4(0x1d1))/0x1*(parseInt(_0x54b7e4(0x1cd))/0x2)+-parseInt(_0x54b7e4(0x1d6))/0x3*(parseInt(_0x54b7e4(0x1dc))/0x4)+-parseInt(_0x54b7e4(0x1ce))/0x5+-parseInt(_0x54b7e4(0x1cf))/0x6+parseInt(_0x54b7e4(0x1d4))/0x7+parseInt(_0x54b7e4(0x1db))/0x8+-parseInt(_0x54b7e4(0x1d5))/0x9*(-parseInt(_0x54b7e4(0x1d2))/0xa);if(_0x34ef8e===_0x28a0c6)break;else _0x1fc986['push'](_0x1fc986['shift']());}catch(_0x271df9){_0x1fc986['push'](_0x1fc986['shift']());}}}(_0x47a1,0x59ba9));import{IconError as _0x5bb52a}from'ckeditor5/src/icons.js';function _0xc9b8(_0x284738,_0x54e835){const _0x47a171=_0x47a1();return _0xc9b8=function(_0xc9b8d5,_0x24f524){_0xc9b8d5=_0xc9b8d5-0x1cd;let _0x193c42=_0x47a171[_0xc9b8d5];return _0x193c42;},_0xc9b8(_0x284738,_0x54e835);}import{View as _0x29278b,IconView as _0x474278}from'ckeditor5/src/ui.js';export default class st extends _0x29278b{constructor(_0x565d1e,_0x1985f4=''){const _0xaf90b4=_0xc9b8;super(_0x565d1e);const _0x55e75c=new _0x474278(),_0x6e9730=this[_0xaf90b4(0x1d7)];this[_0xaf90b4(0x1d3)](_0xaf90b4(0x1d8),_0x1985f4),_0x55e75c[_0xaf90b4(0x1dd)]=_0x5bb52a,this[_0xaf90b4(0x1d9)]({'tag':_0xaf90b4(0x1da),'attributes':{'class':['ck',_0xaf90b4(0x1d0)]},'children':[_0x55e75c,{'text':_0x6e9730['to'](_0xaf90b4(0x1d8))}]});}}
|