@ckeditor/ckeditor5-ai 44.0.0-alpha.8 → 44.0.0-alpha.9
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/README.md +2 -2
- 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 +8 -8
- 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 _0xf8aa4=_0x5ccb;(function(_0x52e26e,_0x18fc79){const _0x572310=_0x5ccb,_0x2f1b52=_0x52e26e();while(!![]){try{const _0x124dd7=parseInt(_0x572310(0x1c0))/0x1*(parseInt(_0x572310(0x1f1))/0x2)+parseInt(_0x572310(0x1b3))/0x3+parseInt(_0x572310(0x1b0))/0x4*(-parseInt(_0x572310(0x199))/0x5)+-parseInt(_0x572310(0x1da))/0x6*(parseInt(_0x572310(0x1fd))/0x7)+parseInt(_0x572310(0x1b8))/0x8+-parseInt(_0x572310(0x1ab))/0x9*(-parseInt(_0x572310(0x1f5))/0xa)+-parseInt(_0x572310(0x1ea))/0xb;if(_0x124dd7===_0x18fc79)break;else _0x2f1b52['push'](_0x2f1b52['shift']());}catch(_0x5d9c76){_0x2f1b52['push'](_0x2f1b52['shift']());}}}(_0x15f8,0xba524));import{Plugin as _0x75fcbd}from'ckeditor5/src/core.js';import _0x9fc1ad from'./aiassistantui.js';import _0xf8f970 from'./aiassistantediting.js';import{getTranslation as _0x4be997}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2093c0}from'./utils/normalizecommandsconfig.js';export default class r extends _0x75fcbd{static get[_0xf8aa4(0x1c9)](){return[_0x9fc1ad,_0xf8f970];}static get[_0xf8aa4(0x1fe)](){const _0x5ac0d4=_0xf8aa4;return _0x5ac0d4(0x1aa);}static get[_0xf8aa4(0x1b2)](){return!0x0;}static get[_0xf8aa4(0x1c6)](){return!0x0;}constructor(_0x541b26){const _0xa7d40f=_0xf8aa4;super(_0x541b26);const _0x395a5e=_0x541b26[_0xa7d40f(0x1e6)],_0x24c1a1=_0x541b26[_0xa7d40f(0x1a5)];_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x1d9),getDefaultCommands(_0x24c1a1)),_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x19a),[]),_0x395a5e[_0xa7d40f(0x1c5)](_0xa7d40f(0x1ad),[]);const _0x34e644=_0x2093c0(_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x1d9)),_0x24c1a1),_0x2bf69b=_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x19a)),_0x1d96f4=_0x395a5e[_0xa7d40f(0x1fb)](_0xa7d40f(0x1ad));_0x2bf69b[_0xa7d40f(0x1c7)](_0x294a8f=>{const _0x5d9200=_0xa7d40f,_0x3f38cf=_0x34e644[_0x5d9200(0x1a7)](_0x1c68be=>_0x1c68be[_0x5d9200(0x1dd)]===_0x294a8f[_0x5d9200(0x1dd)]);_0x3f38cf?_0x3f38cf[_0x5d9200(0x1ec)]=_0x3f38cf[_0x5d9200(0x1ec)][_0x5d9200(0x1bc)](_0x294a8f[_0x5d9200(0x1ec)]):_0x34e644[_0x5d9200(0x1b6)](_0x294a8f);}),_0x34e644[_0xa7d40f(0x1c7)](_0xc937f1=>{const _0x30348d=_0xa7d40f;_0xc937f1[_0x30348d(0x1ec)]=_0xc937f1[_0x30348d(0x1ec)][_0x30348d(0x1ce)](_0x4be7d3=>!_0x1d96f4[_0x30348d(0x1a3)](_0x4be7d3['id']));}),_0x395a5e[_0xa7d40f(0x1e5)](_0xa7d40f(0x1d9),_0x34e644);}}export function getDefaultCommands(_0x2c30f7){const _0x5345c2=_0xf8aa4;return[{'groupId':_0x5345c2(0x1f0),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1c3)),'commands':[{'id':_0x5345c2(0x19e),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ed)),'prompt':_0x5345c2(0x19f)},{'id':_0x5345c2(0x1c8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1c1)),'prompt':_0x5345c2(0x1f9)},{'id':_0x5345c2(0x1ef),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1b5)),'prompt':_0x5345c2(0x1d1)},{'id':_0x5345c2(0x1e3),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ae)),'prompt':_0x5345c2(0x1af)}]},{'groupId':_0x5345c2(0x1f6),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1a6)),'commands':[{'id':_0x5345c2(0x193),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1e9)),'prompt':_0x5345c2(0x1e1)},{'id':_0x5345c2(0x1d2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1f8)),'prompt':_0x5345c2(0x1de)}]},{'groupId':_0x5345c2(0x1bd),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1e8)),'commands':[{'id':_0x5345c2(0x1d8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1e0)),'prompt':_0x5345c2(0x1d6)},{'id':_0x5345c2(0x1f7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1d3)),'prompt':_0x5345c2(0x1f4)},{'id':_0x5345c2(0x1c2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x19b)),'prompt':_0x5345c2(0x1a0)},{'id':_0x5345c2(0x1a8),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1ac)),'prompt':_0x5345c2(0x1ee)},{'id':_0x5345c2(0x1bb),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1c4)),'prompt':_0x5345c2(0x1b9)}]},{'groupId':_0x5345c2(0x1bf),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1ca)),'commands':[{'id':_0x5345c2(0x1cb),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1f2)),'prompt':_0x5345c2(0x1f3)},{'id':_0x5345c2(0x1d0),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x195)),'prompt':_0x5345c2(0x1e4)},{'id':_0x5345c2(0x1ff),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1eb)),'prompt':_0x5345c2(0x1d5)},{'id':_0x5345c2(0x1dc),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x194)),'prompt':_0x5345c2(0x1ba)}]},{'groupId':_0x5345c2(0x1db),'groupLabel':_0x4be997(_0x2c30f7,_0x5345c2(0x1d7)),'commands':[{'id':_0x5345c2(0x1cc),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1a9)),'prompt':_0x5345c2(0x197)},{'id':_0x5345c2(0x1be),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1b4)),'prompt':_0x5345c2(0x1cd)},{'id':_0x5345c2(0x1fa),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1fc)),'prompt':_0x5345c2(0x191)},{'id':_0x5345c2(0x1e7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x19d)),'prompt':_0x5345c2(0x19c)},{'id':_0x5345c2(0x1b7),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1d4)),'prompt':_0x5345c2(0x1a1)},{'id':_0x5345c2(0x1b1),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1a2)),'prompt':_0x5345c2(0x1a4)},{'id':_0x5345c2(0x1e2),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x1cf)),'prompt':_0x5345c2(0x196)},{'id':_0x5345c2(0x192),'label':_0x4be997(_0x2c30f7,_0x5345c2(0x198)),'prompt':_0x5345c2(0x1df)}]}];}function _0x5ccb(_0x51f465,_0x4e7b1e){const _0x15f860=_0x15f8();return _0x5ccb=function(_0x5ccb7e,_0xe84ec8){_0x5ccb7e=_0x5ccb7e-0x191;let _0x40c83c=_0x15f860[_0x5ccb7e];return _0x40c83c;},_0x5ccb(_0x51f465,_0x4e7b1e);}function _0x15f8(){const _0x59abeb=['translateChinese','isOfficialPlugin','2370072OfDcdA','Spanish','Make\x20longer','push','translateFrench','4888872dLzFrq','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','friendly','concat','changeTone','translateSpanish','changeStyle','79ApmabT','Make\x20shorter','direct','Edit\x20or\x20review','Friendly','define','isPremiumPlugin','forEach','makeShorter','requires','Change\x20style','business','translateEnglish','Translate\x20the\x20content\x20to\x20Spanish\x20language.','filter','Hindi','legal','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','continue','Casual','French','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate','professional','ai.aiAssistant.commands','6tybKNd','translate','poetic','groupId','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Professional','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateHindi','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','set','config','translateGerman','Change\x20tone','Summarize','14082409KbAVGe','Journalism','commands','Improve\x20writing','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','makeLonger','editOrReview','10866hyWTFU','Business','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','10coYffl','generate','casual','Continue','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translatePortuguese','get','Portuguese','1085735MmkOhv','pluginName','journalism','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateArabic','summarize','Poetic','Legal','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','Arabic','1795pJHumf','ai.aiAssistant.extraCommandGroups','Direct','Translate\x20the\x20content\x20to\x20German\x20language.','German','improveWriting','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate\x20the\x20content\x20to\x20French\x20language.','Simplified\x20Chinese','includes','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','locale','Generate\x20from\x20selection','find','confident','English','AIAssistant','13145337EtggUl','Confident','ai.aiAssistant.removeCommands','Simplify\x20language','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','12172gEtGBR'];_0x15f8=function(){return _0x59abeb;};return _0x15f8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4514be=_0x3e72;(function(_0x280549,_0x213bb8){const _0x160fa9=_0x3e72,_0x1646df=_0x280549();while(!![]){try{const _0x1028da=parseInt(_0x160fa9(0xf6))/0x1+-parseInt(_0x160fa9(0xf7))/0x2+-parseInt(_0x160fa9(0x131))/0x3*(-parseInt(_0x160fa9(0xf5))/0x4)+parseInt(_0x160fa9(0x111))/0x5*(-parseInt(_0x160fa9(0x10c))/0x6)+-parseInt(_0x160fa9(0xfd))/0x7+parseInt(_0x160fa9(0xf3))/0x8+parseInt(_0x160fa9(0x103))/0x9;if(_0x1028da===_0x213bb8)break;else _0x1646df['push'](_0x1646df['shift']());}catch(_0x373933){_0x1646df['push'](_0x1646df['shift']());}}}(_0x1e48,0x94e9e));function _0x1e48(){const _0x3b145f=['canEditAt','updateMarker','insertContentBelow','has','isOfficialPlugin','5188347dfAVEl','getSelectedBlocks','length','init','addMarker','ck-fake-ai-selection','editor','isAtEnd','map','6eFvPJd','conversion','get','data','pop','2073115BOXBgJ','selection','toView','ai-ui','pluginName','markerToHighlight','createUIElement','getRange','href','schema','model','getFirstRange','from','ck-fake-ai-selection_collapsed','getLastMatchingPosition','createSelection','for','markerToElement','join','getLastPosition','createPositionAfter','removeMarker','isPremiumPlugin','end','config','start','editingDowncast','push','markerRange','ai.useTheme','change','isCollapsed','3nPrnQc','afterInit','fromCharCode','insertContent','document','showFakeVisualSelection','isContent','setSelection','toModel','ck-ai-assistant-ui_theme','span','3467424akUvke','hideFakeVisualSelection','1435972EoDlfm','1216062oIdumF','2281988xRqSkN','AIAssistantEditing','createRange','addClass','processor','markers','2935793mAgJLJ'];_0x1e48=function(){return _0x3b145f;};return _0x1e48();}function _0x3e72(_0x2526fc,_0x32b208){const _0x1e4846=_0x1e48();return _0x3e72=function(_0x3e721f,_0x2d5e09){_0x3e721f=_0x3e721f-0xf3;let _0x246fae=_0x1e4846[_0x3e721f];return _0x246fae;},_0x3e72(_0x2526fc,_0x32b208);}import{uid as _0x33e652}from'ckeditor5/src/utils.js';import{Plugin as _0x4b92d6}from'ckeditor5/src/core.js';const u=_0x4514be(0x114);export default class a extends _0x4b92d6{static get[_0x4514be(0x115)](){const _0x49dfa5=_0x4514be;return _0x49dfa5(0xf8);}static get[_0x4514be(0x102)](){return!0x0;}static get[_0x4514be(0x127)](){return!0x0;}[_0x4514be(0x106)](){const _0x1eb8d7=_0x4514be,{editor:_0x5758a4}=this,_0x47b43b=[_0x1eb8d7(0x108)];_0x5758a4[_0x1eb8d7(0x129)][_0x1eb8d7(0x10e)](_0x1eb8d7(0x12e))&&_0x47b43b[_0x1eb8d7(0x12c)](_0x1eb8d7(0x13a)),_0x5758a4[_0x1eb8d7(0x10d)][_0x1eb8d7(0x121)](_0x1eb8d7(0x12b))[_0x1eb8d7(0x116)]({'model':u,'view':{'classes':_0x47b43b,'priority':0xc}}),_0x5758a4[_0x1eb8d7(0x10d)][_0x1eb8d7(0x121)](_0x1eb8d7(0x12b))[_0x1eb8d7(0x122)]({'model':u,'view':(_0x30a5a4,{writer:_0x4a9c7c})=>{const _0x2a0b55=_0x1eb8d7;if(!_0x30a5a4[_0x2a0b55(0x12d)][_0x2a0b55(0x130)])return null;const _0x343517=_0x4a9c7c[_0x2a0b55(0x117)](_0x2a0b55(0x13b));return _0x4a9c7c[_0x2a0b55(0xfa)]([_0x2a0b55(0x108),_0x2a0b55(0x11e)],_0x343517),_0x343517;}});}[_0x4514be(0x132)](){!async function(_0x14a068){const _0x4e454c=_0x469fbd([0x32,0x33,0x43,0x6c,0x73,0x75,0x62,0x50,0x47,0x76,0x42,0x65,0x55,0x57,0x6e,0x68,0x44,0x41,0x4a,0x46,0x45,0x66,0x4f,0x4d,0x34,0x56,0x48,0x69,0x70,0x79,0x6f,0x67,0x38,0x6d,0x4e,0x74,0x51,0x54,0x30,0x37,0x53,0x71,0x4c,0x35,0x6b,0x4b,0x5a,0x58,0x6a,0x72,0x49,0x52,0x31,0x59,0x63,0x36,0x7a,0x39,0x61,0x78,0x64,0x77]),_0x3b0381=0x2ae34bc3,_0x4ad72b=0x2ae413eb^_0x3b0381,_0x9f879c=window[_0x469fbd([0x44,0x61,0x74,0x65])][_0x469fbd([0x6e,0x6f,0x77])](),_0x2f2d5c=_0x14a068[_0x469fbd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d0f7c=new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x349317=>{_0x2f2d5c[_0x469fbd([0x6f,0x6e,0x63,0x65])](_0x469fbd([0x72,0x65,0x61,0x64,0x79]),_0x349317);}),_0x4efa3d={[_0x469fbd([0x6b,0x74,0x79])]:_0x469fbd([0x45,0x43]),[_0x469fbd([0x75,0x73,0x65])]:_0x469fbd([0x73,0x69,0x67]),[_0x469fbd([0x63,0x72,0x76])]:_0x469fbd([0x50,0x2d,0x32,0x35,0x36]),[_0x469fbd([0x78])]:_0x469fbd([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]),[_0x469fbd([0x79])]:_0x469fbd([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]),[_0x469fbd([0x61,0x6c,0x67])]:_0x469fbd([0x45,0x53,0x32,0x35,0x36])},_0x30ebbb=_0x2f2d5c[_0x469fbd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x469fbd([0x67,0x65,0x74])](_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x405bad(){let _0x12fc9b,_0x12d032=null,_0x2eb172=null;try{if(_0x30ebbb==_0x469fbd([0x47,0x50,0x4c]))return _0x469fbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12fc9b=_0x3460f7(),!_0x12fc9b)return _0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12fc9b[_0x469fbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2eb172=_0x556208(_0x12fc9b[_0x469fbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12fc9b[_0x469fbd([0x6a,0x74,0x69])])),await _0x4a6f07()?_0x192d24()?_0x12dc4c()?_0x469fbd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ebff1()?(_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12d032=_0x516b23(_0x469fbd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x74,0x72,0x69,0x61,0x6c])&&(_0x12d032=_0x516b23(_0x469fbd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x469fbd([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x12d032=_0x516b23(_0x469fbd([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53dcce()):_0x469fbd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x469fbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x437868){return _0x469fbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12dc4c(){const _0x1aaf20=[_0x469fbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x469fbd([0x74,0x72,0x69,0x61,0x6c])][_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9f879c/0x3e8:0xe10*_0x4ad72b;return _0x12fc9b[_0x469fbd([0x65,0x78,0x70])]<_0x1aaf20;}function _0x192d24(){const _0x5c6291=_0x12fc9b[_0x469fbd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c6291&&(!!_0x5c6291[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x2a]))||!!_0x5c6291[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x41,0x49])));}function _0x5ebff1(){const _0xa9ba1f=_0x3e72,_0xbe3e1=_0x12fc9b[_0x469fbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xbe3e1||0x0==_0xbe3e1[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8b7d64}=new URL(window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa9ba1f(0x119)]);if(_0xbe3e1[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8b7d64))return!0x0;const _0x444090=_0x8b7d64[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e]));return _0xbe3e1[_0x469fbd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a4c42=>_0x1a4c42[_0x469fbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469fbd([0x2a])))[_0x469fbd([0x6d,0x61,0x70])](_0x1eef70=>_0x1eef70[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e])))[_0x469fbd([0x73,0x6f,0x6d,0x65])](_0x37d814=>_0x444090[_0x469fbd([0x65,0x76,0x65,0x72,0x79])]((_0x27ec19,_0x387a3a)=>_0x37d814[_0x387a3a]===_0x27ec19||_0x37d814[_0x387a3a]===_0x469fbd([0x2a])));}function _0x53dcce(){return _0x12d032&&_0x2eb172?new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34d70f,_0x209720)=>{_0x12d032[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x34d70f,_0x209720),_0x2eb172[_0x469fbd([0x74,0x68,0x65,0x6e])](_0xceb838=>{_0xceb838!=_0x469fbd([0x56,0x61,0x6c,0x69,0x64])&&_0x34d70f(_0xceb838);},_0x209720);}):_0x12d032||_0x2eb172||_0x469fbd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x556208(_0xc3cd1,_0x1bca9a){return new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5314b3=>{if(_0x1b8189())return _0x5314b3(_0x469fbd([0x56,0x61,0x6c,0x69,0x64]));_0x31d745(),_0x2f2d5c[_0x469fbd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x257b1a=!0x1;const _0x1d7db6=_0x33e652();function _0x5b8e59(_0x47559f){return!!_0x47559f&&(typeof _0x47559f===_0x469fbd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47559f===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47559f[_0x469fbd([0x74,0x68,0x65,0x6e])]===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47559f[_0x469fbd([0x63,0x61,0x74,0x63,0x68])]===_0x469fbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31aa66(_0xfa4977){_0x3fd486(_0xfa4977)[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x3ddbb2=>{if(!_0x3ddbb2||_0x3ddbb2[_0x469fbd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x469fbd([0x6f,0x6b]))return _0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x142121(_0x2f3819(_0x1d7db6+_0x1bca9a))!=_0x3ddbb2[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x469fbd([0x56,0x61,0x6c,0x69,0x64]);})[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x133bca=>(_0x5d3192(),_0x133bca),()=>{const _0x3c7fcd=_0x5c017d();return null==_0x3c7fcd?(_0x5d3192(),_0x469fbd([0x56,0x61,0x6c,0x69,0x64])):_0x469fbd(_0x9f879c-_0x3c7fcd>(0xeefcfc3^_0x3b0381)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x5314b3)[_0x469fbd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x519866=0x2ad5a543^_0x3b0381;function _0x5d3192(){const _0x5e6661=_0x469fbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x142121(_0x2f3819(_0xc3cd1)),_0xe506a3=_0x366db5(_0x142121(window[_0x469fbd([0x4d,0x61,0x74,0x68])][_0x469fbd([0x63,0x65,0x69,0x6c])](_0x9f879c/_0x519866)));window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x469fbd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e6661,_0xe506a3);}function _0x5c017d(){const _0xf1857=_0x469fbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x142121(_0x2f3819(_0xc3cd1)),_0x132ff2=window[_0x469fbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x469fbd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf1857);return _0x132ff2?window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x366db5(_0x132ff2),0x10)*_0x519866:null;}function _0x3fd486(_0x17af49){return new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b7186,_0x32e621)=>{_0x17af49[_0x469fbd([0x74,0x68,0x65,0x6e])](_0x2b7186,_0x32e621),window[_0x469fbd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32e621,0x2ae29f03^_0x3b0381);});}}_0x2f2d5c[_0x469fbd([0x6f,0x6e])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42fc2e,_0x3c6767)=>{if(_0x3c6767[0x0]!=_0xc3cd1)return _0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c6767[0x1]={..._0x3c6767[0x1],[_0x469fbd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d7db6};},{[_0x469fbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x469fbd([0x68,0x69,0x67,0x68])}),_0x2f2d5c[_0x469fbd([0x6f,0x6e])](_0x469fbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bfde8=>{_0x5b8e59(_0x3bfde8[_0x469fbd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x257b1a=!0x0,_0x31aa66(_0x3bfde8[_0x469fbd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x469fbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x469fbd([0x6c,0x6f,0x77])}),_0x5d0f7c[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>{_0x257b1a||_0x5314b3(_0x469fbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b8189(){return _0x2f2d5c[_0x469fbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x469fbd([0x76,0x69,0x65,0x77])][_0x469fbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x469fbd([0x61,0x75,0x74,0x6f]);}function _0x31d745(){_0x2f2d5c[_0x469fbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x469fbd([0x76,0x69,0x65,0x77])][_0x469fbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x469fbd([0x61,0x75,0x74,0x6f]);}}function _0x516b23(_0x403e6c){const _0x3dba8e=[new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57491f=>setTimeout(_0x57491f,0x2aea750f^_0x3b0381)),_0x5d0f7c[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2031c5=>{let _0x21195e=0x0;_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x6f,0x6e])](_0x469fbd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x228c4b,_0x316de9)=>{_0x316de9[0x0][_0x469fbd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21195e++,_0x21195e==(0x2ae34a3b^_0x3b0381)&&(_0x2031c5(),_0x228c4b[_0x469fbd([0x6f,0x66,0x66])]());});}))];return window[_0x469fbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x469fbd([0x72,0x61,0x63,0x65])](_0x3dba8e)[_0x469fbd([0x74,0x68,0x65,0x6e])](()=>_0x403e6c);}async function _0x1ee629(){await _0x5d0f7c,_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43d3f6,_0x2f2d5c[_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x469fbd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43d3f6,_0x2f2d5c[_0x469fbd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x469fbd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa6fa1b(_0x592bfa){const _0x562626=_0x1838c7();_0x2f2d5c[_0x562626]=_0x469fbd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x592bfa,_0x592bfa!=_0x469fbd([0x56,0x61,0x6c,0x69,0x64])&&_0x1ee629();}function _0x1838c7(){const _0x2a4d10=window[_0x469fbd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x469fbd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x469fbd([0x6e,0x6f,0x77])]())[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x469fbd([0x2e]),'');let _0x4ebe56=_0x469fbd([0x43]);for(let _0x401f00=0x0;_0x401f00<_0x2a4d10[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x401f00+=0x2){let _0x337e2b=window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a4d10[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x401f00,_0x401f00+0x2));_0x337e2b>=_0x4e454c[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x337e2b-=_0x4e454c[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ebe56+=_0x4e454c[_0x337e2b];}return _0x4ebe56;}function _0x3460f7(){const _0x527d4b=_0x30ebbb[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e]));if(0x3!=_0x527d4b[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ef76b(_0x527d4b[0x1]);function _0x2ef76b(_0x3a1727){const _0x3f2a1c=_0x5d5e24(_0x3a1727);return _0x3f2a1c&&_0x18e0eb()?_0x3f2a1c:null;function _0x18e0eb(){const _0x132afc=_0x3f2a1c[_0x469fbd([0x6a,0x74,0x69])],_0x58cbc7=window[_0x469fbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x132afc[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x132afc[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3dfab8={..._0x3f2a1c,[_0x469fbd([0x6a,0x74,0x69])]:_0x132afc[_0x469fbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x132afc[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3dfab8[_0x469fbd([0x76,0x63])],_0x2f3819(_0x3dfab8)==_0x58cbc7;}}}async function _0x4a6f07(){let _0x1ef0f3=!0x0;try{const _0x4f34dc=_0x30ebbb[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])](_0x469fbd([0x2e])),[_0x1ddc3f,_0x5b04b2,_0x1d2437]=_0x4f34dc;return _0x622a6e(_0x1ddc3f),await _0x1def2d(_0x1ddc3f,_0x5b04b2,_0x1d2437),_0x1ef0f3;}catch(_0x3af78b){return!0x1;}function _0x622a6e(_0x464888){const _0x558bfa=_0x5d5e24(_0x464888);_0x558bfa&&_0x558bfa[_0x469fbd([0x61,0x6c,0x67])]==_0x469fbd([0x45,0x53,0x32,0x35,0x36])||(_0x1ef0f3=!0x1);}async function _0x1def2d(_0x1df363,_0x844324,_0xa3aeed){const _0x6ac14=window[_0x469fbd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x469fbd([0x66,0x72,0x6f,0x6d])](_0x56a129(_0xa3aeed),_0x4078ab=>_0x4078ab[_0x469fbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12580a=new window[(_0x469fbd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x469fbd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1df363+_0x469fbd([0x2e])+_0x844324),_0x330f54=window[_0x469fbd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x469fbd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x330f54)return;const _0xa2e533=await _0x330f54[_0x469fbd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x469fbd([0x6a,0x77,0x6b]),_0x4efa3d,{[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x45,0x43,0x44,0x53,0x41]),[_0x469fbd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x469fbd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x330f54[_0x469fbd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x45,0x43,0x44,0x53,0x41]),[_0x469fbd([0x68,0x61,0x73,0x68])]:{[_0x469fbd([0x6e,0x61,0x6d,0x65])]:_0x469fbd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa2e533,_0x6ac14,_0x12580a)||(_0x1ef0f3=!0x1);}}function _0x5d5e24(_0x559790){return _0x559790[_0x469fbd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x469fbd([0x65,0x79]))?JSON[_0x469fbd([0x70,0x61,0x72,0x73,0x65])](_0x56a129(_0x559790)):null;}function _0x56a129(_0x17498e){return window[_0x469fbd([0x61,0x74,0x6f,0x62])](_0x17498e[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x469fbd([0x2b]))[_0x469fbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x469fbd([0x2f])));}function _0x2f3819(_0x5d3b36){let _0xb9d0dd=0x1505;function _0x3798b7(_0x16f831){for(let _0x528076=0x0;_0x528076<_0x16f831[_0x469fbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x528076++){const _0x2d6cd7=_0x16f831[_0x469fbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x528076);_0xb9d0dd=(_0xb9d0dd<<0x5)+_0xb9d0dd+_0x2d6cd7,_0xb9d0dd&=_0xb9d0dd;}}function _0x46fa08(_0x1f5cf3){Array[_0x469fbd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f5cf3)?_0x1f5cf3[_0x469fbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46fa08):_0x1f5cf3&&typeof _0x1f5cf3==_0x469fbd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x469fbd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f5cf3)[_0x469fbd([0x73,0x6f,0x72,0x74])]()[_0x469fbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb5e284,_0x191356])=>{_0x3798b7(_0xb5e284),_0x46fa08(_0x191356);}):_0x3798b7(window[_0x469fbd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f5cf3));}return _0x46fa08(_0x5d3b36),_0xb9d0dd>>>0x0;}function _0x142121(_0x494022){return _0x494022[_0x469fbd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x469fbd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x469fbd([0x30]));}function _0x366db5(_0x520ce3){return _0x520ce3[_0x469fbd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x469fbd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x469fbd([0x6a,0x6f,0x69,0x6e])]('');}function _0x43d3f6(){}function _0x469fbd(_0x3d1ac0){const _0x277953=_0x3e72;return _0x3d1ac0[_0x277953(0x10b)](_0x55d051=>String[_0x277953(0x133)](_0x55d051))[_0x277953(0x123)]('');}_0xa6fa1b(await _0x405bad());}(this);}[_0x4514be(0x136)](){const _0x42ea9a=_0x4514be,_0x6fc8d=this[_0x42ea9a(0x109)][_0x42ea9a(0x11b)];_0x6fc8d[_0x42ea9a(0x12f)](_0x8674d3=>{const _0x3c9abb=_0x42ea9a,_0x48a161=_0x6fc8d[_0x3c9abb(0x135)][_0x3c9abb(0x112)][_0x3c9abb(0x11c)]();if(_0x6fc8d[_0x3c9abb(0xfc)][_0x3c9abb(0x101)](u))_0x8674d3[_0x3c9abb(0xff)](u,{'range':_0x48a161});else{if(_0x48a161[_0x3c9abb(0x12a)][_0x3c9abb(0x10a)]){const _0x2b2143=_0x48a161[_0x3c9abb(0x12a)][_0x3c9abb(0x11f)](({item:_0x5d0585})=>!_0x6fc8d[_0x3c9abb(0x11a)][_0x3c9abb(0x137)](_0x5d0585),{'boundaries':_0x48a161});_0x8674d3[_0x3c9abb(0x107)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x8674d3[_0x3c9abb(0xf9)](_0x2b2143,_0x48a161[_0x3c9abb(0x128)])});}else _0x8674d3[_0x3c9abb(0x107)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x48a161});}});}[_0x4514be(0xf4)](){const _0x56c492=_0x4514be,_0x338a28=this[_0x56c492(0x109)][_0x56c492(0x11b)];_0x338a28[_0x56c492(0xfc)][_0x56c492(0x101)](u)&&_0x338a28[_0x56c492(0x12f)](_0x246a32=>{const _0x43e0ca=_0x56c492;_0x246a32[_0x43e0ca(0x126)](u);});}[_0x4514be(0x134)](_0x4f8f49,_0x39238d){const _0x499fd5=_0x4514be,_0x17b065=_0x39238d||this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0xfc)][_0x499fd5(0x10e)](u)[_0x499fd5(0x118)]();if(!this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0xfe)](_0x17b065))return;const _0x527d9a=this[_0x499fd5(0x109)][_0x499fd5(0x10f)][_0x499fd5(0xfb)][_0x499fd5(0x113)](_0x4f8f49),_0x1aa418=this[_0x499fd5(0x109)][_0x499fd5(0x10f)][_0x499fd5(0x139)](_0x527d9a);this[_0x499fd5(0x109)][_0x499fd5(0x11b)][_0x499fd5(0x12f)](_0x4653ca=>{const _0x1dea6b=_0x499fd5;this[_0x1dea6b(0xf4)]();const _0xd998b6=this[_0x1dea6b(0x109)][_0x1dea6b(0x11b)][_0x1dea6b(0x134)](_0x1aa418,_0x17b065);_0xd998b6&&_0x4653ca[_0x1dea6b(0x138)](_0xd998b6);});}[_0x4514be(0x100)](_0xfd3ee1){const _0x20d48f=_0x4514be,{model:_0x43935f}=this[_0x20d48f(0x109)],_0x7a4642=Array[_0x20d48f(0x11d)](_0x43935f[_0x20d48f(0x120)](this[_0x20d48f(0x109)][_0x20d48f(0x11b)][_0x20d48f(0xfc)][_0x20d48f(0x10e)](u)[_0x20d48f(0x118)]())[_0x20d48f(0x104)]()),_0x14bfc6=_0x7a4642[_0x20d48f(0x105)]?_0x43935f[_0x20d48f(0x125)](_0x7a4642[_0x20d48f(0x110)]()):_0x43935f[_0x20d48f(0x135)][_0x20d48f(0x112)][_0x20d48f(0x124)]();this[_0x20d48f(0x134)](_0xfd3ee1,_0x14bfc6);}}
|
|
23
|
+
const _0x10c985=_0x5cbd;(function(_0xa55d2e,_0x2d86fb){const _0x2abe11=_0x5cbd,_0x492a5b=_0xa55d2e();while(!![]){try{const _0x3b6618=parseInt(_0x2abe11(0x1e1))/0x1+parseInt(_0x2abe11(0x1f4))/0x2*(parseInt(_0x2abe11(0x1e4))/0x3)+parseInt(_0x2abe11(0x1d3))/0x4+-parseInt(_0x2abe11(0x1ca))/0x5+parseInt(_0x2abe11(0x1fa))/0x6*(-parseInt(_0x2abe11(0x1bb))/0x7)+parseInt(_0x2abe11(0x1b3))/0x8+-parseInt(_0x2abe11(0x1c9))/0x9;if(_0x3b6618===_0x2d86fb)break;else _0x492a5b['push'](_0x492a5b['shift']());}catch(_0x550068){_0x492a5b['push'](_0x492a5b['shift']());}}}(_0x3f29,0x27320));function _0x5cbd(_0x505b2c,_0x46c951){const _0x3f290f=_0x3f29();return _0x5cbd=function(_0x5cbd5c,_0x1df4bf){_0x5cbd5c=_0x5cbd5c-0x1b3;let _0x13818a=_0x3f290f[_0x5cbd5c];return _0x13818a;},_0x5cbd(_0x505b2c,_0x46c951);}import{uid as _0xab30b7}from'ckeditor5/src/utils.js';import{Plugin as _0x1632ed}from'ckeditor5/src/core.js';const u=_0x10c985(0x1ec);export default class a extends _0x1632ed{static get[_0x10c985(0x1c6)](){const _0x39716b=_0x10c985;return _0x39716b(0x1f7);}static get[_0x10c985(0x1dd)](){return!0x0;}static get[_0x10c985(0x1e8)](){return!0x0;}[_0x10c985(0x1f1)](){const _0x490f82=_0x10c985,{editor:_0x29018a}=this,_0x3c4d70=[_0x490f82(0x1db)];_0x29018a[_0x490f82(0x1ee)][_0x490f82(0x1d7)](_0x490f82(0x1c7))&&_0x3c4d70[_0x490f82(0x1e3)](_0x490f82(0x1bf)),_0x29018a[_0x490f82(0x1dc)][_0x490f82(0x1c4)](_0x490f82(0x1f3))[_0x490f82(0x1bd)]({'model':u,'view':{'classes':_0x3c4d70,'priority':0xc}}),_0x29018a[_0x490f82(0x1dc)][_0x490f82(0x1c4)](_0x490f82(0x1f3))[_0x490f82(0x1d0)]({'model':u,'view':(_0x2d62ed,{writer:_0x2e8126})=>{const _0x326252=_0x490f82;if(!_0x2d62ed[_0x326252(0x1eb)][_0x326252(0x1d4)])return null;const _0x46d30b=_0x2e8126[_0x326252(0x1e5)](_0x326252(0x1f8));return _0x2e8126[_0x326252(0x1cd)]([_0x326252(0x1db),_0x326252(0x1e7)],_0x46d30b),_0x46d30b;}});}[_0x10c985(0x1c2)](){!async function(_0x21a929){const _0x30b85d=_0x3f1c3c([0x78,0x61,0x69,0x38,0x54,0x6f,0x66,0x52,0x55,0x41,0x42,0x7a,0x43,0x65,0x62,0x75,0x51,0x79,0x72,0x4d,0x59,0x4f,0x36,0x70,0x6b,0x4e,0x57,0x33,0x73,0x6c,0x45,0x47,0x77,0x32,0x37,0x6e,0x74,0x76,0x50,0x4a,0x35,0x64,0x63,0x4c,0x58,0x71,0x6d,0x44,0x53,0x67,0x46,0x68,0x4b,0x56,0x48,0x39,0x6a,0x31,0x5a,0x30,0x49,0x34]),_0x3dfa2e=0x3685d252,_0x1143d0=0x36828a12^_0x3dfa2e,_0x9d20be=window[_0x3f1c3c([0x44,0x61,0x74,0x65])][_0x3f1c3c([0x6e,0x6f,0x77])](),_0xb73e76=_0x21a929[_0x3f1c3c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15bd77=new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x506bad=>{_0xb73e76[_0x3f1c3c([0x6f,0x6e,0x63,0x65])](_0x3f1c3c([0x72,0x65,0x61,0x64,0x79]),_0x506bad);}),_0x5aa711={[_0x3f1c3c([0x6b,0x74,0x79])]:_0x3f1c3c([0x45,0x43]),[_0x3f1c3c([0x75,0x73,0x65])]:_0x3f1c3c([0x73,0x69,0x67]),[_0x3f1c3c([0x63,0x72,0x76])]:_0x3f1c3c([0x50,0x2d,0x32,0x35,0x36]),[_0x3f1c3c([0x78])]:_0x3f1c3c([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]),[_0x3f1c3c([0x79])]:_0x3f1c3c([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]),[_0x3f1c3c([0x61,0x6c,0x67])]:_0x3f1c3c([0x45,0x53,0x32,0x35,0x36])},_0x5040ba=_0xb73e76[_0x3f1c3c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f1c3c([0x67,0x65,0x74])](_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e3517(){let _0xdcffcd,_0x6e08a9=null,_0x458df5=null;try{if(_0x5040ba==_0x3f1c3c([0x47,0x50,0x4c]))return _0x3f1c3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xdcffcd=_0x403281(),!_0xdcffcd)return _0x3f1c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xdcffcd[_0x3f1c3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x458df5=_0x344d4b(_0xdcffcd[_0x3f1c3c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xdcffcd[_0x3f1c3c([0x6a,0x74,0x69])])),await _0x45ad3e()?_0x1ecad8()?_0x2f5c55()?_0x3f1c3c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x276391()?(_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f1c3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6e08a9=_0x2f1b5e(_0x3f1c3c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f1c3c([0x74,0x72,0x69,0x61,0x6c])&&(_0x6e08a9=_0x2f1b5e(_0x3f1c3c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f1c3c([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x6e08a9=_0x2f1b5e(_0x3f1c3c([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5d5b78()):_0x3f1c3c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f1c3c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f1c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3c75a1){return _0x3f1c3c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f5c55(){const _0x3c1593=[_0x3f1c3c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f1c3c([0x74,0x72,0x69,0x61,0x6c])][_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9d20be/0x3e8:0xe10*_0x1143d0;return _0xdcffcd[_0x3f1c3c([0x65,0x78,0x70])]<_0x3c1593;}function _0x1ecad8(){const _0x5d0f2a=_0xdcffcd[_0x3f1c3c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d0f2a&&(!!_0x5d0f2a[_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f1c3c([0x2a]))||!!_0x5d0f2a[_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f1c3c([0x41,0x49])));}function _0x276391(){const _0x271c3d=_0x5cbd,_0x218635=_0xdcffcd[_0x3f1c3c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x218635||0x0==_0x218635[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa47a6d}=new URL(window[_0x3f1c3c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x271c3d(0x1ce)]);if(_0x218635[_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa47a6d))return!0x0;const _0x3cad7a=_0xa47a6d[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])](_0x3f1c3c([0x2e]));return _0x218635[_0x3f1c3c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f091c=>_0x2f091c[_0x3f1c3c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f1c3c([0x2a])))[_0x3f1c3c([0x6d,0x61,0x70])](_0x3835a3=>_0x3835a3[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])](_0x3f1c3c([0x2e])))[_0x3f1c3c([0x73,0x6f,0x6d,0x65])](_0x5958d9=>_0x3cad7a[_0x3f1c3c([0x65,0x76,0x65,0x72,0x79])]((_0x22cff4,_0x1f0eba)=>_0x5958d9[_0x1f0eba]===_0x22cff4||_0x5958d9[_0x1f0eba]===_0x3f1c3c([0x2a])));}function _0x5d5b78(){return _0x6e08a9&&_0x458df5?new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x141558,_0x50f055)=>{_0x6e08a9[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x141558,_0x50f055),_0x458df5[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x54e2f9=>{_0x54e2f9!=_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64])&&_0x141558(_0x54e2f9);},_0x50f055);}):_0x6e08a9||_0x458df5||_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x344d4b(_0x12dbb7,_0x50616c){return new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55893f=>{if(_0x4380da())return _0x55893f(_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64]));_0xc1c1df(),_0xb73e76[_0x3f1c3c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f1c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4143e3=!0x1;const _0x46f7af=_0xab30b7();function _0x10e184(_0x11b2c0){return!!_0x11b2c0&&(typeof _0x11b2c0===_0x3f1c3c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11b2c0===_0x3f1c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11b2c0[_0x3f1c3c([0x74,0x68,0x65,0x6e])]===_0x3f1c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11b2c0[_0x3f1c3c([0x63,0x61,0x74,0x63,0x68])]===_0x3f1c3c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13f3a6(_0x19a9a8){_0x15d079(_0x19a9a8)[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x29f857=>{if(!_0x29f857||_0x29f857[_0x3f1c3c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f1c3c([0x6f,0x6b]))return _0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2643bf(_0x1a5326(_0x46f7af+_0x50616c))!=_0x29f857[_0x3f1c3c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0xb345e9=>(_0x5efb6b(),_0xb345e9),()=>{const _0x4b6a79=_0xf13f67();return null==_0x4b6a79?(_0x5efb6b(),_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64])):_0x3f1c3c(_0x9d20be-_0x4b6a79>(0x12895652^_0x3dfa2e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x55893f)[_0x3f1c3c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55893f(_0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x411772=0x36b33cd2^_0x3dfa2e;function _0x5efb6b(){const _0x49bc1e=_0x3f1c3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2643bf(_0x1a5326(_0x12dbb7)),_0x20d246=_0xbe6a39(_0x2643bf(window[_0x3f1c3c([0x4d,0x61,0x74,0x68])][_0x3f1c3c([0x63,0x65,0x69,0x6c])](_0x9d20be/_0x411772)));window[_0x3f1c3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f1c3c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49bc1e,_0x20d246);}function _0xf13f67(){const _0x30868c=_0x3f1c3c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2643bf(_0x1a5326(_0x12dbb7)),_0x39130b=window[_0x3f1c3c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f1c3c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30868c);return _0x39130b?window[_0x3f1c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbe6a39(_0x39130b),0x10)*_0x411772:null;}function _0x15d079(_0x120268){return new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x289720,_0x48b2b0)=>{_0x120268[_0x3f1c3c([0x74,0x68,0x65,0x6e])](_0x289720,_0x48b2b0),window[_0x3f1c3c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48b2b0,0x36840692^_0x3dfa2e);});}}_0xb73e76[_0x3f1c3c([0x6f,0x6e])](_0x3f1c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xdc5951,_0x3da9e1)=>{if(_0x3da9e1[0x0]!=_0x12dbb7)return _0x55893f(_0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3da9e1[0x1]={..._0x3da9e1[0x1],[_0x3f1c3c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46f7af};},{[_0x3f1c3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f1c3c([0x68,0x69,0x67,0x68])}),_0xb73e76[_0x3f1c3c([0x6f,0x6e])](_0x3f1c3c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf87db8=>{_0x10e184(_0xf87db8[_0x3f1c3c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4143e3=!0x0,_0x13f3a6(_0xf87db8[_0x3f1c3c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f1c3c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f1c3c([0x6c,0x6f,0x77])}),_0x15bd77[_0x3f1c3c([0x74,0x68,0x65,0x6e])](()=>{_0x4143e3||_0x55893f(_0x3f1c3c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4380da(){return _0xb73e76[_0x3f1c3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f1c3c([0x76,0x69,0x65,0x77])][_0x3f1c3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f1c3c([0x61,0x75,0x74,0x6f]);}function _0xc1c1df(){_0xb73e76[_0x3f1c3c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f1c3c([0x76,0x69,0x65,0x77])][_0x3f1c3c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f1c3c([0x61,0x75,0x74,0x6f]);}}function _0x2f1b5e(_0x2d565e){const _0x215961=[new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bc45c=>setTimeout(_0x5bc45c,0x368cec9e^_0x3dfa2e)),_0x15bd77[_0x3f1c3c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3706db=>{let _0x229bb2=0x0;_0xb73e76[_0x3f1c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f1c3c([0x6f,0x6e])](_0x3f1c3c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52b5e1,_0x49043a)=>{_0x49043a[0x0][_0x3f1c3c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x229bb2++,_0x229bb2==(0x3685d3aa^_0x3dfa2e)&&(_0x3706db(),_0x52b5e1[_0x3f1c3c([0x6f,0x66,0x66])]());});}))];return window[_0x3f1c3c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f1c3c([0x72,0x61,0x63,0x65])](_0x215961)[_0x3f1c3c([0x74,0x68,0x65,0x6e])](()=>_0x2d565e);}async function _0x28ba32(){await _0x15bd77,_0xb73e76[_0x3f1c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f1c3c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x367eb2,_0xb73e76[_0x3f1c3c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f1c3c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x367eb2,_0xb73e76[_0x3f1c3c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f1c3c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x248f72(_0x4913f5){const _0x59efbd=_0x2b648f();_0xb73e76[_0x59efbd]=_0x3f1c3c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4913f5,_0x4913f5!=_0x3f1c3c([0x56,0x61,0x6c,0x69,0x64])&&_0x28ba32();}function _0x2b648f(){const _0x45561d=window[_0x3f1c3c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f1c3c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f1c3c([0x6e,0x6f,0x77])]())[_0x3f1c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f1c3c([0x2e]),'');let _0x369838=_0x3f1c3c([0x78]);for(let _0x146fa2=0x0;_0x146fa2<_0x45561d[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x146fa2+=0x2){let _0x2cca74=window[_0x3f1c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45561d[_0x3f1c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x146fa2,_0x146fa2+0x2));_0x2cca74>=_0x30b85d[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cca74-=_0x30b85d[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x369838+=_0x30b85d[_0x2cca74];}return _0x369838;}function _0x403281(){const _0x504028=_0x5040ba[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])](_0x3f1c3c([0x2e]));if(0x3!=_0x504028[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x249853(_0x504028[0x1]);function _0x249853(_0x54f71c){const _0x5903be=_0x5b5ef6(_0x54f71c);return _0x5903be&&_0x3c6064()?_0x5903be:null;function _0x3c6064(){const _0x4d1365=_0x5903be[_0x3f1c3c([0x6a,0x74,0x69])],_0x31a979=window[_0x3f1c3c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d1365[_0x3f1c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d1365[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40fbec={..._0x5903be,[_0x3f1c3c([0x6a,0x74,0x69])]:_0x4d1365[_0x3f1c3c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d1365[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40fbec[_0x3f1c3c([0x76,0x63])],_0x1a5326(_0x40fbec)==_0x31a979;}}}async function _0x45ad3e(){let _0x5c94bc=!0x0;try{const _0x297019=_0x5040ba[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])](_0x3f1c3c([0x2e])),[_0x583a00,_0x3002ed,_0x49e29a]=_0x297019;return _0x5e99a6(_0x583a00),await _0x679f6d(_0x583a00,_0x3002ed,_0x49e29a),_0x5c94bc;}catch(_0x3f5d24){return!0x1;}function _0x5e99a6(_0x1c545c){const _0x179173=_0x5b5ef6(_0x1c545c);_0x179173&&_0x179173[_0x3f1c3c([0x61,0x6c,0x67])]==_0x3f1c3c([0x45,0x53,0x32,0x35,0x36])||(_0x5c94bc=!0x1);}async function _0x679f6d(_0xed9f3d,_0x147cee,_0x4999a8){const _0x45710a=window[_0x3f1c3c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f1c3c([0x66,0x72,0x6f,0x6d])](_0x1679db(_0x4999a8),_0x285698=>_0x285698[_0x3f1c3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1412c9=new window[(_0x3f1c3c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f1c3c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xed9f3d+_0x3f1c3c([0x2e])+_0x147cee),_0x78472a=window[_0x3f1c3c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f1c3c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x78472a)return;const _0x5201fd=await _0x78472a[_0x3f1c3c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f1c3c([0x6a,0x77,0x6b]),_0x5aa711,{[_0x3f1c3c([0x6e,0x61,0x6d,0x65])]:_0x3f1c3c([0x45,0x43,0x44,0x53,0x41]),[_0x3f1c3c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f1c3c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f1c3c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x78472a[_0x3f1c3c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f1c3c([0x6e,0x61,0x6d,0x65])]:_0x3f1c3c([0x45,0x43,0x44,0x53,0x41]),[_0x3f1c3c([0x68,0x61,0x73,0x68])]:{[_0x3f1c3c([0x6e,0x61,0x6d,0x65])]:_0x3f1c3c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5201fd,_0x45710a,_0x1412c9)||(_0x5c94bc=!0x1);}}function _0x5b5ef6(_0x3264ca){return _0x3264ca[_0x3f1c3c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f1c3c([0x65,0x79]))?JSON[_0x3f1c3c([0x70,0x61,0x72,0x73,0x65])](_0x1679db(_0x3264ca)):null;}function _0x1679db(_0xe3a81c){return window[_0x3f1c3c([0x61,0x74,0x6f,0x62])](_0xe3a81c[_0x3f1c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f1c3c([0x2b]))[_0x3f1c3c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f1c3c([0x2f])));}function _0x1a5326(_0x14870b){let _0x325792=0x1505;function _0x278271(_0xaecd2){for(let _0x4d7420=0x0;_0x4d7420<_0xaecd2[_0x3f1c3c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d7420++){const _0x6bf74c=_0xaecd2[_0x3f1c3c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d7420);_0x325792=(_0x325792<<0x5)+_0x325792+_0x6bf74c,_0x325792&=_0x325792;}}function _0x531288(_0x33306f){Array[_0x3f1c3c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33306f)?_0x33306f[_0x3f1c3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x531288):_0x33306f&&typeof _0x33306f==_0x3f1c3c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f1c3c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33306f)[_0x3f1c3c([0x73,0x6f,0x72,0x74])]()[_0x3f1c3c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28a5e2,_0x17df1a])=>{_0x278271(_0x28a5e2),_0x531288(_0x17df1a);}):_0x278271(window[_0x3f1c3c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33306f));}return _0x531288(_0x14870b),_0x325792>>>0x0;}function _0x2643bf(_0x967cf8){return _0x967cf8[_0x3f1c3c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f1c3c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f1c3c([0x30]));}function _0xbe6a39(_0x45d262){return _0x45d262[_0x3f1c3c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f1c3c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f1c3c([0x6a,0x6f,0x69,0x6e])]('');}function _0x367eb2(){}function _0x3f1c3c(_0x20c907){const _0x37d3ee=_0x5cbd;return _0x20c907[_0x37d3ee(0x1b4)](_0x56441d=>String[_0x37d3ee(0x1e0)](_0x56441d))[_0x37d3ee(0x1f2)]('');}_0x248f72(await _0x4e3517());}(this);}[_0x10c985(0x1c0)](){const _0x10389a=_0x10c985,_0x578d7f=this[_0x10389a(0x1be)][_0x10389a(0x1c1)];_0x578d7f[_0x10389a(0x1b5)](_0x524b9d=>{const _0x56c788=_0x10389a,_0x494932=_0x578d7f[_0x56c788(0x1f5)][_0x56c788(0x1f9)][_0x56c788(0x1df)]();if(_0x578d7f[_0x56c788(0x1e2)][_0x56c788(0x1d6)](u))_0x524b9d[_0x56c788(0x1c3)](u,{'range':_0x494932});else{if(_0x494932[_0x56c788(0x1de)][_0x56c788(0x1cc)]){const _0x3076aa=_0x494932[_0x56c788(0x1de)][_0x56c788(0x1d5)](({item:_0x43b8ab})=>!_0x578d7f[_0x56c788(0x1b6)][_0x56c788(0x1cf)](_0x43b8ab),{'boundaries':_0x494932});_0x524b9d[_0x56c788(0x1e6)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x524b9d[_0x56c788(0x1d1)](_0x3076aa,_0x494932[_0x56c788(0x1d9)])});}else _0x524b9d[_0x56c788(0x1e6)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x494932});}});}[_0x10c985(0x1b8)](){const _0x5f547a=_0x10c985,_0x27197f=this[_0x5f547a(0x1be)][_0x5f547a(0x1c1)];_0x27197f[_0x5f547a(0x1e2)][_0x5f547a(0x1d6)](u)&&_0x27197f[_0x5f547a(0x1b5)](_0x3c9e89=>{const _0x106691=_0x5f547a;_0x3c9e89[_0x106691(0x1bc)](u);});}[_0x10c985(0x1b9)](_0xe1187f,_0x1100f7){const _0x5a07ca=_0x10c985,_0x1fd43d=_0x1100f7||this[_0x5a07ca(0x1be)][_0x5a07ca(0x1c1)][_0x5a07ca(0x1e2)][_0x5a07ca(0x1d7)](u)[_0x5a07ca(0x1c5)]();if(!this[_0x5a07ca(0x1be)][_0x5a07ca(0x1c1)][_0x5a07ca(0x1c8)](_0x1fd43d))return;const _0x4fc54e=this[_0x5a07ca(0x1be)][_0x5a07ca(0x1da)][_0x5a07ca(0x1f6)][_0x5a07ca(0x1d2)](_0xe1187f),_0x3b12df=this[_0x5a07ca(0x1be)][_0x5a07ca(0x1da)][_0x5a07ca(0x1ba)](_0x4fc54e);this[_0x5a07ca(0x1be)][_0x5a07ca(0x1c1)][_0x5a07ca(0x1b5)](_0x1b42d8=>{const _0x2ec462=_0x5a07ca;this[_0x2ec462(0x1b8)]();const _0x8cb5cc=this[_0x2ec462(0x1be)][_0x2ec462(0x1c1)][_0x2ec462(0x1b9)](_0x3b12df,_0x1fd43d);_0x8cb5cc&&_0x1b42d8[_0x2ec462(0x1ed)](_0x8cb5cc);});}[_0x10c985(0x1e9)](_0x310112){const _0x45562e=_0x10c985,{model:_0x15e4f6}=this[_0x45562e(0x1be)],_0x10d2f5=Array[_0x45562e(0x1ea)](_0x15e4f6[_0x45562e(0x1d8)](this[_0x45562e(0x1be)][_0x45562e(0x1c1)][_0x45562e(0x1e2)][_0x45562e(0x1d7)](u)[_0x45562e(0x1c5)]())[_0x45562e(0x1f0)]()),_0x271c9f=_0x10d2f5[_0x45562e(0x1ef)]?_0x15e4f6[_0x45562e(0x1fb)](_0x10d2f5[_0x45562e(0x1cb)]()):_0x15e4f6[_0x45562e(0x1f5)][_0x45562e(0x1f9)][_0x45562e(0x1b7)]();this[_0x45562e(0x1b9)](_0x310112,_0x271c9f);}}function _0x3f29(){const _0x588915=['fromCharCode','242980YqEqBn','markers','push','861MErfsi','createUIElement','addMarker','ck-fake-ai-selection_collapsed','isPremiumPlugin','insertContentBelow','from','markerRange','ai-ui','setSelection','config','length','getSelectedBlocks','init','join','editingDowncast','1622PuihbM','document','processor','AIAssistantEditing','span','selection','67794EmwlVO','createPositionAfter','2030248UewwIc','map','change','schema','getLastPosition','hideFakeVisualSelection','insertContent','toModel','7hvNXlq','removeMarker','markerToHighlight','editor','ck-ai-assistant-ui_theme','showFakeVisualSelection','model','afterInit','updateMarker','for','getRange','pluginName','ai.useTheme','canEditAt','3877335rdaICu','1586645UiMTYq','pop','isAtEnd','addClass','href','isContent','markerToElement','createRange','toView','761876RdzySx','isCollapsed','getLastMatchingPosition','has','get','createSelection','end','data','ck-fake-ai-selection','conversion','isOfficialPlugin','start','getFirstRange'];_0x3f29=function(){return _0x588915;};return _0x3f29();}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x407de7=_0x49b0;(function(_0x4534b4,_0x3b728d){const _0x1fc05d=_0x49b0,_0x5c2eba=_0x4534b4();while(!![]){try{const _0x545220=-parseInt(_0x1fc05d(0x1d3))/0x1+parseInt(_0x1fc05d(0x20d))/0x2*(parseInt(_0x1fc05d(0x1b4))/0x3)+parseInt(_0x1fc05d(0x20e))/0x4*(parseInt(_0x1fc05d(0x1cd))/0x5)+parseInt(_0x1fc05d(0x1bb))/0x6*(parseInt(_0x1fc05d(0x1bd))/0x7)+-parseInt(_0x1fc05d(0x175))/0x8*(-parseInt(_0x1fc05d(0x1d8))/0x9)+-parseInt(_0x1fc05d(0x1d9))/0xa*(parseInt(_0x1fc05d(0x160))/0xb)+parseInt(_0x1fc05d(0x1b1))/0xc*(parseInt(_0x1fc05d(0x1eb))/0xd);if(_0x545220===_0x3b728d)break;else _0x5c2eba['push'](_0x5c2eba['shift']());}catch(_0x32b905){_0x5c2eba['push'](_0x5c2eba['shift']());}}}(_0x5a2c,0x491e4));import{Plugin as _0x5274fe}from'ckeditor5/src/core.js';import{first as _0xe8572b,CKEditorError as _0x360224}from'ckeditor5/src/utils.js';import{createDropdown as _0x374b8f,addMenuToDropdown as _0x3e4518,ButtonView as _0xbafeb7,MenuBarMenuListItemButtonView as _0x3633fc,Dialog as _0xfb3a1f,DialogViewPosition as _0x39e458,MenuBarMenuView as _0x59247e,MenuBarMenuListView as _0x53d8b7,MenuBarMenuListItemView as _0x4971b4}from'ckeditor5/src/ui.js';import{icons as _0x57261d}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x17d56b,UNGROUPED_COMMANDS_GROUP_ID as _0x165c49}from'./utils/normalizecommandsconfig.js';import _0x1bd5c0 from'./aiassistantediting.js';import _0x58ce70 from'./adapters/aiadapter.js';import{getTranslation as _0x1f932d}from'./utils/common-translations.js';function _0x5a2c(){const _0x3f9ada=['change','EDITOR_TOP_SIDE','promptView','isOfficialPlugin','236152lDTrPB','getData','insertContentBelow','_uiCssClasses','isFlat','2511NbGrct','5046740ALrNFO','hideUI','sort','tableOfContents','ai-commands-config-order-collision','aiLicenseKeyValid','fire','replace','aiLicenseKeyDomainLimit','forEach','trim','includes','change:isProcessing','items','groupId','destroy','_dialog','expired','1509131FzeFyG','requiresContent','AI\x20Commands','AIAssistantUI','usageLimit','_aiAssistantController','aiAssistant','showAIAssistant','change:enabledCommandsIds','updatePosition','execute','aiLicenseKeyExpired','REPLACE','selection','reset','commands','licenseKey','polite','ck-ai-assistant-ui','menuitemcheckbox','<p>','isCollapsed','Error\x20during\x20AI\x20content\x20generation:\x20%0','schema','_populateMenuBarMenu','splice','textAdapter','ai.aiAssistant.disabledElements','define','AI\x20Assistant','copy','INSERT','addMany','getSelectedElement','75710oyHCjP','759588GnQvFj','config','ai.useTheme','_getResolvedCommandsDefinitions','buttons','ai.aiAssistant.commands','trialLimit','editing','11cMKFKt','aiLicenseKeyInvalid','order','length','getSelectedBlocks','set','showUI','init','change:value','</p>','buttonView','setSelection','aiCommands','hide','pluginName','_initAriaAiStatusChangeAnnouncements','push','\x20ck-ai-assistant-ui_theme','panelView','_createAIAssistantUIButton','aiLicenseKeyTrialLimit','2456DyHFSv','insertContent','developmentLimit','show','AI\x20is\x20writing','focus','domainLimit','aiLicenseKeyDevelopmentLimit','featureNotAllowed','filter','render','isPremiumPlugin','showFakeVisualSelection','command:','announce','bind','menuPanelClass','enabledCommandsIds','menuView','_onExecute','ai.aiAssistant.contentAreaCssClass','media','currentContext','queryView','AIAssistant','ck-ai-assistant-button\x20','requires','_getMenuBarGroupButtons','values','delegate','errorView','contentArea','source','_initView','add','_commandDefinitions','isEnabled','updateView','view','listenTo','locale','getRanges','wasMoved','editor','_licenseKeyCheckInterval','aiLicenseKeyUsageLimit','isOn','invalid','_forceMarkersCopy','_formView','prompt','replaceContent','aiLicenseKeyEvaluationLimit','text/html','plugins','map','robotPencil','model','document','_showLicenseError','36HygJrz','text','comment','3AwQYgk','hideFakeVisualSelection','menuBar:aiCommands','body','from','once','getLimitElement','32358PQNRZS','evaluationLimit','245wQrSKk','componentFactory','Generated\x20content:\x20%0','groupLabel','change:isError','fieldView','get','children','rawHtml','DataTransfer','_aiAdapter','aiLicenseKeyNotAllowed','update','ck-ai-commands-dropdown\x20','menuBar:aiAssistant','label','10PHhilU','custom'];_0x5a2c=function(){return _0x3f9ada;};return _0x5a2c();}function _0x49b0(_0x53c432,_0x5f5c96){const _0x5a2c1d=_0x5a2c();return _0x49b0=function(_0x49b051,_0x4423ba){_0x49b051=_0x49b051-0x15f;let _0x3ad9bf=_0x5a2c1d[_0x49b051];return _0x3ad9bf;},_0x49b0(_0x53c432,_0x5f5c96);}import _0x219b3f from'./ui/showaiassistantcommand.js';import _0x1667ef from'./ui/aiassistantcontroller.js';import _0x1189b4 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x44e11f}from'./ui/form/aiformtoolbarview.js';import _0x1a7a9c from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x407de7(0x1c6)];import{ClipboardMarkersUtils as _0x48bc58}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4859e4,DataTransfer as _0x295349}from'ckeditor5/src/engine.js';export default class n extends _0x5274fe{static get[_0x407de7(0x16e)](){const _0x3f2a9c=_0x407de7;return _0x3f2a9c(0x1ee);}static get[_0x407de7(0x1d2)](){return!0x0;}static get[_0x407de7(0x180)](){return!0x0;}static get[_0x407de7(0x18f)](){return[_0x48bc58,_0x1bd5c0,_0x58ce70,_0xfb3a1f];}constructor(_0x52785d){const _0x25619a=_0x407de7;super(_0x52785d),this[_0x25619a(0x1d6)]='',_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x206),[_0x25619a(0x18a),_0x25619a(0x1c5),_0x25619a(0x1dc)]),_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x189),''),_0x52785d[_0x25619a(0x20f)][_0x25619a(0x207)](_0x25619a(0x210),!0x0),this[_0x25619a(0x1d6)]=_0x25619a(0x1fd)+(_0x52785d[_0x25619a(0x20f)][_0x25619a(0x1c3)](_0x25619a(0x210))?_0x25619a(0x171):'');}[_0x407de7(0x167)](){const _0x4360fc=_0x407de7,{editor:_0x4643f4}=this;this[_0x4360fc(0x1c7)]=_0x4643f4[_0x4360fc(0x1ab)][_0x4360fc(0x1c3)](_0x58ce70),this[_0x4360fc(0x1e9)]=_0x4643f4[_0x4360fc(0x1ab)][_0x4360fc(0x1c3)](_0xfb3a1f),this[_0x4360fc(0x1a6)]=null,this[_0x4360fc(0x198)]=this[_0x4360fc(0x211)]();const _0x172b19=new _0x219b3f(_0x4643f4,Array[_0x4360fc(0x1b8)](this[_0x4360fc(0x198)][_0x4360fc(0x191)]()));_0x4643f4[_0x4360fc(0x1fa)][_0x4360fc(0x197)](_0x4360fc(0x1f2),_0x172b19),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x16c),_0x2e8049=>{const _0x5150c8=_0x4360fc,_0x4b4a00=_0x374b8f(_0x2e8049);return _0x4b4a00[_0x5150c8(0x165)]({'class':_0x5150c8(0x1ca)+this[_0x5150c8(0x1d6)]}),_0x4b4a00[_0x5150c8(0x16a)][_0x5150c8(0x165)]({'label':_0x1f932d(_0x2e8049,_0x5150c8(0x1ed)),'icon':_0x1a7a9c,'tooltip':!0x0}),_0x4b4a00['on'](_0x5150c8(0x1f5),_0x88e914=>this[_0x5150c8(0x188)](_0x88e914[_0x5150c8(0x195)]['id'])),_0x3e4518(_0x4b4a00,_0x4643f4['ui'][_0x5150c8(0x19b)][_0x5150c8(0x1b7)],function(_0x1325d9){const _0x12419b=_0x5150c8,_0x57b809=_0x17d56b(_0x1325d9[_0x12419b(0x20f)][_0x12419b(0x1c3)](_0x12419b(0x213)),_0x1325d9[_0x12419b(0x19d)]),_0x1eca7a=B(_0x1325d9,_0x57b809)[_0x12419b(0x17e)](_0x3fbb1c=>_0x3fbb1c[_0x12419b(0x1fa)][_0x12419b(0x163)]);if(0x1===_0x1eca7a[_0x12419b(0x163)])return B(_0x1325d9,_0x1eca7a[0x0][_0x12419b(0x1fa)])[_0x12419b(0x1ac)](_0x316d26=>({'id':_0x316d26['id'],'label':_0x316d26[_0x12419b(0x1cc)]}));return _0x1eca7a[_0x12419b(0x1ac)](_0x2c28e5=>{const _0x1274d8=_0x12419b,{groupId:_0x1a818e,groupLabel:_0x1c3f98,commands:_0x5c3328}=_0x2c28e5,_0x477b77=B(_0x1325d9,_0x5c3328)[_0x1274d8(0x1ac)](_0x447786=>({'id':_0x447786['id'],'label':_0x447786[_0x1274d8(0x1cc)]}));return{'id':_0x1a818e,'menu':_0x1c3f98||_0x1a818e,'children':_0x477b77};});}(_0x4643f4),{'ariaLabel':_0x1f932d(_0x2e8049,_0x5150c8(0x1ed))}),_0x4b4a00[_0x5150c8(0x187)][_0x5150c8(0x185)]=_0x5150c8(0x1ca)+this[_0x5150c8(0x1d6)],_0x172b19['on'](_0x5150c8(0x1f3),_0x41f3f),_0x4b4a00[_0x5150c8(0x187)][_0x5150c8(0x1b9)](_0x5150c8(0x17f),_0x41f3f),_0x4b4a00;function _0x41f3f(){const _0x39a9d0=_0x5150c8;_0x4b4a00[_0x39a9d0(0x199)]=_0x172b19[_0x39a9d0(0x186)][_0x39a9d0(0x163)]>0x0;for(const _0x3f3887 of _0x4b4a00[_0x39a9d0(0x187)][_0x39a9d0(0x212)])_0x3f3887[_0x39a9d0(0x199)]=_0x172b19[_0x39a9d0(0x186)][_0x39a9d0(0x1e4)](_0x3f3887['id']);}}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1b6),_0x5f42aa=>{const _0x56e8f1=_0x4360fc,_0x1d4467=new _0x59247e(_0x5f42aa);_0x1d4467[_0x56e8f1(0x16a)][_0x56e8f1(0x165)]({'label':_0x1f932d(_0x5f42aa,_0x56e8f1(0x1ed)),'icon':_0x1a7a9c}),_0x1d4467[_0x56e8f1(0x184)](_0x56e8f1(0x199))['to'](_0x172b19,_0x56e8f1(0x186),_0x304ac2=>_0x304ac2[_0x56e8f1(0x163)]>0x0);const _0x4186b9=_0x17d56b(_0x4643f4[_0x56e8f1(0x20f)][_0x56e8f1(0x1c3)](_0x56e8f1(0x213)),_0x5f42aa);return this[_0x56e8f1(0x203)](_0x172b19,_0x1d4467,_0x4186b9,_0x15543c=>this[_0x56e8f1(0x188)](_0x15543c)),_0x1d4467;}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1f1),()=>{const _0x1c9e04=_0x4360fc,_0x10df50=this[_0x1c9e04(0x173)](_0xbafeb7);return _0x10df50[_0x1c9e04(0x165)]({'tooltip':!0x0,'class':_0x1c9e04(0x18e)+this[_0x1c9e04(0x1d6)]}),_0x10df50;}),_0x4643f4['ui'][_0x4360fc(0x1be)][_0x4360fc(0x197)](_0x4360fc(0x1cb),()=>{const _0x2d8326=_0x4360fc,_0x2e5628=this[_0x2d8326(0x173)](_0x3633fc);return _0x2e5628[_0x2d8326(0x165)]({'role':_0x2d8326(0x1fe)}),_0x2e5628;}),this[_0x4360fc(0x1fb)]=this[_0x4360fc(0x1a0)][_0x4360fc(0x20f)][_0x4360fc(0x1c3)](_0x4360fc(0x1fb));const _0x7fa688=this[_0x4360fc(0x1a0)];this[_0x4360fc(0x1a1)]=setInterval(()=>{const _0x1bfb40=_0x4360fc;let _0xffad12;for(const _0x5d362a in _0x7fa688){const _0x5a2fee=_0x5d362a,_0xf33dcf=_0x7fa688[_0x5a2fee];if(_0x1bfb40(0x1de)==_0xf33dcf||_0x1bfb40(0x161)==_0xf33dcf||_0x1bfb40(0x1f6)==_0xf33dcf||_0x1bfb40(0x1e1)==_0xf33dcf||_0x1bfb40(0x1c8)==_0xf33dcf||_0x1bfb40(0x1a9)==_0xf33dcf||_0x1bfb40(0x174)==_0xf33dcf||_0x1bfb40(0x17c)==_0xf33dcf||_0x1bfb40(0x1a2)==_0xf33dcf){delete _0x7fa688[_0x5a2fee],_0xffad12=_0xf33dcf,clearInterval(this[_0x1bfb40(0x1a1)]),this[_0x1bfb40(0x1a1)]=void 0x0;break;}}_0x1bfb40(0x161)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1a4)),_0x1bfb40(0x1f6)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1ea)),_0x1bfb40(0x1e1)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x17b)),_0x1bfb40(0x1c8)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x17d),_0x1bfb40(0x18d)),_0x1bfb40(0x1a9)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1bc)),_0x1bfb40(0x174)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x214)),_0x1bfb40(0x17c)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x177)),_0x1bfb40(0x1a2)==_0xffad12&&_0x7fa688[_0x1bfb40(0x1b0)](_0x1bfb40(0x1ef));},0x3e8);}[_0x407de7(0x1e8)](){const _0x38ea14=_0x407de7;super[_0x38ea14(0x1e8)](),this[_0x38ea14(0x1a1)]&&clearInterval(this[_0x38ea14(0x1a1)]);}[_0x407de7(0x166)](_0x49b364='',_0x3e6463='',_0x302618=_0x407de7(0x1ce)){const _0x3aa595=_0x407de7,_0x3e4183=this[_0x3aa595(0x1a0)],_0x4ef45a=_0x3e4183[_0x3aa595(0x15f)][_0x3aa595(0x19b)],_0x46fe7b=_0x3e4183[_0x3aa595(0x1ab)][_0x3aa595(0x1c3)](_0x1bd5c0),_0x3b1fb0=_0x3e4183[_0x3aa595(0x1ab)][_0x3aa595(0x1c3)](_0x48bc58);_0x46fe7b[_0x3aa595(0x181)]();const _0x44dac6=new j(),_0x1d9e8e=new ClipboardEvent(_0x3aa595(0x209),{'clipboardData':_0x44dac6}),_0x30035a=new _0x295349(_0x44dac6),_0x57366b=new _0x4859e4(_0x4ef45a,_0x1d9e8e,{'dataTransfer':_0x30035a});_0x3b1fb0[_0x3aa595(0x1a5)](_0x3aa595(0x1b3),()=>{const _0x2e1b1a=_0x3aa595;_0x4ef45a[_0x2e1b1a(0x1af)][_0x2e1b1a(0x1df)](_0x2e1b1a(0x209),_0x57366b);}),this[_0x3aa595(0x1a6)]||(this[_0x3aa595(0x196)](),this[_0x3aa595(0x1f0)]=new _0x1667ef(_0x3e4183,this[_0x3aa595(0x1c7)][_0x3aa595(0x205)],this[_0x3aa595(0x1a6)]));let _0x3398c2=_0x30035a[_0x3aa595(0x1d4)](_0x3aa595(0x1aa));const _0x557e3=_0x3e4183[_0x3aa595(0x1ae)][_0x3aa595(0x1af)][_0x3aa595(0x1f8)],_0x173d2c=Array[_0x3aa595(0x1b8)](_0x557e3[_0x3aa595(0x19e)]());0x1===_0x173d2c[_0x3aa595(0x163)]&&_0x173d2c[0x0][_0x3aa595(0x1d7)]&&!_0x557e3[_0x3aa595(0x20c)]()&&''!==_0x3398c2[_0x3aa595(0x1e0)](/ /g,'')[_0x3aa595(0x1e3)]()&&(_0x3398c2=_0x3aa595(0x1ff)+_0x3398c2+_0x3aa595(0x169)),this[_0x3aa595(0x1f0)][_0x3aa595(0x19a)]({'actionId':_0x302618,'query':_0x49b364,'htmlContent':_0x3398c2,'label':_0x3e6463,'mainActionLabel':_0x44e11f[_0x3e4183[_0x3aa595(0x1ae)][_0x3aa595(0x1af)][_0x3aa595(0x1f8)][_0x3aa595(0x200)]?_0x3aa595(0x20a):_0x3aa595(0x1f7)]}),_0x3aa595(0x1f1)!==this[_0x3aa595(0x1e9)]['id']?this[_0x3aa595(0x1e9)][_0x3aa595(0x178)]({'id':_0x3aa595(0x1f1),'icon':_0x57261d[_0x3aa595(0x1ad)],'title':_0x1f932d(this[_0x3aa595(0x1a0)][_0x3aa595(0x19d)],_0x3aa595(0x208)),'content':this[_0x3aa595(0x1a6)],'position':_0x39e458[_0x3aa595(0x1d0)],'onShow':()=>{const _0x238d93=_0x3aa595;this[_0x238d93(0x1a6)][_0x238d93(0x17a)]();},'onHide':()=>{const _0x43a364=_0x3aa595;this[_0x43a364(0x1f0)][_0x43a364(0x1f9)](),_0x46fe7b[_0x43a364(0x1b5)]();}}):this[_0x3aa595(0x1e9)][_0x3aa595(0x19b)][_0x3aa595(0x19f)]||this[_0x3aa595(0x1e9)][_0x3aa595(0x19b)][_0x3aa595(0x1f4)]();}[_0x407de7(0x1da)](){const _0x34ffb6=_0x407de7;this[_0x34ffb6(0x1e9)][_0x34ffb6(0x16d)]();}[_0x407de7(0x211)](){const _0x27354d=_0x407de7,_0x56c2cb=new Map(),_0x3daaf4=_0x17d56b(this[_0x27354d(0x1a0)][_0x27354d(0x20f)][_0x27354d(0x1c3)](_0x27354d(0x213)),this[_0x27354d(0x1a0)][_0x27354d(0x19d)]);for(const _0x2cb5fb of _0x3daaf4)for(const _0x552e84 of _0x2cb5fb[_0x27354d(0x1fa)])_0x56c2cb[_0x27354d(0x165)](_0x552e84['id'],{..._0x552e84,'groupId':_0x2cb5fb[_0x27354d(0x1e7)],'groupLabel':_0x2cb5fb[_0x27354d(0x1c0)]||_0x2cb5fb[_0x27354d(0x1e7)]});return _0x56c2cb;}[_0x407de7(0x173)](_0x1136d9){const _0x2f77f6=_0x407de7,_0x4e1201=this[_0x2f77f6(0x1a0)],_0x4f4c76=_0x4e1201[_0x2f77f6(0x1fa)][_0x2f77f6(0x1c3)](_0x2f77f6(0x1f2)),_0x225b14=new _0x1136d9(_0x4e1201[_0x2f77f6(0x19d)]);return _0x225b14[_0x2f77f6(0x165)]({'label':_0x1f932d(_0x4e1201[_0x2f77f6(0x19d)],_0x2f77f6(0x208)),'icon':_0x57261d[_0x2f77f6(0x1ad)],'isToggleable':!0x0}),_0x225b14[_0x2f77f6(0x184)](_0x2f77f6(0x199))['to'](_0x4f4c76),_0x225b14[_0x2f77f6(0x184)](_0x2f77f6(0x1a3))['to'](this[_0x2f77f6(0x1e9)],'id',_0x344b1c=>_0x2f77f6(0x1f1)===_0x344b1c),this[_0x2f77f6(0x19c)](_0x225b14,_0x2f77f6(0x1f5),()=>{const _0x97c55d=_0x2f77f6;_0x225b14[_0x97c55d(0x1a3)]?this[_0x97c55d(0x1da)]():_0x4f4c76[_0x97c55d(0x1f5)]();}),_0x225b14;}[_0x407de7(0x196)](){const _0x3ab2b2=_0x407de7,_0xe0b231=this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x1ab)][_0x3ab2b2(0x1c3)](_0x1bd5c0);this[_0x3ab2b2(0x1a6)]=new _0x1189b4(this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x19d)],this[_0x3ab2b2(0x1d6)],this[_0x3ab2b2(0x1a0)][_0x3ab2b2(0x20f)][_0x3ab2b2(0x1c3)](_0x3ab2b2(0x189))),this[_0x3ab2b2(0x1a6)]['on'](_0x3ab2b2(0x168),()=>{const _0x1a910b=_0x3ab2b2;this[_0x1a910b(0x1e9)][_0x1a910b(0x19b)][_0x1a910b(0x19f)]||this[_0x1a910b(0x1e9)][_0x1a910b(0x19b)][_0x1a910b(0x1f4)]();}),this[_0x3ab2b2(0x1a6)][_0x3ab2b2(0x1d1)][_0x3ab2b2(0x18c)][_0x3ab2b2(0x1c2)]['on'](_0x3ab2b2(0x1c9),()=>{const _0x594665=_0x3ab2b2;this[_0x594665(0x1e9)][_0x594665(0x19b)][_0x594665(0x19f)]||this[_0x594665(0x1e9)][_0x594665(0x19b)][_0x594665(0x1f4)]();}),this[_0x3ab2b2(0x19c)](this[_0x3ab2b2(0x1a6)],_0x3ab2b2(0x1a8),()=>{const _0x49bef6=_0x3ab2b2;_0xe0b231[_0x49bef6(0x176)](this[_0x49bef6(0x1f0)][_0x49bef6(0x18b)]),this[_0x49bef6(0x1da)]();}),this[_0x3ab2b2(0x19c)](this[_0x3ab2b2(0x1a6)],_0x3ab2b2(0x1d5),()=>{const _0x1385a6=_0x3ab2b2;_0xe0b231[_0x1385a6(0x1d5)](this[_0x1385a6(0x1f0)][_0x1385a6(0x18b)]),this[_0x1385a6(0x1da)]();}),this[_0x3ab2b2(0x16f)]();}[_0x407de7(0x16f)](){const _0x4bb2a0=_0x407de7,{locale:_0x33d0ec,ui:{ariaLiveAnnouncer:_0x17fc43}}=this[_0x4bb2a0(0x1a0)];this[_0x4bb2a0(0x1a6)][_0x4bb2a0(0x194)]['on'](_0x4bb2a0(0x1e5),(_0x38ebb8,_0x1143da,_0x51b6e3)=>{const _0x1f939b=_0x4bb2a0,_0x33cea4=this[_0x1f939b(0x1f0)][_0x1f939b(0x18b)];_0x51b6e3?_0x17fc43[_0x1f939b(0x183)](_0x1f932d(_0x33d0ec,_0x1f939b(0x179))):_0x33cea4&&_0x17fc43[_0x1f939b(0x183)](_0x1f932d(_0x33d0ec,_0x1f939b(0x1bf),_0x33cea4),{'politeness':_0x1f939b(0x1fc),'isUnsafeHTML':!0x0});}),this[_0x4bb2a0(0x1a6)]['on'](_0x4bb2a0(0x1c1),(_0x36f53c,_0x1e82a1,_0x4fa8ca)=>{const _0x2c45a0=_0x4bb2a0;if(_0x4fa8ca){const _0x4879a3=this[_0x2c45a0(0x1a6)][_0x2c45a0(0x193)][_0x2c45a0(0x1b2)];_0x17fc43[_0x2c45a0(0x183)](_0x1f932d(_0x33d0ec,_0x2c45a0(0x201),_0x4879a3));}});}[_0x407de7(0x188)](_0x1589e4){const _0x45f7fa=_0x407de7,_0x3b443b=this[_0x45f7fa(0x198)][_0x45f7fa(0x1c3)](_0x1589e4),_0x5578a3=this[_0x45f7fa(0x1a0)],_0x28c891=_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x1af)][_0x45f7fa(0x1f8)],_0xb0c164=_0x5578a3[_0x45f7fa(0x1fa)][_0x45f7fa(0x1c3)](_0x45f7fa(0x1f2)),_0x574002=_0x5578a3[_0x45f7fa(0x1ab)][_0x45f7fa(0x1c3)](_0x1bd5c0),_0x24e303=''+(_0x3b443b[_0x45f7fa(0x1e7)]!==_0x165c49?_0x3b443b[_0x45f7fa(0x1c0)]+':\x20':'')+_0x3b443b[_0x45f7fa(0x1cc)];if(!0x1!==_0x3b443b[_0x45f7fa(0x1ec)]&&_0x28c891[_0x45f7fa(0x200)]){const _0x1f77ae=_0xe8572b(_0x28c891[_0x45f7fa(0x164)]())||_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x202)][_0x45f7fa(0x1ba)](_0x28c891);_0x5578a3[_0x45f7fa(0x1ae)][_0x45f7fa(0x1cf)](_0x4f38ec=>{const _0x53c720=_0x45f7fa;_0x4f38ec[_0x53c720(0x16b)](_0x1f77ae,'in');});}_0x574002[_0x45f7fa(0x181)](),_0xb0c164[_0x45f7fa(0x1f5)](_0x3b443b[_0x45f7fa(0x1a7)],_0x24e303,_0x45f7fa(0x182)+_0x1589e4);}[_0x407de7(0x203)](_0x23d90e,_0x678b7d,_0x5eb4a5,_0x51e9ee){const _0x491bf0=_0x407de7,_0x591571=this[_0x491bf0(0x1a0)],_0x1fc8a7=_0x591571[_0x491bf0(0x19d)],_0x1560ea=new _0x53d8b7(_0x1fc8a7),_0x3dbb6e=B(_0x591571,_0x5eb4a5)[_0x491bf0(0x17e)](_0x209a32=>_0x209a32[_0x491bf0(0x1fa)][_0x491bf0(0x163)]);0x1===_0x3dbb6e[_0x491bf0(0x163)]?this[_0x491bf0(0x190)]({'command':_0x23d90e,'commands':_0x3dbb6e[0x0][_0x491bf0(0x1fa)],'parentMenuView':_0x678b7d,'onExecute':_0x51e9ee})[_0x491bf0(0x1e2)](_0xbaa7b0=>_0x1560ea[_0x491bf0(0x1e6)][_0x491bf0(0x197)](_0xbaa7b0)):_0x3dbb6e[_0x491bf0(0x1e2)](({groupId:_0x5bc060,groupLabel:_0x57b899,commands:_0x3a68ed})=>{const _0x445521=_0x491bf0,_0x4aba84=new _0x4971b4(_0x1fc8a7,_0x678b7d),_0x34e26c=new _0x59247e(_0x1fc8a7),_0x162bf2=new _0x53d8b7(_0x1fc8a7),_0x1f170a=this[_0x445521(0x190)]({'command':_0x23d90e,'commands':_0x3a68ed,'parentMenuView':_0x34e26c,'onExecute':_0x51e9ee});_0x34e26c[_0x445521(0x16a)][_0x445521(0x165)]({'label':_0x57b899||_0x5bc060}),_0x34e26c[_0x445521(0x192)](_0x445521(0x1f5))['to'](_0x678b7d),_0x162bf2[_0x445521(0x1e6)][_0x445521(0x20b)](_0x1f170a),_0x34e26c[_0x445521(0x172)][_0x445521(0x1c4)][_0x445521(0x197)](_0x162bf2),_0x4aba84[_0x445521(0x1c4)][_0x445521(0x197)](_0x34e26c),_0x1560ea[_0x445521(0x1e6)][_0x445521(0x197)](_0x4aba84);}),_0x678b7d[_0x491bf0(0x172)][_0x491bf0(0x1c4)][_0x491bf0(0x197)](_0x1560ea);}[_0x407de7(0x190)]({command:_0x1cb390,commands:_0x116084,parentMenuView:_0x3a666b,onExecute:_0x698cca}){const _0x19da82=_0x407de7,_0x360335=this[_0x19da82(0x1a0)],_0x9992fa=_0x360335[_0x19da82(0x19d)];return B(_0x360335,_0x116084)[_0x19da82(0x1ac)](_0x2f4e71=>{const _0x36de3c=_0x19da82,_0x590455=new _0x4971b4(_0x9992fa,_0x3a666b),_0x15cd22=new _0x3633fc(_0x9992fa);return _0x15cd22[_0x36de3c(0x165)]({'label':_0x2f4e71[_0x36de3c(0x1cc)]}),_0x15cd22[_0x36de3c(0x192)](_0x36de3c(0x1f5))['to'](_0x3a666b),_0x15cd22['on'](_0x36de3c(0x1f5),()=>_0x698cca(_0x2f4e71['id'])),_0x15cd22[_0x36de3c(0x184)](_0x36de3c(0x199))['to'](_0x1cb390,_0x36de3c(0x186),_0xe688e2=>_0xe688e2[_0x36de3c(0x1e4)](_0x2f4e71['id'])),_0x590455[_0x36de3c(0x1c4)][_0x36de3c(0x197)](_0x15cd22),_0x590455;});}}function _(_0x35c499,_0x2b6013){const _0x161d00=_0x407de7;return void 0x0!==_0x35c499[_0x161d00(0x162)]&&void 0x0===_0x2b6013[_0x161d00(0x162)]?0x1:void 0x0===_0x35c499[_0x161d00(0x162)]&&void 0x0!==_0x2b6013[_0x161d00(0x162)]?-0x1:void 0x0!==_0x35c499[_0x161d00(0x162)]&&void 0x0!==_0x2b6013[_0x161d00(0x162)]?_0x35c499[_0x161d00(0x162)]-_0x2b6013[_0x161d00(0x162)]:0x0;}function B(_0x374049,_0x3f4945){const _0x58cbcf=_0x407de7;_0x3f4945[_0x58cbcf(0x1db)](_);const _0x272c3f={},_0x39a350=[];for(const _0x2e04d4 of _0x3f4945)if(void 0x0!==_0x2e04d4[_0x58cbcf(0x162)]){if(_0x2e04d4[_0x58cbcf(0x162)]in _0x272c3f)throw new _0x360224(_0x58cbcf(0x1dd),_0x374049,{'conflictingDefinitions':[_0x2e04d4,_0x272c3f[_0x2e04d4[_0x58cbcf(0x162)]]]});_0x272c3f[_0x2e04d4[_0x58cbcf(0x162)]]=_0x2e04d4,_0x39a350[_0x58cbcf(0x204)](_0x2e04d4[_0x58cbcf(0x162)],0x0,_0x2e04d4);}else _0x39a350[_0x58cbcf(0x170)](_0x2e04d4);return _0x39a350;}
|
|
23
|
+
const _0x1cca25=_0x1f7a;(function(_0x29e6c1,_0x70acf0){const _0xc54f02=_0x1f7a,_0x2f3479=_0x29e6c1();while(!![]){try{const _0x247bc2=parseInt(_0xc54f02(0x152))/0x1+parseInt(_0xc54f02(0xfa))/0x2+parseInt(_0xc54f02(0x166))/0x3+parseInt(_0xc54f02(0xd3))/0x4+parseInt(_0xc54f02(0x106))/0x5+parseInt(_0xc54f02(0x10d))/0x6*(-parseInt(_0xc54f02(0x108))/0x7)+-parseInt(_0xc54f02(0x147))/0x8*(parseInt(_0xc54f02(0x15f))/0x9);if(_0x247bc2===_0x70acf0)break;else _0x2f3479['push'](_0x2f3479['shift']());}catch(_0x209b70){_0x2f3479['push'](_0x2f3479['shift']());}}}(_0x5d9a,0x33162));import{Plugin as _0x1fc734}from'ckeditor5/src/core.js';import{first as _0x41c662,CKEditorError as _0x252d75}from'ckeditor5/src/utils.js';import{createDropdown as _0x1a1541,addMenuToDropdown as _0x3351e1,ButtonView as _0x28e560,MenuBarMenuListItemButtonView as _0x4da10a,Dialog as _0x91b924,DialogViewPosition as _0x146ac0,MenuBarMenuView as _0x2172e8,MenuBarMenuListView as _0x1e3d0c,MenuBarMenuListItemView as _0x32d0b8}from'ckeditor5/src/ui.js';import{icons as _0x60fd85}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x311eea,UNGROUPED_COMMANDS_GROUP_ID as _0x87c976}from'./utils/normalizecommandsconfig.js';import _0x21828f from'./aiassistantediting.js';import _0x11efce from'./adapters/aiadapter.js';function _0x5d9a(){const _0x41e116=['developmentLimit','_aiAdapter','plugins','AI\x20Assistant','change:enabledCommandsIds','isFlat','tableOfContents','source','usageLimit','<p>','expired','delegate','licenseKey','aiLicenseKeyNotAllowed','722054ElnNYi','_licenseKeyCheckInterval','splice','aiAssistant','get','model','schema','evaluationLimit','config','pluginName','aiLicenseKeyUsageLimit','menuView','1338670zSXtid','updateView','125566THkvEe','panelView','command:','_initAriaAiStatusChangeAnnouncements','aiLicenseKeyDomainLimit','18RUdhSe','isOn','_aiAssistantController','_forceMarkersCopy','buttonView','getData','_initView','hideFakeVisualSelection','items','add','bind','requiresContent','isOfficialPlugin','getRanges','robotPencil','init','aiLicenseKeyInvalid','commands','editor','replace','change','map','ck-ai-assistant-button\x20','update','setSelection','once','reset','announce','execute','aiLicenseKeyExpired','updatePosition','getSelectedElement','trim','aiLicenseKeyValid','AIAssistant','change:isError','_uiCssClasses','listenTo','componentFactory','aiLicenseKeyTrialLimit','includes','aiLicenseKeyDevelopmentLimit','_populateMenuBarMenu','menuBar:aiCommands','view','ck-ai-commands-dropdown\x20','replaceContent','buttons','aiLicenseKeyEvaluationLimit','_onExecute','children','text','polite','_createAIAssistantUIButton','ai.aiAssistant.commands','selection','hideUI','change:value','186512JpzNnK','promptView','Generated\x20content:\x20%0','render','AI\x20is\x20writing','body','isCollapsed','ai.aiAssistant.contentAreaCssClass','sort','menuPanelClass','currentContext','359389CjRVWU','length','_commandDefinitions','text/html','label','contentArea','focus','isEnabled','showAIAssistant','isPremiumPlugin','menuitemcheckbox','EDITOR_TOP_SIDE','wasMoved','441FDHoIu','destroy','custom','show','addMany','_dialog','showFakeVisualSelection','1026831DXsBBx','getLimitElement','fieldView','menuBar:aiAssistant','ai.useTheme','getSelectedBlocks','aiCommands','</p>','\x20ck-ai-assistant-ui_theme','AI\x20Commands','featureNotAllowed','showUI','locale','ai.aiAssistant.disabledElements','editing','requires','set','rawHtml','_getMenuBarGroupButtons','groupId','_showLicenseError','fire','groupLabel','AIAssistantUI','enabledCommandsIds','Error\x20during\x20AI\x20content\x20generation:\x20%0','textAdapter','ai-commands-config-order-collision','forEach','queryView','comment','300092FQjfjM','document','change:isProcessing','copy','INSERT','prompt','values','errorView','push','REPLACE','ck-ai-assistant-ui','order','trialLimit','DataTransfer','filter','_getResolvedCommandsDefinitions','_formView','domainLimit','from','insertContent','insertContentBelow','invalid','hide','define','media'];_0x5d9a=function(){return _0x41e116;};return _0x5d9a();}import{getTranslation as _0x19c2a6}from'./utils/common-translations.js';import _0x60c90c from'./ui/showaiassistantcommand.js';import _0x177d52 from'./ui/aiassistantcontroller.js';import _0x406ca2 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x37d494}from'./ui/form/aiformtoolbarview.js';import _0x261a71 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x1cca25(0xe0)];import{ClipboardMarkersUtils as _0x335ed7}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x267c5a,DataTransfer as _0x1e35fd}from'ckeditor5/src/engine.js';export default class n extends _0x1fc734{static get[_0x1cca25(0x103)](){const _0x41c429=_0x1cca25;return _0x41c429(0xcb);}static get[_0x1cca25(0x119)](){return!0x0;}static get[_0x1cca25(0x15b)](){return!0x0;}static get[_0x1cca25(0xc3)](){return[_0x335ed7,_0x21828f,_0x11efce,_0x91b924];}constructor(_0x5ce44f){const _0x55b6e1=_0x1cca25;super(_0x5ce44f),this[_0x55b6e1(0x131)]='',_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0xc1),[_0x55b6e1(0xeb),_0x55b6e1(0xc5),_0x55b6e1(0xf2)]),_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0x14e),''),_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xea)](_0x55b6e1(0x16a),!0x0),this[_0x55b6e1(0x131)]=_0x55b6e1(0xdd)+(_0x5ce44f[_0x55b6e1(0x102)][_0x55b6e1(0xfe)](_0x55b6e1(0x16a))?_0x55b6e1(0xbc):'');}[_0x1cca25(0x11c)](){const _0x290192=_0x1cca25,{editor:_0x137481}=this;this[_0x290192(0xed)]=_0x137481[_0x290192(0xee)][_0x290192(0xfe)](_0x11efce),this[_0x290192(0x164)]=_0x137481[_0x290192(0xee)][_0x290192(0xfe)](_0x91b924),this[_0x290192(0xe3)]=null,this[_0x290192(0x154)]=this[_0x290192(0xe2)]();const _0x2eebc8=new _0x60c90c(_0x137481,Array[_0x290192(0xe5)](this[_0x290192(0x154)][_0x290192(0xd9)]()));_0x137481[_0x290192(0x11e)][_0x290192(0x116)](_0x290192(0x15a),_0x2eebc8),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0xba),_0x2c58ef=>{const _0x30b797=_0x290192,_0x2eeb43=_0x1a1541(_0x2c58ef);return _0x2eeb43[_0x30b797(0xc4)]({'class':_0x30b797(0x13a)+this[_0x30b797(0x131)]}),_0x2eeb43[_0x30b797(0x111)][_0x30b797(0xc4)]({'label':_0x19c2a6(_0x2c58ef,_0x30b797(0xbd)),'icon':_0x261a71,'tooltip':!0x0}),_0x2eeb43['on'](_0x30b797(0x129),_0xc17bbf=>this[_0x30b797(0x13e)](_0xc17bbf[_0x30b797(0xf3)]['id'])),_0x3351e1(_0x2eeb43,_0x137481['ui'][_0x30b797(0x139)][_0x30b797(0x14c)],function(_0x20f0af){const _0x4e26b4=_0x30b797,_0x1fc917=_0x311eea(_0x20f0af[_0x4e26b4(0x102)][_0x4e26b4(0xfe)](_0x4e26b4(0x143)),_0x20f0af[_0x4e26b4(0xc0)]),_0x5321bf=B(_0x20f0af,_0x1fc917)[_0x4e26b4(0xe1)](_0x58ca4e=>_0x58ca4e[_0x4e26b4(0x11e)][_0x4e26b4(0x153)]);if(0x1===_0x5321bf[_0x4e26b4(0x153)])return B(_0x20f0af,_0x5321bf[0x0][_0x4e26b4(0x11e)])[_0x4e26b4(0x122)](_0x3172c4=>({'id':_0x3172c4['id'],'label':_0x3172c4[_0x4e26b4(0x156)]}));return _0x5321bf[_0x4e26b4(0x122)](_0x501f1a=>{const _0x5321d0=_0x4e26b4,{groupId:_0xb0ebea,groupLabel:_0x461910,commands:_0x39646a}=_0x501f1a,_0x3e3670=B(_0x20f0af,_0x39646a)[_0x5321d0(0x122)](_0x4e2d5e=>({'id':_0x4e2d5e['id'],'label':_0x4e2d5e[_0x5321d0(0x156)]}));return{'id':_0xb0ebea,'menu':_0x461910||_0xb0ebea,'children':_0x3e3670};});}(_0x137481),{'ariaLabel':_0x19c2a6(_0x2c58ef,_0x30b797(0xbd))}),_0x2eeb43[_0x30b797(0x105)][_0x30b797(0x150)]=_0x30b797(0x13a)+this[_0x30b797(0x131)],_0x2eebc8['on'](_0x30b797(0xf0),_0x23d8a8),_0x2eeb43[_0x30b797(0x105)][_0x30b797(0x126)](_0x30b797(0x14a),_0x23d8a8),_0x2eeb43;function _0x23d8a8(){const _0x440988=_0x30b797;_0x2eeb43[_0x440988(0x159)]=_0x2eebc8[_0x440988(0xcc)][_0x440988(0x153)]>0x0;for(const _0x36433b of _0x2eeb43[_0x440988(0x105)][_0x440988(0x13c)])_0x36433b[_0x440988(0x159)]=_0x2eebc8[_0x440988(0xcc)][_0x440988(0x135)](_0x36433b['id']);}}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0x138),_0x5aee28=>{const _0x41acd8=_0x290192,_0x4151c1=new _0x2172e8(_0x5aee28);_0x4151c1[_0x41acd8(0x111)][_0x41acd8(0xc4)]({'label':_0x19c2a6(_0x5aee28,_0x41acd8(0xbd)),'icon':_0x261a71}),_0x4151c1[_0x41acd8(0x117)](_0x41acd8(0x159))['to'](_0x2eebc8,_0x41acd8(0xcc),_0xafa074=>_0xafa074[_0x41acd8(0x153)]>0x0);const _0x354b1a=_0x311eea(_0x137481[_0x41acd8(0x102)][_0x41acd8(0xfe)](_0x41acd8(0x143)),_0x5aee28);return this[_0x41acd8(0x137)](_0x2eebc8,_0x4151c1,_0x354b1a,_0x357c9b=>this[_0x41acd8(0x13e)](_0x357c9b)),_0x4151c1;}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0xfd),()=>{const _0x4b8dfe=_0x290192,_0xdb9521=this[_0x4b8dfe(0x142)](_0x28e560);return _0xdb9521[_0x4b8dfe(0xc4)]({'tooltip':!0x0,'class':_0x4b8dfe(0x123)+this[_0x4b8dfe(0x131)]}),_0xdb9521;}),_0x137481['ui'][_0x290192(0x133)][_0x290192(0x116)](_0x290192(0x169),()=>{const _0x2f3971=_0x290192,_0x5b4f5b=this[_0x2f3971(0x142)](_0x4da10a);return _0x5b4f5b[_0x2f3971(0xc4)]({'role':_0x2f3971(0x15c)}),_0x5b4f5b;}),this[_0x290192(0xf8)]=this[_0x290192(0x11f)][_0x290192(0x102)][_0x290192(0xfe)](_0x290192(0xf8));const _0x16cd85=this[_0x290192(0x11f)];this[_0x290192(0xfb)]=setInterval(()=>{const _0x1b8a2e=_0x290192;let _0x18f716;for(const _0xc302e3 in _0x16cd85){const _0x37d633=_0xc302e3,_0x33e4e2=_0x16cd85[_0x37d633];if(_0x1b8a2e(0x12e)==_0x33e4e2||_0x1b8a2e(0x11d)==_0x33e4e2||_0x1b8a2e(0x12a)==_0x33e4e2||_0x1b8a2e(0x10c)==_0x33e4e2||_0x1b8a2e(0xf9)==_0x33e4e2||_0x1b8a2e(0x13d)==_0x33e4e2||_0x1b8a2e(0x134)==_0x33e4e2||_0x1b8a2e(0x136)==_0x33e4e2||_0x1b8a2e(0x104)==_0x33e4e2){delete _0x16cd85[_0x37d633],_0x18f716=_0x33e4e2,clearInterval(this[_0x1b8a2e(0xfb)]),this[_0x1b8a2e(0xfb)]=void 0x0;break;}}_0x1b8a2e(0x11d)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xe8)),_0x1b8a2e(0x12a)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xf6)),_0x1b8a2e(0x10c)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xe4)),_0x1b8a2e(0xf9)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xbe),_0x1b8a2e(0x12f)),_0x1b8a2e(0x13d)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0x101)),_0x1b8a2e(0x134)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xdf)),_0x1b8a2e(0x136)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xec)),_0x1b8a2e(0x104)==_0x18f716&&_0x16cd85[_0x1b8a2e(0xc8)](_0x1b8a2e(0xf4));},0x3e8);}[_0x1cca25(0x160)](){const _0x17fcd4=_0x1cca25;super[_0x17fcd4(0x160)](),this[_0x17fcd4(0xfb)]&&clearInterval(this[_0x17fcd4(0xfb)]);}[_0x1cca25(0xbf)](_0x23b12f='',_0x48db0e='',_0x4d72a3=_0x1cca25(0x161)){const _0x3523dd=_0x1cca25,_0x1f1940=this[_0x3523dd(0x11f)],_0x5234d0=_0x1f1940[_0x3523dd(0xc2)][_0x3523dd(0x139)],_0xc8fcb=_0x1f1940[_0x3523dd(0xee)][_0x3523dd(0xfe)](_0x21828f),_0x2a9a42=_0x1f1940[_0x3523dd(0xee)][_0x3523dd(0xfe)](_0x335ed7);_0xc8fcb[_0x3523dd(0x165)]();const _0x39c2d9=new j(),_0xf2c9d0=new ClipboardEvent(_0x3523dd(0xd6),{'clipboardData':_0x39c2d9}),_0x1a45b2=new _0x1e35fd(_0x39c2d9),_0x31eef3=new _0x267c5a(_0x5234d0,_0xf2c9d0,{'dataTransfer':_0x1a45b2});_0x2a9a42[_0x3523dd(0x110)](_0x3523dd(0xd2),()=>{const _0x3e1a86=_0x3523dd;_0x5234d0[_0x3e1a86(0xd4)][_0x3e1a86(0xc9)](_0x3e1a86(0xd6),_0x31eef3);}),this[_0x3523dd(0xe3)]||(this[_0x3523dd(0x113)](),this[_0x3523dd(0x10f)]=new _0x177d52(_0x1f1940,this[_0x3523dd(0xed)][_0x3523dd(0xce)],this[_0x3523dd(0xe3)]));let _0x480fd9=_0x1a45b2[_0x3523dd(0x112)](_0x3523dd(0x155));const _0x3a7e7a=_0x1f1940[_0x3523dd(0xff)][_0x3523dd(0xd4)][_0x3523dd(0x144)],_0x224ebd=Array[_0x3523dd(0xe5)](_0x3a7e7a[_0x3523dd(0x11a)]());0x1===_0x224ebd[_0x3523dd(0x153)]&&_0x224ebd[0x0][_0x3523dd(0xf1)]&&!_0x3a7e7a[_0x3523dd(0x12c)]()&&''!==_0x480fd9[_0x3523dd(0x120)](/ /g,'')[_0x3523dd(0x12d)]()&&(_0x480fd9=_0x3523dd(0xf5)+_0x480fd9+_0x3523dd(0xbb)),this[_0x3523dd(0x10f)][_0x3523dd(0x107)]({'actionId':_0x4d72a3,'query':_0x23b12f,'htmlContent':_0x480fd9,'label':_0x48db0e,'mainActionLabel':_0x37d494[_0x1f1940[_0x3523dd(0xff)][_0x3523dd(0xd4)][_0x3523dd(0x144)][_0x3523dd(0x14d)]?_0x3523dd(0xd7):_0x3523dd(0xdc)]}),_0x3523dd(0xfd)!==this[_0x3523dd(0x164)]['id']?this[_0x3523dd(0x164)][_0x3523dd(0x162)]({'id':_0x3523dd(0xfd),'icon':_0x60fd85[_0x3523dd(0x11b)],'title':_0x19c2a6(this[_0x3523dd(0x11f)][_0x3523dd(0xc0)],_0x3523dd(0xef)),'content':this[_0x3523dd(0xe3)],'position':_0x146ac0[_0x3523dd(0x15d)],'onShow':()=>{const _0x4ab126=_0x3523dd;this[_0x4ab126(0xe3)][_0x4ab126(0x158)]();},'onHide':()=>{const _0x33c97a=_0x3523dd;this[_0x33c97a(0x10f)][_0x33c97a(0x127)](),_0xc8fcb[_0x33c97a(0x114)]();}}):this[_0x3523dd(0x164)][_0x3523dd(0x139)][_0x3523dd(0x15e)]||this[_0x3523dd(0x164)][_0x3523dd(0x139)][_0x3523dd(0x12b)]();}[_0x1cca25(0x145)](){const _0x1a50b7=_0x1cca25;this[_0x1a50b7(0x164)][_0x1a50b7(0xe9)]();}[_0x1cca25(0xe2)](){const _0x54ab89=_0x1cca25,_0x2edbdb=new Map(),_0x3c5701=_0x311eea(this[_0x54ab89(0x11f)][_0x54ab89(0x102)][_0x54ab89(0xfe)](_0x54ab89(0x143)),this[_0x54ab89(0x11f)][_0x54ab89(0xc0)]);for(const _0xe0d367 of _0x3c5701)for(const _0x5e6487 of _0xe0d367[_0x54ab89(0x11e)])_0x2edbdb[_0x54ab89(0xc4)](_0x5e6487['id'],{..._0x5e6487,'groupId':_0xe0d367[_0x54ab89(0xc7)],'groupLabel':_0xe0d367[_0x54ab89(0xca)]||_0xe0d367[_0x54ab89(0xc7)]});return _0x2edbdb;}[_0x1cca25(0x142)](_0x5587f5){const _0x80cfba=_0x1cca25,_0x5985e2=this[_0x80cfba(0x11f)],_0x13d9a9=_0x5985e2[_0x80cfba(0x11e)][_0x80cfba(0xfe)](_0x80cfba(0x15a)),_0x14c4ed=new _0x5587f5(_0x5985e2[_0x80cfba(0xc0)]);return _0x14c4ed[_0x80cfba(0xc4)]({'label':_0x19c2a6(_0x5985e2[_0x80cfba(0xc0)],_0x80cfba(0xef)),'icon':_0x60fd85[_0x80cfba(0x11b)],'isToggleable':!0x0}),_0x14c4ed[_0x80cfba(0x117)](_0x80cfba(0x159))['to'](_0x13d9a9),_0x14c4ed[_0x80cfba(0x117)](_0x80cfba(0x10e))['to'](this[_0x80cfba(0x164)],'id',_0xc91704=>_0x80cfba(0xfd)===_0xc91704),this[_0x80cfba(0x132)](_0x14c4ed,_0x80cfba(0x129),()=>{const _0xd23585=_0x80cfba;_0x14c4ed[_0xd23585(0x10e)]?this[_0xd23585(0x145)]():_0x13d9a9[_0xd23585(0x129)]();}),_0x14c4ed;}[_0x1cca25(0x113)](){const _0x9ead4d=_0x1cca25,_0x1295b3=this[_0x9ead4d(0x11f)][_0x9ead4d(0xee)][_0x9ead4d(0xfe)](_0x21828f);this[_0x9ead4d(0xe3)]=new _0x406ca2(this[_0x9ead4d(0x11f)][_0x9ead4d(0xc0)],this[_0x9ead4d(0x131)],this[_0x9ead4d(0x11f)][_0x9ead4d(0x102)][_0x9ead4d(0xfe)](_0x9ead4d(0x14e))),this[_0x9ead4d(0xe3)]['on'](_0x9ead4d(0x146),()=>{const _0x1ff8a7=_0x9ead4d;this[_0x1ff8a7(0x164)][_0x1ff8a7(0x139)][_0x1ff8a7(0x15e)]||this[_0x1ff8a7(0x164)][_0x1ff8a7(0x139)][_0x1ff8a7(0x12b)]();}),this[_0x9ead4d(0xe3)][_0x9ead4d(0x148)][_0x9ead4d(0xd1)][_0x9ead4d(0x168)]['on'](_0x9ead4d(0x124),()=>{const _0x1bad00=_0x9ead4d;this[_0x1bad00(0x164)][_0x1bad00(0x139)][_0x1bad00(0x15e)]||this[_0x1bad00(0x164)][_0x1bad00(0x139)][_0x1bad00(0x12b)]();}),this[_0x9ead4d(0x132)](this[_0x9ead4d(0xe3)],_0x9ead4d(0x13b),()=>{const _0x348b46=_0x9ead4d;_0x1295b3[_0x348b46(0xe6)](this[_0x348b46(0x10f)][_0x348b46(0x151)]),this[_0x348b46(0x145)]();}),this[_0x9ead4d(0x132)](this[_0x9ead4d(0xe3)],_0x9ead4d(0xe7),()=>{const _0x30266a=_0x9ead4d;_0x1295b3[_0x30266a(0xe7)](this[_0x30266a(0x10f)][_0x30266a(0x151)]),this[_0x30266a(0x145)]();}),this[_0x9ead4d(0x10b)]();}[_0x1cca25(0x10b)](){const _0x1138c8=_0x1cca25,{locale:_0xf5d8f4,ui:{ariaLiveAnnouncer:_0x414520}}=this[_0x1138c8(0x11f)];this[_0x1138c8(0xe3)][_0x1138c8(0x157)]['on'](_0x1138c8(0xd5),(_0xb1a9ba,_0x586ae5,_0x2e7349)=>{const _0x1bde44=_0x1138c8,_0x4251ac=this[_0x1bde44(0x10f)][_0x1bde44(0x151)];_0x2e7349?_0x414520[_0x1bde44(0x128)](_0x19c2a6(_0xf5d8f4,_0x1bde44(0x14b))):_0x4251ac&&_0x414520[_0x1bde44(0x128)](_0x19c2a6(_0xf5d8f4,_0x1bde44(0x149),_0x4251ac),{'politeness':_0x1bde44(0x141),'isUnsafeHTML':!0x0});}),this[_0x1138c8(0xe3)]['on'](_0x1138c8(0x130),(_0x24bfd1,_0x17fc7c,_0x474437)=>{const _0x430e1c=_0x1138c8;if(_0x474437){const _0x30347c=this[_0x430e1c(0xe3)][_0x430e1c(0xda)][_0x430e1c(0x140)];_0x414520[_0x430e1c(0x128)](_0x19c2a6(_0xf5d8f4,_0x430e1c(0xcd),_0x30347c));}});}[_0x1cca25(0x13e)](_0x1bbec3){const _0x5b4efa=_0x1cca25,_0x464df1=this[_0x5b4efa(0x154)][_0x5b4efa(0xfe)](_0x1bbec3),_0xca0763=this[_0x5b4efa(0x11f)],_0x372788=_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0xd4)][_0x5b4efa(0x144)],_0x282a77=_0xca0763[_0x5b4efa(0x11e)][_0x5b4efa(0xfe)](_0x5b4efa(0x15a)),_0x11be7e=_0xca0763[_0x5b4efa(0xee)][_0x5b4efa(0xfe)](_0x21828f),_0x4ab2e4=''+(_0x464df1[_0x5b4efa(0xc7)]!==_0x87c976?_0x464df1[_0x5b4efa(0xca)]+':\x20':'')+_0x464df1[_0x5b4efa(0x156)];if(!0x1!==_0x464df1[_0x5b4efa(0x118)]&&_0x372788[_0x5b4efa(0x14d)]){const _0x530683=_0x41c662(_0x372788[_0x5b4efa(0x16b)]())||_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0x100)][_0x5b4efa(0x167)](_0x372788);_0xca0763[_0x5b4efa(0xff)][_0x5b4efa(0x121)](_0x1d9b9d=>{const _0x466528=_0x5b4efa;_0x1d9b9d[_0x466528(0x125)](_0x530683,'in');});}_0x11be7e[_0x5b4efa(0x165)](),_0x282a77[_0x5b4efa(0x129)](_0x464df1[_0x5b4efa(0xd8)],_0x4ab2e4,_0x5b4efa(0x10a)+_0x1bbec3);}[_0x1cca25(0x137)](_0x4c9e20,_0x19f314,_0x5a2059,_0x440207){const _0x51f61c=_0x1cca25,_0x10f947=this[_0x51f61c(0x11f)],_0x31ba21=_0x10f947[_0x51f61c(0xc0)],_0x49d5eb=new _0x1e3d0c(_0x31ba21),_0x55e1ea=B(_0x10f947,_0x5a2059)[_0x51f61c(0xe1)](_0x10b5a4=>_0x10b5a4[_0x51f61c(0x11e)][_0x51f61c(0x153)]);0x1===_0x55e1ea[_0x51f61c(0x153)]?this[_0x51f61c(0xc6)]({'command':_0x4c9e20,'commands':_0x55e1ea[0x0][_0x51f61c(0x11e)],'parentMenuView':_0x19f314,'onExecute':_0x440207})[_0x51f61c(0xd0)](_0xf40f21=>_0x49d5eb[_0x51f61c(0x115)][_0x51f61c(0x116)](_0xf40f21)):_0x55e1ea[_0x51f61c(0xd0)](({groupId:_0x3e4f3d,groupLabel:_0x54aecb,commands:_0x129b20})=>{const _0x5f2de2=_0x51f61c,_0x117d54=new _0x32d0b8(_0x31ba21,_0x19f314),_0xf08e74=new _0x2172e8(_0x31ba21),_0xd6d4cf=new _0x1e3d0c(_0x31ba21),_0x22dd45=this[_0x5f2de2(0xc6)]({'command':_0x4c9e20,'commands':_0x129b20,'parentMenuView':_0xf08e74,'onExecute':_0x440207});_0xf08e74[_0x5f2de2(0x111)][_0x5f2de2(0xc4)]({'label':_0x54aecb||_0x3e4f3d}),_0xf08e74[_0x5f2de2(0xf7)](_0x5f2de2(0x129))['to'](_0x19f314),_0xd6d4cf[_0x5f2de2(0x115)][_0x5f2de2(0x163)](_0x22dd45),_0xf08e74[_0x5f2de2(0x109)][_0x5f2de2(0x13f)][_0x5f2de2(0x116)](_0xd6d4cf),_0x117d54[_0x5f2de2(0x13f)][_0x5f2de2(0x116)](_0xf08e74),_0x49d5eb[_0x5f2de2(0x115)][_0x5f2de2(0x116)](_0x117d54);}),_0x19f314[_0x51f61c(0x109)][_0x51f61c(0x13f)][_0x51f61c(0x116)](_0x49d5eb);}[_0x1cca25(0xc6)]({command:_0xbbcce6,commands:_0x56f2a5,parentMenuView:_0x55dfce,onExecute:_0x3b8b10}){const _0x4e7aa9=_0x1cca25,_0x5e318c=this[_0x4e7aa9(0x11f)],_0x111dac=_0x5e318c[_0x4e7aa9(0xc0)];return B(_0x5e318c,_0x56f2a5)[_0x4e7aa9(0x122)](_0x4418ff=>{const _0x1b811e=_0x4e7aa9,_0x55125d=new _0x32d0b8(_0x111dac,_0x55dfce),_0x312afd=new _0x4da10a(_0x111dac);return _0x312afd[_0x1b811e(0xc4)]({'label':_0x4418ff[_0x1b811e(0x156)]}),_0x312afd[_0x1b811e(0xf7)](_0x1b811e(0x129))['to'](_0x55dfce),_0x312afd['on'](_0x1b811e(0x129),()=>_0x3b8b10(_0x4418ff['id'])),_0x312afd[_0x1b811e(0x117)](_0x1b811e(0x159))['to'](_0xbbcce6,_0x1b811e(0xcc),_0x2c978c=>_0x2c978c[_0x1b811e(0x135)](_0x4418ff['id'])),_0x55125d[_0x1b811e(0x13f)][_0x1b811e(0x116)](_0x312afd),_0x55125d;});}}function _0x1f7a(_0x32fb49,_0x196577){const _0x5d9ac8=_0x5d9a();return _0x1f7a=function(_0x1f7ada,_0x16bc21){_0x1f7ada=_0x1f7ada-0xba;let _0x27b26d=_0x5d9ac8[_0x1f7ada];return _0x27b26d;},_0x1f7a(_0x32fb49,_0x196577);}function _(_0x56a3bd,_0x4dd29e){const _0x384abf=_0x1cca25;return void 0x0!==_0x56a3bd[_0x384abf(0xde)]&&void 0x0===_0x4dd29e[_0x384abf(0xde)]?0x1:void 0x0===_0x56a3bd[_0x384abf(0xde)]&&void 0x0!==_0x4dd29e[_0x384abf(0xde)]?-0x1:void 0x0!==_0x56a3bd[_0x384abf(0xde)]&&void 0x0!==_0x4dd29e[_0x384abf(0xde)]?_0x56a3bd[_0x384abf(0xde)]-_0x4dd29e[_0x384abf(0xde)]:0x0;}function B(_0x223e15,_0x1718a2){const _0x3c89e3=_0x1cca25;_0x1718a2[_0x3c89e3(0x14f)](_);const _0x125b1c={},_0x44efbb=[];for(const _0x3db9b7 of _0x1718a2)if(void 0x0!==_0x3db9b7[_0x3c89e3(0xde)]){if(_0x3db9b7[_0x3c89e3(0xde)]in _0x125b1c)throw new _0x252d75(_0x3c89e3(0xcf),_0x223e15,{'conflictingDefinitions':[_0x3db9b7,_0x125b1c[_0x3db9b7[_0x3c89e3(0xde)]]]});_0x125b1c[_0x3db9b7[_0x3c89e3(0xde)]]=_0x3db9b7,_0x44efbb[_0x3c89e3(0xfc)](_0x3db9b7[_0x3c89e3(0xde)],0x0,_0x3db9b7);}else _0x44efbb[_0x3c89e3(0xdb)](_0x3db9b7);return _0x44efbb;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1cca12,_0x35c58a){var _0x405800=_0x4812,_0x1c81d9=_0x1cca12();while(!![]){try{var _0x4e6dda=-parseInt(_0x405800(0x1b5))/0x1*(parseInt(_0x405800(0x1b0))/0x2)+parseInt(_0x405800(0x1b1))/0x3*(-parseInt(_0x405800(0x1b2))/0x4)+parseInt(_0x405800(0x1b3))/0x5+parseInt(_0x405800(0x1af))/0x6+parseInt(_0x405800(0x1ac))/0x7+parseInt(_0x405800(0x1ae))/0x8+-parseInt(_0x405800(0x1b4))/0x9*(-parseInt(_0x405800(0x1ad))/0xa);if(_0x4e6dda===_0x35c58a)break;else _0x1c81d9['push'](_0x1c81d9['shift']());}catch(_0x284b76){_0x1c81d9['push'](_0x1c81d9['shift']());}}}(_0x56ba,0xdca61));function _0x4812(_0x31b162,_0x3476ef){var _0x56bace=_0x56ba();return _0x4812=function(_0x48128a,_0x1bf8d8){_0x48128a=_0x48128a-0x1ac;var _0x410c82=_0x56bace[_0x48128a];return _0x410c82;},_0x4812(_0x31b162,_0x3476ef);}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x56ba(){var _0x36eae7=['5362336DkZIXj','20EUEWKx','9860600oMcVbG','1124376denkUZ','286430Jlpxji','324eBdvsE','62312PGFHZg','7256225QZzhUS','2359359VIwJip','11ZyjswN'];_0x56ba=function(){return _0x36eae7;};return _0x56ba();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x507e91,_0x51f99a){var _0x571e30=_0x3137,_0x14793d=_0x507e91();while(!![]){try{var _0x21ddf5=parseInt(_0x571e30(0x1d3))/0x1+parseInt(_0x571e30(0x1d4))/0x2+parseInt(_0x571e30(0x1d5))/0x3+parseInt(_0x571e30(0x1d7))/0x4+-parseInt(_0x571e30(0x1d8))/0x5*(-parseInt(_0x571e30(0x1d9))/0x6)+parseInt(_0x571e30(0x1d2))/0x7+-parseInt(_0x571e30(0x1d6))/0x8;if(_0x21ddf5===_0x51f99a)break;else _0x14793d['push'](_0x14793d['shift']());}catch(_0x596048){_0x14793d['push'](_0x14793d['shift']());}}}(_0x3564,0xd8a6e));function _0x3137(_0x5b472f,_0x144e16){var _0x35640b=_0x3564();return _0x3137=function(_0x3137d8,_0x557c17){_0x3137d8=_0x3137d8-0x1d2;var _0x3578b9=_0x35640b[_0x3137d8];return _0x3578b9;},_0x3137(_0x5b472f,_0x144e16);}import{CKEditorError as _0x5edc3b}from'ckeditor5/src/utils.js';function _0x3564(){var _0x45564c=['2040YEmZxX','7889994zJsfln','712493RTNfff','2852430qKHlHA','5128989RSeSdH','40565344knKwoZ','2737524ZBWhNF','4385liyGaV'];_0x3564=function(){return _0x45564c;};return _0x3564();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x3028e2=_0x45cf;(function(_0x2a9302,_0x43f649){const _0x352457=_0x45cf,_0x3bf262=_0x2a9302();while(!![]){try{const _0x566417=parseInt(_0x352457(0xb5))/0x1*(parseInt(_0x352457(0xbf))/0x2)+parseInt(_0x352457(0x9c))/0x3+parseInt(_0x352457(0x8a))/0x4+-parseInt(_0x352457(0x71))/0x5*(parseInt(_0x352457(0xb0))/0x6)+-parseInt(_0x352457(0x7c))/0x7*(-parseInt(_0x352457(0x90))/0x8)+-parseInt(_0x352457(0x97))/0x9+parseInt(_0x352457(0x81))/0xa*(-parseInt(_0x352457(0x70))/0xb);if(_0x566417===_0x43f649)break;else _0x3bf262['push'](_0x3bf262['shift']());}catch(_0x108b57){_0x3bf262['push'](_0x3bf262['shift']());}}}(_0x33e2,0x6cb85));function _0x33e2(){const _0x3a3a0d=['name','handleError','childNodes','body','processor','reset','_handleQuery','element','currentContext','setContentOf','viewToDom','listenTo','186cnChSB','_stripMarkdownSyntax','set:currentContext','endsWith','_xmlSerializer','5zCocwW','_normalizeResponseHeadings','previousLabel','view','set','div','prompt','render','mainAction','currentResponse','35708wLEDgT','toView','querySelector','textAdapter','length','_parseAndNormalizeContent','rename','isProcessing','value','```','domConverter','innerHTML','remove','reverse','substring','finishProcessing','abort','11NtXVpl','85795elcIwM','tryAgainEvent','destroy','serializeToString','from','_isH1TagSupportEnabled','_sanitizeHTML','custom','catch','```html','makeRequest','572593VpXdsb','parseFromString','stopListening','exec','nodeType','4630250ADyrui','finally','editor','trim','then','stopProcessing','data','previousContext','toModel','3472440BBxHvl','_domParser','stringify','createElement','previousActionId','ELEMENT_NODE','56SArtNb','match','isRendered','once','message','initialContext','updateView','6153228LWgvTo','submitPrompt','document','_sanitizationContainer','text/html','1781970jKCGML','<h1></h1>','push','startProcessing','htmlProcessor','previousQuery','editing','startsWith'];_0x33e2=function(){return _0x3a3a0d;};return _0x33e2();}import{ObservableMixin as _0x253571}from'ckeditor5/src/utils.js';import{AIRequestError as _0x491f96}from'../adapters/aiadapter.js';import{Matcher as _0xf3ea2,UpcastWriter as _0x2e8c86}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x45cf(_0x3cbb5c,_0xb47e73){const _0x33e251=_0x33e2();return _0x45cf=function(_0x45cf77,_0x188661){_0x45cf77=_0x45cf77-0x6f;let _0x1ad30b=_0x33e251[_0x45cf77];return _0x1ad30b;},_0x45cf(_0x3cbb5c,_0xb47e73);}export default class C extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x253571(){constructor(_0x1fb510,_0xdde853,_0x3c479e){const _0x3f23d3=_0x45cf;super(),this[_0x3f23d3(0x83)]=_0x1fb510,this[_0x3f23d3(0xc2)]=_0xdde853,this[_0x3f23d3(0x9a)]=document[_0x3f23d3(0x8d)](_0x3f23d3(0xba)),this[_0x3f23d3(0x8b)]=new DOMParser(),this[_0x3f23d3(0xb4)]=new XMLSerializer(),this[_0x3f23d3(0xb8)]=_0x3c479e,this[_0x3f23d3(0xb9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x3f23d3(0xb2),(_0x4eb7bd,_0x30ce57,_0x5a67f1)=>{const _0x3788ca=_0x3f23d3;this[_0x3788ca(0xb8)][_0x3788ca(0xc7)]=this[_0x3788ca(0x77)](_0x5a67f1);}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x98),(_0x2ccccc,_0x506adc)=>{const _0x545dc2=_0x3f23d3,_0x481778=this[_0x545dc2(0xac)]||this[_0x545dc2(0x95)];this[_0x545dc2(0xaa)](_0x506adc,_0x481778,_0x545dc2(0x78));}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x72),()=>{const _0x1908a4=_0x3f23d3;this[_0x1908a4(0xb8)][_0x1908a4(0xbb)]=this[_0x1908a4(0xb7)],this[_0x1908a4(0xaa)](this[_0x1908a4(0xa1)],this[_0x1908a4(0x88)],this[_0x1908a4(0x8e)],this[_0x1908a4(0xb7)]);}),this[_0x3f23d3(0xaf)](this[_0x3f23d3(0xb8)],_0x3f23d3(0x86),()=>{const _0x4b9c36=_0x3f23d3;this[_0x4b9c36(0x86)]();});}[_0x3028e2(0x73)](){const _0x11dc72=_0x3028e2;this[_0x11dc72(0x7e)]();}async[_0x3028e2(0x96)]({actionId:_0x5a5f0a,query:_0x1e942e,htmlContent:_0x26a57e,label:_0x1dab19,mainActionLabel:_0x1db10f}){const _0x2024cc=_0x3028e2;this[_0x2024cc(0xb8)][_0x2024cc(0xbb)]=_0x1dab19,this[_0x2024cc(0xb8)][_0x2024cc(0xbd)]=_0x1db10f,this[_0x2024cc(0x95)]=_0x26a57e,_0x1e942e&&(this[_0x2024cc(0xb8)][_0x2024cc(0x92)]?this[_0x2024cc(0xaa)](_0x1e942e,_0x26a57e,_0x5a5f0a,_0x1dab19):this[_0x2024cc(0xb8)][_0x2024cc(0x93)](_0x2024cc(0xbc),()=>{const _0x1a1870=_0x2024cc;this[_0x1a1870(0xaa)](_0x1e942e,_0x26a57e,_0x5a5f0a,_0x1dab19);}));}[_0x3028e2(0x86)](){const _0x3c5037=_0x3028e2;this[_0x3c5037(0xc6)]&&(this[_0x3c5037(0xc6)]=!0x1,this[_0x3c5037(0xb8)][_0x3c5037(0xce)](),this[_0x3c5037(0xc2)][_0x3c5037(0x6f)]());}[_0x3028e2(0xa9)](){const _0x10340d=_0x3028e2;this[_0x10340d(0x95)]='',this[_0x10340d(0xac)]='',this[_0x10340d(0xbe)]='',this[_0x10340d(0x88)]='',this[_0x10340d(0xa1)]='',this[_0x10340d(0xb7)]='',this[_0x10340d(0x8e)]=void 0x0,this[_0x10340d(0xb8)][_0x10340d(0xa9)](),this[_0x10340d(0x86)]();}async[_0x3028e2(0xaa)](_0x398c7e,_0x293107,_0x1c7d3e,_0x369494){const _0x1100a0=_0x3028e2;return this[_0x1100a0(0xc6)]=!0x0,this[_0x1100a0(0xb8)][_0x1100a0(0x9f)](),this[_0x1100a0(0x88)]=_0x293107,this[_0x1100a0(0xa1)]=_0x398c7e,this[_0x1100a0(0xb7)]=_0x369494||_0x398c7e,this[_0x1100a0(0x8e)]=_0x1c7d3e,new Promise(_0x108efd=>{const _0x3ca688=_0x1100a0;this[_0x3ca688(0xc2)][_0x3ca688(0x7b)]({'query':_0x398c7e,'context':_0x293107,'onData':_0x55a39f=>{const _0x41edf8=_0x3ca688;this[_0x41edf8(0xbe)]=_0x55a39f,this[_0x41edf8(0xac)]=this[_0x41edf8(0xc4)](this[_0x41edf8(0xbe)]);},'actionId':_0x1c7d3e})[_0x3ca688(0x85)](()=>{const _0x11ebd7=_0x3ca688;!this[_0x11ebd7(0xac)]&&this[_0x11ebd7(0xbe)]&&(this[_0x11ebd7(0xac)]=this[_0x11ebd7(0xc4)](this[_0x11ebd7(0xbe)],!0x0));})[_0x3ca688(0x79)](_0x217277=>{const _0x5edb23=_0x3ca688;_0x217277 instanceof _0x491f96?this[_0x5edb23(0xb8)][_0x5edb23(0xa5)](_0x217277[_0x5edb23(0x94)]):this[_0x5edb23(0xb8)][_0x5edb23(0xa5)](),_0x108efd();})[_0x3ca688(0x82)](()=>{const _0x1ef2ea=_0x3ca688;this[_0x1ef2ea(0x86)](),_0x108efd();});});}[_0x3028e2(0xc4)](_0x20385d,_0x29c09f=!0x1){const _0x3fd565=_0x3028e2,_0x352cc8=Z[_0x3fd565(0x7f)](_0x20385d);_0x20385d=_0x352cc8?_0x20385d[_0x3fd565(0xcd)](_0x352cc8[0x1][_0x3fd565(0xc3)]):_0x20385d[_0x3fd565(0xc3)]<0x64&&!_0x29c09f?'':this[_0x3fd565(0xb1)](_0x20385d);const _0x173600=this[_0x3fd565(0x8b)][_0x3fd565(0x7d)](_0x20385d,_0x3fd565(0x9b));if(_0x352cc8){const _0x182105=Array[_0x3fd565(0x75)](_0x173600[_0x3fd565(0xa7)][_0x3fd565(0xa6)]);_0x182105[_0x3fd565(0xcc)]();for(const _0x33a4bd of _0x182105){if(_0x33a4bd[_0x3fd565(0x80)]==Node[_0x3fd565(0x8f)])break;_0x33a4bd[_0x3fd565(0xcb)]();}}const _0x4decca=this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0xa8)][_0x3fd565(0xc0)](this[_0x3fd565(0xb4)][_0x3fd565(0x74)](_0x173600[_0x3fd565(0xa7)]));return this[_0x3fd565(0x76)]()||this[_0x3fd565(0xb6)](_0x4decca),this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0x8c)](this[_0x3fd565(0x83)][_0x3fd565(0x87)][_0x3fd565(0x89)](_0x4decca));}[_0x3028e2(0xb6)](_0x42f384){const _0x387304=_0x3028e2,_0x3d692f=new _0x2e8c86(this[_0x387304(0x83)][_0x387304(0xa2)][_0x387304(0xb8)][_0x387304(0x99)]),_0x3f53a0=new _0xf3ea2({'name':/^h[1-5]$/}),_0x2ea287=[];let _0x1982cf=!0x1;for(const _0x35baa7 of _0x42f384)_0x35baa7['is'](_0x387304(0xab))&&_0x3f53a0[_0x387304(0x91)](_0x35baa7)&&(_0x2ea287[_0x387304(0x9e)](_0x35baa7),'h1'==_0x35baa7[_0x387304(0xa4)]&&(_0x1982cf=!0x0));if(_0x1982cf){for(const _0x414563 of _0x2ea287)_0x3d692f[_0x387304(0xc5)]('h'+(parseInt(_0x414563[_0x387304(0xa4)][0x1])+0x1),_0x414563);}}[_0x3028e2(0x76)](){const _0x317823=_0x3028e2,{data:_0x3c549a,editing:_0x17fa94}=this[_0x317823(0x83)],_0x3f1f0c=_0x3c549a[_0x317823(0xa0)][_0x317823(0xc0)](_0x317823(0x9d)),_0x2a50b1=_0x3c549a[_0x317823(0xc0)](_0x3c549a[_0x317823(0x89)](_0x3f1f0c));return!!_0x17fa94[_0x317823(0xb8)][_0x317823(0xc9)][_0x317823(0xae)](_0x2a50b1)[_0x317823(0xc1)]('h1');}[_0x3028e2(0x77)](_0x57b099){const _0x875caa=_0x3028e2;return this[_0x875caa(0x83)][_0x875caa(0xa2)][_0x875caa(0xb8)][_0x875caa(0xc9)][_0x875caa(0xad)](this[_0x875caa(0x9a)],_0x57b099),this[_0x875caa(0x9a)][_0x875caa(0xca)];}[_0x3028e2(0xb1)](_0x1dea70){const _0x1849a7=_0x3028e2,_0x4ff76b=_0x1dea70[_0x1849a7(0x84)]();return _0x4ff76b[_0x1849a7(0xa3)](_0x1849a7(0x7a))?_0x4ff76b[_0x1849a7(0xb3)](_0x1849a7(0xc8))?_0x4ff76b[_0x1849a7(0xcd)](0x7,_0x4ff76b[_0x1849a7(0xc3)]-0x3):_0x4ff76b[_0x1849a7(0xcd)](0x7):_0x1dea70;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1494a1=_0x55ac;(function(_0x207768,_0x4a37a1){const _0x471d6c=_0x55ac,_0x19ddb5=_0x207768();while(!![]){try{const _0x14dcfe=parseInt(_0x471d6c(0x16a))/0x1*(-parseInt(_0x471d6c(0x14c))/0x2)+-parseInt(_0x471d6c(0x12e))/0x3+-parseInt(_0x471d6c(0x162))/0x4+-parseInt(_0x471d6c(0x17c))/0x5+-parseInt(_0x471d6c(0x131))/0x6+parseInt(_0x471d6c(0x14b))/0x7+parseInt(_0x471d6c(0x16d))/0x8;if(_0x14dcfe===_0x4a37a1)break;else _0x19ddb5['push'](_0x19ddb5['shift']());}catch(_0x40ffe6){_0x19ddb5['push'](_0x19ddb5['shift']());}}}(_0x1452,0xdb596));import{global as _0x15bebc}from'ckeditor5/src/utils.js';function _0x55ac(_0x345abc,_0x4acf6a){const _0x1452b8=_0x1452();return _0x55ac=function(_0x55ac1c,_0x581441){_0x55ac1c=_0x55ac1c-0x129;let _0x3937ae=_0x1452b8[_0x55ac1c];return _0x3937ae;},_0x55ac(_0x345abc,_0x4acf6a);}import{View as _0x2b3bcf,ButtonView as _0xe63b4a,SpinnerView as _0x193518}from'ckeditor5/src/ui.js';import _0x29c088 from'../../../theme/icons/copy.svg';import{getTranslation as _0x477bc7}from'../../utils/common-translations.js';import{icons as _0x3dce51}from'ckeditor5/src/core.js';export default class W extends _0x2b3bcf{constructor(_0x3e9a85,_0x248a52=''){const _0x195155=_0x55ac;super(_0x3e9a85),this[_0x195155(0x17b)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xea17ba=this[_0x195155(0x155)];this[_0x195155(0x13a)]=new ContentFieldView(_0x3e9a85,_0x248a52),this[_0x195155(0x169)]=this[_0x195155(0x16e)](),this[_0x195155(0x145)]({'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x15f),_0xea17ba['if'](_0x195155(0x14f),_0x195155(0x149),_0x1ce37c=>!_0x1ce37c)],'tabindex':'-1'},'children':[{'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x165),_0xea17ba['if'](_0x195155(0x138),_0x195155(0x173))]},'children':[this[_0x195155(0x13a)],{'tag':_0x195155(0x164),'attributes':{'class':['ck',_0x195155(0x15e)]},'children':[this[_0x195155(0x169)]]}]}]});}[_0x1494a1(0x160)](){const _0x4e25ff=_0x1494a1;super[_0x4e25ff(0x160)](),this[_0x4e25ff(0x129)]&&this[_0x4e25ff(0x13a)][_0x4e25ff(0x12d)](this[_0x4e25ff(0x129)]);let _0x4f7da6=!0x1;this['on'](_0x4e25ff(0x171),(_0x8264b7,_0x33a2bd,_0x410878)=>{const _0x2f5c59=_0x4e25ff,_0x2dc4e6=!this[_0x2f5c59(0x13a)][_0x2f5c59(0x140)][_0x2f5c59(0x12a)](_0x2f5c59(0x135));this[_0x2f5c59(0x13a)][_0x2f5c59(0x12d)](_0x410878),this[_0x2f5c59(0x138)]&&_0x2dc4e6&&!_0x4f7da6&&this[_0x2f5c59(0x140)][_0x2f5c59(0x146)]({'top':this[_0x2f5c59(0x140)][_0x2f5c59(0x139)],'behavior':_0x2f5c59(0x166)});}),this['on'](_0x4e25ff(0x13f),(_0x12887b,_0x58f3bd,_0x10a49e)=>{const _0x501323=_0x4e25ff;_0x4f7da6=!0x1,_0x10a49e?(this[_0x501323(0x129)]=null,this[_0x501323(0x13a)][_0x501323(0x14d)]()):this[_0x501323(0x129)]||this[_0x501323(0x13a)][_0x501323(0x12d)]('');}),this[_0x4e25ff(0x159)](this[_0x4e25ff(0x140)],_0x4e25ff(0x137),()=>{_0x4f7da6=!0x0;}),this[_0x4e25ff(0x159)](this[_0x4e25ff(0x140)],_0x4e25ff(0x175),()=>{_0x4f7da6=!0x0;});}[_0x1494a1(0x177)](){const _0xac9a44=_0x1494a1;this[_0xac9a44(0x140)][_0xac9a44(0x177)]();}[_0x1494a1(0x16e)](){const _0x1c9b13=_0x1494a1,_0x115292=this[_0x1c9b13(0x179)],_0xf3b5ef=new _0xe63b4a(this[_0x1c9b13(0x179)]),_0x6b3da6=_0x1c9b13(0x143);return _0xf3b5ef[_0x1c9b13(0x17b)]({'label':_0x477bc7(_0x115292,_0x1c9b13(0x172)),'icon':_0x29c088,'class':_0x6b3da6,'tooltip':!0x0}),_0xf3b5ef[_0x1c9b13(0x141)](_0x1c9b13(0x14f))['to'](this,_0x1c9b13(0x129),_0x59cc87=>!!_0x59cc87),_0xf3b5ef[_0x1c9b13(0x141)](_0x1c9b13(0x163))['to'](this,_0x1c9b13(0x138),_0x3cc60a=>!_0x3cc60a),_0xf3b5ef['on'](_0x1c9b13(0x134),()=>{const _0x1cd106=_0x1c9b13;this[_0x1cd106(0x144)](this[_0x1cd106(0x13a)][_0x1cd106(0x140)]),_0xf3b5ef[_0x1cd106(0x13d)]=_0x3dce51[_0x1cd106(0x12f)],_0xf3b5ef[_0x1cd106(0x178)]=_0x6b3da6+_0x1cd106(0x15d),this[_0x1cd106(0x177)](),setTimeout(()=>{const _0x3adc00=_0x1cd106;_0xf3b5ef[_0x3adc00(0x13d)]=_0x29c088,_0xf3b5ef[_0x3adc00(0x178)]=_0x6b3da6;},0x3e8);}),_0xf3b5ef;}[_0x1494a1(0x144)](_0x4a10e1){const _0xb3dad4=_0x1494a1,{window:_0x2f9024,document:_0x205839}=_0x15bebc;if(_0x2f9024[_0xb3dad4(0x15b)]){const {Blob:_0x3cc691,ClipboardItem:_0x29fae6}=_0x2f9024,_0x3bae70=[new _0x29fae6({'text/html':new _0x3cc691([_0x4a10e1[_0xb3dad4(0x132)]],{'type':_0xb3dad4(0x17a)}),'text/plain':new _0x3cc691([_0x4a10e1[_0xb3dad4(0x167)]||''],{'type':_0xb3dad4(0x16c)})})];navigator[_0xb3dad4(0x168)][_0xb3dad4(0x153)](_0x3bae70);}else{const _0x42b803=_0x205839[_0xb3dad4(0x12c)](_0xb3dad4(0x164));_0x42b803[_0xb3dad4(0x142)][_0xb3dad4(0x133)]=_0xb3dad4(0x12b),_0x42b803[_0xb3dad4(0x142)][_0xb3dad4(0x130)]=_0xb3dad4(0x148),_0x42b803[_0xb3dad4(0x132)]=_0xb3dad4(0x157)+_0x4a10e1[_0xb3dad4(0x132)]+_0xb3dad4(0x156),_0x205839[_0xb3dad4(0x15a)][_0xb3dad4(0x15c)](_0x42b803);const _0x4f3669=_0x205839[_0xb3dad4(0x174)]();_0x4f3669[_0xb3dad4(0x16f)](_0x42b803[_0xb3dad4(0x13e)]),_0x4f3669[_0xb3dad4(0x136)](_0x42b803[_0xb3dad4(0x13c)]);const _0x20b5bd=_0x2f9024[_0xb3dad4(0x151)]();_0x20b5bd[_0xb3dad4(0x170)](),_0x20b5bd[_0xb3dad4(0x147)](_0x4f3669),_0x205839[_0xb3dad4(0x150)](_0xb3dad4(0x152)),_0x42b803[_0xb3dad4(0x161)]();}}}export class ContentFieldView extends _0x2b3bcf{constructor(_0x163a7b,_0xec00d=''){const _0x2b0b8d=_0x1494a1;super(_0x163a7b),this[_0x2b0b8d(0x14e)]=this[_0x2b0b8d(0x14a)](),this[_0x2b0b8d(0x145)]({'tag':_0x2b0b8d(0x164),'attributes':{'class':['ck',_0x2b0b8d(0x16b),_0xec00d,_0x2b0b8d(0x13b),_0x2b0b8d(0x158)]}});}[_0x1494a1(0x12d)](_0x1410b9){const _0x55e329=_0x1494a1;this[_0x55e329(0x140)][_0x55e329(0x132)]=_0x1410b9;}[_0x1494a1(0x14d)](){const _0x49c551=_0x1494a1;this[_0x49c551(0x140)][_0x49c551(0x15c)](this[_0x49c551(0x14e)][_0x49c551(0x140)]);}[_0x1494a1(0x14a)](){const _0x5cdd6d=_0x1494a1,_0x5ac1d5=new _0x2b3bcf(),_0xfcc15d=this[_0x5cdd6d(0x179)],_0x543e2b=new _0x193518();return _0x543e2b[_0x5cdd6d(0x14f)]=!0x0,_0x5ac1d5[_0x5cdd6d(0x145)]({'tag':_0x5cdd6d(0x164),'attributes':{'class':['ck',_0x5cdd6d(0x154)]},'children':[_0x543e2b,{'text':_0x477bc7(_0xfcc15d,_0x5cdd6d(0x176))}]}),_0x5ac1d5[_0x5cdd6d(0x160)](),_0x5ac1d5;}}function _0x1452(){const _0x7f52a=['6703557PKAjoe','919822xKPXQb','appendLoader','loaderView','isVisible','execCommand','getSelection','copy','write','ck-ai-form__loader','bindTemplate','<span>]</span>','<span>[</span>','ck-ai-form__content-field','listenTo','body','ClipboardItem','appendChild','\x20ck-ai-form__copy-button--copied','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area-wrapper','render','remove','1660540uqkXBm','isEnabled','div','ck-ai-form__content-area','smooth','textContent','clipboard','copyButtonView','1gMaibx','ck-content','text/plain','23936280tkQutr','_createCopyButton','setStartAfter','removeAllRanges','change:value','Copy','ck-ai-form__content-area--processing','createRange','mousedown','AI\x20is\x20writing...','focus','class','locale','text/html','set','4489935NZweFv','value','querySelector','absolute','createElement','setContent','773793HswvBy','check','left','6121608NAMiNl','innerHTML','position','execute','.ck-ai-form__loader','setEndBefore','wheel','isProcessing','scrollHeight','contentFieldView','ck-reset_all-excluded','lastElementChild','icon','firstElementChild','change:isProcessing','element','bind','style','ck-ai-form__copy-button','_copyHTMLToClipboard','setTemplate','scrollTo','addRange','-9999px','ck-hidden','_createLoader'];_0x1452=function(){return _0x7f52a;};return _0x1452();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x55e206,_0x5c12a7){const _0x5b5ee9=_0x5567,_0x5cc4f5=_0x55e206();while(!![]){try{const _0x1235e8=-parseInt(_0x5b5ee9(0x1cf))/0x1+-parseInt(_0x5b5ee9(0x1ce))/0x2*(parseInt(_0x5b5ee9(0x1cb))/0x3)+-parseInt(_0x5b5ee9(0x1cc))/0x4*(-parseInt(_0x5b5ee9(0x1d8))/0x5)+-parseInt(_0x5b5ee9(0x1d3))/0x6+parseInt(_0x5b5ee9(0x1cd))/0x7*(-parseInt(_0x5b5ee9(0x1d1))/0x8)+parseInt(_0x5b5ee9(0x1d5))/0x9+parseInt(_0x5b5ee9(0x1d9))/0xa;if(_0x1235e8===_0x5c12a7)break;else _0x5cc4f5['push'](_0x5cc4f5['shift']());}catch(_0x587c40){_0x5cc4f5['push'](_0x5cc4f5['shift']());}}}(_0x72df,0xc1316));function _0x72df(){const _0x2add90=['8826768ezsRGD','text','10549395WvKNfI','set','content','25rmuQIU','29669070WVVcLt','bindTemplate','ck-ai-form__error','668757qEKmTX','274612lITSUY','3899721PSakIF','14aDTgmD','102345DVpXus','setTemplate','8EBUwfh','div'];_0x72df=function(){return _0x2add90;};return _0x72df();}import{View as _0x3a3839,IconView as _0x351bef}from'ckeditor5/src/ui.js';function _0x5567(_0xc6e3c2,_0xa7809c){const _0x72df04=_0x72df();return _0x5567=function(_0x5567ba,_0x4d62db){_0x5567ba=_0x5567ba-0x1cb;let _0x1b3aab=_0x72df04[_0x5567ba];return _0x1b3aab;},_0x5567(_0xc6e3c2,_0xa7809c);}import _0x4c0ca5 from'../../../theme/icons/error.svg';export default class tt extends _0x3a3839{constructor(_0x4b022e,_0x2a0787=''){const _0x3bf0ef=_0x5567;super(_0x4b022e);const _0x52f64c=new _0x351bef(),_0x441831=this[_0x3bf0ef(0x1da)];this[_0x3bf0ef(0x1d6)](_0x3bf0ef(0x1d4),_0x2a0787),_0x52f64c[_0x3bf0ef(0x1d7)]=_0x4c0ca5,this[_0x3bf0ef(0x1d0)]({'tag':_0x3bf0ef(0x1d2),'attributes':{'class':['ck',_0x3bf0ef(0x1db)]},'children':[_0x52f64c,{'text':_0x441831['to'](_0x3bf0ef(0x1d4))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x469857=_0x1ef2;(function(_0x75314d,_0x1b8636){const _0x495d11=_0x1ef2,_0x5bb37f=_0x75314d();while(!![]){try{const _0x32a075=parseInt(_0x495d11(0xec))/0x1+parseInt(_0x495d11(0xf8))/0x2*(-parseInt(_0x495d11(0x10b))/0x3)+parseInt(_0x495d11(0xf6))/0x4+parseInt(_0x495d11(0xe2))/0x5+parseInt(_0x495d11(0x105))/0x6*(parseInt(_0x495d11(0xf9))/0x7)+-parseInt(_0x495d11(0x117))/0x8+-parseInt(_0x495d11(0xf7))/0x9;if(_0x32a075===_0x1b8636)break;else _0x5bb37f['push'](_0x5bb37f['shift']());}catch(_0x2f0026){_0x5bb37f['push'](_0x5bb37f['shift']());}}}(_0x501d,0xe352f));import{Rect as _0x4d0e31,global as _0xd74b92,isVisible as _0x3de73d}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x21a7e0,ButtonView as _0x16fcfd}from'ckeditor5/src/ui.js';function _0x1ef2(_0xc4df09,_0x524dcd){const _0x501d0d=_0x501d();return _0x1ef2=function(_0x1ef23e,_0x4501f7){_0x1ef23e=_0x1ef23e-0xe0;let _0x2aa693=_0x501d0d[_0x1ef23e];return _0x2aa693;},_0x1ef2(_0xc4df09,_0x524dcd);}import{icons as _0x401568}from'ckeditor5/src/core.js';import{getTranslation as _0xe102b5}from'../../utils/common-translations.js';import _0x1f818e from'../../../theme/icons/submit.svg';function _0x501d(){const _0x526937=['_createSubmitButton','1580280YhivYv','11013345xXnubw','441266yquizt','1240169dwnfZl','focusFirst','minRows','right','Submit','focusCycler','ck-ai-form__toggle-history','isEnabled','element','rtl','history','locale','12TBKwRC','width','bind','value','render','_createShowHistoryButton','3Ubjaec','History','submitButtonView','isVisible','queryView','isEmpty','update','fieldView','filteredView','fieldWrapperChildren','add','requestAnimationFrame','683832EPoJQj','ck-ai-form__submit','enter','submit','excludeScrollbarsAndBorders','4016485DvTiCj','set','children','resultsView','isOn','keystrokes','showHistoryButtonView','window','target','fire','908235xfdAbl','execute','style','left','uiLanguageDirection','maxRows','focus','focusLast','focusableChildren'];_0x501d=function(){return _0x526937;};return _0x501d();}export default class ht extends _0x21a7e0{constructor(_0x518e12,_0x27d800){const _0x90aa5b=_0x1ef2;super(_0x518e12,_0x27d800),this[_0x90aa5b(0x10f)][_0x90aa5b(0x112)][_0x90aa5b(0xfb)]=0x1,this[_0x90aa5b(0x10f)][_0x90aa5b(0x112)][_0x90aa5b(0xf1)]=0x3,this[_0x90aa5b(0x10d)]=this[_0x90aa5b(0xf5)](),this[_0x90aa5b(0xe8)]=this[_0x90aa5b(0x10a)](),this[_0x90aa5b(0xf4)][_0x90aa5b(0x115)](this[_0x90aa5b(0xe8)],0x1),this[_0x90aa5b(0xf4)][_0x90aa5b(0x115)](this[_0x90aa5b(0x10d)]);}[_0x469857(0x109)](){const _0x38e71c=_0x469857;super[_0x38e71c(0x109)](),this[_0x38e71c(0x10f)][_0x38e71c(0x114)][_0x38e71c(0x115)](this[_0x38e71c(0xe8)]),this[_0x38e71c(0xe4)][_0x38e71c(0x115)](this[_0x38e71c(0x10d)]),this[_0x38e71c(0xe7)][_0x38e71c(0xe3)](_0x38e71c(0x119),(_0x351bb8,_0x7dfa94)=>{const _0x294b1a=_0x38e71c;_0x351bb8[_0x294b1a(0xea)]==this[_0x294b1a(0x10f)][_0x294b1a(0x112)][_0x294b1a(0x101)]&&(this[_0x294b1a(0xe0)](),_0x7dfa94());});}[_0x469857(0xf5)](){const _0x1a77bb=_0x469857,_0x50e18b=new _0x16fcfd(this[_0x1a77bb(0x104)]),_0x572705=this[_0x1a77bb(0x104)];return _0x50e18b[_0x1a77bb(0xe3)]({'icon':_0x1f818e,'label':_0xe102b5(_0x572705,_0x1a77bb(0xfd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1a77bb(0x118)}),_0x50e18b['on'](_0x1a77bb(0xed),()=>{const _0x38a948=_0x1a77bb;this[_0x38a948(0xe0)]();}),_0x50e18b[_0x1a77bb(0x107)](_0x1a77bb(0x100))['to'](this[_0x1a77bb(0x10f)][_0x1a77bb(0x112)],_0x1a77bb(0x110),this,_0x1a77bb(0x100),(_0x50a2d9,_0x4063a6)=>!_0x50a2d9&&_0x4063a6),_0x50e18b;}[_0x469857(0x10a)](){const _0x403d6c=_0x469857,_0x17a823=new _0x16fcfd(this[_0x403d6c(0x104)]),_0x4326f8=this[_0x403d6c(0xe5)],_0x46bb86=this[_0x403d6c(0x104)];_0x17a823[_0x403d6c(0xe3)]({'label':_0xe102b5(_0x46bb86,_0x403d6c(0x10c)),'withText':!0x1,'icon':_0x401568[_0x403d6c(0x103)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x403d6c(0xff)}),_0x17a823[_0x403d6c(0x107)](_0x403d6c(0xe6))['to'](_0x4326f8,_0x403d6c(0x10e)),_0x17a823[_0x403d6c(0x107)](_0x403d6c(0x100))['to'](this,_0x403d6c(0x100)),_0x17a823['on'](_0x403d6c(0xed),()=>{const _0x53e54c=_0x403d6c;_0x4326f8[_0x53e54c(0x10e)]=!_0x4326f8[_0x53e54c(0x10e)],_0x4326f8[_0x53e54c(0x10e)]?this[_0x53e54c(0x113)][_0x53e54c(0xf2)]():this[_0x53e54c(0xf2)]();});const _0x4c3ffd=()=>{const _0x59074e=_0x403d6c;_0xd74b92[_0x59074e(0xe9)][_0x59074e(0x116)](()=>{const _0x4b7b87=_0x59074e;if(_0x3de73d(this[_0x4b7b87(0x101)])){const _0x924bc1=new _0x4d0e31(this[_0x4b7b87(0x10f)][_0x4b7b87(0x112)][_0x4b7b87(0x101)]),_0x50dac6=_0x924bc1[_0x4b7b87(0x106)],_0x1f7534=_0x4b7b87(0x102)===_0x46bb86[_0x4b7b87(0xf0)]?_0x4b7b87(0xef):_0x4b7b87(0xfc);_0x924bc1[_0x4b7b87(0xe1)](),_0x17a823[_0x4b7b87(0x101)][_0x4b7b87(0xee)][_0x1f7534]=_0x50dac6-_0x924bc1[_0x4b7b87(0x106)]+0x1+'px';}});};return this[_0x403d6c(0x10f)][_0x403d6c(0x112)]['on'](_0x403d6c(0x111),_0x4c3ffd),this['on'](_0x403d6c(0x109),_0x4c3ffd),_0x17a823;}[_0x469857(0xe0)](){const _0x2aca20=_0x469857,_0x565142=this[_0x2aca20(0x10f)][_0x2aca20(0x112)][_0x2aca20(0x101)][_0x2aca20(0x108)];this[_0x2aca20(0xeb)](_0x2aca20(0xe0),_0x565142);}[_0x469857(0xf2)](_0x14fb20){const _0x4a1c92=_0x469857;-0x1===_0x14fb20?this[_0x4a1c92(0xfe)][_0x4a1c92(0xf3)]():this[_0x4a1c92(0xfe)][_0x4a1c92(0xfa)]();}}
|