@ckeditor/ckeditor5-ai 44.3.0-alpha.1 → 44.3.0-alpha.3
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/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33be4a=_0x2e11;(function(_0x419623,_0x2f42af){const _0x5ec8b1=_0x2e11,_0x9598bb=_0x419623();while(!![]){try{const _0x5ef033=-parseInt(_0x5ec8b1(0x208))/0x1+parseInt(_0x5ec8b1(0x1da))/0x2*(-parseInt(_0x5ec8b1(0x21e))/0x3)+-parseInt(_0x5ec8b1(0x1e0))/0x4*(parseInt(_0x5ec8b1(0x1cf))/0x5)+parseInt(_0x5ec8b1(0x218))/0x6+-parseInt(_0x5ec8b1(0x1ea))/0x7+-parseInt(_0x5ec8b1(0x1e7))/0x8*(-parseInt(_0x5ec8b1(0x1e2))/0x9)+parseInt(_0x5ec8b1(0x1e8))/0xa*(parseInt(_0x5ec8b1(0x216))/0xb);if(_0x5ef033===_0x2f42af)break;else _0x9598bb['push'](_0x9598bb['shift']());}catch(_0x2a05d3){_0x9598bb['push'](_0x9598bb['shift']());}}}(_0x15fd,0x9809f));import{Plugin as _0x258786}from'ckeditor5/src/core.js';import _0x552e16 from'./aiassistantui.js';import _0x2aca93 from'./aiassistantediting.js';function _0x2e11(_0x50640c,_0x372a72){const _0x15fd18=_0x15fd();return _0x2e11=function(_0x2e11a4,_0x268243){_0x2e11a4=_0x2e11a4-0x1c6;let _0x261d9f=_0x15fd18[_0x2e11a4];return _0x261d9f;},_0x2e11(_0x50640c,_0x372a72);}import{getTranslation as _0x4e8e0e}from'./utils/common-translations.js';function _0x15fd(){const _0x22d2f8=['professional','Business','translateArabic','Journalism','requires','business','editOrReview','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','translateSpanish','pluginName','French','Direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Confident','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20writing','journalism','generate','Portuguese','legal','friendly','ai.aiAssistant.extraCommandGroups','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','forEach','simplifyLanguage','push','translateChinese','Professional','217345YYaVPQ','ai.aiAssistant.commands','Continue','find','Generate\x20from\x20selection','English','isOfficialPlugin','get','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','isPremiumPlugin','makeLonger','367970XzDNrH','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','casual','direct','Make\x20shorter','Translate','88wHseRn','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','207TlMLkD','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Casual','Summarize','concat','52232bJZYDH','24827620wsmPGP','filter','1136660usUVVm','Simplified\x20Chinese','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','config','summarize','define','ai.aiAssistant.removeCommands','confident','continue','improveWriting','Hindi','changeTone','commands','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','German','Translate\x20the\x20content\x20to\x20German\x20language.','Change\x20tone','Translate\x20the\x20content\x20to\x20English\x20language.','poetic','ai.aiAssistant.preserveComments','translate','translatePortuguese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','includes','groupId','Friendly','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20French\x20language.','Poetic','780075CedKym','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Legal','makeShorter','AIAssistant','Spanish','translateEnglish','locale','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateHindi','11vSMrrH','Arabic','2643300NXHCCL','translateGerman','Change\x20style','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','set','9WpzoGU','translateFrench','changeStyle','Simplify\x20language','Make\x20longer'];_0x15fd=function(){return _0x22d2f8;};return _0x15fd();}import{normalizeCommandsConfig as _0x1afe6c}from'./utils/normalizecommandsconfig.js';export default class r extends _0x258786{static get[_0x33be4a(0x227)](){return[_0x552e16,_0x2aca93];}static get[_0x33be4a(0x22c)](){const _0x4410a4=_0x33be4a;return _0x4410a4(0x20d);}static get[_0x33be4a(0x1d5)](){return!0x0;}static get[_0x33be4a(0x1d8)](){return!0x0;}constructor(_0x395be0){const _0xdc47de=_0x33be4a;super(_0x395be0);const _0x14ab3f=_0x395be0[_0xdc47de(0x1ed)],_0x59bf05=_0x395be0[_0xdc47de(0x210)];_0x14ab3f[_0xdc47de(0x1ef)](_0xdc47de(0x1fd),!0x0),_0x14ab3f[_0xdc47de(0x1ef)](_0xdc47de(0x1d0),getDefaultCommands(_0x59bf05)),_0x14ab3f[_0xdc47de(0x1ef)](_0xdc47de(0x1c8),[]),_0x14ab3f[_0xdc47de(0x1ef)](_0xdc47de(0x1f0),[]);let _0x13d8bc=_0x1afe6c(_0x14ab3f[_0xdc47de(0x1d6)](_0xdc47de(0x1d0)),_0x59bf05);const _0x5ee1ef=_0x14ab3f[_0xdc47de(0x1d6)](_0xdc47de(0x1c8)),_0x1ac36a=_0x14ab3f[_0xdc47de(0x1d6)](_0xdc47de(0x1f0));_0x5ee1ef[_0xdc47de(0x1ca)](_0x2c8983=>{const _0x210a29=_0xdc47de,_0x20ec0c=_0x13d8bc[_0x210a29(0x1d2)](_0x13d205=>_0x13d205[_0x210a29(0x202)]===_0x2c8983[_0x210a29(0x202)]);_0x20ec0c?_0x20ec0c[_0x210a29(0x1f6)]=_0x20ec0c[_0x210a29(0x1f6)][_0x210a29(0x1e6)](_0x2c8983[_0x210a29(0x1f6)]):_0x13d8bc[_0x210a29(0x1cc)](_0x2c8983);}),_0x13d8bc=_0x13d8bc[_0xdc47de(0x1e9)](_0x3142d7=>!_0x1ac36a[_0xdc47de(0x201)](_0x3142d7[_0xdc47de(0x202)])),_0x13d8bc[_0xdc47de(0x1ca)](_0x3deab3=>{const _0x59293f=_0xdc47de;_0x3deab3[_0x59293f(0x1f6)]=_0x3deab3[_0x59293f(0x1f6)][_0x59293f(0x1e9)](_0x374f49=>!_0x1ac36a[_0x59293f(0x201)](_0x374f49['id']));}),_0x14ab3f[_0xdc47de(0x21d)](_0xdc47de(0x1d0),_0x13d8bc);}}export function getDefaultCommands(_0x4ec15c){const _0x432abc=_0x33be4a;return[{'groupId':_0x432abc(0x229),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x205)),'commands':[{'id':_0x432abc(0x1f3),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x232)),'prompt':_0x432abc(0x1e1)},{'id':_0x432abc(0x20c),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1de)),'prompt':_0x432abc(0x1e3)},{'id':_0x432abc(0x1d9),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x222)),'prompt':_0x432abc(0x22a)},{'id':_0x432abc(0x1cb),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x221)),'prompt':_0x432abc(0x211)}]},{'groupId':_0x432abc(0x234),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1d3)),'commands':[{'id':_0x432abc(0x1ee),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1e5)),'prompt':_0x432abc(0x1f7)},{'id':_0x432abc(0x1f2),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1d1)),'prompt':_0x432abc(0x204)}]},{'groupId':_0x432abc(0x1f5),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1fa)),'commands':[{'id':_0x432abc(0x223),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1ce)),'prompt':_0x432abc(0x1c9)},{'id':_0x432abc(0x1dc),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1e4)),'prompt':_0x432abc(0x1d7)},{'id':_0x432abc(0x1dd),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x22e)),'prompt':_0x432abc(0x1db)},{'id':_0x432abc(0x1f1),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x230)),'prompt':_0x432abc(0x200)},{'id':_0x432abc(0x1c7),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x203)),'prompt':_0x432abc(0x1ec)}]},{'groupId':_0x432abc(0x220),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x21a)),'commands':[{'id':_0x432abc(0x228),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x224)),'prompt':_0x432abc(0x22f)},{'id':_0x432abc(0x1c6),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x20b)),'prompt':_0x432abc(0x20a)},{'id':_0x432abc(0x233),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x226)),'prompt':_0x432abc(0x21b)},{'id':_0x432abc(0x1fc),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x207)),'prompt':_0x432abc(0x209)}]},{'groupId':_0x432abc(0x1fe),'groupLabel':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1df)),'commands':[{'id':_0x432abc(0x20f),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1d4)),'prompt':_0x432abc(0x1fb)},{'id':_0x432abc(0x22b),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x20e)),'prompt':_0x432abc(0x231)},{'id':_0x432abc(0x1ff),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x235)),'prompt':_0x432abc(0x214)},{'id':_0x432abc(0x219),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1f8)),'prompt':_0x432abc(0x1f9)},{'id':_0x432abc(0x21f),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x22d)),'prompt':_0x432abc(0x206)},{'id':_0x432abc(0x1cd),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1eb)),'prompt':_0x432abc(0x21c)},{'id':_0x432abc(0x215),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x1f4)),'prompt':_0x432abc(0x212)},{'id':_0x432abc(0x225),'label':_0x4e8e0e(_0x4ec15c,_0x432abc(0x217)),'prompt':_0x432abc(0x213)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x461dfc=_0x3e70;function _0x35dc(){const _0xbc9984=['pluginName','2065444uagZhk','deleteContent','filter','_getAISelection','ai-ui','getColumnIndexes','getRowIndexes','getMarkersGroup','markers','3968034czplRy','markerToHighlight','change','model','get','forEach','has','hideFakeVisualSelection','getSelectedTableCells','editingDowncast','contentInsertion','createPositionAt','init','data','selection','_createEmptyTableRows','first','findAncestor','6BWxoPI','1078748hWXcDI','ck-fake-ai-selection','createPositionAfter','63YJNGKZ','end','fromCharCode','getSelectedBlocks','href','getLastPosition','from','_getDefaultInsertBelowPosition','off','insertContent','setData','schema','ck-fake-ai-selection_collapsed','last','isContent','addClass','element','removeMarker','getRanges','DataTransfer','getFirstRange','isAtEnd','10bMyvzi','conversion','updateMarker','table','document','TableUtils','_getTableRowCountFromContent','push','_resetContentOfSelectedTableCells','ai.useTheme','config','createSelection','markerRange','ck-ai-assistant-ui_theme','1323656YguuQj','join','editor','insertRows','length','insertContentBelow','addMarker','_prepareTableInsertBelowPosition','lowest','getChildren','canEditAt','resultRange','showFakeVisualSelection','for','AIAssistantEditing','createRange','span','markerToElement','getChild','8553150hsgItF','isCollapsed','435729gXTevf','getLastMatchingPosition','map','fire','pop','start','getRows','_pasteHTMLUsingClipboard','paste','isPremiumPlugin','getRange','setSelection','createUIElement','parse','isOfficialPlugin','afterInit','text/html','172318rpDpBe','plugins','once','editing'];_0x35dc=function(){return _0xbc9984;};return _0x35dc();}(function(_0x61bcf7,_0x25b5ae){const _0x6b3087=_0x3e70,_0x47e1d6=_0x61bcf7();while(!![]){try{const _0x184b4f=-parseInt(_0x6b3087(0x172))/0x1+parseInt(_0x6b3087(0x151))/0x2+parseInt(_0x6b3087(0x171))/0x3*(parseInt(_0x6b3087(0x156))/0x4)+parseInt(_0x6b3087(0x18b))/0x5*(-parseInt(_0x6b3087(0x15f))/0x6)+parseInt(_0x6b3087(0x1ae))/0x7+parseInt(_0x6b3087(0x199))/0x8*(parseInt(_0x6b3087(0x175))/0x9)+parseInt(_0x6b3087(0x1ac))/0xa;if(_0x184b4f===_0x25b5ae)break;else _0x47e1d6['push'](_0x47e1d6['shift']());}catch(_0x4384ef){_0x47e1d6['push'](_0x47e1d6['shift']());}}}(_0x35dc,0xc1a80));import{uid as _0x881bae}from'ckeditor5/src/utils.js';import{Plugin as _0x4d992a}from'ckeditor5/src/core.js';function _0x3e70(_0x3cdab5,_0x40f973){const _0x35dc49=_0x35dc();return _0x3e70=function(_0x3e706e,_0x3f4c7d){_0x3e706e=_0x3e706e-0x142;let _0x414773=_0x35dc49[_0x3e706e];return _0x414773;},_0x3e70(_0x3cdab5,_0x40f973);}import{ClipboardPipeline as _0x495c70}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x15beda,DataTransfer as _0x383a78}from'ckeditor5/src/engine.js';const w=globalThis[_0x461dfc(0x188)],f=_0x461dfc(0x15a);export default class a extends _0x4d992a{static get[_0x461dfc(0x155)](){const _0x24ae15=_0x461dfc;return _0x24ae15(0x1a7);}static get[_0x461dfc(0x14e)](){return!0x0;}static get[_0x461dfc(0x149)](){return!0x0;}[_0x461dfc(0x16b)](){const _0x4cc1bb=_0x461dfc,{editor:_0x1bb2b5}=this,_0x3a6bc4=[_0x4cc1bb(0x173)];_0x1bb2b5[_0x4cc1bb(0x195)][_0x4cc1bb(0x163)](_0x4cc1bb(0x194))&&_0x3a6bc4[_0x4cc1bb(0x192)](_0x4cc1bb(0x198)),_0x1bb2b5[_0x4cc1bb(0x18c)][_0x4cc1bb(0x1a6)](_0x4cc1bb(0x168))[_0x4cc1bb(0x160)]({'model':f,'view':{'classes':_0x3a6bc4,'priority':0xc}}),_0x1bb2b5[_0x4cc1bb(0x18c)][_0x4cc1bb(0x1a6)](_0x4cc1bb(0x168))[_0x4cc1bb(0x1aa)]({'model':f,'view':(_0x342c78,{writer:_0x4b3a00})=>{const _0x45280c=_0x4cc1bb;if(!_0x342c78[_0x45280c(0x197)][_0x45280c(0x1ad)])return null;const _0x414323=_0x4b3a00[_0x45280c(0x14c)](_0x45280c(0x1a9));return _0x4b3a00[_0x45280c(0x184)]([_0x45280c(0x173),_0x45280c(0x181)],_0x414323),_0x414323;}});}[_0x461dfc(0x14f)](){!async function(_0x28ee69){const _0x533907=_0x4b2fe7([0x68,0x64,0x32,0x6f,0x66,0x43,0x31,0x6d,0x4a,0x74,0x77,0x72,0x54,0x7a,0x6a,0x35,0x52,0x56,0x75,0x55,0x63,0x37,0x38,0x6b,0x53,0x57,0x33,0x42,0x47,0x49,0x51,0x39,0x46,0x44,0x50,0x61,0x78,0x76,0x79,0x6c,0x4e,0x70,0x71,0x62,0x4b,0x67,0x58,0x4c,0x65,0x5a,0x6e,0x41,0x73,0x45,0x4d,0x36,0x30,0x34,0x48,0x69,0x4f,0x59]),_0x2524ef=0x6d6740af,_0x4ba537=0x6d60201f^_0x2524ef,_0x3f737b=window[_0x4b2fe7([0x44,0x61,0x74,0x65])][_0x4b2fe7([0x6e,0x6f,0x77])](),_0x3369e2=_0x28ee69[_0x4b2fe7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x24cfe6=new window[(_0x4b2fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b9e80=>{_0x3369e2[_0x4b2fe7([0x6f,0x6e,0x63,0x65])](_0x4b2fe7([0x72,0x65,0x61,0x64,0x79]),_0x5b9e80);}),_0x365dea={[_0x4b2fe7([0x6b,0x74,0x79])]:_0x4b2fe7([0x45,0x43]),[_0x4b2fe7([0x75,0x73,0x65])]:_0x4b2fe7([0x73,0x69,0x67]),[_0x4b2fe7([0x63,0x72,0x76])]:_0x4b2fe7([0x50,0x2d,0x32,0x35,0x36]),[_0x4b2fe7([0x78])]:_0x4b2fe7([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]),[_0x4b2fe7([0x79])]:_0x4b2fe7([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]),[_0x4b2fe7([0x61,0x6c,0x67])]:_0x4b2fe7([0x45,0x53,0x32,0x35,0x36])},_0x387019=_0x3369e2[_0x4b2fe7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b2fe7([0x67,0x65,0x74])](_0x4b2fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x947799(){let _0x16c2e3,_0x175521=null,_0x5adc57=null;try{if(_0x387019==_0x4b2fe7([0x47,0x50,0x4c]))return _0x4b2fe7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16c2e3=_0x58b3e5(),!_0x16c2e3)return _0x4b2fe7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x16c2e3[_0x4b2fe7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5adc57=_0x4e9aca(_0x16c2e3[_0x4b2fe7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16c2e3[_0x4b2fe7([0x6a,0x74,0x69])])),await _0x25cb1e()?_0x58b861()?_0x2d2017()?_0x4b2fe7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x319848()?(_0x16c2e3[_0x4b2fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b2fe7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x175521=_0x437bf(_0x4b2fe7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x16c2e3[_0x4b2fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b2fe7([0x74,0x72,0x69,0x61,0x6c])&&(_0x175521=_0x437bf(_0x4b2fe7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x349866()):_0x4b2fe7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b2fe7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b2fe7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x470bd0){return _0x4b2fe7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d2017(){const _0x298336=[_0x4b2fe7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b2fe7([0x74,0x72,0x69,0x61,0x6c])][_0x4b2fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16c2e3[_0x4b2fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f737b/0x3e8:0xe10*_0x4ba537;return _0x16c2e3[_0x4b2fe7([0x65,0x78,0x70])]<_0x298336;}function _0x58b861(){const _0x46fdfa=_0x16c2e3[_0x4b2fe7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46fdfa&&(!!_0x46fdfa[_0x4b2fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b2fe7([0x2a]))||!!_0x46fdfa[_0x4b2fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b2fe7([0x41,0x49])));}function _0x319848(){const _0x297eb8=_0x3e70,_0x59e26d=_0x16c2e3[_0x4b2fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59e26d||0x0==_0x59e26d[_0x4b2fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25f3fc}=new URL(window[_0x4b2fe7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x297eb8(0x179)]);if(_0x59e26d[_0x4b2fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25f3fc))return!0x0;const _0x5293=_0x25f3fc[_0x4b2fe7([0x73,0x70,0x6c,0x69,0x74])](_0x4b2fe7([0x2e]));return _0x59e26d[_0x4b2fe7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45dac1=>_0x45dac1[_0x4b2fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b2fe7([0x2a])))[_0x4b2fe7([0x6d,0x61,0x70])](_0x110e5d=>_0x110e5d[_0x4b2fe7([0x73,0x70,0x6c,0x69,0x74])](_0x4b2fe7([0x2e])))[_0x4b2fe7([0x73,0x6f,0x6d,0x65])](_0x58e554=>_0x5293[_0x4b2fe7([0x65,0x76,0x65,0x72,0x79])]((_0x52ab53,_0x572034)=>_0x58e554[_0x572034]===_0x52ab53||_0x58e554[_0x572034]===_0x4b2fe7([0x2a])));}function _0x349866(){return _0x175521&&_0x5adc57?new window[(_0x4b2fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdc8ba,_0x316379)=>{_0x175521[_0x4b2fe7([0x74,0x68,0x65,0x6e])](_0xdc8ba,_0x316379),_0x5adc57[_0x4b2fe7([0x74,0x68,0x65,0x6e])](_0x4c0c67=>{_0x4c0c67!=_0x4b2fe7([0x56,0x61,0x6c,0x69,0x64])&&_0xdc8ba(_0x4c0c67);},_0x316379);}):_0x175521||_0x5adc57||_0x4b2fe7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e9aca(_0x15af9e,_0x3c31b6){return new window[(_0x4b2fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21d4b8=>{if(_0x233428())return _0x21d4b8(_0x4b2fe7([0x56,0x61,0x6c,0x69,0x64]));_0x238a83(),_0x3369e2[_0x4b2fe7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b2fe7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4168e5=!0x1;const _0x17be8c=_0x881bae();function _0x5de36f(_0x1c6d6c){return!!_0x1c6d6c&&(typeof _0x1c6d6c===_0x4b2fe7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c6d6c===_0x4b2fe7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c6d6c[_0x4b2fe7([0x74,0x68,0x65,0x6e])]===_0x4b2fe7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c6d6c[_0x4b2fe7([0x63,0x61,0x74,0x63,0x68])]===_0x4b2fe7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2b379e(_0x31c706){_0x277506(_0x31c706)[_0x4b2fe7([0x74,0x68,0x65,0x6e])](_0x3fb456=>{if(!_0x3fb456||_0x3fb456[_0x4b2fe7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b2fe7([0x6f,0x6b]))return _0x4b2fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x241786(_0x4a76b7(_0x17be8c+_0x3c31b6))!=_0x3fb456[_0x4b2fe7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b2fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b2fe7([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b2fe7([0x74,0x68,0x65,0x6e])](_0x13d64c=>(_0x35bd1f(),_0x13d64c),()=>{const _0x2f39a8=_0x55cfc0();return null==_0x2f39a8?(_0x35bd1f(),_0x4b2fe7([0x56,0x61,0x6c,0x69,0x64])):_0x4b2fe7(_0x3f737b-_0x2f39a8>(0x496bc4af^_0x2524ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b2fe7([0x74,0x68,0x65,0x6e])](_0x21d4b8)[_0x4b2fe7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21d4b8(_0x4b2fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c6ae8=0x6d51ae2f^_0x2524ef;function _0x35bd1f(){const _0x580014=_0x4b2fe7([0x6c,0x6c,0x63,0x74,0x2d])+_0x241786(_0x4a76b7(_0x15af9e)),_0x485842=_0x1ef805(_0x241786(window[_0x4b2fe7([0x4d,0x61,0x74,0x68])][_0x4b2fe7([0x63,0x65,0x69,0x6c])](_0x3f737b/_0x4c6ae8)));window[_0x4b2fe7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b2fe7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x580014,_0x485842);}function _0x55cfc0(){const _0x1e69b6=_0x4b2fe7([0x6c,0x6c,0x63,0x74,0x2d])+_0x241786(_0x4a76b7(_0x15af9e)),_0x2c58b3=window[_0x4b2fe7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b2fe7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e69b6);return _0x2c58b3?window[_0x4b2fe7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ef805(_0x2c58b3),0x10)*_0x4c6ae8:null;}function _0x277506(_0x51b7ab){return new window[(_0x4b2fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e32c9,_0x2e6363)=>{_0x51b7ab[_0x4b2fe7([0x74,0x68,0x65,0x6e])](_0x3e32c9,_0x2e6363),window[_0x4b2fe7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e6363,0x6d66946f^_0x2524ef);});}}_0x3369e2[_0x4b2fe7([0x6f,0x6e])](_0x4b2fe7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x373b5c,_0xb102d)=>{if(_0xb102d[0x0]!=_0x15af9e)return _0x21d4b8(_0x4b2fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb102d[0x1]={..._0xb102d[0x1],[_0x4b2fe7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17be8c};},{[_0x4b2fe7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b2fe7([0x68,0x69,0x67,0x68])}),_0x3369e2[_0x4b2fe7([0x6f,0x6e])](_0x4b2fe7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1564ca=>{_0x5de36f(_0x1564ca[_0x4b2fe7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4168e5=!0x0,_0x2b379e(_0x1564ca[_0x4b2fe7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b2fe7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b2fe7([0x6c,0x6f,0x77])}),_0x24cfe6[_0x4b2fe7([0x74,0x68,0x65,0x6e])](()=>{_0x4168e5||_0x21d4b8(_0x4b2fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x233428(){return _0x3369e2[_0x4b2fe7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b2fe7([0x76,0x69,0x65,0x77])][_0x4b2fe7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b2fe7([0x61,0x75,0x74,0x6f]);}function _0x238a83(){_0x3369e2[_0x4b2fe7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b2fe7([0x76,0x69,0x65,0x77])][_0x4b2fe7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b2fe7([0x61,0x75,0x74,0x6f]);}}function _0x437bf(_0x297abe){const _0x5b6d26=[new window[(_0x4b2fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x599a55=>setTimeout(_0x599a55,0x6d6e7e63^_0x2524ef)),_0x24cfe6[_0x4b2fe7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b2fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d353d=>{let _0x5bf446=0x0;_0x3369e2[_0x4b2fe7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b2fe7([0x6f,0x6e])](_0x4b2fe7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4022be,_0x4e33a7)=>{_0x4e33a7[0x0][_0x4b2fe7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5bf446++,_0x5bf446==(0x6d674157^_0x2524ef)&&(_0x4d353d(),_0x4022be[_0x4b2fe7([0x6f,0x66,0x66])]());});}))];return window[_0x4b2fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b2fe7([0x72,0x61,0x63,0x65])](_0x5b6d26)[_0x4b2fe7([0x74,0x68,0x65,0x6e])](()=>_0x297abe);}async function _0x4b08d3(){await _0x24cfe6,_0x3369e2[_0x4b2fe7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b2fe7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34112,_0x3369e2[_0x4b2fe7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b2fe7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34112,_0x3369e2[_0x4b2fe7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b2fe7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19b44e(_0x506e88){const _0x560a1b=_0x28b1f5();_0x3369e2[_0x560a1b]=_0x4b2fe7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x506e88,_0x506e88!=_0x4b2fe7([0x56,0x61,0x6c,0x69,0x64])&&_0x4b08d3();}function _0x28b1f5(){const _0x3fc3dd=window[_0x4b2fe7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b2fe7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b2fe7([0x6e,0x6f,0x77])]())[_0x4b2fe7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b2fe7([0x2e]),'');let _0xbd4446=_0x4b2fe7([0x68]);for(let _0x4c5329=0x0;_0x4c5329<_0x3fc3dd[_0x4b2fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c5329+=0x2){let _0x53c4fb=window[_0x4b2fe7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fc3dd[_0x4b2fe7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c5329,_0x4c5329+0x2));_0x53c4fb>=_0x533907[_0x4b2fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53c4fb-=_0x533907[_0x4b2fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbd4446+=_0x533907[_0x53c4fb];}return _0xbd4446;}function _0x58b3e5(){const _0x578c47=_0x387019[_0x4b2fe7([0x73,0x70,0x6c,0x69,0x74])](_0x4b2fe7([0x2e]));if(0x3!=_0x578c47[_0x4b2fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58e2d1(_0x578c47[0x1]);function _0x58e2d1(_0x40348f){const _0x458baa=_0x37f4fc(_0x40348f);return _0x458baa&&_0x42e41a()?_0x458baa:null;function _0x42e41a(){const _0x2d36f4=_0x458baa[_0x4b2fe7([0x6a,0x74,0x69])],_0x3c6746=window[_0x4b2fe7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d36f4[_0x4b2fe7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d36f4[_0x4b2fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x470334={..._0x458baa,[_0x4b2fe7([0x6a,0x74,0x69])]:_0x2d36f4[_0x4b2fe7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d36f4[_0x4b2fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x470334[_0x4b2fe7([0x76,0x63])],_0x4a76b7(_0x470334)==_0x3c6746;}}}async function _0x25cb1e(){let _0x53d1bc=!0x0;try{const _0x1a668f=_0x387019[_0x4b2fe7([0x73,0x70,0x6c,0x69,0x74])](_0x4b2fe7([0x2e])),[_0x1f94f5,_0xc93de0,_0x4c365b]=_0x1a668f;return _0x293496(_0x1f94f5),await _0x576fb3(_0x1f94f5,_0xc93de0,_0x4c365b),_0x53d1bc;}catch(_0x329c65){return!0x1;}function _0x293496(_0x3c61c0){const _0x1bc12f=_0x37f4fc(_0x3c61c0);_0x1bc12f&&_0x1bc12f[_0x4b2fe7([0x61,0x6c,0x67])]==_0x4b2fe7([0x45,0x53,0x32,0x35,0x36])||(_0x53d1bc=!0x1);}async function _0x576fb3(_0x1bd49b,_0x48086b,_0x421531){const _0x5075e7=window[_0x4b2fe7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b2fe7([0x66,0x72,0x6f,0x6d])](_0x5753ad(_0x421531),_0x4dc815=>_0x4dc815[_0x4b2fe7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c3501=new window[(_0x4b2fe7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b2fe7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1bd49b+_0x4b2fe7([0x2e])+_0x48086b),_0x4e82d7=window[_0x4b2fe7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b2fe7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e82d7)return;const _0x40958d=await _0x4e82d7[_0x4b2fe7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b2fe7([0x6a,0x77,0x6b]),_0x365dea,{[_0x4b2fe7([0x6e,0x61,0x6d,0x65])]:_0x4b2fe7([0x45,0x43,0x44,0x53,0x41]),[_0x4b2fe7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b2fe7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b2fe7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e82d7[_0x4b2fe7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b2fe7([0x6e,0x61,0x6d,0x65])]:_0x4b2fe7([0x45,0x43,0x44,0x53,0x41]),[_0x4b2fe7([0x68,0x61,0x73,0x68])]:{[_0x4b2fe7([0x6e,0x61,0x6d,0x65])]:_0x4b2fe7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40958d,_0x5075e7,_0x1c3501)||(_0x53d1bc=!0x1);}}function _0x37f4fc(_0x5cd402){return _0x5cd402[_0x4b2fe7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b2fe7([0x65,0x79]))?JSON[_0x4b2fe7([0x70,0x61,0x72,0x73,0x65])](_0x5753ad(_0x5cd402)):null;}function _0x5753ad(_0x3d0a35){return window[_0x4b2fe7([0x61,0x74,0x6f,0x62])](_0x3d0a35[_0x4b2fe7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b2fe7([0x2b]))[_0x4b2fe7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b2fe7([0x2f])));}function _0x4a76b7(_0x56b32c){let _0x3fa408=0x1505;function _0x5f459a(_0x267b61){for(let _0x526331=0x0;_0x526331<_0x267b61[_0x4b2fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x526331++){const _0x198d4f=_0x267b61[_0x4b2fe7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x526331);_0x3fa408=(_0x3fa408<<0x5)+_0x3fa408+_0x198d4f,_0x3fa408&=_0x3fa408;}}function _0x1ceec4(_0x53472a){Array[_0x4b2fe7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53472a)?_0x53472a[_0x4b2fe7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ceec4):_0x53472a&&typeof _0x53472a==_0x4b2fe7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b2fe7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53472a)[_0x4b2fe7([0x73,0x6f,0x72,0x74])]()[_0x4b2fe7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x446e24,_0x263e9d])=>{_0x5f459a(_0x446e24),_0x1ceec4(_0x263e9d);}):_0x5f459a(window[_0x4b2fe7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53472a));}return _0x1ceec4(_0x56b32c),_0x3fa408>>>0x0;}function _0x241786(_0x4c7d2b){return _0x4c7d2b[_0x4b2fe7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b2fe7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b2fe7([0x30]));}function _0x1ef805(_0x9fb476){return _0x9fb476[_0x4b2fe7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b2fe7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b2fe7([0x6a,0x6f,0x69,0x6e])]('');}function _0x34112(){}function _0x4b2fe7(_0x5b6980){const _0x323b4a=_0x3e70;return _0x5b6980[_0x323b4a(0x142)](_0x1e0662=>String[_0x323b4a(0x177)](_0x1e0662))[_0x323b4a(0x19a)]('');}_0x19b44e(await _0x947799());}(this);}[_0x461dfc(0x1a5)](){const _0x1027b8=_0x461dfc,_0xd24755=this[_0x1027b8(0x19b)][_0x1027b8(0x162)];_0xd24755[_0x1027b8(0x161)](_0x53742b=>{const _0x18d405=_0x1027b8,_0x44d116=_0xd24755[_0x18d405(0x18f)][_0x18d405(0x16d)][_0x18d405(0x187)]();let _0x788c00=0x0;for(const _0x1609c4 of _0x44d116){const _0x4f7494=f+':'+_0x788c00;if(_0xd24755[_0x18d405(0x15e)][_0x18d405(0x165)](_0x4f7494))_0x53742b[_0x18d405(0x18d)](_0x4f7494,{'range':_0x1609c4});else{if(_0x1609c4[_0x18d405(0x145)][_0x18d405(0x18a)]){const _0x249860=_0x1609c4[_0x18d405(0x145)][_0x18d405(0x1af)](({item:_0x2afa38})=>!_0xd24755[_0x18d405(0x180)][_0x18d405(0x183)](_0x2afa38),{'boundaries':_0x1609c4});_0x53742b[_0x18d405(0x19f)](_0x4f7494,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x53742b[_0x18d405(0x1a8)](_0x249860,_0x1609c4[_0x18d405(0x176)])});}else _0x53742b[_0x18d405(0x19f)](_0x4f7494,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1609c4});}_0x788c00++;}});}[_0x461dfc(0x166)](){const _0x292030=_0x461dfc,_0x23b803=this[_0x292030(0x19b)][_0x292030(0x162)],_0x32ca0c=Array[_0x292030(0x17b)](this[_0x292030(0x19b)][_0x292030(0x162)][_0x292030(0x15e)][_0x292030(0x15d)](f));_0x32ca0c[_0x292030(0x19d)]&&_0x23b803[_0x292030(0x161)](_0x1f67c3=>{const _0x2fac91=_0x292030;_0x32ca0c[_0x2fac91(0x164)](_0x43cc08=>{const _0x2b2424=_0x2fac91;_0x1f67c3[_0x2b2424(0x186)](_0x43cc08);});});}[_0x461dfc(0x17e)](_0x52c8d1,_0x1d8830){const _0x2079dd=_0x461dfc,_0x3059b9=this[_0x2079dd(0x159)](),_0x5d04ad=_0x1d8830||_0x3059b9[_0x2079dd(0x189)]();this[_0x2079dd(0x19b)][_0x2079dd(0x162)][_0x2079dd(0x1a3)](_0x5d04ad)&&this[_0x2079dd(0x19b)][_0x2079dd(0x162)][_0x2079dd(0x161)](_0x116943=>{const _0x224bc4=_0x2079dd;this[_0x224bc4(0x166)](),_0x1d8830||this[_0x224bc4(0x193)](_0x116943,_0x3059b9),this[_0x224bc4(0x147)]({'insertAt':_0x5d04ad,'writer':_0x116943,'html':_0x52c8d1});});}[_0x461dfc(0x19e)](_0x43e53d){const _0x438bcc=_0x461dfc,{model:_0x5c5025}=this[_0x438bcc(0x19b)],_0x58642f=this[_0x438bcc(0x159)]();_0x5c5025[_0x438bcc(0x161)](()=>{const _0x3d60c2=_0x438bcc,_0x56a7d0=this[_0x3d60c2(0x1a0)](_0x43e53d,_0x58642f)||this[_0x3d60c2(0x17c)](_0x58642f);this[_0x3d60c2(0x17e)](_0x43e53d,_0x56a7d0);});}[_0x461dfc(0x159)](){const _0x142894=_0x461dfc,_0x58cbc0=this[_0x142894(0x19b)][_0x142894(0x162)],_0xab93d=Array[_0x142894(0x17b)](_0x58cbc0[_0x142894(0x15e)][_0x142894(0x15d)](f))[_0x142894(0x142)](_0x384517=>_0x384517[_0x142894(0x14a)]());return _0x58cbc0[_0x142894(0x196)](_0xab93d);}[_0x461dfc(0x147)]({writer:_0x259891,html:_0x1f2974,insertAt:_0xb2b426}){const _0x22ecac=_0x461dfc,{view:_0x5c4811}=this[_0x22ecac(0x19b)][_0x22ecac(0x154)],_0x3f0950=this[_0x22ecac(0x19b)][_0x22ecac(0x152)][_0x22ecac(0x163)](_0x495c70),_0x2fa30f=new w();_0x2fa30f[_0x22ecac(0x17f)](_0x22ecac(0x150),_0x1f2974);const _0x3f034c=new ClipboardEvent(_0x22ecac(0x148),{'clipboardData':_0x2fa30f}),_0x31a353=new _0x15beda(_0x5c4811,_0x3f034c,{'dataTransfer':new _0x383a78(_0x2fa30f)});_0x259891[_0x22ecac(0x14b)](_0xb2b426);const _0x4aaf01=(_0x2d69b5,_0x2c2714)=>{const _0x3d34d5=_0x22ecac;_0x2c2714[_0x3d34d5(0x1a4)]&&_0x259891[_0x3d34d5(0x14b)](_0x2c2714[_0x3d34d5(0x1a4)]);};_0x3f0950[_0x22ecac(0x153)](_0x22ecac(0x169),_0x4aaf01,{'priority':_0x22ecac(0x1a1)}),_0x5c4811[_0x22ecac(0x18f)][_0x22ecac(0x143)](_0x22ecac(0x148),_0x31a353),_0x3f0950[_0x22ecac(0x17d)](_0x22ecac(0x169),_0x4aaf01);}[_0x461dfc(0x17c)](_0x4b4783){const _0x3592de=_0x461dfc,{model:_0x2cbdfa}=this[_0x3592de(0x19b)],_0x566c01=Array[_0x3592de(0x17b)](_0x4b4783[_0x3592de(0x178)]());return _0x566c01[_0x3592de(0x19d)]?_0x2cbdfa[_0x3592de(0x174)](_0x566c01[_0x3592de(0x144)]()):_0x4b4783[_0x3592de(0x17a)]();}[_0x461dfc(0x1a0)](_0x5a5604,_0x4e1da5){const _0x22350d=_0x461dfc,{model:_0x57e8be,plugins:_0x2847de}=this[_0x22350d(0x19b)];if(_0x2847de[_0x22350d(0x165)](_0x22350d(0x190))){const _0x582530=_0x2847de[_0x22350d(0x163)](_0x22350d(0x190))[_0x22350d(0x167)](_0x4e1da5);if(_0x582530[_0x22350d(0x19d)]){const _0xa91f01=this[_0x22350d(0x191)](_0x5a5604),_0x447ee3=this[_0x22350d(0x16e)](_0x582530,_0xa91f01);return _0x57e8be[_0x22350d(0x16a)](_0x447ee3,0x0);}}return null;}[_0x461dfc(0x191)](_0x1c89d2){const _0x419a00=_0x461dfc,_0x5a83fa=this[_0x419a00(0x19b)][_0x419a00(0x152)][_0x419a00(0x163)](_0x419a00(0x190)),_0x12e87e=this[_0x419a00(0x19b)][_0x419a00(0x16c)][_0x419a00(0x14d)](_0x1c89d2),_0x563e69=Array[_0x419a00(0x17b)](_0x12e87e[_0x419a00(0x1a2)]())[_0x419a00(0x158)](_0x136c98=>_0x136c98['is'](_0x419a00(0x185),_0x419a00(0x18e)));let _0x68492d=0x0;return _0x563e69[_0x419a00(0x164)](_0x13977c=>{const _0x428576=_0x419a00;_0x68492d+=_0x5a83fa[_0x428576(0x146)](_0x13977c);}),_0x68492d;}[_0x461dfc(0x16e)](_0x26bb08,_0x5079bd){const _0x962b3a=_0x461dfc,_0x1fe8bb=this[_0x962b3a(0x19b)][_0x962b3a(0x152)][_0x962b3a(0x163)](_0x962b3a(0x190)),_0x469853=_0x1fe8bb[_0x962b3a(0x15c)](_0x26bb08),_0x571a56=_0x1fe8bb[_0x962b3a(0x15b)](_0x26bb08),_0x1a0bc3=_0x469853[_0x962b3a(0x182)]+0x1,_0x280021=_0x571a56[_0x962b3a(0x16f)],_0x4a3401=_0x26bb08[0x0][_0x962b3a(0x170)](_0x962b3a(0x18e));for(let _0x38d88a=0x0;_0x38d88a<_0x5079bd;_0x38d88a++)_0x1fe8bb[_0x962b3a(0x19c)](_0x4a3401,{'at':_0x1a0bc3});return _0x4a3401[_0x962b3a(0x1ab)](_0x1a0bc3)[_0x962b3a(0x1ab)](_0x280021);}[_0x461dfc(0x193)](_0x4e5545,_0x44bb03){const _0x35b411=_0x461dfc,{plugins:_0x4211ae}=this[_0x35b411(0x19b)],{model:_0x1d1726}=_0x4e5545;if(!_0x4211ae[_0x35b411(0x165)](_0x35b411(0x190)))return;_0x4211ae[_0x35b411(0x163)](_0x35b411(0x190))[_0x35b411(0x167)](_0x44bb03)[_0x35b411(0x19d)]&&_0x1d1726[_0x35b411(0x157)](_0x44bb03);}}
|
|
23
|
+
const _0x2befbd=_0x3cfa;(function(_0x2e22b8,_0x339858){const _0x39c239=_0x3cfa,_0x23d198=_0x2e22b8();while(!![]){try{const _0x2db580=-parseInt(_0x39c239(0x21b))/0x1*(-parseInt(_0x39c239(0x1f3))/0x2)+-parseInt(_0x39c239(0x1dc))/0x3*(parseInt(_0x39c239(0x23c))/0x4)+-parseInt(_0x39c239(0x20b))/0x5*(parseInt(_0x39c239(0x1ea))/0x6)+-parseInt(_0x39c239(0x240))/0x7*(parseInt(_0x39c239(0x22f))/0x8)+-parseInt(_0x39c239(0x209))/0x9+-parseInt(_0x39c239(0x1eb))/0xa*(parseInt(_0x39c239(0x21c))/0xb)+parseInt(_0x39c239(0x1ed))/0xc;if(_0x2db580===_0x339858)break;else _0x23d198['push'](_0x23d198['shift']());}catch(_0x5061ad){_0x23d198['push'](_0x23d198['shift']());}}}(_0x1cab,0xb881d));import{uid as _0x390bf8}from'ckeditor5/src/utils.js';import{Plugin as _0x7fc16b}from'ckeditor5/src/core.js';function _0x1cab(){const _0x187ef4=['findAncestor','getRowIndexes','fire','2CfksBv','3135143QKYJvJ','createSelection','getColumnIndexes','last','start','getChild','_getAISelection','createRange','markerToElement','TableUtils','_getTableRowCountFromContent','has','_resetContentOfSelectedTableCells','insertContent','editing','addMarker','getSelectedBlocks','span','showFakeVisualSelection','8obPLVA','_prepareTableInsertBelowPosition','first','href','createUIElement','editingDowncast','pluginName','getChildren','createPositionAt','length','data','init','model','1250796JlIKcU','end','change','insertContentBelow','5125519mQdaLz','getLastMatchingPosition','lowest','for','addClass','isAtEnd','getRanges','filter','map','push','plugins','deleteContent','3cdrSsM','forEach','ck-ai-assistant-ui_theme','ck-fake-ai-selection_collapsed','document','ai.useTheme','resultRange','afterInit','getRows','getLastPosition','pop','setSelection','setData','markers','12ZexGnU','10pNmBHx','_getDefaultInsertBelowPosition','36536532XJRkRO','off','isCollapsed','get','fromCharCode','conversion','1264806DdHinK','_pasteHTMLUsingClipboard','getFirstRange','contentInsertion','_createEmptyTableRows','editor','getSelectedTableCells','DataTransfer','paste','updateMarker','once','AIAssistantEditing','getRange','join','markerToHighlight','createPositionAfter','schema','hideFakeVisualSelection','config','markerRange','element','removeMarker','9287073lBfdPM','ck-fake-ai-selection','2979875kvaRqB','canEditAt','isOfficialPlugin','isPremiumPlugin','getMarkersGroup','selection','from','table','ai-ui','insertRows','text/html','parse','isContent'];_0x1cab=function(){return _0x187ef4;};return _0x1cab();}function _0x3cfa(_0x2ddae3,_0x26e9aa){const _0x1cab17=_0x1cab();return _0x3cfa=function(_0x3cfa4e,_0x42951c){_0x3cfa4e=_0x3cfa4e-0x1d9;let _0x33df8b=_0x1cab17[_0x3cfa4e];return _0x33df8b;},_0x3cfa(_0x2ddae3,_0x26e9aa);}import{ClipboardPipeline as _0x17c680}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x352456,DataTransfer as _0x448b71}from'ckeditor5/src/engine.js';const w=globalThis[_0x2befbd(0x1fa)],f=_0x2befbd(0x213);export default class a extends _0x7fc16b{static get[_0x2befbd(0x235)](){const _0x5f7c83=_0x2befbd;return _0x5f7c83(0x1fe);}static get[_0x2befbd(0x20d)](){return!0x0;}static get[_0x2befbd(0x20e)](){return!0x0;}[_0x2befbd(0x23a)](){const _0x738ffe=_0x2befbd,{editor:_0x2a3b19}=this,_0x369f1b=[_0x738ffe(0x20a)];_0x2a3b19[_0x738ffe(0x205)][_0x738ffe(0x1f0)](_0x738ffe(0x1e1))&&_0x369f1b[_0x738ffe(0x1d9)](_0x738ffe(0x1de)),_0x2a3b19[_0x738ffe(0x1f2)][_0x738ffe(0x243)](_0x738ffe(0x234))[_0x738ffe(0x201)]({'model':f,'view':{'classes':_0x369f1b,'priority':0xc}}),_0x2a3b19[_0x738ffe(0x1f2)][_0x738ffe(0x243)](_0x738ffe(0x234))[_0x738ffe(0x224)]({'model':f,'view':(_0x5cb52b,{writer:_0x1ddfc2})=>{const _0x1f70d1=_0x738ffe;if(!_0x5cb52b[_0x1f70d1(0x206)][_0x1f70d1(0x1ef)])return null;const _0x379249=_0x1ddfc2[_0x1f70d1(0x233)](_0x1f70d1(0x22d));return _0x1ddfc2[_0x1f70d1(0x244)]([_0x1f70d1(0x20a),_0x1f70d1(0x1df)],_0x379249),_0x379249;}});}[_0x2befbd(0x1e3)](){!async function(_0x57d54c){const _0x22561d=_0x15573b([0x4d,0x78,0x65,0x46,0x53,0x62,0x56,0x55,0x41,0x33,0x70,0x36,0x63,0x66,0x74,0x6d,0x68,0x4f,0x49,0x4c,0x72,0x35,0x32,0x69,0x76,0x6a,0x34,0x48,0x71,0x58,0x6f,0x6e,0x37,0x39,0x67,0x73,0x4e,0x50,0x77,0x4b,0x5a,0x61,0x42,0x47,0x44,0x4a,0x38,0x30,0x54,0x45,0x57,0x43,0x79,0x59,0x52,0x7a,0x51,0x6b,0x6c,0x64,0x75,0x31]),_0x203f10=0x3cfc86f2,_0xbe5140=0x3cfbe612^_0x203f10,_0x177de2=window[_0x15573b([0x44,0x61,0x74,0x65])][_0x15573b([0x6e,0x6f,0x77])](),_0x1fd142=_0x57d54c[_0x15573b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xafe19=new window[(_0x15573b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5764dc=>{_0x1fd142[_0x15573b([0x6f,0x6e,0x63,0x65])](_0x15573b([0x72,0x65,0x61,0x64,0x79]),_0x5764dc);}),_0x14d0e6={[_0x15573b([0x6b,0x74,0x79])]:_0x15573b([0x45,0x43]),[_0x15573b([0x75,0x73,0x65])]:_0x15573b([0x73,0x69,0x67]),[_0x15573b([0x63,0x72,0x76])]:_0x15573b([0x50,0x2d,0x32,0x35,0x36]),[_0x15573b([0x78])]:_0x15573b([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]),[_0x15573b([0x79])]:_0x15573b([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]),[_0x15573b([0x61,0x6c,0x67])]:_0x15573b([0x45,0x53,0x32,0x35,0x36])},_0x52562e=_0x1fd142[_0x15573b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15573b([0x67,0x65,0x74])](_0x15573b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2892a3(){let _0x5ddfc4,_0x3a288c=null,_0x218e82=null;try{if(_0x52562e==_0x15573b([0x47,0x50,0x4c]))return _0x15573b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ddfc4=_0x5ed1e3(),!_0x5ddfc4)return _0x15573b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ddfc4[_0x15573b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x218e82=_0x32d5fe(_0x5ddfc4[_0x15573b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ddfc4[_0x15573b([0x6a,0x74,0x69])])),await _0x4f7278()?_0x11bf4e()?_0x2bffb6()?_0x15573b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3818d3()?(_0x5ddfc4[_0x15573b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15573b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a288c=_0x484798(_0x15573b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ddfc4[_0x15573b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15573b([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a288c=_0x484798(_0x15573b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x299ff8()):_0x15573b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15573b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15573b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4e61d3){return _0x15573b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2bffb6(){const _0x271dae=[_0x15573b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15573b([0x74,0x72,0x69,0x61,0x6c])][_0x15573b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ddfc4[_0x15573b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x177de2/0x3e8:0xe10*_0xbe5140;return _0x5ddfc4[_0x15573b([0x65,0x78,0x70])]<_0x271dae;}function _0x11bf4e(){const _0x528d03=_0x5ddfc4[_0x15573b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x528d03&&(!!_0x528d03[_0x15573b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15573b([0x2a]))||!!_0x528d03[_0x15573b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15573b([0x41,0x49])));}function _0x3818d3(){const _0x1d07c2=_0x3cfa,_0x3be470=_0x5ddfc4[_0x15573b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3be470||0x0==_0x3be470[_0x15573b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1995c4}=new URL(window[_0x15573b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1d07c2(0x232)]);if(_0x3be470[_0x15573b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1995c4))return!0x0;const _0x1a5bc8=_0x1995c4[_0x15573b([0x73,0x70,0x6c,0x69,0x74])](_0x15573b([0x2e]));return _0x3be470[_0x15573b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4dc99a=>_0x4dc99a[_0x15573b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15573b([0x2a])))[_0x15573b([0x6d,0x61,0x70])](_0x3cbbf5=>_0x3cbbf5[_0x15573b([0x73,0x70,0x6c,0x69,0x74])](_0x15573b([0x2e])))[_0x15573b([0x73,0x6f,0x6d,0x65])](_0x3d35a2=>_0x1a5bc8[_0x15573b([0x65,0x76,0x65,0x72,0x79])]((_0x304e00,_0x18addc)=>_0x3d35a2[_0x18addc]===_0x304e00||_0x3d35a2[_0x18addc]===_0x15573b([0x2a])));}function _0x299ff8(){return _0x3a288c&&_0x218e82?new window[(_0x15573b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x275c0d,_0x4e5f40)=>{_0x3a288c[_0x15573b([0x74,0x68,0x65,0x6e])](_0x275c0d,_0x4e5f40),_0x218e82[_0x15573b([0x74,0x68,0x65,0x6e])](_0x1e45da=>{_0x1e45da!=_0x15573b([0x56,0x61,0x6c,0x69,0x64])&&_0x275c0d(_0x1e45da);},_0x4e5f40);}):_0x3a288c||_0x218e82||_0x15573b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32d5fe(_0x10b36e,_0x3a528c){return new window[(_0x15573b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8925=>{if(_0x41d406())return _0x3a8925(_0x15573b([0x56,0x61,0x6c,0x69,0x64]));_0x211eac(),_0x1fd142[_0x15573b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15573b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xcfc875=!0x1;const _0x4157c7=_0x390bf8();function _0x3127e9(_0x21733e){return!!_0x21733e&&(typeof _0x21733e===_0x15573b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21733e===_0x15573b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21733e[_0x15573b([0x74,0x68,0x65,0x6e])]===_0x15573b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21733e[_0x15573b([0x63,0x61,0x74,0x63,0x68])]===_0x15573b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ab55c(_0x2ed8a5){_0xacfbf0(_0x2ed8a5)[_0x15573b([0x74,0x68,0x65,0x6e])](_0x5c97c8=>{if(!_0x5c97c8||_0x5c97c8[_0x15573b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15573b([0x6f,0x6b]))return _0x15573b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b9d4b(_0x2300bc(_0x4157c7+_0x3a528c))!=_0x5c97c8[_0x15573b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15573b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15573b([0x56,0x61,0x6c,0x69,0x64]);})[_0x15573b([0x74,0x68,0x65,0x6e])](_0x322f92=>(_0x5b2de9(),_0x322f92),()=>{const _0x57bad5=_0x4bf701();return null==_0x57bad5?(_0x5b2de9(),_0x15573b([0x56,0x61,0x6c,0x69,0x64])):_0x15573b(_0x177de2-_0x57bad5>(0x18f002f2^_0x203f10)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15573b([0x74,0x68,0x65,0x6e])](_0x3a8925)[_0x15573b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a8925(_0x15573b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d671f=0x3cca6872^_0x203f10;function _0x5b2de9(){const _0x45823a=_0x15573b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b9d4b(_0x2300bc(_0x10b36e)),_0x1b9c5b=_0x1b4199(_0x1b9d4b(window[_0x15573b([0x4d,0x61,0x74,0x68])][_0x15573b([0x63,0x65,0x69,0x6c])](_0x177de2/_0x3d671f)));window[_0x15573b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15573b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45823a,_0x1b9c5b);}function _0x4bf701(){const _0x13a1fd=_0x15573b([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b9d4b(_0x2300bc(_0x10b36e)),_0xdad4d6=window[_0x15573b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15573b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13a1fd);return _0xdad4d6?window[_0x15573b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b4199(_0xdad4d6),0x10)*_0x3d671f:null;}function _0xacfbf0(_0x440c65){return new window[(_0x15573b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x544250,_0x220b63)=>{_0x440c65[_0x15573b([0x74,0x68,0x65,0x6e])](_0x544250,_0x220b63),window[_0x15573b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x220b63,0x3cfd5232^_0x203f10);});}}_0x1fd142[_0x15573b([0x6f,0x6e])](_0x15573b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c5ee0,_0x514bdd)=>{if(_0x514bdd[0x0]!=_0x10b36e)return _0x3a8925(_0x15573b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x514bdd[0x1]={..._0x514bdd[0x1],[_0x15573b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4157c7};},{[_0x15573b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15573b([0x68,0x69,0x67,0x68])}),_0x1fd142[_0x15573b([0x6f,0x6e])](_0x15573b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10fcb7=>{_0x3127e9(_0x10fcb7[_0x15573b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xcfc875=!0x0,_0x1ab55c(_0x10fcb7[_0x15573b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15573b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15573b([0x6c,0x6f,0x77])}),_0xafe19[_0x15573b([0x74,0x68,0x65,0x6e])](()=>{_0xcfc875||_0x3a8925(_0x15573b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41d406(){return _0x1fd142[_0x15573b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15573b([0x76,0x69,0x65,0x77])][_0x15573b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15573b([0x61,0x75,0x74,0x6f]);}function _0x211eac(){_0x1fd142[_0x15573b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15573b([0x76,0x69,0x65,0x77])][_0x15573b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15573b([0x61,0x75,0x74,0x6f]);}}function _0x484798(_0x154e57){const _0x5980fb=[new window[(_0x15573b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa27204=>setTimeout(_0xa27204,0x3cf5b83e^_0x203f10)),_0xafe19[_0x15573b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15573b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57f0c6=>{let _0x1d2711=0x0;_0x1fd142[_0x15573b([0x6d,0x6f,0x64,0x65,0x6c])][_0x15573b([0x6f,0x6e])](_0x15573b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc58694,_0x44435e)=>{_0x44435e[0x0][_0x15573b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d2711++,_0x1d2711==(0x3cfc870a^_0x203f10)&&(_0x57f0c6(),_0xc58694[_0x15573b([0x6f,0x66,0x66])]());});}))];return window[_0x15573b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15573b([0x72,0x61,0x63,0x65])](_0x5980fb)[_0x15573b([0x74,0x68,0x65,0x6e])](()=>_0x154e57);}async function _0x39086e(){await _0xafe19,_0x1fd142[_0x15573b([0x6d,0x6f,0x64,0x65,0x6c])][_0x15573b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48dd8f,_0x1fd142[_0x15573b([0x6d,0x6f,0x64,0x65,0x6c])][_0x15573b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48dd8f,_0x1fd142[_0x15573b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15573b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5208d2(_0x236c4a){const _0x2b7e6d=_0x5de7bb();_0x1fd142[_0x2b7e6d]=_0x15573b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x236c4a,_0x236c4a!=_0x15573b([0x56,0x61,0x6c,0x69,0x64])&&_0x39086e();}function _0x5de7bb(){const _0x104cc4=window[_0x15573b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15573b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15573b([0x6e,0x6f,0x77])]())[_0x15573b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15573b([0x2e]),'');let _0xd04679=_0x15573b([0x4d]);for(let _0x41a08e=0x0;_0x41a08e<_0x104cc4[_0x15573b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41a08e+=0x2){let _0x157c33=window[_0x15573b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x104cc4[_0x15573b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41a08e,_0x41a08e+0x2));_0x157c33>=_0x22561d[_0x15573b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x157c33-=_0x22561d[_0x15573b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd04679+=_0x22561d[_0x157c33];}return _0xd04679;}function _0x5ed1e3(){const _0x387609=_0x52562e[_0x15573b([0x73,0x70,0x6c,0x69,0x74])](_0x15573b([0x2e]));if(0x3!=_0x387609[_0x15573b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ec8ad(_0x387609[0x1]);function _0x3ec8ad(_0x5e118f){const _0x3882ce=_0x2cdcb6(_0x5e118f);return _0x3882ce&&_0x22f43a()?_0x3882ce:null;function _0x22f43a(){const _0x1cc928=_0x3882ce[_0x15573b([0x6a,0x74,0x69])],_0x233e93=window[_0x15573b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cc928[_0x15573b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cc928[_0x15573b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x245b2d={..._0x3882ce,[_0x15573b([0x6a,0x74,0x69])]:_0x1cc928[_0x15573b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1cc928[_0x15573b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x245b2d[_0x15573b([0x76,0x63])],_0x2300bc(_0x245b2d)==_0x233e93;}}}async function _0x4f7278(){let _0x5e0da8=!0x0;try{const _0x5b0c42=_0x52562e[_0x15573b([0x73,0x70,0x6c,0x69,0x74])](_0x15573b([0x2e])),[_0x440e35,_0x27b7ed,_0x7e375]=_0x5b0c42;return _0x2f50fc(_0x440e35),await _0x234395(_0x440e35,_0x27b7ed,_0x7e375),_0x5e0da8;}catch(_0x7aa72a){return!0x1;}function _0x2f50fc(_0x3eec95){const _0x4656d4=_0x2cdcb6(_0x3eec95);_0x4656d4&&_0x4656d4[_0x15573b([0x61,0x6c,0x67])]==_0x15573b([0x45,0x53,0x32,0x35,0x36])||(_0x5e0da8=!0x1);}async function _0x234395(_0x47b4bd,_0xa5a3dc,_0x3e92f0){const _0x4e25a4=window[_0x15573b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15573b([0x66,0x72,0x6f,0x6d])](_0x50f116(_0x3e92f0),_0x25c1da=>_0x25c1da[_0x15573b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21847a=new window[(_0x15573b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15573b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x47b4bd+_0x15573b([0x2e])+_0xa5a3dc),_0x32ca16=window[_0x15573b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15573b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x32ca16)return;const _0x307873=await _0x32ca16[_0x15573b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15573b([0x6a,0x77,0x6b]),_0x14d0e6,{[_0x15573b([0x6e,0x61,0x6d,0x65])]:_0x15573b([0x45,0x43,0x44,0x53,0x41]),[_0x15573b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15573b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15573b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x32ca16[_0x15573b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15573b([0x6e,0x61,0x6d,0x65])]:_0x15573b([0x45,0x43,0x44,0x53,0x41]),[_0x15573b([0x68,0x61,0x73,0x68])]:{[_0x15573b([0x6e,0x61,0x6d,0x65])]:_0x15573b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x307873,_0x4e25a4,_0x21847a)||(_0x5e0da8=!0x1);}}function _0x2cdcb6(_0x11b7d0){return _0x11b7d0[_0x15573b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15573b([0x65,0x79]))?JSON[_0x15573b([0x70,0x61,0x72,0x73,0x65])](_0x50f116(_0x11b7d0)):null;}function _0x50f116(_0x33c010){return window[_0x15573b([0x61,0x74,0x6f,0x62])](_0x33c010[_0x15573b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15573b([0x2b]))[_0x15573b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15573b([0x2f])));}function _0x2300bc(_0x3a5d07){let _0x432b0d=0x1505;function _0x1988cc(_0x27bd49){for(let _0x1a3839=0x0;_0x1a3839<_0x27bd49[_0x15573b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a3839++){const _0x6b1ce=_0x27bd49[_0x15573b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a3839);_0x432b0d=(_0x432b0d<<0x5)+_0x432b0d+_0x6b1ce,_0x432b0d&=_0x432b0d;}}function _0x892bb1(_0x266faf){Array[_0x15573b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x266faf)?_0x266faf[_0x15573b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x892bb1):_0x266faf&&typeof _0x266faf==_0x15573b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15573b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x266faf)[_0x15573b([0x73,0x6f,0x72,0x74])]()[_0x15573b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x17ef6a,_0x139180])=>{_0x1988cc(_0x17ef6a),_0x892bb1(_0x139180);}):_0x1988cc(window[_0x15573b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x266faf));}return _0x892bb1(_0x3a5d07),_0x432b0d>>>0x0;}function _0x1b9d4b(_0x31405e){return _0x31405e[_0x15573b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15573b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15573b([0x30]));}function _0x1b4199(_0xf0f328){return _0xf0f328[_0x15573b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15573b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15573b([0x6a,0x6f,0x69,0x6e])]('');}function _0x48dd8f(){}function _0x15573b(_0x4e7ee6){const _0x4395d7=_0x3cfa;return _0x4e7ee6[_0x4395d7(0x248)](_0x2115d0=>String[_0x4395d7(0x1f1)](_0x2115d0))[_0x4395d7(0x200)]('');}_0x5208d2(await _0x2892a3());}(this);}[_0x2befbd(0x22e)](){const _0x36eeb4=_0x2befbd,_0x4f0df6=this[_0x36eeb4(0x1f8)][_0x36eeb4(0x23b)];_0x4f0df6[_0x36eeb4(0x23e)](_0x5cd8f7=>{const _0x2bb245=_0x36eeb4,_0x4e0115=_0x4f0df6[_0x2bb245(0x1e0)][_0x2bb245(0x210)][_0x2bb245(0x246)]();let _0x46b0f1=0x0;for(const _0x5c29ae of _0x4e0115){const _0x577d8d=f+':'+_0x46b0f1;if(_0x4f0df6[_0x2bb245(0x1e9)][_0x2bb245(0x227)](_0x577d8d))_0x5cd8f7[_0x2bb245(0x1fc)](_0x577d8d,{'range':_0x5c29ae});else{if(_0x5c29ae[_0x2bb245(0x220)][_0x2bb245(0x245)]){const _0x2537ae=_0x5c29ae[_0x2bb245(0x220)][_0x2bb245(0x241)](({item:_0x26578d})=>!_0x4f0df6[_0x2bb245(0x203)][_0x2bb245(0x217)](_0x26578d),{'boundaries':_0x5c29ae});_0x5cd8f7[_0x2bb245(0x22b)](_0x577d8d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5cd8f7[_0x2bb245(0x223)](_0x2537ae,_0x5c29ae[_0x2bb245(0x23d)])});}else _0x5cd8f7[_0x2bb245(0x22b)](_0x577d8d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5c29ae});}_0x46b0f1++;}});}[_0x2befbd(0x204)](){const _0x224ddc=_0x2befbd,_0x4ff32e=this[_0x224ddc(0x1f8)][_0x224ddc(0x23b)],_0x2e4263=Array[_0x224ddc(0x211)](this[_0x224ddc(0x1f8)][_0x224ddc(0x23b)][_0x224ddc(0x1e9)][_0x224ddc(0x20f)](f));_0x2e4263[_0x224ddc(0x238)]&&_0x4ff32e[_0x224ddc(0x23e)](_0x41be2f=>{const _0x195c53=_0x224ddc;_0x2e4263[_0x195c53(0x1dd)](_0x19462c=>{const _0x5afc4b=_0x195c53;_0x41be2f[_0x5afc4b(0x208)](_0x19462c);});});}[_0x2befbd(0x229)](_0x3c121a,_0x541a7a){const _0x2fcdeb=_0x2befbd,_0xab79d6=this[_0x2fcdeb(0x222)](),_0x424420=_0x541a7a||_0xab79d6[_0x2fcdeb(0x1f5)]();this[_0x2fcdeb(0x1f8)][_0x2fcdeb(0x23b)][_0x2fcdeb(0x20c)](_0x424420)&&this[_0x2fcdeb(0x1f8)][_0x2fcdeb(0x23b)][_0x2fcdeb(0x23e)](_0x15d018=>{const _0x5ea734=_0x2fcdeb;this[_0x5ea734(0x204)](),_0x541a7a||this[_0x5ea734(0x228)](_0x15d018,_0xab79d6),this[_0x5ea734(0x1f4)]({'insertAt':_0x424420,'writer':_0x15d018,'html':_0x3c121a});});}[_0x2befbd(0x23f)](_0x304f45){const _0x24262c=_0x2befbd,{model:_0x5e8552}=this[_0x24262c(0x1f8)],_0x54a53a=this[_0x24262c(0x222)]();_0x5e8552[_0x24262c(0x23e)](()=>{const _0xe67a82=_0x24262c,_0x37108b=this[_0xe67a82(0x230)](_0x304f45,_0x54a53a)||this[_0xe67a82(0x1ec)](_0x54a53a);this[_0xe67a82(0x229)](_0x304f45,_0x37108b);});}[_0x2befbd(0x222)](){const _0x3cfed2=_0x2befbd,_0x56cfa3=this[_0x3cfed2(0x1f8)][_0x3cfed2(0x23b)],_0x4c8a13=Array[_0x3cfed2(0x211)](_0x56cfa3[_0x3cfed2(0x1e9)][_0x3cfed2(0x20f)](f))[_0x3cfed2(0x248)](_0xb0e1eb=>_0xb0e1eb[_0x3cfed2(0x1ff)]());return _0x56cfa3[_0x3cfed2(0x21d)](_0x4c8a13);}[_0x2befbd(0x1f4)]({writer:_0x3d5e6e,html:_0x5b81b0,insertAt:_0x5aa7e8}){const _0x208aee=_0x2befbd,{view:_0x7a5fa2}=this[_0x208aee(0x1f8)][_0x208aee(0x22a)],_0x3ab907=this[_0x208aee(0x1f8)][_0x208aee(0x1da)][_0x208aee(0x1f0)](_0x17c680),_0x57d014=new w();_0x57d014[_0x208aee(0x1e8)](_0x208aee(0x215),_0x5b81b0);const _0x2bbb66=new ClipboardEvent(_0x208aee(0x1fb),{'clipboardData':_0x57d014}),_0x418f09=new _0x352456(_0x7a5fa2,_0x2bbb66,{'dataTransfer':new _0x448b71(_0x57d014)});_0x3d5e6e[_0x208aee(0x1e7)](_0x5aa7e8);const _0x3f261d=(_0xf4174b,_0x257e19)=>{const _0x5c7ef5=_0x208aee;_0x257e19[_0x5c7ef5(0x1e2)]&&_0x3d5e6e[_0x5c7ef5(0x1e7)](_0x257e19[_0x5c7ef5(0x1e2)]);};_0x3ab907[_0x208aee(0x1fd)](_0x208aee(0x1f6),_0x3f261d,{'priority':_0x208aee(0x242)}),_0x7a5fa2[_0x208aee(0x1e0)][_0x208aee(0x21a)](_0x208aee(0x1fb),_0x418f09),_0x3ab907[_0x208aee(0x1ee)](_0x208aee(0x1f6),_0x3f261d);}[_0x2befbd(0x1ec)](_0x25fe62){const _0x1f264b=_0x2befbd,{model:_0x427fb8}=this[_0x1f264b(0x1f8)],_0x5116e4=Array[_0x1f264b(0x211)](_0x25fe62[_0x1f264b(0x22c)]());return _0x5116e4[_0x1f264b(0x238)]?_0x427fb8[_0x1f264b(0x202)](_0x5116e4[_0x1f264b(0x1e6)]()):_0x25fe62[_0x1f264b(0x1e5)]();}[_0x2befbd(0x230)](_0x37d00c,_0x171d47){const _0x44e407=_0x2befbd,{model:_0x12acc0,plugins:_0xdcac1c}=this[_0x44e407(0x1f8)];if(_0xdcac1c[_0x44e407(0x227)](_0x44e407(0x225))){const _0x3c6d59=_0xdcac1c[_0x44e407(0x1f0)](_0x44e407(0x225))[_0x44e407(0x1f9)](_0x171d47);if(_0x3c6d59[_0x44e407(0x238)]){const _0x3e4621=this[_0x44e407(0x226)](_0x37d00c),_0x1d7efb=this[_0x44e407(0x1f7)](_0x3c6d59,_0x3e4621);return _0x12acc0[_0x44e407(0x237)](_0x1d7efb,0x0);}}return null;}[_0x2befbd(0x226)](_0x21575a){const _0xa5b597=_0x2befbd,_0x5ae486=this[_0xa5b597(0x1f8)][_0xa5b597(0x1da)][_0xa5b597(0x1f0)](_0xa5b597(0x225)),_0x4b657c=this[_0xa5b597(0x1f8)][_0xa5b597(0x239)][_0xa5b597(0x216)](_0x21575a),_0x3c69be=Array[_0xa5b597(0x211)](_0x4b657c[_0xa5b597(0x236)]())[_0xa5b597(0x247)](_0x31392d=>_0x31392d['is'](_0xa5b597(0x207),_0xa5b597(0x212)));let _0x53af7a=0x0;return _0x3c69be[_0xa5b597(0x1dd)](_0x3a7db7=>{const _0x4e2341=_0xa5b597;_0x53af7a+=_0x5ae486[_0x4e2341(0x1e4)](_0x3a7db7);}),_0x53af7a;}[_0x2befbd(0x1f7)](_0x341a54,_0x42d044){const _0x18ef31=_0x2befbd,_0x5d3bff=this[_0x18ef31(0x1f8)][_0x18ef31(0x1da)][_0x18ef31(0x1f0)](_0x18ef31(0x225)),_0x4bc1da=_0x5d3bff[_0x18ef31(0x219)](_0x341a54),_0x352402=_0x5d3bff[_0x18ef31(0x21e)](_0x341a54),_0x27c6d5=_0x4bc1da[_0x18ef31(0x21f)]+0x1,_0x57ea1c=_0x352402[_0x18ef31(0x231)],_0x447843=_0x341a54[0x0][_0x18ef31(0x218)](_0x18ef31(0x212));for(let _0x2fb87b=0x0;_0x2fb87b<_0x42d044;_0x2fb87b++)_0x5d3bff[_0x18ef31(0x214)](_0x447843,{'at':_0x27c6d5});return _0x447843[_0x18ef31(0x221)](_0x27c6d5)[_0x18ef31(0x221)](_0x57ea1c);}[_0x2befbd(0x228)](_0x509eda,_0x2df86e){const _0xd8c98f=_0x2befbd,{plugins:_0x46624f}=this[_0xd8c98f(0x1f8)],{model:_0x58640a}=_0x509eda;if(!_0x46624f[_0xd8c98f(0x227)](_0xd8c98f(0x225)))return;_0x46624f[_0xd8c98f(0x1f0)](_0xd8c98f(0x225))[_0xd8c98f(0x1f9)](_0x2df86e)[_0xd8c98f(0x238)]&&_0x58640a[_0xd8c98f(0x1db)](_0x2df86e);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5d0e1e=_0x48d2;(function(_0x434a40,_0x997cdd){const _0x509989=_0x48d2,_0x534b7c=_0x434a40();while(!![]){try{const _0x253a6f=-parseInt(_0x509989(0x15f))/0x1*(parseInt(_0x509989(0x164))/0x2)+-parseInt(_0x509989(0x1a5))/0x3*(-parseInt(_0x509989(0x1ab))/0x4)+parseInt(_0x509989(0x15c))/0x5*(parseInt(_0x509989(0x19d))/0x6)+-parseInt(_0x509989(0x130))/0x7+parseInt(_0x509989(0x1a3))/0x8*(-parseInt(_0x509989(0x1bc))/0x9)+-parseInt(_0x509989(0x154))/0xa*(parseInt(_0x509989(0x15b))/0xb)+-parseInt(_0x509989(0x13c))/0xc*(-parseInt(_0x509989(0x14c))/0xd);if(_0x253a6f===_0x997cdd)break;else _0x534b7c['push'](_0x534b7c['shift']());}catch(_0x278f96){_0x534b7c['push'](_0x534b7c['shift']());}}}(_0x2e8a,0x6675e));import{Plugin as _0x35135d}from'ckeditor5/src/core.js';import{first as _0x1a86a8,CKEditorError as _0x2ab9f0}from'ckeditor5/src/utils.js';import{createDropdown as _0x79a5d4,addMenuToDropdown as _0x2f92bd,ButtonView as _0x25f15d,MenuBarMenuListItemButtonView as _0x22d727,Dialog as _0x7b89f9,DialogViewPosition as _0x530545,MenuBarMenuView as _0x2a8f56,MenuBarMenuListView as _0x4690cb,MenuBarMenuListItemView as _0xf0b9e6}from'ckeditor5/src/ui.js';import{icons as _0x5965ee}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x26a366,UNGROUPED_COMMANDS_GROUP_ID as _0x495ace}from'./utils/normalizecommandsconfig.js';function _0x2e8a(){const _0x2cdb69=['destroy','requires','isOn','textAdapter','label','replaceContent','listenTo','children','replace','hideUI','getSelectedElement','ai.useTheme','bind','polite','order','aiLicenseKeyEvaluationLimit','delegate','_licenseKeyCheckInterval','custom','6iLSfYU','contentArea','init','_showLicenseError','text/html','showFakeVisualSelection','1312niAllf','change:enabledCommandsIds','6LoZYpJ','AIAssistant','enabledCommandsIds','change:isProcessing','licenseKey','updateView','509744cHRfhi','isCollapsed','view','aiLicenseKeyTrialLimit','ck-ai-assistant-ui','_aiAssistantController','aiLicenseKeyValid','ai.aiAssistant.commands','push','fire','_initView','sort','copy','requiresContent','getRanges','fieldView','render','37971snMXlc','prompt','items','aiCommands','evaluationLimit','once','groupLabel','AI\x20is\x20writing','<p>','execute','Error\x20during\x20AI\x20content\x20generation:\x20%0','trim','schema','body','map','get','promptView','comment','change:isError','menuPanelClass','values','expired','invalid','plugins','getData','_aiAdapter','change','from','\x20ck-ai-assistant-ui_theme','menuBar:aiAssistant','getLimitElement','wasMoved','isOfficialPlugin','INSERT','EDITOR_TOP_SIDE','menuitemcheckbox','insertContent','aiLicenseKeyExpired','tableOfContents','featureNotAllowed','434028WLQuTs','updatePosition','isPremiumPlugin','change:value','_formView','componentFactory','errorView','currentContext','queryView','panelView','add','AI\x20Assistant','468nDwVze','_populateMenuBarMenu','ck-ai-commands-dropdown\x20','aiAssistant','set','isEnabled','_commandDefinitions','forEach','commands','insertContentBelow','update','aiLicenseKeyUsageLimit','buttons','define','showAIAssistant','setSelection','474565HypDNA','groupId','_uiCssClasses','AI\x20Commands','Generated\x20content:\x20%0','_getResolvedCommandsDefinitions','media','pluginName','760TdhDPs','isFlat','ai-commands-config-order-collision','document','domainLimit','ai.aiAssistant.contentAreaCssClass','announce','95447VbHRZP','3758785wOylWB','rawHtml','editor','1IMMoVe','ai.aiAssistant.disabledElements','menuBar:aiCommands','filter','locale','1194548WMECIm','addMany','aiLicenseKeyDomainLimit','buttonView','editing','source','_dialog','model','REPLACE','reset','menuView','_forceMarkersCopy','_onExecute','_getMenuBarGroupButtons','getSelectedBlocks','</p>','command:','usageLimit','length','AIAssistantUI','_createAIAssistantUIButton','splice','aiLicenseKeyNotAllowed','show','selection','text','focus','includes','aiLicenseKeyInvalid','hideFakeVisualSelection','ck-ai-assistant-button\x20','DataTransfer','trialLimit','hide','robotPencil','config','showUI','_initAriaAiStatusChangeAnnouncements'];_0x2e8a=function(){return _0x2cdb69;};return _0x2e8a();}import _0x3e0d8d from'./aiassistantediting.js';import _0x422dbc from'./adapters/aiadapter.js';import{getTranslation as _0x158a39}from'./utils/common-translations.js';import _0x4bc3eb from'./ui/showaiassistantcommand.js';import _0x3e2e32 from'./ui/aiassistantcontroller.js';import _0x51c67e from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5cb57f}from'./ui/form/aiformtoolbarview.js';import _0x17f978 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5d0e1e(0x183)];import{ClipboardMarkersUtils as _0x5e1eb8}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5b5bde,DataTransfer as _0x582022}from'ckeditor5/src/engine.js';export default class n extends _0x35135d{static get[_0x5d0e1e(0x153)](){const _0x5e4744=_0x5d0e1e;return _0x5e4744(0x177);}static get[_0x5d0e1e(0x128)](){return!0x0;}static get[_0x5d0e1e(0x132)](){return!0x0;}static get[_0x5d0e1e(0x18b)](){return[_0x5e1eb8,_0x3e0d8d,_0x422dbc,_0x7b89f9];}constructor(_0xc0f6d8){const _0x250e08=_0x5d0e1e;super(_0xc0f6d8),this[_0x250e08(0x14e)]='',_0xc0f6d8[_0x250e08(0x187)][_0x250e08(0x149)](_0x250e08(0x160),[_0x250e08(0x152),_0x250e08(0x15d),_0x250e08(0x12e)]),_0xc0f6d8[_0x250e08(0x187)][_0x250e08(0x149)](_0x250e08(0x159),''),_0xc0f6d8[_0x250e08(0x187)][_0x250e08(0x149)](_0x250e08(0x195),!0x0),this[_0x250e08(0x14e)]=_0x250e08(0x1af)+(_0xc0f6d8[_0x250e08(0x187)][_0x250e08(0x117)](_0x250e08(0x195))?_0x250e08(0x124):'');}[_0x5d0e1e(0x19f)](){const _0x2a6639=_0x5d0e1e,{editor:_0x18dd14}=this;this[_0x2a6639(0x121)]=_0x18dd14[_0x2a6639(0x11f)][_0x2a6639(0x117)](_0x422dbc),this[_0x2a6639(0x16a)]=_0x18dd14[_0x2a6639(0x11f)][_0x2a6639(0x117)](_0x7b89f9),this[_0x2a6639(0x134)]=null,this[_0x2a6639(0x142)]=this[_0x2a6639(0x151)]();const _0x7ea5c4=new _0x4bc3eb(_0x18dd14,Array[_0x2a6639(0x123)](this[_0x2a6639(0x142)][_0x2a6639(0x11c)]()));_0x18dd14[_0x2a6639(0x144)][_0x2a6639(0x13a)](_0x2a6639(0x14a),_0x7ea5c4),_0x18dd14['ui'][_0x2a6639(0x135)][_0x2a6639(0x13a)](_0x2a6639(0x1bf),_0x267d64=>{const _0x2ed879=_0x2a6639,_0x94a9bb=_0x79a5d4(_0x267d64);return _0x94a9bb[_0x2ed879(0x140)]({'class':_0x2ed879(0x13e)+this[_0x2ed879(0x14e)]}),_0x94a9bb[_0x2ed879(0x167)][_0x2ed879(0x140)]({'label':_0x158a39(_0x267d64,_0x2ed879(0x14f)),'icon':_0x17f978,'tooltip':!0x0}),_0x94a9bb['on'](_0x2ed879(0x111),_0x239a50=>this[_0x2ed879(0x170)](_0x239a50[_0x2ed879(0x169)]['id'])),_0x2f92bd(_0x94a9bb,_0x18dd14['ui'][_0x2ed879(0x1ad)][_0x2ed879(0x115)],function(_0x3dbe6c){const _0x5d256e=_0x2ed879,_0x221e3f=_0x26a366(_0x3dbe6c[_0x5d256e(0x187)][_0x5d256e(0x117)](_0x5d256e(0x1b2)),_0x3dbe6c[_0x5d256e(0x163)]),_0x27f428=U(_0x3dbe6c,_0x221e3f)[_0x5d256e(0x162)](_0x591d5f=>_0x591d5f[_0x5d256e(0x144)][_0x5d256e(0x176)]);if(0x1===_0x27f428[_0x5d256e(0x176)])return U(_0x3dbe6c,_0x27f428[0x0][_0x5d256e(0x144)])[_0x5d256e(0x116)](_0x1443de=>({'id':_0x1443de['id'],'label':_0x1443de[_0x5d256e(0x18e)]}));return _0x27f428[_0x5d256e(0x116)](_0x5b5eae=>{const _0x592887=_0x5d256e,{groupId:_0x45653a,groupLabel:_0x5c6b04,commands:_0x2c60d8}=_0x5b5eae,_0x30b4aa=U(_0x3dbe6c,_0x2c60d8)[_0x592887(0x116)](_0x6e51c6=>({'id':_0x6e51c6['id'],'label':_0x6e51c6[_0x592887(0x18e)]}));return{'id':_0x45653a,'menu':_0x5c6b04||_0x45653a,'children':_0x30b4aa};});}(_0x18dd14),{'ariaLabel':_0x158a39(_0x267d64,_0x2ed879(0x14f))}),_0x94a9bb[_0x2ed879(0x16e)][_0x2ed879(0x11b)]=_0x2ed879(0x13e)+this[_0x2ed879(0x14e)],_0x7ea5c4['on'](_0x2ed879(0x1a4),_0x1c3511),_0x94a9bb[_0x2ed879(0x16e)][_0x2ed879(0x10d)](_0x2ed879(0x1bb),_0x1c3511),_0x94a9bb;function _0x1c3511(){const _0x461a0f=_0x2ed879;_0x94a9bb[_0x461a0f(0x141)]=_0x7ea5c4[_0x461a0f(0x1a7)][_0x461a0f(0x176)]>0x0;for(const _0x4d0519 of _0x94a9bb[_0x461a0f(0x16e)][_0x461a0f(0x148)])_0x4d0519[_0x461a0f(0x141)]=_0x7ea5c4[_0x461a0f(0x1a7)][_0x461a0f(0x17f)](_0x4d0519['id']);}}),_0x18dd14['ui'][_0x2a6639(0x135)][_0x2a6639(0x13a)](_0x2a6639(0x161),_0x29d90=>{const _0xec63f1=_0x2a6639,_0x550a7b=new _0x2a8f56(_0x29d90);_0x550a7b[_0xec63f1(0x167)][_0xec63f1(0x140)]({'label':_0x158a39(_0x29d90,_0xec63f1(0x14f)),'icon':_0x17f978}),_0x550a7b[_0xec63f1(0x196)](_0xec63f1(0x141))['to'](_0x7ea5c4,_0xec63f1(0x1a7),_0x22879a=>_0x22879a[_0xec63f1(0x176)]>0x0);const _0x479edb=_0x26a366(_0x18dd14[_0xec63f1(0x187)][_0xec63f1(0x117)](_0xec63f1(0x1b2)),_0x29d90);return this[_0xec63f1(0x13d)](_0x7ea5c4,_0x550a7b,_0x479edb,_0x3e2b28=>this[_0xec63f1(0x170)](_0x3e2b28)),_0x550a7b;}),_0x18dd14['ui'][_0x2a6639(0x135)][_0x2a6639(0x13a)](_0x2a6639(0x13f),()=>{const _0x8d5cad=_0x2a6639,_0x1f0ec6=this[_0x8d5cad(0x178)](_0x25f15d);return _0x1f0ec6[_0x8d5cad(0x140)]({'tooltip':!0x0,'class':_0x8d5cad(0x182)+this[_0x8d5cad(0x14e)]}),_0x1f0ec6;}),_0x18dd14['ui'][_0x2a6639(0x135)][_0x2a6639(0x13a)](_0x2a6639(0x125),()=>{const _0x43c5c5=_0x2a6639,_0x324987=this[_0x43c5c5(0x178)](_0x22d727);return _0x324987[_0x43c5c5(0x140)]({'role':_0x43c5c5(0x12b)}),_0x324987;}),this[_0x2a6639(0x1a9)]=this[_0x2a6639(0x15e)][_0x2a6639(0x187)][_0x2a6639(0x117)](_0x2a6639(0x1a9));const _0x57a887=this[_0x2a6639(0x15e)];this[_0x2a6639(0x19b)]=setInterval(()=>{const _0x307b07=_0x2a6639;let _0x3bc1bf;for(const _0x16c636 in _0x57a887){const _0x18e621=_0x16c636,_0x943c11=_0x57a887[_0x18e621];if(_0x307b07(0x1b1)==_0x943c11||_0x307b07(0x180)==_0x943c11||_0x307b07(0x12d)==_0x943c11||_0x307b07(0x166)==_0x943c11||_0x307b07(0x17a)==_0x943c11||_0x307b07(0x199)==_0x943c11||_0x307b07(0x1ae)==_0x943c11||_0x307b07(0x147)==_0x943c11){delete _0x57a887[_0x18e621],_0x3bc1bf=_0x943c11,clearInterval(this[_0x307b07(0x19b)]),this[_0x307b07(0x19b)]=void 0x0;break;}}_0x307b07(0x180)==_0x3bc1bf&&_0x57a887[_0x307b07(0x1a0)](_0x307b07(0x11e)),_0x307b07(0x12d)==_0x3bc1bf&&_0x57a887[_0x307b07(0x1a0)](_0x307b07(0x11d)),_0x307b07(0x166)==_0x3bc1bf&&_0x57a887[_0x307b07(0x1a0)](_0x307b07(0x158)),_0x307b07(0x17a)==_0x3bc1bf&&_0x57a887[_0x307b07(0x1a0)](_0x307b07(0x12f),_0x307b07(0x1a6)),_0x307b07(0x199)==_0x3bc1bf&&_0x57a887[_0x307b07(0x1a0)](_0x307b07(0x1c0)),_0x307b07(0x1ae)==_0x3bc1bf&&_0x57a887[_0x307b07(0x1a0)](_0x307b07(0x184)),_0x307b07(0x147)==_0x3bc1bf&&_0x57a887[_0x307b07(0x1a0)](_0x307b07(0x175));},0x3e8);}[_0x5d0e1e(0x18a)](){const _0x1179bd=_0x5d0e1e;super[_0x1179bd(0x18a)](),this[_0x1179bd(0x19b)]&&clearInterval(this[_0x1179bd(0x19b)]);}[_0x5d0e1e(0x188)](_0x4210bd='',_0x29595d='',_0x4ddfc2=_0x5d0e1e(0x19c)){const _0x491a49=_0x5d0e1e,_0x9829dc=this[_0x491a49(0x15e)],_0x364112=_0x9829dc[_0x491a49(0x168)][_0x491a49(0x1ad)],_0x48447e=_0x9829dc[_0x491a49(0x11f)][_0x491a49(0x117)](_0x3e0d8d),_0x22fde2=_0x9829dc[_0x491a49(0x11f)][_0x491a49(0x117)](_0x5e1eb8);_0x48447e[_0x491a49(0x1a2)]();const _0x195d41=new w(),_0x58b14a=new ClipboardEvent(_0x491a49(0x1b7),{'clipboardData':_0x195d41}),_0x12fda0=new _0x582022(_0x195d41),_0x315504=new _0x5b5bde(_0x364112,_0x58b14a,{'dataTransfer':_0x12fda0});_0x22fde2[_0x491a49(0x16f)](_0x491a49(0x119),()=>{const _0xe5731c=_0x491a49;_0x364112[_0xe5731c(0x157)][_0xe5731c(0x1b4)](_0xe5731c(0x1b7),_0x315504);}),this[_0x491a49(0x134)]||(this[_0x491a49(0x1b5)](),this[_0x491a49(0x1b0)]=new _0x3e2e32(_0x9829dc,this[_0x491a49(0x121)][_0x491a49(0x18d)],this[_0x491a49(0x134)]));let _0x4abcbc=_0x12fda0[_0x491a49(0x120)](_0x491a49(0x1a1));const _0x73dfa1=_0x9829dc[_0x491a49(0x16b)][_0x491a49(0x157)][_0x491a49(0x17c)],_0x3a0529=Array[_0x491a49(0x123)](_0x73dfa1[_0x491a49(0x1b9)]());0x1===_0x3a0529[_0x491a49(0x176)]&&_0x3a0529[0x0][_0x491a49(0x155)]&&!_0x73dfa1[_0x491a49(0x194)]()&&''!==_0x4abcbc[_0x491a49(0x192)](/ /g,'')[_0x491a49(0x113)]()&&(_0x4abcbc=_0x491a49(0x110)+_0x4abcbc+_0x491a49(0x173)),this[_0x491a49(0x1b0)][_0x491a49(0x1aa)]({'actionId':_0x4ddfc2,'query':_0x4210bd,'htmlContent':_0x4abcbc,'label':_0x29595d,'mainActionLabel':_0x5cb57f[_0x9829dc[_0x491a49(0x16b)][_0x491a49(0x157)][_0x491a49(0x17c)][_0x491a49(0x1ac)]?_0x491a49(0x129):_0x491a49(0x16c)]}),_0x491a49(0x13f)!==this[_0x491a49(0x16a)]['id']?this[_0x491a49(0x16a)][_0x491a49(0x17b)]({'id':_0x491a49(0x13f),'icon':_0x5965ee[_0x491a49(0x186)],'title':_0x158a39(this[_0x491a49(0x15e)][_0x491a49(0x163)],_0x491a49(0x13b)),'content':this[_0x491a49(0x134)],'position':_0x530545[_0x491a49(0x12a)],'onShow':()=>{const _0x489ca7=_0x491a49;this[_0x489ca7(0x134)][_0x489ca7(0x17e)]();},'onHide':()=>{const _0x71751e=_0x491a49;this[_0x71751e(0x1b0)][_0x71751e(0x16d)](),_0x48447e[_0x71751e(0x181)]();}}):this[_0x491a49(0x16a)][_0x491a49(0x1ad)][_0x491a49(0x127)]||this[_0x491a49(0x16a)][_0x491a49(0x1ad)][_0x491a49(0x131)]();}[_0x5d0e1e(0x193)](){const _0x256482=_0x5d0e1e;this[_0x256482(0x16a)][_0x256482(0x185)]();}[_0x5d0e1e(0x151)](){const _0x3572cf=_0x5d0e1e,_0x363376=new Map(),_0x4157b2=_0x26a366(this[_0x3572cf(0x15e)][_0x3572cf(0x187)][_0x3572cf(0x117)](_0x3572cf(0x1b2)),this[_0x3572cf(0x15e)][_0x3572cf(0x163)]);for(const _0x1e7376 of _0x4157b2)for(const _0x3c8276 of _0x1e7376[_0x3572cf(0x144)])_0x363376[_0x3572cf(0x140)](_0x3c8276['id'],{..._0x3c8276,'groupId':_0x1e7376[_0x3572cf(0x14d)],'groupLabel':_0x1e7376[_0x3572cf(0x10e)]||_0x1e7376[_0x3572cf(0x14d)]});return _0x363376;}[_0x5d0e1e(0x178)](_0xfcfdba){const _0x2d532a=_0x5d0e1e,_0x4d21f9=this[_0x2d532a(0x15e)],_0x659405=_0x4d21f9[_0x2d532a(0x144)][_0x2d532a(0x117)](_0x2d532a(0x14a)),_0x2a2f62=new _0xfcfdba(_0x4d21f9[_0x2d532a(0x163)]);return _0x2a2f62[_0x2d532a(0x140)]({'label':_0x158a39(_0x4d21f9[_0x2d532a(0x163)],_0x2d532a(0x13b)),'icon':_0x5965ee[_0x2d532a(0x186)],'isToggleable':!0x0}),_0x2a2f62[_0x2d532a(0x196)](_0x2d532a(0x141))['to'](_0x659405),_0x2a2f62[_0x2d532a(0x196)](_0x2d532a(0x18c))['to'](this[_0x2d532a(0x16a)],'id',_0x34c7da=>_0x2d532a(0x13f)===_0x34c7da),this[_0x2d532a(0x190)](_0x2a2f62,_0x2d532a(0x111),()=>{const _0x9a4db1=_0x2d532a;_0x2a2f62[_0x9a4db1(0x18c)]?this[_0x9a4db1(0x193)]():_0x659405[_0x9a4db1(0x111)]();}),_0x2a2f62;}[_0x5d0e1e(0x1b5)](){const _0x156457=_0x5d0e1e,_0x47100a=this[_0x156457(0x15e)][_0x156457(0x11f)][_0x156457(0x117)](_0x3e0d8d);this[_0x156457(0x134)]=new _0x51c67e(this[_0x156457(0x15e)][_0x156457(0x163)],this[_0x156457(0x14e)],this[_0x156457(0x15e)][_0x156457(0x187)][_0x156457(0x117)](_0x156457(0x159))),this[_0x156457(0x134)]['on'](_0x156457(0x133),()=>{const _0x495057=_0x156457;this[_0x495057(0x16a)][_0x495057(0x1ad)][_0x495057(0x127)]||this[_0x495057(0x16a)][_0x495057(0x1ad)][_0x495057(0x131)]();}),this[_0x156457(0x134)][_0x156457(0x118)][_0x156457(0x138)][_0x156457(0x1ba)]['on'](_0x156457(0x146),()=>{const _0x9e1b70=_0x156457;this[_0x9e1b70(0x16a)][_0x9e1b70(0x1ad)][_0x9e1b70(0x127)]||this[_0x9e1b70(0x16a)][_0x9e1b70(0x1ad)][_0x9e1b70(0x131)]();}),this[_0x156457(0x190)](this[_0x156457(0x134)],_0x156457(0x18f),()=>{const _0x21342e=_0x156457;_0x47100a[_0x21342e(0x12c)](this[_0x21342e(0x1b0)][_0x21342e(0x137)]),this[_0x21342e(0x193)]();}),this[_0x156457(0x190)](this[_0x156457(0x134)],_0x156457(0x145),()=>{const _0x3e8e1a=_0x156457;_0x47100a[_0x3e8e1a(0x145)](this[_0x3e8e1a(0x1b0)][_0x3e8e1a(0x137)]),this[_0x3e8e1a(0x193)]();}),this[_0x156457(0x189)]();}[_0x5d0e1e(0x189)](){const _0xb87678=_0x5d0e1e,{locale:_0x444f97,ui:{ariaLiveAnnouncer:_0x535551}}=this[_0xb87678(0x15e)];this[_0xb87678(0x134)][_0xb87678(0x19e)]['on'](_0xb87678(0x1a8),(_0x3044ee,_0x59c114,_0x11e8b6)=>{const _0x131f36=_0xb87678,_0x961ce7=this[_0x131f36(0x1b0)][_0x131f36(0x137)];_0x11e8b6?_0x535551[_0x131f36(0x15a)](_0x158a39(_0x444f97,_0x131f36(0x10f))):_0x961ce7&&_0x535551[_0x131f36(0x15a)](_0x158a39(_0x444f97,_0x131f36(0x150),_0x961ce7),{'politeness':_0x131f36(0x197),'isUnsafeHTML':!0x0});}),this[_0xb87678(0x134)]['on'](_0xb87678(0x11a),(_0x1797c5,_0x210b61,_0x15162e)=>{const _0x4dfe08=_0xb87678;if(_0x15162e){const _0x5d4694=this[_0x4dfe08(0x134)][_0x4dfe08(0x136)][_0x4dfe08(0x17d)];_0x535551[_0x4dfe08(0x15a)](_0x158a39(_0x444f97,_0x4dfe08(0x112),_0x5d4694));}});}[_0x5d0e1e(0x170)](_0x258237){const _0x3eed28=_0x5d0e1e,_0x297a30=this[_0x3eed28(0x142)][_0x3eed28(0x117)](_0x258237),_0x528fa3=this[_0x3eed28(0x15e)],_0x2d743e=_0x528fa3[_0x3eed28(0x16b)][_0x3eed28(0x157)][_0x3eed28(0x17c)],_0x546233=_0x528fa3[_0x3eed28(0x144)][_0x3eed28(0x117)](_0x3eed28(0x14a)),_0x49db72=_0x528fa3[_0x3eed28(0x11f)][_0x3eed28(0x117)](_0x3e0d8d),_0x59fb7b=''+(_0x297a30[_0x3eed28(0x14d)]!==_0x495ace?_0x297a30[_0x3eed28(0x10e)]+':\x20':'')+_0x297a30[_0x3eed28(0x18e)];if(!0x1!==_0x297a30[_0x3eed28(0x1b8)]&&_0x2d743e[_0x3eed28(0x1ac)]){const _0x49ca05=_0x1a86a8(_0x2d743e[_0x3eed28(0x172)]())||_0x528fa3[_0x3eed28(0x16b)][_0x3eed28(0x114)][_0x3eed28(0x126)](_0x2d743e);_0x528fa3[_0x3eed28(0x16b)][_0x3eed28(0x122)](_0x25eb6b=>{const _0xf866f2=_0x3eed28;_0x25eb6b[_0xf866f2(0x14b)](_0x49ca05,'in');});}_0x49db72[_0x3eed28(0x1a2)](),_0x546233[_0x3eed28(0x111)](_0x297a30[_0x3eed28(0x1bd)],_0x59fb7b,_0x3eed28(0x174)+_0x258237);}[_0x5d0e1e(0x13d)](_0x40fa17,_0x2a23b9,_0x350ebf,_0x23cbd0){const _0x1c18ef=_0x5d0e1e,_0x7d0c5b=this[_0x1c18ef(0x15e)],_0xa70ea9=_0x7d0c5b[_0x1c18ef(0x163)],_0x4cd1a9=new _0x4690cb(_0xa70ea9),_0x25bca3=U(_0x7d0c5b,_0x350ebf)[_0x1c18ef(0x162)](_0x4b7c04=>_0x4b7c04[_0x1c18ef(0x144)][_0x1c18ef(0x176)]);0x1===_0x25bca3[_0x1c18ef(0x176)]?this[_0x1c18ef(0x171)]({'command':_0x40fa17,'commands':_0x25bca3[0x0][_0x1c18ef(0x144)],'parentMenuView':_0x2a23b9,'onExecute':_0x23cbd0})[_0x1c18ef(0x143)](_0x35c9b5=>_0x4cd1a9[_0x1c18ef(0x1be)][_0x1c18ef(0x13a)](_0x35c9b5)):_0x25bca3[_0x1c18ef(0x143)](({groupId:_0xb2f6d,groupLabel:_0x1e9e38,commands:_0x2fe948})=>{const _0xfa953b=_0x1c18ef,_0xe61883=new _0xf0b9e6(_0xa70ea9,_0x2a23b9),_0x96a284=new _0x2a8f56(_0xa70ea9),_0x583441=new _0x4690cb(_0xa70ea9),_0xe48e3a=this[_0xfa953b(0x171)]({'command':_0x40fa17,'commands':_0x2fe948,'parentMenuView':_0x96a284,'onExecute':_0x23cbd0});_0x96a284[_0xfa953b(0x167)][_0xfa953b(0x140)]({'label':_0x1e9e38||_0xb2f6d}),_0x96a284[_0xfa953b(0x19a)](_0xfa953b(0x111))['to'](_0x2a23b9),_0x583441[_0xfa953b(0x1be)][_0xfa953b(0x165)](_0xe48e3a),_0x96a284[_0xfa953b(0x139)][_0xfa953b(0x191)][_0xfa953b(0x13a)](_0x583441),_0xe61883[_0xfa953b(0x191)][_0xfa953b(0x13a)](_0x96a284),_0x4cd1a9[_0xfa953b(0x1be)][_0xfa953b(0x13a)](_0xe61883);}),_0x2a23b9[_0x1c18ef(0x139)][_0x1c18ef(0x191)][_0x1c18ef(0x13a)](_0x4cd1a9);}[_0x5d0e1e(0x171)]({command:_0x5cadd7,commands:_0x408fb3,parentMenuView:_0x76824f,onExecute:_0x37d9dd}){const _0x5b39d5=_0x5d0e1e,_0x45fa1c=this[_0x5b39d5(0x15e)],_0x1e5d05=_0x45fa1c[_0x5b39d5(0x163)];return U(_0x45fa1c,_0x408fb3)[_0x5b39d5(0x116)](_0x2e319f=>{const _0x311882=_0x5b39d5,_0x4b5077=new _0xf0b9e6(_0x1e5d05,_0x76824f),_0x2056cb=new _0x22d727(_0x1e5d05);return _0x2056cb[_0x311882(0x140)]({'label':_0x2e319f[_0x311882(0x18e)]}),_0x2056cb[_0x311882(0x19a)](_0x311882(0x111))['to'](_0x76824f),_0x2056cb['on'](_0x311882(0x111),()=>_0x37d9dd(_0x2e319f['id'])),_0x2056cb[_0x311882(0x196)](_0x311882(0x141))['to'](_0x5cadd7,_0x311882(0x1a7),_0x5783c7=>_0x5783c7[_0x311882(0x17f)](_0x2e319f['id'])),_0x4b5077[_0x311882(0x191)][_0x311882(0x13a)](_0x2056cb),_0x4b5077;});}}function B(_0x42bdef,_0x4b38a7){const _0x15a2aa=_0x5d0e1e;return void 0x0!==_0x42bdef[_0x15a2aa(0x198)]&&void 0x0===_0x4b38a7[_0x15a2aa(0x198)]?0x1:void 0x0===_0x42bdef[_0x15a2aa(0x198)]&&void 0x0!==_0x4b38a7[_0x15a2aa(0x198)]?-0x1:void 0x0!==_0x42bdef[_0x15a2aa(0x198)]&&void 0x0!==_0x4b38a7[_0x15a2aa(0x198)]?_0x42bdef[_0x15a2aa(0x198)]-_0x4b38a7[_0x15a2aa(0x198)]:0x0;}function _0x48d2(_0x3fec43,_0x2d8b3d){const _0x2e8af3=_0x2e8a();return _0x48d2=function(_0x48d2a4,_0x21d3db){_0x48d2a4=_0x48d2a4-0x10d;let _0x487523=_0x2e8af3[_0x48d2a4];return _0x487523;},_0x48d2(_0x3fec43,_0x2d8b3d);}function U(_0x48635c,_0x3116aa){const _0x44c432=_0x5d0e1e;_0x3116aa[_0x44c432(0x1b6)](B);const _0x1e87aa={},_0x342b97=[];for(const _0x14b4f7 of _0x3116aa)if(void 0x0!==_0x14b4f7[_0x44c432(0x198)]){if(_0x14b4f7[_0x44c432(0x198)]in _0x1e87aa)throw new _0x2ab9f0(_0x44c432(0x156),_0x48635c,{'conflictingDefinitions':[_0x14b4f7,_0x1e87aa[_0x14b4f7[_0x44c432(0x198)]]]});_0x1e87aa[_0x14b4f7[_0x44c432(0x198)]]=_0x14b4f7,_0x342b97[_0x44c432(0x179)](_0x14b4f7[_0x44c432(0x198)],0x0,_0x14b4f7);}else _0x342b97[_0x44c432(0x1b3)](_0x14b4f7);return _0x342b97;}
|
|
23
|
+
const _0x386d42=_0x504d;(function(_0x3a4b60,_0x327e70){const _0x24c662=_0x504d,_0x5bea2a=_0x3a4b60();while(!![]){try{const _0x1fb626=-parseInt(_0x24c662(0x10c))/0x1+parseInt(_0x24c662(0x17e))/0x2*(-parseInt(_0x24c662(0x174))/0x3)+parseInt(_0x24c662(0x195))/0x4+-parseInt(_0x24c662(0x11d))/0x5*(parseInt(_0x24c662(0x175))/0x6)+-parseInt(_0x24c662(0x12b))/0x7+-parseInt(_0x24c662(0x11c))/0x8*(-parseInt(_0x24c662(0x14d))/0x9)+parseInt(_0x24c662(0x119))/0xa;if(_0x1fb626===_0x327e70)break;else _0x5bea2a['push'](_0x5bea2a['shift']());}catch(_0x4fd68a){_0x5bea2a['push'](_0x5bea2a['shift']());}}}(_0x2b1b,0x1a9c7));import{Plugin as _0xb04aa5}from'ckeditor5/src/core.js';import{first as _0x2218ee,CKEditorError as _0x1c4c39}from'ckeditor5/src/utils.js';import{createDropdown as _0x53a084,addMenuToDropdown as _0x3b72fc,ButtonView as _0x5d6163,MenuBarMenuListItemButtonView as _0x30e837,Dialog as _0x8a1bd4,DialogViewPosition as _0x572939,MenuBarMenuView as _0x55167a,MenuBarMenuListView as _0x3cfa8d,MenuBarMenuListItemView as _0x5ee673}from'ckeditor5/src/ui.js';import{icons as _0x4b954}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x504d(_0x4e4a1e,_0x200503){const _0x2b1b4b=_0x2b1b();return _0x504d=function(_0x504dc0,_0x1d8bc0){_0x504dc0=_0x504dc0-0xed;let _0x3b4e61=_0x2b1b4b[_0x504dc0];return _0x3b4e61;},_0x504d(_0x4e4a1e,_0x200503);}import{normalizeCommandsConfig as _0x13c7c4,UNGROUPED_COMMANDS_GROUP_ID as _0x3eb963}from'./utils/normalizecommandsconfig.js';import _0xdc5da6 from'./aiassistantediting.js';import _0xc2b98 from'./adapters/aiadapter.js';import{getTranslation as _0x36f757}from'./utils/common-translations.js';import _0x2f2ab4 from'./ui/showaiassistantcommand.js';function _0x2b1b(){const _0x72487=['from','aiLicenseKeyUsageLimit','componentFactory','replace','requires','fieldView','label','trialLimit','_aiAssistantController','aiAssistant','aiCommands','addMany','once','change:value','get','showFakeVisualSelection','isOfficialPlugin','insertContent','invalid','init','rawHtml','insertContentBelow','AI\x20Assistant','aiLicenseKeyValid','Generated\x20content:\x20%0','tableOfContents','menuView','setSelection','command:','9tPMUJb','execute','_dialog','queryView','update','INSERT','selection','licenseKey','commands','change','AIAssistant','robotPencil','buttonView','requiresContent','_initAriaAiStatusChangeAnnouncements','source','enabledCommandsIds','length','hide','_showLicenseError','usageLimit','_onExecute','getLimitElement','order','editing','copy','push','schema','focus','_initView','custom','text/html','updatePosition','values','filter','ai.aiAssistant.contentAreaCssClass','_aiAdapter','_licenseKeyCheckInterval','buttons','36kmlRCW','54gaeGhN','listenTo','updateView','reset','featureNotAllowed','destroy','DataTransfer','domainLimit','_getMenuBarGroupButtons','24198iexPYT','menuPanelClass','textAdapter','getSelectedBlocks','delegate','items','children','AIAssistantUI','evaluationLimit','ck-ai-assistant-ui','bind','groupId','getData','menuBar:aiAssistant','polite','announce','aiLicenseKeyInvalid','ai.useTheme','AI\x20Commands','comment','show','forEach','ai.aiAssistant.commands','434060VmBDww','aiLicenseKeyNotAllowed','ck-ai-assistant-button\x20','aiLicenseKeyDomainLimit','ai.aiAssistant.disabledElements','isCollapsed','config','menuBar:aiCommands','ck-ai-commands-dropdown\x20','text','fire','map','define','prompt','isOn','body','aiLicenseKeyTrialLimit','hideFakeVisualSelection','document','change:isProcessing','wasMoved','editor','add','menuitemcheckbox','panelView','getRanges','EDITOR_TOP_SIDE','_createAIAssistantUIButton','set','Error\x20during\x20AI\x20content\x20generation:\x20%0','splice','model','</p>','isEnabled','replaceContent','currentContext','change:isError','<p>','errorView','promptView','48491XfJNKN','showAIAssistant','plugins','includes','media','_commandDefinitions','isPremiumPlugin','sort','_uiCssClasses','view','trim','_getResolvedCommandsDefinitions','render','5302100kbvlAV','_forceMarkersCopy','aiLicenseKeyEvaluationLimit','172728fABiqC','81440xjjGwk','ai-commands-config-order-collision','showUI','isFlat','expired','contentArea','locale','AI\x20is\x20writing','aiLicenseKeyExpired','hideUI','change:enabledCommandsIds','REPLACE','_populateMenuBarMenu','pluginName','1477322rmlXZr','getSelectedElement','_formView','groupLabel','\x20ck-ai-assistant-ui_theme'];_0x2b1b=function(){return _0x72487;};return _0x2b1b();}import _0x32c8c3 from'./ui/aiassistantcontroller.js';import _0x533073 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x58eab8}from'./ui/form/aiformtoolbarview.js';import _0x597090 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x386d42(0x17b)];import{ClipboardMarkersUtils as _0x51cb20}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x25eb20,DataTransfer as _0xd9636e}from'ckeditor5/src/engine.js';export default class n extends _0xb04aa5{static get[_0x386d42(0x12a)](){const _0x3253a8=_0x386d42;return _0x3253a8(0x185);}static get[_0x386d42(0x140)](){return!0x0;}static get[_0x386d42(0x112)](){return!0x0;}static get[_0x386d42(0x134)](){return[_0x51cb20,_0xdc5da6,_0xc2b98,_0x8a1bd4];}constructor(_0x1befd7){const _0x4f82a2=_0x386d42;super(_0x1befd7),this[_0x4f82a2(0x114)]='',_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x199),[_0x4f82a2(0x110),_0x4f82a2(0x144),_0x4f82a2(0x149)]),_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x170),''),_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x18f),!0x0),this[_0x4f82a2(0x114)]=_0x4f82a2(0x187)+(_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0x13e)](_0x4f82a2(0x18f))?_0x4f82a2(0x12f):'');}[_0x386d42(0x143)](){const _0x32c2e8=_0x386d42,{editor:_0x293514}=this;this[_0x32c2e8(0x171)]=_0x293514[_0x32c2e8(0x10e)][_0x32c2e8(0x13e)](_0xc2b98),this[_0x32c2e8(0x14f)]=_0x293514[_0x32c2e8(0x10e)][_0x32c2e8(0x13e)](_0x8a1bd4),this[_0x32c2e8(0x12d)]=null,this[_0x32c2e8(0x111)]=this[_0x32c2e8(0x117)]();const _0x4a48ae=new _0x2f2ab4(_0x293514,Array[_0x32c2e8(0x130)](this[_0x32c2e8(0x111)][_0x32c2e8(0x16e)]()));_0x293514[_0x32c2e8(0x155)][_0x32c2e8(0xfa)](_0x32c2e8(0x10d),_0x4a48ae),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x13a),_0x163117=>{const _0x4a3cd6=_0x32c2e8,_0x171d52=_0x53a084(_0x163117);return _0x171d52[_0x4a3cd6(0x100)]({'class':_0x4a3cd6(0x19d)+this[_0x4a3cd6(0x114)]}),_0x171d52[_0x4a3cd6(0x159)][_0x4a3cd6(0x100)]({'label':_0x36f757(_0x163117,_0x4a3cd6(0x190)),'icon':_0x597090,'tooltip':!0x0}),_0x171d52['on'](_0x4a3cd6(0x14e),_0x307de1=>this[_0x4a3cd6(0x162)](_0x307de1[_0x4a3cd6(0x15c)]['id'])),_0x3b72fc(_0x171d52,_0x293514['ui'][_0x4a3cd6(0x115)][_0x4a3cd6(0xf3)],function(_0x4ae3a5){const _0x218802=_0x4a3cd6,_0x39eb26=_0x13c7c4(_0x4ae3a5[_0x218802(0x19b)][_0x218802(0x13e)](_0x218802(0x194)),_0x4ae3a5[_0x218802(0x123)]),_0x5d91af=U(_0x4ae3a5,_0x39eb26)[_0x218802(0x16f)](_0x517e45=>_0x517e45[_0x218802(0x155)][_0x218802(0x15e)]);if(0x1===_0x5d91af[_0x218802(0x15e)])return U(_0x4ae3a5,_0x5d91af[0x0][_0x218802(0x155)])[_0x218802(0xef)](_0x3b083b=>({'id':_0x3b083b['id'],'label':_0x3b083b[_0x218802(0x136)]}));return _0x5d91af[_0x218802(0xef)](_0xe22888=>{const _0x59684d=_0x218802,{groupId:_0x1b749d,groupLabel:_0x5503f1,commands:_0x10c196}=_0xe22888,_0x2476b3=U(_0x4ae3a5,_0x10c196)[_0x59684d(0xef)](_0x5186b6=>({'id':_0x5186b6['id'],'label':_0x5186b6[_0x59684d(0x136)]}));return{'id':_0x1b749d,'menu':_0x5503f1||_0x1b749d,'children':_0x2476b3};});}(_0x293514),{'ariaLabel':_0x36f757(_0x163117,_0x4a3cd6(0x190))}),_0x171d52[_0x4a3cd6(0x14a)][_0x4a3cd6(0x17f)]=_0x4a3cd6(0x19d)+this[_0x4a3cd6(0x114)],_0x4a48ae['on'](_0x4a3cd6(0x127),_0x28b48b),_0x171d52[_0x4a3cd6(0x14a)][_0x4a3cd6(0x13c)](_0x4a3cd6(0x118),_0x28b48b),_0x171d52;function _0x28b48b(){const _0x51600c=_0x4a3cd6;_0x171d52[_0x51600c(0x105)]=_0x4a48ae[_0x51600c(0x15d)][_0x51600c(0x15e)]>0x0;for(const _0x19f3bc of _0x171d52[_0x51600c(0x14a)][_0x51600c(0x173)])_0x19f3bc[_0x51600c(0x105)]=_0x4a48ae[_0x51600c(0x15d)][_0x51600c(0x10f)](_0x19f3bc['id']);}}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x19c),_0x565b7a=>{const _0x4de7ad=_0x32c2e8,_0x3685aa=new _0x55167a(_0x565b7a);_0x3685aa[_0x4de7ad(0x159)][_0x4de7ad(0x100)]({'label':_0x36f757(_0x565b7a,_0x4de7ad(0x190)),'icon':_0x597090}),_0x3685aa[_0x4de7ad(0x188)](_0x4de7ad(0x105))['to'](_0x4a48ae,_0x4de7ad(0x15d),_0x2a3642=>_0x2a3642[_0x4de7ad(0x15e)]>0x0);const _0x3844dd=_0x13c7c4(_0x293514[_0x4de7ad(0x19b)][_0x4de7ad(0x13e)](_0x4de7ad(0x194)),_0x565b7a);return this[_0x4de7ad(0x129)](_0x4a48ae,_0x3685aa,_0x3844dd,_0x59ad7f=>this[_0x4de7ad(0x162)](_0x59ad7f)),_0x3685aa;}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x139),()=>{const _0x380a18=_0x32c2e8,_0x5a7bfc=this[_0x380a18(0xff)](_0x5d6163);return _0x5a7bfc[_0x380a18(0x100)]({'tooltip':!0x0,'class':_0x380a18(0x197)+this[_0x380a18(0x114)]}),_0x5a7bfc;}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x18b),()=>{const _0x182a1c=_0x32c2e8,_0x5c601c=this[_0x182a1c(0xff)](_0x30e837);return _0x5c601c[_0x182a1c(0x100)]({'role':_0x182a1c(0xfb)}),_0x5c601c;}),this[_0x32c2e8(0x154)]=this[_0x32c2e8(0xf9)][_0x32c2e8(0x19b)][_0x32c2e8(0x13e)](_0x32c2e8(0x154));const _0x1ed194=this[_0x32c2e8(0xf9)];this[_0x32c2e8(0x172)]=setInterval(()=>{const _0x39926d=_0x32c2e8;let _0x359a7b;for(const _0x39c2d8 in _0x1ed194){const _0x2fc628=_0x39c2d8,_0x49a7a9=_0x1ed194[_0x2fc628];if(_0x39926d(0x147)==_0x49a7a9||_0x39926d(0x18e)==_0x49a7a9||_0x39926d(0x125)==_0x49a7a9||_0x39926d(0x198)==_0x49a7a9||_0x39926d(0x196)==_0x49a7a9||_0x39926d(0x11b)==_0x49a7a9||_0x39926d(0xf4)==_0x49a7a9||_0x39926d(0x131)==_0x49a7a9){delete _0x1ed194[_0x2fc628],_0x359a7b=_0x49a7a9,clearInterval(this[_0x39926d(0x172)]),this[_0x39926d(0x172)]=void 0x0;break;}}_0x39926d(0x18e)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x142)),_0x39926d(0x125)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x121)),_0x39926d(0x198)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x17c)),_0x39926d(0x196)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x179),_0x39926d(0x157)),_0x39926d(0x11b)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x186)),_0x39926d(0xf4)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x137)),_0x39926d(0x131)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x161));},0x3e8);}[_0x386d42(0x17a)](){const _0x33267a=_0x386d42;super[_0x33267a(0x17a)](),this[_0x33267a(0x172)]&&clearInterval(this[_0x33267a(0x172)]);}[_0x386d42(0x11f)](_0x13c3c2='',_0x3a33a4='',_0x328072=_0x386d42(0x16b)){const _0x45c4fe=_0x386d42,_0x316773=this[_0x45c4fe(0xf9)],_0xe1d057=_0x316773[_0x45c4fe(0x165)][_0x45c4fe(0x115)],_0x1d66d3=_0x316773[_0x45c4fe(0x10e)][_0x45c4fe(0x13e)](_0xdc5da6),_0x3db6fc=_0x316773[_0x45c4fe(0x10e)][_0x45c4fe(0x13e)](_0x51cb20);_0x1d66d3[_0x45c4fe(0x13f)]();const _0x3991cc=new w(),_0x4d8171=new ClipboardEvent(_0x45c4fe(0x166),{'clipboardData':_0x3991cc}),_0x51a3a6=new _0xd9636e(_0x3991cc),_0x26cac9=new _0x25eb20(_0xe1d057,_0x4d8171,{'dataTransfer':_0x51a3a6});_0x3db6fc[_0x45c4fe(0x11a)](_0x45c4fe(0x191),()=>{const _0x141edc=_0x45c4fe;_0xe1d057[_0x141edc(0xf6)][_0x141edc(0xee)](_0x141edc(0x166),_0x26cac9);}),this[_0x45c4fe(0x12d)]||(this[_0x45c4fe(0x16a)](),this[_0x45c4fe(0x138)]=new _0x32c8c3(_0x316773,this[_0x45c4fe(0x171)][_0x45c4fe(0x180)],this[_0x45c4fe(0x12d)]));let _0x1c2ba9=_0x51a3a6[_0x45c4fe(0x18a)](_0x45c4fe(0x16c));const _0x207213=_0x316773[_0x45c4fe(0x103)][_0x45c4fe(0xf6)][_0x45c4fe(0x153)],_0x1e74aa=Array[_0x45c4fe(0x130)](_0x207213[_0x45c4fe(0xfd)]());0x1===_0x1e74aa[_0x45c4fe(0x15e)]&&_0x1e74aa[0x0][_0x45c4fe(0x120)]&&!_0x207213[_0x45c4fe(0x12c)]()&&''!==_0x1c2ba9[_0x45c4fe(0x133)](/ /g,'')[_0x45c4fe(0x116)]()&&(_0x1c2ba9=_0x45c4fe(0x109)+_0x1c2ba9+_0x45c4fe(0x104)),this[_0x45c4fe(0x138)][_0x45c4fe(0x177)]({'actionId':_0x328072,'query':_0x13c3c2,'htmlContent':_0x1c2ba9,'label':_0x3a33a4,'mainActionLabel':_0x58eab8[_0x316773[_0x45c4fe(0x103)][_0x45c4fe(0xf6)][_0x45c4fe(0x153)][_0x45c4fe(0x19a)]?_0x45c4fe(0x152):_0x45c4fe(0x128)]}),_0x45c4fe(0x139)!==this[_0x45c4fe(0x14f)]['id']?this[_0x45c4fe(0x14f)][_0x45c4fe(0x192)]({'id':_0x45c4fe(0x139),'icon':_0x4b954[_0x45c4fe(0x158)],'title':_0x36f757(this[_0x45c4fe(0xf9)][_0x45c4fe(0x123)],_0x45c4fe(0x146)),'content':this[_0x45c4fe(0x12d)],'position':_0x572939[_0x45c4fe(0xfe)],'onShow':()=>{const _0x28672a=_0x45c4fe;this[_0x28672a(0x12d)][_0x28672a(0x169)]();},'onHide':()=>{const _0x1404ca=_0x45c4fe;this[_0x1404ca(0x138)][_0x1404ca(0x178)](),_0x1d66d3[_0x1404ca(0xf5)]();}}):this[_0x45c4fe(0x14f)][_0x45c4fe(0x115)][_0x45c4fe(0xf8)]||this[_0x45c4fe(0x14f)][_0x45c4fe(0x115)][_0x45c4fe(0x16d)]();}[_0x386d42(0x126)](){const _0x54ce5d=_0x386d42;this[_0x54ce5d(0x14f)][_0x54ce5d(0x15f)]();}[_0x386d42(0x117)](){const _0x4105ae=_0x386d42,_0x51b52e=new Map(),_0x281638=_0x13c7c4(this[_0x4105ae(0xf9)][_0x4105ae(0x19b)][_0x4105ae(0x13e)](_0x4105ae(0x194)),this[_0x4105ae(0xf9)][_0x4105ae(0x123)]);for(const _0x2833e5 of _0x281638)for(const _0x471d73 of _0x2833e5[_0x4105ae(0x155)])_0x51b52e[_0x4105ae(0x100)](_0x471d73['id'],{..._0x471d73,'groupId':_0x2833e5[_0x4105ae(0x189)],'groupLabel':_0x2833e5[_0x4105ae(0x12e)]||_0x2833e5[_0x4105ae(0x189)]});return _0x51b52e;}[_0x386d42(0xff)](_0x1512c3){const _0x20c315=_0x386d42,_0xeec18f=this[_0x20c315(0xf9)],_0x3bbd9b=_0xeec18f[_0x20c315(0x155)][_0x20c315(0x13e)](_0x20c315(0x10d)),_0x476e09=new _0x1512c3(_0xeec18f[_0x20c315(0x123)]);return _0x476e09[_0x20c315(0x100)]({'label':_0x36f757(_0xeec18f[_0x20c315(0x123)],_0x20c315(0x146)),'icon':_0x4b954[_0x20c315(0x158)],'isToggleable':!0x0}),_0x476e09[_0x20c315(0x188)](_0x20c315(0x105))['to'](_0x3bbd9b),_0x476e09[_0x20c315(0x188)](_0x20c315(0xf2))['to'](this[_0x20c315(0x14f)],'id',_0x2fc97e=>_0x20c315(0x139)===_0x2fc97e),this[_0x20c315(0x176)](_0x476e09,_0x20c315(0x14e),()=>{const _0x5f32ad=_0x20c315;_0x476e09[_0x5f32ad(0xf2)]?this[_0x5f32ad(0x126)]():_0x3bbd9b[_0x5f32ad(0x14e)]();}),_0x476e09;}[_0x386d42(0x16a)](){const _0x4d9519=_0x386d42,_0x377b80=this[_0x4d9519(0xf9)][_0x4d9519(0x10e)][_0x4d9519(0x13e)](_0xdc5da6);this[_0x4d9519(0x12d)]=new _0x533073(this[_0x4d9519(0xf9)][_0x4d9519(0x123)],this[_0x4d9519(0x114)],this[_0x4d9519(0xf9)][_0x4d9519(0x19b)][_0x4d9519(0x13e)](_0x4d9519(0x170))),this[_0x4d9519(0x12d)]['on'](_0x4d9519(0x13d),()=>{const _0x4567b6=_0x4d9519;this[_0x4567b6(0x14f)][_0x4567b6(0x115)][_0x4567b6(0xf8)]||this[_0x4567b6(0x14f)][_0x4567b6(0x115)][_0x4567b6(0x16d)]();}),this[_0x4d9519(0x12d)][_0x4d9519(0x10b)][_0x4d9519(0x150)][_0x4d9519(0x135)]['on'](_0x4d9519(0x151),()=>{const _0x3dca71=_0x4d9519;this[_0x3dca71(0x14f)][_0x3dca71(0x115)][_0x3dca71(0xf8)]||this[_0x3dca71(0x14f)][_0x3dca71(0x115)][_0x3dca71(0x16d)]();}),this[_0x4d9519(0x176)](this[_0x4d9519(0x12d)],_0x4d9519(0x106),()=>{const _0x5c3fe7=_0x4d9519;_0x377b80[_0x5c3fe7(0x141)](this[_0x5c3fe7(0x138)][_0x5c3fe7(0x107)]),this[_0x5c3fe7(0x126)]();}),this[_0x4d9519(0x176)](this[_0x4d9519(0x12d)],_0x4d9519(0x145),()=>{const _0x177694=_0x4d9519;_0x377b80[_0x177694(0x145)](this[_0x177694(0x138)][_0x177694(0x107)]),this[_0x177694(0x126)]();}),this[_0x4d9519(0x15b)]();}[_0x386d42(0x15b)](){const _0x1d0d4b=_0x386d42,{locale:_0x277d82,ui:{ariaLiveAnnouncer:_0x34028b}}=this[_0x1d0d4b(0xf9)];this[_0x1d0d4b(0x12d)][_0x1d0d4b(0x122)]['on'](_0x1d0d4b(0xf7),(_0x1a3dc0,_0x21cc12,_0x3aacb8)=>{const _0x2c74fe=_0x1d0d4b,_0x2e49be=this[_0x2c74fe(0x138)][_0x2c74fe(0x107)];_0x3aacb8?_0x34028b[_0x2c74fe(0x18d)](_0x36f757(_0x277d82,_0x2c74fe(0x124))):_0x2e49be&&_0x34028b[_0x2c74fe(0x18d)](_0x36f757(_0x277d82,_0x2c74fe(0x148),_0x2e49be),{'politeness':_0x2c74fe(0x18c),'isUnsafeHTML':!0x0});}),this[_0x1d0d4b(0x12d)]['on'](_0x1d0d4b(0x108),(_0x55cc65,_0x1bc3af,_0x1c1748)=>{const _0x16b339=_0x1d0d4b;if(_0x1c1748){const _0x1701a6=this[_0x16b339(0x12d)][_0x16b339(0x10a)][_0x16b339(0xed)];_0x34028b[_0x16b339(0x18d)](_0x36f757(_0x277d82,_0x16b339(0x101),_0x1701a6));}});}[_0x386d42(0x162)](_0x199c9c){const _0x1d586f=_0x386d42,_0x211e1=this[_0x1d586f(0x111)][_0x1d586f(0x13e)](_0x199c9c),_0x308f9d=this[_0x1d586f(0xf9)],_0x382ef5=_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0xf6)][_0x1d586f(0x153)],_0x13e29a=_0x308f9d[_0x1d586f(0x155)][_0x1d586f(0x13e)](_0x1d586f(0x10d)),_0x39aa30=_0x308f9d[_0x1d586f(0x10e)][_0x1d586f(0x13e)](_0xdc5da6),_0x1f69fe=''+(_0x211e1[_0x1d586f(0x189)]!==_0x3eb963?_0x211e1[_0x1d586f(0x12e)]+':\x20':'')+_0x211e1[_0x1d586f(0x136)];if(!0x1!==_0x211e1[_0x1d586f(0x15a)]&&_0x382ef5[_0x1d586f(0x19a)]){const _0x5b613e=_0x2218ee(_0x382ef5[_0x1d586f(0x181)]())||_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0x168)][_0x1d586f(0x163)](_0x382ef5);_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0x156)](_0x23faa1=>{const _0x50ceed=_0x1d586f;_0x23faa1[_0x50ceed(0x14b)](_0x5b613e,'in');});}_0x39aa30[_0x1d586f(0x13f)](),_0x13e29a[_0x1d586f(0x14e)](_0x211e1[_0x1d586f(0xf1)],_0x1f69fe,_0x1d586f(0x14c)+_0x199c9c);}[_0x386d42(0x129)](_0x51dc9d,_0x2d99ee,_0x2136bb,_0x4986c2){const _0x47042a=_0x386d42,_0x41b050=this[_0x47042a(0xf9)],_0xe05d3=_0x41b050[_0x47042a(0x123)],_0x2e086f=new _0x3cfa8d(_0xe05d3),_0x4886f5=U(_0x41b050,_0x2136bb)[_0x47042a(0x16f)](_0x2f28de=>_0x2f28de[_0x47042a(0x155)][_0x47042a(0x15e)]);0x1===_0x4886f5[_0x47042a(0x15e)]?this[_0x47042a(0x17d)]({'command':_0x51dc9d,'commands':_0x4886f5[0x0][_0x47042a(0x155)],'parentMenuView':_0x2d99ee,'onExecute':_0x4986c2})[_0x47042a(0x193)](_0x4165ff=>_0x2e086f[_0x47042a(0x183)][_0x47042a(0xfa)](_0x4165ff)):_0x4886f5[_0x47042a(0x193)](({groupId:_0x553922,groupLabel:_0x1f3c88,commands:_0x15a46d})=>{const _0x114d44=_0x47042a,_0x3a2f0f=new _0x5ee673(_0xe05d3,_0x2d99ee),_0x4ffa1c=new _0x55167a(_0xe05d3),_0x5a7ed1=new _0x3cfa8d(_0xe05d3),_0x1ad07b=this[_0x114d44(0x17d)]({'command':_0x51dc9d,'commands':_0x15a46d,'parentMenuView':_0x4ffa1c,'onExecute':_0x4986c2});_0x4ffa1c[_0x114d44(0x159)][_0x114d44(0x100)]({'label':_0x1f3c88||_0x553922}),_0x4ffa1c[_0x114d44(0x182)](_0x114d44(0x14e))['to'](_0x2d99ee),_0x5a7ed1[_0x114d44(0x183)][_0x114d44(0x13b)](_0x1ad07b),_0x4ffa1c[_0x114d44(0xfc)][_0x114d44(0x184)][_0x114d44(0xfa)](_0x5a7ed1),_0x3a2f0f[_0x114d44(0x184)][_0x114d44(0xfa)](_0x4ffa1c),_0x2e086f[_0x114d44(0x183)][_0x114d44(0xfa)](_0x3a2f0f);}),_0x2d99ee[_0x47042a(0xfc)][_0x47042a(0x184)][_0x47042a(0xfa)](_0x2e086f);}[_0x386d42(0x17d)]({command:_0x5d37c4,commands:_0x58236e,parentMenuView:_0x3e2d8,onExecute:_0x1e033f}){const _0x538b18=_0x386d42,_0x47af16=this[_0x538b18(0xf9)],_0x72a85e=_0x47af16[_0x538b18(0x123)];return U(_0x47af16,_0x58236e)[_0x538b18(0xef)](_0x2b8b49=>{const _0x31d7ae=_0x538b18,_0x2ede09=new _0x5ee673(_0x72a85e,_0x3e2d8),_0x238650=new _0x30e837(_0x72a85e);return _0x238650[_0x31d7ae(0x100)]({'label':_0x2b8b49[_0x31d7ae(0x136)]}),_0x238650[_0x31d7ae(0x182)](_0x31d7ae(0x14e))['to'](_0x3e2d8),_0x238650['on'](_0x31d7ae(0x14e),()=>_0x1e033f(_0x2b8b49['id'])),_0x238650[_0x31d7ae(0x188)](_0x31d7ae(0x105))['to'](_0x5d37c4,_0x31d7ae(0x15d),_0x5d6b16=>_0x5d6b16[_0x31d7ae(0x10f)](_0x2b8b49['id'])),_0x2ede09[_0x31d7ae(0x184)][_0x31d7ae(0xfa)](_0x238650),_0x2ede09;});}}function B(_0xbd91df,_0x36973d){const _0x37e9d7=_0x386d42;return void 0x0!==_0xbd91df[_0x37e9d7(0x164)]&&void 0x0===_0x36973d[_0x37e9d7(0x164)]?0x1:void 0x0===_0xbd91df[_0x37e9d7(0x164)]&&void 0x0!==_0x36973d[_0x37e9d7(0x164)]?-0x1:void 0x0!==_0xbd91df[_0x37e9d7(0x164)]&&void 0x0!==_0x36973d[_0x37e9d7(0x164)]?_0xbd91df[_0x37e9d7(0x164)]-_0x36973d[_0x37e9d7(0x164)]:0x0;}function U(_0x1d4249,_0x170cb2){const _0x52c012=_0x386d42;_0x170cb2[_0x52c012(0x113)](B);const _0x161813={},_0x155824=[];for(const _0x2892e0 of _0x170cb2)if(void 0x0!==_0x2892e0[_0x52c012(0x164)]){if(_0x2892e0[_0x52c012(0x164)]in _0x161813)throw new _0x1c4c39(_0x52c012(0x11e),_0x1d4249,{'conflictingDefinitions':[_0x2892e0,_0x161813[_0x2892e0[_0x52c012(0x164)]]]});_0x161813[_0x2892e0[_0x52c012(0x164)]]=_0x2892e0,_0x155824[_0x52c012(0x102)](_0x2892e0[_0x52c012(0x164)],0x0,_0x2892e0);}else _0x155824[_0x52c012(0x167)](_0x2892e0);return _0x155824;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xd5f5b4,_0x2ab0b8){var _0x152b8a=_0x2a67,_0x435c77=_0xd5f5b4();while(!![]){try{var _0x33a19e=-parseInt(_0x152b8a(0x6a))/0x1+parseInt(_0x152b8a(0x70))/0x2+-parseInt(_0x152b8a(0x71))/0x3+parseInt(_0x152b8a(0x6d))/0x4+parseInt(_0x152b8a(0x72))/0x5*(-parseInt(_0x152b8a(0x6e))/0x6)+parseInt(_0x152b8a(0x6f))/0x7*(-parseInt(_0x152b8a(0x6c))/0x8)+parseInt(_0x152b8a(0x6b))/0x9;if(_0x33a19e===_0x2ab0b8)break;else _0x435c77['push'](_0x435c77['shift']());}catch(_0x5a9b14){_0x435c77['push'](_0x435c77['shift']());}}}(_0x3113,0xaf239));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x2a67(_0x7fd8ee,_0x1862d9){var _0x311371=_0x3113();return _0x2a67=function(_0x2a678c,_0x439b61){_0x2a678c=_0x2a678c-0x6a;var _0x2136df=_0x311371[_0x2a678c];return _0x2136df;},_0x2a67(_0x7fd8ee,_0x1862d9);}function _0x3113(){var _0xa36496=['1035676cDymDW','1370820DSQmIv','10ObPuUL','949199goCjAw','26986509QbyXXM','64uGYcOq','3045812omUGiP','2657244JgEHcy','1109969BinDcl'];_0x3113=function(){return _0xa36496;};return _0x3113();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3d2aa8,_0x4d2682){var _0x1752f8=_0x2a7e,_0x5e01e5=_0x3d2aa8();while(!![]){try{var _0x476c37=parseInt(_0x1752f8(0xe0))/0x1*(parseInt(_0x1752f8(0xe1))/0x2)+-parseInt(_0x1752f8(0xe3))/0x3+-parseInt(_0x1752f8(0xe6))/0x4*(-parseInt(_0x1752f8(0xdd))/0x5)+-parseInt(_0x1752f8(0xe5))/0x6*(-parseInt(_0x1752f8(0xde))/0x7)+-parseInt(_0x1752f8(0xe4))/0x8*(-parseInt(_0x1752f8(0xdf))/0x9)+parseInt(_0x1752f8(0xe2))/0xa+-parseInt(_0x1752f8(0xdc))/0xb;if(_0x476c37===_0x4d2682)break;else _0x5e01e5['push'](_0x5e01e5['shift']());}catch(_0x5684f7){_0x5e01e5['push'](_0x5e01e5['shift']());}}}(_0x220f,0x40c84));function _0x2a7e(_0x1e23c5,_0x362bf5){var _0x220f3b=_0x220f();return _0x2a7e=function(_0x2a7edc,_0x3bd59b){_0x2a7edc=_0x2a7edc-0xdc;var _0x37dd26=_0x220f3b[_0x2a7edc];return _0x37dd26;},_0x2a7e(_0x1e23c5,_0x362bf5);}function _0x220f(){var _0x133c1b=['5143MPcNCs','6mvjAJs','5161170tHMbHs','1081782dQlgVC','53880ERzKAE','553038JhdxvM','4JHKCEq','2806067hFdNsj','1252925ELPFdd','7SSsgdr','9oeKpUd'];_0x220f=function(){return _0x133c1b;};return _0x220f();}import{CKEditorError as _0x22027f}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x24946b=_0x2563;function _0x372e(){const _0x1eb802=['currentResponse','makeRequest','previousLabel','toView','finally','text/html','custom','editing','then','_parseAndNormalizeContent','serializeToString','clear','innerHTML','finishProcessing','reverse','submitPrompt','previousActionId','document','currentContext','render','stringify','textAdapter','tryAgainEvent','trim','6591936JfmwJr','querySelector','_xmlSerializer','updateView','startsWith','body','<h1></h1>','match','toModel','childNodes','editor','domConverter','get','isProcessing','```html','stopListening','mainAction','_handleQuery','previousContext','parseFromString','set:currentContext','message','exec','substring','catch','from','```','viewToDom','endsWith','146yhvshf','name','markers','10055XztJja','processor','handleError','rename','_stripMarkdownSyntax','setContentOf','3946194NNRpiC','ELEMENT_NODE','view','nodeType','7975062nZHruJ','initialContext','10539YAQDbA','destroy','remove','createElement','prompt','4556132Uxlmqc','reset','_domParser','div','element','startProcessing','length','ai.aiAssistant.preserveComments','1544icLiuj','set','_sanitizationContainer','previousQuery','_normalizeResponseHeadings','444151BKJuKP','_sanitizeHTML','htmlProcessor','abort','listenTo','data','once','stopProcessing','_isH1TagSupportEnabled','value','isRendered','push','config'];_0x372e=function(){return _0x1eb802;};return _0x372e();}(function(_0x48d6ec,_0x3fcf8e){const _0x466c5d=_0x2563,_0x4ad842=_0x48d6ec();while(!![]){try{const _0xe6dfcb=-parseInt(_0x466c5d(0x1cd))/0x1+parseInt(_0x466c5d(0x1ac))/0x2*(-parseInt(_0x466c5d(0x1bb))/0x3)+parseInt(_0x466c5d(0x1c8))/0x4*(parseInt(_0x466c5d(0x1af))/0x5)+-parseInt(_0x466c5d(0x1b5))/0x6+-parseInt(_0x466c5d(0x1c0))/0x7+parseInt(_0x466c5d(0x1f2))/0x8+parseInt(_0x466c5d(0x1b9))/0x9;if(_0xe6dfcb===_0x3fcf8e)break;else _0x4ad842['push'](_0x4ad842['shift']());}catch(_0x3bf638){_0x4ad842['push'](_0x4ad842['shift']());}}}(_0x372e,0x747fd));import{ObservableMixin as _0x1d2478}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1ac4d0}from'../adapters/aiadapter.js';import{Matcher as _0x1d7020,UpcastWriter as _0x51c2db}from'ckeditor5/src/engine.js';function _0x2563(_0x4ef8a8,_0x1d7d38){const _0x372ee4=_0x372e();return _0x2563=function(_0x2563e2,_0x26221b){_0x2563e2=_0x2563e2-0x192;let _0x2fec1e=_0x372ee4[_0x2563e2];return _0x2fec1e;},_0x2563(_0x4ef8a8,_0x1d7d38);}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d2478(){constructor(_0x3b4fed,_0x4b20bc,_0x237455){const _0x56a2d3=_0x2563;super(),this[_0x56a2d3(0x199)]=_0x3b4fed,this[_0x56a2d3(0x1ef)]=_0x4b20bc,this[_0x56a2d3(0x1ca)]=document[_0x56a2d3(0x1be)](_0x56a2d3(0x1c3)),this[_0x56a2d3(0x1c2)]=new DOMParser(),this[_0x56a2d3(0x1f4)]=new XMLSerializer(),this[_0x56a2d3(0x1b7)]=_0x237455,this[_0x56a2d3(0x1c9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x56a2d3(0x1a3),(_0x3e8889,_0x438d83,_0x2ae66b)=>{const _0x310d5e=_0x56a2d3;this[_0x310d5e(0x1b7)][_0x310d5e(0x1d6)]=this[_0x310d5e(0x1ce)](_0x2ae66b);}),this[_0x56a2d3(0x1d1)](this[_0x56a2d3(0x1b7)],_0x56a2d3(0x1e9),(_0x24a3f2,_0xe220da)=>{const _0x4c8748=_0x56a2d3,_0x375237=this[_0x4c8748(0x1ec)]||this[_0x4c8748(0x1ba)];this[_0x4c8748(0x1a0)](_0xe220da,_0x375237,_0x4c8748(0x1e0));}),this[_0x56a2d3(0x1d1)](this[_0x56a2d3(0x1b7)],_0x56a2d3(0x1f0),()=>{const _0x462fa0=_0x56a2d3;this[_0x462fa0(0x1b7)][_0x462fa0(0x1bf)]=this[_0x462fa0(0x1dc)],this[_0x462fa0(0x1a0)](this[_0x462fa0(0x1cb)],this[_0x462fa0(0x1a1)],this[_0x462fa0(0x1ea)],this[_0x462fa0(0x1dc)]);}),this[_0x56a2d3(0x1d1)](this[_0x56a2d3(0x1b7)],_0x56a2d3(0x1d4),()=>{const _0x2eaca6=_0x56a2d3;this[_0x2eaca6(0x1d4)]();});}[_0x24946b(0x1bc)](){const _0xa3f928=_0x24946b;this[_0xa3f928(0x19e)]();}async[_0x24946b(0x192)]({actionId:_0x5cc239,query:_0x44ca7f,htmlContent:_0x48a9d7,label:_0x26e546,mainActionLabel:_0xbff011}){const _0x1181cb=_0x24946b;this[_0x1181cb(0x1b7)][_0x1181cb(0x1bf)]=_0x26e546,this[_0x1181cb(0x1b7)][_0x1181cb(0x19f)]=_0xbff011,this[_0x1181cb(0x1ba)]=_0x48a9d7,_0x44ca7f&&(this[_0x1181cb(0x1b7)][_0x1181cb(0x1d7)]?this[_0x1181cb(0x1a0)](_0x44ca7f,_0x48a9d7,_0x5cc239,_0x26e546):this[_0x1181cb(0x1b7)][_0x1181cb(0x1d3)](_0x1181cb(0x1ed),()=>{const _0x3288db=_0x1181cb;this[_0x3288db(0x1a0)](_0x44ca7f,_0x48a9d7,_0x5cc239,_0x26e546);}));}[_0x24946b(0x1d4)](){const _0xfa3bf0=_0x24946b;this[_0xfa3bf0(0x19c)]&&(this[_0xfa3bf0(0x19c)]=!0x1,this[_0xfa3bf0(0x1b7)][_0xfa3bf0(0x1e7)](),this[_0xfa3bf0(0x1ef)][_0xfa3bf0(0x1d0)]());}[_0x24946b(0x1c1)](){const _0x46ec38=_0x24946b;this[_0x46ec38(0x1ba)]='',this[_0x46ec38(0x1ec)]='',this[_0x46ec38(0x1da)]='',this[_0x46ec38(0x1a1)]='',this[_0x46ec38(0x1cb)]='',this[_0x46ec38(0x1dc)]='',this[_0x46ec38(0x1ea)]=void 0x0,this[_0x46ec38(0x1b7)][_0x46ec38(0x1c1)](),this[_0x46ec38(0x1d4)]();}async[_0x24946b(0x1a0)](_0x52633f,_0x50063f,_0x44420e,_0x36f45e){const _0x1c0429=_0x24946b;return this[_0x1c0429(0x19c)]=!0x0,this[_0x1c0429(0x1b7)][_0x1c0429(0x1c5)](),this[_0x1c0429(0x1a1)]=_0x50063f,this[_0x1c0429(0x1cb)]=_0x52633f,this[_0x1c0429(0x1dc)]=_0x36f45e||_0x52633f,this[_0x1c0429(0x1ea)]=_0x44420e,new Promise(_0x4c065a=>{const _0x15e127=_0x1c0429;this[_0x15e127(0x1ef)][_0x15e127(0x1db)]({'query':_0x52633f,'context':_0x50063f,'onData':_0x5710b8=>{const _0x51bc2e=_0x15e127;this[_0x51bc2e(0x1da)]=_0x5710b8,this[_0x51bc2e(0x1ec)]=this[_0x51bc2e(0x1e3)](this[_0x51bc2e(0x1da)]);},'actionId':_0x44420e})[_0x15e127(0x1e2)](()=>{const _0x320954=_0x15e127;!this[_0x320954(0x1ec)]&&this[_0x320954(0x1da)]&&(this[_0x320954(0x1ec)]=this[_0x320954(0x1e3)](this[_0x320954(0x1da)],!0x0));})[_0x15e127(0x1a7)](_0x594798=>{const _0x3ee7cd=_0x15e127;_0x594798 instanceof _0x1ac4d0?this[_0x3ee7cd(0x1b7)][_0x3ee7cd(0x1b1)](_0x594798[_0x3ee7cd(0x1a4)]):this[_0x3ee7cd(0x1b7)][_0x3ee7cd(0x1b1)](),_0x4c065a();})[_0x15e127(0x1de)](()=>{const _0x4555b8=_0x15e127;this[_0x4555b8(0x1d4)](),_0x4c065a();});});}[_0x24946b(0x1e3)](_0x2cca3a,_0x17bb09=!0x1){const _0x14019a=_0x24946b,_0x777d67=Z[_0x14019a(0x1a5)](_0x2cca3a);_0x2cca3a=_0x777d67?_0x2cca3a[_0x14019a(0x1a6)](_0x777d67[0x1][_0x14019a(0x1c6)]):_0x2cca3a[_0x14019a(0x1c6)]<0x64&&!_0x17bb09?'':this[_0x14019a(0x1b3)](_0x2cca3a);const _0x124345=this[_0x14019a(0x1c2)][_0x14019a(0x1a2)](_0x2cca3a,_0x14019a(0x1df));if(_0x777d67){const _0x4dab4e=Array[_0x14019a(0x1a8)](_0x124345[_0x14019a(0x194)][_0x14019a(0x198)]);_0x4dab4e[_0x14019a(0x1e8)]();for(const _0x14867a of _0x4dab4e){if(_0x14867a[_0x14019a(0x1b8)]==Node[_0x14019a(0x1b6)])break;_0x14867a[_0x14019a(0x1bd)]();}}const _0x3884f2=this[_0x14019a(0x199)][_0x14019a(0x1d2)][_0x14019a(0x1b0)][_0x14019a(0x1dd)](this[_0x14019a(0x1f4)][_0x14019a(0x1e4)](_0x124345[_0x14019a(0x194)]));this[_0x14019a(0x1d5)]()||this[_0x14019a(0x1cc)](_0x3884f2);const _0x31dcfc=this[_0x14019a(0x199)][_0x14019a(0x1d9)][_0x14019a(0x19b)](_0x14019a(0x1c7)),_0x131970=this[_0x14019a(0x199)][_0x14019a(0x1d2)][_0x14019a(0x197)](_0x3884f2);return _0x31dcfc||_0x131970[_0x14019a(0x1ae)][_0x14019a(0x1e5)](),this[_0x14019a(0x199)][_0x14019a(0x1d2)][_0x14019a(0x1ee)](_0x131970);}[_0x24946b(0x1cc)](_0x3e86f4){const _0x57131a=_0x24946b,_0x245f47=new _0x51c2db(this[_0x57131a(0x199)][_0x57131a(0x1e1)][_0x57131a(0x1b7)][_0x57131a(0x1eb)]),_0x24cc54=new _0x1d7020({'name':/^h[1-5]$/}),_0x4de63e=[];let _0x31bf12=!0x1;for(const _0x4f5a69 of _0x3e86f4)_0x4f5a69['is'](_0x57131a(0x1c4))&&_0x24cc54[_0x57131a(0x196)](_0x4f5a69)&&(_0x4de63e[_0x57131a(0x1d8)](_0x4f5a69),'h1'==_0x4f5a69[_0x57131a(0x1ad)]&&(_0x31bf12=!0x0));if(_0x31bf12){for(const _0x2c7e1e of _0x4de63e)_0x245f47[_0x57131a(0x1b2)]('h'+(parseInt(_0x2c7e1e[_0x57131a(0x1ad)][0x1])+0x1),_0x2c7e1e);}}[_0x24946b(0x1d5)](){const _0x4fd205=_0x24946b,{data:_0x32d8c4,editing:_0x50f00d}=this[_0x4fd205(0x199)],_0x4e0a4b=_0x32d8c4[_0x4fd205(0x1cf)][_0x4fd205(0x1dd)](_0x4fd205(0x195)),_0x3b5251=_0x32d8c4[_0x4fd205(0x1dd)](_0x32d8c4[_0x4fd205(0x197)](_0x4e0a4b));return!!_0x50f00d[_0x4fd205(0x1b7)][_0x4fd205(0x19a)][_0x4fd205(0x1aa)](_0x3b5251)[_0x4fd205(0x1f3)]('h1');}[_0x24946b(0x1ce)](_0x4668d0){const _0x405a21=_0x24946b;return this[_0x405a21(0x199)][_0x405a21(0x1e1)][_0x405a21(0x1b7)][_0x405a21(0x19a)][_0x405a21(0x1b4)](this[_0x405a21(0x1ca)],_0x4668d0),this[_0x405a21(0x1ca)][_0x405a21(0x1e6)];}[_0x24946b(0x1b3)](_0x4545cc){const _0x5acba6=_0x24946b,_0x494315=_0x4545cc[_0x5acba6(0x1f1)]();return _0x494315[_0x5acba6(0x193)](_0x5acba6(0x19d))?_0x494315[_0x5acba6(0x1ab)](_0x5acba6(0x1a9))?_0x494315[_0x5acba6(0x1a6)](0x7,_0x494315[_0x5acba6(0x1c6)]-0x3):_0x494315[_0x5acba6(0x1a6)](0x7):_0x4545cc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23e4c5=_0x2a75;function _0x2a75(_0x898330,_0x4e60f6){const _0x2f7f73=_0x2f7f();return _0x2a75=function(_0x2a7571,_0x28e8f8){_0x2a7571=_0x2a7571-0xd1;let _0x3a441b=_0x2f7f73[_0x2a7571];return _0x3a441b;},_0x2a75(_0x898330,_0x4e60f6);}(function(_0x4dabfb,_0x5de0d2){const _0x10d9e6=_0x2a75,_0x27710f=_0x4dabfb();while(!![]){try{const _0x186e79=-parseInt(_0x10d9e6(0xf6))/0x1+parseInt(_0x10d9e6(0x11a))/0x2+parseInt(_0x10d9e6(0x121))/0x3+-parseInt(_0x10d9e6(0x11e))/0x4+-parseInt(_0x10d9e6(0xe2))/0x5+-parseInt(_0x10d9e6(0x10b))/0x6+parseInt(_0x10d9e6(0xd9))/0x7;if(_0x186e79===_0x5de0d2)break;else _0x27710f['push'](_0x27710f['shift']());}catch(_0x263afb){_0x27710f['push'](_0x27710f['shift']());}}}(_0x2f7f,0x57738));import{global as _0x19cc05}from'ckeditor5/src/utils.js';import{View as _0x4c6bed,ButtonView as _0x453bcf,SpinnerView as _0x210025}from'ckeditor5/src/ui.js';import _0x34850a from'../../../theme/icons/copy.svg';import{getTranslation as _0x273653}from'../../utils/common-translations.js';import{icons as _0x46ef67}from'ckeditor5/src/core.js';export default class X extends _0x4c6bed{constructor(_0x5a2dc6,_0x2aa4b9=''){const _0x4253ac=_0x2a75;super(_0x5a2dc6),this[_0x4253ac(0xfc)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x1c462c=this[_0x4253ac(0x11b)];this[_0x4253ac(0x117)]=new ContentFieldView(_0x5a2dc6,_0x2aa4b9),this[_0x4253ac(0xd7)]=this[_0x4253ac(0xf9)](),this[_0x4253ac(0x109)]({'tag':_0x4253ac(0x104),'attributes':{'class':['ck',_0x4253ac(0xe9),_0x1c462c['if'](_0x4253ac(0x105),_0x4253ac(0xdc),_0x330544=>!_0x330544)],'tabindex':'-1'},'children':[{'tag':_0x4253ac(0x104),'attributes':{'class':['ck',_0x4253ac(0xed),_0x1c462c['if'](_0x4253ac(0xef),_0x4253ac(0xf3))]},'children':[this[_0x4253ac(0x117)],{'tag':_0x4253ac(0x104),'attributes':{'class':['ck',_0x4253ac(0x10c)]},'children':[this[_0x4253ac(0xd7)]]}]}]});}[_0x23e4c5(0x101)](){const _0x25ba2d=_0x23e4c5;super[_0x25ba2d(0x101)](),this[_0x25ba2d(0x11d)]&&this[_0x25ba2d(0x117)][_0x25ba2d(0x112)](this[_0x25ba2d(0x11d)]);let _0x432c8b=!0x1;this['on'](_0x25ba2d(0xd6),(_0x591c3d,_0x328260,_0x2693b6)=>{const _0x43c49d=_0x25ba2d,_0x125679=!this[_0x43c49d(0x117)][_0x43c49d(0xf0)][_0x43c49d(0xec)](_0x43c49d(0x11f));this[_0x43c49d(0x117)][_0x43c49d(0x112)](_0x2693b6),this[_0x43c49d(0xef)]&&_0x125679&&!_0x432c8b&&this[_0x43c49d(0xf0)][_0x43c49d(0xf2)]({'top':this[_0x43c49d(0xf0)][_0x43c49d(0xd8)],'behavior':_0x43c49d(0xea)});}),this['on'](_0x25ba2d(0x122),(_0x5b33e9,_0x79dfb0,_0x31a575)=>{const _0x2a22ab=_0x25ba2d;_0x432c8b=!0x1,_0x31a575?(this[_0x2a22ab(0x11d)]=null,this[_0x2a22ab(0x117)][_0x2a22ab(0xfd)]()):this[_0x2a22ab(0x11d)]||this[_0x2a22ab(0x117)][_0x2a22ab(0x112)]('');}),this[_0x25ba2d(0x100)](this[_0x25ba2d(0xf0)],_0x25ba2d(0x113),()=>{_0x432c8b=!0x0;}),this[_0x25ba2d(0x100)](this[_0x25ba2d(0xf0)],_0x25ba2d(0xe4),()=>{_0x432c8b=!0x0;});}[_0x23e4c5(0xd2)](){const _0x4f937a=_0x23e4c5;this[_0x4f937a(0xf0)][_0x4f937a(0xd2)]();}[_0x23e4c5(0xf9)](){const _0x327177=_0x23e4c5,_0x9a14ac=this[_0x327177(0xe6)],_0x1764f8=new _0x453bcf(this[_0x327177(0xe6)]),_0x4d1a96=_0x327177(0x10e);return _0x1764f8[_0x327177(0xfc)]({'label':_0x273653(_0x9a14ac,_0x327177(0x123)),'icon':_0x34850a,'class':_0x4d1a96,'tooltip':!0x0}),_0x1764f8[_0x327177(0xe1)](_0x327177(0x105))['to'](this,_0x327177(0x11d),_0x1deabd=>!!_0x1deabd),_0x1764f8[_0x327177(0xe1)](_0x327177(0x119))['to'](this,_0x327177(0xef),_0x490f41=>!_0x490f41),_0x1764f8['on'](_0x327177(0xd1),()=>{const _0x27a19d=_0x327177;this[_0x27a19d(0xfa)](this[_0x27a19d(0x117)][_0x27a19d(0xf0)]),_0x1764f8[_0x27a19d(0xfb)]=_0x46ef67[_0x27a19d(0x106)],_0x1764f8[_0x27a19d(0xdf)]=_0x4d1a96+_0x27a19d(0xee),this[_0x27a19d(0xd2)](),setTimeout(()=>{const _0x533a1f=_0x27a19d;_0x1764f8[_0x533a1f(0xfb)]=_0x34850a,_0x1764f8[_0x533a1f(0xdf)]=_0x4d1a96;},0x3e8);}),_0x1764f8;}[_0x23e4c5(0xfa)](_0x21bff2){const _0x8752b7=_0x23e4c5,{window:_0x137f6b,document:_0x33cb52}=_0x19cc05;if(_0x137f6b[_0x8752b7(0xe7)]){const {Blob:_0x55519d,ClipboardItem:_0x4d9579}=_0x137f6b,_0x2dac31=[new _0x4d9579({'text/html':new _0x55519d([_0x21bff2[_0x8752b7(0x108)]],{'type':_0x8752b7(0xe0)}),'text/plain':new _0x55519d([_0x21bff2[_0x8752b7(0x102)]||''],{'type':_0x8752b7(0x115)})})];navigator[_0x8752b7(0xda)][_0x8752b7(0xde)](_0x2dac31);}else{const _0x50fedd=_0x33cb52[_0x8752b7(0xff)](_0x8752b7(0x104));_0x50fedd[_0x8752b7(0x10f)][_0x8752b7(0x103)]=_0x8752b7(0xf4),_0x50fedd[_0x8752b7(0x10f)][_0x8752b7(0x110)]=_0x8752b7(0xd4),_0x50fedd[_0x8752b7(0x108)]=_0x8752b7(0xf7)+_0x21bff2[_0x8752b7(0x108)]+_0x8752b7(0xf8),_0x33cb52[_0x8752b7(0xdd)][_0x8752b7(0xd3)](_0x50fedd);const _0x2fc2fb=_0x33cb52[_0x8752b7(0x118)]();_0x2fc2fb[_0x8752b7(0x107)](_0x50fedd[_0x8752b7(0xe8)]),_0x2fc2fb[_0x8752b7(0x10d)](_0x50fedd[_0x8752b7(0x11c)]);const _0x2e4e27=_0x137f6b[_0x8752b7(0xdb)]();_0x2e4e27[_0x8752b7(0xd5)](),_0x2e4e27[_0x8752b7(0xf1)](_0x2fc2fb),_0x33cb52[_0x8752b7(0xe3)](_0x8752b7(0x114)),_0x50fedd[_0x8752b7(0x111)]();}}}function _0x2f7f(){const _0x1a56a0=['getSelection','ck-hidden','body','write','class','text/html','bind','3326125rEdRjt','execCommand','mousedown','ck-reset_all-excluded','locale','ClipboardItem','firstElementChild','ck-ai-form__content-area-wrapper','smooth','ck-ai-form__content-field','querySelector','ck-ai-form__content-area','\x20ck-ai-form__copy-button--copied','isProcessing','element','addRange','scrollTo','ck-ai-form__content-area--processing','absolute','AI\x20is\x20writing...','705279dKrdQK','<span>[</span>','<span>]</span>','_createCopyButton','_copyHTMLToClipboard','icon','set','appendLoader','ck-ai-form__loader','createElement','listenTo','render','textContent','position','div','isVisible','check','setStartAfter','innerHTML','setTemplate','loaderView','771720SWxLry','ck-ai-form__copy-button-wrapper','setEndBefore','ck-ai-form__copy-button','style','left','remove','setContent','wheel','copy','text/plain','_createLoader','contentFieldView','createRange','isEnabled','572900nvPzbB','bindTemplate','lastElementChild','value','40196FlXhIL','.ck-ai-form__loader','ck-content','164802qpULmV','change:isProcessing','Copy','execute','focus','appendChild','-9999px','removeAllRanges','change:value','copyButtonView','scrollHeight','10681923lGiWxA','clipboard'];_0x2f7f=function(){return _0x1a56a0;};return _0x2f7f();}export class ContentFieldView extends _0x4c6bed{constructor(_0x26e738,_0x9e4c0a=''){const _0x58fed5=_0x23e4c5;super(_0x26e738),this[_0x58fed5(0x10a)]=this[_0x58fed5(0x116)](),this[_0x58fed5(0x109)]({'tag':_0x58fed5(0x104),'attributes':{'class':['ck',_0x58fed5(0x120),_0x9e4c0a,_0x58fed5(0xe5),_0x58fed5(0xeb)]}});}[_0x23e4c5(0x112)](_0x4e1d30){const _0x22ee7c=_0x23e4c5;this[_0x22ee7c(0xf0)][_0x22ee7c(0x108)]=_0x4e1d30;}[_0x23e4c5(0xfd)](){const _0x44bbe5=_0x23e4c5;this[_0x44bbe5(0xf0)][_0x44bbe5(0xd3)](this[_0x44bbe5(0x10a)][_0x44bbe5(0xf0)]);}[_0x23e4c5(0x116)](){const _0x5dd2a0=_0x23e4c5,_0x16543a=new _0x4c6bed(),_0x141fa2=this[_0x5dd2a0(0xe6)],_0x5ccb88=new _0x210025();return _0x5ccb88[_0x5dd2a0(0x105)]=!0x0,_0x16543a[_0x5dd2a0(0x109)]({'tag':_0x5dd2a0(0x104),'attributes':{'class':['ck',_0x5dd2a0(0xfe)]},'children':[_0x5ccb88,{'text':_0x273653(_0x141fa2,_0x5dd2a0(0xf5))}]}),_0x16543a[_0x5dd2a0(0x101)](),_0x16543a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2a1a(_0x2e3a93,_0x2f7943){const _0x12aa8b=_0x12aa();return _0x2a1a=function(_0x2a1acc,_0x16ed3a){_0x2a1acc=_0x2a1acc-0x1de;let _0x1d3c26=_0x12aa8b[_0x2a1acc];return _0x1d3c26;},_0x2a1a(_0x2e3a93,_0x2f7943);}(function(_0x27c6fd,_0x537740){const _0x59852c=_0x2a1a,_0x4118c7=_0x27c6fd();while(!![]){try{const _0x43abcb=-parseInt(_0x59852c(0x1de))/0x1+parseInt(_0x59852c(0x1f0))/0x2*(parseInt(_0x59852c(0x1e1))/0x3)+-parseInt(_0x59852c(0x1e4))/0x4*(parseInt(_0x59852c(0x1ef))/0x5)+-parseInt(_0x59852c(0x1eb))/0x6+parseInt(_0x59852c(0x1e2))/0x7*(parseInt(_0x59852c(0x1e3))/0x8)+parseInt(_0x59852c(0x1e9))/0x9*(-parseInt(_0x59852c(0x1e5))/0xa)+parseInt(_0x59852c(0x1ed))/0xb*(parseInt(_0x59852c(0x1e8))/0xc);if(_0x43abcb===_0x537740)break;else _0x4118c7['push'](_0x4118c7['shift']());}catch(_0x3ff399){_0x4118c7['push'](_0x4118c7['shift']());}}}(_0x12aa,0xb9d10));import{View as _0x40396f,IconView as _0x1a0889}from'ckeditor5/src/ui.js';import _0x49230a from'../../../theme/icons/error.svg';function _0x12aa(){const _0x399e46=['bindTemplate','div','84UUhZRg','297ppZibl','setTemplate','83526nWxRVy','set','2341559yzSOkQ','ck-ai-form__error','5EzsFtT','6MflFWN','1056410tWCWLH','text','content','815259MoxZPN','7xZelyQ','11221688NeQfGg','4271152vsWhej','245100xUHyHT'];_0x12aa=function(){return _0x399e46;};return _0x12aa();}export default class rt extends _0x40396f{constructor(_0x156eec,_0x233af9=''){const _0x35d234=_0x2a1a;super(_0x156eec);const _0x3aec22=new _0x1a0889(),_0x114004=this[_0x35d234(0x1e6)];this[_0x35d234(0x1ec)](_0x35d234(0x1df),_0x233af9),_0x3aec22[_0x35d234(0x1e0)]=_0x49230a,this[_0x35d234(0x1ea)]({'tag':_0x35d234(0x1e7),'attributes':{'class':['ck',_0x35d234(0x1ee)]},'children':[_0x3aec22,{'text':_0x114004['to'](_0x35d234(0x1df))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2c76(){const _0x5d6948=['focusFirst','isEnabled','8XmlfUi','value','resultsView','ck-ai-form__toggle-history','style','add','2PUbgEJ','fire','201270pQqALM','execute','enter','_createSubmitButton','760911BezWXG','1448480ucAbnN','render','queryView','children','showHistoryButtonView','fieldView','954090OkCDIN','527588eeKmel','rtl','History','submitButtonView','keystrokes','width','element','excludeScrollbarsAndBorders','isVisible','3807839sMgnSa','locale','243RlTzmq','714743gLpgcc','isEmpty','minRows','maxRows','set','focusLast','window','_createShowHistoryButton','update','history','focusCycler','filteredView','requestAnimationFrame','uiLanguageDirection','isOn','focus','bind','fieldWrapperChildren','Submit','target','right','left','ck-ai-form__submit','focusableChildren','submit'];_0x2c76=function(){return _0x5d6948;};return _0x2c76();}function _0x76c8(_0x312070,_0x328a97){const _0x2c768b=_0x2c76();return _0x76c8=function(_0x76c805,_0x4ad82c){_0x76c805=_0x76c805-0x13c;let _0x5c33ab=_0x2c768b[_0x76c805];return _0x5c33ab;},_0x76c8(_0x312070,_0x328a97);}const _0x1a060f=_0x76c8;(function(_0xd21255,_0x2b72b5){const _0x11bc9e=_0x76c8,_0x5f2570=_0xd21255();while(!![]){try{const _0x4335a7=-parseInt(_0x11bc9e(0x14e))/0x1+-parseInt(_0x11bc9e(0x16f))/0x2*(parseInt(_0x11bc9e(0x175))/0x3)+parseInt(_0x11bc9e(0x142))/0x4+parseInt(_0x11bc9e(0x176))/0x5+-parseInt(_0x11bc9e(0x141))/0x6+-parseInt(_0x11bc9e(0x14b))/0x7*(-parseInt(_0x11bc9e(0x169))/0x8)+parseInt(_0x11bc9e(0x14d))/0x9*(parseInt(_0x11bc9e(0x171))/0xa);if(_0x4335a7===_0x2b72b5)break;else _0x5f2570['push'](_0x5f2570['shift']());}catch(_0x3145ef){_0x5f2570['push'](_0x5f2570['shift']());}}}(_0x2c76,0x5d2a4));import{Rect as _0x760a67,global as _0x24eacf,isVisible as _0x659368}from'ckeditor5/src/utils.js';import{AutocompleteView as _0xdeaeff,ButtonView as _0x2a0b68}from'ckeditor5/src/ui.js';import{icons as _0x510ab9}from'ckeditor5/src/core.js';import{getTranslation as _0x45c0ba}from'../../utils/common-translations.js';import _0x235598 from'../../../theme/icons/submit.svg';export default class ht extends _0xdeaeff{constructor(_0x5e8cc9,_0xa73817){const _0x16df51=_0x76c8;super(_0x5e8cc9,_0xa73817),this[_0x16df51(0x13d)][_0x16df51(0x140)][_0x16df51(0x150)]=0x1,this[_0x16df51(0x13d)][_0x16df51(0x140)][_0x16df51(0x151)]=0x3,this[_0x16df51(0x145)]=this[_0x16df51(0x174)](),this[_0x16df51(0x13f)]=this[_0x16df51(0x155)](),this[_0x16df51(0x165)][_0x16df51(0x16e)](this[_0x16df51(0x13f)],0x1),this[_0x16df51(0x165)][_0x16df51(0x16e)](this[_0x16df51(0x145)]);}[_0x1a060f(0x13c)](){const _0xad0031=_0x1a060f;super[_0xad0031(0x13c)](),this[_0xad0031(0x13d)][_0xad0031(0x15f)][_0xad0031(0x16e)](this[_0xad0031(0x13f)]),this[_0xad0031(0x13e)][_0xad0031(0x16e)](this[_0xad0031(0x145)]),this[_0xad0031(0x146)][_0xad0031(0x152)](_0xad0031(0x173),(_0x22f7a0,_0x94f614)=>{const _0x25529a=_0xad0031;_0x22f7a0[_0x25529a(0x161)]==this[_0x25529a(0x13d)][_0x25529a(0x140)][_0x25529a(0x148)]&&(this[_0x25529a(0x166)](),_0x94f614());});}[_0x1a060f(0x174)](){const _0x56cdcd=_0x1a060f,_0x131afd=new _0x2a0b68(this[_0x56cdcd(0x14c)]),_0xb0ac73=this[_0x56cdcd(0x14c)];return _0x131afd[_0x56cdcd(0x152)]({'icon':_0x235598,'label':_0x45c0ba(_0xb0ac73,_0x56cdcd(0x160)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x56cdcd(0x164)}),_0x131afd['on'](_0x56cdcd(0x172),()=>{const _0x136065=_0x56cdcd;this[_0x136065(0x166)]();}),_0x131afd[_0x56cdcd(0x15e)](_0x56cdcd(0x168))['to'](this[_0x56cdcd(0x13d)][_0x56cdcd(0x140)],_0x56cdcd(0x14f),this,_0x56cdcd(0x168),(_0x2efae4,_0x3894a1)=>!_0x2efae4&&_0x3894a1),_0x131afd;}[_0x1a060f(0x155)](){const _0x33e7f9=_0x1a060f,_0x3ff18a=new _0x2a0b68(this[_0x33e7f9(0x14c)]),_0x1b7e51=this[_0x33e7f9(0x16b)],_0x433cb4=this[_0x33e7f9(0x14c)];_0x3ff18a[_0x33e7f9(0x152)]({'label':_0x45c0ba(_0x433cb4,_0x33e7f9(0x144)),'withText':!0x1,'icon':_0x510ab9[_0x33e7f9(0x157)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x33e7f9(0x16c)}),_0x3ff18a[_0x33e7f9(0x15e)](_0x33e7f9(0x15c))['to'](_0x1b7e51,_0x33e7f9(0x14a)),_0x3ff18a[_0x33e7f9(0x15e)](_0x33e7f9(0x168))['to'](this,_0x33e7f9(0x168)),_0x3ff18a['on'](_0x33e7f9(0x172),()=>{const _0x2a0da0=_0x33e7f9;_0x1b7e51[_0x2a0da0(0x14a)]=!_0x1b7e51[_0x2a0da0(0x14a)],_0x1b7e51[_0x2a0da0(0x14a)]?this[_0x2a0da0(0x159)][_0x2a0da0(0x15d)]():this[_0x2a0da0(0x15d)]();});const _0x1901c8=()=>{const _0x4b3476=_0x33e7f9;_0x24eacf[_0x4b3476(0x154)][_0x4b3476(0x15a)](()=>{const _0x592046=_0x4b3476;if(_0x659368(this[_0x592046(0x148)])){const _0x4b1d37=new _0x760a67(this[_0x592046(0x13d)][_0x592046(0x140)][_0x592046(0x148)]),_0x38104b=_0x4b1d37[_0x592046(0x147)],_0xce30b2=_0x592046(0x143)===_0x433cb4[_0x592046(0x15b)]?_0x592046(0x163):_0x592046(0x162);_0x4b1d37[_0x592046(0x149)](),_0x3ff18a[_0x592046(0x148)][_0x592046(0x16d)][_0xce30b2]=_0x38104b-_0x4b1d37[_0x592046(0x147)]+0x1+'px';}});};return this[_0x33e7f9(0x13d)][_0x33e7f9(0x140)]['on'](_0x33e7f9(0x156),_0x1901c8),this['on'](_0x33e7f9(0x13c),_0x1901c8),_0x3ff18a;}[_0x1a060f(0x166)](){const _0x2becbb=_0x1a060f,_0x3a9580=this[_0x2becbb(0x13d)][_0x2becbb(0x140)][_0x2becbb(0x148)][_0x2becbb(0x16a)];this[_0x2becbb(0x170)](_0x2becbb(0x166),_0x3a9580);}[_0x1a060f(0x15d)](_0x28af3f){const _0x404b1d=_0x1a060f;-0x1===_0x28af3f?this[_0x404b1d(0x158)][_0x404b1d(0x153)]():this[_0x404b1d(0x158)][_0x404b1d(0x167)]();}}
|