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.46 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x3709(){const _0x119393=['3777912BIXZZZ','ImageSizeAttributes','height','ImageResize','855090NapCmm','get','plugins','24IdtPyX','SuggestionsConversion','PictureEditing','afterInit','alt','22wsynEq','sources','116993bNYwOX','width','src','registerBlockAttribute','ImageTextAlternativeEditing','editor','has','844UZFbiR','40cuMDuB','resizedWidth','ImageEditing','238IYdjwy','3732971fQhwdZ','69155064NsUQRR','158344PDMdfZ','7857GIZSzH'];_0x3709=function(){return _0x119393;};return _0x3709();}const _0x98f34f=_0x13fd;(function(_0x48f6d9,_0x5c011b){const _0xa22b5c=_0x13fd,_0x3d48fd=_0x48f6d9();while(!![]){try{const _0x14ac0a=parseInt(_0xa22b5c(0x171))/0x1*(-parseInt(_0xa22b5c(0x16f))/0x2)+-parseInt(_0xa22b5c(0x180))/0x3*(parseInt(_0xa22b5c(0x178))/0x4)+parseInt(_0xa22b5c(0x185))/0x5*(-parseInt(_0xa22b5c(0x188))/0x6)+-parseInt(_0xa22b5c(0x17c))/0x7*(parseInt(_0xa22b5c(0x17f))/0x8)+-parseInt(_0xa22b5c(0x181))/0x9+-parseInt(_0xa22b5c(0x179))/0xa*(parseInt(_0xa22b5c(0x17d))/0xb)+parseInt(_0xa22b5c(0x17e))/0xc;if(_0x14ac0a===_0x5c011b)break;else _0x3d48fd['push'](_0x3d48fd['shift']());}catch(_0x1c6e76){_0x3d48fd['push'](_0x3d48fd['shift']());}}}(_0x3709,0xc0a98));function _0x13fd(_0x4a771d,_0x17cf2e){const _0x3709ba=_0x3709();return _0x13fd=function(_0x13fd08,_0x31743c){_0x13fd08=_0x13fd08-0x16f;let _0x294eb0=_0x3709ba[_0x13fd08];return _0x294eb0;},_0x13fd(_0x4a771d,_0x17cf2e);}import{Plugin as _0x13c8d6}from'ckeditor5/src/core.js';export class SuggestionsConversionImage extends _0x13c8d6{[_0x98f34f(0x18b)](){const _0x180835=_0x98f34f,_0x2862c8=this[_0x180835(0x176)];if(!_0x2862c8[_0x180835(0x187)][_0x180835(0x177)](_0x180835(0x17b)))return;const _0x7acb5a=_0x2862c8[_0x180835(0x187)][_0x180835(0x186)](_0x180835(0x189));_0x7acb5a[_0x180835(0x174)](_0x180835(0x173)),_0x2862c8[_0x180835(0x187)][_0x180835(0x177)](_0x180835(0x184))&&_0x7acb5a[_0x180835(0x174)](_0x180835(0x17a)),_0x2862c8[_0x180835(0x187)][_0x180835(0x177)](_0x180835(0x175))&&_0x7acb5a[_0x180835(0x174)](_0x180835(0x18c)),_0x2862c8[_0x180835(0x187)][_0x180835(0x177)](_0x180835(0x18a))&&_0x7acb5a[_0x180835(0x174)](_0x180835(0x170)),_0x2862c8[_0x180835(0x187)][_0x180835(0x177)](_0x180835(0x182))&&(_0x7acb5a[_0x180835(0x174)](_0x180835(0x172)),_0x7acb5a[_0x180835(0x174)](_0x180835(0x183)));}}