@ckeditor/ckeditor5-operations-compressor 42.0.2-alpha.2 → 43.0.0-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/CHANGELOG.md +1 -89
- 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 _0x496533=_0x1d16;(function(_0x19c826,_0x4656e4){const _0x459cf7=_0x1d16,_0x15ba99=_0x19c826();while(!![]){try{const _0x1627c1=-parseInt(_0x459cf7(0x1b8))/0x1*(-parseInt(_0x459cf7(0x1c0))/0x2)+-parseInt(_0x459cf7(0x1b9))/0x3*(parseInt(_0x459cf7(0x1c5))/0x4)+parseInt(_0x459cf7(0x1b7))/0x5*(-parseInt(_0x459cf7(0x1bd))/0x6)+parseInt(_0x459cf7(0x1c2))/0x7+parseInt(_0x459cf7(0x1be))/0x8+parseInt(_0x459cf7(0x1c7))/0x9*(-parseInt(_0x459cf7(0x1cf))/0xa)+-parseInt(_0x459cf7(0x1d2))/0xb;if(_0x1627c1===_0x4656e4)break;else _0x15ba99['push'](_0x15ba99['shift']());}catch(_0x1179c9){_0x15ba99['push'](_0x15ba99['shift']());}}}(_0x5dfe,0x7a101));import _0x509eb6 from'./actioncompressor.js';import{arePositionsEqual as _0x1c4b90,getPositionShiftedBy as _0x8c5225}from'../utils.js';function _0x5dfe(){const _0x4b5629=['sourcePosition','6GtPRub','2330328lyjPZz','_compressSingleOperation','35394PrYTNP','root','5625018fvpCGR','MoveOperation','_getCompressorByName','938104vmmnlo','_checkOperation','9OwoWlW','_splitCurrent','compress','_compareOperations','wasUndone','decompress','_context','howMany','1105550pQYjUe','buffers','_decompressSingleOperation','4704843fxuiIc','_combineNext','$graveyard','3003850nfLqjP','44ZaKHwS','3GMShXK','__className','targetPosition'];_0x5dfe=function(){return _0x4b5629;};return _0x5dfe();}import{cloneDeep as _0x575b9c}from'lodash-es';function _0x1d16(_0x2c748c,_0x484c85){const _0x5dfef6=_0x5dfe();return _0x1d16=function(_0x1d1634,_0x24f437){_0x1d1634=_0x1d1634-0x1b5;let _0x281ae7=_0x5dfef6[_0x1d1634];return _0x281ae7;},_0x1d16(_0x2c748c,_0x484c85);}export default class c extends _0x509eb6{[_0x496533(0x1b5)](_0x40bc83,_0x2dc28b){const _0x1fa5b1=_0x496533;return _0x2dc28b[_0x1fa5b1(0x1ce)]++,_0x2dc28b[_0x1fa5b1(0x1bc)]=_0x575b9c(_0x40bc83[_0x1fa5b1(0x1bc)]),_0x2dc28b;}[_0x496533(0x1c8)](_0x449aca){const _0x535b44=_0x496533,_0x57bc9c=_0x575b9c(_0x449aca);return _0x449aca[_0x535b44(0x1ce)]--,_0x57bc9c[_0x535b44(0x1ce)]=0x1,_0x57bc9c[_0x535b44(0x1bc)]=_0x8c5225(_0x57bc9c[_0x535b44(0x1bc)],_0x449aca[_0x535b44(0x1ce)]),_0x57bc9c;}[_0x496533(0x1ca)](_0x3e7ea3,_0x4a19df){const _0x5cae5d=_0x496533;return!(!this[_0x5cae5d(0x1c6)](_0x3e7ea3)||!this[_0x5cae5d(0x1c6)](_0x4a19df))&&(_0x1c4b90(_0x8c5225(_0x3e7ea3[_0x5cae5d(0x1bc)],-0x1),_0x4a19df[_0x5cae5d(0x1bc)])&&_0x1c4b90(_0x3e7ea3[_0x5cae5d(0x1bb)],_0x4a19df[_0x5cae5d(0x1bb)]));}[_0x496533(0x1bf)](_0x10cb7b){const _0x152bb3=_0x496533,_0x40d860={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x152bb3(0x1cd)][_0x152bb3(0x1c4)](_0x152bb3(0x1c3))[_0x152bb3(0x1c9)](_0x40d860,[_0x10cb7b]),_0x40d860[_0x152bb3(0x1d0)][0x0];}[_0x496533(0x1d1)](_0x246ae3){const _0x2781ef=_0x496533,_0x5b1071=[];return this[_0x2781ef(0x1cd)][_0x2781ef(0x1c4)](_0x2781ef(0x1c3))[_0x2781ef(0x1cc)](_0x5b1071,_0x246ae3),_0x5b1071[0x0];}[_0x496533(0x1c6)](_0x24b23d){const _0x3d23be=_0x496533;return _0x3d23be(0x1c3)==_0x24b23d[_0x3d23be(0x1ba)]&&_0x3d23be(0x1b6)==_0x24b23d[_0x3d23be(0x1bb)][_0x3d23be(0x1c1)]&&0x1==_0x24b23d[_0x3d23be(0x1ce)]&&!_0x24b23d[_0x3d23be(0x1cb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf19628=_0x2104;function _0x2104(_0x27af06,_0x30c647){const _0xf572e7=_0xf572();return _0x2104=function(_0x210462,_0x2145eb){_0x210462=_0x210462-0xab;let _0x1a6e24=_0xf572e7[_0x210462];return _0x1a6e24;},_0x2104(_0x27af06,_0x30c647);}(function(_0x9e6b7d,_0x32ee35){const _0xdd7d15=_0x2104,_0x10a9c6=_0x9e6b7d();while(!![]){try{const _0x3955da=parseInt(_0xdd7d15(0xc2))/0x1*(-parseInt(_0xdd7d15(0xc4))/0x2)+parseInt(_0xdd7d15(0xba))/0x3*(parseInt(_0xdd7d15(0xb8))/0x4)+-parseInt(_0xdd7d15(0xbd))/0x5*(-parseInt(_0xdd7d15(0xb5))/0x6)+parseInt(_0xdd7d15(0xb0))/0x7+parseInt(_0xdd7d15(0xc6))/0x8*(parseInt(_0xdd7d15(0xb3))/0x9)+parseInt(_0xdd7d15(0xaf))/0xa*(parseInt(_0xdd7d15(0xb4))/0xb)+-parseInt(_0xdd7d15(0xac))/0xc;if(_0x3955da===_0x32ee35)break;else _0x10a9c6['push'](_0x10a9c6['shift']());}catch(_0x3aeb76){_0x10a9c6['push'](_0x10a9c6['shift']());}}}(_0xf572,0x79637));import _0x289a23 from'./actioncompressor.js';import{arePositionsEqual as _0x456ab6}from'../utils.js';function _0xf572(){const _0x809796=['20Irjvgw','789068ziYDnw','compress','root','54smPrSZ','3489827qEoIDY','1410762DSAIYZ','_getCompressorByName','MoveOperation','1072036RfEBiQ','_context','9YvuegA','__className','wasUndone','5AjuYxF','sourcePosition','_decompressSingleOperation','_splitCurrent','$graveyard','11CzvjjZ','buffers','130354QxoxNl','targetPosition','50096UJuWrw','_compareOperations','_combineNext','decompress','howMany','7317720RnmUUO','_compressSingleOperation','_checkOperation'];_0xf572=function(){return _0x809796;};return _0xf572();}import{cloneDeep as _0x557523}from'lodash-es';export default class h extends _0x289a23{[_0xf19628(0xc8)](_0x30b7d0,_0x4bcf87){const _0x1d0e00=_0xf19628;return _0x4bcf87[_0x1d0e00(0xab)]++,_0x4bcf87;}[_0xf19628(0xc0)](_0x5eecb5){const _0x4b9e86=_0xf19628,_0x4a1fff=_0x557523(_0x5eecb5);return _0x4a1fff[_0x4b9e86(0xab)]=0x1,_0x5eecb5[_0x4b9e86(0xab)]--,_0x4a1fff;}[_0xf19628(0xc7)](_0x3386a9,_0x2ff22e){const _0x2ff222=_0xf19628;return!(!this[_0x2ff222(0xae)](_0x3386a9)||!this[_0x2ff222(0xae)](_0x2ff22e))&&(_0x456ab6(_0x3386a9[_0x2ff222(0xbe)],_0x2ff22e[_0x2ff222(0xbe)])&&_0x456ab6(_0x3386a9[_0x2ff222(0xc5)],_0x2ff22e[_0x2ff222(0xc5)]));}[_0xf19628(0xad)](_0x1948e5){const _0x41e3e9=_0xf19628,_0x11fc8a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x41e3e9(0xb9)][_0x41e3e9(0xb6)](_0x41e3e9(0xb7))[_0x41e3e9(0xb1)](_0x11fc8a,[_0x1948e5]),_0x11fc8a[_0x41e3e9(0xc3)][0x0];}[_0xf19628(0xbf)](_0x393864){const _0x163dc8=_0xf19628,_0x45e902=[];return this[_0x163dc8(0xb9)][_0x163dc8(0xb6)](_0x163dc8(0xb7))[_0x163dc8(0xc9)](_0x45e902,_0x393864),_0x45e902[0x0];}[_0xf19628(0xae)](_0x31e51f){const _0x49d155=_0xf19628;return _0x49d155(0xb7)==_0x31e51f[_0x49d155(0xbb)]&&_0x49d155(0xc1)==_0x31e51f[_0x49d155(0xc5)][_0x49d155(0xb2)]&&0x1==_0x31e51f[_0x49d155(0xab)]&&!_0x31e51f[_0x49d155(0xbc)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1208(_0x55e5f7,_0xd5c290){const _0x5ec70e=_0x5ec7();return _0x1208=function(_0x120883,_0x5e3566){_0x120883=_0x120883-0xf8;let _0x489220=_0x5ec70e[_0x120883];return _0x489220;},_0x1208(_0x55e5f7,_0xd5c290);}const _0x115505=_0x1208;function _0x5ec7(){const _0x4eae2d=['_compareAttributes','from','attributes','6652665BZMnvt','_context','46940fPckgM','wasUndone','_compareOperations','next','every','length','_decompressSingleOperation','357080AvQlYB','496199gLddMu','189xFmKPk','value','_splitCurrent','_compressSingleOperation','2181GXePgY','50jMhCQC','_getCompressorByName','_combineNext','substr','buffers','nodes','position','keys','decompress','InsertOperation','__className','compress','2684bFmYaW','161514xTIkKB','_checkOperation','405032cEEaLC','iterator','data'];_0x5ec7=function(){return _0x4eae2d;};return _0x5ec7();}(function(_0x3df811,_0x1a238a){const _0x37fc8b=_0x1208,_0x276dbe=_0x3df811();while(!![]){try{const _0x23bd67=-parseInt(_0x37fc8b(0x10e))/0x1+-parseInt(_0x37fc8b(0xfb))/0x2*(-parseInt(_0x37fc8b(0x113))/0x3)+parseInt(_0x37fc8b(0x106))/0x4*(parseInt(_0x37fc8b(0x114))/0x5)+parseInt(_0x37fc8b(0xfc))/0x6*(-parseInt(_0x37fc8b(0x10f))/0x7)+parseInt(_0x37fc8b(0xfe))/0x8+parseInt(_0x37fc8b(0x104))/0x9+-parseInt(_0x37fc8b(0x10d))/0xa;if(_0x23bd67===_0x1a238a)break;else _0x276dbe['push'](_0x276dbe['shift']());}catch(_0x1a2d74){_0x276dbe['push'](_0x276dbe['shift']());}}}(_0x5ec7,0x985ce));import _0x494bab from'./actioncompressor.js';import{arePositionsEqual as _0x30d864,getPositionShiftedBy as _0x28399c}from'../utils.js';import{cloneDeep as _0x5c26f0}from'lodash-es';export default class m extends _0x494bab{[_0x115505(0x116)](_0x1602c0,_0x22a1e2){const _0x1d3461=_0x115505;return _0x22a1e2[_0x1d3461(0x119)][0x0][_0x1d3461(0x100)]+=_0x1602c0[_0x1d3461(0x119)][0x0][_0x1d3461(0x100)],_0x22a1e2;}[_0x115505(0x111)](_0x4fc8bc){const _0x1b0929=_0x115505,_0x4e526f=_0x5c26f0(_0x4fc8bc),_0x5090ca=_0x4e526f[_0x1b0929(0x119)][0x0],_0x38dd03=_0x4fc8bc[_0x1b0929(0x119)][0x0],_0x20ea2=_0x38dd03[_0x1b0929(0x100)][Symbol[_0x1b0929(0xff)]]()[_0x1b0929(0x109)]()[_0x1b0929(0x110)],_0x2b3588=_0x20ea2[_0x1b0929(0x10b)];return _0x5090ca[_0x1b0929(0x100)]=_0x20ea2,_0x38dd03[_0x1b0929(0x100)]=_0x38dd03[_0x1b0929(0x100)][_0x1b0929(0x117)](_0x2b3588),_0x4fc8bc[_0x1b0929(0x11a)]=_0x28399c(_0x4fc8bc[_0x1b0929(0x11a)],_0x2b3588),_0x4e526f;}[_0x115505(0x108)](_0xc427c0,_0xd15b8b){const _0x39ad7e=_0x115505;if(this[_0x39ad7e(0xfd)](_0xc427c0)&&this[_0x39ad7e(0xfd)](_0xd15b8b)){const _0x2630be=_0xc427c0[_0x39ad7e(0x119)][0x0][_0x39ad7e(0x100)][_0x39ad7e(0x10b)],_0x1aa0e7=_0x30d864(_0x28399c(_0xc427c0[_0x39ad7e(0x11a)],_0x2630be),_0xd15b8b[_0x39ad7e(0x11a)]),_0x4cfdf4=_0xc427c0[_0x39ad7e(0x119)][0x0],_0x1de900=_0xd15b8b[_0x39ad7e(0x119)][0x0];return _0x1aa0e7&&this[_0x39ad7e(0x101)](_0x4cfdf4,_0x1de900);}return!0x1;}[_0x115505(0x112)](_0x29c20a){const _0x2bdf08=_0x115505,_0x46711b={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x2bdf08(0x105)][_0x2bdf08(0x115)](_0x2bdf08(0xf8))[_0x2bdf08(0xfa)](_0x46711b,[_0x29c20a]),_0x46711b[_0x2bdf08(0x118)][0x0];}[_0x115505(0x10c)](_0x2efa5d){const _0xf19533=_0x115505,_0x247d00=[];return this[_0xf19533(0x105)][_0xf19533(0x115)](_0xf19533(0xf8))[_0xf19533(0x11c)](_0x247d00,_0x2efa5d),_0x247d00[0x0];}[_0x115505(0xfd)](_0x3edeb0){const _0x46c454=_0x115505;return _0x46c454(0xf8)==_0x3edeb0[_0x46c454(0xf9)]&&0x1==_0x3edeb0[_0x46c454(0x119)][_0x46c454(0x10b)]&&_0x3edeb0[_0x46c454(0x119)][0x0][_0x46c454(0x100)]&&!_0x3edeb0[_0x46c454(0x107)]&&0x1==Array[_0x46c454(0x102)](_0x3edeb0[_0x46c454(0x119)][0x0][_0x46c454(0x100)])[_0x46c454(0x10b)];}[_0x115505(0x101)](_0x21ba17,_0x37808f){const _0x4bc231=_0x115505,_0x27f98a=Object[_0x4bc231(0x11b)](_0x21ba17[_0x4bc231(0x103)]||{}),_0xc95841=Object[_0x4bc231(0x11b)](_0x37808f[_0x4bc231(0x103)]||{});return _0x27f98a[_0x4bc231(0x10b)]===_0xc95841[_0x4bc231(0x10b)]&&_0x27f98a[_0x4bc231(0x10a)](_0x29f25e=>_0x37808f[_0x4bc231(0x103)][_0x29f25e]&&_0x37808f[_0x4bc231(0x103)][_0x29f25e]===_0x21ba17[_0x4bc231(0x103)][_0x29f25e]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2f03ac=_0x5406;function _0x5406(_0x413efd,_0x5bc0db){const _0xe95f51=_0xe95f();return _0x5406=function(_0x540684,_0x4df62b){_0x540684=_0x540684-0xaa;let _0x3f42c0=_0xe95f51[_0x540684];return _0x3f42c0;},_0x5406(_0x413efd,_0x5bc0db);}(function(_0x455c3e,_0x10f2ac){const _0x1e9e12=_0x5406,_0x58f2d1=_0x455c3e();while(!![]){try{const _0x8ad5a7=-parseInt(_0x1e9e12(0xc8))/0x1+-parseInt(_0x1e9e12(0xc6))/0x2*(-parseInt(_0x1e9e12(0xab))/0x3)+-parseInt(_0x1e9e12(0xb8))/0x4+parseInt(_0x1e9e12(0xb0))/0x5*(-parseInt(_0x1e9e12(0xb1))/0x6)+-parseInt(_0x1e9e12(0xaf))/0x7+-parseInt(_0x1e9e12(0xb6))/0x8*(parseInt(_0x1e9e12(0xb3))/0x9)+parseInt(_0x1e9e12(0xbf))/0xa;if(_0x8ad5a7===_0x10f2ac)break;else _0x58f2d1['push'](_0x58f2d1['shift']());}catch(_0x115828){_0x58f2d1['push'](_0x58f2d1['shift']());}}}(_0xe95f,0x5f0b6));import _0x1635ac from'./actioncompressor.js';function _0xe95f(){const _0x200797=['__className','push','startsWith','_getCompressorByName','start','user:','33515320uZUIWu','end','name','stickiness','_id','types','shift','2mIDovo','buffers','417110dcgdBd','_compareOperations','compress','_context','newRange','user:position:','493266ItBxaY','oldRange','split','toNone','4270413mDYLiD','1599970zptEgI','12XNMxTN','MarkerOperation','6131439VsPNdU','_compressSingleOperation','decompress','8rtvLfG','_decompressSingleOperation','3112896dfoqak'];_0xe95f=function(){return _0x200797;};return _0xe95f();}import{arePositionsEqual as _0x4dada5}from'../utils.js';import{cloneDeep as _0x2412a6}from'lodash-es';export default class f extends _0x1635ac{[_0x2f03ac(0xca)](_0x47714f,_0x4e4192){const _0x180cae=_0x2f03ac;if(!this[_0x180cae(0xc9)](_0x4e4192[0x0],_0x4e4192[0x1]))return!0x1;const _0x574074=_0x4e4192[_0x180cae(0xc5)]();return _0x574074[_0x180cae(0xac)]=null,_0x574074[_0x180cae(0xcc)]&&_0x4dada5(_0x574074[_0x180cae(0xcc)][_0x180cae(0xbd)],_0x574074[_0x180cae(0xcc)][_0x180cae(0xc0)])&&(_0x574074[_0x180cae(0xcc)][_0x180cae(0xc0)]=null),_0x4e4192[_0x180cae(0xc5)](),_0x47714f[_0x180cae(0xc4)][_0x180cae(0xba)](this[_0x180cae(0xc3)]),_0x47714f[_0x180cae(0xc4)][_0x180cae(0xba)](0x0),_0x47714f[_0x180cae(0xc7)][_0x180cae(0xba)](this[_0x180cae(0xb4)](_0x574074)),!0x0;}[_0x2f03ac(0xb5)](_0x19c417,_0x5d7205){const _0xc4939f=_0x2f03ac,_0x3c6a29=this[_0xc4939f(0xb7)](_0x5d7205);_0x3c6a29[_0xc4939f(0xcc)]&&!_0x3c6a29[_0xc4939f(0xcc)][_0xc4939f(0xc0)]&&(_0x3c6a29[_0xc4939f(0xcc)][_0xc4939f(0xc0)]=_0x2412a6(_0x3c6a29[_0xc4939f(0xcc)][_0xc4939f(0xbd)]));const _0x16c4e2=_0x2412a6(_0x3c6a29);_0x16c4e2[_0xc4939f(0xcc)]&&(_0x16c4e2[_0xc4939f(0xcc)][_0xc4939f(0xbd)][_0xc4939f(0xc2)]=_0xc4939f(0xae),_0x16c4e2[_0xc4939f(0xcc)][_0xc4939f(0xc0)]=_0x2412a6(_0x16c4e2[_0xc4939f(0xcc)][_0xc4939f(0xbd)])),_0x16c4e2[_0xc4939f(0xc1)]=_0xc4939f(0xaa)+_0x16c4e2[_0xc4939f(0xc1)][_0xc4939f(0xad)](':')[0x2],_0x5d7205[_0xc4939f(0xc4)][_0xc4939f(0xc5)](),_0x19c417[_0xc4939f(0xba)](_0x3c6a29),_0x19c417[_0xc4939f(0xba)](_0x16c4e2);}[_0x2f03ac(0xb4)](_0x566cfe){const _0x33be65=_0x2f03ac,_0x40c7f1={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x33be65(0xcb)][_0x33be65(0xbc)](_0x33be65(0xb2))[_0x33be65(0xca)](_0x40c7f1,[_0x566cfe]),_0x40c7f1[_0x33be65(0xc7)][0x0];}[_0x2f03ac(0xb7)](_0x2c3189){const _0x1ba4f7=_0x2f03ac,_0x407a1a=[];return this[_0x1ba4f7(0xcb)][_0x1ba4f7(0xbc)](_0x1ba4f7(0xb2))[_0x1ba4f7(0xb5)](_0x407a1a,_0x2c3189),_0x407a1a[0x0];}[_0x2f03ac(0xc9)](_0x480957,_0x4b1a52){const _0x3dbc31=_0x2f03ac;return!(!_0x480957||!_0x4b1a52)&&(_0x3dbc31(0xb2)==_0x480957[_0x3dbc31(0xb9)]&&_0x3dbc31(0xb2)==_0x4b1a52[_0x3dbc31(0xb9)]&&!(!_0x480957[_0x3dbc31(0xc1)][_0x3dbc31(0xbb)](_0x3dbc31(0xbe))||!_0x4b1a52[_0x3dbc31(0xc1)][_0x3dbc31(0xbb)](_0x3dbc31(0xbe))||_0x480957[_0x3dbc31(0xc1)]==_0x4b1a52[_0x3dbc31(0xc1)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ff8(){const _0x3bc154=['9336zyfnai','suggestion','__className','_getCompressorByName','DeletingAction','_registerOperationCompressor','UserSelectionAction','MarkerOperation','RootOperation','_compressorByName','_compressorById','compress','NoOperation','MergeOperation','SuggestionMarkerOperation','RenameOperation','RootAttributeOperation','ForwardDeletingAction','6850296yDWcig','MoveOperation','set','comment','28521qGUutO','_protobufFactory','_registerActionCompressor','forEach','_registerCompressor','892092IPAxjQ','1088WQTIty','CommentMarkerOperation','1860468QLhqOC','length','getDescriptor','3224580sSgPqD','SplitOperation','InsertOperation','833292pmjbAX','TypingAction','no-operations-provided','5222DXhmUl','get','types','decompress','AttributeOperation','baseVersion'];_0x3ff8=function(){return _0x3bc154;};return _0x3ff8();}const _0x29fd5c=_0x4c80;(function(_0x22ff3b,_0x2871c9){const _0x469b4b=_0x4c80,_0x195215=_0x22ff3b();while(!![]){try{const _0x166c15=parseInt(_0x469b4b(0x11e))/0x1+parseInt(_0x469b4b(0x115))/0x2+-parseInt(_0x469b4b(0x118))/0x3+parseInt(_0x469b4b(0x139))/0x4+-parseInt(_0x469b4b(0x11b))/0x5+-parseInt(_0x469b4b(0x127))/0x6*(parseInt(_0x469b4b(0x121))/0x7)+-parseInt(_0x469b4b(0x116))/0x8*(-parseInt(_0x469b4b(0x110))/0x9);if(_0x166c15===_0x2871c9)break;else _0x195215['push'](_0x195215['shift']());}catch(_0x17d7bb){_0x195215['push'](_0x195215['shift']());}}}(_0x3ff8,0xf36b8));import{CKEditorError as _0x54b42a}from'ckeditor5/src/utils.js';function _0x4c80(_0x5e61fb,_0x5d9843){const _0x3ff8df=_0x3ff8();return _0x4c80=function(_0x4c80fa,_0x47af00){_0x4c80fa=_0x4c80fa-0x10e;let _0x16690b=_0x3ff8df[_0x4c80fa];return _0x16690b;},_0x4c80(_0x5e61fb,_0x5d9843);}import _0x478c6e from'./protobuffactory.js';import _0x36d2fc from'./operationcompressor/operationcompressor.js';import _0x499edd from'./operationcompressor/attributeoperationcompressor.js';import _0x2a1287 from'./operationcompressor/insertoperationcompressor.js';import _0x477b4c from'./operationcompressor/markeroperationcompressor.js';import _0x2fe302 from'./operationcompressor/nooperationcompressor.js';import _0x4fe6b6 from'./operationcompressor/annotationmarkeroperationcompressor.js';import _0x118a8f from'./actioncompressor/typingactioncompressor.js';import _0x4f2022 from'./actioncompressor/deletingactioncompressor.js';import _0x32c524 from'./actioncompressor/forwarddeletingactioncompressor.js';import _0x1ce7af from'./actioncompressor/userselectionactioncompressor.js';export default class g{constructor(){const _0x1ce928=_0x4c80;this[_0x1ce928(0x131)]=new Map(),this[_0x1ce928(0x130)]=new Map(),this[_0x1ce928(0x111)]=new _0x478c6e();const _0x3bf8a6=this[_0x1ce928(0x111)][_0x1ce928(0x11a)](_0x1ce928(0x12e));this[_0x1ce928(0x114)](0x1,_0x1ce928(0x133),new _0x2fe302(0x1,_0x1ce928(0x133),void 0x0)),this[_0x1ce928(0x12c)](0xa,_0x1ce928(0x125),_0x499edd),this[_0x1ce928(0x12c)](0xb,_0x1ce928(0x11d),_0x2a1287),this[_0x1ce928(0x12c)](0xc,_0x1ce928(0x12e),_0x477b4c),this[_0x1ce928(0x12c)](0xd,_0x1ce928(0x134),_0x36d2fc),this[_0x1ce928(0x12c)](0xe,_0x1ce928(0x13a),_0x36d2fc),this[_0x1ce928(0x12c)](0xf,_0x1ce928(0x136),_0x36d2fc),this[_0x1ce928(0x12c)](0x10,_0x1ce928(0x137),_0x499edd),this[_0x1ce928(0x12c)](0x11,_0x1ce928(0x11c),_0x36d2fc),this[_0x1ce928(0x114)](0x12,_0x1ce928(0x117),new _0x4fe6b6(0x12,_0x1ce928(0x12e),_0x3bf8a6,_0x1ce928(0x10f))),this[_0x1ce928(0x114)](0x13,_0x1ce928(0x135),new _0x4fe6b6(0x13,_0x1ce928(0x12e),_0x3bf8a6,_0x1ce928(0x128))),this[_0x1ce928(0x12c)](0x14,_0x1ce928(0x12f),_0x36d2fc),this[_0x1ce928(0x112)](0x64,_0x1ce928(0x11f),_0x118a8f),this[_0x1ce928(0x112)](0x65,_0x1ce928(0x12b),_0x4f2022),this[_0x1ce928(0x112)](0x66,_0x1ce928(0x138),_0x32c524),this[_0x1ce928(0x112)](0x67,_0x1ce928(0x12d),_0x1ce7af);}[_0x29fd5c(0x132)](_0x54ce84){const _0x28bd12=_0x29fd5c;if(!_0x54ce84||!_0x54ce84[0x0])throw new _0x54b42a(_0x28bd12(0x120),this);const _0xadf0b4={'types':[],'buffers':[],'baseVersion':_0x54ce84[0x0][_0x28bd12(0x126)]};for(;_0x54ce84[_0x28bd12(0x119)];)this[_0x28bd12(0x12a)](_0x28bd12(0x12d))[_0x28bd12(0x132)](_0xadf0b4,_0x54ce84)||this[_0x28bd12(0x12a)](_0x28bd12(0x11f))[_0x28bd12(0x132)](_0xadf0b4,_0x54ce84)||this[_0x28bd12(0x12a)](_0x28bd12(0x12b))[_0x28bd12(0x132)](_0xadf0b4,_0x54ce84)||this[_0x28bd12(0x12a)](_0x28bd12(0x138))[_0x28bd12(0x132)](_0xadf0b4,_0x54ce84)||this[_0x28bd12(0x12a)](_0x28bd12(0x117))[_0x28bd12(0x132)](_0xadf0b4,_0x54ce84)||this[_0x28bd12(0x12a)](_0x28bd12(0x135))[_0x28bd12(0x132)](_0xadf0b4,_0x54ce84)||this[_0x28bd12(0x12a)](_0x54ce84[0x0][_0x28bd12(0x129)])[_0x28bd12(0x132)](_0xadf0b4,_0x54ce84);return _0xadf0b4;}[_0x29fd5c(0x124)](_0x1e0b65){const _0x3c48f4=_0x29fd5c,_0x128cc3=[];for(;_0x1e0b65[_0x3c48f4(0x123)][_0x3c48f4(0x119)];){this[_0x3c48f4(0x131)][_0x3c48f4(0x122)](_0x1e0b65[_0x3c48f4(0x123)][0x0])[_0x3c48f4(0x124)](_0x128cc3,_0x1e0b65);}return _0x128cc3[_0x3c48f4(0x113)]((_0x2e6b80,_0x2495ad)=>_0x2e6b80[_0x3c48f4(0x126)]=_0x1e0b65[_0x3c48f4(0x126)]+_0x2495ad),_0x128cc3;}[_0x29fd5c(0x12a)](_0x1bbb09){const _0x709a20=_0x29fd5c;return this[_0x709a20(0x130)][_0x709a20(0x122)](_0x1bbb09);}[_0x29fd5c(0x12c)](_0x1e947b,_0x456a3b,_0x1af9f4){const _0x373e2e=_0x29fd5c,_0x4c15b0=new _0x1af9f4(_0x1e947b,_0x456a3b,this[_0x373e2e(0x111)][_0x373e2e(0x11a)](_0x456a3b));this[_0x373e2e(0x114)](_0x1e947b,_0x456a3b,_0x4c15b0);}[_0x29fd5c(0x112)](_0x2b3184,_0x1d281a,_0x97e71c){const _0x1f4334=_0x29fd5c,_0x5b19d3=new _0x97e71c(_0x2b3184,this);this[_0x1f4334(0x114)](_0x2b3184,_0x1d281a,_0x5b19d3);}[_0x29fd5c(0x114)](_0x4e1034,_0x34ef80,_0x18dff1){const _0xdeef6f=_0x29fd5c;this[_0xdeef6f(0x131)][_0xdeef6f(0x10e)](_0x4e1034,_0x18dff1),this[_0xdeef6f(0x130)][_0xdeef6f(0x10e)](_0x34ef80,_0x18dff1);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x446c(_0x514ab1,_0x458e75){var _0x1e2a74=_0x1e2a();return _0x446c=function(_0x446cdf,_0xcdc0ac){_0x446cdf=_0x446cdf-0x85;var _0x5e6ce8=_0x1e2a74[_0x446cdf];return _0x5e6ce8;},_0x446c(_0x514ab1,_0x458e75);}function _0x1e2a(){var _0x5635eb=['6RuRErY','240130UShrzj','702220AjWUai','49044CBeImF','28376kyzXDR','1368857WegRAY','457445bfZYhQ','14xBPqyJ','44aaxSkj','286RWfbEH','217617dOXiVf','8MjcdNm','414IBGjyJ'];_0x1e2a=function(){return _0x5635eb;};return _0x1e2a();}(function(_0x28d3cd,_0x3f1fd4){var _0x1f800e=_0x446c,_0x5ef1f1=_0x28d3cd();while(!![]){try{var _0x5ef677=-parseInt(_0x1f800e(0x8c))/0x1+parseInt(_0x1f800e(0x8d))/0x2*(parseInt(_0x1f800e(0x90))/0x3)+-parseInt(_0x1f800e(0x91))/0x4*(-parseInt(_0x1f800e(0x87))/0x5)+-parseInt(_0x1f800e(0x86))/0x6*(parseInt(_0x1f800e(0x8b))/0x7)+-parseInt(_0x1f800e(0x8a))/0x8*(-parseInt(_0x1f800e(0x85))/0x9)+parseInt(_0x1f800e(0x88))/0xa*(parseInt(_0x1f800e(0x8e))/0xb)+-parseInt(_0x1f800e(0x89))/0xc*(parseInt(_0x1f800e(0x8f))/0xd);if(_0x5ef677===_0x3f1fd4)break;else _0x5ef1f1['push'](_0x5ef1f1['shift']());}catch(_0x1824be){_0x5ef1f1['push'](_0x5ef1f1['shift']());}}}(_0x1e2a,0x4a745));export{default as Compressor}from'./compressor.js';
|