@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.20 → 42.0.0-alpha.22
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
|
-
var
|
|
23
|
+
function _0x4b68(_0x498625,_0x5ccac6){var _0x2e06c7=_0x2e06();return _0x4b68=function(_0x4b6841,_0x407a9f){_0x4b6841=_0x4b6841-0xf0;var _0x28e4f1=_0x2e06c7[_0x4b6841];return _0x28e4f1;},_0x4b68(_0x498625,_0x5ccac6);}var _0x4e1784=_0x4b68;(function(_0x5537fd,_0x5b8071){var _0xaa495f=_0x4b68,_0x39f78c=_0x5537fd();while(!![]){try{var _0x550479=parseInt(_0xaa495f(0x100))/0x1*(parseInt(_0xaa495f(0xf5))/0x2)+parseInt(_0xaa495f(0xf7))/0x3*(parseInt(_0xaa495f(0xfc))/0x4)+parseInt(_0xaa495f(0x101))/0x5*(parseInt(_0xaa495f(0xf2))/0x6)+parseInt(_0xaa495f(0xfa))/0x7+parseInt(_0xaa495f(0xf6))/0x8*(parseInt(_0xaa495f(0x102))/0x9)+-parseInt(_0xaa495f(0xf3))/0xa*(-parseInt(_0xaa495f(0xf0))/0xb)+-parseInt(_0xaa495f(0xf1))/0xc*(parseInt(_0xaa495f(0xfb))/0xd);if(_0x550479===_0x5b8071)break;else _0x39f78c['push'](_0x39f78c['shift']());}catch(_0x213442){_0x39f78c['push'](_0x39f78c['shift']());}}}(_0x2e06,0x6c676));import _0x1ab7d0 from'./operationcompressor.js';export default class p extends _0x1ab7d0{[_0x4e1784(0x103)](_0x38c5b2,_0x2ee4b8){var _0x31e235=_0x4e1784;return _0x2ee4b8[_0x31e235(0xf9)](),_0x38c5b2[_0x31e235(0xff)][_0x31e235(0xfd)](this[_0x31e235(0xf8)]),!0x0;}[_0x4e1784(0xf4)](_0x4b3243,_0x3adde5){var _0x2c0413=_0x4e1784;_0x3adde5[_0x2c0413(0xff)][_0x2c0413(0xf9)](),_0x4b3243[_0x2c0413(0xfd)]({'__className':this[_0x2c0413(0xfe)]});}}function _0x2e06(){var _0x59194c=['11yjvHKp','12AoUbqC','18ZqYVTd','7749590fznRcI','decompress','406220WefyIs','2072VfvYhj','13719TPHtPK','_id','shift','5155941aJpRYW','32919497kJUxnq','732LaQSRm','push','_operationName','types','2fAuQAA','53935DaQmqQ','6579budsKY','compress'];_0x2e06=function(){return _0x59194c;};return _0x2e06();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2cf7(_0x4bdb4d,_0x3dbc82){const _0x100782=_0x1007();return _0x2cf7=function(_0x2cf72e,_0x3e271d){_0x2cf72e=_0x2cf72e-0x1d4;let _0x423457=_0x100782[_0x2cf72e];return _0x423457;},_0x2cf7(_0x4bdb4d,_0x3dbc82);}const _0x325307=_0x2cf7;function _0x1007(){const _0x1eb1d9=['80520vUhzcZ','_id','63cxcSzV','compress','_operationName','_protobufDescriptor','15033fVRvPS','1323110uRCqEU','5417430gfrzak','types','98261fliWIL','831216sHJapm','buffers','decompress','86kvfFLY','__className','343464VKqVmS','shift','push','14XOHBzL'];_0x1007=function(){return _0x1eb1d9;};return _0x1007();}(function(_0x8c820e,_0x4fadc6){const _0x5b9ee6=_0x2cf7,_0x52fdc3=_0x8c820e();while(!![]){try{const _0x1fbf13=parseInt(_0x5b9ee6(0x1db))/0x1+-parseInt(_0x5b9ee6(0x1df))/0x2*(parseInt(_0x5b9ee6(0x1d7))/0x3)+-parseInt(_0x5b9ee6(0x1dc))/0x4+-parseInt(_0x5b9ee6(0x1d8))/0x5+parseInt(_0x5b9ee6(0x1e1))/0x6*(parseInt(_0x5b9ee6(0x1e4))/0x7)+-parseInt(_0x5b9ee6(0x1e5))/0x8*(-parseInt(_0x5b9ee6(0x1e7))/0x9)+parseInt(_0x5b9ee6(0x1d9))/0xa;if(_0x1fbf13===_0x4fadc6)break;else _0x52fdc3['push'](_0x52fdc3['shift']());}catch(_0x5dfed2){_0x52fdc3['push'](_0x52fdc3['shift']());}}}(_0x1007,0x21758));import{parsePositionBeforeCompression as _0x123008,parsePositionAfterCompression as _0x2ab5b6}from'../utils.js';export default class e{constructor(_0x5e38ae,_0x1ab63e,_0x51e0f7){const _0x2c5d23=_0x2cf7;this[_0x2c5d23(0x1e6)]=_0x5e38ae,this[_0x2c5d23(0x1d5)]=_0x1ab63e,this[_0x2c5d23(0x1d6)]=_0x51e0f7;}[_0x325307(0x1d4)](_0x27c8eb,_0x5c6170){const _0x418110=_0x325307,_0x586798=_0x5c6170[_0x418110(0x1e2)]();return _0x123008(_0x586798),_0x27c8eb[_0x418110(0x1dd)][_0x418110(0x1e3)](this[_0x418110(0x1d6)][_0x418110(0x1d4)](_0x586798)),_0x27c8eb[_0x418110(0x1da)][_0x418110(0x1e3)](this[_0x418110(0x1e6)]),!0x0;}[_0x325307(0x1de)](_0x3e2209,_0x278cff){const _0x2812fd=_0x325307;_0x278cff[_0x2812fd(0x1da)][_0x2812fd(0x1e2)]();const _0x43df67=this[_0x2812fd(0x1d6)][_0x2812fd(0x1de)](_0x278cff[_0x2812fd(0x1dd)][_0x2812fd(0x1e2)]());_0x2ab5b6(_0x43df67),_0x43df67[_0x2812fd(0x1e0)]=this[_0x2812fd(0x1d5)],_0x3e2209[_0x2812fd(0x1e3)](_0x43df67);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5763f0=_0xf680;(function(_0x14ba53,_0x313731){const _0x360438=_0xf680,_0x11f074=_0x14ba53();while(!![]){try{const _0x2addfa=-parseInt(_0x360438(0x97))/0x1+parseInt(_0x360438(0x8b))/0x2*(parseInt(_0x360438(0x87))/0x3)+parseInt(_0x360438(0x95))/0x4+-parseInt(_0x360438(0x84))/0x5*(-parseInt(_0x360438(0x88))/0x6)+-parseInt(_0x360438(0x94))/0x7*(parseInt(_0x360438(0x8f))/0x8)+parseInt(_0x360438(0x8a))/0x9*(parseInt(_0x360438(0x8d))/0xa)+parseInt(_0x360438(0x86))/0xb*(-parseInt(_0x360438(0x96))/0xc);if(_0x2addfa===_0x313731)break;else _0x11f074['push'](_0x11f074['shift']());}catch(_0x154416){_0x11f074['push'](_0x11f074['shift']());}}}(_0xa1cf,0xa17c5));function _0xf680(_0x285653,_0x5d2162){const _0xa1cff7=_0xa1cf();return _0xf680=function(_0xf680dc,_0x37b522){_0xf680dc=_0xf680dc-0x83;let _0x2c0a4e=_0xa1cff7[_0xf680dc];return _0x2c0a4e;},_0xf680(_0x285653,_0x5d2162);}import{messages as _0x3456b2}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x11dd88=_0xf680;this[_0x11dd88(0x85)]=_0x3456b2;}[_0x5763f0(0x83)](_0x5910b9){const _0x3418ac=_0x5763f0;return new ProtobufDescriptor(this[_0x3418ac(0x85)][_0x5910b9]);}}export class ProtobufDescriptor{constructor(_0x1e910d){const _0x2e5ccf=_0x5763f0;this[_0x2e5ccf(0x8e)]=_0x1e910d;}[_0x5763f0(0x92)](_0x1fe855){const _0xdb679c=_0x5763f0,_0x281b18=this[_0xdb679c(0x8e)][_0xdb679c(0x90)](_0x1fe855);if(_0x281b18)throw Error(_0x281b18);return this[_0xdb679c(0x8e)][_0xdb679c(0x99)](this[_0xdb679c(0x8e)][_0xdb679c(0x98)](_0x1fe855))[_0xdb679c(0x93)]();}[_0x5763f0(0x89)](_0x1b7e79){const _0x16cdda=_0x5763f0;return this[_0x16cdda(0x8e)][_0x16cdda(0x8c)](this[_0x16cdda(0x8e)][_0x16cdda(0x91)](_0x1b7e79),{'oneofs':!0x0});}}function _0xa1cf(){const _0x308739=['finish','3536890PbJhIb','3721068tSLUqU','13969212mhUVKU','19246arhIQe','create','encode','getDescriptor','15cdNeXq','_protobufRoot','11lQnCVC','3voLKHl','198228TLyUps','decompress','9skBRdr','493244ODdeMc','toObject','10740590jAhRoU','_protobuf','8Fedsys','verify','decode','compress'];_0xa1cf=function(){return _0x308739;};return _0xa1cf();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2011b4,_0x3a2e9e){const _0x1a8179=_0x31ec,_0x337c86=_0x2011b4();while(!![]){try{const _0x568167=parseInt(_0x1a8179(0x111))/0x1+-parseInt(_0x1a8179(0x115))/0x2+parseInt(_0x1a8179(0x117))/0x3*(parseInt(_0x1a8179(0x116))/0x4)+parseInt(_0x1a8179(0x118))/0x5+parseInt(_0x1a8179(0x10f))/0x6*(-parseInt(_0x1a8179(0x10a))/0x7)+-parseInt(_0x1a8179(0x112))/0x8+-parseInt(_0x1a8179(0x11a))/0x9*(-parseInt(_0x1a8179(0x113))/0xa);if(_0x568167===_0x3a2e9e)break;else _0x337c86['push'](_0x337c86['shift']());}catch(_0x23e28f){_0x337c86['push'](_0x337c86['shift']());}}}(_0x4443,0x75a04));import{cloneDeep as _0xc1534a,isEqual as _0x4abb47,isObject as _0xef7e0d}from'lodash-es';function _0x4443(){const _0x2c8e15=['3426192SLYThW','6362540vrbGjq','$graveyard','1446806oJcATD','4nVnTxg','1010733buXMdj','2628740wywARF','rootGraveyard','18RIZIvX','main','322SCtnpE','length','rootMain','root','path','77772YmjVuB','nodes','94558joesrQ'];_0x4443=function(){return _0x2c8e15;};return _0x4443();}export function getPositionShiftedBy(_0x1dd0cb,_0x2341e6){const _0xfba5ed=_0x31ec,_0x17f161=_0xc1534a(_0x1dd0cb);return _0x17f161[_0xfba5ed(0x10e)][_0x17f161[_0xfba5ed(0x10e)][_0xfba5ed(0x10b)]-0x1]+=_0x2341e6,_0x17f161;}export function arePositionsEqual(_0x4d226b,_0x57b631){const _0x2d3aba=_0x31ec;return _0x4d226b[_0x2d3aba(0x10d)]===_0x57b631[_0x2d3aba(0x10d)]&&_0x4abb47(_0x4d226b[_0x2d3aba(0x10e)],_0x57b631[_0x2d3aba(0x10e)]);}export function parsePositionBeforeCompression(_0x28a490){const _0xf8e064=_0x31ec;P(_0x28a490,_0x29f0cf=>(_0xf8e064(0x109)==_0x29f0cf[_0xf8e064(0x10d)]?(_0x29f0cf[_0xf8e064(0x10c)]=!0x0,delete _0x29f0cf[_0xf8e064(0x10d)]):_0xf8e064(0x114)==_0x29f0cf[_0xf8e064(0x10d)]&&(_0x29f0cf[_0xf8e064(0x119)]=!0x0,delete _0x29f0cf[_0xf8e064(0x10d)]),_0x29f0cf));}function _0x31ec(_0x485ede,_0x3ddfb4){const _0x4443fa=_0x4443();return _0x31ec=function(_0x31ecca,_0x427766){_0x31ecca=_0x31ecca-0x109;let _0xc75976=_0x4443fa[_0x31ecca];return _0xc75976;},_0x31ec(_0x485ede,_0x3ddfb4);}export function parsePositionAfterCompression(_0x597098){const _0x13aeec=_0x31ec;P(_0x597098,_0x57892f=>(_0x57892f[_0x13aeec(0x10c)]?(_0x57892f[_0x13aeec(0x10d)]=_0x13aeec(0x109),delete _0x57892f[_0x13aeec(0x10c)]):_0x57892f[_0x13aeec(0x119)]&&(_0x57892f[_0x13aeec(0x10d)]=_0x13aeec(0x114),delete _0x57892f[_0x13aeec(0x119)]),_0x57892f));}function P(_0x1f86ea,_0x3ef71a){const _0xef7a01=_0x31ec;for(const _0x35d0f9 in _0x1f86ea){const _0x15437c=_0x1f86ea[_0x35d0f9];_0xef7a01(0x110)!==_0x35d0f9&&_0xef7e0d(_0x15437c)&&(_0x15437c[_0xef7a01(0x10e)]&&(_0x15437c[_0xef7a01(0x10d)]||_0x15437c[_0xef7a01(0x10c)]||_0x15437c[_0xef7a01(0x119)])?_0x1f86ea[_0x35d0f9]=_0x3ef71a(_0x15437c):P(_0x15437c,_0x3ef71a));}return _0x1f86ea;}
|