@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.0 → 42.0.0-alpha.2
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
|
-
const
|
|
23
|
+
const _0x1e3ac2=_0x514f;(function(_0x14ba35,_0x36765f){const _0x4e6e39=_0x514f,_0xf81b16=_0x14ba35();while(!![]){try{const _0x2f05cd=parseInt(_0x4e6e39(0xa6))/0x1+parseInt(_0x4e6e39(0xa0))/0x2+-parseInt(_0x4e6e39(0xa1))/0x3*(parseInt(_0x4e6e39(0xa7))/0x4)+parseInt(_0x4e6e39(0x9e))/0x5*(-parseInt(_0x4e6e39(0x9f))/0x6)+parseInt(_0x4e6e39(0x9d))/0x7+-parseInt(_0x4e6e39(0x9b))/0x8+-parseInt(_0x4e6e39(0xa2))/0x9*(-parseInt(_0x4e6e39(0x9c))/0xa);if(_0x2f05cd===_0x36765f)break;else _0xf81b16['push'](_0xf81b16['shift']());}catch(_0x5ed09c){_0xf81b16['push'](_0xf81b16['shift']());}}}(_0x5463,0x9a061));import _0x4f0a1c from'./operationcompressor.js';function _0x5463(){const _0x3476ed=['oldRange','decompress','newRange','268386Alwwlx','128252NTXHEu','length','8585856pDPPwf','92990YvnJkq','2403058Jpeckb','10745xgIdlE','1494hZXBpT','2516208vFXPcg','42RNJqlK','792YgLUNT'];_0x5463=function(){return _0x3476ed;};return _0x5463();}function _0x514f(_0x3a50c7,_0x3e070e){const _0x546342=_0x5463();return _0x514f=function(_0x514f8a,_0x1bb8eb){_0x514f8a=_0x514f8a-0x9a;let _0x24eccc=_0x546342[_0x514f8a];return _0x24eccc;},_0x514f(_0x3a50c7,_0x3e070e);}export default class n extends _0x4f0a1c{[_0x1e3ac2(0xa4)](_0x3a9d92,_0x22b2c8){const _0x3fa4cc=_0x1e3ac2;super[_0x3fa4cc(0xa4)](_0x3a9d92,_0x22b2c8);const _0x510c1e=_0x3a9d92[_0x3a9d92[_0x3fa4cc(0x9a)]-0x1];_0x510c1e[_0x3fa4cc(0xa3)]||(_0x510c1e[_0x3fa4cc(0xa3)]=null),_0x510c1e[_0x3fa4cc(0xa5)]||(_0x510c1e[_0x3fa4cc(0xa5)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3c5d63=_0x1b23;function _0x1b23(_0x2228e3,_0x3fa3f0){var _0x4efcf2=_0x4efc();return _0x1b23=function(_0x1b23d6,_0x131abd){_0x1b23d6=_0x1b23d6-0x89;var _0x342776=_0x4efcf2[_0x1b23d6];return _0x342776;},_0x1b23(_0x2228e3,_0x3fa3f0);}function _0x4efc(){var _0x34e73d=['_id','10iHiVkr','decompress','shift','17060LZvaQZ','_operationName','2064hOScht','2168SDjaaP','1917744JgwJXi','8vQlrXc','types','push','compress','255950HrYTsJ','187707QtGMcu','9254850qWvTqR','13800879ylqCYT','15MmwWWf','7945uzndBv'];_0x4efc=function(){return _0x34e73d;};return _0x4efc();}(function(_0x5bee80,_0x1c314a){var _0x22372a=_0x1b23,_0xa4cec3=_0x5bee80();while(!![]){try{var _0x283e0f=parseInt(_0x22372a(0x8e))/0x1*(parseInt(_0x22372a(0x8a))/0x2)+-parseInt(_0x22372a(0x8b))/0x3*(-parseInt(_0x22372a(0x99))/0x4)+parseInt(_0x22372a(0x94))/0x5*(parseInt(_0x22372a(0x96))/0x6)+-parseInt(_0x22372a(0x8f))/0x7*(-parseInt(_0x22372a(0x97))/0x8)+parseInt(_0x22372a(0x8d))/0x9*(-parseInt(_0x22372a(0x91))/0xa)+-parseInt(_0x22372a(0x8c))/0xb+-parseInt(_0x22372a(0x98))/0xc;if(_0x283e0f===_0x1c314a)break;else _0xa4cec3['push'](_0xa4cec3['shift']());}catch(_0x34ac3c){_0xa4cec3['push'](_0xa4cec3['shift']());}}}(_0x4efc,0xf20fb));import _0x2473fd from'./operationcompressor.js';export default class p extends _0x2473fd{[_0x3c5d63(0x89)](_0x30cff3,_0x3199e4){var _0x822c2c=_0x3c5d63;return _0x3199e4[_0x822c2c(0x93)](),_0x30cff3[_0x822c2c(0x9a)][_0x822c2c(0x9b)](this[_0x822c2c(0x90)]),!0x0;}[_0x3c5d63(0x92)](_0x361d12,_0x37e7fb){var _0x413f0f=_0x3c5d63;_0x37e7fb[_0x413f0f(0x9a)][_0x413f0f(0x93)](),_0x361d12[_0x413f0f(0x9b)]({'__className':this[_0x413f0f(0x95)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e6879=_0x52a4;(function(_0xed5f3e,_0x209a1b){const _0x1bf04c=_0x52a4,_0x36e0d5=_0xed5f3e();while(!![]){try{const _0xc1262a=parseInt(_0x1bf04c(0x158))/0x1+-parseInt(_0x1bf04c(0x156))/0x2*(parseInt(_0x1bf04c(0x154))/0x3)+-parseInt(_0x1bf04c(0x14a))/0x4*(-parseInt(_0x1bf04c(0x15d))/0x5)+parseInt(_0x1bf04c(0x152))/0x6*(-parseInt(_0x1bf04c(0x15b))/0x7)+parseInt(_0x1bf04c(0x159))/0x8*(-parseInt(_0x1bf04c(0x14d))/0x9)+-parseInt(_0x1bf04c(0x149))/0xa*(parseInt(_0x1bf04c(0x153))/0xb)+parseInt(_0x1bf04c(0x151))/0xc;if(_0xc1262a===_0x209a1b)break;else _0x36e0d5['push'](_0x36e0d5['shift']());}catch(_0x44e1af){_0x36e0d5['push'](_0x36e0d5['shift']());}}}(_0x1595,0x5552e));function _0x52a4(_0x425d1f,_0x3bf5b0){const _0x15954f=_0x1595();return _0x52a4=function(_0x52a4d3,_0x2c86ad){_0x52a4d3=_0x52a4d3-0x149;let _0x1ba13b=_0x15954f[_0x52a4d3];return _0x1ba13b;},_0x52a4(_0x425d1f,_0x3bf5b0);}import{parsePositionBeforeCompression as _0x5b8457,parsePositionAfterCompression as _0x4c0c4a}from'../utils.js';export default class e{constructor(_0xe56beb,_0xcd183e,_0x737ad7){const _0x488920=_0x52a4;this[_0x488920(0x157)]=_0xe56beb,this[_0x488920(0x14f)]=_0xcd183e,this[_0x488920(0x15c)]=_0x737ad7;}[_0x1e6879(0x14e)](_0x11478b,_0x1d37bc){const _0x1bb1f2=_0x1e6879,_0x3db6e6=_0x1d37bc[_0x1bb1f2(0x150)]();return _0x5b8457(_0x3db6e6),_0x11478b[_0x1bb1f2(0x14c)][_0x1bb1f2(0x15e)](this[_0x1bb1f2(0x15c)][_0x1bb1f2(0x14e)](_0x3db6e6)),_0x11478b[_0x1bb1f2(0x14b)][_0x1bb1f2(0x15e)](this[_0x1bb1f2(0x157)]),!0x0;}[_0x1e6879(0x155)](_0x16a2f8,_0x2cf373){const _0x57b8d5=_0x1e6879;_0x2cf373[_0x57b8d5(0x14b)][_0x57b8d5(0x150)]();const _0x4a1095=this[_0x57b8d5(0x15c)][_0x57b8d5(0x155)](_0x2cf373[_0x57b8d5(0x14c)][_0x57b8d5(0x150)]());_0x4c0c4a(_0x4a1095),_0x4a1095[_0x57b8d5(0x15a)]=this[_0x57b8d5(0x14f)],_0x16a2f8[_0x57b8d5(0x15e)](_0x4a1095);}}function _0x1595(){const _0x565546=['_id','99781kmhofp','8kOTAYe','__className','7VXoAUy','_protobufDescriptor','3955mBnQvK','push','10llGuZP','1124chlonw','types','buffers','6108579gnqHTj','compress','_operationName','shift','23941764qebmxJ','1985874DHPJZO','6339091scVXxv','572583XtQqhl','decompress','4zPElwr'];_0x1595=function(){return _0x565546;};return _0x1595();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2af1(){const _0x2831d2=['965250KWRUea','_protobufRoot','4BYXDap','encode','1480782ziUxcc','_protobuf','finish','decode','getDescriptor','compress','54760YJQGcC','203EuHsdm','decompress','toObject','create','276831mwLpbT','50XCMwFZ','90467ASuyqq','488gWVBIC','362454cIeoMX','1815aqAmMq','verify'];_0x2af1=function(){return _0x2831d2;};return _0x2af1();}const _0x2997d2=_0x27f5;(function(_0x6896aa,_0x31d7d2){const _0x3fb70f=_0x27f5,_0x150259=_0x6896aa();while(!![]){try{const _0x3983fd=parseInt(_0x3fb70f(0xb3))/0x1*(parseInt(_0x3fb70f(0xa4))/0x2)+-parseInt(_0x3fb70f(0xb5))/0x3+-parseInt(_0x3fb70f(0xb4))/0x4*(parseInt(_0x3fb70f(0xb6))/0x5)+parseInt(_0x3fb70f(0xa6))/0x6+parseInt(_0x3fb70f(0xad))/0x7*(-parseInt(_0x3fb70f(0xac))/0x8)+-parseInt(_0x3fb70f(0xb1))/0x9*(-parseInt(_0x3fb70f(0xb2))/0xa)+-parseInt(_0x3fb70f(0xa2))/0xb;if(_0x3983fd===_0x31d7d2)break;else _0x150259['push'](_0x150259['shift']());}catch(_0x489ab1){_0x150259['push'](_0x150259['shift']());}}}(_0x2af1,0x1fc77));function _0x27f5(_0x49798e,_0x3d9400){const _0x2af15b=_0x2af1();return _0x27f5=function(_0x27f5f7,_0x114799){_0x27f5f7=_0x27f5f7-0xa1;let _0x57cee3=_0x2af15b[_0x27f5f7];return _0x57cee3;},_0x27f5(_0x49798e,_0x3d9400);}import{messages as _0x297cf6}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x2aca82=_0x27f5;this[_0x2aca82(0xa3)]=_0x297cf6;}[_0x2997d2(0xaa)](_0x5d2c70){const _0x3699a0=_0x2997d2;return new ProtobufDescriptor(this[_0x3699a0(0xa3)][_0x5d2c70]);}}export class ProtobufDescriptor{constructor(_0x239c2f){const _0x4614a9=_0x2997d2;this[_0x4614a9(0xa7)]=_0x239c2f;}[_0x2997d2(0xab)](_0x3df974){const _0x3ea57a=_0x2997d2,_0x416815=this[_0x3ea57a(0xa7)][_0x3ea57a(0xa1)](_0x3df974);if(_0x416815)throw Error(_0x416815);return this[_0x3ea57a(0xa7)][_0x3ea57a(0xa5)](this[_0x3ea57a(0xa7)][_0x3ea57a(0xb0)](_0x3df974))[_0x3ea57a(0xa8)]();}[_0x2997d2(0xae)](_0x49c1ac){const _0x59f401=_0x2997d2;return this[_0x59f401(0xa7)][_0x59f401(0xaf)](this[_0x59f401(0xa7)][_0x59f401(0xa9)](_0x49c1ac),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x26c036,_0x59eac2){const _0x2b302c=_0x2f30,_0x3c9dbc=_0x26c036();while(!![]){try{const _0x247e3d=-parseInt(_0x2b302c(0xe5))/0x1+-parseInt(_0x2b302c(0xd8))/0x2+parseInt(_0x2b302c(0xdf))/0x3*(-parseInt(_0x2b302c(0xdb))/0x4)+parseInt(_0x2b302c(0xe6))/0x5+parseInt(_0x2b302c(0xd9))/0x6*(-parseInt(_0x2b302c(0xe3))/0x7)+parseInt(_0x2b302c(0xd7))/0x8*(parseInt(_0x2b302c(0xde))/0x9)+parseInt(_0x2b302c(0xdc))/0xa;if(_0x247e3d===_0x59eac2)break;else _0x3c9dbc['push'](_0x3c9dbc['shift']());}catch(_0xccd50b){_0x3c9dbc['push'](_0x3c9dbc['shift']());}}}(_0xcb00,0xb3755));import{cloneDeep as _0x1131a7,isEqual as _0x252824,isObject as _0x427f4f}from'lodash-es';function _0x2f30(_0x1eebfb,_0x2633ba){const _0xcb00a8=_0xcb00();return _0x2f30=function(_0x2f3002,_0x36b914){_0x2f3002=_0x2f3002-0xd7;let _0x40fb2f=_0xcb00a8[_0x2f3002];return _0x40fb2f;},_0x2f30(_0x1eebfb,_0x2633ba);}export function getPositionShiftedBy(_0x460440,_0x4c7267){const _0x2e3074=_0x2f30,_0x4669ef=_0x1131a7(_0x460440);return _0x4669ef[_0x2e3074(0xe8)][_0x4669ef[_0x2e3074(0xe8)][_0x2e3074(0xe2)]-0x1]+=_0x4c7267,_0x4669ef;}export function arePositionsEqual(_0x2a040c,_0x51ddeb){const _0x49a4d0=_0x2f30;return _0x2a040c[_0x49a4d0(0xe1)]===_0x51ddeb[_0x49a4d0(0xe1)]&&_0x252824(_0x2a040c[_0x49a4d0(0xe8)],_0x51ddeb[_0x49a4d0(0xe8)]);}function _0xcb00(){const _0x1da68d=['root','length','401842JdSqWw','rootMain','202517Diovip','4082910ANJCmS','$graveyard','path','3464naqVlU','1731558ufPfiU','60nMVsqx','main','3796kDwbVT','12989560BNWPJs','nodes','29646XapiUq','3681ZRVBOM','rootGraveyard'];_0xcb00=function(){return _0x1da68d;};return _0xcb00();}export function parsePositionBeforeCompression(_0x59cf7f){const _0x29c743=_0x2f30;P(_0x59cf7f,_0x4134d6=>(_0x29c743(0xda)==_0x4134d6[_0x29c743(0xe1)]?(_0x4134d6[_0x29c743(0xe4)]=!0x0,delete _0x4134d6[_0x29c743(0xe1)]):_0x29c743(0xe7)==_0x4134d6[_0x29c743(0xe1)]&&(_0x4134d6[_0x29c743(0xe0)]=!0x0,delete _0x4134d6[_0x29c743(0xe1)]),_0x4134d6));}export function parsePositionAfterCompression(_0x5df236){const _0x1cdeed=_0x2f30;P(_0x5df236,_0x299421=>(_0x299421[_0x1cdeed(0xe4)]?(_0x299421[_0x1cdeed(0xe1)]=_0x1cdeed(0xda),delete _0x299421[_0x1cdeed(0xe4)]):_0x299421[_0x1cdeed(0xe0)]&&(_0x299421[_0x1cdeed(0xe1)]=_0x1cdeed(0xe7),delete _0x299421[_0x1cdeed(0xe0)]),_0x299421));}function P(_0x486e60,_0x3cd25c){const _0x51423e=_0x2f30;for(const _0x511304 in _0x486e60){const _0x35fd50=_0x486e60[_0x511304];_0x51423e(0xdd)!==_0x511304&&_0x427f4f(_0x35fd50)&&(_0x35fd50[_0x51423e(0xe8)]&&(_0x35fd50[_0x51423e(0xe1)]||_0x35fd50[_0x51423e(0xe4)]||_0x35fd50[_0x51423e(0xe0)])?_0x486e60[_0x511304]=_0x3cd25c(_0x35fd50):P(_0x35fd50,_0x3cd25c));}return _0x486e60;}
|