@ckeditor/ckeditor5-operations-compressor 44.2.0-alpha.14 → 44.2.0-alpha.15
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 _0x309c57=_0x1aa3;(function(_0x25c906,_0xd7fce5){var _0x2ba58a=_0x1aa3,_0x2c24ef=_0x25c906();while(!![]){try{var _0x167586=parseInt(_0x2ba58a(0x1bb))/0x1+parseInt(_0x2ba58a(0x1ad))/0x2*(parseInt(_0x2ba58a(0x1b6))/0x3)+parseInt(_0x2ba58a(0x1b8))/0x4*(parseInt(_0x2ba58a(0x1b2))/0x5)+-parseInt(_0x2ba58a(0x1b5))/0x6*(parseInt(_0x2ba58a(0x1ae))/0x7)+parseInt(_0x2ba58a(0x1b1))/0x8+-parseInt(_0x2ba58a(0x1af))/0x9*(-parseInt(_0x2ba58a(0x1b7))/0xa)+-parseInt(_0x2ba58a(0x1ac))/0xb;if(_0x167586===_0xd7fce5)break;else _0x2c24ef['push'](_0x2c24ef['shift']());}catch(_0x3a54a3){_0x2c24ef['push'](_0x2c24ef['shift']());}}}(_0x18c9,0x23af6));function _0x18c9(){var _0x2706d0=['shift','978qjGpAY','488757btpcqx','190SEisfK','27112VNDfVL','decompress','_operationName','101454KBIzIw','types','_id','4582149xuOwfh','2DGEkDm','6559mlXcdu','95517FDMFsR','compress','1073680gsDdLd','85soDiKZ','push'];_0x18c9=function(){return _0x2706d0;};return _0x18c9();}import _0x556af1 from'./operationcompressor.js';function _0x1aa3(_0x5bc4e1,_0x48bcb9){var _0x18c9e3=_0x18c9();return _0x1aa3=function(_0x1aa37c,_0xe3e44a){_0x1aa37c=_0x1aa37c-0x1aa;var _0x232a66=_0x18c9e3[_0x1aa37c];return _0x232a66;},_0x1aa3(_0x5bc4e1,_0x48bcb9);}export default class p extends _0x556af1{[_0x309c57(0x1b0)](_0x445778,_0x2cad0c){var _0x376bc7=_0x309c57;return _0x2cad0c[_0x376bc7(0x1b4)](),_0x445778[_0x376bc7(0x1aa)][_0x376bc7(0x1b3)](this[_0x376bc7(0x1ab)]),!0x0;}[_0x309c57(0x1b9)](_0x12ec90,_0x3db1cd){var _0x4d847e=_0x309c57;_0x3db1cd[_0x4d847e(0x1aa)][_0x4d847e(0x1b4)](),_0x12ec90[_0x4d847e(0x1b3)]({'__className':this[_0x4d847e(0x1ba)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4305d9=_0x27a5;(function(_0x45102f,_0x203cf4){const _0x2fac78=_0x27a5,_0xdb5e8d=_0x45102f();while(!![]){try{const _0x458c54=-parseInt(_0x2fac78(0x133))/0x1*(parseInt(_0x2fac78(0x12c))/0x2)+parseInt(_0x2fac78(0x125))/0x3+parseInt(_0x2fac78(0x123))/0x4+-parseInt(_0x2fac78(0x121))/0x5*(-parseInt(_0x2fac78(0x132))/0x6)+-parseInt(_0x2fac78(0x12e))/0x7+parseInt(_0x2fac78(0x124))/0x8*(-parseInt(_0x2fac78(0x134))/0x9)+-parseInt(_0x2fac78(0x120))/0xa*(parseInt(_0x2fac78(0x122))/0xb);if(_0x458c54===_0x203cf4)break;else _0xdb5e8d['push'](_0xdb5e8d['shift']());}catch(_0x1377b3){_0xdb5e8d['push'](_0xdb5e8d['shift']());}}}(_0x5983,0x4aae2));function _0x27a5(_0x43d137,_0x3e3d1d){const _0x59835f=_0x5983();return _0x27a5=function(_0x27a5c9,_0x560944){_0x27a5c9=_0x27a5c9-0x120;let _0x308249=_0x59835f[_0x27a5c9];return _0x308249;},_0x27a5(_0x43d137,_0x3e3d1d);}function _0x5983(){const _0x2328bb=['decompress','__className','types','8966jIyorg','shift','342461sHcUDt','_id','_operationName','_protobufDescriptor','3318CkBitL','83jbLLdf','9rnTkwI','30EpHVXq','4375TkLcvM','838849GXkLJh','1432576CpNZbB','3902024ItIjGQ','1804239oLkwNH','buffers','compress','push'];_0x5983=function(){return _0x2328bb;};return _0x5983();}import{parsePositionBeforeCompression as _0x1d93ef,parsePositionAfterCompression as _0x375ea0}from'../utils.js';export default class e{constructor(_0x52db45,_0x2d4122,_0x29040e){const _0xc38ee5=_0x27a5;this[_0xc38ee5(0x12f)]=_0x52db45,this[_0xc38ee5(0x130)]=_0x2d4122,this[_0xc38ee5(0x131)]=_0x29040e;}[_0x4305d9(0x127)](_0x2d54d2,_0x253a32){const _0x2a9d23=_0x4305d9,_0x5f1f38=_0x253a32[_0x2a9d23(0x12d)]();return _0x1d93ef(_0x5f1f38),_0x2d54d2[_0x2a9d23(0x126)][_0x2a9d23(0x128)](this[_0x2a9d23(0x131)][_0x2a9d23(0x127)](_0x5f1f38)),_0x2d54d2[_0x2a9d23(0x12b)][_0x2a9d23(0x128)](this[_0x2a9d23(0x12f)]),!0x0;}[_0x4305d9(0x129)](_0x4416ba,_0x51e9e8){const _0x140f48=_0x4305d9;_0x51e9e8[_0x140f48(0x12b)][_0x140f48(0x12d)]();const _0x44dbd2=this[_0x140f48(0x131)][_0x140f48(0x129)](_0x51e9e8[_0x140f48(0x126)][_0x140f48(0x12d)]());_0x375ea0(_0x44dbd2),_0x44dbd2[_0x140f48(0x12a)]=this[_0x140f48(0x130)],_0x4416ba[_0x140f48(0x128)](_0x44dbd2);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b3db6=_0x46b8;function _0x1a46(){const _0x38cbfc=['177315KVxwVo','234724fqBmNH','encode','990670GRPEcD','compress','_protobuf','decompress','toObject','finish','create','verify','getDescriptor','_protobufRoot','765472SzTkLn','360942jFoGZg','decode','74940sSTixI','58050LBXXfi'];_0x1a46=function(){return _0x38cbfc;};return _0x1a46();}(function(_0x17875e,_0x114498){const _0x1cdb84=_0x46b8,_0x4717b2=_0x17875e();while(!![]){try{const _0x57ccad=-parseInt(_0x1cdb84(0x1b2))/0x1+-parseInt(_0x1cdb84(0x1af))/0x2+-parseInt(_0x1cdb84(0x1b3))/0x3+parseInt(_0x1cdb84(0x1ae))/0x4+parseInt(_0x1cdb84(0x1b6))/0x5+parseInt(_0x1cdb84(0x1b1))/0x6+parseInt(_0x1cdb84(0x1b4))/0x7;if(_0x57ccad===_0x114498)break;else _0x4717b2['push'](_0x4717b2['shift']());}catch(_0x31858f){_0x4717b2['push'](_0x4717b2['shift']());}}}(_0x1a46,0x21aaa));import{messages as _0x517198}from'./lib/compiledmessages.js';function _0x46b8(_0x4fb5bf,_0x4b8583){const _0x1a4687=_0x1a46();return _0x46b8=function(_0x46b897,_0x25822c){_0x46b897=_0x46b897-0x1ab;let _0x3b6eb7=_0x1a4687[_0x46b897];return _0x3b6eb7;},_0x46b8(_0x4fb5bf,_0x4b8583);}export default class r{constructor(){const _0x16815a=_0x46b8;this[_0x16815a(0x1ad)]=_0x517198;}[_0x2b3db6(0x1ac)](_0x58dd94){const _0x27f193=_0x2b3db6;return new ProtobufDescriptor(this[_0x27f193(0x1ad)][_0x58dd94]);}}export class ProtobufDescriptor{constructor(_0x2304b0){const _0x134c42=_0x2b3db6;this[_0x134c42(0x1b8)]=_0x2304b0;}[_0x2b3db6(0x1b7)](_0x49fd70){const _0x152b5=_0x2b3db6,_0x4d2fcc=this[_0x152b5(0x1b8)][_0x152b5(0x1ab)](_0x49fd70);if(_0x4d2fcc)throw Error(_0x4d2fcc);return this[_0x152b5(0x1b8)][_0x152b5(0x1b5)](this[_0x152b5(0x1b8)][_0x152b5(0x1bc)](_0x49fd70))[_0x152b5(0x1bb)]();}[_0x2b3db6(0x1b9)](_0x3956f1){const _0x380af5=_0x2b3db6;return this[_0x380af5(0x1b8)][_0x380af5(0x1ba)](this[_0x380af5(0x1b8)][_0x380af5(0x1b0)](_0x3956f1),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5c6d27,_0x57167a){const _0xad1e02=_0x4963,_0x6f11e4=_0x5c6d27();while(!![]){try{const _0x77a2d0=-parseInt(_0xad1e02(0x18f))/0x1*(parseInt(_0xad1e02(0x182))/0x2)+parseInt(_0xad1e02(0x18e))/0x3*(-parseInt(_0xad1e02(0x18c))/0x4)+parseInt(_0xad1e02(0x185))/0x5+parseInt(_0xad1e02(0x183))/0x6*(-parseInt(_0xad1e02(0x18a))/0x7)+-parseInt(_0xad1e02(0x191))/0x8+parseInt(_0xad1e02(0x180))/0x9*(parseInt(_0xad1e02(0x17e))/0xa)+parseInt(_0xad1e02(0x18d))/0xb*(parseInt(_0xad1e02(0x188))/0xc);if(_0x77a2d0===_0x57167a)break;else _0x6f11e4['push'](_0x6f11e4['shift']());}catch(_0x748f55){_0x6f11e4['push'](_0x6f11e4['shift']());}}}(_0x6dd8,0xcf87a));import{cloneDeep as _0x12648a,isEqual as _0x1aa132,isObject as _0x402b64}from'lodash-es';export function getPositionShiftedBy(_0x3bd350,_0x251c74){const _0x4a14d6=_0x4963,_0x40c106=_0x12648a(_0x3bd350);return _0x40c106[_0x4a14d6(0x186)][_0x40c106[_0x4a14d6(0x186)][_0x4a14d6(0x181)]-0x1]+=_0x251c74,_0x40c106;}function _0x4963(_0x3bc6fb,_0x3892d2){const _0x6dd8b=_0x6dd8();return _0x4963=function(_0x49636c,_0x3f134b){_0x49636c=_0x49636c-0x17e;let _0x29652b=_0x6dd8b[_0x49636c];return _0x29652b;},_0x4963(_0x3bc6fb,_0x3892d2);}export function arePositionsEqual(_0x3c5588,_0x2a4b35){const _0x21a2d1=_0x4963;return _0x3c5588[_0x21a2d1(0x190)]===_0x2a4b35[_0x21a2d1(0x190)]&&_0x1aa132(_0x3c5588[_0x21a2d1(0x186)],_0x2a4b35[_0x21a2d1(0x186)]);}export function parsePositionBeforeCompression(_0x1e0668){const _0x2e27ce=_0x4963;P(_0x1e0668,_0x82dab7=>(_0x2e27ce(0x184)==_0x82dab7[_0x2e27ce(0x190)]?(_0x82dab7[_0x2e27ce(0x17f)]=!0x0,delete _0x82dab7[_0x2e27ce(0x190)]):_0x2e27ce(0x187)==_0x82dab7[_0x2e27ce(0x190)]&&(_0x82dab7[_0x2e27ce(0x18b)]=!0x0,delete _0x82dab7[_0x2e27ce(0x190)]),_0x82dab7));}function _0x6dd8(){const _0x5646ca=['146765TxKvwN','path','$graveyard','12kQKHkg','nodes','1303659iuobFh','rootGraveyard','10300EIIKeJ','34311442RtModu','1149SJUeRT','178MwFDUZ','root','12545184MAuZeK','1242670VoRqSj','rootMain','117izvUce','length','4814WBwjVD','30KabZQN','main'];_0x6dd8=function(){return _0x5646ca;};return _0x6dd8();}export function parsePositionAfterCompression(_0x1b951f){const _0x4ff9d3=_0x4963;P(_0x1b951f,_0x48e1d5=>(_0x48e1d5[_0x4ff9d3(0x17f)]?(_0x48e1d5[_0x4ff9d3(0x190)]=_0x4ff9d3(0x184),delete _0x48e1d5[_0x4ff9d3(0x17f)]):_0x48e1d5[_0x4ff9d3(0x18b)]&&(_0x48e1d5[_0x4ff9d3(0x190)]=_0x4ff9d3(0x187),delete _0x48e1d5[_0x4ff9d3(0x18b)]),_0x48e1d5));}function P(_0x1fe8f1,_0x15567c){const _0x531aef=_0x4963;for(const _0x3773a6 in _0x1fe8f1){const _0x5a3baa=_0x1fe8f1[_0x3773a6];_0x531aef(0x189)!==_0x3773a6&&_0x402b64(_0x5a3baa)&&(_0x5a3baa[_0x531aef(0x186)]&&(_0x5a3baa[_0x531aef(0x190)]||_0x5a3baa[_0x531aef(0x17f)]||_0x5a3baa[_0x531aef(0x18b)])?_0x1fe8f1[_0x3773a6]=_0x15567c(_0x5a3baa):P(_0x5a3baa,_0x15567c));}return _0x1fe8f1;}
|