@ckeditor/ckeditor5-ai 45.0.0-alpha.0 → 45.0.0-alpha.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
|
+
function _0x415b(){const _0xffd69f=['Generate\x20from\x20selection','improveWriting','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','legal','locale','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Arabic','friendly','changeStyle','6REibRL','Translate\x20the\x20content\x20to\x20German\x20language.','Simplified\x20Chinese','filter','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','forEach','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20English\x20language.','translate','translatePortuguese','makeShorter','Change\x20style','groupId','Edit\x20or\x20review','AIAssistant','Journalism','6361230Ujutae','Simplify\x20language','commands','Professional','Legal','includes','push','ai.aiAssistant.removeCommands','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','define','set','2362653JmoYaB','ai.aiAssistant.commands','casual','makeLonger','translateArabic','10mYNHRb','get','Casual','ai.aiAssistant.preserveComments','Friendly','poetic','Confident','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Hindi','summarize','config','1jJkZxZ','editOrReview','Portuguese','find','158946NERAth','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Change\x20tone','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','changeTone','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','ai.aiAssistant.extraCommandGroups','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','business','Improve\x20writing','Translate\x20the\x20content\x20to\x20French\x20language.','Make\x20longer','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Summarize','5126805lMbfsd','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','journalism','Translate\x20the\x20content\x20to\x20Arabic\x20language.','isPremiumPlugin','2976239gvscxI','confident','Business','translateSpanish','professional','Direct','pluginName','translateFrench','English','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','German','continue','1040972PjyRPJ','6849880sjgHaP','translateChinese','French','direct','translateGerman','requires','generate','translateHindi','simplifyLanguage','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateEnglish','isOfficialPlugin','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','Poetic','Make\x20shorter','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Continue','concat','Spanish'];_0x415b=function(){return _0xffd69f;};return _0x415b();}const _0x14ac53=_0x53ad;(function(_0x331606,_0x423d28){const _0x1b25e2=_0x53ad,_0x3adc4d=_0x331606();while(!![]){try{const _0x183860=parseInt(_0x1b25e2(0x1cc))/0x1*(-parseInt(_0x1b25e2(0x1d0))/0x2)+parseInt(_0x1b25e2(0x210))/0x3*(parseInt(_0x1b25e2(0x1f1))/0x4)+parseInt(_0x1b25e2(0x1e0))/0x5+-parseInt(_0x1b25e2(0x220))/0x6+-parseInt(_0x1b25e2(0x1e5))/0x7+parseInt(_0x1b25e2(0x1f2))/0x8+parseInt(_0x1b25e2(0x1bc))/0x9*(-parseInt(_0x1b25e2(0x1c1))/0xa);if(_0x183860===_0x423d28)break;else _0x3adc4d['push'](_0x3adc4d['shift']());}catch(_0x305d74){_0x3adc4d['push'](_0x3adc4d['shift']());}}}(_0x415b,0x8c4f6));import{Plugin as _0x1933e8}from'ckeditor5/src/core.js';import _0x11fbd2 from'./aiassistantui.js';import _0x1a1824 from'./aiassistantediting.js';function _0x53ad(_0x47e35d,_0x3d036a){const _0x415be7=_0x415b();return _0x53ad=function(_0x53ad67,_0x5eafeb){_0x53ad67=_0x53ad67-0x1b2;let _0x21aea8=_0x415be7[_0x53ad67];return _0x21aea8;},_0x53ad(_0x47e35d,_0x3d036a);}import{getTranslation as _0x4a1f0e}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x49c311}from'./utils/normalizecommandsconfig.js';export default class r extends _0x1933e8{static get[_0x14ac53(0x1f7)](){return[_0x11fbd2,_0x1a1824];}static get[_0x14ac53(0x1eb)](){const _0x230cc8=_0x14ac53;return _0x230cc8(0x21e);}static get[_0x14ac53(0x1fd)](){return!0x0;}static get[_0x14ac53(0x1e4)](){return!0x0;}constructor(_0x2a1f65){const _0x3ae5ff=_0x14ac53;super(_0x2a1f65);const _0x3707b0=_0x2a1f65[_0x3ae5ff(0x1cb)],_0x3864ad=_0x2a1f65[_0x3ae5ff(0x20b)];_0x3707b0[_0x3ae5ff(0x1ba)](_0x3ae5ff(0x1c4),!0x0),_0x3707b0[_0x3ae5ff(0x1ba)](_0x3ae5ff(0x1bd),getDefaultCommands(_0x3864ad)),_0x3707b0[_0x3ae5ff(0x1ba)](_0x3ae5ff(0x1d6),[]),_0x3707b0[_0x3ae5ff(0x1ba)](_0x3ae5ff(0x1b8),[]);let _0x185df2=_0x49c311(_0x3707b0[_0x3ae5ff(0x1c2)](_0x3ae5ff(0x1bd)),_0x3864ad);const _0xf435ff=_0x3707b0[_0x3ae5ff(0x1c2)](_0x3ae5ff(0x1d6)),_0x4e4994=_0x3707b0[_0x3ae5ff(0x1c2)](_0x3ae5ff(0x1b8));_0xf435ff[_0x3ae5ff(0x215)](_0x3bd313=>{const _0x1dac3b=_0x3ae5ff,_0x471357=_0x185df2[_0x1dac3b(0x1cf)](_0x5cba93=>_0x5cba93[_0x1dac3b(0x21c)]===_0x3bd313[_0x1dac3b(0x21c)]);_0x471357?_0x471357[_0x1dac3b(0x1b3)]=_0x471357[_0x1dac3b(0x1b3)][_0x1dac3b(0x205)](_0x3bd313[_0x1dac3b(0x1b3)]):_0x185df2[_0x1dac3b(0x1b7)](_0x3bd313);}),_0x185df2=_0x185df2[_0x3ae5ff(0x213)](_0x22b6e4=>!_0x4e4994[_0x3ae5ff(0x1b6)](_0x22b6e4[_0x3ae5ff(0x21c)])),_0x185df2[_0x3ae5ff(0x215)](_0x5259ab=>{const _0x524e9d=_0x3ae5ff;_0x5259ab[_0x524e9d(0x1b3)]=_0x5259ab[_0x524e9d(0x1b3)][_0x524e9d(0x213)](_0x35cc37=>!_0x4e4994[_0x524e9d(0x1b6)](_0x35cc37['id']));}),_0x3707b0[_0x3ae5ff(0x1bb)](_0x3ae5ff(0x1bd),_0x185df2);}}export function getDefaultCommands(_0x35926b){const _0x51b7f8=_0x14ac53;return[{'groupId':_0x51b7f8(0x1cd),'groupLabel':_0x4a1f0e(_0x35926b,_0x51b7f8(0x21d)),'commands':[{'id':_0x51b7f8(0x208),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1d9)),'prompt':_0x51b7f8(0x1c8)},{'id':_0x51b7f8(0x21a),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x201)),'prompt':_0x51b7f8(0x216)},{'id':_0x51b7f8(0x1bf),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1db)),'prompt':_0x51b7f8(0x1dd)},{'id':_0x51b7f8(0x1fa),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1b2)),'prompt':_0x51b7f8(0x1de)}]},{'groupId':_0x51b7f8(0x1f8),'groupLabel':_0x4a1f0e(_0x35926b,_0x51b7f8(0x207)),'commands':[{'id':_0x51b7f8(0x1ca),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1df)),'prompt':_0x51b7f8(0x1fb)},{'id':_0x51b7f8(0x1f0),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x204)),'prompt':_0x51b7f8(0x203)}]},{'groupId':_0x51b7f8(0x1d4),'groupLabel':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1d2)),'commands':[{'id':_0x51b7f8(0x1e9),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1b4)),'prompt':_0x51b7f8(0x1fe)},{'id':_0x51b7f8(0x1be),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1c3)),'prompt':_0x51b7f8(0x214)},{'id':_0x51b7f8(0x1f5),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1ea)),'prompt':_0x51b7f8(0x1e1)},{'id':_0x51b7f8(0x1e6),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1c7)),'prompt':_0x51b7f8(0x209)},{'id':_0x51b7f8(0x20e),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1c5)),'prompt':_0x51b7f8(0x1d1)}]},{'groupId':_0x51b7f8(0x20f),'groupLabel':_0x4a1f0e(_0x35926b,_0x51b7f8(0x21b)),'commands':[{'id':_0x51b7f8(0x1d8),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1e7)),'prompt':_0x51b7f8(0x1d5)},{'id':_0x51b7f8(0x20a),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1b5)),'prompt':_0x51b7f8(0x1d3)},{'id':_0x51b7f8(0x1e2),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x21f)),'prompt':_0x51b7f8(0x1b9)},{'id':_0x51b7f8(0x1c6),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x200)),'prompt':_0x51b7f8(0x202)}]},{'groupId':_0x51b7f8(0x218),'groupLabel':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1ff)),'commands':[{'id':_0x51b7f8(0x1fc),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1ed)),'prompt':_0x51b7f8(0x217)},{'id':_0x51b7f8(0x1e8),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x206)),'prompt':_0x51b7f8(0x1dc)},{'id':_0x51b7f8(0x219),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1ce)),'prompt':_0x51b7f8(0x1ee)},{'id':_0x51b7f8(0x1f6),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1ef)),'prompt':_0x51b7f8(0x211)},{'id':_0x51b7f8(0x1ec),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1f4)),'prompt':_0x51b7f8(0x1da)},{'id':_0x51b7f8(0x1f3),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x212)),'prompt':_0x51b7f8(0x1d7)},{'id':_0x51b7f8(0x1f9),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x1c9)),'prompt':_0x51b7f8(0x20c)},{'id':_0x51b7f8(0x1c0),'label':_0x4a1f0e(_0x35926b,_0x51b7f8(0x20d)),'prompt':_0x51b7f8(0x1e3)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x268069=_0x3482;(function(_0x295778,_0x31a300){const _0x1843ae=_0x3482,_0x46b77b=_0x295778();while(!![]){try{const _0x3b8b82=-parseInt(_0x1843ae(0x1b7))/0x1+parseInt(_0x1843ae(0x1ca))/0x2*(-parseInt(_0x1843ae(0x17b))/0x3)+-parseInt(_0x1843ae(0x1d4))/0x4*(-parseInt(_0x1843ae(0x186))/0x5)+parseInt(_0x1843ae(0x1cc))/0x6*(parseInt(_0x1843ae(0x1c8))/0x7)+-parseInt(_0x1843ae(0x1bc))/0x8+-parseInt(_0x1843ae(0x17e))/0x9*(parseInt(_0x1843ae(0x181))/0xa)+parseInt(_0x1843ae(0x180))/0xb;if(_0x3b8b82===_0x31a300)break;else _0x46b77b['push'](_0x46b77b['shift']());}catch(_0x2d93fc){_0x46b77b['push'](_0x46b77b['shift']());}}}(_0x3d03,0xf3469));import{uid as _0x254af6}from'ckeditor5/src/utils.js';function _0x3d03(){const _0x12d0d9=['schema','getLastPosition','plugins','126uWOGHf','getSelectedBlocks','6852FWRzto','lowest','374454pFLzag','getChildren','pop','ck-ai-assistant-ui_theme','resultRange','createPositionAfter','selection','getChild','585436jHXZbL','_prepareTableInsertBelowPosition','ck-fake-ai-selection_collapsed','getMarkersGroup','isAtEnd','editor','getLastMatchingPosition','getRows','ck-fake-ai-selection','length','forEach','markerToHighlight','from','DataTransfer','end','has','getRange','canEditAt','paste','filter','getColumnIndexes','start','1314BLlUWG','_getDefaultInsertBelowPosition','href','9aoWhSa','getSelectedTableCells','45764818cBunDk','15121570OJBUgb','change','setData','span','createPositionAt','35TfxVAW','createUIElement','TableUtils','first','last','conversion','isContent','table','getRanges','model','_getTableRowCountFromContent','join','markers','text/html','editingDowncast','fire','parse','insertContentBelow','get','contentInsertion','editing','deleteContent','insertRows','findAncestor','createSelection','addMarker','getFirstRange','setSelection','once','isCollapsed','fromCharCode','map','afterInit','document','markerRange','data','AIAssistantEditing','for','insertContent','addClass','init','push','isPremiumPlugin','pluginName','_pasteHTMLUsingClipboard','updateMarker','hideFakeVisualSelection','getRowIndexes','ai-ui','797630uoscFK','markerToElement','removeMarker','element','_getAISelection','12011848GDgdXp','showFakeVisualSelection','createRange','ai.useTheme','_createEmptyTableRows','off','_resetContentOfSelectedTableCells','config','isOfficialPlugin'];_0x3d03=function(){return _0x12d0d9;};return _0x3d03();}function _0x3482(_0x4e0b07,_0x41f578){const _0x3d036d=_0x3d03();return _0x3482=function(_0x3482ef,_0x43312c){_0x3482ef=_0x3482ef-0x17a;let _0x406692=_0x3d036d[_0x3482ef];return _0x406692;},_0x3482(_0x4e0b07,_0x41f578);}import{Plugin as _0x3f93da}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5c5595}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3c846a,DataTransfer as _0x58df74}from'ckeditor5/src/engine.js';const w=globalThis[_0x268069(0x1e1)],f=_0x268069(0x1b6);export default class a extends _0x3f93da{static get[_0x268069(0x1b1)](){const _0x5931d9=_0x268069;return _0x5931d9(0x1aa);}static get[_0x268069(0x1c4)](){return!0x0;}static get[_0x268069(0x1b0)](){return!0x0;}[_0x268069(0x1ae)](){const _0x5b5c2c=_0x268069,{editor:_0x53876c}=this,_0x463eab=[_0x5b5c2c(0x1dc)];_0x53876c[_0x5b5c2c(0x1c3)][_0x5b5c2c(0x198)](_0x5b5c2c(0x1bf))&&_0x463eab[_0x5b5c2c(0x1af)](_0x5b5c2c(0x1cf)),_0x53876c[_0x5b5c2c(0x18b)][_0x5b5c2c(0x1ab)](_0x5b5c2c(0x194))[_0x5b5c2c(0x1df)]({'model':f,'view':{'classes':_0x463eab,'priority':0xc}}),_0x53876c[_0x5b5c2c(0x18b)][_0x5b5c2c(0x1ab)](_0x5b5c2c(0x194))[_0x5b5c2c(0x1b8)]({'model':f,'view':(_0x5ce05f,{writer:_0x4671f6})=>{const _0x1b80d3=_0x5b5c2c;if(!_0x5ce05f[_0x1b80d3(0x1a8)][_0x1b80d3(0x1a3)])return null;const _0x59313f=_0x4671f6[_0x1b80d3(0x187)](_0x1b80d3(0x184));return _0x4671f6[_0x1b80d3(0x1ad)]([_0x1b80d3(0x1dc),_0x1b80d3(0x1d6)],_0x59313f),_0x59313f;}});}[_0x268069(0x1a6)](){!async function(_0x1a5d03){const _0xb341b4=_0x572287([0x38,0x6f,0x39,0x4d,0x32,0x50,0x71,0x6d,0x57,0x78,0x30,0x55,0x4e,0x64,0x52,0x70,0x6e,0x44,0x34,0x6a,0x36,0x5a,0x7a,0x41,0x66,0x73,0x62,0x4c,0x46,0x43,0x58,0x72,0x4f,0x59,0x31,0x61,0x53,0x54,0x56,0x37,0x51,0x35,0x68,0x75,0x69,0x77,0x79,0x6b,0x6c,0x48,0x49,0x76,0x47,0x4a,0x42,0x74,0x4b,0x65,0x67,0x63,0x45,0x33]),_0xf892c0=0x6e63e85a,_0x3be48e=0x6e648b62^_0xf892c0,_0xc23c39=window[_0x572287([0x44,0x61,0x74,0x65])][_0x572287([0x6e,0x6f,0x77])](),_0x4e49ac=_0x1a5d03[_0x572287([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f7c46=new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eaf08=>{_0x4e49ac[_0x572287([0x6f,0x6e,0x63,0x65])](_0x572287([0x72,0x65,0x61,0x64,0x79]),_0x2eaf08);}),_0x48d6d5={[_0x572287([0x6b,0x74,0x79])]:_0x572287([0x45,0x43]),[_0x572287([0x75,0x73,0x65])]:_0x572287([0x73,0x69,0x67]),[_0x572287([0x63,0x72,0x76])]:_0x572287([0x50,0x2d,0x32,0x35,0x36]),[_0x572287([0x78])]:_0x572287([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x572287([0x79])]:_0x572287([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x572287([0x61,0x6c,0x67])]:_0x572287([0x45,0x53,0x32,0x35,0x36])},_0x300011=_0x4e49ac[_0x572287([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x572287([0x67,0x65,0x74])](_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47cf88(){let _0x214a73,_0x50624f=null,_0x5376bf=null;try{if(_0x300011==_0x572287([0x47,0x50,0x4c]))return _0x572287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x214a73=_0x1f3ec5(),!_0x214a73)return _0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x214a73[_0x572287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5376bf=_0x2d9967(_0x214a73[_0x572287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x214a73[_0x572287([0x6a,0x74,0x69])])),await _0x44aca4()?_0x3b7cb5()?_0x3ea03a()?_0x572287([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38f4da()?(_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50624f=_0x10eced(_0x572287([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572287([0x74,0x72,0x69,0x61,0x6c])&&(_0x50624f=_0x10eced(_0x572287([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x356763()):_0x572287([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x572287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37c390){return _0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ea03a(){const _0xb37495=[_0x572287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x572287([0x74,0x72,0x69,0x61,0x6c])][_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc23c39/0x3e8:0xe10*_0x3be48e;return _0x214a73[_0x572287([0x65,0x78,0x70])]<_0xb37495;}function _0x3b7cb5(){const _0x4f93fd=_0x214a73[_0x572287([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f93fd&&(!!_0x4f93fd[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x2a]))||!!_0x4f93fd[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x41,0x49])));}function _0x38f4da(){const _0x4d19e4=_0x3482,_0x259724=_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x259724||0x0==_0x259724[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39a360}=new URL(window[_0x572287([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d19e4(0x17d)]);if(_0x259724[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39a360))return!0x0;const _0x514eb5=_0x39a360[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e]));return _0x259724[_0x572287([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56ad96=>_0x56ad96[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x2a])))[_0x572287([0x6d,0x61,0x70])](_0x1d350c=>_0x1d350c[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e])))[_0x572287([0x73,0x6f,0x6d,0x65])](_0x546641=>_0x514eb5[_0x572287([0x65,0x76,0x65,0x72,0x79])]((_0x2ca427,_0x3004c8)=>_0x546641[_0x3004c8]===_0x2ca427||_0x546641[_0x3004c8]===_0x572287([0x2a])));}function _0x356763(){return _0x50624f&&_0x5376bf?new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f5b7d,_0x4ed2f1)=>{_0x50624f[_0x572287([0x74,0x68,0x65,0x6e])](_0x1f5b7d,_0x4ed2f1),_0x5376bf[_0x572287([0x74,0x68,0x65,0x6e])](_0x5ea80f=>{_0x5ea80f!=_0x572287([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5b7d(_0x5ea80f);},_0x4ed2f1);}):_0x50624f||_0x5376bf||_0x572287([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d9967(_0x41785e,_0x1dac6c){return new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50ef7c=>{if(_0x3b93ec())return _0x50ef7c(_0x572287([0x56,0x61,0x6c,0x69,0x64]));_0x7b33af(),_0x4e49ac[_0x572287([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31bc22=!0x1;const _0xb23bd2=_0x254af6();function _0x21d1a5(_0x38469b){return!!_0x38469b&&(typeof _0x38469b===_0x572287([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38469b===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38469b[_0x572287([0x74,0x68,0x65,0x6e])]===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38469b[_0x572287([0x63,0x61,0x74,0x63,0x68])]===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe44439(_0x1229b3){_0x37855c(_0x1229b3)[_0x572287([0x74,0x68,0x65,0x6e])](_0x44d702=>{if(!_0x44d702||_0x44d702[_0x572287([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x572287([0x6f,0x6b]))return _0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3aedc4(_0x198d45(_0xb23bd2+_0x1dac6c))!=_0x44d702[_0x572287([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x572287([0x56,0x61,0x6c,0x69,0x64]);})[_0x572287([0x74,0x68,0x65,0x6e])](_0x5d3633=>(_0x2ae807(),_0x5d3633),()=>{const _0x248590=_0x54e209();return null==_0x248590?(_0x2ae807(),_0x572287([0x56,0x61,0x6c,0x69,0x64])):_0x572287(_0xc23c39-_0x248590>(0x4a6f6c5a^_0xf892c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x572287([0x74,0x68,0x65,0x6e])](_0x50ef7c)[_0x572287([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29fbc4=0x6e5506da^_0xf892c0;function _0x2ae807(){const _0x155157=_0x572287([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedc4(_0x198d45(_0x41785e)),_0xcaaa1e=_0x51d31f(_0x3aedc4(window[_0x572287([0x4d,0x61,0x74,0x68])][_0x572287([0x63,0x65,0x69,0x6c])](_0xc23c39/_0x29fbc4)));window[_0x572287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572287([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x155157,_0xcaaa1e);}function _0x54e209(){const _0x21e2c2=_0x572287([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedc4(_0x198d45(_0x41785e)),_0x23ff46=window[_0x572287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572287([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21e2c2);return _0x23ff46?window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d31f(_0x23ff46),0x10)*_0x29fbc4:null;}function _0x37855c(_0x1a5b4b){return new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x141f0d,_0x5b8f88)=>{_0x1a5b4b[_0x572287([0x74,0x68,0x65,0x6e])](_0x141f0d,_0x5b8f88),window[_0x572287([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b8f88,0x6e623c9a^_0xf892c0);});}}_0x4e49ac[_0x572287([0x6f,0x6e])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d93b0,_0x3619d6)=>{if(_0x3619d6[0x0]!=_0x41785e)return _0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3619d6[0x1]={..._0x3619d6[0x1],[_0x572287([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb23bd2};},{[_0x572287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572287([0x68,0x69,0x67,0x68])}),_0x4e49ac[_0x572287([0x6f,0x6e])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53d409=>{_0x21d1a5(_0x53d409[_0x572287([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31bc22=!0x0,_0xe44439(_0x53d409[_0x572287([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x572287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572287([0x6c,0x6f,0x77])}),_0x4f7c46[_0x572287([0x74,0x68,0x65,0x6e])](()=>{_0x31bc22||_0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b93ec(){return _0x4e49ac[_0x572287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572287([0x76,0x69,0x65,0x77])][_0x572287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x572287([0x61,0x75,0x74,0x6f]);}function _0x7b33af(){_0x4e49ac[_0x572287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572287([0x76,0x69,0x65,0x77])][_0x572287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x572287([0x61,0x75,0x74,0x6f]);}}function _0x10eced(_0x699e4b){const _0x25f929=[new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bee0b=>setTimeout(_0x3bee0b,0x6e6ad696^_0xf892c0)),_0x4f7c46[_0x572287([0x74,0x68,0x65,0x6e])](()=>new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x218858=>{let _0xd0251c=0x0;_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x6f,0x6e])](_0x572287([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21df68,_0x4e8882)=>{_0x4e8882[0x0][_0x572287([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd0251c++,_0xd0251c==(0x6e63e9a2^_0xf892c0)&&(_0x218858(),_0x21df68[_0x572287([0x6f,0x66,0x66])]());});}))];return window[_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x572287([0x72,0x61,0x63,0x65])](_0x25f929)[_0x572287([0x74,0x68,0x65,0x6e])](()=>_0x699e4b);}async function _0x18e235(){await _0x4f7c46,_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30826c,_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30826c,_0x4e49ac[_0x572287([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x572287([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x80c012(_0x2de772){const _0x2e7043=_0xf310e9();_0x4e49ac[_0x2e7043]=_0x572287([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2de772,_0x2de772!=_0x572287([0x56,0x61,0x6c,0x69,0x64])&&_0x18e235();}function _0xf310e9(){const _0x239926=window[_0x572287([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x572287([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x572287([0x6e,0x6f,0x77])]())[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x572287([0x2e]),'');let _0x19d345=_0x572287([0x6f]);for(let _0x1111cc=0x0;_0x1111cc<_0x239926[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1111cc+=0x2){let _0x4f5386=window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x239926[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1111cc,_0x1111cc+0x2));_0x4f5386>=_0xb341b4[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f5386-=_0xb341b4[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19d345+=_0xb341b4[_0x4f5386];}return _0x19d345;}function _0x1f3ec5(){const _0x30bd06=_0x300011[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e]));if(0x3!=_0x30bd06[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x497cfa(_0x30bd06[0x1]);function _0x497cfa(_0x157e62){const _0x2a3989=_0x4f7d0e(_0x157e62);return _0x2a3989&&_0xb0959c()?_0x2a3989:null;function _0xb0959c(){const _0xa57b46=_0x2a3989[_0x572287([0x6a,0x74,0x69])],_0x1cb4df=window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa57b46[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa57b46[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x125729={..._0x2a3989,[_0x572287([0x6a,0x74,0x69])]:_0xa57b46[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa57b46[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x125729[_0x572287([0x76,0x63])],_0x198d45(_0x125729)==_0x1cb4df;}}}async function _0x44aca4(){let _0x30fee3=!0x0;try{const _0x473b81=_0x300011[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e])),[_0x473dbe,_0x10b819,_0x3a59b9]=_0x473b81;return _0x390797(_0x473dbe),await _0x236889(_0x473dbe,_0x10b819,_0x3a59b9),_0x30fee3;}catch(_0x52a1e4){return!0x1;}function _0x390797(_0x34a279){const _0x2c3c6b=_0x4f7d0e(_0x34a279);_0x2c3c6b&&_0x2c3c6b[_0x572287([0x61,0x6c,0x67])]==_0x572287([0x45,0x53,0x32,0x35,0x36])||(_0x30fee3=!0x1);}async function _0x236889(_0x4b5e7b,_0x3ae6ee,_0xafdf6c){const _0x5d6a5f=window[_0x572287([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x572287([0x66,0x72,0x6f,0x6d])](_0x4d2843(_0xafdf6c),_0x3d2c4b=>_0x3d2c4b[_0x572287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c863e=new window[(_0x572287([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x572287([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b5e7b+_0x572287([0x2e])+_0x3ae6ee),_0xa208f3=window[_0x572287([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x572287([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa208f3)return;const _0x2a75e2=await _0xa208f3[_0x572287([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x572287([0x6a,0x77,0x6b]),_0x48d6d5,{[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x45,0x43,0x44,0x53,0x41]),[_0x572287([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x572287([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x572287([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa208f3[_0x572287([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x45,0x43,0x44,0x53,0x41]),[_0x572287([0x68,0x61,0x73,0x68])]:{[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a75e2,_0x5d6a5f,_0x4c863e)||(_0x30fee3=!0x1);}}function _0x4f7d0e(_0x13e8c7){return _0x13e8c7[_0x572287([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x572287([0x65,0x79]))?JSON[_0x572287([0x70,0x61,0x72,0x73,0x65])](_0x4d2843(_0x13e8c7)):null;}function _0x4d2843(_0x23a790){return window[_0x572287([0x61,0x74,0x6f,0x62])](_0x23a790[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x572287([0x2b]))[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x572287([0x2f])));}function _0x198d45(_0x1bec4e){let _0x560ca9=0x1505;function _0x4e1d75(_0x64c7e3){for(let _0x37b79d=0x0;_0x37b79d<_0x64c7e3[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37b79d++){const _0x4a5d27=_0x64c7e3[_0x572287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37b79d);_0x560ca9=(_0x560ca9<<0x5)+_0x560ca9+_0x4a5d27,_0x560ca9&=_0x560ca9;}}function _0x145660(_0x5ca889){Array[_0x572287([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ca889)?_0x5ca889[_0x572287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x145660):_0x5ca889&&typeof _0x5ca889==_0x572287([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x572287([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ca889)[_0x572287([0x73,0x6f,0x72,0x74])]()[_0x572287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1974c3,_0x5e77ae])=>{_0x4e1d75(_0x1974c3),_0x145660(_0x5e77ae);}):_0x4e1d75(window[_0x572287([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ca889));}return _0x145660(_0x1bec4e),_0x560ca9>>>0x0;}function _0x3aedc4(_0x29580a){return _0x29580a[_0x572287([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x572287([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x572287([0x30]));}function _0x51d31f(_0x437c75){return _0x437c75[_0x572287([0x73,0x70,0x6c,0x69,0x74])]('')[_0x572287([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x572287([0x6a,0x6f,0x69,0x6e])]('');}function _0x30826c(){}function _0x572287(_0x439074){const _0x1a233e=_0x3482;return _0x439074[_0x1a233e(0x1a5)](_0x42037a=>String[_0x1a233e(0x1a4)](_0x42037a))[_0x1a233e(0x191)]('');}_0x80c012(await _0x47cf88());}(this);}[_0x268069(0x1bd)](){const _0x3cc0b0=_0x268069,_0x3bf80e=this[_0x3cc0b0(0x1d9)][_0x3cc0b0(0x18f)];_0x3bf80e[_0x3cc0b0(0x182)](_0x2bc3ad=>{const _0x442867=_0x3cc0b0,_0x52c0e3=_0x3bf80e[_0x442867(0x1a7)][_0x442867(0x1d2)][_0x442867(0x18e)]();let _0x34a1ba=0x0;for(const _0x222ec2 of _0x52c0e3){const _0x587a17=f+':'+_0x34a1ba;if(_0x3bf80e[_0x442867(0x192)][_0x442867(0x1e3)](_0x587a17))_0x2bc3ad[_0x442867(0x1b3)](_0x587a17,{'range':_0x222ec2});else{if(_0x222ec2[_0x442867(0x17a)][_0x442867(0x1d8)]){const _0x44711c=_0x222ec2[_0x442867(0x17a)][_0x442867(0x1da)](({item:_0x16f34d})=>!_0x3bf80e[_0x442867(0x1c5)][_0x442867(0x18c)](_0x16f34d),{'boundaries':_0x222ec2});_0x2bc3ad[_0x442867(0x19f)](_0x587a17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2bc3ad[_0x442867(0x1be)](_0x44711c,_0x222ec2[_0x442867(0x1e2)])});}else _0x2bc3ad[_0x442867(0x19f)](_0x587a17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x222ec2});}_0x34a1ba++;}});}[_0x268069(0x1b4)](){const _0x296f2b=_0x268069,_0x554d03=this[_0x296f2b(0x1d9)][_0x296f2b(0x18f)],_0x431715=Array[_0x296f2b(0x1e0)](this[_0x296f2b(0x1d9)][_0x296f2b(0x18f)][_0x296f2b(0x192)][_0x296f2b(0x1d7)](f));_0x431715[_0x296f2b(0x1dd)]&&_0x554d03[_0x296f2b(0x182)](_0x208bcc=>{const _0x271394=_0x296f2b;_0x431715[_0x271394(0x1de)](_0x48d9b5=>{const _0x14f95a=_0x271394;_0x208bcc[_0x14f95a(0x1b9)](_0x48d9b5);});});}[_0x268069(0x1ac)](_0x425010,_0x1bc61d){const _0x3a4b17=_0x268069,_0x1dfca3=this[_0x3a4b17(0x1bb)](),_0x3dc30d=_0x1bc61d||_0x1dfca3[_0x3a4b17(0x1a0)]();this[_0x3a4b17(0x1d9)][_0x3a4b17(0x18f)][_0x3a4b17(0x1e5)](_0x3dc30d)&&this[_0x3a4b17(0x1d9)][_0x3a4b17(0x18f)][_0x3a4b17(0x182)](_0x460c6=>{const _0x23c8b2=_0x3a4b17;this[_0x23c8b2(0x1b4)](),_0x1bc61d||this[_0x23c8b2(0x1c2)](_0x460c6,_0x1dfca3),this[_0x23c8b2(0x1b2)]({'insertAt':_0x3dc30d,'writer':_0x460c6,'html':_0x425010});});}[_0x268069(0x197)](_0x21d241){const _0x1d4c5e=_0x268069,{model:_0x3a3110}=this[_0x1d4c5e(0x1d9)],_0x5745c1=this[_0x1d4c5e(0x1bb)]();_0x3a3110[_0x1d4c5e(0x182)](()=>{const _0x35b330=_0x1d4c5e,_0x51ee7f=this[_0x35b330(0x1d5)](_0x21d241,_0x5745c1)||this[_0x35b330(0x17c)](_0x5745c1);this[_0x35b330(0x1ac)](_0x21d241,_0x51ee7f);});}[_0x268069(0x1bb)](){const _0xa8f786=_0x268069,_0x1ed906=this[_0xa8f786(0x1d9)][_0xa8f786(0x18f)],_0x806253=Array[_0xa8f786(0x1e0)](_0x1ed906[_0xa8f786(0x192)][_0xa8f786(0x1d7)](f))[_0xa8f786(0x1a5)](_0x225708=>_0x225708[_0xa8f786(0x1e4)]());return _0x1ed906[_0xa8f786(0x19e)](_0x806253);}[_0x268069(0x1b2)]({writer:_0x5194de,html:_0x398cd5,insertAt:_0x13ab6d}){const _0x506bb3=_0x268069,{view:_0x40f55e}=this[_0x506bb3(0x1d9)][_0x506bb3(0x19a)],_0x121b84=this[_0x506bb3(0x1d9)][_0x506bb3(0x1c7)][_0x506bb3(0x198)](_0x5c5595),_0x56bba3=new w();_0x56bba3[_0x506bb3(0x183)](_0x506bb3(0x193),_0x398cd5);const _0x2ba196=new ClipboardEvent(_0x506bb3(0x1e6),{'clipboardData':_0x56bba3}),_0x5a664d=new _0x3c846a(_0x40f55e,_0x2ba196,{'dataTransfer':new _0x58df74(_0x56bba3)});_0x5194de[_0x506bb3(0x1a1)](_0x13ab6d);const _0x2008e9=(_0x416659,_0x317d6d)=>{const _0x41acda=_0x506bb3;_0x317d6d[_0x41acda(0x1d0)]&&_0x5194de[_0x41acda(0x1a1)](_0x317d6d[_0x41acda(0x1d0)]);};_0x121b84[_0x506bb3(0x1a2)](_0x506bb3(0x199),_0x2008e9,{'priority':_0x506bb3(0x1cb)}),_0x40f55e[_0x506bb3(0x1a7)][_0x506bb3(0x195)](_0x506bb3(0x1e6),_0x5a664d),_0x121b84[_0x506bb3(0x1c1)](_0x506bb3(0x199),_0x2008e9);}[_0x268069(0x17c)](_0xb57ad6){const _0x525a4c=_0x268069,{model:_0x4967a0}=this[_0x525a4c(0x1d9)],_0x44778f=Array[_0x525a4c(0x1e0)](_0xb57ad6[_0x525a4c(0x1c9)]());return _0x44778f[_0x525a4c(0x1dd)]?_0x4967a0[_0x525a4c(0x1d1)](_0x44778f[_0x525a4c(0x1ce)]()):_0xb57ad6[_0x525a4c(0x1c6)]();}[_0x268069(0x1d5)](_0x7c54e4,_0x5e5aba){const _0x2c7ced=_0x268069,{model:_0x447d06,plugins:_0x48940e}=this[_0x2c7ced(0x1d9)];if(_0x48940e[_0x2c7ced(0x1e3)](_0x2c7ced(0x188))){const _0x2ff526=_0x48940e[_0x2c7ced(0x198)](_0x2c7ced(0x188))[_0x2c7ced(0x17f)](_0x5e5aba);if(_0x2ff526[_0x2c7ced(0x1dd)]){const _0x507ee6=this[_0x2c7ced(0x190)](_0x7c54e4),_0xc5896b=this[_0x2c7ced(0x1c0)](_0x2ff526,_0x507ee6);return _0x447d06[_0x2c7ced(0x185)](_0xc5896b,0x0);}}return null;}[_0x268069(0x190)](_0x3c1442){const _0x91307d=_0x268069,_0x2a9a94=this[_0x91307d(0x1d9)][_0x91307d(0x1c7)][_0x91307d(0x198)](_0x91307d(0x188)),_0x67145=this[_0x91307d(0x1d9)][_0x91307d(0x1a9)][_0x91307d(0x196)](_0x3c1442),_0x3240ae=Array[_0x91307d(0x1e0)](_0x67145[_0x91307d(0x1cd)]())[_0x91307d(0x1e7)](_0x3b5bb3=>_0x3b5bb3['is'](_0x91307d(0x1ba),_0x91307d(0x18d)));let _0x1644d9=0x0;return _0x3240ae[_0x91307d(0x1de)](_0x38c2f5=>{const _0x5088a6=_0x91307d;_0x1644d9+=_0x2a9a94[_0x5088a6(0x1db)](_0x38c2f5);}),_0x1644d9;}[_0x268069(0x1c0)](_0x1c3b11,_0x12584b){const _0xfbb973=_0x268069,_0x392e09=this[_0xfbb973(0x1d9)][_0xfbb973(0x1c7)][_0xfbb973(0x198)](_0xfbb973(0x188)),_0x15e067=_0x392e09[_0xfbb973(0x1b5)](_0x1c3b11),_0x34a203=_0x392e09[_0xfbb973(0x1e8)](_0x1c3b11),_0x4f1376=_0x15e067[_0xfbb973(0x18a)]+0x1,_0x1e45b7=_0x34a203[_0xfbb973(0x189)],_0x531f3c=_0x1c3b11[0x0][_0xfbb973(0x19d)](_0xfbb973(0x18d));for(let _0x5b0946=0x0;_0x5b0946<_0x12584b;_0x5b0946++)_0x392e09[_0xfbb973(0x19c)](_0x531f3c,{'at':_0x4f1376});return _0x531f3c[_0xfbb973(0x1d3)](_0x4f1376)[_0xfbb973(0x1d3)](_0x1e45b7);}[_0x268069(0x1c2)](_0x5c114b,_0x288eec){const _0x11985f=_0x268069,{plugins:_0x1c8e2f}=this[_0x11985f(0x1d9)],{model:_0x36e437}=_0x5c114b;if(!_0x1c8e2f[_0x11985f(0x1e3)](_0x11985f(0x188)))return;_0x1c8e2f[_0x11985f(0x198)](_0x11985f(0x188))[_0x11985f(0x17f)](_0x288eec)[_0x11985f(0x1dd)]&&_0x36e437[_0x11985f(0x19b)](_0x288eec);}}
|
|
23
|
+
const _0x1f423d=_0x188d;(function(_0x437022,_0x2724e5){const _0xd4b973=_0x188d,_0x24499e=_0x437022();while(!![]){try{const _0x5975a1=-parseInt(_0xd4b973(0x115))/0x1*(parseInt(_0xd4b973(0x128))/0x2)+parseInt(_0xd4b973(0x108))/0x3+parseInt(_0xd4b973(0x130))/0x4*(-parseInt(_0xd4b973(0x145))/0x5)+-parseInt(_0xd4b973(0xfa))/0x6+-parseInt(_0xd4b973(0x152))/0x7*(-parseInt(_0xd4b973(0xff))/0x8)+-parseInt(_0xd4b973(0x150))/0x9*(-parseInt(_0xd4b973(0x14b))/0xa)+parseInt(_0xd4b973(0x123))/0xb*(-parseInt(_0xd4b973(0x11b))/0xc);if(_0x5975a1===_0x2724e5)break;else _0x24499e['push'](_0x24499e['shift']());}catch(_0x2eff63){_0x24499e['push'](_0x24499e['shift']());}}}(_0x21ef,0x7e0f1));import{uid as _0x5b7bf0}from'ckeditor5/src/utils.js';import{Plugin as _0xad66be}from'ckeditor5/src/core.js';function _0x188d(_0xedd0df,_0xeb823f){const _0x21ef87=_0x21ef();return _0x188d=function(_0x188d1b,_0x2b24e8){_0x188d1b=_0x188d1b-0xeb;let _0x46cbe1=_0x21ef87[_0x188d1b];return _0x46cbe1;},_0x188d(_0xedd0df,_0xeb823f);}function _0x21ef(){const _0x54ab3c=['get','ck-ai-assistant-ui_theme','_createEmptyTableRows','_getDefaultInsertBelowPosition','getLastMatchingPosition','isOfficialPlugin','join','off','895muCbit','isContent','insertContent','document','isAtEnd','for','10yoNcCL','length','text/html','getChildren','_getAISelection','3323277Ugjujy','plugins','7mOXcck','canEditAt','createRange','forEach','paste','element','getColumnIndexes','ai.useTheme','ck-fake-ai-selection_collapsed','table','_prepareTableInsertBelowPosition','from','getMarkersGroup','findAncestor','span','model','fromCharCode','editingDowncast','markerToElement','TableUtils','last','addMarker','change','AIAssistantEditing','1076718zRTSrW','ck-fake-ai-selection','selection','isPremiumPlugin','contentInsertion','4041976sFViUk','updateMarker','resultRange','markers','isCollapsed','setData','getRanges','lowest','schema','134952ITqQTv','createPositionAfter','getRange','markerToHighlight','pluginName','init','end','parse','getRowIndexes','filter','_pasteHTMLUsingClipboard','fire','ai-ui','30Cnfxli','createPositionAt','pop','insertContentBelow','hideFakeVisualSelection','getRows','12WkjvzC','map','first','createUIElement','getChild','getFirstRange','getSelectedBlocks','setSelection','1592987bDitwo','insertRows','data','_resetContentOfSelectedTableCells','href','1762djoiEW','push','config','editing','deleteContent','removeMarker','editor','getLastPosition','1172kxFyib','createSelection','markerRange','getSelectedTableCells','has','addClass','DataTransfer','conversion','once','afterInit','showFakeVisualSelection','_getTableRowCountFromContent','start'];_0x21ef=function(){return _0x54ab3c;};return _0x21ef();}import{ClipboardPipeline as _0x2509c2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1b5380,DataTransfer as _0x45a215}from'ckeditor5/src/engine.js';const w=globalThis[_0x1f423d(0x136)],f=_0x1f423d(0x114);export default class a extends _0xad66be{static get[_0x1f423d(0x10c)](){const _0x55ae9b=_0x1f423d;return _0x55ae9b(0xf9);}static get[_0x1f423d(0x142)](){return!0x0;}static get[_0x1f423d(0xfd)](){return!0x0;}[_0x1f423d(0x10d)](){const _0x182177=_0x1f423d,{editor:_0x5d1394}=this,_0x55235b=[_0x182177(0xfb)];_0x5d1394[_0x182177(0x12a)][_0x182177(0x13d)](_0x182177(0x159))&&_0x55235b[_0x182177(0x129)](_0x182177(0x13e)),_0x5d1394[_0x182177(0x137)][_0x182177(0x14a)](_0x182177(0xf3))[_0x182177(0x10b)]({'model':f,'view':{'classes':_0x55235b,'priority':0xc}}),_0x5d1394[_0x182177(0x137)][_0x182177(0x14a)](_0x182177(0xf3))[_0x182177(0xf4)]({'model':f,'view':(_0x3c8bc5,{writer:_0x41b3a3})=>{const _0x4c67f2=_0x182177;if(!_0x3c8bc5[_0x4c67f2(0x132)][_0x4c67f2(0x103)])return null;const _0x1bb155=_0x41b3a3[_0x4c67f2(0x11e)](_0x4c67f2(0xf0));return _0x41b3a3[_0x4c67f2(0x135)]([_0x4c67f2(0xfb),_0x4c67f2(0x15a)],_0x1bb155),_0x1bb155;}});}[_0x1f423d(0x139)](){!async function(_0x1cc07d){const _0x4f2594=_0x2c0eae([0x46,0x30,0x38,0x56,0x77,0x61,0x63,0x6c,0x34,0x73,0x39,0x4c,0x6f,0x65,0x4a,0x47,0x54,0x70,0x6d,0x33,0x6b,0x31,0x69,0x76,0x57,0x52,0x4f,0x68,0x66,0x4b,0x67,0x78,0x37,0x32,0x4d,0x48,0x55,0x64,0x72,0x45,0x50,0x44,0x53,0x5a,0x59,0x62,0x41,0x36,0x79,0x43,0x6e,0x74,0x6a,0x7a,0x42,0x51,0x49,0x35,0x58,0x75,0x71,0x4e]),_0x168022=0x28a79a7,_0x508580=0x28d1af7^_0x168022,_0x33e17c=window[_0x2c0eae([0x44,0x61,0x74,0x65])][_0x2c0eae([0x6e,0x6f,0x77])](),_0x2bf4de=_0x1cc07d[_0x2c0eae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bfa5b=new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x149bbf=>{_0x2bf4de[_0x2c0eae([0x6f,0x6e,0x63,0x65])](_0x2c0eae([0x72,0x65,0x61,0x64,0x79]),_0x149bbf);}),_0x5be7d4={[_0x2c0eae([0x6b,0x74,0x79])]:_0x2c0eae([0x45,0x43]),[_0x2c0eae([0x75,0x73,0x65])]:_0x2c0eae([0x73,0x69,0x67]),[_0x2c0eae([0x63,0x72,0x76])]:_0x2c0eae([0x50,0x2d,0x32,0x35,0x36]),[_0x2c0eae([0x78])]:_0x2c0eae([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2c0eae([0x79])]:_0x2c0eae([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2c0eae([0x61,0x6c,0x67])]:_0x2c0eae([0x45,0x53,0x32,0x35,0x36])},_0x3024f3=_0x2bf4de[_0x2c0eae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c0eae([0x67,0x65,0x74])](_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d0f3b(){let _0x5ab849,_0x56a516=null,_0x86f793=null;try{if(_0x3024f3==_0x2c0eae([0x47,0x50,0x4c]))return _0x2c0eae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ab849=_0x3fe857(),!_0x5ab849)return _0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ab849[_0x2c0eae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x86f793=_0x3b7d08(_0x5ab849[_0x2c0eae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ab849[_0x2c0eae([0x6a,0x74,0x69])])),await _0x7e978d()?_0x5911ee()?_0x39fed4()?_0x2c0eae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d025e()?(_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0eae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x56a516=_0x127c71(_0x2c0eae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c0eae([0x74,0x72,0x69,0x61,0x6c])&&(_0x56a516=_0x127c71(_0x2c0eae([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5800ae()):_0x2c0eae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0eae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x27f4b2){return _0x2c0eae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39fed4(){const _0x1af9b2=[_0x2c0eae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c0eae([0x74,0x72,0x69,0x61,0x6c])][_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33e17c/0x3e8:0xe10*_0x508580;return _0x5ab849[_0x2c0eae([0x65,0x78,0x70])]<_0x1af9b2;}function _0x5911ee(){const _0x5e57ce=_0x5ab849[_0x2c0eae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e57ce&&(!!_0x5e57ce[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x2a]))||!!_0x5e57ce[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x41,0x49])));}function _0x4d025e(){const _0x437ac2=_0x188d,_0x12e0dc=_0x5ab849[_0x2c0eae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12e0dc||0x0==_0x12e0dc[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d5c39}=new URL(window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x437ac2(0x127)]);if(_0x12e0dc[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d5c39))return!0x0;const _0x45b193=_0x3d5c39[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e]));return _0x12e0dc[_0x2c0eae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e4d43=>_0x2e4d43[_0x2c0eae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c0eae([0x2a])))[_0x2c0eae([0x6d,0x61,0x70])](_0x40e5c2=>_0x40e5c2[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e])))[_0x2c0eae([0x73,0x6f,0x6d,0x65])](_0x3a84bf=>_0x45b193[_0x2c0eae([0x65,0x76,0x65,0x72,0x79])]((_0x3b8f1d,_0x5f1f35)=>_0x3a84bf[_0x5f1f35]===_0x3b8f1d||_0x3a84bf[_0x5f1f35]===_0x2c0eae([0x2a])));}function _0x5800ae(){return _0x56a516&&_0x86f793?new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ee32b,_0x34adbf)=>{_0x56a516[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x1ee32b,_0x34adbf),_0x86f793[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x15b395=>{_0x15b395!=_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])&&_0x1ee32b(_0x15b395);},_0x34adbf);}):_0x56a516||_0x86f793||_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b7d08(_0x46cafd,_0x477762){return new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdf9883=>{if(_0x4c90ae())return _0xdf9883(_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]));_0x541e6d(),_0x2bf4de[_0x2c0eae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bb301=!0x1;const _0x5ba1f5=_0x5b7bf0();function _0x18ae28(_0x5ed326){return!!_0x5ed326&&(typeof _0x5ed326===_0x2c0eae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ed326===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ed326[_0x2c0eae([0x74,0x68,0x65,0x6e])]===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ed326[_0x2c0eae([0x63,0x61,0x74,0x63,0x68])]===_0x2c0eae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x201576(_0x4e7b6f){_0x35fc35(_0x4e7b6f)[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0xd31035=>{if(!_0xd31035||_0xd31035[_0x2c0eae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c0eae([0x6f,0x6b]))return _0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x63af6a(_0x4bddd5(_0x5ba1f5+_0x477762))!=_0xd31035[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c0eae([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x41e045=>(_0x18fc8b(),_0x41e045),()=>{const _0xeb2f77=_0x54d5eb();return null==_0xeb2f77?(_0x18fc8b(),_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])):_0x2c0eae(_0x33e17c-_0xeb2f77>(0x2686fda7^_0x168022)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0xdf9883)[_0x2c0eae([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7dee7f=0x2bc9727^_0x168022;function _0x18fc8b(){const _0x59d384=_0x2c0eae([0x6c,0x6c,0x63,0x74,0x2d])+_0x63af6a(_0x4bddd5(_0x46cafd)),_0xc60e75=_0x38d225(_0x63af6a(window[_0x2c0eae([0x4d,0x61,0x74,0x68])][_0x2c0eae([0x63,0x65,0x69,0x6c])](_0x33e17c/_0x7dee7f)));window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0eae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59d384,_0xc60e75);}function _0x54d5eb(){const _0x4005e3=_0x2c0eae([0x6c,0x6c,0x63,0x74,0x2d])+_0x63af6a(_0x4bddd5(_0x46cafd)),_0x548f30=window[_0x2c0eae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c0eae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4005e3);return _0x548f30?window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d225(_0x548f30),0x10)*_0x7dee7f:null;}function _0x35fc35(_0xe0c232){return new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4027a5,_0x17300e)=>{_0xe0c232[_0x2c0eae([0x74,0x68,0x65,0x6e])](_0x4027a5,_0x17300e),window[_0x2c0eae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17300e,0x28bad67^_0x168022);});}}_0x2bf4de[_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x295d44,_0x880570)=>{if(_0x880570[0x0]!=_0x46cafd)return _0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x880570[0x1]={..._0x880570[0x1],[_0x2c0eae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ba1f5};},{[_0x2c0eae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0eae([0x68,0x69,0x67,0x68])}),_0x2bf4de[_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19b54f=>{_0x18ae28(_0x19b54f[_0x2c0eae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bb301=!0x0,_0x201576(_0x19b54f[_0x2c0eae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c0eae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c0eae([0x6c,0x6f,0x77])}),_0x1bfa5b[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>{_0x2bb301||_0xdf9883(_0x2c0eae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c90ae(){return _0x2bf4de[_0x2c0eae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0eae([0x76,0x69,0x65,0x77])][_0x2c0eae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c0eae([0x61,0x75,0x74,0x6f]);}function _0x541e6d(){_0x2bf4de[_0x2c0eae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c0eae([0x76,0x69,0x65,0x77])][_0x2c0eae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c0eae([0x61,0x75,0x74,0x6f]);}}function _0x127c71(_0x1843ad){const _0x604125=[new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3141c0=>setTimeout(_0x3141c0,0x283476b^_0x168022)),_0x1bfa5b[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fc1fd=>{let _0x528283=0x0;_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x6f,0x6e])](_0x2c0eae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42ff4c,_0x3619cc)=>{_0x3619cc[0x0][_0x2c0eae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x528283++,_0x528283==(0x28a785f^_0x168022)&&(_0x1fc1fd(),_0x42ff4c[_0x2c0eae([0x6f,0x66,0x66])]());});}))];return window[_0x2c0eae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c0eae([0x72,0x61,0x63,0x65])](_0x604125)[_0x2c0eae([0x74,0x68,0x65,0x6e])](()=>_0x1843ad);}async function _0x85fb22(){await _0x1bfa5b,_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b3099,_0x2bf4de[_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c0eae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b3099,_0x2bf4de[_0x2c0eae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c0eae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x178e15(_0x18aca5){const _0x47da27=_0x28cea9();_0x2bf4de[_0x47da27]=_0x2c0eae([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18aca5,_0x18aca5!=_0x2c0eae([0x56,0x61,0x6c,0x69,0x64])&&_0x85fb22();}function _0x28cea9(){const _0x578d43=window[_0x2c0eae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c0eae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c0eae([0x6e,0x6f,0x77])]())[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c0eae([0x2e]),'');let _0x3a908a=_0x2c0eae([0x46]);for(let _0x3cc7b0=0x0;_0x3cc7b0<_0x578d43[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cc7b0+=0x2){let _0x246353=window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x578d43[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cc7b0,_0x3cc7b0+0x2));_0x246353>=_0x4f2594[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x246353-=_0x4f2594[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a908a+=_0x4f2594[_0x246353];}return _0x3a908a;}function _0x3fe857(){const _0xb7126b=_0x3024f3[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e]));if(0x3!=_0xb7126b[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x343c5b(_0xb7126b[0x1]);function _0x343c5b(_0xa6468c){const _0x27759f=_0x26dc9e(_0xa6468c);return _0x27759f&&_0x1192a2()?_0x27759f:null;function _0x1192a2(){const _0x249d66=_0x27759f[_0x2c0eae([0x6a,0x74,0x69])],_0xca6d4b=window[_0x2c0eae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x249d66[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x249d66[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a1940={..._0x27759f,[_0x2c0eae([0x6a,0x74,0x69])]:_0x249d66[_0x2c0eae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x249d66[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a1940[_0x2c0eae([0x76,0x63])],_0x4bddd5(_0x5a1940)==_0xca6d4b;}}}async function _0x7e978d(){let _0x25e552=!0x0;try{const _0x461ed8=_0x3024f3[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])](_0x2c0eae([0x2e])),[_0x992e9a,_0x3d8d16,_0x3eca9c]=_0x461ed8;return _0x318706(_0x992e9a),await _0x1773cc(_0x992e9a,_0x3d8d16,_0x3eca9c),_0x25e552;}catch(_0x409a46){return!0x1;}function _0x318706(_0x38f0c8){const _0x4f189e=_0x26dc9e(_0x38f0c8);_0x4f189e&&_0x4f189e[_0x2c0eae([0x61,0x6c,0x67])]==_0x2c0eae([0x45,0x53,0x32,0x35,0x36])||(_0x25e552=!0x1);}async function _0x1773cc(_0x4f10fb,_0x3f5b7a,_0x2f4897){const _0xf73fc6=window[_0x2c0eae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c0eae([0x66,0x72,0x6f,0x6d])](_0x3a9d78(_0x2f4897),_0x58f6e3=>_0x58f6e3[_0x2c0eae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cf1dd=new window[(_0x2c0eae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c0eae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f10fb+_0x2c0eae([0x2e])+_0x3f5b7a),_0xb96668=window[_0x2c0eae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c0eae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb96668)return;const _0x12d097=await _0xb96668[_0x2c0eae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c0eae([0x6a,0x77,0x6b]),_0x5be7d4,{[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x45,0x43,0x44,0x53,0x41]),[_0x2c0eae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c0eae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb96668[_0x2c0eae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x45,0x43,0x44,0x53,0x41]),[_0x2c0eae([0x68,0x61,0x73,0x68])]:{[_0x2c0eae([0x6e,0x61,0x6d,0x65])]:_0x2c0eae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12d097,_0xf73fc6,_0x2cf1dd)||(_0x25e552=!0x1);}}function _0x26dc9e(_0x68d7be){return _0x68d7be[_0x2c0eae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c0eae([0x65,0x79]))?JSON[_0x2c0eae([0x70,0x61,0x72,0x73,0x65])](_0x3a9d78(_0x68d7be)):null;}function _0x3a9d78(_0x3b900b){return window[_0x2c0eae([0x61,0x74,0x6f,0x62])](_0x3b900b[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c0eae([0x2b]))[_0x2c0eae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c0eae([0x2f])));}function _0x4bddd5(_0x56540f){let _0x15216f=0x1505;function _0x2c6f23(_0x154d83){for(let _0x33e239=0x0;_0x33e239<_0x154d83[_0x2c0eae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33e239++){const _0x40e327=_0x154d83[_0x2c0eae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33e239);_0x15216f=(_0x15216f<<0x5)+_0x15216f+_0x40e327,_0x15216f&=_0x15216f;}}function _0x31e9d4(_0x4cf179){Array[_0x2c0eae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cf179)?_0x4cf179[_0x2c0eae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31e9d4):_0x4cf179&&typeof _0x4cf179==_0x2c0eae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c0eae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cf179)[_0x2c0eae([0x73,0x6f,0x72,0x74])]()[_0x2c0eae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44f432,_0x35ea4f])=>{_0x2c6f23(_0x44f432),_0x31e9d4(_0x35ea4f);}):_0x2c6f23(window[_0x2c0eae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cf179));}return _0x31e9d4(_0x56540f),_0x15216f>>>0x0;}function _0x63af6a(_0x3c6265){return _0x3c6265[_0x2c0eae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c0eae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c0eae([0x30]));}function _0x38d225(_0x72f3d6){return _0x72f3d6[_0x2c0eae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c0eae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c0eae([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b3099(){}function _0x2c0eae(_0x525c1e){const _0x42d9e2=_0x188d;return _0x525c1e[_0x42d9e2(0x11c)](_0xfa2e5f=>String[_0x42d9e2(0xf2)](_0xfa2e5f))[_0x42d9e2(0x143)]('');}_0x178e15(await _0x5d0f3b());}(this);}[_0x1f423d(0x13a)](){const _0x712281=_0x1f423d,_0x2295c7=this[_0x712281(0x12e)][_0x712281(0xf1)];_0x2295c7[_0x712281(0xf8)](_0x269f68=>{const _0x36f708=_0x712281,_0x286b69=_0x2295c7[_0x36f708(0x148)][_0x36f708(0xfc)][_0x36f708(0x105)]();let _0x52d810=0x0;for(const _0x564d7c of _0x286b69){const _0x1a2366=f+':'+_0x52d810;if(_0x2295c7[_0x36f708(0x102)][_0x36f708(0x134)](_0x1a2366))_0x269f68[_0x36f708(0x100)](_0x1a2366,{'range':_0x564d7c});else{if(_0x564d7c[_0x36f708(0x13c)][_0x36f708(0x149)]){const _0x4c4228=_0x564d7c[_0x36f708(0x13c)][_0x36f708(0x141)](({item:_0x2e65e0})=>!_0x2295c7[_0x36f708(0x107)][_0x36f708(0x146)](_0x2e65e0),{'boundaries':_0x564d7c});_0x269f68[_0x36f708(0xf7)](_0x1a2366,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x269f68[_0x36f708(0x154)](_0x4c4228,_0x564d7c[_0x36f708(0x10e)])});}else _0x269f68[_0x36f708(0xf7)](_0x1a2366,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x564d7c});}_0x52d810++;}});}[_0x1f423d(0x119)](){const _0x5e2672=_0x1f423d,_0x51ec99=this[_0x5e2672(0x12e)][_0x5e2672(0xf1)],_0x1e9617=Array[_0x5e2672(0xed)](this[_0x5e2672(0x12e)][_0x5e2672(0xf1)][_0x5e2672(0x102)][_0x5e2672(0xee)](f));_0x1e9617[_0x5e2672(0x14c)]&&_0x51ec99[_0x5e2672(0xf8)](_0x534bc1=>{const _0x144f31=_0x5e2672;_0x1e9617[_0x144f31(0x155)](_0x282c85=>{const _0xbe1bfe=_0x144f31;_0x534bc1[_0xbe1bfe(0x12d)](_0x282c85);});});}[_0x1f423d(0x147)](_0xf32061,_0x5b4a34){const _0x571b2a=_0x1f423d,_0x6c3a0f=this[_0x571b2a(0x14f)](),_0x1b6975=_0x5b4a34||_0x6c3a0f[_0x571b2a(0x120)]();this[_0x571b2a(0x12e)][_0x571b2a(0xf1)][_0x571b2a(0x153)](_0x1b6975)&&this[_0x571b2a(0x12e)][_0x571b2a(0xf1)][_0x571b2a(0xf8)](_0x5321bd=>{const _0x516fb0=_0x571b2a;this[_0x516fb0(0x119)](),_0x5b4a34||this[_0x516fb0(0x126)](_0x5321bd,_0x6c3a0f),this[_0x516fb0(0x112)]({'insertAt':_0x1b6975,'writer':_0x5321bd,'html':_0xf32061});});}[_0x1f423d(0x118)](_0x1645c1){const _0x656634=_0x1f423d,{model:_0x3195ed}=this[_0x656634(0x12e)],_0x366d30=this[_0x656634(0x14f)]();_0x3195ed[_0x656634(0xf8)](()=>{const _0x2113d0=_0x656634,_0x3c2478=this[_0x2113d0(0xec)](_0x1645c1,_0x366d30)||this[_0x2113d0(0x140)](_0x366d30);this[_0x2113d0(0x147)](_0x1645c1,_0x3c2478);});}[_0x1f423d(0x14f)](){const _0x52fcc2=_0x1f423d,_0x3c1806=this[_0x52fcc2(0x12e)][_0x52fcc2(0xf1)],_0x3c69f4=Array[_0x52fcc2(0xed)](_0x3c1806[_0x52fcc2(0x102)][_0x52fcc2(0xee)](f))[_0x52fcc2(0x11c)](_0x822db7=>_0x822db7[_0x52fcc2(0x10a)]());return _0x3c1806[_0x52fcc2(0x131)](_0x3c69f4);}[_0x1f423d(0x112)]({writer:_0x5a9d80,html:_0x1142b3,insertAt:_0x1744a6}){const _0x2e6784=_0x1f423d,{view:_0xcd1257}=this[_0x2e6784(0x12e)][_0x2e6784(0x12b)],_0x3ac25d=this[_0x2e6784(0x12e)][_0x2e6784(0x151)][_0x2e6784(0x13d)](_0x2509c2),_0x5b761f=new w();_0x5b761f[_0x2e6784(0x104)](_0x2e6784(0x14d),_0x1142b3);const _0x1ab299=new ClipboardEvent(_0x2e6784(0x156),{'clipboardData':_0x5b761f}),_0x26eb1c=new _0x1b5380(_0xcd1257,_0x1ab299,{'dataTransfer':new _0x45a215(_0x5b761f)});_0x5a9d80[_0x2e6784(0x122)](_0x1744a6);const _0x466fc1=(_0x427f0c,_0x126ef3)=>{const _0x172dea=_0x2e6784;_0x126ef3[_0x172dea(0x101)]&&_0x5a9d80[_0x172dea(0x122)](_0x126ef3[_0x172dea(0x101)]);};_0x3ac25d[_0x2e6784(0x138)](_0x2e6784(0xfe),_0x466fc1,{'priority':_0x2e6784(0x106)}),_0xcd1257[_0x2e6784(0x148)][_0x2e6784(0x113)](_0x2e6784(0x156),_0x26eb1c),_0x3ac25d[_0x2e6784(0x144)](_0x2e6784(0xfe),_0x466fc1);}[_0x1f423d(0x140)](_0x3482eb){const _0x38f48c=_0x1f423d,{model:_0x3fbe56}=this[_0x38f48c(0x12e)],_0x2fe2d8=Array[_0x38f48c(0xed)](_0x3482eb[_0x38f48c(0x121)]());return _0x2fe2d8[_0x38f48c(0x14c)]?_0x3fbe56[_0x38f48c(0x109)](_0x2fe2d8[_0x38f48c(0x117)]()):_0x3482eb[_0x38f48c(0x12f)]();}[_0x1f423d(0xec)](_0xefeccc,_0x3ba29b){const _0x3ab7f8=_0x1f423d,{model:_0x42eb8c,plugins:_0x565fd6}=this[_0x3ab7f8(0x12e)];if(_0x565fd6[_0x3ab7f8(0x134)](_0x3ab7f8(0xf5))){const _0x149549=_0x565fd6[_0x3ab7f8(0x13d)](_0x3ab7f8(0xf5))[_0x3ab7f8(0x133)](_0x3ba29b);if(_0x149549[_0x3ab7f8(0x14c)]){const _0x7f480f=this[_0x3ab7f8(0x13b)](_0xefeccc),_0x501c52=this[_0x3ab7f8(0x13f)](_0x149549,_0x7f480f);return _0x42eb8c[_0x3ab7f8(0x116)](_0x501c52,0x0);}}return null;}[_0x1f423d(0x13b)](_0x5d4b56){const _0x312e33=_0x1f423d,_0x590e80=this[_0x312e33(0x12e)][_0x312e33(0x151)][_0x312e33(0x13d)](_0x312e33(0xf5)),_0x180737=this[_0x312e33(0x12e)][_0x312e33(0x125)][_0x312e33(0x10f)](_0x5d4b56),_0x56dcb9=Array[_0x312e33(0xed)](_0x180737[_0x312e33(0x14e)]())[_0x312e33(0x111)](_0x26ed93=>_0x26ed93['is'](_0x312e33(0x157),_0x312e33(0xeb)));let _0x166a0d=0x0;return _0x56dcb9[_0x312e33(0x155)](_0x25c9b0=>{const _0x3ebcfa=_0x312e33;_0x166a0d+=_0x590e80[_0x3ebcfa(0x11a)](_0x25c9b0);}),_0x166a0d;}[_0x1f423d(0x13f)](_0x134781,_0x46cd78){const _0x38d1ea=_0x1f423d,_0x3e1327=this[_0x38d1ea(0x12e)][_0x38d1ea(0x151)][_0x38d1ea(0x13d)](_0x38d1ea(0xf5)),_0x54bcc5=_0x3e1327[_0x38d1ea(0x110)](_0x134781),_0x206d5f=_0x3e1327[_0x38d1ea(0x158)](_0x134781),_0x322f0f=_0x54bcc5[_0x38d1ea(0xf6)]+0x1,_0x7a7492=_0x206d5f[_0x38d1ea(0x11d)],_0x4b5721=_0x134781[0x0][_0x38d1ea(0xef)](_0x38d1ea(0xeb));for(let _0x9bd9fb=0x0;_0x9bd9fb<_0x46cd78;_0x9bd9fb++)_0x3e1327[_0x38d1ea(0x124)](_0x4b5721,{'at':_0x322f0f});return _0x4b5721[_0x38d1ea(0x11f)](_0x322f0f)[_0x38d1ea(0x11f)](_0x7a7492);}[_0x1f423d(0x126)](_0x5bb760,_0x1ed2a5){const _0x107ab9=_0x1f423d,{plugins:_0x397833}=this[_0x107ab9(0x12e)],{model:_0x39afb8}=_0x5bb760;if(!_0x397833[_0x107ab9(0x134)](_0x107ab9(0xf5)))return;_0x397833[_0x107ab9(0x13d)](_0x107ab9(0xf5))[_0x107ab9(0x133)](_0x1ed2a5)[_0x107ab9(0x14c)]&&_0x39afb8[_0x107ab9(0x12c)](_0x1ed2a5);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x18351d=_0x2a4e;(function(_0x2d34a6,_0x5b6458){const _0x28c1f1=_0x2a4e,_0x52f393=_0x2d34a6();while(!![]){try{const _0x20ccf5=parseInt(_0x28c1f1(0x1ea))/0x1+-parseInt(_0x28c1f1(0x1a8))/0x2+-parseInt(_0x28c1f1(0x229))/0x3*(parseInt(_0x28c1f1(0x1c4))/0x4)+parseInt(_0x28c1f1(0x1a5))/0x5*(parseInt(_0x28c1f1(0x185))/0x6)+-parseInt(_0x28c1f1(0x224))/0x7*(parseInt(_0x28c1f1(0x20b))/0x8)+parseInt(_0x28c1f1(0x20e))/0x9+-parseInt(_0x28c1f1(0x1dd))/0xa*(-parseInt(_0x28c1f1(0x223))/0xb);if(_0x20ccf5===_0x5b6458)break;else _0x52f393['push'](_0x52f393['shift']());}catch(_0x3f0083){_0x52f393['push'](_0x52f393['shift']());}}}(_0x183e,0x1ff9f));import{Plugin as _0x2dc154}from'ckeditor5/src/core.js';import{IconMagicWand as _0x229b03,IconRobotPencil as _0x59eff1}from'ckeditor5/src/icons.js';import{first as _0x53a91f,CKEditorError as _0x5a267d}from'ckeditor5/src/utils.js';import{createDropdown as _0xaf1ff3,addMenuToDropdown as _0x1bbb03,ButtonView as _0x4fbd72,MenuBarMenuListItemButtonView as _0x2b9b3b,Dialog as _0x416032,DialogViewPosition as _0x55f919,MenuBarMenuView as _0x4dca8f,MenuBarMenuListView as _0x4a81ee,MenuBarMenuListItemView as _0x1616e2}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x21a00b,UNGROUPED_COMMANDS_GROUP_ID as _0x4e42c8}from'./utils/normalizecommandsconfig.js';import _0x2cef4a from'./aiassistantediting.js';import _0x5b14bb from'./adapters/aiadapter.js';import{getTranslation as _0x1e2272}from'./utils/common-translations.js';import _0x110c86 from'./ui/showaiassistantcommand.js';function _0x183e(){const _0x4ee6e1=['define','menuitemcheckbox','getSelectedElement','_uiCssClasses','plugins','requires','includes','copy','_getResolvedCommandsDefinitions','_dialog','schema','execute','hide','showUI','aiCommands','_onExecute','isPremiumPlugin','media','menuView','ai.aiAssistant.commands','add','licenseKey','_aiAdapter','showAIAssistant','children','17904jGgDAD','featureNotAllowed','update','421686EfyhoC','announce','trialLimit','isEnabled','aiLicenseKeyEvaluationLimit','buttons','groupId','fire','sort','currentContext','aiAssistant','isFlat','comment','replaceContent','expired','_initAriaAiStatusChangeAnnouncements','AI\x20Assistant','insertContent','length','prompt','AIAssistantUI','44ibtqOZ','266mhdTgj','aiLicenseKeyDomainLimit','aiLicenseKeyValid','hideUI','change:isProcessing','371949eXjzvw','evaluationLimit','ck-ai-assistant-button\x20','isCollapsed','buttonView','label','ai-commands-config-order-collision','custom','push','_getMenuBarGroupButtons','commands','ai.aiAssistant.contentAreaCssClass','ai.useTheme','1062hRyeuE','requiresContent','replace','rawHtml','usageLimit','getSelectedBlocks','ai.aiAssistant.disabledElements','isOn','promptView','aiLicenseKeyTrialLimit','getLimitElement','values','invalid','get','map','show','groupLabel','componentFactory','listenTo','items','once','Generated\x20content:\x20%0','reset','AI\x20Commands','\x20ck-ai-assistant-ui_theme','isOfficialPlugin','INSERT','model','change:isError','DataTransfer','body','tableOfContents','5380bnZClx','ck-ai-assistant-ui','config','5678nFBXEC','setSelection','contentArea','AI\x20is\x20writing','fieldView','aiLicenseKeyNotAllowed','_aiAssistantController','updateView','source','_showLicenseError','from','getData','addMany','bind','_commandDefinitions','menuPanelClass','ck-ai-commands-dropdown\x20','hideFakeVisualSelection','editor','textAdapter','insertContentBelow','domainLimit','trim','command:','updatePosition','init','view','AIAssistant','4tzToTu','editing','_createAIAssistantUIButton','EDITOR_TOP_SIDE','selection','text','errorView','menuBar:aiAssistant','aiLicenseKeyExpired','</p>','queryView','_initView','delegate','menuBar:aiCommands','Error\x20during\x20AI\x20content\x20generation:\x20%0','REPLACE','wasMoved','focus','polite','forEach','set','pluginName','_formView','aiLicenseKeyUsageLimit','showFakeVisualSelection','251620aDYLIf','change','document','text/html','destroy','splice','_populateMenuBarMenu','<p>','enabledCommandsIds','_forceMarkersCopy','render','aiLicenseKeyInvalid','change:value','4887zjvXpY','panelView','filter','locale','_licenseKeyCheckInterval','order','change:enabledCommandsIds','getRanges'];_0x183e=function(){return _0x4ee6e1;};return _0x183e();}import _0x1da23f from'./ui/aiassistantcontroller.js';function _0x2a4e(_0x49209c,_0x4f2f66){const _0x183e3f=_0x183e();return _0x2a4e=function(_0x2a4e40,_0x2bf9ef){_0x2a4e40=_0x2a4e40-0x184;let _0x4184f0=_0x183e3f[_0x2a4e40];return _0x4184f0;},_0x2a4e(_0x49209c,_0x4f2f66);}import _0x3504ed from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x28d48f}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x18351d(0x1a2)];import{ClipboardMarkersUtils as _0x268de2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5a6f24,DataTransfer as _0x47e839}from'ckeditor5/src/engine.js';export default class n extends _0x2dc154{[_0x18351d(0x207)];[_0x18351d(0x1ee)];[_0x18351d(0x1fb)];[_0x18351d(0x1da)];[_0x18351d(0x208)];[_0x18351d(0x1ae)];[_0x18351d(0x1f5)]='';static get[_0x18351d(0x1d9)](){const _0x1a9e4c=_0x18351d;return _0x1a9e4c(0x222);}static get[_0x18351d(0x19e)](){return!0x0;}static get[_0x18351d(0x202)](){return!0x0;}static get[_0x18351d(0x1f7)](){return[_0x268de2,_0x2cef4a,_0x5b14bb,_0x416032];}constructor(_0x121185){const _0x43cedb=_0x18351d;super(_0x121185),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x18b),[_0x43cedb(0x203),_0x43cedb(0x188),_0x43cedb(0x1a4)]),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x234),''),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x184),!0x0),this[_0x43cedb(0x1f5)]=_0x43cedb(0x1a6)+(_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x192)](_0x43cedb(0x184))?_0x43cedb(0x19d):'');}[_0x18351d(0x1c1)](){const _0x204eed=_0x18351d,{editor:_0x1a442f}=this;this[_0x204eed(0x208)]=_0x1a442f[_0x204eed(0x1f6)][_0x204eed(0x192)](_0x5b14bb),this[_0x204eed(0x1fb)]=_0x1a442f[_0x204eed(0x1f6)][_0x204eed(0x192)](_0x416032),this[_0x204eed(0x1da)]=null,this[_0x204eed(0x1b6)]=this[_0x204eed(0x1fa)]();const _0x25d1a6=new _0x110c86(_0x1a442f,Array[_0x204eed(0x1b2)](this[_0x204eed(0x1b6)][_0x204eed(0x190)]()));_0x1a442f[_0x204eed(0x233)][_0x204eed(0x206)](_0x204eed(0x209),_0x25d1a6),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x200),_0x427d4e=>{const _0x4dfdd4=_0x204eed,_0x52bdce=_0xaf1ff3(_0x427d4e);return _0x52bdce[_0x4dfdd4(0x1d8)]({'class':_0x4dfdd4(0x1b8)+this[_0x4dfdd4(0x1f5)]}),_0x52bdce[_0x4dfdd4(0x22d)][_0x4dfdd4(0x1d8)]({'label':_0x1e2272(_0x427d4e,_0x4dfdd4(0x19c)),'icon':_0x229b03,'tooltip':!0x0}),_0x52bdce['on'](_0x4dfdd4(0x1fd),_0x1a3e9a=>this[_0x4dfdd4(0x201)](_0x1a3e9a[_0x4dfdd4(0x1b0)]['id'])),_0x1bbb03(_0x52bdce,_0x1a442f['ui'][_0x4dfdd4(0x1c2)][_0x4dfdd4(0x1a3)],function(_0x171770){const _0x26d299=_0x4dfdd4,_0x1e0cf2=_0x21a00b(_0x171770[_0x26d299(0x1a7)][_0x26d299(0x192)](_0x26d299(0x205)),_0x171770[_0x26d299(0x1ed)]),_0x39e4fa=U(_0x171770,_0x1e0cf2)[_0x26d299(0x1ec)](_0x1f1b84=>_0x1f1b84[_0x26d299(0x233)][_0x26d299(0x220)]);if(0x1===_0x39e4fa[_0x26d299(0x220)])return U(_0x171770,_0x39e4fa[0x0][_0x26d299(0x233)])[_0x26d299(0x193)](_0x347f46=>({'id':_0x347f46['id'],'label':_0x347f46[_0x26d299(0x22e)]}));return _0x39e4fa[_0x26d299(0x193)](_0x39aeb7=>{const _0x42ce1c=_0x26d299,{groupId:_0x26a93e,groupLabel:_0x437b1b,commands:_0x45aa4a}=_0x39aeb7,_0x492e7a=U(_0x171770,_0x45aa4a)[_0x42ce1c(0x193)](_0x39c4be=>({'id':_0x39c4be['id'],'label':_0x39c4be[_0x42ce1c(0x22e)]}));return{'id':_0x26a93e,'menu':_0x437b1b||_0x26a93e,'children':_0x492e7a};});}(_0x1a442f),{'ariaLabel':_0x1e2272(_0x427d4e,_0x4dfdd4(0x19c))}),_0x52bdce[_0x4dfdd4(0x204)][_0x4dfdd4(0x1b7)]=_0x4dfdd4(0x1b8)+this[_0x4dfdd4(0x1f5)],_0x25d1a6['on'](_0x4dfdd4(0x1f0),_0x244ad9),_0x52bdce[_0x4dfdd4(0x204)][_0x4dfdd4(0x199)](_0x4dfdd4(0x1e7),_0x244ad9),_0x52bdce;function _0x244ad9(){const _0x557ac3=_0x4dfdd4;_0x52bdce[_0x557ac3(0x211)]=_0x25d1a6[_0x557ac3(0x1e5)][_0x557ac3(0x220)]>0x0;for(const _0x2c635b of _0x52bdce[_0x557ac3(0x204)][_0x557ac3(0x213)])_0x2c635b[_0x557ac3(0x211)]=_0x25d1a6[_0x557ac3(0x1e5)][_0x557ac3(0x1f8)](_0x2c635b['id']);}}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x1d1),_0x253089=>{const _0xfdf22b=_0x204eed,_0x265544=new _0x4dca8f(_0x253089);_0x265544[_0xfdf22b(0x22d)][_0xfdf22b(0x1d8)]({'label':_0x1e2272(_0x253089,_0xfdf22b(0x19c)),'icon':_0x229b03}),_0x265544[_0xfdf22b(0x1b5)](_0xfdf22b(0x211))['to'](_0x25d1a6,_0xfdf22b(0x1e5),_0x50fc89=>_0x50fc89[_0xfdf22b(0x220)]>0x0);const _0x3c6676=_0x21a00b(_0x1a442f[_0xfdf22b(0x1a7)][_0xfdf22b(0x192)](_0xfdf22b(0x205)),_0x253089);return this[_0xfdf22b(0x1e3)](_0x25d1a6,_0x265544,_0x3c6676,_0x2c4a69=>this[_0xfdf22b(0x201)](_0x2c4a69)),_0x265544;}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x218),()=>{const _0x530566=_0x204eed,_0x5f0293=this[_0x530566(0x1c6)](_0x4fbd72);return _0x5f0293[_0x530566(0x1d8)]({'tooltip':!0x0,'class':_0x530566(0x22b)+this[_0x530566(0x1f5)]}),_0x5f0293;}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x1cb),()=>{const _0x3c53f0=_0x204eed,_0x202498=this[_0x3c53f0(0x1c6)](_0x2b9b3b);return _0x202498[_0x3c53f0(0x1d8)]({'role':_0x3c53f0(0x1f3)}),_0x202498;}),this[_0x204eed(0x207)]=this[_0x204eed(0x1ba)][_0x204eed(0x1a7)][_0x204eed(0x192)](_0x204eed(0x207));const _0x27ddbb=this[_0x204eed(0x1ba)];this[_0x204eed(0x1ee)]=setInterval(()=>{const _0x1d956b=_0x204eed;let _0x4c6f0f;for(const _0xf53c8e in _0x27ddbb){const _0x1eedad=_0xf53c8e,_0xeebf30=_0x27ddbb[_0x1eedad];if(_0x1d956b(0x226)==_0xeebf30||_0x1d956b(0x1e8)==_0xeebf30||_0x1d956b(0x1cc)==_0xeebf30||_0x1d956b(0x225)==_0xeebf30||_0x1d956b(0x1ad)==_0xeebf30||_0x1d956b(0x212)==_0xeebf30||_0x1d956b(0x18e)==_0xeebf30||_0x1d956b(0x1db)==_0xeebf30){delete _0x27ddbb[_0x1eedad],_0x4c6f0f=_0xeebf30,clearInterval(this[_0x1d956b(0x1ee)]),this[_0x1d956b(0x1ee)]=void 0x0;break;}}_0x1d956b(0x1e8)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x191)),_0x1d956b(0x1cc)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x21c)),_0x1d956b(0x225)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x1bd)),_0x1d956b(0x1ad)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x20c),_0x1d956b(0x1c3)),_0x1d956b(0x212)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x22a)),_0x1d956b(0x18e)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x210)),_0x1d956b(0x1db)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x189));},0x3e8);}[_0x18351d(0x1e1)](){const _0x1247da=_0x18351d;super[_0x1247da(0x1e1)](),this[_0x1247da(0x1ee)]&&clearInterval(this[_0x1247da(0x1ee)]);}[_0x18351d(0x1ff)](_0x50df0c='',_0x6738ce='',_0x562461=_0x18351d(0x230)){const _0x1f3bfd=_0x18351d,_0x4f8685=this[_0x1f3bfd(0x1ba)],_0x58478f=_0x4f8685[_0x1f3bfd(0x1c5)][_0x1f3bfd(0x1c2)],_0x4544cb=_0x4f8685[_0x1f3bfd(0x1f6)][_0x1f3bfd(0x192)](_0x2cef4a),_0xe9723b=_0x4f8685[_0x1f3bfd(0x1f6)][_0x1f3bfd(0x192)](_0x268de2);_0x4544cb[_0x1f3bfd(0x1dc)]();const _0x537d32=new w(),_0xbf7084=new ClipboardEvent(_0x1f3bfd(0x1f9),{'clipboardData':_0x537d32}),_0x462fd3=new _0x47e839(_0x537d32),_0x409f45=new _0x5a6f24(_0x58478f,_0xbf7084,{'dataTransfer':_0x462fd3});_0xe9723b[_0x1f3bfd(0x1e6)](_0x1f3bfd(0x21a),()=>{const _0x4eaeab=_0x1f3bfd;_0x58478f[_0x4eaeab(0x1df)][_0x4eaeab(0x215)](_0x4eaeab(0x1f9),_0x409f45);}),this[_0x1f3bfd(0x1da)]||(this[_0x1f3bfd(0x1cf)](),this[_0x1f3bfd(0x1ae)]=new _0x1da23f(_0x4f8685,this[_0x1f3bfd(0x208)][_0x1f3bfd(0x1bb)],this[_0x1f3bfd(0x1da)]));let _0x31c067=_0x462fd3[_0x1f3bfd(0x1b3)](_0x1f3bfd(0x1e0));const _0x20e385=_0x4f8685[_0x1f3bfd(0x1a0)][_0x1f3bfd(0x1df)][_0x1f3bfd(0x1c8)],_0x35d5fe=Array[_0x1f3bfd(0x1b2)](_0x20e385[_0x1f3bfd(0x1f1)]());0x1===_0x35d5fe[_0x1f3bfd(0x220)]&&_0x35d5fe[0x0][_0x1f3bfd(0x219)]&&!_0x20e385[_0x1f3bfd(0x1f4)]()&&''!==_0x31c067[_0x1f3bfd(0x187)](/ /g,'')[_0x1f3bfd(0x1be)]()&&(_0x31c067=_0x1f3bfd(0x1e4)+_0x31c067+_0x1f3bfd(0x1cd)),this[_0x1f3bfd(0x1ae)][_0x1f3bfd(0x1af)]({'actionId':_0x562461,'query':_0x50df0c,'htmlContent':_0x31c067,'label':_0x6738ce,'mainActionLabel':_0x28d48f[_0x4f8685[_0x1f3bfd(0x1a0)][_0x1f3bfd(0x1df)][_0x1f3bfd(0x1c8)][_0x1f3bfd(0x22c)]?_0x1f3bfd(0x19f):_0x1f3bfd(0x1d3)]}),_0x1f3bfd(0x218)!==this[_0x1f3bfd(0x1fb)]['id']?this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x194)]({'id':_0x1f3bfd(0x218),'icon':_0x59eff1,'title':_0x1e2272(this[_0x1f3bfd(0x1ba)][_0x1f3bfd(0x1ed)],_0x1f3bfd(0x21e)),'content':this[_0x1f3bfd(0x1da)],'position':_0x55f919[_0x1f3bfd(0x1c7)],'onShow':()=>{const _0x56646c=_0x1f3bfd;this[_0x56646c(0x1da)][_0x56646c(0x1d5)]();},'onHide':()=>{const _0x4c3ba9=_0x1f3bfd;this[_0x4c3ba9(0x1ae)][_0x4c3ba9(0x19b)](),_0x4544cb[_0x4c3ba9(0x1b9)]();}}):this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x1c2)][_0x1f3bfd(0x1d4)]||this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x1c2)][_0x1f3bfd(0x1c0)]();}[_0x18351d(0x227)](){const _0x167bb3=_0x18351d;this[_0x167bb3(0x1fb)][_0x167bb3(0x1fe)]();}[_0x18351d(0x1fa)](){const _0x300d37=_0x18351d,_0x42a410=new Map(),_0x4eb5ae=_0x21a00b(this[_0x300d37(0x1ba)][_0x300d37(0x1a7)][_0x300d37(0x192)](_0x300d37(0x205)),this[_0x300d37(0x1ba)][_0x300d37(0x1ed)]);for(const _0x555186 of _0x4eb5ae)for(const _0xa16cbe of _0x555186[_0x300d37(0x233)])_0x42a410[_0x300d37(0x1d8)](_0xa16cbe['id'],{..._0xa16cbe,'groupId':_0x555186[_0x300d37(0x214)],'groupLabel':_0x555186[_0x300d37(0x195)]||_0x555186[_0x300d37(0x214)]});return _0x42a410;}[_0x18351d(0x1c6)](_0x4bce1b){const _0x5a8edd=_0x18351d,_0x513031=this[_0x5a8edd(0x1ba)],_0x2082df=_0x513031[_0x5a8edd(0x233)][_0x5a8edd(0x192)](_0x5a8edd(0x209)),_0x146d50=new _0x4bce1b(_0x513031[_0x5a8edd(0x1ed)]);return _0x146d50[_0x5a8edd(0x1d8)]({'label':_0x1e2272(_0x513031[_0x5a8edd(0x1ed)],_0x5a8edd(0x21e)),'icon':_0x59eff1,'isToggleable':!0x0}),_0x146d50[_0x5a8edd(0x1b5)](_0x5a8edd(0x211))['to'](_0x2082df),_0x146d50[_0x5a8edd(0x1b5)](_0x5a8edd(0x18c))['to'](this[_0x5a8edd(0x1fb)],'id',_0x2ebcc1=>_0x5a8edd(0x218)===_0x2ebcc1),this[_0x5a8edd(0x197)](_0x146d50,_0x5a8edd(0x1fd),()=>{const _0x18470e=_0x5a8edd;_0x146d50[_0x18470e(0x18c)]?this[_0x18470e(0x227)]():_0x2082df[_0x18470e(0x1fd)]();}),_0x146d50;}[_0x18351d(0x1cf)](){const _0xa05f8c=_0x18351d,_0x2f90c5=this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1f6)][_0xa05f8c(0x192)](_0x2cef4a);this[_0xa05f8c(0x1da)]=new _0x3504ed(this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1ed)],this[_0xa05f8c(0x1f5)],this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1a7)][_0xa05f8c(0x192)](_0xa05f8c(0x234))),this[_0xa05f8c(0x1da)]['on'](_0xa05f8c(0x1e9),()=>{const _0x197bf7=_0xa05f8c;this[_0x197bf7(0x1fb)][_0x197bf7(0x1c2)][_0x197bf7(0x1d4)]||this[_0x197bf7(0x1fb)][_0x197bf7(0x1c2)][_0x197bf7(0x1c0)]();}),this[_0xa05f8c(0x1da)][_0xa05f8c(0x18d)][_0xa05f8c(0x1ce)][_0xa05f8c(0x1ac)]['on'](_0xa05f8c(0x20d),()=>{const _0x12ff21=_0xa05f8c;this[_0x12ff21(0x1fb)][_0x12ff21(0x1c2)][_0x12ff21(0x1d4)]||this[_0x12ff21(0x1fb)][_0x12ff21(0x1c2)][_0x12ff21(0x1c0)]();}),this[_0xa05f8c(0x197)](this[_0xa05f8c(0x1da)],_0xa05f8c(0x21b),()=>{const _0x4ef921=_0xa05f8c;_0x2f90c5[_0x4ef921(0x21f)](this[_0x4ef921(0x1ae)][_0x4ef921(0x217)]),this[_0x4ef921(0x227)]();}),this[_0xa05f8c(0x197)](this[_0xa05f8c(0x1da)],_0xa05f8c(0x1bc),()=>{const _0x3a2957=_0xa05f8c;_0x2f90c5[_0x3a2957(0x1bc)](this[_0x3a2957(0x1ae)][_0x3a2957(0x217)]),this[_0x3a2957(0x227)]();}),this[_0xa05f8c(0x21d)]();}[_0x18351d(0x21d)](){const _0x472aa6=_0x18351d,{locale:_0x2b2fe9,ui:{ariaLiveAnnouncer:_0x42ab01}}=this[_0x472aa6(0x1ba)];this[_0x472aa6(0x1da)][_0x472aa6(0x1aa)]['on'](_0x472aa6(0x228),(_0x1e1751,_0x55faa3,_0x282a35)=>{const _0x308529=_0x472aa6,_0xa78440=this[_0x308529(0x1ae)][_0x308529(0x217)];_0x282a35?_0x42ab01[_0x308529(0x20f)](_0x1e2272(_0x2b2fe9,_0x308529(0x1ab))):_0xa78440&&_0x42ab01[_0x308529(0x20f)](_0x1e2272(_0x2b2fe9,_0x308529(0x19a),_0xa78440),{'politeness':_0x308529(0x1d6),'isUnsafeHTML':!0x0});}),this[_0x472aa6(0x1da)]['on'](_0x472aa6(0x1a1),(_0x499b81,_0xa6c34a,_0x33ea53)=>{const _0x20c471=_0x472aa6;if(_0x33ea53){const _0x3bae45=this[_0x20c471(0x1da)][_0x20c471(0x1ca)][_0x20c471(0x1c9)];_0x42ab01[_0x20c471(0x20f)](_0x1e2272(_0x2b2fe9,_0x20c471(0x1d2),_0x3bae45));}});}[_0x18351d(0x201)](_0x33d7b8){const _0x244f99=_0x18351d,_0x4bc8f0=this[_0x244f99(0x1b6)][_0x244f99(0x192)](_0x33d7b8),_0x2b5c13=this[_0x244f99(0x1ba)],_0x344ddc=_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1df)][_0x244f99(0x1c8)],_0x3bd8c5=_0x2b5c13[_0x244f99(0x233)][_0x244f99(0x192)](_0x244f99(0x209)),_0x60a781=_0x2b5c13[_0x244f99(0x1f6)][_0x244f99(0x192)](_0x2cef4a),_0x1767e1=''+(_0x4bc8f0[_0x244f99(0x214)]!==_0x4e42c8?_0x4bc8f0[_0x244f99(0x195)]+':\x20':'')+_0x4bc8f0[_0x244f99(0x22e)];if(!0x1!==_0x4bc8f0[_0x244f99(0x186)]&&_0x344ddc[_0x244f99(0x22c)]){const _0x574534=_0x53a91f(_0x344ddc[_0x244f99(0x18a)]())||_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1fc)][_0x244f99(0x18f)](_0x344ddc);_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1de)](_0x1bb220=>{const _0x58da45=_0x244f99;_0x1bb220[_0x58da45(0x1a9)](_0x574534,'in');});}_0x60a781[_0x244f99(0x1dc)](),_0x3bd8c5[_0x244f99(0x1fd)](_0x4bc8f0[_0x244f99(0x221)],_0x1767e1,_0x244f99(0x1bf)+_0x33d7b8);}[_0x18351d(0x1e3)](_0x45c3f1,_0x1b2e76,_0x8a54da,_0x230e82){const _0xbefba4=_0x18351d,_0x494130=this[_0xbefba4(0x1ba)],_0x43b3f3=_0x494130[_0xbefba4(0x1ed)],_0x17af90=new _0x4a81ee(_0x43b3f3),_0x291b0e=U(_0x494130,_0x8a54da)[_0xbefba4(0x1ec)](_0xc14811=>_0xc14811[_0xbefba4(0x233)][_0xbefba4(0x220)]);0x1===_0x291b0e[_0xbefba4(0x220)]?this[_0xbefba4(0x232)]({'command':_0x45c3f1,'commands':_0x291b0e[0x0][_0xbefba4(0x233)],'parentMenuView':_0x1b2e76,'onExecute':_0x230e82})[_0xbefba4(0x1d7)](_0x226775=>_0x17af90[_0xbefba4(0x198)][_0xbefba4(0x206)](_0x226775)):_0x291b0e[_0xbefba4(0x1d7)](({groupId:_0x4c2cf0,groupLabel:_0x29b3d5,commands:_0x25f839})=>{const _0x814b0c=_0xbefba4,_0x12bd56=new _0x1616e2(_0x43b3f3,_0x1b2e76),_0x31e39f=new _0x4dca8f(_0x43b3f3),_0x3f566e=new _0x4a81ee(_0x43b3f3),_0x50990c=this[_0x814b0c(0x232)]({'command':_0x45c3f1,'commands':_0x25f839,'parentMenuView':_0x31e39f,'onExecute':_0x230e82});_0x31e39f[_0x814b0c(0x22d)][_0x814b0c(0x1d8)]({'label':_0x29b3d5||_0x4c2cf0}),_0x31e39f[_0x814b0c(0x1d0)](_0x814b0c(0x1fd))['to'](_0x1b2e76),_0x3f566e[_0x814b0c(0x198)][_0x814b0c(0x1b4)](_0x50990c),_0x31e39f[_0x814b0c(0x1eb)][_0x814b0c(0x20a)][_0x814b0c(0x206)](_0x3f566e),_0x12bd56[_0x814b0c(0x20a)][_0x814b0c(0x206)](_0x31e39f),_0x17af90[_0x814b0c(0x198)][_0x814b0c(0x206)](_0x12bd56);}),_0x1b2e76[_0xbefba4(0x1eb)][_0xbefba4(0x20a)][_0xbefba4(0x206)](_0x17af90);}[_0x18351d(0x232)]({command:_0x177325,commands:_0x1e790b,parentMenuView:_0x3fd5e9,onExecute:_0x24bb9d}){const _0x408648=_0x18351d,_0x474e8e=this[_0x408648(0x1ba)],_0x22c7a7=_0x474e8e[_0x408648(0x1ed)];return U(_0x474e8e,_0x1e790b)[_0x408648(0x193)](_0x5b3bf3=>{const _0x6b7c34=_0x408648,_0x7dd1a4=new _0x1616e2(_0x22c7a7,_0x3fd5e9),_0x5c6646=new _0x2b9b3b(_0x22c7a7);return _0x5c6646[_0x6b7c34(0x1d8)]({'label':_0x5b3bf3[_0x6b7c34(0x22e)]}),_0x5c6646[_0x6b7c34(0x1d0)](_0x6b7c34(0x1fd))['to'](_0x3fd5e9),_0x5c6646['on'](_0x6b7c34(0x1fd),()=>_0x24bb9d(_0x5b3bf3['id'])),_0x5c6646[_0x6b7c34(0x1b5)](_0x6b7c34(0x211))['to'](_0x177325,_0x6b7c34(0x1e5),_0x7449f6=>_0x7449f6[_0x6b7c34(0x1f8)](_0x5b3bf3['id'])),_0x7dd1a4[_0x6b7c34(0x20a)][_0x6b7c34(0x206)](_0x5c6646),_0x7dd1a4;});}}function B(_0xc9471a,_0x801434){const _0x4d56a7=_0x18351d;return void 0x0!==_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0===_0x801434[_0x4d56a7(0x1ef)]?0x1:void 0x0===_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0!==_0x801434[_0x4d56a7(0x1ef)]?-0x1:void 0x0!==_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0!==_0x801434[_0x4d56a7(0x1ef)]?_0xc9471a[_0x4d56a7(0x1ef)]-_0x801434[_0x4d56a7(0x1ef)]:0x0;}function U(_0x3e02f2,_0x1e48e2){const _0x3b1b27=_0x18351d;_0x1e48e2[_0x3b1b27(0x216)](B);const _0x435ebb={},_0x3963f7=[];for(const _0x1624fd of _0x1e48e2)if(void 0x0!==_0x1624fd[_0x3b1b27(0x1ef)]){if(_0x1624fd[_0x3b1b27(0x1ef)]in _0x435ebb)throw new _0x5a267d(_0x3b1b27(0x22f),_0x3e02f2,{'conflictingDefinitions':[_0x1624fd,_0x435ebb[_0x1624fd[_0x3b1b27(0x1ef)]]]});_0x435ebb[_0x1624fd[_0x3b1b27(0x1ef)]]=_0x1624fd,_0x3963f7[_0x3b1b27(0x1e2)](_0x1624fd[_0x3b1b27(0x1ef)],0x0,_0x1624fd);}else _0x3963f7[_0x3b1b27(0x231)](_0x1624fd);return _0x3963f7;}
|
|
23
|
+
const _0x1af4c6=_0xb509;(function(_0x2e6b78,_0x14b4bd){const _0x4f5af8=_0xb509,_0x7b835e=_0x2e6b78();while(!![]){try{const _0x44dd3a=parseInt(_0x4f5af8(0xef))/0x1*(-parseInt(_0x4f5af8(0x14c))/0x2)+-parseInt(_0x4f5af8(0x121))/0x3+parseInt(_0x4f5af8(0xf2))/0x4*(parseInt(_0x4f5af8(0x185))/0x5)+parseInt(_0x4f5af8(0x175))/0x6*(parseInt(_0x4f5af8(0xf0))/0x7)+parseInt(_0x4f5af8(0x146))/0x8*(parseInt(_0x4f5af8(0x157))/0x9)+parseInt(_0x4f5af8(0x11b))/0xa*(parseInt(_0x4f5af8(0x184))/0xb)+-parseInt(_0x4f5af8(0x154))/0xc;if(_0x44dd3a===_0x14b4bd)break;else _0x7b835e['push'](_0x7b835e['shift']());}catch(_0xa18e33){_0x7b835e['push'](_0x7b835e['shift']());}}}(_0x107b,0xf2749));import{Plugin as _0x52fde6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x297ac3,IconRobotPencil as _0x5544d2}from'ckeditor5/src/icons.js';import{first as _0x14c644,CKEditorError as _0x4e71b9}from'ckeditor5/src/utils.js';function _0xb509(_0x43eb23,_0x28039c){const _0x107b20=_0x107b();return _0xb509=function(_0xb50982,_0x14811e){_0xb50982=_0xb50982-0xd4;let _0x4bd5df=_0x107b20[_0xb50982];return _0x4bd5df;},_0xb509(_0x43eb23,_0x28039c);}import{createDropdown as _0x205ea8,addMenuToDropdown as _0x28435e,ButtonView as _0xe7dabb,MenuBarMenuListItemButtonView as _0x13f8bf,Dialog as _0x2e44aa,DialogViewPosition as _0x49f946,MenuBarMenuView as _0x228f09,MenuBarMenuListView as _0x54f0bb,MenuBarMenuListItemView as _0x4632ca}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x21fb2a,UNGROUPED_COMMANDS_GROUP_ID as _0x5eff58}from'./utils/normalizecommandsconfig.js';import _0x4454f2 from'./aiassistantediting.js';import _0x3c6624 from'./adapters/aiadapter.js';import{getTranslation as _0x3b9308}from'./utils/common-translations.js';import _0x530f49 from'./ui/showaiassistantcommand.js';import _0x1b47b8 from'./ui/aiassistantcontroller.js';import _0x5e6a0b from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x3b7af2}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x1af4c6(0x126)];import{ClipboardMarkersUtils as _0x309ce6}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x8f9822,DataTransfer as _0x393e90}from'ckeditor5/src/engine.js';function _0x107b(){const _0x15e7fd=['24qGYIia','usageLimit','isCollapsed','values','aiLicenseKeyEvaluationLimit','wasMoved','licenseKey','errorView','</p>','insertContentBelow','source','isPremiumPlugin','groupLabel','selection','menuBar:aiCommands','10676380vZPtrh','105115afvHIY','AIAssistant','aiLicenseKeyValid','comment','bind','hideFakeVisualSelection','order','<p>','buttons','show','evaluationLimit','isFlat','_forceMarkersCopy','add','AI\x20Commands','label','get','push','aiCommands','insertContent','currentContext','listenTo','schema','Error\x20during\x20AI\x20content\x20generation:\x20%0','EDITOR_TOP_SIDE','expired','text/html','change:enabledCommandsIds','282157hlCCAw','115451NguGco','_dialog','244TgSxae','_initView','panelView','editing','sort','INSERT','ai.useTheme','set','aiLicenseKeyUsageLimit','updatePosition','menuitemcheckbox','invalid','addMany','aiLicenseKeyNotAllowed','_aiAssistantController','items','trim','_uiCssClasses','ai-commands-config-order-collision','_formView','contentArea','requires','view','_populateMenuBarMenu','aiLicenseKeyInvalid','model','textAdapter','prompt','menuBar:aiAssistant','init','_getMenuBarGroupButtons','updateView','queryView','command:','componentFactory','forEach','render','AI\x20Assistant','ck-ai-commands-dropdown\x20','hideUI','locale','10HSBaUw','delegate','groupId','copy','trialLimit','fieldView','1740504tHWHeG','length','_createAIAssistantUIButton','Generated\x20content:\x20%0','featureNotAllowed','DataTransfer','\x20ck-ai-assistant-ui_theme','aiAssistant','update','map','focus','plugins','polite','from','getLimitElement','document','replaceContent','_commandDefinitions','showUI','getData','tableOfContents','hide','ck-ai-assistant-ui','splice','pluginName','isOn','AI\x20is\x20writing','reset','AIAssistantUI','rawHtml','_onExecute','isOfficialPlugin','enabledCommandsIds','getRanges','custom','requiresContent','_initAriaAiStatusChangeAnnouncements','7046288hcHWQE','showAIAssistant','editor','getSelectedBlocks','change:value','menuPanelClass','8vpwKgu','REPLACE','aiLicenseKeyExpired','define','commands','includes','aiLicenseKeyDomainLimit','ck-ai-assistant-button\x20','5974176icXzeg','body','_aiAdapter','9yqmZsG','ai.aiAssistant.contentAreaCssClass','setSelection','filter','config','fire','media','announce','once','menuView','replace','domainLimit','change:isError','change:isProcessing','execute','showFakeVisualSelection','ai.aiAssistant.disabledElements','children','text','aiLicenseKeyTrialLimit','getSelectedElement','buttonView','promptView','_getResolvedCommandsDefinitions','ai.aiAssistant.commands','change','_licenseKeyCheckInterval','isEnabled','_showLicenseError','destroy'];_0x107b=function(){return _0x15e7fd;};return _0x107b();}export default class n extends _0x52fde6{[_0x1af4c6(0x17b)];[_0x1af4c6(0x171)];[_0x1af4c6(0xf1)];[_0x1af4c6(0x105)];[_0x1af4c6(0x156)];[_0x1af4c6(0x100)];[_0x1af4c6(0x103)]='';static get[_0x1af4c6(0x139)](){const _0x17ce09=_0x1af4c6;return _0x17ce09(0x13d);}static get[_0x1af4c6(0x140)](){return!0x0;}static get[_0x1af4c6(0x180)](){return!0x0;}static get[_0x1af4c6(0x107)](){return[_0x309ce6,_0x4454f2,_0x3c6624,_0x2e44aa];}constructor(_0x154168){const _0xc5c17c=_0x1af4c6;super(_0x154168),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0x167),[_0xc5c17c(0x15d),_0xc5c17c(0x13e),_0xc5c17c(0x135)]),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0x158),''),_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0x14f)](_0xc5c17c(0xf8),!0x0),this[_0xc5c17c(0x103)]=_0xc5c17c(0x137)+(_0x154168[_0xc5c17c(0x15b)][_0xc5c17c(0xe3)](_0xc5c17c(0xf8))?_0xc5c17c(0x127):'');}[_0x1af4c6(0x10f)](){const _0x4480de=_0x1af4c6,{editor:_0x224031}=this;this[_0x4480de(0x156)]=_0x224031[_0x4480de(0x12c)][_0x4480de(0xe3)](_0x3c6624),this[_0x4480de(0xf1)]=_0x224031[_0x4480de(0x12c)][_0x4480de(0xe3)](_0x2e44aa),this[_0x4480de(0x105)]=null,this[_0x4480de(0x132)]=this[_0x4480de(0x16e)]();const _0xe9b194=new _0x530f49(_0x224031,Array[_0x4480de(0x12e)](this[_0x4480de(0x132)][_0x4480de(0x178)]()));_0x224031[_0x4480de(0x150)][_0x4480de(0xe0)](_0x4480de(0x147),_0xe9b194),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0xe5),_0x21b7ae=>{const _0x45e5c4=_0x4480de,_0x524ba3=_0x205ea8(_0x21b7ae);return _0x524ba3[_0x45e5c4(0xf9)]({'class':_0x45e5c4(0x118)+this[_0x45e5c4(0x103)]}),_0x524ba3[_0x45e5c4(0x16c)][_0x45e5c4(0xf9)]({'label':_0x3b9308(_0x21b7ae,_0x45e5c4(0xe1)),'icon':_0x297ac3,'tooltip':!0x0}),_0x524ba3['on'](_0x45e5c4(0x165),_0x9e8b5a=>this[_0x45e5c4(0x13f)](_0x9e8b5a[_0x45e5c4(0x17f)]['id'])),_0x28435e(_0x524ba3,_0x224031['ui'][_0x45e5c4(0x108)][_0x45e5c4(0x155)],function(_0x1b2ff2){const _0x4154d3=_0x45e5c4,_0x2040a8=_0x21fb2a(_0x1b2ff2[_0x4154d3(0x15b)][_0x4154d3(0xe3)](_0x4154d3(0x16f)),_0x1b2ff2[_0x4154d3(0x11a)]),_0x4d2895=U(_0x1b2ff2,_0x2040a8)[_0x4154d3(0x15a)](_0x40dd57=>_0x40dd57[_0x4154d3(0x150)][_0x4154d3(0x122)]);if(0x1===_0x4d2895[_0x4154d3(0x122)])return U(_0x1b2ff2,_0x4d2895[0x0][_0x4154d3(0x150)])[_0x4154d3(0x12a)](_0x296067=>({'id':_0x296067['id'],'label':_0x296067[_0x4154d3(0xe2)]}));return _0x4d2895[_0x4154d3(0x12a)](_0x9d95dc=>{const _0x33150c=_0x4154d3,{groupId:_0x4caced,groupLabel:_0x5c822a,commands:_0x316a0a}=_0x9d95dc,_0x1f9ede=U(_0x1b2ff2,_0x316a0a)[_0x33150c(0x12a)](_0x1238fc=>({'id':_0x1238fc['id'],'label':_0x1238fc[_0x33150c(0xe2)]}));return{'id':_0x4caced,'menu':_0x5c822a||_0x4caced,'children':_0x1f9ede};});}(_0x224031),{'ariaLabel':_0x3b9308(_0x21b7ae,_0x45e5c4(0xe1))}),_0x524ba3[_0x45e5c4(0x160)][_0x45e5c4(0x14b)]=_0x45e5c4(0x118)+this[_0x45e5c4(0x103)],_0xe9b194['on'](_0x45e5c4(0xee),_0xa14cc5),_0x524ba3[_0x45e5c4(0x160)][_0x45e5c4(0x15f)](_0x45e5c4(0x116),_0xa14cc5),_0x524ba3;function _0xa14cc5(){const _0x8b8014=_0x45e5c4;_0x524ba3[_0x8b8014(0x172)]=_0xe9b194[_0x8b8014(0x141)][_0x8b8014(0x122)]>0x0;for(const _0x3d7fc6 of _0x524ba3[_0x8b8014(0x160)][_0x8b8014(0xdb)])_0x3d7fc6[_0x8b8014(0x172)]=_0xe9b194[_0x8b8014(0x141)][_0x8b8014(0x151)](_0x3d7fc6['id']);}}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x183),_0x557910=>{const _0x13866b=_0x4480de,_0x4ede85=new _0x228f09(_0x557910);_0x4ede85[_0x13866b(0x16c)][_0x13866b(0xf9)]({'label':_0x3b9308(_0x557910,_0x13866b(0xe1)),'icon':_0x297ac3}),_0x4ede85[_0x13866b(0xd7)](_0x13866b(0x172))['to'](_0xe9b194,_0x13866b(0x141),_0x3ee741=>_0x3ee741[_0x13866b(0x122)]>0x0);const _0x42e10a=_0x21fb2a(_0x224031[_0x13866b(0x15b)][_0x13866b(0xe3)](_0x13866b(0x16f)),_0x557910);return this[_0x13866b(0x109)](_0xe9b194,_0x4ede85,_0x42e10a,_0x148e4a=>this[_0x13866b(0x13f)](_0x148e4a)),_0x4ede85;}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x128),()=>{const _0x459447=_0x4480de,_0x339145=this[_0x459447(0x123)](_0xe7dabb);return _0x339145[_0x459447(0xf9)]({'tooltip':!0x0,'class':_0x459447(0x153)+this[_0x459447(0x103)]}),_0x339145;}),_0x224031['ui'][_0x4480de(0x114)][_0x4480de(0xe0)](_0x4480de(0x10e),()=>{const _0x335061=_0x4480de,_0x2aab05=this[_0x335061(0x123)](_0x13f8bf);return _0x2aab05[_0x335061(0xf9)]({'role':_0x335061(0xfc)}),_0x2aab05;}),this[_0x4480de(0x17b)]=this[_0x4480de(0x148)][_0x4480de(0x15b)][_0x4480de(0xe3)](_0x4480de(0x17b));const _0x31dbd3=this[_0x4480de(0x148)];this[_0x4480de(0x171)]=setInterval(()=>{const _0x220a40=_0x4480de;let _0x5c3072;for(const _0x17ae53 in _0x31dbd3){const _0x5cf82f=_0x17ae53,_0x1909bf=_0x31dbd3[_0x5cf82f];if(_0x220a40(0xd5)==_0x1909bf||_0x220a40(0x10a)==_0x1909bf||_0x220a40(0x14e)==_0x1909bf||_0x220a40(0x152)==_0x1909bf||_0x220a40(0xff)==_0x1909bf||_0x220a40(0x179)==_0x1909bf||_0x220a40(0x16a)==_0x1909bf||_0x220a40(0xfa)==_0x1909bf){delete _0x31dbd3[_0x5cf82f],_0x5c3072=_0x1909bf,clearInterval(this[_0x220a40(0x171)]),this[_0x220a40(0x171)]=void 0x0;break;}}_0x220a40(0x10a)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xfd)),_0x220a40(0x14e)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xec)),_0x220a40(0x152)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x162)),_0x220a40(0xff)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x125),_0x220a40(0xd4)),_0x220a40(0x179)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0xdd)),_0x220a40(0x16a)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x11f)),_0x220a40(0xfa)==_0x5c3072&&_0x31dbd3[_0x220a40(0x173)](_0x220a40(0x176));},0x3e8);}[_0x1af4c6(0x174)](){const _0x51ebdb=_0x1af4c6;super[_0x51ebdb(0x174)](),this[_0x51ebdb(0x171)]&&clearInterval(this[_0x51ebdb(0x171)]);}[_0x1af4c6(0x133)](_0x27bec1='',_0x7d7014='',_0x52a7b4=_0x1af4c6(0x143)){const _0x5c120e=_0x1af4c6,_0x40026d=this[_0x5c120e(0x148)],_0x244556=_0x40026d[_0x5c120e(0xf5)][_0x5c120e(0x108)],_0x4c5acb=_0x40026d[_0x5c120e(0x12c)][_0x5c120e(0xe3)](_0x4454f2),_0x19f7ef=_0x40026d[_0x5c120e(0x12c)][_0x5c120e(0xe3)](_0x309ce6);_0x4c5acb[_0x5c120e(0x166)]();const _0x38ffb1=new w(),_0x2abb7c=new ClipboardEvent(_0x5c120e(0x11e),{'clipboardData':_0x38ffb1}),_0x1e1c2c=new _0x393e90(_0x38ffb1),_0x60843e=new _0x8f9822(_0x244556,_0x2abb7c,{'dataTransfer':_0x1e1c2c});_0x19f7ef[_0x5c120e(0xdf)](_0x5c120e(0xd6),()=>{const _0x3c4d0c=_0x5c120e;_0x244556[_0x3c4d0c(0x130)][_0x3c4d0c(0x15c)](_0x3c4d0c(0x11e),_0x60843e);}),this[_0x5c120e(0x105)]||(this[_0x5c120e(0xf3)](),this[_0x5c120e(0x100)]=new _0x1b47b8(_0x40026d,this[_0x5c120e(0x156)][_0x5c120e(0x10c)],this[_0x5c120e(0x105)]));let _0x33eb87=_0x1e1c2c[_0x5c120e(0x134)](_0x5c120e(0xed));const _0x4795f3=_0x40026d[_0x5c120e(0x10b)][_0x5c120e(0x130)][_0x5c120e(0x182)],_0x3f7b35=Array[_0x5c120e(0x12e)](_0x4795f3[_0x5c120e(0x142)]());0x1===_0x3f7b35[_0x5c120e(0x122)]&&_0x3f7b35[0x0][_0x5c120e(0xde)]&&!_0x4795f3[_0x5c120e(0x16b)]()&&''!==_0x33eb87[_0x5c120e(0x161)](/ /g,'')[_0x5c120e(0x102)]()&&(_0x33eb87=_0x5c120e(0xda)+_0x33eb87+_0x5c120e(0x17d)),this[_0x5c120e(0x100)][_0x5c120e(0x111)]({'actionId':_0x52a7b4,'query':_0x27bec1,'htmlContent':_0x33eb87,'label':_0x7d7014,'mainActionLabel':_0x3b7af2[_0x40026d[_0x5c120e(0x10b)][_0x5c120e(0x130)][_0x5c120e(0x182)][_0x5c120e(0x177)]?_0x5c120e(0xf7):_0x5c120e(0x14d)]}),_0x5c120e(0x128)!==this[_0x5c120e(0xf1)]['id']?this[_0x5c120e(0xf1)][_0x5c120e(0xdc)]({'id':_0x5c120e(0x128),'icon':_0x5544d2,'title':_0x3b9308(this[_0x5c120e(0x148)][_0x5c120e(0x11a)],_0x5c120e(0x117)),'content':this[_0x5c120e(0x105)],'position':_0x49f946[_0x5c120e(0xeb)],'onShow':()=>{const _0x3267d6=_0x5c120e;this[_0x3267d6(0x105)][_0x3267d6(0x12b)]();},'onHide':()=>{const _0x31db84=_0x5c120e;this[_0x31db84(0x100)][_0x31db84(0x13c)](),_0x4c5acb[_0x31db84(0xd8)]();}}):this[_0x5c120e(0xf1)][_0x5c120e(0x108)][_0x5c120e(0x17a)]||this[_0x5c120e(0xf1)][_0x5c120e(0x108)][_0x5c120e(0xfb)]();}[_0x1af4c6(0x119)](){const _0x33dac1=_0x1af4c6;this[_0x33dac1(0xf1)][_0x33dac1(0x136)]();}[_0x1af4c6(0x16e)](){const _0x3e93c5=_0x1af4c6,_0xff2a15=new Map(),_0x6e6748=_0x21fb2a(this[_0x3e93c5(0x148)][_0x3e93c5(0x15b)][_0x3e93c5(0xe3)](_0x3e93c5(0x16f)),this[_0x3e93c5(0x148)][_0x3e93c5(0x11a)]);for(const _0x2fe8c1 of _0x6e6748)for(const _0x53d683 of _0x2fe8c1[_0x3e93c5(0x150)])_0xff2a15[_0x3e93c5(0xf9)](_0x53d683['id'],{..._0x53d683,'groupId':_0x2fe8c1[_0x3e93c5(0x11d)],'groupLabel':_0x2fe8c1[_0x3e93c5(0x181)]||_0x2fe8c1[_0x3e93c5(0x11d)]});return _0xff2a15;}[_0x1af4c6(0x123)](_0x2d3202){const _0x408543=_0x1af4c6,_0x2e6373=this[_0x408543(0x148)],_0x23783c=_0x2e6373[_0x408543(0x150)][_0x408543(0xe3)](_0x408543(0x147)),_0x2d6d42=new _0x2d3202(_0x2e6373[_0x408543(0x11a)]);return _0x2d6d42[_0x408543(0xf9)]({'label':_0x3b9308(_0x2e6373[_0x408543(0x11a)],_0x408543(0x117)),'icon':_0x5544d2,'isToggleable':!0x0}),_0x2d6d42[_0x408543(0xd7)](_0x408543(0x172))['to'](_0x23783c),_0x2d6d42[_0x408543(0xd7)](_0x408543(0x13a))['to'](this[_0x408543(0xf1)],'id',_0x3a47a2=>_0x408543(0x128)===_0x3a47a2),this[_0x408543(0xe8)](_0x2d6d42,_0x408543(0x165),()=>{const _0x4789b5=_0x408543;_0x2d6d42[_0x4789b5(0x13a)]?this[_0x4789b5(0x119)]():_0x23783c[_0x4789b5(0x165)]();}),_0x2d6d42;}[_0x1af4c6(0xf3)](){const _0x4bb3a4=_0x1af4c6,_0x4de181=this[_0x4bb3a4(0x148)][_0x4bb3a4(0x12c)][_0x4bb3a4(0xe3)](_0x4454f2);this[_0x4bb3a4(0x105)]=new _0x5e6a0b(this[_0x4bb3a4(0x148)][_0x4bb3a4(0x11a)],this[_0x4bb3a4(0x103)],this[_0x4bb3a4(0x148)][_0x4bb3a4(0x15b)][_0x4bb3a4(0xe3)](_0x4bb3a4(0x158))),this[_0x4bb3a4(0x105)]['on'](_0x4bb3a4(0x14a),()=>{const _0x160479=_0x4bb3a4;this[_0x160479(0xf1)][_0x160479(0x108)][_0x160479(0x17a)]||this[_0x160479(0xf1)][_0x160479(0x108)][_0x160479(0xfb)]();}),this[_0x4bb3a4(0x105)][_0x4bb3a4(0x16d)][_0x4bb3a4(0x112)][_0x4bb3a4(0x120)]['on'](_0x4bb3a4(0x129),()=>{const _0x14ef3b=_0x4bb3a4;this[_0x14ef3b(0xf1)][_0x14ef3b(0x108)][_0x14ef3b(0x17a)]||this[_0x14ef3b(0xf1)][_0x14ef3b(0x108)][_0x14ef3b(0xfb)]();}),this[_0x4bb3a4(0xe8)](this[_0x4bb3a4(0x105)],_0x4bb3a4(0x131),()=>{const _0x3d2c00=_0x4bb3a4;_0x4de181[_0x3d2c00(0xe6)](this[_0x3d2c00(0x100)][_0x3d2c00(0xe7)]),this[_0x3d2c00(0x119)]();}),this[_0x4bb3a4(0xe8)](this[_0x4bb3a4(0x105)],_0x4bb3a4(0x17e),()=>{const _0x5c0c75=_0x4bb3a4;_0x4de181[_0x5c0c75(0x17e)](this[_0x5c0c75(0x100)][_0x5c0c75(0xe7)]),this[_0x5c0c75(0x119)]();}),this[_0x4bb3a4(0x145)]();}[_0x1af4c6(0x145)](){const _0x25b76a=_0x1af4c6,{locale:_0x542d93,ui:{ariaLiveAnnouncer:_0x4a0bd1}}=this[_0x25b76a(0x148)];this[_0x25b76a(0x105)][_0x25b76a(0x106)]['on'](_0x25b76a(0x164),(_0x577304,_0x2af1de,_0x59c3e9)=>{const _0x5d76ce=_0x25b76a,_0x2518f3=this[_0x5d76ce(0x100)][_0x5d76ce(0xe7)];_0x59c3e9?_0x4a0bd1[_0x5d76ce(0x15e)](_0x3b9308(_0x542d93,_0x5d76ce(0x13b))):_0x2518f3&&_0x4a0bd1[_0x5d76ce(0x15e)](_0x3b9308(_0x542d93,_0x5d76ce(0x124),_0x2518f3),{'politeness':_0x5d76ce(0x12d),'isUnsafeHTML':!0x0});}),this[_0x25b76a(0x105)]['on'](_0x25b76a(0x163),(_0x13bca6,_0x361b6c,_0x59606f)=>{const _0x83b25=_0x25b76a;if(_0x59606f){const _0x1bcb64=this[_0x83b25(0x105)][_0x83b25(0x17c)][_0x83b25(0x169)];_0x4a0bd1[_0x83b25(0x15e)](_0x3b9308(_0x542d93,_0x83b25(0xea),_0x1bcb64));}});}[_0x1af4c6(0x13f)](_0x13e609){const _0x51e71b=_0x1af4c6,_0x16a167=this[_0x51e71b(0x132)][_0x51e71b(0xe3)](_0x13e609),_0x2f528a=this[_0x51e71b(0x148)],_0xb25379=_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0x130)][_0x51e71b(0x182)],_0x7b4b2a=_0x2f528a[_0x51e71b(0x150)][_0x51e71b(0xe3)](_0x51e71b(0x147)),_0x38d4db=_0x2f528a[_0x51e71b(0x12c)][_0x51e71b(0xe3)](_0x4454f2),_0x4f2baa=''+(_0x16a167[_0x51e71b(0x11d)]!==_0x5eff58?_0x16a167[_0x51e71b(0x181)]+':\x20':'')+_0x16a167[_0x51e71b(0xe2)];if(!0x1!==_0x16a167[_0x51e71b(0x144)]&&_0xb25379[_0x51e71b(0x177)]){const _0xeb45be=_0x14c644(_0xb25379[_0x51e71b(0x149)]())||_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0xe9)][_0x51e71b(0x12f)](_0xb25379);_0x2f528a[_0x51e71b(0x10b)][_0x51e71b(0x170)](_0xec76c=>{const _0x4bf773=_0x51e71b;_0xec76c[_0x4bf773(0x159)](_0xeb45be,'in');});}_0x38d4db[_0x51e71b(0x166)](),_0x7b4b2a[_0x51e71b(0x165)](_0x16a167[_0x51e71b(0x10d)],_0x4f2baa,_0x51e71b(0x113)+_0x13e609);}[_0x1af4c6(0x109)](_0x4ab03b,_0xe3f85,_0x4ae3f1,_0x11a3df){const _0x346aa9=_0x1af4c6,_0x4f910c=this[_0x346aa9(0x148)],_0x41bd13=_0x4f910c[_0x346aa9(0x11a)],_0x16c5d2=new _0x54f0bb(_0x41bd13),_0x24f35a=U(_0x4f910c,_0x4ae3f1)[_0x346aa9(0x15a)](_0xee69f7=>_0xee69f7[_0x346aa9(0x150)][_0x346aa9(0x122)]);0x1===_0x24f35a[_0x346aa9(0x122)]?this[_0x346aa9(0x110)]({'command':_0x4ab03b,'commands':_0x24f35a[0x0][_0x346aa9(0x150)],'parentMenuView':_0xe3f85,'onExecute':_0x11a3df})[_0x346aa9(0x115)](_0x2df040=>_0x16c5d2[_0x346aa9(0x101)][_0x346aa9(0xe0)](_0x2df040)):_0x24f35a[_0x346aa9(0x115)](({groupId:_0x38fa8a,groupLabel:_0x20e9b0,commands:_0x4058b7})=>{const _0x54b8c2=_0x346aa9,_0x1a243e=new _0x4632ca(_0x41bd13,_0xe3f85),_0x12a662=new _0x228f09(_0x41bd13),_0x5b6a42=new _0x54f0bb(_0x41bd13),_0x29d6a0=this[_0x54b8c2(0x110)]({'command':_0x4ab03b,'commands':_0x4058b7,'parentMenuView':_0x12a662,'onExecute':_0x11a3df});_0x12a662[_0x54b8c2(0x16c)][_0x54b8c2(0xf9)]({'label':_0x20e9b0||_0x38fa8a}),_0x12a662[_0x54b8c2(0x11c)](_0x54b8c2(0x165))['to'](_0xe3f85),_0x5b6a42[_0x54b8c2(0x101)][_0x54b8c2(0xfe)](_0x29d6a0),_0x12a662[_0x54b8c2(0xf4)][_0x54b8c2(0x168)][_0x54b8c2(0xe0)](_0x5b6a42),_0x1a243e[_0x54b8c2(0x168)][_0x54b8c2(0xe0)](_0x12a662),_0x16c5d2[_0x54b8c2(0x101)][_0x54b8c2(0xe0)](_0x1a243e);}),_0xe3f85[_0x346aa9(0xf4)][_0x346aa9(0x168)][_0x346aa9(0xe0)](_0x16c5d2);}[_0x1af4c6(0x110)]({command:_0x3f665d,commands:_0x483e55,parentMenuView:_0x3d4566,onExecute:_0x565b84}){const _0x42a663=_0x1af4c6,_0x1e4099=this[_0x42a663(0x148)],_0x517a76=_0x1e4099[_0x42a663(0x11a)];return U(_0x1e4099,_0x483e55)[_0x42a663(0x12a)](_0x4db344=>{const _0x553ae8=_0x42a663,_0x162b6f=new _0x4632ca(_0x517a76,_0x3d4566),_0x9a3cff=new _0x13f8bf(_0x517a76);return _0x9a3cff[_0x553ae8(0xf9)]({'label':_0x4db344[_0x553ae8(0xe2)]}),_0x9a3cff[_0x553ae8(0x11c)](_0x553ae8(0x165))['to'](_0x3d4566),_0x9a3cff['on'](_0x553ae8(0x165),()=>_0x565b84(_0x4db344['id'])),_0x9a3cff[_0x553ae8(0xd7)](_0x553ae8(0x172))['to'](_0x3f665d,_0x553ae8(0x141),_0xcb7f3d=>_0xcb7f3d[_0x553ae8(0x151)](_0x4db344['id'])),_0x162b6f[_0x553ae8(0x168)][_0x553ae8(0xe0)](_0x9a3cff),_0x162b6f;});}}function B(_0x22a429,_0x222308){const _0x53dc3b=_0x1af4c6;return void 0x0!==_0x22a429[_0x53dc3b(0xd9)]&&void 0x0===_0x222308[_0x53dc3b(0xd9)]?0x1:void 0x0===_0x22a429[_0x53dc3b(0xd9)]&&void 0x0!==_0x222308[_0x53dc3b(0xd9)]?-0x1:void 0x0!==_0x22a429[_0x53dc3b(0xd9)]&&void 0x0!==_0x222308[_0x53dc3b(0xd9)]?_0x22a429[_0x53dc3b(0xd9)]-_0x222308[_0x53dc3b(0xd9)]:0x0;}function U(_0x36eea7,_0x475a24){const _0x43d3ca=_0x1af4c6;_0x475a24[_0x43d3ca(0xf6)](B);const _0x1b211e={},_0x413a5e=[];for(const _0x4e92a7 of _0x475a24)if(void 0x0!==_0x4e92a7[_0x43d3ca(0xd9)]){if(_0x4e92a7[_0x43d3ca(0xd9)]in _0x1b211e)throw new _0x4e71b9(_0x43d3ca(0x104),_0x36eea7,{'conflictingDefinitions':[_0x4e92a7,_0x1b211e[_0x4e92a7[_0x43d3ca(0xd9)]]]});_0x1b211e[_0x4e92a7[_0x43d3ca(0xd9)]]=_0x4e92a7,_0x413a5e[_0x43d3ca(0x138)](_0x4e92a7[_0x43d3ca(0xd9)],0x0,_0x4e92a7);}else _0x413a5e[_0x43d3ca(0xe4)](_0x4e92a7);return _0x413a5e;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2f380d,_0x121811){var _0x2979e7=_0xd3fe,_0x4fefaa=_0x2f380d();while(!![]){try{var _0x37cbb9=parseInt(_0x2979e7(0x19d))/0x1*(parseInt(_0x2979e7(0x19c))/0x2)+-parseInt(_0x2979e7(0x1a2))/0x3*(-parseInt(_0x2979e7(0x1a7))/0x4)+-parseInt(_0x2979e7(0x1a0))/0x5*(parseInt(_0x2979e7(0x1a3))/0x6)+parseInt(_0x2979e7(0x1a5))/0x7*(-parseInt(_0x2979e7(0x19f))/0x8)+-parseInt(_0x2979e7(0x19e))/0x9*(parseInt(_0x2979e7(0x1a6))/0xa)+parseInt(_0x2979e7(0x1a4))/0xb+-parseInt(_0x2979e7(0x1a1))/0xc*(-parseInt(_0x2979e7(0x19b))/0xd);if(_0x37cbb9===_0x121811)break;else _0x4fefaa['push'](_0x4fefaa['shift']());}catch(_0x4b551a){_0x4fefaa['push'](_0x4fefaa['shift']());}}}(_0x18f2,0x6624b));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0xd3fe(_0x4e142c,_0x2198e9){var _0x18f239=_0x18f2();return _0xd3fe=function(_0xd3fe3d,_0xcaf442){_0xd3fe3d=_0xd3fe3d-0x19b;var _0x1f6f28=_0x18f239[_0xd3fe3d];return _0x1f6f28;},_0xd3fe(_0x4e142c,_0x2198e9);}function _0x18f2(){var _0x4a1e6e=['319908ylRyhu','3pjSCTq','6eKUAlv','51007UpKOjV','4739BSLPAf','10yHNuCw','3154740huFwtF','65xPMUpw','1134106TeHYdr','1BvMpZG','220230lQwqdY','2648xpRECi','4133670tUpTYb'];_0x18f2=function(){return _0x4a1e6e;};return _0x18f2();}export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2bb618,_0x3f61d9){var _0x179b2d=_0x7998,_0x2a0d2c=_0x2bb618();while(!![]){try{var _0x49f1f4=parseInt(_0x179b2d(0x12f))/0x1+parseInt(_0x179b2d(0x12d))/0x2+parseInt(_0x179b2d(0x130))/0x3*(parseInt(_0x179b2d(0x132))/0x4)+-parseInt(_0x179b2d(0x134))/0x5+parseInt(_0x179b2d(0x131))/0x6+parseInt(_0x179b2d(0x12e))/0x7*(-parseInt(_0x179b2d(0x12c))/0x8)+-parseInt(_0x179b2d(0x12b))/0x9*(parseInt(_0x179b2d(0x133))/0xa);if(_0x49f1f4===_0x3f61d9)break;else _0x2a0d2c['push'](_0x2a0d2c['shift']());}catch(_0x3590b3){_0x2a0d2c['push'](_0x2a0d2c['shift']());}}}(_0x22f3,0xb8982));function _0x22f3(){var _0x2b614e=['2371446GUHXEr','4956679rcLfNH','88489sDgJvd','3vYEDOm','8084526uIylAM','4916592mHjOUN','10quBMAY','7402420uuwhFH','1782045DPMFLa','16faFzhh'];_0x22f3=function(){return _0x2b614e;};return _0x22f3();}function _0x7998(_0x1ebfe5,_0x4becfe){var _0x22f30f=_0x22f3();return _0x7998=function(_0x79989,_0x49628c){_0x79989=_0x79989-0x12b;var _0x562e2c=_0x22f30f[_0x79989];return _0x562e2c;},_0x7998(_0x1ebfe5,_0x4becfe);}import{CKEditorError as _0xbe0550}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x56a372=_0x4a87;(function(_0x19015e,_0x2c0e5a){const _0x30250a=_0x4a87,_0x134207=_0x19015e();while(!![]){try{const _0x406869=parseInt(_0x30250a(0x1df))/0x1*(-parseInt(_0x30250a(0x212))/0x2)+-parseInt(_0x30250a(0x1d8))/0x3+-parseInt(_0x30250a(0x1cb))/0x4+-parseInt(_0x30250a(0x21c))/0x5*(parseInt(_0x30250a(0x1e7))/0x6)+-parseInt(_0x30250a(0x1e2))/0x7+parseInt(_0x30250a(0x1c7))/0x8+-parseInt(_0x30250a(0x1da))/0x9*(-parseInt(_0x30250a(0x1d9))/0xa);if(_0x406869===_0x2c0e5a)break;else _0x134207['push'](_0x134207['shift']());}catch(_0x10405d){_0x134207['push'](_0x134207['shift']());}}}(_0x2fb0,0x57a48));import{ObservableMixin as _0x3bcf22}from'ckeditor5/src/utils.js';import{AIRequestError as _0x5d119a}from'../adapters/aiadapter.js';function _0x4a87(_0x5be639,_0x10d791){const _0x2fb0e1=_0x2fb0();return _0x4a87=function(_0x4a87fd,_0x4ecf79){_0x4a87fd=_0x4a87fd-0x1bd;let _0x3ab248=_0x2fb0e1[_0x4a87fd];return _0x3ab248;},_0x4a87(_0x5be639,_0x10d791);}function _0x2fb0(){const _0x441746=['then','set:currentContext','_parseAndNormalizeContent','stopProcessing','_handleQuery','<h1></h1>','initialContext','finishProcessing','isProcessing','64140lXTOjP','stringify','previousLabel','startProcessing','makeRequest','editor','from','remove','parseFromString','ELEMENT_NODE','get','name','markers','data','endsWith','234720rGjrKC','isRendered','childNodes','config','1423372ggqhFo','push','```','message','previousQuery','```html','_sanitizationContainer','_isH1TagSupportEnabled','startsWith','serializeToString','_sanitizeHTML','currentContext','catch','525954dAYpON','5630txOHOG','30393nNFqvE','previousActionId','previousContext','trim','handleError','7IMfmcV','_normalizeResponseHeadings','setContentOf','3214743Cyqnpq','view','_domParser','div','finally','12pHNaVV','nodeType','abort','once','toView','render','match','domConverter','reset','substring','createElement','processor','toModel','ai.aiAssistant.preserveComments','custom','rename','set','_stripMarkdownSyntax','stopListening','htmlProcessor','_xmlSerializer','value','prompt','viewToDom','listenTo','tryAgainEvent','length','innerHTML','submitPrompt','mainAction','element','clear','textAdapter','destroy','body','updateView','text/html','querySelector','editing','reverse','document','currentResponse','exec','158726uuLPOo'];_0x2fb0=function(){return _0x441746;};return _0x2fb0();}import{Matcher as _0x5ba4ef,UpcastWriter as _0x4bb672}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3bcf22(){[_0x56a372(0x1bd)];[_0x56a372(0x207)];[_0x56a372(0x1e3)];[_0x56a372(0x1d1)];[_0x56a372(0x1e4)];[_0x56a372(0x1fb)];constructor(_0x1b0b65,_0x4d04df,_0x236c15){const _0x1008ea=_0x56a372;super(),this[_0x1008ea(0x1bd)]=_0x1b0b65,this[_0x1008ea(0x207)]=_0x4d04df,this[_0x1008ea(0x1d1)]=document[_0x1008ea(0x1f1)](_0x1008ea(0x1e5)),this[_0x1008ea(0x1e4)]=new DOMParser(),this[_0x1008ea(0x1fb)]=new XMLSerializer(),this[_0x1008ea(0x1e3)]=_0x236c15,this[_0x1008ea(0x1f7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1008ea(0x214),(_0x5e97b1,_0x4d3307,_0x463f23)=>{const _0x37d1c5=_0x1008ea;this[_0x37d1c5(0x1e3)][_0x37d1c5(0x1fc)]=this[_0x37d1c5(0x1d5)](_0x463f23);}),this[_0x1008ea(0x1ff)](this[_0x1008ea(0x1e3)],_0x1008ea(0x203),(_0x809cd4,_0xe72ac3)=>{const _0xb6eb0c=_0x1008ea,_0x2e89c7=this[_0xb6eb0c(0x1d6)]||this[_0xb6eb0c(0x219)];this[_0xb6eb0c(0x217)](_0xe72ac3,_0x2e89c7,_0xb6eb0c(0x1f5));}),this[_0x1008ea(0x1ff)](this[_0x1008ea(0x1e3)],_0x1008ea(0x200),()=>{const _0x1244fa=_0x1008ea;this[_0x1244fa(0x1e3)][_0x1244fa(0x1fd)]=this[_0x1244fa(0x21e)],this[_0x1244fa(0x217)](this[_0x1244fa(0x1cf)],this[_0x1244fa(0x1dc)],this[_0x1244fa(0x1db)],this[_0x1244fa(0x21e)]);}),this[_0x1008ea(0x1ff)](this[_0x1008ea(0x1e3)],_0x1008ea(0x216),()=>{const _0x5dc500=_0x1008ea;this[_0x5dc500(0x216)]();});}[_0x56a372(0x208)](){const _0x444aec=_0x56a372;this[_0x444aec(0x1f9)]();}async[_0x56a372(0x20a)]({actionId:_0x1f9308,query:_0x3c1024,htmlContent:_0x442276,label:_0x55f424,mainActionLabel:_0x178ac7}){const _0x5beadd=_0x56a372;this[_0x5beadd(0x1e3)][_0x5beadd(0x1fd)]=_0x55f424,this[_0x5beadd(0x1e3)][_0x5beadd(0x204)]=_0x178ac7,this[_0x5beadd(0x219)]=_0x442276,_0x3c1024&&(this[_0x5beadd(0x1e3)][_0x5beadd(0x1c8)]?this[_0x5beadd(0x217)](_0x3c1024,_0x442276,_0x1f9308,_0x55f424):this[_0x5beadd(0x1e3)][_0x5beadd(0x1ea)](_0x5beadd(0x1ec),()=>{const _0x469739=_0x5beadd;this[_0x469739(0x217)](_0x3c1024,_0x442276,_0x1f9308,_0x55f424);}));}[_0x56a372(0x216)](){const _0x5e842b=_0x56a372;this[_0x5e842b(0x21b)]&&(this[_0x5e842b(0x21b)]=!0x1,this[_0x5e842b(0x1e3)][_0x5e842b(0x21a)](),this[_0x5e842b(0x207)][_0x5e842b(0x1e9)]());}[_0x56a372(0x1ef)](){const _0x2b2210=_0x56a372;this[_0x2b2210(0x219)]='',this[_0x2b2210(0x1d6)]='',this[_0x2b2210(0x210)]='',this[_0x2b2210(0x1dc)]='',this[_0x2b2210(0x1cf)]='',this[_0x2b2210(0x21e)]='',this[_0x2b2210(0x1db)]=void 0x0,this[_0x2b2210(0x1e3)][_0x2b2210(0x1ef)](),this[_0x2b2210(0x216)]();}async[_0x56a372(0x217)](_0x2d162e,_0x62600,_0x33069e,_0x399040){const _0x482aeb=_0x56a372;return this[_0x482aeb(0x21b)]=!0x0,this[_0x482aeb(0x1e3)][_0x482aeb(0x21f)](),this[_0x482aeb(0x1dc)]=_0x62600,this[_0x482aeb(0x1cf)]=_0x2d162e,this[_0x482aeb(0x21e)]=_0x399040||_0x2d162e,this[_0x482aeb(0x1db)]=_0x33069e,new Promise(_0x394b8e=>{const _0x512456=_0x482aeb;this[_0x512456(0x207)][_0x512456(0x220)]({'query':_0x2d162e,'context':_0x62600,'onData':_0x2c2577=>{const _0x1e82ca=_0x512456;this[_0x1e82ca(0x210)]=_0x2c2577,this[_0x1e82ca(0x1d6)]=this[_0x1e82ca(0x215)](this[_0x1e82ca(0x210)]);},'actionId':_0x33069e})[_0x512456(0x213)](()=>{const _0x4196c4=_0x512456;!this[_0x4196c4(0x1d6)]&&this[_0x4196c4(0x210)]&&(this[_0x4196c4(0x1d6)]=this[_0x4196c4(0x215)](this[_0x4196c4(0x210)],!0x0));})[_0x512456(0x1d7)](_0xfa9e88=>{const _0x523e9d=_0x512456;_0xfa9e88 instanceof _0x5d119a?this[_0x523e9d(0x1e3)][_0x523e9d(0x1de)](_0xfa9e88[_0x523e9d(0x1ce)]):this[_0x523e9d(0x1e3)][_0x523e9d(0x1de)](),_0x394b8e();})[_0x512456(0x1e6)](()=>{const _0x31bd9a=_0x512456;this[_0x31bd9a(0x216)](),_0x394b8e();});});}[_0x56a372(0x215)](_0x210374,_0x187b1b=!0x1){const _0x3a2bfc=_0x56a372,_0x3acf45=Z[_0x3a2bfc(0x211)](_0x210374);_0x210374=_0x3acf45?_0x210374[_0x3a2bfc(0x1f0)](_0x3acf45[0x1][_0x3a2bfc(0x201)]):_0x210374[_0x3a2bfc(0x201)]<0x64&&!_0x187b1b?'':this[_0x3a2bfc(0x1f8)](_0x210374);const _0x26ad2e=this[_0x3a2bfc(0x1e4)][_0x3a2bfc(0x1c0)](_0x210374,_0x3a2bfc(0x20b));if(_0x3acf45){const _0x3f8f67=Array[_0x3a2bfc(0x1be)](_0x26ad2e[_0x3a2bfc(0x209)][_0x3a2bfc(0x1c9)]);_0x3f8f67[_0x3a2bfc(0x20e)]();for(const _0x5a5438 of _0x3f8f67){if(_0x5a5438[_0x3a2bfc(0x1e8)]==Node[_0x3a2bfc(0x1c1)])break;_0x5a5438[_0x3a2bfc(0x1bf)]();}}const _0xf9eb0c=this[_0x3a2bfc(0x1bd)][_0x3a2bfc(0x1c5)][_0x3a2bfc(0x1f2)][_0x3a2bfc(0x1eb)](this[_0x3a2bfc(0x1fb)][_0x3a2bfc(0x1d4)](_0x26ad2e[_0x3a2bfc(0x209)]));this[_0x3a2bfc(0x1d2)]()||this[_0x3a2bfc(0x1e0)](_0xf9eb0c);const _0x1202ac=this[_0x3a2bfc(0x1bd)][_0x3a2bfc(0x1ca)][_0x3a2bfc(0x1c2)](_0x3a2bfc(0x1f4)),_0xea17f7=this[_0x3a2bfc(0x1bd)][_0x3a2bfc(0x1c5)][_0x3a2bfc(0x1f3)](_0xf9eb0c);return _0x1202ac||_0xea17f7[_0x3a2bfc(0x1c4)][_0x3a2bfc(0x206)](),this[_0x3a2bfc(0x1bd)][_0x3a2bfc(0x1c5)][_0x3a2bfc(0x21d)](_0xea17f7);}[_0x56a372(0x1e0)](_0xcc8e1){const _0x558f6c=_0x56a372,_0x49211d=new _0x4bb672(this[_0x558f6c(0x1bd)][_0x558f6c(0x20d)][_0x558f6c(0x1e3)][_0x558f6c(0x20f)]),_0x3bd3ce=new _0x5ba4ef({'name':/^h[1-5]$/}),_0x3ed3df=[];let _0x47a0a8=!0x1;for(const _0x550fa8 of _0xcc8e1)_0x550fa8['is'](_0x558f6c(0x205))&&_0x3bd3ce[_0x558f6c(0x1ed)](_0x550fa8)&&(_0x3ed3df[_0x558f6c(0x1cc)](_0x550fa8),'h1'==_0x550fa8[_0x558f6c(0x1c3)]&&(_0x47a0a8=!0x0));if(_0x47a0a8){for(const _0x1d2d94 of _0x3ed3df)_0x49211d[_0x558f6c(0x1f6)]('h'+(parseInt(_0x1d2d94[_0x558f6c(0x1c3)][0x1])+0x1),_0x1d2d94);}}[_0x56a372(0x1d2)](){const _0x388f50=_0x56a372,{data:_0x486822,editing:_0x448ff7}=this[_0x388f50(0x1bd)],_0x369130=_0x486822[_0x388f50(0x1fa)][_0x388f50(0x1eb)](_0x388f50(0x218)),_0x5bba21=_0x486822[_0x388f50(0x1eb)](_0x486822[_0x388f50(0x1f3)](_0x369130));return!!_0x448ff7[_0x388f50(0x1e3)][_0x388f50(0x1ee)][_0x388f50(0x1fe)](_0x5bba21)[_0x388f50(0x20c)]('h1');}[_0x56a372(0x1d5)](_0x8f6835){const _0x483482=_0x56a372;return this[_0x483482(0x1bd)][_0x483482(0x20d)][_0x483482(0x1e3)][_0x483482(0x1ee)][_0x483482(0x1e1)](this[_0x483482(0x1d1)],_0x8f6835),this[_0x483482(0x1d1)][_0x483482(0x202)];}[_0x56a372(0x1f8)](_0x2ea2ea){const _0x4d93ee=_0x56a372,_0x255bfb=_0x2ea2ea[_0x4d93ee(0x1dd)]();return _0x255bfb[_0x4d93ee(0x1d3)](_0x4d93ee(0x1d0))?_0x255bfb[_0x4d93ee(0x1c6)](_0x4d93ee(0x1cd))?_0x255bfb[_0x4d93ee(0x1f0)](0x7,_0x255bfb[_0x4d93ee(0x201)]-0x3):_0x255bfb[_0x4d93ee(0x1f0)](0x7):_0x2ea2ea;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e2516=_0x33d8;(function(_0x71d8fe,_0x20bca4){const _0x48fd1c=_0x33d8,_0x720662=_0x71d8fe();while(!![]){try{const _0x279d9e=-parseInt(_0x48fd1c(0x1ec))/0x1+parseInt(_0x48fd1c(0x1ba))/0x2*(-parseInt(_0x48fd1c(0x1f2))/0x3)+parseInt(_0x48fd1c(0x1ef))/0x4*(parseInt(_0x48fd1c(0x206))/0x5)+parseInt(_0x48fd1c(0x202))/0x6+parseInt(_0x48fd1c(0x1c7))/0x7+parseInt(_0x48fd1c(0x1c6))/0x8+-parseInt(_0x48fd1c(0x1f7))/0x9;if(_0x279d9e===_0x20bca4)break;else _0x720662['push'](_0x720662['shift']());}catch(_0x1ed4b4){_0x720662['push'](_0x720662['shift']());}}}(_0x31d2,0x1e388));import{global as _0x56c223}from'ckeditor5/src/utils.js';function _0x33d8(_0xd79bb1,_0x5106ad){const _0x31d225=_0x31d2();return _0x33d8=function(_0x33d8e5,_0x11ff48){_0x33d8e5=_0x33d8e5-0x1b9;let _0xb4b68c=_0x31d225[_0x33d8e5];return _0xb4b68c;},_0x33d8(_0xd79bb1,_0x5106ad);}function _0x31d2(){const _0x532748=['locale','absolute','161883KxOSuG','smooth','lastElementChild','getSelection','remove','2462454eZnXnG','execCommand','div','wheel','change:isProcessing','_createCopyButton','setContent','loaderView','querySelector','ck-ai-form__content-area','isEnabled','525174gizhXI','change:value','appendLoader','bindTemplate','5MfiOqT','setTemplate','setStartAfter','firstElementChild','ck-reset_all-excluded','contentFieldView','ck-ai-form__loader','setEndBefore','6pfCpTI','style','copy','set','class','icon','<span>[</span>','addRange','appendChild','scrollTo','ck-hidden','left','1885008LdRyVZ','1503677sAPdjG','isVisible','value','copyButtonView','<span>]</span>','write','_copyHTMLToClipboard','Copy','createElement','ck-ai-form__copy-button','ck-ai-form__content-area-wrapper','mousedown','clipboard','text/html','AI\x20is\x20writing...','focus','.ck-ai-form__loader','ck-content','\x20ck-ai-form__copy-button--copied','text/plain','ClipboardItem','element','scrollHeight','ck-ai-form__content-field','position','listenTo','isProcessing','execute','body','_createLoader','ck-ai-form__copy-button-wrapper','bind','innerHTML','removeAllRanges','-9999px','ck-ai-form__content-area--processing','render','162497hplKBx','textContent','createRange','735216OsPlNC'];_0x31d2=function(){return _0x532748;};return _0x31d2();}import{View as _0x3b7142,ButtonView as _0x53acd5,SpinnerView as _0x534d5b}from'ckeditor5/src/ui.js';import{IconCheck as _0x26f3e2,IconCopy as _0x3898ee}from'ckeditor5/src/icons.js';import{getTranslation as _0x28681c}from'../../utils/common-translations.js';export default class Y extends _0x3b7142{[_0x5e2516(0x20b)];[_0x5e2516(0x1ca)];constructor(_0x13c9ba,_0x2f61e2=''){const _0x4f4096=_0x5e2516;super(_0x13c9ba),this[_0x4f4096(0x1bd)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1f67f0=this[_0x4f4096(0x205)];this[_0x4f4096(0x20b)]=new ContentFieldView(_0x13c9ba,_0x2f61e2),this[_0x4f4096(0x1ca)]=this[_0x4f4096(0x1fc)](),this[_0x4f4096(0x207)]({'tag':_0x4f4096(0x1f9),'attributes':{'class':['ck',_0x4f4096(0x1d1),_0x1f67f0['if'](_0x4f4096(0x1c8),_0x4f4096(0x1c4),_0x3e18e5=>!_0x3e18e5)],'tabindex':'-1'},'children':[{'tag':_0x4f4096(0x1f9),'attributes':{'class':['ck',_0x4f4096(0x200),_0x1f67f0['if'](_0x4f4096(0x1e1),_0x4f4096(0x1ea))]},'children':[this[_0x4f4096(0x20b)],{'tag':_0x4f4096(0x1f9),'attributes':{'class':['ck',_0x4f4096(0x1e5)]},'children':[this[_0x4f4096(0x1ca)]]}]}]});}[_0x5e2516(0x1eb)](){const _0x407b1d=_0x5e2516;super[_0x407b1d(0x1eb)](),this[_0x407b1d(0x1c9)]&&this[_0x407b1d(0x20b)][_0x407b1d(0x1fd)](this[_0x407b1d(0x1c9)]);let _0x1c1036=!0x1;this['on'](_0x407b1d(0x203),(_0x5c245b,_0x25e2b1,_0x9de5)=>{const _0x38b9f5=_0x407b1d,_0x108102=!this[_0x38b9f5(0x20b)][_0x38b9f5(0x1dc)][_0x38b9f5(0x1ff)](_0x38b9f5(0x1d7));this[_0x38b9f5(0x20b)][_0x38b9f5(0x1fd)](_0x9de5),this[_0x38b9f5(0x1e1)]&&_0x108102&&!_0x1c1036&&this[_0x38b9f5(0x1dc)][_0x38b9f5(0x1c3)]({'top':this[_0x38b9f5(0x1dc)][_0x38b9f5(0x1dd)],'behavior':_0x38b9f5(0x1f3)});}),this['on'](_0x407b1d(0x1fb),(_0x24ebed,_0x24c942,_0x2b4048)=>{const _0x3abfeb=_0x407b1d;_0x1c1036=!0x1,_0x2b4048?(this[_0x3abfeb(0x1c9)]=null,this[_0x3abfeb(0x20b)][_0x3abfeb(0x204)]()):this[_0x3abfeb(0x1c9)]||this[_0x3abfeb(0x20b)][_0x3abfeb(0x1fd)]('');}),this[_0x407b1d(0x1e0)](this[_0x407b1d(0x1dc)],_0x407b1d(0x1fa),()=>{_0x1c1036=!0x0;}),this[_0x407b1d(0x1e0)](this[_0x407b1d(0x1dc)],_0x407b1d(0x1d2),()=>{_0x1c1036=!0x0;});}[_0x5e2516(0x1d6)](){const _0xd33731=_0x5e2516;this[_0xd33731(0x1dc)][_0xd33731(0x1d6)]();}[_0x5e2516(0x1fc)](){const _0x1a7098=_0x5e2516,_0x5804f0=this[_0x1a7098(0x1f0)],_0x7051f6=new _0x53acd5(this[_0x1a7098(0x1f0)]),_0x3508e3=_0x1a7098(0x1d0);return _0x7051f6[_0x1a7098(0x1bd)]({'label':_0x28681c(_0x5804f0,_0x1a7098(0x1ce)),'icon':_0x3898ee,'class':_0x3508e3,'tooltip':!0x0}),_0x7051f6[_0x1a7098(0x1e6)](_0x1a7098(0x1c8))['to'](this,_0x1a7098(0x1c9),_0x211491=>!!_0x211491),_0x7051f6[_0x1a7098(0x1e6)](_0x1a7098(0x201))['to'](this,_0x1a7098(0x1e1),_0x58c30b=>!_0x58c30b),_0x7051f6['on'](_0x1a7098(0x1e2),()=>{const _0xd1217a=_0x1a7098;this[_0xd1217a(0x1cd)](this[_0xd1217a(0x20b)][_0xd1217a(0x1dc)]),_0x7051f6[_0xd1217a(0x1bf)]=_0x26f3e2,_0x7051f6[_0xd1217a(0x1be)]=_0x3508e3+_0xd1217a(0x1d9),this[_0xd1217a(0x1d6)](),setTimeout(()=>{const _0x323337=_0xd1217a;_0x7051f6[_0x323337(0x1bf)]=_0x3898ee,_0x7051f6[_0x323337(0x1be)]=_0x3508e3;},0x3e8);}),_0x7051f6;}[_0x5e2516(0x1cd)](_0x42ac18){const _0xd86e05=_0x5e2516,{window:_0x329b16,document:_0xb27cdb}=_0x56c223;if(_0x329b16[_0xd86e05(0x1db)]){const {Blob:_0x588194,ClipboardItem:_0x19f5ee}=_0x329b16,_0x31e73d=[new _0x19f5ee({'text/html':new _0x588194([_0x42ac18[_0xd86e05(0x1e7)]],{'type':_0xd86e05(0x1d4)}),'text/plain':new _0x588194([_0x42ac18[_0xd86e05(0x1ed)]||''],{'type':_0xd86e05(0x1da)})})];navigator[_0xd86e05(0x1d3)][_0xd86e05(0x1cc)](_0x31e73d);}else{const _0x49975c=_0xb27cdb[_0xd86e05(0x1cf)](_0xd86e05(0x1f9));_0x49975c[_0xd86e05(0x1bb)][_0xd86e05(0x1df)]=_0xd86e05(0x1f1),_0x49975c[_0xd86e05(0x1bb)][_0xd86e05(0x1c5)]=_0xd86e05(0x1e9),_0x49975c[_0xd86e05(0x1e7)]=_0xd86e05(0x1c0)+_0x42ac18[_0xd86e05(0x1e7)]+_0xd86e05(0x1cb),_0xb27cdb[_0xd86e05(0x1e3)][_0xd86e05(0x1c2)](_0x49975c);const _0x3f22e6=_0xb27cdb[_0xd86e05(0x1ee)]();_0x3f22e6[_0xd86e05(0x208)](_0x49975c[_0xd86e05(0x209)]),_0x3f22e6[_0xd86e05(0x1b9)](_0x49975c[_0xd86e05(0x1f4)]);const _0xa9797f=_0x329b16[_0xd86e05(0x1f5)]();_0xa9797f[_0xd86e05(0x1e8)](),_0xa9797f[_0xd86e05(0x1c1)](_0x3f22e6),_0xb27cdb[_0xd86e05(0x1f8)](_0xd86e05(0x1bc)),_0x49975c[_0xd86e05(0x1f6)]();}}}export class ContentFieldView extends _0x3b7142{constructor(_0x4c14e3,_0x3a7920=''){const _0x3fa5e9=_0x5e2516;super(_0x4c14e3),this[_0x3fa5e9(0x1fe)]=this[_0x3fa5e9(0x1e4)](),this[_0x3fa5e9(0x207)]({'tag':_0x3fa5e9(0x1f9),'attributes':{'class':['ck',_0x3fa5e9(0x1d8),_0x3a7920,_0x3fa5e9(0x20a),_0x3fa5e9(0x1de)]}});}[_0x5e2516(0x1fd)](_0x1712b5){const _0x107f79=_0x5e2516;this[_0x107f79(0x1dc)][_0x107f79(0x1e7)]=_0x1712b5;}[_0x5e2516(0x204)](){const _0x5566e6=_0x5e2516;this[_0x5566e6(0x1dc)][_0x5566e6(0x1c2)](this[_0x5566e6(0x1fe)][_0x5566e6(0x1dc)]);}[_0x5e2516(0x1e4)](){const _0x348c5b=_0x5e2516,_0x2f6656=new _0x3b7142(),_0x3c3ff6=this[_0x348c5b(0x1f0)],_0x4d0575=new _0x534d5b();return _0x4d0575[_0x348c5b(0x1c8)]=!0x0,_0x2f6656[_0x348c5b(0x207)]({'tag':_0x348c5b(0x1f9),'attributes':{'class':['ck',_0x348c5b(0x20c)]},'children':[_0x4d0575,{'text':_0x28681c(_0x3c3ff6,_0x348c5b(0x1d5))}]}),_0x2f6656[_0x348c5b(0x1eb)](),_0x2f6656;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5194de,_0x4adb94){const _0x4e3f06=_0x5c20,_0x12b752=_0x5194de();while(!![]){try{const _0x1b2a22=parseInt(_0x4e3f06(0x15a))/0x1+parseInt(_0x4e3f06(0x154))/0x2*(parseInt(_0x4e3f06(0x161))/0x3)+parseInt(_0x4e3f06(0x159))/0x4*(-parseInt(_0x4e3f06(0x157))/0x5)+parseInt(_0x4e3f06(0x156))/0x6+parseInt(_0x4e3f06(0x163))/0x7*(parseInt(_0x4e3f06(0x15b))/0x8)+-parseInt(_0x4e3f06(0x160))/0x9+-parseInt(_0x4e3f06(0x158))/0xa*(parseInt(_0x4e3f06(0x15c))/0xb);if(_0x1b2a22===_0x4adb94)break;else _0x12b752['push'](_0x12b752['shift']());}catch(_0x4d29a8){_0x12b752['push'](_0x12b752['shift']());}}}(_0x4f4f,0x2f72e));import{IconError as _0x36b5aa}from'ckeditor5/src/icons.js';import{View as _0x82c989,IconView as _0x2840a2}from'ckeditor5/src/ui.js';function _0x4f4f(){const _0x3a8d95=['ck-ai-form__error','958698rjCjPL','111nsNEhG','set','407967IuHmOZ','content','text','3390zmsVuU','div','1085532ayLyTj','410uHoxvv','84380CYmnQg','18280zwpqxT','215727jXBnSZ','32vASETh','22zLiiXP','bindTemplate','setTemplate'];_0x4f4f=function(){return _0x3a8d95;};return _0x4f4f();}function _0x5c20(_0x55c48b,_0x4f1976){const _0x4f4fd0=_0x4f4f();return _0x5c20=function(_0x5c204a,_0x3ada68){_0x5c204a=_0x5c204a-0x153;let _0x530208=_0x4f4fd0[_0x5c204a];return _0x530208;},_0x5c20(_0x55c48b,_0x4f1976);}export default class st extends _0x82c989{constructor(_0xe4757b,_0x13d937=''){const _0x1f0714=_0x5c20;super(_0xe4757b);const _0x3d9d9e=new _0x2840a2(),_0x1d6878=this[_0x1f0714(0x15d)];this[_0x1f0714(0x162)](_0x1f0714(0x153),_0x13d937),_0x3d9d9e[_0x1f0714(0x164)]=_0x36b5aa,this[_0x1f0714(0x15e)]({'tag':_0x1f0714(0x155),'attributes':{'class':['ck',_0x1f0714(0x15f)]},'children':[_0x3d9d9e,{'text':_0x1d6878['to'](_0x1f0714(0x153))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5ac996=_0x1a93;(function(_0x2c1ef5,_0x21ab87){const _0x4fe5b3=_0x1a93,_0x2ce5cc=_0x2c1ef5();while(!![]){try{const _0x53016a=parseInt(_0x4fe5b3(0xa7))/0x1+parseInt(_0x4fe5b3(0xb7))/0x2+parseInt(_0x4fe5b3(0xb1))/0x3+-parseInt(_0x4fe5b3(0x9e))/0x4*(-parseInt(_0x4fe5b3(0xac))/0x5)+-parseInt(_0x4fe5b3(0x89))/0x6+-parseInt(_0x4fe5b3(0x87))/0x7+parseInt(_0x4fe5b3(0x8c))/0x8*(-parseInt(_0x4fe5b3(0x8d))/0x9);if(_0x53016a===_0x21ab87)break;else _0x2ce5cc['push'](_0x2ce5cc['shift']());}catch(_0x43811b){_0x2ce5cc['push'](_0x2ce5cc['shift']());}}}(_0x296c,0x9e742));import{Rect as _0x352911,global as _0x283799,isVisible as _0x390d84}from'ckeditor5/src/utils.js';import{IconHistory as _0x51c504,IconSubmit as _0x56aab9}from'ckeditor5/src/icons.js';function _0x1a93(_0x3b5758,_0x2ad3a3){const _0x296c27=_0x296c();return _0x1a93=function(_0x1a93ae,_0x1e6977){_0x1a93ae=_0x1a93ae-0x85;let _0x2b6fd9=_0x296c27[_0x1a93ae];return _0x2b6fd9;},_0x1a93(_0x3b5758,_0x2ad3a3);}function _0x296c(){const _0x3853bd=['minRows','813783ZYtdDe','Submit','ck-ai-form__toggle-history','width','isVisible','75lPavGE','isEnabled','submitButtonView','_createShowHistoryButton','isOn','1003401YDBiwb','bind','resultsView','fire','execute','rtl','2329550mNFUSQ','style','left','target','submit','render','requestAnimationFrame','enter','showHistoryButtonView','1130094PAReJW','focusFirst','7044678ljgaXw','keystrokes','uiLanguageDirection','4168fehXgr','17811BaeXaJ','filteredView','add','ck-ai-form__submit','fieldWrapperChildren','window','element','children','update','focusCycler','focusLast','fieldView','locale','right','_createSubmitButton','focus','set','187364BqymNH','excludeScrollbarsAndBorders','isEmpty','maxRows','focusableChildren','History','value','queryView'];_0x296c=function(){return _0x3853bd;};return _0x296c();}import{AutocompleteView as _0x4fad1b,ButtonView as _0xfb9297}from'ckeditor5/src/ui.js';import{getTranslation as _0xf33d1d}from'../../utils/common-translations.js';export default class ct extends _0x4fad1b{[_0x5ac996(0xae)];[_0x5ac996(0x86)];constructor(_0x5ee122,_0x52e539){const _0x2f5920=_0x5ac996;super(_0x5ee122,_0x52e539),this[_0x2f5920(0xa5)][_0x2f5920(0x98)][_0x2f5920(0xa6)]=0x1,this[_0x2f5920(0xa5)][_0x2f5920(0x98)][_0x2f5920(0xa1)]=0x3,this[_0x2f5920(0xae)]=this[_0x2f5920(0x9b)](),this[_0x2f5920(0x86)]=this[_0x2f5920(0xaf)](),this[_0x2f5920(0xa2)][_0x2f5920(0x8f)](this[_0x2f5920(0x86)],0x1),this[_0x2f5920(0xa2)][_0x2f5920(0x8f)](this[_0x2f5920(0xae)]);}[_0x5ac996(0xbc)](){const _0x26d3e1=_0x5ac996;super[_0x26d3e1(0xbc)](),this[_0x26d3e1(0xa5)][_0x26d3e1(0x91)][_0x26d3e1(0x8f)](this[_0x26d3e1(0x86)]),this[_0x26d3e1(0x94)][_0x26d3e1(0x8f)](this[_0x26d3e1(0xae)]),this[_0x26d3e1(0x8a)][_0x26d3e1(0x9d)](_0x26d3e1(0x85),(_0x2f864f,_0x1666c0)=>{const _0x2ae7b8=_0x26d3e1;_0x2f864f[_0x2ae7b8(0xba)]==this[_0x2ae7b8(0xa5)][_0x2ae7b8(0x98)][_0x2ae7b8(0x93)]&&(this[_0x2ae7b8(0xbb)](),_0x1666c0());});}[_0x5ac996(0x9b)](){const _0x516432=_0x5ac996,_0x44651f=new _0xfb9297(this[_0x516432(0x99)]),_0x2a27f6=this[_0x516432(0x99)];return _0x44651f[_0x516432(0x9d)]({'icon':_0x56aab9,'label':_0xf33d1d(_0x2a27f6,_0x516432(0xa8)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x516432(0x90)}),_0x44651f['on'](_0x516432(0xb5),()=>{const _0x1c637b=_0x516432;this[_0x1c637b(0xbb)]();}),_0x44651f[_0x516432(0xb2)](_0x516432(0xad))['to'](this[_0x516432(0xa5)][_0x516432(0x98)],_0x516432(0xa0),this,_0x516432(0xad),(_0x1241e0,_0x1b3c7a)=>!_0x1241e0&&_0x1b3c7a),_0x44651f;}[_0x5ac996(0xaf)](){const _0x28c724=_0x5ac996,_0x4aabec=new _0xfb9297(this[_0x28c724(0x99)]),_0x4847e2=this[_0x28c724(0xb3)],_0x2c40ee=this[_0x28c724(0x99)];_0x4aabec[_0x28c724(0x9d)]({'label':_0xf33d1d(_0x2c40ee,_0x28c724(0xa3)),'withText':!0x1,'icon':_0x51c504,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x28c724(0xa9)}),_0x4aabec[_0x28c724(0xb2)](_0x28c724(0xb0))['to'](_0x4847e2,_0x28c724(0xab)),_0x4aabec[_0x28c724(0xb2)](_0x28c724(0xad))['to'](this,_0x28c724(0xad)),_0x4aabec['on'](_0x28c724(0xb5),()=>{const _0xfd288=_0x28c724;_0x4847e2[_0xfd288(0xab)]=!_0x4847e2[_0xfd288(0xab)],_0x4847e2[_0xfd288(0xab)]?this[_0xfd288(0x8e)][_0xfd288(0x9c)]():this[_0xfd288(0x9c)]();});const _0x1a108f=()=>{const _0x2de7d4=_0x28c724;_0x283799[_0x2de7d4(0x92)][_0x2de7d4(0xbd)](()=>{const _0xb0464a=_0x2de7d4;if(_0x390d84(this[_0xb0464a(0x93)])){const _0x55b284=new _0x352911(this[_0xb0464a(0xa5)][_0xb0464a(0x98)][_0xb0464a(0x93)]),_0x3dfe6f=_0x55b284[_0xb0464a(0xaa)],_0x214352=_0xb0464a(0xb6)===_0x2c40ee[_0xb0464a(0x8b)]?_0xb0464a(0xb9):_0xb0464a(0x9a);_0x55b284[_0xb0464a(0x9f)](),_0x4aabec[_0xb0464a(0x93)][_0xb0464a(0xb8)][_0x214352]=_0x3dfe6f-_0x55b284[_0xb0464a(0xaa)]+0x1+'px';}});};return this[_0x28c724(0xa5)][_0x28c724(0x98)]['on'](_0x28c724(0x95),_0x1a108f),this['on'](_0x28c724(0xbc),_0x1a108f),_0x4aabec;}[_0x5ac996(0xbb)](){const _0x38a009=_0x5ac996,_0x47fb06=this[_0x38a009(0xa5)][_0x38a009(0x98)][_0x38a009(0x93)][_0x38a009(0xa4)];this[_0x38a009(0xb4)](_0x38a009(0xbb),_0x47fb06);}[_0x5ac996(0x9c)](_0x51e7a9){const _0xc54bdc=_0x5ac996;-0x1===_0x51e7a9?this[_0xc54bdc(0x96)][_0xc54bdc(0x97)]():this[_0xc54bdc(0x96)][_0xc54bdc(0x88)]();}}
|