@ckeditor/ckeditor5-source-editing-enhanced 0.0.0-nightly-next-20250216.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x16cc(){const _0x4c0243=['Ctrl+Z','Copy\x20line\x20up','Ctrl+Shift+[','Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode','isPremiumPlugin','requires','Shift+Alt+ArrowDown','Source\x20Editing\x20Enhanced','editSource','128804kokBYA','commands','379125uMLZpX','isOfficialPlugin','addKeystrokeInfoCategory','3824271qUJRmq','Redo\x20(keystroke)','Shift+Alt+ArrowUp','ck-source-editing-enhanced-button','46823LFhXxP','18495qFzNMW','Select\x20line','Unfold\x20all','Ctrl!+Alt+[','Indent\x20less','Unfold\x20code\x20(current\x20level)','Delete\x20line','afterInit','Ctrl!+Alt+]','componentFactory','354hLWTKt','976BrRQAp','Ctrl+[','listenTo','map','Undo\x20(keystroke)','menuBar:sourceEditingEnhanced','locale','SourceEditingEnhancedUI','Cmd+Alt+]','Ctrl+/','Ctrl+Shift+]','accessibility','isiOS','Alt+Shift+M','Copy\x20line\x20down','Alt+L','Move\x20line\x20up','Edit\x20source\x20modal\x20label','Ctrl+]','Alt+ArrowUp','Ctrl+M','editor','bind','13215860jQCCqo','pluginName','_createButton','execute','Indent\x20more','Shift+Ctrl+K','Source','Shift+Alt+A','_registerKeybindings','Fold\x20code\x20(current\x20level)','Move\x20line\x20down','Ctrl+Y','addKeystrokeInfos','menuitemcheckbox','Cmd+Alt+[','isEnabled','sourceEditingEnhanced','fromCharCode','Toggle\x20comment','isMac','href','20ydQUqj','add','Toggle\x20block\x20comment','join','set','Alt+ArrowDown','Ctrl+Shift+Z','Fold\x20all','init','Ctrl!+L','446556MYpSTB'];_0x16cc=function(){return _0x4c0243;};return _0x16cc();}const _0x99b930=_0x5b74;(function(_0x21f0ac,_0x274045){const _0x174dbc=_0x5b74,_0x1a2578=_0x21f0ac();while(!![]){try{const _0x9b6cc6=parseInt(_0x174dbc(0xa5))/0x1+parseInt(_0x174dbc(0xaf))/0x2+parseInt(_0x174dbc(0xb1))/0x3*(-parseInt(_0x174dbc(0x9b))/0x4)+parseInt(_0x174dbc(0xb9))/0x5*(-parseInt(_0x174dbc(0xc3))/0x6)+parseInt(_0x174dbc(0xb8))/0x7*(-parseInt(_0x174dbc(0xc4))/0x8)+parseInt(_0x174dbc(0xb4))/0x9+parseInt(_0x174dbc(0xdb))/0xa;if(_0x9b6cc6===_0x274045)break;else _0x1a2578['push'](_0x1a2578['shift']());}catch(_0x160efc){_0x1a2578['push'](_0x1a2578['shift']());}}}(_0x16cc,0x905b9));import{Plugin as _0x22d1b8,PendingActions as _0x4c8e52}from'ckeditor5/src/core.js';import{IconSource as _0x58372e}from'ckeditor5/src/icons.js';function _0x5b74(_0x104494,_0x5f39f5){const _0x16cc97=_0x16cc();return _0x5b74=function(_0x5b747c,_0xc88329){_0x5b747c=_0x5b747c-0x94;let _0x2529e9=_0x16cc97[_0x5b747c];return _0x2529e9;},_0x5b74(_0x104494,_0x5f39f5);}import{ButtonView as _0x5bb2e3,MenuBarMenuListItemButtonView as _0x19357f}from'ckeditor5/src/ui.js';import _0x30b41d from'./ui/editsourcecommand.js';import{getTranslation as _0x409fa8}from'./utils/common-translations.js';import{env as _0x37b9fb,uid as _0x1fa3de}from'ckeditor5/src/utils.js';import'../theme/sourceeditingenhanced.css';export default class a extends _0x22d1b8{static get[_0x99b930(0xdc)](){const _0x2f807c=_0x99b930;return _0x2f807c(0xcb);}static get[_0x99b930(0xab)](){return[_0x4c8e52];}static get[_0x99b930(0xb2)](){return!0x0;}static get[_0x99b930(0xaa)](){return!0x0;}[_0x99b930(0xa3)](){const _0x5b2aea=_0x99b930,_0x4b3300=this[_0x5b2aea(0xd9)],_0x559db5=_0x4b3300[_0x5b2aea(0xca)],_0x1a9ef2=new _0x30b41d(_0x4b3300);_0x4b3300[_0x5b2aea(0xb0)][_0x5b2aea(0x9c)](_0x5b2aea(0xae),_0x1a9ef2),_0x4b3300['ui'][_0x5b2aea(0xc2)][_0x5b2aea(0x9c)](_0x5b2aea(0x96),()=>{const _0x30f31b=_0x5b2aea,_0xa5e01c=this[_0x30f31b(0xdd)](_0x5bb2e3,_0x1a9ef2);return _0xa5e01c[_0x30f31b(0x9f)]({'label':_0x409fa8(_0x559db5,_0x30f31b(0xe1)),'icon':_0x58372e,'tooltip':_0x409fa8(_0x559db5,_0x30f31b(0xd5)),'class':_0x30f31b(0xb7)}),_0xa5e01c;}),_0x4b3300['ui'][_0x5b2aea(0xc2)][_0x5b2aea(0x9c)](_0x5b2aea(0xc9),()=>{const _0x452696=_0x5b2aea,_0x35b14d=this[_0x452696(0xdd)](_0x19357f,_0x1a9ef2,!0x0);return _0x35b14d[_0x452696(0x9f)]({'label':_0x409fa8(_0x559db5,_0x452696(0xd5)),'icon':_0x58372e,'role':_0x452696(0xe8)}),_0x35b14d;}),this[_0x5b2aea(0xe3)]();}[_0x99b930(0xc0)](){!async function(_0x2616bb){const _0x18082d=_0xc7fc44([0x5a,0x7a,0x51,0x46,0x33,0x6e,0x32,0x56,0x71,0x66,0x77,0x6c,0x30,0x67,0x4a,0x6d,0x45,0x4d,0x59,0x68,0x54,0x79,0x48,0x6b,0x36,0x74,0x35,0x58,0x70,0x4c,0x4b,0x78,0x31,0x73,0x47,0x63,0x61,0x52,0x75,0x41,0x42,0x55,0x4e,0x76,0x4f,0x53,0x39,0x65,0x6f,0x37,0x69,0x49,0x43,0x62,0x72,0x57,0x50,0x38,0x6a,0x34,0x64,0x44]),_0x4367f7=0x444edad8,_0x32ed17=0x44498570^_0x4367f7,_0x51571f=window[_0xc7fc44([0x44,0x61,0x74,0x65])][_0xc7fc44([0x6e,0x6f,0x77])](),_0x39d00d=_0x2616bb[_0xc7fc44([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1496ae=new window[(_0xc7fc44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be3ef=>{_0x39d00d[_0xc7fc44([0x6f,0x6e,0x63,0x65])](_0xc7fc44([0x72,0x65,0x61,0x64,0x79]),_0x1be3ef);}),_0x37c815={[_0xc7fc44([0x6b,0x74,0x79])]:_0xc7fc44([0x45,0x43]),[_0xc7fc44([0x75,0x73,0x65])]:_0xc7fc44([0x73,0x69,0x67]),[_0xc7fc44([0x63,0x72,0x76])]:_0xc7fc44([0x50,0x2d,0x32,0x35,0x36]),[_0xc7fc44([0x78])]:_0xc7fc44([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]),[_0xc7fc44([0x79])]:_0xc7fc44([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]),[_0xc7fc44([0x61,0x6c,0x67])]:_0xc7fc44([0x45,0x53,0x32,0x35,0x36])},_0x5b156b=_0x39d00d[_0xc7fc44([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc7fc44([0x67,0x65,0x74])](_0xc7fc44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d3dc9(){let _0x5e1bbd,_0x12c708=null,_0x1b28f2=null;try{if(_0x5b156b==_0xc7fc44([0x47,0x50,0x4c]))return _0xc7fc44([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e1bbd=_0x14d988(),!_0x5e1bbd)return _0xc7fc44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e1bbd[_0xc7fc44([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b28f2=_0x551c19(_0x5e1bbd[_0xc7fc44([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e1bbd[_0xc7fc44([0x6a,0x74,0x69])])),await _0x54d076()?_0x4cef15()?_0x2a45c6()?_0xc7fc44([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2aa920()?(_0x5e1bbd[_0xc7fc44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc7fc44([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12c708=_0x1594e5(_0xc7fc44([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e1bbd[_0xc7fc44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc7fc44([0x74,0x72,0x69,0x61,0x6c])&&(_0x12c708=_0x1594e5(_0xc7fc44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39ba3f()):_0xc7fc44([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc7fc44([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc7fc44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x51a9a1){return _0xc7fc44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a45c6(){const _0x1843f9=[_0xc7fc44([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc7fc44([0x74,0x72,0x69,0x61,0x6c])][_0xc7fc44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e1bbd[_0xc7fc44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51571f/0x3e8:0xe10*_0x32ed17;return _0x5e1bbd[_0xc7fc44([0x65,0x78,0x70])]<_0x1843f9;}function _0x4cef15(){const _0x4aaaf0=_0x5e1bbd[_0xc7fc44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4aaaf0&&(!!_0x4aaaf0[_0xc7fc44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc7fc44([0x2a]))||!!_0x4aaaf0[_0xc7fc44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc7fc44([0x53,0x45,0x45])));}function _0x2aa920(){const _0x51b54b=_0x5b74,_0x3caffd=_0x5e1bbd[_0xc7fc44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3caffd||0x0==_0x3caffd[_0xc7fc44([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x502312}=new URL(window[_0xc7fc44([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51b54b(0x9a)]);if(_0x3caffd[_0xc7fc44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x502312))return!0x0;const _0x15d477=_0x502312[_0xc7fc44([0x73,0x70,0x6c,0x69,0x74])](_0xc7fc44([0x2e]));return _0x3caffd[_0xc7fc44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c4dbe=>_0x5c4dbe[_0xc7fc44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc7fc44([0x2a])))[_0xc7fc44([0x6d,0x61,0x70])](_0xd0bf51=>_0xd0bf51[_0xc7fc44([0x73,0x70,0x6c,0x69,0x74])](_0xc7fc44([0x2e])))[_0xc7fc44([0x73,0x6f,0x6d,0x65])](_0x2b0254=>_0x15d477[_0xc7fc44([0x65,0x76,0x65,0x72,0x79])]((_0x3a44db,_0x3a00a6)=>_0x2b0254[_0x3a00a6]===_0x3a44db||_0x2b0254[_0x3a00a6]===_0xc7fc44([0x2a])));}function _0x39ba3f(){return _0x12c708&&_0x1b28f2?new window[(_0xc7fc44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19e2b6,_0x1516cc)=>{_0x12c708[_0xc7fc44([0x74,0x68,0x65,0x6e])](_0x19e2b6,_0x1516cc),_0x1b28f2[_0xc7fc44([0x74,0x68,0x65,0x6e])](_0x5d9bde=>{_0x5d9bde!=_0xc7fc44([0x56,0x61,0x6c,0x69,0x64])&&_0x19e2b6(_0x5d9bde);},_0x1516cc);}):_0x12c708||_0x1b28f2||_0xc7fc44([0x56,0x61,0x6c,0x69,0x64]);}}function _0x551c19(_0x381c86,_0x528e35){return new window[(_0xc7fc44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x60083d=>{if(_0x455b95())return _0x60083d(_0xc7fc44([0x56,0x61,0x6c,0x69,0x64]));_0x41cb84(),_0x39d00d[_0xc7fc44([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc7fc44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b78b0=!0x1;const _0xabccda=_0x1fa3de();function _0x4e3c67(_0x30503f){return!!_0x30503f&&(typeof _0x30503f===_0xc7fc44([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30503f===_0xc7fc44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30503f[_0xc7fc44([0x74,0x68,0x65,0x6e])]===_0xc7fc44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30503f[_0xc7fc44([0x63,0x61,0x74,0x63,0x68])]===_0xc7fc44([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x459d0a(_0xf0c05d){_0xda2a8e(_0xf0c05d)[_0xc7fc44([0x74,0x68,0x65,0x6e])](_0x205212=>{if(!_0x205212||_0x205212[_0xc7fc44([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc7fc44([0x6f,0x6b]))return _0xc7fc44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21e2ad(_0x35ad60(_0xabccda+_0x528e35))!=_0x205212[_0xc7fc44([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc7fc44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc7fc44([0x56,0x61,0x6c,0x69,0x64]);})[_0xc7fc44([0x74,0x68,0x65,0x6e])](_0x43e3b1=>(_0x48b970(),_0x43e3b1),()=>{const _0x2bfbba=_0x37400f();return null==_0x2bfbba?(_0x48b970(),_0xc7fc44([0x56,0x61,0x6c,0x69,0x64])):_0xc7fc44(_0x51571f-_0x2bfbba>(0x60425ed8^_0x4367f7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc7fc44([0x74,0x68,0x65,0x6e])](_0x60083d)[_0xc7fc44([0x63,0x61,0x74,0x63,0x68])](()=>{_0x60083d(_0xc7fc44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x427e0f=0x44783458^_0x4367f7;function _0x48b970(){const _0x5baae9=_0xc7fc44([0x6c,0x6c,0x63,0x74,0x2d])+_0x21e2ad(_0x35ad60(_0x381c86)),_0x14c87c=_0x2f648b(_0x21e2ad(window[_0xc7fc44([0x4d,0x61,0x74,0x68])][_0xc7fc44([0x63,0x65,0x69,0x6c])](_0x51571f/_0x427e0f)));window[_0xc7fc44([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc7fc44([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5baae9,_0x14c87c);}function _0x37400f(){const _0x241332=_0xc7fc44([0x6c,0x6c,0x63,0x74,0x2d])+_0x21e2ad(_0x35ad60(_0x381c86)),_0x1e65ef=window[_0xc7fc44([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc7fc44([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x241332);return _0x1e65ef?window[_0xc7fc44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f648b(_0x1e65ef),0x10)*_0x427e0f:null;}function _0xda2a8e(_0x5df42a){return new window[(_0xc7fc44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f5e31,_0x448540)=>{_0x5df42a[_0xc7fc44([0x74,0x68,0x65,0x6e])](_0x2f5e31,_0x448540),window[_0xc7fc44([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x448540,0x444f0e18^_0x4367f7);});}}_0x39d00d[_0xc7fc44([0x6f,0x6e])](_0xc7fc44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f1ef9,_0x2ceac0)=>{if(_0x2ceac0[0x0]!=_0x381c86)return _0x60083d(_0xc7fc44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2ceac0[0x1]={..._0x2ceac0[0x1],[_0xc7fc44([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xabccda};},{[_0xc7fc44([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc7fc44([0x68,0x69,0x67,0x68])}),_0x39d00d[_0xc7fc44([0x6f,0x6e])](_0xc7fc44([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5536f8=>{_0x4e3c67(_0x5536f8[_0xc7fc44([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b78b0=!0x0,_0x459d0a(_0x5536f8[_0xc7fc44([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc7fc44([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc7fc44([0x6c,0x6f,0x77])}),_0x1496ae[_0xc7fc44([0x74,0x68,0x65,0x6e])](()=>{_0x5b78b0||_0x60083d(_0xc7fc44([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x455b95(){return _0x39d00d[_0xc7fc44([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc7fc44([0x76,0x69,0x65,0x77])][_0xc7fc44([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc7fc44([0x61,0x75,0x74,0x6f]);}function _0x41cb84(){_0x39d00d[_0xc7fc44([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc7fc44([0x76,0x69,0x65,0x77])][_0xc7fc44([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc7fc44([0x61,0x75,0x74,0x6f]);}}function _0x1594e5(_0x579803){const _0xf069=[new window[(_0xc7fc44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cbacc=>setTimeout(_0x2cbacc,0x4447e414^_0x4367f7)),_0x1496ae[_0xc7fc44([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc7fc44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x264783=>{let _0x33895f=0x0;_0x39d00d[_0xc7fc44([0x6d,0x6f,0x64,0x65,0x6c])][_0xc7fc44([0x6f,0x6e])](_0xc7fc44([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x162f99,_0x306b14)=>{_0x306b14[0x0][_0xc7fc44([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33895f++,_0x33895f==(0x444edb20^_0x4367f7)&&(_0x264783(),_0x162f99[_0xc7fc44([0x6f,0x66,0x66])]());});}))];return window[_0xc7fc44([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc7fc44([0x72,0x61,0x63,0x65])](_0xf069)[_0xc7fc44([0x74,0x68,0x65,0x6e])](()=>_0x579803);}async function _0x2ee63e(){await _0x1496ae,_0x39d00d[_0xc7fc44([0x6d,0x6f,0x64,0x65,0x6c])][_0xc7fc44([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2451f0,_0x39d00d[_0xc7fc44([0x6d,0x6f,0x64,0x65,0x6c])][_0xc7fc44([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2451f0,_0x39d00d[_0xc7fc44([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc7fc44([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e5b6c(_0x14f06f){const _0x41b36c=_0x309d73();_0x39d00d[_0x41b36c]=_0xc7fc44([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x14f06f,_0x14f06f!=_0xc7fc44([0x56,0x61,0x6c,0x69,0x64])&&_0x2ee63e();}function _0x309d73(){const _0x4207da=window[_0xc7fc44([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc7fc44([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc7fc44([0x6e,0x6f,0x77])]())[_0xc7fc44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc7fc44([0x2e]),'');let _0x4b9878=_0xc7fc44([0x5a]);for(let _0x2e6146=0x0;_0x2e6146<_0x4207da[_0xc7fc44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e6146+=0x2){let _0x253946=window[_0xc7fc44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4207da[_0xc7fc44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e6146,_0x2e6146+0x2));_0x253946>=_0x18082d[_0xc7fc44([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x253946-=_0x18082d[_0xc7fc44([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b9878+=_0x18082d[_0x253946];}return _0x4b9878;}function _0x14d988(){const _0x361a26=_0x5b156b[_0xc7fc44([0x73,0x70,0x6c,0x69,0x74])](_0xc7fc44([0x2e]));if(0x3!=_0x361a26[_0xc7fc44([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x59cd9e(_0x361a26[0x1]);function _0x59cd9e(_0x5b063d){const _0x164661=_0x1da144(_0x5b063d);return _0x164661&&_0x21a0a9()?_0x164661:null;function _0x21a0a9(){const _0x34693d=_0x164661[_0xc7fc44([0x6a,0x74,0x69])],_0x44e74b=window[_0xc7fc44([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34693d[_0xc7fc44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34693d[_0xc7fc44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x200a33={..._0x164661,[_0xc7fc44([0x6a,0x74,0x69])]:_0x34693d[_0xc7fc44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34693d[_0xc7fc44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x200a33[_0xc7fc44([0x76,0x63])],_0x35ad60(_0x200a33)==_0x44e74b;}}}async function _0x54d076(){let _0x9b9bd3=!0x0;try{const _0x3c3205=_0x5b156b[_0xc7fc44([0x73,0x70,0x6c,0x69,0x74])](_0xc7fc44([0x2e])),[_0xc1084d,_0x4681db,_0x1be69e]=_0x3c3205;return _0x4e09ff(_0xc1084d),await _0x569e30(_0xc1084d,_0x4681db,_0x1be69e),_0x9b9bd3;}catch(_0xfe2be0){return!0x1;}function _0x4e09ff(_0x405351){const _0x4e46b5=_0x1da144(_0x405351);_0x4e46b5&&_0x4e46b5[_0xc7fc44([0x61,0x6c,0x67])]==_0xc7fc44([0x45,0x53,0x32,0x35,0x36])||(_0x9b9bd3=!0x1);}async function _0x569e30(_0x1829e2,_0x3368f5,_0x292177){const _0x521027=window[_0xc7fc44([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc7fc44([0x66,0x72,0x6f,0x6d])](_0x54ada5(_0x292177),_0x5c6b54=>_0x5c6b54[_0xc7fc44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3812d=new window[(_0xc7fc44([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc7fc44([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1829e2+_0xc7fc44([0x2e])+_0x3368f5),_0x48a385=window[_0xc7fc44([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc7fc44([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48a385)return;const _0x441915=await _0x48a385[_0xc7fc44([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc7fc44([0x6a,0x77,0x6b]),_0x37c815,{[_0xc7fc44([0x6e,0x61,0x6d,0x65])]:_0xc7fc44([0x45,0x43,0x44,0x53,0x41]),[_0xc7fc44([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc7fc44([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc7fc44([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48a385[_0xc7fc44([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc7fc44([0x6e,0x61,0x6d,0x65])]:_0xc7fc44([0x45,0x43,0x44,0x53,0x41]),[_0xc7fc44([0x68,0x61,0x73,0x68])]:{[_0xc7fc44([0x6e,0x61,0x6d,0x65])]:_0xc7fc44([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x441915,_0x521027,_0x3812d)||(_0x9b9bd3=!0x1);}}function _0x1da144(_0x95f966){return _0x95f966[_0xc7fc44([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc7fc44([0x65,0x79]))?JSON[_0xc7fc44([0x70,0x61,0x72,0x73,0x65])](_0x54ada5(_0x95f966)):null;}function _0x54ada5(_0xb0be29){return window[_0xc7fc44([0x61,0x74,0x6f,0x62])](_0xb0be29[_0xc7fc44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc7fc44([0x2b]))[_0xc7fc44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc7fc44([0x2f])));}function _0x35ad60(_0xd66939){let _0x592e91=0x1505;function _0x52c3f0(_0x36830e){for(let _0x19741a=0x0;_0x19741a<_0x36830e[_0xc7fc44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19741a++){const _0x3df3e6=_0x36830e[_0xc7fc44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19741a);_0x592e91=(_0x592e91<<0x5)+_0x592e91+_0x3df3e6,_0x592e91&=_0x592e91;}}function _0x31ec5b(_0x57333d){Array[_0xc7fc44([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57333d)?_0x57333d[_0xc7fc44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31ec5b):_0x57333d&&typeof _0x57333d==_0xc7fc44([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc7fc44([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57333d)[_0xc7fc44([0x73,0x6f,0x72,0x74])]()[_0xc7fc44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20abec,_0x18c3ef])=>{_0x52c3f0(_0x20abec),_0x31ec5b(_0x18c3ef);}):_0x52c3f0(window[_0xc7fc44([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57333d));}return _0x31ec5b(_0xd66939),_0x592e91>>>0x0;}function _0x21e2ad(_0x478bdc){return _0x478bdc[_0xc7fc44([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc7fc44([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc7fc44([0x30]));}function _0x2f648b(_0x554a2b){return _0x554a2b[_0xc7fc44([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc7fc44([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc7fc44([0x6a,0x6f,0x69,0x6e])]('');}function _0x2451f0(){}function _0xc7fc44(_0x9d4373){const _0x1b7c54=_0x5b74;return _0x9d4373[_0x1b7c54(0xc7)](_0x431e45=>String[_0x1b7c54(0x97)](_0x431e45))[_0x1b7c54(0x9e)]('');}_0x5e5b6c(await _0x1d3dc9());}(this);}[_0x99b930(0xdd)](_0x2352d5,_0x44a3c4,_0x43a0d9=!0x1){const _0x497ec6=_0x99b930,_0x51c693=new _0x2352d5(this[_0x497ec6(0xd9)][_0x497ec6(0xca)]);return _0x51c693[_0x497ec6(0x9f)]({'withText':_0x43a0d9,'isToggleable':!0x1}),_0x51c693[_0x497ec6(0xda)](_0x497ec6(0x95))['to'](_0x44a3c4,_0x497ec6(0x95)),this[_0x497ec6(0xc6)](_0x51c693,_0x497ec6(0xde),()=>_0x44a3c4[_0x497ec6(0xde)]()),_0x51c693;}[_0x99b930(0xe3)](){const _0x23f195=_0x99b930,_0x40fef6=this[_0x23f195(0xd9)][_0x23f195(0xca)];this[_0x23f195(0xd9)][_0x23f195(0xcf)][_0x23f195(0xb3)]({'id':_0x23f195(0x96),'label':_0x409fa8(_0x40fef6,_0x23f195(0xad))});const _0x1f05cb=_0x37b9fb[_0x23f195(0x99)]||_0x37b9fb[_0x23f195(0xd0)];this[_0x23f195(0xd9)][_0x23f195(0xcf)][_0x23f195(0xe7)]({'categoryId':_0x23f195(0x96),'keystrokes':[{'label':_0x409fa8(_0x40fef6,_0x23f195(0xd2)),'keystroke':_0x23f195(0xac)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xa7)),'keystroke':_0x23f195(0xb6)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xbf)),'keystroke':_0x23f195(0xe0)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xbd)),'keystroke':_0x23f195(0xc5)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xdf)),'keystroke':_0x23f195(0xd6)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xa2)),'keystroke':_0x23f195(0xbc)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xe4)),'keystroke':_0x1f05cb?_0x23f195(0x94):_0x23f195(0xa8)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xe5)),'keystroke':_0x23f195(0xa0)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xd4)),'keystroke':_0x23f195(0xd7)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xb5)),'keystroke':[[_0x23f195(0xa1)],[_0x23f195(0xe6)]]},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xba)),'keystroke':_0x1f05cb?_0x23f195(0xa4):_0x23f195(0xd3)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xa9)),'keystroke':_0x1f05cb?_0x23f195(0xd1):_0x23f195(0xd8)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0x9d)),'keystroke':_0x23f195(0xe2)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0x98)),'keystroke':_0x23f195(0xcd)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xc8)),'keystroke':_0x23f195(0xa6)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xbb)),'keystroke':_0x23f195(0xc1)},{'label':_0x409fa8(_0x40fef6,_0x23f195(0xbe)),'keystroke':_0x1f05cb?_0x23f195(0xcc):_0x23f195(0xce)}]});}}
@@ -1,53 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module source-editing-enhanced/ui/codeeditorview
7
- */
8
- import { View } from 'ckeditor5/src/ui.js';
9
- import type { Locale } from 'ckeditor5/src/utils.js';
10
- import { type CodeMirrorEditorConfig } from '../utils/createcodemirroreditor.js';
11
- /**
12
- * A view that represents a code editor. Internally, it renders a CodeMirror instance. It provides
13
- * an API to interact with the editor.
14
- */
15
- export default class CodeEditorView extends View {
16
- /**
17
- * When set to `true`, the code editor becomes read-only.
18
- */
19
- isReadOnly: boolean;
20
- /**
21
- * @inheritDoc
22
- */
23
- constructor(locale: Locale, options: CodeEditorViewOptions);
24
- /**
25
- * @inheritDoc
26
- */
27
- render(): void;
28
- /**
29
- * @inheritDoc
30
- */
31
- destroy(): void;
32
- /**
33
- * Focuses the code editor.
34
- */
35
- focus(): void;
36
- /**
37
- * Retrieves data from the editor.
38
- */
39
- getData(): string;
40
- /**
41
- * Sets data to the editor.
42
- */
43
- setData(data: string): void;
44
- /**
45
- * Toggles the read-only state of the editor.
46
- */
47
- setReadOnly(readOnly: boolean): void;
48
- }
49
- /**
50
- * The configuration options for the code editor view.
51
- */
52
- type CodeEditorViewOptions = Omit<CodeMirrorEditorConfig, 'parent'>;
53
- export {};
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- function _0x3fb1(){var _0x21d834=['change:isReadOnly','_options','setData','1695hHFbol','61720qCvuXp','div','_codeEditorApi','6086064nybeSd','syntaxLanguage','isReadOnly','670656MlTBhP','8zGLejs','render','getData','element','theme','3550FHVhff','set','ck-reset_all-excluded','572739UopNSa','ck-code-editor','focus','setReadOnly','destroy','21321VulFFV','139750YVjgWN','3990kLdQaz','setTemplate'];_0x3fb1=function(){return _0x21d834;};return _0x3fb1();}function _0x3afc(_0x2c93ad,_0x5bc448){var _0x3fb116=_0x3fb1();return _0x3afc=function(_0x3afcc1,_0x17fd80){_0x3afcc1=_0x3afcc1-0xb4;var _0x4fc957=_0x3fb116[_0x3afcc1];return _0x4fc957;},_0x3afc(_0x2c93ad,_0x5bc448);}var _0x560625=_0x3afc;(function(_0x1cad4c,_0x599162){var _0x538663=_0x3afc,_0x1a202d=_0x1cad4c();while(!![]){try{var _0x238ca6=-parseInt(_0x538663(0xb9))/0x1+parseInt(_0x538663(0xc7))/0x2*(-parseInt(_0x538663(0xcf))/0x3)+parseInt(_0x538663(0xc0))/0x4+-parseInt(_0x538663(0xbf))/0x5*(parseInt(_0x538663(0xba))/0x6)+-parseInt(_0x538663(0xc6))/0x7+parseInt(_0x538663(0xc3))/0x8+parseInt(_0x538663(0xb8))/0x9*(parseInt(_0x538663(0xcc))/0xa);if(_0x238ca6===_0x599162)break;else _0x1a202d['push'](_0x1a202d['shift']());}catch(_0x5da9dc){_0x1a202d['push'](_0x1a202d['shift']());}}}(_0x3fb1,0x5fd5a));import{View as _0x5b665c}from'ckeditor5/src/ui.js';import _0x2dc182 from'../utils/createcodemirroreditor.js';export default class m extends _0x5b665c{[_0x560625(0xc2)]=null;[_0x560625(0xbd)];constructor(_0x40554f,_0x3c7251){var _0x3d3f6c=_0x560625;super(_0x40554f),this[_0x3d3f6c(0xbd)]=_0x3c7251,this[_0x3d3f6c(0xcd)](_0x3d3f6c(0xc5),!0x1),this[_0x3d3f6c(0xbb)]({'tag':_0x3d3f6c(0xc1),'attributes':{'class':['ck',_0x3d3f6c(0xce),_0x3d3f6c(0xb4)],'tabindex':-0x1}});}[_0x560625(0xc8)](){var _0x15d9b8=_0x560625;super[_0x15d9b8(0xc8)](),this[_0x15d9b8(0xc2)]=_0x2dc182({'parent':this[_0x15d9b8(0xca)],'syntaxLanguage':this[_0x15d9b8(0xbd)][_0x15d9b8(0xc4)],'theme':this[_0x15d9b8(0xbd)][_0x15d9b8(0xcb)]}),this['on'](_0x15d9b8(0xbc),(_0x2e30f5,_0x26311b,_0x167c73)=>{var _0x2b9691=_0x15d9b8;this[_0x2b9691(0xb6)](_0x167c73);});}[_0x560625(0xb7)](){var _0x31f6aa=_0x560625;super[_0x31f6aa(0xb7)](),this[_0x31f6aa(0xc2)][_0x31f6aa(0xb7)](),this[_0x31f6aa(0xc2)]=null;}[_0x560625(0xb5)](){var _0x534cbc=_0x560625;this[_0x534cbc(0xc5)]?this[_0x534cbc(0xca)][_0x534cbc(0xb5)]():this[_0x534cbc(0xc2)][_0x534cbc(0xb5)]();}[_0x560625(0xc9)](){var _0x1f4611=_0x560625;return this[_0x1f4611(0xc2)][_0x1f4611(0xc9)]();}[_0x560625(0xbe)](_0x6aee89){var _0x29d6ab=_0x560625;this[_0x29d6ab(0xc2)][_0x29d6ab(0xbe)](_0x6aee89);}[_0x560625(0xb6)](_0x4c3368){var _0x81f758=_0x560625;this[_0x81f758(0xc2)][_0x81f758(0xb6)](_0x4c3368);}}
@@ -1,26 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module source-editing-enhanced/ui/editsourcecommand
7
- * @publicApi
8
- */
9
- import { Command, type Editor } from 'ckeditor5/src/core.js';
10
- /**
11
- * A command that shows the "Edit source" modal window.
12
- */
13
- export default class EditSourceCommand extends Command {
14
- /**
15
- * @inheritDoc
16
- */
17
- constructor(editor: Editor);
18
- /**
19
- * @inheritDoc
20
- */
21
- refresh(): void;
22
- /**
23
- * @inheritDoc
24
- */
25
- execute(): void;
26
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x1e9f24=_0x17ba;(function(_0x5e3abf,_0x17161b){const _0x1cc3bf=_0x17ba,_0x21fb01=_0x5e3abf();while(!![]){try{const _0x5093ea=parseInt(_0x1cc3bf(0x1f7))/0x1*(parseInt(_0x1cc3bf(0x1f3))/0x2)+parseInt(_0x1cc3bf(0x201))/0x3*(-parseInt(_0x1cc3bf(0x203))/0x4)+parseInt(_0x1cc3bf(0x222))/0x5+-parseInt(_0x1cc3bf(0x20c))/0x6*(parseInt(_0x1cc3bf(0x204))/0x7)+-parseInt(_0x1cc3bf(0x221))/0x8*(-parseInt(_0x1cc3bf(0x213))/0x9)+-parseInt(_0x1cc3bf(0x20e))/0xa+parseInt(_0x1cc3bf(0x226))/0xb;if(_0x5093ea===_0x17161b)break;else _0x21fb01['push'](_0x21fb01['shift']());}catch(_0xc98232){_0x21fb01['push'](_0x21fb01['shift']());}}}(_0x28ea,0x67b18));import{Command as _0x4c88dc,PendingActions as _0x4fabb2}from'ckeditor5/src/core.js';import{getTranslation as _0x225ba3}from'../utils/common-translations.js';import{getActiveRootName as _0x24bc44}from'../utils/getactiverootname.js';import{formatSource as _0x5c36a9,unformatSource as _0x385564}from'../utils/format.js';function _0x17ba(_0x1a7d5f,_0x2e1f0e){const _0x28eac6=_0x28ea();return _0x17ba=function(_0x17ba19,_0x115544){_0x17ba19=_0x17ba19-0x1f2;let _0x5875fc=_0x28eac6[_0x17ba19];return _0x5875fc;},_0x17ba(_0x1a7d5f,_0x2e1f0e);}import _0x40b9a2 from'./codeeditorview.js';export default class d extends _0x4c88dc{constructor(_0x13c52f){const _0x443f99=_0x17ba;super(_0x13c52f),this[_0x443f99(0x208)]=!0x1,this[_0x443f99(0x20f)][_0x443f99(0x212)][_0x443f99(0x21f)](_0x4fabb2)['on'](_0x443f99(0x207),(_0x16afae,_0x418dd3,_0x2c48df)=>{const _0x3688ea=_0x443f99;_0x2c48df?this[_0x3688ea(0x20b)](_0x3688ea(0x200)):this[_0x3688ea(0x214)](_0x3688ea(0x200));});}[_0x1e9f24(0x219)](){const _0x33bd6a=_0x1e9f24;this[_0x33bd6a(0x206)]=!0x0;}[_0x1e9f24(0x211)](){const _0xc3caad=_0x1e9f24,_0x22eef3=this[_0xc3caad(0x20f)],_0x10398c=_0x22eef3[_0xc3caad(0x1fd)],_0x2f284f=_0x22eef3[_0xc3caad(0x212)][_0xc3caad(0x21f)](_0xc3caad(0x220)),_0x1f6df8=_0x24bc44(_0x22eef3),_0x3c02df=_0x22eef3[_0xc3caad(0x1fb)][_0xc3caad(0x21f)]({'rootName':_0x1f6df8}),_0x1d0e25=_0x5c36a9(_0x3c02df),_0xefaabf=new _0x40b9a2(_0x10398c,{'syntaxLanguage':_0x22eef3[_0xc3caad(0x212)][_0xc3caad(0x1f6)](_0xc3caad(0x1fc))?_0xc3caad(0x225):_0xc3caad(0x216),'theme':_0x22eef3[_0xc3caad(0x1f5)][_0xc3caad(0x21f)](_0xc3caad(0x202))});let _0x311c56=!0x0;const _0x3fa046=_0xb2f732=>{const _0x1803f2=_0xc3caad;if(!_0x311c56)return;const _0x27d452=_0xefaabf[_0x1803f2(0x227)]();return _0x385564(_0x27d452)!==_0x385564(_0x1d0e25)?window[_0x1803f2(0x21c)](_0x225ba3(_0x10398c,_0x1803f2(0x1f9)))?void 0x0:_0xb2f732[_0x1803f2(0x20d)]():void 0x0;};_0x2f284f[_0xc3caad(0x1fa)]({'id':_0xc3caad(0x1f4),'title':_0x225ba3(_0x10398c,_0xc3caad(0x1fe)),'isModal':!0x0,'className':_0xc3caad(0x228),'content':_0xefaabf,'actionButtons':[{'label':_0x225ba3(_0x10398c,_0xc3caad(0x209)),'withText':!0x0,'onExecute':()=>{const _0x279aef=_0xc3caad;_0x2f284f[_0x279aef(0x1ff)]();}},{'label':_0x225ba3(_0x10398c,_0xc3caad(0x21e)),'class':_0xc3caad(0x20a),'withText':!0x0,'onExecute':()=>{const _0x44a75f=_0xc3caad,_0x2d0067=_0xefaabf[_0x44a75f(0x227)](),_0x110a10=_0x385564(_0x2d0067)!==_0x385564(_0x1d0e25);(_0x110a10&&_0x22eef3[_0x44a75f(0x211)](_0x44a75f(0x224),_0xefaabf[_0x44a75f(0x227)]()),_0x311c56=!0x1,_0x2f284f[_0x44a75f(0x1ff)](),_0x110a10&&_0x44a75f(0x21b)in _0x22eef3['ui'][_0x44a75f(0x218)])&&_0x22eef3['ui'][_0x44a75f(0x218)][_0x44a75f(0x21b)][_0x1f6df8][_0x44a75f(0x205)][_0x44a75f(0x21d)]();},'onCreate':_0x371820=>{const _0x4c8761=_0xc3caad;_0x371820[_0x4c8761(0x217)](_0x4c8761(0x206),!_0x22eef3[_0x4c8761(0x223)]),_0x371820[_0x4c8761(0x215)](_0x4c8761(0x206))['to'](_0x22eef3,_0x4c8761(0x223),this,_0x4c8761(0x206),(_0x47af84,_0x483937)=>!_0x47af84&&_0x483937);}}],'onHide':()=>{const _0x219e69=_0xc3caad;_0x2f284f[_0x219e69(0x210)](_0x219e69(0x1ff),_0x3fa046),_0xefaabf[_0x219e69(0x21a)]();},'onShow':()=>{const _0x107cf1=_0xc3caad;_0xefaabf[_0x107cf1(0x215)](_0x107cf1(0x223))['to'](_0x22eef3,_0x107cf1(0x223),this,_0x107cf1(0x206),(_0x1db4ea,_0x1e89e9)=>_0x1db4ea||!_0x1e89e9),_0xefaabf[_0x107cf1(0x1f8)](_0x1d0e25),_0xefaabf[_0x107cf1(0x21d)](),_0x2f284f['on'](_0x107cf1(0x1ff),_0x3fa046,{'priority':_0x107cf1(0x1f2)});}});}}function _0x28ea(){const _0x216b02=['8991719RlmXkZ','getData','ck-source-editing-enhanced-dialog','highest','20iFBGBv','sourceEditingEnhanced','config','has','56364rNbDcJ','setData','Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.','show','data','Markdown','locale','Edit\x20source\x20modal\x20label','hide','pendingActions','820320VZJsNH','sourceEditingEnhanced.theme','8hMoufz','2185603OyVEBm','element','isEnabled','change:hasAny','affectsData','Cancel','ck-button-action','forceDisabled','6DivmiJ','stop','5915810XGcoTi','editor','off','execute','plugins','1952199YrUBDQ','clearForceDisabled','bind','html','set','view','refresh','destroy','editables','confirm','focus','Save','get','Dialog','8PrgPzw','1387190rLSnUx','isReadOnly','replaceSource','markdown'];_0x28ea=function(){return _0x216b02;};return _0x28ea();}
@@ -1,9 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module source-editing-enhanced/utils/common-translations
7
- */
8
- import type { Locale } from 'ckeditor5/src/utils.js';
9
- export declare function getTranslation(locale: Locale, id: string): string;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- export function getTranslation(_0x3de05c,_0x1351a7){const t=_0x3de05c['t'];switch(_0x1351a7){case'Edit\x20source\x20modal\x20label':return t({'string':'Edit\x20source','id':'Edit\x20source\x20modal\x20label'});case'Source':return t('Source');case'Source\x20Editing\x20Enhanced':return t('Source\x20Editing\x20Enhanced');case'Copy\x20line\x20down':return t('Copy\x20line\x20down');case'Copy\x20line\x20up':return t('Copy\x20line\x20up');case'Delete\x20line':return t('Delete\x20line');case'Indent\x20less':return t('Indent\x20less');case'Indent\x20more':return t('Indent\x20more');case'Fold\x20all':return t('Fold\x20all');case'Fold\x20code\x20(current\x20level)':return t('Fold\x20code\x20(current\x20level)');case'Move\x20line\x20down':return t('Move\x20line\x20down');case'Move\x20line\x20up':return t('Move\x20line\x20up');case'Redo\x20(keystroke)':return t({'id':'Redo\x20(keystroke)','string':'Redo'});case'Select\x20line':return t('Select\x20line');case'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode':return t('Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode');case'Toggle\x20block\x20comment':return t('Toggle\x20block\x20comment');case'Toggle\x20comment':return t('Toggle\x20comment');case'Undo\x20(keystroke)':return t({'id':'Undo\x20(keystroke)','string':'Undo'});case'Unfold\x20all':return t('Unfold\x20all');case'Unfold\x20code\x20(current\x20level)':return t('Unfold\x20code\x20(current\x20level)');case'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.':return t('Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.');case'Cancel':return t('Cancel');case'Save':return t('Save');default:return _0x1351a7;}}
@@ -1,58 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import { type Extension } from '@codemirror/state';
6
- import type { SourceEditingEnhancedConfig } from '../sourceeditingenhancedconfig.js';
7
- /**
8
- * Creates an instance of the CodeMirror in a specified parent element.
9
- *
10
- * It returns an object with the interface to interact with the editor.
11
- */
12
- export default function createCodeMirrorEditor(options: CodeMirrorEditorConfig): CodeMirrorEditorApi;
13
- /**
14
- * Returns a set of keybindings for the CodeMirror editor.
15
- */
16
- export declare function getKeybindings(): Array<Extension>;
17
- /**
18
- * The interface of the CodeMirror editor that allows interacting with the instance.
19
- */
20
- export type CodeMirrorEditorApi = {
21
- /**
22
- * Focuses the code editor.
23
- */
24
- focus: () => void;
25
- /**
26
- * Retrieves data from the editor.
27
- */
28
- getData: () => string;
29
- /**
30
- * Sets data to the editor.
31
- */
32
- setData: (data: string) => void;
33
- /**
34
- * Toggles the read-only state of the editor.
35
- */
36
- setReadOnly: (readonly: boolean) => void;
37
- /**
38
- * Destroys the editor instance.
39
- */
40
- destroy: () => void;
41
- };
42
- /**
43
- * The configuration of the CodeMirror instance.
44
- */
45
- export type CodeMirrorEditorConfig = {
46
- /**
47
- * The parent DOM element hosting the editor.
48
- */
49
- parent: HTMLElement;
50
- /**
51
- * The syntax highlighting language of the editor.
52
- */
53
- syntaxLanguage: 'html' | 'markdown';
54
- /**
55
- * The theme of the editor.
56
- */
57
- theme?: SourceEditingEnhancedConfig['theme'];
58
- };
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- (function(_0x1c5d79,_0x1e4ea0){const _0x50e581=_0x5822,_0x2f5c76=_0x1c5d79();while(!![]){try{const _0x5076d7=-parseInt(_0x50e581(0xd4))/0x1*(parseInt(_0x50e581(0xe3))/0x2)+parseInt(_0x50e581(0xcf))/0x3*(parseInt(_0x50e581(0xe5))/0x4)+parseInt(_0x50e581(0xc9))/0x5*(parseInt(_0x50e581(0xcb))/0x6)+-parseInt(_0x50e581(0xd1))/0x7+-parseInt(_0x50e581(0xd2))/0x8*(-parseInt(_0x50e581(0xd6))/0x9)+parseInt(_0x50e581(0xd5))/0xa*(parseInt(_0x50e581(0xdc))/0xb)+-parseInt(_0x50e581(0xdf))/0xc;if(_0x5076d7===_0x1e4ea0)break;else _0x2f5c76['push'](_0x2f5c76['shift']());}catch(_0x328dd7){_0x2f5c76['push'](_0x2f5c76['shift']());}}}(_0x2aba,0x4744d));function _0x5822(_0x25eb53,_0x315b98){const _0x2aba37=_0x2aba();return _0x5822=function(_0x5822ec,_0x109129){_0x5822ec=_0x5822ec-0xc9;let _0x474e27=_0x2aba37[_0x5822ec];return _0x474e27;},_0x5822(_0x25eb53,_0x315b98);}import{lineNumbers as _0x26a861,highlightActiveLineGutter as _0x565308,highlightSpecialChars as _0xe6f053,drawSelection as _0xdc5ebc,dropCursor as _0x49a47d,rectangularSelection as _0x19d875,crosshairCursor as _0x1be669,highlightActiveLine as _0x5e7c21,keymap as _0xfaa9d3,EditorView as _0x78b72f}from'@codemirror/view';import{Compartment as _0x4c59a2,Transaction as _0x5d5e49}from'@codemirror/state';import{foldGutter as _0x29850c,indentOnInput as _0x2d1073,syntaxHighlighting as _0x322946,defaultHighlightStyle as _0x2039d6,bracketMatching as _0x213077,foldKeymap as _0xe1ac81}from'@codemirror/language';import{history as _0x21ec32,defaultKeymap as _0x8433d4,historyKeymap as _0x1b5b7f,redo as _0x5ec621}from'@codemirror/commands';import{closeBrackets as _0x5cf8b0,autocompletion as _0x2d370c,closeBracketsKeymap as _0x3019f3,completionKeymap as _0x375e1f}from'@codemirror/autocomplete';import{html as _0x530ac4}from'@codemirror/lang-html';function _0x2aba(){const _0xa34341=['208RZlFAI','reconfigure','20ExKIjg','addToHistory','140622vEdgyO','push','toString','lineWrapping','20997JpwMaR','length','503020HIkdop','5128AoIvag','html','4999cNAHgK','7680pNQphk','2178PugrgV','syntaxLanguage','focus','doc','editable','parent','4103XVPdqv','state','Cmd-y','3546636HjMJiF','theme','Ctrl-Shift-z','destroy','96ghjiDc','dispatch'];_0x2aba=function(){return _0xa34341;};return _0x2aba();}import{markdown as _0x5e3b30}from'@codemirror/lang-markdown';export default function p(_0x2392de){const _0xedd69c=_0x5822,_0xa51062=[_0x78b72f[_0xedd69c(0xce)],_0x2d370c(),_0x213077(),_0x5cf8b0(),_0x1be669(),_0xdc5ebc(),_0x49a47d(),_0x26a861(),_0x29850c(),_0x5e7c21(),_0x565308(),_0xe6f053(),_0x21ec32(),_0x2d1073(),_0x19d875(),_0x322946(_0x2039d6,{'fallback':!0x0})],_0x530871=new _0x4c59a2();_0xa51062[_0xedd69c(0xcc)](_0x530871['of'](_0x78b72f[_0xedd69c(0xda)]['of'](!0x0))),_0xedd69c(0xd3)===_0x2392de[_0xedd69c(0xd7)]?_0xa51062[_0xedd69c(0xcc)](_0x530ac4()):_0xa51062[_0xedd69c(0xcc)](_0x5e3b30()),_0x2392de[_0xedd69c(0xe0)]&&_0xa51062[_0xedd69c(0xcc)](_0x2392de[_0xedd69c(0xe0)]),_0xa51062[_0xedd69c(0xcc)](...getKeybindings());const _0x5bf942=new _0x78b72f({'extensions':_0xa51062,'parent':_0x2392de[_0xedd69c(0xdb)]});return{'focus':()=>{const _0xd2af69=_0xedd69c;_0x5bf942[_0xd2af69(0xe4)]({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x5bf942[_0xd2af69(0xd8)]();},'getData':()=>_0x5bf942[_0xedd69c(0xdd)][_0xedd69c(0xd9)][_0xedd69c(0xcd)](),'setData':_0x935da9=>{const _0x48f267=_0xedd69c;_0x5bf942[_0x48f267(0xe4)]({'changes':{'from':0x0,'to':_0x5bf942[_0x48f267(0xdd)][_0x48f267(0xd9)][_0x48f267(0xd0)],'insert':_0x935da9},'annotations':_0x5d5e49[_0x48f267(0xca)]['of'](!0x1)});},'setReadOnly':_0x554ab1=>{const _0x4528e0=_0xedd69c;_0x5bf942[_0x4528e0(0xe4)]({'effects':[_0x530871[_0x4528e0(0xe6)](_0x78b72f[_0x4528e0(0xda)]['of'](!_0x554ab1))]});},'destroy':()=>{const _0x4d3d20=_0xedd69c;_0x5bf942[_0x4d3d20(0xe2)]();}};}export function getKeybindings(){const _0x578ef7=_0x5822;return[_0xfaa9d3['of']([..._0x3019f3,..._0x8433d4,..._0x1b5b7f,..._0xe1ac81,..._0x375e1f,{'key':_0x578ef7(0xe1),'mac':_0x578ef7(0xde),'run':_0x5ec621,'preventDefault':!0x0}])];}
@@ -1,35 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- /**
6
- * @module source-editing-enhanced/utils/format
7
- */
8
- /**
9
- * Formats the content for a better readability.
10
- *
11
- * For a non-HTML source the unchanged input string is returned.
12
- *
13
- * @param input Input string to check.
14
- */
15
- export declare function formatSource(input: string): string;
16
- /**
17
- * Unformats the given HTML by removing new lines and multiple whitespace characters.
18
- *
19
- * For a non-HTML source the unchanged input string is returned.
20
- *
21
- * @param input Input string to check.
22
- */
23
- export declare function unformatSource(input: string): string;
24
- /**
25
- * A simple (and naive) HTML code formatter that returns a formatted HTML markup that can be easily
26
- * parsed by human eyes. It beautifies the HTML code by adding new lines between elements that behave like block elements
27
- * (https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements
28
- * and a few more like `tr`, `td`, and similar ones) and inserting indents for nested content.
29
- *
30
- * WARNING: This function works only on a text that does not contain any indentations or new lines.
31
- * Calling this function on the already formatted text will damage the formatting.
32
- *
33
- * @param input An HTML string to format.
34
- */
35
- export declare function formatHtml(input: string): string;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- const _0x191d36=_0x10bf;(function(_0xcb4fd1,_0x494d9a){const _0xce1faa=_0x10bf,_0x49abbb=_0xcb4fd1();while(!![]){try{const _0x259d9f=parseInt(_0xce1faa(0xc4))/0x1+parseInt(_0xce1faa(0xac))/0x2*(-parseInt(_0xce1faa(0x9d))/0x3)+parseInt(_0xce1faa(0xb3))/0x4+-parseInt(_0xce1faa(0xa6))/0x5*(parseInt(_0xce1faa(0xb0))/0x6)+-parseInt(_0xce1faa(0xb4))/0x7+parseInt(_0xce1faa(0xae))/0x8+parseInt(_0xce1faa(0xb1))/0x9;if(_0x259d9f===_0x494d9a)break;else _0x49abbb['push'](_0x49abbb['shift']());}catch(_0x11499c){_0x49abbb['push'](_0x49abbb['shift']());}}}(_0x5f5b,0x8009f));export function formatSource(_0x1c9017){return $(_0x1c9017)?formatHtml(_0x1c9017):_0x1c9017;}export function unformatSource(_0x4e137a){const _0x20e2ba=_0x10bf;return $(_0x4e137a[_0x20e2ba(0xa8)](/^[\n\s]*/g,''))?_0x4e137a[_0x20e2ba(0xa8)](/\s+/g,''):_0x4e137a;}export function formatHtml(_0x30b35d){const _0x3ecc28=_0x10bf,_0x356fa3=[{'name':_0x3ecc28(0xc5),'isVoid':!0x1},{'name':_0x3ecc28(0xad),'isVoid':!0x1},{'name':_0x3ecc28(0x99),'isVoid':!0x1},{'name':_0x3ecc28(0xab),'isVoid':!0x1},{'name':_0x3ecc28(0xb7),'isVoid':!0x1},{'name':_0x3ecc28(0x9c),'isVoid':!0x1},{'name':'dd','isVoid':!0x1},{'name':_0x3ecc28(0xba),'isVoid':!0x1},{'name':'dl','isVoid':!0x1},{'name':'dt','isVoid':!0x1},{'name':_0x3ecc28(0xbd),'isVoid':!0x1},{'name':_0x3ecc28(0xa1),'isVoid':!0x1},{'name':_0x3ecc28(0xb6),'isVoid':!0x1},{'name':_0x3ecc28(0xa7),'isVoid':!0x1},{'name':_0x3ecc28(0xaf),'isVoid':!0x1},{'name':'h1','isVoid':!0x1},{'name':'h2','isVoid':!0x1},{'name':'h3','isVoid':!0x1},{'name':'h4','isVoid':!0x1},{'name':'h5','isVoid':!0x1},{'name':'h6','isVoid':!0x1},{'name':_0x3ecc28(0xc2),'isVoid':!0x1},{'name':_0x3ecc28(0xa4),'isVoid':!0x1},{'name':'hr','isVoid':!0x0},{'name':'li','isVoid':!0x1},{'name':_0x3ecc28(0xb8),'isVoid':!0x1},{'name':_0x3ecc28(0xc6),'isVoid':!0x1},{'name':'ol','isVoid':!0x1},{'name':'p','isVoid':!0x1},{'name':_0x3ecc28(0xc1),'isVoid':!0x1},{'name':_0x3ecc28(0xbc),'isVoid':!0x1},{'name':_0x3ecc28(0xa5),'isVoid':!0x1},{'name':'td','isVoid':!0x1},{'name':'th','isVoid':!0x1},{'name':_0x3ecc28(0xbe),'isVoid':!0x1},{'name':'tr','isVoid':!0x1},{'name':'ul','isVoid':!0x1}],_0x2f8379=_0x356fa3[_0x3ecc28(0xbf)](_0x402220=>_0x402220[_0x3ecc28(0xbb)])[_0x3ecc28(0xa9)]('|'),_0x563d38=_0x30b35d[_0x3ecc28(0xa8)](new RegExp(_0x3ecc28(0xa2)+_0x2f8379+_0x3ecc28(0xc3),'g'),_0x3ecc28(0x9a))[_0x3ecc28(0xa8)](/<br[^>]*>/g,_0x3ecc28(0xaa))[_0x3ecc28(0x9f)]('\x0a');let _0x1e360f=0x0,_0x4eda4e=!0x1;return _0x563d38[_0x3ecc28(0x9b)](_0x229eb9=>_0x229eb9[_0x3ecc28(0x9e)])[_0x3ecc28(0xbf)](_0x237e2d=>(_0x4eda4e=function(_0x2e5c87,_0x4c667a){const _0x408914=_0x3ecc28;return new RegExp(_0x408914(0xa3))[_0x408914(0xa0)](_0x2e5c87)?_0x408914(0x96):new RegExp(_0x408914(0xb2))[_0x408914(0xa0)](_0x2e5c87)?_0x408914(0xb9):(_0x408914(0x96)===_0x4c667a||_0x408914(0x95)===_0x4c667a)&&_0x408914(0x95);}(_0x237e2d,_0x4eda4e),function(_0x3339f0,_0x481b10){const _0x498fd9=_0x3ecc28;return _0x481b10[_0x498fd9(0xc7)](_0x41c112=>!_0x41c112[_0x498fd9(0x93)]&&!!new RegExp('<'+_0x41c112[_0x498fd9(0xbb)]+_0x498fd9(0x98))[_0x498fd9(0xa0)](_0x3339f0));}(_0x237e2d,_0x356fa3)?X(_0x237e2d,_0x1e360f++):function(_0x10f937,_0x55d10d){const _0x10ad74=_0x3ecc28;return _0x55d10d[_0x10ad74(0xc7)](_0x29d489=>new RegExp('</'+_0x29d489[_0x10ad74(0xbb)]+'>')[_0x10ad74(0xa0)](_0x10f937));}(_0x237e2d,_0x356fa3)?X(_0x237e2d,--_0x1e360f):_0x3ecc28(0x95)===_0x4eda4e||_0x3ecc28(0xb9)===_0x4eda4e?_0x237e2d:X(_0x237e2d,_0x1e360f)))[_0x3ecc28(0xa9)]('\x0a');}function _0x10bf(_0x3e97c9,_0x94c4e){const _0x5f5bc9=_0x5f5b();return _0x10bf=function(_0x10bf4e,_0x10593a){_0x10bf4e=_0x10bf4e-0x93;let _0x4feaf1=_0x5f5bc9[_0x10bf4e];return _0x4feaf1;},_0x10bf(_0x3e97c9,_0x94c4e);}function _0x5f5b(){const _0x18e4f0=['repeat','figure','details','main','last','div','name','table','fieldset','thead','map','max','section','header',')(\x20.*?)?>','204947GoJegD','address','nav','some','isVoid','startsWith','middle','first','\x20\x20\x20\x20','(\x20.*?)?>','aside','\x0a$&\x0a','filter','dialog','15ejpDXG','length','split','test','figcaption','</?(','<pre(\x20.*?)?>','hgroup','tbody','25385TSJmBi','footer','replace','join','$&\x0a','blockquote','361766jliaUi','article','6474112vGDnnR','form','870yarLsd','6491529JHnggH','</pre>','3259372OMlogt','2697156dqJMLi'];_0x5f5b=function(){return _0x18e4f0;};return _0x5f5b();}function $(_0x5dfe5a){const _0xc89426=_0x10bf;return _0x5dfe5a[_0xc89426(0x94)]('<');}function X(_0x51b988,_0x4c55cc,_0x292468=_0x191d36(0x97)){const _0x3b2362=_0x191d36;return''+_0x292468[_0x3b2362(0xb5)](Math[_0x3b2362(0xc0)](0x0,_0x4c55cc))+_0x51b988;}
@@ -1,9 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
- import type { Editor } from 'ckeditor5/src/core.js';
6
- /**
7
- * Returns the name of the currently or most recently active root (the root the selection is anchored to).
8
- */
9
- export declare function getActiveRootName(editor: Editor): string;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- (function(_0x27d8e7,_0x2ef4f3){const _0x46de01=_0x16c2,_0x11ff92=_0x27d8e7();while(!![]){try{const _0x3e911a=parseInt(_0x46de01(0xc8))/0x1+-parseInt(_0x46de01(0xcf))/0x2*(-parseInt(_0x46de01(0xcd))/0x3)+parseInt(_0x46de01(0xcb))/0x4*(parseInt(_0x46de01(0xce))/0x5)+-parseInt(_0x46de01(0xc4))/0x6*(-parseInt(_0x46de01(0xc9))/0x7)+-parseInt(_0x46de01(0xd7))/0x8+-parseInt(_0x46de01(0xc5))/0x9+-parseInt(_0x46de01(0xc3))/0xa;if(_0x3e911a===_0x2ef4f3)break;else _0x11ff92['push'](_0x11ff92['shift']());}catch(_0x3e861d){_0x11ff92['push'](_0x11ff92['shift']());}}}(_0x506b,0xf1a6b));import{CKEditorError as _0x54d48f}from'ckeditor5/src/utils.js';function _0x16c2(_0x56e444,_0x2525b9){const _0x506b7e=_0x506b();return _0x16c2=function(_0x16c2f3,_0x4db991){_0x16c2f3=_0x16c2f3-0xc2;let _0x2c9cb8=_0x506b7e[_0x16c2f3];return _0x2c9cb8;},_0x16c2(_0x56e444,_0x2525b9);}export function getActiveRootName(_0x592bfe){const _0x1165a1=_0x16c2,_0x4210a9=_0x592bfe[_0x1165a1(0xd6)][_0x1165a1(0xcc)][_0x1165a1(0xc6)][_0x1165a1(0xc7)],_0x12888e=_0x4210a9[_0x1165a1(0xd5)];if(0x0===_0x12888e)throw new _0x54d48f(_0x1165a1(0xd1),_0x592bfe);if(0x1===_0x12888e)return _0x4210a9[_0x1165a1(0xc2)][_0x1165a1(0xd4)];return Array[_0x1165a1(0xd2)](_0x592bfe[_0x1165a1(0xd6)][_0x1165a1(0xcc)][_0x1165a1(0xc6)][_0x1165a1(0xca)][_0x1165a1(0xd3)]())[0x0][_0x1165a1(0xd0)][_0x1165a1(0xd4)];}function _0x506b(){const _0x518504=['1407RrpfYA','selection','228780SvQZtd','view','12ExaKJG','15UKRiOu','697246nNVZqQ','root','source-editing-enhanced-editor-no-root','from','getRanges','rootName','length','editing','14011216BXauSx','first','6813360eFuumV','33360lAhuxS','8245161YlAggk','document','roots','1655033OyDKGK'];_0x506b=function(){return _0x518504;};return _0x506b();}
@@ -1,44 +0,0 @@
1
- /*
2
- * What you're currently looking at is the source code of a legally protected, proprietary software.
3
- * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
- * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
- *
6
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
-
10
- @import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_focus.css";
11
-
12
- :root {
13
- /* Keep the editor as big as possible within the limits of the dialog system geometry. */
14
- --ck-source-editing-enhanced-height: calc(
15
- var(--ck-dialog-max-height) /* ─▶ Total max height of the dialog */
16
- - var(--ck-form-header-height) /* ─▶ Height of the dialog header */
17
- - 2 * var(--ck-spacing-large) /* ─┐ */
18
- - var(--ck-ui-component-min-height) /* ├─▶ Height of the dialog actions bar */
19
- - 2 * var(--ck-spacing-tiny) /* ─┘ */
20
- );
21
- --ck-source-editing-enhanced-width: min(80vw, 1200px);
22
- }
23
-
24
- .ck.ck-code-editor {
25
- display: flex;
26
- align-items: stretch;
27
- flex-direction: row;
28
- justify-content: flex-start;
29
- white-space: initial;
30
- margin: 0 auto;
31
- border-bottom: 1px solid var(--ck-color-base-border);
32
- height: var(--ck-source-editing-enhanced-height);
33
- width: var(--ck-source-editing-enhanced-width);
34
-
35
- /* Styles of the CodeMirror editor */
36
- & .cm-editor {
37
- flex-grow: 1;
38
- width: 100%;
39
-
40
- &.cm-focused {
41
- outline: var(--ck-focus-ring);
42
- }
43
- }
44
- }