@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.4 → 47.3.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
|
+
function _0x451f(){var _0xa70682=['309518XLAXoq','types','3100405yHxbQU','shift','481080VFCndC','1917368uyYgGK','968859kuRgkT','push','1263568DPsXRP','3lphYxe','90294FAvOYB','compress','_operationName','50RsAxvK','_id','decompress','15LgYRws'];_0x451f=function(){return _0xa70682;};return _0x451f();}var _0xe4c71f=_0x35c0;function _0x35c0(_0xa2ee2e,_0x4ccc62){var _0x451f16=_0x451f();return _0x35c0=function(_0x35c0e3,_0x30e758){_0x35c0e3=_0x35c0e3-0xad;var _0x4017e7=_0x451f16[_0x35c0e3];return _0x4017e7;},_0x35c0(_0xa2ee2e,_0x4ccc62);}(function(_0x1fcb3d,_0x1824a1){var _0x83f431=_0x35c0,_0x25f4e6=_0x1fcb3d();while(!![]){try{var _0xd9223a=-parseInt(_0x83f431(0xad))/0x1+-parseInt(_0x83f431(0xba))/0x2*(-parseInt(_0x83f431(0xb2))/0x3)+parseInt(_0x83f431(0xae))/0x4+parseInt(_0x83f431(0xb9))/0x5*(parseInt(_0x83f431(0xb3))/0x6)+parseInt(_0x83f431(0xbc))/0x7+parseInt(_0x83f431(0xb1))/0x8+-parseInt(_0x83f431(0xaf))/0x9*(parseInt(_0x83f431(0xb6))/0xa);if(_0xd9223a===_0x1824a1)break;else _0x25f4e6['push'](_0x25f4e6['shift']());}catch(_0x5b882b){_0x25f4e6['push'](_0x25f4e6['shift']());}}}(_0x451f,0x3faa6));import{OperationCompressor as _0x3b82aa}from'./operationcompressor.js';export class NoOperationCompressor extends _0x3b82aa{[_0xe4c71f(0xb4)](_0xf7d87d,_0x2e39c7){var _0x2304e7=_0xe4c71f;return _0x2e39c7[_0x2304e7(0xbd)](),_0xf7d87d[_0x2304e7(0xbb)][_0x2304e7(0xb0)](this[_0x2304e7(0xb7)]),!0x0;}[_0xe4c71f(0xb8)](_0x3cf374,_0x3008a8){var _0x5a892b=_0xe4c71f;_0x3008a8[_0x5a892b(0xbb)][_0x5a892b(0xbd)](),_0x3cf374[_0x5a892b(0xb0)]({'__className':this[_0x5a892b(0xb5)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x11cb(){const _0x30fe15=['7038696UChRHy','1058807gQxFrO','_operationName','24712330svmbbb','buffers','_id','18gzJIJt','decompress','__className','6631144vQzlWN','push','1798410tSZCUJ','compress','11618852zTPeic','853116iXZkJO','55vqoUnz','types','_protobufDescriptor','shift','2rVtAub'];_0x11cb=function(){return _0x30fe15;};return _0x11cb();}function _0x5d77(_0x46aa38,_0x5ced02){const _0x11cb6c=_0x11cb();return _0x5d77=function(_0x5d77f0,_0x958f1){_0x5d77f0=_0x5d77f0-0x1b6;let _0x21a5ff=_0x11cb6c[_0x5d77f0];return _0x21a5ff;},_0x5d77(_0x46aa38,_0x5ced02);}const _0x1b661e=_0x5d77;(function(_0x18aafa,_0x2015ea){const _0x83ea5c=_0x5d77,_0x3c41fc=_0x18aafa();while(!![]){try{const _0x2b5880=-parseInt(_0x83ea5c(0x1c7))/0x1*(parseInt(_0x83ea5c(0x1c5))/0x2)+-parseInt(_0x83ea5c(0x1bd))/0x3+parseInt(_0x83ea5c(0x1bb))/0x4+parseInt(_0x83ea5c(0x1c1))/0x5*(-parseInt(_0x83ea5c(0x1c0))/0x6)+-parseInt(_0x83ea5c(0x1bf))/0x7+-parseInt(_0x83ea5c(0x1c6))/0x8+-parseInt(_0x83ea5c(0x1b8))/0x9*(-parseInt(_0x83ea5c(0x1c9))/0xa);if(_0x2b5880===_0x2015ea)break;else _0x3c41fc['push'](_0x3c41fc['shift']());}catch(_0x53b6cb){_0x3c41fc['push'](_0x3c41fc['shift']());}}}(_0x11cb,0xcca70));import{parsePositionBeforeCompression as _0x4327d7,parsePositionAfterCompression as _0x5de042}from'../utils.js';export class OperationCompressor{[_0x1b661e(0x1b7)];[_0x1b661e(0x1c8)];[_0x1b661e(0x1c3)];constructor(_0x43d964,_0xb59252,_0x4d0ad2){const _0x486b85=_0x1b661e;this[_0x486b85(0x1b7)]=_0x43d964,this[_0x486b85(0x1c8)]=_0xb59252,this[_0x486b85(0x1c3)]=_0x4d0ad2;}[_0x1b661e(0x1be)](_0x131c27,_0x4423cb){const _0x5d9bd2=_0x1b661e,_0x228446=_0x4423cb[_0x5d9bd2(0x1c4)]();return _0x4327d7(_0x228446),_0x131c27[_0x5d9bd2(0x1b6)][_0x5d9bd2(0x1bc)](this[_0x5d9bd2(0x1c3)][_0x5d9bd2(0x1be)](_0x228446)),_0x131c27[_0x5d9bd2(0x1c2)][_0x5d9bd2(0x1bc)](this[_0x5d9bd2(0x1b7)]),!0x0;}[_0x1b661e(0x1b9)](_0x1b4bae,_0xaac2b8){const _0x40fa9f=_0x1b661e;_0xaac2b8[_0x40fa9f(0x1c2)][_0x40fa9f(0x1c4)]();const _0x54263c=this[_0x40fa9f(0x1c3)][_0x40fa9f(0x1b9)](_0xaac2b8[_0x40fa9f(0x1b6)][_0x40fa9f(0x1c4)]());_0x5de042(_0x54263c),_0x54263c[_0x40fa9f(0x1ba)]=this[_0x40fa9f(0x1c8)],_0x1b4bae[_0x40fa9f(0x1bc)](_0x54263c);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1c9ca2=_0x38f4;function _0x38f4(_0x1fdc44,_0x5a1a99){const _0xb16b7c=_0xb16b();return _0x38f4=function(_0x38f42d,_0x299c87){_0x38f42d=_0x38f42d-0xd1;let _0x42795c=_0xb16b7c[_0x38f42d];return _0x42795c;},_0x38f4(_0x1fdc44,_0x5a1a99);}function _0xb16b(){const _0x52dcca=['verify','2qdsRQq','452652JKIDmu','getDescriptor','finish','2796294OlHNNG','decode','8261967obnYAv','encode','compress','_protobuf','1815459DQQnfi','23398740bHGRpv','toObject','decompress','547672vUbTBt','_protobufRoot','1056215vSKcij','create','12mcMDMP'];_0xb16b=function(){return _0x52dcca;};return _0xb16b();}(function(_0x48adaa,_0x1663de){const _0x252795=_0x38f4,_0x15d54f=_0x48adaa();while(!![]){try{const _0x352949=-parseInt(_0x252795(0xd9))/0x1+-parseInt(_0x252795(0xd8))/0x2*(parseInt(_0x252795(0xe2))/0x3)+parseInt(_0x252795(0xd6))/0x4*(parseInt(_0x252795(0xd4))/0x5)+-parseInt(_0x252795(0xdc))/0x6+-parseInt(_0x252795(0xde))/0x7+parseInt(_0x252795(0xd2))/0x8+parseInt(_0x252795(0xe3))/0x9;if(_0x352949===_0x1663de)break;else _0x15d54f['push'](_0x15d54f['shift']());}catch(_0x4562d7){_0x15d54f['push'](_0x15d54f['shift']());}}}(_0xb16b,0x91f99));import{messages as _0x14786c}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1c9ca2(0xd3)];constructor(){const _0xb50662=_0x1c9ca2;this[_0xb50662(0xd3)]=_0x14786c;}[_0x1c9ca2(0xda)](_0x537d2e){const _0x226782=_0x1c9ca2;return new ProtobufDescriptor(this[_0x226782(0xd3)][_0x537d2e]);}}export class ProtobufDescriptor{[_0x1c9ca2(0xe1)];constructor(_0x2123af){const _0x177c5f=_0x1c9ca2;this[_0x177c5f(0xe1)]=_0x2123af;}[_0x1c9ca2(0xe0)](_0x4b1c33){const _0x3d8341=_0x1c9ca2,_0x21d823=this[_0x3d8341(0xe1)][_0x3d8341(0xd7)](_0x4b1c33);if(_0x21d823)throw Error(_0x21d823);return this[_0x3d8341(0xe1)][_0x3d8341(0xdf)](this[_0x3d8341(0xe1)][_0x3d8341(0xd5)](_0x4b1c33))[_0x3d8341(0xdb)]();}[_0x1c9ca2(0xd1)](_0x9ff52e){const _0x194f83=_0x1c9ca2;return this[_0x194f83(0xe1)][_0x194f83(0xe4)](this[_0x194f83(0xe1)][_0x194f83(0xdd)](_0x9ff52e),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x145b(){const _0xca8bc3=['nodes','main','9590iFQgEt','27lWxDTY','1944536tvwued','rootMain','2736942JQNXFe','rootGraveyard','$graveyard','667630TRoXIX','2283KMgddf','380cnUpXT','path','length','21NKlYkR','579019nXHNIa','root','10452772QuvxhP','928TDueEq'];_0x145b=function(){return _0xca8bc3;};return _0x145b();}(function(_0xcf3731,_0x43d33){const _0x143f12=_0x5bc0,_0x925bf6=_0xcf3731();while(!![]){try{const _0x2253f7=-parseInt(_0x143f12(0x1c9))/0x1+-parseInt(_0x143f12(0x1c5))/0x2*(parseInt(_0x143f12(0x1c4))/0x3)+-parseInt(_0x143f12(0x1cc))/0x4*(parseInt(_0x143f12(0x1bc))/0x5)+-parseInt(_0x143f12(0x1c0))/0x6*(-parseInt(_0x143f12(0x1c8))/0x7)+-parseInt(_0x143f12(0x1be))/0x8+-parseInt(_0x143f12(0x1bd))/0x9*(parseInt(_0x143f12(0x1c3))/0xa)+parseInt(_0x143f12(0x1cb))/0xb;if(_0x2253f7===_0x43d33)break;else _0x925bf6['push'](_0x925bf6['shift']());}catch(_0x374bb9){_0x925bf6['push'](_0x925bf6['shift']());}}}(_0x145b,0xac8de));import{cloneDeep as _0x211967,isEqual as _0x128a0e,isObject as _0x64ef8}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1dfe6c,_0x45941a){const _0x5543e8=_0x5bc0,_0x8325b1=_0x211967(_0x1dfe6c);return _0x8325b1[_0x5543e8(0x1c6)][_0x8325b1[_0x5543e8(0x1c6)][_0x5543e8(0x1c7)]-0x1]+=_0x45941a,_0x8325b1;}function _0x5bc0(_0x2e7c4f,_0x1e2b77){const _0x145b5c=_0x145b();return _0x5bc0=function(_0x5bc07b,_0x3079d2){_0x5bc07b=_0x5bc07b-0x1bb;let _0x5621c5=_0x145b5c[_0x5bc07b];return _0x5621c5;},_0x5bc0(_0x2e7c4f,_0x1e2b77);}export function arePositionsEqual(_0xda4671,_0xd2b395){const _0x309a1c=_0x5bc0;return _0xda4671[_0x309a1c(0x1ca)]===_0xd2b395[_0x309a1c(0x1ca)]&&_0x128a0e(_0xda4671[_0x309a1c(0x1c6)],_0xd2b395[_0x309a1c(0x1c6)]);}export function parsePositionBeforeCompression(_0x179323){const _0x840aff=_0x5bc0;P(_0x179323,_0x363f99=>(_0x840aff(0x1bb)==_0x363f99[_0x840aff(0x1ca)]?(_0x363f99[_0x840aff(0x1bf)]=!0x0,delete _0x363f99[_0x840aff(0x1ca)]):_0x840aff(0x1c2)==_0x363f99[_0x840aff(0x1ca)]&&(_0x363f99[_0x840aff(0x1c1)]=!0x0,delete _0x363f99[_0x840aff(0x1ca)]),_0x363f99));}export function parsePositionAfterCompression(_0x8369df){const _0x1c94f6=_0x5bc0;P(_0x8369df,_0x3167ed=>(_0x3167ed[_0x1c94f6(0x1bf)]?(_0x3167ed[_0x1c94f6(0x1ca)]=_0x1c94f6(0x1bb),delete _0x3167ed[_0x1c94f6(0x1bf)]):_0x3167ed[_0x1c94f6(0x1c1)]&&(_0x3167ed[_0x1c94f6(0x1ca)]=_0x1c94f6(0x1c2),delete _0x3167ed[_0x1c94f6(0x1c1)]),_0x3167ed));}function P(_0x3603ba,_0x56fcc3){const _0x28ac78=_0x5bc0;for(const _0x1fef83 in _0x3603ba){const _0x2e7a83=_0x3603ba[_0x1fef83];_0x28ac78(0x1cd)!==_0x1fef83&&_0x64ef8(_0x2e7a83)&&(_0x2e7a83[_0x28ac78(0x1c6)]&&(_0x2e7a83[_0x28ac78(0x1ca)]||_0x2e7a83[_0x28ac78(0x1bf)]||_0x2e7a83[_0x28ac78(0x1c1)])?_0x3603ba[_0x1fef83]=_0x56fcc3(_0x2e7a83):P(_0x2e7a83,_0x56fcc3));}return _0x3603ba;}
|