@ckeditor/ckeditor5-operations-compressor 47.5.0 → 47.6.0-alpha.0
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/errors.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 _0x11f3(_0x291eb7,_0x58d71c){var _0xb56375=_0xb563();return _0x11f3=function(_0x11f3cb,_0x10ec5c){_0x11f3cb=_0x11f3cb-0x89;var _0x4745e8=_0xb56375[_0x11f3cb];return _0x4745e8;},_0x11f3(_0x291eb7,_0x58d71c);}var _0x15f58c=_0x11f3;(function(_0x2af258,_0x2e212e){var _0xb326d1=_0x11f3,_0xa8a43a=_0x2af258();while(!![]){try{var _0x3181fd=parseInt(_0xb326d1(0x97))/0x1*(parseInt(_0xb326d1(0x8a))/0x2)+-parseInt(_0xb326d1(0x91))/0x3*(parseInt(_0xb326d1(0x96))/0x4)+parseInt(_0xb326d1(0x8f))/0x5*(parseInt(_0xb326d1(0x9d))/0x6)+parseInt(_0xb326d1(0x93))/0x7*(parseInt(_0xb326d1(0x99))/0x8)+parseInt(_0xb326d1(0x92))/0x9+parseInt(_0xb326d1(0x8c))/0xa*(parseInt(_0xb326d1(0x8d))/0xb)+-parseInt(_0xb326d1(0x98))/0xc*(parseInt(_0xb326d1(0x95))/0xd);if(_0x3181fd===_0x2e212e)break;else _0xa8a43a['push'](_0xa8a43a['shift']());}catch(_0x4cb47b){_0xa8a43a['push'](_0xa8a43a['shift']());}}}(_0xb563,0x95bdd));import{OperationCompressor as _0x22926b}from'./operationcompressor.js';export class NoOperationCompressor extends _0x22926b{[_0x15f58c(0x9b)](_0x5e981d,_0x4f4708){var _0x1e4768=_0x15f58c;return _0x4f4708[_0x1e4768(0x90)]++,_0x5e981d[_0x1e4768(0x89)][_0x1e4768(0x9a)](this[_0x1e4768(0x8b)]),!0x0;}[_0x15f58c(0x8e)](_0x18156d,_0x3cf088){var _0x1a26ee=_0x15f58c;_0x3cf088[_0x1a26ee(0x94)]++,_0x18156d[_0x1a26ee(0x9a)]({'__className':this[_0x1a26ee(0x9c)]});}}function _0xb563(){var _0x3e6513=['_operationName','18KzgvvA','types','2aPgFOr','_id','2325040eLwByT','11UkgjxA','decompress','1211085rZdbKE','index','18897NXbaKC','1414908oehJak','1160803sBBxHS','typeIndex','851279ILfCXK','148wVYxeO','219038HeoYLk','120xNRiIx','8ZVYjUL','push','compress'];_0xb563=function(){return _0x3e6513;};return _0xb563();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5d21ec=_0x1567;function _0x4eaa(){const _0x102f40=['359740gRYifY','decompress','_id','4wIAmcA','typeIndex','4BYJWMK','1962085hPgAUi','1942059gJRjVf','__className','types','compress','3674984TesaMJ','bufferIndex','22BEikhT','21292LxADxQ','_operationName','7418988PkjgPN','operations','index','3844547kdPeSd','18vCFuJZ','push','_protobufDescriptor','buffers','6yTRIgs'];_0x4eaa=function(){return _0x102f40;};return _0x4eaa();}function _0x1567(_0x4b1f8f,_0x427b31){const _0x4eaa3f=_0x4eaa();return _0x1567=function(_0x15672e,_0x22b5d8){_0x15672e=_0x15672e-0xe2;let _0x12934c=_0x4eaa3f[_0x15672e];return _0x12934c;},_0x1567(_0x4b1f8f,_0x427b31);}(function(_0x571e9d,_0x127fe1){const _0x49539f=_0x1567,_0x4496e8=_0x571e9d();while(!![]){try{const _0x4deab1=-parseInt(_0x49539f(0xee))/0x1*(parseInt(_0x49539f(0xf7))/0x2)+-parseInt(_0x49539f(0xf0))/0x3*(-parseInt(_0x49539f(0xec))/0x4)+-parseInt(_0x49539f(0xef))/0x5+parseInt(_0x49539f(0xe8))/0x6*(-parseInt(_0x49539f(0xe3))/0x7)+-parseInt(_0x49539f(0xf4))/0x8+-parseInt(_0x49539f(0xe4))/0x9*(parseInt(_0x49539f(0xe9))/0xa)+-parseInt(_0x49539f(0xf6))/0xb*(-parseInt(_0x49539f(0xf9))/0xc);if(_0x4deab1===_0x127fe1)break;else _0x4496e8['push'](_0x4496e8['shift']());}catch(_0x520f74){_0x4496e8['push'](_0x4496e8['shift']());}}}(_0x4eaa,0x59eb4));import{parsePositionBeforeCompression as _0x2e23ce,parsePositionAfterCompression as _0x56d0a2}from'../utils.js';export class OperationCompressor{[_0x5d21ec(0xeb)];[_0x5d21ec(0xf8)];[_0x5d21ec(0xe6)];constructor(_0x51c8c3,_0x1a6caa,_0x32fa0c){const _0x502d90=_0x5d21ec;this[_0x502d90(0xeb)]=_0x51c8c3,this[_0x502d90(0xf8)]=_0x1a6caa,this[_0x502d90(0xe6)]=_0x32fa0c;}[_0x5d21ec(0xf3)](_0x5311b2,_0xcabea3){const _0x4aa8fb=_0x5d21ec,_0x12a16a=_0xcabea3[_0x4aa8fb(0xfa)][_0xcabea3[_0x4aa8fb(0xe2)]++];return _0x2e23ce(_0x12a16a),_0x5311b2[_0x4aa8fb(0xe7)][_0x4aa8fb(0xe5)](this[_0x4aa8fb(0xe6)][_0x4aa8fb(0xf3)](_0x12a16a)),_0x5311b2[_0x4aa8fb(0xf2)][_0x4aa8fb(0xe5)](this[_0x4aa8fb(0xeb)]),!0x0;}[_0x5d21ec(0xea)](_0x48b76e,_0x5cd497){const _0xb248d9=_0x5d21ec;_0x5cd497[_0xb248d9(0xed)]++;const _0x30e968=_0x5cd497[_0xb248d9(0xe7)][_0x5cd497[_0xb248d9(0xf5)]++],_0xecf5d1=this[_0xb248d9(0xe6)][_0xb248d9(0xea)](_0x30e968);_0x56d0a2(_0xecf5d1),_0xecf5d1[_0xb248d9(0xf1)]=this[_0xb248d9(0xf8)],_0x48b76e[_0xb248d9(0xe5)](_0xecf5d1);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1d6b(){const _0x2b364b=['verify','1279048vRjmpk','1314918MQnYgF','2184828ioPqQy','1583210HNKosV','getDescriptor','compress','617728iNrTJa','create','decompress','_protobuf','3564fZXqpl','_protobufRoot','1556660XwjOTd','456zTcVkh','decode','encode','finish','toObject'];_0x1d6b=function(){return _0x2b364b;};return _0x1d6b();}const _0x212065=_0x25a8;(function(_0x388b59,_0x2c4b8c){const _0x7f9180=_0x25a8,_0x9e0f6=_0x388b59();while(!![]){try{const _0x4e3a8f=parseInt(_0x7f9180(0x111))/0x1+parseInt(_0x7f9180(0x10c))/0x2+-parseInt(_0x7f9180(0x115))/0x3*(-parseInt(_0x7f9180(0x118))/0x4)+-parseInt(_0x7f9180(0x10e))/0x5+-parseInt(_0x7f9180(0x10d))/0x6+-parseInt(_0x7f9180(0x117))/0x7+-parseInt(_0x7f9180(0x10b))/0x8;if(_0x4e3a8f===_0x2c4b8c)break;else _0x9e0f6['push'](_0x9e0f6['shift']());}catch(_0x5c4de2){_0x9e0f6['push'](_0x9e0f6['shift']());}}}(_0x1d6b,0x54dba));function _0x25a8(_0x2684b6,_0x38b5ba){const _0x1d6b3e=_0x1d6b();return _0x25a8=function(_0x25a87e,_0x35bd00){_0x25a87e=_0x25a87e-0x10a;let _0x51f697=_0x1d6b3e[_0x25a87e];return _0x51f697;},_0x25a8(_0x2684b6,_0x38b5ba);}import{messages as _0x1d2cc0}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x212065(0x116)];constructor(){const _0x38b81f=_0x212065;this[_0x38b81f(0x116)]=_0x1d2cc0;}[_0x212065(0x10f)](_0x80dd48){const _0x5d4eeb=_0x212065;return new ProtobufDescriptor(this[_0x5d4eeb(0x116)][_0x80dd48]);}}export class ProtobufDescriptor{[_0x212065(0x114)];constructor(_0x440ea2){const _0x243e21=_0x212065;this[_0x243e21(0x114)]=_0x440ea2;}[_0x212065(0x110)](_0x3623f9){const _0x111c12=_0x212065,_0x5ead07=this[_0x111c12(0x114)][_0x111c12(0x10a)](_0x3623f9);if(_0x5ead07)throw Error(_0x5ead07);return this[_0x111c12(0x114)][_0x111c12(0x11a)](this[_0x111c12(0x114)][_0x111c12(0x112)](_0x3623f9))[_0x111c12(0x11b)]();}[_0x212065(0x113)](_0xcdacb9){const _0x5f1855=_0x212065;return this[_0x5f1855(0x114)][_0x5f1855(0x11c)](this[_0x5f1855(0x114)][_0x5f1855(0x119)](_0xcdacb9),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xb89e9,_0x5433b7){const _0x52c2da=_0xa984,_0x4e0adf=_0xb89e9();while(!![]){try{const _0x1c2c74=-parseInt(_0x52c2da(0x144))/0x1+-parseInt(_0x52c2da(0x143))/0x2+parseInt(_0x52c2da(0x142))/0x3+-parseInt(_0x52c2da(0x14d))/0x4+parseInt(_0x52c2da(0x149))/0x5+parseInt(_0x52c2da(0x140))/0x6*(parseInt(_0x52c2da(0x148))/0x7)+parseInt(_0x52c2da(0x146))/0x8*(parseInt(_0x52c2da(0x13e))/0x9);if(_0x1c2c74===_0x5433b7)break;else _0x4e0adf['push'](_0x4e0adf['shift']());}catch(_0x598859){_0x4e0adf['push'](_0x4e0adf['shift']());}}}(_0x4b1c,0xadf37));import{cloneDeep as _0x3277c0,isEqual as _0x37503e,isObject as _0x49595e}from'es-toolkit/compat';function _0x4b1c(){const _0x3234b7=['9066XgZymz','path','1078911tqbqde','2680270TYjQuv','138185xuVoUn','rootGraveyard','8MhcPCo','nodes','6594LOyNDI','6689055UDSICR','main','root','rootMain','5280072UkgLaO','$graveyard','3510279EAjPlm','length'];_0x4b1c=function(){return _0x3234b7;};return _0x4b1c();}export function getPositionShiftedBy(_0x400071,_0x42edc4){const _0x411e90=_0xa984,_0xc35246=_0x3277c0(_0x400071);return _0xc35246[_0x411e90(0x141)][_0xc35246[_0x411e90(0x141)][_0x411e90(0x13f)]-0x1]+=_0x42edc4,_0xc35246;}function _0xa984(_0x451d58,_0x17e5d6){const _0x4b1c96=_0x4b1c();return _0xa984=function(_0xa98478,_0x37cab7){_0xa98478=_0xa98478-0x13d;let _0x9561d6=_0x4b1c96[_0xa98478];return _0x9561d6;},_0xa984(_0x451d58,_0x17e5d6);}export function arePositionsEqual(_0x5e8bfc,_0xbfe0c2){const _0x3e09ff=_0xa984;return _0x5e8bfc[_0x3e09ff(0x14b)]===_0xbfe0c2[_0x3e09ff(0x14b)]&&_0x37503e(_0x5e8bfc[_0x3e09ff(0x141)],_0xbfe0c2[_0x3e09ff(0x141)]);}export function parsePositionBeforeCompression(_0x389508){const _0x3579c6=_0xa984;P(_0x389508,_0x2548c4=>(_0x3579c6(0x14a)==_0x2548c4[_0x3579c6(0x14b)]?(_0x2548c4[_0x3579c6(0x14c)]=!0x0,delete _0x2548c4[_0x3579c6(0x14b)]):_0x3579c6(0x13d)==_0x2548c4[_0x3579c6(0x14b)]&&(_0x2548c4[_0x3579c6(0x145)]=!0x0,delete _0x2548c4[_0x3579c6(0x14b)]),_0x2548c4));}export function parsePositionAfterCompression(_0x29ef7e){const _0x4fe7a8=_0xa984;P(_0x29ef7e,_0x4e7882=>(_0x4e7882[_0x4fe7a8(0x14c)]?(_0x4e7882[_0x4fe7a8(0x14b)]=_0x4fe7a8(0x14a),delete _0x4e7882[_0x4fe7a8(0x14c)]):_0x4e7882[_0x4fe7a8(0x145)]&&(_0x4e7882[_0x4fe7a8(0x14b)]=_0x4fe7a8(0x13d),delete _0x4e7882[_0x4fe7a8(0x145)]),_0x4e7882));}function P(_0x26cb96,_0x209def){const _0x570959=_0xa984;for(const _0x22b940 in _0x26cb96){const _0x148a2f=_0x26cb96[_0x22b940];_0x570959(0x147)!==_0x22b940&&_0x49595e(_0x148a2f)&&(_0x148a2f[_0x570959(0x141)]&&(_0x148a2f[_0x570959(0x14b)]||_0x148a2f[_0x570959(0x14c)]||_0x148a2f[_0x570959(0x145)])?_0x26cb96[_0x22b940]=_0x209def(_0x148a2f):P(_0x148a2f,_0x209def));}return _0x26cb96;}
|