@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.2 → 47.0.0-alpha.3
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
|
+
function _0x34d5(_0x27b13c,_0x457ae0){var _0x5614d9=_0x5614();return _0x34d5=function(_0x34d599,_0x5861ab){_0x34d599=_0x34d599-0x16c;var _0x570883=_0x5614d9[_0x34d599];return _0x570883;},_0x34d5(_0x27b13c,_0x457ae0);}var _0x12574c=_0x34d5;(function(_0x2fa5cb,_0x25a3e8){var _0xe981a=_0x34d5,_0x3cab17=_0x2fa5cb();while(!![]){try{var _0x3f06e2=parseInt(_0xe981a(0x16f))/0x1+-parseInt(_0xe981a(0x16c))/0x2*(-parseInt(_0xe981a(0x173))/0x3)+parseInt(_0xe981a(0x170))/0x4+parseInt(_0xe981a(0x17b))/0x5*(-parseInt(_0xe981a(0x177))/0x6)+parseInt(_0xe981a(0x17a))/0x7*(parseInt(_0xe981a(0x171))/0x8)+parseInt(_0xe981a(0x17c))/0x9*(parseInt(_0xe981a(0x176))/0xa)+-parseInt(_0xe981a(0x179))/0xb;if(_0x3f06e2===_0x25a3e8)break;else _0x3cab17['push'](_0x3cab17['shift']());}catch(_0x3c21ec){_0x3cab17['push'](_0x3cab17['shift']());}}}(_0x5614,0x2e686));function _0x5614(){var _0x3c47f2=['298270IdaMlK','1483036fZzTbZ','487304WQJUCL','_id','22164JxaCFz','push','_operationName','10cjuwUD','258666LgUxqg','decompress','13047738PBhAkI','21vyoSff','15LvCBMr','3091617IiUsgA','compress','84bOBjsd','types','shift'];_0x5614=function(){return _0x3c47f2;};return _0x5614();}import{OperationCompressor as _0x57c621}from'./operationcompressor.js';export class NoOperationCompressor extends _0x57c621{[_0x12574c(0x17d)](_0x1b022c,_0x342402){var _0x5a0a67=_0x12574c;return _0x342402[_0x5a0a67(0x16e)](),_0x1b022c[_0x5a0a67(0x16d)][_0x5a0a67(0x174)](this[_0x5a0a67(0x172)]),!0x0;}[_0x12574c(0x178)](_0x4af8a9,_0x437d58){var _0x558349=_0x12574c;_0x437d58[_0x558349(0x16d)][_0x558349(0x16e)](),_0x4af8a9[_0x558349(0x174)]({'__className':this[_0x558349(0x175)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xf00f(_0x288dac,_0x1910d0){const _0x23bcc4=_0x23bc();return _0xf00f=function(_0xf00fc2,_0x5778bd){_0xf00fc2=_0xf00fc2-0x1da;let _0x363c54=_0x23bcc4[_0xf00fc2];return _0x363c54;},_0xf00f(_0x288dac,_0x1910d0);}const _0x54705f=_0xf00f;function _0x23bc(){const _0x29b89b=['buffers','697266waYnXM','811053OoGskK','_operationName','1200510VXgYot','4048TElitr','compress','52ohIFIG','__className','540736MFFetF','2807lTFDCJ','push','1013ORtLRe','types','decompress','_protobufDescriptor','1430040XRDYfb','_id','shift'];_0x23bc=function(){return _0x29b89b;};return _0x23bc();}(function(_0x32e33b,_0x5b90c7){const _0x55392c=_0xf00f,_0x3b3f33=_0x32e33b();while(!![]){try{const _0x18eb69=parseInt(_0x55392c(0x1e1))/0x1*(-parseInt(_0x55392c(0x1dc))/0x2)+parseInt(_0x55392c(0x1ea))/0x3+parseInt(_0x55392c(0x1de))/0x4+parseInt(_0x55392c(0x1e5))/0x5+-parseInt(_0x55392c(0x1ec))/0x6+parseInt(_0x55392c(0x1df))/0x7*(-parseInt(_0x55392c(0x1da))/0x8)+-parseInt(_0x55392c(0x1e9))/0x9;if(_0x18eb69===_0x5b90c7)break;else _0x3b3f33['push'](_0x3b3f33['shift']());}catch(_0x146e8b){_0x3b3f33['push'](_0x3b3f33['shift']());}}}(_0x23bc,0x2d1a4));import{parsePositionBeforeCompression as _0x5b2c43,parsePositionAfterCompression as _0x234251}from'../utils.js';export class OperationCompressor{[_0x54705f(0x1e6)];[_0x54705f(0x1eb)];[_0x54705f(0x1e4)];constructor(_0x406efc,_0x494c16,_0x2e6795){const _0x130bcc=_0x54705f;this[_0x130bcc(0x1e6)]=_0x406efc,this[_0x130bcc(0x1eb)]=_0x494c16,this[_0x130bcc(0x1e4)]=_0x2e6795;}[_0x54705f(0x1db)](_0xbed3b6,_0x5345f5){const _0x1fe2f4=_0x54705f,_0x2733f9=_0x5345f5[_0x1fe2f4(0x1e7)]();return _0x5b2c43(_0x2733f9),_0xbed3b6[_0x1fe2f4(0x1e8)][_0x1fe2f4(0x1e0)](this[_0x1fe2f4(0x1e4)][_0x1fe2f4(0x1db)](_0x2733f9)),_0xbed3b6[_0x1fe2f4(0x1e2)][_0x1fe2f4(0x1e0)](this[_0x1fe2f4(0x1e6)]),!0x0;}[_0x54705f(0x1e3)](_0x10bf13,_0x47b8b9){const _0x1e2bc9=_0x54705f;_0x47b8b9[_0x1e2bc9(0x1e2)][_0x1e2bc9(0x1e7)]();const _0x4c959f=this[_0x1e2bc9(0x1e4)][_0x1e2bc9(0x1e3)](_0x47b8b9[_0x1e2bc9(0x1e8)][_0x1e2bc9(0x1e7)]());_0x234251(_0x4c959f),_0x4c959f[_0x1e2bc9(0x1dd)]=this[_0x1e2bc9(0x1eb)],_0x10bf13[_0x1e2bc9(0x1e0)](_0x4c959f);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5d94(){const _0x2ca421=['28EgMzrx','_protobuf','92qpSYpE','verify','decompress','decode','3049520RAhMNJ','getDescriptor','toObject','26442dJNCqE','_protobufRoot','14295VqqOMI','315qusiYv','134994EVTqlV','384816Iqxivt','3372cLstpe','1091088ZKgYpS','encode','finish','compress','create'];_0x5d94=function(){return _0x2ca421;};return _0x5d94();}const _0x3b0fad=_0x1c03;function _0x1c03(_0x197cc5,_0x584d5a){const _0x5d9417=_0x5d94();return _0x1c03=function(_0x1c0352,_0x51f5d7){_0x1c0352=_0x1c0352-0x186;let _0x3844dd=_0x5d9417[_0x1c0352];return _0x3844dd;},_0x1c03(_0x197cc5,_0x584d5a);}(function(_0x5af9a5,_0x485365){const _0x198fba=_0x1c03,_0x5a2eda=_0x5af9a5();while(!![]){try{const _0x35e252=-parseInt(_0x198fba(0x18d))/0x1+-parseInt(_0x198fba(0x195))/0x2*(parseInt(_0x198fba(0x18f))/0x3)+-parseInt(_0x198fba(0x197))/0x4*(parseInt(_0x198fba(0x18b))/0x5)+-parseInt(_0x198fba(0x189))/0x6*(-parseInt(_0x198fba(0x18c))/0x7)+-parseInt(_0x198fba(0x18e))/0x8+-parseInt(_0x198fba(0x190))/0x9+parseInt(_0x198fba(0x186))/0xa;if(_0x35e252===_0x485365)break;else _0x5a2eda['push'](_0x5a2eda['shift']());}catch(_0x4e332a){_0x5a2eda['push'](_0x5a2eda['shift']());}}}(_0x5d94,0x1cac6));import{messages as _0x413c04}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x3b0fad(0x18a)];constructor(){const _0x2162b8=_0x3b0fad;this[_0x2162b8(0x18a)]=_0x413c04;}[_0x3b0fad(0x187)](_0x1268be){const _0x8e9762=_0x3b0fad;return new ProtobufDescriptor(this[_0x8e9762(0x18a)][_0x1268be]);}}export class ProtobufDescriptor{[_0x3b0fad(0x196)];constructor(_0x5afae1){const _0x14fc78=_0x3b0fad;this[_0x14fc78(0x196)]=_0x5afae1;}[_0x3b0fad(0x193)](_0x248c6a){const _0x46b4a7=_0x3b0fad,_0x3511a8=this[_0x46b4a7(0x196)][_0x46b4a7(0x198)](_0x248c6a);if(_0x3511a8)throw Error(_0x3511a8);return this[_0x46b4a7(0x196)][_0x46b4a7(0x191)](this[_0x46b4a7(0x196)][_0x46b4a7(0x194)](_0x248c6a))[_0x46b4a7(0x192)]();}[_0x3b0fad(0x199)](_0x2f33fb){const _0xca2f2e=_0x3b0fad;return this[_0xca2f2e(0x196)][_0xca2f2e(0x188)](this[_0xca2f2e(0x196)][_0xca2f2e(0x19a)](_0x2f33fb),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x37a0be,_0x494eb3){const _0x13a25b=_0x5a61,_0x37af94=_0x37a0be();while(!![]){try{const _0x3d5dda=parseInt(_0x13a25b(0x77))/0x1*(-parseInt(_0x13a25b(0x72))/0x2)+parseInt(_0x13a25b(0x74))/0x3+parseInt(_0x13a25b(0x6c))/0x4*(parseInt(_0x13a25b(0x6f))/0x5)+-parseInt(_0x13a25b(0x7c))/0x6+parseInt(_0x13a25b(0x7d))/0x7+parseInt(_0x13a25b(0x76))/0x8*(-parseInt(_0x13a25b(0x71))/0x9)+-parseInt(_0x13a25b(0x6e))/0xa*(-parseInt(_0x13a25b(0x70))/0xb);if(_0x3d5dda===_0x494eb3)break;else _0x37af94['push'](_0x37af94['shift']());}catch(_0x2f2ed1){_0x37af94['push'](_0x37af94['shift']());}}}(_0x2e36,0xbc8f5));function _0x5a61(_0x3906cd,_0x2f894e){const _0x2e3687=_0x2e36();return _0x5a61=function(_0x5a61b6,_0x49ca33){_0x5a61b6=_0x5a61b6-0x6b;let _0x16c888=_0x2e3687[_0x5a61b6];return _0x16c888;},_0x5a61(_0x3906cd,_0x2f894e);}import{cloneDeep as _0x524c0d,isEqual as _0x3571d1,isObject as _0x287273}from'es-toolkit/compat';function _0x2e36(){const _0x1e4951=['18305270WuCBUr','95095RblcKx','11YYDEWi','72dRgKJK','1564324kWjwrL','main','626982xTmemD','root','479080xdxPGn','1nUUgiO','nodes','rootMain','rootGraveyard','$graveyard','4228476zKAGaF','2362129zinydG','length','76zYyBgl','path'];_0x2e36=function(){return _0x1e4951;};return _0x2e36();}export function getPositionShiftedBy(_0x33c90f,_0x1f3ab7){const _0x43f5d8=_0x5a61,_0x24e898=_0x524c0d(_0x33c90f);return _0x24e898[_0x43f5d8(0x6d)][_0x24e898[_0x43f5d8(0x6d)][_0x43f5d8(0x6b)]-0x1]+=_0x1f3ab7,_0x24e898;}export function arePositionsEqual(_0x1926c5,_0x55d7e6){const _0x670a97=_0x5a61;return _0x1926c5[_0x670a97(0x75)]===_0x55d7e6[_0x670a97(0x75)]&&_0x3571d1(_0x1926c5[_0x670a97(0x6d)],_0x55d7e6[_0x670a97(0x6d)]);}export function parsePositionBeforeCompression(_0x1358cf){const _0x2b2659=_0x5a61;P(_0x1358cf,_0x406b7c=>(_0x2b2659(0x73)==_0x406b7c[_0x2b2659(0x75)]?(_0x406b7c[_0x2b2659(0x79)]=!0x0,delete _0x406b7c[_0x2b2659(0x75)]):_0x2b2659(0x7b)==_0x406b7c[_0x2b2659(0x75)]&&(_0x406b7c[_0x2b2659(0x7a)]=!0x0,delete _0x406b7c[_0x2b2659(0x75)]),_0x406b7c));}export function parsePositionAfterCompression(_0x183b33){const _0x58205e=_0x5a61;P(_0x183b33,_0x12b43f=>(_0x12b43f[_0x58205e(0x79)]?(_0x12b43f[_0x58205e(0x75)]=_0x58205e(0x73),delete _0x12b43f[_0x58205e(0x79)]):_0x12b43f[_0x58205e(0x7a)]&&(_0x12b43f[_0x58205e(0x75)]=_0x58205e(0x7b),delete _0x12b43f[_0x58205e(0x7a)]),_0x12b43f));}function P(_0x58720d,_0x3d4091){const _0x5461e0=_0x5a61;for(const _0x3a19c5 in _0x58720d){const _0x53c3c6=_0x58720d[_0x3a19c5];_0x5461e0(0x78)!==_0x3a19c5&&_0x287273(_0x53c3c6)&&(_0x53c3c6[_0x5461e0(0x6d)]&&(_0x53c3c6[_0x5461e0(0x75)]||_0x53c3c6[_0x5461e0(0x79)]||_0x53c3c6[_0x5461e0(0x7a)])?_0x58720d[_0x3a19c5]=_0x3d4091(_0x53c3c6):P(_0x53c3c6,_0x3d4091));}return _0x58720d;}
|