@ckeditor/ckeditor5-operations-compressor 44.1.0-alpha.2 → 44.1.0-alpha.3
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
|
-
var
|
|
23
|
+
var _0x53170e=_0x5653;function _0x2a7b(){var _0x450131=['456XrZGRV','types','_id','520234UTyOwe','decompress','compress','743430UxBALP','shift','_operationName','2022771wBTTKe','1874510MxDlCm','208976emNDFA','21994OKYkUM','push','156258GDHKvJ'];_0x2a7b=function(){return _0x450131;};return _0x2a7b();}function _0x5653(_0x3fcf51,_0x1a83bf){var _0x2a7b34=_0x2a7b();return _0x5653=function(_0x565375,_0x547157){_0x565375=_0x565375-0xe6;var _0x1544f8=_0x2a7b34[_0x565375];return _0x1544f8;},_0x5653(_0x3fcf51,_0x1a83bf);}(function(_0x586431,_0x48c404){var _0x5d5d74=_0x5653,_0x107e6c=_0x586431();while(!![]){try{var _0x20c8d9=-parseInt(_0x5d5d74(0xed))/0x1+parseInt(_0x5d5d74(0xf1))/0x2+parseInt(_0x5d5d74(0xe8))/0x3+parseInt(_0x5d5d74(0xea))/0x4+-parseInt(_0x5d5d74(0xe9))/0x5+parseInt(_0x5d5d74(0xf4))/0x6+-parseInt(_0x5d5d74(0xeb))/0x7*(parseInt(_0x5d5d74(0xee))/0x8);if(_0x20c8d9===_0x48c404)break;else _0x107e6c['push'](_0x107e6c['shift']());}catch(_0x4ede8b){_0x107e6c['push'](_0x107e6c['shift']());}}}(_0x2a7b,0x61b8d));import _0x27c1ce from'./operationcompressor.js';export default class p extends _0x27c1ce{[_0x53170e(0xf3)](_0x236f64,_0x54d019){var _0x1ee343=_0x53170e;return _0x54d019[_0x1ee343(0xe6)](),_0x236f64[_0x1ee343(0xef)][_0x1ee343(0xec)](this[_0x1ee343(0xf0)]),!0x0;}[_0x53170e(0xf2)](_0xd7d4,_0x576fe7){var _0x3540f8=_0x53170e;_0x576fe7[_0x3540f8(0xef)][_0x3540f8(0xe6)](),_0xd7d4[_0x3540f8(0xec)]({'__className':this[_0x3540f8(0xe7)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xedb2(_0x593d62,_0xb0b288){const _0x4e217d=_0x4e21();return _0xedb2=function(_0xedb22a,_0x1d8cd6){_0xedb22a=_0xedb22a-0x11b;let _0x292e92=_0x4e217d[_0xedb22a];return _0x292e92;},_0xedb2(_0x593d62,_0xb0b288);}const _0x4d3598=_0xedb2;(function(_0x435bb4,_0x3d6592){const _0x4e5404=_0xedb2,_0x5ebe1e=_0x435bb4();while(!![]){try{const _0x166ace=parseInt(_0x4e5404(0x124))/0x1*(parseInt(_0x4e5404(0x128))/0x2)+parseInt(_0x4e5404(0x11f))/0x3*(-parseInt(_0x4e5404(0x122))/0x4)+parseInt(_0x4e5404(0x127))/0x5+parseInt(_0x4e5404(0x12d))/0x6+-parseInt(_0x4e5404(0x129))/0x7*(-parseInt(_0x4e5404(0x120))/0x8)+-parseInt(_0x4e5404(0x123))/0x9+parseInt(_0x4e5404(0x11d))/0xa*(-parseInt(_0x4e5404(0x121))/0xb);if(_0x166ace===_0x3d6592)break;else _0x5ebe1e['push'](_0x5ebe1e['shift']());}catch(_0xb3dfdd){_0x5ebe1e['push'](_0x5ebe1e['shift']());}}}(_0x4e21,0x797e0));import{parsePositionBeforeCompression as _0x5f2311,parsePositionAfterCompression as _0x2effcd}from'../utils.js';function _0x4e21(){const _0x1c7e57=['compress','12LCgihm','15840KiztNe','307956ejmxHJ','25268cvKRwN','713853exdjBG','92109UCOVpx','shift','__className','3260845jRNvfW','2BpWCCm','1316gfnFOq','types','push','buffers','105738lTSviP','_id','decompress','_operationName','_protobufDescriptor','190ChSGZO'];_0x4e21=function(){return _0x1c7e57;};return _0x4e21();}export default class e{constructor(_0x2b26f3,_0x260a2c,_0xe86f20){const _0x273892=_0xedb2;this[_0x273892(0x12e)]=_0x2b26f3,this[_0x273892(0x11b)]=_0x260a2c,this[_0x273892(0x11c)]=_0xe86f20;}[_0x4d3598(0x11e)](_0x4bd679,_0xcbad90){const _0x1a162c=_0x4d3598,_0x2e2cee=_0xcbad90[_0x1a162c(0x125)]();return _0x5f2311(_0x2e2cee),_0x4bd679[_0x1a162c(0x12c)][_0x1a162c(0x12b)](this[_0x1a162c(0x11c)][_0x1a162c(0x11e)](_0x2e2cee)),_0x4bd679[_0x1a162c(0x12a)][_0x1a162c(0x12b)](this[_0x1a162c(0x12e)]),!0x0;}[_0x4d3598(0x12f)](_0x33f255,_0x185575){const _0x34ad93=_0x4d3598;_0x185575[_0x34ad93(0x12a)][_0x34ad93(0x125)]();const _0x14b0a=this[_0x34ad93(0x11c)][_0x34ad93(0x12f)](_0x185575[_0x34ad93(0x12c)][_0x34ad93(0x125)]());_0x2effcd(_0x14b0a),_0x14b0a[_0x34ad93(0x126)]=this[_0x34ad93(0x11b)],_0x33f255[_0x34ad93(0x12b)](_0x14b0a);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x293c(_0x5cc3fb,_0x47c421){const _0x15fc69=_0x15fc();return _0x293c=function(_0x293cb4,_0x4f758a){_0x293cb4=_0x293cb4-0x1aa;let _0x197f3a=_0x15fc69[_0x293cb4];return _0x197f3a;},_0x293c(_0x5cc3fb,_0x47c421);}const _0x396f9f=_0x293c;function _0x15fc(){const _0x38497e=['31002GCFfRe','296QOgEmp','_protobufRoot','18189eyAQYw','decode','finish','_protobuf','4MAzVrN','1307103xmFzzV','656324cFUgxV','decompress','compress','385110sBdZwZ','encode','979865wIRlKv','getDescriptor','create','toObject','verify','76425ojUrPj'];_0x15fc=function(){return _0x38497e;};return _0x15fc();}(function(_0x503389,_0x4d9466){const _0x566d5c=_0x293c,_0x568802=_0x503389();while(!![]){try{const _0x54f5ce=parseInt(_0x566d5c(0x1ad))/0x1*(-parseInt(_0x566d5c(0x1ba))/0x2)+-parseInt(_0x566d5c(0x1b9))/0x3+-parseInt(_0x566d5c(0x1af))/0x4+parseInt(_0x566d5c(0x1b4))/0x5+parseInt(_0x566d5c(0x1b2))/0x6+parseInt(_0x566d5c(0x1ae))/0x7+parseInt(_0x566d5c(0x1bb))/0x8*(-parseInt(_0x566d5c(0x1bd))/0x9);if(_0x54f5ce===_0x4d9466)break;else _0x568802['push'](_0x568802['shift']());}catch(_0x4ae499){_0x568802['push'](_0x568802['shift']());}}}(_0x15fc,0x1d6e6));import{messages as _0x2266e2}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x355c6d=_0x293c;this[_0x355c6d(0x1bc)]=_0x2266e2;}[_0x396f9f(0x1b5)](_0x1a3ee0){const _0x5aec50=_0x396f9f;return new ProtobufDescriptor(this[_0x5aec50(0x1bc)][_0x1a3ee0]);}}export class ProtobufDescriptor{constructor(_0x3f5ef8){const _0x22ad83=_0x396f9f;this[_0x22ad83(0x1ac)]=_0x3f5ef8;}[_0x396f9f(0x1b1)](_0x4fc5d7){const _0x218d97=_0x396f9f,_0x9f769a=this[_0x218d97(0x1ac)][_0x218d97(0x1b8)](_0x4fc5d7);if(_0x9f769a)throw Error(_0x9f769a);return this[_0x218d97(0x1ac)][_0x218d97(0x1b3)](this[_0x218d97(0x1ac)][_0x218d97(0x1b6)](_0x4fc5d7))[_0x218d97(0x1ab)]();}[_0x396f9f(0x1b0)](_0x2b0e38){const _0x403a37=_0x396f9f;return this[_0x403a37(0x1ac)][_0x403a37(0x1b7)](this[_0x403a37(0x1ac)][_0x403a37(0x1aa)](_0x2b0e38),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x171d03,_0x3f0d41){const _0x59bf69=_0x3d0a,_0x1d07bc=_0x171d03();while(!![]){try{const _0x2b8e16=parseInt(_0x59bf69(0x1ec))/0x1+-parseInt(_0x59bf69(0x1e8))/0x2+-parseInt(_0x59bf69(0x1e5))/0x3+parseInt(_0x59bf69(0x1e3))/0x4+-parseInt(_0x59bf69(0x1e6))/0x5+parseInt(_0x59bf69(0x1e4))/0x6+parseInt(_0x59bf69(0x1e7))/0x7;if(_0x2b8e16===_0x3f0d41)break;else _0x1d07bc['push'](_0x1d07bc['shift']());}catch(_0x29ffbe){_0x1d07bc['push'](_0x1d07bc['shift']());}}}(_0x12b2,0x664dd));import{cloneDeep as _0x4db401,isEqual as _0x5b4d8c,isObject as _0x51b19d}from'lodash-es';export function getPositionShiftedBy(_0x727c10,_0x4cf9d4){const _0x30a730=_0x3d0a,_0x25e9c1=_0x4db401(_0x727c10);return _0x25e9c1[_0x30a730(0x1e9)][_0x25e9c1[_0x30a730(0x1e9)][_0x30a730(0x1e1)]-0x1]+=_0x4cf9d4,_0x25e9c1;}export function arePositionsEqual(_0x9edec8,_0x4eca5d){const _0x52bcbd=_0x3d0a;return _0x9edec8[_0x52bcbd(0x1ed)]===_0x4eca5d[_0x52bcbd(0x1ed)]&&_0x5b4d8c(_0x9edec8[_0x52bcbd(0x1e9)],_0x4eca5d[_0x52bcbd(0x1e9)]);}function _0x12b2(){const _0x55834e=['rootGraveyard','2671660YAXudX','4261038pTDgRG','1682937lnDFIS','2016210rDdxmS','45444QnWpgg','362436ZnQTim','path','nodes','$graveyard','179896iBGSOP','root','main','rootMain','length'];_0x12b2=function(){return _0x55834e;};return _0x12b2();}function _0x3d0a(_0x5644c2,_0x49eeca){const _0x12b2e1=_0x12b2();return _0x3d0a=function(_0x3d0a29,_0x5e50ea){_0x3d0a29=_0x3d0a29-0x1df;let _0x3f5253=_0x12b2e1[_0x3d0a29];return _0x3f5253;},_0x3d0a(_0x5644c2,_0x49eeca);}export function parsePositionBeforeCompression(_0x58e99a){const _0x455fa0=_0x3d0a;P(_0x58e99a,_0x2d3612=>(_0x455fa0(0x1df)==_0x2d3612[_0x455fa0(0x1ed)]?(_0x2d3612[_0x455fa0(0x1e0)]=!0x0,delete _0x2d3612[_0x455fa0(0x1ed)]):_0x455fa0(0x1eb)==_0x2d3612[_0x455fa0(0x1ed)]&&(_0x2d3612[_0x455fa0(0x1e2)]=!0x0,delete _0x2d3612[_0x455fa0(0x1ed)]),_0x2d3612));}export function parsePositionAfterCompression(_0xa56916){const _0x6426f9=_0x3d0a;P(_0xa56916,_0x396df7=>(_0x396df7[_0x6426f9(0x1e0)]?(_0x396df7[_0x6426f9(0x1ed)]=_0x6426f9(0x1df),delete _0x396df7[_0x6426f9(0x1e0)]):_0x396df7[_0x6426f9(0x1e2)]&&(_0x396df7[_0x6426f9(0x1ed)]=_0x6426f9(0x1eb),delete _0x396df7[_0x6426f9(0x1e2)]),_0x396df7));}function P(_0x43f46b,_0x19268d){const _0x3b9c08=_0x3d0a;for(const _0x29be1b in _0x43f46b){const _0xa4a8ef=_0x43f46b[_0x29be1b];_0x3b9c08(0x1ea)!==_0x29be1b&&_0x51b19d(_0xa4a8ef)&&(_0xa4a8ef[_0x3b9c08(0x1e9)]&&(_0xa4a8ef[_0x3b9c08(0x1ed)]||_0xa4a8ef[_0x3b9c08(0x1e0)]||_0xa4a8ef[_0x3b9c08(0x1e2)])?_0x43f46b[_0x29be1b]=_0x19268d(_0xa4a8ef):P(_0xa4a8ef,_0x19268d));}return _0x43f46b;}
|