@ckeditor/ckeditor5-operations-compressor 43.0.0-alpha.5 → 43.0.0-alpha.6
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 _0x448fc9=_0x3e6e;function _0x477d(){var _0x34c95e=['3968712VLgOKP','1009455kegnld','compress','722134TVRxaV','types','31782dRIOVy','1504paCdjr','shift','_id','10072647EFCZsS','1083684MeOGmF','decompress','_operationName','22064wZhQkW','push','21JnIqqj'];_0x477d=function(){return _0x34c95e;};return _0x477d();}(function(_0x553a4e,_0x30cf6f){var _0x3885f1=_0x3e6e,_0x181d38=_0x553a4e();while(!![]){try{var _0x1061d1=-parseInt(_0x3885f1(0x74))/0x1+parseInt(_0x3885f1(0x76))/0x2*(parseInt(_0x3885f1(0x80))/0x3)+-parseInt(_0x3885f1(0x7b))/0x4+parseInt(_0x3885f1(0x82))/0x5+-parseInt(_0x3885f1(0x81))/0x6+parseInt(_0x3885f1(0x7e))/0x7*(parseInt(_0x3885f1(0x77))/0x8)+parseInt(_0x3885f1(0x7a))/0x9;if(_0x1061d1===_0x30cf6f)break;else _0x181d38['push'](_0x181d38['shift']());}catch(_0x1b8bb9){_0x181d38['push'](_0x181d38['shift']());}}}(_0x477d,0x5a6cc));import _0x315562 from'./operationcompressor.js';function _0x3e6e(_0x2241cf,_0x29f996){var _0x477d1c=_0x477d();return _0x3e6e=function(_0x3e6e4f,_0x4b4303){_0x3e6e4f=_0x3e6e4f-0x73;var _0x4391f9=_0x477d1c[_0x3e6e4f];return _0x4391f9;},_0x3e6e(_0x2241cf,_0x29f996);}export default class p extends _0x315562{[_0x448fc9(0x73)](_0x3329b1,_0x4ef6af){var _0x22d50a=_0x448fc9;return _0x4ef6af[_0x22d50a(0x78)](),_0x3329b1[_0x22d50a(0x75)][_0x22d50a(0x7f)](this[_0x22d50a(0x79)]),!0x0;}[_0x448fc9(0x7c)](_0x2f2a34,_0xaf87f0){var _0x44fb52=_0x448fc9;_0xaf87f0[_0x44fb52(0x75)][_0x44fb52(0x78)](),_0x2f2a34[_0x44fb52(0x7f)]({'__className':this[_0x44fb52(0x7d)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22b203=_0x361d;function _0x43e5(){const _0x32f3b1=['5013VjkpXj','_id','142992yhBLEM','_protobufDescriptor','776640rRbXND','compress','2621759fSbaaK','29485mdzZuJ','push','_operationName','29370FuPElj','types','shift','24NYqhJZ','buffers','__className','6610878uNivUT','1021872eEsxWu','532TQIIHk','decompress'];_0x43e5=function(){return _0x32f3b1;};return _0x43e5();}function _0x361d(_0x26603a,_0x237866){const _0x43e53b=_0x43e5();return _0x361d=function(_0x361d02,_0x14595f){_0x361d02=_0x361d02-0x10f;let _0x2654b5=_0x43e53b[_0x361d02];return _0x2654b5;},_0x361d(_0x26603a,_0x237866);}(function(_0x7d38b5,_0x2dbe44){const _0x4bfb51=_0x361d,_0x23e4c6=_0x7d38b5();while(!![]){try{const _0x6b4819=parseInt(_0x4bfb51(0x10f))/0x1+parseInt(_0x4bfb51(0x121))/0x2+-parseInt(_0x4bfb51(0x11c))/0x3+-parseInt(_0x4bfb51(0x11d))/0x4*(-parseInt(_0x4bfb51(0x112))/0x5)+-parseInt(_0x4bfb51(0x11b))/0x6+-parseInt(_0x4bfb51(0x111))/0x7*(parseInt(_0x4bfb51(0x118))/0x8)+parseInt(_0x4bfb51(0x11f))/0x9*(parseInt(_0x4bfb51(0x115))/0xa);if(_0x6b4819===_0x2dbe44)break;else _0x23e4c6['push'](_0x23e4c6['shift']());}catch(_0xff5612){_0x23e4c6['push'](_0x23e4c6['shift']());}}}(_0x43e5,0xab75a));import{parsePositionBeforeCompression as _0x24a4f2,parsePositionAfterCompression as _0x73b58c}from'../utils.js';export default class e{constructor(_0x33cb0b,_0x2905b8,_0x4da8a0){const _0x2bf3ae=_0x361d;this[_0x2bf3ae(0x120)]=_0x33cb0b,this[_0x2bf3ae(0x114)]=_0x2905b8,this[_0x2bf3ae(0x122)]=_0x4da8a0;}[_0x22b203(0x110)](_0x10dff0,_0x18f441){const _0x55dd60=_0x22b203,_0x14ef33=_0x18f441[_0x55dd60(0x117)]();return _0x24a4f2(_0x14ef33),_0x10dff0[_0x55dd60(0x119)][_0x55dd60(0x113)](this[_0x55dd60(0x122)][_0x55dd60(0x110)](_0x14ef33)),_0x10dff0[_0x55dd60(0x116)][_0x55dd60(0x113)](this[_0x55dd60(0x120)]),!0x0;}[_0x22b203(0x11e)](_0x45d4a1,_0x190364){const _0x379a88=_0x22b203;_0x190364[_0x379a88(0x116)][_0x379a88(0x117)]();const _0x820a88=this[_0x379a88(0x122)][_0x379a88(0x11e)](_0x190364[_0x379a88(0x119)][_0x379a88(0x117)]());_0x73b58c(_0x820a88),_0x820a88[_0x379a88(0x11a)]=this[_0x379a88(0x114)],_0x45d4a1[_0x379a88(0x113)](_0x820a88);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe714d0=_0x2106;(function(_0x5cb2b3,_0x58d605){const _0x1249db=_0x2106,_0x4810ef=_0x5cb2b3();while(!![]){try{const _0x36cdf2=-parseInt(_0x1249db(0x187))/0x1+-parseInt(_0x1249db(0x181))/0x2+parseInt(_0x1249db(0x180))/0x3*(parseInt(_0x1249db(0x184))/0x4)+parseInt(_0x1249db(0x188))/0x5*(-parseInt(_0x1249db(0x18d))/0x6)+parseInt(_0x1249db(0x17e))/0x7*(-parseInt(_0x1249db(0x186))/0x8)+-parseInt(_0x1249db(0x17d))/0x9+parseInt(_0x1249db(0x18a))/0xa;if(_0x36cdf2===_0x58d605)break;else _0x4810ef['push'](_0x4810ef['shift']());}catch(_0x102338){_0x4810ef['push'](_0x4810ef['shift']());}}}(_0x5231,0x37948));import{messages as _0x38028b}from'./lib/compiledmessages.js';function _0x2106(_0x4a9f29,_0x1540e3){const _0x5231ec=_0x5231();return _0x2106=function(_0x210661,_0x3a4b99){_0x210661=_0x210661-0x17a;let _0x8376d6=_0x5231ec[_0x210661];return _0x8376d6;},_0x2106(_0x4a9f29,_0x1540e3);}function _0x5231(){const _0x37b0ce=['1145MFydyq','compress','9358120ArRLkc','decode','verify','5634uNyqil','toObject','encode','create','getDescriptor','1770777ugCfRT','18298lizdjT','_protobuf','2943CArqfV','765858oLHFlj','decompress','finish','1476gOYkoO','_protobufRoot','640Xgxryu','66312YqNHdv'];_0x5231=function(){return _0x37b0ce;};return _0x5231();}export default class r{constructor(){const _0x487594=_0x2106;this[_0x487594(0x185)]=_0x38028b;}[_0xe714d0(0x17c)](_0x263a33){const _0x10ecb5=_0xe714d0;return new ProtobufDescriptor(this[_0x10ecb5(0x185)][_0x263a33]);}}export class ProtobufDescriptor{constructor(_0x10dde0){const _0x3fed00=_0xe714d0;this[_0x3fed00(0x17f)]=_0x10dde0;}[_0xe714d0(0x189)](_0x2f4134){const _0x4f71e7=_0xe714d0,_0x10ea53=this[_0x4f71e7(0x17f)][_0x4f71e7(0x18c)](_0x2f4134);if(_0x10ea53)throw Error(_0x10ea53);return this[_0x4f71e7(0x17f)][_0x4f71e7(0x17a)](this[_0x4f71e7(0x17f)][_0x4f71e7(0x17b)](_0x2f4134))[_0x4f71e7(0x183)]();}[_0xe714d0(0x182)](_0x1eb946){const _0x3286c9=_0xe714d0;return this[_0x3286c9(0x17f)][_0x3286c9(0x18e)](this[_0x3286c9(0x17f)][_0x3286c9(0x18b)](_0x1eb946),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa6f3a6,_0x5a121b){const _0x190167=_0x402e,_0x32f8f4=_0xa6f3a6();while(!![]){try{const _0x2ed711=parseInt(_0x190167(0x105))/0x1+-parseInt(_0x190167(0x104))/0x2+-parseInt(_0x190167(0xf8))/0x3+-parseInt(_0x190167(0xfc))/0x4*(-parseInt(_0x190167(0x102))/0x5)+parseInt(_0x190167(0xff))/0x6*(-parseInt(_0x190167(0xfd))/0x7)+parseInt(_0x190167(0x106))/0x8*(-parseInt(_0x190167(0xf6))/0x9)+parseInt(_0x190167(0xfe))/0xa;if(_0x2ed711===_0x5a121b)break;else _0x32f8f4['push'](_0x32f8f4['shift']());}catch(_0x432488){_0x32f8f4['push'](_0x32f8f4['shift']());}}}(_0x19b7,0x60e10));import{cloneDeep as _0x2db340,isEqual as _0xce8fcd,isObject as _0x470c78}from'lodash-es';export function getPositionShiftedBy(_0x478c25,_0x14f78f){const _0x1ccae3=_0x402e,_0x4c1086=_0x2db340(_0x478c25);return _0x4c1086[_0x1ccae3(0xfb)][_0x4c1086[_0x1ccae3(0xfb)][_0x1ccae3(0xf9)]-0x1]+=_0x14f78f,_0x4c1086;}export function arePositionsEqual(_0x1954c7,_0x4aae21){const _0x23a540=_0x402e;return _0x1954c7[_0x23a540(0x101)]===_0x4aae21[_0x23a540(0x101)]&&_0xce8fcd(_0x1954c7[_0x23a540(0xfb)],_0x4aae21[_0x23a540(0xfb)]);}export function parsePositionBeforeCompression(_0x186dc9){const _0x2fea08=_0x402e;P(_0x186dc9,_0x3d2350=>(_0x2fea08(0x100)==_0x3d2350[_0x2fea08(0x101)]?(_0x3d2350[_0x2fea08(0xf7)]=!0x0,delete _0x3d2350[_0x2fea08(0x101)]):_0x2fea08(0xf5)==_0x3d2350[_0x2fea08(0x101)]&&(_0x3d2350[_0x2fea08(0xfa)]=!0x0,delete _0x3d2350[_0x2fea08(0x101)]),_0x3d2350));}export function parsePositionAfterCompression(_0xfb7609){const _0x44afaa=_0x402e;P(_0xfb7609,_0x4764d0=>(_0x4764d0[_0x44afaa(0xf7)]?(_0x4764d0[_0x44afaa(0x101)]=_0x44afaa(0x100),delete _0x4764d0[_0x44afaa(0xf7)]):_0x4764d0[_0x44afaa(0xfa)]&&(_0x4764d0[_0x44afaa(0x101)]=_0x44afaa(0xf5),delete _0x4764d0[_0x44afaa(0xfa)]),_0x4764d0));}function _0x19b7(){const _0x208d1f=['length','rootGraveyard','path','124fsAXcf','3285310EJDLTR','17842090mrYyGN','6AAcPjj','main','root','27695vjFvau','nodes','691934mXYeXs','343235ytziAs','41112wwNdGY','$graveyard','774EFNMXu','rootMain','1935258RJOEEA'];_0x19b7=function(){return _0x208d1f;};return _0x19b7();}function _0x402e(_0x2f22c5,_0x3ecdcc){const _0x19b7ac=_0x19b7();return _0x402e=function(_0x402e4d,_0x57bc50){_0x402e4d=_0x402e4d-0xf5;let _0x1a73b0=_0x19b7ac[_0x402e4d];return _0x1a73b0;},_0x402e(_0x2f22c5,_0x3ecdcc);}function P(_0x8ff783,_0x4211ef){const _0x3df290=_0x402e;for(const _0x35249f in _0x8ff783){const _0x39a73a=_0x8ff783[_0x35249f];_0x3df290(0x103)!==_0x35249f&&_0x470c78(_0x39a73a)&&(_0x39a73a[_0x3df290(0xfb)]&&(_0x39a73a[_0x3df290(0x101)]||_0x39a73a[_0x3df290(0xf7)]||_0x39a73a[_0x3df290(0xfa)])?_0x8ff783[_0x35249f]=_0x4211ef(_0x39a73a):P(_0x39a73a,_0x4211ef));}return _0x8ff783;}
|