@ckeditor/ckeditor5-operations-compressor 45.1.0 → 45.2.0-alpha.1
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
|
+
const _0x375e3e=_0x4505;function _0x4505(_0x281d27,_0x154849){const _0x2db5d0=_0x2db5();return _0x4505=function(_0x450501,_0xbcd08b){_0x450501=_0x450501-0x70;let _0x54e61a=_0x2db5d0[_0x450501];return _0x54e61a;},_0x4505(_0x281d27,_0x154849);}(function(_0x49f4c5,_0x3393de){const _0x25f351=_0x4505,_0x71a6ea=_0x49f4c5();while(!![]){try{const _0x4e5e54=-parseInt(_0x25f351(0x78))/0x1*(-parseInt(_0x25f351(0x77))/0x2)+-parseInt(_0x25f351(0x73))/0x3*(-parseInt(_0x25f351(0x7f))/0x4)+parseInt(_0x25f351(0x79))/0x5*(-parseInt(_0x25f351(0x7e))/0x6)+-parseInt(_0x25f351(0x70))/0x7*(-parseInt(_0x25f351(0x7d))/0x8)+-parseInt(_0x25f351(0x74))/0x9*(parseInt(_0x25f351(0x71))/0xa)+parseInt(_0x25f351(0x72))/0xb+-parseInt(_0x25f351(0x7b))/0xc*(parseInt(_0x25f351(0x80))/0xd);if(_0x4e5e54===_0x3393de)break;else _0x71a6ea['push'](_0x71a6ea['shift']());}catch(_0x6cec6e){_0x71a6ea['push'](_0x71a6ea['shift']());}}}(_0x2db5,0xd7885));function _0x2db5(){const _0x408ddb=['899406KokwDz','1187444tUbrAD','13MYdlLI','14nyyvMA','20180tVLLvK','4640548RaVRbv','6VUnQVM','1431BfHXiH','newRange','oldRange','601874amrawv','5OtYPpF','5NoVpHh','decompress','20053428SHqwLX','length','2017712cZhalR'];_0x2db5=function(){return _0x408ddb;};return _0x2db5();}import _0x54f688 from'./operationcompressor.js';export default class n extends _0x54f688{[_0x375e3e(0x7a)](_0x1caef2,_0x31709f){const _0x3acf6a=_0x375e3e;super[_0x3acf6a(0x7a)](_0x1caef2,_0x31709f);const _0x343261=_0x1caef2[_0x1caef2[_0x3acf6a(0x7c)]-0x1];_0x343261[_0x3acf6a(0x76)]||(_0x343261[_0x3acf6a(0x76)]=null),_0x343261[_0x3acf6a(0x75)]||(_0x343261[_0x3acf6a(0x75)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x4dd8ad=_0x2ea4;function _0x35f2(){var _0x270a36=['692157ChAUnv','520560SxMYUr','30hcEIDy','8flqlIo','push','184700PINkyS','44156oxpGYZ','2882285LAPkfN','decompress','types','127830JVazZY','shift','_operationName','compress','13507047RPRasj','_id'];_0x35f2=function(){return _0x270a36;};return _0x35f2();}function _0x2ea4(_0xded9bd,_0x1a1e80){var _0x35f2ec=_0x35f2();return _0x2ea4=function(_0x2ea4b0,_0x4d2f68){_0x2ea4b0=_0x2ea4b0-0x19b;var _0x2907e1=_0x35f2ec[_0x2ea4b0];return _0x2907e1;},_0x2ea4(_0xded9bd,_0x1a1e80);}(function(_0x2aa164,_0x379a6a){var _0x45a8f1=_0x2ea4,_0x4ffc67=_0x2aa164();while(!![]){try{var _0x2868fc=-parseInt(_0x45a8f1(0x19c))/0x1+parseInt(_0x45a8f1(0x19d))/0x2+-parseInt(_0x45a8f1(0x1a6))/0x3+parseInt(_0x45a8f1(0x1a2))/0x4+parseInt(_0x45a8f1(0x1a1))/0x5*(-parseInt(_0x45a8f1(0x19e))/0x6)+-parseInt(_0x45a8f1(0x1a3))/0x7*(parseInt(_0x45a8f1(0x19f))/0x8)+parseInt(_0x45a8f1(0x1aa))/0x9;if(_0x2868fc===_0x379a6a)break;else _0x4ffc67['push'](_0x4ffc67['shift']());}catch(_0x27fbf1){_0x4ffc67['push'](_0x4ffc67['shift']());}}}(_0x35f2,0x6ba30));import _0x4f3571 from'./operationcompressor.js';export default class p extends _0x4f3571{[_0x4dd8ad(0x1a9)](_0x3e1119,_0x433184){var _0x5cc8f8=_0x4dd8ad;return _0x433184[_0x5cc8f8(0x1a7)](),_0x3e1119[_0x5cc8f8(0x1a5)][_0x5cc8f8(0x1a0)](this[_0x5cc8f8(0x19b)]),!0x0;}[_0x4dd8ad(0x1a4)](_0x2ea216,_0x50081f){var _0x256b50=_0x4dd8ad;_0x50081f[_0x256b50(0x1a5)][_0x256b50(0x1a7)](),_0x2ea216[_0x256b50(0x1a0)]({'__className':this[_0x256b50(0x1a8)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x472356=_0x2afe;function _0x2b27(){const _0x744b55=['3324qvTArw','50283AxrrgH','681072liXYGB','buffers','__className','3656025aaIQNO','compress','107604uOHxLT','77rIuJDZ','2680296EXzbyP','40rApIRP','shift','_operationName','755798kNHxaJ','_protobufDescriptor','push','types','_id','decompress'];_0x2b27=function(){return _0x744b55;};return _0x2b27();}function _0x2afe(_0x22095e,_0x451e0b){const _0x2b27a9=_0x2b27();return _0x2afe=function(_0x2afe5e,_0x207306){_0x2afe5e=_0x2afe5e-0x152;let _0x1747b9=_0x2b27a9[_0x2afe5e];return _0x1747b9;},_0x2afe(_0x22095e,_0x451e0b);}(function(_0xcf6c9e,_0x46578c){const _0x4339f1=_0x2afe,_0xf8beec=_0xcf6c9e();while(!![]){try{const _0x239d89=parseInt(_0x4339f1(0x15b))/0x1+parseInt(_0x4339f1(0x163))/0x2+-parseInt(_0x4339f1(0x161))/0x3*(parseInt(_0x4339f1(0x158))/0x4)+-parseInt(_0x4339f1(0x153))/0x5+-parseInt(_0x4339f1(0x155))/0x6*(parseInt(_0x4339f1(0x156))/0x7)+parseInt(_0x4339f1(0x157))/0x8+parseInt(_0x4339f1(0x162))/0x9;if(_0x239d89===_0x46578c)break;else _0xf8beec['push'](_0xf8beec['shift']());}catch(_0x54f7f9){_0xf8beec['push'](_0xf8beec['shift']());}}}(_0x2b27,0x796f7));import{parsePositionBeforeCompression as _0x322b2f,parsePositionAfterCompression as _0x196609}from'../utils.js';export default class e{[_0x472356(0x15f)];[_0x472356(0x15a)];[_0x472356(0x15c)];constructor(_0x2dbdad,_0xd9923d,_0x4bc6f8){const _0x2d95b9=_0x472356;this[_0x2d95b9(0x15f)]=_0x2dbdad,this[_0x2d95b9(0x15a)]=_0xd9923d,this[_0x2d95b9(0x15c)]=_0x4bc6f8;}[_0x472356(0x154)](_0x306695,_0x449b86){const _0x26088b=_0x472356,_0x52490a=_0x449b86[_0x26088b(0x159)]();return _0x322b2f(_0x52490a),_0x306695[_0x26088b(0x164)][_0x26088b(0x15d)](this[_0x26088b(0x15c)][_0x26088b(0x154)](_0x52490a)),_0x306695[_0x26088b(0x15e)][_0x26088b(0x15d)](this[_0x26088b(0x15f)]),!0x0;}[_0x472356(0x160)](_0x310ad5,_0x32b636){const _0xe76d72=_0x472356;_0x32b636[_0xe76d72(0x15e)][_0xe76d72(0x159)]();const _0x6db1c2=this[_0xe76d72(0x15c)][_0xe76d72(0x160)](_0x32b636[_0xe76d72(0x164)][_0xe76d72(0x159)]());_0x196609(_0x6db1c2),_0x6db1c2[_0xe76d72(0x152)]=this[_0xe76d72(0x15a)],_0x310ad5[_0xe76d72(0x15d)](_0x6db1c2);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xe2d12d=_0x5868;(function(_0x161143,_0x421f61){const _0x2452e5=_0x5868,_0x553942=_0x161143();while(!![]){try{const _0x113487=parseInt(_0x2452e5(0x1f6))/0x1+-parseInt(_0x2452e5(0x205))/0x2+-parseInt(_0x2452e5(0x200))/0x3+-parseInt(_0x2452e5(0x1f8))/0x4*(-parseInt(_0x2452e5(0x1f4))/0x5)+-parseInt(_0x2452e5(0x1fe))/0x6*(-parseInt(_0x2452e5(0x1fb))/0x7)+parseInt(_0x2452e5(0x1f9))/0x8*(-parseInt(_0x2452e5(0x207))/0x9)+parseInt(_0x2452e5(0x202))/0xa;if(_0x113487===_0x421f61)break;else _0x553942['push'](_0x553942['shift']());}catch(_0x328601){_0x553942['push'](_0x553942['shift']());}}}(_0x499b,0x3064f));function _0x5868(_0xe8a4cf,_0x247b8b){const _0x499bdf=_0x499b();return _0x5868=function(_0x586819,_0x613ac6){_0x586819=_0x586819-0x1f3;let _0x18fceb=_0x499bdf[_0x586819];return _0x18fceb;},_0x5868(_0xe8a4cf,_0x247b8b);}function _0x499b(){const _0x26db35=['7425410IpvdiD','verify','getDescriptor','479010GkoyBP','decompress','1503fVAwrQ','compress','355ZAmmmy','finish','82373EnZlDB','toObject','4948naDgWi','18680EPKbUc','encode','9121xTKlPH','_protobuf','create','234QXXCIh','_protobufRoot','407655jcbWsN','decode'];_0x499b=function(){return _0x26db35;};return _0x499b();}import{messages as _0x5373d2}from'./lib/compiledmessages.js';export default class r{[_0xe2d12d(0x1ff)];constructor(){const _0x195730=_0xe2d12d;this[_0x195730(0x1ff)]=_0x5373d2;}[_0xe2d12d(0x204)](_0x2e0eb9){const _0x6b35a2=_0xe2d12d;return new ProtobufDescriptor(this[_0x6b35a2(0x1ff)][_0x2e0eb9]);}}export class ProtobufDescriptor{[_0xe2d12d(0x1fc)];constructor(_0x752cd7){const _0x4cb1b7=_0xe2d12d;this[_0x4cb1b7(0x1fc)]=_0x752cd7;}[_0xe2d12d(0x1f3)](_0x1c6005){const _0x6097e6=_0xe2d12d,_0x387c39=this[_0x6097e6(0x1fc)][_0x6097e6(0x203)](_0x1c6005);if(_0x387c39)throw Error(_0x387c39);return this[_0x6097e6(0x1fc)][_0x6097e6(0x1fa)](this[_0x6097e6(0x1fc)][_0x6097e6(0x1fd)](_0x1c6005))[_0x6097e6(0x1f5)]();}[_0xe2d12d(0x206)](_0x367f1c){const _0x514b29=_0xe2d12d;return this[_0x514b29(0x1fc)][_0x514b29(0x1f7)](this[_0x514b29(0x1fc)][_0x514b29(0x201)](_0x367f1c),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x260eda,_0x50b013){const _0x392bc3=_0x22cf,_0x3ff7bb=_0x260eda();while(!![]){try{const _0x39d77a=parseInt(_0x392bc3(0x185))/0x1*(-parseInt(_0x392bc3(0x18b))/0x2)+-parseInt(_0x392bc3(0x189))/0x3+parseInt(_0x392bc3(0x188))/0x4*(parseInt(_0x392bc3(0x191))/0x5)+parseInt(_0x392bc3(0x18e))/0x6*(parseInt(_0x392bc3(0x196))/0x7)+-parseInt(_0x392bc3(0x190))/0x8*(parseInt(_0x392bc3(0x192))/0x9)+parseInt(_0x392bc3(0x194))/0xa*(parseInt(_0x392bc3(0x18c))/0xb)+-parseInt(_0x392bc3(0x18d))/0xc;if(_0x39d77a===_0x50b013)break;else _0x3ff7bb['push'](_0x3ff7bb['shift']());}catch(_0x3ba4d7){_0x3ff7bb['push'](_0x3ff7bb['shift']());}}}(_0x17c8,0xcebd9));import{cloneDeep as _0x1b97fa,isEqual as _0x4f0568,isObject as _0x23e2f9}from'es-toolkit/compat';export function getPositionShiftedBy(_0x49c024,_0x181007){const _0x5bfab0=_0x22cf,_0x27fd75=_0x1b97fa(_0x49c024);return _0x27fd75[_0x5bfab0(0x187)][_0x27fd75[_0x5bfab0(0x187)][_0x5bfab0(0x18a)]-0x1]+=_0x181007,_0x27fd75;}export function arePositionsEqual(_0x3c03fb,_0x38b50d){const _0x2510f7=_0x22cf;return _0x3c03fb[_0x2510f7(0x183)]===_0x38b50d[_0x2510f7(0x183)]&&_0x4f0568(_0x3c03fb[_0x2510f7(0x187)],_0x38b50d[_0x2510f7(0x187)]);}function _0x22cf(_0x3dbdd2,_0x496f72){const _0x17c892=_0x17c8();return _0x22cf=function(_0x22cfd6,_0x94f3f9){_0x22cfd6=_0x22cfd6-0x183;let _0x229886=_0x17c892[_0x22cfd6];return _0x229886;},_0x22cf(_0x3dbdd2,_0x496f72);}export function parsePositionBeforeCompression(_0x3222f7){const _0x18171c=_0x22cf;P(_0x3222f7,_0x5410ba=>(_0x18171c(0x193)==_0x5410ba[_0x18171c(0x183)]?(_0x5410ba[_0x18171c(0x18f)]=!0x0,delete _0x5410ba[_0x18171c(0x183)]):_0x18171c(0x184)==_0x5410ba[_0x18171c(0x183)]&&(_0x5410ba[_0x18171c(0x195)]=!0x0,delete _0x5410ba[_0x18171c(0x183)]),_0x5410ba));}function _0x17c8(){const _0x193c05=['root','$graveyard','659105DELcpO','nodes','path','8tdWLAn','1195602zgXpOR','length','2ZSyAsa','14797101HnAZQi','10522512JwfQRY','6hFoXia','rootMain','81544nUhOyM','3455060jHxHOj','504zEDUHr','main','10zClKeY','rootGraveyard','4374419MzObXf'];_0x17c8=function(){return _0x193c05;};return _0x17c8();}export function parsePositionAfterCompression(_0x1e2ac6){const _0x9bda9b=_0x22cf;P(_0x1e2ac6,_0x2963b7=>(_0x2963b7[_0x9bda9b(0x18f)]?(_0x2963b7[_0x9bda9b(0x183)]=_0x9bda9b(0x193),delete _0x2963b7[_0x9bda9b(0x18f)]):_0x2963b7[_0x9bda9b(0x195)]&&(_0x2963b7[_0x9bda9b(0x183)]=_0x9bda9b(0x184),delete _0x2963b7[_0x9bda9b(0x195)]),_0x2963b7));}function P(_0x18e7f4,_0x5a20c2){const _0x341f47=_0x22cf;for(const _0x423cb6 in _0x18e7f4){const _0x1054ba=_0x18e7f4[_0x423cb6];_0x341f47(0x186)!==_0x423cb6&&_0x23e2f9(_0x1054ba)&&(_0x1054ba[_0x341f47(0x187)]&&(_0x1054ba[_0x341f47(0x183)]||_0x1054ba[_0x341f47(0x18f)]||_0x1054ba[_0x341f47(0x195)])?_0x18e7f4[_0x423cb6]=_0x5a20c2(_0x1054ba):P(_0x1054ba,_0x5a20c2));}return _0x18e7f4;}
|