@ckeditor/ckeditor5-operations-compressor 45.0.0 → 45.1.0-alpha.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/LICENSE.md +6 -3
- package/dist/index.js +2 -2
- package/package.json +4 -4
- 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.d.ts +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 _0x21f4b3=_0x3be5;function _0x4ea1(){var _0x41bd55=['380PkfVsx','4766784bZkeHo','_id','22RVzHel','compress','push','91341PmvnZg','shift','decompress','12CtBlnq','1614830zhuBdb','_operationName','26155zioLSl','2363290vaxXZz','91845nGwBXK','152tNJXex','354QjkjZu','types','2136sxyMHk'];_0x4ea1=function(){return _0x41bd55;};return _0x4ea1();}(function(_0x48da89,_0x5feed4){var _0x4d3c75=_0x3be5,_0x5122b1=_0x48da89();while(!![]){try{var _0x13dedb=parseInt(_0x4d3c75(0x1c3))/0x1*(parseInt(_0x4d3c75(0x1c5))/0x2)+parseInt(_0x4d3c75(0x1cc))/0x3+-parseInt(_0x4d3c75(0x1c6))/0x4*(-parseInt(_0x4d3c75(0x1d2))/0x5)+parseInt(_0x4d3c75(0x1cf))/0x6*(parseInt(_0x4d3c75(0x1d0))/0x7)+-parseInt(_0x4d3c75(0x1c2))/0x8*(parseInt(_0x4d3c75(0x1c1))/0x9)+-parseInt(_0x4d3c75(0x1c0))/0xa*(parseInt(_0x4d3c75(0x1c9))/0xb)+-parseInt(_0x4d3c75(0x1c7))/0xc;if(_0x13dedb===_0x5feed4)break;else _0x5122b1['push'](_0x5122b1['shift']());}catch(_0x13ab8f){_0x5122b1['push'](_0x5122b1['shift']());}}}(_0x4ea1,0x49fd3));function _0x3be5(_0x35e43f,_0x3bf38c){var _0x4ea181=_0x4ea1();return _0x3be5=function(_0x3be593,_0x595f80){_0x3be593=_0x3be593-0x1c0;var _0x5b202e=_0x4ea181[_0x3be593];return _0x5b202e;},_0x3be5(_0x35e43f,_0x3bf38c);}import _0x447581 from'./operationcompressor.js';export default class p extends _0x447581{[_0x21f4b3(0x1ca)](_0x4a3b4c,_0x1276fb){var _0x2134c6=_0x21f4b3;return _0x1276fb[_0x2134c6(0x1cd)](),_0x4a3b4c[_0x2134c6(0x1c4)][_0x2134c6(0x1cb)](this[_0x2134c6(0x1c8)]),!0x0;}[_0x21f4b3(0x1ce)](_0x4ff69c,_0x5f1dce){var _0x5245af=_0x21f4b3;_0x5f1dce[_0x5245af(0x1c4)][_0x5245af(0x1cd)](),_0x4ff69c[_0x5245af(0x1cb)]({'__className':this[_0x5245af(0x1d1)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x57d7(){const _0x4b2680=['995206ttRSVH','shift','buffers','2717192mTCsHy','_protobufDescriptor','63JOFnET','2904kDRqmU','decompress','types','54760MkbkiD','792849gZAwcv','_operationName','__className','365528IQozCO','13930QpEMsc','push','compress','3xaZLIn','_id','7529067qYeCzA','594owpRPP'];_0x57d7=function(){return _0x4b2680;};return _0x57d7();}const _0xf17f87=_0xe9bf;function _0xe9bf(_0x256e5b,_0x50bc0f){const _0x57d794=_0x57d7();return _0xe9bf=function(_0xe9bf1,_0x54dc07){_0xe9bf1=_0xe9bf1-0xbc;let _0x33037f=_0x57d794[_0xe9bf1];return _0x33037f;},_0xe9bf(_0x256e5b,_0x50bc0f);}(function(_0x574e0c,_0x2b44f5){const _0x3c5bf9=_0xe9bf,_0x3b56bb=_0x574e0c();while(!![]){try{const _0x50dc5d=-parseInt(_0x3c5bf9(0xc6))/0x1*(-parseInt(_0x3c5bf9(0xca))/0x2)+parseInt(_0x3c5bf9(0xbf))/0x3+-parseInt(_0x3c5bf9(0xcd))/0x4+-parseInt(_0x3c5bf9(0xc3))/0x5*(parseInt(_0x3c5bf9(0xc9))/0x6)+parseInt(_0x3c5bf9(0xc8))/0x7+-parseInt(_0x3c5bf9(0xc2))/0x8*(-parseInt(_0x3c5bf9(0xcf))/0x9)+parseInt(_0x3c5bf9(0xbe))/0xa*(-parseInt(_0x3c5bf9(0xd0))/0xb);if(_0x50dc5d===_0x2b44f5)break;else _0x3b56bb['push'](_0x3b56bb['shift']());}catch(_0x1f86d7){_0x3b56bb['push'](_0x3b56bb['shift']());}}}(_0x57d7,0xb7876));import{parsePositionBeforeCompression as _0x1a5130,parsePositionAfterCompression as _0x3a0708}from'../utils.js';export default class e{[_0xf17f87(0xc7)];[_0xf17f87(0xc0)];[_0xf17f87(0xce)];constructor(_0x1c46b9,_0x16ef68,_0xa8bc5e){const _0x18c606=_0xf17f87;this[_0x18c606(0xc7)]=_0x1c46b9,this[_0x18c606(0xc0)]=_0x16ef68,this[_0x18c606(0xce)]=_0xa8bc5e;}[_0xf17f87(0xc5)](_0xabaa55,_0x37a535){const _0x363c06=_0xf17f87,_0x533e49=_0x37a535[_0x363c06(0xcb)]();return _0x1a5130(_0x533e49),_0xabaa55[_0x363c06(0xcc)][_0x363c06(0xc4)](this[_0x363c06(0xce)][_0x363c06(0xc5)](_0x533e49)),_0xabaa55[_0x363c06(0xbd)][_0x363c06(0xc4)](this[_0x363c06(0xc7)]),!0x0;}[_0xf17f87(0xbc)](_0x2b8a3b,_0x33ffda){const _0x3e3afb=_0xf17f87;_0x33ffda[_0x3e3afb(0xbd)][_0x3e3afb(0xcb)]();const _0xf052cc=this[_0x3e3afb(0xce)][_0x3e3afb(0xbc)](_0x33ffda[_0x3e3afb(0xcc)][_0x3e3afb(0xcb)]());_0x3a0708(_0xf052cc),_0xf052cc[_0x3e3afb(0xc1)]=this[_0x3e3afb(0xc0)],_0x2b8a3b[_0x3e3afb(0xc4)](_0xf052cc);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2612(_0x55eec7,_0x45c0a3){const _0x155df4=_0x155d();return _0x2612=function(_0x261221,_0x1fccef){_0x261221=_0x261221-0xc6;let _0x1f46fd=_0x155df4[_0x261221];return _0x1f46fd;},_0x2612(_0x55eec7,_0x45c0a3);}const _0x2c5102=_0x2612;(function(_0x53a6ec,_0x65518f){const _0xd7d3f0=_0x2612,_0xc8c36d=_0x53a6ec();while(!![]){try{const _0x5c3181=parseInt(_0xd7d3f0(0xd7))/0x1+parseInt(_0xd7d3f0(0xd8))/0x2*(parseInt(_0xd7d3f0(0xd2))/0x3)+parseInt(_0xd7d3f0(0xd0))/0x4*(parseInt(_0xd7d3f0(0xc7))/0x5)+-parseInt(_0xd7d3f0(0xcc))/0x6*(-parseInt(_0xd7d3f0(0xd4))/0x7)+-parseInt(_0xd7d3f0(0xcd))/0x8+-parseInt(_0xd7d3f0(0xca))/0x9*(parseInt(_0xd7d3f0(0xcb))/0xa)+-parseInt(_0xd7d3f0(0xd3))/0xb;if(_0x5c3181===_0x65518f)break;else _0xc8c36d['push'](_0xc8c36d['shift']());}catch(_0x58b10c){_0xc8c36d['push'](_0xc8c36d['shift']());}}}(_0x155d,0x471b9));import{messages as _0x4d829e}from'./lib/compiledmessages.js';export default class r{[_0x2c5102(0xc8)];constructor(){const _0x233f4e=_0x2c5102;this[_0x233f4e(0xc8)]=_0x4d829e;}[_0x2c5102(0xda)](_0x177707){const _0x162364=_0x2c5102;return new ProtobufDescriptor(this[_0x162364(0xc8)][_0x177707]);}}function _0x155d(){const _0x5064fd=['getDescriptor','verify','decode','375avLuxO','_protobufRoot','compress','9nzCkQQ','761150AgvBvU','2155980odJwwP','4060856QwKpbE','toObject','finish','29336aCoouo','decompress','3fFAcbx','4033931nvJRSj','7LeTYMS','_protobuf','create','139701iVSHyL','385238DuSgpO','encode'];_0x155d=function(){return _0x5064fd;};return _0x155d();}export class ProtobufDescriptor{[_0x2c5102(0xd5)];constructor(_0x3489d2){const _0x580e7e=_0x2c5102;this[_0x580e7e(0xd5)]=_0x3489d2;}[_0x2c5102(0xc9)](_0x241680){const _0x404c01=_0x2c5102,_0x22d440=this[_0x404c01(0xd5)][_0x404c01(0xdb)](_0x241680);if(_0x22d440)throw Error(_0x22d440);return this[_0x404c01(0xd5)][_0x404c01(0xd9)](this[_0x404c01(0xd5)][_0x404c01(0xd6)](_0x241680))[_0x404c01(0xcf)]();}[_0x2c5102(0xd1)](_0x246825){const _0x2f765d=_0x2c5102;return this[_0x2f765d(0xd5)][_0x2f765d(0xce)](this[_0x2f765d(0xd5)][_0x2f765d(0xc6)](_0x246825),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x571fb0,_0x412a38){const _0x58fe62=_0x5ac5,_0x2921d2=_0x571fb0();while(!![]){try{const _0xc4c26c=parseInt(_0x58fe62(0x1e1))/0x1+parseInt(_0x58fe62(0x1d9))/0x2*(-parseInt(_0x58fe62(0x1e9))/0x3)+parseInt(_0x58fe62(0x1dc))/0x4*(-parseInt(_0x58fe62(0x1e3))/0x5)+-parseInt(_0x58fe62(0x1d8))/0x6*(-parseInt(_0x58fe62(0x1db))/0x7)+parseInt(_0x58fe62(0x1e7))/0x8*(parseInt(_0x58fe62(0x1e6))/0x9)+-parseInt(_0x58fe62(0x1df))/0xa+parseInt(_0x58fe62(0x1e8))/0xb;if(_0xc4c26c===_0x412a38)break;else _0x2921d2['push'](_0x2921d2['shift']());}catch(_0x22922b){_0x2921d2['push'](_0x2921d2['shift']());}}}(_0x4ded,0x7007e));import{cloneDeep as _0x53ec98,isEqual as _0x157e7b,isObject as _0x285730}from'es-toolkit/compat';export function getPositionShiftedBy(_0x17777d,_0x33be4b){const _0x599b39=_0x5ac5,_0x24183a=_0x53ec98(_0x17777d);return _0x24183a[_0x599b39(0x1dd)][_0x24183a[_0x599b39(0x1dd)][_0x599b39(0x1e4)]-0x1]+=_0x33be4b,_0x24183a;}export function arePositionsEqual(_0x48187d,_0x468934){const _0x5e0148=_0x5ac5;return _0x48187d[_0x5e0148(0x1e5)]===_0x468934[_0x5e0148(0x1e5)]&&_0x157e7b(_0x48187d[_0x5e0148(0x1dd)],_0x468934[_0x5e0148(0x1dd)]);}export function parsePositionBeforeCompression(_0x14de07){const _0x26620e=_0x5ac5;P(_0x14de07,_0x35349f=>(_0x26620e(0x1e0)==_0x35349f[_0x26620e(0x1e5)]?(_0x35349f[_0x26620e(0x1da)]=!0x0,delete _0x35349f[_0x26620e(0x1e5)]):_0x26620e(0x1e2)==_0x35349f[_0x26620e(0x1e5)]&&(_0x35349f[_0x26620e(0x1de)]=!0x0,delete _0x35349f[_0x26620e(0x1e5)]),_0x35349f));}export function parsePositionAfterCompression(_0x1cbdb3){const _0x35cab4=_0x5ac5;P(_0x1cbdb3,_0x2910f0=>(_0x2910f0[_0x35cab4(0x1da)]?(_0x2910f0[_0x35cab4(0x1e5)]=_0x35cab4(0x1e0),delete _0x2910f0[_0x35cab4(0x1da)]):_0x2910f0[_0x35cab4(0x1de)]&&(_0x2910f0[_0x35cab4(0x1e5)]=_0x35cab4(0x1e2),delete _0x2910f0[_0x35cab4(0x1de)]),_0x2910f0));}function _0x4ded(){const _0x3c1ade=['1959892hlxpgi','path','rootGraveyard','8982280qxTPqn','main','375468JZILZC','$graveyard','5tDXtcJ','length','root','9fnmZbV','2285528iqkpZY','6074035RHbaJb','21vYUvYK','nodes','122142IyQazl','45768OJiJAy','rootMain','273SuuhqW'];_0x4ded=function(){return _0x3c1ade;};return _0x4ded();}function _0x5ac5(_0x44c41f,_0xbcf7d1){const _0x4ded39=_0x4ded();return _0x5ac5=function(_0x5ac5c9,_0x36738b){_0x5ac5c9=_0x5ac5c9-0x1d7;let _0x2b3e76=_0x4ded39[_0x5ac5c9];return _0x2b3e76;},_0x5ac5(_0x44c41f,_0xbcf7d1);}function P(_0x55262f,_0x2d45bb){const _0x3d4502=_0x5ac5;for(const _0x4d55bf in _0x55262f){const _0xb7c850=_0x55262f[_0x4d55bf];_0x3d4502(0x1d7)!==_0x4d55bf&&_0x285730(_0xb7c850)&&(_0xb7c850[_0x3d4502(0x1dd)]&&(_0xb7c850[_0x3d4502(0x1e5)]||_0xb7c850[_0x3d4502(0x1da)]||_0xb7c850[_0x3d4502(0x1de)])?_0x55262f[_0x4d55bf]=_0x2d45bb(_0xb7c850):P(_0xb7c850,_0x2d45bb));}return _0x55262f;}
|