UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

23 lines 3.27 kB
/* * Copyright (c) 2003-2026, 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 _0x4550fd=_0x54d5;function _0x427b(){const _0x55b03b=['MarkerOperation','14399216TmZrSs','_omittedNamespace','20485782zFnmHj','10385280GWNefE','1kbHYcq','replace','2136122kNwsXw','10588GArAbo','11479104FiQxRb','__className','decompress','8595835LPAKaO','name','306BOYtVV','startsWith','compress','length'];_0x427b=function(){return _0x55b03b;};return _0x427b();}function _0x54d5(_0x5e1d60,_0xbfe38d){const _0x427b42=_0x427b();return _0x54d5=function(_0x54d5e4,_0x67efff){_0x54d5e4=_0x54d5e4-0x16a;let _0x4db6ec=_0x427b42[_0x54d5e4];return _0x4db6ec;},_0x54d5(_0x5e1d60,_0xbfe38d);}(function(_0x5608f1,_0x40a6fa){const _0x24a993=_0x54d5,_0x473842=_0x5608f1();while(!![]){try{const _0x4bd963=parseInt(_0x24a993(0x173))/0x1*(-parseInt(_0x24a993(0x175))/0x2)+-parseInt(_0x24a993(0x16a))/0x3*(parseInt(_0x24a993(0x176))/0x4)+-parseInt(_0x24a993(0x17a))/0x5+-parseInt(_0x24a993(0x172))/0x6+parseInt(_0x24a993(0x177))/0x7+parseInt(_0x24a993(0x16f))/0x8+parseInt(_0x24a993(0x171))/0x9;if(_0x4bd963===_0x40a6fa)break;else _0x473842['push'](_0x473842['shift']());}catch(_0x4d6c48){_0x473842['push'](_0x473842['shift']());}}}(_0x427b,0xe287e));import{MarkerOperationCompressor as _0x5ee33e}from'./markeroperationcompressor.js';export class AnnotationMarkerOperationCompressor extends _0x5ee33e{[_0x4550fd(0x170)];constructor(_0x5b91d0,_0x39e907,_0x2b5149,_0x325b69){const _0x556dde=_0x4550fd;super(_0x5b91d0,_0x39e907,_0x2b5149),this[_0x556dde(0x170)]=_0x325b69+':';}[_0x4550fd(0x16c)](_0x679750,_0x1970bf){const _0x1d5762=_0x4550fd;return!(_0x1d5762(0x16e)!=_0x1970bf[0x0][_0x1d5762(0x178)]||!_0x1970bf[0x0][_0x1d5762(0x17b)][_0x1d5762(0x16b)](this[_0x1d5762(0x170)]))&&(_0x1970bf[0x0][_0x1d5762(0x17b)]=_0x1970bf[0x0][_0x1d5762(0x17b)][_0x1d5762(0x174)](new RegExp('^'+this[_0x1d5762(0x170)]),''),super[_0x1d5762(0x16c)](_0x679750,_0x1970bf),!0x0);}[_0x4550fd(0x179)](_0xa44586,_0x19bd33){const _0x2f3d55=_0x4550fd;super[_0x2f3d55(0x179)](_0xa44586,_0x19bd33);const _0x22b9c1=_0xa44586[_0xa44586[_0x2f3d55(0x16d)]-0x1];_0x22b9c1[_0x2f3d55(0x17b)]=this[_0x2f3d55(0x170)]+_0x22b9c1[_0x2f3d55(0x17b)];}}