UNPKG

@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.92 kB
/* * 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 _0xd53a9e=_0x3caa;(function(_0x27577b,_0x1811ef){const _0x552c2c=_0x3caa,_0x20e9b6=_0x27577b();while(!![]){try{const _0x3f9ce7=parseInt(_0x552c2c(0x1cc))/0x1+parseInt(_0x552c2c(0x1db))/0x2*(parseInt(_0x552c2c(0x1df))/0x3)+-parseInt(_0x552c2c(0x1de))/0x4+parseInt(_0x552c2c(0x1d4))/0x5+-parseInt(_0x552c2c(0x1ca))/0x6+-parseInt(_0x552c2c(0x1dc))/0x7*(-parseInt(_0x552c2c(0x1c2))/0x8)+-parseInt(_0x552c2c(0x1c7))/0x9;if(_0x3f9ce7===_0x1811ef)break;else _0x20e9b6['push'](_0x20e9b6['shift']());}catch(_0x4aa40f){_0x20e9b6['push'](_0x20e9b6['shift']());}}}(_0x42b9,0xc2c51));import{Plugin as _0x3ac4c5}from'ckeditor5/src/core.js';export class SuggestionsConversionStylesDropdown extends _0x3ac4c5{[_0xd53a9e(0x1d6)](){const _0x14dbcb=_0xd53a9e,_0x5513ed=this[_0x14dbcb(0x1cd)];if(!_0x5513ed[_0x14dbcb(0x1ce)][_0x14dbcb(0x1d9)](_0x14dbcb(0x1c3))||!_0x5513ed[_0x14dbcb(0x1ce)][_0x14dbcb(0x1d9)](_0x14dbcb(0x1c9))||!_0x5513ed[_0x14dbcb(0x1d2)][_0x14dbcb(0x1da)](_0x14dbcb(0x1d0)))return;const _0x40e882=_0x5513ed[_0x14dbcb(0x1ce)][_0x14dbcb(0x1da)](_0x14dbcb(0x1d1)),_0x4de7a4=_0x5513ed[_0x14dbcb(0x1d2)][_0x14dbcb(0x1da)](_0x14dbcb(0x1d0)),_0x58f613=_0x5513ed[_0x14dbcb(0x1ce)][_0x14dbcb(0x1da)](_0x14dbcb(0x1d3)),_0x57b0d8=_0x5513ed[_0x14dbcb(0x1ce)][_0x14dbcb(0x1da)](_0x14dbcb(0x1d5))[_0x14dbcb(0x1d7)](_0x5513ed[_0x14dbcb(0x1ce)][_0x14dbcb(0x1da)](_0x14dbcb(0x1c9)),_0x4de7a4),_0x4435d6=new Set();for(const _0x5e1890 of _0x57b0d8[_0x14dbcb(0x1cf)]){const _0x598e3f=_0x58f613[_0x14dbcb(0x1d8)](_0x5e1890[_0x14dbcb(0x1c4)]);_0x4435d6[_0x14dbcb(0x1cb)](_0x598e3f);}const _0x337dc2=new Set();for(const _0x521ba1 of _0x57b0d8[_0x14dbcb(0x1c6)]){const _0x586c74=_0x58f613[_0x14dbcb(0x1d8)](_0x521ba1[_0x14dbcb(0x1c4)]);_0x337dc2[_0x14dbcb(0x1cb)](_0x586c74);for(const _0x1a31e1 of _0x521ba1[_0x14dbcb(0x1c8)])_0x337dc2[_0x14dbcb(0x1cb)](_0x1a31e1);}for(const _0x3a9d41 of _0x4435d6)_0x40e882[_0x14dbcb(0x1dd)](_0x3a9d41);for(const _0x5c347b of _0x337dc2)_0x40e882[_0x14dbcb(0x1c5)](_0x5c347b);}}function _0x3caa(_0x41841e,_0x22554f){const _0x42b9d1=_0x42b9();return _0x3caa=function(_0x3caa08,_0x1fa189){_0x3caa08=_0x3caa08-0x1c2;let _0x2c7b19=_0x42b9d1[_0x3caa08];return _0x2c7b19;},_0x3caa(_0x41841e,_0x22554f);}function _0x42b9(){const _0x2259fc=['GeneralHtmlSupport','4988165PXLFDg','StyleUtils','afterInit','normalizeConfig','getGhsAttributeNameForElement','has','get','9006MqMltO','3353VrGMDA','registerBlockAttribute','6144772jKyyyQ','675ngTlip','17688FQIbmb','Style','element','registerInlineAttribute','inline','13217589PNLSKN','ghsAttributes','DataSchema','3026880soaKGK','add','1237194Wdrfyu','editor','plugins','block','style.definitions','SuggestionsConversion','config'];_0x42b9=function(){return _0x2259fc;};return _0x42b9();}