@ckeditor/ckeditor5-operations-compressor 42.0.1-alpha.2 → 42.0.1
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 +2 -2
- 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
|
-
|
|
23
|
+
function _0x57db(){var _0x54d560=['2506UHNucM','97581gCILxe','9bWrYKA','_id','_operationName','1491008CUSjUf','744186jGLYnc','compress','2887255ubGooO','shift','3228IqsUWo','push','14952584onCWhv','decompress','930474nSmWen','types'];_0x57db=function(){return _0x54d560;};return _0x57db();}var _0x35a26d=_0x5f55;(function(_0x2f8274,_0x21a94b){var _0x34e7d9=_0x5f55,_0x3ba99e=_0x2f8274();while(!![]){try{var _0xb27bda=-parseInt(_0x34e7d9(0x152))/0x1+-parseInt(_0x34e7d9(0x15f))/0x2+-parseInt(_0x34e7d9(0x157))/0x3+-parseInt(_0x34e7d9(0x156))/0x4+-parseInt(_0x34e7d9(0x159))/0x5+parseInt(_0x34e7d9(0x15b))/0x6*(parseInt(_0x34e7d9(0x151))/0x7)+parseInt(_0x34e7d9(0x15d))/0x8*(parseInt(_0x34e7d9(0x153))/0x9);if(_0xb27bda===_0x21a94b)break;else _0x3ba99e['push'](_0x3ba99e['shift']());}catch(_0x5510c4){_0x3ba99e['push'](_0x3ba99e['shift']());}}}(_0x57db,0x49632));import _0x4d7ea5 from'./operationcompressor.js';function _0x5f55(_0x58b238,_0x3a539f){var _0x57dbca=_0x57db();return _0x5f55=function(_0x5f5522,_0xdbd681){_0x5f5522=_0x5f5522-0x151;var _0x25f28e=_0x57dbca[_0x5f5522];return _0x25f28e;},_0x5f55(_0x58b238,_0x3a539f);}export default class p extends _0x4d7ea5{[_0x35a26d(0x158)](_0x4938e7,_0x5ba935){var _0x3ee8bc=_0x35a26d;return _0x5ba935[_0x3ee8bc(0x15a)](),_0x4938e7[_0x3ee8bc(0x160)][_0x3ee8bc(0x15c)](this[_0x3ee8bc(0x154)]),!0x0;}[_0x35a26d(0x15e)](_0x4747ba,_0x1ecfb7){var _0x34efc7=_0x35a26d;_0x1ecfb7[_0x34efc7(0x160)][_0x34efc7(0x15a)](),_0x4747ba[_0x34efc7(0x15c)]({'__className':this[_0x34efc7(0x155)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4aba(_0x583764,_0x243668){const _0xdc49ae=_0xdc49();return _0x4aba=function(_0x4abaed,_0x270464){_0x4abaed=_0x4abaed-0x1e5;let _0x2af185=_0xdc49ae[_0x4abaed];return _0x2af185;},_0x4aba(_0x583764,_0x243668);}const _0x45aac9=_0x4aba;(function(_0x169ed3,_0x5c82f4){const _0x3b2161=_0x4aba,_0x354765=_0x169ed3();while(!![]){try{const _0x320d35=parseInt(_0x3b2161(0x1e6))/0x1*(-parseInt(_0x3b2161(0x1e8))/0x2)+-parseInt(_0x3b2161(0x1ec))/0x3*(parseInt(_0x3b2161(0x1f4))/0x4)+-parseInt(_0x3b2161(0x1ee))/0x5+parseInt(_0x3b2161(0x1eb))/0x6*(-parseInt(_0x3b2161(0x1e5))/0x7)+-parseInt(_0x3b2161(0x1ed))/0x8*(parseInt(_0x3b2161(0x1ef))/0x9)+-parseInt(_0x3b2161(0x1f5))/0xa+parseInt(_0x3b2161(0x1f8))/0xb;if(_0x320d35===_0x5c82f4)break;else _0x354765['push'](_0x354765['shift']());}catch(_0x1aa91a){_0x354765['push'](_0x354765['shift']());}}}(_0xdc49,0x2f220));import{parsePositionBeforeCompression as _0x1374e7,parsePositionAfterCompression as _0x1e0af8}from'../utils.js';function _0xdc49(){const _0x20ca2e=['buffers','push','types','_protobufDescriptor','316CTZson','1135800yMbBYx','shift','_id','18492771cDSjmw','compress','1346772KLzLTV','341950fdUUPb','_operationName','2ltyWTB','decompress','__className','6ZPPPwS','5112WGxKdf','232swOrUC','1784045lcJmdz','108234dTjUCh'];_0xdc49=function(){return _0x20ca2e;};return _0xdc49();}export default class e{constructor(_0xe6fb76,_0x5e6bd0,_0x4b18bb){const _0x9c6073=_0x4aba;this[_0x9c6073(0x1f7)]=_0xe6fb76,this[_0x9c6073(0x1e7)]=_0x5e6bd0,this[_0x9c6073(0x1f3)]=_0x4b18bb;}[_0x45aac9(0x1f9)](_0x3a524e,_0x4fe0b1){const _0x3d494d=_0x45aac9,_0x3a3687=_0x4fe0b1[_0x3d494d(0x1f6)]();return _0x1374e7(_0x3a3687),_0x3a524e[_0x3d494d(0x1f0)][_0x3d494d(0x1f1)](this[_0x3d494d(0x1f3)][_0x3d494d(0x1f9)](_0x3a3687)),_0x3a524e[_0x3d494d(0x1f2)][_0x3d494d(0x1f1)](this[_0x3d494d(0x1f7)]),!0x0;}[_0x45aac9(0x1e9)](_0x4383d0,_0x329fcf){const _0x25c84c=_0x45aac9;_0x329fcf[_0x25c84c(0x1f2)][_0x25c84c(0x1f6)]();const _0x3acd8f=this[_0x25c84c(0x1f3)][_0x25c84c(0x1e9)](_0x329fcf[_0x25c84c(0x1f0)][_0x25c84c(0x1f6)]());_0x1e0af8(_0x3acd8f),_0x3acd8f[_0x25c84c(0x1ea)]=this[_0x25c84c(0x1e7)],_0x4383d0[_0x25c84c(0x1f1)](_0x3acd8f);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4b1f(){const _0x13a289=['getDescriptor','_protobufRoot','4lmUmRY','_protobuf','28663SUQzoQ','2220753wDdNgr','encode','verify','finish','570104oBClBV','4582802ftnfyj','4PQRTqU','decode','6PRjRVh','toObject','compress','2769107eNtuhD','50yfvbHL','create','9031383tnpZpf','decompress','3006305tGkmbQ'];_0x4b1f=function(){return _0x13a289;};return _0x4b1f();}const _0x1bfbfb=_0x4b80;(function(_0x3ca170,_0x54aad1){const _0x1542a0=_0x4b80,_0xd22c59=_0x3ca170();while(!![]){try{const _0x4e3ef5=-parseInt(_0x1542a0(0x1e0))/0x1*(-parseInt(_0x1542a0(0x1de))/0x2)+parseInt(_0x1542a0(0x1e1))/0x3*(parseInt(_0x1542a0(0x1d1))/0x4)+parseInt(_0x1542a0(0x1db))/0x5*(parseInt(_0x1542a0(0x1d3))/0x6)+-parseInt(_0x1542a0(0x1d0))/0x7+parseInt(_0x1542a0(0x1cf))/0x8+parseInt(_0x1542a0(0x1d9))/0x9+parseInt(_0x1542a0(0x1d7))/0xa*(-parseInt(_0x1542a0(0x1d6))/0xb);if(_0x4e3ef5===_0x54aad1)break;else _0xd22c59['push'](_0xd22c59['shift']());}catch(_0x481a87){_0xd22c59['push'](_0xd22c59['shift']());}}}(_0x4b1f,0x88c59));import{messages as _0x4ae9b8}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x2bd7be=_0x4b80;this[_0x2bd7be(0x1dd)]=_0x4ae9b8;}[_0x1bfbfb(0x1dc)](_0x34ec31){const _0x51a326=_0x1bfbfb;return new ProtobufDescriptor(this[_0x51a326(0x1dd)][_0x34ec31]);}}function _0x4b80(_0x2049c3,_0x595454){const _0x4b1fff=_0x4b1f();return _0x4b80=function(_0x4b80b3,_0x7d8138){_0x4b80b3=_0x4b80b3-0x1ce;let _0x2f5fa8=_0x4b1fff[_0x4b80b3];return _0x2f5fa8;},_0x4b80(_0x2049c3,_0x595454);}export class ProtobufDescriptor{constructor(_0xb82694){const _0x4a06ee=_0x1bfbfb;this[_0x4a06ee(0x1df)]=_0xb82694;}[_0x1bfbfb(0x1d5)](_0x1bf034){const _0x17f412=_0x1bfbfb,_0x438de4=this[_0x17f412(0x1df)][_0x17f412(0x1e3)](_0x1bf034);if(_0x438de4)throw Error(_0x438de4);return this[_0x17f412(0x1df)][_0x17f412(0x1e2)](this[_0x17f412(0x1df)][_0x17f412(0x1d8)](_0x1bf034))[_0x17f412(0x1ce)]();}[_0x1bfbfb(0x1da)](_0x2b4dfa){const _0x24a9a0=_0x1bfbfb;return this[_0x24a9a0(0x1df)][_0x24a9a0(0x1d4)](this[_0x24a9a0(0x1df)][_0x24a9a0(0x1d2)](_0x2b4dfa),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1fe72e,_0x27d9cb){const _0x8d584=_0x3449,_0x44396b=_0x1fe72e();while(!![]){try{const _0x52947a=parseInt(_0x8d584(0x138))/0x1*(-parseInt(_0x8d584(0x13b))/0x2)+parseInt(_0x8d584(0x139))/0x3+-parseInt(_0x8d584(0x132))/0x4+parseInt(_0x8d584(0x133))/0x5*(parseInt(_0x8d584(0x140))/0x6)+-parseInt(_0x8d584(0x137))/0x7*(parseInt(_0x8d584(0x131))/0x8)+parseInt(_0x8d584(0x142))/0x9*(parseInt(_0x8d584(0x13e))/0xa)+parseInt(_0x8d584(0x13d))/0xb;if(_0x52947a===_0x27d9cb)break;else _0x44396b['push'](_0x44396b['shift']());}catch(_0x5fd470){_0x44396b['push'](_0x44396b['shift']());}}}(_0x12d5,0x917c4));import{cloneDeep as _0x32cef0,isEqual as _0x207e40,isObject as _0x3d461b}from'lodash-es';export function getPositionShiftedBy(_0xedc214,_0x3fd40c){const _0x53e2b8=_0x3449,_0x6c9cd9=_0x32cef0(_0xedc214);return _0x6c9cd9[_0x53e2b8(0x13f)][_0x6c9cd9[_0x53e2b8(0x13f)][_0x53e2b8(0x13a)]-0x1]+=_0x3fd40c,_0x6c9cd9;}export function arePositionsEqual(_0x3cff8a,_0x228752){const _0x502dfa=_0x3449;return _0x3cff8a[_0x502dfa(0x136)]===_0x228752[_0x502dfa(0x136)]&&_0x207e40(_0x3cff8a[_0x502dfa(0x13f)],_0x228752[_0x502dfa(0x13f)]);}export function parsePositionBeforeCompression(_0x244214){const _0x229b80=_0x3449;P(_0x244214,_0x56938c=>(_0x229b80(0x130)==_0x56938c[_0x229b80(0x136)]?(_0x56938c[_0x229b80(0x135)]=!0x0,delete _0x56938c[_0x229b80(0x136)]):_0x229b80(0x134)==_0x56938c[_0x229b80(0x136)]&&(_0x56938c[_0x229b80(0x13c)]=!0x0,delete _0x56938c[_0x229b80(0x136)]),_0x56938c));}function _0x3449(_0x183236,_0x2cfa6c){const _0x12d5ab=_0x12d5();return _0x3449=function(_0x3449b9,_0x255682){_0x3449b9=_0x3449b9-0x130;let _0x28d0c9=_0x12d5ab[_0x3449b9];return _0x28d0c9;},_0x3449(_0x183236,_0x2cfa6c);}function _0x12d5(){const _0x18086b=['7146Defnwa','main','9358072BYrPbO','586364hsCaWk','5kOBEDT','$graveyard','rootMain','root','7ZPlxSY','491FqNhXk','1568412wVhHLn','length','3946rfIjmS','rootGraveyard','7521382pUFaCm','6710AuZtbh','path','6849966mWEXsa','nodes'];_0x12d5=function(){return _0x18086b;};return _0x12d5();}export function parsePositionAfterCompression(_0x578507){const _0x368975=_0x3449;P(_0x578507,_0x495b16=>(_0x495b16[_0x368975(0x135)]?(_0x495b16[_0x368975(0x136)]=_0x368975(0x130),delete _0x495b16[_0x368975(0x135)]):_0x495b16[_0x368975(0x13c)]&&(_0x495b16[_0x368975(0x136)]=_0x368975(0x134),delete _0x495b16[_0x368975(0x13c)]),_0x495b16));}function P(_0x521b00,_0x4c7e01){const _0x40df70=_0x3449;for(const _0x2f57aa in _0x521b00){const _0x4f6bd4=_0x521b00[_0x2f57aa];_0x40df70(0x141)!==_0x2f57aa&&_0x3d461b(_0x4f6bd4)&&(_0x4f6bd4[_0x40df70(0x13f)]&&(_0x4f6bd4[_0x40df70(0x136)]||_0x4f6bd4[_0x40df70(0x135)]||_0x4f6bd4[_0x40df70(0x13c)])?_0x521b00[_0x2f57aa]=_0x4c7e01(_0x4f6bd4):P(_0x4f6bd4,_0x4c7e01));}return _0x521b00;}
|