@ckeditor/ckeditor5-ai 46.0.1-alpha.9 → 46.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43d6ec=_0x467c;(function(_0x1b70d0,_0x234053){const _0x202b8f=_0x467c,_0x3ad044=_0x1b70d0();while(!![]){try{const _0x36b7a1=-parseInt(_0x202b8f(0x1af))/0x1+parseInt(_0x202b8f(0x184))/0x2+-parseInt(_0x202b8f(0x172))/0x3*(parseInt(_0x202b8f(0x18a))/0x4)+-parseInt(_0x202b8f(0x19a))/0x5+-parseInt(_0x202b8f(0x1bf))/0x6+-parseInt(_0x202b8f(0x194))/0x7*(parseInt(_0x202b8f(0x197))/0x8)+-parseInt(_0x202b8f(0x1b2))/0x9*(-parseInt(_0x202b8f(0x1c2))/0xa);if(_0x36b7a1===_0x234053)break;else _0x3ad044['push'](_0x3ad044['shift']());}catch(_0xa94520){_0x3ad044['push'](_0x3ad044['shift']());}}}(_0xffd2,0xc1293));import{Plugin as _0x3c25d3}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x552fd7}from'./aiassistantui.js';function _0x467c(_0x2c06b9,_0x1df675){const _0xffd2b1=_0xffd2();return _0x467c=function(_0x467c3f,_0x529beb){_0x467c3f=_0x467c3f-0x15b;let _0x306c7c=_0xffd2b1[_0x467c3f];return _0x306c7c;},_0x467c(_0x2c06b9,_0x1df675);}import{AIAssistantEditing as _0x5725f1}from'./aiassistantediting.js';import{getTranslation as _0x5284fc}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x46da91}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x3c25d3{static get[_0x43d6ec(0x15c)](){return[_0x552fd7,_0x5725f1];}static get[_0x43d6ec(0x182)](){const _0x48978b=_0x43d6ec;return _0x48978b(0x183);}static get[_0x43d6ec(0x168)](){return!0x0;}static get[_0x43d6ec(0x1a7)](){return!0x0;}constructor(_0x33cdcf){const _0x47eaf7=_0x43d6ec;super(_0x33cdcf);const _0xfed7ae=_0x33cdcf[_0x47eaf7(0x1b5)],_0x1cf42=_0x33cdcf[_0x47eaf7(0x1a0)];_0xfed7ae[_0x47eaf7(0x17e)](_0x47eaf7(0x16f),!0x0),_0xfed7ae[_0x47eaf7(0x17e)](_0x47eaf7(0x1b7),getDefaultAICommands(_0x1cf42)),_0xfed7ae[_0x47eaf7(0x17e)](_0x47eaf7(0x17c),[]),_0xfed7ae[_0x47eaf7(0x17e)](_0x47eaf7(0x1c4),[]);let _0x159240=_0x46da91(_0xfed7ae[_0x47eaf7(0x1a5)](_0x47eaf7(0x1b7)),_0x1cf42);const _0x3d54a=_0xfed7ae[_0x47eaf7(0x1a5)](_0x47eaf7(0x17c)),_0x110bac=_0xfed7ae[_0x47eaf7(0x1a5)](_0x47eaf7(0x1c4));_0x3d54a[_0x47eaf7(0x19f)](_0x2039ea=>{const _0x113c46=_0x47eaf7,_0x2783af=_0x159240[_0x113c46(0x18d)](_0x1dcd09=>_0x1dcd09[_0x113c46(0x18b)]===_0x2039ea[_0x113c46(0x18b)]);_0x2783af?_0x2783af[_0x113c46(0x1bb)]=_0x2783af[_0x113c46(0x1bb)][_0x113c46(0x17b)](_0x2039ea[_0x113c46(0x1bb)]):_0x159240[_0x113c46(0x195)](_0x2039ea);}),_0x159240=_0x159240[_0x47eaf7(0x1c7)](_0x5885d4=>!_0x110bac[_0x47eaf7(0x190)](_0x5885d4[_0x47eaf7(0x18b)])),_0x159240[_0x47eaf7(0x19f)](_0x5e87e7=>{const _0x5604a7=_0x47eaf7;_0x5e87e7[_0x5604a7(0x1bb)]=_0x5e87e7[_0x5604a7(0x1bb)][_0x5604a7(0x1c7)](_0x3ac34d=>!_0x110bac[_0x5604a7(0x190)](_0x3ac34d['id']));}),_0xfed7ae[_0x47eaf7(0x1b8)](_0x47eaf7(0x1b7),_0x159240);}}function _0xffd2(){const _0x35a833=['Translate','friendly','casual','597592cCMgfO','Generate\x20from\x20selection','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','9SbuCvQ','generate','Direct','config','editOrReview','ai.aiAssistant.commands','set','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','translateHindi','commands','Friendly','Hindi','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','1925952xGKpeN','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Confident','16573020acTcTk','Translate\x20the\x20content\x20to\x20Arabic\x20language.','ai.aiAssistant.removeCommands','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','makeLonger','filter','Translate\x20the\x20content\x20to\x20English\x20language.','Make\x20longer','Arabic','requires','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Change\x20style','Simplified\x20Chinese','Journalism','business','poetic','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateFrench','simplifyLanguage','Professional','isOfficialPlugin','changeStyle','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','English','translatePortuguese','translate','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','ai.aiAssistant.preserveComments','direct','changeTone','60AJDTzk','Edit\x20or\x20review','improveWriting','translateSpanish','translateArabic','translateGerman','Translate\x20the\x20content\x20to\x20German\x20language.','Business','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','concat','ai.aiAssistant.extraCommandGroups','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','define','translateChinese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Translate\x20the\x20content\x20to\x20French\x20language.','pluginName','AIAssistant','1527240SpmUuv','makeShorter','Poetic','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Summarize','Casual','14716NHKCls','groupId','professional','find','Change\x20tone','Improve\x20writing','includes','German','confident','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','57197XDHryU','push','Spanish','392WyIvzK','Legal','French','1185960Cxpovr','Continue','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Make\x20shorter','forEach','locale','translateEnglish','legal','Simplify\x20language','Portuguese','get','continue','isPremiumPlugin','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','journalism','summarize','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'];_0xffd2=function(){return _0x35a833;};return _0xffd2();}export function getDefaultAICommands(_0x138b07){const _0x81fb88=_0x43d6ec;return[{'groupId':_0x81fb88(0x1b6),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x173)),'commands':[{'id':_0x81fb88(0x174),'label':_0x5284fc(_0x138b07,_0x81fb88(0x18f)),'prompt':_0x81fb88(0x187)},{'id':_0x81fb88(0x185),'label':_0x5284fc(_0x138b07,_0x81fb88(0x19e)),'prompt':_0x81fb88(0x1be)},{'id':_0x81fb88(0x1c6),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1c9)),'prompt':_0x81fb88(0x193)},{'id':_0x81fb88(0x166),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1a3)),'prompt':_0x81fb88(0x16a)}]},{'groupId':_0x81fb88(0x1b3),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x1b0)),'commands':[{'id':_0x81fb88(0x1aa),'label':_0x5284fc(_0x138b07,_0x81fb88(0x188)),'prompt':_0x81fb88(0x1a8)},{'id':_0x81fb88(0x1a6),'label':_0x5284fc(_0x138b07,_0x81fb88(0x19b)),'prompt':_0x81fb88(0x1c5)}]},{'groupId':_0x81fb88(0x171),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x18e)),'commands':[{'id':_0x81fb88(0x18c),'label':_0x5284fc(_0x138b07,_0x81fb88(0x167)),'prompt':_0x81fb88(0x1c0)},{'id':_0x81fb88(0x1ae),'label':_0x5284fc(_0x138b07,_0x81fb88(0x189)),'prompt':_0x81fb88(0x16e)},{'id':_0x81fb88(0x170),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1b4)),'prompt':_0x81fb88(0x1b1)},{'id':_0x81fb88(0x192),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1c1)),'prompt':_0x81fb88(0x180)},{'id':_0x81fb88(0x1ad),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1bc)),'prompt':_0x81fb88(0x17a)}]},{'groupId':_0x81fb88(0x169),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x15f)),'commands':[{'id':_0x81fb88(0x162),'label':_0x5284fc(_0x138b07,_0x81fb88(0x179)),'prompt':_0x81fb88(0x1ab)},{'id':_0x81fb88(0x1a2),'label':_0x5284fc(_0x138b07,_0x81fb88(0x198)),'prompt':_0x81fb88(0x1b9)},{'id':_0x81fb88(0x1a9),'label':_0x5284fc(_0x138b07,_0x81fb88(0x161)),'prompt':_0x81fb88(0x15e)},{'id':_0x81fb88(0x163),'label':_0x5284fc(_0x138b07,_0x81fb88(0x186)),'prompt':_0x81fb88(0x17d)}]},{'groupId':_0x81fb88(0x16d),'groupLabel':_0x5284fc(_0x138b07,_0x81fb88(0x1ac)),'commands':[{'id':_0x81fb88(0x1a1),'label':_0x5284fc(_0x138b07,_0x81fb88(0x16b)),'prompt':_0x81fb88(0x1c8)},{'id':_0x81fb88(0x175),'label':_0x5284fc(_0x138b07,_0x81fb88(0x196)),'prompt':_0x81fb88(0x19d)},{'id':_0x81fb88(0x16c),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1a4)),'prompt':_0x81fb88(0x164)},{'id':_0x81fb88(0x177),'label':_0x5284fc(_0x138b07,_0x81fb88(0x191)),'prompt':_0x81fb88(0x178)},{'id':_0x81fb88(0x165),'label':_0x5284fc(_0x138b07,_0x81fb88(0x199)),'prompt':_0x81fb88(0x181)},{'id':_0x81fb88(0x17f),'label':_0x5284fc(_0x138b07,_0x81fb88(0x160)),'prompt':_0x81fb88(0x19c)},{'id':_0x81fb88(0x1ba),'label':_0x5284fc(_0x138b07,_0x81fb88(0x1bd)),'prompt':_0x81fb88(0x15d)},{'id':_0x81fb88(0x176),'label':_0x5284fc(_0x138b07,_0x81fb88(0x15b)),'prompt':_0x81fb88(0x1c3)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4bee1c=_0x304d;function _0x304d(_0x192af3,_0x138863){const _0x4bb346=_0x4bb3();return _0x304d=function(_0x304d83,_0x335330){_0x304d83=_0x304d83-0x9c;let _0x412041=_0x4bb346[_0x304d83];return _0x412041;},_0x304d(_0x192af3,_0x138863);}(function(_0x220b99,_0xf117ce){const _0x875d7b=_0x304d,_0xdf6b11=_0x220b99();while(!![]){try{const _0x7918e3=-parseInt(_0x875d7b(0xc6))/0x1+parseInt(_0x875d7b(0xeb))/0x2*(parseInt(_0x875d7b(0xed))/0x3)+parseInt(_0x875d7b(0xf4))/0x4+parseInt(_0x875d7b(0xdd))/0x5*(parseInt(_0x875d7b(0xbb))/0x6)+parseInt(_0x875d7b(0xd8))/0x7*(parseInt(_0x875d7b(0xba))/0x8)+-parseInt(_0x875d7b(0xfe))/0x9*(parseInt(_0x875d7b(0xe7))/0xa)+-parseInt(_0x875d7b(0xf0))/0xb*(parseInt(_0x875d7b(0x103))/0xc);if(_0x7918e3===_0xf117ce)break;else _0xdf6b11['push'](_0xdf6b11['shift']());}catch(_0x253bdd){_0xdf6b11['push'](_0xdf6b11['shift']());}}}(_0x4bb3,0xf28b8));import{uid as _0x505457}from'ckeditor5/src/utils.js';import{Plugin as _0x5be05b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2cea96}from'ckeditor5/src/clipboard.js';function _0x4bb3(){const _0x559128=['off','span','resultRange','conversion','getChildren','537673YQTSBY','_getDefaultInsertBelowPosition','_createEmptyTableRows','config','ck-ai-assistant-ui_theme','join','isPremiumPlugin','href','map','fromCharCode','getLastPosition','_resetContentOfSelectedTableCells','push','from','getRanges','document','editor','ck-fake-ai-selection','7543851KCgXHh','ai.useTheme','markerToHighlight','createPositionAt','getRows','30YxtKmj','parse','afterInit','getChild','getColumnIndexes','isOfficialPlugin','isCollapsed','fire','markerRange','schema','500wHMjjK','hideFakeVisualSelection','getFirstRange','last','53322rpTdSI','for','87dxZbsl','setData','end','29073kRTiWj','start','insertContentBelow','table','4208128cVeUPi','showFakeVisualSelection','createRange','getSelectedBlocks','_pasteHTMLUsingClipboard','ai-ui','getRange','editingDowncast','pluginName','get','216558aSZsFK','data','insertContent','addClass','once','6684RbUvxw','element','selection','TableUtils','model','markers','contentInsertion','getRowIndexes','markerToElement','has','canEditAt','lowest','findAncestor','AIAssistantEditing','init','isAtEnd','setSelection','deleteContent','addMarker','_getAISelection','paste','change','DataTransfer','plugins','isContent','first','filter','createSelection','getLastMatchingPosition','ck-fake-ai-selection_collapsed','_getTableRowCountFromContent','createPositionAfter','getMarkersGroup','pop','_prepareTableInsertBelowPosition','createUIElement','getSelectedTableCells','editing','insertRows','8BNTCiM','1303494QOwFuL','length','updateMarker','forEach','removeMarker','text/html'];_0x4bb3=function(){return _0x559128;};return _0x4bb3();}import{ViewDocumentDomEventData as _0x5c7eb1,ViewDataTransfer as _0x3dcff0}from'ckeditor5/src/engine.js';const l=globalThis[_0x4bee1c(0xa9)],w=_0x4bee1c(0xf9);export class AIAssistantEditing extends _0x5be05b{static get[_0x4bee1c(0xfc)](){const _0x3e01ef=_0x4bee1c;return _0x3e01ef(0xa0);}static get[_0x4bee1c(0xe2)](){return!0x0;}static get[_0x4bee1c(0xcc)](){return!0x0;}[_0x4bee1c(0xa1)](){const _0x164822=_0x4bee1c,{editor:_0x16a5d4}=this,_0x4efab6=[_0x164822(0xd7)];_0x16a5d4[_0x164822(0xc9)][_0x164822(0xfd)](_0x164822(0xd9))&&_0x4efab6[_0x164822(0xd2)](_0x164822(0xca)),_0x16a5d4[_0x164822(0xc4)][_0x164822(0xec)](_0x164822(0xfb))[_0x164822(0xda)]({'model':w,'view':{'classes':_0x4efab6,'priority':0xc}}),_0x16a5d4[_0x164822(0xc4)][_0x164822(0xec)](_0x164822(0xfb))[_0x164822(0x10b)]({'model':w,'view':(_0x406035,{writer:_0x228cba})=>{const _0x392a63=_0x164822;if(!_0x406035[_0x392a63(0xe5)][_0x392a63(0xe3)])return null;const _0x21be2f=_0x228cba[_0x392a63(0xb6)](_0x392a63(0xc2));return _0x228cba[_0x392a63(0x101)]([_0x392a63(0xd7),_0x392a63(0xb0)],_0x21be2f),_0x21be2f;}});}[_0x4bee1c(0xdf)](){!async function(_0x15eb32){const _0x1a45cd=_0x3a67b0([0x7a,0x62,0x36,0x31,0x46,0x4d,0x49,0x42,0x32,0x67,0x41,0x59,0x6c,0x39,0x37,0x51,0x72,0x35,0x44,0x70,0x6b,0x6a,0x56,0x4e,0x6d,0x6e,0x38,0x75,0x63,0x34,0x6f,0x77,0x64,0x68,0x45,0x58,0x73,0x33,0x78,0x54,0x30,0x53,0x4a,0x52,0x74,0x4b,0x71,0x50,0x65,0x79,0x5a,0x55,0x57,0x61,0x43,0x47,0x66,0x4f,0x76,0x48,0x4c,0x69]),_0x174804=0x155df333,_0x22bc10=0x155a9cfb^_0x174804,_0x19b393=window[_0x3a67b0([0x44,0x61,0x74,0x65])][_0x3a67b0([0x6e,0x6f,0x77])](),_0xe8be94=_0x15eb32[_0x3a67b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x276862=new window[(_0x3a67b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c978c=>{_0xe8be94[_0x3a67b0([0x6f,0x6e,0x63,0x65])](_0x3a67b0([0x72,0x65,0x61,0x64,0x79]),_0x4c978c);}),_0x223956={[_0x3a67b0([0x6b,0x74,0x79])]:_0x3a67b0([0x45,0x43]),[_0x3a67b0([0x75,0x73,0x65])]:_0x3a67b0([0x73,0x69,0x67]),[_0x3a67b0([0x63,0x72,0x76])]:_0x3a67b0([0x50,0x2d,0x32,0x35,0x36]),[_0x3a67b0([0x78])]:_0x3a67b0([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]),[_0x3a67b0([0x79])]:_0x3a67b0([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]),[_0x3a67b0([0x61,0x6c,0x67])]:_0x3a67b0([0x45,0x53,0x32,0x35,0x36])},_0x59fa2c=_0xe8be94[_0x3a67b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a67b0([0x67,0x65,0x74])](_0x3a67b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x282e91(){let _0x24eda5,_0x52fda2=null,_0x259ec1=null;try{if(_0x59fa2c==_0x3a67b0([0x47,0x50,0x4c]))return _0x3a67b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24eda5=_0x280a72(),!_0x24eda5)return _0x3a67b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24eda5[_0x3a67b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x259ec1=_0x5e642f(_0x24eda5[_0x3a67b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24eda5[_0x3a67b0([0x6a,0x74,0x69])])),await _0x108649()?_0x21a985()?_0x3f27b9()?_0x3a67b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d40b6()?(_0x24eda5[_0x3a67b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a67b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52fda2=_0x431ba4(_0x3a67b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x24eda5[_0x3a67b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a67b0([0x74,0x72,0x69,0x61,0x6c])&&(_0x52fda2=_0x431ba4(_0x3a67b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e1380()):_0x3a67b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a67b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a67b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a67b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f27b9(){const _0x29258a=[_0x3a67b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a67b0([0x74,0x72,0x69,0x61,0x6c])][_0x3a67b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24eda5[_0x3a67b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x19b393/0x3e8:0xe10*_0x22bc10;return _0x24eda5[_0x3a67b0([0x65,0x78,0x70])]<_0x29258a;}function _0x21a985(){const _0x586eb1=_0x24eda5[_0x3a67b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x586eb1&&(!!_0x586eb1[_0x3a67b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a67b0([0x2a]))||!!_0x586eb1[_0x3a67b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a67b0([0x41,0x49])));}function _0x1d40b6(){const _0x51c4c2=_0x304d,_0x35f739=_0x24eda5[_0x3a67b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35f739||0x0==_0x35f739[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13d21b}=new URL(window[_0x3a67b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51c4c2(0xcd)]);if(_0x35f739[_0x3a67b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d21b))return!0x0;const _0x1d3f26=_0x13d21b[_0x3a67b0([0x73,0x70,0x6c,0x69,0x74])](_0x3a67b0([0x2e]));return _0x35f739[_0x3a67b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ba1be=>_0x1ba1be[_0x3a67b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a67b0([0x2a])))[_0x3a67b0([0x6d,0x61,0x70])](_0x327125=>_0x327125[_0x3a67b0([0x73,0x70,0x6c,0x69,0x74])](_0x3a67b0([0x2e])))[_0x3a67b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17e864=>_0x17e864[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d3f26[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a67b0([0x6d,0x61,0x70])](_0x359d40=>Array(_0x1d3f26[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x359d40[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a67b0([0x66,0x69,0x6c,0x6c])](_0x359d40[0x0]===_0x3a67b0([0x2a])?_0x3a67b0([0x2a]):'')[_0x3a67b0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x359d40))[_0x3a67b0([0x73,0x6f,0x6d,0x65])](_0x44d22d=>_0x1d3f26[_0x3a67b0([0x65,0x76,0x65,0x72,0x79])]((_0x41c9fd,_0x15a0f4)=>_0x44d22d[_0x15a0f4]===_0x41c9fd||_0x44d22d[_0x15a0f4]===_0x3a67b0([0x2a])));}function _0x2e1380(){return _0x52fda2&&_0x259ec1?new window[(_0x3a67b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59890b,_0x4079f8)=>{_0x52fda2[_0x3a67b0([0x74,0x68,0x65,0x6e])](_0x59890b,_0x4079f8),_0x259ec1[_0x3a67b0([0x74,0x68,0x65,0x6e])](_0x2f11f3=>{_0x2f11f3!=_0x3a67b0([0x56,0x61,0x6c,0x69,0x64])&&_0x59890b(_0x2f11f3);},_0x4079f8);}):_0x52fda2||_0x259ec1||_0x3a67b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5e642f(_0x2a0ec8,_0xdc287){return new window[(_0x3a67b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d3cc9=>{if(_0x23cfda())return _0x5d3cc9(_0x3a67b0([0x56,0x61,0x6c,0x69,0x64]));_0x2ed7ea(),_0xe8be94[_0x3a67b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a67b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x57e429=!0x1;const _0x4aaf81=_0x505457();function _0x1c46e0(_0x580916){return!!_0x580916&&(typeof _0x580916===_0x3a67b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x580916===_0x3a67b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x580916[_0x3a67b0([0x74,0x68,0x65,0x6e])]===_0x3a67b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x580916[_0x3a67b0([0x63,0x61,0x74,0x63,0x68])]===_0x3a67b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28e9c0(_0x4c2048){_0x185e91(_0x4c2048)[_0x3a67b0([0x74,0x68,0x65,0x6e])](_0x208604=>{if(!_0x208604||_0x208604[_0x3a67b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a67b0([0x6f,0x6b]))return _0x3a67b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d64c0(_0x40dd97(_0x4aaf81+_0xdc287))!=_0x208604[_0x3a67b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a67b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a67b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a67b0([0x74,0x68,0x65,0x6e])](_0x53f8eb=>(_0x4cff96(),_0x53f8eb),()=>{const _0x3373f1=_0x306475();return null==_0x3373f1?(_0x4cff96(),_0x3a67b0([0x56,0x61,0x6c,0x69,0x64])):_0x3a67b0(_0x19b393-_0x3373f1>(0x31517733^_0x174804)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a67b0([0x74,0x68,0x65,0x6e])](_0x5d3cc9)[_0x3a67b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d3cc9(_0x3a67b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d3c74=0x156b1db3^_0x174804;function _0x4cff96(){const _0x5b301e=_0x3a67b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d64c0(_0x40dd97(_0x2a0ec8)),_0x27acd7=_0x1c5854(_0x5d64c0(window[_0x3a67b0([0x4d,0x61,0x74,0x68])][_0x3a67b0([0x63,0x65,0x69,0x6c])](_0x19b393/_0x1d3c74)));window[_0x3a67b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a67b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b301e,_0x27acd7);}function _0x306475(){const _0x23924f=_0x3a67b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d64c0(_0x40dd97(_0x2a0ec8)),_0x2ff29c=window[_0x3a67b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a67b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23924f);return _0x2ff29c?window[_0x3a67b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c5854(_0x2ff29c),0x10)*_0x1d3c74:null;}function _0x185e91(_0x3a2744){return new window[(_0x3a67b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x359e95,_0x1c63c1)=>{_0x3a2744[_0x3a67b0([0x74,0x68,0x65,0x6e])](_0x359e95,_0x1c63c1),window[_0x3a67b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c63c1,0x155c27f3^_0x174804);});}}_0xe8be94[_0x3a67b0([0x6f,0x6e])](_0x3a67b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24e41d,_0xfbfdf4)=>{if(_0xfbfdf4[0x0]!=_0x2a0ec8)return _0x5d3cc9(_0x3a67b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xfbfdf4[0x1]={..._0xfbfdf4[0x1],[_0x3a67b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4aaf81};},{[_0x3a67b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a67b0([0x68,0x69,0x67,0x68])}),_0xe8be94[_0x3a67b0([0x6f,0x6e])](_0x3a67b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xce00b4=>{_0x1c46e0(_0xce00b4[_0x3a67b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x57e429=!0x0,_0x28e9c0(_0xce00b4[_0x3a67b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a67b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a67b0([0x6c,0x6f,0x77])}),_0x276862[_0x3a67b0([0x74,0x68,0x65,0x6e])](()=>{_0x57e429||_0x5d3cc9(_0x3a67b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23cfda(){return _0xe8be94[_0x3a67b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a67b0([0x76,0x69,0x65,0x77])][_0x3a67b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a67b0([0x61,0x75,0x74,0x6f]);}function _0x2ed7ea(){_0xe8be94[_0x3a67b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a67b0([0x76,0x69,0x65,0x77])][_0x3a67b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a67b0([0x61,0x75,0x74,0x6f]);}}function _0x431ba4(_0x41da17){const _0x4f02d6=[new window[(_0x3a67b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a1ca2=>setTimeout(_0x5a1ca2,0x1554cdff^_0x174804)),_0x276862[_0x3a67b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a67b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7f3e=>{let _0x3a20e1=0x0;_0xe8be94[_0x3a67b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a67b0([0x6f,0x6e])](_0x3a67b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6a63a,_0x1c384a)=>{_0x1c384a[0x0][_0x3a67b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a20e1++,_0x3a20e1==(0x155df2cb^_0x174804)&&(_0x2f7f3e(),_0x6a63a[_0x3a67b0([0x6f,0x66,0x66])]());});}))];return window[_0x3a67b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a67b0([0x72,0x61,0x63,0x65])](_0x4f02d6)[_0x3a67b0([0x74,0x68,0x65,0x6e])](()=>_0x41da17);}async function _0x23552e(){await _0x276862,_0xe8be94[_0x3a67b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a67b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x38e8e4,_0xe8be94[_0x3a67b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a67b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x38e8e4,_0xe8be94[_0x3a67b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a67b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ddbda(_0x1e1dc9){const _0x4874b0=_0x51c0a();_0xe8be94[_0x4874b0]=_0x3a67b0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e1dc9,_0x1e1dc9!=_0x3a67b0([0x56,0x61,0x6c,0x69,0x64])&&_0x23552e();}function _0x51c0a(){const _0x24eb46=window[_0x3a67b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a67b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a67b0([0x6e,0x6f,0x77])]())[_0x3a67b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a67b0([0x2e]),'');let _0x1fa3ef=_0x3a67b0([0x7a]);for(let _0x3bd8ca=0x0;_0x3bd8ca<_0x24eb46[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bd8ca+=0x2){let _0x42b990=window[_0x3a67b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24eb46[_0x3a67b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bd8ca,_0x3bd8ca+0x2));_0x42b990>=_0x1a45cd[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42b990-=_0x1a45cd[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fa3ef+=_0x1a45cd[_0x42b990];}return _0x1fa3ef;}function _0x280a72(){const _0x3235cb=_0x59fa2c[_0x3a67b0([0x73,0x70,0x6c,0x69,0x74])](_0x3a67b0([0x2e]));if(0x3!=_0x3235cb[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2bd1ba(_0x3235cb[0x1]);function _0x2bd1ba(_0x3b6bb7){const _0x1eda2a=_0x2f0365(_0x3b6bb7);return _0x1eda2a&&_0x1bafb6()?_0x1eda2a:null;function _0x1bafb6(){const _0x6a2a0d=_0x1eda2a[_0x3a67b0([0x6a,0x74,0x69])],_0x1f4777=window[_0x3a67b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6a2a0d[_0x3a67b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6a2a0d[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4054af={..._0x1eda2a,[_0x3a67b0([0x6a,0x74,0x69])]:_0x6a2a0d[_0x3a67b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6a2a0d[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4054af[_0x3a67b0([0x76,0x63])],_0x40dd97(_0x4054af)==_0x1f4777;}}}async function _0x108649(){let _0x9adb0a=!0x0;try{const _0x1e52c7=_0x59fa2c[_0x3a67b0([0x73,0x70,0x6c,0x69,0x74])](_0x3a67b0([0x2e])),[_0x397821,_0x30d771,_0x40c023]=_0x1e52c7;return _0x24db93(_0x397821),await _0x63ba9f(_0x397821,_0x30d771,_0x40c023),_0x9adb0a;}catch{return!0x1;}function _0x24db93(_0x3472aa){const _0x4e4571=_0x2f0365(_0x3472aa);_0x4e4571&&_0x4e4571[_0x3a67b0([0x61,0x6c,0x67])]==_0x3a67b0([0x45,0x53,0x32,0x35,0x36])||(_0x9adb0a=!0x1);}async function _0x63ba9f(_0x432a20,_0x1a5e20,_0x5ae7df){const _0x517df1=window[_0x3a67b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a67b0([0x66,0x72,0x6f,0x6d])](_0x16a740(_0x5ae7df),_0x3ba913=>_0x3ba913[_0x3a67b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x274535=new window[(_0x3a67b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a67b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x432a20+_0x3a67b0([0x2e])+_0x1a5e20),_0xd797a2=window[_0x3a67b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a67b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd797a2)return;const _0x5787ec=await _0xd797a2[_0x3a67b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a67b0([0x6a,0x77,0x6b]),_0x223956,{[_0x3a67b0([0x6e,0x61,0x6d,0x65])]:_0x3a67b0([0x45,0x43,0x44,0x53,0x41]),[_0x3a67b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a67b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a67b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd797a2[_0x3a67b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a67b0([0x6e,0x61,0x6d,0x65])]:_0x3a67b0([0x45,0x43,0x44,0x53,0x41]),[_0x3a67b0([0x68,0x61,0x73,0x68])]:{[_0x3a67b0([0x6e,0x61,0x6d,0x65])]:_0x3a67b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5787ec,_0x517df1,_0x274535)||(_0x9adb0a=!0x1);}}function _0x2f0365(_0x52bd72){return _0x52bd72[_0x3a67b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a67b0([0x65,0x79]))?JSON[_0x3a67b0([0x70,0x61,0x72,0x73,0x65])](_0x16a740(_0x52bd72)):null;}function _0x16a740(_0x378412){return window[_0x3a67b0([0x61,0x74,0x6f,0x62])](_0x378412[_0x3a67b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a67b0([0x2b]))[_0x3a67b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a67b0([0x2f])));}function _0x40dd97(_0x47982b){let _0x5599b1=0x1505;function _0x2506b9(_0x397cc0){for(let _0x2d5595=0x0;_0x2d5595<_0x397cc0[_0x3a67b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d5595++){const _0x3999d3=_0x397cc0[_0x3a67b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d5595);_0x5599b1=(_0x5599b1<<0x5)+_0x5599b1+_0x3999d3,_0x5599b1&=_0x5599b1;}}function _0x4ccd4f(_0x146467){Array[_0x3a67b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x146467)?_0x146467[_0x3a67b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ccd4f):_0x146467&&typeof _0x146467==_0x3a67b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a67b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x146467)[_0x3a67b0([0x73,0x6f,0x72,0x74])]()[_0x3a67b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38752f,_0x2ca6ae])=>{_0x2506b9(_0x38752f),_0x4ccd4f(_0x2ca6ae);}):_0x2506b9(window[_0x3a67b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x146467));}return _0x4ccd4f(_0x47982b),_0x5599b1>>>0x0;}function _0x5d64c0(_0xf1e05d){return _0xf1e05d[_0x3a67b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a67b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a67b0([0x30]));}function _0x1c5854(_0xf1058d){return _0xf1058d[_0x3a67b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a67b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a67b0([0x6a,0x6f,0x69,0x6e])]('');}function _0x38e8e4(){}function _0x3a67b0(_0x4b404b){const _0x3cf1ad=_0x304d;return _0x4b404b[_0x3cf1ad(0xce)](_0x32aff3=>String[_0x3cf1ad(0xcf)](_0x32aff3))[_0x3cf1ad(0xcb)]('');}_0x1ddbda(await _0x282e91());}(this);}[_0x4bee1c(0xf5)](){const _0x2ee4d5=_0x4bee1c,_0x7ff04c=this[_0x2ee4d5(0xd6)][_0x2ee4d5(0x107)];_0x7ff04c[_0x2ee4d5(0xa8)](_0x39fcdd=>{const _0x5132e8=_0x2ee4d5,_0x5c52bc=_0x7ff04c[_0x5132e8(0xd5)][_0x5132e8(0x105)][_0x5132e8(0xd4)]();let _0x1f85ce=0x0;for(const _0x46a97b of _0x5c52bc){const _0x4e3c2a=w+':'+_0x1f85ce;if(_0x7ff04c[_0x5132e8(0x108)][_0x5132e8(0x9c)](_0x4e3c2a))_0x39fcdd[_0x5132e8(0xbd)](_0x4e3c2a,{'range':_0x46a97b});else{if(_0x46a97b[_0x5132e8(0xf1)][_0x5132e8(0xa2)]){const _0x551e2f=_0x46a97b[_0x5132e8(0xf1)][_0x5132e8(0xaf)](({item:_0x47400a})=>!_0x7ff04c[_0x5132e8(0xe6)][_0x5132e8(0xab)](_0x47400a),{'boundaries':_0x46a97b});_0x39fcdd[_0x5132e8(0xa5)](_0x4e3c2a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x39fcdd[_0x5132e8(0xf6)](_0x551e2f,_0x46a97b[_0x5132e8(0xef)])});}else _0x39fcdd[_0x5132e8(0xa5)](_0x4e3c2a,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x46a97b});}_0x1f85ce++;}});}[_0x4bee1c(0xe8)](){const _0x11e92e=_0x4bee1c,_0x1def52=this[_0x11e92e(0xd6)][_0x11e92e(0x107)],_0x390dba=Array[_0x11e92e(0xd3)](this[_0x11e92e(0xd6)][_0x11e92e(0x107)][_0x11e92e(0x108)][_0x11e92e(0xb3)](w));_0x390dba[_0x11e92e(0xbc)]&&_0x1def52[_0x11e92e(0xa8)](_0x5cb649=>{const _0xd53298=_0x11e92e;_0x390dba[_0xd53298(0xbe)](_0x27f066=>{const _0x39a998=_0xd53298;_0x5cb649[_0x39a998(0xbf)](_0x27f066);});});}[_0x4bee1c(0x100)](_0x2d06fb,_0x57d5d6){const _0x5bd6fc=_0x4bee1c,_0x2d1e8a=this[_0x5bd6fc(0xa6)](),_0x5d545d=_0x57d5d6||_0x2d1e8a[_0x5bd6fc(0xe9)]();this[_0x5bd6fc(0xd6)][_0x5bd6fc(0x107)][_0x5bd6fc(0x9d)](_0x5d545d)&&this[_0x5bd6fc(0xd6)][_0x5bd6fc(0x107)][_0x5bd6fc(0xa8)](_0x1dd938=>{const _0x396254=_0x5bd6fc;this[_0x396254(0xe8)](),_0x57d5d6||this[_0x396254(0xd1)](_0x1dd938,_0x2d1e8a),this[_0x396254(0xf8)]({'insertAt':_0x5d545d,'writer':_0x1dd938,'html':_0x2d06fb});});}[_0x4bee1c(0xf2)](_0x2fdc81){const _0x2a7a09=_0x4bee1c,{model:_0x5486f4}=this[_0x2a7a09(0xd6)],_0x3df6bb=this[_0x2a7a09(0xa6)]();_0x5486f4[_0x2a7a09(0xa8)](()=>{const _0x553daa=_0x2a7a09,_0x6009f2=this[_0x553daa(0xb5)](_0x2fdc81,_0x3df6bb)||this[_0x553daa(0xc7)](_0x3df6bb);this[_0x553daa(0x100)](_0x2fdc81,_0x6009f2);});}[_0x4bee1c(0xa6)](){const _0x580458=_0x4bee1c,_0x403832=this[_0x580458(0xd6)][_0x580458(0x107)],_0x418323=Array[_0x580458(0xd3)](_0x403832[_0x580458(0x108)][_0x580458(0xb3)](w))[_0x580458(0xce)](_0x428893=>_0x428893[_0x580458(0xfa)]());return _0x403832[_0x580458(0xae)](_0x418323);}[_0x4bee1c(0xf8)]({writer:_0x4d22d1,html:_0x5065eb,insertAt:_0x4d3577}){const _0x37db26=_0x4bee1c,{view:_0x1e1575}=this[_0x37db26(0xd6)][_0x37db26(0xb8)],_0x24479e=this[_0x37db26(0xd6)][_0x37db26(0xaa)][_0x37db26(0xfd)](_0x2cea96),_0x32379=new l();_0x32379[_0x37db26(0xee)](_0x37db26(0xc0),_0x5065eb);const _0x2d1318=new ClipboardEvent(_0x37db26(0xa7),{'clipboardData':_0x32379}),_0x13b260=new _0x5c7eb1(_0x1e1575,_0x2d1318,{'dataTransfer':new _0x3dcff0(_0x32379)});_0x4d22d1[_0x37db26(0xa3)](_0x4d3577);const _0x10015d=(_0x5520f0,_0x1f0e9a)=>{const _0x2118e9=_0x37db26;_0x1f0e9a[_0x2118e9(0xc3)]&&_0x4d22d1[_0x2118e9(0xa3)](_0x1f0e9a[_0x2118e9(0xc3)]);};_0x24479e[_0x37db26(0x102)](_0x37db26(0x109),_0x10015d,{'priority':_0x37db26(0x9e)}),_0x1e1575[_0x37db26(0xd5)][_0x37db26(0xe4)](_0x37db26(0xa7),_0x13b260),_0x24479e[_0x37db26(0xc1)](_0x37db26(0x109),_0x10015d);}[_0x4bee1c(0xc7)](_0x3c1ce3){const _0x49f3b4=_0x4bee1c,{model:_0x3b7b5d}=this[_0x49f3b4(0xd6)],_0x83e4d2=Array[_0x49f3b4(0xd3)](_0x3c1ce3[_0x49f3b4(0xf7)]());return _0x83e4d2[_0x49f3b4(0xbc)]?_0x3b7b5d[_0x49f3b4(0xb2)](_0x83e4d2[_0x49f3b4(0xb4)]()):_0x3c1ce3[_0x49f3b4(0xd0)]();}[_0x4bee1c(0xb5)](_0x1784a7,_0x409312){const _0x43ffcb=_0x4bee1c,{model:_0xed980a,plugins:_0x43a352}=this[_0x43ffcb(0xd6)];if(_0x43a352[_0x43ffcb(0x9c)](_0x43ffcb(0x106))){const _0xf5fa96=_0x43a352[_0x43ffcb(0xfd)](_0x43ffcb(0x106))[_0x43ffcb(0xb7)](_0x409312);if(_0xf5fa96[_0x43ffcb(0xbc)]){const _0x43e976=this[_0x43ffcb(0xb1)](_0x1784a7),_0x1d3ccc=this[_0x43ffcb(0xc8)](_0xf5fa96,_0x43e976);return _0xed980a[_0x43ffcb(0xdb)](_0x1d3ccc,0x0);}}return null;}[_0x4bee1c(0xb1)](_0x33a15a){const _0x341542=_0x4bee1c,_0x384653=this[_0x341542(0xd6)][_0x341542(0xaa)][_0x341542(0xfd)](_0x341542(0x106)),_0xa2fadb=this[_0x341542(0xd6)][_0x341542(0xff)][_0x341542(0xde)](_0x33a15a),_0x37f8de=Array[_0x341542(0xd3)](_0xa2fadb[_0x341542(0xc5)]())[_0x341542(0xad)](_0x45d34e=>_0x45d34e['is'](_0x341542(0x104),_0x341542(0xf3)));let _0x15a7f9=0x0;return _0x37f8de[_0x341542(0xbe)](_0x13b56d=>{const _0x2599fb=_0x341542;_0x15a7f9+=_0x384653[_0x2599fb(0xdc)](_0x13b56d);}),_0x15a7f9;}[_0x4bee1c(0xc8)](_0x2e91d4,_0x9049fc){const _0x1a1923=_0x4bee1c,_0x1a7016=this[_0x1a1923(0xd6)][_0x1a1923(0xaa)][_0x1a1923(0xfd)](_0x1a1923(0x106)),_0x311cc1=_0x1a7016[_0x1a1923(0x10a)](_0x2e91d4),_0x585461=_0x1a7016[_0x1a1923(0xe1)](_0x2e91d4),_0x6ee212=_0x311cc1[_0x1a1923(0xea)]+0x1,_0x354af0=_0x585461[_0x1a1923(0xac)],_0x2d34c7=_0x2e91d4[0x0][_0x1a1923(0x9f)](_0x1a1923(0xf3));for(let _0x26a838=0x0;_0x26a838<_0x9049fc;_0x26a838++)_0x1a7016[_0x1a1923(0xb9)](_0x2d34c7,{'at':_0x6ee212});return _0x2d34c7[_0x1a1923(0xe0)](_0x6ee212)[_0x1a1923(0xe0)](_0x354af0);}[_0x4bee1c(0xd1)](_0x5776c0,_0x26003b){const _0x4a81b6=_0x4bee1c,{plugins:_0x34881b}=this[_0x4a81b6(0xd6)],{model:_0x35395d}=_0x5776c0;if(!_0x34881b[_0x4a81b6(0x9c)](_0x4a81b6(0x106)))return;_0x34881b[_0x4a81b6(0xfd)](_0x4a81b6(0x106))[_0x4a81b6(0xb7)](_0x26003b)[_0x4a81b6(0xbc)]&&_0x35395d[_0x4a81b6(0xa4)](_0x26003b);}}
|
|
23
|
+
const _0x41583a=_0x3e20;function _0x3e20(_0x2d8cd1,_0x4d6f2a){const _0x403f1d=_0x403f();return _0x3e20=function(_0x3e2005,_0x16a1ce){_0x3e2005=_0x3e2005-0x1d0;let _0x4e9ca9=_0x403f1d[_0x3e2005];return _0x4e9ca9;},_0x3e20(_0x2d8cd1,_0x4d6f2a);}(function(_0x1920e3,_0x44dd8e){const _0x3aa5c9=_0x3e20,_0x58cf53=_0x1920e3();while(!![]){try{const _0x38b8fe=-parseInt(_0x3aa5c9(0x1ed))/0x1+parseInt(_0x3aa5c9(0x1dc))/0x2*(-parseInt(_0x3aa5c9(0x1e7))/0x3)+parseInt(_0x3aa5c9(0x1d7))/0x4*(parseInt(_0x3aa5c9(0x20a))/0x5)+-parseInt(_0x3aa5c9(0x1d5))/0x6*(parseInt(_0x3aa5c9(0x202))/0x7)+parseInt(_0x3aa5c9(0x232))/0x8+-parseInt(_0x3aa5c9(0x21d))/0x9*(parseInt(_0x3aa5c9(0x21e))/0xa)+parseInt(_0x3aa5c9(0x1f6))/0xb;if(_0x38b8fe===_0x44dd8e)break;else _0x58cf53['push'](_0x58cf53['shift']());}catch(_0x2ca1a6){_0x58cf53['push'](_0x58cf53['shift']());}}}(_0x403f,0x8873d));function _0x403f(){const _0x52185e=['getRange','28AtMAlT','insertContent','markerToElement','markerToHighlight','_createEmptyTableRows','1045866nkxgfh','markers','span','ai-ui','ai.useTheme','deleteContent','afterInit','insertContentBelow','DataTransfer','getLastPosition','getRowIndexes','3gKIvLv','off','lowest','_getTableRowCountFromContent','ck-ai-assistant-ui_theme','table','991786rbBQYO','canEditAt','change','for','join','start','resultRange','length','conversion','18601847CSHhBM','updateMarker','_pasteHTMLUsingClipboard','contentInsertion','pop','AIAssistantEditing','TableUtils','getSelectedBlocks','findAncestor','getRows','has','isAtEnd','21TMESbI','setSelection','model','document','schema','addMarker','setData','getColumnIndexes','592645rcsbyq','selection','editing','filter','createSelection','plugins','data','_prepareTableInsertBelowPosition','getSelectedTableCells','_getDefaultInsertBelowPosition','getRanges','get','pluginName','first','config','ck-fake-ai-selection_collapsed','init','isCollapsed','paste','9PdSJsU','1931890PaNbwW','last','editor','insertRows','createPositionAfter','from','removeMarker','fire','markerRange','text/html','hideFakeVisualSelection','createRange','forEach','ck-fake-ai-selection','isPremiumPlugin','createPositionAt','once','element','createUIElement','end','5191192kyPRkA','getChild','getChildren','fromCharCode','_resetContentOfSelectedTableCells','getFirstRange','map','editingDowncast','push','isContent','_getAISelection','isOfficialPlugin','addClass','showFakeVisualSelection','href','getLastMatchingPosition','getMarkersGroup','parse','1805724VxzJfm'];_0x403f=function(){return _0x52185e;};return _0x403f();}import{uid as _0x27d3dd}from'ckeditor5/src/utils.js';import{Plugin as _0x47b08b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x74112c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x27d2b3,ViewDataTransfer as _0x9d02f7}from'ckeditor5/src/engine.js';const l=globalThis[_0x41583a(0x1e4)],w=_0x41583a(0x1df);export class AIAssistantEditing extends _0x47b08b{static get[_0x41583a(0x216)](){const _0x21f1c2=_0x41583a;return _0x21f1c2(0x1fb);}static get[_0x41583a(0x23d)](){return!0x0;}static get[_0x41583a(0x22c)](){return!0x0;}[_0x41583a(0x21a)](){const _0x3207cc=_0x41583a,{editor:_0x2dd1a5}=this,_0xc67a81=[_0x3207cc(0x22b)];_0x2dd1a5[_0x3207cc(0x218)][_0x3207cc(0x215)](_0x3207cc(0x1e0))&&_0xc67a81[_0x3207cc(0x23a)](_0x3207cc(0x1eb)),_0x2dd1a5[_0x3207cc(0x1f5)][_0x3207cc(0x1f0)](_0x3207cc(0x239))[_0x3207cc(0x1da)]({'model':w,'view':{'classes':_0xc67a81,'priority':0xc}}),_0x2dd1a5[_0x3207cc(0x1f5)][_0x3207cc(0x1f0)](_0x3207cc(0x239))[_0x3207cc(0x1d9)]({'model':w,'view':(_0x17c4e2,{writer:_0x1bb3a5})=>{const _0x59dc24=_0x3207cc;if(!_0x17c4e2[_0x59dc24(0x226)][_0x59dc24(0x21b)])return null;const _0x5d824b=_0x1bb3a5[_0x59dc24(0x230)](_0x59dc24(0x1de));return _0x1bb3a5[_0x59dc24(0x23e)]([_0x59dc24(0x22b),_0x59dc24(0x219)],_0x5d824b),_0x5d824b;}});}[_0x41583a(0x1e2)](){!async function(_0x7fb5a9){const _0x6f4906=_0x5e5b05([0x4f,0x76,0x52,0x58,0x77,0x4e,0x64,0x79,0x67,0x36,0x37,0x35,0x30,0x49,0x70,0x5a,0x4b,0x6d,0x65,0x32,0x54,0x63,0x50,0x45,0x66,0x6e,0x6b,0x74,0x6f,0x78,0x38,0x72,0x4d,0x43,0x53,0x68,0x48,0x51,0x44,0x61,0x6c,0x57,0x71,0x7a,0x73,0x33,0x56,0x39,0x59,0x4c,0x62,0x69,0x41,0x4a,0x75,0x55,0x6a,0x42,0x46,0x31,0x47,0x34]),_0x5e1be4=0x384fd530,_0x5bd36d=0x3848a518^_0x5e1be4,_0x611887=window[_0x5e5b05([0x44,0x61,0x74,0x65])][_0x5e5b05([0x6e,0x6f,0x77])](),_0x211638=_0x7fb5a9[_0x5e5b05([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x192fa6=new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b44e=>{_0x211638[_0x5e5b05([0x6f,0x6e,0x63,0x65])](_0x5e5b05([0x72,0x65,0x61,0x64,0x79]),_0x57b44e);}),_0x433f8f={[_0x5e5b05([0x6b,0x74,0x79])]:_0x5e5b05([0x45,0x43]),[_0x5e5b05([0x75,0x73,0x65])]:_0x5e5b05([0x73,0x69,0x67]),[_0x5e5b05([0x63,0x72,0x76])]:_0x5e5b05([0x50,0x2d,0x32,0x35,0x36]),[_0x5e5b05([0x78])]:_0x5e5b05([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]),[_0x5e5b05([0x79])]:_0x5e5b05([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]),[_0x5e5b05([0x61,0x6c,0x67])]:_0x5e5b05([0x45,0x53,0x32,0x35,0x36])},_0x44ec4d=_0x211638[_0x5e5b05([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5e5b05([0x67,0x65,0x74])](_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x143eca(){let _0x103191,_0x4483ed=null,_0x38f334=null;try{if(_0x44ec4d==_0x5e5b05([0x47,0x50,0x4c]))return _0x5e5b05([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x103191=_0x8fbdd2(),!_0x103191)return _0x5e5b05([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x103191[_0x5e5b05([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38f334=_0x3a3fd3(_0x103191[_0x5e5b05([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x103191[_0x5e5b05([0x6a,0x74,0x69])])),await _0x5a248f()?_0x1df49d()?_0x367bd7()?_0x5e5b05([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31466b()?(_0x103191[_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e5b05([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4483ed=_0x2d0687(_0x5e5b05([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x103191[_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5e5b05([0x74,0x72,0x69,0x61,0x6c])&&(_0x4483ed=_0x2d0687(_0x5e5b05([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c589d()):_0x5e5b05([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5e5b05([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5e5b05([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5e5b05([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x367bd7(){const _0x237c10=[_0x5e5b05([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5e5b05([0x74,0x72,0x69,0x61,0x6c])][_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x103191[_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x611887/0x3e8:0xe10*_0x5bd36d;return _0x103191[_0x5e5b05([0x65,0x78,0x70])]<_0x237c10;}function _0x1df49d(){const _0x4f379d=_0x103191[_0x5e5b05([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f379d&&(!!_0x4f379d[_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e5b05([0x2a]))||!!_0x4f379d[_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e5b05([0x41,0x49])));}function _0x31466b(){const _0x424af1=_0x3e20,_0xd7cf15=_0x103191[_0x5e5b05([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd7cf15||0x0==_0xd7cf15[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9a80b2}=new URL(window[_0x5e5b05([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x424af1(0x1d1)]);if(_0xd7cf15[_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a80b2))return!0x0;const _0x159a72=_0x9a80b2[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])](_0x5e5b05([0x2e]));return _0xd7cf15[_0x5e5b05([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x318002=>_0x318002[_0x5e5b05([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e5b05([0x2a])))[_0x5e5b05([0x6d,0x61,0x70])](_0x54b4be=>_0x54b4be[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])](_0x5e5b05([0x2e])))[_0x5e5b05([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dad8=>_0x2dad8[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x159a72[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e5b05([0x6d,0x61,0x70])](_0x1d2f66=>Array(_0x159a72[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d2f66[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5e5b05([0x66,0x69,0x6c,0x6c])](_0x1d2f66[0x0]===_0x5e5b05([0x2a])?_0x5e5b05([0x2a]):'')[_0x5e5b05([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d2f66))[_0x5e5b05([0x73,0x6f,0x6d,0x65])](_0x35b411=>_0x159a72[_0x5e5b05([0x65,0x76,0x65,0x72,0x79])]((_0x186780,_0x5a817d)=>_0x35b411[_0x5a817d]===_0x186780||_0x35b411[_0x5a817d]===_0x5e5b05([0x2a])));}function _0x2c589d(){return _0x4483ed&&_0x38f334?new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bb2a1,_0xdc177)=>{_0x4483ed[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x5bb2a1,_0xdc177),_0x38f334[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x643ab1=>{_0x643ab1!=_0x5e5b05([0x56,0x61,0x6c,0x69,0x64])&&_0x5bb2a1(_0x643ab1);},_0xdc177);}):_0x4483ed||_0x38f334||_0x5e5b05([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a3fd3(_0x32fd10,_0x1207cd){return new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1e2e=>{if(_0x5967d7())return _0x2a1e2e(_0x5e5b05([0x56,0x61,0x6c,0x69,0x64]));_0x245052(),_0x211638[_0x5e5b05([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5e5b05([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5dff7f=!0x1;const _0x308667=_0x27d3dd();function _0x4cad6c(_0x466e27){return!!_0x466e27&&(typeof _0x466e27===_0x5e5b05([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x466e27===_0x5e5b05([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x466e27[_0x5e5b05([0x74,0x68,0x65,0x6e])]===_0x5e5b05([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x466e27[_0x5e5b05([0x63,0x61,0x74,0x63,0x68])]===_0x5e5b05([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33bce9(_0x2c72be){_0x4f3acf(_0x2c72be)[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x5e36aa=>{if(!_0x5e36aa||_0x5e36aa[_0x5e5b05([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5e5b05([0x6f,0x6b]))return _0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2aab8f(_0x315d6c(_0x308667+_0x1207cd))!=_0x5e36aa[_0x5e5b05([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5e5b05([0x56,0x61,0x6c,0x69,0x64]);})[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x2dd7f3=>(_0xe7c3ad(),_0x2dd7f3),()=>{const _0x6cd145=_0x4d97d5();return null==_0x6cd145?(_0xe7c3ad(),_0x5e5b05([0x56,0x61,0x6c,0x69,0x64])):_0x5e5b05(_0x611887-_0x6cd145>(0x1c435130^_0x5e1be4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x2a1e2e)[_0x5e5b05([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a1e2e(_0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4db552=0x38793bb0^_0x5e1be4;function _0xe7c3ad(){const _0x5d42d8=_0x5e5b05([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aab8f(_0x315d6c(_0x32fd10)),_0x52efd9=_0x2c34cd(_0x2aab8f(window[_0x5e5b05([0x4d,0x61,0x74,0x68])][_0x5e5b05([0x63,0x65,0x69,0x6c])](_0x611887/_0x4db552)));window[_0x5e5b05([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e5b05([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d42d8,_0x52efd9);}function _0x4d97d5(){const _0x2de38e=_0x5e5b05([0x6c,0x6c,0x63,0x74,0x2d])+_0x2aab8f(_0x315d6c(_0x32fd10)),_0x166ac6=window[_0x5e5b05([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5e5b05([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2de38e);return _0x166ac6?window[_0x5e5b05([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c34cd(_0x166ac6),0x10)*_0x4db552:null;}function _0x4f3acf(_0x59f8cd){return new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x70a342,_0x5be31f)=>{_0x59f8cd[_0x5e5b05([0x74,0x68,0x65,0x6e])](_0x70a342,_0x5be31f),window[_0x5e5b05([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5be31f,0x384e01f0^_0x5e1be4);});}}_0x211638[_0x5e5b05([0x6f,0x6e])](_0x5e5b05([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x438584,_0x144e2d)=>{if(_0x144e2d[0x0]!=_0x32fd10)return _0x2a1e2e(_0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x144e2d[0x1]={..._0x144e2d[0x1],[_0x5e5b05([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x308667};},{[_0x5e5b05([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e5b05([0x68,0x69,0x67,0x68])}),_0x211638[_0x5e5b05([0x6f,0x6e])](_0x5e5b05([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19b268=>{_0x4cad6c(_0x19b268[_0x5e5b05([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5dff7f=!0x0,_0x33bce9(_0x19b268[_0x5e5b05([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5e5b05([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5e5b05([0x6c,0x6f,0x77])}),_0x192fa6[_0x5e5b05([0x74,0x68,0x65,0x6e])](()=>{_0x5dff7f||_0x2a1e2e(_0x5e5b05([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5967d7(){return _0x211638[_0x5e5b05([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e5b05([0x76,0x69,0x65,0x77])][_0x5e5b05([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5e5b05([0x61,0x75,0x74,0x6f]);}function _0x245052(){_0x211638[_0x5e5b05([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5e5b05([0x76,0x69,0x65,0x77])][_0x5e5b05([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5e5b05([0x61,0x75,0x74,0x6f]);}}function _0x2d0687(_0x53f36b){const _0x384647=[new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39e3a1=>setTimeout(_0x39e3a1,0x3846ebfc^_0x5e1be4)),_0x192fa6[_0x5e5b05([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1d00=>{let _0x1d0056=0x0;_0x211638[_0x5e5b05([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e5b05([0x6f,0x6e])](_0x5e5b05([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x505ef6,_0x1906e0)=>{_0x1906e0[0x0][_0x5e5b05([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d0056++,_0x1d0056==(0x384fd4c8^_0x5e1be4)&&(_0x5b1d00(),_0x505ef6[_0x5e5b05([0x6f,0x66,0x66])]());});}))];return window[_0x5e5b05([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5e5b05([0x72,0x61,0x63,0x65])](_0x384647)[_0x5e5b05([0x74,0x68,0x65,0x6e])](()=>_0x53f36b);}async function _0x4ff9fb(){await _0x192fa6,_0x211638[_0x5e5b05([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e5b05([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x106a27,_0x211638[_0x5e5b05([0x6d,0x6f,0x64,0x65,0x6c])][_0x5e5b05([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x106a27,_0x211638[_0x5e5b05([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5e5b05([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50e19c(_0x2a9863){const _0x57dbec=_0x21ce7a();_0x211638[_0x57dbec]=_0x5e5b05([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a9863,_0x2a9863!=_0x5e5b05([0x56,0x61,0x6c,0x69,0x64])&&_0x4ff9fb();}function _0x21ce7a(){const _0x345a95=window[_0x5e5b05([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5e5b05([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5e5b05([0x6e,0x6f,0x77])]())[_0x5e5b05([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5e5b05([0x2e]),'');let _0x426d6c=_0x5e5b05([0x4f]);for(let _0x530ed3=0x0;_0x530ed3<_0x345a95[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x530ed3+=0x2){let _0x4fbea8=window[_0x5e5b05([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x345a95[_0x5e5b05([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x530ed3,_0x530ed3+0x2));_0x4fbea8>=_0x6f4906[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fbea8-=_0x6f4906[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x426d6c+=_0x6f4906[_0x4fbea8];}return _0x426d6c;}function _0x8fbdd2(){const _0x2bfcab=_0x44ec4d[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])](_0x5e5b05([0x2e]));if(0x3!=_0x2bfcab[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49c78f(_0x2bfcab[0x1]);function _0x49c78f(_0x3fd45e){const _0x4752dc=_0x385b37(_0x3fd45e);return _0x4752dc&&_0x1d7d2c()?_0x4752dc:null;function _0x1d7d2c(){const _0x580f06=_0x4752dc[_0x5e5b05([0x6a,0x74,0x69])],_0x31f026=window[_0x5e5b05([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x580f06[_0x5e5b05([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x580f06[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b22b9={..._0x4752dc,[_0x5e5b05([0x6a,0x74,0x69])]:_0x580f06[_0x5e5b05([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x580f06[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b22b9[_0x5e5b05([0x76,0x63])],_0x315d6c(_0x1b22b9)==_0x31f026;}}}async function _0x5a248f(){let _0x1d812f=!0x0;try{const _0x589173=_0x44ec4d[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])](_0x5e5b05([0x2e])),[_0x53906f,_0x216c8d,_0x2244f2]=_0x589173;return _0x49de5b(_0x53906f),await _0x5c7168(_0x53906f,_0x216c8d,_0x2244f2),_0x1d812f;}catch{return!0x1;}function _0x49de5b(_0x1e8b82){const _0x1de377=_0x385b37(_0x1e8b82);_0x1de377&&_0x1de377[_0x5e5b05([0x61,0x6c,0x67])]==_0x5e5b05([0x45,0x53,0x32,0x35,0x36])||(_0x1d812f=!0x1);}async function _0x5c7168(_0x35d47e,_0x489e1d,_0x402ea7){const _0x3b17e1=window[_0x5e5b05([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5e5b05([0x66,0x72,0x6f,0x6d])](_0x39d022(_0x402ea7),_0x1a63b4=>_0x1a63b4[_0x5e5b05([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x119453=new window[(_0x5e5b05([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5e5b05([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x35d47e+_0x5e5b05([0x2e])+_0x489e1d),_0x215ec7=window[_0x5e5b05([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5e5b05([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x215ec7)return;const _0x4d4553=await _0x215ec7[_0x5e5b05([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5e5b05([0x6a,0x77,0x6b]),_0x433f8f,{[_0x5e5b05([0x6e,0x61,0x6d,0x65])]:_0x5e5b05([0x45,0x43,0x44,0x53,0x41]),[_0x5e5b05([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5e5b05([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5e5b05([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x215ec7[_0x5e5b05([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5e5b05([0x6e,0x61,0x6d,0x65])]:_0x5e5b05([0x45,0x43,0x44,0x53,0x41]),[_0x5e5b05([0x68,0x61,0x73,0x68])]:{[_0x5e5b05([0x6e,0x61,0x6d,0x65])]:_0x5e5b05([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4d4553,_0x3b17e1,_0x119453)||(_0x1d812f=!0x1);}}function _0x385b37(_0x473791){return _0x473791[_0x5e5b05([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5e5b05([0x65,0x79]))?JSON[_0x5e5b05([0x70,0x61,0x72,0x73,0x65])](_0x39d022(_0x473791)):null;}function _0x39d022(_0x237356){return window[_0x5e5b05([0x61,0x74,0x6f,0x62])](_0x237356[_0x5e5b05([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5e5b05([0x2b]))[_0x5e5b05([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5e5b05([0x2f])));}function _0x315d6c(_0x34821e){let _0x476700=0x1505;function _0x4b9782(_0xac023d){for(let _0x12df1a=0x0;_0x12df1a<_0xac023d[_0x5e5b05([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12df1a++){const _0xb0f98e=_0xac023d[_0x5e5b05([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12df1a);_0x476700=(_0x476700<<0x5)+_0x476700+_0xb0f98e,_0x476700&=_0x476700;}}function _0xbf4bd8(_0x4038ca){Array[_0x5e5b05([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4038ca)?_0x4038ca[_0x5e5b05([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbf4bd8):_0x4038ca&&typeof _0x4038ca==_0x5e5b05([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5e5b05([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4038ca)[_0x5e5b05([0x73,0x6f,0x72,0x74])]()[_0x5e5b05([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2890c5,_0xe17646])=>{_0x4b9782(_0x2890c5),_0xbf4bd8(_0xe17646);}):_0x4b9782(window[_0x5e5b05([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4038ca));}return _0xbf4bd8(_0x34821e),_0x476700>>>0x0;}function _0x2aab8f(_0x936dc4){return _0x936dc4[_0x5e5b05([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5e5b05([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5e5b05([0x30]));}function _0x2c34cd(_0x18cf1e){return _0x18cf1e[_0x5e5b05([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5e5b05([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5e5b05([0x6a,0x6f,0x69,0x6e])]('');}function _0x106a27(){}function _0x5e5b05(_0x534f12){const _0x41665b=_0x3e20;return _0x534f12[_0x41665b(0x238)](_0x15890e=>String[_0x41665b(0x235)](_0x15890e))[_0x41665b(0x1f1)]('');}_0x50e19c(await _0x143eca());}(this);}[_0x41583a(0x1d0)](){const _0x223406=_0x41583a,_0xf07a6c=this[_0x223406(0x220)][_0x223406(0x204)];_0xf07a6c[_0x223406(0x1ef)](_0x2b9f8a=>{const _0x409293=_0x223406,_0x2d718a=_0xf07a6c[_0x409293(0x205)][_0x409293(0x20b)][_0x409293(0x214)]();let _0x48484e=0x0;for(const _0x18c168 of _0x2d718a){const _0x301635=w+':'+_0x48484e;if(_0xf07a6c[_0x409293(0x1dd)][_0x409293(0x200)](_0x301635))_0x2b9f8a[_0x409293(0x1f7)](_0x301635,{'range':_0x18c168});else{if(_0x18c168[_0x409293(0x1f2)][_0x409293(0x201)]){const _0x49986d=_0x18c168[_0x409293(0x1f2)][_0x409293(0x1d2)](({item:_0x2a5493})=>!_0xf07a6c[_0x409293(0x206)][_0x409293(0x23b)](_0x2a5493),{'boundaries':_0x18c168});_0x2b9f8a[_0x409293(0x207)](_0x301635,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2b9f8a[_0x409293(0x229)](_0x49986d,_0x18c168[_0x409293(0x231)])});}else _0x2b9f8a[_0x409293(0x207)](_0x301635,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x18c168});}_0x48484e++;}});}[_0x41583a(0x228)](){const _0x4aa09f=_0x41583a,_0x13421f=this[_0x4aa09f(0x220)][_0x4aa09f(0x204)],_0x128998=Array[_0x4aa09f(0x223)](this[_0x4aa09f(0x220)][_0x4aa09f(0x204)][_0x4aa09f(0x1dd)][_0x4aa09f(0x1d3)](w));_0x128998[_0x4aa09f(0x1f4)]&&_0x13421f[_0x4aa09f(0x1ef)](_0x2d935f=>{const _0x130d8b=_0x4aa09f;_0x128998[_0x130d8b(0x22a)](_0x1a82c9=>{const _0x4ce3c5=_0x130d8b;_0x2d935f[_0x4ce3c5(0x224)](_0x1a82c9);});});}[_0x41583a(0x1d8)](_0x4fe604,_0x2d80e1){const _0x51d6e7=_0x41583a,_0x3c71fb=this[_0x51d6e7(0x23c)](),_0x804787=_0x2d80e1||_0x3c71fb[_0x51d6e7(0x237)]();this[_0x51d6e7(0x220)][_0x51d6e7(0x204)][_0x51d6e7(0x1ee)](_0x804787)&&this[_0x51d6e7(0x220)][_0x51d6e7(0x204)][_0x51d6e7(0x1ef)](_0x28b5b0=>{const _0x131e18=_0x51d6e7;this[_0x131e18(0x228)](),_0x2d80e1||this[_0x131e18(0x236)](_0x28b5b0,_0x3c71fb),this[_0x131e18(0x1f8)]({'insertAt':_0x804787,'writer':_0x28b5b0,'html':_0x4fe604});});}[_0x41583a(0x1e3)](_0xb80619){const _0x5ef83f=_0x41583a,{model:_0x39366b}=this[_0x5ef83f(0x220)],_0x1440da=this[_0x5ef83f(0x23c)]();_0x39366b[_0x5ef83f(0x1ef)](()=>{const _0x2e91b3=_0x5ef83f,_0x3f94c4=this[_0x2e91b3(0x211)](_0xb80619,_0x1440da)||this[_0x2e91b3(0x213)](_0x1440da);this[_0x2e91b3(0x1d8)](_0xb80619,_0x3f94c4);});}[_0x41583a(0x23c)](){const _0x591a11=_0x41583a,_0x5318c6=this[_0x591a11(0x220)][_0x591a11(0x204)],_0x57a6c6=Array[_0x591a11(0x223)](_0x5318c6[_0x591a11(0x1dd)][_0x591a11(0x1d3)](w))[_0x591a11(0x238)](_0x46c656=>_0x46c656[_0x591a11(0x1d6)]());return _0x5318c6[_0x591a11(0x20e)](_0x57a6c6);}[_0x41583a(0x1f8)]({writer:_0x13c523,html:_0x3cc075,insertAt:_0x10e8e5}){const _0x3a10e6=_0x41583a,{view:_0x321be0}=this[_0x3a10e6(0x220)][_0x3a10e6(0x20c)],_0x9c9f84=this[_0x3a10e6(0x220)][_0x3a10e6(0x20f)][_0x3a10e6(0x215)](_0x74112c),_0x15544d=new l();_0x15544d[_0x3a10e6(0x208)](_0x3a10e6(0x227),_0x3cc075);const _0x3e0c59=new ClipboardEvent(_0x3a10e6(0x21c),{'clipboardData':_0x15544d}),_0x28f042=new _0x27d2b3(_0x321be0,_0x3e0c59,{'dataTransfer':new _0x9d02f7(_0x15544d)});_0x13c523[_0x3a10e6(0x203)](_0x10e8e5);const _0x5d83e8=(_0x44b0f1,_0x384e41)=>{const _0x4b7527=_0x3a10e6;_0x384e41[_0x4b7527(0x1f3)]&&_0x13c523[_0x4b7527(0x203)](_0x384e41[_0x4b7527(0x1f3)]);};_0x9c9f84[_0x3a10e6(0x22e)](_0x3a10e6(0x1f9),_0x5d83e8,{'priority':_0x3a10e6(0x1e9)}),_0x321be0[_0x3a10e6(0x205)][_0x3a10e6(0x225)](_0x3a10e6(0x21c),_0x28f042),_0x9c9f84[_0x3a10e6(0x1e8)](_0x3a10e6(0x1f9),_0x5d83e8);}[_0x41583a(0x213)](_0x599496){const _0x1826fb=_0x41583a,{model:_0x59fa81}=this[_0x1826fb(0x220)],_0x13945f=Array[_0x1826fb(0x223)](_0x599496[_0x1826fb(0x1fd)]());return _0x13945f[_0x1826fb(0x1f4)]?_0x59fa81[_0x1826fb(0x222)](_0x13945f[_0x1826fb(0x1fa)]()):_0x599496[_0x1826fb(0x1e5)]();}[_0x41583a(0x211)](_0xc67486,_0x2b7249){const _0x4c3f4f=_0x41583a,{model:_0x54d3cf,plugins:_0x23e302}=this[_0x4c3f4f(0x220)];if(_0x23e302[_0x4c3f4f(0x200)](_0x4c3f4f(0x1fc))){const _0x59f6a2=_0x23e302[_0x4c3f4f(0x215)](_0x4c3f4f(0x1fc))[_0x4c3f4f(0x212)](_0x2b7249);if(_0x59f6a2[_0x4c3f4f(0x1f4)]){const _0x30abc5=this[_0x4c3f4f(0x1ea)](_0xc67486),_0x5d3928=this[_0x4c3f4f(0x1db)](_0x59f6a2,_0x30abc5);return _0x54d3cf[_0x4c3f4f(0x22d)](_0x5d3928,0x0);}}return null;}[_0x41583a(0x1ea)](_0x56f3f0){const _0x52991f=_0x41583a,_0x1fa6db=this[_0x52991f(0x220)][_0x52991f(0x20f)][_0x52991f(0x215)](_0x52991f(0x1fc)),_0xff3547=this[_0x52991f(0x220)][_0x52991f(0x210)][_0x52991f(0x1d4)](_0x56f3f0),_0x3a5381=Array[_0x52991f(0x223)](_0xff3547[_0x52991f(0x234)]())[_0x52991f(0x20d)](_0x534ae2=>_0x534ae2['is'](_0x52991f(0x22f),_0x52991f(0x1ec)));let _0x216d6b=0x0;return _0x3a5381[_0x52991f(0x22a)](_0x5be80e=>{const _0x326821=_0x52991f;_0x216d6b+=_0x1fa6db[_0x326821(0x1ff)](_0x5be80e);}),_0x216d6b;}[_0x41583a(0x1db)](_0x4099f7,_0x3d95d1){const _0x280781=_0x41583a,_0x2ba438=this[_0x280781(0x220)][_0x280781(0x20f)][_0x280781(0x215)](_0x280781(0x1fc)),_0x51c771=_0x2ba438[_0x280781(0x1e6)](_0x4099f7),_0x4d5160=_0x2ba438[_0x280781(0x209)](_0x4099f7),_0x3a7999=_0x51c771[_0x280781(0x21f)]+0x1,_0x14fe91=_0x4d5160[_0x280781(0x217)],_0x4a5d44=_0x4099f7[0x0][_0x280781(0x1fe)](_0x280781(0x1ec));for(let _0x33ed47=0x0;_0x33ed47<_0x3d95d1;_0x33ed47++)_0x2ba438[_0x280781(0x221)](_0x4a5d44,{'at':_0x3a7999});return _0x4a5d44[_0x280781(0x233)](_0x3a7999)[_0x280781(0x233)](_0x14fe91);}[_0x41583a(0x236)](_0x264a2b,_0x3d0555){const _0x24bad7=_0x41583a,{plugins:_0x549daf}=this[_0x24bad7(0x220)],{model:_0x257402}=_0x264a2b;if(!_0x549daf[_0x24bad7(0x200)](_0x24bad7(0x1fc)))return;_0x549daf[_0x24bad7(0x215)](_0x24bad7(0x1fc))[_0x24bad7(0x212)](_0x3d0555)[_0x24bad7(0x1f4)]&&_0x257402[_0x24bad7(0x1e1)](_0x3d0555);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4c9437=_0x435e;(function(_0x16377c,_0x41de41){const _0x3c6e7a=_0x435e,_0x4948da=_0x16377c();while(!![]){try{const _0x3325d3=-parseInt(_0x3c6e7a(0x218))/0x1+-parseInt(_0x3c6e7a(0x1f0))/0x2*(parseInt(_0x3c6e7a(0x1c1))/0x3)+-parseInt(_0x3c6e7a(0x1e6))/0x4*(parseInt(_0x3c6e7a(0x20a))/0x5)+-parseInt(_0x3c6e7a(0x1c2))/0x6*(-parseInt(_0x3c6e7a(0x1c0))/0x7)+-parseInt(_0x3c6e7a(0x1a7))/0x8+-parseInt(_0x3c6e7a(0x20b))/0x9+-parseInt(_0x3c6e7a(0x1cc))/0xa*(-parseInt(_0x3c6e7a(0x1ff))/0xb);if(_0x3325d3===_0x41de41)break;else _0x4948da['push'](_0x4948da['shift']());}catch(_0x52c9a8){_0x4948da['push'](_0x4948da['shift']());}}}(_0x5633,0x5350a));import{Plugin as _0x15d827}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4a13ec,IconRobotPencil as _0x126579}from'ckeditor5/src/icons.js';import{first as _0x4ef614,CKEditorError as _0xd5bff2}from'ckeditor5/src/utils.js';function _0x435e(_0x29a059,_0xcc932c){const _0x563305=_0x5633();return _0x435e=function(_0x435e92,_0x27ee8d){_0x435e92=_0x435e92-0x190;let _0x5a416a=_0x563305[_0x435e92];return _0x5a416a;},_0x435e(_0x29a059,_0xcc932c);}import{createDropdown as _0xca434c,addMenuToDropdown as _0x41d9a2,ButtonView as _0x287804,MenuBarMenuListItemButtonView as _0x3db5b0,Dialog as _0x1b0e28,DialogViewPosition as _0x50201b,MenuBarMenuView as _0x314092,MenuBarMenuListView as _0x1c9396,MenuBarMenuListItemView as _0x4d21d8}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x386f45,UNGROUPED_COMMANDS_GROUP_ID as _0xf541d3}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5c1922}from'./aiassistantediting.js';import{AIAdapter as _0x3e777a}from'./adapters/aiadapter.js';import{getTranslation as _0x1a04af}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x95a5eb}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x52d46b}from'./ui/aiassistantcontroller.js';function _0x5633(){const _0x10848b=['INSERT','AI\x20Commands','label','custom','isOfficialPlugin','evaluationLimit','AIAssistant','aiCommands','ai.aiAssistant.contentAreaCssClass','destroy','change:isProcessing','ai-commands-config-order-collision','children','domainLimit','queryView','errorView','document','_onExecute','aiLicenseKeyExpired','promptView','groupLabel','getLimitElement','updateView','ai.aiAssistant.commands','licenseKey','trim','getSelectedElement','menuView','AI\x20Assistant','hideFakeVisualSelection','announce','2167040RkjBop','invalid','usageLimit','REPLACE','focus','source','currentContext','_aiAssistantController','init','aiLicenseKeyEvaluationLimit','_initView','polite','ck-ai-commands-dropdown\x20','copy','_initAriaAiStatusChangeAnnouncements','hideUI','locale','tableOfContents','aiLicenseKeyTrialLimit','Error\x20during\x20AI\x20content\x20generation:\x20%0','hide','requiresContent','<p>','Generated\x20content:\x20%0','aiLicenseKeyNotAllowed','7WIEESO','6brtmwi','2868858WfFfzU','body','DataTransfer','values','menuitemcheckbox','show','isOn','sort','set','_populateMenuBarMenu','7460Rkazhv','push','plugins','featureNotAllowed','_aiAdapter','_getMenuBarGroupButtons','AI\x20is\x20writing','groupId','_forceMarkersCopy','schema','selection','setSelection','enabledCommandsIds','get','editor','requires','aiLicenseKeyUsageLimit','menuBar:aiCommands','isEnabled','_formView','expired','fieldView','define','showUI','showAIAssistant','editing','4064sukTpV','ck-ai-assistant-ui','panelView','replace','delegate','textAdapter','_dialog','execute','text','wasMoved','455932piEYEQ','pluginName','contentArea','listenTo','from','insertContent','ai.aiAssistant.disabledElements','rawHtml','</p>','menuPanelClass','media','menuBar:aiAssistant','config','_getResolvedCommandsDefinitions','addMany','30140sowUzz','AIAssistantUI','EDITOR_TOP_SIDE','componentFactory','map','change:value','insertContentBelow','getData','\x20ck-ai-assistant-ui_theme','replaceContent','_showLicenseError','1745ozQAEa','5970285FchoAv','getSelectedBlocks','prompt','view','getRanges','ai.useTheme','bind','order','commands','filter','comment','aiLicenseKeyDomainLimit','isCollapsed','436164PVYClp','items','_uiCssClasses','once','_createAIAssistantUIButton','isFlat','render','isPremiumPlugin','trialLimit','change:isError','update','length','change:enabledCommandsIds','includes','forEach','text/html','showFakeVisualSelection','command:','aiAssistant','buttons','aiLicenseKeyValid','updatePosition','aiLicenseKeyInvalid','_commandDefinitions','_licenseKeyCheckInterval','change','model','buttonView','ck-ai-assistant-button\x20','fire','reset','splice','add'];_0x5633=function(){return _0x10848b;};return _0x5633();}import{AIFormView as _0x253e10}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x26e97b}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const l=globalThis[_0x4c9437(0x1c4)];import{ClipboardMarkersUtils as _0x13204d}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x260dde,ViewDataTransfer as _0x2f46d0}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x15d827{[_0x4c9437(0x1a0)];[_0x4c9437(0x230)];[_0x4c9437(0x1ec)];[_0x4c9437(0x1df)];[_0x4c9437(0x1d0)];[_0x4c9437(0x1ae)];[_0x4c9437(0x21a)]='';static get[_0x4c9437(0x1f1)](){const _0x27647f=_0x4c9437;return _0x27647f(0x200);}static get[_0x4c9437(0x23d)](){return!0x0;}static get[_0x4c9437(0x21f)](){return!0x0;}static get[_0x4c9437(0x1db)](){return[_0x13204d,_0x5c1922,_0x3e777a,_0x1b0e28];}constructor(_0x58f013){const _0x1dfacb=_0x4c9437;super(_0x58f013),_0x58f013[_0x1dfacb(0x1fc)][_0x1dfacb(0x1e2)](_0x1dfacb(0x1f6),[_0x1dfacb(0x1fa),_0x1dfacb(0x1f7),_0x1dfacb(0x1b8)]),_0x58f013[_0x1dfacb(0x1fc)][_0x1dfacb(0x1e2)](_0x1dfacb(0x190),''),_0x58f013[_0x1dfacb(0x1fc)][_0x1dfacb(0x1e2)](_0x1dfacb(0x210),!0x0),this[_0x1dfacb(0x21a)]=_0x1dfacb(0x1e7)+(_0x58f013[_0x1dfacb(0x1fc)][_0x1dfacb(0x1d9)](_0x1dfacb(0x210))?_0x1dfacb(0x207):'');}[_0x4c9437(0x1af)](){const _0x2f98ec=_0x4c9437,{editor:_0x3bbfc1}=this;this[_0x2f98ec(0x1d0)]=_0x3bbfc1[_0x2f98ec(0x1ce)][_0x2f98ec(0x1d9)](_0x3e777a),this[_0x2f98ec(0x1ec)]=_0x3bbfc1[_0x2f98ec(0x1ce)][_0x2f98ec(0x1d9)](_0x1b0e28),this[_0x2f98ec(0x1df)]=null,this[_0x2f98ec(0x22f)]=this[_0x2f98ec(0x1fd)]();const _0x1d5297=new _0x95a5eb(_0x3bbfc1,Array[_0x2f98ec(0x1f4)](this[_0x2f98ec(0x22f)][_0x2f98ec(0x1c5)]()));_0x3bbfc1[_0x2f98ec(0x213)][_0x2f98ec(0x238)](_0x2f98ec(0x1e4),_0x1d5297),_0x3bbfc1['ui'][_0x2f98ec(0x202)][_0x2f98ec(0x238)](_0x2f98ec(0x240),_0x500804=>{const _0x9094c7=_0x2f98ec,_0x5cd394=_0xca434c(_0x500804);return _0x5cd394[_0x9094c7(0x1ca)]({'class':_0x9094c7(0x1b3)+this[_0x9094c7(0x21a)]}),_0x5cd394[_0x9094c7(0x233)][_0x9094c7(0x1ca)]({'label':_0x1a04af(_0x500804,_0x9094c7(0x23a)),'icon':_0x4a13ec,'tooltip':!0x0}),_0x5cd394['on'](_0x9094c7(0x1ed),_0x420d7a=>this[_0x9094c7(0x199)](_0x420d7a[_0x9094c7(0x1ac)]['id'])),_0x41d9a2(_0x5cd394,_0x3bbfc1['ui'][_0x9094c7(0x20e)][_0x9094c7(0x1c3)],function(_0xd17eeb){const _0x50a40e=_0x9094c7,_0x141b41=_0x386f45(_0xd17eeb[_0x50a40e(0x1fc)][_0x50a40e(0x1d9)](_0x50a40e(0x19f)),_0xd17eeb[_0x50a40e(0x1b7)]),_0x3bb8fd=U(_0xd17eeb,_0x141b41)[_0x50a40e(0x214)](_0x26cc10=>_0x26cc10[_0x50a40e(0x213)][_0x50a40e(0x223)]);if(0x1===_0x3bb8fd[_0x50a40e(0x223)])return U(_0xd17eeb,_0x3bb8fd[0x0][_0x50a40e(0x213)])[_0x50a40e(0x203)](_0x49c767=>({'id':_0x49c767['id'],'label':_0x49c767[_0x50a40e(0x23b)]}));return _0x3bb8fd[_0x50a40e(0x203)](_0x5b3dbf=>{const _0x12899d=_0x50a40e,{groupId:_0x189135,groupLabel:_0x516154,commands:_0x43479e}=_0x5b3dbf,_0xca0861=U(_0xd17eeb,_0x43479e)[_0x12899d(0x203)](_0x398f49=>({'id':_0x398f49['id'],'label':_0x398f49[_0x12899d(0x23b)]}));return{'id':_0x189135,'menu':_0x516154||_0x189135,'children':_0xca0861};});}(_0x3bbfc1),{'ariaLabel':_0x1a04af(_0x500804,_0x9094c7(0x23a))}),_0x5cd394[_0x9094c7(0x1a3)][_0x9094c7(0x1f9)]=_0x9094c7(0x1b3)+this[_0x9094c7(0x21a)],_0x1d5297['on'](_0x9094c7(0x224),_0x9f8c1b),_0x5cd394[_0x9094c7(0x1a3)][_0x9094c7(0x21b)](_0x9094c7(0x21e),_0x9f8c1b),_0x5cd394;function _0x9f8c1b(){const _0x1c7ab4=_0x9094c7;_0x5cd394[_0x1c7ab4(0x1de)]=_0x1d5297[_0x1c7ab4(0x1d8)][_0x1c7ab4(0x223)]>0x0;for(const _0xf81d8c of _0x5cd394[_0x1c7ab4(0x1a3)][_0x1c7ab4(0x22b)])_0xf81d8c[_0x1c7ab4(0x1de)]=_0x1d5297[_0x1c7ab4(0x1d8)][_0x1c7ab4(0x225)](_0xf81d8c['id']);}}),_0x3bbfc1['ui'][_0x2f98ec(0x202)][_0x2f98ec(0x238)](_0x2f98ec(0x1dd),_0x5da15c=>{const _0x4e5940=_0x2f98ec,_0x312582=new _0x314092(_0x5da15c);_0x312582[_0x4e5940(0x233)][_0x4e5940(0x1ca)]({'label':_0x1a04af(_0x5da15c,_0x4e5940(0x23a)),'icon':_0x4a13ec}),_0x312582[_0x4e5940(0x211)](_0x4e5940(0x1de))['to'](_0x1d5297,_0x4e5940(0x1d8),_0x320016=>_0x320016[_0x4e5940(0x223)]>0x0);const _0x21f2be=_0x386f45(_0x3bbfc1[_0x4e5940(0x1fc)][_0x4e5940(0x1d9)](_0x4e5940(0x19f)),_0x5da15c);return this[_0x4e5940(0x1cb)](_0x1d5297,_0x312582,_0x21f2be,_0xd8cc8=>this[_0x4e5940(0x199)](_0xd8cc8)),_0x312582;}),_0x3bbfc1['ui'][_0x2f98ec(0x202)][_0x2f98ec(0x238)](_0x2f98ec(0x22a),()=>{const _0x326dc3=_0x2f98ec,_0x5e99bd=this[_0x326dc3(0x21c)](_0x287804);return _0x5e99bd[_0x326dc3(0x1ca)]({'tooltip':!0x0,'class':_0x326dc3(0x234)+this[_0x326dc3(0x21a)]}),_0x5e99bd;}),_0x3bbfc1['ui'][_0x2f98ec(0x202)][_0x2f98ec(0x238)](_0x2f98ec(0x1fb),()=>{const _0x35d5ad=_0x2f98ec,_0x47ed65=this[_0x35d5ad(0x21c)](_0x3db5b0);return _0x47ed65[_0x35d5ad(0x1ca)]({'role':_0x35d5ad(0x1c6)}),_0x47ed65;}),this[_0x2f98ec(0x1a0)]=this[_0x2f98ec(0x1da)][_0x2f98ec(0x1fc)][_0x2f98ec(0x1d9)](_0x2f98ec(0x1a0));const _0xfc05cb=this[_0x2f98ec(0x1da)];this[_0x2f98ec(0x230)]=setInterval(()=>{const _0x1e7d6e=_0x2f98ec;let _0x110994;for(const _0x5d4474 in _0xfc05cb){const _0x37a0b2=_0x5d4474,_0x392d65=_0xfc05cb[_0x37a0b2];if(_0x1e7d6e(0x22c)==_0x392d65||_0x1e7d6e(0x22e)==_0x392d65||_0x1e7d6e(0x19a)==_0x392d65||_0x1e7d6e(0x216)==_0x392d65||_0x1e7d6e(0x1bf)==_0x392d65||_0x1e7d6e(0x1b0)==_0x392d65||_0x1e7d6e(0x1b9)==_0x392d65||_0x1e7d6e(0x1dc)==_0x392d65){delete _0xfc05cb[_0x37a0b2],_0x110994=_0x392d65,clearInterval(this[_0x1e7d6e(0x230)]),this[_0x1e7d6e(0x230)]=void 0x0;break;}}_0x1e7d6e(0x22e)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x1a8)),_0x1e7d6e(0x19a)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x1e0)),_0x1e7d6e(0x216)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x195)),_0x1e7d6e(0x1bf)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x1cf),_0x1e7d6e(0x23f)),_0x1e7d6e(0x1b0)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x23e)),_0x1e7d6e(0x1b9)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x220)),_0x1e7d6e(0x1dc)==_0x110994&&_0xfc05cb[_0x1e7d6e(0x209)](_0x1e7d6e(0x1a9));},0x3e8);}[_0x4c9437(0x191)](){const _0x4f778d=_0x4c9437;super[_0x4f778d(0x191)](),this[_0x4f778d(0x230)]&&clearInterval(this[_0x4f778d(0x230)]);}[_0x4c9437(0x1e3)](_0x23438a='',_0x6e2c41='',_0x110aec=_0x4c9437(0x23c)){const _0x3346f4=_0x4c9437,_0x1623c6=this[_0x3346f4(0x1da)],_0xe5813e=_0x1623c6[_0x3346f4(0x1e5)][_0x3346f4(0x20e)],_0x12f913=_0x1623c6[_0x3346f4(0x1ce)][_0x3346f4(0x1d9)](_0x5c1922),_0x289a37=_0x1623c6[_0x3346f4(0x1ce)][_0x3346f4(0x1d9)](_0x13204d);_0x12f913[_0x3346f4(0x228)]();const _0x3cc273=new l(),_0x53fb8a=new ClipboardEvent(_0x3346f4(0x1b4),{'clipboardData':_0x3cc273}),_0x231063=new _0x2f46d0(_0x3cc273),_0x4a1c6f=new _0x260dde(_0xe5813e,_0x53fb8a,{'dataTransfer':_0x231063});_0x289a37[_0x3346f4(0x1d4)](_0x3346f4(0x215),()=>{const _0x7d7f7=_0x3346f4;_0xe5813e[_0x7d7f7(0x198)][_0x7d7f7(0x235)](_0x7d7f7(0x1b4),_0x4a1c6f);}),this[_0x3346f4(0x1df)]||(this[_0x3346f4(0x1b1)](),this[_0x3346f4(0x1ae)]=new _0x52d46b(_0x1623c6,this[_0x3346f4(0x1d0)][_0x3346f4(0x1eb)],this[_0x3346f4(0x1df)]));let _0x4c34aa=_0x231063[_0x3346f4(0x206)](_0x3346f4(0x227));const _0x59f9f5=_0x1623c6[_0x3346f4(0x232)][_0x3346f4(0x198)][_0x3346f4(0x1d6)],_0x3edeb9=Array[_0x3346f4(0x1f4)](_0x59f9f5[_0x3346f4(0x20f)]());0x1===_0x3edeb9[_0x3346f4(0x223)]&&_0x3edeb9[0x0][_0x3346f4(0x21d)]&&!_0x59f9f5[_0x3346f4(0x1a2)]()&&''!==_0x4c34aa[_0x3346f4(0x1e9)](/ /g,'')[_0x3346f4(0x1a1)]()&&(_0x4c34aa=_0x3346f4(0x1bd)+_0x4c34aa+_0x3346f4(0x1f8)),this[_0x3346f4(0x1ae)][_0x3346f4(0x19e)]({'actionId':_0x110aec,'query':_0x23438a,'htmlContent':_0x4c34aa,'label':_0x6e2c41,'mainActionLabel':_0x26e97b[_0x1623c6[_0x3346f4(0x232)][_0x3346f4(0x198)][_0x3346f4(0x1d6)][_0x3346f4(0x217)]?_0x3346f4(0x239):_0x3346f4(0x1aa)]}),_0x3346f4(0x22a)!==this[_0x3346f4(0x1ec)]['id']?this[_0x3346f4(0x1ec)][_0x3346f4(0x1c7)]({'id':_0x3346f4(0x22a),'icon':_0x126579,'title':_0x1a04af(this[_0x3346f4(0x1da)][_0x3346f4(0x1b7)],_0x3346f4(0x1a4)),'content':this[_0x3346f4(0x1df)],'position':_0x50201b[_0x3346f4(0x201)],'onShow':()=>{const _0x4be8fc=_0x3346f4;this[_0x4be8fc(0x1df)][_0x4be8fc(0x1ab)]();},'onHide':()=>{const _0x26e5f0=_0x3346f4;this[_0x26e5f0(0x1ae)][_0x26e5f0(0x236)](),_0x12f913[_0x26e5f0(0x1a5)]();}}):this[_0x3346f4(0x1ec)][_0x3346f4(0x20e)][_0x3346f4(0x1ef)]||this[_0x3346f4(0x1ec)][_0x3346f4(0x20e)][_0x3346f4(0x22d)]();}[_0x4c9437(0x1b6)](){const _0x942c84=_0x4c9437;this[_0x942c84(0x1ec)][_0x942c84(0x1bb)]();}[_0x4c9437(0x1fd)](){const _0x26e7b7=_0x4c9437,_0xc12b30=new Map(),_0x2a53d3=_0x386f45(this[_0x26e7b7(0x1da)][_0x26e7b7(0x1fc)][_0x26e7b7(0x1d9)](_0x26e7b7(0x19f)),this[_0x26e7b7(0x1da)][_0x26e7b7(0x1b7)]);for(const _0xf48493 of _0x2a53d3)for(const _0x30fd34 of _0xf48493[_0x26e7b7(0x213)])_0xc12b30[_0x26e7b7(0x1ca)](_0x30fd34['id'],{..._0x30fd34,'groupId':_0xf48493[_0x26e7b7(0x1d3)],'groupLabel':_0xf48493[_0x26e7b7(0x19c)]||_0xf48493[_0x26e7b7(0x1d3)]});return _0xc12b30;}[_0x4c9437(0x21c)](_0xa6e6c5){const _0x14a00f=_0x4c9437,_0x3780e0=this[_0x14a00f(0x1da)],_0x4e6b1e=_0x3780e0[_0x14a00f(0x213)][_0x14a00f(0x1d9)](_0x14a00f(0x1e4)),_0x660e71=new _0xa6e6c5(_0x3780e0[_0x14a00f(0x1b7)]);return _0x660e71[_0x14a00f(0x1ca)]({'label':_0x1a04af(_0x3780e0[_0x14a00f(0x1b7)],_0x14a00f(0x1a4)),'icon':_0x126579,'isToggleable':!0x0}),_0x660e71[_0x14a00f(0x211)](_0x14a00f(0x1de))['to'](_0x4e6b1e),_0x660e71[_0x14a00f(0x211)](_0x14a00f(0x1c8))['to'](this[_0x14a00f(0x1ec)],'id',_0x10a2ea=>_0x14a00f(0x22a)===_0x10a2ea),this[_0x14a00f(0x1f3)](_0x660e71,_0x14a00f(0x1ed),()=>{const _0x347f92=_0x14a00f;_0x660e71[_0x347f92(0x1c8)]?this[_0x347f92(0x1b6)]():_0x4e6b1e[_0x347f92(0x1ed)]();}),_0x660e71;}[_0x4c9437(0x1b1)](){const _0x24bf2a=_0x4c9437,_0x21e7b5=this[_0x24bf2a(0x1da)][_0x24bf2a(0x1ce)][_0x24bf2a(0x1d9)](_0x5c1922);this[_0x24bf2a(0x1df)]=new _0x253e10(this[_0x24bf2a(0x1da)][_0x24bf2a(0x1b7)],this[_0x24bf2a(0x21a)],this[_0x24bf2a(0x1da)][_0x24bf2a(0x1fc)][_0x24bf2a(0x1d9)](_0x24bf2a(0x190))),this[_0x24bf2a(0x1df)]['on'](_0x24bf2a(0x204),()=>{const _0x498bfd=_0x24bf2a;this[_0x498bfd(0x1ec)][_0x498bfd(0x20e)][_0x498bfd(0x1ef)]||this[_0x498bfd(0x1ec)][_0x498bfd(0x20e)][_0x498bfd(0x22d)]();}),this[_0x24bf2a(0x1df)][_0x24bf2a(0x19b)][_0x24bf2a(0x196)][_0x24bf2a(0x1e1)]['on'](_0x24bf2a(0x222),()=>{const _0x5584ec=_0x24bf2a;this[_0x5584ec(0x1ec)][_0x5584ec(0x20e)][_0x5584ec(0x1ef)]||this[_0x5584ec(0x1ec)][_0x5584ec(0x20e)][_0x5584ec(0x22d)]();}),this[_0x24bf2a(0x1f3)](this[_0x24bf2a(0x1df)],_0x24bf2a(0x208),()=>{const _0x3424d5=_0x24bf2a;_0x21e7b5[_0x3424d5(0x1f5)](this[_0x3424d5(0x1ae)][_0x3424d5(0x1ad)]),this[_0x3424d5(0x1b6)]();}),this[_0x24bf2a(0x1f3)](this[_0x24bf2a(0x1df)],_0x24bf2a(0x205),()=>{const _0x3c60c9=_0x24bf2a;_0x21e7b5[_0x3c60c9(0x205)](this[_0x3c60c9(0x1ae)][_0x3c60c9(0x1ad)]),this[_0x3c60c9(0x1b6)]();}),this[_0x24bf2a(0x1b5)]();}[_0x4c9437(0x1b5)](){const _0x39c5bd=_0x4c9437,{locale:_0x15b219,ui:{ariaLiveAnnouncer:_0xaef6c5}}=this[_0x39c5bd(0x1da)];this[_0x39c5bd(0x1df)][_0x39c5bd(0x1f2)]['on'](_0x39c5bd(0x192),(_0x57f1eb,_0xc155a2,_0x5850d9)=>{const _0x4b1849=_0x39c5bd,_0x103e8c=this[_0x4b1849(0x1ae)][_0x4b1849(0x1ad)];_0x5850d9?_0xaef6c5[_0x4b1849(0x1a6)](_0x1a04af(_0x15b219,_0x4b1849(0x1d2))):_0x103e8c&&_0xaef6c5[_0x4b1849(0x1a6)](_0x1a04af(_0x15b219,_0x4b1849(0x1be),_0x103e8c),{'politeness':_0x4b1849(0x1b2),'isUnsafeHTML':!0x0});}),this[_0x39c5bd(0x1df)]['on'](_0x39c5bd(0x221),(_0x16c5d5,_0x9e640e,_0x1580ac)=>{const _0x3d5ee9=_0x39c5bd;if(_0x1580ac){const _0x54c671=this[_0x3d5ee9(0x1df)][_0x3d5ee9(0x197)][_0x3d5ee9(0x1ee)];_0xaef6c5[_0x3d5ee9(0x1a6)](_0x1a04af(_0x15b219,_0x3d5ee9(0x1ba),_0x54c671));}});}[_0x4c9437(0x199)](_0x4e820a){const _0x1e10da=_0x4c9437,_0x4161f6=this[_0x1e10da(0x22f)][_0x1e10da(0x1d9)](_0x4e820a),_0x5d1579=this[_0x1e10da(0x1da)],_0x11f7bb=_0x5d1579[_0x1e10da(0x232)][_0x1e10da(0x198)][_0x1e10da(0x1d6)],_0x168bce=_0x5d1579[_0x1e10da(0x213)][_0x1e10da(0x1d9)](_0x1e10da(0x1e4)),_0x17817a=_0x5d1579[_0x1e10da(0x1ce)][_0x1e10da(0x1d9)](_0x5c1922),_0x20c32b=''+(_0x4161f6[_0x1e10da(0x1d3)]!==_0xf541d3?_0x4161f6[_0x1e10da(0x19c)]+':\x20':'')+_0x4161f6[_0x1e10da(0x23b)];if(!0x1!==_0x4161f6[_0x1e10da(0x1bc)]&&_0x11f7bb[_0x1e10da(0x217)]){const _0xde8f30=_0x4ef614(_0x11f7bb[_0x1e10da(0x20c)]())||_0x5d1579[_0x1e10da(0x232)][_0x1e10da(0x1d5)][_0x1e10da(0x19d)](_0x11f7bb);_0x5d1579[_0x1e10da(0x232)][_0x1e10da(0x231)](_0x26807e=>{const _0xb12f2d=_0x1e10da;_0x26807e[_0xb12f2d(0x1d7)](_0xde8f30,'in');});}_0x17817a[_0x1e10da(0x228)](),_0x168bce[_0x1e10da(0x1ed)](_0x4161f6[_0x1e10da(0x20d)],_0x20c32b,_0x1e10da(0x229)+_0x4e820a);}[_0x4c9437(0x1cb)](_0xb39b1f,_0x55bf61,_0x4c79f1,_0x16ab0e){const _0x40d528=_0x4c9437,_0x525395=this[_0x40d528(0x1da)],_0x3425dc=_0x525395[_0x40d528(0x1b7)],_0x2a96f6=new _0x1c9396(_0x3425dc),_0x4481f3=U(_0x525395,_0x4c79f1)[_0x40d528(0x214)](_0x2f5488=>_0x2f5488[_0x40d528(0x213)][_0x40d528(0x223)]);0x1===_0x4481f3[_0x40d528(0x223)]?this[_0x40d528(0x1d1)]({'command':_0xb39b1f,'commands':_0x4481f3[0x0][_0x40d528(0x213)],'parentMenuView':_0x55bf61,'onExecute':_0x16ab0e})[_0x40d528(0x226)](_0x314ce3=>_0x2a96f6[_0x40d528(0x219)][_0x40d528(0x238)](_0x314ce3)):_0x4481f3[_0x40d528(0x226)](({groupId:_0x45eef3,groupLabel:_0x1248a8,commands:_0x1a6dc6})=>{const _0x4e6b15=_0x40d528,_0x43e54d=new _0x4d21d8(_0x3425dc,_0x55bf61),_0xcb0ffb=new _0x314092(_0x3425dc),_0x198139=new _0x1c9396(_0x3425dc),_0x268fc5=this[_0x4e6b15(0x1d1)]({'command':_0xb39b1f,'commands':_0x1a6dc6,'parentMenuView':_0xcb0ffb,'onExecute':_0x16ab0e});_0xcb0ffb[_0x4e6b15(0x233)][_0x4e6b15(0x1ca)]({'label':_0x1248a8||_0x45eef3}),_0xcb0ffb[_0x4e6b15(0x1ea)](_0x4e6b15(0x1ed))['to'](_0x55bf61),_0x198139[_0x4e6b15(0x219)][_0x4e6b15(0x1fe)](_0x268fc5),_0xcb0ffb[_0x4e6b15(0x1e8)][_0x4e6b15(0x194)][_0x4e6b15(0x238)](_0x198139),_0x43e54d[_0x4e6b15(0x194)][_0x4e6b15(0x238)](_0xcb0ffb),_0x2a96f6[_0x4e6b15(0x219)][_0x4e6b15(0x238)](_0x43e54d);}),_0x55bf61[_0x40d528(0x1e8)][_0x40d528(0x194)][_0x40d528(0x238)](_0x2a96f6);}[_0x4c9437(0x1d1)]({command:_0x188c4b,commands:_0x5455f1,parentMenuView:_0x4b29b9,onExecute:_0x5c91fd}){const _0x50d466=_0x4c9437,_0x347093=this[_0x50d466(0x1da)],_0x42395e=_0x347093[_0x50d466(0x1b7)];return U(_0x347093,_0x5455f1)[_0x50d466(0x203)](_0x4fbbbb=>{const _0x358e70=_0x50d466,_0x15e9d2=new _0x4d21d8(_0x42395e,_0x4b29b9),_0x58e445=new _0x3db5b0(_0x42395e);return _0x58e445[_0x358e70(0x1ca)]({'label':_0x4fbbbb[_0x358e70(0x23b)]}),_0x58e445[_0x358e70(0x1ea)](_0x358e70(0x1ed))['to'](_0x4b29b9),_0x58e445['on'](_0x358e70(0x1ed),()=>_0x5c91fd(_0x4fbbbb['id'])),_0x58e445[_0x358e70(0x211)](_0x358e70(0x1de))['to'](_0x188c4b,_0x358e70(0x1d8),_0x477893=>_0x477893[_0x358e70(0x225)](_0x4fbbbb['id'])),_0x15e9d2[_0x358e70(0x194)][_0x358e70(0x238)](_0x58e445),_0x15e9d2;});}}function T(_0x36cd95,_0x4e2a22){const _0x4f0347=_0x4c9437;return void 0x0!==_0x36cd95[_0x4f0347(0x212)]&&void 0x0===_0x4e2a22[_0x4f0347(0x212)]?0x1:void 0x0===_0x36cd95[_0x4f0347(0x212)]&&void 0x0!==_0x4e2a22[_0x4f0347(0x212)]?-0x1:void 0x0!==_0x36cd95[_0x4f0347(0x212)]&&void 0x0!==_0x4e2a22[_0x4f0347(0x212)]?_0x36cd95[_0x4f0347(0x212)]-_0x4e2a22[_0x4f0347(0x212)]:0x0;}function U(_0x2cbb0a,_0xe23f97){const _0xfc545f=_0x4c9437;_0xe23f97[_0xfc545f(0x1c9)](T);const _0x48863a={},_0x2a163b=[];for(const _0x45b184 of _0xe23f97)if(void 0x0!==_0x45b184[_0xfc545f(0x212)]){if(_0x45b184[_0xfc545f(0x212)]in _0x48863a)throw new _0xd5bff2(_0xfc545f(0x193),_0x2cbb0a,{'conflictingDefinitions':[_0x45b184,_0x48863a[_0x45b184[_0xfc545f(0x212)]]]});_0x48863a[_0x45b184[_0xfc545f(0x212)]]=_0x45b184,_0x2a163b[_0xfc545f(0x237)](_0x45b184[_0xfc545f(0x212)],0x0,_0x45b184);}else _0x2a163b[_0xfc545f(0x1cd)](_0x45b184);return _0x2a163b;}
|
|
23
|
+
const _0x59bb7e=_0xd6a0;(function(_0x36a48d,_0x4bb242){const _0xa778eb=_0xd6a0,_0xdf095d=_0x36a48d();while(!![]){try{const _0x49a049=-parseInt(_0xa778eb(0x280))/0x1+parseInt(_0xa778eb(0x216))/0x2*(-parseInt(_0xa778eb(0x257))/0x3)+parseInt(_0xa778eb(0x1fd))/0x4+-parseInt(_0xa778eb(0x250))/0x5*(parseInt(_0xa778eb(0x23e))/0x6)+-parseInt(_0xa778eb(0x1e3))/0x7+-parseInt(_0xa778eb(0x25f))/0x8+parseInt(_0xa778eb(0x252))/0x9;if(_0x49a049===_0x4bb242)break;else _0xdf095d['push'](_0xdf095d['shift']());}catch(_0x22c140){_0xdf095d['push'](_0xdf095d['shift']());}}}(_0x1916,0x3d885));import{Plugin as _0x4f6102}from'ckeditor5/src/core.js';import{IconMagicWand as _0x13b9db,IconRobotPencil as _0x5196e1}from'ckeditor5/src/icons.js';import{first as _0x3b1d31,CKEditorError as _0x338621}from'ckeditor5/src/utils.js';import{createDropdown as _0x5f3d58,addMenuToDropdown as _0x477376,ButtonView as _0x37bac4,MenuBarMenuListItemButtonView as _0x3ecfa8,Dialog as _0x283f7a,DialogViewPosition as _0x115db1,MenuBarMenuView as _0xf5e03,MenuBarMenuListView as _0x465bea,MenuBarMenuListItemView as _0x39cebf}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x32bbff,UNGROUPED_COMMANDS_GROUP_ID as _0x421b30}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x48e185}from'./aiassistantediting.js';import{AIAdapter as _0x5eb955}from'./adapters/aiadapter.js';import{getTranslation as _0x4abfa4}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x2b1108}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x3f6b9f}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x506ce3}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2a79ef}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';function _0xd6a0(_0xfb9320,_0xf8db94){const _0x19163a=_0x1916();return _0xd6a0=function(_0xd6a055,_0xa888fd){_0xd6a055=_0xd6a055-0x1dd;let _0x5f05f9=_0x19163a[_0xd6a055];return _0x5f05f9;},_0xd6a0(_0xfb9320,_0xf8db94);}import'../theme/ai-form.css';const l=globalThis[_0x59bb7e(0x23d)];import{ClipboardMarkersUtils as _0x5d17b0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1c3f6a,ViewDataTransfer as _0x4c7e42}from'ckeditor5/src/engine.js';function _0x1916(){const _0x115555=['invalid','licenseKey','push','hideFakeVisualSelection','fire','AI\x20Commands','menuBar:aiCommands','AIAssistantUI','getLimitElement','init','rawHtml','command:','aiAssistant','text','826959LIasZw','_getResolvedCommandsDefinitions','_forceMarkersCopy','ck-ai-commands-dropdown\x20','_initAriaAiStatusChangeAnnouncements','AI\x20is\x20writing','requires','focus','_aiAssistantController','body','getData','reset','destroy','_getMenuBarGroupButtons','execute','selection','get','define','menuPanelClass','replace','usageLimit','</p>','show','prompt','change:value','enabledCommandsIds','1437860JQiaDk','ai.aiAssistant.disabledElements','document','aiLicenseKeyInvalid','replaceContent','schema','polite','aiLicenseKeyValid','wasMoved','trialLimit','ai-commands-config-order-collision','change:isProcessing','textAdapter','groupLabel','delegate','_createAIAssistantUIButton','menuView','<p>','AI\x20Assistant','isEnabled','isFlat','listenTo','comment','ck-ai-assistant-button\x20','getRanges','52922hHQxJA','INSERT','update','getSelectedElement','featureNotAllowed','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','ai.useTheme','source','menuitemcheckbox','hideUI','aiLicenseKeyTrialLimit','plugins','_aiAdapter','\x20ck-ai-assistant-ui_theme','fieldView','_initView','buttonView','showAIAssistant','promptView','isPremiumPlugin','set','buttons','copy','from','_dialog','insertContent','model','currentContext','expired','domainLimit','aiCommands','change:enabledCommandsIds','evaluationLimit','bind','requiresContent','order','map','hide','DataTransfer','2241678MPGSVz','trim','_licenseKeyCheckInterval','render','aiLicenseKeyEvaluationLimit','tableOfContents','editing','aiLicenseKeyNotAllowed','AIAssistant','EDITOR_TOP_SIDE','ai.aiAssistant.commands','panelView','items','ck-ai-assistant-ui','length','custom','_commandDefinitions','includes','5miipGm','aiLicenseKeyUsageLimit','9827937SpgXEM','insertContentBelow','Generated\x20content:\x20%0','showUI','label','15FpCPzb','isOfficialPlugin','componentFactory','change:isError','setSelection','announce','_showLicenseError','groupId','3632296zCtrJQ','change','children','REPLACE','errorView','_uiCssClasses','_populateMenuBarMenu','splice','text/html','showFakeVisualSelection','add','commands','isCollapsed','once','_onExecute','getSelectedBlocks','aiLicenseKeyExpired','locale','values','updateView','contentArea','editor','ai.aiAssistant.contentAreaCssClass','aiLicenseKeyDomainLimit','config','updatePosition','pluginName','addMany','view','sort','_formView','media','forEach','121329tlwAkh','menuBar:aiAssistant','filter','isOn'];_0x1916=function(){return _0x115555;};return _0x1916();}export class AIAssistantUI extends _0x4f6102{[_0x59bb7e(0x285)];[_0x59bb7e(0x240)];[_0x59bb7e(0x22f)];[_0x59bb7e(0x27d)];[_0x59bb7e(0x223)];[_0x59bb7e(0x1eb)];[_0x59bb7e(0x264)]='';static get[_0x59bb7e(0x279)](){const _0x187511=_0x59bb7e;return _0x187511(0x28b);}static get[_0x59bb7e(0x258)](){return!0x0;}static get[_0x59bb7e(0x22a)](){return!0x0;}static get[_0x59bb7e(0x1e9)](){return[_0x5d17b0,_0x48e185,_0x5eb955,_0x283f7a];}constructor(_0x42ef78){const _0x41fe62=_0x59bb7e;super(_0x42ef78),_0x42ef78[_0x41fe62(0x277)][_0x41fe62(0x1f4)](_0x41fe62(0x1fe),[_0x41fe62(0x27e),_0x41fe62(0x1df),_0x41fe62(0x243)]),_0x42ef78[_0x41fe62(0x277)][_0x41fe62(0x1f4)](_0x41fe62(0x275),''),_0x42ef78[_0x41fe62(0x277)][_0x41fe62(0x1f4)](_0x41fe62(0x21d),!0x0),this[_0x41fe62(0x264)]=_0x41fe62(0x24b)+(_0x42ef78[_0x41fe62(0x277)][_0x41fe62(0x1f3)](_0x41fe62(0x21d))?_0x41fe62(0x224):'');}[_0x59bb7e(0x1de)](){const _0x12787e=_0x59bb7e,{editor:_0x38cd4a}=this;this[_0x12787e(0x223)]=_0x38cd4a[_0x12787e(0x222)][_0x12787e(0x1f3)](_0x5eb955),this[_0x12787e(0x22f)]=_0x38cd4a[_0x12787e(0x222)][_0x12787e(0x1f3)](_0x283f7a),this[_0x12787e(0x27d)]=null,this[_0x12787e(0x24e)]=this[_0x12787e(0x1e4)]();const _0x3b1b6d=new _0x2b1108(_0x38cd4a,Array[_0x12787e(0x22e)](this[_0x12787e(0x24e)][_0x12787e(0x271)]()));_0x38cd4a[_0x12787e(0x26a)][_0x12787e(0x269)](_0x12787e(0x228),_0x3b1b6d),_0x38cd4a['ui'][_0x12787e(0x259)][_0x12787e(0x269)](_0x12787e(0x235),_0x29e6ca=>{const _0x229acc=_0x12787e,_0x15f5bf=_0x5f3d58(_0x29e6ca);return _0x15f5bf[_0x229acc(0x22b)]({'class':_0x229acc(0x1e6)+this[_0x229acc(0x264)]}),_0x15f5bf[_0x229acc(0x227)][_0x229acc(0x22b)]({'label':_0x4abfa4(_0x29e6ca,_0x229acc(0x289)),'icon':_0x13b9db,'tooltip':!0x0}),_0x15f5bf['on'](_0x229acc(0x1f1),_0x1afd17=>this[_0x229acc(0x26d)](_0x1afd17[_0x229acc(0x21e)]['id'])),_0x477376(_0x15f5bf,_0x38cd4a['ui'][_0x229acc(0x27b)][_0x229acc(0x1ec)],function(_0x43c286){const _0x5cd132=_0x229acc,_0xc8c6a9=_0x32bbff(_0x43c286[_0x5cd132(0x277)][_0x5cd132(0x1f3)](_0x5cd132(0x248)),_0x43c286[_0x5cd132(0x270)]),_0x3edb32=U(_0x43c286,_0xc8c6a9)[_0x5cd132(0x282)](_0x55c54c=>_0x55c54c[_0x5cd132(0x26a)][_0x5cd132(0x24c)]);if(0x1===_0x3edb32[_0x5cd132(0x24c)])return U(_0x43c286,_0x3edb32[0x0][_0x5cd132(0x26a)])[_0x5cd132(0x23b)](_0x376da9=>({'id':_0x376da9['id'],'label':_0x376da9[_0x5cd132(0x256)]}));return _0x3edb32[_0x5cd132(0x23b)](_0x5d8d1f=>{const _0x967af2=_0x5cd132,{groupId:_0x2d9336,groupLabel:_0xa12c16,commands:_0x5ac773}=_0x5d8d1f,_0x2ced7d=U(_0x43c286,_0x5ac773)[_0x967af2(0x23b)](_0x4fb870=>({'id':_0x4fb870['id'],'label':_0x4fb870[_0x967af2(0x256)]}));return{'id':_0x2d9336,'menu':_0xa12c16||_0x2d9336,'children':_0x2ced7d};});}(_0x38cd4a),{'ariaLabel':_0x4abfa4(_0x29e6ca,_0x229acc(0x289))}),_0x15f5bf[_0x229acc(0x20d)][_0x229acc(0x1f5)]=_0x229acc(0x1e6)+this[_0x229acc(0x264)],_0x3b1b6d['on'](_0x229acc(0x236),_0x3597d7),_0x15f5bf[_0x229acc(0x20d)][_0x229acc(0x26c)](_0x229acc(0x241),_0x3597d7),_0x15f5bf;function _0x3597d7(){const _0x272943=_0x229acc;_0x15f5bf[_0x272943(0x210)]=_0x3b1b6d[_0x272943(0x1fc)][_0x272943(0x24c)]>0x0;for(const _0x11bb00 of _0x15f5bf[_0x272943(0x20d)][_0x272943(0x22c)])_0x11bb00[_0x272943(0x210)]=_0x3b1b6d[_0x272943(0x1fc)][_0x272943(0x24f)](_0x11bb00['id']);}}),_0x38cd4a['ui'][_0x12787e(0x259)][_0x12787e(0x269)](_0x12787e(0x28a),_0x94e0f8=>{const _0x14b645=_0x12787e,_0x377a2d=new _0xf5e03(_0x94e0f8);_0x377a2d[_0x14b645(0x227)][_0x14b645(0x22b)]({'label':_0x4abfa4(_0x94e0f8,_0x14b645(0x289)),'icon':_0x13b9db}),_0x377a2d[_0x14b645(0x238)](_0x14b645(0x210))['to'](_0x3b1b6d,_0x14b645(0x1fc),_0x1eced8=>_0x1eced8[_0x14b645(0x24c)]>0x0);const _0x8a13be=_0x32bbff(_0x38cd4a[_0x14b645(0x277)][_0x14b645(0x1f3)](_0x14b645(0x248)),_0x94e0f8);return this[_0x14b645(0x265)](_0x3b1b6d,_0x377a2d,_0x8a13be,_0x4b91d7=>this[_0x14b645(0x26d)](_0x4b91d7)),_0x377a2d;}),_0x38cd4a['ui'][_0x12787e(0x259)][_0x12787e(0x269)](_0x12787e(0x1e1),()=>{const _0x2186a6=_0x12787e,_0x4a11f1=this[_0x2186a6(0x20c)](_0x37bac4);return _0x4a11f1[_0x2186a6(0x22b)]({'tooltip':!0x0,'class':_0x2186a6(0x214)+this[_0x2186a6(0x264)]}),_0x4a11f1;}),_0x38cd4a['ui'][_0x12787e(0x259)][_0x12787e(0x269)](_0x12787e(0x281),()=>{const _0x17c607=_0x12787e,_0x1ad2ea=this[_0x17c607(0x20c)](_0x3ecfa8);return _0x1ad2ea[_0x17c607(0x22b)]({'role':_0x17c607(0x21f)}),_0x1ad2ea;}),this[_0x12787e(0x285)]=this[_0x12787e(0x274)][_0x12787e(0x277)][_0x12787e(0x1f3)](_0x12787e(0x285));const _0x5af9b2=this[_0x12787e(0x274)];this[_0x12787e(0x240)]=setInterval(()=>{const _0x4ac75f=_0x12787e;let _0x5b88c5;for(const _0xb0ba77 in _0x5af9b2){const _0x54dd7d=_0xb0ba77,_0x1a21a6=_0x5af9b2[_0x54dd7d];if(_0x4ac75f(0x204)==_0x1a21a6||_0x4ac75f(0x200)==_0x1a21a6||_0x4ac75f(0x26f)==_0x1a21a6||_0x4ac75f(0x276)==_0x1a21a6||_0x4ac75f(0x245)==_0x1a21a6||_0x4ac75f(0x242)==_0x1a21a6||_0x4ac75f(0x221)==_0x1a21a6||_0x4ac75f(0x251)==_0x1a21a6){delete _0x5af9b2[_0x54dd7d],_0x5b88c5=_0x1a21a6,clearInterval(this[_0x4ac75f(0x240)]),this[_0x4ac75f(0x240)]=void 0x0;break;}}_0x4ac75f(0x200)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x284)),_0x4ac75f(0x26f)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x233)),_0x4ac75f(0x276)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x234)),_0x4ac75f(0x245)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x21a),_0x4ac75f(0x246)),_0x4ac75f(0x242)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x237)),_0x4ac75f(0x221)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x206)),_0x4ac75f(0x251)==_0x5b88c5&&_0x5af9b2[_0x4ac75f(0x25d)](_0x4ac75f(0x1f7));},0x3e8);}[_0x59bb7e(0x1ef)](){const _0x3ace1f=_0x59bb7e;super[_0x3ace1f(0x1ef)](),this[_0x3ace1f(0x240)]&&clearInterval(this[_0x3ace1f(0x240)]);}[_0x59bb7e(0x255)](_0x384313='',_0x3cef45='',_0x287a8f=_0x59bb7e(0x24d)){const _0x1fb89c=_0x59bb7e,_0x5d38fe=this[_0x1fb89c(0x274)],_0x4fb489=_0x5d38fe[_0x1fb89c(0x244)][_0x1fb89c(0x27b)],_0x3e4a7d=_0x5d38fe[_0x1fb89c(0x222)][_0x1fb89c(0x1f3)](_0x48e185),_0x315362=_0x5d38fe[_0x1fb89c(0x222)][_0x1fb89c(0x1f3)](_0x5d17b0);_0x3e4a7d[_0x1fb89c(0x268)]();const _0x442e05=new l(),_0x21803f=new ClipboardEvent(_0x1fb89c(0x22d),{'clipboardData':_0x442e05}),_0x115cd6=new _0x4c7e42(_0x442e05),_0x378e42=new _0x1c3f6a(_0x4fb489,_0x21803f,{'dataTransfer':_0x115cd6});_0x315362[_0x1fb89c(0x1e5)](_0x1fb89c(0x213),()=>{const _0x33fdb9=_0x1fb89c;_0x4fb489[_0x33fdb9(0x1ff)][_0x33fdb9(0x288)](_0x33fdb9(0x22d),_0x378e42);}),this[_0x1fb89c(0x27d)]||(this[_0x1fb89c(0x226)](),this[_0x1fb89c(0x1eb)]=new _0x3f6b9f(_0x5d38fe,this[_0x1fb89c(0x223)][_0x1fb89c(0x209)],this[_0x1fb89c(0x27d)]));let _0x1b4986=_0x115cd6[_0x1fb89c(0x1ed)](_0x1fb89c(0x267));const _0x18d21a=_0x5d38fe[_0x1fb89c(0x231)][_0x1fb89c(0x1ff)][_0x1fb89c(0x1f2)],_0x566a66=Array[_0x1fb89c(0x22e)](_0x18d21a[_0x1fb89c(0x215)]());0x1===_0x566a66[_0x1fb89c(0x24c)]&&_0x566a66[0x0][_0x1fb89c(0x211)]&&!_0x18d21a[_0x1fb89c(0x219)]()&&''!==_0x1b4986[_0x1fb89c(0x1f6)](/ /g,'')[_0x1fb89c(0x23f)]()&&(_0x1b4986=_0x1fb89c(0x20e)+_0x1b4986+_0x1fb89c(0x1f8)),this[_0x1fb89c(0x1eb)][_0x1fb89c(0x272)]({'actionId':_0x287a8f,'query':_0x384313,'htmlContent':_0x1b4986,'label':_0x3cef45,'mainActionLabel':_0x2a79ef[_0x5d38fe[_0x1fb89c(0x231)][_0x1fb89c(0x1ff)][_0x1fb89c(0x1f2)][_0x1fb89c(0x26b)]?_0x1fb89c(0x217):_0x1fb89c(0x262)]}),_0x1fb89c(0x1e1)!==this[_0x1fb89c(0x22f)]['id']?this[_0x1fb89c(0x22f)][_0x1fb89c(0x1f9)]({'id':_0x1fb89c(0x1e1),'icon':_0x5196e1,'title':_0x4abfa4(this[_0x1fb89c(0x274)][_0x1fb89c(0x270)],_0x1fb89c(0x20f)),'content':this[_0x1fb89c(0x27d)],'position':_0x115db1[_0x1fb89c(0x247)],'onShow':()=>{const _0x38160c=_0x1fb89c;this[_0x38160c(0x27d)][_0x38160c(0x1ea)]();},'onHide':()=>{const _0x417996=_0x1fb89c;this[_0x417996(0x1eb)][_0x417996(0x1ee)](),_0x3e4a7d[_0x417996(0x287)]();}}):this[_0x1fb89c(0x22f)][_0x1fb89c(0x27b)][_0x1fb89c(0x205)]||this[_0x1fb89c(0x22f)][_0x1fb89c(0x27b)][_0x1fb89c(0x278)]();}[_0x59bb7e(0x220)](){const _0x5b78c=_0x59bb7e;this[_0x5b78c(0x22f)][_0x5b78c(0x23c)]();}[_0x59bb7e(0x1e4)](){const _0x3a904b=_0x59bb7e,_0x260658=new Map(),_0x23196b=_0x32bbff(this[_0x3a904b(0x274)][_0x3a904b(0x277)][_0x3a904b(0x1f3)](_0x3a904b(0x248)),this[_0x3a904b(0x274)][_0x3a904b(0x270)]);for(const _0x147f77 of _0x23196b)for(const _0x147cdd of _0x147f77[_0x3a904b(0x26a)])_0x260658[_0x3a904b(0x22b)](_0x147cdd['id'],{..._0x147cdd,'groupId':_0x147f77[_0x3a904b(0x25e)],'groupLabel':_0x147f77[_0x3a904b(0x20a)]||_0x147f77[_0x3a904b(0x25e)]});return _0x260658;}[_0x59bb7e(0x20c)](_0x58fe37){const _0x4f769e=_0x59bb7e,_0x181cec=this[_0x4f769e(0x274)],_0x924033=_0x181cec[_0x4f769e(0x26a)][_0x4f769e(0x1f3)](_0x4f769e(0x228)),_0x352a42=new _0x58fe37(_0x181cec[_0x4f769e(0x270)]);return _0x352a42[_0x4f769e(0x22b)]({'label':_0x4abfa4(_0x181cec[_0x4f769e(0x270)],_0x4f769e(0x20f)),'icon':_0x5196e1,'isToggleable':!0x0}),_0x352a42[_0x4f769e(0x238)](_0x4f769e(0x210))['to'](_0x924033),_0x352a42[_0x4f769e(0x238)](_0x4f769e(0x283))['to'](this[_0x4f769e(0x22f)],'id',_0xe83d7f=>_0x4f769e(0x1e1)===_0xe83d7f),this[_0x4f769e(0x212)](_0x352a42,_0x4f769e(0x1f1),()=>{const _0x27fc00=_0x4f769e;_0x352a42[_0x27fc00(0x283)]?this[_0x27fc00(0x220)]():_0x924033[_0x27fc00(0x1f1)]();}),_0x352a42;}[_0x59bb7e(0x226)](){const _0x7978a2=_0x59bb7e,_0x91b90c=this[_0x7978a2(0x274)][_0x7978a2(0x222)][_0x7978a2(0x1f3)](_0x48e185);this[_0x7978a2(0x27d)]=new _0x506ce3(this[_0x7978a2(0x274)][_0x7978a2(0x270)],this[_0x7978a2(0x264)],this[_0x7978a2(0x274)][_0x7978a2(0x277)][_0x7978a2(0x1f3)](_0x7978a2(0x275))),this[_0x7978a2(0x27d)]['on'](_0x7978a2(0x1fb),()=>{const _0x4d1e69=_0x7978a2;this[_0x4d1e69(0x22f)][_0x4d1e69(0x27b)][_0x4d1e69(0x205)]||this[_0x4d1e69(0x22f)][_0x4d1e69(0x27b)][_0x4d1e69(0x278)]();}),this[_0x7978a2(0x27d)][_0x7978a2(0x229)][_0x7978a2(0x21c)][_0x7978a2(0x225)]['on'](_0x7978a2(0x218),()=>{const _0x30d12a=_0x7978a2;this[_0x30d12a(0x22f)][_0x30d12a(0x27b)][_0x30d12a(0x205)]||this[_0x30d12a(0x22f)][_0x30d12a(0x27b)][_0x30d12a(0x278)]();}),this[_0x7978a2(0x212)](this[_0x7978a2(0x27d)],_0x7978a2(0x201),()=>{const _0x4d0e06=_0x7978a2;_0x91b90c[_0x4d0e06(0x230)](this[_0x4d0e06(0x1eb)][_0x4d0e06(0x232)]),this[_0x4d0e06(0x220)]();}),this[_0x7978a2(0x212)](this[_0x7978a2(0x27d)],_0x7978a2(0x253),()=>{const _0x22b391=_0x7978a2;_0x91b90c[_0x22b391(0x253)](this[_0x22b391(0x1eb)][_0x22b391(0x232)]),this[_0x22b391(0x220)]();}),this[_0x7978a2(0x1e7)]();}[_0x59bb7e(0x1e7)](){const _0x44ce0c=_0x59bb7e,{locale:_0x7c192d,ui:{ariaLiveAnnouncer:_0x46b440}}=this[_0x44ce0c(0x274)];this[_0x44ce0c(0x27d)][_0x44ce0c(0x273)]['on'](_0x44ce0c(0x208),(_0x516e14,_0x405ad1,_0x233a97)=>{const _0x1c011c=_0x44ce0c,_0x243316=this[_0x1c011c(0x1eb)][_0x1c011c(0x232)];_0x233a97?_0x46b440[_0x1c011c(0x25c)](_0x4abfa4(_0x7c192d,_0x1c011c(0x1e8))):_0x243316&&_0x46b440[_0x1c011c(0x25c)](_0x4abfa4(_0x7c192d,_0x1c011c(0x254),_0x243316),{'politeness':_0x1c011c(0x203),'isUnsafeHTML':!0x0});}),this[_0x44ce0c(0x27d)]['on'](_0x44ce0c(0x25a),(_0x4dc011,_0x1d19d8,_0xf380f5)=>{const _0x4a84af=_0x44ce0c;if(_0xf380f5){const _0x24c3d9=this[_0x4a84af(0x27d)][_0x4a84af(0x263)][_0x4a84af(0x1e2)];_0x46b440[_0x4a84af(0x25c)](_0x4abfa4(_0x7c192d,_0x4a84af(0x21b),_0x24c3d9));}});}[_0x59bb7e(0x26d)](_0x23f211){const _0x66dd64=_0x59bb7e,_0x5efa89=this[_0x66dd64(0x24e)][_0x66dd64(0x1f3)](_0x23f211),_0x5d170b=this[_0x66dd64(0x274)],_0x2d5128=_0x5d170b[_0x66dd64(0x231)][_0x66dd64(0x1ff)][_0x66dd64(0x1f2)],_0x1e07a7=_0x5d170b[_0x66dd64(0x26a)][_0x66dd64(0x1f3)](_0x66dd64(0x228)),_0xfc9700=_0x5d170b[_0x66dd64(0x222)][_0x66dd64(0x1f3)](_0x48e185),_0x22e690=''+(_0x5efa89[_0x66dd64(0x25e)]!==_0x421b30?_0x5efa89[_0x66dd64(0x20a)]+':\x20':'')+_0x5efa89[_0x66dd64(0x256)];if(!0x1!==_0x5efa89[_0x66dd64(0x239)]&&_0x2d5128[_0x66dd64(0x26b)]){const _0x4dd0ee=_0x3b1d31(_0x2d5128[_0x66dd64(0x26e)]())||_0x5d170b[_0x66dd64(0x231)][_0x66dd64(0x202)][_0x66dd64(0x1dd)](_0x2d5128);_0x5d170b[_0x66dd64(0x231)][_0x66dd64(0x260)](_0x481547=>{const _0x185e26=_0x66dd64;_0x481547[_0x185e26(0x25b)](_0x4dd0ee,'in');});}_0xfc9700[_0x66dd64(0x268)](),_0x1e07a7[_0x66dd64(0x1f1)](_0x5efa89[_0x66dd64(0x1fa)],_0x22e690,_0x66dd64(0x1e0)+_0x23f211);}[_0x59bb7e(0x265)](_0x1a4262,_0x2285ef,_0x161302,_0x4697f5){const _0x57c85f=_0x59bb7e,_0x3b1c37=this[_0x57c85f(0x274)],_0x22ea5e=_0x3b1c37[_0x57c85f(0x270)],_0x249eab=new _0x465bea(_0x22ea5e),_0x309b17=U(_0x3b1c37,_0x161302)[_0x57c85f(0x282)](_0x363d39=>_0x363d39[_0x57c85f(0x26a)][_0x57c85f(0x24c)]);0x1===_0x309b17[_0x57c85f(0x24c)]?this[_0x57c85f(0x1f0)]({'command':_0x1a4262,'commands':_0x309b17[0x0][_0x57c85f(0x26a)],'parentMenuView':_0x2285ef,'onExecute':_0x4697f5})[_0x57c85f(0x27f)](_0x4be6a6=>_0x249eab[_0x57c85f(0x24a)][_0x57c85f(0x269)](_0x4be6a6)):_0x309b17[_0x57c85f(0x27f)](({groupId:_0x61f03c,groupLabel:_0x408970,commands:_0x3c7b32})=>{const _0x38aeff=_0x57c85f,_0x45b845=new _0x39cebf(_0x22ea5e,_0x2285ef),_0x136920=new _0xf5e03(_0x22ea5e),_0x585f10=new _0x465bea(_0x22ea5e),_0x33e74a=this[_0x38aeff(0x1f0)]({'command':_0x1a4262,'commands':_0x3c7b32,'parentMenuView':_0x136920,'onExecute':_0x4697f5});_0x136920[_0x38aeff(0x227)][_0x38aeff(0x22b)]({'label':_0x408970||_0x61f03c}),_0x136920[_0x38aeff(0x20b)](_0x38aeff(0x1f1))['to'](_0x2285ef),_0x585f10[_0x38aeff(0x24a)][_0x38aeff(0x27a)](_0x33e74a),_0x136920[_0x38aeff(0x249)][_0x38aeff(0x261)][_0x38aeff(0x269)](_0x585f10),_0x45b845[_0x38aeff(0x261)][_0x38aeff(0x269)](_0x136920),_0x249eab[_0x38aeff(0x24a)][_0x38aeff(0x269)](_0x45b845);}),_0x2285ef[_0x57c85f(0x249)][_0x57c85f(0x261)][_0x57c85f(0x269)](_0x249eab);}[_0x59bb7e(0x1f0)]({command:_0x53fe95,commands:_0x25ab4f,parentMenuView:_0xdbf095,onExecute:_0x155d43}){const _0xe7ff66=_0x59bb7e,_0x5a2d01=this[_0xe7ff66(0x274)],_0x4ce9cd=_0x5a2d01[_0xe7ff66(0x270)];return U(_0x5a2d01,_0x25ab4f)[_0xe7ff66(0x23b)](_0xb94544=>{const _0xe1a9c4=_0xe7ff66,_0x228856=new _0x39cebf(_0x4ce9cd,_0xdbf095),_0x9264b8=new _0x3ecfa8(_0x4ce9cd);return _0x9264b8[_0xe1a9c4(0x22b)]({'label':_0xb94544[_0xe1a9c4(0x256)]}),_0x9264b8[_0xe1a9c4(0x20b)](_0xe1a9c4(0x1f1))['to'](_0xdbf095),_0x9264b8['on'](_0xe1a9c4(0x1f1),()=>_0x155d43(_0xb94544['id'])),_0x9264b8[_0xe1a9c4(0x238)](_0xe1a9c4(0x210))['to'](_0x53fe95,_0xe1a9c4(0x1fc),_0x7d0c73=>_0x7d0c73[_0xe1a9c4(0x24f)](_0xb94544['id'])),_0x228856[_0xe1a9c4(0x261)][_0xe1a9c4(0x269)](_0x9264b8),_0x228856;});}}function T(_0x3c0848,_0x27675d){const _0x18f215=_0x59bb7e;return void 0x0!==_0x3c0848[_0x18f215(0x23a)]&&void 0x0===_0x27675d[_0x18f215(0x23a)]?0x1:void 0x0===_0x3c0848[_0x18f215(0x23a)]&&void 0x0!==_0x27675d[_0x18f215(0x23a)]?-0x1:void 0x0!==_0x3c0848[_0x18f215(0x23a)]&&void 0x0!==_0x27675d[_0x18f215(0x23a)]?_0x3c0848[_0x18f215(0x23a)]-_0x27675d[_0x18f215(0x23a)]:0x0;}function U(_0x4ee63b,_0x2df6f7){const _0x4a4075=_0x59bb7e;_0x2df6f7[_0x4a4075(0x27c)](T);const _0xd4b7ee={},_0x578c70=[];for(const _0x34ee54 of _0x2df6f7)if(void 0x0!==_0x34ee54[_0x4a4075(0x23a)]){if(_0x34ee54[_0x4a4075(0x23a)]in _0xd4b7ee)throw new _0x338621(_0x4a4075(0x207),_0x4ee63b,{'conflictingDefinitions':[_0x34ee54,_0xd4b7ee[_0x34ee54[_0x4a4075(0x23a)]]]});_0xd4b7ee[_0x34ee54[_0x4a4075(0x23a)]]=_0x34ee54,_0x578c70[_0x4a4075(0x266)](_0x34ee54[_0x4a4075(0x23a)],0x0,_0x34ee54);}else _0x578c70[_0x4a4075(0x286)](_0x34ee54);return _0x578c70;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa3ab16,_0x502207){var _0x211864=_0x374f,_0x2f01c8=_0xa3ab16();while(!![]){try{var _0xdfae64=-parseInt(_0x211864(0x1f4))/0x1*(parseInt(_0x211864(0x1ee))/0x2)+-parseInt(_0x211864(0x1ec))/0x3*(parseInt(_0x211864(0x1f2))/0x4)+parseInt(_0x211864(0x1f0))/0x5+-parseInt(_0x211864(0x1f1))/0x6+-parseInt(_0x211864(0x1ef))/0x7+-parseInt(_0x211864(0x1ed))/0x8+parseInt(_0x211864(0x1f3))/0x9;if(_0xdfae64===_0x502207)break;else _0x2f01c8['push'](_0x2f01c8['shift']());}catch(_0x5f2167){_0x2f01c8['push'](_0x2f01c8['shift']());}}}(_0x3d90,0xbc30f));export{AIAssistant,getDefaultAICommands}from'./aiassistant.js';export{AIAssistantUI}from'./aiassistantui.js';export{AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{AITextAdapter}from'./adapters/aitextadapter.js';export{OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{AWSTextAdapter}from'./adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./ui/showaiassistantcommand.js';import'./augmentation.js';function _0x374f(_0x41b571,_0x39c455){var _0x3d9044=_0x3d90();return _0x374f=function(_0x374f95,_0x28cd25){_0x374f95=_0x374f95-0x1ec;var _0x3646fd=_0x3d9044[_0x374f95];return _0x3646fd;},_0x374f(_0x41b571,_0x39c455);}function _0x3d90(){var _0x5085c8=['3oayOsL','52736bIPlWn','410DcHMnO','9201465RKzTPk','5492620EFOXQn','2760732nrcAtT','2961364jWqNII','22707783DfVPvq','1606fTYuFH'];_0x3d90=function(){return _0x5085c8;};return _0x3d90();}
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3e01(){var _0x5f190c=['3950ykKKlB','903976XYmovK','243604DjiiKq','28MbIgFm','2qNFHHE','815730CcdcaV','42769kGOPIJ','121diXwaJ','4113dZrGzL','1248576naerFJ','723894BlXGdy','35EdvUoq'];_0x3e01=function(){return _0x5f190c;};return _0x3e01();}(function(_0x54698b,_0x293480){var _0x219d9c=_0x581c,_0x3fd86a=_0x54698b();while(!![]){try{var _0xa15464=-parseInt(_0x219d9c(0xb8))/0x1+-parseInt(_0x219d9c(0xb6))/0x2*(parseInt(_0x219d9c(0xb7))/0x3)+parseInt(_0x219d9c(0xb4))/0x4*(-parseInt(_0x219d9c(0xbd))/0x5)+parseInt(_0x219d9c(0xbc))/0x6+-parseInt(_0x219d9c(0xb5))/0x7*(parseInt(_0x219d9c(0xbf))/0x8)+parseInt(_0x219d9c(0xba))/0x9*(parseInt(_0x219d9c(0xbe))/0xa)+parseInt(_0x219d9c(0xb9))/0xb*(parseInt(_0x219d9c(0xbb))/0xc);if(_0xa15464===_0x293480)break;else _0x3fd86a['push'](_0x3fd86a['shift']());}catch(_0x2686d1){_0x3fd86a['push'](_0x3fd86a['shift']());}}}(_0x3e01,0x3db2e));function _0x581c(_0x53357e,_0x11fc2c){var _0x3e01c1=_0x3e01();return _0x581c=function(_0x581c70,_0x1ea185){_0x581c70=_0x581c70-0xb4;var _0x111ec3=_0x3e01c1[_0x581c70];return _0x111ec3;},_0x581c(_0x53357e,_0x11fc2c);}import{CKEditorError as _0x4eaeb7}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1d7f7c=_0x9306;(function(_0x3d57b7,_0x85a289){const _0x4333ba=_0x9306,_0x38f5b2=_0x3d57b7();while(!![]){try{const _0x1a5e25=-parseInt(_0x4333ba(0x1b2))/0x1*(-parseInt(_0x4333ba(0x181))/0x2)+parseInt(_0x4333ba(0x17d))/0x3*(parseInt(_0x4333ba(0x16c))/0x4)+-parseInt(_0x4333ba(0x1c1))/0x5*(parseInt(_0x4333ba(0x187))/0x6)+parseInt(_0x4333ba(0x170))/0x7*(parseInt(_0x4333ba(0x1ae))/0x8)+-parseInt(_0x4333ba(0x1b4))/0x9*(parseInt(_0x4333ba(0x161))/0xa)+parseInt(_0x4333ba(0x188))/0xb*(parseInt(_0x4333ba(0x164))/0xc)+-parseInt(_0x4333ba(0x1b5))/0xd*(parseInt(_0x4333ba(0x1be))/0xe);if(_0x1a5e25===_0x85a289)break;else _0x38f5b2['push'](_0x38f5b2['shift']());}catch(_0x46e680){_0x38f5b2['push'](_0x38f5b2['shift']());}}}(_0x3440,0x7305f));import{ObservableMixin as _0x2deb92}from'ckeditor5/src/utils.js';function _0x3440(){const _0x5654e2=['textAdapter','```','3057016iToGKH','div','_sanitizationContainer','abort','13597ssusEJ','toView','239004UGzhqv','39wKLvPY','render','set','ELEMENT_NODE','setContentOf','rename','config','startsWith','markers','2561986HPXVNZ','value','length','43090XveoXD','stopListening','destroy','get','querySelector','finally','stringify','_stripMarkdownSyntax','320XIYRKG','listenTo','currentResponse','12NPHSaY','reset','_handleQuery','<h1></h1>','editing','tryAgainEvent','ai.aiAssistant.preserveComments','toModel','4ewiCNq','catch','previousContext','body','7eNmMqj','prompt','htmlProcessor','name','previousQuery','makeRequest','message','trim','previousActionId','element','_parseAndNormalizeContent','custom','text/html','2631171tCPXOT','remove','push','nodeType','106BPTAnw','_isH1TagSupportEnabled','reverse','childNodes','editor','previousLabel','402rnbNil','5142555hVPJNh','view','updateView','finishProcessing','innerHTML','isProcessing','currentContext','handleError','submitPrompt','once','processor','parseFromString','from','_xmlSerializer','domConverter','_sanitizeHTML','createElement','startProcessing','_domParser','viewToDom','then','```html','mainAction','endsWith','set:currentContext','substring','isRendered','_normalizeResponseHeadings','exec','serializeToString','initialContext','document','clear','stopProcessing','match','data'];_0x3440=function(){return _0x5654e2;};return _0x3440();}function _0x9306(_0x223e5f,_0x22017d){const _0x344053=_0x3440();return _0x9306=function(_0x930607,_0x29c156){_0x930607=_0x930607-0x15f;let _0xb72235=_0x344053[_0x930607];return _0xb72235;},_0x9306(_0x223e5f,_0x22017d);}import{AIRequestError as _0x15f098}from'../adapters/aiadapter.js';import{Matcher as _0xbefcee,ViewUpcastWriter as _0x54208f}from'ckeditor5/src/engine.js';const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2deb92(){[_0x1d7f7c(0x185)];[_0x1d7f7c(0x1ac)];[_0x1d7f7c(0x189)];[_0x1d7f7c(0x1b0)];[_0x1d7f7c(0x19a)];[_0x1d7f7c(0x195)];constructor(_0x5aa126,_0x32ab14,_0x330dda){const _0x4689f6=_0x1d7f7c;super(),this[_0x4689f6(0x185)]=_0x5aa126,this[_0x4689f6(0x1ac)]=_0x32ab14,this[_0x4689f6(0x1b0)]=document[_0x4689f6(0x198)](_0x4689f6(0x1af)),this[_0x4689f6(0x19a)]=new DOMParser(),this[_0x4689f6(0x195)]=new XMLSerializer(),this[_0x4689f6(0x189)]=_0x330dda,this[_0x4689f6(0x1b7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x4689f6(0x1a0),(_0x5eb6b4,_0x15dd3d,_0x3e357b)=>{const _0x4332c3=_0x4689f6;this[_0x4332c3(0x189)][_0x4332c3(0x1bf)]=this[_0x4332c3(0x197)](_0x3e357b);}),this[_0x4689f6(0x162)](this[_0x4689f6(0x189)],_0x4689f6(0x190),(_0x59b55b,_0xd95b75)=>{const _0x467a54=_0x4689f6,_0x407eb4=this[_0x467a54(0x18e)]||this[_0x467a54(0x1a6)];this[_0x467a54(0x166)](_0xd95b75,_0x407eb4,_0x467a54(0x17b));}),this[_0x4689f6(0x162)](this[_0x4689f6(0x189)],_0x4689f6(0x169),()=>{const _0x4b63fe=_0x4689f6;this[_0x4b63fe(0x189)][_0x4b63fe(0x171)]=this[_0x4b63fe(0x186)],this[_0x4b63fe(0x166)](this[_0x4b63fe(0x174)],this[_0x4b63fe(0x16e)],this[_0x4b63fe(0x178)],this[_0x4b63fe(0x186)]);}),this[_0x4689f6(0x162)](this[_0x4689f6(0x189)],_0x4689f6(0x1a9),()=>{const _0x21352b=_0x4689f6;this[_0x21352b(0x1a9)]();});}[_0x1d7f7c(0x1c3)](){const _0x46a6b8=_0x1d7f7c;this[_0x46a6b8(0x1c2)]();}async[_0x1d7f7c(0x18a)]({actionId:_0x335dc3,query:_0x33a442,htmlContent:_0x3f130e,label:_0x30a520,mainActionLabel:_0x26af74}){const _0xe1bcd5=_0x1d7f7c;this[_0xe1bcd5(0x189)][_0xe1bcd5(0x171)]=_0x30a520,this[_0xe1bcd5(0x189)][_0xe1bcd5(0x19e)]=_0x26af74,this[_0xe1bcd5(0x1a6)]=_0x3f130e,_0x33a442&&(this[_0xe1bcd5(0x189)][_0xe1bcd5(0x1a2)]?this[_0xe1bcd5(0x166)](_0x33a442,_0x3f130e,_0x335dc3,_0x30a520):this[_0xe1bcd5(0x189)][_0xe1bcd5(0x191)](_0xe1bcd5(0x1b6),()=>{const _0x2495be=_0xe1bcd5;this[_0x2495be(0x166)](_0x33a442,_0x3f130e,_0x335dc3,_0x30a520);}));}[_0x1d7f7c(0x1a9)](){const _0x3cdb1f=_0x1d7f7c;this[_0x3cdb1f(0x18d)]&&(this[_0x3cdb1f(0x18d)]=!0x1,this[_0x3cdb1f(0x189)][_0x3cdb1f(0x18b)](),this[_0x3cdb1f(0x1ac)][_0x3cdb1f(0x1b1)]());}[_0x1d7f7c(0x165)](){const _0x40a69b=_0x1d7f7c;this[_0x40a69b(0x1a6)]='',this[_0x40a69b(0x18e)]='',this[_0x40a69b(0x163)]='',this[_0x40a69b(0x16e)]='',this[_0x40a69b(0x174)]='',this[_0x40a69b(0x186)]='',this[_0x40a69b(0x178)]=void 0x0,this[_0x40a69b(0x189)][_0x40a69b(0x165)](),this[_0x40a69b(0x1a9)]();}async[_0x1d7f7c(0x166)](_0x1b0b0b,_0x56e304,_0x52f2c5,_0x2d9634){const _0x22a25c=_0x1d7f7c;return this[_0x22a25c(0x18d)]=!0x0,this[_0x22a25c(0x189)][_0x22a25c(0x199)](),this[_0x22a25c(0x16e)]=_0x56e304,this[_0x22a25c(0x174)]=_0x1b0b0b,this[_0x22a25c(0x186)]=_0x2d9634||_0x1b0b0b,this[_0x22a25c(0x178)]=_0x52f2c5,new Promise(_0x3177c4=>{const _0x71f124=_0x22a25c;this[_0x71f124(0x1ac)][_0x71f124(0x175)]({'query':_0x1b0b0b,'context':_0x56e304,'onData':_0x2983f2=>{const _0x35bb26=_0x71f124;this[_0x35bb26(0x163)]=_0x2983f2,this[_0x35bb26(0x18e)]=this[_0x35bb26(0x17a)](this[_0x35bb26(0x163)]);},'actionId':_0x52f2c5})[_0x71f124(0x19c)](()=>{const _0x327d1b=_0x71f124;!this[_0x327d1b(0x18e)]&&this[_0x327d1b(0x163)]&&(this[_0x327d1b(0x18e)]=this[_0x327d1b(0x17a)](this[_0x327d1b(0x163)],!0x0));})[_0x71f124(0x16d)](_0x460b0c=>{const _0x3774ce=_0x71f124;_0x460b0c instanceof _0x15f098?this[_0x3774ce(0x189)][_0x3774ce(0x18f)](_0x460b0c[_0x3774ce(0x176)]):this[_0x3774ce(0x189)][_0x3774ce(0x18f)](),_0x3177c4();})[_0x71f124(0x1c6)](()=>{const _0x1f934a=_0x71f124;this[_0x1f934a(0x1a9)](),_0x3177c4();});});}[_0x1d7f7c(0x17a)](_0x3abe9a,_0x12c1fc=!0x1){const _0x470948=_0x1d7f7c,_0x51c166=Q[_0x470948(0x1a4)](_0x3abe9a);_0x3abe9a=_0x51c166?_0x3abe9a[_0x470948(0x1a1)](_0x51c166[0x1][_0x470948(0x1c0)]):_0x3abe9a[_0x470948(0x1c0)]<0x64&&!_0x12c1fc?'':this[_0x470948(0x160)](_0x3abe9a);const _0x5e06b1=this[_0x470948(0x19a)][_0x470948(0x193)](_0x3abe9a,_0x470948(0x17c));if(_0x51c166){const _0x680600=Array[_0x470948(0x194)](_0x5e06b1[_0x470948(0x16f)][_0x470948(0x184)]);_0x680600[_0x470948(0x183)]();for(const _0x55f64c of _0x680600){if(_0x55f64c[_0x470948(0x180)]==Node[_0x470948(0x1b8)])break;_0x55f64c[_0x470948(0x17e)]();}}const _0x283878=this[_0x470948(0x185)][_0x470948(0x1ab)][_0x470948(0x192)][_0x470948(0x1b3)](this[_0x470948(0x195)][_0x470948(0x1a5)](_0x5e06b1[_0x470948(0x16f)]));this[_0x470948(0x182)]()||this[_0x470948(0x1a3)](_0x283878);const _0xcea67=this[_0x470948(0x185)][_0x470948(0x1bb)][_0x470948(0x1c4)](_0x470948(0x16a)),_0x2ca30c=this[_0x470948(0x185)][_0x470948(0x1ab)][_0x470948(0x16b)](_0x283878);return _0xcea67||_0x2ca30c[_0x470948(0x1bd)][_0x470948(0x1a8)](),this[_0x470948(0x185)][_0x470948(0x1ab)][_0x470948(0x15f)](_0x2ca30c);}[_0x1d7f7c(0x1a3)](_0x35a7cf){const _0x3f3323=_0x1d7f7c,_0x4dc0f3=new _0x54208f(this[_0x3f3323(0x185)][_0x3f3323(0x168)][_0x3f3323(0x189)][_0x3f3323(0x1a7)]),_0x3cc062=new _0xbefcee({'name':/^h[1-5]$/}),_0x445e6e=[];let _0x5452df=!0x1;for(const _0x717c4b of _0x35a7cf)_0x717c4b['is'](_0x3f3323(0x179))&&_0x3cc062[_0x3f3323(0x1aa)](_0x717c4b)&&(_0x445e6e[_0x3f3323(0x17f)](_0x717c4b),'h1'==_0x717c4b[_0x3f3323(0x173)]&&(_0x5452df=!0x0));if(_0x5452df){for(const _0x47e460 of _0x445e6e)_0x4dc0f3[_0x3f3323(0x1ba)]('h'+(parseInt(_0x47e460[_0x3f3323(0x173)][0x1])+0x1),_0x47e460);}}[_0x1d7f7c(0x182)](){const _0x2a33eb=_0x1d7f7c,{data:_0x452c37,editing:_0x45fb7a}=this[_0x2a33eb(0x185)],_0x42aa3d=_0x452c37[_0x2a33eb(0x172)][_0x2a33eb(0x1b3)](_0x2a33eb(0x167)),_0x4b1d8d=_0x452c37[_0x2a33eb(0x1b3)](_0x452c37[_0x2a33eb(0x16b)](_0x42aa3d));return!!_0x45fb7a[_0x2a33eb(0x189)][_0x2a33eb(0x196)][_0x2a33eb(0x19b)](_0x4b1d8d)[_0x2a33eb(0x1c5)]('h1');}[_0x1d7f7c(0x197)](_0x29fe09){const _0x3e7413=_0x1d7f7c;return this[_0x3e7413(0x185)][_0x3e7413(0x168)][_0x3e7413(0x189)][_0x3e7413(0x196)][_0x3e7413(0x1b9)](this[_0x3e7413(0x1b0)],_0x29fe09),this[_0x3e7413(0x1b0)][_0x3e7413(0x18c)];}[_0x1d7f7c(0x160)](_0x3aa1b6){const _0x1361f5=_0x1d7f7c,_0x4186a5=_0x3aa1b6[_0x1361f5(0x177)]();return _0x4186a5[_0x1361f5(0x1bc)](_0x1361f5(0x19d))?_0x4186a5[_0x1361f5(0x19f)](_0x1361f5(0x1ad))?_0x4186a5[_0x1361f5(0x1a1)](0x7,_0x4186a5[_0x1361f5(0x1c0)]-0x3):_0x4186a5[_0x1361f5(0x1a1)](0x7):_0x3aa1b6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3cfe89=_0x5857;(function(_0x43dade,_0x411ac2){const _0x25c2c6=_0x5857,_0x32d787=_0x43dade();while(!![]){try{const _0x3a5427=-parseInt(_0x25c2c6(0xcd))/0x1+-parseInt(_0x25c2c6(0x9b))/0x2*(parseInt(_0x25c2c6(0xd6))/0x3)+parseInt(_0x25c2c6(0x98))/0x4*(parseInt(_0x25c2c6(0xb8))/0x5)+parseInt(_0x25c2c6(0xa8))/0x6*(parseInt(_0x25c2c6(0xd4))/0x7)+parseInt(_0x25c2c6(0x9a))/0x8*(-parseInt(_0x25c2c6(0xc7))/0x9)+-parseInt(_0x25c2c6(0xe3))/0xa+-parseInt(_0x25c2c6(0xa7))/0xb*(-parseInt(_0x25c2c6(0xb4))/0xc);if(_0x3a5427===_0x411ac2)break;else _0x32d787['push'](_0x32d787['shift']());}catch(_0xc1a6bf){_0x32d787['push'](_0x32d787['shift']());}}}(_0x1161,0xc4242));import{global as _0x4f6ea3}from'ckeditor5/src/utils.js';import{View as _0x452513,ButtonView as _0x51f06b,SpinnerView as _0x96abe1}from'ckeditor5/src/ui.js';import{IconCheck as _0x2a1009,IconCopy as _0x8785a2}from'ckeditor5/src/icons.js';import{getTranslation as _0x356b94}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x452513{[_0x3cfe89(0xc1)];[_0x3cfe89(0xb9)];constructor(_0x4facdb,_0x2f5650=''){const _0x5071fd=_0x3cfe89;super(_0x4facdb),this[_0x5071fd(0xaf)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3b0e1b=this[_0x5071fd(0xa2)];this[_0x5071fd(0xc1)]=new ContentFieldView(_0x4facdb,_0x2f5650),this[_0x5071fd(0xb9)]=this[_0x5071fd(0xcb)](),this[_0x5071fd(0xac)]({'tag':_0x5071fd(0x9c),'attributes':{'class':['ck',_0x5071fd(0xc2),_0x3b0e1b['if'](_0x5071fd(0xe1),_0x5071fd(0xa5),_0x31b6f0=>!_0x31b6f0)],'tabindex':'-1'},'children':[{'tag':_0x5071fd(0x9c),'attributes':{'class':['ck',_0x5071fd(0xd9),_0x3b0e1b['if'](_0x5071fd(0xb3),_0x5071fd(0xd2))]},'children':[this[_0x5071fd(0xc1)],{'tag':_0x5071fd(0x9c),'attributes':{'class':['ck',_0x5071fd(0xe0)]},'children':[this[_0x5071fd(0xb9)]]}]}]});}[_0x3cfe89(0xd7)](){const _0x23a2d7=_0x3cfe89;super[_0x23a2d7(0xd7)](),this[_0x23a2d7(0xb1)]&&this[_0x23a2d7(0xc1)][_0x23a2d7(0xc3)](this[_0x23a2d7(0xb1)]);let _0x150aaa=!0x1;this['on'](_0x23a2d7(0xc5),(_0x3ab124,_0xbf114f,_0x337be2)=>{const _0x442a60=_0x23a2d7,_0x22780c=!this[_0x442a60(0xc1)][_0x442a60(0xca)][_0x442a60(0xce)](_0x442a60(0xa3));this[_0x442a60(0xc1)][_0x442a60(0xc3)](_0x337be2),this[_0x442a60(0xb3)]&&_0x22780c&&!_0x150aaa&&this[_0x442a60(0xca)][_0x442a60(0x93)]({'top':this[_0x442a60(0xca)][_0x442a60(0x95)],'behavior':_0x442a60(0xcf)});}),this['on'](_0x23a2d7(0xdc),(_0xba9ddc,_0x28e0b2,_0x2f460c)=>{const _0x19b71e=_0x23a2d7;_0x150aaa=!0x1,_0x2f460c?(this[_0x19b71e(0xb1)]=null,this[_0x19b71e(0xc1)][_0x19b71e(0xe2)]()):this[_0x19b71e(0xb1)]||this[_0x19b71e(0xc1)][_0x19b71e(0xc3)]('');}),this[_0x23a2d7(0xde)](this[_0x23a2d7(0xca)],_0x23a2d7(0xa4),()=>{_0x150aaa=!0x0;}),this[_0x23a2d7(0xde)](this[_0x23a2d7(0xca)],_0x23a2d7(0x99),()=>{_0x150aaa=!0x0;});}[_0x3cfe89(0xdd)](){const _0x1b4169=_0x3cfe89;this[_0x1b4169(0xca)][_0x1b4169(0xdd)]();}[_0x3cfe89(0xcb)](){const _0x577035=_0x3cfe89,_0x4246a5=this[_0x577035(0xd0)],_0x11fb8d=new _0x51f06b(this[_0x577035(0xd0)]),_0x5cbea3=_0x577035(0xc6);return _0x11fb8d[_0x577035(0xaf)]({'label':_0x356b94(_0x4246a5,_0x577035(0xc4)),'icon':_0x8785a2,'class':_0x5cbea3,'tooltip':!0x0}),_0x11fb8d[_0x577035(0xbe)](_0x577035(0xe1))['to'](this,_0x577035(0xb1),_0x4e2c02=>!!_0x4e2c02),_0x11fb8d[_0x577035(0xbe)](_0x577035(0xcc))['to'](this,_0x577035(0xb3),_0x30c537=>!_0x30c537),_0x11fb8d['on'](_0x577035(0xd1),()=>{const _0x31a8f4=_0x577035;this[_0x31a8f4(0xae)](this[_0x31a8f4(0xc1)][_0x31a8f4(0xca)]),_0x11fb8d[_0x31a8f4(0xa9)]=_0x2a1009,_0x11fb8d[_0x31a8f4(0x91)]=_0x5cbea3+_0x31a8f4(0xbc),this[_0x31a8f4(0xdd)](),setTimeout(()=>{const _0x1abf1e=_0x31a8f4;_0x11fb8d[_0x1abf1e(0xa9)]=_0x8785a2,_0x11fb8d[_0x1abf1e(0x91)]=_0x5cbea3;},0x3e8);}),_0x11fb8d;}[_0x3cfe89(0xae)](_0x549977){const _0xedabb9=_0x3cfe89,{window:_0x3cd98c,document:_0x4b58b2}=_0x4f6ea3;if(_0x3cd98c[_0xedabb9(0x9e)]){const {Blob:_0x60bb36,ClipboardItem:_0x274a24}=_0x3cd98c,_0x5d8ce6=[new _0x274a24({'text/html':new _0x60bb36([_0x549977[_0xedabb9(0xaa)]],{'type':_0xedabb9(0xb5)}),'text/plain':new _0x60bb36([_0x549977[_0xedabb9(0xab)]||''],{'type':_0xedabb9(0x9f)})})];navigator[_0xedabb9(0xb2)][_0xedabb9(0x97)](_0x5d8ce6);}else{const _0x16bc2f=_0x4b58b2[_0xedabb9(0x94)](_0xedabb9(0x9c));_0x16bc2f[_0xedabb9(0x9d)][_0xedabb9(0xbd)]=_0xedabb9(0xc0),_0x16bc2f[_0xedabb9(0x9d)][_0xedabb9(0xa6)]=_0xedabb9(0xad),_0x16bc2f[_0xedabb9(0xaa)]=_0xedabb9(0xc8)+_0x549977[_0xedabb9(0xaa)]+_0xedabb9(0xda),_0x4b58b2[_0xedabb9(0xa1)][_0xedabb9(0xe4)](_0x16bc2f);const _0x469216=_0x4b58b2[_0xedabb9(0xc9)]();_0x469216[_0xedabb9(0xba)](_0x16bc2f[_0xedabb9(0xd8)]),_0x469216[_0xedabb9(0x90)](_0x16bc2f[_0xedabb9(0xbb)]);const _0x239864=_0x3cd98c[_0xedabb9(0xdf)]();_0x239864[_0xedabb9(0xb0)](),_0x239864[_0xedabb9(0x92)](_0x469216),_0x4b58b2[_0xedabb9(0xdb)](_0xedabb9(0xb7)),_0x16bc2f[_0xedabb9(0x96)]();}}}export class ContentFieldView extends _0x452513{constructor(_0x3dd7b3,_0x4f0b6f=''){const _0x295fee=_0x3cfe89;super(_0x3dd7b3),this[_0x295fee(0xa0)]=this[_0x295fee(0xe6)](),this[_0x295fee(0xac)]({'tag':_0x295fee(0x9c),'attributes':{'class':['ck',_0x295fee(0xd5),_0x4f0b6f,_0x295fee(0xb6),_0x295fee(0xe5)]}});}[_0x3cfe89(0xc3)](_0x22c4d1){const _0x31db4f=_0x3cfe89;this[_0x31db4f(0xca)][_0x31db4f(0xaa)]=_0x22c4d1;}[_0x3cfe89(0xe2)](){const _0x4f1115=_0x3cfe89;this[_0x4f1115(0xca)][_0x4f1115(0xe4)](this[_0x4f1115(0xa0)][_0x4f1115(0xca)]);}[_0x3cfe89(0xe6)](){const _0x2596d9=_0x3cfe89,_0x1704b=new _0x452513(),_0x288b3b=this[_0x2596d9(0xd0)],_0x1b6c44=new _0x96abe1();return _0x1b6c44[_0x2596d9(0xe1)]=!0x0,_0x1704b[_0x2596d9(0xac)]({'tag':_0x2596d9(0x9c),'attributes':{'class':['ck',_0x2596d9(0xd3)]},'children':[_0x1b6c44,{'text':_0x356b94(_0x288b3b,_0x2596d9(0xbf))}]}),_0x1704b[_0x2596d9(0xd7)](),_0x1704b;}}function _0x5857(_0x877883,_0x657480){const _0x1161e7=_0x1161();return _0x5857=function(_0x585770,_0x177969){_0x585770=_0x585770-0x90;let _0x3d4a98=_0x1161e7[_0x585770];return _0x3d4a98;},_0x5857(_0x877883,_0x657480);}function _0x1161(){const _0x1cf1dc=['isEnabled','27063IrRFaT','querySelector','smooth','locale','execute','ck-ai-form__content-area--processing','ck-ai-form__loader','7qhenmX','ck-content','6HWhExg','render','firstElementChild','ck-ai-form__content-area','<span>]</span>','execCommand','change:isProcessing','focus','listenTo','getSelection','ck-ai-form__copy-button-wrapper','isVisible','appendLoader','9259490AULlLt','appendChild','ck-ai-form__content-field','_createLoader','setEndBefore','class','addRange','scrollTo','createElement','scrollHeight','remove','write','56RDSYYb','mousedown','19288TsvjxP','409918ivbhkR','div','style','ClipboardItem','text/plain','loaderView','body','bindTemplate','.ck-ai-form__loader','wheel','ck-hidden','left','207658vguMSN','348414hpvZBw','icon','innerHTML','textContent','setTemplate','-9999px','_copyHTMLToClipboard','set','removeAllRanges','value','clipboard','isProcessing','972CCTIup','text/html','ck-reset_all-excluded','copy','295525TDbIed','copyButtonView','setStartAfter','lastElementChild','\x20ck-ai-form__copy-button--copied','position','bind','AI\x20is\x20writing...','absolute','contentFieldView','ck-ai-form__content-area-wrapper','setContent','Copy','change:value','ck-ai-form__copy-button','927RaxZbh','<span>[</span>','createRange','element','_createCopyButton'];_0x1161=function(){return _0x1cf1dc;};return _0x1161();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44e010,_0x236f37){const _0x369923=_0x3178,_0x2a9de3=_0x44e010();while(!![]){try{const _0xaff436=-parseInt(_0x369923(0x9d))/0x1+-parseInt(_0x369923(0x90))/0x2*(-parseInt(_0x369923(0x9a))/0x3)+-parseInt(_0x369923(0x9b))/0x4+-parseInt(_0x369923(0x8d))/0x5+-parseInt(_0x369923(0x92))/0x6*(parseInt(_0x369923(0x98))/0x7)+parseInt(_0x369923(0x8c))/0x8*(-parseInt(_0x369923(0x9c))/0x9)+parseInt(_0x369923(0x8e))/0xa*(parseInt(_0x369923(0x91))/0xb);if(_0xaff436===_0x236f37)break;else _0x2a9de3['push'](_0x2a9de3['shift']());}catch(_0x3748b9){_0x2a9de3['push'](_0x2a9de3['shift']());}}}(_0x368b,0x65e1b));import{IconError as _0x2fd3a4}from'ckeditor5/src/icons.js';import{View as _0x4d6d43,IconView as _0x1b667c}from'ckeditor5/src/ui.js';function _0x368b(){const _0x11b2bd=['6TmbTWR','setTemplate','text','set','div','bindTemplate','192059izHbfk','ck-ai-form__error','3DJRjUu','2713628HGnSSd','7486515NXIonw','772716XdWhBL','8vGGwkh','3966790IfazEj','4580JMAQQR','content','667676itVWcv','76549aapHpq'];_0x368b=function(){return _0x11b2bd;};return _0x368b();}function _0x3178(_0x1a5d2c,_0x10be3c){const _0x368bca=_0x368b();return _0x3178=function(_0x31783b,_0x492282){_0x31783b=_0x31783b-0x8c;let _0x38caad=_0x368bca[_0x31783b];return _0x38caad;},_0x3178(_0x1a5d2c,_0x10be3c);}export class AIFormErrorView extends _0x4d6d43{constructor(_0x5c4a86,_0x58cce4=''){const _0x4fb47a=_0x3178;super(_0x5c4a86);const _0x107715=new _0x1b667c(),_0x10ce89=this[_0x4fb47a(0x97)];this[_0x4fb47a(0x95)](_0x4fb47a(0x94),_0x58cce4),_0x107715[_0x4fb47a(0x8f)]=_0x2fd3a4,this[_0x4fb47a(0x93)]({'tag':_0x4fb47a(0x96),'attributes':{'class':['ck',_0x4fb47a(0x99)]},'children':[_0x107715,{'text':_0x10ce89['to'](_0x4fb47a(0x94))}]});}}
|