@ckeditor/ckeditor5-operations-compressor 44.2.0-alpha.3 → 44.2.0-alpha.5
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
|
-
const
|
|
23
|
+
const _0x5ade3a=_0x4fe5;(function(_0x155c3d,_0x48cbaa){const _0x3521cc=_0x4fe5,_0xff14ac=_0x155c3d();while(!![]){try{const _0x4083e3=parseInt(_0x3521cc(0xde))/0x1*(parseInt(_0x3521cc(0xe3))/0x2)+parseInt(_0x3521cc(0xea))/0x3*(parseInt(_0x3521cc(0xe6))/0x4)+-parseInt(_0x3521cc(0xdd))/0x5*(parseInt(_0x3521cc(0xe4))/0x6)+parseInt(_0x3521cc(0xe0))/0x7*(parseInt(_0x3521cc(0xdf))/0x8)+-parseInt(_0x3521cc(0xe8))/0x9+parseInt(_0x3521cc(0xdc))/0xa+-parseInt(_0x3521cc(0xdb))/0xb*(parseInt(_0x3521cc(0xe1))/0xc);if(_0x4083e3===_0x48cbaa)break;else _0xff14ac['push'](_0xff14ac['shift']());}catch(_0x1261cc){_0xff14ac['push'](_0xff14ac['shift']());}}}(_0x5423,0xd3060));function _0x4fe5(_0x81240c,_0x19ec11){const _0x542365=_0x5423();return _0x4fe5=function(_0x4fe532,_0x9971ab){_0x4fe532=_0x4fe532-0xdb;let _0x232743=_0x542365[_0x4fe532];return _0x232743;},_0x4fe5(_0x81240c,_0x19ec11);}import _0x537f8d from'./operationcompressor.js';export default class n extends _0x537f8d{[_0x5ade3a(0xe9)](_0x15970,_0xe14f38){const _0x5ad404=_0x5ade3a;super[_0x5ad404(0xe9)](_0x15970,_0xe14f38);const _0x4b84c3=_0x15970[_0x15970[_0x5ad404(0xe7)]-0x1];_0x4b84c3[_0x5ad404(0xe2)]||(_0x4b84c3[_0x5ad404(0xe2)]=null),_0x4b84c3[_0x5ad404(0xe5)]||(_0x4b84c3[_0x5ad404(0xe5)]=null);}}function _0x5423(){const _0x13a20b=['newRange','4308xMaAhl','length','89928zPQkmG','decompress','696HpyAGP','22NSbrWM','10448430rwZrps','965cadJia','80891zvGNDW','45688wudNJP','868gBcGku','6925740hIUeEu','oldRange','40NFGJie','49494vpkMAd'];_0x5423=function(){return _0x13a20b;};return _0x5423();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4937(_0x2b2bb8,_0x9fd3f7){var _0x3f6a88=_0x3f6a();return _0x4937=function(_0x493710,_0x2603d8){_0x493710=_0x493710-0x16a;var _0xcd22ee=_0x3f6a88[_0x493710];return _0xcd22ee;},_0x4937(_0x2b2bb8,_0x9fd3f7);}var _0x3e7a5c=_0x4937;(function(_0x5db04f,_0x10b6ee){var _0x16353e=_0x4937,_0x24a514=_0x5db04f();while(!![]){try{var _0x4cd998=parseInt(_0x16353e(0x174))/0x1*(-parseInt(_0x16353e(0x177))/0x2)+parseInt(_0x16353e(0x16e))/0x3*(-parseInt(_0x16353e(0x175))/0x4)+parseInt(_0x16353e(0x16d))/0x5*(-parseInt(_0x16353e(0x178))/0x6)+parseInt(_0x16353e(0x172))/0x7+parseInt(_0x16353e(0x16c))/0x8*(-parseInt(_0x16353e(0x17a))/0x9)+-parseInt(_0x16353e(0x173))/0xa+parseInt(_0x16353e(0x16a))/0xb;if(_0x4cd998===_0x10b6ee)break;else _0x24a514['push'](_0x24a514['shift']());}catch(_0x11e7e3){_0x24a514['push'](_0x24a514['shift']());}}}(_0x3f6a,0x92756));import _0x125349 from'./operationcompressor.js';function _0x3f6a(){var _0x555c60=['_operationName','4338832jPGXcH','2895dwNtMb','333849xycSyq','decompress','shift','_id','1157415BhZMEe','5644460GNMTeJ','23svVjDU','4WuMQoU','compress','90918ItxOUL','1956IvvJio','types','9PdFYPM','push','31756373nGPAyR'];_0x3f6a=function(){return _0x555c60;};return _0x3f6a();}export default class p extends _0x125349{[_0x3e7a5c(0x176)](_0x44022e,_0x36e172){var _0x66ccb2=_0x3e7a5c;return _0x36e172[_0x66ccb2(0x170)](),_0x44022e[_0x66ccb2(0x179)][_0x66ccb2(0x17b)](this[_0x66ccb2(0x171)]),!0x0;}[_0x3e7a5c(0x16f)](_0x42c3f8,_0x17e52b){var _0x356f26=_0x3e7a5c;_0x17e52b[_0x356f26(0x179)][_0x356f26(0x170)](),_0x42c3f8[_0x356f26(0x17b)]({'__className':this[_0x356f26(0x16b)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2cff17=_0x57b7;function _0x57b7(_0x28784f,_0x3cc485){const _0x4c66f4=_0x4c66();return _0x57b7=function(_0x57b7d9,_0x128652){_0x57b7d9=_0x57b7d9-0xaa;let _0x72af0=_0x4c66f4[_0x57b7d9];return _0x72af0;},_0x57b7(_0x28784f,_0x3cc485);}(function(_0x10cd6e,_0x114e19){const _0x48162e=_0x57b7,_0xf87f74=_0x10cd6e();while(!![]){try{const _0x28c99f=parseInt(_0x48162e(0xb6))/0x1*(parseInt(_0x48162e(0xb7))/0x2)+parseInt(_0x48162e(0xb1))/0x3*(parseInt(_0x48162e(0xba))/0x4)+-parseInt(_0x48162e(0xbe))/0x5+parseInt(_0x48162e(0xad))/0x6*(parseInt(_0x48162e(0xb0))/0x7)+-parseInt(_0x48162e(0xaa))/0x8+parseInt(_0x48162e(0xb5))/0x9*(-parseInt(_0x48162e(0xab))/0xa)+parseInt(_0x48162e(0xbc))/0xb;if(_0x28c99f===_0x114e19)break;else _0xf87f74['push'](_0xf87f74['shift']());}catch(_0x35a343){_0xf87f74['push'](_0xf87f74['shift']());}}}(_0x4c66,0xc2988));function _0x4c66(){const _0x3da4af=['compress','buffers','13781421OPbfcG','150lZLebW','14804uBLSnJ','shift','__className','1460416HdcDjp','_operationName','16679784IrhiAM','decompress','2415950pjCrEj','2754856bHAFaJ','10AZDoMy','push','24zxytPP','_id','_protobufDescriptor','287231EpSzlv','3WfsAgn','types'];_0x4c66=function(){return _0x3da4af;};return _0x4c66();}import{parsePositionBeforeCompression as _0x59a7b7,parsePositionAfterCompression as _0x4141bd}from'../utils.js';export default class e{constructor(_0x12bcca,_0x30bc5b,_0x38bdfc){const _0x2d56b7=_0x57b7;this[_0x2d56b7(0xae)]=_0x12bcca,this[_0x2d56b7(0xbb)]=_0x30bc5b,this[_0x2d56b7(0xaf)]=_0x38bdfc;}[_0x2cff17(0xb3)](_0x2a9034,_0x42d1ca){const _0x4abfe8=_0x2cff17,_0x16a68f=_0x42d1ca[_0x4abfe8(0xb8)]();return _0x59a7b7(_0x16a68f),_0x2a9034[_0x4abfe8(0xb4)][_0x4abfe8(0xac)](this[_0x4abfe8(0xaf)][_0x4abfe8(0xb3)](_0x16a68f)),_0x2a9034[_0x4abfe8(0xb2)][_0x4abfe8(0xac)](this[_0x4abfe8(0xae)]),!0x0;}[_0x2cff17(0xbd)](_0x3a1a20,_0x1e4b7e){const _0x331437=_0x2cff17;_0x1e4b7e[_0x331437(0xb2)][_0x331437(0xb8)]();const _0x51cb4b=this[_0x331437(0xaf)][_0x331437(0xbd)](_0x1e4b7e[_0x331437(0xb4)][_0x331437(0xb8)]());_0x4141bd(_0x51cb4b),_0x51cb4b[_0x331437(0xb9)]=this[_0x331437(0xbb)],_0x3a1a20[_0x331437(0xac)](_0x51cb4b);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x472a(){const _0x55b7ed=['getDescriptor','371392DLEfPJ','1372857BcGZNc','9710HxUDXP','3289aNkdil','434609JfBGmA','toObject','678OOXwEq','2219155jmSpdI','86429JKGQjY','compress','decompress','81GmnVhw','_protobufRoot','8LbTjbn','create','decode','_protobuf','verify','2111254gPEfyx','encode','finish'];_0x472a=function(){return _0x55b7ed;};return _0x472a();}const _0x1e5bc3=_0x2abe;function _0x2abe(_0x44105b,_0x1a7ea0){const _0x472a57=_0x472a();return _0x2abe=function(_0x2abea3,_0x2b5253){_0x2abea3=_0x2abea3-0x139;let _0x4ca6d4=_0x472a57[_0x2abea3];return _0x4ca6d4;},_0x2abe(_0x44105b,_0x1a7ea0);}(function(_0x130157,_0x50aab0){const _0x5e9541=_0x2abe,_0x17fc18=_0x130157();while(!![]){try{const _0x288fb2=-parseInt(_0x5e9541(0x13d))/0x1+parseInt(_0x5e9541(0x14b))/0x2+parseInt(_0x5e9541(0x13a))/0x3+-parseInt(_0x5e9541(0x146))/0x4*(-parseInt(_0x5e9541(0x140))/0x5)+parseInt(_0x5e9541(0x13f))/0x6*(-parseInt(_0x5e9541(0x141))/0x7)+-parseInt(_0x5e9541(0x139))/0x8*(-parseInt(_0x5e9541(0x144))/0x9)+parseInt(_0x5e9541(0x13b))/0xa*(-parseInt(_0x5e9541(0x13c))/0xb);if(_0x288fb2===_0x50aab0)break;else _0x17fc18['push'](_0x17fc18['shift']());}catch(_0x14d210){_0x17fc18['push'](_0x17fc18['shift']());}}}(_0x472a,0xaa8cf));import{messages as _0x597803}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x2222c3=_0x2abe;this[_0x2222c3(0x145)]=_0x597803;}[_0x1e5bc3(0x14e)](_0x545aeb){const _0x1333d5=_0x1e5bc3;return new ProtobufDescriptor(this[_0x1333d5(0x145)][_0x545aeb]);}}export class ProtobufDescriptor{constructor(_0x5d8022){const _0x3a870b=_0x1e5bc3;this[_0x3a870b(0x149)]=_0x5d8022;}[_0x1e5bc3(0x142)](_0x13675a){const _0x19ddd4=_0x1e5bc3,_0x1c0957=this[_0x19ddd4(0x149)][_0x19ddd4(0x14a)](_0x13675a);if(_0x1c0957)throw Error(_0x1c0957);return this[_0x19ddd4(0x149)][_0x19ddd4(0x14c)](this[_0x19ddd4(0x149)][_0x19ddd4(0x147)](_0x13675a))[_0x19ddd4(0x14d)]();}[_0x1e5bc3(0x143)](_0xed701e){const _0x24ccbb=_0x1e5bc3;return this[_0x24ccbb(0x149)][_0x24ccbb(0x13e)](this[_0x24ccbb(0x149)][_0x24ccbb(0x148)](_0xed701e),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xfc40(_0x18ecfc,_0x1d583c){const _0x5e547f=_0x5e54();return _0xfc40=function(_0xfc407e,_0x3b627f){_0xfc407e=_0xfc407e-0x73;let _0x42db04=_0x5e547f[_0xfc407e];return _0x42db04;},_0xfc40(_0x18ecfc,_0x1d583c);}(function(_0x1a8a8a,_0x475292){const _0x236e42=_0xfc40,_0x5e833d=_0x1a8a8a();while(!![]){try{const _0x4b4d40=-parseInt(_0x236e42(0x7e))/0x1*(parseInt(_0x236e42(0x77))/0x2)+parseInt(_0x236e42(0x82))/0x3+parseInt(_0x236e42(0x83))/0x4*(parseInt(_0x236e42(0x7c))/0x5)+-parseInt(_0x236e42(0x74))/0x6*(-parseInt(_0x236e42(0x7a))/0x7)+parseInt(_0x236e42(0x75))/0x8+parseInt(_0x236e42(0x81))/0x9+-parseInt(_0x236e42(0x7d))/0xa;if(_0x4b4d40===_0x475292)break;else _0x5e833d['push'](_0x5e833d['shift']());}catch(_0x364639){_0x5e833d['push'](_0x5e833d['shift']());}}}(_0x5e54,0x20b2f));import{cloneDeep as _0x4693db,isEqual as _0x1fed70,isObject as _0x5dff9c}from'lodash-es';export function getPositionShiftedBy(_0x31db86,_0x1b2fe8){const _0x473a69=_0xfc40,_0x150b69=_0x4693db(_0x31db86);return _0x150b69[_0x473a69(0x73)][_0x150b69[_0x473a69(0x73)][_0x473a69(0x76)]-0x1]+=_0x1b2fe8,_0x150b69;}export function arePositionsEqual(_0x3a0186,_0x2ba3de){const _0x910951=_0xfc40;return _0x3a0186[_0x910951(0x80)]===_0x2ba3de[_0x910951(0x80)]&&_0x1fed70(_0x3a0186[_0x910951(0x73)],_0x2ba3de[_0x910951(0x73)]);}export function parsePositionBeforeCompression(_0x392f6c){const _0x34424e=_0xfc40;P(_0x392f6c,_0x15f85f=>(_0x34424e(0x84)==_0x15f85f[_0x34424e(0x80)]?(_0x15f85f[_0x34424e(0x79)]=!0x0,delete _0x15f85f[_0x34424e(0x80)]):_0x34424e(0x7f)==_0x15f85f[_0x34424e(0x80)]&&(_0x15f85f[_0x34424e(0x7b)]=!0x0,delete _0x15f85f[_0x34424e(0x80)]),_0x15f85f));}export function parsePositionAfterCompression(_0x881854){const _0x50c909=_0xfc40;P(_0x881854,_0x5068fb=>(_0x5068fb[_0x50c909(0x79)]?(_0x5068fb[_0x50c909(0x80)]=_0x50c909(0x84),delete _0x5068fb[_0x50c909(0x79)]):_0x5068fb[_0x50c909(0x7b)]&&(_0x5068fb[_0x50c909(0x80)]=_0x50c909(0x7f),delete _0x5068fb[_0x50c909(0x7b)]),_0x5068fb));}function _0x5e54(){const _0x46f102=['1157QDhPVs','$graveyard','root','962262oungZz','729276QQoups','396AguIUs','main','path','18WMTLWQ','134600faXgDs','length','134oTREuf','nodes','rootMain','84154MxdHhR','rootGraveyard','4035xUeDLn','2713400SmKSoJ'];_0x5e54=function(){return _0x46f102;};return _0x5e54();}function P(_0x188565,_0x373703){const _0x29204b=_0xfc40;for(const _0x11f438 in _0x188565){const _0x1298fd=_0x188565[_0x11f438];_0x29204b(0x78)!==_0x11f438&&_0x5dff9c(_0x1298fd)&&(_0x1298fd[_0x29204b(0x73)]&&(_0x1298fd[_0x29204b(0x80)]||_0x1298fd[_0x29204b(0x79)]||_0x1298fd[_0x29204b(0x7b)])?_0x188565[_0x11f438]=_0x373703(_0x1298fd):P(_0x1298fd,_0x373703));}return _0x188565;}
|