@ckeditor/ckeditor5-ai 44.2.0 → 44.2.1-alpha.0
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 _0x1e3d5a=_0x567c;(function(_0x121b4e,_0x5c1c74){const _0x522940=_0x567c,_0x5efc74=_0x121b4e();while(!![]){try{const _0x5e0a0e=-parseInt(_0x522940(0x1e6))/0x1*(-parseInt(_0x522940(0x202))/0x2)+parseInt(_0x522940(0x1e8))/0x3+-parseInt(_0x522940(0x1e3))/0x4*(-parseInt(_0x522940(0x222))/0x5)+-parseInt(_0x522940(0x1c8))/0x6+-parseInt(_0x522940(0x21f))/0x7+parseInt(_0x522940(0x1cd))/0x8*(parseInt(_0x522940(0x1e9))/0x9)+parseInt(_0x522940(0x208))/0xa*(-parseInt(_0x522940(0x1be))/0xb);if(_0x5e0a0e===_0x5c1c74)break;else _0x5efc74['push'](_0x5efc74['shift']());}catch(_0x233339){_0x5efc74['push'](_0x5efc74['shift']());}}}(_0x1388,0x6f488));import{Plugin as _0x15735a}from'ckeditor5/src/core.js';import _0x2c7965 from'./aiassistantui.js';import _0x15d271 from'./aiassistantediting.js';function _0x567c(_0x4135aa,_0x9e4a5d){const _0x138812=_0x1388();return _0x567c=function(_0x567c17,_0x524736){_0x567c17=_0x567c17-0x1b6;let _0xbedf35=_0x138812[_0x567c17];return _0xbedf35;},_0x567c(_0x4135aa,_0x9e4a5d);}import{getTranslation as _0x3f41d3}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x5c47e2}from'./utils/normalizecommandsconfig.js';function _0x1388(){const _0x34ab33=['Summarize','translateFrench','Translate\x20the\x20content\x20to\x20German\x20language.','friendly','Translate\x20the\x20content\x20to\x20French\x20language.','Hindi','translateEnglish','business','Edit\x20or\x20review','2781666tOjjDL','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','get','55064ERpHsf','confident','filter','Confident','Simplify\x20language','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Direct','Professional','Spanish','AIAssistant','French','find','forEach','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Change\x20style','ai.aiAssistant.commands','makeShorter','direct','professional','includes','translateHindi','2898572ZRYnTn','Friendly','English','7132ipcTzX','Poetic','306606QRSHWK','774loIhEe','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Change\x20tone','editOrReview','Translate\x20the\x20content\x20to\x20Spanish\x20language.','changeStyle','locale','ai.aiAssistant.extraCommandGroups','German','push','concat','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translate','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Business','Journalism','summarize','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateArabic','legal','isOfficialPlugin','set','252EHLEnl','Legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','changeTone','translateSpanish','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','10DvDicX','improveWriting','Translate\x20the\x20content\x20to\x20Arabic\x20language.','journalism','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','continue','requires','isPremiumPlugin','Translate','Continue','translatePortuguese','Generate\x20from\x20selection','generate','Simplified\x20Chinese','Make\x20longer','Improve\x20writing','ai.aiAssistant.removeCommands','ai.aiAssistant.preserveComments','Translate\x20the\x20content\x20to\x20English\x20language.','casual','Make\x20shorter','poetic','translateGerman','5958757mEqCtl','translateChinese','makeLonger','5OgGaBR','pluginName','Translate\x20the\x20content\x20to\x20Hindi\x20language.','commands','groupId','Portuguese','Casual','define','Arabic','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','config','6014107TupeeS'];_0x1388=function(){return _0x34ab33;};return _0x1388();}export default class r extends _0x15735a{static get[_0x1e3d5a(0x20e)](){return[_0x2c7965,_0x15d271];}static get[_0x1e3d5a(0x223)](){const _0x2ad3e9=_0x1e3d5a;return _0x2ad3e9(0x1d6);}static get[_0x1e3d5a(0x200)](){return!0x0;}static get[_0x1e3d5a(0x20f)](){return!0x0;}constructor(_0x2a5f9a){const _0x58bf1c=_0x1e3d5a;super(_0x2a5f9a);const _0x307a2b=_0x2a5f9a[_0x58bf1c(0x1bd)],_0x5b3614=_0x2a5f9a[_0x58bf1c(0x1ef)];_0x307a2b[_0x58bf1c(0x1b9)](_0x58bf1c(0x219),!0x0),_0x307a2b[_0x58bf1c(0x1b9)](_0x58bf1c(0x1dd),getDefaultCommands(_0x5b3614)),_0x307a2b[_0x58bf1c(0x1b9)](_0x58bf1c(0x1f0),[]),_0x307a2b[_0x58bf1c(0x1b9)](_0x58bf1c(0x218),[]);let _0x51db82=_0x5c47e2(_0x307a2b[_0x58bf1c(0x1cc)](_0x58bf1c(0x1dd)),_0x5b3614);const _0x536600=_0x307a2b[_0x58bf1c(0x1cc)](_0x58bf1c(0x1f0)),_0x2d25d0=_0x307a2b[_0x58bf1c(0x1cc)](_0x58bf1c(0x218));_0x536600[_0x58bf1c(0x1d9)](_0x3e3139=>{const _0x52c52e=_0x58bf1c,_0x4a4df8=_0x51db82[_0x52c52e(0x1d8)](_0x33befc=>_0x33befc[_0x52c52e(0x1b6)]===_0x3e3139[_0x52c52e(0x1b6)]);_0x4a4df8?_0x4a4df8[_0x52c52e(0x225)]=_0x4a4df8[_0x52c52e(0x225)][_0x52c52e(0x1f3)](_0x3e3139[_0x52c52e(0x225)]):_0x51db82[_0x52c52e(0x1f2)](_0x3e3139);}),_0x51db82=_0x51db82[_0x58bf1c(0x1cf)](_0x19a06b=>!_0x2d25d0[_0x58bf1c(0x1e1)](_0x19a06b[_0x58bf1c(0x1b6)])),_0x51db82[_0x58bf1c(0x1d9)](_0x2c70da=>{const _0x5c0875=_0x58bf1c;_0x2c70da[_0x5c0875(0x225)]=_0x2c70da[_0x5c0875(0x225)][_0x5c0875(0x1cf)](_0xc8cd8c=>!_0x2d25d0[_0x5c0875(0x1e1)](_0xc8cd8c['id']));}),_0x307a2b[_0x58bf1c(0x201)](_0x58bf1c(0x1dd),_0x51db82);}}export function getDefaultCommands(_0x681d3c){const _0x56b1f0=_0x1e3d5a;return[{'groupId':_0x56b1f0(0x1ec),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1c7)),'commands':[{'id':_0x56b1f0(0x209),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x217)),'prompt':_0x56b1f0(0x1db)},{'id':_0x56b1f0(0x1de),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x21c)),'prompt':_0x56b1f0(0x1f6)},{'id':_0x56b1f0(0x221),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x216)),'prompt':_0x56b1f0(0x1f5)},{'id':_0x56b1f0(0x1ca),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d1)),'prompt':_0x56b1f0(0x1f8)}]},{'groupId':_0x56b1f0(0x214),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x213)),'commands':[{'id':_0x56b1f0(0x1fc),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1bf)),'prompt':_0x56b1f0(0x1bb)},{'id':_0x56b1f0(0x20d),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x211)),'prompt':_0x56b1f0(0x1c9)}]},{'groupId':_0x56b1f0(0x205),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1eb)),'commands':[{'id':_0x56b1f0(0x1e0),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d4)),'prompt':_0x56b1f0(0x1da)},{'id':_0x56b1f0(0x21b),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1b8)),'prompt':_0x56b1f0(0x207)},{'id':_0x56b1f0(0x1df),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d3)),'prompt':_0x56b1f0(0x204)},{'id':_0x56b1f0(0x1ce),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d0)),'prompt':_0x56b1f0(0x1fd)},{'id':_0x56b1f0(0x1c2),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1e4)),'prompt':_0x56b1f0(0x1f9)}]},{'groupId':_0x56b1f0(0x1ee),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1dc)),'commands':[{'id':_0x56b1f0(0x1c6),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1fa)),'prompt':_0x56b1f0(0x1cb)},{'id':_0x56b1f0(0x1ff),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x203)),'prompt':_0x56b1f0(0x20c)},{'id':_0x56b1f0(0x20b),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1fb)),'prompt':_0x56b1f0(0x1d2)},{'id':_0x56b1f0(0x21d),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1e7)),'prompt':_0x56b1f0(0x1bc)}]},{'groupId':_0x56b1f0(0x1f7),'groupLabel':_0x3f41d3(_0x681d3c,_0x56b1f0(0x210)),'commands':[{'id':_0x56b1f0(0x1c5),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1e5)),'prompt':_0x56b1f0(0x21a)},{'id':_0x56b1f0(0x206),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d5)),'prompt':_0x56b1f0(0x1ed)},{'id':_0x56b1f0(0x212),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1b7)),'prompt':_0x56b1f0(0x1f4)},{'id':_0x56b1f0(0x21e),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1f1)),'prompt':_0x56b1f0(0x1c1)},{'id':_0x56b1f0(0x1c0),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1d7)),'prompt':_0x56b1f0(0x1c3)},{'id':_0x56b1f0(0x220),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x215)),'prompt':_0x56b1f0(0x1ea)},{'id':_0x56b1f0(0x1e2),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1c4)),'prompt':_0x56b1f0(0x224)},{'id':_0x56b1f0(0x1fe),'label':_0x3f41d3(_0x681d3c,_0x56b1f0(0x1ba)),'prompt':_0x56b1f0(0x20a)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5b162b=_0x4a53;(function(_0x5c1008,_0x53d956){const _0x41d7db=_0x4a53,_0x12dee2=_0x5c1008();while(!![]){try{const _0x41b537=-parseInt(_0x41d7db(0x1d7))/0x1*(-parseInt(_0x41d7db(0x1a9))/0x2)+-parseInt(_0x41d7db(0x18a))/0x3*(parseInt(_0x41d7db(0x1b5))/0x4)+parseInt(_0x41d7db(0x197))/0x5*(-parseInt(_0x41d7db(0x1ab))/0x6)+-parseInt(_0x41d7db(0x171))/0x7+-parseInt(_0x41d7db(0x1d1))/0x8*(parseInt(_0x41d7db(0x18b))/0x9)+parseInt(_0x41d7db(0x1dc))/0xa+-parseInt(_0x41d7db(0x185))/0xb*(-parseInt(_0x41d7db(0x1b8))/0xc);if(_0x41b537===_0x53d956)break;else _0x12dee2['push'](_0x12dee2['shift']());}catch(_0x498cc6){_0x12dee2['push'](_0x12dee2['shift']());}}}(_0x1e1b,0xb7427));import{uid as _0x42bcad}from'ckeditor5/src/utils.js';import{Plugin as _0x5c5c03}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4282b1}from'ckeditor5/src/clipboard.js';function _0x1e1b(){const _0x1a0184=['canEditAt','markerRange','484712oacqbi','_prepareTableInsertBelowPosition','6YPPxMh','selection','filter','TableUtils','_pasteHTMLUsingClipboard','ck-fake-ai-selection','isContent','change','first','getMarkersGroup','1784012hjOyTD','span','getRowIndexes','46458996uTIOCb','table','fromCharCode','editingDowncast','start','isCollapsed','conversion','markerToHighlight','getChildren','pop','_getTableRowCountFromContent','config','createPositionAfter','getFirstRange','addClass','insertContent','getChild','deleteContent','has','init','editor','schema','editing','from','resultRange','24wlcGud','parse','getRange','text/html','get','map','1FuNiQt','model','ai.useTheme','afterInit','markerToElement','14373600FzhhxL','document','createRange','createPositionAt','pluginName','9088338FXYDJh','insertRows','getColumnIndexes','showFakeVisualSelection','getRows','isOfficialPlugin','ck-fake-ai-selection_collapsed','isPremiumPlugin','getSelectedBlocks','createSelection','hideFakeVisualSelection','contentInsertion','DataTransfer','join','off','once','plugins','_resetContentOfSelectedTableCells','_createEmptyTableRows','ck-ai-assistant-ui_theme','11ylEMAW','end','findAncestor','getRanges','lowest','9qwJbNA','3302622zneiBd','setData','data','push','getSelectedTableCells','createUIElement','element','href','isAtEnd','length','AIAssistantEditing','updateMarker','5317255kUEAuh','setSelection','paste','forEach','for','markers','_getAISelection','getLastPosition','removeMarker','getLastMatchingPosition','_getDefaultInsertBelowPosition','fire','addMarker','ai-ui','last','insertContentBelow'];_0x1e1b=function(){return _0x1a0184;};return _0x1e1b();}import{DomEventData as _0x199654,DataTransfer as _0x7ac840}from'ckeditor5/src/engine.js';function _0x4a53(_0x274001,_0x5c08f3){const _0x1e1b9d=_0x1e1b();return _0x4a53=function(_0x4a53c2,_0x49164a){_0x4a53c2=_0x4a53c2-0x16e;let _0x41a032=_0x1e1b9d[_0x4a53c2];return _0x41a032;},_0x4a53(_0x274001,_0x5c08f3);}const w=globalThis[_0x5b162b(0x17d)],f=_0x5b162b(0x1a4);export default class a extends _0x5c5c03{static get[_0x5b162b(0x170)](){const _0x5bad9c=_0x5b162b;return _0x5bad9c(0x195);}static get[_0x5b162b(0x176)](){return!0x0;}static get[_0x5b162b(0x178)](){return!0x0;}[_0x5b162b(0x1cb)](){const _0x3ed880=_0x5b162b,{editor:_0x88b8cc}=this,_0x3a6a40=[_0x3ed880(0x1b0)];_0x88b8cc[_0x3ed880(0x1c3)][_0x3ed880(0x1d5)](_0x3ed880(0x1d9))&&_0x3a6a40[_0x3ed880(0x18e)](_0x3ed880(0x184)),_0x88b8cc[_0x3ed880(0x1be)][_0x3ed880(0x19b)](_0x3ed880(0x1bb))[_0x3ed880(0x1bf)]({'model':f,'view':{'classes':_0x3a6a40,'priority':0xc}}),_0x88b8cc[_0x3ed880(0x1be)][_0x3ed880(0x19b)](_0x3ed880(0x1bb))[_0x3ed880(0x1db)]({'model':f,'view':(_0x71533c,{writer:_0x4ebedf})=>{const _0x3f2023=_0x3ed880;if(!_0x71533c[_0x3f2023(0x1a8)][_0x3f2023(0x1bd)])return null;const _0x1db801=_0x4ebedf[_0x3f2023(0x190)](_0x3f2023(0x1b6));return _0x4ebedf[_0x3f2023(0x1c6)]([_0x3f2023(0x1b0),_0x3f2023(0x177)],_0x1db801),_0x1db801;}});}[_0x5b162b(0x1da)](){!async function(_0x25013b){const _0x2de016=_0x5b9125([0x6d,0x4c,0x57,0x4b,0x37,0x44,0x66,0x36,0x38,0x41,0x64,0x61,0x63,0x68,0x72,0x34,0x54,0x32,0x5a,0x47,0x6c,0x4d,0x55,0x75,0x4e,0x52,0x31,0x59,0x53,0x6a,0x77,0x4f,0x74,0x51,0x71,0x33,0x46,0x35,0x6b,0x70,0x6f,0x73,0x58,0x50,0x79,0x67,0x56,0x6e,0x43,0x39,0x49,0x76,0x4a,0x65,0x45,0x69,0x48,0x30,0x42,0x78,0x7a,0x62]),_0x318f87=0x1a84921,_0x3a43a7=0x1af1669^_0x318f87,_0x41fef1=window[_0x5b9125([0x44,0x61,0x74,0x65])][_0x5b9125([0x6e,0x6f,0x77])](),_0x596cef=_0x25013b[_0x5b9125([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2081cb=new window[(_0x5b9125([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bbde3=>{_0x596cef[_0x5b9125([0x6f,0x6e,0x63,0x65])](_0x5b9125([0x72,0x65,0x61,0x64,0x79]),_0x1bbde3);}),_0x4c7e84={[_0x5b9125([0x6b,0x74,0x79])]:_0x5b9125([0x45,0x43]),[_0x5b9125([0x75,0x73,0x65])]:_0x5b9125([0x73,0x69,0x67]),[_0x5b9125([0x63,0x72,0x76])]:_0x5b9125([0x50,0x2d,0x32,0x35,0x36]),[_0x5b9125([0x78])]:_0x5b9125([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]),[_0x5b9125([0x79])]:_0x5b9125([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]),[_0x5b9125([0x61,0x6c,0x67])]:_0x5b9125([0x45,0x53,0x32,0x35,0x36])},_0x4cf573=_0x596cef[_0x5b9125([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b9125([0x67,0x65,0x74])](_0x5b9125([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d484d(){let _0x4a5d03,_0x15c8a5=null,_0x1579cb=null;try{if(_0x4cf573==_0x5b9125([0x47,0x50,0x4c]))return _0x5b9125([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a5d03=_0x2907ed(),!_0x4a5d03)return _0x5b9125([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a5d03[_0x5b9125([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1579cb=_0x3beb50(_0x4a5d03[_0x5b9125([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a5d03[_0x5b9125([0x6a,0x74,0x69])])),await _0xdcfae9()?_0x32bea4()?_0x2957a9()?_0x5b9125([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48735e()?(_0x4a5d03[_0x5b9125([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b9125([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15c8a5=_0x451d61(_0x5b9125([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a5d03[_0x5b9125([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b9125([0x74,0x72,0x69,0x61,0x6c])&&(_0x15c8a5=_0x451d61(_0x5b9125([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d5084()):_0x5b9125([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b9125([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b9125([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x23ef13){return _0x5b9125([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2957a9(){const _0x18713f=[_0x5b9125([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b9125([0x74,0x72,0x69,0x61,0x6c])][_0x5b9125([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a5d03[_0x5b9125([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41fef1/0x3e8:0xe10*_0x3a43a7;return _0x4a5d03[_0x5b9125([0x65,0x78,0x70])]<_0x18713f;}function _0x32bea4(){const _0x1bab38=_0x4a5d03[_0x5b9125([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1bab38&&(!!_0x1bab38[_0x5b9125([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9125([0x2a]))||!!_0x1bab38[_0x5b9125([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9125([0x41,0x49])));}function _0x48735e(){const _0x2f210e=_0x4a53,_0x5ca0c8=_0x4a5d03[_0x5b9125([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ca0c8||0x0==_0x5ca0c8[_0x5b9125([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5570db}=new URL(window[_0x5b9125([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2f210e(0x192)]);if(_0x5ca0c8[_0x5b9125([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5570db))return!0x0;const _0x19bce0=_0x5570db[_0x5b9125([0x73,0x70,0x6c,0x69,0x74])](_0x5b9125([0x2e]));return _0x5ca0c8[_0x5b9125([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10bd92=>_0x10bd92[_0x5b9125([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b9125([0x2a])))[_0x5b9125([0x6d,0x61,0x70])](_0x26b101=>_0x26b101[_0x5b9125([0x73,0x70,0x6c,0x69,0x74])](_0x5b9125([0x2e])))[_0x5b9125([0x73,0x6f,0x6d,0x65])](_0x4380af=>_0x19bce0[_0x5b9125([0x65,0x76,0x65,0x72,0x79])]((_0xe1f513,_0x32e248)=>_0x4380af[_0x32e248]===_0xe1f513||_0x4380af[_0x32e248]===_0x5b9125([0x2a])));}function _0x2d5084(){return _0x15c8a5&&_0x1579cb?new window[(_0x5b9125([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x590685,_0x38878c)=>{_0x15c8a5[_0x5b9125([0x74,0x68,0x65,0x6e])](_0x590685,_0x38878c),_0x1579cb[_0x5b9125([0x74,0x68,0x65,0x6e])](_0x2dde2a=>{_0x2dde2a!=_0x5b9125([0x56,0x61,0x6c,0x69,0x64])&&_0x590685(_0x2dde2a);},_0x38878c);}):_0x15c8a5||_0x1579cb||_0x5b9125([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3beb50(_0xb05e86,_0x9a32c1){return new window[(_0x5b9125([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11b184=>{if(_0x51d5c8())return _0x11b184(_0x5b9125([0x56,0x61,0x6c,0x69,0x64]));_0x5a02e1(),_0x596cef[_0x5b9125([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b9125([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ad8f1=!0x1;const _0x14f91e=_0x42bcad();function _0xc9574c(_0xfaead){return!!_0xfaead&&(typeof _0xfaead===_0x5b9125([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfaead===_0x5b9125([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfaead[_0x5b9125([0x74,0x68,0x65,0x6e])]===_0x5b9125([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfaead[_0x5b9125([0x63,0x61,0x74,0x63,0x68])]===_0x5b9125([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x25a39e(_0x52498e){_0x9d7315(_0x52498e)[_0x5b9125([0x74,0x68,0x65,0x6e])](_0x4de1d0=>{if(!_0x4de1d0||_0x4de1d0[_0x5b9125([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b9125([0x6f,0x6b]))return _0x5b9125([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f3e65(_0x11fb63(_0x14f91e+_0x9a32c1))!=_0x4de1d0[_0x5b9125([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b9125([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b9125([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b9125([0x74,0x68,0x65,0x6e])](_0xff68c=>(_0x10c0cf(),_0xff68c),()=>{const _0x444a85=_0x290fa6();return null==_0x444a85?(_0x10c0cf(),_0x5b9125([0x56,0x61,0x6c,0x69,0x64])):_0x5b9125(_0x41fef1-_0x444a85>(0x25a4cd21^_0x318f87)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b9125([0x74,0x68,0x65,0x6e])](_0x11b184)[_0x5b9125([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11b184(_0x5b9125([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2c5143=0x19ea7a1^_0x318f87;function _0x10c0cf(){const _0x853f8e=_0x5b9125([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f3e65(_0x11fb63(_0xb05e86)),_0x519f49=_0x3142ec(_0x2f3e65(window[_0x5b9125([0x4d,0x61,0x74,0x68])][_0x5b9125([0x63,0x65,0x69,0x6c])](_0x41fef1/_0x2c5143)));window[_0x5b9125([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b9125([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x853f8e,_0x519f49);}function _0x290fa6(){const _0x13a230=_0x5b9125([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f3e65(_0x11fb63(_0xb05e86)),_0x323ce7=window[_0x5b9125([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b9125([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13a230);return _0x323ce7?window[_0x5b9125([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3142ec(_0x323ce7),0x10)*_0x2c5143:null;}function _0x9d7315(_0x2a0b30){return new window[(_0x5b9125([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x557793,_0x340e50)=>{_0x2a0b30[_0x5b9125([0x74,0x68,0x65,0x6e])](_0x557793,_0x340e50),window[_0x5b9125([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x340e50,0x1a99de1^_0x318f87);});}}_0x596cef[_0x5b9125([0x6f,0x6e])](_0x5b9125([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x343ee8,_0xd48077)=>{if(_0xd48077[0x0]!=_0xb05e86)return _0x11b184(_0x5b9125([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd48077[0x1]={..._0xd48077[0x1],[_0x5b9125([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14f91e};},{[_0x5b9125([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b9125([0x68,0x69,0x67,0x68])}),_0x596cef[_0x5b9125([0x6f,0x6e])](_0x5b9125([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17acaa=>{_0xc9574c(_0x17acaa[_0x5b9125([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ad8f1=!0x0,_0x25a39e(_0x17acaa[_0x5b9125([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b9125([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b9125([0x6c,0x6f,0x77])}),_0x2081cb[_0x5b9125([0x74,0x68,0x65,0x6e])](()=>{_0x5ad8f1||_0x11b184(_0x5b9125([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51d5c8(){return _0x596cef[_0x5b9125([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b9125([0x76,0x69,0x65,0x77])][_0x5b9125([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b9125([0x61,0x75,0x74,0x6f]);}function _0x5a02e1(){_0x596cef[_0x5b9125([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b9125([0x76,0x69,0x65,0x77])][_0x5b9125([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b9125([0x61,0x75,0x74,0x6f]);}}function _0x451d61(_0x1fcda6){const _0x967646=[new window[(_0x5b9125([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43dacf=>setTimeout(_0x43dacf,0x1a177ed^_0x318f87)),_0x2081cb[_0x5b9125([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b9125([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x108b5b=>{let _0x4a9eda=0x0;_0x596cef[_0x5b9125([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b9125([0x6f,0x6e])](_0x5b9125([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xbeb651,_0xb3c28e)=>{_0xb3c28e[0x0][_0x5b9125([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a9eda++,_0x4a9eda==(0x1a848d9^_0x318f87)&&(_0x108b5b(),_0xbeb651[_0x5b9125([0x6f,0x66,0x66])]());});}))];return window[_0x5b9125([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b9125([0x72,0x61,0x63,0x65])](_0x967646)[_0x5b9125([0x74,0x68,0x65,0x6e])](()=>_0x1fcda6);}async function _0x79b776(){await _0x2081cb,_0x596cef[_0x5b9125([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b9125([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x37db0d,_0x596cef[_0x5b9125([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b9125([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x37db0d,_0x596cef[_0x5b9125([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b9125([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c669f(_0x35e9c5){const _0x50e985=_0x8acdf3();_0x596cef[_0x50e985]=_0x5b9125([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x35e9c5,_0x35e9c5!=_0x5b9125([0x56,0x61,0x6c,0x69,0x64])&&_0x79b776();}function _0x8acdf3(){const _0x59f0b7=window[_0x5b9125([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b9125([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b9125([0x6e,0x6f,0x77])]())[_0x5b9125([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b9125([0x2e]),'');let _0x264bff=_0x5b9125([0x6d]);for(let _0x4c76e4=0x0;_0x4c76e4<_0x59f0b7[_0x5b9125([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c76e4+=0x2){let _0x1e0dcd=window[_0x5b9125([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59f0b7[_0x5b9125([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c76e4,_0x4c76e4+0x2));_0x1e0dcd>=_0x2de016[_0x5b9125([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e0dcd-=_0x2de016[_0x5b9125([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x264bff+=_0x2de016[_0x1e0dcd];}return _0x264bff;}function _0x2907ed(){const _0x335379=_0x4cf573[_0x5b9125([0x73,0x70,0x6c,0x69,0x74])](_0x5b9125([0x2e]));if(0x3!=_0x335379[_0x5b9125([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3145b4(_0x335379[0x1]);function _0x3145b4(_0x2eacf6){const _0x28c291=_0x4f8b7d(_0x2eacf6);return _0x28c291&&_0x3f510d()?_0x28c291:null;function _0x3f510d(){const _0x28d29d=_0x28c291[_0x5b9125([0x6a,0x74,0x69])],_0x57981d=window[_0x5b9125([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28d29d[_0x5b9125([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28d29d[_0x5b9125([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24a1bf={..._0x28c291,[_0x5b9125([0x6a,0x74,0x69])]:_0x28d29d[_0x5b9125([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28d29d[_0x5b9125([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24a1bf[_0x5b9125([0x76,0x63])],_0x11fb63(_0x24a1bf)==_0x57981d;}}}async function _0xdcfae9(){let _0x5d6d96=!0x0;try{const _0x3a1c81=_0x4cf573[_0x5b9125([0x73,0x70,0x6c,0x69,0x74])](_0x5b9125([0x2e])),[_0x10ba92,_0x46b73a,_0x2dff24]=_0x3a1c81;return _0x165f75(_0x10ba92),await _0x4158d6(_0x10ba92,_0x46b73a,_0x2dff24),_0x5d6d96;}catch(_0x469743){return!0x1;}function _0x165f75(_0x4d8f22){const _0x381189=_0x4f8b7d(_0x4d8f22);_0x381189&&_0x381189[_0x5b9125([0x61,0x6c,0x67])]==_0x5b9125([0x45,0x53,0x32,0x35,0x36])||(_0x5d6d96=!0x1);}async function _0x4158d6(_0x106292,_0x2026c2,_0x48b14c){const _0xb810cb=window[_0x5b9125([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b9125([0x66,0x72,0x6f,0x6d])](_0x1578b0(_0x48b14c),_0x2a26fb=>_0x2a26fb[_0x5b9125([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c9f03=new window[(_0x5b9125([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b9125([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x106292+_0x5b9125([0x2e])+_0x2026c2),_0xe453a6=window[_0x5b9125([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b9125([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe453a6)return;const _0x1227bc=await _0xe453a6[_0x5b9125([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b9125([0x6a,0x77,0x6b]),_0x4c7e84,{[_0x5b9125([0x6e,0x61,0x6d,0x65])]:_0x5b9125([0x45,0x43,0x44,0x53,0x41]),[_0x5b9125([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b9125([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b9125([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe453a6[_0x5b9125([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b9125([0x6e,0x61,0x6d,0x65])]:_0x5b9125([0x45,0x43,0x44,0x53,0x41]),[_0x5b9125([0x68,0x61,0x73,0x68])]:{[_0x5b9125([0x6e,0x61,0x6d,0x65])]:_0x5b9125([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1227bc,_0xb810cb,_0x3c9f03)||(_0x5d6d96=!0x1);}}function _0x4f8b7d(_0x2d62b7){return _0x2d62b7[_0x5b9125([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b9125([0x65,0x79]))?JSON[_0x5b9125([0x70,0x61,0x72,0x73,0x65])](_0x1578b0(_0x2d62b7)):null;}function _0x1578b0(_0xb8ad51){return window[_0x5b9125([0x61,0x74,0x6f,0x62])](_0xb8ad51[_0x5b9125([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b9125([0x2b]))[_0x5b9125([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b9125([0x2f])));}function _0x11fb63(_0x33a483){let _0x1b5426=0x1505;function _0x217f72(_0xe27e1c){for(let _0x1e671c=0x0;_0x1e671c<_0xe27e1c[_0x5b9125([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e671c++){const _0x3ef258=_0xe27e1c[_0x5b9125([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e671c);_0x1b5426=(_0x1b5426<<0x5)+_0x1b5426+_0x3ef258,_0x1b5426&=_0x1b5426;}}function _0x363bdd(_0x10c763){Array[_0x5b9125([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10c763)?_0x10c763[_0x5b9125([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x363bdd):_0x10c763&&typeof _0x10c763==_0x5b9125([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b9125([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10c763)[_0x5b9125([0x73,0x6f,0x72,0x74])]()[_0x5b9125([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31a9e8,_0x31a4bf])=>{_0x217f72(_0x31a9e8),_0x363bdd(_0x31a4bf);}):_0x217f72(window[_0x5b9125([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10c763));}return _0x363bdd(_0x33a483),_0x1b5426>>>0x0;}function _0x2f3e65(_0x37c0e1){return _0x37c0e1[_0x5b9125([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b9125([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b9125([0x30]));}function _0x3142ec(_0x5a7070){return _0x5a7070[_0x5b9125([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b9125([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b9125([0x6a,0x6f,0x69,0x6e])]('');}function _0x37db0d(){}function _0x5b9125(_0x1512ab){const _0x2cb8a8=_0x4a53;return _0x1512ab[_0x2cb8a8(0x1d6)](_0x167040=>String[_0x2cb8a8(0x1ba)](_0x167040))[_0x2cb8a8(0x17e)]('');}_0x5c669f(await _0x4d484d());}(this);}[_0x5b162b(0x174)](){const _0x2a5e5d=_0x5b162b,_0x1ef82a=this[_0x2a5e5d(0x1cc)][_0x2a5e5d(0x1d8)];_0x1ef82a[_0x2a5e5d(0x1b2)](_0x2318cd=>{const _0x1698c0=_0x2a5e5d,_0x18b5e7=_0x1ef82a[_0x1698c0(0x1dd)][_0x1698c0(0x1ac)][_0x1698c0(0x188)]();let _0x4e03d1=0x0;for(const _0x388a96 of _0x18b5e7){const _0x47bc04=f+':'+_0x4e03d1;if(_0x1ef82a[_0x1698c0(0x19c)][_0x1698c0(0x1ca)](_0x47bc04))_0x2318cd[_0x1698c0(0x196)](_0x47bc04,{'range':_0x388a96});else{if(_0x388a96[_0x1698c0(0x1bc)][_0x1698c0(0x193)]){const _0x206fbb=_0x388a96[_0x1698c0(0x1bc)][_0x1698c0(0x1a0)](({item:_0x208b6a})=>!_0x1ef82a[_0x1698c0(0x1cd)][_0x1698c0(0x1b1)](_0x208b6a),{'boundaries':_0x388a96});_0x2318cd[_0x1698c0(0x1a3)](_0x47bc04,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2318cd[_0x1698c0(0x16e)](_0x206fbb,_0x388a96[_0x1698c0(0x186)])});}else _0x2318cd[_0x1698c0(0x1a3)](_0x47bc04,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x388a96});}_0x4e03d1++;}});}[_0x5b162b(0x17b)](){const _0x50938f=_0x5b162b,_0x23502a=this[_0x50938f(0x1cc)][_0x50938f(0x1d8)],_0x58db1e=Array[_0x50938f(0x1cf)](this[_0x50938f(0x1cc)][_0x50938f(0x1d8)][_0x50938f(0x19c)][_0x50938f(0x1b4)](f));_0x58db1e[_0x50938f(0x194)]&&_0x23502a[_0x50938f(0x1b2)](_0x29d945=>{const _0x53dcc0=_0x50938f;_0x58db1e[_0x53dcc0(0x19a)](_0x44e501=>{const _0x457d19=_0x53dcc0;_0x29d945[_0x457d19(0x19f)](_0x44e501);});});}[_0x5b162b(0x1c7)](_0x1d3f95,_0x1005f0){const _0x2c5c3b=_0x5b162b,_0x1623b8=this[_0x2c5c3b(0x19d)](),_0x3d39af=_0x1005f0||_0x1623b8[_0x2c5c3b(0x1c5)]();this[_0x2c5c3b(0x1cc)][_0x2c5c3b(0x1d8)][_0x2c5c3b(0x1a7)](_0x3d39af)&&this[_0x2c5c3b(0x1cc)][_0x2c5c3b(0x1d8)][_0x2c5c3b(0x1b2)](_0x3c4834=>{const _0x519b7e=_0x2c5c3b;this[_0x519b7e(0x17b)](),_0x1005f0||this[_0x519b7e(0x182)](_0x3c4834,_0x1623b8),this[_0x519b7e(0x1af)]({'insertAt':_0x3d39af,'writer':_0x3c4834,'html':_0x1d3f95});});}[_0x5b162b(0x1a6)](_0x1cdd77){const _0x1c3d41=_0x5b162b,{model:_0x3c14bf}=this[_0x1c3d41(0x1cc)],_0x5d58c6=this[_0x1c3d41(0x19d)]();_0x3c14bf[_0x1c3d41(0x1b2)](()=>{const _0x57a625=_0x1c3d41,_0x267a09=this[_0x57a625(0x1aa)](_0x1cdd77,_0x5d58c6)||this[_0x57a625(0x1a1)](_0x5d58c6);this[_0x57a625(0x1c7)](_0x1cdd77,_0x267a09);});}[_0x5b162b(0x19d)](){const _0x244ea8=_0x5b162b,_0x591e58=this[_0x244ea8(0x1cc)][_0x244ea8(0x1d8)],_0x5e7563=Array[_0x244ea8(0x1cf)](_0x591e58[_0x244ea8(0x19c)][_0x244ea8(0x1b4)](f))[_0x244ea8(0x1d6)](_0x1d2ba1=>_0x1d2ba1[_0x244ea8(0x1d3)]());return _0x591e58[_0x244ea8(0x17a)](_0x5e7563);}[_0x5b162b(0x1af)]({writer:_0x479957,html:_0x3d1767,insertAt:_0x5766db}){const _0x26dfa9=_0x5b162b,{view:_0x2a9ee7}=this[_0x26dfa9(0x1cc)][_0x26dfa9(0x1ce)],_0x4b085c=this[_0x26dfa9(0x1cc)][_0x26dfa9(0x181)][_0x26dfa9(0x1d5)](_0x4282b1),_0x377e06=new w();_0x377e06[_0x26dfa9(0x18c)](_0x26dfa9(0x1d4),_0x3d1767);const _0x826d79=new ClipboardEvent(_0x26dfa9(0x199),{'clipboardData':_0x377e06}),_0x39e3e7=new _0x199654(_0x2a9ee7,_0x826d79,{'dataTransfer':new _0x7ac840(_0x377e06)});_0x479957[_0x26dfa9(0x198)](_0x5766db);const _0xdafe7a=(_0x63195,_0x187786)=>{const _0x4b479d=_0x26dfa9;_0x187786[_0x4b479d(0x1d0)]&&_0x479957[_0x4b479d(0x198)](_0x187786[_0x4b479d(0x1d0)]);};_0x4b085c[_0x26dfa9(0x180)](_0x26dfa9(0x17c),_0xdafe7a,{'priority':_0x26dfa9(0x189)}),_0x2a9ee7[_0x26dfa9(0x1dd)][_0x26dfa9(0x1a2)](_0x26dfa9(0x199),_0x39e3e7),_0x4b085c[_0x26dfa9(0x17f)](_0x26dfa9(0x17c),_0xdafe7a);}[_0x5b162b(0x1a1)](_0x165722){const _0x236c91=_0x5b162b,{model:_0x363454}=this[_0x236c91(0x1cc)],_0x5b67e4=Array[_0x236c91(0x1cf)](_0x165722[_0x236c91(0x179)]());return _0x5b67e4[_0x236c91(0x194)]?_0x363454[_0x236c91(0x1c4)](_0x5b67e4[_0x236c91(0x1c1)]()):_0x165722[_0x236c91(0x19e)]();}[_0x5b162b(0x1aa)](_0x4b466f,_0x19edb1){const _0x57a8cd=_0x5b162b,{model:_0x16b498,plugins:_0x5a07e6}=this[_0x57a8cd(0x1cc)];if(_0x5a07e6[_0x57a8cd(0x1ca)](_0x57a8cd(0x1ae))){const _0x2253e6=_0x5a07e6[_0x57a8cd(0x1d5)](_0x57a8cd(0x1ae))[_0x57a8cd(0x18f)](_0x19edb1);if(_0x2253e6[_0x57a8cd(0x194)]){const _0x2a62d0=this[_0x57a8cd(0x1c2)](_0x4b466f),_0xfdecc1=this[_0x57a8cd(0x183)](_0x2253e6,_0x2a62d0);return _0x16b498[_0x57a8cd(0x16f)](_0xfdecc1,0x0);}}return null;}[_0x5b162b(0x1c2)](_0xe37687){const _0x1e6c8a=_0x5b162b,_0xe5b08a=this[_0x1e6c8a(0x1cc)][_0x1e6c8a(0x181)][_0x1e6c8a(0x1d5)](_0x1e6c8a(0x1ae)),_0x415edb=this[_0x1e6c8a(0x1cc)][_0x1e6c8a(0x18d)][_0x1e6c8a(0x1d2)](_0xe37687),_0x1f5392=Array[_0x1e6c8a(0x1cf)](_0x415edb[_0x1e6c8a(0x1c0)]())[_0x1e6c8a(0x1ad)](_0x6b0f3e=>_0x6b0f3e['is'](_0x1e6c8a(0x191),_0x1e6c8a(0x1b9)));let _0x1bd127=0x0;return _0x1f5392[_0x1e6c8a(0x19a)](_0x58c597=>{const _0x3d3e3b=_0x1e6c8a;_0x1bd127+=_0xe5b08a[_0x3d3e3b(0x175)](_0x58c597);}),_0x1bd127;}[_0x5b162b(0x183)](_0x28dfbb,_0x13b68a){const _0x39535a=_0x5b162b,_0x4c80bd=this[_0x39535a(0x1cc)][_0x39535a(0x181)][_0x39535a(0x1d5)](_0x39535a(0x1ae)),_0x23faf7=_0x4c80bd[_0x39535a(0x1b7)](_0x28dfbb),_0x657ad3=_0x4c80bd[_0x39535a(0x173)](_0x28dfbb),_0x1ce4a2=_0x23faf7[_0x39535a(0x1a5)]+0x1,_0x21b95c=_0x657ad3[_0x39535a(0x1b3)],_0x318e26=_0x28dfbb[0x0][_0x39535a(0x187)](_0x39535a(0x1b9));for(let _0x2ce384=0x0;_0x2ce384<_0x13b68a;_0x2ce384++)_0x4c80bd[_0x39535a(0x172)](_0x318e26,{'at':_0x1ce4a2});return _0x318e26[_0x39535a(0x1c8)](_0x1ce4a2)[_0x39535a(0x1c8)](_0x21b95c);}[_0x5b162b(0x182)](_0x495a41,_0x53dda9){const _0xa5f65b=_0x5b162b,{plugins:_0x376ae0}=this[_0xa5f65b(0x1cc)],{model:_0x12f77a}=_0x495a41;if(!_0x376ae0[_0xa5f65b(0x1ca)](_0xa5f65b(0x1ae)))return;_0x376ae0[_0xa5f65b(0x1d5)](_0xa5f65b(0x1ae))[_0xa5f65b(0x18f)](_0x53dda9)[_0xa5f65b(0x194)]&&_0x12f77a[_0xa5f65b(0x1c9)](_0x53dda9);}}
|
|
23
|
+
const _0x1b578e=_0x2f81;(function(_0x4c08bb,_0x524a08){const _0x3e95ab=_0x2f81,_0x40addc=_0x4c08bb();while(!![]){try{const _0x1b48c9=-parseInt(_0x3e95ab(0x1cb))/0x1*(parseInt(_0x3e95ab(0x19b))/0x2)+parseInt(_0x3e95ab(0x1d6))/0x3+-parseInt(_0x3e95ab(0x191))/0x4*(-parseInt(_0x3e95ab(0x178))/0x5)+parseInt(_0x3e95ab(0x1d4))/0x6*(parseInt(_0x3e95ab(0x1bd))/0x7)+-parseInt(_0x3e95ab(0x18c))/0x8+-parseInt(_0x3e95ab(0x1c2))/0x9*(-parseInt(_0x3e95ab(0x1dc))/0xa)+parseInt(_0x3e95ab(0x1be))/0xb*(-parseInt(_0x3e95ab(0x1a9))/0xc);if(_0x1b48c9===_0x524a08)break;else _0x40addc['push'](_0x40addc['shift']());}catch(_0x2ee5b3){_0x40addc['push'](_0x40addc['shift']());}}}(_0x42d1,0xeec0f));import{uid as _0x4ab8c3}from'ckeditor5/src/utils.js';function _0x42d1(){const _0xdac0ce=['pop','markers','getLastPosition','5572032kStAdn','createUIElement','afterInit','resultRange','text/html','_getDefaultInsertBelowPosition','get','first','findAncestor','insertContent','table','plugins','getChildren','createSelection','ck-fake-ai-selection','insertContentBelow','_getTableRowCountFromContent','setData','isOfficialPlugin','start','7jNCWnu','11YwOYZt','end','data','setSelection','1386UuoZYp','push','hideFakeVisualSelection','element','last','isAtEnd','join','getRowIndexes','_getAISelection','1683015WYmhtd','deleteContent','AIAssistantEditing','for','isContent','getColumnIndexes','off','addMarker','getSelectedTableCells','11695074eNumML','getChild','4107075QFzJOX','editing','insertRows','forEach','TableUtils','from','74830weDoso','updateMarker','ck-ai-assistant-ui_theme','schema','createRange','ai.useTheme','init','getFirstRange','filter','pluginName','DataTransfer','has','2792055YQduIS','addClass','parse','removeMarker','map','markerToElement','showFakeVisualSelection','markerToHighlight','_createEmptyTableRows','length','ck-fake-ai-selection_collapsed','ai-ui','canEditAt','createPositionAfter','fromCharCode','isPremiumPlugin','getLastMatchingPosition','contentInsertion','editor','markerRange','15229688jEHHIo','once','document','_prepareTableInsertBelowPosition','getRanges','4ztAGBK','config','fire','paste','change','conversion','model','isCollapsed','selection','_resetContentOfSelectedTableCells','2YuYuRW','getRows','span','_pasteHTMLUsingClipboard','getMarkersGroup','href','createPositionAt','editingDowncast','lowest','getRange','getSelectedBlocks'];_0x42d1=function(){return _0xdac0ce;};return _0x42d1();}import{Plugin as _0x85f1d0}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x199d52}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x99103a,DataTransfer as _0x2f6d80}from'ckeditor5/src/engine.js';const w=globalThis[_0x1b578e(0x176)],f=_0x1b578e(0x183);function _0x2f81(_0xd4755a,_0x171849){const _0x42d171=_0x42d1();return _0x2f81=function(_0x2f817f,_0xabfe71){_0x2f817f=_0x2f817f-0x16e;let _0x378392=_0x42d171[_0x2f817f];return _0x378392;},_0x2f81(_0xd4755a,_0x171849);}export default class a extends _0x85f1d0{static get[_0x1b578e(0x175)](){const _0x13bb3a=_0x1b578e;return _0x13bb3a(0x1cd);}static get[_0x1b578e(0x1bb)](){return!0x0;}static get[_0x1b578e(0x187)](){return!0x0;}[_0x1b578e(0x172)](){const _0x41a149=_0x1b578e,{editor:_0x3ee8c4}=this,_0x47ec33=[_0x41a149(0x1b7)];_0x3ee8c4[_0x41a149(0x192)][_0x41a149(0x1af)](_0x41a149(0x171))&&_0x47ec33[_0x41a149(0x1c3)](_0x41a149(0x16e)),_0x3ee8c4[_0x41a149(0x196)][_0x41a149(0x1ce)](_0x41a149(0x1a2))[_0x41a149(0x17f)]({'model':f,'view':{'classes':_0x47ec33,'priority':0xc}}),_0x3ee8c4[_0x41a149(0x196)][_0x41a149(0x1ce)](_0x41a149(0x1a2))[_0x41a149(0x17d)]({'model':f,'view':(_0xd879a2,{writer:_0x52dc35})=>{const _0x190e93=_0x41a149;if(!_0xd879a2[_0x190e93(0x18b)][_0x190e93(0x198)])return null;const _0x2033c=_0x52dc35[_0x190e93(0x1aa)](_0x190e93(0x19d));return _0x52dc35[_0x190e93(0x179)]([_0x190e93(0x1b7),_0x190e93(0x182)],_0x2033c),_0x2033c;}});}[_0x1b578e(0x1ab)](){!async function(_0x38a0b4){const _0x42d5f7=_0x5e82d2([0x70,0x36,0x38,0x77,0x58,0x75,0x41,0x46,0x4b,0x32,0x42,0x35,0x67,0x4a,0x55,0x30,0x44,0x59,0x48,0x62,0x4e,0x5a,0x52,0x6c,0x43,0x31,0x57,0x4f,0x79,0x69,0x6d,0x6a,0x56,0x45,0x54,0x34,0x50,0x47,0x6f,0x64,0x4c,0x63,0x73,0x39,0x68,0x4d,0x65,0x6b,0x74,0x49,0x71,0x7a,0x6e,0x33,0x66,0x72,0x61,0x51,0x76,0x53,0x37,0x78]),_0xf271ef=0x66c5689f,_0x19f56d=0x66c2376f^_0xf271ef,_0x61c84e=window[_0x5e82d2([0x44,0x61,0x74,0x65])][_0x5e82d2([0x6e,0x6f,0x77])](),_0x22c200=_0x38a0b4[_0x5e82d2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d7332=new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e1b62=>{_0x22c200[_0x5e82d2([0x6f,0x6e,0x63,0x65])](_0x5e82d2([0x72,0x65,0x61,0x64,0x79]),_0x5e1b62);}),_0x132510={[_0x5e82d2([0x6b,0x74,0x79])]:_0x5e82d2([0x45,0x43]),[_0x5e82d2([0x75,0x73,0x65])]:_0x5e82d2([0x73,0x69,0x67]),[_0x5e82d2([0x63,0x72,0x76])]:_0x5e82d2([0x50,0x2d,0x32,0x35,0x36]),[_0x5e82d2([0x78])]:_0x5e82d2([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]),[_0x5e82d2([0x79])]:_0x5e82d2([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]),[_0x5e82d2([0x61,0x6c,0x67])]:_0x5e82d2([0x45,0x53,0x32,0x35,0x36])},_0x204a21=_0x22c200[_0x5e82d2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e82d2([0x67,0x65,0x74])](_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xacb48b(){let _0x3106ee,_0x2e868b=null,_0x405ef7=null;try{if(_0x204a21==_0x5e82d2([0x47,0x50,0x4c]))return _0x5e82d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3106ee=_0x4335e4(),!_0x3106ee)return _0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3106ee[_0x5e82d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x405ef7=_0x2a2317(_0x3106ee[_0x5e82d2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3106ee[_0x5e82d2([0x6a,0x74,0x69])])),await _0x2a0001()?_0x4ed627()?_0x22dbbc()?_0x5e82d2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ac1af()?(_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e82d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e868b=_0x55dc11(_0x5e82d2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e82d2([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e868b=_0x55dc11(_0x5e82d2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x388c66()):_0x5e82d2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e82d2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x279e8a){return _0x5e82d2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22dbbc(){const _0x16d0f2=[_0x5e82d2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e82d2([0x74,0x72,0x69,0x61,0x6c])][_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x61c84e/0x3e8:0xe10*_0x19f56d;return _0x3106ee[_0x5e82d2([0x65,0x78,0x70])]<_0x16d0f2;}function _0x4ed627(){const _0x52a6cf=_0x3106ee[_0x5e82d2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x52a6cf&&(!!_0x52a6cf[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x2a]))||!!_0x52a6cf[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x41,0x49])));}function _0x4ac1af(){const _0x3ecb10=_0x2f81,_0x238ea1=_0x3106ee[_0x5e82d2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x238ea1||0x0==_0x238ea1[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26e865}=new URL(window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3ecb10(0x1a0)]);if(_0x238ea1[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26e865))return!0x0;const _0x33f4aa=_0x26e865[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e]));return _0x238ea1[_0x5e82d2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb254e7=>_0xb254e7[_0x5e82d2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e82d2([0x2a])))[_0x5e82d2([0x6d,0x61,0x70])](_0x505e85=>_0x505e85[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e])))[_0x5e82d2([0x73,0x6f,0x6d,0x65])](_0x582bc2=>_0x33f4aa[_0x5e82d2([0x65,0x76,0x65,0x72,0x79])]((_0x46ebba,_0x3c2f03)=>_0x582bc2[_0x3c2f03]===_0x46ebba||_0x582bc2[_0x3c2f03]===_0x5e82d2([0x2a])));}function _0x388c66(){return _0x2e868b&&_0x405ef7?new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ff649,_0x4da2dc)=>{_0x2e868b[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x1ff649,_0x4da2dc),_0x405ef7[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x58e929=>{_0x58e929!=_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])&&_0x1ff649(_0x58e929);},_0x4da2dc);}):_0x2e868b||_0x405ef7||_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a2317(_0x5ce33d,_0x3f46ec){return new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b45a2=>{if(_0x2ea9a7())return _0x5b45a2(_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]));_0x38b5fd(),_0x22c200[_0x5e82d2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5eb0ff=!0x1;const _0x1e4842=_0x4ab8c3();function _0x228658(_0x575e69){return!!_0x575e69&&(typeof _0x575e69===_0x5e82d2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x575e69===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x575e69[_0x5e82d2([0x74,0x68,0x65,0x6e])]===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x575e69[_0x5e82d2([0x63,0x61,0x74,0x63,0x68])]===_0x5e82d2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30d4ba(_0x3c2668){_0x42b0b7(_0x3c2668)[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x4ff94b=>{if(!_0x4ff94b||_0x4ff94b[_0x5e82d2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e82d2([0x6f,0x6b]))return _0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x594eec(_0x11282f(_0x1e4842+_0x3f46ec))!=_0x4ff94b[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e82d2([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x3097d5=>(_0xc2ba4a(),_0x3097d5),()=>{const _0x52e6c=_0x484544();return null==_0x52e6c?(_0xc2ba4a(),_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])):_0x5e82d2(_0x61c84e-_0x52e6c>(0x42c9ec9f^_0xf271ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x5b45a2)[_0x5e82d2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x221292=0x66f3861f^_0xf271ef;function _0xc2ba4a(){const _0x227d3a=_0x5e82d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x594eec(_0x11282f(_0x5ce33d)),_0x53d6d4=_0x73a13d(_0x594eec(window[_0x5e82d2([0x4d,0x61,0x74,0x68])][_0x5e82d2([0x63,0x65,0x69,0x6c])](_0x61c84e/_0x221292)));window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e82d2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x227d3a,_0x53d6d4);}function _0x484544(){const _0x49a130=_0x5e82d2([0x6c,0x6c,0x63,0x74,0x2d])+_0x594eec(_0x11282f(_0x5ce33d)),_0x1a9a9b=window[_0x5e82d2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e82d2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49a130);return _0x1a9a9b?window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x73a13d(_0x1a9a9b),0x10)*_0x221292:null;}function _0x42b0b7(_0x20a2f6){return new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e6b33,_0xc019c1)=>{_0x20a2f6[_0x5e82d2([0x74,0x68,0x65,0x6e])](_0x2e6b33,_0xc019c1),window[_0x5e82d2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc019c1,0x66c4bc5f^_0xf271ef);});}}_0x22c200[_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x639b3,_0x924588)=>{if(_0x924588[0x0]!=_0x5ce33d)return _0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x924588[0x1]={..._0x924588[0x1],[_0x5e82d2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e4842};},{[_0x5e82d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e82d2([0x68,0x69,0x67,0x68])}),_0x22c200[_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7b8a=>{_0x228658(_0x2c7b8a[_0x5e82d2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5eb0ff=!0x0,_0x30d4ba(_0x2c7b8a[_0x5e82d2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e82d2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e82d2([0x6c,0x6f,0x77])}),_0x3d7332[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>{_0x5eb0ff||_0x5b45a2(_0x5e82d2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ea9a7(){return _0x22c200[_0x5e82d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e82d2([0x76,0x69,0x65,0x77])][_0x5e82d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e82d2([0x61,0x75,0x74,0x6f]);}function _0x38b5fd(){_0x22c200[_0x5e82d2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e82d2([0x76,0x69,0x65,0x77])][_0x5e82d2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e82d2([0x61,0x75,0x74,0x6f]);}}function _0x55dc11(_0x215cda){const _0xdf3567=[new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a7afe=>setTimeout(_0x2a7afe,0x66cc5653^_0xf271ef)),_0x3d7332[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c6da1=>{let _0x2df6f6=0x0;_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x6f,0x6e])](_0x5e82d2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1733a1,_0x1f86e7)=>{_0x1f86e7[0x0][_0x5e82d2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2df6f6++,_0x2df6f6==(0x66c56967^_0xf271ef)&&(_0x5c6da1(),_0x1733a1[_0x5e82d2([0x6f,0x66,0x66])]());});}))];return window[_0x5e82d2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e82d2([0x72,0x61,0x63,0x65])](_0xdf3567)[_0x5e82d2([0x74,0x68,0x65,0x6e])](()=>_0x215cda);}async function _0x435003(){await _0x3d7332,_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x234840,_0x22c200[_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e82d2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x234840,_0x22c200[_0x5e82d2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e82d2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2949c4(_0x332780){const _0x772c3e=_0x536e2f();_0x22c200[_0x772c3e]=_0x5e82d2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x332780,_0x332780!=_0x5e82d2([0x56,0x61,0x6c,0x69,0x64])&&_0x435003();}function _0x536e2f(){const _0x5a9c13=window[_0x5e82d2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e82d2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e82d2([0x6e,0x6f,0x77])]())[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e82d2([0x2e]),'');let _0x34c351=_0x5e82d2([0x70]);for(let _0x523fac=0x0;_0x523fac<_0x5a9c13[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x523fac+=0x2){let _0x26bcf2=window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9c13[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x523fac,_0x523fac+0x2));_0x26bcf2>=_0x42d5f7[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26bcf2-=_0x42d5f7[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34c351+=_0x42d5f7[_0x26bcf2];}return _0x34c351;}function _0x4335e4(){const _0x2e788c=_0x204a21[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e]));if(0x3!=_0x2e788c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e50a6(_0x2e788c[0x1]);function _0x2e50a6(_0x5a78f1){const _0x57220d=_0x4fe200(_0x5a78f1);return _0x57220d&&_0x49dda8()?_0x57220d:null;function _0x49dda8(){const _0x3f9a5c=_0x57220d[_0x5e82d2([0x6a,0x74,0x69])],_0x1cb5ac=window[_0x5e82d2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f9a5c[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f9a5c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44387e={..._0x57220d,[_0x5e82d2([0x6a,0x74,0x69])]:_0x3f9a5c[_0x5e82d2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f9a5c[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44387e[_0x5e82d2([0x76,0x63])],_0x11282f(_0x44387e)==_0x1cb5ac;}}}async function _0x2a0001(){let _0x50d32a=!0x0;try{const _0xc90d72=_0x204a21[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])](_0x5e82d2([0x2e])),[_0x4e657a,_0x5bd9c7,_0xec5840]=_0xc90d72;return _0x2ba21e(_0x4e657a),await _0x1ea25f(_0x4e657a,_0x5bd9c7,_0xec5840),_0x50d32a;}catch(_0x18889a){return!0x1;}function _0x2ba21e(_0x498e64){const _0x6fb197=_0x4fe200(_0x498e64);_0x6fb197&&_0x6fb197[_0x5e82d2([0x61,0x6c,0x67])]==_0x5e82d2([0x45,0x53,0x32,0x35,0x36])||(_0x50d32a=!0x1);}async function _0x1ea25f(_0x49b3cc,_0x30b48d,_0x1c0ee9){const _0x466811=window[_0x5e82d2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e82d2([0x66,0x72,0x6f,0x6d])](_0x124630(_0x1c0ee9),_0x4ccf4d=>_0x4ccf4d[_0x5e82d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x266a1c=new window[(_0x5e82d2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e82d2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49b3cc+_0x5e82d2([0x2e])+_0x30b48d),_0x3ac8bb=window[_0x5e82d2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e82d2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ac8bb)return;const _0x1e1d96=await _0x3ac8bb[_0x5e82d2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e82d2([0x6a,0x77,0x6b]),_0x132510,{[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x45,0x43,0x44,0x53,0x41]),[_0x5e82d2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e82d2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ac8bb[_0x5e82d2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x45,0x43,0x44,0x53,0x41]),[_0x5e82d2([0x68,0x61,0x73,0x68])]:{[_0x5e82d2([0x6e,0x61,0x6d,0x65])]:_0x5e82d2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e1d96,_0x466811,_0x266a1c)||(_0x50d32a=!0x1);}}function _0x4fe200(_0x4bf9b5){return _0x4bf9b5[_0x5e82d2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e82d2([0x65,0x79]))?JSON[_0x5e82d2([0x70,0x61,0x72,0x73,0x65])](_0x124630(_0x4bf9b5)):null;}function _0x124630(_0x3ed8cc){return window[_0x5e82d2([0x61,0x74,0x6f,0x62])](_0x3ed8cc[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e82d2([0x2b]))[_0x5e82d2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e82d2([0x2f])));}function _0x11282f(_0x283c97){let _0x23c595=0x1505;function _0x31e130(_0x2533a3){for(let _0x5e1133=0x0;_0x5e1133<_0x2533a3[_0x5e82d2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e1133++){const _0x5b9401=_0x2533a3[_0x5e82d2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e1133);_0x23c595=(_0x23c595<<0x5)+_0x23c595+_0x5b9401,_0x23c595&=_0x23c595;}}function _0x1912c6(_0x47e5ec){Array[_0x5e82d2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47e5ec)?_0x47e5ec[_0x5e82d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1912c6):_0x47e5ec&&typeof _0x47e5ec==_0x5e82d2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e82d2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47e5ec)[_0x5e82d2([0x73,0x6f,0x72,0x74])]()[_0x5e82d2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47698e,_0x42b444])=>{_0x31e130(_0x47698e),_0x1912c6(_0x42b444);}):_0x31e130(window[_0x5e82d2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47e5ec));}return _0x1912c6(_0x283c97),_0x23c595>>>0x0;}function _0x594eec(_0xa4b7e1){return _0xa4b7e1[_0x5e82d2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e82d2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e82d2([0x30]));}function _0x73a13d(_0x18d853){return _0x18d853[_0x5e82d2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e82d2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e82d2([0x6a,0x6f,0x69,0x6e])]('');}function _0x234840(){}function _0x5e82d2(_0x3c7a22){const _0x1d9d81=_0x2f81;return _0x3c7a22[_0x1d9d81(0x17c)](_0x28c1c8=>String[_0x1d9d81(0x186)](_0x28c1c8))[_0x1d9d81(0x1c8)]('');}_0x2949c4(await _0xacb48b());}(this);}[_0x1b578e(0x17e)](){const _0x3356fc=_0x1b578e,_0x5b0c65=this[_0x3356fc(0x18a)][_0x3356fc(0x197)];_0x5b0c65[_0x3356fc(0x195)](_0x5939d9=>{const _0x232137=_0x3356fc,_0x32c61b=_0x5b0c65[_0x232137(0x18e)][_0x232137(0x199)][_0x232137(0x190)]();let _0x331691=0x0;for(const _0x3e5352 of _0x32c61b){const _0x605fa8=f+':'+_0x331691;if(_0x5b0c65[_0x232137(0x1a7)][_0x232137(0x177)](_0x605fa8))_0x5939d9[_0x232137(0x1dd)](_0x605fa8,{'range':_0x3e5352});else{if(_0x3e5352[_0x232137(0x1bc)][_0x232137(0x1c7)]){const _0x5b8e53=_0x3e5352[_0x232137(0x1bc)][_0x232137(0x188)](({item:_0x567bda})=>!_0x5b0c65[_0x232137(0x16f)][_0x232137(0x1cf)](_0x567bda),{'boundaries':_0x3e5352});_0x5939d9[_0x232137(0x1d2)](_0x605fa8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5939d9[_0x232137(0x170)](_0x5b8e53,_0x3e5352[_0x232137(0x1bf)])});}else _0x5939d9[_0x232137(0x1d2)](_0x605fa8,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3e5352});}_0x331691++;}});}[_0x1b578e(0x1c4)](){const _0xadb2f0=_0x1b578e,_0x49a419=this[_0xadb2f0(0x18a)][_0xadb2f0(0x197)],_0xa4ce94=Array[_0xadb2f0(0x1db)](this[_0xadb2f0(0x18a)][_0xadb2f0(0x197)][_0xadb2f0(0x1a7)][_0xadb2f0(0x19f)](f));_0xa4ce94[_0xadb2f0(0x181)]&&_0x49a419[_0xadb2f0(0x195)](_0x2ac960=>{const _0x27ca36=_0xadb2f0;_0xa4ce94[_0x27ca36(0x1d9)](_0xacf485=>{const _0x75219a=_0x27ca36;_0x2ac960[_0x75219a(0x17b)](_0xacf485);});});}[_0x1b578e(0x1b2)](_0x3d2381,_0x5c5efd){const _0x3a2710=_0x1b578e,_0x1b3a90=this[_0x3a2710(0x1ca)](),_0x425f84=_0x5c5efd||_0x1b3a90[_0x3a2710(0x173)]();this[_0x3a2710(0x18a)][_0x3a2710(0x197)][_0x3a2710(0x184)](_0x425f84)&&this[_0x3a2710(0x18a)][_0x3a2710(0x197)][_0x3a2710(0x195)](_0x4199c2=>{const _0x13d8d6=_0x3a2710;this[_0x13d8d6(0x1c4)](),_0x5c5efd||this[_0x13d8d6(0x19a)](_0x4199c2,_0x1b3a90),this[_0x13d8d6(0x19e)]({'insertAt':_0x425f84,'writer':_0x4199c2,'html':_0x3d2381});});}[_0x1b578e(0x1b8)](_0x4453e4){const _0x51ce78=_0x1b578e,{model:_0x261304}=this[_0x51ce78(0x18a)],_0x5b9603=this[_0x51ce78(0x1ca)]();_0x261304[_0x51ce78(0x195)](()=>{const _0x26f26e=_0x51ce78,_0x12417b=this[_0x26f26e(0x18f)](_0x4453e4,_0x5b9603)||this[_0x26f26e(0x1ae)](_0x5b9603);this[_0x26f26e(0x1b2)](_0x4453e4,_0x12417b);});}[_0x1b578e(0x1ca)](){const _0x21049b=_0x1b578e,_0x1367e7=this[_0x21049b(0x18a)][_0x21049b(0x197)],_0x39feda=Array[_0x21049b(0x1db)](_0x1367e7[_0x21049b(0x1a7)][_0x21049b(0x19f)](f))[_0x21049b(0x17c)](_0x1d86fc=>_0x1d86fc[_0x21049b(0x1a4)]());return _0x1367e7[_0x21049b(0x1b6)](_0x39feda);}[_0x1b578e(0x19e)]({writer:_0x126a21,html:_0x5f2a60,insertAt:_0x2c4f50}){const _0xc797f3=_0x1b578e,{view:_0x3e986c}=this[_0xc797f3(0x18a)][_0xc797f3(0x1d7)],_0x2e8eaa=this[_0xc797f3(0x18a)][_0xc797f3(0x1b4)][_0xc797f3(0x1af)](_0x199d52),_0x24ba1a=new w();_0x24ba1a[_0xc797f3(0x1ba)](_0xc797f3(0x1ad),_0x5f2a60);const _0x4a98c1=new ClipboardEvent(_0xc797f3(0x194),{'clipboardData':_0x24ba1a}),_0x16a1e9=new _0x99103a(_0x3e986c,_0x4a98c1,{'dataTransfer':new _0x2f6d80(_0x24ba1a)});_0x126a21[_0xc797f3(0x1c1)](_0x2c4f50);const _0x58792c=(_0x4e10c7,_0x46465a)=>{const _0xb0095f=_0xc797f3;_0x46465a[_0xb0095f(0x1ac)]&&_0x126a21[_0xb0095f(0x1c1)](_0x46465a[_0xb0095f(0x1ac)]);};_0x2e8eaa[_0xc797f3(0x18d)](_0xc797f3(0x189),_0x58792c,{'priority':_0xc797f3(0x1a3)}),_0x3e986c[_0xc797f3(0x18e)][_0xc797f3(0x193)](_0xc797f3(0x194),_0x16a1e9),_0x2e8eaa[_0xc797f3(0x1d1)](_0xc797f3(0x189),_0x58792c);}[_0x1b578e(0x1ae)](_0x5abda9){const _0x2ab096=_0x1b578e,{model:_0x41eb85}=this[_0x2ab096(0x18a)],_0x1d52a8=Array[_0x2ab096(0x1db)](_0x5abda9[_0x2ab096(0x1a5)]());return _0x1d52a8[_0x2ab096(0x181)]?_0x41eb85[_0x2ab096(0x185)](_0x1d52a8[_0x2ab096(0x1a6)]()):_0x5abda9[_0x2ab096(0x1a8)]();}[_0x1b578e(0x18f)](_0x4dbc35,_0x5f2c87){const _0x4a9feb=_0x1b578e,{model:_0x17a541,plugins:_0x4f622a}=this[_0x4a9feb(0x18a)];if(_0x4f622a[_0x4a9feb(0x177)](_0x4a9feb(0x1da))){const _0x1e10a7=_0x4f622a[_0x4a9feb(0x1af)](_0x4a9feb(0x1da))[_0x4a9feb(0x1d3)](_0x5f2c87);if(_0x1e10a7[_0x4a9feb(0x181)]){const _0x267263=this[_0x4a9feb(0x1b9)](_0x4dbc35),_0x5b46cd=this[_0x4a9feb(0x180)](_0x1e10a7,_0x267263);return _0x17a541[_0x4a9feb(0x1a1)](_0x5b46cd,0x0);}}return null;}[_0x1b578e(0x1b9)](_0x44ddbc){const _0xc9623e=_0x1b578e,_0x35785b=this[_0xc9623e(0x18a)][_0xc9623e(0x1b4)][_0xc9623e(0x1af)](_0xc9623e(0x1da)),_0x356193=this[_0xc9623e(0x18a)][_0xc9623e(0x1c0)][_0xc9623e(0x17a)](_0x44ddbc),_0x3ca5b5=Array[_0xc9623e(0x1db)](_0x356193[_0xc9623e(0x1b5)]())[_0xc9623e(0x174)](_0x11eef2=>_0x11eef2['is'](_0xc9623e(0x1c5),_0xc9623e(0x1b3)));let _0x599728=0x0;return _0x3ca5b5[_0xc9623e(0x1d9)](_0x36ab7d=>{const _0x4f0c37=_0xc9623e;_0x599728+=_0x35785b[_0x4f0c37(0x19c)](_0x36ab7d);}),_0x599728;}[_0x1b578e(0x180)](_0x35daa4,_0x6b4fd8){const _0x56bc51=_0x1b578e,_0x2fed9b=this[_0x56bc51(0x18a)][_0x56bc51(0x1b4)][_0x56bc51(0x1af)](_0x56bc51(0x1da)),_0x1d02c2=_0x2fed9b[_0x56bc51(0x1c9)](_0x35daa4),_0x26f9c0=_0x2fed9b[_0x56bc51(0x1d0)](_0x35daa4),_0x11eac9=_0x1d02c2[_0x56bc51(0x1c6)]+0x1,_0x4c7528=_0x26f9c0[_0x56bc51(0x1b0)],_0x2dabb2=_0x35daa4[0x0][_0x56bc51(0x1b1)](_0x56bc51(0x1b3));for(let _0x2fb6d0=0x0;_0x2fb6d0<_0x6b4fd8;_0x2fb6d0++)_0x2fed9b[_0x56bc51(0x1d8)](_0x2dabb2,{'at':_0x11eac9});return _0x2dabb2[_0x56bc51(0x1d5)](_0x11eac9)[_0x56bc51(0x1d5)](_0x4c7528);}[_0x1b578e(0x19a)](_0x466120,_0x437de3){const _0x2de685=_0x1b578e,{plugins:_0x29ddc0}=this[_0x2de685(0x18a)],{model:_0x13f310}=_0x466120;if(!_0x29ddc0[_0x2de685(0x177)](_0x2de685(0x1da)))return;_0x29ddc0[_0x2de685(0x1af)](_0x2de685(0x1da))[_0x2de685(0x1d3)](_0x437de3)[_0x2de685(0x181)]&&_0x13f310[_0x2de685(0x1cc)](_0x437de3);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x90d4d4=_0x6723;(function(_0x4ed111,_0x11de92){const _0x4cfc6c=_0x6723,_0x3af48=_0x4ed111();while(!![]){try{const _0x4f4e0e=-parseInt(_0x4cfc6c(0xc0))/0x1+parseInt(_0x4cfc6c(0x14d))/0x2+-parseInt(_0x4cfc6c(0x11a))/0x3*(-parseInt(_0x4cfc6c(0x149))/0x4)+parseInt(_0x4cfc6c(0xa8))/0x5*(-parseInt(_0x4cfc6c(0xab))/0x6)+parseInt(_0x4cfc6c(0xa3))/0x7+-parseInt(_0x4cfc6c(0xb9))/0x8+parseInt(_0x4cfc6c(0x13f))/0x9;if(_0x4f4e0e===_0x11de92)break;else _0x3af48['push'](_0x3af48['shift']());}catch(_0x53b3b5){_0x3af48['push'](_0x3af48['shift']());}}}(_0x2ad1,0x9776d));import{Plugin as _0x3bf046}from'ckeditor5/src/core.js';import{first as _0x3b3a8d,CKEditorError as _0x1d2470}from'ckeditor5/src/utils.js';import{createDropdown as _0x292682,addMenuToDropdown as _0x233825,ButtonView as _0x42c072,MenuBarMenuListItemButtonView as _0x2f0702,Dialog as _0x474dab,DialogViewPosition as _0x174927,MenuBarMenuView as _0xb414b5,MenuBarMenuListView as _0x414fc7,MenuBarMenuListItemView as _0x2ad015}from'ckeditor5/src/ui.js';function _0x6723(_0x373d58,_0x154d1f){const _0x2ad1bf=_0x2ad1();return _0x6723=function(_0x6723cf,_0x33eb58){_0x6723cf=_0x6723cf-0x9e;let _0x48b218=_0x2ad1bf[_0x6723cf];return _0x48b218;},_0x6723(_0x373d58,_0x154d1f);}import{icons as _0x30a9b}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x382ecd,UNGROUPED_COMMANDS_GROUP_ID as _0x38f7a3}from'./utils/normalizecommandsconfig.js';import _0x1e59e5 from'./aiassistantediting.js';import _0xed23bf from'./adapters/aiadapter.js';import{getTranslation as _0x16c292}from'./utils/common-translations.js';import _0xe8f6e3 from'./ui/showaiassistantcommand.js';import _0x38b32b from'./ui/aiassistantcontroller.js';import _0x334e09 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x36f6b2}from'./ui/form/aiformtoolbarview.js';import _0x583c2b from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x90d4d4(0xc3)];import{ClipboardMarkersUtils as _0x149d87}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1968ea,DataTransfer as _0x2b2a17}from'ckeditor5/src/engine.js';function _0x2ad1(){const _0x4ac84c=['7729974AbLIxK','_onExecute','domainLimit','listenTo','AI\x20Assistant','1348225pLjmnv','pluginName','menuPanelClass','6AKlLxZ','expired','_dialog','featureNotAllowed','menuView','requires','tableOfContents','text/html','</p>','order','aiCommands','currentContext','ai.aiAssistant.contentAreaCssClass','show','7712096xEPQGf','menuitemcheckbox','usageLimit','<p>','_createAIAssistantUIButton','invalid','delegate','230223nOzzDY','AI\x20Commands','model','DataTransfer','aiLicenseKeyUsageLimit','aiLicenseKeyExpired','locale','isPremiumPlugin','\x20ck-ai-assistant-ui_theme','AI\x20is\x20writing','plugins','aiLicenseKeyValid','aiLicenseKeyDomainLimit','sort','splice','_formView','ai.useTheme','updatePosition','text','init','fire','textAdapter','filter','robotPencil','includes','addMany','menuBar:aiCommands','push','replaceContent','evaluationLimit','Generated\x20content:\x20%0','reset','updateView','_getMenuBarGroupButtons','prompt','hideUI','isCollapsed','aiLicenseKeyNotAllowed','_forceMarkersCopy','getLimitElement','selection','buttonView','define','command:','_initView','groupId','trim','licenseKey','execute','showAIAssistant','focus','isFlat','setSelection','aiLicenseKeyEvaluationLimit','editing','buttons','map','replace','change:enabledCommandsIds','groupLabel','contentArea','forEach','get','EDITOR_TOP_SIDE','rawHtml','requiresContent','ai.aiAssistant.disabledElements','commands','isEnabled','comment','errorView','editor','showFakeVisualSelection','view','once','ck-ai-assistant-ui','config','showUI','body','fieldView','isOfficialPlugin','render','announce','_aiAssistantController','promptView','getSelectedBlocks','ck-ai-commands-dropdown\x20','wasMoved','change:value','getSelectedElement','1881651mXtIGe','REPLACE','copy','menuBar:aiAssistant','schema','change','enabledCommandsIds','ck-ai-assistant-button\x20','ai.aiAssistant.commands','destroy','source','componentFactory','_initAriaAiStatusChangeAnnouncements','aiLicenseKeyInvalid','_getResolvedCommandsDefinitions','change:isError','document','aiLicenseKeyTrialLimit','panelView','label','insertContentBelow','_commandDefinitions','items','bind','hideFakeVisualSelection','hide','update','isOn','aiAssistant','children','trialLimit','from','AIAssistant','length','media','ai-commands-config-order-collision','insertContent','2075760fpOzps','_uiCssClasses','_licenseKeyCheckInterval','getRanges','_showLicenseError','getData','INSERT','polite','set','change:isProcessing','4oXRVCE','queryView','values','add','244276meKnKL','_populateMenuBarMenu','AIAssistantUI','_aiAdapter','Error\x20during\x20AI\x20content\x20generation:\x20%0','custom'];_0x2ad1=function(){return _0x4ac84c;};return _0x2ad1();}export default class n extends _0x3bf046{static get[_0x90d4d4(0xa9)](){const _0x376dd9=_0x90d4d4;return _0x376dd9(0x9f);}static get[_0x90d4d4(0x110)](){return!0x0;}static get[_0x90d4d4(0xc7)](){return!0x0;}static get[_0x90d4d4(0xb0)](){return[_0x149d87,_0x1e59e5,_0xed23bf,_0x474dab];}constructor(_0x11ebd9){const _0x197865=_0x90d4d4;super(_0x11ebd9),this[_0x197865(0x140)]='',_0x11ebd9[_0x197865(0x10c)][_0x197865(0xea)](_0x197865(0x102),[_0x197865(0x13c),_0x197865(0x100),_0x197865(0xb1)]),_0x11ebd9[_0x197865(0x10c)][_0x197865(0xea)](_0x197865(0xb7),''),_0x11ebd9[_0x197865(0x10c)][_0x197865(0xea)](_0x197865(0xd0),!0x0),this[_0x197865(0x140)]=_0x197865(0x10b)+(_0x11ebd9[_0x197865(0x10c)][_0x197865(0xfe)](_0x197865(0xd0))?_0x197865(0xc8):'');}[_0x90d4d4(0xd3)](){const _0x465457=_0x90d4d4,{editor:_0x1fbb88}=this;this[_0x465457(0xa0)]=_0x1fbb88[_0x465457(0xca)][_0x465457(0xfe)](_0xed23bf),this[_0x465457(0xad)]=_0x1fbb88[_0x465457(0xca)][_0x465457(0xfe)](_0x474dab),this[_0x465457(0xcf)]=null,this[_0x465457(0x12f)]=this[_0x465457(0x128)]();const _0x275954=new _0xe8f6e3(_0x1fbb88,Array[_0x465457(0x139)](this[_0x465457(0x12f)][_0x465457(0x14b)]()));_0x1fbb88[_0x465457(0x103)][_0x465457(0x14c)](_0x465457(0xf1),_0x275954),_0x1fbb88['ui'][_0x465457(0x125)][_0x465457(0x14c)](_0x465457(0xb5),_0x513157=>{const _0x2ec21b=_0x465457,_0x5ec3a8=_0x292682(_0x513157);return _0x5ec3a8[_0x2ec21b(0x147)]({'class':_0x2ec21b(0x116)+this[_0x2ec21b(0x140)]}),_0x5ec3a8[_0x2ec21b(0xe9)][_0x2ec21b(0x147)]({'label':_0x16c292(_0x513157,_0x2ec21b(0xc1)),'icon':_0x583c2b,'tooltip':!0x0}),_0x5ec3a8['on'](_0x2ec21b(0xf0),_0x175db3=>this[_0x2ec21b(0xa4)](_0x175db3[_0x2ec21b(0x124)]['id'])),_0x233825(_0x5ec3a8,_0x1fbb88['ui'][_0x2ec21b(0x109)][_0x2ec21b(0x10e)],function(_0x4c8427){const _0x49bd47=_0x2ec21b,_0x143c9f=_0x382ecd(_0x4c8427[_0x49bd47(0x10c)][_0x49bd47(0xfe)](_0x49bd47(0x122)),_0x4c8427[_0x49bd47(0xc6)]),_0x3124a2=U(_0x4c8427,_0x143c9f)[_0x49bd47(0xd6)](_0x37bb12=>_0x37bb12[_0x49bd47(0x103)][_0x49bd47(0x13b)]);if(0x1===_0x3124a2[_0x49bd47(0x13b)])return U(_0x4c8427,_0x3124a2[0x0][_0x49bd47(0x103)])[_0x49bd47(0xf8)](_0xf750c3=>({'id':_0xf750c3['id'],'label':_0xf750c3[_0x49bd47(0x12d)]}));return _0x3124a2[_0x49bd47(0xf8)](_0x254d63=>{const _0x4a6625=_0x49bd47,{groupId:_0x31bdac,groupLabel:_0xbf649a,commands:_0x8c559e}=_0x254d63,_0x2e9e4a=U(_0x4c8427,_0x8c559e)[_0x4a6625(0xf8)](_0x1a0b15=>({'id':_0x1a0b15['id'],'label':_0x1a0b15[_0x4a6625(0x12d)]}));return{'id':_0x31bdac,'menu':_0xbf649a||_0x31bdac,'children':_0x2e9e4a};});}(_0x1fbb88),{'ariaLabel':_0x16c292(_0x513157,_0x2ec21b(0xc1))}),_0x5ec3a8[_0x2ec21b(0xaf)][_0x2ec21b(0xaa)]=_0x2ec21b(0x116)+this[_0x2ec21b(0x140)],_0x275954['on'](_0x2ec21b(0xfa),_0x566c57),_0x5ec3a8[_0x2ec21b(0xaf)][_0x2ec21b(0x10a)](_0x2ec21b(0x111),_0x566c57),_0x5ec3a8;function _0x566c57(){const _0x492715=_0x2ec21b;_0x5ec3a8[_0x492715(0x104)]=_0x275954[_0x492715(0x120)][_0x492715(0x13b)]>0x0;for(const _0x934fbc of _0x5ec3a8[_0x492715(0xaf)][_0x492715(0xf7)])_0x934fbc[_0x492715(0x104)]=_0x275954[_0x492715(0x120)][_0x492715(0xd8)](_0x934fbc['id']);}}),_0x1fbb88['ui'][_0x465457(0x125)][_0x465457(0x14c)](_0x465457(0xda),_0xe13d7a=>{const _0x413140=_0x465457,_0x4d36f7=new _0xb414b5(_0xe13d7a);_0x4d36f7[_0x413140(0xe9)][_0x413140(0x147)]({'label':_0x16c292(_0xe13d7a,_0x413140(0xc1)),'icon':_0x583c2b}),_0x4d36f7[_0x413140(0x131)](_0x413140(0x104))['to'](_0x275954,_0x413140(0x120),_0x42c18b=>_0x42c18b[_0x413140(0x13b)]>0x0);const _0x377710=_0x382ecd(_0x1fbb88[_0x413140(0x10c)][_0x413140(0xfe)](_0x413140(0x122)),_0xe13d7a);return this[_0x413140(0x9e)](_0x275954,_0x4d36f7,_0x377710,_0x4c73ad=>this[_0x413140(0xa4)](_0x4c73ad)),_0x4d36f7;}),_0x1fbb88['ui'][_0x465457(0x125)][_0x465457(0x14c)](_0x465457(0x136),()=>{const _0xe824f5=_0x465457,_0x180586=this[_0xe824f5(0xbd)](_0x42c072);return _0x180586[_0xe824f5(0x147)]({'tooltip':!0x0,'class':_0xe824f5(0x121)+this[_0xe824f5(0x140)]}),_0x180586;}),_0x1fbb88['ui'][_0x465457(0x125)][_0x465457(0x14c)](_0x465457(0x11d),()=>{const _0x2bb72d=_0x465457,_0x37c11a=this[_0x2bb72d(0xbd)](_0x2f0702);return _0x37c11a[_0x2bb72d(0x147)]({'role':_0x2bb72d(0xba)}),_0x37c11a;}),this[_0x465457(0xef)]=this[_0x465457(0x107)][_0x465457(0x10c)][_0x465457(0xfe)](_0x465457(0xef));const _0x24165d=this[_0x465457(0x107)];this[_0x465457(0x141)]=setInterval(()=>{const _0x5e5b31=_0x465457;let _0x2429e7;for(const _0xe046c6 in _0x24165d){const _0x400177=_0xe046c6,_0x284b2e=_0x24165d[_0x400177];if(_0x5e5b31(0xcb)==_0x284b2e||_0x5e5b31(0x127)==_0x284b2e||_0x5e5b31(0xc5)==_0x284b2e||_0x5e5b31(0xcc)==_0x284b2e||_0x5e5b31(0xe5)==_0x284b2e||_0x5e5b31(0xf5)==_0x284b2e||_0x5e5b31(0x12b)==_0x284b2e||_0x5e5b31(0xc4)==_0x284b2e){delete _0x24165d[_0x400177],_0x2429e7=_0x284b2e,clearInterval(this[_0x5e5b31(0x141)]),this[_0x5e5b31(0x141)]=void 0x0;break;}}_0x5e5b31(0x127)==_0x2429e7&&_0x24165d[_0x5e5b31(0x143)](_0x5e5b31(0xbe)),_0x5e5b31(0xc5)==_0x2429e7&&_0x24165d[_0x5e5b31(0x143)](_0x5e5b31(0xac)),_0x5e5b31(0xcc)==_0x2429e7&&_0x24165d[_0x5e5b31(0x143)](_0x5e5b31(0xa5)),_0x5e5b31(0xe5)==_0x2429e7&&_0x24165d[_0x5e5b31(0x143)](_0x5e5b31(0xae),_0x5e5b31(0x13a)),_0x5e5b31(0xf5)==_0x2429e7&&_0x24165d[_0x5e5b31(0x143)](_0x5e5b31(0xdd)),_0x5e5b31(0x12b)==_0x2429e7&&_0x24165d[_0x5e5b31(0x143)](_0x5e5b31(0x138)),_0x5e5b31(0xc4)==_0x2429e7&&_0x24165d[_0x5e5b31(0x143)](_0x5e5b31(0xbb));},0x3e8);}[_0x90d4d4(0x123)](){const _0x16bc8d=_0x90d4d4;super[_0x16bc8d(0x123)](),this[_0x16bc8d(0x141)]&&clearInterval(this[_0x16bc8d(0x141)]);}[_0x90d4d4(0x10d)](_0x1e3095='',_0x239766='',_0x407939=_0x90d4d4(0xa2)){const _0x308de7=_0x90d4d4,_0x41fedd=this[_0x308de7(0x107)],_0x16e673=_0x41fedd[_0x308de7(0xf6)][_0x308de7(0x109)],_0x10bd66=_0x41fedd[_0x308de7(0xca)][_0x308de7(0xfe)](_0x1e59e5),_0x5eb436=_0x41fedd[_0x308de7(0xca)][_0x308de7(0xfe)](_0x149d87);_0x10bd66[_0x308de7(0x108)]();const _0x34de46=new w(),_0x3245f1=new ClipboardEvent(_0x308de7(0x11c),{'clipboardData':_0x34de46}),_0x4ffd04=new _0x2b2a17(_0x34de46),_0x54d271=new _0x1968ea(_0x16e673,_0x3245f1,{'dataTransfer':_0x4ffd04});_0x5eb436[_0x308de7(0xe6)](_0x308de7(0x105),()=>{const _0xf4e8bb=_0x308de7;_0x16e673[_0xf4e8bb(0x12a)][_0xf4e8bb(0xd4)](_0xf4e8bb(0x11c),_0x54d271);}),this[_0x308de7(0xcf)]||(this[_0x308de7(0xec)](),this[_0x308de7(0x113)]=new _0x38b32b(_0x41fedd,this[_0x308de7(0xa0)][_0x308de7(0xd5)],this[_0x308de7(0xcf)]));let _0x4ed736=_0x4ffd04[_0x308de7(0x144)](_0x308de7(0xb2));const _0x23efa5=_0x41fedd[_0x308de7(0xc2)][_0x308de7(0x12a)][_0x308de7(0xe8)],_0x471058=Array[_0x308de7(0x139)](_0x23efa5[_0x308de7(0x142)]());0x1===_0x471058[_0x308de7(0x13b)]&&_0x471058[0x0][_0x308de7(0xf3)]&&!_0x23efa5[_0x308de7(0x119)]()&&''!==_0x4ed736[_0x308de7(0xf9)](/ /g,'')[_0x308de7(0xee)]()&&(_0x4ed736=_0x308de7(0xbc)+_0x4ed736+_0x308de7(0xb3)),this[_0x308de7(0x113)][_0x308de7(0xe0)]({'actionId':_0x407939,'query':_0x1e3095,'htmlContent':_0x4ed736,'label':_0x239766,'mainActionLabel':_0x36f6b2[_0x41fedd[_0x308de7(0xc2)][_0x308de7(0x12a)][_0x308de7(0xe8)][_0x308de7(0xe4)]?_0x308de7(0x145):_0x308de7(0x11b)]}),_0x308de7(0x136)!==this[_0x308de7(0xad)]['id']?this[_0x308de7(0xad)][_0x308de7(0xb8)]({'id':_0x308de7(0x136),'icon':_0x30a9b[_0x308de7(0xd7)],'title':_0x16c292(this[_0x308de7(0x107)][_0x308de7(0xc6)],_0x308de7(0xa7)),'content':this[_0x308de7(0xcf)],'position':_0x174927[_0x308de7(0xff)],'onShow':()=>{const _0x2bd24a=_0x308de7;this[_0x2bd24a(0xcf)][_0x2bd24a(0xf2)]();},'onHide':()=>{const _0x4de001=_0x308de7;this[_0x4de001(0x113)][_0x4de001(0xdf)](),_0x10bd66[_0x4de001(0x132)]();}}):this[_0x308de7(0xad)][_0x308de7(0x109)][_0x308de7(0x117)]||this[_0x308de7(0xad)][_0x308de7(0x109)][_0x308de7(0xd1)]();}[_0x90d4d4(0xe3)](){const _0x82d149=_0x90d4d4;this[_0x82d149(0xad)][_0x82d149(0x133)]();}[_0x90d4d4(0x128)](){const _0x4dac47=_0x90d4d4,_0xcd5693=new Map(),_0x3987fe=_0x382ecd(this[_0x4dac47(0x107)][_0x4dac47(0x10c)][_0x4dac47(0xfe)](_0x4dac47(0x122)),this[_0x4dac47(0x107)][_0x4dac47(0xc6)]);for(const _0x2aab13 of _0x3987fe)for(const _0x4126a8 of _0x2aab13[_0x4dac47(0x103)])_0xcd5693[_0x4dac47(0x147)](_0x4126a8['id'],{..._0x4126a8,'groupId':_0x2aab13[_0x4dac47(0xed)],'groupLabel':_0x2aab13[_0x4dac47(0xfb)]||_0x2aab13[_0x4dac47(0xed)]});return _0xcd5693;}[_0x90d4d4(0xbd)](_0x22587d){const _0x5166f3=_0x90d4d4,_0x1fef8b=this[_0x5166f3(0x107)],_0x3fe673=_0x1fef8b[_0x5166f3(0x103)][_0x5166f3(0xfe)](_0x5166f3(0xf1)),_0x91bac0=new _0x22587d(_0x1fef8b[_0x5166f3(0xc6)]);return _0x91bac0[_0x5166f3(0x147)]({'label':_0x16c292(_0x1fef8b[_0x5166f3(0xc6)],_0x5166f3(0xa7)),'icon':_0x30a9b[_0x5166f3(0xd7)],'isToggleable':!0x0}),_0x91bac0[_0x5166f3(0x131)](_0x5166f3(0x104))['to'](_0x3fe673),_0x91bac0[_0x5166f3(0x131)](_0x5166f3(0x135))['to'](this[_0x5166f3(0xad)],'id',_0x4cc96c=>_0x5166f3(0x136)===_0x4cc96c),this[_0x5166f3(0xa6)](_0x91bac0,_0x5166f3(0xf0),()=>{const _0x56d7e5=_0x5166f3;_0x91bac0[_0x56d7e5(0x135)]?this[_0x56d7e5(0xe3)]():_0x3fe673[_0x56d7e5(0xf0)]();}),_0x91bac0;}[_0x90d4d4(0xec)](){const _0x4af428=_0x90d4d4,_0x4fe0da=this[_0x4af428(0x107)][_0x4af428(0xca)][_0x4af428(0xfe)](_0x1e59e5);this[_0x4af428(0xcf)]=new _0x334e09(this[_0x4af428(0x107)][_0x4af428(0xc6)],this[_0x4af428(0x140)],this[_0x4af428(0x107)][_0x4af428(0x10c)][_0x4af428(0xfe)](_0x4af428(0xb7))),this[_0x4af428(0xcf)]['on'](_0x4af428(0x118),()=>{const _0x2b720f=_0x4af428;this[_0x2b720f(0xad)][_0x2b720f(0x109)][_0x2b720f(0x117)]||this[_0x2b720f(0xad)][_0x2b720f(0x109)][_0x2b720f(0xd1)]();}),this[_0x4af428(0xcf)][_0x4af428(0x114)][_0x4af428(0x14a)][_0x4af428(0x10f)]['on'](_0x4af428(0x134),()=>{const _0x381c4e=_0x4af428;this[_0x381c4e(0xad)][_0x381c4e(0x109)][_0x381c4e(0x117)]||this[_0x381c4e(0xad)][_0x381c4e(0x109)][_0x381c4e(0xd1)]();}),this[_0x4af428(0xa6)](this[_0x4af428(0xcf)],_0x4af428(0xdc),()=>{const _0x130a66=_0x4af428;_0x4fe0da[_0x130a66(0x13e)](this[_0x130a66(0x113)][_0x130a66(0xb6)]),this[_0x130a66(0xe3)]();}),this[_0x4af428(0xa6)](this[_0x4af428(0xcf)],_0x4af428(0x12e),()=>{const _0x1e7263=_0x4af428;_0x4fe0da[_0x1e7263(0x12e)](this[_0x1e7263(0x113)][_0x1e7263(0xb6)]),this[_0x1e7263(0xe3)]();}),this[_0x4af428(0x126)]();}[_0x90d4d4(0x126)](){const _0x20cd6b=_0x90d4d4,{locale:_0x4b2f14,ui:{ariaLiveAnnouncer:_0x16097c}}=this[_0x20cd6b(0x107)];this[_0x20cd6b(0xcf)][_0x20cd6b(0xfc)]['on'](_0x20cd6b(0x148),(_0x552692,_0x5ec389,_0x4c19ad)=>{const _0x3f6001=_0x20cd6b,_0x29f1e8=this[_0x3f6001(0x113)][_0x3f6001(0xb6)];_0x4c19ad?_0x16097c[_0x3f6001(0x112)](_0x16c292(_0x4b2f14,_0x3f6001(0xc9))):_0x29f1e8&&_0x16097c[_0x3f6001(0x112)](_0x16c292(_0x4b2f14,_0x3f6001(0xde),_0x29f1e8),{'politeness':_0x3f6001(0x146),'isUnsafeHTML':!0x0});}),this[_0x20cd6b(0xcf)]['on'](_0x20cd6b(0x129),(_0xa4593d,_0x53406f,_0x2d9be9)=>{const _0x5bc047=_0x20cd6b;if(_0x2d9be9){const _0x53a2c0=this[_0x5bc047(0xcf)][_0x5bc047(0x106)][_0x5bc047(0xd2)];_0x16097c[_0x5bc047(0x112)](_0x16c292(_0x4b2f14,_0x5bc047(0xa1),_0x53a2c0));}});}[_0x90d4d4(0xa4)](_0x197b52){const _0x5a33ac=_0x90d4d4,_0x272dff=this[_0x5a33ac(0x12f)][_0x5a33ac(0xfe)](_0x197b52),_0x2c8d23=this[_0x5a33ac(0x107)],_0x18c097=_0x2c8d23[_0x5a33ac(0xc2)][_0x5a33ac(0x12a)][_0x5a33ac(0xe8)],_0x2f998a=_0x2c8d23[_0x5a33ac(0x103)][_0x5a33ac(0xfe)](_0x5a33ac(0xf1)),_0x81d8aa=_0x2c8d23[_0x5a33ac(0xca)][_0x5a33ac(0xfe)](_0x1e59e5),_0x4aed59=''+(_0x272dff[_0x5a33ac(0xed)]!==_0x38f7a3?_0x272dff[_0x5a33ac(0xfb)]+':\x20':'')+_0x272dff[_0x5a33ac(0x12d)];if(!0x1!==_0x272dff[_0x5a33ac(0x101)]&&_0x18c097[_0x5a33ac(0xe4)]){const _0x2d4a77=_0x3b3a8d(_0x18c097[_0x5a33ac(0x115)]())||_0x2c8d23[_0x5a33ac(0xc2)][_0x5a33ac(0x11e)][_0x5a33ac(0xe7)](_0x18c097);_0x2c8d23[_0x5a33ac(0xc2)][_0x5a33ac(0x11f)](_0x471b06=>{const _0x4b4259=_0x5a33ac;_0x471b06[_0x4b4259(0xf4)](_0x2d4a77,'in');});}_0x81d8aa[_0x5a33ac(0x108)](),_0x2f998a[_0x5a33ac(0xf0)](_0x272dff[_0x5a33ac(0xe2)],_0x4aed59,_0x5a33ac(0xeb)+_0x197b52);}[_0x90d4d4(0x9e)](_0x418c54,_0x139e36,_0x3c2d4d,_0x375a50){const _0x51876d=_0x90d4d4,_0x225274=this[_0x51876d(0x107)],_0x3a55a2=_0x225274[_0x51876d(0xc6)],_0x2f4b03=new _0x414fc7(_0x3a55a2),_0x36c6e9=U(_0x225274,_0x3c2d4d)[_0x51876d(0xd6)](_0x1ee7f5=>_0x1ee7f5[_0x51876d(0x103)][_0x51876d(0x13b)]);0x1===_0x36c6e9[_0x51876d(0x13b)]?this[_0x51876d(0xe1)]({'command':_0x418c54,'commands':_0x36c6e9[0x0][_0x51876d(0x103)],'parentMenuView':_0x139e36,'onExecute':_0x375a50})[_0x51876d(0xfd)](_0x3dcfdc=>_0x2f4b03[_0x51876d(0x130)][_0x51876d(0x14c)](_0x3dcfdc)):_0x36c6e9[_0x51876d(0xfd)](({groupId:_0x1acd59,groupLabel:_0xfa7212,commands:_0x38e8cb})=>{const _0x4b4d57=_0x51876d,_0x268b01=new _0x2ad015(_0x3a55a2,_0x139e36),_0x339c3b=new _0xb414b5(_0x3a55a2),_0x3d12dc=new _0x414fc7(_0x3a55a2),_0x8f6763=this[_0x4b4d57(0xe1)]({'command':_0x418c54,'commands':_0x38e8cb,'parentMenuView':_0x339c3b,'onExecute':_0x375a50});_0x339c3b[_0x4b4d57(0xe9)][_0x4b4d57(0x147)]({'label':_0xfa7212||_0x1acd59}),_0x339c3b[_0x4b4d57(0xbf)](_0x4b4d57(0xf0))['to'](_0x139e36),_0x3d12dc[_0x4b4d57(0x130)][_0x4b4d57(0xd9)](_0x8f6763),_0x339c3b[_0x4b4d57(0x12c)][_0x4b4d57(0x137)][_0x4b4d57(0x14c)](_0x3d12dc),_0x268b01[_0x4b4d57(0x137)][_0x4b4d57(0x14c)](_0x339c3b),_0x2f4b03[_0x4b4d57(0x130)][_0x4b4d57(0x14c)](_0x268b01);}),_0x139e36[_0x51876d(0x12c)][_0x51876d(0x137)][_0x51876d(0x14c)](_0x2f4b03);}[_0x90d4d4(0xe1)]({command:_0x10186d,commands:_0x52455f,parentMenuView:_0xfc02f7,onExecute:_0x16510a}){const _0x795f23=_0x90d4d4,_0x3278fa=this[_0x795f23(0x107)],_0x315896=_0x3278fa[_0x795f23(0xc6)];return U(_0x3278fa,_0x52455f)[_0x795f23(0xf8)](_0x470281=>{const _0x3245cf=_0x795f23,_0x41e77e=new _0x2ad015(_0x315896,_0xfc02f7),_0x3ff1f5=new _0x2f0702(_0x315896);return _0x3ff1f5[_0x3245cf(0x147)]({'label':_0x470281[_0x3245cf(0x12d)]}),_0x3ff1f5[_0x3245cf(0xbf)](_0x3245cf(0xf0))['to'](_0xfc02f7),_0x3ff1f5['on'](_0x3245cf(0xf0),()=>_0x16510a(_0x470281['id'])),_0x3ff1f5[_0x3245cf(0x131)](_0x3245cf(0x104))['to'](_0x10186d,_0x3245cf(0x120),_0x38ed03=>_0x38ed03[_0x3245cf(0xd8)](_0x470281['id'])),_0x41e77e[_0x3245cf(0x137)][_0x3245cf(0x14c)](_0x3ff1f5),_0x41e77e;});}}function B(_0x10c47e,_0x591798){const _0xe12883=_0x90d4d4;return void 0x0!==_0x10c47e[_0xe12883(0xb4)]&&void 0x0===_0x591798[_0xe12883(0xb4)]?0x1:void 0x0===_0x10c47e[_0xe12883(0xb4)]&&void 0x0!==_0x591798[_0xe12883(0xb4)]?-0x1:void 0x0!==_0x10c47e[_0xe12883(0xb4)]&&void 0x0!==_0x591798[_0xe12883(0xb4)]?_0x10c47e[_0xe12883(0xb4)]-_0x591798[_0xe12883(0xb4)]:0x0;}function U(_0x4fde32,_0x31b683){const _0x264788=_0x90d4d4;_0x31b683[_0x264788(0xcd)](B);const _0x604aa4={},_0x6287fa=[];for(const _0x5cb676 of _0x31b683)if(void 0x0!==_0x5cb676[_0x264788(0xb4)]){if(_0x5cb676[_0x264788(0xb4)]in _0x604aa4)throw new _0x1d2470(_0x264788(0x13d),_0x4fde32,{'conflictingDefinitions':[_0x5cb676,_0x604aa4[_0x5cb676[_0x264788(0xb4)]]]});_0x604aa4[_0x5cb676[_0x264788(0xb4)]]=_0x5cb676,_0x6287fa[_0x264788(0xce)](_0x5cb676[_0x264788(0xb4)],0x0,_0x5cb676);}else _0x6287fa[_0x264788(0xdb)](_0x5cb676);return _0x6287fa;}
|
|
23
|
+
const _0x5f38c7=_0x29c7;(function(_0x32a46e,_0x565541){const _0xc4f370=_0x29c7,_0x5bd161=_0x32a46e();while(!![]){try{const _0x48970a=-parseInt(_0xc4f370(0xe3))/0x1+parseInt(_0xc4f370(0x103))/0x2+-parseInt(_0xc4f370(0xfb))/0x3+-parseInt(_0xc4f370(0xee))/0x4*(parseInt(_0xc4f370(0x113))/0x5)+parseInt(_0xc4f370(0x175))/0x6+parseInt(_0xc4f370(0x114))/0x7+-parseInt(_0xc4f370(0x11f))/0x8;if(_0x48970a===_0x565541)break;else _0x5bd161['push'](_0x5bd161['shift']());}catch(_0x5a80e2){_0x5bd161['push'](_0x5bd161['shift']());}}}(_0x304b,0x5d642));import{Plugin as _0x102100}from'ckeditor5/src/core.js';import{first as _0x5b2338,CKEditorError as _0x500462}from'ckeditor5/src/utils.js';import{createDropdown as _0x262e22,addMenuToDropdown as _0x2f3569,ButtonView as _0x176632,MenuBarMenuListItemButtonView as _0x56d81b,Dialog as _0x233307,DialogViewPosition as _0x429982,MenuBarMenuView as _0x3e883e,MenuBarMenuListView as _0x1097a6,MenuBarMenuListItemView as _0x32de77}from'ckeditor5/src/ui.js';import{icons as _0x34ddc7}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x6863ba,UNGROUPED_COMMANDS_GROUP_ID as _0x55a796}from'./utils/normalizecommandsconfig.js';import _0x106d2a from'./aiassistantediting.js';import _0x20d82f from'./adapters/aiadapter.js';function _0x29c7(_0x204d17,_0x4ebadc){const _0x304bd8=_0x304b();return _0x29c7=function(_0x29c7f3,_0x3eea19){_0x29c7f3=_0x29c7f3-0xda;let _0x56a86e=_0x304bd8[_0x29c7f3];return _0x56a86e;},_0x29c7(_0x204d17,_0x4ebadc);}import{getTranslation as _0x1a4968}from'./utils/common-translations.js';import _0x2dc4df from'./ui/showaiassistantcommand.js';import _0x3123a3 from'./ui/aiassistantcontroller.js';import _0x375872 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x447871}from'./ui/form/aiformtoolbarview.js';import _0x26e4d8 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5f38c7(0x127)];import{ClipboardMarkersUtils as _0x32e8ed}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x20b605,DataTransfer as _0x28ddfa}from'ckeditor5/src/engine.js';export default class n extends _0x102100{static get[_0x5f38c7(0x150)](){const _0x213cd6=_0x5f38c7;return _0x213cd6(0x188);}static get[_0x5f38c7(0x142)](){return!0x0;}static get[_0x5f38c7(0x109)](){return!0x0;}static get[_0x5f38c7(0x165)](){return[_0x32e8ed,_0x106d2a,_0x20d82f,_0x233307];}constructor(_0x363baa){const _0x7c440=_0x5f38c7;super(_0x363baa),this[_0x7c440(0x136)]='',_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x159),[_0x7c440(0xf7),_0x7c440(0x14b),_0x7c440(0x16b)]),_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x11d),''),_0x363baa[_0x7c440(0x180)][_0x7c440(0x12b)](_0x7c440(0x11e),!0x0),this[_0x7c440(0x136)]=_0x7c440(0x130)+(_0x363baa[_0x7c440(0x180)][_0x7c440(0x14a)](_0x7c440(0x11e))?_0x7c440(0x131):'');}[_0x5f38c7(0x13c)](){const _0x46a614=_0x5f38c7,{editor:_0x586880}=this;this[_0x46a614(0x14f)]=_0x586880[_0x46a614(0x108)][_0x46a614(0x14a)](_0x20d82f),this[_0x46a614(0xea)]=_0x586880[_0x46a614(0x108)][_0x46a614(0x14a)](_0x233307),this[_0x46a614(0x187)]=null,this[_0x46a614(0x167)]=this[_0x46a614(0x17d)]();const _0x30d0c0=new _0x2dc4df(_0x586880,Array[_0x46a614(0x15c)](this[_0x46a614(0x167)][_0x46a614(0xde)]()));_0x586880[_0x46a614(0xf6)][_0x46a614(0x186)](_0x46a614(0x183),_0x30d0c0),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0xf0),_0x20b45f=>{const _0x1f4ea5=_0x46a614,_0x12aeb1=_0x262e22(_0x20b45f);return _0x12aeb1[_0x1f4ea5(0x10c)]({'class':_0x1f4ea5(0x14d)+this[_0x1f4ea5(0x136)]}),_0x12aeb1[_0x1f4ea5(0x147)][_0x1f4ea5(0x10c)]({'label':_0x1a4968(_0x20b45f,_0x1f4ea5(0xeb)),'icon':_0x26e4d8,'tooltip':!0x0}),_0x12aeb1['on'](_0x1f4ea5(0x15d),_0x171846=>this[_0x1f4ea5(0xfc)](_0x171846[_0x1f4ea5(0x17f)]['id'])),_0x2f3569(_0x12aeb1,_0x586880['ui'][_0x1f4ea5(0x111)][_0x1f4ea5(0xf8)],function(_0x6b6f4f){const _0x163546=_0x1f4ea5,_0x418d54=_0x6863ba(_0x6b6f4f[_0x163546(0x180)][_0x163546(0x14a)](_0x163546(0x151)),_0x6b6f4f[_0x163546(0x12e)]),_0x506774=U(_0x6b6f4f,_0x418d54)[_0x163546(0x168)](_0x14f2cb=>_0x14f2cb[_0x163546(0xf6)][_0x163546(0x16f)]);if(0x1===_0x506774[_0x163546(0x16f)])return U(_0x6b6f4f,_0x506774[0x0][_0x163546(0xf6)])[_0x163546(0x181)](_0x5c30b7=>({'id':_0x5c30b7['id'],'label':_0x5c30b7[_0x163546(0x163)]}));return _0x506774[_0x163546(0x181)](_0x530261=>{const _0x15a761=_0x163546,{groupId:_0xea2dfe,groupLabel:_0xa85a3d,commands:_0x3d7b91}=_0x530261,_0x30a3b9=U(_0x6b6f4f,_0x3d7b91)[_0x15a761(0x181)](_0x57ff8b=>({'id':_0x57ff8b['id'],'label':_0x57ff8b[_0x15a761(0x163)]}));return{'id':_0xea2dfe,'menu':_0xa85a3d||_0xea2dfe,'children':_0x30a3b9};});}(_0x586880),{'ariaLabel':_0x1a4968(_0x20b45f,_0x1f4ea5(0xeb))}),_0x12aeb1[_0x1f4ea5(0x166)][_0x1f4ea5(0xdc)]=_0x1f4ea5(0x14d)+this[_0x1f4ea5(0x136)],_0x30d0c0['on'](_0x1f4ea5(0x144),_0x30d710),_0x12aeb1[_0x1f4ea5(0x166)][_0x1f4ea5(0x110)](_0x1f4ea5(0x176),_0x30d710),_0x12aeb1;function _0x30d710(){const _0x179c1e=_0x1f4ea5;_0x12aeb1[_0x179c1e(0xdd)]=_0x30d0c0[_0x179c1e(0x155)][_0x179c1e(0x16f)]>0x0;for(const _0x56c125 of _0x12aeb1[_0x179c1e(0x166)][_0x179c1e(0xfe)])_0x56c125[_0x179c1e(0xdd)]=_0x30d0c0[_0x179c1e(0x155)][_0x179c1e(0x129)](_0x56c125['id']);}}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x15a),_0x3bb856=>{const _0xcb1e1b=_0x46a614,_0x2662d7=new _0x3e883e(_0x3bb856);_0x2662d7[_0xcb1e1b(0x147)][_0xcb1e1b(0x10c)]({'label':_0x1a4968(_0x3bb856,_0xcb1e1b(0xeb)),'icon':_0x26e4d8}),_0x2662d7[_0xcb1e1b(0x17b)](_0xcb1e1b(0xdd))['to'](_0x30d0c0,_0xcb1e1b(0x155),_0x5c5fd2=>_0x5c5fd2[_0xcb1e1b(0x16f)]>0x0);const _0x10fd60=_0x6863ba(_0x586880[_0xcb1e1b(0x180)][_0xcb1e1b(0x14a)](_0xcb1e1b(0x151)),_0x3bb856);return this[_0xcb1e1b(0xfd)](_0x30d0c0,_0x2662d7,_0x10fd60,_0x1cf366=>this[_0xcb1e1b(0xfc)](_0x1cf366)),_0x2662d7;}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x137),()=>{const _0x2754b8=_0x46a614,_0x2dc217=this[_0x2754b8(0xe6)](_0x176632);return _0x2dc217[_0x2754b8(0x10c)]({'tooltip':!0x0,'class':_0x2754b8(0x156)+this[_0x2754b8(0x136)]}),_0x2dc217;}),_0x586880['ui'][_0x46a614(0x172)][_0x46a614(0x186)](_0x46a614(0x157),()=>{const _0x43b485=_0x46a614,_0x18d494=this[_0x43b485(0xe6)](_0x56d81b);return _0x18d494[_0x43b485(0x10c)]({'role':_0x43b485(0x171)}),_0x18d494;}),this[_0x46a614(0x178)]=this[_0x46a614(0x123)][_0x46a614(0x180)][_0x46a614(0x14a)](_0x46a614(0x178));const _0x25a360=this[_0x46a614(0x123)];this[_0x46a614(0x133)]=setInterval(()=>{const _0x32008b=_0x46a614;let _0x140979;for(const _0x24032e in _0x25a360){const _0x1cdd8e=_0x24032e,_0x2ff09f=_0x25a360[_0x1cdd8e];if(_0x32008b(0x117)==_0x2ff09f||_0x32008b(0xda)==_0x2ff09f||_0x32008b(0x177)==_0x2ff09f||_0x32008b(0x128)==_0x2ff09f||_0x32008b(0x11a)==_0x2ff09f||_0x32008b(0x10d)==_0x2ff09f||_0x32008b(0x121)==_0x2ff09f||_0x32008b(0x10b)==_0x2ff09f){delete _0x25a360[_0x1cdd8e],_0x140979=_0x2ff09f,clearInterval(this[_0x32008b(0x133)]),this[_0x32008b(0x133)]=void 0x0;break;}}_0x32008b(0xda)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x16e)),_0x32008b(0x177)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x125)),_0x32008b(0x128)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0xe1)),_0x32008b(0x11a)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x102),_0x32008b(0x120)),_0x32008b(0x10d)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x14c)),_0x32008b(0x121)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x107)),_0x32008b(0x10b)==_0x140979&&_0x25a360[_0x32008b(0x12f)](_0x32008b(0x173));},0x3e8);}[_0x5f38c7(0x158)](){const _0x40d3f4=_0x5f38c7;super[_0x40d3f4(0x158)](),this[_0x40d3f4(0x133)]&&clearInterval(this[_0x40d3f4(0x133)]);}[_0x5f38c7(0x170)](_0x5a9502='',_0x4e0cca='',_0x503953=_0x5f38c7(0x179)){const _0x1c118d=_0x5f38c7,_0x4b5f23=this[_0x1c118d(0x123)],_0x1970ea=_0x4b5f23[_0x1c118d(0x182)][_0x1c118d(0x111)],_0x1f5301=_0x4b5f23[_0x1c118d(0x108)][_0x1c118d(0x14a)](_0x106d2a),_0x3291a1=_0x4b5f23[_0x1c118d(0x108)][_0x1c118d(0x14a)](_0x32e8ed);_0x1f5301[_0x1c118d(0x138)]();const _0x19765c=new w(),_0x5a2b51=new ClipboardEvent(_0x1c118d(0x122),{'clipboardData':_0x19765c}),_0x32e60b=new _0x28ddfa(_0x19765c),_0x333362=new _0x20b605(_0x1970ea,_0x5a2b51,{'dataTransfer':_0x32e60b});_0x3291a1[_0x1c118d(0x140)](_0x1c118d(0x149),()=>{const _0x3af8f6=_0x1c118d;_0x1970ea[_0x3af8f6(0x13f)][_0x3af8f6(0x13e)](_0x3af8f6(0x122),_0x333362);}),this[_0x1c118d(0x187)]||(this[_0x1c118d(0x106)](),this[_0x1c118d(0x153)]=new _0x3123a3(_0x4b5f23,this[_0x1c118d(0x14f)][_0x1c118d(0x15b)],this[_0x1c118d(0x187)]));let _0x4517a5=_0x32e60b[_0x1c118d(0x169)](_0x1c118d(0x16c));const _0x3296fe=_0x4b5f23[_0x1c118d(0x112)][_0x1c118d(0x13f)][_0x1c118d(0x135)],_0xc18911=Array[_0x1c118d(0x15c)](_0x3296fe[_0x1c118d(0x162)]());0x1===_0xc18911[_0x1c118d(0x16f)]&&_0xc18911[0x0][_0x1c118d(0x12c)]&&!_0x3296fe[_0x1c118d(0xff)]()&&''!==_0x4517a5[_0x1c118d(0xf4)](/ /g,'')[_0x1c118d(0x14e)]()&&(_0x4517a5=_0x1c118d(0x13b)+_0x4517a5+_0x1c118d(0x12a)),this[_0x1c118d(0x153)][_0x1c118d(0x119)]({'actionId':_0x503953,'query':_0x5a9502,'htmlContent':_0x4517a5,'label':_0x4e0cca,'mainActionLabel':_0x447871[_0x4b5f23[_0x1c118d(0x112)][_0x1c118d(0x13f)][_0x1c118d(0x135)][_0x1c118d(0x174)]?_0x1c118d(0x10a):_0x1c118d(0x132)]}),_0x1c118d(0x137)!==this[_0x1c118d(0xea)]['id']?this[_0x1c118d(0xea)][_0x1c118d(0x143)]({'id':_0x1c118d(0x137),'icon':_0x34ddc7[_0x1c118d(0x11c)],'title':_0x1a4968(this[_0x1c118d(0x123)][_0x1c118d(0x12e)],_0x1c118d(0x115)),'content':this[_0x1c118d(0x187)],'position':_0x429982[_0x1c118d(0x148)],'onShow':()=>{const _0x302670=_0x1c118d;this[_0x302670(0x187)][_0x302670(0x100)]();},'onHide':()=>{const _0xb7b1be=_0x1c118d;this[_0xb7b1be(0x153)][_0xb7b1be(0x15e)](),_0x1f5301[_0xb7b1be(0x160)]();}}):this[_0x1c118d(0xea)][_0x1c118d(0x111)][_0x1c118d(0x152)]||this[_0x1c118d(0xea)][_0x1c118d(0x111)][_0x1c118d(0x184)]();}[_0x5f38c7(0xe8)](){const _0x2bd8bf=_0x5f38c7;this[_0x2bd8bf(0xea)][_0x2bd8bf(0xe4)]();}[_0x5f38c7(0x17d)](){const _0x4f2a31=_0x5f38c7,_0x23c594=new Map(),_0xf3349a=_0x6863ba(this[_0x4f2a31(0x123)][_0x4f2a31(0x180)][_0x4f2a31(0x14a)](_0x4f2a31(0x151)),this[_0x4f2a31(0x123)][_0x4f2a31(0x12e)]);for(const _0x30c25f of _0xf3349a)for(const _0x23260b of _0x30c25f[_0x4f2a31(0xf6)])_0x23c594[_0x4f2a31(0x10c)](_0x23260b['id'],{..._0x23260b,'groupId':_0x30c25f[_0x4f2a31(0x145)],'groupLabel':_0x30c25f[_0x4f2a31(0xf1)]||_0x30c25f[_0x4f2a31(0x145)]});return _0x23c594;}[_0x5f38c7(0xe6)](_0x505485){const _0x3a4d21=_0x5f38c7,_0x27119c=this[_0x3a4d21(0x123)],_0x69e84e=_0x27119c[_0x3a4d21(0xf6)][_0x3a4d21(0x14a)](_0x3a4d21(0x183)),_0x3c0f37=new _0x505485(_0x27119c[_0x3a4d21(0x12e)]);return _0x3c0f37[_0x3a4d21(0x10c)]({'label':_0x1a4968(_0x27119c[_0x3a4d21(0x12e)],_0x3a4d21(0x115)),'icon':_0x34ddc7[_0x3a4d21(0x11c)],'isToggleable':!0x0}),_0x3c0f37[_0x3a4d21(0x17b)](_0x3a4d21(0xdd))['to'](_0x69e84e),_0x3c0f37[_0x3a4d21(0x17b)](_0x3a4d21(0xdb))['to'](this[_0x3a4d21(0xea)],'id',_0x59b8ef=>_0x3a4d21(0x137)===_0x59b8ef),this[_0x3a4d21(0xfa)](_0x3c0f37,_0x3a4d21(0x15d),()=>{const _0x396afb=_0x3a4d21;_0x3c0f37[_0x396afb(0xdb)]?this[_0x396afb(0xe8)]():_0x69e84e[_0x396afb(0x15d)]();}),_0x3c0f37;}[_0x5f38c7(0x106)](){const _0x1efde1=_0x5f38c7,_0x1b428e=this[_0x1efde1(0x123)][_0x1efde1(0x108)][_0x1efde1(0x14a)](_0x106d2a);this[_0x1efde1(0x187)]=new _0x375872(this[_0x1efde1(0x123)][_0x1efde1(0x12e)],this[_0x1efde1(0x136)],this[_0x1efde1(0x123)][_0x1efde1(0x180)][_0x1efde1(0x14a)](_0x1efde1(0x11d))),this[_0x1efde1(0x187)]['on'](_0x1efde1(0x17c),()=>{const _0x723676=_0x1efde1;this[_0x723676(0xea)][_0x723676(0x111)][_0x723676(0x152)]||this[_0x723676(0xea)][_0x723676(0x111)][_0x723676(0x184)]();}),this[_0x1efde1(0x187)][_0x1efde1(0xdf)][_0x1efde1(0xe5)][_0x1efde1(0xe9)]['on'](_0x1efde1(0x17a),()=>{const _0x445bb1=_0x1efde1;this[_0x445bb1(0xea)][_0x445bb1(0x111)][_0x445bb1(0x152)]||this[_0x445bb1(0xea)][_0x445bb1(0x111)][_0x445bb1(0x184)]();}),this[_0x1efde1(0xfa)](this[_0x1efde1(0x187)],_0x1efde1(0x116),()=>{const _0x35021b=_0x1efde1;_0x1b428e[_0x35021b(0x10f)](this[_0x35021b(0x153)][_0x35021b(0x17e)]),this[_0x35021b(0xe8)]();}),this[_0x1efde1(0xfa)](this[_0x1efde1(0x187)],_0x1efde1(0x16a),()=>{const _0x112331=_0x1efde1;_0x1b428e[_0x112331(0x16a)](this[_0x112331(0x153)][_0x112331(0x17e)]),this[_0x112331(0xe8)]();}),this[_0x1efde1(0x16d)]();}[_0x5f38c7(0x16d)](){const _0x3738d2=_0x5f38c7,{locale:_0x407091,ui:{ariaLiveAnnouncer:_0x2c18cc}}=this[_0x3738d2(0x123)];this[_0x3738d2(0x187)][_0x3738d2(0xed)]['on'](_0x3738d2(0x124),(_0x2a899f,_0x25389f,_0x1373dc)=>{const _0x4cdf37=_0x3738d2,_0x3c74aa=this[_0x4cdf37(0x153)][_0x4cdf37(0x17e)];_0x1373dc?_0x2c18cc[_0x4cdf37(0xf3)](_0x1a4968(_0x407091,_0x4cdf37(0xe2))):_0x3c74aa&&_0x2c18cc[_0x4cdf37(0xf3)](_0x1a4968(_0x407091,_0x4cdf37(0xef),_0x3c74aa),{'politeness':_0x4cdf37(0x154),'isUnsafeHTML':!0x0});}),this[_0x3738d2(0x187)]['on'](_0x3738d2(0xe7),(_0x25f99c,_0x433b9a,_0x5bbd64)=>{const _0x1c27be=_0x3738d2;if(_0x5bbd64){const _0x406e4a=this[_0x1c27be(0x187)][_0x1c27be(0xf9)][_0x1c27be(0x118)];_0x2c18cc[_0x1c27be(0xf3)](_0x1a4968(_0x407091,_0x1c27be(0x134),_0x406e4a));}});}[_0x5f38c7(0xfc)](_0x1bb2c2){const _0xb4f048=_0x5f38c7,_0x49c1d3=this[_0xb4f048(0x167)][_0xb4f048(0x14a)](_0x1bb2c2),_0x307b95=this[_0xb4f048(0x123)],_0x5846f0=_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x13f)][_0xb4f048(0x135)],_0x152788=_0x307b95[_0xb4f048(0xf6)][_0xb4f048(0x14a)](_0xb4f048(0x183)),_0x40ca9e=_0x307b95[_0xb4f048(0x108)][_0xb4f048(0x14a)](_0x106d2a),_0x4c4d82=''+(_0x49c1d3[_0xb4f048(0x145)]!==_0x55a796?_0x49c1d3[_0xb4f048(0xf1)]+':\x20':'')+_0x49c1d3[_0xb4f048(0x163)];if(!0x1!==_0x49c1d3[_0xb4f048(0x146)]&&_0x5846f0[_0xb4f048(0x174)]){const _0x453aed=_0x5b2338(_0x5846f0[_0xb4f048(0x141)]())||_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x10e)][_0xb4f048(0x104)](_0x5846f0);_0x307b95[_0xb4f048(0x112)][_0xb4f048(0x13a)](_0x36eba0=>{const _0x2e2b73=_0xb4f048;_0x36eba0[_0x2e2b73(0x161)](_0x453aed,'in');});}_0x40ca9e[_0xb4f048(0x138)](),_0x152788[_0xb4f048(0x15d)](_0x49c1d3[_0xb4f048(0x126)],_0x4c4d82,_0xb4f048(0x11b)+_0x1bb2c2);}[_0x5f38c7(0xfd)](_0x4d803e,_0x2d171e,_0x152eb5,_0x1aada6){const _0x4c38eb=_0x5f38c7,_0x45c527=this[_0x4c38eb(0x123)],_0x29fbd4=_0x45c527[_0x4c38eb(0x12e)],_0x13f0f4=new _0x1097a6(_0x29fbd4),_0x1b44f8=U(_0x45c527,_0x152eb5)[_0x4c38eb(0x168)](_0x35ea3a=>_0x35ea3a[_0x4c38eb(0xf6)][_0x4c38eb(0x16f)]);0x1===_0x1b44f8[_0x4c38eb(0x16f)]?this[_0x4c38eb(0xec)]({'command':_0x4d803e,'commands':_0x1b44f8[0x0][_0x4c38eb(0xf6)],'parentMenuView':_0x2d171e,'onExecute':_0x1aada6})[_0x4c38eb(0x15f)](_0x1f7346=>_0x13f0f4[_0x4c38eb(0x139)][_0x4c38eb(0x186)](_0x1f7346)):_0x1b44f8[_0x4c38eb(0x15f)](({groupId:_0x183aec,groupLabel:_0x3a8034,commands:_0x702173})=>{const _0x5637d6=_0x4c38eb,_0x3fc7e1=new _0x32de77(_0x29fbd4,_0x2d171e),_0x348aff=new _0x3e883e(_0x29fbd4),_0xe4b76e=new _0x1097a6(_0x29fbd4),_0x34a56f=this[_0x5637d6(0xec)]({'command':_0x4d803e,'commands':_0x702173,'parentMenuView':_0x348aff,'onExecute':_0x1aada6});_0x348aff[_0x5637d6(0x147)][_0x5637d6(0x10c)]({'label':_0x3a8034||_0x183aec}),_0x348aff[_0x5637d6(0x101)](_0x5637d6(0x15d))['to'](_0x2d171e),_0xe4b76e[_0x5637d6(0x139)][_0x5637d6(0xf2)](_0x34a56f),_0x348aff[_0x5637d6(0x164)][_0x5637d6(0xf5)][_0x5637d6(0x186)](_0xe4b76e),_0x3fc7e1[_0x5637d6(0xf5)][_0x5637d6(0x186)](_0x348aff),_0x13f0f4[_0x5637d6(0x139)][_0x5637d6(0x186)](_0x3fc7e1);}),_0x2d171e[_0x4c38eb(0x164)][_0x4c38eb(0xf5)][_0x4c38eb(0x186)](_0x13f0f4);}[_0x5f38c7(0xec)]({command:_0x7f0613,commands:_0x47fb0c,parentMenuView:_0x2420b9,onExecute:_0x451a0c}){const _0x1ae646=_0x5f38c7,_0x4ddfcb=this[_0x1ae646(0x123)],_0x14571f=_0x4ddfcb[_0x1ae646(0x12e)];return U(_0x4ddfcb,_0x47fb0c)[_0x1ae646(0x181)](_0x107ed6=>{const _0x344477=_0x1ae646,_0x5544ec=new _0x32de77(_0x14571f,_0x2420b9),_0x52a9c2=new _0x56d81b(_0x14571f);return _0x52a9c2[_0x344477(0x10c)]({'label':_0x107ed6[_0x344477(0x163)]}),_0x52a9c2[_0x344477(0x101)](_0x344477(0x15d))['to'](_0x2420b9),_0x52a9c2['on'](_0x344477(0x15d),()=>_0x451a0c(_0x107ed6['id'])),_0x52a9c2[_0x344477(0x17b)](_0x344477(0xdd))['to'](_0x7f0613,_0x344477(0x155),_0x49167e=>_0x49167e[_0x344477(0x129)](_0x107ed6['id'])),_0x5544ec[_0x344477(0xf5)][_0x344477(0x186)](_0x52a9c2),_0x5544ec;});}}function _0x304b(){const _0x39cdb5=['model','54255EcFzyv','4657555acgLHo','AI\x20Assistant','replaceContent','aiLicenseKeyValid','text','updateView','aiLicenseKeyNotAllowed','command:','robotPencil','ai.aiAssistant.contentAreaCssClass','ai.useTheme','104104dikcnF','AIAssistant','aiLicenseKeyTrialLimit','copy','editor','change:isProcessing','expired','prompt','DataTransfer','aiLicenseKeyDomainLimit','includes','</p>','define','isFlat','ai-commands-config-order-collision','locale','_showLicenseError','ck-ai-assistant-ui','\x20ck-ai-assistant-ui_theme','REPLACE','_licenseKeyCheckInterval','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','_uiCssClasses','aiAssistant','showFakeVisualSelection','items','change','<p>','init','push','fire','document','_forceMarkersCopy','getSelectedBlocks','isOfficialPlugin','show','change:enabledCommandsIds','groupId','requiresContent','buttonView','EDITOR_TOP_SIDE','comment','get','rawHtml','evaluationLimit','ck-ai-commands-dropdown\x20','trim','_aiAdapter','pluginName','ai.aiAssistant.commands','wasMoved','_aiAssistantController','polite','enabledCommandsIds','ck-ai-assistant-button\x20','menuBar:aiAssistant','destroy','ai.aiAssistant.disabledElements','menuBar:aiCommands','textAdapter','from','execute','reset','forEach','hideFakeVisualSelection','setSelection','getRanges','label','panelView','requires','menuView','_commandDefinitions','filter','getData','insertContentBelow','tableOfContents','text/html','_initAriaAiStatusChangeAnnouncements','invalid','length','showUI','menuitemcheckbox','componentFactory','usageLimit','isCollapsed','3276744zdOXVm','render','aiLicenseKeyExpired','licenseKey','custom','update','bind','change:value','_getResolvedCommandsDefinitions','currentContext','source','config','map','editing','showAIAssistant','updatePosition','sort','add','_formView','AIAssistantUI','aiLicenseKeyInvalid','isOn','menuPanelClass','isEnabled','values','promptView','order','domainLimit','AI\x20is\x20writing','721743mPsRMG','hide','queryView','_createAIAssistantUIButton','change:isError','hideUI','fieldView','_dialog','AI\x20Commands','_getMenuBarGroupButtons','contentArea','92EEvMQl','Generated\x20content:\x20%0','aiCommands','groupLabel','addMany','announce','replace','children','commands','media','body','errorView','listenTo','1425327WAKSIu','_onExecute','_populateMenuBarMenu','buttons','getSelectedElement','focus','delegate','featureNotAllowed','1260958epuitk','getLimitElement','splice','_initView','trialLimit','plugins','isPremiumPlugin','INSERT','aiLicenseKeyUsageLimit','set','aiLicenseKeyEvaluationLimit','schema','insertContent','once','view'];_0x304b=function(){return _0x39cdb5;};return _0x304b();}function B(_0x52b1a6,_0x21c843){const _0x467800=_0x5f38c7;return void 0x0!==_0x52b1a6[_0x467800(0xe0)]&&void 0x0===_0x21c843[_0x467800(0xe0)]?0x1:void 0x0===_0x52b1a6[_0x467800(0xe0)]&&void 0x0!==_0x21c843[_0x467800(0xe0)]?-0x1:void 0x0!==_0x52b1a6[_0x467800(0xe0)]&&void 0x0!==_0x21c843[_0x467800(0xe0)]?_0x52b1a6[_0x467800(0xe0)]-_0x21c843[_0x467800(0xe0)]:0x0;}function U(_0x480a6b,_0x2c7b19){const _0x3699ed=_0x5f38c7;_0x2c7b19[_0x3699ed(0x185)](B);const _0x147b63={},_0x353f99=[];for(const _0x32f274 of _0x2c7b19)if(void 0x0!==_0x32f274[_0x3699ed(0xe0)]){if(_0x32f274[_0x3699ed(0xe0)]in _0x147b63)throw new _0x500462(_0x3699ed(0x12d),_0x480a6b,{'conflictingDefinitions':[_0x32f274,_0x147b63[_0x32f274[_0x3699ed(0xe0)]]]});_0x147b63[_0x32f274[_0x3699ed(0xe0)]]=_0x32f274,_0x353f99[_0x3699ed(0x105)](_0x32f274[_0x3699ed(0xe0)],0x0,_0x32f274);}else _0x353f99[_0x3699ed(0x13d)](_0x32f274);return _0x353f99;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x143ffa,_0x48a217){var _0x45a499=_0x33be,_0x3f33da=_0x143ffa();while(!![]){try{var _0x1bb13b=-parseInt(_0x45a499(0xb2))/0x1+-parseInt(_0x45a499(0xb5))/0x2+-parseInt(_0x45a499(0xb1))/0x3*(parseInt(_0x45a499(0xb7))/0x4)+-parseInt(_0x45a499(0xb0))/0x5+parseInt(_0x45a499(0xb6))/0x6*(-parseInt(_0x45a499(0xb3))/0x7)+parseInt(_0x45a499(0xb8))/0x8+-parseInt(_0x45a499(0xb9))/0x9*(-parseInt(_0x45a499(0xb4))/0xa);if(_0x1bb13b===_0x48a217)break;else _0x3f33da['push'](_0x3f33da['shift']());}catch(_0x392fef){_0x3f33da['push'](_0x3f33da['shift']());}}}(_0x590f,0x417d2));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x590f(){var _0x2df43b=['14935460TiHBOo','675826AoYFmh','6iqzDzT','4qyChsS','1985280IYtWYg','9GWEnIO','573200OhcMRZ','756291veDedC','299348aWVXcl','3286262gtuzBi'];_0x590f=function(){return _0x2df43b;};return _0x590f();}function _0x33be(_0x5e49e9,_0x3ca64f){var _0x590fa9=_0x590f();return _0x33be=function(_0x33be4e,_0x4b357b){_0x33be4e=_0x33be4e-0xb0;var _0x2c6639=_0x590fa9[_0x33be4e];return _0x2c6639;},_0x33be(_0x5e49e9,_0x3ca64f);}import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4a22(_0x3042fb,_0x13743e){var _0x15998d=_0x1599();return _0x4a22=function(_0x4a220a,_0x3d27c0){_0x4a220a=_0x4a220a-0x1d6;var _0x552b11=_0x15998d[_0x4a220a];return _0x552b11;},_0x4a22(_0x3042fb,_0x13743e);}function _0x1599(){var _0x51d362=['2erhrOb','41574MkGmZM','907992OsHLdb','15015blHZIL','1406818wVBfFA','36lcvmKW','2263851zOImZt','1195296RRCgId','119370MEJQfB'];_0x1599=function(){return _0x51d362;};return _0x1599();}(function(_0x1155da,_0xab93e){var _0x26f6bc=_0x4a22,_0x52f447=_0x1155da();while(!![]){try{var _0xb9866e=parseInt(_0x26f6bc(0x1db))/0x1+-parseInt(_0x26f6bc(0x1dc))/0x2*(-parseInt(_0x26f6bc(0x1dd))/0x3)+-parseInt(_0x26f6bc(0x1da))/0x4+parseInt(_0x26f6bc(0x1d6))/0x5*(-parseInt(_0x26f6bc(0x1d8))/0x6)+parseInt(_0x26f6bc(0x1d7))/0x7+-parseInt(_0x26f6bc(0x1de))/0x8+parseInt(_0x26f6bc(0x1d9))/0x9;if(_0xb9866e===_0xab93e)break;else _0x52f447['push'](_0x52f447['shift']());}catch(_0x5eeab2){_0x52f447['push'](_0x52f447['shift']());}}}(_0x1599,0x25f08));import{CKEditorError as _0x36fa56}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x8580d0=_0x280e;(function(_0x3ed58a,_0xd77426){const _0x28ebcc=_0x280e,_0x319929=_0x3ed58a();while(!![]){try{const _0xf492f7=parseInt(_0x28ebcc(0x1c1))/0x1+parseInt(_0x28ebcc(0x1de))/0x2*(-parseInt(_0x28ebcc(0x1d7))/0x3)+-parseInt(_0x28ebcc(0x205))/0x4+-parseInt(_0x28ebcc(0x1fa))/0x5+-parseInt(_0x28ebcc(0x1c6))/0x6*(parseInt(_0x28ebcc(0x21e))/0x7)+-parseInt(_0x28ebcc(0x202))/0x8+parseInt(_0x28ebcc(0x1e8))/0x9;if(_0xf492f7===_0xd77426)break;else _0x319929['push'](_0x319929['shift']());}catch(_0x4fb6f6){_0x319929['push'](_0x319929['shift']());}}}(_0x1a54,0x90728));import{ObservableMixin as _0xdfff9e}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3887c8}from'../adapters/aiadapter.js';function _0x280e(_0x45df81,_0x35a931){const _0x1a54b4=_0x1a54();return _0x280e=function(_0x280e8f,_0xb9b4f2){_0x280e8f=_0x280e8f-0x1bf;let _0x59ee78=_0x1a54b4[_0x280e8f];return _0x59ee78;},_0x280e(_0x45df81,_0x35a931);}function _0x1a54(){const _0xe39807=['from','textAdapter','2240PZkFdV','isRendered','rename','get','document','startsWith','397867MJIetJ','reset','exec','startProcessing','```','11922YDJRJF','submitPrompt','name','previousActionId','stopListening','_isH1TagSupportEnabled','createElement','_sanitizationContainer','nodeType','body','prompt','reverse','finally','ai.aiAssistant.preserveComments','childNodes','htmlProcessor','value','105FnAbCx','text/html','serializeToString','message','toView','destroy','view','9376EdoPpl','substring','```html','querySelector','previousQuery','previousContext','_domParser','clear','setContentOf','parseFromString','30331188YkaTSM','custom','isProcessing','config','listenTo','set','initialContext','endsWith','data','domConverter','once','processor','finishProcessing','_normalizeResponseHeadings','viewToDom','length','push','_handleQuery','4377985xWRTjf','element','set:currentContext','_parseAndNormalizeContent','markers','previousLabel','editing','editor','7946120QbAGQI','render','div','2030244GpUBtA','_xmlSerializer','_sanitizeHTML','currentContext','innerHTML','stopProcessing','ELEMENT_NODE','updateView','trim','tryAgainEvent','mainAction','currentResponse','makeRequest','_stripMarkdownSyntax','handleError','abort','match','<h1></h1>','then','toModel','catch','remove','stringify'];_0x1a54=function(){return _0xe39807;};return _0x1a54();}import{Matcher as _0xc36305,UpcastWriter as _0x3baf3b}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xdfff9e(){constructor(_0x37ca7b,_0x373a7c,_0x3dc748){const _0x30e8ed=_0x280e;super(),this[_0x30e8ed(0x201)]=_0x37ca7b,this[_0x30e8ed(0x21d)]=_0x373a7c,this[_0x30e8ed(0x1cd)]=document[_0x30e8ed(0x1cc)](_0x30e8ed(0x204)),this[_0x30e8ed(0x1e4)]=new DOMParser(),this[_0x30e8ed(0x206)]=new XMLSerializer(),this[_0x30e8ed(0x1dd)]=_0x3dc748,this[_0x30e8ed(0x1ed)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30e8ed(0x1fc),(_0x458c38,_0x4e0cb6,_0x24d47b)=>{const _0x131817=_0x30e8ed;this[_0x131817(0x1dd)][_0x131817(0x1d6)]=this[_0x131817(0x207)](_0x24d47b);}),this[_0x30e8ed(0x1ec)](this[_0x30e8ed(0x1dd)],_0x30e8ed(0x1c7),(_0x6b7651,_0x21b3a5)=>{const _0xabd2ce=_0x30e8ed,_0x578e01=this[_0xabd2ce(0x208)]||this[_0xabd2ce(0x1ee)];this[_0xabd2ce(0x1f9)](_0x21b3a5,_0x578e01,_0xabd2ce(0x1e9));}),this[_0x30e8ed(0x1ec)](this[_0x30e8ed(0x1dd)],_0x30e8ed(0x20e),()=>{const _0x12fe6a=_0x30e8ed;this[_0x12fe6a(0x1dd)][_0x12fe6a(0x1d0)]=this[_0x12fe6a(0x1ff)],this[_0x12fe6a(0x1f9)](this[_0x12fe6a(0x1e2)],this[_0x12fe6a(0x1e3)],this[_0x12fe6a(0x1c9)],this[_0x12fe6a(0x1ff)]);}),this[_0x30e8ed(0x1ec)](this[_0x30e8ed(0x1dd)],_0x30e8ed(0x20a),()=>{const _0x5dd7d0=_0x30e8ed;this[_0x5dd7d0(0x20a)]();});}[_0x8580d0(0x1dc)](){const _0x417c25=_0x8580d0;this[_0x417c25(0x1ca)]();}async[_0x8580d0(0x20c)]({actionId:_0x2a21ca,query:_0x32814f,htmlContent:_0x4debbd,label:_0x16818e,mainActionLabel:_0x4f19a3}){const _0x42e772=_0x8580d0;this[_0x42e772(0x1dd)][_0x42e772(0x1d0)]=_0x16818e,this[_0x42e772(0x1dd)][_0x42e772(0x20f)]=_0x4f19a3,this[_0x42e772(0x1ee)]=_0x4debbd,_0x32814f&&(this[_0x42e772(0x1dd)][_0x42e772(0x21f)]?this[_0x42e772(0x1f9)](_0x32814f,_0x4debbd,_0x2a21ca,_0x16818e):this[_0x42e772(0x1dd)][_0x42e772(0x1f2)](_0x42e772(0x203),()=>{const _0x1acac0=_0x42e772;this[_0x1acac0(0x1f9)](_0x32814f,_0x4debbd,_0x2a21ca,_0x16818e);}));}[_0x8580d0(0x20a)](){const _0x8e23a5=_0x8580d0;this[_0x8e23a5(0x1ea)]&&(this[_0x8e23a5(0x1ea)]=!0x1,this[_0x8e23a5(0x1dd)][_0x8e23a5(0x1f4)](),this[_0x8e23a5(0x21d)][_0x8e23a5(0x214)]());}[_0x8580d0(0x1c2)](){const _0x255917=_0x8580d0;this[_0x255917(0x1ee)]='',this[_0x255917(0x208)]='',this[_0x255917(0x210)]='',this[_0x255917(0x1e3)]='',this[_0x255917(0x1e2)]='',this[_0x255917(0x1ff)]='',this[_0x255917(0x1c9)]=void 0x0,this[_0x255917(0x1dd)][_0x255917(0x1c2)](),this[_0x255917(0x20a)]();}async[_0x8580d0(0x1f9)](_0x455ddf,_0x48617b,_0x37eed6,_0x1dfbc8){const _0x43a84d=_0x8580d0;return this[_0x43a84d(0x1ea)]=!0x0,this[_0x43a84d(0x1dd)][_0x43a84d(0x1c4)](),this[_0x43a84d(0x1e3)]=_0x48617b,this[_0x43a84d(0x1e2)]=_0x455ddf,this[_0x43a84d(0x1ff)]=_0x1dfbc8||_0x455ddf,this[_0x43a84d(0x1c9)]=_0x37eed6,new Promise(_0x5da6b2=>{const _0x4db622=_0x43a84d;this[_0x4db622(0x21d)][_0x4db622(0x211)]({'query':_0x455ddf,'context':_0x48617b,'onData':_0x30efbc=>{const _0x565a34=_0x4db622;this[_0x565a34(0x210)]=_0x30efbc,this[_0x565a34(0x208)]=this[_0x565a34(0x1fd)](this[_0x565a34(0x210)]);},'actionId':_0x37eed6})[_0x4db622(0x217)](()=>{const _0x4dd9a6=_0x4db622;!this[_0x4dd9a6(0x208)]&&this[_0x4dd9a6(0x210)]&&(this[_0x4dd9a6(0x208)]=this[_0x4dd9a6(0x1fd)](this[_0x4dd9a6(0x210)],!0x0));})[_0x4db622(0x219)](_0x4b3dfc=>{const _0x2cb1ac=_0x4db622;_0x4b3dfc instanceof _0x3887c8?this[_0x2cb1ac(0x1dd)][_0x2cb1ac(0x213)](_0x4b3dfc[_0x2cb1ac(0x1da)]):this[_0x2cb1ac(0x1dd)][_0x2cb1ac(0x213)](),_0x5da6b2();})[_0x4db622(0x1d2)](()=>{const _0x3547b8=_0x4db622;this[_0x3547b8(0x20a)](),_0x5da6b2();});});}[_0x8580d0(0x1fd)](_0x52a899,_0x327c74=!0x1){const _0x5d7b90=_0x8580d0,_0x8078fd=Z[_0x5d7b90(0x1c3)](_0x52a899);_0x52a899=_0x8078fd?_0x52a899[_0x5d7b90(0x1df)](_0x8078fd[0x1][_0x5d7b90(0x1f7)]):_0x52a899[_0x5d7b90(0x1f7)]<0x64&&!_0x327c74?'':this[_0x5d7b90(0x212)](_0x52a899);const _0x226f62=this[_0x5d7b90(0x1e4)][_0x5d7b90(0x1e7)](_0x52a899,_0x5d7b90(0x1d8));if(_0x8078fd){const _0x51f0a8=Array[_0x5d7b90(0x21c)](_0x226f62[_0x5d7b90(0x1cf)][_0x5d7b90(0x1d4)]);_0x51f0a8[_0x5d7b90(0x1d1)]();for(const _0x2f38ac of _0x51f0a8){if(_0x2f38ac[_0x5d7b90(0x1ce)]==Node[_0x5d7b90(0x20b)])break;_0x2f38ac[_0x5d7b90(0x21a)]();}}const _0xb9c452=this[_0x5d7b90(0x201)][_0x5d7b90(0x1f0)][_0x5d7b90(0x1f3)][_0x5d7b90(0x1db)](this[_0x5d7b90(0x206)][_0x5d7b90(0x1d9)](_0x226f62[_0x5d7b90(0x1cf)]));this[_0x5d7b90(0x1cb)]()||this[_0x5d7b90(0x1f5)](_0xb9c452);const _0x4348c9=this[_0x5d7b90(0x201)][_0x5d7b90(0x1eb)][_0x5d7b90(0x221)](_0x5d7b90(0x1d3)),_0x294a84=this[_0x5d7b90(0x201)][_0x5d7b90(0x1f0)][_0x5d7b90(0x218)](_0xb9c452);return _0x4348c9||_0x294a84[_0x5d7b90(0x1fe)][_0x5d7b90(0x1e5)](),this[_0x5d7b90(0x201)][_0x5d7b90(0x1f0)][_0x5d7b90(0x21b)](_0x294a84);}[_0x8580d0(0x1f5)](_0x409df5){const _0x47f16a=_0x8580d0,_0x34e4f0=new _0x3baf3b(this[_0x47f16a(0x201)][_0x47f16a(0x200)][_0x47f16a(0x1dd)][_0x47f16a(0x1bf)]),_0x48ab0f=new _0xc36305({'name':/^h[1-5]$/}),_0x2ec917=[];let _0x4ac91e=!0x1;for(const _0x5329e1 of _0x409df5)_0x5329e1['is'](_0x47f16a(0x1fb))&&_0x48ab0f[_0x47f16a(0x215)](_0x5329e1)&&(_0x2ec917[_0x47f16a(0x1f8)](_0x5329e1),'h1'==_0x5329e1[_0x47f16a(0x1c8)]&&(_0x4ac91e=!0x0));if(_0x4ac91e){for(const _0x1d79b5 of _0x2ec917)_0x34e4f0[_0x47f16a(0x220)]('h'+(parseInt(_0x1d79b5[_0x47f16a(0x1c8)][0x1])+0x1),_0x1d79b5);}}[_0x8580d0(0x1cb)](){const _0x5ba3c5=_0x8580d0,{data:_0x529bd0,editing:_0x5ea406}=this[_0x5ba3c5(0x201)],_0x301b98=_0x529bd0[_0x5ba3c5(0x1d5)][_0x5ba3c5(0x1db)](_0x5ba3c5(0x216)),_0x56fc6b=_0x529bd0[_0x5ba3c5(0x1db)](_0x529bd0[_0x5ba3c5(0x218)](_0x301b98));return!!_0x5ea406[_0x5ba3c5(0x1dd)][_0x5ba3c5(0x1f1)][_0x5ba3c5(0x1f6)](_0x56fc6b)[_0x5ba3c5(0x1e1)]('h1');}[_0x8580d0(0x207)](_0x522129){const _0xa023cc=_0x8580d0;return this[_0xa023cc(0x201)][_0xa023cc(0x200)][_0xa023cc(0x1dd)][_0xa023cc(0x1f1)][_0xa023cc(0x1e6)](this[_0xa023cc(0x1cd)],_0x522129),this[_0xa023cc(0x1cd)][_0xa023cc(0x209)];}[_0x8580d0(0x212)](_0x2e5ee1){const _0x6edd04=_0x8580d0,_0x56524e=_0x2e5ee1[_0x6edd04(0x20d)]();return _0x56524e[_0x6edd04(0x1c0)](_0x6edd04(0x1e0))?_0x56524e[_0x6edd04(0x1ef)](_0x6edd04(0x1c5))?_0x56524e[_0x6edd04(0x1df)](0x7,_0x56524e[_0x6edd04(0x1f7)]-0x3):_0x56524e[_0x6edd04(0x1df)](0x7):_0x2e5ee1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1e945e=_0xadca;(function(_0x59c76c,_0x3082cc){const _0x2552da=_0xadca,_0x36ad07=_0x59c76c();while(!![]){try{const _0x418c81=parseInt(_0x2552da(0x1a4))/0x1*(parseInt(_0x2552da(0x1a3))/0x2)+parseInt(_0x2552da(0x16e))/0x3+-parseInt(_0x2552da(0x199))/0x4+-parseInt(_0x2552da(0x186))/0x5*(parseInt(_0x2552da(0x1a5))/0x6)+-parseInt(_0x2552da(0x194))/0x7+-parseInt(_0x2552da(0x16c))/0x8+parseInt(_0x2552da(0x169))/0x9;if(_0x418c81===_0x3082cc)break;else _0x36ad07['push'](_0x36ad07['shift']());}catch(_0x331ed5){_0x36ad07['push'](_0x36ad07['shift']());}}}(_0x1ff9,0xa38da));import{global as _0x3d23ba}from'ckeditor5/src/utils.js';import{View as _0x3d8ddd,ButtonView as _0x3a27d3,SpinnerView as _0x4a6b86}from'ckeditor5/src/ui.js';function _0x1ff9(){const _0x1e3c96=['execCommand','contentFieldView','left','element','copy','text/plain','AI\x20is\x20writing...','locale','firstElementChild','_createLoader','-9999px','change:value','ck-ai-form__loader','querySelector','style','smooth','absolute','position','7520FriKES','removeAllRanges','ck-ai-form__content-area--processing','ck-hidden','getSelection','ck-ai-form__copy-button-wrapper','setStartAfter','text/html','focus','wheel','ck-reset_all-excluded','write','listenTo','scrollHeight','7658021xJGiZS','<span>[</span>','div','textContent','lastElementChild','3711376sjoUBG','change:isProcessing','set','loaderView','createElement','scrollTo','remove','mousedown','<span>]</span>','createRange','531246yFUdTC','1QqAIdj','852REDNEg','bind','value','class','innerHTML','copyButtonView','\x20ck-ai-form__copy-button--copied','_copyHTMLToClipboard','setContent','setEndBefore','execute','setTemplate','_createCopyButton','ck-content','icon','render','ClipboardItem','isVisible','ck-ai-form__content-area','appendLoader','body','.ck-ai-form__loader','addRange','bindTemplate','Copy','18164340tucnUN','isEnabled','ck-ai-form__content-area-wrapper','5472392UQIjHj','ck-ai-form__content-field','3916485eHHYaD','isProcessing','appendChild','ck-ai-form__copy-button','clipboard','check'];_0x1ff9=function(){return _0x1e3c96;};return _0x1ff9();}import _0x34e80e from'../../../theme/icons/copy.svg';function _0xadca(_0xd7b132,_0x4ee193){const _0x1ff9a2=_0x1ff9();return _0xadca=function(_0xadca73,_0x376702){_0xadca73=_0xadca73-0x157;let _0x2e4260=_0x1ff9a2[_0xadca73];return _0x2e4260;},_0xadca(_0xd7b132,_0x4ee193);}import{getTranslation as _0x1cdd16}from'../../utils/common-translations.js';import{icons as _0x3fbbff}from'ckeditor5/src/core.js';export default class X extends _0x3d8ddd{constructor(_0xfc1181,_0x1c12dd=''){const _0x2a011e=_0xadca;super(_0xfc1181),this[_0x2a011e(0x19b)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x32243e=this[_0x2a011e(0x167)];this[_0x2a011e(0x175)]=new ContentFieldView(_0xfc1181,_0x1c12dd),this[_0x2a011e(0x1aa)]=this[_0x2a011e(0x15c)](),this[_0x2a011e(0x15b)]({'tag':_0x2a011e(0x196),'attributes':{'class':['ck',_0x2a011e(0x16b),_0x32243e['if'](_0x2a011e(0x161),_0x2a011e(0x189),_0x2af07a=>!_0x2af07a)],'tabindex':'-1'},'children':[{'tag':_0x2a011e(0x196),'attributes':{'class':['ck',_0x2a011e(0x162),_0x32243e['if'](_0x2a011e(0x16f),_0x2a011e(0x188))]},'children':[this[_0x2a011e(0x175)],{'tag':_0x2a011e(0x196),'attributes':{'class':['ck',_0x2a011e(0x18b)]},'children':[this[_0x2a011e(0x1aa)]]}]}]});}[_0x1e945e(0x15f)](){const _0x459770=_0x1e945e;super[_0x459770(0x15f)](),this[_0x459770(0x1a7)]&&this[_0x459770(0x175)][_0x459770(0x158)](this[_0x459770(0x1a7)]);let _0x220103=!0x1;this['on'](_0x459770(0x17f),(_0x5c86b3,_0x2a168c,_0x352346)=>{const _0x5f47c8=_0x459770,_0x2c8329=!this[_0x5f47c8(0x175)][_0x5f47c8(0x177)][_0x5f47c8(0x181)](_0x5f47c8(0x165));this[_0x5f47c8(0x175)][_0x5f47c8(0x158)](_0x352346),this[_0x5f47c8(0x16f)]&&_0x2c8329&&!_0x220103&&this[_0x5f47c8(0x177)][_0x5f47c8(0x19e)]({'top':this[_0x5f47c8(0x177)][_0x5f47c8(0x193)],'behavior':_0x5f47c8(0x183)});}),this['on'](_0x459770(0x19a),(_0xe035cc,_0x190b4e,_0x327585)=>{const _0x4929a0=_0x459770;_0x220103=!0x1,_0x327585?(this[_0x4929a0(0x1a7)]=null,this[_0x4929a0(0x175)][_0x4929a0(0x163)]()):this[_0x4929a0(0x1a7)]||this[_0x4929a0(0x175)][_0x4929a0(0x158)]('');}),this[_0x459770(0x192)](this[_0x459770(0x177)],_0x459770(0x18f),()=>{_0x220103=!0x0;}),this[_0x459770(0x192)](this[_0x459770(0x177)],_0x459770(0x1a0),()=>{_0x220103=!0x0;});}[_0x1e945e(0x18e)](){const _0x3c932e=_0x1e945e;this[_0x3c932e(0x177)][_0x3c932e(0x18e)]();}[_0x1e945e(0x15c)](){const _0x88fed1=_0x1e945e,_0x4cc9e2=this[_0x88fed1(0x17b)],_0x49e78a=new _0x3a27d3(this[_0x88fed1(0x17b)]),_0x11c7ba=_0x88fed1(0x171);return _0x49e78a[_0x88fed1(0x19b)]({'label':_0x1cdd16(_0x4cc9e2,_0x88fed1(0x168)),'icon':_0x34e80e,'class':_0x11c7ba,'tooltip':!0x0}),_0x49e78a[_0x88fed1(0x1a6)](_0x88fed1(0x161))['to'](this,_0x88fed1(0x1a7),_0x5ab4da=>!!_0x5ab4da),_0x49e78a[_0x88fed1(0x1a6)](_0x88fed1(0x16a))['to'](this,_0x88fed1(0x16f),_0x449cce=>!_0x449cce),_0x49e78a['on'](_0x88fed1(0x15a),()=>{const _0x24af78=_0x88fed1;this[_0x24af78(0x157)](this[_0x24af78(0x175)][_0x24af78(0x177)]),_0x49e78a[_0x24af78(0x15e)]=_0x3fbbff[_0x24af78(0x173)],_0x49e78a[_0x24af78(0x1a8)]=_0x11c7ba+_0x24af78(0x1ab),this[_0x24af78(0x18e)](),setTimeout(()=>{const _0xcbf584=_0x24af78;_0x49e78a[_0xcbf584(0x15e)]=_0x34e80e,_0x49e78a[_0xcbf584(0x1a8)]=_0x11c7ba;},0x3e8);}),_0x49e78a;}[_0x1e945e(0x157)](_0x4c25d4){const _0x5a96fb=_0x1e945e,{window:_0x29b32d,document:_0x9bbf53}=_0x3d23ba;if(_0x29b32d[_0x5a96fb(0x160)]){const {Blob:_0x3b18b7,ClipboardItem:_0x8f7193}=_0x29b32d,_0x16ce09=[new _0x8f7193({'text/html':new _0x3b18b7([_0x4c25d4[_0x5a96fb(0x1a9)]],{'type':_0x5a96fb(0x18d)}),'text/plain':new _0x3b18b7([_0x4c25d4[_0x5a96fb(0x197)]||''],{'type':_0x5a96fb(0x179)})})];navigator[_0x5a96fb(0x172)][_0x5a96fb(0x191)](_0x16ce09);}else{const _0x18e051=_0x9bbf53[_0x5a96fb(0x19d)](_0x5a96fb(0x196));_0x18e051[_0x5a96fb(0x182)][_0x5a96fb(0x185)]=_0x5a96fb(0x184),_0x18e051[_0x5a96fb(0x182)][_0x5a96fb(0x176)]=_0x5a96fb(0x17e),_0x18e051[_0x5a96fb(0x1a9)]=_0x5a96fb(0x195)+_0x4c25d4[_0x5a96fb(0x1a9)]+_0x5a96fb(0x1a1),_0x9bbf53[_0x5a96fb(0x164)][_0x5a96fb(0x170)](_0x18e051);const _0x580020=_0x9bbf53[_0x5a96fb(0x1a2)]();_0x580020[_0x5a96fb(0x18c)](_0x18e051[_0x5a96fb(0x17c)]),_0x580020[_0x5a96fb(0x159)](_0x18e051[_0x5a96fb(0x198)]);const _0x5700f1=_0x29b32d[_0x5a96fb(0x18a)]();_0x5700f1[_0x5a96fb(0x187)](),_0x5700f1[_0x5a96fb(0x166)](_0x580020),_0x9bbf53[_0x5a96fb(0x174)](_0x5a96fb(0x178)),_0x18e051[_0x5a96fb(0x19f)]();}}}export class ContentFieldView extends _0x3d8ddd{constructor(_0x2a610f,_0x298a50=''){const _0x2401db=_0x1e945e;super(_0x2a610f),this[_0x2401db(0x19c)]=this[_0x2401db(0x17d)](),this[_0x2401db(0x15b)]({'tag':_0x2401db(0x196),'attributes':{'class':['ck',_0x2401db(0x15d),_0x298a50,_0x2401db(0x190),_0x2401db(0x16d)]}});}[_0x1e945e(0x158)](_0x2a384e){const _0xaf9b6c=_0x1e945e;this[_0xaf9b6c(0x177)][_0xaf9b6c(0x1a9)]=_0x2a384e;}[_0x1e945e(0x163)](){const _0x3239c5=_0x1e945e;this[_0x3239c5(0x177)][_0x3239c5(0x170)](this[_0x3239c5(0x19c)][_0x3239c5(0x177)]);}[_0x1e945e(0x17d)](){const _0x172dbb=_0x1e945e,_0x378bda=new _0x3d8ddd(),_0x1db553=this[_0x172dbb(0x17b)],_0x526d24=new _0x4a6b86();return _0x526d24[_0x172dbb(0x161)]=!0x0,_0x378bda[_0x172dbb(0x15b)]({'tag':_0x172dbb(0x196),'attributes':{'class':['ck',_0x172dbb(0x180)]},'children':[_0x526d24,{'text':_0x1cdd16(_0x1db553,_0x172dbb(0x17a))}]}),_0x378bda[_0x172dbb(0x15f)](),_0x378bda;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2234b3,_0x1d6afd){const _0xcb876f=_0x570d,_0x552971=_0x2234b3();while(!![]){try{const _0x37f7f8=-parseInt(_0xcb876f(0x1ab))/0x1+-parseInt(_0xcb876f(0x1a4))/0x2*(parseInt(_0xcb876f(0x1ad))/0x3)+-parseInt(_0xcb876f(0x1a5))/0x4*(parseInt(_0xcb876f(0x1a8))/0x5)+parseInt(_0xcb876f(0x1ac))/0x6*(-parseInt(_0xcb876f(0x1a0))/0x7)+parseInt(_0xcb876f(0x19d))/0x8+parseInt(_0xcb876f(0x1a1))/0x9+-parseInt(_0xcb876f(0x1a7))/0xa*(-parseInt(_0xcb876f(0x1a9))/0xb);if(_0x37f7f8===_0x1d6afd)break;else _0x552971['push'](_0x552971['shift']());}catch(_0x26e928){_0x552971['push'](_0x552971['shift']());}}}(_0x7d39,0xbae03));import{View as _0x2bfd34,IconView as _0x7d2952}from'ckeditor5/src/ui.js';function _0x7d39(){const _0x45c17f=['997053mxneQk','12DyBuDr','81AXbcnj','set','897696DaZFJG','text','div','2168621QjRaGR','194229SpZVdp','content','setTemplate','4956BQpiWR','8rBTERy','bindTemplate','36690110KRoOxH','3384490AvdlZB','11TQQzAK','ck-ai-form__error'];_0x7d39=function(){return _0x45c17f;};return _0x7d39();}import _0x32377c from'../../../theme/icons/error.svg';function _0x570d(_0x357f06,_0x1b2b33){const _0x7d394e=_0x7d39();return _0x570d=function(_0x570d43,_0x2960ea){_0x570d43=_0x570d43-0x19d;let _0x201a17=_0x7d394e[_0x570d43];return _0x201a17;},_0x570d(_0x357f06,_0x1b2b33);}export default class rt extends _0x2bfd34{constructor(_0x26819f,_0x338bef=''){const _0x261de3=_0x570d;super(_0x26819f);const _0xe5978=new _0x7d2952(),_0x14c2c7=this[_0x261de3(0x1a6)];this[_0x261de3(0x1ae)](_0x261de3(0x19e),_0x338bef),_0xe5978[_0x261de3(0x1a2)]=_0x32377c,this[_0x261de3(0x1a3)]({'tag':_0x261de3(0x19f),'attributes':{'class':['ck',_0x261de3(0x1aa)]},'children':[_0xe5978,{'text':_0x14c2c7['to'](_0x261de3(0x19e))}]});}}
|