@ckeditor/ckeditor5-operations-compressor 47.7.2 → 47.7.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 +4 -4
- 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
|
-
const
|
|
23
|
+
const _0x2a7923=_0x3b54;(function(_0x2ece58,_0x28f9d2){const _0x229670=_0x3b54,_0x2430ba=_0x2ece58();while(!![]){try{const _0x1bd56e=-parseInt(_0x229670(0x114))/0x1*(parseInt(_0x229670(0x11e))/0x2)+-parseInt(_0x229670(0x116))/0x3*(parseInt(_0x229670(0x10f))/0x4)+-parseInt(_0x229670(0x115))/0x5+parseInt(_0x229670(0x12b))/0x6+parseInt(_0x229670(0x10d))/0x7+parseInt(_0x229670(0x123))/0x8*(parseInt(_0x229670(0x12f))/0x9)+-parseInt(_0x229670(0x112))/0xa*(-parseInt(_0x229670(0x11a))/0xb);if(_0x1bd56e===_0x28f9d2)break;else _0x2430ba['push'](_0x2430ba['shift']());}catch(_0x38d17b){_0x2430ba['push'](_0x2430ba['shift']());}}}(_0x4858,0x326a6));import{OperationCompressor as _0x16905d}from'./operationcompressor.js';function _0x4858(){const _0x460db1=['index','stringify','boolean','compress','578370GwJjlp','nodes','attributesJson','parse','278937TXFiXn','every','_deserializeNodesAttributes','1367947OzQXuh','children','104tOmDHG','push','bufferIndex','127840kaClkl','attributesBoolean','637GwSuVA','415180cpeAFm','42447dpFYKs','_id','_protobufDescriptor','types','363keRkQn','_operationName','attributes','_areValuesBoolean','274kdtxTu','__className','keys','typeIndex','buffers','8DSeMfY','decompress','_serializeNodesAttributes','operations'];_0x4858=function(){return _0x460db1;};return _0x4858();}import{parsePositionBeforeCompression as _0x278662,parsePositionAfterCompression as _0x32688a}from'../utils.js';function _0x3b54(_0x570ec2,_0x404a7b){const _0x485826=_0x4858();return _0x3b54=function(_0x3b547e,_0x55e861){_0x3b547e=_0x3b547e-0x10c;let _0x18f95b=_0x485826[_0x3b547e];return _0x18f95b;},_0x3b54(_0x570ec2,_0x404a7b);}export class InsertOperationCompressor extends _0x16905d{[_0x2a7923(0x12a)](_0x46b6be,_0x1a17a0){const _0x25b2fb=_0x2a7923,_0x507ae1=_0x1a17a0[_0x25b2fb(0x126)][_0x1a17a0[_0x25b2fb(0x127)]++];return this[_0x25b2fb(0x125)](_0x507ae1[_0x25b2fb(0x12c)]),_0x278662(_0x507ae1),_0x46b6be[_0x25b2fb(0x122)][_0x25b2fb(0x110)](this[_0x25b2fb(0x118)][_0x25b2fb(0x12a)](_0x507ae1)),_0x46b6be[_0x25b2fb(0x119)][_0x25b2fb(0x110)](this[_0x25b2fb(0x117)]),!0x0;}[_0x2a7923(0x124)](_0x3ff2ed,_0x448440){const _0x13e101=_0x2a7923;_0x448440[_0x13e101(0x121)]++;const _0x21f469=_0x448440[_0x13e101(0x122)][_0x448440[_0x13e101(0x111)]++],_0x441880=this[_0x13e101(0x118)][_0x13e101(0x124)](_0x21f469);_0x441880[_0x13e101(0x12c)]||(_0x441880[_0x13e101(0x12c)]=[]),this[_0x13e101(0x10c)](_0x441880[_0x13e101(0x12c)]),_0x32688a(_0x441880),_0x441880[_0x13e101(0x11f)]=this[_0x13e101(0x11b)],_0x3ff2ed[_0x13e101(0x110)](_0x441880);}[_0x2a7923(0x125)](_0x53da15){const _0x11cb70=_0x2a7923;for(const _0x1b61c9 of _0x53da15){if(_0x1b61c9[_0x11cb70(0x11c)]){const _0x444566=_0x1b61c9[_0x11cb70(0x11c)];this[_0x11cb70(0x11d)](_0x444566)?_0x1b61c9[_0x11cb70(0x113)]=_0x444566:_0x1b61c9[_0x11cb70(0x12d)]=JSON[_0x11cb70(0x128)](_0x444566);}_0x1b61c9[_0x11cb70(0x10e)]&&this[_0x11cb70(0x125)](_0x1b61c9[_0x11cb70(0x10e)]);}}[_0x2a7923(0x10c)](_0x45784f){const _0x545c16=_0x2a7923;for(const _0x2d03f1 of _0x45784f)(_0x2d03f1[_0x545c16(0x113)]||_0x2d03f1[_0x545c16(0x12d)])&&(_0x2d03f1[_0x545c16(0x113)]?(_0x2d03f1[_0x545c16(0x11c)]=_0x2d03f1[_0x545c16(0x113)],delete _0x2d03f1[_0x545c16(0x113)]):(_0x2d03f1[_0x545c16(0x11c)]=JSON[_0x545c16(0x12e)](_0x2d03f1[_0x545c16(0x12d)]),delete _0x2d03f1[_0x545c16(0x12d)])),_0x2d03f1[_0x545c16(0x10e)]&&this[_0x545c16(0x10c)](_0x2d03f1[_0x545c16(0x10e)]);}[_0x2a7923(0x11d)](_0x7da55d){const _0xce93c6=_0x2a7923;return Object[_0xce93c6(0x120)](_0x7da55d)[_0xce93c6(0x130)](_0x59ccd5=>_0xce93c6(0x129)==typeof _0x7da55d[_0x59ccd5]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5198ff=_0x347f;(function(_0x496f3b,_0x2c05e0){const _0x592576=_0x347f,_0x10b002=_0x496f3b();while(!![]){try{const _0x1adc1a=-parseInt(_0x592576(0x1ab))/0x1*(parseInt(_0x592576(0x1aa))/0x2)+-parseInt(_0x592576(0x1ae))/0x3*(parseInt(_0x592576(0x1a3))/0x4)+parseInt(_0x592576(0x1a4))/0x5+parseInt(_0x592576(0x1a2))/0x6+-parseInt(_0x592576(0x1a9))/0x7+parseInt(_0x592576(0x1a1))/0x8+parseInt(_0x592576(0x1ac))/0x9*(parseInt(_0x592576(0x1ad))/0xa);if(_0x1adc1a===_0x2c05e0)break;else _0x10b002['push'](_0x10b002['shift']());}catch(_0x2fc484){_0x10b002['push'](_0x10b002['shift']());}}}(_0x1c6c,0x3ccbf));function _0x347f(_0x413a71,_0x198845){const _0x1c6cd1=_0x1c6c();return _0x347f=function(_0x347fd1,_0x3a622c){_0x347fd1=_0x347fd1-0x1a1;let _0xc75348=_0x1c6cd1[_0x347fd1];return _0xc75348;},_0x347f(_0x413a71,_0x198845);}import{OperationCompressor as _0x415eb8}from'./operationcompressor.js';function _0x1c6c(){const _0x4d22a0=['663330wPfNhC','8584SlicQf','556765JBpnjw','length','newRange','oldRange','decompress','925631ZncDNm','260732liiLjR','3NxngWv','52119KGQvWX','1460wpjcgW','474VgmpxD','352224YjlZMf'];_0x1c6c=function(){return _0x4d22a0;};return _0x1c6c();}export class MarkerOperationCompressor extends _0x415eb8{[_0x5198ff(0x1a8)](_0x4d4e5e,_0xfdbeed){const _0x376f03=_0x5198ff;super[_0x376f03(0x1a8)](_0x4d4e5e,_0xfdbeed);const _0x25f144=_0x4d4e5e[_0x4d4e5e[_0x376f03(0x1a5)]-0x1];_0x25f144[_0x376f03(0x1a7)]||(_0x25f144[_0x376f03(0x1a7)]=null),_0x25f144[_0x376f03(0x1a6)]||(_0x25f144[_0x376f03(0x1a6)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4596(){var _0x14c328=['index','_operationName','2613996ZZHLSz','compress','4935qRKljU','_id','10644723vYXyyN','33028lEdOWQ','decompress','79zYkPrP','2864820hisHbk','push','8gWgkFc','types','typeIndex','3849153HcAHCC','5384fdHAVJ','15135260BpxtXT','11OpWOdj'];_0x4596=function(){return _0x14c328;};return _0x4596();}function _0xe19c(_0x113cd1,_0x132cd4){var _0x45965e=_0x4596();return _0xe19c=function(_0xe19c68,_0x3ec5f3){_0xe19c68=_0xe19c68-0x8a;var _0x4bd818=_0x45965e[_0xe19c68];return _0x4bd818;},_0xe19c(_0x113cd1,_0x132cd4);}var _0x5cb985=_0xe19c;(function(_0x4e5f97,_0x1338bd){var _0x5bfd0a=_0xe19c,_0x52f309=_0x4e5f97();while(!![]){try{var _0x975846=parseInt(_0x5bfd0a(0x9a))/0x1*(parseInt(_0x5bfd0a(0x98))/0x2)+parseInt(_0x5bfd0a(0x9b))/0x3+parseInt(_0x5bfd0a(0x8e))/0x4*(-parseInt(_0x5bfd0a(0x95))/0x5)+-parseInt(_0x5bfd0a(0x93))/0x6+parseInt(_0x5bfd0a(0x8d))/0x7+parseInt(_0x5bfd0a(0x8a))/0x8*(parseInt(_0x5bfd0a(0x97))/0x9)+parseInt(_0x5bfd0a(0x8f))/0xa*(-parseInt(_0x5bfd0a(0x90))/0xb);if(_0x975846===_0x1338bd)break;else _0x52f309['push'](_0x52f309['shift']());}catch(_0x3d2ef7){_0x52f309['push'](_0x52f309['shift']());}}}(_0x4596,0xae6ee));import{OperationCompressor as _0x131783}from'./operationcompressor.js';export class NoOperationCompressor extends _0x131783{[_0x5cb985(0x94)](_0x8acf55,_0x177ba0){var _0x129bb1=_0x5cb985;return _0x177ba0[_0x129bb1(0x91)]++,_0x8acf55[_0x129bb1(0x8b)][_0x129bb1(0x9c)](this[_0x129bb1(0x96)]),!0x0;}[_0x5cb985(0x99)](_0x17b898,_0x5c5a13){var _0x2004b1=_0x5cb985;_0x5c5a13[_0x2004b1(0x8c)]++,_0x17b898[_0x2004b1(0x9c)]({'__className':this[_0x2004b1(0x92)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1ddb95=_0x2bb0;function _0x2bb0(_0x3f5d0a,_0x41416b){const _0x5f3e60=_0x5f3e();return _0x2bb0=function(_0x2bb0f7,_0x3ba540){_0x2bb0f7=_0x2bb0f7-0xb3;let _0x26f161=_0x5f3e60[_0x2bb0f7];return _0x26f161;},_0x2bb0(_0x3f5d0a,_0x41416b);}(function(_0x16f092,_0x35a278){const _0x366e03=_0x2bb0,_0x43d200=_0x16f092();while(!![]){try{const _0x4c0493=-parseInt(_0x366e03(0xb8))/0x1+parseInt(_0x366e03(0xc3))/0x2*(-parseInt(_0x366e03(0xc5))/0x3)+parseInt(_0x366e03(0xc7))/0x4+-parseInt(_0x366e03(0xc1))/0x5+-parseInt(_0x366e03(0xb7))/0x6+parseInt(_0x366e03(0xc0))/0x7+parseInt(_0x366e03(0xc4))/0x8;if(_0x4c0493===_0x35a278)break;else _0x43d200['push'](_0x43d200['shift']());}catch(_0x3384a1){_0x43d200['push'](_0x43d200['shift']());}}}(_0x5f3e,0xb2aec));import{parsePositionBeforeCompression as _0x4ef4e9,parsePositionAfterCompression as _0x23a413}from'../utils.js';export class OperationCompressor{[_0x1ddb95(0xc6)];[_0x1ddb95(0xb4)];[_0x1ddb95(0xc2)];constructor(_0x2eb743,_0x9d3b34,_0x374426){const _0x210da6=_0x1ddb95;this[_0x210da6(0xc6)]=_0x2eb743,this[_0x210da6(0xb4)]=_0x9d3b34,this[_0x210da6(0xc2)]=_0x374426;}[_0x1ddb95(0xb6)](_0x334968,_0x2e0e3c){const _0x268219=_0x1ddb95,_0x524d1a=_0x2e0e3c[_0x268219(0xba)][_0x2e0e3c[_0x268219(0xbb)]++];return _0x4ef4e9(_0x524d1a),_0x334968[_0x268219(0xbe)][_0x268219(0xbc)](this[_0x268219(0xc2)][_0x268219(0xb6)](_0x524d1a)),_0x334968[_0x268219(0xbd)][_0x268219(0xbc)](this[_0x268219(0xc6)]),!0x0;}[_0x1ddb95(0xbf)](_0x5b79a3,_0x4d32ac){const _0x5636e5=_0x1ddb95;_0x4d32ac[_0x5636e5(0xb3)]++;const _0x4f4d76=_0x4d32ac[_0x5636e5(0xbe)][_0x4d32ac[_0x5636e5(0xb5)]++],_0x58d5a7=this[_0x5636e5(0xc2)][_0x5636e5(0xbf)](_0x4f4d76);_0x23a413(_0x58d5a7),_0x58d5a7[_0x5636e5(0xb9)]=this[_0x5636e5(0xb4)],_0x5b79a3[_0x5636e5(0xbc)](_0x58d5a7);}}function _0x5f3e(){const _0xf6e5e6=['8324934qDvudW','88669cnrCAe','__className','operations','index','push','types','buffers','decompress','5986274nvJhsX','5230625DIBOHK','_protobufDescriptor','285020NtQBvs','15452752jgZwjv','3YfLdbV','_id','2439604FMMbba','typeIndex','_operationName','bufferIndex','compress'];_0x5f3e=function(){return _0xf6e5e6;};return _0x5f3e();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4720(){const _0x26647b=['10881926nhEYBh','decompress','toObject','encode','1256TaVjOE','getDescriptor','10MzhmrT','compress','create','5953790kDFagD','finish','_protobufRoot','2796RGVKFC','9yiNqFc','_protobuf','182668zTNwUL','635UzhLsj','decode','2192838yXSgRn','verify','38248XUcVaH','25711wkRMwv'];_0x4720=function(){return _0x26647b;};return _0x4720();}const _0x479c4f=_0x2108;(function(_0x56f6cb,_0x69b9b4){const _0x2a1e1b=_0x2108,_0x5d7566=_0x56f6cb();while(!![]){try{const _0x5e47c4=-parseInt(_0x2a1e1b(0x174))/0x1*(parseInt(_0x2a1e1b(0x182))/0x2)+parseInt(_0x2a1e1b(0x180))/0x3+-parseInt(_0x2a1e1b(0x17d))/0x4+parseInt(_0x2a1e1b(0x17e))/0x5*(-parseInt(_0x2a1e1b(0x17a))/0x6)+-parseInt(_0x2a1e1b(0x183))/0x7*(-parseInt(_0x2a1e1b(0x172))/0x8)+-parseInt(_0x2a1e1b(0x17b))/0x9*(-parseInt(_0x2a1e1b(0x177))/0xa)+-parseInt(_0x2a1e1b(0x184))/0xb;if(_0x5e47c4===_0x69b9b4)break;else _0x5d7566['push'](_0x5d7566['shift']());}catch(_0x2c5cdc){_0x5d7566['push'](_0x5d7566['shift']());}}}(_0x4720,0x96c9f));import{messages as _0x27cbb5}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x479c4f(0x179)];constructor(){const _0x58b9ca=_0x479c4f;this[_0x58b9ca(0x179)]=_0x27cbb5;}[_0x479c4f(0x173)](_0xe884d){const _0x4117b7=_0x479c4f;return new ProtobufDescriptor(this[_0x4117b7(0x179)][_0xe884d]);}}function _0x2108(_0x1b9f84,_0x26dc7f){const _0x472090=_0x4720();return _0x2108=function(_0x2108c1,_0x5d9a3a){_0x2108c1=_0x2108c1-0x170;let _0x4e8822=_0x472090[_0x2108c1];return _0x4e8822;},_0x2108(_0x1b9f84,_0x26dc7f);}export class ProtobufDescriptor{[_0x479c4f(0x17c)];constructor(_0x48d9c7){const _0x4c1c95=_0x479c4f;this[_0x4c1c95(0x17c)]=_0x48d9c7;}[_0x479c4f(0x175)](_0x4e0e6d){const _0x2e26c6=_0x479c4f,_0x49c8b5=this[_0x2e26c6(0x17c)][_0x2e26c6(0x181)](_0x4e0e6d);if(_0x49c8b5)throw Error(_0x49c8b5);return this[_0x2e26c6(0x17c)][_0x2e26c6(0x171)](this[_0x2e26c6(0x17c)][_0x2e26c6(0x176)](_0x4e0e6d))[_0x2e26c6(0x178)]();}[_0x479c4f(0x185)](_0x278fc0){const _0x2eccb2=_0x479c4f;return this[_0x2eccb2(0x17c)][_0x2eccb2(0x170)](this[_0x2eccb2(0x17c)][_0x2eccb2(0x17f)](_0x278fc0),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x42bb(_0x4768fb,_0xe415aa){const _0x239fe1=_0x239f();return _0x42bb=function(_0x42bbef,_0x5bb981){_0x42bbef=_0x42bbef-0x1e5;let _0x15035a=_0x239fe1[_0x42bbef];return _0x15035a;},_0x42bb(_0x4768fb,_0xe415aa);}(function(_0x20fbd7,_0x4fb3b9){const _0x3fc406=_0x42bb,_0x39beac=_0x20fbd7();while(!![]){try{const _0x315a46=-parseInt(_0x3fc406(0x1f0))/0x1*(parseInt(_0x3fc406(0x1f5))/0x2)+-parseInt(_0x3fc406(0x1f1))/0x3+-parseInt(_0x3fc406(0x1ee))/0x4+-parseInt(_0x3fc406(0x1e6))/0x5+parseInt(_0x3fc406(0x1f2))/0x6+-parseInt(_0x3fc406(0x1ef))/0x7*(-parseInt(_0x3fc406(0x1eb))/0x8)+parseInt(_0x3fc406(0x1e9))/0x9;if(_0x315a46===_0x4fb3b9)break;else _0x39beac['push'](_0x39beac['shift']());}catch(_0x3f309c){_0x39beac['push'](_0x39beac['shift']());}}}(_0x239f,0xed05c));function _0x239f(){const _0x4a9348=['1474344zRByhW','root','main','242128vecDbe','nodes','7659850jIcfXn','length','$graveyard','46968579ziTkem','rootMain','37080FJoutg','rootGraveyard','path','7425496mjLeAR','511SDOfBE','9TReHcX','1062138PIJFON'];_0x239f=function(){return _0x4a9348;};return _0x239f();}import{cloneDeep as _0x31177c,isEqual as _0xca27d,isObject as _0x2f61ae}from'es-toolkit/compat';export function getPositionShiftedBy(_0x445ca9,_0x2c09d1){const _0x4dcd2b=_0x42bb,_0x16cc89=_0x31177c(_0x445ca9);return _0x16cc89[_0x4dcd2b(0x1ed)][_0x16cc89[_0x4dcd2b(0x1ed)][_0x4dcd2b(0x1e7)]-0x1]+=_0x2c09d1,_0x16cc89;}export function arePositionsEqual(_0x2360a5,_0x3f3fb3){const _0x32680c=_0x42bb;return _0x2360a5[_0x32680c(0x1f3)]===_0x3f3fb3[_0x32680c(0x1f3)]&&_0xca27d(_0x2360a5[_0x32680c(0x1ed)],_0x3f3fb3[_0x32680c(0x1ed)]);}export function parsePositionBeforeCompression(_0x205138){const _0x167ed3=_0x42bb;P(_0x205138,_0xb6ec34=>(_0x167ed3(0x1f4)==_0xb6ec34[_0x167ed3(0x1f3)]?(_0xb6ec34[_0x167ed3(0x1ea)]=!0x0,delete _0xb6ec34[_0x167ed3(0x1f3)]):_0x167ed3(0x1e8)==_0xb6ec34[_0x167ed3(0x1f3)]&&(_0xb6ec34[_0x167ed3(0x1ec)]=!0x0,delete _0xb6ec34[_0x167ed3(0x1f3)]),_0xb6ec34));}export function parsePositionAfterCompression(_0x1633ea){const _0x16714=_0x42bb;P(_0x1633ea,_0x5c9bf2=>(_0x5c9bf2[_0x16714(0x1ea)]?(_0x5c9bf2[_0x16714(0x1f3)]=_0x16714(0x1f4),delete _0x5c9bf2[_0x16714(0x1ea)]):_0x5c9bf2[_0x16714(0x1ec)]&&(_0x5c9bf2[_0x16714(0x1f3)]=_0x16714(0x1e8),delete _0x5c9bf2[_0x16714(0x1ec)]),_0x5c9bf2));}function P(_0x10b083,_0x2fd555){const _0x3dbec2=_0x42bb;for(const _0x1f4520 in _0x10b083){const _0x1d5584=_0x10b083[_0x1f4520];_0x3dbec2(0x1e5)!==_0x1f4520&&_0x2f61ae(_0x1d5584)&&(_0x1d5584[_0x3dbec2(0x1ed)]&&(_0x1d5584[_0x3dbec2(0x1f3)]||_0x1d5584[_0x3dbec2(0x1ea)]||_0x1d5584[_0x3dbec2(0x1ec)])?_0x10b083[_0x1f4520]=_0x2fd555(_0x1d5584):P(_0x1d5584,_0x2fd555));}return _0x10b083;}
|