@ckeditor/ckeditor5-operations-compressor 47.7.0-alpha.3 → 47.7.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/errors.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 _0x1bbe7c=_0xed25;(function(_0x1ce6bf,_0x2909cd){const _0x1cdc26=_0xed25,_0x143e05=_0x1ce6bf();while(!![]){try{const _0x4a973b=parseInt(_0x1cdc26(0x17a))/0x1*(-parseInt(_0x1cdc26(0x176))/0x2)+-parseInt(_0x1cdc26(0x16f))/0x3+parseInt(_0x1cdc26(0x174))/0x4+-parseInt(_0x1cdc26(0x16c))/0x5*(parseInt(_0x1cdc26(0x170))/0x6)+parseInt(_0x1cdc26(0x175))/0x7+-parseInt(_0x1cdc26(0x172))/0x8*(parseInt(_0x1cdc26(0x16d))/0x9)+parseInt(_0x1cdc26(0x179))/0xa*(parseInt(_0x1cdc26(0x16e))/0xb);if(_0x4a973b===_0x2909cd)break;else _0x143e05['push'](_0x143e05['shift']());}catch(_0x1b95b3){_0x143e05['push'](_0x143e05['shift']());}}}(_0x3a5e,0x317fa));function _0x3a5e(){const _0x5714dd=['decompress','newRange','51130qiuHlZ','176503UouaDY','65xZrVGd','5823hdPdLD','2233zpKZcr','946062NsHCWy','107034pjtBxl','length','2248cYYOSR','oldRange','556752xlFGnM','753851KYFvHH','4sEXGdU'];_0x3a5e=function(){return _0x5714dd;};return _0x3a5e();}function _0xed25(_0x4022fe,_0x3415c4){const _0x3a5ebd=_0x3a5e();return _0xed25=function(_0xed257f,_0x4b4676){_0xed257f=_0xed257f-0x16c;let _0x169d82=_0x3a5ebd[_0xed257f];return _0x169d82;},_0xed25(_0x4022fe,_0x3415c4);}import{OperationCompressor as _0x4faf60}from'./operationcompressor.js';export class MarkerOperationCompressor extends _0x4faf60{[_0x1bbe7c(0x177)](_0x1c02b3,_0x76b699){const _0x24f598=_0x1bbe7c;super[_0x24f598(0x177)](_0x1c02b3,_0x76b699);const _0x40fc20=_0x1c02b3[_0x1c02b3[_0x24f598(0x171)]-0x1];_0x40fc20[_0x24f598(0x173)]||(_0x40fc20[_0x24f598(0x173)]=null),_0x40fc20[_0x24f598(0x178)]||(_0x40fc20[_0x24f598(0x178)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x21b73f=_0x2cb2;function _0x2cb2(_0x486557,_0x2dc994){var _0x443d66=_0x443d();return _0x2cb2=function(_0x2cb280,_0x198a73){_0x2cb280=_0x2cb280-0x177;var _0x2f66b4=_0x443d66[_0x2cb280];return _0x2f66b4;},_0x2cb2(_0x486557,_0x2dc994);}function _0x443d(){var _0x54efef=['3175TROoDp','359757xCtRAM','429KSBczR','typeIndex','_id','20LeYSgf','244213WAolCm','compress','248QEXQRc','30Utlhyg','push','decompress','3874kaAlJD','215957WWPovC','1580824Jvszgr','types','index','4120039ERPvfA','_operationName'];_0x443d=function(){return _0x54efef;};return _0x443d();}(function(_0xcba548,_0x370fbf){var _0x4b29bd=_0x2cb2,_0x41cbae=_0xcba548();while(!![]){try{var _0x3af185=parseInt(_0x4b29bd(0x17e))/0x1+parseInt(_0x4b29bd(0x184))/0x2*(parseInt(_0x4b29bd(0x17a))/0x3)+-parseInt(_0x4b29bd(0x180))/0x4*(-parseInt(_0x4b29bd(0x178))/0x5)+parseInt(_0x4b29bd(0x181))/0x6*(-parseInt(_0x4b29bd(0x185))/0x7)+parseInt(_0x4b29bd(0x186))/0x8+parseInt(_0x4b29bd(0x179))/0x9*(-parseInt(_0x4b29bd(0x17d))/0xa)+-parseInt(_0x4b29bd(0x189))/0xb;if(_0x3af185===_0x370fbf)break;else _0x41cbae['push'](_0x41cbae['shift']());}catch(_0x51a9b6){_0x41cbae['push'](_0x41cbae['shift']());}}}(_0x443d,0x247b3));import{OperationCompressor as _0xa45992}from'./operationcompressor.js';export class NoOperationCompressor extends _0xa45992{[_0x21b73f(0x17f)](_0x2f0a79,_0x2705bf){var _0x268981=_0x21b73f;return _0x2705bf[_0x268981(0x188)]++,_0x2f0a79[_0x268981(0x187)][_0x268981(0x182)](this[_0x268981(0x17c)]),!0x0;}[_0x21b73f(0x183)](_0x386e1a,_0x2d3add){var _0x441e8e=_0x21b73f;_0x2d3add[_0x441e8e(0x17b)]++,_0x386e1a[_0x441e8e(0x182)]({'__className':this[_0x441e8e(0x177)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10d36e=_0x8959;(function(_0x2ca76e,_0x2be1db){const _0x185070=_0x8959,_0x412a82=_0x2ca76e();while(!![]){try{const _0x25b70c=parseInt(_0x185070(0x192))/0x1*(parseInt(_0x185070(0x187))/0x2)+parseInt(_0x185070(0x191))/0x3*(parseInt(_0x185070(0x188))/0x4)+-parseInt(_0x185070(0x184))/0x5+parseInt(_0x185070(0x18c))/0x6*(-parseInt(_0x185070(0x193))/0x7)+parseInt(_0x185070(0x18b))/0x8+-parseInt(_0x185070(0x183))/0x9*(parseInt(_0x185070(0x194))/0xa)+parseInt(_0x185070(0x182))/0xb;if(_0x25b70c===_0x2be1db)break;else _0x412a82['push'](_0x412a82['shift']());}catch(_0x22522c){_0x412a82['push'](_0x412a82['shift']());}}}(_0x113c,0xf224a));import{parsePositionBeforeCompression as _0x515900,parsePositionAfterCompression as _0x407a31}from'../utils.js';function _0x8959(_0x29d1f7,_0x51374d){const _0x113c9e=_0x113c();return _0x8959=function(_0x895931,_0x4ca710){_0x895931=_0x895931-0x181;let _0x25d80d=_0x113c9e[_0x895931];return _0x25d80d;},_0x8959(_0x29d1f7,_0x51374d);}function _0x113c(){const _0x14bf9e=['33451187SzHgVf','3636iCDUyx','9760605kEqzfz','__className','operations','6238GJhRnj','12492AFQIdp','compress','_protobufDescriptor','5655048LRMhZw','54TdDqpe','buffers','typeIndex','types','_id','846bQpOom','456JuUOtq','1387407vxbDAW','32750SWAFmc','bufferIndex','decompress','index','_operationName','push'];_0x113c=function(){return _0x14bf9e;};return _0x113c();}export class OperationCompressor{[_0x10d36e(0x190)];[_0x10d36e(0x198)];[_0x10d36e(0x18a)];constructor(_0x448664,_0x18fd95,_0x3f240a){const _0x3b0b2a=_0x10d36e;this[_0x3b0b2a(0x190)]=_0x448664,this[_0x3b0b2a(0x198)]=_0x18fd95,this[_0x3b0b2a(0x18a)]=_0x3f240a;}[_0x10d36e(0x189)](_0x29a826,_0x33ea3f){const _0x14a43e=_0x10d36e,_0x4c62f7=_0x33ea3f[_0x14a43e(0x186)][_0x33ea3f[_0x14a43e(0x197)]++];return _0x515900(_0x4c62f7),_0x29a826[_0x14a43e(0x18d)][_0x14a43e(0x181)](this[_0x14a43e(0x18a)][_0x14a43e(0x189)](_0x4c62f7)),_0x29a826[_0x14a43e(0x18f)][_0x14a43e(0x181)](this[_0x14a43e(0x190)]),!0x0;}[_0x10d36e(0x196)](_0xdcea84,_0x4d0f4d){const _0x3fe647=_0x10d36e;_0x4d0f4d[_0x3fe647(0x18e)]++;const _0x582cf8=_0x4d0f4d[_0x3fe647(0x18d)][_0x4d0f4d[_0x3fe647(0x195)]++],_0x4df80e=this[_0x3fe647(0x18a)][_0x3fe647(0x196)](_0x582cf8);_0x407a31(_0x4df80e),_0x4df80e[_0x3fe647(0x185)]=this[_0x3fe647(0x198)],_0xdcea84[_0x3fe647(0x181)](_0x4df80e);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5711(_0x1ba610,_0x5c7133){const _0x255b08=_0x255b();return _0x5711=function(_0x571122,_0x25ad84){_0x571122=_0x571122-0x91;let _0x33abc1=_0x255b08[_0x571122];return _0x33abc1;},_0x5711(_0x1ba610,_0x5c7133);}const _0x2cc129=_0x5711;(function(_0x430600,_0x27b7e9){const _0x265f0d=_0x5711,_0x4e255f=_0x430600();while(!![]){try{const _0x470a54=parseInt(_0x265f0d(0xa3))/0x1*(parseInt(_0x265f0d(0xa2))/0x2)+-parseInt(_0x265f0d(0x9b))/0x3*(parseInt(_0x265f0d(0xa0))/0x4)+parseInt(_0x265f0d(0x9e))/0x5*(-parseInt(_0x265f0d(0x98))/0x6)+parseInt(_0x265f0d(0xa4))/0x7*(parseInt(_0x265f0d(0x9c))/0x8)+-parseInt(_0x265f0d(0x91))/0x9*(parseInt(_0x265f0d(0x9a))/0xa)+parseInt(_0x265f0d(0x94))/0xb+parseInt(_0x265f0d(0x93))/0xc;if(_0x470a54===_0x27b7e9)break;else _0x4e255f['push'](_0x4e255f['shift']());}catch(_0x123e5a){_0x4e255f['push'](_0x4e255f['shift']());}}}(_0x255b,0x8bf76));import{messages as _0x59e80e}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x2cc129(0x99)];constructor(){const _0x1824f6=_0x2cc129;this[_0x1824f6(0x99)]=_0x59e80e;}[_0x2cc129(0xa6)](_0x3a35c1){const _0x5bba43=_0x2cc129;return new ProtobufDescriptor(this[_0x5bba43(0x99)][_0x3a35c1]);}}export class ProtobufDescriptor{[_0x2cc129(0x97)];constructor(_0x6a9911){const _0x291026=_0x2cc129;this[_0x291026(0x97)]=_0x6a9911;}[_0x2cc129(0xa1)](_0x1cdc18){const _0x49f5c1=_0x2cc129,_0x1944de=this[_0x49f5c1(0x97)][_0x49f5c1(0xa7)](_0x1cdc18);if(_0x1944de)throw Error(_0x1944de);return this[_0x49f5c1(0x97)][_0x49f5c1(0x92)](this[_0x49f5c1(0x97)][_0x49f5c1(0x9d)](_0x1cdc18))[_0x49f5c1(0x96)]();}[_0x2cc129(0xa5)](_0x3e024c){const _0x31c345=_0x2cc129;return this[_0x31c345(0x97)][_0x31c345(0x9f)](this[_0x31c345(0x97)][_0x31c345(0x95)](_0x3e024c),{'oneofs':!0x0});}}function _0x255b(){const _0x443e3d=['decompress','getDescriptor','verify','45513jKfKOw','encode','11677620eziRPy','919710fkhjGR','decode','finish','_protobuf','783372YAzmUS','_protobufRoot','1190ulvGSG','228RXhuGE','16zGRQwe','create','5MVmrSi','toObject','49952mAbqYb','compress','42248ZeJswv','53OximqS','274463HJXdlL'];_0x255b=function(){return _0x443e3d;};return _0x255b();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5a8fed,_0x4bf8e8){const _0x531b81=_0x4b0e,_0x64806b=_0x5a8fed();while(!![]){try{const _0x2e223f=parseInt(_0x531b81(0x1b7))/0x1*(-parseInt(_0x531b81(0x1b9))/0x2)+parseInt(_0x531b81(0x1bb))/0x3*(parseInt(_0x531b81(0x1b4))/0x4)+parseInt(_0x531b81(0x1a8))/0x5*(parseInt(_0x531b81(0x1b3))/0x6)+-parseInt(_0x531b81(0x1b2))/0x7+parseInt(_0x531b81(0x1a9))/0x8*(-parseInt(_0x531b81(0x1ba))/0x9)+-parseInt(_0x531b81(0x1af))/0xa+-parseInt(_0x531b81(0x1ac))/0xb*(-parseInt(_0x531b81(0x1ab))/0xc);if(_0x2e223f===_0x4bf8e8)break;else _0x64806b['push'](_0x64806b['shift']());}catch(_0x3722bd){_0x64806b['push'](_0x64806b['shift']());}}}(_0xc9d3,0xcde5d));function _0x4b0e(_0x3caad6,_0x1ce512){const _0xc9d321=_0xc9d3();return _0x4b0e=function(_0x4b0ea7,_0x4dddcd){_0x4b0ea7=_0x4b0ea7-0x1a8;let _0x3e9874=_0xc9d321[_0x4b0ea7];return _0x3e9874;},_0x4b0e(_0x3caad6,_0x1ce512);}import{cloneDeep as _0xa5128,isEqual as _0xa86e2,isObject as _0x168159}from'es-toolkit/compat';export function getPositionShiftedBy(_0x32d755,_0x1cb28d){const _0x9a95d0=_0x4b0e,_0x385ced=_0xa5128(_0x32d755);return _0x385ced[_0x9a95d0(0x1ad)][_0x385ced[_0x9a95d0(0x1ad)][_0x9a95d0(0x1b1)]-0x1]+=_0x1cb28d,_0x385ced;}export function arePositionsEqual(_0x5f26b7,_0x5b0899){const _0xbab382=_0x4b0e;return _0x5f26b7[_0xbab382(0x1ae)]===_0x5b0899[_0xbab382(0x1ae)]&&_0xa86e2(_0x5f26b7[_0xbab382(0x1ad)],_0x5b0899[_0xbab382(0x1ad)]);}export function parsePositionBeforeCompression(_0x25f126){const _0x2f363f=_0x4b0e;P(_0x25f126,_0x42a55c=>(_0x2f363f(0x1b5)==_0x42a55c[_0x2f363f(0x1ae)]?(_0x42a55c[_0x2f363f(0x1aa)]=!0x0,delete _0x42a55c[_0x2f363f(0x1ae)]):_0x2f363f(0x1b6)==_0x42a55c[_0x2f363f(0x1ae)]&&(_0x42a55c[_0x2f363f(0x1b0)]=!0x0,delete _0x42a55c[_0x2f363f(0x1ae)]),_0x42a55c));}function _0xc9d3(){const _0x4cacb9=['length','10733954obCXgm','6bZgZAo','40636uOhlRU','main','$graveyard','430151WIvASG','nodes','2FBOImn','13811472bSMyrF','102ihWOdd','556355FrKJcR','8yTjGKw','rootMain','804YwJrRL','870991XEzHCW','path','root','14202660UORlhj','rootGraveyard'];_0xc9d3=function(){return _0x4cacb9;};return _0xc9d3();}export function parsePositionAfterCompression(_0x4bf57d){const _0x3669df=_0x4b0e;P(_0x4bf57d,_0x48dae1=>(_0x48dae1[_0x3669df(0x1aa)]?(_0x48dae1[_0x3669df(0x1ae)]=_0x3669df(0x1b5),delete _0x48dae1[_0x3669df(0x1aa)]):_0x48dae1[_0x3669df(0x1b0)]&&(_0x48dae1[_0x3669df(0x1ae)]=_0x3669df(0x1b6),delete _0x48dae1[_0x3669df(0x1b0)]),_0x48dae1));}function P(_0x542208,_0x5344d2){const _0x553e80=_0x4b0e;for(const _0x4715e3 in _0x542208){const _0x4577a8=_0x542208[_0x4715e3];_0x553e80(0x1b8)!==_0x4715e3&&_0x168159(_0x4577a8)&&(_0x4577a8[_0x553e80(0x1ad)]&&(_0x4577a8[_0x553e80(0x1ae)]||_0x4577a8[_0x553e80(0x1aa)]||_0x4577a8[_0x553e80(0x1b0)])?_0x542208[_0x4715e3]=_0x5344d2(_0x4577a8):P(_0x4577a8,_0x5344d2));}return _0x542208;}
|