@ckeditor/ckeditor5-operations-compressor 43.1.0-alpha.7 → 43.1.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
|
-
function
|
|
23
|
+
function _0x1de7(_0x242476,_0x2d3c7d){var _0xbe2ec5=_0xbe2e();return _0x1de7=function(_0x1de7a2,_0x501848){_0x1de7a2=_0x1de7a2-0x12d;var _0x2ff2b6=_0xbe2ec5[_0x1de7a2];return _0x2ff2b6;},_0x1de7(_0x242476,_0x2d3c7d);}var _0x56dfab=_0x1de7;(function(_0x5daa6c,_0x1fb936){var _0x286bb9=_0x1de7,_0x790fd6=_0x5daa6c();while(!![]){try{var _0x5775f1=parseInt(_0x286bb9(0x131))/0x1*(-parseInt(_0x286bb9(0x13d))/0x2)+-parseInt(_0x286bb9(0x136))/0x3*(parseInt(_0x286bb9(0x13b))/0x4)+-parseInt(_0x286bb9(0x12d))/0x5*(parseInt(_0x286bb9(0x138))/0x6)+-parseInt(_0x286bb9(0x130))/0x7*(parseInt(_0x286bb9(0x13c))/0x8)+-parseInt(_0x286bb9(0x137))/0x9+-parseInt(_0x286bb9(0x12f))/0xa*(parseInt(_0x286bb9(0x13a))/0xb)+parseInt(_0x286bb9(0x134))/0xc;if(_0x5775f1===_0x1fb936)break;else _0x790fd6['push'](_0x790fd6['shift']());}catch(_0x4421c9){_0x790fd6['push'](_0x790fd6['shift']());}}}(_0xbe2e,0xb76cb));function _0xbe2e(){var _0xad252e=['_id','21ATEBfq','9320751KeJuwd','9102fRAWlP','types','187jxFdsT','856456ioRFaG','5458512dktVMe','667022FpuyAq','shift','compress','3385eLtQKB','push','42160czMtbE','7yztCaJ','3HxQcMT','decompress','_operationName','72807264diulio'];_0xbe2e=function(){return _0xad252e;};return _0xbe2e();}import _0x36ff67 from'./operationcompressor.js';export default class p extends _0x36ff67{[_0x56dfab(0x13f)](_0x27fa10,_0x28d48a){var _0x282f86=_0x56dfab;return _0x28d48a[_0x282f86(0x13e)](),_0x27fa10[_0x282f86(0x139)][_0x282f86(0x12e)](this[_0x282f86(0x135)]),!0x0;}[_0x56dfab(0x132)](_0x5594d4,_0x1feeb7){var _0x248fc8=_0x56dfab;_0x1feeb7[_0x248fc8(0x139)][_0x248fc8(0x13e)](),_0x5594d4[_0x248fc8(0x12e)]({'__className':this[_0x248fc8(0x133)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17b906=_0x6e3f;function _0x4418(){const _0x1e2c02=['1139756ZWlEbp','430684XKDyQw','push','decompress','30msqQhe','5YIpkOj','627319Nncach','12120gWWiVF','shift','_id','46734KktbTB','compress','_protobufDescriptor','types','1256127XjaAtE','10089BJCsdl','buffers','2470008SEMiSL','__className','_operationName'];_0x4418=function(){return _0x1e2c02;};return _0x4418();}(function(_0x2a5422,_0x2c5440){const _0x1a6675=_0x6e3f,_0x58279d=_0x2a5422();while(!![]){try{const _0x56d592=parseInt(_0x1a6675(0x1af))/0x1+-parseInt(_0x1a6675(0x1b8))/0x2+-parseInt(_0x1a6675(0x1bc))/0x3+-parseInt(_0x1a6675(0x1ae))/0x4*(parseInt(_0x1a6675(0x1b3))/0x5)+-parseInt(_0x1a6675(0x1b2))/0x6*(parseInt(_0x1a6675(0x1b4))/0x7)+-parseInt(_0x1a6675(0x1bf))/0x8+parseInt(_0x1a6675(0x1bd))/0x9*(parseInt(_0x1a6675(0x1b5))/0xa);if(_0x56d592===_0x2c5440)break;else _0x58279d['push'](_0x58279d['shift']());}catch(_0x1574a8){_0x58279d['push'](_0x58279d['shift']());}}}(_0x4418,0x4a94d));import{parsePositionBeforeCompression as _0x48f9bb,parsePositionAfterCompression as _0x73125d}from'../utils.js';function _0x6e3f(_0x2360ae,_0x3c8297){const _0x4418ea=_0x4418();return _0x6e3f=function(_0x6e3f17,_0x11e288){_0x6e3f17=_0x6e3f17-0x1ad;let _0x192206=_0x4418ea[_0x6e3f17];return _0x192206;},_0x6e3f(_0x2360ae,_0x3c8297);}export default class e{constructor(_0x56806b,_0x50f377,_0x1273e8){const _0x3909c2=_0x6e3f;this[_0x3909c2(0x1b7)]=_0x56806b,this[_0x3909c2(0x1ad)]=_0x50f377,this[_0x3909c2(0x1ba)]=_0x1273e8;}[_0x17b906(0x1b9)](_0x339885,_0x2d3a6a){const _0x8de956=_0x17b906,_0x29ebf7=_0x2d3a6a[_0x8de956(0x1b6)]();return _0x48f9bb(_0x29ebf7),_0x339885[_0x8de956(0x1be)][_0x8de956(0x1b0)](this[_0x8de956(0x1ba)][_0x8de956(0x1b9)](_0x29ebf7)),_0x339885[_0x8de956(0x1bb)][_0x8de956(0x1b0)](this[_0x8de956(0x1b7)]),!0x0;}[_0x17b906(0x1b1)](_0x52bc45,_0xdade0b){const _0x179c2e=_0x17b906;_0xdade0b[_0x179c2e(0x1bb)][_0x179c2e(0x1b6)]();const _0x40c931=this[_0x179c2e(0x1ba)][_0x179c2e(0x1b1)](_0xdade0b[_0x179c2e(0x1be)][_0x179c2e(0x1b6)]());_0x73125d(_0x40c931),_0x40c931[_0x179c2e(0x1c0)]=this[_0x179c2e(0x1ad)],_0x52bc45[_0x179c2e(0x1b0)](_0x40c931);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4b9d(_0x51fb49,_0x2f8288){const _0x1ba85f=_0x1ba8();return _0x4b9d=function(_0x4b9d9c,_0x48e10d){_0x4b9d9c=_0x4b9d9c-0xa2;let _0x12d05e=_0x1ba85f[_0x4b9d9c];return _0x12d05e;},_0x4b9d(_0x51fb49,_0x2f8288);}function _0x1ba8(){const _0x3bfb75=['finish','164118WNObWd','verify','compress','580580moPXNZ','357974prRQdx','create','1562409ZXnuHG','decode','getDescriptor','_protobuf','212394NaGKmH','toObject','892991pGrEkR','10UacYCD','343eWcjPr','decompress','_protobufRoot','5ZLwOtj','1SgkQXT','5680gfVunM','encode'];_0x1ba8=function(){return _0x3bfb75;};return _0x1ba8();}const _0x3f549c=_0x4b9d;(function(_0x1e96ac,_0x122149){const _0x1fb5a5=_0x4b9d,_0x2facca=_0x1e96ac();while(!![]){try{const _0x25d830=parseInt(_0x1fb5a5(0xa3))/0x1*(parseInt(_0x1fb5a5(0xab))/0x2)+-parseInt(_0x1fb5a5(0xb1))/0x3+-parseInt(_0x1fb5a5(0xaa))/0x4+parseInt(_0x1fb5a5(0xa2))/0x5*(parseInt(_0x1fb5a5(0xa7))/0x6)+parseInt(_0x1fb5a5(0xb5))/0x7*(parseInt(_0x1fb5a5(0xa4))/0x8)+parseInt(_0x1fb5a5(0xad))/0x9+-parseInt(_0x1fb5a5(0xb4))/0xa*(parseInt(_0x1fb5a5(0xb3))/0xb);if(_0x25d830===_0x122149)break;else _0x2facca['push'](_0x2facca['shift']());}catch(_0x56c787){_0x2facca['push'](_0x2facca['shift']());}}}(_0x1ba8,0x1cb67));import{messages as _0x2d0737}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x54cc6a=_0x4b9d;this[_0x54cc6a(0xb7)]=_0x2d0737;}[_0x3f549c(0xaf)](_0x3f66e2){const _0x2141d7=_0x3f549c;return new ProtobufDescriptor(this[_0x2141d7(0xb7)][_0x3f66e2]);}}export class ProtobufDescriptor{constructor(_0x733f7f){const _0x4c4af6=_0x3f549c;this[_0x4c4af6(0xb0)]=_0x733f7f;}[_0x3f549c(0xa9)](_0x77ee6b){const _0x36f22b=_0x3f549c,_0x17c7e8=this[_0x36f22b(0xb0)][_0x36f22b(0xa8)](_0x77ee6b);if(_0x17c7e8)throw Error(_0x17c7e8);return this[_0x36f22b(0xb0)][_0x36f22b(0xa5)](this[_0x36f22b(0xb0)][_0x36f22b(0xac)](_0x77ee6b))[_0x36f22b(0xa6)]();}[_0x3f549c(0xb6)](_0x58b86c){const _0x1babdc=_0x3f549c;return this[_0x1babdc(0xb0)][_0x1babdc(0xb2)](this[_0x1babdc(0xb0)][_0x1babdc(0xae)](_0x58b86c),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16e3e7,_0x10c27f){const _0x263446=_0x2642,_0x51b87f=_0x16e3e7();while(!![]){try{const _0x3a77d9=-parseInt(_0x263446(0x1c5))/0x1*(parseInt(_0x263446(0x1cf))/0x2)+-parseInt(_0x263446(0x1d1))/0x3+parseInt(_0x263446(0x1cd))/0x4+-parseInt(_0x263446(0x1c7))/0x5+-parseInt(_0x263446(0x1c6))/0x6*(-parseInt(_0x263446(0x1c0))/0x7)+-parseInt(_0x263446(0x1d0))/0x8+parseInt(_0x263446(0x1ca))/0x9*(parseInt(_0x263446(0x1c8))/0xa);if(_0x3a77d9===_0x10c27f)break;else _0x51b87f['push'](_0x51b87f['shift']());}catch(_0x166d28){_0x51b87f['push'](_0x51b87f['shift']());}}}(_0xae80,0x5792a));import{cloneDeep as _0xa718e0,isEqual as _0x196b5a,isObject as _0x22854f}from'lodash-es';export function getPositionShiftedBy(_0x885d89,_0x406754){const _0x2fa8df=_0x2642,_0x12cccf=_0xa718e0(_0x885d89);return _0x12cccf[_0x2fa8df(0x1c9)][_0x12cccf[_0x2fa8df(0x1c9)][_0x2fa8df(0x1cc)]-0x1]+=_0x406754,_0x12cccf;}export function arePositionsEqual(_0x5555d7,_0x521557){const _0x1f20d7=_0x2642;return _0x5555d7[_0x1f20d7(0x1c4)]===_0x521557[_0x1f20d7(0x1c4)]&&_0x196b5a(_0x5555d7[_0x1f20d7(0x1c9)],_0x521557[_0x1f20d7(0x1c9)]);}export function parsePositionBeforeCompression(_0x5e2738){const _0x105d0e=_0x2642;P(_0x5e2738,_0x4fd750=>(_0x105d0e(0x1cb)==_0x4fd750[_0x105d0e(0x1c4)]?(_0x4fd750[_0x105d0e(0x1ce)]=!0x0,delete _0x4fd750[_0x105d0e(0x1c4)]):_0x105d0e(0x1c1)==_0x4fd750[_0x105d0e(0x1c4)]&&(_0x4fd750[_0x105d0e(0x1c2)]=!0x0,delete _0x4fd750[_0x105d0e(0x1c4)]),_0x4fd750));}function _0x2642(_0x3613c7,_0x26b248){const _0xae8015=_0xae80();return _0x2642=function(_0x264257,_0x46ddf3){_0x264257=_0x264257-0x1c0;let _0x6306db=_0xae8015[_0x264257];return _0x6306db;},_0x2642(_0x3613c7,_0x26b248);}export function parsePositionAfterCompression(_0x1b7695){const _0x1ec38e=_0x2642;P(_0x1b7695,_0x2d36f3=>(_0x2d36f3[_0x1ec38e(0x1ce)]?(_0x2d36f3[_0x1ec38e(0x1c4)]=_0x1ec38e(0x1cb),delete _0x2d36f3[_0x1ec38e(0x1ce)]):_0x2d36f3[_0x1ec38e(0x1c2)]&&(_0x2d36f3[_0x1ec38e(0x1c4)]=_0x1ec38e(0x1c1),delete _0x2d36f3[_0x1ec38e(0x1c2)]),_0x2d36f3));}function P(_0x236903,_0x20856f){const _0x42ff44=_0x2642;for(const _0x483b48 in _0x236903){const _0x4602c6=_0x236903[_0x483b48];_0x42ff44(0x1c3)!==_0x483b48&&_0x22854f(_0x4602c6)&&(_0x4602c6[_0x42ff44(0x1c9)]&&(_0x4602c6[_0x42ff44(0x1c4)]||_0x4602c6[_0x42ff44(0x1ce)]||_0x4602c6[_0x42ff44(0x1c2)])?_0x236903[_0x483b48]=_0x20856f(_0x4602c6):P(_0x4602c6,_0x20856f));}return _0x236903;}function _0xae80(){const _0x3fde54=['1640015pbgclU','21993690mbLfzl','path','9DrQTEs','main','length','1113300emiASK','rootMain','1148684kARPPn','5647200vKtgJB','1974873UnleTK','86065ACskdY','$graveyard','rootGraveyard','nodes','root','1zlXILE','72iWyZGV'];_0xae80=function(){return _0x3fde54;};return _0xae80();}
|