@ckeditor/ckeditor5-operations-compressor 44.3.0-alpha.4 → 44.3.0-alpha.5
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
|
-
const
|
|
23
|
+
const _0x136e5b=_0x5571;(function(_0x16b6e4,_0x35f683){const _0x37ffda=_0x5571,_0xdd87af=_0x16b6e4();while(!![]){try{const _0x505ac3=parseInt(_0x37ffda(0xb4))/0x1+-parseInt(_0x37ffda(0xb6))/0x2+-parseInt(_0x37ffda(0xb2))/0x3*(-parseInt(_0x37ffda(0xb1))/0x4)+-parseInt(_0x37ffda(0xba))/0x5+parseInt(_0x37ffda(0xb5))/0x6*(-parseInt(_0x37ffda(0xb3))/0x7)+parseInt(_0x37ffda(0xb8))/0x8*(-parseInt(_0x37ffda(0xb9))/0x9)+parseInt(_0x37ffda(0xb0))/0xa;if(_0x505ac3===_0x35f683)break;else _0xdd87af['push'](_0xdd87af['shift']());}catch(_0xa40759){_0xdd87af['push'](_0xdd87af['shift']());}}}(_0x20af,0x23006));import _0x2e66de from'./operationcompressor.js';function _0x5571(_0x1c390e,_0x413766){const _0x20af5e=_0x20af();return _0x5571=function(_0x557117,_0x651ec6){_0x557117=_0x557117-0xaf;let _0x1d661d=_0x20af5e[_0x557117];return _0x1d661d;},_0x5571(_0x1c390e,_0x413766);}export default class n extends _0x2e66de{[_0x136e5b(0xbb)](_0x32b8c9,_0x2ae00c){const _0x2147fa=_0x136e5b;super[_0x2147fa(0xbb)](_0x32b8c9,_0x2ae00c);const _0x25a96=_0x32b8c9[_0x32b8c9[_0x2147fa(0xb7)]-0x1];_0x25a96[_0x2147fa(0xbc)]||(_0x25a96[_0x2147fa(0xbc)]=null),_0x25a96[_0x2147fa(0xaf)]||(_0x25a96[_0x2147fa(0xaf)]=null);}}function _0x20af(){const _0x561f45=['oldRange','newRange','4353800aTpsik','42780kFkDQd','45zhwcip','7hFYBRd','43511imHnAz','436614MSWQlW','565140murlNT','length','122128NMcUUq','18UvRexn','550395bowqFI','decompress'];_0x20af=function(){return _0x561f45;};return _0x20af();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x56e129=_0x4c20;(function(_0x577ec5,_0x27a0e3){var _0x495b31=_0x4c20,_0x1e4322=_0x577ec5();while(!![]){try{var _0x26cea4=parseInt(_0x495b31(0x12c))/0x1+-parseInt(_0x495b31(0x122))/0x2*(-parseInt(_0x495b31(0x131))/0x3)+parseInt(_0x495b31(0x12a))/0x4*(parseInt(_0x495b31(0x127))/0x5)+-parseInt(_0x495b31(0x129))/0x6+-parseInt(_0x495b31(0x126))/0x7+-parseInt(_0x495b31(0x125))/0x8+parseInt(_0x495b31(0x128))/0x9;if(_0x26cea4===_0x27a0e3)break;else _0x1e4322['push'](_0x1e4322['shift']());}catch(_0x36ec27){_0x1e4322['push'](_0x1e4322['shift']());}}}(_0x27bd,0x6af60));import _0x57fbbe from'./operationcompressor.js';function _0x4c20(_0xfb9e95,_0x5e7ec9){var _0x27bd75=_0x27bd();return _0x4c20=function(_0x4c20a3,_0x33ff7c){_0x4c20a3=_0x4c20a3-0x122;var _0x1a4f9e=_0x27bd75[_0x4c20a3];return _0x1a4f9e;},_0x4c20(_0xfb9e95,_0x5e7ec9);}export default class p extends _0x57fbbe{[_0x56e129(0x124)](_0x5b5121,_0x330971){var _0x168cd5=_0x56e129;return _0x330971[_0x168cd5(0x12f)](),_0x5b5121[_0x168cd5(0x12d)][_0x168cd5(0x123)](this[_0x168cd5(0x130)]),!0x0;}[_0x56e129(0x12e)](_0x270710,_0x43bac3){var _0x4312a0=_0x56e129;_0x43bac3[_0x4312a0(0x12d)][_0x4312a0(0x12f)](),_0x270710[_0x4312a0(0x123)]({'__className':this[_0x4312a0(0x12b)]});}}function _0x27bd(){var _0x50fb3a=['75NlhDsJ','38510JwNdWx','push','compress','6523816YreAWO','4010069VhkoTu','20HRdPBV','10059210FLEBEZ','1327158gCavfP','168792wyAOYE','_operationName','279792eFjheT','types','decompress','shift','_id'];_0x27bd=function(){return _0x50fb3a;};return _0x27bd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x176a(_0x376c00,_0x34ecd6){const _0x2a9565=_0x2a95();return _0x176a=function(_0x176aad,_0x3b1add){_0x176aad=_0x176aad-0xf1;let _0x1c4c37=_0x2a9565[_0x176aad];return _0x1c4c37;},_0x176a(_0x376c00,_0x34ecd6);}const _0x4d18c1=_0x176a;(function(_0x1e2505,_0x2c9f1a){const _0x3317a3=_0x176a,_0x1beee7=_0x1e2505();while(!![]){try{const _0x3f50fe=-parseInt(_0x3317a3(0xf6))/0x1+parseInt(_0x3317a3(0xff))/0x2+-parseInt(_0x3317a3(0xf7))/0x3+parseInt(_0x3317a3(0xfd))/0x4*(parseInt(_0x3317a3(0xfe))/0x5)+-parseInt(_0x3317a3(0xf9))/0x6*(parseInt(_0x3317a3(0xf8))/0x7)+parseInt(_0x3317a3(0x100))/0x8+parseInt(_0x3317a3(0x102))/0x9;if(_0x3f50fe===_0x2c9f1a)break;else _0x1beee7['push'](_0x1beee7['shift']());}catch(_0x31206e){_0x1beee7['push'](_0x1beee7['shift']());}}}(_0x2a95,0x50a76));import{parsePositionBeforeCompression as _0x37ee92,parsePositionAfterCompression as _0x2a0804}from'../utils.js';function _0x2a95(){const _0x4a7c02=['__className','types','_operationName','4YkJdVJ','1166485KYBwlh','37196MznXeb','3207656GYJjru','shift','2588049oprZLS','compress','_protobufDescriptor','push','decompress','_id','buffers','245919TkSpPU','375255JWDiiC','1939DcFpVU','5178cuzPKQ'];_0x2a95=function(){return _0x4a7c02;};return _0x2a95();}export default class e{constructor(_0x557370,_0x58f05a,_0x30c1ca){const _0xdfbb09=_0x176a;this[_0xdfbb09(0xf4)]=_0x557370,this[_0xdfbb09(0xfc)]=_0x58f05a,this[_0xdfbb09(0xf1)]=_0x30c1ca;}[_0x4d18c1(0x103)](_0x1ae7a1,_0x31b27d){const _0x221c20=_0x4d18c1,_0x1caaf9=_0x31b27d[_0x221c20(0x101)]();return _0x37ee92(_0x1caaf9),_0x1ae7a1[_0x221c20(0xf5)][_0x221c20(0xf2)](this[_0x221c20(0xf1)][_0x221c20(0x103)](_0x1caaf9)),_0x1ae7a1[_0x221c20(0xfb)][_0x221c20(0xf2)](this[_0x221c20(0xf4)]),!0x0;}[_0x4d18c1(0xf3)](_0xbed79a,_0x150f61){const _0x189c65=_0x4d18c1;_0x150f61[_0x189c65(0xfb)][_0x189c65(0x101)]();const _0x23546c=this[_0x189c65(0xf1)][_0x189c65(0xf3)](_0x150f61[_0x189c65(0xf5)][_0x189c65(0x101)]());_0x2a0804(_0x23546c),_0x23546c[_0x189c65(0xfa)]=this[_0x189c65(0xfc)],_0xbed79a[_0x189c65(0xf2)](_0x23546c);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5a8729=_0x2608;function _0x1805(){const _0x12402b=['2550460XapQXz','_protobuf','compress','verify','getDescriptor','131443mrxIQS','toObject','encode','11582184QblUsn','create','1661432ZdiWKs','1736148EJJeGi','265xdcVyk','finish','6DqOQkC','16135ZZTKog','_protobufRoot','9YUypfM','decode','39464FAxfQj','3090zcxaZu','decompress','22AbJWDR'];_0x1805=function(){return _0x12402b;};return _0x1805();}(function(_0x54d650,_0x5273d4){const _0x4d85b2=_0x2608,_0x423175=_0x54d650();while(!![]){try{const _0x3dfa7e=-parseInt(_0x4d85b2(0x138))/0x1*(-parseInt(_0x4d85b2(0x12a))/0x2)+-parseInt(_0x4d85b2(0x127))/0x3+-parseInt(_0x4d85b2(0x12f))/0x4*(-parseInt(_0x4d85b2(0x128))/0x5)+-parseInt(_0x4d85b2(0x130))/0x6*(parseInt(_0x4d85b2(0x12b))/0x7)+parseInt(_0x4d85b2(0x126))/0x8*(-parseInt(_0x4d85b2(0x12d))/0x9)+-parseInt(_0x4d85b2(0x133))/0xa+parseInt(_0x4d85b2(0x132))/0xb*(parseInt(_0x4d85b2(0x124))/0xc);if(_0x3dfa7e===_0x5273d4)break;else _0x423175['push'](_0x423175['shift']());}catch(_0x39f1fa){_0x423175['push'](_0x423175['shift']());}}}(_0x1805,0x97243));import{messages as _0x81add7}from'./lib/compiledmessages.js';function _0x2608(_0x5d7e91,_0x509ff1){const _0x18054a=_0x1805();return _0x2608=function(_0x260885,_0x466d2e){_0x260885=_0x260885-0x124;let _0x433525=_0x18054a[_0x260885];return _0x433525;},_0x2608(_0x5d7e91,_0x509ff1);}export default class r{constructor(){const _0x4f95e9=_0x2608;this[_0x4f95e9(0x12c)]=_0x81add7;}[_0x5a8729(0x137)](_0x59daa4){const _0x5299c9=_0x5a8729;return new ProtobufDescriptor(this[_0x5299c9(0x12c)][_0x59daa4]);}}export class ProtobufDescriptor{constructor(_0x8600fb){const _0x478a77=_0x5a8729;this[_0x478a77(0x134)]=_0x8600fb;}[_0x5a8729(0x135)](_0x163d9b){const _0x72688e=_0x5a8729,_0xad9711=this[_0x72688e(0x134)][_0x72688e(0x136)](_0x163d9b);if(_0xad9711)throw Error(_0xad9711);return this[_0x72688e(0x134)][_0x72688e(0x13a)](this[_0x72688e(0x134)][_0x72688e(0x125)](_0x163d9b))[_0x72688e(0x129)]();}[_0x5a8729(0x131)](_0x366a43){const _0x14bb6f=_0x5a8729;return this[_0x14bb6f(0x134)][_0x14bb6f(0x139)](this[_0x14bb6f(0x134)][_0x14bb6f(0x12e)](_0x366a43),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x459f28,_0x11e489){const _0x2f3cb0=_0x20c2,_0x347e40=_0x459f28();while(!![]){try{const _0x3bb3e4=parseInt(_0x2f3cb0(0x144))/0x1*(-parseInt(_0x2f3cb0(0x13f))/0x2)+-parseInt(_0x2f3cb0(0x142))/0x3+parseInt(_0x2f3cb0(0x13c))/0x4*(-parseInt(_0x2f3cb0(0x141))/0x5)+parseInt(_0x2f3cb0(0x138))/0x6+-parseInt(_0x2f3cb0(0x13b))/0x7+parseInt(_0x2f3cb0(0x13d))/0x8+parseInt(_0x2f3cb0(0x137))/0x9;if(_0x3bb3e4===_0x11e489)break;else _0x347e40['push'](_0x347e40['shift']());}catch(_0x3e29a1){_0x347e40['push'](_0x347e40['shift']());}}}(_0x55df,0x9edab));import{cloneDeep as _0x391833,isEqual as _0x4c34fa,isObject as _0x377953}from'lodash-es';function _0x55df(){const _0x20e62b=['1865157hgAxyk','164aMOKQn','6170048noSHlo','$graveyard','238138CeCpHm','path','40595NtrLRE','2691714lQTAYf','rootMain','9BmEXxu','main','length','rootGraveyard','16480395FhMGEq','3698670olYkDE','root','nodes'];_0x55df=function(){return _0x20e62b;};return _0x55df();}export function getPositionShiftedBy(_0x5ef987,_0x3aaaed){const _0x204f20=_0x20c2,_0x681576=_0x391833(_0x5ef987);return _0x681576[_0x204f20(0x140)][_0x681576[_0x204f20(0x140)][_0x204f20(0x146)]-0x1]+=_0x3aaaed,_0x681576;}export function arePositionsEqual(_0x3d5f6a,_0x928623){const _0x42da4b=_0x20c2;return _0x3d5f6a[_0x42da4b(0x139)]===_0x928623[_0x42da4b(0x139)]&&_0x4c34fa(_0x3d5f6a[_0x42da4b(0x140)],_0x928623[_0x42da4b(0x140)]);}export function parsePositionBeforeCompression(_0xb25ccf){const _0x13d0e3=_0x20c2;P(_0xb25ccf,_0x5afb65=>(_0x13d0e3(0x145)==_0x5afb65[_0x13d0e3(0x139)]?(_0x5afb65[_0x13d0e3(0x143)]=!0x0,delete _0x5afb65[_0x13d0e3(0x139)]):_0x13d0e3(0x13e)==_0x5afb65[_0x13d0e3(0x139)]&&(_0x5afb65[_0x13d0e3(0x147)]=!0x0,delete _0x5afb65[_0x13d0e3(0x139)]),_0x5afb65));}export function parsePositionAfterCompression(_0x4cbd97){const _0x58cbe2=_0x20c2;P(_0x4cbd97,_0xc3042=>(_0xc3042[_0x58cbe2(0x143)]?(_0xc3042[_0x58cbe2(0x139)]=_0x58cbe2(0x145),delete _0xc3042[_0x58cbe2(0x143)]):_0xc3042[_0x58cbe2(0x147)]&&(_0xc3042[_0x58cbe2(0x139)]=_0x58cbe2(0x13e),delete _0xc3042[_0x58cbe2(0x147)]),_0xc3042));}function _0x20c2(_0x37bfda,_0x463ec1){const _0x55df73=_0x55df();return _0x20c2=function(_0x20c251,_0x352f80){_0x20c251=_0x20c251-0x137;let _0x271e0a=_0x55df73[_0x20c251];return _0x271e0a;},_0x20c2(_0x37bfda,_0x463ec1);}function P(_0x21f73c,_0x57f70e){const _0x3e8ff6=_0x20c2;for(const _0x269770 in _0x21f73c){const _0xc6b937=_0x21f73c[_0x269770];_0x3e8ff6(0x13a)!==_0x269770&&_0x377953(_0xc6b937)&&(_0xc6b937[_0x3e8ff6(0x140)]&&(_0xc6b937[_0x3e8ff6(0x139)]||_0xc6b937[_0x3e8ff6(0x143)]||_0xc6b937[_0x3e8ff6(0x147)])?_0x21f73c[_0x269770]=_0x57f70e(_0xc6b937):P(_0xc6b937,_0x57f70e));}return _0x21f73c;}
|