@ckeditor/ckeditor5-operations-compressor 43.3.0-alpha.7 → 43.3.0-alpha.8
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
|
-
var
|
|
23
|
+
var _0x366459=_0x1ace;(function(_0x42a8f8,_0x3f5cd7){var _0x1b24a8=_0x1ace,_0x5e050b=_0x42a8f8();while(!![]){try{var _0x1e5879=parseInt(_0x1b24a8(0x71))/0x1*(-parseInt(_0x1b24a8(0x74))/0x2)+-parseInt(_0x1b24a8(0x7f))/0x3+parseInt(_0x1b24a8(0x6e))/0x4+parseInt(_0x1b24a8(0x75))/0x5+-parseInt(_0x1b24a8(0x77))/0x6*(parseInt(_0x1b24a8(0x6f))/0x7)+-parseInt(_0x1b24a8(0x7a))/0x8*(parseInt(_0x1b24a8(0x76))/0x9)+parseInt(_0x1b24a8(0x73))/0xa*(parseInt(_0x1b24a8(0x7b))/0xb);if(_0x1e5879===_0x3f5cd7)break;else _0x5e050b['push'](_0x5e050b['shift']());}catch(_0x262164){_0x5e050b['push'](_0x5e050b['shift']());}}}(_0x16fd,0x4dcc3));import _0x36917b from'./operationcompressor.js';function _0x1ace(_0x12bf65,_0x15d8d9){var _0x16fd88=_0x16fd();return _0x1ace=function(_0x1ace17,_0x1ce392){_0x1ace17=_0x1ace17-0x6e;var _0x4e0f16=_0x16fd88[_0x1ace17];return _0x4e0f16;},_0x1ace(_0x12bf65,_0x15d8d9);}export default class p extends _0x36917b{[_0x366459(0x7e)](_0x2f185b,_0xc8abd2){var _0x156549=_0x366459;return _0xc8abd2[_0x156549(0x70)](),_0x2f185b[_0x156549(0x78)][_0x156549(0x7c)](this[_0x156549(0x72)]),!0x0;}[_0x366459(0x7d)](_0x1f0a1c,_0x5bf47b){var _0x484cf0=_0x366459;_0x5bf47b[_0x484cf0(0x78)][_0x484cf0(0x70)](),_0x1f0a1c[_0x484cf0(0x7c)]({'__className':this[_0x484cf0(0x79)]});}}function _0x16fd(){var _0xee8fc5=['1lAflKn','_id','80770bAvccV','1171838KVeqWp','102825MDMWZB','1773XjiFDO','38814fKpbKK','types','_operationName','16752chhQbO','1969inOCGH','push','decompress','compress','675258ZqMWPW','329212lmUObA','7CLUXrz','shift'];_0x16fd=function(){return _0xee8fc5;};return _0x16fd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1764(_0x55e54d,_0x942cb0){const _0x4830e0=_0x4830();return _0x1764=function(_0x17646f,_0x5b9091){_0x17646f=_0x17646f-0x149;let _0xd9bbf1=_0x4830e0[_0x17646f];return _0xd9bbf1;},_0x1764(_0x55e54d,_0x942cb0);}const _0x415a5a=_0x1764;(function(_0x55fe5c,_0x5904db){const _0x29758a=_0x1764,_0x4c627c=_0x55fe5c();while(!![]){try{const _0x2ff099=parseInt(_0x29758a(0x152))/0x1+parseInt(_0x29758a(0x15c))/0x2*(parseInt(_0x29758a(0x149))/0x3)+parseInt(_0x29758a(0x14a))/0x4*(-parseInt(_0x29758a(0x14d))/0x5)+-parseInt(_0x29758a(0x15d))/0x6+-parseInt(_0x29758a(0x154))/0x7*(-parseInt(_0x29758a(0x151))/0x8)+parseInt(_0x29758a(0x156))/0x9*(parseInt(_0x29758a(0x15b))/0xa)+-parseInt(_0x29758a(0x159))/0xb;if(_0x2ff099===_0x5904db)break;else _0x4c627c['push'](_0x4c627c['shift']());}catch(_0x220b65){_0x4c627c['push'](_0x4c627c['shift']());}}}(_0x4830,0xea8a7));import{parsePositionBeforeCompression as _0x4d7509,parsePositionAfterCompression as _0x1e51b8}from'../utils.js';function _0x4830(){const _0x4237b0=['_protobufDescriptor','decompress','1466784KkFgbT','types','130kwwuKx','1360120btbbyj','11291994nCFsgD','3MKYUwj','8ZZtEpA','compress','buffers','2649050rPGDiU','_operationName','shift','_id','24ZAgYfX','954650kVoxZz','push','1159221krmunA','__className','1318239nTsmEa'];_0x4830=function(){return _0x4237b0;};return _0x4830();}export default class e{constructor(_0x4bc229,_0x590315,_0x4da28f){const _0x7e783a=_0x1764;this[_0x7e783a(0x150)]=_0x4bc229,this[_0x7e783a(0x14e)]=_0x590315,this[_0x7e783a(0x157)]=_0x4da28f;}[_0x415a5a(0x14b)](_0x33a547,_0x4c928d){const _0x24b4d8=_0x415a5a,_0x2d6573=_0x4c928d[_0x24b4d8(0x14f)]();return _0x4d7509(_0x2d6573),_0x33a547[_0x24b4d8(0x14c)][_0x24b4d8(0x153)](this[_0x24b4d8(0x157)][_0x24b4d8(0x14b)](_0x2d6573)),_0x33a547[_0x24b4d8(0x15a)][_0x24b4d8(0x153)](this[_0x24b4d8(0x150)]),!0x0;}[_0x415a5a(0x158)](_0x4ab5f9,_0x49b7ac){const _0x316646=_0x415a5a;_0x49b7ac[_0x316646(0x15a)][_0x316646(0x14f)]();const _0x1e8924=this[_0x316646(0x157)][_0x316646(0x158)](_0x49b7ac[_0x316646(0x14c)][_0x316646(0x14f)]());_0x1e51b8(_0x1e8924),_0x1e8924[_0x316646(0x155)]=this[_0x316646(0x14e)],_0x4ab5f9[_0x316646(0x153)](_0x1e8924);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x397e8b=_0x5888;(function(_0x75878d,_0x2ad865){const _0x1c3ad5=_0x5888,_0x4b8d7f=_0x75878d();while(!![]){try{const _0x428275=parseInt(_0x1c3ad5(0x1ec))/0x1+parseInt(_0x1c3ad5(0x1f0))/0x2+parseInt(_0x1c3ad5(0x1ed))/0x3*(-parseInt(_0x1c3ad5(0x1f1))/0x4)+-parseInt(_0x1c3ad5(0x1ff))/0x5+parseInt(_0x1c3ad5(0x1f5))/0x6*(parseInt(_0x1c3ad5(0x1f4))/0x7)+-parseInt(_0x1c3ad5(0x1f2))/0x8*(-parseInt(_0x1c3ad5(0x1f8))/0x9)+-parseInt(_0x1c3ad5(0x1f9))/0xa*(parseInt(_0x1c3ad5(0x201))/0xb);if(_0x428275===_0x2ad865)break;else _0x4b8d7f['push'](_0x4b8d7f['shift']());}catch(_0x5222f2){_0x4b8d7f['push'](_0x4b8d7f['shift']());}}}(_0x498a,0x1abfb));function _0x498a(){const _0x105550=['252ykunid','32166pqggkY','encode','decode','306PVGeNk','250dSSjJM','verify','create','compress','_protobuf','decompress','609965pInxah','getDescriptor','104819vesPVa','92856GXlhRv','3llSvlY','_protobufRoot','toObject','125120RsFZCK','29692QuadEK','30304iuDcGg','finish'];_0x498a=function(){return _0x105550;};return _0x498a();}function _0x5888(_0x44b324,_0x3fd9b1){const _0x498a90=_0x498a();return _0x5888=function(_0x58888e,_0x50a35d){_0x58888e=_0x58888e-0x1ec;let _0x2d9d12=_0x498a90[_0x58888e];return _0x2d9d12;},_0x5888(_0x44b324,_0x3fd9b1);}import{messages as _0x5007fd}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x926d83=_0x5888;this[_0x926d83(0x1ee)]=_0x5007fd;}[_0x397e8b(0x200)](_0x1db1a7){const _0x566746=_0x397e8b;return new ProtobufDescriptor(this[_0x566746(0x1ee)][_0x1db1a7]);}}export class ProtobufDescriptor{constructor(_0x472cd3){const _0x8f30ea=_0x397e8b;this[_0x8f30ea(0x1fd)]=_0x472cd3;}[_0x397e8b(0x1fc)](_0x488f9d){const _0xe9bb6d=_0x397e8b,_0x67d243=this[_0xe9bb6d(0x1fd)][_0xe9bb6d(0x1fa)](_0x488f9d);if(_0x67d243)throw Error(_0x67d243);return this[_0xe9bb6d(0x1fd)][_0xe9bb6d(0x1f6)](this[_0xe9bb6d(0x1fd)][_0xe9bb6d(0x1fb)](_0x488f9d))[_0xe9bb6d(0x1f3)]();}[_0x397e8b(0x1fe)](_0x1f1bb2){const _0x462818=_0x397e8b;return this[_0x462818(0x1fd)][_0x462818(0x1ef)](this[_0x462818(0x1fd)][_0x462818(0x1f7)](_0x1f1bb2),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3d1065,_0x24b1d2){const _0x2c9a60=_0x4a3c,_0x5493ae=_0x3d1065();while(!![]){try{const _0x5a88c7=-parseInt(_0x2c9a60(0x18d))/0x1*(parseInt(_0x2c9a60(0x193))/0x2)+-parseInt(_0x2c9a60(0x194))/0x3*(parseInt(_0x2c9a60(0x18e))/0x4)+parseInt(_0x2c9a60(0x191))/0x5+-parseInt(_0x2c9a60(0x192))/0x6+-parseInt(_0x2c9a60(0x19a))/0x7+parseInt(_0x2c9a60(0x190))/0x8+-parseInt(_0x2c9a60(0x199))/0x9*(parseInt(_0x2c9a60(0x18b))/0xa);if(_0x5a88c7===_0x24b1d2)break;else _0x5493ae['push'](_0x5493ae['shift']());}catch(_0x39df97){_0x5493ae['push'](_0x5493ae['shift']());}}}(_0x3240,0x5f62f));import{cloneDeep as _0x21430c,isEqual as _0x491554,isObject as _0x1f3469}from'lodash-es';export function getPositionShiftedBy(_0x2c4794,_0x2b1eac){const _0x497b38=_0x4a3c,_0x2ecaa2=_0x21430c(_0x2c4794);return _0x2ecaa2[_0x497b38(0x19b)][_0x2ecaa2[_0x497b38(0x19b)][_0x497b38(0x195)]-0x1]+=_0x2b1eac,_0x2ecaa2;}export function arePositionsEqual(_0x479935,_0x53d77f){const _0x50d6e8=_0x4a3c;return _0x479935[_0x50d6e8(0x196)]===_0x53d77f[_0x50d6e8(0x196)]&&_0x491554(_0x479935[_0x50d6e8(0x19b)],_0x53d77f[_0x50d6e8(0x19b)]);}export function parsePositionBeforeCompression(_0x3cb717){const _0x48529b=_0x4a3c;P(_0x3cb717,_0x82df1f=>(_0x48529b(0x18c)==_0x82df1f[_0x48529b(0x196)]?(_0x82df1f[_0x48529b(0x198)]=!0x0,delete _0x82df1f[_0x48529b(0x196)]):_0x48529b(0x19c)==_0x82df1f[_0x48529b(0x196)]&&(_0x82df1f[_0x48529b(0x18f)]=!0x0,delete _0x82df1f[_0x48529b(0x196)]),_0x82df1f));}function _0x4a3c(_0x584aa8,_0x4c21ad){const _0x3240ed=_0x3240();return _0x4a3c=function(_0x4a3c00,_0x2a1b51){_0x4a3c00=_0x4a3c00-0x18b;let _0x43ec57=_0x3240ed[_0x4a3c00];return _0x43ec57;},_0x4a3c(_0x584aa8,_0x4c21ad);}export function parsePositionAfterCompression(_0x526026){const _0xf721b3=_0x4a3c;P(_0x526026,_0x20dbad=>(_0x20dbad[_0xf721b3(0x198)]?(_0x20dbad[_0xf721b3(0x196)]=_0xf721b3(0x18c),delete _0x20dbad[_0xf721b3(0x198)]):_0x20dbad[_0xf721b3(0x18f)]&&(_0x20dbad[_0xf721b3(0x196)]=_0xf721b3(0x19c),delete _0x20dbad[_0xf721b3(0x18f)]),_0x20dbad));}function _0x3240(){const _0x182fb3=['root','nodes','rootMain','9GtAhNG','220220NYFPNm','path','$graveyard','1161970ZnWTqi','main','1cgfwSP','246860qKDzvG','rootGraveyard','3244504jAuAzJ','2850235KwYuBC','864750oUIedo','92530mTxSNA','12kIHaMx','length'];_0x3240=function(){return _0x182fb3;};return _0x3240();}function P(_0x34a21d,_0x57c6e2){const _0x238849=_0x4a3c;for(const _0x387b6a in _0x34a21d){const _0x553262=_0x34a21d[_0x387b6a];_0x238849(0x197)!==_0x387b6a&&_0x1f3469(_0x553262)&&(_0x553262[_0x238849(0x19b)]&&(_0x553262[_0x238849(0x196)]||_0x553262[_0x238849(0x198)]||_0x553262[_0x238849(0x18f)])?_0x34a21d[_0x387b6a]=_0x57c6e2(_0x553262):P(_0x553262,_0x57c6e2));}return _0x34a21d;}
|