@ckeditor/ckeditor5-ai 44.3.0 → 45.0.0-alpha.0
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/LICENSE.md +1 -1
- package/build/ai.js +1 -1
- package/build/translations/be.js +1 -0
- package/ckeditor5-metadata.json +2 -2
- 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.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- 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/lang/translations/be.po +228 -0
- package/package.json +10 -10
- 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.d.ts +1 -4
- 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/theme/icons/copy.svg +0 -1
- package/theme/icons/error.svg +0 -1
- package/theme/icons/magic-wand.svg +0 -1
- package/theme/icons/submit.svg +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32c06f=_0x5676;(function(_0x744982,_0x14a8cc){const _0x455d85=_0x5676,_0x277851=_0x744982();while(!![]){try{const _0x4749d9=-parseInt(_0x455d85(0xbb))/0x1*(-parseInt(_0x455d85(0xa1))/0x2)+parseInt(_0x455d85(0xcc))/0x3+-parseInt(_0x455d85(0xf1))/0x4*(parseInt(_0x455d85(0xcf))/0x5)+-parseInt(_0x455d85(0xf0))/0x6*(-parseInt(_0x455d85(0xf5))/0x7)+parseInt(_0x455d85(0xd6))/0x8*(-parseInt(_0x455d85(0xed))/0x9)+-parseInt(_0x455d85(0x95))/0xa+parseInt(_0x455d85(0xcd))/0xb*(parseInt(_0x455d85(0xe2))/0xc);if(_0x4749d9===_0x14a8cc)break;else _0x277851['push'](_0x277851['shift']());}catch(_0x4e2aef){_0x277851['push'](_0x277851['shift']());}}}(_0x400d,0xab176));function _0x400d(){const _0x430793=['last','getColumnIndexes','_pasteHTMLUsingClipboard','ai.useTheme','_getTableRowCountFromContent','2661yrNGmX','insertRows','element','parse','map','data','fromCharCode','off','init','getSelectedBlocks','getMarkersGroup','getRanges','for','_resetContentOfSelectedTableCells','getRowIndexes','from','editingDowncast','839475xBIBtP','763741oKvOPy','ck-fake-ai-selection_collapsed','284675cvoTPX','_createEmptyTableRows','markerToHighlight','fire','TableUtils','canEditAt','getSelectedTableCells','4972904uosZpY','insertContentBelow','length','once','isOfficialPlugin','isAtEnd','ai-ui','findAncestor','model','createPositionAt','createSelection','has','264RawYtq','plugins','get','editing','forEach','addMarker','setData','_prepareTableInsertBelowPosition','showFakeVisualSelection','removeMarker','getRange','18evzhOK','setSelection','AIAssistantEditing','312306UBQFLl','4AIkZBg','ck-ai-assistant-ui_theme','createPositionAfter','isCollapsed','154QfhvYZ','push','getChildren','selection','getLastPosition','insertContent','config','span','markers','_getDefaultInsertBelowPosition','end','_getAISelection','contentInsertion','DataTransfer','lowest','join','9541390KoEosv','pop','deleteContent','first','paste','isContent','markerRange','pluginName','addClass','getLastMatchingPosition','hideFakeVisualSelection','ck-fake-ai-selection','2PkcvsE','schema','createUIElement','table','getFirstRange','editor','getChild','text/html','filter','change','href','start','document','createRange','isPremiumPlugin','updateMarker','resultRange','conversion','getRows','markerToElement','afterInit'];_0x400d=function(){return _0x430793;};return _0x400d();}function _0x5676(_0x2706dc,_0x54e851){const _0x400d56=_0x400d();return _0x5676=function(_0x5676a2,_0x54cf0a){_0x5676a2=_0x5676a2-0x91;let _0x55a39c=_0x400d56[_0x5676a2];return _0x55a39c;},_0x5676(_0x2706dc,_0x54e851);}import{uid as _0xf3a3f}from'ckeditor5/src/utils.js';import{Plugin as _0xd02668}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5996a5}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x1f5105,DataTransfer as _0x46bf0a}from'ckeditor5/src/engine.js';const w=globalThis[_0x32c06f(0x92)],f=_0x32c06f(0xdc);export default class a extends _0xd02668{static get[_0x32c06f(0x9c)](){const _0x472e0b=_0x32c06f;return _0x472e0b(0xef);}static get[_0x32c06f(0xda)](){return!0x0;}static get[_0x32c06f(0xaf)](){return!0x0;}[_0x32c06f(0xc3)](){const _0x89c0ae=_0x32c06f,{editor:_0x18d905}=this,_0x2ef8d9=[_0x89c0ae(0xa0)];_0x18d905[_0x89c0ae(0xfb)][_0x89c0ae(0xe4)](_0x89c0ae(0xb9))&&_0x2ef8d9[_0x89c0ae(0xf6)](_0x89c0ae(0xf2)),_0x18d905[_0x89c0ae(0xb2)][_0x89c0ae(0xc7)](_0x89c0ae(0xcb))[_0x89c0ae(0xd1)]({'model':f,'view':{'classes':_0x2ef8d9,'priority':0xc}}),_0x18d905[_0x89c0ae(0xb2)][_0x89c0ae(0xc7)](_0x89c0ae(0xcb))[_0x89c0ae(0xb4)]({'model':f,'view':(_0xb932cb,{writer:_0x222142})=>{const _0x129ca4=_0x89c0ae;if(!_0xb932cb[_0x129ca4(0x9b)][_0x129ca4(0xf4)])return null;const _0x15fa44=_0x222142[_0x129ca4(0xa3)](_0x129ca4(0xfc));return _0x222142[_0x129ca4(0x9d)]([_0x129ca4(0xa0),_0x129ca4(0xce)],_0x15fa44),_0x15fa44;}});}[_0x32c06f(0xb5)](){!async function(_0x12217b){const _0x2113be=_0x2129a4([0x67,0x77,0x4d,0x57,0x70,0x46,0x7a,0x38,0x35,0x52,0x5a,0x55,0x74,0x79,0x62,0x34,0x66,0x78,0x59,0x72,0x76,0x4f,0x47,0x48,0x45,0x56,0x64,0x61,0x69,0x75,0x43,0x33,0x51,0x4b,0x49,0x44,0x32,0x6a,0x71,0x6d,0x39,0x42,0x50,0x68,0x36,0x30,0x6e,0x37,0x6f,0x54,0x53,0x4e,0x65,0x4a,0x58,0x6b,0x63,0x4c,0x41,0x6c,0x31,0x73]),_0x32998c=0x113777ec,_0x39a871=0x113016ac^_0x32998c,_0x1af9e4=window[_0x2129a4([0x44,0x61,0x74,0x65])][_0x2129a4([0x6e,0x6f,0x77])](),_0x4c8871=_0x12217b[_0x2129a4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21171e=new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42eb92=>{_0x4c8871[_0x2129a4([0x6f,0x6e,0x63,0x65])](_0x2129a4([0x72,0x65,0x61,0x64,0x79]),_0x42eb92);}),_0x5b0c45={[_0x2129a4([0x6b,0x74,0x79])]:_0x2129a4([0x45,0x43]),[_0x2129a4([0x75,0x73,0x65])]:_0x2129a4([0x73,0x69,0x67]),[_0x2129a4([0x63,0x72,0x76])]:_0x2129a4([0x50,0x2d,0x32,0x35,0x36]),[_0x2129a4([0x78])]:_0x2129a4([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]),[_0x2129a4([0x79])]:_0x2129a4([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]),[_0x2129a4([0x61,0x6c,0x67])]:_0x2129a4([0x45,0x53,0x32,0x35,0x36])},_0x33ca25=_0x4c8871[_0x2129a4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2129a4([0x67,0x65,0x74])](_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21d03b(){let _0x5c8c26,_0xbc388e=null,_0x55120a=null;try{if(_0x33ca25==_0x2129a4([0x47,0x50,0x4c]))return _0x2129a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5c8c26=_0x34c0d3(),!_0x5c8c26)return _0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5c8c26[_0x2129a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55120a=_0x436cb4(_0x5c8c26[_0x2129a4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5c8c26[_0x2129a4([0x6a,0x74,0x69])])),await _0x29c93a()?_0x5c0ff0()?_0x2b26ac()?_0x2129a4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x413ed0()?(_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2129a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbc388e=_0x43c4cd(_0x2129a4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2129a4([0x74,0x72,0x69,0x61,0x6c])&&(_0xbc388e=_0x43c4cd(_0x2129a4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53f73b()):_0x2129a4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2129a4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x2e6267){return _0x2129a4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b26ac(){const _0x452897=[_0x2129a4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2129a4([0x74,0x72,0x69,0x61,0x6c])][_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1af9e4/0x3e8:0xe10*_0x39a871;return _0x5c8c26[_0x2129a4([0x65,0x78,0x70])]<_0x452897;}function _0x5c0ff0(){const _0x43bc88=_0x5c8c26[_0x2129a4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43bc88&&(!!_0x43bc88[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x2a]))||!!_0x43bc88[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x41,0x49])));}function _0x413ed0(){const _0x42c2e1=_0x5676,_0x247ce3=_0x5c8c26[_0x2129a4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x247ce3||0x0==_0x247ce3[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f1b38}=new URL(window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x42c2e1(0xab)]);if(_0x247ce3[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f1b38))return!0x0;const _0x182bda=_0x4f1b38[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e]));return _0x247ce3[_0x2129a4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58b8ec=>_0x58b8ec[_0x2129a4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2129a4([0x2a])))[_0x2129a4([0x6d,0x61,0x70])](_0x1fb3c4=>_0x1fb3c4[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e])))[_0x2129a4([0x73,0x6f,0x6d,0x65])](_0x51303b=>_0x182bda[_0x2129a4([0x65,0x76,0x65,0x72,0x79])]((_0x37c526,_0x1cd661)=>_0x51303b[_0x1cd661]===_0x37c526||_0x51303b[_0x1cd661]===_0x2129a4([0x2a])));}function _0x53f73b(){return _0xbc388e&&_0x55120a?new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2404cb,_0x4526d6)=>{_0xbc388e[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x2404cb,_0x4526d6),_0x55120a[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x32589a=>{_0x32589a!=_0x2129a4([0x56,0x61,0x6c,0x69,0x64])&&_0x2404cb(_0x32589a);},_0x4526d6);}):_0xbc388e||_0x55120a||_0x2129a4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x436cb4(_0x590e60,_0x57a8f9){return new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3678d5=>{if(_0x2ddac1())return _0x3678d5(_0x2129a4([0x56,0x61,0x6c,0x69,0x64]));_0x229a23(),_0x4c8871[_0x2129a4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc2b190=!0x1;const _0x5e5e9c=_0xf3a3f();function _0x42d702(_0x27f115){return!!_0x27f115&&(typeof _0x27f115===_0x2129a4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x27f115===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x27f115[_0x2129a4([0x74,0x68,0x65,0x6e])]===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x27f115[_0x2129a4([0x63,0x61,0x74,0x63,0x68])]===_0x2129a4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d4a8e(_0x3aeada){_0x1678c0(_0x3aeada)[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x40c08c=>{if(!_0x40c08c||_0x40c08c[_0x2129a4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2129a4([0x6f,0x6b]))return _0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x214bfa(_0x3b2fa8(_0x5e5e9c+_0x57a8f9))!=_0x40c08c[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2129a4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2129a4([0x74,0x68,0x65,0x6e])](_0xb9a716=>(_0xb999f5(),_0xb9a716),()=>{const _0x55550d=_0xd5a79();return null==_0x55550d?(_0xb999f5(),_0x2129a4([0x56,0x61,0x6c,0x69,0x64])):_0x2129a4(_0x1af9e4-_0x55550d>(0x353bf3ec^_0x32998c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x3678d5)[_0x2129a4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdf1c1f=0x1101996c^_0x32998c;function _0xb999f5(){const _0x249f12=_0x2129a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x214bfa(_0x3b2fa8(_0x590e60)),_0x52367d=_0x43e44d(_0x214bfa(window[_0x2129a4([0x4d,0x61,0x74,0x68])][_0x2129a4([0x63,0x65,0x69,0x6c])](_0x1af9e4/_0xdf1c1f)));window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2129a4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x249f12,_0x52367d);}function _0xd5a79(){const _0x2a2089=_0x2129a4([0x6c,0x6c,0x63,0x74,0x2d])+_0x214bfa(_0x3b2fa8(_0x590e60)),_0x437dc1=window[_0x2129a4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2129a4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a2089);return _0x437dc1?window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43e44d(_0x437dc1),0x10)*_0xdf1c1f:null;}function _0x1678c0(_0x2b082a){return new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x457a80,_0x3fb0ad)=>{_0x2b082a[_0x2129a4([0x74,0x68,0x65,0x6e])](_0x457a80,_0x3fb0ad),window[_0x2129a4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fb0ad,0x1136a32c^_0x32998c);});}}_0x4c8871[_0x2129a4([0x6f,0x6e])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x588bd3,_0x223722)=>{if(_0x223722[0x0]!=_0x590e60)return _0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x223722[0x1]={..._0x223722[0x1],[_0x2129a4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e5e9c};},{[_0x2129a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2129a4([0x68,0x69,0x67,0x68])}),_0x4c8871[_0x2129a4([0x6f,0x6e])](_0x2129a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5170ae=>{_0x42d702(_0x5170ae[_0x2129a4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc2b190=!0x0,_0x2d4a8e(_0x5170ae[_0x2129a4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2129a4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2129a4([0x6c,0x6f,0x77])}),_0x21171e[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>{_0xc2b190||_0x3678d5(_0x2129a4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ddac1(){return _0x4c8871[_0x2129a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2129a4([0x76,0x69,0x65,0x77])][_0x2129a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2129a4([0x61,0x75,0x74,0x6f]);}function _0x229a23(){_0x4c8871[_0x2129a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2129a4([0x76,0x69,0x65,0x77])][_0x2129a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2129a4([0x61,0x75,0x74,0x6f]);}}function _0x43c4cd(_0x2b0a74){const _0x2dc3c5=[new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x207ba6=>setTimeout(_0x207ba6,0x113e4920^_0x32998c)),_0x21171e[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5479dc=>{let _0x5c94a6=0x0;_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x6f,0x6e])](_0x2129a4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43368d,_0x19ebde)=>{_0x19ebde[0x0][_0x2129a4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c94a6++,_0x5c94a6==(0x11377614^_0x32998c)&&(_0x5479dc(),_0x43368d[_0x2129a4([0x6f,0x66,0x66])]());});}))];return window[_0x2129a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2129a4([0x72,0x61,0x63,0x65])](_0x2dc3c5)[_0x2129a4([0x74,0x68,0x65,0x6e])](()=>_0x2b0a74);}async function _0x9ce2e1(){await _0x21171e,_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22edc2,_0x4c8871[_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2129a4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22edc2,_0x4c8871[_0x2129a4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2129a4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b95d0(_0x40cf81){const _0x5130ff=_0x345fea();_0x4c8871[_0x5130ff]=_0x2129a4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40cf81,_0x40cf81!=_0x2129a4([0x56,0x61,0x6c,0x69,0x64])&&_0x9ce2e1();}function _0x345fea(){const _0xf677e8=window[_0x2129a4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2129a4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2129a4([0x6e,0x6f,0x77])]())[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2129a4([0x2e]),'');let _0x371405=_0x2129a4([0x67]);for(let _0x1b2052=0x0;_0x1b2052<_0xf677e8[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b2052+=0x2){let _0x1866e3=window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf677e8[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2052,_0x1b2052+0x2));_0x1866e3>=_0x2113be[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1866e3-=_0x2113be[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x371405+=_0x2113be[_0x1866e3];}return _0x371405;}function _0x34c0d3(){const _0x4b9bca=_0x33ca25[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e]));if(0x3!=_0x4b9bca[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd04152(_0x4b9bca[0x1]);function _0xd04152(_0x3df39e){const _0x11aaff=_0x52f2bb(_0x3df39e);return _0x11aaff&&_0x5ad2bd()?_0x11aaff:null;function _0x5ad2bd(){const _0x3484ea=_0x11aaff[_0x2129a4([0x6a,0x74,0x69])],_0x18b152=window[_0x2129a4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3484ea[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3484ea[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd80438={..._0x11aaff,[_0x2129a4([0x6a,0x74,0x69])]:_0x3484ea[_0x2129a4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3484ea[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd80438[_0x2129a4([0x76,0x63])],_0x3b2fa8(_0xd80438)==_0x18b152;}}}async function _0x29c93a(){let _0x269993=!0x0;try{const _0x172f9a=_0x33ca25[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])](_0x2129a4([0x2e])),[_0xa167b9,_0x1ad973,_0x1a1e58]=_0x172f9a;return _0xb9d57f(_0xa167b9),await _0x6d9e74(_0xa167b9,_0x1ad973,_0x1a1e58),_0x269993;}catch(_0xa6df4a){return!0x1;}function _0xb9d57f(_0x16db89){const _0x1d4f06=_0x52f2bb(_0x16db89);_0x1d4f06&&_0x1d4f06[_0x2129a4([0x61,0x6c,0x67])]==_0x2129a4([0x45,0x53,0x32,0x35,0x36])||(_0x269993=!0x1);}async function _0x6d9e74(_0x43eefe,_0xc667d4,_0x15cb10){const _0x44e912=window[_0x2129a4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2129a4([0x66,0x72,0x6f,0x6d])](_0x433305(_0x15cb10),_0x470a6f=>_0x470a6f[_0x2129a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2de9aa=new window[(_0x2129a4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2129a4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43eefe+_0x2129a4([0x2e])+_0xc667d4),_0x4b3b06=window[_0x2129a4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2129a4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b3b06)return;const _0x33db5f=await _0x4b3b06[_0x2129a4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2129a4([0x6a,0x77,0x6b]),_0x5b0c45,{[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x45,0x43,0x44,0x53,0x41]),[_0x2129a4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2129a4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b3b06[_0x2129a4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x45,0x43,0x44,0x53,0x41]),[_0x2129a4([0x68,0x61,0x73,0x68])]:{[_0x2129a4([0x6e,0x61,0x6d,0x65])]:_0x2129a4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33db5f,_0x44e912,_0x2de9aa)||(_0x269993=!0x1);}}function _0x52f2bb(_0x2c3f45){return _0x2c3f45[_0x2129a4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2129a4([0x65,0x79]))?JSON[_0x2129a4([0x70,0x61,0x72,0x73,0x65])](_0x433305(_0x2c3f45)):null;}function _0x433305(_0x1a9bb9){return window[_0x2129a4([0x61,0x74,0x6f,0x62])](_0x1a9bb9[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2129a4([0x2b]))[_0x2129a4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2129a4([0x2f])));}function _0x3b2fa8(_0x315744){let _0x3cfe66=0x1505;function _0x4f8bb5(_0x3c6588){for(let _0x35d763=0x0;_0x35d763<_0x3c6588[_0x2129a4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35d763++){const _0x14cbe5=_0x3c6588[_0x2129a4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35d763);_0x3cfe66=(_0x3cfe66<<0x5)+_0x3cfe66+_0x14cbe5,_0x3cfe66&=_0x3cfe66;}}function _0x51ee88(_0x52726b){Array[_0x2129a4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52726b)?_0x52726b[_0x2129a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51ee88):_0x52726b&&typeof _0x52726b==_0x2129a4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2129a4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52726b)[_0x2129a4([0x73,0x6f,0x72,0x74])]()[_0x2129a4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x417208,_0x2cdcc3])=>{_0x4f8bb5(_0x417208),_0x51ee88(_0x2cdcc3);}):_0x4f8bb5(window[_0x2129a4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52726b));}return _0x51ee88(_0x315744),_0x3cfe66>>>0x0;}function _0x214bfa(_0x4d20bf){return _0x4d20bf[_0x2129a4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2129a4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2129a4([0x30]));}function _0x43e44d(_0x1420ac){return _0x1420ac[_0x2129a4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2129a4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2129a4([0x6a,0x6f,0x69,0x6e])]('');}function _0x22edc2(){}function _0x2129a4(_0x5249da){const _0x1cad54=_0x5676;return _0x5249da[_0x1cad54(0xbf)](_0x387203=>String[_0x1cad54(0xc1)](_0x387203))[_0x1cad54(0x94)]('');}_0x3b95d0(await _0x21d03b());}(this);}[_0x32c06f(0xea)](){const _0x417c33=_0x32c06f,_0xb3010e=this[_0x417c33(0xa6)][_0x417c33(0xde)];_0xb3010e[_0x417c33(0xaa)](_0x38eef2=>{const _0x5d12ea=_0x417c33,_0xa5650=_0xb3010e[_0x5d12ea(0xad)][_0x5d12ea(0xf8)][_0x5d12ea(0xc6)]();let _0x258e5d=0x0;for(const _0x4fa7bf of _0xa5650){const _0x360ac2=f+':'+_0x258e5d;if(_0xb3010e[_0x5d12ea(0xfd)][_0x5d12ea(0xe1)](_0x360ac2))_0x38eef2[_0x5d12ea(0xb0)](_0x360ac2,{'range':_0x4fa7bf});else{if(_0x4fa7bf[_0x5d12ea(0xac)][_0x5d12ea(0xdb)]){const _0x1c6e81=_0x4fa7bf[_0x5d12ea(0xac)][_0x5d12ea(0x9e)](({item:_0x41a4dc})=>!_0xb3010e[_0x5d12ea(0xa2)][_0x5d12ea(0x9a)](_0x41a4dc),{'boundaries':_0x4fa7bf});_0x38eef2[_0x5d12ea(0xe7)](_0x360ac2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x38eef2[_0x5d12ea(0xae)](_0x1c6e81,_0x4fa7bf[_0x5d12ea(0xff)])});}else _0x38eef2[_0x5d12ea(0xe7)](_0x360ac2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4fa7bf});}_0x258e5d++;}});}[_0x32c06f(0x9f)](){const _0x416782=_0x32c06f,_0x2e6aa7=this[_0x416782(0xa6)][_0x416782(0xde)],_0x4566e9=Array[_0x416782(0xca)](this[_0x416782(0xa6)][_0x416782(0xde)][_0x416782(0xfd)][_0x416782(0xc5)](f));_0x4566e9[_0x416782(0xd8)]&&_0x2e6aa7[_0x416782(0xaa)](_0x220230=>{const _0x3ce367=_0x416782;_0x4566e9[_0x3ce367(0xe6)](_0x87be5d=>{const _0x4cdd76=_0x3ce367;_0x220230[_0x4cdd76(0xeb)](_0x87be5d);});});}[_0x32c06f(0xfa)](_0x20135b,_0x5e25af){const _0x3c6a67=_0x32c06f,_0x5f527e=this[_0x3c6a67(0x100)](),_0x1f88d8=_0x5e25af||_0x5f527e[_0x3c6a67(0xa5)]();this[_0x3c6a67(0xa6)][_0x3c6a67(0xde)][_0x3c6a67(0xd4)](_0x1f88d8)&&this[_0x3c6a67(0xa6)][_0x3c6a67(0xde)][_0x3c6a67(0xaa)](_0x4db293=>{const _0x293f4f=_0x3c6a67;this[_0x293f4f(0x9f)](),_0x5e25af||this[_0x293f4f(0xc8)](_0x4db293,_0x5f527e),this[_0x293f4f(0xb8)]({'insertAt':_0x1f88d8,'writer':_0x4db293,'html':_0x20135b});});}[_0x32c06f(0xd7)](_0x33cbc7){const _0x352d00=_0x32c06f,{model:_0x5afd8d}=this[_0x352d00(0xa6)],_0x20f0db=this[_0x352d00(0x100)]();_0x5afd8d[_0x352d00(0xaa)](()=>{const _0xf3bb07=_0x352d00,_0x243bea=this[_0xf3bb07(0xe9)](_0x33cbc7,_0x20f0db)||this[_0xf3bb07(0xfe)](_0x20f0db);this[_0xf3bb07(0xfa)](_0x33cbc7,_0x243bea);});}[_0x32c06f(0x100)](){const _0x2b816e=_0x32c06f,_0x2ceabe=this[_0x2b816e(0xa6)][_0x2b816e(0xde)],_0x3cc048=Array[_0x2b816e(0xca)](_0x2ceabe[_0x2b816e(0xfd)][_0x2b816e(0xc5)](f))[_0x2b816e(0xbf)](_0x2b5f08=>_0x2b5f08[_0x2b816e(0xec)]());return _0x2ceabe[_0x2b816e(0xe0)](_0x3cc048);}[_0x32c06f(0xb8)]({writer:_0x1a08d7,html:_0x1a6510,insertAt:_0x1409b5}){const _0x4ca8f3=_0x32c06f,{view:_0x17521c}=this[_0x4ca8f3(0xa6)][_0x4ca8f3(0xe5)],_0x249904=this[_0x4ca8f3(0xa6)][_0x4ca8f3(0xe3)][_0x4ca8f3(0xe4)](_0x5996a5),_0x5d1aee=new w();_0x5d1aee[_0x4ca8f3(0xe8)](_0x4ca8f3(0xa8),_0x1a6510);const _0x5455a2=new ClipboardEvent(_0x4ca8f3(0x99),{'clipboardData':_0x5d1aee}),_0xb12805=new _0x1f5105(_0x17521c,_0x5455a2,{'dataTransfer':new _0x46bf0a(_0x5d1aee)});_0x1a08d7[_0x4ca8f3(0xee)](_0x1409b5);const _0x413d8b=(_0x15939e,_0x1caad0)=>{const _0x5341ac=_0x4ca8f3;_0x1caad0[_0x5341ac(0xb1)]&&_0x1a08d7[_0x5341ac(0xee)](_0x1caad0[_0x5341ac(0xb1)]);};_0x249904[_0x4ca8f3(0xd9)](_0x4ca8f3(0x91),_0x413d8b,{'priority':_0x4ca8f3(0x93)}),_0x17521c[_0x4ca8f3(0xad)][_0x4ca8f3(0xd2)](_0x4ca8f3(0x99),_0xb12805),_0x249904[_0x4ca8f3(0xc2)](_0x4ca8f3(0x91),_0x413d8b);}[_0x32c06f(0xfe)](_0x4e6570){const _0x4c8d0d=_0x32c06f,{model:_0x4d9758}=this[_0x4c8d0d(0xa6)],_0x33a404=Array[_0x4c8d0d(0xca)](_0x4e6570[_0x4c8d0d(0xc4)]());return _0x33a404[_0x4c8d0d(0xd8)]?_0x4d9758[_0x4c8d0d(0xf3)](_0x33a404[_0x4c8d0d(0x96)]()):_0x4e6570[_0x4c8d0d(0xf9)]();}[_0x32c06f(0xe9)](_0xab6b30,_0x9dd0e4){const _0x3b5a79=_0x32c06f,{model:_0x18ea95,plugins:_0x1ce64d}=this[_0x3b5a79(0xa6)];if(_0x1ce64d[_0x3b5a79(0xe1)](_0x3b5a79(0xd3))){const _0x18f32e=_0x1ce64d[_0x3b5a79(0xe4)](_0x3b5a79(0xd3))[_0x3b5a79(0xd5)](_0x9dd0e4);if(_0x18f32e[_0x3b5a79(0xd8)]){const _0x126e2c=this[_0x3b5a79(0xba)](_0xab6b30),_0x2ea27a=this[_0x3b5a79(0xd0)](_0x18f32e,_0x126e2c);return _0x18ea95[_0x3b5a79(0xdf)](_0x2ea27a,0x0);}}return null;}[_0x32c06f(0xba)](_0x2e2c75){const _0x43a172=_0x32c06f,_0x361658=this[_0x43a172(0xa6)][_0x43a172(0xe3)][_0x43a172(0xe4)](_0x43a172(0xd3)),_0x560d52=this[_0x43a172(0xa6)][_0x43a172(0xc0)][_0x43a172(0xbe)](_0x2e2c75),_0x2ed22d=Array[_0x43a172(0xca)](_0x560d52[_0x43a172(0xf7)]())[_0x43a172(0xa9)](_0x45c9d6=>_0x45c9d6['is'](_0x43a172(0xbd),_0x43a172(0xa4)));let _0x2aeefd=0x0;return _0x2ed22d[_0x43a172(0xe6)](_0x40ed78=>{const _0x44c065=_0x43a172;_0x2aeefd+=_0x361658[_0x44c065(0xb3)](_0x40ed78);}),_0x2aeefd;}[_0x32c06f(0xd0)](_0x3130ff,_0x13188d){const _0x22c45e=_0x32c06f,_0xcf3dd3=this[_0x22c45e(0xa6)][_0x22c45e(0xe3)][_0x22c45e(0xe4)](_0x22c45e(0xd3)),_0x563780=_0xcf3dd3[_0x22c45e(0xc9)](_0x3130ff),_0x4db83f=_0xcf3dd3[_0x22c45e(0xb7)](_0x3130ff),_0x305196=_0x563780[_0x22c45e(0xb6)]+0x1,_0x5c9444=_0x4db83f[_0x22c45e(0x98)],_0x328a9e=_0x3130ff[0x0][_0x22c45e(0xdd)](_0x22c45e(0xa4));for(let _0x12da31=0x0;_0x12da31<_0x13188d;_0x12da31++)_0xcf3dd3[_0x22c45e(0xbc)](_0x328a9e,{'at':_0x305196});return _0x328a9e[_0x22c45e(0xa7)](_0x305196)[_0x22c45e(0xa7)](_0x5c9444);}[_0x32c06f(0xc8)](_0x5733d4,_0x811b04){const _0xc946b9=_0x32c06f,{plugins:_0x55a15f}=this[_0xc946b9(0xa6)],{model:_0x173b29}=_0x5733d4;if(!_0x55a15f[_0xc946b9(0xe1)](_0xc946b9(0xd3)))return;_0x55a15f[_0xc946b9(0xe4)](_0xc946b9(0xd3))[_0xc946b9(0xd5)](_0x811b04)[_0xc946b9(0xd8)]&&_0x173b29[_0xc946b9(0x97)](_0x811b04);}}
|
|
23
|
+
const _0x268069=_0x3482;(function(_0x295778,_0x31a300){const _0x1843ae=_0x3482,_0x46b77b=_0x295778();while(!![]){try{const _0x3b8b82=-parseInt(_0x1843ae(0x1b7))/0x1+parseInt(_0x1843ae(0x1ca))/0x2*(-parseInt(_0x1843ae(0x17b))/0x3)+-parseInt(_0x1843ae(0x1d4))/0x4*(-parseInt(_0x1843ae(0x186))/0x5)+parseInt(_0x1843ae(0x1cc))/0x6*(parseInt(_0x1843ae(0x1c8))/0x7)+-parseInt(_0x1843ae(0x1bc))/0x8+-parseInt(_0x1843ae(0x17e))/0x9*(parseInt(_0x1843ae(0x181))/0xa)+parseInt(_0x1843ae(0x180))/0xb;if(_0x3b8b82===_0x31a300)break;else _0x46b77b['push'](_0x46b77b['shift']());}catch(_0x2d93fc){_0x46b77b['push'](_0x46b77b['shift']());}}}(_0x3d03,0xf3469));import{uid as _0x254af6}from'ckeditor5/src/utils.js';function _0x3d03(){const _0x12d0d9=['schema','getLastPosition','plugins','126uWOGHf','getSelectedBlocks','6852FWRzto','lowest','374454pFLzag','getChildren','pop','ck-ai-assistant-ui_theme','resultRange','createPositionAfter','selection','getChild','585436jHXZbL','_prepareTableInsertBelowPosition','ck-fake-ai-selection_collapsed','getMarkersGroup','isAtEnd','editor','getLastMatchingPosition','getRows','ck-fake-ai-selection','length','forEach','markerToHighlight','from','DataTransfer','end','has','getRange','canEditAt','paste','filter','getColumnIndexes','start','1314BLlUWG','_getDefaultInsertBelowPosition','href','9aoWhSa','getSelectedTableCells','45764818cBunDk','15121570OJBUgb','change','setData','span','createPositionAt','35TfxVAW','createUIElement','TableUtils','first','last','conversion','isContent','table','getRanges','model','_getTableRowCountFromContent','join','markers','text/html','editingDowncast','fire','parse','insertContentBelow','get','contentInsertion','editing','deleteContent','insertRows','findAncestor','createSelection','addMarker','getFirstRange','setSelection','once','isCollapsed','fromCharCode','map','afterInit','document','markerRange','data','AIAssistantEditing','for','insertContent','addClass','init','push','isPremiumPlugin','pluginName','_pasteHTMLUsingClipboard','updateMarker','hideFakeVisualSelection','getRowIndexes','ai-ui','797630uoscFK','markerToElement','removeMarker','element','_getAISelection','12011848GDgdXp','showFakeVisualSelection','createRange','ai.useTheme','_createEmptyTableRows','off','_resetContentOfSelectedTableCells','config','isOfficialPlugin'];_0x3d03=function(){return _0x12d0d9;};return _0x3d03();}function _0x3482(_0x4e0b07,_0x41f578){const _0x3d036d=_0x3d03();return _0x3482=function(_0x3482ef,_0x43312c){_0x3482ef=_0x3482ef-0x17a;let _0x406692=_0x3d036d[_0x3482ef];return _0x406692;},_0x3482(_0x4e0b07,_0x41f578);}import{Plugin as _0x3f93da}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5c5595}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x3c846a,DataTransfer as _0x58df74}from'ckeditor5/src/engine.js';const w=globalThis[_0x268069(0x1e1)],f=_0x268069(0x1b6);export default class a extends _0x3f93da{static get[_0x268069(0x1b1)](){const _0x5931d9=_0x268069;return _0x5931d9(0x1aa);}static get[_0x268069(0x1c4)](){return!0x0;}static get[_0x268069(0x1b0)](){return!0x0;}[_0x268069(0x1ae)](){const _0x5b5c2c=_0x268069,{editor:_0x53876c}=this,_0x463eab=[_0x5b5c2c(0x1dc)];_0x53876c[_0x5b5c2c(0x1c3)][_0x5b5c2c(0x198)](_0x5b5c2c(0x1bf))&&_0x463eab[_0x5b5c2c(0x1af)](_0x5b5c2c(0x1cf)),_0x53876c[_0x5b5c2c(0x18b)][_0x5b5c2c(0x1ab)](_0x5b5c2c(0x194))[_0x5b5c2c(0x1df)]({'model':f,'view':{'classes':_0x463eab,'priority':0xc}}),_0x53876c[_0x5b5c2c(0x18b)][_0x5b5c2c(0x1ab)](_0x5b5c2c(0x194))[_0x5b5c2c(0x1b8)]({'model':f,'view':(_0x5ce05f,{writer:_0x4671f6})=>{const _0x1b80d3=_0x5b5c2c;if(!_0x5ce05f[_0x1b80d3(0x1a8)][_0x1b80d3(0x1a3)])return null;const _0x59313f=_0x4671f6[_0x1b80d3(0x187)](_0x1b80d3(0x184));return _0x4671f6[_0x1b80d3(0x1ad)]([_0x1b80d3(0x1dc),_0x1b80d3(0x1d6)],_0x59313f),_0x59313f;}});}[_0x268069(0x1a6)](){!async function(_0x1a5d03){const _0xb341b4=_0x572287([0x38,0x6f,0x39,0x4d,0x32,0x50,0x71,0x6d,0x57,0x78,0x30,0x55,0x4e,0x64,0x52,0x70,0x6e,0x44,0x34,0x6a,0x36,0x5a,0x7a,0x41,0x66,0x73,0x62,0x4c,0x46,0x43,0x58,0x72,0x4f,0x59,0x31,0x61,0x53,0x54,0x56,0x37,0x51,0x35,0x68,0x75,0x69,0x77,0x79,0x6b,0x6c,0x48,0x49,0x76,0x47,0x4a,0x42,0x74,0x4b,0x65,0x67,0x63,0x45,0x33]),_0xf892c0=0x6e63e85a,_0x3be48e=0x6e648b62^_0xf892c0,_0xc23c39=window[_0x572287([0x44,0x61,0x74,0x65])][_0x572287([0x6e,0x6f,0x77])](),_0x4e49ac=_0x1a5d03[_0x572287([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4f7c46=new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eaf08=>{_0x4e49ac[_0x572287([0x6f,0x6e,0x63,0x65])](_0x572287([0x72,0x65,0x61,0x64,0x79]),_0x2eaf08);}),_0x48d6d5={[_0x572287([0x6b,0x74,0x79])]:_0x572287([0x45,0x43]),[_0x572287([0x75,0x73,0x65])]:_0x572287([0x73,0x69,0x67]),[_0x572287([0x63,0x72,0x76])]:_0x572287([0x50,0x2d,0x32,0x35,0x36]),[_0x572287([0x78])]:_0x572287([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]),[_0x572287([0x79])]:_0x572287([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]),[_0x572287([0x61,0x6c,0x67])]:_0x572287([0x45,0x53,0x32,0x35,0x36])},_0x300011=_0x4e49ac[_0x572287([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x572287([0x67,0x65,0x74])](_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47cf88(){let _0x214a73,_0x50624f=null,_0x5376bf=null;try{if(_0x300011==_0x572287([0x47,0x50,0x4c]))return _0x572287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x214a73=_0x1f3ec5(),!_0x214a73)return _0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x214a73[_0x572287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5376bf=_0x2d9967(_0x214a73[_0x572287([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x214a73[_0x572287([0x6a,0x74,0x69])])),await _0x44aca4()?_0x3b7cb5()?_0x3ea03a()?_0x572287([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x38f4da()?(_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50624f=_0x10eced(_0x572287([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572287([0x74,0x72,0x69,0x61,0x6c])&&(_0x50624f=_0x10eced(_0x572287([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x356763()):_0x572287([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x572287([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x37c390){return _0x572287([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ea03a(){const _0xb37495=[_0x572287([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x572287([0x74,0x72,0x69,0x61,0x6c])][_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc23c39/0x3e8:0xe10*_0x3be48e;return _0x214a73[_0x572287([0x65,0x78,0x70])]<_0xb37495;}function _0x3b7cb5(){const _0x4f93fd=_0x214a73[_0x572287([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f93fd&&(!!_0x4f93fd[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x2a]))||!!_0x4f93fd[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x41,0x49])));}function _0x38f4da(){const _0x4d19e4=_0x3482,_0x259724=_0x214a73[_0x572287([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x259724||0x0==_0x259724[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39a360}=new URL(window[_0x572287([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4d19e4(0x17d)]);if(_0x259724[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39a360))return!0x0;const _0x514eb5=_0x39a360[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e]));return _0x259724[_0x572287([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56ad96=>_0x56ad96[_0x572287([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572287([0x2a])))[_0x572287([0x6d,0x61,0x70])](_0x1d350c=>_0x1d350c[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e])))[_0x572287([0x73,0x6f,0x6d,0x65])](_0x546641=>_0x514eb5[_0x572287([0x65,0x76,0x65,0x72,0x79])]((_0x2ca427,_0x3004c8)=>_0x546641[_0x3004c8]===_0x2ca427||_0x546641[_0x3004c8]===_0x572287([0x2a])));}function _0x356763(){return _0x50624f&&_0x5376bf?new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f5b7d,_0x4ed2f1)=>{_0x50624f[_0x572287([0x74,0x68,0x65,0x6e])](_0x1f5b7d,_0x4ed2f1),_0x5376bf[_0x572287([0x74,0x68,0x65,0x6e])](_0x5ea80f=>{_0x5ea80f!=_0x572287([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5b7d(_0x5ea80f);},_0x4ed2f1);}):_0x50624f||_0x5376bf||_0x572287([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2d9967(_0x41785e,_0x1dac6c){return new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50ef7c=>{if(_0x3b93ec())return _0x50ef7c(_0x572287([0x56,0x61,0x6c,0x69,0x64]));_0x7b33af(),_0x4e49ac[_0x572287([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31bc22=!0x1;const _0xb23bd2=_0x254af6();function _0x21d1a5(_0x38469b){return!!_0x38469b&&(typeof _0x38469b===_0x572287([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38469b===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38469b[_0x572287([0x74,0x68,0x65,0x6e])]===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38469b[_0x572287([0x63,0x61,0x74,0x63,0x68])]===_0x572287([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe44439(_0x1229b3){_0x37855c(_0x1229b3)[_0x572287([0x74,0x68,0x65,0x6e])](_0x44d702=>{if(!_0x44d702||_0x44d702[_0x572287([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x572287([0x6f,0x6b]))return _0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3aedc4(_0x198d45(_0xb23bd2+_0x1dac6c))!=_0x44d702[_0x572287([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x572287([0x56,0x61,0x6c,0x69,0x64]);})[_0x572287([0x74,0x68,0x65,0x6e])](_0x5d3633=>(_0x2ae807(),_0x5d3633),()=>{const _0x248590=_0x54e209();return null==_0x248590?(_0x2ae807(),_0x572287([0x56,0x61,0x6c,0x69,0x64])):_0x572287(_0xc23c39-_0x248590>(0x4a6f6c5a^_0xf892c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x572287([0x74,0x68,0x65,0x6e])](_0x50ef7c)[_0x572287([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29fbc4=0x6e5506da^_0xf892c0;function _0x2ae807(){const _0x155157=_0x572287([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedc4(_0x198d45(_0x41785e)),_0xcaaa1e=_0x51d31f(_0x3aedc4(window[_0x572287([0x4d,0x61,0x74,0x68])][_0x572287([0x63,0x65,0x69,0x6c])](_0xc23c39/_0x29fbc4)));window[_0x572287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572287([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x155157,_0xcaaa1e);}function _0x54e209(){const _0x21e2c2=_0x572287([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aedc4(_0x198d45(_0x41785e)),_0x23ff46=window[_0x572287([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572287([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21e2c2);return _0x23ff46?window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d31f(_0x23ff46),0x10)*_0x29fbc4:null;}function _0x37855c(_0x1a5b4b){return new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x141f0d,_0x5b8f88)=>{_0x1a5b4b[_0x572287([0x74,0x68,0x65,0x6e])](_0x141f0d,_0x5b8f88),window[_0x572287([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b8f88,0x6e623c9a^_0xf892c0);});}}_0x4e49ac[_0x572287([0x6f,0x6e])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d93b0,_0x3619d6)=>{if(_0x3619d6[0x0]!=_0x41785e)return _0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3619d6[0x1]={..._0x3619d6[0x1],[_0x572287([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb23bd2};},{[_0x572287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572287([0x68,0x69,0x67,0x68])}),_0x4e49ac[_0x572287([0x6f,0x6e])](_0x572287([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53d409=>{_0x21d1a5(_0x53d409[_0x572287([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31bc22=!0x0,_0xe44439(_0x53d409[_0x572287([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x572287([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572287([0x6c,0x6f,0x77])}),_0x4f7c46[_0x572287([0x74,0x68,0x65,0x6e])](()=>{_0x31bc22||_0x50ef7c(_0x572287([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b93ec(){return _0x4e49ac[_0x572287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572287([0x76,0x69,0x65,0x77])][_0x572287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x572287([0x61,0x75,0x74,0x6f]);}function _0x7b33af(){_0x4e49ac[_0x572287([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572287([0x76,0x69,0x65,0x77])][_0x572287([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x572287([0x61,0x75,0x74,0x6f]);}}function _0x10eced(_0x699e4b){const _0x25f929=[new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bee0b=>setTimeout(_0x3bee0b,0x6e6ad696^_0xf892c0)),_0x4f7c46[_0x572287([0x74,0x68,0x65,0x6e])](()=>new window[(_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x218858=>{let _0xd0251c=0x0;_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x6f,0x6e])](_0x572287([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21df68,_0x4e8882)=>{_0x4e8882[0x0][_0x572287([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd0251c++,_0xd0251c==(0x6e63e9a2^_0xf892c0)&&(_0x218858(),_0x21df68[_0x572287([0x6f,0x66,0x66])]());});}))];return window[_0x572287([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x572287([0x72,0x61,0x63,0x65])](_0x25f929)[_0x572287([0x74,0x68,0x65,0x6e])](()=>_0x699e4b);}async function _0x18e235(){await _0x4f7c46,_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30826c,_0x4e49ac[_0x572287([0x6d,0x6f,0x64,0x65,0x6c])][_0x572287([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30826c,_0x4e49ac[_0x572287([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x572287([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x80c012(_0x2de772){const _0x2e7043=_0xf310e9();_0x4e49ac[_0x2e7043]=_0x572287([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2de772,_0x2de772!=_0x572287([0x56,0x61,0x6c,0x69,0x64])&&_0x18e235();}function _0xf310e9(){const _0x239926=window[_0x572287([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x572287([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x572287([0x6e,0x6f,0x77])]())[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x572287([0x2e]),'');let _0x19d345=_0x572287([0x6f]);for(let _0x1111cc=0x0;_0x1111cc<_0x239926[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1111cc+=0x2){let _0x4f5386=window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x239926[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1111cc,_0x1111cc+0x2));_0x4f5386>=_0xb341b4[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f5386-=_0xb341b4[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19d345+=_0xb341b4[_0x4f5386];}return _0x19d345;}function _0x1f3ec5(){const _0x30bd06=_0x300011[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e]));if(0x3!=_0x30bd06[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x497cfa(_0x30bd06[0x1]);function _0x497cfa(_0x157e62){const _0x2a3989=_0x4f7d0e(_0x157e62);return _0x2a3989&&_0xb0959c()?_0x2a3989:null;function _0xb0959c(){const _0xa57b46=_0x2a3989[_0x572287([0x6a,0x74,0x69])],_0x1cb4df=window[_0x572287([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa57b46[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa57b46[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x125729={..._0x2a3989,[_0x572287([0x6a,0x74,0x69])]:_0xa57b46[_0x572287([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa57b46[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x125729[_0x572287([0x76,0x63])],_0x198d45(_0x125729)==_0x1cb4df;}}}async function _0x44aca4(){let _0x30fee3=!0x0;try{const _0x473b81=_0x300011[_0x572287([0x73,0x70,0x6c,0x69,0x74])](_0x572287([0x2e])),[_0x473dbe,_0x10b819,_0x3a59b9]=_0x473b81;return _0x390797(_0x473dbe),await _0x236889(_0x473dbe,_0x10b819,_0x3a59b9),_0x30fee3;}catch(_0x52a1e4){return!0x1;}function _0x390797(_0x34a279){const _0x2c3c6b=_0x4f7d0e(_0x34a279);_0x2c3c6b&&_0x2c3c6b[_0x572287([0x61,0x6c,0x67])]==_0x572287([0x45,0x53,0x32,0x35,0x36])||(_0x30fee3=!0x1);}async function _0x236889(_0x4b5e7b,_0x3ae6ee,_0xafdf6c){const _0x5d6a5f=window[_0x572287([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x572287([0x66,0x72,0x6f,0x6d])](_0x4d2843(_0xafdf6c),_0x3d2c4b=>_0x3d2c4b[_0x572287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4c863e=new window[(_0x572287([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x572287([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b5e7b+_0x572287([0x2e])+_0x3ae6ee),_0xa208f3=window[_0x572287([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x572287([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa208f3)return;const _0x2a75e2=await _0xa208f3[_0x572287([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x572287([0x6a,0x77,0x6b]),_0x48d6d5,{[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x45,0x43,0x44,0x53,0x41]),[_0x572287([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x572287([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x572287([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa208f3[_0x572287([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x45,0x43,0x44,0x53,0x41]),[_0x572287([0x68,0x61,0x73,0x68])]:{[_0x572287([0x6e,0x61,0x6d,0x65])]:_0x572287([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2a75e2,_0x5d6a5f,_0x4c863e)||(_0x30fee3=!0x1);}}function _0x4f7d0e(_0x13e8c7){return _0x13e8c7[_0x572287([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x572287([0x65,0x79]))?JSON[_0x572287([0x70,0x61,0x72,0x73,0x65])](_0x4d2843(_0x13e8c7)):null;}function _0x4d2843(_0x23a790){return window[_0x572287([0x61,0x74,0x6f,0x62])](_0x23a790[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x572287([0x2b]))[_0x572287([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x572287([0x2f])));}function _0x198d45(_0x1bec4e){let _0x560ca9=0x1505;function _0x4e1d75(_0x64c7e3){for(let _0x37b79d=0x0;_0x37b79d<_0x64c7e3[_0x572287([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37b79d++){const _0x4a5d27=_0x64c7e3[_0x572287([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37b79d);_0x560ca9=(_0x560ca9<<0x5)+_0x560ca9+_0x4a5d27,_0x560ca9&=_0x560ca9;}}function _0x145660(_0x5ca889){Array[_0x572287([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ca889)?_0x5ca889[_0x572287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x145660):_0x5ca889&&typeof _0x5ca889==_0x572287([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x572287([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ca889)[_0x572287([0x73,0x6f,0x72,0x74])]()[_0x572287([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1974c3,_0x5e77ae])=>{_0x4e1d75(_0x1974c3),_0x145660(_0x5e77ae);}):_0x4e1d75(window[_0x572287([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ca889));}return _0x145660(_0x1bec4e),_0x560ca9>>>0x0;}function _0x3aedc4(_0x29580a){return _0x29580a[_0x572287([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x572287([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x572287([0x30]));}function _0x51d31f(_0x437c75){return _0x437c75[_0x572287([0x73,0x70,0x6c,0x69,0x74])]('')[_0x572287([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x572287([0x6a,0x6f,0x69,0x6e])]('');}function _0x30826c(){}function _0x572287(_0x439074){const _0x1a233e=_0x3482;return _0x439074[_0x1a233e(0x1a5)](_0x42037a=>String[_0x1a233e(0x1a4)](_0x42037a))[_0x1a233e(0x191)]('');}_0x80c012(await _0x47cf88());}(this);}[_0x268069(0x1bd)](){const _0x3cc0b0=_0x268069,_0x3bf80e=this[_0x3cc0b0(0x1d9)][_0x3cc0b0(0x18f)];_0x3bf80e[_0x3cc0b0(0x182)](_0x2bc3ad=>{const _0x442867=_0x3cc0b0,_0x52c0e3=_0x3bf80e[_0x442867(0x1a7)][_0x442867(0x1d2)][_0x442867(0x18e)]();let _0x34a1ba=0x0;for(const _0x222ec2 of _0x52c0e3){const _0x587a17=f+':'+_0x34a1ba;if(_0x3bf80e[_0x442867(0x192)][_0x442867(0x1e3)](_0x587a17))_0x2bc3ad[_0x442867(0x1b3)](_0x587a17,{'range':_0x222ec2});else{if(_0x222ec2[_0x442867(0x17a)][_0x442867(0x1d8)]){const _0x44711c=_0x222ec2[_0x442867(0x17a)][_0x442867(0x1da)](({item:_0x16f34d})=>!_0x3bf80e[_0x442867(0x1c5)][_0x442867(0x18c)](_0x16f34d),{'boundaries':_0x222ec2});_0x2bc3ad[_0x442867(0x19f)](_0x587a17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2bc3ad[_0x442867(0x1be)](_0x44711c,_0x222ec2[_0x442867(0x1e2)])});}else _0x2bc3ad[_0x442867(0x19f)](_0x587a17,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x222ec2});}_0x34a1ba++;}});}[_0x268069(0x1b4)](){const _0x296f2b=_0x268069,_0x554d03=this[_0x296f2b(0x1d9)][_0x296f2b(0x18f)],_0x431715=Array[_0x296f2b(0x1e0)](this[_0x296f2b(0x1d9)][_0x296f2b(0x18f)][_0x296f2b(0x192)][_0x296f2b(0x1d7)](f));_0x431715[_0x296f2b(0x1dd)]&&_0x554d03[_0x296f2b(0x182)](_0x208bcc=>{const _0x271394=_0x296f2b;_0x431715[_0x271394(0x1de)](_0x48d9b5=>{const _0x14f95a=_0x271394;_0x208bcc[_0x14f95a(0x1b9)](_0x48d9b5);});});}[_0x268069(0x1ac)](_0x425010,_0x1bc61d){const _0x3a4b17=_0x268069,_0x1dfca3=this[_0x3a4b17(0x1bb)](),_0x3dc30d=_0x1bc61d||_0x1dfca3[_0x3a4b17(0x1a0)]();this[_0x3a4b17(0x1d9)][_0x3a4b17(0x18f)][_0x3a4b17(0x1e5)](_0x3dc30d)&&this[_0x3a4b17(0x1d9)][_0x3a4b17(0x18f)][_0x3a4b17(0x182)](_0x460c6=>{const _0x23c8b2=_0x3a4b17;this[_0x23c8b2(0x1b4)](),_0x1bc61d||this[_0x23c8b2(0x1c2)](_0x460c6,_0x1dfca3),this[_0x23c8b2(0x1b2)]({'insertAt':_0x3dc30d,'writer':_0x460c6,'html':_0x425010});});}[_0x268069(0x197)](_0x21d241){const _0x1d4c5e=_0x268069,{model:_0x3a3110}=this[_0x1d4c5e(0x1d9)],_0x5745c1=this[_0x1d4c5e(0x1bb)]();_0x3a3110[_0x1d4c5e(0x182)](()=>{const _0x35b330=_0x1d4c5e,_0x51ee7f=this[_0x35b330(0x1d5)](_0x21d241,_0x5745c1)||this[_0x35b330(0x17c)](_0x5745c1);this[_0x35b330(0x1ac)](_0x21d241,_0x51ee7f);});}[_0x268069(0x1bb)](){const _0xa8f786=_0x268069,_0x1ed906=this[_0xa8f786(0x1d9)][_0xa8f786(0x18f)],_0x806253=Array[_0xa8f786(0x1e0)](_0x1ed906[_0xa8f786(0x192)][_0xa8f786(0x1d7)](f))[_0xa8f786(0x1a5)](_0x225708=>_0x225708[_0xa8f786(0x1e4)]());return _0x1ed906[_0xa8f786(0x19e)](_0x806253);}[_0x268069(0x1b2)]({writer:_0x5194de,html:_0x398cd5,insertAt:_0x13ab6d}){const _0x506bb3=_0x268069,{view:_0x40f55e}=this[_0x506bb3(0x1d9)][_0x506bb3(0x19a)],_0x121b84=this[_0x506bb3(0x1d9)][_0x506bb3(0x1c7)][_0x506bb3(0x198)](_0x5c5595),_0x56bba3=new w();_0x56bba3[_0x506bb3(0x183)](_0x506bb3(0x193),_0x398cd5);const _0x2ba196=new ClipboardEvent(_0x506bb3(0x1e6),{'clipboardData':_0x56bba3}),_0x5a664d=new _0x3c846a(_0x40f55e,_0x2ba196,{'dataTransfer':new _0x58df74(_0x56bba3)});_0x5194de[_0x506bb3(0x1a1)](_0x13ab6d);const _0x2008e9=(_0x416659,_0x317d6d)=>{const _0x41acda=_0x506bb3;_0x317d6d[_0x41acda(0x1d0)]&&_0x5194de[_0x41acda(0x1a1)](_0x317d6d[_0x41acda(0x1d0)]);};_0x121b84[_0x506bb3(0x1a2)](_0x506bb3(0x199),_0x2008e9,{'priority':_0x506bb3(0x1cb)}),_0x40f55e[_0x506bb3(0x1a7)][_0x506bb3(0x195)](_0x506bb3(0x1e6),_0x5a664d),_0x121b84[_0x506bb3(0x1c1)](_0x506bb3(0x199),_0x2008e9);}[_0x268069(0x17c)](_0xb57ad6){const _0x525a4c=_0x268069,{model:_0x4967a0}=this[_0x525a4c(0x1d9)],_0x44778f=Array[_0x525a4c(0x1e0)](_0xb57ad6[_0x525a4c(0x1c9)]());return _0x44778f[_0x525a4c(0x1dd)]?_0x4967a0[_0x525a4c(0x1d1)](_0x44778f[_0x525a4c(0x1ce)]()):_0xb57ad6[_0x525a4c(0x1c6)]();}[_0x268069(0x1d5)](_0x7c54e4,_0x5e5aba){const _0x2c7ced=_0x268069,{model:_0x447d06,plugins:_0x48940e}=this[_0x2c7ced(0x1d9)];if(_0x48940e[_0x2c7ced(0x1e3)](_0x2c7ced(0x188))){const _0x2ff526=_0x48940e[_0x2c7ced(0x198)](_0x2c7ced(0x188))[_0x2c7ced(0x17f)](_0x5e5aba);if(_0x2ff526[_0x2c7ced(0x1dd)]){const _0x507ee6=this[_0x2c7ced(0x190)](_0x7c54e4),_0xc5896b=this[_0x2c7ced(0x1c0)](_0x2ff526,_0x507ee6);return _0x447d06[_0x2c7ced(0x185)](_0xc5896b,0x0);}}return null;}[_0x268069(0x190)](_0x3c1442){const _0x91307d=_0x268069,_0x2a9a94=this[_0x91307d(0x1d9)][_0x91307d(0x1c7)][_0x91307d(0x198)](_0x91307d(0x188)),_0x67145=this[_0x91307d(0x1d9)][_0x91307d(0x1a9)][_0x91307d(0x196)](_0x3c1442),_0x3240ae=Array[_0x91307d(0x1e0)](_0x67145[_0x91307d(0x1cd)]())[_0x91307d(0x1e7)](_0x3b5bb3=>_0x3b5bb3['is'](_0x91307d(0x1ba),_0x91307d(0x18d)));let _0x1644d9=0x0;return _0x3240ae[_0x91307d(0x1de)](_0x38c2f5=>{const _0x5088a6=_0x91307d;_0x1644d9+=_0x2a9a94[_0x5088a6(0x1db)](_0x38c2f5);}),_0x1644d9;}[_0x268069(0x1c0)](_0x1c3b11,_0x12584b){const _0xfbb973=_0x268069,_0x392e09=this[_0xfbb973(0x1d9)][_0xfbb973(0x1c7)][_0xfbb973(0x198)](_0xfbb973(0x188)),_0x15e067=_0x392e09[_0xfbb973(0x1b5)](_0x1c3b11),_0x34a203=_0x392e09[_0xfbb973(0x1e8)](_0x1c3b11),_0x4f1376=_0x15e067[_0xfbb973(0x18a)]+0x1,_0x1e45b7=_0x34a203[_0xfbb973(0x189)],_0x531f3c=_0x1c3b11[0x0][_0xfbb973(0x19d)](_0xfbb973(0x18d));for(let _0x5b0946=0x0;_0x5b0946<_0x12584b;_0x5b0946++)_0x392e09[_0xfbb973(0x19c)](_0x531f3c,{'at':_0x4f1376});return _0x531f3c[_0xfbb973(0x1d3)](_0x4f1376)[_0xfbb973(0x1d3)](_0x1e45b7);}[_0x268069(0x1c2)](_0x5c114b,_0x288eec){const _0x11985f=_0x268069,{plugins:_0x1c8e2f}=this[_0x11985f(0x1d9)],{model:_0x36e437}=_0x5c114b;if(!_0x1c8e2f[_0x11985f(0x1e3)](_0x11985f(0x188)))return;_0x1c8e2f[_0x11985f(0x198)](_0x11985f(0x188))[_0x11985f(0x17f)](_0x288eec)[_0x11985f(0x1dd)]&&_0x36e437[_0x11985f(0x19b)](_0x288eec);}}
|
package/src/aiassistantui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xef5b2a=_0x105c;(function(_0x30d3b8,_0x28da89){const _0x24e9cc=_0x105c,_0x1ac582=_0x30d3b8();while(!![]){try{const _0x28802d=parseInt(_0x24e9cc(0xfe))/0x1*(-parseInt(_0x24e9cc(0x112))/0x2)+parseInt(_0x24e9cc(0x11c))/0x3*(parseInt(_0x24e9cc(0x18e))/0x4)+parseInt(_0x24e9cc(0x107))/0x5+parseInt(_0x24e9cc(0x186))/0x6*(parseInt(_0x24e9cc(0x16b))/0x7)+-parseInt(_0x24e9cc(0x16c))/0x8*(parseInt(_0x24e9cc(0xfd))/0x9)+parseInt(_0x24e9cc(0x16a))/0xa*(-parseInt(_0x24e9cc(0x166))/0xb)+-parseInt(_0x24e9cc(0xe2))/0xc*(-parseInt(_0x24e9cc(0x177))/0xd);if(_0x28802d===_0x28da89)break;else _0x1ac582['push'](_0x1ac582['shift']());}catch(_0x234f75){_0x1ac582['push'](_0x1ac582['shift']());}}}(_0x1882,0x82e67));import{Plugin as _0x5f42e9}from'ckeditor5/src/core.js';import{first as _0x3dce99,CKEditorError as _0xba9ec}from'ckeditor5/src/utils.js';import{createDropdown as _0x36039a,addMenuToDropdown as _0x50bea7,ButtonView as _0x40ddd1,MenuBarMenuListItemButtonView as _0x22e850,Dialog as _0x2e65d7,DialogViewPosition as _0x25bd09,MenuBarMenuView as _0x4dc7d1,MenuBarMenuListView as _0x1e5ffb,MenuBarMenuListItemView as _0x18da74}from'ckeditor5/src/ui.js';import{icons as _0x5179d2}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1882(){const _0x5862c2=['showAIAssistant','ai.aiAssistant.disabledElements','queryView','hideUI','381XgUvco','pluginName','getSelectedBlocks','forEach','isEnabled','replace','change:enabledCommandsIds','get','AI\x20Commands','aiLicenseKeyTrialLimit','isOn','execute','children','text/html','getSelectedElement','media','trialLimit','ck-ai-assistant-ui','expired','update','EDITOR_TOP_SIDE','bind','isFlat','change:value','textAdapter','AI\x20is\x20writing','aiLicenseKeyUsageLimit','selection','custom','push','enabledCommandsIds','showUI','change','show','filter','focus','INSERT','_licenseKeyCheckInterval','updateView','listenTo','_initAriaAiStatusChangeAnnouncements','_aiAdapter','licenseKey','ai-commands-config-order-collision','menuBar:aiCommands','_populateMenuBarMenu','aiCommands','reset','isOfficialPlugin','componentFactory','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyDomainLimit','splice','\x20ck-ai-assistant-ui_theme','ai.aiAssistant.commands','addMany','locale','_showLicenseError','requiresContent','contentArea','_aiAssistantController','add','buttons','AI\x20Assistant','replaceContent','copy','config','REPLACE','map','plugins','define','requires','_onExecute','hide','1265xUYigk','menuBar:aiAssistant','change:isError','editor','48090refGKb','6846469DeBBQY','1508216FtbeQd','menuPanelClass','errorView','ck-ai-assistant-button\x20','menuitemcheckbox','includes','init','menuView','featureNotAllowed','render','items','1402258fbjiFc','order','AIAssistant','_commandDefinitions','ai.aiAssistant.contentAreaCssClass','schema','groupId','aiAssistant','polite','</p>','getRanges','robotPencil','showFakeVisualSelection','aiLicenseKeyNotAllowed','evaluationLimit','6ZHyCuz','trim','model','length','body','comment','text','fieldView','17984XgVOMr','domainLimit','isCollapsed','groupLabel','change:isProcessing','promptView','insertContent','aiLicenseKeyEvaluationLimit','132VvEoEJ','_initView','values','delegate','currentContext','once','AIAssistantUI','ck-ai-commands-dropdown\x20','ai.useTheme','_dialog','updatePosition','view','buttonView','_getResolvedCommandsDefinitions','rawHtml','invalid','usageLimit','set','prompt','aiLicenseKeyExpired','getLimitElement','DataTransfer','insertContentBelow','wasMoved','<p>','setSelection','announce','45ZKkpTm','249kOKTko','editing','command:','tableOfContents','getData','sort','_uiCssClasses','Generated\x20content:\x20%0','from','622130fcRKLY','hideFakeVisualSelection','fire','commands','label','_getMenuBarGroupButtons','_formView','_forceMarkersCopy','destroy','isPremiumPlugin','_createAIAssistantUIButton','6652jjVnrU','panelView','document','source','aiLicenseKeyInvalid','aiLicenseKeyValid'];_0x1882=function(){return _0x5862c2;};return _0x1882();}import{normalizeCommandsConfig as _0x33fa0f,UNGROUPED_COMMANDS_GROUP_ID as _0x5e0872}from'./utils/normalizecommandsconfig.js';import _0x568730 from'./aiassistantediting.js';import _0x8df8c7 from'./adapters/aiadapter.js';import{getTranslation as _0x5c91af}from'./utils/common-translations.js';import _0x5cb034 from'./ui/showaiassistantcommand.js';import _0x3ec060 from'./ui/aiassistantcontroller.js';import _0x2a31d5 from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x287588}from'./ui/form/aiformtoolbarview.js';import _0x41f294 from'../theme/icons/magic-wand.svg';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0xef5b2a(0xf7)];import{ClipboardMarkersUtils as _0x194d33}from'ckeditor5/src/clipboard.js';function _0x105c(_0x2db341,_0x1cefe5){const _0x1882cb=_0x1882();return _0x105c=function(_0x105c25,_0x1ebd17){_0x105c25=_0x105c25-0xe0;let _0x13f77b=_0x1882cb[_0x105c25];return _0x13f77b;},_0x105c(_0x2db341,_0x1cefe5);}import{DomEventData as _0x5a0d4d,DataTransfer as _0x4ac3df}from'ckeditor5/src/engine.js';export default class n extends _0x5f42e9{static get[_0xef5b2a(0x11d)](){const _0x54b9b8=_0xef5b2a;return _0x54b9b8(0xe8);}static get[_0xef5b2a(0x14c)](){return!0x0;}static get[_0xef5b2a(0x110)](){return!0x0;}static get[_0xef5b2a(0x163)](){return[_0x194d33,_0x568730,_0x8df8c7,_0x2e65d7];}constructor(_0xc723bf){const _0x4c26a1=_0xef5b2a;super(_0xc723bf),this[_0x4c26a1(0x104)]='',_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0x119),[_0x4c26a1(0x12b),_0x4c26a1(0xf0),_0x4c26a1(0x101)]),_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0x17b),''),_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x162)](_0x4c26a1(0xea),!0x0),this[_0x4c26a1(0x104)]=_0x4c26a1(0x12d)+(_0xc723bf[_0x4c26a1(0x15e)][_0x4c26a1(0x123)](_0x4c26a1(0xea))?_0x4c26a1(0x151):'');}[_0xef5b2a(0x172)](){const _0x528931=_0xef5b2a,{editor:_0xe41764}=this;this[_0x528931(0x145)]=_0xe41764[_0x528931(0x161)][_0x528931(0x123)](_0x8df8c7),this[_0x528931(0xeb)]=_0xe41764[_0x528931(0x161)][_0x528931(0x123)](_0x2e65d7),this[_0x528931(0x10d)]=null,this[_0x528931(0x17a)]=this[_0x528931(0xef)]();const _0x32e7e3=new _0x5cb034(_0xe41764,Array[_0x528931(0x106)](this[_0x528931(0x17a)][_0x528931(0xe4)]()));_0xe41764[_0x528931(0x10a)][_0x528931(0x159)](_0x528931(0x118),_0x32e7e3),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x14a),_0x313f87=>{const _0x52ec02=_0x528931,_0x4039e3=_0x36039a(_0x313f87);return _0x4039e3[_0x52ec02(0xf3)]({'class':_0x52ec02(0xe9)+this[_0x52ec02(0x104)]}),_0x4039e3[_0x52ec02(0xee)][_0x52ec02(0xf3)]({'label':_0x5c91af(_0x313f87,_0x52ec02(0x124)),'icon':_0x41f294,'tooltip':!0x0}),_0x4039e3['on'](_0x52ec02(0x127),_0x2ac06f=>this[_0x52ec02(0x164)](_0x2ac06f[_0x52ec02(0x115)]['id'])),_0x50bea7(_0x4039e3,_0xe41764['ui'][_0x52ec02(0xed)][_0x52ec02(0x18a)],function(_0xdb842f){const _0x3b730f=_0x52ec02,_0x3799d7=_0x33fa0f(_0xdb842f[_0x3b730f(0x15e)][_0x3b730f(0x123)](_0x3b730f(0x152)),_0xdb842f[_0x3b730f(0x154)]),_0x5e3c9d=U(_0xdb842f,_0x3799d7)[_0x3b730f(0x13e)](_0x631f60=>_0x631f60[_0x3b730f(0x10a)][_0x3b730f(0x189)]);if(0x1===_0x5e3c9d[_0x3b730f(0x189)])return U(_0xdb842f,_0x5e3c9d[0x0][_0x3b730f(0x10a)])[_0x3b730f(0x160)](_0x174074=>({'id':_0x174074['id'],'label':_0x174074[_0x3b730f(0x10b)]}));return _0x5e3c9d[_0x3b730f(0x160)](_0x1eaed4=>{const _0x220ee2=_0x3b730f,{groupId:_0x435aff,groupLabel:_0x300ab8,commands:_0x205941}=_0x1eaed4,_0x11a217=U(_0xdb842f,_0x205941)[_0x220ee2(0x160)](_0x43c8f0=>({'id':_0x43c8f0['id'],'label':_0x43c8f0[_0x220ee2(0x10b)]}));return{'id':_0x435aff,'menu':_0x300ab8||_0x435aff,'children':_0x11a217};});}(_0xe41764),{'ariaLabel':_0x5c91af(_0x313f87,_0x52ec02(0x124))}),_0x4039e3[_0x52ec02(0x173)][_0x52ec02(0x16d)]=_0x52ec02(0xe9)+this[_0x52ec02(0x104)],_0x32e7e3['on'](_0x52ec02(0x122),_0xbb7801),_0x4039e3[_0x52ec02(0x173)][_0x52ec02(0xe7)](_0x52ec02(0x175),_0xbb7801),_0x4039e3;function _0xbb7801(){const _0x4e5542=_0x52ec02;_0x4039e3[_0x4e5542(0x120)]=_0x32e7e3[_0x4e5542(0x13a)][_0x4e5542(0x189)]>0x0;for(const _0x4fdb2c of _0x4039e3[_0x4e5542(0x173)][_0x4e5542(0x15a)])_0x4fdb2c[_0x4e5542(0x120)]=_0x32e7e3[_0x4e5542(0x13a)][_0x4e5542(0x171)](_0x4fdb2c['id']);}}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x148),_0x3fe951=>{const _0x45b4e3=_0x528931,_0x359e96=new _0x4dc7d1(_0x3fe951);_0x359e96[_0x45b4e3(0xee)][_0x45b4e3(0xf3)]({'label':_0x5c91af(_0x3fe951,_0x45b4e3(0x124)),'icon':_0x41f294}),_0x359e96[_0x45b4e3(0x131)](_0x45b4e3(0x120))['to'](_0x32e7e3,_0x45b4e3(0x13a),_0x1c220b=>_0x1c220b[_0x45b4e3(0x189)]>0x0);const _0x3b4d88=_0x33fa0f(_0xe41764[_0x45b4e3(0x15e)][_0x45b4e3(0x123)](_0x45b4e3(0x152)),_0x3fe951);return this[_0x45b4e3(0x149)](_0x32e7e3,_0x359e96,_0x3b4d88,_0x31402b=>this[_0x45b4e3(0x164)](_0x31402b)),_0x359e96;}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x17e),()=>{const _0x17e5a5=_0x528931,_0x1cdcac=this[_0x17e5a5(0x111)](_0x40ddd1);return _0x1cdcac[_0x17e5a5(0xf3)]({'tooltip':!0x0,'class':_0x17e5a5(0x16f)+this[_0x17e5a5(0x104)]}),_0x1cdcac;}),_0xe41764['ui'][_0x528931(0x14d)][_0x528931(0x159)](_0x528931(0x167),()=>{const _0x537d6f=_0x528931,_0x5e4a09=this[_0x537d6f(0x111)](_0x22e850);return _0x5e4a09[_0x537d6f(0xf3)]({'role':_0x537d6f(0x170)}),_0x5e4a09;}),this[_0x528931(0x146)]=this[_0x528931(0x169)][_0x528931(0x15e)][_0x528931(0x123)](_0x528931(0x146));const _0x1cd8a1=this[_0x528931(0x169)];this[_0x528931(0x141)]=setInterval(()=>{const _0xacfb69=_0x528931;let _0x3b0a89;for(const _0x43c101 in _0x1cd8a1){const _0x3a5669=_0x43c101,_0x5c301b=_0x1cd8a1[_0x3a5669];if(_0xacfb69(0x117)==_0x5c301b||_0xacfb69(0x116)==_0x5c301b||_0xacfb69(0xf5)==_0x5c301b||_0xacfb69(0x14f)==_0x5c301b||_0xacfb69(0x184)==_0x5c301b||_0xacfb69(0xe1)==_0x5c301b||_0xacfb69(0x125)==_0x5c301b||_0xacfb69(0x136)==_0x5c301b){delete _0x1cd8a1[_0x3a5669],_0x3b0a89=_0x5c301b,clearInterval(this[_0xacfb69(0x141)]),this[_0xacfb69(0x141)]=void 0x0;break;}}_0xacfb69(0x116)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0xf1)),_0xacfb69(0xf5)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x12e)),_0xacfb69(0x14f)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x18f)),_0xacfb69(0x184)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x174),_0xacfb69(0x179)),_0xacfb69(0xe1)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x185)),_0xacfb69(0x125)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0x12c)),_0xacfb69(0x136)==_0x3b0a89&&_0x1cd8a1[_0xacfb69(0x155)](_0xacfb69(0xf2));},0x3e8);}[_0xef5b2a(0x10f)](){const _0x1433ef=_0xef5b2a;super[_0x1433ef(0x10f)](),this[_0x1433ef(0x141)]&&clearInterval(this[_0x1433ef(0x141)]);}[_0xef5b2a(0x13b)](_0x8b0a76='',_0x10305c='',_0x1fa117=_0xef5b2a(0x138)){const _0x2a1243=_0xef5b2a,_0x3e383b=this[_0x2a1243(0x169)],_0x3980f9=_0x3e383b[_0x2a1243(0xff)][_0x2a1243(0xed)],_0x4bb24c=_0x3e383b[_0x2a1243(0x161)][_0x2a1243(0x123)](_0x568730),_0x9029b3=_0x3e383b[_0x2a1243(0x161)][_0x2a1243(0x123)](_0x194d33);_0x4bb24c[_0x2a1243(0x183)]();const _0x4663bd=new w(),_0x4d1fff=new ClipboardEvent(_0x2a1243(0x15d),{'clipboardData':_0x4663bd}),_0x495149=new _0x4ac3df(_0x4663bd),_0x2fac2c=new _0x5a0d4d(_0x3980f9,_0x4d1fff,{'dataTransfer':_0x495149});_0x9029b3[_0x2a1243(0x10e)](_0x2a1243(0x18b),()=>{const _0x74d88=_0x2a1243;_0x3980f9[_0x74d88(0x114)][_0x74d88(0x109)](_0x74d88(0x15d),_0x2fac2c);}),this[_0x2a1243(0x10d)]||(this[_0x2a1243(0xe3)](),this[_0x2a1243(0x158)]=new _0x3ec060(_0x3e383b,this[_0x2a1243(0x145)][_0x2a1243(0x134)],this[_0x2a1243(0x10d)]));let _0x3e707b=_0x495149[_0x2a1243(0x102)](_0x2a1243(0x129));const _0x2049ff=_0x3e383b[_0x2a1243(0x188)][_0x2a1243(0x114)][_0x2a1243(0x137)],_0x57a72f=Array[_0x2a1243(0x106)](_0x2049ff[_0x2a1243(0x181)]());0x1===_0x57a72f[_0x2a1243(0x189)]&&_0x57a72f[0x0][_0x2a1243(0x132)]&&!_0x2049ff[_0x2a1243(0x12a)]()&&''!==_0x3e707b[_0x2a1243(0x121)](/ /g,'')[_0x2a1243(0x187)]()&&(_0x3e707b=_0x2a1243(0xfa)+_0x3e707b+_0x2a1243(0x180)),this[_0x2a1243(0x158)][_0x2a1243(0x142)]({'actionId':_0x1fa117,'query':_0x8b0a76,'htmlContent':_0x3e707b,'label':_0x10305c,'mainActionLabel':_0x287588[_0x3e383b[_0x2a1243(0x188)][_0x2a1243(0x114)][_0x2a1243(0x137)][_0x2a1243(0x190)]?_0x2a1243(0x140):_0x2a1243(0x15f)]}),_0x2a1243(0x17e)!==this[_0x2a1243(0xeb)]['id']?this[_0x2a1243(0xeb)][_0x2a1243(0x13d)]({'id':_0x2a1243(0x17e),'icon':_0x5179d2[_0x2a1243(0x182)],'title':_0x5c91af(this[_0x2a1243(0x169)][_0x2a1243(0x154)],_0x2a1243(0x15b)),'content':this[_0x2a1243(0x10d)],'position':_0x25bd09[_0x2a1243(0x130)],'onShow':()=>{const _0x3f4a8c=_0x2a1243;this[_0x3f4a8c(0x10d)][_0x3f4a8c(0x13f)]();},'onHide':()=>{const _0x296a9c=_0x2a1243;this[_0x296a9c(0x158)][_0x296a9c(0x14b)](),_0x4bb24c[_0x296a9c(0x108)]();}}):this[_0x2a1243(0xeb)][_0x2a1243(0xed)][_0x2a1243(0xf9)]||this[_0x2a1243(0xeb)][_0x2a1243(0xed)][_0x2a1243(0xec)]();}[_0xef5b2a(0x11b)](){const _0x4dfbb6=_0xef5b2a;this[_0x4dfbb6(0xeb)][_0x4dfbb6(0x165)]();}[_0xef5b2a(0xef)](){const _0x2fc14e=_0xef5b2a,_0x19748a=new Map(),_0x1c81af=_0x33fa0f(this[_0x2fc14e(0x169)][_0x2fc14e(0x15e)][_0x2fc14e(0x123)](_0x2fc14e(0x152)),this[_0x2fc14e(0x169)][_0x2fc14e(0x154)]);for(const _0x3ab241 of _0x1c81af)for(const _0x3c43fe of _0x3ab241[_0x2fc14e(0x10a)])_0x19748a[_0x2fc14e(0xf3)](_0x3c43fe['id'],{..._0x3c43fe,'groupId':_0x3ab241[_0x2fc14e(0x17d)],'groupLabel':_0x3ab241[_0x2fc14e(0x191)]||_0x3ab241[_0x2fc14e(0x17d)]});return _0x19748a;}[_0xef5b2a(0x111)](_0x3a5907){const _0x133753=_0xef5b2a,_0x2cba2e=this[_0x133753(0x169)],_0x4488eb=_0x2cba2e[_0x133753(0x10a)][_0x133753(0x123)](_0x133753(0x118)),_0x5d4063=new _0x3a5907(_0x2cba2e[_0x133753(0x154)]);return _0x5d4063[_0x133753(0xf3)]({'label':_0x5c91af(_0x2cba2e[_0x133753(0x154)],_0x133753(0x15b)),'icon':_0x5179d2[_0x133753(0x182)],'isToggleable':!0x0}),_0x5d4063[_0x133753(0x131)](_0x133753(0x120))['to'](_0x4488eb),_0x5d4063[_0x133753(0x131)](_0x133753(0x126))['to'](this[_0x133753(0xeb)],'id',_0x2198b6=>_0x133753(0x17e)===_0x2198b6),this[_0x133753(0x143)](_0x5d4063,_0x133753(0x127),()=>{const _0x218280=_0x133753;_0x5d4063[_0x218280(0x126)]?this[_0x218280(0x11b)]():_0x4488eb[_0x218280(0x127)]();}),_0x5d4063;}[_0xef5b2a(0xe3)](){const _0x36a926=_0xef5b2a,_0x23b0c1=this[_0x36a926(0x169)][_0x36a926(0x161)][_0x36a926(0x123)](_0x568730);this[_0x36a926(0x10d)]=new _0x2a31d5(this[_0x36a926(0x169)][_0x36a926(0x154)],this[_0x36a926(0x104)],this[_0x36a926(0x169)][_0x36a926(0x15e)][_0x36a926(0x123)](_0x36a926(0x17b))),this[_0x36a926(0x10d)]['on'](_0x36a926(0x133),()=>{const _0x1bcc1e=_0x36a926;this[_0x1bcc1e(0xeb)][_0x1bcc1e(0xed)][_0x1bcc1e(0xf9)]||this[_0x1bcc1e(0xeb)][_0x1bcc1e(0xed)][_0x1bcc1e(0xec)]();}),this[_0x36a926(0x10d)][_0x36a926(0x193)][_0x36a926(0x11a)][_0x36a926(0x18d)]['on'](_0x36a926(0x12f),()=>{const _0x3eed02=_0x36a926;this[_0x3eed02(0xeb)][_0x3eed02(0xed)][_0x3eed02(0xf9)]||this[_0x3eed02(0xeb)][_0x3eed02(0xed)][_0x3eed02(0xec)]();}),this[_0x36a926(0x143)](this[_0x36a926(0x10d)],_0x36a926(0x15c),()=>{const _0x32bf4f=_0x36a926;_0x23b0c1[_0x32bf4f(0xe0)](this[_0x32bf4f(0x158)][_0x32bf4f(0xe6)]),this[_0x32bf4f(0x11b)]();}),this[_0x36a926(0x143)](this[_0x36a926(0x10d)],_0x36a926(0xf8),()=>{const _0x3cd333=_0x36a926;_0x23b0c1[_0x3cd333(0xf8)](this[_0x3cd333(0x158)][_0x3cd333(0xe6)]),this[_0x3cd333(0x11b)]();}),this[_0x36a926(0x144)]();}[_0xef5b2a(0x144)](){const _0x4175cb=_0xef5b2a,{locale:_0x3ce1ee,ui:{ariaLiveAnnouncer:_0x45d41d}}=this[_0x4175cb(0x169)];this[_0x4175cb(0x10d)][_0x4175cb(0x157)]['on'](_0x4175cb(0x192),(_0x525460,_0x24fa6b,_0x33f613)=>{const _0x13be70=_0x4175cb,_0x186fd6=this[_0x13be70(0x158)][_0x13be70(0xe6)];_0x33f613?_0x45d41d[_0x13be70(0xfc)](_0x5c91af(_0x3ce1ee,_0x13be70(0x135))):_0x186fd6&&_0x45d41d[_0x13be70(0xfc)](_0x5c91af(_0x3ce1ee,_0x13be70(0x105),_0x186fd6),{'politeness':_0x13be70(0x17f),'isUnsafeHTML':!0x0});}),this[_0x4175cb(0x10d)]['on'](_0x4175cb(0x168),(_0x46bd4e,_0x31cd36,_0x222f9f)=>{const _0x589c2d=_0x4175cb;if(_0x222f9f){const _0x575cff=this[_0x589c2d(0x10d)][_0x589c2d(0x16e)][_0x589c2d(0x18c)];_0x45d41d[_0x589c2d(0xfc)](_0x5c91af(_0x3ce1ee,_0x589c2d(0x14e),_0x575cff));}});}[_0xef5b2a(0x164)](_0x267850){const _0x792e20=_0xef5b2a,_0x3e41eb=this[_0x792e20(0x17a)][_0x792e20(0x123)](_0x267850),_0x10dd47=this[_0x792e20(0x169)],_0x51eee9=_0x10dd47[_0x792e20(0x188)][_0x792e20(0x114)][_0x792e20(0x137)],_0x5520ef=_0x10dd47[_0x792e20(0x10a)][_0x792e20(0x123)](_0x792e20(0x118)),_0xc6d77b=_0x10dd47[_0x792e20(0x161)][_0x792e20(0x123)](_0x568730),_0x21a10b=''+(_0x3e41eb[_0x792e20(0x17d)]!==_0x5e0872?_0x3e41eb[_0x792e20(0x191)]+':\x20':'')+_0x3e41eb[_0x792e20(0x10b)];if(!0x1!==_0x3e41eb[_0x792e20(0x156)]&&_0x51eee9[_0x792e20(0x190)]){const _0x27751e=_0x3dce99(_0x51eee9[_0x792e20(0x11e)]())||_0x10dd47[_0x792e20(0x188)][_0x792e20(0x17c)][_0x792e20(0xf6)](_0x51eee9);_0x10dd47[_0x792e20(0x188)][_0x792e20(0x13c)](_0x161293=>{const _0x5e93df=_0x792e20;_0x161293[_0x5e93df(0xfb)](_0x27751e,'in');});}_0xc6d77b[_0x792e20(0x183)](),_0x5520ef[_0x792e20(0x127)](_0x3e41eb[_0x792e20(0xf4)],_0x21a10b,_0x792e20(0x100)+_0x267850);}[_0xef5b2a(0x149)](_0x535580,_0x11a730,_0x2c9948,_0x2beaac){const _0x2cb79d=_0xef5b2a,_0x1e494f=this[_0x2cb79d(0x169)],_0x1e74b3=_0x1e494f[_0x2cb79d(0x154)],_0x323440=new _0x1e5ffb(_0x1e74b3),_0x23ddcc=U(_0x1e494f,_0x2c9948)[_0x2cb79d(0x13e)](_0x331cfe=>_0x331cfe[_0x2cb79d(0x10a)][_0x2cb79d(0x189)]);0x1===_0x23ddcc[_0x2cb79d(0x189)]?this[_0x2cb79d(0x10c)]({'command':_0x535580,'commands':_0x23ddcc[0x0][_0x2cb79d(0x10a)],'parentMenuView':_0x11a730,'onExecute':_0x2beaac})[_0x2cb79d(0x11f)](_0x17ff48=>_0x323440[_0x2cb79d(0x176)][_0x2cb79d(0x159)](_0x17ff48)):_0x23ddcc[_0x2cb79d(0x11f)](({groupId:_0x2e60a2,groupLabel:_0x274342,commands:_0x3a1893})=>{const _0x51e939=_0x2cb79d,_0x4f6413=new _0x18da74(_0x1e74b3,_0x11a730),_0xc15809=new _0x4dc7d1(_0x1e74b3),_0x41ab98=new _0x1e5ffb(_0x1e74b3),_0x3fd725=this[_0x51e939(0x10c)]({'command':_0x535580,'commands':_0x3a1893,'parentMenuView':_0xc15809,'onExecute':_0x2beaac});_0xc15809[_0x51e939(0xee)][_0x51e939(0xf3)]({'label':_0x274342||_0x2e60a2}),_0xc15809[_0x51e939(0xe5)](_0x51e939(0x127))['to'](_0x11a730),_0x41ab98[_0x51e939(0x176)][_0x51e939(0x153)](_0x3fd725),_0xc15809[_0x51e939(0x113)][_0x51e939(0x128)][_0x51e939(0x159)](_0x41ab98),_0x4f6413[_0x51e939(0x128)][_0x51e939(0x159)](_0xc15809),_0x323440[_0x51e939(0x176)][_0x51e939(0x159)](_0x4f6413);}),_0x11a730[_0x2cb79d(0x113)][_0x2cb79d(0x128)][_0x2cb79d(0x159)](_0x323440);}[_0xef5b2a(0x10c)]({command:_0x2d416f,commands:_0x3d7254,parentMenuView:_0x3e8cbc,onExecute:_0x5d9a4b}){const _0x16e405=_0xef5b2a,_0x1671ec=this[_0x16e405(0x169)],_0x3e33f4=_0x1671ec[_0x16e405(0x154)];return U(_0x1671ec,_0x3d7254)[_0x16e405(0x160)](_0x371db8=>{const _0x3119d5=_0x16e405,_0x2e4898=new _0x18da74(_0x3e33f4,_0x3e8cbc),_0x139941=new _0x22e850(_0x3e33f4);return _0x139941[_0x3119d5(0xf3)]({'label':_0x371db8[_0x3119d5(0x10b)]}),_0x139941[_0x3119d5(0xe5)](_0x3119d5(0x127))['to'](_0x3e8cbc),_0x139941['on'](_0x3119d5(0x127),()=>_0x5d9a4b(_0x371db8['id'])),_0x139941[_0x3119d5(0x131)](_0x3119d5(0x120))['to'](_0x2d416f,_0x3119d5(0x13a),_0x1f2da0=>_0x1f2da0[_0x3119d5(0x171)](_0x371db8['id'])),_0x2e4898[_0x3119d5(0x128)][_0x3119d5(0x159)](_0x139941),_0x2e4898;});}}function B(_0x3ddb98,_0x59dad2){const _0x35bc01=_0xef5b2a;return void 0x0!==_0x3ddb98[_0x35bc01(0x178)]&&void 0x0===_0x59dad2[_0x35bc01(0x178)]?0x1:void 0x0===_0x3ddb98[_0x35bc01(0x178)]&&void 0x0!==_0x59dad2[_0x35bc01(0x178)]?-0x1:void 0x0!==_0x3ddb98[_0x35bc01(0x178)]&&void 0x0!==_0x59dad2[_0x35bc01(0x178)]?_0x3ddb98[_0x35bc01(0x178)]-_0x59dad2[_0x35bc01(0x178)]:0x0;}function U(_0x2af58b,_0x88c782){const _0x556eba=_0xef5b2a;_0x88c782[_0x556eba(0x103)](B);const _0x253839={},_0x2bec64=[];for(const _0x100c59 of _0x88c782)if(void 0x0!==_0x100c59[_0x556eba(0x178)]){if(_0x100c59[_0x556eba(0x178)]in _0x253839)throw new _0xba9ec(_0x556eba(0x147),_0x2af58b,{'conflictingDefinitions':[_0x100c59,_0x253839[_0x100c59[_0x556eba(0x178)]]]});_0x253839[_0x100c59[_0x556eba(0x178)]]=_0x100c59,_0x2bec64[_0x556eba(0x150)](_0x100c59[_0x556eba(0x178)],0x0,_0x100c59);}else _0x2bec64[_0x556eba(0x139)](_0x100c59);return _0x2bec64;}
|
|
23
|
+
const _0x18351d=_0x2a4e;(function(_0x2d34a6,_0x5b6458){const _0x28c1f1=_0x2a4e,_0x52f393=_0x2d34a6();while(!![]){try{const _0x20ccf5=parseInt(_0x28c1f1(0x1ea))/0x1+-parseInt(_0x28c1f1(0x1a8))/0x2+-parseInt(_0x28c1f1(0x229))/0x3*(parseInt(_0x28c1f1(0x1c4))/0x4)+parseInt(_0x28c1f1(0x1a5))/0x5*(parseInt(_0x28c1f1(0x185))/0x6)+-parseInt(_0x28c1f1(0x224))/0x7*(parseInt(_0x28c1f1(0x20b))/0x8)+parseInt(_0x28c1f1(0x20e))/0x9+-parseInt(_0x28c1f1(0x1dd))/0xa*(-parseInt(_0x28c1f1(0x223))/0xb);if(_0x20ccf5===_0x5b6458)break;else _0x52f393['push'](_0x52f393['shift']());}catch(_0x3f0083){_0x52f393['push'](_0x52f393['shift']());}}}(_0x183e,0x1ff9f));import{Plugin as _0x2dc154}from'ckeditor5/src/core.js';import{IconMagicWand as _0x229b03,IconRobotPencil as _0x59eff1}from'ckeditor5/src/icons.js';import{first as _0x53a91f,CKEditorError as _0x5a267d}from'ckeditor5/src/utils.js';import{createDropdown as _0xaf1ff3,addMenuToDropdown as _0x1bbb03,ButtonView as _0x4fbd72,MenuBarMenuListItemButtonView as _0x2b9b3b,Dialog as _0x416032,DialogViewPosition as _0x55f919,MenuBarMenuView as _0x4dca8f,MenuBarMenuListView as _0x4a81ee,MenuBarMenuListItemView as _0x1616e2}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x21a00b,UNGROUPED_COMMANDS_GROUP_ID as _0x4e42c8}from'./utils/normalizecommandsconfig.js';import _0x2cef4a from'./aiassistantediting.js';import _0x5b14bb from'./adapters/aiadapter.js';import{getTranslation as _0x1e2272}from'./utils/common-translations.js';import _0x110c86 from'./ui/showaiassistantcommand.js';function _0x183e(){const _0x4ee6e1=['define','menuitemcheckbox','getSelectedElement','_uiCssClasses','plugins','requires','includes','copy','_getResolvedCommandsDefinitions','_dialog','schema','execute','hide','showUI','aiCommands','_onExecute','isPremiumPlugin','media','menuView','ai.aiAssistant.commands','add','licenseKey','_aiAdapter','showAIAssistant','children','17904jGgDAD','featureNotAllowed','update','421686EfyhoC','announce','trialLimit','isEnabled','aiLicenseKeyEvaluationLimit','buttons','groupId','fire','sort','currentContext','aiAssistant','isFlat','comment','replaceContent','expired','_initAriaAiStatusChangeAnnouncements','AI\x20Assistant','insertContent','length','prompt','AIAssistantUI','44ibtqOZ','266mhdTgj','aiLicenseKeyDomainLimit','aiLicenseKeyValid','hideUI','change:isProcessing','371949eXjzvw','evaluationLimit','ck-ai-assistant-button\x20','isCollapsed','buttonView','label','ai-commands-config-order-collision','custom','push','_getMenuBarGroupButtons','commands','ai.aiAssistant.contentAreaCssClass','ai.useTheme','1062hRyeuE','requiresContent','replace','rawHtml','usageLimit','getSelectedBlocks','ai.aiAssistant.disabledElements','isOn','promptView','aiLicenseKeyTrialLimit','getLimitElement','values','invalid','get','map','show','groupLabel','componentFactory','listenTo','items','once','Generated\x20content:\x20%0','reset','AI\x20Commands','\x20ck-ai-assistant-ui_theme','isOfficialPlugin','INSERT','model','change:isError','DataTransfer','body','tableOfContents','5380bnZClx','ck-ai-assistant-ui','config','5678nFBXEC','setSelection','contentArea','AI\x20is\x20writing','fieldView','aiLicenseKeyNotAllowed','_aiAssistantController','updateView','source','_showLicenseError','from','getData','addMany','bind','_commandDefinitions','menuPanelClass','ck-ai-commands-dropdown\x20','hideFakeVisualSelection','editor','textAdapter','insertContentBelow','domainLimit','trim','command:','updatePosition','init','view','AIAssistant','4tzToTu','editing','_createAIAssistantUIButton','EDITOR_TOP_SIDE','selection','text','errorView','menuBar:aiAssistant','aiLicenseKeyExpired','</p>','queryView','_initView','delegate','menuBar:aiCommands','Error\x20during\x20AI\x20content\x20generation:\x20%0','REPLACE','wasMoved','focus','polite','forEach','set','pluginName','_formView','aiLicenseKeyUsageLimit','showFakeVisualSelection','251620aDYLIf','change','document','text/html','destroy','splice','_populateMenuBarMenu','<p>','enabledCommandsIds','_forceMarkersCopy','render','aiLicenseKeyInvalid','change:value','4887zjvXpY','panelView','filter','locale','_licenseKeyCheckInterval','order','change:enabledCommandsIds','getRanges'];_0x183e=function(){return _0x4ee6e1;};return _0x183e();}import _0x1da23f from'./ui/aiassistantcontroller.js';function _0x2a4e(_0x49209c,_0x4f2f66){const _0x183e3f=_0x183e();return _0x2a4e=function(_0x2a4e40,_0x2bf9ef){_0x2a4e40=_0x2a4e40-0x184;let _0x4184f0=_0x183e3f[_0x2a4e40];return _0x4184f0;},_0x2a4e(_0x49209c,_0x4f2f66);}import _0x3504ed from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x28d48f}from'./ui/form/aiformtoolbarview.js';import'../theme/ai.css';import'../theme/ai-dropdown.css';import'../theme/ai-form.css';const w=globalThis[_0x18351d(0x1a2)];import{ClipboardMarkersUtils as _0x268de2}from'ckeditor5/src/clipboard.js';import{DomEventData as _0x5a6f24,DataTransfer as _0x47e839}from'ckeditor5/src/engine.js';export default class n extends _0x2dc154{[_0x18351d(0x207)];[_0x18351d(0x1ee)];[_0x18351d(0x1fb)];[_0x18351d(0x1da)];[_0x18351d(0x208)];[_0x18351d(0x1ae)];[_0x18351d(0x1f5)]='';static get[_0x18351d(0x1d9)](){const _0x1a9e4c=_0x18351d;return _0x1a9e4c(0x222);}static get[_0x18351d(0x19e)](){return!0x0;}static get[_0x18351d(0x202)](){return!0x0;}static get[_0x18351d(0x1f7)](){return[_0x268de2,_0x2cef4a,_0x5b14bb,_0x416032];}constructor(_0x121185){const _0x43cedb=_0x18351d;super(_0x121185),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x18b),[_0x43cedb(0x203),_0x43cedb(0x188),_0x43cedb(0x1a4)]),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x234),''),_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x1f2)](_0x43cedb(0x184),!0x0),this[_0x43cedb(0x1f5)]=_0x43cedb(0x1a6)+(_0x121185[_0x43cedb(0x1a7)][_0x43cedb(0x192)](_0x43cedb(0x184))?_0x43cedb(0x19d):'');}[_0x18351d(0x1c1)](){const _0x204eed=_0x18351d,{editor:_0x1a442f}=this;this[_0x204eed(0x208)]=_0x1a442f[_0x204eed(0x1f6)][_0x204eed(0x192)](_0x5b14bb),this[_0x204eed(0x1fb)]=_0x1a442f[_0x204eed(0x1f6)][_0x204eed(0x192)](_0x416032),this[_0x204eed(0x1da)]=null,this[_0x204eed(0x1b6)]=this[_0x204eed(0x1fa)]();const _0x25d1a6=new _0x110c86(_0x1a442f,Array[_0x204eed(0x1b2)](this[_0x204eed(0x1b6)][_0x204eed(0x190)]()));_0x1a442f[_0x204eed(0x233)][_0x204eed(0x206)](_0x204eed(0x209),_0x25d1a6),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x200),_0x427d4e=>{const _0x4dfdd4=_0x204eed,_0x52bdce=_0xaf1ff3(_0x427d4e);return _0x52bdce[_0x4dfdd4(0x1d8)]({'class':_0x4dfdd4(0x1b8)+this[_0x4dfdd4(0x1f5)]}),_0x52bdce[_0x4dfdd4(0x22d)][_0x4dfdd4(0x1d8)]({'label':_0x1e2272(_0x427d4e,_0x4dfdd4(0x19c)),'icon':_0x229b03,'tooltip':!0x0}),_0x52bdce['on'](_0x4dfdd4(0x1fd),_0x1a3e9a=>this[_0x4dfdd4(0x201)](_0x1a3e9a[_0x4dfdd4(0x1b0)]['id'])),_0x1bbb03(_0x52bdce,_0x1a442f['ui'][_0x4dfdd4(0x1c2)][_0x4dfdd4(0x1a3)],function(_0x171770){const _0x26d299=_0x4dfdd4,_0x1e0cf2=_0x21a00b(_0x171770[_0x26d299(0x1a7)][_0x26d299(0x192)](_0x26d299(0x205)),_0x171770[_0x26d299(0x1ed)]),_0x39e4fa=U(_0x171770,_0x1e0cf2)[_0x26d299(0x1ec)](_0x1f1b84=>_0x1f1b84[_0x26d299(0x233)][_0x26d299(0x220)]);if(0x1===_0x39e4fa[_0x26d299(0x220)])return U(_0x171770,_0x39e4fa[0x0][_0x26d299(0x233)])[_0x26d299(0x193)](_0x347f46=>({'id':_0x347f46['id'],'label':_0x347f46[_0x26d299(0x22e)]}));return _0x39e4fa[_0x26d299(0x193)](_0x39aeb7=>{const _0x42ce1c=_0x26d299,{groupId:_0x26a93e,groupLabel:_0x437b1b,commands:_0x45aa4a}=_0x39aeb7,_0x492e7a=U(_0x171770,_0x45aa4a)[_0x42ce1c(0x193)](_0x39c4be=>({'id':_0x39c4be['id'],'label':_0x39c4be[_0x42ce1c(0x22e)]}));return{'id':_0x26a93e,'menu':_0x437b1b||_0x26a93e,'children':_0x492e7a};});}(_0x1a442f),{'ariaLabel':_0x1e2272(_0x427d4e,_0x4dfdd4(0x19c))}),_0x52bdce[_0x4dfdd4(0x204)][_0x4dfdd4(0x1b7)]=_0x4dfdd4(0x1b8)+this[_0x4dfdd4(0x1f5)],_0x25d1a6['on'](_0x4dfdd4(0x1f0),_0x244ad9),_0x52bdce[_0x4dfdd4(0x204)][_0x4dfdd4(0x199)](_0x4dfdd4(0x1e7),_0x244ad9),_0x52bdce;function _0x244ad9(){const _0x557ac3=_0x4dfdd4;_0x52bdce[_0x557ac3(0x211)]=_0x25d1a6[_0x557ac3(0x1e5)][_0x557ac3(0x220)]>0x0;for(const _0x2c635b of _0x52bdce[_0x557ac3(0x204)][_0x557ac3(0x213)])_0x2c635b[_0x557ac3(0x211)]=_0x25d1a6[_0x557ac3(0x1e5)][_0x557ac3(0x1f8)](_0x2c635b['id']);}}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x1d1),_0x253089=>{const _0xfdf22b=_0x204eed,_0x265544=new _0x4dca8f(_0x253089);_0x265544[_0xfdf22b(0x22d)][_0xfdf22b(0x1d8)]({'label':_0x1e2272(_0x253089,_0xfdf22b(0x19c)),'icon':_0x229b03}),_0x265544[_0xfdf22b(0x1b5)](_0xfdf22b(0x211))['to'](_0x25d1a6,_0xfdf22b(0x1e5),_0x50fc89=>_0x50fc89[_0xfdf22b(0x220)]>0x0);const _0x3c6676=_0x21a00b(_0x1a442f[_0xfdf22b(0x1a7)][_0xfdf22b(0x192)](_0xfdf22b(0x205)),_0x253089);return this[_0xfdf22b(0x1e3)](_0x25d1a6,_0x265544,_0x3c6676,_0x2c4a69=>this[_0xfdf22b(0x201)](_0x2c4a69)),_0x265544;}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x218),()=>{const _0x530566=_0x204eed,_0x5f0293=this[_0x530566(0x1c6)](_0x4fbd72);return _0x5f0293[_0x530566(0x1d8)]({'tooltip':!0x0,'class':_0x530566(0x22b)+this[_0x530566(0x1f5)]}),_0x5f0293;}),_0x1a442f['ui'][_0x204eed(0x196)][_0x204eed(0x206)](_0x204eed(0x1cb),()=>{const _0x3c53f0=_0x204eed,_0x202498=this[_0x3c53f0(0x1c6)](_0x2b9b3b);return _0x202498[_0x3c53f0(0x1d8)]({'role':_0x3c53f0(0x1f3)}),_0x202498;}),this[_0x204eed(0x207)]=this[_0x204eed(0x1ba)][_0x204eed(0x1a7)][_0x204eed(0x192)](_0x204eed(0x207));const _0x27ddbb=this[_0x204eed(0x1ba)];this[_0x204eed(0x1ee)]=setInterval(()=>{const _0x1d956b=_0x204eed;let _0x4c6f0f;for(const _0xf53c8e in _0x27ddbb){const _0x1eedad=_0xf53c8e,_0xeebf30=_0x27ddbb[_0x1eedad];if(_0x1d956b(0x226)==_0xeebf30||_0x1d956b(0x1e8)==_0xeebf30||_0x1d956b(0x1cc)==_0xeebf30||_0x1d956b(0x225)==_0xeebf30||_0x1d956b(0x1ad)==_0xeebf30||_0x1d956b(0x212)==_0xeebf30||_0x1d956b(0x18e)==_0xeebf30||_0x1d956b(0x1db)==_0xeebf30){delete _0x27ddbb[_0x1eedad],_0x4c6f0f=_0xeebf30,clearInterval(this[_0x1d956b(0x1ee)]),this[_0x1d956b(0x1ee)]=void 0x0;break;}}_0x1d956b(0x1e8)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x191)),_0x1d956b(0x1cc)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x21c)),_0x1d956b(0x225)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x1bd)),_0x1d956b(0x1ad)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x20c),_0x1d956b(0x1c3)),_0x1d956b(0x212)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x22a)),_0x1d956b(0x18e)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x210)),_0x1d956b(0x1db)==_0x4c6f0f&&_0x27ddbb[_0x1d956b(0x1b1)](_0x1d956b(0x189));},0x3e8);}[_0x18351d(0x1e1)](){const _0x1247da=_0x18351d;super[_0x1247da(0x1e1)](),this[_0x1247da(0x1ee)]&&clearInterval(this[_0x1247da(0x1ee)]);}[_0x18351d(0x1ff)](_0x50df0c='',_0x6738ce='',_0x562461=_0x18351d(0x230)){const _0x1f3bfd=_0x18351d,_0x4f8685=this[_0x1f3bfd(0x1ba)],_0x58478f=_0x4f8685[_0x1f3bfd(0x1c5)][_0x1f3bfd(0x1c2)],_0x4544cb=_0x4f8685[_0x1f3bfd(0x1f6)][_0x1f3bfd(0x192)](_0x2cef4a),_0xe9723b=_0x4f8685[_0x1f3bfd(0x1f6)][_0x1f3bfd(0x192)](_0x268de2);_0x4544cb[_0x1f3bfd(0x1dc)]();const _0x537d32=new w(),_0xbf7084=new ClipboardEvent(_0x1f3bfd(0x1f9),{'clipboardData':_0x537d32}),_0x462fd3=new _0x47e839(_0x537d32),_0x409f45=new _0x5a6f24(_0x58478f,_0xbf7084,{'dataTransfer':_0x462fd3});_0xe9723b[_0x1f3bfd(0x1e6)](_0x1f3bfd(0x21a),()=>{const _0x4eaeab=_0x1f3bfd;_0x58478f[_0x4eaeab(0x1df)][_0x4eaeab(0x215)](_0x4eaeab(0x1f9),_0x409f45);}),this[_0x1f3bfd(0x1da)]||(this[_0x1f3bfd(0x1cf)](),this[_0x1f3bfd(0x1ae)]=new _0x1da23f(_0x4f8685,this[_0x1f3bfd(0x208)][_0x1f3bfd(0x1bb)],this[_0x1f3bfd(0x1da)]));let _0x31c067=_0x462fd3[_0x1f3bfd(0x1b3)](_0x1f3bfd(0x1e0));const _0x20e385=_0x4f8685[_0x1f3bfd(0x1a0)][_0x1f3bfd(0x1df)][_0x1f3bfd(0x1c8)],_0x35d5fe=Array[_0x1f3bfd(0x1b2)](_0x20e385[_0x1f3bfd(0x1f1)]());0x1===_0x35d5fe[_0x1f3bfd(0x220)]&&_0x35d5fe[0x0][_0x1f3bfd(0x219)]&&!_0x20e385[_0x1f3bfd(0x1f4)]()&&''!==_0x31c067[_0x1f3bfd(0x187)](/ /g,'')[_0x1f3bfd(0x1be)]()&&(_0x31c067=_0x1f3bfd(0x1e4)+_0x31c067+_0x1f3bfd(0x1cd)),this[_0x1f3bfd(0x1ae)][_0x1f3bfd(0x1af)]({'actionId':_0x562461,'query':_0x50df0c,'htmlContent':_0x31c067,'label':_0x6738ce,'mainActionLabel':_0x28d48f[_0x4f8685[_0x1f3bfd(0x1a0)][_0x1f3bfd(0x1df)][_0x1f3bfd(0x1c8)][_0x1f3bfd(0x22c)]?_0x1f3bfd(0x19f):_0x1f3bfd(0x1d3)]}),_0x1f3bfd(0x218)!==this[_0x1f3bfd(0x1fb)]['id']?this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x194)]({'id':_0x1f3bfd(0x218),'icon':_0x59eff1,'title':_0x1e2272(this[_0x1f3bfd(0x1ba)][_0x1f3bfd(0x1ed)],_0x1f3bfd(0x21e)),'content':this[_0x1f3bfd(0x1da)],'position':_0x55f919[_0x1f3bfd(0x1c7)],'onShow':()=>{const _0x56646c=_0x1f3bfd;this[_0x56646c(0x1da)][_0x56646c(0x1d5)]();},'onHide':()=>{const _0x4c3ba9=_0x1f3bfd;this[_0x4c3ba9(0x1ae)][_0x4c3ba9(0x19b)](),_0x4544cb[_0x4c3ba9(0x1b9)]();}}):this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x1c2)][_0x1f3bfd(0x1d4)]||this[_0x1f3bfd(0x1fb)][_0x1f3bfd(0x1c2)][_0x1f3bfd(0x1c0)]();}[_0x18351d(0x227)](){const _0x167bb3=_0x18351d;this[_0x167bb3(0x1fb)][_0x167bb3(0x1fe)]();}[_0x18351d(0x1fa)](){const _0x300d37=_0x18351d,_0x42a410=new Map(),_0x4eb5ae=_0x21a00b(this[_0x300d37(0x1ba)][_0x300d37(0x1a7)][_0x300d37(0x192)](_0x300d37(0x205)),this[_0x300d37(0x1ba)][_0x300d37(0x1ed)]);for(const _0x555186 of _0x4eb5ae)for(const _0xa16cbe of _0x555186[_0x300d37(0x233)])_0x42a410[_0x300d37(0x1d8)](_0xa16cbe['id'],{..._0xa16cbe,'groupId':_0x555186[_0x300d37(0x214)],'groupLabel':_0x555186[_0x300d37(0x195)]||_0x555186[_0x300d37(0x214)]});return _0x42a410;}[_0x18351d(0x1c6)](_0x4bce1b){const _0x5a8edd=_0x18351d,_0x513031=this[_0x5a8edd(0x1ba)],_0x2082df=_0x513031[_0x5a8edd(0x233)][_0x5a8edd(0x192)](_0x5a8edd(0x209)),_0x146d50=new _0x4bce1b(_0x513031[_0x5a8edd(0x1ed)]);return _0x146d50[_0x5a8edd(0x1d8)]({'label':_0x1e2272(_0x513031[_0x5a8edd(0x1ed)],_0x5a8edd(0x21e)),'icon':_0x59eff1,'isToggleable':!0x0}),_0x146d50[_0x5a8edd(0x1b5)](_0x5a8edd(0x211))['to'](_0x2082df),_0x146d50[_0x5a8edd(0x1b5)](_0x5a8edd(0x18c))['to'](this[_0x5a8edd(0x1fb)],'id',_0x2ebcc1=>_0x5a8edd(0x218)===_0x2ebcc1),this[_0x5a8edd(0x197)](_0x146d50,_0x5a8edd(0x1fd),()=>{const _0x18470e=_0x5a8edd;_0x146d50[_0x18470e(0x18c)]?this[_0x18470e(0x227)]():_0x2082df[_0x18470e(0x1fd)]();}),_0x146d50;}[_0x18351d(0x1cf)](){const _0xa05f8c=_0x18351d,_0x2f90c5=this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1f6)][_0xa05f8c(0x192)](_0x2cef4a);this[_0xa05f8c(0x1da)]=new _0x3504ed(this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1ed)],this[_0xa05f8c(0x1f5)],this[_0xa05f8c(0x1ba)][_0xa05f8c(0x1a7)][_0xa05f8c(0x192)](_0xa05f8c(0x234))),this[_0xa05f8c(0x1da)]['on'](_0xa05f8c(0x1e9),()=>{const _0x197bf7=_0xa05f8c;this[_0x197bf7(0x1fb)][_0x197bf7(0x1c2)][_0x197bf7(0x1d4)]||this[_0x197bf7(0x1fb)][_0x197bf7(0x1c2)][_0x197bf7(0x1c0)]();}),this[_0xa05f8c(0x1da)][_0xa05f8c(0x18d)][_0xa05f8c(0x1ce)][_0xa05f8c(0x1ac)]['on'](_0xa05f8c(0x20d),()=>{const _0x12ff21=_0xa05f8c;this[_0x12ff21(0x1fb)][_0x12ff21(0x1c2)][_0x12ff21(0x1d4)]||this[_0x12ff21(0x1fb)][_0x12ff21(0x1c2)][_0x12ff21(0x1c0)]();}),this[_0xa05f8c(0x197)](this[_0xa05f8c(0x1da)],_0xa05f8c(0x21b),()=>{const _0x4ef921=_0xa05f8c;_0x2f90c5[_0x4ef921(0x21f)](this[_0x4ef921(0x1ae)][_0x4ef921(0x217)]),this[_0x4ef921(0x227)]();}),this[_0xa05f8c(0x197)](this[_0xa05f8c(0x1da)],_0xa05f8c(0x1bc),()=>{const _0x3a2957=_0xa05f8c;_0x2f90c5[_0x3a2957(0x1bc)](this[_0x3a2957(0x1ae)][_0x3a2957(0x217)]),this[_0x3a2957(0x227)]();}),this[_0xa05f8c(0x21d)]();}[_0x18351d(0x21d)](){const _0x472aa6=_0x18351d,{locale:_0x2b2fe9,ui:{ariaLiveAnnouncer:_0x42ab01}}=this[_0x472aa6(0x1ba)];this[_0x472aa6(0x1da)][_0x472aa6(0x1aa)]['on'](_0x472aa6(0x228),(_0x1e1751,_0x55faa3,_0x282a35)=>{const _0x308529=_0x472aa6,_0xa78440=this[_0x308529(0x1ae)][_0x308529(0x217)];_0x282a35?_0x42ab01[_0x308529(0x20f)](_0x1e2272(_0x2b2fe9,_0x308529(0x1ab))):_0xa78440&&_0x42ab01[_0x308529(0x20f)](_0x1e2272(_0x2b2fe9,_0x308529(0x19a),_0xa78440),{'politeness':_0x308529(0x1d6),'isUnsafeHTML':!0x0});}),this[_0x472aa6(0x1da)]['on'](_0x472aa6(0x1a1),(_0x499b81,_0xa6c34a,_0x33ea53)=>{const _0x20c471=_0x472aa6;if(_0x33ea53){const _0x3bae45=this[_0x20c471(0x1da)][_0x20c471(0x1ca)][_0x20c471(0x1c9)];_0x42ab01[_0x20c471(0x20f)](_0x1e2272(_0x2b2fe9,_0x20c471(0x1d2),_0x3bae45));}});}[_0x18351d(0x201)](_0x33d7b8){const _0x244f99=_0x18351d,_0x4bc8f0=this[_0x244f99(0x1b6)][_0x244f99(0x192)](_0x33d7b8),_0x2b5c13=this[_0x244f99(0x1ba)],_0x344ddc=_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1df)][_0x244f99(0x1c8)],_0x3bd8c5=_0x2b5c13[_0x244f99(0x233)][_0x244f99(0x192)](_0x244f99(0x209)),_0x60a781=_0x2b5c13[_0x244f99(0x1f6)][_0x244f99(0x192)](_0x2cef4a),_0x1767e1=''+(_0x4bc8f0[_0x244f99(0x214)]!==_0x4e42c8?_0x4bc8f0[_0x244f99(0x195)]+':\x20':'')+_0x4bc8f0[_0x244f99(0x22e)];if(!0x1!==_0x4bc8f0[_0x244f99(0x186)]&&_0x344ddc[_0x244f99(0x22c)]){const _0x574534=_0x53a91f(_0x344ddc[_0x244f99(0x18a)]())||_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1fc)][_0x244f99(0x18f)](_0x344ddc);_0x2b5c13[_0x244f99(0x1a0)][_0x244f99(0x1de)](_0x1bb220=>{const _0x58da45=_0x244f99;_0x1bb220[_0x58da45(0x1a9)](_0x574534,'in');});}_0x60a781[_0x244f99(0x1dc)](),_0x3bd8c5[_0x244f99(0x1fd)](_0x4bc8f0[_0x244f99(0x221)],_0x1767e1,_0x244f99(0x1bf)+_0x33d7b8);}[_0x18351d(0x1e3)](_0x45c3f1,_0x1b2e76,_0x8a54da,_0x230e82){const _0xbefba4=_0x18351d,_0x494130=this[_0xbefba4(0x1ba)],_0x43b3f3=_0x494130[_0xbefba4(0x1ed)],_0x17af90=new _0x4a81ee(_0x43b3f3),_0x291b0e=U(_0x494130,_0x8a54da)[_0xbefba4(0x1ec)](_0xc14811=>_0xc14811[_0xbefba4(0x233)][_0xbefba4(0x220)]);0x1===_0x291b0e[_0xbefba4(0x220)]?this[_0xbefba4(0x232)]({'command':_0x45c3f1,'commands':_0x291b0e[0x0][_0xbefba4(0x233)],'parentMenuView':_0x1b2e76,'onExecute':_0x230e82})[_0xbefba4(0x1d7)](_0x226775=>_0x17af90[_0xbefba4(0x198)][_0xbefba4(0x206)](_0x226775)):_0x291b0e[_0xbefba4(0x1d7)](({groupId:_0x4c2cf0,groupLabel:_0x29b3d5,commands:_0x25f839})=>{const _0x814b0c=_0xbefba4,_0x12bd56=new _0x1616e2(_0x43b3f3,_0x1b2e76),_0x31e39f=new _0x4dca8f(_0x43b3f3),_0x3f566e=new _0x4a81ee(_0x43b3f3),_0x50990c=this[_0x814b0c(0x232)]({'command':_0x45c3f1,'commands':_0x25f839,'parentMenuView':_0x31e39f,'onExecute':_0x230e82});_0x31e39f[_0x814b0c(0x22d)][_0x814b0c(0x1d8)]({'label':_0x29b3d5||_0x4c2cf0}),_0x31e39f[_0x814b0c(0x1d0)](_0x814b0c(0x1fd))['to'](_0x1b2e76),_0x3f566e[_0x814b0c(0x198)][_0x814b0c(0x1b4)](_0x50990c),_0x31e39f[_0x814b0c(0x1eb)][_0x814b0c(0x20a)][_0x814b0c(0x206)](_0x3f566e),_0x12bd56[_0x814b0c(0x20a)][_0x814b0c(0x206)](_0x31e39f),_0x17af90[_0x814b0c(0x198)][_0x814b0c(0x206)](_0x12bd56);}),_0x1b2e76[_0xbefba4(0x1eb)][_0xbefba4(0x20a)][_0xbefba4(0x206)](_0x17af90);}[_0x18351d(0x232)]({command:_0x177325,commands:_0x1e790b,parentMenuView:_0x3fd5e9,onExecute:_0x24bb9d}){const _0x408648=_0x18351d,_0x474e8e=this[_0x408648(0x1ba)],_0x22c7a7=_0x474e8e[_0x408648(0x1ed)];return U(_0x474e8e,_0x1e790b)[_0x408648(0x193)](_0x5b3bf3=>{const _0x6b7c34=_0x408648,_0x7dd1a4=new _0x1616e2(_0x22c7a7,_0x3fd5e9),_0x5c6646=new _0x2b9b3b(_0x22c7a7);return _0x5c6646[_0x6b7c34(0x1d8)]({'label':_0x5b3bf3[_0x6b7c34(0x22e)]}),_0x5c6646[_0x6b7c34(0x1d0)](_0x6b7c34(0x1fd))['to'](_0x3fd5e9),_0x5c6646['on'](_0x6b7c34(0x1fd),()=>_0x24bb9d(_0x5b3bf3['id'])),_0x5c6646[_0x6b7c34(0x1b5)](_0x6b7c34(0x211))['to'](_0x177325,_0x6b7c34(0x1e5),_0x7449f6=>_0x7449f6[_0x6b7c34(0x1f8)](_0x5b3bf3['id'])),_0x7dd1a4[_0x6b7c34(0x20a)][_0x6b7c34(0x206)](_0x5c6646),_0x7dd1a4;});}}function B(_0xc9471a,_0x801434){const _0x4d56a7=_0x18351d;return void 0x0!==_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0===_0x801434[_0x4d56a7(0x1ef)]?0x1:void 0x0===_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0!==_0x801434[_0x4d56a7(0x1ef)]?-0x1:void 0x0!==_0xc9471a[_0x4d56a7(0x1ef)]&&void 0x0!==_0x801434[_0x4d56a7(0x1ef)]?_0xc9471a[_0x4d56a7(0x1ef)]-_0x801434[_0x4d56a7(0x1ef)]:0x0;}function U(_0x3e02f2,_0x1e48e2){const _0x3b1b27=_0x18351d;_0x1e48e2[_0x3b1b27(0x216)](B);const _0x435ebb={},_0x3963f7=[];for(const _0x1624fd of _0x1e48e2)if(void 0x0!==_0x1624fd[_0x3b1b27(0x1ef)]){if(_0x1624fd[_0x3b1b27(0x1ef)]in _0x435ebb)throw new _0x5a267d(_0x3b1b27(0x22f),_0x3e02f2,{'conflictingDefinitions':[_0x1624fd,_0x435ebb[_0x1624fd[_0x3b1b27(0x1ef)]]]});_0x435ebb[_0x1624fd[_0x3b1b27(0x1ef)]]=_0x1624fd,_0x3963f7[_0x3b1b27(0x1e2)](_0x1624fd[_0x3b1b27(0x1ef)],0x0,_0x1624fd);}else _0x3963f7[_0x3b1b27(0x231)](_0x1624fd);return _0x3963f7;}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4cf917,_0x229b1d){var _0x26216c=_0x4692,_0x2e1ceb=_0x4cf917();while(!![]){try{var _0x4a6869=-parseInt(_0x26216c(0xa1))/0x1*(parseInt(_0x26216c(0xa0))/0x2)+parseInt(_0x26216c(0xa5))/0x3+-parseInt(_0x26216c(0x9f))/0x4+parseInt(_0x26216c(0xa2))/0x5*(-parseInt(_0x26216c(0xa3))/0x6)+-parseInt(_0x26216c(0x9e))/0x7+parseInt(_0x26216c(0x9d))/0x8*(-parseInt(_0x26216c(0x9c))/0x9)+parseInt(_0x26216c(0xa4))/0xa;if(_0x4a6869===_0x229b1d)break;else _0x2e1ceb['push'](_0x2e1ceb['shift']());}catch(_0x52932c){_0x2e1ceb['push'](_0x2e1ceb['shift']());}}}(_0x2d8a,0xe0a4a));function _0x2d8a(){var _0x567ed1=['9170539yHDoEI','1469148qWuASl','1012914eUvQAH','1yXMxxd','80SSuzdm','274458aWElRh','35792670LKdrGm','1598919WEltpp','43641QAdIam','456WtGpja'];_0x2d8a=function(){return _0x567ed1;};return _0x2d8a();}export{default as AIAssistant}from'./aiassistant.js';export{default as AIAssistantUI}from'./aiassistantui.js';export{default as AIAdapter,AIRequestError}from'./adapters/aiadapter.js';function _0x4692(_0x539e8b,_0x39747e){var _0x2d8afe=_0x2d8a();return _0x4692=function(_0x469240,_0x5aaef8){_0x469240=_0x469240-0x9c;var _0x2029f3=_0x2d8afe[_0x469240];return _0x2029f3;},_0x4692(_0x539e8b,_0x39747e);}export{default as AITextAdapter}from'./adapters/aitextadapter.js';export{default as OpenAITextAdapter}from'./adapters/openaitextadapter.js';export{default as AWSTextAdapter}from'./adapters/awstextadapter.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x10f545,_0x103449){var _0x346e6b=_0x13c1,_0x188051=_0x10f545();while(!![]){try{var _0x48fdf9=-parseInt(_0x346e6b(0x11e))/0x1*(parseInt(_0x346e6b(0x11b))/0x2)+parseInt(_0x346e6b(0x120))/0x3*(parseInt(_0x346e6b(0x117))/0x4)+-parseInt(_0x346e6b(0x121))/0x5*(parseInt(_0x346e6b(0x118))/0x6)+-parseInt(_0x346e6b(0x11f))/0x7*(-parseInt(_0x346e6b(0x11a))/0x8)+parseInt(_0x346e6b(0x11c))/0x9+-parseInt(_0x346e6b(0x122))/0xa*(-parseInt(_0x346e6b(0x11d))/0xb)+-parseInt(_0x346e6b(0x119))/0xc;if(_0x48fdf9===_0x103449)break;else _0x188051['push'](_0x188051['shift']());}catch(_0x2d583a){_0x188051['push'](_0x188051['shift']());}}}(_0x5e80,0x81775));import{CKEditorError as _0x4ba22e}from'ckeditor5/src/utils.js';function _0x13c1(_0x10f8a1,_0x2f510b){var _0x5e8048=_0x5e80();return _0x13c1=function(_0x13c172,_0x393517){_0x13c172=_0x13c172-0x117;var _0x1b1805=_0x5e8048[_0x13c172];return _0x1b1805;},_0x13c1(_0x10f8a1,_0x2f510b);}function _0x5e80(){var _0x43d2f2=['3490740QOHBUD','16BDeaBk','1360706xPOpkH','4051854lNaIOT','55DXFaZv','1fPfMKO','3229618sCWUZk','5469DnAAqp','8050MbMdin','1296430jGxjXg','1096UQbsij','3798XLjHjG'];_0x5e80=function(){return _0x43d2f2;};return _0x5e80();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2674ee=_0x1e10;function _0x1e10(_0xfe44ed,_0x584664){const _0x556652=_0x5566();return _0x1e10=function(_0x1e1063,_0x4bac3b){_0x1e1063=_0x1e1063-0x1a8;let _0x302b27=_0x556652[_0x1e1063];return _0x302b27;},_0x1e10(_0xfe44ed,_0x584664);}(function(_0x512d91,_0x4eb4e6){const _0x6f4e75=_0x1e10,_0x34d3b7=_0x512d91();while(!![]){try{const _0x34a953=parseInt(_0x6f4e75(0x1cb))/0x1*(-parseInt(_0x6f4e75(0x1b6))/0x2)+parseInt(_0x6f4e75(0x1df))/0x3*(-parseInt(_0x6f4e75(0x1ed))/0x4)+parseInt(_0x6f4e75(0x1cd))/0x5+-parseInt(_0x6f4e75(0x1eb))/0x6+-parseInt(_0x6f4e75(0x1c8))/0x7*(-parseInt(_0x6f4e75(0x1ec))/0x8)+parseInt(_0x6f4e75(0x1d2))/0x9*(-parseInt(_0x6f4e75(0x1c1))/0xa)+-parseInt(_0x6f4e75(0x1dc))/0xb*(-parseInt(_0x6f4e75(0x208))/0xc);if(_0x34a953===_0x4eb4e6)break;else _0x34d3b7['push'](_0x34d3b7['shift']());}catch(_0x3c8e69){_0x34d3b7['push'](_0x34d3b7['shift']());}}}(_0x5566,0x940f2));import{ObservableMixin as _0x421182}from'ckeditor5/src/utils.js';import{AIRequestError as _0x53eed5}from'../adapters/aiadapter.js';import{Matcher as _0x815fa5,UpcastWriter as _0x448c23}from'ckeditor5/src/engine.js';function _0x5566(){const _0x411739=['rename','110PGBbun','serializeToString','once','497337PSwARF','_sanitizeHTML','_handleQuery','match','ELEMENT_NODE','innerHTML','stopProcessing','isProcessing','initialContext','body','markers','makeRequest','1549368vITwGd','8bxaykL','12DWqKNO','startProcessing','setContentOf','substring','editing','```','processor','remove','render','previousContext','text/html','custom','finally','_normalizeResponseHeadings','updateView','listenTo','document','message','previousLabel','reverse','catch','nodeType','childNodes','get','toModel','_sanitizationContainer','viewToDom','2245920boNaab','_isH1TagSupportEnabled','submitPrompt','currentContext','config','ai.aiAssistant.preserveComments','_xmlSerializer','abort','textAdapter','handleError','push','length','_domParser','stopListening','trim','previousQuery','element','view','name','parseFromString','2WqgAYA','exec','endsWith','stringify','<h1></h1>','mainAction','tryAgainEvent','destroy','domConverter','isRendered','toView','48290yBvEgq','createElement','then','htmlProcessor','reset','finishProcessing','value','7501697XOkiam','div','from','1028029lvJXcx','prompt','1121210jQCGkR','currentResponse','_stripMarkdownSyntax','set:currentContext','data','1449xtuNsX','clear','```html','querySelector','startsWith','previousActionId','_parseAndNormalizeContent','editor','set'];_0x5566=function(){return _0x411739;};return _0x5566();}const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export default class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x421182(){[_0x2674ee(0x1d9)];[_0x2674ee(0x1aa)];[_0x2674ee(0x1b3)];[_0x2674ee(0x206)];[_0x2674ee(0x1ae)];[_0x2674ee(0x1a8)];constructor(_0x41e0fa,_0x2e113b,_0xf4f296){const _0x34ec2e=_0x2674ee;super(),this[_0x34ec2e(0x1d9)]=_0x41e0fa,this[_0x34ec2e(0x1aa)]=_0x2e113b,this[_0x34ec2e(0x206)]=document[_0x34ec2e(0x1c2)](_0x34ec2e(0x1c9)),this[_0x34ec2e(0x1ae)]=new DOMParser(),this[_0x34ec2e(0x1a8)]=new XMLSerializer(),this[_0x34ec2e(0x1b3)]=_0xf4f296,this[_0x34ec2e(0x1da)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x34ec2e(0x1d0),(_0x56a925,_0x544a7b,_0x37cdb9)=>{const _0x570ad8=_0x34ec2e;this[_0x570ad8(0x1b3)][_0x570ad8(0x1c7)]=this[_0x570ad8(0x1e0)](_0x37cdb9);}),this[_0x34ec2e(0x1fc)](this[_0x34ec2e(0x1b3)],_0x34ec2e(0x20a),(_0x4bcce5,_0x80510c)=>{const _0x4ad508=_0x34ec2e,_0x353357=this[_0x4ad508(0x20b)]||this[_0x4ad508(0x1e7)];this[_0x4ad508(0x1e1)](_0x80510c,_0x353357,_0x4ad508(0x1f8));}),this[_0x34ec2e(0x1fc)](this[_0x34ec2e(0x1b3)],_0x34ec2e(0x1bc),()=>{const _0x225b18=_0x34ec2e;this[_0x225b18(0x1b3)][_0x225b18(0x1cc)]=this[_0x225b18(0x1ff)],this[_0x225b18(0x1e1)](this[_0x225b18(0x1b1)],this[_0x225b18(0x1f6)],this[_0x225b18(0x1d7)],this[_0x225b18(0x1ff)]);}),this[_0x34ec2e(0x1fc)](this[_0x34ec2e(0x1b3)],_0x34ec2e(0x1e5),()=>{const _0x23926e=_0x34ec2e;this[_0x23926e(0x1e5)]();});}[_0x2674ee(0x1bd)](){const _0x28b041=_0x2674ee;this[_0x28b041(0x1af)]();}async[_0x2674ee(0x1fb)]({actionId:_0x481513,query:_0x4998ee,htmlContent:_0x2e7726,label:_0x341f3e,mainActionLabel:_0x37d83f}){const _0x147da5=_0x2674ee;this[_0x147da5(0x1b3)][_0x147da5(0x1cc)]=_0x341f3e,this[_0x147da5(0x1b3)][_0x147da5(0x1bb)]=_0x37d83f,this[_0x147da5(0x1e7)]=_0x2e7726,_0x4998ee&&(this[_0x147da5(0x1b3)][_0x147da5(0x1bf)]?this[_0x147da5(0x1e1)](_0x4998ee,_0x2e7726,_0x481513,_0x341f3e):this[_0x147da5(0x1b3)][_0x147da5(0x1de)](_0x147da5(0x1f5),()=>{const _0x426843=_0x147da5;this[_0x426843(0x1e1)](_0x4998ee,_0x2e7726,_0x481513,_0x341f3e);}));}[_0x2674ee(0x1e5)](){const _0x479c6b=_0x2674ee;this[_0x479c6b(0x1e6)]&&(this[_0x479c6b(0x1e6)]=!0x1,this[_0x479c6b(0x1b3)][_0x479c6b(0x1c6)](),this[_0x479c6b(0x1aa)][_0x479c6b(0x1a9)]());}[_0x2674ee(0x1c5)](){const _0x1defc1=_0x2674ee;this[_0x1defc1(0x1e7)]='',this[_0x1defc1(0x20b)]='',this[_0x1defc1(0x1ce)]='',this[_0x1defc1(0x1f6)]='',this[_0x1defc1(0x1b1)]='',this[_0x1defc1(0x1ff)]='',this[_0x1defc1(0x1d7)]=void 0x0,this[_0x1defc1(0x1b3)][_0x1defc1(0x1c5)](),this[_0x1defc1(0x1e5)]();}async[_0x2674ee(0x1e1)](_0x5b4488,_0x4aba6c,_0x13083e,_0x4a4b8f){const _0x398f91=_0x2674ee;return this[_0x398f91(0x1e6)]=!0x0,this[_0x398f91(0x1b3)][_0x398f91(0x1ee)](),this[_0x398f91(0x1f6)]=_0x4aba6c,this[_0x398f91(0x1b1)]=_0x5b4488,this[_0x398f91(0x1ff)]=_0x4a4b8f||_0x5b4488,this[_0x398f91(0x1d7)]=_0x13083e,new Promise(_0x13b667=>{const _0x332e50=_0x398f91;this[_0x332e50(0x1aa)][_0x332e50(0x1ea)]({'query':_0x5b4488,'context':_0x4aba6c,'onData':_0x185276=>{const _0x1e7ea4=_0x332e50;this[_0x1e7ea4(0x1ce)]=_0x185276,this[_0x1e7ea4(0x20b)]=this[_0x1e7ea4(0x1d8)](this[_0x1e7ea4(0x1ce)]);},'actionId':_0x13083e})[_0x332e50(0x1c3)](()=>{const _0x70d356=_0x332e50;!this[_0x70d356(0x20b)]&&this[_0x70d356(0x1ce)]&&(this[_0x70d356(0x20b)]=this[_0x70d356(0x1d8)](this[_0x70d356(0x1ce)],!0x0));})[_0x332e50(0x201)](_0x4185f8=>{const _0x3b64f9=_0x332e50;_0x4185f8 instanceof _0x53eed5?this[_0x3b64f9(0x1b3)][_0x3b64f9(0x1ab)](_0x4185f8[_0x3b64f9(0x1fe)]):this[_0x3b64f9(0x1b3)][_0x3b64f9(0x1ab)](),_0x13b667();})[_0x332e50(0x1f9)](()=>{const _0x5522cf=_0x332e50;this[_0x5522cf(0x1e5)](),_0x13b667();});});}[_0x2674ee(0x1d8)](_0x26b5bb,_0x164534=!0x1){const _0x892656=_0x2674ee,_0x2dfbbb=Z[_0x892656(0x1b7)](_0x26b5bb);_0x26b5bb=_0x2dfbbb?_0x26b5bb[_0x892656(0x1f0)](_0x2dfbbb[0x1][_0x892656(0x1ad)]):_0x26b5bb[_0x892656(0x1ad)]<0x64&&!_0x164534?'':this[_0x892656(0x1cf)](_0x26b5bb);const _0x46c9c4=this[_0x892656(0x1ae)][_0x892656(0x1b5)](_0x26b5bb,_0x892656(0x1f7));if(_0x2dfbbb){const _0x3f5ec5=Array[_0x892656(0x1ca)](_0x46c9c4[_0x892656(0x1e8)][_0x892656(0x203)]);_0x3f5ec5[_0x892656(0x200)]();for(const _0x1abcf1 of _0x3f5ec5){if(_0x1abcf1[_0x892656(0x202)]==Node[_0x892656(0x1e3)])break;_0x1abcf1[_0x892656(0x1f4)]();}}const _0x227822=this[_0x892656(0x1d9)][_0x892656(0x1d1)][_0x892656(0x1f3)][_0x892656(0x1c0)](this[_0x892656(0x1a8)][_0x892656(0x1dd)](_0x46c9c4[_0x892656(0x1e8)]));this[_0x892656(0x209)]()||this[_0x892656(0x1fa)](_0x227822);const _0x356656=this[_0x892656(0x1d9)][_0x892656(0x20c)][_0x892656(0x204)](_0x892656(0x20d)),_0xfd108a=this[_0x892656(0x1d9)][_0x892656(0x1d1)][_0x892656(0x205)](_0x227822);return _0x356656||_0xfd108a[_0x892656(0x1e9)][_0x892656(0x1d3)](),this[_0x892656(0x1d9)][_0x892656(0x1d1)][_0x892656(0x1b9)](_0xfd108a);}[_0x2674ee(0x1fa)](_0x22d1a5){const _0x4f9898=_0x2674ee,_0x74509a=new _0x448c23(this[_0x4f9898(0x1d9)][_0x4f9898(0x1f1)][_0x4f9898(0x1b3)][_0x4f9898(0x1fd)]),_0x5ad6e8=new _0x815fa5({'name':/^h[1-5]$/}),_0x4d26c1=[];let _0x4bd2c0=!0x1;for(const _0x49e279 of _0x22d1a5)_0x49e279['is'](_0x4f9898(0x1b2))&&_0x5ad6e8[_0x4f9898(0x1e2)](_0x49e279)&&(_0x4d26c1[_0x4f9898(0x1ac)](_0x49e279),'h1'==_0x49e279[_0x4f9898(0x1b4)]&&(_0x4bd2c0=!0x0));if(_0x4bd2c0){for(const _0x12dafd of _0x4d26c1)_0x74509a[_0x4f9898(0x1db)]('h'+(parseInt(_0x12dafd[_0x4f9898(0x1b4)][0x1])+0x1),_0x12dafd);}}[_0x2674ee(0x209)](){const _0x1ec21b=_0x2674ee,{data:_0x419796,editing:_0x29d7c4}=this[_0x1ec21b(0x1d9)],_0x3e92b3=_0x419796[_0x1ec21b(0x1c4)][_0x1ec21b(0x1c0)](_0x1ec21b(0x1ba)),_0xbcfd27=_0x419796[_0x1ec21b(0x1c0)](_0x419796[_0x1ec21b(0x205)](_0x3e92b3));return!!_0x29d7c4[_0x1ec21b(0x1b3)][_0x1ec21b(0x1be)][_0x1ec21b(0x207)](_0xbcfd27)[_0x1ec21b(0x1d5)]('h1');}[_0x2674ee(0x1e0)](_0x1a66c9){const _0x19765a=_0x2674ee;return this[_0x19765a(0x1d9)][_0x19765a(0x1f1)][_0x19765a(0x1b3)][_0x19765a(0x1be)][_0x19765a(0x1ef)](this[_0x19765a(0x206)],_0x1a66c9),this[_0x19765a(0x206)][_0x19765a(0x1e4)];}[_0x2674ee(0x1cf)](_0x2e9892){const _0x3bc872=_0x2674ee,_0x1109ac=_0x2e9892[_0x3bc872(0x1b0)]();return _0x1109ac[_0x3bc872(0x1d6)](_0x3bc872(0x1d4))?_0x1109ac[_0x3bc872(0x1b8)](_0x3bc872(0x1f2))?_0x1109ac[_0x3bc872(0x1f0)](0x7,_0x1109ac[_0x3bc872(0x1ad)]-0x3):_0x1109ac[_0x3bc872(0x1f0)](0x7):_0x2e9892;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f7238=_0x2f35;(function(_0x23e03a,_0x4d2f4a){const _0x4b7a28=_0x2f35,_0xb56052=_0x23e03a();while(!![]){try{const _0x138bf2=-parseInt(_0x4b7a28(0x1dd))/0x1+parseInt(_0x4b7a28(0x1c7))/0x2+-parseInt(_0x4b7a28(0x1e9))/0x3*(parseInt(_0x4b7a28(0x1eb))/0x4)+-parseInt(_0x4b7a28(0x1cb))/0x5+parseInt(_0x4b7a28(0x1f2))/0x6*(-parseInt(_0x4b7a28(0x1b5))/0x7)+-parseInt(_0x4b7a28(0x1f9))/0x8+parseInt(_0x4b7a28(0x204))/0x9*(parseInt(_0x4b7a28(0x203))/0xa);if(_0x138bf2===_0x4d2f4a)break;else _0xb56052['push'](_0xb56052['shift']());}catch(_0x8f3750){_0xb56052['push'](_0xb56052['shift']());}}}(_0x1e2f,0x50868));import{global as _0x4ce149}from'ckeditor5/src/utils.js';function _0x2f35(_0x34e62a,_0x202e04){const _0x1e2f65=_0x1e2f();return _0x2f35=function(_0x2f35bf,_0x22d99b){_0x2f35bf=_0x2f35bf-0x1b0;let _0x40227d=_0x1e2f65[_0x2f35bf];return _0x40227d;},_0x2f35(_0x34e62a,_0x202e04);}import{View as _0x46d387,ButtonView as _0x39ba21,SpinnerView as _0x109cbd}from'ckeditor5/src/ui.js';import{IconCheck as _0x1a74f2,IconCopy as _0x249523}from'ckeditor5/src/icons.js';import{getTranslation as _0x371c32}from'../../utils/common-translations.js';export default class Y extends _0x46d387{[_0x3f7238(0x1ef)];[_0x3f7238(0x1cc)];constructor(_0x244c78,_0x3cfe02=''){const _0x5c3007=_0x3f7238;super(_0x244c78),this[_0x5c3007(0x1e2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2afee1=this[_0x5c3007(0x1d7)];this[_0x5c3007(0x1ef)]=new ContentFieldView(_0x244c78,_0x3cfe02),this[_0x5c3007(0x1cc)]=this[_0x5c3007(0x1f0)](),this[_0x5c3007(0x1fb)]({'tag':_0x5c3007(0x1cd),'attributes':{'class':['ck',_0x5c3007(0x1c8),_0x2afee1['if'](_0x5c3007(0x202),_0x5c3007(0x1f8),_0x5993d6=>!_0x5993d6)],'tabindex':'-1'},'children':[{'tag':_0x5c3007(0x1cd),'attributes':{'class':['ck',_0x5c3007(0x1ec),_0x2afee1['if'](_0x5c3007(0x1c6),_0x5c3007(0x1d1))]},'children':[this[_0x5c3007(0x1ef)],{'tag':_0x5c3007(0x1cd),'attributes':{'class':['ck',_0x5c3007(0x1b1)]},'children':[this[_0x5c3007(0x1cc)]]}]}]});}[_0x3f7238(0x1b0)](){const _0x1aa69c=_0x3f7238;super[_0x1aa69c(0x1b0)](),this[_0x1aa69c(0x1ba)]&&this[_0x1aa69c(0x1ef)][_0x1aa69c(0x1bf)](this[_0x1aa69c(0x1ba)]);let _0x213a95=!0x1;this['on'](_0x1aa69c(0x1d0),(_0x294f89,_0x411713,_0x30eb69)=>{const _0x472133=_0x1aa69c,_0x12adab=!this[_0x472133(0x1ef)][_0x472133(0x1c5)][_0x472133(0x1f1)](_0x472133(0x1ff));this[_0x472133(0x1ef)][_0x472133(0x1bf)](_0x30eb69),this[_0x472133(0x1c6)]&&_0x12adab&&!_0x213a95&&this[_0x472133(0x1c5)][_0x472133(0x1b4)]({'top':this[_0x472133(0x1c5)][_0x472133(0x1bd)],'behavior':_0x472133(0x1e4)});}),this['on'](_0x1aa69c(0x1d9),(_0x343f5e,_0x4b930f,_0x40d3ab)=>{const _0x49fd62=_0x1aa69c;_0x213a95=!0x1,_0x40d3ab?(this[_0x49fd62(0x1ba)]=null,this[_0x49fd62(0x1ef)][_0x49fd62(0x1c3)]()):this[_0x49fd62(0x1ba)]||this[_0x49fd62(0x1ef)][_0x49fd62(0x1bf)]('');}),this[_0x1aa69c(0x1fc)](this[_0x1aa69c(0x1c5)],_0x1aa69c(0x1f3),()=>{_0x213a95=!0x0;}),this[_0x1aa69c(0x1fc)](this[_0x1aa69c(0x1c5)],_0x1aa69c(0x1d4),()=>{_0x213a95=!0x0;});}[_0x3f7238(0x1ed)](){const _0x3d6be8=_0x3f7238;this[_0x3d6be8(0x1c5)][_0x3d6be8(0x1ed)]();}[_0x3f7238(0x1f0)](){const _0x5a3c84=_0x3f7238,_0x46659c=this[_0x5a3c84(0x1e7)],_0x47b6d8=new _0x39ba21(this[_0x5a3c84(0x1e7)]),_0x328601=_0x5a3c84(0x1bc);return _0x47b6d8[_0x5a3c84(0x1e2)]({'label':_0x371c32(_0x46659c,_0x5a3c84(0x1f7)),'icon':_0x249523,'class':_0x328601,'tooltip':!0x0}),_0x47b6d8[_0x5a3c84(0x1e6)](_0x5a3c84(0x202))['to'](this,_0x5a3c84(0x1ba),_0x44a92d=>!!_0x44a92d),_0x47b6d8[_0x5a3c84(0x1e6)](_0x5a3c84(0x1bb))['to'](this,_0x5a3c84(0x1c6),_0xc2e393=>!_0xc2e393),_0x47b6d8['on'](_0x5a3c84(0x1b3),()=>{const _0x1fe792=_0x5a3c84;this[_0x1fe792(0x1fa)](this[_0x1fe792(0x1ef)][_0x1fe792(0x1c5)]),_0x47b6d8[_0x1fe792(0x1cf)]=_0x1a74f2,_0x47b6d8[_0x1fe792(0x1c0)]=_0x328601+_0x1fe792(0x1fe),this[_0x1fe792(0x1ed)](),setTimeout(()=>{const _0x15527a=_0x1fe792;_0x47b6d8[_0x15527a(0x1cf)]=_0x249523,_0x47b6d8[_0x15527a(0x1c0)]=_0x328601;},0x3e8);}),_0x47b6d8;}[_0x3f7238(0x1fa)](_0x15c7d7){const _0x4064e5=_0x3f7238,{window:_0xf136a,document:_0x77e1d7}=_0x4ce149;if(_0xf136a[_0x4064e5(0x1de)]){const {Blob:_0xbbde1a,ClipboardItem:_0x2931f6}=_0xf136a,_0x243757=[new _0x2931f6({'text/html':new _0xbbde1a([_0x15c7d7[_0x4064e5(0x1e8)]],{'type':_0x4064e5(0x1b2)}),'text/plain':new _0xbbde1a([_0x15c7d7[_0x4064e5(0x1b7)]||''],{'type':_0x4064e5(0x1e5)})})];navigator[_0x4064e5(0x1d8)][_0x4064e5(0x1f4)](_0x243757);}else{const _0x5dc2eb=_0x77e1d7[_0x4064e5(0x1ee)](_0x4064e5(0x1cd));_0x5dc2eb[_0x4064e5(0x200)][_0x4064e5(0x1f6)]=_0x4064e5(0x1c9),_0x5dc2eb[_0x4064e5(0x200)][_0x4064e5(0x1b6)]=_0x4064e5(0x1c1),_0x5dc2eb[_0x4064e5(0x1e8)]=_0x4064e5(0x1df)+_0x15c7d7[_0x4064e5(0x1e8)]+_0x4064e5(0x1f5),_0x77e1d7[_0x4064e5(0x1da)][_0x4064e5(0x1b9)](_0x5dc2eb);const _0x38b822=_0x77e1d7[_0x4064e5(0x1fd)]();_0x38b822[_0x4064e5(0x1ca)](_0x5dc2eb[_0x4064e5(0x1d3)]),_0x38b822[_0x4064e5(0x1e1)](_0x5dc2eb[_0x4064e5(0x1c4)]);const _0x3520ed=_0xf136a[_0x4064e5(0x1d5)]();_0x3520ed[_0x4064e5(0x1e3)](),_0x3520ed[_0x4064e5(0x1d6)](_0x38b822),_0x77e1d7[_0x4064e5(0x1dc)](_0x4064e5(0x1be)),_0x5dc2eb[_0x4064e5(0x1db)]();}}}export class ContentFieldView extends _0x46d387{constructor(_0x258eba,_0x48a4cd=''){const _0x17971e=_0x3f7238;super(_0x258eba),this[_0x17971e(0x1d2)]=this[_0x17971e(0x1ea)](),this[_0x17971e(0x1fb)]({'tag':_0x17971e(0x1cd),'attributes':{'class':['ck',_0x17971e(0x1c2),_0x48a4cd,_0x17971e(0x201),_0x17971e(0x1ce)]}});}[_0x3f7238(0x1bf)](_0x5e1910){const _0x1c3441=_0x3f7238;this[_0x1c3441(0x1c5)][_0x1c3441(0x1e8)]=_0x5e1910;}[_0x3f7238(0x1c3)](){const _0x2dd29a=_0x3f7238;this[_0x2dd29a(0x1c5)][_0x2dd29a(0x1b9)](this[_0x2dd29a(0x1d2)][_0x2dd29a(0x1c5)]);}[_0x3f7238(0x1ea)](){const _0x59c7ed=_0x3f7238,_0x563c92=new _0x46d387(),_0x2b613f=this[_0x59c7ed(0x1e7)],_0x1adcd9=new _0x109cbd();return _0x1adcd9[_0x59c7ed(0x202)]=!0x0,_0x563c92[_0x59c7ed(0x1fb)]({'tag':_0x59c7ed(0x1cd),'attributes':{'class':['ck',_0x59c7ed(0x1b8)]},'children':[_0x1adcd9,{'text':_0x371c32(_0x2b613f,_0x59c7ed(0x1e0))}]}),_0x563c92[_0x59c7ed(0x1b0)](),_0x563c92;}}function _0x1e2f(){const _0x211f48=['1129586xWzohY','ck-ai-form__content-area-wrapper','absolute','setStartAfter','2205245lnALtz','copyButtonView','div','ck-ai-form__content-field','icon','change:value','ck-ai-form__content-area--processing','loaderView','firstElementChild','mousedown','getSelection','addRange','bindTemplate','clipboard','change:isProcessing','body','remove','execCommand','72145FUUrZL','ClipboardItem','<span>[</span>','AI\x20is\x20writing...','setEndBefore','set','removeAllRanges','smooth','text/plain','bind','locale','innerHTML','29454RZfDIS','_createLoader','184NRkhMF','ck-ai-form__content-area','focus','createElement','contentFieldView','_createCopyButton','querySelector','302748fnjIbL','wheel','write','<span>]</span>','position','Copy','ck-hidden','596176rHZfWk','_copyHTMLToClipboard','setTemplate','listenTo','createRange','\x20ck-ai-form__copy-button--copied','.ck-ai-form__loader','style','ck-reset_all-excluded','isVisible','290XbNyDo','327933RpJNjI','render','ck-ai-form__copy-button-wrapper','text/html','execute','scrollTo','35cyHeHm','left','textContent','ck-ai-form__loader','appendChild','value','isEnabled','ck-ai-form__copy-button','scrollHeight','copy','setContent','class','-9999px','ck-content','appendLoader','lastElementChild','element','isProcessing'];_0x1e2f=function(){return _0x211f48;};return _0x1e2f();}
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module ai/ui/aiformerrorview
|
|
7
|
-
*/
|
|
8
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
5
|
import { View } from 'ckeditor5/src/ui.js';
|
|
6
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
10
7
|
/**
|
|
11
8
|
* A class representing the error view of the AI assistant.
|
|
12
9
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3752ac,_0x3a8d23){const _0xa76475=_0xa47c,_0x1fce0a=_0x3752ac();while(!![]){try{const _0x58eddc=parseInt(_0xa76475(0x108))/0x1*(-parseInt(_0xa76475(0xfc))/0x2)+parseInt(_0xa76475(0x107))/0x3+-parseInt(_0xa76475(0xfe))/0x4+-parseInt(_0xa76475(0x105))/0x5*(-parseInt(_0xa76475(0x106))/0x6)+parseInt(_0xa76475(0xfb))/0x7*(-parseInt(_0xa76475(0xfd))/0x8)+parseInt(_0xa76475(0xf9))/0x9+-parseInt(_0xa76475(0x104))/0xa*(-parseInt(_0xa76475(0x100))/0xb);if(_0x58eddc===_0x3a8d23)break;else _0x1fce0a['push'](_0x1fce0a['shift']());}catch(_0x4414df){_0x1fce0a['push'](_0x1fce0a['shift']());}}}(_0x358f,0x80e0a));function _0x358f(){const _0x520776=['5461169XUXsiB','756076HVCrqL','8HKTtRA','2498848YCCPnR','text','84282goKncr','content','set','bindTemplate','1150tBMJBI','22560gAcxfN','894eVcvMA','2877342QgNowR','2PSVjcO','setTemplate','ck-ai-form__error','1586745aOCYef','div'];_0x358f=function(){return _0x520776;};return _0x358f();}import{IconError as _0x2f4f77}from'ckeditor5/src/icons.js';import{View as _0x590fb2,IconView as _0x549c9e}from'ckeditor5/src/ui.js';function _0xa47c(_0x197a25,_0x291a10){const _0x358f92=_0x358f();return _0xa47c=function(_0xa47c48,_0x344e10){_0xa47c48=_0xa47c48-0xf8;let _0x4f7a54=_0x358f92[_0xa47c48];return _0x4f7a54;},_0xa47c(_0x197a25,_0x291a10);}export default class st extends _0x590fb2{constructor(_0x557491,_0x2edcdc=''){const _0x3466bb=_0xa47c;super(_0x557491);const _0x1a8366=new _0x549c9e(),_0x32311b=this[_0x3466bb(0x103)];this[_0x3466bb(0x102)](_0x3466bb(0xff),_0x2edcdc),_0x1a8366[_0x3466bb(0x101)]=_0x2f4f77,this[_0x3466bb(0x109)]({'tag':_0x3466bb(0xfa),'attributes':{'class':['ck',_0x3466bb(0xf8)]},'children':[_0x1a8366,{'text':_0x32311b['to'](_0x3466bb(0xff))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2215(){const _0x167a3a=['1588391VjHHME','target','rtl','filteredView','showHistoryButtonView','keystrokes','style','requestAnimationFrame','value','3LunCvh','focusCycler','add','window','enter','211531SLZAtx','width','resultsView','submit','fire','queryView','isEmpty','element','ck-ai-form__submit','maxRows','bind','fieldWrapperChildren','2023398qHgKmQ','excludeScrollbarsAndBorders','submitButtonView','8crWOop','render','ck-ai-form__toggle-history','focus','2829590gTSjgA','minRows','execute','_createShowHistoryButton','isVisible','uiLanguageDirection','isOn','1207625phfxyz','662356fJNShr','left','focusFirst','_createSubmitButton','right','fieldView','2KglWOh','locale','isEnabled','830958guWWag','update','Submit','set','children','focusableChildren','focusLast','History'];_0x2215=function(){return _0x167a3a;};return _0x2215();}const _0x5d401d=_0x1df0;(function(_0x5bacfa,_0xba284c){const _0x62fbd9=_0x1df0,_0x7d9e7a=_0x5bacfa();while(!![]){try{const _0x1f48d7=parseInt(_0x62fbd9(0x80))/0x1*(parseInt(_0x62fbd9(0xa1))/0x2)+parseInt(_0x62fbd9(0x7b))/0x3*(-parseInt(_0x62fbd9(0x9b))/0x4)+-parseInt(_0x62fbd9(0x9a))/0x5+parseInt(_0x62fbd9(0xa4))/0x6+parseInt(_0x62fbd9(0x72))/0x7*(-parseInt(_0x62fbd9(0x8f))/0x8)+parseInt(_0x62fbd9(0x8c))/0x9+parseInt(_0x62fbd9(0x93))/0xa;if(_0x1f48d7===_0xba284c)break;else _0x7d9e7a['push'](_0x7d9e7a['shift']());}catch(_0x25d41f){_0x7d9e7a['push'](_0x7d9e7a['shift']());}}}(_0x2215,0x36a22));import{Rect as _0x9357da,global as _0x326acf,isVisible as _0x32d7f4}from'ckeditor5/src/utils.js';function _0x1df0(_0x2a04d7,_0x2c66a5){const _0x2215f0=_0x2215();return _0x1df0=function(_0x1df07f,_0x475ba7){_0x1df07f=_0x1df07f-0x72;let _0x4ec8f3=_0x2215f0[_0x1df07f];return _0x4ec8f3;},_0x1df0(_0x2a04d7,_0x2c66a5);}import{IconHistory as _0x1b1859,IconSubmit as _0x516aab}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x309f49,ButtonView as _0x2d9b8d}from'ckeditor5/src/ui.js';import{getTranslation as _0x7bb8ba}from'../../utils/common-translations.js';export default class ct extends _0x309f49{[_0x5d401d(0x8e)];[_0x5d401d(0x76)];constructor(_0x23e051,_0x4c168e){const _0x52b0ea=_0x5d401d;super(_0x23e051,_0x4c168e),this[_0x52b0ea(0x85)][_0x52b0ea(0xa0)][_0x52b0ea(0x94)]=0x1,this[_0x52b0ea(0x85)][_0x52b0ea(0xa0)][_0x52b0ea(0x89)]=0x3,this[_0x52b0ea(0x8e)]=this[_0x52b0ea(0x9e)](),this[_0x52b0ea(0x76)]=this[_0x52b0ea(0x96)](),this[_0x52b0ea(0xa9)][_0x52b0ea(0x7d)](this[_0x52b0ea(0x76)],0x1),this[_0x52b0ea(0xa9)][_0x52b0ea(0x7d)](this[_0x52b0ea(0x8e)]);}[_0x5d401d(0x90)](){const _0x3fd62d=_0x5d401d;super[_0x3fd62d(0x90)](),this[_0x3fd62d(0x85)][_0x3fd62d(0x8b)][_0x3fd62d(0x7d)](this[_0x3fd62d(0x76)]),this[_0x3fd62d(0xa8)][_0x3fd62d(0x7d)](this[_0x3fd62d(0x8e)]),this[_0x3fd62d(0x77)][_0x3fd62d(0xa7)](_0x3fd62d(0x7f),(_0x4c932c,_0x4ada61)=>{const _0x216eab=_0x3fd62d;_0x4c932c[_0x216eab(0x73)]==this[_0x216eab(0x85)][_0x216eab(0xa0)][_0x216eab(0x87)]&&(this[_0x216eab(0x83)](),_0x4ada61());});}[_0x5d401d(0x9e)](){const _0x5519a0=_0x5d401d,_0x19a640=new _0x2d9b8d(this[_0x5519a0(0xa2)]),_0x17bdca=this[_0x5519a0(0xa2)];return _0x19a640[_0x5519a0(0xa7)]({'icon':_0x516aab,'label':_0x7bb8ba(_0x17bdca,_0x5519a0(0xa6)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5519a0(0x88)}),_0x19a640['on'](_0x5519a0(0x95),()=>{const _0x3ff3d7=_0x5519a0;this[_0x3ff3d7(0x83)]();}),_0x19a640[_0x5519a0(0x8a)](_0x5519a0(0xa3))['to'](this[_0x5519a0(0x85)][_0x5519a0(0xa0)],_0x5519a0(0x86),this,_0x5519a0(0xa3),(_0x3382ba,_0x4bd72e)=>!_0x3382ba&&_0x4bd72e),_0x19a640;}[_0x5d401d(0x96)](){const _0x147d47=_0x5d401d,_0x53cb38=new _0x2d9b8d(this[_0x147d47(0xa2)]),_0x5ba275=this[_0x147d47(0x82)],_0x461376=this[_0x147d47(0xa2)];_0x53cb38[_0x147d47(0xa7)]({'label':_0x7bb8ba(_0x461376,_0x147d47(0xab)),'withText':!0x1,'icon':_0x1b1859,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x147d47(0x91)}),_0x53cb38[_0x147d47(0x8a)](_0x147d47(0x99))['to'](_0x5ba275,_0x147d47(0x97)),_0x53cb38[_0x147d47(0x8a)](_0x147d47(0xa3))['to'](this,_0x147d47(0xa3)),_0x53cb38['on'](_0x147d47(0x95),()=>{const _0xfdbe91=_0x147d47;_0x5ba275[_0xfdbe91(0x97)]=!_0x5ba275[_0xfdbe91(0x97)],_0x5ba275[_0xfdbe91(0x97)]?this[_0xfdbe91(0x75)][_0xfdbe91(0x92)]():this[_0xfdbe91(0x92)]();});const _0x5606e7=()=>{const _0x1a26f3=_0x147d47;_0x326acf[_0x1a26f3(0x7e)][_0x1a26f3(0x79)](()=>{const _0x633129=_0x1a26f3;if(_0x32d7f4(this[_0x633129(0x87)])){const _0x1f39e5=new _0x9357da(this[_0x633129(0x85)][_0x633129(0xa0)][_0x633129(0x87)]),_0x54e848=_0x1f39e5[_0x633129(0x81)],_0xfda420=_0x633129(0x74)===_0x461376[_0x633129(0x98)]?_0x633129(0x9c):_0x633129(0x9f);_0x1f39e5[_0x633129(0x8d)](),_0x53cb38[_0x633129(0x87)][_0x633129(0x78)][_0xfda420]=_0x54e848-_0x1f39e5[_0x633129(0x81)]+0x1+'px';}});};return this[_0x147d47(0x85)][_0x147d47(0xa0)]['on'](_0x147d47(0xa5),_0x5606e7),this['on'](_0x147d47(0x90),_0x5606e7),_0x53cb38;}[_0x5d401d(0x83)](){const _0x326653=_0x5d401d,_0x5477b7=this[_0x326653(0x85)][_0x326653(0xa0)][_0x326653(0x87)][_0x326653(0x7a)];this[_0x326653(0x84)](_0x326653(0x83),_0x5477b7);}[_0x5d401d(0x92)](_0x407c1e){const _0x252ffc=_0x5d401d;-0x1===_0x407c1e?this[_0x252ffc(0x7c)][_0x252ffc(0xaa)]():this[_0x252ffc(0x7c)][_0x252ffc(0x9d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14a4a3=_0x2da5;(function(_0x4b22ca,_0x101b7e){const _0x39c9a6=_0x2da5,_0x573b37=_0x4b22ca();while(!![]){try{const _0x455ab4=-parseInt(_0x39c9a6(0x11b))/0x1*(-parseInt(_0x39c9a6(0x11f))/0x2)+parseInt(_0x39c9a6(0x12a))/0x3+-parseInt(_0x39c9a6(0x10b))/0x4*(-parseInt(_0x39c9a6(0x113))/0x5)+-parseInt(_0x39c9a6(0x11c))/0x6+-parseInt(_0x39c9a6(0x10c))/0x7+-parseInt(_0x39c9a6(0x112))/0x8+-parseInt(_0x39c9a6(0x129))/0x9*(-parseInt(_0x39c9a6(0x11d))/0xa);if(_0x455ab4===_0x101b7e)break;else _0x573b37['push'](_0x573b37['shift']());}catch(_0x448313){_0x573b37['push'](_0x573b37['shift']());}}}(_0x4312,0x5a345));import{ToolbarView as _0x5c9eb9,ButtonView as _0x43fc0d}from'ckeditor5/src/ui.js';function _0x4312(){const _0x1c0bf5=['insertButton','bind','ck-button-action','REPLACE','tryAgainButton','replaceButton','ck-ai-form__toolbar','739WTctwe','1317252ajDHyU','402200JHZYLH','_CONTENT','622PCRzNy','bindTemplate','mainAction','Insert\x20below','extendTemplate','stopButton','_createButton','Stop','insert','replace','18mpGbsS','804393AqWQMn','isVisible','Try\x20again','locale','toUpperCase','AI_','220uilFew','3217634dsutvV','ck-hidden','label','addMany','set','items','525552uXaWVl','48725tsDpwP'];_0x4312=function(){return _0x1c0bf5;};return _0x4312();}import{getTranslation as _0x456dab}from'../../utils/common-translations.js';function _0x2da5(_0x1c2438,_0x3fdbd4){const _0x431244=_0x4312();return _0x2da5=function(_0x2da5c9,_0x41ab2e){_0x2da5c9=_0x2da5c9-0x107;let _0xa52f1f=_0x431244[_0x2da5c9];return _0xa52f1f;},_0x2da5(_0x1c2438,_0x3fdbd4);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x14a4a3(0x128),'INSERT':_0x14a4a3(0x127)};export default class lt extends _0x5c9eb9{constructor(_0x1e873a){const _0x170dc3=_0x14a4a3;super(_0x1e873a),this[_0x170dc3(0x110)](_0x170dc3(0x12b),!0x1),this[_0x170dc3(0x110)](_0x170dc3(0x121),AIFormToolbarViewMainActionLabel[_0x170dc3(0x117)]),this[_0x170dc3(0x119)]=this[_0x170dc3(0x125)]('',_0x170dc3(0x116)),this[_0x170dc3(0x119)][_0x170dc3(0x115)](_0x170dc3(0x10e))['to'](this,_0x170dc3(0x121),_0x5b763b=>_0x456dab(_0x1e873a,_0x170dc3(0x10a)+_0x5b763b[_0x170dc3(0x109)]()+_0x170dc3(0x11e))),this[_0x170dc3(0x114)]=this[_0x170dc3(0x125)](_0x456dab(_0x1e873a,_0x170dc3(0x122))),this[_0x170dc3(0x118)]=this[_0x170dc3(0x125)](_0x456dab(_0x1e873a,_0x170dc3(0x107))),this[_0x170dc3(0x124)]=this[_0x170dc3(0x125)](_0x456dab(_0x1e873a,_0x170dc3(0x126)));const _0x47acf1=this[_0x170dc3(0x120)];this[_0x170dc3(0x123)]({'attributes':{'class':[_0x170dc3(0x11a),_0x47acf1['if'](_0x170dc3(0x12b),_0x170dc3(0x10d),_0x144657=>!_0x144657)]}}),this[_0x170dc3(0x111)][_0x170dc3(0x10f)]([this[_0x170dc3(0x119)],this[_0x170dc3(0x114)],this[_0x170dc3(0x118)],this[_0x170dc3(0x124)]]);}[_0x14a4a3(0x125)](_0xb18bef,_0x498137){const _0x119cf5=_0x14a4a3,_0xd17907=new _0x43fc0d(this[_0x119cf5(0x108)]);return _0xd17907[_0x119cf5(0x110)]({'label':_0xb18bef,'class':_0x498137||'','isVisible':!0x0,'withText':!0x0}),_0xd17907;}}
|