@ckeditor/ckeditor5-collaboration-core
Version:
Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.
23 lines • 3.27 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x44e1d=_0x4355;(function(_0x2b44ff,_0x4dbaf9){const _0x12ea4d=_0x4355,_0x2239d7=_0x2b44ff();while(!![]){try{const _0x141ab4=-parseInt(_0x12ea4d(0x93))/0x1*(parseInt(_0x12ea4d(0x8c))/0x2)+parseInt(_0x12ea4d(0x98))/0x3*(-parseInt(_0x12ea4d(0x7f))/0x4)+parseInt(_0x12ea4d(0x8e))/0x5+-parseInt(_0x12ea4d(0x86))/0x6*(-parseInt(_0x12ea4d(0x96))/0x7)+-parseInt(_0x12ea4d(0x84))/0x8+parseInt(_0x12ea4d(0x80))/0x9+parseInt(_0x12ea4d(0x99))/0xa;if(_0x141ab4===_0x4dbaf9)break;else _0x2239d7['push'](_0x2239d7['shift']());}catch(_0x1f5b7d){_0x2239d7['push'](_0x2239d7['shift']());}}}(_0x3e31,0x93ec4));function _0x4355(_0x72a72c,_0xbe065){const _0x3e31a6=_0x3e31();return _0x4355=function(_0x43550f,_0x4688ef){_0x43550f=_0x43550f-0x7f;let _0x2b9338=_0x3e31a6[_0x43550f];return _0x2b9338;},_0x4355(_0x72a72c,_0xbe065);}function _0x3e31(){const _0x48fcc5=['stop','1596952BKOsBU','createEmptyElement','423342kwdKJk','9580730FzJhSp','high','afterInit','20WzTJmp','7805529pBYmJu','editor','elementToElement','dataDowncast','7055416rtlNXB','options','18CCmgzN','has','showSuggestionHighlights','for','downcastDispatcher','media','4verdSL','conversion','1824305EJtgoy','data','plugins','div','MediaEmbedEditing','340617GtLEgf','attribute:url:media'];_0x3e31=function(){return _0x48fcc5;};return _0x3e31();}import{Plugin as _0xba7b96}from'ckeditor5/src/core.js';export class SuggestionsConversionMediaEmbed extends _0xba7b96{[_0x44e1d(0x9b)](){const _0x20d599=_0x44e1d,_0x14606d=this[_0x20d599(0x81)];_0x14606d[_0x20d599(0x90)][_0x20d599(0x87)](_0x20d599(0x92))&&(_0x14606d[_0x20d599(0x8d)][_0x20d599(0x89)](_0x20d599(0x83))[_0x20d599(0x82)]({'model':_0x20d599(0x8b),'view':(_0x35cf77,{writer:_0x611ca1,options:_0x49918a})=>{const _0x39d1ff=_0x20d599;if(_0x49918a[_0x39d1ff(0x88)])return _0x611ca1[_0x39d1ff(0x97)](_0x39d1ff(0x91));},'converterPriority':_0x20d599(0x9a)}),_0x14606d[_0x20d599(0x8f)][_0x20d599(0x8a)]['on'](_0x20d599(0x94),(_0x216c7f,_0x87cc56,_0x2bde26)=>{const _0x5417d4=_0x20d599;_0x2bde26[_0x5417d4(0x85)][_0x5417d4(0x88)]&&_0x216c7f[_0x5417d4(0x95)]();},{'priority':_0x20d599(0x9a)}));}}