@ckeditor/ckeditor5-ai 45.2.1-alpha.0 → 45.2.1-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/normalizecommandsconfig.js +1 -1
package/src/aiassistant.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bd955=_0x195e;(function(_0x166a37,_0x14add0){const _0x4010b4=_0x195e,_0x2f8364=_0x166a37();while(!![]){try{const _0x157056=-parseInt(_0x4010b4(0x1f1))/0x1+parseInt(_0x4010b4(0x1c4))/0x2*(-parseInt(_0x4010b4(0x1b2))/0x3)+parseInt(_0x4010b4(0x19a))/0x4+-parseInt(_0x4010b4(0x1d2))/0x5*(-parseInt(_0x4010b4(0x1d7))/0x6)+-parseInt(_0x4010b4(0x1c9))/0x7+-parseInt(_0x4010b4(0x1b4))/0x8+parseInt(_0x4010b4(0x1a7))/0x9*(parseInt(_0x4010b4(0x1da))/0xa);if(_0x157056===_0x14add0)break;else _0x2f8364['push'](_0x2f8364['shift']());}catch(_0x43fd53){_0x2f8364['push'](_0x2f8364['shift']());}}}(_0xd9b8,0x8cb56));function _0xd9b8(){const _0x13c88e=['Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','587584TcLpHX','improveWriting','isPremiumPlugin','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translate','isOfficialPlugin','Business','locale','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Journalism','casual','Confident','translatePortuguese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','ai.aiAssistant.removeCommands','changeStyle','makeLonger','requires','Improve\x20writing','Translate','ai.aiAssistant.extraCommandGroups','forEach','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','summarize','973280wejoWE','journalism','Friendly','commands','Continue','translateSpanish','Translate\x20the\x20content\x20to\x20German\x20language.','continue','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Hindi','Casual','translateHindi','confident','5833953oaKMBT','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20English\x20language.','Arabic','Make\x20shorter','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','includes','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','poetic','Professional','15wpfTjG','translateArabic','3914544kWQWAV','Edit\x20or\x20review','Spanish','translateGerman','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\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','set','translateEnglish','ai.aiAssistant.commands','legal','pluginName','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','business','AIAssistant','editOrReview','140654gPdRvV','config','get','friendly','French','2906043cYXvXP','Change\x20tone','generate','changeTone','makeShorter','filter','Make\x20longer','German','simplifyLanguage','35PyuBoj','concat','Generate\x20from\x20selection','find','Legal','198906gpmpTs','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Change\x20style','30zmWxtB','Simplify\x20language','Direct','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Portuguese','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20French\x20language.','Simplified\x20Chinese','English','translateChinese','translateFrench','ai.aiAssistant.preserveComments','Summarize','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','professional','Poetic','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','define','push','groupId','direct'];_0xd9b8=function(){return _0x13c88e;};return _0xd9b8();}function _0x195e(_0x4fb8d7,_0x55eafb){const _0xd9b89c=_0xd9b8();return _0x195e=function(_0x195e13,_0x35d8c8){_0x195e13=_0x195e13-0x196;let _0x213baa=_0xd9b89c[_0x195e13];return _0x213baa;},_0x195e(_0x4fb8d7,_0x55eafb);}import{Plugin as _0x303d00}from'ckeditor5/src/core.js';import _0x1a235e from'./aiassistantui.js';import _0x312a76 from'./aiassistantediting.js';import{getTranslation as _0xaa204c}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3f37f4}from'./utils/normalizecommandsconfig.js';export default class r extends _0x303d00{static get[_0x3bd955(0x202)](){return[_0x1a235e,_0x312a76];}static get[_0x3bd955(0x1bf)](){const _0x2a7bd4=_0x3bd955;return _0x2a7bd4(0x1c2);}static get[_0x3bd955(0x1f6)](){return!0x0;}static get[_0x3bd955(0x1f3)](){return!0x0;}constructor(_0x1348c8){const _0x3abf2f=_0x3bd955;super(_0x1348c8);const _0x48e56a=_0x1348c8[_0x3abf2f(0x1c5)],_0x294687=_0x1348c8[_0x3abf2f(0x1f8)];_0x48e56a[_0x3abf2f(0x1eb)](_0x3abf2f(0x1e5),!0x0),_0x48e56a[_0x3abf2f(0x1eb)](_0x3abf2f(0x1bd),getDefaultCommands(_0x294687)),_0x48e56a[_0x3abf2f(0x1eb)](_0x3abf2f(0x196),[]),_0x48e56a[_0x3abf2f(0x1eb)](_0x3abf2f(0x1ff),[]);let _0x478510=_0x3f37f4(_0x48e56a[_0x3abf2f(0x1c6)](_0x3abf2f(0x1bd)),_0x294687);const _0x297751=_0x48e56a[_0x3abf2f(0x1c6)](_0x3abf2f(0x196)),_0x53b40e=_0x48e56a[_0x3abf2f(0x1c6)](_0x3abf2f(0x1ff));_0x297751[_0x3abf2f(0x197)](_0x562134=>{const _0x1e8d53=_0x3abf2f,_0x397714=_0x478510[_0x1e8d53(0x1d5)](_0x410c45=>_0x410c45[_0x1e8d53(0x1ed)]===_0x562134[_0x1e8d53(0x1ed)]);_0x397714?_0x397714[_0x1e8d53(0x19d)]=_0x397714[_0x1e8d53(0x19d)][_0x1e8d53(0x1d3)](_0x562134[_0x1e8d53(0x19d)]):_0x478510[_0x1e8d53(0x1ec)](_0x562134);}),_0x478510=_0x478510[_0x3abf2f(0x1ce)](_0x1f220d=>!_0x53b40e[_0x3abf2f(0x1ae)](_0x1f220d[_0x3abf2f(0x1ed)])),_0x478510[_0x3abf2f(0x197)](_0x1c4fd1=>{const _0x37e0b2=_0x3abf2f;_0x1c4fd1[_0x37e0b2(0x19d)]=_0x1c4fd1[_0x37e0b2(0x19d)][_0x37e0b2(0x1ce)](_0x50540a=>!_0x53b40e[_0x37e0b2(0x1ae)](_0x50540a['id']));}),_0x48e56a[_0x3abf2f(0x1bb)](_0x3abf2f(0x1bd),_0x478510);}}export function getDefaultCommands(_0x5daa74){const _0x30be7c=_0x3bd955;return[{'groupId':_0x30be7c(0x1c3),'groupLabel':_0xaa204c(_0x5daa74,_0x30be7c(0x1b5)),'commands':[{'id':_0x30be7c(0x1f2),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x203)),'prompt':_0x30be7c(0x1f9)},{'id':_0x30be7c(0x1cd),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1ac)),'prompt':_0x30be7c(0x1f4)},{'id':_0x30be7c(0x201),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1cf)),'prompt':_0x30be7c(0x1c0)},{'id':_0x30be7c(0x1d1),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1db)),'prompt':_0x30be7c(0x1af)}]},{'groupId':_0x30be7c(0x1cb),'groupLabel':_0xaa204c(_0x5daa74,_0x30be7c(0x1d4)),'commands':[{'id':_0x30be7c(0x199),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1e6)),'prompt':_0x30be7c(0x1b8)},{'id':_0x30be7c(0x1a1),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x19e)),'prompt':_0x30be7c(0x1df)}]},{'groupId':_0x30be7c(0x1cc),'groupLabel':_0xaa204c(_0x5daa74,_0x30be7c(0x1ca)),'commands':[{'id':_0x30be7c(0x1e8),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1b1)),'prompt':_0x30be7c(0x1ef)},{'id':_0x30be7c(0x1fb),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1a4)),'prompt':_0x30be7c(0x1dd)},{'id':_0x30be7c(0x1ee),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1dc)),'prompt':_0x30be7c(0x198)},{'id':_0x30be7c(0x1a6),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1fc)),'prompt':_0x30be7c(0x1fe)},{'id':_0x30be7c(0x1c7),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x19c)),'prompt':_0x30be7c(0x1ba)}]},{'groupId':_0x30be7c(0x200),'groupLabel':_0xaa204c(_0x5daa74,_0x30be7c(0x1d9)),'commands':[{'id':_0x30be7c(0x1c1),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1f7)),'prompt':_0x30be7c(0x1ad)},{'id':_0x30be7c(0x1be),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1d6)),'prompt':_0x30be7c(0x1ea)},{'id':_0x30be7c(0x19b),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1fa)),'prompt':_0x30be7c(0x1e7)},{'id':_0x30be7c(0x1b0),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1e9)),'prompt':_0x30be7c(0x1a9)}]},{'groupId':_0x30be7c(0x1f5),'groupLabel':_0xaa204c(_0x5daa74,_0x30be7c(0x204)),'commands':[{'id':_0x30be7c(0x1bc),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1e2)),'prompt':_0x30be7c(0x1aa)},{'id':_0x30be7c(0x19f),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1b6)),'prompt':_0x30be7c(0x1a2)},{'id':_0x30be7c(0x1fd),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1de)),'prompt':_0x30be7c(0x1a8)},{'id':_0x30be7c(0x1b7),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1d0)),'prompt':_0x30be7c(0x1a0)},{'id':_0x30be7c(0x1e4),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1c8)),'prompt':_0x30be7c(0x1e0)},{'id':_0x30be7c(0x1e3),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1e1)),'prompt':_0x30be7c(0x1b9)},{'id':_0x30be7c(0x1a5),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1a3)),'prompt':_0x30be7c(0x1f0)},{'id':_0x30be7c(0x1b3),'label':_0xaa204c(_0x5daa74,_0x30be7c(0x1ab)),'prompt':_0x30be7c(0x1d8)}]}];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x189858=_0x3b7a;(function(_0xee9ce8,_0xab6ece){const _0x17bed8=_0x3b7a,_0x5536f8=_0xee9ce8();while(!![]){try{const _0x464049=-parseInt(_0x17bed8(0xf3))/0x1+parseInt(_0x17bed8(0x128))/0x2*(parseInt(_0x17bed8(0x12e))/0x3)+-parseInt(_0x17bed8(0x125))/0x4+parseInt(_0x17bed8(0x107))/0x5*(-parseInt(_0x17bed8(0x10d))/0x6)+parseInt(_0x17bed8(0x11f))/0x7+-parseInt(_0x17bed8(0xfc))/0x8+parseInt(_0x17bed8(0x114))/0x9*(parseInt(_0x17bed8(0xfa))/0xa);if(_0x464049===_0xab6ece)break;else _0x5536f8['push'](_0x5536f8['shift']());}catch(_0xe01874){_0x5536f8['push'](_0x5536f8['shift']());}}}(_0x5566,0xe73f0));function _0x3b7a(_0x5591ae,_0x3f94fc){const _0x556602=_0x5566();return _0x3b7a=function(_0x3b7aad,_0x6cd971){_0x3b7aad=_0x3b7aad-0xc7;let _0x3db899=_0x556602[_0x3b7aad];return _0x3db899;},_0x3b7a(_0x5591ae,_0x3f94fc);}import{uid as _0xa1155}from'ckeditor5/src/utils.js';import{Plugin as _0x1e663e}from'ckeditor5/src/core.js';function _0x5566(){const _0x2c71aa=['addMarker','ck-fake-ai-selection','insertContent','once','forEach','getColumnIndexes','init','first','data','getRows','isPremiumPlugin','addClass','hideFakeVisualSelection','isOfficialPlugin','map','model','insertContentBelow','removeMarker','DataTransfer','getChild','ck-ai-assistant-ui_theme','pluginName','getSelectedTableCells','ai-ui','_pasteHTMLUsingClipboard','createPositionAt','getMarkersGroup','deleteContent','span','join','editingDowncast','plugins','insertRows','getFirstRange','parse','editor','isContent','resultRange','element','_getTableRowCountFromContent','TableUtils','push','ck-fake-ai-selection_collapsed','getRowIndexes','setData','change','AIAssistantEditing','getRanges','pop','302766YKNVbL','lowest','last','_getDefaultInsertBelowPosition','_createEmptyTableRows','findAncestor','getChildren','8680dfyOlH','text/html','10944672qvWmra','getLastPosition','has','_getAISelection','length','showFakeVisualSelection','fromCharCode','off','createPositionAfter','updateMarker','for','35450MUdmeE','createRange','setSelection','fire','href','_resetContentOfSelectedTableCells','342wEroON','markerToHighlight','afterInit','_prepareTableInsertBelowPosition','isAtEnd','markerToElement','editing','11241UzVGBz','markerRange','getSelectedBlocks','get','getLastMatchingPosition','createSelection','getRange','isCollapsed','paste','canEditAt','conversion','12011272KfOASn','end','filter','createUIElement','table','config','4747008VoKrEd','from','selection','2uzTSrD','markers','document','contentInsertion','start','ai.useTheme','4226664MZAQes','schema'];_0x5566=function(){return _0x2c71aa;};return _0x5566();}import{ClipboardPipeline as _0x3b43c5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x437240,DataTransfer as _0x1cdabe}from'ckeditor5/src/engine.js';const w=globalThis[_0x189858(0xd4)],f=_0x189858(0xd9);export default class a extends _0x1e663e{static get[_0x189858(0xd7)](){const _0x22e494=_0x189858;return _0x22e494(0xf0);}static get[_0x189858(0xcf)](){return!0x0;}static get[_0x189858(0xcc)](){return!0x0;}[_0x189858(0xc8)](){const _0xda25d8=_0x189858,{editor:_0x5e4325}=this,_0x2767e4=[_0xda25d8(0x131)];_0x5e4325[_0xda25d8(0x124)][_0xda25d8(0x117)](_0xda25d8(0x12d))&&_0x2767e4[_0xda25d8(0xeb)](_0xda25d8(0xd6)),_0x5e4325[_0xda25d8(0x11e)][_0xda25d8(0x106)](_0xda25d8(0xe0))[_0xda25d8(0x10e)]({'model':f,'view':{'classes':_0x2767e4,'priority':0xc}}),_0x5e4325[_0xda25d8(0x11e)][_0xda25d8(0x106)](_0xda25d8(0xe0))[_0xda25d8(0x112)]({'model':f,'view':(_0x4e5f89,{writer:_0x113006})=>{const _0x5139ca=_0xda25d8;if(!_0x4e5f89[_0x5139ca(0x115)][_0x5139ca(0x11b)])return null;const _0x38e694=_0x113006[_0x5139ca(0x122)](_0x5139ca(0xde));return _0x113006[_0x5139ca(0xcd)]([_0x5139ca(0x131),_0x5139ca(0xec)],_0x38e694),_0x38e694;}});}[_0x189858(0x10f)](){!async function(_0x41d4e4){const _0x5d98fd=_0x1cfab7([0x43,0x31,0x78,0x6b,0x47,0x41,0x4c,0x37,0x30,0x4e,0x76,0x42,0x6d,0x50,0x56,0x39,0x72,0x53,0x54,0x45,0x64,0x6a,0x4b,0x63,0x4a,0x32,0x59,0x35,0x48,0x74,0x69,0x55,0x62,0x44,0x52,0x75,0x33,0x79,0x36,0x6c,0x57,0x6e,0x5a,0x7a,0x49,0x70,0x77,0x71,0x51,0x4d,0x67,0x65,0x6f,0x61,0x38,0x34,0x58,0x66,0x46,0x68,0x4f,0x73]),_0x4e9d5b=0xa05fd98,_0x34cd78=0xa029738^_0x4e9d5b,_0x171bfd=window[_0x1cfab7([0x44,0x61,0x74,0x65])][_0x1cfab7([0x6e,0x6f,0x77])](),_0x3482a3=_0x41d4e4[_0x1cfab7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x274d08=new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4665f4=>{_0x3482a3[_0x1cfab7([0x6f,0x6e,0x63,0x65])](_0x1cfab7([0x72,0x65,0x61,0x64,0x79]),_0x4665f4);}),_0x2b0e6f={[_0x1cfab7([0x6b,0x74,0x79])]:_0x1cfab7([0x45,0x43]),[_0x1cfab7([0x75,0x73,0x65])]:_0x1cfab7([0x73,0x69,0x67]),[_0x1cfab7([0x63,0x72,0x76])]:_0x1cfab7([0x50,0x2d,0x32,0x35,0x36]),[_0x1cfab7([0x78])]:_0x1cfab7([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]),[_0x1cfab7([0x79])]:_0x1cfab7([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]),[_0x1cfab7([0x61,0x6c,0x67])]:_0x1cfab7([0x45,0x53,0x32,0x35,0x36])},_0x245c79=_0x3482a3[_0x1cfab7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cfab7([0x67,0x65,0x74])](_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x594dde(){let _0x3a620a,_0x1a9737=null,_0x158dce=null;try{if(_0x245c79==_0x1cfab7([0x47,0x50,0x4c]))return _0x1cfab7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a620a=_0x4f6710(),!_0x3a620a)return _0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a620a[_0x1cfab7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x158dce=_0x494bf2(_0x3a620a[_0x1cfab7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a620a[_0x1cfab7([0x6a,0x74,0x69])])),await _0x4ebe3e()?_0x7a2260()?_0x4e3e27()?_0x1cfab7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38143b()?(_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cfab7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1a9737=_0x490a18(_0x1cfab7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cfab7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1a9737=_0x490a18(_0x1cfab7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56fd60()):_0x1cfab7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cfab7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1cfab7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e3e27(){const _0x477f7c=[_0x1cfab7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cfab7([0x74,0x72,0x69,0x61,0x6c])][_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x171bfd/0x3e8:0xe10*_0x34cd78;return _0x3a620a[_0x1cfab7([0x65,0x78,0x70])]<_0x477f7c;}function _0x7a2260(){const _0x23bfff=_0x3a620a[_0x1cfab7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23bfff&&(!!_0x23bfff[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x2a]))||!!_0x23bfff[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x41,0x49])));}function _0x38143b(){const _0x4506dc=_0x3b7a,_0x39f6f4=_0x3a620a[_0x1cfab7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39f6f4||0x0==_0x39f6f4[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f2e77}=new URL(window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4506dc(0x10b)]);if(_0x39f6f4[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f2e77))return!0x0;const _0x34052f=_0x3f2e77[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e]));return _0x39f6f4[_0x1cfab7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c8b73=>_0x4c8b73[_0x1cfab7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cfab7([0x2a])))[_0x1cfab7([0x6d,0x61,0x70])](_0x3cfe4e=>_0x3cfe4e[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e])))[_0x1cfab7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xba4ac2=>_0xba4ac2[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34052f[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cfab7([0x6d,0x61,0x70])](_0xe9dc36=>Array(_0x34052f[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe9dc36[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1cfab7([0x66,0x69,0x6c,0x6c])](_0xe9dc36[0x0]===_0x1cfab7([0x2a])?_0x1cfab7([0x2a]):'')[_0x1cfab7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe9dc36))[_0x1cfab7([0x73,0x6f,0x6d,0x65])](_0xb2cd28=>_0x34052f[_0x1cfab7([0x65,0x76,0x65,0x72,0x79])]((_0x2e1049,_0x1f3fd3)=>_0xb2cd28[_0x1f3fd3]===_0x2e1049||_0xb2cd28[_0x1f3fd3]===_0x1cfab7([0x2a])));}function _0x56fd60(){return _0x1a9737&&_0x158dce?new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f5a02,_0x52b8d4)=>{_0x1a9737[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x1f5a02,_0x52b8d4),_0x158dce[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x347fcc=>{_0x347fcc!=_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5a02(_0x347fcc);},_0x52b8d4);}):_0x1a9737||_0x158dce||_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x494bf2(_0x4dda70,_0xcd7fba){return new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56f8ec=>{if(_0x1c4fb1())return _0x56f8ec(_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]));_0x261cf7(),_0x3482a3[_0x1cfab7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x514284=!0x1;const _0x21ace9=_0xa1155();function _0x586bc2(_0x3176c8){return!!_0x3176c8&&(typeof _0x3176c8===_0x1cfab7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3176c8===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3176c8[_0x1cfab7([0x74,0x68,0x65,0x6e])]===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3176c8[_0x1cfab7([0x63,0x61,0x74,0x63,0x68])]===_0x1cfab7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f700c(_0x293778){_0x1715dc(_0x293778)[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x2c5d61=>{if(!_0x2c5d61||_0x2c5d61[_0x1cfab7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cfab7([0x6f,0x6b]))return _0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3233f8(_0xb0490a(_0x21ace9+_0xcd7fba))!=_0x2c5d61[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cfab7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x4d8637=>(_0x14bf43(),_0x4d8637),()=>{const _0x1f7689=_0x3177f8();return null==_0x1f7689?(_0x14bf43(),_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])):_0x1cfab7(_0x171bfd-_0x1f7689>(0x2e097998^_0x4e9d5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x56f8ec)[_0x1cfab7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43007b=0xa331318^_0x4e9d5b;function _0x14bf43(){const _0x375662=_0x1cfab7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3233f8(_0xb0490a(_0x4dda70)),_0x369c5e=_0x54d4f9(_0x3233f8(window[_0x1cfab7([0x4d,0x61,0x74,0x68])][_0x1cfab7([0x63,0x65,0x69,0x6c])](_0x171bfd/_0x43007b)));window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cfab7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x375662,_0x369c5e);}function _0x3177f8(){const _0x28d1b4=_0x1cfab7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3233f8(_0xb0490a(_0x4dda70)),_0x571f6a=window[_0x1cfab7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cfab7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28d1b4);return _0x571f6a?window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54d4f9(_0x571f6a),0x10)*_0x43007b:null;}function _0x1715dc(_0x1b272b){return new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3988c4,_0x173c3b)=>{_0x1b272b[_0x1cfab7([0x74,0x68,0x65,0x6e])](_0x3988c4,_0x173c3b),window[_0x1cfab7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x173c3b,0xa042958^_0x4e9d5b);});}}_0x3482a3[_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bd627,_0x343eed)=>{if(_0x343eed[0x0]!=_0x4dda70)return _0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x343eed[0x1]={..._0x343eed[0x1],[_0x1cfab7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21ace9};},{[_0x1cfab7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cfab7([0x68,0x69,0x67,0x68])}),_0x3482a3[_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xac13d=>{_0x586bc2(_0xac13d[_0x1cfab7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x514284=!0x0,_0x4f700c(_0xac13d[_0x1cfab7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cfab7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cfab7([0x6c,0x6f,0x77])}),_0x274d08[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>{_0x514284||_0x56f8ec(_0x1cfab7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c4fb1(){return _0x3482a3[_0x1cfab7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cfab7([0x76,0x69,0x65,0x77])][_0x1cfab7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cfab7([0x61,0x75,0x74,0x6f]);}function _0x261cf7(){_0x3482a3[_0x1cfab7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cfab7([0x76,0x69,0x65,0x77])][_0x1cfab7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cfab7([0x61,0x75,0x74,0x6f]);}}function _0x490a18(_0x31824f){const _0x4a6bdf=[new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4feb6f=>setTimeout(_0x4feb6f,0xa0cc354^_0x4e9d5b)),_0x274d08[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c777e=>{let _0x5358ae=0x0;_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x6f,0x6e])](_0x1cfab7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10726e,_0x25236)=>{_0x25236[0x0][_0x1cfab7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5358ae++,_0x5358ae==(0xa05fc60^_0x4e9d5b)&&(_0x1c777e(),_0x10726e[_0x1cfab7([0x6f,0x66,0x66])]());});}))];return window[_0x1cfab7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cfab7([0x72,0x61,0x63,0x65])](_0x4a6bdf)[_0x1cfab7([0x74,0x68,0x65,0x6e])](()=>_0x31824f);}async function _0x2159de(){await _0x274d08,_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0381,_0x3482a3[_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cfab7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0381,_0x3482a3[_0x1cfab7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cfab7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x554eaa(_0x4206c6){const _0x1bc6a3=_0x3b2fe5();_0x3482a3[_0x1bc6a3]=_0x1cfab7([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4206c6,_0x4206c6!=_0x1cfab7([0x56,0x61,0x6c,0x69,0x64])&&_0x2159de();}function _0x3b2fe5(){const _0x58feed=window[_0x1cfab7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cfab7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cfab7([0x6e,0x6f,0x77])]())[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cfab7([0x2e]),'');let _0x4297ce=_0x1cfab7([0x43]);for(let _0x7a2c6c=0x0;_0x7a2c6c<_0x58feed[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7a2c6c+=0x2){let _0x103a9e=window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58feed[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7a2c6c,_0x7a2c6c+0x2));_0x103a9e>=_0x5d98fd[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x103a9e-=_0x5d98fd[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4297ce+=_0x5d98fd[_0x103a9e];}return _0x4297ce;}function _0x4f6710(){const _0x213744=_0x245c79[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e]));if(0x3!=_0x213744[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ef0a9(_0x213744[0x1]);function _0x3ef0a9(_0x3e322a){const _0x1b63ea=_0x390a8b(_0x3e322a);return _0x1b63ea&&_0x536a06()?_0x1b63ea:null;function _0x536a06(){const _0x15b5c8=_0x1b63ea[_0x1cfab7([0x6a,0x74,0x69])],_0x50aa2f=window[_0x1cfab7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15b5c8[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15b5c8[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51e263={..._0x1b63ea,[_0x1cfab7([0x6a,0x74,0x69])]:_0x15b5c8[_0x1cfab7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15b5c8[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51e263[_0x1cfab7([0x76,0x63])],_0xb0490a(_0x51e263)==_0x50aa2f;}}}async function _0x4ebe3e(){let _0x260184=!0x0;try{const _0x2d3e35=_0x245c79[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])](_0x1cfab7([0x2e])),[_0x45b147,_0x5a5aa3,_0x5a854a]=_0x2d3e35;return _0x28e0df(_0x45b147),await _0x2b7dc8(_0x45b147,_0x5a5aa3,_0x5a854a),_0x260184;}catch{return!0x1;}function _0x28e0df(_0x123ebf){const _0x20433a=_0x390a8b(_0x123ebf);_0x20433a&&_0x20433a[_0x1cfab7([0x61,0x6c,0x67])]==_0x1cfab7([0x45,0x53,0x32,0x35,0x36])||(_0x260184=!0x1);}async function _0x2b7dc8(_0x20ac5d,_0x106319,_0x22e169){const _0x3ccfa6=window[_0x1cfab7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cfab7([0x66,0x72,0x6f,0x6d])](_0x533db5(_0x22e169),_0x4853f3=>_0x4853f3[_0x1cfab7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56812f=new window[(_0x1cfab7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cfab7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20ac5d+_0x1cfab7([0x2e])+_0x106319),_0x11e805=window[_0x1cfab7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cfab7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11e805)return;const _0x549d4e=await _0x11e805[_0x1cfab7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cfab7([0x6a,0x77,0x6b]),_0x2b0e6f,{[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x45,0x43,0x44,0x53,0x41]),[_0x1cfab7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cfab7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11e805[_0x1cfab7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x45,0x43,0x44,0x53,0x41]),[_0x1cfab7([0x68,0x61,0x73,0x68])]:{[_0x1cfab7([0x6e,0x61,0x6d,0x65])]:_0x1cfab7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x549d4e,_0x3ccfa6,_0x56812f)||(_0x260184=!0x1);}}function _0x390a8b(_0x4cc056){return _0x4cc056[_0x1cfab7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cfab7([0x65,0x79]))?JSON[_0x1cfab7([0x70,0x61,0x72,0x73,0x65])](_0x533db5(_0x4cc056)):null;}function _0x533db5(_0x4b42a8){return window[_0x1cfab7([0x61,0x74,0x6f,0x62])](_0x4b42a8[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cfab7([0x2b]))[_0x1cfab7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cfab7([0x2f])));}function _0xb0490a(_0x4d1192){let _0x5bdbd6=0x1505;function _0x58fcb3(_0x602dba){for(let _0x51d6fe=0x0;_0x51d6fe<_0x602dba[_0x1cfab7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51d6fe++){const _0x43f3de=_0x602dba[_0x1cfab7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51d6fe);_0x5bdbd6=(_0x5bdbd6<<0x5)+_0x5bdbd6+_0x43f3de,_0x5bdbd6&=_0x5bdbd6;}}function _0xf282c1(_0x3a7d86){Array[_0x1cfab7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a7d86)?_0x3a7d86[_0x1cfab7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf282c1):_0x3a7d86&&typeof _0x3a7d86==_0x1cfab7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cfab7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a7d86)[_0x1cfab7([0x73,0x6f,0x72,0x74])]()[_0x1cfab7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10c980,_0x24179a])=>{_0x58fcb3(_0x10c980),_0xf282c1(_0x24179a);}):_0x58fcb3(window[_0x1cfab7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a7d86));}return _0xf282c1(_0x4d1192),_0x5bdbd6>>>0x0;}function _0x3233f8(_0x2d2a52){return _0x2d2a52[_0x1cfab7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cfab7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cfab7([0x30]));}function _0x54d4f9(_0x453e85){return _0x453e85[_0x1cfab7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cfab7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cfab7([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0381(){}function _0x1cfab7(_0x1fa72e){const _0xc2358f=_0x3b7a;return _0x1fa72e[_0xc2358f(0xd0)](_0x2f315c=>String[_0xc2358f(0x102)](_0x2f315c))[_0xc2358f(0xdf)]('');}_0x554eaa(await _0x594dde());}(this);}[_0x189858(0x101)](){const _0x2cc09c=_0x189858,_0x44d326=this[_0x2cc09c(0xe5)][_0x2cc09c(0xd1)];_0x44d326[_0x2cc09c(0xef)](_0x15df48=>{const _0x1a51cc=_0x2cc09c,_0x251a96=_0x44d326[_0x1a51cc(0x12a)][_0x1a51cc(0x127)][_0x1a51cc(0xf1)]();let _0x250ffc=0x0;for(const _0xbec17b of _0x251a96){const _0x5e27b1=f+':'+_0x250ffc;if(_0x44d326[_0x1a51cc(0x129)][_0x1a51cc(0xfe)](_0x5e27b1))_0x15df48[_0x1a51cc(0x105)](_0x5e27b1,{'range':_0xbec17b});else{if(_0xbec17b[_0x1a51cc(0x12c)][_0x1a51cc(0x111)]){const _0x1d9fc8=_0xbec17b[_0x1a51cc(0x12c)][_0x1a51cc(0x118)](({item:_0x4d9a49})=>!_0x44d326[_0x1a51cc(0x12f)][_0x1a51cc(0xe6)](_0x4d9a49),{'boundaries':_0xbec17b});_0x15df48[_0x1a51cc(0x130)](_0x5e27b1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x15df48[_0x1a51cc(0x108)](_0x1d9fc8,_0xbec17b[_0x1a51cc(0x120)])});}else _0x15df48[_0x1a51cc(0x130)](_0x5e27b1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xbec17b});}_0x250ffc++;}});}[_0x189858(0xce)](){const _0x4a8348=_0x189858,_0x1619f1=this[_0x4a8348(0xe5)][_0x4a8348(0xd1)],_0xdecf80=Array[_0x4a8348(0x126)](this[_0x4a8348(0xe5)][_0x4a8348(0xd1)][_0x4a8348(0x129)][_0x4a8348(0xdc)](f));_0xdecf80[_0x4a8348(0x100)]&&_0x1619f1[_0x4a8348(0xef)](_0x3077b3=>{const _0x9e0135=_0x4a8348;_0xdecf80[_0x9e0135(0x134)](_0x1993a4=>{const _0x3caed4=_0x9e0135;_0x3077b3[_0x3caed4(0xd3)](_0x1993a4);});});}[_0x189858(0x132)](_0x414cff,_0x4be34f){const _0xd3b59=_0x189858,_0x2e79ac=this[_0xd3b59(0xff)](),_0x12d336=_0x4be34f||_0x2e79ac[_0xd3b59(0xe3)]();this[_0xd3b59(0xe5)][_0xd3b59(0xd1)][_0xd3b59(0x11d)](_0x12d336)&&this[_0xd3b59(0xe5)][_0xd3b59(0xd1)][_0xd3b59(0xef)](_0x719b19=>{const _0x2ed29f=_0xd3b59;this[_0x2ed29f(0xce)](),_0x4be34f||this[_0x2ed29f(0x10c)](_0x719b19,_0x2e79ac),this[_0x2ed29f(0xda)]({'insertAt':_0x12d336,'writer':_0x719b19,'html':_0x414cff});});}[_0x189858(0xd2)](_0x401374){const _0xd7ef49=_0x189858,{model:_0x2fa7f6}=this[_0xd7ef49(0xe5)],_0x5db28b=this[_0xd7ef49(0xff)]();_0x2fa7f6[_0xd7ef49(0xef)](()=>{const _0x2527df=_0xd7ef49,_0x22e4ef=this[_0x2527df(0x110)](_0x401374,_0x5db28b)||this[_0x2527df(0xf6)](_0x5db28b);this[_0x2527df(0x132)](_0x401374,_0x22e4ef);});}[_0x189858(0xff)](){const _0x14eafd=_0x189858,_0x3fbb51=this[_0x14eafd(0xe5)][_0x14eafd(0xd1)],_0x195e10=Array[_0x14eafd(0x126)](_0x3fbb51[_0x14eafd(0x129)][_0x14eafd(0xdc)](f))[_0x14eafd(0xd0)](_0x3b8957=>_0x3b8957[_0x14eafd(0x11a)]());return _0x3fbb51[_0x14eafd(0x119)](_0x195e10);}[_0x189858(0xda)]({writer:_0x34d61a,html:_0xe55066,insertAt:_0x106d31}){const _0x8aeec1=_0x189858,{view:_0x4b868c}=this[_0x8aeec1(0xe5)][_0x8aeec1(0x113)],_0x13e150=this[_0x8aeec1(0xe5)][_0x8aeec1(0xe1)][_0x8aeec1(0x117)](_0x3b43c5),_0x267758=new w();_0x267758[_0x8aeec1(0xee)](_0x8aeec1(0xfb),_0xe55066);const _0x45fe85=new ClipboardEvent(_0x8aeec1(0x11c),{'clipboardData':_0x267758}),_0x627067=new _0x437240(_0x4b868c,_0x45fe85,{'dataTransfer':new _0x1cdabe(_0x267758)});_0x34d61a[_0x8aeec1(0x109)](_0x106d31);const _0x25e33a=(_0x4e4ff1,_0x32783)=>{const _0x27d2b1=_0x8aeec1;_0x32783[_0x27d2b1(0xe7)]&&_0x34d61a[_0x27d2b1(0x109)](_0x32783[_0x27d2b1(0xe7)]);};_0x13e150[_0x8aeec1(0x133)](_0x8aeec1(0x12b),_0x25e33a,{'priority':_0x8aeec1(0xf4)}),_0x4b868c[_0x8aeec1(0x12a)][_0x8aeec1(0x10a)](_0x8aeec1(0x11c),_0x627067),_0x13e150[_0x8aeec1(0x103)](_0x8aeec1(0x12b),_0x25e33a);}[_0x189858(0xf6)](_0xa0e0be){const _0x159508=_0x189858,{model:_0x52dc32}=this[_0x159508(0xe5)],_0x56c37f=Array[_0x159508(0x126)](_0xa0e0be[_0x159508(0x116)]());return _0x56c37f[_0x159508(0x100)]?_0x52dc32[_0x159508(0x104)](_0x56c37f[_0x159508(0xf2)]()):_0xa0e0be[_0x159508(0xfd)]();}[_0x189858(0x110)](_0xf558c4,_0x61de08){const _0x2270d1=_0x189858,{model:_0xbd0b5c,plugins:_0x12c5a5}=this[_0x2270d1(0xe5)];if(_0x12c5a5[_0x2270d1(0xfe)](_0x2270d1(0xea))){const _0x50ecf8=_0x12c5a5[_0x2270d1(0x117)](_0x2270d1(0xea))[_0x2270d1(0xd8)](_0x61de08);if(_0x50ecf8[_0x2270d1(0x100)]){const _0x1e7764=this[_0x2270d1(0xe9)](_0xf558c4),_0x448afe=this[_0x2270d1(0xf7)](_0x50ecf8,_0x1e7764);return _0xbd0b5c[_0x2270d1(0xdb)](_0x448afe,0x0);}}return null;}[_0x189858(0xe9)](_0x583034){const _0x437723=_0x189858,_0x3f5a3d=this[_0x437723(0xe5)][_0x437723(0xe1)][_0x437723(0x117)](_0x437723(0xea)),_0x1d43f9=this[_0x437723(0xe5)][_0x437723(0xca)][_0x437723(0xe4)](_0x583034),_0x44a2f1=Array[_0x437723(0x126)](_0x1d43f9[_0x437723(0xf9)]())[_0x437723(0x121)](_0x553cbd=>_0x553cbd['is'](_0x437723(0xe8),_0x437723(0x123)));let _0x2666af=0x0;return _0x44a2f1[_0x437723(0x134)](_0x391061=>{const _0xb60761=_0x437723;_0x2666af+=_0x3f5a3d[_0xb60761(0xcb)](_0x391061);}),_0x2666af;}[_0x189858(0xf7)](_0x156cde,_0x57514e){const _0x4a205d=_0x189858,_0x36b9c5=this[_0x4a205d(0xe5)][_0x4a205d(0xe1)][_0x4a205d(0x117)](_0x4a205d(0xea)),_0x4536e1=_0x36b9c5[_0x4a205d(0xed)](_0x156cde),_0x441cd1=_0x36b9c5[_0x4a205d(0xc7)](_0x156cde),_0x534264=_0x4536e1[_0x4a205d(0xf5)]+0x1,_0x4d6391=_0x441cd1[_0x4a205d(0xc9)],_0x563071=_0x156cde[0x0][_0x4a205d(0xf8)](_0x4a205d(0x123));for(let _0x10a656=0x0;_0x10a656<_0x57514e;_0x10a656++)_0x36b9c5[_0x4a205d(0xe2)](_0x563071,{'at':_0x534264});return _0x563071[_0x4a205d(0xd5)](_0x534264)[_0x4a205d(0xd5)](_0x4d6391);}[_0x189858(0x10c)](_0x1adc1d,_0x44e12e){const _0x29ade0=_0x189858,{plugins:_0x2eedbe}=this[_0x29ade0(0xe5)],{model:_0x1ef3e8}=_0x1adc1d;if(!_0x2eedbe[_0x29ade0(0xfe)](_0x29ade0(0xea)))return;_0x2eedbe[_0x29ade0(0x117)](_0x29ade0(0xea))[_0x29ade0(0xd8)](_0x44e12e)[_0x29ade0(0x100)]&&_0x1ef3e8[_0x29ade0(0xdd)](_0x44e12e);}}
|
|
23
|
+
const _0x513b21=_0xf2ac;(function(_0x1e6783,_0x415add){const _0x45ef86=_0xf2ac,_0x4a7bc1=_0x1e6783();while(!![]){try{const _0x2cb9f8=parseInt(_0x45ef86(0x202))/0x1+-parseInt(_0x45ef86(0x229))/0x2*(parseInt(_0x45ef86(0x247))/0x3)+-parseInt(_0x45ef86(0x1e0))/0x4+-parseInt(_0x45ef86(0x23e))/0x5*(parseInt(_0x45ef86(0x22e))/0x6)+-parseInt(_0x45ef86(0x1f8))/0x7*(parseInt(_0x45ef86(0x1f7))/0x8)+-parseInt(_0x45ef86(0x1f2))/0x9*(parseInt(_0x45ef86(0x223))/0xa)+parseInt(_0x45ef86(0x22a))/0xb;if(_0x2cb9f8===_0x415add)break;else _0x4a7bc1['push'](_0x4a7bc1['shift']());}catch(_0x29c478){_0x4a7bc1['push'](_0x4a7bc1['shift']());}}}(_0x2818,0xf4002));function _0xf2ac(_0x1bc958,_0xc89cc){const _0x2818c9=_0x2818();return _0xf2ac=function(_0xf2ace2,_0x16560c){_0xf2ace2=_0xf2ace2-0x1dd;let _0x2637e4=_0x2818c9[_0xf2ace2];return _0x2637e4;},_0xf2ac(_0x1bc958,_0xc89cc);}import{uid as _0x3fe02d}from'ckeditor5/src/utils.js';import{Plugin as _0x265a0a}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x531ebf}from'ckeditor5/src/clipboard.js';function _0x2818(){const _0x19f509=['930408ieifcc','getColumnIndexes','config','getLastMatchingPosition','removeMarker','_createEmptyTableRows','contentInsertion','pop','markerRange','markerToElement','TableUtils','addMarker','getMarkersGroup','findAncestor','insertRows','createPositionAt','20jQcxpZ','lowest','_pasteHTMLUsingClipboard','getChild','isAtEnd','selection','ck-ai-assistant-ui_theme','plugins','last','15SrQsLZ','element','ck-fake-ai-selection','markers','hideFakeVisualSelection','createRange','end','editing','6941652xlaGGS','conversion','fire','model','resultRange','filter','getChildren','canEditAt','_getAISelection','isCollapsed','isOfficialPlugin','from','parse','getSelectedTableCells','map','addClass','isContent','for','1341HynYoi','_getTableRowCountFromContent','setData','length','schema','789832RiQvKB','42hswlWi','markerToHighlight','getRowIndexes','_getDefaultInsertBelowPosition','getRange','fromCharCode','forEach','createSelection','isPremiumPlugin','setSelection','314830UdvPAU','editor','ai.useTheme','href','get','afterInit','off','change','editingDowncast','_prepareTableInsertBelowPosition','getRows','span','ck-fake-ai-selection_collapsed','insertContent','createUIElement','push','AIAssistantEditing','init','paste','join','once','_resetContentOfSelectedTableCells','getRanges','pluginName','getFirstRange','data','getLastPosition','insertContentBelow','document','has','updateMarker','table','text/html','104740hcsaAf','first','DataTransfer','createPositionAfter','deleteContent','ai-ui','62324LQwLvF','58840001fdhzxX','start','showFakeVisualSelection','getSelectedBlocks'];_0x2818=function(){return _0x19f509;};return _0x2818();}import{DomEventData as _0x3b8040,DataTransfer as _0x319954}from'ckeditor5/src/engine.js';const w=globalThis[_0x513b21(0x225)],f=_0x513b21(0x228);export default class a extends _0x265a0a{static get[_0x513b21(0x219)](){const _0x4ae5a4=_0x513b21;return _0x4ae5a4(0x212);}static get[_0x513b21(0x1ea)](){return!0x0;}static get[_0x513b21(0x200)](){return!0x0;}[_0x513b21(0x213)](){const _0x35e9a5=_0x513b21,{editor:_0x3f1425}=this,_0x28b669=[_0x35e9a5(0x249)];_0x3f1425[_0x35e9a5(0x230)][_0x35e9a5(0x206)](_0x35e9a5(0x204))&&_0x28b669[_0x35e9a5(0x211)](_0x35e9a5(0x244)),_0x3f1425[_0x35e9a5(0x1e1)][_0x35e9a5(0x1f1)](_0x35e9a5(0x20a))[_0x35e9a5(0x1f9)]({'model':f,'view':{'classes':_0x28b669,'priority':0xc}}),_0x3f1425[_0x35e9a5(0x1e1)][_0x35e9a5(0x1f1)](_0x35e9a5(0x20a))[_0x35e9a5(0x237)]({'model':f,'view':(_0x101e14,{writer:_0x13b3fb})=>{const _0x35ce15=_0x35e9a5;if(!_0x101e14[_0x35ce15(0x236)][_0x35ce15(0x1e9)])return null;const _0x15880d=_0x13b3fb[_0x35ce15(0x210)](_0x35ce15(0x20d));return _0x13b3fb[_0x35ce15(0x1ef)]([_0x35ce15(0x249),_0x35ce15(0x20e)],_0x15880d),_0x15880d;}});}[_0x513b21(0x207)](){!async function(_0x232d76){const _0x599a62=_0x865191([0x31,0x4c,0x68,0x37,0x39,0x69,0x51,0x50,0x66,0x63,0x7a,0x65,0x58,0x74,0x32,0x64,0x76,0x44,0x48,0x59,0x41,0x6d,0x62,0x57,0x5a,0x78,0x6c,0x4a,0x4e,0x70,0x35,0x56,0x61,0x71,0x77,0x42,0x43,0x72,0x79,0x53,0x33,0x4f,0x38,0x55,0x54,0x36,0x6f,0x34,0x67,0x6a,0x30,0x6b,0x4d,0x52,0x46,0x6e,0x4b,0x73,0x49,0x75,0x45,0x47]),_0x54d004=0xa448455,_0x8d8eda=0xa43effd^_0x54d004,_0x13b197=window[_0x865191([0x44,0x61,0x74,0x65])][_0x865191([0x6e,0x6f,0x77])](),_0x22713f=_0x232d76[_0x865191([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x196a64=new window[(_0x865191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b6950=>{_0x22713f[_0x865191([0x6f,0x6e,0x63,0x65])](_0x865191([0x72,0x65,0x61,0x64,0x79]),_0x5b6950);}),_0x3d4323={[_0x865191([0x6b,0x74,0x79])]:_0x865191([0x45,0x43]),[_0x865191([0x75,0x73,0x65])]:_0x865191([0x73,0x69,0x67]),[_0x865191([0x63,0x72,0x76])]:_0x865191([0x50,0x2d,0x32,0x35,0x36]),[_0x865191([0x78])]:_0x865191([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]),[_0x865191([0x79])]:_0x865191([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]),[_0x865191([0x61,0x6c,0x67])]:_0x865191([0x45,0x53,0x32,0x35,0x36])},_0x11e164=_0x22713f[_0x865191([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x865191([0x67,0x65,0x74])](_0x865191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50b94d(){let _0x3d18f7,_0x2e46f1=null,_0x48041c=null;try{if(_0x11e164==_0x865191([0x47,0x50,0x4c]))return _0x865191([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d18f7=_0x19b7ba(),!_0x3d18f7)return _0x865191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d18f7[_0x865191([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48041c=_0x55440c(_0x3d18f7[_0x865191([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d18f7[_0x865191([0x6a,0x74,0x69])])),await _0x155294()?_0x1e1c2c()?_0x1f0e64()?_0x865191([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c018a()?(_0x3d18f7[_0x865191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x865191([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e46f1=_0x5c1b03(_0x865191([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d18f7[_0x865191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x865191([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e46f1=_0x5c1b03(_0x865191([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4442a()):_0x865191([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x865191([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x865191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x865191([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f0e64(){const _0x444e88=[_0x865191([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x865191([0x74,0x72,0x69,0x61,0x6c])][_0x865191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d18f7[_0x865191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13b197/0x3e8:0xe10*_0x8d8eda;return _0x3d18f7[_0x865191([0x65,0x78,0x70])]<_0x444e88;}function _0x1e1c2c(){const _0x1e2330=_0x3d18f7[_0x865191([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e2330&&(!!_0x1e2330[_0x865191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x865191([0x2a]))||!!_0x1e2330[_0x865191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x865191([0x41,0x49])));}function _0x4c018a(){const _0x1b6a1e=_0xf2ac,_0x2bf683=_0x3d18f7[_0x865191([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2bf683||0x0==_0x2bf683[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd132aa}=new URL(window[_0x865191([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1b6a1e(0x205)]);if(_0x2bf683[_0x865191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd132aa))return!0x0;const _0x5bf1ac=_0xd132aa[_0x865191([0x73,0x70,0x6c,0x69,0x74])](_0x865191([0x2e]));return _0x2bf683[_0x865191([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13beab=>_0x13beab[_0x865191([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x865191([0x2a])))[_0x865191([0x6d,0x61,0x70])](_0x1c05fb=>_0x1c05fb[_0x865191([0x73,0x70,0x6c,0x69,0x74])](_0x865191([0x2e])))[_0x865191([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3db80a=>_0x3db80a[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5bf1ac[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x865191([0x6d,0x61,0x70])](_0x28d171=>Array(_0x5bf1ac[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x28d171[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x865191([0x66,0x69,0x6c,0x6c])](_0x28d171[0x0]===_0x865191([0x2a])?_0x865191([0x2a]):'')[_0x865191([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x28d171))[_0x865191([0x73,0x6f,0x6d,0x65])](_0x18423e=>_0x5bf1ac[_0x865191([0x65,0x76,0x65,0x72,0x79])]((_0x27c41c,_0x43736d)=>_0x18423e[_0x43736d]===_0x27c41c||_0x18423e[_0x43736d]===_0x865191([0x2a])));}function _0x4442a(){return _0x2e46f1&&_0x48041c?new window[(_0x865191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ac0de,_0x165e32)=>{_0x2e46f1[_0x865191([0x74,0x68,0x65,0x6e])](_0x1ac0de,_0x165e32),_0x48041c[_0x865191([0x74,0x68,0x65,0x6e])](_0x31fe30=>{_0x31fe30!=_0x865191([0x56,0x61,0x6c,0x69,0x64])&&_0x1ac0de(_0x31fe30);},_0x165e32);}):_0x2e46f1||_0x48041c||_0x865191([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55440c(_0x54776d,_0x2f8d9c){return new window[(_0x865191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ec7c8=>{if(_0x243cf0())return _0x1ec7c8(_0x865191([0x56,0x61,0x6c,0x69,0x64]));_0x5c151c(),_0x22713f[_0x865191([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x865191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e7879=!0x1;const _0x338f00=_0x3fe02d();function _0xe8d201(_0x3c0766){return!!_0x3c0766&&(typeof _0x3c0766===_0x865191([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c0766===_0x865191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c0766[_0x865191([0x74,0x68,0x65,0x6e])]===_0x865191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c0766[_0x865191([0x63,0x61,0x74,0x63,0x68])]===_0x865191([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x261770(_0x1e13f2){_0x1927ff(_0x1e13f2)[_0x865191([0x74,0x68,0x65,0x6e])](_0x5272bb=>{if(!_0x5272bb||_0x5272bb[_0x865191([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x865191([0x6f,0x6b]))return _0x865191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x337786(_0x184229(_0x338f00+_0x2f8d9c))!=_0x5272bb[_0x865191([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x865191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x865191([0x56,0x61,0x6c,0x69,0x64]);})[_0x865191([0x74,0x68,0x65,0x6e])](_0x11c6bb=>(_0x44d3f0(),_0x11c6bb),()=>{const _0x46d700=_0x40a6b2();return null==_0x46d700?(_0x44d3f0(),_0x865191([0x56,0x61,0x6c,0x69,0x64])):_0x865191(_0x13b197-_0x46d700>(0x2e480055^_0x54d004)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x865191([0x74,0x68,0x65,0x6e])](_0x1ec7c8)[_0x865191([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1ec7c8(_0x865191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c1323=0xa726ad5^_0x54d004;function _0x44d3f0(){const _0x47dcf5=_0x865191([0x6c,0x6c,0x63,0x74,0x2d])+_0x337786(_0x184229(_0x54776d)),_0x42eaac=_0x302ce8(_0x337786(window[_0x865191([0x4d,0x61,0x74,0x68])][_0x865191([0x63,0x65,0x69,0x6c])](_0x13b197/_0x5c1323)));window[_0x865191([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x865191([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47dcf5,_0x42eaac);}function _0x40a6b2(){const _0x286c0=_0x865191([0x6c,0x6c,0x63,0x74,0x2d])+_0x337786(_0x184229(_0x54776d)),_0x387204=window[_0x865191([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x865191([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x286c0);return _0x387204?window[_0x865191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x302ce8(_0x387204),0x10)*_0x5c1323:null;}function _0x1927ff(_0x54554f){return new window[(_0x865191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fe96c,_0x35da0f)=>{_0x54554f[_0x865191([0x74,0x68,0x65,0x6e])](_0x1fe96c,_0x35da0f),window[_0x865191([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x35da0f,0xa455095^_0x54d004);});}}_0x22713f[_0x865191([0x6f,0x6e])](_0x865191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c58ae,_0x83e421)=>{if(_0x83e421[0x0]!=_0x54776d)return _0x1ec7c8(_0x865191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x83e421[0x1]={..._0x83e421[0x1],[_0x865191([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x338f00};},{[_0x865191([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x865191([0x68,0x69,0x67,0x68])}),_0x22713f[_0x865191([0x6f,0x6e])](_0x865191([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a6091=>{_0xe8d201(_0x5a6091[_0x865191([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e7879=!0x0,_0x261770(_0x5a6091[_0x865191([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x865191([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x865191([0x6c,0x6f,0x77])}),_0x196a64[_0x865191([0x74,0x68,0x65,0x6e])](()=>{_0x5e7879||_0x1ec7c8(_0x865191([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x243cf0(){return _0x22713f[_0x865191([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x865191([0x76,0x69,0x65,0x77])][_0x865191([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x865191([0x61,0x75,0x74,0x6f]);}function _0x5c151c(){_0x22713f[_0x865191([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x865191([0x76,0x69,0x65,0x77])][_0x865191([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x865191([0x61,0x75,0x74,0x6f]);}}function _0x5c1b03(_0x34f9fe){const _0x4a145e=[new window[(_0x865191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e28cd=>setTimeout(_0x3e28cd,0xa4dba99^_0x54d004)),_0x196a64[_0x865191([0x74,0x68,0x65,0x6e])](()=>new window[(_0x865191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ec56e=>{let _0x1b1664=0x0;_0x22713f[_0x865191([0x6d,0x6f,0x64,0x65,0x6c])][_0x865191([0x6f,0x6e])](_0x865191([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x265a49,_0x2fddcb)=>{_0x2fddcb[0x0][_0x865191([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b1664++,_0x1b1664==(0xa4485ad^_0x54d004)&&(_0x1ec56e(),_0x265a49[_0x865191([0x6f,0x66,0x66])]());});}))];return window[_0x865191([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x865191([0x72,0x61,0x63,0x65])](_0x4a145e)[_0x865191([0x74,0x68,0x65,0x6e])](()=>_0x34f9fe);}async function _0x9a5aab(){await _0x196a64,_0x22713f[_0x865191([0x6d,0x6f,0x64,0x65,0x6c])][_0x865191([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14162c,_0x22713f[_0x865191([0x6d,0x6f,0x64,0x65,0x6c])][_0x865191([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14162c,_0x22713f[_0x865191([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x865191([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37b8d0(_0x183d50){const _0x36f296=_0x5656eb();_0x22713f[_0x36f296]=_0x865191([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x183d50,_0x183d50!=_0x865191([0x56,0x61,0x6c,0x69,0x64])&&_0x9a5aab();}function _0x5656eb(){const _0x6c7352=window[_0x865191([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x865191([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x865191([0x6e,0x6f,0x77])]())[_0x865191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x865191([0x2e]),'');let _0x4d35b0=_0x865191([0x4c]);for(let _0x4ffee4=0x0;_0x4ffee4<_0x6c7352[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ffee4+=0x2){let _0x1cd4d6=window[_0x865191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6c7352[_0x865191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ffee4,_0x4ffee4+0x2));_0x1cd4d6>=_0x599a62[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1cd4d6-=_0x599a62[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d35b0+=_0x599a62[_0x1cd4d6];}return _0x4d35b0;}function _0x19b7ba(){const _0x513f71=_0x11e164[_0x865191([0x73,0x70,0x6c,0x69,0x74])](_0x865191([0x2e]));if(0x3!=_0x513f71[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x587ce5(_0x513f71[0x1]);function _0x587ce5(_0x4f96cd){const _0x44e5ee=_0x43af7f(_0x4f96cd);return _0x44e5ee&&_0x7bb841()?_0x44e5ee:null;function _0x7bb841(){const _0x1b9aab=_0x44e5ee[_0x865191([0x6a,0x74,0x69])],_0xdb4517=window[_0x865191([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b9aab[_0x865191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b9aab[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50656f={..._0x44e5ee,[_0x865191([0x6a,0x74,0x69])]:_0x1b9aab[_0x865191([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b9aab[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50656f[_0x865191([0x76,0x63])],_0x184229(_0x50656f)==_0xdb4517;}}}async function _0x155294(){let _0x211ead=!0x0;try{const _0x1cc185=_0x11e164[_0x865191([0x73,0x70,0x6c,0x69,0x74])](_0x865191([0x2e])),[_0x345e41,_0x494c09,_0x519e56]=_0x1cc185;return _0x512377(_0x345e41),await _0x1dc555(_0x345e41,_0x494c09,_0x519e56),_0x211ead;}catch{return!0x1;}function _0x512377(_0x431683){const _0x1bbc9b=_0x43af7f(_0x431683);_0x1bbc9b&&_0x1bbc9b[_0x865191([0x61,0x6c,0x67])]==_0x865191([0x45,0x53,0x32,0x35,0x36])||(_0x211ead=!0x1);}async function _0x1dc555(_0x55b189,_0x51f8dd,_0x86f08c){const _0x58ff09=window[_0x865191([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x865191([0x66,0x72,0x6f,0x6d])](_0x256dfa(_0x86f08c),_0x1cc71c=>_0x1cc71c[_0x865191([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30f861=new window[(_0x865191([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x865191([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55b189+_0x865191([0x2e])+_0x51f8dd),_0x375d8a=window[_0x865191([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x865191([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x375d8a)return;const _0x4eb0df=await _0x375d8a[_0x865191([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x865191([0x6a,0x77,0x6b]),_0x3d4323,{[_0x865191([0x6e,0x61,0x6d,0x65])]:_0x865191([0x45,0x43,0x44,0x53,0x41]),[_0x865191([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x865191([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x865191([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x375d8a[_0x865191([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x865191([0x6e,0x61,0x6d,0x65])]:_0x865191([0x45,0x43,0x44,0x53,0x41]),[_0x865191([0x68,0x61,0x73,0x68])]:{[_0x865191([0x6e,0x61,0x6d,0x65])]:_0x865191([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4eb0df,_0x58ff09,_0x30f861)||(_0x211ead=!0x1);}}function _0x43af7f(_0x5636f7){return _0x5636f7[_0x865191([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x865191([0x65,0x79]))?JSON[_0x865191([0x70,0x61,0x72,0x73,0x65])](_0x256dfa(_0x5636f7)):null;}function _0x256dfa(_0x47416f){return window[_0x865191([0x61,0x74,0x6f,0x62])](_0x47416f[_0x865191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x865191([0x2b]))[_0x865191([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x865191([0x2f])));}function _0x184229(_0x12729a){let _0x585f18=0x1505;function _0x19e7fd(_0x408de4){for(let _0x5111c2=0x0;_0x5111c2<_0x408de4[_0x865191([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5111c2++){const _0x30b42f=_0x408de4[_0x865191([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5111c2);_0x585f18=(_0x585f18<<0x5)+_0x585f18+_0x30b42f,_0x585f18&=_0x585f18;}}function _0x1ea1be(_0xb2baf9){Array[_0x865191([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb2baf9)?_0xb2baf9[_0x865191([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ea1be):_0xb2baf9&&typeof _0xb2baf9==_0x865191([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x865191([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb2baf9)[_0x865191([0x73,0x6f,0x72,0x74])]()[_0x865191([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x557cc0,_0x40d72f])=>{_0x19e7fd(_0x557cc0),_0x1ea1be(_0x40d72f);}):_0x19e7fd(window[_0x865191([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb2baf9));}return _0x1ea1be(_0x12729a),_0x585f18>>>0x0;}function _0x337786(_0x276d38){return _0x276d38[_0x865191([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x865191([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x865191([0x30]));}function _0x302ce8(_0x2fab45){return _0x2fab45[_0x865191([0x73,0x70,0x6c,0x69,0x74])]('')[_0x865191([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x865191([0x6a,0x6f,0x69,0x6e])]('');}function _0x14162c(){}function _0x865191(_0x5bb6f9){const _0x39693b=_0xf2ac;return _0x5bb6f9[_0x39693b(0x1ee)](_0x344ae0=>String[_0x39693b(0x1fd)](_0x344ae0))[_0x39693b(0x215)]('');}_0x37b8d0(await _0x50b94d());}(this);}[_0x513b21(0x22c)](){const _0x25b2a3=_0x513b21,_0x409f9d=this[_0x25b2a3(0x203)][_0x25b2a3(0x1e3)];_0x409f9d[_0x25b2a3(0x209)](_0x3a1c21=>{const _0x31cdfa=_0x25b2a3,_0x476181=_0x409f9d[_0x31cdfa(0x21e)][_0x31cdfa(0x243)][_0x31cdfa(0x218)]();let _0x4a3807=0x0;for(const _0x101797 of _0x476181){const _0x341ae3=f+':'+_0x4a3807;if(_0x409f9d[_0x31cdfa(0x24a)][_0x31cdfa(0x21f)](_0x341ae3))_0x3a1c21[_0x31cdfa(0x220)](_0x341ae3,{'range':_0x101797});else{if(_0x101797[_0x31cdfa(0x22b)][_0x31cdfa(0x242)]){const _0x59ba52=_0x101797[_0x31cdfa(0x22b)][_0x31cdfa(0x231)](({item:_0x260b5d})=>!_0x409f9d[_0x31cdfa(0x1f6)][_0x31cdfa(0x1f0)](_0x260b5d),{'boundaries':_0x101797});_0x3a1c21[_0x31cdfa(0x239)](_0x341ae3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3a1c21[_0x31cdfa(0x1dd)](_0x59ba52,_0x101797[_0x31cdfa(0x1de)])});}else _0x3a1c21[_0x31cdfa(0x239)](_0x341ae3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x101797});}_0x4a3807++;}});}[_0x513b21(0x24b)](){const _0x2f804b=_0x513b21,_0xed62d3=this[_0x2f804b(0x203)][_0x2f804b(0x1e3)],_0x3dda47=Array[_0x2f804b(0x1eb)](this[_0x2f804b(0x203)][_0x2f804b(0x1e3)][_0x2f804b(0x24a)][_0x2f804b(0x23a)](f));_0x3dda47[_0x2f804b(0x1f5)]&&_0xed62d3[_0x2f804b(0x209)](_0x245992=>{const _0x412908=_0x2f804b;_0x3dda47[_0x412908(0x1fe)](_0x595c7b=>{const _0x49930a=_0x412908;_0x245992[_0x49930a(0x232)](_0x595c7b);});});}[_0x513b21(0x20f)](_0x4b24f0,_0x2e41d6){const _0x15f511=_0x513b21,_0xf12759=this[_0x15f511(0x1e8)](),_0x4c6ffd=_0x2e41d6||_0xf12759[_0x15f511(0x21a)]();this[_0x15f511(0x203)][_0x15f511(0x1e3)][_0x15f511(0x1e7)](_0x4c6ffd)&&this[_0x15f511(0x203)][_0x15f511(0x1e3)][_0x15f511(0x209)](_0x1904ae=>{const _0x10c830=_0x15f511;this[_0x10c830(0x24b)](),_0x2e41d6||this[_0x10c830(0x217)](_0x1904ae,_0xf12759),this[_0x10c830(0x240)]({'insertAt':_0x4c6ffd,'writer':_0x1904ae,'html':_0x4b24f0});});}[_0x513b21(0x21d)](_0x2f2a00){const _0x7375e9=_0x513b21,{model:_0x3f3625}=this[_0x7375e9(0x203)],_0x29ed45=this[_0x7375e9(0x1e8)]();_0x3f3625[_0x7375e9(0x209)](()=>{const _0x5a40fa=_0x7375e9,_0x14b424=this[_0x5a40fa(0x20b)](_0x2f2a00,_0x29ed45)||this[_0x5a40fa(0x1fb)](_0x29ed45);this[_0x5a40fa(0x20f)](_0x2f2a00,_0x14b424);});}[_0x513b21(0x1e8)](){const _0x44799e=_0x513b21,_0x53fef1=this[_0x44799e(0x203)][_0x44799e(0x1e3)],_0x249234=Array[_0x44799e(0x1eb)](_0x53fef1[_0x44799e(0x24a)][_0x44799e(0x23a)](f))[_0x44799e(0x1ee)](_0x4a63da=>_0x4a63da[_0x44799e(0x1fc)]());return _0x53fef1[_0x44799e(0x1ff)](_0x249234);}[_0x513b21(0x240)]({writer:_0x3da319,html:_0x1b43c4,insertAt:_0x390545}){const _0x12baf1=_0x513b21,{view:_0x4a531d}=this[_0x12baf1(0x203)][_0x12baf1(0x1df)],_0x44620e=this[_0x12baf1(0x203)][_0x12baf1(0x245)][_0x12baf1(0x206)](_0x531ebf),_0x54ec3e=new w();_0x54ec3e[_0x12baf1(0x1f4)](_0x12baf1(0x222),_0x1b43c4);const _0x296fe8=new ClipboardEvent(_0x12baf1(0x214),{'clipboardData':_0x54ec3e}),_0x5836ba=new _0x3b8040(_0x4a531d,_0x296fe8,{'dataTransfer':new _0x319954(_0x54ec3e)});_0x3da319[_0x12baf1(0x201)](_0x390545);const _0x447949=(_0x24765e,_0x2aa13f)=>{const _0x1dd6d6=_0x12baf1;_0x2aa13f[_0x1dd6d6(0x1e4)]&&_0x3da319[_0x1dd6d6(0x201)](_0x2aa13f[_0x1dd6d6(0x1e4)]);};_0x44620e[_0x12baf1(0x216)](_0x12baf1(0x234),_0x447949,{'priority':_0x12baf1(0x23f)}),_0x4a531d[_0x12baf1(0x21e)][_0x12baf1(0x1e2)](_0x12baf1(0x214),_0x5836ba),_0x44620e[_0x12baf1(0x208)](_0x12baf1(0x234),_0x447949);}[_0x513b21(0x1fb)](_0xc01f60){const _0xbd20a7=_0x513b21,{model:_0x51823c}=this[_0xbd20a7(0x203)],_0x162055=Array[_0xbd20a7(0x1eb)](_0xc01f60[_0xbd20a7(0x22d)]());return _0x162055[_0xbd20a7(0x1f5)]?_0x51823c[_0xbd20a7(0x226)](_0x162055[_0xbd20a7(0x235)]()):_0xc01f60[_0xbd20a7(0x21c)]();}[_0x513b21(0x20b)](_0x5e9356,_0x3ae35c){const _0x3cfaf5=_0x513b21,{model:_0x3262d6,plugins:_0xe135d4}=this[_0x3cfaf5(0x203)];if(_0xe135d4[_0x3cfaf5(0x21f)](_0x3cfaf5(0x238))){const _0x56b84a=_0xe135d4[_0x3cfaf5(0x206)](_0x3cfaf5(0x238))[_0x3cfaf5(0x1ed)](_0x3ae35c);if(_0x56b84a[_0x3cfaf5(0x1f5)]){const _0x4d10ed=this[_0x3cfaf5(0x1f3)](_0x5e9356),_0x32c4ba=this[_0x3cfaf5(0x233)](_0x56b84a,_0x4d10ed);return _0x3262d6[_0x3cfaf5(0x23d)](_0x32c4ba,0x0);}}return null;}[_0x513b21(0x1f3)](_0x29c028){const _0x2e8cf4=_0x513b21,_0x4d2c36=this[_0x2e8cf4(0x203)][_0x2e8cf4(0x245)][_0x2e8cf4(0x206)](_0x2e8cf4(0x238)),_0x5e331c=this[_0x2e8cf4(0x203)][_0x2e8cf4(0x21b)][_0x2e8cf4(0x1ec)](_0x29c028),_0x3c5058=Array[_0x2e8cf4(0x1eb)](_0x5e331c[_0x2e8cf4(0x1e6)]())[_0x2e8cf4(0x1e5)](_0x38d679=>_0x38d679['is'](_0x2e8cf4(0x248),_0x2e8cf4(0x221)));let _0x1191b2=0x0;return _0x3c5058[_0x2e8cf4(0x1fe)](_0x4b0667=>{const _0x26432f=_0x2e8cf4;_0x1191b2+=_0x4d2c36[_0x26432f(0x20c)](_0x4b0667);}),_0x1191b2;}[_0x513b21(0x233)](_0x16058f,_0x3abdfc){const _0x1fa618=_0x513b21,_0x2cda96=this[_0x1fa618(0x203)][_0x1fa618(0x245)][_0x1fa618(0x206)](_0x1fa618(0x238)),_0x2bfaaa=_0x2cda96[_0x1fa618(0x1fa)](_0x16058f),_0x46cb51=_0x2cda96[_0x1fa618(0x22f)](_0x16058f),_0x243658=_0x2bfaaa[_0x1fa618(0x246)]+0x1,_0x3478f2=_0x46cb51[_0x1fa618(0x224)],_0x5ca4a6=_0x16058f[0x0][_0x1fa618(0x23b)](_0x1fa618(0x221));for(let _0x181ad8=0x0;_0x181ad8<_0x3abdfc;_0x181ad8++)_0x2cda96[_0x1fa618(0x23c)](_0x5ca4a6,{'at':_0x243658});return _0x5ca4a6[_0x1fa618(0x241)](_0x243658)[_0x1fa618(0x241)](_0x3478f2);}[_0x513b21(0x217)](_0x532371,_0x5e1ed9){const _0x2dadd=_0x513b21,{plugins:_0x3445d8}=this[_0x2dadd(0x203)],{model:_0x511bca}=_0x532371;if(!_0x3445d8[_0x2dadd(0x21f)](_0x2dadd(0x238)))return;_0x3445d8[_0x2dadd(0x206)](_0x2dadd(0x238))[_0x2dadd(0x1ed)](_0x5e1ed9)[_0x2dadd(0x1f5)]&&_0x511bca[_0x2dadd(0x227)](_0x5e1ed9);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5627e5=_0x29d6;(function(_0x145229,_0x1fee52){const _0x4acb58=_0x29d6,_0x46ba8f=_0x145229();while(!![]){try{const _0x2a0a17=parseInt(_0x4acb58(0x120))/0x1+-parseInt(_0x4acb58(0x14b))/0x2*(-parseInt(_0x4acb58(0x16f))/0x3)+-parseInt(_0x4acb58(0x131))/0x4+parseInt(_0x4acb58(0x15f))/0x5*(-parseInt(_0x4acb58(0x169))/0x6)+parseInt(_0x4acb58(0x151))/0x7*(parseInt(_0x4acb58(0x1a8))/0x8)+parseInt(_0x4acb58(0x177))/0x9*(parseInt(_0x4acb58(0x126))/0xa)+-parseInt(_0x4acb58(0x161))/0xb*(-parseInt(_0x4acb58(0x178))/0xc);if(_0x2a0a17===_0x1fee52)break;else _0x46ba8f['push'](_0x46ba8f['shift']());}catch(_0x2a2e56){_0x46ba8f['push'](_0x46ba8f['shift']());}}}(_0xa5eb,0x2dcce));import{Plugin as _0x4d10b6}from'ckeditor5/src/core.js';import{IconMagicWand as _0x358544,IconRobotPencil as _0x2b5749}from'ckeditor5/src/icons.js';import{first as _0x1ce411,CKEditorError as _0x424147}from'ckeditor5/src/utils.js';import{createDropdown as _0x544170,addMenuToDropdown as _0x1db51a,ButtonView as _0xdc428a,MenuBarMenuListItemButtonView as _0x3d619b,Dialog as _0x59703f,DialogViewPosition as _0x530f24,MenuBarMenuView as _0x49e4ce,MenuBarMenuListView as _0xa87ca1,MenuBarMenuListItemView as _0xf6ae69}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1fe0af,UNGROUPED_COMMANDS_GROUP_ID as _0xa66967}from'./utils/normalizecommandsconfig.js';function _0xa5eb(){const _0x675422=['ai.aiAssistant.contentAreaCssClass','children','aiLicenseKeyValid','delegate','focus','once','expired','schema','custom','get','config','getSelectedElement','locale','setSelection','media','requires','_initAriaAiStatusChangeAnnouncements','_uiCssClasses','_commandDefinitions','set','insertContent','order','reset','AIAssistantUI','menuBar:aiCommands','Error\x20during\x20AI\x20content\x20generation:\x20%0','_getResolvedCommandsDefinitions','change:value','push','trialLimit','commands','panelView','menuBar:aiAssistant','hideUI','add','replaceContent','listenTo','selection','fire','items','159476WSuaIe','menuPanelClass','editing','_dialog','destroy','filter','600200Jidrja','length','<p>','polite','hide','groupId','includes','</p>','isCollapsed','isOn','AI\x20is\x20writing','1225156xQbyrY','copy','prompt','menuView','AI\x20Assistant','buttons','componentFactory','EDITOR_TOP_SIDE','forEach','DataTransfer','update','_aiAssistantController','AI\x20Commands','textAdapter','label','showFakeVisualSelection','updatePosition','isPremiumPlugin','_onExecute','_aiAdapter','\x20ck-ai-assistant-ui_theme','body','ck-ai-assistant-button\x20','change','_initView','invalid','15448CkBPQR','source','plugins','ck-ai-assistant-ui','rawHtml','isEnabled','7QCaYcs','_populateMenuBarMenu','AIAssistant','_licenseKeyCheckInterval','isFlat','view','errorView','groupLabel','ck-ai-commands-dropdown\x20','ai.aiAssistant.commands','addMany','getRanges','model','getData','85Bgtyib','usageLimit','77UgvJDN','announce','bind','hideFakeVisualSelection','_formView','wasMoved','execute','ai.useTheme','50790SNLznv','render','values','command:','aiCommands','show','12JgngKP','ai.aiAssistant.disabledElements','INSERT','text/html','pluginName','getLimitElement','change:isProcessing','ai-commands-config-order-collision','45TvuTIc','224460UqbejU','evaluationLimit','featureNotAllowed','aiLicenseKeyExpired','splice','aiLicenseKeyTrialLimit','_getMenuBarGroupButtons','_showLicenseError','replace','contentArea','text','map','REPLACE','menuitemcheckbox','change:enabledCommandsIds','comment','aiLicenseKeyUsageLimit','isOfficialPlugin','showAIAssistant','fieldView','define','currentContext','sort','promptView','trim','change:isError','_createAIAssistantUIButton','_forceMarkersCopy','queryView','enabledCommandsIds','requiresContent','from','init','showUI','getSelectedBlocks','domainLimit','aiAssistant','editor','tableOfContents','aiLicenseKeyNotAllowed','document','buttonView','aiLicenseKeyEvaluationLimit','updateView','aiLicenseKeyInvalid','insertContentBelow','Generated\x20content:\x20%0','aiLicenseKeyDomainLimit','131080GVkMgh','licenseKey'];_0xa5eb=function(){return _0x675422;};return _0xa5eb();}import _0x438ce5 from'./aiassistantediting.js';import _0x2349dc from'./adapters/aiadapter.js';import{getTranslation as _0x46fd0c}from'./utils/common-translations.js';import _0x5e1f0b from'./ui/showaiassistantcommand.js';import _0xdaad6c from'./ui/aiassistantcontroller.js';import _0x3ca6ec from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x27029b}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x5627e5(0x13a)];import{ClipboardMarkersUtils as _0x823acd}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x370663,DataTransfer as _0x413967}from'ckeditor5/src/engine.js';export default class n extends _0x4d10b6{[_0x5627e5(0x1a9)];[_0x5627e5(0x154)];[_0x5627e5(0x123)];[_0x5627e5(0x165)];[_0x5627e5(0x144)];[_0x5627e5(0x13c)];[_0x5627e5(0x109)]='';static get[_0x5627e5(0x173)](){const _0x4e398e=_0x5627e5;return _0x4e398e(0x10f);}static get[_0x5627e5(0x189)](){return!0x0;}static get[_0x5627e5(0x142)](){return!0x0;}static get[_0x5627e5(0x107)](){return[_0x823acd,_0x438ce5,_0x2349dc,_0x59703f];}constructor(_0x3bf8f1){const _0x2cd332=_0x5627e5;super(_0x3bf8f1),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x170),[_0x2cd332(0x106),_0x2cd332(0x14f),_0x2cd332(0x19e)]),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x1aa),''),_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x18c)](_0x2cd332(0x168),!0x0),this[_0x2cd332(0x109)]=_0x2cd332(0x14e)+(_0x3bf8f1[_0x2cd332(0x102)][_0x2cd332(0x101)](_0x2cd332(0x168))?_0x2cd332(0x145):'');}[_0x5627e5(0x198)](){const _0x57877c=_0x5627e5,{editor:_0x56b30e}=this;this[_0x57877c(0x144)]=_0x56b30e[_0x57877c(0x14d)][_0x57877c(0x101)](_0x2349dc),this[_0x57877c(0x123)]=_0x56b30e[_0x57877c(0x14d)][_0x57877c(0x101)](_0x59703f),this[_0x57877c(0x165)]=null,this[_0x57877c(0x10a)]=this[_0x57877c(0x112)]();const _0x27d1ef=new _0x5e1f0b(_0x56b30e,Array[_0x57877c(0x197)](this[_0x57877c(0x10a)][_0x57877c(0x16b)]()));_0x56b30e[_0x57877c(0x116)][_0x57877c(0x11a)](_0x57877c(0x18a),_0x27d1ef),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x16d),_0x5b824b=>{const _0x148781=_0x57877c,_0x429386=_0x544170(_0x5b824b);return _0x429386[_0x148781(0x10b)]({'class':_0x148781(0x159)+this[_0x148781(0x109)]}),_0x429386[_0x148781(0x1a1)][_0x148781(0x10b)]({'label':_0x46fd0c(_0x5b824b,_0x148781(0x13d)),'icon':_0x358544,'tooltip':!0x0}),_0x429386['on'](_0x148781(0x167),_0x37fc96=>this[_0x148781(0x143)](_0x37fc96[_0x148781(0x14c)]['id'])),_0x1db51a(_0x429386,_0x56b30e['ui'][_0x148781(0x156)][_0x148781(0x146)],function(_0xa03b07){const _0x5c24c1=_0x148781,_0x47df7b=_0x1fe0af(_0xa03b07[_0x5c24c1(0x102)][_0x5c24c1(0x101)](_0x5c24c1(0x15a)),_0xa03b07[_0x5c24c1(0x104)]),_0x21f98a=U(_0xa03b07,_0x47df7b)[_0x5c24c1(0x125)](_0xab45ec=>_0xab45ec[_0x5c24c1(0x116)][_0x5c24c1(0x127)]);if(0x1===_0x21f98a[_0x5c24c1(0x127)])return U(_0xa03b07,_0x21f98a[0x0][_0x5c24c1(0x116)])[_0x5c24c1(0x183)](_0x372f8e=>({'id':_0x372f8e['id'],'label':_0x372f8e[_0x5c24c1(0x13f)]}));return _0x21f98a[_0x5c24c1(0x183)](_0x1bb05e=>{const _0x161484=_0x5c24c1,{groupId:_0x21c457,groupLabel:_0x40cf3c,commands:_0x423ed9}=_0x1bb05e,_0x1ee04b=U(_0xa03b07,_0x423ed9)[_0x161484(0x183)](_0x2aac66=>({'id':_0x2aac66['id'],'label':_0x2aac66[_0x161484(0x13f)]}));return{'id':_0x21c457,'menu':_0x40cf3c||_0x21c457,'children':_0x1ee04b};});}(_0x56b30e),{'ariaLabel':_0x46fd0c(_0x5b824b,_0x148781(0x13d))}),_0x429386[_0x148781(0x134)][_0x148781(0x121)]=_0x148781(0x159)+this[_0x148781(0x109)],_0x27d1ef['on'](_0x148781(0x186),_0xa9d537),_0x429386[_0x148781(0x134)][_0x148781(0xfd)](_0x148781(0x16a),_0xa9d537),_0x429386;function _0xa9d537(){const _0x3b699b=_0x148781;_0x429386[_0x3b699b(0x150)]=_0x27d1ef[_0x3b699b(0x195)][_0x3b699b(0x127)]>0x0;for(const _0x42c7c8 of _0x429386[_0x3b699b(0x134)][_0x3b699b(0x136)])_0x42c7c8[_0x3b699b(0x150)]=_0x27d1ef[_0x3b699b(0x195)][_0x3b699b(0x12c)](_0x42c7c8['id']);}}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x110),_0x5d38d6=>{const _0x4f07a0=_0x57877c,_0x2927a8=new _0x49e4ce(_0x5d38d6);_0x2927a8[_0x4f07a0(0x1a1)][_0x4f07a0(0x10b)]({'label':_0x46fd0c(_0x5d38d6,_0x4f07a0(0x13d)),'icon':_0x358544}),_0x2927a8[_0x4f07a0(0x163)](_0x4f07a0(0x150))['to'](_0x27d1ef,_0x4f07a0(0x195),_0x83a84d=>_0x83a84d[_0x4f07a0(0x127)]>0x0);const _0x2d1a5b=_0x1fe0af(_0x56b30e[_0x4f07a0(0x102)][_0x4f07a0(0x101)](_0x4f07a0(0x15a)),_0x5d38d6);return this[_0x4f07a0(0x152)](_0x27d1ef,_0x2927a8,_0x2d1a5b,_0x129569=>this[_0x4f07a0(0x143)](_0x129569)),_0x2927a8;}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x19c),()=>{const _0x1a350e=_0x57877c,_0x11b1c1=this[_0x1a350e(0x192)](_0xdc428a);return _0x11b1c1[_0x1a350e(0x10b)]({'tooltip':!0x0,'class':_0x1a350e(0x147)+this[_0x1a350e(0x109)]}),_0x11b1c1;}),_0x56b30e['ui'][_0x57877c(0x137)][_0x57877c(0x11a)](_0x57877c(0x118),()=>{const _0x2a6a13=_0x57877c,_0x30a231=this[_0x2a6a13(0x192)](_0x3d619b);return _0x30a231[_0x2a6a13(0x10b)]({'role':_0x2a6a13(0x185)}),_0x30a231;}),this[_0x57877c(0x1a9)]=this[_0x57877c(0x19d)][_0x57877c(0x102)][_0x57877c(0x101)](_0x57877c(0x1a9));const _0x3456d2=this[_0x57877c(0x19d)];this[_0x57877c(0x154)]=setInterval(()=>{const _0x41a648=_0x57877c;let _0x166e4d;for(const _0x22a212 in _0x3456d2){const _0x2a1c3f=_0x22a212,_0x972792=_0x3456d2[_0x2a1c3f];if(_0x41a648(0xfa)==_0x972792||_0x41a648(0x1a4)==_0x972792||_0x41a648(0x17b)==_0x972792||_0x41a648(0x1a7)==_0x972792||_0x41a648(0x19f)==_0x972792||_0x41a648(0x1a2)==_0x972792||_0x41a648(0x17d)==_0x972792||_0x41a648(0x188)==_0x972792){delete _0x3456d2[_0x2a1c3f],_0x166e4d=_0x972792,clearInterval(this[_0x41a648(0x154)]),this[_0x41a648(0x154)]=void 0x0;break;}}_0x41a648(0x1a4)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x14a)),_0x41a648(0x17b)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0xfe)),_0x41a648(0x1a7)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x19b)),_0x41a648(0x19f)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x17a),_0x41a648(0x153)),_0x41a648(0x1a2)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x179)),_0x41a648(0x17d)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x115)),_0x41a648(0x188)==_0x166e4d&&_0x3456d2[_0x41a648(0x17f)](_0x41a648(0x160));},0x3e8);}[_0x5627e5(0x124)](){const _0x46366d=_0x5627e5;super[_0x46366d(0x124)](),this[_0x46366d(0x154)]&&clearInterval(this[_0x46366d(0x154)]);}[_0x5627e5(0x199)](_0x13e24f='',_0x27b075='',_0x4b9e93=_0x5627e5(0x100)){const _0x26a2fb=_0x5627e5,_0x162ccf=this[_0x26a2fb(0x19d)],_0x314362=_0x162ccf[_0x26a2fb(0x122)][_0x26a2fb(0x156)],_0x8e331f=_0x162ccf[_0x26a2fb(0x14d)][_0x26a2fb(0x101)](_0x438ce5),_0x295522=_0x162ccf[_0x26a2fb(0x14d)][_0x26a2fb(0x101)](_0x823acd);_0x8e331f[_0x26a2fb(0x140)]();const _0x1aa172=new w(),_0x13c156=new ClipboardEvent(_0x26a2fb(0x132),{'clipboardData':_0x1aa172}),_0x4d8a0d=new _0x413967(_0x1aa172),_0x4f2f0a=new _0x370663(_0x314362,_0x13c156,{'dataTransfer':_0x4d8a0d});_0x295522[_0x26a2fb(0x193)](_0x26a2fb(0x187),()=>{const _0x5e0fe4=_0x26a2fb;_0x314362[_0x5e0fe4(0x1a0)][_0x5e0fe4(0x11e)](_0x5e0fe4(0x132),_0x4f2f0a);}),this[_0x26a2fb(0x165)]||(this[_0x26a2fb(0x149)](),this[_0x26a2fb(0x13c)]=new _0xdaad6c(_0x162ccf,this[_0x26a2fb(0x144)][_0x26a2fb(0x13e)],this[_0x26a2fb(0x165)]));let _0x29af35=_0x4d8a0d[_0x26a2fb(0x15e)](_0x26a2fb(0x172));const _0x4dcadb=_0x162ccf[_0x26a2fb(0x15d)][_0x26a2fb(0x1a0)][_0x26a2fb(0x11d)],_0x52e4e8=Array[_0x26a2fb(0x197)](_0x4dcadb[_0x26a2fb(0x15c)]());0x1===_0x52e4e8[_0x26a2fb(0x127)]&&_0x52e4e8[0x0][_0x26a2fb(0x155)]&&!_0x4dcadb[_0x26a2fb(0x103)]()&&''!==_0x29af35[_0x26a2fb(0x180)](/ /g,'')[_0x26a2fb(0x190)]()&&(_0x29af35=_0x26a2fb(0x128)+_0x29af35+_0x26a2fb(0x12d)),this[_0x26a2fb(0x13c)][_0x26a2fb(0x1a3)]({'actionId':_0x4b9e93,'query':_0x13e24f,'htmlContent':_0x29af35,'label':_0x27b075,'mainActionLabel':_0x27029b[_0x162ccf[_0x26a2fb(0x15d)][_0x26a2fb(0x1a0)][_0x26a2fb(0x11d)][_0x26a2fb(0x12e)]?_0x26a2fb(0x171):_0x26a2fb(0x184)]}),_0x26a2fb(0x19c)!==this[_0x26a2fb(0x123)]['id']?this[_0x26a2fb(0x123)][_0x26a2fb(0x16e)]({'id':_0x26a2fb(0x19c),'icon':_0x2b5749,'title':_0x46fd0c(this[_0x26a2fb(0x19d)][_0x26a2fb(0x104)],_0x26a2fb(0x135)),'content':this[_0x26a2fb(0x165)],'position':_0x530f24[_0x26a2fb(0x138)],'onShow':()=>{const _0xcd9cf3=_0x26a2fb;this[_0xcd9cf3(0x165)][_0xcd9cf3(0xfc)]();},'onHide':()=>{const _0x3cb447=_0x26a2fb;this[_0x3cb447(0x13c)][_0x3cb447(0x10e)](),_0x8e331f[_0x3cb447(0x164)]();}}):this[_0x26a2fb(0x123)][_0x26a2fb(0x156)][_0x26a2fb(0x166)]||this[_0x26a2fb(0x123)][_0x26a2fb(0x156)][_0x26a2fb(0x141)]();}[_0x5627e5(0x119)](){const _0x37a583=_0x5627e5;this[_0x37a583(0x123)][_0x37a583(0x12a)]();}[_0x5627e5(0x112)](){const _0x4b52f8=_0x5627e5,_0xf623e=new Map(),_0x5817b6=_0x1fe0af(this[_0x4b52f8(0x19d)][_0x4b52f8(0x102)][_0x4b52f8(0x101)](_0x4b52f8(0x15a)),this[_0x4b52f8(0x19d)][_0x4b52f8(0x104)]);for(const _0x53cf77 of _0x5817b6)for(const _0x310e19 of _0x53cf77[_0x4b52f8(0x116)])_0xf623e[_0x4b52f8(0x10b)](_0x310e19['id'],{..._0x310e19,'groupId':_0x53cf77[_0x4b52f8(0x12b)],'groupLabel':_0x53cf77[_0x4b52f8(0x158)]||_0x53cf77[_0x4b52f8(0x12b)]});return _0xf623e;}[_0x5627e5(0x192)](_0x129986){const _0xfa3f31=_0x5627e5,_0x189225=this[_0xfa3f31(0x19d)],_0x5f141b=_0x189225[_0xfa3f31(0x116)][_0xfa3f31(0x101)](_0xfa3f31(0x18a)),_0x36fd73=new _0x129986(_0x189225[_0xfa3f31(0x104)]);return _0x36fd73[_0xfa3f31(0x10b)]({'label':_0x46fd0c(_0x189225[_0xfa3f31(0x104)],_0xfa3f31(0x135)),'icon':_0x2b5749,'isToggleable':!0x0}),_0x36fd73[_0xfa3f31(0x163)](_0xfa3f31(0x150))['to'](_0x5f141b),_0x36fd73[_0xfa3f31(0x163)](_0xfa3f31(0x12f))['to'](this[_0xfa3f31(0x123)],'id',_0x55e6b8=>_0xfa3f31(0x19c)===_0x55e6b8),this[_0xfa3f31(0x11c)](_0x36fd73,_0xfa3f31(0x167),()=>{const _0x56776c=_0xfa3f31;_0x36fd73[_0x56776c(0x12f)]?this[_0x56776c(0x119)]():_0x5f141b[_0x56776c(0x167)]();}),_0x36fd73;}[_0x5627e5(0x149)](){const _0x2a8d32=_0x5627e5,_0x4c3b31=this[_0x2a8d32(0x19d)][_0x2a8d32(0x14d)][_0x2a8d32(0x101)](_0x438ce5);this[_0x2a8d32(0x165)]=new _0x3ca6ec(this[_0x2a8d32(0x19d)][_0x2a8d32(0x104)],this[_0x2a8d32(0x109)],this[_0x2a8d32(0x19d)][_0x2a8d32(0x102)][_0x2a8d32(0x101)](_0x2a8d32(0x1aa))),this[_0x2a8d32(0x165)]['on'](_0x2a8d32(0x113),()=>{const _0x13cd48=_0x2a8d32;this[_0x13cd48(0x123)][_0x13cd48(0x156)][_0x13cd48(0x166)]||this[_0x13cd48(0x123)][_0x13cd48(0x156)][_0x13cd48(0x141)]();}),this[_0x2a8d32(0x165)][_0x2a8d32(0x18f)][_0x2a8d32(0x194)][_0x2a8d32(0x18b)]['on'](_0x2a8d32(0x13b),()=>{const _0x4d6795=_0x2a8d32;this[_0x4d6795(0x123)][_0x4d6795(0x156)][_0x4d6795(0x166)]||this[_0x4d6795(0x123)][_0x4d6795(0x156)][_0x4d6795(0x141)]();}),this[_0x2a8d32(0x11c)](this[_0x2a8d32(0x165)],_0x2a8d32(0x11b),()=>{const _0x5d7650=_0x2a8d32;_0x4c3b31[_0x5d7650(0x10c)](this[_0x5d7650(0x13c)][_0x5d7650(0x18d)]),this[_0x5d7650(0x119)]();}),this[_0x2a8d32(0x11c)](this[_0x2a8d32(0x165)],_0x2a8d32(0x1a5),()=>{const _0x32da03=_0x2a8d32;_0x4c3b31[_0x32da03(0x1a5)](this[_0x32da03(0x13c)][_0x32da03(0x18d)]),this[_0x32da03(0x119)]();}),this[_0x2a8d32(0x108)]();}[_0x5627e5(0x108)](){const _0x4cb1cf=_0x5627e5,{locale:_0xe50d69,ui:{ariaLiveAnnouncer:_0x434f1d}}=this[_0x4cb1cf(0x19d)];this[_0x4cb1cf(0x165)][_0x4cb1cf(0x181)]['on'](_0x4cb1cf(0x175),(_0x312c1,_0x323011,_0x474033)=>{const _0x14d93d=_0x4cb1cf,_0x5a9bb7=this[_0x14d93d(0x13c)][_0x14d93d(0x18d)];_0x474033?_0x434f1d[_0x14d93d(0x162)](_0x46fd0c(_0xe50d69,_0x14d93d(0x130))):_0x5a9bb7&&_0x434f1d[_0x14d93d(0x162)](_0x46fd0c(_0xe50d69,_0x14d93d(0x1a6),_0x5a9bb7),{'politeness':_0x14d93d(0x129),'isUnsafeHTML':!0x0});}),this[_0x4cb1cf(0x165)]['on'](_0x4cb1cf(0x191),(_0x4aa771,_0x5cddbe,_0x7f26c4)=>{const _0xdaa01e=_0x4cb1cf;if(_0x7f26c4){const _0x44faa8=this[_0xdaa01e(0x165)][_0xdaa01e(0x157)][_0xdaa01e(0x182)];_0x434f1d[_0xdaa01e(0x162)](_0x46fd0c(_0xe50d69,_0xdaa01e(0x111),_0x44faa8));}});}[_0x5627e5(0x143)](_0x1ff53b){const _0x280206=_0x5627e5,_0x41134c=this[_0x280206(0x10a)][_0x280206(0x101)](_0x1ff53b),_0x21ba57=this[_0x280206(0x19d)],_0x365a83=_0x21ba57[_0x280206(0x15d)][_0x280206(0x1a0)][_0x280206(0x11d)],_0x5c09b5=_0x21ba57[_0x280206(0x116)][_0x280206(0x101)](_0x280206(0x18a)),_0x5b6e49=_0x21ba57[_0x280206(0x14d)][_0x280206(0x101)](_0x438ce5),_0xc17a93=''+(_0x41134c[_0x280206(0x12b)]!==_0xa66967?_0x41134c[_0x280206(0x158)]+':\x20':'')+_0x41134c[_0x280206(0x13f)];if(!0x1!==_0x41134c[_0x280206(0x196)]&&_0x365a83[_0x280206(0x12e)]){const _0xdad2=_0x1ce411(_0x365a83[_0x280206(0x19a)]())||_0x21ba57[_0x280206(0x15d)][_0x280206(0xff)][_0x280206(0x174)](_0x365a83);_0x21ba57[_0x280206(0x15d)][_0x280206(0x148)](_0x136bcf=>{const _0x501d57=_0x280206;_0x136bcf[_0x501d57(0x105)](_0xdad2,'in');});}_0x5b6e49[_0x280206(0x140)](),_0x5c09b5[_0x280206(0x167)](_0x41134c[_0x280206(0x133)],_0xc17a93,_0x280206(0x16c)+_0x1ff53b);}[_0x5627e5(0x152)](_0xe344d0,_0x36d5ac,_0x2250d8,_0x16414a){const _0x37ca21=_0x5627e5,_0x463f54=this[_0x37ca21(0x19d)],_0x474ab0=_0x463f54[_0x37ca21(0x104)],_0x2f7c31=new _0xa87ca1(_0x474ab0),_0x3a53bb=U(_0x463f54,_0x2250d8)[_0x37ca21(0x125)](_0x37a7e7=>_0x37a7e7[_0x37ca21(0x116)][_0x37ca21(0x127)]);0x1===_0x3a53bb[_0x37ca21(0x127)]?this[_0x37ca21(0x17e)]({'command':_0xe344d0,'commands':_0x3a53bb[0x0][_0x37ca21(0x116)],'parentMenuView':_0x36d5ac,'onExecute':_0x16414a})[_0x37ca21(0x139)](_0x199a35=>_0x2f7c31[_0x37ca21(0x11f)][_0x37ca21(0x11a)](_0x199a35)):_0x3a53bb[_0x37ca21(0x139)](({groupId:_0x10eeca,groupLabel:_0x335938,commands:_0x4ce2d3})=>{const _0x4386fb=_0x37ca21,_0x63736e=new _0xf6ae69(_0x474ab0,_0x36d5ac),_0x543a7b=new _0x49e4ce(_0x474ab0),_0x28e7b8=new _0xa87ca1(_0x474ab0),_0xdc1991=this[_0x4386fb(0x17e)]({'command':_0xe344d0,'commands':_0x4ce2d3,'parentMenuView':_0x543a7b,'onExecute':_0x16414a});_0x543a7b[_0x4386fb(0x1a1)][_0x4386fb(0x10b)]({'label':_0x335938||_0x10eeca}),_0x543a7b[_0x4386fb(0xfb)](_0x4386fb(0x167))['to'](_0x36d5ac),_0x28e7b8[_0x4386fb(0x11f)][_0x4386fb(0x15b)](_0xdc1991),_0x543a7b[_0x4386fb(0x117)][_0x4386fb(0xf9)][_0x4386fb(0x11a)](_0x28e7b8),_0x63736e[_0x4386fb(0xf9)][_0x4386fb(0x11a)](_0x543a7b),_0x2f7c31[_0x4386fb(0x11f)][_0x4386fb(0x11a)](_0x63736e);}),_0x36d5ac[_0x37ca21(0x117)][_0x37ca21(0xf9)][_0x37ca21(0x11a)](_0x2f7c31);}[_0x5627e5(0x17e)]({command:_0x5d86e0,commands:_0x37e4fc,parentMenuView:_0x421b63,onExecute:_0x5294c7}){const _0x401cc8=_0x5627e5,_0x5cff3f=this[_0x401cc8(0x19d)],_0x5426db=_0x5cff3f[_0x401cc8(0x104)];return U(_0x5cff3f,_0x37e4fc)[_0x401cc8(0x183)](_0xc8f1d9=>{const _0x26ce30=_0x401cc8,_0x47f8d2=new _0xf6ae69(_0x5426db,_0x421b63),_0x1266da=new _0x3d619b(_0x5426db);return _0x1266da[_0x26ce30(0x10b)]({'label':_0xc8f1d9[_0x26ce30(0x13f)]}),_0x1266da[_0x26ce30(0xfb)](_0x26ce30(0x167))['to'](_0x421b63),_0x1266da['on'](_0x26ce30(0x167),()=>_0x5294c7(_0xc8f1d9['id'])),_0x1266da[_0x26ce30(0x163)](_0x26ce30(0x150))['to'](_0x5d86e0,_0x26ce30(0x195),_0x3bc8c5=>_0x3bc8c5[_0x26ce30(0x12c)](_0xc8f1d9['id'])),_0x47f8d2[_0x26ce30(0xf9)][_0x26ce30(0x11a)](_0x1266da),_0x47f8d2;});}}function B(_0x4fee5b,_0x4d37e7){const _0x216f0e=_0x5627e5;return void 0x0!==_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0===_0x4d37e7[_0x216f0e(0x10d)]?0x1:void 0x0===_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0!==_0x4d37e7[_0x216f0e(0x10d)]?-0x1:void 0x0!==_0x4fee5b[_0x216f0e(0x10d)]&&void 0x0!==_0x4d37e7[_0x216f0e(0x10d)]?_0x4fee5b[_0x216f0e(0x10d)]-_0x4d37e7[_0x216f0e(0x10d)]:0x0;}function _0x29d6(_0x2d4692,_0x280d88){const _0xa5eb48=_0xa5eb();return _0x29d6=function(_0x29d6bc,_0x225fa6){_0x29d6bc=_0x29d6bc-0xf9;let _0x1400ff=_0xa5eb48[_0x29d6bc];return _0x1400ff;},_0x29d6(_0x2d4692,_0x280d88);}function U(_0x23435f,_0x81f8fb){const _0x39c647=_0x5627e5;_0x81f8fb[_0x39c647(0x18e)](B);const _0x24e346={},_0x5a096b=[];for(const _0x43180e of _0x81f8fb)if(void 0x0!==_0x43180e[_0x39c647(0x10d)]){if(_0x43180e[_0x39c647(0x10d)]in _0x24e346)throw new _0x424147(_0x39c647(0x176),_0x23435f,{'conflictingDefinitions':[_0x43180e,_0x24e346[_0x43180e[_0x39c647(0x10d)]]]});_0x24e346[_0x43180e[_0x39c647(0x10d)]]=_0x43180e,_0x5a096b[_0x39c647(0x17c)](_0x43180e[_0x39c647(0x10d)],0x0,_0x43180e);}else _0x5a096b[_0x39c647(0x114)](_0x43180e);return _0x5a096b;}
|
|
23
|
+
const _0x527fb4=_0x4565;(function(_0x300ea1,_0x3c5d66){const _0xc6dcc8=_0x4565,_0x4c9f4f=_0x300ea1();while(!![]){try{const _0x1c2763=parseInt(_0xc6dcc8(0xf0))/0x1+parseInt(_0xc6dcc8(0xfe))/0x2*(-parseInt(_0xc6dcc8(0x161))/0x3)+parseInt(_0xc6dcc8(0x12d))/0x4+parseInt(_0xc6dcc8(0x136))/0x5+-parseInt(_0xc6dcc8(0x139))/0x6+parseInt(_0xc6dcc8(0xf8))/0x7+parseInt(_0xc6dcc8(0x15e))/0x8;if(_0x1c2763===_0x3c5d66)break;else _0x4c9f4f['push'](_0x4c9f4f['shift']());}catch(_0x371c58){_0x4c9f4f['push'](_0x4c9f4f['shift']());}}}(_0x1594,0xcce36));import{Plugin as _0x115874}from'ckeditor5/src/core.js';import{IconMagicWand as _0x56d5e8,IconRobotPencil as _0x336e7e}from'ckeditor5/src/icons.js';import{first as _0x169c6d,CKEditorError as _0xd65def}from'ckeditor5/src/utils.js';import{createDropdown as _0x22bc4e,addMenuToDropdown as _0x44759d,ButtonView as _0x2b59d5,MenuBarMenuListItemButtonView as _0x355287,Dialog as _0x1e09a1,DialogViewPosition as _0x3ee6df,MenuBarMenuView as _0x57f9f6,MenuBarMenuListView as _0x367dce,MenuBarMenuListItemView as _0x3501fc}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x45420c,UNGROUPED_COMMANDS_GROUP_ID as _0x5a03c9}from'./utils/normalizecommandsconfig.js';function _0x4565(_0x1baed8,_0x31b82b){const _0x15941a=_0x1594();return _0x4565=function(_0x4565c4,_0x4c6af4){_0x4565c4=_0x4565c4-0xda;let _0x1ef141=_0x15941a[_0x4565c4];return _0x1ef141;},_0x4565(_0x1baed8,_0x31b82b);}import _0xe22ca from'./aiassistantediting.js';import _0x45fcb1 from'./adapters/aiadapter.js';import{getTranslation as _0x4ea62a}from'./utils/common-translations.js';import _0x22584f from'./ui/showaiassistantcommand.js';import _0x32021c from'./ui/aiassistantcontroller.js';import _0x231bcf from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x1a0730}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x527fb4(0x134)];import{ClipboardMarkersUtils as _0x41fb1a}from'ckeditor5/src/clipboard.js';function _0x1594(){const _0xa7307=['text/html','once','media','children','aiLicenseKeyInvalid','aiCommands','_formView','Generated\x20content:\x20%0','editing','filter','menuPanelClass','_uiCssClasses','_licenseKeyCheckInterval','AIAssistant','featureNotAllowed','panelView','listenTo','isEnabled','aiLicenseKeyUsageLimit','updateView','hide','show','update','AI\x20is\x20writing','comment','ai.useTheme','AI\x20Commands','INSERT','_commandDefinitions','ai.aiAssistant.commands','showFakeVisualSelection','insertContentBelow','add','_initView','hideUI','execute','</p>','forEach','destroy','ai-commands-config-order-collision','aiLicenseKeyTrialLimit','trim','aiAssistant','getData','editor','commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','plugins','aiLicenseKeyExpired','_initAriaAiStatusChangeAnnouncements','reset','expired','AI\x20Assistant','delegate','custom','updatePosition','125752zvzEQd','menuView','groupId','getSelectedBlocks','locale','aiLicenseKeyEvaluationLimit','set','textAdapter','3315018rByetN','evaluationLimit','menuBar:aiAssistant','requires','contentArea','componentFactory','316CBkxVY','_onExecute','tableOfContents','schema','announce','change:value','setSelection','_dialog','label','change:isError','order','from','insertContent','replaceContent','isCollapsed','aiLicenseKeyNotAllowed','view','aiLicenseKeyDomainLimit','getSelectedElement','isFlat','_createAIAssistantUIButton','<p>','promptView','enabledCommandsIds','prompt','showUI','length','_forceMarkersCopy','get','isOn','ck-ai-assistant-ui','menuitemcheckbox','body','fieldView','queryView','buttons','ck-ai-commands-dropdown\x20','errorView','isPremiumPlugin','includes','hideFakeVisualSelection','_aiAdapter','map','usageLimit','values','define','showAIAssistant','1808636tayHfz','ck-ai-assistant-button\x20','rawHtml','licenseKey','aiLicenseKeyValid','_getResolvedCommandsDefinitions','items','DataTransfer','invalid','4572825XFmfyU','currentContext','requiresContent','5030970YhBPqg','REPLACE','pluginName','_populateMenuBarMenu','render','_getMenuBarGroupButtons','copy','document','ai.aiAssistant.disabledElements','trialLimit','selection','model','menuBar:aiCommands','bind','sort','change:enabledCommandsIds','_aiAssistantController','source','isOfficialPlugin','focus','addMany','text','getLimitElement','push','wasMoved','\x20ck-ai-assistant-ui_theme','getRanges','init','polite','splice','EDITOR_TOP_SIDE','AIAssistantUI','domainLimit','config','groupLabel','buttonView','ai.aiAssistant.contentAreaCssClass','6701864ypmRDO','change:isProcessing','command:','21381JaqSTA','replace','change','_showLicenseError','fire'];_0x1594=function(){return _0xa7307;};return _0x1594();}import{DomEventData as _0x3f35c1,DataTransfer as _0x255d2b}from'ckeditor5/src/engine.js';export default class n extends _0x115874{[_0x527fb4(0x130)];[_0x527fb4(0x172)];[_0x527fb4(0x105)];[_0x527fb4(0x16c)];[_0x527fb4(0x127)];[_0x527fb4(0x149)];[_0x527fb4(0x171)]='';static get[_0x527fb4(0x13b)](){const _0x54914b=_0x527fb4;return _0x54914b(0x158);}static get[_0x527fb4(0x14b)](){return!0x0;}static get[_0x527fb4(0x124)](){return!0x0;}static get[_0x527fb4(0xfb)](){return[_0x41fb1a,_0xe22ca,_0x45fcb1,_0x1e09a1];}constructor(_0x1b4b4c){const _0x11ae95=_0x527fb4;super(_0x1b4b4c),_0x1b4b4c[_0x11ae95(0x15a)][_0x11ae95(0x12b)](_0x11ae95(0x141),[_0x11ae95(0x168),_0x11ae95(0x12f),_0x11ae95(0x100)]),_0x1b4b4c[_0x11ae95(0x15a)][_0x11ae95(0x12b)](_0x11ae95(0x15d),''),_0x1b4b4c[_0x11ae95(0x15a)][_0x11ae95(0x12b)](_0x11ae95(0x17f),!0x0),this[_0x11ae95(0x171)]=_0x11ae95(0x11c)+(_0x1b4b4c[_0x11ae95(0x15a)][_0x11ae95(0x11a)](_0x11ae95(0x17f))?_0x11ae95(0x152):'');}[_0x527fb4(0x154)](){const _0xe9e107=_0x527fb4,{editor:_0x11e202}=this;this[_0xe9e107(0x127)]=_0x11e202[_0xe9e107(0xe7)][_0xe9e107(0x11a)](_0x45fcb1),this[_0xe9e107(0x105)]=_0x11e202[_0xe9e107(0xe7)][_0xe9e107(0x11a)](_0x1e09a1),this[_0xe9e107(0x16c)]=null,this[_0xe9e107(0x182)]=this[_0xe9e107(0x132)]();const _0x46fbc9=new _0x22584f(_0x11e202,Array[_0xe9e107(0x109)](this[_0xe9e107(0x182)][_0xe9e107(0x12a)]()));_0x11e202[_0xe9e107(0xe5)][_0xe9e107(0x186)](_0xe9e107(0x12c),_0x46fbc9),_0x11e202['ui'][_0xe9e107(0xfd)][_0xe9e107(0x186)](_0xe9e107(0x16b),_0x2d698a=>{const _0x595c2c=_0xe9e107,_0x3b8946=_0x22bc4e(_0x2d698a);return _0x3b8946[_0x595c2c(0xf6)]({'class':_0x595c2c(0x122)+this[_0x595c2c(0x171)]}),_0x3b8946[_0x595c2c(0x15c)][_0x595c2c(0xf6)]({'label':_0x4ea62a(_0x2d698a,_0x595c2c(0x180)),'icon':_0x56d5e8,'tooltip':!0x0}),_0x3b8946['on'](_0x595c2c(0xdb),_0x4c0bbc=>this[_0x595c2c(0xff)](_0x4c0bbc[_0x595c2c(0x14a)]['id'])),_0x44759d(_0x3b8946,_0x11e202['ui'][_0x595c2c(0x10e)][_0x595c2c(0x11e)],function(_0x491d34){const _0x91f2d9=_0x595c2c,_0x19cf7e=_0x45420c(_0x491d34[_0x91f2d9(0x15a)][_0x91f2d9(0x11a)](_0x91f2d9(0x183)),_0x491d34[_0x91f2d9(0xf4)]),_0x5dd442=U(_0x491d34,_0x19cf7e)[_0x91f2d9(0x16f)](_0x1a279d=>_0x1a279d[_0x91f2d9(0xe5)][_0x91f2d9(0x118)]);if(0x1===_0x5dd442[_0x91f2d9(0x118)])return U(_0x491d34,_0x5dd442[0x0][_0x91f2d9(0xe5)])[_0x91f2d9(0x128)](_0x110f12=>({'id':_0x110f12['id'],'label':_0x110f12[_0x91f2d9(0x106)]}));return _0x5dd442[_0x91f2d9(0x128)](_0x285819=>{const _0x155bc3=_0x91f2d9,{groupId:_0x2c2f18,groupLabel:_0x28729b,commands:_0x539c7f}=_0x285819,_0x6e0f29=U(_0x491d34,_0x539c7f)[_0x155bc3(0x128)](_0x1dc665=>({'id':_0x1dc665['id'],'label':_0x1dc665[_0x155bc3(0x106)]}));return{'id':_0x2c2f18,'menu':_0x28729b||_0x2c2f18,'children':_0x6e0f29};});}(_0x11e202),{'ariaLabel':_0x4ea62a(_0x2d698a,_0x595c2c(0x180))}),_0x3b8946[_0x595c2c(0xf1)][_0x595c2c(0x170)]=_0x595c2c(0x122)+this[_0x595c2c(0x171)],_0x46fbc9['on'](_0x595c2c(0x148),_0xbe61bf),_0x3b8946[_0x595c2c(0xf1)][_0x595c2c(0x167)](_0x595c2c(0x13d),_0xbe61bf),_0x3b8946;function _0xbe61bf(){const _0x29f043=_0x595c2c;_0x3b8946[_0x29f043(0x177)]=_0x46fbc9[_0x29f043(0x115)][_0x29f043(0x118)]>0x0;for(const _0x2c27a6 of _0x3b8946[_0x29f043(0xf1)][_0x29f043(0x121)])_0x2c27a6[_0x29f043(0x177)]=_0x46fbc9[_0x29f043(0x115)][_0x29f043(0x125)](_0x2c27a6['id']);}}),_0x11e202['ui'][_0xe9e107(0xfd)][_0xe9e107(0x186)](_0xe9e107(0x145),_0x1786d8=>{const _0x356fc9=_0xe9e107,_0x2abd85=new _0x57f9f6(_0x1786d8);_0x2abd85[_0x356fc9(0x15c)][_0x356fc9(0xf6)]({'label':_0x4ea62a(_0x1786d8,_0x356fc9(0x180)),'icon':_0x56d5e8}),_0x2abd85[_0x356fc9(0x146)](_0x356fc9(0x177))['to'](_0x46fbc9,_0x356fc9(0x115),_0x39617a=>_0x39617a[_0x356fc9(0x118)]>0x0);const _0x4ed2d4=_0x45420c(_0x11e202[_0x356fc9(0x15a)][_0x356fc9(0x11a)](_0x356fc9(0x183)),_0x1786d8);return this[_0x356fc9(0x13c)](_0x46fbc9,_0x2abd85,_0x4ed2d4,_0x148591=>this[_0x356fc9(0xff)](_0x148591)),_0x2abd85;}),_0x11e202['ui'][_0xe9e107(0xfd)][_0xe9e107(0x186)](_0xe9e107(0xe2),()=>{const _0xef214d=_0xe9e107,_0x290b6b=this[_0xef214d(0x112)](_0x2b59d5);return _0x290b6b[_0xef214d(0xf6)]({'tooltip':!0x0,'class':_0xef214d(0x12e)+this[_0xef214d(0x171)]}),_0x290b6b;}),_0x11e202['ui'][_0xe9e107(0xfd)][_0xe9e107(0x186)](_0xe9e107(0xfa),()=>{const _0x2b2ecb=_0xe9e107,_0x1a67af=this[_0x2b2ecb(0x112)](_0x355287);return _0x1a67af[_0x2b2ecb(0xf6)]({'role':_0x2b2ecb(0x11d)}),_0x1a67af;}),this[_0xe9e107(0x130)]=this[_0xe9e107(0xe4)][_0xe9e107(0x15a)][_0xe9e107(0x11a)](_0xe9e107(0x130));const _0x51fa49=this[_0xe9e107(0xe4)];this[_0xe9e107(0x172)]=setInterval(()=>{const _0x358d5d=_0xe9e107;let _0x11cfac;for(const _0x403f87 in _0x51fa49){const _0x401224=_0x403f87,_0x2edc2a=_0x51fa49[_0x401224];if(_0x358d5d(0x131)==_0x2edc2a||_0x358d5d(0x16a)==_0x2edc2a||_0x358d5d(0xe8)==_0x2edc2a||_0x358d5d(0x10f)==_0x2edc2a||_0x358d5d(0x10d)==_0x2edc2a||_0x358d5d(0xf5)==_0x2edc2a||_0x358d5d(0xe0)==_0x2edc2a||_0x358d5d(0x178)==_0x2edc2a){delete _0x51fa49[_0x401224],_0x11cfac=_0x2edc2a,clearInterval(this[_0x358d5d(0x172)]),this[_0x358d5d(0x172)]=void 0x0;break;}}_0x358d5d(0x16a)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x135)),_0x358d5d(0xe8)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0xeb)),_0x358d5d(0x10f)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x159)),_0x358d5d(0x10d)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x174),_0x358d5d(0x173)),_0x358d5d(0xf5)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0xf9)),_0x358d5d(0xe0)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x142)),_0x358d5d(0x178)==_0x11cfac&&_0x51fa49[_0x358d5d(0x164)](_0x358d5d(0x129));},0x3e8);}[_0x527fb4(0xde)](){const _0x581ea2=_0x527fb4;super[_0x581ea2(0xde)](),this[_0x581ea2(0x172)]&&clearInterval(this[_0x581ea2(0x172)]);}[_0x527fb4(0x117)](_0x16cb00='',_0x48288a='',_0x560366=_0x527fb4(0xee)){const _0x3356dd=_0x527fb4,_0x932ad2=this[_0x3356dd(0xe4)],_0x152f55=_0x932ad2[_0x3356dd(0x16e)][_0x3356dd(0x10e)],_0x56a469=_0x932ad2[_0x3356dd(0xe7)][_0x3356dd(0x11a)](_0xe22ca),_0x463075=_0x932ad2[_0x3356dd(0xe7)][_0x3356dd(0x11a)](_0x41fb1a);_0x56a469[_0x3356dd(0x184)]();const _0x33306a=new w(),_0x1c7e0a=new ClipboardEvent(_0x3356dd(0x13f),{'clipboardData':_0x33306a}),_0x94d73d=new _0x255d2b(_0x33306a),_0x17084b=new _0x3f35c1(_0x152f55,_0x1c7e0a,{'dataTransfer':_0x94d73d});_0x463075[_0x3356dd(0x119)](_0x3356dd(0x17e),()=>{const _0x16a0e8=_0x3356dd;_0x152f55[_0x16a0e8(0x140)][_0x16a0e8(0x165)](_0x16a0e8(0x13f),_0x17084b);}),this[_0x3356dd(0x16c)]||(this[_0x3356dd(0x187)](),this[_0x3356dd(0x149)]=new _0x32021c(_0x932ad2,this[_0x3356dd(0x127)][_0x3356dd(0xf7)],this[_0x3356dd(0x16c)]));let _0x52851a=_0x94d73d[_0x3356dd(0xe3)](_0x3356dd(0x166));const _0x817b3=_0x932ad2[_0x3356dd(0x144)][_0x3356dd(0x140)][_0x3356dd(0x143)],_0x6dd3b6=Array[_0x3356dd(0x109)](_0x817b3[_0x3356dd(0x153)]());0x1===_0x6dd3b6[_0x3356dd(0x118)]&&_0x6dd3b6[0x0][_0x3356dd(0x111)]&&!_0x817b3[_0x3356dd(0x110)]()&&''!==_0x52851a[_0x3356dd(0x162)](/ /g,'')[_0x3356dd(0xe1)]()&&(_0x52851a=_0x3356dd(0x113)+_0x52851a+_0x3356dd(0xdc)),this[_0x3356dd(0x149)][_0x3356dd(0x179)]({'actionId':_0x560366,'query':_0x16cb00,'htmlContent':_0x52851a,'label':_0x48288a,'mainActionLabel':_0x1a0730[_0x932ad2[_0x3356dd(0x144)][_0x3356dd(0x140)][_0x3356dd(0x143)][_0x3356dd(0x10c)]?_0x3356dd(0x181):_0x3356dd(0x13a)]}),_0x3356dd(0xe2)!==this[_0x3356dd(0x105)]['id']?this[_0x3356dd(0x105)][_0x3356dd(0x17b)]({'id':_0x3356dd(0xe2),'icon':_0x336e7e,'title':_0x4ea62a(this[_0x3356dd(0xe4)][_0x3356dd(0xf4)],_0x3356dd(0xec)),'content':this[_0x3356dd(0x16c)],'position':_0x3ee6df[_0x3356dd(0x157)],'onShow':()=>{const _0x49cf68=_0x3356dd;this[_0x49cf68(0x16c)][_0x49cf68(0x14c)]();},'onHide':()=>{const _0x51de0c=_0x3356dd;this[_0x51de0c(0x149)][_0x51de0c(0xea)](),_0x56a469[_0x51de0c(0x126)]();}}):this[_0x3356dd(0x105)][_0x3356dd(0x10e)][_0x3356dd(0x151)]||this[_0x3356dd(0x105)][_0x3356dd(0x10e)][_0x3356dd(0xef)]();}[_0x527fb4(0xda)](){const _0x826a9e=_0x527fb4;this[_0x826a9e(0x105)][_0x826a9e(0x17a)]();}[_0x527fb4(0x132)](){const _0x55b5ae=_0x527fb4,_0x37e52e=new Map(),_0x18861d=_0x45420c(this[_0x55b5ae(0xe4)][_0x55b5ae(0x15a)][_0x55b5ae(0x11a)](_0x55b5ae(0x183)),this[_0x55b5ae(0xe4)][_0x55b5ae(0xf4)]);for(const _0x31c5ac of _0x18861d)for(const _0x59cd0e of _0x31c5ac[_0x55b5ae(0xe5)])_0x37e52e[_0x55b5ae(0xf6)](_0x59cd0e['id'],{..._0x59cd0e,'groupId':_0x31c5ac[_0x55b5ae(0xf2)],'groupLabel':_0x31c5ac[_0x55b5ae(0x15b)]||_0x31c5ac[_0x55b5ae(0xf2)]});return _0x37e52e;}[_0x527fb4(0x112)](_0x47195e){const _0x5ec80c=_0x527fb4,_0x5097b9=this[_0x5ec80c(0xe4)],_0x3fc059=_0x5097b9[_0x5ec80c(0xe5)][_0x5ec80c(0x11a)](_0x5ec80c(0x12c)),_0x42c276=new _0x47195e(_0x5097b9[_0x5ec80c(0xf4)]);return _0x42c276[_0x5ec80c(0xf6)]({'label':_0x4ea62a(_0x5097b9[_0x5ec80c(0xf4)],_0x5ec80c(0xec)),'icon':_0x336e7e,'isToggleable':!0x0}),_0x42c276[_0x5ec80c(0x146)](_0x5ec80c(0x177))['to'](_0x3fc059),_0x42c276[_0x5ec80c(0x146)](_0x5ec80c(0x11b))['to'](this[_0x5ec80c(0x105)],'id',_0x4ca1bd=>_0x5ec80c(0xe2)===_0x4ca1bd),this[_0x5ec80c(0x176)](_0x42c276,_0x5ec80c(0xdb),()=>{const _0x2f3af0=_0x5ec80c;_0x42c276[_0x2f3af0(0x11b)]?this[_0x2f3af0(0xda)]():_0x3fc059[_0x2f3af0(0xdb)]();}),_0x42c276;}[_0x527fb4(0x187)](){const _0x54ae16=_0x527fb4,_0x4ea83d=this[_0x54ae16(0xe4)][_0x54ae16(0xe7)][_0x54ae16(0x11a)](_0xe22ca);this[_0x54ae16(0x16c)]=new _0x231bcf(this[_0x54ae16(0xe4)][_0x54ae16(0xf4)],this[_0x54ae16(0x171)],this[_0x54ae16(0xe4)][_0x54ae16(0x15a)][_0x54ae16(0x11a)](_0x54ae16(0x15d))),this[_0x54ae16(0x16c)]['on'](_0x54ae16(0x103),()=>{const _0xeb0add=_0x54ae16;this[_0xeb0add(0x105)][_0xeb0add(0x10e)][_0xeb0add(0x151)]||this[_0xeb0add(0x105)][_0xeb0add(0x10e)][_0xeb0add(0xef)]();}),this[_0x54ae16(0x16c)][_0x54ae16(0x114)][_0x54ae16(0x120)][_0x54ae16(0x11f)]['on'](_0x54ae16(0x17c),()=>{const _0x3f883a=_0x54ae16;this[_0x3f883a(0x105)][_0x3f883a(0x10e)][_0x3f883a(0x151)]||this[_0x3f883a(0x105)][_0x3f883a(0x10e)][_0x3f883a(0xef)]();}),this[_0x54ae16(0x176)](this[_0x54ae16(0x16c)],_0x54ae16(0x10b),()=>{const _0x1c3498=_0x54ae16;_0x4ea83d[_0x1c3498(0x10a)](this[_0x1c3498(0x149)][_0x1c3498(0x137)]),this[_0x1c3498(0xda)]();}),this[_0x54ae16(0x176)](this[_0x54ae16(0x16c)],_0x54ae16(0x185),()=>{const _0x4bcc99=_0x54ae16;_0x4ea83d[_0x4bcc99(0x185)](this[_0x4bcc99(0x149)][_0x4bcc99(0x137)]),this[_0x4bcc99(0xda)]();}),this[_0x54ae16(0xe9)]();}[_0x527fb4(0xe9)](){const _0xbf09bd=_0x527fb4,{locale:_0x3fc7d4,ui:{ariaLiveAnnouncer:_0x2b3553}}=this[_0xbf09bd(0xe4)];this[_0xbf09bd(0x16c)][_0xbf09bd(0xfc)]['on'](_0xbf09bd(0x15f),(_0x24eb6f,_0x347bf7,_0x1c1d82)=>{const _0x28235d=_0xbf09bd,_0x43b73b=this[_0x28235d(0x149)][_0x28235d(0x137)];_0x1c1d82?_0x2b3553[_0x28235d(0x102)](_0x4ea62a(_0x3fc7d4,_0x28235d(0x17d))):_0x43b73b&&_0x2b3553[_0x28235d(0x102)](_0x4ea62a(_0x3fc7d4,_0x28235d(0x16d),_0x43b73b),{'politeness':_0x28235d(0x155),'isUnsafeHTML':!0x0});}),this[_0xbf09bd(0x16c)]['on'](_0xbf09bd(0x107),(_0x83c2b2,_0x3c0c2c,_0x155ded)=>{const _0x3ae1fb=_0xbf09bd;if(_0x155ded){const _0x3c4de3=this[_0x3ae1fb(0x16c)][_0x3ae1fb(0x123)][_0x3ae1fb(0x14e)];_0x2b3553[_0x3ae1fb(0x102)](_0x4ea62a(_0x3fc7d4,_0x3ae1fb(0xe6),_0x3c4de3));}});}[_0x527fb4(0xff)](_0xcd781f){const _0x43561a=_0x527fb4,_0x3ffcfb=this[_0x43561a(0x182)][_0x43561a(0x11a)](_0xcd781f),_0x5c9495=this[_0x43561a(0xe4)],_0x7686e6=_0x5c9495[_0x43561a(0x144)][_0x43561a(0x140)][_0x43561a(0x143)],_0x53bb68=_0x5c9495[_0x43561a(0xe5)][_0x43561a(0x11a)](_0x43561a(0x12c)),_0x327645=_0x5c9495[_0x43561a(0xe7)][_0x43561a(0x11a)](_0xe22ca),_0x3e8f2b=''+(_0x3ffcfb[_0x43561a(0xf2)]!==_0x5a03c9?_0x3ffcfb[_0x43561a(0x15b)]+':\x20':'')+_0x3ffcfb[_0x43561a(0x106)];if(!0x1!==_0x3ffcfb[_0x43561a(0x138)]&&_0x7686e6[_0x43561a(0x10c)]){const _0x333ce8=_0x169c6d(_0x7686e6[_0x43561a(0xf3)]())||_0x5c9495[_0x43561a(0x144)][_0x43561a(0x101)][_0x43561a(0x14f)](_0x7686e6);_0x5c9495[_0x43561a(0x144)][_0x43561a(0x163)](_0x4d2178=>{const _0x5e716b=_0x43561a;_0x4d2178[_0x5e716b(0x104)](_0x333ce8,'in');});}_0x327645[_0x43561a(0x184)](),_0x53bb68[_0x43561a(0xdb)](_0x3ffcfb[_0x43561a(0x116)],_0x3e8f2b,_0x43561a(0x160)+_0xcd781f);}[_0x527fb4(0x13c)](_0x28f0e9,_0x3c11ef,_0x1facf2,_0x33d71c){const _0x38acdb=_0x527fb4,_0x13a6d8=this[_0x38acdb(0xe4)],_0x293914=_0x13a6d8[_0x38acdb(0xf4)],_0x243854=new _0x367dce(_0x293914),_0x93f8ba=U(_0x13a6d8,_0x1facf2)[_0x38acdb(0x16f)](_0x16880e=>_0x16880e[_0x38acdb(0xe5)][_0x38acdb(0x118)]);0x1===_0x93f8ba[_0x38acdb(0x118)]?this[_0x38acdb(0x13e)]({'command':_0x28f0e9,'commands':_0x93f8ba[0x0][_0x38acdb(0xe5)],'parentMenuView':_0x3c11ef,'onExecute':_0x33d71c})[_0x38acdb(0xdd)](_0x29f73e=>_0x243854[_0x38acdb(0x133)][_0x38acdb(0x186)](_0x29f73e)):_0x93f8ba[_0x38acdb(0xdd)](({groupId:_0x26b04b,groupLabel:_0x1b3811,commands:_0x4186c7})=>{const _0x4603bf=_0x38acdb,_0x28ad9a=new _0x3501fc(_0x293914,_0x3c11ef),_0x120734=new _0x57f9f6(_0x293914),_0x403c93=new _0x367dce(_0x293914),_0x425779=this[_0x4603bf(0x13e)]({'command':_0x28f0e9,'commands':_0x4186c7,'parentMenuView':_0x120734,'onExecute':_0x33d71c});_0x120734[_0x4603bf(0x15c)][_0x4603bf(0xf6)]({'label':_0x1b3811||_0x26b04b}),_0x120734[_0x4603bf(0xed)](_0x4603bf(0xdb))['to'](_0x3c11ef),_0x403c93[_0x4603bf(0x133)][_0x4603bf(0x14d)](_0x425779),_0x120734[_0x4603bf(0x175)][_0x4603bf(0x169)][_0x4603bf(0x186)](_0x403c93),_0x28ad9a[_0x4603bf(0x169)][_0x4603bf(0x186)](_0x120734),_0x243854[_0x4603bf(0x133)][_0x4603bf(0x186)](_0x28ad9a);}),_0x3c11ef[_0x38acdb(0x175)][_0x38acdb(0x169)][_0x38acdb(0x186)](_0x243854);}[_0x527fb4(0x13e)]({command:_0x2793f7,commands:_0x1c9029,parentMenuView:_0x16653d,onExecute:_0x5c122b}){const _0x651669=_0x527fb4,_0x3d3c7c=this[_0x651669(0xe4)],_0x1ad963=_0x3d3c7c[_0x651669(0xf4)];return U(_0x3d3c7c,_0x1c9029)[_0x651669(0x128)](_0x51d8be=>{const _0x51f74e=_0x651669,_0x133ecc=new _0x3501fc(_0x1ad963,_0x16653d),_0x32abfe=new _0x355287(_0x1ad963);return _0x32abfe[_0x51f74e(0xf6)]({'label':_0x51d8be[_0x51f74e(0x106)]}),_0x32abfe[_0x51f74e(0xed)](_0x51f74e(0xdb))['to'](_0x16653d),_0x32abfe['on'](_0x51f74e(0xdb),()=>_0x5c122b(_0x51d8be['id'])),_0x32abfe[_0x51f74e(0x146)](_0x51f74e(0x177))['to'](_0x2793f7,_0x51f74e(0x115),_0x364b31=>_0x364b31[_0x51f74e(0x125)](_0x51d8be['id'])),_0x133ecc[_0x51f74e(0x169)][_0x51f74e(0x186)](_0x32abfe),_0x133ecc;});}}function B(_0x575c11,_0xfabdef){const _0x45c185=_0x527fb4;return void 0x0!==_0x575c11[_0x45c185(0x108)]&&void 0x0===_0xfabdef[_0x45c185(0x108)]?0x1:void 0x0===_0x575c11[_0x45c185(0x108)]&&void 0x0!==_0xfabdef[_0x45c185(0x108)]?-0x1:void 0x0!==_0x575c11[_0x45c185(0x108)]&&void 0x0!==_0xfabdef[_0x45c185(0x108)]?_0x575c11[_0x45c185(0x108)]-_0xfabdef[_0x45c185(0x108)]:0x0;}function U(_0x4317af,_0x295862){const _0x3cf408=_0x527fb4;_0x295862[_0x3cf408(0x147)](B);const _0x4b6cc1={},_0x6c6284=[];for(const _0x230167 of _0x295862)if(void 0x0!==_0x230167[_0x3cf408(0x108)]){if(_0x230167[_0x3cf408(0x108)]in _0x4b6cc1)throw new _0xd65def(_0x3cf408(0xdf),_0x4317af,{'conflictingDefinitions':[_0x230167,_0x4b6cc1[_0x230167[_0x3cf408(0x108)]]]});_0x4b6cc1[_0x230167[_0x3cf408(0x108)]]=_0x230167,_0x6c6284[_0x3cf408(0x156)](_0x230167[_0x3cf408(0x108)],0x0,_0x230167);}else _0x6c6284[_0x3cf408(0x150)](_0x230167);return _0x6c6284;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5513de,_0x1aa328){var _0x575e51=_0x5436,_0x1e924e=_0x5513de();while(!![]){try{var _0x956861=-parseInt(_0x575e51(0xae))/0x1+parseInt(_0x575e51(0xa9))/0x2*(parseInt(_0x575e51(0xab))/0x3)+parseInt(_0x575e51(0xaf))/0x4+-parseInt(_0x575e51(0xac))/0x5+parseInt(_0x575e51(0xa8))/0x6+-parseInt(_0x575e51(0xa7))/0x7*(-parseInt(_0x575e51(0xad))/0x8)+-parseInt(_0x575e51(0xaa))/0x9;if(_0x956861===_0x1aa328)break;else _0x1e924e['push'](_0x1e924e['shift']());}catch(_0xda9b52){_0x1e924e['push'](_0x1e924e['shift']());}}}(_0x4b9e,0x7e123));export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x4b9e(){var _0x163de2=['920934OHfMmF','6QUmcvV','565218jmfxtx','932139HVvTOn','1957005syfgXm','249016dolyep','604443uZXUwy','837048gSmJHt','63IzppdX'];_0x4b9e=function(){return _0x163de2;};return _0x4b9e();}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';function _0x5436(_0x5b3189,_0xd200db){var _0x4b9e6d=_0x4b9e();return _0x5436=function(_0x543623,_0x557161){_0x543623=_0x543623-0xa7;var _0x5d1b03=_0x4b9e6d[_0x543623];return _0x5d1b03;},_0x5436(_0x5b3189,_0xd200db);}import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf7f5(){var _0x14decf=['244JVnvPg','2081xFrszY','16VVMbkW','3969370NZREic','12azFSZq','18EeOTjz','124866JaYtnB','921870uiTDwD','13019930GvHHlq','666256IqJQyB','3762534tmFeYN','7ymWAdo'];_0xf7f5=function(){return _0x14decf;};return _0xf7f5();}(function(_0x1cb526,_0x37ab5c){var _0x16b232=_0x63d8,_0x481868=_0x1cb526();while(!![]){try{var _0x263842=-parseInt(_0x16b232(0x105))/0x1*(parseInt(_0x16b232(0x104))/0x2)+-parseInt(_0x16b232(0x10a))/0x3+-parseInt(_0x16b232(0x106))/0x4*(parseInt(_0x16b232(0x10b))/0x5)+-parseInt(_0x16b232(0x10e))/0x6+parseInt(_0x16b232(0x103))/0x7*(parseInt(_0x16b232(0x10d))/0x8)+-parseInt(_0x16b232(0x109))/0x9*(-parseInt(_0x16b232(0x107))/0xa)+-parseInt(_0x16b232(0x10c))/0xb*(-parseInt(_0x16b232(0x108))/0xc);if(_0x263842===_0x37ab5c)break;else _0x481868['push'](_0x481868['shift']());}catch(_0x13a971){_0x481868['push'](_0x481868['shift']());}}}(_0xf7f5,0x61d39));function _0x63d8(_0x4089ce,_0x205d03){var _0xf7f543=_0xf7f5();return _0x63d8=function(_0x63d817,_0x5cad72){_0x63d817=_0x63d817-0x103;var _0x79fe96=_0xf7f543[_0x63d817];return _0x79fe96;},_0x63d8(_0x4089ce,_0x205d03);}import{CKEditorError as _0x2260fd}from'ckeditor5/src/utils.js';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x37a421=_0x3a36;(function(_0x3f6040,_0x303e38){const _0x539b0f=_0x3a36,_0x3ad864=_0x3f6040();while(!![]){try{const _0x133c2a=-parseInt(_0x539b0f(0x1e2))/0x1+-parseInt(_0x539b0f(0x214))/0x2*(-parseInt(_0x539b0f(0x1f9))/0x3)+parseInt(_0x539b0f(0x202))/0x4+-parseInt(_0x539b0f(0x20e))/0x5+parseInt(_0x539b0f(0x204))/0x6*(-parseInt(_0x539b0f(0x1c7))/0x7)+parseInt(_0x539b0f(0x1d1))/0x8+parseInt(_0x539b0f(0x1eb))/0x9;if(_0x133c2a===_0x303e38)break;else _0x3ad864['push'](_0x3ad864['shift']());}catch(_0x88b0b3){_0x3ad864['push'](_0x3ad864['shift']());}}}(_0x532a,0x2ad8f));function _0x3a36(_0x541022,_0xa81724){const _0x532ad7=_0x532a();return _0x3a36=function(_0x3a366e,_0x3d68ea){_0x3a366e=_0x3a366e-0x1c0;let _0x226c54=_0x532ad7[_0x3a366e];return _0x226c54;},_0x3a36(_0x541022,_0xa81724);}import{ObservableMixin as _0x345b82}from'ckeditor5/src/utils.js';function _0x532a(){const _0x523f51=['domConverter','_xmlSerializer','childNodes','tryAgainEvent','292192FzAHIK','destroy','219708JQzKRY','rename','_sanitizeHTML','message','custom','makeRequest','updateView','abort','view','div','124895EAsTMT','createElement','render','once','processor','_domParser','4gkzIVi','stopProcessing','stopListening','_stripMarkdownSyntax','mainAction','element','finally','_handleQuery','_parseAndNormalizeContent','toView','markers','<h1></h1>','viewToDom','htmlProcessor','editing','from','remove','name','value','substring','endsWith','body','28ftiXQK','document','currentResponse','listenTo','```html','prompt','set:currentContext','trim','_normalizeResponseHeadings','finishProcessing','2687624Wuhrgs','text/html','previousActionId','reverse','submitPrompt','previousContext','set','data','clear','isProcessing','exec','config','then','handleError','parseFromString','currentContext','toModel','251077eoMRTu','querySelector','setContentOf','serializeToString','previousQuery','get','nodeType','editor','innerHTML','552816SlOUCA','initialContext','_isH1TagSupportEnabled','push','startsWith','startProcessing','stringify','```','ai.aiAssistant.preserveComments','length','isRendered','textAdapter','match','catch','191409AosMUK','reset','ELEMENT_NODE','previousLabel','_sanitizationContainer'];_0x532a=function(){return _0x523f51;};return _0x532a();}import{AIRequestError as _0x4408e0}from'../adapters/aiadapter.js';import{Matcher as _0x31b5e3,UpcastWriter as _0x191265}from'ckeditor5/src/engine.js';const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x345b82(){[_0x37a421(0x1e9)];[_0x37a421(0x1f6)];[_0x37a421(0x20c)];[_0x37a421(0x1fd)];[_0x37a421(0x213)];[_0x37a421(0x1ff)];constructor(_0x505ab2,_0x19afa3,_0x2b8840){const _0x2ecccf=_0x37a421;super(),this[_0x2ecccf(0x1e9)]=_0x505ab2,this[_0x2ecccf(0x1f6)]=_0x19afa3,this[_0x2ecccf(0x1fd)]=document[_0x2ecccf(0x20f)](_0x2ecccf(0x20d)),this[_0x2ecccf(0x213)]=new DOMParser(),this[_0x2ecccf(0x1ff)]=new XMLSerializer(),this[_0x2ecccf(0x20c)]=_0x2b8840,this[_0x2ecccf(0x1d7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2ecccf(0x1cd),(_0x4a6e1c,_0x29c19a,_0x129f04)=>{const _0x31ed78=_0x2ecccf;this[_0x31ed78(0x20c)][_0x31ed78(0x1c3)]=this[_0x31ed78(0x206)](_0x129f04);}),this[_0x2ecccf(0x1ca)](this[_0x2ecccf(0x20c)],_0x2ecccf(0x1d5),(_0x589060,_0x16cca7)=>{const _0x325b4e=_0x2ecccf,_0x27e2aa=this[_0x325b4e(0x1e0)]||this[_0x325b4e(0x1ec)];this[_0x325b4e(0x21b)](_0x16cca7,_0x27e2aa,_0x325b4e(0x208));}),this[_0x2ecccf(0x1ca)](this[_0x2ecccf(0x20c)],_0x2ecccf(0x201),()=>{const _0x5bd093=_0x2ecccf;this[_0x5bd093(0x20c)][_0x5bd093(0x1cc)]=this[_0x5bd093(0x1fc)],this[_0x5bd093(0x21b)](this[_0x5bd093(0x1e6)],this[_0x5bd093(0x1d6)],this[_0x5bd093(0x1d3)],this[_0x5bd093(0x1fc)]);}),this[_0x2ecccf(0x1ca)](this[_0x2ecccf(0x20c)],_0x2ecccf(0x215),()=>{const _0x26a2d0=_0x2ecccf;this[_0x26a2d0(0x215)]();});}[_0x37a421(0x203)](){const _0x28c290=_0x37a421;this[_0x28c290(0x216)]();}async[_0x37a421(0x20a)]({actionId:_0x3f8624,query:_0x4c6828,htmlContent:_0x59d926,label:_0xc6cc95,mainActionLabel:_0x261553}){const _0x3fff3a=_0x37a421;this[_0x3fff3a(0x20c)][_0x3fff3a(0x1cc)]=_0xc6cc95,this[_0x3fff3a(0x20c)][_0x3fff3a(0x218)]=_0x261553,this[_0x3fff3a(0x1ec)]=_0x59d926,_0x4c6828&&(this[_0x3fff3a(0x20c)][_0x3fff3a(0x1f5)]?this[_0x3fff3a(0x21b)](_0x4c6828,_0x59d926,_0x3f8624,_0xc6cc95):this[_0x3fff3a(0x20c)][_0x3fff3a(0x211)](_0x3fff3a(0x210),()=>{const _0x208ee9=_0x3fff3a;this[_0x208ee9(0x21b)](_0x4c6828,_0x59d926,_0x3f8624,_0xc6cc95);}));}[_0x37a421(0x215)](){const _0x282e13=_0x37a421;this[_0x282e13(0x1da)]&&(this[_0x282e13(0x1da)]=!0x1,this[_0x282e13(0x20c)][_0x282e13(0x1d0)](),this[_0x282e13(0x1f6)][_0x282e13(0x20b)]());}[_0x37a421(0x1fa)](){const _0x2e40ed=_0x37a421;this[_0x2e40ed(0x1ec)]='',this[_0x2e40ed(0x1e0)]='',this[_0x2e40ed(0x1c9)]='',this[_0x2e40ed(0x1d6)]='',this[_0x2e40ed(0x1e6)]='',this[_0x2e40ed(0x1fc)]='',this[_0x2e40ed(0x1d3)]=void 0x0,this[_0x2e40ed(0x20c)][_0x2e40ed(0x1fa)](),this[_0x2e40ed(0x215)]();}async[_0x37a421(0x21b)](_0x142302,_0x4b674c,_0x4d1ae2,_0x441bc7){const _0x275a87=_0x37a421;return this[_0x275a87(0x1da)]=!0x0,this[_0x275a87(0x20c)][_0x275a87(0x1f0)](),this[_0x275a87(0x1d6)]=_0x4b674c,this[_0x275a87(0x1e6)]=_0x142302,this[_0x275a87(0x1fc)]=_0x441bc7||_0x142302,this[_0x275a87(0x1d3)]=_0x4d1ae2,new Promise(_0x1455f2=>{const _0x5d7174=_0x275a87;this[_0x5d7174(0x1f6)][_0x5d7174(0x209)]({'query':_0x142302,'context':_0x4b674c,'onData':_0x14baa3=>{const _0x5aa501=_0x5d7174;this[_0x5aa501(0x1c9)]=_0x14baa3,this[_0x5aa501(0x1e0)]=this[_0x5aa501(0x21c)](this[_0x5aa501(0x1c9)]);},'actionId':_0x4d1ae2})[_0x5d7174(0x1dd)](()=>{const _0x1c76dc=_0x5d7174;!this[_0x1c76dc(0x1e0)]&&this[_0x1c76dc(0x1c9)]&&(this[_0x1c76dc(0x1e0)]=this[_0x1c76dc(0x21c)](this[_0x1c76dc(0x1c9)],!0x0));})[_0x5d7174(0x1f8)](_0x25459f=>{const _0x58387e=_0x5d7174;_0x25459f instanceof _0x4408e0?this[_0x58387e(0x20c)][_0x58387e(0x1de)](_0x25459f[_0x58387e(0x207)]):this[_0x58387e(0x20c)][_0x58387e(0x1de)](),_0x1455f2();})[_0x5d7174(0x21a)](()=>{const _0x106453=_0x5d7174;this[_0x106453(0x215)](),_0x1455f2();});});}[_0x37a421(0x21c)](_0x156842,_0x5c9b50=!0x1){const _0x137182=_0x37a421,_0x1f0ef8=Z[_0x137182(0x1db)](_0x156842);_0x156842=_0x1f0ef8?_0x156842[_0x137182(0x1c4)](_0x1f0ef8[0x1][_0x137182(0x1f4)]):_0x156842[_0x137182(0x1f4)]<0x64&&!_0x5c9b50?'':this[_0x137182(0x217)](_0x156842);const _0x47ab4c=this[_0x137182(0x213)][_0x137182(0x1df)](_0x156842,_0x137182(0x1d2));if(_0x1f0ef8){const _0x52375c=Array[_0x137182(0x1c0)](_0x47ab4c[_0x137182(0x1c6)][_0x137182(0x200)]);_0x52375c[_0x137182(0x1d4)]();for(const _0x9c2616 of _0x52375c){if(_0x9c2616[_0x137182(0x1e8)]==Node[_0x137182(0x1fb)])break;_0x9c2616[_0x137182(0x1c1)]();}}const _0x101cd7=this[_0x137182(0x1e9)][_0x137182(0x1d8)][_0x137182(0x212)][_0x137182(0x21d)](this[_0x137182(0x1ff)][_0x137182(0x1e5)](_0x47ab4c[_0x137182(0x1c6)]));this[_0x137182(0x1ed)]()||this[_0x137182(0x1cf)](_0x101cd7);const _0x5480ee=this[_0x137182(0x1e9)][_0x137182(0x1dc)][_0x137182(0x1e7)](_0x137182(0x1f3)),_0x46edc8=this[_0x137182(0x1e9)][_0x137182(0x1d8)][_0x137182(0x1e1)](_0x101cd7);return _0x5480ee||_0x46edc8[_0x137182(0x21e)][_0x137182(0x1d9)](),this[_0x137182(0x1e9)][_0x137182(0x1d8)][_0x137182(0x1f1)](_0x46edc8);}[_0x37a421(0x1cf)](_0x299cf2){const _0x639d3=_0x37a421,_0x3a1f58=new _0x191265(this[_0x639d3(0x1e9)][_0x639d3(0x222)][_0x639d3(0x20c)][_0x639d3(0x1c8)]),_0x27f395=new _0x31b5e3({'name':/^h[1-5]$/}),_0x24e7ad=[];let _0x147dfb=!0x1;for(const _0xbe667a of _0x299cf2)_0xbe667a['is'](_0x639d3(0x219))&&_0x27f395[_0x639d3(0x1f7)](_0xbe667a)&&(_0x24e7ad[_0x639d3(0x1ee)](_0xbe667a),'h1'==_0xbe667a[_0x639d3(0x1c2)]&&(_0x147dfb=!0x0));if(_0x147dfb){for(const _0x4f66e7 of _0x24e7ad)_0x3a1f58[_0x639d3(0x205)]('h'+(parseInt(_0x4f66e7[_0x639d3(0x1c2)][0x1])+0x1),_0x4f66e7);}}[_0x37a421(0x1ed)](){const _0xb9628d=_0x37a421,{data:_0x4d4ff4,editing:_0x4adafa}=this[_0xb9628d(0x1e9)],_0x23bddd=_0x4d4ff4[_0xb9628d(0x221)][_0xb9628d(0x21d)](_0xb9628d(0x21f)),_0x363614=_0x4d4ff4[_0xb9628d(0x21d)](_0x4d4ff4[_0xb9628d(0x1e1)](_0x23bddd));return!!_0x4adafa[_0xb9628d(0x20c)][_0xb9628d(0x1fe)][_0xb9628d(0x220)](_0x363614)[_0xb9628d(0x1e3)]('h1');}[_0x37a421(0x206)](_0x5cc3e2){const _0x778230=_0x37a421;return this[_0x778230(0x1e9)][_0x778230(0x222)][_0x778230(0x20c)][_0x778230(0x1fe)][_0x778230(0x1e4)](this[_0x778230(0x1fd)],_0x5cc3e2),this[_0x778230(0x1fd)][_0x778230(0x1ea)];}[_0x37a421(0x217)](_0x100e3e){const _0x4b17e6=_0x37a421,_0xe17395=_0x100e3e[_0x4b17e6(0x1ce)]();return _0xe17395[_0x4b17e6(0x1ef)](_0x4b17e6(0x1cb))?_0xe17395[_0x4b17e6(0x1c5)](_0x4b17e6(0x1f2))?_0xe17395[_0x4b17e6(0x1c4)](0x7,_0xe17395[_0x4b17e6(0x1f4)]-0x3):_0xe17395[_0x4b17e6(0x1c4)](0x7):_0x100e3e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x326361=_0x4f39;(function(_0x192447,_0x229d01){const _0x3ae176=_0x4f39,_0x34c8d3=_0x192447();while(!![]){try{const _0x5a94b9=-parseInt(_0x3ae176(0x183))/0x1+-parseInt(_0x3ae176(0x1c2))/0x2+parseInt(_0x3ae176(0x19c))/0x3*(-parseInt(_0x3ae176(0x198))/0x4)+-parseInt(_0x3ae176(0x180))/0x5+-parseInt(_0x3ae176(0x1a8))/0x6+-parseInt(_0x3ae176(0x195))/0x7*(parseInt(_0x3ae176(0x1a9))/0x8)+parseInt(_0x3ae176(0x1b7))/0x9;if(_0x5a94b9===_0x229d01)break;else _0x34c8d3['push'](_0x34c8d3['shift']());}catch(_0x545ccd){_0x34c8d3['push'](_0x34c8d3['shift']());}}}(_0x4347,0x2eb8c));import{global as _0x227f70}from'ckeditor5/src/utils.js';import{View as _0x4bf544,ButtonView as _0x4d84c7,SpinnerView as _0x221bc0}from'ckeditor5/src/ui.js';import{IconCheck as _0x1b364e,IconCopy as _0x3ccaab}from'ckeditor5/src/icons.js';import{getTranslation as _0x117e69}from'../../utils/common-translations.js';export default class Y extends _0x4bf544{[_0x326361(0x1a5)];[_0x326361(0x1b8)];constructor(_0x2c021e,_0x5390bf=''){const _0x4f3de9=_0x326361;super(_0x2c021e),this[_0x4f3de9(0x19a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x4e66ae=this[_0x4f3de9(0x1be)];this[_0x4f3de9(0x1a5)]=new ContentFieldView(_0x2c021e,_0x5390bf),this[_0x4f3de9(0x1b8)]=this[_0x4f3de9(0x1ab)](),this[_0x4f3de9(0x182)]({'tag':_0x4f3de9(0x1ae),'attributes':{'class':['ck',_0x4f3de9(0x1bf),_0x4e66ae['if'](_0x4f3de9(0x1b3),_0x4f3de9(0x1ad),_0x3f59f4=>!_0x3f59f4)],'tabindex':'-1'},'children':[{'tag':_0x4f3de9(0x1ae),'attributes':{'class':['ck',_0x4f3de9(0x1bb),_0x4e66ae['if'](_0x4f3de9(0x1b5),_0x4f3de9(0x1bc))]},'children':[this[_0x4f3de9(0x1a5)],{'tag':_0x4f3de9(0x1ae),'attributes':{'class':['ck',_0x4f3de9(0x190)]},'children':[this[_0x4f3de9(0x1b8)]]}]}]});}[_0x326361(0x17d)](){const _0x5b98dc=_0x326361;super[_0x5b98dc(0x17d)](),this[_0x5b98dc(0x1b6)]&&this[_0x5b98dc(0x1a5)][_0x5b98dc(0x17e)](this[_0x5b98dc(0x1b6)]);let _0x59d548=!0x1;this['on'](_0x5b98dc(0x181),(_0x3f3356,_0x3613aa,_0x26ee8f)=>{const _0x141da8=_0x5b98dc,_0x5df525=!this[_0x141da8(0x1a5)][_0x141da8(0x1a0)][_0x141da8(0x1b2)](_0x141da8(0x1a6));this[_0x141da8(0x1a5)][_0x141da8(0x17e)](_0x26ee8f),this[_0x141da8(0x1b5)]&&_0x5df525&&!_0x59d548&&this[_0x141da8(0x1a0)][_0x141da8(0x178)]({'top':this[_0x141da8(0x1a0)][_0x141da8(0x186)],'behavior':_0x141da8(0x1a2)});}),this['on'](_0x5b98dc(0x171),(_0x43896a,_0x253438,_0x5e78c7)=>{const _0x6c229a=_0x5b98dc;_0x59d548=!0x1,_0x5e78c7?(this[_0x6c229a(0x1b6)]=null,this[_0x6c229a(0x1a5)][_0x6c229a(0x193)]()):this[_0x6c229a(0x1b6)]||this[_0x6c229a(0x1a5)][_0x6c229a(0x17e)]('');}),this[_0x5b98dc(0x18c)](this[_0x5b98dc(0x1a0)],_0x5b98dc(0x170),()=>{_0x59d548=!0x0;}),this[_0x5b98dc(0x18c)](this[_0x5b98dc(0x1a0)],_0x5b98dc(0x194),()=>{_0x59d548=!0x0;});}[_0x326361(0x191)](){const _0x390f55=_0x326361;this[_0x390f55(0x1a0)][_0x390f55(0x191)]();}[_0x326361(0x1ab)](){const _0x23bf41=_0x326361,_0x2205b3=this[_0x23bf41(0x19e)],_0x503aa2=new _0x4d84c7(this[_0x23bf41(0x19e)]),_0x1ec4ae=_0x23bf41(0x1aa);return _0x503aa2[_0x23bf41(0x19a)]({'label':_0x117e69(_0x2205b3,_0x23bf41(0x1bd)),'icon':_0x3ccaab,'class':_0x1ec4ae,'tooltip':!0x0}),_0x503aa2[_0x23bf41(0x18f)](_0x23bf41(0x1b3))['to'](this,_0x23bf41(0x1b6),_0x5a619b=>!!_0x5a619b),_0x503aa2[_0x23bf41(0x18f)](_0x23bf41(0x17a))['to'](this,_0x23bf41(0x1b5),_0x10d4e3=>!_0x10d4e3),_0x503aa2['on'](_0x23bf41(0x1c1),()=>{const _0x36627e=_0x23bf41;this[_0x36627e(0x196)](this[_0x36627e(0x1a5)][_0x36627e(0x1a0)]),_0x503aa2[_0x36627e(0x177)]=_0x1b364e,_0x503aa2[_0x36627e(0x1ac)]=_0x1ec4ae+_0x36627e(0x174),this[_0x36627e(0x191)](),setTimeout(()=>{const _0x241d9e=_0x36627e;_0x503aa2[_0x241d9e(0x177)]=_0x3ccaab,_0x503aa2[_0x241d9e(0x1ac)]=_0x1ec4ae;},0x3e8);}),_0x503aa2;}[_0x326361(0x196)](_0x18d660){const _0x47fc9c=_0x326361,{window:_0x1dfb53,document:_0x41ab56}=_0x227f70;if(_0x1dfb53[_0x47fc9c(0x17b)]){const {Blob:_0x216f79,ClipboardItem:_0x59d43c}=_0x1dfb53,_0x5aaca9=[new _0x59d43c({'text/html':new _0x216f79([_0x18d660[_0x47fc9c(0x1b9)]],{'type':_0x47fc9c(0x18a)}),'text/plain':new _0x216f79([_0x18d660[_0x47fc9c(0x1b1)]||''],{'type':_0x47fc9c(0x1a1)})})];navigator[_0x47fc9c(0x175)][_0x47fc9c(0x1b4)](_0x5aaca9);}else{const _0x4513e7=_0x41ab56[_0x47fc9c(0x18d)](_0x47fc9c(0x1ae));_0x4513e7[_0x47fc9c(0x187)][_0x47fc9c(0x17c)]=_0x47fc9c(0x173),_0x4513e7[_0x47fc9c(0x187)][_0x47fc9c(0x188)]=_0x47fc9c(0x185),_0x4513e7[_0x47fc9c(0x1b9)]=_0x47fc9c(0x199)+_0x18d660[_0x47fc9c(0x1b9)]+_0x47fc9c(0x1a3),_0x41ab56[_0x47fc9c(0x172)][_0x47fc9c(0x18e)](_0x4513e7);const _0x439010=_0x41ab56[_0x47fc9c(0x1a4)]();_0x439010[_0x47fc9c(0x184)](_0x4513e7[_0x47fc9c(0x176)]),_0x439010[_0x47fc9c(0x19d)](_0x4513e7[_0x47fc9c(0x1af)]);const _0x1a9699=_0x1dfb53[_0x47fc9c(0x1ba)]();_0x1a9699[_0x47fc9c(0x19b)](),_0x1a9699[_0x47fc9c(0x1b0)](_0x439010),_0x41ab56[_0x47fc9c(0x18b)](_0x47fc9c(0x1c0)),_0x4513e7[_0x47fc9c(0x197)]();}}}function _0x4f39(_0x493b4b,_0x552aba){const _0x434757=_0x4347();return _0x4f39=function(_0x4f3953,_0x462ec5){_0x4f3953=_0x4f3953-0x16f;let _0x4d39d5=_0x434757[_0x4f3953];return _0x4d39d5;},_0x4f39(_0x493b4b,_0x552aba);}export class ContentFieldView extends _0x4bf544{constructor(_0x106583,_0x21c22a=''){const _0x591664=_0x326361;super(_0x106583),this[_0x591664(0x192)]=this[_0x591664(0x1a7)](),this[_0x591664(0x182)]({'tag':_0x591664(0x1ae),'attributes':{'class':['ck',_0x591664(0x179),_0x21c22a,_0x591664(0x17f),_0x591664(0x19f)]}});}[_0x326361(0x17e)](_0x2d0547){const _0x49b375=_0x326361;this[_0x49b375(0x1a0)][_0x49b375(0x1b9)]=_0x2d0547;}[_0x326361(0x193)](){const _0x46bffe=_0x326361;this[_0x46bffe(0x1a0)][_0x46bffe(0x18e)](this[_0x46bffe(0x192)][_0x46bffe(0x1a0)]);}[_0x326361(0x1a7)](){const _0x3aa81b=_0x326361,_0x458586=new _0x4bf544(),_0x52a25f=this[_0x3aa81b(0x19e)],_0x3ff674=new _0x221bc0();return _0x3ff674[_0x3aa81b(0x1b3)]=!0x0,_0x458586[_0x3aa81b(0x182)]({'tag':_0x3aa81b(0x1ae),'attributes':{'class':['ck',_0x3aa81b(0x16f)]},'children':[_0x3ff674,{'text':_0x117e69(_0x52a25f,_0x3aa81b(0x189))}]}),_0x458586[_0x3aa81b(0x17d)](),_0x458586;}}function _0x4347(){const _0x2bb6be=['7785819BxAKTJ','copyButtonView','innerHTML','getSelection','ck-ai-form__content-area','ck-ai-form__content-area--processing','Copy','bindTemplate','ck-ai-form__content-area-wrapper','copy','execute','316564TYMnEd','ck-ai-form__loader','wheel','change:isProcessing','body','absolute','\x20ck-ai-form__copy-button--copied','clipboard','firstElementChild','icon','scrollTo','ck-content','isEnabled','ClipboardItem','position','render','setContent','ck-reset_all-excluded','10380eLjNiv','change:value','setTemplate','118411tgWKxJ','setStartAfter','-9999px','scrollHeight','style','left','AI\x20is\x20writing...','text/html','execCommand','listenTo','createElement','appendChild','bind','ck-ai-form__copy-button-wrapper','focus','loaderView','appendLoader','mousedown','70931AvrxLa','_copyHTMLToClipboard','remove','164oTPCwm','<span>[</span>','set','removeAllRanges','25524ukbdeH','setEndBefore','locale','ck-ai-form__content-field','element','text/plain','smooth','<span>]</span>','createRange','contentFieldView','.ck-ai-form__loader','_createLoader','33540gndNfN','32YoXwJm','ck-ai-form__copy-button','_createCopyButton','class','ck-hidden','div','lastElementChild','addRange','textContent','querySelector','isVisible','write','isProcessing','value'];_0x4347=function(){return _0x2bb6be;};return _0x4347();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3cce(_0x3c6b36,_0x38e386){const _0x16f88e=_0x16f8();return _0x3cce=function(_0x3cce74,_0x49ade6){_0x3cce74=_0x3cce74-0x1be;let _0x35d590=_0x16f88e[_0x3cce74];return _0x35d590;},_0x3cce(_0x3c6b36,_0x38e386);}(function(_0x20ba3c,_0x50beed){const _0x33ae54=_0x3cce,_0x3e89b6=_0x20ba3c();while(!![]){try{const _0x9207de=-parseInt(_0x33ae54(0x1ca))/0x1+parseInt(_0x33ae54(0x1bf))/0x2*(parseInt(_0x33ae54(0x1cc))/0x3)+parseInt(_0x33ae54(0x1c2))/0x4*(parseInt(_0x33ae54(0x1c9))/0x5)+-parseInt(_0x33ae54(0x1cb))/0x6+-parseInt(_0x33ae54(0x1c6))/0x7+parseInt(_0x33ae54(0x1c8))/0x8+parseInt(_0x33ae54(0x1c0))/0x9;if(_0x9207de===_0x50beed)break;else _0x3e89b6['push'](_0x3e89b6['shift']());}catch(_0x5452be){_0x3e89b6['push'](_0x3e89b6['shift']());}}}(_0x16f8,0x6d097));import{IconError as _0xe3010d}from'ckeditor5/src/icons.js';import{View as _0x1ee60a,IconView as _0xcaecdc}from'ckeditor5/src/ui.js';export default class st extends _0x1ee60a{constructor(_0x586111,_0x582ac1=''){const _0x156239=_0x3cce;super(_0x586111);const _0x1158e5=new _0xcaecdc(),_0x688d64=this[_0x156239(0x1c3)];this[_0x156239(0x1c1)](_0x156239(0x1c4),_0x582ac1),_0x1158e5[_0x156239(0x1c7)]=_0xe3010d,this[_0x156239(0x1c5)]({'tag':_0x156239(0x1be),'attributes':{'class':['ck',_0x156239(0x1cd)]},'children':[_0x1158e5,{'text':_0x688d64['to'](_0x156239(0x1c4))}]});}}function _0x16f8(){const _0x16bafb=['5HHEchX','551677NhwZHy','1633284ZGfptv','12fsWKAg','ck-ai-form__error','div','14578neLDiu','3248217JozXaS','set','3480168sOxzrK','bindTemplate','text','setTemplate','4100838pGFpws','content','4769832pxmTWs'];_0x16f8=function(){return _0x16bafb;};return _0x16f8();}
|