@ckeditor/ckeditor5-operations-compressor 43.0.0-alpha.5 → 43.0.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/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
|
-
|
|
23
|
+
function _0x11c1(){var _0x399165=['shift','255038aFQOWi','17370WqxnVb','45JaZDIS','types','637212wEWGel','decompress','compress','push','81064gExOWx','_operationName','916288XoCeLQ','188839GEvija','16HbSzRE','_id','2964186YqPeEt'];_0x11c1=function(){return _0x399165;};return _0x11c1();}var _0x4a79bc=_0x3d16;(function(_0x44759e,_0x246408){var _0xb2a179=_0x3d16,_0x196e19=_0x44759e();while(!![]){try{var _0x4da08e=parseInt(_0xb2a179(0x17b))/0x1+parseInt(_0xb2a179(0x173))/0x2+-parseInt(_0xb2a179(0x177))/0x3+-parseInt(_0xb2a179(0x17d))/0x4+-parseInt(_0xb2a179(0x175))/0x5*(parseInt(_0xb2a179(0x174))/0x6)+parseInt(_0xb2a179(0x17e))/0x7*(parseInt(_0xb2a179(0x17f))/0x8)+parseInt(_0xb2a179(0x181))/0x9;if(_0x4da08e===_0x246408)break;else _0x196e19['push'](_0x196e19['shift']());}catch(_0x37b740){_0x196e19['push'](_0x196e19['shift']());}}}(_0x11c1,0x1e5c8));function _0x3d16(_0x13b4c5,_0x59d9d9){var _0x11c172=_0x11c1();return _0x3d16=function(_0x3d165e,_0x54787b){_0x3d165e=_0x3d165e-0x173;var _0x159c61=_0x11c172[_0x3d165e];return _0x159c61;},_0x3d16(_0x13b4c5,_0x59d9d9);}import _0x1f2ddf from'./operationcompressor.js';export default class p extends _0x1f2ddf{[_0x4a79bc(0x179)](_0x4f0b85,_0x83ce1b){var _0x40a872=_0x4a79bc;return _0x83ce1b[_0x40a872(0x182)](),_0x4f0b85[_0x40a872(0x176)][_0x40a872(0x17a)](this[_0x40a872(0x180)]),!0x0;}[_0x4a79bc(0x178)](_0x53353b,_0x196779){var _0x5eb46d=_0x4a79bc;_0x196779[_0x5eb46d(0x176)][_0x5eb46d(0x182)](),_0x53353b[_0x5eb46d(0x17a)]({'__className':this[_0x5eb46d(0x17c)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20a69a=_0x44cc;(function(_0x272afe,_0x57df3a){const _0x4ff2a1=_0x44cc,_0x12d398=_0x272afe();while(!![]){try{const _0x5802c8=-parseInt(_0x4ff2a1(0x114))/0x1+parseInt(_0x4ff2a1(0x116))/0x2+parseInt(_0x4ff2a1(0x10b))/0x3*(parseInt(_0x4ff2a1(0x10a))/0x4)+-parseInt(_0x4ff2a1(0x118))/0x5*(-parseInt(_0x4ff2a1(0x115))/0x6)+parseInt(_0x4ff2a1(0x111))/0x7+parseInt(_0x4ff2a1(0x113))/0x8+-parseInt(_0x4ff2a1(0x117))/0x9;if(_0x5802c8===_0x57df3a)break;else _0x12d398['push'](_0x12d398['shift']());}catch(_0x56378b){_0x12d398['push'](_0x12d398['shift']());}}}(_0x4136,0x96ef1));function _0x4136(){const _0x5a17fd=['buffers','compress','2494814obmtJE','decompress','4283128xxethP','917816dcYDOl','10218gJYBhi','1561390XyMxTR','10315161HGGWma','2790SlGtWU','shift','__className','_operationName','types','5056SJYbGV','141cOBZBy','_id','_protobufDescriptor','push'];_0x4136=function(){return _0x5a17fd;};return _0x4136();}function _0x44cc(_0x4024aa,_0x4bf360){const _0x4136ae=_0x4136();return _0x44cc=function(_0x44cc65,_0x262115){_0x44cc65=_0x44cc65-0x108;let _0x3f4361=_0x4136ae[_0x44cc65];return _0x3f4361;},_0x44cc(_0x4024aa,_0x4bf360);}import{parsePositionBeforeCompression as _0x16cb91,parsePositionAfterCompression as _0x135814}from'../utils.js';export default class e{constructor(_0x395339,_0x375bbe,_0x201994){const _0x21f630=_0x44cc;this[_0x21f630(0x10c)]=_0x395339,this[_0x21f630(0x108)]=_0x375bbe,this[_0x21f630(0x10d)]=_0x201994;}[_0x20a69a(0x110)](_0x3695b6,_0x79d92){const _0x365b8c=_0x20a69a,_0x2b0cbb=_0x79d92[_0x365b8c(0x119)]();return _0x16cb91(_0x2b0cbb),_0x3695b6[_0x365b8c(0x10f)][_0x365b8c(0x10e)](this[_0x365b8c(0x10d)][_0x365b8c(0x110)](_0x2b0cbb)),_0x3695b6[_0x365b8c(0x109)][_0x365b8c(0x10e)](this[_0x365b8c(0x10c)]),!0x0;}[_0x20a69a(0x112)](_0x38b958,_0x3526a0){const _0xe2efe2=_0x20a69a;_0x3526a0[_0xe2efe2(0x109)][_0xe2efe2(0x119)]();const _0x3b20d6=this[_0xe2efe2(0x10d)][_0xe2efe2(0x112)](_0x3526a0[_0xe2efe2(0x10f)][_0xe2efe2(0x119)]());_0x135814(_0x3b20d6),_0x3b20d6[_0xe2efe2(0x11a)]=this[_0xe2efe2(0x108)],_0x38b958[_0xe2efe2(0x10e)](_0x3b20d6);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x594c(_0x28d3ef,_0xc4bbb6){const _0x597233=_0x5972();return _0x594c=function(_0x594c79,_0x476b8a){_0x594c79=_0x594c79-0x14e;let _0x4b2efc=_0x597233[_0x594c79];return _0x4b2efc;},_0x594c(_0x28d3ef,_0xc4bbb6);}const _0x4217cf=_0x594c;function _0x5972(){const _0x3836fa=['create','278XbubGE','compress','80046nNCCvK','_protobuf','encode','decompress','189ZYBjkL','1085412TTCvbT','108020FMfiif','44XziPUN','finish','2498TTqvAh','285IMJbYC','2809232Pnxbfl','108DiPfTJ','verify','_protobufRoot','getDescriptor','15292VuEggL','decode','toObject','63730zURyjz'];_0x5972=function(){return _0x3836fa;};return _0x5972();}(function(_0x1a5cf8,_0x5d45be){const _0x133c9a=_0x594c,_0x4c5301=_0x1a5cf8();while(!![]){try{const _0x21f764=parseInt(_0x133c9a(0x153))/0x1*(parseInt(_0x133c9a(0x15f))/0x2)+-parseInt(_0x133c9a(0x154))/0x3*(-parseInt(_0x133c9a(0x15a))/0x4)+-parseInt(_0x133c9a(0x15d))/0x5+parseInt(_0x133c9a(0x161))/0x6*(-parseInt(_0x133c9a(0x14e))/0x7)+parseInt(_0x133c9a(0x155))/0x8+-parseInt(_0x133c9a(0x156))/0x9*(parseInt(_0x133c9a(0x150))/0xa)+parseInt(_0x133c9a(0x151))/0xb*(-parseInt(_0x133c9a(0x14f))/0xc);if(_0x21f764===_0x5d45be)break;else _0x4c5301['push'](_0x4c5301['shift']());}catch(_0x15e4d4){_0x4c5301['push'](_0x4c5301['shift']());}}}(_0x5972,0x3023c));import{messages as _0x4b6dbe}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x18ec57=_0x594c;this[_0x18ec57(0x158)]=_0x4b6dbe;}[_0x4217cf(0x159)](_0x2c64bd){const _0x5884ba=_0x4217cf;return new ProtobufDescriptor(this[_0x5884ba(0x158)][_0x2c64bd]);}}export class ProtobufDescriptor{constructor(_0x5e86dd){const _0x8333c8=_0x4217cf;this[_0x8333c8(0x162)]=_0x5e86dd;}[_0x4217cf(0x160)](_0x522a0d){const _0x38ffcf=_0x4217cf,_0x1063a8=this[_0x38ffcf(0x162)][_0x38ffcf(0x157)](_0x522a0d);if(_0x1063a8)throw Error(_0x1063a8);return this[_0x38ffcf(0x162)][_0x38ffcf(0x163)](this[_0x38ffcf(0x162)][_0x38ffcf(0x15e)](_0x522a0d))[_0x38ffcf(0x152)]();}[_0x4217cf(0x164)](_0xdfceb){const _0x57eda3=_0x4217cf;return this[_0x57eda3(0x162)][_0x57eda3(0x15c)](this[_0x57eda3(0x162)][_0x57eda3(0x15b)](_0xdfceb),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x34ac(_0x350850,_0x5ecedd){const _0x56df64=_0x56df();return _0x34ac=function(_0x34acac,_0xf24303){_0x34acac=_0x34acac-0x1d6;let _0x1f5fd6=_0x56df64[_0x34acac];return _0x1f5fd6;},_0x34ac(_0x350850,_0x5ecedd);}function _0x56df(){const _0x91a5f8=['3543NgzDkK','rootMain','main','14203demLbz','15050NwXRZS','root','1354100hYZBjq','1179Ijuygb','nodes','34032utsmMu','10XKnNno','2340SxoxWF','568cJKXPk','rootGraveyard','length','path','$graveyard','9242035OtLvwE','1092324fpFVdI'];_0x56df=function(){return _0x91a5f8;};return _0x56df();}(function(_0x49efd5,_0x21bce1){const _0x5ad571=_0x34ac,_0x2faad8=_0x49efd5();while(!![]){try{const _0x95defb=parseInt(_0x5ad571(0x1e6))/0x1*(-parseInt(_0x5ad571(0x1e5))/0x2)+-parseInt(_0x5ad571(0x1dc))/0x3*(parseInt(_0x5ad571(0x1e7))/0x4)+parseInt(_0x5ad571(0x1e2))/0x5+-parseInt(_0x5ad571(0x1db))/0x6+parseInt(_0x5ad571(0x1df))/0x7*(parseInt(_0x5ad571(0x1e8))/0x8)+-parseInt(_0x5ad571(0x1e3))/0x9*(-parseInt(_0x5ad571(0x1e0))/0xa)+parseInt(_0x5ad571(0x1da))/0xb;if(_0x95defb===_0x21bce1)break;else _0x2faad8['push'](_0x2faad8['shift']());}catch(_0x36142e){_0x2faad8['push'](_0x2faad8['shift']());}}}(_0x56df,0x63e20));import{cloneDeep as _0x19909f,isEqual as _0x9ba02c,isObject as _0x5613f3}from'lodash-es';export function getPositionShiftedBy(_0x317ac2,_0x3e8358){const _0x53e769=_0x34ac,_0x41a2e0=_0x19909f(_0x317ac2);return _0x41a2e0[_0x53e769(0x1d8)][_0x41a2e0[_0x53e769(0x1d8)][_0x53e769(0x1d7)]-0x1]+=_0x3e8358,_0x41a2e0;}export function arePositionsEqual(_0xdbb24e,_0x331d06){const _0x34ecf9=_0x34ac;return _0xdbb24e[_0x34ecf9(0x1e1)]===_0x331d06[_0x34ecf9(0x1e1)]&&_0x9ba02c(_0xdbb24e[_0x34ecf9(0x1d8)],_0x331d06[_0x34ecf9(0x1d8)]);}export function parsePositionBeforeCompression(_0x14b91e){const _0x76f7a9=_0x34ac;P(_0x14b91e,_0x2a5e78=>(_0x76f7a9(0x1de)==_0x2a5e78[_0x76f7a9(0x1e1)]?(_0x2a5e78[_0x76f7a9(0x1dd)]=!0x0,delete _0x2a5e78[_0x76f7a9(0x1e1)]):_0x76f7a9(0x1d9)==_0x2a5e78[_0x76f7a9(0x1e1)]&&(_0x2a5e78[_0x76f7a9(0x1d6)]=!0x0,delete _0x2a5e78[_0x76f7a9(0x1e1)]),_0x2a5e78));}export function parsePositionAfterCompression(_0xa8b690){const _0x28c0ad=_0x34ac;P(_0xa8b690,_0x15be0a=>(_0x15be0a[_0x28c0ad(0x1dd)]?(_0x15be0a[_0x28c0ad(0x1e1)]=_0x28c0ad(0x1de),delete _0x15be0a[_0x28c0ad(0x1dd)]):_0x15be0a[_0x28c0ad(0x1d6)]&&(_0x15be0a[_0x28c0ad(0x1e1)]=_0x28c0ad(0x1d9),delete _0x15be0a[_0x28c0ad(0x1d6)]),_0x15be0a));}function P(_0x868e60,_0xe3156d){const _0x489e1d=_0x34ac;for(const _0x5a7897 in _0x868e60){const _0x255b49=_0x868e60[_0x5a7897];_0x489e1d(0x1e4)!==_0x5a7897&&_0x5613f3(_0x255b49)&&(_0x255b49[_0x489e1d(0x1d8)]&&(_0x255b49[_0x489e1d(0x1e1)]||_0x255b49[_0x489e1d(0x1dd)]||_0x255b49[_0x489e1d(0x1d6)])?_0x868e60[_0x5a7897]=_0xe3156d(_0x255b49):P(_0x255b49,_0xe3156d));}return _0x868e60;}
|