@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.22 → 42.0.0-alpha.24
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
|
-
function
|
|
23
|
+
function _0x81a4(){const _0x215384=['807602WZmtuV','oldRange','39lfDtzH','4361rgyGpX','136044aWTQmy','newRange','142866LdoKWc','145LYppzL','length','11128fpSYeQ','8711037OggkYO','decompress','32593920qpDjDc','1352380YrKRwo'];_0x81a4=function(){return _0x215384;};return _0x81a4();}const _0x21b84d=_0x5d7d;(function(_0xde25f0,_0x198278){const _0xaa100a=_0x5d7d,_0x3444e9=_0xde25f0();while(!![]){try{const _0x4a8f3e=-parseInt(_0xaa100a(0x8c))/0x1+parseInt(_0xaa100a(0x8d))/0x2+parseInt(_0xaa100a(0x8f))/0x3*(-parseInt(_0xaa100a(0x91))/0x4)+parseInt(_0xaa100a(0x86))/0x5*(parseInt(_0xaa100a(0x85))/0x6)+-parseInt(_0xaa100a(0x90))/0x7*(parseInt(_0xaa100a(0x88))/0x8)+-parseInt(_0xaa100a(0x89))/0x9+parseInt(_0xaa100a(0x8b))/0xa;if(_0x4a8f3e===_0x198278)break;else _0x3444e9['push'](_0x3444e9['shift']());}catch(_0x419cc7){_0x3444e9['push'](_0x3444e9['shift']());}}}(_0x81a4,0xb0edf));import _0x1f79cd from'./operationcompressor.js';function _0x5d7d(_0x1cea1d,_0x4d73db){const _0x81a496=_0x81a4();return _0x5d7d=function(_0x5d7d6e,_0x3a9089){_0x5d7d6e=_0x5d7d6e-0x85;let _0x4501f5=_0x81a496[_0x5d7d6e];return _0x4501f5;},_0x5d7d(_0x1cea1d,_0x4d73db);}export default class n extends _0x1f79cd{[_0x21b84d(0x8a)](_0xa9b75e,_0x32719f){const _0x3108b7=_0x21b84d;super[_0x3108b7(0x8a)](_0xa9b75e,_0x32719f);const _0x579ac8=_0xa9b75e[_0xa9b75e[_0x3108b7(0x87)]-0x1];_0x579ac8[_0x3108b7(0x8e)]||(_0x579ac8[_0x3108b7(0x8e)]=null),_0x579ac8[_0x3108b7(0x92)]||(_0x579ac8[_0x3108b7(0x92)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xd0e0(_0x139c33,_0x16ecb6){var _0x1ec59d=_0x1ec5();return _0xd0e0=function(_0xd0e00e,_0x36a5e5){_0xd0e00e=_0xd0e00e-0x8d;var _0xb70ffa=_0x1ec59d[_0xd0e00e];return _0xb70ffa;},_0xd0e0(_0x139c33,_0x16ecb6);}var _0x2db466=_0xd0e0;(function(_0x4c7d0d,_0x218074){var _0xc1089c=_0xd0e0,_0x55930e=_0x4c7d0d();while(!![]){try{var _0x57429f=-parseInt(_0xc1089c(0x9a))/0x1+parseInt(_0xc1089c(0x95))/0x2*(-parseInt(_0xc1089c(0x93))/0x3)+parseInt(_0xc1089c(0x99))/0x4+-parseInt(_0xc1089c(0x98))/0x5+-parseInt(_0xc1089c(0x8e))/0x6+-parseInt(_0xc1089c(0x8f))/0x7+parseInt(_0xc1089c(0x96))/0x8*(parseInt(_0xc1089c(0x97))/0x9);if(_0x57429f===_0x218074)break;else _0x55930e['push'](_0x55930e['shift']());}catch(_0x5192a8){_0x55930e['push'](_0x55930e['shift']());}}}(_0x1ec5,0xbf847));import _0x17fc33 from'./operationcompressor.js';export default class p extends _0x17fc33{[_0x2db466(0x8d)](_0xef7c24,_0x46cffd){var _0xbb0422=_0x2db466;return _0x46cffd[_0xbb0422(0x9b)](),_0xef7c24[_0xbb0422(0x90)][_0xbb0422(0x9c)](this[_0xbb0422(0x94)]),!0x0;}[_0x2db466(0x91)](_0x4d7bdc,_0x1136f6){var _0x6174f7=_0x2db466;_0x1136f6[_0x6174f7(0x90)][_0x6174f7(0x9b)](),_0x4d7bdc[_0x6174f7(0x9c)]({'__className':this[_0x6174f7(0x92)]});}}function _0x1ec5(){var _0x150442=['7246992fMenEw','5966044rTPCti','types','decompress','_operationName','6pWJExF','_id','1038572eeGykH','464NmhOry','626472elhMtY','1970875YsEqdE','4783916hmiKIy','955917rFkDfA','shift','push','compress'];_0x1ec5=function(){return _0x150442;};return _0x1ec5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4be3fb=_0x2f45;function _0x58fe(){const _0x29be92=['_protobufDescriptor','_operationName','261433KgoJqO','buffers','7QvbZaO','_id','shift','411770omusjk','486CYQZGv','compress','4255016YrWZzD','3492972KNZiOa','__className','6675skbXSW','4708990seASkA','push','types','decompress','12RtuRbJ','1468228EGelKo'];_0x58fe=function(){return _0x29be92;};return _0x58fe();}function _0x2f45(_0x30d7a1,_0x3a8b62){const _0x58fe9c=_0x58fe();return _0x2f45=function(_0x2f4554,_0x5b79be){_0x2f4554=_0x2f4554-0xc2;let _0xf8320f=_0x58fe9c[_0x2f4554];return _0xf8320f;},_0x2f45(_0x30d7a1,_0x3a8b62);}(function(_0x5b2911,_0x45cc81){const _0x1df8ef=_0x2f45,_0x4c4643=_0x5b2911();while(!![]){try{const _0x2a8b88=parseInt(_0x1df8ef(0xce))/0x1+parseInt(_0x1df8ef(0xd4))/0x2*(parseInt(_0x1df8ef(0xc5))/0x3)+-parseInt(_0x1df8ef(0xcb))/0x4+parseInt(_0x1df8ef(0xd3))/0x5*(parseInt(_0x1df8ef(0xca))/0x6)+-parseInt(_0x1df8ef(0xd0))/0x7*(-parseInt(_0x1df8ef(0xc2))/0x8)+-parseInt(_0x1df8ef(0xc3))/0x9+-parseInt(_0x1df8ef(0xc6))/0xa;if(_0x2a8b88===_0x45cc81)break;else _0x4c4643['push'](_0x4c4643['shift']());}catch(_0x3abf8a){_0x4c4643['push'](_0x4c4643['shift']());}}}(_0x58fe,0x428f5));import{parsePositionBeforeCompression as _0x36f433,parsePositionAfterCompression as _0x410d8d}from'../utils.js';export default class e{constructor(_0x39cf7b,_0x25a540,_0x328984){const _0x6d7228=_0x2f45;this[_0x6d7228(0xd1)]=_0x39cf7b,this[_0x6d7228(0xcd)]=_0x25a540,this[_0x6d7228(0xcc)]=_0x328984;}[_0x4be3fb(0xd5)](_0x549f8c,_0x59c33e){const _0x416d70=_0x4be3fb,_0x1e0bd6=_0x59c33e[_0x416d70(0xd2)]();return _0x36f433(_0x1e0bd6),_0x549f8c[_0x416d70(0xcf)][_0x416d70(0xc7)](this[_0x416d70(0xcc)][_0x416d70(0xd5)](_0x1e0bd6)),_0x549f8c[_0x416d70(0xc8)][_0x416d70(0xc7)](this[_0x416d70(0xd1)]),!0x0;}[_0x4be3fb(0xc9)](_0x26b277,_0x4a24e8){const _0x3fb846=_0x4be3fb;_0x4a24e8[_0x3fb846(0xc8)][_0x3fb846(0xd2)]();const _0x463a42=this[_0x3fb846(0xcc)][_0x3fb846(0xc9)](_0x4a24e8[_0x3fb846(0xcf)][_0x3fb846(0xd2)]());_0x410d8d(_0x463a42),_0x463a42[_0x3fb846(0xc4)]=this[_0x3fb846(0xcd)],_0x26b277[_0x3fb846(0xc7)](_0x463a42);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x305f7f=_0x2702;function _0x2702(_0x157747,_0x24bc39){const _0xb1668c=_0xb166();return _0x2702=function(_0x27023b,_0x23bc55){_0x27023b=_0x27023b-0x1c9;let _0x979ded=_0xb1668c[_0x27023b];return _0x979ded;},_0x2702(_0x157747,_0x24bc39);}(function(_0x2a9221,_0x170e2b){const _0xe97b0e=_0x2702,_0x2b68e3=_0x2a9221();while(!![]){try{const _0x509ba0=-parseInt(_0xe97b0e(0x1cb))/0x1*(parseInt(_0xe97b0e(0x1d1))/0x2)+-parseInt(_0xe97b0e(0x1da))/0x3+-parseInt(_0xe97b0e(0x1d8))/0x4*(parseInt(_0xe97b0e(0x1ce))/0x5)+-parseInt(_0xe97b0e(0x1d2))/0x6*(parseInt(_0xe97b0e(0x1cc))/0x7)+parseInt(_0xe97b0e(0x1e0))/0x8*(-parseInt(_0xe97b0e(0x1cd))/0x9)+parseInt(_0xe97b0e(0x1d4))/0xa*(-parseInt(_0xe97b0e(0x1c9))/0xb)+parseInt(_0xe97b0e(0x1d0))/0xc*(parseInt(_0xe97b0e(0x1db))/0xd);if(_0x509ba0===_0x170e2b)break;else _0x2b68e3['push'](_0x2b68e3['shift']());}catch(_0x1e6b7d){_0x2b68e3['push'](_0x2b68e3['shift']());}}}(_0xb166,0x6987b));import{messages as _0x2e083b}from'./lib/compiledmessages.js';function _0xb166(){const _0x3606a8=['2018895mcAbaO','13efgfHs','verify','decompress','compress','encode','12752gfXazB','655611bhvCdB','decode','179YQwANy','91049XCwNpl','2394KNMzIL','5pglzsD','create','29055684aZTLVO','3354OeELDL','108jcHRzM','_protobufRoot','10tuHqcO','_protobuf','toObject','finish','1192708NSJCEE','getDescriptor'];_0xb166=function(){return _0x3606a8;};return _0xb166();}export default class r{constructor(){const _0x355deb=_0x2702;this[_0x355deb(0x1d3)]=_0x2e083b;}[_0x305f7f(0x1d9)](_0x1cb8ad){const _0x345923=_0x305f7f;return new ProtobufDescriptor(this[_0x345923(0x1d3)][_0x1cb8ad]);}}export class ProtobufDescriptor{constructor(_0x294736){const _0x3f431b=_0x305f7f;this[_0x3f431b(0x1d5)]=_0x294736;}[_0x305f7f(0x1de)](_0xdf002f){const _0xe8a861=_0x305f7f,_0x40c3cd=this[_0xe8a861(0x1d5)][_0xe8a861(0x1dc)](_0xdf002f);if(_0x40c3cd)throw Error(_0x40c3cd);return this[_0xe8a861(0x1d5)][_0xe8a861(0x1df)](this[_0xe8a861(0x1d5)][_0xe8a861(0x1cf)](_0xdf002f))[_0xe8a861(0x1d7)]();}[_0x305f7f(0x1dd)](_0x366f6f){const _0x3c5728=_0x305f7f;return this[_0x3c5728(0x1d5)][_0x3c5728(0x1d6)](this[_0x3c5728(0x1d5)][_0x3c5728(0x1ca)](_0x366f6f),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44226b,_0xcfde68){const _0x1f597f=_0x4286,_0x55a80e=_0x44226b();while(!![]){try{const _0x3c4da9=parseInt(_0x1f597f(0x1d8))/0x1+-parseInt(_0x1f597f(0x1d5))/0x2*(-parseInt(_0x1f597f(0x1dc))/0x3)+parseInt(_0x1f597f(0x1d6))/0x4+parseInt(_0x1f597f(0x1de))/0x5*(parseInt(_0x1f597f(0x1d7))/0x6)+parseInt(_0x1f597f(0x1d3))/0x7+-parseInt(_0x1f597f(0x1e3))/0x8+-parseInt(_0x1f597f(0x1db))/0x9;if(_0x3c4da9===_0xcfde68)break;else _0x55a80e['push'](_0x55a80e['shift']());}catch(_0x434db5){_0x55a80e['push'](_0x55a80e['shift']());}}}(_0x6048,0xec0f7));import{cloneDeep as _0x444ba9,isEqual as _0x1b7330,isObject as _0x2b6b15}from'lodash-es';export function getPositionShiftedBy(_0x56746c,_0x4b70b3){const _0x1f0f31=_0x4286,_0x352d32=_0x444ba9(_0x56746c);return _0x352d32[_0x1f0f31(0x1da)][_0x352d32[_0x1f0f31(0x1da)][_0x1f0f31(0x1df)]-0x1]+=_0x4b70b3,_0x352d32;}export function arePositionsEqual(_0x3d283d,_0x1b9e54){const _0x59d1cc=_0x4286;return _0x3d283d[_0x59d1cc(0x1e2)]===_0x1b9e54[_0x59d1cc(0x1e2)]&&_0x1b7330(_0x3d283d[_0x59d1cc(0x1da)],_0x1b9e54[_0x59d1cc(0x1da)]);}export function parsePositionBeforeCompression(_0x4109a3){const _0x511ca1=_0x4286;P(_0x4109a3,_0x2e5398=>(_0x511ca1(0x1d4)==_0x2e5398[_0x511ca1(0x1e2)]?(_0x2e5398[_0x511ca1(0x1dd)]=!0x0,delete _0x2e5398[_0x511ca1(0x1e2)]):_0x511ca1(0x1d9)==_0x2e5398[_0x511ca1(0x1e2)]&&(_0x2e5398[_0x511ca1(0x1e1)]=!0x0,delete _0x2e5398[_0x511ca1(0x1e2)]),_0x2e5398));}export function parsePositionAfterCompression(_0x2a8dc8){const _0x24baf7=_0x4286;P(_0x2a8dc8,_0x42afe0=>(_0x42afe0[_0x24baf7(0x1dd)]?(_0x42afe0[_0x24baf7(0x1e2)]=_0x24baf7(0x1d4),delete _0x42afe0[_0x24baf7(0x1dd)]):_0x42afe0[_0x24baf7(0x1e1)]&&(_0x42afe0[_0x24baf7(0x1e2)]=_0x24baf7(0x1d9),delete _0x42afe0[_0x24baf7(0x1e1)]),_0x42afe0));}function _0x6048(){const _0x3bdb7e=['47289465qsuIym','1549299HKzQLg','rootMain','95vukvic','length','nodes','rootGraveyard','root','1593704dppzEt','9891371ROvaRy','main','6mshFQU','7046964pChmir','25506DcjDLO','1615639JLycKB','$graveyard','path'];_0x6048=function(){return _0x3bdb7e;};return _0x6048();}function _0x4286(_0x143b05,_0x89d860){const _0x6048d7=_0x6048();return _0x4286=function(_0x42866f,_0x381599){_0x42866f=_0x42866f-0x1d3;let _0x27533c=_0x6048d7[_0x42866f];return _0x27533c;},_0x4286(_0x143b05,_0x89d860);}function P(_0x55b22a,_0x48298e){const _0x2a210e=_0x4286;for(const _0x53cc39 in _0x55b22a){const _0x4cc71b=_0x55b22a[_0x53cc39];_0x2a210e(0x1e0)!==_0x53cc39&&_0x2b6b15(_0x4cc71b)&&(_0x4cc71b[_0x2a210e(0x1da)]&&(_0x4cc71b[_0x2a210e(0x1e2)]||_0x4cc71b[_0x2a210e(0x1dd)]||_0x4cc71b[_0x2a210e(0x1e1)])?_0x55b22a[_0x53cc39]=_0x48298e(_0x4cc71b):P(_0x4cc71b,_0x48298e));}return _0x55b22a;}
|