UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

23 lines 5.36 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 _0x1cc3(_0x342020,_0x379338){var _0x31c74c=_0x31c7();return _0x1cc3=function(_0x1cc3af,_0x1e4bf9){_0x1cc3af=_0x1cc3af-0x65;var _0x2deb16=_0x31c74c[_0x1cc3af];return _0x2deb16;},_0x1cc3(_0x342020,_0x379338);}function _0x31c7(){var _0x3d4197=['774675OxRijV','1737684aZNvgW','uint32','16125WPNThv','bool','460ipHptN','584cPtfLV','string','8176TXeQyR','Position','repeated','1107066Ggongh','3310ZEsAja','Range','Element','77014pwTeiz'];_0x31c7=function(){return _0x3d4197;};return _0x31c7();}var _0x26bcfd=_0x1cc3;(function(_0x8e3d74,_0x1eea9f){var _0x2fe787=_0x1cc3,_0x217886=_0x8e3d74();while(!![]){try{var _0x4d4fc7=parseInt(_0x2fe787(0x74))/0x1+parseInt(_0x2fe787(0x70))/0x2+parseInt(_0x2fe787(0x71))/0x3+-parseInt(_0x2fe787(0x66))/0x4*(parseInt(_0x2fe787(0x6d))/0x5)+parseInt(_0x2fe787(0x6c))/0x6+parseInt(_0x2fe787(0x69))/0x7*(-parseInt(_0x2fe787(0x67))/0x8)+-parseInt(_0x2fe787(0x72))/0x9;if(_0x4d4fc7===_0x1eea9f)break;else _0x217886['push'](_0x217886['shift']());}catch(_0x174227){_0x217886['push'](_0x217886['shift']());}}}(_0x31c7,0x22e32));export default{'AttributeOperation':{'fields':{'range':{'type':_0x26bcfd(0x6e),'id':0x1},'key':{'type':_0x26bcfd(0x68),'id':0x2},'oldValueBoolean':{'type':_0x26bcfd(0x65),'id':0x3},'oldValueJson':{'type':_0x26bcfd(0x68),'id':0x4},'newValueBoolean':{'type':_0x26bcfd(0x65),'id':0x5},'newValueJson':{'type':_0x26bcfd(0x68),'id':0x6},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x26bcfd(0x6a),'id':0x1},'nodes':{'rule':_0x26bcfd(0x6b),'type':_0x26bcfd(0x6f),'id':0x2},'shouldReceiveAttributes':{'type':_0x26bcfd(0x65),'id':0x3},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x26bcfd(0x68),'id':0x1},'oldRange':{'type':_0x26bcfd(0x6e),'id':0x2},'newRange':{'type':_0x26bcfd(0x6e),'id':0x3},'affectsData':{'type':_0x26bcfd(0x65),'id':0x4},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0x26bcfd(0x6a),'id':0x1},'targetPosition':{'type':_0x26bcfd(0x6a),'id':0x2},'graveyardPosition':{'type':_0x26bcfd(0x6a),'id':0x3},'howMany':{'type':_0x26bcfd(0x73),'id':0x4},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x26bcfd(0x6a),'id':0x1},'howMany':{'type':_0x26bcfd(0x73),'id':0x2},'targetPosition':{'type':_0x26bcfd(0x6a),'id':0x3},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x26bcfd(0x6a),'id':0x1},'oldName':{'type':_0x26bcfd(0x68),'id':0x2},'newName':{'type':_0x26bcfd(0x68),'id':0x3},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x26bcfd(0x68),'id':0x1},'key':{'type':_0x26bcfd(0x68),'id':0x2},'oldValueBoolean':{'type':_0x26bcfd(0x65),'id':0x3},'oldValueJson':{'type':_0x26bcfd(0x68),'id':0x4},'newValueBoolean':{'type':_0x26bcfd(0x65),'id':0x5},'newValueJson':{'type':_0x26bcfd(0x68),'id':0x6},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x26bcfd(0x68),'id':0x1},'elementName':{'type':_0x26bcfd(0x68),'id':0x2},'isAdd':{'type':_0x26bcfd(0x65),'id':0x3},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x26bcfd(0x6a),'id':0x1},'graveyardPosition':{'type':_0x26bcfd(0x6a),'id':0x2},'howMany':{'type':_0x26bcfd(0x73),'id':0x3},'insertionPosition':{'type':_0x26bcfd(0x6a),'id':0x4},'wasUndone':{'type':_0x26bcfd(0x65),'id':0x5}}},'Position':{'fields':{'root':{'type':_0x26bcfd(0x68),'id':0x1},'rootMain':{'type':_0x26bcfd(0x65),'id':0x2},'rootGraveyard':{'type':_0x26bcfd(0x65),'id':0x3},'path':{'rule':_0x26bcfd(0x6b),'type':_0x26bcfd(0x73),'id':0x4},'stickiness':{'type':_0x26bcfd(0x68),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x26bcfd(0x6a),'id':0x1},'end':{'type':_0x26bcfd(0x6a),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x26bcfd(0x68),'id':0x1},'children':{'rule':_0x26bcfd(0x6b),'type':_0x26bcfd(0x6f),'id':0x2},'data':{'type':_0x26bcfd(0x68),'id':0x3},'attributesBoolean':{'keyType':_0x26bcfd(0x68),'type':_0x26bcfd(0x65),'id':0x4},'attributesJson':{'type':_0x26bcfd(0x68),'id':0x5}}}};