@ckeditor/ckeditor5-operations-compressor 43.1.0-alpha.4 → 43.1.0-alpha.6
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
|
+
var _0x2f79bc=_0x118c;function _0x118c(_0x43b855,_0x57f5fa){var _0x3c930c=_0x3c93();return _0x118c=function(_0x118c31,_0xd4c151){_0x118c31=_0x118c31-0xca;var _0x558a92=_0x3c930c[_0x118c31];return _0x558a92;},_0x118c(_0x43b855,_0x57f5fa);}function _0x3c93(){var _0x1a9f5f=['11YqBUdE','7kvtHEJ','decompress','push','17033148HbVWHj','shift','7016216zQaqSZ','10363896csQQra','2151938LZEDId','compress','_id','10554590MfaKHE','5GRXndm','6052120IBhais','435011wNNQny','_operationName','types','3WcBNKS'];_0x3c93=function(){return _0x1a9f5f;};return _0x3c93();}(function(_0x3abb44,_0x531562){var _0x1ce670=_0x118c,_0x51c8db=_0x3abb44();while(!![]){try{var _0x44fac8=parseInt(_0x1ce670(0xcb))/0x1+parseInt(_0x1ce670(0xd7))/0x2*(-parseInt(_0x1ce670(0xce))/0x3)+-parseInt(_0x1ce670(0xd5))/0x4*(-parseInt(_0x1ce670(0xdb))/0x5)+-parseInt(_0x1ce670(0xd6))/0x6*(parseInt(_0x1ce670(0xd0))/0x7)+parseInt(_0x1ce670(0xca))/0x8+parseInt(_0x1ce670(0xd3))/0x9+-parseInt(_0x1ce670(0xda))/0xa*(parseInt(_0x1ce670(0xcf))/0xb);if(_0x44fac8===_0x531562)break;else _0x51c8db['push'](_0x51c8db['shift']());}catch(_0x39bc76){_0x51c8db['push'](_0x51c8db['shift']());}}}(_0x3c93,0xef1d0));import _0x3121e0 from'./operationcompressor.js';export default class p extends _0x3121e0{[_0x2f79bc(0xd8)](_0xc33f52,_0x5724ea){var _0x5d0ac2=_0x2f79bc;return _0x5724ea[_0x5d0ac2(0xd4)](),_0xc33f52[_0x5d0ac2(0xcd)][_0x5d0ac2(0xd2)](this[_0x5d0ac2(0xd9)]),!0x0;}[_0x2f79bc(0xd1)](_0xd352ae,_0x6ff0ea){var _0x50a1e6=_0x2f79bc;_0x6ff0ea[_0x50a1e6(0xcd)][_0x50a1e6(0xd4)](),_0xd352ae[_0x50a1e6(0xd2)]({'__className':this[_0x50a1e6(0xcc)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x56bc(_0x1ac2c1,_0x3d4c24){const _0x199e5b=_0x199e();return _0x56bc=function(_0x56bc73,_0x39987e){_0x56bc73=_0x56bc73-0x125;let _0x25ff45=_0x199e5b[_0x56bc73];return _0x25ff45;},_0x56bc(_0x1ac2c1,_0x3d4c24);}const _0x137dd2=_0x56bc;(function(_0x5b4b53,_0x5656c1){const _0x5d4a87=_0x56bc,_0x386f56=_0x5b4b53();while(!![]){try{const _0x137ef8=-parseInt(_0x5d4a87(0x127))/0x1*(-parseInt(_0x5d4a87(0x125))/0x2)+parseInt(_0x5d4a87(0x128))/0x3*(-parseInt(_0x5d4a87(0x131))/0x4)+parseInt(_0x5d4a87(0x130))/0x5*(parseInt(_0x5d4a87(0x137))/0x6)+-parseInt(_0x5d4a87(0x136))/0x7*(parseInt(_0x5d4a87(0x129))/0x8)+-parseInt(_0x5d4a87(0x139))/0x9+parseInt(_0x5d4a87(0x12f))/0xa*(-parseInt(_0x5d4a87(0x12d))/0xb)+parseInt(_0x5d4a87(0x135))/0xc;if(_0x137ef8===_0x5656c1)break;else _0x386f56['push'](_0x386f56['shift']());}catch(_0x4b7998){_0x386f56['push'](_0x386f56['shift']());}}}(_0x199e,0xcdaf3));function _0x199e(){const _0x105aef=['131656SHvTKT','18VEeWvt','types','14351697zLxzuq','shift','2kCJpEj','decompress','1004140ssdTBw','57jdXyUm','128oXyQtJ','push','__className','buffers','33yldzhN','_protobufDescriptor','2851510btHWKO','44965nVdayb','237396bbjwmG','_operationName','compress','_id','44280108ZqdBmf'];_0x199e=function(){return _0x105aef;};return _0x199e();}import{parsePositionBeforeCompression as _0x4af24e,parsePositionAfterCompression as _0x9dd075}from'../utils.js';export default class e{constructor(_0x562ffb,_0xb00564,_0x3f84f7){const _0x1fd7d5=_0x56bc;this[_0x1fd7d5(0x134)]=_0x562ffb,this[_0x1fd7d5(0x132)]=_0xb00564,this[_0x1fd7d5(0x12e)]=_0x3f84f7;}[_0x137dd2(0x133)](_0x2bc068,_0x373cd9){const _0x4c54a0=_0x137dd2,_0x221699=_0x373cd9[_0x4c54a0(0x13a)]();return _0x4af24e(_0x221699),_0x2bc068[_0x4c54a0(0x12c)][_0x4c54a0(0x12a)](this[_0x4c54a0(0x12e)][_0x4c54a0(0x133)](_0x221699)),_0x2bc068[_0x4c54a0(0x138)][_0x4c54a0(0x12a)](this[_0x4c54a0(0x134)]),!0x0;}[_0x137dd2(0x126)](_0x4ffc24,_0x373dac){const _0x1b80b8=_0x137dd2;_0x373dac[_0x1b80b8(0x138)][_0x1b80b8(0x13a)]();const _0x42d91b=this[_0x1b80b8(0x12e)][_0x1b80b8(0x126)](_0x373dac[_0x1b80b8(0x12c)][_0x1b80b8(0x13a)]());_0x9dd075(_0x42d91b),_0x42d91b[_0x1b80b8(0x12b)]=this[_0x1b80b8(0x132)],_0x4ffc24[_0x1b80b8(0x12a)](_0x42d91b);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12aa54=_0xa318;function _0xa318(_0x2489a9,_0x4e062c){const _0x5ab5d4=_0x5ab5();return _0xa318=function(_0xa31841,_0x3b427b){_0xa31841=_0xa31841-0x86;let _0x4e99c3=_0x5ab5d4[_0xa31841];return _0x4e99c3;},_0xa318(_0x2489a9,_0x4e062c);}function _0x5ab5(){const _0x33106c=['toObject','684430hAyohp','245093oTHxtQ','decompress','_protobufRoot','create','1692168ehZFLh','520770yntQpV','8jiYoZC','4MLTURl','finish','40wvXaow','3279297tDkFNr','_protobuf','encode','getDescriptor','verify','2841876zOcvom','1395786cTBMRB','decode','compress'];_0x5ab5=function(){return _0x33106c;};return _0x5ab5();}(function(_0x4c2bca,_0x145b51){const _0xd4738f=_0xa318,_0x447e52=_0x4c2bca();while(!![]){try{const _0x50a36e=-parseInt(_0xd4738f(0x94))/0x1*(-parseInt(_0xd4738f(0x86))/0x2)+-parseInt(_0xd4738f(0x8f))/0x3+-parseInt(_0xd4738f(0x9a))/0x4*(parseInt(_0xd4738f(0x93))/0x5)+-parseInt(_0xd4738f(0x99))/0x6+-parseInt(_0xd4738f(0x89))/0x7+-parseInt(_0xd4738f(0x98))/0x8+-parseInt(_0xd4738f(0x8e))/0x9*(-parseInt(_0xd4738f(0x88))/0xa);if(_0x50a36e===_0x145b51)break;else _0x447e52['push'](_0x447e52['shift']());}catch(_0x3acc59){_0x447e52['push'](_0x447e52['shift']());}}}(_0x5ab5,0x3c67d));import{messages as _0x55922a}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x3e8e4c=_0xa318;this[_0x3e8e4c(0x96)]=_0x55922a;}[_0x12aa54(0x8c)](_0x3a2dd8){const _0x14daa5=_0x12aa54;return new ProtobufDescriptor(this[_0x14daa5(0x96)][_0x3a2dd8]);}}export class ProtobufDescriptor{constructor(_0x240804){const _0x5c899d=_0x12aa54;this[_0x5c899d(0x8a)]=_0x240804;}[_0x12aa54(0x91)](_0x295f43){const _0x7f3f83=_0x12aa54,_0x4e8a06=this[_0x7f3f83(0x8a)][_0x7f3f83(0x8d)](_0x295f43);if(_0x4e8a06)throw Error(_0x4e8a06);return this[_0x7f3f83(0x8a)][_0x7f3f83(0x8b)](this[_0x7f3f83(0x8a)][_0x7f3f83(0x97)](_0x295f43))[_0x7f3f83(0x87)]();}[_0x12aa54(0x95)](_0x3cd710){const _0x494780=_0x12aa54;return this[_0x494780(0x8a)][_0x494780(0x92)](this[_0x494780(0x8a)][_0x494780(0x90)](_0x3cd710),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x428b14,_0x3d4302){const _0x5a524f=_0x39aa,_0x5a86d9=_0x428b14();while(!![]){try{const _0x594870=parseInt(_0x5a524f(0x10b))/0x1+parseInt(_0x5a524f(0x107))/0x2+parseInt(_0x5a524f(0x104))/0x3*(-parseInt(_0x5a524f(0x10f))/0x4)+parseInt(_0x5a524f(0x110))/0x5*(parseInt(_0x5a524f(0x102))/0x6)+-parseInt(_0x5a524f(0x105))/0x7+parseInt(_0x5a524f(0x10e))/0x8+parseInt(_0x5a524f(0x10d))/0x9*(parseInt(_0x5a524f(0x108))/0xa);if(_0x594870===_0x3d4302)break;else _0x5a86d9['push'](_0x5a86d9['shift']());}catch(_0x23c61d){_0x5a86d9['push'](_0x5a86d9['shift']());}}}(_0x12c0,0xe9a1d));import{cloneDeep as _0x2652d9,isEqual as _0x56ba51,isObject as _0x450562}from'lodash-es';function _0x39aa(_0x516bf5,_0x1b5488){const _0x12c0f3=_0x12c0();return _0x39aa=function(_0x39aaf5,_0x19774e){_0x39aaf5=_0x39aaf5-0x100;let _0x48da3a=_0x12c0f3[_0x39aaf5];return _0x48da3a;},_0x39aa(_0x516bf5,_0x1b5488);}export function getPositionShiftedBy(_0x206ff8,_0x10aa7c){const _0x1aaedc=_0x39aa,_0x11eed4=_0x2652d9(_0x206ff8);return _0x11eed4[_0x1aaedc(0x111)][_0x11eed4[_0x1aaedc(0x111)][_0x1aaedc(0x10a)]-0x1]+=_0x10aa7c,_0x11eed4;}export function arePositionsEqual(_0x1a6b69,_0x25854d){const _0x5074d9=_0x39aa;return _0x1a6b69[_0x5074d9(0x10c)]===_0x25854d[_0x5074d9(0x10c)]&&_0x56ba51(_0x1a6b69[_0x5074d9(0x111)],_0x25854d[_0x5074d9(0x111)]);}export function parsePositionBeforeCompression(_0x43e74e){const _0xcf7d8e=_0x39aa;P(_0x43e74e,_0x42a72a=>(_0xcf7d8e(0x100)==_0x42a72a[_0xcf7d8e(0x10c)]?(_0x42a72a[_0xcf7d8e(0x106)]=!0x0,delete _0x42a72a[_0xcf7d8e(0x10c)]):_0xcf7d8e(0x101)==_0x42a72a[_0xcf7d8e(0x10c)]&&(_0x42a72a[_0xcf7d8e(0x109)]=!0x0,delete _0x42a72a[_0xcf7d8e(0x10c)]),_0x42a72a));}export function parsePositionAfterCompression(_0x572d31){const _0xca790b=_0x39aa;P(_0x572d31,_0x8bf14a=>(_0x8bf14a[_0xca790b(0x106)]?(_0x8bf14a[_0xca790b(0x10c)]=_0xca790b(0x100),delete _0x8bf14a[_0xca790b(0x106)]):_0x8bf14a[_0xca790b(0x109)]&&(_0x8bf14a[_0xca790b(0x10c)]=_0xca790b(0x101),delete _0x8bf14a[_0xca790b(0x109)]),_0x8bf14a));}function P(_0x319cb7,_0x38235a){const _0x5816c7=_0x39aa;for(const _0x2a7ee6 in _0x319cb7){const _0x44fe94=_0x319cb7[_0x2a7ee6];_0x5816c7(0x103)!==_0x2a7ee6&&_0x450562(_0x44fe94)&&(_0x44fe94[_0x5816c7(0x111)]&&(_0x44fe94[_0x5816c7(0x10c)]||_0x44fe94[_0x5816c7(0x106)]||_0x44fe94[_0x5816c7(0x109)])?_0x319cb7[_0x2a7ee6]=_0x38235a(_0x44fe94):P(_0x44fe94,_0x38235a));}return _0x319cb7;}function _0x12c0(){const _0x2e1deb=['8229928heHSQp','rootMain','3817772SPUPEI','10YojMAN','rootGraveyard','length','13193tfaimU','root','8095761pbaGiG','2551024QBpciB','592132DTTUzF','25NRrULM','path','main','$graveyard','567006ZpOqkT','nodes','30HULHhh'];_0x12c0=function(){return _0x2e1deb;};return _0x12c0();}
|