@ckeditor/ckeditor5-operations-compressor 46.1.0-alpha.2 → 46.1.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x45dcc7=_0xb7c1;(function(_0x1e78d7,_0x17844c){const _0x5935b0=_0xb7c1,_0x46975e=_0x1e78d7();while(!![]){try{const _0x42953b=parseInt(_0x5935b0(0x7f))/0x1+-parseInt(_0x5935b0(0x84))/0x2*(-parseInt(_0x5935b0(0x78))/0x3)+-parseInt(_0x5935b0(0x87))/0x4+-parseInt(_0x5935b0(0x76))/0x5+parseInt(_0x5935b0(0x72))/0x6*(parseInt(_0x5935b0(0x80))/0x7)+parseInt(_0x5935b0(0x81))/0x8+-parseInt(_0x5935b0(0x74))/0x9*(-parseInt(_0x5935b0(0x75))/0xa);if(_0x42953b===_0x17844c)break;else _0x46975e['push'](_0x46975e['shift']());}catch(_0x2baf9f){_0x46975e['push'](_0x46975e['shift']());}}}(_0xb623,0x5e568));import{ActionCompressor as _0x328c6f}from'./actioncompressor.js';function _0xb623(){const _0x15621c=['howMany','$graveyard','_getCompressorByName','281528RTTvmp','64799xJVTbx','1508584uaLdbV','compress','_compressSingleOperation','81568vNbIxq','_checkOperation','wasUndone','2220168BNJZyK','_splitCurrent','_context','_decompressSingleOperation','sourcePosition','MoveOperation','targetPosition','_combineNext','12KzgvJB','decompress','171sWcCse','361990LZrVHd','3417850RTwQcT','_compareOperations','33DXoFrR','__className','buffers','root'];_0xb623=function(){return _0x15621c;};return _0xb623();}import{arePositionsEqual as _0x4476bc,getPositionShiftedBy as _0xfa1c41}from'../utils.js';import{cloneDeep as _0x4d18ed}from'es-toolkit/compat';function _0xb7c1(_0x573849,_0x3539f1){const _0xb62363=_0xb623();return _0xb7c1=function(_0xb7c17c,_0x41a40a){_0xb7c17c=_0xb7c17c-0x6b;let _0x582bf9=_0xb62363[_0xb7c17c];return _0x582bf9;},_0xb7c1(_0x573849,_0x3539f1);}export class DeletingActionCompressor extends _0x328c6f{[_0x45dcc7(0x71)](_0x1eee57,_0xbbd27c){const _0x9fd4a7=_0x45dcc7;return _0xbbd27c[_0x9fd4a7(0x7c)]++,_0xbbd27c[_0x9fd4a7(0x6e)]=_0x4d18ed(_0x1eee57[_0x9fd4a7(0x6e)]),_0xbbd27c;}[_0x45dcc7(0x6b)](_0x5a551b){const _0x122227=_0x45dcc7,_0x4b187d=_0x4d18ed(_0x5a551b);return _0x5a551b[_0x122227(0x7c)]--,_0x4b187d[_0x122227(0x7c)]=0x1,_0x4b187d[_0x122227(0x6e)]=_0xfa1c41(_0x4b187d[_0x122227(0x6e)],_0x5a551b[_0x122227(0x7c)]),_0x4b187d;}[_0x45dcc7(0x77)](_0x137cf2,_0xbdcc83){const _0x5dfddb=_0x45dcc7;return!(!this[_0x5dfddb(0x85)](_0x137cf2)||!this[_0x5dfddb(0x85)](_0xbdcc83))&&(_0x4476bc(_0xfa1c41(_0x137cf2[_0x5dfddb(0x6e)],-0x1),_0xbdcc83[_0x5dfddb(0x6e)])&&_0x4476bc(_0x137cf2[_0x5dfddb(0x70)],_0xbdcc83[_0x5dfddb(0x70)]));}[_0x45dcc7(0x83)](_0x12dbb7){const _0x5026fb=_0x45dcc7,_0x1b4b84={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5026fb(0x6c)][_0x5026fb(0x7e)](_0x5026fb(0x6f))[_0x5026fb(0x82)](_0x1b4b84,[_0x12dbb7]),_0x1b4b84[_0x5026fb(0x7a)][0x0];}[_0x45dcc7(0x6d)](_0x3689c9){const _0x194f99=_0x45dcc7,_0x452e0f=[];return this[_0x194f99(0x6c)][_0x194f99(0x7e)](_0x194f99(0x6f))[_0x194f99(0x73)](_0x452e0f,_0x3689c9),_0x452e0f[0x0];}[_0x45dcc7(0x85)](_0x2b0468){const _0x36b04e=_0x45dcc7;return _0x36b04e(0x6f)==_0x2b0468[_0x36b04e(0x79)]&&_0x36b04e(0x7d)==_0x2b0468[_0x36b04e(0x70)][_0x36b04e(0x7b)]&&0x1==_0x2b0468[_0x36b04e(0x7c)]&&!_0x2b0468[_0x36b04e(0x86)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x35b019=_0x50d8;(function(_0x132d0a,_0x1c2058){const _0x55a729=_0x50d8,_0x4951c3=_0x132d0a();while(!![]){try{const _0x5195f0=-parseInt(_0x55a729(0x1d9))/0x1*(-parseInt(_0x55a729(0x1e0))/0x2)+parseInt(_0x55a729(0x1e5))/0x3*(-parseInt(_0x55a729(0x1d4))/0x4)+-parseInt(_0x55a729(0x1db))/0x5+parseInt(_0x55a729(0x1d7))/0x6*(parseInt(_0x55a729(0x1d1))/0x7)+parseInt(_0x55a729(0x1e1))/0x8+-parseInt(_0x55a729(0x1e3))/0x9+parseInt(_0x55a729(0x1d6))/0xa*(-parseInt(_0x55a729(0x1e2))/0xb);if(_0x5195f0===_0x1c2058)break;else _0x4951c3['push'](_0x4951c3['shift']());}catch(_0x2efb32){_0x4951c3['push'](_0x4951c3['shift']());}}}(_0x1c6d,0x1e1f6));import{ActionCompressor as _0x3ed459}from'./actioncompressor.js';import{arePositionsEqual as _0x397fbf}from'../utils.js';function _0x50d8(_0x896010,_0x586a94){const _0x1c6ddd=_0x1c6d();return _0x50d8=function(_0x50d88d,_0x23a903){_0x50d88d=_0x50d88d-0x1d1;let _0xff2ad6=_0x1c6ddd[_0x50d88d];return _0xff2ad6;},_0x50d8(_0x896010,_0x586a94);}function _0x1c6d(){const _0x21f9a4=['6846frpHtS','__className','1vYBMJl','_compressSingleOperation','980375lANsdz','buffers','_compareOperations','howMany','decompress','191192LdlXRp','1138240bkRjow','143bFekTt','343989ZcaZsr','_combineNext','2355NNwNNK','sourcePosition','_checkOperation','targetPosition','MoveOperation','_decompressSingleOperation','_context','$graveyard','wasUndone','root','1351JmbEmS','_splitCurrent','compress','280isJwzX','_getCompressorByName','34970adKSVZ'];_0x1c6d=function(){return _0x21f9a4;};return _0x1c6d();}import{cloneDeep as _0x576018}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x3ed459{[_0x35b019(0x1e4)](_0x1382c3,_0x18d607){const _0x50f398=_0x35b019;return _0x18d607[_0x50f398(0x1de)]++,_0x18d607;}[_0x35b019(0x1d2)](_0x54b75a){const _0x1a4261=_0x35b019,_0x3b9dc3=_0x576018(_0x54b75a);return _0x3b9dc3[_0x1a4261(0x1de)]=0x1,_0x54b75a[_0x1a4261(0x1de)]--,_0x3b9dc3;}[_0x35b019(0x1dd)](_0x4e9a35,_0x3719d0){const _0x50c986=_0x35b019;return!(!this[_0x50c986(0x1e7)](_0x4e9a35)||!this[_0x50c986(0x1e7)](_0x3719d0))&&(_0x397fbf(_0x4e9a35[_0x50c986(0x1e6)],_0x3719d0[_0x50c986(0x1e6)])&&_0x397fbf(_0x4e9a35[_0x50c986(0x1e8)],_0x3719d0[_0x50c986(0x1e8)]));}[_0x35b019(0x1da)](_0x6e042){const _0x32225b=_0x35b019,_0x2229aa={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x32225b(0x1eb)][_0x32225b(0x1d5)](_0x32225b(0x1e9))[_0x32225b(0x1d3)](_0x2229aa,[_0x6e042]),_0x2229aa[_0x32225b(0x1dc)][0x0];}[_0x35b019(0x1ea)](_0x5c70f8){const _0x111770=_0x35b019,_0x393586=[];return this[_0x111770(0x1eb)][_0x111770(0x1d5)](_0x111770(0x1e9))[_0x111770(0x1df)](_0x393586,_0x5c70f8),_0x393586[0x0];}[_0x35b019(0x1e7)](_0x459bca){const _0x338a06=_0x35b019;return _0x338a06(0x1e9)==_0x459bca[_0x338a06(0x1d8)]&&_0x338a06(0x1ec)==_0x459bca[_0x338a06(0x1e8)][_0x338a06(0x1ee)]&&0x1==_0x459bca[_0x338a06(0x1de)]&&!_0x459bca[_0x338a06(0x1ed)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xeef44=_0x3c34;function _0x3c34(_0xa535cd,_0x3d13b5){const _0x2b2d26=_0x2b2d();return _0x3c34=function(_0x3c3477,_0x2b1fe3){_0x3c3477=_0x3c3477-0x102;let _0x17367a=_0x2b2d26[_0x3c3477];return _0x17367a;},_0x3c34(_0xa535cd,_0x3d13b5);}(function(_0xace5d8,_0x69f658){const _0x507d4c=_0x3c34,_0x8ba599=_0xace5d8();while(!![]){try{const _0x14b486=-parseInt(_0x507d4c(0x10e))/0x1+parseInt(_0x507d4c(0x119))/0x2+-parseInt(_0x507d4c(0x10a))/0x3*(-parseInt(_0x507d4c(0x121))/0x4)+-parseInt(_0x507d4c(0x11a))/0x5*(parseInt(_0x507d4c(0x106))/0x6)+parseInt(_0x507d4c(0x104))/0x7+-parseInt(_0x507d4c(0x11e))/0x8*(-parseInt(_0x507d4c(0x11f))/0x9)+parseInt(_0x507d4c(0x127))/0xa*(-parseInt(_0x507d4c(0x108))/0xb);if(_0x14b486===_0x69f658)break;else _0x8ba599['push'](_0x8ba599['shift']());}catch(_0x35a5e5){_0x8ba599['push'](_0x8ba599['shift']());}}}(_0x2b2d,0x9b647));function _0x2b2d(){const _0x104bf6=['2236RjiKtg','decompress','from','substr','length','_getCompressorByName','457610xSsxoW','iterator','data','4623906jySBTT','wasUndone','2130LqdsTs','_compareAttributes','550gZkMVJ','_decompressSingleOperation','1935uOidBX','InsertOperation','_context','every','137929OcgmhK','_compressSingleOperation','nodes','keys','compress','_checkOperation','_compareOperations','buffers','_combineNext','attributes','next','2322922OTtdaY','655rwqTto','value','__className','_splitCurrent','24ssDsUO','2779191UIpkLd','position'];_0x2b2d=function(){return _0x104bf6;};return _0x2b2d();}import{ActionCompressor as _0xf5263f}from'./actioncompressor.js';import{arePositionsEqual as _0x3a464f,getPositionShiftedBy as _0x162ad2}from'../utils.js';import{cloneDeep as _0x221cf7}from'es-toolkit/compat';export class TypingActionCompressor extends _0xf5263f{[_0xeef44(0x116)](_0x3aeb2d,_0x3c4bee){const _0x53a0b0=_0xeef44;return _0x3c4bee[_0x53a0b0(0x110)][0x0][_0x53a0b0(0x103)]+=_0x3aeb2d[_0x53a0b0(0x110)][0x0][_0x53a0b0(0x103)],_0x3c4bee;}[_0xeef44(0x11d)](_0x997068){const _0x4bd4ea=_0xeef44,_0x461345=_0x221cf7(_0x997068),_0x595aad=_0x461345[_0x4bd4ea(0x110)][0x0],_0x8dec5=_0x997068[_0x4bd4ea(0x110)][0x0],_0x1aff29=_0x8dec5[_0x4bd4ea(0x103)][Symbol[_0x4bd4ea(0x102)]]()[_0x4bd4ea(0x118)]()[_0x4bd4ea(0x11b)],_0x55893a=_0x1aff29[_0x4bd4ea(0x125)];return _0x595aad[_0x4bd4ea(0x103)]=_0x1aff29,_0x8dec5[_0x4bd4ea(0x103)]=_0x8dec5[_0x4bd4ea(0x103)][_0x4bd4ea(0x124)](_0x55893a),_0x997068[_0x4bd4ea(0x120)]=_0x162ad2(_0x997068[_0x4bd4ea(0x120)],_0x55893a),_0x461345;}[_0xeef44(0x114)](_0x4ea6e1,_0x39eda9){const _0x459309=_0xeef44;if(this[_0x459309(0x113)](_0x4ea6e1)&&this[_0x459309(0x113)](_0x39eda9)){const _0x57e4b8=_0x4ea6e1[_0x459309(0x110)][0x0][_0x459309(0x103)][_0x459309(0x125)],_0x5110a4=_0x3a464f(_0x162ad2(_0x4ea6e1[_0x459309(0x120)],_0x57e4b8),_0x39eda9[_0x459309(0x120)]),_0x287614=_0x4ea6e1[_0x459309(0x110)][0x0],_0x1f9a86=_0x39eda9[_0x459309(0x110)][0x0];return _0x5110a4&&this[_0x459309(0x107)](_0x287614,_0x1f9a86);}return!0x1;}[_0xeef44(0x10f)](_0x28eba0){const _0x557fb5=_0xeef44,_0x4a5084={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x557fb5(0x10c)][_0x557fb5(0x126)](_0x557fb5(0x10b))[_0x557fb5(0x112)](_0x4a5084,[_0x28eba0]),_0x4a5084[_0x557fb5(0x115)][0x0];}[_0xeef44(0x109)](_0x5d5fa8){const _0x4c43a9=_0xeef44,_0x75039b=[];return this[_0x4c43a9(0x10c)][_0x4c43a9(0x126)](_0x4c43a9(0x10b))[_0x4c43a9(0x122)](_0x75039b,_0x5d5fa8),_0x75039b[0x0];}[_0xeef44(0x113)](_0xea16a4){const _0x2759ab=_0xeef44;return _0x2759ab(0x10b)==_0xea16a4[_0x2759ab(0x11c)]&&0x1==_0xea16a4[_0x2759ab(0x110)][_0x2759ab(0x125)]&&_0xea16a4[_0x2759ab(0x110)][0x0][_0x2759ab(0x103)]&&!_0xea16a4[_0x2759ab(0x105)]&&0x1==Array[_0x2759ab(0x123)](_0xea16a4[_0x2759ab(0x110)][0x0][_0x2759ab(0x103)])[_0x2759ab(0x125)];}[_0xeef44(0x107)](_0x7b39f4,_0x23aee0){const _0x12602b=_0xeef44,_0x5bd3b1=Object[_0x12602b(0x111)](_0x7b39f4[_0x12602b(0x117)]||{}),_0x3afbf7=Object[_0x12602b(0x111)](_0x23aee0[_0x12602b(0x117)]||{});return _0x5bd3b1[_0x12602b(0x125)]===_0x3afbf7[_0x12602b(0x125)]&&_0x5bd3b1[_0x12602b(0x10d)](_0x208f63=>_0x23aee0[_0x12602b(0x117)][_0x208f63]&&_0x23aee0[_0x12602b(0x117)][_0x208f63]===_0x7b39f4[_0x12602b(0x117)][_0x208f63]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x58f291=_0x5884;function _0x25db(){const _0x45cd9a=['_id','_getCompressorByName','_compressSingleOperation','newRange','9336239msOCpc','stickiness','6EelNtV','127tDeVNe','push','name','4596296KlnLFG','end','toNone','oldRange','startsWith','7259025oPpPhy','user:position:','_context','_decompressSingleOperation','11014suezUF','start','types','compress','MarkerOperation','split','user:','_compareOperations','63HneKFA','150804ZtvipI','buffers','shift','890316ySErBU','decompress','780keUvvB','__className','146848AGaCZH'];_0x25db=function(){return _0x45cd9a;};return _0x25db();}(function(_0x64129e,_0x355a06){const _0x384a83=_0x5884,_0x24b6f2=_0x64129e();while(!![]){try{const _0x55bd8e=-parseInt(_0x384a83(0x1c1))/0x1*(-parseInt(_0x384a83(0x1cd))/0x2)+parseInt(_0x384a83(0x1c0))/0x3*(-parseInt(_0x384a83(0x1dd))/0x4)+parseInt(_0x384a83(0x1c9))/0x5+-parseInt(_0x384a83(0x1d9))/0x6*(parseInt(_0x384a83(0x1d5))/0x7)+parseInt(_0x384a83(0x1c4))/0x8+-parseInt(_0x384a83(0x1d6))/0x9*(parseInt(_0x384a83(0x1db))/0xa)+parseInt(_0x384a83(0x1e2))/0xb;if(_0x55bd8e===_0x355a06)break;else _0x24b6f2['push'](_0x24b6f2['shift']());}catch(_0x4e0865){_0x24b6f2['push'](_0x24b6f2['shift']());}}}(_0x25db,0xd19f6));function _0x5884(_0x324289,_0x5d692f){const _0x25db74=_0x25db();return _0x5884=function(_0x58840e,_0x3b55fa){_0x58840e=_0x58840e-0x1c0;let _0x4c19d1=_0x25db74[_0x58840e];return _0x4c19d1;},_0x5884(_0x324289,_0x5d692f);}import{ActionCompressor as _0x2c5019}from'./actioncompressor.js';import{arePositionsEqual as _0x1b604b}from'../utils.js';import{cloneDeep as _0x413472}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x2c5019{[_0x58f291(0x1d0)](_0x57681c,_0xfb3fc4){const _0x48ae23=_0x58f291;if(!this[_0x48ae23(0x1d4)](_0xfb3fc4[0x0],_0xfb3fc4[0x1]))return!0x1;const _0x5ae0ad=_0xfb3fc4[_0x48ae23(0x1d8)]();return _0x5ae0ad[_0x48ae23(0x1c7)]=null,_0x5ae0ad[_0x48ae23(0x1e1)]&&_0x1b604b(_0x5ae0ad[_0x48ae23(0x1e1)][_0x48ae23(0x1ce)],_0x5ae0ad[_0x48ae23(0x1e1)][_0x48ae23(0x1c5)])&&(_0x5ae0ad[_0x48ae23(0x1e1)][_0x48ae23(0x1c5)]=null),_0xfb3fc4[_0x48ae23(0x1d8)](),_0x57681c[_0x48ae23(0x1cf)][_0x48ae23(0x1c2)](this[_0x48ae23(0x1de)]),_0x57681c[_0x48ae23(0x1cf)][_0x48ae23(0x1c2)](0x0),_0x57681c[_0x48ae23(0x1d7)][_0x48ae23(0x1c2)](this[_0x48ae23(0x1e0)](_0x5ae0ad)),!0x0;}[_0x58f291(0x1da)](_0x463213,_0x2a26ac){const _0x452cea=_0x58f291,_0x532e6e=this[_0x452cea(0x1cc)](_0x2a26ac);_0x532e6e[_0x452cea(0x1e1)]&&!_0x532e6e[_0x452cea(0x1e1)][_0x452cea(0x1c5)]&&(_0x532e6e[_0x452cea(0x1e1)][_0x452cea(0x1c5)]=_0x413472(_0x532e6e[_0x452cea(0x1e1)][_0x452cea(0x1ce)]));const _0xb53e6d=_0x413472(_0x532e6e);_0xb53e6d[_0x452cea(0x1e1)]&&(_0xb53e6d[_0x452cea(0x1e1)][_0x452cea(0x1ce)][_0x452cea(0x1e3)]=_0x452cea(0x1c6),_0xb53e6d[_0x452cea(0x1e1)][_0x452cea(0x1c5)]=_0x413472(_0xb53e6d[_0x452cea(0x1e1)][_0x452cea(0x1ce)])),_0xb53e6d[_0x452cea(0x1c3)]=_0x452cea(0x1ca)+_0xb53e6d[_0x452cea(0x1c3)][_0x452cea(0x1d2)](':')[0x2],_0x2a26ac[_0x452cea(0x1cf)][_0x452cea(0x1d8)](),_0x463213[_0x452cea(0x1c2)](_0x532e6e),_0x463213[_0x452cea(0x1c2)](_0xb53e6d);}[_0x58f291(0x1e0)](_0x2a8218){const _0x75c25c=_0x58f291,_0x237519={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x75c25c(0x1cb)][_0x75c25c(0x1df)](_0x75c25c(0x1d1))[_0x75c25c(0x1d0)](_0x237519,[_0x2a8218]),_0x237519[_0x75c25c(0x1d7)][0x0];}[_0x58f291(0x1cc)](_0x1d4165){const _0x22a195=_0x58f291,_0x4fbd73=[];return this[_0x22a195(0x1cb)][_0x22a195(0x1df)](_0x22a195(0x1d1))[_0x22a195(0x1da)](_0x4fbd73,_0x1d4165),_0x4fbd73[0x0];}[_0x58f291(0x1d4)](_0xf9877e,_0x2a2a95){const _0x4ba72d=_0x58f291;return!(!_0xf9877e||!_0x2a2a95)&&(_0x4ba72d(0x1d1)==_0xf9877e[_0x4ba72d(0x1dc)]&&_0x4ba72d(0x1d1)==_0x2a2a95[_0x4ba72d(0x1dc)]&&!(!_0xf9877e[_0x4ba72d(0x1c3)][_0x4ba72d(0x1c8)](_0x4ba72d(0x1d3))||!_0x2a2a95[_0x4ba72d(0x1c3)][_0x4ba72d(0x1c8)](_0x4ba72d(0x1d3))||_0xf9877e[_0x4ba72d(0x1c3)]==_0x2a2a95[_0x4ba72d(0x1c3)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d89da=_0x27e5;(function(_0x5ef5a1,_0x2474d9){const _0x582d86=_0x27e5,_0x3c6b33=_0x5ef5a1();while(!![]){try{const _0x448142=parseInt(_0x582d86(0xa5))/0x1*(parseInt(_0x582d86(0x86))/0x2)+parseInt(_0x582d86(0x9e))/0x3+-parseInt(_0x582d86(0x84))/0x4*(-parseInt(_0x582d86(0x99))/0x5)+parseInt(_0x582d86(0xa8))/0x6+-parseInt(_0x582d86(0x83))/0x7+-parseInt(_0x582d86(0x8c))/0x8+parseInt(_0x582d86(0x9d))/0x9*(-parseInt(_0x582d86(0x90))/0xa);if(_0x448142===_0x2474d9)break;else _0x3c6b33['push'](_0x3c6b33['shift']());}catch(_0x292e3b){_0x3c6b33['push'](_0x3c6b33['shift']());}}}(_0x1096,0x25851));import{CKEditorError as _0x2d2508}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x59c4f4}from'./protobuffactory.js';import{OperationCompressor as _0x3b9ac0}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x499a42}from'./operationcompressor/attributeoperationcompressor.js';function _0x1096(){const _0x8a10f=['set','18zdHtoK','RenameOperation','types','_compressorById','InsertOperation','forEach','1222336yzzRKl','length','getDescriptor','baseVersion','890ESIHZa','compress','NoOperation','_registerCompressor','SplitOperation','SuggestionMarkerOperation','MarkerOperation','UserSelectionAction','CommentMarkerOperation','45wmddWt','decompress-compressor-not-found','ForwardDeletingAction','_registerActionCompressor','2061YSsRHN','88701cOBWZi','__className','_registerOperationCompressor','no-operations-provided','_compressorByName','_getCompressorByName','decompress','3303YwqpFc','_protobufFactory','MoveOperation','1661904ZzwdoB','AttributeOperation','suggestion','get','RootAttributeOperation','comment','DeletingAction','TypingAction','MergeOperation','RootOperation','335797lihkmP','17132NzxZfj'];_0x1096=function(){return _0x8a10f;};return _0x1096();}import{InsertOperationCompressor as _0x52a70e}from'./operationcompressor/insertoperationcompressor.js';function _0x27e5(_0x2d73df,_0x3079c1){const _0x10969d=_0x1096();return _0x27e5=function(_0x27e53e,_0x5a4d05){_0x27e53e=_0x27e53e-0x7a;let _0x471f7c=_0x10969d[_0x27e53e];return _0x471f7c;},_0x27e5(_0x2d73df,_0x3079c1);}import{MarkerOperationCompressor as _0x547168}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x10197b}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x4ebdbf}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0xde2a73}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x29edd6}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x4d3c6e}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x395ba6}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x4d89da(0x89)];[_0x4d89da(0xa2)];[_0x4d89da(0xa6)];constructor(){const _0x14a9b8=_0x4d89da;this[_0x14a9b8(0x89)]=new Map(),this[_0x14a9b8(0xa2)]=new Map(),this[_0x14a9b8(0xa6)]=new _0x59c4f4();const _0x28ae44=this[_0x14a9b8(0xa6)][_0x14a9b8(0x8e)](_0x14a9b8(0x96));this[_0x14a9b8(0x93)](0x1,_0x14a9b8(0x92),new _0x10197b(0x1,_0x14a9b8(0x92),void 0x0)),this[_0x14a9b8(0xa0)](0xa,_0x14a9b8(0x7a),_0x499a42),this[_0x14a9b8(0xa0)](0xb,_0x14a9b8(0x8a),_0x52a70e),this[_0x14a9b8(0xa0)](0xc,_0x14a9b8(0x96),_0x547168),this[_0x14a9b8(0xa0)](0xd,_0x14a9b8(0x81),_0x3b9ac0),this[_0x14a9b8(0xa0)](0xe,_0x14a9b8(0xa7),_0x3b9ac0),this[_0x14a9b8(0xa0)](0xf,_0x14a9b8(0x87),_0x3b9ac0),this[_0x14a9b8(0xa0)](0x10,_0x14a9b8(0x7d),_0x499a42),this[_0x14a9b8(0xa0)](0x11,_0x14a9b8(0x94),_0x3b9ac0),this[_0x14a9b8(0x93)](0x12,_0x14a9b8(0x98),new _0x4ebdbf(0x12,_0x14a9b8(0x96),_0x28ae44,_0x14a9b8(0x7e))),this[_0x14a9b8(0x93)](0x13,_0x14a9b8(0x95),new _0x4ebdbf(0x13,_0x14a9b8(0x96),_0x28ae44,_0x14a9b8(0x7b))),this[_0x14a9b8(0xa0)](0x14,_0x14a9b8(0x82),_0x3b9ac0),this[_0x14a9b8(0x9c)](0x64,_0x14a9b8(0x80),_0xde2a73),this[_0x14a9b8(0x9c)](0x65,_0x14a9b8(0x7f),_0x29edd6),this[_0x14a9b8(0x9c)](0x66,_0x14a9b8(0x9b),_0x4d3c6e),this[_0x14a9b8(0x9c)](0x67,_0x14a9b8(0x97),_0x395ba6);}[_0x4d89da(0x91)](_0x5b3d11){const _0x128517=_0x4d89da;if(!_0x5b3d11||!_0x5b3d11[0x0])throw new _0x2d2508(_0x128517(0xa1),this);const _0x595ac1={'types':[],'buffers':[],'baseVersion':_0x5b3d11[0x0][_0x128517(0x8f)]};for(;_0x5b3d11[_0x128517(0x8d)];)this[_0x128517(0xa3)](_0x128517(0x97))[_0x128517(0x91)](_0x595ac1,_0x5b3d11)||this[_0x128517(0xa3)](_0x128517(0x80))[_0x128517(0x91)](_0x595ac1,_0x5b3d11)||this[_0x128517(0xa3)](_0x128517(0x7f))[_0x128517(0x91)](_0x595ac1,_0x5b3d11)||this[_0x128517(0xa3)](_0x128517(0x9b))[_0x128517(0x91)](_0x595ac1,_0x5b3d11)||this[_0x128517(0xa3)](_0x128517(0x98))[_0x128517(0x91)](_0x595ac1,_0x5b3d11)||this[_0x128517(0xa3)](_0x128517(0x95))[_0x128517(0x91)](_0x595ac1,_0x5b3d11)||this[_0x128517(0xa3)](_0x5b3d11[0x0][_0x128517(0x9f)])[_0x128517(0x91)](_0x595ac1,_0x5b3d11);return _0x595ac1;}[_0x4d89da(0xa4)](_0x5560de){const _0x322aff=_0x4d89da,_0x4aaa4d=[];for(;_0x5560de[_0x322aff(0x88)][_0x322aff(0x8d)];){const _0x549393=this[_0x322aff(0x89)][_0x322aff(0x7c)](_0x5560de[_0x322aff(0x88)][0x0]);if(!_0x549393)throw new _0x2d2508(_0x322aff(0x9a),this,{'type':_0x5560de[_0x322aff(0x88)][0x0]});_0x549393[_0x322aff(0xa4)](_0x4aaa4d,_0x5560de);}return _0x4aaa4d[_0x322aff(0x8b)]((_0x1756a5,_0x1de820)=>_0x1756a5[_0x322aff(0x8f)]=_0x5560de[_0x322aff(0x8f)]+_0x1de820),_0x4aaa4d;}[_0x4d89da(0xa3)](_0x3be23c){const _0x5bccf4=_0x4d89da;return this[_0x5bccf4(0xa2)][_0x5bccf4(0x7c)](_0x3be23c);}[_0x4d89da(0xa0)](_0x38b80f,_0x4ed6f8,_0x9f8b07){const _0x561aef=_0x4d89da,_0x1bc04f=new _0x9f8b07(_0x38b80f,_0x4ed6f8,this[_0x561aef(0xa6)][_0x561aef(0x8e)](_0x4ed6f8));this[_0x561aef(0x93)](_0x38b80f,_0x4ed6f8,_0x1bc04f);}[_0x4d89da(0x9c)](_0x3de1db,_0x5a2dd3,_0x52f8aa){const _0x12eeff=_0x4d89da,_0x35b79d=new _0x52f8aa(_0x3de1db,this);this[_0x12eeff(0x93)](_0x3de1db,_0x5a2dd3,_0x35b79d);}[_0x4d89da(0x93)](_0x867398,_0x511610,_0x55dac9){const _0x845429=_0x4d89da;this[_0x845429(0x89)][_0x845429(0x85)](_0x867398,_0x55dac9),this[_0x845429(0xa2)][_0x845429(0x85)](_0x511610,_0x55dac9);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5b86a4,_0x2c3ce6){var _0x302d97=_0x1056,_0x540ae9=_0x5b86a4();while(!![]){try{var _0x58935c=-parseInt(_0x302d97(0x67))/0x1*(-parseInt(_0x302d97(0x6d))/0x2)+parseInt(_0x302d97(0x6f))/0x3*(-parseInt(_0x302d97(0x69))/0x4)+-parseInt(_0x302d97(0x68))/0x5*(-parseInt(_0x302d97(0x70))/0x6)+parseInt(_0x302d97(0x66))/0x7*(parseInt(_0x302d97(0x6e))/0x8)+parseInt(_0x302d97(0x6a))/0x9+parseInt(_0x302d97(0x6b))/0xa+parseInt(_0x302d97(0x6c))/0xb*(-parseInt(_0x302d97(0x71))/0xc);if(_0x58935c===_0x2c3ce6)break;else _0x540ae9['push'](_0x540ae9['shift']());}catch(_0x4e5f6a){_0x540ae9['push'](_0x540ae9['shift']());}}}(_0x4dd9,0xbe403));export{Compressor}from'./compressor.js';function _0x1056(_0x531f85,_0x28646a){var _0x4dd910=_0x4dd9();return _0x1056=function(_0x1056ff,_0x5f4bd1){_0x1056ff=_0x1056ff-0x66;var _0x47f5dc=_0x4dd910[_0x1056ff];return _0x47f5dc;},_0x1056(_0x531f85,_0x28646a);}function _0x4dd9(){var _0x3d2a74=['11346246EnRCiH','10768380THaDMJ','567567qpEKNI','2336YViMZT','64xLUIsW','9OzWFlw','65766ylknZp','564VMwFVk','77399IpgpIH','263ghYWoB','505NlJnAB','847876sFGajV'];_0x4dd9=function(){return _0x3d2a74;};return _0x4dd9();}
|