@ckeditor/ckeditor5-ai 44.3.0-alpha.4 → 44.3.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x588d87=_0x2d60;(function(_0x597cf9,_0x3508d7){const _0x3222bc=_0x2d60,_0x562332=_0x597cf9();while(!![]){try{const _0x5f23e6=-parseInt(_0x3222bc(0x114))/0x1+parseInt(_0x3222bc(0x124))/0x2+-parseInt(_0x3222bc(0x128))/0x3*(-parseInt(_0x3222bc(0x109))/0x4)+parseInt(_0x3222bc(0xe6))/0x5+parseInt(_0x3222bc(0xed))/0x6*(parseInt(_0x3222bc(0xdc))/0x7)+-parseInt(_0x3222bc(0xec))/0x8+-parseInt(_0x3222bc(0xe8))/0x9;if(_0x5f23e6===_0x3508d7)break;else _0x562332['push'](_0x562332['shift']());}catch(_0x58c90a){_0x562332['push'](_0x562332['shift']());}}}(_0x325c,0x693c6));import{Plugin as _0x4b40ba}from'ckeditor5/src/core.js';function _0x2d60(_0x164a80,_0x226829){const _0x325c54=_0x325c();return _0x2d60=function(_0x2d607a,_0x38da51){_0x2d607a=_0x2d607a-0xc8;let _0x13869b=_0x325c54[_0x2d607a];return _0x13869b;},_0x2d60(_0x164a80,_0x226829);}import _0x30c0fd from'./aiassistantui.js';import _0x3e06c8 from'./aiassistantediting.js';import{getTranslation as _0x4fb7a6}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x172fa0}from'./utils/normalizecommandsconfig.js';export default class r extends _0x4b40ba{static get[_0x588d87(0x10f)](){return[_0x30c0fd,_0x3e06c8];}static get[_0x588d87(0xff)](){const _0x5b064d=_0x588d87;return _0x5b064d(0xde);}static get[_0x588d87(0xe1)](){return!0x0;}static get[_0x588d87(0x107)](){return!0x0;}constructor(_0x5b4200){const _0x5ef742=_0x588d87;super(_0x5b4200);const _0x23f724=_0x5b4200[_0x5ef742(0x100)],_0x1af4fe=_0x5b4200[_0x5ef742(0x12b)];_0x23f724[_0x5ef742(0xc9)](_0x5ef742(0x12d),!0x0),_0x23f724[_0x5ef742(0xc9)](_0x5ef742(0xf9),getDefaultCommands(_0x1af4fe)),_0x23f724[_0x5ef742(0xc9)](_0x5ef742(0x134),[]),_0x23f724[_0x5ef742(0xc9)](_0x5ef742(0x110),[]);let _0x55358d=_0x172fa0(_0x23f724[_0x5ef742(0xe7)](_0x5ef742(0xf9)),_0x1af4fe);const _0x2b68e8=_0x23f724[_0x5ef742(0xe7)](_0x5ef742(0x134)),_0x12d5d5=_0x23f724[_0x5ef742(0xe7)](_0x5ef742(0x110));_0x2b68e8[_0x5ef742(0x135)](_0x5095c1=>{const _0x5f3897=_0x5ef742,_0x41a94d=_0x55358d[_0x5f3897(0xee)](_0x2a92d9=>_0x2a92d9[_0x5f3897(0x113)]===_0x5095c1[_0x5f3897(0x113)]);_0x41a94d?_0x41a94d[_0x5f3897(0x11b)]=_0x41a94d[_0x5f3897(0x11b)][_0x5f3897(0x11e)](_0x5095c1[_0x5f3897(0x11b)]):_0x55358d[_0x5f3897(0xf1)](_0x5095c1);}),_0x55358d=_0x55358d[_0x5ef742(0x108)](_0xcc83b9=>!_0x12d5d5[_0x5ef742(0xf7)](_0xcc83b9[_0x5ef742(0x113)])),_0x55358d[_0x5ef742(0x135)](_0x4a5c5b=>{const _0x5bf517=_0x5ef742;_0x4a5c5b[_0x5bf517(0x11b)]=_0x4a5c5b[_0x5bf517(0x11b)][_0x5bf517(0x108)](_0x4de98d=>!_0x12d5d5[_0x5bf517(0xf7)](_0x4de98d['id']));}),_0x23f724[_0x5ef742(0x105)](_0x5ef742(0xf9),_0x55358d);}}function _0x325c(){const _0x330da4=['Hindi','simplifyLanguage','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','friendly','Business','4153667cEPxRX','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','AIAssistant','Continue','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','isOfficialPlugin','Spanish','Translate\x20the\x20content\x20to\x20Spanish\x20language.','English','Translate\x20the\x20content\x20to\x20English\x20language.','1203770QuQibM','get','3505482kPmnqU','makeShorter','casual','Simplified\x20Chinese','1425728CBdhze','6jYCzHk','find','Legal','Simplify\x20language','push','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','translatePortuguese','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Translate\x20the\x20content\x20to\x20French\x20language.','Portuguese','includes','Make\x20longer','ai.aiAssistant.commands','improveWriting','translateFrench','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Change\x20tone','continue','pluginName','config','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','translateChinese','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','generate','set','Casual','isPremiumPlugin','filter','1692bTNELO','editOrReview','translateEnglish','German','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Arabic','requires','ai.aiAssistant.removeCommands','legal','Translate\x20the\x20content\x20to\x20German\x20language.','groupId','105633bqVYPj','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Direct','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','confident','makeLonger','Translate','commands','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','concat','changeStyle','translateArabic','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Confident','poetic','488910ZdXrga','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Summarize','Poetic','183IPSrgF','Professional','Generate\x20from\x20selection','locale','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','ai.aiAssistant.preserveComments','business','Translate\x20the\x20content\x20to\x20Hindi\x20language.','translateGerman','direct','translateHindi','translateSpanish','ai.aiAssistant.extraCommandGroups','forEach','Change\x20style','define','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translate','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Friendly','Improve\x20writing','journalism','professional','French','changeTone','summarize','Make\x20shorter','Journalism'];_0x325c=function(){return _0x330da4;};return _0x325c();}export function getDefaultCommands(_0x4d82eb){const _0xddba04=_0x588d87;return[{'groupId':_0xddba04(0x10a),'groupLabel':_0x4fb7a6(_0x4d82eb,_0xddba04(0xcc)),'commands':[{'id':_0xddba04(0xfa),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xcf)),'prompt':_0xddba04(0x11c)},{'id':_0xddba04(0xe9),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xd5)),'prompt':_0xddba04(0x125)},{'id':_0xddba04(0x119),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xf8)),'prompt':_0xddba04(0xe0)},{'id':_0xddba04(0xd8),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xf0)),'prompt':_0xddba04(0x121)}]},{'groupId':_0xddba04(0x104),'groupLabel':_0x4fb7a6(_0x4d82eb,_0xddba04(0x12a)),'commands':[{'id':_0xddba04(0xd4),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0x126)),'prompt':_0xddba04(0xca)},{'id':_0xddba04(0xfe),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xdf)),'prompt':_0xddba04(0x12c)}]},{'groupId':_0xddba04(0xd3),'groupLabel':_0x4fb7a6(_0x4d82eb,_0xddba04(0xfd)),'commands':[{'id':_0xddba04(0xd1),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0x129)),'prompt':_0xddba04(0xf2)},{'id':_0xddba04(0xea),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0x106)),'prompt':_0xddba04(0x115)},{'id':_0xddba04(0x131),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0x116)),'prompt':_0xddba04(0xd9)},{'id':_0xddba04(0x118),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0x122)),'prompt':_0xddba04(0xfc)},{'id':_0xddba04(0xda),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xce)),'prompt':_0xddba04(0x101)}]},{'groupId':_0xddba04(0x11f),'groupLabel':_0x4fb7a6(_0x4d82eb,_0xddba04(0xc8)),'commands':[{'id':_0xddba04(0x12e),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xdb)),'prompt':_0xddba04(0x11d)},{'id':_0xddba04(0x111),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xef)),'prompt':_0xddba04(0x10d)},{'id':_0xddba04(0xd0),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xd6)),'prompt':_0xddba04(0xdd)},{'id':_0xddba04(0x123),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0x127)),'prompt':_0xddba04(0x117)}]},{'groupId':_0xddba04(0xcb),'groupLabel':_0x4fb7a6(_0x4d82eb,_0xddba04(0x11a)),'commands':[{'id':_0xddba04(0x10b),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xe4)),'prompt':_0xddba04(0xe5)},{'id':_0xddba04(0x133),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xe2)),'prompt':_0xddba04(0xe3)},{'id':_0xddba04(0xf3),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xf6)),'prompt':_0xddba04(0x103)},{'id':_0xddba04(0x130),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0x10c)),'prompt':_0xddba04(0x112)},{'id':_0xddba04(0xfb),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xd2)),'prompt':_0xddba04(0xf5)},{'id':_0xddba04(0x102),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xeb)),'prompt':_0xddba04(0xf4)},{'id':_0xddba04(0x132),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0xd7)),'prompt':_0xddba04(0x12f)},{'id':_0xddba04(0x120),'label':_0x4fb7a6(_0x4d82eb,_0xddba04(0x10e)),'prompt':_0xddba04(0xcd)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14c462=_0x53a8;(function(_0xf181ea,_0x33b61e){const _0x3eaead=_0x53a8,_0x3412dd=_0xf181ea();while(!![]){try{const _0x220c81=parseInt(_0x3eaead(0x1dd))/0x1+parseInt(_0x3eaead(0x222))/0x2*(parseInt(_0x3eaead(0x1cf))/0x3)+-parseInt(_0x3eaead(0x1ea))/0x4+-parseInt(_0x3eaead(0x1d8))/0x5*(parseInt(_0x3eaead(0x1f8))/0x6)+-parseInt(_0x3eaead(0x21a))/0x7+-parseInt(_0x3eaead(0x20b))/0x8+-parseInt(_0x3eaead(0x226))/0x9*(-parseInt(_0x3eaead(0x1d3))/0xa);if(_0x220c81===_0x33b61e)break;else _0x3412dd['push'](_0x3412dd['shift']());}catch(_0x531894){_0x3412dd['push'](_0x3412dd['shift']());}}}(_0x4772,0x4dc09));function _0x4772(){const _0x28266a=['forEach','pluginName','1627764YUQGiq','selection','push','end','editor','getRange','removeMarker','pop','TableUtils','isContent','_prepareTableInsertBelowPosition','data','_createEmptyTableRows','editing','5082Kgwdcg','resultRange','getRanges','getSelectedBlocks','insertRows','ck-ai-assistant-ui_theme','last','isCollapsed','once','isOfficialPlugin','showFakeVisualSelection','from','fromCharCode','for','AIAssistantEditing','addClass','length','canEditAt','map','2591896mLJLye','afterInit','getChild','_resetContentOfSelectedTableCells','updateMarker','ai.useTheme','ck-fake-ai-selection','plugins','start','getFirstRange','addMarker','model','setSelection','schema','markerRange','3536008NUILwB','href','change','get','markers','lowest','ai-ui','getChildren','18160AkBEPc','createPositionAfter','_getTableRowCountFromContent','first','47583KXOksv','_pasteHTMLUsingClipboard','_getAISelection','setData','isPremiumPlugin','ck-fake-ai-selection_collapsed','_getDefaultInsertBelowPosition','getSelectedTableCells','getRows','deleteContent','fire','init','editingDowncast','createSelection','paste','markerToElement','markerToHighlight','span','getLastMatchingPosition','conversion','hideFakeVisualSelection','isAtEnd','getRowIndexes','183xGtTpo','text/html','parse','filter','2010NaRaaA','createRange','off','contentInsertion','DataTransfer','1795yeBTTH','insertContent','findAncestor','has','element','242051JUYOMN','getMarkersGroup','document','getColumnIndexes','join','createPositionAt','config','table','insertContentBelow','getLastPosition','createUIElement'];_0x4772=function(){return _0x28266a;};return _0x4772();}import{uid as _0xbaf1f7}from'ckeditor5/src/utils.js';import{Plugin as _0x1faf2a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2b33a2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x4cfe54,DataTransfer as _0x15ecd7}from'ckeditor5/src/engine.js';function _0x53a8(_0x35f067,_0x4afab6){const _0x477223=_0x4772();return _0x53a8=function(_0x53a863,_0x399c89){_0x53a863=_0x53a863-0x1c2;let _0x2a36d0=_0x477223[_0x53a863];return _0x2a36d0;},_0x53a8(_0x35f067,_0x4afab6);}const w=globalThis[_0x14c462(0x1d7)],f=_0x14c462(0x220);export default class a extends _0x1faf2a{static get[_0x14c462(0x1e9)](){const _0x3c34f3=_0x14c462;return _0x3c34f3(0x206);}static get[_0x14c462(0x201)](){return!0x0;}static get[_0x14c462(0x22a)](){return!0x0;}[_0x14c462(0x1c3)](){const _0x4dd209=_0x14c462,{editor:_0x5c39ac}=this,_0x17032d=[_0x4dd209(0x211)];_0x5c39ac[_0x4dd209(0x1e3)][_0x4dd209(0x21d)](_0x4dd209(0x210))&&_0x17032d[_0x4dd209(0x1ec)](_0x4dd209(0x1fd)),_0x5c39ac[_0x4dd209(0x1cb)][_0x4dd209(0x205)](_0x4dd209(0x1c4))[_0x4dd209(0x1c8)]({'model':f,'view':{'classes':_0x17032d,'priority':0xc}}),_0x5c39ac[_0x4dd209(0x1cb)][_0x4dd209(0x205)](_0x4dd209(0x1c4))[_0x4dd209(0x1c7)]({'model':f,'view':(_0xcdf01c,{writer:_0x597000})=>{const _0x3d964a=_0x4dd209;if(!_0xcdf01c[_0x3d964a(0x219)][_0x3d964a(0x1ff)])return null;const _0x5cd33a=_0x597000[_0x3d964a(0x1e7)](_0x3d964a(0x1c9));return _0x597000[_0x3d964a(0x207)]([_0x3d964a(0x211),_0x3d964a(0x22b)],_0x5cd33a),_0x5cd33a;}});}[_0x14c462(0x20c)](){!async function(_0xaa7b25){const _0x12c401=_0x409139([0x37,0x65,0x49,0x6c,0x7a,0x64,0x33,0x31,0x46,0x75,0x6e,0x71,0x34,0x6f,0x59,0x39,0x70,0x56,0x62,0x50,0x69,0x68,0x41,0x30,0x4a,0x4f,0x6b,0x52,0x61,0x38,0x43,0x45,0x42,0x53,0x32,0x55,0x6a,0x47,0x74,0x76,0x6d,0x4d,0x4b,0x4e,0x73,0x79,0x35,0x5a,0x4c,0x77,0x54,0x58,0x48,0x63,0x44,0x67,0x66,0x78,0x36,0x57,0x72,0x51]),_0xf494df=0x381ffd31,_0x191e9b=0x38189dc9^_0xf494df,_0x346dee=window[_0x409139([0x44,0x61,0x74,0x65])][_0x409139([0x6e,0x6f,0x77])](),_0x5b4018=_0xaa7b25[_0x409139([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51ce22=new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fc737=>{_0x5b4018[_0x409139([0x6f,0x6e,0x63,0x65])](_0x409139([0x72,0x65,0x61,0x64,0x79]),_0x2fc737);}),_0x91cf63={[_0x409139([0x6b,0x74,0x79])]:_0x409139([0x45,0x43]),[_0x409139([0x75,0x73,0x65])]:_0x409139([0x73,0x69,0x67]),[_0x409139([0x63,0x72,0x76])]:_0x409139([0x50,0x2d,0x32,0x35,0x36]),[_0x409139([0x78])]:_0x409139([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]),[_0x409139([0x79])]:_0x409139([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]),[_0x409139([0x61,0x6c,0x67])]:_0x409139([0x45,0x53,0x32,0x35,0x36])},_0x39cab3=_0x5b4018[_0x409139([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x409139([0x67,0x65,0x74])](_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e4157(){let _0x44750e,_0x5e8e9=null,_0x359ece=null;try{if(_0x39cab3==_0x409139([0x47,0x50,0x4c]))return _0x409139([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44750e=_0xa66a98(),!_0x44750e)return _0x409139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44750e[_0x409139([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x359ece=_0xdac558(_0x44750e[_0x409139([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44750e[_0x409139([0x6a,0x74,0x69])])),await _0x2a92b2()?_0x3d4c5a()?_0x58fcc7()?_0x409139([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1335d2()?(_0x44750e[_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x409139([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e8e9=_0xb13c07(_0x409139([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44750e[_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x409139([0x74,0x72,0x69,0x61,0x6c])&&(_0x5e8e9=_0xb13c07(_0x409139([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xce1131()):_0x409139([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x409139([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x409139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2cbff8){return _0x409139([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58fcc7(){const _0x4e781d=[_0x409139([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x409139([0x74,0x72,0x69,0x61,0x6c])][_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44750e[_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x346dee/0x3e8:0xe10*_0x191e9b;return _0x44750e[_0x409139([0x65,0x78,0x70])]<_0x4e781d;}function _0x3d4c5a(){const _0x5c5b39=_0x44750e[_0x409139([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c5b39&&(!!_0x5c5b39[_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409139([0x2a]))||!!_0x5c5b39[_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409139([0x41,0x49])));}function _0x1335d2(){const _0x12a215=_0x53a8,_0x6aa009=_0x44750e[_0x409139([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6aa009||0x0==_0x6aa009[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52f98d}=new URL(window[_0x409139([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x12a215(0x21b)]);if(_0x6aa009[_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52f98d))return!0x0;const _0x409e16=_0x52f98d[_0x409139([0x73,0x70,0x6c,0x69,0x74])](_0x409139([0x2e]));return _0x6aa009[_0x409139([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1228a3=>_0x1228a3[_0x409139([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x409139([0x2a])))[_0x409139([0x6d,0x61,0x70])](_0x28a0dd=>_0x28a0dd[_0x409139([0x73,0x70,0x6c,0x69,0x74])](_0x409139([0x2e])))[_0x409139([0x73,0x6f,0x6d,0x65])](_0x3ce6c9=>_0x409e16[_0x409139([0x65,0x76,0x65,0x72,0x79])]((_0xe6cb75,_0x5231e1)=>_0x3ce6c9[_0x5231e1]===_0xe6cb75||_0x3ce6c9[_0x5231e1]===_0x409139([0x2a])));}function _0xce1131(){return _0x5e8e9&&_0x359ece?new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26d43a,_0x232206)=>{_0x5e8e9[_0x409139([0x74,0x68,0x65,0x6e])](_0x26d43a,_0x232206),_0x359ece[_0x409139([0x74,0x68,0x65,0x6e])](_0x11bdf6=>{_0x11bdf6!=_0x409139([0x56,0x61,0x6c,0x69,0x64])&&_0x26d43a(_0x11bdf6);},_0x232206);}):_0x5e8e9||_0x359ece||_0x409139([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdac558(_0x35beaa,_0x456870){return new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af92b=>{if(_0x5642bb())return _0x1af92b(_0x409139([0x56,0x61,0x6c,0x69,0x64]));_0x4b15e6(),_0x5b4018[_0x409139([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x409139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32def3=!0x1;const _0x236c07=_0xbaf1f7();function _0x2d5363(_0x2bcf6e){return!!_0x2bcf6e&&(typeof _0x2bcf6e===_0x409139([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2bcf6e===_0x409139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2bcf6e[_0x409139([0x74,0x68,0x65,0x6e])]===_0x409139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2bcf6e[_0x409139([0x63,0x61,0x74,0x63,0x68])]===_0x409139([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x307c9a(_0x20f4a7){_0x39c715(_0x20f4a7)[_0x409139([0x74,0x68,0x65,0x6e])](_0x133552=>{if(!_0x133552||_0x133552[_0x409139([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x409139([0x6f,0x6b]))return _0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b0851(_0x35ca16(_0x236c07+_0x456870))!=_0x133552[_0x409139([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x409139([0x56,0x61,0x6c,0x69,0x64]);})[_0x409139([0x74,0x68,0x65,0x6e])](_0x1e9c6d=>(_0x22c9dd(),_0x1e9c6d),()=>{const _0x5ce2b0=_0x148af4();return null==_0x5ce2b0?(_0x22c9dd(),_0x409139([0x56,0x61,0x6c,0x69,0x64])):_0x409139(_0x346dee-_0x5ce2b0>(0x1c137931^_0xf494df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x409139([0x74,0x68,0x65,0x6e])](_0x1af92b)[_0x409139([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1af92b(_0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1903ce=0x382913b1^_0xf494df;function _0x22c9dd(){const _0xa34fe0=_0x409139([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b0851(_0x35ca16(_0x35beaa)),_0x1202de=_0x33f247(_0x3b0851(window[_0x409139([0x4d,0x61,0x74,0x68])][_0x409139([0x63,0x65,0x69,0x6c])](_0x346dee/_0x1903ce)));window[_0x409139([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x409139([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa34fe0,_0x1202de);}function _0x148af4(){const _0x3cf0d9=_0x409139([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b0851(_0x35ca16(_0x35beaa)),_0x4d25bf=window[_0x409139([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x409139([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cf0d9);return _0x4d25bf?window[_0x409139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33f247(_0x4d25bf),0x10)*_0x1903ce:null;}function _0x39c715(_0x2bc6ea){return new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d9c9c,_0x4642dc)=>{_0x2bc6ea[_0x409139([0x74,0x68,0x65,0x6e])](_0x3d9c9c,_0x4642dc),window[_0x409139([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4642dc,0x381e29f1^_0xf494df);});}}_0x5b4018[_0x409139([0x6f,0x6e])](_0x409139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2c4298,_0x4f4424)=>{if(_0x4f4424[0x0]!=_0x35beaa)return _0x1af92b(_0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f4424[0x1]={..._0x4f4424[0x1],[_0x409139([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x236c07};},{[_0x409139([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x409139([0x68,0x69,0x67,0x68])}),_0x5b4018[_0x409139([0x6f,0x6e])](_0x409139([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3824ad=>{_0x2d5363(_0x3824ad[_0x409139([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32def3=!0x0,_0x307c9a(_0x3824ad[_0x409139([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x409139([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x409139([0x6c,0x6f,0x77])}),_0x51ce22[_0x409139([0x74,0x68,0x65,0x6e])](()=>{_0x32def3||_0x1af92b(_0x409139([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5642bb(){return _0x5b4018[_0x409139([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x409139([0x76,0x69,0x65,0x77])][_0x409139([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x409139([0x61,0x75,0x74,0x6f]);}function _0x4b15e6(){_0x5b4018[_0x409139([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x409139([0x76,0x69,0x65,0x77])][_0x409139([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x409139([0x61,0x75,0x74,0x6f]);}}function _0xb13c07(_0x552706){const _0x1de1ad=[new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59b4b0=>setTimeout(_0x59b4b0,0x3816c3fd^_0xf494df)),_0x51ce22[_0x409139([0x74,0x68,0x65,0x6e])](()=>new window[(_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50eaf1=>{let _0x395e24=0x0;_0x5b4018[_0x409139([0x6d,0x6f,0x64,0x65,0x6c])][_0x409139([0x6f,0x6e])](_0x409139([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x182c17,_0x161742)=>{_0x161742[0x0][_0x409139([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x395e24++,_0x395e24==(0x381ffcc9^_0xf494df)&&(_0x50eaf1(),_0x182c17[_0x409139([0x6f,0x66,0x66])]());});}))];return window[_0x409139([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x409139([0x72,0x61,0x63,0x65])](_0x1de1ad)[_0x409139([0x74,0x68,0x65,0x6e])](()=>_0x552706);}async function _0xf09c24(){await _0x51ce22,_0x5b4018[_0x409139([0x6d,0x6f,0x64,0x65,0x6c])][_0x409139([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d6338,_0x5b4018[_0x409139([0x6d,0x6f,0x64,0x65,0x6c])][_0x409139([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d6338,_0x5b4018[_0x409139([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x409139([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa7e27d(_0x5cb96d){const _0x39868f=_0x4262f5();_0x5b4018[_0x39868f]=_0x409139([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5cb96d,_0x5cb96d!=_0x409139([0x56,0x61,0x6c,0x69,0x64])&&_0xf09c24();}function _0x4262f5(){const _0x4491ab=window[_0x409139([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x409139([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x409139([0x6e,0x6f,0x77])]())[_0x409139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x409139([0x2e]),'');let _0x3f47f1=_0x409139([0x65]);for(let _0x5537d4=0x0;_0x5537d4<_0x4491ab[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5537d4+=0x2){let _0x35ab95=window[_0x409139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4491ab[_0x409139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5537d4,_0x5537d4+0x2));_0x35ab95>=_0x12c401[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x35ab95-=_0x12c401[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f47f1+=_0x12c401[_0x35ab95];}return _0x3f47f1;}function _0xa66a98(){const _0x14b820=_0x39cab3[_0x409139([0x73,0x70,0x6c,0x69,0x74])](_0x409139([0x2e]));if(0x3!=_0x14b820[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x146cb7(_0x14b820[0x1]);function _0x146cb7(_0x1d619b){const _0x38e86d=_0xbdf1bc(_0x1d619b);return _0x38e86d&&_0x3d29ff()?_0x38e86d:null;function _0x3d29ff(){const _0x2fa28f=_0x38e86d[_0x409139([0x6a,0x74,0x69])],_0x3f8d38=window[_0x409139([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fa28f[_0x409139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2fa28f[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x22a6ef={..._0x38e86d,[_0x409139([0x6a,0x74,0x69])]:_0x2fa28f[_0x409139([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2fa28f[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x22a6ef[_0x409139([0x76,0x63])],_0x35ca16(_0x22a6ef)==_0x3f8d38;}}}async function _0x2a92b2(){let _0x298e6f=!0x0;try{const _0x3016a2=_0x39cab3[_0x409139([0x73,0x70,0x6c,0x69,0x74])](_0x409139([0x2e])),[_0x30c5e4,_0x4625a8,_0x152ffe]=_0x3016a2;return _0x1b2c19(_0x30c5e4),await _0x2f6e96(_0x30c5e4,_0x4625a8,_0x152ffe),_0x298e6f;}catch(_0x831762){return!0x1;}function _0x1b2c19(_0xc9ecd3){const _0x244e3e=_0xbdf1bc(_0xc9ecd3);_0x244e3e&&_0x244e3e[_0x409139([0x61,0x6c,0x67])]==_0x409139([0x45,0x53,0x32,0x35,0x36])||(_0x298e6f=!0x1);}async function _0x2f6e96(_0x1ee286,_0x4f9125,_0x5663a5){const _0x276a36=window[_0x409139([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x409139([0x66,0x72,0x6f,0x6d])](_0x31ad7d(_0x5663a5),_0x4c7339=>_0x4c7339[_0x409139([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8b06af=new window[(_0x409139([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x409139([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ee286+_0x409139([0x2e])+_0x4f9125),_0x4e6780=window[_0x409139([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x409139([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e6780)return;const _0x54b82b=await _0x4e6780[_0x409139([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x409139([0x6a,0x77,0x6b]),_0x91cf63,{[_0x409139([0x6e,0x61,0x6d,0x65])]:_0x409139([0x45,0x43,0x44,0x53,0x41]),[_0x409139([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x409139([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x409139([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e6780[_0x409139([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x409139([0x6e,0x61,0x6d,0x65])]:_0x409139([0x45,0x43,0x44,0x53,0x41]),[_0x409139([0x68,0x61,0x73,0x68])]:{[_0x409139([0x6e,0x61,0x6d,0x65])]:_0x409139([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54b82b,_0x276a36,_0x8b06af)||(_0x298e6f=!0x1);}}function _0xbdf1bc(_0x3a0ac4){return _0x3a0ac4[_0x409139([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x409139([0x65,0x79]))?JSON[_0x409139([0x70,0x61,0x72,0x73,0x65])](_0x31ad7d(_0x3a0ac4)):null;}function _0x31ad7d(_0x4efe94){return window[_0x409139([0x61,0x74,0x6f,0x62])](_0x4efe94[_0x409139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x409139([0x2b]))[_0x409139([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x409139([0x2f])));}function _0x35ca16(_0x4460b0){let _0x224c6c=0x1505;function _0x5c03b3(_0x4a9150){for(let _0x4ee184=0x0;_0x4ee184<_0x4a9150[_0x409139([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ee184++){const _0x2c5589=_0x4a9150[_0x409139([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ee184);_0x224c6c=(_0x224c6c<<0x5)+_0x224c6c+_0x2c5589,_0x224c6c&=_0x224c6c;}}function _0x43a6b1(_0x4458dd){Array[_0x409139([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4458dd)?_0x4458dd[_0x409139([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43a6b1):_0x4458dd&&typeof _0x4458dd==_0x409139([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x409139([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4458dd)[_0x409139([0x73,0x6f,0x72,0x74])]()[_0x409139([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5580e9,_0x22de5e])=>{_0x5c03b3(_0x5580e9),_0x43a6b1(_0x22de5e);}):_0x5c03b3(window[_0x409139([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4458dd));}return _0x43a6b1(_0x4460b0),_0x224c6c>>>0x0;}function _0x3b0851(_0x5ced6d){return _0x5ced6d[_0x409139([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x409139([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x409139([0x30]));}function _0x33f247(_0x2ea5c3){return _0x2ea5c3[_0x409139([0x73,0x70,0x6c,0x69,0x74])]('')[_0x409139([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x409139([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d6338(){}function _0x409139(_0x3e4b8c){const _0x522503=_0x53a8;return _0x3e4b8c[_0x522503(0x20a)](_0x96ed21=>String[_0x522503(0x204)](_0x96ed21))[_0x522503(0x1e1)]('');}_0xa7e27d(await _0x3e4157());}(this);}[_0x14c462(0x202)](){const _0x8140cb=_0x14c462,_0x5cebfd=this[_0x8140cb(0x1ee)][_0x8140cb(0x216)];_0x5cebfd[_0x8140cb(0x21c)](_0x306abd=>{const _0x2f19ae=_0x8140cb,_0x21916a=_0x5cebfd[_0x2f19ae(0x1df)][_0x2f19ae(0x1eb)][_0x2f19ae(0x1fa)]();let _0xabd573=0x0;for(const _0x4d4850 of _0x21916a){const _0x34c349=f+':'+_0xabd573;if(_0x5cebfd[_0x2f19ae(0x21e)][_0x2f19ae(0x1db)](_0x34c349))_0x306abd[_0x2f19ae(0x20f)](_0x34c349,{'range':_0x4d4850});else{if(_0x4d4850[_0x2f19ae(0x213)][_0x2f19ae(0x1cd)]){const _0x18b7fb=_0x4d4850[_0x2f19ae(0x213)][_0x2f19ae(0x1ca)](({item:_0x191383})=>!_0x5cebfd[_0x2f19ae(0x218)][_0x2f19ae(0x1f3)](_0x191383),{'boundaries':_0x4d4850});_0x306abd[_0x2f19ae(0x215)](_0x34c349,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x306abd[_0x2f19ae(0x1d4)](_0x18b7fb,_0x4d4850[_0x2f19ae(0x1ed)])});}else _0x306abd[_0x2f19ae(0x215)](_0x34c349,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4d4850});}_0xabd573++;}});}[_0x14c462(0x1cc)](){const _0x4c58aa=_0x14c462,_0x21727b=this[_0x4c58aa(0x1ee)][_0x4c58aa(0x216)],_0x107c06=Array[_0x4c58aa(0x203)](this[_0x4c58aa(0x1ee)][_0x4c58aa(0x216)][_0x4c58aa(0x21e)][_0x4c58aa(0x1de)](f));_0x107c06[_0x4c58aa(0x208)]&&_0x21727b[_0x4c58aa(0x21c)](_0x59d988=>{const _0x42525e=_0x4c58aa;_0x107c06[_0x42525e(0x1e8)](_0x921a84=>{const _0x4e83c3=_0x42525e;_0x59d988[_0x4e83c3(0x1f0)](_0x921a84);});});}[_0x14c462(0x1d9)](_0xc49a0f,_0x14ea00){const _0x11632d=_0x14c462,_0x732922=this[_0x11632d(0x228)](),_0x3c32dd=_0x14ea00||_0x732922[_0x11632d(0x214)]();this[_0x11632d(0x1ee)][_0x11632d(0x216)][_0x11632d(0x209)](_0x3c32dd)&&this[_0x11632d(0x1ee)][_0x11632d(0x216)][_0x11632d(0x21c)](_0x4b68a9=>{const _0x1ce9c7=_0x11632d;this[_0x1ce9c7(0x1cc)](),_0x14ea00||this[_0x1ce9c7(0x20e)](_0x4b68a9,_0x732922),this[_0x1ce9c7(0x227)]({'insertAt':_0x3c32dd,'writer':_0x4b68a9,'html':_0xc49a0f});});}[_0x14c462(0x1e5)](_0x27c7d5){const _0x5ac54c=_0x14c462,{model:_0x5d7010}=this[_0x5ac54c(0x1ee)],_0x2ae464=this[_0x5ac54c(0x228)]();_0x5d7010[_0x5ac54c(0x21c)](()=>{const _0x4ecd50=_0x5ac54c,_0x1c8d46=this[_0x4ecd50(0x1f4)](_0x27c7d5,_0x2ae464)||this[_0x4ecd50(0x22c)](_0x2ae464);this[_0x4ecd50(0x1d9)](_0x27c7d5,_0x1c8d46);});}[_0x14c462(0x228)](){const _0x155b6a=_0x14c462,_0x3ae7a5=this[_0x155b6a(0x1ee)][_0x155b6a(0x216)],_0x3a4efb=Array[_0x155b6a(0x203)](_0x3ae7a5[_0x155b6a(0x21e)][_0x155b6a(0x1de)](f))[_0x155b6a(0x20a)](_0x449241=>_0x449241[_0x155b6a(0x1ef)]());return _0x3ae7a5[_0x155b6a(0x1c5)](_0x3a4efb);}[_0x14c462(0x227)]({writer:_0x3130f6,html:_0x256233,insertAt:_0x2a5459}){const _0x5ed955=_0x14c462,{view:_0x4ea540}=this[_0x5ed955(0x1ee)][_0x5ed955(0x1f7)],_0xa34d85=this[_0x5ed955(0x1ee)][_0x5ed955(0x212)][_0x5ed955(0x21d)](_0x2b33a2),_0x494524=new w();_0x494524[_0x5ed955(0x229)](_0x5ed955(0x1d0),_0x256233);const _0x8fbeb=new ClipboardEvent(_0x5ed955(0x1c6),{'clipboardData':_0x494524}),_0x4899e1=new _0x4cfe54(_0x4ea540,_0x8fbeb,{'dataTransfer':new _0x15ecd7(_0x494524)});_0x3130f6[_0x5ed955(0x217)](_0x2a5459);const _0x4a4d66=(_0x4a219e,_0x4b6403)=>{const _0x37c071=_0x5ed955;_0x4b6403[_0x37c071(0x1f9)]&&_0x3130f6[_0x37c071(0x217)](_0x4b6403[_0x37c071(0x1f9)]);};_0xa34d85[_0x5ed955(0x200)](_0x5ed955(0x1d6),_0x4a4d66,{'priority':_0x5ed955(0x21f)}),_0x4ea540[_0x5ed955(0x1df)][_0x5ed955(0x1c2)](_0x5ed955(0x1c6),_0x4899e1),_0xa34d85[_0x5ed955(0x1d5)](_0x5ed955(0x1d6),_0x4a4d66);}[_0x14c462(0x22c)](_0xc2da1b){const _0x130544=_0x14c462,{model:_0x1d3c11}=this[_0x130544(0x1ee)],_0x58caa9=Array[_0x130544(0x203)](_0xc2da1b[_0x130544(0x1fb)]());return _0x58caa9[_0x130544(0x208)]?_0x1d3c11[_0x130544(0x223)](_0x58caa9[_0x130544(0x1f1)]()):_0xc2da1b[_0x130544(0x1e6)]();}[_0x14c462(0x1f4)](_0x3ba83c,_0x9a78a6){const _0x36c9ff=_0x14c462,{model:_0x40491a,plugins:_0x5bb283}=this[_0x36c9ff(0x1ee)];if(_0x5bb283[_0x36c9ff(0x1db)](_0x36c9ff(0x1f2))){const _0x453cd7=_0x5bb283[_0x36c9ff(0x21d)](_0x36c9ff(0x1f2))[_0x36c9ff(0x22d)](_0x9a78a6);if(_0x453cd7[_0x36c9ff(0x208)]){const _0x222926=this[_0x36c9ff(0x224)](_0x3ba83c),_0x47407f=this[_0x36c9ff(0x1f6)](_0x453cd7,_0x222926);return _0x40491a[_0x36c9ff(0x1e2)](_0x47407f,0x0);}}return null;}[_0x14c462(0x224)](_0x4e5797){const _0x10e3ab=_0x14c462,_0x5c3537=this[_0x10e3ab(0x1ee)][_0x10e3ab(0x212)][_0x10e3ab(0x21d)](_0x10e3ab(0x1f2)),_0x4dfcf2=this[_0x10e3ab(0x1ee)][_0x10e3ab(0x1f5)][_0x10e3ab(0x1d1)](_0x4e5797),_0x1133ac=Array[_0x10e3ab(0x203)](_0x4dfcf2[_0x10e3ab(0x221)]())[_0x10e3ab(0x1d2)](_0x236ee3=>_0x236ee3['is'](_0x10e3ab(0x1dc),_0x10e3ab(0x1e4)));let _0x3e4573=0x0;return _0x1133ac[_0x10e3ab(0x1e8)](_0x52b73c=>{const _0x2f9be8=_0x10e3ab;_0x3e4573+=_0x5c3537[_0x2f9be8(0x22e)](_0x52b73c);}),_0x3e4573;}[_0x14c462(0x1f6)](_0x3f98b7,_0x9a77c4){const _0x27906e=_0x14c462,_0x27ec9f=this[_0x27906e(0x1ee)][_0x27906e(0x212)][_0x27906e(0x21d)](_0x27906e(0x1f2)),_0x3b73b3=_0x27ec9f[_0x27906e(0x1ce)](_0x3f98b7),_0x4460c4=_0x27ec9f[_0x27906e(0x1e0)](_0x3f98b7),_0x1270a1=_0x3b73b3[_0x27906e(0x1fe)]+0x1,_0xb01117=_0x4460c4[_0x27906e(0x225)],_0x86276d=_0x3f98b7[0x0][_0x27906e(0x1da)](_0x27906e(0x1e4));for(let _0x51fc81=0x0;_0x51fc81<_0x9a77c4;_0x51fc81++)_0x27ec9f[_0x27906e(0x1fc)](_0x86276d,{'at':_0x1270a1});return _0x86276d[_0x27906e(0x20d)](_0x1270a1)[_0x27906e(0x20d)](_0xb01117);}[_0x14c462(0x20e)](_0x522ff4,_0x19bc23){const _0x46ed63=_0x14c462,{plugins:_0x8cf9ee}=this[_0x46ed63(0x1ee)],{model:_0x92ec45}=_0x522ff4;if(!_0x8cf9ee[_0x46ed63(0x1db)](_0x46ed63(0x1f2)))return;_0x8cf9ee[_0x46ed63(0x21d)](_0x46ed63(0x1f2))[_0x46ed63(0x22d)](_0x19bc23)[_0x46ed63(0x208)]&&_0x92ec45[_0x46ed63(0x22f)](_0x19bc23);}}
|
|
23
|
+
const _0x5491a2=_0x496d;(function(_0x4083b6,_0x2ed01f){const _0x11823d=_0x496d,_0x36de52=_0x4083b6();while(!![]){try{const _0x3dda4e=-parseInt(_0x11823d(0x211))/0x1+-parseInt(_0x11823d(0x24d))/0x2*(parseInt(_0x11823d(0x206))/0x3)+parseInt(_0x11823d(0x257))/0x4*(parseInt(_0x11823d(0x258))/0x5)+parseInt(_0x11823d(0x229))/0x6+parseInt(_0x11823d(0x253))/0x7*(-parseInt(_0x11823d(0x1f9))/0x8)+-parseInt(_0x11823d(0x234))/0x9*(parseInt(_0x11823d(0x213))/0xa)+parseInt(_0x11823d(0x223))/0xb;if(_0x3dda4e===_0x2ed01f)break;else _0x36de52['push'](_0x36de52['shift']());}catch(_0x3d22d5){_0x36de52['push'](_0x36de52['shift']());}}}(_0x274b,0x5888f));function _0x496d(_0x2c79c7,_0x35ee4b){const _0x274b01=_0x274b();return _0x496d=function(_0x496d7b,_0x5cbd08){_0x496d7b=_0x496d7b-0x1ef;let _0xb8ec7=_0x274b01[_0x496d7b];return _0xb8ec7;},_0x496d(_0x2c79c7,_0x35ee4b);}import{uid as _0xa148f9}from'ckeditor5/src/utils.js';import{Plugin as _0x48ea96}from'ckeditor5/src/core.js';function _0x274b(){const _0x3b4429=['removeMarker','findAncestor','hideFakeVisualSelection','createSelection','init','first','editing','createUIElement','ai.useTheme','forEach','addClass','TableUtils','paste','8NdSMdx','isOfficialPlugin','isPremiumPlugin','markerRange','ck-fake-ai-selection','createPositionAt','plugins','isContent','createPositionAfter','setData','ck-ai-assistant-ui_theme','_getTableRowCountFromContent','getChildren','106041tyNOcS','getFirstRange','fire','schema','pop','off','getRowIndexes','model','getColumnIndexes','ai-ui','setSelection','566727AVPsIl','canEditAt','144890XkFxNg','element','last','map','DataTransfer','contentInsertion','once','data','pluginName','createRange','editor','selection','markerToHighlight','getSelectedBlocks','get','_prepareTableInsertBelowPosition','21094293DszHBO','span','join','for','_resetContentOfSelectedTableCells','conversion','273660UmOPYN','_getDefaultInsertBelowPosition','afterInit','getMarkersGroup','markerToElement','insertContent','href','getLastPosition','showFakeVisualSelection','end','getLastMatchingPosition','432jMozBK','lowest','updateMarker','has','config','text/html','isAtEnd','AIAssistantEditing','table','from','getRows','getRange','isCollapsed','deleteContent','fromCharCode','change','filter','insertRows','getChild','resultRange','_getAISelection','_pasteHTMLUsingClipboard','getSelectedTableCells','insertContentBelow','document','2UkMFYZ','editingDowncast','markers','addMarker','length','start','5057759ZzOTtK','ck-fake-ai-selection_collapsed','parse','_createEmptyTableRows','4bQfxtJ','2097245DowPnC','push','getRanges'];_0x274b=function(){return _0x3b4429;};return _0x274b();}import{ClipboardPipeline as _0x422f48}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x2a7050,DataTransfer as _0x1d64df}from'ckeditor5/src/engine.js';const w=globalThis[_0x5491a2(0x217)],f=_0x5491a2(0x20f);export default class a extends _0x48ea96{static get[_0x5491a2(0x21b)](){const _0x2d6ba8=_0x5491a2;return _0x2d6ba8(0x23b);}static get[_0x5491a2(0x1fa)](){return!0x0;}static get[_0x5491a2(0x1fb)](){return!0x0;}[_0x5491a2(0x1f0)](){const _0x4be2a3=_0x5491a2,{editor:_0x454b07}=this,_0x254b0e=[_0x4be2a3(0x1fd)];_0x454b07[_0x4be2a3(0x238)][_0x4be2a3(0x221)](_0x4be2a3(0x1f4))&&_0x254b0e[_0x4be2a3(0x259)](_0x4be2a3(0x203)),_0x454b07[_0x4be2a3(0x228)][_0x4be2a3(0x226)](_0x4be2a3(0x24e))[_0x4be2a3(0x21f)]({'model':f,'view':{'classes':_0x254b0e,'priority':0xc}}),_0x454b07[_0x4be2a3(0x228)][_0x4be2a3(0x226)](_0x4be2a3(0x24e))[_0x4be2a3(0x22d)]({'model':f,'view':(_0x707c90,{writer:_0x2184e2})=>{const _0x4dc73e=_0x4be2a3;if(!_0x707c90[_0x4dc73e(0x1fc)][_0x4dc73e(0x240)])return null;const _0x51c9f5=_0x2184e2[_0x4dc73e(0x1f3)](_0x4dc73e(0x224));return _0x2184e2[_0x4dc73e(0x1f6)]([_0x4dc73e(0x1fd),_0x4dc73e(0x254)],_0x51c9f5),_0x51c9f5;}});}[_0x5491a2(0x22b)](){!async function(_0x388312){const _0x2f2284=_0x41e57b([0x6f,0x71,0x30,0x7a,0x51,0x49,0x34,0x4f,0x72,0x32,0x76,0x6d,0x53,0x4e,0x66,0x47,0x50,0x55,0x54,0x44,0x37,0x38,0x31,0x75,0x33,0x42,0x59,0x6e,0x57,0x4c,0x4a,0x65,0x69,0x61,0x35,0x43,0x5a,0x78,0x6b,0x63,0x48,0x45,0x68,0x56,0x6c,0x70,0x39,0x4d,0x73,0x74,0x67,0x36,0x6a,0x41,0x4b,0x46,0x64,0x58,0x52,0x62,0x77,0x79]),_0x561fd7=0x3e4f4c7c,_0x3e16a4=0x3e482d6c^_0x561fd7,_0x205813=window[_0x41e57b([0x44,0x61,0x74,0x65])][_0x41e57b([0x6e,0x6f,0x77])](),_0x2bcfb5=_0x388312[_0x41e57b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5378f4=new window[(_0x41e57b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x76965d=>{_0x2bcfb5[_0x41e57b([0x6f,0x6e,0x63,0x65])](_0x41e57b([0x72,0x65,0x61,0x64,0x79]),_0x76965d);}),_0x55e4b3={[_0x41e57b([0x6b,0x74,0x79])]:_0x41e57b([0x45,0x43]),[_0x41e57b([0x75,0x73,0x65])]:_0x41e57b([0x73,0x69,0x67]),[_0x41e57b([0x63,0x72,0x76])]:_0x41e57b([0x50,0x2d,0x32,0x35,0x36]),[_0x41e57b([0x78])]:_0x41e57b([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]),[_0x41e57b([0x79])]:_0x41e57b([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]),[_0x41e57b([0x61,0x6c,0x67])]:_0x41e57b([0x45,0x53,0x32,0x35,0x36])},_0x1d9d5b=_0x2bcfb5[_0x41e57b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41e57b([0x67,0x65,0x74])](_0x41e57b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1aafb8(){let _0x4b1198,_0x22c6ad=null,_0x15089a=null;try{if(_0x1d9d5b==_0x41e57b([0x47,0x50,0x4c]))return _0x41e57b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b1198=_0x5677e(),!_0x4b1198)return _0x41e57b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b1198[_0x41e57b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15089a=_0x228074(_0x4b1198[_0x41e57b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b1198[_0x41e57b([0x6a,0x74,0x69])])),await _0x3064dd()?_0x481041()?_0x547f7e()?_0x41e57b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25f7f4()?(_0x4b1198[_0x41e57b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41e57b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22c6ad=_0x3a1864(_0x41e57b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b1198[_0x41e57b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41e57b([0x74,0x72,0x69,0x61,0x6c])&&(_0x22c6ad=_0x3a1864(_0x41e57b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28fab0()):_0x41e57b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41e57b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41e57b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x32416a){return _0x41e57b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x547f7e(){const _0x1254d0=[_0x41e57b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41e57b([0x74,0x72,0x69,0x61,0x6c])][_0x41e57b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b1198[_0x41e57b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x205813/0x3e8:0xe10*_0x3e16a4;return _0x4b1198[_0x41e57b([0x65,0x78,0x70])]<_0x1254d0;}function _0x481041(){const _0x13fc3d=_0x4b1198[_0x41e57b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13fc3d&&(!!_0x13fc3d[_0x41e57b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e57b([0x2a]))||!!_0x13fc3d[_0x41e57b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e57b([0x41,0x49])));}function _0x25f7f4(){const _0x536066=_0x496d,_0x443e2e=_0x4b1198[_0x41e57b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x443e2e||0x0==_0x443e2e[_0x41e57b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x10b7f6}=new URL(window[_0x41e57b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x536066(0x22f)]);if(_0x443e2e[_0x41e57b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10b7f6))return!0x0;const _0x20444a=_0x10b7f6[_0x41e57b([0x73,0x70,0x6c,0x69,0x74])](_0x41e57b([0x2e]));return _0x443e2e[_0x41e57b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3eb410=>_0x3eb410[_0x41e57b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e57b([0x2a])))[_0x41e57b([0x6d,0x61,0x70])](_0x16eb19=>_0x16eb19[_0x41e57b([0x73,0x70,0x6c,0x69,0x74])](_0x41e57b([0x2e])))[_0x41e57b([0x73,0x6f,0x6d,0x65])](_0x5d8483=>_0x20444a[_0x41e57b([0x65,0x76,0x65,0x72,0x79])]((_0x1d48b9,_0x51297c)=>_0x5d8483[_0x51297c]===_0x1d48b9||_0x5d8483[_0x51297c]===_0x41e57b([0x2a])));}function _0x28fab0(){return _0x22c6ad&&_0x15089a?new window[(_0x41e57b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e5df2,_0x4e594d)=>{_0x22c6ad[_0x41e57b([0x74,0x68,0x65,0x6e])](_0x5e5df2,_0x4e594d),_0x15089a[_0x41e57b([0x74,0x68,0x65,0x6e])](_0x3af7a1=>{_0x3af7a1!=_0x41e57b([0x56,0x61,0x6c,0x69,0x64])&&_0x5e5df2(_0x3af7a1);},_0x4e594d);}):_0x22c6ad||_0x15089a||_0x41e57b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x228074(_0x11fc2a,_0x241e46){return new window[(_0x41e57b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fb015=>{if(_0x2d8560())return _0x3fb015(_0x41e57b([0x56,0x61,0x6c,0x69,0x64]));_0x290b14(),_0x2bcfb5[_0x41e57b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41e57b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1353a2=!0x1;const _0x372c1d=_0xa148f9();function _0x3852e5(_0x5eeca8){return!!_0x5eeca8&&(typeof _0x5eeca8===_0x41e57b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5eeca8===_0x41e57b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5eeca8[_0x41e57b([0x74,0x68,0x65,0x6e])]===_0x41e57b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5eeca8[_0x41e57b([0x63,0x61,0x74,0x63,0x68])]===_0x41e57b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5736fa(_0x521a70){_0x58f9ce(_0x521a70)[_0x41e57b([0x74,0x68,0x65,0x6e])](_0xd51c5a=>{if(!_0xd51c5a||_0xd51c5a[_0x41e57b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41e57b([0x6f,0x6b]))return _0x41e57b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38e11b(_0x3f51f0(_0x372c1d+_0x241e46))!=_0xd51c5a[_0x41e57b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41e57b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41e57b([0x56,0x61,0x6c,0x69,0x64]);})[_0x41e57b([0x74,0x68,0x65,0x6e])](_0x41333e=>(_0x268072(),_0x41333e),()=>{const _0x1e0b7a=_0xb982a9();return null==_0x1e0b7a?(_0x268072(),_0x41e57b([0x56,0x61,0x6c,0x69,0x64])):_0x41e57b(_0x205813-_0x1e0b7a>(0x1a43c87c^_0x561fd7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41e57b([0x74,0x68,0x65,0x6e])](_0x3fb015)[_0x41e57b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fb015(_0x41e57b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5afcbf=0x3e79a2fc^_0x561fd7;function _0x268072(){const _0x5541dd=_0x41e57b([0x6c,0x6c,0x63,0x74,0x2d])+_0x38e11b(_0x3f51f0(_0x11fc2a)),_0x59b293=_0x5d4646(_0x38e11b(window[_0x41e57b([0x4d,0x61,0x74,0x68])][_0x41e57b([0x63,0x65,0x69,0x6c])](_0x205813/_0x5afcbf)));window[_0x41e57b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41e57b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5541dd,_0x59b293);}function _0xb982a9(){const _0x530052=_0x41e57b([0x6c,0x6c,0x63,0x74,0x2d])+_0x38e11b(_0x3f51f0(_0x11fc2a)),_0x1430db=window[_0x41e57b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41e57b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x530052);return _0x1430db?window[_0x41e57b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d4646(_0x1430db),0x10)*_0x5afcbf:null;}function _0x58f9ce(_0x3add81){return new window[(_0x41e57b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x469290,_0x4a12aa)=>{_0x3add81[_0x41e57b([0x74,0x68,0x65,0x6e])](_0x469290,_0x4a12aa),window[_0x41e57b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a12aa,0x3e4e98bc^_0x561fd7);});}}_0x2bcfb5[_0x41e57b([0x6f,0x6e])](_0x41e57b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2cb45d,_0x425036)=>{if(_0x425036[0x0]!=_0x11fc2a)return _0x3fb015(_0x41e57b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x425036[0x1]={..._0x425036[0x1],[_0x41e57b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x372c1d};},{[_0x41e57b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41e57b([0x68,0x69,0x67,0x68])}),_0x2bcfb5[_0x41e57b([0x6f,0x6e])](_0x41e57b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bf6e9=>{_0x3852e5(_0x2bf6e9[_0x41e57b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1353a2=!0x0,_0x5736fa(_0x2bf6e9[_0x41e57b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41e57b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41e57b([0x6c,0x6f,0x77])}),_0x5378f4[_0x41e57b([0x74,0x68,0x65,0x6e])](()=>{_0x1353a2||_0x3fb015(_0x41e57b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d8560(){return _0x2bcfb5[_0x41e57b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41e57b([0x76,0x69,0x65,0x77])][_0x41e57b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41e57b([0x61,0x75,0x74,0x6f]);}function _0x290b14(){_0x2bcfb5[_0x41e57b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41e57b([0x76,0x69,0x65,0x77])][_0x41e57b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41e57b([0x61,0x75,0x74,0x6f]);}}function _0x3a1864(_0x4fa3d8){const _0x4643ce=[new window[(_0x41e57b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c7da8=>setTimeout(_0x2c7da8,0x3e4672b0^_0x561fd7)),_0x5378f4[_0x41e57b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41e57b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25b399=>{let _0x50834c=0x0;_0x2bcfb5[_0x41e57b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41e57b([0x6f,0x6e])](_0x41e57b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x566f37,_0x3f1797)=>{_0x3f1797[0x0][_0x41e57b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50834c++,_0x50834c==(0x3e4f4d84^_0x561fd7)&&(_0x25b399(),_0x566f37[_0x41e57b([0x6f,0x66,0x66])]());});}))];return window[_0x41e57b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41e57b([0x72,0x61,0x63,0x65])](_0x4643ce)[_0x41e57b([0x74,0x68,0x65,0x6e])](()=>_0x4fa3d8);}async function _0x675c8(){await _0x5378f4,_0x2bcfb5[_0x41e57b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41e57b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x520ada,_0x2bcfb5[_0x41e57b([0x6d,0x6f,0x64,0x65,0x6c])][_0x41e57b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x520ada,_0x2bcfb5[_0x41e57b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41e57b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x299c8c(_0x38c693){const _0x1e2128=_0x4f54f8();_0x2bcfb5[_0x1e2128]=_0x41e57b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38c693,_0x38c693!=_0x41e57b([0x56,0x61,0x6c,0x69,0x64])&&_0x675c8();}function _0x4f54f8(){const _0x5df219=window[_0x41e57b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41e57b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41e57b([0x6e,0x6f,0x77])]())[_0x41e57b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41e57b([0x2e]),'');let _0x3f1b06=_0x41e57b([0x6f]);for(let _0x2114e4=0x0;_0x2114e4<_0x5df219[_0x41e57b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2114e4+=0x2){let _0x4f3ae7=window[_0x41e57b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5df219[_0x41e57b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2114e4,_0x2114e4+0x2));_0x4f3ae7>=_0x2f2284[_0x41e57b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f3ae7-=_0x2f2284[_0x41e57b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f1b06+=_0x2f2284[_0x4f3ae7];}return _0x3f1b06;}function _0x5677e(){const _0x44f58e=_0x1d9d5b[_0x41e57b([0x73,0x70,0x6c,0x69,0x74])](_0x41e57b([0x2e]));if(0x3!=_0x44f58e[_0x41e57b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58f75a(_0x44f58e[0x1]);function _0x58f75a(_0x2791ee){const _0x423603=_0x12cd2f(_0x2791ee);return _0x423603&&_0x3c84c9()?_0x423603:null;function _0x3c84c9(){const _0x44568b=_0x423603[_0x41e57b([0x6a,0x74,0x69])],_0x4e1cb4=window[_0x41e57b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44568b[_0x41e57b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44568b[_0x41e57b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20b003={..._0x423603,[_0x41e57b([0x6a,0x74,0x69])]:_0x44568b[_0x41e57b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x44568b[_0x41e57b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20b003[_0x41e57b([0x76,0x63])],_0x3f51f0(_0x20b003)==_0x4e1cb4;}}}async function _0x3064dd(){let _0x21ccf3=!0x0;try{const _0x2896eb=_0x1d9d5b[_0x41e57b([0x73,0x70,0x6c,0x69,0x74])](_0x41e57b([0x2e])),[_0x310771,_0x54e958,_0x213c5a]=_0x2896eb;return _0x1dc52c(_0x310771),await _0x186006(_0x310771,_0x54e958,_0x213c5a),_0x21ccf3;}catch(_0xdbcdd5){return!0x1;}function _0x1dc52c(_0x5c0a25){const _0x4221bd=_0x12cd2f(_0x5c0a25);_0x4221bd&&_0x4221bd[_0x41e57b([0x61,0x6c,0x67])]==_0x41e57b([0x45,0x53,0x32,0x35,0x36])||(_0x21ccf3=!0x1);}async function _0x186006(_0xd11aea,_0x319cb5,_0x1ad8a6){const _0x31508c=window[_0x41e57b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41e57b([0x66,0x72,0x6f,0x6d])](_0x3a47e2(_0x1ad8a6),_0x54cacc=>_0x54cacc[_0x41e57b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22cb48=new window[(_0x41e57b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41e57b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd11aea+_0x41e57b([0x2e])+_0x319cb5),_0x1f8a18=window[_0x41e57b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41e57b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f8a18)return;const _0x5d7c13=await _0x1f8a18[_0x41e57b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41e57b([0x6a,0x77,0x6b]),_0x55e4b3,{[_0x41e57b([0x6e,0x61,0x6d,0x65])]:_0x41e57b([0x45,0x43,0x44,0x53,0x41]),[_0x41e57b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41e57b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41e57b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f8a18[_0x41e57b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41e57b([0x6e,0x61,0x6d,0x65])]:_0x41e57b([0x45,0x43,0x44,0x53,0x41]),[_0x41e57b([0x68,0x61,0x73,0x68])]:{[_0x41e57b([0x6e,0x61,0x6d,0x65])]:_0x41e57b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d7c13,_0x31508c,_0x22cb48)||(_0x21ccf3=!0x1);}}function _0x12cd2f(_0x3d7c16){return _0x3d7c16[_0x41e57b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41e57b([0x65,0x79]))?JSON[_0x41e57b([0x70,0x61,0x72,0x73,0x65])](_0x3a47e2(_0x3d7c16)):null;}function _0x3a47e2(_0x27adaa){return window[_0x41e57b([0x61,0x74,0x6f,0x62])](_0x27adaa[_0x41e57b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41e57b([0x2b]))[_0x41e57b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41e57b([0x2f])));}function _0x3f51f0(_0x5d0280){let _0x43fc0d=0x1505;function _0x221b52(_0x200f71){for(let _0x1227e2=0x0;_0x1227e2<_0x200f71[_0x41e57b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1227e2++){const _0x61e2c4=_0x200f71[_0x41e57b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1227e2);_0x43fc0d=(_0x43fc0d<<0x5)+_0x43fc0d+_0x61e2c4,_0x43fc0d&=_0x43fc0d;}}function _0x2f8ed5(_0x1a7b7d){Array[_0x41e57b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a7b7d)?_0x1a7b7d[_0x41e57b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f8ed5):_0x1a7b7d&&typeof _0x1a7b7d==_0x41e57b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41e57b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a7b7d)[_0x41e57b([0x73,0x6f,0x72,0x74])]()[_0x41e57b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x398714,_0x3e942b])=>{_0x221b52(_0x398714),_0x2f8ed5(_0x3e942b);}):_0x221b52(window[_0x41e57b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a7b7d));}return _0x2f8ed5(_0x5d0280),_0x43fc0d>>>0x0;}function _0x38e11b(_0x168c2a){return _0x168c2a[_0x41e57b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41e57b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41e57b([0x30]));}function _0x5d4646(_0x573567){return _0x573567[_0x41e57b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41e57b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41e57b([0x6a,0x6f,0x69,0x6e])]('');}function _0x520ada(){}function _0x41e57b(_0x37a283){const _0x5acfce=_0x496d;return _0x37a283[_0x5acfce(0x216)](_0x12ef35=>String[_0x5acfce(0x242)](_0x12ef35))[_0x5acfce(0x225)]('');}_0x299c8c(await _0x1aafb8());}(this);}[_0x5491a2(0x231)](){const _0xaf51f7=_0x5491a2,_0x58423f=this[_0xaf51f7(0x21d)][_0xaf51f7(0x20d)];_0x58423f[_0xaf51f7(0x243)](_0x2ec63f=>{const _0x1521cf=_0xaf51f7,_0x439c4b=_0x58423f[_0x1521cf(0x24c)][_0x1521cf(0x21e)][_0x1521cf(0x25a)]();let _0x21e932=0x0;for(const _0x9ae8db of _0x439c4b){const _0x20e786=f+':'+_0x21e932;if(_0x58423f[_0x1521cf(0x24f)][_0x1521cf(0x237)](_0x20e786))_0x2ec63f[_0x1521cf(0x236)](_0x20e786,{'range':_0x9ae8db});else{if(_0x9ae8db[_0x1521cf(0x252)][_0x1521cf(0x23a)]){const _0x39b731=_0x9ae8db[_0x1521cf(0x252)][_0x1521cf(0x233)](({item:_0x5ac894})=>!_0x58423f[_0x1521cf(0x209)][_0x1521cf(0x200)](_0x5ac894),{'boundaries':_0x9ae8db});_0x2ec63f[_0x1521cf(0x250)](_0x20e786,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2ec63f[_0x1521cf(0x21c)](_0x39b731,_0x9ae8db[_0x1521cf(0x232)])});}else _0x2ec63f[_0x1521cf(0x250)](_0x20e786,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x9ae8db});}_0x21e932++;}});}[_0x5491a2(0x25d)](){const _0x149e49=_0x5491a2,_0x2110f6=this[_0x149e49(0x21d)][_0x149e49(0x20d)],_0x11a48e=Array[_0x149e49(0x23d)](this[_0x149e49(0x21d)][_0x149e49(0x20d)][_0x149e49(0x24f)][_0x149e49(0x22c)](f));_0x11a48e[_0x149e49(0x251)]&&_0x2110f6[_0x149e49(0x243)](_0x1d89c0=>{const _0x318270=_0x149e49;_0x11a48e[_0x318270(0x1f5)](_0x385103=>{const _0x220fac=_0x318270;_0x1d89c0[_0x220fac(0x25b)](_0x385103);});});}[_0x5491a2(0x22e)](_0x1e4eba,_0x17a967){const _0x2adf8f=_0x5491a2,_0x51094d=this[_0x2adf8f(0x248)](),_0x40a4b1=_0x17a967||_0x51094d[_0x2adf8f(0x207)]();this[_0x2adf8f(0x21d)][_0x2adf8f(0x20d)][_0x2adf8f(0x212)](_0x40a4b1)&&this[_0x2adf8f(0x21d)][_0x2adf8f(0x20d)][_0x2adf8f(0x243)](_0x84a694=>{const _0x58bf2b=_0x2adf8f;this[_0x58bf2b(0x25d)](),_0x17a967||this[_0x58bf2b(0x227)](_0x84a694,_0x51094d),this[_0x58bf2b(0x249)]({'insertAt':_0x40a4b1,'writer':_0x84a694,'html':_0x1e4eba});});}[_0x5491a2(0x24b)](_0x3c6279){const _0x861d49=_0x5491a2,{model:_0x2c58f8}=this[_0x861d49(0x21d)],_0xa20728=this[_0x861d49(0x248)]();_0x2c58f8[_0x861d49(0x243)](()=>{const _0x1d526b=_0x861d49,_0x193d78=this[_0x1d526b(0x222)](_0x3c6279,_0xa20728)||this[_0x1d526b(0x22a)](_0xa20728);this[_0x1d526b(0x22e)](_0x3c6279,_0x193d78);});}[_0x5491a2(0x248)](){const _0x5f190f=_0x5491a2,_0xef7388=this[_0x5f190f(0x21d)][_0x5f190f(0x20d)],_0x42ebff=Array[_0x5f190f(0x23d)](_0xef7388[_0x5f190f(0x24f)][_0x5f190f(0x22c)](f))[_0x5f190f(0x216)](_0x23f2f4=>_0x23f2f4[_0x5f190f(0x23f)]());return _0xef7388[_0x5f190f(0x1ef)](_0x42ebff);}[_0x5491a2(0x249)]({writer:_0x9ff4,html:_0x4e15e2,insertAt:_0x497549}){const _0x50f221=_0x5491a2,{view:_0x1eb775}=this[_0x50f221(0x21d)][_0x50f221(0x1f2)],_0x41ce5b=this[_0x50f221(0x21d)][_0x50f221(0x1ff)][_0x50f221(0x221)](_0x422f48),_0x4feb38=new w();_0x4feb38[_0x50f221(0x202)](_0x50f221(0x239),_0x4e15e2);const _0x53a3cf=new ClipboardEvent(_0x50f221(0x1f8),{'clipboardData':_0x4feb38}),_0xef0de3=new _0x2a7050(_0x1eb775,_0x53a3cf,{'dataTransfer':new _0x1d64df(_0x4feb38)});_0x9ff4[_0x50f221(0x210)](_0x497549);const _0x4d42d8=(_0x416fed,_0x4ef3f8)=>{const _0x21c408=_0x50f221;_0x4ef3f8[_0x21c408(0x247)]&&_0x9ff4[_0x21c408(0x210)](_0x4ef3f8[_0x21c408(0x247)]);};_0x41ce5b[_0x50f221(0x219)](_0x50f221(0x218),_0x4d42d8,{'priority':_0x50f221(0x235)}),_0x1eb775[_0x50f221(0x24c)][_0x50f221(0x208)](_0x50f221(0x1f8),_0xef0de3),_0x41ce5b[_0x50f221(0x20b)](_0x50f221(0x218),_0x4d42d8);}[_0x5491a2(0x22a)](_0x323c6c){const _0x7d7978=_0x5491a2,{model:_0x1e301a}=this[_0x7d7978(0x21d)],_0x2cf4bf=Array[_0x7d7978(0x23d)](_0x323c6c[_0x7d7978(0x220)]());return _0x2cf4bf[_0x7d7978(0x251)]?_0x1e301a[_0x7d7978(0x201)](_0x2cf4bf[_0x7d7978(0x20a)]()):_0x323c6c[_0x7d7978(0x230)]();}[_0x5491a2(0x222)](_0x505aa8,_0xfa210d){const _0x44642c=_0x5491a2,{model:_0x1a214e,plugins:_0x49a837}=this[_0x44642c(0x21d)];if(_0x49a837[_0x44642c(0x237)](_0x44642c(0x1f7))){const _0x271948=_0x49a837[_0x44642c(0x221)](_0x44642c(0x1f7))[_0x44642c(0x24a)](_0xfa210d);if(_0x271948[_0x44642c(0x251)]){const _0x42b594=this[_0x44642c(0x204)](_0x505aa8),_0x466353=this[_0x44642c(0x256)](_0x271948,_0x42b594);return _0x1a214e[_0x44642c(0x1fe)](_0x466353,0x0);}}return null;}[_0x5491a2(0x204)](_0x180cc8){const _0x32610f=_0x5491a2,_0x2ac802=this[_0x32610f(0x21d)][_0x32610f(0x1ff)][_0x32610f(0x221)](_0x32610f(0x1f7)),_0x3e9a7f=this[_0x32610f(0x21d)][_0x32610f(0x21a)][_0x32610f(0x255)](_0x180cc8),_0x33d3b0=Array[_0x32610f(0x23d)](_0x3e9a7f[_0x32610f(0x205)]())[_0x32610f(0x244)](_0x554a07=>_0x554a07['is'](_0x32610f(0x214),_0x32610f(0x23c)));let _0xbb0b66=0x0;return _0x33d3b0[_0x32610f(0x1f5)](_0x3fbfdf=>{const _0x37580f=_0x32610f;_0xbb0b66+=_0x2ac802[_0x37580f(0x23e)](_0x3fbfdf);}),_0xbb0b66;}[_0x5491a2(0x256)](_0x95e863,_0x4014d8){const _0xb5c0f7=_0x5491a2,_0x1b9b48=this[_0xb5c0f7(0x21d)][_0xb5c0f7(0x1ff)][_0xb5c0f7(0x221)](_0xb5c0f7(0x1f7)),_0x27b310=_0x1b9b48[_0xb5c0f7(0x20c)](_0x95e863),_0x51270a=_0x1b9b48[_0xb5c0f7(0x20e)](_0x95e863),_0x34e50d=_0x27b310[_0xb5c0f7(0x215)]+0x1,_0x422fa0=_0x51270a[_0xb5c0f7(0x1f1)],_0x248c61=_0x95e863[0x0][_0xb5c0f7(0x25c)](_0xb5c0f7(0x23c));for(let _0x1e87d6=0x0;_0x1e87d6<_0x4014d8;_0x1e87d6++)_0x1b9b48[_0xb5c0f7(0x245)](_0x248c61,{'at':_0x34e50d});return _0x248c61[_0xb5c0f7(0x246)](_0x34e50d)[_0xb5c0f7(0x246)](_0x422fa0);}[_0x5491a2(0x227)](_0x36947b,_0x230ba2){const _0x462ca5=_0x5491a2,{plugins:_0xebafa9}=this[_0x462ca5(0x21d)],{model:_0xdd5332}=_0x36947b;if(!_0xebafa9[_0x462ca5(0x237)](_0x462ca5(0x1f7)))return;_0xebafa9[_0x462ca5(0x221)](_0x462ca5(0x1f7))[_0x462ca5(0x24a)](_0x230ba2)[_0x462ca5(0x251)]&&_0xdd5332[_0x462ca5(0x241)](_0x230ba2);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x386d42=_0x504d;(function(_0x3a4b60,_0x327e70){const _0x24c662=_0x504d,_0x5bea2a=_0x3a4b60();while(!![]){try{const _0x1fb626=-parseInt(_0x24c662(0x10c))/0x1+parseInt(_0x24c662(0x17e))/0x2*(-parseInt(_0x24c662(0x174))/0x3)+parseInt(_0x24c662(0x195))/0x4+-parseInt(_0x24c662(0x11d))/0x5*(parseInt(_0x24c662(0x175))/0x6)+-parseInt(_0x24c662(0x12b))/0x7+-parseInt(_0x24c662(0x11c))/0x8*(-parseInt(_0x24c662(0x14d))/0x9)+parseInt(_0x24c662(0x119))/0xa;if(_0x1fb626===_0x327e70)break;else _0x5bea2a['push'](_0x5bea2a['shift']());}catch(_0x4fd68a){_0x5bea2a['push'](_0x5bea2a['shift']());}}}(_0x2b1b,0x1a9c7));import{Plugin as _0xb04aa5}from'ckeditor5/src/core.js';import{first as _0x2218ee,CKEditorError as _0x1c4c39}from'ckeditor5/src/utils.js';import{createDropdown as _0x53a084,addMenuToDropdown as _0x3b72fc,ButtonView as _0x5d6163,MenuBarMenuListItemButtonView as _0x30e837,Dialog as _0x8a1bd4,DialogViewPosition as _0x572939,MenuBarMenuView as _0x55167a,MenuBarMenuListView as _0x3cfa8d,MenuBarMenuListItemView as _0x5ee673}from'ckeditor5/src/ui.js';import{icons as _0x4b954}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x504d(_0x4e4a1e,_0x200503){const _0x2b1b4b=_0x2b1b();return _0x504d=function(_0x504dc0,_0x1d8bc0){_0x504dc0=_0x504dc0-0xed;let _0x3b4e61=_0x2b1b4b[_0x504dc0];return _0x3b4e61;},_0x504d(_0x4e4a1e,_0x200503);}import{normalizeCommandsConfig as _0x13c7c4,UNGROUPED_COMMANDS_GROUP_ID as _0x3eb963}from'./utils/normalizecommandsconfig.js';import _0xdc5da6 from'./aiassistantediting.js';import _0xc2b98 from'./adapters/aiadapter.js';import{getTranslation as _0x36f757}from'./utils/common-translations.js';import _0x2f2ab4 from'./ui/showaiassistantcommand.js';function _0x2b1b(){const _0x72487=['from','aiLicenseKeyUsageLimit','componentFactory','replace','requires','fieldView','label','trialLimit','_aiAssistantController','aiAssistant','aiCommands','addMany','once','change:value','get','showFakeVisualSelection','isOfficialPlugin','insertContent','invalid','init','rawHtml','insertContentBelow','AI\x20Assistant','aiLicenseKeyValid','Generated\x20content:\x20%0','tableOfContents','menuView','setSelection','command:','9tPMUJb','execute','_dialog','queryView','update','INSERT','selection','licenseKey','commands','change','AIAssistant','robotPencil','buttonView','requiresContent','_initAriaAiStatusChangeAnnouncements','source','enabledCommandsIds','length','hide','_showLicenseError','usageLimit','_onExecute','getLimitElement','order','editing','copy','push','schema','focus','_initView','custom','text/html','updatePosition','values','filter','ai.aiAssistant.contentAreaCssClass','_aiAdapter','_licenseKeyCheckInterval','buttons','36kmlRCW','54gaeGhN','listenTo','updateView','reset','featureNotAllowed','destroy','DataTransfer','domainLimit','_getMenuBarGroupButtons','24198iexPYT','menuPanelClass','textAdapter','getSelectedBlocks','delegate','items','children','AIAssistantUI','evaluationLimit','ck-ai-assistant-ui','bind','groupId','getData','menuBar:aiAssistant','polite','announce','aiLicenseKeyInvalid','ai.useTheme','AI\x20Commands','comment','show','forEach','ai.aiAssistant.commands','434060VmBDww','aiLicenseKeyNotAllowed','ck-ai-assistant-button\x20','aiLicenseKeyDomainLimit','ai.aiAssistant.disabledElements','isCollapsed','config','menuBar:aiCommands','ck-ai-commands-dropdown\x20','text','fire','map','define','prompt','isOn','body','aiLicenseKeyTrialLimit','hideFakeVisualSelection','document','change:isProcessing','wasMoved','editor','add','menuitemcheckbox','panelView','getRanges','EDITOR_TOP_SIDE','_createAIAssistantUIButton','set','Error\x20during\x20AI\x20content\x20generation:\x20%0','splice','model','</p>','isEnabled','replaceContent','currentContext','change:isError','<p>','errorView','promptView','48491XfJNKN','showAIAssistant','plugins','includes','media','_commandDefinitions','isPremiumPlugin','sort','_uiCssClasses','view','trim','_getResolvedCommandsDefinitions','render','5302100kbvlAV','_forceMarkersCopy','aiLicenseKeyEvaluationLimit','172728fABiqC','81440xjjGwk','ai-commands-config-order-collision','showUI','isFlat','expired','contentArea','locale','AI\x20is\x20writing','aiLicenseKeyExpired','hideUI','change:enabledCommandsIds','REPLACE','_populateMenuBarMenu','pluginName','1477322rmlXZr','getSelectedElement','_formView','groupLabel','\x20ck-ai-assistant-ui_theme'];_0x2b1b=function(){return _0x72487;};return _0x2b1b();}import _0x32c8c3 from'./ui/aiassistantcontroller.js';import _0x533073 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x58eab8}from'./ui/form/aiformtoolbarview.js';import _0x597090 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x386d42(0x17b)];import{ClipboardMarkersUtils as _0x51cb20}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x25eb20,DataTransfer as _0xd9636e}from'ckeditor5/src/engine.js';export default class n extends _0xb04aa5{static get[_0x386d42(0x12a)](){const _0x3253a8=_0x386d42;return _0x3253a8(0x185);}static get[_0x386d42(0x140)](){return!0x0;}static get[_0x386d42(0x112)](){return!0x0;}static get[_0x386d42(0x134)](){return[_0x51cb20,_0xdc5da6,_0xc2b98,_0x8a1bd4];}constructor(_0x1befd7){const _0x4f82a2=_0x386d42;super(_0x1befd7),this[_0x4f82a2(0x114)]='',_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x199),[_0x4f82a2(0x110),_0x4f82a2(0x144),_0x4f82a2(0x149)]),_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x170),''),_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0xf0)](_0x4f82a2(0x18f),!0x0),this[_0x4f82a2(0x114)]=_0x4f82a2(0x187)+(_0x1befd7[_0x4f82a2(0x19b)][_0x4f82a2(0x13e)](_0x4f82a2(0x18f))?_0x4f82a2(0x12f):'');}[_0x386d42(0x143)](){const _0x32c2e8=_0x386d42,{editor:_0x293514}=this;this[_0x32c2e8(0x171)]=_0x293514[_0x32c2e8(0x10e)][_0x32c2e8(0x13e)](_0xc2b98),this[_0x32c2e8(0x14f)]=_0x293514[_0x32c2e8(0x10e)][_0x32c2e8(0x13e)](_0x8a1bd4),this[_0x32c2e8(0x12d)]=null,this[_0x32c2e8(0x111)]=this[_0x32c2e8(0x117)]();const _0x4a48ae=new _0x2f2ab4(_0x293514,Array[_0x32c2e8(0x130)](this[_0x32c2e8(0x111)][_0x32c2e8(0x16e)]()));_0x293514[_0x32c2e8(0x155)][_0x32c2e8(0xfa)](_0x32c2e8(0x10d),_0x4a48ae),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x13a),_0x163117=>{const _0x4a3cd6=_0x32c2e8,_0x171d52=_0x53a084(_0x163117);return _0x171d52[_0x4a3cd6(0x100)]({'class':_0x4a3cd6(0x19d)+this[_0x4a3cd6(0x114)]}),_0x171d52[_0x4a3cd6(0x159)][_0x4a3cd6(0x100)]({'label':_0x36f757(_0x163117,_0x4a3cd6(0x190)),'icon':_0x597090,'tooltip':!0x0}),_0x171d52['on'](_0x4a3cd6(0x14e),_0x307de1=>this[_0x4a3cd6(0x162)](_0x307de1[_0x4a3cd6(0x15c)]['id'])),_0x3b72fc(_0x171d52,_0x293514['ui'][_0x4a3cd6(0x115)][_0x4a3cd6(0xf3)],function(_0x4ae3a5){const _0x218802=_0x4a3cd6,_0x39eb26=_0x13c7c4(_0x4ae3a5[_0x218802(0x19b)][_0x218802(0x13e)](_0x218802(0x194)),_0x4ae3a5[_0x218802(0x123)]),_0x5d91af=U(_0x4ae3a5,_0x39eb26)[_0x218802(0x16f)](_0x517e45=>_0x517e45[_0x218802(0x155)][_0x218802(0x15e)]);if(0x1===_0x5d91af[_0x218802(0x15e)])return U(_0x4ae3a5,_0x5d91af[0x0][_0x218802(0x155)])[_0x218802(0xef)](_0x3b083b=>({'id':_0x3b083b['id'],'label':_0x3b083b[_0x218802(0x136)]}));return _0x5d91af[_0x218802(0xef)](_0xe22888=>{const _0x59684d=_0x218802,{groupId:_0x1b749d,groupLabel:_0x5503f1,commands:_0x10c196}=_0xe22888,_0x2476b3=U(_0x4ae3a5,_0x10c196)[_0x59684d(0xef)](_0x5186b6=>({'id':_0x5186b6['id'],'label':_0x5186b6[_0x59684d(0x136)]}));return{'id':_0x1b749d,'menu':_0x5503f1||_0x1b749d,'children':_0x2476b3};});}(_0x293514),{'ariaLabel':_0x36f757(_0x163117,_0x4a3cd6(0x190))}),_0x171d52[_0x4a3cd6(0x14a)][_0x4a3cd6(0x17f)]=_0x4a3cd6(0x19d)+this[_0x4a3cd6(0x114)],_0x4a48ae['on'](_0x4a3cd6(0x127),_0x28b48b),_0x171d52[_0x4a3cd6(0x14a)][_0x4a3cd6(0x13c)](_0x4a3cd6(0x118),_0x28b48b),_0x171d52;function _0x28b48b(){const _0x51600c=_0x4a3cd6;_0x171d52[_0x51600c(0x105)]=_0x4a48ae[_0x51600c(0x15d)][_0x51600c(0x15e)]>0x0;for(const _0x19f3bc of _0x171d52[_0x51600c(0x14a)][_0x51600c(0x173)])_0x19f3bc[_0x51600c(0x105)]=_0x4a48ae[_0x51600c(0x15d)][_0x51600c(0x10f)](_0x19f3bc['id']);}}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x19c),_0x565b7a=>{const _0x4de7ad=_0x32c2e8,_0x3685aa=new _0x55167a(_0x565b7a);_0x3685aa[_0x4de7ad(0x159)][_0x4de7ad(0x100)]({'label':_0x36f757(_0x565b7a,_0x4de7ad(0x190)),'icon':_0x597090}),_0x3685aa[_0x4de7ad(0x188)](_0x4de7ad(0x105))['to'](_0x4a48ae,_0x4de7ad(0x15d),_0x2a3642=>_0x2a3642[_0x4de7ad(0x15e)]>0x0);const _0x3844dd=_0x13c7c4(_0x293514[_0x4de7ad(0x19b)][_0x4de7ad(0x13e)](_0x4de7ad(0x194)),_0x565b7a);return this[_0x4de7ad(0x129)](_0x4a48ae,_0x3685aa,_0x3844dd,_0x59ad7f=>this[_0x4de7ad(0x162)](_0x59ad7f)),_0x3685aa;}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x139),()=>{const _0x380a18=_0x32c2e8,_0x5a7bfc=this[_0x380a18(0xff)](_0x5d6163);return _0x5a7bfc[_0x380a18(0x100)]({'tooltip':!0x0,'class':_0x380a18(0x197)+this[_0x380a18(0x114)]}),_0x5a7bfc;}),_0x293514['ui'][_0x32c2e8(0x132)][_0x32c2e8(0xfa)](_0x32c2e8(0x18b),()=>{const _0x182a1c=_0x32c2e8,_0x5c601c=this[_0x182a1c(0xff)](_0x30e837);return _0x5c601c[_0x182a1c(0x100)]({'role':_0x182a1c(0xfb)}),_0x5c601c;}),this[_0x32c2e8(0x154)]=this[_0x32c2e8(0xf9)][_0x32c2e8(0x19b)][_0x32c2e8(0x13e)](_0x32c2e8(0x154));const _0x1ed194=this[_0x32c2e8(0xf9)];this[_0x32c2e8(0x172)]=setInterval(()=>{const _0x39926d=_0x32c2e8;let _0x359a7b;for(const _0x39c2d8 in _0x1ed194){const _0x2fc628=_0x39c2d8,_0x49a7a9=_0x1ed194[_0x2fc628];if(_0x39926d(0x147)==_0x49a7a9||_0x39926d(0x18e)==_0x49a7a9||_0x39926d(0x125)==_0x49a7a9||_0x39926d(0x198)==_0x49a7a9||_0x39926d(0x196)==_0x49a7a9||_0x39926d(0x11b)==_0x49a7a9||_0x39926d(0xf4)==_0x49a7a9||_0x39926d(0x131)==_0x49a7a9){delete _0x1ed194[_0x2fc628],_0x359a7b=_0x49a7a9,clearInterval(this[_0x39926d(0x172)]),this[_0x39926d(0x172)]=void 0x0;break;}}_0x39926d(0x18e)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x142)),_0x39926d(0x125)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x121)),_0x39926d(0x198)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x17c)),_0x39926d(0x196)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x179),_0x39926d(0x157)),_0x39926d(0x11b)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x186)),_0x39926d(0xf4)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x137)),_0x39926d(0x131)==_0x359a7b&&_0x1ed194[_0x39926d(0x160)](_0x39926d(0x161));},0x3e8);}[_0x386d42(0x17a)](){const _0x33267a=_0x386d42;super[_0x33267a(0x17a)](),this[_0x33267a(0x172)]&&clearInterval(this[_0x33267a(0x172)]);}[_0x386d42(0x11f)](_0x13c3c2='',_0x3a33a4='',_0x328072=_0x386d42(0x16b)){const _0x45c4fe=_0x386d42,_0x316773=this[_0x45c4fe(0xf9)],_0xe1d057=_0x316773[_0x45c4fe(0x165)][_0x45c4fe(0x115)],_0x1d66d3=_0x316773[_0x45c4fe(0x10e)][_0x45c4fe(0x13e)](_0xdc5da6),_0x3db6fc=_0x316773[_0x45c4fe(0x10e)][_0x45c4fe(0x13e)](_0x51cb20);_0x1d66d3[_0x45c4fe(0x13f)]();const _0x3991cc=new w(),_0x4d8171=new ClipboardEvent(_0x45c4fe(0x166),{'clipboardData':_0x3991cc}),_0x51a3a6=new _0xd9636e(_0x3991cc),_0x26cac9=new _0x25eb20(_0xe1d057,_0x4d8171,{'dataTransfer':_0x51a3a6});_0x3db6fc[_0x45c4fe(0x11a)](_0x45c4fe(0x191),()=>{const _0x141edc=_0x45c4fe;_0xe1d057[_0x141edc(0xf6)][_0x141edc(0xee)](_0x141edc(0x166),_0x26cac9);}),this[_0x45c4fe(0x12d)]||(this[_0x45c4fe(0x16a)](),this[_0x45c4fe(0x138)]=new _0x32c8c3(_0x316773,this[_0x45c4fe(0x171)][_0x45c4fe(0x180)],this[_0x45c4fe(0x12d)]));let _0x1c2ba9=_0x51a3a6[_0x45c4fe(0x18a)](_0x45c4fe(0x16c));const _0x207213=_0x316773[_0x45c4fe(0x103)][_0x45c4fe(0xf6)][_0x45c4fe(0x153)],_0x1e74aa=Array[_0x45c4fe(0x130)](_0x207213[_0x45c4fe(0xfd)]());0x1===_0x1e74aa[_0x45c4fe(0x15e)]&&_0x1e74aa[0x0][_0x45c4fe(0x120)]&&!_0x207213[_0x45c4fe(0x12c)]()&&''!==_0x1c2ba9[_0x45c4fe(0x133)](/ /g,'')[_0x45c4fe(0x116)]()&&(_0x1c2ba9=_0x45c4fe(0x109)+_0x1c2ba9+_0x45c4fe(0x104)),this[_0x45c4fe(0x138)][_0x45c4fe(0x177)]({'actionId':_0x328072,'query':_0x13c3c2,'htmlContent':_0x1c2ba9,'label':_0x3a33a4,'mainActionLabel':_0x58eab8[_0x316773[_0x45c4fe(0x103)][_0x45c4fe(0xf6)][_0x45c4fe(0x153)][_0x45c4fe(0x19a)]?_0x45c4fe(0x152):_0x45c4fe(0x128)]}),_0x45c4fe(0x139)!==this[_0x45c4fe(0x14f)]['id']?this[_0x45c4fe(0x14f)][_0x45c4fe(0x192)]({'id':_0x45c4fe(0x139),'icon':_0x4b954[_0x45c4fe(0x158)],'title':_0x36f757(this[_0x45c4fe(0xf9)][_0x45c4fe(0x123)],_0x45c4fe(0x146)),'content':this[_0x45c4fe(0x12d)],'position':_0x572939[_0x45c4fe(0xfe)],'onShow':()=>{const _0x28672a=_0x45c4fe;this[_0x28672a(0x12d)][_0x28672a(0x169)]();},'onHide':()=>{const _0x1404ca=_0x45c4fe;this[_0x1404ca(0x138)][_0x1404ca(0x178)](),_0x1d66d3[_0x1404ca(0xf5)]();}}):this[_0x45c4fe(0x14f)][_0x45c4fe(0x115)][_0x45c4fe(0xf8)]||this[_0x45c4fe(0x14f)][_0x45c4fe(0x115)][_0x45c4fe(0x16d)]();}[_0x386d42(0x126)](){const _0x54ce5d=_0x386d42;this[_0x54ce5d(0x14f)][_0x54ce5d(0x15f)]();}[_0x386d42(0x117)](){const _0x4105ae=_0x386d42,_0x51b52e=new Map(),_0x281638=_0x13c7c4(this[_0x4105ae(0xf9)][_0x4105ae(0x19b)][_0x4105ae(0x13e)](_0x4105ae(0x194)),this[_0x4105ae(0xf9)][_0x4105ae(0x123)]);for(const _0x2833e5 of _0x281638)for(const _0x471d73 of _0x2833e5[_0x4105ae(0x155)])_0x51b52e[_0x4105ae(0x100)](_0x471d73['id'],{..._0x471d73,'groupId':_0x2833e5[_0x4105ae(0x189)],'groupLabel':_0x2833e5[_0x4105ae(0x12e)]||_0x2833e5[_0x4105ae(0x189)]});return _0x51b52e;}[_0x386d42(0xff)](_0x1512c3){const _0x20c315=_0x386d42,_0xeec18f=this[_0x20c315(0xf9)],_0x3bbd9b=_0xeec18f[_0x20c315(0x155)][_0x20c315(0x13e)](_0x20c315(0x10d)),_0x476e09=new _0x1512c3(_0xeec18f[_0x20c315(0x123)]);return _0x476e09[_0x20c315(0x100)]({'label':_0x36f757(_0xeec18f[_0x20c315(0x123)],_0x20c315(0x146)),'icon':_0x4b954[_0x20c315(0x158)],'isToggleable':!0x0}),_0x476e09[_0x20c315(0x188)](_0x20c315(0x105))['to'](_0x3bbd9b),_0x476e09[_0x20c315(0x188)](_0x20c315(0xf2))['to'](this[_0x20c315(0x14f)],'id',_0x2fc97e=>_0x20c315(0x139)===_0x2fc97e),this[_0x20c315(0x176)](_0x476e09,_0x20c315(0x14e),()=>{const _0x5f32ad=_0x20c315;_0x476e09[_0x5f32ad(0xf2)]?this[_0x5f32ad(0x126)]():_0x3bbd9b[_0x5f32ad(0x14e)]();}),_0x476e09;}[_0x386d42(0x16a)](){const _0x4d9519=_0x386d42,_0x377b80=this[_0x4d9519(0xf9)][_0x4d9519(0x10e)][_0x4d9519(0x13e)](_0xdc5da6);this[_0x4d9519(0x12d)]=new _0x533073(this[_0x4d9519(0xf9)][_0x4d9519(0x123)],this[_0x4d9519(0x114)],this[_0x4d9519(0xf9)][_0x4d9519(0x19b)][_0x4d9519(0x13e)](_0x4d9519(0x170))),this[_0x4d9519(0x12d)]['on'](_0x4d9519(0x13d),()=>{const _0x4567b6=_0x4d9519;this[_0x4567b6(0x14f)][_0x4567b6(0x115)][_0x4567b6(0xf8)]||this[_0x4567b6(0x14f)][_0x4567b6(0x115)][_0x4567b6(0x16d)]();}),this[_0x4d9519(0x12d)][_0x4d9519(0x10b)][_0x4d9519(0x150)][_0x4d9519(0x135)]['on'](_0x4d9519(0x151),()=>{const _0x3dca71=_0x4d9519;this[_0x3dca71(0x14f)][_0x3dca71(0x115)][_0x3dca71(0xf8)]||this[_0x3dca71(0x14f)][_0x3dca71(0x115)][_0x3dca71(0x16d)]();}),this[_0x4d9519(0x176)](this[_0x4d9519(0x12d)],_0x4d9519(0x106),()=>{const _0x5c3fe7=_0x4d9519;_0x377b80[_0x5c3fe7(0x141)](this[_0x5c3fe7(0x138)][_0x5c3fe7(0x107)]),this[_0x5c3fe7(0x126)]();}),this[_0x4d9519(0x176)](this[_0x4d9519(0x12d)],_0x4d9519(0x145),()=>{const _0x177694=_0x4d9519;_0x377b80[_0x177694(0x145)](this[_0x177694(0x138)][_0x177694(0x107)]),this[_0x177694(0x126)]();}),this[_0x4d9519(0x15b)]();}[_0x386d42(0x15b)](){const _0x1d0d4b=_0x386d42,{locale:_0x277d82,ui:{ariaLiveAnnouncer:_0x34028b}}=this[_0x1d0d4b(0xf9)];this[_0x1d0d4b(0x12d)][_0x1d0d4b(0x122)]['on'](_0x1d0d4b(0xf7),(_0x1a3dc0,_0x21cc12,_0x3aacb8)=>{const _0x2c74fe=_0x1d0d4b,_0x2e49be=this[_0x2c74fe(0x138)][_0x2c74fe(0x107)];_0x3aacb8?_0x34028b[_0x2c74fe(0x18d)](_0x36f757(_0x277d82,_0x2c74fe(0x124))):_0x2e49be&&_0x34028b[_0x2c74fe(0x18d)](_0x36f757(_0x277d82,_0x2c74fe(0x148),_0x2e49be),{'politeness':_0x2c74fe(0x18c),'isUnsafeHTML':!0x0});}),this[_0x1d0d4b(0x12d)]['on'](_0x1d0d4b(0x108),(_0x55cc65,_0x1bc3af,_0x1c1748)=>{const _0x16b339=_0x1d0d4b;if(_0x1c1748){const _0x1701a6=this[_0x16b339(0x12d)][_0x16b339(0x10a)][_0x16b339(0xed)];_0x34028b[_0x16b339(0x18d)](_0x36f757(_0x277d82,_0x16b339(0x101),_0x1701a6));}});}[_0x386d42(0x162)](_0x199c9c){const _0x1d586f=_0x386d42,_0x211e1=this[_0x1d586f(0x111)][_0x1d586f(0x13e)](_0x199c9c),_0x308f9d=this[_0x1d586f(0xf9)],_0x382ef5=_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0xf6)][_0x1d586f(0x153)],_0x13e29a=_0x308f9d[_0x1d586f(0x155)][_0x1d586f(0x13e)](_0x1d586f(0x10d)),_0x39aa30=_0x308f9d[_0x1d586f(0x10e)][_0x1d586f(0x13e)](_0xdc5da6),_0x1f69fe=''+(_0x211e1[_0x1d586f(0x189)]!==_0x3eb963?_0x211e1[_0x1d586f(0x12e)]+':\x20':'')+_0x211e1[_0x1d586f(0x136)];if(!0x1!==_0x211e1[_0x1d586f(0x15a)]&&_0x382ef5[_0x1d586f(0x19a)]){const _0x5b613e=_0x2218ee(_0x382ef5[_0x1d586f(0x181)]())||_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0x168)][_0x1d586f(0x163)](_0x382ef5);_0x308f9d[_0x1d586f(0x103)][_0x1d586f(0x156)](_0x23faa1=>{const _0x50ceed=_0x1d586f;_0x23faa1[_0x50ceed(0x14b)](_0x5b613e,'in');});}_0x39aa30[_0x1d586f(0x13f)](),_0x13e29a[_0x1d586f(0x14e)](_0x211e1[_0x1d586f(0xf1)],_0x1f69fe,_0x1d586f(0x14c)+_0x199c9c);}[_0x386d42(0x129)](_0x51dc9d,_0x2d99ee,_0x2136bb,_0x4986c2){const _0x47042a=_0x386d42,_0x41b050=this[_0x47042a(0xf9)],_0xe05d3=_0x41b050[_0x47042a(0x123)],_0x2e086f=new _0x3cfa8d(_0xe05d3),_0x4886f5=U(_0x41b050,_0x2136bb)[_0x47042a(0x16f)](_0x2f28de=>_0x2f28de[_0x47042a(0x155)][_0x47042a(0x15e)]);0x1===_0x4886f5[_0x47042a(0x15e)]?this[_0x47042a(0x17d)]({'command':_0x51dc9d,'commands':_0x4886f5[0x0][_0x47042a(0x155)],'parentMenuView':_0x2d99ee,'onExecute':_0x4986c2})[_0x47042a(0x193)](_0x4165ff=>_0x2e086f[_0x47042a(0x183)][_0x47042a(0xfa)](_0x4165ff)):_0x4886f5[_0x47042a(0x193)](({groupId:_0x553922,groupLabel:_0x1f3c88,commands:_0x15a46d})=>{const _0x114d44=_0x47042a,_0x3a2f0f=new _0x5ee673(_0xe05d3,_0x2d99ee),_0x4ffa1c=new _0x55167a(_0xe05d3),_0x5a7ed1=new _0x3cfa8d(_0xe05d3),_0x1ad07b=this[_0x114d44(0x17d)]({'command':_0x51dc9d,'commands':_0x15a46d,'parentMenuView':_0x4ffa1c,'onExecute':_0x4986c2});_0x4ffa1c[_0x114d44(0x159)][_0x114d44(0x100)]({'label':_0x1f3c88||_0x553922}),_0x4ffa1c[_0x114d44(0x182)](_0x114d44(0x14e))['to'](_0x2d99ee),_0x5a7ed1[_0x114d44(0x183)][_0x114d44(0x13b)](_0x1ad07b),_0x4ffa1c[_0x114d44(0xfc)][_0x114d44(0x184)][_0x114d44(0xfa)](_0x5a7ed1),_0x3a2f0f[_0x114d44(0x184)][_0x114d44(0xfa)](_0x4ffa1c),_0x2e086f[_0x114d44(0x183)][_0x114d44(0xfa)](_0x3a2f0f);}),_0x2d99ee[_0x47042a(0xfc)][_0x47042a(0x184)][_0x47042a(0xfa)](_0x2e086f);}[_0x386d42(0x17d)]({command:_0x5d37c4,commands:_0x58236e,parentMenuView:_0x3e2d8,onExecute:_0x1e033f}){const _0x538b18=_0x386d42,_0x47af16=this[_0x538b18(0xf9)],_0x72a85e=_0x47af16[_0x538b18(0x123)];return U(_0x47af16,_0x58236e)[_0x538b18(0xef)](_0x2b8b49=>{const _0x31d7ae=_0x538b18,_0x2ede09=new _0x5ee673(_0x72a85e,_0x3e2d8),_0x238650=new _0x30e837(_0x72a85e);return _0x238650[_0x31d7ae(0x100)]({'label':_0x2b8b49[_0x31d7ae(0x136)]}),_0x238650[_0x31d7ae(0x182)](_0x31d7ae(0x14e))['to'](_0x3e2d8),_0x238650['on'](_0x31d7ae(0x14e),()=>_0x1e033f(_0x2b8b49['id'])),_0x238650[_0x31d7ae(0x188)](_0x31d7ae(0x105))['to'](_0x5d37c4,_0x31d7ae(0x15d),_0x5d6b16=>_0x5d6b16[_0x31d7ae(0x10f)](_0x2b8b49['id'])),_0x2ede09[_0x31d7ae(0x184)][_0x31d7ae(0xfa)](_0x238650),_0x2ede09;});}}function B(_0xbd91df,_0x36973d){const _0x37e9d7=_0x386d42;return void 0x0!==_0xbd91df[_0x37e9d7(0x164)]&&void 0x0===_0x36973d[_0x37e9d7(0x164)]?0x1:void 0x0===_0xbd91df[_0x37e9d7(0x164)]&&void 0x0!==_0x36973d[_0x37e9d7(0x164)]?-0x1:void 0x0!==_0xbd91df[_0x37e9d7(0x164)]&&void 0x0!==_0x36973d[_0x37e9d7(0x164)]?_0xbd91df[_0x37e9d7(0x164)]-_0x36973d[_0x37e9d7(0x164)]:0x0;}function U(_0x1d4249,_0x170cb2){const _0x52c012=_0x386d42;_0x170cb2[_0x52c012(0x113)](B);const _0x161813={},_0x155824=[];for(const _0x2892e0 of _0x170cb2)if(void 0x0!==_0x2892e0[_0x52c012(0x164)]){if(_0x2892e0[_0x52c012(0x164)]in _0x161813)throw new _0x1c4c39(_0x52c012(0x11e),_0x1d4249,{'conflictingDefinitions':[_0x2892e0,_0x161813[_0x2892e0[_0x52c012(0x164)]]]});_0x161813[_0x2892e0[_0x52c012(0x164)]]=_0x2892e0,_0x155824[_0x52c012(0x102)](_0x2892e0[_0x52c012(0x164)],0x0,_0x2892e0);}else _0x155824[_0x52c012(0x167)](_0x2892e0);return _0x155824;}
|
|
23
|
+
const _0x5e8e41=_0x1ca7;(function(_0x2b46a2,_0x5ead4c){const _0x2e9da6=_0x1ca7,_0x479dde=_0x2b46a2();while(!![]){try{const _0xc7e1f4=-parseInt(_0x2e9da6(0x14b))/0x1*(parseInt(_0x2e9da6(0xe7))/0x2)+parseInt(_0x2e9da6(0xf1))/0x3+-parseInt(_0x2e9da6(0xae))/0x4+parseInt(_0x2e9da6(0xc3))/0x5*(-parseInt(_0x2e9da6(0xb4))/0x6)+parseInt(_0x2e9da6(0x155))/0x7+-parseInt(_0x2e9da6(0x100))/0x8*(parseInt(_0x2e9da6(0xb3))/0x9)+parseInt(_0x2e9da6(0xac))/0xa;if(_0xc7e1f4===_0x5ead4c)break;else _0x479dde['push'](_0x479dde['shift']());}catch(_0x208676){_0x479dde['push'](_0x479dde['shift']());}}}(_0x3d82,0x6f52c));import{Plugin as _0x1afb71}from'ckeditor5/src/core.js';import{first as _0x4753dc,CKEditorError as _0x1aa6ab}from'ckeditor5/src/utils.js';import{createDropdown as _0xbd3c8a,addMenuToDropdown as _0x3e3214,ButtonView as _0x5abd87,MenuBarMenuListItemButtonView as _0x53acff,Dialog as _0x31cdf4,DialogViewPosition as _0x3ddf54,MenuBarMenuView as _0x1922bd,MenuBarMenuListView as _0x1fa5e0,MenuBarMenuListItemView as _0x55daf5}from'ckeditor5/src/ui.js';function _0x3d82(){const _0x5904a9=['editing','wasMoved','_initView','invalid','hideFakeVisualSelection','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','includes','getData','enabledCommandsIds','\x20ck-ai-assistant-ui_theme','menuBar:aiAssistant','aiLicenseKeyExpired','_populateMenuBarMenu','REPLACE','menuView','currentContext','update','robotPencil','setSelection','getSelectedElement','ai.useTheme','_aiAssistantController','groupId','ck-ai-commands-dropdown\x20','focus','_dialog','isCollapsed','ai-commands-config-order-collision','once','init','bind','10468rwYkcT','Generated\x20content:\x20%0','AI\x20Commands','set','aiLicenseKeyUsageLimit','render','copy','DataTransfer','prompt','listenTo','2590263aUxJIM','execute','pluginName','sort','media','updateView','insertContentBelow','promptView','getSelectedBlocks','rawHtml','from','_createAIAssistantUIButton','custom','fire','isPremiumPlugin','1552HdNQeH','menuPanelClass','label','queryView','splice','ai.aiAssistant.commands','aiAssistant','change:value','ck-ai-assistant-ui','view','_onExecute','textAdapter','replaceContent','_getMenuBarGroupButtons','showUI','get','polite','getLimitElement','change:isProcessing','replace','fieldView','schema','_commandDefinitions','values','commands','reset','change','ai.aiAssistant.disabledElements','text/html','editor','domainLimit','ck-ai-assistant-button\x20','buttons','requires','model','ai.aiAssistant.contentAreaCssClass','_getResolvedCommandsDefinitions','AI\x20is\x20writing','destroy','expired','buttonView','config','EDITOR_TOP_SIDE','tableOfContents','items','usageLimit','add','AIAssistantUI','requiresContent','addMany','plugins','define','children','command:','change:enabledCommandsIds','body','aiLicenseKeyEvaluationLimit','errorView','getRanges','source','licenseKey','forEach','push','isEnabled','featureNotAllowed','isOfficialPlugin','isOn','aiLicenseKeyDomainLimit','hide','_uiCssClasses','_initAriaAiStatusChangeAnnouncements','showAIAssistant','_aiAdapter','groupLabel','showFakeVisualSelection','3fddkFR','menuBar:aiCommands','hideUI','document','change:isError','panelView','order','delegate','aiLicenseKeyValid','trialLimit','4632859yreIGh','_formView','insertContent','INSERT','length','comment','_forceMarkersCopy','menuitemcheckbox','1789670JKSTrM','aiLicenseKeyTrialLimit','2912328OBbscM','evaluationLimit','map','show','updatePosition','2556kMuTvw','30xnLYWP','aiCommands','trim','aiLicenseKeyInvalid','_licenseKeyCheckInterval','</p>','contentArea','componentFactory','_showLicenseError','aiLicenseKeyNotAllowed','announce','locale','isFlat','AIAssistant','text','449365jJKlDQ','AI\x20Assistant','<p>','filter'];_0x3d82=function(){return _0x5904a9;};return _0x3d82();}import{icons as _0x557bb2}from'ckeditor5-collaboration/src/collaboration-core.js';import{normalizeCommandsConfig as _0x259e7f,UNGROUPED_COMMANDS_GROUP_ID as _0x4f0829}from'./utils/normalizecommandsconfig.js';function _0x1ca7(_0x53b646,_0x1dbe34){const _0x3d829c=_0x3d82();return _0x1ca7=function(_0x1ca717,_0x48aa43){_0x1ca717=_0x1ca717-0xa5;let _0x2e8fa2=_0x3d829c[_0x1ca717];return _0x2e8fa2;},_0x1ca7(_0x53b646,_0x1dbe34);}import _0x2b7bb7 from'./aiassistantediting.js';import _0x2c2184 from'./adapters/aiadapter.js';import{getTranslation as _0x1ab32b}from'./utils/common-translations.js';import _0x4bb72e from'./ui/showaiassistantcommand.js';import _0x45c2ef from'./ui/aiassistantcontroller.js';import _0x11f5ff from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x46248b}from'./ui/form/aiformtoolbarview.js';import _0x14f486 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5e8e41(0xee)];import{ClipboardMarkersUtils as _0x5b506e}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x57df39,DataTransfer as _0xb99b0c}from'ckeditor5/src/engine.js';export default class n extends _0x1afb71{static get[_0x5e8e41(0xf3)](){const _0x24a4a5=_0x5e8e41;return _0x24a4a5(0x12f);}static get[_0x5e8e41(0x141)](){return!0x0;}static get[_0x5e8e41(0xff)](){return!0x0;}static get[_0x5e8e41(0x121)](){return[_0x5b506e,_0x2b7bb7,_0x2c2184,_0x31cdf4];}constructor(_0x35fab0){const _0x5b7ba0=_0x5e8e41;super(_0x35fab0),this[_0x5b7ba0(0x145)]='',_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0x11b),[_0x5b7ba0(0xf5),_0x5b7ba0(0xfa),_0x5b7ba0(0x12b)]),_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0x123),''),_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x133)](_0x5b7ba0(0xdc),!0x0),this[_0x5b7ba0(0x145)]=_0x5b7ba0(0x108)+(_0x35fab0[_0x5b7ba0(0x129)][_0x5b7ba0(0x10f)](_0x5b7ba0(0xdc))?_0x5b7ba0(0xd1):'');}[_0x5e8e41(0xe5)](){const _0x2d6ca5=_0x5e8e41,{editor:_0x31d8a3}=this;this[_0x2d6ca5(0x148)]=_0x31d8a3[_0x2d6ca5(0x132)][_0x2d6ca5(0x10f)](_0x2c2184),this[_0x2d6ca5(0xe1)]=_0x31d8a3[_0x2d6ca5(0x132)][_0x2d6ca5(0x10f)](_0x31cdf4),this[_0x2d6ca5(0xa5)]=null,this[_0x2d6ca5(0x116)]=this[_0x2d6ca5(0x124)]();const _0x56a732=new _0x4bb72e(_0x31d8a3,Array[_0x2d6ca5(0xfb)](this[_0x2d6ca5(0x116)][_0x2d6ca5(0x117)]()));_0x31d8a3[_0x2d6ca5(0x118)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x147),_0x56a732),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0xb5),_0x284389=>{const _0x578f54=_0x2d6ca5,_0xcedc37=_0xbd3c8a(_0x284389);return _0xcedc37[_0x578f54(0xea)]({'class':_0x578f54(0xdf)+this[_0x578f54(0x145)]}),_0xcedc37[_0x578f54(0x128)][_0x578f54(0xea)]({'label':_0x1ab32b(_0x284389,_0x578f54(0xe9)),'icon':_0x14f486,'tooltip':!0x0}),_0xcedc37['on'](_0x578f54(0xf2),_0x200068=>this[_0x578f54(0x10a)](_0x200068[_0x578f54(0x13b)]['id'])),_0x3e3214(_0xcedc37,_0x31d8a3['ui'][_0x578f54(0x109)][_0x578f54(0x137)],function(_0x3f4ddc){const _0x44956a=_0x578f54,_0x27230a=_0x259e7f(_0x3f4ddc[_0x44956a(0x129)][_0x44956a(0x10f)](_0x44956a(0x105)),_0x3f4ddc[_0x44956a(0xbf)]),_0x4f28f7=U(_0x3f4ddc,_0x27230a)[_0x44956a(0xc6)](_0x155912=>_0x155912[_0x44956a(0x118)][_0x44956a(0xa8)]);if(0x1===_0x4f28f7[_0x44956a(0xa8)])return U(_0x3f4ddc,_0x4f28f7[0x0][_0x44956a(0x118)])[_0x44956a(0xb0)](_0x5c1a89=>({'id':_0x5c1a89['id'],'label':_0x5c1a89[_0x44956a(0x102)]}));return _0x4f28f7[_0x44956a(0xb0)](_0x1bba80=>{const _0x26af85=_0x44956a,{groupId:_0x4990cd,groupLabel:_0x31d3a1,commands:_0xab431e}=_0x1bba80,_0x3ef19c=U(_0x3f4ddc,_0xab431e)[_0x26af85(0xb0)](_0x5d47ae=>({'id':_0x5d47ae['id'],'label':_0x5d47ae[_0x26af85(0x102)]}));return{'id':_0x4990cd,'menu':_0x31d3a1||_0x4990cd,'children':_0x3ef19c};});}(_0x31d8a3),{'ariaLabel':_0x1ab32b(_0x284389,_0x578f54(0xe9))}),_0xcedc37[_0x578f54(0xd6)][_0x578f54(0x101)]=_0x578f54(0xdf)+this[_0x578f54(0x145)],_0x56a732['on'](_0x578f54(0x136),_0x337c97),_0xcedc37[_0x578f54(0xd6)][_0x578f54(0xe4)](_0x578f54(0xec),_0x337c97),_0xcedc37;function _0x337c97(){const _0x47bd7f=_0x578f54;_0xcedc37[_0x47bd7f(0x13f)]=_0x56a732[_0x47bd7f(0xd0)][_0x47bd7f(0xa8)]>0x0;for(const _0x89b8c6 of _0xcedc37[_0x47bd7f(0xd6)][_0x47bd7f(0x120)])_0x89b8c6[_0x47bd7f(0x13f)]=_0x56a732[_0x47bd7f(0xd0)][_0x47bd7f(0xce)](_0x89b8c6['id']);}}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x14c),_0x543c24=>{const _0x178da1=_0x2d6ca5,_0x3d656f=new _0x1922bd(_0x543c24);_0x3d656f[_0x178da1(0x128)][_0x178da1(0xea)]({'label':_0x1ab32b(_0x543c24,_0x178da1(0xe9)),'icon':_0x14f486}),_0x3d656f[_0x178da1(0xe6)](_0x178da1(0x13f))['to'](_0x56a732,_0x178da1(0xd0),_0x23b608=>_0x23b608[_0x178da1(0xa8)]>0x0);const _0x57c472=_0x259e7f(_0x31d8a3[_0x178da1(0x129)][_0x178da1(0x10f)](_0x178da1(0x105)),_0x543c24);return this[_0x178da1(0xd4)](_0x56a732,_0x3d656f,_0x57c472,_0x404a93=>this[_0x178da1(0x10a)](_0x404a93)),_0x3d656f;}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0x106),()=>{const _0x490d8e=_0x2d6ca5,_0x4ed755=this[_0x490d8e(0xfc)](_0x5abd87);return _0x4ed755[_0x490d8e(0xea)]({'tooltip':!0x0,'class':_0x490d8e(0x11f)+this[_0x490d8e(0x145)]}),_0x4ed755;}),_0x31d8a3['ui'][_0x2d6ca5(0xbb)][_0x2d6ca5(0x12e)](_0x2d6ca5(0xd2),()=>{const _0x2c10d1=_0x2d6ca5,_0x3467e0=this[_0x2c10d1(0xfc)](_0x53acff);return _0x3467e0[_0x2c10d1(0xea)]({'role':_0x2c10d1(0xab)}),_0x3467e0;}),this[_0x2d6ca5(0x13c)]=this[_0x2d6ca5(0x11d)][_0x2d6ca5(0x129)][_0x2d6ca5(0x10f)](_0x2d6ca5(0x13c));const _0x5933a9=this[_0x2d6ca5(0x11d)];this[_0x2d6ca5(0xb8)]=setInterval(()=>{const _0x72789d=_0x2d6ca5;let _0x2c3deb;for(const _0x2259a6 in _0x5933a9){const _0x18e534=_0x2259a6,_0x1a773e=_0x5933a9[_0x18e534];if(_0x72789d(0x153)==_0x1a773e||_0x72789d(0xb7)==_0x1a773e||_0x72789d(0xd3)==_0x1a773e||_0x72789d(0x143)==_0x1a773e||_0x72789d(0xbd)==_0x1a773e||_0x72789d(0x138)==_0x1a773e||_0x72789d(0xad)==_0x1a773e||_0x72789d(0xeb)==_0x1a773e){delete _0x5933a9[_0x18e534],_0x2c3deb=_0x1a773e,clearInterval(this[_0x72789d(0xb8)]),this[_0x72789d(0xb8)]=void 0x0;break;}}_0x72789d(0xb7)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0xca)),_0x72789d(0xd3)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x127)),_0x72789d(0x143)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x11e)),_0x72789d(0xbd)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x140),_0x72789d(0xc1)),_0x72789d(0x138)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0xaf)),_0x72789d(0xad)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x154)),_0x72789d(0xeb)==_0x2c3deb&&_0x5933a9[_0x72789d(0xbc)](_0x72789d(0x12d));},0x3e8);}[_0x5e8e41(0x126)](){const _0x1e4b2a=_0x5e8e41;super[_0x1e4b2a(0x126)](),this[_0x1e4b2a(0xb8)]&&clearInterval(this[_0x1e4b2a(0xb8)]);}[_0x5e8e41(0x10e)](_0x5a499a='',_0x4292d2='',_0x56c217=_0x5e8e41(0xfd)){const _0x8ad453=_0x5e8e41,_0x49fddb=this[_0x8ad453(0x11d)],_0x15ca96=_0x49fddb[_0x8ad453(0xc7)][_0x8ad453(0x109)],_0x22bac4=_0x49fddb[_0x8ad453(0x132)][_0x8ad453(0x10f)](_0x2b7bb7),_0x13afe3=_0x49fddb[_0x8ad453(0x132)][_0x8ad453(0x10f)](_0x5b506e);_0x22bac4[_0x8ad453(0x14a)]();const _0x342aa4=new w(),_0x469e64=new ClipboardEvent(_0x8ad453(0xed),{'clipboardData':_0x342aa4}),_0x2de7d9=new _0xb99b0c(_0x342aa4),_0x3975c5=new _0x57df39(_0x15ca96,_0x469e64,{'dataTransfer':_0x2de7d9});_0x13afe3[_0x8ad453(0xaa)](_0x8ad453(0xa9),()=>{const _0x66bdf8=_0x8ad453;_0x15ca96[_0x66bdf8(0x14e)][_0x66bdf8(0xfe)](_0x66bdf8(0xed),_0x3975c5);}),this[_0x8ad453(0xa5)]||(this[_0x8ad453(0xc9)](),this[_0x8ad453(0xdd)]=new _0x45c2ef(_0x49fddb,this[_0x8ad453(0x148)][_0x8ad453(0x10b)],this[_0x8ad453(0xa5)]));let _0x364f5e=_0x2de7d9[_0x8ad453(0xcf)](_0x8ad453(0x11c));const _0x3f8a63=_0x49fddb[_0x8ad453(0x122)][_0x8ad453(0x14e)][_0x8ad453(0xcd)],_0x49b7f1=Array[_0x8ad453(0xfb)](_0x3f8a63[_0x8ad453(0x13a)]());0x1===_0x49b7f1[_0x8ad453(0xa8)]&&_0x49b7f1[0x0][_0x8ad453(0xc0)]&&!_0x3f8a63[_0x8ad453(0xdb)]()&&''!==_0x364f5e[_0x8ad453(0x113)](/ /g,'')[_0x8ad453(0xb6)]()&&(_0x364f5e=_0x8ad453(0xc5)+_0x364f5e+_0x8ad453(0xb9)),this[_0x8ad453(0xdd)][_0x8ad453(0xf6)]({'actionId':_0x56c217,'query':_0x5a499a,'htmlContent':_0x364f5e,'label':_0x4292d2,'mainActionLabel':_0x46248b[_0x49fddb[_0x8ad453(0x122)][_0x8ad453(0x14e)][_0x8ad453(0xcd)][_0x8ad453(0xe2)]?_0x8ad453(0xa7):_0x8ad453(0xd5)]}),_0x8ad453(0x106)!==this[_0x8ad453(0xe1)]['id']?this[_0x8ad453(0xe1)][_0x8ad453(0xb1)]({'id':_0x8ad453(0x106),'icon':_0x557bb2[_0x8ad453(0xd9)],'title':_0x1ab32b(this[_0x8ad453(0x11d)][_0x8ad453(0xbf)],_0x8ad453(0xc4)),'content':this[_0x8ad453(0xa5)],'position':_0x3ddf54[_0x8ad453(0x12a)],'onShow':()=>{const _0x5e1631=_0x8ad453;this[_0x5e1631(0xa5)][_0x5e1631(0xe0)]();},'onHide':()=>{const _0x5da5b8=_0x8ad453;this[_0x5da5b8(0xdd)][_0x5da5b8(0x119)](),_0x22bac4[_0x5da5b8(0xcb)]();}}):this[_0x8ad453(0xe1)][_0x8ad453(0x109)][_0x8ad453(0xc8)]||this[_0x8ad453(0xe1)][_0x8ad453(0x109)][_0x8ad453(0xb2)]();}[_0x5e8e41(0x14d)](){const _0x7ed872=_0x5e8e41;this[_0x7ed872(0xe1)][_0x7ed872(0x144)]();}[_0x5e8e41(0x124)](){const _0x2cef3d=_0x5e8e41,_0x43d455=new Map(),_0x3c7ff8=_0x259e7f(this[_0x2cef3d(0x11d)][_0x2cef3d(0x129)][_0x2cef3d(0x10f)](_0x2cef3d(0x105)),this[_0x2cef3d(0x11d)][_0x2cef3d(0xbf)]);for(const _0x53a39d of _0x3c7ff8)for(const _0x1cdd58 of _0x53a39d[_0x2cef3d(0x118)])_0x43d455[_0x2cef3d(0xea)](_0x1cdd58['id'],{..._0x1cdd58,'groupId':_0x53a39d[_0x2cef3d(0xde)],'groupLabel':_0x53a39d[_0x2cef3d(0x149)]||_0x53a39d[_0x2cef3d(0xde)]});return _0x43d455;}[_0x5e8e41(0xfc)](_0x5c2774){const _0xf133c=_0x5e8e41,_0x559d22=this[_0xf133c(0x11d)],_0x47ae95=_0x559d22[_0xf133c(0x118)][_0xf133c(0x10f)](_0xf133c(0x147)),_0x4a6e94=new _0x5c2774(_0x559d22[_0xf133c(0xbf)]);return _0x4a6e94[_0xf133c(0xea)]({'label':_0x1ab32b(_0x559d22[_0xf133c(0xbf)],_0xf133c(0xc4)),'icon':_0x557bb2[_0xf133c(0xd9)],'isToggleable':!0x0}),_0x4a6e94[_0xf133c(0xe6)](_0xf133c(0x13f))['to'](_0x47ae95),_0x4a6e94[_0xf133c(0xe6)](_0xf133c(0x142))['to'](this[_0xf133c(0xe1)],'id',_0x51f1e2=>_0xf133c(0x106)===_0x51f1e2),this[_0xf133c(0xf0)](_0x4a6e94,_0xf133c(0xf2),()=>{const _0x1a0771=_0xf133c;_0x4a6e94[_0x1a0771(0x142)]?this[_0x1a0771(0x14d)]():_0x47ae95[_0x1a0771(0xf2)]();}),_0x4a6e94;}[_0x5e8e41(0xc9)](){const _0x5166eb=_0x5e8e41,_0x5c7c72=this[_0x5166eb(0x11d)][_0x5166eb(0x132)][_0x5166eb(0x10f)](_0x2b7bb7);this[_0x5166eb(0xa5)]=new _0x11f5ff(this[_0x5166eb(0x11d)][_0x5166eb(0xbf)],this[_0x5166eb(0x145)],this[_0x5166eb(0x11d)][_0x5166eb(0x129)][_0x5166eb(0x10f)](_0x5166eb(0x123))),this[_0x5166eb(0xa5)]['on'](_0x5166eb(0x107),()=>{const _0x4e046c=_0x5166eb;this[_0x4e046c(0xe1)][_0x4e046c(0x109)][_0x4e046c(0xc8)]||this[_0x4e046c(0xe1)][_0x4e046c(0x109)][_0x4e046c(0xb2)]();}),this[_0x5166eb(0xa5)][_0x5166eb(0xf8)][_0x5166eb(0x103)][_0x5166eb(0x114)]['on'](_0x5166eb(0xd8),()=>{const _0x423113=_0x5166eb;this[_0x423113(0xe1)][_0x423113(0x109)][_0x423113(0xc8)]||this[_0x423113(0xe1)][_0x423113(0x109)][_0x423113(0xb2)]();}),this[_0x5166eb(0xf0)](this[_0x5166eb(0xa5)],_0x5166eb(0x10c),()=>{const _0x38d58d=_0x5166eb;_0x5c7c72[_0x38d58d(0xa6)](this[_0x38d58d(0xdd)][_0x38d58d(0xd7)]),this[_0x38d58d(0x14d)]();}),this[_0x5166eb(0xf0)](this[_0x5166eb(0xa5)],_0x5166eb(0xf7),()=>{const _0x56cf28=_0x5166eb;_0x5c7c72[_0x56cf28(0xf7)](this[_0x56cf28(0xdd)][_0x56cf28(0xd7)]),this[_0x56cf28(0x14d)]();}),this[_0x5166eb(0x146)]();}[_0x5e8e41(0x146)](){const _0x52f90a=_0x5e8e41,{locale:_0x56a043,ui:{ariaLiveAnnouncer:_0x5be5cc}}=this[_0x52f90a(0x11d)];this[_0x52f90a(0xa5)][_0x52f90a(0xba)]['on'](_0x52f90a(0x112),(_0x2f4ebb,_0x171d07,_0x33ba98)=>{const _0x471357=_0x52f90a,_0x1c84ff=this[_0x471357(0xdd)][_0x471357(0xd7)];_0x33ba98?_0x5be5cc[_0x471357(0xbe)](_0x1ab32b(_0x56a043,_0x471357(0x125))):_0x1c84ff&&_0x5be5cc[_0x471357(0xbe)](_0x1ab32b(_0x56a043,_0x471357(0xe8),_0x1c84ff),{'politeness':_0x471357(0x110),'isUnsafeHTML':!0x0});}),this[_0x52f90a(0xa5)]['on'](_0x52f90a(0x14f),(_0x5f132a,_0x355776,_0x1cb455)=>{const _0x4fc6f0=_0x52f90a;if(_0x1cb455){const _0x2113e8=this[_0x4fc6f0(0xa5)][_0x4fc6f0(0x139)][_0x4fc6f0(0xc2)];_0x5be5cc[_0x4fc6f0(0xbe)](_0x1ab32b(_0x56a043,_0x4fc6f0(0xcc),_0x2113e8));}});}[_0x5e8e41(0x10a)](_0x59c547){const _0x3ec5a0=_0x5e8e41,_0x4ce68b=this[_0x3ec5a0(0x116)][_0x3ec5a0(0x10f)](_0x59c547),_0xc7fb17=this[_0x3ec5a0(0x11d)],_0x4b157a=_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x14e)][_0x3ec5a0(0xcd)],_0x542e65=_0xc7fb17[_0x3ec5a0(0x118)][_0x3ec5a0(0x10f)](_0x3ec5a0(0x147)),_0x43d92a=_0xc7fb17[_0x3ec5a0(0x132)][_0x3ec5a0(0x10f)](_0x2b7bb7),_0x4dcfa0=''+(_0x4ce68b[_0x3ec5a0(0xde)]!==_0x4f0829?_0x4ce68b[_0x3ec5a0(0x149)]+':\x20':'')+_0x4ce68b[_0x3ec5a0(0x102)];if(!0x1!==_0x4ce68b[_0x3ec5a0(0x130)]&&_0x4b157a[_0x3ec5a0(0xe2)]){const _0xd683d8=_0x4753dc(_0x4b157a[_0x3ec5a0(0xf9)]())||_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x115)][_0x3ec5a0(0x111)](_0x4b157a);_0xc7fb17[_0x3ec5a0(0x122)][_0x3ec5a0(0x11a)](_0x503265=>{const _0x149c60=_0x3ec5a0;_0x503265[_0x149c60(0xda)](_0xd683d8,'in');});}_0x43d92a[_0x3ec5a0(0x14a)](),_0x542e65[_0x3ec5a0(0xf2)](_0x4ce68b[_0x3ec5a0(0xef)],_0x4dcfa0,_0x3ec5a0(0x135)+_0x59c547);}[_0x5e8e41(0xd4)](_0x619b8b,_0x1e8a8d,_0x544a02,_0x754830){const _0x114cf5=_0x5e8e41,_0x111947=this[_0x114cf5(0x11d)],_0x2c4511=_0x111947[_0x114cf5(0xbf)],_0x407e8c=new _0x1fa5e0(_0x2c4511),_0x467c69=U(_0x111947,_0x544a02)[_0x114cf5(0xc6)](_0x57e964=>_0x57e964[_0x114cf5(0x118)][_0x114cf5(0xa8)]);0x1===_0x467c69[_0x114cf5(0xa8)]?this[_0x114cf5(0x10d)]({'command':_0x619b8b,'commands':_0x467c69[0x0][_0x114cf5(0x118)],'parentMenuView':_0x1e8a8d,'onExecute':_0x754830})[_0x114cf5(0x13d)](_0x2dfdd0=>_0x407e8c[_0x114cf5(0x12c)][_0x114cf5(0x12e)](_0x2dfdd0)):_0x467c69[_0x114cf5(0x13d)](({groupId:_0x37563f,groupLabel:_0x9c650c,commands:_0x330f16})=>{const _0x51442e=_0x114cf5,_0x20263d=new _0x55daf5(_0x2c4511,_0x1e8a8d),_0x3b7e6d=new _0x1922bd(_0x2c4511),_0x548c40=new _0x1fa5e0(_0x2c4511),_0x1cd738=this[_0x51442e(0x10d)]({'command':_0x619b8b,'commands':_0x330f16,'parentMenuView':_0x3b7e6d,'onExecute':_0x754830});_0x3b7e6d[_0x51442e(0x128)][_0x51442e(0xea)]({'label':_0x9c650c||_0x37563f}),_0x3b7e6d[_0x51442e(0x152)](_0x51442e(0xf2))['to'](_0x1e8a8d),_0x548c40[_0x51442e(0x12c)][_0x51442e(0x131)](_0x1cd738),_0x3b7e6d[_0x51442e(0x150)][_0x51442e(0x134)][_0x51442e(0x12e)](_0x548c40),_0x20263d[_0x51442e(0x134)][_0x51442e(0x12e)](_0x3b7e6d),_0x407e8c[_0x51442e(0x12c)][_0x51442e(0x12e)](_0x20263d);}),_0x1e8a8d[_0x114cf5(0x150)][_0x114cf5(0x134)][_0x114cf5(0x12e)](_0x407e8c);}[_0x5e8e41(0x10d)]({command:_0x1659a9,commands:_0x10c3eb,parentMenuView:_0x1e1c3f,onExecute:_0x2a097d}){const _0xc13017=_0x5e8e41,_0x561bcd=this[_0xc13017(0x11d)],_0x2f9540=_0x561bcd[_0xc13017(0xbf)];return U(_0x561bcd,_0x10c3eb)[_0xc13017(0xb0)](_0x56673a=>{const _0x58c140=_0xc13017,_0x18869c=new _0x55daf5(_0x2f9540,_0x1e1c3f),_0x36edde=new _0x53acff(_0x2f9540);return _0x36edde[_0x58c140(0xea)]({'label':_0x56673a[_0x58c140(0x102)]}),_0x36edde[_0x58c140(0x152)](_0x58c140(0xf2))['to'](_0x1e1c3f),_0x36edde['on'](_0x58c140(0xf2),()=>_0x2a097d(_0x56673a['id'])),_0x36edde[_0x58c140(0xe6)](_0x58c140(0x13f))['to'](_0x1659a9,_0x58c140(0xd0),_0x211a73=>_0x211a73[_0x58c140(0xce)](_0x56673a['id'])),_0x18869c[_0x58c140(0x134)][_0x58c140(0x12e)](_0x36edde),_0x18869c;});}}function B(_0x463122,_0x48c18e){const _0x15db9f=_0x5e8e41;return void 0x0!==_0x463122[_0x15db9f(0x151)]&&void 0x0===_0x48c18e[_0x15db9f(0x151)]?0x1:void 0x0===_0x463122[_0x15db9f(0x151)]&&void 0x0!==_0x48c18e[_0x15db9f(0x151)]?-0x1:void 0x0!==_0x463122[_0x15db9f(0x151)]&&void 0x0!==_0x48c18e[_0x15db9f(0x151)]?_0x463122[_0x15db9f(0x151)]-_0x48c18e[_0x15db9f(0x151)]:0x0;}function U(_0xb49b63,_0x32f185){const _0x24c11b=_0x5e8e41;_0x32f185[_0x24c11b(0xf4)](B);const _0x37788b={},_0x30f6f1=[];for(const _0x2dd3f5 of _0x32f185)if(void 0x0!==_0x2dd3f5[_0x24c11b(0x151)]){if(_0x2dd3f5[_0x24c11b(0x151)]in _0x37788b)throw new _0x1aa6ab(_0x24c11b(0xe3),_0xb49b63,{'conflictingDefinitions':[_0x2dd3f5,_0x37788b[_0x2dd3f5[_0x24c11b(0x151)]]]});_0x37788b[_0x2dd3f5[_0x24c11b(0x151)]]=_0x2dd3f5,_0x30f6f1[_0x24c11b(0x104)](_0x2dd3f5[_0x24c11b(0x151)],0x0,_0x2dd3f5);}else _0x30f6f1[_0x24c11b(0x13e)](_0x2dd3f5);return _0x30f6f1;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4751b6,_0x36d4e8){var _0x441231=_0x2bf0,_0xd7f86e=_0x4751b6();while(!![]){try{var _0x43462b=-parseInt(_0x441231(0xd0))/0x1*(parseInt(_0x441231(0xd2))/0x2)+parseInt(_0x441231(0xc9))/0x3+parseInt(_0x441231(0xcc))/0x4+-parseInt(_0x441231(0xd1))/0x5*(parseInt(_0x441231(0xca))/0x6)+parseInt(_0x441231(0xcb))/0x7*(-parseInt(_0x441231(0xce))/0x8)+-parseInt(_0x441231(0xcf))/0x9+parseInt(_0x441231(0xcd))/0xa;if(_0x43462b===_0x36d4e8)break;else _0xd7f86e['push'](_0xd7f86e['shift']());}catch(_0x3a450b){_0xd7f86e['push'](_0xd7f86e['shift']());}}}(_0x14c5,0x2afb5));export{default as AIAssistant}from'./aiassistant.js';function _0x2bf0(_0x546501,_0x3a9c57){var _0x14c570=_0x14c5();return _0x2bf0=function(_0x2bf0cc,_0x191aec){_0x2bf0cc=_0x2bf0cc-0xc9;var _0x1f4699=_0x14c570[_0x2bf0cc];return _0x1f4699;},_0x2bf0(_0x546501,_0x3a9c57);}export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';function _0x14c5(){var _0x1c699a=['31962TODWcH','100814bLcfZy','62308Napuru','10984140bnILxp','168ZwRnzo','3143457ARiyTu','2JIrDmt','175xYehMG','133900vfHoaE','102366FGLfjd'];_0x14c5=function(){return _0x1c699a;};return _0x14c5();}export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x54c2(){var _0x280013=['165549XTEyTV','130GVWZPi','21ydubBN','1rJCzAa','2860890rEjIyj','1032776hBJxbY','263114bmsRIc','22983070dONwMi','141536AopLkn','9070335HJpyJW'];_0x54c2=function(){return _0x280013;};return _0x54c2();}function _0x5c7a(_0x518b36,_0x491deb){var _0x54c25b=_0x54c2();return _0x5c7a=function(_0x5c7a1e,_0xa499e7){_0x5c7a1e=_0x5c7a1e-0x1f0;var _0x455f99=_0x54c25b[_0x5c7a1e];return _0x455f99;},_0x5c7a(_0x518b36,_0x491deb);}(function(_0x52fa6a,_0x4d5c4e){var _0x171054=_0x5c7a,_0x240b25=_0x52fa6a();while(!![]){try{var _0x52a541=-parseInt(_0x171054(0x1f0))/0x1*(-parseInt(_0x171054(0x1f3))/0x2)+-parseInt(_0x171054(0x1f7))/0x3+parseInt(_0x171054(0x1f5))/0x4*(-parseInt(_0x171054(0x1f8))/0x5)+parseInt(_0x171054(0x1f1))/0x6+-parseInt(_0x171054(0x1f9))/0x7*(parseInt(_0x171054(0x1f2))/0x8)+-parseInt(_0x171054(0x1f6))/0x9+parseInt(_0x171054(0x1f4))/0xa;if(_0x52a541===_0x4d5c4e)break;else _0x240b25['push'](_0x240b25['shift']());}catch(_0x4dfc0d){_0x240b25['push'](_0x240b25['shift']());}}}(_0x54c2,0x82f56));import{CKEditorError as _0x3e75f2}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x4aa4(){const _0x85e0dd=['prompt','editing','innerHTML','get','_isH1TagSupportEnabled','div','length','isProcessing','custom','currentContext','_sanitizeHTML','finishProcessing','markers','10653650WWgfXN','updateView','ai.aiAssistant.preserveComments','stopProcessing','set:currentContext','6jNhpqY','serializeToString','childNodes','<h1></h1>','startsWith','endsWith','_parseAndNormalizeContent','initialContext','match','set','537245pTKaPw','previousQuery','destroy','previousActionId','catch','name','currentResponse','handleError','_handleQuery','document','mainAction','reverse','previousContext','toModel','push','domConverter','view','htmlProcessor','element','```','parseFromString','stopListening','then','querySelector','viewToDom','text/html','305543pNUJiE','editor','tryAgainEvent','body','```html','config','once','value','stringify','remove','isRendered','processor','54ZQzwGS','listenTo','_stripMarkdownSyntax','471890MZjrSj','setContentOf','startProcessing','submitPrompt','abort','clear','render','substring','previousLabel','292948kduwaM','finally','trim','_sanitizationContainer','message','nodeType','ELEMENT_NODE','288EZwpbV','_normalizeResponseHeadings','rename','5493VlUZUF','makeRequest','data','textAdapter','_xmlSerializer','reset','369368vOfpGm','_domParser','from','toView','exec','createElement'];_0x4aa4=function(){return _0x85e0dd;};return _0x4aa4();}const _0x410d9b=_0x4296;(function(_0x4fe2c4,_0x1ce8dc){const _0x280694=_0x4296,_0x28a667=_0x4fe2c4();while(!![]){try{const _0x33023a=-parseInt(_0x280694(0x16f))/0x1+-parseInt(_0x280694(0x178))/0x2+parseInt(_0x280694(0x182))/0x3*(parseInt(_0x280694(0x17f))/0x4)+-parseInt(_0x280694(0x146))/0x5+-parseInt(_0x280694(0x1a0))/0x6*(-parseInt(_0x280694(0x160))/0x7)+-parseInt(_0x280694(0x188))/0x8*(parseInt(_0x280694(0x16c))/0x9)+parseInt(_0x280694(0x19b))/0xa;if(_0x33023a===_0x1ce8dc)break;else _0x28a667['push'](_0x28a667['shift']());}catch(_0x10eeb2){_0x28a667['push'](_0x28a667['shift']());}}}(_0x4aa4,0x3a1b7));import{ObservableMixin as _0x2ae86e}from'ckeditor5/src/utils.js';function _0x4296(_0x18a552,_0x431221){const _0x4aa48d=_0x4aa4();return _0x4296=function(_0x4296ef,_0x300274){_0x4296ef=_0x4296ef-0x13e;let _0x2146c8=_0x4aa48d[_0x4296ef];return _0x2146c8;},_0x4296(_0x18a552,_0x431221);}import{AIRequestError as _0x38e380}from'../adapters/aiadapter.js';import{Matcher as _0x1f5bbe,UpcastWriter as _0x5bc665}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class j extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ae86e(){constructor(_0x6392c6,_0x430c4c,_0x4841e4){const _0x28e89d=_0x4296;super(),this[_0x28e89d(0x161)]=_0x6392c6,this[_0x28e89d(0x185)]=_0x430c4c,this[_0x28e89d(0x17b)]=document[_0x28e89d(0x18d)](_0x28e89d(0x193)),this[_0x28e89d(0x189)]=new DOMParser(),this[_0x28e89d(0x186)]=new XMLSerializer(),this[_0x28e89d(0x156)]=_0x4841e4,this[_0x28e89d(0x145)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x28e89d(0x19f),(_0x445f32,_0x4ada20,_0x262836)=>{const _0x5aac34=_0x28e89d;this[_0x5aac34(0x156)][_0x5aac34(0x167)]=this[_0x5aac34(0x198)](_0x262836);}),this[_0x28e89d(0x16d)](this[_0x28e89d(0x156)],_0x28e89d(0x172),(_0x5ac305,_0x468ba7)=>{const _0x5f4cc4=_0x28e89d,_0x441ebe=this[_0x5f4cc4(0x197)]||this[_0x5f4cc4(0x143)];this[_0x5f4cc4(0x14e)](_0x468ba7,_0x441ebe,_0x5f4cc4(0x196));}),this[_0x28e89d(0x16d)](this[_0x28e89d(0x156)],_0x28e89d(0x162),()=>{const _0x11a896=_0x28e89d;this[_0x11a896(0x156)][_0x11a896(0x18e)]=this[_0x11a896(0x177)],this[_0x11a896(0x14e)](this[_0x11a896(0x147)],this[_0x11a896(0x152)],this[_0x11a896(0x149)],this[_0x11a896(0x177)]);}),this[_0x28e89d(0x16d)](this[_0x28e89d(0x156)],_0x28e89d(0x19e),()=>{const _0x46b1d7=_0x28e89d;this[_0x46b1d7(0x19e)]();});}[_0x410d9b(0x148)](){const _0x5aa628=_0x410d9b;this[_0x5aa628(0x15b)]();}async[_0x410d9b(0x19c)]({actionId:_0x5e2aab,query:_0x5792aa,htmlContent:_0x9ffd3b,label:_0x4528f7,mainActionLabel:_0x4e2127}){const _0x1b473f=_0x410d9b;this[_0x1b473f(0x156)][_0x1b473f(0x18e)]=_0x4528f7,this[_0x1b473f(0x156)][_0x1b473f(0x150)]=_0x4e2127,this[_0x1b473f(0x143)]=_0x9ffd3b,_0x5792aa&&(this[_0x1b473f(0x156)][_0x1b473f(0x16a)]?this[_0x1b473f(0x14e)](_0x5792aa,_0x9ffd3b,_0x5e2aab,_0x4528f7):this[_0x1b473f(0x156)][_0x1b473f(0x166)](_0x1b473f(0x175),()=>{const _0x34e1bb=_0x1b473f;this[_0x34e1bb(0x14e)](_0x5792aa,_0x9ffd3b,_0x5e2aab,_0x4528f7);}));}[_0x410d9b(0x19e)](){const _0x476b06=_0x410d9b;this[_0x476b06(0x195)]&&(this[_0x476b06(0x195)]=!0x1,this[_0x476b06(0x156)][_0x476b06(0x199)](),this[_0x476b06(0x185)][_0x476b06(0x173)]());}[_0x410d9b(0x187)](){const _0x596c53=_0x410d9b;this[_0x596c53(0x143)]='',this[_0x596c53(0x197)]='',this[_0x596c53(0x14c)]='',this[_0x596c53(0x152)]='',this[_0x596c53(0x147)]='',this[_0x596c53(0x177)]='',this[_0x596c53(0x149)]=void 0x0,this[_0x596c53(0x156)][_0x596c53(0x187)](),this[_0x596c53(0x19e)]();}async[_0x410d9b(0x14e)](_0x151c4b,_0x2a73fa,_0x3b9bfd,_0x3ea26e){const _0x5a7e16=_0x410d9b;return this[_0x5a7e16(0x195)]=!0x0,this[_0x5a7e16(0x156)][_0x5a7e16(0x171)](),this[_0x5a7e16(0x152)]=_0x2a73fa,this[_0x5a7e16(0x147)]=_0x151c4b,this[_0x5a7e16(0x177)]=_0x3ea26e||_0x151c4b,this[_0x5a7e16(0x149)]=_0x3b9bfd,new Promise(_0x2a04ac=>{const _0x24f658=_0x5a7e16;this[_0x24f658(0x185)][_0x24f658(0x183)]({'query':_0x151c4b,'context':_0x2a73fa,'onData':_0x47acf0=>{const _0x5cc17a=_0x24f658;this[_0x5cc17a(0x14c)]=_0x47acf0,this[_0x5cc17a(0x197)]=this[_0x5cc17a(0x142)](this[_0x5cc17a(0x14c)]);},'actionId':_0x3b9bfd})[_0x24f658(0x15c)](()=>{const _0xebe857=_0x24f658;!this[_0xebe857(0x197)]&&this[_0xebe857(0x14c)]&&(this[_0xebe857(0x197)]=this[_0xebe857(0x142)](this[_0xebe857(0x14c)],!0x0));})[_0x24f658(0x14a)](_0xcd0331=>{const _0x46ab04=_0x24f658;_0xcd0331 instanceof _0x38e380?this[_0x46ab04(0x156)][_0x46ab04(0x14d)](_0xcd0331[_0x46ab04(0x17c)]):this[_0x46ab04(0x156)][_0x46ab04(0x14d)](),_0x2a04ac();})[_0x24f658(0x179)](()=>{const _0x36e72a=_0x24f658;this[_0x36e72a(0x19e)](),_0x2a04ac();});});}[_0x410d9b(0x142)](_0xeace6b,_0x1b04f4=!0x1){const _0x264d53=_0x410d9b,_0x9c31c=Z[_0x264d53(0x18c)](_0xeace6b);_0xeace6b=_0x9c31c?_0xeace6b[_0x264d53(0x176)](_0x9c31c[0x1][_0x264d53(0x194)]):_0xeace6b[_0x264d53(0x194)]<0x64&&!_0x1b04f4?'':this[_0x264d53(0x16e)](_0xeace6b);const _0xb41db5=this[_0x264d53(0x189)][_0x264d53(0x15a)](_0xeace6b,_0x264d53(0x15f));if(_0x9c31c){const _0x3e7579=Array[_0x264d53(0x18a)](_0xb41db5[_0x264d53(0x163)][_0x264d53(0x13e)]);_0x3e7579[_0x264d53(0x151)]();for(const _0x248f4d of _0x3e7579){if(_0x248f4d[_0x264d53(0x17d)]==Node[_0x264d53(0x17e)])break;_0x248f4d[_0x264d53(0x169)]();}}const _0x330ca4=this[_0x264d53(0x161)][_0x264d53(0x184)][_0x264d53(0x16b)][_0x264d53(0x18b)](this[_0x264d53(0x186)][_0x264d53(0x1a1)](_0xb41db5[_0x264d53(0x163)]));this[_0x264d53(0x192)]()||this[_0x264d53(0x180)](_0x330ca4);const _0x199cd9=this[_0x264d53(0x161)][_0x264d53(0x165)][_0x264d53(0x191)](_0x264d53(0x19d)),_0x16462f=this[_0x264d53(0x161)][_0x264d53(0x184)][_0x264d53(0x153)](_0x330ca4);return _0x199cd9||_0x16462f[_0x264d53(0x19a)][_0x264d53(0x174)](),this[_0x264d53(0x161)][_0x264d53(0x184)][_0x264d53(0x168)](_0x16462f);}[_0x410d9b(0x180)](_0x32379f){const _0x3aec28=_0x410d9b,_0x449765=new _0x5bc665(this[_0x3aec28(0x161)][_0x3aec28(0x18f)][_0x3aec28(0x156)][_0x3aec28(0x14f)]),_0x2907b9=new _0x1f5bbe({'name':/^h[1-5]$/}),_0x23624b=[];let _0x2b881a=!0x1;for(const _0x24f129 of _0x32379f)_0x24f129['is'](_0x3aec28(0x158))&&_0x2907b9[_0x3aec28(0x144)](_0x24f129)&&(_0x23624b[_0x3aec28(0x154)](_0x24f129),'h1'==_0x24f129[_0x3aec28(0x14b)]&&(_0x2b881a=!0x0));if(_0x2b881a){for(const _0x445bcd of _0x23624b)_0x449765[_0x3aec28(0x181)]('h'+(parseInt(_0x445bcd[_0x3aec28(0x14b)][0x1])+0x1),_0x445bcd);}}[_0x410d9b(0x192)](){const _0x548410=_0x410d9b,{data:_0x589bad,editing:_0x3eb9db}=this[_0x548410(0x161)],_0x4dae41=_0x589bad[_0x548410(0x157)][_0x548410(0x18b)](_0x548410(0x13f)),_0x15798a=_0x589bad[_0x548410(0x18b)](_0x589bad[_0x548410(0x153)](_0x4dae41));return!!_0x3eb9db[_0x548410(0x156)][_0x548410(0x155)][_0x548410(0x15e)](_0x15798a)[_0x548410(0x15d)]('h1');}[_0x410d9b(0x198)](_0x21bbac){const _0x2cc466=_0x410d9b;return this[_0x2cc466(0x161)][_0x2cc466(0x18f)][_0x2cc466(0x156)][_0x2cc466(0x155)][_0x2cc466(0x170)](this[_0x2cc466(0x17b)],_0x21bbac),this[_0x2cc466(0x17b)][_0x2cc466(0x190)];}[_0x410d9b(0x16e)](_0x1a9a21){const _0x4d6297=_0x410d9b,_0x79c6c7=_0x1a9a21[_0x4d6297(0x17a)]();return _0x79c6c7[_0x4d6297(0x140)](_0x4d6297(0x164))?_0x79c6c7[_0x4d6297(0x141)](_0x4d6297(0x159))?_0x79c6c7[_0x4d6297(0x176)](0x7,_0x79c6c7[_0x4d6297(0x194)]-0x3):_0x79c6c7[_0x4d6297(0x176)](0x7):_0x1a9a21;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32fd08=_0x564e;(function(_0x1e4abf,_0x5e881d){const _0x21d8b1=_0x564e,_0x15c3fc=_0x1e4abf();while(!![]){try{const _0x578f40=parseInt(_0x21d8b1(0x8c))/0x1+parseInt(_0x21d8b1(0x9e))/0x2*(parseInt(_0x21d8b1(0x7d))/0x3)+-parseInt(_0x21d8b1(0x9d))/0x4*(parseInt(_0x21d8b1(0x83))/0x5)+-parseInt(_0x21d8b1(0x9f))/0x6+parseInt(_0x21d8b1(0xad))/0x7*(parseInt(_0x21d8b1(0x99))/0x8)+-parseInt(_0x21d8b1(0x92))/0x9*(-parseInt(_0x21d8b1(0x9c))/0xa)+-parseInt(_0x21d8b1(0xbd))/0xb;if(_0x578f40===_0x5e881d)break;else _0x15c3fc['push'](_0x15c3fc['shift']());}catch(_0x117412){_0x15c3fc['push'](_0x15c3fc['shift']());}}}(_0x3f5b,0x4bb20));import{global as _0x16ba1d}from'ckeditor5/src/utils.js';import{View as _0x248618,ButtonView as _0xcebde4,SpinnerView as _0x353110}from'ckeditor5/src/ui.js';import _0x1380c1 from'../../../theme/icons/copy.svg';function _0x3f5b(){const _0x27a1bc=['_createLoader','783evCNpg','listenTo','setTemplate','clipboard','contentFieldView','position','299270lOfXCp','_copyHTMLToClipboard','lastElementChild','scrollTo','div','getSelection','ck-hidden','ck-content','AI\x20is\x20writing...','544894vraLEX','createRange','change:value','icon','execCommand','createElement','179109NLHHce','firstElementChild','mousedown','text/plain','loaderView','appendLoader','setContent','21400JqbARl','element','ck-ai-form__content-area--processing','40LfQeAB','24vZDRZn','3492YshkGj','2314134IsXGvc','removeAllRanges','ck-ai-form__content-field','isProcessing','scrollHeight','setStartAfter','class','focus','text/html','_createCopyButton','isVisible','check','.ck-ai-form__loader','setEndBefore','1197LZsPjg','write','value','remove','appendChild','set','ck-ai-form__copy-button','left','bindTemplate','smooth','isEnabled','innerHTML','copy','addRange','wheel','-9999px','5310448nvIHNo','render','absolute','ck-ai-form__content-area-wrapper','copyButtonView','ck-ai-form__copy-button-wrapper','<span>[</span>','ClipboardItem','querySelector','change:isProcessing','locale','<span>]</span>','Copy','ck-reset_all-excluded','ck-ai-form__content-area','execute','textContent','body','\x20ck-ai-form__copy-button--copied','ck-ai-form__loader','bind','style'];_0x3f5b=function(){return _0x27a1bc;};return _0x3f5b();}import{getTranslation as _0x21d48b}from'../../utils/common-translations.js';import{icons as _0xb31383}from'ckeditor5/src/core.js';export default class X extends _0x248618{constructor(_0x3a4db3,_0x3b8e3f=''){const _0x3ddc8f=_0x564e;super(_0x3a4db3),this[_0x3ddc8f(0xb2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3c6448=this[_0x3ddc8f(0xb5)];this[_0x3ddc8f(0x81)]=new ContentFieldView(_0x3a4db3,_0x3b8e3f),this[_0x3ddc8f(0x6a)]=this[_0x3ddc8f(0xa8)](),this[_0x3ddc8f(0x7f)]({'tag':_0x3ddc8f(0x87),'attributes':{'class':['ck',_0x3ddc8f(0xc0),_0x3c6448['if'](_0x3ddc8f(0xa9),_0x3ddc8f(0x89),_0x23d3b7=>!_0x23d3b7)],'tabindex':'-1'},'children':[{'tag':_0x3ddc8f(0x87),'attributes':{'class':['ck',_0x3ddc8f(0x74),_0x3c6448['if'](_0x3ddc8f(0xa2),_0x3ddc8f(0x9b))]},'children':[this[_0x3ddc8f(0x81)],{'tag':_0x3ddc8f(0x87),'attributes':{'class':['ck',_0x3ddc8f(0x6b)]},'children':[this[_0x3ddc8f(0x6a)]]}]}]});}[_0x32fd08(0xbe)](){const _0x9e2898=_0x32fd08;super[_0x9e2898(0xbe)](),this[_0x9e2898(0xaf)]&&this[_0x9e2898(0x81)][_0x9e2898(0x98)](this[_0x9e2898(0xaf)]);let _0x118afb=!0x1;this['on'](_0x9e2898(0x8e),(_0x24334d,_0x33333f,_0x5cc3f5)=>{const _0x3fe9a3=_0x9e2898,_0x332427=!this[_0x3fe9a3(0x81)][_0x3fe9a3(0x9a)][_0x3fe9a3(0x6e)](_0x3fe9a3(0xab));this[_0x3fe9a3(0x81)][_0x3fe9a3(0x98)](_0x5cc3f5),this[_0x3fe9a3(0xa2)]&&_0x332427&&!_0x118afb&&this[_0x3fe9a3(0x9a)][_0x3fe9a3(0x86)]({'top':this[_0x3fe9a3(0x9a)][_0x3fe9a3(0xa3)],'behavior':_0x3fe9a3(0xb6)});}),this['on'](_0x9e2898(0x6f),(_0x267571,_0x18850c,_0x587459)=>{const _0x4b811a=_0x9e2898;_0x118afb=!0x1,_0x587459?(this[_0x4b811a(0xaf)]=null,this[_0x4b811a(0x81)][_0x4b811a(0x97)]()):this[_0x4b811a(0xaf)]||this[_0x4b811a(0x81)][_0x4b811a(0x98)]('');}),this[_0x9e2898(0x7e)](this[_0x9e2898(0x9a)],_0x9e2898(0xbb),()=>{_0x118afb=!0x0;}),this[_0x9e2898(0x7e)](this[_0x9e2898(0x9a)],_0x9e2898(0x94),()=>{_0x118afb=!0x0;});}[_0x32fd08(0xa6)](){const _0x36c2e2=_0x32fd08;this[_0x36c2e2(0x9a)][_0x36c2e2(0xa6)]();}[_0x32fd08(0xa8)](){const _0x5c1460=_0x32fd08,_0xde5348=this[_0x5c1460(0x70)],_0x5af007=new _0xcebde4(this[_0x5c1460(0x70)]),_0x2375fc=_0x5c1460(0xb3);return _0x5af007[_0x5c1460(0xb2)]({'label':_0x21d48b(_0xde5348,_0x5c1460(0x72)),'icon':_0x1380c1,'class':_0x2375fc,'tooltip':!0x0}),_0x5af007[_0x5c1460(0x7a)](_0x5c1460(0xa9))['to'](this,_0x5c1460(0xaf),_0x2ae008=>!!_0x2ae008),_0x5af007[_0x5c1460(0x7a)](_0x5c1460(0xb7))['to'](this,_0x5c1460(0xa2),_0x11a2f5=>!_0x11a2f5),_0x5af007['on'](_0x5c1460(0x75),()=>{const _0x165113=_0x5c1460;this[_0x165113(0x84)](this[_0x165113(0x81)][_0x165113(0x9a)]),_0x5af007[_0x165113(0x8f)]=_0xb31383[_0x165113(0xaa)],_0x5af007[_0x165113(0xa5)]=_0x2375fc+_0x165113(0x78),this[_0x165113(0xa6)](),setTimeout(()=>{const _0x8dd4b0=_0x165113;_0x5af007[_0x8dd4b0(0x8f)]=_0x1380c1,_0x5af007[_0x8dd4b0(0xa5)]=_0x2375fc;},0x3e8);}),_0x5af007;}[_0x32fd08(0x84)](_0x48c04f){const _0xeeb4dd=_0x32fd08,{window:_0x2fc8b2,document:_0x1de925}=_0x16ba1d;if(_0x2fc8b2[_0xeeb4dd(0x6d)]){const {Blob:_0x101945,ClipboardItem:_0x83adc}=_0x2fc8b2,_0x35650f=[new _0x83adc({'text/html':new _0x101945([_0x48c04f[_0xeeb4dd(0xb8)]],{'type':_0xeeb4dd(0xa7)}),'text/plain':new _0x101945([_0x48c04f[_0xeeb4dd(0x76)]||''],{'type':_0xeeb4dd(0x95)})})];navigator[_0xeeb4dd(0x80)][_0xeeb4dd(0xae)](_0x35650f);}else{const _0x5886df=_0x1de925[_0xeeb4dd(0x91)](_0xeeb4dd(0x87));_0x5886df[_0xeeb4dd(0x7b)][_0xeeb4dd(0x82)]=_0xeeb4dd(0xbf),_0x5886df[_0xeeb4dd(0x7b)][_0xeeb4dd(0xb4)]=_0xeeb4dd(0xbc),_0x5886df[_0xeeb4dd(0xb8)]=_0xeeb4dd(0x6c)+_0x48c04f[_0xeeb4dd(0xb8)]+_0xeeb4dd(0x71),_0x1de925[_0xeeb4dd(0x77)][_0xeeb4dd(0xb1)](_0x5886df);const _0x573abb=_0x1de925[_0xeeb4dd(0x8d)]();_0x573abb[_0xeeb4dd(0xa4)](_0x5886df[_0xeeb4dd(0x93)]),_0x573abb[_0xeeb4dd(0xac)](_0x5886df[_0xeeb4dd(0x85)]);const _0x2c957a=_0x2fc8b2[_0xeeb4dd(0x88)]();_0x2c957a[_0xeeb4dd(0xa0)](),_0x2c957a[_0xeeb4dd(0xba)](_0x573abb),_0x1de925[_0xeeb4dd(0x90)](_0xeeb4dd(0xb9)),_0x5886df[_0xeeb4dd(0xb0)]();}}}function _0x564e(_0x480ed8,_0x4177fb){const _0x3f5b70=_0x3f5b();return _0x564e=function(_0x564e74,_0x3cc1e2){_0x564e74=_0x564e74-0x6a;let _0x7775f2=_0x3f5b70[_0x564e74];return _0x7775f2;},_0x564e(_0x480ed8,_0x4177fb);}export class ContentFieldView extends _0x248618{constructor(_0x132671,_0x17e356=''){const _0x4d61dd=_0x32fd08;super(_0x132671),this[_0x4d61dd(0x96)]=this[_0x4d61dd(0x7c)](),this[_0x4d61dd(0x7f)]({'tag':_0x4d61dd(0x87),'attributes':{'class':['ck',_0x4d61dd(0x8a),_0x17e356,_0x4d61dd(0x73),_0x4d61dd(0xa1)]}});}[_0x32fd08(0x98)](_0x433229){const _0x2252ce=_0x32fd08;this[_0x2252ce(0x9a)][_0x2252ce(0xb8)]=_0x433229;}[_0x32fd08(0x97)](){const _0x4f76eb=_0x32fd08;this[_0x4f76eb(0x9a)][_0x4f76eb(0xb1)](this[_0x4f76eb(0x96)][_0x4f76eb(0x9a)]);}[_0x32fd08(0x7c)](){const _0x4fdf33=_0x32fd08,_0xba90e=new _0x248618(),_0x2adbcd=this[_0x4fdf33(0x70)],_0x54c388=new _0x353110();return _0x54c388[_0x4fdf33(0xa9)]=!0x0,_0xba90e[_0x4fdf33(0x7f)]({'tag':_0x4fdf33(0x87),'attributes':{'class':['ck',_0x4fdf33(0x79)]},'children':[_0x54c388,{'text':_0x21d48b(_0x2adbcd,_0x4fdf33(0x8b))}]}),_0xba90e[_0x4fdf33(0xbe)](),_0xba90e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3d1297,_0x1e4e19){const _0xaf3fd3=_0x6331,_0x20ab9e=_0x3d1297();while(!![]){try{const _0x2e262e=-parseInt(_0xaf3fd3(0x96))/0x1*(parseInt(_0xaf3fd3(0x97))/0x2)+parseInt(_0xaf3fd3(0x93))/0x3+parseInt(_0xaf3fd3(0x9b))/0x4*(-parseInt(_0xaf3fd3(0x98))/0x5)+-parseInt(_0xaf3fd3(0x8d))/0x6+parseInt(_0xaf3fd3(0x9c))/0x7*(-parseInt(_0xaf3fd3(0x8f))/0x8)+-parseInt(_0xaf3fd3(0x8e))/0x9*(parseInt(_0xaf3fd3(0x90))/0xa)+parseInt(_0xaf3fd3(0x94))/0xb;if(_0x2e262e===_0x1e4e19)break;else _0x20ab9e['push'](_0x20ab9e['shift']());}catch(_0x15d8c9){_0x20ab9e['push'](_0x20ab9e['shift']());}}}(_0x40c7,0x6ba45));import{View as _0x5a2d2d,IconView as _0xc143df}from'ckeditor5/src/ui.js';import _0x34d48d from'../../../theme/icons/error.svg';function _0x40c7(){const _0x52e277=['128450ifhXTS','div','ck-ai-form__error','1613148iFFnQx','19531347mHaPyx','setTemplate','710bhMDkO','1086iFibgi','1198380TyWbnN','set','bindTemplate','4Bohgny','22141KyKWaX','text','content','3354918uQhflw','225XfgtGs','928gDtxyx'];_0x40c7=function(){return _0x52e277;};return _0x40c7();}function _0x6331(_0x3b1f7f,_0x46a236){const _0x40c74b=_0x40c7();return _0x6331=function(_0x6331bc,_0x1b65dc){_0x6331bc=_0x6331bc-0x8b;let _0x4195c1=_0x40c74b[_0x6331bc];return _0x4195c1;},_0x6331(_0x3b1f7f,_0x46a236);}export default class rt extends _0x5a2d2d{constructor(_0x4dd96c,_0x1813ee=''){const _0x3d5e1b=_0x6331;super(_0x4dd96c);const _0x1ad9cc=new _0xc143df(),_0x206103=this[_0x3d5e1b(0x9a)];this[_0x3d5e1b(0x99)](_0x3d5e1b(0x8b),_0x1813ee),_0x1ad9cc[_0x3d5e1b(0x8c)]=_0x34d48d,this[_0x3d5e1b(0x95)]({'tag':_0x3d5e1b(0x91),'attributes':{'class':['ck',_0x3d5e1b(0x92)]},'children':[_0x1ad9cc,{'text':_0x206103['to'](_0x3d5e1b(0x8b))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x431ef5=_0x474a;(function(_0x5b04ff,_0x303a12){const _0x4219f6=_0x474a,_0x467b2f=_0x5b04ff();while(!![]){try{const _0x12de53=-parseInt(_0x4219f6(0x117))/0x1*(parseInt(_0x4219f6(0x121))/0x2)+parseInt(_0x4219f6(0xfe))/0x3*(-parseInt(_0x4219f6(0x123))/0x4)+-parseInt(_0x4219f6(0xf6))/0x5*(parseInt(_0x4219f6(0x101))/0x6)+parseInt(_0x4219f6(0x125))/0x7*(-parseInt(_0x4219f6(0xfa))/0x8)+parseInt(_0x4219f6(0x108))/0x9+-parseInt(_0x4219f6(0x115))/0xa+parseInt(_0x4219f6(0xf3))/0xb;if(_0x12de53===_0x303a12)break;else _0x467b2f['push'](_0x467b2f['shift']());}catch(_0x29aa17){_0x467b2f['push'](_0x467b2f['shift']());}}}(_0x203e,0x4e7d5));import{Rect as _0x4a6534,global as _0x4d2a3c,isVisible as _0x3abb13}from'ckeditor5/src/utils.js';function _0x474a(_0x36191b,_0x812a3){const _0x203e92=_0x203e();return _0x474a=function(_0x474a65,_0x31c73b){_0x474a65=_0x474a65-0xee;let _0x5bf7df=_0x203e92[_0x474a65];return _0x5bf7df;},_0x474a(_0x36191b,_0x812a3);}import{AutocompleteView as _0x2ab1b2,ButtonView as _0x3ba6d9}from'ckeditor5/src/ui.js';import{icons as _0xc70df2}from'ckeditor5/src/core.js';import{getTranslation as _0x40d24c}from'../../utils/common-translations.js';function _0x203e(){const _0x45a97c=['398581hydZEl','bind','left','Submit','ck-ai-form__submit','maxRows','right','minRows','element','value','2mJXXOr','execute','4kFarQG','set','7JjQuSi','submitButtonView','add','keystrokes','focusLast','fieldView','_createSubmitButton','isVisible','update','history','19007725SIzTaK','queryView','fieldWrapperChildren','85WYcCzp','excludeScrollbarsAndBorders','resultsView','History','2972056WFwSyd','width','isEmpty','filteredView','1622577PWxJCX','focusableChildren','showHistoryButtonView','51384GVLRaj','submit','isOn','window','requestAnimationFrame','focusCycler','render','5481513CBJlUX','uiLanguageDirection','ck-ai-form__toggle-history','children','target','isEnabled','focus','rtl','style','_createShowHistoryButton','enter','locale','focusFirst','5590040bFKByF','fire'];_0x203e=function(){return _0x45a97c;};return _0x203e();}import _0x256e09 from'../../../theme/icons/submit.svg';export default class ht extends _0x2ab1b2{constructor(_0x274f91,_0x28770c){const _0x37a434=_0x474a;super(_0x274f91,_0x28770c),this[_0x37a434(0xf4)][_0x37a434(0xee)][_0x37a434(0x11e)]=0x1,this[_0x37a434(0xf4)][_0x37a434(0xee)][_0x37a434(0x11c)]=0x3,this[_0x37a434(0x126)]=this[_0x37a434(0xef)](),this[_0x37a434(0x100)]=this[_0x37a434(0x111)](),this[_0x37a434(0xff)][_0x37a434(0x127)](this[_0x37a434(0x100)],0x1),this[_0x37a434(0xff)][_0x37a434(0x127)](this[_0x37a434(0x126)]);}[_0x431ef5(0x107)](){const _0x1a6b3b=_0x431ef5;super[_0x1a6b3b(0x107)](),this[_0x1a6b3b(0xf4)][_0x1a6b3b(0xf5)][_0x1a6b3b(0x127)](this[_0x1a6b3b(0x100)]),this[_0x1a6b3b(0x10b)][_0x1a6b3b(0x127)](this[_0x1a6b3b(0x126)]),this[_0x1a6b3b(0x128)][_0x1a6b3b(0x124)](_0x1a6b3b(0x112),(_0xd4c241,_0x38ab27)=>{const _0x29baf5=_0x1a6b3b;_0xd4c241[_0x29baf5(0x10c)]==this[_0x29baf5(0xf4)][_0x29baf5(0xee)][_0x29baf5(0x11f)]&&(this[_0x29baf5(0x102)](),_0x38ab27());});}[_0x431ef5(0xef)](){const _0x4be1f2=_0x431ef5,_0x4adbd0=new _0x3ba6d9(this[_0x4be1f2(0x113)]),_0x5db79e=this[_0x4be1f2(0x113)];return _0x4adbd0[_0x4be1f2(0x124)]({'icon':_0x256e09,'label':_0x40d24c(_0x5db79e,_0x4be1f2(0x11a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4be1f2(0x11b)}),_0x4adbd0['on'](_0x4be1f2(0x122),()=>{const _0x16cf09=_0x4be1f2;this[_0x16cf09(0x102)]();}),_0x4adbd0[_0x4be1f2(0x118)](_0x4be1f2(0x10d))['to'](this[_0x4be1f2(0xf4)][_0x4be1f2(0xee)],_0x4be1f2(0xfc),this,_0x4be1f2(0x10d),(_0x571de8,_0x318772)=>!_0x571de8&&_0x318772),_0x4adbd0;}[_0x431ef5(0x111)](){const _0x126924=_0x431ef5,_0x42ece3=new _0x3ba6d9(this[_0x126924(0x113)]),_0x666199=this[_0x126924(0xf8)],_0x55cdf9=this[_0x126924(0x113)];_0x42ece3[_0x126924(0x124)]({'label':_0x40d24c(_0x55cdf9,_0x126924(0xf9)),'withText':!0x1,'icon':_0xc70df2[_0x126924(0xf2)],'tooltip':!0x0,'tooltipPosition':'sw','class':_0x126924(0x10a)}),_0x42ece3[_0x126924(0x118)](_0x126924(0x103))['to'](_0x666199,_0x126924(0xf0)),_0x42ece3[_0x126924(0x118)](_0x126924(0x10d))['to'](this,_0x126924(0x10d)),_0x42ece3['on'](_0x126924(0x122),()=>{const _0x3831e4=_0x126924;_0x666199[_0x3831e4(0xf0)]=!_0x666199[_0x3831e4(0xf0)],_0x666199[_0x3831e4(0xf0)]?this[_0x3831e4(0xfd)][_0x3831e4(0x10e)]():this[_0x3831e4(0x10e)]();});const _0x4dabc7=()=>{const _0x67dd9=_0x126924;_0x4d2a3c[_0x67dd9(0x104)][_0x67dd9(0x105)](()=>{const _0x90a10c=_0x67dd9;if(_0x3abb13(this[_0x90a10c(0x11f)])){const _0x1afc7d=new _0x4a6534(this[_0x90a10c(0xf4)][_0x90a10c(0xee)][_0x90a10c(0x11f)]),_0x368afa=_0x1afc7d[_0x90a10c(0xfb)],_0xaa1f01=_0x90a10c(0x10f)===_0x55cdf9[_0x90a10c(0x109)]?_0x90a10c(0x119):_0x90a10c(0x11d);_0x1afc7d[_0x90a10c(0xf7)](),_0x42ece3[_0x90a10c(0x11f)][_0x90a10c(0x110)][_0xaa1f01]=_0x368afa-_0x1afc7d[_0x90a10c(0xfb)]+0x1+'px';}});};return this[_0x126924(0xf4)][_0x126924(0xee)]['on'](_0x126924(0xf1),_0x4dabc7),this['on'](_0x126924(0x107),_0x4dabc7),_0x42ece3;}[_0x431ef5(0x102)](){const _0xf7fe5f=_0x431ef5,_0x588476=this[_0xf7fe5f(0xf4)][_0xf7fe5f(0xee)][_0xf7fe5f(0x11f)][_0xf7fe5f(0x120)];this[_0xf7fe5f(0x116)](_0xf7fe5f(0x102),_0x588476);}[_0x431ef5(0x10e)](_0x5d45ba){const _0x3ec3b9=_0x431ef5;-0x1===_0x5d45ba?this[_0x3ec3b9(0x106)][_0x3ec3b9(0x129)]():this[_0x3ec3b9(0x106)][_0x3ec3b9(0x114)]();}}
|