@ckeditor/ckeditor5-operations-compressor 47.1.0-alpha.1 → 47.1.0-alpha.2
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
|
+
function _0x5c54(_0x1f1135,_0x571d5a){const _0x452204=_0x4522();return _0x5c54=function(_0x5c54df,_0x1207ef){_0x5c54df=_0x5c54df-0x14a;let _0x3c56fd=_0x452204[_0x5c54df];return _0x3c56fd;},_0x5c54(_0x1f1135,_0x571d5a);}const _0x544d9e=_0x5c54;function _0x4522(){const _0x35967c=['4034298wGAxdd','decompress','length','1828FqFpQO','newRange','oldRange','2742784hAmFvH','307tcrmHR','4251961WRmTfN','1290QfqTSF','2836OwkgyI','126153TKOtmg','2762136ucKRUa','2190bskdtl'];_0x4522=function(){return _0x35967c;};return _0x4522();}(function(_0x25e0ae,_0x11d5ab){const _0xa7cd42=_0x5c54,_0x545b2b=_0x25e0ae();while(!![]){try{const _0x2b5777=parseInt(_0xa7cd42(0x14d))/0x1*(parseInt(_0xa7cd42(0x150))/0x2)+-parseInt(_0xa7cd42(0x154))/0x3+-parseInt(_0xa7cd42(0x157))/0x4*(-parseInt(_0xa7cd42(0x14f))/0x5)+-parseInt(_0xa7cd42(0x152))/0x6+-parseInt(_0xa7cd42(0x14e))/0x7+-parseInt(_0xa7cd42(0x14c))/0x8+parseInt(_0xa7cd42(0x151))/0x9*(parseInt(_0xa7cd42(0x153))/0xa);if(_0x2b5777===_0x11d5ab)break;else _0x545b2b['push'](_0x545b2b['shift']());}catch(_0x5bab2f){_0x545b2b['push'](_0x545b2b['shift']());}}}(_0x4522,0xd3cea));import{OperationCompressor as _0x476a2c}from'./operationcompressor.js';export class MarkerOperationCompressor extends _0x476a2c{[_0x544d9e(0x155)](_0x1867e1,_0x8d53b2){const _0x4520c9=_0x544d9e;super[_0x4520c9(0x155)](_0x1867e1,_0x8d53b2);const _0x42e868=_0x1867e1[_0x1867e1[_0x4520c9(0x156)]-0x1];_0x42e868[_0x4520c9(0x14b)]||(_0x42e868[_0x4520c9(0x14b)]=null),_0x42e868[_0x4520c9(0x14a)]||(_0x42e868[_0x4520c9(0x14a)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3d5a(_0x470df8,_0x446fe1){var _0x1722e0=_0x1722();return _0x3d5a=function(_0x3d5a28,_0x5bac22){_0x3d5a28=_0x3d5a28-0xb8;var _0xdbc89c=_0x1722e0[_0x3d5a28];return _0xdbc89c;},_0x3d5a(_0x470df8,_0x446fe1);}var _0x570245=_0x3d5a;(function(_0xb61eed,_0x1a2b2f){var _0x1f6348=_0x3d5a,_0x3f1d33=_0xb61eed();while(!![]){try{var _0x57876e=parseInt(_0x1f6348(0xc9))/0x1*(-parseInt(_0x1f6348(0xbc))/0x2)+-parseInt(_0x1f6348(0xba))/0x3*(parseInt(_0x1f6348(0xc2))/0x4)+-parseInt(_0x1f6348(0xbf))/0x5*(-parseInt(_0x1f6348(0xb8))/0x6)+-parseInt(_0x1f6348(0xc6))/0x7+parseInt(_0x1f6348(0xbd))/0x8+parseInt(_0x1f6348(0xc8))/0x9+-parseInt(_0x1f6348(0xc0))/0xa*(-parseInt(_0x1f6348(0xbe))/0xb);if(_0x57876e===_0x1a2b2f)break;else _0x3f1d33['push'](_0x3f1d33['shift']());}catch(_0x1b4d22){_0x3f1d33['push'](_0x3f1d33['shift']());}}}(_0x1722,0xdf6de));function _0x1722(){var _0xab774d=['768344vlysHv','shift','_id','_operationName','2624020uIqhvU','compress','6245298dLajWg','38MwWmfW','6lpNKTU','push','6lQLjWk','types','7746gjOeWb','6262360CNzZWC','22AtLWyE','688565vKGGrl','1034710yluyPB','decompress'];_0x1722=function(){return _0xab774d;};return _0x1722();}import{OperationCompressor as _0x5c5502}from'./operationcompressor.js';export class NoOperationCompressor extends _0x5c5502{[_0x570245(0xc7)](_0x4658eb,_0x46092e){var _0x3471de=_0x570245;return _0x46092e[_0x3471de(0xc3)](),_0x4658eb[_0x3471de(0xbb)][_0x3471de(0xb9)](this[_0x3471de(0xc4)]),!0x0;}[_0x570245(0xc1)](_0x11354c,_0x4ed199){var _0x27893f=_0x570245;_0x4ed199[_0x27893f(0xbb)][_0x27893f(0xc3)](),_0x11354c[_0x27893f(0xb9)]({'__className':this[_0x27893f(0xc5)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50a0b8=_0x8880;function _0x8880(_0x4328fb,_0x27487a){const _0xa84d3b=_0xa84d();return _0x8880=function(_0x888021,_0x18d459){_0x888021=_0x888021-0xc4;let _0x5c605f=_0xa84d3b[_0x888021];return _0x5c605f;},_0x8880(_0x4328fb,_0x27487a);}function _0xa84d(){const _0x556a31=['compress','_operationName','10250umZfwP','buffers','132WRafWt','1496pOHUyb','525427RzAmzI','453246EAtyMh','_id','4204673HhvMeT','shift','10tLWgVq','5499nHitzH','__className','_protobufDescriptor','88zlpAdf','decompress','push','3540308paqrtc','types','400mjhrth','3354645FcllII'];_0xa84d=function(){return _0x556a31;};return _0xa84d();}(function(_0x2fb163,_0x4f5dc5){const _0x4d7e8=_0x8880,_0x43cd21=_0x2fb163();while(!![]){try{const _0x180b42=-parseInt(_0x4d7e8(0xd0))/0x1*(parseInt(_0x4d7e8(0xc9))/0x2)+-parseInt(_0x4d7e8(0xca))/0x3+-parseInt(_0x4d7e8(0xc7))/0x4+-parseInt(_0x4d7e8(0xd6))/0x5*(-parseInt(_0x4d7e8(0xd2))/0x6)+parseInt(_0x4d7e8(0xd1))/0x7*(-parseInt(_0x4d7e8(0xc4))/0x8)+-parseInt(_0x4d7e8(0xd7))/0x9*(parseInt(_0x4d7e8(0xcd))/0xa)+-parseInt(_0x4d7e8(0xd4))/0xb*(-parseInt(_0x4d7e8(0xcf))/0xc);if(_0x180b42===_0x4f5dc5)break;else _0x43cd21['push'](_0x43cd21['shift']());}catch(_0x37efdd){_0x43cd21['push'](_0x43cd21['shift']());}}}(_0xa84d,0x92ce5));import{parsePositionBeforeCompression as _0x26573b,parsePositionAfterCompression as _0x2a775d}from'../utils.js';export class OperationCompressor{[_0x50a0b8(0xd3)];[_0x50a0b8(0xcc)];[_0x50a0b8(0xd9)];constructor(_0x3d1d9c,_0x2088de,_0x13ea03){const _0x2140a0=_0x50a0b8;this[_0x2140a0(0xd3)]=_0x3d1d9c,this[_0x2140a0(0xcc)]=_0x2088de,this[_0x2140a0(0xd9)]=_0x13ea03;}[_0x50a0b8(0xcb)](_0x2041f5,_0x23cec2){const _0xa4e256=_0x50a0b8,_0x3197c6=_0x23cec2[_0xa4e256(0xd5)]();return _0x26573b(_0x3197c6),_0x2041f5[_0xa4e256(0xce)][_0xa4e256(0xc6)](this[_0xa4e256(0xd9)][_0xa4e256(0xcb)](_0x3197c6)),_0x2041f5[_0xa4e256(0xc8)][_0xa4e256(0xc6)](this[_0xa4e256(0xd3)]),!0x0;}[_0x50a0b8(0xc5)](_0x285936,_0x3111a3){const _0x34015e=_0x50a0b8;_0x3111a3[_0x34015e(0xc8)][_0x34015e(0xd5)]();const _0x52ebc7=this[_0x34015e(0xd9)][_0x34015e(0xc5)](_0x3111a3[_0x34015e(0xce)][_0x34015e(0xd5)]());_0x2a775d(_0x52ebc7),_0x52ebc7[_0x34015e(0xd8)]=this[_0x34015e(0xcc)],_0x285936[_0x34015e(0xc6)](_0x52ebc7);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x606924=_0x288c;(function(_0x3de476,_0x5190d0){const _0x156e8a=_0x288c,_0x1e1ddd=_0x3de476();while(!![]){try{const _0x32d84a=-parseInt(_0x156e8a(0x155))/0x1+-parseInt(_0x156e8a(0x153))/0x2+-parseInt(_0x156e8a(0x152))/0x3*(-parseInt(_0x156e8a(0x14f))/0x4)+-parseInt(_0x156e8a(0x160))/0x5*(parseInt(_0x156e8a(0x15e))/0x6)+-parseInt(_0x156e8a(0x15f))/0x7*(parseInt(_0x156e8a(0x14e))/0x8)+parseInt(_0x156e8a(0x158))/0x9*(parseInt(_0x156e8a(0x15d))/0xa)+parseInt(_0x156e8a(0x154))/0xb;if(_0x32d84a===_0x5190d0)break;else _0x1e1ddd['push'](_0x1e1ddd['shift']());}catch(_0x47794c){_0x1e1ddd['push'](_0x1e1ddd['shift']());}}}(_0xb736,0xb5d77));import{messages as _0x549bdc}from'./lib/compiledmessages.js';function _0x288c(_0x25e422,_0x4e2d63){const _0xb73668=_0xb736();return _0x288c=function(_0x288cbb,_0x58556d){_0x288cbb=_0x288cbb-0x14b;let _0x5247a9=_0xb73668[_0x288cbb];return _0x5247a9;},_0x288c(_0x25e422,_0x4e2d63);}export class ProtobufFactory{[_0x606924(0x15b)];constructor(){const _0x156c63=_0x606924;this[_0x156c63(0x15b)]=_0x549bdc;}[_0x606924(0x14b)](_0x46e0e4){const _0x202213=_0x606924;return new ProtobufDescriptor(this[_0x202213(0x15b)][_0x46e0e4]);}}export class ProtobufDescriptor{[_0x606924(0x14d)];constructor(_0x42f607){const _0x866ec9=_0x606924;this[_0x866ec9(0x14d)]=_0x42f607;}[_0x606924(0x14c)](_0x19fe90){const _0x513769=_0x606924,_0x5b6bba=this[_0x513769(0x14d)][_0x513769(0x157)](_0x19fe90);if(_0x5b6bba)throw Error(_0x5b6bba);return this[_0x513769(0x14d)][_0x513769(0x151)](this[_0x513769(0x14d)][_0x513769(0x159)](_0x19fe90))[_0x513769(0x15c)]();}[_0x606924(0x15a)](_0x8f4988){const _0x3a0381=_0x606924;return this[_0x3a0381(0x14d)][_0x3a0381(0x150)](this[_0x3a0381(0x14d)][_0x3a0381(0x156)](_0x8f4988),{'oneofs':!0x0});}}function _0xb736(){const _0x53fa89=['643790PCAAJa','6QRFIHZ','63tkWBIK','5400105dPDNtU','getDescriptor','compress','_protobuf','883208lpGXWO','14636HlbnvH','toObject','encode','957RPWZeG','2113320vDMYgk','19141309zoClPi','512944HewsHI','decode','verify','207iTAsHR','create','decompress','_protobufRoot','finish'];_0xb736=function(){return _0x53fa89;};return _0xb736();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x12d7e1,_0x5bf785){const _0x408b4f=_0x4bc1,_0x10f0b3=_0x12d7e1();while(!![]){try{const _0x529a33=-parseInt(_0x408b4f(0x120))/0x1+-parseInt(_0x408b4f(0x128))/0x2+-parseInt(_0x408b4f(0x127))/0x3*(-parseInt(_0x408b4f(0x11f))/0x4)+-parseInt(_0x408b4f(0x11d))/0x5+-parseInt(_0x408b4f(0x125))/0x6*(parseInt(_0x408b4f(0x123))/0x7)+parseInt(_0x408b4f(0x122))/0x8*(-parseInt(_0x408b4f(0x126))/0x9)+parseInt(_0x408b4f(0x12b))/0xa*(parseInt(_0x408b4f(0x124))/0xb);if(_0x529a33===_0x5bf785)break;else _0x10f0b3['push'](_0x10f0b3['shift']());}catch(_0x58d2f7){_0x10f0b3['push'](_0x10f0b3['shift']());}}}(_0x51c7,0x7c944));import{cloneDeep as _0xfd2363,isEqual as _0x313b69,isObject as _0x25d680}from'es-toolkit/compat';export function getPositionShiftedBy(_0x3b90cb,_0x5abfc2){const _0x35a5c3=_0x4bc1,_0x10a51e=_0xfd2363(_0x3b90cb);return _0x10a51e[_0x35a5c3(0x11a)][_0x10a51e[_0x35a5c3(0x11a)][_0x35a5c3(0x11b)]-0x1]+=_0x5abfc2,_0x10a51e;}function _0x4bc1(_0x140db3,_0x20fbf0){const _0x51c75=_0x51c7();return _0x4bc1=function(_0x4bc13,_0x2319f5){_0x4bc13=_0x4bc13-0x119;let _0x3563b1=_0x51c75[_0x4bc13];return _0x3563b1;},_0x4bc1(_0x140db3,_0x20fbf0);}export function arePositionsEqual(_0x4c4496,_0x9f93ed){const _0x558c29=_0x4bc1;return _0x4c4496[_0x558c29(0x12a)]===_0x9f93ed[_0x558c29(0x12a)]&&_0x313b69(_0x4c4496[_0x558c29(0x11a)],_0x9f93ed[_0x558c29(0x11a)]);}export function parsePositionBeforeCompression(_0x24867a){const _0x19d834=_0x4bc1;P(_0x24867a,_0x40a1f7=>(_0x19d834(0x119)==_0x40a1f7[_0x19d834(0x12a)]?(_0x40a1f7[_0x19d834(0x11c)]=!0x0,delete _0x40a1f7[_0x19d834(0x12a)]):_0x19d834(0x129)==_0x40a1f7[_0x19d834(0x12a)]&&(_0x40a1f7[_0x19d834(0x121)]=!0x0,delete _0x40a1f7[_0x19d834(0x12a)]),_0x40a1f7));}export function parsePositionAfterCompression(_0x1fb4f6){const _0x4b8306=_0x4bc1;P(_0x1fb4f6,_0x17b8d6=>(_0x17b8d6[_0x4b8306(0x11c)]?(_0x17b8d6[_0x4b8306(0x12a)]=_0x4b8306(0x119),delete _0x17b8d6[_0x4b8306(0x11c)]):_0x17b8d6[_0x4b8306(0x121)]&&(_0x17b8d6[_0x4b8306(0x12a)]=_0x4b8306(0x129),delete _0x17b8d6[_0x4b8306(0x121)]),_0x17b8d6));}function P(_0x562954,_0x51afff){const _0x2f9bda=_0x4bc1;for(const _0x2a976a in _0x562954){const _0xb9320a=_0x562954[_0x2a976a];_0x2f9bda(0x11e)!==_0x2a976a&&_0x25d680(_0xb9320a)&&(_0xb9320a[_0x2f9bda(0x11a)]&&(_0xb9320a[_0x2f9bda(0x12a)]||_0xb9320a[_0x2f9bda(0x11c)]||_0xb9320a[_0x2f9bda(0x121)])?_0x562954[_0x2a976a]=_0x51afff(_0xb9320a):P(_0xb9320a,_0x51afff));}return _0x562954;}function _0x51c7(){const _0x391594=['10oYgwOu','main','path','length','rootMain','4487270VXywKS','nodes','3523116pmYlSA','665613gEoJKQ','rootGraveyard','2152cWAhpw','71113odorwT','22740773LmLryf','150KfODkt','2151ORrkgt','3jxFAiv','1113026dRRHkB','$graveyard','root'];_0x51c7=function(){return _0x391594;};return _0x51c7();}
|