@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.6 → 42.0.0-alpha.7
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 +2 -2
- 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 _0x463987=_0x1880;(function(_0x1305e5,_0x238eb0){var _0x381882=_0x1880,_0x45e49a=_0x1305e5();while(!![]){try{var _0x53dc6f=-parseInt(_0x381882(0x111))/0x1*(-parseInt(_0x381882(0x118))/0x2)+-parseInt(_0x381882(0x11a))/0x3+parseInt(_0x381882(0x117))/0x4+-parseInt(_0x381882(0x115))/0x5*(parseInt(_0x381882(0x121))/0x6)+parseInt(_0x381882(0x114))/0x7*(parseInt(_0x381882(0x119))/0x8)+-parseInt(_0x381882(0x116))/0x9*(-parseInt(_0x381882(0x120))/0xa)+-parseInt(_0x381882(0x112))/0xb;if(_0x53dc6f===_0x238eb0)break;else _0x45e49a['push'](_0x45e49a['shift']());}catch(_0x2f680b){_0x45e49a['push'](_0x45e49a['shift']());}}}(_0x5b74,0x4020b));import _0x32e22c from'./operationcompressor.js';export default class p extends _0x32e22c{[_0x463987(0x122)](_0x4727f8,_0x526395){var _0x22df26=_0x463987;return _0x526395[_0x22df26(0x11b)](),_0x4727f8[_0x22df26(0x11c)][_0x22df26(0x11e)](this[_0x22df26(0x11d)]),!0x0;}[_0x463987(0x113)](_0x196a4f,_0x553330){var _0x27c9e5=_0x463987;_0x553330[_0x27c9e5(0x11c)][_0x27c9e5(0x11b)](),_0x196a4f[_0x27c9e5(0x11e)]({'__className':this[_0x27c9e5(0x11f)]});}}function _0x1880(_0x818365,_0x52ab6f){var _0x5b7433=_0x5b74();return _0x1880=function(_0x188042,_0x12597b){_0x188042=_0x188042-0x111;var _0x5d17ea=_0x5b7433[_0x188042];return _0x5d17ea;},_0x1880(_0x818365,_0x52ab6f);}function _0x5b74(){var _0x1943a2=['7ZQyGgT','7404738FIJgIi','decompress','35jVUAdL','10ACZxzK','45ZbEtGK','1924840OwfIGZ','126748SjjbVz','94376sDWuaO','1218750lxjqgN','shift','types','_id','push','_operationName','1021040hHysIO','456774ERWeGd','compress'];_0x5b74=function(){return _0x1943a2;};return _0x5b74();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x17f4(_0x3e5441,_0x11d539){const _0x227ebe=_0x227e();return _0x17f4=function(_0x17f432,_0x4f603f){_0x17f432=_0x17f432-0x1dd;let _0x75a714=_0x227ebe[_0x17f432];return _0x75a714;},_0x17f4(_0x3e5441,_0x11d539);}const _0x96a9f7=_0x17f4;function _0x227e(){const _0x2884bc=['550285OHnpKT','_protobufDescriptor','types','push','_id','__className','7815980bHLSwn','_operationName','9yWLHho','compress','126166RBvLJx','93306rUHLmD','buffers','7wayrGf','424375fZzpWO','decompress','16rxDKlr','shift','2741864fogrTM','2856042aUYARE'];_0x227e=function(){return _0x2884bc;};return _0x227e();}(function(_0x9dbb6b,_0x3bb05b){const _0x37f2b3=_0x17f4,_0x16a3a6=_0x9dbb6b();while(!![]){try{const _0x193a0f=parseInt(_0x37f2b3(0x1dd))/0x1+-parseInt(_0x37f2b3(0x1ed))/0x2*(-parseInt(_0x37f2b3(0x1eb))/0x3)+-parseInt(_0x37f2b3(0x1df))/0x4*(-parseInt(_0x37f2b3(0x1e3))/0x5)+-parseInt(_0x37f2b3(0x1ee))/0x6+parseInt(_0x37f2b3(0x1f0))/0x7*(-parseInt(_0x37f2b3(0x1e1))/0x8)+parseInt(_0x37f2b3(0x1e2))/0x9+-parseInt(_0x37f2b3(0x1e9))/0xa;if(_0x193a0f===_0x3bb05b)break;else _0x16a3a6['push'](_0x16a3a6['shift']());}catch(_0x18d9e1){_0x16a3a6['push'](_0x16a3a6['shift']());}}}(_0x227e,0x3878c));import{parsePositionBeforeCompression as _0xe0ee5a,parsePositionAfterCompression as _0x9ab990}from'../utils.js';export default class e{constructor(_0x436dc9,_0x59e7c1,_0x1e85d6){const _0x33208c=_0x17f4;this[_0x33208c(0x1e7)]=_0x436dc9,this[_0x33208c(0x1ea)]=_0x59e7c1,this[_0x33208c(0x1e4)]=_0x1e85d6;}[_0x96a9f7(0x1ec)](_0x4b922f,_0x55b79a){const _0x32b445=_0x96a9f7,_0x4c5973=_0x55b79a[_0x32b445(0x1e0)]();return _0xe0ee5a(_0x4c5973),_0x4b922f[_0x32b445(0x1ef)][_0x32b445(0x1e6)](this[_0x32b445(0x1e4)][_0x32b445(0x1ec)](_0x4c5973)),_0x4b922f[_0x32b445(0x1e5)][_0x32b445(0x1e6)](this[_0x32b445(0x1e7)]),!0x0;}[_0x96a9f7(0x1de)](_0x2267ed,_0x35229e){const _0x573b30=_0x96a9f7;_0x35229e[_0x573b30(0x1e5)][_0x573b30(0x1e0)]();const _0xedb17=this[_0x573b30(0x1e4)][_0x573b30(0x1de)](_0x35229e[_0x573b30(0x1ef)][_0x573b30(0x1e0)]());_0x9ab990(_0xedb17),_0xedb17[_0x573b30(0x1e8)]=this[_0x573b30(0x1ea)],_0x2267ed[_0x573b30(0x1e6)](_0xedb17);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x49a7(_0x43a385,_0x225b82){const _0x5c2cb5=_0x5c2c();return _0x49a7=function(_0x49a71f,_0x25806a){_0x49a71f=_0x49a71f-0xd9;let _0x48a9f0=_0x5c2cb5[_0x49a71f];return _0x48a9f0;},_0x49a7(_0x43a385,_0x225b82);}const _0x2d9447=_0x49a7;function _0x5c2c(){const _0x362e36=['6EDXVNU','3852583aovIVx','1462101zWZCRH','finish','verify','2667935xwHzWd','decompress','_protobuf','4866472FgGovj','compress','160851XQblMW','toObject','6TuZJho','1799052tNSTok','36685RDNMWI','9oZkNIK','_protobufRoot','decode','getDescriptor','create','encode','1430oYQooN'];_0x5c2c=function(){return _0x362e36;};return _0x5c2c();}(function(_0x211036,_0x3da453){const _0x25668=_0x49a7,_0x198472=_0x211036();while(!![]){try{const _0x6ab8e=parseInt(_0x25668(0xdd))/0x1*(parseInt(_0x25668(0xdf))/0x2)+-parseInt(_0x25668(0xeb))/0x3+parseInt(_0x25668(0xe0))/0x4+parseInt(_0x25668(0xee))/0x5*(-parseInt(_0x25668(0xe9))/0x6)+parseInt(_0x25668(0xea))/0x7+parseInt(_0x25668(0xdb))/0x8*(-parseInt(_0x25668(0xe2))/0x9)+parseInt(_0x25668(0xe8))/0xa*(parseInt(_0x25668(0xe1))/0xb);if(_0x6ab8e===_0x3da453)break;else _0x198472['push'](_0x198472['shift']());}catch(_0xad40a3){_0x198472['push'](_0x198472['shift']());}}}(_0x5c2c,0x50a57));import{messages as _0x3bb87a}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x23b60e=_0x49a7;this[_0x23b60e(0xe3)]=_0x3bb87a;}[_0x2d9447(0xe5)](_0xc02bd4){const _0x4841cc=_0x2d9447;return new ProtobufDescriptor(this[_0x4841cc(0xe3)][_0xc02bd4]);}}export class ProtobufDescriptor{constructor(_0x3ed188){const _0x4435fd=_0x2d9447;this[_0x4435fd(0xda)]=_0x3ed188;}[_0x2d9447(0xdc)](_0x470c3b){const _0x1d7a3c=_0x2d9447,_0x4d3bf9=this[_0x1d7a3c(0xda)][_0x1d7a3c(0xed)](_0x470c3b);if(_0x4d3bf9)throw Error(_0x4d3bf9);return this[_0x1d7a3c(0xda)][_0x1d7a3c(0xe7)](this[_0x1d7a3c(0xda)][_0x1d7a3c(0xe6)](_0x470c3b))[_0x1d7a3c(0xec)]();}[_0x2d9447(0xd9)](_0x48d747){const _0x2ad24d=_0x2d9447;return this[_0x2ad24d(0xda)][_0x2ad24d(0xde)](this[_0x2ad24d(0xda)][_0x2ad24d(0xe4)](_0x48d747),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3b1a77,_0x3cee50){const _0x356841=_0x11d4,_0x1c6447=_0x3b1a77();while(!![]){try{const _0x4b3e9c=-parseInt(_0x356841(0x112))/0x1+parseInt(_0x356841(0x10f))/0x2+parseInt(_0x356841(0x116))/0x3*(parseInt(_0x356841(0x108))/0x4)+-parseInt(_0x356841(0x117))/0x5*(parseInt(_0x356841(0x10a))/0x6)+parseInt(_0x356841(0x114))/0x7+parseInt(_0x356841(0x106))/0x8*(parseInt(_0x356841(0x109))/0x9)+-parseInt(_0x356841(0x10b))/0xa*(parseInt(_0x356841(0x10d))/0xb);if(_0x4b3e9c===_0x3cee50)break;else _0x1c6447['push'](_0x1c6447['shift']());}catch(_0x3f45fc){_0x1c6447['push'](_0x1c6447['shift']());}}}(_0x3f38,0x994ea));import{cloneDeep as _0x191670,isEqual as _0x127c64,isObject as _0x50fcef}from'lodash-es';function _0x3f38(){const _0x4d3ce8=['$graveyard','90280maooGE','nodes','path','477616OnIPot','rootMain','7804699yTaQts','length','3285HclGGv','384165GxFBBN','root','69208JilmaS','rootGraveyard','3028SNvYhi','1161NoirtI','42QtTPph','20lseSxw','main','8038789akrlyg'];_0x3f38=function(){return _0x4d3ce8;};return _0x3f38();}export function getPositionShiftedBy(_0x343291,_0x1dc3ec){const _0xc11c1f=_0x11d4,_0x3c4b6d=_0x191670(_0x343291);return _0x3c4b6d[_0xc11c1f(0x111)][_0x3c4b6d[_0xc11c1f(0x111)][_0xc11c1f(0x115)]-0x1]+=_0x1dc3ec,_0x3c4b6d;}function _0x11d4(_0x532c61,_0xd21f9c){const _0x3f3870=_0x3f38();return _0x11d4=function(_0x11d443,_0x53ba21){_0x11d443=_0x11d443-0x105;let _0x45e56f=_0x3f3870[_0x11d443];return _0x45e56f;},_0x11d4(_0x532c61,_0xd21f9c);}export function arePositionsEqual(_0xdb95fa,_0x1c4340){const _0x2fe83d=_0x11d4;return _0xdb95fa[_0x2fe83d(0x105)]===_0x1c4340[_0x2fe83d(0x105)]&&_0x127c64(_0xdb95fa[_0x2fe83d(0x111)],_0x1c4340[_0x2fe83d(0x111)]);}export function parsePositionBeforeCompression(_0x5d16d0){const _0x42317f=_0x11d4;P(_0x5d16d0,_0x1e5947=>(_0x42317f(0x10c)==_0x1e5947[_0x42317f(0x105)]?(_0x1e5947[_0x42317f(0x113)]=!0x0,delete _0x1e5947[_0x42317f(0x105)]):_0x42317f(0x10e)==_0x1e5947[_0x42317f(0x105)]&&(_0x1e5947[_0x42317f(0x107)]=!0x0,delete _0x1e5947[_0x42317f(0x105)]),_0x1e5947));}export function parsePositionAfterCompression(_0x46b28a){const _0x58826b=_0x11d4;P(_0x46b28a,_0x20fc92=>(_0x20fc92[_0x58826b(0x113)]?(_0x20fc92[_0x58826b(0x105)]=_0x58826b(0x10c),delete _0x20fc92[_0x58826b(0x113)]):_0x20fc92[_0x58826b(0x107)]&&(_0x20fc92[_0x58826b(0x105)]=_0x58826b(0x10e),delete _0x20fc92[_0x58826b(0x107)]),_0x20fc92));}function P(_0x1b79c5,_0x51aea0){const _0x3765b0=_0x11d4;for(const _0x1e106c in _0x1b79c5){const _0xbb8980=_0x1b79c5[_0x1e106c];_0x3765b0(0x110)!==_0x1e106c&&_0x50fcef(_0xbb8980)&&(_0xbb8980[_0x3765b0(0x111)]&&(_0xbb8980[_0x3765b0(0x105)]||_0xbb8980[_0x3765b0(0x113)]||_0xbb8980[_0x3765b0(0x107)])?_0x1b79c5[_0x1e106c]=_0x51aea0(_0xbb8980):P(_0xbb8980,_0x51aea0));}return _0x1b79c5;}
|