@ckeditor/ckeditor5-operations-compressor 46.1.0-alpha.2 → 46.1.1-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/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
|
+
var _0xdedb6e=_0x59c6;function _0x37e4(){var _0x3448c5=['shift','_operationName','91zmYgeN','1159892dVyLMc','15clQyBN','7CGWcBu','7131195snRZZh','8hDlvdS','push','24JbFoGn','177094ikPNGW','2765292xjthXO','types','4361160xJixva','compress','_id','7161581wbmcZa','1368995smMZML','11HXYzyY','decompress'];_0x37e4=function(){return _0x3448c5;};return _0x37e4();}function _0x59c6(_0x4cf5e3,_0x296041){var _0x37e4de=_0x37e4();return _0x59c6=function(_0x59c654,_0x1c273c){_0x59c654=_0x59c654-0xa0;var _0x10adef=_0x37e4de[_0x59c654];return _0x10adef;},_0x59c6(_0x4cf5e3,_0x296041);}(function(_0x31f229,_0x4ee301){var _0x5b2c41=_0x59c6,_0x5b6451=_0x31f229();while(!![]){try{var _0x2d7e8e=parseInt(_0x5b2c41(0xb1))/0x1*(-parseInt(_0x5b2c41(0xa2))/0x2)+-parseInt(_0x5b2c41(0xb0))/0x3*(parseInt(_0x5b2c41(0xaf))/0x4)+parseInt(_0x5b2c41(0xa9))/0x5*(parseInt(_0x5b2c41(0xa1))/0x6)+-parseInt(_0x5b2c41(0xa8))/0x7*(parseInt(_0x5b2c41(0xb3))/0x8)+parseInt(_0x5b2c41(0xb2))/0x9+parseInt(_0x5b2c41(0xa5))/0xa*(parseInt(_0x5b2c41(0xaa))/0xb)+-parseInt(_0x5b2c41(0xa3))/0xc*(-parseInt(_0x5b2c41(0xae))/0xd);if(_0x2d7e8e===_0x4ee301)break;else _0x5b6451['push'](_0x5b6451['shift']());}catch(_0x18481b){_0x5b6451['push'](_0x5b6451['shift']());}}}(_0x37e4,0xce0c9));import{OperationCompressor as _0x1a292c}from'./operationcompressor.js';export class NoOperationCompressor extends _0x1a292c{[_0xdedb6e(0xa6)](_0x8279a8,_0x1a8f4f){var _0xb1026a=_0xdedb6e;return _0x1a8f4f[_0xb1026a(0xac)](),_0x8279a8[_0xb1026a(0xa4)][_0xb1026a(0xa0)](this[_0xb1026a(0xa7)]),!0x0;}[_0xdedb6e(0xab)](_0x376744,_0x3f353a){var _0x24e898=_0xdedb6e;_0x3f353a[_0x24e898(0xa4)][_0x24e898(0xac)](),_0x376744[_0x24e898(0xa0)]({'__className':this[_0x24e898(0xad)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4b0b(){const _0x40b8e9=['shift','__className','push','decompress','350700synlhm','2100290HeMoDo','127561OKHeBq','530157xSDcOa','12fgFCRB','buffers','_id','types','329504OoZeeD','4RZqHRM','116718NQFywv','_operationName','compress','_protobufDescriptor','182808puTzwe'];_0x4b0b=function(){return _0x40b8e9;};return _0x4b0b();}function _0x4166(_0x55e5ff,_0x270923){const _0x4b0b21=_0x4b0b();return _0x4166=function(_0x416602,_0x203525){_0x416602=_0x416602-0x1a1;let _0x19d2be=_0x4b0b21[_0x416602];return _0x19d2be;},_0x4166(_0x55e5ff,_0x270923);}const _0x25bd5b=_0x4166;(function(_0xc1d835,_0x58301c){const _0x18abfa=_0x4166,_0x230678=_0xc1d835();while(!![]){try{const _0x2150fe=-parseInt(_0x18abfa(0x1a6))/0x1+-parseInt(_0x18abfa(0x1af))/0x2+parseInt(_0x18abfa(0x1b2))/0x3+-parseInt(_0x18abfa(0x1a5))/0x4*(-parseInt(_0x18abfa(0x1b0))/0x5)+-parseInt(_0x18abfa(0x1b3))/0x6*(parseInt(_0x18abfa(0x1b1))/0x7)+-parseInt(_0x18abfa(0x1a4))/0x8+parseInt(_0x18abfa(0x1aa))/0x9;if(_0x2150fe===_0x58301c)break;else _0x230678['push'](_0x230678['shift']());}catch(_0x484686){_0x230678['push'](_0x230678['shift']());}}}(_0x4b0b,0x3c65b));import{parsePositionBeforeCompression as _0x35c138,parsePositionAfterCompression as _0x36c087}from'../utils.js';export class OperationCompressor{[_0x25bd5b(0x1a2)];[_0x25bd5b(0x1a7)];[_0x25bd5b(0x1a9)];constructor(_0x19af26,_0x41fe7e,_0x253f74){const _0x3ba02a=_0x25bd5b;this[_0x3ba02a(0x1a2)]=_0x19af26,this[_0x3ba02a(0x1a7)]=_0x41fe7e,this[_0x3ba02a(0x1a9)]=_0x253f74;}[_0x25bd5b(0x1a8)](_0x51ecba,_0x1f15b1){const _0x1286bf=_0x25bd5b,_0x5a72d0=_0x1f15b1[_0x1286bf(0x1ab)]();return _0x35c138(_0x5a72d0),_0x51ecba[_0x1286bf(0x1a1)][_0x1286bf(0x1ad)](this[_0x1286bf(0x1a9)][_0x1286bf(0x1a8)](_0x5a72d0)),_0x51ecba[_0x1286bf(0x1a3)][_0x1286bf(0x1ad)](this[_0x1286bf(0x1a2)]),!0x0;}[_0x25bd5b(0x1ae)](_0x158ea0,_0x4fe89){const _0xbecd7b=_0x25bd5b;_0x4fe89[_0xbecd7b(0x1a3)][_0xbecd7b(0x1ab)]();const _0x236d7d=this[_0xbecd7b(0x1a9)][_0xbecd7b(0x1ae)](_0x4fe89[_0xbecd7b(0x1a1)][_0xbecd7b(0x1ab)]());_0x36c087(_0x236d7d),_0x236d7d[_0xbecd7b(0x1ac)]=this[_0xbecd7b(0x1a7)],_0x158ea0[_0xbecd7b(0x1ad)](_0x236d7d);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b45a9=_0x449e;(function(_0x5e091f,_0x47bf74){const _0x4b304a=_0x449e,_0x561296=_0x5e091f();while(!![]){try{const _0x34c908=parseInt(_0x4b304a(0x118))/0x1+-parseInt(_0x4b304a(0x123))/0x2+parseInt(_0x4b304a(0x11f))/0x3*(parseInt(_0x4b304a(0x128))/0x4)+-parseInt(_0x4b304a(0x112))/0x5*(parseInt(_0x4b304a(0x125))/0x6)+-parseInt(_0x4b304a(0x113))/0x7*(parseInt(_0x4b304a(0x11c))/0x8)+-parseInt(_0x4b304a(0x11b))/0x9*(-parseInt(_0x4b304a(0x120))/0xa)+-parseInt(_0x4b304a(0x122))/0xb*(-parseInt(_0x4b304a(0x116))/0xc);if(_0x34c908===_0x47bf74)break;else _0x561296['push'](_0x561296['shift']());}catch(_0x5d4d7e){_0x561296['push'](_0x561296['shift']());}}}(_0x5610,0x80c35));function _0x449e(_0x411946,_0x46c96c){const _0x56107a=_0x5610();return _0x449e=function(_0x449e32,_0xdd4118){_0x449e32=_0x449e32-0x112;let _0x40f47d=_0x56107a[_0x449e32];return _0x40f47d;},_0x449e(_0x411946,_0x46c96c);}import{messages as _0x402911}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x2b45a9(0x114)];constructor(){const _0x1b89c0=_0x2b45a9;this[_0x1b89c0(0x114)]=_0x402911;}[_0x2b45a9(0x115)](_0xa70de0){const _0x3b3100=_0x2b45a9;return new ProtobufDescriptor(this[_0x3b3100(0x114)][_0xa70de0]);}}function _0x5610(){const _0x27fcb3=['1094698ZJHLke','encode','1326MITQjh','decompress','toObject','47316xruAbC','22715oBXhrP','7WarGRB','_protobufRoot','getDescriptor','38172GmkhcD','compress','968883QdoyOk','create','verify','3923919oUtCtV','3845544XrKLjg','finish','decode','171Kypgom','10sKVBmI','_protobuf','1661RRAlkZ'];_0x5610=function(){return _0x27fcb3;};return _0x5610();}export class ProtobufDescriptor{[_0x2b45a9(0x121)];constructor(_0x6e4129){const _0x1a6017=_0x2b45a9;this[_0x1a6017(0x121)]=_0x6e4129;}[_0x2b45a9(0x117)](_0x291611){const _0x21dc17=_0x2b45a9,_0xf381a1=this[_0x21dc17(0x121)][_0x21dc17(0x11a)](_0x291611);if(_0xf381a1)throw Error(_0xf381a1);return this[_0x21dc17(0x121)][_0x21dc17(0x124)](this[_0x21dc17(0x121)][_0x21dc17(0x119)](_0x291611))[_0x21dc17(0x11d)]();}[_0x2b45a9(0x126)](_0x1f00ed){const _0xb24baa=_0x2b45a9;return this[_0xb24baa(0x121)][_0xb24baa(0x127)](this[_0xb24baa(0x121)][_0xb24baa(0x11e)](_0x1f00ed),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x209582,_0x30366a){const _0x36da99=_0xf834,_0x56fb6b=_0x209582();while(!![]){try{const _0x48ed64=-parseInt(_0x36da99(0x15f))/0x1+-parseInt(_0x36da99(0x156))/0x2+-parseInt(_0x36da99(0x163))/0x3+parseInt(_0x36da99(0x15d))/0x4*(-parseInt(_0x36da99(0x154))/0x5)+parseInt(_0x36da99(0x15a))/0x6*(-parseInt(_0x36da99(0x15e))/0x7)+parseInt(_0x36da99(0x165))/0x8*(-parseInt(_0x36da99(0x15b))/0x9)+parseInt(_0x36da99(0x158))/0xa;if(_0x48ed64===_0x30366a)break;else _0x56fb6b['push'](_0x56fb6b['shift']());}catch(_0x2e731e){_0x56fb6b['push'](_0x56fb6b['shift']());}}}(_0x5c1f,0xe0263));function _0xf834(_0x177e63,_0x16754d){const _0x5c1fad=_0x5c1f();return _0xf834=function(_0xf8341c,_0x3508f5){_0xf8341c=_0xf8341c-0x154;let _0x13097e=_0x5c1fad[_0xf8341c];return _0x13097e;},_0xf834(_0x177e63,_0x16754d);}function _0x5c1f(){const _0x856bc7=['path','2034706RvuTYm','rootGraveyard','73051760Mddzze','$graveyard','2034XvLOYd','8361gdqYmA','main','2732rIYJkm','31185hCwtXy','1498341MdAdZp','root','rootMain','nodes','29712aWtiaU','length','9384iJmpdw','9235RyTesl'];_0x5c1f=function(){return _0x856bc7;};return _0x5c1f();}import{cloneDeep as _0x188d36,isEqual as _0x55d1ef,isObject as _0x2ead21}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1e0a82,_0x532925){const _0x1f1779=_0xf834,_0x2a07b9=_0x188d36(_0x1e0a82);return _0x2a07b9[_0x1f1779(0x155)][_0x2a07b9[_0x1f1779(0x155)][_0x1f1779(0x164)]-0x1]+=_0x532925,_0x2a07b9;}export function arePositionsEqual(_0x2f7c2b,_0x16b5c4){const _0x2556da=_0xf834;return _0x2f7c2b[_0x2556da(0x160)]===_0x16b5c4[_0x2556da(0x160)]&&_0x55d1ef(_0x2f7c2b[_0x2556da(0x155)],_0x16b5c4[_0x2556da(0x155)]);}export function parsePositionBeforeCompression(_0x5150f3){const _0xa96f9b=_0xf834;P(_0x5150f3,_0x41dd06=>(_0xa96f9b(0x15c)==_0x41dd06[_0xa96f9b(0x160)]?(_0x41dd06[_0xa96f9b(0x161)]=!0x0,delete _0x41dd06[_0xa96f9b(0x160)]):_0xa96f9b(0x159)==_0x41dd06[_0xa96f9b(0x160)]&&(_0x41dd06[_0xa96f9b(0x157)]=!0x0,delete _0x41dd06[_0xa96f9b(0x160)]),_0x41dd06));}export function parsePositionAfterCompression(_0x1eaa8a){const _0x2b9b59=_0xf834;P(_0x1eaa8a,_0x41e12a=>(_0x41e12a[_0x2b9b59(0x161)]?(_0x41e12a[_0x2b9b59(0x160)]=_0x2b9b59(0x15c),delete _0x41e12a[_0x2b9b59(0x161)]):_0x41e12a[_0x2b9b59(0x157)]&&(_0x41e12a[_0x2b9b59(0x160)]=_0x2b9b59(0x159),delete _0x41e12a[_0x2b9b59(0x157)]),_0x41e12a));}function P(_0x4f3a51,_0x21229e){const _0x17cbf2=_0xf834;for(const _0x40ed4c in _0x4f3a51){const _0x2d0251=_0x4f3a51[_0x40ed4c];_0x17cbf2(0x162)!==_0x40ed4c&&_0x2ead21(_0x2d0251)&&(_0x2d0251[_0x17cbf2(0x155)]&&(_0x2d0251[_0x17cbf2(0x160)]||_0x2d0251[_0x17cbf2(0x161)]||_0x2d0251[_0x17cbf2(0x157)])?_0x4f3a51[_0x40ed4c]=_0x21229e(_0x2d0251):P(_0x2d0251,_0x21229e));}return _0x4f3a51;}
|