@ckeditor/ckeditor5-operations-compressor 44.0.0-alpha.9 → 44.0.0
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 _0x26cb89=_0x5abd;(function(_0x425ea8,_0xbe8c4e){var _0x27c66a=_0x5abd,_0x1a4457=_0x425ea8();while(!![]){try{var _0x36eb35=-parseInt(_0x27c66a(0x88))/0x1*(-parseInt(_0x27c66a(0x85))/0x2)+-parseInt(_0x27c66a(0x80))/0x3*(-parseInt(_0x27c66a(0x8a))/0x4)+-parseInt(_0x27c66a(0x8c))/0x5+parseInt(_0x27c66a(0x7f))/0x6*(-parseInt(_0x27c66a(0x87))/0x7)+parseInt(_0x27c66a(0x86))/0x8*(parseInt(_0x27c66a(0x7d))/0x9)+parseInt(_0x27c66a(0x7e))/0xa*(-parseInt(_0x27c66a(0x8b))/0xb)+-parseInt(_0x27c66a(0x8e))/0xc;if(_0x36eb35===_0xbe8c4e)break;else _0x1a4457['push'](_0x1a4457['shift']());}catch(_0x3c3718){_0x1a4457['push'](_0x1a4457['shift']());}}}(_0x45db,0xb1e76));function _0x5abd(_0x3ef274,_0x1d070e){var _0x45db22=_0x45db();return _0x5abd=function(_0x5abdb4,_0x412176){_0x5abdb4=_0x5abdb4-0x7d;var _0x155856=_0x45db22[_0x5abdb4];return _0x155856;},_0x5abd(_0x3ef274,_0x1d070e);}function _0x45db(){var _0x4c28f4=['types','1436940yNdfMZ','push','795033LOesHA','8799610HzAJzL','66mTTxMO','3NueWSw','decompress','shift','compress','_operationName','432594osVuTD','120EsorPh','443086EqPQLM','2RQpoou','_id','5429108ogSENT','11NwetVs','3451240ciLkha'];_0x45db=function(){return _0x4c28f4;};return _0x45db();}import _0x5f3983 from'./operationcompressor.js';export default class p extends _0x5f3983{[_0x26cb89(0x83)](_0xf8bee9,_0xa1c2ae){var _0x2f55b6=_0x26cb89;return _0xa1c2ae[_0x2f55b6(0x82)](),_0xf8bee9[_0x2f55b6(0x8d)][_0x2f55b6(0x8f)](this[_0x2f55b6(0x89)]),!0x0;}[_0x26cb89(0x81)](_0x1de920,_0x4c43a5){var _0x16a138=_0x26cb89;_0x4c43a5[_0x16a138(0x8d)][_0x16a138(0x82)](),_0x1de920[_0x16a138(0x8f)]({'__className':this[_0x16a138(0x84)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x329d10=_0x3ad0;(function(_0x4ffb12,_0x794144){const _0x4caade=_0x3ad0,_0x1080ed=_0x4ffb12();while(!![]){try{const _0x53673d=parseInt(_0x4caade(0x142))/0x1+-parseInt(_0x4caade(0x14a))/0x2*(-parseInt(_0x4caade(0x13c))/0x3)+parseInt(_0x4caade(0x13e))/0x4+parseInt(_0x4caade(0x149))/0x5+parseInt(_0x4caade(0x146))/0x6+parseInt(_0x4caade(0x140))/0x7+-parseInt(_0x4caade(0x147))/0x8;if(_0x53673d===_0x794144)break;else _0x1080ed['push'](_0x1080ed['shift']());}catch(_0x20c66a){_0x1080ed['push'](_0x1080ed['shift']());}}}(_0x5ce3,0x948fb));function _0x3ad0(_0x3cc051,_0x11ba9a){const _0x5ce3d7=_0x5ce3();return _0x3ad0=function(_0x3ad039,_0x2439b6){_0x3ad039=_0x3ad039-0x13c;let _0x54ce09=_0x5ce3d7[_0x3ad039];return _0x54ce09;},_0x3ad0(_0x3cc051,_0x11ba9a);}import{parsePositionBeforeCompression as _0x1d5488,parsePositionAfterCompression as _0x1515ec}from'../utils.js';export default class e{constructor(_0x2d1d6f,_0x4a8716,_0xac9f10){const _0x569203=_0x3ad0;this[_0x569203(0x14c)]=_0x2d1d6f,this[_0x569203(0x143)]=_0x4a8716,this[_0x569203(0x148)]=_0xac9f10;}[_0x329d10(0x13f)](_0x2d0f03,_0x3ff8fe){const _0x12d607=_0x329d10,_0x9b8fb1=_0x3ff8fe[_0x12d607(0x14b)]();return _0x1d5488(_0x9b8fb1),_0x2d0f03[_0x12d607(0x145)][_0x12d607(0x13d)](this[_0x12d607(0x148)][_0x12d607(0x13f)](_0x9b8fb1)),_0x2d0f03[_0x12d607(0x144)][_0x12d607(0x13d)](this[_0x12d607(0x14c)]),!0x0;}[_0x329d10(0x14d)](_0x3bb9e7,_0x25b035){const _0xf076c8=_0x329d10;_0x25b035[_0xf076c8(0x144)][_0xf076c8(0x14b)]();const _0x449075=this[_0xf076c8(0x148)][_0xf076c8(0x14d)](_0x25b035[_0xf076c8(0x145)][_0xf076c8(0x14b)]());_0x1515ec(_0x449075),_0x449075[_0xf076c8(0x141)]=this[_0xf076c8(0x143)],_0x3bb9e7[_0xf076c8(0x13d)](_0x449075);}}function _0x5ce3(){const _0x2a2f07=['push','154004MdpiKk','compress','5936462AUboKj','__className','70910xHduLz','_operationName','types','buffers','7187274dtHigd','30472544ViCjsF','_protobufDescriptor','5601710wzMgSm','242llAwXK','shift','_id','decompress','28311oIcdQS'];_0x5ce3=function(){return _0x2a2f07;};return _0x5ce3();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x197877=_0x3f25;(function(_0x6947c7,_0x880a7e){const _0x3e1517=_0x3f25,_0x2e0e41=_0x6947c7();while(!![]){try{const _0x585bd7=-parseInt(_0x3e1517(0x11f))/0x1+-parseInt(_0x3e1517(0x125))/0x2*(-parseInt(_0x3e1517(0x11b))/0x3)+parseInt(_0x3e1517(0x11a))/0x4+-parseInt(_0x3e1517(0x118))/0x5+-parseInt(_0x3e1517(0x117))/0x6+-parseInt(_0x3e1517(0x11c))/0x7*(-parseInt(_0x3e1517(0x116))/0x8)+parseInt(_0x3e1517(0x126))/0x9;if(_0x585bd7===_0x880a7e)break;else _0x2e0e41['push'](_0x2e0e41['shift']());}catch(_0x4fc230){_0x2e0e41['push'](_0x2e0e41['shift']());}}}(_0xeb69,0x8e1df));import{messages as _0x2b28a7}from'./lib/compiledmessages.js';function _0x3f25(_0x359553,_0x2e68fd){const _0xeb69d2=_0xeb69();return _0x3f25=function(_0x3f2589,_0x43d290){_0x3f2589=_0x3f2589-0x114;let _0x1d19a3=_0xeb69d2[_0x3f2589];return _0x1d19a3;},_0x3f25(_0x359553,_0x2e68fd);}function _0xeb69(){const _0x4b91ff=['compress','getDescriptor','_protobuf','create','toObject','5622XfkZIC','11227968UUWbAo','encode','_protobufRoot','finish','313008RPUmyi','4123836fzVOck','2928460aUwtCy','decompress','2279008NgYdGO','123hGdLte','161bGBWdN','verify','decode','977344OACZwy'];_0xeb69=function(){return _0x4b91ff;};return _0xeb69();}export default class r{constructor(){const _0x576658=_0x3f25;this[_0x576658(0x114)]=_0x2b28a7;}[_0x197877(0x121)](_0x29df46){const _0x4ba8d2=_0x197877;return new ProtobufDescriptor(this[_0x4ba8d2(0x114)][_0x29df46]);}}export class ProtobufDescriptor{constructor(_0x8c2ac0){const _0x7b80d4=_0x197877;this[_0x7b80d4(0x122)]=_0x8c2ac0;}[_0x197877(0x120)](_0x14d2b5){const _0x2549b9=_0x197877,_0x586ff3=this[_0x2549b9(0x122)][_0x2549b9(0x11d)](_0x14d2b5);if(_0x586ff3)throw Error(_0x586ff3);return this[_0x2549b9(0x122)][_0x2549b9(0x127)](this[_0x2549b9(0x122)][_0x2549b9(0x123)](_0x14d2b5))[_0x2549b9(0x115)]();}[_0x197877(0x119)](_0x402938){const _0x36f037=_0x197877;return this[_0x36f037(0x122)][_0x36f037(0x124)](this[_0x36f037(0x122)][_0x36f037(0x11e)](_0x402938),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x110789,_0x17bfca){const _0x17b2e6=_0x3132,_0x4b0e12=_0x110789();while(!![]){try{const _0x3b7208=-parseInt(_0x17b2e6(0xc4))/0x1+-parseInt(_0x17b2e6(0xcb))/0x2*(parseInt(_0x17b2e6(0xc9))/0x3)+-parseInt(_0x17b2e6(0xd0))/0x4+-parseInt(_0x17b2e6(0xca))/0x5*(-parseInt(_0x17b2e6(0xd2))/0x6)+-parseInt(_0x17b2e6(0xc5))/0x7*(parseInt(_0x17b2e6(0xd1))/0x8)+-parseInt(_0x17b2e6(0xc8))/0x9+-parseInt(_0x17b2e6(0xd5))/0xa*(-parseInt(_0x17b2e6(0xcc))/0xb);if(_0x3b7208===_0x17bfca)break;else _0x4b0e12['push'](_0x4b0e12['shift']());}catch(_0x212245){_0x4b0e12['push'](_0x4b0e12['shift']());}}}(_0x4280,0x3609a));import{cloneDeep as _0x446a08,isEqual as _0x3e7dc2,isObject as _0x304d65}from'lodash-es';export function getPositionShiftedBy(_0x5a42e5,_0x5398e9){const _0x3ca272=_0x3132,_0x23b68a=_0x446a08(_0x5a42e5);return _0x23b68a[_0x3ca272(0xd3)][_0x23b68a[_0x3ca272(0xd3)][_0x3ca272(0xd4)]-0x1]+=_0x5398e9,_0x23b68a;}export function arePositionsEqual(_0x2fb9c0,_0x45d86d){const _0x51a0cc=_0x3132;return _0x2fb9c0[_0x51a0cc(0xc7)]===_0x45d86d[_0x51a0cc(0xc7)]&&_0x3e7dc2(_0x2fb9c0[_0x51a0cc(0xd3)],_0x45d86d[_0x51a0cc(0xd3)]);}export function parsePositionBeforeCompression(_0x26d8a0){const _0x3d6819=_0x3132;P(_0x26d8a0,_0x51e2b5=>(_0x3d6819(0xce)==_0x51e2b5[_0x3d6819(0xc7)]?(_0x51e2b5[_0x3d6819(0xcd)]=!0x0,delete _0x51e2b5[_0x3d6819(0xc7)]):_0x3d6819(0xd6)==_0x51e2b5[_0x3d6819(0xc7)]&&(_0x51e2b5[_0x3d6819(0xcf)]=!0x0,delete _0x51e2b5[_0x3d6819(0xc7)]),_0x51e2b5));}function _0x3132(_0x3ffa94,_0x51dd4e){const _0x4280d0=_0x4280();return _0x3132=function(_0x3132ff,_0x3d2547){_0x3132ff=_0x3132ff-0xc4;let _0x5d689c=_0x4280d0[_0x3132ff];return _0x5d689c;},_0x3132(_0x3ffa94,_0x51dd4e);}function _0x4280(){const _0x2a0908=['main','rootGraveyard','1018608RDJQet','214608xpkKsh','10638VnWFCl','path','length','156010CxbqMA','$graveyard','304344rJFGLH','35ZmWTLD','nodes','root','2356740eCNXTs','661038LjYvml','815jthWxD','2Rffmsz','781awzeKf','rootMain'];_0x4280=function(){return _0x2a0908;};return _0x4280();}export function parsePositionAfterCompression(_0x29b0f2){const _0x6ca5b=_0x3132;P(_0x29b0f2,_0x3cbf12=>(_0x3cbf12[_0x6ca5b(0xcd)]?(_0x3cbf12[_0x6ca5b(0xc7)]=_0x6ca5b(0xce),delete _0x3cbf12[_0x6ca5b(0xcd)]):_0x3cbf12[_0x6ca5b(0xcf)]&&(_0x3cbf12[_0x6ca5b(0xc7)]=_0x6ca5b(0xd6),delete _0x3cbf12[_0x6ca5b(0xcf)]),_0x3cbf12));}function P(_0x2e6d3a,_0x7b3a64){const _0x2b7c01=_0x3132;for(const _0x44fc4a in _0x2e6d3a){const _0x5108b6=_0x2e6d3a[_0x44fc4a];_0x2b7c01(0xc6)!==_0x44fc4a&&_0x304d65(_0x5108b6)&&(_0x5108b6[_0x2b7c01(0xd3)]&&(_0x5108b6[_0x2b7c01(0xc7)]||_0x5108b6[_0x2b7c01(0xcd)]||_0x5108b6[_0x2b7c01(0xcf)])?_0x2e6d3a[_0x44fc4a]=_0x7b3a64(_0x5108b6):P(_0x5108b6,_0x7b3a64));}return _0x2e6d3a;}
|