@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.4 → 47.0.0-alpha.6
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
|
-
const
|
|
23
|
+
const _0x46e526=_0x10d8;(function(_0x22ab4b,_0x59542b){const _0x58879b=_0x10d8,_0x56c585=_0x22ab4b();while(!![]){try{const _0x2400ed=-parseInt(_0x58879b(0x1b9))/0x1*(-parseInt(_0x58879b(0x1bd))/0x2)+-parseInt(_0x58879b(0x1c3))/0x3+parseInt(_0x58879b(0x1d3))/0x4+-parseInt(_0x58879b(0x1bf))/0x5+parseInt(_0x58879b(0x1c1))/0x6*(parseInt(_0x58879b(0x1cd))/0x7)+parseInt(_0x58879b(0x1d0))/0x8*(-parseInt(_0x58879b(0x1bb))/0x9)+-parseInt(_0x58879b(0x1c5))/0xa;if(_0x2400ed===_0x59542b)break;else _0x56c585['push'](_0x56c585['shift']());}catch(_0x5a78b9){_0x56c585['push'](_0x56c585['shift']());}}}(_0x3648,0x65092));function _0x3648(){const _0xca9030=['161106crGGzx','decompress','7210420mSVQPc','__className','howMany','MoveOperation','_decompressSingleOperation','$graveyard','_splitCurrent','wasUndone','1771GxpDPo','_compareOperations','_context','21792vqxZaz','root','_compressSingleOperation','2432132FVpauT','_combineNext','sourcePosition','536086FhNyBy','targetPosition','954lfWPWL','compress','2PMSGeA','_checkOperation','1811430iBmjHa','buffers','16494lwSwIz','_getCompressorByName'];_0x3648=function(){return _0xca9030;};return _0x3648();}import{ActionCompressor as _0x35545b}from'./actioncompressor.js';import{arePositionsEqual as _0x4a53c9,getPositionShiftedBy as _0x5ccd0c}from'../utils.js';function _0x10d8(_0x1388e5,_0x279cd0){const _0x364885=_0x3648();return _0x10d8=function(_0x10d8c6,_0x2a048b){_0x10d8c6=_0x10d8c6-0x1b9;let _0x1a44df=_0x364885[_0x10d8c6];return _0x1a44df;},_0x10d8(_0x1388e5,_0x279cd0);}import{cloneDeep as _0x56bcc9}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x35545b{[_0x46e526(0x1d4)](_0x45e524,_0x29155e){const _0x108584=_0x46e526;return _0x29155e[_0x108584(0x1c7)]++,_0x29155e[_0x108584(0x1d5)]=_0x56bcc9(_0x45e524[_0x108584(0x1d5)]),_0x29155e;}[_0x46e526(0x1cb)](_0x8bfcdf){const _0x7ec8da=_0x46e526,_0x4851ad=_0x56bcc9(_0x8bfcdf);return _0x8bfcdf[_0x7ec8da(0x1c7)]--,_0x4851ad[_0x7ec8da(0x1c7)]=0x1,_0x4851ad[_0x7ec8da(0x1d5)]=_0x5ccd0c(_0x4851ad[_0x7ec8da(0x1d5)],_0x8bfcdf[_0x7ec8da(0x1c7)]),_0x4851ad;}[_0x46e526(0x1ce)](_0x17a888,_0x393d37){const _0x25e2ff=_0x46e526;return!(!this[_0x25e2ff(0x1be)](_0x17a888)||!this[_0x25e2ff(0x1be)](_0x393d37))&&(_0x4a53c9(_0x5ccd0c(_0x17a888[_0x25e2ff(0x1d5)],-0x1),_0x393d37[_0x25e2ff(0x1d5)])&&_0x4a53c9(_0x17a888[_0x25e2ff(0x1ba)],_0x393d37[_0x25e2ff(0x1ba)]));}[_0x46e526(0x1d2)](_0x556a73){const _0x4febaf=_0x46e526,_0x79c285={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4febaf(0x1cf)][_0x4febaf(0x1c2)](_0x4febaf(0x1c8))[_0x4febaf(0x1bc)](_0x79c285,[_0x556a73]),_0x79c285[_0x4febaf(0x1c0)][0x0];}[_0x46e526(0x1c9)](_0x497f52){const _0x350a0b=_0x46e526,_0x401b8e=[];return this[_0x350a0b(0x1cf)][_0x350a0b(0x1c2)](_0x350a0b(0x1c8))[_0x350a0b(0x1c4)](_0x401b8e,_0x497f52),_0x401b8e[0x0];}[_0x46e526(0x1be)](_0x55577d){const _0x146f9e=_0x46e526;return _0x146f9e(0x1c8)==_0x55577d[_0x146f9e(0x1c6)]&&_0x146f9e(0x1ca)==_0x55577d[_0x146f9e(0x1ba)][_0x146f9e(0x1d1)]&&0x1==_0x55577d[_0x146f9e(0x1c7)]&&!_0x55577d[_0x146f9e(0x1cc)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4716(_0x2640d2,_0x15e2df){const _0x1a7e4c=_0x1a7e();return _0x4716=function(_0x4716b3,_0x4b192c){_0x4716b3=_0x4716b3-0xef;let _0x153709=_0x1a7e4c[_0x4716b3];return _0x153709;},_0x4716(_0x2640d2,_0x15e2df);}const _0x41f51e=_0x4716;function _0x1a7e(){const _0x2c0557=['wasUndone','$graveyard','targetPosition','compress','_splitCurrent','1156048JVuqal','_context','root','_getCompressorByName','5bUTwYt','_combineNext','__className','379182aXqIix','howMany','186858tkZaeZ','_decompressSingleOperation','9673568PuFfMb','buffers','_compareOperations','2403000muSHvJ','_checkOperation','84OdlTIO','MoveOperation','decompress','4087449hyReAg','2564052xSUkKW','_compressSingleOperation','sourcePosition'];_0x1a7e=function(){return _0x2c0557;};return _0x1a7e();}(function(_0x5419b9,_0x49dc3a){const _0x45ae1c=_0x4716,_0x315f82=_0x5419b9();while(!![]){try{const _0x23358a=-parseInt(_0x45ae1c(0x104))/0x1*(-parseInt(_0x45ae1c(0x107))/0x2)+parseInt(_0x45ae1c(0xf8))/0x3+-parseInt(_0x45ae1c(0x100))/0x4+-parseInt(_0x45ae1c(0xf2))/0x5+parseInt(_0x45ae1c(0xf4))/0x6*(parseInt(_0x45ae1c(0x109))/0x7)+-parseInt(_0x45ae1c(0xef))/0x8+parseInt(_0x45ae1c(0xf7))/0x9;if(_0x23358a===_0x49dc3a)break;else _0x315f82['push'](_0x315f82['shift']());}catch(_0x23610d){_0x315f82['push'](_0x315f82['shift']());}}}(_0x1a7e,0x9f1bc));import{ActionCompressor as _0x69a9c8}from'./actioncompressor.js';import{arePositionsEqual as _0x3dae32}from'../utils.js';import{cloneDeep as _0x2b6b8b}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x69a9c8{[_0x41f51e(0x105)](_0x2b4ce7,_0x2a60c9){const _0x4b18df=_0x41f51e;return _0x2a60c9[_0x4b18df(0x108)]++,_0x2a60c9;}[_0x41f51e(0xff)](_0x351c00){const _0x11e253=_0x41f51e,_0x45191a=_0x2b6b8b(_0x351c00);return _0x45191a[_0x11e253(0x108)]=0x1,_0x351c00[_0x11e253(0x108)]--,_0x45191a;}[_0x41f51e(0xf1)](_0x4a82cc,_0x4ce8d0){const _0x414f37=_0x41f51e;return!(!this[_0x414f37(0xf3)](_0x4a82cc)||!this[_0x414f37(0xf3)](_0x4ce8d0))&&(_0x3dae32(_0x4a82cc[_0x414f37(0xfa)],_0x4ce8d0[_0x414f37(0xfa)])&&_0x3dae32(_0x4a82cc[_0x414f37(0xfd)],_0x4ce8d0[_0x414f37(0xfd)]));}[_0x41f51e(0xf9)](_0x213d02){const _0x10fb2b=_0x41f51e,_0x48d8be={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x10fb2b(0x101)][_0x10fb2b(0x103)](_0x10fb2b(0xf5))[_0x10fb2b(0xfe)](_0x48d8be,[_0x213d02]),_0x48d8be[_0x10fb2b(0xf0)][0x0];}[_0x41f51e(0x10a)](_0x5ce29c){const _0x595d4f=_0x41f51e,_0x1ed393=[];return this[_0x595d4f(0x101)][_0x595d4f(0x103)](_0x595d4f(0xf5))[_0x595d4f(0xf6)](_0x1ed393,_0x5ce29c),_0x1ed393[0x0];}[_0x41f51e(0xf3)](_0x3168af){const _0x48cb67=_0x41f51e;return _0x48cb67(0xf5)==_0x3168af[_0x48cb67(0x106)]&&_0x48cb67(0xfc)==_0x3168af[_0x48cb67(0xfd)][_0x48cb67(0x102)]&&0x1==_0x3168af[_0x48cb67(0x108)]&&!_0x3168af[_0x48cb67(0xfb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xe39566=_0xe69e;(function(_0x5d96b9,_0x8e72f6){const _0x37fdc6=_0xe69e,_0x57341a=_0x5d96b9();while(!![]){try{const _0x2d5b2d=parseInt(_0x37fdc6(0x160))/0x1+parseInt(_0x37fdc6(0x177))/0x2+-parseInt(_0x37fdc6(0x17e))/0x3+-parseInt(_0x37fdc6(0x16c))/0x4+parseInt(_0x37fdc6(0x169))/0x5*(-parseInt(_0x37fdc6(0x174))/0x6)+parseInt(_0x37fdc6(0x166))/0x7+parseInt(_0x37fdc6(0x163))/0x8;if(_0x2d5b2d===_0x8e72f6)break;else _0x57341a['push'](_0x57341a['shift']());}catch(_0x27060a){_0x57341a['push'](_0x57341a['shift']());}}}(_0x4076,0xc02a2));import{ActionCompressor as _0x37c826}from'./actioncompressor.js';import{arePositionsEqual as _0x3a0600,getPositionShiftedBy as _0x5b31d5}from'../utils.js';import{cloneDeep as _0x3b7792}from'es-toolkit/compat';function _0x4076(){const _0x37b1fb=['length','6607552qPbeAU','_getCompressorByName','_compressSingleOperation','17285ePaaYY','compress','_context','4434852oUDvQM','attributes','_compareAttributes','iterator','__className','_checkOperation','_decompressSingleOperation','substr','414xDYIsN','nodes','position','233952eXbRWa','decompress','value','every','keys','_compareOperations','_combineNext','3515076dohAkM','data','buffers','next','InsertOperation','168678CsiXCA','wasUndone','_splitCurrent','16611632JkYpzV','from'];_0x4076=function(){return _0x37b1fb;};return _0x4076();}function _0xe69e(_0x45bc70,_0x5c8742){const _0x40763b=_0x4076();return _0xe69e=function(_0xe69e70,_0x47c875){_0xe69e70=_0xe69e70-0x15d;let _0x2bc09e=_0x40763b[_0xe69e70];return _0x2bc09e;},_0xe69e(_0x45bc70,_0x5c8742);}export class TypingActionCompressor extends _0x37c826{[_0xe39566(0x17d)](_0x3cde4a,_0x54c0c8){const _0x5f3fa2=_0xe39566;return _0x54c0c8[_0x5f3fa2(0x175)][0x0][_0x5f3fa2(0x17f)]+=_0x3cde4a[_0x5f3fa2(0x175)][0x0][_0x5f3fa2(0x17f)],_0x54c0c8;}[_0xe39566(0x162)](_0x320bfd){const _0x3e43ed=_0xe39566,_0x18ea4c=_0x3b7792(_0x320bfd),_0x51e2f0=_0x18ea4c[_0x3e43ed(0x175)][0x0],_0x2657c8=_0x320bfd[_0x3e43ed(0x175)][0x0],_0x2f4d9a=_0x2657c8[_0x3e43ed(0x17f)][Symbol[_0x3e43ed(0x16f)]]()[_0x3e43ed(0x15e)]()[_0x3e43ed(0x179)],_0x9484a1=_0x2f4d9a[_0x3e43ed(0x165)];return _0x51e2f0[_0x3e43ed(0x17f)]=_0x2f4d9a,_0x2657c8[_0x3e43ed(0x17f)]=_0x2657c8[_0x3e43ed(0x17f)][_0x3e43ed(0x173)](_0x9484a1),_0x320bfd[_0x3e43ed(0x176)]=_0x5b31d5(_0x320bfd[_0x3e43ed(0x176)],_0x9484a1),_0x18ea4c;}[_0xe39566(0x17c)](_0x451a62,_0x23aec8){const _0xb43655=_0xe39566;if(this[_0xb43655(0x171)](_0x451a62)&&this[_0xb43655(0x171)](_0x23aec8)){const _0x2c3e04=_0x451a62[_0xb43655(0x175)][0x0][_0xb43655(0x17f)][_0xb43655(0x165)],_0x5f220d=_0x3a0600(_0x5b31d5(_0x451a62[_0xb43655(0x176)],_0x2c3e04),_0x23aec8[_0xb43655(0x176)]),_0x54df41=_0x451a62[_0xb43655(0x175)][0x0],_0x3bbd42=_0x23aec8[_0xb43655(0x175)][0x0];return _0x5f220d&&this[_0xb43655(0x16e)](_0x54df41,_0x3bbd42);}return!0x1;}[_0xe39566(0x168)](_0x2c3c08){const _0x1357f5=_0xe39566,_0x537145={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1357f5(0x16b)][_0x1357f5(0x167)](_0x1357f5(0x15f))[_0x1357f5(0x16a)](_0x537145,[_0x2c3c08]),_0x537145[_0x1357f5(0x15d)][0x0];}[_0xe39566(0x172)](_0x33b946){const _0x41378f=_0xe39566,_0x44e176=[];return this[_0x41378f(0x16b)][_0x41378f(0x167)](_0x41378f(0x15f))[_0x41378f(0x178)](_0x44e176,_0x33b946),_0x44e176[0x0];}[_0xe39566(0x171)](_0x3aaf05){const _0xc2896f=_0xe39566;return _0xc2896f(0x15f)==_0x3aaf05[_0xc2896f(0x170)]&&0x1==_0x3aaf05[_0xc2896f(0x175)][_0xc2896f(0x165)]&&_0x3aaf05[_0xc2896f(0x175)][0x0][_0xc2896f(0x17f)]&&!_0x3aaf05[_0xc2896f(0x161)]&&0x1==Array[_0xc2896f(0x164)](_0x3aaf05[_0xc2896f(0x175)][0x0][_0xc2896f(0x17f)])[_0xc2896f(0x165)];}[_0xe39566(0x16e)](_0x49c9bc,_0x4bb2a4){const _0x2508f7=_0xe39566,_0x53f204=Object[_0x2508f7(0x17b)](_0x49c9bc[_0x2508f7(0x16d)]||{}),_0x4739e9=Object[_0x2508f7(0x17b)](_0x4bb2a4[_0x2508f7(0x16d)]||{});return _0x53f204[_0x2508f7(0x165)]===_0x4739e9[_0x2508f7(0x165)]&&_0x53f204[_0x2508f7(0x17a)](_0x1ab83f=>_0x4bb2a4[_0x2508f7(0x16d)][_0x1ab83f]&&_0x4bb2a4[_0x2508f7(0x16d)][_0x1ab83f]===_0x49c9bc[_0x2508f7(0x16d)][_0x1ab83f]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22987e=_0x4dba;function _0x4c61(){const _0x5d4124=['start','_id','1023240oCDxCi','_compareOperations','user:','1089444LPReRU','_compressSingleOperation','_decompressSingleOperation','toNone','user:position:','235326lwktep','__className','_getCompressorByName','647795YoJriw','stickiness','name','_context','504606vVEeKu','push','split','decompress','20721AimGhI','oldRange','299748btUWMn','21VtrLuL','MarkerOperation','types','startsWith','end','buffers','newRange','shift','compress'];_0x4c61=function(){return _0x5d4124;};return _0x4c61();}(function(_0x5eadb5,_0x4ab0d1){const _0x3281ae=_0x4dba,_0x377c6e=_0x5eadb5();while(!![]){try{const _0x403a9b=parseInt(_0x3281ae(0x1c3))/0x1+-parseInt(_0x3281ae(0x1b8))/0x2+parseInt(_0x3281ae(0x1bf))/0x3+parseInt(_0x3281ae(0x1b3))/0x4+parseInt(_0x3281ae(0x1bb))/0x5+parseInt(_0x3281ae(0x1c5))/0x6+parseInt(_0x3281ae(0x1c6))/0x7*(-parseInt(_0x3281ae(0x1d1))/0x8);if(_0x403a9b===_0x4ab0d1)break;else _0x377c6e['push'](_0x377c6e['shift']());}catch(_0x482b3a){_0x377c6e['push'](_0x377c6e['shift']());}}}(_0x4c61,0x2209f));import{ActionCompressor as _0x55b93d}from'./actioncompressor.js';import{arePositionsEqual as _0x3c4699}from'../utils.js';function _0x4dba(_0x237b8b,_0xe464e0){const _0x4c6170=_0x4c61();return _0x4dba=function(_0x4dba99,_0x1d52da){_0x4dba99=_0x4dba99-0x1b1;let _0xa96249=_0x4c6170[_0x4dba99];return _0xa96249;},_0x4dba(_0x237b8b,_0xe464e0);}import{cloneDeep as _0x2e2b59}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x55b93d{[_0x22987e(0x1ce)](_0x502082,_0x2e69bf){const _0x3a8b89=_0x22987e;if(!this[_0x3a8b89(0x1b1)](_0x2e69bf[0x0],_0x2e69bf[0x1]))return!0x1;const _0x4f4afc=_0x2e69bf[_0x3a8b89(0x1cd)]();return _0x4f4afc[_0x3a8b89(0x1c4)]=null,_0x4f4afc[_0x3a8b89(0x1cc)]&&_0x3c4699(_0x4f4afc[_0x3a8b89(0x1cc)][_0x3a8b89(0x1cf)],_0x4f4afc[_0x3a8b89(0x1cc)][_0x3a8b89(0x1ca)])&&(_0x4f4afc[_0x3a8b89(0x1cc)][_0x3a8b89(0x1ca)]=null),_0x2e69bf[_0x3a8b89(0x1cd)](),_0x502082[_0x3a8b89(0x1c8)][_0x3a8b89(0x1c0)](this[_0x3a8b89(0x1d0)]),_0x502082[_0x3a8b89(0x1c8)][_0x3a8b89(0x1c0)](0x0),_0x502082[_0x3a8b89(0x1cb)][_0x3a8b89(0x1c0)](this[_0x3a8b89(0x1b4)](_0x4f4afc)),!0x0;}[_0x22987e(0x1c2)](_0x5ac35d,_0x20534e){const _0x4b2e2c=_0x22987e,_0x3cb50a=this[_0x4b2e2c(0x1b5)](_0x20534e);_0x3cb50a[_0x4b2e2c(0x1cc)]&&!_0x3cb50a[_0x4b2e2c(0x1cc)][_0x4b2e2c(0x1ca)]&&(_0x3cb50a[_0x4b2e2c(0x1cc)][_0x4b2e2c(0x1ca)]=_0x2e2b59(_0x3cb50a[_0x4b2e2c(0x1cc)][_0x4b2e2c(0x1cf)]));const _0x516301=_0x2e2b59(_0x3cb50a);_0x516301[_0x4b2e2c(0x1cc)]&&(_0x516301[_0x4b2e2c(0x1cc)][_0x4b2e2c(0x1cf)][_0x4b2e2c(0x1bc)]=_0x4b2e2c(0x1b6),_0x516301[_0x4b2e2c(0x1cc)][_0x4b2e2c(0x1ca)]=_0x2e2b59(_0x516301[_0x4b2e2c(0x1cc)][_0x4b2e2c(0x1cf)])),_0x516301[_0x4b2e2c(0x1bd)]=_0x4b2e2c(0x1b7)+_0x516301[_0x4b2e2c(0x1bd)][_0x4b2e2c(0x1c1)](':')[0x2],_0x20534e[_0x4b2e2c(0x1c8)][_0x4b2e2c(0x1cd)](),_0x5ac35d[_0x4b2e2c(0x1c0)](_0x3cb50a),_0x5ac35d[_0x4b2e2c(0x1c0)](_0x516301);}[_0x22987e(0x1b4)](_0x5c997b){const _0xb613a2=_0x22987e,_0x31f826={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xb613a2(0x1be)][_0xb613a2(0x1ba)](_0xb613a2(0x1c7))[_0xb613a2(0x1ce)](_0x31f826,[_0x5c997b]),_0x31f826[_0xb613a2(0x1cb)][0x0];}[_0x22987e(0x1b5)](_0x4b8383){const _0x10e9cb=_0x22987e,_0x2667a2=[];return this[_0x10e9cb(0x1be)][_0x10e9cb(0x1ba)](_0x10e9cb(0x1c7))[_0x10e9cb(0x1c2)](_0x2667a2,_0x4b8383),_0x2667a2[0x0];}[_0x22987e(0x1b1)](_0x41545f,_0x3967bf){const _0x12d253=_0x22987e;return!(!_0x41545f||!_0x3967bf)&&(_0x12d253(0x1c7)==_0x41545f[_0x12d253(0x1b9)]&&_0x12d253(0x1c7)==_0x3967bf[_0x12d253(0x1b9)]&&!(!_0x41545f[_0x12d253(0x1bd)][_0x12d253(0x1c9)](_0x12d253(0x1b2))||!_0x3967bf[_0x12d253(0x1bd)][_0x12d253(0x1c9)](_0x12d253(0x1b2))||_0x41545f[_0x12d253(0x1bd)]==_0x3967bf[_0x12d253(0x1bd)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38ec32=_0x3a3d;(function(_0x1f7aed,_0xbbe6bf){const _0x1437f6=_0x3a3d,_0x42f647=_0x1f7aed();while(!![]){try{const _0x26ea4d=-parseInt(_0x1437f6(0x193))/0x1*(parseInt(_0x1437f6(0x19a))/0x2)+parseInt(_0x1437f6(0x1b1))/0x3*(-parseInt(_0x1437f6(0x18c))/0x4)+-parseInt(_0x1437f6(0x1b3))/0x5*(-parseInt(_0x1437f6(0x1a7))/0x6)+-parseInt(_0x1437f6(0x18f))/0x7*(parseInt(_0x1437f6(0x1a9))/0x8)+-parseInt(_0x1437f6(0x18a))/0x9+-parseInt(_0x1437f6(0x1b6))/0xa+parseInt(_0x1437f6(0x1b4))/0xb;if(_0x26ea4d===_0xbbe6bf)break;else _0x42f647['push'](_0x42f647['shift']());}catch(_0x17d6fe){_0x42f647['push'](_0x42f647['shift']());}}}(_0x2168,0x9a2e6));import{CKEditorError as _0x18ef80}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x14c09b}from'./protobuffactory.js';function _0x2168(){const _0x4809e5=['AttributeOperation','1860867vXYiDe','decompress','50704XfjGIw','_registerActionCompressor','InsertOperation','6354355UCklAK','UserSelectionAction','_compressorById','TypingAction','346001ozscNM','_getCompressorByName','compress','get','baseVersion','types','_registerOperationCompressor','2oDKITR','MarkerOperation','comment','decompress-compressor-not-found','DeletingAction','NoOperation','MoveOperation','set','_compressorByName','RootOperation','RootAttributeOperation','no-operations-provided','getDescriptor','306zDVGET','length','8mscfUK','_registerCompressor','RenameOperation','__className','ForwardDeletingAction','suggestion','MergeOperation','_protobufFactory','126QWrlmd','SplitOperation','87430pflPFy','23719938RqzbxX','forEach','4236970Echcmp','SuggestionMarkerOperation','CommentMarkerOperation'];_0x2168=function(){return _0x4809e5;};return _0x2168();}import{OperationCompressor as _0x9c6a4b}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x2842bb}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x3e2997}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x3381de}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x23ba84}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x52e93c}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x17d588}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x30b701}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x11b6d0}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x434f3c}from'./actioncompressor/userselectionactioncompressor.js';function _0x3a3d(_0x46660f,_0x245c1c){const _0x2168af=_0x2168();return _0x3a3d=function(_0x3a3d43,_0x5af7c2){_0x3a3d43=_0x3a3d43-0x188;let _0xac4e39=_0x2168af[_0x3a3d43];return _0xac4e39;},_0x3a3d(_0x46660f,_0x245c1c);}export class Compressor{[_0x38ec32(0x191)];[_0x38ec32(0x1a2)];[_0x38ec32(0x1b0)];constructor(){const _0x46e692=_0x38ec32;this[_0x46e692(0x191)]=new Map(),this[_0x46e692(0x1a2)]=new Map(),this[_0x46e692(0x1b0)]=new _0x14c09b();const _0x39b5b5=this[_0x46e692(0x1b0)][_0x46e692(0x1a6)](_0x46e692(0x19b));this[_0x46e692(0x1aa)](0x1,_0x46e692(0x19f),new _0x23ba84(0x1,_0x46e692(0x19f),void 0x0)),this[_0x46e692(0x199)](0xa,_0x46e692(0x189),_0x2842bb),this[_0x46e692(0x199)](0xb,_0x46e692(0x18e),_0x3e2997),this[_0x46e692(0x199)](0xc,_0x46e692(0x19b),_0x3381de),this[_0x46e692(0x199)](0xd,_0x46e692(0x1af),_0x9c6a4b),this[_0x46e692(0x199)](0xe,_0x46e692(0x1a0),_0x9c6a4b),this[_0x46e692(0x199)](0xf,_0x46e692(0x1ab),_0x9c6a4b),this[_0x46e692(0x199)](0x10,_0x46e692(0x1a4),_0x2842bb),this[_0x46e692(0x199)](0x11,_0x46e692(0x1b2),_0x9c6a4b),this[_0x46e692(0x1aa)](0x12,_0x46e692(0x188),new _0x52e93c(0x12,_0x46e692(0x19b),_0x39b5b5,_0x46e692(0x19c))),this[_0x46e692(0x1aa)](0x13,_0x46e692(0x1b7),new _0x52e93c(0x13,_0x46e692(0x19b),_0x39b5b5,_0x46e692(0x1ae))),this[_0x46e692(0x199)](0x14,_0x46e692(0x1a3),_0x9c6a4b),this[_0x46e692(0x18d)](0x64,_0x46e692(0x192),_0x17d588),this[_0x46e692(0x18d)](0x65,_0x46e692(0x19e),_0x30b701),this[_0x46e692(0x18d)](0x66,_0x46e692(0x1ad),_0x11b6d0),this[_0x46e692(0x18d)](0x67,_0x46e692(0x190),_0x434f3c);}[_0x38ec32(0x195)](_0x4d6077){const _0x21c05d=_0x38ec32;if(!_0x4d6077||!_0x4d6077[0x0])throw new _0x18ef80(_0x21c05d(0x1a5),this);const _0x1f4aca={'types':[],'buffers':[],'baseVersion':_0x4d6077[0x0][_0x21c05d(0x197)]};for(;_0x4d6077[_0x21c05d(0x1a8)];)this[_0x21c05d(0x194)](_0x21c05d(0x190))[_0x21c05d(0x195)](_0x1f4aca,_0x4d6077)||this[_0x21c05d(0x194)](_0x21c05d(0x192))[_0x21c05d(0x195)](_0x1f4aca,_0x4d6077)||this[_0x21c05d(0x194)](_0x21c05d(0x19e))[_0x21c05d(0x195)](_0x1f4aca,_0x4d6077)||this[_0x21c05d(0x194)](_0x21c05d(0x1ad))[_0x21c05d(0x195)](_0x1f4aca,_0x4d6077)||this[_0x21c05d(0x194)](_0x21c05d(0x188))[_0x21c05d(0x195)](_0x1f4aca,_0x4d6077)||this[_0x21c05d(0x194)](_0x21c05d(0x1b7))[_0x21c05d(0x195)](_0x1f4aca,_0x4d6077)||this[_0x21c05d(0x194)](_0x4d6077[0x0][_0x21c05d(0x1ac)])[_0x21c05d(0x195)](_0x1f4aca,_0x4d6077);return _0x1f4aca;}[_0x38ec32(0x18b)](_0x166009){const _0x13388c=_0x38ec32,_0x26a73b=[];for(;_0x166009[_0x13388c(0x198)][_0x13388c(0x1a8)];){const _0x1602b7=this[_0x13388c(0x191)][_0x13388c(0x196)](_0x166009[_0x13388c(0x198)][0x0]);if(!_0x1602b7)throw new _0x18ef80(_0x13388c(0x19d),this,{'type':_0x166009[_0x13388c(0x198)][0x0]});_0x1602b7[_0x13388c(0x18b)](_0x26a73b,_0x166009);}return _0x26a73b[_0x13388c(0x1b5)]((_0x56d28f,_0x2f955c)=>_0x56d28f[_0x13388c(0x197)]=_0x166009[_0x13388c(0x197)]+_0x2f955c),_0x26a73b;}[_0x38ec32(0x194)](_0x3f8f57){const _0x106662=_0x38ec32;return this[_0x106662(0x1a2)][_0x106662(0x196)](_0x3f8f57);}[_0x38ec32(0x199)](_0x278597,_0x148cd2,_0x2ac948){const _0x3eda48=_0x38ec32,_0x19da6d=new _0x2ac948(_0x278597,_0x148cd2,this[_0x3eda48(0x1b0)][_0x3eda48(0x1a6)](_0x148cd2));this[_0x3eda48(0x1aa)](_0x278597,_0x148cd2,_0x19da6d);}[_0x38ec32(0x18d)](_0x2f2cb6,_0x1fbd94,_0x3ec927){const _0x20ca29=_0x38ec32,_0x391dee=new _0x3ec927(_0x2f2cb6,this);this[_0x20ca29(0x1aa)](_0x2f2cb6,_0x1fbd94,_0x391dee);}[_0x38ec32(0x1aa)](_0x185cab,_0x46ca63,_0x56aa69){const _0x98561d=_0x38ec32;this[_0x98561d(0x191)][_0x98561d(0x1a1)](_0x185cab,_0x56aa69),this[_0x98561d(0x1a2)][_0x98561d(0x1a1)](_0x46ca63,_0x56aa69);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3f29(_0x5bc61c,_0xdc2ccf){var _0x2eee14=_0x2eee();return _0x3f29=function(_0x3f2974,_0x43aa5e){_0x3f2974=_0x3f2974-0xa1;var _0x16cef6=_0x2eee14[_0x3f2974];return _0x16cef6;},_0x3f29(_0x5bc61c,_0xdc2ccf);}function _0x2eee(){var _0x24ec8b=['1412dKRZrB','2795rTXQwL','8639330atmDvW','3075872bINXTO','2030374pVXoNM','1854522EqFUIt','2272548kcIMLK','240273QVwFMl','1eJTcMR'];_0x2eee=function(){return _0x24ec8b;};return _0x2eee();}(function(_0x177b18,_0x194e2d){var _0x394b2e=_0x3f29,_0x73d0aa=_0x177b18();while(!![]){try{var _0x1db00d=parseInt(_0x394b2e(0xa4))/0x1*(parseInt(_0x394b2e(0xa9))/0x2)+-parseInt(_0x394b2e(0xa2))/0x3+-parseInt(_0x394b2e(0xa5))/0x4*(parseInt(_0x394b2e(0xa6))/0x5)+-parseInt(_0x394b2e(0xa1))/0x6+parseInt(_0x394b2e(0xa7))/0x7+-parseInt(_0x394b2e(0xa8))/0x8+parseInt(_0x394b2e(0xa3))/0x9;if(_0x1db00d===_0x194e2d)break;else _0x73d0aa['push'](_0x73d0aa['shift']());}catch(_0xb899bd){_0x73d0aa['push'](_0x73d0aa['shift']());}}}(_0x2eee,0x993cc));export{Compressor}from'./compressor.js';
|