@ckeditor/ckeditor5-ai 44.0.0-alpha.0 → 44.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/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 _0x2a521a=_0x7879;function _0xd082(){const _0x205cd7=['Confident','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','editOrReview','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','English','includes','German','Translate\x20the\x20content\x20to\x20French\x20language.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','forEach','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Journalism','changeTone','casual','makeShorter','Translate','translate','ai.aiAssistant.extraCommandGroups','generate','6aIoemR','Hindi','Translate\x20the\x20content\x20to\x20German\x20language.','push','summarize','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translateEnglish','Summarize','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Friendly','friendly','find','1465oaxORq','AIAssistant','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','professional','Professional','Make\x20shorter','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','82584CVfgux','makeLonger','set','French','changeStyle','Simplified\x20Chinese','filter','2858373EVHzgp','Direct','translateGerman','groupId','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Arabic','Legal','translateSpanish','7651501qaWuzo','journalism','confident','commands','Generate\x20from\x20selection','business','Translate\x20the\x20content\x20to\x20English\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Continue','ai.aiAssistant.removeCommands','Simplify\x20language','continue','1808064tLGTmI','locale','Edit\x20or\x20review','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','pluginName','translateChinese','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','get','translateHindi','improveWriting','Make\x20longer','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Casual','config','requires','Portuguese','4354620sYGBUF','Translate\x20the\x20content\x20to\x20Spanish\x20language.','27KUnFil','6ptsjPt','translateArabic','Business','isOfficialPlugin','3916Sepfyl','Change\x20style','direct','Poetic','Translate\x20the\x20content\x20to\x20Arabic\x20language.','ai.aiAssistant.commands','isPremiumPlugin','2868riiIOY','concat','Improve\x20writing','Change\x20tone','translateFrench','poetic','simplifyLanguage','Spanish','define','translatePortuguese','legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'];_0xd082=function(){return _0x205cd7;};return _0xd082();}(function(_0x3c940f,_0x33fcc8){const _0x22405b=_0x7879,_0x27fba2=_0x3c940f();while(!![]){try{const _0x31d223=parseInt(_0x22405b(0x132))/0x1*(-parseInt(_0x22405b(0x127))/0x2)+-parseInt(_0x22405b(0x113))/0x3+parseInt(_0x22405b(0x12b))/0x4*(parseInt(_0x22405b(0xf1))/0x5)+-parseInt(_0x22405b(0xe5))/0x6*(parseInt(_0x22405b(0xff))/0x7)+parseInt(_0x22405b(0xf8))/0x8*(parseInt(_0x22405b(0x126))/0x9)+parseInt(_0x22405b(0x124))/0xa+parseInt(_0x22405b(0x107))/0xb;if(_0x31d223===_0x33fcc8)break;else _0x27fba2['push'](_0x27fba2['shift']());}catch(_0x3eef1c){_0x27fba2['push'](_0x27fba2['shift']());}}}(_0xd082,0x68cb6));import{Plugin as _0x4a72a7}from'ckeditor5/src/core.js';import _0x478687 from'./aiassistantui.js';import _0x12c0d9 from'./aiassistantediting.js';import{getTranslation as _0x13f3c4}from'./utils/common-translations.js';function _0x7879(_0x5a8e04,_0x2fb125){const _0xd0821a=_0xd082();return _0x7879=function(_0x787952,_0x304508){_0x787952=_0x787952-0xdd;let _0x273ea8=_0xd0821a[_0x787952];return _0x273ea8;},_0x7879(_0x5a8e04,_0x2fb125);}import{normalizeCommandsConfig as _0x182807}from'./utils/normalizecommandsconfig.js';export default class r extends _0x4a72a7{static get[_0x2a521a(0x122)](){return[_0x478687,_0x12c0d9];}static get[_0x2a521a(0x117)](){const _0x117b04=_0x2a521a;return _0x117b04(0xf2);}static get[_0x2a521a(0x12a)](){return!0x0;}static get[_0x2a521a(0x131)](){return!0x0;}constructor(_0x2500f2){const _0x2419ba=_0x2a521a;super(_0x2500f2);const _0x1cdba1=_0x2500f2[_0x2419ba(0x121)],_0x184136=_0x2500f2[_0x2419ba(0x114)];_0x1cdba1[_0x2419ba(0x13a)](_0x2419ba(0x130),getDefaultCommands(_0x184136)),_0x1cdba1[_0x2419ba(0x13a)](_0x2419ba(0xe3),[]),_0x1cdba1[_0x2419ba(0x13a)](_0x2419ba(0x110),[]);const _0x100abb=_0x182807(_0x1cdba1[_0x2419ba(0x11a)](_0x2419ba(0x130)),_0x184136),_0x50e0c0=_0x1cdba1[_0x2419ba(0x11a)](_0x2419ba(0xe3)),_0x5226ce=_0x1cdba1[_0x2419ba(0x11a)](_0x2419ba(0x110));_0x50e0c0[_0x2419ba(0x14a)](_0x168797=>{const _0x1a327e=_0x2419ba,_0x1d358b=_0x100abb[_0x1a327e(0xf0)](_0x5bfcb3=>_0x5bfcb3[_0x1a327e(0x102)]===_0x168797[_0x1a327e(0x102)]);_0x1d358b?_0x1d358b[_0x1a327e(0x10a)]=_0x1d358b[_0x1a327e(0x10a)][_0x1a327e(0x133)](_0x168797[_0x1a327e(0x10a)]):_0x100abb[_0x1a327e(0xe8)](_0x168797);}),_0x100abb[_0x2419ba(0x14a)](_0x56eed2=>{const _0x129eae=_0x2419ba;_0x56eed2[_0x129eae(0x10a)]=_0x56eed2[_0x129eae(0x10a)][_0x129eae(0xfe)](_0x2de082=>!_0x5226ce[_0x129eae(0x146)](_0x2de082['id']));}),_0x1cdba1[_0x2419ba(0xfa)](_0x2419ba(0x130),_0x100abb);}}export function getDefaultCommands(_0x59e9a5){const _0x1d5362=_0x2a521a;return[{'groupId':_0x1d5362(0x142),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0x115)),'commands':[{'id':_0x1d5362(0x11c),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x134)),'prompt':_0x1d5362(0x14b)},{'id':_0x1d5362(0xe0),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xf6)),'prompt':_0x1d5362(0x144)},{'id':_0x1d5362(0xf9),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x11d)),'prompt':_0x1d5362(0xf3)},{'id':_0x1d5362(0x138),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x111)),'prompt':_0x1d5362(0xf7)}]},{'groupId':_0x1d5362(0xe4),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0x10b)),'commands':[{'id':_0x1d5362(0xe9),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xec)),'prompt':_0x1d5362(0x141)},{'id':_0x1d5362(0x112),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x10f)),'prompt':_0x1d5362(0x143)}]},{'groupId':_0x1d5362(0xde),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0x135)),'commands':[{'id':_0x1d5362(0xf4),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xf5)),'prompt':_0x1d5362(0x103)},{'id':_0x1d5362(0xdf),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x120)),'prompt':_0x1d5362(0x119)},{'id':_0x1d5362(0x12d),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x100)),'prompt':_0x1d5362(0x13d)},{'id':_0x1d5362(0x109),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x13e)),'prompt':_0x1d5362(0x140)},{'id':_0x1d5362(0xef),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xee)),'prompt':_0x1d5362(0xed)}]},{'groupId':_0x1d5362(0xfc),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0x12c)),'commands':[{'id':_0x1d5362(0x10c),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x129)),'prompt':_0x1d5362(0x11f)},{'id':_0x1d5362(0x13c),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x105)),'prompt':_0x1d5362(0x116)},{'id':_0x1d5362(0x108),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xdd)),'prompt':_0x1d5362(0xea)},{'id':_0x1d5362(0x137),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x12e)),'prompt':_0x1d5362(0x10e)}]},{'groupId':_0x1d5362(0xe2),'groupLabel':_0x13f3c4(_0x59e9a5,_0x1d5362(0xe1)),'commands':[{'id':_0x1d5362(0xeb),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x145)),'prompt':_0x1d5362(0x10d)},{'id':_0x1d5362(0x106),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x139)),'prompt':_0x1d5362(0x125)},{'id':_0x1d5362(0x13b),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x123)),'prompt':_0x1d5362(0x149)},{'id':_0x1d5362(0x101),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x147)),'prompt':_0x1d5362(0xe7)},{'id':_0x1d5362(0x136),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xfb)),'prompt':_0x1d5362(0x148)},{'id':_0x1d5362(0x118),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xfd)),'prompt':_0x1d5362(0x13f)},{'id':_0x1d5362(0x11b),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0xe6)),'prompt':_0x1d5362(0x11e)},{'id':_0x1d5362(0x128),'label':_0x13f3c4(_0x59e9a5,_0x1d5362(0x104)),'prompt':_0x1d5362(0x12f)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x51caba=_0x4da7;(function(_0x5f0d83,_0x216a7c){const _0x39ffd3=_0x4da7,_0x29d0b7=_0x5f0d83();while(!![]){try{const _0x26d3db=-parseInt(_0x39ffd3(0x16d))/0x1+-parseInt(_0x39ffd3(0x151))/0x2+-parseInt(_0x39ffd3(0x14f))/0x3+-parseInt(_0x39ffd3(0x17c))/0x4*(parseInt(_0x39ffd3(0x160))/0x5)+-parseInt(_0x39ffd3(0x161))/0x6+parseInt(_0x39ffd3(0x17e))/0x7*(parseInt(_0x39ffd3(0x159))/0x8)+-parseInt(_0x39ffd3(0x173))/0x9*(-parseInt(_0x39ffd3(0x172))/0xa);if(_0x26d3db===_0x216a7c)break;else _0x29d0b7['push'](_0x29d0b7['shift']());}catch(_0x3d09c9){_0x29d0b7['push'](_0x29d0b7['shift']());}}}(_0x4741,0x82fcf));import{uid as _0x4d02f3}from'ckeditor5/src/utils.js';import{Plugin as _0x55db75}from'ckeditor5/src/core.js';const u=_0x51caba(0x174);function _0x4741(){const _0x52f07f=['schema','markerToHighlight','has','start','isPremiumPlugin','change','document','fromCharCode','markerRange','toView','isContent','model','conversion','addMarker','isCollapsed','setSelection','pluginName','selection','afterInit','getRange','ai.useTheme','join','get','for','hideFakeVisualSelection','href','1189518hZFusa','createPositionAfter','186456nzAaLE','toModel','markerToElement','ck-ai-assistant-ui_theme','editor','createSelection','createRange','processor','967016lgxYSU','addClass','ck-fake-ai-selection','editingDowncast','length','getSelectedBlocks','showFakeVisualSelection','130NTOpTr','4608894jFXaIz','config','pop','getFirstRange','markers','updateMarker','from','canEditAt','end','insertContentBelow','getLastMatchingPosition','isAtEnd','657820KtFOiT','createUIElement','getLastPosition','insertContent','ck-fake-ai-selection_collapsed','360110rXkNvX','801iBkYFR','ai-ui','AIAssistantEditing','init','span','map','push','removeMarker','isOfficialPlugin','134404DPBdmL','data','7FVqzcm'];_0x4741=function(){return _0x52f07f;};return _0x4741();}function _0x4da7(_0x51235b,_0x104811){const _0x474195=_0x4741();return _0x4da7=function(_0x4da73e,_0x31c49c){_0x4da73e=_0x4da73e-0x14f;let _0x293c65=_0x474195[_0x4da73e];return _0x293c65;},_0x4da7(_0x51235b,_0x104811);}export default class a extends _0x55db75{static get[_0x51caba(0x18f)](){const _0x43e675=_0x51caba;return _0x43e675(0x175);}static get[_0x51caba(0x17b)](){return!0x0;}static get[_0x51caba(0x183)](){return!0x0;}[_0x51caba(0x176)](){const _0x4bac82=_0x51caba,{editor:_0x4f858d}=this,_0x53c72a=[_0x4bac82(0x15b)];_0x4f858d[_0x4bac82(0x162)][_0x4bac82(0x195)](_0x4bac82(0x193))&&_0x53c72a[_0x4bac82(0x179)](_0x4bac82(0x154)),_0x4f858d[_0x4bac82(0x18b)][_0x4bac82(0x196)](_0x4bac82(0x15c))[_0x4bac82(0x180)]({'model':u,'view':{'classes':_0x53c72a,'priority':0xc}}),_0x4f858d[_0x4bac82(0x18b)][_0x4bac82(0x196)](_0x4bac82(0x15c))[_0x4bac82(0x153)]({'model':u,'view':(_0x4bac36,{writer:_0x26149e})=>{const _0x3cfe3c=_0x4bac82;if(!_0x4bac36[_0x3cfe3c(0x187)][_0x3cfe3c(0x18d)])return null;const _0x70ff4=_0x26149e[_0x3cfe3c(0x16e)](_0x3cfe3c(0x177));return _0x26149e[_0x3cfe3c(0x15a)]([_0x3cfe3c(0x15b),_0x3cfe3c(0x171)],_0x70ff4),_0x70ff4;}});}[_0x51caba(0x191)](){!async function(_0x3b85fe){const _0x3af36a=_0x1ebaeb([0x70,0x75,0x57,0x4f,0x45,0x58,0x33,0x6a,0x6b,0x36,0x42,0x79,0x37,0x7a,0x30,0x32,0x76,0x54,0x4b,0x41,0x31,0x66,0x59,0x63,0x35,0x64,0x34,0x62,0x53,0x48,0x49,0x6f,0x4e,0x77,0x69,0x67,0x73,0x43,0x71,0x56,0x38,0x47,0x61,0x6c,0x5a,0x65,0x68,0x46,0x74,0x50,0x72,0x4a,0x44,0x51,0x4d,0x52,0x4c,0x6d,0x39,0x78,0x55,0x6e]),_0x5764c0=0x196c5508,_0x54f199=0x196b0260^_0x5764c0,_0x3cb320=window[_0x1ebaeb([0x44,0x61,0x74,0x65])][_0x1ebaeb([0x6e,0x6f,0x77])](),_0x5e5243=_0x3b85fe[_0x1ebaeb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33490a=new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4adcc8=>{_0x5e5243[_0x1ebaeb([0x6f,0x6e,0x63,0x65])](_0x1ebaeb([0x72,0x65,0x61,0x64,0x79]),_0x4adcc8);}),_0x55c51a={[_0x1ebaeb([0x6b,0x74,0x79])]:_0x1ebaeb([0x45,0x43]),[_0x1ebaeb([0x75,0x73,0x65])]:_0x1ebaeb([0x73,0x69,0x67]),[_0x1ebaeb([0x63,0x72,0x76])]:_0x1ebaeb([0x50,0x2d,0x32,0x35,0x36]),[_0x1ebaeb([0x78])]:_0x1ebaeb([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]),[_0x1ebaeb([0x79])]:_0x1ebaeb([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]),[_0x1ebaeb([0x61,0x6c,0x67])]:_0x1ebaeb([0x45,0x53,0x32,0x35,0x36])},_0x266a8b=_0x5e5243[_0x1ebaeb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ebaeb([0x67,0x65,0x74])](_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x346589(){let _0x1b6cfa,_0x2eb863=null,_0x4377f1=null;try{if(_0x266a8b==_0x1ebaeb([0x47,0x50,0x4c]))return _0x1ebaeb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b6cfa=_0x1d1300(),!_0x1b6cfa)return _0x1ebaeb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b6cfa[_0x1ebaeb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4377f1=_0x17cf09(_0x1b6cfa[_0x1ebaeb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b6cfa[_0x1ebaeb([0x6a,0x74,0x69])])),await _0x19fcc6()?_0x2cde15()?_0x50b07b()?_0x1ebaeb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f592d()?(_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebaeb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2eb863=_0x59d966(_0x1ebaeb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebaeb([0x74,0x72,0x69,0x61,0x6c])&&(_0x2eb863=_0x59d966(_0x1ebaeb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ebaeb([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x2eb863=_0x59d966(_0x1ebaeb([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x586b57()):_0x1ebaeb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ebaeb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ebaeb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3a3642){return _0x1ebaeb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50b07b(){const _0x520107=[_0x1ebaeb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ebaeb([0x74,0x72,0x69,0x61,0x6c])][_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cb320/0x3e8:0xe10*_0x54f199;return _0x1b6cfa[_0x1ebaeb([0x65,0x78,0x70])]<_0x520107;}function _0x2cde15(){const _0xdfd907=_0x1b6cfa[_0x1ebaeb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdfd907&&(!!_0xdfd907[_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebaeb([0x2a]))||!!_0xdfd907[_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebaeb([0x41,0x49])));}function _0x2f592d(){const _0x19699b=_0x4da7,_0x2a652f=_0x1b6cfa[_0x1ebaeb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a652f||0x0==_0x2a652f[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc5e479}=new URL(window[_0x1ebaeb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x19699b(0x198)]);if(_0x2a652f[_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc5e479))return!0x0;const _0x962f4d=_0xc5e479[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])](_0x1ebaeb([0x2e]));return _0x2a652f[_0x1ebaeb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2929a8=>_0x2929a8[_0x1ebaeb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ebaeb([0x2a])))[_0x1ebaeb([0x6d,0x61,0x70])](_0x25a858=>_0x25a858[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])](_0x1ebaeb([0x2e])))[_0x1ebaeb([0x73,0x6f,0x6d,0x65])](_0x2f73a9=>_0x962f4d[_0x1ebaeb([0x65,0x76,0x65,0x72,0x79])]((_0x329ce2,_0x32724c)=>_0x2f73a9[_0x32724c]===_0x329ce2||_0x2f73a9[_0x32724c]===_0x1ebaeb([0x2a])));}function _0x586b57(){return _0x2eb863&&_0x4377f1?new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a17b5,_0x52fa19)=>{_0x2eb863[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x4a17b5,_0x52fa19),_0x4377f1[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x5e365e=>{_0x5e365e!=_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64])&&_0x4a17b5(_0x5e365e);},_0x52fa19);}):_0x2eb863||_0x4377f1||_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17cf09(_0x352a10,_0x484c6c){return new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53e8fd=>{if(_0x315e9a())return _0x53e8fd(_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64]));_0x19f8b7(),_0x5e5243[_0x1ebaeb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ebaeb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x372c41=!0x1;const _0xddead4=_0x4d02f3();function _0x1a1146(_0x3af70a){return!!_0x3af70a&&(typeof _0x3af70a===_0x1ebaeb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3af70a===_0x1ebaeb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3af70a[_0x1ebaeb([0x74,0x68,0x65,0x6e])]===_0x1ebaeb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3af70a[_0x1ebaeb([0x63,0x61,0x74,0x63,0x68])]===_0x1ebaeb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x541113(_0x19e46a){_0x13e2a4(_0x19e46a)[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x48b65c=>{if(!_0x48b65c||_0x48b65c[_0x1ebaeb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ebaeb([0x6f,0x6b]))return _0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x340fed(_0x413351(_0xddead4+_0x484c6c))!=_0x48b65c[_0x1ebaeb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x5ee445=>(_0x4c4b82(),_0x5ee445),()=>{const _0x13a440=_0x1bef9d();return null==_0x13a440?(_0x4c4b82(),_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64])):_0x1ebaeb(_0x3cb320-_0x13a440>(0x3d60d108^_0x5764c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x53e8fd)[_0x1ebaeb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53e8fd(_0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x257642=0x195abb88^_0x5764c0;function _0x4c4b82(){const _0x18f6e1=_0x1ebaeb([0x6c,0x6c,0x63,0x74,0x2d])+_0x340fed(_0x413351(_0x352a10)),_0x46bda7=_0x4f629f(_0x340fed(window[_0x1ebaeb([0x4d,0x61,0x74,0x68])][_0x1ebaeb([0x63,0x65,0x69,0x6c])](_0x3cb320/_0x257642)));window[_0x1ebaeb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ebaeb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18f6e1,_0x46bda7);}function _0x1bef9d(){const _0x1e62c6=_0x1ebaeb([0x6c,0x6c,0x63,0x74,0x2d])+_0x340fed(_0x413351(_0x352a10)),_0x21d381=window[_0x1ebaeb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ebaeb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e62c6);return _0x21d381?window[_0x1ebaeb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f629f(_0x21d381),0x10)*_0x257642:null;}function _0x13e2a4(_0x303bd8){return new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b3708,_0xad80a3)=>{_0x303bd8[_0x1ebaeb([0x74,0x68,0x65,0x6e])](_0x4b3708,_0xad80a3),window[_0x1ebaeb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xad80a3,0x196d81c8^_0x5764c0);});}}_0x5e5243[_0x1ebaeb([0x6f,0x6e])](_0x1ebaeb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42fa76,_0x40673b)=>{if(_0x40673b[0x0]!=_0x352a10)return _0x53e8fd(_0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40673b[0x1]={..._0x40673b[0x1],[_0x1ebaeb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xddead4};},{[_0x1ebaeb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ebaeb([0x68,0x69,0x67,0x68])}),_0x5e5243[_0x1ebaeb([0x6f,0x6e])](_0x1ebaeb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x590f4d=>{_0x1a1146(_0x590f4d[_0x1ebaeb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x372c41=!0x0,_0x541113(_0x590f4d[_0x1ebaeb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ebaeb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ebaeb([0x6c,0x6f,0x77])}),_0x33490a[_0x1ebaeb([0x74,0x68,0x65,0x6e])](()=>{_0x372c41||_0x53e8fd(_0x1ebaeb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x315e9a(){return _0x5e5243[_0x1ebaeb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ebaeb([0x76,0x69,0x65,0x77])][_0x1ebaeb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ebaeb([0x61,0x75,0x74,0x6f]);}function _0x19f8b7(){_0x5e5243[_0x1ebaeb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ebaeb([0x76,0x69,0x65,0x77])][_0x1ebaeb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ebaeb([0x61,0x75,0x74,0x6f]);}}function _0x59d966(_0x59333e){const _0xa5a152=[new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x404cbe=>setTimeout(_0x404cbe,0x19656bc4^_0x5764c0)),_0x33490a[_0x1ebaeb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x321a4b=>{let _0x42c387=0x0;_0x5e5243[_0x1ebaeb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebaeb([0x6f,0x6e])](_0x1ebaeb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20134f,_0x30c772)=>{_0x30c772[0x0][_0x1ebaeb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42c387++,_0x42c387==(0x196c54f0^_0x5764c0)&&(_0x321a4b(),_0x20134f[_0x1ebaeb([0x6f,0x66,0x66])]());});}))];return window[_0x1ebaeb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ebaeb([0x72,0x61,0x63,0x65])](_0xa5a152)[_0x1ebaeb([0x74,0x68,0x65,0x6e])](()=>_0x59333e);}async function _0x3d1c2e(){await _0x33490a,_0x5e5243[_0x1ebaeb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebaeb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x579474,_0x5e5243[_0x1ebaeb([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ebaeb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x579474,_0x5e5243[_0x1ebaeb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ebaeb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x433c6b(_0x50afb1){const _0x39a619=_0x32e88f();_0x5e5243[_0x39a619]=_0x1ebaeb([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x50afb1,_0x50afb1!=_0x1ebaeb([0x56,0x61,0x6c,0x69,0x64])&&_0x3d1c2e();}function _0x32e88f(){const _0x50a720=window[_0x1ebaeb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ebaeb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ebaeb([0x6e,0x6f,0x77])]())[_0x1ebaeb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ebaeb([0x2e]),'');let _0x23cf87=_0x1ebaeb([0x70]);for(let _0x38ee17=0x0;_0x38ee17<_0x50a720[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38ee17+=0x2){let _0x1b4c93=window[_0x1ebaeb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50a720[_0x1ebaeb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38ee17,_0x38ee17+0x2));_0x1b4c93>=_0x3af36a[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b4c93-=_0x3af36a[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23cf87+=_0x3af36a[_0x1b4c93];}return _0x23cf87;}function _0x1d1300(){const _0x6c7a76=_0x266a8b[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])](_0x1ebaeb([0x2e]));if(0x3!=_0x6c7a76[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x25c1cd(_0x6c7a76[0x1]);function _0x25c1cd(_0xbf5eb7){const _0x5c56d1=_0x256f96(_0xbf5eb7);return _0x5c56d1&&_0x28c76f()?_0x5c56d1:null;function _0x28c76f(){const _0x1a5d6f=_0x5c56d1[_0x1ebaeb([0x6a,0x74,0x69])],_0x10287a=window[_0x1ebaeb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a5d6f[_0x1ebaeb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a5d6f[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x803f32={..._0x5c56d1,[_0x1ebaeb([0x6a,0x74,0x69])]:_0x1a5d6f[_0x1ebaeb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a5d6f[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x803f32[_0x1ebaeb([0x76,0x63])],_0x413351(_0x803f32)==_0x10287a;}}}async function _0x19fcc6(){let _0x285a25=!0x0;try{const _0x86d265=_0x266a8b[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])](_0x1ebaeb([0x2e])),[_0x4e617d,_0x59a92f,_0x484c7b]=_0x86d265;return _0x54fb26(_0x4e617d),await _0x52a0f6(_0x4e617d,_0x59a92f,_0x484c7b),_0x285a25;}catch(_0x4807bb){return!0x1;}function _0x54fb26(_0x119dc2){const _0x3fc0c0=_0x256f96(_0x119dc2);_0x3fc0c0&&_0x3fc0c0[_0x1ebaeb([0x61,0x6c,0x67])]==_0x1ebaeb([0x45,0x53,0x32,0x35,0x36])||(_0x285a25=!0x1);}async function _0x52a0f6(_0x19b197,_0x5ac350,_0x4e2700){const _0x3475e4=window[_0x1ebaeb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ebaeb([0x66,0x72,0x6f,0x6d])](_0x175e19(_0x4e2700),_0x53f76e=>_0x53f76e[_0x1ebaeb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17483d=new window[(_0x1ebaeb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ebaeb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19b197+_0x1ebaeb([0x2e])+_0x5ac350),_0x27e0b4=window[_0x1ebaeb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ebaeb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27e0b4)return;const _0x49cea3=await _0x27e0b4[_0x1ebaeb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ebaeb([0x6a,0x77,0x6b]),_0x55c51a,{[_0x1ebaeb([0x6e,0x61,0x6d,0x65])]:_0x1ebaeb([0x45,0x43,0x44,0x53,0x41]),[_0x1ebaeb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ebaeb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ebaeb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27e0b4[_0x1ebaeb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ebaeb([0x6e,0x61,0x6d,0x65])]:_0x1ebaeb([0x45,0x43,0x44,0x53,0x41]),[_0x1ebaeb([0x68,0x61,0x73,0x68])]:{[_0x1ebaeb([0x6e,0x61,0x6d,0x65])]:_0x1ebaeb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49cea3,_0x3475e4,_0x17483d)||(_0x285a25=!0x1);}}function _0x256f96(_0x270564){return _0x270564[_0x1ebaeb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ebaeb([0x65,0x79]))?JSON[_0x1ebaeb([0x70,0x61,0x72,0x73,0x65])](_0x175e19(_0x270564)):null;}function _0x175e19(_0x4b5d08){return window[_0x1ebaeb([0x61,0x74,0x6f,0x62])](_0x4b5d08[_0x1ebaeb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ebaeb([0x2b]))[_0x1ebaeb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ebaeb([0x2f])));}function _0x413351(_0x3fe9fc){let _0x21bb1c=0x1505;function _0x2a5a49(_0x40ba6d){for(let _0x30e87b=0x0;_0x30e87b<_0x40ba6d[_0x1ebaeb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30e87b++){const _0x6195b3=_0x40ba6d[_0x1ebaeb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30e87b);_0x21bb1c=(_0x21bb1c<<0x5)+_0x21bb1c+_0x6195b3,_0x21bb1c&=_0x21bb1c;}}function _0x328ccc(_0x2bacd5){Array[_0x1ebaeb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2bacd5)?_0x2bacd5[_0x1ebaeb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x328ccc):_0x2bacd5&&typeof _0x2bacd5==_0x1ebaeb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ebaeb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2bacd5)[_0x1ebaeb([0x73,0x6f,0x72,0x74])]()[_0x1ebaeb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2ef00c,_0x3cf1ee])=>{_0x2a5a49(_0x2ef00c),_0x328ccc(_0x3cf1ee);}):_0x2a5a49(window[_0x1ebaeb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2bacd5));}return _0x328ccc(_0x3fe9fc),_0x21bb1c>>>0x0;}function _0x340fed(_0x1dd3b4){return _0x1dd3b4[_0x1ebaeb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ebaeb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ebaeb([0x30]));}function _0x4f629f(_0x52371a){return _0x52371a[_0x1ebaeb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ebaeb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ebaeb([0x6a,0x6f,0x69,0x6e])]('');}function _0x579474(){}function _0x1ebaeb(_0x58a202){const _0x48ed9b=_0x4da7;return _0x58a202[_0x48ed9b(0x178)](_0x10736c=>String[_0x48ed9b(0x186)](_0x10736c))[_0x48ed9b(0x194)]('');}_0x433c6b(await _0x346589());}(this);}[_0x51caba(0x15f)](){const _0x26b821=_0x51caba,_0x14856b=this[_0x26b821(0x155)][_0x26b821(0x18a)];_0x14856b[_0x26b821(0x184)](_0x117a97=>{const _0x3c68ad=_0x26b821,_0x55860d=_0x14856b[_0x3c68ad(0x185)][_0x3c68ad(0x190)][_0x3c68ad(0x164)]();if(_0x14856b[_0x3c68ad(0x165)][_0x3c68ad(0x181)](u))_0x117a97[_0x3c68ad(0x166)](u,{'range':_0x55860d});else{if(_0x55860d[_0x3c68ad(0x182)][_0x3c68ad(0x16c)]){const _0x3cad5f=_0x55860d[_0x3c68ad(0x182)][_0x3c68ad(0x16b)](({item:_0x11aeb9})=>!_0x14856b[_0x3c68ad(0x17f)][_0x3c68ad(0x189)](_0x11aeb9),{'boundaries':_0x55860d});_0x117a97[_0x3c68ad(0x18c)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x117a97[_0x3c68ad(0x157)](_0x3cad5f,_0x55860d[_0x3c68ad(0x169)])});}else _0x117a97[_0x3c68ad(0x18c)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x55860d});}});}[_0x51caba(0x197)](){const _0x54fbda=_0x51caba,_0x564a6f=this[_0x54fbda(0x155)][_0x54fbda(0x18a)];_0x564a6f[_0x54fbda(0x165)][_0x54fbda(0x181)](u)&&_0x564a6f[_0x54fbda(0x184)](_0x985e40=>{const _0x1bfe0c=_0x54fbda;_0x985e40[_0x1bfe0c(0x17a)](u);});}[_0x51caba(0x170)](_0x18bd42,_0x2db3c1){const _0x578f56=_0x51caba,_0x426361=_0x2db3c1||this[_0x578f56(0x155)][_0x578f56(0x18a)][_0x578f56(0x165)][_0x578f56(0x195)](u)[_0x578f56(0x192)]();if(!this[_0x578f56(0x155)][_0x578f56(0x18a)][_0x578f56(0x168)](_0x426361))return;const _0x2d819f=this[_0x578f56(0x155)][_0x578f56(0x17d)][_0x578f56(0x158)][_0x578f56(0x188)](_0x18bd42),_0x4fa97a=this[_0x578f56(0x155)][_0x578f56(0x17d)][_0x578f56(0x152)](_0x2d819f);this[_0x578f56(0x155)][_0x578f56(0x18a)][_0x578f56(0x184)](_0x4dacd0=>{const _0x194b2e=_0x578f56;this[_0x194b2e(0x197)]();const _0x5f38a5=this[_0x194b2e(0x155)][_0x194b2e(0x18a)][_0x194b2e(0x170)](_0x4fa97a,_0x426361);_0x5f38a5&&_0x4dacd0[_0x194b2e(0x18e)](_0x5f38a5);});}[_0x51caba(0x16a)](_0x929625){const _0x54f79e=_0x51caba,{model:_0x3d0be7}=this[_0x54f79e(0x155)],_0x34f5eb=Array[_0x54f79e(0x167)](_0x3d0be7[_0x54f79e(0x156)](this[_0x54f79e(0x155)][_0x54f79e(0x18a)][_0x54f79e(0x165)][_0x54f79e(0x195)](u)[_0x54f79e(0x192)]())[_0x54f79e(0x15e)]()),_0x4fe518=_0x34f5eb[_0x54f79e(0x15d)]?_0x3d0be7[_0x54f79e(0x150)](_0x34f5eb[_0x54f79e(0x163)]()):_0x3d0be7[_0x54f79e(0x185)][_0x54f79e(0x190)][_0x54f79e(0x16f)]();this[_0x54f79e(0x170)](_0x929625,_0x4fe518);}}
|
|
23
|
+
const _0x3799cf=_0xae50;(function(_0x3ac0c6,_0x44dda7){const _0x17263f=_0xae50,_0x54c966=_0x3ac0c6();while(!![]){try{const _0x43cc12=parseInt(_0x17263f(0x12c))/0x1*(parseInt(_0x17263f(0x149))/0x2)+-parseInt(_0x17263f(0x13a))/0x3+parseInt(_0x17263f(0x11e))/0x4+parseInt(_0x17263f(0x122))/0x5+-parseInt(_0x17263f(0x12a))/0x6*(-parseInt(_0x17263f(0x128))/0x7)+-parseInt(_0x17263f(0x107))/0x8+-parseInt(_0x17263f(0x112))/0x9*(parseInt(_0x17263f(0x13b))/0xa);if(_0x43cc12===_0x44dda7)break;else _0x54c966['push'](_0x54c966['shift']());}catch(_0x115663){_0x54c966['push'](_0x54c966['shift']());}}}(_0x3f1e,0x441a4));function _0xae50(_0x5ce055,_0x1fc02b){const _0x3f1ee7=_0x3f1e();return _0xae50=function(_0xae50a7,_0x248082){_0xae50a7=_0xae50a7-0x101;let _0x16000c=_0x3f1ee7[_0xae50a7];return _0x16000c;},_0xae50(_0x5ce055,_0x1fc02b);}import{uid as _0x539e54}from'ckeditor5/src/utils.js';import{Plugin as _0x34078d}from'ckeditor5/src/core.js';const u=_0x3799cf(0x12e);function _0x3f1e(){const _0x2acc21=['span','ck-fake-ai-selection_collapsed','createRange','markers','addClass','from','getLastPosition','data','1684644uNApwG','getLastMatchingPosition','selection','getSelectedBlocks','1862635ieUTuO','isOfficialPlugin','length','isAtEnd','toModel','config','4529CPMslR','pop','3198AACScO','start','3kBPyBS','insertContent','ai-ui','createSelection','isPremiumPlugin','has','ck-fake-ai-selection','init','markerRange','schema','get','join','canEditAt','map','113913rPGHtQ','2594230lSGqRF','AIAssistantEditing','markerToHighlight','push','ck-ai-assistant-ui_theme','fromCharCode','document','insertContentBelow','ai.useTheme','showFakeVisualSelection','toView','afterInit','for','editor','226662UTcAHc','change','hideFakeVisualSelection','end','href','processor','updateMarker','setSelection','991368OxXGbJ','createPositionAfter','getFirstRange','editingDowncast','markerToElement','isContent','isCollapsed','conversion','model','removeMarker','createUIElement','36uOyDWM','getRange','pluginName','addMarker'];_0x3f1e=function(){return _0x2acc21;};return _0x3f1e();}export default class a extends _0x34078d{static get[_0x3799cf(0x114)](){const _0x816861=_0x3799cf;return _0x816861(0x13c);}static get[_0x3799cf(0x123)](){return!0x0;}static get[_0x3799cf(0x130)](){return!0x0;}[_0x3799cf(0x133)](){const _0x54fe18=_0x3799cf,{editor:_0x4bafd5}=this,_0x34ef23=[_0x54fe18(0x132)];_0x4bafd5[_0x54fe18(0x127)][_0x54fe18(0x136)](_0x54fe18(0x143))&&_0x34ef23[_0x54fe18(0x13e)](_0x54fe18(0x13f)),_0x4bafd5[_0x54fe18(0x10e)][_0x54fe18(0x147)](_0x54fe18(0x10a))[_0x54fe18(0x13d)]({'model':u,'view':{'classes':_0x34ef23,'priority':0xc}}),_0x4bafd5[_0x54fe18(0x10e)][_0x54fe18(0x147)](_0x54fe18(0x10a))[_0x54fe18(0x10b)]({'model':u,'view':(_0x114cb2,{writer:_0x55addc})=>{const _0x26b396=_0x54fe18;if(!_0x114cb2[_0x26b396(0x134)][_0x26b396(0x10d)])return null;const _0x13a353=_0x55addc[_0x26b396(0x111)](_0x26b396(0x116));return _0x55addc[_0x26b396(0x11a)]([_0x26b396(0x132),_0x26b396(0x117)],_0x13a353),_0x13a353;}});}[_0x3799cf(0x146)](){!async function(_0x3f80ac){const _0xad74cc=_0x1fe80f([0x54,0x77,0x63,0x53,0x50,0x78,0x5a,0x4f,0x74,0x4c,0x75,0x4d,0x51,0x4e,0x35,0x4a,0x66,0x31,0x41,0x73,0x64,0x62,0x45,0x71,0x38,0x49,0x34,0x69,0x57,0x58,0x46,0x55,0x32,0x6a,0x43,0x48,0x7a,0x61,0x6f,0x6e,0x65,0x70,0x36,0x79,0x4b,0x47,0x39,0x37,0x56,0x72,0x76,0x42,0x30,0x6d,0x6c,0x44,0x67,0x52,0x59,0x68,0x33,0x6b]),_0x4b191a=0x7b369391,_0x2bb858=0x7b31c411^_0x4b191a,_0x145a70=window[_0x1fe80f([0x44,0x61,0x74,0x65])][_0x1fe80f([0x6e,0x6f,0x77])](),_0x299c45=_0x3f80ac[_0x1fe80f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x308128=new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48e430=>{_0x299c45[_0x1fe80f([0x6f,0x6e,0x63,0x65])](_0x1fe80f([0x72,0x65,0x61,0x64,0x79]),_0x48e430);}),_0x1f6a47={[_0x1fe80f([0x6b,0x74,0x79])]:_0x1fe80f([0x45,0x43]),[_0x1fe80f([0x75,0x73,0x65])]:_0x1fe80f([0x73,0x69,0x67]),[_0x1fe80f([0x63,0x72,0x76])]:_0x1fe80f([0x50,0x2d,0x32,0x35,0x36]),[_0x1fe80f([0x78])]:_0x1fe80f([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]),[_0x1fe80f([0x79])]:_0x1fe80f([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]),[_0x1fe80f([0x61,0x6c,0x67])]:_0x1fe80f([0x45,0x53,0x32,0x35,0x36])},_0x1f31d2=_0x299c45[_0x1fe80f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fe80f([0x67,0x65,0x74])](_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c2616(){let _0xe5061d,_0x482273=null,_0x1ce437=null;try{if(_0x1f31d2==_0x1fe80f([0x47,0x50,0x4c]))return _0x1fe80f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xe5061d=_0x496f0a(),!_0xe5061d)return _0x1fe80f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xe5061d[_0x1fe80f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ce437=_0x26d7a0(_0xe5061d[_0x1fe80f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xe5061d[_0x1fe80f([0x6a,0x74,0x69])])),await _0x592fb7()?_0x52cab0()?_0x6914a5()?_0x1fe80f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f58d2()?(_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fe80f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x482273=_0x478e04(_0x1fe80f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fe80f([0x74,0x72,0x69,0x61,0x6c])&&(_0x482273=_0x478e04(_0x1fe80f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fe80f([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x482273=_0x478e04(_0x1fe80f([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x433acb()):_0x1fe80f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fe80f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fe80f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x598678){return _0x1fe80f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6914a5(){const _0x1f279a=[_0x1fe80f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fe80f([0x74,0x72,0x69,0x61,0x6c])][_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x145a70/0x3e8:0xe10*_0x2bb858;return _0xe5061d[_0x1fe80f([0x65,0x78,0x70])]<_0x1f279a;}function _0x52cab0(){const _0x44acd9=_0xe5061d[_0x1fe80f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44acd9&&(!!_0x44acd9[_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe80f([0x2a]))||!!_0x44acd9[_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe80f([0x41,0x49])));}function _0x1f58d2(){const _0xeea784=_0xae50,_0x4b35f7=_0xe5061d[_0x1fe80f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4b35f7||0x0==_0x4b35f7[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2bfd09}=new URL(window[_0x1fe80f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xeea784(0x103)]);if(_0x4b35f7[_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bfd09))return!0x0;const _0x439c6e=_0x2bfd09[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])](_0x1fe80f([0x2e]));return _0x4b35f7[_0x1fe80f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39c080=>_0x39c080[_0x1fe80f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe80f([0x2a])))[_0x1fe80f([0x6d,0x61,0x70])](_0x5e6749=>_0x5e6749[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])](_0x1fe80f([0x2e])))[_0x1fe80f([0x73,0x6f,0x6d,0x65])](_0xd4cf6d=>_0x439c6e[_0x1fe80f([0x65,0x76,0x65,0x72,0x79])]((_0x30ad8f,_0x209178)=>_0xd4cf6d[_0x209178]===_0x30ad8f||_0xd4cf6d[_0x209178]===_0x1fe80f([0x2a])));}function _0x433acb(){return _0x482273&&_0x1ce437?new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3930f2,_0x18d065)=>{_0x482273[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x3930f2,_0x18d065),_0x1ce437[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x47a499=>{_0x47a499!=_0x1fe80f([0x56,0x61,0x6c,0x69,0x64])&&_0x3930f2(_0x47a499);},_0x18d065);}):_0x482273||_0x1ce437||_0x1fe80f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x26d7a0(_0x582226,_0x2c88dd){return new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51d8e3=>{if(_0x41e296())return _0x51d8e3(_0x1fe80f([0x56,0x61,0x6c,0x69,0x64]));_0x5246b4(),_0x299c45[_0x1fe80f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fe80f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x219ba4=!0x1;const _0x27943f=_0x539e54();function _0x230216(_0xf6b2bb){return!!_0xf6b2bb&&(typeof _0xf6b2bb===_0x1fe80f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf6b2bb===_0x1fe80f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf6b2bb[_0x1fe80f([0x74,0x68,0x65,0x6e])]===_0x1fe80f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf6b2bb[_0x1fe80f([0x63,0x61,0x74,0x63,0x68])]===_0x1fe80f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x457fb9(_0x35e38e){_0x15f5c1(_0x35e38e)[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x50c90c=>{if(!_0x50c90c||_0x50c90c[_0x1fe80f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fe80f([0x6f,0x6b]))return _0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d8877(_0x72d11c(_0x27943f+_0x2c88dd))!=_0x50c90c[_0x1fe80f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fe80f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x3e3f38=>(_0xcdb312(),_0x3e3f38),()=>{const _0x5d87c8=_0x2ee37c();return null==_0x5d87c8?(_0xcdb312(),_0x1fe80f([0x56,0x61,0x6c,0x69,0x64])):_0x1fe80f(_0x145a70-_0x5d87c8>(0x5f3a1791^_0x4b191a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x51d8e3)[_0x1fe80f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51d8e3(_0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b8934=0x7b007d11^_0x4b191a;function _0xcdb312(){const _0x1c19fa=_0x1fe80f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d8877(_0x72d11c(_0x582226)),_0x30afcf=_0x38ca69(_0x2d8877(window[_0x1fe80f([0x4d,0x61,0x74,0x68])][_0x1fe80f([0x63,0x65,0x69,0x6c])](_0x145a70/_0x4b8934)));window[_0x1fe80f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fe80f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c19fa,_0x30afcf);}function _0x2ee37c(){const _0x2cfd20=_0x1fe80f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d8877(_0x72d11c(_0x582226)),_0x2e967f=window[_0x1fe80f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fe80f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cfd20);return _0x2e967f?window[_0x1fe80f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38ca69(_0x2e967f),0x10)*_0x4b8934:null;}function _0x15f5c1(_0x5c0323){return new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x561007,_0x232628)=>{_0x5c0323[_0x1fe80f([0x74,0x68,0x65,0x6e])](_0x561007,_0x232628),window[_0x1fe80f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x232628,0x7b374751^_0x4b191a);});}}_0x299c45[_0x1fe80f([0x6f,0x6e])](_0x1fe80f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa846d6,_0x2382b5)=>{if(_0x2382b5[0x0]!=_0x582226)return _0x51d8e3(_0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2382b5[0x1]={..._0x2382b5[0x1],[_0x1fe80f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27943f};},{[_0x1fe80f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fe80f([0x68,0x69,0x67,0x68])}),_0x299c45[_0x1fe80f([0x6f,0x6e])](_0x1fe80f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ca04a=>{_0x230216(_0x2ca04a[_0x1fe80f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x219ba4=!0x0,_0x457fb9(_0x2ca04a[_0x1fe80f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fe80f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fe80f([0x6c,0x6f,0x77])}),_0x308128[_0x1fe80f([0x74,0x68,0x65,0x6e])](()=>{_0x219ba4||_0x51d8e3(_0x1fe80f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x41e296(){return _0x299c45[_0x1fe80f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fe80f([0x76,0x69,0x65,0x77])][_0x1fe80f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fe80f([0x61,0x75,0x74,0x6f]);}function _0x5246b4(){_0x299c45[_0x1fe80f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fe80f([0x76,0x69,0x65,0x77])][_0x1fe80f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fe80f([0x61,0x75,0x74,0x6f]);}}function _0x478e04(_0x99133a){const _0x27c014=[new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59f1c2=>setTimeout(_0x59f1c2,0x7b3fad5d^_0x4b191a)),_0x308128[_0x1fe80f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3010eb=>{let _0x3843b4=0x0;_0x299c45[_0x1fe80f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe80f([0x6f,0x6e])](_0x1fe80f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x319a8c,_0x3bb3ca)=>{_0x3bb3ca[0x0][_0x1fe80f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3843b4++,_0x3843b4==(0x7b369269^_0x4b191a)&&(_0x3010eb(),_0x319a8c[_0x1fe80f([0x6f,0x66,0x66])]());});}))];return window[_0x1fe80f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fe80f([0x72,0x61,0x63,0x65])](_0x27c014)[_0x1fe80f([0x74,0x68,0x65,0x6e])](()=>_0x99133a);}async function _0x47e7ff(){await _0x308128,_0x299c45[_0x1fe80f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe80f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a8d2e,_0x299c45[_0x1fe80f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fe80f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a8d2e,_0x299c45[_0x1fe80f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fe80f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25d15b(_0x3399e3){const _0x3c1141=_0x7890d5();_0x299c45[_0x3c1141]=_0x1fe80f([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3399e3,_0x3399e3!=_0x1fe80f([0x56,0x61,0x6c,0x69,0x64])&&_0x47e7ff();}function _0x7890d5(){const _0x1e0a6c=window[_0x1fe80f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fe80f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fe80f([0x6e,0x6f,0x77])]())[_0x1fe80f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fe80f([0x2e]),'');let _0x9e4884=_0x1fe80f([0x54]);for(let _0x148dca=0x0;_0x148dca<_0x1e0a6c[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x148dca+=0x2){let _0x170b56=window[_0x1fe80f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e0a6c[_0x1fe80f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x148dca,_0x148dca+0x2));_0x170b56>=_0xad74cc[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x170b56-=_0xad74cc[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9e4884+=_0xad74cc[_0x170b56];}return _0x9e4884;}function _0x496f0a(){const _0x461f9e=_0x1f31d2[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])](_0x1fe80f([0x2e]));if(0x3!=_0x461f9e[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa1211c(_0x461f9e[0x1]);function _0xa1211c(_0xefb6cc){const _0x2a881b=_0x3ed0e5(_0xefb6cc);return _0x2a881b&&_0x42d56e()?_0x2a881b:null;function _0x42d56e(){const _0x2f6ca7=_0x2a881b[_0x1fe80f([0x6a,0x74,0x69])],_0x3f980c=window[_0x1fe80f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f6ca7[_0x1fe80f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f6ca7[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45a5b7={..._0x2a881b,[_0x1fe80f([0x6a,0x74,0x69])]:_0x2f6ca7[_0x1fe80f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2f6ca7[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45a5b7[_0x1fe80f([0x76,0x63])],_0x72d11c(_0x45a5b7)==_0x3f980c;}}}async function _0x592fb7(){let _0x347ec5=!0x0;try{const _0x5cc064=_0x1f31d2[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])](_0x1fe80f([0x2e])),[_0x559e42,_0x596e6a,_0x9d6cb6]=_0x5cc064;return _0x454cf9(_0x559e42),await _0x1a8d05(_0x559e42,_0x596e6a,_0x9d6cb6),_0x347ec5;}catch(_0x4edce6){return!0x1;}function _0x454cf9(_0x5f0593){const _0x397d93=_0x3ed0e5(_0x5f0593);_0x397d93&&_0x397d93[_0x1fe80f([0x61,0x6c,0x67])]==_0x1fe80f([0x45,0x53,0x32,0x35,0x36])||(_0x347ec5=!0x1);}async function _0x1a8d05(_0x486d04,_0x2838ea,_0x3d935d){const _0x262b03=window[_0x1fe80f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fe80f([0x66,0x72,0x6f,0x6d])](_0x26af7b(_0x3d935d),_0x5ca0bc=>_0x5ca0bc[_0x1fe80f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x308c13=new window[(_0x1fe80f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fe80f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x486d04+_0x1fe80f([0x2e])+_0x2838ea),_0x3d3680=window[_0x1fe80f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fe80f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d3680)return;const _0x532eed=await _0x3d3680[_0x1fe80f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fe80f([0x6a,0x77,0x6b]),_0x1f6a47,{[_0x1fe80f([0x6e,0x61,0x6d,0x65])]:_0x1fe80f([0x45,0x43,0x44,0x53,0x41]),[_0x1fe80f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fe80f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fe80f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d3680[_0x1fe80f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fe80f([0x6e,0x61,0x6d,0x65])]:_0x1fe80f([0x45,0x43,0x44,0x53,0x41]),[_0x1fe80f([0x68,0x61,0x73,0x68])]:{[_0x1fe80f([0x6e,0x61,0x6d,0x65])]:_0x1fe80f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x532eed,_0x262b03,_0x308c13)||(_0x347ec5=!0x1);}}function _0x3ed0e5(_0x5d482f){return _0x5d482f[_0x1fe80f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fe80f([0x65,0x79]))?JSON[_0x1fe80f([0x70,0x61,0x72,0x73,0x65])](_0x26af7b(_0x5d482f)):null;}function _0x26af7b(_0xd3358a){return window[_0x1fe80f([0x61,0x74,0x6f,0x62])](_0xd3358a[_0x1fe80f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fe80f([0x2b]))[_0x1fe80f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fe80f([0x2f])));}function _0x72d11c(_0x21d5c8){let _0x43f076=0x1505;function _0x229164(_0x33b781){for(let _0x3f0051=0x0;_0x3f0051<_0x33b781[_0x1fe80f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f0051++){const _0x1af83c=_0x33b781[_0x1fe80f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f0051);_0x43f076=(_0x43f076<<0x5)+_0x43f076+_0x1af83c,_0x43f076&=_0x43f076;}}function _0x5eada0(_0x27e06f){Array[_0x1fe80f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27e06f)?_0x27e06f[_0x1fe80f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5eada0):_0x27e06f&&typeof _0x27e06f==_0x1fe80f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fe80f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27e06f)[_0x1fe80f([0x73,0x6f,0x72,0x74])]()[_0x1fe80f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x833c82,_0x3f6a60])=>{_0x229164(_0x833c82),_0x5eada0(_0x3f6a60);}):_0x229164(window[_0x1fe80f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27e06f));}return _0x5eada0(_0x21d5c8),_0x43f076>>>0x0;}function _0x2d8877(_0x58964d){return _0x58964d[_0x1fe80f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fe80f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fe80f([0x30]));}function _0x38ca69(_0x1f7efb){return _0x1f7efb[_0x1fe80f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fe80f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fe80f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a8d2e(){}function _0x1fe80f(_0x212837){const _0x5142f8=_0xae50;return _0x212837[_0x5142f8(0x139)](_0x4189dd=>String[_0x5142f8(0x140)](_0x4189dd))[_0x5142f8(0x137)]('');}_0x25d15b(await _0x2c2616());}(this);}[_0x3799cf(0x144)](){const _0x299c4a=_0x3799cf,_0x29dca3=this[_0x299c4a(0x148)][_0x299c4a(0x10f)];_0x29dca3[_0x299c4a(0x14a)](_0x5e48da=>{const _0x14558e=_0x299c4a,_0x41e428=_0x29dca3[_0x14558e(0x141)][_0x14558e(0x120)][_0x14558e(0x109)]();if(_0x29dca3[_0x14558e(0x119)][_0x14558e(0x131)](u))_0x5e48da[_0x14558e(0x105)](u,{'range':_0x41e428});else{if(_0x41e428[_0x14558e(0x12b)][_0x14558e(0x125)]){const _0x53221c=_0x41e428[_0x14558e(0x12b)][_0x14558e(0x11f)](({item:_0x3129f5})=>!_0x29dca3[_0x14558e(0x135)][_0x14558e(0x10c)](_0x3129f5),{'boundaries':_0x41e428});_0x5e48da[_0x14558e(0x115)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5e48da[_0x14558e(0x118)](_0x53221c,_0x41e428[_0x14558e(0x102)])});}else _0x5e48da[_0x14558e(0x115)](u,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x41e428});}});}[_0x3799cf(0x101)](){const _0x127c13=_0x3799cf,_0x43128f=this[_0x127c13(0x148)][_0x127c13(0x10f)];_0x43128f[_0x127c13(0x119)][_0x127c13(0x131)](u)&&_0x43128f[_0x127c13(0x14a)](_0x56f263=>{const _0x454aeb=_0x127c13;_0x56f263[_0x454aeb(0x110)](u);});}[_0x3799cf(0x12d)](_0x3ce8d5,_0x39d74c){const _0x3ed2f8=_0x3799cf,_0x4ea573=_0x39d74c||this[_0x3ed2f8(0x148)][_0x3ed2f8(0x10f)][_0x3ed2f8(0x119)][_0x3ed2f8(0x136)](u)[_0x3ed2f8(0x113)]();if(!this[_0x3ed2f8(0x148)][_0x3ed2f8(0x10f)][_0x3ed2f8(0x138)](_0x4ea573))return;const _0x3ea152=this[_0x3ed2f8(0x148)][_0x3ed2f8(0x11d)][_0x3ed2f8(0x104)][_0x3ed2f8(0x145)](_0x3ce8d5),_0x405b07=this[_0x3ed2f8(0x148)][_0x3ed2f8(0x11d)][_0x3ed2f8(0x126)](_0x3ea152);this[_0x3ed2f8(0x148)][_0x3ed2f8(0x10f)][_0x3ed2f8(0x14a)](_0x57b160=>{const _0x5436a1=_0x3ed2f8;this[_0x5436a1(0x101)]();const _0x243328=this[_0x5436a1(0x148)][_0x5436a1(0x10f)][_0x5436a1(0x12d)](_0x405b07,_0x4ea573);_0x243328&&_0x57b160[_0x5436a1(0x106)](_0x243328);});}[_0x3799cf(0x142)](_0x3ad294){const _0x20185a=_0x3799cf,{model:_0x3a2ea0}=this[_0x20185a(0x148)],_0x44aaaa=Array[_0x20185a(0x11b)](_0x3a2ea0[_0x20185a(0x12f)](this[_0x20185a(0x148)][_0x20185a(0x10f)][_0x20185a(0x119)][_0x20185a(0x136)](u)[_0x20185a(0x113)]())[_0x20185a(0x121)]()),_0x2b079b=_0x44aaaa[_0x20185a(0x124)]?_0x3a2ea0[_0x20185a(0x108)](_0x44aaaa[_0x20185a(0x129)]()):_0x3a2ea0[_0x20185a(0x141)][_0x20185a(0x120)][_0x20185a(0x11c)]();this[_0x20185a(0x12d)](_0x3ad294,_0x2b079b);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x383d3b=_0x576a;(function(_0x3f77cc,_0x3dfd0f){const _0x3ab06f=_0x576a,_0x48cde8=_0x3f77cc();while(!![]){try{const _0x37b856=parseInt(_0x3ab06f(0xbe))/0x1+parseInt(_0x3ab06f(0xd8))/0x2*(parseInt(_0x3ab06f(0x12b))/0x3)+-parseInt(_0x3ab06f(0xff))/0x4+parseInt(_0x3ab06f(0xd1))/0x5*(-parseInt(_0x3ab06f(0xee))/0x6)+-parseInt(_0x3ab06f(0x8d))/0x7+parseInt(_0x3ab06f(0xd7))/0x8*(parseInt(_0x3ab06f(0xb3))/0x9)+-parseInt(_0x3ab06f(0xae))/0xa*(-parseInt(_0x3ab06f(0x11d))/0xb);if(_0x37b856===_0x3dfd0f)break;else _0x48cde8['push'](_0x48cde8['shift']());}catch(_0x1873c6){_0x48cde8['push'](_0x48cde8['shift']());}}}(_0x5e21,0x78d1e));import{Plugin as _0xc3e7ab}from'ckeditor5/src/core.js';import{first as _0x3bb70c,CKEditorError as _0x30071d}from'ckeditor5/src/utils.js';function _0x576a(_0x46a0bb,_0x142bdd){const _0x5e215d=_0x5e21();return _0x576a=function(_0x576a4,_0x41a42d){_0x576a4=_0x576a4-0x7c;let _0xd1dc05=_0x5e215d[_0x576a4];return _0xd1dc05;},_0x576a(_0x46a0bb,_0x142bdd);}import{createDropdown as _0x50e0b8,addMenuToDropdown as _0x4326ac,ButtonView as _0xb0d3cd,MenuBarMenuListItemButtonView as _0x5724c5,Dialog as _0x4cebb0,DialogViewPosition as _0x4250e2,MenuBarMenuView as _0x21beae,MenuBarMenuListView as _0x4749f8,MenuBarMenuListItemView as _0xd89848}from'ckeditor5/src/ui.js';import{icons as _0x48f080}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x331507,UNGROUPED_COMMANDS_GROUP_ID as _0x11204e}from'./utils/normalizecommandsconfig.js';import _0x3643f4 from'./aiassistantediting.js';import _0x292c4a from'./adapters/aiadapter.js';import{getTranslation as _0x240ae9}from'./utils/common-translations.js';function _0x5e21(){const _0x26280f=['replaceContent','430734IBEMQu','enabledCommandsIds','bind','aiLicenseKeyDomainLimit','aiCommands','ck-ai-assistant-ui','errorView','AI\x20is\x20writing','values','AI\x20Assistant','command:','source','selection','push','groupLabel','polite','add','forEach','ai.aiAssistant.contentAreaCssClass','266795YUisIm','hide','change:isProcessing','trim','_populateMenuBarMenu','text/html','160mIOngy','1031354GYSdQb','plugins','updateView','invalid','delegate','_dialog','featureNotAllowed','robotPencil','getRanges','AIAssistantUI','addMany','tableOfContents','get','isFlat','_aiAdapter','showFakeVisualSelection','REPLACE','AIAssistant','insertContent','splice','comment','getSelectedElement','42qWVXIO','children','requires','_initView','ai.aiAssistant.disabledElements','aiLicenseKeyDevelopmentLimit','render','aiLicenseKeyUsageLimit','_onExecute','sort','aiLicenseKeyValid','_initAriaAiStatusChangeAnnouncements','custom','includes','Generated\x20content:\x20%0','menuBar:aiCommands','replace','2989488fBkkqt','order','aiAssistant','editor','reset','currentContext','length','fire','schema','AI\x20Commands','isPremiumPlugin','set','announce','setSelection','buttons','change:enabledCommandsIds','aiLicenseKeyTrialLimit','prompt','_commandDefinitions','commands','menuView','</p>','ck-ai-commands-dropdown\x20','\x20ck-ai-assistant-ui_theme','queryView','pluginName','_getMenuBarGroupButtons','items','media','label','22pYXtuJ','<p>','map','showAIAssistant','trialLimit','_licenseKeyCheckInterval','ai-commands-config-order-collision','Error\x20during\x20AI\x20content\x20generation:\x20%0','once','aiLicenseKeyExpired','document','updatePosition','model','isCollapsed','3ZXUeLW','destroy','expired','isOn','panelView','EDITOR_TOP_SIDE','define','buttonView','locale','insertContentBelow','getLimitElement','wasMoved','_showLicenseError','change','menuBar:aiAssistant','isEnabled','getData','showUI','text','editing','requiresContent','update','1785266VtWKWl','config','ai.aiAssistant.commands','body','aiLicenseKeyNotAllowed','usageLimit','contentArea','_forceMarkersCopy','fieldView','menuitemcheckbox','execute','licenseKey','evaluationLimit','ck-ai-assistant-button\x20','DataTransfer','rawHtml','_createAIAssistantUIButton','hideUI','INSERT','_aiAssistantController','groupId','filter','menuPanelClass','view','change:isError','show','hideFakeVisualSelection','ai.useTheme','isOfficialPlugin','init','aiLicenseKeyEvaluationLimit','promptView','focus','3778850yGWijC','getSelectedBlocks','developmentLimit','_getResolvedCommandsDefinitions','listenTo','75879wDicIY','_formView','_uiCssClasses','domainLimit','aiLicenseKeyInvalid','textAdapter','change:value','componentFactory','copy','from'];_0x5e21=function(){return _0x26280f;};return _0x5e21();}import _0x11bbca from'./ui/showaiassistantcommand.js';import _0x3ce08f from'./ui/aiassistantcontroller.js';import _0xf962f1 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0xe2661f}from'./ui/form/aiformtoolbarview.js';import _0x2f6a3e from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x383d3b(0x9b)];import{ClipboardMarkersUtils as _0x54e25d}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3f635b,DataTransfer as _0x19a995}from'ckeditor5/src/engine.js';export default class n extends _0xc3e7ab{static get[_0x383d3b(0x118)](){const _0x175cf1=_0x383d3b;return _0x175cf1(0xe1);}static get[_0x383d3b(0xa9)](){return!0x0;}static get[_0x383d3b(0x109)](){return!0x0;}static get[_0x383d3b(0xf0)](){return[_0x54e25d,_0x3643f4,_0x292c4a,_0x4cebb0];}constructor(_0x406420){const _0x2ff8f5=_0x383d3b;super(_0x406420),this[_0x2ff8f5(0xb5)]='',_0x406420[_0x2ff8f5(0x8e)][_0x2ff8f5(0x7d)](_0x2ff8f5(0xf2),[_0x2ff8f5(0x11b),_0x2ff8f5(0x9c),_0x2ff8f5(0xe3)]),_0x406420[_0x2ff8f5(0x8e)][_0x2ff8f5(0x7d)](_0x2ff8f5(0xd0),''),_0x406420[_0x2ff8f5(0x8e)][_0x2ff8f5(0x7d)](_0x2ff8f5(0xa8),!0x0),this[_0x2ff8f5(0xb5)]=_0x2ff8f5(0xc3)+(_0x406420[_0x2ff8f5(0x8e)][_0x2ff8f5(0xe4)](_0x2ff8f5(0xa8))?_0x2ff8f5(0x116):'');}[_0x383d3b(0xaa)](){const _0x3afbfd=_0x383d3b,{editor:_0x547325}=this;this[_0x3afbfd(0xe6)]=_0x547325[_0x3afbfd(0xd9)][_0x3afbfd(0xe4)](_0x292c4a),this[_0x3afbfd(0xdd)]=_0x547325[_0x3afbfd(0xd9)][_0x3afbfd(0xe4)](_0x4cebb0),this[_0x3afbfd(0xb4)]=null,this[_0x3afbfd(0x111)]=this[_0x3afbfd(0xb1)]();const _0x58ebcc=new _0x11bbca(_0x547325,Array[_0x3afbfd(0xbc)](this[_0x3afbfd(0x111)][_0x3afbfd(0xc6)]()));_0x547325[_0x3afbfd(0x112)][_0x3afbfd(0xce)](_0x3afbfd(0x120),_0x58ebcc),_0x547325['ui'][_0x3afbfd(0xba)][_0x3afbfd(0xce)](_0x3afbfd(0xc2),_0x435f44=>{const _0x3eae22=_0x3afbfd,_0x522a7a=_0x50e0b8(_0x435f44);return _0x522a7a[_0x3eae22(0x10a)]({'class':_0x3eae22(0x115)+this[_0x3eae22(0xb5)]}),_0x522a7a[_0x3eae22(0x7e)][_0x3eae22(0x10a)]({'label':_0x240ae9(_0x435f44,_0x3eae22(0x108)),'icon':_0x2f6a3e,'tooltip':!0x0}),_0x522a7a['on'](_0x3eae22(0x97),_0x2e8b04=>this[_0x3eae22(0xf6)](_0x2e8b04[_0x3eae22(0xc9)]['id'])),_0x4326ac(_0x522a7a,_0x547325['ui'][_0x3eae22(0xa4)][_0x3eae22(0x90)],function(_0x197f82){const _0x53fbcf=_0x3eae22,_0x1a8b6e=_0x331507(_0x197f82[_0x53fbcf(0x8e)][_0x53fbcf(0xe4)](_0x53fbcf(0x8f)),_0x197f82[_0x53fbcf(0x7f)]),_0x1504b9=B(_0x197f82,_0x1a8b6e)[_0x53fbcf(0xa2)](_0x4a8f70=>_0x4a8f70[_0x53fbcf(0x112)][_0x53fbcf(0x105)]);if(0x1===_0x1504b9[_0x53fbcf(0x105)])return B(_0x197f82,_0x1504b9[0x0][_0x53fbcf(0x112)])[_0x53fbcf(0x11f)](_0x4a3698=>({'id':_0x4a3698['id'],'label':_0x4a3698[_0x53fbcf(0x11c)]}));return _0x1504b9[_0x53fbcf(0x11f)](_0x8b82df=>{const _0x16b0df=_0x53fbcf,{groupId:_0x549f5d,groupLabel:_0xbdfd1d,commands:_0x2cb009}=_0x8b82df,_0x3c2b1b=B(_0x197f82,_0x2cb009)[_0x16b0df(0x11f)](_0x4e4174=>({'id':_0x4e4174['id'],'label':_0x4e4174[_0x16b0df(0x11c)]}));return{'id':_0x549f5d,'menu':_0xbdfd1d||_0x549f5d,'children':_0x3c2b1b};});}(_0x547325),{'ariaLabel':_0x240ae9(_0x435f44,_0x3eae22(0x108))}),_0x522a7a[_0x3eae22(0x113)][_0x3eae22(0xa3)]=_0x3eae22(0x115)+this[_0x3eae22(0xb5)],_0x58ebcc['on'](_0x3eae22(0x10e),_0x4b5d79),_0x522a7a[_0x3eae22(0x113)][_0x3eae22(0x125)](_0x3eae22(0xf4),_0x4b5d79),_0x522a7a;function _0x4b5d79(){const _0xaa032d=_0x3eae22;_0x522a7a[_0xaa032d(0x86)]=_0x58ebcc[_0xaa032d(0xbf)][_0xaa032d(0x105)]>0x0;for(const _0x5e6d85 of _0x522a7a[_0xaa032d(0x113)][_0xaa032d(0x10d)])_0x5e6d85[_0xaa032d(0x86)]=_0x58ebcc[_0xaa032d(0xbf)][_0xaa032d(0xfb)](_0x5e6d85['id']);}}),_0x547325['ui'][_0x3afbfd(0xba)][_0x3afbfd(0xce)](_0x3afbfd(0xfd),_0x2e7d82=>{const _0x400266=_0x3afbfd,_0x3da60d=new _0x21beae(_0x2e7d82);_0x3da60d[_0x400266(0x7e)][_0x400266(0x10a)]({'label':_0x240ae9(_0x2e7d82,_0x400266(0x108)),'icon':_0x2f6a3e}),_0x3da60d[_0x400266(0xc0)](_0x400266(0x86))['to'](_0x58ebcc,_0x400266(0xbf),_0x337669=>_0x337669[_0x400266(0x105)]>0x0);const _0x128c35=_0x331507(_0x547325[_0x400266(0x8e)][_0x400266(0xe4)](_0x400266(0x8f)),_0x2e7d82);return this[_0x400266(0xd5)](_0x58ebcc,_0x3da60d,_0x128c35,_0x32b182=>this[_0x400266(0xf6)](_0x32b182)),_0x3da60d;}),_0x547325['ui'][_0x3afbfd(0xba)][_0x3afbfd(0xce)](_0x3afbfd(0x101),()=>{const _0x30998b=_0x3afbfd,_0x1da8e1=this[_0x30998b(0x9d)](_0xb0d3cd);return _0x1da8e1[_0x30998b(0x10a)]({'tooltip':!0x0,'class':_0x30998b(0x9a)+this[_0x30998b(0xb5)]}),_0x1da8e1;}),_0x547325['ui'][_0x3afbfd(0xba)][_0x3afbfd(0xce)](_0x3afbfd(0x85),()=>{const _0x53bac9=_0x3afbfd,_0x44c390=this[_0x53bac9(0x9d)](_0x5724c5);return _0x44c390[_0x53bac9(0x10a)]({'role':_0x53bac9(0x96)}),_0x44c390;}),this[_0x3afbfd(0x98)]=this[_0x3afbfd(0x102)][_0x3afbfd(0x8e)][_0x3afbfd(0xe4)](_0x3afbfd(0x98));const _0x3c4bff=this[_0x3afbfd(0x102)];this[_0x3afbfd(0x122)]=setInterval(()=>{const _0x4c8395=_0x3afbfd;let _0x1909cf;for(const _0x309404 in _0x3c4bff){const _0x747ffc=_0x309404,_0x12c5dc=_0x3c4bff[_0x747ffc];if(_0x4c8395(0xf8)==_0x12c5dc||_0x4c8395(0xb7)==_0x12c5dc||_0x4c8395(0x126)==_0x12c5dc||_0x4c8395(0xc1)==_0x12c5dc||_0x4c8395(0x91)==_0x12c5dc||_0x4c8395(0xab)==_0x12c5dc||_0x4c8395(0x10f)==_0x12c5dc||_0x4c8395(0xf3)==_0x12c5dc||_0x4c8395(0xf5)==_0x12c5dc){delete _0x3c4bff[_0x747ffc],_0x1909cf=_0x12c5dc,clearInterval(this[_0x4c8395(0x122)]),this[_0x4c8395(0x122)]=void 0x0;break;}}_0x4c8395(0xb7)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0xdb)),_0x4c8395(0x126)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0x12d)),_0x4c8395(0xc1)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0xb6)),_0x4c8395(0x91)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0xde),_0x4c8395(0xe9)),_0x4c8395(0xab)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0x99)),_0x4c8395(0x10f)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0x121)),_0x4c8395(0xf3)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0xb0)),_0x4c8395(0xf5)==_0x1909cf&&_0x3c4bff[_0x4c8395(0x83)](_0x4c8395(0x92));},0x3e8);}[_0x383d3b(0x12c)](){const _0x3c2b6c=_0x383d3b;super[_0x3c2b6c(0x12c)](),this[_0x3c2b6c(0x122)]&&clearInterval(this[_0x3c2b6c(0x122)]);}[_0x383d3b(0x88)](_0x1783ac='',_0x1afa1b='',_0xe6ad96=_0x383d3b(0xfa)){const _0x3785a2=_0x383d3b,_0x12b86f=this[_0x3785a2(0x102)],_0x3341da=_0x12b86f[_0x3785a2(0x8a)][_0x3785a2(0xa4)],_0x48f1a9=_0x12b86f[_0x3785a2(0xd9)][_0x3785a2(0xe4)](_0x3643f4),_0x382c46=_0x12b86f[_0x3785a2(0xd9)][_0x3785a2(0xe4)](_0x54e25d);_0x48f1a9[_0x3785a2(0xe7)]();const _0x4d563f=new j(),_0x1e03b1=new ClipboardEvent(_0x3785a2(0xbb),{'clipboardData':_0x4d563f}),_0x2d2037=new _0x19a995(_0x4d563f),_0x18e967=new _0x3f635b(_0x3341da,_0x1e03b1,{'dataTransfer':_0x2d2037});_0x382c46[_0x3785a2(0x94)](_0x3785a2(0xec),()=>{const _0x46c73e=_0x3785a2;_0x3341da[_0x46c73e(0x127)][_0x46c73e(0x106)](_0x46c73e(0xbb),_0x18e967);}),this[_0x3785a2(0xb4)]||(this[_0x3785a2(0xf1)](),this[_0x3785a2(0xa0)]=new _0x3ce08f(_0x12b86f,this[_0x3785a2(0xe6)][_0x3785a2(0xb8)],this[_0x3785a2(0xb4)]));let _0x3c6fed=_0x2d2037[_0x3785a2(0x87)](_0x3785a2(0xd6));const _0x2abe67=_0x12b86f[_0x3785a2(0x129)][_0x3785a2(0x127)][_0x3785a2(0xca)],_0x56d9bb=Array[_0x3785a2(0xbc)](_0x2abe67[_0x3785a2(0xe0)]());0x1===_0x56d9bb[_0x3785a2(0x105)]&&_0x56d9bb[0x0][_0x3785a2(0xe5)]&&!_0x2abe67[_0x3785a2(0xed)]()&&''!==_0x3c6fed[_0x3785a2(0xfe)](/ /g,'')[_0x3785a2(0xd4)]()&&(_0x3c6fed=_0x3785a2(0x11e)+_0x3c6fed+_0x3785a2(0x114)),this[_0x3785a2(0xa0)][_0x3785a2(0xda)]({'actionId':_0xe6ad96,'query':_0x1783ac,'htmlContent':_0x3c6fed,'label':_0x1afa1b,'mainActionLabel':_0xe2661f[_0x12b86f[_0x3785a2(0x129)][_0x3785a2(0x127)][_0x3785a2(0xca)][_0x3785a2(0x12a)]?_0x3785a2(0x9f):_0x3785a2(0xe8)]}),_0x3785a2(0x101)!==this[_0x3785a2(0xdd)]['id']?this[_0x3785a2(0xdd)][_0x3785a2(0xa6)]({'id':_0x3785a2(0x101),'icon':_0x48f080[_0x3785a2(0xdf)],'title':_0x240ae9(this[_0x3785a2(0x102)][_0x3785a2(0x7f)],_0x3785a2(0xc7)),'content':this[_0x3785a2(0xb4)],'position':_0x4250e2[_0x3785a2(0x7c)],'onShow':()=>{const _0x586123=_0x3785a2;this[_0x586123(0xb4)][_0x586123(0xad)]();},'onHide':()=>{const _0x2138b2=_0x3785a2;this[_0x2138b2(0xa0)][_0x2138b2(0x103)](),_0x48f1a9[_0x2138b2(0xa7)]();}}):this[_0x3785a2(0xdd)][_0x3785a2(0xa4)][_0x3785a2(0x82)]||this[_0x3785a2(0xdd)][_0x3785a2(0xa4)][_0x3785a2(0x128)]();}[_0x383d3b(0x9e)](){const _0x52d1be=_0x383d3b;this[_0x52d1be(0xdd)][_0x52d1be(0xd2)]();}[_0x383d3b(0xb1)](){const _0x40adc0=_0x383d3b,_0xb341cf=new Map(),_0x384604=_0x331507(this[_0x40adc0(0x102)][_0x40adc0(0x8e)][_0x40adc0(0xe4)](_0x40adc0(0x8f)),this[_0x40adc0(0x102)][_0x40adc0(0x7f)]);for(const _0x5d7444 of _0x384604)for(const _0x3df99f of _0x5d7444[_0x40adc0(0x112)])_0xb341cf[_0x40adc0(0x10a)](_0x3df99f['id'],{..._0x3df99f,'groupId':_0x5d7444[_0x40adc0(0xa1)],'groupLabel':_0x5d7444[_0x40adc0(0xcc)]||_0x5d7444[_0x40adc0(0xa1)]});return _0xb341cf;}[_0x383d3b(0x9d)](_0xbe3282){const _0x183a3f=_0x383d3b,_0x199dc2=this[_0x183a3f(0x102)],_0x5d9be6=_0x199dc2[_0x183a3f(0x112)][_0x183a3f(0xe4)](_0x183a3f(0x120)),_0x48d525=new _0xbe3282(_0x199dc2[_0x183a3f(0x7f)]);return _0x48d525[_0x183a3f(0x10a)]({'label':_0x240ae9(_0x199dc2[_0x183a3f(0x7f)],_0x183a3f(0xc7)),'icon':_0x48f080[_0x183a3f(0xdf)],'isToggleable':!0x0}),_0x48d525[_0x183a3f(0xc0)](_0x183a3f(0x86))['to'](_0x5d9be6),_0x48d525[_0x183a3f(0xc0)](_0x183a3f(0x12e))['to'](this[_0x183a3f(0xdd)],'id',_0x2bb579=>_0x183a3f(0x101)===_0x2bb579),this[_0x183a3f(0xb2)](_0x48d525,_0x183a3f(0x97),()=>{const _0x157e59=_0x183a3f;_0x48d525[_0x157e59(0x12e)]?this[_0x157e59(0x9e)]():_0x5d9be6[_0x157e59(0x97)]();}),_0x48d525;}[_0x383d3b(0xf1)](){const _0x568063=_0x383d3b,_0x53e854=this[_0x568063(0x102)][_0x568063(0xd9)][_0x568063(0xe4)](_0x3643f4);this[_0x568063(0xb4)]=new _0xf962f1(this[_0x568063(0x102)][_0x568063(0x7f)],this[_0x568063(0xb5)],this[_0x568063(0x102)][_0x568063(0x8e)][_0x568063(0xe4)](_0x568063(0xd0))),this[_0x568063(0xb4)]['on'](_0x568063(0xb9),()=>{const _0x2ba173=_0x568063;this[_0x2ba173(0xdd)][_0x2ba173(0xa4)][_0x2ba173(0x82)]||this[_0x2ba173(0xdd)][_0x2ba173(0xa4)][_0x2ba173(0x128)]();}),this[_0x568063(0xb4)][_0x568063(0xac)][_0x568063(0x117)][_0x568063(0x95)]['on'](_0x568063(0x8c),()=>{const _0x14fa7e=_0x568063;this[_0x14fa7e(0xdd)][_0x14fa7e(0xa4)][_0x14fa7e(0x82)]||this[_0x14fa7e(0xdd)][_0x14fa7e(0xa4)][_0x14fa7e(0x128)]();}),this[_0x568063(0xb2)](this[_0x568063(0xb4)],_0x568063(0xbd),()=>{const _0x3bfdb3=_0x568063;_0x53e854[_0x3bfdb3(0xea)](this[_0x3bfdb3(0xa0)][_0x3bfdb3(0x104)]),this[_0x3bfdb3(0x9e)]();}),this[_0x568063(0xb2)](this[_0x568063(0xb4)],_0x568063(0x80),()=>{const _0x46be9a=_0x568063;_0x53e854[_0x46be9a(0x80)](this[_0x46be9a(0xa0)][_0x46be9a(0x104)]),this[_0x46be9a(0x9e)]();}),this[_0x568063(0xf9)]();}[_0x383d3b(0xf9)](){const _0x32ff62=_0x383d3b,{locale:_0x5a2c29,ui:{ariaLiveAnnouncer:_0x562094}}=this[_0x32ff62(0x102)];this[_0x32ff62(0xb4)][_0x32ff62(0x93)]['on'](_0x32ff62(0xd3),(_0x5238a8,_0x2258be,_0x26a657)=>{const _0x56875b=_0x32ff62,_0x246622=this[_0x56875b(0xa0)][_0x56875b(0x104)];_0x26a657?_0x562094[_0x56875b(0x10b)](_0x240ae9(_0x5a2c29,_0x56875b(0xc5))):_0x246622&&_0x562094[_0x56875b(0x10b)](_0x240ae9(_0x5a2c29,_0x56875b(0xfc),_0x246622),{'politeness':_0x56875b(0xcd),'isUnsafeHTML':!0x0});}),this[_0x32ff62(0xb4)]['on'](_0x32ff62(0xa5),(_0x4b35c6,_0x195038,_0x5b568c)=>{const _0x184884=_0x32ff62;if(_0x5b568c){const _0x4c6af2=this[_0x184884(0xb4)][_0x184884(0xc4)][_0x184884(0x89)];_0x562094[_0x184884(0x10b)](_0x240ae9(_0x5a2c29,_0x184884(0x124),_0x4c6af2));}});}[_0x383d3b(0xf6)](_0x3fc0f6){const _0x59e776=_0x383d3b,_0x506e3c=this[_0x59e776(0x111)][_0x59e776(0xe4)](_0x3fc0f6),_0x32db0f=this[_0x59e776(0x102)],_0x33ab4a=_0x32db0f[_0x59e776(0x129)][_0x59e776(0x127)][_0x59e776(0xca)],_0x581cb2=_0x32db0f[_0x59e776(0x112)][_0x59e776(0xe4)](_0x59e776(0x120)),_0x512688=_0x32db0f[_0x59e776(0xd9)][_0x59e776(0xe4)](_0x3643f4),_0x418bec=''+(_0x506e3c[_0x59e776(0xa1)]!==_0x11204e?_0x506e3c[_0x59e776(0xcc)]+':\x20':'')+_0x506e3c[_0x59e776(0x11c)];if(!0x1!==_0x506e3c[_0x59e776(0x8b)]&&_0x33ab4a[_0x59e776(0x12a)]){const _0x4a6e8b=_0x3bb70c(_0x33ab4a[_0x59e776(0xaf)]())||_0x32db0f[_0x59e776(0x129)][_0x59e776(0x107)][_0x59e776(0x81)](_0x33ab4a);_0x32db0f[_0x59e776(0x129)][_0x59e776(0x84)](_0x83b96b=>{const _0x22e4c9=_0x59e776;_0x83b96b[_0x22e4c9(0x10c)](_0x4a6e8b,'in');});}_0x512688[_0x59e776(0xe7)](),_0x581cb2[_0x59e776(0x97)](_0x506e3c[_0x59e776(0x110)],_0x418bec,_0x59e776(0xc8)+_0x3fc0f6);}[_0x383d3b(0xd5)](_0x247d74,_0x248e28,_0x48ccf9,_0x53a6e5){const _0x36f354=_0x383d3b,_0x475038=this[_0x36f354(0x102)],_0x59d58f=_0x475038[_0x36f354(0x7f)],_0x384ac1=new _0x4749f8(_0x59d58f),_0x525013=B(_0x475038,_0x48ccf9)[_0x36f354(0xa2)](_0x3aca07=>_0x3aca07[_0x36f354(0x112)][_0x36f354(0x105)]);0x1===_0x525013[_0x36f354(0x105)]?this[_0x36f354(0x119)]({'command':_0x247d74,'commands':_0x525013[0x0][_0x36f354(0x112)],'parentMenuView':_0x248e28,'onExecute':_0x53a6e5})[_0x36f354(0xcf)](_0x284fb8=>_0x384ac1[_0x36f354(0x11a)][_0x36f354(0xce)](_0x284fb8)):_0x525013[_0x36f354(0xcf)](({groupId:_0x1afdf2,groupLabel:_0x3ecbf8,commands:_0x337c21})=>{const _0x335b03=_0x36f354,_0x3ecc37=new _0xd89848(_0x59d58f,_0x248e28),_0x35e1bc=new _0x21beae(_0x59d58f),_0x719070=new _0x4749f8(_0x59d58f),_0x27d3e3=this[_0x335b03(0x119)]({'command':_0x247d74,'commands':_0x337c21,'parentMenuView':_0x35e1bc,'onExecute':_0x53a6e5});_0x35e1bc[_0x335b03(0x7e)][_0x335b03(0x10a)]({'label':_0x3ecbf8||_0x1afdf2}),_0x35e1bc[_0x335b03(0xdc)](_0x335b03(0x97))['to'](_0x248e28),_0x719070[_0x335b03(0x11a)][_0x335b03(0xe2)](_0x27d3e3),_0x35e1bc[_0x335b03(0x12f)][_0x335b03(0xef)][_0x335b03(0xce)](_0x719070),_0x3ecc37[_0x335b03(0xef)][_0x335b03(0xce)](_0x35e1bc),_0x384ac1[_0x335b03(0x11a)][_0x335b03(0xce)](_0x3ecc37);}),_0x248e28[_0x36f354(0x12f)][_0x36f354(0xef)][_0x36f354(0xce)](_0x384ac1);}[_0x383d3b(0x119)]({command:_0x299b6b,commands:_0x39a46f,parentMenuView:_0x5f0866,onExecute:_0x52aaf9}){const _0x4c5d0e=_0x383d3b,_0x50681d=this[_0x4c5d0e(0x102)],_0x468dbf=_0x50681d[_0x4c5d0e(0x7f)];return B(_0x50681d,_0x39a46f)[_0x4c5d0e(0x11f)](_0x33949a=>{const _0xd59b04=_0x4c5d0e,_0x8f7d43=new _0xd89848(_0x468dbf,_0x5f0866),_0x5f1a17=new _0x5724c5(_0x468dbf);return _0x5f1a17[_0xd59b04(0x10a)]({'label':_0x33949a[_0xd59b04(0x11c)]}),_0x5f1a17[_0xd59b04(0xdc)](_0xd59b04(0x97))['to'](_0x5f0866),_0x5f1a17['on'](_0xd59b04(0x97),()=>_0x52aaf9(_0x33949a['id'])),_0x5f1a17[_0xd59b04(0xc0)](_0xd59b04(0x86))['to'](_0x299b6b,_0xd59b04(0xbf),_0x296d1a=>_0x296d1a[_0xd59b04(0xfb)](_0x33949a['id'])),_0x8f7d43[_0xd59b04(0xef)][_0xd59b04(0xce)](_0x5f1a17),_0x8f7d43;});}}function _(_0x20c731,_0x4cc1de){const _0x62569c=_0x383d3b;return void 0x0!==_0x20c731[_0x62569c(0x100)]&&void 0x0===_0x4cc1de[_0x62569c(0x100)]?0x1:void 0x0===_0x20c731[_0x62569c(0x100)]&&void 0x0!==_0x4cc1de[_0x62569c(0x100)]?-0x1:void 0x0!==_0x20c731[_0x62569c(0x100)]&&void 0x0!==_0x4cc1de[_0x62569c(0x100)]?_0x20c731[_0x62569c(0x100)]-_0x4cc1de[_0x62569c(0x100)]:0x0;}function B(_0x21eb1a,_0x3ee53e){const _0x232533=_0x383d3b;_0x3ee53e[_0x232533(0xf7)](_);const _0x1bcc2d={},_0x19dc7d=[];for(const _0x322929 of _0x3ee53e)if(void 0x0!==_0x322929[_0x232533(0x100)]){if(_0x322929[_0x232533(0x100)]in _0x1bcc2d)throw new _0x30071d(_0x232533(0x123),_0x21eb1a,{'conflictingDefinitions':[_0x322929,_0x1bcc2d[_0x322929[_0x232533(0x100)]]]});_0x1bcc2d[_0x322929[_0x232533(0x100)]]=_0x322929,_0x19dc7d[_0x232533(0xeb)](_0x322929[_0x232533(0x100)],0x0,_0x322929);}else _0x19dc7d[_0x232533(0xcb)](_0x322929);return _0x19dc7d;}
|
|
23
|
+
const _0x30018d=_0x37e5;(function(_0x22b4fb,_0x51bce4){const _0x2140e1=_0x37e5,_0x191f07=_0x22b4fb();while(!![]){try{const _0xd0589b=-parseInt(_0x2140e1(0x22c))/0x1+parseInt(_0x2140e1(0x210))/0x2*(-parseInt(_0x2140e1(0x231))/0x3)+parseInt(_0x2140e1(0x24c))/0x4*(parseInt(_0x2140e1(0x246))/0x5)+-parseInt(_0x2140e1(0x251))/0x6+parseInt(_0x2140e1(0x299))/0x7+parseInt(_0x2140e1(0x281))/0x8*(-parseInt(_0x2140e1(0x27d))/0x9)+-parseInt(_0x2140e1(0x217))/0xa*(-parseInt(_0x2140e1(0x268))/0xb);if(_0xd0589b===_0x51bce4)break;else _0x191f07['push'](_0x191f07['shift']());}catch(_0x2ef54e){_0x191f07['push'](_0x191f07['shift']());}}}(_0x17d8,0x8843c));import{Plugin as _0x2c28e0}from'ckeditor5/src/core.js';import{first as _0x3a4186,CKEditorError as _0x83cce4}from'ckeditor5/src/utils.js';import{createDropdown as _0x1e5b69,addMenuToDropdown as _0x57d0be,ButtonView as _0x40c324,MenuBarMenuListItemButtonView as _0x3ccbf0,Dialog as _0x2542e1,DialogViewPosition as _0x378135,MenuBarMenuView as _0x49c684,MenuBarMenuListView as _0x2fb4f6,MenuBarMenuListItemView as _0x9eeb2d}from'ckeditor5/src/ui.js';import{icons as _0x52bc4c}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x463206,UNGROUPED_COMMANDS_GROUP_ID as _0x1ef90f}from'./utils/normalizecommandsconfig.js';import _0x3fb26b from'./aiassistantediting.js';import _0x29c829 from'./adapters/aiadapter.js';import{getTranslation as _0x5360aa}from'./utils/common-translations.js';import _0x115c75 from'./ui/showaiassistantcommand.js';import _0x272e00 from'./ui/aiassistantcontroller.js';import _0x5b7fba from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4c6f8e}from'./ui/form/aiformtoolbarview.js';import _0x3f6f48 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const j=globalThis[_0x30018d(0x294)];function _0x37e5(_0x42d5b8,_0x41fffc){const _0x17d8dd=_0x17d8();return _0x37e5=function(_0x37e50c,_0x40a314){_0x37e50c=_0x37e50c-0x1ea;let _0x229cf1=_0x17d8dd[_0x37e50c];return _0x229cf1;},_0x37e5(_0x42d5b8,_0x41fffc);}import{ClipboardMarkersUtils as _0x54c60a}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2fd032,DataTransfer as _0x25881c}from'ckeditor5/src/engine.js';export default class n extends _0x2c28e0{static get[_0x30018d(0x218)](){const _0x229145=_0x30018d;return _0x229145(0x258);}static get[_0x30018d(0x222)](){return!0x0;}static get[_0x30018d(0x1f8)](){return!0x0;}static get[_0x30018d(0x21b)](){return[_0x54c60a,_0x3fb26b,_0x29c829,_0x2542e1];}constructor(_0x55edc2){const _0x1deaad=_0x30018d;super(_0x55edc2),this[_0x1deaad(0x212)]='',_0x55edc2[_0x1deaad(0x254)][_0x1deaad(0x29c)](_0x1deaad(0x289),[_0x1deaad(0x24d),_0x1deaad(0x272),_0x1deaad(0x206)]),_0x55edc2[_0x1deaad(0x254)][_0x1deaad(0x29c)](_0x1deaad(0x24f),''),_0x55edc2[_0x1deaad(0x254)][_0x1deaad(0x29c)](_0x1deaad(0x1f0),!0x0),this[_0x1deaad(0x212)]=_0x1deaad(0x259)+(_0x55edc2[_0x1deaad(0x254)][_0x1deaad(0x227)](_0x1deaad(0x1f0))?_0x1deaad(0x205):'');}[_0x30018d(0x267)](){const _0x116ba2=_0x30018d,{editor:_0x448f6a}=this;this[_0x116ba2(0x21c)]=_0x448f6a[_0x116ba2(0x26c)][_0x116ba2(0x227)](_0x29c829),this[_0x116ba2(0x1ef)]=_0x448f6a[_0x116ba2(0x26c)][_0x116ba2(0x227)](_0x2542e1),this[_0x116ba2(0x29b)]=null,this[_0x116ba2(0x220)]=this[_0x116ba2(0x26a)]();const _0x2a6fa0=new _0x115c75(_0x448f6a,Array[_0x116ba2(0x284)](this[_0x116ba2(0x220)][_0x116ba2(0x1fa)]()));_0x448f6a[_0x116ba2(0x1f3)][_0x116ba2(0x1fe)](_0x116ba2(0x215),_0x2a6fa0),_0x448f6a['ui'][_0x116ba2(0x26e)][_0x116ba2(0x1fe)](_0x116ba2(0x1fd),_0x4b8716=>{const _0x664c0b=_0x116ba2,_0x5d182a=_0x1e5b69(_0x4b8716);return _0x5d182a[_0x664c0b(0x26b)]({'class':_0x664c0b(0x208)+this[_0x664c0b(0x212)]}),_0x5d182a[_0x664c0b(0x235)][_0x664c0b(0x26b)]({'label':_0x5360aa(_0x4b8716,_0x664c0b(0x266)),'icon':_0x3f6f48,'tooltip':!0x0}),_0x5d182a['on'](_0x664c0b(0x276),_0x5e8ad1=>this[_0x664c0b(0x1f9)](_0x5e8ad1[_0x664c0b(0x229)]['id'])),_0x57d0be(_0x5d182a,_0x448f6a['ui'][_0x664c0b(0x1fc)][_0x664c0b(0x207)],function(_0x378b32){const _0x2ce96d=_0x664c0b,_0x1a293b=_0x463206(_0x378b32[_0x2ce96d(0x254)][_0x2ce96d(0x227)](_0x2ce96d(0x270)),_0x378b32[_0x2ce96d(0x20e)]),_0x34e6b2=B(_0x378b32,_0x1a293b)[_0x2ce96d(0x23c)](_0x4b5ea3=>_0x4b5ea3[_0x2ce96d(0x1f3)][_0x2ce96d(0x262)]);if(0x1===_0x34e6b2[_0x2ce96d(0x262)])return B(_0x378b32,_0x34e6b2[0x0][_0x2ce96d(0x1f3)])[_0x2ce96d(0x20b)](_0x398bf0=>({'id':_0x398bf0['id'],'label':_0x398bf0[_0x2ce96d(0x223)]}));return _0x34e6b2[_0x2ce96d(0x20b)](_0x13ad2c=>{const _0x328edb=_0x2ce96d,{groupId:_0xd404f1,groupLabel:_0x3f8388,commands:_0x2c12cf}=_0x13ad2c,_0x26c250=B(_0x378b32,_0x2c12cf)[_0x328edb(0x20b)](_0x37a61d=>({'id':_0x37a61d['id'],'label':_0x37a61d[_0x328edb(0x223)]}));return{'id':_0xd404f1,'menu':_0x3f8388||_0xd404f1,'children':_0x26c250};});}(_0x448f6a),{'ariaLabel':_0x5360aa(_0x4b8716,_0x664c0b(0x266))}),_0x5d182a[_0x664c0b(0x25e)][_0x664c0b(0x253)]=_0x664c0b(0x208)+this[_0x664c0b(0x212)],_0x2a6fa0['on'](_0x664c0b(0x213),_0x233f58),_0x5d182a[_0x664c0b(0x25e)][_0x664c0b(0x224)](_0x664c0b(0x20d),_0x233f58),_0x5d182a;function _0x233f58(){const _0x41eb30=_0x664c0b;_0x5d182a[_0x41eb30(0x288)]=_0x2a6fa0[_0x41eb30(0x23a)][_0x41eb30(0x262)]>0x0;for(const _0x3b924e of _0x5d182a[_0x41eb30(0x25e)][_0x41eb30(0x291)])_0x3b924e[_0x41eb30(0x288)]=_0x2a6fa0[_0x41eb30(0x23a)][_0x41eb30(0x22a)](_0x3b924e['id']);}}),_0x448f6a['ui'][_0x116ba2(0x26e)][_0x116ba2(0x1fe)](_0x116ba2(0x290),_0x1d1d34=>{const _0x245194=_0x116ba2,_0x57e388=new _0x49c684(_0x1d1d34);_0x57e388[_0x245194(0x235)][_0x245194(0x26b)]({'label':_0x5360aa(_0x1d1d34,_0x245194(0x266)),'icon':_0x3f6f48}),_0x57e388[_0x245194(0x24b)](_0x245194(0x288))['to'](_0x2a6fa0,_0x245194(0x23a),_0x20d81d=>_0x20d81d[_0x245194(0x262)]>0x0);const _0x15c057=_0x463206(_0x448f6a[_0x245194(0x254)][_0x245194(0x227)](_0x245194(0x270)),_0x1d1d34);return this[_0x245194(0x285)](_0x2a6fa0,_0x57e388,_0x15c057,_0x191f06=>this[_0x245194(0x1f9)](_0x191f06)),_0x57e388;}),_0x448f6a['ui'][_0x116ba2(0x26e)][_0x116ba2(0x1fe)](_0x116ba2(0x1ec),()=>{const _0x2b743a=_0x116ba2,_0x515b10=this[_0x2b743a(0x277)](_0x40c324);return _0x515b10[_0x2b743a(0x26b)]({'tooltip':!0x0,'class':_0x2b743a(0x293)+this[_0x2b743a(0x212)]}),_0x515b10;}),_0x448f6a['ui'][_0x116ba2(0x26e)][_0x116ba2(0x1fe)](_0x116ba2(0x225),()=>{const _0x469614=_0x116ba2,_0x26e383=this[_0x469614(0x277)](_0x3ccbf0);return _0x26e383[_0x469614(0x26b)]({'role':_0x469614(0x28d)}),_0x26e383;}),this[_0x116ba2(0x240)]=this[_0x116ba2(0x241)][_0x116ba2(0x254)][_0x116ba2(0x227)](_0x116ba2(0x240));const _0x5097c1=this[_0x116ba2(0x241)];this[_0x116ba2(0x1ed)]=setInterval(()=>{const _0x5398b4=_0x116ba2;let _0x1fd8f3;for(const _0x5a9e63 in _0x5097c1){const _0x2d12f6=_0x5a9e63,_0x8fc211=_0x5097c1[_0x2d12f6];if(_0x5398b4(0x202)==_0x8fc211||_0x5398b4(0x1ff)==_0x8fc211||_0x5398b4(0x23d)==_0x8fc211||_0x5398b4(0x1ea)==_0x8fc211||_0x5398b4(0x1eb)==_0x8fc211||_0x5398b4(0x29d)==_0x8fc211||_0x5398b4(0x1f7)==_0x8fc211||_0x5398b4(0x204)==_0x8fc211||_0x5398b4(0x245)==_0x8fc211){delete _0x5097c1[_0x2d12f6],_0x1fd8f3=_0x8fc211,clearInterval(this[_0x5398b4(0x1ed)]),this[_0x5398b4(0x1ed)]=void 0x0;break;}}_0x5398b4(0x1ff)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x1f5)),_0x5398b4(0x23d)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x27b)),_0x5398b4(0x1ea)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x265)),_0x5398b4(0x1eb)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x22b),_0x5398b4(0x242)),_0x5398b4(0x29d)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x264)),_0x5398b4(0x1f7)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x261)),_0x5398b4(0x204)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x298)),_0x5398b4(0x245)==_0x1fd8f3&&_0x5097c1[_0x5398b4(0x211)](_0x5398b4(0x27a));},0x3e8);}[_0x30018d(0x237)](){const _0x2810a5=_0x30018d;super[_0x2810a5(0x237)](),this[_0x2810a5(0x1ed)]&&clearInterval(this[_0x2810a5(0x1ed)]);}[_0x30018d(0x232)](_0x5589e8='',_0x172448='',_0x44fda6=_0x30018d(0x21a)){const _0x26930b=_0x30018d,_0x28bc1a=this[_0x26930b(0x241)],_0x828bf4=_0x28bc1a[_0x26930b(0x26d)][_0x26930b(0x1fc)],_0x4438dd=_0x28bc1a[_0x26930b(0x26c)][_0x26930b(0x227)](_0x3fb26b),_0x530183=_0x28bc1a[_0x26930b(0x26c)][_0x26930b(0x227)](_0x54c60a);_0x4438dd[_0x26930b(0x278)]();const _0x400ae2=new j(),_0x2a4bab=new ClipboardEvent(_0x26930b(0x23b),{'clipboardData':_0x400ae2}),_0x118c8e=new _0x25881c(_0x400ae2),_0x14d2c8=new _0x2fd032(_0x828bf4,_0x2a4bab,{'dataTransfer':_0x118c8e});_0x530183[_0x26930b(0x20a)](_0x26930b(0x279),()=>{const _0x295cf8=_0x26930b;_0x828bf4[_0x295cf8(0x209)][_0x295cf8(0x25d)](_0x295cf8(0x23b),_0x14d2c8);}),this[_0x26930b(0x29b)]||(this[_0x26930b(0x280)](),this[_0x26930b(0x282)]=new _0x272e00(_0x28bc1a,this[_0x26930b(0x21c)][_0x26930b(0x21d)],this[_0x26930b(0x29b)]));let _0x50e365=_0x118c8e[_0x26930b(0x252)](_0x26930b(0x1ee));const _0x4a387c=_0x28bc1a[_0x26930b(0x28c)][_0x26930b(0x209)][_0x26930b(0x283)],_0x15edf3=Array[_0x26930b(0x284)](_0x4a387c[_0x26930b(0x226)]());0x1===_0x15edf3[_0x26930b(0x262)]&&_0x15edf3[0x0][_0x26930b(0x29a)]&&!_0x4a387c[_0x26930b(0x219)]()&&''!==_0x50e365[_0x26930b(0x256)](/ /g,'')[_0x26930b(0x221)]()&&(_0x50e365=_0x26930b(0x257)+_0x50e365+_0x26930b(0x275)),this[_0x26930b(0x282)][_0x26930b(0x28b)]({'actionId':_0x44fda6,'query':_0x5589e8,'htmlContent':_0x50e365,'label':_0x172448,'mainActionLabel':_0x4c6f8e[_0x28bc1a[_0x26930b(0x28c)][_0x26930b(0x209)][_0x26930b(0x283)][_0x26930b(0x244)]?_0x26930b(0x201):_0x26930b(0x25b)]}),_0x26930b(0x1ec)!==this[_0x26930b(0x1ef)]['id']?this[_0x26930b(0x1ef)][_0x26930b(0x1fb)]({'id':_0x26930b(0x1ec),'icon':_0x52bc4c[_0x26930b(0x200)],'title':_0x5360aa(this[_0x26930b(0x241)][_0x26930b(0x20e)],_0x26930b(0x20f)),'content':this[_0x26930b(0x29b)],'position':_0x378135[_0x26930b(0x269)],'onShow':()=>{const _0x2465f8=_0x26930b;this[_0x2465f8(0x29b)][_0x2465f8(0x28a)]();},'onHide':()=>{const _0x59f771=_0x26930b;this[_0x59f771(0x282)][_0x59f771(0x292)](),_0x4438dd[_0x59f771(0x239)]();}}):this[_0x26930b(0x1ef)][_0x26930b(0x1fc)][_0x26930b(0x203)]||this[_0x26930b(0x1ef)][_0x26930b(0x1fc)][_0x26930b(0x234)]();}[_0x30018d(0x24e)](){const _0x212179=_0x30018d;this[_0x212179(0x1ef)][_0x212179(0x295)]();}[_0x30018d(0x26a)](){const _0x2bdbee=_0x30018d,_0x55bca5=new Map(),_0x24e7fb=_0x463206(this[_0x2bdbee(0x241)][_0x2bdbee(0x254)][_0x2bdbee(0x227)](_0x2bdbee(0x270)),this[_0x2bdbee(0x241)][_0x2bdbee(0x20e)]);for(const _0x1226f9 of _0x24e7fb)for(const _0xaee288 of _0x1226f9[_0x2bdbee(0x1f3)])_0x55bca5[_0x2bdbee(0x26b)](_0xaee288['id'],{..._0xaee288,'groupId':_0x1226f9[_0x2bdbee(0x28e)],'groupLabel':_0x1226f9[_0x2bdbee(0x27e)]||_0x1226f9[_0x2bdbee(0x28e)]});return _0x55bca5;}[_0x30018d(0x277)](_0x317fb8){const _0x11c554=_0x30018d,_0x218cde=this[_0x11c554(0x241)],_0x43ee01=_0x218cde[_0x11c554(0x1f3)][_0x11c554(0x227)](_0x11c554(0x215)),_0x4c5d2a=new _0x317fb8(_0x218cde[_0x11c554(0x20e)]);return _0x4c5d2a[_0x11c554(0x26b)]({'label':_0x5360aa(_0x218cde[_0x11c554(0x20e)],_0x11c554(0x20f)),'icon':_0x52bc4c[_0x11c554(0x200)],'isToggleable':!0x0}),_0x4c5d2a[_0x11c554(0x24b)](_0x11c554(0x288))['to'](_0x43ee01),_0x4c5d2a[_0x11c554(0x24b)](_0x11c554(0x249))['to'](this[_0x11c554(0x1ef)],'id',_0x287515=>_0x11c554(0x1ec)===_0x287515),this[_0x11c554(0x20c)](_0x4c5d2a,_0x11c554(0x276),()=>{const _0x14c211=_0x11c554;_0x4c5d2a[_0x14c211(0x249)]?this[_0x14c211(0x24e)]():_0x43ee01[_0x14c211(0x276)]();}),_0x4c5d2a;}[_0x30018d(0x280)](){const _0x318cba=_0x30018d,_0x11749d=this[_0x318cba(0x241)][_0x318cba(0x26c)][_0x318cba(0x227)](_0x3fb26b);this[_0x318cba(0x29b)]=new _0x5b7fba(this[_0x318cba(0x241)][_0x318cba(0x20e)],this[_0x318cba(0x212)],this[_0x318cba(0x241)][_0x318cba(0x254)][_0x318cba(0x227)](_0x318cba(0x24f))),this[_0x318cba(0x29b)]['on'](_0x318cba(0x27c),()=>{const _0x1e08d6=_0x318cba;this[_0x1e08d6(0x1ef)][_0x1e08d6(0x1fc)][_0x1e08d6(0x203)]||this[_0x1e08d6(0x1ef)][_0x1e08d6(0x1fc)][_0x1e08d6(0x234)]();}),this[_0x318cba(0x29b)][_0x318cba(0x1f1)][_0x318cba(0x23e)][_0x318cba(0x255)]['on'](_0x318cba(0x1f6),()=>{const _0x3d57ce=_0x318cba;this[_0x3d57ce(0x1ef)][_0x3d57ce(0x1fc)][_0x3d57ce(0x203)]||this[_0x3d57ce(0x1ef)][_0x3d57ce(0x1fc)][_0x3d57ce(0x234)]();}),this[_0x318cba(0x20c)](this[_0x318cba(0x29b)],_0x318cba(0x26f),()=>{const _0x595e34=_0x318cba;_0x11749d[_0x595e34(0x263)](this[_0x595e34(0x282)][_0x595e34(0x21e)]),this[_0x595e34(0x24e)]();}),this[_0x318cba(0x20c)](this[_0x318cba(0x29b)],_0x318cba(0x238),()=>{const _0x5a73db=_0x318cba;_0x11749d[_0x5a73db(0x238)](this[_0x5a73db(0x282)][_0x5a73db(0x21e)]),this[_0x5a73db(0x24e)]();}),this[_0x318cba(0x287)]();}[_0x30018d(0x287)](){const _0x47dd71=_0x30018d,{locale:_0x355744,ui:{ariaLiveAnnouncer:_0x336f45}}=this[_0x47dd71(0x241)];this[_0x47dd71(0x29b)][_0x47dd71(0x248)]['on'](_0x47dd71(0x273),(_0x266028,_0x39e7c7,_0x5d6c86)=>{const _0x3778c5=_0x47dd71,_0x117146=this[_0x3778c5(0x282)][_0x3778c5(0x21e)];_0x5d6c86?_0x336f45[_0x3778c5(0x296)](_0x5360aa(_0x355744,_0x3778c5(0x25a))):_0x117146&&_0x336f45[_0x3778c5(0x296)](_0x5360aa(_0x355744,_0x3778c5(0x233),_0x117146),{'politeness':_0x3778c5(0x25c),'isUnsafeHTML':!0x0});}),this[_0x47dd71(0x29b)]['on'](_0x47dd71(0x22f),(_0x1e4e4d,_0x34b45a,_0x3f58f9)=>{const _0x158fd1=_0x47dd71;if(_0x3f58f9){const _0x1a7db9=this[_0x158fd1(0x29b)][_0x158fd1(0x228)][_0x158fd1(0x22e)];_0x336f45[_0x158fd1(0x296)](_0x5360aa(_0x355744,_0x158fd1(0x28f),_0x1a7db9));}});}[_0x30018d(0x1f9)](_0x50f608){const _0x43a06f=_0x30018d,_0x3f204f=this[_0x43a06f(0x220)][_0x43a06f(0x227)](_0x50f608),_0x2f588f=this[_0x43a06f(0x241)],_0x1891c1=_0x2f588f[_0x43a06f(0x28c)][_0x43a06f(0x209)][_0x43a06f(0x283)],_0x2e4c8e=_0x2f588f[_0x43a06f(0x1f3)][_0x43a06f(0x227)](_0x43a06f(0x215)),_0x136f3f=_0x2f588f[_0x43a06f(0x26c)][_0x43a06f(0x227)](_0x3fb26b),_0x335f17=''+(_0x3f204f[_0x43a06f(0x28e)]!==_0x1ef90f?_0x3f204f[_0x43a06f(0x27e)]+':\x20':'')+_0x3f204f[_0x43a06f(0x223)];if(!0x1!==_0x3f204f[_0x43a06f(0x27f)]&&_0x1891c1[_0x43a06f(0x244)]){const _0x4f4907=_0x3a4186(_0x1891c1[_0x43a06f(0x24a)]())||_0x2f588f[_0x43a06f(0x28c)][_0x43a06f(0x274)][_0x43a06f(0x236)](_0x1891c1);_0x2f588f[_0x43a06f(0x28c)][_0x43a06f(0x260)](_0x548fa9=>{const _0x427017=_0x43a06f;_0x548fa9[_0x427017(0x25f)](_0x4f4907,'in');});}_0x136f3f[_0x43a06f(0x278)](),_0x2e4c8e[_0x43a06f(0x276)](_0x3f204f[_0x43a06f(0x247)],_0x335f17,_0x43a06f(0x297)+_0x50f608);}[_0x30018d(0x285)](_0x5b693f,_0x5b0db4,_0x5b97e7,_0x564420){const _0xcaebd7=_0x30018d,_0x16a20c=this[_0xcaebd7(0x241)],_0x182381=_0x16a20c[_0xcaebd7(0x20e)],_0x44241b=new _0x2fb4f6(_0x182381),_0x271957=B(_0x16a20c,_0x5b97e7)[_0xcaebd7(0x23c)](_0x409bd7=>_0x409bd7[_0xcaebd7(0x1f3)][_0xcaebd7(0x262)]);0x1===_0x271957[_0xcaebd7(0x262)]?this[_0xcaebd7(0x216)]({'command':_0x5b693f,'commands':_0x271957[0x0][_0xcaebd7(0x1f3)],'parentMenuView':_0x5b0db4,'onExecute':_0x564420})[_0xcaebd7(0x1f2)](_0x104460=>_0x44241b[_0xcaebd7(0x271)][_0xcaebd7(0x1fe)](_0x104460)):_0x271957[_0xcaebd7(0x1f2)](({groupId:_0x13c4ef,groupLabel:_0x3d522c,commands:_0x487ebe})=>{const _0x448408=_0xcaebd7,_0x12233a=new _0x9eeb2d(_0x182381,_0x5b0db4),_0x44a91f=new _0x49c684(_0x182381),_0x5dbc7f=new _0x2fb4f6(_0x182381),_0x2db397=this[_0x448408(0x216)]({'command':_0x5b693f,'commands':_0x487ebe,'parentMenuView':_0x44a91f,'onExecute':_0x564420});_0x44a91f[_0x448408(0x235)][_0x448408(0x26b)]({'label':_0x3d522c||_0x13c4ef}),_0x44a91f[_0x448408(0x1f4)](_0x448408(0x276))['to'](_0x5b0db4),_0x5dbc7f[_0x448408(0x271)][_0x448408(0x286)](_0x2db397),_0x44a91f[_0x448408(0x230)][_0x448408(0x243)][_0x448408(0x1fe)](_0x5dbc7f),_0x12233a[_0x448408(0x243)][_0x448408(0x1fe)](_0x44a91f),_0x44241b[_0x448408(0x271)][_0x448408(0x1fe)](_0x12233a);}),_0x5b0db4[_0xcaebd7(0x230)][_0xcaebd7(0x243)][_0xcaebd7(0x1fe)](_0x44241b);}[_0x30018d(0x216)]({command:_0x2b0d87,commands:_0x340390,parentMenuView:_0x14276f,onExecute:_0x505519}){const _0x26b51b=_0x30018d,_0xaf74cc=this[_0x26b51b(0x241)],_0x2bf61d=_0xaf74cc[_0x26b51b(0x20e)];return B(_0xaf74cc,_0x340390)[_0x26b51b(0x20b)](_0xfc18bd=>{const _0x24232e=_0x26b51b,_0x240075=new _0x9eeb2d(_0x2bf61d,_0x14276f),_0x22df25=new _0x3ccbf0(_0x2bf61d);return _0x22df25[_0x24232e(0x26b)]({'label':_0xfc18bd[_0x24232e(0x223)]}),_0x22df25[_0x24232e(0x1f4)](_0x24232e(0x276))['to'](_0x14276f),_0x22df25['on'](_0x24232e(0x276),()=>_0x505519(_0xfc18bd['id'])),_0x22df25[_0x24232e(0x24b)](_0x24232e(0x288))['to'](_0x2b0d87,_0x24232e(0x23a),_0x14f4dc=>_0x14f4dc[_0x24232e(0x22a)](_0xfc18bd['id'])),_0x240075[_0x24232e(0x243)][_0x24232e(0x1fe)](_0x22df25),_0x240075;});}}function _(_0x29c27f,_0x1d2462){const _0x1d1d11=_0x30018d;return void 0x0!==_0x29c27f[_0x1d1d11(0x250)]&&void 0x0===_0x1d2462[_0x1d1d11(0x250)]?0x1:void 0x0===_0x29c27f[_0x1d1d11(0x250)]&&void 0x0!==_0x1d2462[_0x1d1d11(0x250)]?-0x1:void 0x0!==_0x29c27f[_0x1d1d11(0x250)]&&void 0x0!==_0x1d2462[_0x1d1d11(0x250)]?_0x29c27f[_0x1d1d11(0x250)]-_0x1d2462[_0x1d1d11(0x250)]:0x0;}function _0x17d8(){const _0x3642c9=['copy','filter','aiLicenseKeyExpired','queryView','push','licenseKey','editor','AIAssistant','children','isCollapsed','aiLicenseKeyUsageLimit','40llMoCH','prompt','contentArea','isOn','getSelectedBlocks','bind','11164XeLUYL','media','hideUI','ai.aiAssistant.contentAreaCssClass','order','139392erUaHX','getData','menuPanelClass','config','fieldView','replace','<p>','AIAssistantUI','ck-ai-assistant-ui','AI\x20is\x20writing','REPLACE','polite','fire','menuView','setSelection','change','trialLimit','length','insertContent','evaluationLimit','domainLimit','AI\x20Commands','init','341HCAxeV','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','set','plugins','editing','componentFactory','replaceContent','ai.aiAssistant.commands','items','rawHtml','change:isProcessing','schema','</p>','execute','_createAIAssistantUIButton','showFakeVisualSelection','comment','usageLimit','expired','change:value','1592541tbYVMx','groupLabel','requiresContent','_initView','8ypWGyA','_aiAssistantController','selection','from','_populateMenuBarMenu','addMany','_initAriaAiStatusChangeAnnouncements','isEnabled','ai.aiAssistant.disabledElements','focus','updateView','model','menuitemcheckbox','groupId','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuBar:aiCommands','buttons','reset','ck-ai-assistant-button\x20','DataTransfer','hide','announce','command:','developmentLimit','1049356OVYRQf','isFlat','_formView','define','aiLicenseKeyEvaluationLimit','aiLicenseKeyDomainLimit','aiLicenseKeyNotAllowed','aiAssistant','_licenseKeyCheckInterval','text/html','_dialog','ai.useTheme','promptView','forEach','commands','delegate','invalid','update','aiLicenseKeyTrialLimit','isPremiumPlugin','_onExecute','values','show','view','aiCommands','add','aiLicenseKeyInvalid','robotPencil','INSERT','aiLicenseKeyValid','wasMoved','aiLicenseKeyDevelopmentLimit','\x20ck-ai-assistant-ui_theme','tableOfContents','body','ck-ai-commands-dropdown\x20','document','_forceMarkersCopy','map','listenTo','render','locale','AI\x20Assistant','48674VZfNUw','_showLicenseError','_uiCssClasses','change:enabledCommandsIds','sort','showAIAssistant','_getMenuBarGroupButtons','344590cyXqhf','pluginName','getSelectedElement','custom','requires','_aiAdapter','textAdapter','currentContext','ai-commands-config-order-collision','_commandDefinitions','trim','isOfficialPlugin','label','once','menuBar:aiAssistant','getRanges','get','errorView','source','includes','featureNotAllowed','336122oCifdR','splice','text','change:isError','panelView','18WQYYtm','showUI','Generated\x20content:\x20%0','updatePosition','buttonView','getLimitElement','destroy','insertContentBelow','hideFakeVisualSelection','enabledCommandsIds'];_0x17d8=function(){return _0x3642c9;};return _0x17d8();}function B(_0x9fb997,_0x9a3fc3){const _0x428dbd=_0x30018d;_0x9a3fc3[_0x428dbd(0x214)](_);const _0x349aac={},_0xaa52db=[];for(const _0x3b2f47 of _0x9a3fc3)if(void 0x0!==_0x3b2f47[_0x428dbd(0x250)]){if(_0x3b2f47[_0x428dbd(0x250)]in _0x349aac)throw new _0x83cce4(_0x428dbd(0x21f),_0x9fb997,{'conflictingDefinitions':[_0x3b2f47,_0x349aac[_0x3b2f47[_0x428dbd(0x250)]]]});_0x349aac[_0x3b2f47[_0x428dbd(0x250)]]=_0x3b2f47,_0xaa52db[_0x428dbd(0x22d)](_0x3b2f47[_0x428dbd(0x250)],0x0,_0x3b2f47);}else _0xaa52db[_0x428dbd(0x23f)](_0x3b2f47);return _0xaa52db;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x9cbfa9,_0x593764){var _0x51f0c6=_0x4584,_0x110304=_0x9cbfa9();while(!![]){try{var _0x4712f3=parseInt(_0x51f0c6(0x1b4))/0x1*(-parseInt(_0x51f0c6(0x1b2))/0x2)+parseInt(_0x51f0c6(0x1b3))/0x3*(parseInt(_0x51f0c6(0x1b1))/0x4)+-parseInt(_0x51f0c6(0x1b6))/0x5+parseInt(_0x51f0c6(0x1ac))/0x6*(parseInt(_0x51f0c6(0x1b5))/0x7)+-parseInt(_0x51f0c6(0x1ae))/0x8+-parseInt(_0x51f0c6(0x1ad))/0x9*(parseInt(_0x51f0c6(0x1af))/0xa)+parseInt(_0x51f0c6(0x1b0))/0xb;if(_0x4712f3===_0x593764)break;else _0x110304['push'](_0x110304['shift']());}catch(_0x1d5085){_0x110304['push'](_0x110304['shift']());}}}(_0x4e9c,0x1dd71));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x4584(_0x1d5b8f,_0x287c76){var _0x4e9c73=_0x4e9c();return _0x4584=function(_0x4584b3,_0x49820c){_0x4584b3=_0x4584b3-0x1ac;var _0x14f238=_0x4e9c73[_0x4584b3];return _0x14f238;},_0x4584(_0x1d5b8f,_0x287c76);}import'./augmentation.js';function _0x4e9c(){var _0x320a14=['4456VaMPoE','9932zgMlDo','411jaLnLk','8UDTSOL','123571zUwMmR','1165770EwExDP','6uyEZpT','661221rySLlE','1437496hrqHdu','10YvhlHt','5257912mFvfFy'];_0x4e9c=function(){return _0x320a14;};return _0x4e9c();}
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x59b0ed,_0x751707){var _0x49d54d=_0x3125,_0x33d962=_0x59b0ed();while(!![]){try{var _0x5a7a50=-parseInt(_0x49d54d(0x155))/0x1*(-parseInt(_0x49d54d(0x156))/0x2)+-parseInt(_0x49d54d(0x154))/0x3+parseInt(_0x49d54d(0x152))/0x4*(parseInt(_0x49d54d(0x14f))/0x5)+-parseInt(_0x49d54d(0x150))/0x6*(-parseInt(_0x49d54d(0x157))/0x7)+-parseInt(_0x49d54d(0x151))/0x8*(-parseInt(_0x49d54d(0x153))/0x9)+-parseInt(_0x49d54d(0x159))/0xa+parseInt(_0x49d54d(0x15a))/0xb*(-parseInt(_0x49d54d(0x158))/0xc);if(_0x5a7a50===_0x751707)break;else _0x33d962['push'](_0x33d962['shift']());}catch(_0x317669){_0x33d962['push'](_0x33d962['shift']());}}}(_0x5d2a,0xda293));function _0x3125(_0x1534dc,_0x29742c){var _0x5d2a94=_0x5d2a();return _0x3125=function(_0x312524,_0x47468d){_0x312524=_0x312524-0x14f;var _0xe72aa=_0x5d2a94[_0x312524];return _0xe72aa;},_0x3125(_0x1534dc,_0x29742c);}function _0x5d2a(){var _0x324a90=['1299528nOfNql','2132470VkfyrX','165NFZvPy','1295OqPwYs','678KbZvdH','16Kxqoji','21488aLIoRY','567225osybho','557688NnYNlS','5CKLklE','25226MlKKXo','82803bdbqvF'];_0x5d2a=function(){return _0x324a90;};return _0x5d2a();}import{CKEditorError as _0x52b409}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x9ed667=_0x2bf1;(function(_0x25dafd,_0xf23424){const _0x226a45=_0x2bf1,_0x1421ff=_0x25dafd();while(!![]){try{const _0x120f97=-parseInt(_0x226a45(0xa8))/0x1*(-parseInt(_0x226a45(0x9f))/0x2)+-parseInt(_0x226a45(0x82))/0x3+-parseInt(_0x226a45(0xa7))/0x4+parseInt(_0x226a45(0x97))/0x5*(parseInt(_0x226a45(0x96))/0x6)+-parseInt(_0x226a45(0xa2))/0x7+parseInt(_0x226a45(0xcf))/0x8+-parseInt(_0x226a45(0xb1))/0x9*(parseInt(_0x226a45(0x8b))/0xa);if(_0x120f97===_0xf23424)break;else _0x1421ff['push'](_0x1421ff['shift']());}catch(_0x4e3501){_0x1421ff['push'](_0x1421ff['shift']());}}}(_0x16e3,0x3d5a9));import{ObservableMixin as _0x4b38d3}from'ckeditor5/src/utils.js';import{AIRequestError as _0x504cb4}from'../adapters/aiadapter.js';function _0x2bf1(_0x5b69a8,_0x4de9f7){const _0x16e3bf=_0x16e3();return _0x2bf1=function(_0x2bf12a,_0x1a9a38){_0x2bf12a=_0x2bf12a-0x7e;let _0x38ecba=_0x16e3bf[_0x2bf12a];return _0x38ecba;},_0x2bf1(_0x5b69a8,_0x4de9f7);}import{Matcher as _0x404c09,UpcastWriter as _0xdb19fe}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x16e3(){const _0x24003e=['ELEMENT_NODE','_normalizeResponseHeadings','data','name','processor','toView','push','length','```','render','currentResponse','textAdapter','previousQuery','_sanitizationContainer','view','startProcessing','mainAction','div','updateView','htmlProcessor','parseFromString','stopProcessing','_domParser','abort','endsWith','isProcessing','set','_xmlSerializer','finishProcessing','3536144sEYQpi','reverse','element','prompt','previousContext','startsWith','document','childNodes','previousLabel','set:currentContext','toModel','_handleQuery','_isH1TagSupportEnabled','domConverter','stringify','destroy','_stripMarkdownSyntax','currentContext','7200WpxEuy','stopListening','innerHTML','reset','tryAgainEvent','_parseAndNormalizeContent','value','initialContext','finally','60QoqJGq','viewToDom','nodeType','isRendered','serializeToString','once','setContentOf','remove','```html','custom','trim','1392942hfayVR','10JaWxxR','<h1></h1>','createElement','_sanitizeHTML','exec','catch','previousActionId','message','3506riiMOY','handleError','from','2248134KFOAjd','listenTo','editor','editing','submitPrompt','1414424BtIrQx','13cBMmCG','rename','then','text/html','body','makeRequest','querySelector','substring','match','972DaHUJo'];_0x16e3=function(){return _0x24003e;};return _0x16e3();}export default class C extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4b38d3(){constructor(_0xef2082,_0x2fbd2e,_0x2b0b0f){const _0x98ea7e=_0x2bf1;super(),this[_0x98ea7e(0xa4)]=_0xef2082,this[_0x98ea7e(0xbd)]=_0x2fbd2e,this[_0x98ea7e(0xbf)]=document[_0x98ea7e(0x99)](_0x98ea7e(0xc3)),this[_0x98ea7e(0xc8)]=new DOMParser(),this[_0x98ea7e(0xcd)]=new XMLSerializer(),this[_0x98ea7e(0xc0)]=_0x2b0b0f,this[_0x98ea7e(0xcc)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x98ea7e(0xd8),(_0x50d7f8,_0x14cbb9,_0x31710e)=>{const _0x4c27ab=_0x98ea7e;this[_0x4c27ab(0xc0)][_0x4c27ab(0x88)]=this[_0x4c27ab(0x9a)](_0x31710e);}),this[_0x98ea7e(0xa3)](this[_0x98ea7e(0xc0)],_0x98ea7e(0xa6),(_0x430fd6,_0x5b66fa)=>{const _0x107e8f=_0x98ea7e,_0x428b3b=this[_0x107e8f(0x81)]||this[_0x107e8f(0x89)];this[_0x107e8f(0xda)](_0x5b66fa,_0x428b3b,_0x107e8f(0x94));}),this[_0x98ea7e(0xa3)](this[_0x98ea7e(0xc0)],_0x98ea7e(0x86),()=>{const _0x106903=_0x98ea7e;this[_0x106903(0xc0)][_0x106903(0xd2)]=this[_0x106903(0xd7)],this[_0x106903(0xda)](this[_0x106903(0xbe)],this[_0x106903(0xd3)],this[_0x106903(0x9d)],this[_0x106903(0xd7)]);}),this[_0x98ea7e(0xa3)](this[_0x98ea7e(0xc0)],_0x98ea7e(0xc7),()=>{const _0x2413b7=_0x98ea7e;this[_0x2413b7(0xc7)]();});}[_0x9ed667(0x7f)](){const _0x4f029d=_0x9ed667;this[_0x4f029d(0x83)]();}async[_0x9ed667(0xc4)]({actionId:_0x661eef,query:_0x470e92,htmlContent:_0xba0ae6,label:_0x39d8e7,mainActionLabel:_0x3e21d8}){const _0x28e987=_0x9ed667;this[_0x28e987(0xc0)][_0x28e987(0xd2)]=_0x39d8e7,this[_0x28e987(0xc0)][_0x28e987(0xc2)]=_0x3e21d8,this[_0x28e987(0x89)]=_0xba0ae6,_0x470e92&&(this[_0x28e987(0xc0)][_0x28e987(0x8e)]?this[_0x28e987(0xda)](_0x470e92,_0xba0ae6,_0x661eef,_0x39d8e7):this[_0x28e987(0xc0)][_0x28e987(0x90)](_0x28e987(0xbb),()=>{const _0x13853e=_0x28e987;this[_0x13853e(0xda)](_0x470e92,_0xba0ae6,_0x661eef,_0x39d8e7);}));}[_0x9ed667(0xc7)](){const _0x350c50=_0x9ed667;this[_0x350c50(0xcb)]&&(this[_0x350c50(0xcb)]=!0x1,this[_0x350c50(0xc0)][_0x350c50(0xce)](),this[_0x350c50(0xbd)][_0x350c50(0xc9)]());}[_0x9ed667(0x85)](){const _0x175d8d=_0x9ed667;this[_0x175d8d(0x89)]='',this[_0x175d8d(0x81)]='',this[_0x175d8d(0xbc)]='',this[_0x175d8d(0xd3)]='',this[_0x175d8d(0xbe)]='',this[_0x175d8d(0xd7)]='',this[_0x175d8d(0x9d)]=void 0x0,this[_0x175d8d(0xc0)][_0x175d8d(0x85)](),this[_0x175d8d(0xc7)]();}async[_0x9ed667(0xda)](_0x816fdf,_0x338c29,_0x2b10ca,_0x6a54fe){const _0xd1a84e=_0x9ed667;return this[_0xd1a84e(0xcb)]=!0x0,this[_0xd1a84e(0xc0)][_0xd1a84e(0xc1)](),this[_0xd1a84e(0xd3)]=_0x338c29,this[_0xd1a84e(0xbe)]=_0x816fdf,this[_0xd1a84e(0xd7)]=_0x6a54fe||_0x816fdf,this[_0xd1a84e(0x9d)]=_0x2b10ca,new Promise(_0x46aa76=>{const _0x3ee8df=_0xd1a84e;this[_0x3ee8df(0xbd)][_0x3ee8df(0xad)]({'query':_0x816fdf,'context':_0x338c29,'onData':_0x341c17=>{const _0x580abc=_0x3ee8df;this[_0x580abc(0xbc)]=_0x341c17,this[_0x580abc(0x81)]=this[_0x580abc(0x87)](this[_0x580abc(0xbc)]);},'actionId':_0x2b10ca})[_0x3ee8df(0xaa)](()=>{const _0x3c13b7=_0x3ee8df;!this[_0x3c13b7(0x81)]&&this[_0x3c13b7(0xbc)]&&(this[_0x3c13b7(0x81)]=this[_0x3c13b7(0x87)](this[_0x3c13b7(0xbc)],!0x0));})[_0x3ee8df(0x9c)](_0x5e9628=>{const _0x3140d3=_0x3ee8df;_0x5e9628 instanceof _0x504cb4?this[_0x3140d3(0xc0)][_0x3140d3(0xa0)](_0x5e9628[_0x3140d3(0x9e)]):this[_0x3140d3(0xc0)][_0x3140d3(0xa0)](),_0x46aa76();})[_0x3ee8df(0x8a)](()=>{const _0x1dae97=_0x3ee8df;this[_0x1dae97(0xc7)](),_0x46aa76();});});}[_0x9ed667(0x87)](_0x208be8,_0x3e462d=!0x1){const _0x1a8198=_0x9ed667,_0x5661b6=Z[_0x1a8198(0x9b)](_0x208be8);_0x208be8=_0x5661b6?_0x208be8[_0x1a8198(0xaf)](_0x5661b6[0x1][_0x1a8198(0xb9)]):_0x208be8[_0x1a8198(0xb9)]<0x64&&!_0x3e462d?'':this[_0x1a8198(0x80)](_0x208be8);const _0x51df5d=this[_0x1a8198(0xc8)][_0x1a8198(0xc6)](_0x208be8,_0x1a8198(0xab));if(_0x5661b6){const _0x46e443=Array[_0x1a8198(0xa1)](_0x51df5d[_0x1a8198(0xac)][_0x1a8198(0xd6)]);_0x46e443[_0x1a8198(0xd0)]();for(const _0x4bb436 of _0x46e443){if(_0x4bb436[_0x1a8198(0x8d)]==Node[_0x1a8198(0xb2)])break;_0x4bb436[_0x1a8198(0x92)]();}}const _0x42f5b3=this[_0x1a8198(0xa4)][_0x1a8198(0xb4)][_0x1a8198(0xb6)][_0x1a8198(0xb7)](this[_0x1a8198(0xcd)][_0x1a8198(0x8f)](_0x51df5d[_0x1a8198(0xac)]));return this[_0x1a8198(0xdb)]()||this[_0x1a8198(0xb3)](_0x42f5b3),this[_0x1a8198(0xa4)][_0x1a8198(0xb4)][_0x1a8198(0x7e)](this[_0x1a8198(0xa4)][_0x1a8198(0xb4)][_0x1a8198(0xd9)](_0x42f5b3));}[_0x9ed667(0xb3)](_0x4d8c2b){const _0x315adf=_0x9ed667,_0xfb5eb3=new _0xdb19fe(this[_0x315adf(0xa4)][_0x315adf(0xa5)][_0x315adf(0xc0)][_0x315adf(0xd5)]),_0x2ebb03=new _0x404c09({'name':/^h[1-5]$/}),_0x3532b9=[];let _0x3b06ff=!0x1;for(const _0x2ddd3e of _0x4d8c2b)_0x2ddd3e['is'](_0x315adf(0xd1))&&_0x2ebb03[_0x315adf(0xb0)](_0x2ddd3e)&&(_0x3532b9[_0x315adf(0xb8)](_0x2ddd3e),'h1'==_0x2ddd3e[_0x315adf(0xb5)]&&(_0x3b06ff=!0x0));if(_0x3b06ff){for(const _0x2b21e7 of _0x3532b9)_0xfb5eb3[_0x315adf(0xa9)]('h'+(parseInt(_0x2b21e7[_0x315adf(0xb5)][0x1])+0x1),_0x2b21e7);}}[_0x9ed667(0xdb)](){const _0x1a04cf=_0x9ed667,{data:_0x588f9e,editing:_0x40dd2f}=this[_0x1a04cf(0xa4)],_0x10a86b=_0x588f9e[_0x1a04cf(0xc5)][_0x1a04cf(0xb7)](_0x1a04cf(0x98)),_0x337547=_0x588f9e[_0x1a04cf(0xb7)](_0x588f9e[_0x1a04cf(0xd9)](_0x10a86b));return!!_0x40dd2f[_0x1a04cf(0xc0)][_0x1a04cf(0xdc)][_0x1a04cf(0x8c)](_0x337547)[_0x1a04cf(0xae)]('h1');}[_0x9ed667(0x9a)](_0x4cdd2f){const _0x4a3769=_0x9ed667;return this[_0x4a3769(0xa4)][_0x4a3769(0xa5)][_0x4a3769(0xc0)][_0x4a3769(0xdc)][_0x4a3769(0x91)](this[_0x4a3769(0xbf)],_0x4cdd2f),this[_0x4a3769(0xbf)][_0x4a3769(0x84)];}[_0x9ed667(0x80)](_0x214db2){const _0x398871=_0x9ed667,_0x19d8c0=_0x214db2[_0x398871(0x95)]();return _0x19d8c0[_0x398871(0xd4)](_0x398871(0x93))?_0x19d8c0[_0x398871(0xca)](_0x398871(0xba))?_0x19d8c0[_0x398871(0xaf)](0x7,_0x19d8c0[_0x398871(0xb9)]-0x3):_0x19d8c0[_0x398871(0xaf)](0x7):_0x214db2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f6d87=_0x507d;(function(_0x11f503,_0x2199ee){const _0x3aac57=_0x507d,_0x320d63=_0x11f503();while(!![]){try{const _0x2531f8=-parseInt(_0x3aac57(0x11d))/0x1*(-parseInt(_0x3aac57(0x133))/0x2)+-parseInt(_0x3aac57(0x113))/0x3+-parseInt(_0x3aac57(0x103))/0x4+-parseInt(_0x3aac57(0x116))/0x5*(-parseInt(_0x3aac57(0x12d))/0x6)+-parseInt(_0x3aac57(0x104))/0x7*(-parseInt(_0x3aac57(0xfd))/0x8)+parseInt(_0x3aac57(0xe8))/0x9*(-parseInt(_0x3aac57(0x137))/0xa)+parseInt(_0x3aac57(0xef))/0xb;if(_0x2531f8===_0x2199ee)break;else _0x320d63['push'](_0x320d63['shift']());}catch(_0x16ccfb){_0x320d63['push'](_0x320d63['shift']());}}}(_0x2491,0xe18d6));import{global as _0x441d29}from'ckeditor5/src/utils.js';import{View as _0x1f2e09,ButtonView as _0x3bfdde,SpinnerView as _0x8fafef}from'ckeditor5/src/ui.js';import _0x260095 from'../../../theme/icons/copy.svg';import{getTranslation as _0x5cfba1}from'../../utils/common-translations.js';function _0x507d(_0x5e4f90,_0x251fc8){const _0x2491fb=_0x2491();return _0x507d=function(_0x507d3c,_0x1c11c4){_0x507d3c=_0x507d3c-0xe6;let _0x3b4afd=_0x2491fb[_0x507d3c];return _0x3b4afd;},_0x507d(_0x5e4f90,_0x251fc8);}import{icons as _0x58fd63}from'ckeditor5/src/core.js';export default class W extends _0x1f2e09{constructor(_0x20a637,_0x739ff8=''){const _0x22dd59=_0x507d;super(_0x20a637),this[_0x22dd59(0x112)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x59eb57=this[_0x22dd59(0x136)];this[_0x22dd59(0xed)]=new ContentFieldView(_0x20a637,_0x739ff8),this[_0x22dd59(0x10a)]=this[_0x22dd59(0x10f)](),this[_0x22dd59(0xec)]({'tag':_0x22dd59(0xf1),'attributes':{'class':['ck',_0x22dd59(0x12e),_0x59eb57['if'](_0x22dd59(0xf7),_0x22dd59(0x118),_0x1cde92=>!_0x1cde92)],'tabindex':'-1'},'children':[{'tag':_0x22dd59(0xf1),'attributes':{'class':['ck',_0x22dd59(0x11c),_0x59eb57['if'](_0x22dd59(0x120),_0x22dd59(0xf9))]},'children':[this[_0x22dd59(0xed)],{'tag':_0x22dd59(0xf1),'attributes':{'class':['ck',_0x22dd59(0x130)]},'children':[this[_0x22dd59(0x10a)]]}]}]});}[_0x4f6d87(0xf5)](){const _0x44a27a=_0x4f6d87;super[_0x44a27a(0xf5)](),this[_0x44a27a(0xfe)]&&this[_0x44a27a(0xed)][_0x44a27a(0x10b)](this[_0x44a27a(0xfe)]);let _0x5accbf=!0x1;this['on'](_0x44a27a(0x132),(_0x54bbea,_0x120b6c,_0x5bcc16)=>{const _0x114f3c=_0x44a27a,_0x1317db=!this[_0x114f3c(0xed)][_0x114f3c(0x11f)][_0x114f3c(0x12b)](_0x114f3c(0x12c));this[_0x114f3c(0xed)][_0x114f3c(0x10b)](_0x5bcc16),this[_0x114f3c(0x120)]&&_0x1317db&&!_0x5accbf&&this[_0x114f3c(0x11f)][_0x114f3c(0x105)]({'top':this[_0x114f3c(0x11f)][_0x114f3c(0x111)],'behavior':_0x114f3c(0xf2)});}),this['on'](_0x44a27a(0xe6),(_0x506135,_0x40db14,_0x3a8544)=>{const _0x3409e0=_0x44a27a;_0x5accbf=!0x1,_0x3a8544?(this[_0x3409e0(0xfe)]=null,this[_0x3409e0(0xed)][_0x3409e0(0x119)]()):this[_0x3409e0(0xfe)]||this[_0x3409e0(0xed)][_0x3409e0(0x10b)]('');}),this[_0x44a27a(0x117)](this[_0x44a27a(0x11f)],_0x44a27a(0x10d),()=>{_0x5accbf=!0x0;}),this[_0x44a27a(0x117)](this[_0x44a27a(0x11f)],_0x44a27a(0xee),()=>{_0x5accbf=!0x0;});}[_0x4f6d87(0x12f)](){const _0x45d1a5=_0x4f6d87;this[_0x45d1a5(0x11f)][_0x45d1a5(0x12f)]();}[_0x4f6d87(0x10f)](){const _0x29b7f9=_0x4f6d87,_0x169860=this[_0x29b7f9(0x129)],_0x2c077b=new _0x3bfdde(this[_0x29b7f9(0x129)]),_0x2a6fe2=_0x29b7f9(0x11b);return _0x2c077b[_0x29b7f9(0x112)]({'label':_0x5cfba1(_0x169860,_0x29b7f9(0x115)),'icon':_0x260095,'class':_0x2a6fe2,'tooltip':!0x0}),_0x2c077b[_0x29b7f9(0xf4)](_0x29b7f9(0xf7))['to'](this,_0x29b7f9(0xfe),_0x4e8e33=>!!_0x4e8e33),_0x2c077b[_0x29b7f9(0xf4)](_0x29b7f9(0x134))['to'](this,_0x29b7f9(0x120),_0x285f53=>!_0x285f53),_0x2c077b['on'](_0x29b7f9(0x127),()=>{const _0x29f400=_0x29b7f9;this[_0x29f400(0x124)](this[_0x29f400(0xed)][_0x29f400(0x11f)]),_0x2c077b[_0x29f400(0x139)]=_0x58fd63[_0x29f400(0x114)],_0x2c077b[_0x29f400(0x101)]=_0x2a6fe2+_0x29f400(0xe7),this[_0x29f400(0x12f)](),setTimeout(()=>{const _0x14a82f=_0x29f400;_0x2c077b[_0x14a82f(0x139)]=_0x260095,_0x2c077b[_0x14a82f(0x101)]=_0x2a6fe2;},0x3e8);}),_0x2c077b;}[_0x4f6d87(0x124)](_0x59fbba){const _0x5316e2=_0x4f6d87,{window:_0x62f882,document:_0x481bf9}=_0x441d29;if(_0x62f882[_0x5316e2(0xfc)]){const {Blob:_0x54bf67,ClipboardItem:_0x569c55}=_0x62f882,_0x1caf03=[new _0x569c55({'text/html':new _0x54bf67([_0x59fbba[_0x5316e2(0xff)]],{'type':_0x5316e2(0x123)}),'text/plain':new _0x54bf67([_0x59fbba[_0x5316e2(0xe9)]||''],{'type':_0x5316e2(0x122)})})];navigator[_0x5316e2(0x11e)][_0x5316e2(0x12a)](_0x1caf03);}else{const _0x2d6816=_0x481bf9[_0x5316e2(0xea)](_0x5316e2(0xf1));_0x2d6816[_0x5316e2(0x11a)][_0x5316e2(0x131)]=_0x5316e2(0x106),_0x2d6816[_0x5316e2(0x11a)][_0x5316e2(0x138)]=_0x5316e2(0x10e),_0x2d6816[_0x5316e2(0xff)]=_0x5316e2(0xf0)+_0x59fbba[_0x5316e2(0xff)]+_0x5316e2(0x102),_0x481bf9[_0x5316e2(0x110)][_0x5316e2(0x13c)](_0x2d6816);const _0x385ddd=_0x481bf9[_0x5316e2(0xf6)]();_0x385ddd[_0x5316e2(0xeb)](_0x2d6816[_0x5316e2(0x126)]),_0x385ddd[_0x5316e2(0x109)](_0x2d6816[_0x5316e2(0xfb)]);const _0x893bfd=_0x62f882[_0x5316e2(0x13a)]();_0x893bfd[_0x5316e2(0x108)](),_0x893bfd[_0x5316e2(0x128)](_0x385ddd),_0x481bf9[_0x5316e2(0xf8)](_0x5316e2(0x135)),_0x2d6816[_0x5316e2(0x107)]();}}}export class ContentFieldView extends _0x1f2e09{constructor(_0x5b6e92,_0x4e9d0e=''){const _0x219823=_0x4f6d87;super(_0x5b6e92),this[_0x219823(0x100)]=this[_0x219823(0xf3)](),this[_0x219823(0xec)]({'tag':_0x219823(0xf1),'attributes':{'class':['ck',_0x219823(0x10c),_0x4e9d0e,_0x219823(0x121),_0x219823(0xfa)]}});}[_0x4f6d87(0x10b)](_0x243daf){const _0x5da17e=_0x4f6d87;this[_0x5da17e(0x11f)][_0x5da17e(0xff)]=_0x243daf;}[_0x4f6d87(0x119)](){const _0x3ebeb3=_0x4f6d87;this[_0x3ebeb3(0x11f)][_0x3ebeb3(0x13c)](this[_0x3ebeb3(0x100)][_0x3ebeb3(0x11f)]);}[_0x4f6d87(0xf3)](){const _0x1f4f66=_0x4f6d87,_0x1fd19e=new _0x1f2e09(),_0x4ae2bb=this[_0x1f4f66(0x129)],_0x56234f=new _0x8fafef();return _0x56234f[_0x1f4f66(0xf7)]=!0x0,_0x1fd19e[_0x1f4f66(0xec)]({'tag':_0x1f4f66(0xf1),'attributes':{'class':['ck',_0x1f4f66(0x13b)]},'children':[_0x56234f,{'text':_0x5cfba1(_0x4ae2bb,_0x1f4f66(0x125))}]}),_0x1fd19e[_0x1f4f66(0xf5)](),_0x1fd19e;}}function _0x2491(){const _0x3ecc6c=['style','ck-ai-form__copy-button','ck-ai-form__content-area','881462AerXwo','clipboard','element','isProcessing','ck-reset_all-excluded','text/plain','text/html','_copyHTMLToClipboard','AI\x20is\x20writing...','firstElementChild','execute','addRange','locale','write','querySelector','.ck-ai-form__loader','18GyViHF','ck-ai-form__content-area-wrapper','focus','ck-ai-form__copy-button-wrapper','position','change:value','2gpRrUI','isEnabled','copy','bindTemplate','30IwCYXN','left','icon','getSelection','ck-ai-form__loader','appendChild','change:isProcessing','\x20ck-ai-form__copy-button--copied','2798469MjCLce','textContent','createElement','setStartAfter','setTemplate','contentFieldView','mousedown','15597967zaaqTB','<span>[</span>','div','smooth','_createLoader','bind','render','createRange','isVisible','execCommand','ck-ai-form__content-area--processing','ck-ai-form__content-field','lastElementChild','ClipboardItem','608WwWXzz','value','innerHTML','loaderView','class','<span>]</span>','5911536HFjgwe','1211DZdDDQ','scrollTo','absolute','remove','removeAllRanges','setEndBefore','copyButtonView','setContent','ck-content','wheel','-9999px','_createCopyButton','body','scrollHeight','set','884745JoAZQY','check','Copy','2194795QwgEBZ','listenTo','ck-hidden','appendLoader'];_0x2491=function(){return _0x3ecc6c;};return _0x2491();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x40aa3e,_0x2d88ae){const _0x4c6f5e=_0x51d2,_0x3f5b72=_0x40aa3e();while(!![]){try{const _0x4bf8a8=parseInt(_0x4c6f5e(0x8b))/0x1+-parseInt(_0x4c6f5e(0x8f))/0x2*(parseInt(_0x4c6f5e(0x93))/0x3)+parseInt(_0x4c6f5e(0x91))/0x4+-parseInt(_0x4c6f5e(0x95))/0x5*(-parseInt(_0x4c6f5e(0x94))/0x6)+parseInt(_0x4c6f5e(0x99))/0x7*(parseInt(_0x4c6f5e(0x97))/0x8)+parseInt(_0x4c6f5e(0x8a))/0x9+-parseInt(_0x4c6f5e(0x98))/0xa;if(_0x4bf8a8===_0x2d88ae)break;else _0x3f5b72['push'](_0x3f5b72['shift']());}catch(_0x4d6fd9){_0x3f5b72['push'](_0x3f5b72['shift']());}}}(_0x2d19,0x54f8b));function _0x2d19(){const _0x1e8fbf=['set','2007144LtbVkl','text','592257XLuCgk','91086iWKqtf','45QtBQoS','content','8heNWEB','4273940UIeXfu','2189285oVvPIM','div','301086CtKMsB','383070sdXeBK','ck-ai-form__error','bindTemplate','setTemplate','6llLpGi'];_0x2d19=function(){return _0x1e8fbf;};return _0x2d19();}function _0x51d2(_0x52da9f,_0x369859){const _0x2d1922=_0x2d19();return _0x51d2=function(_0x51d2f1,_0x1f5e7f){_0x51d2f1=_0x51d2f1-0x8a;let _0x2ed845=_0x2d1922[_0x51d2f1];return _0x2ed845;},_0x51d2(_0x52da9f,_0x369859);}import{View as _0x52579d,IconView as _0x2db02f}from'ckeditor5/src/ui.js';import _0x4abbd0 from'../../../theme/icons/error.svg';export default class tt extends _0x52579d{constructor(_0x23aa00,_0x45038b=''){const _0x1151a5=_0x51d2;super(_0x23aa00);const _0x238b03=new _0x2db02f(),_0x36eecb=this[_0x1151a5(0x8d)];this[_0x1151a5(0x90)](_0x1151a5(0x92),_0x45038b),_0x238b03[_0x1151a5(0x96)]=_0x4abbd0,this[_0x1151a5(0x8e)]({'tag':_0x1151a5(0x9a),'attributes':{'class':['ck',_0x1151a5(0x8c)]},'children':[_0x238b03,{'text':_0x36eecb['to'](_0x1151a5(0x92))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25121a=_0x3067;(function(_0x286dad,_0x1ec7f5){const _0xc2dc6a=_0x3067,_0x4a9b37=_0x286dad();while(!![]){try{const _0x5bdbe8=-parseInt(_0xc2dc6a(0x17f))/0x1+parseInt(_0xc2dc6a(0x193))/0x2*(-parseInt(_0xc2dc6a(0x187))/0x3)+parseInt(_0xc2dc6a(0x186))/0x4*(parseInt(_0xc2dc6a(0x188))/0x5)+parseInt(_0xc2dc6a(0x1ab))/0x6+-parseInt(_0xc2dc6a(0x1ad))/0x7*(-parseInt(_0xc2dc6a(0x1a5))/0x8)+-parseInt(_0xc2dc6a(0x1a9))/0x9*(parseInt(_0xc2dc6a(0x19b))/0xa)+parseInt(_0xc2dc6a(0x178))/0xb;if(_0x5bdbe8===_0x1ec7f5)break;else _0x4a9b37['push'](_0x4a9b37['shift']());}catch(_0x42f70a){_0x4a9b37['push'](_0x4a9b37['shift']());}}}(_0x1f0a,0xd7f64));import{Rect as _0x4baf27,global as _0x5bb90f,isVisible as _0x2c4e4f}from'ckeditor5/src/utils.js';import{AutocompleteView as _0x38fef5,ButtonView as _0xb77d3b}from'ckeditor5/src/ui.js';import{icons as _0x27e1d4}from'ckeditor5/src/core.js';import{getTranslation as _0x747a83}from'../../utils/common-translations.js';function _0x1f0a(){const _0x1a6fa2=['width','window','locale','37030WQCvvf','fieldView','focusLast','rtl','fieldWrapperChildren','execute','update','style','13406430uAIEnq','requestAnimationFrame','focusableChildren','isEmpty','target','add','value','left','maxRows','filteredView','248IKjitR','isEnabled','_createSubmitButton','history','9TBYUHW','keystrokes','5154600ykPssR','submitButtonView','347662aSmRll','submit','History','ck-ai-form__submit','element','enter','queryView','370491RbjlDj','ck-ai-form__toggle-history','minRows','children','Submit','bind','isVisible','212665ymilAd','showHistoryButtonView','_createShowHistoryButton','render','fire','focusFirst','right','44668awDSmy','285lTpZgU','790sYflgm','uiLanguageDirection','focus','resultsView','focusCycler','excludeScrollbarsAndBorders','set','isOn'];_0x1f0a=function(){return _0x1a6fa2;};return _0x1f0a();}function _0x3067(_0x4ba87a,_0x40d7c9){const _0x1f0a80=_0x1f0a();return _0x3067=function(_0x3067c8,_0x130abd){_0x3067c8=_0x3067c8-0x178;let _0x572b84=_0x1f0a80[_0x3067c8];return _0x572b84;},_0x3067(_0x4ba87a,_0x40d7c9);}import _0x322709 from'../../../theme/icons/submit.svg';export default class ht extends _0x38fef5{constructor(_0x52e3f4,_0xa99889){const _0x2641cf=_0x3067;super(_0x52e3f4,_0xa99889),this[_0x2641cf(0x1b3)][_0x2641cf(0x194)][_0x2641cf(0x17a)]=0x1,this[_0x2641cf(0x1b3)][_0x2641cf(0x194)][_0x2641cf(0x1a3)]=0x3,this[_0x2641cf(0x1ac)]=this[_0x2641cf(0x1a7)](),this[_0x2641cf(0x180)]=this[_0x2641cf(0x181)](),this[_0x2641cf(0x19d)][_0x2641cf(0x1a0)](this[_0x2641cf(0x180)],0x1),this[_0x2641cf(0x19d)][_0x2641cf(0x1a0)](this[_0x2641cf(0x1ac)]);}[_0x25121a(0x182)](){const _0x50ff82=_0x25121a;super[_0x50ff82(0x182)](),this[_0x50ff82(0x1b3)][_0x50ff82(0x197)][_0x50ff82(0x1a0)](this[_0x50ff82(0x180)]),this[_0x50ff82(0x17b)][_0x50ff82(0x1a0)](this[_0x50ff82(0x1ac)]),this[_0x50ff82(0x1aa)][_0x50ff82(0x18e)](_0x50ff82(0x1b2),(_0x5c5ab6,_0x14fbb8)=>{const _0x483914=_0x50ff82;_0x5c5ab6[_0x483914(0x19f)]==this[_0x483914(0x1b3)][_0x483914(0x194)][_0x483914(0x1b1)]&&(this[_0x483914(0x1ae)](),_0x14fbb8());});}[_0x25121a(0x1a7)](){const _0x495daf=_0x25121a,_0x466212=new _0xb77d3b(this[_0x495daf(0x192)]),_0x4532a3=this[_0x495daf(0x192)];return _0x466212[_0x495daf(0x18e)]({'icon':_0x322709,'label':_0x747a83(_0x4532a3,_0x495daf(0x17c)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x495daf(0x1b0)}),_0x466212['on'](_0x495daf(0x198),()=>{const _0x1ba6eb=_0x495daf;this[_0x1ba6eb(0x1ae)]();}),_0x466212[_0x495daf(0x17d)](_0x495daf(0x1a6))['to'](this[_0x495daf(0x1b3)][_0x495daf(0x194)],_0x495daf(0x19e),this,_0x495daf(0x1a6),(_0x5cea22,_0x5e03e4)=>!_0x5cea22&&_0x5e03e4),_0x466212;}[_0x25121a(0x181)](){const _0x40e580=_0x25121a,_0x5048ad=new _0xb77d3b(this[_0x40e580(0x192)]),_0x1d9cbb=this[_0x40e580(0x18b)],_0x381c4e=this[_0x40e580(0x192)];_0x5048ad[_0x40e580(0x18e)]({'label':_0x747a83(_0x381c4e,_0x40e580(0x1af)),'withText':!0x1,'icon':_0x27e1d4[_0x40e580(0x1a8)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x40e580(0x179)}),_0x5048ad[_0x40e580(0x17d)](_0x40e580(0x18f))['to'](_0x1d9cbb,_0x40e580(0x17e)),_0x5048ad[_0x40e580(0x17d)](_0x40e580(0x1a6))['to'](this,_0x40e580(0x1a6)),_0x5048ad['on'](_0x40e580(0x198),()=>{const _0x2c4c8a=_0x40e580;_0x1d9cbb[_0x2c4c8a(0x17e)]=!_0x1d9cbb[_0x2c4c8a(0x17e)],_0x1d9cbb[_0x2c4c8a(0x17e)]?this[_0x2c4c8a(0x1a4)][_0x2c4c8a(0x18a)]():this[_0x2c4c8a(0x18a)]();});const _0x21bf5a=()=>{const _0x57e531=_0x40e580;_0x5bb90f[_0x57e531(0x191)][_0x57e531(0x19c)](()=>{const _0x491477=_0x57e531;if(_0x2c4e4f(this[_0x491477(0x1b1)])){const _0x2d9354=new _0x4baf27(this[_0x491477(0x1b3)][_0x491477(0x194)][_0x491477(0x1b1)]),_0x109f73=_0x2d9354[_0x491477(0x190)],_0x1c17d4=_0x491477(0x196)===_0x381c4e[_0x491477(0x189)]?_0x491477(0x1a2):_0x491477(0x185);_0x2d9354[_0x491477(0x18d)](),_0x5048ad[_0x491477(0x1b1)][_0x491477(0x19a)][_0x1c17d4]=_0x109f73-_0x2d9354[_0x491477(0x190)]+0x1+'px';}});};return this[_0x40e580(0x1b3)][_0x40e580(0x194)]['on'](_0x40e580(0x199),_0x21bf5a),this['on'](_0x40e580(0x182),_0x21bf5a),_0x5048ad;}[_0x25121a(0x1ae)](){const _0x55c454=_0x25121a,_0x5e8478=this[_0x55c454(0x1b3)][_0x55c454(0x194)][_0x55c454(0x1b1)][_0x55c454(0x1a1)];this[_0x55c454(0x183)](_0x55c454(0x1ae),_0x5e8478);}[_0x25121a(0x18a)](_0x53aedd){const _0xb77d60=_0x25121a;-0x1===_0x53aedd?this[_0xb77d60(0x18c)][_0xb77d60(0x195)]():this[_0xb77d60(0x18c)][_0xb77d60(0x184)]();}}
|